From f7b7b1e59f3785751e0247250ab69152b3c9e75e Mon Sep 17 00:00:00 2001
From: piotrpekala7 <31202938+piotrpekala7@users.noreply.github.com>
Date: Mon, 8 Nov 2021 18:13:12 +0100
Subject: [PATCH] Release web UI 2.2.27

---
 .../static/web-ui/157.b944b783466b8859.js     |   1 +
 .../static/web-ui/26.eace20bb0639f4909f27.js  |   1 -
 gns3server/static/web-ui/3rdpartylicenses.txt |  48 ------------------
 ...aterialIcons-Regular.196fa4a92dd6fa73.ttf} | Bin
 ...aterialIcons-Regular.1e50f5c2ffa6aba4.eot} | Bin
 ...erialIcons-Regular.7ea2023eeca07427.woff2} | Bin
 ...terialIcons-Regular.db852539204b1a34.woff} | Bin
 ...ttf => NotoSans-Bold.34719cace3ef62a2.ttf} | Bin
 ...svg => NotoSans-Bold.57c5fa3ce3ea736c.svg} |   0
 ...eot => NotoSans-Bold.7e9e455225ad3d5f.eot} | Bin
 ...2 => NotoSans-Bold.bb7ed3cb4bc27baa.woff2} | Bin
 ...ff => NotoSans-Bold.bf7f7fcd222ca9bc.woff} | Bin
 ... NotoSans-BoldItalic.44f1cf4f0e78a3a4.svg} |   0
 ... NotoSans-BoldItalic.c4df60a61a10e0e2.eot} | Bin
 ... NotoSans-BoldItalic.da602ebb32f0c6ac.ttf} | Bin
 ...otoSans-BoldItalic.ddf7c771010e73d3.woff2} | Bin
 ...NotoSans-BoldItalic.f99dd773fd73392d.woff} | Bin
 ...=> NotoSans-Italic.1a8c878b5303cbe6.woff2} | Bin
 ... => NotoSans-Italic.366bf02025f63b83.woff} | Bin
 ...g => NotoSans-Italic.92e7c8bbab5c5179.svg} |   0
 ...t => NotoSans-Italic.985d3cebb7facaaf.eot} | Bin
 ...f => NotoSans-Italic.edf9dad3a9df7f36.ttf} | Bin
 ...> NotoSans-Regular.393a17b8205d596d.woff2} | Bin
 ...=> NotoSans-Regular.51f325c21ca117eb.woff} | Bin
 ... => NotoSans-Regular.8df2e2a555d0110f.eot} | Bin
 ... => NotoSans-Regular.cb40f90b6ce4a698.ttf} | Bin
 ... => NotoSans-Regular.dfbb04edb508d096.svg} |   0
 gns3server/static/web-ui/index.html           |   4 +-
 .../static/web-ui/main.13bda60ce561ce91.js    |   1 +
 .../web-ui/main.6d44bf65eea93810ba85.js       |   1 -
 .../polyfills-es5.300b3ac245f51be06907.js     |   1 -
 .../web-ui/polyfills.519e27ac94450b1b7e67.js  |   1 -
 .../web-ui/polyfills.76674d1e750c8482.js      |   1 +
 ...> roboto-latin-100.539f0a96b40596f7.woff2} | Bin
 ...=> roboto-latin-100.5ba994dac3e79ea8.woff} | Bin
 ...to-latin-100italic.41ba64219cb743c9.woff2} | Bin
 ...oto-latin-100italic.d61e7e8b07c0638c.woff} | Bin
 ...> roboto-latin-300.4d8f8086236bad80.woff2} | Bin
 ...=> roboto-latin-300.6c1bc461047e61f5.woff} | Bin
 ...oto-latin-300italic.3a529751a590d3c1.woff} | Bin
 ...to-latin-300italic.45164643b3bd5824.woff2} | Bin
 ...> roboto-latin-400.1e2d4d3a272629cd.woff2} | Bin
 ...=> roboto-latin-400.7e4a045b9373d9c1.woff} | Bin
 ...oto-latin-400italic.68431199e5b90ea8.woff} | Bin
 ...to-latin-400italic.bb3c6955c4334c8a.woff2} | Bin
 ...> roboto-latin-500.1dfbc3dbf815e3f3.woff2} | Bin
 ...=> roboto-latin-500.e21fe97fd2329ff7.woff} | Bin
 ...to-latin-500italic.7543a42b12b1452f.woff2} | Bin
 ...oto-latin-500italic.aaff6867154023d3.woff} | Bin
 ...=> roboto-latin-700.02633003129d1e63.woff} | Bin
 ...> roboto-latin-700.12893bfc0762b0f3.woff2} | Bin
 ...to-latin-700italic.bc7179e004e40113.woff2} | Bin
 ...oto-latin-700italic.e53062e27c63fafb.woff} | Bin
 ...> roboto-latin-900.282ba77fda1349f3.woff2} | Bin
 ...=> roboto-latin-900.4962e810cbb4d3e5.woff} | Bin
 ...oto-latin-900italic.2394134a78bbaef8.woff} | Bin
 ...to-latin-900italic.9c1f80840351fa12.woff2} | Bin
 .../web-ui/runtime.13dab52dcdd04f9f1496.js    |   1 -
 .../static/web-ui/runtime.78f7797c0ae936fe.js |   1 +
 .../web-ui/styles.bf28628fcb2844ad74bd.css    |  11 ----
 .../static/web-ui/styles.cf688421eca41c25.css |   6 +++
 61 files changed, 12 insertions(+), 66 deletions(-)
 create mode 100644 gns3server/static/web-ui/157.b944b783466b8859.js
 delete mode 100644 gns3server/static/web-ui/26.eace20bb0639f4909f27.js
 rename gns3server/static/web-ui/{MaterialIcons-Regular.5e7382c63da0098d634a.ttf => MaterialIcons-Regular.196fa4a92dd6fa73.ttf} (100%)
 rename gns3server/static/web-ui/{MaterialIcons-Regular.4674f8ded773cb03e824.eot => MaterialIcons-Regular.1e50f5c2ffa6aba4.eot} (100%)
 rename gns3server/static/web-ui/{MaterialIcons-Regular.cff684e59ffb052d72cb.woff2 => MaterialIcons-Regular.7ea2023eeca07427.woff2} (100%)
 rename gns3server/static/web-ui/{MaterialIcons-Regular.83bebaf37c09c7e1c3ee.woff => MaterialIcons-Regular.db852539204b1a34.woff} (100%)
 rename gns3server/static/web-ui/{NotoSans-Bold.82b1a58ddf26951345dc.ttf => NotoSans-Bold.34719cace3ef62a2.ttf} (100%)
 rename gns3server/static/web-ui/{NotoSans-Bold.18ef6a21171328dc11a9.svg => NotoSans-Bold.57c5fa3ce3ea736c.svg} (100%)
 rename gns3server/static/web-ui/{NotoSans-Bold.fe2c3263802c4469728b.eot => NotoSans-Bold.7e9e455225ad3d5f.eot} (100%)
 rename gns3server/static/web-ui/{NotoSans-Bold.3ea2282022a16bb2827b.woff2 => NotoSans-Bold.bb7ed3cb4bc27baa.woff2} (100%)
 rename gns3server/static/web-ui/{NotoSans-Bold.364158e7b3016f83790a.woff => NotoSans-Bold.bf7f7fcd222ca9bc.woff} (100%)
 rename gns3server/static/web-ui/{NotoSans-BoldItalic.7930d6e32b12448fc0ae.svg => NotoSans-BoldItalic.44f1cf4f0e78a3a4.svg} (100%)
 rename gns3server/static/web-ui/{NotoSans-BoldItalic.b40d78b2f9e2490108d0.eot => NotoSans-BoldItalic.c4df60a61a10e0e2.eot} (100%)
 rename gns3server/static/web-ui/{NotoSans-BoldItalic.9e49c91c40231a024afb.ttf => NotoSans-BoldItalic.da602ebb32f0c6ac.ttf} (100%)
 rename gns3server/static/web-ui/{NotoSans-BoldItalic.f2639d17cfb5c6e74edd.woff2 => NotoSans-BoldItalic.ddf7c771010e73d3.woff2} (100%)
 rename gns3server/static/web-ui/{NotoSans-BoldItalic.ed8d2295c0b2e0a854d8.woff => NotoSans-BoldItalic.f99dd773fd73392d.woff} (100%)
 rename gns3server/static/web-ui/{NotoSans-Italic.ca985d172a576d01c77e.woff2 => NotoSans-Italic.1a8c878b5303cbe6.woff2} (100%)
 rename gns3server/static/web-ui/{NotoSans-Italic.8a08f0f08e448e4f522e.woff => NotoSans-Italic.366bf02025f63b83.woff} (100%)
 rename gns3server/static/web-ui/{NotoSans-Italic.cecaa17f122ac96a50f8.svg => NotoSans-Italic.92e7c8bbab5c5179.svg} (100%)
 rename gns3server/static/web-ui/{NotoSans-Italic.1506cb93f574152bda3d.eot => NotoSans-Italic.985d3cebb7facaaf.eot} (100%)
 rename gns3server/static/web-ui/{NotoSans-Italic.08690ed789a5532ed7be.ttf => NotoSans-Italic.edf9dad3a9df7f36.ttf} (100%)
 rename gns3server/static/web-ui/{NotoSans-Regular.730e73a4d4556fa0efe8.woff2 => NotoSans-Regular.393a17b8205d596d.woff2} (100%)
 rename gns3server/static/web-ui/{NotoSans-Regular.22c53c8686edcaecdf66.woff => NotoSans-Regular.51f325c21ca117eb.woff} (100%)
 rename gns3server/static/web-ui/{NotoSans-Regular.f55982ed9f2bc3af6185.eot => NotoSans-Regular.8df2e2a555d0110f.eot} (100%)
 rename gns3server/static/web-ui/{NotoSans-Regular.e962f548522aa99bb8f9.ttf => NotoSans-Regular.cb40f90b6ce4a698.ttf} (100%)
 rename gns3server/static/web-ui/{NotoSans-Regular.8142e5b2e99a1cccafb7.svg => NotoSans-Regular.dfbb04edb508d096.svg} (100%)
 create mode 100644 gns3server/static/web-ui/main.13bda60ce561ce91.js
 delete mode 100644 gns3server/static/web-ui/main.6d44bf65eea93810ba85.js
 delete mode 100644 gns3server/static/web-ui/polyfills-es5.300b3ac245f51be06907.js
 delete mode 100644 gns3server/static/web-ui/polyfills.519e27ac94450b1b7e67.js
 create mode 100644 gns3server/static/web-ui/polyfills.76674d1e750c8482.js
 rename gns3server/static/web-ui/{roboto-latin-100.c2aa4ab115bf9c6057cb.woff2 => roboto-latin-100.539f0a96b40596f7.woff2} (100%)
 rename gns3server/static/web-ui/{roboto-latin-100.a45108d3b34af91f9113.woff => roboto-latin-100.5ba994dac3e79ea8.woff} (100%)
 rename gns3server/static/web-ui/{roboto-latin-100italic.7f839a8652da29745ce4.woff2 => roboto-latin-100italic.41ba64219cb743c9.woff2} (100%)
 rename gns3server/static/web-ui/{roboto-latin-100italic.451d4e559d6f57cdf6a1.woff => roboto-latin-100italic.d61e7e8b07c0638c.woff} (100%)
 rename gns3server/static/web-ui/{roboto-latin-300.37a7069dc30fc663c878.woff2 => roboto-latin-300.4d8f8086236bad80.woff2} (100%)
 rename gns3server/static/web-ui/{roboto-latin-300.865f928cbabcc9f8f2b5.woff => roboto-latin-300.6c1bc461047e61f5.woff} (100%)
 rename gns3server/static/web-ui/{roboto-latin-300italic.bd5b7a13f2c52b531a2a.woff => roboto-latin-300italic.3a529751a590d3c1.woff} (100%)
 rename gns3server/static/web-ui/{roboto-latin-300italic.c64e7e354c88e613c77c.woff2 => roboto-latin-300italic.45164643b3bd5824.woff2} (100%)
 rename gns3server/static/web-ui/{roboto-latin-400.176f8f5bd5f02b3abfcf.woff2 => roboto-latin-400.1e2d4d3a272629cd.woff2} (100%)
 rename gns3server/static/web-ui/{roboto-latin-400.49ae34d4cc6b98c00c69.woff => roboto-latin-400.7e4a045b9373d9c1.woff} (100%)
 rename gns3server/static/web-ui/{roboto-latin-400italic.b1d9d9904bfca8802a63.woff => roboto-latin-400italic.68431199e5b90ea8.woff} (100%)
 rename gns3server/static/web-ui/{roboto-latin-400italic.d022bc70dc1bf7b3425d.woff2 => roboto-latin-400italic.bb3c6955c4334c8a.woff2} (100%)
 rename gns3server/static/web-ui/{roboto-latin-500.f5b74d7ffcdf85b9dd60.woff2 => roboto-latin-500.1dfbc3dbf815e3f3.woff2} (100%)
 rename gns3server/static/web-ui/{roboto-latin-500.cea99d3e3e13a3a599a0.woff => roboto-latin-500.e21fe97fd2329ff7.woff} (100%)
 rename gns3server/static/web-ui/{roboto-latin-500italic.0d8bb5b3ee5f5dac9e44.woff2 => roboto-latin-500italic.7543a42b12b1452f.woff2} (100%)
 rename gns3server/static/web-ui/{roboto-latin-500italic.18d00f739ff1e1c52db1.woff => roboto-latin-500italic.aaff6867154023d3.woff} (100%)
 rename gns3server/static/web-ui/{roboto-latin-700.2267169ee7270a22a963.woff => roboto-latin-700.02633003129d1e63.woff} (100%)
 rename gns3server/static/web-ui/{roboto-latin-700.c18ee39fb002ad58b6dc.woff2 => roboto-latin-700.12893bfc0762b0f3.woff2} (100%)
 rename gns3server/static/web-ui/{roboto-latin-700italic.7d8125ff7f707231fd89.woff2 => roboto-latin-700italic.bc7179e004e40113.woff2} (100%)
 rename gns3server/static/web-ui/{roboto-latin-700italic.9360531f9bb817f917f0.woff => roboto-latin-700italic.e53062e27c63fafb.woff} (100%)
 rename gns3server/static/web-ui/{roboto-latin-900.870c8c1486f76054301a.woff2 => roboto-latin-900.282ba77fda1349f3.woff2} (100%)
 rename gns3server/static/web-ui/{roboto-latin-900.bac8362e7a6ea60b6983.woff => roboto-latin-900.4962e810cbb4d3e5.woff} (100%)
 rename gns3server/static/web-ui/{roboto-latin-900italic.c20d916c1a1b094c1cec.woff => roboto-latin-900italic.2394134a78bbaef8.woff} (100%)
 rename gns3server/static/web-ui/{roboto-latin-900italic.cb5ad999740e9d8a8bd1.woff2 => roboto-latin-900italic.9c1f80840351fa12.woff2} (100%)
 delete mode 100644 gns3server/static/web-ui/runtime.13dab52dcdd04f9f1496.js
 create mode 100644 gns3server/static/web-ui/runtime.78f7797c0ae936fe.js
 delete mode 100644 gns3server/static/web-ui/styles.bf28628fcb2844ad74bd.css
 create mode 100644 gns3server/static/web-ui/styles.cf688421eca41c25.css

diff --git a/gns3server/static/web-ui/157.b944b783466b8859.js b/gns3server/static/web-ui/157.b944b783466b8859.js
new file mode 100644
index 00000000..7019a26c
--- /dev/null
+++ b/gns3server/static/web-ui/157.b944b783466b8859.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkgns3_web_ui=self.webpackChunkgns3_web_ui||[]).push([[157],{21157:function(J,g,l){l.r(g),l.d(g,{TopologySummaryComponent:function(){return R}});var m=l(18967),h=l(14105),e=l(83668),v=l(52094),f=l(81856),y=l(64097),C=l(41999),T=l(2856),u=l(86019),x=l(58939),d=l(12605),S=l(16400),_=l(6731),b=l(85694);function E(s,a){if(1&s){var o=e.EpF();e.TgZ(0,"div",2),e.NdJ("mousemove",function(i){return e.CHM(o),e.oxw().dragWidget(i)},!1,e.evT)("mouseup",function(){return e.CHM(o),e.oxw().toggleDragging(!1)},!1,e.evT),e.qZA()}}function Z(s,a){1&s&&(e.O4$(),e.TgZ(0,"svg",28),e._UZ(1,"rect",29),e.qZA())}function O(s,a){1&s&&(e.O4$(),e.TgZ(0,"svg",28),e._UZ(1,"rect",30),e.qZA())}function M(s,a){1&s&&(e.O4$(),e.TgZ(0,"svg",28),e._UZ(1,"rect",31),e.qZA())}function P(s,a){if(1&s&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&s){var o=e.oxw().$implicit;e.xp6(1),e.lnq(" ",o.console_type," ",o.console_host,":",o.console," ")}}function w(s,a){1&s&&(e.TgZ(0,"div"),e._uU(1," none "),e.qZA())}function A(s,a){if(1&s&&(e.TgZ(0,"div",25),e.TgZ(1,"div"),e.YNc(2,Z,2,0,"svg",26),e.YNc(3,O,2,0,"svg",26),e.YNc(4,M,2,0,"svg",26),e._uU(5),e.qZA(),e.YNc(6,P,2,3,"div",27),e.YNc(7,w,2,0,"div",27),e.qZA()),2&s){var o=a.$implicit;e.xp6(2),e.Q6J("ngIf","started"===o.status),e.xp6(1),e.Q6J("ngIf","suspended"===o.status),e.xp6(1),e.Q6J("ngIf","stopped"===o.status),e.xp6(1),e.hij(" ",o.name," "),e.xp6(1),e.Q6J("ngIf",null!=o.console&&null!=o.console&&"none"!=o.console_type),e.xp6(1),e.Q6J("ngIf",null==o.console||"none"===o.console_type)}}function D(s,a){1&s&&(e.O4$(),e.TgZ(0,"svg",28),e._UZ(1,"rect",29),e.qZA())}function F(s,a){1&s&&(e.O4$(),e.TgZ(0,"svg",28),e._UZ(1,"rect",31),e.qZA())}function k(s,a){if(1&s&&(e.TgZ(0,"div",25),e.TgZ(1,"div"),e.YNc(2,D,2,0,"svg",26),e.YNc(3,F,2,0,"svg",26),e._uU(4),e.qZA(),e.TgZ(5,"div"),e._uU(6),e.qZA(),e.TgZ(7,"div"),e._uU(8),e.qZA(),e.qZA()),2&s){var o=a.$implicit,t=e.oxw(2);e.xp6(2),e.Q6J("ngIf",o.connected),e.xp6(1),e.Q6J("ngIf",!o.connected),e.xp6(1),e.hij(" ",o.name," "),e.xp6(2),e.hij(" ",o.host," "),e.xp6(2),e.hij(" ",t.server.location," ")}}var N=function(a){return{lightTheme:a}},U=function(){return{right:!0,left:!0,bottom:!0,top:!0}};function I(s,a){if(1&s){var o=e.EpF();e.TgZ(0,"div",3),e.NdJ("mousedown",function(){return e.CHM(o),e.oxw().toggleDragging(!0)})("resizeStart",function(){return e.CHM(o),e.oxw().toggleDragging(!1)})("resizeEnd",function(n){return e.CHM(o),e.oxw().onResizeEnd(n)}),e.TgZ(1,"div",4),e.TgZ(2,"mat-tab-group"),e.TgZ(3,"mat-tab",5),e.NdJ("click",function(){return e.CHM(o),e.oxw().toggleTopologyVisibility(!0)}),e.TgZ(4,"div",6),e.TgZ(5,"div",7),e.TgZ(6,"mat-select",8),e.TgZ(7,"mat-optgroup",9),e.TgZ(8,"mat-option",10),e.NdJ("onSelectionChange",function(){return e.CHM(o),e.oxw().applyStatusFilter("started")}),e._uU(9,"started"),e.qZA(),e.TgZ(10,"mat-option",11),e.NdJ("onSelectionChange",function(){return e.CHM(o),e.oxw().applyStatusFilter("suspended")}),e._uU(11,"suspended"),e.qZA(),e.TgZ(12,"mat-option",12),e.NdJ("onSelectionChange",function(){return e.CHM(o),e.oxw().applyStatusFilter("stopped")}),e._uU(13,"stopped"),e.qZA(),e.qZA(),e.TgZ(14,"mat-optgroup",13),e.TgZ(15,"mat-option",14),e.NdJ("onSelectionChange",function(){return e.CHM(o),e.oxw().applyCaptureFilter("capture")}),e._uU(16,"active capture(s)"),e.qZA(),e.TgZ(17,"mat-option",15),e.NdJ("onSelectionChange",function(){return e.CHM(o),e.oxw().applyCaptureFilter("packet")}),e._uU(18,"active packet captures"),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(19,"div",16),e.TgZ(20,"mat-select",17),e.NdJ("selectionChange",function(){return e.CHM(o),e.oxw().setSortingOrder()})("valueChange",function(n){return e.CHM(o),e.oxw().sortingOrder=n}),e.TgZ(21,"mat-option",18),e._uU(22,"sort by name ascending"),e.qZA(),e.TgZ(23,"mat-option",19),e._uU(24,"sort by name descending"),e.qZA(),e.qZA(),e.qZA(),e._UZ(25,"mat-divider",20),e.TgZ(26,"div",21),e.YNc(27,A,8,6,"div",22),e.qZA(),e.qZA(),e.qZA(),e.TgZ(28,"mat-tab",23),e.NdJ("click",function(){return e.CHM(o),e.oxw().toggleTopologyVisibility(!1)}),e.TgZ(29,"div",6),e.TgZ(30,"div",24),e.YNc(31,k,9,5,"div",22),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&s){var t=e.oxw();e.Q6J("ngStyle",t.style)("ngClass",e.VKq(9,N,t.isLightThemeEnabled))("validateResize",t.validate)("resizeEdges",e.DdM(11,U))("enableGhostResize",!0),e.xp6(20),e.Q6J("value",t.sortingOrder),e.xp6(6),e.Q6J("ngStyle",t.styleInside),e.xp6(1),e.Q6J("ngForOf",t.filteredNodes),e.xp6(4),e.Q6J("ngForOf",t.computes)}}var R=function(){var s=function(){function a(o,t,i,n,c){(0,m.Z)(this,a),this.nodesDataSource=o,this.projectService=t,this.computeService=i,this.linksDataSource=n,this.themeService=c,this.closeTopologySummary=new e.vpe,this.style={},this.styleInside={height:"280px"},this.subscriptions=[],this.nodes=[],this.filteredNodes=[],this.sortingOrder="asc",this.startedStatusFilterEnabled=!1,this.suspendedStatusFilterEnabled=!1,this.stoppedStatusFilterEnabled=!1,this.captureFilterEnabled=!1,this.packetFilterEnabled=!1,this.computes=[],this.isTopologyVisible=!0,this.isDraggingEnabled=!1,this.isLightThemeEnabled=!1}return(0,h.Z)(a,[{key:"ngOnInit",value:function(){var t=this;this.isLightThemeEnabled="light"===this.themeService.getActualTheme(),this.subscriptions.push(this.nodesDataSource.changes.subscribe(function(i){t.nodes=i,t.nodes.forEach(function(n){("0.0.0.0"===n.console_host||"0:0:0:0:0:0:0:0"===n.console_host||"::"===n.console_host)&&(n.console_host=t.server.host)}),t.filteredNodes=i.sort("asc"===t.sortingOrder?t.compareAsc:t.compareDesc)})),this.projectService.getStatistics(this.server,this.project.project_id).subscribe(function(i){t.projectsStatistics=i}),this.computeService.getComputes(this.server).subscribe(function(i){t.computes=i}),this.style={top:"60px",right:"0px",width:"320px",height:"400px"}}},{key:"toggleDragging",value:function(t){this.isDraggingEnabled=t}},{key:"dragWidget",value:function(t){var i=Number(t.movementX),n=Number(t.movementY),c=Number(this.style.width.split("px")[0]),r=Number(this.style.height.split("px")[0]),p=Number(this.style.top.split("px")[0])+n;if(this.style.left){var z=Number(this.style.left.split("px")[0])+i;this.style={position:"fixed",left:"".concat(z,"px"),top:"".concat(p,"px"),width:"".concat(c,"px"),height:"".concat(r,"px")}}else{var q=Number(this.style.right.split("px")[0])-i;this.style={position:"fixed",right:"".concat(q,"px"),top:"".concat(p,"px"),width:"".concat(c,"px"),height:"".concat(r,"px")}}}},{key:"validate",value:function(t){return!(t.rectangle.width&&t.rectangle.height&&(t.rectangle.width<290||t.rectangle.height<260))}},{key:"onResizeEnd",value:function(t){this.style={position:"fixed",left:"".concat(t.rectangle.left,"px"),top:"".concat(t.rectangle.top,"px"),width:"".concat(t.rectangle.width,"px"),height:"".concat(t.rectangle.height,"px")},this.styleInside={height:"".concat(t.rectangle.height-120,"px")}}},{key:"toggleTopologyVisibility",value:function(t){this.isTopologyVisible=t}},{key:"compareAsc",value:function(t,i){return t.name<i.name?-1:1}},{key:"compareDesc",value:function(t,i){return t.name<i.name?1:-1}},{key:"ngOnDestroy",value:function(){this.subscriptions.forEach(function(t){return t.unsubscribe()})}},{key:"setSortingOrder",value:function(){this.filteredNodes=this.filteredNodes.sort("asc"===this.sortingOrder?this.compareAsc:this.compareDesc)}},{key:"applyStatusFilter",value:function(t){"started"===t?this.startedStatusFilterEnabled=!this.startedStatusFilterEnabled:"stopped"===t?this.stoppedStatusFilterEnabled=!this.stoppedStatusFilterEnabled:"suspended"===t&&(this.suspendedStatusFilterEnabled=!this.suspendedStatusFilterEnabled),this.applyFilters()}},{key:"applyCaptureFilter",value:function(t){"capture"===t?this.captureFilterEnabled=!this.captureFilterEnabled:"packet"===t&&(this.packetFilterEnabled=!this.packetFilterEnabled),this.applyFilters()}},{key:"applyFilters",value:function(){var t=[];this.startedStatusFilterEnabled&&(t=t.concat(this.nodes.filter(function(i){return"started"===i.status}))),this.stoppedStatusFilterEnabled&&(t=t.concat(this.nodes.filter(function(i){return"stopped"===i.status}))),this.suspendedStatusFilterEnabled&&(t=t.concat(this.nodes.filter(function(i){return"suspended"===i.status}))),!this.startedStatusFilterEnabled&&!this.stoppedStatusFilterEnabled&&!this.suspendedStatusFilterEnabled&&(t=t.concat(this.nodes)),this.captureFilterEnabled&&(t=this.checkCapturing(t)),this.packetFilterEnabled&&(t=this.checkPacketFilters(t)),this.filteredNodes=t.sort("asc"===this.sortingOrder?this.compareAsc:this.compareDesc)}},{key:"checkCapturing",value:function(t){var i=this.linksDataSource.getItems(),n=[];i.forEach(function(r){r.capturing&&r.nodes.forEach(function(p){n.push(p.node_id)})});var c=[];return t.forEach(function(r){n.includes(r.node_id)&&c.push(r)}),c}},{key:"checkPacketFilters",value:function(t){var i=this.linksDataSource.getItems(),n=[];i.forEach(function(r){(r.filters.bpf||r.filters.corrupt||r.filters.corrupt||r.filters.packet_loss||r.filters.frequency_drop)&&r.nodes.forEach(function(p){n.push(p.node_id)})});var c=[];return t.forEach(function(r){n.includes(r.node_id)&&c.push(r)}),c}},{key:"close",value:function(){this.closeTopologySummary.emit(!1)}}]),a}();return s.\u0275fac=function(o){return new(o||s)(e.Y36(v.G),e.Y36(f.Y),e.Y36(y.X),e.Y36(C.F),e.Y36(T.f))},s.\u0275cmp=e.Xpm({type:s,selectors:[["app-topology-summary"]],inputs:{server:"server",project:"project"},outputs:{closeTopologySummary:"closeTopologySummary"},decls:2,vars:2,consts:[[3,"mousemove","mouseup",4,"ngIf"],["class","summaryWrapper","mwlResizable","",3,"ngStyle","ngClass","validateResize","resizeEdges","enableGhostResize","mousedown","resizeStart","resizeEnd",4,"ngIf"],[3,"mousemove","mouseup"],["mwlResizable","",1,"summaryWrapper",3,"ngStyle","ngClass","validateResize","resizeEdges","enableGhostResize","mousedown","resizeStart","resizeEnd"],[1,"summaryHeader"],["label","Map topology",3,"click"],[1,"tabContent"],[1,"summaryFilters"],["placeholder","Filter nodes","multiple",""],["label","Status filter"],["value","started",3,"onSelectionChange"],["value","suspended",3,"onSelectionChange"],["value","stopped",3,"onSelectionChange"],["label","Capture filter"],["value","capture",3,"onSelectionChange"],["value","packet",3,"onSelectionChange"],[1,"summarySorting"],["placeholder","Sorting",3,"value","selectionChange","valueChange"],["value","asc"],["value","desc"],[1,"divider"],[1,"summaryContent",3,"ngStyle"],["class","nodeRow",4,"ngFor","ngForOf"],["label","Servers",3,"click"],[1,"summaryContentServers"],[1,"nodeRow"],["width","10","height","10",4,"ngIf"],[4,"ngIf"],["width","10","height","10"],["x","0","y","0","width","10","height","10","fill","green",1,"status_started"],["x","0","y","0","width","10","height","10","fill","yellow",1,"status_suspended"],["x","0","y","0","width","10","height","10","fill","red",1,"status_stopped"]],template:function(o,t){1&o&&(e.YNc(0,E,1,0,"div",0),e.YNc(1,I,32,12,"div",1)),2&o&&(e.Q6J("ngIf",t.isDraggingEnabled),e.xp6(1),e.Q6J("ngIf",t.projectsStatistics))},directives:[u.O5,x.E$,u.PC,u.mk,d.SP,d.uX,S.gD,_.Nv,_.ey,b.d,u.sg],styles:["@media screen and (max-width: 600px){.summaryWrapper[_ngcontent-%COMP%]{visibility:hidden}}mat-tab-group[_ngcontent-%COMP%]{width:100%}.summaryWrapper[_ngcontent-%COMP%]{box-shadow:0 4px 8px #0003,0 6px 20px #00000030;position:fixed;top:60px;right:0px;height:400px;width:320px;background:#263238;color:#fff;overflow:hidden;font-size:12px;margin:20px;border-radius:8px}.lightTheme[_ngcontent-%COMP%]{background-color:#f4f8fcf2;color:#000;margin:20px;border-radius:8px}.summaryHeaderMenu[_ngcontent-%COMP%]{height:24px}.summaryHeader[_ngcontent-%COMP%]{width:100%;display:flex}.summaryFilters[_ngcontent-%COMP%]{height:25px;margin-left:5px;margin-right:5px}.summarySorting[_ngcontent-%COMP%]{height:25px;margin-left:5px;margin-right:5px}.tabContent[_ngcontent-%COMP%]{padding:10px}.summaryContent[_ngcontent-%COMP%]{overflow:auto;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.summaryContentServers[_ngcontent-%COMP%]{max-height:350px;overflow:auto;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.titleButton[_ngcontent-%COMP%]{margin-left:5px;margin-top:4px;outline:none;border-radius:0}.marked[_ngcontent-%COMP%]{color:#0097a7;border-bottom:2px solid #0097a7}.divider[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:5px;width:100%;height:2px}.nodeRow[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between;padding-right:5px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}.radio-group-wrapper[_ngcontent-%COMP%]{margin-top:5px}.radio-group[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.closeButton[_ngcontent-%COMP%]{cursor:pointer;font-size:24px;margin-top:8px;margin-right:5px}.filterBox[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.notvisible[_ngcontent-%COMP%]{display:none}"]}),s}()}}]);
\ No newline at end of file
diff --git a/gns3server/static/web-ui/26.eace20bb0639f4909f27.js b/gns3server/static/web-ui/26.eace20bb0639f4909f27.js
deleted file mode 100644
index 40f6feae..00000000
--- a/gns3server/static/web-ui/26.eace20bb0639f4909f27.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkgns3_web_ui=self.webpackChunkgns3_web_ui||[]).push([[26],{91026:function(q,c,a){a.r(c),a.d(c,{TopologySummaryComponent:function(){return N}});var t=a(65508),d=a(96852),_=a(14200),m=a(36889),h=a(3941),f=a(15132),p=a(40098),v=a(39095),u=a(88802),y=a(73044),g=a(59412),x=a(93386);function T(i,e){if(1&i){var o=t.EpF();t.TgZ(0,"div",2),t.NdJ("mousemove",function(r){return t.CHM(o),t.oxw().dragWidget(r)},!1,t.evT)("mouseup",function(){return t.CHM(o),t.oxw().toggleDragging(!1)},!1,t.evT),t.qZA()}}function C(i,e){1&i&&(t.O4$(),t.TgZ(0,"svg",28),t._UZ(1,"rect",29),t.qZA())}function S(i,e){1&i&&(t.O4$(),t.TgZ(0,"svg",28),t._UZ(1,"rect",30),t.qZA())}function b(i,e){1&i&&(t.O4$(),t.TgZ(0,"svg",28),t._UZ(1,"rect",31),t.qZA())}function E(i,e){if(1&i&&(t.TgZ(0,"div"),t._uU(1),t.qZA()),2&i){var o=t.oxw().$implicit;t.xp6(1),t.lnq(" ",o.console_type," ",o.console_host,":",o.console," ")}}function Z(i,e){1&i&&(t.TgZ(0,"div"),t._uU(1," none "),t.qZA())}function O(i,e){if(1&i&&(t.TgZ(0,"div",25),t.TgZ(1,"div"),t.YNc(2,C,2,0,"svg",26),t.YNc(3,S,2,0,"svg",26),t.YNc(4,b,2,0,"svg",26),t._uU(5),t.qZA(),t.YNc(6,E,2,3,"div",27),t.YNc(7,Z,2,0,"div",27),t.qZA()),2&i){var o=e.$implicit;t.xp6(2),t.Q6J("ngIf","started"===o.status),t.xp6(1),t.Q6J("ngIf","suspended"===o.status),t.xp6(1),t.Q6J("ngIf","stopped"===o.status),t.xp6(1),t.hij(" ",o.name," "),t.xp6(1),t.Q6J("ngIf",null!=o.console&&null!=o.console&&"none"!=o.console_type),t.xp6(1),t.Q6J("ngIf",null==o.console||"none"===o.console_type)}}function M(i,e){1&i&&(t.O4$(),t.TgZ(0,"svg",28),t._UZ(1,"rect",29),t.qZA())}function w(i,e){1&i&&(t.O4$(),t.TgZ(0,"svg",28),t._UZ(1,"rect",31),t.qZA())}function A(i,e){if(1&i&&(t.TgZ(0,"div",25),t.TgZ(1,"div"),t.YNc(2,M,2,0,"svg",26),t.YNc(3,w,2,0,"svg",26),t._uU(4),t.qZA(),t.TgZ(5,"div"),t._uU(6),t.qZA(),t.TgZ(7,"div"),t._uU(8),t.qZA(),t.qZA()),2&i){var o=e.$implicit,s=t.oxw(2);t.xp6(2),t.Q6J("ngIf",o.connected),t.xp6(1),t.Q6J("ngIf",!o.connected),t.xp6(1),t.hij(" ",o.name," "),t.xp6(2),t.hij(" ",o.host," "),t.xp6(2),t.hij(" ",s.server.location," ")}}var P=function(i){return{lightTheme:i}},F=function(){return{right:!0,left:!0,bottom:!0,top:!0}};function D(i,e){if(1&i){var o=t.EpF();t.TgZ(0,"div",3),t.NdJ("mousedown",function(){return t.CHM(o),t.oxw().toggleDragging(!0)})("resizeStart",function(){return t.CHM(o),t.oxw().toggleDragging(!1)})("resizeEnd",function(n){return t.CHM(o),t.oxw().onResizeEnd(n)}),t.TgZ(1,"div",4),t.TgZ(2,"mat-tab-group"),t.TgZ(3,"mat-tab",5),t.NdJ("click",function(){return t.CHM(o),t.oxw().toggleTopologyVisibility(!0)}),t.TgZ(4,"div",6),t.TgZ(5,"div",7),t.TgZ(6,"mat-select",8),t.TgZ(7,"mat-optgroup",9),t.TgZ(8,"mat-option",10),t.NdJ("onSelectionChange",function(){return t.CHM(o),t.oxw().applyStatusFilter("started")}),t._uU(9,"started"),t.qZA(),t.TgZ(10,"mat-option",11),t.NdJ("onSelectionChange",function(){return t.CHM(o),t.oxw().applyStatusFilter("suspended")}),t._uU(11,"suspended"),t.qZA(),t.TgZ(12,"mat-option",12),t.NdJ("onSelectionChange",function(){return t.CHM(o),t.oxw().applyStatusFilter("stopped")}),t._uU(13,"stopped"),t.qZA(),t.qZA(),t.TgZ(14,"mat-optgroup",13),t.TgZ(15,"mat-option",14),t.NdJ("onSelectionChange",function(){return t.CHM(o),t.oxw().applyCaptureFilter("capture")}),t._uU(16,"active capture(s)"),t.qZA(),t.TgZ(17,"mat-option",15),t.NdJ("onSelectionChange",function(){return t.CHM(o),t.oxw().applyCaptureFilter("packet")}),t._uU(18,"active packet captures"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(19,"div",16),t.TgZ(20,"mat-select",17),t.NdJ("selectionChange",function(){return t.CHM(o),t.oxw().setSortingOrder()})("valueChange",function(n){return t.CHM(o),t.oxw().sortingOrder=n}),t.TgZ(21,"mat-option",18),t._uU(22,"sort by name ascending"),t.qZA(),t.TgZ(23,"mat-option",19),t._uU(24,"sort by name descending"),t.qZA(),t.qZA(),t.qZA(),t._UZ(25,"mat-divider",20),t.TgZ(26,"div",21),t.YNc(27,O,8,6,"div",22),t.qZA(),t.qZA(),t.qZA(),t.TgZ(28,"mat-tab",23),t.NdJ("click",function(){return t.CHM(o),t.oxw().toggleTopologyVisibility(!1)}),t.TgZ(29,"div",6),t.TgZ(30,"div",24),t.YNc(31,A,9,5,"div",22),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&i){var s=t.oxw();t.Q6J("ngStyle",s.style)("ngClass",t.VKq(9,P,s.isLightThemeEnabled))("validateResize",s.validate)("resizeEdges",t.DdM(11,F))("enableGhostResize",!0),t.xp6(20),t.Q6J("value",s.sortingOrder),t.xp6(6),t.Q6J("ngStyle",s.styleInside),t.xp6(1),t.Q6J("ngForOf",s.filteredNodes),t.xp6(4),t.Q6J("ngForOf",s.computes)}}var N=function(){function i(e,o,s,r,n){this.nodesDataSource=e,this.projectService=o,this.computeService=s,this.linksDataSource=r,this.themeService=n,this.closeTopologySummary=new t.vpe,this.style={},this.styleInside={height:"280px"},this.subscriptions=[],this.nodes=[],this.filteredNodes=[],this.sortingOrder="asc",this.startedStatusFilterEnabled=!1,this.suspendedStatusFilterEnabled=!1,this.stoppedStatusFilterEnabled=!1,this.captureFilterEnabled=!1,this.packetFilterEnabled=!1,this.computes=[],this.isTopologyVisible=!0,this.isDraggingEnabled=!1,this.isLightThemeEnabled=!1}return i.prototype.ngOnInit=function(){var e=this;this.isLightThemeEnabled="light"===this.themeService.getActualTheme(),this.subscriptions.push(this.nodesDataSource.changes.subscribe(function(o){e.nodes=o,e.nodes.forEach(function(s){("0.0.0.0"===s.console_host||"0:0:0:0:0:0:0:0"===s.console_host||"::"===s.console_host)&&(s.console_host=e.server.host)}),e.filteredNodes=o.sort("asc"===e.sortingOrder?e.compareAsc:e.compareDesc)})),this.projectService.getStatistics(this.server,this.project.project_id).subscribe(function(o){e.projectsStatistics=o}),this.computeService.getComputes(this.server).subscribe(function(o){e.computes=o}),this.style={top:"60px",right:"0px",width:"320px",height:"400px"}},i.prototype.toggleDragging=function(e){this.isDraggingEnabled=e},i.prototype.dragWidget=function(e){var o=Number(e.movementX),s=Number(e.movementY),r=Number(this.style.width.split("px")[0]),n=Number(this.style.height.split("px")[0]),l=Number(this.style.top.split("px")[0])+s;if(this.style.left){var I=Number(this.style.left.split("px")[0])+o;this.style={position:"fixed",left:I+"px",top:l+"px",width:r+"px",height:n+"px"}}else{var U=Number(this.style.right.split("px")[0])-o;this.style={position:"fixed",right:U+"px",top:l+"px",width:r+"px",height:n+"px"}}},i.prototype.validate=function(e){return!(e.rectangle.width&&e.rectangle.height&&(e.rectangle.width<290||e.rectangle.height<260))},i.prototype.onResizeEnd=function(e){this.style={position:"fixed",left:e.rectangle.left+"px",top:e.rectangle.top+"px",width:e.rectangle.width+"px",height:e.rectangle.height+"px"},this.styleInside={height:e.rectangle.height-120+"px"}},i.prototype.toggleTopologyVisibility=function(e){this.isTopologyVisible=e},i.prototype.compareAsc=function(e,o){return e.name<o.name?-1:1},i.prototype.compareDesc=function(e,o){return e.name<o.name?1:-1},i.prototype.ngOnDestroy=function(){this.subscriptions.forEach(function(e){return e.unsubscribe()})},i.prototype.setSortingOrder=function(){this.filteredNodes=this.filteredNodes.sort("asc"===this.sortingOrder?this.compareAsc:this.compareDesc)},i.prototype.applyStatusFilter=function(e){"started"===e?this.startedStatusFilterEnabled=!this.startedStatusFilterEnabled:"stopped"===e?this.stoppedStatusFilterEnabled=!this.stoppedStatusFilterEnabled:"suspended"===e&&(this.suspendedStatusFilterEnabled=!this.suspendedStatusFilterEnabled),this.applyFilters()},i.prototype.applyCaptureFilter=function(e){"capture"===e?this.captureFilterEnabled=!this.captureFilterEnabled:"packet"===e&&(this.packetFilterEnabled=!this.packetFilterEnabled),this.applyFilters()},i.prototype.applyFilters=function(){var e=[];this.startedStatusFilterEnabled&&(e=e.concat(this.nodes.filter(function(o){return"started"===o.status}))),this.stoppedStatusFilterEnabled&&(e=e.concat(this.nodes.filter(function(o){return"stopped"===o.status}))),this.suspendedStatusFilterEnabled&&(e=e.concat(this.nodes.filter(function(o){return"suspended"===o.status}))),!this.startedStatusFilterEnabled&&!this.stoppedStatusFilterEnabled&&!this.suspendedStatusFilterEnabled&&(e=e.concat(this.nodes)),this.captureFilterEnabled&&(e=this.checkCapturing(e)),this.packetFilterEnabled&&(e=this.checkPacketFilters(e)),this.filteredNodes=e.sort("asc"===this.sortingOrder?this.compareAsc:this.compareDesc)},i.prototype.checkCapturing=function(e){var o=this.linksDataSource.getItems(),s=[];o.forEach(function(n){n.capturing&&n.nodes.forEach(function(l){s.push(l.node_id)})});var r=[];return e.forEach(function(n){s.includes(n.node_id)&&r.push(n)}),r},i.prototype.checkPacketFilters=function(e){var o=this.linksDataSource.getItems(),s=[];o.forEach(function(n){(n.filters.bpf||n.filters.corrupt||n.filters.corrupt||n.filters.packet_loss||n.filters.frequency_drop)&&n.nodes.forEach(function(l){s.push(l.node_id)})});var r=[];return e.forEach(function(n){s.includes(n.node_id)&&r.push(n)}),r},i.prototype.close=function(){this.closeTopologySummary.emit(!1)},i.\u0275fac=function(o){return new(o||i)(t.Y36(d.G),t.Y36(_.Y),t.Y36(m.X),t.Y36(h.F),t.Y36(f.f))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-topology-summary"]],inputs:{server:"server",project:"project"},outputs:{closeTopologySummary:"closeTopologySummary"},decls:2,vars:2,consts:[[3,"mousemove","mouseup",4,"ngIf"],["class","summaryWrapper","mwlResizable","",3,"ngStyle","ngClass","validateResize","resizeEdges","enableGhostResize","mousedown","resizeStart","resizeEnd",4,"ngIf"],[3,"mousemove","mouseup"],["mwlResizable","",1,"summaryWrapper",3,"ngStyle","ngClass","validateResize","resizeEdges","enableGhostResize","mousedown","resizeStart","resizeEnd"],[1,"summaryHeader"],["label","Map topology",3,"click"],[1,"tabContent"],[1,"summaryFilters"],["placeholder","Filter nodes","multiple",""],["label","Status filter"],["value","started",3,"onSelectionChange"],["value","suspended",3,"onSelectionChange"],["value","stopped",3,"onSelectionChange"],["label","Capture filter"],["value","capture",3,"onSelectionChange"],["value","packet",3,"onSelectionChange"],[1,"summarySorting"],["placeholder","Sorting",3,"value","selectionChange","valueChange"],["value","asc"],["value","desc"],[1,"divider"],[1,"summaryContent",3,"ngStyle"],["class","nodeRow",4,"ngFor","ngForOf"],["label","Servers",3,"click"],[1,"summaryContentServers"],[1,"nodeRow"],["width","10","height","10",4,"ngIf"],[4,"ngIf"],["width","10","height","10"],["x","0","y","0","width","10","height","10","fill","green",1,"status_started"],["x","0","y","0","width","10","height","10","fill","yellow",1,"status_suspended"],["x","0","y","0","width","10","height","10","fill","red",1,"status_stopped"]],template:function(o,s){1&o&&(t.YNc(0,T,1,0,"div",0),t.YNc(1,D,32,12,"div",1)),2&o&&(t.Q6J("ngIf",s.isDraggingEnabled),t.xp6(1),t.Q6J("ngIf",s.projectsStatistics))},directives:[p.O5,v.E$,p.PC,p.mk,u.SP,u.uX,y.gD,g.Nv,g.ey,x.d,p.sg],styles:["@media screen and (max-width: 600px){.summaryWrapper[_ngcontent-%COMP%]{visibility:hidden}}mat-tab-group[_ngcontent-%COMP%]{width:100%}.summaryWrapper[_ngcontent-%COMP%]{box-shadow:0 4px 8px rgba(0,0,0,.2),0 6px 20px rgba(0,0,0,.188);position:fixed;top:60px;right:0px;height:400px;width:320px;background:#263238;color:#fff;overflow:hidden;font-size:12px;margin:20px;border-radius:8px}.lightTheme[_ngcontent-%COMP%]{background-color:rgba(244,248,252,.949);color:#000;margin:20px;border-radius:8px}.summaryHeaderMenu[_ngcontent-%COMP%]{height:24px}.summaryHeader[_ngcontent-%COMP%]{width:100%;display:flex}.summaryFilters[_ngcontent-%COMP%]{height:25px;margin-left:5px;margin-right:5px}.summarySorting[_ngcontent-%COMP%]{height:25px;margin-left:5px;margin-right:5px}.tabContent[_ngcontent-%COMP%]{padding:10px}.summaryContent[_ngcontent-%COMP%]{overflow:auto;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.summaryContentServers[_ngcontent-%COMP%]{max-height:350px;overflow:auto;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.titleButton[_ngcontent-%COMP%]{margin-left:5px;margin-top:4px;outline:none;border-radius:0}.marked[_ngcontent-%COMP%]{color:#0097a7;border-bottom:2px solid #0097a7}.divider[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:5px;width:100%;height:2px}.nodeRow[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between;padding-right:5px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}.radio-group-wrapper[_ngcontent-%COMP%]{margin-top:5px}.radio-group[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.closeButton[_ngcontent-%COMP%]{cursor:pointer;font-size:24px;margin-top:8px;margin-right:5px}.filterBox[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.notvisible[_ngcontent-%COMP%]{display:none}"]}),i}()}}]);
\ No newline at end of file
diff --git a/gns3server/static/web-ui/3rdpartylicenses.txt b/gns3server/static/web-ui/3rdpartylicenses.txt
index f5f85898..4626d8ca 100644
--- a/gns3server/static/web-ui/3rdpartylicenses.txt
+++ b/gns3server/static/web-ui/3rdpartylicenses.txt
@@ -1,28 +1,3 @@
-@angular-devkit/build-angular
-MIT
-The MIT License
-
-Copyright (c) 2017 Google, Inc.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-
-
 @angular/animations
 MIT
 
@@ -419,29 +394,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 THE SOFTWARE.
 
 
-core-js
-MIT
-Copyright (c) 2014-2021 Denis Pushkarev
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-
 css-tree
 MIT
 Copyright (C) 2016-2019 by Roman Dvornov
diff --git a/gns3server/static/web-ui/MaterialIcons-Regular.5e7382c63da0098d634a.ttf b/gns3server/static/web-ui/MaterialIcons-Regular.196fa4a92dd6fa73.ttf
similarity index 100%
rename from gns3server/static/web-ui/MaterialIcons-Regular.5e7382c63da0098d634a.ttf
rename to gns3server/static/web-ui/MaterialIcons-Regular.196fa4a92dd6fa73.ttf
diff --git a/gns3server/static/web-ui/MaterialIcons-Regular.4674f8ded773cb03e824.eot b/gns3server/static/web-ui/MaterialIcons-Regular.1e50f5c2ffa6aba4.eot
similarity index 100%
rename from gns3server/static/web-ui/MaterialIcons-Regular.4674f8ded773cb03e824.eot
rename to gns3server/static/web-ui/MaterialIcons-Regular.1e50f5c2ffa6aba4.eot
diff --git a/gns3server/static/web-ui/MaterialIcons-Regular.cff684e59ffb052d72cb.woff2 b/gns3server/static/web-ui/MaterialIcons-Regular.7ea2023eeca07427.woff2
similarity index 100%
rename from gns3server/static/web-ui/MaterialIcons-Regular.cff684e59ffb052d72cb.woff2
rename to gns3server/static/web-ui/MaterialIcons-Regular.7ea2023eeca07427.woff2
diff --git a/gns3server/static/web-ui/MaterialIcons-Regular.83bebaf37c09c7e1c3ee.woff b/gns3server/static/web-ui/MaterialIcons-Regular.db852539204b1a34.woff
similarity index 100%
rename from gns3server/static/web-ui/MaterialIcons-Regular.83bebaf37c09c7e1c3ee.woff
rename to gns3server/static/web-ui/MaterialIcons-Regular.db852539204b1a34.woff
diff --git a/gns3server/static/web-ui/NotoSans-Bold.82b1a58ddf26951345dc.ttf b/gns3server/static/web-ui/NotoSans-Bold.34719cace3ef62a2.ttf
similarity index 100%
rename from gns3server/static/web-ui/NotoSans-Bold.82b1a58ddf26951345dc.ttf
rename to gns3server/static/web-ui/NotoSans-Bold.34719cace3ef62a2.ttf
diff --git a/gns3server/static/web-ui/NotoSans-Bold.18ef6a21171328dc11a9.svg b/gns3server/static/web-ui/NotoSans-Bold.57c5fa3ce3ea736c.svg
similarity index 100%
rename from gns3server/static/web-ui/NotoSans-Bold.18ef6a21171328dc11a9.svg
rename to gns3server/static/web-ui/NotoSans-Bold.57c5fa3ce3ea736c.svg
diff --git a/gns3server/static/web-ui/NotoSans-Bold.fe2c3263802c4469728b.eot b/gns3server/static/web-ui/NotoSans-Bold.7e9e455225ad3d5f.eot
similarity index 100%
rename from gns3server/static/web-ui/NotoSans-Bold.fe2c3263802c4469728b.eot
rename to gns3server/static/web-ui/NotoSans-Bold.7e9e455225ad3d5f.eot
diff --git a/gns3server/static/web-ui/NotoSans-Bold.3ea2282022a16bb2827b.woff2 b/gns3server/static/web-ui/NotoSans-Bold.bb7ed3cb4bc27baa.woff2
similarity index 100%
rename from gns3server/static/web-ui/NotoSans-Bold.3ea2282022a16bb2827b.woff2
rename to gns3server/static/web-ui/NotoSans-Bold.bb7ed3cb4bc27baa.woff2
diff --git a/gns3server/static/web-ui/NotoSans-Bold.364158e7b3016f83790a.woff b/gns3server/static/web-ui/NotoSans-Bold.bf7f7fcd222ca9bc.woff
similarity index 100%
rename from gns3server/static/web-ui/NotoSans-Bold.364158e7b3016f83790a.woff
rename to gns3server/static/web-ui/NotoSans-Bold.bf7f7fcd222ca9bc.woff
diff --git a/gns3server/static/web-ui/NotoSans-BoldItalic.7930d6e32b12448fc0ae.svg b/gns3server/static/web-ui/NotoSans-BoldItalic.44f1cf4f0e78a3a4.svg
similarity index 100%
rename from gns3server/static/web-ui/NotoSans-BoldItalic.7930d6e32b12448fc0ae.svg
rename to gns3server/static/web-ui/NotoSans-BoldItalic.44f1cf4f0e78a3a4.svg
diff --git a/gns3server/static/web-ui/NotoSans-BoldItalic.b40d78b2f9e2490108d0.eot b/gns3server/static/web-ui/NotoSans-BoldItalic.c4df60a61a10e0e2.eot
similarity index 100%
rename from gns3server/static/web-ui/NotoSans-BoldItalic.b40d78b2f9e2490108d0.eot
rename to gns3server/static/web-ui/NotoSans-BoldItalic.c4df60a61a10e0e2.eot
diff --git a/gns3server/static/web-ui/NotoSans-BoldItalic.9e49c91c40231a024afb.ttf b/gns3server/static/web-ui/NotoSans-BoldItalic.da602ebb32f0c6ac.ttf
similarity index 100%
rename from gns3server/static/web-ui/NotoSans-BoldItalic.9e49c91c40231a024afb.ttf
rename to gns3server/static/web-ui/NotoSans-BoldItalic.da602ebb32f0c6ac.ttf
diff --git a/gns3server/static/web-ui/NotoSans-BoldItalic.f2639d17cfb5c6e74edd.woff2 b/gns3server/static/web-ui/NotoSans-BoldItalic.ddf7c771010e73d3.woff2
similarity index 100%
rename from gns3server/static/web-ui/NotoSans-BoldItalic.f2639d17cfb5c6e74edd.woff2
rename to gns3server/static/web-ui/NotoSans-BoldItalic.ddf7c771010e73d3.woff2
diff --git a/gns3server/static/web-ui/NotoSans-BoldItalic.ed8d2295c0b2e0a854d8.woff b/gns3server/static/web-ui/NotoSans-BoldItalic.f99dd773fd73392d.woff
similarity index 100%
rename from gns3server/static/web-ui/NotoSans-BoldItalic.ed8d2295c0b2e0a854d8.woff
rename to gns3server/static/web-ui/NotoSans-BoldItalic.f99dd773fd73392d.woff
diff --git a/gns3server/static/web-ui/NotoSans-Italic.ca985d172a576d01c77e.woff2 b/gns3server/static/web-ui/NotoSans-Italic.1a8c878b5303cbe6.woff2
similarity index 100%
rename from gns3server/static/web-ui/NotoSans-Italic.ca985d172a576d01c77e.woff2
rename to gns3server/static/web-ui/NotoSans-Italic.1a8c878b5303cbe6.woff2
diff --git a/gns3server/static/web-ui/NotoSans-Italic.8a08f0f08e448e4f522e.woff b/gns3server/static/web-ui/NotoSans-Italic.366bf02025f63b83.woff
similarity index 100%
rename from gns3server/static/web-ui/NotoSans-Italic.8a08f0f08e448e4f522e.woff
rename to gns3server/static/web-ui/NotoSans-Italic.366bf02025f63b83.woff
diff --git a/gns3server/static/web-ui/NotoSans-Italic.cecaa17f122ac96a50f8.svg b/gns3server/static/web-ui/NotoSans-Italic.92e7c8bbab5c5179.svg
similarity index 100%
rename from gns3server/static/web-ui/NotoSans-Italic.cecaa17f122ac96a50f8.svg
rename to gns3server/static/web-ui/NotoSans-Italic.92e7c8bbab5c5179.svg
diff --git a/gns3server/static/web-ui/NotoSans-Italic.1506cb93f574152bda3d.eot b/gns3server/static/web-ui/NotoSans-Italic.985d3cebb7facaaf.eot
similarity index 100%
rename from gns3server/static/web-ui/NotoSans-Italic.1506cb93f574152bda3d.eot
rename to gns3server/static/web-ui/NotoSans-Italic.985d3cebb7facaaf.eot
diff --git a/gns3server/static/web-ui/NotoSans-Italic.08690ed789a5532ed7be.ttf b/gns3server/static/web-ui/NotoSans-Italic.edf9dad3a9df7f36.ttf
similarity index 100%
rename from gns3server/static/web-ui/NotoSans-Italic.08690ed789a5532ed7be.ttf
rename to gns3server/static/web-ui/NotoSans-Italic.edf9dad3a9df7f36.ttf
diff --git a/gns3server/static/web-ui/NotoSans-Regular.730e73a4d4556fa0efe8.woff2 b/gns3server/static/web-ui/NotoSans-Regular.393a17b8205d596d.woff2
similarity index 100%
rename from gns3server/static/web-ui/NotoSans-Regular.730e73a4d4556fa0efe8.woff2
rename to gns3server/static/web-ui/NotoSans-Regular.393a17b8205d596d.woff2
diff --git a/gns3server/static/web-ui/NotoSans-Regular.22c53c8686edcaecdf66.woff b/gns3server/static/web-ui/NotoSans-Regular.51f325c21ca117eb.woff
similarity index 100%
rename from gns3server/static/web-ui/NotoSans-Regular.22c53c8686edcaecdf66.woff
rename to gns3server/static/web-ui/NotoSans-Regular.51f325c21ca117eb.woff
diff --git a/gns3server/static/web-ui/NotoSans-Regular.f55982ed9f2bc3af6185.eot b/gns3server/static/web-ui/NotoSans-Regular.8df2e2a555d0110f.eot
similarity index 100%
rename from gns3server/static/web-ui/NotoSans-Regular.f55982ed9f2bc3af6185.eot
rename to gns3server/static/web-ui/NotoSans-Regular.8df2e2a555d0110f.eot
diff --git a/gns3server/static/web-ui/NotoSans-Regular.e962f548522aa99bb8f9.ttf b/gns3server/static/web-ui/NotoSans-Regular.cb40f90b6ce4a698.ttf
similarity index 100%
rename from gns3server/static/web-ui/NotoSans-Regular.e962f548522aa99bb8f9.ttf
rename to gns3server/static/web-ui/NotoSans-Regular.cb40f90b6ce4a698.ttf
diff --git a/gns3server/static/web-ui/NotoSans-Regular.8142e5b2e99a1cccafb7.svg b/gns3server/static/web-ui/NotoSans-Regular.dfbb04edb508d096.svg
similarity index 100%
rename from gns3server/static/web-ui/NotoSans-Regular.8142e5b2e99a1cccafb7.svg
rename to gns3server/static/web-ui/NotoSans-Regular.dfbb04edb508d096.svg
diff --git a/gns3server/static/web-ui/index.html b/gns3server/static/web-ui/index.html
index aa7e4920..d4e1b93d 100644
--- a/gns3server/static/web-ui/index.html
+++ b/gns3server/static/web-ui/index.html
@@ -31,7 +31,7 @@
         }
       })();
     </script>
-  <style>@charset "UTF-8";:root{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13,110,253;--bs-secondary-rgb:108,117,125;--bs-success-rgb:25,135,84;--bs-info-rgb:13,202,240;--bs-warning-rgb:255,193,7;--bs-danger-rgb:220,53,69;--bs-light-rgb:248,249,250;--bs-dark-rgb:33,37,41;--bs-white-rgb:255,255,255;--bs-black-rgb:0,0,0;--bs-body-color-rgb:33,37,41;--bs-body-bg-rgb:255,255,255;--bs-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--bs-gradient:linear-gradient(180deg,hsla(0,0%,100%,0.15),hsla(0,0%,100%,0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-bg:#fff;}*,:after,:before{box-sizing:border-box;}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth;}}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-family:var(--bs-body-font-family);font-size:1rem;font-size:var(--bs-body-font-size);font-weight:400;font-weight:var(--bs-body-font-weight);line-height:1.5;line-height:var(--bs-body-line-height);color:#212529;color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:#fff;background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;}@font-face{font-family:Noto Sans;src:url(NotoSans-Regular.f55982ed9f2bc3af6185.eot);src:local("Noto Sans Regular"),local("NotoSans-Regular"),url(NotoSans-Regular.f55982ed9f2bc3af6185.eot?#iefix) format("embedded-opentype"),url(NotoSans-Regular.730e73a4d4556fa0efe8.woff2) format("woff2"),url(NotoSans-Regular.22c53c8686edcaecdf66.woff) format("woff"),url(NotoSans-Regular.e962f548522aa99bb8f9.ttf) format("truetype"),url(NotoSans-Regular.8142e5b2e99a1cccafb7.svg#NotoSans-Regular) format("svg");font-weight:400;font-style:normal;}@font-face{font-family:Noto Sans;src:url(NotoSans-Italic.1506cb93f574152bda3d.eot);src:local("Noto Sans Italic"),local("NotoSans-Italic"),url(NotoSans-Italic.1506cb93f574152bda3d.eot?#iefix) format("embedded-opentype"),url(NotoSans-Italic.ca985d172a576d01c77e.woff2) format("woff2"),url(NotoSans-Italic.8a08f0f08e448e4f522e.woff) format("woff"),url(NotoSans-Italic.08690ed789a5532ed7be.ttf) format("truetype"),url(NotoSans-Italic.cecaa17f122ac96a50f8.svg#NotoSans-Italic) format("svg");font-weight:400;font-style:italic;}@font-face{font-family:Noto Sans;src:url(NotoSans-Bold.fe2c3263802c4469728b.eot);src:local("Noto Sans Bold"),local("NotoSans-Bold"),url(NotoSans-Bold.fe2c3263802c4469728b.eot?#iefix) format("embedded-opentype"),url(NotoSans-Bold.3ea2282022a16bb2827b.woff2) format("woff2"),url(NotoSans-Bold.364158e7b3016f83790a.woff) format("woff"),url(NotoSans-Bold.82b1a58ddf26951345dc.ttf) format("truetype"),url(NotoSans-Bold.18ef6a21171328dc11a9.svg#NotoSans-Bold) format("svg");font-weight:700;font-style:normal;}@font-face{font-family:Noto Sans;src:url(NotoSans-BoldItalic.b40d78b2f9e2490108d0.eot);src:local("Noto Sans BoldItalic"),local("NotoSans-BoldItalic"),url(NotoSans-BoldItalic.b40d78b2f9e2490108d0.eot?#iefix) format("embedded-opentype"),url(NotoSans-BoldItalic.f2639d17cfb5c6e74edd.woff2) format("woff2"),url(NotoSans-BoldItalic.ed8d2295c0b2e0a854d8.woff) format("woff"),url(NotoSans-BoldItalic.9e49c91c40231a024afb.ttf) format("truetype"),url(NotoSans-BoldItalic.7930d6e32b12448fc0ae.svg#NotoSans-BoldItalic) format("svg");font-weight:700;font-style:italic;}body{background-color:#e8ecef;}app-root{width:100%;}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:100;src:local("Roboto Thin "),local("Roboto-Thin"),url(roboto-latin-100.c2aa4ab115bf9c6057cb.woff2) format("woff2"),url(roboto-latin-100.a45108d3b34af91f9113.woff) format("woff");}@font-face{font-family:Roboto;font-style:italic;font-display:swap;font-weight:100;src:local("Roboto Thin italic"),local("Roboto-Thinitalic"),url(roboto-latin-100italic.7f839a8652da29745ce4.woff2) format("woff2"),url(roboto-latin-100italic.451d4e559d6f57cdf6a1.woff) format("woff");}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:local("Roboto Light "),local("Roboto-Light"),url(roboto-latin-300.37a7069dc30fc663c878.woff2) format("woff2"),url(roboto-latin-300.865f928cbabcc9f8f2b5.woff) format("woff");}@font-face{font-family:Roboto;font-style:italic;font-display:swap;font-weight:300;src:local("Roboto Light italic"),local("Roboto-Lightitalic"),url(roboto-latin-300italic.c64e7e354c88e613c77c.woff2) format("woff2"),url(roboto-latin-300italic.bd5b7a13f2c52b531a2a.woff) format("woff");}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:local("Roboto Regular "),local("Roboto-Regular"),url(roboto-latin-400.176f8f5bd5f02b3abfcf.woff2) format("woff2"),url(roboto-latin-400.49ae34d4cc6b98c00c69.woff) format("woff");}@font-face{font-family:Roboto;font-style:italic;font-display:swap;font-weight:400;src:local("Roboto Regular italic"),local("Roboto-Regularitalic"),url(roboto-latin-400italic.d022bc70dc1bf7b3425d.woff2) format("woff2"),url(roboto-latin-400italic.b1d9d9904bfca8802a63.woff) format("woff");}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:local("Roboto Medium "),local("Roboto-Medium"),url(roboto-latin-500.f5b74d7ffcdf85b9dd60.woff2) format("woff2"),url(roboto-latin-500.cea99d3e3e13a3a599a0.woff) format("woff");}@font-face{font-family:Roboto;font-style:italic;font-display:swap;font-weight:500;src:local("Roboto Medium italic"),local("Roboto-Mediumitalic"),url(roboto-latin-500italic.0d8bb5b3ee5f5dac9e44.woff2) format("woff2"),url(roboto-latin-500italic.18d00f739ff1e1c52db1.woff) format("woff");}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:local("Roboto Bold "),local("Roboto-Bold"),url(roboto-latin-700.c18ee39fb002ad58b6dc.woff2) format("woff2"),url(roboto-latin-700.2267169ee7270a22a963.woff) format("woff");}@font-face{font-family:Roboto;font-style:italic;font-display:swap;font-weight:700;src:local("Roboto Bold italic"),local("Roboto-Bolditalic"),url(roboto-latin-700italic.7d8125ff7f707231fd89.woff2) format("woff2"),url(roboto-latin-700italic.9360531f9bb817f917f0.woff) format("woff");}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:900;src:local("Roboto Black "),local("Roboto-Black"),url(roboto-latin-900.870c8c1486f76054301a.woff2) format("woff2"),url(roboto-latin-900.bac8362e7a6ea60b6983.woff) format("woff");}@font-face{font-family:Roboto;font-style:italic;font-display:swap;font-weight:900;src:local("Roboto Black italic"),local("Roboto-Blackitalic"),url(roboto-latin-900italic.cb5ad999740e9d8a8bd1.woff2) format("woff2"),url(roboto-latin-900italic.c20d916c1a1b094c1cec.woff) format("woff");}</style><link rel="stylesheet" href="styles.bf28628fcb2844ad74bd.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.bf28628fcb2844ad74bd.css"></noscript></head>
+  <style>@charset "UTF-8";:root{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13,110,253;--bs-secondary-rgb:108,117,125;--bs-success-rgb:25,135,84;--bs-info-rgb:13,202,240;--bs-warning-rgb:255,193,7;--bs-danger-rgb:220,53,69;--bs-light-rgb:248,249,250;--bs-dark-rgb:33,37,41;--bs-white-rgb:255,255,255;--bs-black-rgb:0,0,0;--bs-body-color-rgb:33,37,41;--bs-body-bg-rgb:255,255,255;--bs-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-bg:#fff}*,:after,:before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}@font-face{font-family:"Noto Sans";src:url(NotoSans-Regular.8df2e2a555d0110f.eot);src:local("Noto Sans Regular"),local("NotoSans-Regular"),url(NotoSans-Regular.8df2e2a555d0110f.eot?#iefix) format("embedded-opentype"),url(NotoSans-Regular.393a17b8205d596d.woff2) format("woff2"),url(NotoSans-Regular.51f325c21ca117eb.woff) format("woff"),url(NotoSans-Regular.cb40f90b6ce4a698.ttf) format("truetype"),url(NotoSans-Regular.dfbb04edb508d096.svg#NotoSans-Regular) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"Noto Sans";src:url(NotoSans-Italic.985d3cebb7facaaf.eot);src:local("Noto Sans Italic"),local("NotoSans-Italic"),url(NotoSans-Italic.985d3cebb7facaaf.eot?#iefix) format("embedded-opentype"),url(NotoSans-Italic.1a8c878b5303cbe6.woff2) format("woff2"),url(NotoSans-Italic.366bf02025f63b83.woff) format("woff"),url(NotoSans-Italic.edf9dad3a9df7f36.ttf) format("truetype"),url(NotoSans-Italic.92e7c8bbab5c5179.svg#NotoSans-Italic) format("svg");font-weight:400;font-style:italic}@font-face{font-family:"Noto Sans";src:url(NotoSans-Bold.7e9e455225ad3d5f.eot);src:local("Noto Sans Bold"),local("NotoSans-Bold"),url(NotoSans-Bold.7e9e455225ad3d5f.eot?#iefix) format("embedded-opentype"),url(NotoSans-Bold.bb7ed3cb4bc27baa.woff2) format("woff2"),url(NotoSans-Bold.bf7f7fcd222ca9bc.woff) format("woff"),url(NotoSans-Bold.34719cace3ef62a2.ttf) format("truetype"),url(NotoSans-Bold.57c5fa3ce3ea736c.svg#NotoSans-Bold) format("svg");font-weight:700;font-style:normal}@font-face{font-family:"Noto Sans";src:url(NotoSans-BoldItalic.c4df60a61a10e0e2.eot);src:local("Noto Sans BoldItalic"),local("NotoSans-BoldItalic"),url(NotoSans-BoldItalic.c4df60a61a10e0e2.eot?#iefix) format("embedded-opentype"),url(NotoSans-BoldItalic.ddf7c771010e73d3.woff2) format("woff2"),url(NotoSans-BoldItalic.f99dd773fd73392d.woff) format("woff"),url(NotoSans-BoldItalic.da602ebb32f0c6ac.ttf) format("truetype"),url(NotoSans-BoldItalic.44f1cf4f0e78a3a4.svg#NotoSans-BoldItalic) format("svg");font-weight:700;font-style:italic}body{background-color:#e8ecef}app-root{width:100%}</style><link rel="stylesheet" href="styles.cf688421eca41c25.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.cf688421eca41c25.css"></noscript></head>
   <!-- <body class="mat-app-background" oncontextmenu="return false;"> -->
   <body class="mat-app-background" oncontextmenu="return false;">
     <app-root></app-root>
@@ -46,6 +46,6 @@
 
       gtag('config', 'G-5D6FZL9923');
     </script>
-  <script src="runtime.13dab52dcdd04f9f1496.js" defer></script><script src="polyfills-es5.300b3ac245f51be06907.js" nomodule defer></script><script src="polyfills.519e27ac94450b1b7e67.js" defer></script><script src="main.6d44bf65eea93810ba85.js" defer></script>
+  <script src="runtime.78f7797c0ae936fe.js" type="module"></script><script src="polyfills.76674d1e750c8482.js" type="module"></script><script src="main.13bda60ce561ce91.js" type="module"></script>
 
 </body></html>
\ No newline at end of file
diff --git a/gns3server/static/web-ui/main.13bda60ce561ce91.js b/gns3server/static/web-ui/main.13bda60ce561ce91.js
new file mode 100644
index 00000000..33a7a9db
--- /dev/null
+++ b/gns3server/static/web-ui/main.13bda60ce561ce91.js
@@ -0,0 +1 @@
+(self.webpackChunkgns3_web_ui=self.webpackChunkgns3_web_ui||[]).push([[179],{82908:function(ue){ue.exports=function(f,B){(null==B||B>f.length)&&(B=f.length);for(var U=0,V=new Array(B);U<B;U++)V[U]=f[U];return V},ue.exports.default=ue.exports,ue.exports.__esModule=!0},36457:function(ue){ue.exports=function(f){if(Array.isArray(f))return f},ue.exports.default=ue.exports,ue.exports.__esModule=!0},35036:function(ue){ue.exports=function(f,B){var U=null==f?null:"undefined"!=typeof Symbol&&f[Symbol.iterator]||f["@@iterator"];if(null!=U){var R,b,V=[],L=!0,w=!1;try{for(U=U.call(f);!(L=(R=U.next()).done)&&(V.push(R.value),!B||V.length!==B);L=!0);}catch(E){w=!0,b=E}finally{try{!L&&null!=U.return&&U.return()}finally{if(w)throw b}}return V}},ue.exports.default=ue.exports,ue.exports.__esModule=!0},13969:function(ue){ue.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},ue.exports.default=ue.exports,ue.exports.__esModule=!0},6326:function(ue,j,f){var B=f(36457),U=f(35036),V=f(54850),L=f(13969);ue.exports=function(R,b){return B(R)||U(R,b)||V(R,b)||L()},ue.exports.default=ue.exports,ue.exports.__esModule=!0},54850:function(ue,j,f){var B=f(82908);ue.exports=function(V,L){if(V){if("string"==typeof V)return B(V,L);var w=Object.prototype.toString.call(V).slice(8,-1);if("Object"===w&&V.constructor&&(w=V.constructor.name),"Map"===w||"Set"===w)return Array.from(V);if("Arguments"===w||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w))return B(V,L)}},ue.exports.default=ue.exports,ue.exports.__esModule=!0},26552:function(ue,j,f){ue.exports=f(59889)},61855:function(ue,j,f){"use strict";function w(K,fe,ce,he){var Ce,de=arguments.length,oe=de<3?fe:null===he?he=Object.getOwnPropertyDescriptor(fe,ce):he;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)oe=Reflect.decorate(K,fe,ce,he);else for(var ge=K.length-1;ge>=0;ge--)(Ce=K[ge])&&(oe=(de<3?Ce(oe):de>3?Ce(fe,ce,oe):Ce(fe,ce))||oe);return de>3&&oe&&Object.defineProperty(fe,ce,oe),oe}function R(K,fe){return function(ce,he){fe(ce,he,K)}}function b(K,fe){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(K,fe)}function E(K,fe,ce,he){return new(ce||(ce=Promise))(function(oe,Ce){function ge(Qe){try{De(he.next(Qe))}catch(et){Ce(et)}}function qe(Qe){try{De(he.throw(Qe))}catch(et){Ce(et)}}function De(Qe){Qe.done?oe(Qe.value):function(oe){return oe instanceof ce?oe:new ce(function(Ce){Ce(oe)})}(Qe.value).then(ge,qe)}De((he=he.apply(K,fe||[])).next())})}f.d(j,{gn:function(){return w},fM:function(){return R},w6:function(){return b},mG:function(){return E}})},66604:function(ue,j,f){"use strict";f.d(j,{R:function(){return V}});var B=f(26986),U={};function V(){return(0,B.KV)()?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:U}},26986:function(ue,j,f){"use strict";function B(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function U(L,w){return L.require(w)}f.d(j,{KV:function(){return B},l$:function(){return U}}),ue=f.hmd(ue)},76865:function(ue,j,f){"use strict";f.d(j,{yW:function(){return E},ph:function(){return x}});var B=f(66604),U=f(26986);ue=f.hmd(ue);var V={nowSeconds:function(){return Date.now()/1e3}},R=(0,U.KV)()?function(){try{return(0,U.l$)(ue,"perf_hooks").performance}catch(v){return}}():function(){var D=(0,B.R)().performance;if(D&&D.now)return{now:function(){return D.now()},timeOrigin:Date.now()-D.now()}}(),b=void 0===R?V:{nowSeconds:function(){return(R.timeOrigin+R.now())/1e3}},E=V.nowSeconds.bind(V),x=b.nowSeconds.bind(b);!function(){var D=(0,B.R)().performance;if(D&&D.now){var v=36e5,g=D.now(),M=Date.now(),k=D.timeOrigin?Math.abs(D.timeOrigin+g-M):v,S=k<v,I=D.timing&&D.timing.navigationStart,G="number"==typeof I?Math.abs(I+g-M):v}}()},58939:function(ue,j,f){"use strict";f.d(j,{E$:function(){return bt},ym:function(){return He}});var B=f(51380),U=f(18967),V=f(14105),L=f(86019),w=f(83668),R=f(27807),b=f(69301),E=f(5441),x=f(15801),O=(f(4998),f(24305)),y=f(65605),T=f(85148),D=f(98771),v=f(7060),g=f(80758),M=f(35634),k=f(23199),S=f(63303),I=f(91979),F=f(50439),G="undefined"!=typeof window&&("ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0);function X(st,tt){var Zt=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,Tt=Math.abs(st-tt);return Tt<Zt}function W(st,tt,Zt,Tt){var mt={top:st.top,bottom:st.bottom,left:st.left,right:st.right};return tt.top&&(mt.top+=Tt),tt.bottom&&(mt.bottom+=Tt),tt.left&&(mt.left+=Zt),tt.right&&(mt.right+=Zt),mt.height=mt.bottom-mt.top,mt.width=mt.right-mt.left,mt}function ae(st){var tt=st.clientY,Zt=st.rect;return tt>=Zt.top&&tt<=Zt.bottom}function K(st){var tt=st.clientX,Zt=st.rect;return tt>=Zt.left&&tt<=Zt.right}function fe(st){var tt=st.clientX,Zt=st.clientY,mt=st.allowedEdges,Yt=st.cursorPrecision,un=st.elm.nativeElement.getBoundingClientRect(),Ut={};return mt.left&&X(tt,un.left,Yt)&&ae({clientY:Zt,rect:un})&&(Ut.left=!0),mt.right&&X(tt,un.right,Yt)&&ae({clientY:Zt,rect:un})&&(Ut.right=!0),mt.top&&X(Zt,un.top,Yt)&&K({clientX:tt,rect:un})&&(Ut.top=!0),mt.bottom&&X(Zt,un.bottom,Yt)&&K({clientX:tt,rect:un})&&(Ut.bottom=!0),Ut}var ce=Object.freeze({topLeft:"nw-resize",topRight:"ne-resize",bottomLeft:"sw-resize",bottomRight:"se-resize",leftOrRight:"col-resize",topOrBottom:"row-resize"});function he(st,tt){return st.left&&st.top?tt.topLeft:st.right&&st.top?tt.topRight:st.left&&st.bottom?tt.bottomLeft:st.right&&st.bottom?tt.bottomRight:st.left||st.right?tt.leftOrRight:st.top||st.bottom?tt.topOrBottom:""}function de(st){var Zt=st.initialRectangle,Tt=st.newRectangle,mt={};return Object.keys(st.edges).forEach(function(Yt){mt[Yt]=(Tt[Yt]||0)-(Zt[Yt]||0)}),mt}var oe="resize-active",bt=function(){var st=function(){function tt(Zt,Tt,mt,Yt){(0,U.Z)(this,tt),this.platformId=Zt,this.renderer=Tt,this.elm=mt,this.zone=Yt,this.resizeEdges={},this.enableGhostResize=!1,this.resizeSnapGrid={},this.resizeCursors=ce,this.resizeCursorPrecision=3,this.ghostElementPositioning="fixed",this.allowNegativeResizes=!1,this.mouseMoveThrottleMS=50,this.resizeStart=new w.vpe,this.resizing=new w.vpe,this.resizeEnd=new w.vpe,this.mouseup=new R.xQ,this.mousedown=new R.xQ,this.mousemove=new R.xQ,this.destroy$=new R.xQ,this.resizeEdges$=new R.xQ,this.pointerEventListeners=_e.getInstance(Tt,Yt)}return(0,V.Z)(tt,[{key:"ngOnInit",value:function(){var Ut,Tt=this,mt=(0,b.T)(this.pointerEventListeners.pointerDown,this.mousedown),Yt=(0,b.T)(this.pointerEventListeners.pointerMove,this.mousemove).pipe((0,O.b)(function(Zn){var Vn=Zn.event;if(Ut)try{Vn.preventDefault()}catch(zn){}}),(0,y.B)()),un=(0,b.T)(this.pointerEventListeners.pointerUp,this.mouseup),Mn=function(){Ut&&Ut.clonedNode&&(Tt.elm.nativeElement.parentElement.removeChild(Ut.clonedNode),Tt.renderer.setStyle(Tt.elm.nativeElement,"visibility","inherit"))},On=function(){return Object.assign({},ce,Tt.resizeCursors)};this.resizeEdges$.pipe((0,T.O)(this.resizeEdges),(0,D.U)(function(){return Tt.resizeEdges&&Object.keys(Tt.resizeEdges).some(function(Zn){return!!Tt.resizeEdges[Zn]})}),(0,v.w)(function(Zn){return Zn?Yt:E.E}),(0,g.e)(this.mouseMoveThrottleMS),(0,M.R)(this.destroy$)).subscribe(function(Zn){var Wn=fe({clientX:Zn.clientX,clientY:Zn.clientY,elm:Tt.elm,allowedEdges:Tt.resizeEdges,cursorPrecision:Tt.resizeCursorPrecision}),nr=On();if(!Ut){var ar=he(Wn,nr);Tt.renderer.setStyle(Tt.elm.nativeElement,"cursor",ar)}Tt.setElementClass(Tt.elm,"resize-left-hover",!0===Wn.left),Tt.setElementClass(Tt.elm,"resize-right-hover",!0===Wn.right),Tt.setElementClass(Tt.elm,"resize-top-hover",!0===Wn.top),Tt.setElementClass(Tt.elm,"resize-bottom-hover",!0===Wn.bottom)}),mt.pipe((0,k.zg)(function(Zn){function Vn(nr){return{clientX:nr.clientX-Zn.clientX,clientY:nr.clientY-Zn.clientY}}var zn=function(){var ar={x:1,y:1};return Ut&&(Tt.resizeSnapGrid.left&&Ut.edges.left?ar.x=+Tt.resizeSnapGrid.left:Tt.resizeSnapGrid.right&&Ut.edges.right&&(ar.x=+Tt.resizeSnapGrid.right),Tt.resizeSnapGrid.top&&Ut.edges.top?ar.y=+Tt.resizeSnapGrid.top:Tt.resizeSnapGrid.bottom&&Ut.edges.bottom&&(ar.y=+Tt.resizeSnapGrid.bottom)),ar};function Wn(nr,ar){return{x:Math.ceil(nr.clientX/ar.x),y:Math.ceil(nr.clientY/ar.y)}}return(0,b.T)(Yt.pipe((0,S.q)(1)).pipe((0,D.U)(function(nr){return[,nr]})),Yt.pipe((0,I.G)())).pipe((0,D.U)(function(nr){var ar=(0,B.Z)(nr,2),Sr=ar[0],Qn=ar[1];return[Sr&&Vn(Sr),Vn(Qn)]})).pipe((0,F.h)(function(nr){var ar=(0,B.Z)(nr,2),Sr=ar[0],Qn=ar[1];if(!Sr)return!0;var rn=zn(),_n=Wn(Sr,rn),kt=Wn(Qn,rn);return _n.x!==kt.x||_n.y!==kt.y})).pipe((0,D.U)(function(nr){var Sr=(0,B.Z)(nr,2)[1],Qn=zn();return{clientX:Math.round(Sr.clientX/Qn.x)*Qn.x,clientY:Math.round(Sr.clientY/Qn.y)*Qn.y}})).pipe((0,M.R)((0,b.T)(un,mt)))})).pipe((0,F.h)(function(){return!!Ut})).pipe((0,D.U)(function(Zn){return W(Ut.startingRect,Ut.edges,Zn.clientX,Zn.clientY)})).pipe((0,F.h)(function(Zn){return Tt.allowNegativeResizes||!!(Zn.height&&Zn.width&&Zn.height>0&&Zn.width>0)})).pipe((0,F.h)(function(Zn){return!Tt.validateResize||Tt.validateResize({rectangle:Zn,edges:de({edges:Ut.edges,initialRectangle:Ut.startingRect,newRectangle:Zn})})}),(0,M.R)(this.destroy$)).subscribe(function(Zn){Ut&&Ut.clonedNode&&(Tt.renderer.setStyle(Ut.clonedNode,"height","".concat(Zn.height,"px")),Tt.renderer.setStyle(Ut.clonedNode,"width","".concat(Zn.width,"px")),Tt.renderer.setStyle(Ut.clonedNode,"top","".concat(Zn.top,"px")),Tt.renderer.setStyle(Ut.clonedNode,"left","".concat(Zn.left,"px"))),Tt.resizing.observers.length>0&&Tt.zone.run(function(){Tt.resizing.emit({edges:de({edges:Ut.edges,initialRectangle:Ut.startingRect,newRectangle:Zn}),rectangle:Zn})}),Ut.currentRect=Zn}),mt.pipe((0,D.U)(function(Zn){return Zn.edges||fe({clientX:Zn.clientX,clientY:Zn.clientY,elm:Tt.elm,allowedEdges:Tt.resizeEdges,cursorPrecision:Tt.resizeCursorPrecision})})).pipe((0,F.h)(function(Zn){return Object.keys(Zn).length>0}),(0,M.R)(this.destroy$)).subscribe(function(Zn){Ut&&Mn();var Vn=function(st,tt){var Zt=0,Tt=0,mt=st.nativeElement.style,un=["transform","-ms-transform","-moz-transform","-o-transform"].map(function(Mn){return mt[Mn]}).find(function(Mn){return!!Mn});if(un&&un.includes("translate")&&(Zt=un.replace(/.*translate3?d?\((-?[0-9]*)px, (-?[0-9]*)px.*/,"$1"),Tt=un.replace(/.*translate3?d?\((-?[0-9]*)px, (-?[0-9]*)px.*/,"$2")),"absolute"===tt)return{height:st.nativeElement.offsetHeight,width:st.nativeElement.offsetWidth,top:st.nativeElement.offsetTop-Tt,bottom:st.nativeElement.offsetHeight+st.nativeElement.offsetTop-Tt,left:st.nativeElement.offsetLeft-Zt,right:st.nativeElement.offsetWidth+st.nativeElement.offsetLeft-Zt};var Ut=st.nativeElement.getBoundingClientRect();return{height:Ut.height,width:Ut.width,top:Ut.top-Tt,bottom:Ut.bottom-Tt,left:Ut.left-Zt,right:Ut.right-Zt,scrollTop:st.nativeElement.scrollTop,scrollLeft:st.nativeElement.scrollLeft}}(Tt.elm,Tt.ghostElementPositioning);Ut={edges:Zn,startingRect:Vn,currentRect:Vn};var zn=On(),Wn=he(Ut.edges,zn);Tt.renderer.setStyle(document.body,"cursor",Wn),Tt.setElementClass(Tt.elm,oe,!0),Tt.enableGhostResize&&(Ut.clonedNode=Tt.elm.nativeElement.cloneNode(!0),Tt.elm.nativeElement.parentElement.appendChild(Ut.clonedNode),Tt.renderer.setStyle(Tt.elm.nativeElement,"visibility","hidden"),Tt.renderer.setStyle(Ut.clonedNode,"position",Tt.ghostElementPositioning),Tt.renderer.setStyle(Ut.clonedNode,"left","".concat(Ut.startingRect.left,"px")),Tt.renderer.setStyle(Ut.clonedNode,"top","".concat(Ut.startingRect.top,"px")),Tt.renderer.setStyle(Ut.clonedNode,"height","".concat(Ut.startingRect.height,"px")),Tt.renderer.setStyle(Ut.clonedNode,"width","".concat(Ut.startingRect.width,"px")),Tt.renderer.setStyle(Ut.clonedNode,"cursor",he(Ut.edges,zn)),Tt.renderer.addClass(Ut.clonedNode,"resize-ghost-element"),Ut.clonedNode.scrollTop=Ut.startingRect.scrollTop,Ut.clonedNode.scrollLeft=Ut.startingRect.scrollLeft),Tt.resizeStart.observers.length>0&&Tt.zone.run(function(){Tt.resizeStart.emit({edges:de({edges:Zn,initialRectangle:Vn,newRectangle:Vn}),rectangle:W(Vn,{},0,0)})})}),un.pipe((0,M.R)(this.destroy$)).subscribe(function(){Ut&&(Tt.renderer.removeClass(Tt.elm.nativeElement,oe),Tt.renderer.setStyle(document.body,"cursor",""),Tt.renderer.setStyle(Tt.elm.nativeElement,"cursor",""),Tt.resizeEnd.observers.length>0&&Tt.zone.run(function(){Tt.resizeEnd.emit({edges:de({edges:Ut.edges,initialRectangle:Ut.startingRect,newRectangle:Ut.currentRect}),rectangle:Ut.currentRect})}),Mn(),Ut=null)})}},{key:"ngOnChanges",value:function(Tt){Tt.resizeEdges&&this.resizeEdges$.next(this.resizeEdges)}},{key:"ngOnDestroy",value:function(){(0,L.NF)(this.platformId)&&this.renderer.setStyle(document.body,"cursor",""),this.mousedown.complete(),this.mouseup.complete(),this.mousemove.complete(),this.resizeEdges$.complete(),this.destroy$.next()}},{key:"setElementClass",value:function(Tt,mt,Yt){Yt?this.renderer.addClass(Tt.nativeElement,mt):this.renderer.removeClass(Tt.nativeElement,mt)}}]),tt}();return st.\u0275fac=function(Zt){return new(Zt||st)(w.Y36(w.Lbi),w.Y36(w.Qsj),w.Y36(w.SBq),w.Y36(w.R0b))},st.\u0275dir=w.lG2({type:st,selectors:[["","mwlResizable",""]],inputs:{resizeEdges:"resizeEdges",enableGhostResize:"enableGhostResize",resizeSnapGrid:"resizeSnapGrid",resizeCursors:"resizeCursors",resizeCursorPrecision:"resizeCursorPrecision",ghostElementPositioning:"ghostElementPositioning",allowNegativeResizes:"allowNegativeResizes",mouseMoveThrottleMS:"mouseMoveThrottleMS",validateResize:"validateResize"},outputs:{resizeStart:"resizeStart",resizing:"resizing",resizeEnd:"resizeEnd"},exportAs:["mwlResizable"],features:[w.TTD]}),st}(),_e=function(){function st(tt,Zt){(0,U.Z)(this,st),this.pointerDown=new x.y(function(Tt){var mt,Yt;return Zt.runOutsideAngular(function(){mt=tt.listen("document","mousedown",function(un){Tt.next({clientX:un.clientX,clientY:un.clientY,event:un})}),G&&(Yt=tt.listen("document","touchstart",function(un){Tt.next({clientX:un.touches[0].clientX,clientY:un.touches[0].clientY,event:un})}))}),function(){mt(),G&&Yt()}}).pipe((0,y.B)()),this.pointerMove=new x.y(function(Tt){var mt,Yt;return Zt.runOutsideAngular(function(){mt=tt.listen("document","mousemove",function(un){Tt.next({clientX:un.clientX,clientY:un.clientY,event:un})}),G&&(Yt=tt.listen("document","touchmove",function(un){Tt.next({clientX:un.targetTouches[0].clientX,clientY:un.targetTouches[0].clientY,event:un})}))}),function(){mt(),G&&Yt()}}).pipe((0,y.B)()),this.pointerUp=new x.y(function(Tt){var mt,Yt,un;return Zt.runOutsideAngular(function(){mt=tt.listen("document","mouseup",function(Ut){Tt.next({clientX:Ut.clientX,clientY:Ut.clientY,event:Ut})}),G&&(Yt=tt.listen("document","touchend",function(Ut){Tt.next({clientX:Ut.changedTouches[0].clientX,clientY:Ut.changedTouches[0].clientY,event:Ut})}),un=tt.listen("document","touchcancel",function(Ut){Tt.next({clientX:Ut.changedTouches[0].clientX,clientY:Ut.changedTouches[0].clientY,event:Ut})}))}),function(){mt(),G&&(Yt(),un())}}).pipe((0,y.B)())}return(0,V.Z)(st,null,[{key:"getInstance",value:function(Zt,Tt){return st.instance||(st.instance=new st(Zt,Tt)),st.instance}}]),st}(),He=function(){var st=function tt(){(0,U.Z)(this,tt)};return st.\u0275fac=function(Zt){return new(Zt||st)},st.\u0275mod=w.oAB({type:st}),st.\u0275inj=w.cJS({}),st}()},87124:function(ue,j,f){var B=f(94518),U=f(23050),V=f(99262),L=f(44900),w=/^\s*\|\s*/;function b(Z,O){var y={};for(var T in Z)y[T]=Z[T].syntax||Z[T];for(var D in O)D in Z?O[D].syntax?y[D]=w.test(O[D].syntax)?y[D]+" "+O[D].syntax.trim():O[D].syntax:delete y[D]:O[D].syntax&&(y[D]=O[D].syntax.replace(w,""));return y}function E(Z){var O={};for(var y in Z)O[y]=Z[y].syntax;return O}ue.exports={types:b(V,L.syntaxes),atrules:function(Z,O){var y={};for(var T in Z){var D=O[T]&&O[T].descriptors||null;y[T]={prelude:T in O&&"prelude"in O[T]?O[T].prelude:Z[T].prelude||null,descriptors:Z[T].descriptors?b(Z[T].descriptors,D||{}):D&&E(D)}}for(var v in O)hasOwnProperty.call(Z,v)||(y[v]={prelude:O[v].prelude||null,descriptors:O[v].descriptors&&E(O[v].descriptors)});return y}(function(Z){var O=Object.create(null);for(var y in Z){var T=Z[y],D=null;if(T.descriptors)for(var v in D=Object.create(null),T.descriptors)D[v]=T.descriptors[v].syntax;O[y.substr(1)]={prelude:T.syntax.trim().match(/^@\S+\s+([^;\{]*)/)[1].trim()||null,descriptors:D}}return O}(B),L.atrules),properties:b(U,L.properties)}},40174:function(ue){function j(L){return{prev:null,next:null,data:L}}function f(L,w,R){var b;return null!==U?(b=U,U=U.cursor,b.prev=w,b.next=R,b.cursor=L.cursor):b={prev:w,next:R,cursor:L.cursor},L.cursor=b,b}function B(L){var w=L.cursor;L.cursor=w.cursor,w.prev=null,w.next=null,w.cursor=U,U=w}var U=null,V=function(){this.cursor=null,this.head=null,this.tail=null};V.createItem=j,V.prototype.createItem=j,V.prototype.updateCursors=function(L,w,R,b){for(var E=this.cursor;null!==E;)E.prev===L&&(E.prev=w),E.next===R&&(E.next=b),E=E.cursor},V.prototype.getSize=function(){for(var L=0,w=this.head;w;)L++,w=w.next;return L},V.prototype.fromArray=function(L){var w=null;this.head=null;for(var R=0;R<L.length;R++){var b=j(L[R]);null!==w?w.next=b:this.head=b,b.prev=w,w=b}return this.tail=w,this},V.prototype.toJSON=V.prototype.toArray=function(){for(var L=this.head,w=[];L;)w.push(L.data),L=L.next;return w},V.prototype.isEmpty=function(){return null===this.head},V.prototype.first=function(){return this.head&&this.head.data},V.prototype.last=function(){return this.tail&&this.tail.data},V.prototype.forEach=V.prototype.each=function(L,w){var R;void 0===w&&(w=this);for(var b=f(this,null,this.head);null!==b.next;)b.next=(R=b.next).next,L.call(w,R.data,R,this);B(this)},V.prototype.forEachRight=V.prototype.eachRight=function(L,w){var R;void 0===w&&(w=this);for(var b=f(this,this.tail,null);null!==b.prev;)b.prev=(R=b.prev).prev,L.call(w,R.data,R,this);B(this)},V.prototype.reduce=function(L,w,R){var b;void 0===R&&(R=this);for(var E=f(this,null,this.head),x=w;null!==E.next;)E.next=(b=E.next).next,x=L.call(R,x,b.data,b,this);return B(this),x},V.prototype.reduceRight=function(L,w,R){var b;void 0===R&&(R=this);for(var E=f(this,this.tail,null),x=w;null!==E.prev;)E.prev=(b=E.prev).prev,x=L.call(R,x,b.data,b,this);return B(this),x},V.prototype.nextUntil=function(L,w,R){if(null!==L){var b;void 0===R&&(R=this);for(var E=f(this,null,L);null!==E.next&&(E.next=(b=E.next).next,!w.call(R,b.data,b,this)););B(this)}},V.prototype.prevUntil=function(L,w,R){if(null!==L){var b;void 0===R&&(R=this);for(var E=f(this,L,null);null!==E.prev&&(E.prev=(b=E.prev).prev,!w.call(R,b.data,b,this)););B(this)}},V.prototype.some=function(L,w){var R=this.head;for(void 0===w&&(w=this);null!==R;){if(L.call(w,R.data,R,this))return!0;R=R.next}return!1},V.prototype.map=function(L,w){var R=new V,b=this.head;for(void 0===w&&(w=this);null!==b;)R.appendData(L.call(w,b.data,b,this)),b=b.next;return R},V.prototype.filter=function(L,w){var R=new V,b=this.head;for(void 0===w&&(w=this);null!==b;)L.call(w,b.data,b,this)&&R.appendData(b.data),b=b.next;return R},V.prototype.clear=function(){this.head=null,this.tail=null},V.prototype.copy=function(){for(var L=new V,w=this.head;null!==w;)L.insert(j(w.data)),w=w.next;return L},V.prototype.prepend=function(L){return this.updateCursors(null,L,this.head,L),null!==this.head?(this.head.prev=L,L.next=this.head):this.tail=L,this.head=L,this},V.prototype.prependData=function(L){return this.prepend(j(L))},V.prototype.append=function(L){return this.insert(L)},V.prototype.appendData=function(L){return this.insert(j(L))},V.prototype.insert=function(L,w){if(null!=w)if(this.updateCursors(w.prev,L,w,L),null===w.prev){if(this.head!==w)throw new Error("before doesn't belong to list");this.head=L,w.prev=L,L.next=w,this.updateCursors(null,L)}else w.prev.next=L,L.prev=w.prev,w.prev=L,L.next=w;else this.updateCursors(this.tail,L,null,L),null!==this.tail?(this.tail.next=L,L.prev=this.tail):this.head=L,this.tail=L;return this},V.prototype.insertData=function(L,w){return this.insert(j(L),w)},V.prototype.remove=function(L){if(this.updateCursors(L,L.prev,L,L.next),null!==L.prev)L.prev.next=L.next;else{if(this.head!==L)throw new Error("item doesn't belong to list");this.head=L.next}if(null!==L.next)L.next.prev=L.prev;else{if(this.tail!==L)throw new Error("item doesn't belong to list");this.tail=L.prev}return L.prev=null,L.next=null,L},V.prototype.push=function(L){this.insert(j(L))},V.prototype.pop=function(){if(null!==this.tail)return this.remove(this.tail)},V.prototype.unshift=function(L){this.prepend(j(L))},V.prototype.shift=function(){if(null!==this.head)return this.remove(this.head)},V.prototype.prependList=function(L){return this.insertList(L,this.head)},V.prototype.appendList=function(L){return this.insertList(L)},V.prototype.insertList=function(L,w){return null===L.head||(null!=w?(this.updateCursors(w.prev,L.tail,w,L.head),null!==w.prev?(w.prev.next=L.head,L.head.prev=w.prev):this.head=L.head,w.prev=L.tail,L.tail.next=w):(this.updateCursors(this.tail,L.tail,null,L.head),null!==this.tail?(this.tail.next=L.head,L.head.prev=this.tail):this.head=L.head,this.tail=L.tail),L.head=null,L.tail=null),this},V.prototype.replace=function(L,w){"head"in w?this.insertList(w,L):this.insert(w,L),this.remove(L)},ue.exports=V},30060:function(ue,j,f){var B=f(16418),U=f(32347).isBOM,b=function(){this.lines=null,this.columns=null,this.linesAndColumnsComputed=!1};b.prototype={setSource:function(x,Z,O,y){this.source=x,this.startOffset=void 0===Z?0:Z,this.startLine=void 0===O?1:O,this.startColumn=void 0===y?1:y,this.linesAndColumnsComputed=!1},ensureLinesAndColumnsComputed:function(){this.linesAndColumnsComputed||(function(E,x){for(var Z=x.length,O=B(E.lines,Z),y=E.startLine,T=B(E.columns,Z),D=E.startColumn,g=x.length>0?U(x.charCodeAt(0)):0;g<Z;g++){var M=x.charCodeAt(g);O[g]=y,T[g]=D++,(10===M||13===M||12===M)&&(13===M&&g+1<Z&&10===x.charCodeAt(g+1)&&(O[++g]=y,T[g]=D),y++,D=1)}O[g]=y,T[g]=D,E.lines=O,E.columns=T}(this,this.source),this.linesAndColumnsComputed=!0)},getLocation:function(x,Z){return this.ensureLinesAndColumnsComputed(),{source:Z,offset:this.startOffset+x,line:this.lines[x],column:this.columns[x]}},getLocationRange:function(x,Z,O){return this.ensureLinesAndColumnsComputed(),{source:O,start:{offset:this.startOffset+x,line:this.lines[x],column:this.columns[x]},end:{offset:this.startOffset+Z,line:this.lines[Z],column:this.columns[Z]}}}},ue.exports=b},54148:function(ue,j,f){var B=f(61122),L="    ";function w(b,E){function x(k,S){return Z.slice(k,S).map(function(I,F){for(var G=String(k+F+1);G.length<v;)G=" "+G;return G+" |"+I}).join("\n")}var Z=b.source.split(/\r\n?|\n|\f/),O=b.line,y=b.column,T=Math.max(1,O-E)-1,D=Math.min(O+E,Z.length+1),v=Math.max(4,String(D).length)+1,g=0;(y+=(L.length-1)*(Z[O-1].substr(0,y-1).match(/\t/g)||[]).length)>100&&(g=y-60+3,y=58);for(var M=T;M<=D;M++)M>=0&&M<Z.length&&(Z[M]=Z[M].replace(/\t/g,L),Z[M]=(g>0&&Z[M].length>g?"\u2026":"")+Z[M].substr(g,98)+(Z[M].length>g+100-1?"\u2026":""));return[x(T,O),new Array(y+v+2).join("-")+"^",x(O,D)].filter(Boolean).join("\n")}ue.exports=function(E,x,Z,O,y){var T=B("SyntaxError",E);return T.source=x,T.offset=Z,T.line=O,T.column=y,T.sourceFragment=function(D){return w(T,isNaN(D)?0:D)},Object.defineProperty(T,"formattedMessage",{get:function(){return"Parse error: "+T.message+"\n"+w(T,2)}}),T.parseError={offset:Z,line:O,column:y},T}},26922:function(ue,j,f){var B=f(74715),U=B.TYPE,V=B.NAME,w=f(22390).cmpStr,R=U.EOF,b=U.WhiteSpace,E=U.Comment,x=16777215,Z=24,O=function(){this.offsetAndType=null,this.balance=null,this.reset()};O.prototype={reset:function(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset},lookupType:function(T){return(T+=this.tokenIndex)<this.tokenCount?this.offsetAndType[T]>>Z:R},lookupOffset:function(T){return(T+=this.tokenIndex)<this.tokenCount?this.offsetAndType[T-1]&x:this.source.length},lookupValue:function(T,D){return(T+=this.tokenIndex)<this.tokenCount&&w(this.source,this.offsetAndType[T-1]&x,this.offsetAndType[T]&x,D)},getTokenStart:function(T){return T===this.tokenIndex?this.tokenStart:T>0?T<this.tokenCount?this.offsetAndType[T-1]&x:this.offsetAndType[this.tokenCount]&x:this.firstCharOffset},getRawLength:function(T,D){var g,v=T,M=this.offsetAndType[Math.max(v-1,0)]&x;e:for(;v<this.tokenCount&&!((g=this.balance[v])<T);v++)switch(D(this.offsetAndType[v]>>Z,this.source,M)){case 1:break e;case 2:v++;break e;default:this.balance[g]===v&&(v=g),M=this.offsetAndType[v]&x}return v-this.tokenIndex},isBalanceEdge:function(T){return this.balance[this.tokenIndex]<T},isDelim:function(T,D){return D?this.lookupType(D)===U.Delim&&this.source.charCodeAt(this.lookupOffset(D))===T:this.tokenType===U.Delim&&this.source.charCodeAt(this.tokenStart)===T},getTokenValue:function(){return this.source.substring(this.tokenStart,this.tokenEnd)},getTokenLength:function(){return this.tokenEnd-this.tokenStart},substrToCursor:function(T){return this.source.substring(T,this.tokenStart)},skipWS:function(){for(var T=this.tokenIndex,D=0;T<this.tokenCount&&this.offsetAndType[T]>>Z===b;T++,D++);D>0&&this.skip(D)},skipSC:function(){for(;this.tokenType===b||this.tokenType===E;)this.next()},skip:function(T){var D=this.tokenIndex+T;D<this.tokenCount?(this.tokenIndex=D,this.tokenStart=this.offsetAndType[D-1]&x,this.tokenType=(D=this.offsetAndType[D])>>Z,this.tokenEnd=D&x):(this.tokenIndex=this.tokenCount,this.next())},next:function(){var T=this.tokenIndex+1;T<this.tokenCount?(this.tokenIndex=T,this.tokenStart=this.tokenEnd,this.tokenType=(T=this.offsetAndType[T])>>Z,this.tokenEnd=T&x):(this.tokenIndex=this.tokenCount,this.eof=!0,this.tokenType=R,this.tokenStart=this.tokenEnd=this.source.length)},forEachToken:function(T){for(var D=0,v=this.firstCharOffset;D<this.tokenCount;D++){var g=v,M=this.offsetAndType[D],k=M&x;v=k,T(M>>Z,g,k,D)}},dump:function(){var T=this,D=new Array(this.tokenCount);return this.forEachToken(function(v,g,M,k){D[k]={idx:k,type:V[v],chunk:T.source.substring(g,M),balance:T.balance[k]}}),D}},ue.exports=O},16418:function(ue){var f="undefined"!=typeof Uint32Array?Uint32Array:Array;ue.exports=function(U,V){return null===U||U.length<V?new f(Math.max(V+1024,16384)):U}},67851:function(ue,j,f){var B=f(40174);ue.exports=function(V){return{fromPlainObject:function(w){return V(w,{enter:function(b){b.children&&!(b.children instanceof B)&&(b.children=(new B).fromArray(b.children))}}),w},toPlainObject:function(w){return V(w,{leave:function(b){b.children&&b.children instanceof B&&(b.children=b.children.toArray())}}),w}}}},89033:function(ue,j,f){var B=f(61122);ue.exports=function(V,L,w){var R=B("SyntaxError",V);return R.input=L,R.offset=w,R.rawMessage=V,R.message=R.rawMessage+"\n  "+R.input+"\n--"+new Array((R.offset||R.input.length)+1).join("-")+"^",R}},68018:function(ue){function j(L){return L}function V(L,w,R,b){var E;switch(L.type){case"Group":E=function(L,w,R,b){var E=" "===L.combinator||b?L.combinator:" "+L.combinator+" ",x=L.terms.map(function(Z){return V(Z,w,R,b)}).join(E);return(L.explicit||R)&&(x=(b||","===x[0]?"[":"[ ")+x+(b?"]":" ]")),x}(L,w,R,b)+(L.disallowEmpty?"!":"");break;case"Multiplier":return V(L.term,w,R,b)+w(function(L){return 0===L.min&&0===L.max?"*":0===L.min&&1===L.max?"?":1===L.min&&0===L.max?L.comma?"#":"+":1===L.min&&1===L.max?"":(L.comma?"#":"")+(L.min===L.max?"{"+L.min+"}":"{"+L.min+","+(0!==L.max?L.max:"")+"}")}(L),L);case"Type":E="<"+L.name+(L.opts?w(function(L){if("Range"===L.type)return" ["+(null===L.min?"-\u221e":L.min)+","+(null===L.max?"\u221e":L.max)+"]";throw new Error("Unknown node type `"+L.type+"`")}(L.opts),L.opts):"")+">";break;case"Property":E="<'"+L.name+"'>";break;case"Keyword":E=L.name;break;case"AtKeyword":E="@"+L.name;break;case"Function":E=L.name+"(";break;case"String":case"Token":E=L.value;break;case"Comma":E=",";break;default:throw new Error("Unknown node type `"+L.type+"`")}return w(E,L)}ue.exports=function(L,w){var R=j,b=!1,E=!1;return"function"==typeof w?R=w:w&&(b=Boolean(w.forceBraces),E=Boolean(w.compact),"function"==typeof w.decorate&&(R=w.decorate)),V(L,R,b,E)}},27355:function(ue,j,f){ue.exports={SyntaxError:f(89033),parse:f(90200),generate:f(68018),walk:f(399)}},90200:function(ue,j,f){var B=f(510),X=123,K=function(mt){for(var Yt="function"==typeof Uint32Array?new Uint32Array(128):new Array(128),un=0;un<128;un++)Yt[un]=mt(String.fromCharCode(un))?1:0;return Yt}(function(mt){return/[a-zA-Z0-9\-]/.test(mt)}),fe={" ":1,"&&":2,"||":3,"|":4};function he(mt){return mt.substringToPos(mt.findWsEnd(mt.pos))}function de(mt){for(var Yt=mt.pos;Yt<mt.str.length;Yt++){var un=mt.str.charCodeAt(Yt);if(un>=128||0===K[un])break}return mt.pos===Yt&&mt.error("Expect a keyword"),mt.substringToPos(Yt)}function oe(mt){for(var Yt=mt.pos;Yt<mt.str.length;Yt++){var un=mt.str.charCodeAt(Yt);if(un<48||un>57)break}return mt.pos===Yt&&mt.error("Expect a number"),mt.substringToPos(Yt)}function Ce(mt){var Yt=mt.str.indexOf("'",mt.pos+1);return-1===Yt&&(mt.pos=mt.str.length,mt.error("Expect an apostrophe")),mt.substringToPos(Yt+1)}function ge(mt){var Yt,un=null;return mt.eat(X),Yt=oe(mt),44===mt.charCode()?(mt.pos++,125!==mt.charCode()&&(un=oe(mt))):un=Yt,mt.eat(125),{min:Number(Yt),max:un?Number(un):0}}function De(mt,Yt){var un=function(mt){var Yt=null,un=!1;switch(mt.charCode()){case 42:mt.pos++,Yt={min:0,max:0};break;case 43:mt.pos++,Yt={min:1,max:0};break;case 63:mt.pos++,Yt={min:0,max:1};break;case 35:mt.pos++,un=!0,Yt=mt.charCode()===X?ge(mt):{min:1,max:0};break;case X:Yt=ge(mt);break;default:return null}return{type:"Multiplier",comma:un,min:Yt.min,max:Yt.max,term:null}}(mt);return null!==un?(un.term=Yt,un):Yt}function Qe(mt){var Yt=mt.peek();return""===Yt?null:{type:"Token",value:Yt}}function He(mt,Yt){function un(Zn,Vn){return{type:"Group",terms:Zn,combinator:Vn,disallowEmpty:!1,explicit:!1}}for(Yt=Object.keys(Yt).sort(function(Zn,Vn){return fe[Zn]-fe[Vn]});Yt.length>0;){for(var Ut=Yt.shift(),Mn=0,On=0;Mn<mt.length;Mn++){var Fn=mt[Mn];"Combinator"===Fn.type&&(Fn.value===Ut?(-1===On&&(On=Mn-1),mt.splice(Mn,1),Mn--):(-1!==On&&Mn-On>1&&(mt.splice(On,Mn-On,un(mt.slice(On,Mn),Ut)),Mn=On+1),On=-1))}-1!==On&&Yt.length&&mt.splice(On,Mn-On,un(mt.slice(On,Mn),Ut))}return Ut}function st(mt){for(var Ut,Yt=[],un={},Mn=null,On=mt.pos;Ut=Zt(mt);)"Spaces"!==Ut.type&&("Combinator"===Ut.type?((null===Mn||"Combinator"===Mn.type)&&(mt.pos=On,mt.error("Unexpected combinator")),un[Ut.value]=!0):null!==Mn&&"Combinator"!==Mn.type&&(un[" "]=!0,Yt.push({type:"Combinator",value:" "})),Yt.push(Ut),Mn=Ut,On=mt.pos);return null!==Mn&&"Combinator"===Mn.type&&(mt.pos-=On,mt.error("Unexpected combinator")),{type:"Group",terms:Yt,combinator:He(Yt,un)||" ",disallowEmpty:!1,explicit:!1}}function Zt(mt){var Yt=mt.charCode();if(Yt<128&&1===K[Yt])return function(mt){var Yt;return Yt=de(mt),40===mt.charCode()?(mt.pos++,{type:"Function",name:Yt}):De(mt,{type:"Keyword",name:Yt})}(mt);switch(Yt){case 93:case 42:case 43:case 63:case 35:case 33:break;case 91:return De(mt,function(mt){var Yt;return mt.eat(91),Yt=st(mt),mt.eat(93),Yt.explicit=!0,33===mt.charCode()&&(mt.pos++,Yt.disallowEmpty=!0),Yt}(mt));case 60:return 39===mt.nextCharCode()?function(mt){var Yt;return mt.eat(60),mt.eat(39),Yt=de(mt),mt.eat(39),mt.eat(62),De(mt,{type:"Property",name:Yt})}(mt):function(mt){var Yt,un=null;return mt.eat(60),Yt=de(mt),40===mt.charCode()&&41===mt.nextCharCode()&&(mt.pos+=2,Yt+="()"),91===mt.charCodeAt(mt.findWsEnd(mt.pos))&&(he(mt),un=function(mt){var Yt=null,un=null,Ut=1;return mt.eat(91),45===mt.charCode()&&(mt.peek(),Ut=-1),-1==Ut&&8734===mt.charCode()?mt.peek():Yt=Ut*Number(oe(mt)),he(mt),mt.eat(44),he(mt),8734===mt.charCode()?mt.peek():(Ut=1,45===mt.charCode()&&(mt.peek(),Ut=-1),un=Ut*Number(oe(mt))),mt.eat(93),null===Yt&&null===un?null:{type:"Range",min:Yt,max:un}}(mt)),mt.eat(62),De(mt,{type:"Type",name:Yt,opts:un})}(mt);case 124:return{type:"Combinator",value:mt.substringToPos(124===mt.nextCharCode()?mt.pos+2:mt.pos+1)};case 38:return mt.pos++,mt.eat(38),{type:"Combinator",value:"&&"};case 44:return mt.pos++,{type:"Comma"};case 39:return De(mt,{type:"String",value:Ce(mt)});case 32:case 9:case 10:case 13:case 12:return{type:"Spaces",value:he(mt)};case 64:return(Yt=mt.nextCharCode())<128&&1===K[Yt]?(mt.pos++,{type:"AtKeyword",name:de(mt)}):Qe(mt);case X:if((Yt=mt.nextCharCode())<48||Yt>57)return Qe(mt);break;default:return Qe(mt)}}function Tt(mt){var Yt=new B(mt),un=st(Yt);return Yt.pos!==mt.length&&Yt.error("Unexpected input"),1===un.terms.length&&"Group"===un.terms[0].type&&(un=un.terms[0]),un}Tt("[a&&<b>#|<'c'>*||e() f{2} /,(% g#{1,2} h{2,})]!"),ue.exports=Tt},510:function(ue,j,f){var B=f(89033),b=function(x){this.str=x,this.pos=0};b.prototype={charCodeAt:function(x){return x<this.str.length?this.str.charCodeAt(x):0},charCode:function(){return this.charCodeAt(this.pos)},nextCharCode:function(){return this.charCodeAt(this.pos+1)},nextNonWsCode:function(x){return this.charCodeAt(this.findWsEnd(x))},findWsEnd:function(x){for(;x<this.str.length;x++){var Z=this.str.charCodeAt(x);if(13!==Z&&10!==Z&&12!==Z&&32!==Z&&9!==Z)break}return x},substringToPos:function(x){return this.str.substring(this.pos,this.pos=x)},eat:function(x){this.charCode()!==x&&this.error("Expect `"+String.fromCharCode(x)+"`"),this.pos++},peek:function(){return this.pos<this.str.length?this.str.charAt(this.pos++):""},error:function(x){throw new B(x,this.str,this.pos)}},ue.exports=b},399:function(ue){var j=function(){};function f(B){return"function"==typeof B?B:j}ue.exports=function(B,U,V){var w=j,R=j;if("function"==typeof U?w=U:U&&(w=f(U.enter),R=f(U.leave)),w===j&&R===j)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");!function L(b){switch(w.call(V,b),b.type){case"Group":b.terms.forEach(L);break;case"Multiplier":L(b.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+b.type)}R.call(V,b)}(B)}},24502:function(ue,j,f){var B=f(76156),U=Object.prototype.hasOwnProperty;function V(L,w){var b=null;L.children.forEach("function"!=typeof w?this.node:function(E){null!==b&&w.call(this,b),this.node(E),b=E},this)}ue.exports=function(w){function R(x){if(!U.call(b,x.type))throw new Error("Unknown node type: "+x.type);b[x.type].call(this,x)}var b={};if(w.node)for(var E in w.node)b[E]=w.node[E].generate;return function(x,Z){var O="",y={children:V,node:R,chunk:function(D){O+=D},result:function(){return O}};return Z&&("function"==typeof Z.decorator&&(y=Z.decorator(y)),Z.sourceMap&&(y=B(y))),y.node(x),y.result()}}},76156:function(ue,j,f){var B=f(67954).h,U={Atrule:!0,Selector:!0,Declaration:!0};ue.exports=function(L){var w=new B,R=1,b=0,E={line:1,column:0},x={line:0,column:0},Z=!1,O={line:1,column:0},y={generated:O},T=L.node;L.node=function(g){if(g.loc&&g.loc.start&&U.hasOwnProperty(g.type)){var M=g.loc.start.line,k=g.loc.start.column-1;(x.line!==M||x.column!==k)&&(x.line=M,x.column=k,E.line=R,E.column=b,Z&&(Z=!1,(E.line!==O.line||E.column!==O.column)&&w.addMapping(y)),Z=!0,w.addMapping({source:g.loc.source,original:x,generated:E}))}T.call(this,g),Z&&U.hasOwnProperty(g.type)&&(O.line=R,O.column=b)};var D=L.chunk;L.chunk=function(g){for(var M=0;M<g.length;M++)10===g.charCodeAt(M)?(R++,b=0):b++;D(g)};var v=L.result;return L.result=function(){return Z&&w.addMapping(y),{css:v(),map:w}},L}},27995:function(ue,j,f){ue.exports=f(31828)},95588:function(ue,j,f){var B=f(6326).default,U=f(28317).SyntaxReferenceError,V=f(28317).SyntaxMatchError,L=f(60213),w=f(50430),R=f(90200),b=f(68018),E=f(399),x=f(3492),Z=f(50938).buildMatchGraph,O=f(88375).matchAsTree,y=f(20392),T=f(16744),D=f(99429).getStructureFromConfig,v=Z("inherit | initial | unset"),g=Z("inherit | initial | unset | <-ms-legacy-expression>");function M(X,W,Y){var ae={};for(var K in X)X[K].syntax&&(ae[K]=Y?X[K].syntax:b(X[K].syntax,{compact:W}));return ae}function k(X,W,Y){for(var ae={},K=0,fe=Object.entries(X);K<fe.length;K++){var ce=B(fe[K],2),de=ce[1];ae[ce[0]]={prelude:de.prelude&&(Y?de.prelude.syntax:b(de.prelude.syntax,{compact:W})),descriptors:de.descriptors&&M(de.descriptors,W,Y)}}return ae}function I(X,W,Y){return{matched:X,iterations:Y,error:W,getTrace:y.getTrace,isType:y.isType,isProperty:y.isProperty,isKeyword:y.isKeyword}}function F(X,W,Y,ae){var fe,K=x(Y,X.syntax);return function(X){for(var W=0;W<X.length;W++)if("var("===X[W].value.toLowerCase())return!0;return!1}(K)?I(null,new Error("Matching for a tree with var() is not supported")):(ae&&(fe=O(K,X.valueCommonSyntax,X)),ae&&fe.match||(fe=O(K,W.match,X)).match?I(fe.match,null,fe.iterations):I(null,new V(fe.reason,W.syntax,Y,fe),fe.iterations))}var G=function(W,Y,ae){if(this.valueCommonSyntax=v,this.syntax=Y,this.generic=!1,this.atrules={},this.properties={},this.types={},this.structure=ae||D(W),W){if(W.types)for(var K in W.types)this.addType_(K,W.types[K]);if(W.generic)for(var K in this.generic=!0,w)this.addType_(K,w[K]);if(W.atrules)for(var K in W.atrules)this.addAtrule_(K,W.atrules[K]);if(W.properties)for(var K in W.properties)this.addProperty_(K,W.properties[K])}};G.prototype={structure:{},checkStructure:function(W){function Y(fe,ce){K.push({node:fe,message:ce})}var ae=this.structure,K=[];return this.syntax.walk(W,function(fe){ae.hasOwnProperty(fe.type)?ae[fe.type].check(fe,Y):Y(fe,"Unknown node type `"+fe.type+"`")}),!!K.length&&K},createDescriptor:function(W,Y,ae){var K=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,fe={type:Y,name:ae},ce={type:Y,name:ae,parent:K,syntax:null,match:null};return"function"==typeof W?ce.match=Z(W,fe):("string"==typeof W?Object.defineProperty(ce,"syntax",{get:function(){return Object.defineProperty(ce,"syntax",{value:R(W)}),ce.syntax}}):ce.syntax=W,Object.defineProperty(ce,"match",{get:function(){return Object.defineProperty(ce,"match",{value:Z(ce.syntax,fe)}),ce.match}})),ce},addAtrule_:function(W,Y){var ae=this;!Y||(this.atrules[W]={type:"Atrule",name:W,prelude:Y.prelude?this.createDescriptor(Y.prelude,"AtrulePrelude",W):null,descriptors:Y.descriptors?Object.keys(Y.descriptors).reduce(function(K,fe){return K[fe]=ae.createDescriptor(Y.descriptors[fe],"AtruleDescriptor",fe,W),K},{}):null})},addProperty_:function(W,Y){!Y||(this.properties[W]=this.createDescriptor(Y,"Property",W))},addType_:function(W,Y){!Y||(this.types[W]=this.createDescriptor(Y,"Type",W),Y===w["-ms-legacy-expression"]&&(this.valueCommonSyntax=g))},checkAtruleName:function(W){if(!this.getAtrule(W))return new U("Unknown at-rule","@"+W)},checkAtrulePrelude:function(W,Y){var ae=this.checkAtruleName(W);if(ae)return ae;var K=this.getAtrule(W);return!K.prelude&&Y?new SyntaxError("At-rule `@"+W+"` should not contain a prelude"):K.prelude&&!Y?new SyntaxError("At-rule `@"+W+"` should contain a prelude"):void 0},checkAtruleDescriptorName:function(W,Y){var ae=this.checkAtruleName(W);if(ae)return ae;var K=this.getAtrule(W),fe=L.keyword(Y);return K.descriptors?K.descriptors[fe.name]||K.descriptors[fe.basename]?void 0:new U("Unknown at-rule descriptor",Y):new SyntaxError("At-rule `@"+W+"` has no known descriptors")},checkPropertyName:function(W){return L.property(W).custom?new Error("Lexer matching doesn't applicable for custom properties"):this.getProperty(W)?void 0:new U("Unknown property",W)},matchAtrulePrelude:function(W,Y){var ae=this.checkAtrulePrelude(W,Y);return ae?I(null,ae):Y?F(this,this.getAtrule(W).prelude,Y,!1):I(null,null)},matchAtruleDescriptor:function(W,Y,ae){var K=this.checkAtruleDescriptorName(W,Y);if(K)return I(null,K);var fe=this.getAtrule(W),ce=L.keyword(Y);return F(this,fe.descriptors[ce.name]||fe.descriptors[ce.basename],ae,!1)},matchDeclaration:function(W){return"Declaration"!==W.type?I(null,new Error("Not a Declaration node")):this.matchProperty(W.property,W.value)},matchProperty:function(W,Y){var ae=this.checkPropertyName(W);return ae?I(null,ae):F(this,this.getProperty(W),Y,!0)},matchType:function(W,Y){var ae=this.getType(W);return ae?F(this,ae,Y,!1):I(null,new U("Unknown type",W))},match:function(W,Y){return"string"==typeof W||W&&W.type?(("string"==typeof W||!W.match)&&(W=this.createDescriptor(W,"Type","anonymous")),F(this,W,Y,!1)):I(null,new U("Bad syntax"))},findValueFragments:function(W,Y,ae,K){return T.matchFragments(this,Y,this.matchProperty(W,Y),ae,K)},findDeclarationValueFragments:function(W,Y,ae){return T.matchFragments(this,W.value,this.matchDeclaration(W),Y,ae)},findAllFragments:function(W,Y,ae){var K=[];return this.syntax.walk(W,{visit:"Declaration",enter:function(fe){K.push.apply(K,this.findDeclarationValueFragments(fe,Y,ae))}.bind(this)}),K},getAtrule:function(W){var Y=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],ae=L.keyword(W),K=ae.vendor&&Y?this.atrules[ae.name]||this.atrules[ae.basename]:this.atrules[ae.name];return K||null},getAtrulePrelude:function(W){var Y=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],ae=this.getAtrule(W,Y);return ae&&ae.prelude||null},getAtruleDescriptor:function(W,Y){return this.atrules.hasOwnProperty(W)&&this.atrules.declarators&&this.atrules[W].declarators[Y]||null},getProperty:function(W){var Y=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],ae=L.property(W),K=ae.vendor&&Y?this.properties[ae.name]||this.properties[ae.basename]:this.properties[ae.name];return K||null},getType:function(W){return this.types.hasOwnProperty(W)?this.types[W]:null},validate:function(){function W(fe,ce,he,de){if(he.hasOwnProperty(ce))return he[ce];he[ce]=!1,null!==de.syntax&&E(de.syntax,function(oe){if("Type"===oe.type||"Property"===oe.type){var Ce="Type"===oe.type?fe.types:fe.properties,ge="Type"===oe.type?Y:ae;(!Ce.hasOwnProperty(oe.name)||W(fe,oe.name,ge,Ce[oe.name]))&&(he[ce]=!0)}},this)}var Y={},ae={};for(var K in this.types)W(this,K,Y,this.types[K]);for(var K in this.properties)W(this,K,ae,this.properties[K]);return Y=Object.keys(Y).filter(function(fe){return Y[fe]}),ae=Object.keys(ae).filter(function(fe){return ae[fe]}),Y.length||ae.length?{types:Y,properties:ae}:null},dump:function(W,Y){return{generic:this.generic,types:M(this.types,!Y,W),properties:M(this.properties,!Y,W),atrules:k(this.atrules,!Y,W)}},toString:function(){return JSON.stringify(this.dump())}},ue.exports=G},28317:function(ue,j,f){var B=f(61122),U=f(68018),V={offset:0,line:1,column:1};function w(x,Z){var O=x&&x.loc&&x.loc[Z];return O?"line"in O?R(O):O:null}function R(x,Z){var D={offset:x.offset,line:x.line,column:x.column};if(Z){var v=Z.split(/\n|\r\n?|\f/);D.offset+=Z.length,D.line+=v.length-1,D.column=1===v.length?D.column+Z.length:v.pop().length+1}return D}ue.exports={SyntaxReferenceError:function(Z,O){var y=B("SyntaxReferenceError",Z+(O?" `"+O+"`":""));return y.reference=O,y},SyntaxMatchError:function(Z,O,y,T){var D=B("SyntaxMatchError",Z),v=function(x,Z){for(var S,I,O=x.tokens,y=x.longestMatch,T=y<O.length&&O[y].node||null,D=T!==Z?T:null,v=0,g=0,M=0,k="",F=0;F<O.length;F++){var G=O[F].value;F===y&&(g=G.length,v=k.length),null!==D&&O[F].node===D&&(F<=y?M++:M=0),k+=G}return y===O.length||M>1?(S=w(D||Z,"end")||R(V,k),I=R(S)):(S=w(D,"start")||R(w(Z,"start")||V,k.slice(0,v)),I=w(D,"end")||R(S,k.substr(v,g))),{css:k,mismatchOffset:v,mismatchLength:g,start:S,end:I}}(T,y),g=v.css,M=v.mismatchOffset,k=v.mismatchLength,S=v.start,I=v.end;return D.rawMessage=Z,D.syntax=O?U(O):"<generic>",D.css=g,D.mismatchOffset=M,D.mismatchLength=k,D.message=Z+"\n  syntax: "+D.syntax+"\n   value: "+(g||"<empty string>")+"\n  --------"+new Array(D.mismatchOffset+1).join("-")+"^",Object.assign(D,S),D.loc={source:y&&y.loc&&y.loc.source||"<unknown>",start:S,end:I},D}}},13207:function(ue,j,f){var B=f(32347).isDigit,U=f(32347).cmpChar,V=f(32347).TYPE,L=V.Delim,w=V.WhiteSpace,R=V.Comment,b=V.Ident,E=V.Number,x=V.Dimension,O=45,T=!0;function v(S,I){return null!==S&&S.type===L&&S.value.charCodeAt(0)===I}function g(S,I,F){for(;null!==S&&(S.type===w||S.type===R);)S=F(++I);return I}function M(S,I,F,G){if(!S)return 0;var X=S.value.charCodeAt(I);if(43===X||X===O){if(F)return 0;I++}for(;I<S.value.length;I++)if(!B(S.value.charCodeAt(I)))return 0;return G+1}function k(S,I,F){var G=!1,X=g(S,I,F);if(null===(S=F(X)))return I;if(S.type!==E){if(!v(S,43)&&!v(S,O))return I;if(G=!0,X=g(F(++X),X,F),null===(S=F(X))&&S.type!==E)return 0}if(!G){var W=S.value.charCodeAt(0);if(43!==W&&W!==O)return 0}return M(S,G?0:1,G,X)}ue.exports=function(I,F){var G=0;if(!I)return 0;if(I.type===E)return M(I,0,!1,G);if(I.type===b&&I.value.charCodeAt(0)===O){if(!U(I.value,1,110))return 0;switch(I.value.length){case 2:return k(F(++G),G,F);case 3:return I.value.charCodeAt(2)!==O?0:(G=g(F(++G),G,F),M(I=F(G),0,T,G));default:return I.value.charCodeAt(2)!==O?0:M(I,3,T,G)}}else if(I.type===b||v(I,43)&&F(G+1).type===b){if(I.type!==b&&(I=F(++G)),null===I||!U(I.value,0,110))return 0;switch(I.value.length){case 1:return k(F(++G),G,F);case 2:return I.value.charCodeAt(1)!==O?0:(G=g(F(++G),G,F),M(I=F(G),0,T,G));default:return I.value.charCodeAt(1)!==O?0:M(I,2,T,G)}}else if(I.type===x){for(var X=I.value.charCodeAt(0),W=43===X||X===O?1:0,Y=W;Y<I.value.length&&B(I.value.charCodeAt(Y));Y++);return Y!==W&&U(I.value,Y,110)?Y+1===I.value.length?k(F(++G),G,F):I.value.charCodeAt(Y+1)!==O?0:Y+2===I.value.length?(G=g(F(++G),G,F),M(I=F(G),0,T,G)):M(I,Y+2,T,G):0}return 0}},2868:function(ue,j,f){var B=f(32347).isHexDigit,U=f(32347).cmpChar,V=f(32347).TYPE,L=V.Ident,w=V.Delim,R=V.Number,b=V.Dimension;function y(g,M){return null!==g&&g.type===w&&g.value.charCodeAt(0)===M}function T(g,M){return g.value.charCodeAt(0)===M}function D(g,M,k){for(var S=M,I=0;S<g.value.length;S++){var F=g.value.charCodeAt(S);if(45===F&&k&&0!==I)return D(g,M+I+1,!1)>0?6:0;if(!B(F)||++I>6)return 0}return I}function v(g,M,k){if(!g)return 0;for(;y(k(M),63);){if(++g>6)return 0;M++}return M}ue.exports=function(M,k){var S=0;if(null===M||M.type!==L||!U(M.value,0,117)||null===(M=k(++S)))return 0;if(y(M,43))return null===(M=k(++S))?0:M.type===L?v(D(M,0,!0),++S,k):y(M,63)?v(1,++S,k):0;if(M.type===R){if(!T(M,43))return 0;var I=D(M,1,!0);return 0===I?0:null===(M=k(++S))?S:M.type===b||M.type===R?T(M,45)&&D(M,1,!1)?S+1:0:v(I,S,k)}return M.type===b&&T(M,43)?v(D(M,1,!0),++S,k):0}},50430:function(ue,j,f){var B=f(32347),U=B.isIdentifierStart,V=B.isHexDigit,L=B.isDigit,w=B.cmpStr,R=B.consumeNumber,b=B.TYPE,E=f(13207),x=f(2868),Z=["unset","initial","inherit"],O=["calc(","-moz-calc(","-webkit-calc("];function I(_e,xe){return xe<_e.length?_e.charCodeAt(xe):0}function F(_e,xe){return w(_e,0,_e.length,xe)}function G(_e,xe){for(var He=0;He<xe.length;He++)if(F(_e,xe[He]))return!0;return!1}function X(_e,xe){return xe===_e.length-2&&92===_e.charCodeAt(xe)&&L(_e.charCodeAt(xe+1))}function W(_e,xe,He){if(_e&&"Range"===_e.type){var st=Number(void 0!==He&&He!==xe.length?xe.substr(0,He):xe);if(isNaN(st)||null!==_e.min&&st<_e.min||null!==_e.max&&st>_e.max)return!0}return!1}function Y(_e,xe){var He=_e.index,st=0;do{if(st++,_e.balance<=He)break}while(_e=xe(st));return st}function ae(_e){return function(xe,He,st){return null===xe?0:xe.type===b.Function&&G(xe.value,O)?Y(xe,He):_e(xe,He,st)}}function K(_e){return function(xe){return null===xe||xe.type!==_e?0:1}}function qe(_e){return function(xe,He,st){if(null===xe||xe.type!==b.Dimension)return 0;var tt=R(xe.value,0);if(null!==_e){var Zt=xe.value.indexOf("\\",tt),Tt=-1!==Zt&&X(xe.value,Zt)?xe.value.substring(tt,Zt):xe.value.substr(tt);if(!1===_e.hasOwnProperty(Tt.toLowerCase()))return 0}return W(st,xe.value,tt)?0:1}}function Qe(_e){return"function"!=typeof _e&&(_e=function(){return 0}),function(xe,He,st){return null!==xe&&xe.type===b.Number&&0===Number(xe.value)?1:_e(xe,He,st)}}ue.exports={"ident-token":K(b.Ident),"function-token":K(b.Function),"at-keyword-token":K(b.AtKeyword),"hash-token":K(b.Hash),"string-token":K(b.String),"bad-string-token":K(b.BadString),"url-token":K(b.Url),"bad-url-token":K(b.BadUrl),"delim-token":K(b.Delim),"number-token":K(b.Number),"percentage-token":K(b.Percentage),"dimension-token":K(b.Dimension),"whitespace-token":K(b.WhiteSpace),"CDO-token":K(b.CDO),"CDC-token":K(b.CDC),"colon-token":K(b.Colon),"semicolon-token":K(b.Semicolon),"comma-token":K(b.Comma),"[-token":K(b.LeftSquareBracket),"]-token":K(b.RightSquareBracket),"(-token":K(b.LeftParenthesis),")-token":K(b.RightParenthesis),"{-token":K(b.LeftCurlyBracket),"}-token":K(b.RightCurlyBracket),string:K(b.String),ident:K(b.Ident),"custom-ident":function(_e){if(null===_e||_e.type!==b.Ident)return 0;var xe=_e.value.toLowerCase();return G(xe,Z)||F(xe,"default")?0:1},"custom-property-name":function(_e){return null===_e||_e.type!==b.Ident||45!==I(_e.value,0)||45!==I(_e.value,1)?0:1},"hex-color":function(_e){if(null===_e||_e.type!==b.Hash)return 0;var xe=_e.value.length;if(4!==xe&&5!==xe&&7!==xe&&9!==xe)return 0;for(var He=1;He<xe;He++)if(!V(_e.value.charCodeAt(He)))return 0;return 1},"id-selector":function(_e){return null!==_e&&_e.type===b.Hash&&U(I(_e.value,1),I(_e.value,2),I(_e.value,3))?1:0},"an-plus-b":E,urange:x,"declaration-value":function(_e,xe){if(!_e)return 0;var He=0,st=0,tt=_e.index;e:do{switch(_e.type){case b.BadString:case b.BadUrl:break e;case b.RightCurlyBracket:case b.RightParenthesis:case b.RightSquareBracket:if(_e.balance>_e.index||_e.balance<tt)break e;st--;break;case b.Semicolon:if(0===st)break e;break;case b.Delim:if("!"===_e.value&&0===st)break e;break;case b.Function:case b.LeftParenthesis:case b.LeftSquareBracket:case b.LeftCurlyBracket:st++}if(He++,_e.balance<=tt)break}while(_e=xe(He));return He},"any-value":function(_e,xe){if(!_e)return 0;var He=_e.index,st=0;e:do{switch(_e.type){case b.BadString:case b.BadUrl:break e;case b.RightCurlyBracket:case b.RightParenthesis:case b.RightSquareBracket:if(_e.balance>_e.index||_e.balance<He)break e}if(st++,_e.balance<=He)break}while(_e=xe(st));return st},dimension:ae(qe(null)),angle:ae(qe({deg:!0,grad:!0,rad:!0,turn:!0})),decibel:ae(qe({db:!0})),frequency:ae(qe({hz:!0,khz:!0})),flex:ae(qe({fr:!0})),length:ae(Qe(qe({px:!0,mm:!0,cm:!0,in:!0,pt:!0,pc:!0,q:!0,em:!0,ex:!0,ch:!0,rem:!0,vh:!0,vw:!0,vmin:!0,vmax:!0,vm:!0}))),resolution:ae(qe({dpi:!0,dpcm:!0,dppx:!0,x:!0})),semitones:ae(qe({st:!0})),time:ae(qe({s:!0,ms:!0})),percentage:ae(function(_e,xe,He){return null===_e||_e.type!==b.Percentage||W(He,_e.value,_e.value.length-1)?0:1}),zero:Qe(),number:ae(function(_e,xe,He){if(null===_e)return 0;var st=R(_e.value,0);return st!==_e.value.length&&!X(_e.value,st)||W(He,_e.value,st)?0:1}),integer:ae(function(_e,xe,He){if(null===_e||_e.type!==b.Number)return 0;for(var st=43===_e.value.charCodeAt(0)||45===_e.value.charCodeAt(0)?1:0;st<_e.value.length;st++)if(!L(_e.value.charCodeAt(st)))return 0;return W(He,_e.value,st)?0:1}),"-ms-legacy-expression":("expression","(",function(xe,He){return null!==xe&&F(xe.value,"expression(")?Y(xe,He):0})}},50938:function(ue,j,f){var B=f(90200),U={type:"Match"},V={type:"Mismatch"},L={type:"DisallowEmpty"};function b(T,D,v){return D===U&&v===V||T===U&&D===U&&v===U?T:("If"===T.type&&T.else===V&&D===U&&(D=T.then,T=T.match),{type:"If",match:T,then:D,else:v})}function E(T){return T.length>2&&40===T.charCodeAt(T.length-2)&&41===T.charCodeAt(T.length-1)}function x(T){return"Keyword"===T.type||"AtKeyword"===T.type||"Function"===T.type||"Type"===T.type&&E(T.name)}function Z(T,D,v){switch(T){case" ":for(var g=U,M=D.length-1;M>=0;M--)g=b(k=D[M],g,V);return g;case"|":g=V;var S=null;for(M=D.length-1;M>=0;M--){if(x(k=D[M])&&(null===S&&M>0&&x(D[M-1])&&(g=b({type:"Enum",map:S=Object.create(null)},U,g)),null!==S)){var I=(E(k.name)?k.name.slice(0,-1):k.name).toLowerCase();if(!(I in S)){S[I]=k;continue}}S=null,g=b(k,U,g)}return g;case"&&":if(D.length>5)return{type:"MatchOnce",terms:D,all:!0};for(g=V,M=D.length-1;M>=0;M--){var k=D[M];F=D.length>1?Z(T,D.filter(function(W){return W!==k}),!1):U,g=b(k,F,g)}return g;case"||":if(D.length>5)return{type:"MatchOnce",terms:D,all:!1};for(g=v?U:V,M=D.length-1;M>=0;M--){var F;k=D[M],F=D.length>1?Z(T,D.filter(function(Y){return Y!==k}),!0):U,g=b(k,F,g)}return g}}function y(T){if("function"==typeof T)return{type:"Generic",fn:T};switch(T.type){case"Group":var D=Z(T.combinator,T.terms.map(y),!1);return T.disallowEmpty&&(D=b(D,L,V)),D;case"Multiplier":return function(T){var D=U,v=y(T.term);if(0===T.max)v=b(v,L,V),(D=b(v,null,V)).then=b(U,U,D),T.comma&&(D.then.else=b({type:"Comma",syntax:T},D,V));else for(var g=T.min||1;g<=T.max;g++)T.comma&&D!==U&&(D=b({type:"Comma",syntax:T},D,V)),D=b(v,b(U,U,D),V);if(0===T.min)D=b(U,U,D);else for(g=0;g<T.min-1;g++)T.comma&&D!==U&&(D=b({type:"Comma",syntax:T},D,V)),D=b(v,D,V);return D}(T);case"Type":case"Property":return{type:T.type,name:T.name,syntax:T};case"Keyword":return{type:T.type,name:T.name.toLowerCase(),syntax:T};case"AtKeyword":return{type:T.type,name:"@"+T.name.toLowerCase(),syntax:T};case"Function":return{type:T.type,name:T.name.toLowerCase()+"(",syntax:T};case"String":return 3===T.value.length?{type:"Token",value:T.value.charAt(1),syntax:T}:{type:T.type,value:T.value.substr(1,T.value.length-2).replace(/\\'/g,"'"),syntax:T};case"Token":return{type:T.type,value:T.value,syntax:T};case"Comma":return{type:T.type,syntax:T};default:throw new Error("Unknown node type:",T.type)}}ue.exports={MATCH:U,MISMATCH:V,DISALLOW_EMPTY:L,buildMatchGraph:function(D,v){return"string"==typeof D&&(D=B(D)),{type:"MatchGraph",match:y(D),syntax:v||null,source:D}}}},88375:function(ue,j,f){var B=Object.prototype.hasOwnProperty,U=f(50938),V=U.MATCH,L=U.MISMATCH,w=U.DISALLOW_EMPTY,R=f(74715).TYPE,O="Match",v=0;function g(W){for(var Y=null,ae=null,K=W;null!==K;)ae=K.prev,K.prev=Y,Y=K,K=ae;return Y}function M(W,Y){if(W.length!==Y.length)return!1;for(var ae=0;ae<W.length;ae++){var K=W.charCodeAt(ae);if(K>=65&&K<=90&&(K|=32),K!==Y.charCodeAt(ae))return!1}return!0}function S(W){return null===W||W.type===R.Comma||W.type===R.Function||W.type===R.LeftParenthesis||W.type===R.LeftSquareBracket||W.type===R.LeftCurlyBracket||function(W){return W.type===R.Delim&&"?"!==W.value}(W)}function I(W){return null===W||W.type===R.RightParenthesis||W.type===R.RightSquareBracket||W.type===R.RightCurlyBracket||W.type===R.Delim}function F(W,Y,ae){function K(){do{He++,xe=He<W.length?W[He]:null}while(null!==xe&&(xe.type===R.WhiteSpace||xe.type===R.Comment))}function fe(Vn){var zn=He+Vn;return zn<W.length?W[zn]:null}function ce(Vn,zn){return{nextState:Vn,matchStack:tt,syntaxStack:qe,thenStack:De,tokenIndex:He,prev:zn}}function he(Vn){De={nextState:Vn,matchStack:tt,syntaxStack:qe,prev:De}}function de(Vn){Qe=ce(Vn,Qe)}function oe(){tt={type:1,syntax:Y.syntax,token:xe,prev:tt},K(),et=null,He>st&&(st=He)}function ge(){tt=2===tt.type?tt.prev:{type:3,syntax:qe.syntax,token:tt.token,prev:tt},qe=qe.prev}var qe=null,De=null,Qe=null,et=null,bt=0,_e=null,xe=null,He=-1,st=0,tt={type:0,syntax:null,token:null,prev:null};for(K();null===_e&&++bt<15e3;)switch(Y.type){case"Match":if(null===De){if(null!==xe&&(He!==W.length-1||"\\0"!==xe.value&&"\\9"!==xe.value)){Y=L;break}_e=O;break}if((Y=De.nextState)===w){if(De.matchStack===tt){Y=L;break}Y=V}for(;De.syntaxStack!==qe;)ge();De=De.prev;break;case"Mismatch":if(null!==et&&!1!==et)(null===Qe||He>Qe.tokenIndex)&&(Qe=et,et=!1);else if(null===Qe){_e="Mismatch";break}Y=Qe.nextState,De=Qe.thenStack,qe=Qe.syntaxStack,tt=Qe.matchStack,xe=(He=Qe.tokenIndex)<W.length?W[He]:null,Qe=Qe.prev;break;case"MatchGraph":Y=Y.match;break;case"If":Y.else!==L&&de(Y.else),Y.then!==V&&he(Y.then),Y=Y.match;break;case"MatchOnce":Y={type:"MatchOnceBuffer",syntax:Y,index:0,mask:0};break;case"MatchOnceBuffer":var Zt=Y.syntax.terms;if(Y.index===Zt.length){if(0===Y.mask||Y.syntax.all){Y=L;break}Y=V;break}if(Y.mask===(1<<Zt.length)-1){Y=V;break}for(;Y.index<Zt.length;Y.index++){var Tt=1<<Y.index;if(0==(Y.mask&Tt)){de(Y),he({type:"AddMatchOnce",syntax:Y.syntax,mask:Y.mask|Tt}),Y=Zt[Y.index++];break}}break;case"AddMatchOnce":Y={type:"MatchOnceBuffer",syntax:Y.syntax,index:0,mask:Y.mask};break;case"Enum":if(null!==xe&&(-1!==(On=xe.value.toLowerCase()).indexOf("\\")&&(On=On.replace(/\\[09].*$/,"")),B.call(Y.map,On))){Y=Y.map[On];break}Y=L;break;case"Generic":var Yt=He+Math.floor(Y.fn(xe,fe,null!==qe?qe.opts:null));if(!isNaN(Yt)&&Yt>He){for(;He<Yt;)oe();Y=V}else Y=L;break;case"Type":case"Property":var un="Type"===Y.type?"types":"properties",Ut=B.call(ae,un)?ae[un][Y.name]:null;if(!Ut||!Ut.match)throw new Error("Bad syntax reference: "+("Type"===Y.type?"<"+Y.name+">":"<'"+Y.name+"'>"));if(!1!==et&&null!==xe&&"Type"===Y.type&&("custom-ident"===Y.name&&xe.type===R.Ident||"length"===Y.name&&"0"===xe.value)){null===et&&(et=ce(Y,Qe)),Y=L;break}qe={syntax:Y.syntax,opts:Y.syntax.opts||null!==qe&&qe.opts||null,prev:qe},tt={type:2,syntax:Y.syntax,token:tt.token,prev:tt},Y=Ut.match;break;case"Keyword":var On=Y.name;if(null!==xe){var Fn=xe.value;if(-1!==Fn.indexOf("\\")&&(Fn=Fn.replace(/\\[09].*$/,"")),M(Fn,On)){oe(),Y=V;break}}Y=L;break;case"AtKeyword":case"Function":if(null!==xe&&M(xe.value,Y.name)){oe(),Y=V;break}Y=L;break;case"Token":if(null!==xe&&xe.value===Y.value){oe(),Y=V;break}Y=L;break;case"Comma":null!==xe&&xe.type===R.Comma?S(tt.token)?Y=L:(oe(),Y=I(xe)?L:V):Y=S(tt.token)||I(xe)?V:L;break;case"String":var Zn="";for(Yt=He;Yt<W.length&&Zn.length<Y.value.length;Yt++)Zn+=W[Yt].value;if(M(Zn,Y.value)){for(;He<Yt;)oe();Y=V}else Y=L;break;default:throw new Error("Unknown node type: "+Y.type)}switch(v+=bt,_e){case null:console.warn("[csstree-match] BREAK after 15000 iterations"),_e="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",tt=null;break;case O:for(;null!==qe;)ge();break;default:tt=null}return{tokens:W,reason:_e,iterations:bt,match:tt,longestMatch:st}}ue.exports={matchAsList:function(W,Y,ae){var K=F(W,Y,ae||{});if(null!==K.match){var fe=g(K.match).prev;for(K.match=[];null!==fe;){switch(fe.type){case 0:break;case 2:case 3:K.match.push({type:fe.type,syntax:fe.syntax});break;default:K.match.push({token:fe.token.value,node:fe.token.node})}fe=fe.prev}}return K},matchAsTree:function(W,Y,ae){var K=F(W,Y,ae||{});if(null===K.match)return K;var fe=K.match,ce=K.match={syntax:Y.syntax||null,match:[]},he=[ce];for(fe=g(fe).prev;null!==fe;){switch(fe.type){case 2:ce.match.push(ce={syntax:fe.syntax,match:[]}),he.push(ce);break;case 3:he.pop(),ce=he[he.length-1];break;default:ce.match.push({syntax:fe.syntax||null,token:fe.token.value,node:fe.token.node})}fe=fe.prev}return K},getTotalIterationCount:function(){return v}}},3492:function(ue,j,f){var B=f(32347),V=new(f(26922)),L={decorator:function(b){var E=null,x={len:0,node:null},Z=[x],O="";return{children:b.children,node:function(T){var D=E;E=T,b.node.call(this,T),E=D},chunk:function(T){O+=T,x.node!==E?Z.push({len:T.length,node:E}):x.len+=T.length},result:function(){return w(O,Z)}}}};function w(R,b){var E=[],x=0,Z=0,O=b?b[Z].node:null;for(B(R,V);!V.eof;){if(b)for(;Z<b.length&&x+b[Z].len<=V.tokenStart;)x+=b[Z++].len,O=b[Z].node;E.push({type:V.tokenType,value:V.getTokenValue(),index:V.tokenIndex,balance:V.balance[V.tokenIndex],node:O}),V.next()}return E}ue.exports=function(R,b){return"string"==typeof R?w(R,null):b.generate(R,L)}},16744:function(ue,j,f){var B=f(40174);function U(w){return"node"in w?w.node:U(w.match[0])}function V(w){return"node"in w?w.node:V(w.match[w.match.length-1])}ue.exports={matchFragments:function(w,R,b,E,x){var O=[];return null!==b.matched&&function Z(y){if(null!==y.syntax&&y.syntax.type===E&&y.syntax.name===x){var T=U(y),D=V(y);w.syntax.walk(R,function(v,g,M){if(v===T){var k=new B;do{if(k.appendData(g.data),g.data===D)break;g=g.next}while(null!==g);O.push({parent:M,nodes:k})}})}Array.isArray(y.match)&&y.match.forEach(Z)}(b.matched),O}}},99429:function(ue,j,f){var B=f(40174),U=Object.prototype.hasOwnProperty;function V(b){return"number"==typeof b&&isFinite(b)&&Math.floor(b)===b&&b>=0}function L(b){return Boolean(b)&&V(b.offset)&&V(b.line)&&V(b.column)}function w(b,E){return function(Z,O){if(!Z||Z.constructor!==Object)return O(Z,"Type of node should be an Object");for(var y in Z){var T=!0;if(!1!==U.call(Z,y)){if("type"===y)Z.type!==b&&O(Z,"Wrong node type `"+Z.type+"`, expected `"+b+"`");else if("loc"===y){if(null===Z.loc)continue;if(Z.loc&&Z.loc.constructor===Object)if("string"!=typeof Z.loc.source)y+=".source";else if(L(Z.loc.start)){if(L(Z.loc.end))continue;y+=".end"}else y+=".start";T=!1}else if(E.hasOwnProperty(y)){var D=0;for(T=!1;!T&&D<E[y].length;D++){var v=E[y][D];switch(v){case String:T="string"==typeof Z[y];break;case Boolean:T="boolean"==typeof Z[y];break;case null:T=null===Z[y];break;default:"string"==typeof v?T=Z[y]&&Z[y].type===v:Array.isArray(v)&&(T=Z[y]instanceof B)}}}else O(Z,"Unknown field `"+y+"` for "+b+" node type");T||O(Z,"Bad value for `"+b+"."+y+"`")}}for(var y in E)U.call(E,y)&&!1===U.call(Z,y)&&O(Z,"Field `"+b+"."+y+"` is missed")}}function R(b,E){var x=E.structure,Z={type:String,loc:!0},O={type:'"'+b+'"'};for(var y in x)if(!1!==U.call(x,y)){for(var T=[],D=Z[y]=Array.isArray(x[y])?x[y].slice():[x[y]],v=0;v<D.length;v++){var g=D[v];if(g===String||g===Boolean)T.push(g.name);else if(null===g)T.push("null");else if("string"==typeof g)T.push("<"+g+">");else{if(!Array.isArray(g))throw new Error("Wrong value `"+g+"` in `"+b+"."+y+"` structure definition");T.push("List")}}O[y]=T.join(" | ")}return{docs:O,check:w(b,Z)}}ue.exports={getStructureFromConfig:function(E){var x={};if(E.node)for(var Z in E.node)if(U.call(E.node,Z)){var O=E.node[Z];if(!O.structure)throw new Error("Missed `structure` field in `"+Z+"` node type definition");x[Z]=R(Z,O)}return x}}},20392:function(ue){function j(L){function w(E){return null!==E&&("Type"===E.type||"Property"===E.type||"Keyword"===E.type)}var b=null;return null!==this.matched&&function R(E){if(Array.isArray(E.match)){for(var x=0;x<E.match.length;x++)if(R(E.match[x]))return w(E.syntax)&&b.unshift(E.syntax),!0}else if(E.node===L)return b=w(E.syntax)?[E.syntax]:[],!0;return!1}(this.matched),b}function f(L,w,R){var b=j.call(L,w);return null!==b&&b.some(R)}ue.exports={getTrace:j,isType:function(L,w){return f(this,L,function(R){return"Type"===R.type&&R.name===w})},isProperty:function(L,w){return f(this,L,function(R){return"Property"===R.type&&R.name===w})},isKeyword:function(L){return f(this,L,function(w){return"Keyword"===w.type})}}},87035:function(ue,j,f){var B=f(30060),U=f(54148),V=f(26922),L=f(40174),w=f(32347),R=f(74715),b=f(22390),E=b.findWhiteSpaceStart,x=b.cmpStr,Z=f(8481),O=function(){},y=R.TYPE,T=R.NAME,D=y.WhiteSpace,v=y.Comment,g=y.Ident,M=y.Function,k=y.Url,S=y.Hash,I=y.Percentage,F=y.Number;function W(ae){return function(){return this[ae]()}}ue.exports=function(K){var fe={scanner:new V,locationMap:new B,filename:"<unknown>",needPositions:!1,onParseError:O,onParseErrorThrow:!1,parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:Z,createList:function(){return new L},createSingleNodeList:function(de){return(new L).appendData(de)},getFirstListNode:function(de){return de&&de.first()},getLastListNode:function(de){return de.last()},parseWithFallback:function(de,oe){var Ce=this.scanner.tokenIndex;try{return de.call(this)}catch(qe){if(this.onParseErrorThrow)throw qe;var ge=oe.call(this,Ce);return this.onParseErrorThrow=!0,this.onParseError(qe,ge),this.onParseErrorThrow=!1,ge}},lookupNonWSType:function(de){do{var oe=this.scanner.lookupType(de++);if(oe!==D)return oe}while(0!==oe);return 0},eat:function(de){if(this.scanner.tokenType!==de){var oe=this.scanner.tokenStart,Ce=T[de]+" is expected";switch(de){case g:this.scanner.tokenType===M||this.scanner.tokenType===k?(oe=this.scanner.tokenEnd-1,Ce="Identifier is expected but function found"):Ce="Identifier is expected";break;case S:this.scanner.isDelim(35)&&(this.scanner.next(),oe++,Ce="Name is expected");break;case I:this.scanner.tokenType===F&&(oe=this.scanner.tokenEnd,Ce="Percent sign is expected");break;default:this.scanner.source.charCodeAt(this.scanner.tokenStart)===de&&(oe+=1)}this.error(Ce,oe)}this.scanner.next()},consume:function(de){var oe=this.scanner.getTokenValue();return this.eat(de),oe},consumeFunctionName:function(){var de=this.scanner.source.substring(this.scanner.tokenStart,this.scanner.tokenEnd-1);return this.eat(M),de},getLocation:function(de,oe){return this.needPositions?this.locationMap.getLocationRange(de,oe,this.filename):null},getLocationFromList:function(de){if(this.needPositions){var oe=this.getFirstListNode(de),Ce=this.getLastListNode(de);return this.locationMap.getLocationRange(null!==oe?oe.loc.start.offset-this.locationMap.startOffset:this.scanner.tokenStart,null!==Ce?Ce.loc.end.offset-this.locationMap.startOffset:this.scanner.tokenStart,this.filename)}return null},error:function(de,oe){var Ce=this.locationMap.getLocation(void 0!==oe&&oe<this.scanner.source.length?oe:this.scanner.eof?E(this.scanner.source,this.scanner.source.length-1):this.scanner.tokenStart);throw new U(de||"Unexpected input",this.scanner.source,Ce.offset,Ce.line,Ce.column)}};for(var ce in K=function(ae){var K={context:{},scope:{},atrule:{},pseudo:{}};if(ae.parseContext)for(var fe in ae.parseContext)switch(typeof ae.parseContext[fe]){case"function":K.context[fe]=ae.parseContext[fe];break;case"string":K.context[fe]=W(ae.parseContext[fe])}if(ae.scope)for(var fe in ae.scope)K.scope[fe]=ae.scope[fe];if(ae.atrule)for(var fe in ae.atrule){var ce=ae.atrule[fe];ce.parse&&(K.atrule[fe]=ce.parse)}if(ae.pseudo)for(var fe in ae.pseudo){var he=ae.pseudo[fe];he.parse&&(K.pseudo[fe]=he.parse)}if(ae.node)for(var fe in ae.node)K[fe]=ae.node[fe].parse;return K}(K||{}),K)fe[ce]=K[ce];return function(he,de){var ge,oe=(de=de||{}).context||"default",Ce=de.onComment;if(w(he,fe.scanner),fe.locationMap.setSource(he,de.offset,de.line,de.column),fe.filename=de.filename||"<unknown>",fe.needPositions=Boolean(de.positions),fe.onParseError="function"==typeof de.onParseError?de.onParseError:O,fe.onParseErrorThrow=!1,fe.parseAtrulePrelude=!("parseAtrulePrelude"in de)||Boolean(de.parseAtrulePrelude),fe.parseRulePrelude=!("parseRulePrelude"in de)||Boolean(de.parseRulePrelude),fe.parseValue=!("parseValue"in de)||Boolean(de.parseValue),fe.parseCustomProperty="parseCustomProperty"in de&&Boolean(de.parseCustomProperty),!fe.context.hasOwnProperty(oe))throw new Error("Unknown context `"+oe+"`");return"function"==typeof Ce&&fe.scanner.forEachToken(function(qe,De,Qe){if(qe===v){var et=fe.getLocation(De,Qe),bt=x(he,Qe-2,Qe,"*/")?he.slice(De+2,Qe-2):he.slice(De+2,Qe);Ce(bt,et)}}),ge=fe.context[oe].call(fe,de),fe.scanner.eof||fe.error(),ge}}},8481:function(ue,j,f){var B=f(32347).TYPE,U=B.WhiteSpace,V=B.Comment;ue.exports=function(w){var R=this.createList(),b=null,E={recognizer:w,space:null,ignoreWS:!1,ignoreWSAfter:!1};for(this.scanner.skipSC();!this.scanner.eof;){switch(this.scanner.tokenType){case V:this.scanner.next();continue;case U:E.ignoreWS?this.scanner.next():E.space=this.WhiteSpace();continue}if(void 0===(b=w.getNode.call(this,E)))break;null!==E.space&&(R.push(E.space),E.space=null),R.push(b),E.ignoreWSAfter?(E.ignoreWSAfter=!1,E.ignoreWS=!0):E.ignoreWS=!1}return R}},62640:function(ue){ue.exports={parse:{prelude:null,block:function(){return this.Block(!0)}}}},1649:function(ue,j,f){var B=f(32347).TYPE,U=B.String,V=B.Ident,L=B.Url,w=B.Function,R=B.LeftParenthesis;ue.exports={parse:{prelude:function(){var E=this.createList();switch(this.scanner.skipSC(),this.scanner.tokenType){case U:E.push(this.String());break;case L:case w:E.push(this.Url());break;default:this.error("String or url() is expected")}return(this.lookupNonWSType(0)===V||this.lookupNonWSType(0)===R)&&(E.push(this.WhiteSpace()),E.push(this.MediaQueryList())),E},block:null}}},97236:function(ue,j,f){ue.exports={"font-face":f(62640),import:f(1649),media:f(54678),page:f(62186),supports:f(39990)}},54678:function(ue){ue.exports={parse:{prelude:function(){return this.createSingleNodeList(this.MediaQueryList())},block:function(){return this.Block(!1)}}}},62186:function(ue){ue.exports={parse:{prelude:function(){return this.createSingleNodeList(this.SelectorList())},block:function(){return this.Block(!0)}}}},39990:function(ue,j,f){var B=f(32347).TYPE,U=B.WhiteSpace,V=B.Comment,L=B.Ident,w=B.Function,R=B.Colon,b=B.LeftParenthesis;function E(){return this.createSingleNodeList(this.Raw(this.scanner.tokenIndex,null,!1))}function x(){return this.scanner.skipSC(),this.scanner.tokenType===L&&this.lookupNonWSType(1)===R?this.createSingleNodeList(this.Declaration()):Z.call(this)}function Z(){var T,O=this.createList(),y=null;this.scanner.skipSC();e:for(;!this.scanner.eof;){switch(this.scanner.tokenType){case U:y=this.WhiteSpace();continue;case V:this.scanner.next();continue;case w:T=this.Function(E,this.scope.AtrulePrelude);break;case L:T=this.Identifier();break;case b:T=this.Parentheses(x,this.scope.AtrulePrelude);break;default:break e}null!==y&&(O.push(y),y=null),O.push(T)}return O}ue.exports={parse:{prelude:function(){var y=Z.call(this);return null===this.getFirstListNode(y)&&this.error("Condition is expected"),y},block:function(){return this.Block(!1)}}}},55837:function(ue,j,f){var B=f(87124);ue.exports={generic:!0,types:B.types,atrules:B.atrules,properties:B.properties,node:f(41088)}},15286:function(ue,j,f){var B=f(6326).default,U=Object.prototype.hasOwnProperty,V={generic:!0,types:x,atrules:{prelude:Z,descriptors:Z},properties:x,parseContext:function(y,T){return Object.assign(y,T)},scope:function b(y,T){for(var D in T)U.call(T,D)&&(L(y[D])?b(y[D],w(T[D])):y[D]=w(T[D]));return y},atrule:["parse"],pseudo:["parse"],node:["name","structure","parse","generate","walkContext"]};function L(y){return y&&y.constructor===Object}function w(y){return L(y)?Object.assign({},y):y}function E(y,T){return"string"==typeof T&&/^\s*\|/.test(T)?"string"==typeof y?y+T:T.replace(/^\s*\|\s*/,""):T||null}function x(y,T){if("string"==typeof T)return E(y,T);var D=Object.assign({},y);for(var v in T)U.call(T,v)&&(D[v]=E(U.call(y,v)?y[v]:void 0,T[v]));return D}function Z(y,T){var D=x(y,T);return!L(D)||Object.keys(D).length?D:null}function O(y,T,D){for(var v in D)if(!1!==U.call(D,v))if(!0===D[v])v in T&&U.call(T,v)&&(y[v]=w(T[v]));else if(D[v])if("function"==typeof D[v]){var g=D[v];y[v]=g({},y[v]),y[v]=g(y[v]||{},T[v])}else if(L(D[v])){var M={};for(var k in y[v])M[k]=O({},y[v][k],D[v]);for(var S in T[v])M[S]=O(M[S]||{},T[v][S],D[v]);y[v]=M}else if(Array.isArray(D[v])){for(var I={},F=D[v].reduce(function(fe,ce){return fe[ce]=!0,fe},{}),G=0,X=Object.entries(y[v]||{});G<X.length;G++){var W=B(X[G],2),Y=W[0],ae=W[1];I[Y]={},ae&&O(I[Y],ae,F)}for(var K in T[v])U.call(T[v],K)&&(I[K]||(I[K]={}),T[v]&&T[v][K]&&O(I[K],T[v][K],F));y[v]=I}return y}ue.exports=function(y,T){return O(y,T,V)}},37405:function(ue,j,f){ue.exports={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude:function(U){return this.AtrulePrelude(U.atrule?String(U.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",rule:"Rule",selectorList:"SelectorList",selector:"Selector",block:function(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},scope:f(64606),atrule:f(97236),pseudo:f(50493),node:f(41088)}},40522:function(ue,j,f){ue.exports={node:f(41088)}},69290:function(ue,j,f){var B=f(40174),U=f(54148),V=f(26922),L=f(95588),w=f(27355),R=f(32347),b=f(87035),E=f(24502),x=f(67851),Z=f(75504),O=f(7135),y=f(60213),T=f(15286);function D(v){var g=b(v),M=Z(v),k=E(v),S=x(M),I={List:B,SyntaxError:U,TokenStream:V,Lexer:L,vendorPrefix:y.vendorPrefix,keyword:y.keyword,property:y.property,isCustomProperty:y.isCustomProperty,definitionSyntax:w,lexer:null,createLexer:function(G){return new L(G,I,I.lexer.structure)},tokenize:R,parse:g,walk:M,generate:k,find:M.find,findLast:M.findLast,findAll:M.findAll,clone:O,fromPlainObject:S.fromPlainObject,toPlainObject:S.toPlainObject,createSyntax:function(G){return D(T({},G))},fork:function(G){var X=T({},v);return D("function"==typeof G?G(X,Object.assign):T(X,G))}};return I.lexer=new L({generic:!0,types:v.types,atrules:v.atrules,properties:v.properties,node:v.node},I),I}j.create=function(v){return D(T({},v))}},71e3:function(ue){ue.exports=function(){return this.createSingleNodeList(this.Raw(this.scanner.tokenIndex,null,!1))}},23575:function(ue,j,f){var B=f(32347).TYPE,U=f(89246).mode,V=B.Comma,L=B.WhiteSpace;ue.exports=function(){var w=this.createList();if(this.scanner.skipSC(),w.push(this.Identifier()),this.scanner.skipSC(),this.scanner.tokenType===V){w.push(this.Operator());var R=this.scanner.tokenIndex,b=this.parseCustomProperty?this.Value(null):this.Raw(this.scanner.tokenIndex,U.exclamationMarkOrSemicolon,!1);if("Value"===b.type&&b.children.isEmpty())for(var E=R-this.scanner.tokenIndex;E<=0;E++)if(this.scanner.lookupType(E)===L){b.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}w.push(b)}return w}},31828:function(ue,j,f){ue.exports=f(69290).create(function(){for(var U={},V=0;V<arguments.length;V++){var L=arguments[V];for(var w in L)U[w]=L[w]}return U}(f(55837),f(37405),f(40522))),ue.exports.version=f(37151).version},45056:function(ue,j,f){var B=f(32347).cmpChar,U=f(32347).isDigit,V=f(32347).TYPE,L=V.WhiteSpace,w=V.Comment,R=V.Ident,b=V.Number,E=V.Dimension,x=43,Z=45,O=110,y=!0;function D(k,S){var I=this.scanner.tokenStart+k,F=this.scanner.source.charCodeAt(I);for((F===x||F===Z)&&(S&&this.error("Number sign is not allowed"),I++);I<this.scanner.tokenEnd;I++)U(this.scanner.source.charCodeAt(I))||this.error("Integer is expected",I)}function v(k){return D.call(this,0,k)}function g(k,S){if(!B(this.scanner.source,this.scanner.tokenStart+k,S)){var I="";switch(S){case O:I="N is expected";break;case Z:I="HyphenMinus is expected"}this.error(I,this.scanner.tokenStart+k)}}function M(){for(var k=0,S=0,I=this.scanner.tokenType;I===L||I===w;)I=this.scanner.lookupType(++k);if(I!==b){if(!this.scanner.isDelim(x,k)&&!this.scanner.isDelim(Z,k))return null;S=this.scanner.isDelim(x,k)?x:Z;do{I=this.scanner.lookupType(++k)}while(I===L||I===w);I!==b&&(this.scanner.skip(k),v.call(this,y))}return k>0&&this.scanner.skip(k),0===S&&(I=this.scanner.source.charCodeAt(this.scanner.tokenStart))!==x&&I!==Z&&this.error("Number sign is expected"),v.call(this,0!==S),S===Z?"-"+this.consume(b):this.consume(b)}ue.exports={name:"AnPlusB",structure:{a:[String,null],b:[String,null]},parse:function(){var S=this.scanner.tokenStart,I=null,F=null;if(this.scanner.tokenType===b)v.call(this,!1),F=this.consume(b);else if(this.scanner.tokenType===R&&B(this.scanner.source,this.scanner.tokenStart,Z))switch(I="-1",g.call(this,1,O),this.scanner.getTokenLength()){case 2:this.scanner.next(),F=M.call(this);break;case 3:g.call(this,2,Z),this.scanner.next(),this.scanner.skipSC(),v.call(this,y),F="-"+this.consume(b);break;default:g.call(this,2,Z),D.call(this,3,y),this.scanner.next(),F=this.scanner.substrToCursor(S+2)}else if(this.scanner.tokenType===R||this.scanner.isDelim(x)&&this.scanner.lookupType(1)===R){var G=0;switch(I="1",this.scanner.isDelim(x)&&(G=1,this.scanner.next()),g.call(this,0,O),this.scanner.getTokenLength()){case 1:this.scanner.next(),F=M.call(this);break;case 2:g.call(this,1,Z),this.scanner.next(),this.scanner.skipSC(),v.call(this,y),F="-"+this.consume(b);break;default:g.call(this,1,Z),D.call(this,2,y),this.scanner.next(),F=this.scanner.substrToCursor(S+G+1)}}else if(this.scanner.tokenType===E){for(var X=this.scanner.source.charCodeAt(this.scanner.tokenStart),W=this.scanner.tokenStart+(G=X===x||X===Z);W<this.scanner.tokenEnd&&U(this.scanner.source.charCodeAt(W));W++);W===this.scanner.tokenStart+G&&this.error("Integer is expected",this.scanner.tokenStart+G),g.call(this,W-this.scanner.tokenStart,O),I=this.scanner.source.substring(S,W),W+1===this.scanner.tokenEnd?(this.scanner.next(),F=M.call(this)):(g.call(this,W-this.scanner.tokenStart+1,Z),W+2===this.scanner.tokenEnd?(this.scanner.next(),this.scanner.skipSC(),v.call(this,y),F="-"+this.consume(b)):(D.call(this,W-this.scanner.tokenStart+2,y),this.scanner.next(),F=this.scanner.substrToCursor(W+1)))}else this.error();return null!==I&&I.charCodeAt(0)===x&&(I=I.substr(1)),null!==F&&F.charCodeAt(0)===x&&(F=F.substr(1)),{type:"AnPlusB",loc:this.getLocation(S,this.scanner.tokenStart),a:I,b:F}},generate:function(S){var F=null!=S.b;null!=S.a?(this.chunk("+1"===S.a?"+n":"1"===S.a?"n":"-1"===S.a?"-n":S.a+"n"),F&&("-"===(F=String(S.b)).charAt(0)||"+"===F.charAt(0)?(this.chunk(F.charAt(0)),this.chunk(F.substr(1))):(this.chunk("+"),this.chunk(F)))):this.chunk(String(S.b))}}},10761:function(ue,j,f){var B=f(32347).TYPE,U=f(89246).mode,V=B.AtKeyword,L=B.Semicolon,w=B.LeftCurlyBracket,R=B.RightCurlyBracket;function b(x){return this.Raw(x,U.leftCurlyBracketOrSemicolon,!0)}function E(){for(var Z,x=1;Z=this.scanner.lookupType(x);x++){if(Z===R)return!0;if(Z===w||Z===V)return!1}return!1}ue.exports={name:"Atrule",structure:{name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]},parse:function(){var O,y,Z=this.scanner.tokenStart,T=null,D=null;switch(this.eat(V),y=(O=this.scanner.substrToCursor(Z+1)).toLowerCase(),this.scanner.skipSC(),!1===this.scanner.eof&&this.scanner.tokenType!==w&&this.scanner.tokenType!==L&&(this.parseAtrulePrelude?"AtrulePrelude"===(T=this.parseWithFallback(this.AtrulePrelude.bind(this,O),b)).type&&null===T.children.head&&(T=null):T=b.call(this,this.scanner.tokenIndex),this.scanner.skipSC()),this.scanner.tokenType){case L:this.scanner.next();break;case w:D=this.atrule.hasOwnProperty(y)&&"function"==typeof this.atrule[y].block?this.atrule[y].block.call(this):this.Block(E.call(this))}return{type:"Atrule",loc:this.getLocation(Z,this.scanner.tokenStart),name:O,prelude:T,block:D}},generate:function(Z){this.chunk("@"),this.chunk(Z.name),null!==Z.prelude&&(this.chunk(" "),this.node(Z.prelude)),Z.block?this.node(Z.block):this.chunk(";")},walkContext:"atrule"}},83553:function(ue,j,f){var B=f(32347).TYPE,U=B.Semicolon,V=B.LeftCurlyBracket;ue.exports={name:"AtrulePrelude",structure:{children:[[]]},parse:function(w){var R=null;return null!==w&&(w=w.toLowerCase()),this.scanner.skipSC(),R=this.atrule.hasOwnProperty(w)&&"function"==typeof this.atrule[w].prelude?this.atrule[w].prelude.call(this):this.readSequence(this.scope.AtrulePrelude),this.scanner.skipSC(),!0!==this.scanner.eof&&this.scanner.tokenType!==V&&this.scanner.tokenType!==U&&this.error("Semicolon or block is expected"),null===R&&(R=this.createList()),{type:"AtrulePrelude",loc:this.getLocationFromList(R),children:R}},generate:function(w){this.children(w)},walkContext:"atrulePrelude"}},80883:function(ue,j,f){var B=f(32347).TYPE,U=B.Ident,V=B.String,L=B.Colon,w=B.LeftSquareBracket,R=B.RightSquareBracket;function T(){this.scanner.eof&&this.error("Unexpected end of input");var v=this.scanner.tokenStart,g=!1,M=!0;return this.scanner.isDelim(42)?(g=!0,M=!1,this.scanner.next()):this.scanner.isDelim(124)||this.eat(U),this.scanner.isDelim(124)?61!==this.scanner.source.charCodeAt(this.scanner.tokenStart+1)?(this.scanner.next(),this.eat(U)):g&&this.error("Identifier is expected",this.scanner.tokenEnd):g&&this.error("Vertical line is expected"),M&&this.scanner.tokenType===L&&(this.scanner.next(),this.eat(U)),{type:"Identifier",loc:this.getLocation(v,this.scanner.tokenStart),name:this.scanner.substrToCursor(v)}}function D(){var v=this.scanner.tokenStart,g=this.scanner.source.charCodeAt(v);return 61!==g&&126!==g&&94!==g&&36!==g&&42!==g&&124!==g&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.scanner.next(),61!==g&&(this.scanner.isDelim(61)||this.error("Equal sign is expected"),this.scanner.next()),this.scanner.substrToCursor(v)}ue.exports={name:"AttributeSelector",structure:{name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]},parse:function(){var M,g=this.scanner.tokenStart,k=null,S=null,I=null;return this.eat(w),this.scanner.skipSC(),M=T.call(this),this.scanner.skipSC(),this.scanner.tokenType!==R&&(this.scanner.tokenType!==U&&(k=D.call(this),this.scanner.skipSC(),S=this.scanner.tokenType===V?this.String():this.Identifier(),this.scanner.skipSC()),this.scanner.tokenType===U&&(I=this.scanner.getTokenValue(),this.scanner.next(),this.scanner.skipSC())),this.eat(R),{type:"AttributeSelector",loc:this.getLocation(g,this.scanner.tokenStart),name:M,matcher:k,value:S,flags:I}},generate:function(g){var M=" ";this.chunk("["),this.node(g.name),null!==g.matcher&&(this.chunk(g.matcher),null!==g.value&&(this.node(g.value),"String"===g.value.type&&(M=""))),null!==g.flags&&(this.chunk(M),this.chunk(g.flags)),this.chunk("]")}}},75479:function(ue,j,f){var B=f(32347).TYPE,U=f(89246).mode,V=B.WhiteSpace,L=B.Comment,w=B.Semicolon,R=B.AtKeyword,b=B.LeftCurlyBracket,E=B.RightCurlyBracket;function x(T){return this.Raw(T,null,!0)}function Z(){return this.parseWithFallback(this.Rule,x)}function O(T){return this.Raw(T,U.semicolonIncluded,!0)}function y(){if(this.scanner.tokenType===w)return O.call(this,this.scanner.tokenIndex);var T=this.parseWithFallback(this.Declaration,O);return this.scanner.tokenType===w&&this.scanner.next(),T}ue.exports={name:"Block",structure:{children:[["Atrule","Rule","Declaration"]]},parse:function(D){var v=D?y:Z,g=this.scanner.tokenStart,M=this.createList();this.eat(b);e:for(;!this.scanner.eof;)switch(this.scanner.tokenType){case E:break e;case V:case L:this.scanner.next();break;case R:M.push(this.parseWithFallback(this.Atrule,x));break;default:M.push(v.call(this))}return this.scanner.eof||this.eat(E),{type:"Block",loc:this.getLocation(g,this.scanner.tokenStart),children:M}},generate:function(D){this.chunk("{"),this.children(D,function(v){"Declaration"===v.type&&this.chunk(";")}),this.chunk("}")},walkContext:"block"}},3856:function(ue,j,f){var B=f(32347).TYPE,U=B.LeftSquareBracket,V=B.RightSquareBracket;ue.exports={name:"Brackets",structure:{children:[[]]},parse:function(w,R){var E,b=this.scanner.tokenStart;return this.eat(U),E=w.call(this,R),this.scanner.eof||this.eat(V),{type:"Brackets",loc:this.getLocation(b,this.scanner.tokenStart),children:E}},generate:function(w){this.chunk("["),this.children(w),this.chunk("]")}}},58106:function(ue,j,f){var B=f(32347).TYPE.CDC;ue.exports={name:"CDC",structure:[],parse:function(){var V=this.scanner.tokenStart;return this.eat(B),{type:"CDC",loc:this.getLocation(V,this.scanner.tokenStart)}},generate:function(){this.chunk("--\x3e")}}},63232:function(ue,j,f){var B=f(32347).TYPE.CDO;ue.exports={name:"CDO",structure:[],parse:function(){var V=this.scanner.tokenStart;return this.eat(B),{type:"CDO",loc:this.getLocation(V,this.scanner.tokenStart)}},generate:function(){this.chunk("\x3c!--")}}},21656:function(ue,j,f){var U=f(32347).TYPE.Ident;ue.exports={name:"ClassSelector",structure:{name:String},parse:function(){return this.scanner.isDelim(46)||this.error("Full stop is expected"),this.scanner.next(),{type:"ClassSelector",loc:this.getLocation(this.scanner.tokenStart-1,this.scanner.tokenEnd),name:this.consume(U)}},generate:function(w){this.chunk("."),this.chunk(w.name)}}},19734:function(ue,j,f){var U=f(32347).TYPE.Ident;ue.exports={name:"Combinator",structure:{name:String},parse:function(){var E=this.scanner.tokenStart;switch(this.scanner.source.charCodeAt(this.scanner.tokenStart)){case 62:case 43:case 126:this.scanner.next();break;case 47:this.scanner.next(),(this.scanner.tokenType!==U||!1===this.scanner.lookupValue(0,"deep"))&&this.error("Identifier `deep` is expected"),this.scanner.next(),this.scanner.isDelim(47)||this.error("Solidus is expected"),this.scanner.next();break;default:this.error("Combinator is expected")}return{type:"Combinator",loc:this.getLocation(E,this.scanner.tokenStart),name:this.scanner.substrToCursor(E)}},generate:function(E){this.chunk(E.name)}}},37986:function(ue,j,f){var U=f(32347).TYPE.Comment;ue.exports={name:"Comment",structure:{value:String},parse:function(){var R=this.scanner.tokenStart,b=this.scanner.tokenEnd;return this.eat(U),b-R+2>=2&&42===this.scanner.source.charCodeAt(b-2)&&47===this.scanner.source.charCodeAt(b-1)&&(b-=2),{type:"Comment",loc:this.getLocation(R,this.scanner.tokenStart),value:this.scanner.source.substring(R+2,b)}},generate:function(R){this.chunk("/*"),this.chunk(R.value),this.chunk("*/")}}},96137:function(ue,j,f){var B=f(60213).isCustomProperty,U=f(32347).TYPE,V=f(89246).mode,L=U.Ident,w=U.Hash,R=U.Colon,b=U.Semicolon,E=U.Delim,x=U.WhiteSpace;function M(G){return this.Raw(G,V.exclamationMarkOrSemicolon,!0)}function k(G){return this.Raw(G,V.exclamationMarkOrSemicolon,!1)}function S(){var G=this.scanner.tokenIndex,X=this.Value();return"Raw"!==X.type&&!1===this.scanner.eof&&this.scanner.tokenType!==b&&!1===this.scanner.isDelim(33)&&!1===this.scanner.isBalanceEdge(G)&&this.error(),X}function I(){var G=this.scanner.tokenStart;if(this.scanner.tokenType===E)switch(this.scanner.source.charCodeAt(this.scanner.tokenStart)){case 42:case 36:case 43:case 35:case 38:this.scanner.next();break;case 47:this.scanner.next(),this.scanner.isDelim(47)&&this.scanner.next()}return this.eat(this.scanner.tokenType===w?w:L),this.scanner.substrToCursor(G)}function F(){this.eat(E),this.scanner.skipSC();var G=this.consume(L);return"important"===G||G}ue.exports={name:"Declaration",structure:{important:[Boolean,String],property:String,value:["Value","Raw"]},parse:function(){var he,X=this.scanner.tokenStart,W=this.scanner.tokenIndex,Y=I.call(this),ae=B(Y),K=ae?this.parseCustomProperty:this.parseValue,fe=ae?k:M,ce=!1;this.scanner.skipSC(),this.eat(R);var de=this.scanner.tokenIndex;if(ae||this.scanner.skipSC(),he=K?this.parseWithFallback(S,fe):fe.call(this,this.scanner.tokenIndex),ae&&"Value"===he.type&&he.children.isEmpty())for(var oe=de-this.scanner.tokenIndex;oe<=0;oe++)if(this.scanner.lookupType(oe)===x){he.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}return this.scanner.isDelim(33)&&(ce=F.call(this),this.scanner.skipSC()),!1===this.scanner.eof&&this.scanner.tokenType!==b&&!1===this.scanner.isBalanceEdge(W)&&this.error(),{type:"Declaration",loc:this.getLocation(X,this.scanner.tokenStart),important:ce,property:Y,value:he}},generate:function(X){this.chunk(X.property),this.chunk(":"),this.node(X.value),X.important&&this.chunk(!0===X.important?"!important":"!"+X.important)},walkContext:"declaration"}},30118:function(ue,j,f){var B=f(32347).TYPE,U=f(89246).mode,V=B.WhiteSpace,L=B.Comment,w=B.Semicolon;function R(b){return this.Raw(b,U.semicolonIncluded,!0)}ue.exports={name:"DeclarationList",structure:{children:[["Declaration"]]},parse:function(){for(var E=this.createList();!this.scanner.eof;)switch(this.scanner.tokenType){case V:case L:case w:this.scanner.next();break;default:E.push(this.parseWithFallback(this.Declaration,R))}return{type:"DeclarationList",loc:this.getLocationFromList(E),children:E}},generate:function(E){this.children(E,function(x){"Declaration"===x.type&&this.chunk(";")})}}},17937:function(ue,j,f){var B=f(22390).consumeNumber,V=f(32347).TYPE.Dimension;ue.exports={name:"Dimension",structure:{value:String,unit:String},parse:function(){var w=this.scanner.tokenStart,R=B(this.scanner.source,w);return this.eat(V),{type:"Dimension",loc:this.getLocation(w,this.scanner.tokenStart),value:this.scanner.source.substring(w,R),unit:this.scanner.source.substring(R,this.scanner.tokenStart)}},generate:function(w){this.chunk(w.value),this.chunk(w.unit)}}},61511:function(ue,j,f){var U=f(32347).TYPE.RightParenthesis;ue.exports={name:"Function",structure:{name:String,children:[[]]},parse:function(L,w){var x,R=this.scanner.tokenStart,b=this.consumeFunctionName(),E=b.toLowerCase();return x=w.hasOwnProperty(E)?w[E].call(this,w):L.call(this,w),this.scanner.eof||this.eat(U),{type:"Function",loc:this.getLocation(R,this.scanner.tokenStart),name:b,children:x}},generate:function(L){this.chunk(L.name),this.chunk("("),this.children(L),this.chunk(")")},walkContext:"function"}},26805:function(ue,j,f){var U=f(32347).TYPE.Hash;ue.exports={name:"Hash",structure:{value:String},parse:function(){var L=this.scanner.tokenStart;return this.eat(U),{type:"Hash",loc:this.getLocation(L,this.scanner.tokenStart),value:this.scanner.substrToCursor(L+1)}},generate:function(L){this.chunk("#"),this.chunk(L.value)}}},21683:function(ue,j,f){var U=f(32347).TYPE.Hash;ue.exports={name:"IdSelector",structure:{name:String},parse:function(){var L=this.scanner.tokenStart;return this.eat(U),{type:"IdSelector",loc:this.getLocation(L,this.scanner.tokenStart),name:this.scanner.substrToCursor(L+1)}},generate:function(L){this.chunk("#"),this.chunk(L.name)}}},13046:function(ue,j,f){var U=f(32347).TYPE.Ident;ue.exports={name:"Identifier",structure:{name:String},parse:function(){return{type:"Identifier",loc:this.getLocation(this.scanner.tokenStart,this.scanner.tokenEnd),name:this.consume(U)}},generate:function(L){this.chunk(L.name)}}},72396:function(ue,j,f){var B=f(32347).TYPE,U=B.Ident,V=B.Number,L=B.Dimension,w=B.LeftParenthesis,R=B.RightParenthesis,b=B.Colon,E=B.Delim;ue.exports={name:"MediaFeature",structure:{name:String,value:["Identifier","Number","Dimension","Ratio",null]},parse:function(){var O,Z=this.scanner.tokenStart,y=null;if(this.eat(w),this.scanner.skipSC(),O=this.consume(U),this.scanner.skipSC(),this.scanner.tokenType!==R){switch(this.eat(b),this.scanner.skipSC(),this.scanner.tokenType){case V:y=this.lookupNonWSType(1)===E?this.Ratio():this.Number();break;case L:y=this.Dimension();break;case U:y=this.Identifier();break;default:this.error("Number, dimension, ratio or identifier is expected")}this.scanner.skipSC()}return this.eat(R),{type:"MediaFeature",loc:this.getLocation(Z,this.scanner.tokenStart),name:O,value:y}},generate:function(Z){this.chunk("("),this.chunk(Z.name),null!==Z.value&&(this.chunk(":"),this.node(Z.value)),this.chunk(")")}}},86052:function(ue,j,f){var B=f(32347).TYPE,U=B.WhiteSpace,V=B.Comment,L=B.Ident,w=B.LeftParenthesis;ue.exports={name:"MediaQuery",structure:{children:[["Identifier","MediaFeature","WhiteSpace"]]},parse:function(){this.scanner.skipSC();var b=this.createList(),E=null,x=null;e:for(;!this.scanner.eof;){switch(this.scanner.tokenType){case V:this.scanner.next();continue;case U:x=this.WhiteSpace();continue;case L:E=this.Identifier();break;case w:E=this.MediaFeature();break;default:break e}null!==x&&(b.push(x),x=null),b.push(E)}return null===E&&this.error("Identifier or parenthesis is expected"),{type:"MediaQuery",loc:this.getLocationFromList(b),children:b}},generate:function(b){this.children(b)}}},21833:function(ue,j,f){var B=f(32347).TYPE.Comma;ue.exports={name:"MediaQueryList",structure:{children:[["MediaQuery"]]},parse:function(V){var L=this.createList();for(this.scanner.skipSC();!this.scanner.eof&&(L.push(this.MediaQuery(V)),this.scanner.tokenType===B);)this.scanner.next();return{type:"MediaQueryList",loc:this.getLocationFromList(L),children:L}},generate:function(V){this.children(V,function(){this.chunk(",")})}}},92669:function(ue){ue.exports={name:"Nth",structure:{nth:["AnPlusB","Identifier"],selector:["SelectorList",null]},parse:function(f){this.scanner.skipSC();var L,B=this.scanner.tokenStart,U=B,V=null;return L=this.scanner.lookupValue(0,"odd")||this.scanner.lookupValue(0,"even")?this.Identifier():this.AnPlusB(),this.scanner.skipSC(),f&&this.scanner.lookupValue(0,"of")?(this.scanner.next(),V=this.SelectorList(),this.needPositions&&(U=this.getLastListNode(V.children).loc.end.offset)):this.needPositions&&(U=L.loc.end.offset),{type:"Nth",loc:this.getLocation(B,U),nth:L,selector:V}},generate:function(f){this.node(f.nth),null!==f.selector&&(this.chunk(" of "),this.node(f.selector))}}},26047:function(ue,j,f){var B=f(32347).TYPE.Number;ue.exports={name:"Number",structure:{value:String},parse:function(){return{type:"Number",loc:this.getLocation(this.scanner.tokenStart,this.scanner.tokenEnd),value:this.consume(B)}},generate:function(V){this.chunk(V.value)}}},76807:function(ue){ue.exports={name:"Operator",structure:{value:String},parse:function(){var f=this.scanner.tokenStart;return this.scanner.next(),{type:"Operator",loc:this.getLocation(f,this.scanner.tokenStart),value:this.scanner.substrToCursor(f)}},generate:function(f){this.chunk(f.value)}}},98615:function(ue,j,f){var B=f(32347).TYPE,U=B.LeftParenthesis,V=B.RightParenthesis;ue.exports={name:"Parentheses",structure:{children:[[]]},parse:function(w,R){var E,b=this.scanner.tokenStart;return this.eat(U),E=w.call(this,R),this.scanner.eof||this.eat(V),{type:"Parentheses",loc:this.getLocation(b,this.scanner.tokenStart),children:E}},generate:function(w){this.chunk("("),this.children(w),this.chunk(")")}}},93368:function(ue,j,f){var B=f(22390).consumeNumber,V=f(32347).TYPE.Percentage;ue.exports={name:"Percentage",structure:{value:String},parse:function(){var w=this.scanner.tokenStart,R=B(this.scanner.source,w);return this.eat(V),{type:"Percentage",loc:this.getLocation(w,this.scanner.tokenStart),value:this.scanner.source.substring(w,R)}},generate:function(w){this.chunk(w.value),this.chunk("%")}}},57706:function(ue,j,f){var B=f(32347).TYPE,U=B.Ident,V=B.Function,L=B.Colon,w=B.RightParenthesis;ue.exports={name:"PseudoClassSelector",structure:{name:String,children:[["Raw"],null]},parse:function(){var x,Z,b=this.scanner.tokenStart,E=null;return this.eat(L),this.scanner.tokenType===V?(Z=(x=this.consumeFunctionName()).toLowerCase(),this.pseudo.hasOwnProperty(Z)?(this.scanner.skipSC(),E=this.pseudo[Z].call(this),this.scanner.skipSC()):(E=this.createList()).push(this.Raw(this.scanner.tokenIndex,null,!1)),this.eat(w)):x=this.consume(U),{type:"PseudoClassSelector",loc:this.getLocation(b,this.scanner.tokenStart),name:x,children:E}},generate:function(b){this.chunk(":"),this.chunk(b.name),null!==b.children&&(this.chunk("("),this.children(b),this.chunk(")"))},walkContext:"function"}},89108:function(ue,j,f){var B=f(32347).TYPE,U=B.Ident,V=B.Function,L=B.Colon,w=B.RightParenthesis;ue.exports={name:"PseudoElementSelector",structure:{name:String,children:[["Raw"],null]},parse:function(){var x,Z,b=this.scanner.tokenStart,E=null;return this.eat(L),this.eat(L),this.scanner.tokenType===V?(Z=(x=this.consumeFunctionName()).toLowerCase(),this.pseudo.hasOwnProperty(Z)?(this.scanner.skipSC(),E=this.pseudo[Z].call(this),this.scanner.skipSC()):(E=this.createList()).push(this.Raw(this.scanner.tokenIndex,null,!1)),this.eat(w)):x=this.consume(U),{type:"PseudoElementSelector",loc:this.getLocation(b,this.scanner.tokenStart),name:x,children:E}},generate:function(b){this.chunk("::"),this.chunk(b.name),null!==b.children&&(this.chunk("("),this.children(b),this.chunk(")"))},walkContext:"function"}},2311:function(ue,j,f){var B=f(32347).isDigit,U=f(32347).TYPE,V=U.Number,L=U.Delim;function b(){this.scanner.skipWS();for(var E=this.consume(V),x=0;x<E.length;x++){var Z=E.charCodeAt(x);!B(Z)&&46!==Z&&this.error("Unsigned number is expected",this.scanner.tokenStart-E.length+x)}return 0===Number(E)&&this.error("Zero number is not allowed",this.scanner.tokenStart-E.length),E}ue.exports={name:"Ratio",structure:{left:String,right:String},parse:function(){var O,x=this.scanner.tokenStart,Z=b.call(this);return this.scanner.skipWS(),this.scanner.isDelim(47)||this.error("Solidus is expected"),this.eat(L),O=b.call(this),{type:"Ratio",loc:this.getLocation(x,this.scanner.tokenStart),left:Z,right:O}},generate:function(x){this.chunk(x.left),this.chunk("/"),this.chunk(x.right)}}},89246:function(ue,j,f){var U=f(32347).TYPE,V=U.WhiteSpace,L=U.Semicolon,w=U.LeftCurlyBracket,R=U.Delim;function E(){return this.scanner.tokenIndex>0&&this.scanner.lookupType(-1)===V?this.scanner.tokenIndex>1?this.scanner.getTokenStart(this.scanner.tokenIndex-1):this.scanner.firstCharOffset:this.scanner.tokenStart}function x(){return 0}ue.exports={name:"Raw",structure:{value:String},parse:function(v,g,M){var S,k=this.scanner.getTokenStart(v);return this.scanner.skip(this.scanner.getRawLength(v,g||x)),S=M&&this.scanner.tokenStart>k?E.call(this):this.scanner.tokenStart,{type:"Raw",loc:this.getLocation(k,S),value:this.scanner.source.substring(k,S)}},generate:function(v){this.chunk(v.value)},mode:{default:x,leftCurlyBracket:function(D){return D===w?1:0},leftCurlyBracketOrSemicolon:function(D){return D===w||D===L?1:0},exclamationMarkOrSemicolon:function(D,v,g){return D===R&&33===v.charCodeAt(g)||D===L?1:0},semicolonIncluded:function(D){return D===L?2:0}}}},87688:function(ue,j,f){var B=f(32347).TYPE,U=f(89246).mode,V=B.LeftCurlyBracket;function L(R){return this.Raw(R,U.leftCurlyBracket,!0)}function w(){var R=this.SelectorList();return"Raw"!==R.type&&!1===this.scanner.eof&&this.scanner.tokenType!==V&&this.error(),R}ue.exports={name:"Rule",structure:{prelude:["SelectorList","Raw"],block:["Block"]},parse:function(){var x,Z,b=this.scanner.tokenIndex,E=this.scanner.tokenStart;return x=this.parseRulePrelude?this.parseWithFallback(w,L):L.call(this,b),Z=this.Block(!0),{type:"Rule",loc:this.getLocation(E,this.scanner.tokenStart),prelude:x,block:Z}},generate:function(b){this.node(b.prelude),this.node(b.block)},walkContext:"rule"}},28897:function(ue){ue.exports={name:"Selector",structure:{children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator","WhiteSpace"]]},parse:function(){var f=this.readSequence(this.scope.Selector);return null===this.getFirstListNode(f)&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(f),children:f}},generate:function(f){this.children(f)}}},90790:function(ue,j,f){var U=f(32347).TYPE.Comma;ue.exports={name:"SelectorList",structure:{children:[["Selector","Raw"]]},parse:function(){for(var L=this.createList();!this.scanner.eof&&(L.push(this.Selector()),this.scanner.tokenType===U);)this.scanner.next();return{type:"SelectorList",loc:this.getLocationFromList(L),children:L}},generate:function(L){this.children(L,function(){this.chunk(",")})},walkContext:"selector"}},24456:function(ue,j,f){var B=f(32347).TYPE.String;ue.exports={name:"String",structure:{value:String},parse:function(){return{type:"String",loc:this.getLocation(this.scanner.tokenStart,this.scanner.tokenEnd),value:this.consume(B)}},generate:function(V){this.chunk(V.value)}}},79823:function(ue,j,f){var B=f(32347).TYPE,U=B.WhiteSpace,V=B.Comment,L=B.AtKeyword,w=B.CDO,R=B.CDC;function E(x){return this.Raw(x,null,!1)}ue.exports={name:"StyleSheet",structure:{children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]},parse:function(){for(var y,Z=this.scanner.tokenStart,O=this.createList();!this.scanner.eof;){switch(this.scanner.tokenType){case U:this.scanner.next();continue;case V:if(33!==this.scanner.source.charCodeAt(this.scanner.tokenStart+2)){this.scanner.next();continue}y=this.Comment();break;case w:y=this.CDO();break;case R:y=this.CDC();break;case L:y=this.parseWithFallback(this.Atrule,E);break;default:y=this.parseWithFallback(this.Rule,E)}O.push(y)}return{type:"StyleSheet",loc:this.getLocation(Z,this.scanner.tokenStart),children:O}},generate:function(Z){this.children(Z)},walkContext:"stylesheet"}},39415:function(ue,j,f){var U=f(32347).TYPE.Ident;function w(){this.scanner.tokenType!==U&&!1===this.scanner.isDelim(42)&&this.error("Identifier or asterisk is expected"),this.scanner.next()}ue.exports={name:"TypeSelector",structure:{name:String},parse:function(){var b=this.scanner.tokenStart;return this.scanner.isDelim(124)?(this.scanner.next(),w.call(this)):(w.call(this),this.scanner.isDelim(124)&&(this.scanner.next(),w.call(this))),{type:"TypeSelector",loc:this.getLocation(b,this.scanner.tokenStart),name:this.scanner.substrToCursor(b)}},generate:function(b){this.chunk(b.name)}}},32218:function(ue,j,f){var B=f(32347).isHexDigit,U=f(32347).cmpChar,V=f(32347).TYPE,L=f(32347).NAME,w=V.Ident,R=V.Number,b=V.Dimension;function y(g,M){for(var k=this.scanner.tokenStart+g,S=0;k<this.scanner.tokenEnd;k++){var I=this.scanner.source.charCodeAt(k);if(45===I&&M&&0!==S)return 0===y.call(this,g+S+1,!1)&&this.error(),-1;B(I)||this.error(M&&0!==S?"HyphenMinus"+(S<6?" or hex digit":"")+" is expected":S<6?"Hex digit is expected":"Unexpected input",k),++S>6&&this.error("Too many hex digits",k)}return this.scanner.next(),S}function T(g){for(var M=0;this.scanner.isDelim(63);)++M>g&&this.error("Too many question marks"),this.scanner.next()}function D(g){this.scanner.source.charCodeAt(this.scanner.tokenStart)!==g&&this.error(L[g]+" is expected")}function v(){var g=0;return this.scanner.isDelim(43)?(this.scanner.next(),this.scanner.tokenType===w?void((g=y.call(this,0,!0))>0&&T.call(this,6-g)):this.scanner.isDelim(63)?(this.scanner.next(),void T.call(this,5)):void this.error("Hex digit or question mark is expected")):this.scanner.tokenType===R?(D.call(this,43),g=y.call(this,1,!0),this.scanner.isDelim(63)?void T.call(this,6-g):this.scanner.tokenType===b||this.scanner.tokenType===R?(D.call(this,45),void y.call(this,1,!1)):void 0):this.scanner.tokenType===b?(D.call(this,43),void((g=y.call(this,1,!0))>0&&T.call(this,6-g))):void this.error()}ue.exports={name:"UnicodeRange",structure:{value:String},parse:function(){var M=this.scanner.tokenStart;return U(this.scanner.source,M,117)||this.error("U is expected"),U(this.scanner.source,M+1,43)||this.error("Plus sign is expected"),this.scanner.next(),v.call(this),{type:"UnicodeRange",loc:this.getLocation(M,this.scanner.tokenStart),value:this.scanner.substrToCursor(M)}},generate:function(M){this.chunk(M.value)}}},68455:function(ue,j,f){var B=f(32347).isWhiteSpace,U=f(32347).cmpStr,V=f(32347).TYPE,L=V.Function,w=V.Url,R=V.RightParenthesis;ue.exports={name:"Url",structure:{value:["String","Raw"]},parse:function(){var x,E=this.scanner.tokenStart;switch(this.scanner.tokenType){case w:for(var Z=E+4,O=this.scanner.tokenEnd-1;Z<O&&B(this.scanner.source.charCodeAt(Z));)Z++;for(;Z<O&&B(this.scanner.source.charCodeAt(O-1));)O--;x={type:"Raw",loc:this.getLocation(Z,O),value:this.scanner.source.substring(Z,O)},this.eat(w);break;case L:U(this.scanner.source,this.scanner.tokenStart,this.scanner.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(L),this.scanner.skipSC(),x=this.String(),this.scanner.skipSC(),this.eat(R);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(E,this.scanner.tokenStart),value:x}},generate:function(E){this.chunk("url"),this.chunk("("),this.node(E.value),this.chunk(")")}}},81217:function(ue){ue.exports={name:"Value",structure:{children:[[]]},parse:function(){var f=this.scanner.tokenStart,B=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(f,this.scanner.tokenStart),children:B}},generate:function(f){this.children(f)}}},77701:function(ue,j,f){var B=f(32347).TYPE.WhiteSpace,U=Object.freeze({type:"WhiteSpace",loc:null,value:" "});ue.exports={name:"WhiteSpace",structure:{value:String},parse:function(){return this.eat(B),U},generate:function(L){this.chunk(L.value)}}},41088:function(ue,j,f){ue.exports={AnPlusB:f(45056),Atrule:f(10761),AtrulePrelude:f(83553),AttributeSelector:f(80883),Block:f(75479),Brackets:f(3856),CDC:f(58106),CDO:f(63232),ClassSelector:f(21656),Combinator:f(19734),Comment:f(37986),Declaration:f(96137),DeclarationList:f(30118),Dimension:f(17937),Function:f(61511),Hash:f(26805),Identifier:f(13046),IdSelector:f(21683),MediaFeature:f(72396),MediaQuery:f(86052),MediaQueryList:f(21833),Nth:f(92669),Number:f(26047),Operator:f(76807),Parentheses:f(98615),Percentage:f(93368),PseudoClassSelector:f(57706),PseudoElementSelector:f(89108),Ratio:f(2311),Raw:f(89246),Rule:f(87688),Selector:f(28897),SelectorList:f(90790),String:f(24456),StyleSheet:f(79823),TypeSelector:f(39415),UnicodeRange:f(32218),Url:f(68455),Value:f(81217),WhiteSpace:f(77701)}},85894:function(ue){ue.exports={parse:function(){return this.createSingleNodeList(this.Nth(!1))}}},80182:function(ue){ue.exports={parse:function(){return this.createSingleNodeList(this.Nth(!0))}}},22056:function(ue){ue.exports={parse:function(){return this.createSingleNodeList(this.SelectorList())}}},52679:function(ue){ue.exports={parse:function(){return this.createSingleNodeList(this.Identifier())}}},14493:function(ue){ue.exports={parse:function(){return this.createSingleNodeList(this.SelectorList())}}},50493:function(ue,j,f){ue.exports={dir:f(52679),has:f(14493),lang:f(62784),matches:f(26629),not:f(66435),"nth-child":f(69152),"nth-last-child":f(76873),"nth-last-of-type":f(50712),"nth-of-type":f(80311),slotted:f(17067)}},62784:function(ue){ue.exports={parse:function(){return this.createSingleNodeList(this.Identifier())}}},26629:function(ue,j,f){ue.exports=f(22056)},66435:function(ue,j,f){ue.exports=f(22056)},69152:function(ue,j,f){ue.exports=f(80182)},76873:function(ue,j,f){ue.exports=f(80182)},50712:function(ue,j,f){ue.exports=f(85894)},80311:function(ue,j,f){ue.exports=f(85894)},17067:function(ue){ue.exports={parse:function(){return this.createSingleNodeList(this.Selector())}}},7400:function(ue,j,f){ue.exports={getNode:f(77048)}},77048:function(ue,j,f){var B=f(32347).cmpChar,U=f(32347).cmpStr,V=f(32347).TYPE,L=V.Ident,w=V.String,R=V.Number,b=V.Function,E=V.Url,x=V.Hash,Z=V.Dimension,O=V.Percentage,y=V.LeftParenthesis,T=V.LeftSquareBracket,D=V.Comma,v=V.Delim;ue.exports=function(X){switch(this.scanner.tokenType){case x:return this.Hash();case D:return X.space=null,X.ignoreWSAfter=!0,this.Operator();case y:return this.Parentheses(this.readSequence,X.recognizer);case T:return this.Brackets(this.readSequence,X.recognizer);case w:return this.String();case Z:return this.Dimension();case O:return this.Percentage();case R:return this.Number();case b:return U(this.scanner.source,this.scanner.tokenStart,this.scanner.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,X.recognizer);case E:return this.Url();case L:return B(this.scanner.source,this.scanner.tokenStart,117)&&B(this.scanner.source,this.scanner.tokenStart+1,43)?this.UnicodeRange():this.Identifier();case v:var W=this.scanner.source.charCodeAt(this.scanner.tokenStart);if(47===W||42===W||43===W||45===W)return this.Operator();35===W&&this.error("Hex or identifier is expected",this.scanner.tokenStart+1)}}},64606:function(ue,j,f){ue.exports={AtrulePrelude:f(7400),Selector:f(71546),Value:f(61886)}},71546:function(ue,j,f){var B=f(32347).TYPE,U=B.Delim,V=B.Ident,L=B.Dimension,w=B.Percentage,R=B.Number,b=B.Hash,E=B.Colon,x=B.LeftSquareBracket;ue.exports={getNode:function(S){switch(this.scanner.tokenType){case x:return this.AttributeSelector();case b:return this.IdSelector();case E:return this.scanner.lookupType(1)===E?this.PseudoElementSelector():this.PseudoClassSelector();case V:return this.TypeSelector();case R:case w:return this.Percentage();case L:46===this.scanner.source.charCodeAt(this.scanner.tokenStart)&&this.error("Identifier is expected",this.scanner.tokenStart+1);break;case U:switch(this.scanner.source.charCodeAt(this.scanner.tokenStart)){case 43:case 62:case 126:return S.space=null,S.ignoreWSAfter=!0,this.Combinator();case 47:return this.Combinator();case 46:return this.ClassSelector();case 42:case 124:return this.TypeSelector();case 35:return this.IdSelector()}}}}},61886:function(ue,j,f){ue.exports={getNode:f(77048),expression:f(71e3),var:f(23575)}},1724:function(ue){function f(k){return k>=48&&k<=57}function U(k){return k>=65&&k<=90}function V(k){return k>=97&&k<=122}function L(k){return U(k)||V(k)}function w(k){return k>=128}function R(k){return L(k)||w(k)||95===k}function E(k){return k>=0&&k<=8||11===k||k>=14&&k<=31||127===k}function x(k){return 10===k||13===k||12===k}function Z(k){return x(k)||32===k||9===k}function O(k,S){return!(92!==k||x(S)||0===S)}var v=new Array(128);M.Eof=128,M.WhiteSpace=130,M.Digit=131,M.NameStart=132,M.NonPrintable=133;for(var g=0;g<v.length;g++)switch(!0){case Z(g):v[g]=M.WhiteSpace;break;case f(g):v[g]=M.Digit;break;case R(g):v[g]=M.NameStart;break;case E(g):v[g]=M.NonPrintable;break;default:v[g]=g||M.Eof}function M(k){return k<128?v[k]:M.NameStart}ue.exports={isDigit:f,isHexDigit:function(k){return f(k)||k>=65&&k<=70||k>=97&&k<=102},isUppercaseLetter:U,isLowercaseLetter:V,isLetter:L,isNonAscii:w,isNameStart:R,isName:function(k){return R(k)||f(k)||45===k},isNonPrintable:E,isNewline:x,isWhiteSpace:Z,isValidEscape:O,isIdentifierStart:function(k,S,I){return 45===k?R(S)||45===S||O(S,I):!!R(k)||92===k&&O(k,S)},isNumberStart:function(k,S,I){return 43===k||45===k?f(S)?2:46===S&&f(I)?3:0:46===k?f(S)?2:0:f(k)?1:0},isBOM:function(k){return 65279===k||65534===k?1:0},charCodeCategory:M}},74715:function(ue){var j={EOF:0,Ident:1,Function:2,AtKeyword:3,Hash:4,String:5,BadString:6,Url:7,BadUrl:8,Delim:9,Number:10,Percentage:11,Dimension:12,WhiteSpace:13,CDO:14,CDC:15,Colon:16,Semicolon:17,Comma:18,LeftSquareBracket:19,RightSquareBracket:20,LeftParenthesis:21,RightParenthesis:22,LeftCurlyBracket:23,RightCurlyBracket:24,Comment:25},f=Object.keys(j).reduce(function(B,U){return B[j[U]]=U,B},{});ue.exports={TYPE:j,NAME:f}},32347:function(ue,j,f){var B=f(26922),U=f(16418),V=f(74715),L=V.TYPE,w=f(1724),R=w.isNewline,b=w.isName,E=w.isValidEscape,x=w.isNumberStart,Z=w.isIdentifierStart,O=w.charCodeCategory,y=w.isBOM,T=f(22390),D=T.cmpStr,v=T.getNewlineLength,g=T.findWhiteSpaceEnd,M=T.consumeEscaped,k=T.consumeName,S=T.consumeNumber,I=T.consumeBadUrlRemnants,F=16777215,G=24;function X(W,Y){function ae(He){return He<de?W.charCodeAt(He):0}function K(){return De=S(W,De),Z(ae(De),ae(De+1),ae(De+2))?(xe=L.Dimension,void(De=k(W,De))):37===ae(De)?(xe=L.Percentage,void De++):void(xe=L.Number)}function fe(){var He=De;return De=k(W,De),D(W,He,De,"url")&&40===ae(De)?34===ae(De=g(W,De+1))||39===ae(De)?(xe=L.Function,void(De=He+4)):void function(){for(xe=L.Url,De=g(W,De);De<W.length;De++){var He=W.charCodeAt(De);switch(O(He)){case 41:return void De++;case O.Eof:return;case O.WhiteSpace:return 41===ae(De=g(W,De))||De>=W.length?void(De<W.length&&De++):(De=I(W,De),void(xe=L.BadUrl));case 34:case 39:case 40:case O.NonPrintable:return De=I(W,De),void(xe=L.BadUrl);case 92:if(E(He,ae(De+1))){De=M(W,De)-1;break}return De=I(W,De),void(xe=L.BadUrl)}}}():40===ae(De)?(xe=L.Function,void De++):void(xe=L.Ident)}function ce(He){for(He||(He=ae(De++)),xe=L.String;De<W.length;De++){var st=W.charCodeAt(De);switch(O(st)){case He:return void De++;case O.Eof:return;case O.WhiteSpace:if(R(st))return De+=v(W,De,st),void(xe=L.BadString);break;case 92:if(De===W.length-1)break;var tt=ae(De+1);R(tt)?De+=v(W,De+1,tt):E(st,tt)&&(De=M(W,De)-1)}}}Y||(Y=new B);for(var de=(W=String(W||"")).length,oe=U(Y.offsetAndType,de+1),Ce=U(Y.balance,de+1),ge=0,qe=y(ae(0)),De=qe,Qe=0,et=0,bt=0;De<de;){var _e=W.charCodeAt(De),xe=0;switch(Ce[ge]=de,O(_e)){case O.WhiteSpace:xe=L.WhiteSpace,De=g(W,De+1);break;case 34:case 39:ce();break;case 35:b(ae(De+1))||E(ae(De+1),ae(De+2))?(xe=L.Hash,De=k(W,De+1)):(xe=L.Delim,De++);break;case 40:xe=L.LeftParenthesis,De++;break;case 41:xe=L.RightParenthesis,De++;break;case 43:case 46:x(_e,ae(De+1),ae(De+2))?K():(xe=L.Delim,De++);break;case 44:xe=L.Comma,De++;break;case 45:x(_e,ae(De+1),ae(De+2))?K():45===ae(De+1)&&62===ae(De+2)?(xe=L.CDC,De+=3):Z(_e,ae(De+1),ae(De+2))?fe():(xe=L.Delim,De++);break;case 47:42===ae(De+1)?(xe=L.Comment,1===(De=W.indexOf("*/",De+2)+2)&&(De=W.length)):(xe=L.Delim,De++);break;case 58:xe=L.Colon,De++;break;case 59:xe=L.Semicolon,De++;break;case 60:33===ae(De+1)&&45===ae(De+2)&&45===ae(De+3)?(xe=L.CDO,De+=4):(xe=L.Delim,De++);break;case 64:Z(ae(De+1),ae(De+2),ae(De+3))?(xe=L.AtKeyword,De=k(W,De+1)):(xe=L.Delim,De++);break;case 91:xe=L.LeftSquareBracket,De++;break;case 92:E(_e,ae(De+1))?fe():(xe=L.Delim,De++);break;case 93:xe=L.RightSquareBracket,De++;break;case 123:xe=L.LeftCurlyBracket,De++;break;case 125:xe=L.RightCurlyBracket,De++;break;case O.Digit:K();break;case O.NameStart:fe();break;case O.Eof:break;default:xe=L.Delim,De++}switch(xe){case Qe:for(Qe=(et=Ce[bt=et&F])>>G,Ce[ge]=bt,Ce[bt++]=ge;bt<ge;bt++)Ce[bt]===de&&(Ce[bt]=ge);break;case L.LeftParenthesis:case L.Function:Ce[ge]=et,et=(Qe=L.RightParenthesis)<<G|ge;break;case L.LeftSquareBracket:Ce[ge]=et,et=(Qe=L.RightSquareBracket)<<G|ge;break;case L.LeftCurlyBracket:Ce[ge]=et,et=(Qe=L.RightCurlyBracket)<<G|ge}oe[ge++]=xe<<G|De}for(oe[ge]=L.EOF<<G|De,Ce[ge]=de,Ce[de]=de;0!==et;)et=Ce[bt=et&F],Ce[bt]=de;return Y.source=W,Y.firstCharOffset=qe,Y.offsetAndType=oe,Y.tokenCount=ge,Y.balance=Ce,Y.reset(),Y.next(),Y}Object.keys(V).forEach(function(W){X[W]=V[W]}),Object.keys(w).forEach(function(W){X[W]=w[W]}),Object.keys(T).forEach(function(W){X[W]=T[W]}),ue.exports=X},22390:function(ue,j,f){var B=f(1724),U=B.isDigit,V=B.isHexDigit,L=B.isUppercaseLetter,w=B.isName,R=B.isWhiteSpace,b=B.isValidEscape;function E(S,I){return I<S.length?S.charCodeAt(I):0}function x(S,I,F){return 13===F&&10===E(S,I+1)?2:1}function Z(S,I,F){var G=S.charCodeAt(I);return L(G)&&(G|=32),G===F}function D(S,I){for(;I<S.length&&U(S.charCodeAt(I));I++);return I}function v(S,I){if(V(E(S,(I+=2)-1))){for(var F=Math.min(S.length,I+5);I<F&&V(E(S,I));I++);var G=E(S,I);R(G)&&(I+=x(S,I,G))}return I}ue.exports={consumeEscaped:v,consumeName:function(S,I){for(;I<S.length;I++){var F=S.charCodeAt(I);if(!w(F)){if(b(F,E(S,I+1))){I=v(S,I)-1;continue}break}}return I},consumeNumber:function(S,I){var F=S.charCodeAt(I);if((43===F||45===F)&&(F=S.charCodeAt(I+=1)),U(F)&&(I=D(S,I+1),F=S.charCodeAt(I)),46===F&&U(S.charCodeAt(I+1))&&(F=S.charCodeAt(I+=2),I=D(S,I)),Z(S,I,101)){var G=0;(45===(F=S.charCodeAt(I+1))||43===F)&&(G=1,F=S.charCodeAt(I+2)),U(F)&&(I=D(S,I+1+G+1))}return I},consumeBadUrlRemnants:function(S,I){for(;I<S.length;I++){var F=S.charCodeAt(I);if(41===F){I++;break}b(F,E(S,I+1))&&(I=v(S,I))}return I},cmpChar:Z,cmpStr:function(S,I,F,G){if(F-I!==G.length||I<0||F>S.length)return!1;for(var X=I;X<F;X++){var W=S.charCodeAt(X),Y=G.charCodeAt(X-I);if(L(W)&&(W|=32),W!==Y)return!1}return!0},getNewlineLength:x,findWhiteSpaceStart:function(S,I){for(;I>=0&&R(S.charCodeAt(I));I--);return I+1},findWhiteSpaceEnd:function(S,I){for(;I<S.length&&R(S.charCodeAt(I));I++);return I}}},7135:function(ue,j,f){var B=f(40174);ue.exports=function U(V){var L={};for(var w in V){var R=V[w];R&&(Array.isArray(R)||R instanceof B?R=R.map(U):R.constructor===Object&&(R=U(R))),L[w]=R}return L}},61122:function(ue){ue.exports=function(f,B){var U=Object.create(SyntaxError.prototype),V=new Error;return U.name=f,U.message=B,Object.defineProperty(U,"stack",{get:function(){return(V.stack||"").replace(/^(.+\n){1,3}/,f+": "+B+"\n")}}),U}},60213:function(ue){var j=Object.prototype.hasOwnProperty,f=Object.create(null),B=Object.create(null);function V(b,E){return b.length-(E=E||0)>=2&&45===b.charCodeAt(E)&&45===b.charCodeAt(E+1)}function L(b,E){if(b.length-(E=E||0)>=3&&45===b.charCodeAt(E)&&45!==b.charCodeAt(E+1)){var x=b.indexOf("-",E+2);if(-1!==x)return b.substring(E,x+1)}return""}ue.exports={keyword:function(b){if(j.call(f,b))return f[b];var E=b.toLowerCase();if(j.call(f,E))return f[b]=f[E];var x=V(E,0),Z=x?"":L(E,0);return f[b]=Object.freeze({basename:E.substr(Z.length),name:E,vendor:Z,prefix:Z,custom:x})},property:function(b){if(j.call(B,b))return B[b];var E=b,x=b[0];"/"===x?x="/"===b[1]?"//":"/":"_"!==x&&"*"!==x&&"$"!==x&&"#"!==x&&"+"!==x&&"&"!==x&&(x="");var Z=V(E,x.length);if(!Z&&(E=E.toLowerCase(),j.call(B,E)))return B[b]=B[E];var O=Z?"":L(E,x.length),y=E.substr(0,x.length+O.length);return B[b]=Object.freeze({basename:E.substr(y.length),name:E.substr(x.length),hack:x,vendor:O,prefix:y,custom:Z})},isCustomProperty:V,vendorPrefix:L}},75504:function(ue){var j=Object.prototype.hasOwnProperty,f=function(){};function B(b){return"function"==typeof b?b:f}function U(b,E){return function(x,Z,O){x.type===E&&b.call(this,x,Z,O)}}function V(b,E){var x=E.structure,Z=[];for(var O in x)if(!1!==j.call(x,O)){var y=x[O],T={name:O,type:!1,nullable:!1};Array.isArray(x[O])||(y=[x[O]]);for(var D=0;D<y.length;D++){var v=y[D];null===v?T.nullable=!0:"string"==typeof v?T.type="node":Array.isArray(v)&&(T.type="list")}T.type&&Z.push(T)}return Z.length?{context:E.walkContext,fields:Z}:null}function w(b,E){var x=b.fields.slice(),Z=b.context,O="string"==typeof Z;return E&&x.reverse(),function(y,T,D,v){var g;O&&(g=T[Z],T[Z]=y);for(var M=0;M<x.length;M++){var k=x[M],S=y[k.name];if(!k.nullable||S)if("list"===k.type){if(E?S.reduceRight(v,!1):S.reduce(v,!1))return!0}else if(D(S))return!0}O&&(T[Z]=g)}}function R(b){return{Atrule:{StyleSheet:b.StyleSheet,Atrule:b.Atrule,Rule:b.Rule,Block:b.Block},Rule:{StyleSheet:b.StyleSheet,Atrule:b.Atrule,Rule:b.Rule,Block:b.Block},Declaration:{StyleSheet:b.StyleSheet,Atrule:b.Atrule,Rule:b.Rule,Block:b.Block,DeclarationList:b.DeclarationList}}}ue.exports=function(E){var x=function(b){var E={};for(var x in b.node)if(j.call(b.node,x)){var Z=b.node[x];if(!Z.structure)throw new Error("Missed `structure` field in `"+x+"` node type definition");E[x]=V(0,Z)}return E}(E),Z={},O={},y=Symbol("break-walk"),T=Symbol("skip-node");for(var D in x)j.call(x,D)&&null!==x[D]&&(Z[D]=w(x[D],!1),O[D]=w(x[D],!0));var v=R(Z),g=R(O),M=function(S,I){function F(K,fe,ce){var he=X.call(ae,K,fe,ce);return he===y||he!==T&&!!(Y.hasOwnProperty(K.type)&&Y[K.type](K,ae,F,G)||W.call(ae,K,fe,ce)===y)}var G=function(fe,ce,he,de){return fe||F(ce,he,de)},X=f,W=f,Y=Z,ae={break:y,skip:T,root:S,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if("function"==typeof I)X=I;else if(I&&(X=B(I.enter),W=B(I.leave),I.reverse&&(Y=O),I.visit)){if(v.hasOwnProperty(I.visit))Y=I.reverse?g[I.visit]:v[I.visit];else if(!x.hasOwnProperty(I.visit))throw new Error("Bad value `"+I.visit+"` for `visit` option (should be: "+Object.keys(x).join(", ")+")");X=U(X,I.visit),W=U(W,I.visit)}if(X===f&&W===f)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");F(S)};return M.break=y,M.skip=T,M.find=function(k,S){var I=null;return M(k,function(F,G,X){if(S.call(this,F,G,X))return I=F,y}),I},M.findLast=function(k,S){var I=null;return M(k,{reverse:!0,enter:function(G,X,W){if(S.call(this,G,X,W))return I=G,y}}),I},M.findAll=function(k,S){var I=[];return M(k,function(F,G,X){S.call(this,F,G,X)&&I.push(F)}),I},M}},66700:function(ue,j,f){var B;!function(U,V,L){if(U){for(var x,w={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},R={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},b={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},E={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},Z=1;Z<20;++Z)w[111+Z]="f"+Z;for(Z=0;Z<=9;++Z)w[Z+96]=Z.toString();X.prototype.bind=function(W,Y,ae){var K=this;return K._bindMultiple.call(K,W=W instanceof Array?W:[W],Y,ae),K},X.prototype.unbind=function(W,Y){return this.bind.call(this,W,function(){},Y)},X.prototype.trigger=function(W,Y){return this._directMap[W+":"+Y]&&this._directMap[W+":"+Y]({},W),this},X.prototype.reset=function(){var W=this;return W._callbacks={},W._directMap={},W},X.prototype.stopCallback=function(W,Y){if((" "+Y.className+" ").indexOf(" mousetrap ")>-1||G(Y,this.target))return!1;if("composedPath"in W&&"function"==typeof W.composedPath){var K=W.composedPath()[0];K!==W.target&&(Y=K)}return"INPUT"==Y.tagName||"SELECT"==Y.tagName||"TEXTAREA"==Y.tagName||Y.isContentEditable},X.prototype.handleKey=function(){var W=this;return W._handleKey.apply(W,arguments)},X.addKeycodes=function(W){for(var Y in W)W.hasOwnProperty(Y)&&(w[Y]=W[Y]);x=null},X.init=function(){var W=X(V);for(var Y in W)"_"!==Y.charAt(0)&&(X[Y]=function(ae){return function(){return W[ae].apply(W,arguments)}}(Y))},X.init(),U.Mousetrap=X,ue.exports&&(ue.exports=X),void 0!==(B=function(){return X}.call(j,f,j,ue))&&(ue.exports=B)}function O(W,Y,ae){W.addEventListener?W.addEventListener(Y,ae,!1):W.attachEvent("on"+Y,ae)}function y(W){if("keypress"==W.type){var Y=String.fromCharCode(W.which);return W.shiftKey||(Y=Y.toLowerCase()),Y}return w[W.which]?w[W.which]:R[W.which]?R[W.which]:String.fromCharCode(W.which).toLowerCase()}function T(W,Y){return W.sort().join(",")===Y.sort().join(",")}function M(W){return"shift"==W||"ctrl"==W||"alt"==W||"meta"==W}function S(W,Y,ae){return ae||(ae=function(){if(!x)for(var W in x={},w)W>95&&W<112||w.hasOwnProperty(W)&&(x[w[W]]=W);return x}()[W]?"keydown":"keypress"),"keypress"==ae&&Y.length&&(ae="keydown"),ae}function F(W,Y){var ae,K,fe,ce=[];for(ae=function(W){return"+"===W?["+"]:(W=W.replace(/\+{2}/g,"+plus")).split("+")}(W),fe=0;fe<ae.length;++fe)E[K=ae[fe]]&&(K=E[K]),Y&&"keypress"!=Y&&b[K]&&(K=b[K],ce.push("shift")),M(K)&&ce.push(K);return{key:K,modifiers:ce,action:Y=S(K,ce,Y)}}function G(W,Y){return null!==W&&W!==V&&(W===Y||G(W.parentNode,Y))}function X(W){var Y=this;if(W=W||V,!(Y instanceof X))return new X(W);Y.target=W,Y._callbacks={},Y._directMap={};var K,ae={},fe=!1,ce=!1,he=!1;function de(et){et=et||{};var _e,bt=!1;for(_e in ae)et[_e]?bt=!0:ae[_e]=0;bt||(he=!1)}function oe(et,bt,_e,xe,He,st){var tt,Zt,Tt=[],mt=_e.type;if(!Y._callbacks[et])return[];for("keyup"==mt&&M(et)&&(bt=[et]),tt=0;tt<Y._callbacks[et].length;++tt)Zt=Y._callbacks[et][tt],!xe&&Zt.seq&&ae[Zt.seq]!=Zt.level||mt!=Zt.action||("keypress"!=mt||_e.metaKey||_e.ctrlKey)&&!T(bt,Zt.modifiers)||((!xe&&Zt.combo==He||xe&&Zt.seq==xe&&Zt.level==st)&&Y._callbacks[et].splice(tt,1),Tt.push(Zt));return Tt}function Ce(et,bt,_e,xe){Y.stopCallback(bt,bt.target||bt.srcElement,_e,xe)||!1===et(bt,_e)&&(function(W){W.preventDefault?W.preventDefault():W.returnValue=!1}(bt),function(W){W.stopPropagation?W.stopPropagation():W.cancelBubble=!0}(bt))}function ge(et){"number"!=typeof et.which&&(et.which=et.keyCode);var bt=y(et);if(bt){if("keyup"==et.type&&fe===bt)return void(fe=!1);Y.handleKey(bt,function(W){var Y=[];return W.shiftKey&&Y.push("shift"),W.altKey&&Y.push("alt"),W.ctrlKey&&Y.push("ctrl"),W.metaKey&&Y.push("meta"),Y}(et),et)}}function Qe(et,bt,_e,xe,He){Y._directMap[et+":"+_e]=bt;var tt,st=(et=et.replace(/\s+/g," ")).split(" ");st.length>1?function(et,bt,_e,xe){function He(mt){return function(){he=mt,++ae[et],clearTimeout(K),K=setTimeout(de,1e3)}}function st(mt){Ce(_e,mt,et),"keyup"!==xe&&(fe=y(mt)),setTimeout(de,10)}ae[et]=0;for(var tt=0;tt<bt.length;++tt){var Tt=tt+1===bt.length?st:He(xe||F(bt[tt+1]).action);Qe(bt[tt],Tt,xe,et,tt)}}(et,st,bt,_e):(tt=F(et,_e),Y._callbacks[tt.key]=Y._callbacks[tt.key]||[],oe(tt.key,tt.modifiers,{type:tt.action},xe,et,He),Y._callbacks[tt.key][xe?"unshift":"push"]({callback:bt,modifiers:tt.modifiers,action:tt.action,seq:xe,level:He,combo:et}))}Y._handleKey=function(et,bt,_e){var He,xe=oe(et,bt,_e),st={},tt=0,Zt=!1;for(He=0;He<xe.length;++He)xe[He].seq&&(tt=Math.max(tt,xe[He].level));for(He=0;He<xe.length;++He)if(xe[He].seq){if(xe[He].level!=tt)continue;Zt=!0,st[xe[He].seq]=1,Ce(xe[He].callback,_e,xe[He].combo,xe[He].seq)}else Zt||Ce(xe[He].callback,_e,xe[He].combo);var Tt="keypress"==_e.type&&ce;_e.type==he&&!M(et)&&!Tt&&de(st),ce=Zt&&"keydown"==_e.type},Y._bindMultiple=function(et,bt,_e){for(var xe=0;xe<et.length;++xe)Qe(et[xe],bt,_e)},O(W,"keypress",ge),O(W,"keydown",ge),O(W,"keyup",ge)}}("undefined"!=typeof window?window:null,"undefined"!=typeof window?document:null)},59889:function(ue){var j=function(f){"use strict";var V,B=Object.prototype,U=B.hasOwnProperty,L="function"==typeof Symbol?Symbol:{},w=L.iterator||"@@iterator",R=L.asyncIterator||"@@asyncIterator",b=L.toStringTag||"@@toStringTag";function E(oe,Ce,ge){return Object.defineProperty(oe,Ce,{value:ge,enumerable:!0,configurable:!0,writable:!0}),oe[Ce]}try{E({},"")}catch(oe){E=function(ge,qe,De){return ge[qe]=De}}function x(oe,Ce,ge,qe){var Qe=Object.create((Ce&&Ce.prototype instanceof g?Ce:g).prototype),et=new ce(qe||[]);return Qe._invoke=function(oe,Ce,ge){var qe=O;return function(Qe,et){if(qe===T)throw new Error("Generator is already running");if(qe===D){if("throw"===Qe)throw et;return de()}for(ge.method=Qe,ge.arg=et;;){var bt=ge.delegate;if(bt){var _e=ae(bt,ge);if(_e){if(_e===v)continue;return _e}}if("next"===ge.method)ge.sent=ge._sent=ge.arg;else if("throw"===ge.method){if(qe===O)throw qe=D,ge.arg;ge.dispatchException(ge.arg)}else"return"===ge.method&&ge.abrupt("return",ge.arg);qe=T;var xe=Z(oe,Ce,ge);if("normal"===xe.type){if(qe=ge.done?D:y,xe.arg===v)continue;return{value:xe.arg,done:ge.done}}"throw"===xe.type&&(qe=D,ge.method="throw",ge.arg=xe.arg)}}}(oe,ge,et),Qe}function Z(oe,Ce,ge){try{return{type:"normal",arg:oe.call(Ce,ge)}}catch(qe){return{type:"throw",arg:qe}}}f.wrap=x;var O="suspendedStart",y="suspendedYield",T="executing",D="completed",v={};function g(){}function M(){}function k(){}var S={};E(S,w,function(){return this});var I=Object.getPrototypeOf,F=I&&I(I(he([])));F&&F!==B&&U.call(F,w)&&(S=F);var G=k.prototype=g.prototype=Object.create(S);function X(oe){["next","throw","return"].forEach(function(Ce){E(oe,Ce,function(ge){return this._invoke(Ce,ge)})})}function W(oe,Ce){function ge(Qe,et,bt,_e){var xe=Z(oe[Qe],oe,et);if("throw"!==xe.type){var He=xe.arg,st=He.value;return st&&"object"==typeof st&&U.call(st,"__await")?Ce.resolve(st.__await).then(function(tt){ge("next",tt,bt,_e)},function(tt){ge("throw",tt,bt,_e)}):Ce.resolve(st).then(function(tt){He.value=tt,bt(He)},function(tt){return ge("throw",tt,bt,_e)})}_e(xe.arg)}var qe;this._invoke=function(Qe,et){function bt(){return new Ce(function(_e,xe){ge(Qe,et,_e,xe)})}return qe=qe?qe.then(bt,bt):bt()}}function ae(oe,Ce){var ge=oe.iterator[Ce.method];if(ge===V){if(Ce.delegate=null,"throw"===Ce.method){if(oe.iterator.return&&(Ce.method="return",Ce.arg=V,ae(oe,Ce),"throw"===Ce.method))return v;Ce.method="throw",Ce.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var qe=Z(ge,oe.iterator,Ce.arg);if("throw"===qe.type)return Ce.method="throw",Ce.arg=qe.arg,Ce.delegate=null,v;var De=qe.arg;return De?De.done?(Ce[oe.resultName]=De.value,Ce.next=oe.nextLoc,"return"!==Ce.method&&(Ce.method="next",Ce.arg=V),Ce.delegate=null,v):De:(Ce.method="throw",Ce.arg=new TypeError("iterator result is not an object"),Ce.delegate=null,v)}function K(oe){var Ce={tryLoc:oe[0]};1 in oe&&(Ce.catchLoc=oe[1]),2 in oe&&(Ce.finallyLoc=oe[2],Ce.afterLoc=oe[3]),this.tryEntries.push(Ce)}function fe(oe){var Ce=oe.completion||{};Ce.type="normal",delete Ce.arg,oe.completion=Ce}function ce(oe){this.tryEntries=[{tryLoc:"root"}],oe.forEach(K,this),this.reset(!0)}function he(oe){if(oe){var Ce=oe[w];if(Ce)return Ce.call(oe);if("function"==typeof oe.next)return oe;if(!isNaN(oe.length)){var ge=-1,qe=function De(){for(;++ge<oe.length;)if(U.call(oe,ge))return De.value=oe[ge],De.done=!1,De;return De.value=V,De.done=!0,De};return qe.next=qe}}return{next:de}}function de(){return{value:V,done:!0}}return M.prototype=k,E(G,"constructor",k),E(k,"constructor",M),M.displayName=E(k,b,"GeneratorFunction"),f.isGeneratorFunction=function(oe){var Ce="function"==typeof oe&&oe.constructor;return!!Ce&&(Ce===M||"GeneratorFunction"===(Ce.displayName||Ce.name))},f.mark=function(oe){return Object.setPrototypeOf?Object.setPrototypeOf(oe,k):(oe.__proto__=k,E(oe,b,"GeneratorFunction")),oe.prototype=Object.create(G),oe},f.awrap=function(oe){return{__await:oe}},X(W.prototype),E(W.prototype,R,function(){return this}),f.AsyncIterator=W,f.async=function(oe,Ce,ge,qe,De){void 0===De&&(De=Promise);var Qe=new W(x(oe,Ce,ge,qe),De);return f.isGeneratorFunction(Ce)?Qe:Qe.next().then(function(et){return et.done?et.value:Qe.next()})},X(G),E(G,b,"Generator"),E(G,w,function(){return this}),E(G,"toString",function(){return"[object Generator]"}),f.keys=function(oe){var Ce=[];for(var ge in oe)Ce.push(ge);return Ce.reverse(),function qe(){for(;Ce.length;){var De=Ce.pop();if(De in oe)return qe.value=De,qe.done=!1,qe}return qe.done=!0,qe}},f.values=he,ce.prototype={constructor:ce,reset:function(Ce){if(this.prev=0,this.next=0,this.sent=this._sent=V,this.done=!1,this.delegate=null,this.method="next",this.arg=V,this.tryEntries.forEach(fe),!Ce)for(var ge in this)"t"===ge.charAt(0)&&U.call(this,ge)&&!isNaN(+ge.slice(1))&&(this[ge]=V)},stop:function(){this.done=!0;var ge=this.tryEntries[0].completion;if("throw"===ge.type)throw ge.arg;return this.rval},dispatchException:function(Ce){if(this.done)throw Ce;var ge=this;function qe(xe,He){return et.type="throw",et.arg=Ce,ge.next=xe,He&&(ge.method="next",ge.arg=V),!!He}for(var De=this.tryEntries.length-1;De>=0;--De){var Qe=this.tryEntries[De],et=Qe.completion;if("root"===Qe.tryLoc)return qe("end");if(Qe.tryLoc<=this.prev){var bt=U.call(Qe,"catchLoc"),_e=U.call(Qe,"finallyLoc");if(bt&&_e){if(this.prev<Qe.catchLoc)return qe(Qe.catchLoc,!0);if(this.prev<Qe.finallyLoc)return qe(Qe.finallyLoc)}else if(bt){if(this.prev<Qe.catchLoc)return qe(Qe.catchLoc,!0)}else{if(!_e)throw new Error("try statement without catch or finally");if(this.prev<Qe.finallyLoc)return qe(Qe.finallyLoc)}}}},abrupt:function(Ce,ge){for(var qe=this.tryEntries.length-1;qe>=0;--qe){var De=this.tryEntries[qe];if(De.tryLoc<=this.prev&&U.call(De,"finallyLoc")&&this.prev<De.finallyLoc){var Qe=De;break}}Qe&&("break"===Ce||"continue"===Ce)&&Qe.tryLoc<=ge&&ge<=Qe.finallyLoc&&(Qe=null);var et=Qe?Qe.completion:{};return et.type=Ce,et.arg=ge,Qe?(this.method="next",this.next=Qe.finallyLoc,v):this.complete(et)},complete:function(Ce,ge){if("throw"===Ce.type)throw Ce.arg;return"break"===Ce.type||"continue"===Ce.type?this.next=Ce.arg:"return"===Ce.type?(this.rval=this.arg=Ce.arg,this.method="return",this.next="end"):"normal"===Ce.type&&ge&&(this.next=ge),v},finish:function(Ce){for(var ge=this.tryEntries.length-1;ge>=0;--ge){var qe=this.tryEntries[ge];if(qe.finallyLoc===Ce)return this.complete(qe.completion,qe.afterLoc),fe(qe),v}},catch:function(Ce){for(var ge=this.tryEntries.length-1;ge>=0;--ge){var qe=this.tryEntries[ge];if(qe.tryLoc===Ce){var De=qe.completion;if("throw"===De.type){var Qe=De.arg;fe(qe)}return Qe}}throw new Error("illegal catch attempt")},delegateYield:function(Ce,ge,qe){return this.delegate={iterator:he(Ce),resultName:ge,nextLoc:qe},"next"===this.method&&(this.arg=V),v}},f}(ue.exports);try{regeneratorRuntime=j}catch(f){"object"==typeof globalThis?globalThis.regeneratorRuntime=j:Function("r","regeneratorRuntime = r")(j)}},94817:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458);j.Observable=B.Observable,j.Subject=B.Subject;var U=f(40307);j.AnonymousSubject=U.AnonymousSubject;var V=f(40307);j.config=V.config,f(47484),f(53395),f(40987),f(91772),f(22519),f(17506),f(43879),f(26792),f(80602),f(73433),f(54167),f(26066),f(62175),f(89974),f(86543),f(40990),f(91885),f(5246),f(93860),f(26377),f(85305),f(63614),f(78910),f(53907),f(56351),f(6599),f(34335),f(99016),f(78203),f(92572),f(46162),f(11601),f(14651),f(39143),f(97521),f(94038),f(5429),f(5390),f(95087),f(27976),f(5475),f(80112),f(93814),f(77986),f(6671),f(31349),f(13592),f(24425),f(52457),f(48271),f(35262),f(83630),f(88113),f(8798),f(10774),f(75834),f(10845),f(10366),f(44384),f(92744),f(46844),f(3918),f(19692),f(67566),f(15650),f(80127),f(13465),f(32821),f(34402),f(18116),f(72121),f(72236),f(14810),f(85986),f(83783),f(60650),f(19563),f(48698),f(26815),f(96569),f(50551),f(56148),f(7118),f(91108),f(73960),f(61040),f(76580),f(70125),f(54596),f(92556),f(13148),f(59153),f(66689),f(9265),f(46002),f(7849),f(23549),f(72563),f(59543),f(38033),f(98335),f(86536),f(7749),f(94686),f(20873),f(53847),f(16549),f(6788),f(81848),f(77082),f(11442),f(57565),f(43772),f(34736),f(40257),f(38728),f(24090),f(77681),f(77659),f(71117),f(64268),f(97220),f(67221),f(83270),f(28478),f(39744),f(16851),f(77194),f(83943);var L=f(21458);j.Subscription=L.Subscription,j.ReplaySubject=L.ReplaySubject,j.BehaviorSubject=L.BehaviorSubject,j.Notification=L.Notification,j.EmptyError=L.EmptyError,j.ArgumentOutOfRangeError=L.ArgumentOutOfRangeError,j.ObjectUnsubscribedError=L.ObjectUnsubscribedError,j.UnsubscriptionError=L.UnsubscriptionError,j.pipe=L.pipe;var w=f(17721);j.TestScheduler=w.TestScheduler;var R=f(21458);j.Subscriber=R.Subscriber,j.AsyncSubject=R.AsyncSubject,j.ConnectableObservable=R.ConnectableObservable,j.TimeoutError=R.TimeoutError,j.VirtualTimeScheduler=R.VirtualTimeScheduler;var b=f(80366);j.AjaxResponse=b.AjaxResponse,j.AjaxError=b.AjaxError,j.AjaxTimeoutError=b.AjaxTimeoutError;var E=f(21458),x=f(40307),Z=f(40307);j.TimeInterval=Z.TimeInterval,j.Timestamp=Z.Timestamp;var O=f(5949);j.operators=O,j.Scheduler={asap:E.asapScheduler,queue:E.queueScheduler,animationFrame:E.animationFrameScheduler,async:E.asyncScheduler},j.Symbol={rxSubscriber:x.rxSubscriber,observable:x.observable,iterator:x.iterator}},47484:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458);B.Observable.bindCallback=B.bindCallback},53395:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458);B.Observable.bindNodeCallback=B.bindNodeCallback},40987:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458);B.Observable.combineLatest=B.combineLatest},91772:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458);B.Observable.concat=B.concat},22519:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458);B.Observable.defer=B.defer},6599:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(80366);B.Observable.ajax=U.ajax},34335:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(24631);B.Observable.webSocket=U.webSocket},17506:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458);B.Observable.empty=B.empty},43879:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458);B.Observable.forkJoin=B.forkJoin},26792:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458);B.Observable.from=B.from},80602:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458);B.Observable.fromEvent=B.fromEvent},73433:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458);B.Observable.fromEventPattern=B.fromEventPattern},54167:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458);B.Observable.fromPromise=B.from},26066:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458);B.Observable.generate=B.generate},62175:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458);B.Observable.if=B.iif},89974:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458);B.Observable.interval=B.interval},86543:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458);B.Observable.merge=B.merge},91885:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458);function U(){return B.NEVER}j.staticNever=U,B.Observable.never=U},5246:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458);B.Observable.of=B.of},93860:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458);B.Observable.onErrorResumeNext=B.onErrorResumeNext},26377:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458);B.Observable.pairs=B.pairs},40990:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458);B.Observable.race=B.race},85305:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458);B.Observable.range=B.range},78910:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458);B.Observable.throw=B.throwError,B.Observable.throwError=B.throwError},53907:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458);B.Observable.timer=B.timer},63614:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458);B.Observable.using=B.using},56351:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458);B.Observable.zip=B.zip},19692:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(16190);B.Observable.prototype.audit=U.audit},67566:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(5170);B.Observable.prototype.auditTime=U.auditTime},99016:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(63918);B.Observable.prototype.buffer=U.buffer},78203:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(53245);B.Observable.prototype.bufferCount=U.bufferCount},92572:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(95543);B.Observable.prototype.bufferTime=U.bufferTime},46162:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(7586);B.Observable.prototype.bufferToggle=U.bufferToggle},11601:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(58713);B.Observable.prototype.bufferWhen=U.bufferWhen},14651:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(98941);B.Observable.prototype.catch=U._catch,B.Observable.prototype._catch=U._catch},39143:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(64278);B.Observable.prototype.combineAll=U.combineAll},97521:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(52600);B.Observable.prototype.combineLatest=U.combineLatest},94038:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(2420);B.Observable.prototype.concat=U.concat},5429:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(52983);B.Observable.prototype.concatAll=U.concatAll},5390:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(89820);B.Observable.prototype.concatMap=U.concatMap},95087:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(50291);B.Observable.prototype.concatMapTo=U.concatMapTo},27976:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(72359);B.Observable.prototype.count=U.count},80112:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(66853);B.Observable.prototype.debounce=U.debounce},93814:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(7901);B.Observable.prototype.debounceTime=U.debounceTime},77986:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(62238);B.Observable.prototype.defaultIfEmpty=U.defaultIfEmpty},6671:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(49394);B.Observable.prototype.delay=U.delay},31349:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(6108);B.Observable.prototype.delayWhen=U.delayWhen},5475:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(6293);B.Observable.prototype.dematerialize=U.dematerialize},13592:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(60534);B.Observable.prototype.distinct=U.distinct},24425:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(26750);B.Observable.prototype.distinctUntilChanged=U.distinctUntilChanged},52457:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(61980);B.Observable.prototype.distinctUntilKeyChanged=U.distinctUntilKeyChanged},48271:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(79910);B.Observable.prototype.do=U._do,B.Observable.prototype._do=U._do},8798:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(79417);B.Observable.prototype.elementAt=U.elementAt},13465:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(83584);B.Observable.prototype.every=U.every},35262:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(71453);B.Observable.prototype.exhaust=U.exhaust},83630:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(26947);B.Observable.prototype.exhaustMap=U.exhaustMap},88113:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(7555);B.Observable.prototype.expand=U.expand},10774:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(86407);B.Observable.prototype.filter=U.filter},75834:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(34066);B.Observable.prototype.finally=U._finally,B.Observable.prototype._finally=U._finally},10845:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(2176);B.Observable.prototype.find=U.find},10366:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(30774);B.Observable.prototype.findIndex=U.findIndex},44384:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(91423);B.Observable.prototype.first=U.first},92744:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(30553);B.Observable.prototype.groupBy=U.groupBy},46844:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(52698);B.Observable.prototype.ignoreElements=U.ignoreElements},3918:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(25353);B.Observable.prototype.isEmpty=U.isEmpty},15650:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(90091);B.Observable.prototype.last=U.last},80127:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(79710);B.Observable.prototype.let=U.letProto,B.Observable.prototype.letBind=U.letProto},32821:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(28303);B.Observable.prototype.map=U.map},34402:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(51464);B.Observable.prototype.mapTo=U.mapTo},18116:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(81821);B.Observable.prototype.materialize=U.materialize},72121:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(49123);B.Observable.prototype.max=U.max},72236:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(15761);B.Observable.prototype.merge=U.merge},14810:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(6352);B.Observable.prototype.mergeAll=U.mergeAll},85986:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(35079);B.Observable.prototype.mergeMap=U.mergeMap,B.Observable.prototype.flatMap=U.mergeMap},83783:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(36545);B.Observable.prototype.flatMapTo=U.mergeMapTo,B.Observable.prototype.mergeMapTo=U.mergeMapTo},60650:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(2561);B.Observable.prototype.mergeScan=U.mergeScan},19563:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(65316);B.Observable.prototype.min=U.min},48698:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(11078);B.Observable.prototype.multicast=U.multicast},26815:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(33006);B.Observable.prototype.observeOn=U.observeOn},96569:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(962);B.Observable.prototype.onErrorResumeNext=U.onErrorResumeNext},50551:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(53153);B.Observable.prototype.pairwise=U.pairwise},56148:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(77267);B.Observable.prototype.partition=U.partition},7118:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(62472);B.Observable.prototype.pluck=U.pluck},91108:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(84124);B.Observable.prototype.publish=U.publish},73960:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(44454);B.Observable.prototype.publishBehavior=U.publishBehavior},76580:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(87267);B.Observable.prototype.publishLast=U.publishLast},61040:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(77311);B.Observable.prototype.publishReplay=U.publishReplay},70125:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(62601);B.Observable.prototype.race=U.race},54596:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(66199);B.Observable.prototype.reduce=U.reduce},92556:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(74278);B.Observable.prototype.repeat=U.repeat},13148:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(68900);B.Observable.prototype.repeatWhen=U.repeatWhen},59153:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(20257);B.Observable.prototype.retry=U.retry},66689:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(27832);B.Observable.prototype.retryWhen=U.retryWhen},9265:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(53435);B.Observable.prototype.sample=U.sample},46002:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(77875);B.Observable.prototype.sampleTime=U.sampleTime},7849:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(44290);B.Observable.prototype.scan=U.scan},23549:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(41057);B.Observable.prototype.sequenceEqual=U.sequenceEqual},72563:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(81343);B.Observable.prototype.share=U.share},59543:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(67961);B.Observable.prototype.shareReplay=U.shareReplay},38033:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(20614);B.Observable.prototype.single=U.single},98335:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(534);B.Observable.prototype.skip=U.skip},86536:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(94070);B.Observable.prototype.skipLast=U.skipLast},7749:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(21433);B.Observable.prototype.skipUntil=U.skipUntil},94686:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(99969);B.Observable.prototype.skipWhile=U.skipWhile},20873:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(71446);B.Observable.prototype.startWith=U.startWith},53847:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(84447);B.Observable.prototype.subscribeOn=U.subscribeOn},16549:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(34770);B.Observable.prototype.switch=U._switch,B.Observable.prototype._switch=U._switch},6788:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(88004);B.Observable.prototype.switchMap=U.switchMap},81848:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(37540);B.Observable.prototype.switchMapTo=U.switchMapTo},77082:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(49358);B.Observable.prototype.take=U.take},11442:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(34419);B.Observable.prototype.takeLast=U.takeLast},57565:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(54753);B.Observable.prototype.takeUntil=U.takeUntil},43772:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(38375);B.Observable.prototype.takeWhile=U.takeWhile},34736:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(39234);B.Observable.prototype.throttle=U.throttle},40257:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(20616);B.Observable.prototype.throttleTime=U.throttleTime},38728:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(53473);B.Observable.prototype.timeInterval=U.timeInterval},24090:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(21120);B.Observable.prototype.timeout=U.timeout},77681:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(89943);B.Observable.prototype.timeoutWith=U.timeoutWith},77659:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(82711);B.Observable.prototype.timestamp=U.timestamp},71117:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(96320);B.Observable.prototype.toArray=U.toArray},64268:function(){},97220:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(19458);B.Observable.prototype.window=U.window},67221:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(30065);B.Observable.prototype.windowCount=U.windowCount},83270:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(53884);B.Observable.prototype.windowTime=U.windowTime},28478:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(19596);B.Observable.prototype.windowToggle=U.windowToggle},39744:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(99248);B.Observable.prototype.windowWhen=U.windowWhen},16851:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(86136);B.Observable.prototype.withLatestFrom=U.withLatestFrom},77194:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(76649);B.Observable.prototype.zip=U.zipProto},83943:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(92027);B.Observable.prototype.zipAll=U.zipAll},16190:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.audit=function(V){return B.audit(V)(this)}},5170:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(5949);j.auditTime=function(L,w){return void 0===w&&(w=B.asyncScheduler),U.auditTime(L,w)(this)}},63918:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.buffer=function(V){return B.buffer(V)(this)}},53245:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.bufferCount=function(V,L){return void 0===L&&(L=null),B.bufferCount(V,L)(this)}},95543:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(40307),V=f(5949);j.bufferTime=function(w){var R=arguments.length,b=B.asyncScheduler;U.isScheduler(arguments[arguments.length-1])&&(b=arguments[arguments.length-1],R--);var E=null;R>=2&&(E=arguments[1]);var x=Number.POSITIVE_INFINITY;return R>=3&&(x=arguments[2]),V.bufferTime(w,E,x,b)(this)}},7586:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.bufferToggle=function(V,L){return B.bufferToggle(V,L)(this)}},58713:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.bufferWhen=function(V){return B.bufferWhen(V)(this)}},98941:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j._catch=function(V){return B.catchError(V)(this)}},64278:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.combineAll=function(V){return B.combineAll(V)(this)}},52600:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(40307);j.combineLatest=function(){for(var L=[],w=0;w<arguments.length;w++)L[w]=arguments[w];var R=null;return"function"==typeof L[L.length-1]&&(R=L.pop()),1===L.length&&U.isArray(L[0])&&(L=L[0].slice()),this.lift.call(B.of.apply(void 0,[this].concat(L)),new U.CombineLatestOperator(R))}},2420:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458);j.concat=function(){for(var V=[],L=0;L<arguments.length;L++)V[L]=arguments[L];return this.lift.call(B.concat.apply(void 0,[this].concat(V)))}},52983:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.concatAll=function(){return B.concatAll()(this)}},89820:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.concatMap=function(V){return B.concatMap(V)(this)}},50291:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.concatMapTo=function(V){return B.concatMapTo(V)(this)}},72359:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.count=function(V){return B.count(V)(this)}},66853:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.debounce=function(V){return B.debounce(V)(this)}},7901:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(5949);j.debounceTime=function(L,w){return void 0===w&&(w=B.asyncScheduler),U.debounceTime(L,w)(this)}},62238:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.defaultIfEmpty=function(V){return void 0===V&&(V=null),B.defaultIfEmpty(V)(this)}},49394:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(5949);j.delay=function(L,w){return void 0===w&&(w=B.asyncScheduler),U.delay(L,w)(this)}},6108:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.delayWhen=function(V,L){return B.delayWhen(V,L)(this)}},6293:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.dematerialize=function(){return B.dematerialize()(this)}},60534:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.distinct=function(V,L){return B.distinct(V,L)(this)}},26750:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.distinctUntilChanged=function(V,L){return B.distinctUntilChanged(V,L)(this)}},61980:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.distinctUntilKeyChanged=function(V,L){return B.distinctUntilKeyChanged(V,L)(this)}},79910:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j._do=function(V,L,w){return B.tap(V,L,w)(this)}},79417:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.elementAt=function(V,L){return B.elementAt.apply(void 0,arguments)(this)}},83584:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.every=function(V,L){return B.every(V,L)(this)}},71453:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.exhaust=function(){return B.exhaust()(this)}},26947:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.exhaustMap=function(V){return B.exhaustMap(V)(this)}},7555:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.expand=function(V,L,w){return void 0===L&&(L=Number.POSITIVE_INFINITY),void 0===w&&(w=void 0),B.expand(V,L=(L||0)<1?Number.POSITIVE_INFINITY:L,w)(this)}},86407:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.filter=function(V,L){return B.filter(V,L)(this)}},34066:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j._finally=function(V){return B.finalize(V)(this)}},2176:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.find=function(V,L){return B.find(V,L)(this)}},30774:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.findIndex=function(V,L){return B.findIndex(V,L)(this)}},91423:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.first=function(){for(var V=[],L=0;L<arguments.length;L++)V[L]=arguments[L];return B.first.apply(void 0,V)(this)}},30553:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.groupBy=function(V,L,w,R){return B.groupBy(V,L,w,R)(this)}},52698:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.ignoreElements=function(){return B.ignoreElements()(this)}},25353:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.isEmpty=function(){return B.isEmpty()(this)}},90091:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.last=function(){for(var V=[],L=0;L<arguments.length;L++)V[L]=arguments[L];return B.last.apply(void 0,V)(this)}},79710:function(ue,j){"use strict";Object.defineProperty(j,"__esModule",{value:!0}),j.letProto=function(B){return B(this)}},28303:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.map=function(V,L){return B.map(V,L)(this)}},51464:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.mapTo=function(V){return B.mapTo(V)(this)}},81821:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.materialize=function(){return B.materialize()(this)}},49123:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.max=function(V){return B.max(V)(this)}},15761:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458);j.merge=function(){for(var V=[],L=0;L<arguments.length;L++)V[L]=arguments[L];return this.lift.call(B.merge.apply(void 0,[this].concat(V)))}},6352:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.mergeAll=function(V){return void 0===V&&(V=Number.POSITIVE_INFINITY),B.mergeAll(V)(this)}},35079:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.mergeMap=function(V,L){return void 0===L&&(L=Number.POSITIVE_INFINITY),B.mergeMap(V,L)(this)}},36545:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.mergeMapTo=function(V,L){return void 0===L&&(L=Number.POSITIVE_INFINITY),B.mergeMapTo(V,L)(this)}},2561:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.mergeScan=function(V,L,w){return void 0===w&&(w=Number.POSITIVE_INFINITY),B.mergeScan(V,L,w)(this)}},65316:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.min=function(V){return B.min(V)(this)}},11078:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.multicast=function(V,L){return B.multicast(V,L)(this)}},33006:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.observeOn=function(V,L){return void 0===L&&(L=0),B.observeOn(V,L)(this)}},962:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.onErrorResumeNext=function(){for(var V=[],L=0;L<arguments.length;L++)V[L]=arguments[L];return B.onErrorResumeNext.apply(void 0,V)(this)}},53153:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.pairwise=function(){return B.pairwise()(this)}},77267:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.partition=function(V,L){return B.partition(V,L)(this)}},62472:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.pluck=function(){for(var V=[],L=0;L<arguments.length;L++)V[L]=arguments[L];return B.pluck.apply(void 0,V)(this)}},84124:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.publish=function(V){return B.publish(V)(this)}},44454:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.publishBehavior=function(V){return B.publishBehavior(V)(this)}},87267:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.publishLast=function(){return B.publishLast()(this)}},77311:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.publishReplay=function(V,L,w,R){return B.publishReplay(V,L,w,R)(this)}},62601:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.race=function(){for(var V=[],L=0;L<arguments.length;L++)V[L]=arguments[L];return B.race.apply(void 0,V)(this)}},66199:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.reduce=function(V,L){return arguments.length>=2?B.reduce(V,L)(this):B.reduce(V)(this)}},74278:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.repeat=function(V){return void 0===V&&(V=-1),B.repeat(V)(this)}},68900:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.repeatWhen=function(V){return B.repeatWhen(V)(this)}},20257:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.retry=function(V){return void 0===V&&(V=-1),B.retry(V)(this)}},27832:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.retryWhen=function(V){return B.retryWhen(V)(this)}},53435:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.sample=function(V){return B.sample(V)(this)}},77875:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(5949);j.sampleTime=function(L,w){return void 0===w&&(w=B.asyncScheduler),U.sampleTime(L,w)(this)}},44290:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.scan=function(V,L){return arguments.length>=2?B.scan(V,L)(this):B.scan(V)(this)}},41057:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.sequenceEqual=function(V,L){return B.sequenceEqual(V,L)(this)}},81343:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.share=function(){return B.share()(this)}},67961:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.shareReplay=function(V,L,w){return V&&"object"==typeof V?B.shareReplay(V)(this):B.shareReplay(V,L,w)(this)}},20614:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.single=function(V){return B.single(V)(this)}},534:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.skip=function(V){return B.skip(V)(this)}},94070:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.skipLast=function(V){return B.skipLast(V)(this)}},21433:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.skipUntil=function(V){return B.skipUntil(V)(this)}},99969:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.skipWhile=function(V){return B.skipWhile(V)(this)}},71446:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.startWith=function(){for(var V=[],L=0;L<arguments.length;L++)V[L]=arguments[L];return B.startWith.apply(void 0,V)(this)}},84447:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.subscribeOn=function(V,L){return void 0===L&&(L=0),B.subscribeOn(V,L)(this)}},34770:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j._switch=function(){return B.switchAll()(this)}},88004:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.switchMap=function(V){return B.switchMap(V)(this)}},37540:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.switchMapTo=function(V){return B.switchMapTo(V)(this)}},49358:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.take=function(V){return B.take(V)(this)}},34419:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.takeLast=function(V){return B.takeLast(V)(this)}},54753:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.takeUntil=function(V){return B.takeUntil(V)(this)}},38375:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.takeWhile=function(V){return B.takeWhile(V)(this)}},39234:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949),U=f(40307);j.throttle=function(L,w){return void 0===w&&(w=U.defaultThrottleConfig),B.throttle(L,w)(this)}},20616:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(40307),V=f(5949);j.throttleTime=function(w,R,b){return void 0===R&&(R=B.asyncScheduler),void 0===b&&(b=U.defaultThrottleConfig),V.throttleTime(w,R,b)(this)}},53473:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(5949);j.timeInterval=function(L){return void 0===L&&(L=B.asyncScheduler),U.timeInterval(L)(this)}},21120:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(5949);j.timeout=function(L,w){return void 0===w&&(w=B.asyncScheduler),U.timeout(L,w)(this)}},89943:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(5949);j.timeoutWith=function(L,w,R){return void 0===R&&(R=B.asyncScheduler),U.timeoutWith(L,w,R)(this)}},82711:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(5949);j.timestamp=function(L){return void 0===L&&(L=B.asyncScheduler),U.timestamp(L)(this)}},96320:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.toArray=function(){return B.toArray()(this)}},19458:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.window=function(V){return B.window(V)(this)}},30065:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.windowCount=function(V,L){return void 0===L&&(L=0),B.windowCount(V,L)(this)}},53884:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458),U=f(40307),V=f(5949);j.windowTime=function(w){var R=B.asyncScheduler,b=null,E=Number.POSITIVE_INFINITY;return U.isScheduler(arguments[3])&&(R=arguments[3]),U.isScheduler(arguments[2])?R=arguments[2]:U.isNumeric(arguments[2])&&(E=Number(arguments[2])),U.isScheduler(arguments[1])?R=arguments[1]:U.isNumeric(arguments[1])&&(b=Number(arguments[1])),V.windowTime(w,b,E,R)(this)}},19596:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.windowToggle=function(V,L){return B.windowToggle(V,L)(this)}},99248:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.windowWhen=function(V){return B.windowWhen(V)(this)}},86136:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.withLatestFrom=function(){for(var V=[],L=0;L<arguments.length;L++)V[L]=arguments[L];return B.withLatestFrom.apply(void 0,V)(this)}},76649:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(21458);j.zipProto=function(){for(var V=[],L=0;L<arguments.length;L++)V[L]=arguments[L];return this.lift.call(B.zip.apply(void 0,[this].concat(V)))}},92027:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B=f(5949);j.zipAll=function(V){return B.zipAll(V)(this)}},61849:function(ue,j,f){"use strict";Object.defineProperty(j,"__esModule",{value:!0}),function(U){for(var V in U)j.hasOwnProperty(V)||(j[V]=U[V])}(f(94817))},80366:function(ue,j,f){"use strict";f.r(j),f.d(j,{ajax:function(){return B.h},AjaxResponse:function(){return U.vD},AjaxError:function(){return U.iM},AjaxTimeoutError:function(){return U.cw}});var B=f(48833),U=f(93061)},21458:function(ue,j,f){"use strict";f.r(j),f.d(j,{ArgumentOutOfRangeError:function(){return G.W},AsyncSubject:function(){return E.c},BehaviorSubject:function(){return R.X},ConnectableObservable:function(){return U.c},EMPTY:function(){return st.E},EmptyError:function(){return X.K},GroupedObservable:function(){return V.T},NEVER:function(){return Zn},Notification:function(){return M.P},NotificationKind:function(){return M.W},ObjectUnsubscribedError:function(){return W.N},Observable:function(){return B.y},ReplaySubject:function(){return b.t},Scheduler:function(){return D.b},Subject:function(){return w.xQ},Subscriber:function(){return g.L},Subscription:function(){return v.w},TimeoutError:function(){return ae.W},UnsubscriptionError:function(){return Y.B},VirtualAction:function(){return T.h},VirtualTimeScheduler:function(){return T.y},animationFrame:function(){return y.r},animationFrameScheduler:function(){return y.Z},asap:function(){return x.e},asapScheduler:function(){return x.E},async:function(){return Z.P},asyncScheduler:function(){return Z.z},bindCallback:function(){return oe},bindNodeCallback:function(){return De},combineLatest:function(){return _e.aj},concat:function(){return xe.z},config:function(){return vt.v},defer:function(){return He.P},empty:function(){return st.c},forkJoin:function(){return tt.D},from:function(){return Zt.D},fromEvent:function(){return Tt.R},fromEventPattern:function(){return Yt},generate:function(){return un},identity:function(){return I.y},iif:function(){return Mn},interval:function(){return On.F},isObservable:function(){return F.b},merge:function(){return Fn.T},never:function(){return Vn},noop:function(){return S.Z},observable:function(){return L.L},of:function(){return zn.of},onErrorResumeNext:function(){return Wn},pairs:function(){return nr},partition:function(){return _n},pipe:function(){return k.z},queue:function(){return O.c},queueScheduler:function(){return O.N},race:function(){return kt.S3},range:function(){return Ye.w},scheduled:function(){return Ge.x},throwError:function(){return Me._},timer:function(){return ne.H},using:function(){return be},zip:function(){return Fe.$R}});var B=f(15801),U=f(96705),V=f(91646),L=f(56563),w=f(27807),R=f(37810),b=f(12375),E=f(40333),x=f(16080),Z=f(59449),O=f(21734),y=f(27202),T=f(63870),D=f(54641),v=f(43501),g=f(72007),M=f(47625),k=f(79968),S=f(61443),I=f(88533),F=f(47593),G=f(67689),X=f(15449),W=f(42078),Y=f(59508),ae=f(96174),K=f(333),fe=f(98771),ce=f(40327),he=f(40830),de=f(62731);function oe(At,Vt,Kt){if(Vt){if(!(0,de.K)(Vt))return function(){return oe(At,Kt).apply(void 0,arguments).pipe((0,fe.U)(function(on){return(0,he.k)(on)?Vt.apply(void 0,(0,K.Z)(on)):Vt(on)}))};Kt=Vt}return function(){for(var on=arguments.length,hn=new Array(on),yn=0;yn<on;yn++)hn[yn]=arguments[yn];var Nt,Cn=this,Lt={context:Cn,subject:Nt,callbackFunc:At,scheduler:Kt};return new B.y(function(Ct){if(Kt)return Kt.schedule(Ce,0,{args:hn,subscriber:Ct,params:Lt});if(!Nt){Nt=new E.c;try{At.apply(Cn,[].concat(hn,[function(){for(var _t=arguments.length,we=new Array(_t),je=0;je<_t;je++)we[je]=arguments[je];Nt.next(we.length<=1?we[0]:we),Nt.complete()}]))}catch(lt){(0,ce._)(Nt)?Nt.error(lt):console.warn(lt)}}return Nt.subscribe(Ct)})}}function Ce(At){var Vt=this,on=At.args,hn=At.subscriber,yn=At.params,Cn=yn.callbackFunc,Nt=yn.context,Lt=yn.scheduler,Ct=yn.subject;if(!Ct){Ct=yn.subject=new E.c;try{Cn.apply(Nt,[].concat((0,K.Z)(on),[function(){for(var lt=arguments.length,_t=new Array(lt),we=0;we<lt;we++)_t[we]=arguments[we];Vt.add(Lt.schedule(ge,0,{value:_t.length<=1?_t[0]:_t,subject:Ct}))}]))}catch(ht){Ct.error(ht)}}this.add(Ct.subscribe(hn))}function ge(At){var Kt=At.subject;Kt.next(At.value),Kt.complete()}function De(At,Vt,Kt){if(Vt){if(!(0,de.K)(Vt))return function(){return De(At,Kt).apply(void 0,arguments).pipe((0,fe.U)(function(on){return(0,he.k)(on)?Vt.apply(void 0,(0,K.Z)(on)):Vt(on)}))};Kt=Vt}return function(){for(var on=arguments.length,hn=new Array(on),yn=0;yn<on;yn++)hn[yn]=arguments[yn];var Cn={subject:void 0,args:hn,callbackFunc:At,scheduler:Kt,context:this};return new B.y(function(Nt){var Lt=Cn.context,Ct=Cn.subject;if(Kt)return Kt.schedule(Qe,0,{params:Cn,subscriber:Nt,context:Lt});if(!Ct){Ct=Cn.subject=new E.c;try{At.apply(Lt,[].concat(hn,[function(){for(var lt=arguments.length,_t=new Array(lt),we=0;we<lt;we++)_t[we]=arguments[we];var je=_t.shift();je?Ct.error(je):(Ct.next(_t.length<=1?_t[0]:_t),Ct.complete())}]))}catch(ht){(0,ce._)(Ct)?Ct.error(ht):console.warn(ht)}}return Ct.subscribe(Nt)})}}function Qe(At){var Vt=this,Kt=At.params,on=At.subscriber,hn=At.context,yn=Kt.callbackFunc,Cn=Kt.args,Nt=Kt.scheduler,Lt=Kt.subject;if(!Lt){Lt=Kt.subject=new E.c;try{yn.apply(hn,[].concat((0,K.Z)(Cn),[function(){for(var ht=arguments.length,lt=new Array(ht),_t=0;_t<ht;_t++)lt[_t]=arguments[_t];var we=lt.shift();Vt.add(we?Nt.schedule(bt,0,{err:we,subject:Lt}):Nt.schedule(et,0,{value:lt.length<=1?lt[0]:lt,subject:Lt}))}]))}catch(Ot){this.add(Nt.schedule(bt,0,{err:Ot,subject:Lt}))}}this.add(Lt.subscribe(on))}function et(At){var Kt=At.subject;Kt.next(At.value),Kt.complete()}function bt(At){At.subject.error(At.err)}var _e=f(40452),xe=f(60636),He=f(19770),st=f(5441),tt=f(24778),Zt=f(17048),Tt=f(4998),mt=f(9813);function Yt(At,Vt,Kt){return Kt?Yt(At,Vt).pipe((0,fe.U)(function(on){return(0,he.k)(on)?Kt.apply(void 0,(0,K.Z)(on)):Kt(on)})):new B.y(function(on){var yn,hn=function(){for(var Nt=arguments.length,Lt=new Array(Nt),Ct=0;Ct<Nt;Ct++)Lt[Ct]=arguments[Ct];return on.next(1===Lt.length?Lt[0]:Lt)};try{yn=At(hn)}catch(Cn){return void on.error(Cn)}if((0,mt.m)(Vt))return function(){return Vt(hn,yn)}})}function un(At,Vt,Kt,on,hn){var yn,Cn;return 1==arguments.length?(Cn=At.initialState,Vt=At.condition,Kt=At.iterate,yn=At.resultSelector||I.y,hn=At.scheduler):void 0===on||(0,de.K)(on)?(Cn=At,yn=I.y,hn=on):(Cn=At,yn=on),new B.y(function(Lt){var Ct=Cn;if(hn)return hn.schedule(Ut,0,{subscriber:Lt,iterate:Kt,condition:Vt,resultSelector:yn,state:Ct});for(;;){if(Vt){var Ot=void 0;try{Ot=Vt(Ct)}catch(lt){return void Lt.error(lt)}if(!Ot){Lt.complete();break}}var ht=void 0;try{ht=yn(Ct)}catch(lt){return void Lt.error(lt)}if(Lt.next(ht),Lt.closed)break;try{Ct=Kt(Ct)}catch(lt){return void Lt.error(lt)}}})}function Ut(At){var Vt=At.subscriber,Kt=At.condition;if(!Vt.closed){if(At.needIterate)try{At.state=At.iterate(At.state)}catch(yn){return void Vt.error(yn)}else At.needIterate=!0;if(Kt){var on;try{on=Kt(At.state)}catch(yn){return void Vt.error(yn)}if(!on)return void Vt.complete();if(Vt.closed)return}var hn;try{hn=At.resultSelector(At.state)}catch(yn){return void Vt.error(yn)}if(!Vt.closed&&(Vt.next(hn),!Vt.closed))return this.schedule(At)}}function Mn(At){var Vt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:st.E,Kt=arguments.length>2&&void 0!==arguments[2]?arguments[2]:st.E;return(0,He.P)(function(){return At()?Vt:Kt})}var On=f(74611),Fn=f(69301),Zn=new B.y(S.Z);function Vn(){return Zn}var zn=f(82429);function Wn(){for(var At=arguments.length,Vt=new Array(At),Kt=0;Kt<At;Kt++)Vt[Kt]=arguments[Kt];if(0===Vt.length)return st.E;var on=Vt[0],hn=Vt.slice(1);return 1===Vt.length&&(0,he.k)(on)?Wn.apply(void 0,(0,K.Z)(on)):new B.y(function(yn){var Cn=function(){return yn.add(Wn.apply(void 0,(0,K.Z)(hn)).subscribe(yn))};return(0,Zt.D)(on).subscribe({next:function(Lt){yn.next(Lt)},error:Cn,complete:Cn})})}function nr(At,Vt){return new B.y(Vt?function(Kt){var on=Object.keys(At),hn=new v.w;return hn.add(Vt.schedule(ar,0,{keys:on,index:0,subscriber:Kt,subscription:hn,obj:At})),hn}:function(Kt){for(var on=Object.keys(At),hn=0;hn<on.length&&!Kt.closed;hn++){var yn=on[hn];At.hasOwnProperty(yn)&&Kt.next([yn,At[yn]])}Kt.complete()})}function ar(At){var Vt=At.keys,Kt=At.index,on=At.subscriber,hn=At.subscription,yn=At.obj;if(!on.closed)if(Kt<Vt.length){var Cn=Vt[Kt];on.next([Cn,yn[Cn]]),hn.add(this.schedule({keys:Vt,index:Kt+1,subscriber:on,subscription:hn,obj:yn}))}else on.complete()}var Sr=f(51395),Qn=f(9158),rn=f(50439);function _n(At,Vt,Kt){return[(0,rn.h)(Vt,Kt)(new B.y((0,Qn.s)(At))),(0,rn.h)((0,Sr.f)(Vt,Kt))(new B.y((0,Qn.s)(At)))]}var kt=f(89100),Ye=f(6575),Me=f(43334),ne=f(46674);function be(At,Vt){return new B.y(function(Kt){var on,hn;try{on=At()}catch(Nt){return void Kt.error(Nt)}try{hn=Vt(on)}catch(Nt){return void Kt.error(Nt)}var Cn=(hn?(0,Zt.D)(hn):st.E).subscribe(Kt);return function(){Cn.unsubscribe(),on&&on.unsubscribe()}})}var Fe=f(4042),Ge=f(72622),vt=f(30095)},40307:function(ue,j,f){"use strict";f.r(j),f.d(j,{AjaxError:function(){return M.iM},AjaxObservable:function(){return M.i6},AjaxResponse:function(){return M.vD},AjaxSubscriber:function(){return M.de},AjaxTimeoutError:function(){return M.cw},AnonymousSubject:function(){return w.ug},ArgumentOutOfRangeError:function(){return ce.W},CombineLatestOperator:function(){return S.Ms},EmptyError:function(){return he.K},GroupedObservable:function(){return W.T},Immediate:function(){return de.H},InnerSubscriber:function(){return U.d},ObjectUnsubscribedError:function(){return oe.N},OuterSubscriber:function(){return V.L},Scheduler:function(){return L.b},SubjectSubscription:function(){return R.W},SubscribeOnObservable:function(){return F.e},Subscriber:function(){return b.L},TimeInterval:function(){return X.R},TimeoutError:function(){return Ce.W},Timestamp:function(){return G.E},UnsubscriptionError:function(){return ge.B},WebSocketSubject:function(){return k.p},ajax:function(){return v.h},ajaxDelete:function(){return M._c},ajaxGet:function(){return M.Ck},ajaxGetJSON:function(){return M.uX},ajaxPatch:function(){return M.YB},ajaxPost:function(){return M.tB},ajaxPut:function(){return M.Vk},applyMixins:function(){return qe.e},config:function(){return B.v},defaultThrottleConfig:function(){return Y.d},dispatch:function(){return I.W},errorObject:function(){return De},fromIterable:function(){return D},fromPromise:function(){return O},hostReportError:function(){return Qe.z},identity:function(){return et.y},isArray:function(){return bt.k},isArrayLike:function(){return _e.z},isDate:function(){return xe.J},isFunction:function(){return He.m},isIterable:function(){return st.T},isNumeric:function(){return tt.k},isObject:function(){return Zt.K},isObservable:function(){return Tt.c},isPromise:function(){return mt.t},isScheduler:function(){return Yt.K},iterator:function(){return K.hZ},noop:function(){return un.Z},not:function(){return Ut.f},observable:function(){return fe.L},pipe:function(){return Mn.z},root:function(){return On.J},rxSubscriber:function(){return ae.b},subscribeTo:function(){return Fn.s},subscribeToArray:function(){return Zn.V},subscribeToIterable:function(){return y.u},subscribeToObservable:function(){return Vn.h},subscribeToPromise:function(){return x.A},subscribeToResult:function(){return zn.D},toSubscriber:function(){return Wn.Y},tryCatch:function(){return Sr},webSocket:function(){return g.j}});var B=f(30095),U=f(58452),V=f(74314),L=f(54641),w=f(27807),R=f(17248),b=f(72007),E=f(15801),x=f(85812),Z=f(69544);function O(Qn,rn){return rn?(0,Z.c)(Qn,rn):new E.y((0,x.A)(Qn))}var y=f(43195),T=f(17661);function D(Qn,rn){if(!Qn)throw new Error("Iterable cannot be null");return rn?(0,T.Q)(Qn,rn):new E.y((0,y.u)(Qn))}var nr,v=f(48833),g=f(67198),M=f(93061),k=f(60272),S=f(40452),I=f(6575),F=f(39470),G=f(56335),X=f(83664),W=f(91646),Y=f(74855),ae=f(24629),K=f(56203),fe=f(56563),ce=f(67689),he=f(15449),de=f(40453),oe=f(42078),Ce=f(96174),ge=f(59508),qe=f(19094),De={e:{}},Qe=f(26580),et=f(88533),bt=f(40830),_e=f(84565),xe=f(54493),He=f(9813),st=f(21627),tt=f(32104),Zt=f(11458),Tt=f(7652),mt=f(35872),Yt=f(62731),un=f(61443),Ut=f(51395),Mn=f(79968),On=f(1996),Fn=f(9158),Zn=f(10202),Vn=f(93053),zn=f(99319),Wn=f(5839);function ar(){De.e=void 0;try{return nr.apply(this,arguments)}catch(Qn){return De.e=Qn,De}finally{nr=void 0}}function Sr(Qn){return nr=Qn,ar}},40333:function(ue,j,f){"use strict";f.d(j,{c:function(){return x}});var B=f(18967),U=f(14105),V=f(38402),L=f(89200),w=f(10509),R=f(97154),b=f(27807),E=f(43501),x=function(Z){(0,w.Z)(y,Z);var O=(0,R.Z)(y);function y(){var T;return(0,B.Z)(this,y),(T=O.apply(this,arguments)).value=null,T.hasNext=!1,T.hasCompleted=!1,T}return(0,U.Z)(y,[{key:"_subscribe",value:function(D){return this.hasError?(D.error(this.thrownError),E.w.EMPTY):this.hasCompleted&&this.hasNext?(D.next(this.value),D.complete(),E.w.EMPTY):(0,V.Z)((0,L.Z)(y.prototype),"_subscribe",this).call(this,D)}},{key:"next",value:function(D){this.hasCompleted||(this.value=D,this.hasNext=!0)}},{key:"error",value:function(D){this.hasCompleted||(0,V.Z)((0,L.Z)(y.prototype),"error",this).call(this,D)}},{key:"complete",value:function(){this.hasCompleted=!0,this.hasNext&&(0,V.Z)((0,L.Z)(y.prototype),"next",this).call(this,this.value),(0,V.Z)((0,L.Z)(y.prototype),"complete",this).call(this)}}]),y}(b.xQ)},37810:function(ue,j,f){"use strict";f.d(j,{X:function(){return x}});var B=f(18967),U=f(14105),V=f(38402),L=f(89200),w=f(10509),R=f(97154),b=f(27807),E=f(42078),x=function(Z){(0,w.Z)(y,Z);var O=(0,R.Z)(y);function y(T){var D;return(0,B.Z)(this,y),(D=O.call(this))._value=T,D}return(0,U.Z)(y,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(D){var v=(0,V.Z)((0,L.Z)(y.prototype),"_subscribe",this).call(this,D);return v&&!v.closed&&D.next(this._value),v}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new E.N;return this._value}},{key:"next",value:function(D){(0,V.Z)((0,L.Z)(y.prototype),"next",this).call(this,this._value=D)}}]),y}(b.xQ)},58452:function(ue,j,f){"use strict";f.d(j,{d:function(){return R}});var B=f(18967),U=f(14105),V=f(10509),L=f(97154),R=function(b){(0,V.Z)(x,b);var E=(0,L.Z)(x);function x(Z,O,y){var T;return(0,B.Z)(this,x),(T=E.call(this)).parent=Z,T.outerValue=O,T.outerIndex=y,T.index=0,T}return(0,U.Z)(x,[{key:"_next",value:function(O){this.parent.notifyNext(this.outerValue,O,this.outerIndex,this.index++,this)}},{key:"_error",value:function(O){this.parent.notifyError(O,this),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(this),this.unsubscribe()}}]),x}(f(72007).L)},47625:function(ue,j,f){"use strict";f.d(j,{W:function(){return R},P:function(){return b}});var B=f(18967),U=f(14105),V=f(5441),L=f(82429),w=f(43334),R=function(){return(E=R||(R={})).NEXT="N",E.ERROR="E",E.COMPLETE="C",R;var E}(),b=function(){function E(x,Z,O){(0,B.Z)(this,E),this.kind=x,this.value=Z,this.error=O,this.hasValue="N"===x}return(0,U.Z)(E,[{key:"observe",value:function(Z){switch(this.kind){case"N":return Z.next&&Z.next(this.value);case"E":return Z.error&&Z.error(this.error);case"C":return Z.complete&&Z.complete()}}},{key:"do",value:function(Z,O,y){switch(this.kind){case"N":return Z&&Z(this.value);case"E":return O&&O(this.error);case"C":return y&&y()}}},{key:"accept",value:function(Z,O,y){return Z&&"function"==typeof Z.next?this.observe(Z):this.do(Z,O,y)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return(0,L.of)(this.value);case"E":return(0,w._)(this.error);case"C":return(0,V.c)()}throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(Z){return void 0!==Z?new E("N",Z):E.undefinedValueNotification}},{key:"createError",value:function(Z){return new E("E",void 0,Z)}},{key:"createComplete",value:function(){return E.completeNotification}}]),E}();b.completeNotification=new b("C"),b.undefinedValueNotification=new b("N",void 0)},15801:function(ue,j,f){"use strict";f.d(j,{y:function(){return E}});var B=f(18967),U=f(14105),V=f(40327),L=f(5839),w=f(56563),R=f(79968),b=f(30095),E=function(){var Z=function(){function O(y){(0,B.Z)(this,O),this._isScalar=!1,y&&(this._subscribe=y)}return(0,U.Z)(O,[{key:"lift",value:function(T){var D=new O;return D.source=this,D.operator=T,D}},{key:"subscribe",value:function(T,D,v){var g=this.operator,M=(0,L.Y)(T,D,v);if(M.add(g?g.call(M,this.source):this.source||b.v.useDeprecatedSynchronousErrorHandling&&!M.syncErrorThrowable?this._subscribe(M):this._trySubscribe(M)),b.v.useDeprecatedSynchronousErrorHandling&&M.syncErrorThrowable&&(M.syncErrorThrowable=!1,M.syncErrorThrown))throw M.syncErrorValue;return M}},{key:"_trySubscribe",value:function(T){try{return this._subscribe(T)}catch(D){b.v.useDeprecatedSynchronousErrorHandling&&(T.syncErrorThrown=!0,T.syncErrorValue=D),(0,V._)(T)?T.error(D):console.warn(D)}}},{key:"forEach",value:function(T,D){var v=this;return new(D=x(D))(function(g,M){var k;k=v.subscribe(function(S){try{T(S)}catch(I){M(I),k&&k.unsubscribe()}},M,g)})}},{key:"_subscribe",value:function(T){var D=this.source;return D&&D.subscribe(T)}},{key:w.L,value:function(){return this}},{key:"pipe",value:function(){for(var T=arguments.length,D=new Array(T),v=0;v<T;v++)D[v]=arguments[v];return 0===D.length?this:(0,R.U)(D)(this)}},{key:"toPromise",value:function(T){var D=this;return new(T=x(T))(function(v,g){var M;D.subscribe(function(k){return M=k},function(k){return g(k)},function(){return v(M)})})}}]),O}();return Z.create=function(O){return new Z(O)},Z}();function x(Z){if(Z||(Z=b.v.Promise||Promise),!Z)throw new Error("no Promise impl found");return Z}},62454:function(ue,j,f){"use strict";f.d(j,{c:function(){return V}});var B=f(30095),U=f(26580),V={closed:!0,next:function(w){},error:function(w){if(B.v.useDeprecatedSynchronousErrorHandling)throw w;(0,U.z)(w)},complete:function(){}}},74314:function(ue,j,f){"use strict";f.d(j,{L:function(){return R}});var B=f(18967),U=f(14105),V=f(10509),L=f(97154),R=function(b){(0,V.Z)(x,b);var E=(0,L.Z)(x);function x(){return(0,B.Z)(this,x),E.apply(this,arguments)}return(0,U.Z)(x,[{key:"notifyNext",value:function(O,y,T,D,v){this.destination.next(y)}},{key:"notifyError",value:function(O,y){this.destination.error(O)}},{key:"notifyComplete",value:function(O){this.destination.complete()}}]),x}(f(72007).L)},12375:function(ue,j,f){"use strict";f.d(j,{t:function(){return T}});var B=f(18967),U=f(14105),V=f(38402),L=f(89200),w=f(10509),R=f(97154),b=f(27807),E=f(21734),x=f(43501),Z=f(63649),O=f(42078),y=f(17248),T=function(v){(0,w.Z)(M,v);var g=(0,R.Z)(M);function M(){var k,S=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY,I=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,F=arguments.length>2?arguments[2]:void 0;return(0,B.Z)(this,M),(k=g.call(this)).scheduler=F,k._events=[],k._infiniteTimeWindow=!1,k._bufferSize=S<1?1:S,k._windowTime=I<1?1:I,I===Number.POSITIVE_INFINITY?(k._infiniteTimeWindow=!0,k.next=k.nextInfiniteTimeWindow):k.next=k.nextTimeWindow,k}return(0,U.Z)(M,[{key:"nextInfiniteTimeWindow",value:function(S){if(!this.isStopped){var I=this._events;I.push(S),I.length>this._bufferSize&&I.shift()}(0,V.Z)((0,L.Z)(M.prototype),"next",this).call(this,S)}},{key:"nextTimeWindow",value:function(S){this.isStopped||(this._events.push(new D(this._getNow(),S)),this._trimBufferThenGetEvents()),(0,V.Z)((0,L.Z)(M.prototype),"next",this).call(this,S)}},{key:"_subscribe",value:function(S){var W,I=this._infiniteTimeWindow,F=I?this._events:this._trimBufferThenGetEvents(),G=this.scheduler,X=F.length;if(this.closed)throw new O.N;if(this.isStopped||this.hasError?W=x.w.EMPTY:(this.observers.push(S),W=new y.W(this,S)),G&&S.add(S=new Z.ht(S,G)),I)for(var Y=0;Y<X&&!S.closed;Y++)S.next(F[Y]);else for(var ae=0;ae<X&&!S.closed;ae++)S.next(F[ae].value);return this.hasError?S.error(this.thrownError):this.isStopped&&S.complete(),W}},{key:"_getNow",value:function(){return(this.scheduler||E.c).now()}},{key:"_trimBufferThenGetEvents",value:function(){for(var S=this._getNow(),I=this._bufferSize,F=this._windowTime,G=this._events,X=G.length,W=0;W<X&&!(S-G[W].time<F);)W++;return X>I&&(W=Math.max(W,X-I)),W>0&&G.splice(0,W),G}}]),M}(b.xQ),D=function v(g,M){(0,B.Z)(this,v),this.time=g,this.value=M}},54641:function(ue,j,f){"use strict";f.d(j,{b:function(){return V}});var B=f(18967),U=f(14105),V=function(){var L=function(){function w(R){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w.now;(0,B.Z)(this,w),this.SchedulerAction=R,this.now=b}return(0,U.Z)(w,[{key:"schedule",value:function(b){var E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,x=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,b).schedule(x,E)}}]),w}();return L.now=function(){return Date.now()},L}()},27807:function(ue,j,f){"use strict";f.d(j,{Yc:function(){return T},xQ:function(){return D},ug:function(){return v}});var B=f(14105),U=f(38402),V=f(89200),L=f(18967),w=f(10509),R=f(97154),b=f(15801),E=f(72007),x=f(43501),Z=f(42078),O=f(17248),y=f(24629),T=function(g){(0,w.Z)(k,g);var M=(0,R.Z)(k);function k(S){var I;return(0,L.Z)(this,k),(I=M.call(this,S)).destination=S,I}return k}(E.L),D=function(){var g=function(M){(0,w.Z)(S,M);var k=(0,R.Z)(S);function S(){var I;return(0,L.Z)(this,S),(I=k.call(this)).observers=[],I.closed=!1,I.isStopped=!1,I.hasError=!1,I.thrownError=null,I}return(0,B.Z)(S,[{key:y.b,value:function(){return new T(this)}},{key:"lift",value:function(F){var G=new v(this,this);return G.operator=F,G}},{key:"next",value:function(F){if(this.closed)throw new Z.N;if(!this.isStopped)for(var G=this.observers,X=G.length,W=G.slice(),Y=0;Y<X;Y++)W[Y].next(F)}},{key:"error",value:function(F){if(this.closed)throw new Z.N;this.hasError=!0,this.thrownError=F,this.isStopped=!0;for(var G=this.observers,X=G.length,W=G.slice(),Y=0;Y<X;Y++)W[Y].error(F);this.observers.length=0}},{key:"complete",value:function(){if(this.closed)throw new Z.N;this.isStopped=!0;for(var F=this.observers,G=F.length,X=F.slice(),W=0;W<G;W++)X[W].complete();this.observers.length=0}},{key:"unsubscribe",value:function(){this.isStopped=!0,this.closed=!0,this.observers=null}},{key:"_trySubscribe",value:function(F){if(this.closed)throw new Z.N;return(0,U.Z)((0,V.Z)(S.prototype),"_trySubscribe",this).call(this,F)}},{key:"_subscribe",value:function(F){if(this.closed)throw new Z.N;return this.hasError?(F.error(this.thrownError),x.w.EMPTY):this.isStopped?(F.complete(),x.w.EMPTY):(this.observers.push(F),new O.W(this,F))}},{key:"asObservable",value:function(){var F=new b.y;return F.source=this,F}}]),S}(b.y);return g.create=function(M,k){return new v(M,k)},g}(),v=function(g){(0,w.Z)(k,g);var M=(0,R.Z)(k);function k(S,I){var F;return(0,L.Z)(this,k),(F=M.call(this)).destination=S,F.source=I,F}return(0,B.Z)(k,[{key:"next",value:function(I){var F=this.destination;F&&F.next&&F.next(I)}},{key:"error",value:function(I){var F=this.destination;F&&F.error&&this.destination.error(I)}},{key:"complete",value:function(){var I=this.destination;I&&I.complete&&this.destination.complete()}},{key:"_subscribe",value:function(I){return this.source?this.source.subscribe(I):x.w.EMPTY}}]),k}(D)},17248:function(ue,j,f){"use strict";f.d(j,{W:function(){return R}});var B=f(18967),U=f(14105),V=f(10509),L=f(97154),R=function(b){(0,V.Z)(x,b);var E=(0,L.Z)(x);function x(Z,O){var y;return(0,B.Z)(this,x),(y=E.call(this)).subject=Z,y.subscriber=O,y.closed=!1,y}return(0,U.Z)(x,[{key:"unsubscribe",value:function(){if(!this.closed){this.closed=!0;var O=this.subject,y=O.observers;if(this.subject=null,y&&0!==y.length&&!O.isStopped&&!O.closed){var T=y.indexOf(this.subscriber);-1!==T&&y.splice(T,1)}}}}]),x}(f(43501).w)},72007:function(ue,j,f){"use strict";f.d(j,{L:function(){return D}});var B=f(18967),U=f(14105),V=f(88009),L=f(38402),w=f(89200),R=f(10509),b=f(97154),E=f(9813),x=f(62454),Z=f(43501),O=f(24629),y=f(30095),T=f(26580),D=function(g){(0,R.Z)(k,g);var M=(0,b.Z)(k);function k(S,I,F){var G;switch((0,B.Z)(this,k),(G=M.call(this)).syncErrorValue=null,G.syncErrorThrown=!1,G.syncErrorThrowable=!1,G.isStopped=!1,arguments.length){case 0:G.destination=x.c;break;case 1:if(!S){G.destination=x.c;break}if("object"==typeof S){S instanceof k?(G.syncErrorThrowable=S.syncErrorThrowable,G.destination=S,S.add((0,V.Z)(G))):(G.syncErrorThrowable=!0,G.destination=new v((0,V.Z)(G),S));break}default:G.syncErrorThrowable=!0,G.destination=new v((0,V.Z)(G),S,I,F)}return G}return(0,U.Z)(k,[{key:O.b,value:function(){return this}},{key:"next",value:function(I){this.isStopped||this._next(I)}},{key:"error",value:function(I){this.isStopped||(this.isStopped=!0,this._error(I))}},{key:"complete",value:function(){this.isStopped||(this.isStopped=!0,this._complete())}},{key:"unsubscribe",value:function(){this.closed||(this.isStopped=!0,(0,L.Z)((0,w.Z)(k.prototype),"unsubscribe",this).call(this))}},{key:"_next",value:function(I){this.destination.next(I)}},{key:"_error",value:function(I){this.destination.error(I),this.unsubscribe()}},{key:"_complete",value:function(){this.destination.complete(),this.unsubscribe()}},{key:"_unsubscribeAndRecycle",value:function(){var I=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=I,this}}],[{key:"create",value:function(I,F,G){var X=new k(I,F,G);return X.syncErrorThrowable=!1,X}}]),k}(Z.w),v=function(g){(0,R.Z)(k,g);var M=(0,b.Z)(k);function k(S,I,F,G){var X;(0,B.Z)(this,k),(X=M.call(this))._parentSubscriber=S;var W,Y=(0,V.Z)(X);return(0,E.m)(I)?W=I:I&&(W=I.next,F=I.error,G=I.complete,I!==x.c&&(Y=Object.create(I),(0,E.m)(Y.unsubscribe)&&X.add(Y.unsubscribe.bind(Y)),Y.unsubscribe=X.unsubscribe.bind((0,V.Z)(X)))),X._context=Y,X._next=W,X._error=F,X._complete=G,X}return(0,U.Z)(k,[{key:"next",value:function(I){if(!this.isStopped&&this._next){var F=this._parentSubscriber;y.v.useDeprecatedSynchronousErrorHandling&&F.syncErrorThrowable?this.__tryOrSetError(F,this._next,I)&&this.unsubscribe():this.__tryOrUnsub(this._next,I)}}},{key:"error",value:function(I){if(!this.isStopped){var F=this._parentSubscriber,G=y.v.useDeprecatedSynchronousErrorHandling;if(this._error)G&&F.syncErrorThrowable?(this.__tryOrSetError(F,this._error,I),this.unsubscribe()):(this.__tryOrUnsub(this._error,I),this.unsubscribe());else if(F.syncErrorThrowable)G?(F.syncErrorValue=I,F.syncErrorThrown=!0):(0,T.z)(I),this.unsubscribe();else{if(this.unsubscribe(),G)throw I;(0,T.z)(I)}}}},{key:"complete",value:function(){var I=this;if(!this.isStopped){var F=this._parentSubscriber;if(this._complete){var G=function(){return I._complete.call(I._context)};y.v.useDeprecatedSynchronousErrorHandling&&F.syncErrorThrowable?(this.__tryOrSetError(F,G),this.unsubscribe()):(this.__tryOrUnsub(G),this.unsubscribe())}else this.unsubscribe()}}},{key:"__tryOrUnsub",value:function(I,F){try{I.call(this._context,F)}catch(G){if(this.unsubscribe(),y.v.useDeprecatedSynchronousErrorHandling)throw G;(0,T.z)(G)}}},{key:"__tryOrSetError",value:function(I,F,G){if(!y.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{F.call(this._context,G)}catch(X){return y.v.useDeprecatedSynchronousErrorHandling?(I.syncErrorValue=X,I.syncErrorThrown=!0,!0):((0,T.z)(X),!0)}return!1}},{key:"_unsubscribe",value:function(){var I=this._parentSubscriber;this._context=null,this._parentSubscriber=null,I.unsubscribe()}}]),k}(D)},43501:function(ue,j,f){"use strict";f.d(j,{w:function(){return b}});var x,B=f(18967),U=f(14105),V=f(40830),L=f(11458),w=f(9813),R=f(59508),b=function(){function x(Z){(0,B.Z)(this,x),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,Z&&(this._ctorUnsubscribe=!0,this._unsubscribe=Z)}return(0,U.Z)(x,[{key:"unsubscribe",value:function(){var O;if(!this.closed){var y=this._parentOrParents,T=this._ctorUnsubscribe,D=this._unsubscribe,v=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,y instanceof x)y.remove(this);else if(null!==y)for(var g=0;g<y.length;++g)y[g].remove(this);if((0,w.m)(D)){T&&(this._unsubscribe=void 0);try{D.call(this)}catch(F){O=F instanceof R.B?E(F.errors):[F]}}if((0,V.k)(v))for(var k=-1,S=v.length;++k<S;){var I=v[k];if((0,L.K)(I))try{I.unsubscribe()}catch(F){O=O||[],F instanceof R.B?O=O.concat(E(F.errors)):O.push(F)}}if(O)throw new R.B(O)}}},{key:"add",value:function(O){var y=O;if(!O)return x.EMPTY;switch(typeof O){case"function":y=new x(O);case"object":if(y===this||y.closed||"function"!=typeof y.unsubscribe)return y;if(this.closed)return y.unsubscribe(),y;if(!(y instanceof x)){var T=y;(y=new x)._subscriptions=[T]}break;default:throw new Error("unrecognized teardown "+O+" added to Subscription.")}var v=y._parentOrParents;if(null===v)y._parentOrParents=this;else if(v instanceof x){if(v===this)return y;y._parentOrParents=[v,this]}else{if(-1!==v.indexOf(this))return y;v.push(this)}var g=this._subscriptions;return null===g?this._subscriptions=[y]:g.push(y),y}},{key:"remove",value:function(O){var y=this._subscriptions;if(y){var T=y.indexOf(O);-1!==T&&y.splice(T,1)}}}]),x}();function E(x){return x.reduce(function(Z,O){return Z.concat(O instanceof R.B?O.errors:O)},[])}b.EMPTY=((x=new b).closed=!0,x)},30095:function(ue,j,f){"use strict";f.d(j,{v:function(){return U}});var B=!1,U={Promise:void 0,set useDeprecatedSynchronousErrorHandling(V){if(V){var L=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+L.stack)}else B&&console.log("RxJS: Back to a better error behavior. Thank you. <3");B=V},get useDeprecatedSynchronousErrorHandling(){return B}}},26303:function(ue,j,f){"use strict";f.d(j,{IY:function(){return E},Ds:function(){return Z},ft:function(){return y}});var B=f(18967),U=f(14105),V=f(10509),L=f(97154),w=f(72007),R=f(15801),b=f(9158),E=function(T){(0,V.Z)(v,T);var D=(0,L.Z)(v);function v(g){var M;return(0,B.Z)(this,v),(M=D.call(this)).parent=g,M}return(0,U.Z)(v,[{key:"_next",value:function(M){this.parent.notifyNext(M)}},{key:"_error",value:function(M){this.parent.notifyError(M),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(),this.unsubscribe()}}]),v}(w.L),Z=function(T){(0,V.Z)(v,T);var D=(0,L.Z)(v);function v(){return(0,B.Z)(this,v),D.apply(this,arguments)}return(0,U.Z)(v,[{key:"notifyNext",value:function(M){this.destination.next(M)}},{key:"notifyError",value:function(M){this.destination.error(M)}},{key:"notifyComplete",value:function(){this.destination.complete()}}]),v}(w.L);function y(T,D){if(!D.closed){if(T instanceof R.y)return T.subscribe(D);var v;try{v=(0,b.s)(T)(D)}catch(g){D.error(g)}return v}}},96705:function(ue,j,f){"use strict";f.d(j,{c:function(){return y},N:function(){return T}});var M,B=f(38402),U=f(89200),V=f(18967),L=f(14105),w=f(10509),R=f(97154),b=f(27807),E=f(15801),Z=(f(72007),f(43501)),O=f(56866),y=function(M){(0,w.Z)(S,M);var k=(0,R.Z)(S);function S(I,F){var G;return(0,V.Z)(this,S),(G=k.call(this)).source=I,G.subjectFactory=F,G._refCount=0,G._isComplete=!1,G}return(0,L.Z)(S,[{key:"_subscribe",value:function(F){return this.getSubject().subscribe(F)}},{key:"getSubject",value:function(){var F=this._subject;return(!F||F.isStopped)&&(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var F=this._connection;return F||(this._isComplete=!1,(F=this._connection=new Z.w).add(this.source.subscribe(new D(this.getSubject(),this))),F.closed&&(this._connection=null,F=Z.w.EMPTY)),F}},{key:"refCount",value:function(){return(0,O.x)()(this)}}]),S}(E.y),T={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(M=y.prototype)._subscribe},_isComplete:{value:M._isComplete,writable:!0},getSubject:{value:M.getSubject},connect:{value:M.connect},refCount:{value:M.refCount}},D=function(M){(0,w.Z)(S,M);var k=(0,R.Z)(S);function S(I,F){var G;return(0,V.Z)(this,S),(G=k.call(this,I)).connectable=F,G}return(0,L.Z)(S,[{key:"_error",value:function(F){this._unsubscribe(),(0,B.Z)((0,U.Z)(S.prototype),"_error",this).call(this,F)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),(0,B.Z)((0,U.Z)(S.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var F=this.connectable;if(F){this.connectable=null;var G=F._connection;F._refCount=0,F._subject=null,F._connection=null,G&&G.unsubscribe()}}}]),S}(b.Yc)},39470:function(ue,j,f){"use strict";f.d(j,{e:function(){return E}});var B=f(18967),U=f(14105),V=f(10509),L=f(97154),w=f(15801),R=f(16080),b=f(32104),E=function(x){(0,V.Z)(O,x);var Z=(0,L.Z)(O);function O(y){var T,D=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,v=arguments.length>2&&void 0!==arguments[2]?arguments[2]:R.e;return(0,B.Z)(this,O),(T=Z.call(this)).source=y,T.delayTime=D,T.scheduler=v,(!(0,b.k)(D)||D<0)&&(T.delayTime=0),(!v||"function"!=typeof v.schedule)&&(T.scheduler=R.e),T}return(0,U.Z)(O,[{key:"_subscribe",value:function(T){return this.scheduler.schedule(O.dispatch,this.delayTime,{source:this.source,subscriber:T})}}],[{key:"create",value:function(T){var D=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,v=arguments.length>2&&void 0!==arguments[2]?arguments[2]:R.e;return new O(T,D,v)}},{key:"dispatch",value:function(T){return this.add(T.source.subscribe(T.subscriber))}}]),O}(w.y)},40452:function(ue,j,f){"use strict";f.d(j,{aj:function(){return O},Ms:function(){return y}});var B=f(10509),U=f(97154),V=f(18967),L=f(14105),w=f(62731),R=f(40830),b=f(74314),E=f(99319),x=f(80801),Z={};function O(){for(var D=arguments.length,v=new Array(D),g=0;g<D;g++)v[g]=arguments[g];var M=void 0,k=void 0;return(0,w.K)(v[v.length-1])&&(k=v.pop()),"function"==typeof v[v.length-1]&&(M=v.pop()),1===v.length&&(0,R.k)(v[0])&&(v=v[0]),(0,x.n)(v,k).lift(new y(M))}var y=function(){function D(v){(0,V.Z)(this,D),this.resultSelector=v}return(0,L.Z)(D,[{key:"call",value:function(g,M){return M.subscribe(new T(g,this.resultSelector))}}]),D}(),T=function(D){(0,B.Z)(g,D);var v=(0,U.Z)(g);function g(M,k){var S;return(0,V.Z)(this,g),(S=v.call(this,M)).resultSelector=k,S.active=0,S.values=[],S.observables=[],S}return(0,L.Z)(g,[{key:"_next",value:function(k){this.values.push(Z),this.observables.push(k)}},{key:"_complete",value:function(){var k=this.observables,S=k.length;if(0===S)this.destination.complete();else{this.active=S,this.toRespond=S;for(var I=0;I<S;I++)this.add((0,E.D)(this,k[I],void 0,I))}}},{key:"notifyComplete",value:function(k){0==(this.active-=1)&&this.destination.complete()}},{key:"notifyNext",value:function(k,S,I){var F=this.values,X=this.toRespond?F[I]===Z?--this.toRespond:this.toRespond:0;F[I]=S,0===X&&(this.resultSelector?this._tryResultSelector(F):this.destination.next(F.slice()))}},{key:"_tryResultSelector",value:function(k){var S;try{S=this.resultSelector.apply(this,k)}catch(I){return void this.destination.error(I)}this.destination.next(S)}}]),g}(b.L)},60636:function(ue,j,f){"use strict";f.d(j,{z:function(){return V}});var B=f(82429),U=f(12538);function V(){return(0,U.u)()(B.of.apply(void 0,arguments))}},19770:function(ue,j,f){"use strict";f.d(j,{P:function(){return L}});var B=f(15801),U=f(17048),V=f(5441);function L(w){return new B.y(function(R){var b;try{b=w()}catch(x){return void R.error(x)}return(b?(0,U.D)(b):(0,V.c)()).subscribe(R)})}},93061:function(ue,j,f){"use strict";f.d(j,{Ck:function(){return T},tB:function(){return D},_c:function(){return v},Vk:function(){return g},YB:function(){return M},uX:function(){return S},i6:function(){return I},de:function(){return F},vD:function(){return G},iM:function(){return W},cw:function(){return fe}});var B=f(38402),U=f(89200),V=f(18967),L=f(14105),w=f(10509),R=f(97154),b=f(1996),E=f(15801),x=f(72007);function T(ce){var he=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return new I({method:"GET",url:ce,headers:he})}function D(ce,he,de){return new I({method:"POST",url:ce,body:he,headers:de})}function v(ce,he){return new I({method:"DELETE",url:ce,headers:he})}function g(ce,he,de){return new I({method:"PUT",url:ce,body:he,headers:de})}function M(ce,he,de){return new I({method:"PATCH",url:ce,body:he,headers:de})}var k=(0,f(98771).U)(function(ce,he){return ce.response});function S(ce,he){return k(new I({method:"GET",url:ce,responseType:"json",headers:he}))}var ce,I=function(ce){(0,w.Z)(de,ce);var he=(0,R.Z)(de);function de(oe){var Ce;(0,V.Z)(this,de),Ce=he.call(this);var ge={async:!0,createXHR:function(){return this.crossDomain?function(){if(b.J.XMLHttpRequest)return new b.J.XMLHttpRequest;if(b.J.XDomainRequest)return new b.J.XDomainRequest;throw new Error("CORS is not supported by your browser")}():function(){if(b.J.XMLHttpRequest)return new b.J.XMLHttpRequest;var ce;try{for(var he=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],de=0;de<3;de++)try{if(new b.J.ActiveXObject(ce=he[de]))break}catch(oe){}return new b.J.ActiveXObject(ce)}catch(oe){throw new Error("XMLHttpRequest is not supported by your browser")}}()},crossDomain:!0,withCredentials:!1,headers:{},method:"GET",responseType:"json",timeout:0};if("string"==typeof oe)ge.url=oe;else for(var qe in oe)oe.hasOwnProperty(qe)&&(ge[qe]=oe[qe]);return Ce.request=ge,Ce}return(0,L.Z)(de,[{key:"_subscribe",value:function(Ce){return new F(Ce,this.request)}}]),de}(E.y);I.create=((ce=function(de){return new I(de)}).get=T,ce.post=D,ce.delete=v,ce.put=g,ce.patch=M,ce.getJSON=S,ce);var F=function(ce){(0,w.Z)(de,ce);var he=(0,R.Z)(de);function de(oe,Ce){var ge;(0,V.Z)(this,de),(ge=he.call(this,oe)).request=Ce,ge.done=!1;var qe=Ce.headers=Ce.headers||{};return!Ce.crossDomain&&!ge.getHeader(qe,"X-Requested-With")&&(qe["X-Requested-With"]="XMLHttpRequest"),!ge.getHeader(qe,"Content-Type")&&!(b.J.FormData&&Ce.body instanceof b.J.FormData)&&void 0!==Ce.body&&(qe["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),Ce.body=ge.serializeBody(Ce.body,ge.getHeader(Ce.headers,"Content-Type")),ge.send(),ge}return(0,L.Z)(de,[{key:"next",value:function(Ce){this.done=!0;var Qe,ge=this.xhr,qe=this.request,De=this.destination;try{Qe=new G(Ce,ge,qe)}catch(et){return De.error(et)}De.next(Qe)}},{key:"send",value:function(){var Ce=this.request,ge=this.request,qe=ge.user,De=ge.method,Qe=ge.url,et=ge.async,bt=ge.password,_e=ge.headers,xe=ge.body;try{var He=this.xhr=Ce.createXHR();this.setupEvents(He,Ce),qe?He.open(De,Qe,et,qe,bt):He.open(De,Qe,et),et&&(He.timeout=Ce.timeout,He.responseType=Ce.responseType),"withCredentials"in He&&(He.withCredentials=!!Ce.withCredentials),this.setHeaders(He,_e),xe?He.send(xe):He.send()}catch(st){this.error(st)}}},{key:"serializeBody",value:function(Ce,ge){if(!Ce||"string"==typeof Ce)return Ce;if(b.J.FormData&&Ce instanceof b.J.FormData)return Ce;if(ge){var qe=ge.indexOf(";");-1!==qe&&(ge=ge.substring(0,qe))}switch(ge){case"application/x-www-form-urlencoded":return Object.keys(Ce).map(function(De){return"".concat(encodeURIComponent(De),"=").concat(encodeURIComponent(Ce[De]))}).join("&");case"application/json":return JSON.stringify(Ce);default:return Ce}}},{key:"setHeaders",value:function(Ce,ge){for(var qe in ge)ge.hasOwnProperty(qe)&&Ce.setRequestHeader(qe,ge[qe])}},{key:"getHeader",value:function(Ce,ge){for(var qe in Ce)if(qe.toLowerCase()===ge.toLowerCase())return Ce[qe]}},{key:"setupEvents",value:function(Ce,ge){var Qe,et,qe=ge.progressSubscriber;function De(xe){var Zt,He=De.subscriber,st=De.progressSubscriber,tt=De.request;st&&st.error(xe);try{Zt=new fe(this,tt)}catch(Tt){Zt=Tt}He.error(Zt)}(Ce.ontimeout=De,De.request=ge,De.subscriber=this,De.progressSubscriber=qe,Ce.upload&&"withCredentials"in Ce)&&(qe&&(Qe=function(He){Qe.progressSubscriber.next(He)},b.J.XDomainRequest?Ce.onprogress=Qe:Ce.upload.onprogress=Qe,Qe.progressSubscriber=qe),Ce.onerror=et=function(He){var mt,tt=et.progressSubscriber,Zt=et.subscriber,Tt=et.request;tt&&tt.error(He);try{mt=new W("ajax error",this,Tt)}catch(Yt){mt=Yt}Zt.error(mt)},et.request=ge,et.subscriber=this,et.progressSubscriber=qe);function bt(xe){}function _e(xe){var He=_e.subscriber,st=_e.progressSubscriber,tt=_e.request;if(4===this.readyState){var Zt=1223===this.status?204:this.status;if(0===Zt&&(Zt=("text"===this.responseType?this.response||this.responseText:this.response)?200:0),Zt<400)st&&st.complete(),He.next(xe),He.complete();else{var mt;st&&st.error(xe);try{mt=new W("ajax error "+Zt,this,tt)}catch(Yt){mt=Yt}He.error(mt)}}}Ce.onreadystatechange=bt,bt.subscriber=this,bt.progressSubscriber=qe,bt.request=ge,Ce.onload=_e,_e.subscriber=this,_e.progressSubscriber=qe,_e.request=ge}},{key:"unsubscribe",value:function(){var ge=this.xhr;!this.done&&ge&&4!==ge.readyState&&"function"==typeof ge.abort&&ge.abort(),(0,B.Z)((0,U.Z)(de.prototype),"unsubscribe",this).call(this)}}]),de}(x.L),G=function ce(he,de,oe){(0,V.Z)(this,ce),this.originalEvent=he,this.xhr=de,this.request=oe,this.status=de.status,this.responseType=de.responseType||oe.responseType,this.response=ae(this.responseType,de)},X=function(){function ce(he,de,oe){return Error.call(this),this.message=he,this.name="AjaxError",this.xhr=de,this.request=oe,this.status=de.status,this.responseType=de.responseType||oe.responseType,this.response=ae(this.responseType,de),this}return ce.prototype=Object.create(Error.prototype),ce}(),W=X;function ae(ce,he){switch(ce){case"json":return function(ce){return"response"in ce?ce.responseType?ce.response:JSON.parse(ce.response||ce.responseText||"null"):JSON.parse(ce.responseText||"null")}(he);case"xml":return he.responseXML;default:return"response"in he?he.response:he.responseText}}var fe=function(ce,he){return W.call(this,"ajax timeout",ce,he),this.name="AjaxTimeoutError",this}},60272:function(ue,j,f){"use strict";f.d(j,{p:function(){return D}});var B=f(18967),U=f(14105),V=f(38402),L=f(89200),w=f(10509),R=f(97154),b=f(27807),E=f(72007),x=f(15801),Z=f(43501),O=f(12375),y={url:"",deserializer:function(g){return JSON.parse(g.data)},serializer:function(g){return JSON.stringify(g)}},D=function(v){(0,w.Z)(M,v);var g=(0,R.Z)(M);function M(k,S){var I;if((0,B.Z)(this,M),I=g.call(this),k instanceof x.y)I.destination=S,I.source=k;else{var F=I._config=Object.assign({},y);if(I._output=new b.xQ,"string"==typeof k)F.url=k;else for(var G in k)k.hasOwnProperty(G)&&(F[G]=k[G]);if(!F.WebSocketCtor&&WebSocket)F.WebSocketCtor=WebSocket;else if(!F.WebSocketCtor)throw new Error("no WebSocket constructor can be found");I.destination=new O.t}return I}return(0,U.Z)(M,[{key:"lift",value:function(S){var I=new M(this._config,this.destination);return I.operator=S,I.source=this,I}},{key:"_resetState",value:function(){this._socket=null,this.source||(this.destination=new O.t),this._output=new b.xQ}},{key:"multiplex",value:function(S,I,F){var G=this;return new x.y(function(X){try{G.next(S())}catch(Y){X.error(Y)}var W=G.subscribe(function(Y){try{F(Y)&&X.next(Y)}catch(ae){X.error(ae)}},function(Y){return X.error(Y)},function(){return X.complete()});return function(){try{G.next(I())}catch(Y){X.error(Y)}W.unsubscribe()}})}},{key:"_connectSocket",value:function(){var S=this,I=this._config,F=I.WebSocketCtor,G=I.protocol,X=I.url,W=I.binaryType,Y=this._output,ae=null;try{ae=G?new F(X,G):new F(X),this._socket=ae,W&&(this._socket.binaryType=W)}catch(fe){return void Y.error(fe)}var K=new Z.w(function(){S._socket=null,ae&&1===ae.readyState&&ae.close()});ae.onopen=function(fe){if(!S._socket)return ae.close(),void S._resetState();var he=S._config.openObserver;he&&he.next(fe);var de=S.destination;S.destination=E.L.create(function(oe){if(1===ae.readyState)try{ae.send((0,S._config.serializer)(oe))}catch(ge){S.destination.error(ge)}},function(oe){var Ce=S._config.closingObserver;Ce&&Ce.next(void 0),oe&&oe.code?ae.close(oe.code,oe.reason):Y.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),S._resetState()},function(){var oe=S._config.closingObserver;oe&&oe.next(void 0),ae.close(),S._resetState()}),de&&de instanceof O.t&&K.add(de.subscribe(S.destination))},ae.onerror=function(fe){S._resetState(),Y.error(fe)},ae.onclose=function(fe){S._resetState();var ce=S._config.closeObserver;ce&&ce.next(fe),fe.wasClean?Y.complete():Y.error(fe)},ae.onmessage=function(fe){try{Y.next((0,S._config.deserializer)(fe))}catch(he){Y.error(he)}}}},{key:"_subscribe",value:function(S){var I=this,F=this.source;return F?F.subscribe(S):(this._socket||this._connectSocket(),this._output.subscribe(S),S.add(function(){var G=I._socket;0===I._output.observers.length&&(G&&1===G.readyState&&G.close(),I._resetState())}),S)}},{key:"unsubscribe",value:function(){var S=this._socket;S&&1===S.readyState&&S.close(),this._resetState(),(0,V.Z)((0,L.Z)(M.prototype),"unsubscribe",this).call(this)}}]),M}(b.ug)},48833:function(ue,j,f){"use strict";f.d(j,{h:function(){return U}});var U=f(93061).i6.create},67198:function(ue,j,f){"use strict";f.d(j,{j:function(){return U}});var B=f(60272);function U(V){return new B.p(V)}},5441:function(ue,j,f){"use strict";f.d(j,{E:function(){return U},c:function(){return V}});var B=f(15801),U=new B.y(function(w){return w.complete()});function V(w){return w?function(w){return new B.y(function(R){return w.schedule(function(){return R.complete()})})}(w):U}},24778:function(ue,j,f){"use strict";f.d(j,{D:function(){return b}});var B=f(333),U=f(15801),V=f(40830),L=f(98771),w=f(11458),R=f(17048);function b(){for(var x=arguments.length,Z=new Array(x),O=0;O<x;O++)Z[O]=arguments[O];if(1===Z.length){var y=Z[0];if((0,V.k)(y))return E(y,null);if((0,w.K)(y)&&Object.getPrototypeOf(y)===Object.prototype){var T=Object.keys(y);return E(T.map(function(v){return y[v]}),T)}}if("function"==typeof Z[Z.length-1]){var D=Z.pop();return E(Z=1===Z.length&&(0,V.k)(Z[0])?Z[0]:Z,null).pipe((0,L.U)(function(v){return D.apply(void 0,(0,B.Z)(v))}))}return E(Z,null)}function E(x,Z){return new U.y(function(O){var y=x.length;if(0!==y)for(var T=new Array(y),D=0,v=0,g=function(S){var I=(0,R.D)(x[S]),F=!1;O.add(I.subscribe({next:function(X){F||(F=!0,v++),T[S]=X},error:function(X){return O.error(X)},complete:function(){(++D===y||!F)&&(v===y&&O.next(Z?Z.reduce(function(X,W,Y){return X[W]=T[Y],X},{}):T),O.complete())}}))},M=0;M<y;M++)g(M);else O.complete()})}},17048:function(ue,j,f){"use strict";f.d(j,{D:function(){return L}});var B=f(15801),U=f(9158),V=f(72622);function L(w,R){return R?(0,V.x)(w,R):w instanceof B.y?w:new B.y((0,U.s)(w))}},80801:function(ue,j,f){"use strict";f.d(j,{n:function(){return L}});var B=f(15801),U=f(10202),V=f(2411);function L(w,R){return R?(0,V.r)(w,R):new B.y((0,U.V)(w))}},4998:function(ue,j,f){"use strict";f.d(j,{R:function(){return b}});var B=f(333),U=f(15801),V=f(40830),L=f(9813),w=f(98771);function b(y,T,D,v){return(0,L.m)(D)&&(v=D,D=void 0),v?b(y,T,D).pipe((0,w.U)(function(g){return(0,V.k)(g)?v.apply(void 0,(0,B.Z)(g)):v(g)})):new U.y(function(g){E(y,T,function(k){g.next(arguments.length>1?Array.prototype.slice.call(arguments):k)},g,D)})}function E(y,T,D,v,g){var M;if(function(y){return y&&"function"==typeof y.addEventListener&&"function"==typeof y.removeEventListener}(y)){var k=y;y.addEventListener(T,D,g),M=function(){return k.removeEventListener(T,D,g)}}else if(function(y){return y&&"function"==typeof y.on&&"function"==typeof y.off}(y)){var S=y;y.on(T,D),M=function(){return S.off(T,D)}}else if(function(y){return y&&"function"==typeof y.addListener&&"function"==typeof y.removeListener}(y)){var I=y;y.addListener(T,D),M=function(){return I.removeListener(T,D)}}else{if(!y||!y.length)throw new TypeError("Invalid event target");for(var F=0,G=y.length;F<G;F++)E(y[F],T,D,v,g)}v.add(M)}},74611:function(ue,j,f){"use strict";f.d(j,{F:function(){return L}});var B=f(15801),U=f(59449),V=f(32104);function L(){var R=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:U.P;return(!(0,V.k)(R)||R<0)&&(R=0),(!b||"function"!=typeof b.schedule)&&(b=U.P),new B.y(function(E){return E.add(b.schedule(w,R,{subscriber:E,counter:0,period:R})),E})}function w(R){var b=R.subscriber,E=R.counter,x=R.period;b.next(E),this.schedule({subscriber:b,counter:E+1,period:x},x)}},69301:function(ue,j,f){"use strict";f.d(j,{T:function(){return w}});var B=f(15801),U=f(62731),V=f(76955),L=f(80801);function w(){for(var R=Number.POSITIVE_INFINITY,b=null,E=arguments.length,x=new Array(E),Z=0;Z<E;Z++)x[Z]=arguments[Z];var O=x[x.length-1];return(0,U.K)(O)?(b=x.pop(),x.length>1&&"number"==typeof x[x.length-1]&&(R=x.pop())):"number"==typeof O&&(R=x.pop()),null===b&&1===x.length&&x[0]instanceof B.y?x[0]:(0,V.J)(R)((0,L.n)(x,b))}},82429:function(ue,j,f){"use strict";f.d(j,{of:function(){return L}});var B=f(62731),U=f(80801),V=f(2411);function L(){for(var w=arguments.length,R=new Array(w),b=0;b<w;b++)R[b]=arguments[b];var E=R[R.length-1];return(0,B.K)(E)?(R.pop(),(0,V.r)(R,E)):(0,U.n)(R)}},89100:function(ue,j,f){"use strict";f.d(j,{S3:function(){return x}});var B=f(10509),U=f(97154),V=f(18967),L=f(14105),w=f(40830),R=f(80801),b=f(74314),E=f(99319);function x(){for(var y=arguments.length,T=new Array(y),D=0;D<y;D++)T[D]=arguments[D];if(1===T.length){if(!(0,w.k)(T[0]))return T[0];T=T[0]}return(0,R.n)(T,void 0).lift(new Z)}var Z=function(){function y(){(0,V.Z)(this,y)}return(0,L.Z)(y,[{key:"call",value:function(D,v){return v.subscribe(new O(D))}}]),y}(),O=function(y){(0,B.Z)(D,y);var T=(0,U.Z)(D);function D(v){var g;return(0,V.Z)(this,D),(g=T.call(this,v)).hasFirst=!1,g.observables=[],g.subscriptions=[],g}return(0,L.Z)(D,[{key:"_next",value:function(g){this.observables.push(g)}},{key:"_complete",value:function(){var g=this.observables,M=g.length;if(0===M)this.destination.complete();else{for(var k=0;k<M&&!this.hasFirst;k++){var I=(0,E.D)(this,g[k],void 0,k);this.subscriptions&&this.subscriptions.push(I),this.add(I)}this.observables=null}}},{key:"notifyNext",value:function(g,M,k){if(!this.hasFirst){this.hasFirst=!0;for(var S=0;S<this.subscriptions.length;S++)if(S!==k){var I=this.subscriptions[S];I.unsubscribe(),this.remove(I)}this.subscriptions=null}this.destination.next(M)}}]),D}(b.L)},6575:function(ue,j,f){"use strict";f.d(j,{w:function(){return U},W:function(){return V}});var B=f(15801);function U(){var L=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,w=arguments.length>1?arguments[1]:void 0,R=arguments.length>2?arguments[2]:void 0;return new B.y(function(b){void 0===w&&(w=L,L=0);var E=0,x=L;if(R)return R.schedule(V,0,{index:E,count:w,start:L,subscriber:b});for(;;){if(E++>=w){b.complete();break}if(b.next(x++),b.closed)break}})}function V(L){var w=L.start,R=L.index,E=L.subscriber;R>=L.count?E.complete():(E.next(w),!E.closed&&(L.index=R+1,L.start=w+1,this.schedule(L)))}},43334:function(ue,j,f){"use strict";f.d(j,{_:function(){return U}});var B=f(15801);function U(L,w){return new B.y(w?function(R){return w.schedule(V,0,{error:L,subscriber:R})}:function(R){return R.error(L)})}function V(L){L.subscriber.error(L.error)}},46674:function(ue,j,f){"use strict";f.d(j,{H:function(){return w}});var B=f(15801),U=f(59449),V=f(32104),L=f(62731);function w(){var b=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,E=arguments.length>1?arguments[1]:void 0,x=arguments.length>2?arguments[2]:void 0,Z=-1;return(0,V.k)(E)?Z=Number(E)<1?1:Number(E):(0,L.K)(E)&&(x=E),(0,L.K)(x)||(x=U.P),new B.y(function(O){var y=(0,V.k)(b)?b:+b-x.now();return x.schedule(R,y,{index:0,period:Z,subscriber:O})})}function R(b){var E=b.index,x=b.period,Z=b.subscriber;if(Z.next(E),!Z.closed){if(-1===x)return Z.complete();b.index=E+1,this.schedule(b,x)}}},4042:function(ue,j,f){"use strict";f.d(j,{$R:function(){return Z},mx:function(){return O}});var B=f(10509),U=f(97154),V=f(18967),L=f(14105),w=f(80801),R=f(40830),b=f(72007),E=f(56203),x=f(26303);function Z(){for(var g=arguments.length,M=new Array(g),k=0;k<g;k++)M[k]=arguments[k];var S=M[M.length-1];return"function"==typeof S&&M.pop(),(0,w.n)(M,void 0).lift(new O(S))}var O=function(){function g(M){(0,V.Z)(this,g),this.resultSelector=M}return(0,L.Z)(g,[{key:"call",value:function(k,S){return S.subscribe(new y(k,this.resultSelector))}}]),g}(),y=function(g){(0,B.Z)(k,g);var M=(0,U.Z)(k);function k(S,I){var F;return arguments.length>2&&void 0!==arguments[2]||Object.create(null),(0,V.Z)(this,k),(F=M.call(this,S)).resultSelector=I,F.iterators=[],F.active=0,F.resultSelector="function"==typeof I?I:void 0,F}return(0,L.Z)(k,[{key:"_next",value:function(I){var F=this.iterators;(0,R.k)(I)?F.push(new D(I)):F.push("function"==typeof I[E.hZ]?new T(I[E.hZ]()):new v(this.destination,this,I))}},{key:"_complete",value:function(){var I=this.iterators,F=I.length;if(this.unsubscribe(),0!==F){this.active=F;for(var G=0;G<F;G++){var X=I[G];X.stillUnsubscribed?this.destination.add(X.subscribe()):this.active--}}else this.destination.complete()}},{key:"notifyInactive",value:function(){this.active--,0===this.active&&this.destination.complete()}},{key:"checkIterators",value:function(){for(var I=this.iterators,F=I.length,G=this.destination,X=0;X<F;X++){var W=I[X];if("function"==typeof W.hasValue&&!W.hasValue())return}for(var Y=!1,ae=[],K=0;K<F;K++){var fe=I[K],ce=fe.next();if(fe.hasCompleted()&&(Y=!0),ce.done)return void G.complete();ae.push(ce.value)}this.resultSelector?this._tryresultSelector(ae):G.next(ae),Y&&G.complete()}},{key:"_tryresultSelector",value:function(I){var F;try{F=this.resultSelector.apply(this,I)}catch(G){return void this.destination.error(G)}this.destination.next(F)}}]),k}(b.L),T=function(){function g(M){(0,V.Z)(this,g),this.iterator=M,this.nextResult=M.next()}return(0,L.Z)(g,[{key:"hasValue",value:function(){return!0}},{key:"next",value:function(){var k=this.nextResult;return this.nextResult=this.iterator.next(),k}},{key:"hasCompleted",value:function(){var k=this.nextResult;return Boolean(k&&k.done)}}]),g}(),D=function(){function g(M){(0,V.Z)(this,g),this.array=M,this.index=0,this.length=0,this.length=M.length}return(0,L.Z)(g,[{key:E.hZ,value:function(){return this}},{key:"next",value:function(k){var S=this.index++;return S<this.length?{value:this.array[S],done:!1}:{value:null,done:!0}}},{key:"hasValue",value:function(){return this.array.length>this.index}},{key:"hasCompleted",value:function(){return this.array.length===this.index}}]),g}(),v=function(g){(0,B.Z)(k,g);var M=(0,U.Z)(k);function k(S,I,F){var G;return(0,V.Z)(this,k),(G=M.call(this,S)).parent=I,G.observable=F,G.stillUnsubscribed=!0,G.buffer=[],G.isComplete=!1,G}return(0,L.Z)(k,[{key:E.hZ,value:function(){return this}},{key:"next",value:function(){var I=this.buffer;return 0===I.length&&this.isComplete?{value:null,done:!0}:{value:I.shift(),done:!1}}},{key:"hasValue",value:function(){return this.buffer.length>0}},{key:"hasCompleted",value:function(){return 0===this.buffer.length&&this.isComplete}},{key:"notifyComplete",value:function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}},{key:"notifyNext",value:function(I){this.buffer.push(I),this.parent.checkIterators()}},{key:"subscribe",value:function(){return(0,x.ft)(this.observable,new x.IY(this))}}]),k}(x.Ds)},17234:function(ue,j,f){"use strict";f.d(j,{U:function(){return R}});var B=f(10509),U=f(97154),V=f(18967),L=f(14105),w=f(26303);function R(x){return function(O){return O.lift(new b(x))}}var b=function(){function x(Z){(0,V.Z)(this,x),this.durationSelector=Z}return(0,L.Z)(x,[{key:"call",value:function(O,y){return y.subscribe(new E(O,this.durationSelector))}}]),x}(),E=function(x){(0,B.Z)(O,x);var Z=(0,U.Z)(O);function O(y,T){var D;return(0,V.Z)(this,O),(D=Z.call(this,y)).durationSelector=T,D.hasValue=!1,D}return(0,L.Z)(O,[{key:"_next",value:function(T){if(this.value=T,this.hasValue=!0,!this.throttled){var D;try{D=(0,this.durationSelector)(T)}catch(M){return this.destination.error(M)}var g=(0,w.ft)(D,new w.IY(this));!g||g.closed?this.clearThrottle():this.add(this.throttled=g)}}},{key:"clearThrottle",value:function(){var T=this.value,D=this.hasValue,v=this.throttled;v&&(this.remove(v),this.throttled=void 0,v.unsubscribe()),D&&(this.value=void 0,this.hasValue=!1,this.destination.next(T))}},{key:"notifyNext",value:function(){this.clearThrottle()}},{key:"notifyComplete",value:function(){this.clearThrottle()}}]),O}(w.Ds)},80758:function(ue,j,f){"use strict";f.d(j,{e:function(){return L}});var B=f(59449),U=f(17234),V=f(46674);function L(w){var R=arguments.length>1&&void 0!==arguments[1]?arguments[1]:B.P;return(0,U.U)(function(){return(0,V.H)(w,R)})}},67254:function(ue,j,f){"use strict";f.d(j,{K:function(){return E}});var B=f(38402),U=f(89200),V=f(10509),L=f(97154),w=f(18967),R=f(14105),b=f(26303);function E(O){return function(T){var D=new x(O),v=T.lift(D);return D.caught=v}}var x=function(){function O(y){(0,w.Z)(this,O),this.selector=y}return(0,R.Z)(O,[{key:"call",value:function(T,D){return D.subscribe(new Z(T,this.selector,this.caught))}}]),O}(),Z=function(O){(0,V.Z)(T,O);var y=(0,L.Z)(T);function T(D,v,g){var M;return(0,w.Z)(this,T),(M=y.call(this,D)).selector=v,M.caught=g,M}return(0,R.Z)(T,[{key:"error",value:function(v){if(!this.isStopped){var g;try{g=this.selector(v,this.caught)}catch(S){return void(0,B.Z)((0,U.Z)(T.prototype),"error",this).call(this,S)}this._unsubscribeAndRecycle();var M=new b.IY(this);this.add(M);var k=(0,b.ft)(g,M);k!==M&&this.add(k)}}}]),T}(b.Ds)},12538:function(ue,j,f){"use strict";f.d(j,{u:function(){return U}});var B=f(76955);function U(){return(0,B.J)(1)}},30854:function(ue,j,f){"use strict";f.d(j,{b:function(){return U}});var B=f(23199);function U(V,L){return(0,B.zg)(V,L,1)}},43415:function(ue,j,f){"use strict";f.d(j,{Q:function(){return R}});var B=f(10509),U=f(97154),V=f(18967),L=f(14105),w=f(72007);function R(x){return function(Z){return Z.lift(new b(x,Z))}}var b=function(){function x(Z,O){(0,V.Z)(this,x),this.predicate=Z,this.source=O}return(0,L.Z)(x,[{key:"call",value:function(O,y){return y.subscribe(new E(O,this.predicate,this.source))}}]),x}(),E=function(x){(0,B.Z)(O,x);var Z=(0,U.Z)(O);function O(y,T,D){var v;return(0,V.Z)(this,O),(v=Z.call(this,y)).predicate=T,v.source=D,v.count=0,v.index=0,v}return(0,L.Z)(O,[{key:"_next",value:function(T){this.predicate?this._tryPredicate(T):this.count++}},{key:"_tryPredicate",value:function(T){var D;try{D=this.predicate(T,this.index++,this.source)}catch(v){return void this.destination.error(v)}D&&this.count++}},{key:"_complete",value:function(){this.destination.next(this.count),this.destination.complete()}}]),O}(w.L)},46656:function(ue,j,f){"use strict";f.d(j,{b:function(){return b}});var B=f(10509),U=f(97154),V=f(18967),L=f(14105),w=f(72007),R=f(59449);function b(O){var y=arguments.length>1&&void 0!==arguments[1]?arguments[1]:R.P;return function(T){return T.lift(new E(O,y))}}var E=function(){function O(y,T){(0,V.Z)(this,O),this.dueTime=y,this.scheduler=T}return(0,L.Z)(O,[{key:"call",value:function(T,D){return D.subscribe(new x(T,this.dueTime,this.scheduler))}}]),O}(),x=function(O){(0,B.Z)(T,O);var y=(0,U.Z)(T);function T(D,v,g){var M;return(0,V.Z)(this,T),(M=y.call(this,D)).dueTime=v,M.scheduler=g,M.debouncedSubscription=null,M.lastValue=null,M.hasValue=!1,M}return(0,L.Z)(T,[{key:"_next",value:function(v){this.clearDebounce(),this.lastValue=v,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Z,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var v=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(v)}}},{key:"clearDebounce",value:function(){var v=this.debouncedSubscription;null!==v&&(this.remove(v),v.unsubscribe(),this.debouncedSubscription=null)}}]),T}(w.L);function Z(O){O.debouncedNext()}},31692:function(ue,j,f){"use strict";f.d(j,{d:function(){return R}});var B=f(10509),U=f(97154),V=f(18967),L=f(14105),w=f(72007);function R(){var x=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(Z){return Z.lift(new b(x))}}var b=function(){function x(Z){(0,V.Z)(this,x),this.defaultValue=Z}return(0,L.Z)(x,[{key:"call",value:function(O,y){return y.subscribe(new E(O,this.defaultValue))}}]),x}(),E=function(x){(0,B.Z)(O,x);var Z=(0,U.Z)(O);function O(y,T){var D;return(0,V.Z)(this,O),(D=Z.call(this,y)).defaultValue=T,D.isEmpty=!0,D}return(0,L.Z)(O,[{key:"_next",value:function(T){this.isEmpty=!1,this.destination.next(T)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),O}(w.L)},99359:function(ue,j,f){"use strict";f.d(j,{g:function(){return x}});var B=f(10509),U=f(97154),V=f(18967),L=f(14105),w=f(59449),R=f(54493),b=f(72007),E=f(47625);function x(T){var D=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w.P,v=(0,R.J)(T),g=v?+T-D.now():Math.abs(T);return function(M){return M.lift(new Z(g,D))}}var Z=function(){function T(D,v){(0,V.Z)(this,T),this.delay=D,this.scheduler=v}return(0,L.Z)(T,[{key:"call",value:function(v,g){return g.subscribe(new O(v,this.delay,this.scheduler))}}]),T}(),O=function(T){(0,B.Z)(v,T);var D=(0,U.Z)(v);function v(g,M,k){var S;return(0,V.Z)(this,v),(S=D.call(this,g)).delay=M,S.scheduler=k,S.queue=[],S.active=!1,S.errored=!1,S}return(0,L.Z)(v,[{key:"_schedule",value:function(M){this.active=!0,this.destination.add(M.schedule(v.dispatch,this.delay,{source:this,destination:this.destination,scheduler:M}))}},{key:"scheduleNotification",value:function(M){if(!0!==this.errored){var k=this.scheduler,S=new y(k.now()+this.delay,M);this.queue.push(S),!1===this.active&&this._schedule(k)}}},{key:"_next",value:function(M){this.scheduleNotification(E.P.createNext(M))}},{key:"_error",value:function(M){this.errored=!0,this.queue=[],this.destination.error(M),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(E.P.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(M){for(var k=M.source,S=k.queue,I=M.scheduler,F=M.destination;S.length>0&&S[0].time-I.now()<=0;)S.shift().notification.observe(F);if(S.length>0){var G=Math.max(0,S[0].time-I.now());this.schedule(M,G)}else this.unsubscribe(),k.active=!1}}]),v}(b.L),y=function T(D,v){(0,V.Z)(this,T),this.time=D,this.notification=v}},65944:function(ue,j,f){"use strict";f.d(j,{x:function(){return R}});var B=f(10509),U=f(97154),V=f(18967),L=f(14105),w=f(72007);function R(x,Z){return function(O){return O.lift(new b(x,Z))}}var b=function(){function x(Z,O){(0,V.Z)(this,x),this.compare=Z,this.keySelector=O}return(0,L.Z)(x,[{key:"call",value:function(O,y){return y.subscribe(new E(O,this.compare,this.keySelector))}}]),x}(),E=function(x){(0,B.Z)(O,x);var Z=(0,U.Z)(O);function O(y,T,D){var v;return(0,V.Z)(this,O),(v=Z.call(this,y)).keySelector=D,v.hasKey=!1,"function"==typeof T&&(v.compare=T),v}return(0,L.Z)(O,[{key:"compare",value:function(T,D){return T===D}},{key:"_next",value:function(T){var D;try{var v=this.keySelector;D=v?v(T):T}catch(k){return this.destination.error(k)}var g=!1;if(this.hasKey)try{g=(0,this.compare)(this.key,D)}catch(k){return this.destination.error(k)}else this.hasKey=!0;g||(this.key=D,this.destination.next(T))}}]),O}(w.L)},50439:function(ue,j,f){"use strict";f.d(j,{h:function(){return R}});var B=f(10509),U=f(97154),V=f(18967),L=f(14105),w=f(72007);function R(x,Z){return function(y){return y.lift(new b(x,Z))}}var b=function(){function x(Z,O){(0,V.Z)(this,x),this.predicate=Z,this.thisArg=O}return(0,L.Z)(x,[{key:"call",value:function(O,y){return y.subscribe(new E(O,this.predicate,this.thisArg))}}]),x}(),E=function(x){(0,B.Z)(O,x);var Z=(0,U.Z)(O);function O(y,T,D){var v;return(0,V.Z)(this,O),(v=Z.call(this,y)).predicate=T,v.thisArg=D,v.count=0,v}return(0,L.Z)(O,[{key:"_next",value:function(T){var D;try{D=this.predicate.call(this.thisArg,T,this.count++)}catch(v){return void this.destination.error(v)}D&&this.destination.next(T)}}]),O}(w.L)},30366:function(ue,j,f){"use strict";f.d(j,{x:function(){return b}});var B=f(10509),U=f(97154),V=f(18967),L=f(14105),w=f(72007),R=f(43501);function b(Z){return function(O){return O.lift(new E(Z))}}var E=function(){function Z(O){(0,V.Z)(this,Z),this.callback=O}return(0,L.Z)(Z,[{key:"call",value:function(y,T){return T.subscribe(new x(y,this.callback))}}]),Z}(),x=function(Z){(0,B.Z)(y,Z);var O=(0,U.Z)(y);function y(T,D){var v;return(0,V.Z)(this,y),(v=O.call(this,T)).add(new R.w(D)),v}return y}(w.L)},64187:function(ue,j,f){"use strict";f.d(j,{P:function(){return b}});var B=f(15449),U=f(50439),V=f(63303),L=f(31692),w=f(83328),R=f(88533);function b(E,x){var Z=arguments.length>=2;return function(O){return O.pipe(E?(0,U.h)(function(y,T){return E(y,T,O)}):R.y,(0,V.q)(1),Z?(0,L.d)(x):(0,w.T)(function(){return new B.K}))}}},91646:function(ue,j,f){"use strict";f.d(j,{v:function(){return O},T:function(){return v}});var B=f(38402),U=f(89200),V=f(10509),L=f(97154),w=f(18967),R=f(14105),b=f(72007),E=f(43501),x=f(15801),Z=f(27807);function O(M,k,S,I){return function(F){return F.lift(new y(M,k,S,I))}}var y=function(){function M(k,S,I,F){(0,w.Z)(this,M),this.keySelector=k,this.elementSelector=S,this.durationSelector=I,this.subjectSelector=F}return(0,R.Z)(M,[{key:"call",value:function(S,I){return I.subscribe(new T(S,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))}}]),M}(),T=function(M){(0,V.Z)(S,M);var k=(0,L.Z)(S);function S(I,F,G,X,W){var Y;return(0,w.Z)(this,S),(Y=k.call(this,I)).keySelector=F,Y.elementSelector=G,Y.durationSelector=X,Y.subjectSelector=W,Y.groups=null,Y.attemptedToUnsubscribe=!1,Y.count=0,Y}return(0,R.Z)(S,[{key:"_next",value:function(F){var G;try{G=this.keySelector(F)}catch(X){return void this.error(X)}this._group(F,G)}},{key:"_group",value:function(F,G){var X=this.groups;X||(X=this.groups=new Map);var Y,W=X.get(G);if(this.elementSelector)try{Y=this.elementSelector(F)}catch(fe){this.error(fe)}else Y=F;if(!W){W=this.subjectSelector?this.subjectSelector():new Z.xQ,X.set(G,W);var ae=new v(G,W,this);if(this.destination.next(ae),this.durationSelector){var K;try{K=this.durationSelector(new v(G,W))}catch(fe){return void this.error(fe)}this.add(K.subscribe(new D(G,W,this)))}}W.closed||W.next(Y)}},{key:"_error",value:function(F){var G=this.groups;G&&(G.forEach(function(X,W){X.error(F)}),G.clear()),this.destination.error(F)}},{key:"_complete",value:function(){var F=this.groups;F&&(F.forEach(function(G,X){G.complete()}),F.clear()),this.destination.complete()}},{key:"removeGroup",value:function(F){this.groups.delete(F)}},{key:"unsubscribe",value:function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&(0,B.Z)((0,U.Z)(S.prototype),"unsubscribe",this).call(this))}}]),S}(b.L),D=function(M){(0,V.Z)(S,M);var k=(0,L.Z)(S);function S(I,F,G){var X;return(0,w.Z)(this,S),(X=k.call(this,F)).key=I,X.group=F,X.parent=G,X}return(0,R.Z)(S,[{key:"_next",value:function(F){this.complete()}},{key:"_unsubscribe",value:function(){var F=this.parent,G=this.key;this.key=this.parent=null,F&&F.removeGroup(G)}}]),S}(b.L),v=function(M){(0,V.Z)(S,M);var k=(0,L.Z)(S);function S(I,F,G){var X;return(0,w.Z)(this,S),(X=k.call(this)).key=I,X.groupSubject=F,X.refCountSubscription=G,X}return(0,R.Z)(S,[{key:"_subscribe",value:function(F){var G=new E.w,X=this.refCountSubscription,W=this.groupSubject;return X&&!X.closed&&G.add(new g(X)),G.add(W.subscribe(F)),G}}]),S}(x.y),g=function(M){(0,V.Z)(S,M);var k=(0,L.Z)(S);function S(I){var F;return(0,w.Z)(this,S),(F=k.call(this)).parent=I,I.count++,F}return(0,R.Z)(S,[{key:"unsubscribe",value:function(){var F=this.parent;!F.closed&&!this.closed&&((0,B.Z)((0,U.Z)(S.prototype),"unsubscribe",this).call(this),F.count-=1,0===F.count&&F.attemptedToUnsubscribe&&F.unsubscribe())}}]),S}(E.w)},23414:function(ue,j,f){"use strict";f.d(j,{Z:function(){return b}});var B=f(15449),U=f(50439),V=f(52333),L=f(83328),w=f(31692),R=f(88533);function b(E,x){var Z=arguments.length>=2;return function(O){return O.pipe(E?(0,U.h)(function(y,T){return E(y,T,O)}):R.y,(0,V.h)(1),Z?(0,w.d)(x):(0,L.T)(function(){return new B.K}))}}},98771:function(ue,j,f){"use strict";f.d(j,{U:function(){return b}});var B=f(88009),U=f(10509),V=f(97154),L=f(18967),w=f(14105),R=f(72007);function b(Z,O){return function(T){if("function"!=typeof Z)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return T.lift(new E(Z,O))}}var E=function(){function Z(O,y){(0,L.Z)(this,Z),this.project=O,this.thisArg=y}return(0,w.Z)(Z,[{key:"call",value:function(y,T){return T.subscribe(new x(y,this.project,this.thisArg))}}]),Z}(),x=function(Z){(0,U.Z)(y,Z);var O=(0,V.Z)(y);function y(T,D,v){var g;return(0,L.Z)(this,y),(g=O.call(this,T)).project=D,g.count=0,g.thisArg=v||(0,B.Z)(g),g}return(0,w.Z)(y,[{key:"_next",value:function(D){var v;try{v=this.project.call(this.thisArg,D,this.count++)}catch(g){return void this.destination.error(g)}this.destination.next(v)}}]),y}(R.L)},76955:function(ue,j,f){"use strict";f.d(j,{J:function(){return V}});var B=f(23199),U=f(88533);function V(){var L=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return(0,B.zg)(U.y,L)}},23199:function(ue,j,f){"use strict";f.d(j,{zg:function(){return E},VS:function(){return O}});var B=f(10509),U=f(97154),V=f(18967),L=f(14105),w=f(98771),R=f(17048),b=f(26303);function E(y,T){var D=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof T?function(v){return v.pipe(E(function(g,M){return(0,R.D)(y(g,M)).pipe((0,w.U)(function(k,S){return T(g,k,M,S)}))},D))}:("number"==typeof T&&(D=T),function(v){return v.lift(new x(y,D))})}var x=function(){function y(T){var D=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;(0,V.Z)(this,y),this.project=T,this.concurrent=D}return(0,L.Z)(y,[{key:"call",value:function(D,v){return v.subscribe(new Z(D,this.project,this.concurrent))}}]),y}(),Z=function(y){(0,B.Z)(D,y);var T=(0,U.Z)(D);function D(v,g){var M,k=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return(0,V.Z)(this,D),(M=T.call(this,v)).project=g,M.concurrent=k,M.hasCompleted=!1,M.buffer=[],M.active=0,M.index=0,M}return(0,L.Z)(D,[{key:"_next",value:function(g){this.active<this.concurrent?this._tryNext(g):this.buffer.push(g)}},{key:"_tryNext",value:function(g){var M,k=this.index++;try{M=this.project(g,k)}catch(S){return void this.destination.error(S)}this.active++,this._innerSub(M)}},{key:"_innerSub",value:function(g){var M=new b.IY(this),k=this.destination;k.add(M);var S=(0,b.ft)(g,M);S!==M&&k.add(S)}},{key:"_complete",value:function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(g){this.destination.next(g)}},{key:"notifyComplete",value:function(){var g=this.buffer;this.active--,g.length>0?this._next(g.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),D}(b.Ds),O=E},56023:function(ue,j,f){"use strict";f.d(j,{O:function(){return L}});var B=f(18967),U=f(14105),V=f(96705);function L(R,b){return function(x){var Z;if(Z="function"==typeof R?R:function(){return R},"function"==typeof b)return x.lift(new w(Z,b));var O=Object.create(x,V.N);return O.source=x,O.subjectFactory=Z,O}}var w=function(){function R(b,E){(0,B.Z)(this,R),this.subjectFactory=b,this.selector=E}return(0,U.Z)(R,[{key:"call",value:function(E,x){var Z=this.selector,O=this.subjectFactory(),y=Z(O).subscribe(E);return y.add(x.subscribe(O)),y}}]),R}()},63649:function(ue,j,f){"use strict";f.d(j,{QV:function(){return b},ht:function(){return x}});var B=f(10509),U=f(97154),V=f(18967),L=f(14105),w=f(72007),R=f(47625);function b(O){var y=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(D){return D.lift(new E(O,y))}}var E=function(){function O(y){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;(0,V.Z)(this,O),this.scheduler=y,this.delay=T}return(0,L.Z)(O,[{key:"call",value:function(T,D){return D.subscribe(new x(T,this.scheduler,this.delay))}}]),O}(),x=function(O){(0,B.Z)(T,O);var y=(0,U.Z)(T);function T(D,v){var g,M=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return(0,V.Z)(this,T),(g=y.call(this,D)).scheduler=v,g.delay=M,g}return(0,L.Z)(T,[{key:"scheduleMessage",value:function(v){this.destination.add(this.scheduler.schedule(T.dispatch,this.delay,new Z(v,this.destination)))}},{key:"_next",value:function(v){this.scheduleMessage(R.P.createNext(v))}},{key:"_error",value:function(v){this.scheduleMessage(R.P.createError(v)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage(R.P.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(v){v.notification.observe(v.destination),this.unsubscribe()}}]),T}(w.L),Z=function O(y,T){(0,V.Z)(this,O),this.notification=y,this.destination=T}},91979:function(ue,j,f){"use strict";f.d(j,{G:function(){return R}});var B=f(10509),U=f(97154),V=f(18967),L=f(14105),w=f(72007);function R(){return function(x){return x.lift(new b)}}var b=function(){function x(){(0,V.Z)(this,x)}return(0,L.Z)(x,[{key:"call",value:function(O,y){return y.subscribe(new E(O))}}]),x}(),E=function(x){(0,B.Z)(O,x);var Z=(0,U.Z)(O);function O(y){var T;return(0,V.Z)(this,O),(T=Z.call(this,y)).hasPrev=!1,T}return(0,L.Z)(O,[{key:"_next",value:function(T){var D;this.hasPrev?D=[this.prev,T]:this.hasPrev=!0,this.prev=T,D&&this.destination.next(D)}}]),O}(w.L)},56866:function(ue,j,f){"use strict";f.d(j,{x:function(){return R}});var B=f(10509),U=f(97154),V=f(18967),L=f(14105),w=f(72007);function R(){return function(Z){return Z.lift(new b(Z))}}var b=function(){function x(Z){(0,V.Z)(this,x),this.connectable=Z}return(0,L.Z)(x,[{key:"call",value:function(O,y){var T=this.connectable;T._refCount++;var D=new E(O,T),v=y.subscribe(D);return D.closed||(D.connection=T.connect()),v}}]),x}(),E=function(x){(0,B.Z)(O,x);var Z=(0,U.Z)(O);function O(y,T){var D;return(0,V.Z)(this,O),(D=Z.call(this,y)).connectable=T,D}return(0,L.Z)(O,[{key:"_unsubscribe",value:function(){var T=this.connectable;if(T){this.connectable=null;var D=T._refCount;if(D<=0)this.connection=null;else if(T._refCount=D-1,D>1)this.connection=null;else{var v=this.connection,g=T._connection;this.connection=null,g&&(!v||g===v)&&g.unsubscribe()}}else this.connection=null}}]),O}(w.L)},73062:function(ue,j,f){"use strict";f.d(j,{R:function(){return R}});var B=f(10509),U=f(97154),V=f(18967),L=f(14105),w=f(72007);function R(x,Z){var O=!1;return arguments.length>=2&&(O=!0),function(T){return T.lift(new b(x,Z,O))}}var b=function(){function x(Z,O){var y=arguments.length>2&&void 0!==arguments[2]&&arguments[2];(0,V.Z)(this,x),this.accumulator=Z,this.seed=O,this.hasSeed=y}return(0,L.Z)(x,[{key:"call",value:function(O,y){return y.subscribe(new E(O,this.accumulator,this.seed,this.hasSeed))}}]),x}(),E=function(x){(0,B.Z)(O,x);var Z=(0,U.Z)(O);function O(y,T,D,v){var g;return(0,V.Z)(this,O),(g=Z.call(this,y)).accumulator=T,g._seed=D,g.hasSeed=v,g.index=0,g}return(0,L.Z)(O,[{key:"seed",get:function(){return this._seed},set:function(T){this.hasSeed=!0,this._seed=T}},{key:"_next",value:function(T){if(this.hasSeed)return this._tryNext(T);this.seed=T,this.destination.next(T)}},{key:"_tryNext",value:function(T){var v,D=this.index++;try{v=this.accumulator(this.seed,T,D)}catch(g){this.destination.error(g)}this.seed=v,this.destination.next(v)}}]),O}(w.L)},65605:function(ue,j,f){"use strict";f.d(j,{B:function(){return w}});var B=f(56023),U=f(56866),V=f(27807);function L(){return new V.xQ}function w(){return function(R){return(0,U.x)()((0,B.O)(L)(R))}}},41510:function(ue,j,f){"use strict";f.d(j,{d:function(){return U}});var B=f(12375);function U(L,w,R){var b;return b=L&&"object"==typeof L?L:{bufferSize:L,windowTime:w,refCount:!1,scheduler:R},function(E){return E.lift(function(L){var O,T,w=L.bufferSize,R=void 0===w?Number.POSITIVE_INFINITY:w,b=L.windowTime,E=void 0===b?Number.POSITIVE_INFINITY:b,x=L.refCount,Z=L.scheduler,y=0,D=!1,v=!1;return function(M){var k;y++,!O||D?(D=!1,O=new B.t(R,E,Z),k=O.subscribe(this),T=M.subscribe({next:function(I){O.next(I)},error:function(I){D=!0,O.error(I)},complete:function(){v=!0,T=void 0,O.complete()}}),v&&(T=void 0)):k=O.subscribe(this),this.add(function(){y--,k.unsubscribe(),k=void 0,T&&!v&&x&&0===y&&(T.unsubscribe(),T=void 0,O=void 0)})}}(b))}}},38869:function(ue,j,f){"use strict";f.d(j,{T:function(){return R}});var B=f(10509),U=f(97154),V=f(18967),L=f(14105),w=f(72007);function R(x){return function(Z){return Z.lift(new b(x))}}var b=function(){function x(Z){(0,V.Z)(this,x),this.total=Z}return(0,L.Z)(x,[{key:"call",value:function(O,y){return y.subscribe(new E(O,this.total))}}]),x}(),E=function(x){(0,B.Z)(O,x);var Z=(0,U.Z)(O);function O(y,T){var D;return(0,V.Z)(this,O),(D=Z.call(this,y)).total=T,D.count=0,D}return(0,L.Z)(O,[{key:"_next",value:function(T){++this.count>this.total&&this.destination.next(T)}}]),O}(w.L)},85148:function(ue,j,f){"use strict";f.d(j,{O:function(){return V}});var B=f(60636),U=f(62731);function V(){for(var L=arguments.length,w=new Array(L),R=0;R<L;R++)w[R]=arguments[R];var b=w[w.length-1];return(0,U.K)(b)?(w.pop(),function(E){return(0,B.z)(w,E,b)}):function(E){return(0,B.z)(w,E)}}},7060:function(ue,j,f){"use strict";f.d(j,{w:function(){return Z}});var B=f(38402),U=f(89200),V=f(10509),L=f(97154),w=f(18967),R=f(14105),b=f(98771),E=f(17048),x=f(26303);function Z(T,D){return"function"==typeof D?function(v){return v.pipe(Z(function(g,M){return(0,E.D)(T(g,M)).pipe((0,b.U)(function(k,S){return D(g,k,M,S)}))}))}:function(v){return v.lift(new O(T))}}var O=function(){function T(D){(0,w.Z)(this,T),this.project=D}return(0,R.Z)(T,[{key:"call",value:function(v,g){return g.subscribe(new y(v,this.project))}}]),T}(),y=function(T){(0,V.Z)(v,T);var D=(0,L.Z)(v);function v(g,M){var k;return(0,w.Z)(this,v),(k=D.call(this,g)).project=M,k.index=0,k}return(0,R.Z)(v,[{key:"_next",value:function(M){var k,S=this.index++;try{k=this.project(M,S)}catch(I){return void this.destination.error(I)}this._innerSub(k)}},{key:"_innerSub",value:function(M){var k=this.innerSubscription;k&&k.unsubscribe();var S=new x.IY(this),I=this.destination;I.add(S),this.innerSubscription=(0,x.ft)(M,S),this.innerSubscription!==S&&I.add(this.innerSubscription)}},{key:"_complete",value:function(){var M=this.innerSubscription;(!M||M.closed)&&(0,B.Z)((0,U.Z)(v.prototype),"_complete",this).call(this),this.unsubscribe()}},{key:"_unsubscribe",value:function(){this.innerSubscription=void 0}},{key:"notifyComplete",value:function(){this.innerSubscription=void 0,this.isStopped&&(0,B.Z)((0,U.Z)(v.prototype),"_complete",this).call(this)}},{key:"notifyNext",value:function(M){this.destination.next(M)}}]),v}(x.Ds)},63303:function(ue,j,f){"use strict";f.d(j,{q:function(){return E}});var B=f(10509),U=f(97154),V=f(18967),L=f(14105),w=f(72007),R=f(67689),b=f(5441);function E(O){return function(y){return 0===O?(0,b.c)():y.lift(new x(O))}}var x=function(){function O(y){if((0,V.Z)(this,O),this.total=y,this.total<0)throw new R.W}return(0,L.Z)(O,[{key:"call",value:function(T,D){return D.subscribe(new Z(T,this.total))}}]),O}(),Z=function(O){(0,B.Z)(T,O);var y=(0,U.Z)(T);function T(D,v){var g;return(0,V.Z)(this,T),(g=y.call(this,D)).total=v,g.count=0,g}return(0,L.Z)(T,[{key:"_next",value:function(v){var g=this.total,M=++this.count;M<=g&&(this.destination.next(v),M===g&&(this.destination.complete(),this.unsubscribe()))}}]),T}(w.L)},52333:function(ue,j,f){"use strict";f.d(j,{h:function(){return E}});var B=f(10509),U=f(97154),V=f(18967),L=f(14105),w=f(72007),R=f(67689),b=f(5441);function E(O){return function(T){return 0===O?(0,b.c)():T.lift(new x(O))}}var x=function(){function O(y){if((0,V.Z)(this,O),this.total=y,this.total<0)throw new R.W}return(0,L.Z)(O,[{key:"call",value:function(T,D){return D.subscribe(new Z(T,this.total))}}]),O}(),Z=function(O){(0,B.Z)(T,O);var y=(0,U.Z)(T);function T(D,v){var g;return(0,V.Z)(this,T),(g=y.call(this,D)).total=v,g.ring=new Array,g.count=0,g}return(0,L.Z)(T,[{key:"_next",value:function(v){var g=this.ring,M=this.total,k=this.count++;g.length<M?g.push(v):g[k%M]=v}},{key:"_complete",value:function(){var v=this.destination,g=this.count;if(g>0)for(var M=this.count>=this.total?this.total:this.count,k=this.ring,S=0;S<M;S++){var I=g++%M;v.next(k[I])}v.complete()}}]),T}(w.L)},35634:function(ue,j,f){"use strict";f.d(j,{R:function(){return R}});var B=f(10509),U=f(97154),V=f(18967),L=f(14105),w=f(26303);function R(x){return function(Z){return Z.lift(new b(x))}}var b=function(){function x(Z){(0,V.Z)(this,x),this.notifier=Z}return(0,L.Z)(x,[{key:"call",value:function(O,y){var T=new E(O),D=(0,w.ft)(this.notifier,new w.IY(T));return D&&!T.seenValue?(T.add(D),y.subscribe(T)):T}}]),x}(),E=function(x){(0,B.Z)(O,x);var Z=(0,U.Z)(O);function O(y){var T;return(0,V.Z)(this,O),(T=Z.call(this,y)).seenValue=!1,T}return(0,L.Z)(O,[{key:"notifyNext",value:function(){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),O}(w.Ds)},47770:function(ue,j,f){"use strict";f.d(j,{o:function(){return R}});var B=f(10509),U=f(97154),V=f(18967),L=f(14105),w=f(72007);function R(x){var Z=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(O){return O.lift(new b(x,Z))}}var b=function(){function x(Z,O){(0,V.Z)(this,x),this.predicate=Z,this.inclusive=O}return(0,L.Z)(x,[{key:"call",value:function(O,y){return y.subscribe(new E(O,this.predicate,this.inclusive))}}]),x}(),E=function(x){(0,B.Z)(O,x);var Z=(0,U.Z)(O);function O(y,T,D){var v;return(0,V.Z)(this,O),(v=Z.call(this,y)).predicate=T,v.inclusive=D,v.index=0,v}return(0,L.Z)(O,[{key:"_next",value:function(T){var v,D=this.destination;try{v=this.predicate(T,this.index++)}catch(g){return void D.error(g)}this.nextOrComplete(T,v)}},{key:"nextOrComplete",value:function(T,D){var v=this.destination;Boolean(D)?v.next(T):(this.inclusive&&v.next(T),v.complete())}}]),O}(w.L)},24305:function(ue,j,f){"use strict";f.d(j,{b:function(){return x}});var B=f(88009),U=f(10509),V=f(97154),L=f(18967),w=f(14105),R=f(72007),b=f(61443),E=f(9813);function x(y,T,D){return function(g){return g.lift(new Z(y,T,D))}}var Z=function(){function y(T,D,v){(0,L.Z)(this,y),this.nextOrObserver=T,this.error=D,this.complete=v}return(0,w.Z)(y,[{key:"call",value:function(D,v){return v.subscribe(new O(D,this.nextOrObserver,this.error,this.complete))}}]),y}(),O=function(y){(0,U.Z)(D,y);var T=(0,V.Z)(D);function D(v,g,M,k){var S;return(0,L.Z)(this,D),(S=T.call(this,v))._tapNext=b.Z,S._tapError=b.Z,S._tapComplete=b.Z,S._tapError=M||b.Z,S._tapComplete=k||b.Z,(0,E.m)(g)?(S._context=(0,B.Z)(S),S._tapNext=g):g&&(S._context=g,S._tapNext=g.next||b.Z,S._tapError=g.error||b.Z,S._tapComplete=g.complete||b.Z),S}return(0,w.Z)(D,[{key:"_next",value:function(g){try{this._tapNext.call(this._context,g)}catch(M){return void this.destination.error(M)}this.destination.next(g)}},{key:"_error",value:function(g){try{this._tapError.call(this._context,g)}catch(M){return void this.destination.error(M)}this.destination.error(g)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(g){return void this.destination.error(g)}return this.destination.complete()}}]),D}(R.L)},74855:function(ue,j,f){"use strict";f.d(j,{d:function(){return R},P:function(){return b}});var B=f(10509),U=f(97154),V=f(18967),L=f(14105),w=f(26303),R={leading:!0,trailing:!1};function b(Z){var O=arguments.length>1&&void 0!==arguments[1]?arguments[1]:R;return function(y){return y.lift(new E(Z,!!O.leading,!!O.trailing))}}var E=function(){function Z(O,y,T){(0,V.Z)(this,Z),this.durationSelector=O,this.leading=y,this.trailing=T}return(0,L.Z)(Z,[{key:"call",value:function(y,T){return T.subscribe(new x(y,this.durationSelector,this.leading,this.trailing))}}]),Z}(),x=function(Z){(0,B.Z)(y,Z);var O=(0,U.Z)(y);function y(T,D,v,g){var M;return(0,V.Z)(this,y),(M=O.call(this,T)).destination=T,M.durationSelector=D,M._leading=v,M._trailing=g,M._hasValue=!1,M}return(0,L.Z)(y,[{key:"_next",value:function(D){this._hasValue=!0,this._sendValue=D,this._throttled||(this._leading?this.send():this.throttle(D))}},{key:"send",value:function(){var v=this._sendValue;this._hasValue&&(this.destination.next(v),this.throttle(v)),this._hasValue=!1,this._sendValue=void 0}},{key:"throttle",value:function(D){var v=this.tryDurationSelector(D);v&&this.add(this._throttled=(0,w.ft)(v,new w.IY(this)))}},{key:"tryDurationSelector",value:function(D){try{return this.durationSelector(D)}catch(v){return this.destination.error(v),null}}},{key:"throttlingDone",value:function(){var D=this._throttled,v=this._trailing;D&&D.unsubscribe(),this._throttled=void 0,v&&this.send()}},{key:"notifyNext",value:function(){this.throttlingDone()}},{key:"notifyComplete",value:function(){this.throttlingDone()}}]),y}(w.Ds)},83328:function(ue,j,f){"use strict";f.d(j,{T:function(){return b}});var B=f(10509),U=f(97154),V=f(18967),L=f(14105),w=f(15449),R=f(72007);function b(){var O=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Z;return function(y){return y.lift(new E(O))}}var E=function(){function O(y){(0,V.Z)(this,O),this.errorFactory=y}return(0,L.Z)(O,[{key:"call",value:function(T,D){return D.subscribe(new x(T,this.errorFactory))}}]),O}(),x=function(O){(0,B.Z)(T,O);var y=(0,U.Z)(T);function T(D,v){var g;return(0,V.Z)(this,T),(g=y.call(this,D)).errorFactory=v,g.hasValue=!1,g}return(0,L.Z)(T,[{key:"_next",value:function(v){this.hasValue=!0,this.destination.next(v)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var v;try{v=this.errorFactory()}catch(g){v=g}this.destination.error(v)}}]),T}(R.L);function Z(){return new w.K}},83664:function(ue,j,f){"use strict";f.d(j,{J:function(){return R},R:function(){return b}});var B=f(18967),U=f(59449),V=f(73062),L=f(19770),w=f(98771);function R(){var E=arguments.length>0&&void 0!==arguments[0]?arguments[0]:U.P;return function(x){return(0,L.P)(function(){return x.pipe((0,V.R)(function(Z,O){var y=Z.current;return{value:O,current:E.now(),last:y}},{current:E.now(),value:void 0,last:void 0}),(0,w.U)(function(Z){return new b(Z.value,Z.current-Z.last)}))})}}var b=function E(x,Z){(0,B.Z)(this,E),this.value=x,this.interval=Z}},56335:function(ue,j,f){"use strict";f.d(j,{A:function(){return L},E:function(){return w}});var B=f(18967),U=f(59449),V=f(98771);function L(){var R=arguments.length>0&&void 0!==arguments[0]?arguments[0]:U.P;return(0,V.U)(function(b){return new w(b,R.now())})}var w=function R(b,E){(0,B.Z)(this,R),this.value=b,this.timestamp=E}},2411:function(ue,j,f){"use strict";f.d(j,{r:function(){return V}});var B=f(15801),U=f(43501);function V(L,w){return new B.y(function(R){var b=new U.w,E=0;return b.add(w.schedule(function(){E!==L.length?(R.next(L[E++]),R.closed||b.add(this.schedule())):R.complete()})),b})}},17661:function(ue,j,f){"use strict";f.d(j,{Q:function(){return L}});var B=f(15801),U=f(43501),V=f(56203);function L(w,R){if(!w)throw new Error("Iterable cannot be null");return new B.y(function(b){var x,E=new U.w;return E.add(function(){x&&"function"==typeof x.return&&x.return()}),E.add(R.schedule(function(){x=w[V.hZ](),E.add(R.schedule(function(){if(!b.closed){var Z,O;try{var y=x.next();Z=y.value,O=y.done}catch(T){return void b.error(T)}O?b.complete():(b.next(Z),this.schedule())}}))})),E})}},69544:function(ue,j,f){"use strict";f.d(j,{c:function(){return V}});var B=f(15801),U=f(43501);function V(L,w){return new B.y(function(R){var b=new U.w;return b.add(w.schedule(function(){return L.then(function(E){b.add(w.schedule(function(){R.next(E),b.add(w.schedule(function(){return R.complete()}))}))},function(E){b.add(w.schedule(function(){return R.error(E)}))})})),b})}},72622:function(ue,j,f){"use strict";f.d(j,{x:function(){return y}});var B=f(15801),U=f(43501),V=f(56563),w=f(69544),R=f(2411),b=f(17661),E=f(7652),x=f(35872),Z=f(84565),O=f(21627);function y(T,D){if(null!=T){if((0,E.c)(T))return function(T,D){return new B.y(function(v){var g=new U.w;return g.add(D.schedule(function(){var M=T[V.L]();g.add(M.subscribe({next:function(S){g.add(D.schedule(function(){return v.next(S)}))},error:function(S){g.add(D.schedule(function(){return v.error(S)}))},complete:function(){g.add(D.schedule(function(){return v.complete()}))}}))})),g})}(T,D);if((0,x.t)(T))return(0,w.c)(T,D);if((0,Z.z)(T))return(0,R.r)(T,D);if((0,O.T)(T)||"string"==typeof T)return(0,b.Q)(T,D)}throw new TypeError((null!==T&&typeof T||T)+" is not observable")}},24384:function(ue,j,f){"use strict";f.d(j,{o:function(){return b}});var B=f(18967),U=f(14105),V=f(10509),L=f(97154),b=function(E){(0,V.Z)(Z,E);var x=(0,L.Z)(Z);function Z(O,y){var T;return(0,B.Z)(this,Z),(T=x.call(this,O,y)).scheduler=O,T.work=y,T.pending=!1,T}return(0,U.Z)(Z,[{key:"schedule",value:function(y){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=y;var D=this.id,v=this.scheduler;return null!=D&&(this.id=this.recycleAsyncId(v,D,T)),this.pending=!0,this.delay=T,this.id=this.id||this.requestAsyncId(v,this.id,T),this}},{key:"requestAsyncId",value:function(y,T){var D=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(y.flush.bind(y,this),D)}},{key:"recycleAsyncId",value:function(y,T){var D=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==D&&this.delay===D&&!1===this.pending)return T;clearInterval(T)}},{key:"execute",value:function(y,T){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var D=this._execute(y,T);if(D)return D;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(y,T){var D=!1,v=void 0;try{this.work(y)}catch(g){D=!0,v=!!g&&g||new Error(g)}if(D)return this.unsubscribe(),v}},{key:"_unsubscribe",value:function(){var y=this.id,T=this.scheduler,D=T.actions,v=D.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==v&&D.splice(v,1),null!=y&&(this.id=this.recycleAsyncId(T,y,null)),this.delay=null}}]),Z}(function(E){(0,V.Z)(Z,E);var x=(0,L.Z)(Z);function Z(O,y){return(0,B.Z)(this,Z),x.call(this)}return(0,U.Z)(Z,[{key:"schedule",value:function(y){return this}}]),Z}(f(43501).w))},54840:function(ue,j,f){"use strict";f.d(j,{v:function(){return x}});var B=f(18967),U=f(14105),V=f(88009),L=f(38402),w=f(89200),R=f(10509),b=f(97154),E=f(54641),x=function(Z){(0,R.Z)(y,Z);var O=(0,b.Z)(y);function y(T){var D,v=arguments.length>1&&void 0!==arguments[1]?arguments[1]:E.b.now;return(0,B.Z)(this,y),(D=O.call(this,T,function(){return y.delegate&&y.delegate!==(0,V.Z)(D)?y.delegate.now():v()})).actions=[],D.active=!1,D.scheduled=void 0,D}return(0,U.Z)(y,[{key:"schedule",value:function(D){var v=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,g=arguments.length>2?arguments[2]:void 0;return y.delegate&&y.delegate!==this?y.delegate.schedule(D,v,g):(0,L.Z)((0,w.Z)(y.prototype),"schedule",this).call(this,D,v,g)}},{key:"flush",value:function(D){var v=this.actions;if(this.active)v.push(D);else{var g;this.active=!0;do{if(g=D.execute(D.state,D.delay))break}while(D=v.shift());if(this.active=!1,g){for(;D=v.shift();)D.unsubscribe();throw g}}}}]),y}(E.b)},63870:function(ue,j,f){"use strict";f.d(j,{y:function(){return x},h:function(){return Z}});var B=f(38402),U=f(89200),V=f(18967),L=f(14105),w=f(10509),R=f(97154),b=f(24384),E=f(54840),x=function(){var O=function(y){(0,w.Z)(D,y);var T=(0,R.Z)(D);function D(){var v,g=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Z,M=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;return(0,V.Z)(this,D),(v=T.call(this,g,function(){return v.frame})).maxFrames=M,v.frame=0,v.index=-1,v}return(0,L.Z)(D,[{key:"flush",value:function(){for(var k,S,g=this.actions,M=this.maxFrames;(S=g[0])&&S.delay<=M&&(g.shift(),this.frame=S.delay,!(k=S.execute(S.state,S.delay))););if(k){for(;S=g.shift();)S.unsubscribe();throw k}}}]),D}(E.v);return O.frameTimeFactor=10,O}(),Z=function(O){(0,w.Z)(T,O);var y=(0,R.Z)(T);function T(D,v){var g,M=arguments.length>2&&void 0!==arguments[2]?arguments[2]:D.index+=1;return(0,V.Z)(this,T),(g=y.call(this,D,v)).scheduler=D,g.work=v,g.index=M,g.active=!0,g.index=D.index=M,g}return(0,L.Z)(T,[{key:"schedule",value:function(v){var g=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!this.id)return(0,B.Z)((0,U.Z)(T.prototype),"schedule",this).call(this,v,g);this.active=!1;var M=new T(this.scheduler,this.work);return this.add(M),M.schedule(v,g)}},{key:"requestAsyncId",value:function(v,g){var M=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;this.delay=v.frame+M;var k=v.actions;return k.push(this),k.sort(T.sortActions),!0}},{key:"recycleAsyncId",value:function(v,g){}},{key:"_execute",value:function(v,g){if(!0===this.active)return(0,B.Z)((0,U.Z)(T.prototype),"_execute",this).call(this,v,g)}}],[{key:"sortActions",value:function(v,g){return v.delay===g.delay?v.index===g.index?0:v.index>g.index?1:-1:v.delay>g.delay?1:-1}}]),T}(b.o)},27202:function(ue,j,f){"use strict";f.d(j,{r:function(){return y},Z:function(){return O}});var B=f(18967),U=f(14105),V=f(38402),L=f(89200),w=f(10509),R=f(97154),E=function(T){(0,w.Z)(v,T);var D=(0,R.Z)(v);function v(g,M){var k;return(0,B.Z)(this,v),(k=D.call(this,g,M)).scheduler=g,k.work=M,k}return(0,U.Z)(v,[{key:"requestAsyncId",value:function(M,k){var S=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==S&&S>0?(0,V.Z)((0,L.Z)(v.prototype),"requestAsyncId",this).call(this,M,k,S):(M.actions.push(this),M.scheduled||(M.scheduled=requestAnimationFrame(function(){return M.flush(null)})))}},{key:"recycleAsyncId",value:function(M,k){var S=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==S&&S>0||null===S&&this.delay>0)return(0,V.Z)((0,L.Z)(v.prototype),"recycleAsyncId",this).call(this,M,k,S);0===M.actions.length&&(cancelAnimationFrame(k),M.scheduled=void 0)}}]),v}(f(24384).o),Z=function(T){(0,w.Z)(v,T);var D=(0,R.Z)(v);function v(){return(0,B.Z)(this,v),D.apply(this,arguments)}return(0,U.Z)(v,[{key:"flush",value:function(M){this.active=!0,this.scheduled=void 0;var S,k=this.actions,I=-1,F=k.length;M=M||k.shift();do{if(S=M.execute(M.state,M.delay))break}while(++I<F&&(M=k.shift()));if(this.active=!1,S){for(;++I<F&&(M=k.shift());)M.unsubscribe();throw S}}}]),v}(f(54840).v),O=new Z(E),y=O},16080:function(ue,j,f){"use strict";f.d(j,{e:function(){return T},E:function(){return y}});var B=f(18967),U=f(14105),V=f(38402),L=f(89200),w=f(10509),R=f(97154),b=f(40453),x=function(D){(0,w.Z)(g,D);var v=(0,R.Z)(g);function g(M,k){var S;return(0,B.Z)(this,g),(S=v.call(this,M,k)).scheduler=M,S.work=k,S}return(0,U.Z)(g,[{key:"requestAsyncId",value:function(k,S){var I=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==I&&I>0?(0,V.Z)((0,L.Z)(g.prototype),"requestAsyncId",this).call(this,k,S,I):(k.actions.push(this),k.scheduled||(k.scheduled=b.H.setImmediate(k.flush.bind(k,null))))}},{key:"recycleAsyncId",value:function(k,S){var I=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==I&&I>0||null===I&&this.delay>0)return(0,V.Z)((0,L.Z)(g.prototype),"recycleAsyncId",this).call(this,k,S,I);0===k.actions.length&&(b.H.clearImmediate(S),k.scheduled=void 0)}}]),g}(f(24384).o),O=function(D){(0,w.Z)(g,D);var v=(0,R.Z)(g);function g(){return(0,B.Z)(this,g),v.apply(this,arguments)}return(0,U.Z)(g,[{key:"flush",value:function(k){this.active=!0,this.scheduled=void 0;var I,S=this.actions,F=-1,G=S.length;k=k||S.shift();do{if(I=k.execute(k.state,k.delay))break}while(++F<G&&(k=S.shift()));if(this.active=!1,I){for(;++F<G&&(k=S.shift());)k.unsubscribe();throw I}}}]),g}(f(54840).v),y=new O(x),T=y},59449:function(ue,j,f){"use strict";f.d(j,{z:function(){return V},P:function(){return L}});var B=f(24384),V=new(f(54840).v)(B.o),L=V},21734:function(ue,j,f){"use strict";f.d(j,{c:function(){return y},N:function(){return O}});var B=f(18967),U=f(14105),V=f(38402),L=f(89200),w=f(10509),R=f(97154),E=function(T){(0,w.Z)(v,T);var D=(0,R.Z)(v);function v(g,M){var k;return(0,B.Z)(this,v),(k=D.call(this,g,M)).scheduler=g,k.work=M,k}return(0,U.Z)(v,[{key:"schedule",value:function(M){var k=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return k>0?(0,V.Z)((0,L.Z)(v.prototype),"schedule",this).call(this,M,k):(this.delay=k,this.state=M,this.scheduler.flush(this),this)}},{key:"execute",value:function(M,k){return k>0||this.closed?(0,V.Z)((0,L.Z)(v.prototype),"execute",this).call(this,M,k):this._execute(M,k)}},{key:"requestAsyncId",value:function(M,k){var S=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==S&&S>0||null===S&&this.delay>0?(0,V.Z)((0,L.Z)(v.prototype),"requestAsyncId",this).call(this,M,k,S):M.flush(this)}}]),v}(f(24384).o),Z=function(T){(0,w.Z)(v,T);var D=(0,R.Z)(v);function v(){return(0,B.Z)(this,v),D.apply(this,arguments)}return v}(f(54840).v),O=new Z(E),y=O},56203:function(ue,j,f){"use strict";f.d(j,{hZ:function(){return U}});var U="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},56563:function(ue,j,f){"use strict";f.d(j,{L:function(){return B}});var B="function"==typeof Symbol&&Symbol.observable||"@@observable"},24629:function(ue,j,f){"use strict";f.d(j,{b:function(){return B}});var B="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},67689:function(ue,j,f){"use strict";f.d(j,{W:function(){return U}});var U=function(){function V(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return V.prototype=Object.create(Error.prototype),V}()},15449:function(ue,j,f){"use strict";f.d(j,{K:function(){return U}});var U=function(){function V(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return V.prototype=Object.create(Error.prototype),V}()},40453:function(ue,j,f){"use strict";f.d(j,{H:function(){return w}});var B=1,U=Promise.resolve(),V={};function L(b){return b in V&&(delete V[b],!0)}var w={setImmediate:function(E){var x=B++;return V[x]=!0,U.then(function(){return L(x)&&E()}),x},clearImmediate:function(E){L(E)}}},42078:function(ue,j,f){"use strict";f.d(j,{N:function(){return U}});var U=function(){function V(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return V.prototype=Object.create(Error.prototype),V}()},96174:function(ue,j,f){"use strict";f.d(j,{W:function(){return U}});var U=function(){function V(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return V.prototype=Object.create(Error.prototype),V}()},59508:function(ue,j,f){"use strict";f.d(j,{B:function(){return U}});var U=function(){function V(L){return Error.call(this),this.message=L?"".concat(L.length," errors occurred during unsubscription:\n").concat(L.map(function(w,R){return"".concat(R+1,") ").concat(w.toString())}).join("\n  ")):"",this.name="UnsubscriptionError",this.errors=L,this}return V.prototype=Object.create(Error.prototype),V}()},19094:function(ue,j,f){"use strict";function B(U,V){for(var L=0,w=V.length;L<w;L++)for(var R=V[L],b=Object.getOwnPropertyNames(R.prototype),E=0,x=b.length;E<x;E++){var Z=b[E];U.prototype[Z]=R.prototype[Z]}}f.d(j,{e:function(){return B}})},40327:function(ue,j,f){"use strict";f.d(j,{_:function(){return U}});var B=f(72007);function U(V){for(;V;){var R=V.destination;if(V.closed||V.isStopped)return!1;V=R&&R instanceof B.L?R:null}return!0}},26580:function(ue,j,f){"use strict";function B(U){setTimeout(function(){throw U},0)}f.d(j,{z:function(){return B}})},88533:function(ue,j,f){"use strict";function B(U){return U}f.d(j,{y:function(){return B}})},40830:function(ue,j,f){"use strict";f.d(j,{k:function(){return B}});var B=Array.isArray||function(U){return U&&"number"==typeof U.length}},84565:function(ue,j,f){"use strict";f.d(j,{z:function(){return B}});var B=function(V){return V&&"number"==typeof V.length&&"function"!=typeof V}},54493:function(ue,j,f){"use strict";function B(U){return U instanceof Date&&!isNaN(+U)}f.d(j,{J:function(){return B}})},9813:function(ue,j,f){"use strict";function B(U){return"function"==typeof U}f.d(j,{m:function(){return B}})},7652:function(ue,j,f){"use strict";f.d(j,{c:function(){return U}});var B=f(56563);function U(V){return V&&"function"==typeof V[B.L]}},21627:function(ue,j,f){"use strict";f.d(j,{T:function(){return U}});var B=f(56203);function U(V){return V&&"function"==typeof V[B.hZ]}},32104:function(ue,j,f){"use strict";f.d(j,{k:function(){return U}});var B=f(40830);function U(V){return!(0,B.k)(V)&&V-parseFloat(V)+1>=0}},11458:function(ue,j,f){"use strict";function B(U){return null!==U&&"object"==typeof U}f.d(j,{K:function(){return B}})},47593:function(ue,j,f){"use strict";f.d(j,{b:function(){return U}});var B=f(15801);function U(V){return!!V&&(V instanceof B.y||"function"==typeof V.lift&&"function"==typeof V.subscribe)}},35872:function(ue,j,f){"use strict";function B(U){return!!U&&"function"!=typeof U.subscribe&&"function"==typeof U.then}f.d(j,{t:function(){return B}})},62731:function(ue,j,f){"use strict";function B(U){return U&&"function"==typeof U.schedule}f.d(j,{K:function(){return B}})},61443:function(ue,j,f){"use strict";function B(){}f.d(j,{Z:function(){return B}})},51395:function(ue,j,f){"use strict";function B(U,V){function L(){return!L.pred.apply(L.thisArg,arguments)}return L.pred=U,L.thisArg=V,L}f.d(j,{f:function(){return B}})},79968:function(ue,j,f){"use strict";f.d(j,{z:function(){return U},U:function(){return V}});var B=f(88533);function U(){for(var L=arguments.length,w=new Array(L),R=0;R<L;R++)w[R]=arguments[R];return V(w)}function V(L){return 0===L.length?B.y:1===L.length?L[0]:function(R){return L.reduce(function(b,E){return E(b)},R)}}},1996:function(ue,j,f){"use strict";f.d(j,{J:function(){return L}});var B="undefined"!=typeof window&&window,U="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,V="undefined"!=typeof global&&global,L=B||V||U;!function(){if(!L)throw new Error("RxJS could not find any global context (window, self, global)")}()},9158:function(ue,j,f){"use strict";f.d(j,{s:function(){return Z}});var B=f(10202),U=f(85812),V=f(43195),L=f(93053),w=f(84565),R=f(35872),b=f(11458),E=f(56203),x=f(56563),Z=function(y){if(y&&"function"==typeof y[x.L])return(0,L.h)(y);if((0,w.z)(y))return(0,B.V)(y);if((0,R.t)(y))return(0,U.A)(y);if(y&&"function"==typeof y[E.hZ])return(0,V.u)(y);var T=(0,b.K)(y)?"an invalid object":"'".concat(y,"'"),D="You provided ".concat(T," where a stream was expected.")+" You can provide an Observable, Promise, Array, or Iterable.";throw new TypeError(D)}},10202:function(ue,j,f){"use strict";f.d(j,{V:function(){return B}});var B=function(V){return function(L){for(var w=0,R=V.length;w<R&&!L.closed;w++)L.next(V[w]);L.complete()}}},43195:function(ue,j,f){"use strict";f.d(j,{u:function(){return U}});var B=f(56203),U=function(L){return function(w){for(var R=L[B.hZ]();;){var b=void 0;try{b=R.next()}catch(E){return w.error(E),w}if(b.done){w.complete();break}if(w.next(b.value),w.closed)break}return"function"==typeof R.return&&w.add(function(){R.return&&R.return()}),w}}},93053:function(ue,j,f){"use strict";f.d(j,{h:function(){return U}});var B=f(56563),U=function(L){return function(w){var R=L[B.L]();if("function"!=typeof R.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return R.subscribe(w)}}},85812:function(ue,j,f){"use strict";f.d(j,{A:function(){return U}});var B=f(26580),U=function(L){return function(w){return L.then(function(R){w.closed||(w.next(R),w.complete())},function(R){return w.error(R)}).then(null,B.z),w}}},99319:function(ue,j,f){"use strict";f.d(j,{D:function(){return L}});var B=f(58452),U=f(9158),V=f(15801);function L(w,R,b,E){var x=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new B.d(w,b,E);if(!x.closed)return R instanceof V.y?R.subscribe(x):(0,U.s)(R)(x)}},5839:function(ue,j,f){"use strict";f.d(j,{Y:function(){return L}});var B=f(72007),U=f(24629),V=f(62454);function L(w,R,b){if(w){if(w instanceof B.L)return w;if(w[U.b])return w[U.b]()}return w||R||b?new B.L(w,R,b):new B.L(V.c)}},5949:function(ue,j,f){"use strict";f.r(j),f.d(j,{audit:function(){return B.U},auditTime:function(){return U.e},buffer:function(){return x},bufferCount:function(){return v},bufferTime:function(){return F},bufferToggle:function(){return de},bufferWhen:function(){return ge},catchError:function(){return Qe.K},combineAll:function(){return bt},combineLatest:function(){return tt},concat:function(){return Tt},concatAll:function(){return mt.u},concatMap:function(){return Yt.b},concatMapTo:function(){return un},count:function(){return Ut.Q},debounce:function(){return Mn},debounceTime:function(){return Zn.b},defaultIfEmpty:function(){return Vn.d},delay:function(){return zn.g},delayWhen:function(){return nr},dematerialize:function(){return _n},distinct:function(){return Me},distinctUntilChanged:function(){return Fe.x},distinctUntilKeyChanged:function(){return Ge},elementAt:function(){return on},endWith:function(){return yn},every:function(){return Cn},exhaust:function(){return Ct},exhaustMap:function(){return _t},expand:function(){return Re},filter:function(){return At.h},finalize:function(){return Ft.x},find:function(){return Xt},findIndex:function(){return ai},first:function(){return Qr.P},flatMap:function(){return Rr.VS},groupBy:function(){return xi.v},ignoreElements:function(){return oi},isEmpty:function(){return da},last:function(){return Aa.Z},map:function(){return lt.U},mapTo:function(){return Ha},materialize:function(){return Ht},max:function(){return Pn},merge:function(){return dr},mergeAll:function(){return ni.J},mergeMap:function(){return Rr.zg},mergeMapTo:function(){return Gn},mergeScan:function(){return ji},min:function(){return fa},multicast:function(){return pi.O},observeOn:function(){return Ka.QV},onErrorResumeNext:function(){return _a},pairwise:function(){return Vo.G},partition:function(){return Mi},pluck:function(){return ka},publish:function(){return Qi},publishBehavior:function(){return Li},publishLast:function(){return fn},publishReplay:function(){return ya},race:function(){return Ii},reduce:function(){return bn},refCount:function(){return ba.x},repeat:function(){return ia},repeatWhen:function(){return aa},retry:function(){return yo},retryWhen:function(){return Xi},sample:function(){return Co},sampleTime:function(){return Rn},scan:function(){return Et.R},sequenceEqual:function(){return or},share:function(){return al.B},shareReplay:function(){return qi.d},single:function(){return Pl},skip:function(){return ls.T},skipLast:function(){return Lu},skipUntil:function(){return Ne},skipWhile:function(){return le},startWith:function(){return Ae.O},subscribeOn:function(){return gt},switchAll:function(){return Xr},switchMap:function(){return yt.w},switchMapTo:function(){return qa},take:function(){return Kt.q},takeLast:function(){return jt.h},takeUntil:function(){return Bi.R},takeWhile:function(){return Ki.o},tap:function(){return Fr.b},throttle:function(){return za.P},throttleTime:function(){return ol},throwIfEmpty:function(){return Vt.T},timeInterval:function(){return Vs.J},timeout:function(){return kd},timeoutWith:function(){return Ep},timestamp:function(){return oh.A},toArray:function(){return Oe},window:function(){return ye},windowCount:function(){return ke},windowTime:function(){return Bt},windowToggle:function(){return Tr},windowWhen:function(){return zi},withLatestFrom:function(){return xa},zip:function(){return sl},zipAll:function(){return So}});var B=f(17234),U=f(80758),V=f(88009),L=f(10509),w=f(97154),R=f(18967),b=f(14105),E=f(26303);function x(Le){return function(Se){return Se.lift(new Z(Le))}}var Z=function(){function Le(Ve){(0,R.Z)(this,Le),this.closingNotifier=Ve}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new O(Se,this.closingNotifier))}}]),Le}(),O=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie){var nt;return(0,R.Z)(this,Se),(nt=Ve.call(this,Ze)).buffer=[],nt.add((0,E.ft)(Ie,new E.IY((0,V.Z)(nt)))),nt}return(0,b.Z)(Se,[{key:"_next",value:function(Ie){this.buffer.push(Ie)}},{key:"notifyNext",value:function(){var Ie=this.buffer;this.buffer=[],this.destination.next(Ie)}}]),Se}(E.Ds),y=f(38402),T=f(89200),D=f(72007);function v(Le){var Ve=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(Ze){return Ze.lift(new g(Le,Ve))}}var g=function(){function Le(Ve,Se){(0,R.Z)(this,Le),this.bufferSize=Ve,this.startBufferEvery=Se,this.subscriberClass=Se&&Ve!==Se?k:M}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new this.subscriberClass(Se,this.bufferSize,this.startBufferEvery))}}]),Le}(),M=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie){var nt;return(0,R.Z)(this,Se),(nt=Ve.call(this,Ze)).bufferSize=Ie,nt.buffer=[],nt}return(0,b.Z)(Se,[{key:"_next",value:function(Ie){var nt=this.buffer;nt.push(Ie),nt.length==this.bufferSize&&(this.destination.next(nt),this.buffer=[])}},{key:"_complete",value:function(){var Ie=this.buffer;Ie.length>0&&this.destination.next(Ie),(0,y.Z)((0,T.Z)(Se.prototype),"_complete",this).call(this)}}]),Se}(D.L),k=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie,nt){var wt;return(0,R.Z)(this,Se),(wt=Ve.call(this,Ze)).bufferSize=Ie,wt.startBufferEvery=nt,wt.buffers=[],wt.count=0,wt}return(0,b.Z)(Se,[{key:"_next",value:function(Ie){var nt=this.bufferSize,wt=this.startBufferEvery,nn=this.buffers,gn=this.count;this.count++,gn%wt==0&&nn.push([]);for(var ur=nn.length;ur--;){var Ar=nn[ur];Ar.push(Ie),Ar.length===nt&&(nn.splice(ur,1),this.destination.next(Ar))}}},{key:"_complete",value:function(){for(var Ie=this.buffers,nt=this.destination;Ie.length>0;){var wt=Ie.shift();wt.length>0&&nt.next(wt)}(0,y.Z)((0,T.Z)(Se.prototype),"_complete",this).call(this)}}]),Se}(D.L),S=f(59449),I=f(62731);function F(Le){var Ve=arguments.length,Se=S.P;(0,I.K)(arguments[arguments.length-1])&&(Se=arguments[arguments.length-1],Ve--);var Ze=null;Ve>=2&&(Ze=arguments[1]);var Ie=Number.POSITIVE_INFINITY;return Ve>=3&&(Ie=arguments[2]),function(wt){return wt.lift(new G(Le,Ze,Ie,Se))}}var G=function(){function Le(Ve,Se,Ze,Ie){(0,R.Z)(this,Le),this.bufferTimeSpan=Ve,this.bufferCreationInterval=Se,this.maxBufferSize=Ze,this.scheduler=Ie}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new W(Se,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))}}]),Le}(),X=function Le(){(0,R.Z)(this,Le),this.buffer=[]},W=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie,nt,wt,nn){var gn;(0,R.Z)(this,Se),(gn=Ve.call(this,Ze)).bufferTimeSpan=Ie,gn.bufferCreationInterval=nt,gn.maxBufferSize=wt,gn.scheduler=nn,gn.contexts=[];var ur=gn.openContext();if(gn.timespanOnly=null==nt||nt<0,gn.timespanOnly){var Ar={subscriber:(0,V.Z)(gn),context:ur,bufferTimeSpan:Ie};gn.add(ur.closeAction=nn.schedule(Y,Ie,Ar))}else{var To={subscriber:(0,V.Z)(gn),context:ur},Ss={bufferTimeSpan:Ie,bufferCreationInterval:nt,subscriber:(0,V.Z)(gn),scheduler:nn};gn.add(ur.closeAction=nn.schedule(K,Ie,To)),gn.add(nn.schedule(ae,nt,Ss))}return gn}return(0,b.Z)(Se,[{key:"_next",value:function(Ie){for(var nn,nt=this.contexts,wt=nt.length,gn=0;gn<wt;gn++){var ur=nt[gn],Ar=ur.buffer;Ar.push(Ie),Ar.length==this.maxBufferSize&&(nn=ur)}nn&&this.onBufferFull(nn)}},{key:"_error",value:function(Ie){this.contexts.length=0,(0,y.Z)((0,T.Z)(Se.prototype),"_error",this).call(this,Ie)}},{key:"_complete",value:function(){for(var Ie=this.contexts,nt=this.destination;Ie.length>0;){var wt=Ie.shift();nt.next(wt.buffer)}(0,y.Z)((0,T.Z)(Se.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){this.contexts=null}},{key:"onBufferFull",value:function(Ie){this.closeContext(Ie);var nt=Ie.closeAction;if(nt.unsubscribe(),this.remove(nt),!this.closed&&this.timespanOnly){Ie=this.openContext();var wt=this.bufferTimeSpan;this.add(Ie.closeAction=this.scheduler.schedule(Y,wt,{subscriber:this,context:Ie,bufferTimeSpan:wt}))}}},{key:"openContext",value:function(){var Ie=new X;return this.contexts.push(Ie),Ie}},{key:"closeContext",value:function(Ie){this.destination.next(Ie.buffer);var nt=this.contexts;(nt?nt.indexOf(Ie):-1)>=0&&nt.splice(nt.indexOf(Ie),1)}}]),Se}(D.L);function Y(Le){var Ve=Le.subscriber,Se=Le.context;Se&&Ve.closeContext(Se),Ve.closed||(Le.context=Ve.openContext(),Le.context.closeAction=this.schedule(Le,Le.bufferTimeSpan))}function ae(Le){var Ve=Le.bufferCreationInterval,Se=Le.bufferTimeSpan,Ze=Le.subscriber,Ie=Le.scheduler,nt=Ze.openContext();Ze.closed||(Ze.add(nt.closeAction=Ie.schedule(K,Se,{subscriber:Ze,context:nt})),this.schedule(Le,Ve))}function K(Le){Le.subscriber.closeContext(Le.context)}var fe=f(43501),ce=f(99319),he=f(74314);function de(Le,Ve){return function(Ze){return Ze.lift(new oe(Le,Ve))}}var oe=function(){function Le(Ve,Se){(0,R.Z)(this,Le),this.openings=Ve,this.closingSelector=Se}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new Ce(Se,this.openings,this.closingSelector))}}]),Le}(),Ce=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie,nt){var wt;return(0,R.Z)(this,Se),(wt=Ve.call(this,Ze)).closingSelector=nt,wt.contexts=[],wt.add((0,ce.D)((0,V.Z)(wt),Ie)),wt}return(0,b.Z)(Se,[{key:"_next",value:function(Ie){for(var nt=this.contexts,wt=nt.length,nn=0;nn<wt;nn++)nt[nn].buffer.push(Ie)}},{key:"_error",value:function(Ie){for(var nt=this.contexts;nt.length>0;){var wt=nt.shift();wt.subscription.unsubscribe(),wt.buffer=null,wt.subscription=null}this.contexts=null,(0,y.Z)((0,T.Z)(Se.prototype),"_error",this).call(this,Ie)}},{key:"_complete",value:function(){for(var Ie=this.contexts;Ie.length>0;){var nt=Ie.shift();this.destination.next(nt.buffer),nt.subscription.unsubscribe(),nt.buffer=null,nt.subscription=null}this.contexts=null,(0,y.Z)((0,T.Z)(Se.prototype),"_complete",this).call(this)}},{key:"notifyNext",value:function(Ie,nt){Ie?this.closeBuffer(Ie):this.openBuffer(nt)}},{key:"notifyComplete",value:function(Ie){this.closeBuffer(Ie.context)}},{key:"openBuffer",value:function(Ie){try{var wt=this.closingSelector.call(this,Ie);wt&&this.trySubscribe(wt)}catch(nn){this._error(nn)}}},{key:"closeBuffer",value:function(Ie){var nt=this.contexts;if(nt&&Ie){var nn=Ie.subscription;this.destination.next(Ie.buffer),nt.splice(nt.indexOf(Ie),1),this.remove(nn),nn.unsubscribe()}}},{key:"trySubscribe",value:function(Ie){var nt=this.contexts,nn=new fe.w,gn={buffer:[],subscription:nn};nt.push(gn);var ur=(0,ce.D)(this,Ie,gn);!ur||ur.closed?this.closeBuffer(gn):(ur.context=gn,this.add(ur),nn.add(ur))}}]),Se}(he.L);function ge(Le){return function(Ve){return Ve.lift(new qe(Le))}}var qe=function(){function Le(Ve){(0,R.Z)(this,Le),this.closingSelector=Ve}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new De(Se,this.closingSelector))}}]),Le}(),De=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie){var nt;return(0,R.Z)(this,Se),(nt=Ve.call(this,Ze)).closingSelector=Ie,nt.subscribing=!1,nt.openBuffer(),nt}return(0,b.Z)(Se,[{key:"_next",value:function(Ie){this.buffer.push(Ie)}},{key:"_complete",value:function(){var Ie=this.buffer;Ie&&this.destination.next(Ie),(0,y.Z)((0,T.Z)(Se.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){this.buffer=void 0,this.subscribing=!1}},{key:"notifyNext",value:function(){this.openBuffer()}},{key:"notifyComplete",value:function(){this.subscribing?this.complete():this.openBuffer()}},{key:"openBuffer",value:function(){var wt,Ie=this.closingSubscription;Ie&&(this.remove(Ie),Ie.unsubscribe()),this.buffer&&this.destination.next(this.buffer),this.buffer=[];try{wt=(0,this.closingSelector)()}catch(gn){return this.error(gn)}Ie=new fe.w,this.closingSubscription=Ie,this.add(Ie),this.subscribing=!0,Ie.add((0,E.ft)(wt,new E.IY(this))),this.subscribing=!1}}]),Se}(E.Ds),Qe=f(67254),et=f(40452);function bt(Le){return function(Ve){return Ve.lift(new et.Ms(Le))}}var _e=f(333),xe=f(40830),He=f(17048);function tt(){for(var Le=arguments.length,Ve=new Array(Le),Se=0;Se<Le;Se++)Ve[Se]=arguments[Se];var Ze=null;return"function"==typeof Ve[Ve.length-1]&&(Ze=Ve.pop()),1===Ve.length&&(0,xe.k)(Ve[0])&&(Ve=Ve[0].slice()),function(Ie){return Ie.lift.call((0,He.D)([Ie].concat((0,_e.Z)(Ve))),new et.Ms(Ze))}}var Zt=f(60636);function Tt(){for(var Le=arguments.length,Ve=new Array(Le),Se=0;Se<Le;Se++)Ve[Se]=arguments[Se];return function(Ze){return Ze.lift.call(Zt.z.apply(void 0,[Ze].concat(Ve)))}}var mt=f(12538),Yt=f(30854);function un(Le,Ve){return(0,Yt.b)(function(){return Le},Ve)}var Ut=f(43415);function Mn(Le){return function(Ve){return Ve.lift(new On(Le))}}var On=function(){function Le(Ve){(0,R.Z)(this,Le),this.durationSelector=Ve}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new Fn(Se,this.durationSelector))}}]),Le}(),Fn=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie){var nt;return(0,R.Z)(this,Se),(nt=Ve.call(this,Ze)).durationSelector=Ie,nt.hasValue=!1,nt}return(0,b.Z)(Se,[{key:"_next",value:function(Ie){try{var nt=this.durationSelector.call(this,Ie);nt&&this._tryNext(Ie,nt)}catch(wt){this.destination.error(wt)}}},{key:"_complete",value:function(){this.emitValue(),this.destination.complete()}},{key:"_tryNext",value:function(Ie,nt){var wt=this.durationSubscription;this.value=Ie,this.hasValue=!0,wt&&(wt.unsubscribe(),this.remove(wt)),(wt=(0,E.ft)(nt,new E.IY(this)))&&!wt.closed&&this.add(this.durationSubscription=wt)}},{key:"notifyNext",value:function(){this.emitValue()}},{key:"notifyComplete",value:function(){this.emitValue()}},{key:"emitValue",value:function(){if(this.hasValue){var Ie=this.value,nt=this.durationSubscription;nt&&(this.durationSubscription=void 0,nt.unsubscribe(),this.remove(nt)),this.value=void 0,this.hasValue=!1,(0,y.Z)((0,T.Z)(Se.prototype),"_next",this).call(this,Ie)}}}]),Se}(E.Ds),Zn=f(46656),Vn=f(31692),zn=f(99359),Wn=f(15801);function nr(Le,Ve){return Ve?function(Se){return new Qn(Se,Ve).lift(new ar(Le))}:function(Se){return Se.lift(new ar(Le))}}var ar=function(){function Le(Ve){(0,R.Z)(this,Le),this.delayDurationSelector=Ve}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new Sr(Se,this.delayDurationSelector))}}]),Le}(),Sr=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie){var nt;return(0,R.Z)(this,Se),(nt=Ve.call(this,Ze)).delayDurationSelector=Ie,nt.completed=!1,nt.delayNotifierSubscriptions=[],nt.index=0,nt}return(0,b.Z)(Se,[{key:"notifyNext",value:function(Ie,nt,wt,nn,gn){this.destination.next(Ie),this.removeSubscription(gn),this.tryComplete()}},{key:"notifyError",value:function(Ie,nt){this._error(Ie)}},{key:"notifyComplete",value:function(Ie){var nt=this.removeSubscription(Ie);nt&&this.destination.next(nt),this.tryComplete()}},{key:"_next",value:function(Ie){var nt=this.index++;try{var wt=this.delayDurationSelector(Ie,nt);wt&&this.tryDelay(wt,Ie)}catch(nn){this.destination.error(nn)}}},{key:"_complete",value:function(){this.completed=!0,this.tryComplete(),this.unsubscribe()}},{key:"removeSubscription",value:function(Ie){Ie.unsubscribe();var nt=this.delayNotifierSubscriptions.indexOf(Ie);return-1!==nt&&this.delayNotifierSubscriptions.splice(nt,1),Ie.outerValue}},{key:"tryDelay",value:function(Ie,nt){var wt=(0,ce.D)(this,Ie,nt);wt&&!wt.closed&&(this.destination.add(wt),this.delayNotifierSubscriptions.push(wt))}},{key:"tryComplete",value:function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()}}]),Se}(he.L),Qn=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie){var nt;return(0,R.Z)(this,Se),(nt=Ve.call(this)).source=Ze,nt.subscriptionDelay=Ie,nt}return(0,b.Z)(Se,[{key:"_subscribe",value:function(Ie){this.subscriptionDelay.subscribe(new rn(Ie,this.source))}}]),Se}(Wn.y),rn=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie){var nt;return(0,R.Z)(this,Se),(nt=Ve.call(this)).parent=Ze,nt.source=Ie,nt.sourceSubscribed=!1,nt}return(0,b.Z)(Se,[{key:"_next",value:function(Ie){this.subscribeToSource()}},{key:"_error",value:function(Ie){this.unsubscribe(),this.parent.error(Ie)}},{key:"_complete",value:function(){this.unsubscribe(),this.subscribeToSource()}},{key:"subscribeToSource",value:function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))}}]),Se}(D.L);function _n(){return function(Ve){return Ve.lift(new kt)}}var kt=function(){function Le(){(0,R.Z)(this,Le)}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new Ye(Se))}}]),Le}(),Ye=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze){return(0,R.Z)(this,Se),Ve.call(this,Ze)}return(0,b.Z)(Se,[{key:"_next",value:function(Ie){Ie.observe(this.destination)}}]),Se}(D.L);function Me(Le,Ve){return function(Se){return Se.lift(new ne(Le,Ve))}}var ne=function(){function Le(Ve,Se){(0,R.Z)(this,Le),this.keySelector=Ve,this.flushes=Se}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new be(Se,this.keySelector,this.flushes))}}]),Le}(),be=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie,nt){var wt;return(0,R.Z)(this,Se),(wt=Ve.call(this,Ze)).keySelector=Ie,wt.values=new Set,nt&&wt.add((0,E.ft)(nt,new E.IY((0,V.Z)(wt)))),wt}return(0,b.Z)(Se,[{key:"notifyNext",value:function(){this.values.clear()}},{key:"notifyError",value:function(Ie){this._error(Ie)}},{key:"_next",value:function(Ie){this.keySelector?this._useKeySelector(Ie):this._finalizeNext(Ie,Ie)}},{key:"_useKeySelector",value:function(Ie){var nt,wt=this.destination;try{nt=this.keySelector(Ie)}catch(nn){return void wt.error(nn)}this._finalizeNext(nt,Ie)}},{key:"_finalizeNext",value:function(Ie,nt){var wt=this.values;wt.has(Ie)||(wt.add(Ie),this.destination.next(nt))}}]),Se}(E.Ds),Fe=f(65944);function Ge(Le,Ve){return(0,Fe.x)(function(Se,Ze){return Ve?Ve(Se[Le],Ze[Le]):Se[Le]===Ze[Le]})}var vt=f(67689),At=f(50439),Vt=f(83328),Kt=f(63303);function on(Le,Ve){if(Le<0)throw new vt.W;var Se=arguments.length>=2;return function(Ze){return Ze.pipe((0,At.h)(function(Ie,nt){return nt===Le}),(0,Kt.q)(1),Se?(0,Vn.d)(Ve):(0,Vt.T)(function(){return new vt.W}))}}var hn=f(82429);function yn(){for(var Le=arguments.length,Ve=new Array(Le),Se=0;Se<Le;Se++)Ve[Se]=arguments[Se];return function(Ze){return(0,Zt.z)(Ze,hn.of.apply(void 0,Ve))}}function Cn(Le,Ve){return function(Se){return Se.lift(new Nt(Le,Ve,Se))}}var Nt=function(){function Le(Ve,Se,Ze){(0,R.Z)(this,Le),this.predicate=Ve,this.thisArg=Se,this.source=Ze}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new Lt(Se,this.predicate,this.thisArg,this.source))}}]),Le}(),Lt=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie,nt,wt){var nn;return(0,R.Z)(this,Se),(nn=Ve.call(this,Ze)).predicate=Ie,nn.thisArg=nt,nn.source=wt,nn.index=0,nn.thisArg=nt||(0,V.Z)(nn),nn}return(0,b.Z)(Se,[{key:"notifyComplete",value:function(Ie){this.destination.next(Ie),this.destination.complete()}},{key:"_next",value:function(Ie){var nt=!1;try{nt=this.predicate.call(this.thisArg,Ie,this.index++,this.source)}catch(wt){return void this.destination.error(wt)}nt||this.notifyComplete(!1)}},{key:"_complete",value:function(){this.notifyComplete(!0)}}]),Se}(D.L);function Ct(){return function(Le){return Le.lift(new Ot)}}var Ot=function(){function Le(){(0,R.Z)(this,Le)}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new ht(Se))}}]),Le}(),ht=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze){var Ie;return(0,R.Z)(this,Se),(Ie=Ve.call(this,Ze)).hasCompleted=!1,Ie.hasSubscription=!1,Ie}return(0,b.Z)(Se,[{key:"_next",value:function(Ie){this.hasSubscription||(this.hasSubscription=!0,this.add((0,E.ft)(Ie,new E.IY(this))))}},{key:"_complete",value:function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()}},{key:"notifyComplete",value:function(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}]),Se}(E.Ds),lt=f(98771);function _t(Le,Ve){return Ve?function(Se){return Se.pipe(_t(function(Ze,Ie){return(0,He.D)(Le(Ze,Ie)).pipe((0,lt.U)(function(nt,wt){return Ve(Ze,nt,Ie,wt)}))}))}:function(Se){return Se.lift(new we(Le))}}var we=function(){function Le(Ve){(0,R.Z)(this,Le),this.project=Ve}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new je(Se,this.project))}}]),Le}(),je=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie){var nt;return(0,R.Z)(this,Se),(nt=Ve.call(this,Ze)).project=Ie,nt.hasSubscription=!1,nt.hasCompleted=!1,nt.index=0,nt}return(0,b.Z)(Se,[{key:"_next",value:function(Ie){this.hasSubscription||this.tryNext(Ie)}},{key:"tryNext",value:function(Ie){var nt,wt=this.index++;try{nt=this.project(Ie,wt)}catch(nn){return void this.destination.error(nn)}this.hasSubscription=!0,this._innerSub(nt)}},{key:"_innerSub",value:function(Ie){var nt=new E.IY(this),wt=this.destination;wt.add(nt);var nn=(0,E.ft)(Ie,nt);nn!==nt&&wt.add(nn)}},{key:"_complete",value:function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(Ie){this.destination.next(Ie)}},{key:"notifyError",value:function(Ie){this.destination.error(Ie)}},{key:"notifyComplete",value:function(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}]),Se}(E.Ds);function Re(Le){var Ve=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,Se=arguments.length>2?arguments[2]:void 0;return Ve=(Ve||0)<1?Number.POSITIVE_INFINITY:Ve,function(Ze){return Ze.lift(new Xe(Le,Ve,Se))}}var Xe=function(){function Le(Ve,Se,Ze){(0,R.Z)(this,Le),this.project=Ve,this.concurrent=Se,this.scheduler=Ze}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new pt(Se,this.project,this.concurrent,this.scheduler))}}]),Le}(),pt=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie,nt,wt){var nn;return(0,R.Z)(this,Se),(nn=Ve.call(this,Ze)).project=Ie,nn.concurrent=nt,nn.scheduler=wt,nn.index=0,nn.active=0,nn.hasCompleted=!1,nt<Number.POSITIVE_INFINITY&&(nn.buffer=[]),nn}return(0,b.Z)(Se,[{key:"_next",value:function(Ie){var nt=this.destination;if(nt.closed)this._complete();else{var wt=this.index++;if(this.active<this.concurrent){nt.next(Ie);try{var gn=(0,this.project)(Ie,wt);this.scheduler?this.destination.add(this.scheduler.schedule(Se.dispatch,0,{subscriber:this,result:gn,value:Ie,index:wt})):this.subscribeToProjection(gn,Ie,wt)}catch(To){nt.error(To)}}else this.buffer.push(Ie)}}},{key:"subscribeToProjection",value:function(Ie,nt,wt){this.active++,this.destination.add((0,E.ft)(Ie,new E.IY(this)))}},{key:"_complete",value:function(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(Ie){this._next(Ie)}},{key:"notifyComplete",value:function(){var Ie=this.buffer;this.active--,Ie&&Ie.length>0&&this._next(Ie.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()}}],[{key:"dispatch",value:function(Ie){Ie.subscriber.subscribeToProjection(Ie.result,Ie.value,Ie.index)}}]),Se}(E.Ds),Ft=f(30366);function Xt(Le,Ve){if("function"!=typeof Le)throw new TypeError("predicate is not a function");return function(Se){return Se.lift(new Tn(Le,Se,!1,Ve))}}var Tn=function(){function Le(Ve,Se,Ze,Ie){(0,R.Z)(this,Le),this.predicate=Ve,this.source=Se,this.yieldIndex=Ze,this.thisArg=Ie}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new Dn(Se,this.predicate,this.source,this.yieldIndex,this.thisArg))}}]),Le}(),Dn=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie,nt,wt,nn){var gn;return(0,R.Z)(this,Se),(gn=Ve.call(this,Ze)).predicate=Ie,gn.source=nt,gn.yieldIndex=wt,gn.thisArg=nn,gn.index=0,gn}return(0,b.Z)(Se,[{key:"notifyComplete",value:function(Ie){var nt=this.destination;nt.next(Ie),nt.complete(),this.unsubscribe()}},{key:"_next",value:function(Ie){var nt=this.predicate,wt=this.thisArg,nn=this.index++;try{nt.call(wt||this,Ie,nn,this.source)&&this.notifyComplete(this.yieldIndex?nn:Ie)}catch(ur){this.destination.error(ur)}}},{key:"_complete",value:function(){this.notifyComplete(this.yieldIndex?-1:void 0)}}]),Se}(D.L);function ai(Le,Ve){return function(Se){return Se.lift(new Tn(Le,Se,!0,Ve))}}var Qr=f(64187),xi=f(91646);function oi(){return function(Ve){return Ve.lift(new Hi)}}var Hi=function(){function Le(){(0,R.Z)(this,Le)}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new ga(Se))}}]),Le}(),ga=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(){return(0,R.Z)(this,Se),Ve.apply(this,arguments)}return(0,b.Z)(Se,[{key:"_next",value:function(Ie){}}]),Se}(D.L);function da(){return function(Le){return Le.lift(new Vi)}}var Vi=function(){function Le(){(0,R.Z)(this,Le)}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new pa(Se))}}]),Le}(),pa=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze){return(0,R.Z)(this,Se),Ve.call(this,Ze)}return(0,b.Z)(Se,[{key:"notifyComplete",value:function(Ie){var nt=this.destination;nt.next(Ie),nt.complete()}},{key:"_next",value:function(Ie){this.notifyComplete(!1)}},{key:"_complete",value:function(){this.notifyComplete(!0)}}]),Se}(D.L),Aa=f(23414);function Ha(Le){return function(Ve){return Ve.lift(new Kr(Le))}}var Kr=function(){function Le(Ve){(0,R.Z)(this,Le),this.value=Ve}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new Ei(Se,this.value))}}]),Le}(),Ei=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie){var nt;return(0,R.Z)(this,Se),(nt=Ve.call(this,Ze)).value=Ie,nt}return(0,b.Z)(Se,[{key:"_next",value:function(Ie){this.destination.next(this.value)}}]),Se}(D.L),Zi=f(47625);function Ht(){return function(Ve){return Ve.lift(new Gt)}}var Gt=function(){function Le(){(0,R.Z)(this,Le)}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new ft(Se))}}]),Le}(),ft=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze){return(0,R.Z)(this,Se),Ve.call(this,Ze)}return(0,b.Z)(Se,[{key:"_next",value:function(Ie){this.destination.next(Zi.P.createNext(Ie))}},{key:"_error",value:function(Ie){var nt=this.destination;nt.next(Zi.P.createError(Ie)),nt.complete()}},{key:"_complete",value:function(){var Ie=this.destination;Ie.next(Zi.P.createComplete()),Ie.complete()}}]),Se}(D.L),Et=f(73062),jt=f(52333),Qt=f(79968);function bn(Le,Ve){return arguments.length>=2?function(Ze){return(0,Qt.z)((0,Et.R)(Le,Ve),(0,jt.h)(1),(0,Vn.d)(Ve))(Ze)}:function(Ze){return(0,Qt.z)((0,Et.R)(function(Ie,nt,wt){return Le(Ie,nt,wt+1)}),(0,jt.h)(1))(Ze)}}function Pn(Le){return bn("function"==typeof Le?function(Se,Ze){return Le(Se,Ze)>0?Se:Ze}:function(Se,Ze){return Se>Ze?Se:Ze})}var rr=f(69301);function dr(){for(var Le=arguments.length,Ve=new Array(Le),Se=0;Se<Le;Se++)Ve[Se]=arguments[Se];return function(Ze){return Ze.lift.call(rr.T.apply(void 0,[Ze].concat(Ve)))}}var ni=f(76955),Rr=f(23199);function Gn(Le,Ve){var Se=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof Ve?(0,Rr.zg)(function(){return Le},Ve,Se):("number"==typeof Ve&&(Se=Ve),(0,Rr.zg)(function(){return Le},Se))}function ji(Le,Ve){var Se=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return function(Ze){return Ze.lift(new Mr(Le,Ve,Se))}}var Mr=function(){function Le(Ve,Se,Ze){(0,R.Z)(this,Le),this.accumulator=Ve,this.seed=Se,this.concurrent=Ze}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new na(Se,this.accumulator,this.seed,this.concurrent))}}]),Le}(),na=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie,nt,wt){var nn;return(0,R.Z)(this,Se),(nn=Ve.call(this,Ze)).accumulator=Ie,nn.acc=nt,nn.concurrent=wt,nn.hasValue=!1,nn.hasCompleted=!1,nn.buffer=[],nn.active=0,nn.index=0,nn}return(0,b.Z)(Se,[{key:"_next",value:function(Ie){if(this.active<this.concurrent){var nn,nt=this.index++,wt=this.destination;try{nn=(0,this.accumulator)(this.acc,Ie,nt)}catch(ur){return wt.error(ur)}this.active++,this._innerSub(nn)}else this.buffer.push(Ie)}},{key:"_innerSub",value:function(Ie){var nt=new E.IY(this),wt=this.destination;wt.add(nt);var nn=(0,E.ft)(Ie,nt);nn!==nt&&wt.add(nn)}},{key:"_complete",value:function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete()),this.unsubscribe()}},{key:"notifyNext",value:function(Ie){var nt=this.destination;this.acc=Ie,this.hasValue=!0,nt.next(Ie)}},{key:"notifyComplete",value:function(){var Ie=this.buffer;this.active--,Ie.length>0?this._next(Ie.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())}}]),Se}(E.Ds);function fa(Le){return bn("function"==typeof Le?function(Se,Ze){return Le(Se,Ze)<0?Se:Ze}:function(Se,Ze){return Se<Ze?Se:Ze})}var pi=f(56023),Ka=f(63649);function _a(){for(var Le=arguments.length,Ve=new Array(Le),Se=0;Se<Le;Se++)Ve[Se]=arguments[Se];return 1===Ve.length&&(0,xe.k)(Ve[0])&&(Ve=Ve[0]),function(Ze){return Ze.lift(new Wr(Ve))}}var Wr=function(){function Le(Ve){(0,R.Z)(this,Le),this.nextSources=Ve}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new bs(Se,this.nextSources))}}]),Le}(),bs=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie){var nt;return(0,R.Z)(this,Se),(nt=Ve.call(this,Ze)).destination=Ze,nt.nextSources=Ie,nt}return(0,b.Z)(Se,[{key:"notifyError",value:function(){this.subscribeToNextSource()}},{key:"notifyComplete",value:function(){this.subscribeToNextSource()}},{key:"_error",value:function(Ie){this.subscribeToNextSource(),this.unsubscribe()}},{key:"_complete",value:function(){this.subscribeToNextSource(),this.unsubscribe()}},{key:"subscribeToNextSource",value:function(){var Ie=this.nextSources.shift();if(Ie){var nt=new E.IY(this),wt=this.destination;wt.add(nt);var nn=(0,E.ft)(Ie,nt);nn!==nt&&wt.add(nn)}else this.destination.complete()}}]),Se}(E.Ds),Vo=f(91979),Oo=f(51395);function Mi(Le,Ve){return function(Se){return[(0,At.h)(Le,Ve)(Se),(0,At.h)((0,Oo.f)(Le,Ve))(Se)]}}function ka(){for(var Le=arguments.length,Ve=new Array(Le),Se=0;Se<Le;Se++)Ve[Se]=arguments[Se];var Ze=Ve.length;if(0===Ze)throw new Error("list of properties cannot be empty.");return function(Ie){return(0,lt.U)(Gr(Ve,Ze))(Ie)}}function Gr(Le,Ve){return function(Ie){for(var nt=Ie,wt=0;wt<Ve;wt++){var nn=null!=nt?nt[Le[wt]]:void 0;if(void 0===nn)return;nt=nn}return nt}}var fi=f(27807);function Qi(Le){return Le?(0,pi.O)(function(){return new fi.xQ},Le):(0,pi.O)(new fi.xQ)}var Pi=f(37810);function Li(Le){return function(Ve){return(0,pi.O)(new Pi.X(Le))(Ve)}}var pn=f(40333);function fn(){return function(Le){return(0,pi.O)(new pn.c)(Le)}}var vr=f(12375);function ya(Le,Ve,Se,Ze){Se&&"function"!=typeof Se&&(Ze=Se);var Ie="function"==typeof Se?Se:void 0,nt=new vr.t(Le,Ve,Ze);return function(wt){return(0,pi.O)(function(){return nt},Ie)(wt)}}var ra=f(89100);function Ii(){for(var Le=arguments.length,Ve=new Array(Le),Se=0;Se<Le;Se++)Ve[Se]=arguments[Se];return function(Ie){return 1===Ve.length&&(0,xe.k)(Ve[0])&&(Ve=Ve[0]),Ie.lift.call(ra.S3.apply(void 0,[Ie].concat((0,_e.Z)(Ve))))}}var Va=f(5441);function ia(){var Le=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;return function(Ve){return 0===Le?(0,Va.c)():Ve.lift(new Po(Le<0?-1:Le-1,Ve))}}var Po=function(){function Le(Ve,Se){(0,R.Z)(this,Le),this.count=Ve,this.source=Se}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new hi(Se,this.count,this.source))}}]),Le}(),hi=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie,nt){var wt;return(0,R.Z)(this,Se),(wt=Ve.call(this,Ze)).count=Ie,wt.source=nt,wt}return(0,b.Z)(Se,[{key:"complete",value:function(){if(!this.isStopped){var Ie=this.source,nt=this.count;if(0===nt)return(0,y.Z)((0,T.Z)(Se.prototype),"complete",this).call(this);nt>-1&&(this.count=nt-1),Ie.subscribe(this._unsubscribeAndRecycle())}}}]),Se}(D.L);function aa(Le){return function(Ve){return Ve.lift(new rs(Le))}}var rs=function(){function Le(Ve){(0,R.Z)(this,Le),this.notifier=Ve}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new is(Se,this.notifier,Ze))}}]),Le}(),is=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie,nt){var wt;return(0,R.Z)(this,Se),(wt=Ve.call(this,Ze)).notifier=Ie,wt.source=nt,wt.sourceIsBeingSubscribedTo=!0,wt}return(0,b.Z)(Se,[{key:"notifyNext",value:function(){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)}},{key:"notifyComplete",value:function(){if(!1===this.sourceIsBeingSubscribedTo)return(0,y.Z)((0,T.Z)(Se.prototype),"complete",this).call(this)}},{key:"complete",value:function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return(0,y.Z)((0,T.Z)(Se.prototype),"complete",this).call(this);this._unsubscribeAndRecycle(),this.notifications.next(void 0)}}},{key:"_unsubscribe",value:function(){var Ie=this.notifications,nt=this.retriesSubscription;Ie&&(Ie.unsubscribe(),this.notifications=void 0),nt&&(nt.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}},{key:"_unsubscribeAndRecycle",value:function(){var Ie=this._unsubscribe;return this._unsubscribe=null,(0,y.Z)((0,T.Z)(Se.prototype),"_unsubscribeAndRecycle",this).call(this),this._unsubscribe=Ie,this}},{key:"subscribeToRetries",value:function(){var Ie;this.notifications=new fi.xQ;try{Ie=(0,this.notifier)(this.notifications)}catch(wt){return(0,y.Z)((0,T.Z)(Se.prototype),"complete",this).call(this)}this.retries=Ie,this.retriesSubscription=(0,E.ft)(Ie,new E.IY(this))}}]),Se}(E.Ds);function yo(){var Le=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;return function(Ve){return Ve.lift(new as(Le,Ve))}}var as=function(){function Le(Ve,Se){(0,R.Z)(this,Le),this.count=Ve,this.source=Se}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new wa(Se,this.count,this.source))}}]),Le}(),wa=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie,nt){var wt;return(0,R.Z)(this,Se),(wt=Ve.call(this,Ze)).count=Ie,wt.source=nt,wt}return(0,b.Z)(Se,[{key:"error",value:function(Ie){if(!this.isStopped){var nt=this.source,wt=this.count;if(0===wt)return(0,y.Z)((0,T.Z)(Se.prototype),"error",this).call(this,Ie);wt>-1&&(this.count=wt-1),nt.subscribe(this._unsubscribeAndRecycle())}}}]),Se}(D.L);function Xi(Le){return function(Ve){return Ve.lift(new Ni(Le,Ve))}}var Ni=function(){function Le(Ve,Se){(0,R.Z)(this,Le),this.notifier=Ve,this.source=Se}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new bo(Se,this.notifier,this.source))}}]),Le}(),bo=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie,nt){var wt;return(0,R.Z)(this,Se),(wt=Ve.call(this,Ze)).notifier=Ie,wt.source=nt,wt}return(0,b.Z)(Se,[{key:"error",value:function(Ie){if(!this.isStopped){var nt=this.errors,wt=this.retries,nn=this.retriesSubscription;if(wt)this.errors=void 0,this.retriesSubscription=void 0;else{nt=new fi.xQ;try{wt=(0,this.notifier)(nt)}catch(ur){return(0,y.Z)((0,T.Z)(Se.prototype),"error",this).call(this,ur)}nn=(0,E.ft)(wt,new E.IY(this))}this._unsubscribeAndRecycle(),this.errors=nt,this.retries=wt,this.retriesSubscription=nn,nt.next(Ie)}}},{key:"_unsubscribe",value:function(){var Ie=this.errors,nt=this.retriesSubscription;Ie&&(Ie.unsubscribe(),this.errors=void 0),nt&&(nt.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}},{key:"notifyNext",value:function(){var Ie=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=Ie,this.source.subscribe(this)}}]),Se}(E.Ds),ba=f(56866);function Co(Le){return function(Ve){return Ve.lift(new Xa(Le))}}var Xa=function(){function Le(Ve){(0,R.Z)(this,Le),this.notifier=Ve}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){var Ie=new mr(Se),nt=Ze.subscribe(Ie);return nt.add((0,E.ft)(this.notifier,new E.IY(Ie))),nt}}]),Le}(),mr=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(){var Ze;return(0,R.Z)(this,Se),(Ze=Ve.apply(this,arguments)).hasValue=!1,Ze}return(0,b.Z)(Se,[{key:"_next",value:function(Ie){this.value=Ie,this.hasValue=!0}},{key:"notifyNext",value:function(){this.emitValue()}},{key:"notifyComplete",value:function(){this.emitValue()}},{key:"emitValue",value:function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))}}]),Se}(E.Ds);function Rn(Le){var Ve=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.P;return function(Se){return Se.lift(new $a(Le,Ve))}}var $a=function(){function Le(Ve,Se){(0,R.Z)(this,Le),this.period=Ve,this.scheduler=Se}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new Fi(Se,this.period,this.scheduler))}}]),Le}(),Fi=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie,nt){var wt;return(0,R.Z)(this,Se),(wt=Ve.call(this,Ze)).period=Ie,wt.scheduler=nt,wt.hasValue=!1,wt.add(nt.schedule(os,Ie,{subscriber:(0,V.Z)(wt),period:Ie})),wt}return(0,b.Z)(Se,[{key:"_next",value:function(Ie){this.lastValue=Ie,this.hasValue=!0}},{key:"notifyNext",value:function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))}}]),Se}(D.L);function os(Le){var Se=Le.period;Le.subscriber.notifyNext(),this.schedule(Le,Se)}function or(Le,Ve){return function(Se){return Se.lift(new mi(Le,Ve))}}var mi=function(){function Le(Ve,Se){(0,R.Z)(this,Le),this.compareTo=Ve,this.comparator=Se}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new eo(Se,this.compareTo,this.comparator))}}]),Le}(),eo=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie,nt){var wt;return(0,R.Z)(this,Se),(wt=Ve.call(this,Ze)).compareTo=Ie,wt.comparator=nt,wt._a=[],wt._b=[],wt._oneComplete=!1,wt.destination.add(Ie.subscribe(new ss(Ze,(0,V.Z)(wt)))),wt}return(0,b.Z)(Se,[{key:"_next",value:function(Ie){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(Ie),this.checkValues())}},{key:"_complete",value:function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0,this.unsubscribe()}},{key:"checkValues",value:function(){for(var Ie=this._a,nt=this._b,wt=this.comparator;Ie.length>0&&nt.length>0;){var nn=Ie.shift(),gn=nt.shift(),ur=!1;try{ur=wt?wt(nn,gn):nn===gn}catch(Ar){this.destination.error(Ar)}ur||this.emit(!1)}}},{key:"emit",value:function(Ie){var nt=this.destination;nt.next(Ie),nt.complete()}},{key:"nextB",value:function(Ie){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(Ie),this.checkValues())}},{key:"completeB",value:function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0}}]),Se}(D.L),ss=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie){var nt;return(0,R.Z)(this,Se),(nt=Ve.call(this,Ze)).parent=Ie,nt}return(0,b.Z)(Se,[{key:"_next",value:function(Ie){this.parent.nextB(Ie)}},{key:"_error",value:function(Ie){this.parent.error(Ie),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.completeB(),this.unsubscribe()}}]),Se}(D.L),al=f(65605),qi=f(41510),Cs=f(15449);function Pl(Le){return function(Ve){return Ve.lift(new $t(Le,Ve))}}var $t=function(){function Le(Ve,Se){(0,R.Z)(this,Le),this.predicate=Ve,this.source=Se}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new lu(Se,this.predicate,this.source))}}]),Le}(),lu=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie,nt){var wt;return(0,R.Z)(this,Se),(wt=Ve.call(this,Ze)).predicate=Ie,wt.source=nt,wt.seenValue=!1,wt.index=0,wt}return(0,b.Z)(Se,[{key:"applySingleValue",value:function(Ie){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=Ie)}},{key:"_next",value:function(Ie){var nt=this.index++;this.predicate?this.tryNext(Ie,nt):this.applySingleValue(Ie)}},{key:"tryNext",value:function(Ie,nt){try{this.predicate(Ie,nt,this.source)&&this.applySingleValue(Ie)}catch(wt){this.destination.error(wt)}}},{key:"_complete",value:function(){var Ie=this.destination;this.index>0?(Ie.next(this.seenValue?this.singleValue:void 0),Ie.complete()):Ie.error(new Cs.K)}}]),Se}(D.L),ls=f(38869);function Lu(Le){return function(Ve){return Ve.lift(new ja(Le))}}var ja=function(){function Le(Ve){if((0,R.Z)(this,Le),this._skipCount=Ve,this._skipCount<0)throw new vt.W}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(0===this._skipCount?new D.L(Se):new Ee(Se,this._skipCount))}}]),Le}(),Ee=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie){var nt;return(0,R.Z)(this,Se),(nt=Ve.call(this,Ze))._skipCount=Ie,nt._count=0,nt._ring=new Array(Ie),nt}return(0,b.Z)(Se,[{key:"_next",value:function(Ie){var nt=this._skipCount,wt=this._count++;if(wt<nt)this._ring[wt]=Ie;else{var nn=wt%nt,gn=this._ring,ur=gn[nn];gn[nn]=Ie,this.destination.next(ur)}}}]),Se}(D.L);function Ne(Le){return function(Ve){return Ve.lift(new Ke(Le))}}var Ke=function(){function Le(Ve){(0,R.Z)(this,Le),this.notifier=Ve}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new $(Se,this.notifier))}}]),Le}(),$=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie){var nt;(0,R.Z)(this,Se),(nt=Ve.call(this,Ze)).hasValue=!1;var wt=new E.IY((0,V.Z)(nt));nt.add(wt),nt.innerSubscription=wt;var nn=(0,E.ft)(Ie,wt);return nn!==wt&&(nt.add(nn),nt.innerSubscription=nn),nt}return(0,b.Z)(Se,[{key:"_next",value:function(Ie){this.hasValue&&(0,y.Z)((0,T.Z)(Se.prototype),"_next",this).call(this,Ie)}},{key:"notifyNext",value:function(){this.hasValue=!0,this.innerSubscription&&this.innerSubscription.unsubscribe()}},{key:"notifyComplete",value:function(){}}]),Se}(E.Ds);function le(Le){return function(Ve){return Ve.lift(new pe(Le))}}var pe=function(){function Le(Ve){(0,R.Z)(this,Le),this.predicate=Ve}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new me(Se,this.predicate))}}]),Le}(),me=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie){var nt;return(0,R.Z)(this,Se),(nt=Ve.call(this,Ze)).predicate=Ie,nt.skipping=!0,nt.index=0,nt}return(0,b.Z)(Se,[{key:"_next",value:function(Ie){var nt=this.destination;this.skipping&&this.tryCallPredicate(Ie),this.skipping||nt.next(Ie)}},{key:"tryCallPredicate",value:function(Ie){try{var nt=this.predicate(Ie,this.index++);this.skipping=Boolean(nt)}catch(wt){this.destination.error(wt)}}}]),Se}(D.L),Ae=f(85148),Ue=f(39470);function gt(Le){var Ve=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(Ze){return Ze.lift(new cn(Le,Ve))}}var cn=function(){function Le(Ve,Se){(0,R.Z)(this,Le),this.scheduler=Ve,this.delay=Se}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return new Ue.e(Ze,this.delay,this.scheduler).subscribe(Se)}}]),Le}(),yt=f(7060),Rt=f(88533);function Xr(){return(0,yt.w)(Rt.y)}function qa(Le,Ve){return Ve?(0,yt.w)(function(){return Le},Ve):(0,yt.w)(function(){return Le})}var Bi=f(35634),Ki=f(47770),Fr=f(24305),za=f(74855);function ol(Le){var Ve=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.P,Se=arguments.length>2&&void 0!==arguments[2]?arguments[2]:za.d;return function(Ze){return Ze.lift(new uu(Le,Ve,Se.leading,Se.trailing))}}var uu=function(){function Le(Ve,Se,Ze,Ie){(0,R.Z)(this,Le),this.duration=Ve,this.scheduler=Se,this.leading=Ze,this.trailing=Ie}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new jo(Se,this.duration,this.scheduler,this.leading,this.trailing))}}]),Le}(),jo=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie,nt,wt,nn){var gn;return(0,R.Z)(this,Se),(gn=Ve.call(this,Ze)).duration=Ie,gn.scheduler=nt,gn.leading=wt,gn.trailing=nn,gn._hasTrailingValue=!1,gn._trailingValue=null,gn}return(0,b.Z)(Se,[{key:"_next",value:function(Ie){this.throttled?this.trailing&&(this._trailingValue=Ie,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(Sd,this.duration,{subscriber:this})),this.leading?this.destination.next(Ie):this.trailing&&(this._trailingValue=Ie,this._hasTrailingValue=!0))}},{key:"_complete",value:function(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()}},{key:"clearThrottle",value:function(){var Ie=this.throttled;Ie&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),Ie.unsubscribe(),this.remove(Ie),this.throttled=null)}}]),Se}(D.L);function Sd(Le){Le.subscriber.clearThrottle()}var Vs=f(83664),Pr=f(96174),hv=f(54493);function Ep(Le,Ve){var Se=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S.P;return function(Ze){var Ie=(0,hv.J)(Le),nt=Ie?+Le-Se.now():Math.abs(Le);return Ze.lift(new Fu(nt,Ie,Ve,Se))}}var Fu=function(){function Le(Ve,Se,Ze,Ie){(0,R.Z)(this,Le),this.waitFor=Ve,this.absoluteTimeout=Se,this.withObservable=Ze,this.scheduler=Ie}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new cu(Se,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}]),Le}(),cu=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie,nt,wt,nn){var gn;return(0,R.Z)(this,Se),(gn=Ve.call(this,Ze)).absoluteTimeout=Ie,gn.waitFor=nt,gn.withObservable=wt,gn.scheduler=nn,gn.scheduleTimeout(),gn}return(0,b.Z)(Se,[{key:"scheduleTimeout",value:function(){var Ie=this.action;Ie?this.action=Ie.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(Se.dispatchTimeout,this.waitFor,this))}},{key:"_next",value:function(Ie){this.absoluteTimeout||this.scheduleTimeout(),(0,y.Z)((0,T.Z)(Se.prototype),"_next",this).call(this,Ie)}},{key:"_unsubscribe",value:function(){this.action=void 0,this.scheduler=null,this.withObservable=null}}],[{key:"dispatchTimeout",value:function(Ie){var nt=Ie.withObservable;Ie._unsubscribeAndRecycle(),Ie.add((0,E.ft)(nt,new E.IY(Ie)))}}]),Se}(E.Ds),Td=f(43334);function kd(Le){var Ve=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.P;return Ep(Le,(0,Td._)(new Pr.W),Ve)}var oh=f(56335);function wn(Le,Ve,Se){return 0===Se?[Ve]:(Le.push(Ve),Le)}function Oe(){return bn(wn,[])}function ye(Le){return function(Se){return Se.lift(new J(Le))}}var J=function(){function Le(Ve){(0,R.Z)(this,Le),this.windowBoundaries=Ve}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){var Ie=new ie(Se),nt=Ze.subscribe(Ie);return nt.closed||Ie.add((0,E.ft)(this.windowBoundaries,new E.IY(Ie))),nt}}]),Le}(),ie=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze){var Ie;return(0,R.Z)(this,Se),(Ie=Ve.call(this,Ze)).window=new fi.xQ,Ze.next(Ie.window),Ie}return(0,b.Z)(Se,[{key:"notifyNext",value:function(){this.openWindow()}},{key:"notifyError",value:function(Ie){this._error(Ie)}},{key:"notifyComplete",value:function(){this._complete()}},{key:"_next",value:function(Ie){this.window.next(Ie)}},{key:"_error",value:function(Ie){this.window.error(Ie),this.destination.error(Ie)}},{key:"_complete",value:function(){this.window.complete(),this.destination.complete()}},{key:"_unsubscribe",value:function(){this.window=null}},{key:"openWindow",value:function(){var Ie=this.window;Ie&&Ie.complete();var nt=this.destination,wt=this.window=new fi.xQ;nt.next(wt)}}]),Se}(E.Ds);function ke(Le){var Ve=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(Ze){return Ze.lift(new Be(Le,Ve))}}var Be=function(){function Le(Ve,Se){(0,R.Z)(this,Le),this.windowSize=Ve,this.startWindowEvery=Se}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new ot(Se,this.windowSize,this.startWindowEvery))}}]),Le}(),ot=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie,nt){var wt;return(0,R.Z)(this,Se),(wt=Ve.call(this,Ze)).destination=Ze,wt.windowSize=Ie,wt.startWindowEvery=nt,wt.windows=[new fi.xQ],wt.count=0,Ze.next(wt.windows[0]),wt}return(0,b.Z)(Se,[{key:"_next",value:function(Ie){for(var nt=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,wt=this.destination,nn=this.windowSize,gn=this.windows,ur=gn.length,Ar=0;Ar<ur&&!this.closed;Ar++)gn[Ar].next(Ie);var To=this.count-nn+1;if(To>=0&&To%nt==0&&!this.closed&&gn.shift().complete(),++this.count%nt==0&&!this.closed){var Ss=new fi.xQ;gn.push(Ss),wt.next(Ss)}}},{key:"_error",value:function(Ie){var nt=this.windows;if(nt)for(;nt.length>0&&!this.closed;)nt.shift().error(Ie);this.destination.error(Ie)}},{key:"_complete",value:function(){var Ie=this.windows;if(Ie)for(;Ie.length>0&&!this.closed;)Ie.shift().complete();this.destination.complete()}},{key:"_unsubscribe",value:function(){this.count=0,this.windows=null}}]),Se}(D.L),xt=f(32104);function Bt(Le){var Ve=S.P,Se=null,Ze=Number.POSITIVE_INFINITY;return(0,I.K)(arguments[3])&&(Ve=arguments[3]),(0,I.K)(arguments[2])?Ve=arguments[2]:(0,xt.k)(arguments[2])&&(Ze=Number(arguments[2])),(0,I.K)(arguments[1])?Ve=arguments[1]:(0,xt.k)(arguments[1])&&(Se=Number(arguments[1])),function(nt){return nt.lift(new Jt(Le,Se,Ze,Ve))}}var Jt=function(){function Le(Ve,Se,Ze,Ie){(0,R.Z)(this,Le),this.windowTimeSpan=Ve,this.windowCreationInterval=Se,this.maxWindowSize=Ze,this.scheduler=Ie}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new kn(Se,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))}}]),Le}(),an=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(){var Ze;return(0,R.Z)(this,Se),(Ze=Ve.apply(this,arguments))._numberOfNextedValues=0,Ze}return(0,b.Z)(Se,[{key:"next",value:function(Ie){this._numberOfNextedValues++,(0,y.Z)((0,T.Z)(Se.prototype),"next",this).call(this,Ie)}},{key:"numberOfNextedValues",get:function(){return this._numberOfNextedValues}}]),Se}(fi.xQ),kn=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie,nt,wt,nn){var gn;(0,R.Z)(this,Se),(gn=Ve.call(this,Ze)).destination=Ze,gn.windowTimeSpan=Ie,gn.windowCreationInterval=nt,gn.maxWindowSize=wt,gn.scheduler=nn,gn.windows=[];var ur=gn.openWindow();if(null!==nt&&nt>=0){var Ar={subscriber:(0,V.Z)(gn),window:ur,context:null},To={windowTimeSpan:Ie,windowCreationInterval:nt,subscriber:(0,V.Z)(gn),scheduler:nn};gn.add(nn.schedule(yr,Ie,Ar)),gn.add(nn.schedule(Jn,nt,To))}else{var Ss={subscriber:(0,V.Z)(gn),window:ur,windowTimeSpan:Ie};gn.add(nn.schedule(An,Ie,Ss))}return gn}return(0,b.Z)(Se,[{key:"_next",value:function(Ie){for(var nt=this.windows,wt=nt.length,nn=0;nn<wt;nn++){var gn=nt[nn];gn.closed||(gn.next(Ie),gn.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(gn))}}},{key:"_error",value:function(Ie){for(var nt=this.windows;nt.length>0;)nt.shift().error(Ie);this.destination.error(Ie)}},{key:"_complete",value:function(){for(var Ie=this.windows;Ie.length>0;){var nt=Ie.shift();nt.closed||nt.complete()}this.destination.complete()}},{key:"openWindow",value:function(){var Ie=new an;return this.windows.push(Ie),this.destination.next(Ie),Ie}},{key:"closeWindow",value:function(Ie){Ie.complete();var nt=this.windows;nt.splice(nt.indexOf(Ie),1)}}]),Se}(D.L);function An(Le){var Ve=Le.subscriber,Se=Le.windowTimeSpan,Ze=Le.window;Ze&&Ve.closeWindow(Ze),Le.window=Ve.openWindow(),this.schedule(Le,Se)}function Jn(Le){var Ve=Le.windowTimeSpan,Se=Le.subscriber,Ze=Le.scheduler,Ie=Le.windowCreationInterval,nt=Se.openWindow(),nn={action:this,subscription:null};nn.subscription=Ze.schedule(yr,Ve,{subscriber:Se,window:nt,context:nn}),this.add(nn.subscription),this.schedule(Le,Ie)}function yr(Le){var Ve=Le.subscriber,Se=Le.window,Ze=Le.context;Ze&&Ze.action&&Ze.subscription&&Ze.action.remove(Ze.subscription),Ve.closeWindow(Se)}function Tr(Le,Ve){return function(Se){return Se.lift(new pr(Le,Ve))}}var pr=function(){function Le(Ve,Se){(0,R.Z)(this,Le),this.openings=Ve,this.closingSelector=Se}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new Ur(Se,this.openings,this.closingSelector))}}]),Le}(),Ur=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie,nt){var wt;return(0,R.Z)(this,Se),(wt=Ve.call(this,Ze)).openings=Ie,wt.closingSelector=nt,wt.contexts=[],wt.add(wt.openSubscription=(0,ce.D)((0,V.Z)(wt),Ie,Ie)),wt}return(0,b.Z)(Se,[{key:"_next",value:function(Ie){var nt=this.contexts;if(nt)for(var wt=nt.length,nn=0;nn<wt;nn++)nt[nn].window.next(Ie)}},{key:"_error",value:function(Ie){var nt=this.contexts;if(this.contexts=null,nt)for(var wt=nt.length,nn=-1;++nn<wt;){var gn=nt[nn];gn.window.error(Ie),gn.subscription.unsubscribe()}(0,y.Z)((0,T.Z)(Se.prototype),"_error",this).call(this,Ie)}},{key:"_complete",value:function(){var Ie=this.contexts;if(this.contexts=null,Ie)for(var nt=Ie.length,wt=-1;++wt<nt;){var nn=Ie[wt];nn.window.complete(),nn.subscription.unsubscribe()}(0,y.Z)((0,T.Z)(Se.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var Ie=this.contexts;if(this.contexts=null,Ie)for(var nt=Ie.length,wt=-1;++wt<nt;){var nn=Ie[wt];nn.window.unsubscribe(),nn.subscription.unsubscribe()}}},{key:"notifyNext",value:function(Ie,nt,wt,nn,gn){if(Ie===this.openings){var ur;try{ur=(0,this.closingSelector)(nt)}catch(Mp){return this.error(Mp)}var To=new fi.xQ,Ss=new fe.w,du={window:To,subscription:Ss};this.contexts.push(du);var ll=(0,ce.D)(this,ur,du);ll.closed?this.closeWindow(this.contexts.length-1):(ll.context=du,Ss.add(ll)),this.destination.next(To)}else this.closeWindow(this.contexts.indexOf(Ie))}},{key:"notifyError",value:function(Ie){this.error(Ie)}},{key:"notifyComplete",value:function(Ie){Ie!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(Ie.context))}},{key:"closeWindow",value:function(Ie){if(-1!==Ie){var nt=this.contexts,wt=nt[Ie],nn=wt.window,gn=wt.subscription;nt.splice(Ie,1),nn.complete(),gn.unsubscribe()}}}]),Se}(he.L);function zi(Le){return function(Se){return Se.lift(new Wi(Le))}}var Wi=function(){function Le(Ve){(0,R.Z)(this,Le),this.closingSelector=Ve}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new Ci(Se,this.closingSelector))}}]),Le}(),Ci=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie){var nt;return(0,R.Z)(this,Se),(nt=Ve.call(this,Ze)).destination=Ze,nt.closingSelector=Ie,nt.openWindow(),nt}return(0,b.Z)(Se,[{key:"notifyNext",value:function(Ie,nt,wt,nn,gn){this.openWindow(gn)}},{key:"notifyError",value:function(Ie){this._error(Ie)}},{key:"notifyComplete",value:function(Ie){this.openWindow(Ie)}},{key:"_next",value:function(Ie){this.window.next(Ie)}},{key:"_error",value:function(Ie){this.window.error(Ie),this.destination.error(Ie),this.unsubscribeClosingNotification()}},{key:"_complete",value:function(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()}},{key:"unsubscribeClosingNotification",value:function(){this.closingNotification&&this.closingNotification.unsubscribe()}},{key:"openWindow",value:function(){var Ie=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;Ie&&(this.remove(Ie),Ie.unsubscribe());var nt=this.window;nt&&nt.complete();var nn,wt=this.window=new fi.xQ;this.destination.next(wt);try{var gn=this.closingSelector;nn=gn()}catch(ur){return this.destination.error(ur),void this.window.error(ur)}this.add(this.closingNotification=(0,ce.D)(this,nn))}}]),Se}(he.L);function xa(){for(var Le=arguments.length,Ve=new Array(Le),Se=0;Se<Le;Se++)Ve[Se]=arguments[Se];return function(Ze){var Ie;return"function"==typeof Ve[Ve.length-1]&&(Ie=Ve.pop()),Ze.lift(new bi(Ve,Ie))}}var bi=function(){function Le(Ve,Se){(0,R.Z)(this,Le),this.observables=Ve,this.project=Se}return(0,b.Z)(Le,[{key:"call",value:function(Se,Ze){return Ze.subscribe(new Io(Se,this.observables,this.project))}}]),Le}(),Io=function(Le){(0,L.Z)(Se,Le);var Ve=(0,w.Z)(Se);function Se(Ze,Ie,nt){var wt;(0,R.Z)(this,Se),(wt=Ve.call(this,Ze)).observables=Ie,wt.project=nt,wt.toRespond=[];var nn=Ie.length;wt.values=new Array(nn);for(var gn=0;gn<nn;gn++)wt.toRespond.push(gn);for(var ur=0;ur<nn;ur++){var Ar=Ie[ur];wt.add((0,ce.D)((0,V.Z)(wt),Ar,void 0,ur))}return wt}return(0,b.Z)(Se,[{key:"notifyNext",value:function(Ie,nt,wt){this.values[wt]=nt;var nn=this.toRespond;if(nn.length>0){var gn=nn.indexOf(wt);-1!==gn&&nn.splice(gn,1)}}},{key:"notifyComplete",value:function(){}},{key:"_next",value:function(Ie){if(0===this.toRespond.length){var nt=[Ie].concat((0,_e.Z)(this.values));this.project?this._tryProject(nt):this.destination.next(nt)}}},{key:"_tryProject",value:function(Ie){var nt;try{nt=this.project.apply(this,Ie)}catch(wt){return void this.destination.error(wt)}this.destination.next(nt)}}]),Se}(he.L),Da=f(4042);function sl(){for(var Le=arguments.length,Ve=new Array(Le),Se=0;Se<Le;Se++)Ve[Se]=arguments[Se];return function(Ie){return Ie.lift.call(Da.$R.apply(void 0,[Ie].concat(Ve)))}}function So(Le){return function(Ve){return Ve.lift(new Da.mx(Le))}}},17721:function(ue,j,f){"use strict";f.r(j),f.d(j,{TestScheduler:function(){return S}});var B=f(18967),U=f(14105),V=f(38402),L=f(89200),w=f(10509),R=f(97154),b=f(15801),E=f(47625),x=f(43501),Z=function I(F){var G=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;(0,B.Z)(this,I),this.subscribedFrame=F,this.unsubscribedFrame=G},O=function(){function I(){(0,B.Z)(this,I),this.subscriptions=[]}return(0,U.Z)(I,[{key:"logSubscribedFrame",value:function(){return this.subscriptions.push(new Z(this.scheduler.now())),this.subscriptions.length-1}},{key:"logUnsubscribedFrame",value:function(G){var X=this.subscriptions;X[G]=new Z(X[G].subscribedFrame,this.scheduler.now())}}]),I}(),y=f(19094),T=function(I){(0,w.Z)(G,I);var F=(0,R.Z)(G);function G(X,W){var Y;return(0,B.Z)(this,G),(Y=F.call(this,function(ae){var K=this,fe=K.logSubscribedFrame(),ce=new x.w;return ce.add(new x.w(function(){K.logUnsubscribedFrame(fe)})),K.scheduleMessages(ae),ce})).messages=X,Y.subscriptions=[],Y.scheduler=W,Y}return(0,U.Z)(G,[{key:"scheduleMessages",value:function(W){for(var Y=this.messages.length,ae=0;ae<Y;ae++){var K=this.messages[ae];W.add(this.scheduler.schedule(function(fe){fe.message.notification.observe(fe.subscriber)},K.frame,{message:K,subscriber:W}))}}}]),G}(b.y);(0,y.e)(T,[O]);var v=function(I){(0,w.Z)(G,I);var F=(0,R.Z)(G);function G(X,W){var Y;return(0,B.Z)(this,G),(Y=F.call(this)).messages=X,Y.subscriptions=[],Y.scheduler=W,Y}return(0,U.Z)(G,[{key:"_subscribe",value:function(W){var Y=this,ae=Y.logSubscribedFrame(),K=new x.w;return K.add(new x.w(function(){Y.logUnsubscribedFrame(ae)})),K.add((0,V.Z)((0,L.Z)(G.prototype),"_subscribe",this).call(this,W)),K}},{key:"setup",value:function(){for(var W=this,Y=W.messages.length,ae=0;ae<Y;ae++)!function(){var K=W.messages[ae];W.scheduler.schedule(function(){K.notification.observe(W)},K.frame)}()}}]),G}(f(27807).xQ);(0,y.e)(v,[O]);var g=f(63870),M=f(54840),S=function(I){(0,w.Z)(G,I);var F=(0,R.Z)(G);function G(X){var W;return(0,B.Z)(this,G),(W=F.call(this,g.h,750)).assertDeepEqual=X,W.hotObservables=[],W.coldObservables=[],W.flushTests=[],W.runMode=!1,W}return(0,U.Z)(G,[{key:"createTime",value:function(W){var Y=W.indexOf("|");if(-1===Y)throw new Error('marble diagram for time should have a completion marker "|"');return Y*G.frameTimeFactor}},{key:"createColdObservable",value:function(W,Y,ae){if(-1!==W.indexOf("^"))throw new Error('cold observable cannot have subscription offset "^"');if(-1!==W.indexOf("!"))throw new Error('cold observable cannot have unsubscription marker "!"');var K=G.parseMarbles(W,Y,ae,void 0,this.runMode),fe=new T(K,this);return this.coldObservables.push(fe),fe}},{key:"createHotObservable",value:function(W,Y,ae){if(-1!==W.indexOf("!"))throw new Error('hot observable cannot have unsubscription marker "!"');var K=G.parseMarbles(W,Y,ae,void 0,this.runMode),fe=new v(K,this);return this.hotObservables.push(fe),fe}},{key:"materializeInnerObservable",value:function(W,Y){var ae=this,K=[];return W.subscribe(function(fe){K.push({frame:ae.frame-Y,notification:E.P.createNext(fe)})},function(fe){K.push({frame:ae.frame-Y,notification:E.P.createError(fe)})},function(){K.push({frame:ae.frame-Y,notification:E.P.createComplete()})}),K}},{key:"expectObservable",value:function(W){var oe,Y=this,ae=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,K=[],fe={actual:K,ready:!1},ce=G.parseMarblesAsSubscriptions(ae,this.runMode),he=ce.subscribedFrame===Number.POSITIVE_INFINITY?0:ce.subscribedFrame,de=ce.unsubscribedFrame;this.schedule(function(){oe=W.subscribe(function(ge){var qe=ge;ge instanceof b.y&&(qe=Y.materializeInnerObservable(qe,Y.frame)),K.push({frame:Y.frame,notification:E.P.createNext(qe)})},function(ge){K.push({frame:Y.frame,notification:E.P.createError(ge)})},function(){K.push({frame:Y.frame,notification:E.P.createComplete()})})},he),de!==Number.POSITIVE_INFINITY&&this.schedule(function(){return oe.unsubscribe()},de),this.flushTests.push(fe);var Ce=this.runMode;return{toBe:function(qe,De,Qe){fe.ready=!0,fe.expected=G.parseMarbles(qe,De,Qe,!0,Ce)}}}},{key:"expectSubscriptions",value:function(W){var Y={actual:W,ready:!1};this.flushTests.push(Y);var ae=this.runMode;return{toBe:function(fe){var ce="string"==typeof fe?[fe]:fe;Y.ready=!0,Y.expected=ce.map(function(he){return G.parseMarblesAsSubscriptions(he,ae)})}}}},{key:"flush",value:function(){for(var W=this,Y=this.hotObservables;Y.length>0;)Y.shift().setup();(0,V.Z)((0,L.Z)(G.prototype),"flush",this).call(this),this.flushTests=this.flushTests.filter(function(ae){return!ae.ready||(W.assertDeepEqual(ae.actual,ae.expected),!1)})}},{key:"run",value:function(W){var Y=G.frameTimeFactor,ae=this.maxFrames;G.frameTimeFactor=1,this.maxFrames=Number.POSITIVE_INFINITY,this.runMode=!0,M.v.delegate=this;var K={cold:this.createColdObservable.bind(this),hot:this.createHotObservable.bind(this),flush:this.flush.bind(this),expectObservable:this.expectObservable.bind(this),expectSubscriptions:this.expectSubscriptions.bind(this)};try{var fe=W(K);return this.flush(),fe}finally{G.frameTimeFactor=Y,this.maxFrames=ae,this.runMode=!1,M.v.delegate=void 0}}}],[{key:"parseMarblesAsSubscriptions",value:function(W){var Y=this,ae=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("string"!=typeof W)return new Z(Number.POSITIVE_INFINITY);for(var K=W.length,fe=-1,ce=Number.POSITIVE_INFINITY,he=Number.POSITIVE_INFINITY,de=0,oe=0;oe<K;oe++){var Ce=de,ge=function(He){Ce+=He*Y.frameTimeFactor},qe=W[oe];switch(qe){case" ":ae||ge(1);break;case"-":ge(1);break;case"(":fe=de,ge(1);break;case")":fe=-1,ge(1);break;case"^":if(ce!==Number.POSITIVE_INFINITY)throw new Error("found a second subscription point '^' in a subscription marble diagram. There can only be one.");ce=fe>-1?fe:de,ge(1);break;case"!":if(he!==Number.POSITIVE_INFINITY)throw new Error("found a second subscription point '^' in a subscription marble diagram. There can only be one.");he=fe>-1?fe:de;break;default:if(ae&&qe.match(/^[0-9]$/)&&(0===oe||" "===W[oe-1])){var De=W.slice(oe),Qe=De.match(/^([0-9]+(?:\.[0-9]+)?)(ms|s|m) /);if(Qe){oe+=Qe[0].length-1;var et=parseFloat(Qe[1]),bt=Qe[2],_e=void 0;switch(bt){case"ms":_e=et;break;case"s":_e=1e3*et;break;case"m":_e=1e3*et*60}ge(_e/this.frameTimeFactor);break}}throw new Error("there can only be '^' and '!' markers in a subscription marble diagram. Found instead '"+qe+"'.")}de=Ce}return he<0?new Z(ce):new Z(ce,he)}},{key:"parseMarbles",value:function(W,Y,ae){var K=this,fe=arguments.length>3&&void 0!==arguments[3]&&arguments[3],ce=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(-1!==W.indexOf("!"))throw new Error('conventional marble diagrams cannot have the unsubscription marker "!"');for(var he=W.length,de=[],oe=ce?W.replace(/^[ ]+/,"").indexOf("^"):W.indexOf("^"),Ce=-1===oe?0:oe*-this.frameTimeFactor,ge="object"!=typeof Y?function(Tt){return Tt}:function(Tt){return fe&&Y[Tt]instanceof T?Y[Tt].messages:Y[Tt]},qe=-1,De=0;De<he;De++){var Qe=Ce,et=function(mt){Qe+=mt*K.frameTimeFactor},bt=void 0,_e=W[De];switch(_e){case" ":ce||et(1);break;case"-":case"^":et(1);break;case"(":qe=Ce,et(1);break;case")":qe=-1,et(1);break;case"|":bt=E.P.createComplete(),et(1);break;case"#":bt=E.P.createError(ae||"error"),et(1);break;default:if(ce&&_e.match(/^[0-9]$/)&&(0===De||" "===W[De-1])){var xe=W.slice(De),He=xe.match(/^([0-9]+(?:\.[0-9]+)?)(ms|s|m) /);if(He){De+=He[0].length-1;var st=parseFloat(He[1]),tt=He[2],Zt=void 0;switch(tt){case"ms":Zt=st;break;case"s":Zt=1e3*st;break;case"m":Zt=1e3*st*60}et(Zt/this.frameTimeFactor);break}}bt=E.P.createNext(ge(_e)),et(1)}bt&&de.push({frame:qe>-1?qe:Ce,notification:bt}),Ce=Qe}return de}}]),G}(g.y)},24631:function(ue,j,f){"use strict";f.r(j),f.d(j,{webSocket:function(){return B.j},WebSocketSubject:function(){return U.p}});var B=f(67198),U=f(60272)},20530:function(ue,j,f){"use strict";f(32821)},67427:function(ue,j){"use strict";var B;!function(){var U=j||{};void 0!==(B=function(){return U}.apply(j,[]))&&(ue.exports=B),U.default=U;var V="http://www.w3.org/2000/xmlns/",w="http://www.w3.org/2000/svg",b=/url\(["']?(.+?)["']?\)/,E={woff2:"font/woff2",woff:"font/woff",otf:"application/x-font-opentype",ttf:"application/x-font-ttf",eot:"application/vnd.ms-fontobject",sfnt:"application/font-sfnt",svg:"image/svg+xml"},x=function(ce){return ce instanceof HTMLElement||ce instanceof SVGElement},Z=function(ce){if(!x(ce))throw new Error("an HTMLElement or SVGElement is required; got "+ce)},O=function(ce){return new Promise(function(he,de){x(ce)?he(ce):de(new Error("an HTMLElement or SVGElement is required; got "+ce))})},T=function(ce){var he=Object.keys(E).filter(function(de){return ce.indexOf("."+de)>0}).map(function(de){return E[de]});return he?he[0]:(console.error("Unknown font format for "+ce+". Fonts may not be working correctly."),"application/octet-stream")},v=function(ce,he,de){var oe=ce.viewBox&&ce.viewBox.baseVal&&ce.viewBox.baseVal[de]||null!==he.getAttribute(de)&&!he.getAttribute(de).match(/%$/)&&parseInt(he.getAttribute(de))||ce.getBoundingClientRect()[de]||parseInt(he.style[de])||parseInt(window.getComputedStyle(ce).getPropertyValue(de));return null==oe||isNaN(parseFloat(oe))?0:oe},k=function(ce){for(var he=window.atob(ce.split(",")[1]),de=ce.split(",")[0].split(":")[1].split(";")[0],oe=new ArrayBuffer(he.length),Ce=new Uint8Array(oe),ge=0;ge<he.length;ge++)Ce[ge]=he.charCodeAt(ge);return new Blob([oe],{type:de})},G={},W=null,ae=function(ce,he){var de=he||{},oe=de.selectorRemap,Ce=de.modifyStyle,qe=de.fonts,De=de.excludeUnusedCss,Qe=de.modifyCss||function(xe,He){return(oe?oe(xe):xe)+"{"+(Ce?Ce(He):He)+"}\n"},et=[],bt=void 0===qe,_e=qe||[];return(W||(W=Array.from(document.styleSheets).map(function(ce){try{return{rules:ce.cssRules,href:ce.href}}catch(he){return console.warn("Stylesheet could not be loaded: "+ce.href,he),{}}}))).forEach(function(xe){var He=xe.rules,st=xe.href;!He||Array.from(He).forEach(function(tt){if(void 0!==tt.style)if(function(ce,he){if(he)try{return ce.querySelector(he)||ce.parentNode&&ce.parentNode.querySelector(he)}catch(de){console.warn('Invalid CSS selector "'+he+'"',de)}}(ce,tt.selectorText))et.push(Qe(tt.selectorText,tt.style.cssText));else if(bt&&tt.cssText.match(/^@font-face/)){var Zt=function(ce,he){var de=ce.cssText.match(b),oe=de&&de[1]||"";if(oe&&!oe.match(/^data:/)&&"about:blank"!==oe){var Ce=oe.startsWith("../")?he+"/../"+oe:oe.startsWith("./")?he+"/."+oe:oe;return{text:ce.cssText,format:T(Ce),url:Ce}}}(tt,st);Zt&&_e.push(Zt)}else De||et.push(tt.cssText)})}),function(ce){return Promise.all(ce.map(function(he){return new Promise(function(de,oe){if(G[he.url])return de(G[he.url]);var Ce=new XMLHttpRequest;Ce.addEventListener("load",function(){var ge=function(ce){for(var he="",de=new Uint8Array(ce),oe=0;oe<de.byteLength;oe++)he+=String.fromCharCode(de[oe]);return window.btoa(he)}(Ce.response),qe=he.text.replace(b,'url("data:'+he.format+";base64,"+ge+'")')+"\n";G[he.url]=qe,de(qe)}),Ce.addEventListener("error",function(ge){console.warn("Failed to load font from: "+he.url,ge),G[he.url]=null,de(null)}),Ce.addEventListener("abort",function(ge){console.warn("Aborted loading font from: "+he.url,ge),de(null)}),Ce.open("GET",he.url),Ce.responseType="arraybuffer",Ce.send()})})).then(function(he){return he.filter(function(de){return de}).join("")})}(_e).then(function(xe){return et.join("\n")+xe})},K=function(){if(!navigator.msSaveOrOpenBlob&&!("download"in document.createElement("a")))return{popup:window.open()}};U.prepareSvg=function(fe,ce,he){Z(fe);var de=ce||{},oe=de.left,Ce=void 0===oe?0:oe,ge=de.top,qe=void 0===ge?0:ge,De=de.width,Qe=de.height,et=de.scale,bt=void 0===et?1:et,_e=de.responsive,xe=void 0!==_e&&_e,He=de.excludeCss,st=void 0!==He&&He;return function(ce){return Promise.all(Array.from(ce.querySelectorAll("image")).map(function(he){var de=he.getAttributeNS("http://www.w3.org/1999/xlink","href")||he.getAttribute("href");return de?(function(ce){return ce&&0===ce.lastIndexOf("http",0)&&-1===ce.lastIndexOf(window.location.host)}(de)&&(de+=(-1===de.indexOf("?")?"?":"&")+"t="+(new Date).valueOf()),new Promise(function(oe,Ce){var ge=document.createElement("canvas"),qe=new Image;qe.crossOrigin="anonymous",qe.src=de,qe.onerror=function(){return Ce(new Error("Could not load "+de))},qe.onload=function(){ge.width=qe.width,ge.height=qe.height,ge.getContext("2d").drawImage(qe,0,0),he.setAttributeNS("http://www.w3.org/1999/xlink","href",ge.toDataURL("image/png")),oe(!0)}})):Promise.resolve(null)}))}(fe).then(function(){var tt=fe.cloneNode(!0);tt.style.backgroundColor=(ce||{}).backgroundColor||fe.style.backgroundColor;var Zt=function(ce,he,de,oe){if("svg"===ce.tagName)return{width:de||v(ce,he,"width"),height:oe||v(ce,he,"height")};if(ce.getBBox){var Ce=ce.getBBox();return{width:Ce.x+Ce.width,height:Ce.y+Ce.height}}}(fe,tt,De,Qe),Tt=Zt.width,mt=Zt.height;if("svg"!==fe.tagName){if(!fe.getBBox)return void console.error("Attempted to render non-SVG element",fe);null!=tt.getAttribute("transform")&&tt.setAttribute("transform",tt.getAttribute("transform").replace(/translate\(.*?\)/,""));var Yt=document.createElementNS("http://www.w3.org/2000/svg","svg");Yt.appendChild(tt),tt=Yt}if(tt.setAttribute("version","1.1"),tt.setAttribute("viewBox",[Ce,qe,Tt,mt].join(" ")),tt.getAttribute("xmlns")||tt.setAttributeNS(V,"xmlns",w),tt.getAttribute("xmlns:xlink")||tt.setAttributeNS(V,"xmlns:xlink","http://www.w3.org/1999/xlink"),xe?(tt.removeAttribute("width"),tt.removeAttribute("height"),tt.setAttribute("preserveAspectRatio","xMinYMin meet")):(tt.setAttribute("width",Tt*bt),tt.setAttribute("height",mt*bt)),Array.from(tt.querySelectorAll("foreignObject > *")).forEach(function(Mn){Mn.setAttributeNS(V,"xmlns","svg"===Mn.tagName?w:"http://www.w3.org/1999/xhtml")}),!st)return ae(fe,ce).then(function(Mn){var On=document.createElement("style");On.setAttribute("type","text/css"),On.innerHTML="<![CDATA[\n"+Mn+"\n]]>";var Fn=document.createElement("defs");Fn.appendChild(On),tt.insertBefore(Fn,tt.firstChild);var Zn=document.createElement("div");Zn.appendChild(tt);var Vn=Zn.innerHTML.replace(/NS\d+:href/gi,'xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href');if("function"!=typeof he)return{src:Vn,width:Tt,height:mt};he(Vn,Tt,mt)});var un=document.createElement("div");un.appendChild(tt);var Ut=un.innerHTML;if("function"!=typeof he)return{src:Ut,width:Tt,height:mt};he(Ut,Tt,mt)})},U.svgAsDataUri=function(fe,ce,he){return Z(fe),U.prepareSvg(fe,ce).then(function(de){var Ce=de.width,ge=de.height,qe="data:image/svg+xml;base64,"+window.btoa(function(ce){return decodeURIComponent(encodeURIComponent(ce).replace(/%([0-9A-F]{2})/g,function(he,de){var oe=String.fromCharCode("0x"+de);return"%"===oe?"%25":oe}))}('<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [<!ENTITY nbsp "&#160;">]>'+de.src));return"function"==typeof he&&he(qe,Ce,ge),qe})},U.svgAsPngUri=function(fe,ce,he){Z(fe);var de=ce||{},oe=de.encoderType,Ce=void 0===oe?"image/png":oe,ge=de.encoderOptions,qe=void 0===ge?.8:ge,De=de.canvg,Qe=function(bt){var _e=bt.src,xe=bt.width,He=bt.height,st=document.createElement("canvas"),tt=st.getContext("2d"),Zt=window.devicePixelRatio||1;st.width=xe*Zt,st.height=He*Zt,st.style.width=st.width+"px",st.style.height=st.height+"px",tt.setTransform(Zt,0,0,Zt,0,0),De?De(st,_e):tt.drawImage(_e,0,0);var Tt=void 0;try{Tt=st.toDataURL(Ce,qe)}catch(mt){if("undefined"!=typeof SecurityError&&mt instanceof SecurityError||"SecurityError"===mt.name)return void console.error("Rendered SVG images cannot be downloaded in this browser.");throw mt}return"function"==typeof he&&he(Tt,st.width,st.height),Promise.resolve(Tt)};return De?U.prepareSvg(fe,ce).then(Qe):U.svgAsDataUri(fe,ce).then(function(et){return new Promise(function(bt,_e){var xe=new Image;xe.onload=function(){return bt(Qe({src:xe,width:xe.width,height:xe.height}))},xe.onerror=function(){_e("There was an error loading the data URI as an image on the following SVG\n"+window.atob(et.slice(26))+"Open the following link to see browser's diagnosis\n"+et)},xe.src=et})})},U.download=function(fe,ce,he){if(navigator.msSaveOrOpenBlob)navigator.msSaveOrOpenBlob(k(ce),fe);else{var de=document.createElement("a");if("download"in de){de.download=fe,de.style.display="none",document.body.appendChild(de);try{var oe=k(ce),Ce=URL.createObjectURL(oe);de.href=Ce,de.onclick=function(){return requestAnimationFrame(function(){return URL.revokeObjectURL(Ce)})}}catch(ge){console.error(ge),console.warn("Error while getting object URL. Falling back to string URL."),de.href=ce}de.click(),document.body.removeChild(de)}else he&&he.popup&&(he.popup.document.title=fe,he.popup.location.replace(ce))}},U.saveSvg=function(fe,ce,he){var de=K();return O(fe).then(function(oe){return U.svgAsDataUri(oe,he||{})}).then(function(oe){return U.download(ce,oe,de)})},U.saveSvgAsPng=function(fe,ce,he){var de=K();return O(fe).then(function(oe){return U.svgAsPngUri(oe,he||{})}).then(function(oe){return U.download(ce,oe,de)})}}()},68299:function(ue,j,f){var B=f(5752),U=Object.prototype.hasOwnProperty,V="undefined"!=typeof Map;function L(){this._array=[],this._set=V?new Map:Object.create(null)}L.fromArray=function(R,b){for(var E=new L,x=0,Z=R.length;x<Z;x++)E.add(R[x],b);return E},L.prototype.size=function(){return V?this._set.size:Object.getOwnPropertyNames(this._set).length},L.prototype.add=function(R,b){var E=V?R:B.toSetString(R),x=V?this.has(R):U.call(this._set,E),Z=this._array.length;(!x||b)&&this._array.push(R),x||(V?this._set.set(R,Z):this._set[E]=Z)},L.prototype.has=function(R){if(V)return this._set.has(R);var b=B.toSetString(R);return U.call(this._set,b)},L.prototype.indexOf=function(R){if(V){var b=this._set.get(R);if(b>=0)return b}else{var E=B.toSetString(R);if(U.call(this._set,E))return this._set[E]}throw new Error('"'+R+'" is not in the set.')},L.prototype.at=function(R){if(R>=0&&R<this._array.length)return this._array[R];throw new Error("No element indexed by "+R)},L.prototype.toArray=function(){return this._array.slice()},j.I=L},64743:function(ue,j,f){var B=f(25291);j.encode=function(x){var O,E,Z="",y=(E=x)<0?1+(-E<<1):0+(E<<1);do{O=31&y,(y>>>=5)>0&&(O|=32),Z+=B.encode(O)}while(y>0);return Z},j.decode=function(x,Z,O){var v,g,y=x.length,T=0,D=0;do{if(Z>=y)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(g=B.decode(x.charCodeAt(Z++))))throw new Error("Invalid base64 digit: "+x.charAt(Z-1));v=!!(32&g),T+=(g&=31)<<D,D+=5}while(v);O.value=function(E){var Z=E>>1;return 1==(1&E)?-Z:Z}(T),O.rest=Z}},25291:function(ue,j){var f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");j.encode=function(B){if(0<=B&&B<f.length)return f[B];throw new TypeError("Must be between 0 and 63: "+B)},j.decode=function(B){return 65<=B&&B<=90?B-65:97<=B&&B<=122?B-97+26:48<=B&&B<=57?B-48+52:43==B?62:47==B?63:-1}},57730:function(ue,j,f){var B=f(5752);function V(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}V.prototype.unsortedForEach=function(w,R){this._array.forEach(w,R)},V.prototype.add=function(w){!function(L,w){var R=L.generatedLine,b=w.generatedLine;return b>R||b==R&&w.generatedColumn>=L.generatedColumn||B.compareByGeneratedPositionsInflated(L,w)<=0}(this._last,w)?(this._sorted=!1,this._array.push(w)):(this._last=w,this._array.push(w))},V.prototype.toArray=function(){return this._sorted||(this._array.sort(B.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},j.H=V},67954:function(ue,j,f){var B=f(64743),U=f(5752),V=f(68299).I,L=f(57730).H;function w(R){R||(R={}),this._file=U.getArg(R,"file",null),this._sourceRoot=U.getArg(R,"sourceRoot",null),this._skipValidation=U.getArg(R,"skipValidation",!1),this._sources=new V,this._names=new V,this._mappings=new L,this._sourcesContents=null}w.prototype._version=3,w.fromSourceMap=function(b){var E=b.sourceRoot,x=new w({file:b.file,sourceRoot:E});return b.eachMapping(function(Z){var O={generated:{line:Z.generatedLine,column:Z.generatedColumn}};null!=Z.source&&(O.source=Z.source,null!=E&&(O.source=U.relative(E,O.source)),O.original={line:Z.originalLine,column:Z.originalColumn},null!=Z.name&&(O.name=Z.name)),x.addMapping(O)}),b.sources.forEach(function(Z){var O=Z;null!==E&&(O=U.relative(E,Z)),x._sources.has(O)||x._sources.add(O);var y=b.sourceContentFor(Z);null!=y&&x.setSourceContent(Z,y)}),x},w.prototype.addMapping=function(b){var E=U.getArg(b,"generated"),x=U.getArg(b,"original",null),Z=U.getArg(b,"source",null),O=U.getArg(b,"name",null);this._skipValidation||this._validateMapping(E,x,Z,O),null!=Z&&(Z=String(Z),this._sources.has(Z)||this._sources.add(Z)),null!=O&&(O=String(O),this._names.has(O)||this._names.add(O)),this._mappings.add({generatedLine:E.line,generatedColumn:E.column,originalLine:null!=x&&x.line,originalColumn:null!=x&&x.column,source:Z,name:O})},w.prototype.setSourceContent=function(b,E){var x=b;null!=this._sourceRoot&&(x=U.relative(this._sourceRoot,x)),null!=E?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[U.toSetString(x)]=E):this._sourcesContents&&(delete this._sourcesContents[U.toSetString(x)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},w.prototype.applySourceMap=function(b,E,x){var Z=E;if(null==E){if(null==b.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');Z=b.file}var O=this._sourceRoot;null!=O&&(Z=U.relative(O,Z));var y=new V,T=new V;this._mappings.unsortedForEach(function(D){if(D.source===Z&&null!=D.originalLine){var v=b.originalPositionFor({line:D.originalLine,column:D.originalColumn});null!=v.source&&(D.source=v.source,null!=x&&(D.source=U.join(x,D.source)),null!=O&&(D.source=U.relative(O,D.source)),D.originalLine=v.line,D.originalColumn=v.column,null!=v.name&&(D.name=v.name))}var g=D.source;null!=g&&!y.has(g)&&y.add(g);var M=D.name;null!=M&&!T.has(M)&&T.add(M)},this),this._sources=y,this._names=T,b.sources.forEach(function(D){var v=b.sourceContentFor(D);null!=v&&(null!=x&&(D=U.join(x,D)),null!=O&&(D=U.relative(O,D)),this.setSourceContent(D,v))},this)},w.prototype._validateMapping=function(b,E,x,Z){if(E&&"number"!=typeof E.line&&"number"!=typeof E.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(b&&"line"in b&&"column"in b&&b.line>0&&b.column>=0)||E||x||Z){if(b&&"line"in b&&"column"in b&&E&&"line"in E&&"column"in E&&b.line>0&&b.column>=0&&E.line>0&&E.column>=0&&x)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:b,source:x,original:E,name:Z}))}},w.prototype._serializeMappings=function(){for(var D,v,g,M,b=0,E=1,x=0,Z=0,O=0,y=0,T="",k=this._mappings.toArray(),S=0,I=k.length;S<I;S++){if(D="",(v=k[S]).generatedLine!==E)for(b=0;v.generatedLine!==E;)D+=";",E++;else if(S>0){if(!U.compareByGeneratedPositionsInflated(v,k[S-1]))continue;D+=","}D+=B.encode(v.generatedColumn-b),b=v.generatedColumn,null!=v.source&&(M=this._sources.indexOf(v.source),D+=B.encode(M-y),y=M,D+=B.encode(v.originalLine-1-Z),Z=v.originalLine-1,D+=B.encode(v.originalColumn-x),x=v.originalColumn,null!=v.name&&(g=this._names.indexOf(v.name),D+=B.encode(g-O),O=g)),T+=D}return T},w.prototype._generateSourcesContent=function(b,E){return b.map(function(x){if(!this._sourcesContents)return null;null!=E&&(x=U.relative(E,x));var Z=U.toSetString(x);return Object.prototype.hasOwnProperty.call(this._sourcesContents,Z)?this._sourcesContents[Z]:null},this)},w.prototype.toJSON=function(){var b={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(b.file=this._file),null!=this._sourceRoot&&(b.sourceRoot=this._sourceRoot),this._sourcesContents&&(b.sourcesContent=this._generateSourcesContent(b.sources,b.sourceRoot)),b},w.prototype.toString=function(){return JSON.stringify(this.toJSON())},j.h=w},5752:function(ue,j){j.getArg=function(S,I,F){if(I in S)return S[I];if(3===arguments.length)return F;throw new Error('"'+I+'" is a required argument.')};var B=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,U=/^data:.+\,.+$/;function V(S){var I=S.match(B);return I?{scheme:I[1],auth:I[2],host:I[3],port:I[4],path:I[5]}:null}function L(S){var I="";return S.scheme&&(I+=S.scheme+":"),I+="//",S.auth&&(I+=S.auth+"@"),S.host&&(I+=S.host),S.port&&(I+=":"+S.port),S.path&&(I+=S.path),I}function w(S){var I=S,F=V(S);if(F){if(!F.path)return S;I=F.path}for(var W,G=j.isAbsolute(I),X=I.split(/\/+/),Y=0,ae=X.length-1;ae>=0;ae--)"."===(W=X[ae])?X.splice(ae,1):".."===W?Y++:Y>0&&(""===W?(X.splice(ae+1,Y),Y=0):(X.splice(ae,2),Y--));return""===(I=X.join("/"))&&(I=G?"/":"."),F?(F.path=I,L(F)):I}function R(S,I){""===S&&(S="."),""===I&&(I=".");var F=V(I),G=V(S);if(G&&(S=G.path||"/"),F&&!F.scheme)return G&&(F.scheme=G.scheme),L(F);if(F||I.match(U))return I;if(G&&!G.host&&!G.path)return G.host=I,L(G);var X="/"===I.charAt(0)?I:w(S.replace(/\/+$/,"")+"/"+I);return G?(G.path=X,L(G)):X}j.urlParse=V,j.urlGenerate=L,j.normalize=w,j.join=R,j.isAbsolute=function(S){return"/"===S.charAt(0)||B.test(S)},j.relative=function(S,I){""===S&&(S="."),S=S.replace(/\/$/,"");for(var F=0;0!==I.indexOf(S+"/");){var G=S.lastIndexOf("/");if(G<0||(S=S.slice(0,G)).match(/^([^\/]+:\/)?\/*$/))return I;++F}return Array(F+1).join("../")+I.substr(S.length+1)};var E=!("__proto__"in Object.create(null));function x(S){return S}function y(S){if(!S)return!1;var I=S.length;if(I<9||95!==S.charCodeAt(I-1)||95!==S.charCodeAt(I-2)||111!==S.charCodeAt(I-3)||116!==S.charCodeAt(I-4)||111!==S.charCodeAt(I-5)||114!==S.charCodeAt(I-6)||112!==S.charCodeAt(I-7)||95!==S.charCodeAt(I-8)||95!==S.charCodeAt(I-9))return!1;for(var F=I-10;F>=0;F--)if(36!==S.charCodeAt(F))return!1;return!0}function v(S,I){return S===I?0:null===S?1:null===I?-1:S>I?1:-1}j.toSetString=E?x:function(S){return y(S)?"$"+S:S},j.fromSetString=E?x:function(S){return y(S)?S.slice(1):S},j.compareByOriginalPositions=function(S,I,F){var G=v(S.source,I.source);return 0!==G||0!=(G=S.originalLine-I.originalLine)||0!=(G=S.originalColumn-I.originalColumn)||F||0!=(G=S.generatedColumn-I.generatedColumn)||0!=(G=S.generatedLine-I.generatedLine)?G:v(S.name,I.name)},j.compareByGeneratedPositionsDeflated=function(S,I,F){var G=S.generatedLine-I.generatedLine;return 0!==G||0!=(G=S.generatedColumn-I.generatedColumn)||F||0!==(G=v(S.source,I.source))||0!=(G=S.originalLine-I.originalLine)||0!=(G=S.originalColumn-I.originalColumn)?G:v(S.name,I.name)},j.compareByGeneratedPositionsInflated=function(S,I){var F=S.generatedLine-I.generatedLine;return 0!==F||0!=(F=S.generatedColumn-I.generatedColumn)||0!==(F=v(S.source,I.source))||0!=(F=S.originalLine-I.originalLine)||0!=(F=S.originalColumn-I.originalColumn)?F:v(S.name,I.name)},j.parseSourceMapInput=function(S){return JSON.parse(S.replace(/^\)]}'[^\n]*\n/,""))},j.computeSourceURL=function(S,I,F){if(I=I||"",S&&("/"!==S[S.length-1]&&"/"!==I[0]&&(S+="/"),I=S+I),F){var G=V(F);if(!G)throw new Error("sourceMapURL could not be parsed");if(G.path){var X=G.path.lastIndexOf("/");X>=0&&(G.path=G.path.substring(0,X+1))}I=R(L(G),I)}return w(I)}},36590:function(ue){ue.exports=function(j){"use strict";var B=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function V(g,M){var k=g[0],S=g[1],I=g[2],F=g[3];S=((S+=((I=((I+=((F=((F+=((k=((k+=(S&I|~S&F)+M[0]-680876936|0)<<7|k>>>25)+S|0)&S|~k&I)+M[1]-389564586|0)<<12|F>>>20)+k|0)&k|~F&S)+M[2]+606105819|0)<<17|I>>>15)+F|0)&F|~I&k)+M[3]-1044525330|0)<<22|S>>>10)+I|0,S=((S+=((I=((I+=((F=((F+=((k=((k+=(S&I|~S&F)+M[4]-176418897|0)<<7|k>>>25)+S|0)&S|~k&I)+M[5]+1200080426|0)<<12|F>>>20)+k|0)&k|~F&S)+M[6]-1473231341|0)<<17|I>>>15)+F|0)&F|~I&k)+M[7]-45705983|0)<<22|S>>>10)+I|0,S=((S+=((I=((I+=((F=((F+=((k=((k+=(S&I|~S&F)+M[8]+1770035416|0)<<7|k>>>25)+S|0)&S|~k&I)+M[9]-1958414417|0)<<12|F>>>20)+k|0)&k|~F&S)+M[10]-42063|0)<<17|I>>>15)+F|0)&F|~I&k)+M[11]-1990404162|0)<<22|S>>>10)+I|0,S=((S+=((I=((I+=((F=((F+=((k=((k+=(S&I|~S&F)+M[12]+1804603682|0)<<7|k>>>25)+S|0)&S|~k&I)+M[13]-40341101|0)<<12|F>>>20)+k|0)&k|~F&S)+M[14]-1502002290|0)<<17|I>>>15)+F|0)&F|~I&k)+M[15]+1236535329|0)<<22|S>>>10)+I|0,S=((S+=((I=((I+=((F=((F+=((k=((k+=(S&F|I&~F)+M[1]-165796510|0)<<5|k>>>27)+S|0)&I|S&~I)+M[6]-1069501632|0)<<9|F>>>23)+k|0)&S|k&~S)+M[11]+643717713|0)<<14|I>>>18)+F|0)&k|F&~k)+M[0]-373897302|0)<<20|S>>>12)+I|0,S=((S+=((I=((I+=((F=((F+=((k=((k+=(S&F|I&~F)+M[5]-701558691|0)<<5|k>>>27)+S|0)&I|S&~I)+M[10]+38016083|0)<<9|F>>>23)+k|0)&S|k&~S)+M[15]-660478335|0)<<14|I>>>18)+F|0)&k|F&~k)+M[4]-405537848|0)<<20|S>>>12)+I|0,S=((S+=((I=((I+=((F=((F+=((k=((k+=(S&F|I&~F)+M[9]+568446438|0)<<5|k>>>27)+S|0)&I|S&~I)+M[14]-1019803690|0)<<9|F>>>23)+k|0)&S|k&~S)+M[3]-187363961|0)<<14|I>>>18)+F|0)&k|F&~k)+M[8]+1163531501|0)<<20|S>>>12)+I|0,S=((S+=((I=((I+=((F=((F+=((k=((k+=(S&F|I&~F)+M[13]-1444681467|0)<<5|k>>>27)+S|0)&I|S&~I)+M[2]-51403784|0)<<9|F>>>23)+k|0)&S|k&~S)+M[7]+1735328473|0)<<14|I>>>18)+F|0)&k|F&~k)+M[12]-1926607734|0)<<20|S>>>12)+I|0,S=((S+=((I=((I+=((F=((F+=((k=((k+=(S^I^F)+M[5]-378558|0)<<4|k>>>28)+S|0)^S^I)+M[8]-2022574463|0)<<11|F>>>21)+k|0)^k^S)+M[11]+1839030562|0)<<16|I>>>16)+F|0)^F^k)+M[14]-35309556|0)<<23|S>>>9)+I|0,S=((S+=((I=((I+=((F=((F+=((k=((k+=(S^I^F)+M[1]-1530992060|0)<<4|k>>>28)+S|0)^S^I)+M[4]+1272893353|0)<<11|F>>>21)+k|0)^k^S)+M[7]-155497632|0)<<16|I>>>16)+F|0)^F^k)+M[10]-1094730640|0)<<23|S>>>9)+I|0,S=((S+=((I=((I+=((F=((F+=((k=((k+=(S^I^F)+M[13]+681279174|0)<<4|k>>>28)+S|0)^S^I)+M[0]-358537222|0)<<11|F>>>21)+k|0)^k^S)+M[3]-722521979|0)<<16|I>>>16)+F|0)^F^k)+M[6]+76029189|0)<<23|S>>>9)+I|0,S=((S+=((I=((I+=((F=((F+=((k=((k+=(S^I^F)+M[9]-640364487|0)<<4|k>>>28)+S|0)^S^I)+M[12]-421815835|0)<<11|F>>>21)+k|0)^k^S)+M[15]+530742520|0)<<16|I>>>16)+F|0)^F^k)+M[2]-995338651|0)<<23|S>>>9)+I|0,S=((S+=((F=((F+=(S^((k=((k+=(I^(S|~F))+M[0]-198630844|0)<<6|k>>>26)+S|0)|~I))+M[7]+1126891415|0)<<10|F>>>22)+k|0)^((I=((I+=(k^(F|~S))+M[14]-1416354905|0)<<15|I>>>17)+F|0)|~k))+M[5]-57434055|0)<<21|S>>>11)+I|0,S=((S+=((F=((F+=(S^((k=((k+=(I^(S|~F))+M[12]+1700485571|0)<<6|k>>>26)+S|0)|~I))+M[3]-1894986606|0)<<10|F>>>22)+k|0)^((I=((I+=(k^(F|~S))+M[10]-1051523|0)<<15|I>>>17)+F|0)|~k))+M[1]-2054922799|0)<<21|S>>>11)+I|0,S=((S+=((F=((F+=(S^((k=((k+=(I^(S|~F))+M[8]+1873313359|0)<<6|k>>>26)+S|0)|~I))+M[15]-30611744|0)<<10|F>>>22)+k|0)^((I=((I+=(k^(F|~S))+M[6]-1560198380|0)<<15|I>>>17)+F|0)|~k))+M[13]+1309151649|0)<<21|S>>>11)+I|0,S=((S+=((F=((F+=(S^((k=((k+=(I^(S|~F))+M[4]-145523070|0)<<6|k>>>26)+S|0)|~I))+M[11]-1120210379|0)<<10|F>>>22)+k|0)^((I=((I+=(k^(F|~S))+M[2]+718787259|0)<<15|I>>>17)+F|0)|~k))+M[9]-343485551|0)<<21|S>>>11)+I|0,g[0]=k+g[0]|0,g[1]=S+g[1]|0,g[2]=I+g[2]|0,g[3]=F+g[3]|0}function L(g){var k,M=[];for(k=0;k<64;k+=4)M[k>>2]=g.charCodeAt(k)+(g.charCodeAt(k+1)<<8)+(g.charCodeAt(k+2)<<16)+(g.charCodeAt(k+3)<<24);return M}function w(g){var k,M=[];for(k=0;k<64;k+=4)M[k>>2]=g[k]+(g[k+1]<<8)+(g[k+2]<<16)+(g[k+3]<<24);return M}function R(g){var S,I,F,G,X,W,M=g.length,k=[1732584193,-271733879,-1732584194,271733878];for(S=64;S<=M;S+=64)V(k,L(g.substring(S-64,S)));for(I=(g=g.substring(S-64)).length,F=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],S=0;S<I;S+=1)F[S>>2]|=g.charCodeAt(S)<<(S%4<<3);if(F[S>>2]|=128<<(S%4<<3),S>55)for(V(k,F),S=0;S<16;S+=1)F[S]=0;return G=(G=8*M).toString(16).match(/(.*?)(.{0,8})$/),X=parseInt(G[2],16),W=parseInt(G[1],16)||0,F[14]=X,F[15]=W,V(k,F),k}function E(g){var k,M="";for(k=0;k<4;k+=1)M+=B[g>>8*k+4&15]+B[g>>8*k&15];return M}function x(g){var M;for(M=0;M<g.length;M+=1)g[M]=E(g[M]);return g.join("")}function Z(g){return/[\u0080-\uFFFF]/.test(g)&&(g=unescape(encodeURIComponent(g))),g}function D(g){var S,M=[],k=g.length;for(S=0;S<k-1;S+=2)M.push(parseInt(g.substr(S,2),16));return String.fromCharCode.apply(String,M)}function v(){this.reset()}return x(R("hello")),"undefined"!=typeof ArrayBuffer&&!ArrayBuffer.prototype.slice&&function(){function g(M,k){return(M=0|M||0)<0?Math.max(M+k,0):Math.min(M,k)}ArrayBuffer.prototype.slice=function(M,k){var G,X,W,Y,S=this.byteLength,I=g(M,S),F=S;return undefined!==k&&(F=g(k,S)),I>F?new ArrayBuffer(0):(G=F-I,X=new ArrayBuffer(G),W=new Uint8Array(X),Y=new Uint8Array(this,I,G),W.set(Y),X)}}(),v.prototype.append=function(g){return this.appendBinary(Z(g)),this},v.prototype.appendBinary=function(g){this._buff+=g,this._length+=g.length;var k,M=this._buff.length;for(k=64;k<=M;k+=64)V(this._hash,L(this._buff.substring(k-64,k)));return this._buff=this._buff.substring(k-64),this},v.prototype.end=function(g){var S,F,M=this._buff,k=M.length,I=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(S=0;S<k;S+=1)I[S>>2]|=M.charCodeAt(S)<<(S%4<<3);return this._finish(I,k),F=x(this._hash),g&&(F=D(F)),this.reset(),F},v.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},v.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},v.prototype.setState=function(g){return this._buff=g.buff,this._length=g.length,this._hash=g.hash,this},v.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},v.prototype._finish=function(g,M){var S,I,F,k=M;if(g[k>>2]|=128<<(k%4<<3),k>55)for(V(this._hash,g),k=0;k<16;k+=1)g[k]=0;S=(S=8*this._length).toString(16).match(/(.*?)(.{0,8})$/),I=parseInt(S[2],16),F=parseInt(S[1],16)||0,g[14]=I,g[15]=F,V(this._hash,g)},v.hash=function(g,M){return v.hashBinary(Z(g),M)},v.hashBinary=function(g,M){var S=x(R(g));return M?D(S):S},(v.ArrayBuffer=function(){this.reset()}).prototype.append=function(g){var S,M=function(g,M,k){var S=new Uint8Array(g.byteLength+M.byteLength);return S.set(new Uint8Array(g)),S.set(new Uint8Array(M),g.byteLength),k?S:S.buffer}(this._buff.buffer,g,!0),k=M.length;for(this._length+=g.byteLength,S=64;S<=k;S+=64)V(this._hash,w(M.subarray(S-64,S)));return this._buff=S-64<k?new Uint8Array(M.buffer.slice(S-64)):new Uint8Array(0),this},v.ArrayBuffer.prototype.end=function(g){var I,F,M=this._buff,k=M.length,S=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(I=0;I<k;I+=1)S[I>>2]|=M[I]<<(I%4<<3);return this._finish(S,k),F=x(this._hash),g&&(F=D(F)),this.reset(),F},v.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},v.ArrayBuffer.prototype.getState=function(){var g=v.prototype.getState.call(this);return g.buff=function(g){return String.fromCharCode.apply(null,new Uint8Array(g))}(g.buff),g},v.ArrayBuffer.prototype.setState=function(g){return g.buff=function(g,M){var F,k=g.length,S=new ArrayBuffer(k),I=new Uint8Array(S);for(F=0;F<k;F+=1)I[F]=g.charCodeAt(F);return M?I:S}(g.buff,!0),v.prototype.setState.call(this,g)},v.ArrayBuffer.prototype.destroy=v.prototype.destroy,v.ArrayBuffer.prototype._finish=v.prototype._finish,v.ArrayBuffer.hash=function(g,M){var S=x(function(g){var S,I,F,G,X,W,M=g.length,k=[1732584193,-271733879,-1732584194,271733878];for(S=64;S<=M;S+=64)V(k,w(g.subarray(S-64,S)));for(I=(g=S-64<M?g.subarray(S-64):new Uint8Array(0)).length,F=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],S=0;S<I;S+=1)F[S>>2]|=g[S]<<(S%4<<3);if(F[S>>2]|=128<<(S%4<<3),S>55)for(V(k,F),S=0;S<16;S+=1)F[S]=0;return G=(G=8*M).toString(16).match(/(.*?)(.{0,8})$/),X=parseInt(G[2],16),W=parseInt(G[1],16)||0,F[14]=X,F[15]=W,V(k,F),k}(new Uint8Array(g)));return M?D(S):S},v}()},28547:function(ue,j,f){var B=f(8274),U=f(8523),V=U;V.v1=B,V.v4=U,ue.exports=V},93259:function(ue){for(var j=[],f=0;f<256;++f)j[f]=(f+256).toString(16).substr(1);ue.exports=function(U,V){var L=V||0;return[j[U[L++]],j[U[L++]],j[U[L++]],j[U[L++]],"-",j[U[L++]],j[U[L++]],"-",j[U[L++]],j[U[L++]],"-",j[U[L++]],j[U[L++]],"-",j[U[L++]],j[U[L++]],j[U[L++]],j[U[L++]],j[U[L++]],j[U[L++]]].join("")}},19299:function(ue){var j="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(j){var f=new Uint8Array(16);ue.exports=function(){return j(f),f}}else{var B=new Array(16);ue.exports=function(){for(var L,V=0;V<16;V++)0==(3&V)&&(L=4294967296*Math.random()),B[V]=L>>>((3&V)<<3)&255;return B}}},8274:function(ue,j,f){var V,L,B=f(19299),U=f(93259),w=0,R=0;ue.exports=function(E,x,Z){var O=x&&Z||0,y=x||[],T=(E=E||{}).node||V,D=void 0!==E.clockseq?E.clockseq:L;if(null==T||null==D){var v=B();null==T&&(T=V=[1|v[0],v[1],v[2],v[3],v[4],v[5]]),null==D&&(D=L=16383&(v[6]<<8|v[7]))}var g=void 0!==E.msecs?E.msecs:(new Date).getTime(),M=void 0!==E.nsecs?E.nsecs:R+1,k=g-w+(M-R)/1e4;if(k<0&&void 0===E.clockseq&&(D=D+1&16383),(k<0||g>w)&&void 0===E.nsecs&&(M=0),M>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");w=g,R=M,L=D;var S=(1e4*(268435455&(g+=122192928e5))+M)%4294967296;y[O++]=S>>>24&255,y[O++]=S>>>16&255,y[O++]=S>>>8&255,y[O++]=255&S;var I=g/4294967296*1e4&268435455;y[O++]=I>>>8&255,y[O++]=255&I,y[O++]=I>>>24&15|16,y[O++]=I>>>16&255,y[O++]=D>>>8|128,y[O++]=255&D;for(var F=0;F<6;++F)y[O+F]=T[F];return x||U(y)}},8523:function(ue,j,f){var B=f(19299),U=f(93259);ue.exports=function(L,w,R){var b=w&&R||0;"string"==typeof L&&(w="binary"===L?new Array(16):null,L=null);var E=(L=L||{}).random||(L.rng||B)();if(E[6]=15&E[6]|64,E[8]=63&E[8]|128,w)for(var x=0;x<16;++x)w[b+x]=E[x];return w||U(E)}},84406:function(ue){window,ue.exports=function(j){var f={};function B(U){if(f[U])return f[U].exports;var V=f[U]={i:U,l:!1,exports:{}};return j[U].call(V.exports,V,V.exports,B),V.l=!0,V.exports}return B.m=j,B.c=f,B.d=function(U,V,L){B.o(U,V)||Object.defineProperty(U,V,{enumerable:!0,get:L})},B.r=function(U){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(U,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(U,"__esModule",{value:!0})},B.t=function(U,V){if(1&V&&(U=B(U)),8&V||4&V&&"object"==typeof U&&U&&U.__esModule)return U;var L=Object.create(null);if(B.r(L),Object.defineProperty(L,"default",{enumerable:!0,value:U}),2&V&&"string"!=typeof U)for(var w in U)B.d(L,w,function(R){return U[R]}.bind(null,w));return L},B.n=function(U){var V=U&&U.__esModule?function(){return U.default}:function(){return U};return B.d(V,"a",V),V},B.o=function(U,V){return Object.prototype.hasOwnProperty.call(U,V)},B.p="",B(B.s=0)}([function(j,f,B){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AttachAddon=void 0;var U=function(){function L(w,R){this._disposables=[],this._socket=w,this._socket.binaryType="arraybuffer",this._bidirectional=!R||!1!==R.bidirectional}return L.prototype.activate=function(w){var R=this;this._disposables.push(V(this._socket,"message",function(b){var E=b.data;w.write("string"==typeof E?E:new Uint8Array(E))})),this._bidirectional&&(this._disposables.push(w.onData(function(b){return R._sendData(b)})),this._disposables.push(w.onBinary(function(b){return R._sendBinary(b)}))),this._disposables.push(V(this._socket,"close",function(){return R.dispose()})),this._disposables.push(V(this._socket,"error",function(){return R.dispose()}))},L.prototype.dispose=function(){this._disposables.forEach(function(w){return w.dispose()})},L.prototype._sendData=function(w){1===this._socket.readyState&&this._socket.send(w)},L.prototype._sendBinary=function(w){if(1===this._socket.readyState){for(var R=new Uint8Array(w.length),b=0;b<w.length;++b)R[b]=255&w.charCodeAt(b);this._socket.send(R)}},L}();function V(L,w,R){return L.addEventListener(w,R),{dispose:function(){R&&L.removeEventListener(w,R)}}}f.AttachAddon=U}])},21593:function(ue){self,ue.exports=function(){"use strict";var j={775:function(U,V){Object.defineProperty(V,"__esModule",{value:!0}),V.FitAddon=void 0;var L=function(){function w(){}return w.prototype.activate=function(R){this._terminal=R},w.prototype.dispose=function(){},w.prototype.fit=function(){var R=this.proposeDimensions();R&&this._terminal&&(this._terminal.rows===R.rows&&this._terminal.cols===R.cols||(this._terminal._core._renderService.clear(),this._terminal.resize(R.cols,R.rows)))},w.prototype.proposeDimensions=function(){if(this._terminal&&this._terminal.element&&this._terminal.element.parentElement){var R=this._terminal._core;if(0!==R._renderService.dimensions.actualCellWidth&&0!==R._renderService.dimensions.actualCellHeight){var b=window.getComputedStyle(this._terminal.element.parentElement),E=parseInt(b.getPropertyValue("height")),x=Math.max(0,parseInt(b.getPropertyValue("width"))),Z=window.getComputedStyle(this._terminal.element),O=E-(parseInt(Z.getPropertyValue("padding-top"))+parseInt(Z.getPropertyValue("padding-bottom"))),y=x-(parseInt(Z.getPropertyValue("padding-right"))+parseInt(Z.getPropertyValue("padding-left")))-R.viewport.scrollBarWidth;return{cols:Math.max(2,Math.floor(y/R._renderService.dimensions.actualCellWidth)),rows:Math.max(1,Math.floor(O/R._renderService.dimensions.actualCellHeight))}}}},w}();V.FitAddon=L}},f={};return function B(U){if(f[U])return f[U].exports;var V=f[U]={exports:{}};return j[U](V,V.exports,B),V.exports}(775)}()},52383:function(ue){self,ue.exports=function(){"use strict";var j={4567:function(L,w,R){var b,E=this&&this.__extends||(b=function(k,S){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(I,F){I.__proto__=F}||function(I,F){for(var G in F)Object.prototype.hasOwnProperty.call(F,G)&&(I[G]=F[G])})(k,S)},function(M,k){if("function"!=typeof k&&null!==k)throw new TypeError("Class extends value "+String(k)+" is not a constructor or null");function S(){this.constructor=M}b(M,k),M.prototype=null===k?Object.create(k):(S.prototype=k.prototype,new S)});Object.defineProperty(w,"__esModule",{value:!0}),w.AccessibilityManager=void 0;var x=R(9042),Z=R(6114),O=R(9924),y=R(3656),T=R(844),D=R(5596),v=R(9631),g=function(M){function k(S,I){var F=M.call(this)||this;F._terminal=S,F._renderService=I,F._liveRegionLineCount=0,F._charsToConsume=[],F._charsToAnnounce="",F._accessibilityTreeRoot=document.createElement("div"),F._accessibilityTreeRoot.setAttribute("role","document"),F._accessibilityTreeRoot.classList.add("xterm-accessibility"),F._rowContainer=document.createElement("div"),F._rowContainer.setAttribute("role","list"),F._rowContainer.classList.add("xterm-accessibility-tree"),F._rowElements=[];for(var G=0;G<F._terminal.rows;G++)F._rowElements[G]=F._createAccessibilityTreeNode(),F._rowContainer.appendChild(F._rowElements[G]);if(F._topBoundaryFocusListener=function(X){return F._onBoundaryFocus(X,0)},F._bottomBoundaryFocusListener=function(X){return F._onBoundaryFocus(X,1)},F._rowElements[0].addEventListener("focus",F._topBoundaryFocusListener),F._rowElements[F._rowElements.length-1].addEventListener("focus",F._bottomBoundaryFocusListener),F._refreshRowsDimensions(),F._accessibilityTreeRoot.appendChild(F._rowContainer),F._renderRowsDebouncer=new O.TimeBasedDebouncer(F._renderRows.bind(F)),F._refreshRows(),F._liveRegion=document.createElement("div"),F._liveRegion.classList.add("live-region"),F._liveRegion.setAttribute("aria-live","assertive"),F._accessibilityTreeRoot.appendChild(F._liveRegion),!F._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");return F._terminal.element.insertAdjacentElement("afterbegin",F._accessibilityTreeRoot),F.register(F._renderRowsDebouncer),F.register(F._terminal.onResize(function(X){return F._onResize(X.rows)})),F.register(F._terminal.onRender(function(X){return F._refreshRows(X.start,X.end)})),F.register(F._terminal.onScroll(function(){return F._refreshRows()})),F.register(F._terminal.onA11yChar(function(X){return F._onChar(X)})),F.register(F._terminal.onLineFeed(function(){return F._onChar("\n")})),F.register(F._terminal.onA11yTab(function(X){return F._onTab(X)})),F.register(F._terminal.onKey(function(X){return F._onKey(X.key)})),F.register(F._terminal.onBlur(function(){return F._clearLiveRegion()})),F.register(F._renderService.onDimensionsChange(function(){return F._refreshRowsDimensions()})),F._screenDprMonitor=new D.ScreenDprMonitor,F.register(F._screenDprMonitor),F._screenDprMonitor.setListener(function(){return F._refreshRowsDimensions()}),F.register((0,y.addDisposableDomListener)(window,"resize",function(){return F._refreshRowsDimensions()})),F}return E(k,M),k.prototype.dispose=function(){M.prototype.dispose.call(this),(0,v.removeElementFromParent)(this._accessibilityTreeRoot),this._rowElements.length=0},k.prototype._onBoundaryFocus=function(S,I){var F=S.target,G=this._rowElements[0===I?1:this._rowElements.length-2];if(F.getAttribute("aria-posinset")!==(0===I?"1":""+this._terminal.buffer.lines.length)&&S.relatedTarget===G){var X,W;if(0===I?(X=F,W=this._rowElements.pop(),this._rowContainer.removeChild(W)):(X=this._rowElements.shift(),W=F,this._rowContainer.removeChild(X)),X.removeEventListener("focus",this._topBoundaryFocusListener),W.removeEventListener("focus",this._bottomBoundaryFocusListener),0===I){var Y=this._createAccessibilityTreeNode();this._rowElements.unshift(Y),this._rowContainer.insertAdjacentElement("afterbegin",Y)}else Y=this._createAccessibilityTreeNode(),this._rowElements.push(Y),this._rowContainer.appendChild(Y);this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(0===I?-1:1),this._rowElements[0===I?1:this._rowElements.length-2].focus(),S.preventDefault(),S.stopImmediatePropagation()}},k.prototype._onResize=function(S){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(var I=this._rowContainer.children.length;I<this._terminal.rows;I++)this._rowElements[I]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[I]);for(;this._rowElements.length>S;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},k.prototype._createAccessibilityTreeNode=function(){var S=document.createElement("div");return S.setAttribute("role","listitem"),S.tabIndex=-1,this._refreshRowDimensions(S),S},k.prototype._onTab=function(S){for(var I=0;I<S;I++)this._onChar(" ")},k.prototype._onChar=function(S){var I=this;this._liveRegionLineCount<21&&(this._charsToConsume.length>0?this._charsToConsume.shift()!==S&&(this._charsToAnnounce+=S):this._charsToAnnounce+=S,"\n"===S&&(this._liveRegionLineCount++,21===this._liveRegionLineCount&&(this._liveRegion.textContent+=x.tooMuchOutput)),Z.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){I._accessibilityTreeRoot.appendChild(I._liveRegion)},0))},k.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,Z.isMac&&(0,v.removeElementFromParent)(this._liveRegion)},k.prototype._onKey=function(S){this._clearLiveRegion(),this._charsToConsume.push(S)},k.prototype._refreshRows=function(S,I){this._renderRowsDebouncer.refresh(S,I,this._terminal.rows)},k.prototype._renderRows=function(S,I){for(var F=this._terminal.buffer,G=F.lines.length.toString(),X=S;X<=I;X++){var W=F.translateBufferLineToString(F.ydisp+X,!0),Y=(F.ydisp+X+1).toString(),ae=this._rowElements[X];ae&&(0===W.length?ae.innerText="\xa0":ae.textContent=W,ae.setAttribute("aria-posinset",Y),ae.setAttribute("aria-setsize",G))}this._announceCharacters()},k.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var S=0;S<this._terminal.rows;S++)this._refreshRowDimensions(this._rowElements[S])}},k.prototype._refreshRowDimensions=function(S){S.style.height=this._renderService.dimensions.actualCellHeight+"px"},k.prototype._announceCharacters=function(){0!==this._charsToAnnounce.length&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")},k}(T.Disposable);w.AccessibilityManager=g},3614:function(L,w){function R(Z){return Z.replace(/\r?\n/g,"\r")}function b(Z,O){return O?"\x1b[200~"+Z+"\x1b[201~":Z}function E(Z,O,y){Z=b(Z=R(Z),y.decPrivateModes.bracketedPasteMode),y.triggerDataEvent(Z,!0),O.value=""}function x(Z,O,y){var T=y.getBoundingClientRect(),D=Z.clientX-T.left-10,v=Z.clientY-T.top-10;O.style.width="20px",O.style.height="20px",O.style.left=D+"px",O.style.top=v+"px",O.style.zIndex="1000",O.focus()}Object.defineProperty(w,"__esModule",{value:!0}),w.rightClickHandler=w.moveTextAreaUnderMouseCursor=w.paste=w.handlePasteEvent=w.copyHandler=w.bracketTextForPaste=w.prepareTextForTerminal=void 0,w.prepareTextForTerminal=R,w.bracketTextForPaste=b,w.copyHandler=function(Z,O){Z.clipboardData&&Z.clipboardData.setData("text/plain",O.selectionText),Z.preventDefault()},w.handlePasteEvent=function(Z,O,y){Z.stopPropagation(),Z.clipboardData&&E(Z.clipboardData.getData("text/plain"),O,y)},w.paste=E,w.moveTextAreaUnderMouseCursor=x,w.rightClickHandler=function(Z,O,y,T,D){x(Z,O,y),D&&T.rightClickSelect(Z),O.value=T.selectionText,O.select()}},4774:function(L,w){var R,b,E,x,y;function Z(y){var T=y.toString(16);return T.length<2?"0"+T:T}function O(y,T){return y<T?(T+.05)/(y+.05):(y+.05)/(T+.05)}Object.defineProperty(w,"__esModule",{value:!0}),w.contrastRatio=w.toPaddedHex=w.rgba=w.rgb=w.css=w.color=w.channels=void 0,(y=R=w.channels||(w.channels={})).toCss=function(T,D,v,g){return void 0!==g?"#"+Z(T)+Z(D)+Z(v)+Z(g):"#"+Z(T)+Z(D)+Z(v)},y.toRgba=function(T,D,v,g){return void 0===g&&(g=255),(T<<24|D<<16|v<<8|g)>>>0},(b=w.color||(w.color={})).blend=function(y,T){var D=(255&T.rgba)/255;if(1===D)return{css:T.css,rgba:T.rgba};var g=T.rgba>>16&255,M=T.rgba>>8&255,k=y.rgba>>24&255,S=y.rgba>>16&255,I=y.rgba>>8&255,F=k+Math.round(((T.rgba>>24&255)-k)*D),G=S+Math.round((g-S)*D),X=I+Math.round((M-I)*D);return{css:R.toCss(F,G,X),rgba:R.toRgba(F,G,X)}},b.isOpaque=function(y){return 255==(255&y.rgba)},b.ensureContrastRatio=function(y,T,D){var v=x.ensureContrastRatio(y.rgba,T.rgba,D);if(v)return x.toColor(v>>24&255,v>>16&255,v>>8&255)},b.opaque=function(y){var T=(255|y.rgba)>>>0,D=x.toChannels(T);return{css:R.toCss(D[0],D[1],D[2]),rgba:T}},b.opacity=function(y,T){var D=Math.round(255*T),v=x.toChannels(y.rgba),g=v[0],M=v[1],k=v[2];return{css:R.toCss(g,M,k,D),rgba:R.toRgba(g,M,k,D)}},(w.css||(w.css={})).toColor=function(y){switch(y.length){case 7:return{css:y,rgba:(parseInt(y.slice(1),16)<<8|255)>>>0};case 9:return{css:y,rgba:parseInt(y.slice(1),16)>>>0}}throw new Error("css.toColor: Unsupported css format")},function(y){function T(D,v,g){var M=D/255,k=v/255,S=g/255;return.2126*(M<=.03928?M/12.92:Math.pow((M+.055)/1.055,2.4))+.7152*(k<=.03928?k/12.92:Math.pow((k+.055)/1.055,2.4))+.0722*(S<=.03928?S/12.92:Math.pow((S+.055)/1.055,2.4))}y.relativeLuminance=function(D){return T(D>>16&255,D>>8&255,255&D)},y.relativeLuminance2=T}(E=w.rgb||(w.rgb={})),function(y){function T(v,g,M){for(var k=v>>24&255,S=v>>16&255,I=v>>8&255,F=g>>24&255,G=g>>16&255,X=g>>8&255,W=O(E.relativeLuminance2(F,X,G),E.relativeLuminance2(k,S,I));W<M&&(F>0||G>0||X>0);)F-=Math.max(0,Math.ceil(.1*F)),G-=Math.max(0,Math.ceil(.1*G)),X-=Math.max(0,Math.ceil(.1*X)),W=O(E.relativeLuminance2(F,X,G),E.relativeLuminance2(k,S,I));return(F<<24|G<<16|X<<8|255)>>>0}function D(v,g,M){for(var k=v>>24&255,S=v>>16&255,I=v>>8&255,F=g>>24&255,G=g>>16&255,X=g>>8&255,W=O(E.relativeLuminance2(F,X,G),E.relativeLuminance2(k,S,I));W<M&&(F<255||G<255||X<255);)F=Math.min(255,F+Math.ceil(.1*(255-F))),G=Math.min(255,G+Math.ceil(.1*(255-G))),X=Math.min(255,X+Math.ceil(.1*(255-X))),W=O(E.relativeLuminance2(F,X,G),E.relativeLuminance2(k,S,I));return(F<<24|G<<16|X<<8|255)>>>0}y.ensureContrastRatio=function(v,g,M){var k=E.relativeLuminance(v>>8),S=E.relativeLuminance(g>>8);if(O(k,S)<M)return S<k?T(v,g,M):D(v,g,M)},y.reduceLuminance=T,y.increaseLuminance=D,y.toChannels=function(v){return[v>>24&255,v>>16&255,v>>8&255,255&v]},y.toColor=function(v,g,M){return{css:R.toCss(v,g,M),rgba:R.toRgba(v,g,M)}}}(x=w.rgba||(w.rgba={})),w.toPaddedHex=Z,w.contrastRatio=O},7239:function(L,w){Object.defineProperty(w,"__esModule",{value:!0}),w.ColorContrastCache=void 0;var R=function(){function b(){this._color={},this._rgba={}}return b.prototype.clear=function(){this._color={},this._rgba={}},b.prototype.setCss=function(E,x,Z){this._rgba[E]||(this._rgba[E]={}),this._rgba[E][x]=Z},b.prototype.getCss=function(E,x){return this._rgba[E]?this._rgba[E][x]:void 0},b.prototype.setColor=function(E,x,Z){this._color[E]||(this._color[E]={}),this._color[E][x]=Z},b.prototype.getColor=function(E,x){return this._color[E]?this._color[E][x]:void 0},b}();w.ColorContrastCache=R},5680:function(L,w,R){Object.defineProperty(w,"__esModule",{value:!0}),w.ColorManager=w.DEFAULT_ANSI_COLORS=void 0;var b=R(4774),E=R(7239),x=b.css.toColor("#ffffff"),Z=b.css.toColor("#000000"),O=b.css.toColor("#ffffff"),y=b.css.toColor("#000000"),T={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};w.DEFAULT_ANSI_COLORS=Object.freeze(function(){for(var v=[b.css.toColor("#2e3436"),b.css.toColor("#cc0000"),b.css.toColor("#4e9a06"),b.css.toColor("#c4a000"),b.css.toColor("#3465a4"),b.css.toColor("#75507b"),b.css.toColor("#06989a"),b.css.toColor("#d3d7cf"),b.css.toColor("#555753"),b.css.toColor("#ef2929"),b.css.toColor("#8ae234"),b.css.toColor("#fce94f"),b.css.toColor("#729fcf"),b.css.toColor("#ad7fa8"),b.css.toColor("#34e2e2"),b.css.toColor("#eeeeec")],g=[0,95,135,175,215,255],M=0;M<216;M++){var k=g[M/36%6|0],S=g[M/6%6|0],I=g[M%6];v.push({css:b.channels.toCss(k,S,I),rgba:b.channels.toRgba(k,S,I)})}for(M=0;M<24;M++){var F=8+10*M;v.push({css:b.channels.toCss(F,F,F),rgba:b.channels.toRgba(F,F,F)})}return v}());var D=function(){function v(g,M){this.allowTransparency=M;var k=g.createElement("canvas");k.width=1,k.height=1;var S=k.getContext("2d");if(!S)throw new Error("Could not get rendering context");this._ctx=S,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new E.ColorContrastCache,this.colors={foreground:x,background:Z,cursor:O,cursorAccent:y,selectionTransparent:T,selectionOpaque:b.color.blend(Z,T),ansi:w.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}return v.prototype.onOptionsChange=function(g){"minimumContrastRatio"===g&&this._contrastCache.clear()},v.prototype.setTheme=function(g){void 0===g&&(g={}),this.colors.foreground=this._parseColor(g.foreground,x),this.colors.background=this._parseColor(g.background,Z),this.colors.cursor=this._parseColor(g.cursor,O,!0),this.colors.cursorAccent=this._parseColor(g.cursorAccent,y,!0),this.colors.selectionTransparent=this._parseColor(g.selection,T,!0),this.colors.selectionOpaque=b.color.blend(this.colors.background,this.colors.selectionTransparent),b.color.isOpaque(this.colors.selectionTransparent)&&(this.colors.selectionTransparent=b.color.opacity(this.colors.selectionTransparent,.3)),this.colors.ansi[0]=this._parseColor(g.black,w.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(g.red,w.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(g.green,w.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(g.yellow,w.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(g.blue,w.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(g.magenta,w.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(g.cyan,w.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(g.white,w.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(g.brightBlack,w.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(g.brightRed,w.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(g.brightGreen,w.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(g.brightYellow,w.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(g.brightBlue,w.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(g.brightMagenta,w.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(g.brightCyan,w.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(g.brightWhite,w.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},v.prototype._parseColor=function(g,M,k){if(void 0===k&&(k=this.allowTransparency),void 0===g)return M;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=g,"string"!=typeof this._ctx.fillStyle)return console.warn("Color: "+g+" is invalid using fallback "+M.css),M;this._ctx.fillRect(0,0,1,1);var S=this._ctx.getImageData(0,0,1,1).data;if(255!==S[3]){if(!k)return console.warn("Color: "+g+" is using transparency, but allowTransparency is false. Using fallback "+M.css+"."),M;var I=this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map(function(ae){return Number(ae)}),F=I[0],G=I[1],X=I[2],Y=Math.round(255*I[3]);return{rgba:b.channels.toRgba(F,G,X,Y),css:g}}return{css:this._ctx.fillStyle,rgba:b.channels.toRgba(S[0],S[1],S[2],S[3])}},v}();w.ColorManager=D},9631:function(L,w){Object.defineProperty(w,"__esModule",{value:!0}),w.removeElementFromParent=void 0,w.removeElementFromParent=function(){for(var R,b=[],E=0;E<arguments.length;E++)b[E]=arguments[E];for(var x=0,Z=b;x<Z.length;x++){var O=Z[x];null===(R=null==O?void 0:O.parentElement)||void 0===R||R.removeChild(O)}}},3656:function(L,w){Object.defineProperty(w,"__esModule",{value:!0}),w.addDisposableDomListener=void 0,w.addDisposableDomListener=function(R,b,E,x){R.addEventListener(b,E,x);var Z=!1;return{dispose:function(){Z||(Z=!0,R.removeEventListener(b,E,x))}}}},3551:function(L,w,R){var b=this&&this.__decorate||function(T,D,v,g){var M,k=arguments.length,S=k<3?D:null===g?g=Object.getOwnPropertyDescriptor(D,v):g;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)S=Reflect.decorate(T,D,v,g);else for(var I=T.length-1;I>=0;I--)(M=T[I])&&(S=(k<3?M(S):k>3?M(D,v,S):M(D,v))||S);return k>3&&S&&Object.defineProperty(D,v,S),S},E=this&&this.__param||function(T,D){return function(v,g){D(v,g,T)}};Object.defineProperty(w,"__esModule",{value:!0}),w.MouseZone=w.Linkifier=void 0;var x=R(8460),Z=R(2585),O=function(){function T(D,v,g){this._bufferService=D,this._logService=v,this._unicodeService=g,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new x.EventEmitter,this._onHideLinkUnderline=new x.EventEmitter,this._onLinkTooltip=new x.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(T.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),T.prototype.attachToDom=function(D,v){this._element=D,this._mouseZoneManager=v},T.prototype.linkifyRows=function(D,v){var g=this;this._mouseZoneManager&&(void 0===this._rowsToLinkify.start||void 0===this._rowsToLinkify.end?(this._rowsToLinkify.start=D,this._rowsToLinkify.end=v):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,D),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,v)),this._mouseZoneManager.clearAll(D,v),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return g._linkifyRows()},T._timeBeforeLatency))},T.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var D=this._bufferService.buffer;if(void 0!==this._rowsToLinkify.start&&void 0!==this._rowsToLinkify.end){var v=D.ydisp+this._rowsToLinkify.start;if(!(v>=D.lines.length)){for(var g=D.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,M=Math.ceil(2e3/this._bufferService.cols),k=this._bufferService.buffer.iterator(!1,v,g,M,M);k.hasNext();)for(var S=k.next(),I=0;I<this._linkMatchers.length;I++)this._doLinkifyRow(S.range.first,S.content,this._linkMatchers[I]);this._rowsToLinkify.start=void 0,this._rowsToLinkify.end=void 0}}else this._logService.debug("_rowToLinkify was unset before _linkifyRows was called")},T.prototype.registerLinkMatcher=function(D,v,g){if(void 0===g&&(g={}),!v)throw new Error("handler must be defined");var M={id:this._nextLinkMatcherId++,regex:D,handler:v,matchIndex:g.matchIndex,validationCallback:g.validationCallback,hoverTooltipCallback:g.tooltipCallback,hoverLeaveCallback:g.leaveCallback,willLinkActivate:g.willLinkActivate,priority:g.priority||0};return this._addLinkMatcherToList(M),M.id},T.prototype._addLinkMatcherToList=function(D){if(0!==this._linkMatchers.length){for(var v=this._linkMatchers.length-1;v>=0;v--)if(D.priority<=this._linkMatchers[v].priority)return void this._linkMatchers.splice(v+1,0,D);this._linkMatchers.splice(0,0,D)}else this._linkMatchers.push(D)},T.prototype.deregisterLinkMatcher=function(D){for(var v=0;v<this._linkMatchers.length;v++)if(this._linkMatchers[v].id===D)return this._linkMatchers.splice(v,1),!0;return!1},T.prototype._doLinkifyRow=function(D,v,g){for(var M,k=this,S=new RegExp(g.regex.source,(g.regex.flags||"")+"g"),I=-1,F=function(){var W=M["number"!=typeof g.matchIndex?0:g.matchIndex];if(!W)return G._logService.debug("match found without corresponding matchIndex",M,g),"break";if(I=v.indexOf(W,I+1),S.lastIndex=I+W.length,I<0)return"break";var Y=G._bufferService.buffer.stringIndexToBufferIndex(D,I);if(Y[0]<0)return"break";var ae=G._bufferService.buffer.lines.get(Y[0]);if(!ae)return"break";var K=ae.getFg(Y[1]),fe=K?K>>9&511:void 0;g.validationCallback?g.validationCallback(W,function(ce){k._rowsTimeoutId||ce&&k._addLink(Y[1],Y[0]-k._bufferService.buffer.ydisp,W,g,fe)}):G._addLink(Y[1],Y[0]-G._bufferService.buffer.ydisp,W,g,fe)},G=this;null!==(M=S.exec(v))&&"break"!==F(););},T.prototype._addLink=function(D,v,g,M,k){var S=this;if(this._mouseZoneManager&&this._element){var I=this._unicodeService.getStringCellWidth(g),F=D%this._bufferService.cols,G=v+Math.floor(D/this._bufferService.cols),X=(F+I)%this._bufferService.cols,W=G+Math.floor((F+I)/this._bufferService.cols);0===X&&(X=this._bufferService.cols,W--),this._mouseZoneManager.add(new y(F+1,G+1,X+1,W+1,function(Y){if(M.handler)return M.handler(Y,g);var ae=window.open();ae?(ae.opener=null,ae.location.href=g):console.warn("Opening link blocked as opener could not be cleared")},function(){S._onShowLinkUnderline.fire(S._createLinkHoverEvent(F,G,X,W,k)),S._element.classList.add("xterm-cursor-pointer")},function(Y){S._onLinkTooltip.fire(S._createLinkHoverEvent(F,G,X,W,k)),M.hoverTooltipCallback&&M.hoverTooltipCallback(Y,g,{start:{x:F,y:G},end:{x:X,y:W}})},function(){S._onHideLinkUnderline.fire(S._createLinkHoverEvent(F,G,X,W,k)),S._element.classList.remove("xterm-cursor-pointer"),M.hoverLeaveCallback&&M.hoverLeaveCallback()},function(Y){return!M.willLinkActivate||M.willLinkActivate(Y,g)}))}},T.prototype._createLinkHoverEvent=function(D,v,g,M,k){return{x1:D,y1:v,x2:g,y2:M,cols:this._bufferService.cols,fg:k}},T._timeBeforeLatency=200,T=b([E(0,Z.IBufferService),E(1,Z.ILogService),E(2,Z.IUnicodeService)],T)}();w.Linkifier=O;var y=function(D,v,g,M,k,S,I,F,G){this.x1=D,this.y1=v,this.x2=g,this.y2=M,this.clickCallback=k,this.hoverCallback=S,this.tooltipCallback=I,this.leaveCallback=F,this.willLinkActivate=G};w.MouseZone=y},6465:function(L,w,R){var b,E=this&&this.__extends||(b=function(M,k){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,I){S.__proto__=I}||function(S,I){for(var F in I)Object.prototype.hasOwnProperty.call(I,F)&&(S[F]=I[F])})(M,k)},function(g,M){if("function"!=typeof M&&null!==M)throw new TypeError("Class extends value "+String(M)+" is not a constructor or null");function k(){this.constructor=g}b(g,M),g.prototype=null===M?Object.create(M):(k.prototype=M.prototype,new k)}),x=this&&this.__decorate||function(g,M,k,S){var I,F=arguments.length,G=F<3?M:null===S?S=Object.getOwnPropertyDescriptor(M,k):S;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)G=Reflect.decorate(g,M,k,S);else for(var X=g.length-1;X>=0;X--)(I=g[X])&&(G=(F<3?I(G):F>3?I(M,k,G):I(M,k))||G);return F>3&&G&&Object.defineProperty(M,k,G),G},Z=this&&this.__param||function(g,M){return function(k,S){M(k,S,g)}};Object.defineProperty(w,"__esModule",{value:!0}),w.Linkifier2=void 0;var O=R(2585),y=R(8460),T=R(844),D=R(3656),v=function(g){function M(k){var S=g.call(this)||this;return S._bufferService=k,S._linkProviders=[],S._linkCacheDisposables=[],S._isMouseOut=!0,S._activeLine=-1,S._onShowLinkUnderline=S.register(new y.EventEmitter),S._onHideLinkUnderline=S.register(new y.EventEmitter),S.register((0,T.getDisposeArrayDisposable)(S._linkCacheDisposables)),S}return E(M,g),Object.defineProperty(M.prototype,"currentLink",{get:function(){return this._currentLink},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),M.prototype.registerLinkProvider=function(k){var S=this;return this._linkProviders.push(k),{dispose:function(){var F=S._linkProviders.indexOf(k);-1!==F&&S._linkProviders.splice(F,1)}}},M.prototype.attachToDom=function(k,S,I){var F=this;this._element=k,this._mouseService=S,this._renderService=I,this.register((0,D.addDisposableDomListener)(this._element,"mouseleave",function(){F._isMouseOut=!0,F._clearCurrentLink()})),this.register((0,D.addDisposableDomListener)(this._element,"mousemove",this._onMouseMove.bind(this))),this.register((0,D.addDisposableDomListener)(this._element,"click",this._onClick.bind(this)))},M.prototype._onMouseMove=function(k){if(this._lastMouseEvent=k,this._element&&this._mouseService){var S=this._positionFromMouseEvent(k,this._element,this._mouseService);if(S){this._isMouseOut=!1;for(var I=k.composedPath(),F=0;F<I.length;F++){var G=I[F];if(G.classList.contains("xterm"))break;if(G.classList.contains("xterm-hover"))return}this._lastBufferCell&&S.x===this._lastBufferCell.x&&S.y===this._lastBufferCell.y||(this._onHover(S),this._lastBufferCell=S)}}},M.prototype._onHover=function(k){if(this._activeLine!==k.y)return this._clearCurrentLink(),void this._askForLink(k,!1);this._currentLink&&this._linkAtPosition(this._currentLink.link,k)||(this._clearCurrentLink(),this._askForLink(k,!0))},M.prototype._askForLink=function(k,S){var I,F=this;this._activeProviderReplies&&S||(null===(I=this._activeProviderReplies)||void 0===I||I.forEach(function(X){null==X||X.forEach(function(W){W.link.dispose&&W.link.dispose()})}),this._activeProviderReplies=new Map,this._activeLine=k.y);var G=!1;this._linkProviders.forEach(function(X,W){var Y;S?(null===(Y=F._activeProviderReplies)||void 0===Y?void 0:Y.get(W))&&(G=F._checkLinkProviderResult(W,k,G)):X.provideLinks(k.y,function(ae){var K,fe;if(!F._isMouseOut){var ce=null==ae?void 0:ae.map(function(he){return{link:he}});null===(K=F._activeProviderReplies)||void 0===K||K.set(W,ce),G=F._checkLinkProviderResult(W,k,G),(null===(fe=F._activeProviderReplies)||void 0===fe?void 0:fe.size)===F._linkProviders.length&&F._removeIntersectingLinks(k.y,F._activeProviderReplies)}})})},M.prototype._removeIntersectingLinks=function(k,S){for(var I=new Set,F=0;F<S.size;F++){var G=S.get(F);if(G)for(var X=0;X<G.length;X++)for(var W=G[X],ae=W.link.range.end.y>k?this._bufferService.cols:W.link.range.end.x,K=W.link.range.start.y<k?0:W.link.range.start.x;K<=ae;K++){if(I.has(K)){G.splice(X--,1);break}I.add(K)}}},M.prototype._checkLinkProviderResult=function(k,S,I){var F,G=this;if(!this._activeProviderReplies)return I;for(var X=this._activeProviderReplies.get(k),W=!1,Y=0;Y<k;Y++)this._activeProviderReplies.has(Y)&&!this._activeProviderReplies.get(Y)||(W=!0);if(!W&&X){var ae=X.find(function(fe){return G._linkAtPosition(fe.link,S)});ae&&(I=!0,this._handleNewLink(ae))}if(this._activeProviderReplies.size===this._linkProviders.length&&!I)for(Y=0;Y<this._activeProviderReplies.size;Y++){var K=null===(F=this._activeProviderReplies.get(Y))||void 0===F?void 0:F.find(function(fe){return G._linkAtPosition(fe.link,S)});if(K){I=!0,this._handleNewLink(K);break}}return I},M.prototype._onClick=function(k){if(this._element&&this._mouseService&&this._currentLink){var S=this._positionFromMouseEvent(k,this._element,this._mouseService);S&&this._linkAtPosition(this._currentLink.link,S)&&this._currentLink.link.activate(k,this._currentLink.link.text)}},M.prototype._clearCurrentLink=function(k,S){this._element&&this._currentLink&&this._lastMouseEvent&&(!k||!S||this._currentLink.link.range.start.y>=k&&this._currentLink.link.range.end.y<=S)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,(0,T.disposeArray)(this._linkCacheDisposables))},M.prototype._handleNewLink=function(k){var S=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var I=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);I&&this._linkAtPosition(k.link,I)&&(this._currentLink=k,this._currentLink.state={decorations:{underline:void 0===k.link.decorations||k.link.decorations.underline,pointerCursor:void 0===k.link.decorations||k.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,k.link,this._lastMouseEvent),k.link.decorations={},Object.defineProperties(k.link.decorations,{pointerCursor:{get:function(){var G,X;return null===(X=null===(G=S._currentLink)||void 0===G?void 0:G.state)||void 0===X?void 0:X.decorations.pointerCursor},set:function(G){var X,W;(null===(X=S._currentLink)||void 0===X?void 0:X.state)&&S._currentLink.state.decorations.pointerCursor!==G&&(S._currentLink.state.decorations.pointerCursor=G,S._currentLink.state.isHovered&&(null===(W=S._element)||void 0===W||W.classList.toggle("xterm-cursor-pointer",G)))}},underline:{get:function(){var G,X;return null===(X=null===(G=S._currentLink)||void 0===G?void 0:G.state)||void 0===X?void 0:X.decorations.underline},set:function(G){var X,W,Y;(null===(X=S._currentLink)||void 0===X?void 0:X.state)&&(null===(Y=null===(W=S._currentLink)||void 0===W?void 0:W.state)||void 0===Y?void 0:Y.decorations.underline)!==G&&(S._currentLink.state.decorations.underline=G,S._currentLink.state.isHovered&&S._fireUnderlineEvent(k.link,G))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(F){S._clearCurrentLink(0===F.start?0:F.start+1+S._bufferService.buffer.ydisp,F.end+1+S._bufferService.buffer.ydisp)})))}},M.prototype._linkHover=function(k,S,I){var F;(null===(F=this._currentLink)||void 0===F?void 0:F.state)&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(S,!0),this._currentLink.state.decorations.pointerCursor&&k.classList.add("xterm-cursor-pointer")),S.hover&&S.hover(I,S.text)},M.prototype._fireUnderlineEvent=function(k,S){var I=k.range,F=this._bufferService.buffer.ydisp,G=this._createLinkUnderlineEvent(I.start.x-1,I.start.y-F-1,I.end.x,I.end.y-F-1,void 0);(S?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(G)},M.prototype._linkLeave=function(k,S,I){var F;(null===(F=this._currentLink)||void 0===F?void 0:F.state)&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(S,!1),this._currentLink.state.decorations.pointerCursor&&k.classList.remove("xterm-cursor-pointer")),S.leave&&S.leave(I,S.text)},M.prototype._linkAtPosition=function(k,S){var F=k.range.start.y<S.y,G=k.range.end.y>S.y;return(k.range.start.y===k.range.end.y&&k.range.start.x<=S.x&&k.range.end.x>=S.x||F&&k.range.end.x>=S.x||G&&k.range.start.x<=S.x||F&&G)&&k.range.start.y<=S.y&&k.range.end.y>=S.y},M.prototype._positionFromMouseEvent=function(k,S,I){var F=I.getCoords(k,S,this._bufferService.cols,this._bufferService.rows);if(F)return{x:F[0],y:F[1]+this._bufferService.buffer.ydisp}},M.prototype._createLinkUnderlineEvent=function(k,S,I,F,G){return{x1:k,y1:S,x2:I,y2:F,cols:this._bufferService.cols,fg:G}},x([Z(0,O.IBufferService)],M)}(T.Disposable);w.Linkifier2=v},9042:function(L,w){Object.defineProperty(w,"__esModule",{value:!0}),w.tooMuchOutput=w.promptLabel=void 0,w.promptLabel="Terminal input",w.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},6954:function(L,w,R){var b,E=this&&this.__extends||(b=function(M,k){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,I){S.__proto__=I}||function(S,I){for(var F in I)Object.prototype.hasOwnProperty.call(I,F)&&(S[F]=I[F])})(M,k)},function(g,M){if("function"!=typeof M&&null!==M)throw new TypeError("Class extends value "+String(M)+" is not a constructor or null");function k(){this.constructor=g}b(g,M),g.prototype=null===M?Object.create(M):(k.prototype=M.prototype,new k)}),x=this&&this.__decorate||function(g,M,k,S){var I,F=arguments.length,G=F<3?M:null===S?S=Object.getOwnPropertyDescriptor(M,k):S;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)G=Reflect.decorate(g,M,k,S);else for(var X=g.length-1;X>=0;X--)(I=g[X])&&(G=(F<3?I(G):F>3?I(M,k,G):I(M,k))||G);return F>3&&G&&Object.defineProperty(M,k,G),G},Z=this&&this.__param||function(g,M){return function(k,S){M(k,S,g)}};Object.defineProperty(w,"__esModule",{value:!0}),w.MouseZoneManager=void 0;var O=R(844),y=R(3656),T=R(4725),D=R(2585),v=function(g){function M(k,S,I,F,G,X){var W=g.call(this)||this;return W._element=k,W._screenElement=S,W._bufferService=I,W._mouseService=F,W._selectionService=G,W._optionsService=X,W._zones=[],W._areZonesActive=!1,W._lastHoverCoords=[void 0,void 0],W._initialSelectionLength=0,W.register((0,y.addDisposableDomListener)(W._element,"mousedown",function(Y){return W._onMouseDown(Y)})),W._mouseMoveListener=function(Y){return W._onMouseMove(Y)},W._mouseLeaveListener=function(Y){return W._onMouseLeave(Y)},W._clickListener=function(Y){return W._onClick(Y)},W}return E(M,g),M.prototype.dispose=function(){g.prototype.dispose.call(this),this._deactivate()},M.prototype.add=function(k){this._zones.push(k),1===this._zones.length&&this._activate()},M.prototype.clearAll=function(k,S){if(0!==this._zones.length){k&&S||(k=0,S=this._bufferService.rows-1);for(var I=0;I<this._zones.length;I++){var F=this._zones[I];(F.y1>k&&F.y1<=S+1||F.y2>k&&F.y2<=S+1||F.y1<k&&F.y2>S+1)&&(this._currentZone&&this._currentZone===F&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(I--,1))}0===this._zones.length&&this._deactivate()}},M.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},M.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},M.prototype._onMouseMove=function(k){this._lastHoverCoords[0]===k.pageX&&this._lastHoverCoords[1]===k.pageY||(this._onHover(k),this._lastHoverCoords=[k.pageX,k.pageY])},M.prototype._onHover=function(k){var S=this,I=this._findZoneEventAt(k);I!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),I&&(this._currentZone=I,I.hoverCallback&&I.hoverCallback(k),this._tooltipTimeout=window.setTimeout(function(){return S._onTooltip(k)},this._optionsService.options.linkTooltipHoverDuration)))},M.prototype._onTooltip=function(k){this._tooltipTimeout=void 0;var S=this._findZoneEventAt(k);null==S||S.tooltipCallback(k)},M.prototype._onMouseDown=function(k){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var S=this._findZoneEventAt(k);(null==S?void 0:S.willLinkActivate(k))&&(k.preventDefault(),k.stopImmediatePropagation())}},M.prototype._onMouseLeave=function(k){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},M.prototype._onClick=function(k){var S=this._findZoneEventAt(k),I=this._getSelectionLength();S&&I===this._initialSelectionLength&&(S.clickCallback(k),k.preventDefault(),k.stopImmediatePropagation())},M.prototype._getSelectionLength=function(){var k=this._selectionService.selectionText;return k?k.length:0},M.prototype._findZoneEventAt=function(k){var S=this._mouseService.getCoords(k,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(S)for(var I=S[0],F=S[1],G=0;G<this._zones.length;G++){var X=this._zones[G];if(X.y1===X.y2){if(F===X.y1&&I>=X.x1&&I<X.x2)return X}else if(F===X.y1&&I>=X.x1||F===X.y2&&I<X.x2||F>X.y1&&F<X.y2)return X}},x([Z(2,D.IBufferService),Z(3,T.IMouseService),Z(4,T.ISelectionService),Z(5,D.IOptionsService)],M)}(O.Disposable);w.MouseZoneManager=v},6193:function(L,w){Object.defineProperty(w,"__esModule",{value:!0}),w.RenderDebouncer=void 0;var R=function(){function b(E){this._renderCallback=E}return b.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},b.prototype.refresh=function(E,x,Z){var O=this;this._rowCount=Z,E=void 0!==E?E:0,x=void 0!==x?x:this._rowCount-1,this._rowStart=void 0!==this._rowStart?Math.min(this._rowStart,E):E,this._rowEnd=void 0!==this._rowEnd?Math.max(this._rowEnd,x):x,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return O._innerRefresh()}))},b.prototype._innerRefresh=function(){if(void 0!==this._rowStart&&void 0!==this._rowEnd&&void 0!==this._rowCount){var E=Math.max(this._rowStart,0),x=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0,this._renderCallback(E,x)}},b}();w.RenderDebouncer=R},5596:function(L,w,R){var b,E=this&&this.__extends||(b=function(O,y){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,D){T.__proto__=D}||function(T,D){for(var v in D)Object.prototype.hasOwnProperty.call(D,v)&&(T[v]=D[v])})(O,y)},function(Z,O){if("function"!=typeof O&&null!==O)throw new TypeError("Class extends value "+String(O)+" is not a constructor or null");function y(){this.constructor=Z}b(Z,O),Z.prototype=null===O?Object.create(O):(y.prototype=O.prototype,new y)});Object.defineProperty(w,"__esModule",{value:!0}),w.ScreenDprMonitor=void 0;var x=function(Z){function O(){var y=null!==Z&&Z.apply(this,arguments)||this;return y._currentDevicePixelRatio=window.devicePixelRatio,y}return E(O,Z),O.prototype.setListener=function(y){var T=this;this._listener&&this.clearListener(),this._listener=y,this._outerListener=function(){T._listener&&(T._listener(window.devicePixelRatio,T._currentDevicePixelRatio),T._updateDpr())},this._updateDpr()},O.prototype.dispose=function(){Z.prototype.dispose.call(this),this.clearListener()},O.prototype._updateDpr=function(){var y;this._outerListener&&(null===(y=this._resolutionMediaMatchList)||void 0===y||y.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},O.prototype.clearListener=function(){this._resolutionMediaMatchList&&this._listener&&this._outerListener&&(this._resolutionMediaMatchList.removeListener(this._outerListener),this._resolutionMediaMatchList=void 0,this._listener=void 0,this._outerListener=void 0)},O}(R(844).Disposable);w.ScreenDprMonitor=x},3236:function(L,w,R){var b,E=this&&this.__extends||(b=function(_e,xe){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(He,st){He.__proto__=st}||function(He,st){for(var tt in st)Object.prototype.hasOwnProperty.call(st,tt)&&(He[tt]=st[tt])})(_e,xe)},function(bt,_e){if("function"!=typeof _e&&null!==_e)throw new TypeError("Class extends value "+String(_e)+" is not a constructor or null");function xe(){this.constructor=bt}b(bt,_e),bt.prototype=null===_e?Object.create(_e):(xe.prototype=_e.prototype,new xe)});Object.defineProperty(w,"__esModule",{value:!0}),w.Terminal=void 0;var x=R(2950),Z=R(1680),O=R(3614),y=R(2584),T=R(5435),D=R(3525),v=R(3551),g=R(9312),M=R(6114),k=R(3656),S=R(9042),I=R(357),F=R(6954),G=R(4567),X=R(1296),W=R(7399),Y=R(8460),ae=R(8437),K=R(5680),fe=R(3230),ce=R(4725),he=R(428),de=R(8934),oe=R(6465),Ce=R(5114),ge=R(8969),qe=R(4774),De=R(4269),Qe="undefined"!=typeof window?window.document:null,et=function(bt){function _e(xe){void 0===xe&&(xe={});var He=bt.call(this,xe)||this;return He.browser=M,He._keyDownHandled=!1,He._keyPressHandled=!1,He._unprocessedDeadKey=!1,He._onCursorMove=new Y.EventEmitter,He._onKey=new Y.EventEmitter,He._onRender=new Y.EventEmitter,He._onSelectionChange=new Y.EventEmitter,He._onTitleChange=new Y.EventEmitter,He._onBell=new Y.EventEmitter,He._onFocus=new Y.EventEmitter,He._onBlur=new Y.EventEmitter,He._onA11yCharEmitter=new Y.EventEmitter,He._onA11yTabEmitter=new Y.EventEmitter,He._setup(),He.linkifier=He._instantiationService.createInstance(v.Linkifier),He.linkifier2=He.register(He._instantiationService.createInstance(oe.Linkifier2)),He.register(He._inputHandler.onRequestBell(function(){return He.bell()})),He.register(He._inputHandler.onRequestRefreshRows(function(st,tt){return He.refresh(st,tt)})),He.register(He._inputHandler.onRequestSendFocus(function(){return He._reportFocus()})),He.register(He._inputHandler.onRequestReset(function(){return He.reset()})),He.register(He._inputHandler.onRequestWindowsOptionsReport(function(st){return He._reportWindowsOptions(st)})),He.register(He._inputHandler.onAnsiColorChange(function(st){return He._changeAnsiColor(st)})),He.register((0,Y.forwardEvent)(He._inputHandler.onCursorMove,He._onCursorMove)),He.register((0,Y.forwardEvent)(He._inputHandler.onTitleChange,He._onTitleChange)),He.register((0,Y.forwardEvent)(He._inputHandler.onA11yChar,He._onA11yCharEmitter)),He.register((0,Y.forwardEvent)(He._inputHandler.onA11yTab,He._onA11yTabEmitter)),He.register(He._bufferService.onResize(function(st){return He._afterResize(st.cols,st.rows)})),He}return E(_e,bt),Object.defineProperty(_e.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(_e.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(_e.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(_e.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(_e.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(_e.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(_e.prototype,"onBell",{get:function(){return this._onBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(_e.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(_e.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(_e.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(_e.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),_e.prototype._changeAnsiColor=function(xe){var He,st;if(this._colorManager){for(var tt=0,Zt=xe.colors;tt<Zt.length;tt++){var Tt=Zt[tt],mt=qe.rgba.toColor(Tt.red,Tt.green,Tt.blue);this._colorManager.colors.ansi[Tt.colorIndex]=mt}null===(He=this._renderService)||void 0===He||He.setColors(this._colorManager.colors),null===(st=this.viewport)||void 0===st||st.onThemeChange(this._colorManager.colors)}},_e.prototype.dispose=function(){var xe,He,st;this._isDisposed||(bt.prototype.dispose.call(this),null===(xe=this._renderService)||void 0===xe||xe.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},null===(st=null===(He=this.element)||void 0===He?void 0:He.parentNode)||void 0===st||st.removeChild(this.element))},_e.prototype._setup=function(){bt.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(_e.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),_e.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},_e.prototype._updateOptions=function(xe){var He,st,tt,Zt;switch(bt.prototype._updateOptions.call(this,xe),xe){case"fontFamily":case"fontSize":null===(He=this._renderService)||void 0===He||He.clear(),null===(st=this._charSizeService)||void 0===st||st.measure();break;case"cursorBlink":case"cursorStyle":this.refresh(this.buffer.y,this.buffer.y);break;case"customGlyphs":case"drawBoldTextInBrightColors":case"letterSpacing":case"lineHeight":case"fontWeight":case"fontWeightBold":case"minimumContrastRatio":this._renderService&&(this._renderService.clear(),this._renderService.onResize(this.cols,this.rows),this.refresh(0,this.rows-1));break;case"rendererType":this._renderService&&(this._renderService.setRenderer(this._createRenderer()),this._renderService.onResize(this.cols,this.rows));break;case"scrollback":null===(tt=this.viewport)||void 0===tt||tt.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new G.AccessibilityManager(this,this._renderService)):(null===(Zt=this._accessibilityManager)||void 0===Zt||Zt.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},_e.prototype._onTextAreaFocus=function(xe){this.coreService.decPrivateModes.sendFocus&&this.coreService.triggerDataEvent(y.C0.ESC+"[I"),this.updateCursorStyle(xe),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},_e.prototype.blur=function(){var xe;return null===(xe=this.textarea)||void 0===xe?void 0:xe.blur()},_e.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this.coreService.decPrivateModes.sendFocus&&this.coreService.triggerDataEvent(y.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},_e.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing&&this._renderService){var He=this.buffer.lines.get(this.buffer.ybase+this.buffer.y);if(He){var st=Math.min(this.buffer.x,this.cols-1),tt=this._renderService.dimensions.actualCellHeight,Zt=He.getWidth(st),Tt=this._renderService.dimensions.actualCellWidth*Zt,mt=this.buffer.y*this._renderService.dimensions.actualCellHeight;this.textarea.style.left=st*this._renderService.dimensions.actualCellWidth+"px",this.textarea.style.top=mt+"px",this.textarea.style.width=Tt+"px",this.textarea.style.height=tt+"px",this.textarea.style.lineHeight=tt+"px",this.textarea.style.zIndex="-5"}}},_e.prototype._initGlobal=function(){var xe=this;this._bindKeys(),this.register((0,k.addDisposableDomListener)(this.element,"copy",function(st){xe.hasSelection()&&(0,O.copyHandler)(st,xe._selectionService)}));var He=function(tt){return(0,O.handlePasteEvent)(tt,xe.textarea,xe.coreService)};this.register((0,k.addDisposableDomListener)(this.textarea,"paste",He)),this.register((0,k.addDisposableDomListener)(this.element,"paste",He)),this.register(M.isFirefox?(0,k.addDisposableDomListener)(this.element,"mousedown",function(st){2===st.button&&(0,O.rightClickHandler)(st,xe.textarea,xe.screenElement,xe._selectionService,xe.options.rightClickSelectsWord)}):(0,k.addDisposableDomListener)(this.element,"contextmenu",function(st){(0,O.rightClickHandler)(st,xe.textarea,xe.screenElement,xe._selectionService,xe.options.rightClickSelectsWord)})),M.isLinux&&this.register((0,k.addDisposableDomListener)(this.element,"auxclick",function(st){1===st.button&&(0,O.moveTextAreaUnderMouseCursor)(st,xe.textarea,xe.screenElement)}))},_e.prototype._bindKeys=function(){var xe=this;this.register((0,k.addDisposableDomListener)(this.textarea,"keyup",function(He){return xe._keyUp(He)},!0)),this.register((0,k.addDisposableDomListener)(this.textarea,"keydown",function(He){return xe._keyDown(He)},!0)),this.register((0,k.addDisposableDomListener)(this.textarea,"keypress",function(He){return xe._keyPress(He)},!0)),this.register((0,k.addDisposableDomListener)(this.textarea,"compositionstart",function(){return xe._compositionHelper.compositionstart()})),this.register((0,k.addDisposableDomListener)(this.textarea,"compositionupdate",function(He){return xe._compositionHelper.compositionupdate(He)})),this.register((0,k.addDisposableDomListener)(this.textarea,"compositionend",function(){return xe._compositionHelper.compositionend()})),this.register((0,k.addDisposableDomListener)(this.textarea,"input",function(He){return xe._inputEvent(He)},!0)),this.register(this.onRender(function(){return xe._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(He){return xe._queueLinkification(He.start,He.end)}))},_e.prototype.open=function(xe){var He=this;if(!xe)throw new Error("Terminal requires a parent element.");xe.isConnected||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=xe.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),this.element.setAttribute("tabindex","0"),xe.appendChild(this.element);var st=Qe.createDocumentFragment();this._viewportElement=Qe.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),st.appendChild(this._viewportElement),this._viewportScrollArea=Qe.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=Qe.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=Qe.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),st.appendChild(this.screenElement),this.textarea=Qe.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",S.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register((0,k.addDisposableDomListener)(this.textarea,"focus",function(Tt){return He._onTextAreaFocus(Tt)})),this.register((0,k.addDisposableDomListener)(this.textarea,"blur",function(){return He._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var tt=this._instantiationService.createInstance(Ce.CoreBrowserService,this.textarea);this._instantiationService.setService(ce.ICoreBrowserService,tt),this._charSizeService=this._instantiationService.createInstance(he.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(ce.ICharSizeService,this._charSizeService),this._theme=this.options.theme||this._theme,this._colorManager=new K.ColorManager(Qe,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(Tt){return He._colorManager.onOptionsChange(Tt)})),this._colorManager.setTheme(this._theme),this._characterJoinerService=this._instantiationService.createInstance(De.CharacterJoinerService),this._instantiationService.setService(ce.ICharacterJoinerService,this._characterJoinerService);var Zt=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(fe.RenderService,Zt,this.rows,this.screenElement)),this._instantiationService.setService(ce.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(Tt){return He._onRender.fire(Tt)})),this.onResize(function(Tt){return He._renderService.resize(Tt.cols,Tt.rows)}),this._compositionView=Qe.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(x.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(st),this._soundService=this._instantiationService.createInstance(I.SoundService),this._instantiationService.setService(ce.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(de.MouseService),this._instantiationService.setService(ce.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(Z.Viewport,function(Tt){return He.scrollLines(Tt,!0,1)},this._viewportElement,this._viewportScrollArea,this.element),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return He.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){He._renderService.onCursorMove(),He._syncTextArea()})),this.register(this.onResize(function(){return He._renderService.onResize(He.cols,He.rows)})),this.register(this.onBlur(function(){return He._renderService.onBlur()})),this.register(this.onFocus(function(){return He._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return He.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(g.SelectionService,this.element,this.screenElement,this.linkifier2)),this._instantiationService.setService(ce.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(Tt){return He.scrollLines(Tt.amount,Tt.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return He._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(Tt){return He._renderService.onSelectionChanged(Tt.start,Tt.end,Tt.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(Tt){He.textarea.value=Tt,He.textarea.focus(),He.textarea.select()})),this.register(this._onScroll.event(function(Tt){He.viewport.syncScrollArea(),He._selectionService.refresh()})),this.register((0,k.addDisposableDomListener)(this._viewportElement,"scroll",function(){return He._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(F.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return He._mouseZoneManager.clearAll()})),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.element,this._mouseService,this._renderService),this.register((0,k.addDisposableDomListener)(this.element,"mousedown",function(Tt){return He._selectionService.onMouseDown(Tt)})),this.coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new G.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},_e.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(D.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(X.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},_e.prototype._setTheme=function(xe){var He,st,tt;this._theme=xe,null===(He=this._colorManager)||void 0===He||He.setTheme(xe),null===(st=this._renderService)||void 0===st||st.setColors(this._colorManager.colors),null===(tt=this.viewport)||void 0===tt||tt.onThemeChange(this._colorManager.colors)},_e.prototype.bindMouse=function(){var xe=this,He=this,st=this.element;function tt(Ut){var Mn,On,Fn=He._mouseService.getRawByteCoords(Ut,He.screenElement,He.cols,He.rows);if(!Fn)return!1;switch(Ut.overrideType||Ut.type){case"mousemove":On=32,void 0===Ut.buttons?(Mn=3,void 0!==Ut.button&&(Mn=Ut.button<3?Ut.button:3)):Mn=1&Ut.buttons?0:4&Ut.buttons?1:2&Ut.buttons?2:3;break;case"mouseup":On=0,Mn=Ut.button<3?Ut.button:3;break;case"mousedown":On=1,Mn=Ut.button<3?Ut.button:3;break;case"wheel":0!==Ut.deltaY&&(On=Ut.deltaY<0?0:1),Mn=4;break;default:return!1}return!(void 0===On||void 0===Mn||Mn>4)&&He.coreMouseService.triggerMouseEvent({col:Fn.x-33,row:Fn.y-33,button:Mn,action:On,ctrl:Ut.ctrlKey,alt:Ut.altKey,shift:Ut.shiftKey})}var Zt={mouseup:null,wheel:null,mousedrag:null,mousemove:null},Tt=function(Mn){return tt(Mn),Mn.buttons||(xe._document.removeEventListener("mouseup",Zt.mouseup),Zt.mousedrag&&xe._document.removeEventListener("mousemove",Zt.mousedrag)),xe.cancel(Mn)},mt=function(Mn){return tt(Mn),xe.cancel(Mn,!0)},Yt=function(Mn){Mn.buttons&&tt(Mn)},un=function(Mn){Mn.buttons||tt(Mn)};this.register(this.coreMouseService.onProtocolChange(function(Ut){Ut?("debug"===xe.optionsService.options.logLevel&&xe._logService.debug("Binding to mouse events:",xe.coreMouseService.explainEvents(Ut)),xe.element.classList.add("enable-mouse-events"),xe._selectionService.disable()):(xe._logService.debug("Unbinding from mouse events."),xe.element.classList.remove("enable-mouse-events"),xe._selectionService.enable()),8&Ut?Zt.mousemove||(st.addEventListener("mousemove",un),Zt.mousemove=un):(st.removeEventListener("mousemove",Zt.mousemove),Zt.mousemove=null),16&Ut?Zt.wheel||(st.addEventListener("wheel",mt,{passive:!1}),Zt.wheel=mt):(st.removeEventListener("wheel",Zt.wheel),Zt.wheel=null),2&Ut?Zt.mouseup||(Zt.mouseup=Tt):(xe._document.removeEventListener("mouseup",Zt.mouseup),Zt.mouseup=null),4&Ut?Zt.mousedrag||(Zt.mousedrag=Yt):(xe._document.removeEventListener("mousemove",Zt.mousedrag),Zt.mousedrag=null)})),this.coreMouseService.activeProtocol=this.coreMouseService.activeProtocol,this.register((0,k.addDisposableDomListener)(st,"mousedown",function(Ut){if(Ut.preventDefault(),xe.focus(),xe.coreMouseService.areMouseEventsActive&&!xe._selectionService.shouldForceSelection(Ut))return tt(Ut),Zt.mouseup&&xe._document.addEventListener("mouseup",Zt.mouseup),Zt.mousedrag&&xe._document.addEventListener("mousemove",Zt.mousedrag),xe.cancel(Ut)})),this.register((0,k.addDisposableDomListener)(st,"wheel",function(Ut){if(!Zt.wheel){if(!xe.buffer.hasScrollback){var Mn=xe.viewport.getLinesScrolled(Ut);if(0===Mn)return;for(var On=y.C0.ESC+(xe.coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(Ut.deltaY<0?"A":"B"),Fn="",Zn=0;Zn<Math.abs(Mn);Zn++)Fn+=On;return xe.coreService.triggerDataEvent(Fn,!0),xe.cancel(Ut,!0)}return xe.viewport.onWheel(Ut)?void 0:xe.cancel(Ut)}},{passive:!1})),this.register((0,k.addDisposableDomListener)(st,"touchstart",function(Ut){if(!xe.coreMouseService.areMouseEventsActive)return xe.viewport.onTouchStart(Ut),xe.cancel(Ut)},{passive:!0})),this.register((0,k.addDisposableDomListener)(st,"touchmove",function(Ut){if(!xe.coreMouseService.areMouseEventsActive)return xe.viewport.onTouchMove(Ut)?void 0:xe.cancel(Ut)},{passive:!1}))},_e.prototype.refresh=function(xe,He){var st;null===(st=this._renderService)||void 0===st||st.refreshRows(xe,He)},_e.prototype._queueLinkification=function(xe,He){var st;null===(st=this.linkifier)||void 0===st||st.linkifyRows(xe,He)},_e.prototype.updateCursorStyle=function(xe){var He;(null===(He=this._selectionService)||void 0===He?void 0:He.shouldColumnSelect(xe))?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},_e.prototype._showCursor=function(){this.coreService.isCursorInitialized||(this.coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},_e.prototype.scrollLines=function(xe,He,st){void 0===st&&(st=0),bt.prototype.scrollLines.call(this,xe,He,st),this.refresh(0,this.rows-1)},_e.prototype.paste=function(xe){(0,O.paste)(xe,this.textarea,this.coreService)},_e.prototype.attachCustomKeyEventHandler=function(xe){this._customKeyEventHandler=xe},_e.prototype.registerLinkMatcher=function(xe,He,st){var tt=this.linkifier.registerLinkMatcher(xe,He,st);return this.refresh(0,this.rows-1),tt},_e.prototype.deregisterLinkMatcher=function(xe){this.linkifier.deregisterLinkMatcher(xe)&&this.refresh(0,this.rows-1)},_e.prototype.registerLinkProvider=function(xe){return this.linkifier2.registerLinkProvider(xe)},_e.prototype.registerCharacterJoiner=function(xe){if(!this._characterJoinerService)throw new Error("Terminal must be opened first");var He=this._characterJoinerService.register(xe);return this.refresh(0,this.rows-1),He},_e.prototype.deregisterCharacterJoiner=function(xe){if(!this._characterJoinerService)throw new Error("Terminal must be opened first");this._characterJoinerService.deregister(xe)&&this.refresh(0,this.rows-1)},Object.defineProperty(_e.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),_e.prototype.addMarker=function(xe){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+xe)},_e.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},_e.prototype.select=function(xe,He,st){this._selectionService.setSelection(xe,He,st)},_e.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},_e.prototype.getSelectionPosition=function(){if(this._selectionService&&this._selectionService.hasSelection)return{startColumn:this._selectionService.selectionStart[0],startRow:this._selectionService.selectionStart[1],endColumn:this._selectionService.selectionEnd[0],endRow:this._selectionService.selectionEnd[1]}},_e.prototype.clearSelection=function(){var xe;null===(xe=this._selectionService)||void 0===xe||xe.clearSelection()},_e.prototype.selectAll=function(){var xe;null===(xe=this._selectionService)||void 0===xe||xe.selectAll()},_e.prototype.selectLines=function(xe,He){var st;null===(st=this._selectionService)||void 0===st||st.selectLines(xe,He)},_e.prototype._keyDown=function(xe){if(this._keyDownHandled=!1,this._customKeyEventHandler&&!1===this._customKeyEventHandler(xe))return!1;if(!this._compositionHelper.keydown(xe))return this.buffer.ybase!==this.buffer.ydisp&&this._bufferService.scrollToBottom(),!1;"Dead"!==xe.key&&"AltGraph"!==xe.key||(this._unprocessedDeadKey=!0);var He=(0,W.evaluateKeyboardEvent)(xe,this.coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(xe),3===He.type||2===He.type){var st=this.rows-1;return this.scrollLines(2===He.type?-st:st),this.cancel(xe,!0)}return 1===He.type&&this.selectAll(),!!this._isThirdLevelShift(this.browser,xe)||(He.cancel&&this.cancel(xe,!0),!He.key||(this._unprocessedDeadKey?(this._unprocessedDeadKey=!1,!0):(He.key!==y.C0.ETX&&He.key!==y.C0.CR||(this.textarea.value=""),this._onKey.fire({key:He.key,domEvent:xe}),this._showCursor(),this.coreService.triggerDataEvent(He.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(xe,!0))))},_e.prototype._isThirdLevelShift=function(xe,He){var st=xe.isMac&&!this.options.macOptionIsMeta&&He.altKey&&!He.ctrlKey&&!He.metaKey||xe.isWindows&&He.altKey&&He.ctrlKey&&!He.metaKey||xe.isWindows&&He.getModifierState("AltGraph");return"keypress"===He.type?st:st&&(!He.keyCode||He.keyCode>47)},_e.prototype._keyUp=function(xe){var He;this._customKeyEventHandler&&!1===this._customKeyEventHandler(xe)||(16===(He=xe).keyCode||17===He.keyCode||18===He.keyCode||this.focus(),this.updateCursorStyle(xe),this._keyPressHandled=!1)},_e.prototype._keyPress=function(xe){var He;if(this._keyPressHandled=!1,this._keyDownHandled||this._customKeyEventHandler&&!1===this._customKeyEventHandler(xe))return!1;if(this.cancel(xe),xe.charCode)He=xe.charCode;else if(null==xe.which)He=xe.keyCode;else{if(0===xe.which||0===xe.charCode)return!1;He=xe.which}return!(!He||(xe.altKey||xe.ctrlKey||xe.metaKey)&&!this._isThirdLevelShift(this.browser,xe)||(He=String.fromCharCode(He),this._onKey.fire({key:He,domEvent:xe}),this._showCursor(),this.coreService.triggerDataEvent(He,!0),this._keyPressHandled=!0,0))},_e.prototype._inputEvent=function(xe){return!(!xe.data||"insertText"!==xe.inputType||this.optionsService.options.screenReaderMode||this._keyPressHandled||(this.coreService.triggerDataEvent(xe.data,!0),this.cancel(xe),0))},_e.prototype.bell=function(){var xe;this._soundBell()&&(null===(xe=this._soundService)||void 0===xe||xe.playBellSound()),this._onBell.fire()},_e.prototype.resize=function(xe,He){xe!==this.cols||He!==this.rows?bt.prototype.resize.call(this,xe,He):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},_e.prototype._afterResize=function(xe,He){var st,tt;null===(st=this._charSizeService)||void 0===st||st.measure(),null===(tt=this.viewport)||void 0===tt||tt.syncScrollArea(!0)},_e.prototype.clear=function(){if(0!==this.buffer.ybase||0!==this.buffer.y){this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var xe=1;xe<this.rows;xe++)this.buffer.lines.push(this.buffer.getBlankLine(ae.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire({position:this.buffer.ydisp,source:0})}},_e.prototype.reset=function(){var xe,He;this.options.rows=this.rows,this.options.cols=this.cols;var st=this._customKeyEventHandler;this._setup(),bt.prototype.reset.call(this),null===(xe=this._selectionService)||void 0===xe||xe.reset(),this._customKeyEventHandler=st,this.refresh(0,this.rows-1),null===(He=this.viewport)||void 0===He||He.syncScrollArea()},_e.prototype.clearTextureAtlas=function(){var xe;null===(xe=this._renderService)||void 0===xe||xe.clearTextureAtlas()},_e.prototype._reportFocus=function(){var xe;(null===(xe=this.element)||void 0===xe?void 0:xe.classList.contains("focus"))?this.coreService.triggerDataEvent(y.C0.ESC+"[I"):this.coreService.triggerDataEvent(y.C0.ESC+"[O")},_e.prototype._reportWindowsOptions=function(xe){if(this._renderService)switch(xe){case T.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var He=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),st=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this.coreService.triggerDataEvent(y.C0.ESC+"[4;"+st+";"+He+"t");break;case T.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var tt=this._renderService.dimensions.scaledCellWidth.toFixed(0),Zt=this._renderService.dimensions.scaledCellHeight.toFixed(0);this.coreService.triggerDataEvent(y.C0.ESC+"[6;"+Zt+";"+tt+"t")}},_e.prototype.cancel=function(xe,He){if(this.options.cancelEvents||He)return xe.preventDefault(),xe.stopPropagation(),!1},_e.prototype._visualBell=function(){return!1},_e.prototype._soundBell=function(){return"sound"===this.options.bellStyle},_e}(ge.CoreTerminal);w.Terminal=et},9924:function(L,w){Object.defineProperty(w,"__esModule",{value:!0}),w.TimeBasedDebouncer=void 0;var R=function(){function b(E,x){void 0===x&&(x=1e3),this._renderCallback=E,this._debounceThresholdMS=x,this._lastRefreshMs=0,this._additionalRefreshRequested=!1}return b.prototype.dispose=function(){this._refreshTimeoutID&&clearTimeout(this._refreshTimeoutID)},b.prototype.refresh=function(E,x,Z){var O=this;this._rowCount=Z,E=void 0!==E?E:0,x=void 0!==x?x:this._rowCount-1,this._rowStart=void 0!==this._rowStart?Math.min(this._rowStart,E):E,this._rowEnd=void 0!==this._rowEnd?Math.max(this._rowEnd,x):x;var y=Date.now();if(y-this._lastRefreshMs>=this._debounceThresholdMS)this._lastRefreshMs=y,this._innerRefresh();else if(!this._additionalRefreshRequested){var D=this._debounceThresholdMS-(y-this._lastRefreshMs);this._additionalRefreshRequested=!0,this._refreshTimeoutID=window.setTimeout(function(){O._lastRefreshMs=Date.now(),O._innerRefresh(),O._additionalRefreshRequested=!1,O._refreshTimeoutID=void 0},D)}},b.prototype._innerRefresh=function(){if(void 0!==this._rowStart&&void 0!==this._rowEnd&&void 0!==this._rowCount){var E=Math.max(this._rowStart,0),x=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._renderCallback(E,x)}},b}();w.TimeBasedDebouncer=R},1680:function(L,w,R){var b,E=this&&this.__extends||(b=function(M,k){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,I){S.__proto__=I}||function(S,I){for(var F in I)Object.prototype.hasOwnProperty.call(I,F)&&(S[F]=I[F])})(M,k)},function(g,M){if("function"!=typeof M&&null!==M)throw new TypeError("Class extends value "+String(M)+" is not a constructor or null");function k(){this.constructor=g}b(g,M),g.prototype=null===M?Object.create(M):(k.prototype=M.prototype,new k)}),x=this&&this.__decorate||function(g,M,k,S){var I,F=arguments.length,G=F<3?M:null===S?S=Object.getOwnPropertyDescriptor(M,k):S;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)G=Reflect.decorate(g,M,k,S);else for(var X=g.length-1;X>=0;X--)(I=g[X])&&(G=(F<3?I(G):F>3?I(M,k,G):I(M,k))||G);return F>3&&G&&Object.defineProperty(M,k,G),G},Z=this&&this.__param||function(g,M){return function(k,S){M(k,S,g)}};Object.defineProperty(w,"__esModule",{value:!0}),w.Viewport=void 0;var O=R(844),y=R(3656),T=R(4725),D=R(2585),v=function(g){function M(k,S,I,F,G,X,W,Y){var ae=g.call(this)||this;return ae._scrollLines=k,ae._viewportElement=S,ae._scrollArea=I,ae._element=F,ae._bufferService=G,ae._optionsService=X,ae._charSizeService=W,ae._renderService=Y,ae.scrollBarWidth=0,ae._currentRowHeight=0,ae._currentScaledCellHeight=0,ae._lastRecordedBufferLength=0,ae._lastRecordedViewportHeight=0,ae._lastRecordedBufferHeight=0,ae._lastTouchY=0,ae._lastScrollTop=0,ae._lastHadScrollBar=!1,ae._wheelPartialScroll=0,ae._refreshAnimationFrame=null,ae._ignoreNextScrollEvent=!1,ae.scrollBarWidth=ae._viewportElement.offsetWidth-ae._scrollArea.offsetWidth||15,ae._lastHadScrollBar=!0,ae.register((0,y.addDisposableDomListener)(ae._viewportElement,"scroll",ae._onScroll.bind(ae))),ae._activeBuffer=ae._bufferService.buffer,ae.register(ae._bufferService.buffers.onBufferActivate(function(K){return ae._activeBuffer=K.activeBuffer})),ae._renderDimensions=ae._renderService.dimensions,ae.register(ae._renderService.onDimensionsChange(function(K){return ae._renderDimensions=K})),setTimeout(function(){return ae.syncScrollArea()},0),ae}return E(M,g),M.prototype.onThemeChange=function(k){this._viewportElement.style.backgroundColor=k.background.css},M.prototype._refresh=function(k){var S=this;if(k)return this._innerRefresh(),void(null!==this._refreshAnimationFrame&&cancelAnimationFrame(this._refreshAnimationFrame));null===this._refreshAnimationFrame&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return S._innerRefresh()}))},M.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._currentScaledCellHeight=this._renderService.dimensions.scaledCellHeight,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var k=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==k&&(this._lastRecordedBufferHeight=k,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var S=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==S&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=S),this.scrollBarWidth=0===this._optionsService.options.scrollback?0:this._viewportElement.offsetWidth-this._scrollArea.offsetWidth||15,this._lastHadScrollBar=this.scrollBarWidth>0;var I=window.getComputedStyle(this._element),F=parseInt(I.paddingLeft)+parseInt(I.paddingRight);this._viewportElement.style.width=(this._renderService.dimensions.actualCellWidth*this._bufferService.cols+this.scrollBarWidth+(this._lastHadScrollBar?F:0)).toString()+"px",this._refreshAnimationFrame=null},M.prototype.syncScrollArea=function(k){if(void 0===k&&(k=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(k);this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight&&this._lastScrollTop===this._activeBuffer.ydisp*this._currentRowHeight&&this._renderDimensions.scaledCellHeight===this._currentScaledCellHeight?this._lastHadScrollBar!==this._optionsService.options.scrollback>0&&this._refresh(k):this._refresh(k)},M.prototype._onScroll=function(k){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent){if(this._ignoreNextScrollEvent)return this._ignoreNextScrollEvent=!1,void this._scrollLines(0);var S=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(S)}},M.prototype._bubbleScroll=function(k,S){return!(S<0&&0!==this._viewportElement.scrollTop||S>0&&this._viewportElement.scrollTop+this._lastRecordedViewportHeight<this._lastRecordedBufferHeight)||(k.cancelable&&k.preventDefault(),!1)},M.prototype.onWheel=function(k){var S=this._getPixelsScrolled(k);return 0!==S&&(this._viewportElement.scrollTop+=S,this._bubbleScroll(k,S))},M.prototype._getPixelsScrolled=function(k){if(0===k.deltaY)return 0;var S=this._applyScrollModifier(k.deltaY,k);return k.deltaMode===WheelEvent.DOM_DELTA_LINE?S*=this._currentRowHeight:k.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(S*=this._currentRowHeight*this._bufferService.rows),S},M.prototype.getLinesScrolled=function(k){if(0===k.deltaY)return 0;var S=this._applyScrollModifier(k.deltaY,k);return k.deltaMode===WheelEvent.DOM_DELTA_PIXEL?(this._wheelPartialScroll+=S/=this._currentRowHeight+0,S=Math.floor(Math.abs(this._wheelPartialScroll))*(this._wheelPartialScroll>0?1:-1),this._wheelPartialScroll%=1):k.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(S*=this._bufferService.rows),S},M.prototype._applyScrollModifier=function(k,S){var I=this._optionsService.options.fastScrollModifier;return"alt"===I&&S.altKey||"ctrl"===I&&S.ctrlKey||"shift"===I&&S.shiftKey?k*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:k*this._optionsService.options.scrollSensitivity},M.prototype.onTouchStart=function(k){this._lastTouchY=k.touches[0].pageY},M.prototype.onTouchMove=function(k){var S=this._lastTouchY-k.touches[0].pageY;return this._lastTouchY=k.touches[0].pageY,0!==S&&(this._viewportElement.scrollTop+=S,this._bubbleScroll(k,S))},x([Z(4,D.IBufferService),Z(5,D.IOptionsService),Z(6,T.ICharSizeService),Z(7,T.IRenderService)],M)}(O.Disposable);w.Viewport=v},2950:function(L,w,R){var b=this&&this.__decorate||function(y,T,D,v){var g,M=arguments.length,k=M<3?T:null===v?v=Object.getOwnPropertyDescriptor(T,D):v;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)k=Reflect.decorate(y,T,D,v);else for(var S=y.length-1;S>=0;S--)(g=y[S])&&(k=(M<3?g(k):M>3?g(T,D,k):g(T,D))||k);return M>3&&k&&Object.defineProperty(T,D,k),k},E=this&&this.__param||function(y,T){return function(D,v){T(D,v,y)}};Object.defineProperty(w,"__esModule",{value:!0}),w.CompositionHelper=void 0;var x=R(4725),Z=R(2585),O=function(){function y(T,D,v,g,M,k){this._textarea=T,this._compositionView=D,this._bufferService=v,this._optionsService=g,this._coreService=M,this._renderService=k,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0},this._dataAlreadySent=""}return Object.defineProperty(y.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),y.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._dataAlreadySent="",this._compositionView.classList.add("active")},y.prototype.compositionupdate=function(T){var D=this;this._compositionView.textContent=T.data,this.updateCompositionElements(),setTimeout(function(){D._compositionPosition.end=D._textarea.value.length},0)},y.prototype.compositionend=function(){this._finalizeComposition(!0)},y.prototype.keydown=function(T){if(this._isComposing||this._isSendingComposition){if(229===T.keyCode||16===T.keyCode||17===T.keyCode||18===T.keyCode)return!1;this._finalizeComposition(!1)}return 229!==T.keyCode||(this._handleAnyTextareaChanges(),!1)},y.prototype._finalizeComposition=function(T){var D=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,T){var v={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){var M;D._isSendingComposition&&(D._isSendingComposition=!1,v.start+=D._dataAlreadySent.length,(M=D._isComposing?D._textarea.value.substring(v.start,v.end):D._textarea.value.substring(v.start)).length>0&&D._coreService.triggerDataEvent(M,!0))},0)}else{this._isSendingComposition=!1;var g=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(g,!0)}},y.prototype._handleAnyTextareaChanges=function(){var T=this,D=this._textarea.value;setTimeout(function(){if(!T._isComposing){var v=T._textarea.value.replace(D,"");v.length>0&&(T._dataAlreadySent=v,T._coreService.triggerDataEvent(v,!0))}},0)},y.prototype.updateCompositionElements=function(T){var D=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var v=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),g=this._renderService.dimensions.actualCellHeight,M=this._bufferService.buffer.y*this._renderService.dimensions.actualCellHeight,k=v*this._renderService.dimensions.actualCellWidth;this._compositionView.style.left=k+"px",this._compositionView.style.top=M+"px",this._compositionView.style.height=g+"px",this._compositionView.style.lineHeight=g+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var S=this._compositionView.getBoundingClientRect();this._textarea.style.left=k+"px",this._textarea.style.top=M+"px",this._textarea.style.width=Math.max(S.width,1)+"px",this._textarea.style.height=Math.max(S.height,1)+"px",this._textarea.style.lineHeight=S.height+"px"}T||setTimeout(function(){return D.updateCompositionElements(!0)},0)}},b([E(2,Z.IBufferService),E(3,Z.IOptionsService),E(4,Z.ICoreService),E(5,x.IRenderService)],y)}();w.CompositionHelper=O},9806:function(L,w){function R(b,E){var x=E.getBoundingClientRect();return[b.clientX-x.left,b.clientY-x.top]}Object.defineProperty(w,"__esModule",{value:!0}),w.getRawByteCoords=w.getCoords=w.getCoordsRelativeToElement=void 0,w.getCoordsRelativeToElement=R,w.getCoords=function(b,E,x,Z,O,y,T,D){if(O){var v=R(b,E);if(v)return v[0]=Math.ceil((v[0]+(D?y/2:0))/y),v[1]=Math.ceil(v[1]/T),v[0]=Math.min(Math.max(v[0],1),x+(D?1:0)),v[1]=Math.min(Math.max(v[1],1),Z),v}},w.getRawByteCoords=function(b){if(b)return{x:b[0]+32,y:b[1]+32}}},9504:function(L,w,R){Object.defineProperty(w,"__esModule",{value:!0}),w.moveToCellSequence=void 0;var b=R(2584);function E(D,v,g,M){var k=D-x(g,D),S=v-x(g,v);return T(Math.abs(k-S)-function(F,G,X){for(var W=0,Y=F-x(X,F),ae=G-x(X,G),K=0;K<Math.abs(Y-ae);K++){var fe="A"===Z(F,G)?-1:1,ce=X.buffer.lines.get(Y+fe*K);ce&&ce.isWrapped&&W++}return W}(D,v,g),y(Z(D,v),M))}function x(D,v){for(var g=0,M=D.buffer.lines.get(v),k=M&&M.isWrapped;k&&v>=0&&v<D.rows;)g++,k=(M=D.buffer.lines.get(--v))&&M.isWrapped;return g}function Z(D,v){return D>v?"A":"B"}function O(D,v,g,M,k,S){for(var I=D,F=v,G="";I!==g||F!==M;)I+=k?1:-1,k&&I>S.cols-1?(G+=S.buffer.translateBufferLineToString(F,!1,D,I),I=0,D=0,F++):!k&&I<0&&(G+=S.buffer.translateBufferLineToString(F,!1,0,D+1),D=I=S.cols-1,F--);return G+S.buffer.translateBufferLineToString(F,!1,D,I)}function y(D,v){return b.C0.ESC+(v?"O":"[")+D}function T(D,v){D=Math.floor(D);for(var g="",M=0;M<D;M++)g+=v;return g}w.moveToCellSequence=function(D,v,g,M){var k,G,X,ae,K,S=g.buffer.x,I=g.buffer.y;if(!g.buffer.hasScrollback)return G=S,(0===E(X=I,v,ae=g,K=M).length?"":T(O(G,X,G,X-x(ae,X),!1,ae).length,y("D",K)))+E(I,v,g,M)+function(G,X,W,Y,ae,K){var fe;fe=E(X,Y,ae,K).length>0?Y-x(ae,Y):X;var de,oe,Ce,ge,qe,Qe,ce=Y,he=(de=G,oe=X,Qe=E(Ce=W,ge=Y,qe=ae,K).length>0?ge-x(qe,ge):oe,de<Ce&&Qe<=ge||de>=Ce&&Qe<ge?"C":"D");return T(O(G,fe,W,ce,"C"===he,ae).length,y(he,K))}(S,I,D,v,g,M);if(I===v)return k=S>D?"D":"C",T(Math.abs(S-D),y(k,M));k=I>v?"D":"C";var F=Math.abs(I-v);return T(function(G,X){return X.cols-G}(I>v?D:S,g)+(F-1)*g.cols+1+((I>v?S:D)-1),y(k,M))}},1546:function(L,w,R){Object.defineProperty(w,"__esModule",{value:!0}),w.BaseRenderLayer=void 0;var b=R(643),E=R(8803),x=R(1420),Z=R(3734),O=R(1752),y=R(4774),T=R(9631),D=R(8978),v=function(){function g(M,k,S,I,F,G,X,W){this._container=M,this._alpha=I,this._colors=F,this._rendererId=G,this._bufferService=X,this._optionsService=W,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+k+"-layer"),this._canvas.style.zIndex=S.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return g.prototype.dispose=function(){var M;(0,T.removeElementFromParent)(this._canvas),null===(M=this._charAtlas)||void 0===M||M.dispose()},g.prototype._initCanvas=function(){this._ctx=(0,O.throwIfFalsy)(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},g.prototype.onOptionsChanged=function(){},g.prototype.onBlur=function(){},g.prototype.onFocus=function(){},g.prototype.onCursorMove=function(){},g.prototype.onGridChanged=function(M,k){},g.prototype.onSelectionChanged=function(M,k,S){void 0===S&&(S=!1)},g.prototype.setColors=function(M){this._refreshCharAtlas(M)},g.prototype._setTransparency=function(M){if(M!==this._alpha){var k=this._canvas;this._alpha=M,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,k),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},g.prototype._refreshCharAtlas=function(M){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=(0,x.acquireCharAtlas)(this._optionsService.options,this._rendererId,M,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},g.prototype.resize=function(M){this._scaledCellWidth=M.scaledCellWidth,this._scaledCellHeight=M.scaledCellHeight,this._scaledCharWidth=M.scaledCharWidth,this._scaledCharHeight=M.scaledCharHeight,this._scaledCharLeft=M.scaledCharLeft,this._scaledCharTop=M.scaledCharTop,this._canvas.width=M.scaledCanvasWidth,this._canvas.height=M.scaledCanvasHeight,this._canvas.style.width=M.canvasWidth+"px",this._canvas.style.height=M.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},g.prototype.clearTextureAtlas=function(){var M;null===(M=this._charAtlas)||void 0===M||M.clear()},g.prototype._fillCells=function(M,k,S,I){this._ctx.fillRect(M*this._scaledCellWidth,k*this._scaledCellHeight,S*this._scaledCellWidth,I*this._scaledCellHeight)},g.prototype._fillMiddleLineAtCells=function(M,k,S){void 0===S&&(S=1);var I=Math.ceil(.5*this._scaledCellHeight);this._ctx.fillRect(M*this._scaledCellWidth,(k+1)*this._scaledCellHeight-I-window.devicePixelRatio,S*this._scaledCellWidth,window.devicePixelRatio)},g.prototype._fillBottomLineAtCells=function(M,k,S){void 0===S&&(S=1),this._ctx.fillRect(M*this._scaledCellWidth,(k+1)*this._scaledCellHeight-window.devicePixelRatio-1,S*this._scaledCellWidth,window.devicePixelRatio)},g.prototype._fillLeftLineAtCell=function(M,k,S){this._ctx.fillRect(M*this._scaledCellWidth,k*this._scaledCellHeight,window.devicePixelRatio*S,this._scaledCellHeight)},g.prototype._strokeRectAtCell=function(M,k,S,I){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(M*this._scaledCellWidth+window.devicePixelRatio/2,k*this._scaledCellHeight+window.devicePixelRatio/2,S*this._scaledCellWidth-window.devicePixelRatio,I*this._scaledCellHeight-window.devicePixelRatio)},g.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},g.prototype._clearCells=function(M,k,S,I){this._alpha?this._ctx.clearRect(M*this._scaledCellWidth,k*this._scaledCellHeight,S*this._scaledCellWidth,I*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(M*this._scaledCellWidth,k*this._scaledCellHeight,S*this._scaledCellWidth,I*this._scaledCellHeight))},g.prototype._fillCharTrueColor=function(M,k,S){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline=E.TEXT_BASELINE,this._clipRow(S);var I=!1;!1!==this._optionsService.options.customGlyphs&&(I=(0,D.tryDrawCustomChar)(this._ctx,M.getChars(),k*this._scaledCellWidth,S*this._scaledCellHeight,this._scaledCellWidth,this._scaledCellHeight)),I||this._ctx.fillText(M.getChars(),k*this._scaledCellWidth+this._scaledCharLeft,S*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight)},g.prototype._drawChars=function(M,k,S){var I,F,G=this._getContrastColor(M);G||M.isFgRGB()||M.isBgRGB()?this._drawUncachedChars(M,k,S,G):(M.isInverse()?(I=M.isBgDefault()?E.INVERTED_DEFAULT_COLOR:M.getBgColor(),F=M.isFgDefault()?E.INVERTED_DEFAULT_COLOR:M.getFgColor()):(F=M.isBgDefault()?b.DEFAULT_COLOR:M.getBgColor(),I=M.isFgDefault()?b.DEFAULT_COLOR:M.getFgColor()),I+=this._optionsService.options.drawBoldTextInBrightColors&&M.isBold()&&I<8?8:0,this._currentGlyphIdentifier.chars=M.getChars()||b.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=M.getCode()||b.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=F,this._currentGlyphIdentifier.fg=I,this._currentGlyphIdentifier.bold=!!M.isBold(),this._currentGlyphIdentifier.dim=!!M.isDim(),this._currentGlyphIdentifier.italic=!!M.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,k*this._scaledCellWidth+this._scaledCharLeft,S*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(M,k,S))},g.prototype._drawUncachedChars=function(M,k,S,I){if(this._ctx.save(),this._ctx.font=this._getFont(!!M.isBold(),!!M.isItalic()),this._ctx.textBaseline=E.TEXT_BASELINE,M.isInverse())if(I)this._ctx.fillStyle=I.css;else if(M.isBgDefault())this._ctx.fillStyle=y.color.opaque(this._colors.background).css;else if(M.isBgRGB())this._ctx.fillStyle="rgb("+Z.AttributeData.toColorRGB(M.getBgColor()).join(",")+")";else{var F=M.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&M.isBold()&&F<8&&(F+=8),this._ctx.fillStyle=this._colors.ansi[F].css}else if(I)this._ctx.fillStyle=I.css;else if(M.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(M.isFgRGB())this._ctx.fillStyle="rgb("+Z.AttributeData.toColorRGB(M.getFgColor()).join(",")+")";else{var G=M.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&M.isBold()&&G<8&&(G+=8),this._ctx.fillStyle=this._colors.ansi[G].css}this._clipRow(S),M.isDim()&&(this._ctx.globalAlpha=E.DIM_OPACITY);var X=!1;!1!==this._optionsService.options.customGlyphs&&(X=(0,D.tryDrawCustomChar)(this._ctx,M.getChars(),k*this._scaledCellWidth,S*this._scaledCellHeight,this._scaledCellWidth,this._scaledCellHeight)),X||this._ctx.fillText(M.getChars(),k*this._scaledCellWidth+this._scaledCharLeft,S*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight),this._ctx.restore()},g.prototype._clipRow=function(M){this._ctx.beginPath(),this._ctx.rect(0,M*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},g.prototype._getFont=function(M,k){return(k?"italic":"")+" "+(M?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},g.prototype._getContrastColor=function(M){if(1!==this._optionsService.options.minimumContrastRatio){var k=this._colors.contrastCache.getColor(M.bg,M.fg);if(void 0!==k)return k||void 0;var S=M.getFgColor(),I=M.getFgColorMode(),F=M.getBgColor(),G=M.getBgColorMode(),X=!!M.isInverse(),W=!!M.isInverse();if(X){var Y=S;S=F,F=Y;var ae=I;I=G,G=ae}var K=this._resolveBackgroundRgba(G,F,X),fe=this._resolveForegroundRgba(I,S,X,W),ce=y.rgba.ensureContrastRatio(K,fe,this._optionsService.options.minimumContrastRatio);if(ce){var he={css:y.channels.toCss(ce>>24&255,ce>>16&255,ce>>8&255),rgba:ce};return this._colors.contrastCache.setColor(M.bg,M.fg,he),he}this._colors.contrastCache.setColor(M.bg,M.fg,null)}},g.prototype._resolveBackgroundRgba=function(M,k,S){switch(M){case 16777216:case 33554432:return this._colors.ansi[k].rgba;case 50331648:return k<<8;default:return S?this._colors.foreground.rgba:this._colors.background.rgba}},g.prototype._resolveForegroundRgba=function(M,k,S,I){switch(M){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&I&&k<8&&(k+=8),this._colors.ansi[k].rgba;case 50331648:return k<<8;default:return S?this._colors.background.rgba:this._colors.foreground.rgba}},g}();w.BaseRenderLayer=v},2512:function(L,w,R){var b,E=this&&this.__extends||(b=function(S,I){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,G){F.__proto__=G}||function(F,G){for(var X in G)Object.prototype.hasOwnProperty.call(G,X)&&(F[X]=G[X])})(S,I)},function(k,S){if("function"!=typeof S&&null!==S)throw new TypeError("Class extends value "+String(S)+" is not a constructor or null");function I(){this.constructor=k}b(k,S),k.prototype=null===S?Object.create(S):(I.prototype=S.prototype,new I)}),x=this&&this.__decorate||function(k,S,I,F){var G,X=arguments.length,W=X<3?S:null===F?F=Object.getOwnPropertyDescriptor(S,I):F;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)W=Reflect.decorate(k,S,I,F);else for(var Y=k.length-1;Y>=0;Y--)(G=k[Y])&&(W=(X<3?G(W):X>3?G(S,I,W):G(S,I))||W);return X>3&&W&&Object.defineProperty(S,I,W),W},Z=this&&this.__param||function(k,S){return function(I,F){S(I,F,k)}};Object.defineProperty(w,"__esModule",{value:!0}),w.CursorRenderLayer=void 0;var O=R(1546),y=R(511),T=R(2585),D=R(4725),v=600,g=function(k){function S(I,F,G,X,W,Y,ae,K,fe){var ce=k.call(this,I,"cursor",F,!0,G,X,Y,ae)||this;return ce._onRequestRedraw=W,ce._coreService=K,ce._coreBrowserService=fe,ce._cell=new y.CellData,ce._state={x:0,y:0,isFocused:!1,style:"",width:0},ce._cursorRenderers={bar:ce._renderBarCursor.bind(ce),block:ce._renderBlockCursor.bind(ce),underline:ce._renderUnderlineCursor.bind(ce)},ce}return E(S,k),S.prototype.dispose=function(){this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0),k.prototype.dispose.call(this)},S.prototype.resize=function(I){k.prototype.resize.call(this,I),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},S.prototype.reset=function(){var I;this._clearCursor(),null===(I=this._cursorBlinkStateManager)||void 0===I||I.restartBlinkAnimation(),this.onOptionsChanged()},S.prototype.onBlur=function(){var I;null===(I=this._cursorBlinkStateManager)||void 0===I||I.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},S.prototype.onFocus=function(){var I;null===(I=this._cursorBlinkStateManager)||void 0===I||I.resume(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},S.prototype.onOptionsChanged=function(){var I,F=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new M(this._coreBrowserService.isFocused,function(){F._render(!0)})):(null===(I=this._cursorBlinkStateManager)||void 0===I||I.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},S.prototype.onCursorMove=function(){var I;null===(I=this._cursorBlinkStateManager)||void 0===I||I.restartBlinkAnimation()},S.prototype.onGridChanged=function(I,F){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},S.prototype._render=function(I){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var F=this._bufferService.buffer.ybase+this._bufferService.buffer.y,G=F-this._bufferService.buffer.ydisp;if(G<0||G>=this._bufferService.rows)this._clearCursor();else{var X=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(F).loadCell(X,this._cell),void 0!==this._cell.content){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var W=this._optionsService.options.cursorStyle;return W&&"block"!==W?this._cursorRenderers[W](X,G,this._cell):this._renderBlurCursor(X,G,this._cell),this._ctx.restore(),this._state.x=X,this._state.y=G,this._state.isFocused=!1,this._state.style=W,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===X&&this._state.y===G&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](X,G,this._cell),this._ctx.restore(),this._state.x=X,this._state.y=G,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},S.prototype._clearCursor=function(){this._state&&(window.devicePixelRatio<1?this._clearAll():this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})},S.prototype._renderBarCursor=function(I,F,G){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(I,F,this._optionsService.options.cursorWidth),this._ctx.restore()},S.prototype._renderBlockCursor=function(I,F,G){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(I,F,G.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(G,I,F),this._ctx.restore()},S.prototype._renderUnderlineCursor=function(I,F,G){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(I,F),this._ctx.restore()},S.prototype._renderBlurCursor=function(I,F,G){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(I,F,G.getWidth(),1),this._ctx.restore()},x([Z(5,T.IBufferService),Z(6,T.IOptionsService),Z(7,T.ICoreService),Z(8,D.ICoreBrowserService)],S)}(O.BaseRenderLayer);w.CursorRenderLayer=g;var M=function(){function k(S,I){this._renderCallback=I,this.isCursorVisible=!0,S&&this._restartInterval()}return Object.defineProperty(k.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),k.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},k.prototype.restartBlinkAnimation=function(){var S=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){S._renderCallback(),S._animationFrame=void 0})))},k.prototype._restartInterval=function(S){var I=this;void 0===S&&(S=v),this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout=window.setTimeout(function(){if(I._animationTimeRestarted){var F=v-(Date.now()-I._animationTimeRestarted);if(I._animationTimeRestarted=void 0,F>0)return void I._restartInterval(F)}I.isCursorVisible=!1,I._animationFrame=window.requestAnimationFrame(function(){I._renderCallback(),I._animationFrame=void 0}),I._blinkInterval=window.setInterval(function(){if(I._animationTimeRestarted){var G=v-(Date.now()-I._animationTimeRestarted);return I._animationTimeRestarted=void 0,void I._restartInterval(G)}I.isCursorVisible=!I.isCursorVisible,I._animationFrame=window.requestAnimationFrame(function(){I._renderCallback(),I._animationFrame=void 0})},v)},S)},k.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},k.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},k}()},8978:function(L,w,R){var b,E,x,Z,O,y,T,D,v,g,M,k,S,I,F,G,X,W,Y,ae,K,fe,ce,he,de,oe,Ce,ge,qe,De,Qe,et,bt,_e,xe,He,st,tt,Zt,Tt,mt,Yt,un,Ut,Mn,On,Fn,Zn,Vn,zn,Wn,nr,ar,Sr,Qn,rn,_n,kt,Ye,Me,ne,be,Fe,Ge,vt,At,Vt,Kt,on,hn,yn,Cn,Nt,Lt,Ct,Ot,ht,lt,_t,we,je,Re,Xe,pt,Ft,Xt,Tn,Dn,ai,Qr,xi,oi,Hi,ga,da,Vi,pa,Aa,Ha,Kr,Ei,Zi,Ht,Gt,ft,Et,jt,Qt,bn,Pn,rr,dr,ni,Rr,Gn,ji,Mr,na,fa,pi,Ka,_a,ha,Wr,bs,Vo,Oo,Mi;Object.defineProperty(w,"__esModule",{value:!0}),w.tryDrawCustomChar=w.boxDrawingDefinitions=w.blockElementDefinitions=void 0;var ka=R(1752);w.blockElementDefinitions={"\u2580":[{x:0,y:0,w:8,h:4}],"\u2581":[{x:0,y:7,w:8,h:1}],"\u2582":[{x:0,y:6,w:8,h:2}],"\u2583":[{x:0,y:5,w:8,h:3}],"\u2584":[{x:0,y:4,w:8,h:4}],"\u2585":[{x:0,y:3,w:8,h:5}],"\u2586":[{x:0,y:2,w:8,h:6}],"\u2587":[{x:0,y:1,w:8,h:7}],"\u2588":[{x:0,y:0,w:8,h:8}],"\u2589":[{x:0,y:0,w:7,h:8}],"\u258a":[{x:0,y:0,w:6,h:8}],"\u258b":[{x:0,y:0,w:5,h:8}],"\u258c":[{x:0,y:0,w:4,h:8}],"\u258d":[{x:0,y:0,w:3,h:8}],"\u258e":[{x:0,y:0,w:2,h:8}],"\u258f":[{x:0,y:0,w:1,h:8}],"\u2590":[{x:4,y:0,w:4,h:8}],"\u2594":[{x:0,y:0,w:9,h:1}],"\u2595":[{x:7,y:0,w:1,h:8}],"\u2596":[{x:0,y:4,w:4,h:4}],"\u2597":[{x:4,y:4,w:4,h:4}],"\u2598":[{x:0,y:0,w:4,h:4}],"\u2599":[{x:0,y:0,w:4,h:8},{x:0,y:4,w:8,h:4}],"\u259a":[{x:0,y:0,w:4,h:4},{x:4,y:4,w:4,h:4}],"\u259b":[{x:0,y:0,w:4,h:8},{x:0,y:0,w:4,h:8}],"\u259c":[{x:0,y:0,w:8,h:4},{x:4,y:0,w:4,h:8}],"\u259d":[{x:4,y:0,w:4,h:4}],"\u259e":[{x:4,y:0,w:4,h:4},{x:0,y:4,w:4,h:4}],"\u259f":[{x:4,y:0,w:4,h:8},{x:0,y:4,w:8,h:4}],"\ud83e\udf70":[{x:1,y:0,w:1,h:8}],"\ud83e\udf71":[{x:2,y:0,w:1,h:8}],"\ud83e\udf72":[{x:3,y:0,w:1,h:8}],"\ud83e\udf73":[{x:4,y:0,w:1,h:8}],"\ud83e\udf74":[{x:5,y:0,w:1,h:8}],"\ud83e\udf75":[{x:6,y:0,w:1,h:8}],"\ud83e\udf76":[{x:0,y:1,w:8,h:1}],"\ud83e\udf77":[{x:0,y:2,w:8,h:1}],"\ud83e\udf78":[{x:0,y:3,w:8,h:1}],"\ud83e\udf79":[{x:0,y:4,w:8,h:1}],"\ud83e\udf7a":[{x:0,y:5,w:8,h:1}],"\ud83e\udf7b":[{x:0,y:6,w:8,h:1}],"\ud83e\udf7c":[{x:0,y:0,w:1,h:8},{x:0,y:7,w:8,h:1}],"\ud83e\udf7d":[{x:0,y:0,w:1,h:8},{x:0,y:0,w:8,h:1}],"\ud83e\udf7e":[{x:7,y:0,w:1,h:8},{x:0,y:0,w:8,h:1}],"\ud83e\udf7f":[{x:7,y:0,w:1,h:8},{x:0,y:7,w:8,h:1}],"\ud83e\udf80":[{x:0,y:0,w:8,h:1},{x:0,y:7,w:8,h:1}],"\ud83e\udf81":[{x:0,y:0,w:8,h:1},{x:0,y:2,w:8,h:1},{x:0,y:4,w:8,h:1},{x:0,y:7,w:8,h:1}],"\ud83e\udf82":[{x:0,y:0,w:8,h:2}],"\ud83e\udf83":[{x:0,y:0,w:8,h:3}],"\ud83e\udf84":[{x:0,y:0,w:8,h:5}],"\ud83e\udf85":[{x:0,y:0,w:8,h:6}],"\ud83e\udf86":[{x:0,y:0,w:8,h:7}],"\ud83e\udf87":[{x:6,y:0,w:2,h:8}],"\ud83e\udf88":[{x:5,y:0,w:3,h:8}],"\ud83e\udf89":[{x:3,y:0,w:5,h:8}],"\ud83e\udf8a":[{x:2,y:0,w:6,h:8}],"\ud83e\udf8b":[{x:1,y:0,w:7,h:8}],"\ud83e\udf95":[{x:0,y:0,w:2,h:2},{x:4,y:0,w:2,h:2},{x:2,y:2,w:2,h:2},{x:6,y:2,w:2,h:2},{x:0,y:4,w:2,h:2},{x:4,y:4,w:2,h:2},{x:2,y:6,w:2,h:2},{x:6,y:6,w:2,h:2}],"\ud83e\udf96":[{x:2,y:0,w:2,h:2},{x:6,y:0,w:2,h:2},{x:0,y:2,w:2,h:2},{x:4,y:2,w:2,h:2},{x:2,y:4,w:2,h:2},{x:6,y:4,w:2,h:2},{x:0,y:6,w:2,h:2},{x:4,y:6,w:2,h:2}],"\ud83e\udf97":[{x:0,y:2,w:8,h:2},{x:0,y:6,w:8,h:2}]};var Gr={"\u2591":[[1,0,0,0],[0,0,0,0],[0,0,1,0],[0,0,0,0]],"\u2592":[[1,0],[0,0],[0,1],[0,0]],"\u2593":[[0,1],[1,1],[1,0],[1,1]]};w.boxDrawingDefinitions={"\u2500":(b={},b[1]="M0,.5 L1,.5",b),"\u2501":(E={},E[3]="M0,.5 L1,.5",E),"\u2502":(x={},x[1]="M.5,0 L.5,1",x),"\u2503":(Z={},Z[3]="M.5,0 L.5,1",Z),"\u250c":(O={},O[1]="M0.5,1 L.5,.5 L1,.5",O),"\u250f":(y={},y[3]="M0.5,1 L.5,.5 L1,.5",y),"\u2510":(T={},T[1]="M0,.5 L.5,.5 L.5,1",T),"\u2513":(D={},D[3]="M0,.5 L.5,.5 L.5,1",D),"\u2514":(v={},v[1]="M.5,0 L.5,.5 L1,.5",v),"\u2517":(g={},g[3]="M.5,0 L.5,.5 L1,.5",g),"\u2518":(M={},M[1]="M.5,0 L.5,.5 L0,.5",M),"\u251b":(k={},k[3]="M.5,0 L.5,.5 L0,.5",k),"\u251c":(S={},S[1]="M.5,0 L.5,1 M.5,.5 L1,.5",S),"\u2523":(I={},I[3]="M.5,0 L.5,1 M.5,.5 L1,.5",I),"\u2524":(F={},F[1]="M.5,0 L.5,1 M.5,.5 L0,.5",F),"\u252b":(G={},G[3]="M.5,0 L.5,1 M.5,.5 L0,.5",G),"\u252c":(X={},X[1]="M0,.5 L1,.5 M.5,.5 L.5,1",X),"\u2533":(W={},W[3]="M0,.5 L1,.5 M.5,.5 L.5,1",W),"\u2534":(Y={},Y[1]="M0,.5 L1,.5 M.5,.5 L.5,0",Y),"\u253b":(ae={},ae[3]="M0,.5 L1,.5 M.5,.5 L.5,0",ae),"\u253c":(K={},K[1]="M0,.5 L1,.5 M.5,0 L.5,1",K),"\u254b":(fe={},fe[3]="M0,.5 L1,.5 M.5,0 L.5,1",fe),"\u2574":(ce={},ce[1]="M.5,.5 L0,.5",ce),"\u2578":(he={},he[3]="M.5,.5 L0,.5",he),"\u2575":(de={},de[1]="M.5,.5 L.5,0",de),"\u2579":(oe={},oe[3]="M.5,.5 L.5,0",oe),"\u2576":(Ce={},Ce[1]="M.5,.5 L1,.5",Ce),"\u257a":(ge={},ge[3]="M.5,.5 L1,.5",ge),"\u2577":(qe={},qe[1]="M.5,.5 L.5,1",qe),"\u257b":(De={},De[3]="M.5,.5 L.5,1",De),"\u2550":(Qe={},Qe[1]=function(pn,fn){return"M0,"+(.5-fn)+" L1,"+(.5-fn)+" M0,"+(.5+fn)+" L1,"+(.5+fn)},Qe),"\u2551":(et={},et[1]=function(pn,fn){return"M"+(.5-pn)+",0 L"+(.5-pn)+",1 M"+(.5+pn)+",0 L"+(.5+pn)+",1"},et),"\u2552":(bt={},bt[1]=function(pn,fn){return"M.5,1 L.5,"+(.5-fn)+" L1,"+(.5-fn)+" M.5,"+(.5+fn)+" L1,"+(.5+fn)},bt),"\u2553":(_e={},_e[1]=function(pn,fn){return"M"+(.5-pn)+",1 L"+(.5-pn)+",.5 L1,.5 M"+(.5+pn)+",.5 L"+(.5+pn)+",1"},_e),"\u2554":(xe={},xe[1]=function(pn,fn){return"M1,"+(.5-fn)+" L"+(.5-pn)+","+(.5-fn)+" L"+(.5-pn)+",1 M1,"+(.5+fn)+" L"+(.5+pn)+","+(.5+fn)+" L"+(.5+pn)+",1"},xe),"\u2555":(He={},He[1]=function(pn,fn){return"M0,"+(.5-fn)+" L.5,"+(.5-fn)+" L.5,1 M0,"+(.5+fn)+" L.5,"+(.5+fn)},He),"\u2556":(st={},st[1]=function(pn,fn){return"M"+(.5+pn)+",1 L"+(.5+pn)+",.5 L0,.5 M"+(.5-pn)+",.5 L"+(.5-pn)+",1"},st),"\u2557":(tt={},tt[1]=function(pn,fn){return"M0,"+(.5+fn)+" L"+(.5-pn)+","+(.5+fn)+" L"+(.5-pn)+",1 M0,"+(.5-fn)+" L"+(.5+pn)+","+(.5-fn)+" L"+(.5+pn)+",1"},tt),"\u2558":(Zt={},Zt[1]=function(pn,fn){return"M.5,0 L.5,"+(.5+fn)+" L1,"+(.5+fn)+" M.5,"+(.5-fn)+" L1,"+(.5-fn)},Zt),"\u2559":(Tt={},Tt[1]=function(pn,fn){return"M1,.5 L"+(.5-pn)+",.5 L"+(.5-pn)+",0 M"+(.5+pn)+",.5 L"+(.5+pn)+",0"},Tt),"\u255a":(mt={},mt[1]=function(pn,fn){return"M1,"+(.5-fn)+" L"+(.5+pn)+","+(.5-fn)+" L"+(.5+pn)+",0 M1,"+(.5+fn)+" L"+(.5-pn)+","+(.5+fn)+" L"+(.5-pn)+",0"},mt),"\u255b":(Yt={},Yt[1]=function(pn,fn){return"M0,"+(.5+fn)+" L.5,"+(.5+fn)+" L.5,0 M0,"+(.5-fn)+" L.5,"+(.5-fn)},Yt),"\u255c":(un={},un[1]=function(pn,fn){return"M0,.5 L"+(.5+pn)+",.5 L"+(.5+pn)+",0 M"+(.5-pn)+",.5 L"+(.5-pn)+",0"},un),"\u255d":(Ut={},Ut[1]=function(pn,fn){return"M0,"+(.5-fn)+" L"+(.5-pn)+","+(.5-fn)+" L"+(.5-pn)+",0 M0,"+(.5+fn)+" L"+(.5+pn)+","+(.5+fn)+" L"+(.5+pn)+",0"},Ut),"\u255e":(Mn={},Mn[1]=function(pn,fn){return"M.5,0 L.5,1 M.5,"+(.5-fn)+" L1,"+(.5-fn)+" M.5,"+(.5+fn)+" L1,"+(.5+fn)},Mn),"\u255f":(On={},On[1]=function(pn,fn){return"M"+(.5-pn)+",0 L"+(.5-pn)+",1 M"+(.5+pn)+",0 L"+(.5+pn)+",1 M"+(.5+pn)+",.5 L1,.5"},On),"\u2560":(Fn={},Fn[1]=function(pn,fn){return"M"+(.5-pn)+",0 L"+(.5-pn)+",1 M1,"+(.5+fn)+" L"+(.5+pn)+","+(.5+fn)+" L"+(.5+pn)+",1 M1,"+(.5-fn)+" L"+(.5+pn)+","+(.5-fn)+" L"+(.5+pn)+",0"},Fn),"\u2561":(Zn={},Zn[1]=function(pn,fn){return"M.5,0 L.5,1 M0,"+(.5-fn)+" L.5,"+(.5-fn)+" M0,"+(.5+fn)+" L.5,"+(.5+fn)},Zn),"\u2562":(Vn={},Vn[1]=function(pn,fn){return"M0,.5 L"+(.5-pn)+",.5 M"+(.5-pn)+",0 L"+(.5-pn)+",1 M"+(.5+pn)+",0 L"+(.5+pn)+",1"},Vn),"\u2563":(zn={},zn[1]=function(pn,fn){return"M"+(.5+pn)+",0 L"+(.5+pn)+",1 M0,"+(.5+fn)+" L"+(.5-pn)+","+(.5+fn)+" L"+(.5-pn)+",1 M0,"+(.5-fn)+" L"+(.5-pn)+","+(.5-fn)+" L"+(.5-pn)+",0"},zn),"\u2564":(Wn={},Wn[1]=function(pn,fn){return"M0,"+(.5-fn)+" L1,"+(.5-fn)+" M0,"+(.5+fn)+" L1,"+(.5+fn)+" M.5,"+(.5+fn)+" L.5,1"},Wn),"\u2565":(nr={},nr[1]=function(pn,fn){return"M0,.5 L1,.5 M"+(.5-pn)+",.5 L"+(.5-pn)+",1 M"+(.5+pn)+",.5 L"+(.5+pn)+",1"},nr),"\u2566":(ar={},ar[1]=function(pn,fn){return"M0,"+(.5-fn)+" L1,"+(.5-fn)+" M0,"+(.5+fn)+" L"+(.5-pn)+","+(.5+fn)+" L"+(.5-pn)+",1 M1,"+(.5+fn)+" L"+(.5+pn)+","+(.5+fn)+" L"+(.5+pn)+",1"},ar),"\u2567":(Sr={},Sr[1]=function(pn,fn){return"M.5,0 L.5,"+(.5-fn)+" M0,"+(.5-fn)+" L1,"+(.5-fn)+" M0,"+(.5+fn)+" L1,"+(.5+fn)},Sr),"\u2568":(Qn={},Qn[1]=function(pn,fn){return"M0,.5 L1,.5 M"+(.5-pn)+",.5 L"+(.5-pn)+",0 M"+(.5+pn)+",.5 L"+(.5+pn)+",0"},Qn),"\u2569":(rn={},rn[1]=function(pn,fn){return"M0,"+(.5+fn)+" L1,"+(.5+fn)+" M0,"+(.5-fn)+" L"+(.5-pn)+","+(.5-fn)+" L"+(.5-pn)+",0 M1,"+(.5-fn)+" L"+(.5+pn)+","+(.5-fn)+" L"+(.5+pn)+",0"},rn),"\u256a":(_n={},_n[1]=function(pn,fn){return"M.5,0 L.5,1 M0,"+(.5-fn)+" L1,"+(.5-fn)+" M0,"+(.5+fn)+" L1,"+(.5+fn)},_n),"\u256b":(kt={},kt[1]=function(pn,fn){return"M0,.5 L1,.5 M"+(.5-pn)+",0 L"+(.5-pn)+",1 M"+(.5+pn)+",0 L"+(.5+pn)+",1"},kt),"\u256c":(Ye={},Ye[1]=function(pn,fn){return"M0,"+(.5+fn)+" L"+(.5-pn)+","+(.5+fn)+" L"+(.5-pn)+",1 M1,"+(.5+fn)+" L"+(.5+pn)+","+(.5+fn)+" L"+(.5+pn)+",1 M0,"+(.5-fn)+" L"+(.5-pn)+","+(.5-fn)+" L"+(.5-pn)+",0 M1,"+(.5-fn)+" L"+(.5+pn)+","+(.5-fn)+" L"+(.5+pn)+",0"},Ye),"\u2571":(Me={},Me[1]="M1,0 L0,1",Me),"\u2572":(ne={},ne[1]="M0,0 L1,1",ne),"\u2573":(be={},be[1]="M1,0 L0,1 M0,0 L1,1",be),"\u257c":(Fe={},Fe[1]="M.5,.5 L0,.5",Fe[3]="M.5,.5 L1,.5",Fe),"\u257d":(Ge={},Ge[1]="M.5,.5 L.5,0",Ge[3]="M.5,.5 L.5,1",Ge),"\u257e":(vt={},vt[1]="M.5,.5 L1,.5",vt[3]="M.5,.5 L0,.5",vt),"\u257f":(At={},At[1]="M.5,.5 L.5,1",At[3]="M.5,.5 L.5,0",At),"\u250d":(Vt={},Vt[1]="M.5,.5 L.5,1",Vt[3]="M.5,.5 L1,.5",Vt),"\u250e":(Kt={},Kt[1]="M.5,.5 L1,.5",Kt[3]="M.5,.5 L.5,1",Kt),"\u2511":(on={},on[1]="M.5,.5 L.5,1",on[3]="M.5,.5 L0,.5",on),"\u2512":(hn={},hn[1]="M.5,.5 L0,.5",hn[3]="M.5,.5 L.5,1",hn),"\u2515":(yn={},yn[1]="M.5,.5 L.5,0",yn[3]="M.5,.5 L1,.5",yn),"\u2516":(Cn={},Cn[1]="M.5,.5 L1,.5",Cn[3]="M.5,.5 L.5,0",Cn),"\u2519":(Nt={},Nt[1]="M.5,.5 L.5,0",Nt[3]="M.5,.5 L0,.5",Nt),"\u251a":(Lt={},Lt[1]="M.5,.5 L0,.5",Lt[3]="M.5,.5 L.5,0",Lt),"\u251d":(Ct={},Ct[1]="M.5,0 L.5,1",Ct[3]="M.5,.5 L1,.5",Ct),"\u251e":(Ot={},Ot[1]="M0.5,1 L.5,.5 L1,.5",Ot[3]="M.5,.5 L.5,0",Ot),"\u251f":(ht={},ht[1]="M.5,0 L.5,.5 L1,.5",ht[3]="M.5,.5 L.5,1",ht),"\u2520":(lt={},lt[1]="M.5,.5 L1,.5",lt[3]="M.5,0 L.5,1",lt),"\u2521":(_t={},_t[1]="M.5,.5 L.5,1",_t[3]="M.5,0 L.5,.5 L1,.5",_t),"\u2522":(we={},we[1]="M.5,.5 L.5,0",we[3]="M0.5,1 L.5,.5 L1,.5",we),"\u2525":(je={},je[1]="M.5,0 L.5,1",je[3]="M.5,.5 L0,.5",je),"\u2526":(Re={},Re[1]="M0,.5 L.5,.5 L.5,1",Re[3]="M.5,.5 L.5,0",Re),"\u2527":(Xe={},Xe[1]="M.5,0 L.5,.5 L0,.5",Xe[3]="M.5,.5 L.5,1",Xe),"\u2528":(pt={},pt[1]="M.5,.5 L0,.5",pt[3]="M.5,0 L.5,1",pt),"\u2529":(Ft={},Ft[1]="M.5,.5 L.5,1",Ft[3]="M.5,0 L.5,.5 L0,.5",Ft),"\u252a":(Xt={},Xt[1]="M.5,.5 L.5,0",Xt[3]="M0,.5 L.5,.5 L.5,1",Xt),"\u252d":(Tn={},Tn[1]="M0.5,1 L.5,.5 L1,.5",Tn[3]="M.5,.5 L0,.5",Tn),"\u252e":(Dn={},Dn[1]="M0,.5 L.5,.5 L.5,1",Dn[3]="M.5,.5 L1,.5",Dn),"\u252f":(ai={},ai[1]="M.5,.5 L.5,1",ai[3]="M0,.5 L1,.5",ai),"\u2530":(Qr={},Qr[1]="M0,.5 L1,.5",Qr[3]="M.5,.5 L.5,1",Qr),"\u2531":(xi={},xi[1]="M.5,.5 L1,.5",xi[3]="M0,.5 L.5,.5 L.5,1",xi),"\u2532":(oi={},oi[1]="M.5,.5 L0,.5",oi[3]="M0.5,1 L.5,.5 L1,.5",oi),"\u2535":(Hi={},Hi[1]="M.5,0 L.5,.5 L1,.5",Hi[3]="M.5,.5 L0,.5",Hi),"\u2536":(ga={},ga[1]="M.5,0 L.5,.5 L0,.5",ga[3]="M.5,.5 L1,.5",ga),"\u2537":(da={},da[1]="M.5,.5 L.5,0",da[3]="M0,.5 L1,.5",da),"\u2538":(Vi={},Vi[1]="M0,.5 L1,.5",Vi[3]="M.5,.5 L.5,0",Vi),"\u2539":(pa={},pa[1]="M.5,.5 L1,.5",pa[3]="M.5,0 L.5,.5 L0,.5",pa),"\u253a":(Aa={},Aa[1]="M.5,.5 L0,.5",Aa[3]="M.5,0 L.5,.5 L1,.5",Aa),"\u253d":(Ha={},Ha[1]="M.5,0 L.5,1 M.5,.5 L1,.5",Ha[3]="M.5,.5 L0,.5",Ha),"\u253e":(Kr={},Kr[1]="M.5,0 L.5,1 M.5,.5 L0,.5",Kr[3]="M.5,.5 L1,.5",Kr),"\u253f":(Ei={},Ei[1]="M.5,0 L.5,1",Ei[3]="M0,.5 L1,.5",Ei),"\u2540":(Zi={},Zi[1]="M0,.5 L1,.5 M.5,.5 L.5,1",Zi[3]="M.5,.5 L.5,0",Zi),"\u2541":(Ht={},Ht[1]="M.5,.5 L.5,0 M0,.5 L1,.5",Ht[3]="M.5,.5 L.5,1",Ht),"\u2542":(Gt={},Gt[1]="M0,.5 L1,.5",Gt[3]="M.5,0 L.5,1",Gt),"\u2543":(ft={},ft[1]="M0.5,1 L.5,.5 L1,.5",ft[3]="M.5,0 L.5,.5 L0,.5",ft),"\u2544":(Et={},Et[1]="M0,.5 L.5,.5 L.5,1",Et[3]="M.5,0 L.5,.5 L1,.5",Et),"\u2545":(jt={},jt[1]="M.5,0 L.5,.5 L1,.5",jt[3]="M0,.5 L.5,.5 L.5,1",jt),"\u2546":(Qt={},Qt[1]="M.5,0 L.5,.5 L0,.5",Qt[3]="M0.5,1 L.5,.5 L1,.5",Qt),"\u2547":(bn={},bn[1]="M.5,.5 L.5,1",bn[3]="M.5,.5 L.5,0 M0,.5 L1,.5",bn),"\u2548":(Pn={},Pn[1]="M.5,.5 L.5,0",Pn[3]="M0,.5 L1,.5 M.5,.5 L.5,1",Pn),"\u2549":(rr={},rr[1]="M.5,.5 L1,.5",rr[3]="M.5,0 L.5,1 M.5,.5 L0,.5",rr),"\u254a":(dr={},dr[1]="M.5,.5 L0,.5",dr[3]="M.5,0 L.5,1 M.5,.5 L1,.5",dr),"\u254c":(ni={},ni[1]="M.1,.5 L.4,.5 M.6,.5 L.9,.5",ni),"\u254d":(Rr={},Rr[3]="M.1,.5 L.4,.5 M.6,.5 L.9,.5",Rr),"\u2504":(Gn={},Gn[1]="M.0667,.5 L.2667,.5 M.4,.5 L.6,.5 M.7333,.5 L.9333,.5",Gn),"\u2505":(ji={},ji[3]="M.0667,.5 L.2667,.5 M.4,.5 L.6,.5 M.7333,.5 L.9333,.5",ji),"\u2508":(Mr={},Mr[1]="M.05,.5 L.2,.5 M.3,.5 L.45,.5 M.55,.5 L.7,.5 M.8,.5 L.95,.5",Mr),"\u2509":(na={},na[3]="M.05,.5 L.2,.5 M.3,.5 L.45,.5 M.55,.5 L.7,.5 M.8,.5 L.95,.5",na),"\u254e":(fa={},fa[1]="M.5,.1 L.5,.4 M.5,.6 L.5,.9",fa),"\u254f":(pi={},pi[3]="M.5,.1 L.5,.4 M.5,.6 L.5,.9",pi),"\u2506":(Ka={},Ka[1]="M.5,.0667 L.5,.2667 M.5,.4 L.5,.6 M.5,.7333 L.5,.9333",Ka),"\u2507":(_a={},_a[3]="M.5,.0667 L.5,.2667 M.5,.4 L.5,.6 M.5,.7333 L.5,.9333",_a),"\u250a":(ha={},ha[1]="M.5,.05 L.5,.2 M.5,.3 L.5,.45 L.5,.55 M.5,.7 L.5,.95",ha),"\u250b":(Wr={},Wr[3]="M.5,.05 L.5,.2 M.5,.3 L.5,.45 L.5,.55 M.5,.7 L.5,.95",Wr),"\u256d":(bs={},bs[1]="C.5,1,.5,.5,1,.5",bs),"\u256e":(Vo={},Vo[1]="C.5,1,.5,.5,0,.5",Vo),"\u256f":(Oo={},Oo[1]="C.5,0,.5,.5,0,.5",Oo),"\u2570":(Mi={},Mi[1]="C.5,0,.5,.5,1,.5",Mi)},w.tryDrawCustomChar=function(pn,fn,vr,ya,ra,Ii){var Va=w.blockElementDefinitions[fn];if(Va)return function(hi,aa,rs,is,yo,as){for(var wa=0;wa<aa.length;wa++){var Xi=aa[wa],Ni=yo/8,bo=as/8;hi.fillRect(rs+Xi.x*Ni,is+Xi.y*bo,Xi.w*Ni,Xi.h*bo)}}(pn,Va,vr,ya,ra,Ii),!0;var ia=Gr[fn];if(ia)return function(hi,aa,rs,is,yo,as){var wa,Xi=fi.get(aa);Xi||(Xi=new Map,fi.set(aa,Xi));var Ni=hi.fillStyle;if("string"!=typeof Ni)throw new Error('Unexpected fillStyle type "'+Ni+'"');var bo=Xi.get(Ni);if(!bo){var ba=aa[0].length,Co=aa.length,Xa=document.createElement("canvas");Xa.width=ba,Xa.height=Co;var mr=(0,ka.throwIfFalsy)(Xa.getContext("2d")),Rn=new ImageData(ba,Co),$a=void 0,Fi=void 0,os=void 0,or=void 0;if(Ni.startsWith("#"))$a=parseInt(Ni.substr(1,2),16),Fi=parseInt(Ni.substr(3,2),16),os=parseInt(Ni.substr(5,2),16),or=Ni.length>7&&parseInt(Ni.substr(7,2),16)||1;else{if(!Ni.startsWith("rgba"))throw new Error('Unexpected fillStyle color format "'+Ni+'" when drawing pattern glyph');$a=(wa=Ni.substring(5,Ni.length-1).split(",").map(function(ss){return parseFloat(ss)}))[0],Fi=wa[1],os=wa[2],or=wa[3]}for(var mi=0;mi<Co;mi++)for(var eo=0;eo<ba;eo++)Rn.data[4*(mi*ba+eo)]=$a,Rn.data[4*(mi*ba+eo)+1]=Fi,Rn.data[4*(mi*ba+eo)+2]=os,Rn.data[4*(mi*ba+eo)+3]=aa[mi][eo]*(255*or);mr.putImageData(Rn,0,0),bo=(0,ka.throwIfFalsy)(hi.createPattern(Xa,null)),Xi.set(Ni,bo)}hi.fillStyle=bo,hi.fillRect(rs,is,yo,as)}(pn,ia,vr,ya,ra,Ii),!0;var Po=w.boxDrawingDefinitions[fn];return!!Po&&(function(hi,aa,rs,is,yo,as){hi.strokeStyle=hi.fillStyle;for(var wa=0,Xi=Object.entries(aa);wa<Xi.length;wa++){var Ni=Xi[wa],bo=Ni[0],ba=Ni[1];hi.beginPath(),hi.lineWidth=window.devicePixelRatio*Number.parseInt(bo);for(var Co=0,Xa=("function"==typeof ba?ba(.15,.15/as*yo):ba).split(" ");Co<Xa.length;Co++){var mr=Xa[Co],Rn=mr[0],$a=Pi[Rn];if($a){var Fi=mr.substring(1).split(",");Fi[0]&&Fi[1]&&$a(hi,Li(Fi,yo,as,rs,is))}else console.error('Could not find drawing instructions for "'+Rn+'"')}hi.stroke(),hi.closePath()}}(pn,Po,vr,ya,ra,Ii),!0)};var fi=new Map;function Qi(pn,fn,vr){return void 0===vr&&(vr=0),Math.max(Math.min(pn,fn),vr)}var Pi={C:function(fn,vr){return fn.bezierCurveTo(vr[0],vr[1],vr[2],vr[3],vr[4],vr[5])},L:function(fn,vr){return fn.lineTo(vr[0],vr[1])},M:function(fn,vr){return fn.moveTo(vr[0],vr[1])}};function Li(pn,fn,vr,ya,ra){var Ii=pn.map(function(Po){return parseFloat(Po)||parseInt(Po)});if(Ii.length<2)throw new Error("Too few arguments for instruction");for(var Va=0;Va<Ii.length;Va+=2)Ii[Va]*=fn,0!==Ii[Va]&&(Ii[Va]=Qi(Math.round(Ii[Va]+.5)-.5,fn,0)),Ii[Va]+=ya;for(var ia=1;ia<Ii.length;ia+=2)Ii[ia]*=vr,0!==Ii[ia]&&(Ii[ia]=Qi(Math.round(Ii[ia]+.5)-.5,vr,0)),Ii[ia]+=ra;return Ii}},3700:function(L,w){Object.defineProperty(w,"__esModule",{value:!0}),w.GridCache=void 0;var R=function(){function b(){this.cache=[]}return b.prototype.resize=function(E,x){for(var Z=0;Z<E;Z++){this.cache.length<=Z&&this.cache.push([]);for(var O=this.cache[Z].length;O<x;O++)this.cache[Z].push(void 0);this.cache[Z].length=x}this.cache.length=E},b.prototype.clear=function(){for(var E=0;E<this.cache.length;E++)for(var x=0;x<this.cache[E].length;x++)this.cache[E][x]=void 0},b}();w.GridCache=R},5098:function(L,w,R){var b,E=this&&this.__extends||(b=function(M,k){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,I){S.__proto__=I}||function(S,I){for(var F in I)Object.prototype.hasOwnProperty.call(I,F)&&(S[F]=I[F])})(M,k)},function(g,M){if("function"!=typeof M&&null!==M)throw new TypeError("Class extends value "+String(M)+" is not a constructor or null");function k(){this.constructor=g}b(g,M),g.prototype=null===M?Object.create(M):(k.prototype=M.prototype,new k)}),x=this&&this.__decorate||function(g,M,k,S){var I,F=arguments.length,G=F<3?M:null===S?S=Object.getOwnPropertyDescriptor(M,k):S;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)G=Reflect.decorate(g,M,k,S);else for(var X=g.length-1;X>=0;X--)(I=g[X])&&(G=(F<3?I(G):F>3?I(M,k,G):I(M,k))||G);return F>3&&G&&Object.defineProperty(M,k,G),G},Z=this&&this.__param||function(g,M){return function(k,S){M(k,S,g)}};Object.defineProperty(w,"__esModule",{value:!0}),w.LinkRenderLayer=void 0;var O=R(1546),y=R(8803),T=R(2040),D=R(2585),v=function(g){function M(k,S,I,F,G,X,W,Y){var ae=g.call(this,k,"link",S,!0,I,F,W,Y)||this;return G.onShowLinkUnderline(function(K){return ae._onShowLinkUnderline(K)}),G.onHideLinkUnderline(function(K){return ae._onHideLinkUnderline(K)}),X.onShowLinkUnderline(function(K){return ae._onShowLinkUnderline(K)}),X.onHideLinkUnderline(function(K){return ae._onHideLinkUnderline(K)}),ae}return E(M,g),M.prototype.resize=function(k){g.prototype.resize.call(this,k),this._state=void 0},M.prototype.reset=function(){this._clearCurrentLink()},M.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var k=this._state.y2-this._state.y1-1;k>0&&this._clearCells(0,this._state.y1+1,this._state.cols,k),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},M.prototype._onShowLinkUnderline=function(k){if(this._ctx.fillStyle=k.fg===y.INVERTED_DEFAULT_COLOR?this._colors.background.css:k.fg&&(0,T.is256Color)(k.fg)?this._colors.ansi[k.fg].css:this._colors.foreground.css,k.y1===k.y2)this._fillBottomLineAtCells(k.x1,k.y1,k.x2-k.x1);else{this._fillBottomLineAtCells(k.x1,k.y1,k.cols-k.x1);for(var S=k.y1+1;S<k.y2;S++)this._fillBottomLineAtCells(0,S,k.cols);this._fillBottomLineAtCells(0,k.y2,k.x2)}this._state=k},M.prototype._onHideLinkUnderline=function(k){this._clearCurrentLink()},x([Z(6,D.IBufferService),Z(7,D.IOptionsService)],M)}(O.BaseRenderLayer);w.LinkRenderLayer=v},3525:function(L,w,R){var b,E=this&&this.__extends||(b=function(X,W){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Y,ae){Y.__proto__=ae}||function(Y,ae){for(var K in ae)Object.prototype.hasOwnProperty.call(ae,K)&&(Y[K]=ae[K])})(X,W)},function(G,X){if("function"!=typeof X&&null!==X)throw new TypeError("Class extends value "+String(X)+" is not a constructor or null");function W(){this.constructor=G}b(G,X),G.prototype=null===X?Object.create(X):(W.prototype=X.prototype,new W)}),x=this&&this.__decorate||function(G,X,W,Y){var ae,K=arguments.length,fe=K<3?X:null===Y?Y=Object.getOwnPropertyDescriptor(X,W):Y;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)fe=Reflect.decorate(G,X,W,Y);else for(var ce=G.length-1;ce>=0;ce--)(ae=G[ce])&&(fe=(K<3?ae(fe):K>3?ae(X,W,fe):ae(X,W))||fe);return K>3&&fe&&Object.defineProperty(X,W,fe),fe},Z=this&&this.__param||function(G,X){return function(W,Y){X(W,Y,G)}};Object.defineProperty(w,"__esModule",{value:!0}),w.Renderer=void 0;var O=R(9596),y=R(4149),T=R(2512),D=R(5098),v=R(844),g=R(4725),M=R(2585),k=R(1420),S=R(8460),I=1,F=function(G){function X(W,Y,ae,K,fe,ce,he,de){var oe=G.call(this)||this;return oe._colors=W,oe._screenElement=Y,oe._bufferService=ce,oe._charSizeService=he,oe._optionsService=de,oe._id=I++,oe._onRequestRedraw=new S.EventEmitter,oe._renderLayers=[fe.createInstance(O.TextRenderLayer,oe._screenElement,0,oe._colors,oe._optionsService.options.allowTransparency,oe._id),fe.createInstance(y.SelectionRenderLayer,oe._screenElement,1,oe._colors,oe._id),fe.createInstance(D.LinkRenderLayer,oe._screenElement,2,oe._colors,oe._id,ae,K),fe.createInstance(T.CursorRenderLayer,oe._screenElement,3,oe._colors,oe._id,oe._onRequestRedraw)],oe.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},oe._devicePixelRatio=window.devicePixelRatio,oe._updateDimensions(),oe.onOptionsChanged(),oe}return E(X,G),Object.defineProperty(X.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),X.prototype.dispose=function(){for(var W=0,Y=this._renderLayers;W<Y.length;W++)Y[W].dispose();G.prototype.dispose.call(this),(0,k.removeTerminalFromCache)(this._id)},X.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},X.prototype.setColors=function(W){this._colors=W;for(var Y=0,ae=this._renderLayers;Y<ae.length;Y++){var K=ae[Y];K.setColors(this._colors),K.reset()}},X.prototype.onResize=function(W,Y){this._updateDimensions();for(var ae=0,K=this._renderLayers;ae<K.length;ae++)K[ae].resize(this.dimensions);this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},X.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},X.prototype.onBlur=function(){this._runOperation(function(W){return W.onBlur()})},X.prototype.onFocus=function(){this._runOperation(function(W){return W.onFocus()})},X.prototype.onSelectionChanged=function(W,Y,ae){void 0===ae&&(ae=!1),this._runOperation(function(K){return K.onSelectionChanged(W,Y,ae)})},X.prototype.onCursorMove=function(){this._runOperation(function(W){return W.onCursorMove()})},X.prototype.onOptionsChanged=function(){this._runOperation(function(W){return W.onOptionsChanged()})},X.prototype.clear=function(){this._runOperation(function(W){return W.reset()})},X.prototype._runOperation=function(W){for(var Y=0,ae=this._renderLayers;Y<ae.length;Y++)W(ae[Y])},X.prototype.renderRows=function(W,Y){for(var ae=0,K=this._renderLayers;ae<K.length;ae++)K[ae].onGridChanged(W,Y)},X.prototype.clearTextureAtlas=function(){for(var W=0,Y=this._renderLayers;W<Y.length;W++)Y[W].clearTextureAtlas()},X.prototype._updateDimensions=function(){this._charSizeService.hasValidSize&&(this.dimensions.scaledCharWidth=Math.floor(this._charSizeService.width*window.devicePixelRatio),this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharTop=1===this._optionsService.options.lineHeight?0:Math.round((this.dimensions.scaledCellHeight-this.dimensions.scaledCharHeight)/2),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCharLeft=Math.floor(this._optionsService.options.letterSpacing/2),this.dimensions.scaledCanvasHeight=this._bufferService.rows*this.dimensions.scaledCellHeight,this.dimensions.scaledCanvasWidth=this._bufferService.cols*this.dimensions.scaledCellWidth,this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols)},x([Z(4,M.IInstantiationService),Z(5,M.IBufferService),Z(6,g.ICharSizeService),Z(7,M.IOptionsService)],X)}(v.Disposable);w.Renderer=F},1752:function(L,w){Object.defineProperty(w,"__esModule",{value:!0}),w.throwIfFalsy=void 0,w.throwIfFalsy=function(R){if(!R)throw new Error("value must not be falsy");return R}},4149:function(L,w,R){var b,E=this&&this.__extends||(b=function(v,g){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(M,k){M.__proto__=k}||function(M,k){for(var S in k)Object.prototype.hasOwnProperty.call(k,S)&&(M[S]=k[S])})(v,g)},function(D,v){if("function"!=typeof v&&null!==v)throw new TypeError("Class extends value "+String(v)+" is not a constructor or null");function g(){this.constructor=D}b(D,v),D.prototype=null===v?Object.create(v):(g.prototype=v.prototype,new g)}),x=this&&this.__decorate||function(D,v,g,M){var k,S=arguments.length,I=S<3?v:null===M?M=Object.getOwnPropertyDescriptor(v,g):M;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)I=Reflect.decorate(D,v,g,M);else for(var F=D.length-1;F>=0;F--)(k=D[F])&&(I=(S<3?k(I):S>3?k(v,g,I):k(v,g))||I);return S>3&&I&&Object.defineProperty(v,g,I),I},Z=this&&this.__param||function(D,v){return function(g,M){v(g,M,D)}};Object.defineProperty(w,"__esModule",{value:!0}),w.SelectionRenderLayer=void 0;var O=R(1546),y=R(2585),T=function(D){function v(g,M,k,S,I,F){var G=D.call(this,g,"selection",M,!0,k,S,I,F)||this;return G._clearState(),G}return E(v,D),v.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},v.prototype.resize=function(g){D.prototype.resize.call(this,g),this._clearState()},v.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},v.prototype.onSelectionChanged=function(g,M,k){if(this._didStateChange(g,M,k,this._bufferService.buffer.ydisp))if(this._clearAll(),g&&M){var S=g[1]-this._bufferService.buffer.ydisp,I=M[1]-this._bufferService.buffer.ydisp,F=Math.max(S,0),G=Math.min(I,this._bufferService.rows-1);if(F>=this._bufferService.rows||G<0)this._state.ydisp=this._bufferService.buffer.ydisp;else{if(this._ctx.fillStyle=this._colors.selectionTransparent.css,k){var X=g[0];this._fillCells(X,F,M[0]-X,G-F+1)}else{this._fillCells(X=S===F?g[0]:0,F,(F===I?M[0]:this._bufferService.cols)-X,1);var K=Math.max(G-F-1,0);this._fillCells(0,F+1,this._bufferService.cols,K),F!==G&&this._fillCells(0,G,I===G?M[0]:this._bufferService.cols,1)}this._state.start=[g[0],g[1]],this._state.end=[M[0],M[1]],this._state.columnSelectMode=k,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},v.prototype._didStateChange=function(g,M,k,S){return!this._areCoordinatesEqual(g,this._state.start)||!this._areCoordinatesEqual(M,this._state.end)||k!==this._state.columnSelectMode||S!==this._state.ydisp},v.prototype._areCoordinatesEqual=function(g,M){return!(!g||!M)&&g[0]===M[0]&&g[1]===M[1]},x([Z(4,y.IBufferService),Z(5,y.IOptionsService)],v)}(O.BaseRenderLayer);w.SelectionRenderLayer=T},9596:function(L,w,R){var b,E=this&&this.__extends||(b=function(F,G){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(X,W){X.__proto__=W}||function(X,W){for(var Y in W)Object.prototype.hasOwnProperty.call(W,Y)&&(X[Y]=W[Y])})(F,G)},function(I,F){if("function"!=typeof F&&null!==F)throw new TypeError("Class extends value "+String(F)+" is not a constructor or null");function G(){this.constructor=I}b(I,F),I.prototype=null===F?Object.create(F):(G.prototype=F.prototype,new G)}),x=this&&this.__decorate||function(I,F,G,X){var W,Y=arguments.length,ae=Y<3?F:null===X?X=Object.getOwnPropertyDescriptor(F,G):X;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ae=Reflect.decorate(I,F,G,X);else for(var K=I.length-1;K>=0;K--)(W=I[K])&&(ae=(Y<3?W(ae):Y>3?W(F,G,ae):W(F,G))||ae);return Y>3&&ae&&Object.defineProperty(F,G,ae),ae},Z=this&&this.__param||function(I,F){return function(G,X){F(G,X,I)}};Object.defineProperty(w,"__esModule",{value:!0}),w.TextRenderLayer=void 0;var O=R(3700),y=R(1546),T=R(3734),D=R(643),v=R(511),g=R(2585),M=R(4725),k=R(4269),S=function(I){function F(G,X,W,Y,ae,K,fe,ce){var he=I.call(this,G,"text",X,Y,W,ae,K,fe)||this;return he._characterJoinerService=ce,he._characterWidth=0,he._characterFont="",he._characterOverlapCache={},he._workCell=new v.CellData,he._state=new O.GridCache,he}return E(F,I),F.prototype.resize=function(G){I.prototype.resize.call(this,G);var X=this._getFont(!1,!1);this._characterWidth===G.scaledCharWidth&&this._characterFont===X||(this._characterWidth=G.scaledCharWidth,this._characterFont=X,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},F.prototype.reset=function(){this._state.clear(),this._clearAll()},F.prototype._forEachCell=function(G,X,W){for(var Y=G;Y<=X;Y++)for(var ae=Y+this._bufferService.buffer.ydisp,K=this._bufferService.buffer.lines.get(ae),fe=this._characterJoinerService.getJoinedCharacters(ae),ce=0;ce<this._bufferService.cols;ce++){K.loadCell(ce,this._workCell);var he=this._workCell,de=!1,oe=ce;if(0!==he.getWidth()){if(fe.length>0&&ce===fe[0][0]){de=!0;var Ce=fe.shift();he=new k.JoinedCellData(this._workCell,K.translateToString(!0,Ce[0],Ce[1]),Ce[1]-Ce[0]),oe=Ce[1]-1}!de&&this._isOverlapping(he)&&oe<K.length-1&&K.getCodePoint(oe+1)===D.NULL_CELL_CODE&&(he.content&=-12582913,he.content|=2<<22),W(he,ce,Y),ce=oe}}},F.prototype._drawBackground=function(G,X){var W=this,Y=this._ctx,ae=this._bufferService.cols,K=0,fe=0,ce=null;Y.save(),this._forEachCell(G,X,function(he,de,oe){var Ce=null;he.isInverse()?Ce=he.isFgDefault()?W._colors.foreground.css:he.isFgRGB()?"rgb("+T.AttributeData.toColorRGB(he.getFgColor()).join(",")+")":W._colors.ansi[he.getFgColor()].css:he.isBgRGB()?Ce="rgb("+T.AttributeData.toColorRGB(he.getBgColor()).join(",")+")":he.isBgPalette()&&(Ce=W._colors.ansi[he.getBgColor()].css),null===ce&&(K=de,fe=oe),oe!==fe?(Y.fillStyle=ce||"",W._fillCells(K,fe,ae-K,1),K=de,fe=oe):ce!==Ce&&(Y.fillStyle=ce||"",W._fillCells(K,fe,de-K,1),K=de,fe=oe),ce=Ce}),null!==ce&&(Y.fillStyle=ce,this._fillCells(K,fe,ae-K,1)),Y.restore()},F.prototype._drawForeground=function(G,X){var W=this;this._forEachCell(G,X,function(Y,ae,K){if(!Y.isInvisible()&&(W._drawChars(Y,ae,K),Y.isUnderline()||Y.isStrikethrough())){if(W._ctx.save(),Y.isInverse())if(Y.isBgDefault())W._ctx.fillStyle=W._colors.background.css;else if(Y.isBgRGB())W._ctx.fillStyle="rgb("+T.AttributeData.toColorRGB(Y.getBgColor()).join(",")+")";else{var fe=Y.getBgColor();W._optionsService.options.drawBoldTextInBrightColors&&Y.isBold()&&fe<8&&(fe+=8),W._ctx.fillStyle=W._colors.ansi[fe].css}else if(Y.isFgDefault())W._ctx.fillStyle=W._colors.foreground.css;else if(Y.isFgRGB())W._ctx.fillStyle="rgb("+T.AttributeData.toColorRGB(Y.getFgColor()).join(",")+")";else{var ce=Y.getFgColor();W._optionsService.options.drawBoldTextInBrightColors&&Y.isBold()&&ce<8&&(ce+=8),W._ctx.fillStyle=W._colors.ansi[ce].css}Y.isStrikethrough()&&W._fillMiddleLineAtCells(ae,K,Y.getWidth()),Y.isUnderline()&&W._fillBottomLineAtCells(ae,K,Y.getWidth()),W._ctx.restore()}})},F.prototype.onGridChanged=function(G,X){0!==this._state.cache.length&&(this._charAtlas&&this._charAtlas.beginFrame(),this._clearCells(0,G,this._bufferService.cols,X-G+1),this._drawBackground(G,X),this._drawForeground(G,X))},F.prototype.onOptionsChanged=function(){this._setTransparency(this._optionsService.options.allowTransparency)},F.prototype._isOverlapping=function(G){if(1!==G.getWidth()||G.getCode()<256)return!1;var X=G.getChars();if(this._characterOverlapCache.hasOwnProperty(X))return this._characterOverlapCache[X];this._ctx.save(),this._ctx.font=this._characterFont;var W=Math.floor(this._ctx.measureText(X).width)>this._characterWidth;return this._ctx.restore(),this._characterOverlapCache[X]=W,W},x([Z(5,g.IBufferService),Z(6,g.IOptionsService),Z(7,M.ICharacterJoinerService)],F)}(y.BaseRenderLayer);w.TextRenderLayer=S},9616:function(L,w){Object.defineProperty(w,"__esModule",{value:!0}),w.BaseCharAtlas=void 0;var R=function(){function b(){this._didWarmUp=!1}return b.prototype.dispose=function(){},b.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},b.prototype._doWarmUp=function(){},b.prototype.clear=function(){},b.prototype.beginFrame=function(){},b}();w.BaseCharAtlas=R},1420:function(L,w,R){Object.defineProperty(w,"__esModule",{value:!0}),w.removeTerminalFromCache=w.acquireCharAtlas=void 0;var b=R(2040),E=R(1906),x=[];w.acquireCharAtlas=function(Z,O,y,T,D){for(var v=(0,b.generateConfig)(T,D,Z,y),g=0;g<x.length;g++){var M=(k=x[g]).ownedBy.indexOf(O);if(M>=0){if((0,b.configEquals)(k.config,v))return k.atlas;1===k.ownedBy.length?(k.atlas.dispose(),x.splice(g,1)):k.ownedBy.splice(M,1);break}}for(g=0;g<x.length;g++){var k=x[g];if((0,b.configEquals)(k.config,v))return k.ownedBy.push(O),k.atlas}var S={atlas:new E.DynamicCharAtlas(document,v),config:v,ownedBy:[O]};return x.push(S),S.atlas},w.removeTerminalFromCache=function(Z){for(var O=0;O<x.length;O++){var y=x[O].ownedBy.indexOf(Z);if(-1!==y){1===x[O].ownedBy.length?(x[O].atlas.dispose(),x.splice(O,1)):x[O].ownedBy.splice(y,1);break}}}},2040:function(L,w,R){Object.defineProperty(w,"__esModule",{value:!0}),w.is256Color=w.configEquals=w.generateConfig=void 0;var b=R(643);w.generateConfig=function(E,x,Z,O){return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:E,scaledCharHeight:x,fontFamily:Z.fontFamily,fontSize:Z.fontSize,fontWeight:Z.fontWeight,fontWeightBold:Z.fontWeightBold,allowTransparency:Z.allowTransparency,colors:{foreground:O.foreground,background:O.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:O.ansi}}},w.configEquals=function(E,x){for(var Z=0;Z<E.colors.ansi.length;Z++)if(E.colors.ansi[Z].rgba!==x.colors.ansi[Z].rgba)return!1;return E.devicePixelRatio===x.devicePixelRatio&&E.fontFamily===x.fontFamily&&E.fontSize===x.fontSize&&E.fontWeight===x.fontWeight&&E.fontWeightBold===x.fontWeightBold&&E.allowTransparency===x.allowTransparency&&E.scaledCharWidth===x.scaledCharWidth&&E.scaledCharHeight===x.scaledCharHeight&&E.colors.foreground===x.colors.foreground&&E.colors.background===x.colors.background},w.is256Color=function(E){return E<b.DEFAULT_COLOR}},8803:function(L,w,R){Object.defineProperty(w,"__esModule",{value:!0}),w.CHAR_ATLAS_CELL_SPACING=w.TEXT_BASELINE=w.DIM_OPACITY=w.INVERTED_DEFAULT_COLOR=void 0;var b=R(6114);w.INVERTED_DEFAULT_COLOR=257,w.DIM_OPACITY=.5,w.TEXT_BASELINE=b.isFirefox?"bottom":"ideographic",w.CHAR_ATLAS_CELL_SPACING=1},1906:function(L,w,R){var b,E=this&&this.__extends||(b=function(W,Y){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ae,K){ae.__proto__=K}||function(ae,K){for(var fe in K)Object.prototype.hasOwnProperty.call(K,fe)&&(ae[fe]=K[fe])})(W,Y)},function(X,W){if("function"!=typeof W&&null!==W)throw new TypeError("Class extends value "+String(W)+" is not a constructor or null");function Y(){this.constructor=X}b(X,W),X.prototype=null===W?Object.create(W):(Y.prototype=W.prototype,new Y)});Object.defineProperty(w,"__esModule",{value:!0}),w.NoneCharAtlas=w.DynamicCharAtlas=w.getGlyphCacheKey=void 0;var x=R(8803),Z=R(9616),O=R(5680),y=R(7001),T=R(6114),D=R(1752),v=R(4774),g=1024,M=1024,k={css:"rgba(0, 0, 0, 0)",rgba:0};function S(X){return X.code<<21|X.bg<<12|X.fg<<3|(X.bold?0:4)+(X.dim?0:2)+(X.italic?0:1)}w.getGlyphCacheKey=S;var I=function(X){function W(Y,ae){var K=X.call(this)||this;K._config=ae,K._drawToCacheCount=0,K._glyphsWaitingOnBitmap=[],K._bitmapCommitTimeout=null,K._bitmap=null,K._cacheCanvas=Y.createElement("canvas"),K._cacheCanvas.width=g,K._cacheCanvas.height=M,K._cacheCtx=(0,D.throwIfFalsy)(K._cacheCanvas.getContext("2d",{alpha:!0}));var fe=Y.createElement("canvas");fe.width=K._config.scaledCharWidth,fe.height=K._config.scaledCharHeight,K._tmpCtx=(0,D.throwIfFalsy)(fe.getContext("2d",{alpha:K._config.allowTransparency})),K._width=Math.floor(g/K._config.scaledCharWidth),K._height=Math.floor(M/K._config.scaledCharHeight);var ce=K._width*K._height;return K._cacheMap=new y.LRUMap(ce),K._cacheMap.prealloc(ce),K}return E(W,X),W.prototype.dispose=function(){null!==this._bitmapCommitTimeout&&(window.clearTimeout(this._bitmapCommitTimeout),this._bitmapCommitTimeout=null)},W.prototype.beginFrame=function(){this._drawToCacheCount=0},W.prototype.clear=function(){if(this._cacheMap.size>0){var Y=this._width*this._height;this._cacheMap=new y.LRUMap(Y),this._cacheMap.prealloc(Y)}this._cacheCtx.clearRect(0,0,g,M),this._tmpCtx.clearRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight)},W.prototype.draw=function(Y,ae,K,fe){if(32===ae.code)return!0;if(!this._canCache(ae))return!1;var ce=S(ae),he=this._cacheMap.get(ce);if(null!=he)return this._drawFromCache(Y,he,K,fe),!0;if(this._drawToCacheCount<100){var de;de=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var oe=this._drawToCache(ae,de);return this._cacheMap.set(ce,oe),this._drawFromCache(Y,oe,K,fe),!0}return!1},W.prototype._canCache=function(Y){return Y.code<256},W.prototype._toCoordinateX=function(Y){return Y%this._width*this._config.scaledCharWidth},W.prototype._toCoordinateY=function(Y){return Math.floor(Y/this._width)*this._config.scaledCharHeight},W.prototype._drawFromCache=function(Y,ae,K,fe){if(!ae.isEmpty){var ce=this._toCoordinateX(ae.index),he=this._toCoordinateY(ae.index);Y.drawImage(ae.inBitmap?this._bitmap:this._cacheCanvas,ce,he,this._config.scaledCharWidth,this._config.scaledCharHeight,K,fe,this._config.scaledCharWidth,this._config.scaledCharHeight)}},W.prototype._getColorFromAnsiIndex=function(Y){return Y<this._config.colors.ansi.length?this._config.colors.ansi[Y]:O.DEFAULT_ANSI_COLORS[Y]},W.prototype._getBackgroundColor=function(Y){return this._config.allowTransparency?k:Y.bg===x.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:Y.bg<256?this._getColorFromAnsiIndex(Y.bg):this._config.colors.background},W.prototype._getForegroundColor=function(Y){return Y.fg===x.INVERTED_DEFAULT_COLOR?v.color.opaque(this._config.colors.background):Y.fg<256?this._getColorFromAnsiIndex(Y.fg):this._config.colors.foreground},W.prototype._drawToCache=function(Y,ae){this._drawToCacheCount++,this._tmpCtx.save();var K=this._getBackgroundColor(Y);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=K.css,this._tmpCtx.fillRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),this._tmpCtx.globalCompositeOperation="source-over",this._tmpCtx.font=(Y.italic?"italic":"")+" "+(Y.bold?this._config.fontWeightBold:this._config.fontWeight)+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline=x.TEXT_BASELINE,this._tmpCtx.fillStyle=this._getForegroundColor(Y).css,Y.dim&&(this._tmpCtx.globalAlpha=x.DIM_OPACITY),this._tmpCtx.fillText(Y.chars,0,this._config.scaledCharHeight);var he=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),de=!1;if(this._config.allowTransparency||(de=G(he,K)),de&&"_"===Y.chars&&!this._config.allowTransparency)for(var oe=1;oe<=5&&(this._tmpCtx.fillText(Y.chars,0,this._config.scaledCharHeight-oe),de=G(he=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),K));oe++);this._tmpCtx.restore();var Ce=this._toCoordinateX(ae),ge=this._toCoordinateY(ae);this._cacheCtx.putImageData(he,Ce,ge);var qe={index:ae,isEmpty:de,inBitmap:!1};return this._addGlyphToBitmap(qe),qe},W.prototype._addGlyphToBitmap=function(Y){var ae=this;!("createImageBitmap"in window)||T.isFirefox||T.isSafari||(this._glyphsWaitingOnBitmap.push(Y),null===this._bitmapCommitTimeout&&(this._bitmapCommitTimeout=window.setTimeout(function(){return ae._generateBitmap()},100)))},W.prototype._generateBitmap=function(){var Y=this,ae=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then(function(K){Y._bitmap=K;for(var fe=0;fe<ae.length;fe++)ae[fe].inBitmap=!0}),this._bitmapCommitTimeout=null},W}(Z.BaseCharAtlas);w.DynamicCharAtlas=I;var F=function(X){function W(Y,ae){return X.call(this)||this}return E(W,X),W.prototype.draw=function(Y,ae,K,fe){return!1},W}(Z.BaseCharAtlas);function G(X,W){for(var Y=!0,ae=W.rgba>>>24,K=W.rgba>>>16&255,fe=W.rgba>>>8&255,ce=0;ce<X.data.length;ce+=4)X.data[ce]===ae&&X.data[ce+1]===K&&X.data[ce+2]===fe?X.data[ce+3]=0:Y=!1;return Y}w.NoneCharAtlas=F},7001:function(L,w){Object.defineProperty(w,"__esModule",{value:!0}),w.LRUMap=void 0;var R=function(){function b(E){this.capacity=E,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return b.prototype._unlinkNode=function(E){var x=E.prev,Z=E.next;E===this._head&&(this._head=Z),E===this._tail&&(this._tail=x),null!==x&&(x.next=Z),null!==Z&&(Z.prev=x)},b.prototype._appendNode=function(E){var x=this._tail;null!==x&&(x.next=E),E.prev=x,E.next=null,this._tail=E,null===this._head&&(this._head=E)},b.prototype.prealloc=function(E){for(var x=this._nodePool,Z=0;Z<E;Z++)x.push({prev:null,next:null,key:null,value:null})},b.prototype.get=function(E){var x=this._map[E];return void 0!==x?(this._unlinkNode(x),this._appendNode(x),x.value):null},b.prototype.peekValue=function(E){var x=this._map[E];return void 0!==x?x.value:null},b.prototype.peek=function(){var E=this._head;return null===E?null:E.value},b.prototype.set=function(E,x){var Z=this._map[E];if(void 0!==Z)this._unlinkNode(Z=this._map[E]),Z.value=x;else if(this.size>=this.capacity)this._unlinkNode(Z=this._head),delete this._map[Z.key],Z.key=E,Z.value=x,this._map[E]=Z;else{var O=this._nodePool;O.length>0?((Z=O.pop()).key=E,Z.value=x):Z={prev:null,next:null,key:E,value:x},this._map[E]=Z,this.size++}this._appendNode(Z)},b}();w.LRUMap=R},1296:function(L,w,R){var b,E=this&&this.__extends||(b=function(ae,K){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(fe,ce){fe.__proto__=ce}||function(fe,ce){for(var he in ce)Object.prototype.hasOwnProperty.call(ce,he)&&(fe[he]=ce[he])})(ae,K)},function(Y,ae){if("function"!=typeof ae&&null!==ae)throw new TypeError("Class extends value "+String(ae)+" is not a constructor or null");function K(){this.constructor=Y}b(Y,ae),Y.prototype=null===ae?Object.create(ae):(K.prototype=ae.prototype,new K)}),x=this&&this.__decorate||function(Y,ae,K,fe){var ce,he=arguments.length,de=he<3?ae:null===fe?fe=Object.getOwnPropertyDescriptor(ae,K):fe;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)de=Reflect.decorate(Y,ae,K,fe);else for(var oe=Y.length-1;oe>=0;oe--)(ce=Y[oe])&&(de=(he<3?ce(de):he>3?ce(ae,K,de):ce(ae,K))||de);return he>3&&de&&Object.defineProperty(ae,K,de),de},Z=this&&this.__param||function(Y,ae){return function(K,fe){ae(K,fe,Y)}};Object.defineProperty(w,"__esModule",{value:!0}),w.DomRenderer=void 0;var O=R(3787),y=R(8803),T=R(844),D=R(4725),v=R(2585),g=R(8460),M=R(4774),k=R(9631),S="xterm-dom-renderer-owner-",I="xterm-fg-",F="xterm-bg-",G="xterm-focus",X=1,W=function(Y){function ae(K,fe,ce,he,de,oe,Ce,ge,qe,De){var Qe=Y.call(this)||this;return Qe._colors=K,Qe._element=fe,Qe._screenElement=ce,Qe._viewportElement=he,Qe._linkifier=de,Qe._linkifier2=oe,Qe._charSizeService=ge,Qe._optionsService=qe,Qe._bufferService=De,Qe._terminalClass=X++,Qe._rowElements=[],Qe._rowContainer=document.createElement("div"),Qe._rowContainer.classList.add("xterm-rows"),Qe._rowContainer.style.lineHeight="normal",Qe._rowContainer.setAttribute("aria-hidden","true"),Qe._refreshRowElements(Qe._bufferService.cols,Qe._bufferService.rows),Qe._selectionContainer=document.createElement("div"),Qe._selectionContainer.classList.add("xterm-selection"),Qe._selectionContainer.setAttribute("aria-hidden","true"),Qe.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},Qe._updateDimensions(),Qe._injectCss(),Qe._rowFactory=Ce.createInstance(O.DomRendererRowFactory,document,Qe._colors),Qe._element.classList.add(S+Qe._terminalClass),Qe._screenElement.appendChild(Qe._rowContainer),Qe._screenElement.appendChild(Qe._selectionContainer),Qe._linkifier.onShowLinkUnderline(function(et){return Qe._onLinkHover(et)}),Qe._linkifier.onHideLinkUnderline(function(et){return Qe._onLinkLeave(et)}),Qe._linkifier2.onShowLinkUnderline(function(et){return Qe._onLinkHover(et)}),Qe._linkifier2.onHideLinkUnderline(function(et){return Qe._onLinkLeave(et)}),Qe}return E(ae,Y),Object.defineProperty(ae.prototype,"onRequestRedraw",{get:function(){return(new g.EventEmitter).event},enumerable:!1,configurable:!0}),ae.prototype.dispose=function(){this._element.classList.remove(S+this._terminalClass),(0,k.removeElementFromParent)(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),Y.prototype.dispose.call(this)},ae.prototype._updateDimensions=function(){this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows;for(var K=0,fe=this._rowElements;K<fe.length;K++){var ce=fe[K];ce.style.width=this.dimensions.canvasWidth+"px",ce.style.height=this.dimensions.actualCellHeight+"px",ce.style.lineHeight=this.dimensions.actualCellHeight+"px",ce.style.overflow="hidden"}this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement)),this._dimensionsStyleElement.textContent=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}",this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},ae.prototype.setColors=function(K){this._colors=K,this._injectCss()},ae.prototype._injectCss=function(){var K=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var fe=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";fe+=this._terminalSelector+" span:not(."+O.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+O.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+O.ITALIC_CLASS+" { font-style: italic;}",fe+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% {  box-shadow: none; }}",fe+="@keyframes blink_block_"+this._terminalClass+" { 0% {  background-color: "+this._colors.cursor.css+";  color: "+this._colors.cursorAccent.css+"; } 50% {  background-color: "+this._colors.cursorAccent.css+";  color: "+this._colors.cursor.css+"; }}",fe+=this._terminalSelector+" .xterm-rows:not(.xterm-focus) ."+O.CURSOR_CLASS+"."+O.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+O.CURSOR_CLASS+"."+O.CURSOR_BLINK_CLASS+":not(."+O.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+O.CURSOR_CLASS+"."+O.CURSOR_BLINK_CLASS+"."+O.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+O.CURSOR_CLASS+"."+O.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+O.CURSOR_CLASS+"."+O.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+O.CURSOR_CLASS+"."+O.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",fe+=this._terminalSelector+" .xterm-selection { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}"+this._terminalSelector+" .xterm-selection div { position: absolute; background-color: "+this._colors.selectionTransparent.css+";}",this._colors.ansi.forEach(function(ce,he){fe+=K._terminalSelector+" ."+I+he+" { color: "+ce.css+"; }"+K._terminalSelector+" ."+F+he+" { background-color: "+ce.css+"; }"}),fe+=this._terminalSelector+" ."+I+y.INVERTED_DEFAULT_COLOR+" { color: "+M.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" ."+F+y.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.textContent=fe},ae.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},ae.prototype._refreshRowElements=function(K,fe){for(var ce=this._rowElements.length;ce<=fe;ce++){var he=document.createElement("div");this._rowContainer.appendChild(he),this._rowElements.push(he)}for(;this._rowElements.length>fe;)this._rowContainer.removeChild(this._rowElements.pop())},ae.prototype.onResize=function(K,fe){this._refreshRowElements(K,fe),this._updateDimensions()},ae.prototype.onCharSizeChanged=function(){this._updateDimensions()},ae.prototype.onBlur=function(){this._rowContainer.classList.remove(G)},ae.prototype.onFocus=function(){this._rowContainer.classList.add(G)},ae.prototype.onSelectionChanged=function(K,fe,ce){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(K&&fe){var he=K[1]-this._bufferService.buffer.ydisp,de=fe[1]-this._bufferService.buffer.ydisp,oe=Math.max(he,0),Ce=Math.min(de,this._bufferService.rows-1);if(!(oe>=this._bufferService.rows||Ce<0)){var ge=document.createDocumentFragment();ce?ge.appendChild(this._createSelectionElement(oe,K[0],fe[0],Ce-oe+1)):(ge.appendChild(this._createSelectionElement(oe,he===oe?K[0]:0,oe===de?fe[0]:this._bufferService.cols)),ge.appendChild(this._createSelectionElement(oe+1,0,this._bufferService.cols,Ce-oe-1)),oe!==Ce&&ge.appendChild(this._createSelectionElement(Ce,0,de===Ce?fe[0]:this._bufferService.cols))),this._selectionContainer.appendChild(ge)}}},ae.prototype._createSelectionElement=function(K,fe,ce,he){void 0===he&&(he=1);var de=document.createElement("div");return de.style.height=he*this.dimensions.actualCellHeight+"px",de.style.top=K*this.dimensions.actualCellHeight+"px",de.style.left=fe*this.dimensions.actualCellWidth+"px",de.style.width=this.dimensions.actualCellWidth*(ce-fe)+"px",de},ae.prototype.onCursorMove=function(){},ae.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},ae.prototype.clear=function(){for(var K=0,fe=this._rowElements;K<fe.length;K++)fe[K].innerText=""},ae.prototype.renderRows=function(K,fe){for(var ce=this._bufferService.buffer.ybase+this._bufferService.buffer.y,he=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),de=this._optionsService.options.cursorBlink,oe=K;oe<=fe;oe++){var Ce=this._rowElements[oe];Ce.innerText="";var ge=oe+this._bufferService.buffer.ydisp,qe=this._bufferService.buffer.lines.get(ge);Ce.appendChild(this._rowFactory.createRow(qe,ge,ge===ce,this._optionsService.options.cursorStyle,he,de,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(ae.prototype,"_terminalSelector",{get:function(){return"."+S+this._terminalClass},enumerable:!1,configurable:!0}),ae.prototype._onLinkHover=function(K){this._setCellUnderline(K.x1,K.x2,K.y1,K.y2,K.cols,!0)},ae.prototype._onLinkLeave=function(K){this._setCellUnderline(K.x1,K.x2,K.y1,K.y2,K.cols,!1)},ae.prototype._setCellUnderline=function(K,fe,ce,he,de,oe){for(;K!==fe||ce!==he;){var Ce=this._rowElements[ce];if(!Ce)return;var ge=Ce.children[K];ge&&(ge.style.textDecoration=oe?"underline":"none"),++K>=de&&(K=0,ce++)}},x([Z(6,v.IInstantiationService),Z(7,D.ICharSizeService),Z(8,v.IOptionsService),Z(9,v.IBufferService)],ae)}(T.Disposable);w.DomRenderer=W},3787:function(L,w,R){var b=this&&this.__decorate||function(k,S,I,F){var G,X=arguments.length,W=X<3?S:null===F?F=Object.getOwnPropertyDescriptor(S,I):F;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)W=Reflect.decorate(k,S,I,F);else for(var Y=k.length-1;Y>=0;Y--)(G=k[Y])&&(W=(X<3?G(W):X>3?G(S,I,W):G(S,I))||W);return X>3&&W&&Object.defineProperty(S,I,W),W},E=this&&this.__param||function(k,S){return function(I,F){S(I,F,k)}};Object.defineProperty(w,"__esModule",{value:!0}),w.DomRendererRowFactory=w.CURSOR_STYLE_UNDERLINE_CLASS=w.CURSOR_STYLE_BAR_CLASS=w.CURSOR_STYLE_BLOCK_CLASS=w.CURSOR_BLINK_CLASS=w.CURSOR_CLASS=w.STRIKETHROUGH_CLASS=w.UNDERLINE_CLASS=w.ITALIC_CLASS=w.DIM_CLASS=w.BOLD_CLASS=void 0;var x=R(8803),Z=R(643),O=R(511),y=R(2585),T=R(4774),D=R(4725),v=R(4269);w.BOLD_CLASS="xterm-bold",w.DIM_CLASS="xterm-dim",w.ITALIC_CLASS="xterm-italic",w.UNDERLINE_CLASS="xterm-underline",w.STRIKETHROUGH_CLASS="xterm-strikethrough",w.CURSOR_CLASS="xterm-cursor",w.CURSOR_BLINK_CLASS="xterm-cursor-blink",w.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",w.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",w.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var g=function(){function k(S,I,F,G,X){this._document=S,this._colors=I,this._characterJoinerService=F,this._optionsService=G,this._coreService=X,this._workCell=new O.CellData}return k.prototype.setColors=function(S){this._colors=S},k.prototype.createRow=function(S,I,F,G,X,W,Y,ae){for(var K=this._document.createDocumentFragment(),fe=this._characterJoinerService.getJoinedCharacters(I),ce=0,he=Math.min(S.length,ae)-1;he>=0;he--)if(S.loadCell(he,this._workCell).getCode()!==Z.NULL_CELL_CODE||F&&he===X){ce=he+1;break}for(he=0;he<ce;he++){S.loadCell(he,this._workCell);var de=this._workCell.getWidth();if(0!==de){var oe=!1,Ce=he,ge=this._workCell;if(fe.length>0&&he===fe[0][0]){oe=!0;var qe=fe.shift();ge=new v.JoinedCellData(this._workCell,S.translateToString(!0,qe[0],qe[1]),qe[1]-qe[0]),Ce=qe[1]-1,de=ge.getWidth()}var De=this._document.createElement("span");if(de>1&&(De.style.width=Y*de+"px"),oe&&(De.style.display="inline",X>=he&&X<=Ce&&(X=he)),!this._coreService.isCursorHidden&&F&&he===X)switch(De.classList.add(w.CURSOR_CLASS),W&&De.classList.add(w.CURSOR_BLINK_CLASS),G){case"bar":De.classList.add(w.CURSOR_STYLE_BAR_CLASS);break;case"underline":De.classList.add(w.CURSOR_STYLE_UNDERLINE_CLASS);break;default:De.classList.add(w.CURSOR_STYLE_BLOCK_CLASS)}ge.isBold()&&De.classList.add(w.BOLD_CLASS),ge.isItalic()&&De.classList.add(w.ITALIC_CLASS),ge.isDim()&&De.classList.add(w.DIM_CLASS),ge.isUnderline()&&De.classList.add(w.UNDERLINE_CLASS),De.textContent=ge.isInvisible()?Z.WHITESPACE_CELL_CHAR:ge.getChars()||Z.WHITESPACE_CELL_CHAR,ge.isStrikethrough()&&De.classList.add(w.STRIKETHROUGH_CLASS);var Qe=ge.getFgColor(),et=ge.getFgColorMode(),bt=ge.getBgColor(),_e=ge.getBgColorMode(),xe=!!ge.isInverse();if(xe){var He=Qe;Qe=bt,bt=He;var st=et;et=_e,_e=st}switch(et){case 16777216:case 33554432:ge.isBold()&&Qe<8&&this._optionsService.options.drawBoldTextInBrightColors&&(Qe+=8),this._applyMinimumContrast(De,this._colors.background,this._colors.ansi[Qe])||De.classList.add("xterm-fg-"+Qe);break;case 50331648:var tt=T.rgba.toColor(Qe>>16&255,Qe>>8&255,255&Qe);this._applyMinimumContrast(De,this._colors.background,tt)||this._addStyle(De,"color:#"+M(Qe.toString(16),"0",6));break;default:this._applyMinimumContrast(De,this._colors.background,this._colors.foreground)||xe&&De.classList.add("xterm-fg-"+x.INVERTED_DEFAULT_COLOR)}switch(_e){case 16777216:case 33554432:De.classList.add("xterm-bg-"+bt);break;case 50331648:this._addStyle(De,"background-color:#"+M(bt.toString(16),"0",6));break;default:xe&&De.classList.add("xterm-bg-"+x.INVERTED_DEFAULT_COLOR)}K.appendChild(De),he=Ce}}return K},k.prototype._applyMinimumContrast=function(S,I,F){if(1===this._optionsService.options.minimumContrastRatio)return!1;var G=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return void 0===G&&(G=T.color.ensureContrastRatio(I,F,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,null!=G?G:null)),!!G&&(this._addStyle(S,"color:"+G.css),!0)},k.prototype._addStyle=function(S,I){S.setAttribute("style",""+(S.getAttribute("style")||"")+I+";")},b([E(2,D.ICharacterJoinerService),E(3,y.IOptionsService),E(4,y.ICoreService)],k)}();function M(k,S,I){for(;k.length<I;)k=S+k;return k}w.DomRendererRowFactory=g},456:function(L,w){Object.defineProperty(w,"__esModule",{value:!0}),w.SelectionModel=void 0;var R=function(){function b(E){this._bufferService=E,this.isSelectAllActive=!1,this.selectionStartLength=0}return b.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(b.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var x=this.selectionStart[0]+this.selectionStartLength;return x>this._bufferService.cols?[x%this._bufferService.cols,this.selectionStart[1]+Math.floor(x/this._bufferService.cols)]:[x,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!1,configurable:!0}),b.prototype.areSelectionValuesReversed=function(){var E=this.selectionStart,x=this.selectionEnd;return!(!E||!x)&&(E[1]>x[1]||E[1]===x[1]&&E[0]>x[0])},b.prototype.onTrim=function(E){return this.selectionStart&&(this.selectionStart[1]-=E),this.selectionEnd&&(this.selectionEnd[1]-=E),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},b}();w.SelectionModel=R},428:function(L,w,R){var b=this&&this.__decorate||function(T,D,v,g){var M,k=arguments.length,S=k<3?D:null===g?g=Object.getOwnPropertyDescriptor(D,v):g;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)S=Reflect.decorate(T,D,v,g);else for(var I=T.length-1;I>=0;I--)(M=T[I])&&(S=(k<3?M(S):k>3?M(D,v,S):M(D,v))||S);return k>3&&S&&Object.defineProperty(D,v,S),S},E=this&&this.__param||function(T,D){return function(v,g){D(v,g,T)}};Object.defineProperty(w,"__esModule",{value:!0}),w.CharSizeService=void 0;var x=R(2585),Z=R(8460),O=function(){function T(D,v,g){this._optionsService=g,this.width=0,this.height=0,this._onCharSizeChange=new Z.EventEmitter,this._measureStrategy=new y(D,v,this._optionsService)}return Object.defineProperty(T.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),T.prototype.measure=function(){var D=this._measureStrategy.measure();D.width===this.width&&D.height===this.height||(this.width=D.width,this.height=D.height,this._onCharSizeChange.fire())},b([E(2,x.IOptionsService)],T)}();w.CharSizeService=O;var y=function(){function T(D,v,g){this._document=D,this._parentElement=v,this._optionsService=g,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return T.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var D=this._measureElement.getBoundingClientRect();return 0!==D.width&&0!==D.height&&(this._result.width=D.width,this._result.height=Math.ceil(D.height)),this._result},T}()},4269:function(L,w,R){var b,E=this&&this.__extends||(b=function(k,S){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(I,F){I.__proto__=F}||function(I,F){for(var G in F)Object.prototype.hasOwnProperty.call(F,G)&&(I[G]=F[G])})(k,S)},function(M,k){if("function"!=typeof k&&null!==k)throw new TypeError("Class extends value "+String(k)+" is not a constructor or null");function S(){this.constructor=M}b(M,k),M.prototype=null===k?Object.create(k):(S.prototype=k.prototype,new S)}),x=this&&this.__decorate||function(M,k,S,I){var F,G=arguments.length,X=G<3?k:null===I?I=Object.getOwnPropertyDescriptor(k,S):I;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)X=Reflect.decorate(M,k,S,I);else for(var W=M.length-1;W>=0;W--)(F=M[W])&&(X=(G<3?F(X):G>3?F(k,S,X):F(k,S))||X);return G>3&&X&&Object.defineProperty(k,S,X),X},Z=this&&this.__param||function(M,k){return function(S,I){k(S,I,M)}};Object.defineProperty(w,"__esModule",{value:!0}),w.CharacterJoinerService=w.JoinedCellData=void 0;var O=R(3734),y=R(643),T=R(511),D=R(2585),v=function(M){function k(S,I,F){var G=M.call(this)||this;return G.content=0,G.combinedData="",G.fg=S.fg,G.bg=S.bg,G.combinedData=I,G._width=F,G}return E(k,M),k.prototype.isCombined=function(){return 2097152},k.prototype.getWidth=function(){return this._width},k.prototype.getChars=function(){return this.combinedData},k.prototype.getCode=function(){return 2097151},k.prototype.setFromCharData=function(S){throw new Error("not implemented")},k.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},k}(O.AttributeData);w.JoinedCellData=v;var g=function(){function M(k){this._bufferService=k,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new T.CellData}return M.prototype.register=function(k){var S={id:this._nextCharacterJoinerId++,handler:k};return this._characterJoiners.push(S),S.id},M.prototype.deregister=function(k){for(var S=0;S<this._characterJoiners.length;S++)if(this._characterJoiners[S].id===k)return this._characterJoiners.splice(S,1),!0;return!1},M.prototype.getJoinedCharacters=function(k){if(0===this._characterJoiners.length)return[];var S=this._bufferService.buffer.lines.get(k);if(!S||0===S.length)return[];for(var I=[],F=S.translateToString(!0),G=0,X=0,W=0,Y=S.getFg(0),ae=S.getBg(0),K=0;K<S.getTrimmedLength();K++)if(S.loadCell(K,this._workCell),0!==this._workCell.getWidth()){if(this._workCell.fg!==Y||this._workCell.bg!==ae){if(K-G>1)for(var fe=this._getJoinedRanges(F,W,X,S,G),ce=0;ce<fe.length;ce++)I.push(fe[ce]);G=K,W=X,Y=this._workCell.fg,ae=this._workCell.bg}X+=this._workCell.getChars().length||y.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-G>1)for(fe=this._getJoinedRanges(F,W,X,S,G),ce=0;ce<fe.length;ce++)I.push(fe[ce]);return I},M.prototype._getJoinedRanges=function(k,S,I,F,G){for(var X=k.substring(S,I),W=this._characterJoiners[0].handler(X),Y=1;Y<this._characterJoiners.length;Y++)for(var ae=this._characterJoiners[Y].handler(X),K=0;K<ae.length;K++)M._mergeRanges(W,ae[K]);return this._stringRangesToCellRanges(W,F,G),W},M.prototype._stringRangesToCellRanges=function(k,S,I){var F=0,G=!1,X=0,W=k[F];if(W){for(var Y=I;Y<this._bufferService.cols;Y++){var ae=S.getWidth(Y),K=S.getString(Y).length||y.WHITESPACE_CELL_CHAR.length;if(0!==ae){if(!G&&W[0]<=X&&(W[0]=Y,G=!0),W[1]<=X){if(W[1]=Y,!(W=k[++F]))break;W[0]<=X?(W[0]=Y,G=!0):G=!1}X+=K}}W&&(W[1]=this._bufferService.cols)}},M._mergeRanges=function(k,S){for(var I=!1,F=0;F<k.length;F++){var G=k[F];if(I){if(S[1]<=G[0])return k[F-1][1]=S[1],k;if(S[1]<=G[1])return k[F-1][1]=Math.max(S[1],G[1]),k.splice(F,1),k;k.splice(F,1),F--}else{if(S[1]<=G[0])return k.splice(F,0,S),k;if(S[1]<=G[1])return G[0]=Math.min(S[0],G[0]),k;S[0]<G[1]&&(G[0]=Math.min(S[0],G[0]),I=!0)}}return I?k[k.length-1][1]=S[1]:k.push(S),k},M=x([Z(0,D.IBufferService)],M)}();w.CharacterJoinerService=g},5114:function(L,w){Object.defineProperty(w,"__esModule",{value:!0}),w.CoreBrowserService=void 0;var R=function(){function b(E){this._textarea=E}return Object.defineProperty(b.prototype,"isFocused",{get:function(){return(this._textarea.getRootNode?this._textarea.getRootNode():document).activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),b}();w.CoreBrowserService=R},8934:function(L,w,R){var b=this&&this.__decorate||function(y,T,D,v){var g,M=arguments.length,k=M<3?T:null===v?v=Object.getOwnPropertyDescriptor(T,D):v;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)k=Reflect.decorate(y,T,D,v);else for(var S=y.length-1;S>=0;S--)(g=y[S])&&(k=(M<3?g(k):M>3?g(T,D,k):g(T,D))||k);return M>3&&k&&Object.defineProperty(T,D,k),k},E=this&&this.__param||function(y,T){return function(D,v){T(D,v,y)}};Object.defineProperty(w,"__esModule",{value:!0}),w.MouseService=void 0;var x=R(4725),Z=R(9806),O=function(){function y(T,D){this._renderService=T,this._charSizeService=D}return y.prototype.getCoords=function(T,D,v,g,M){return(0,Z.getCoords)(T,D,v,g,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,M)},y.prototype.getRawByteCoords=function(T,D,v,g){var M=this.getCoords(T,D,v,g);return(0,Z.getRawByteCoords)(M)},b([E(0,x.IRenderService),E(1,x.ICharSizeService)],y)}();w.MouseService=O},3230:function(L,w,R){var b,E=this&&this.__extends||(b=function(I,F){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(G,X){G.__proto__=X}||function(G,X){for(var W in X)Object.prototype.hasOwnProperty.call(X,W)&&(G[W]=X[W])})(I,F)},function(S,I){if("function"!=typeof I&&null!==I)throw new TypeError("Class extends value "+String(I)+" is not a constructor or null");function F(){this.constructor=S}b(S,I),S.prototype=null===I?Object.create(I):(F.prototype=I.prototype,new F)}),x=this&&this.__decorate||function(S,I,F,G){var X,W=arguments.length,Y=W<3?I:null===G?G=Object.getOwnPropertyDescriptor(I,F):G;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Y=Reflect.decorate(S,I,F,G);else for(var ae=S.length-1;ae>=0;ae--)(X=S[ae])&&(Y=(W<3?X(Y):W>3?X(I,F,Y):X(I,F))||Y);return W>3&&Y&&Object.defineProperty(I,F,Y),Y},Z=this&&this.__param||function(S,I){return function(F,G){I(F,G,S)}};Object.defineProperty(w,"__esModule",{value:!0}),w.RenderService=void 0;var O=R(6193),y=R(8460),T=R(844),D=R(5596),v=R(3656),g=R(2585),M=R(4725),k=function(S){function I(F,G,X,W,Y,ae){var K=S.call(this)||this;if(K._renderer=F,K._rowCount=G,K._charSizeService=Y,K._isPaused=!1,K._needsFullRefresh=!1,K._isNextRenderRedrawOnly=!0,K._needsSelectionRefresh=!1,K._canvasWidth=0,K._canvasHeight=0,K._selectionState={start:void 0,end:void 0,columnSelectMode:!1},K._onDimensionsChange=new y.EventEmitter,K._onRender=new y.EventEmitter,K._onRefreshRequest=new y.EventEmitter,K.register({dispose:function(){return K._renderer.dispose()}}),K._renderDebouncer=new O.RenderDebouncer(function(ce,he){return K._renderRows(ce,he)}),K.register(K._renderDebouncer),K._screenDprMonitor=new D.ScreenDprMonitor,K._screenDprMonitor.setListener(function(){return K.onDevicePixelRatioChange()}),K.register(K._screenDprMonitor),K.register(ae.onResize(function(ce){return K._fullRefresh()})),K.register(W.onOptionChange(function(){return K._renderer.onOptionsChanged()})),K.register(K._charSizeService.onCharSizeChange(function(){return K.onCharSizeChanged()})),K._renderer.onRequestRedraw(function(ce){return K.refreshRows(ce.start,ce.end,!0)}),K.register((0,v.addDisposableDomListener)(window,"resize",function(){return K.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var fe=new IntersectionObserver(function(ce){return K._onIntersectionChange(ce[ce.length-1])},{threshold:0});fe.observe(X),K.register({dispose:function(){return fe.disconnect()}})}return K}return E(I,S),Object.defineProperty(I.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),I.prototype._onIntersectionChange=function(F){this._isPaused=void 0===F.isIntersecting?0===F.intersectionRatio:!F.isIntersecting,this._isPaused||this._charSizeService.hasValidSize||this._charSizeService.measure(),!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},I.prototype.refreshRows=function(F,G,X){void 0===X&&(X=!1),this._isPaused?this._needsFullRefresh=!0:(X||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(F,G,this._rowCount))},I.prototype._renderRows=function(F,G){this._renderer.renderRows(F,G),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRender.fire({start:F,end:G}),this._isNextRenderRedrawOnly=!0},I.prototype.resize=function(F,G){this._rowCount=G,this._fireOnCanvasResize()},I.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},I.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},I.prototype.dispose=function(){S.prototype.dispose.call(this)},I.prototype.setRenderer=function(F){var G=this;this._renderer.dispose(),this._renderer=F,this._renderer.onRequestRedraw(function(X){return G.refreshRows(X.start,X.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},I.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},I.prototype.clearTextureAtlas=function(){var F,G;null===(G=null===(F=this._renderer)||void 0===F?void 0:F.clearTextureAtlas)||void 0===G||G.call(F),this._fullRefresh()},I.prototype.setColors=function(F){this._renderer.setColors(F),this._fullRefresh()},I.prototype.onDevicePixelRatioChange=function(){this._charSizeService.measure(),this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},I.prototype.onResize=function(F,G){this._renderer.onResize(F,G),this._fullRefresh()},I.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},I.prototype.onBlur=function(){this._renderer.onBlur()},I.prototype.onFocus=function(){this._renderer.onFocus()},I.prototype.onSelectionChanged=function(F,G,X){this._selectionState.start=F,this._selectionState.end=G,this._selectionState.columnSelectMode=X,this._renderer.onSelectionChanged(F,G,X)},I.prototype.onCursorMove=function(){this._renderer.onCursorMove()},I.prototype.clear=function(){this._renderer.clear()},x([Z(3,g.IOptionsService),Z(4,M.ICharSizeService),Z(5,g.IBufferService)],I)}(T.Disposable);w.RenderService=k},9312:function(L,w,R){var b,E=this&&this.__extends||(b=function(Y,ae){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(K,fe){K.__proto__=fe}||function(K,fe){for(var ce in fe)Object.prototype.hasOwnProperty.call(fe,ce)&&(K[ce]=fe[ce])})(Y,ae)},function(W,Y){if("function"!=typeof Y&&null!==Y)throw new TypeError("Class extends value "+String(Y)+" is not a constructor or null");function ae(){this.constructor=W}b(W,Y),W.prototype=null===Y?Object.create(Y):(ae.prototype=Y.prototype,new ae)}),x=this&&this.__decorate||function(W,Y,ae,K){var fe,ce=arguments.length,he=ce<3?Y:null===K?K=Object.getOwnPropertyDescriptor(Y,ae):K;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)he=Reflect.decorate(W,Y,ae,K);else for(var de=W.length-1;de>=0;de--)(fe=W[de])&&(he=(ce<3?fe(he):ce>3?fe(Y,ae,he):fe(Y,ae))||he);return ce>3&&he&&Object.defineProperty(Y,ae,he),he},Z=this&&this.__param||function(W,Y){return function(ae,K){Y(ae,K,W)}};Object.defineProperty(w,"__esModule",{value:!0}),w.SelectionService=void 0;var O=R(6114),y=R(456),T=R(511),D=R(8460),v=R(4725),g=R(2585),M=R(9806),k=R(9504),S=R(844),I=R(4841),F=String.fromCharCode(160),G=new RegExp(F,"g"),X=function(W){function Y(ae,K,fe,ce,he,de,oe,Ce){var ge=W.call(this)||this;return ge._element=ae,ge._screenElement=K,ge._linkifier=fe,ge._bufferService=ce,ge._coreService=he,ge._mouseService=de,ge._optionsService=oe,ge._renderService=Ce,ge._dragScrollAmount=0,ge._enabled=!0,ge._workCell=new T.CellData,ge._mouseDownTimeStamp=0,ge._oldHasSelection=!1,ge._oldSelectionStart=void 0,ge._oldSelectionEnd=void 0,ge._onLinuxMouseSelection=ge.register(new D.EventEmitter),ge._onRedrawRequest=ge.register(new D.EventEmitter),ge._onSelectionChange=ge.register(new D.EventEmitter),ge._onRequestScrollLines=ge.register(new D.EventEmitter),ge._mouseMoveListener=function(qe){return ge._onMouseMove(qe)},ge._mouseUpListener=function(qe){return ge._onMouseUp(qe)},ge._coreService.onUserInput(function(){ge.hasSelection&&ge.clearSelection()}),ge._trimListener=ge._bufferService.buffer.lines.onTrim(function(qe){return ge._onTrim(qe)}),ge.register(ge._bufferService.buffers.onBufferActivate(function(qe){return ge._onBufferActivate(qe)})),ge.enable(),ge._model=new y.SelectionModel(ge._bufferService),ge._activeSelectionMode=0,ge}return E(Y,W),Object.defineProperty(Y.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(Y.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(Y.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(Y.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),Y.prototype.dispose=function(){this._removeMouseDownListeners()},Y.prototype.reset=function(){this.clearSelection()},Y.prototype.disable=function(){this.clearSelection(),this._enabled=!1},Y.prototype.enable=function(){this._enabled=!0},Object.defineProperty(Y.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(Y.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(Y.prototype,"hasSelection",{get:function(){var K=this._model.finalSelectionStart,fe=this._model.finalSelectionEnd;return!(!K||!fe||K[0]===fe[0]&&K[1]===fe[1])},enumerable:!1,configurable:!0}),Object.defineProperty(Y.prototype,"selectionText",{get:function(){var K=this._model.finalSelectionStart,fe=this._model.finalSelectionEnd;if(!K||!fe)return"";var ce=this._bufferService.buffer,he=[];if(3===this._activeSelectionMode){if(K[0]===fe[0])return"";for(var de=K[1];de<=fe[1];de++){var oe=ce.translateBufferLineToString(de,!0,K[0],fe[0]);he.push(oe)}}else{for(he.push(ce.translateBufferLineToString(K[1],!0,K[0],K[1]===fe[1]?fe[0]:void 0)),de=K[1]+1;de<=fe[1]-1;de++){var ge=ce.lines.get(de);oe=ce.translateBufferLineToString(de,!0),ge&&ge.isWrapped?he[he.length-1]+=oe:he.push(oe)}K[1]!==fe[1]&&(ge=ce.lines.get(fe[1]),oe=ce.translateBufferLineToString(fe[1],!0,0,fe[0]),ge&&ge.isWrapped?he[he.length-1]+=oe:he.push(oe))}return he.map(function(qe){return qe.replace(G," ")}).join(O.isWindows?"\r\n":"\n")},enumerable:!1,configurable:!0}),Y.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},Y.prototype.refresh=function(ae){var K=this;this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return K._refresh()})),O.isLinux&&ae&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},Y.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:3===this._activeSelectionMode})},Y.prototype._isClickInSelection=function(ae){var K=this._getMouseBufferCoords(ae),fe=this._model.finalSelectionStart,ce=this._model.finalSelectionEnd;return!!(fe&&ce&&K)&&this._areCoordsInSelection(K,fe,ce)},Y.prototype._areCoordsInSelection=function(ae,K,fe){return ae[1]>K[1]&&ae[1]<fe[1]||K[1]===fe[1]&&ae[1]===K[1]&&ae[0]>=K[0]&&ae[0]<fe[0]||K[1]<fe[1]&&ae[1]===fe[1]&&ae[0]<fe[0]||K[1]<fe[1]&&ae[1]===K[1]&&ae[0]>=K[0]},Y.prototype._selectWordAtCursor=function(ae,K){var fe,ce,he=null===(ce=null===(fe=this._linkifier.currentLink)||void 0===fe?void 0:fe.link)||void 0===ce?void 0:ce.range;if(he)return this._model.selectionStart=[he.start.x-1,he.start.y-1],this._model.selectionStartLength=(0,I.getRangeLength)(he,this._bufferService.cols),this._model.selectionEnd=void 0,!0;var de=this._getMouseBufferCoords(ae);return!!de&&(this._selectWordAt(de,K),this._model.selectionEnd=void 0,!0)},Y.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},Y.prototype.selectLines=function(ae,K){this._model.clearSelection(),ae=Math.max(ae,0),K=Math.min(K,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,ae],this._model.selectionEnd=[this._bufferService.cols,K],this.refresh(),this._onSelectionChange.fire()},Y.prototype._onTrim=function(ae){this._model.onTrim(ae)&&this.refresh()},Y.prototype._getMouseBufferCoords=function(ae){var K=this._mouseService.getCoords(ae,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(K)return K[0]--,K[1]--,K[1]+=this._bufferService.buffer.ydisp,K},Y.prototype._getMouseEventScrollAmount=function(ae){var K=(0,M.getCoordsRelativeToElement)(ae,this._screenElement)[1],fe=this._renderService.dimensions.canvasHeight;return K>=0&&K<=fe?0:(K>fe&&(K-=fe),K=Math.min(Math.max(K,-50),50),(K/=50)/Math.abs(K)+Math.round(14*K))},Y.prototype.shouldForceSelection=function(ae){return O.isMac?ae.altKey&&this._optionsService.options.macOptionClickForcesSelection:ae.shiftKey},Y.prototype.onMouseDown=function(ae){if(this._mouseDownTimeStamp=ae.timeStamp,(2!==ae.button||!this.hasSelection)&&0===ae.button){if(!this._enabled){if(!this.shouldForceSelection(ae))return;ae.stopPropagation()}ae.preventDefault(),this._dragScrollAmount=0,this._enabled&&ae.shiftKey?this._onIncrementalClick(ae):1===ae.detail?this._onSingleClick(ae):2===ae.detail?this._onDoubleClick(ae):3===ae.detail&&this._onTripleClick(ae),this._addMouseDownListeners(),this.refresh(!0)}},Y.prototype._addMouseDownListeners=function(){var ae=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return ae._dragScroll()},50)},Y.prototype._removeMouseDownListeners=function(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0},Y.prototype._onIncrementalClick=function(ae){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(ae))},Y.prototype._onSingleClick=function(ae){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(ae)?3:0,this._model.selectionStart=this._getMouseBufferCoords(ae),this._model.selectionStart){this._model.selectionEnd=void 0;var K=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);K&&K.length!==this._model.selectionStart[0]&&0===K.hasWidth(this._model.selectionStart[0])&&this._model.selectionStart[0]++}},Y.prototype._onDoubleClick=function(ae){this._selectWordAtCursor(ae,!0)&&(this._activeSelectionMode=1)},Y.prototype._onTripleClick=function(ae){var K=this._getMouseBufferCoords(ae);K&&(this._activeSelectionMode=2,this._selectLineAt(K[1]))},Y.prototype.shouldColumnSelect=function(ae){return ae.altKey&&!(O.isMac&&this._optionsService.options.macOptionClickForcesSelection)},Y.prototype._onMouseMove=function(ae){if(ae.stopImmediatePropagation(),this._model.selectionStart){var K=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(ae),this._model.selectionEnd){2===this._activeSelectionMode?this._model.selectionEnd[0]=this._model.selectionEnd[1]<this._model.selectionStart[1]?0:this._bufferService.cols:1===this._activeSelectionMode&&this._selectToWordAt(this._model.selectionEnd),this._dragScrollAmount=this._getMouseEventScrollAmount(ae),3!==this._activeSelectionMode&&(this._dragScrollAmount>0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var fe=this._bufferService.buffer;if(this._model.selectionEnd[1]<fe.lines.length){var ce=fe.lines.get(this._model.selectionEnd[1]);ce&&0===ce.hasWidth(this._model.selectionEnd[0])&&this._model.selectionEnd[0]++}K&&K[0]===this._model.selectionEnd[0]&&K[1]===this._model.selectionEnd[1]||this.refresh(!0)}else this.refresh(!0)}},Y.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});var ae=this._bufferService.buffer;this._dragScrollAmount>0?(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(ae.ydisp+this._bufferService.rows,ae.lines.length-1)):(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=ae.ydisp),this.refresh()}},Y.prototype._onMouseUp=function(ae){var K=ae.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&K<500&&ae.altKey&&this._optionsService.getOption("altClickMovesCursor")){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var fe=this._mouseService.getCoords(ae,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(fe&&void 0!==fe[0]&&void 0!==fe[1]){var ce=(0,k.moveToCellSequence)(fe[0]-1,fe[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(ce,!0)}}}else this._fireEventIfSelectionChanged()},Y.prototype._fireEventIfSelectionChanged=function(){var ae=this._model.finalSelectionStart,K=this._model.finalSelectionEnd,fe=!(!ae||!K||ae[0]===K[0]&&ae[1]===K[1]);fe?ae&&K&&(this._oldSelectionStart&&this._oldSelectionEnd&&ae[0]===this._oldSelectionStart[0]&&ae[1]===this._oldSelectionStart[1]&&K[0]===this._oldSelectionEnd[0]&&K[1]===this._oldSelectionEnd[1]||this._fireOnSelectionChange(ae,K,fe)):this._oldHasSelection&&this._fireOnSelectionChange(ae,K,fe)},Y.prototype._fireOnSelectionChange=function(ae,K,fe){this._oldSelectionStart=ae,this._oldSelectionEnd=K,this._oldHasSelection=fe,this._onSelectionChange.fire()},Y.prototype._onBufferActivate=function(ae){var K=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=ae.activeBuffer.lines.onTrim(function(fe){return K._onTrim(fe)})},Y.prototype._convertViewportColToCharacterIndex=function(ae,K){for(var fe=K[0],ce=0;K[0]>=ce;ce++){var he=ae.loadCell(ce,this._workCell).getChars().length;0===this._workCell.getWidth()?fe--:he>1&&K[0]!==ce&&(fe+=he-1)}return fe},Y.prototype.setSelection=function(ae,K,fe){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[ae,K],this._model.selectionStartLength=fe,this.refresh()},Y.prototype.rightClickSelect=function(ae){this._isClickInSelection(ae)||(this._selectWordAtCursor(ae,!1)&&this.refresh(!0),this._fireEventIfSelectionChanged())},Y.prototype._getWordAt=function(ae,K,fe,ce){if(void 0===fe&&(fe=!0),void 0===ce&&(ce=!0),!(ae[0]>=this._bufferService.cols)){var he=this._bufferService.buffer,de=he.lines.get(ae[1]);if(de){var oe=he.translateBufferLineToString(ae[1],!1),Ce=this._convertViewportColToCharacterIndex(de,ae),ge=Ce,qe=ae[0]-Ce,De=0,Qe=0,et=0,bt=0;if(" "===oe.charAt(Ce)){for(;Ce>0&&" "===oe.charAt(Ce-1);)Ce--;for(;ge<oe.length&&" "===oe.charAt(ge+1);)ge++}else{var _e=ae[0],xe=ae[0];0===de.getWidth(_e)&&(De++,_e--),2===de.getWidth(xe)&&(Qe++,xe++);var He=de.getString(xe).length;for(He>1&&(bt+=He-1,ge+=He-1);_e>0&&Ce>0&&!this._isCharWordSeparator(de.loadCell(_e-1,this._workCell));){de.loadCell(_e-1,this._workCell);var st=this._workCell.getChars().length;0===this._workCell.getWidth()?(De++,_e--):st>1&&(et+=st-1,Ce-=st-1),Ce--,_e--}for(;xe<de.length&&ge+1<oe.length&&!this._isCharWordSeparator(de.loadCell(xe+1,this._workCell));){de.loadCell(xe+1,this._workCell);var tt=this._workCell.getChars().length;2===this._workCell.getWidth()?(Qe++,xe++):tt>1&&(bt+=tt-1,ge+=tt-1),ge++,xe++}}ge++;var Zt=Ce+qe-De+et,Tt=Math.min(this._bufferService.cols,ge-Ce+De+Qe-et-bt);if(K||""!==oe.slice(Ce,ge).trim()){if(fe&&0===Zt&&32!==de.getCodePoint(0)){var mt=he.lines.get(ae[1]-1);if(mt&&de.isWrapped&&32!==mt.getCodePoint(this._bufferService.cols-1)){var Yt=this._getWordAt([this._bufferService.cols-1,ae[1]-1],!1,!0,!1);if(Yt){var un=this._bufferService.cols-Yt.start;Zt-=un,Tt+=un}}}if(ce&&Zt+Tt===this._bufferService.cols&&32!==de.getCodePoint(this._bufferService.cols-1)){var Ut=he.lines.get(ae[1]+1);if(Ut&&Ut.isWrapped&&32!==Ut.getCodePoint(0)){var Mn=this._getWordAt([0,ae[1]+1],!1,!1,!0);Mn&&(Tt+=Mn.length)}}return{start:Zt,length:Tt}}}}},Y.prototype._selectWordAt=function(ae,K){var fe=this._getWordAt(ae,K);if(fe){for(;fe.start<0;)fe.start+=this._bufferService.cols,ae[1]--;this._model.selectionStart=[fe.start,ae[1]],this._model.selectionStartLength=fe.length}},Y.prototype._selectToWordAt=function(ae){var K=this._getWordAt(ae,!0);if(K){for(var fe=ae[1];K.start<0;)K.start+=this._bufferService.cols,fe--;if(!this._model.areSelectionValuesReversed())for(;K.start+K.length>this._bufferService.cols;)K.length-=this._bufferService.cols,fe++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?K.start:K.start+K.length,fe]}},Y.prototype._isCharWordSeparator=function(ae){return 0!==ae.getWidth()&&this._optionsService.options.wordSeparator.indexOf(ae.getChars())>=0},Y.prototype._selectLineAt=function(ae){var K=this._bufferService.buffer.getWrappedRangeForLine(ae);this._model.selectionStart=[0,K.first],this._model.selectionEnd=[this._bufferService.cols,K.last],this._model.selectionStartLength=0},x([Z(3,g.IBufferService),Z(4,g.ICoreService),Z(5,v.IMouseService),Z(6,g.IOptionsService),Z(7,v.IRenderService)],Y)}(S.Disposable);w.SelectionService=X},4725:function(L,w,R){Object.defineProperty(w,"__esModule",{value:!0}),w.ICharacterJoinerService=w.ISoundService=w.ISelectionService=w.IRenderService=w.IMouseService=w.ICoreBrowserService=w.ICharSizeService=void 0;var b=R(8343);w.ICharSizeService=(0,b.createDecorator)("CharSizeService"),w.ICoreBrowserService=(0,b.createDecorator)("CoreBrowserService"),w.IMouseService=(0,b.createDecorator)("MouseService"),w.IRenderService=(0,b.createDecorator)("RenderService"),w.ISelectionService=(0,b.createDecorator)("SelectionService"),w.ISoundService=(0,b.createDecorator)("SoundService"),w.ICharacterJoinerService=(0,b.createDecorator)("CharacterJoinerService")},357:function(L,w,R){var b=this&&this.__decorate||function(O,y,T,D){var v,g=arguments.length,M=g<3?y:null===D?D=Object.getOwnPropertyDescriptor(y,T):D;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)M=Reflect.decorate(O,y,T,D);else for(var k=O.length-1;k>=0;k--)(v=O[k])&&(M=(g<3?v(M):g>3?v(y,T,M):v(y,T))||M);return g>3&&M&&Object.defineProperty(y,T,M),M},E=this&&this.__param||function(O,y){return function(T,D){y(T,D,O)}};Object.defineProperty(w,"__esModule",{value:!0}),w.SoundService=void 0;var x=R(2585),Z=function(){function O(y){this._optionsService=y}return Object.defineProperty(O,"audioContext",{get:function(){if(!O._audioContext){var T=window.AudioContext||window.webkitAudioContext;if(!T)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;O._audioContext=new T}return O._audioContext},enumerable:!1,configurable:!0}),O.prototype.playBellSound=function(){var y=O.audioContext;if(y){var T=y.createBufferSource();y.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(D){T.buffer=D,T.connect(y.destination),T.start(0)})}},O.prototype._base64ToArrayBuffer=function(y){for(var T=window.atob(y),D=T.length,v=new Uint8Array(D),g=0;g<D;g++)v[g]=T.charCodeAt(g);return v.buffer},O.prototype._removeMimeType=function(y){return y.split(",")[1]},O=b([E(0,x.IOptionsService)],O)}();w.SoundService=Z},6349:function(L,w,R){Object.defineProperty(w,"__esModule",{value:!0}),w.CircularList=void 0;var b=R(8460),E=function(){function x(Z){this._maxLength=Z,this.onDeleteEmitter=new b.EventEmitter,this.onInsertEmitter=new b.EventEmitter,this.onTrimEmitter=new b.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(x.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"maxLength",{get:function(){return this._maxLength},set:function(O){if(this._maxLength!==O){for(var y=new Array(O),T=0;T<Math.min(O,this.length);T++)y[T]=this._array[this._getCyclicIndex(T)];this._array=y,this._maxLength=O,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"length",{get:function(){return this._length},set:function(O){if(O>this._length)for(var y=this._length;y<O;y++)this._array[y]=void 0;this._length=O},enumerable:!1,configurable:!0}),x.prototype.get=function(Z){return this._array[this._getCyclicIndex(Z)]},x.prototype.set=function(Z,O){this._array[this._getCyclicIndex(Z)]=O},x.prototype.push=function(Z){this._array[this._getCyclicIndex(this._length)]=Z,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1)):this._length++},x.prototype.recycle=function(){if(this._length!==this._maxLength)throw new Error("Can only recycle when the buffer is full");return this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1),this._array[this._getCyclicIndex(this._length-1)]},Object.defineProperty(x.prototype,"isFull",{get:function(){return this._length===this._maxLength},enumerable:!1,configurable:!0}),x.prototype.pop=function(){return this._array[this._getCyclicIndex(this._length---1)]},x.prototype.splice=function(Z,O){for(var y=[],T=2;T<arguments.length;T++)y[T-2]=arguments[T];if(O){for(var D=Z;D<this._length-O;D++)this._array[this._getCyclicIndex(D)]=this._array[this._getCyclicIndex(D+O)];this._length-=O,this.onDeleteEmitter.fire({index:Z,amount:O})}for(D=this._length-1;D>=Z;D--)this._array[this._getCyclicIndex(D+y.length)]=this._array[this._getCyclicIndex(D)];for(D=0;D<y.length;D++)this._array[this._getCyclicIndex(Z+D)]=y[D];if(y.length&&this.onInsertEmitter.fire({index:Z,amount:y.length}),this._length+y.length>this._maxLength){var v=this._length+y.length-this._maxLength;this._startIndex+=v,this._length=this._maxLength,this.onTrimEmitter.fire(v)}else this._length+=y.length},x.prototype.trimStart=function(Z){Z>this._length&&(Z=this._length),this._startIndex+=Z,this._length-=Z,this.onTrimEmitter.fire(Z)},x.prototype.shiftElements=function(Z,O,y){if(!(O<=0)){if(Z<0||Z>=this._length)throw new Error("start argument out of range");if(Z+y<0)throw new Error("Cannot shift elements in list beyond index 0");if(y>0){for(var T=O-1;T>=0;T--)this.set(Z+T+y,this.get(Z+T));var D=Z+O+y-this._length;if(D>0)for(this._length+=D;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(T=0;T<O;T++)this.set(Z+T+y,this.get(Z+T))}},x.prototype._getCyclicIndex=function(Z){return(this._startIndex+Z)%this._maxLength},x}();w.CircularList=E},1439:function(L,w){Object.defineProperty(w,"__esModule",{value:!0}),w.clone=void 0,w.clone=function R(b,E){if(void 0===E&&(E=5),"object"!=typeof b)return b;var x=Array.isArray(b)?[]:{};for(var Z in b)x[Z]=E<=1?b[Z]:b[Z]&&R(b[Z],E-1);return x}},8969:function(L,w,R){var b,E=this&&this.__extends||(b=function(K,fe){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ce,he){ce.__proto__=he}||function(ce,he){for(var de in he)Object.prototype.hasOwnProperty.call(he,de)&&(ce[de]=he[de])})(K,fe)},function(ae,K){if("function"!=typeof K&&null!==K)throw new TypeError("Class extends value "+String(K)+" is not a constructor or null");function fe(){this.constructor=ae}b(ae,K),ae.prototype=null===K?Object.create(K):(fe.prototype=K.prototype,new fe)});Object.defineProperty(w,"__esModule",{value:!0}),w.CoreTerminal=void 0;var x=R(844),Z=R(2585),O=R(4348),y=R(7866),T=R(744),D=R(7302),v=R(6975),g=R(8460),M=R(1753),k=R(3730),S=R(1480),I=R(7994),F=R(9282),G=R(5435),X=R(5981),W=!1,Y=function(ae){function K(fe){var ce=ae.call(this)||this;return ce._onBinary=new g.EventEmitter,ce._onData=new g.EventEmitter,ce._onLineFeed=new g.EventEmitter,ce._onResize=new g.EventEmitter,ce._onScroll=new g.EventEmitter,ce._instantiationService=new O.InstantiationService,ce.optionsService=new D.OptionsService(fe),ce._instantiationService.setService(Z.IOptionsService,ce.optionsService),ce._bufferService=ce.register(ce._instantiationService.createInstance(T.BufferService)),ce._instantiationService.setService(Z.IBufferService,ce._bufferService),ce._logService=ce._instantiationService.createInstance(y.LogService),ce._instantiationService.setService(Z.ILogService,ce._logService),ce.coreService=ce.register(ce._instantiationService.createInstance(v.CoreService,function(){return ce.scrollToBottom()})),ce._instantiationService.setService(Z.ICoreService,ce.coreService),ce.coreMouseService=ce._instantiationService.createInstance(M.CoreMouseService),ce._instantiationService.setService(Z.ICoreMouseService,ce.coreMouseService),ce._dirtyRowService=ce._instantiationService.createInstance(k.DirtyRowService),ce._instantiationService.setService(Z.IDirtyRowService,ce._dirtyRowService),ce.unicodeService=ce._instantiationService.createInstance(S.UnicodeService),ce._instantiationService.setService(Z.IUnicodeService,ce.unicodeService),ce._charsetService=ce._instantiationService.createInstance(I.CharsetService),ce._instantiationService.setService(Z.ICharsetService,ce._charsetService),ce._inputHandler=new G.InputHandler(ce._bufferService,ce._charsetService,ce.coreService,ce._dirtyRowService,ce._logService,ce.optionsService,ce.coreMouseService,ce.unicodeService),ce.register((0,g.forwardEvent)(ce._inputHandler.onLineFeed,ce._onLineFeed)),ce.register(ce._inputHandler),ce.register((0,g.forwardEvent)(ce._bufferService.onResize,ce._onResize)),ce.register((0,g.forwardEvent)(ce.coreService.onData,ce._onData)),ce.register((0,g.forwardEvent)(ce.coreService.onBinary,ce._onBinary)),ce.register(ce.optionsService.onOptionChange(function(he){return ce._updateOptions(he)})),ce.register(ce._bufferService.onScroll(function(he){ce._onScroll.fire({position:ce._bufferService.buffer.ydisp,source:0}),ce._dirtyRowService.markRangeDirty(ce._bufferService.buffer.scrollTop,ce._bufferService.buffer.scrollBottom)})),ce.register(ce._inputHandler.onScroll(function(he){ce._onScroll.fire({position:ce._bufferService.buffer.ydisp,source:0}),ce._dirtyRowService.markRangeDirty(ce._bufferService.buffer.scrollTop,ce._bufferService.buffer.scrollBottom)})),ce._writeBuffer=new X.WriteBuffer(function(he,de){return ce._inputHandler.parse(he,de)}),ce}return E(K,ae),Object.defineProperty(K.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(K.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(K.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(K.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(K.prototype,"onScroll",{get:function(){var ce=this;return this._onScrollApi||(this._onScrollApi=new g.EventEmitter,this.register(this._onScroll.event(function(he){var de;null===(de=ce._onScrollApi)||void 0===de||de.fire(he.position)}))),this._onScrollApi.event},enumerable:!1,configurable:!0}),Object.defineProperty(K.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(K.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(K.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),Object.defineProperty(K.prototype,"options",{get:function(){return this.optionsService.publicOptions},enumerable:!1,configurable:!0}),K.prototype.dispose=function(){var fe;this._isDisposed||(ae.prototype.dispose.call(this),null===(fe=this._windowsMode)||void 0===fe||fe.dispose(),this._windowsMode=void 0)},K.prototype.write=function(fe,ce){this._writeBuffer.write(fe,ce)},K.prototype.writeSync=function(fe,ce){this._logService.logLevel<=Z.LogLevelEnum.WARN&&!W&&(this._logService.warn("writeSync is unreliable and will be removed soon."),W=!0),this._writeBuffer.writeSync(fe,ce)},K.prototype.resize=function(fe,ce){isNaN(fe)||isNaN(ce)||(fe=Math.max(fe,T.MINIMUM_COLS),ce=Math.max(ce,T.MINIMUM_ROWS),this._bufferService.resize(fe,ce))},K.prototype.scroll=function(fe,ce){void 0===ce&&(ce=!1),this._bufferService.scroll(fe,ce)},K.prototype.scrollLines=function(fe,ce,he){this._bufferService.scrollLines(fe,ce,he)},K.prototype.scrollPages=function(fe){this._bufferService.scrollPages(fe)},K.prototype.scrollToTop=function(){this._bufferService.scrollToTop()},K.prototype.scrollToBottom=function(){this._bufferService.scrollToBottom()},K.prototype.scrollToLine=function(fe){this._bufferService.scrollToLine(fe)},K.prototype.registerEscHandler=function(fe,ce){return this._inputHandler.registerEscHandler(fe,ce)},K.prototype.registerDcsHandler=function(fe,ce){return this._inputHandler.registerDcsHandler(fe,ce)},K.prototype.registerCsiHandler=function(fe,ce){return this._inputHandler.registerCsiHandler(fe,ce)},K.prototype.registerOscHandler=function(fe,ce){return this._inputHandler.registerOscHandler(fe,ce)},K.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},K.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this.coreService.reset(),this.coreMouseService.reset()},K.prototype._updateOptions=function(fe){var ce;switch(fe){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():(null===(ce=this._windowsMode)||void 0===ce||ce.dispose(),this._windowsMode=void 0)}},K.prototype._enableWindowsMode=function(){var fe=this;if(!this._windowsMode){var ce=[];ce.push(this.onLineFeed(F.updateWindowsModeWrappedState.bind(null,this._bufferService))),ce.push(this.registerCsiHandler({final:"H"},function(){return(0,F.updateWindowsModeWrappedState)(fe._bufferService),!1})),this._windowsMode={dispose:function(){for(var de=0,oe=ce;de<oe.length;de++)oe[de].dispose()}}}},K}(x.Disposable);w.CoreTerminal=Y},8460:function(L,w){Object.defineProperty(w,"__esModule",{value:!0}),w.forwardEvent=w.EventEmitter=void 0;var R=function(){function b(){this._listeners=[],this._disposed=!1}return Object.defineProperty(b.prototype,"event",{get:function(){var x=this;return this._event||(this._event=function(Z){return x._listeners.push(Z),{dispose:function(){if(!x._disposed)for(var y=0;y<x._listeners.length;y++)if(x._listeners[y]===Z)return void x._listeners.splice(y,1)}}}),this._event},enumerable:!1,configurable:!0}),b.prototype.fire=function(E,x){for(var Z=[],O=0;O<this._listeners.length;O++)Z.push(this._listeners[O]);for(O=0;O<Z.length;O++)Z[O].call(void 0,E,x)},b.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},b}();w.EventEmitter=R,w.forwardEvent=function(b,E){return b(function(x){return E.fire(x)})}},5435:function(L,w,R){var b,E=this&&this.__extends||(b=function(he,de){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(oe,Ce){oe.__proto__=Ce}||function(oe,Ce){for(var ge in Ce)Object.prototype.hasOwnProperty.call(Ce,ge)&&(oe[ge]=Ce[ge])})(he,de)},function(ce,he){if("function"!=typeof he&&null!==he)throw new TypeError("Class extends value "+String(he)+" is not a constructor or null");function de(){this.constructor=ce}b(ce,he),ce.prototype=null===he?Object.create(he):(de.prototype=he.prototype,new de)});Object.defineProperty(w,"__esModule",{value:!0}),w.InputHandler=w.WindowsOptionsReportType=void 0;var x,ce,Z=R(2584),O=R(7116),y=R(2015),T=R(844),D=R(8273),v=R(482),g=R(8437),M=R(8460),k=R(643),S=R(511),I=R(3734),F=R(2585),G=R(6242),X=R(6351),W={"(":0,")":1,"*":2,"+":3,"-":1,".":2},Y=131072;function ae(ce,he){if(ce>24)return he.setWinLines||!1;switch(ce){case 1:return!!he.restoreWin;case 2:return!!he.minimizeWin;case 3:return!!he.setWinPosition;case 4:return!!he.setWinSizePixels;case 5:return!!he.raiseWin;case 6:return!!he.lowerWin;case 7:return!!he.refreshWin;case 8:return!!he.setWinSizeChars;case 9:return!!he.maximizeWin;case 10:return!!he.fullscreenWin;case 11:return!!he.getWinState;case 13:return!!he.getWinPosition;case 14:return!!he.getWinSizePixels;case 15:return!!he.getScreenSizePixels;case 16:return!!he.getCellSizePixels;case 18:return!!he.getWinSizeChars;case 19:return!!he.getScreenSizeChars;case 20:return!!he.getIconTitle;case 21:return!!he.getWinTitle;case 22:return!!he.pushTitle;case 23:return!!he.popTitle;case 24:return!!he.setWinLines}return!1}(ce=x=w.WindowsOptionsReportType||(w.WindowsOptionsReportType={}))[ce.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",ce[ce.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS";var K=function(){function ce(he,de,oe,Ce){this._bufferService=he,this._coreService=de,this._logService=oe,this._optionsService=Ce,this._data=new Uint32Array(0)}return ce.prototype.hook=function(he){this._data=new Uint32Array(0)},ce.prototype.put=function(he,de,oe){this._data=(0,D.concat)(this._data,he.subarray(de,oe))},ce.prototype.unhook=function(he){if(!he)return this._data=new Uint32Array(0),!0;var de=(0,v.utf32ToString)(this._data);switch(this._data=new Uint32Array(0),de){case'"q':this._coreService.triggerDataEvent(Z.C0.ESC+'P1$r0"q'+Z.C0.ESC+"\\");break;case'"p':this._coreService.triggerDataEvent(Z.C0.ESC+'P1$r61;1"p'+Z.C0.ESC+"\\");break;case"r":this._coreService.triggerDataEvent(Z.C0.ESC+"P1$r"+(this._bufferService.buffer.scrollTop+1)+";"+(this._bufferService.buffer.scrollBottom+1)+"r"+Z.C0.ESC+"\\");break;case"m":this._coreService.triggerDataEvent(Z.C0.ESC+"P1$r0m"+Z.C0.ESC+"\\");break;case" q":var Ce={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];this._coreService.triggerDataEvent(Z.C0.ESC+"P1$r"+(Ce-=this._optionsService.options.cursorBlink?1:0)+" q"+Z.C0.ESC+"\\");break;default:this._logService.debug("Unknown DCS $q %s",de),this._coreService.triggerDataEvent(Z.C0.ESC+"P0$r"+Z.C0.ESC+"\\")}return!0},ce}(),fe=function(ce){function he(de,oe,Ce,ge,qe,De,Qe,et,bt){void 0===bt&&(bt=new y.EscapeSequenceParser);var _e=ce.call(this)||this;_e._bufferService=de,_e._charsetService=oe,_e._coreService=Ce,_e._dirtyRowService=ge,_e._logService=qe,_e._optionsService=De,_e._coreMouseService=Qe,_e._unicodeService=et,_e._parser=bt,_e._parseBuffer=new Uint32Array(4096),_e._stringDecoder=new v.StringToUtf32,_e._utf8Decoder=new v.Utf8ToUtf32,_e._workCell=new S.CellData,_e._windowTitle="",_e._iconName="",_e._windowTitleStack=[],_e._iconNameStack=[],_e._curAttrData=g.DEFAULT_ATTR_DATA.clone(),_e._eraseAttrDataInternal=g.DEFAULT_ATTR_DATA.clone(),_e._onRequestBell=new M.EventEmitter,_e._onRequestRefreshRows=new M.EventEmitter,_e._onRequestReset=new M.EventEmitter,_e._onRequestSendFocus=new M.EventEmitter,_e._onRequestSyncScrollBar=new M.EventEmitter,_e._onRequestWindowsOptionsReport=new M.EventEmitter,_e._onA11yChar=new M.EventEmitter,_e._onA11yTab=new M.EventEmitter,_e._onCursorMove=new M.EventEmitter,_e._onLineFeed=new M.EventEmitter,_e._onScroll=new M.EventEmitter,_e._onTitleChange=new M.EventEmitter,_e._onAnsiColorChange=new M.EventEmitter,_e._parseStack={paused:!1,cursorStartX:0,cursorStartY:0,decodedLength:0,position:0},_e.register(_e._parser),_e._activeBuffer=_e._bufferService.buffer,_e.register(_e._bufferService.buffers.onBufferActivate(function(tt){return _e._activeBuffer=tt.activeBuffer})),_e._parser.setCsiHandlerFallback(function(tt,Zt){_e._logService.debug("Unknown CSI code: ",{identifier:_e._parser.identToString(tt),params:Zt.toArray()})}),_e._parser.setEscHandlerFallback(function(tt){_e._logService.debug("Unknown ESC code: ",{identifier:_e._parser.identToString(tt)})}),_e._parser.setExecuteHandlerFallback(function(tt){_e._logService.debug("Unknown EXECUTE code: ",{code:tt})}),_e._parser.setOscHandlerFallback(function(tt,Zt,Tt){_e._logService.debug("Unknown OSC code: ",{identifier:tt,action:Zt,data:Tt})}),_e._parser.setDcsHandlerFallback(function(tt,Zt,Tt){"HOOK"===Zt&&(Tt=Tt.toArray()),_e._logService.debug("Unknown DCS code: ",{identifier:_e._parser.identToString(tt),action:Zt,payload:Tt})}),_e._parser.setPrintHandler(function(tt,Zt,Tt){return _e.print(tt,Zt,Tt)}),_e._parser.registerCsiHandler({final:"@"},function(tt){return _e.insertChars(tt)}),_e._parser.registerCsiHandler({intermediates:" ",final:"@"},function(tt){return _e.scrollLeft(tt)}),_e._parser.registerCsiHandler({final:"A"},function(tt){return _e.cursorUp(tt)}),_e._parser.registerCsiHandler({intermediates:" ",final:"A"},function(tt){return _e.scrollRight(tt)}),_e._parser.registerCsiHandler({final:"B"},function(tt){return _e.cursorDown(tt)}),_e._parser.registerCsiHandler({final:"C"},function(tt){return _e.cursorForward(tt)}),_e._parser.registerCsiHandler({final:"D"},function(tt){return _e.cursorBackward(tt)}),_e._parser.registerCsiHandler({final:"E"},function(tt){return _e.cursorNextLine(tt)}),_e._parser.registerCsiHandler({final:"F"},function(tt){return _e.cursorPrecedingLine(tt)}),_e._parser.registerCsiHandler({final:"G"},function(tt){return _e.cursorCharAbsolute(tt)}),_e._parser.registerCsiHandler({final:"H"},function(tt){return _e.cursorPosition(tt)}),_e._parser.registerCsiHandler({final:"I"},function(tt){return _e.cursorForwardTab(tt)}),_e._parser.registerCsiHandler({final:"J"},function(tt){return _e.eraseInDisplay(tt)}),_e._parser.registerCsiHandler({prefix:"?",final:"J"},function(tt){return _e.eraseInDisplay(tt)}),_e._parser.registerCsiHandler({final:"K"},function(tt){return _e.eraseInLine(tt)}),_e._parser.registerCsiHandler({prefix:"?",final:"K"},function(tt){return _e.eraseInLine(tt)}),_e._parser.registerCsiHandler({final:"L"},function(tt){return _e.insertLines(tt)}),_e._parser.registerCsiHandler({final:"M"},function(tt){return _e.deleteLines(tt)}),_e._parser.registerCsiHandler({final:"P"},function(tt){return _e.deleteChars(tt)}),_e._parser.registerCsiHandler({final:"S"},function(tt){return _e.scrollUp(tt)}),_e._parser.registerCsiHandler({final:"T"},function(tt){return _e.scrollDown(tt)}),_e._parser.registerCsiHandler({final:"X"},function(tt){return _e.eraseChars(tt)}),_e._parser.registerCsiHandler({final:"Z"},function(tt){return _e.cursorBackwardTab(tt)}),_e._parser.registerCsiHandler({final:"`"},function(tt){return _e.charPosAbsolute(tt)}),_e._parser.registerCsiHandler({final:"a"},function(tt){return _e.hPositionRelative(tt)}),_e._parser.registerCsiHandler({final:"b"},function(tt){return _e.repeatPrecedingCharacter(tt)}),_e._parser.registerCsiHandler({final:"c"},function(tt){return _e.sendDeviceAttributesPrimary(tt)}),_e._parser.registerCsiHandler({prefix:">",final:"c"},function(tt){return _e.sendDeviceAttributesSecondary(tt)}),_e._parser.registerCsiHandler({final:"d"},function(tt){return _e.linePosAbsolute(tt)}),_e._parser.registerCsiHandler({final:"e"},function(tt){return _e.vPositionRelative(tt)}),_e._parser.registerCsiHandler({final:"f"},function(tt){return _e.hVPosition(tt)}),_e._parser.registerCsiHandler({final:"g"},function(tt){return _e.tabClear(tt)}),_e._parser.registerCsiHandler({final:"h"},function(tt){return _e.setMode(tt)}),_e._parser.registerCsiHandler({prefix:"?",final:"h"},function(tt){return _e.setModePrivate(tt)}),_e._parser.registerCsiHandler({final:"l"},function(tt){return _e.resetMode(tt)}),_e._parser.registerCsiHandler({prefix:"?",final:"l"},function(tt){return _e.resetModePrivate(tt)}),_e._parser.registerCsiHandler({final:"m"},function(tt){return _e.charAttributes(tt)}),_e._parser.registerCsiHandler({final:"n"},function(tt){return _e.deviceStatus(tt)}),_e._parser.registerCsiHandler({prefix:"?",final:"n"},function(tt){return _e.deviceStatusPrivate(tt)}),_e._parser.registerCsiHandler({intermediates:"!",final:"p"},function(tt){return _e.softReset(tt)}),_e._parser.registerCsiHandler({intermediates:" ",final:"q"},function(tt){return _e.setCursorStyle(tt)}),_e._parser.registerCsiHandler({final:"r"},function(tt){return _e.setScrollRegion(tt)}),_e._parser.registerCsiHandler({final:"s"},function(tt){return _e.saveCursor(tt)}),_e._parser.registerCsiHandler({final:"t"},function(tt){return _e.windowOptions(tt)}),_e._parser.registerCsiHandler({final:"u"},function(tt){return _e.restoreCursor(tt)}),_e._parser.registerCsiHandler({intermediates:"'",final:"}"},function(tt){return _e.insertColumns(tt)}),_e._parser.registerCsiHandler({intermediates:"'",final:"~"},function(tt){return _e.deleteColumns(tt)}),_e._parser.setExecuteHandler(Z.C0.BEL,function(){return _e.bell()}),_e._parser.setExecuteHandler(Z.C0.LF,function(){return _e.lineFeed()}),_e._parser.setExecuteHandler(Z.C0.VT,function(){return _e.lineFeed()}),_e._parser.setExecuteHandler(Z.C0.FF,function(){return _e.lineFeed()}),_e._parser.setExecuteHandler(Z.C0.CR,function(){return _e.carriageReturn()}),_e._parser.setExecuteHandler(Z.C0.BS,function(){return _e.backspace()}),_e._parser.setExecuteHandler(Z.C0.HT,function(){return _e.tab()}),_e._parser.setExecuteHandler(Z.C0.SO,function(){return _e.shiftOut()}),_e._parser.setExecuteHandler(Z.C0.SI,function(){return _e.shiftIn()}),_e._parser.setExecuteHandler(Z.C1.IND,function(){return _e.index()}),_e._parser.setExecuteHandler(Z.C1.NEL,function(){return _e.nextLine()}),_e._parser.setExecuteHandler(Z.C1.HTS,function(){return _e.tabSet()}),_e._parser.registerOscHandler(0,new G.OscHandler(function(tt){return _e.setTitle(tt),_e.setIconName(tt),!0})),_e._parser.registerOscHandler(1,new G.OscHandler(function(tt){return _e.setIconName(tt)})),_e._parser.registerOscHandler(2,new G.OscHandler(function(tt){return _e.setTitle(tt)})),_e._parser.registerOscHandler(4,new G.OscHandler(function(tt){return _e.setAnsiColor(tt)})),_e._parser.registerEscHandler({final:"7"},function(){return _e.saveCursor()}),_e._parser.registerEscHandler({final:"8"},function(){return _e.restoreCursor()}),_e._parser.registerEscHandler({final:"D"},function(){return _e.index()}),_e._parser.registerEscHandler({final:"E"},function(){return _e.nextLine()}),_e._parser.registerEscHandler({final:"H"},function(){return _e.tabSet()}),_e._parser.registerEscHandler({final:"M"},function(){return _e.reverseIndex()}),_e._parser.registerEscHandler({final:"="},function(){return _e.keypadApplicationMode()}),_e._parser.registerEscHandler({final:">"},function(){return _e.keypadNumericMode()}),_e._parser.registerEscHandler({final:"c"},function(){return _e.fullReset()}),_e._parser.registerEscHandler({final:"n"},function(){return _e.setgLevel(2)}),_e._parser.registerEscHandler({final:"o"},function(){return _e.setgLevel(3)}),_e._parser.registerEscHandler({final:"|"},function(){return _e.setgLevel(3)}),_e._parser.registerEscHandler({final:"}"},function(){return _e.setgLevel(2)}),_e._parser.registerEscHandler({final:"~"},function(){return _e.setgLevel(1)}),_e._parser.registerEscHandler({intermediates:"%",final:"@"},function(){return _e.selectDefaultCharset()}),_e._parser.registerEscHandler({intermediates:"%",final:"G"},function(){return _e.selectDefaultCharset()});var xe=function(Zt){He._parser.registerEscHandler({intermediates:"(",final:Zt},function(){return _e.selectCharset("("+Zt)}),He._parser.registerEscHandler({intermediates:")",final:Zt},function(){return _e.selectCharset(")"+Zt)}),He._parser.registerEscHandler({intermediates:"*",final:Zt},function(){return _e.selectCharset("*"+Zt)}),He._parser.registerEscHandler({intermediates:"+",final:Zt},function(){return _e.selectCharset("+"+Zt)}),He._parser.registerEscHandler({intermediates:"-",final:Zt},function(){return _e.selectCharset("-"+Zt)}),He._parser.registerEscHandler({intermediates:".",final:Zt},function(){return _e.selectCharset("."+Zt)}),He._parser.registerEscHandler({intermediates:"/",final:Zt},function(){return _e.selectCharset("/"+Zt)})},He=this;for(var st in O.CHARSETS)xe(st);return _e._parser.registerEscHandler({intermediates:"#",final:"8"},function(){return _e.screenAlignmentPattern()}),_e._parser.setErrorHandler(function(tt){return _e._logService.error("Parsing error: ",tt),tt}),_e._parser.registerDcsHandler({intermediates:"$",final:"q"},new K(_e._bufferService,_e._coreService,_e._logService,_e._optionsService)),_e}return E(he,ce),Object.defineProperty(he.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"onRequestSendFocus",{get:function(){return this._onRequestSendFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"onAnsiColorChange",{get:function(){return this._onAnsiColorChange.event},enumerable:!1,configurable:!0}),he.prototype.dispose=function(){ce.prototype.dispose.call(this)},he.prototype._preserveStack=function(de,oe,Ce,ge){this._parseStack.paused=!0,this._parseStack.cursorStartX=de,this._parseStack.cursorStartY=oe,this._parseStack.decodedLength=Ce,this._parseStack.position=ge},he.prototype._logSlowResolvingAsync=function(de){this._logService.logLevel<=F.LogLevelEnum.WARN&&Promise.race([de,new Promise(function(oe,Ce){return setTimeout(function(){return Ce("#SLOW_TIMEOUT")},5e3)})]).catch(function(oe){if("#SLOW_TIMEOUT"!==oe)throw oe;console.warn("async parser handler taking longer than 5000 ms")})},he.prototype.parse=function(de,oe){var Ce,ge=this._activeBuffer.x,qe=this._activeBuffer.y,De=0,Qe=this._parseStack.paused;if(Qe){if(Ce=this._parser.parse(this._parseBuffer,this._parseStack.decodedLength,oe))return this._logSlowResolvingAsync(Ce),Ce;ge=this._parseStack.cursorStartX,qe=this._parseStack.cursorStartY,this._parseStack.paused=!1,de.length>Y&&(De=this._parseStack.position+Y)}if(this._logService.debug("parsing data",de),this._parseBuffer.length<de.length&&this._parseBuffer.length<Y&&(this._parseBuffer=new Uint32Array(Math.min(de.length,Y))),Qe||this._dirtyRowService.clearRange(),de.length>Y)for(var et=De;et<de.length;et+=Y){var bt=et+Y<de.length?et+Y:de.length,_e="string"==typeof de?this._stringDecoder.decode(de.substring(et,bt),this._parseBuffer):this._utf8Decoder.decode(de.subarray(et,bt),this._parseBuffer);if(Ce=this._parser.parse(this._parseBuffer,_e))return this._preserveStack(ge,qe,_e,et),this._logSlowResolvingAsync(Ce),Ce}else if(!Qe&&(_e="string"==typeof de?this._stringDecoder.decode(de,this._parseBuffer):this._utf8Decoder.decode(de,this._parseBuffer),Ce=this._parser.parse(this._parseBuffer,_e)))return this._preserveStack(ge,qe,_e,0),this._logSlowResolvingAsync(Ce),Ce;this._activeBuffer.x===ge&&this._activeBuffer.y===qe||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},he.prototype.print=function(de,oe,Ce){var ge,qe,De=this._charsetService.charset,Qe=this._optionsService.options.screenReaderMode,et=this._bufferService.cols,bt=this._coreService.decPrivateModes.wraparound,_e=this._coreService.modes.insertMode,xe=this._curAttrData,He=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);this._dirtyRowService.markDirty(this._activeBuffer.y),this._activeBuffer.x&&Ce-oe>0&&2===He.getWidth(this._activeBuffer.x-1)&&He.setCellFromCodePoint(this._activeBuffer.x-1,0,1,xe.fg,xe.bg,xe.extended);for(var st=oe;st<Ce;++st){if(qe=this._unicodeService.wcwidth(ge=de[st]),ge<127&&De){var tt=De[String.fromCharCode(ge)];tt&&(ge=tt.charCodeAt(0))}if(Qe&&this._onA11yChar.fire((0,v.stringFromCodePoint)(ge)),qe||!this._activeBuffer.x){if(this._activeBuffer.x+qe-1>=et)if(bt){for(;this._activeBuffer.x<et;)He.setCellFromCodePoint(this._activeBuffer.x++,0,1,xe.fg,xe.bg,xe.extended);this._activeBuffer.x=0,this._activeBuffer.y++,this._activeBuffer.y===this._activeBuffer.scrollBottom+1?(this._activeBuffer.y--,this._bufferService.scroll(this._eraseAttrData(),!0)):(this._activeBuffer.y>=this._bufferService.rows&&(this._activeBuffer.y=this._bufferService.rows-1),this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y).isWrapped=!0),He=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y)}else if(this._activeBuffer.x=et-1,2===qe)continue;if(_e&&(He.insertCells(this._activeBuffer.x,qe,this._activeBuffer.getNullCell(xe),xe),2===He.getWidth(et-1)&&He.setCellFromCodePoint(et-1,k.NULL_CELL_CODE,k.NULL_CELL_WIDTH,xe.fg,xe.bg,xe.extended)),He.setCellFromCodePoint(this._activeBuffer.x++,ge,qe,xe.fg,xe.bg,xe.extended),qe>0)for(;--qe;)He.setCellFromCodePoint(this._activeBuffer.x++,0,0,xe.fg,xe.bg,xe.extended)}else He.getWidth(this._activeBuffer.x-1)?He.addCodepointToCell(this._activeBuffer.x-1,ge):He.addCodepointToCell(this._activeBuffer.x-2,ge)}Ce-oe>0&&(He.loadCell(this._activeBuffer.x-1,this._workCell),this._parser.precedingCodepoint=2===this._workCell.getWidth()||this._workCell.getCode()>65535?0:this._workCell.isCombined()?this._workCell.getChars().charCodeAt(0):this._workCell.content),this._activeBuffer.x<et&&Ce-oe>0&&0===He.getWidth(this._activeBuffer.x)&&!He.hasContent(this._activeBuffer.x)&&He.setCellFromCodePoint(this._activeBuffer.x,0,1,xe.fg,xe.bg,xe.extended),this._dirtyRowService.markDirty(this._activeBuffer.y)},he.prototype.registerCsiHandler=function(de,oe){var Ce=this;return this._parser.registerCsiHandler(de,"t"!==de.final||de.prefix||de.intermediates?oe:function(ge){return!ae(ge.params[0],Ce._optionsService.options.windowOptions)||oe(ge)})},he.prototype.registerDcsHandler=function(de,oe){return this._parser.registerDcsHandler(de,new X.DcsHandler(oe))},he.prototype.registerEscHandler=function(de,oe){return this._parser.registerEscHandler(de,oe)},he.prototype.registerOscHandler=function(de,oe){return this._parser.registerOscHandler(de,new G.OscHandler(oe))},he.prototype.bell=function(){return this._onRequestBell.fire(),!0},he.prototype.lineFeed=function(){return this._dirtyRowService.markDirty(this._activeBuffer.y),this._optionsService.options.convertEol&&(this._activeBuffer.x=0),this._activeBuffer.y++,this._activeBuffer.y===this._activeBuffer.scrollBottom+1?(this._activeBuffer.y--,this._bufferService.scroll(this._eraseAttrData())):this._activeBuffer.y>=this._bufferService.rows&&(this._activeBuffer.y=this._bufferService.rows-1),this._activeBuffer.x>=this._bufferService.cols&&this._activeBuffer.x--,this._dirtyRowService.markDirty(this._activeBuffer.y),this._onLineFeed.fire(),!0},he.prototype.carriageReturn=function(){return this._activeBuffer.x=0,!0},he.prototype.backspace=function(){var de;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),this._activeBuffer.x>0&&this._activeBuffer.x--,!0;if(this._restrictCursor(this._bufferService.cols),this._activeBuffer.x>0)this._activeBuffer.x--;else if(0===this._activeBuffer.x&&this._activeBuffer.y>this._activeBuffer.scrollTop&&this._activeBuffer.y<=this._activeBuffer.scrollBottom&&(null===(de=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y))||void 0===de?void 0:de.isWrapped)){this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y).isWrapped=!1,this._activeBuffer.y--,this._activeBuffer.x=this._bufferService.cols-1;var oe=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);oe.hasWidth(this._activeBuffer.x)&&!oe.hasContent(this._activeBuffer.x)&&this._activeBuffer.x--}return this._restrictCursor(),!0},he.prototype.tab=function(){if(this._activeBuffer.x>=this._bufferService.cols)return!0;var de=this._activeBuffer.x;return this._activeBuffer.x=this._activeBuffer.nextStop(),this._optionsService.options.screenReaderMode&&this._onA11yTab.fire(this._activeBuffer.x-de),!0},he.prototype.shiftOut=function(){return this._charsetService.setgLevel(1),!0},he.prototype.shiftIn=function(){return this._charsetService.setgLevel(0),!0},he.prototype._restrictCursor=function(de){void 0===de&&(de=this._bufferService.cols-1),this._activeBuffer.x=Math.min(de,Math.max(0,this._activeBuffer.x)),this._activeBuffer.y=this._coreService.decPrivateModes.origin?Math.min(this._activeBuffer.scrollBottom,Math.max(this._activeBuffer.scrollTop,this._activeBuffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._activeBuffer.y)),this._dirtyRowService.markDirty(this._activeBuffer.y)},he.prototype._setCursor=function(de,oe){this._dirtyRowService.markDirty(this._activeBuffer.y),this._coreService.decPrivateModes.origin?(this._activeBuffer.x=de,this._activeBuffer.y=this._activeBuffer.scrollTop+oe):(this._activeBuffer.x=de,this._activeBuffer.y=oe),this._restrictCursor(),this._dirtyRowService.markDirty(this._activeBuffer.y)},he.prototype._moveCursor=function(de,oe){this._restrictCursor(),this._setCursor(this._activeBuffer.x+de,this._activeBuffer.y+oe)},he.prototype.cursorUp=function(de){var oe=this._activeBuffer.y-this._activeBuffer.scrollTop;return this._moveCursor(0,oe>=0?-Math.min(oe,de.params[0]||1):-(de.params[0]||1)),!0},he.prototype.cursorDown=function(de){var oe=this._activeBuffer.scrollBottom-this._activeBuffer.y;return this._moveCursor(0,oe>=0?Math.min(oe,de.params[0]||1):de.params[0]||1),!0},he.prototype.cursorForward=function(de){return this._moveCursor(de.params[0]||1,0),!0},he.prototype.cursorBackward=function(de){return this._moveCursor(-(de.params[0]||1),0),!0},he.prototype.cursorNextLine=function(de){return this.cursorDown(de),this._activeBuffer.x=0,!0},he.prototype.cursorPrecedingLine=function(de){return this.cursorUp(de),this._activeBuffer.x=0,!0},he.prototype.cursorCharAbsolute=function(de){return this._setCursor((de.params[0]||1)-1,this._activeBuffer.y),!0},he.prototype.cursorPosition=function(de){return this._setCursor(de.length>=2?(de.params[1]||1)-1:0,(de.params[0]||1)-1),!0},he.prototype.charPosAbsolute=function(de){return this._setCursor((de.params[0]||1)-1,this._activeBuffer.y),!0},he.prototype.hPositionRelative=function(de){return this._moveCursor(de.params[0]||1,0),!0},he.prototype.linePosAbsolute=function(de){return this._setCursor(this._activeBuffer.x,(de.params[0]||1)-1),!0},he.prototype.vPositionRelative=function(de){return this._moveCursor(0,de.params[0]||1),!0},he.prototype.hVPosition=function(de){return this.cursorPosition(de),!0},he.prototype.tabClear=function(de){var oe=de.params[0];return 0===oe?delete this._activeBuffer.tabs[this._activeBuffer.x]:3===oe&&(this._activeBuffer.tabs={}),!0},he.prototype.cursorForwardTab=function(de){if(this._activeBuffer.x>=this._bufferService.cols)return!0;for(var oe=de.params[0]||1;oe--;)this._activeBuffer.x=this._activeBuffer.nextStop();return!0},he.prototype.cursorBackwardTab=function(de){if(this._activeBuffer.x>=this._bufferService.cols)return!0;for(var oe=de.params[0]||1;oe--;)this._activeBuffer.x=this._activeBuffer.prevStop();return!0},he.prototype._eraseInBufferLine=function(de,oe,Ce,ge){void 0===ge&&(ge=!1);var qe=this._activeBuffer.lines.get(this._activeBuffer.ybase+de);qe.replaceCells(oe,Ce,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),ge&&(qe.isWrapped=!1)},he.prototype._resetBufferLine=function(de){var oe=this._activeBuffer.lines.get(this._activeBuffer.ybase+de);oe.fill(this._activeBuffer.getNullCell(this._eraseAttrData())),oe.isWrapped=!1},he.prototype.eraseInDisplay=function(de){var oe;switch(this._restrictCursor(this._bufferService.cols),de.params[0]){case 0:for(this._dirtyRowService.markDirty(oe=this._activeBuffer.y),this._eraseInBufferLine(oe++,this._activeBuffer.x,this._bufferService.cols,0===this._activeBuffer.x);oe<this._bufferService.rows;oe++)this._resetBufferLine(oe);this._dirtyRowService.markDirty(oe);break;case 1:for(this._dirtyRowService.markDirty(oe=this._activeBuffer.y),this._eraseInBufferLine(oe,0,this._activeBuffer.x+1,!0),this._activeBuffer.x+1>=this._bufferService.cols&&(this._activeBuffer.lines.get(oe+1).isWrapped=!1);oe--;)this._resetBufferLine(oe);this._dirtyRowService.markDirty(0);break;case 2:for(this._dirtyRowService.markDirty((oe=this._bufferService.rows)-1);oe--;)this._resetBufferLine(oe);this._dirtyRowService.markDirty(0);break;case 3:var Ce=this._activeBuffer.lines.length-this._bufferService.rows;Ce>0&&(this._activeBuffer.lines.trimStart(Ce),this._activeBuffer.ybase=Math.max(this._activeBuffer.ybase-Ce,0),this._activeBuffer.ydisp=Math.max(this._activeBuffer.ydisp-Ce,0),this._onScroll.fire(0))}return!0},he.prototype.eraseInLine=function(de){switch(this._restrictCursor(this._bufferService.cols),de.params[0]){case 0:this._eraseInBufferLine(this._activeBuffer.y,this._activeBuffer.x,this._bufferService.cols);break;case 1:this._eraseInBufferLine(this._activeBuffer.y,0,this._activeBuffer.x+1);break;case 2:this._eraseInBufferLine(this._activeBuffer.y,0,this._bufferService.cols)}return this._dirtyRowService.markDirty(this._activeBuffer.y),!0},he.prototype.insertLines=function(de){this._restrictCursor();var oe=de.params[0]||1;if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;for(var Ce=this._activeBuffer.ybase+this._activeBuffer.y,qe=this._bufferService.rows-1+this._activeBuffer.ybase-(this._bufferService.rows-1-this._activeBuffer.scrollBottom)+1;oe--;)this._activeBuffer.lines.splice(qe-1,1),this._activeBuffer.lines.splice(Ce,0,this._activeBuffer.getBlankLine(this._eraseAttrData()));return this._dirtyRowService.markRangeDirty(this._activeBuffer.y,this._activeBuffer.scrollBottom),this._activeBuffer.x=0,!0},he.prototype.deleteLines=function(de){this._restrictCursor();var oe=de.params[0]||1;if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;var Ce,ge=this._activeBuffer.ybase+this._activeBuffer.y;for(Ce=this._bufferService.rows-1+this._activeBuffer.ybase-(Ce=this._bufferService.rows-1-this._activeBuffer.scrollBottom);oe--;)this._activeBuffer.lines.splice(ge,1),this._activeBuffer.lines.splice(Ce,0,this._activeBuffer.getBlankLine(this._eraseAttrData()));return this._dirtyRowService.markRangeDirty(this._activeBuffer.y,this._activeBuffer.scrollBottom),this._activeBuffer.x=0,!0},he.prototype.insertChars=function(de){this._restrictCursor();var oe=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);return oe&&(oe.insertCells(this._activeBuffer.x,de.params[0]||1,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._activeBuffer.y)),!0},he.prototype.deleteChars=function(de){this._restrictCursor();var oe=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);return oe&&(oe.deleteCells(this._activeBuffer.x,de.params[0]||1,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._activeBuffer.y)),!0},he.prototype.scrollUp=function(de){for(var oe=de.params[0]||1;oe--;)this._activeBuffer.lines.splice(this._activeBuffer.ybase+this._activeBuffer.scrollTop,1),this._activeBuffer.lines.splice(this._activeBuffer.ybase+this._activeBuffer.scrollBottom,0,this._activeBuffer.getBlankLine(this._eraseAttrData()));return this._dirtyRowService.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0},he.prototype.scrollDown=function(de){for(var oe=de.params[0]||1;oe--;)this._activeBuffer.lines.splice(this._activeBuffer.ybase+this._activeBuffer.scrollBottom,1),this._activeBuffer.lines.splice(this._activeBuffer.ybase+this._activeBuffer.scrollTop,0,this._activeBuffer.getBlankLine(g.DEFAULT_ATTR_DATA));return this._dirtyRowService.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0},he.prototype.scrollLeft=function(de){if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;for(var oe=de.params[0]||1,Ce=this._activeBuffer.scrollTop;Ce<=this._activeBuffer.scrollBottom;++Ce){var ge=this._activeBuffer.lines.get(this._activeBuffer.ybase+Ce);ge.deleteCells(0,oe,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),ge.isWrapped=!1}return this._dirtyRowService.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0},he.prototype.scrollRight=function(de){if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;for(var oe=de.params[0]||1,Ce=this._activeBuffer.scrollTop;Ce<=this._activeBuffer.scrollBottom;++Ce){var ge=this._activeBuffer.lines.get(this._activeBuffer.ybase+Ce);ge.insertCells(0,oe,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),ge.isWrapped=!1}return this._dirtyRowService.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0},he.prototype.insertColumns=function(de){if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;for(var oe=de.params[0]||1,Ce=this._activeBuffer.scrollTop;Ce<=this._activeBuffer.scrollBottom;++Ce){var ge=this._activeBuffer.lines.get(this._activeBuffer.ybase+Ce);ge.insertCells(this._activeBuffer.x,oe,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),ge.isWrapped=!1}return this._dirtyRowService.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0},he.prototype.deleteColumns=function(de){if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;for(var oe=de.params[0]||1,Ce=this._activeBuffer.scrollTop;Ce<=this._activeBuffer.scrollBottom;++Ce){var ge=this._activeBuffer.lines.get(this._activeBuffer.ybase+Ce);ge.deleteCells(this._activeBuffer.x,oe,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),ge.isWrapped=!1}return this._dirtyRowService.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0},he.prototype.eraseChars=function(de){this._restrictCursor();var oe=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);return oe&&(oe.replaceCells(this._activeBuffer.x,this._activeBuffer.x+(de.params[0]||1),this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._activeBuffer.y)),!0},he.prototype.repeatPrecedingCharacter=function(de){if(!this._parser.precedingCodepoint)return!0;for(var oe=de.params[0]||1,Ce=new Uint32Array(oe),ge=0;ge<oe;++ge)Ce[ge]=this._parser.precedingCodepoint;return this.print(Ce,0,Ce.length),!0},he.prototype.sendDeviceAttributesPrimary=function(de){return de.params[0]>0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(Z.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(Z.C0.ESC+"[?6c")),!0},he.prototype.sendDeviceAttributesSecondary=function(de){return de.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(Z.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(Z.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(de.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(Z.C0.ESC+"[>83;40003;0c")),!0},he.prototype._is=function(de){return 0===(this._optionsService.options.termName+"").indexOf(de)},he.prototype.setMode=function(de){for(var oe=0;oe<de.length;oe++)4===de.params[oe]&&(this._coreService.modes.insertMode=!0);return!0},he.prototype.setModePrivate=function(de){for(var oe=0;oe<de.length;oe++)switch(de.params[oe]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,O.DEFAULT_CHARSET),this._charsetService.setgCharset(1,O.DEFAULT_CHARSET),this._charsetService.setgCharset(2,O.DEFAULT_CHARSET),this._charsetService.setgCharset(3,O.DEFAULT_CHARSET);break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._bufferService.resize(132,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!0,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!0;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!0;break;case 66:this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire();break;case 9:this._coreMouseService.activeProtocol="X10";break;case 1e3:this._coreMouseService.activeProtocol="VT200";break;case 1002:this._coreMouseService.activeProtocol="DRAG";break;case 1003:this._coreMouseService.activeProtocol="ANY";break;case 1004:this._coreService.decPrivateModes.sendFocus=!0,this._onRequestSendFocus.fire();break;case 1005:this._logService.debug("DECSET 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="SGR";break;case 1015:this._logService.debug("DECSET 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!1;break;case 1048:this.saveCursor();break;case 1049:this.saveCursor();case 47:case 1047:this._bufferService.buffers.activateAltBuffer(this._eraseAttrData()),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!0}return!0},he.prototype.resetMode=function(de){for(var oe=0;oe<de.length;oe++)4===de.params[oe]&&(this._coreService.modes.insertMode=!1);return!0},he.prototype.resetModePrivate=function(de){for(var oe=0;oe<de.length;oe++)switch(de.params[oe]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!1;break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._bufferService.resize(80,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!1,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!1;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!1;break;case 66:this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire();break;case 9:case 1e3:case 1002:case 1003:this._coreMouseService.activeProtocol="NONE";break;case 1004:this._coreService.decPrivateModes.sendFocus=!1;break;case 1005:this._logService.debug("DECRST 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="DEFAULT";break;case 1015:this._logService.debug("DECRST 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!0;break;case 1048:this.restoreCursor();break;case 1049:case 47:case 1047:this._bufferService.buffers.activateNormalBuffer(),1049===de.params[oe]&&this.restoreCursor(),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!1}return!0},he.prototype._updateAttrColor=function(de,oe,Ce,ge,qe){return 2===oe?(de|=50331648,de&=-16777216,de|=I.AttributeData.fromColorRGB([Ce,ge,qe])):5===oe&&(de&=-50331904,de|=33554432|255&Ce),de},he.prototype._extractColor=function(de,oe,Ce){var ge=[0,0,-1,0,0,0],qe=0,De=0;do{if(ge[De+qe]=de.params[oe+De],de.hasSubParams(oe+De)){var Qe=de.getSubParams(oe+De),et=0;do{5===ge[1]&&(qe=1),ge[De+et+1+qe]=Qe[et]}while(++et<Qe.length&&et+De+1+qe<ge.length);break}if(5===ge[1]&&De+qe>=2||2===ge[1]&&De+qe>=5)break;ge[1]&&(qe=1)}while(++De+oe<de.length&&De+qe<ge.length);for(et=2;et<ge.length;++et)-1===ge[et]&&(ge[et]=0);switch(ge[0]){case 38:Ce.fg=this._updateAttrColor(Ce.fg,ge[1],ge[3],ge[4],ge[5]);break;case 48:Ce.bg=this._updateAttrColor(Ce.bg,ge[1],ge[3],ge[4],ge[5]);break;case 58:Ce.extended=Ce.extended.clone(),Ce.extended.underlineColor=this._updateAttrColor(Ce.extended.underlineColor,ge[1],ge[3],ge[4],ge[5])}return De},he.prototype._processUnderline=function(de,oe){oe.extended=oe.extended.clone(),(!~de||de>5)&&(de=1),oe.extended.underlineStyle=de,oe.fg|=268435456,0===de&&(oe.fg&=-268435457),oe.updateExtended()},he.prototype.charAttributes=function(de){if(1===de.length&&0===de.params[0])return this._curAttrData.fg=g.DEFAULT_ATTR_DATA.fg,this._curAttrData.bg=g.DEFAULT_ATTR_DATA.bg,!0;for(var oe,Ce=de.length,ge=this._curAttrData,qe=0;qe<Ce;qe++)(oe=de.params[qe])>=30&&oe<=37?(ge.fg&=-50331904,ge.fg|=16777216|oe-30):oe>=40&&oe<=47?(ge.bg&=-50331904,ge.bg|=16777216|oe-40):oe>=90&&oe<=97?(ge.fg&=-50331904,ge.fg|=16777224|oe-90):oe>=100&&oe<=107?(ge.bg&=-50331904,ge.bg|=16777224|oe-100):0===oe?(ge.fg=g.DEFAULT_ATTR_DATA.fg,ge.bg=g.DEFAULT_ATTR_DATA.bg):1===oe?ge.fg|=134217728:3===oe?ge.bg|=67108864:4===oe?(ge.fg|=268435456,this._processUnderline(de.hasSubParams(qe)?de.getSubParams(qe)[0]:1,ge)):5===oe?ge.fg|=536870912:7===oe?ge.fg|=67108864:8===oe?ge.fg|=1073741824:9===oe?ge.fg|=2147483648:2===oe?ge.bg|=134217728:21===oe?this._processUnderline(2,ge):22===oe?(ge.fg&=-134217729,ge.bg&=-134217729):23===oe?ge.bg&=-67108865:24===oe?ge.fg&=-268435457:25===oe?ge.fg&=-536870913:27===oe?ge.fg&=-67108865:28===oe?ge.fg&=-1073741825:29===oe?ge.fg&=2147483647:39===oe?(ge.fg&=-67108864,ge.fg|=16777215&g.DEFAULT_ATTR_DATA.fg):49===oe?(ge.bg&=-67108864,ge.bg|=16777215&g.DEFAULT_ATTR_DATA.bg):38===oe||48===oe||58===oe?qe+=this._extractColor(de,qe,ge):59===oe?(ge.extended=ge.extended.clone(),ge.extended.underlineColor=-1,ge.updateExtended()):100===oe?(ge.fg&=-67108864,ge.fg|=16777215&g.DEFAULT_ATTR_DATA.fg,ge.bg&=-67108864,ge.bg|=16777215&g.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",oe);return!0},he.prototype.deviceStatus=function(de){switch(de.params[0]){case 5:this._coreService.triggerDataEvent(Z.C0.ESC+"[0n");break;case 6:this._coreService.triggerDataEvent(Z.C0.ESC+"["+(this._activeBuffer.y+1)+";"+(this._activeBuffer.x+1)+"R")}return!0},he.prototype.deviceStatusPrivate=function(de){return 6===de.params[0]&&this._coreService.triggerDataEvent(Z.C0.ESC+"[?"+(this._activeBuffer.y+1)+";"+(this._activeBuffer.x+1)+"R"),!0},he.prototype.softReset=function(de){return this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._activeBuffer.scrollTop=0,this._activeBuffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=g.DEFAULT_ATTR_DATA.clone(),this._coreService.reset(),this._charsetService.reset(),this._activeBuffer.savedX=0,this._activeBuffer.savedY=this._activeBuffer.ybase,this._activeBuffer.savedCurAttrData.fg=this._curAttrData.fg,this._activeBuffer.savedCurAttrData.bg=this._curAttrData.bg,this._activeBuffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1,!0},he.prototype.setCursorStyle=function(de){var oe=de.params[0]||1;switch(oe){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}return this._optionsService.options.cursorBlink=oe%2==1,!0},he.prototype.setScrollRegion=function(de){var oe,Ce=de.params[0]||1;return(de.length<2||(oe=de.params[1])>this._bufferService.rows||0===oe)&&(oe=this._bufferService.rows),oe>Ce&&(this._activeBuffer.scrollTop=Ce-1,this._activeBuffer.scrollBottom=oe-1,this._setCursor(0,0)),!0},he.prototype.windowOptions=function(de){if(!ae(de.params[0],this._optionsService.options.windowOptions))return!0;var oe=de.length>1?de.params[1]:0;switch(de.params[0]){case 14:2!==oe&&this._onRequestWindowsOptionsReport.fire(x.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(x.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(Z.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:0!==oe&&2!==oe||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),0!==oe&&1!==oe||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:0!==oe&&2!==oe||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),0!==oe&&1!==oe||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}return!0},he.prototype.saveCursor=function(de){return this._activeBuffer.savedX=this._activeBuffer.x,this._activeBuffer.savedY=this._activeBuffer.ybase+this._activeBuffer.y,this._activeBuffer.savedCurAttrData.fg=this._curAttrData.fg,this._activeBuffer.savedCurAttrData.bg=this._curAttrData.bg,this._activeBuffer.savedCharset=this._charsetService.charset,!0},he.prototype.restoreCursor=function(de){return this._activeBuffer.x=this._activeBuffer.savedX||0,this._activeBuffer.y=Math.max(this._activeBuffer.savedY-this._activeBuffer.ybase,0),this._curAttrData.fg=this._activeBuffer.savedCurAttrData.fg,this._curAttrData.bg=this._activeBuffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._activeBuffer.savedCharset&&(this._charsetService.charset=this._activeBuffer.savedCharset),this._restrictCursor(),!0},he.prototype.setTitle=function(de){return this._windowTitle=de,this._onTitleChange.fire(de),!0},he.prototype.setIconName=function(de){return this._iconName=de,!0},he.prototype._parseAnsiColorChange=function(de){for(var oe,Ce={colors:[]},ge=/(\d+);rgb:([\da-f]{2})\/([\da-f]{2})\/([\da-f]{2})/gi;null!==(oe=ge.exec(de));)Ce.colors.push({colorIndex:parseInt(oe[1]),red:parseInt(oe[2],16),green:parseInt(oe[3],16),blue:parseInt(oe[4],16)});return 0===Ce.colors.length?null:Ce},he.prototype.setAnsiColor=function(de){var oe=this._parseAnsiColorChange(de);return oe?this._onAnsiColorChange.fire(oe):this._logService.warn("Expected format <num>;rgb:<rr>/<gg>/<bb> but got data: "+de),!0},he.prototype.nextLine=function(){return this._activeBuffer.x=0,this.index(),!0},he.prototype.keypadApplicationMode=function(){return this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire(),!0},he.prototype.keypadNumericMode=function(){return this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire(),!0},he.prototype.selectDefaultCharset=function(){return this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,O.DEFAULT_CHARSET),!0},he.prototype.selectCharset=function(de){return 2!==de.length?(this.selectDefaultCharset(),!0):("/"===de[0]||this._charsetService.setgCharset(W[de[0]],O.CHARSETS[de[1]]||O.DEFAULT_CHARSET),!0)},he.prototype.index=function(){return this._restrictCursor(),this._activeBuffer.y++,this._activeBuffer.y===this._activeBuffer.scrollBottom+1?(this._activeBuffer.y--,this._bufferService.scroll(this._eraseAttrData())):this._activeBuffer.y>=this._bufferService.rows&&(this._activeBuffer.y=this._bufferService.rows-1),this._restrictCursor(),!0},he.prototype.tabSet=function(){return this._activeBuffer.tabs[this._activeBuffer.x]=!0,!0},he.prototype.reverseIndex=function(){return this._restrictCursor(),this._activeBuffer.y===this._activeBuffer.scrollTop?(this._activeBuffer.lines.shiftElements(this._activeBuffer.ybase+this._activeBuffer.y,this._activeBuffer.scrollBottom-this._activeBuffer.scrollTop,1),this._activeBuffer.lines.set(this._activeBuffer.ybase+this._activeBuffer.y,this._activeBuffer.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom)):(this._activeBuffer.y--,this._restrictCursor()),!0},he.prototype.fullReset=function(){return this._parser.reset(),this._onRequestReset.fire(),!0},he.prototype.reset=function(){this._curAttrData=g.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=g.DEFAULT_ATTR_DATA.clone()},he.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},he.prototype.setgLevel=function(de){return this._charsetService.setgLevel(de),!0},he.prototype.screenAlignmentPattern=function(){var de=new S.CellData;de.content=1<<22|"E".charCodeAt(0),de.fg=this._curAttrData.fg,de.bg=this._curAttrData.bg,this._setCursor(0,0);for(var oe=0;oe<this._bufferService.rows;++oe){var ge=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y+oe);ge&&(ge.fill(de),ge.isWrapped=!1)}return this._dirtyRowService.markAllDirty(),this._setCursor(0,0),!0},he}(T.Disposable);w.InputHandler=fe},844:function(L,w){Object.defineProperty(w,"__esModule",{value:!0}),w.getDisposeArrayDisposable=w.disposeArray=w.Disposable=void 0;var R=function(){function E(){this._disposables=[],this._isDisposed=!1}return E.prototype.dispose=function(){this._isDisposed=!0;for(var x=0,Z=this._disposables;x<Z.length;x++)Z[x].dispose();this._disposables.length=0},E.prototype.register=function(x){return this._disposables.push(x),x},E.prototype.unregister=function(x){var Z=this._disposables.indexOf(x);-1!==Z&&this._disposables.splice(Z,1)},E}();function b(E){for(var x=0,Z=E;x<Z.length;x++)Z[x].dispose();E.length=0}w.Disposable=R,w.disposeArray=b,w.getDisposeArrayDisposable=function(E){return{dispose:function(){return b(E)}}}},6114:function(L,w){Object.defineProperty(w,"__esModule",{value:!0}),w.isLinux=w.isWindows=w.isIphone=w.isIpad=w.isMac=w.isSafari=w.isFirefox=void 0;var R="undefined"==typeof navigator,b=R?"node":navigator.userAgent,E=R?"node":navigator.platform;w.isFirefox=b.includes("Firefox"),w.isSafari=/^((?!chrome|android).)*safari/i.test(b),w.isMac=["Macintosh","MacIntel","MacPPC","Mac68K"].includes(E),w.isIpad="iPad"===E,w.isIphone="iPhone"===E,w.isWindows=["Windows","Win16","Win32","WinCE"].includes(E),w.isLinux=E.indexOf("Linux")>=0},8273:function(L,w){function R(b,E,x,Z){if(void 0===x&&(x=0),void 0===Z&&(Z=b.length),x>=b.length)return b;Z=Z>=b.length?b.length:(b.length+Z)%b.length;for(var O=x=(b.length+x)%b.length;O<Z;++O)b[O]=E;return b}Object.defineProperty(w,"__esModule",{value:!0}),w.concat=w.fillFallback=w.fill=void 0,w.fill=function(b,E,x,Z){return b.fill?b.fill(E,x,Z):R(b,E,x,Z)},w.fillFallback=R,w.concat=function(b,E){var x=new b.constructor(b.length+E.length);return x.set(b),x.set(E,b.length),x}},9282:function(L,w,R){Object.defineProperty(w,"__esModule",{value:!0}),w.updateWindowsModeWrappedState=void 0;var b=R(643);w.updateWindowsModeWrappedState=function(E){var x=E.buffer.lines.get(E.buffer.ybase+E.buffer.y-1),Z=null==x?void 0:x.get(E.cols-1),O=E.buffer.lines.get(E.buffer.ybase+E.buffer.y);O&&Z&&(O.isWrapped=Z[b.CHAR_DATA_CODE_INDEX]!==b.NULL_CELL_CODE&&Z[b.CHAR_DATA_CODE_INDEX]!==b.WHITESPACE_CELL_CODE)}},3734:function(L,w){Object.defineProperty(w,"__esModule",{value:!0}),w.ExtendedAttrs=w.AttributeData=void 0;var R=function(){function E(){this.fg=0,this.bg=0,this.extended=new b}return E.toColorRGB=function(x){return[x>>>16&255,x>>>8&255,255&x]},E.fromColorRGB=function(x){return(255&x[0])<<16|(255&x[1])<<8|255&x[2]},E.prototype.clone=function(){var x=new E;return x.fg=this.fg,x.bg=this.bg,x.extended=this.extended.clone(),x},E.prototype.isInverse=function(){return 67108864&this.fg},E.prototype.isBold=function(){return 134217728&this.fg},E.prototype.isUnderline=function(){return 268435456&this.fg},E.prototype.isBlink=function(){return 536870912&this.fg},E.prototype.isInvisible=function(){return 1073741824&this.fg},E.prototype.isItalic=function(){return 67108864&this.bg},E.prototype.isDim=function(){return 134217728&this.bg},E.prototype.isStrikethrough=function(){return 2147483648&this.fg},E.prototype.getFgColorMode=function(){return 50331648&this.fg},E.prototype.getBgColorMode=function(){return 50331648&this.bg},E.prototype.isFgRGB=function(){return 50331648==(50331648&this.fg)},E.prototype.isBgRGB=function(){return 50331648==(50331648&this.bg)},E.prototype.isFgPalette=function(){return 16777216==(50331648&this.fg)||33554432==(50331648&this.fg)},E.prototype.isBgPalette=function(){return 16777216==(50331648&this.bg)||33554432==(50331648&this.bg)},E.prototype.isFgDefault=function(){return 0==(50331648&this.fg)},E.prototype.isBgDefault=function(){return 0==(50331648&this.bg)},E.prototype.isAttributeDefault=function(){return 0===this.fg&&0===this.bg},E.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},E.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},E.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},E.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},E.prototype.getUnderlineColor=function(){if(268435456&this.bg&&~this.extended.underlineColor)switch(50331648&this.extended.underlineColor){case 16777216:case 33554432:return 255&this.extended.underlineColor;case 50331648:return 16777215&this.extended.underlineColor;default:return this.getFgColor()}return this.getFgColor()},E.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},E.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648==(50331648&this.extended.underlineColor):this.isFgRGB()},E.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?16777216==(50331648&this.extended.underlineColor)||33554432==(50331648&this.extended.underlineColor):this.isFgPalette()},E.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?0==(50331648&this.extended.underlineColor):this.isFgDefault()},E.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},E}();w.AttributeData=R;var b=function(){function E(x,Z){void 0===x&&(x=0),void 0===Z&&(Z=-1),this.underlineStyle=x,this.underlineColor=Z}return E.prototype.clone=function(){return new E(this.underlineStyle,this.underlineColor)},E.prototype.isEmpty=function(){return 0===this.underlineStyle},E}();w.ExtendedAttrs=b},9092:function(L,w,R){Object.defineProperty(w,"__esModule",{value:!0}),w.BufferStringIterator=w.Buffer=w.MAX_BUFFER_SIZE=void 0;var b=R(6349),E=R(8437),x=R(511),Z=R(643),O=R(4634),y=R(4863),T=R(7116),D=R(3734);w.MAX_BUFFER_SIZE=4294967295;var v=function(){function M(k,S,I){this._hasScrollback=k,this._optionsService=S,this._bufferService=I,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=E.DEFAULT_ATTR_DATA.clone(),this.savedCharset=T.DEFAULT_CHARSET,this.markers=[],this._nullCell=x.CellData.fromCharData([0,Z.NULL_CELL_CHAR,Z.NULL_CELL_WIDTH,Z.NULL_CELL_CODE]),this._whitespaceCell=x.CellData.fromCharData([0,Z.WHITESPACE_CELL_CHAR,Z.WHITESPACE_CELL_WIDTH,Z.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new b.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return M.prototype.getNullCell=function(k){return k?(this._nullCell.fg=k.fg,this._nullCell.bg=k.bg,this._nullCell.extended=k.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new D.ExtendedAttrs),this._nullCell},M.prototype.getWhitespaceCell=function(k){return k?(this._whitespaceCell.fg=k.fg,this._whitespaceCell.bg=k.bg,this._whitespaceCell.extended=k.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new D.ExtendedAttrs),this._whitespaceCell},M.prototype.getBlankLine=function(k,S){return new E.BufferLine(this._bufferService.cols,this.getNullCell(k),S)},Object.defineProperty(M.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"isCursorInViewport",{get:function(){var S=this.ybase+this.y-this.ydisp;return S>=0&&S<this._rows},enumerable:!1,configurable:!0}),M.prototype._getCorrectBufferLength=function(k){if(!this._hasScrollback)return k;var S=k+this._optionsService.options.scrollback;return S>w.MAX_BUFFER_SIZE?w.MAX_BUFFER_SIZE:S},M.prototype.fillViewportRows=function(k){if(0===this.lines.length){void 0===k&&(k=E.DEFAULT_ATTR_DATA);for(var S=this._rows;S--;)this.lines.push(this.getBlankLine(k))}},M.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new b.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},M.prototype.resize=function(k,S){var I=this.getNullCell(E.DEFAULT_ATTR_DATA),F=this._getCorrectBufferLength(S);if(F>this.lines.maxLength&&(this.lines.maxLength=F),this.lines.length>0){if(this._cols<k)for(var G=0;G<this.lines.length;G++)this.lines.get(G).resize(k,I);var X=0;if(this._rows<S)for(var W=this._rows;W<S;W++)this.lines.length<S+this.ybase&&(this._optionsService.options.windowsMode?this.lines.push(new E.BufferLine(k,I)):this.ybase>0&&this.lines.length<=this.ybase+this.y+X+1?(this.ybase--,X++,this.ydisp>0&&this.ydisp--):this.lines.push(new E.BufferLine(k,I)));else for(W=this._rows;W>S;W--)this.lines.length>S+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(F<this.lines.maxLength){var Y=this.lines.length-F;Y>0&&(this.lines.trimStart(Y),this.ybase=Math.max(this.ybase-Y,0),this.ydisp=Math.max(this.ydisp-Y,0),this.savedY=Math.max(this.savedY-Y,0)),this.lines.maxLength=F}this.x=Math.min(this.x,k-1),this.y=Math.min(this.y,S-1),X&&(this.y+=X),this.savedX=Math.min(this.savedX,k-1),this.scrollTop=0}if(this.scrollBottom=S-1,this._isReflowEnabled&&(this._reflow(k,S),this._cols>k))for(G=0;G<this.lines.length;G++)this.lines.get(G).resize(k,I);this._cols=k,this._rows=S},Object.defineProperty(M.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.options.windowsMode},enumerable:!1,configurable:!0}),M.prototype._reflow=function(k,S){this._cols!==k&&(k>this._cols?this._reflowLarger(k,S):this._reflowSmaller(k,S))},M.prototype._reflowLarger=function(k,S){var I=(0,O.reflowLargerGetLinesToRemove)(this.lines,this._cols,k,this.ybase+this.y,this.getNullCell(E.DEFAULT_ATTR_DATA));if(I.length>0){var F=(0,O.reflowLargerCreateNewLayout)(this.lines,I);(0,O.reflowLargerApplyNewLayout)(this.lines,F.layout),this._reflowLargerAdjustViewport(k,S,F.countRemoved)}},M.prototype._reflowLargerAdjustViewport=function(k,S,I){for(var F=this.getNullCell(E.DEFAULT_ATTR_DATA),G=I;G-- >0;)0===this.ybase?(this.y>0&&this.y--,this.lines.length<S&&this.lines.push(new E.BufferLine(k,F))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-I,0)},M.prototype._reflowSmaller=function(k,S){for(var I=this.getNullCell(E.DEFAULT_ATTR_DATA),F=[],G=0,X=this.lines.length-1;X>=0;X--){var W=this.lines.get(X);if(!(!W||!W.isWrapped&&W.getTrimmedLength()<=k)){for(var Y=[W];W.isWrapped&&X>0;)W=this.lines.get(--X),Y.unshift(W);var ae=this.ybase+this.y;if(!(ae>=X&&ae<X+Y.length)){var K,fe=Y[Y.length-1].getTrimmedLength(),ce=(0,O.reflowSmallerGetNewLineLengths)(Y,this._cols,k),he=ce.length-Y.length;K=0===this.ybase&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+he):Math.max(0,this.lines.length-this.lines.maxLength+he);for(var de=[],oe=0;oe<he;oe++){var Ce=this.getBlankLine(E.DEFAULT_ATTR_DATA,!0);de.push(Ce)}de.length>0&&(F.push({start:X+Y.length+G,newLines:de}),G+=de.length),Y.push.apply(Y,de);var ge=ce.length-1,qe=ce[ge];0===qe&&(qe=ce[--ge]);for(var De=Y.length-he-1,Qe=fe;De>=0;){var et=Math.min(Qe,qe);if(Y[ge].copyCellsFrom(Y[De],Qe-et,qe-et,et,!0),0==(qe-=et)&&(qe=ce[--ge]),0==(Qe-=et)){De--;var bt=Math.max(De,0);Qe=(0,O.getWrappedLineTrimmedLength)(Y,bt,this._cols)}}for(oe=0;oe<Y.length;oe++)ce[oe]<k&&Y[oe].setCell(ce[oe],I);for(var _e=he-K;_e-- >0;)0===this.ybase?this.y<S-1?(this.y++,this.lines.pop()):(this.ybase++,this.ydisp++):this.ybase<Math.min(this.lines.maxLength,this.lines.length+G)-S&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+he,this.ybase+S-1)}}}if(F.length>0){var xe=[],He=[];for(oe=0;oe<this.lines.length;oe++)He.push(this.lines.get(oe));var st=this.lines.length,tt=st-1,Zt=0,Tt=F[Zt];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+G);var mt=0;for(oe=Math.min(this.lines.maxLength-1,st+G-1);oe>=0;oe--)if(Tt&&Tt.start>tt+mt){for(var Yt=Tt.newLines.length-1;Yt>=0;Yt--)this.lines.set(oe--,Tt.newLines[Yt]);oe++,xe.push({index:tt+1,amount:Tt.newLines.length}),mt+=Tt.newLines.length,Tt=F[++Zt]}else this.lines.set(oe,He[tt--]);var un=0;for(oe=xe.length-1;oe>=0;oe--)xe[oe].index+=un,this.lines.onInsertEmitter.fire(xe[oe]),un+=xe[oe].amount;var Ut=Math.max(0,st+G-this.lines.maxLength);Ut>0&&this.lines.onTrimEmitter.fire(Ut)}},M.prototype.stringIndexToBufferIndex=function(k,S,I){for(void 0===I&&(I=!1);S;){var F=this.lines.get(k);if(!F)return[-1,-1];for(var G=I?F.getTrimmedLength():F.length,X=0;X<G;++X)if(F.get(X)[Z.CHAR_DATA_WIDTH_INDEX]&&(S-=F.get(X)[Z.CHAR_DATA_CHAR_INDEX].length||1),S<0)return[k,X];k++}return[k,0]},M.prototype.translateBufferLineToString=function(k,S,I,F){void 0===I&&(I=0);var G=this.lines.get(k);return G?G.translateToString(S,I,F):""},M.prototype.getWrappedRangeForLine=function(k){for(var S=k,I=k;S>0&&this.lines.get(S).isWrapped;)S--;for(;I+1<this.lines.length&&this.lines.get(I+1).isWrapped;)I++;return{first:S,last:I}},M.prototype.setupTabStops=function(k){for(null!=k?this.tabs[k]||(k=this.prevStop(k)):(this.tabs={},k=0);k<this._cols;k+=this._optionsService.options.tabStopWidth)this.tabs[k]=!0},M.prototype.prevStop=function(k){for(null==k&&(k=this.x);!this.tabs[--k]&&k>0;);return k>=this._cols?this._cols-1:k<0?0:k},M.prototype.nextStop=function(k){for(null==k&&(k=this.x);!this.tabs[++k]&&k<this._cols;);return k>=this._cols?this._cols-1:k<0?0:k},M.prototype.addMarker=function(k){var S=this,I=new y.Marker(k);return this.markers.push(I),I.register(this.lines.onTrim(function(F){I.line-=F,I.line<0&&I.dispose()})),I.register(this.lines.onInsert(function(F){I.line>=F.index&&(I.line+=F.amount)})),I.register(this.lines.onDelete(function(F){I.line>=F.index&&I.line<F.index+F.amount&&I.dispose(),I.line>F.index&&(I.line-=F.amount)})),I.register(I.onDispose(function(){return S._removeMarker(I)})),I},M.prototype._removeMarker=function(k){this.markers.splice(this.markers.indexOf(k),1)},M.prototype.iterator=function(k,S,I,F,G){return new g(this,k,S,I,F,G)},M}();w.Buffer=v;var g=function(){function M(k,S,I,F,G,X){void 0===I&&(I=0),void 0===F&&(F=k.lines.length),void 0===G&&(G=0),void 0===X&&(X=0),this._buffer=k,this._trimRight=S,this._startIndex=I,this._endIndex=F,this._startOverscan=G,this._endOverscan=X,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return M.prototype.hasNext=function(){return this._current<this._endIndex},M.prototype.next=function(){var k=this._buffer.getWrappedRangeForLine(this._current);k.first<this._startIndex-this._startOverscan&&(k.first=this._startIndex-this._startOverscan),k.last>this._endIndex+this._endOverscan&&(k.last=this._endIndex+this._endOverscan),k.first=Math.max(k.first,0),k.last=Math.min(k.last,this._buffer.lines.length);for(var S="",I=k.first;I<=k.last;++I)S+=this._buffer.translateBufferLineToString(I,this._trimRight);return this._current=k.last+1,{range:k,content:S}},M}();w.BufferStringIterator=g},8437:function(L,w,R){Object.defineProperty(w,"__esModule",{value:!0}),w.BufferLine=w.DEFAULT_ATTR_DATA=void 0;var b=R(482),E=R(643),x=R(511),Z=R(3734);w.DEFAULT_ATTR_DATA=Object.freeze(new Z.AttributeData);var O=function(){function y(T,D,v){void 0===v&&(v=!1),this.isWrapped=v,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*T);for(var g=D||x.CellData.fromCharData([0,E.NULL_CELL_CHAR,E.NULL_CELL_WIDTH,E.NULL_CELL_CODE]),M=0;M<T;++M)this.setCell(M,g);this.length=T}return y.prototype.get=function(T){var D=this._data[3*T+0],v=2097151&D;return[this._data[3*T+1],2097152&D?this._combined[T]:v?(0,b.stringFromCodePoint)(v):"",D>>22,2097152&D?this._combined[T].charCodeAt(this._combined[T].length-1):v]},y.prototype.set=function(T,D){this._data[3*T+1]=D[E.CHAR_DATA_ATTR_INDEX],D[E.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[T]=D[1],this._data[3*T+0]=2097152|T|D[E.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*T+0]=D[E.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|D[E.CHAR_DATA_WIDTH_INDEX]<<22},y.prototype.getWidth=function(T){return this._data[3*T+0]>>22},y.prototype.hasWidth=function(T){return 12582912&this._data[3*T+0]},y.prototype.getFg=function(T){return this._data[3*T+1]},y.prototype.getBg=function(T){return this._data[3*T+2]},y.prototype.hasContent=function(T){return 4194303&this._data[3*T+0]},y.prototype.getCodePoint=function(T){var D=this._data[3*T+0];return 2097152&D?this._combined[T].charCodeAt(this._combined[T].length-1):2097151&D},y.prototype.isCombined=function(T){return 2097152&this._data[3*T+0]},y.prototype.getString=function(T){var D=this._data[3*T+0];return 2097152&D?this._combined[T]:2097151&D?(0,b.stringFromCodePoint)(2097151&D):""},y.prototype.loadCell=function(T,D){var v=3*T;return D.content=this._data[v+0],D.fg=this._data[v+1],D.bg=this._data[v+2],2097152&D.content&&(D.combinedData=this._combined[T]),268435456&D.bg&&(D.extended=this._extendedAttrs[T]),D},y.prototype.setCell=function(T,D){2097152&D.content&&(this._combined[T]=D.combinedData),268435456&D.bg&&(this._extendedAttrs[T]=D.extended),this._data[3*T+0]=D.content,this._data[3*T+1]=D.fg,this._data[3*T+2]=D.bg},y.prototype.setCellFromCodePoint=function(T,D,v,g,M,k){268435456&M&&(this._extendedAttrs[T]=k),this._data[3*T+0]=D|v<<22,this._data[3*T+1]=g,this._data[3*T+2]=M},y.prototype.addCodepointToCell=function(T,D){var v=this._data[3*T+0];2097152&v?this._combined[T]+=(0,b.stringFromCodePoint)(D):(2097151&v?(this._combined[T]=(0,b.stringFromCodePoint)(2097151&v)+(0,b.stringFromCodePoint)(D),v&=-2097152,v|=2097152):v=D|1<<22,this._data[3*T+0]=v)},y.prototype.insertCells=function(T,D,v,g){if((T%=this.length)&&2===this.getWidth(T-1)&&this.setCellFromCodePoint(T-1,0,1,(null==g?void 0:g.fg)||0,(null==g?void 0:g.bg)||0,(null==g?void 0:g.extended)||new Z.ExtendedAttrs),D<this.length-T){for(var M=new x.CellData,k=this.length-T-D-1;k>=0;--k)this.setCell(T+D+k,this.loadCell(T+k,M));for(k=0;k<D;++k)this.setCell(T+k,v)}else for(k=T;k<this.length;++k)this.setCell(k,v);2===this.getWidth(this.length-1)&&this.setCellFromCodePoint(this.length-1,0,1,(null==g?void 0:g.fg)||0,(null==g?void 0:g.bg)||0,(null==g?void 0:g.extended)||new Z.ExtendedAttrs)},y.prototype.deleteCells=function(T,D,v,g){if(D<this.length-(T%=this.length)){for(var M=new x.CellData,k=0;k<this.length-T-D;++k)this.setCell(T+k,this.loadCell(T+D+k,M));for(k=this.length-D;k<this.length;++k)this.setCell(k,v)}else for(k=T;k<this.length;++k)this.setCell(k,v);T&&2===this.getWidth(T-1)&&this.setCellFromCodePoint(T-1,0,1,(null==g?void 0:g.fg)||0,(null==g?void 0:g.bg)||0,(null==g?void 0:g.extended)||new Z.ExtendedAttrs),0!==this.getWidth(T)||this.hasContent(T)||this.setCellFromCodePoint(T,0,1,(null==g?void 0:g.fg)||0,(null==g?void 0:g.bg)||0,(null==g?void 0:g.extended)||new Z.ExtendedAttrs)},y.prototype.replaceCells=function(T,D,v,g){for(T&&2===this.getWidth(T-1)&&this.setCellFromCodePoint(T-1,0,1,(null==g?void 0:g.fg)||0,(null==g?void 0:g.bg)||0,(null==g?void 0:g.extended)||new Z.ExtendedAttrs),D<this.length&&2===this.getWidth(D-1)&&this.setCellFromCodePoint(D,0,1,(null==g?void 0:g.fg)||0,(null==g?void 0:g.bg)||0,(null==g?void 0:g.extended)||new Z.ExtendedAttrs);T<D&&T<this.length;)this.setCell(T++,v)},y.prototype.resize=function(T,D){if(T!==this.length){if(T>this.length){var v=new Uint32Array(3*T);this.length&&v.set(3*T<this._data.length?this._data.subarray(0,3*T):this._data),this._data=v;for(var g=this.length;g<T;++g)this.setCell(g,D)}else if(T){(v=new Uint32Array(3*T)).set(this._data.subarray(0,3*T)),this._data=v;var M=Object.keys(this._combined);for(g=0;g<M.length;g++){var k=parseInt(M[g],10);k>=T&&delete this._combined[k]}}else this._data=new Uint32Array(0),this._combined={};this.length=T}},y.prototype.fill=function(T){this._combined={},this._extendedAttrs={};for(var D=0;D<this.length;++D)this.setCell(D,T)},y.prototype.copyFrom=function(T){for(var D in this.length!==T.length?this._data=new Uint32Array(T._data):this._data.set(T._data),this.length=T.length,this._combined={},T._combined)this._combined[D]=T._combined[D];for(var D in this._extendedAttrs={},T._extendedAttrs)this._extendedAttrs[D]=T._extendedAttrs[D];this.isWrapped=T.isWrapped},y.prototype.clone=function(){var T=new y(0);for(var D in T._data=new Uint32Array(this._data),T.length=this.length,this._combined)T._combined[D]=this._combined[D];for(var D in this._extendedAttrs)T._extendedAttrs[D]=this._extendedAttrs[D];return T.isWrapped=this.isWrapped,T},y.prototype.getTrimmedLength=function(){for(var T=this.length-1;T>=0;--T)if(4194303&this._data[3*T+0])return T+(this._data[3*T+0]>>22);return 0},y.prototype.copyCellsFrom=function(T,D,v,g,M){var k=T._data;if(M)for(var S=g-1;S>=0;S--)for(var I=0;I<3;I++)this._data[3*(v+S)+I]=k[3*(D+S)+I];else for(S=0;S<g;S++)for(I=0;I<3;I++)this._data[3*(v+S)+I]=k[3*(D+S)+I];var F=Object.keys(T._combined);for(I=0;I<F.length;I++){var G=parseInt(F[I],10);G>=D&&(this._combined[G-D+v]=T._combined[G])}},y.prototype.translateToString=function(T,D,v){void 0===T&&(T=!1),void 0===D&&(D=0),void 0===v&&(v=this.length),T&&(v=Math.min(v,this.getTrimmedLength()));for(var g="";D<v;){var M=this._data[3*D+0],k=2097151&M;g+=2097152&M?this._combined[D]:k?(0,b.stringFromCodePoint)(k):E.WHITESPACE_CELL_CHAR,D+=M>>22||1}return g},y}();w.BufferLine=O},4841:function(L,w){Object.defineProperty(w,"__esModule",{value:!0}),w.getRangeLength=void 0,w.getRangeLength=function(R,b){if(R.start.y>R.end.y)throw new Error("Buffer range end ("+R.end.x+", "+R.end.y+") cannot be before start ("+R.start.x+", "+R.start.y+")");return b*(R.end.y-R.start.y)+(R.end.x-R.start.x+1)}},4634:function(L,w){function R(b,E,x){if(E===b.length-1)return b[E].getTrimmedLength();var Z=!b[E].hasContent(x-1)&&1===b[E].getWidth(x-1),O=2===b[E+1].getWidth(0);return Z&&O?x-1:x}Object.defineProperty(w,"__esModule",{value:!0}),w.getWrappedLineTrimmedLength=w.reflowSmallerGetNewLineLengths=w.reflowLargerApplyNewLayout=w.reflowLargerCreateNewLayout=w.reflowLargerGetLinesToRemove=void 0,w.reflowLargerGetLinesToRemove=function(b,E,x,Z,O){for(var y=[],T=0;T<b.length-1;T++){var D=T,v=b.get(++D);if(v.isWrapped){for(var g=[b.get(T)];D<b.length&&v.isWrapped;)g.push(v),v=b.get(++D);if(Z>=T&&Z<D)T+=g.length-1;else{for(var M=0,k=R(g,M,E),S=1,I=0;S<g.length;){var F=R(g,S,E),W=Math.min(F-I,x-k);g[M].copyCellsFrom(g[S],I,k,W,!1),(k+=W)===x&&(M++,k=0),(I+=W)===F&&(S++,I=0),0===k&&0!==M&&2===g[M-1].getWidth(x-1)&&(g[M].copyCellsFrom(g[M-1],x-1,k++,1,!1),g[M-1].setCell(x-1,O))}g[M].replaceCells(k,x,O);for(var Y=0,ae=g.length-1;ae>0&&(ae>M||0===g[ae].getTrimmedLength());ae--)Y++;Y>0&&(y.push(T+g.length-Y),y.push(Y)),T+=g.length-1}}}return y},w.reflowLargerCreateNewLayout=function(b,E){for(var x=[],Z=0,O=E[Z],y=0,T=0;T<b.length;T++)if(O===T){var D=E[++Z];b.onDeleteEmitter.fire({index:T-y,amount:D}),T+=D-1,y+=D,O=E[++Z]}else x.push(T);return{layout:x,countRemoved:y}},w.reflowLargerApplyNewLayout=function(b,E){for(var x=[],Z=0;Z<E.length;Z++)x.push(b.get(E[Z]));for(Z=0;Z<x.length;Z++)b.set(Z,x[Z]);b.length=E.length},w.reflowSmallerGetNewLineLengths=function(b,E,x){for(var Z=[],O=b.map(function(k,S){return R(b,S,E)}).reduce(function(k,S){return k+S}),y=0,T=0,D=0;D<O;){if(O-D<x){Z.push(O-D);break}y+=x;var v=R(b,T,E);y>v&&(y-=v,T++);var g=2===b[T].getWidth(y-1);g&&y--;var M=g?x-1:x;Z.push(M),D+=M}return Z},w.getWrappedLineTrimmedLength=R},5295:function(L,w,R){var b,E=this&&this.__extends||(b=function(T,D){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,g){v.__proto__=g}||function(v,g){for(var M in g)Object.prototype.hasOwnProperty.call(g,M)&&(v[M]=g[M])})(T,D)},function(y,T){if("function"!=typeof T&&null!==T)throw new TypeError("Class extends value "+String(T)+" is not a constructor or null");function D(){this.constructor=y}b(y,T),y.prototype=null===T?Object.create(T):(D.prototype=T.prototype,new D)});Object.defineProperty(w,"__esModule",{value:!0}),w.BufferSet=void 0;var x=R(9092),Z=R(8460),O=function(y){function T(D,v){var g=y.call(this)||this;return g._optionsService=D,g._bufferService=v,g._onBufferActivate=g.register(new Z.EventEmitter),g.reset(),g}return E(T,y),Object.defineProperty(T.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),T.prototype.reset=function(){this._normal=new x.Buffer(!0,this._optionsService,this._bufferService),this._normal.fillViewportRows(),this._alt=new x.Buffer(!1,this._optionsService,this._bufferService),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}),this.setupTabStops()},Object.defineProperty(T.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),T.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},T.prototype.activateAltBuffer=function(D){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(D),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},T.prototype.resize=function(D,v){this._normal.resize(D,v),this._alt.resize(D,v)},T.prototype.setupTabStops=function(D){this._normal.setupTabStops(D),this._alt.setupTabStops(D)},T}(R(844).Disposable);w.BufferSet=O},511:function(L,w,R){var b,E=this&&this.__extends||(b=function(D,v){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,M){g.__proto__=M}||function(g,M){for(var k in M)Object.prototype.hasOwnProperty.call(M,k)&&(g[k]=M[k])})(D,v)},function(T,D){if("function"!=typeof D&&null!==D)throw new TypeError("Class extends value "+String(D)+" is not a constructor or null");function v(){this.constructor=T}b(T,D),T.prototype=null===D?Object.create(D):(v.prototype=D.prototype,new v)});Object.defineProperty(w,"__esModule",{value:!0}),w.CellData=void 0;var x=R(482),Z=R(643),O=R(3734),y=function(T){function D(){var v=null!==T&&T.apply(this,arguments)||this;return v.content=0,v.fg=0,v.bg=0,v.extended=new O.ExtendedAttrs,v.combinedData="",v}return E(D,T),D.fromCharData=function(v){var g=new D;return g.setFromCharData(v),g},D.prototype.isCombined=function(){return 2097152&this.content},D.prototype.getWidth=function(){return this.content>>22},D.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?(0,x.stringFromCodePoint)(2097151&this.content):""},D.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},D.prototype.setFromCharData=function(v){this.fg=v[Z.CHAR_DATA_ATTR_INDEX],this.bg=0;var g=!1;if(v[Z.CHAR_DATA_CHAR_INDEX].length>2)g=!0;else if(2===v[Z.CHAR_DATA_CHAR_INDEX].length){var M=v[Z.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=M&&M<=56319){var k=v[Z.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=k&&k<=57343?this.content=1024*(M-55296)+k-56320+65536|v[Z.CHAR_DATA_WIDTH_INDEX]<<22:g=!0}else g=!0}else this.content=v[Z.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|v[Z.CHAR_DATA_WIDTH_INDEX]<<22;g&&(this.combinedData=v[Z.CHAR_DATA_CHAR_INDEX],this.content=2097152|v[Z.CHAR_DATA_WIDTH_INDEX]<<22)},D.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},D}(O.AttributeData);w.CellData=y},643:function(L,w){Object.defineProperty(w,"__esModule",{value:!0}),w.WHITESPACE_CELL_CODE=w.WHITESPACE_CELL_WIDTH=w.WHITESPACE_CELL_CHAR=w.NULL_CELL_CODE=w.NULL_CELL_WIDTH=w.NULL_CELL_CHAR=w.CHAR_DATA_CODE_INDEX=w.CHAR_DATA_WIDTH_INDEX=w.CHAR_DATA_CHAR_INDEX=w.CHAR_DATA_ATTR_INDEX=w.DEFAULT_ATTR=w.DEFAULT_COLOR=void 0,w.DEFAULT_COLOR=256,w.DEFAULT_ATTR=256|w.DEFAULT_COLOR<<9,w.CHAR_DATA_ATTR_INDEX=0,w.CHAR_DATA_CHAR_INDEX=1,w.CHAR_DATA_WIDTH_INDEX=2,w.CHAR_DATA_CODE_INDEX=3,w.NULL_CELL_CHAR="",w.NULL_CELL_WIDTH=1,w.NULL_CELL_CODE=0,w.WHITESPACE_CELL_CHAR=" ",w.WHITESPACE_CELL_WIDTH=1,w.WHITESPACE_CELL_CODE=32},4863:function(L,w,R){var b,E=this&&this.__extends||(b=function(y,T){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(D,v){D.__proto__=v}||function(D,v){for(var g in v)Object.prototype.hasOwnProperty.call(v,g)&&(D[g]=v[g])})(y,T)},function(O,y){if("function"!=typeof y&&null!==y)throw new TypeError("Class extends value "+String(y)+" is not a constructor or null");function T(){this.constructor=O}b(O,y),O.prototype=null===y?Object.create(y):(T.prototype=y.prototype,new T)});Object.defineProperty(w,"__esModule",{value:!0}),w.Marker=void 0;var x=R(8460),Z=function(O){function y(T){var D=O.call(this)||this;return D.line=T,D._id=y._nextId++,D.isDisposed=!1,D._onDispose=new x.EventEmitter,D}return E(y,O),Object.defineProperty(y.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),y.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire(),O.prototype.dispose.call(this))},y._nextId=1,y}(R(844).Disposable);w.Marker=Z},7116:function(L,w){Object.defineProperty(w,"__esModule",{value:!0}),w.DEFAULT_CHARSET=w.CHARSETS=void 0,w.CHARSETS={},w.DEFAULT_CHARSET=w.CHARSETS.B,w.CHARSETS[0]={"`":"\u25c6",a:"\u2592",b:"\u2409",c:"\u240c",d:"\u240d",e:"\u240a",f:"\xb0",g:"\xb1",h:"\u2424",i:"\u240b",j:"\u2518",k:"\u2510",l:"\u250c",m:"\u2514",n:"\u253c",o:"\u23ba",p:"\u23bb",q:"\u2500",r:"\u23bc",s:"\u23bd",t:"\u251c",u:"\u2524",v:"\u2534",w:"\u252c",x:"\u2502",y:"\u2264",z:"\u2265","{":"\u03c0","|":"\u2260","}":"\xa3","~":"\xb7"},w.CHARSETS.A={"#":"\xa3"},w.CHARSETS.B=void 0,w.CHARSETS[4]={"#":"\xa3","@":"\xbe","[":"ij","\\":"\xbd","]":"|","{":"\xa8","|":"f","}":"\xbc","~":"\xb4"},w.CHARSETS.C=w.CHARSETS[5]={"[":"\xc4","\\":"\xd6","]":"\xc5","^":"\xdc","`":"\xe9","{":"\xe4","|":"\xf6","}":"\xe5","~":"\xfc"},w.CHARSETS.R={"#":"\xa3","@":"\xe0","[":"\xb0","\\":"\xe7","]":"\xa7","{":"\xe9","|":"\xf9","}":"\xe8","~":"\xa8"},w.CHARSETS.Q={"@":"\xe0","[":"\xe2","\\":"\xe7","]":"\xea","^":"\xee","`":"\xf4","{":"\xe9","|":"\xf9","}":"\xe8","~":"\xfb"},w.CHARSETS.K={"@":"\xa7","[":"\xc4","\\":"\xd6","]":"\xdc","{":"\xe4","|":"\xf6","}":"\xfc","~":"\xdf"},w.CHARSETS.Y={"#":"\xa3","@":"\xa7","[":"\xb0","\\":"\xe7","]":"\xe9","`":"\xf9","{":"\xe0","|":"\xf2","}":"\xe8","~":"\xec"},w.CHARSETS.E=w.CHARSETS[6]={"@":"\xc4","[":"\xc6","\\":"\xd8","]":"\xc5","^":"\xdc","`":"\xe4","{":"\xe6","|":"\xf8","}":"\xe5","~":"\xfc"},w.CHARSETS.Z={"#":"\xa3","@":"\xa7","[":"\xa1","\\":"\xd1","]":"\xbf","{":"\xb0","|":"\xf1","}":"\xe7"},w.CHARSETS.H=w.CHARSETS[7]={"@":"\xc9","[":"\xc4","\\":"\xd6","]":"\xc5","^":"\xdc","`":"\xe9","{":"\xe4","|":"\xf6","}":"\xe5","~":"\xfc"},w.CHARSETS["="]={"#":"\xf9","@":"\xe0","[":"\xe9","\\":"\xe7","]":"\xea","^":"\xee",_:"\xe8","`":"\xf4","{":"\xe4","|":"\xf6","}":"\xfc","~":"\xfb"}},2584:function(L,w){var R,b;Object.defineProperty(w,"__esModule",{value:!0}),w.C1=w.C0=void 0,(b=w.C0||(w.C0={})).NUL="\0",b.SOH="\x01",b.STX="\x02",b.ETX="\x03",b.EOT="\x04",b.ENQ="\x05",b.ACK="\x06",b.BEL="\x07",b.BS="\b",b.HT="\t",b.LF="\n",b.VT="\v",b.FF="\f",b.CR="\r",b.SO="\x0e",b.SI="\x0f",b.DLE="\x10",b.DC1="\x11",b.DC2="\x12",b.DC3="\x13",b.DC4="\x14",b.NAK="\x15",b.SYN="\x16",b.ETB="\x17",b.CAN="\x18",b.EM="\x19",b.SUB="\x1a",b.ESC="\x1b",b.FS="\x1c",b.GS="\x1d",b.RS="\x1e",b.US="\x1f",b.SP=" ",b.DEL="\x7f",(R=w.C1||(w.C1={})).PAD="\x80",R.HOP="\x81",R.BPH="\x82",R.NBH="\x83",R.IND="\x84",R.NEL="\x85",R.SSA="\x86",R.ESA="\x87",R.HTS="\x88",R.HTJ="\x89",R.VTS="\x8a",R.PLD="\x8b",R.PLU="\x8c",R.RI="\x8d",R.SS2="\x8e",R.SS3="\x8f",R.DCS="\x90",R.PU1="\x91",R.PU2="\x92",R.STS="\x93",R.CCH="\x94",R.MW="\x95",R.SPA="\x96",R.EPA="\x97",R.SOS="\x98",R.SGCI="\x99",R.SCI="\x9a",R.CSI="\x9b",R.ST="\x9c",R.OSC="\x9d",R.PM="\x9e",R.APC="\x9f"},7399:function(L,w,R){Object.defineProperty(w,"__esModule",{value:!0}),w.evaluateKeyboardEvent=void 0;var b=R(2584),E={48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};w.evaluateKeyboardEvent=function(x,Z,O,y){var T={type:0,cancel:!1,key:void 0},D=(x.shiftKey?1:0)|(x.altKey?2:0)|(x.ctrlKey?4:0)|(x.metaKey?8:0);switch(x.keyCode){case 0:"UIKeyInputUpArrow"===x.key?T.key=Z?b.C0.ESC+"OA":b.C0.ESC+"[A":"UIKeyInputLeftArrow"===x.key?T.key=Z?b.C0.ESC+"OD":b.C0.ESC+"[D":"UIKeyInputRightArrow"===x.key?T.key=Z?b.C0.ESC+"OC":b.C0.ESC+"[C":"UIKeyInputDownArrow"===x.key&&(T.key=Z?b.C0.ESC+"OB":b.C0.ESC+"[B");break;case 8:if(x.shiftKey){T.key=b.C0.BS;break}if(x.altKey){T.key=b.C0.ESC+b.C0.DEL;break}T.key=b.C0.DEL;break;case 9:if(x.shiftKey){T.key=b.C0.ESC+"[Z";break}T.key=b.C0.HT,T.cancel=!0;break;case 13:T.key=x.altKey?b.C0.ESC+b.C0.CR:b.C0.CR,T.cancel=!0;break;case 27:T.key=b.C0.ESC,x.altKey&&(T.key=b.C0.ESC+b.C0.ESC),T.cancel=!0;break;case 37:if(x.metaKey)break;D?(T.key=b.C0.ESC+"[1;"+(D+1)+"D",T.key===b.C0.ESC+"[1;3D"&&(T.key=b.C0.ESC+(O?"b":"[1;5D"))):T.key=Z?b.C0.ESC+"OD":b.C0.ESC+"[D";break;case 39:if(x.metaKey)break;D?(T.key=b.C0.ESC+"[1;"+(D+1)+"C",T.key===b.C0.ESC+"[1;3C"&&(T.key=b.C0.ESC+(O?"f":"[1;5C"))):T.key=Z?b.C0.ESC+"OC":b.C0.ESC+"[C";break;case 38:if(x.metaKey)break;D?(T.key=b.C0.ESC+"[1;"+(D+1)+"A",O||T.key!==b.C0.ESC+"[1;3A"||(T.key=b.C0.ESC+"[1;5A")):T.key=Z?b.C0.ESC+"OA":b.C0.ESC+"[A";break;case 40:if(x.metaKey)break;D?(T.key=b.C0.ESC+"[1;"+(D+1)+"B",O||T.key!==b.C0.ESC+"[1;3B"||(T.key=b.C0.ESC+"[1;5B")):T.key=Z?b.C0.ESC+"OB":b.C0.ESC+"[B";break;case 45:x.shiftKey||x.ctrlKey||(T.key=b.C0.ESC+"[2~");break;case 46:T.key=D?b.C0.ESC+"[3;"+(D+1)+"~":b.C0.ESC+"[3~";break;case 36:T.key=D?b.C0.ESC+"[1;"+(D+1)+"H":Z?b.C0.ESC+"OH":b.C0.ESC+"[H";break;case 35:T.key=D?b.C0.ESC+"[1;"+(D+1)+"F":Z?b.C0.ESC+"OF":b.C0.ESC+"[F";break;case 33:x.shiftKey?T.type=2:T.key=b.C0.ESC+"[5~";break;case 34:x.shiftKey?T.type=3:T.key=b.C0.ESC+"[6~";break;case 112:T.key=D?b.C0.ESC+"[1;"+(D+1)+"P":b.C0.ESC+"OP";break;case 113:T.key=D?b.C0.ESC+"[1;"+(D+1)+"Q":b.C0.ESC+"OQ";break;case 114:T.key=D?b.C0.ESC+"[1;"+(D+1)+"R":b.C0.ESC+"OR";break;case 115:T.key=D?b.C0.ESC+"[1;"+(D+1)+"S":b.C0.ESC+"OS";break;case 116:T.key=D?b.C0.ESC+"[15;"+(D+1)+"~":b.C0.ESC+"[15~";break;case 117:T.key=D?b.C0.ESC+"[17;"+(D+1)+"~":b.C0.ESC+"[17~";break;case 118:T.key=D?b.C0.ESC+"[18;"+(D+1)+"~":b.C0.ESC+"[18~";break;case 119:T.key=D?b.C0.ESC+"[19;"+(D+1)+"~":b.C0.ESC+"[19~";break;case 120:T.key=D?b.C0.ESC+"[20;"+(D+1)+"~":b.C0.ESC+"[20~";break;case 121:T.key=D?b.C0.ESC+"[21;"+(D+1)+"~":b.C0.ESC+"[21~";break;case 122:T.key=D?b.C0.ESC+"[23;"+(D+1)+"~":b.C0.ESC+"[23~";break;case 123:T.key=D?b.C0.ESC+"[24;"+(D+1)+"~":b.C0.ESC+"[24~";break;default:if(!x.ctrlKey||x.shiftKey||x.altKey||x.metaKey)if(O&&!y||!x.altKey||x.metaKey)!O||x.altKey||x.ctrlKey||x.shiftKey||!x.metaKey?x.key&&!x.ctrlKey&&!x.altKey&&!x.metaKey&&x.keyCode>=48&&1===x.key.length?T.key=x.key:x.key&&x.ctrlKey&&"_"===x.key&&(T.key=b.C0.US):65===x.keyCode&&(T.type=1);else{var v=E[x.keyCode],g=v&&v[x.shiftKey?1:0];g?T.key=b.C0.ESC+g:x.keyCode>=65&&x.keyCode<=90&&(T.key=b.C0.ESC+String.fromCharCode(x.ctrlKey?x.keyCode-64:x.keyCode+32))}else x.keyCode>=65&&x.keyCode<=90?T.key=String.fromCharCode(x.keyCode-64):32===x.keyCode?T.key=b.C0.NUL:x.keyCode>=51&&x.keyCode<=55?T.key=String.fromCharCode(x.keyCode-51+27):56===x.keyCode?T.key=b.C0.DEL:219===x.keyCode?T.key=b.C0.ESC:220===x.keyCode?T.key=b.C0.FS:221===x.keyCode&&(T.key=b.C0.GS)}return T}},482:function(L,w){Object.defineProperty(w,"__esModule",{value:!0}),w.Utf8ToUtf32=w.StringToUtf32=w.utf32ToString=w.stringFromCodePoint=void 0,w.stringFromCodePoint=function(E){return E>65535?(E-=65536,String.fromCharCode(55296+(E>>10))+String.fromCharCode(E%1024+56320)):String.fromCharCode(E)},w.utf32ToString=function(E,x,Z){void 0===x&&(x=0),void 0===Z&&(Z=E.length);for(var O="",y=x;y<Z;++y){var T=E[y];T>65535?(T-=65536,O+=String.fromCharCode(55296+(T>>10))+String.fromCharCode(T%1024+56320)):O+=String.fromCharCode(T)}return O};var R=function(){function E(){this._interim=0}return E.prototype.clear=function(){this._interim=0},E.prototype.decode=function(x,Z){var O=x.length;if(!O)return 0;var y=0,T=0;this._interim&&(56320<=(g=x.charCodeAt(T++))&&g<=57343?Z[y++]=1024*(this._interim-55296)+g-56320+65536:(Z[y++]=this._interim,Z[y++]=g),this._interim=0);for(var D=T;D<O;++D){var v=x.charCodeAt(D);if(55296<=v&&v<=56319){if(++D>=O)return this._interim=v,y;var g;56320<=(g=x.charCodeAt(D))&&g<=57343?Z[y++]=1024*(v-55296)+g-56320+65536:(Z[y++]=v,Z[y++]=g)}else 65279!==v&&(Z[y++]=v)}return y},E}();w.StringToUtf32=R;var b=function(){function E(){this.interim=new Uint8Array(3)}return E.prototype.clear=function(){this.interim.fill(0)},E.prototype.decode=function(x,Z){var O=x.length;if(!O)return 0;var y,T,D,v,g=0,M=0,k=0;if(this.interim[0]){var S=!1,I=this.interim[0];I&=192==(224&I)?31:224==(240&I)?15:7;for(var F=0,G=void 0;(G=63&this.interim[++F])&&F<4;)I<<=6,I|=G;for(var X=192==(224&this.interim[0])?2:224==(240&this.interim[0])?3:4,W=X-F;k<W;){if(k>=O)return 0;if(128!=(192&(G=x[k++]))){k--,S=!0;break}this.interim[F++]=G,I<<=6,I|=63&G}S||(2===X?I<128?k--:Z[g++]=I:3===X?I<2048||I>=55296&&I<=57343||65279===I||(Z[g++]=I):I<65536||I>1114111||(Z[g++]=I)),this.interim.fill(0)}for(var Y=O-4,ae=k;ae<O;){for(;!(!(ae<Y)||128&(y=x[ae])||128&(T=x[ae+1])||128&(D=x[ae+2])||128&(v=x[ae+3]));)Z[g++]=y,Z[g++]=T,Z[g++]=D,Z[g++]=v,ae+=4;if((y=x[ae++])<128)Z[g++]=y;else if(192==(224&y)){if(ae>=O)return this.interim[0]=y,g;if(128!=(192&(T=x[ae++]))){ae--;continue}if((M=(31&y)<<6|63&T)<128){ae--;continue}Z[g++]=M}else if(224==(240&y)){if(ae>=O)return this.interim[0]=y,g;if(128!=(192&(T=x[ae++]))){ae--;continue}if(ae>=O)return this.interim[0]=y,this.interim[1]=T,g;if(128!=(192&(D=x[ae++]))){ae--;continue}if((M=(15&y)<<12|(63&T)<<6|63&D)<2048||M>=55296&&M<=57343||65279===M)continue;Z[g++]=M}else if(240==(248&y)){if(ae>=O)return this.interim[0]=y,g;if(128!=(192&(T=x[ae++]))){ae--;continue}if(ae>=O)return this.interim[0]=y,this.interim[1]=T,g;if(128!=(192&(D=x[ae++]))){ae--;continue}if(ae>=O)return this.interim[0]=y,this.interim[1]=T,this.interim[2]=D,g;if(128!=(192&(v=x[ae++]))){ae--;continue}if((M=(7&y)<<18|(63&T)<<12|(63&D)<<6|63&v)<65536||M>1114111)continue;Z[g++]=M}}return g},E}();w.Utf8ToUtf32=b},225:function(L,w,R){Object.defineProperty(w,"__esModule",{value:!0}),w.UnicodeV6=void 0;var b,E=R(8273),x=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],Z=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],O=function(){function y(){if(this.version="6",!b){b=new Uint8Array(65536),(0,E.fill)(b,1),b[0]=0,(0,E.fill)(b,0,1,32),(0,E.fill)(b,0,127,160),(0,E.fill)(b,2,4352,4448),b[9001]=2,b[9002]=2,(0,E.fill)(b,2,11904,42192),b[12351]=1,(0,E.fill)(b,2,44032,55204),(0,E.fill)(b,2,63744,64256),(0,E.fill)(b,2,65040,65050),(0,E.fill)(b,2,65072,65136),(0,E.fill)(b,2,65280,65377),(0,E.fill)(b,2,65504,65511);for(var T=0;T<x.length;++T)(0,E.fill)(b,0,x[T][0],x[T][1]+1)}}return y.prototype.wcwidth=function(T){return T<32?0:T<127?1:T<65536?b[T]:function(D,v){var g,M=0,k=v.length-1;if(D<v[0][0]||D>v[k][1])return!1;for(;k>=M;)if(D>v[g=M+k>>1][1])M=g+1;else{if(!(D<v[g][0]))return!0;k=g-1}return!1}(T,Z)?0:T>=131072&&T<=196605||T>=196608&&T<=262141?2:1},y}();w.UnicodeV6=O},5981:function(L,w){Object.defineProperty(w,"__esModule",{value:!0}),w.WriteBuffer=void 0;var R="undefined"==typeof queueMicrotask?function(E){Promise.resolve().then(E)}:queueMicrotask,b=function(){function E(x){this._action=x,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0,this._isSyncWriting=!1,this._syncCalls=0}return E.prototype.writeSync=function(x,Z){if(void 0!==Z&&this._syncCalls>Z)this._syncCalls=0;else if(this._pendingData+=x.length,this._writeBuffer.push(x),this._callbacks.push(void 0),this._syncCalls++,!this._isSyncWriting){var O;for(this._isSyncWriting=!0;O=this._writeBuffer.shift();){this._action(O);var y=this._callbacks.shift();y&&y()}this._pendingData=0,this._bufferOffset=2147483647,this._isSyncWriting=!1,this._syncCalls=0}},E.prototype.write=function(x,Z){var O=this;if(this._pendingData>5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout(function(){return O._innerWrite()})),this._pendingData+=x.length,this._writeBuffer.push(x),this._callbacks.push(Z)},E.prototype._innerWrite=function(x,Z){var O=this;void 0===x&&(x=0),void 0===Z&&(Z=!0);for(var y=x||Date.now();this._writeBuffer.length>this._bufferOffset;){var T=this._writeBuffer[this._bufferOffset],D=this._action(T,Z);if(D)return void D.catch(function(g){return R(function(){throw g}),Promise.resolve(!1)}).then(function(g){return Date.now()-y>=12?setTimeout(function(){return O._innerWrite(0,g)}):O._innerWrite(y,g)});var v=this._callbacks[this._bufferOffset];if(v&&v(),this._bufferOffset++,this._pendingData-=T.length,Date.now()-y>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout(function(){return O._innerWrite()})):(this._writeBuffer.length=0,this._callbacks.length=0,this._pendingData=0,this._bufferOffset=0)},E}();w.WriteBuffer=b},5770:function(L,w){Object.defineProperty(w,"__esModule",{value:!0}),w.PAYLOAD_LIMIT=void 0,w.PAYLOAD_LIMIT=1e7},6351:function(L,w,R){Object.defineProperty(w,"__esModule",{value:!0}),w.DcsHandler=w.DcsParser=void 0;var b=R(482),E=R(8742),x=R(5770),Z=[],O=function(){function D(){this._handlers=Object.create(null),this._active=Z,this._ident=0,this._handlerFb=function(){},this._stack={paused:!1,loopPosition:0,fallThrough:!1}}return D.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){},this._active=Z},D.prototype.registerHandler=function(v,g){void 0===this._handlers[v]&&(this._handlers[v]=[]);var M=this._handlers[v];return M.push(g),{dispose:function(){var S=M.indexOf(g);-1!==S&&M.splice(S,1)}}},D.prototype.clearHandler=function(v){this._handlers[v]&&delete this._handlers[v]},D.prototype.setHandlerFallback=function(v){this._handlerFb=v},D.prototype.reset=function(){if(this._active.length)for(var v=this._stack.paused?this._stack.loopPosition-1:this._active.length-1;v>=0;--v)this._active[v].unhook(!1);this._stack.paused=!1,this._active=Z,this._ident=0},D.prototype.hook=function(v,g){if(this.reset(),this._ident=v,this._active=this._handlers[v]||Z,this._active.length)for(var M=this._active.length-1;M>=0;M--)this._active[M].hook(g);else this._handlerFb(this._ident,"HOOK",g)},D.prototype.put=function(v,g,M){if(this._active.length)for(var k=this._active.length-1;k>=0;k--)this._active[k].put(v,g,M);else this._handlerFb(this._ident,"PUT",(0,b.utf32ToString)(v,g,M))},D.prototype.unhook=function(v,g){if(void 0===g&&(g=!0),this._active.length){var M=!1,k=this._active.length-1,S=!1;if(this._stack.paused&&(k=this._stack.loopPosition-1,M=g,S=this._stack.fallThrough,this._stack.paused=!1),!S&&!1===M){for(;k>=0&&!0!==(M=this._active[k].unhook(v));k--)if(M instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=k,this._stack.fallThrough=!1,M;k--}for(;k>=0;k--)if((M=this._active[k].unhook(!1))instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=k,this._stack.fallThrough=!0,M}else this._handlerFb(this._ident,"UNHOOK",v);this._active=Z,this._ident=0},D}();w.DcsParser=O;var y=new E.Params;y.addParam(0);var T=function(){function D(v){this._handler=v,this._data="",this._params=y,this._hitLimit=!1}return D.prototype.hook=function(v){this._params=v.length>1||v.params[0]?v.clone():y,this._data="",this._hitLimit=!1},D.prototype.put=function(v,g,M){this._hitLimit||(this._data+=(0,b.utf32ToString)(v,g,M),this._data.length>x.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},D.prototype.unhook=function(v){var g=this,M=!1;if(this._hitLimit)M=!1;else if(v&&(M=this._handler(this._data,this._params))instanceof Promise)return M.then(function(k){return g._params=y,g._data="",g._hitLimit=!1,k});return this._params=y,this._data="",this._hitLimit=!1,M},D}();w.DcsHandler=T},2015:function(L,w,R){var b,E=this&&this.__extends||(b=function(k,S){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(I,F){I.__proto__=F}||function(I,F){for(var G in F)Object.prototype.hasOwnProperty.call(F,G)&&(I[G]=F[G])})(k,S)},function(M,k){if("function"!=typeof k&&null!==k)throw new TypeError("Class extends value "+String(k)+" is not a constructor or null");function S(){this.constructor=M}b(M,k),M.prototype=null===k?Object.create(k):(S.prototype=k.prototype,new S)});Object.defineProperty(w,"__esModule",{value:!0}),w.EscapeSequenceParser=w.VT500_TRANSITION_TABLE=w.TransitionTable=void 0;var x=R(844),Z=R(8273),O=R(8742),y=R(6242),T=R(6351),D=function(){function M(k){this.table=new Uint8Array(k)}return M.prototype.setDefault=function(k,S){(0,Z.fill)(this.table,k<<4|S)},M.prototype.add=function(k,S,I,F){this.table[S<<8|k]=I<<4|F},M.prototype.addMany=function(k,S,I,F){for(var G=0;G<k.length;G++)this.table[S<<8|k[G]]=I<<4|F},M}();w.TransitionTable=D;var v=160;w.VT500_TRANSITION_TABLE=function(){var M=new D(4095),k=Array.apply(null,Array(256)).map(function(W,Y){return Y}),S=function(Y,ae){return k.slice(Y,ae)},I=S(32,127),F=S(0,24);F.push(25),F.push.apply(F,S(28,32));var G,X=S(0,14);for(G in M.setDefault(1,0),M.addMany(I,0,2,0),X)M.addMany([24,26,153,154],G,3,0),M.addMany(S(128,144),G,3,0),M.addMany(S(144,152),G,3,0),M.add(156,G,0,0),M.add(27,G,11,1),M.add(157,G,4,8),M.addMany([152,158,159],G,0,7),M.add(155,G,11,3),M.add(144,G,11,9);return M.addMany(F,0,3,0),M.addMany(F,1,3,1),M.add(127,1,0,1),M.addMany(F,8,0,8),M.addMany(F,3,3,3),M.add(127,3,0,3),M.addMany(F,4,3,4),M.add(127,4,0,4),M.addMany(F,6,3,6),M.addMany(F,5,3,5),M.add(127,5,0,5),M.addMany(F,2,3,2),M.add(127,2,0,2),M.add(93,1,4,8),M.addMany(I,8,5,8),M.add(127,8,5,8),M.addMany([156,27,24,26,7],8,6,0),M.addMany(S(28,32),8,0,8),M.addMany([88,94,95],1,0,7),M.addMany(I,7,0,7),M.addMany(F,7,0,7),M.add(156,7,0,0),M.add(127,7,0,7),M.add(91,1,11,3),M.addMany(S(64,127),3,7,0),M.addMany(S(48,60),3,8,4),M.addMany([60,61,62,63],3,9,4),M.addMany(S(48,60),4,8,4),M.addMany(S(64,127),4,7,0),M.addMany([60,61,62,63],4,0,6),M.addMany(S(32,64),6,0,6),M.add(127,6,0,6),M.addMany(S(64,127),6,0,0),M.addMany(S(32,48),3,9,5),M.addMany(S(32,48),5,9,5),M.addMany(S(48,64),5,0,6),M.addMany(S(64,127),5,7,0),M.addMany(S(32,48),4,9,5),M.addMany(S(32,48),1,9,2),M.addMany(S(32,48),2,9,2),M.addMany(S(48,127),2,10,0),M.addMany(S(48,80),1,10,0),M.addMany(S(81,88),1,10,0),M.addMany([89,90,92],1,10,0),M.addMany(S(96,127),1,10,0),M.add(80,1,11,9),M.addMany(F,9,0,9),M.add(127,9,0,9),M.addMany(S(28,32),9,0,9),M.addMany(S(32,48),9,9,12),M.addMany(S(48,60),9,8,10),M.addMany([60,61,62,63],9,9,10),M.addMany(F,11,0,11),M.addMany(S(32,128),11,0,11),M.addMany(S(28,32),11,0,11),M.addMany(F,10,0,10),M.add(127,10,0,10),M.addMany(S(28,32),10,0,10),M.addMany(S(48,60),10,8,10),M.addMany([60,61,62,63],10,0,11),M.addMany(S(32,48),10,9,12),M.addMany(F,12,0,12),M.add(127,12,0,12),M.addMany(S(28,32),12,0,12),M.addMany(S(32,48),12,9,12),M.addMany(S(48,64),12,0,11),M.addMany(S(64,127),12,12,13),M.addMany(S(64,127),10,12,13),M.addMany(S(64,127),9,12,13),M.addMany(F,13,13,13),M.addMany(I,13,13,13),M.add(127,13,0,13),M.addMany([27,156,24,26],13,14,0),M.add(v,0,2,0),M.add(v,8,5,8),M.add(v,6,0,6),M.add(v,11,0,11),M.add(v,13,13,13),M}();var g=function(M){function k(S){void 0===S&&(S=w.VT500_TRANSITION_TABLE);var I=M.call(this)||this;return I._transitions=S,I._parseStack={state:0,handlers:[],handlerPos:0,transition:0,chunkPos:0},I.initialState=0,I.currentState=I.initialState,I._params=new O.Params,I._params.addParam(0),I._collect=0,I.precedingCodepoint=0,I._printHandlerFb=function(F,G,X){},I._executeHandlerFb=function(F){},I._csiHandlerFb=function(F,G){},I._escHandlerFb=function(F){},I._errorHandlerFb=function(F){return F},I._printHandler=I._printHandlerFb,I._executeHandlers=Object.create(null),I._csiHandlers=Object.create(null),I._escHandlers=Object.create(null),I._oscParser=new y.OscParser,I._dcsParser=new T.DcsParser,I._errorHandler=I._errorHandlerFb,I.registerEscHandler({final:"\\"},function(){return!0}),I}return E(k,M),k.prototype._identifier=function(S,I){void 0===I&&(I=[64,126]);var F=0;if(S.prefix){if(S.prefix.length>1)throw new Error("only one byte as prefix supported");if((F=S.prefix.charCodeAt(0))&&60>F||F>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(S.intermediates){if(S.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var G=0;G<S.intermediates.length;++G){var X=S.intermediates.charCodeAt(G);if(32>X||X>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");F<<=8,F|=X}}if(1!==S.final.length)throw new Error("final must be a single byte");var W=S.final.charCodeAt(0);if(I[0]>W||W>I[1])throw new Error("final must be in range "+I[0]+" .. "+I[1]);return(F<<=8)|W},k.prototype.identToString=function(S){for(var I=[];S;)I.push(String.fromCharCode(255&S)),S>>=8;return I.reverse().join("")},k.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},k.prototype.setPrintHandler=function(S){this._printHandler=S},k.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},k.prototype.registerEscHandler=function(S,I){var F=this._identifier(S,[48,126]);void 0===this._escHandlers[F]&&(this._escHandlers[F]=[]);var G=this._escHandlers[F];return G.push(I),{dispose:function(){var W=G.indexOf(I);-1!==W&&G.splice(W,1)}}},k.prototype.clearEscHandler=function(S){this._escHandlers[this._identifier(S,[48,126])]&&delete this._escHandlers[this._identifier(S,[48,126])]},k.prototype.setEscHandlerFallback=function(S){this._escHandlerFb=S},k.prototype.setExecuteHandler=function(S,I){this._executeHandlers[S.charCodeAt(0)]=I},k.prototype.clearExecuteHandler=function(S){this._executeHandlers[S.charCodeAt(0)]&&delete this._executeHandlers[S.charCodeAt(0)]},k.prototype.setExecuteHandlerFallback=function(S){this._executeHandlerFb=S},k.prototype.registerCsiHandler=function(S,I){var F=this._identifier(S);void 0===this._csiHandlers[F]&&(this._csiHandlers[F]=[]);var G=this._csiHandlers[F];return G.push(I),{dispose:function(){var W=G.indexOf(I);-1!==W&&G.splice(W,1)}}},k.prototype.clearCsiHandler=function(S){this._csiHandlers[this._identifier(S)]&&delete this._csiHandlers[this._identifier(S)]},k.prototype.setCsiHandlerFallback=function(S){this._csiHandlerFb=S},k.prototype.registerDcsHandler=function(S,I){return this._dcsParser.registerHandler(this._identifier(S),I)},k.prototype.clearDcsHandler=function(S){this._dcsParser.clearHandler(this._identifier(S))},k.prototype.setDcsHandlerFallback=function(S){this._dcsParser.setHandlerFallback(S)},k.prototype.registerOscHandler=function(S,I){return this._oscParser.registerHandler(S,I)},k.prototype.clearOscHandler=function(S){this._oscParser.clearHandler(S)},k.prototype.setOscHandlerFallback=function(S){this._oscParser.setHandlerFallback(S)},k.prototype.setErrorHandler=function(S){this._errorHandler=S},k.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},k.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0,0!==this._parseStack.state&&(this._parseStack.state=2,this._parseStack.handlers=[])},k.prototype._preserveStack=function(S,I,F,G,X){this._parseStack.state=S,this._parseStack.handlers=I,this._parseStack.handlerPos=F,this._parseStack.transition=G,this._parseStack.chunkPos=X},k.prototype.parse=function(S,I,F){var G,X=0,W=0,Y=0;if(this._parseStack.state)if(2===this._parseStack.state)this._parseStack.state=0,Y=this._parseStack.chunkPos+1;else{if(void 0===F||1===this._parseStack.state)throw this._parseStack.state=1,new Error("improper continuation due to previous async handler, giving up parsing");var ae=this._parseStack.handlers,K=this._parseStack.handlerPos-1;switch(this._parseStack.state){case 3:if(!1===F&&K>-1)for(;K>=0&&!0!==(G=ae[K](this._params));K--)if(G instanceof Promise)return this._parseStack.handlerPos=K,G;this._parseStack.handlers=[];break;case 4:if(!1===F&&K>-1)for(;K>=0&&!0!==(G=ae[K]());K--)if(G instanceof Promise)return this._parseStack.handlerPos=K,G;this._parseStack.handlers=[];break;case 6:if(G=this._dcsParser.unhook(24!==(X=S[this._parseStack.chunkPos])&&26!==X,F))return G;27===X&&(this._parseStack.transition|=1),this._params.reset(),this._params.addParam(0),this._collect=0;break;case 5:if(G=this._oscParser.end(24!==(X=S[this._parseStack.chunkPos])&&26!==X,F))return G;27===X&&(this._parseStack.transition|=1),this._params.reset(),this._params.addParam(0),this._collect=0}this._parseStack.state=0,Y=this._parseStack.chunkPos+1,this.precedingCodepoint=0,this.currentState=15&this._parseStack.transition}for(var fe=Y;fe<I;++fe){switch((W=this._transitions.table[this.currentState<<8|((X=S[fe])<160?X:v)])>>4){case 2:for(var ce=fe+1;;++ce){if(ce>=I||(X=S[ce])<32||X>126&&X<v){this._printHandler(S,fe,ce),fe=ce-1;break}if(++ce>=I||(X=S[ce])<32||X>126&&X<v){this._printHandler(S,fe,ce),fe=ce-1;break}if(++ce>=I||(X=S[ce])<32||X>126&&X<v){this._printHandler(S,fe,ce),fe=ce-1;break}if(++ce>=I||(X=S[ce])<32||X>126&&X<v){this._printHandler(S,fe,ce),fe=ce-1;break}}break;case 3:this._executeHandlers[X]?this._executeHandlers[X]():this._executeHandlerFb(X),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:fe,code:X,currentState:this.currentState,collect:this._collect,params:this._params,abort:!1}).abort)return;break;case 7:for(var he=(ae=this._csiHandlers[this._collect<<8|X])?ae.length-1:-1;he>=0&&!0!==(G=ae[he](this._params));he--)if(G instanceof Promise)return this._preserveStack(3,ae,he,W,fe),G;he<0&&this._csiHandlerFb(this._collect<<8|X,this._params),this.precedingCodepoint=0;break;case 8:do{switch(X){case 59:this._params.addParam(0);break;case 58:this._params.addSubParam(-1);break;default:this._params.addDigit(X-48)}}while(++fe<I&&(X=S[fe])>47&&X<60);fe--;break;case 9:this._collect<<=8,this._collect|=X;break;case 10:for(var de=this._escHandlers[this._collect<<8|X],oe=de?de.length-1:-1;oe>=0&&!0!==(G=de[oe]());oe--)if(G instanceof Promise)return this._preserveStack(4,de,oe,W,fe),G;oe<0&&this._escHandlerFb(this._collect<<8|X),this.precedingCodepoint=0;break;case 11:this._params.reset(),this._params.addParam(0),this._collect=0;break;case 12:this._dcsParser.hook(this._collect<<8|X,this._params);break;case 13:for(var Ce=fe+1;;++Ce)if(Ce>=I||24===(X=S[Ce])||26===X||27===X||X>127&&X<v){this._dcsParser.put(S,fe,Ce),fe=Ce-1;break}break;case 14:if(G=this._dcsParser.unhook(24!==X&&26!==X))return this._preserveStack(6,[],0,W,fe),G;27===X&&(W|=1),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0;break;case 4:this._oscParser.start();break;case 5:for(var ge=fe+1;;ge++)if(ge>=I||(X=S[ge])<32||X>127&&X<v){this._oscParser.put(S,fe,ge),fe=ge-1;break}break;case 6:if(G=this._oscParser.end(24!==X&&26!==X))return this._preserveStack(5,[],0,W,fe),G;27===X&&(W|=1),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0}this.currentState=15&W}},k}(x.Disposable);w.EscapeSequenceParser=g},6242:function(L,w,R){Object.defineProperty(w,"__esModule",{value:!0}),w.OscHandler=w.OscParser=void 0;var b=R(5770),E=R(482),x=[],Z=function(){function y(){this._state=0,this._active=x,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){},this._stack={paused:!1,loopPosition:0,fallThrough:!1}}return y.prototype.registerHandler=function(T,D){void 0===this._handlers[T]&&(this._handlers[T]=[]);var v=this._handlers[T];return v.push(D),{dispose:function(){var M=v.indexOf(D);-1!==M&&v.splice(M,1)}}},y.prototype.clearHandler=function(T){this._handlers[T]&&delete this._handlers[T]},y.prototype.setHandlerFallback=function(T){this._handlerFb=T},y.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){},this._active=x},y.prototype.reset=function(){if(2===this._state)for(var T=this._stack.paused?this._stack.loopPosition-1:this._active.length-1;T>=0;--T)this._active[T].end(!1);this._stack.paused=!1,this._active=x,this._id=-1,this._state=0},y.prototype._start=function(){if(this._active=this._handlers[this._id]||x,this._active.length)for(var T=this._active.length-1;T>=0;T--)this._active[T].start();else this._handlerFb(this._id,"START")},y.prototype._put=function(T,D,v){if(this._active.length)for(var g=this._active.length-1;g>=0;g--)this._active[g].put(T,D,v);else this._handlerFb(this._id,"PUT",(0,E.utf32ToString)(T,D,v))},y.prototype.start=function(){this.reset(),this._state=1},y.prototype.put=function(T,D,v){if(3!==this._state){if(1===this._state)for(;D<v;){var g=T[D++];if(59===g){this._state=2,this._start();break}if(g<48||57<g)return void(this._state=3);-1===this._id&&(this._id=0),this._id=10*this._id+g-48}2===this._state&&v-D>0&&this._put(T,D,v)}},y.prototype.end=function(T,D){if(void 0===D&&(D=!0),0!==this._state){if(3!==this._state)if(1===this._state&&this._start(),this._active.length){var v=!1,g=this._active.length-1,M=!1;if(this._stack.paused&&(g=this._stack.loopPosition-1,v=D,M=this._stack.fallThrough,this._stack.paused=!1),!M&&!1===v){for(;g>=0&&!0!==(v=this._active[g].end(T));g--)if(v instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=g,this._stack.fallThrough=!1,v;g--}for(;g>=0;g--)if((v=this._active[g].end(!1))instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=g,this._stack.fallThrough=!0,v}else this._handlerFb(this._id,"END",T);this._active=x,this._id=-1,this._state=0}},y}();w.OscParser=Z;var O=function(){function y(T){this._handler=T,this._data="",this._hitLimit=!1}return y.prototype.start=function(){this._data="",this._hitLimit=!1},y.prototype.put=function(T,D,v){this._hitLimit||(this._data+=(0,E.utf32ToString)(T,D,v),this._data.length>b.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},y.prototype.end=function(T){var D=this,v=!1;if(this._hitLimit)v=!1;else if(T&&(v=this._handler(this._data))instanceof Promise)return v.then(function(g){return D._data="",D._hitLimit=!1,g});return this._data="",this._hitLimit=!1,v},y}();w.OscHandler=O},8742:function(L,w){Object.defineProperty(w,"__esModule",{value:!0}),w.Params=void 0;var R=2147483647,b=function(){function E(x,Z){if(void 0===x&&(x=32),void 0===Z&&(Z=32),this.maxLength=x,this.maxSubParamsLength=Z,Z>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(x),this.length=0,this._subParams=new Int32Array(Z),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(x),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return E.fromArray=function(x){var Z=new E;if(!x.length)return Z;for(var O=x[0]instanceof Array?1:0;O<x.length;++O){var y=x[O];if(y instanceof Array)for(var T=0;T<y.length;++T)Z.addSubParam(y[T]);else Z.addParam(y)}return Z},E.prototype.clone=function(){var x=new E(this.maxLength,this.maxSubParamsLength);return x.params.set(this.params),x.length=this.length,x._subParams.set(this._subParams),x._subParamsLength=this._subParamsLength,x._subParamsIdx.set(this._subParamsIdx),x._rejectDigits=this._rejectDigits,x._rejectSubDigits=this._rejectSubDigits,x._digitIsSub=this._digitIsSub,x},E.prototype.toArray=function(){for(var x=[],Z=0;Z<this.length;++Z){x.push(this.params[Z]);var O=this._subParamsIdx[Z]>>8,y=255&this._subParamsIdx[Z];y-O>0&&x.push(Array.prototype.slice.call(this._subParams,O,y))}return x},E.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},E.prototype.addParam=function(x){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(x<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=x>R?R:x}},E.prototype.addSubParam=function(x){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(x<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=x>R?R:x,this._subParamsIdx[this.length-1]++}},E.prototype.hasSubParams=function(x){return(255&this._subParamsIdx[x])-(this._subParamsIdx[x]>>8)>0},E.prototype.getSubParams=function(x){var Z=this._subParamsIdx[x]>>8,O=255&this._subParamsIdx[x];return O-Z>0?this._subParams.subarray(Z,O):null},E.prototype.getSubParamsAll=function(){for(var x={},Z=0;Z<this.length;++Z){var O=this._subParamsIdx[Z]>>8,y=255&this._subParamsIdx[Z];y-O>0&&(x[Z]=this._subParams.slice(O,y))}return x},E.prototype.addDigit=function(x){var Z;if(!(this._rejectDigits||!(Z=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var O=this._digitIsSub?this._subParams:this.params,y=O[Z-1];O[Z-1]=~y?Math.min(10*y+x,R):x}},E}();w.Params=b},5741:function(L,w){Object.defineProperty(w,"__esModule",{value:!0}),w.AddonManager=void 0;var R=function(){function b(){this._addons=[]}return b.prototype.dispose=function(){for(var E=this._addons.length-1;E>=0;E--)this._addons[E].instance.dispose()},b.prototype.loadAddon=function(E,x){var Z=this,O={instance:x,dispose:x.dispose,isDisposed:!1};this._addons.push(O),x.dispose=function(){return Z._wrappedAddonDispose(O)},x.activate(E)},b.prototype._wrappedAddonDispose=function(E){if(!E.isDisposed){for(var x=-1,Z=0;Z<this._addons.length;Z++)if(this._addons[Z]===E){x=Z;break}if(-1===x)throw new Error("Could not dispose an addon that has not been loaded");E.isDisposed=!0,E.dispose.apply(E.instance),this._addons.splice(x,1)}},b}();w.AddonManager=R},8771:function(L,w,R){Object.defineProperty(w,"__esModule",{value:!0}),w.BufferApiView=void 0;var b=R(3785),E=R(511),x=function(){function Z(O,y){this._buffer=O,this.type=y}return Z.prototype.init=function(O){return this._buffer=O,this},Object.defineProperty(Z.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!1,configurable:!0}),Object.defineProperty(Z.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!1,configurable:!0}),Object.defineProperty(Z.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!1,configurable:!0}),Object.defineProperty(Z.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!1,configurable:!0}),Object.defineProperty(Z.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!1,configurable:!0}),Z.prototype.getLine=function(O){var y=this._buffer.lines.get(O);if(y)return new b.BufferLineApiView(y)},Z.prototype.getNullCell=function(){return new E.CellData},Z}();w.BufferApiView=x},3785:function(L,w,R){Object.defineProperty(w,"__esModule",{value:!0}),w.BufferLineApiView=void 0;var b=R(511),E=function(){function x(Z){this._line=Z}return Object.defineProperty(x.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"length",{get:function(){return this._line.length},enumerable:!1,configurable:!0}),x.prototype.getCell=function(Z,O){if(!(Z<0||Z>=this._line.length))return O?(this._line.loadCell(Z,O),O):this._line.loadCell(Z,new b.CellData)},x.prototype.translateToString=function(Z,O,y){return this._line.translateToString(Z,O,y)},x}();w.BufferLineApiView=E},8285:function(L,w,R){Object.defineProperty(w,"__esModule",{value:!0}),w.BufferNamespaceApi=void 0;var b=R(8771),E=R(8460),x=function(){function Z(O){var y=this;this._core=O,this._onBufferChange=new E.EventEmitter,this._normal=new b.BufferApiView(this._core.buffers.normal,"normal"),this._alternate=new b.BufferApiView(this._core.buffers.alt,"alternate"),this._core.buffers.onBufferActivate(function(){return y._onBufferChange.fire(y.active)})}return Object.defineProperty(Z.prototype,"onBufferChange",{get:function(){return this._onBufferChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(Z.prototype,"active",{get:function(){if(this._core.buffers.active===this._core.buffers.normal)return this.normal;if(this._core.buffers.active===this._core.buffers.alt)return this.alternate;throw new Error("Active buffer is neither normal nor alternate")},enumerable:!1,configurable:!0}),Object.defineProperty(Z.prototype,"normal",{get:function(){return this._normal.init(this._core.buffers.normal)},enumerable:!1,configurable:!0}),Object.defineProperty(Z.prototype,"alternate",{get:function(){return this._alternate.init(this._core.buffers.alt)},enumerable:!1,configurable:!0}),Z}();w.BufferNamespaceApi=x},7975:function(L,w){Object.defineProperty(w,"__esModule",{value:!0}),w.ParserApi=void 0;var R=function(){function b(E){this._core=E}return b.prototype.registerCsiHandler=function(E,x){return this._core.registerCsiHandler(E,function(Z){return x(Z.toArray())})},b.prototype.addCsiHandler=function(E,x){return this.registerCsiHandler(E,x)},b.prototype.registerDcsHandler=function(E,x){return this._core.registerDcsHandler(E,function(Z,O){return x(Z,O.toArray())})},b.prototype.addDcsHandler=function(E,x){return this.registerDcsHandler(E,x)},b.prototype.registerEscHandler=function(E,x){return this._core.registerEscHandler(E,x)},b.prototype.addEscHandler=function(E,x){return this.registerEscHandler(E,x)},b.prototype.registerOscHandler=function(E,x){return this._core.registerOscHandler(E,x)},b.prototype.addOscHandler=function(E,x){return this.registerOscHandler(E,x)},b}();w.ParserApi=R},7090:function(L,w){Object.defineProperty(w,"__esModule",{value:!0}),w.UnicodeApi=void 0;var R=function(){function b(E){this._core=E}return b.prototype.register=function(E){this._core.unicodeService.register(E)},Object.defineProperty(b.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(x){this._core.unicodeService.activeVersion=x},enumerable:!1,configurable:!0}),b}();w.UnicodeApi=R},744:function(L,w,R){var b,E=this&&this.__extends||(b=function(M,k){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,I){S.__proto__=I}||function(S,I){for(var F in I)Object.prototype.hasOwnProperty.call(I,F)&&(S[F]=I[F])})(M,k)},function(g,M){if("function"!=typeof M&&null!==M)throw new TypeError("Class extends value "+String(M)+" is not a constructor or null");function k(){this.constructor=g}b(g,M),g.prototype=null===M?Object.create(M):(k.prototype=M.prototype,new k)}),x=this&&this.__decorate||function(g,M,k,S){var I,F=arguments.length,G=F<3?M:null===S?S=Object.getOwnPropertyDescriptor(M,k):S;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)G=Reflect.decorate(g,M,k,S);else for(var X=g.length-1;X>=0;X--)(I=g[X])&&(G=(F<3?I(G):F>3?I(M,k,G):I(M,k))||G);return F>3&&G&&Object.defineProperty(M,k,G),G},Z=this&&this.__param||function(g,M){return function(k,S){M(k,S,g)}};Object.defineProperty(w,"__esModule",{value:!0}),w.BufferService=w.MINIMUM_ROWS=w.MINIMUM_COLS=void 0;var O=R(2585),y=R(5295),T=R(8460),D=R(844);w.MINIMUM_COLS=2,w.MINIMUM_ROWS=1;var v=function(g){function M(k){var S=g.call(this)||this;return S._optionsService=k,S.isUserScrolling=!1,S._onResize=new T.EventEmitter,S._onScroll=new T.EventEmitter,S.cols=Math.max(k.options.cols||0,w.MINIMUM_COLS),S.rows=Math.max(k.options.rows||0,w.MINIMUM_ROWS),S.buffers=new y.BufferSet(k,S),S}return E(M,g),Object.defineProperty(M.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),M.prototype.dispose=function(){g.prototype.dispose.call(this),this.buffers.dispose()},M.prototype.resize=function(k,S){this.cols=k,this.rows=S,this.buffers.resize(k,S),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:k,rows:S})},M.prototype.reset=function(){this.buffers.reset(),this.isUserScrolling=!1},M.prototype.scroll=function(k,S){void 0===S&&(S=!1);var I,F=this.buffer;(I=this._cachedBlankLine)&&I.length===this.cols&&I.getFg(0)===k.fg&&I.getBg(0)===k.bg||(I=F.getBlankLine(k,S),this._cachedBlankLine=I),I.isWrapped=S;var G=F.ybase+F.scrollTop,X=F.ybase+F.scrollBottom;if(0===F.scrollTop){var W=F.lines.isFull;X===F.lines.length-1?W?F.lines.recycle().copyFrom(I):F.lines.push(I.clone()):F.lines.splice(X+1,0,I.clone()),W?this.isUserScrolling&&(F.ydisp=Math.max(F.ydisp-1,0)):(F.ybase++,this.isUserScrolling||F.ydisp++)}else F.lines.shiftElements(G+1,X-G+1-1,-1),F.lines.set(X,I.clone());this.isUserScrolling||(F.ydisp=F.ybase),this._onScroll.fire(F.ydisp)},M.prototype.scrollLines=function(k,S,I){var F=this.buffer;if(k<0){if(0===F.ydisp)return;this.isUserScrolling=!0}else k+F.ydisp>=F.ybase&&(this.isUserScrolling=!1);var G=F.ydisp;F.ydisp=Math.max(Math.min(F.ydisp+k,F.ybase),0),G!==F.ydisp&&(S||this._onScroll.fire(F.ydisp))},M.prototype.scrollPages=function(k){this.scrollLines(k*(this.rows-1))},M.prototype.scrollToTop=function(){this.scrollLines(-this.buffer.ydisp)},M.prototype.scrollToBottom=function(){this.scrollLines(this.buffer.ybase-this.buffer.ydisp)},M.prototype.scrollToLine=function(k){var S=k-this.buffer.ydisp;0!==S&&this.scrollLines(S)},x([Z(0,O.IOptionsService)],M)}(D.Disposable);w.BufferService=v},7994:function(L,w){Object.defineProperty(w,"__esModule",{value:!0}),w.CharsetService=void 0;var R=function(){function b(){this.glevel=0,this._charsets=[]}return b.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},b.prototype.setgLevel=function(E){this.glevel=E,this.charset=this._charsets[E]},b.prototype.setgCharset=function(E,x){this._charsets[E]=x,this.glevel===E&&(this.charset=x)},b}();w.CharsetService=R},1753:function(L,w,R){var b=this&&this.__decorate||function(g,M,k,S){var I,F=arguments.length,G=F<3?M:null===S?S=Object.getOwnPropertyDescriptor(M,k):S;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)G=Reflect.decorate(g,M,k,S);else for(var X=g.length-1;X>=0;X--)(I=g[X])&&(G=(F<3?I(G):F>3?I(M,k,G):I(M,k))||G);return F>3&&G&&Object.defineProperty(M,k,G),G},E=this&&this.__param||function(g,M){return function(k,S){M(k,S,g)}};Object.defineProperty(w,"__esModule",{value:!0}),w.CoreMouseService=void 0;var x=R(2585),Z=R(8460),O={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(M){return 4!==M.button&&1===M.action&&(M.ctrl=!1,M.alt=!1,M.shift=!1,!0)}},VT200:{events:19,restrict:function(M){return 32!==M.action}},DRAG:{events:23,restrict:function(M){return 32!==M.action||3!==M.button}},ANY:{events:31,restrict:function(M){return!0}}};function y(g,M){var k=(g.ctrl?16:0)|(g.shift?4:0)|(g.alt?8:0);return 4===g.button?(k|=64,k|=g.action):(k|=3&g.button,4&g.button&&(k|=64),8&g.button&&(k|=128),32===g.action?k|=32:0!==g.action||M||(k|=3)),k}var T=String.fromCharCode,D={DEFAULT:function(M){var k=[y(M,!1)+32,M.col+32,M.row+32];return k[0]>255||k[1]>255||k[2]>255?"":"\x1b[M"+T(k[0])+T(k[1])+T(k[2])},SGR:function(M){var k=0===M.action&&4!==M.button?"m":"M";return"\x1b[<"+y(M,!0)+";"+M.col+";"+M.row+k}},v=function(){function g(M,k){this._bufferService=M,this._coreService=k,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new Z.EventEmitter,this._lastEvent=null;for(var S=0,I=Object.keys(O);S<I.length;S++){var F=I[S];this.addProtocol(F,O[F])}for(var G=0,X=Object.keys(D);G<X.length;G++){var W=X[G];this.addEncoding(W,D[W])}this.reset()}return g.prototype.addProtocol=function(M,k){this._protocols[M]=k},g.prototype.addEncoding=function(M,k){this._encodings[M]=k},Object.defineProperty(g.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(k){if(!this._protocols[k])throw new Error('unknown protocol "'+k+'"');this._activeProtocol=k,this._onProtocolChange.fire(this._protocols[k].events)},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"areMouseEventsActive",{get:function(){return 0!==this._protocols[this._activeProtocol].events},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(k){if(!this._encodings[k])throw new Error('unknown encoding "'+k+'"');this._activeEncoding=k},enumerable:!1,configurable:!0}),g.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(g.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!1,configurable:!0}),g.prototype.triggerMouseEvent=function(M){if(M.col<0||M.col>=this._bufferService.cols||M.row<0||M.row>=this._bufferService.rows||4===M.button&&32===M.action||3===M.button&&32!==M.action||4!==M.button&&(2===M.action||3===M.action)||(M.col++,M.row++,32===M.action&&this._lastEvent&&this._compareEvents(this._lastEvent,M))||!this._protocols[this._activeProtocol].restrict(M))return!1;var k=this._encodings[this._activeEncoding](M);return k&&("DEFAULT"===this._activeEncoding?this._coreService.triggerBinaryEvent(k):this._coreService.triggerDataEvent(k,!0)),this._lastEvent=M,!0},g.prototype.explainEvents=function(M){return{down:!!(1&M),up:!!(2&M),drag:!!(4&M),move:!!(8&M),wheel:!!(16&M)}},g.prototype._compareEvents=function(M,k){return M.col===k.col&&M.row===k.row&&M.button===k.button&&M.action===k.action&&M.ctrl===k.ctrl&&M.alt===k.alt&&M.shift===k.shift},b([E(0,x.IBufferService),E(1,x.ICoreService)],g)}();w.CoreMouseService=v},6975:function(L,w,R){var b,E=this&&this.__extends||(b=function(S,I){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,G){F.__proto__=G}||function(F,G){for(var X in G)Object.prototype.hasOwnProperty.call(G,X)&&(F[X]=G[X])})(S,I)},function(k,S){if("function"!=typeof S&&null!==S)throw new TypeError("Class extends value "+String(S)+" is not a constructor or null");function I(){this.constructor=k}b(k,S),k.prototype=null===S?Object.create(S):(I.prototype=S.prototype,new I)}),x=this&&this.__decorate||function(k,S,I,F){var G,X=arguments.length,W=X<3?S:null===F?F=Object.getOwnPropertyDescriptor(S,I):F;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)W=Reflect.decorate(k,S,I,F);else for(var Y=k.length-1;Y>=0;Y--)(G=k[Y])&&(W=(X<3?G(W):X>3?G(S,I,W):G(S,I))||W);return X>3&&W&&Object.defineProperty(S,I,W),W},Z=this&&this.__param||function(k,S){return function(I,F){S(I,F,k)}};Object.defineProperty(w,"__esModule",{value:!0}),w.CoreService=void 0;var O=R(2585),y=R(8460),T=R(1439),D=R(844),v=Object.freeze({insertMode:!1}),g=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),M=function(k){function S(I,F,G,X){var W=k.call(this)||this;return W._bufferService=F,W._logService=G,W._optionsService=X,W.isCursorInitialized=!1,W.isCursorHidden=!1,W._onData=W.register(new y.EventEmitter),W._onUserInput=W.register(new y.EventEmitter),W._onBinary=W.register(new y.EventEmitter),W._scrollToBottom=I,W.register({dispose:function(){return W._scrollToBottom=void 0}}),W.modes=(0,T.clone)(v),W.decPrivateModes=(0,T.clone)(g),W}return E(S,k),Object.defineProperty(S.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),S.prototype.reset=function(){this.modes=(0,T.clone)(v),this.decPrivateModes=(0,T.clone)(g)},S.prototype.triggerDataEvent=function(I,F){if(void 0===F&&(F=!1),!this._optionsService.options.disableStdin){var G=this._bufferService.buffer;G.ybase!==G.ydisp&&this._scrollToBottom(),F&&this._onUserInput.fire(),this._logService.debug('sending data "'+I+'"',function(){return I.split("").map(function(X){return X.charCodeAt(0)})}),this._onData.fire(I)}},S.prototype.triggerBinaryEvent=function(I){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+I+'"',function(){return I.split("").map(function(F){return F.charCodeAt(0)})}),this._onBinary.fire(I))},x([Z(1,O.IBufferService),Z(2,O.ILogService),Z(3,O.IOptionsService)],S)}(D.Disposable);w.CoreService=M},3730:function(L,w,R){var b=this&&this.__decorate||function(O,y,T,D){var v,g=arguments.length,M=g<3?y:null===D?D=Object.getOwnPropertyDescriptor(y,T):D;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)M=Reflect.decorate(O,y,T,D);else for(var k=O.length-1;k>=0;k--)(v=O[k])&&(M=(g<3?v(M):g>3?v(y,T,M):v(y,T))||M);return g>3&&M&&Object.defineProperty(y,T,M),M},E=this&&this.__param||function(O,y){return function(T,D){y(T,D,O)}};Object.defineProperty(w,"__esModule",{value:!0}),w.DirtyRowService=void 0;var x=R(2585),Z=function(){function O(y){this._bufferService=y,this.clearRange()}return Object.defineProperty(O.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),O.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},O.prototype.markDirty=function(y){y<this._start?this._start=y:y>this._end&&(this._end=y)},O.prototype.markRangeDirty=function(y,T){if(y>T){var D=y;y=T,T=D}y<this._start&&(this._start=y),T>this._end&&(this._end=T)},O.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},b([E(0,x.IBufferService)],O)}();w.DirtyRowService=Z},4348:function(L,w,R){var b=this&&this.__spreadArray||function(y,T,D){if(D||2===arguments.length)for(var v,g=0,M=T.length;g<M;g++)!v&&g in T||(v||(v=Array.prototype.slice.call(T,0,g)),v[g]=T[g]);return y.concat(v||Array.prototype.slice.call(T))};Object.defineProperty(w,"__esModule",{value:!0}),w.InstantiationService=w.ServiceCollection=void 0;var E=R(2585),x=R(8343),Z=function(){function y(){for(var T=[],D=0;D<arguments.length;D++)T[D]=arguments[D];this._entries=new Map;for(var v=0,g=T;v<g.length;v++){var M=g[v];this.set(M[0],M[1])}}return y.prototype.set=function(T,D){var v=this._entries.get(T);return this._entries.set(T,D),v},y.prototype.forEach=function(T){this._entries.forEach(function(D,v){return T(v,D)})},y.prototype.has=function(T){return this._entries.has(T)},y.prototype.get=function(T){return this._entries.get(T)},y}();w.ServiceCollection=Z;var O=function(){function y(){this._services=new Z,this._services.set(E.IInstantiationService,this)}return y.prototype.setService=function(T,D){this._services.set(T,D)},y.prototype.getService=function(T){return this._services.get(T)},y.prototype.createInstance=function(T){for(var D=[],v=1;v<arguments.length;v++)D[v-1]=arguments[v];for(var g=(0,x.getServiceDependencies)(T).sort(function(X,W){return X.index-W.index}),M=[],k=0,S=g;k<S.length;k++){var I=S[k],F=this._services.get(I.id);if(!F)throw new Error("[createInstance] "+T.name+" depends on UNKNOWN service "+I.id+".");M.push(F)}var G=g.length>0?g[0].index:D.length;if(D.length!==G)throw new Error("[createInstance] First service dependency of "+T.name+" at position "+(G+1)+" conflicts with "+D.length+" static arguments");return new(T.bind.apply(T,b([void 0],b(b([],D,!0),M,!0),!1)))},y}();w.InstantiationService=O},7866:function(L,w,R){var b=this&&this.__decorate||function(T,D,v,g){var M,k=arguments.length,S=k<3?D:null===g?g=Object.getOwnPropertyDescriptor(D,v):g;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)S=Reflect.decorate(T,D,v,g);else for(var I=T.length-1;I>=0;I--)(M=T[I])&&(S=(k<3?M(S):k>3?M(D,v,S):M(D,v))||S);return k>3&&S&&Object.defineProperty(D,v,S),S},E=this&&this.__param||function(T,D){return function(v,g){D(v,g,T)}},x=this&&this.__spreadArray||function(T,D,v){if(v||2===arguments.length)for(var g,M=0,k=D.length;M<k;M++)!g&&M in D||(g||(g=Array.prototype.slice.call(D,0,M)),g[M]=D[M]);return T.concat(g||Array.prototype.slice.call(D))};Object.defineProperty(w,"__esModule",{value:!0}),w.LogService=void 0;var Z=R(2585),O={debug:Z.LogLevelEnum.DEBUG,info:Z.LogLevelEnum.INFO,warn:Z.LogLevelEnum.WARN,error:Z.LogLevelEnum.ERROR,off:Z.LogLevelEnum.OFF},y=function(){function T(D){var v=this;this._optionsService=D,this.logLevel=Z.LogLevelEnum.OFF,this._updateLogLevel(),this._optionsService.onOptionChange(function(g){"logLevel"===g&&v._updateLogLevel()})}return T.prototype._updateLogLevel=function(){this.logLevel=O[this._optionsService.options.logLevel]},T.prototype._evalLazyOptionalParams=function(D){for(var v=0;v<D.length;v++)"function"==typeof D[v]&&(D[v]=D[v]())},T.prototype._log=function(D,v,g){this._evalLazyOptionalParams(g),D.call.apply(D,x([console,"xterm.js: "+v],g,!1))},T.prototype.debug=function(D){for(var v=[],g=1;g<arguments.length;g++)v[g-1]=arguments[g];this.logLevel<=Z.LogLevelEnum.DEBUG&&this._log(console.log,D,v)},T.prototype.info=function(D){for(var v=[],g=1;g<arguments.length;g++)v[g-1]=arguments[g];this.logLevel<=Z.LogLevelEnum.INFO&&this._log(console.info,D,v)},T.prototype.warn=function(D){for(var v=[],g=1;g<arguments.length;g++)v[g-1]=arguments[g];this.logLevel<=Z.LogLevelEnum.WARN&&this._log(console.warn,D,v)},T.prototype.error=function(D){for(var v=[],g=1;g<arguments.length;g++)v[g-1]=arguments[g];this.logLevel<=Z.LogLevelEnum.ERROR&&this._log(console.error,D,v)},b([E(0,Z.IOptionsService)],T)}();w.LogService=y},7302:function(L,w,R){var b=this&&this.__assign||function(){return b=Object.assign||function(T){for(var D,v=1,g=arguments.length;v<g;v++)for(var M in D=arguments[v])Object.prototype.hasOwnProperty.call(D,M)&&(T[M]=D[M]);return T},b.apply(this,arguments)};Object.defineProperty(w,"__esModule",{value:!0}),w.OptionsService=w.DEFAULT_OPTIONS=w.DEFAULT_BELL_SOUND=void 0;var E=R(8460),x=R(6114);w.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",w.DEFAULT_OPTIONS={cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,customGlyphs:!0,bellSound:w.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,linkTooltipHoverDuration:500,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowProposedApi:!0,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:x.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",altClickMovesCursor:!0,convertEol:!1,termName:"xterm",cancelEvents:!1};var Z=["normal","bold","100","200","300","400","500","600","700","800","900"],O=["cols","rows"],y=function(){function T(D){for(var v in this._onOptionChange=new E.EventEmitter,this._options=b({},w.DEFAULT_OPTIONS),D)if(v in this._options)try{this._options[v]=this._sanitizeAndValidateOption(v,D[v])}catch(M){console.error(M)}this.options=this._setupOptions(this._options,!1),this.publicOptions=this._setupOptions(this._options,!0)}return Object.defineProperty(T.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!1,configurable:!0}),T.prototype._setupOptions=function(D,v){var g=this,M=b({},D),k=function(F){Object.defineProperty(M,F,{get:function(){if(!(F in w.DEFAULT_OPTIONS))throw new Error('No option with key "'+F+'"');return g._options[F]},set:function(X){if(!(F in w.DEFAULT_OPTIONS))throw new Error('No option with key "'+F+'"');if(v&&O.includes(F))throw new Error('Option "'+F+'" can only be set in the constructor');X=g._sanitizeAndValidateOption(F,X),g._options[F]!==X&&(g._options[F]=X,g._onOptionChange.fire(F))}})};for(var S in M)k(S);return M},T.prototype.setOption=function(D,v){this.publicOptions[D]=v},T.prototype._sanitizeAndValidateOption=function(D,v){switch(D){case"bellStyle":case"cursorStyle":case"rendererType":case"wordSeparator":v||(v=w.DEFAULT_OPTIONS[D]);break;case"fontWeight":case"fontWeightBold":if("number"==typeof v&&1<=v&&v<=1e3)break;v=Z.includes(v)?v:w.DEFAULT_OPTIONS[D];break;case"cursorWidth":v=Math.floor(v);case"lineHeight":case"tabStopWidth":if(v<1)throw new Error(D+" cannot be less than 1, value: "+v);break;case"minimumContrastRatio":v=Math.max(1,Math.min(21,Math.round(10*v)/10));break;case"scrollback":if((v=Math.min(v,4294967295))<0)throw new Error(D+" cannot be less than 0, value: "+v);break;case"fastScrollSensitivity":case"scrollSensitivity":if(v<=0)throw new Error(D+" cannot be less than or equal to 0, value: "+v);case"rows":case"cols":if(!v&&0!==v)throw new Error(D+" must be numeric, value: "+v)}return v},T.prototype.getOption=function(D){return this.publicOptions[D]},T}();w.OptionsService=y},8343:function(L,w){function R(b,E,x){E.di$target===E?E.di$dependencies.push({id:b,index:x}):(E.di$dependencies=[{id:b,index:x}],E.di$target=E)}Object.defineProperty(w,"__esModule",{value:!0}),w.createDecorator=w.getServiceDependencies=w.serviceRegistry=void 0,w.serviceRegistry=new Map,w.getServiceDependencies=function(b){return b.di$dependencies||[]},w.createDecorator=function(b){if(w.serviceRegistry.has(b))return w.serviceRegistry.get(b);var E=function x(Z,O,y){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");R(x,Z,y)};return E.toString=function(){return b},w.serviceRegistry.set(b,E),E}},2585:function(L,w,R){Object.defineProperty(w,"__esModule",{value:!0}),w.IUnicodeService=w.LogLevelEnum=w.IOptionsService=w.ILogService=w.IInstantiationService=w.IDirtyRowService=w.ICharsetService=w.ICoreService=w.ICoreMouseService=w.IBufferService=void 0;var b,E=R(8343);w.IBufferService=(0,E.createDecorator)("BufferService"),w.ICoreMouseService=(0,E.createDecorator)("CoreMouseService"),w.ICoreService=(0,E.createDecorator)("CoreService"),w.ICharsetService=(0,E.createDecorator)("CharsetService"),w.IDirtyRowService=(0,E.createDecorator)("DirtyRowService"),w.IInstantiationService=(0,E.createDecorator)("InstantiationService"),w.ILogService=(0,E.createDecorator)("LogService"),w.IOptionsService=(0,E.createDecorator)("OptionsService"),(b=w.LogLevelEnum||(w.LogLevelEnum={}))[b.DEBUG=0]="DEBUG",b[b.INFO=1]="INFO",b[b.WARN=2]="WARN",b[b.ERROR=3]="ERROR",b[b.OFF=4]="OFF",w.IUnicodeService=(0,E.createDecorator)("UnicodeService")},1480:function(L,w,R){Object.defineProperty(w,"__esModule",{value:!0}),w.UnicodeService=void 0;var b=R(8460),E=R(225),x=function(){function Z(){this._providers=Object.create(null),this._active="",this._onChange=new b.EventEmitter;var O=new E.UnicodeV6;this.register(O),this._active=O.version,this._activeProvider=O}return Object.defineProperty(Z.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(Z.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(Z.prototype,"activeVersion",{get:function(){return this._active},set:function(y){if(!this._providers[y])throw new Error('unknown Unicode version "'+y+'"');this._active=y,this._activeProvider=this._providers[y],this._onChange.fire(y)},enumerable:!1,configurable:!0}),Z.prototype.register=function(O){this._providers[O.version]=O},Z.prototype.wcwidth=function(O){return this._activeProvider.wcwidth(O)},Z.prototype.getStringCellWidth=function(O){for(var y=0,T=O.length,D=0;D<T;++D){var v=O.charCodeAt(D);if(55296<=v&&v<=56319){if(++D>=T)return y+this.wcwidth(v);var g=O.charCodeAt(D);56320<=g&&g<=57343?v=1024*(v-55296)+g-56320+65536:y+=this.wcwidth(g)}y+=this.wcwidth(v)}return y},Z}();w.UnicodeService=x}},f={};function B(V){var L=f[V];if(void 0!==L)return L.exports;var w=f[V]={exports:{}};return j[V].call(w.exports,w,w.exports,B),w.exports}var U={};return function(){var V=U;Object.defineProperty(V,"__esModule",{value:!0}),V.Terminal=void 0;var L=B(3236),w=B(9042),R=B(7975),b=B(7090),E=B(5741),x=B(8285),Z=function(){function O(y){this._core=new L.Terminal(y),this._addonManager=new E.AddonManager}return O.prototype._checkProposedApi=function(){if(!this._core.optionsService.options.allowProposedApi)throw new Error("You must set the allowProposedApi option to true to use proposed API")},Object.defineProperty(O.prototype,"onBell",{get:function(){return this._core.onBell},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onData",{get:function(){return this._core.onData},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"element",{get:function(){return this._core.element},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"parser",{get:function(){return this._checkProposedApi(),this._parser||(this._parser=new R.ParserApi(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"unicode",{get:function(){return this._checkProposedApi(),new b.UnicodeApi(this._core)},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"rows",{get:function(){return this._core.rows},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"cols",{get:function(){return this._core.cols},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"buffer",{get:function(){return this._checkProposedApi(),this._buffer||(this._buffer=new x.BufferNamespaceApi(this._core)),this._buffer},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"markers",{get:function(){return this._checkProposedApi(),this._core.markers},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"modes",{get:function(){var T=this._core.coreService.decPrivateModes,D="none";switch(this._core.coreMouseService.activeProtocol){case"X10":D="x10";break;case"VT200":D="vt200";break;case"DRAG":D="drag";break;case"ANY":D="any"}return{applicationCursorKeysMode:T.applicationCursorKeys,applicationKeypadMode:T.applicationKeypad,bracketedPasteMode:T.bracketedPasteMode,insertMode:this._core.coreService.modes.insertMode,mouseTrackingMode:D,originMode:T.origin,reverseWraparoundMode:T.reverseWraparound,sendFocusMode:T.sendFocus,wraparoundMode:T.wraparound}},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"options",{get:function(){return this._core.options},enumerable:!1,configurable:!0}),O.prototype.blur=function(){this._core.blur()},O.prototype.focus=function(){this._core.focus()},O.prototype.resize=function(y,T){this._verifyIntegers(y,T),this._core.resize(y,T)},O.prototype.open=function(y){this._core.open(y)},O.prototype.attachCustomKeyEventHandler=function(y){this._core.attachCustomKeyEventHandler(y)},O.prototype.registerLinkMatcher=function(y,T,D){return this._checkProposedApi(),this._core.registerLinkMatcher(y,T,D)},O.prototype.deregisterLinkMatcher=function(y){this._checkProposedApi(),this._core.deregisterLinkMatcher(y)},O.prototype.registerLinkProvider=function(y){return this._checkProposedApi(),this._core.registerLinkProvider(y)},O.prototype.registerCharacterJoiner=function(y){return this._checkProposedApi(),this._core.registerCharacterJoiner(y)},O.prototype.deregisterCharacterJoiner=function(y){this._checkProposedApi(),this._core.deregisterCharacterJoiner(y)},O.prototype.registerMarker=function(y){return this._checkProposedApi(),this._verifyIntegers(y),this._core.addMarker(y)},O.prototype.addMarker=function(y){return this.registerMarker(y)},O.prototype.hasSelection=function(){return this._core.hasSelection()},O.prototype.select=function(y,T,D){this._verifyIntegers(y,T,D),this._core.select(y,T,D)},O.prototype.getSelection=function(){return this._core.getSelection()},O.prototype.getSelectionPosition=function(){return this._core.getSelectionPosition()},O.prototype.clearSelection=function(){this._core.clearSelection()},O.prototype.selectAll=function(){this._core.selectAll()},O.prototype.selectLines=function(y,T){this._verifyIntegers(y,T),this._core.selectLines(y,T)},O.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},O.prototype.scrollLines=function(y){this._verifyIntegers(y),this._core.scrollLines(y)},O.prototype.scrollPages=function(y){this._verifyIntegers(y),this._core.scrollPages(y)},O.prototype.scrollToTop=function(){this._core.scrollToTop()},O.prototype.scrollToBottom=function(){this._core.scrollToBottom()},O.prototype.scrollToLine=function(y){this._verifyIntegers(y),this._core.scrollToLine(y)},O.prototype.clear=function(){this._core.clear()},O.prototype.write=function(y,T){this._core.write(y,T)},O.prototype.writeUtf8=function(y,T){this._core.write(y,T)},O.prototype.writeln=function(y,T){this._core.write(y),this._core.write("\r\n",T)},O.prototype.paste=function(y){this._core.paste(y)},O.prototype.getOption=function(y){return this._core.optionsService.getOption(y)},O.prototype.setOption=function(y,T){this._core.optionsService.setOption(y,T)},O.prototype.refresh=function(y,T){this._verifyIntegers(y,T),this._core.refresh(y,T)},O.prototype.reset=function(){this._core.reset()},O.prototype.clearTextureAtlas=function(){this._core.clearTextureAtlas()},O.prototype.loadAddon=function(y){return this._addonManager.loadAddon(this,y)},Object.defineProperty(O,"strings",{get:function(){return w},enumerable:!1,configurable:!0}),O.prototype._verifyIntegers=function(){for(var y=[],T=0;T<arguments.length;T++)y[T]=arguments[T];for(var D=0,v=y;D<v.length;D++){var g=v[D];if(g===1/0||isNaN(g)||g%1!=0)throw new Error("This API only accepts integers")}},O}();V.Terminal=Z}(),U}()},28888:function(ue,j,f){"use strict";f.d(j,{o:function(){return w}});var B=f(18967),U=f(14105),V=f(37810),L=f(27807),w=function(){function R(){(0,B.Z)(this,R),this.data=[],this.dataChange=new V.X([]),this.itemUpdated=new L.xQ}return(0,U.Z)(R,[{key:"getItems",value:function(){return this.data}},{key:"add",value:function(E){this.findIndex(E)>=0?this.update(E):(this.data.push(E),this.dataChange.next(this.data))}},{key:"set",value:function(E){var x=this;E.forEach(function(O){var y=x.findIndex(O);if(y>=0){var T=Object.assign(x.data[y],O);x.data[y]=T}else x.data.push(O)}),this.data.filter(function(O){return 0===E.filter(function(y){return x.getItemKey(y)===x.getItemKey(O)}).length}).forEach(function(O){return x.remove(O)}),this.dataChange.next(this.data)}},{key:"get",value:function(E){var x=this,Z=this.data.findIndex(function(O){return x.getItemKey(O)===E});if(Z>=0)return this.data[Z]}},{key:"update",value:function(E){var x=this.findIndex(E);if(x>=0){var Z=Object.assign(this.data[x],E);this.data[x]=Z,this.dataChange.next(this.data),this.itemUpdated.next(Z)}}},{key:"remove",value:function(E){var x=this.findIndex(E);x>=0&&(this.data.splice(x,1),this.dataChange.next(this.data))}},{key:"changes",get:function(){return this.dataChange}},{key:"itemChanged",get:function(){return this.itemUpdated}},{key:"clear",value:function(){this.data=[],this.dataChange.next(this.data)}},{key:"findIndex",value:function(E){var x=this;return this.data.findIndex(function(Z){return x.getItemKey(Z)===x.getItemKey(E)})}}]),R}()},41999:function(ue,j,f){"use strict";f.d(j,{F:function(){return b}});var B=f(18967),U=f(14105),V=f(10509),L=f(97154),w=f(28888),R=f(83668),b=function(){var E=function(x){(0,V.Z)(O,x);var Z=(0,L.Z)(O);function O(){return(0,B.Z)(this,O),Z.apply(this,arguments)}return(0,U.Z)(O,[{key:"getItemKey",value:function(T){return T.link_id}}]),O}(w.o);return E.\u0275fac=function(){var x;return function(O){return(x||(x=R.n5z(E)))(O||E)}}(),E.\u0275prov=R.Yz7({token:E,factory:E.\u0275fac}),E}()},52094:function(ue,j,f){"use strict";f.d(j,{G:function(){return b}});var B=f(18967),U=f(14105),V=f(10509),L=f(97154),w=f(28888),R=f(83668),b=function(){var E=function(x){(0,V.Z)(O,x);var Z=(0,L.Z)(O);function O(){return(0,B.Z)(this,O),Z.apply(this,arguments)}return(0,U.Z)(O,[{key:"getItemKey",value:function(T){return T.node_id}}]),O}(w.o);return E.\u0275fac=function(){var x;return function(O){return(x||(x=R.n5z(E)))(O||E)}}(),E.\u0275prov=R.Yz7({token:E,factory:E.\u0275fac}),E}()},64097:function(ue,j,f){"use strict";f.d(j,{X:function(){return w}});var B=f(18967),U=f(14105),V=f(83668),L=f(16775),w=function(){var R=function(){function b(E){(0,B.Z)(this,b),this.httpServer=E}return(0,U.Z)(b,[{key:"getComputes",value:function(x){return this.httpServer.get(x,"/computes")}},{key:"getUploadPath",value:function(x,Z,O){return"".concat(x.protocol,"//").concat(x.host,":").concat(x.port,"/v2/").concat(Z,"/images/").concat(O)}},{key:"getStatistics",value:function(x){return this.httpServer.get(x,"/statistics")}}]),b}();return R.\u0275fac=function(E){return new(E||R)(V.LFG(L.wh))},R.\u0275prov=V.Yz7({token:R,factory:R.\u0275fac}),R}()},16775:function(ue,j,f){"use strict";f.d(j,{gc:function(){return O},wh:function(){return y}});var B=f(18967),U=f(14105),V=f(10509),L=f(97154),w=f(89750),R=f(83668),b=f(43334),E=f(67254),x=f(44522),Z=function(T){(0,V.Z)(v,T);var D=(0,L.Z)(v);function v(g){return(0,B.Z)(this,v),D.call(this,g)}return(0,U.Z)(v,null,[{key:"fromError",value:function(M,k){var S=new v(M);return S.originalError=k,S}}]),v}((0,w.Z)(Error)),O=function(){var T=function(){function D(){(0,B.Z)(this,D)}return(0,U.Z)(D,[{key:"handleError",value:function(g){var M=g;return"HttpErrorResponse"===g.name&&0===g.status&&(M=Z.fromError("Server is unreachable",g)),(0,b._)(M)}}]),D}();return T.\u0275fac=function(v){return new(v||T)},T.\u0275prov=R.Yz7({token:T,factory:T.\u0275fac}),T}(),y=function(){var T=function(){function D(v,g){(0,B.Z)(this,D),this.http=v,this.errorHandler=g,this.requestsNotificationEmitter=new R.vpe}return(0,U.Z)(D,[{key:"get",value:function(g,M,k){k=this.getJsonOptions(k);var S=this.getOptionsForServer(g,M,k);return this.requestsNotificationEmitter.emit("GET ".concat(S.url)),this.http.get(S.url,S.options).pipe((0,E.K)(this.errorHandler.handleError))}},{key:"getText",value:function(g,M,k){k=this.getTextOptions(k);var S=this.getOptionsForServer(g,M,k);return this.requestsNotificationEmitter.emit("GET ".concat(S.url)),this.http.get(S.url,S.options).pipe((0,E.K)(this.errorHandler.handleError))}},{key:"post",value:function(g,M,k,S){S=this.getJsonOptions(S);var I=this.getOptionsForServer(g,M,S);return this.requestsNotificationEmitter.emit("POST ".concat(I.url)),this.http.post(I.url,k,I.options).pipe((0,E.K)(this.errorHandler.handleError))}},{key:"put",value:function(g,M,k,S){S=this.getJsonOptions(S);var I=this.getOptionsForServer(g,M,S);return this.requestsNotificationEmitter.emit("PUT ".concat(I.url)),this.http.put(I.url,k,I.options).pipe((0,E.K)(this.errorHandler.handleError))}},{key:"delete",value:function(g,M,k){k=this.getJsonOptions(k);var S=this.getOptionsForServer(g,M,k);return this.requestsNotificationEmitter.emit("DELETE ".concat(S.url)),this.http.delete(S.url,S.options).pipe((0,E.K)(this.errorHandler.handleError))}},{key:"patch",value:function(g,M,k,S){S=this.getJsonOptions(S);var I=this.getOptionsForServer(g,M,S);return this.http.patch(I.url,k,I.options).pipe((0,E.K)(this.errorHandler.handleError))}},{key:"head",value:function(g,M,k){k=this.getJsonOptions(k);var S=this.getOptionsForServer(g,M,k);return this.http.head(S.url,S.options).pipe((0,E.K)(this.errorHandler.handleError))}},{key:"options",value:function(g,M,k){k=this.getJsonOptions(k);var S=this.getOptionsForServer(g,M,k);return this.http.options(S.url,S.options).pipe((0,E.K)(this.errorHandler.handleError))}},{key:"getJsonOptions",value:function(g){return g||{responseType:"json"}}},{key:"getTextOptions",value:function(g){return g||{responseType:"text"}}},{key:"getOptionsForServer",value:function(g,M,k){if(g.host&&g.port?(g.protocol||(g.protocol=location.protocol),M="".concat(g.protocol,"//").concat(g.host,":").concat(g.port,"/v2").concat(M)):M="/v2".concat(M),k.headers||(k.headers={}),"basic"===g.authorization){var S=btoa("".concat(g.login,":").concat(g.password));k.headers.Authorization="Basic ".concat(S)}return{url:M,options:k}}}]),D}();return T.\u0275fac=function(v){return new(v||T)(R.LFG(x.eN),R.LFG(O))},T.\u0275prov=R.Yz7({token:T,factory:T.\u0275fac}),T}()},81856:function(ue,j,f){"use strict";f.d(j,{Y:function(){return E}});var B=f(18967),U=f(14105),V=f(27807),L=f(83668),w=f(16775),R=f(82889),b=f(72929),E=function(){var x=function(){function Z(O,y,T){(0,B.Z)(this,Z),this.httpServer=O,this.settingsService=y,this.recentlyOpenedProjectService=T,this.projectListSubject=new V.xQ}return(0,U.Z)(Z,[{key:"projectListUpdated",value:function(){this.projectListSubject.next(!0)}},{key:"get",value:function(y,T){return this.httpServer.get(y,"/projects/".concat(T))}},{key:"open",value:function(y,T){return this.httpServer.post(y,"/projects/".concat(T,"/open"),{})}},{key:"close",value:function(y,T){return this.recentlyOpenedProjectService.removeData(),this.httpServer.post(y,"/projects/".concat(T,"/close"),{})}},{key:"list",value:function(y){return this.httpServer.get(y,"/projects")}},{key:"nodes",value:function(y,T){return this.httpServer.get(y,"/projects/".concat(T,"/nodes"))}},{key:"links",value:function(y,T){return this.httpServer.get(y,"/projects/".concat(T,"/links"))}},{key:"drawings",value:function(y,T){return this.httpServer.get(y,"/projects/".concat(T,"/drawings"))}},{key:"add",value:function(y,T,D){return this.httpServer.post(y,"/projects",{name:T,project_id:D})}},{key:"update",value:function(y,T){return this.httpServer.put(y,"/projects/".concat(T.project_id),{auto_close:T.auto_close,auto_open:T.auto_open,auto_start:T.auto_start,drawing_grid_size:T.drawing_grid_size,grid_size:T.grid_size,name:T.name,scene_width:T.scene_width,scene_height:T.scene_height,show_interface_labels:T.show_interface_labels})}},{key:"delete",value:function(y,T){return this.httpServer.delete(y,"/projects/".concat(T))}},{key:"getUploadPath",value:function(y,T,D){return"".concat(y.protocol,"//").concat(y.host,":").concat(y.port,"/v2/projects/").concat(T,"/import?name=").concat(D)}},{key:"getExportPath",value:function(y,T){return"".concat(y.protocol,"//").concat(y.host,":").concat(y.port,"/v2/projects/").concat(T.project_id,"/export")}},{key:"export",value:function(y,T){return this.httpServer.get(y,"/projects/".concat(T,"/export"))}},{key:"getStatistics",value:function(y,T){return this.httpServer.get(y,"/projects/".concat(T,"/stats"))}},{key:"duplicate",value:function(y,T,D){return this.httpServer.post(y,"/projects/".concat(T,"/duplicate"),{name:D})}},{key:"isReadOnly",value:function(y){return!!y.readonly&&y.readonly}}]),Z}();return x.\u0275fac=function(O){return new(O||x)(L.LFG(w.wh),L.LFG(R.g),L.LFG(b.p))},x.\u0275prov=L.Yz7({token:x,factory:x.\u0275fac}),x}()},72929:function(ue,j,f){"use strict";f.d(j,{p:function(){return L}});var B=f(18967),U=f(14105),V=f(83668),L=function(){var w=function(){function R(){(0,B.Z)(this,R)}return(0,U.Z)(R,[{key:"setServerId",value:function(E){this.serverId=E}},{key:"setProjectId",value:function(E){this.projectId=E}},{key:"setServerIdProjectList",value:function(E){this.serverIdProjectList=E}},{key:"getServerId",value:function(){return this.serverId}},{key:"getProjectId",value:function(){return this.projectId}},{key:"getServerIdProjectList",value:function(){return this.serverIdProjectList}},{key:"removeData",value:function(){this.serverId="",this.projectId=""}}]),R}();return w.\u0275fac=function(b){return new(b||w)},w.\u0275prov=V.Yz7({token:w,factory:w.\u0275fac}),w}()},82889:function(ue,j,f){"use strict";f.d(j,{g:function(){return L}});var B=f(18967),U=f(14105),V=f(83668),L=function(){var w=function(){function R(){(0,B.Z)(this,R),this.settings={crash_reports:!0,console_command:void 0,anonymous_statistics:!0},this.reportsSettings="crash_reports",this.consoleSettings="console_command",this.statisticsSettings="statistics_command",this.getItem(this.reportsSettings)&&(this.settings.crash_reports="true"===this.getItem(this.reportsSettings)),this.getItem(this.consoleSettings)&&(this.settings.console_command=this.getItem(this.consoleSettings)),this.getItem(this.statisticsSettings)&&(this.settings.anonymous_statistics="true"===this.getItem(this.statisticsSettings))}return(0,U.Z)(R,[{key:"setReportsSettings",value:function(E){this.settings.crash_reports=E,this.removeItem(this.reportsSettings),this.setItem(this.reportsSettings,E?"true":"false")}},{key:"setStatisticsSettings",value:function(E){this.settings.anonymous_statistics=E,this.removeItem(this.statisticsSettings),this.setItem(this.statisticsSettings,E?"true":"false")}},{key:"getReportsSettings",value:function(){return"true"===this.getItem(this.reportsSettings)}},{key:"getStatisticsSettings",value:function(){return"true"===this.getItem(this.statisticsSettings)}},{key:"setConsoleSettings",value:function(E){this.settings.console_command=E,this.removeItem(this.consoleSettings),this.setItem(this.consoleSettings,E)}},{key:"getConsoleSettings",value:function(){return this.getItem(this.consoleSettings)}},{key:"removeItem",value:function(E){localStorage.removeItem(E)}},{key:"setItem",value:function(E,x){localStorage.setItem(E,x)}},{key:"getItem",value:function(E){return localStorage.getItem(E)}},{key:"getAll",value:function(){return this.settings}},{key:"setAll",value:function(E){this.settings=E,this.setConsoleSettings(E.console_command),this.setReportsSettings(E.crash_reports),this.setStatisticsSettings(E.anonymous_statistics)}}]),R}();return w.\u0275fac=function(b){return new(b||w)},w.\u0275prov=V.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w}()},2856:function(ue,j,f){"use strict";f.d(j,{f:function(){return w}});var B=f(18967),U=f(14105),V=f(83668),L=f(37810),w=function(){var R=function(){function b(){(0,B.Z)(this,b),this._darkMode$=new L.X(!1),this.darkMode$=this._darkMode$.asObservable(),this.themeChanged=new V.vpe,this.savedTheme="dark",localStorage.getItem("theme")||localStorage.setItem("theme","dark"),this.savedTheme=localStorage.getItem("theme")}return(0,U.Z)(b,[{key:"getActualTheme",value:function(){return this.savedTheme}},{key:"setDarkMode",value:function(x){x?(this.savedTheme="dark",this.themeChanged.emit("dark-theme"),localStorage.setItem("theme","dark")):(this.savedTheme="light",this.themeChanged.emit("light-theme"),localStorage.setItem("theme","light"))}}]),b}();return R.\u0275fac=function(E){return new(E||R)},R.\u0275prov=V.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R}()},33073:function(ue,j,f){"use strict";var B={};f.r(B),f.d(B,{active:function(){return nY},arc:function(){return kte},area:function(){return L9},areaRadial:function(){return H9},ascending:function(){return Yi},axisBottom:function(){return zB},axisLeft:function(){return F3},axisRight:function(){return L3},axisTop:function(){return Z3},bisect:function(){return ac},bisectLeft:function(){return nC},bisectRight:function(){return tC},bisector:function(){return Xs},brush:function(){return pY},brushSelection:function(){return uY},brushX:function(){return cY},brushY:function(){return dY},chord:function(){return hY},clientPoint:function(){return d_},cluster:function(){return EK},color:function(){return ed},contourDensity:function(){return HY},contours:function(){return Y4},create:function(){return bR},creator:function(){return i_},cross:function(){return ap},csvFormat:function(){return QY},csvFormatRows:function(){return KY},csvParse:function(){return YY},csvParseRows:function(){return JY},cubehelix:function(){return mo},curveBasis:function(){return jte},curveBasisClosed:function(){return qte},curveBasisOpen:function(){return zte},curveBundle:function(){return Wte},curveCardinal:function(){return Gte},curveCardinalClosed:function(){return Yte},curveCardinalOpen:function(){return Jte},curveCatmullRom:function(){return Qte},curveCatmullRomClosed:function(){return Kte},curveCatmullRomOpen:function(){return Xte},curveLinear:function(){return eA},curveLinearClosed:function(){return $te},curveMonotoneX:function(){return ene},curveMonotoneY:function(){return tne},curveNatural:function(){return nne},curveStep:function(){return rne},curveStepAfter:function(){return ane},curveStepBefore:function(){return ine},customEvent:function(){return ym},descending:function(){return w3},deviation:function(){return Ef},dispatch:function(){return Df},drag:function(){return Nf},dragDisable:function(){return f_},dragEnable:function(){return h_},dsvFormat:function(){return iN},easeBack:function(){return i8},easeBackIn:function(){return TJ},easeBackInOut:function(){return i8},easeBackOut:function(){return kJ},easeBounce:function(){return jC},easeBounceIn:function(){return CJ},easeBounceInOut:function(){return SJ},easeBounceOut:function(){return jC},easeCircle:function(){return r8},easeCircleIn:function(){return dJ},easeCircleInOut:function(){return r8},easeCircleOut:function(){return pJ},easeCubic:function(){return VR},easeCubicIn:function(){return KG},easeCubicInOut:function(){return VR},easeCubicOut:function(){return XG},easeElastic:function(){return a8},easeElasticIn:function(){return wJ},easeElasticInOut:function(){return xJ},easeElasticOut:function(){return a8},easeExp:function(){return n8},easeExpIn:function(){return uJ},easeExpInOut:function(){return n8},easeExpOut:function(){return cJ},easeLinear:function(){return nJ},easePoly:function(){return X4},easePolyIn:function(){return aJ},easePolyInOut:function(){return X4},easePolyOut:function(){return oJ},easeQuad:function(){return K4},easeQuadIn:function(){return rJ},easeQuadInOut:function(){return K4},easeQuadOut:function(){return iJ},easeSin:function(){return t8},easeSinIn:function(){return sJ},easeSinInOut:function(){return t8},easeSinOut:function(){return lJ},entries:function(){return AY},event:function(){return xn},extent:function(){return cm},forceCenter:function(){return EJ},forceCollide:function(){return WJ},forceLink:function(){return YJ},forceManyBody:function(){return eQ},forceRadial:function(){return tQ},forceSimulation:function(){return $J},forceX:function(){return nQ},forceY:function(){return rQ},format:function(){return KE},formatDefaultLocale:function(){return m8},formatLocale:function(){return h8},formatPrefix:function(){return pN},formatSpecifier:function(){return qC},geoAlbers:function(){return P7},geoAlbersUsa:function(){return sK},geoArea:function(){return pQ},geoAzimuthalEqualArea:function(){return lK},geoAzimuthalEqualAreaRaw:function(){return QN},geoAzimuthalEquidistant:function(){return uK},geoAzimuthalEquidistantRaw:function(){return KN},geoBounds:function(){return vQ},geoCentroid:function(){return SQ},geoCircle:function(){return TQ},geoClipAntimeridian:function(){return AN},geoClipCircle:function(){return $8},geoClipExtent:function(){return DQ},geoClipRectangle:function(){return bM},geoConicConformal:function(){return dK},geoConicConformalRaw:function(){return N7},geoConicEqualArea:function(){return OM},geoConicEqualAreaRaw:function(){return O7},geoConicEquidistant:function(){return fK},geoConicEquidistantRaw:function(){return Z7},geoContains:function(){return LQ},geoDistance:function(){return QC},geoEquirectangular:function(){return pK},geoEquirectangularRaw:function(){return o1},geoGnomonic:function(){return hK},geoGnomonicRaw:function(){return XN},geoGraticule:function(){return c7},geoGraticule10:function(){return FQ},geoIdentity:function(){return mK},geoInterpolate:function(){return BQ},geoLength:function(){return e7},geoMercator:function(){return cK},geoMercatorRaw:function(){return a1},geoNaturalEarth1:function(){return vK},geoNaturalEarth1Raw:function(){return $N},geoOrthographic:function(){return gK},geoOrthographicRaw:function(){return eZ},geoPath:function(){return KQ},geoProjection:function(){return mp},geoProjectionMutator:function(){return YN},geoRotation:function(){return z8},geoStereographic:function(){return _K},geoStereographicRaw:function(){return tZ},geoStream:function(){return mc},geoTransform:function(){return XQ},geoTransverseMercator:function(){return yK},geoTransverseMercatorRaw:function(){return nZ},hcl:function(){return qn},hierarchy:function(){return rZ},histogram:function(){return Br},hsl:function(){return AC},interpolate:function(){return IC},interpolateArray:function(){return EE},interpolateBasis:function(){return km},interpolateBasisClosed:function(){return DC},interpolateBlues:function(){return Hee},interpolateBrBG:function(){return bee},interpolateBuGn:function(){return Aee},interpolateBuPu:function(){return Dee},interpolateCool:function(){return Jee},interpolateCubehelix:function(){return XW},interpolateCubehelixDefault:function(){return Gee},interpolateCubehelixLong:function(){return AE},interpolateDate:function(){return u4},interpolateGnBu:function(){return Oee},interpolateGreens:function(){return Vee},interpolateGreys:function(){return jee},interpolateHcl:function(){return QW},interpolateHclLong:function(){return KW},interpolateHsl:function(){return GW},interpolateHslLong:function(){return YW},interpolateInferno:function(){return $ee},interpolateLab:function(){return JW},interpolateMagma:function(){return Xee},interpolateNumber:function(){return Kl},interpolateObject:function(){return c4},interpolateOrRd:function(){return Pee},interpolateOranges:function(){return Wee},interpolatePRGn:function(){return Cee},interpolatePiYG:function(){return See},interpolatePlasma:function(){return ete},interpolatePuBu:function(){return Ree},interpolatePuBuGn:function(){return Iee},interpolatePuOr:function(){return Tee},interpolatePuRd:function(){return Nee},interpolatePurples:function(){return qee},interpolateRainbow:function(){return Qee},interpolateRdBu:function(){return kee},interpolateRdGy:function(){return wee},interpolateRdPu:function(){return Zee},interpolateRdYlBu:function(){return xee},interpolateRdYlGn:function(){return Eee},interpolateReds:function(){return zee},interpolateRgb:function(){return wm},interpolateRgbBasis:function(){return PC},interpolateRgbBasisClosed:function(){return MR},interpolateRound:function(){return d4},interpolateSpectral:function(){return Mee},interpolateString:function(){return OR},interpolateTransformCss:function(){return v4},interpolateTransformSvg:function(){return g4},interpolateViridis:function(){return Kee},interpolateWarm:function(){return Yee},interpolateYlGn:function(){return Fee},interpolateYlGnBu:function(){return Lee},interpolateYlOrBr:function(){return Bee},interpolateYlOrRd:function(){return Uee},interpolateZoom:function(){return b4},interrupt:function(){return Mm},interval:function(){return mne},isoFormat:function(){return nee},isoParse:function(){return aee},keys:function(){return EY},lab:function(){return We},line:function(){return tA},lineRadial:function(){return U9},linkHorizontal:function(){return Ite},linkRadial:function(){return Nte},linkVertical:function(){return Rte},local:function(){return xC},map:function(){return Rf},matcher:function(){return hC},max:function(){return Yx},mean:function(){return x3},median:function(){return E3},merge:function(){return oC},min:function(){return Jx},mouse:function(){return oo},namespace:function(){return hm},namespaces:function(){return fC},nest:function(){return TY},now:function(){return y_},pack:function(){return XK},packEnclose:function(){return F7},packSiblings:function(){return JK},pairs:function(){return rC},partition:function(){return $K},path:function(){return hc},permute:function(){return Yl},pie:function(){return Ete},pointRadial:function(){return k1},polygonArea:function(){return hX},polygonCentroid:function(){return mX},polygonContains:function(){return yX},polygonHull:function(){return _X},polygonLength:function(){return bX},precisionFixed:function(){return v8},precisionPrefix:function(){return g8},precisionRound:function(){return _8},quadtree:function(){return YE},quantile:function(){return r_},quantize:function(){return $W},radialArea:function(){return H9},radialLine:function(){return U9},randomBates:function(){return TX},randomExponential:function(){return kX},randomIrwinHall:function(){return tU},randomLogNormal:function(){return SX},randomNormal:function(){return eU},randomUniform:function(){return CX},range:function(){return Os},rgb:function(){return v_},ribbon:function(){return SY},scaleBand:function(){return dZ},scaleIdentity:function(){return sU},scaleImplicit:function(){return uZ},scaleLinear:function(){return oU},scaleLog:function(){return pU},scaleOrdinal:function(){return cZ},scalePoint:function(){return wX},scalePow:function(){return hZ},scaleQuantile:function(){return fU},scaleQuantize:function(){return hU},scaleSequential:function(){return o9},scaleSqrt:function(){return RX},scaleThreshold:function(){return mU},scaleTime:function(){return uee},scaleUtc:function(){return cee},scan:function(){return M3},schemeAccent:function(){return pee},schemeBlues:function(){return M9},schemeBrBG:function(){return s9},schemeBuGn:function(){return v9},schemeBuPu:function(){return g9},schemeCategory10:function(){return dee},schemeDark2:function(){return fee},schemeGnBu:function(){return _9},schemeGreens:function(){return A9},schemeGreys:function(){return D9},schemeOrRd:function(){return y9},schemeOranges:function(){return I9},schemePRGn:function(){return l9},schemePaired:function(){return hee},schemePastel1:function(){return mee},schemePastel2:function(){return vee},schemePiYG:function(){return u9},schemePuBu:function(){return C9},schemePuBuGn:function(){return b9},schemePuOr:function(){return c9},schemePuRd:function(){return S9},schemePurples:function(){return O9},schemeRdBu:function(){return d9},schemeRdGy:function(){return p9},schemeRdPu:function(){return T9},schemeRdYlBu:function(){return f9},schemeRdYlGn:function(){return h9},schemeReds:function(){return P9},schemeSet1:function(){return gee},schemeSet2:function(){return _ee},schemeSet3:function(){return yee},schemeSpectral:function(){return m9},schemeYlGn:function(){return w9},schemeYlGnBu:function(){return k9},schemeYlOrBr:function(){return x9},schemeYlOrRd:function(){return E9},select:function(){return $r},selectAll:function(){return Sm},selection:function(){return sc},selector:function(){return a_},selectorAll:function(){return o_},set:function(){return xY},shuffle:function(){return A3},stack:function(){return sne},stackOffsetDiverging:function(){return une},stackOffsetExpand:function(){return lne},stackOffsetNone:function(){return F_},stackOffsetSilhouette:function(){return cne},stackOffsetWiggle:function(){return dne},stackOrderAscending:function(){return cH},stackOrderDescending:function(){return pne},stackOrderInsideOut:function(){return fne},stackOrderNone:function(){return B_},stackOrderReverse:function(){return hne},stratify:function(){return rX},style:function(){return Of},sum:function(){return D3},symbol:function(){return Vte},symbolCircle:function(){return AZ},symbolCross:function(){return V9},symbolDiamond:function(){return q9},symbolSquare:function(){return G9},symbolStar:function(){return W9},symbolTriangle:function(){return Y9},symbolWye:function(){return J9},symbols:function(){return Hte},thresholdFreedmanDiaconis:function(){return VB},thresholdScott:function(){return jB},thresholdSturges:function(){return Gx},tickIncrement:function(){return sp},tickStep:function(){return Af},ticks:function(){return dm},timeDay:function(){return WM},timeDays:function(){return LX},timeFormat:function(){return yZ},timeFormatDefaultLocale:function(){return r9},timeFormatLocale:function(){return zU},timeFriday:function(){return MU},timeFridays:function(){return VX},timeHour:function(){return kU},timeHours:function(){return ZX},timeInterval:function(){return Ho},timeMillisecond:function(){return VM},timeMilliseconds:function(){return vU},timeMinute:function(){return SU},timeMinutes:function(){return NX},timeMonday:function(){return d1},timeMondays:function(){return FX},timeMonth:function(){return PU},timeMonths:function(){return qX},timeParse:function(){return n9},timeSaturday:function(){return AU},timeSaturdays:function(){return jX},timeSecond:function(){return zM},timeSeconds:function(){return bU},timeSunday:function(){return c1},timeSundays:function(){return DU},timeThursday:function(){return p1},timeThursdays:function(){return HX},timeTuesday:function(){return xU},timeTuesdays:function(){return BX},timeWednesday:function(){return EU},timeWednesdays:function(){return UX},timeWeek:function(){return c1},timeWeeks:function(){return DU},timeYear:function(){return Bm},timeYears:function(){return zX},timeout:function(){return ZR},timer:function(){return IE},timerFlush:function(){return x4},touch:function(){return lc},touches:function(){return p_},transition:function(){return LE},transpose:function(){return Qx},tree:function(){return uX},treemap:function(){return cX},treemapBinary:function(){return dX},treemapDice:function(){return l1},treemapResquarify:function(){return fX},treemapSlice:function(){return FM},treemapSliceDice:function(){return pX},treemapSquarify:function(){return X7},tsvFormat:function(){return eJ},tsvFormatRows:function(){return tJ},tsvParse:function(){return XY},tsvParseRows:function(){return $Y},utcDay:function(){return GM},utcDays:function(){return YX},utcFormat:function(){return JM},utcFriday:function(){return UU},utcFridays:function(){return $X},utcHour:function(){return ZU},utcHours:function(){return GX},utcMillisecond:function(){return VM},utcMilliseconds:function(){return vU},utcMinute:function(){return RU},utcMinutes:function(){return WX},utcMonday:function(){return h1},utcMondays:function(){return JX},utcMonth:function(){return qU},utcMonths:function(){return t$},utcParse:function(){return bZ},utcSaturday:function(){return HU},utcSaturdays:function(){return e$},utcSecond:function(){return zM},utcSeconds:function(){return bU},utcSunday:function(){return f1},utcSundays:function(){return VU},utcThursday:function(){return m1},utcThursdays:function(){return XX},utcTuesday:function(){return FU},utcTuesdays:function(){return QX},utcWednesday:function(){return BU},utcWednesdays:function(){return KX},utcWeek:function(){return f1},utcWeeks:function(){return VU},utcYear:function(){return Hm},utcYears:function(){return n$},values:function(){return MY},variance:function(){return e_},voronoi:function(){return Rne},window:function(){return s_},zip:function(){return O3},zoom:function(){return SH},zoomIdentity:function(){return cA},zoomTransform:function(){return bH}});var U=f(35427),V=f(42515),b=(f(65737),f(99890),f(99740),f(51380)),E=f(36683),x=f(38402),Z=f(89200),O=f(10509),y=f(97154),T=f(333),D=f(3801),v=f(18967),g=f(14105),M=f(26552),k=f.n(M);"undefined"!=typeof window&&window,"undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self;"undefined"!=typeof global&&global;Object.keys({useClass:null}),Object.keys({useFactory:null}),Object.keys({useValue:null}),Object.keys({useExisting:null});var e=f(83668),Pt=f(86019),ku=f(97226),vi=f(50928),Hn=f(80348),Gi=f(47497),Un=f(27807),Lo=f(43501),lx=f(74611),qI=f(27202),wo=f(15801),Ra=f(69301),Ai=f(35634);function ux(r,i,t){for(var n in i)if(i.hasOwnProperty(n)){var a=i[n];a?r.setProperty(n,a,null!=t&&t.has(n)?"important":""):r.removeProperty(n)}return r}function rm(r,i){var t=i?"":"none";ux(r.style,{"touch-action":i?"":"none","-webkit-user-drag":i?"":"none","-webkit-tap-highlight-color":i?"":"transparent","user-select":t,"-ms-user-select":t,"-webkit-user-select":t,"-moz-user-select":t})}function zI(r,i,t){ux(r.style,{position:i?"":"fixed",top:i?"":"0",opacity:i?"":"0",left:i?"":"-999em"},t)}function Rg(r,i){return i&&"none"!=i?r+" "+i:r}function cx(r){var i=r.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(r)*i}function dx(r,i){return r.getPropertyValue(i).split(",").map(function(n){return n.trim()})}function px(r){var i=r.getBoundingClientRect();return{top:i.top,right:i.right,bottom:i.bottom,left:i.left,width:i.width,height:i.height,x:i.x,y:i.y}}function fx(r,i,t){return t>=r.top&&t<=r.bottom&&i>=r.left&&i<=r.right}function im(r,i,t){r.top+=i,r.bottom=r.top+r.height,r.left+=t,r.right=r.left+r.width}function hx(r,i,t,n){var C=r.width*i,P=r.height*i;return n>r.top-P&&n<r.bottom+P&&t>r.left-C&&t<r.right+C}var mx=function(){function r(i,t){(0,v.Z)(this,r),this._document=i,this._viewportRuler=t,this.positions=new Map}return(0,g.Z)(r,[{key:"clear",value:function(){this.positions.clear()}},{key:"cache",value:function(t){var n=this;this.clear(),this.positions.set(this._document,{scrollPosition:this._viewportRuler.getViewportScrollPosition()}),t.forEach(function(a){n.positions.set(a,{scrollPosition:{top:a.scrollTop,left:a.scrollLeft},clientRect:px(a)})})}},{key:"handleScroll",value:function(t){var n=(0,vi.sA)(t),a=this.positions.get(n);if(!a)return null;var s,l,o=a.scrollPosition;if(n===this._document){var d=this._viewportRuler.getViewportScrollPosition();s=d.top,l=d.left}else s=n.scrollTop,l=n.scrollLeft;var h=o.top-s,C=o.left-l;return this.positions.forEach(function(P,N){P.clientRect&&n!==N&&n.contains(N)&&im(P.clientRect,h,C)}),o.top=s,o.left=l,{top:h,left:C}}}]),r}();function GI(r){var i=r.cloneNode(!0),t=i.querySelectorAll("[id]"),n=r.nodeName.toLowerCase();i.removeAttribute("id");for(var a=0;a<t.length;a++)t[a].removeAttribute("id");return"canvas"===n?vx(r,i):("input"===n||"select"===n||"textarea"===n)&&QI(r,i),YI("canvas",r,i,vx),YI("input, textarea, select",r,i,QI),i}function YI(r,i,t,n){var a=i.querySelectorAll(r);if(a.length)for(var o=t.querySelectorAll(r),s=0;s<a.length;s++)n(a[s],o[s])}var JI=0;function QI(r,i){"file"!==i.type&&(i.value=r.value),"radio"===i.type&&i.name&&(i.name="mat-clone-".concat(i.name,"-").concat(JI++))}function vx(r,i){var t=i.getContext("2d");if(t)try{t.drawImage(r,0,0)}catch(n){}}var KI=(0,vi.i$)({passive:!0}),Ng=(0,vi.i$)({passive:!1}),Zg=new Set(["position"]),XI=function(){function r(i,t,n,a,o,s){var l=this;(0,v.Z)(this,r),this._config=t,this._document=n,this._ngZone=a,this._viewportRuler=o,this._dragDropRegistry=s,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new Un.xQ,this._pointerMoveSubscription=Lo.w.EMPTY,this._pointerUpSubscription=Lo.w.EMPTY,this._scrollSubscription=Lo.w.EMPTY,this._resizeSubscription=Lo.w.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new Un.xQ,this.started=new Un.xQ,this.released=new Un.xQ,this.ended=new Un.xQ,this.entered=new Un.xQ,this.exited=new Un.xQ,this.dropped=new Un.xQ,this.moved=this._moveEvents,this._pointerDown=function(d){if(l.beforeStarted.next(),l._handles.length){var h=l._handles.find(function(C){var P=(0,vi.sA)(d);return!!P&&(P===C||C.contains(P))});h&&!l._disabledHandles.has(h)&&!l.disabled&&l._initializeDragSequence(h,d)}else l.disabled||l._initializeDragSequence(l._rootElement,d)},this._pointerMove=function(d){var h=l._getPointerPositionOnPage(d);if(l._hasStartedDragging){l._boundaryElement&&(!l._previewRect||!l._previewRect.width&&!l._previewRect.height)&&(l._previewRect=(l._preview||l._rootElement).getBoundingClientRect()),d.preventDefault();var te=l._getConstrainedPointerPosition(h);if(l._hasMoved=!0,l._lastKnownPointerPosition=h,l._updatePointerDirectionDelta(te),l._dropContainer)l._updateActiveDropContainer(te,h);else{var se=l._activeTransform;se.x=te.x-l._pickupPositionOnPage.x+l._passiveTransform.x,se.y=te.y-l._pickupPositionOnPage.y+l._passiveTransform.y,l._applyRootElementTransform(se.x,se.y)}l._moveEvents.observers.length&&l._ngZone.run(function(){l._moveEvents.next({source:l,pointerPosition:te,event:d,distance:l._getDragDistance(te),delta:l._pointerDirectionDelta})})}else if(Math.abs(h.x-l._pickupPositionOnPage.x)+Math.abs(h.y-l._pickupPositionOnPage.y)>=l._config.dragStartThreshold){var q=Date.now()>=l._dragStartTime+l._getDragStartDelay(d),Q=l._dropContainer;if(!q)return void l._endDragSequence(d);(!Q||!Q.isDragging()&&!Q.isReceiving())&&(d.preventDefault(),l._hasStartedDragging=!0,l._ngZone.run(function(){return l._startDragSequence(d)}))}},this._pointerUp=function(d){l._endDragSequence(d)},this.withRootElement(i).withParent(t.parentDragRef||null),this._parentPositions=new mx(n,o),s.registerDragItem(this)}return(0,g.Z)(r,[{key:"disabled",get:function(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)},set:function(t){var n=(0,Hn.Ig)(t);n!==this._disabled&&(this._disabled=n,this._toggleNativeDragInteractions(),this._handles.forEach(function(a){return rm(a,n)}))}},{key:"getPlaceholderElement",value:function(){return this._placeholder}},{key:"getRootElement",value:function(){return this._rootElement}},{key:"getVisibleElement",value:function(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}},{key:"withHandles",value:function(t){var n=this;this._handles=t.map(function(o){return(0,Hn.fI)(o)}),this._handles.forEach(function(o){return rm(o,n.disabled)}),this._toggleNativeDragInteractions();var a=new Set;return this._disabledHandles.forEach(function(o){n._handles.indexOf(o)>-1&&a.add(o)}),this._disabledHandles=a,this}},{key:"withPreviewTemplate",value:function(t){return this._previewTemplate=t,this}},{key:"withPlaceholderTemplate",value:function(t){return this._placeholderTemplate=t,this}},{key:"withRootElement",value:function(t){var n=this,a=(0,Hn.fI)(t);return a!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(function(){a.addEventListener("mousedown",n._pointerDown,Ng),a.addEventListener("touchstart",n._pointerDown,KI)}),this._initialTransform=void 0,this._rootElement=a),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}},{key:"withBoundaryElement",value:function(t){var n=this;return this._boundaryElement=t?(0,Hn.fI)(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(function(){return n._containInsideBoundaryOnResize()})),this}},{key:"withParent",value:function(t){return this._parentDragRef=t,this}},{key:"dispose",value:function(){var t,n;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(n=this._rootElement)||void 0===n||n.remove()),null===(t=this._anchor)||void 0===t||t.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}},{key:"isDragging",value:function(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}},{key:"reset",value:function(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}},{key:"disableHandle",value:function(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),rm(t,!0))}},{key:"enableHandle",value:function(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),rm(t,this.disabled))}},{key:"withDirection",value:function(t){return this._direction=t,this}},{key:"_withDropContainer",value:function(t){this._dropContainer=t}},{key:"getFreeDragPosition",value:function(){var t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}},{key:"setFreeDragPosition",value:function(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}},{key:"withPreviewContainer",value:function(t){return this._previewContainer=t,this}},{key:"_sortFromLastPointerPosition",value:function(){var t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}},{key:"_removeSubscriptions",value:function(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}},{key:"_destroyPreview",value:function(){var t,n;null===(t=this._preview)||void 0===t||t.remove(),null===(n=this._previewRef)||void 0===n||n.destroy(),this._preview=this._previewRef=null}},{key:"_destroyPlaceholder",value:function(){var t,n;null===(t=this._placeholder)||void 0===t||t.remove(),null===(n=this._placeholderRef)||void 0===n||n.destroy(),this._placeholder=this._placeholderRef=null}},{key:"_endDragSequence",value:function(t){var n=this;if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(function(){n._cleanupDragArtifacts(t),n._cleanupCachedDimensions(),n._dragDropRegistry.stopDragging(n)});else{this._passiveTransform.x=this._activeTransform.x;var a=this._getPointerPositionOnPage(t);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(function(){n.ended.next({source:n,distance:n._getDragDistance(a),dropPoint:a})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}},{key:"_startDragSequence",value:function(t){_f(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();var n=this._dropContainer;if(n){var a=this._rootElement,o=a.parentNode,s=this._placeholder=this._createPlaceholderElement(),l=this._anchor=this._anchor||this._document.createComment(""),d=this._getShadowRoot();o.insertBefore(l,a),this._initialTransform=a.style.transform||"",this._preview=this._createPreviewElement(),zI(a,!1,Zg),this._document.body.appendChild(o.replaceChild(s,a)),this._getPreviewInsertionPoint(o,d).appendChild(this._preview),this.started.next({source:this}),n.start(),this._initialContainer=n,this._initialIndex=n.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(n?n.getScrollableParents():[])}},{key:"_initializeDragSequence",value:function(t,n){var a=this;this._parentDragRef&&n.stopPropagation();var o=this.isDragging(),s=_f(n),l=!s&&0!==n.button,d=this._rootElement,h=(0,vi.sA)(n),C=!s&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),P=s?(0,Gi.yG)(n):(0,Gi.X6)(n);if(h&&h.draggable&&"mousedown"===n.type&&n.preventDefault(),!(o||l||C||P)){if(this._handles.length){var N=d.style;this._rootElementTapHighlight=N.webkitTapHighlightColor||"",N.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(function(te){return a._updateOnScroll(te)}),this._boundaryElement&&(this._boundaryRect=px(this._boundaryElement));var q=this._previewTemplate;this._pickupPositionInElement=q&&q.template&&!q.matchSize?{x:0,y:0}:this._getPointerPositionInElement(t,n);var Q=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(n);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:Q.x,y:Q.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,n)}}},{key:"_cleanupDragArtifacts",value:function(t){var n=this;zI(this._rootElement,!0,Zg),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(function(){var a=n._dropContainer,o=a.getItemIndex(n),s=n._getPointerPositionOnPage(t),l=n._getDragDistance(s),d=a._isOverContainer(s.x,s.y);n.ended.next({source:n,distance:l,dropPoint:s}),n.dropped.next({item:n,currentIndex:o,previousIndex:n._initialIndex,container:a,previousContainer:n._initialContainer,isPointerOverContainer:d,distance:l,dropPoint:s}),a.drop(n,o,n._initialIndex,n._initialContainer,d,l,s),n._dropContainer=n._initialContainer})}},{key:"_updateActiveDropContainer",value:function(t,n){var a=this,o=t.x,s=t.y,l=n.x,d=n.y,h=this._initialContainer._getSiblingContainerFromPosition(this,o,s);!h&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(o,s)&&(h=this._initialContainer),h&&h!==this._dropContainer&&this._ngZone.run(function(){a.exited.next({item:a,container:a._dropContainer}),a._dropContainer.exit(a),a._dropContainer=h,a._dropContainer.enter(a,o,s,h===a._initialContainer&&h.sortingDisabled?a._initialIndex:void 0),a.entered.next({item:a,container:h,currentIndex:h.getItemIndex(a)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(l,d),this._dropContainer._sortItem(this,o,s,this._pointerDirectionDelta),this._applyPreviewTransform(o-this._pickupPositionInElement.x,s-this._pickupPositionInElement.y))}},{key:"_createPreviewElement",value:function(){var o,t=this._previewTemplate,n=this.previewClass,a=t?t.template:null;if(a&&t){var s=t.matchSize?this._rootElement.getBoundingClientRect():null,l=t.viewContainer.createEmbeddedView(a,t.context);l.detectChanges(),o=Fb(l,this._document),this._previewRef=l,t.matchSize?Bb(o,s):o.style.transform=Lg(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{var d=this._rootElement;Bb(o=GI(d),d.getBoundingClientRect()),this._initialTransform&&(o.style.transform=this._initialTransform)}return ux(o.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":"".concat(this._config.zIndex||1e3)},Zg),rm(o,!1),o.classList.add("cdk-drag-preview"),o.setAttribute("dir",this._direction),n&&(Array.isArray(n)?n.forEach(function(h){return o.classList.add(h)}):o.classList.add(n)),o}},{key:"_animatePreviewToPlaceholder",value:function(){var t=this;if(!this._hasMoved)return Promise.resolve();var n=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(n.left,n.top);var a=function(r){var i=getComputedStyle(r),t=dx(i,"transition-property"),n=t.find(function(l){return"transform"===l||"all"===l});if(!n)return 0;var a=t.indexOf(n),o=dx(i,"transition-duration"),s=dx(i,"transition-delay");return cx(o[a])+cx(s[a])}(this._preview);return 0===a?Promise.resolve():this._ngZone.runOutsideAngular(function(){return new Promise(function(o){var s=function d(h){var C;(!h||(0,vi.sA)(h)===t._preview&&"transform"===h.propertyName)&&(null===(C=t._preview)||void 0===C||C.removeEventListener("transitionend",d),o(),clearTimeout(l))},l=setTimeout(s,1.5*a);t._preview.addEventListener("transitionend",s)})})}},{key:"_createPlaceholderElement",value:function(){var a,t=this._placeholderTemplate,n=t?t.template:null;return n?(this._placeholderRef=t.viewContainer.createEmbeddedView(n,t.context),this._placeholderRef.detectChanges(),a=Fb(this._placeholderRef,this._document)):a=GI(this._rootElement),a.classList.add("cdk-drag-placeholder"),a}},{key:"_getPointerPositionInElement",value:function(t,n){var a=this._rootElement.getBoundingClientRect(),o=t===this._rootElement?null:t,s=o?o.getBoundingClientRect():a,l=_f(n)?n.targetTouches[0]:n,d=this._getViewportScrollPosition();return{x:s.left-a.left+(l.pageX-s.left-d.left),y:s.top-a.top+(l.pageY-s.top-d.top)}}},{key:"_getPointerPositionOnPage",value:function(t){var n=this._getViewportScrollPosition(),a=_f(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,o=a.pageX-n.left,s=a.pageY-n.top;if(this._ownerSVGElement){var l=this._ownerSVGElement.getScreenCTM();if(l){var d=this._ownerSVGElement.createSVGPoint();return d.x=o,d.y=s,d.matrixTransform(l.inverse())}}return{x:o,y:s}}},{key:"_getConstrainedPointerPosition",value:function(t){var n=this._dropContainer?this._dropContainer.lockAxis:null,a=this.constrainPosition?this.constrainPosition(t,this):t,o=a.x,s=a.y;if("x"===this.lockAxis||"x"===n?s=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===n)&&(o=this._pickupPositionOnPage.x),this._boundaryRect){var l=this._pickupPositionInElement,d=l.x,h=l.y,C=this._boundaryRect,P=this._previewRect,N=C.top+h,q=C.bottom-(P.height-h);o=Fg(o,C.left+d,C.right-(P.width-d)),s=Fg(s,N,q)}return{x:o,y:s}}},{key:"_updatePointerDirectionDelta",value:function(t){var n=t.x,a=t.y,o=this._pointerDirectionDelta,s=this._pointerPositionAtLastDirectionChange,l=Math.abs(n-s.x),d=Math.abs(a-s.y);return l>this._config.pointerDirectionChangeThreshold&&(o.x=n>s.x?1:-1,s.x=n),d>this._config.pointerDirectionChangeThreshold&&(o.y=a>s.y?1:-1,s.y=a),o}},{key:"_toggleNativeDragInteractions",value:function(){if(this._rootElement&&this._handles){var t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,rm(this._rootElement,t))}}},{key:"_removeRootElementListeners",value:function(t){t.removeEventListener("mousedown",this._pointerDown,Ng),t.removeEventListener("touchstart",this._pointerDown,KI)}},{key:"_applyRootElementTransform",value:function(t,n){var a=Lg(t,n),o=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=o.transform&&"none"!=o.transform?o.transform:""),o.transform=Rg(a,this._initialTransform)}},{key:"_applyPreviewTransform",value:function(t,n){var a,o=null!==(a=this._previewTemplate)&&void 0!==a&&a.template?void 0:this._initialTransform,s=Lg(t,n);this._preview.style.transform=Rg(s,o)}},{key:"_getDragDistance",value:function(t){var n=this._pickupPositionOnPage;return n?{x:t.x-n.x,y:t.y-n.y}:{x:0,y:0}}},{key:"_cleanupCachedDimensions",value:function(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}},{key:"_containInsideBoundaryOnResize",value:function(){var t=this._passiveTransform,n=t.x,a=t.y;if(!(0===n&&0===a||this.isDragging())&&this._boundaryElement){var o=this._boundaryElement.getBoundingClientRect(),s=this._rootElement.getBoundingClientRect();if(!(0===o.width&&0===o.height||0===s.width&&0===s.height)){var l=o.left-s.left,d=s.right-o.right,h=o.top-s.top,C=s.bottom-o.bottom;o.width>s.width?(l>0&&(n+=l),d>0&&(n-=d)):n=0,o.height>s.height?(h>0&&(a+=h),C>0&&(a-=C)):a=0,(n!==this._passiveTransform.x||a!==this._passiveTransform.y)&&this.setFreeDragPosition({y:a,x:n})}}}},{key:"_getDragStartDelay",value:function(t){var n=this.dragStartDelay;return"number"==typeof n?n:_f(t)?n.touch:n?n.mouse:0}},{key:"_updateOnScroll",value:function(t){var n=this._parentPositions.handleScroll(t);if(n){var a=(0,vi.sA)(t);this._boundaryRect&&a!==this._boundaryElement&&a.contains(this._boundaryElement)&&im(this._boundaryRect,n.top,n.left),this._pickupPositionOnPage.x+=n.left,this._pickupPositionOnPage.y+=n.top,this._dropContainer||(this._activeTransform.x-=n.left,this._activeTransform.y-=n.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}},{key:"_getViewportScrollPosition",value:function(){var t=this._parentPositions.positions.get(this._document);return t?t.scrollPosition:this._viewportRuler.getViewportScrollPosition()}},{key:"_getShadowRoot",value:function(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,vi.kV)(this._rootElement)),this._cachedShadowRoot}},{key:"_getPreviewInsertionPoint",value:function(t,n){var a=this._previewContainer||"global";if("parent"===a)return t;if("global"===a){var o=this._document;return n||o.fullscreenElement||o.webkitFullscreenElement||o.mozFullScreenElement||o.msFullscreenElement||o.body}return(0,Hn.fI)(a)}}]),r}();function Lg(r,i){return"translate3d(".concat(Math.round(r),"px, ").concat(Math.round(i),"px, 0)")}function Fg(r,i,t){return Math.max(i,Math.min(t,r))}function _f(r){return"t"===r.type[0]}function Fb(r,i){var t=r.rootNodes;if(1===t.length&&t[0].nodeType===i.ELEMENT_NODE)return t[0];var n=i.createElement("div");return t.forEach(function(a){return n.appendChild(a)}),n}function Bb(r,i){r.style.width="".concat(i.width,"px"),r.style.height="".concat(i.height,"px"),r.style.transform=Lg(i.left,i.top)}function yf(r,i){return Math.max(0,Math.min(i,r))}var hB=function(){function r(i,t,n,a,o){var s=this;(0,v.Z)(this,r),this._dragDropRegistry=t,this._ngZone=a,this._viewportRuler=o,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=function(){return!0},this.sortPredicate=function(){return!0},this.beforeStarted=new Un.xQ,this.entered=new Un.xQ,this.exited=new Un.xQ,this.dropped=new Un.xQ,this.sorted=new Un.xQ,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=Lo.w.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new Un.xQ,this._cachedShadowRoot=null,this._startScrollInterval=function(){s._stopScrolling(),(0,lx.F)(0,qI.Z).pipe((0,Ai.R)(s._stopScrollTimers)).subscribe(function(){var l=s._scrollNode,d=s.autoScrollStep;1===s._verticalScrollDirection?l.scrollBy(0,-d):2===s._verticalScrollDirection&&l.scrollBy(0,d),1===s._horizontalScrollDirection?l.scrollBy(-d,0):2===s._horizontalScrollDirection&&l.scrollBy(d,0)})},this.element=(0,Hn.fI)(i),this._document=n,this.withScrollableParents([this.element]),t.registerDropContainer(this),this._parentPositions=new mx(n,o)}return(0,g.Z)(r,[{key:"dispose",value:function(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}},{key:"isDragging",value:function(){return this._isDragging}},{key:"start",value:function(){this._draggingStarted(),this._notifyReceivingSiblings()}},{key:"enter",value:function(t,n,a,o){var s;this._draggingStarted(),null==o?-1===(s=this.sortingDisabled?this._draggables.indexOf(t):-1)&&(s=this._getItemIndexFromPointerPosition(t,n,a)):s=o;var l=this._activeDraggables,d=l.indexOf(t),h=t.getPlaceholderElement(),C=l[s];if(C===t&&(C=l[s+1]),d>-1&&l.splice(d,1),C&&!this._dragDropRegistry.isDragging(C)){var P=C.getRootElement();P.parentElement.insertBefore(h,P),l.splice(s,0,t)}else if(this._shouldEnterAsFirstChild(n,a)){var N=l[0].getRootElement();N.parentNode.insertBefore(h,N),l.unshift(t)}else(0,Hn.fI)(this.element).appendChild(h),l.push(t);h.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}},{key:"exit",value:function(t){this._reset(),this.exited.next({item:t,container:this})}},{key:"drop",value:function(t,n,a,o,s,l,d){this._reset(),this.dropped.next({item:t,currentIndex:n,previousIndex:a,container:this,previousContainer:o,isPointerOverContainer:s,distance:l,dropPoint:d})}},{key:"withItems",value:function(t){var n=this,a=this._draggables;return this._draggables=t,t.forEach(function(s){return s._withDropContainer(n)}),this.isDragging()&&(a.filter(function(s){return s.isDragging()}).every(function(s){return-1===t.indexOf(s)})?this._reset():this._cacheItems()),this}},{key:"withDirection",value:function(t){return this._direction=t,this}},{key:"connectedTo",value:function(t){return this._siblings=t.slice(),this}},{key:"withOrientation",value:function(t){return this._orientation=t,this}},{key:"withScrollableParents",value:function(t){var n=(0,Hn.fI)(this.element);return this._scrollableElements=-1===t.indexOf(n)?[n].concat((0,T.Z)(t)):t.slice(),this}},{key:"getScrollableParents",value:function(){return this._scrollableElements}},{key:"getItemIndex",value:function(t){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(function(a){return a.drag===t}):this._draggables.indexOf(t)}},{key:"isReceiving",value:function(){return this._activeSiblings.size>0}},{key:"_sortItem",value:function(t,n,a,o){if(!this.sortingDisabled&&this._clientRect&&hx(this._clientRect,.05,n,a)){var s=this._itemPositions,l=this._getItemIndexFromPointerPosition(t,n,a,o);if(!(-1===l&&s.length>0)){var d="horizontal"===this._orientation,h=s.findIndex(function(Te){return Te.drag===t}),C=s[l],N=C.clientRect,q=h>l?1:-1,Q=this._getItemOffsetPx(s[h].clientRect,N,q),te=this._getSiblingOffsetPx(h,s,q),se=s.slice();(function(r,i,t){var n=yf(i,r.length-1),a=yf(t,r.length-1);if(n!==a){for(var o=r[n],s=a<n?-1:1,l=n;l!==a;l+=s)r[l]=r[l+s];r[a]=o}})(s,h,l),this.sorted.next({previousIndex:h,currentIndex:l,container:this,item:t}),s.forEach(function(Te,$e){if(se[$e]!==Te){var ze=Te.drag===t,rt=ze?Q:te,dt=ze?t.getPlaceholderElement():Te.drag.getRootElement();Te.offset+=rt,d?(dt.style.transform=Rg("translate3d(".concat(Math.round(Te.offset),"px, 0, 0)"),Te.initialTransform),im(Te.clientRect,0,rt)):(dt.style.transform=Rg("translate3d(0, ".concat(Math.round(Te.offset),"px, 0)"),Te.initialTransform),im(Te.clientRect,rt,0))}}),this._previousSwap.overlaps=fx(N,n,a),this._previousSwap.drag=C.drag,this._previousSwap.delta=d?o.x:o.y}}}},{key:"_startScrollingIfNecessary",value:function(t,n){var a=this;if(!this.autoScrollDisabled){var o,s=0,l=0;if(this._parentPositions.positions.forEach(function(N,q){if(q!==a._document&&N.clientRect&&!o&&hx(N.clientRect,.05,t,n)){var Q=function(r,i,t,n){var a=gx(i,n),o=n3(i,t),s=0,l=0;if(a){var d=r.scrollTop;1===a?d>0&&(s=1):r.scrollHeight-d>r.clientHeight&&(s=2)}if(o){var h=r.scrollLeft;1===o?h>0&&(l=1):r.scrollWidth-h>r.clientWidth&&(l=2)}return[s,l]}(q,N.clientRect,t,n),te=(0,b.Z)(Q,2);l=te[1],((s=te[0])||l)&&(o=q)}}),!s&&!l){var d=this._viewportRuler.getViewportSize(),h=d.width,C=d.height,P={width:h,height:C,top:0,right:h,bottom:C,left:0};s=gx(P,n),l=n3(P,t),o=window}o&&(s!==this._verticalScrollDirection||l!==this._horizontalScrollDirection||o!==this._scrollNode)&&(this._verticalScrollDirection=s,this._horizontalScrollDirection=l,this._scrollNode=o,(s||l)&&o?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}}},{key:"_stopScrolling",value:function(){this._stopScrollTimers.next()}},{key:"_draggingStarted",value:function(){var t=(0,Hn.fI)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}},{key:"_cacheParentPositions",value:function(){var t=(0,Hn.fI)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}},{key:"_cacheItemPositions",value:function(){var t="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(function(n){var a=n.getVisibleElement();return{drag:n,offset:0,initialTransform:a.style.transform||"",clientRect:px(a)}}).sort(function(n,a){return t?n.clientRect.left-a.clientRect.left:n.clientRect.top-a.clientRect.top})}},{key:"_reset",value:function(){var t=this;this._isDragging=!1;var n=(0,Hn.fI)(this.element).style;n.scrollSnapType=n.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(function(a){var o=a.getRootElement();if(o){var s,l=null===(s=t._itemPositions.find(function(d){return d.drag===a}))||void 0===s?void 0:s.initialTransform;o.style.transform=l||""}}),this._siblings.forEach(function(a){return a._stopReceiving(t)}),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}},{key:"_getSiblingOffsetPx",value:function(t,n,a){var o="horizontal"===this._orientation,s=n[t].clientRect,l=n[t+-1*a],d=s[o?"width":"height"]*a;if(l){var h=o?"left":"top",C=o?"right":"bottom";-1===a?d-=l.clientRect[h]-s[C]:d+=s[h]-l.clientRect[C]}return d}},{key:"_getItemOffsetPx",value:function(t,n,a){var o="horizontal"===this._orientation,s=o?n.left-t.left:n.top-t.top;return-1===a&&(s+=o?n.width-t.width:n.height-t.height),s}},{key:"_shouldEnterAsFirstChild",value:function(t,n){if(!this._activeDraggables.length)return!1;var a=this._itemPositions,o="horizontal"===this._orientation;if(a[0].drag!==this._activeDraggables[0]){var l=a[a.length-1].clientRect;return o?t>=l.right:n>=l.bottom}var d=a[0].clientRect;return o?t<=d.left:n<=d.top}},{key:"_getItemIndexFromPointerPosition",value:function(t,n,a,o){var s=this,l="horizontal"===this._orientation,d=this._itemPositions.findIndex(function(h){var C=h.drag,P=h.clientRect;return C!==t&&((!o||C!==s._previousSwap.drag||!s._previousSwap.overlaps||(l?o.x:o.y)!==s._previousSwap.delta)&&(l?n>=Math.floor(P.left)&&n<Math.floor(P.right):a>=Math.floor(P.top)&&a<Math.floor(P.bottom)))});return-1!==d&&this.sortPredicate(d,t,this)?d:-1}},{key:"_cacheItems",value:function(){this._activeDraggables=this._draggables.slice(),this._cacheItemPositions(),this._cacheParentPositions()}},{key:"_isOverContainer",value:function(t,n){return null!=this._clientRect&&fx(this._clientRect,t,n)}},{key:"_getSiblingContainerFromPosition",value:function(t,n,a){return this._siblings.find(function(o){return o._canReceive(t,n,a)})}},{key:"_canReceive",value:function(t,n,a){if(!this._clientRect||!fx(this._clientRect,n,a)||!this.enterPredicate(t,this))return!1;var o=this._getShadowRoot().elementFromPoint(n,a);if(!o)return!1;var s=(0,Hn.fI)(this.element);return o===s||s.contains(o)}},{key:"_startReceiving",value:function(t,n){var a=this,o=this._activeSiblings;!o.has(t)&&n.every(function(s){return a.enterPredicate(s,a)||a._draggables.indexOf(s)>-1})&&(o.add(t),this._cacheParentPositions(),this._listenToScrollEvents())}},{key:"_stopReceiving",value:function(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe()}},{key:"_listenToScrollEvents",value:function(){var t=this;this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(function(n){if(t.isDragging()){var a=t._parentPositions.handleScroll(n);a&&(t._itemPositions.forEach(function(o){im(o.clientRect,a.top,a.left)}),t._itemPositions.forEach(function(o){var s=o.drag;t._dragDropRegistry.isDragging(s)&&s._sortFromLastPointerPosition()}))}else t.isReceiving()&&t._cacheParentPositions()})}},{key:"_getShadowRoot",value:function(){if(!this._cachedShadowRoot){var t=(0,vi.kV)((0,Hn.fI)(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}},{key:"_notifyReceivingSiblings",value:function(){var t=this,n=this._activeDraggables.filter(function(a){return a.isDragging()});this._siblings.forEach(function(a){return a._startReceiving(t,n)})}}]),r}();function gx(r,i){var t=r.top,n=r.bottom,o=.05*r.height;return i>=t-o&&i<=t+o?1:i>=n-o&&i<=n+o?2:0}function n3(r,i){var t=r.left,n=r.right,o=.05*r.width;return i>=t-o&&i<=t+o?1:i>=n-o&&i<=n+o?2:0}var Bg=(0,vi.i$)({passive:!1,capture:!0}),mB=function(){var r=function(){function i(t,n){var a=this;(0,v.Z)(this,i),this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=function(o){return o.isDragging()},this.pointerMove=new Un.xQ,this.pointerUp=new Un.xQ,this.scroll=new Un.xQ,this._preventDefaultWhileDragging=function(o){a._activeDragInstances.length>0&&o.preventDefault()},this._persistentTouchmoveListener=function(o){a._activeDragInstances.length>0&&(a._activeDragInstances.some(a._draggingPredicate)&&o.preventDefault(),a.pointerMove.next(o))},this._document=n}return(0,g.Z)(i,[{key:"registerDropContainer",value:function(n){this._dropInstances.has(n)||this._dropInstances.add(n)}},{key:"registerDragItem",value:function(n){var a=this;this._dragInstances.add(n),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(function(){a._document.addEventListener("touchmove",a._persistentTouchmoveListener,Bg)})}},{key:"removeDropContainer",value:function(n){this._dropInstances.delete(n)}},{key:"removeDragItem",value:function(n){this._dragInstances.delete(n),this.stopDragging(n),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,Bg)}},{key:"startDragging",value:function(n,a){var o=this;if(!(this._activeDragInstances.indexOf(n)>-1)&&(this._activeDragInstances.push(n),1===this._activeDragInstances.length)){var s=a.type.startsWith("touch");this._globalListeners.set(s?"touchend":"mouseup",{handler:function(d){return o.pointerUp.next(d)},options:!0}).set("scroll",{handler:function(d){return o.scroll.next(d)},options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:Bg}),s||this._globalListeners.set("mousemove",{handler:function(d){return o.pointerMove.next(d)},options:Bg}),this._ngZone.runOutsideAngular(function(){o._globalListeners.forEach(function(l,d){o._document.addEventListener(d,l.handler,l.options)})})}}},{key:"stopDragging",value:function(n){var a=this._activeDragInstances.indexOf(n);a>-1&&(this._activeDragInstances.splice(a,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}},{key:"isDragging",value:function(n){return this._activeDragInstances.indexOf(n)>-1}},{key:"scrolled",value:function(n){var a=this,o=[this.scroll];return n&&n!==this._document&&o.push(new wo.y(function(s){return a._ngZone.runOutsideAngular(function(){var d=function(C){a._activeDragInstances.length&&s.next(C)};return n.addEventListener("scroll",d,!0),function(){n.removeEventListener("scroll",d,!0)}})})),Ra.T.apply(void 0,o)}},{key:"ngOnDestroy",value:function(){var n=this;this._dragInstances.forEach(function(a){return n.removeDragItem(a)}),this._dropInstances.forEach(function(a){return n.removeDropContainer(a)}),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}},{key:"_clearGlobalListeners",value:function(){var n=this;this._globalListeners.forEach(function(a,o){n._document.removeEventListener(o,a.handler,a.options)}),this._globalListeners.clear()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(e.R0b),e.LFG(Pt.K0))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r}(),vB={dragStartThreshold:5,pointerDirectionChangeThreshold:5},Hb=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this._document=t,this._ngZone=n,this._viewportRuler=a,this._dragDropRegistry=o}return(0,g.Z)(i,[{key:"createDrag",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:vB;return new XI(n,a,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}},{key:"createDropList",value:function(n){return new hB(n,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(Pt.K0),e.LFG(e.R0b),e.LFG(ku.rL),e.LFG(mB))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r}(),wu=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[Hb],imports:[ku.ZD]}),r}(),Ga=f(57219),Ms=f(58290),ma=f(45351),As=f(17048),$i=f(37810),Ug=f(47593),Kn=f(82429),Ea=f(63303),Cx=[[["caption"]],[["colgroup"],["col"]]],Sx=["caption","colgroup, col"];function am(r){return function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(){var a;(0,v.Z)(this,n);for(var o=arguments.length,s=new Array(o),l=0;l<o;l++)s[l]=arguments[l];return(a=t.call.apply(t,[this].concat(s)))._sticky=!1,a._hasStickyChanged=!1,a}return(0,g.Z)(n,[{key:"sticky",get:function(){return this._sticky},set:function(o){var s=this._sticky;this._sticky=(0,Hn.Ig)(o),this._hasStickyChanged=s!==this._sticky}},{key:"hasStickyChanged",value:function(){var o=this._hasStickyChanged;return this._hasStickyChanged=!1,o}},{key:"resetStickyChanged",value:function(){this._hasStickyChanged=!1}}]),n}(r)}var $d=new e.OlP("CDK_TABLE"),Jc=function(){var r=function i(t){(0,v.Z)(this,i),this.template=t};return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.Rgc))},r.\u0275dir=e.lG2({type:r,selectors:[["","cdkCellDef",""]]}),r}(),bf=function(){var r=function i(t){(0,v.Z)(this,i),this.template=t};return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.Rgc))},r.\u0275dir=e.lG2({type:r,selectors:[["","cdkHeaderCellDef",""]]}),r}(),Ds=function(){var r=function i(t){(0,v.Z)(this,i),this.template=t};return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.Rgc))},r.\u0275dir=e.lG2({type:r,selectors:[["","cdkFooterCellDef",""]]}),r}(),s3=function r(){(0,v.Z)(this,r)},EB=am(s3),rc=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a){var o;return(0,v.Z)(this,n),(o=t.call(this))._table=a,o._stickyEnd=!1,o}return(0,g.Z)(n,[{key:"name",get:function(){return this._name},set:function(o){this._setNameInput(o)}},{key:"stickyEnd",get:function(){return this._stickyEnd},set:function(o){var s=this._stickyEnd;this._stickyEnd=(0,Hn.Ig)(o),this._hasStickyChanged=s!==this._stickyEnd}},{key:"_updateColumnCssClassName",value:function(){this._columnCssClassName=["cdk-column-".concat(this.cssClassFriendlyName)]}},{key:"_setNameInput",value:function(o){o&&(this._name=o,this.cssClassFriendlyName=o.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}]),n}(EB);return r.\u0275fac=function(t){return new(t||r)(e.Y36($d,8))},r.\u0275dir=e.lG2({type:r,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,n,a){var o;1&t&&(e.Suo(a,Jc,5),e.Suo(a,bf,5),e.Suo(a,Ds,5)),2&t&&(e.iGM(o=e.CRH())&&(n.cell=o.first),e.iGM(o=e.CRH())&&(n.headerCell=o.first),e.iGM(o=e.CRH())&&(n.footerCell=o.first))},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[e._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:r}]),e.qOj]}),r}(),kx=function r(i,t){(0,v.Z)(this,r);var o,n=t.nativeElement.classList,a=(0,E.Z)(i._columnCssClassName);try{for(a.s();!(o=a.n()).done;)n.add(o.value)}catch(l){a.e(l)}finally{a.f()}},Vb=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o){return(0,v.Z)(this,n),t.call(this,a,o)}return n}(kx);return r.\u0275fac=function(t){return new(t||r)(e.Y36(rc),e.Y36(e.SBq))},r.\u0275dir=e.lG2({type:r,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[e.qOj]}),r}(),jb=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o){var s,l;if((0,v.Z)(this,n),l=t.call(this,a,o),1===(null===(s=a._table)||void 0===s?void 0:s._elementRef.nativeElement.nodeType)){var d=a._table._elementRef.nativeElement.getAttribute("role");o.nativeElement.setAttribute("role","grid"===d||"treegrid"===d?"gridcell":"cell")}return l}return n}(kx);return r.\u0275fac=function(t){return new(t||r)(e.Y36(rc),e.Y36(e.SBq))},r.\u0275dir=e.lG2({type:r,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[e.qOj]}),r}(),l3=function r(){(0,v.Z)(this,r),this.tasks=[],this.endTasks=[]},qb=new e.OlP("_COALESCED_STYLE_SCHEDULER"),zb=function(){var r=function(){function i(t){(0,v.Z)(this,i),this._ngZone=t,this._currentSchedule=null,this._destroyed=new Un.xQ}return(0,g.Z)(i,[{key:"schedule",value:function(n){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(n)}},{key:"scheduleEnd",value:function(n){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(n)}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_createScheduleIfNeeded",value:function(){var n=this;this._currentSchedule||(this._currentSchedule=new l3,this._getScheduleObservable().pipe((0,Ai.R)(this._destroyed)).subscribe(function(){for(;n._currentSchedule.tasks.length||n._currentSchedule.endTasks.length;){var a=n._currentSchedule;n._currentSchedule=new l3;var s,o=(0,E.Z)(a.tasks);try{for(o.s();!(s=o.n()).done;)(0,s.value)()}catch(P){o.e(P)}finally{o.f()}var h,d=(0,E.Z)(a.endTasks);try{for(d.s();!(h=d.n()).done;)(0,h.value)()}catch(P){d.e(P)}finally{d.f()}}n._currentSchedule=null}))}},{key:"_getScheduleObservable",value:function(){return this._ngZone.isStable?(0,As.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,Ea.q)(1))}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(e.R0b))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Wb=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.template=t,this._differs=n}return(0,g.Z)(i,[{key:"ngOnChanges",value:function(n){if(!this._columnsDiffer){var a=n.columns&&n.columns.currentValue||[];this._columnsDiffer=this._differs.find(a).create(),this._columnsDiffer.diff(a)}}},{key:"getColumnsDiff",value:function(){return this._columnsDiffer.diff(this.columns)}},{key:"extractCellTemplate",value:function(n){return this instanceof Hg?n.headerCell.template:this instanceof om?n.footerCell.template:n.cell.template}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.Rgc),e.Y36(e.ZZ4))},r.\u0275dir=e.lG2({type:r,features:[e.TTD]}),r}(),xx=function(r){(0,O.Z)(t,r);var i=(0,y.Z)(t);function t(){return(0,v.Z)(this,t),i.apply(this,arguments)}return t}(Wb),u3=am(xx),Hg=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o,s){var l;return(0,v.Z)(this,n),(l=t.call(this,a,o))._table=s,l}return(0,g.Z)(n,[{key:"ngOnChanges",value:function(o){(0,x.Z)((0,Z.Z)(n.prototype),"ngOnChanges",this).call(this,o)}}]),n}(u3);return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36($d,8))},r.\u0275dir=e.lG2({type:r,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[e.qOj,e.TTD]}),r}(),Ex=function(r){(0,O.Z)(t,r);var i=(0,y.Z)(t);function t(){return(0,v.Z)(this,t),i.apply(this,arguments)}return t}(Wb),Mx=am(Ex),om=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o,s){var l;return(0,v.Z)(this,n),(l=t.call(this,a,o))._table=s,l}return(0,g.Z)(n,[{key:"ngOnChanges",value:function(o){(0,x.Z)((0,Z.Z)(n.prototype),"ngOnChanges",this).call(this,o)}}]),n}(Mx);return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36($d,8))},r.\u0275dir=e.lG2({type:r,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[e.qOj,e.TTD]}),r}(),Vg=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o,s){var l;return(0,v.Z)(this,n),(l=t.call(this,a,o))._table=s,l}return n}(Wb);return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36($d,8))},r.\u0275dir=e.lG2({type:r,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[e.qOj]}),r}(),xu=function(){var r=function(){function i(t){(0,v.Z)(this,i),this._viewContainer=t,i.mostRecentCellOutlet=this}return(0,g.Z)(i,[{key:"ngOnDestroy",value:function(){i.mostRecentCellOutlet===this&&(i.mostRecentCellOutlet=null)}}]),i}();return r.mostRecentCellOutlet=null,r.\u0275fac=function(t){return new(t||r)(e.Y36(e.s_b))},r.\u0275dir=e.lG2({type:r,selectors:[["","cdkCellOutlet",""]]}),r}(),ep=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275cmp=e.Xpm({type:r,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,n){1&t&&e.GkF(0,0)},directives:[xu],encapsulation:2}),r}(),jg=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275cmp=e.Xpm({type:r,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,n){1&t&&e.GkF(0,0)},directives:[xu],encapsulation:2}),r}(),qg=function(){var r=function i(t){(0,v.Z)(this,i),this.templateRef=t};return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.Rgc))},r.\u0275dir=e.lG2({type:r,selectors:[["ng-template","cdkNoDataRow",""]]}),r}(),c3=["top","bottom","left","right"],AB=function(){function r(i,t,n,a){var o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],l=arguments.length>6?arguments[6]:void 0;(0,v.Z)(this,r),this._isNativeHtmlTable=i,this._stickCellCss=t,this.direction=n,this._coalescedStyleScheduler=a,this._isBrowser=o,this._needsPositionStickyOnElement=s,this._positionListener=l,this._cachedCellWidths=[],this._borderCellCss={top:"".concat(t,"-border-elem-top"),bottom:"".concat(t,"-border-elem-bottom"),left:"".concat(t,"-border-elem-left"),right:"".concat(t,"-border-elem-right")}}return(0,g.Z)(r,[{key:"clearStickyPositioning",value:function(t,n){var l,a=this,o=[],s=(0,E.Z)(t);try{for(s.s();!(l=s.n()).done;){var d=l.value;if(d.nodeType===d.ELEMENT_NODE){o.push(d);for(var h=0;h<d.children.length;h++)o.push(d.children[h])}}}catch(C){s.e(C)}finally{s.f()}this._coalescedStyleScheduler.schedule(function(){var P,C=(0,E.Z)(o);try{for(C.s();!(P=C.n()).done;)a._removeStickyStyle(P.value,n)}catch(q){C.e(q)}finally{C.f()}})}},{key:"updateStickyColumns",value:function(t,n,a){var o=this,s=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(t.length&&this._isBrowser&&(n.some(function(Q){return Q})||a.some(function(Q){return Q}))){var l=t[0],d=l.children.length,h=this._getCellWidths(l,s),C=this._getStickyStartColumnPositions(h,n),P=this._getStickyEndColumnPositions(h,a),N=n.lastIndexOf(!0),q=a.indexOf(!0);this._coalescedStyleScheduler.schedule(function(){var $e,Q="rtl"===o.direction,te=Q?"right":"left",se=Q?"left":"right",Te=(0,E.Z)(t);try{for(Te.s();!($e=Te.n()).done;)for(var ze=$e.value,rt=0;rt<d;rt++){var dt=ze.children[rt];n[rt]&&o._addStickyStyle(dt,te,C[rt],rt===N),a[rt]&&o._addStickyStyle(dt,se,P[rt],rt===q)}}catch(Dt){Te.e(Dt)}finally{Te.f()}o._positionListener&&(o._positionListener.stickyColumnsUpdated({sizes:-1===N?[]:h.slice(0,N+1).map(function(Dt,St){return n[St]?Dt:null})}),o._positionListener.stickyEndColumnsUpdated({sizes:-1===q?[]:h.slice(q).map(function(Dt,St){return a[St+q]?Dt:null}).reverse()}))})}else this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}))}},{key:"stickRows",value:function(t,n,a){var o=this;if(this._isBrowser){for(var s="bottom"===a?t.slice().reverse():t,l="bottom"===a?n.slice().reverse():n,d=[],h=[],C=[],P=0,N=0;P<s.length;P++)if(l[P]){d[P]=N;var q=s[P];C[P]=this._isNativeHtmlTable?Array.from(q.children):[q];var Q=q.getBoundingClientRect().height;N+=Q,h[P]=Q}var te=l.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(function(){for(var se=0;se<s.length;se++)if(l[se]){var rt,Te=d[se],$e=se===te,ze=(0,E.Z)(C[se]);try{for(ze.s();!(rt=ze.n()).done;)o._addStickyStyle(rt.value,a,Te,$e)}catch(at){ze.e(at)}finally{ze.f()}}var Dt,St;"top"===a?null===(Dt=o._positionListener)||void 0===Dt||Dt.stickyHeaderRowsUpdated({sizes:h,offsets:d,elements:C}):null===(St=o._positionListener)||void 0===St||St.stickyFooterRowsUpdated({sizes:h,offsets:d,elements:C})})}}},{key:"updateStickyFooterContainer",value:function(t,n){var a=this;if(this._isNativeHtmlTable){var o=t.querySelector("tfoot");this._coalescedStyleScheduler.schedule(function(){n.some(function(s){return!s})?a._removeStickyStyle(o,["bottom"]):a._addStickyStyle(o,"bottom",0,!1)})}}},{key:"_removeStickyStyle",value:function(t,n){var o,a=(0,E.Z)(n);try{for(a.s();!(o=a.n()).done;){var s=o.value;t.style[s]="",t.classList.remove(this._borderCellCss[s])}}catch(d){a.e(d)}finally{a.f()}c3.some(function(d){return-1===n.indexOf(d)&&t.style[d]})?t.style.zIndex=this._getCalculatedZIndex(t):(t.style.zIndex="",this._needsPositionStickyOnElement&&(t.style.position=""),t.classList.remove(this._stickCellCss))}},{key:"_addStickyStyle",value:function(t,n,a,o){t.classList.add(this._stickCellCss),o&&t.classList.add(this._borderCellCss[n]),t.style[n]="".concat(a,"px"),t.style.zIndex=this._getCalculatedZIndex(t),this._needsPositionStickyOnElement&&(t.style.cssText+="position: -webkit-sticky; position: sticky; ")}},{key:"_getCalculatedZIndex",value:function(t){var s,n={top:100,bottom:10,left:1,right:1},a=0,o=(0,E.Z)(c3);try{for(o.s();!(s=o.n()).done;){var l=s.value;t.style[l]&&(a+=n[l])}}catch(d){o.e(d)}finally{o.f()}return a?"".concat(a):""}},{key:"_getCellWidths",value:function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!n&&this._cachedCellWidths.length)return this._cachedCellWidths;for(var a=[],o=t.children,s=0;s<o.length;s++){var l=o[s];a.push(l.getBoundingClientRect().width)}return this._cachedCellWidths=a,a}},{key:"_getStickyStartColumnPositions",value:function(t,n){for(var a=[],o=0,s=0;s<t.length;s++)n[s]&&(a[s]=o,o+=t[s]);return a}},{key:"_getStickyEndColumnPositions",value:function(t,n){for(var a=[],o=0,s=t.length;s>0;s--)n[s]&&(a[s]=o,o+=t[s]);return a}}]),r}(),zg=new e.OlP("CDK_SPL"),Wg=function(){var r=function i(t,n){(0,v.Z)(this,i),this.viewContainer=t,this.elementRef=n};return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.s_b),e.Y36(e.SBq))},r.\u0275dir=e.lG2({type:r,selectors:[["","rowOutlet",""]]}),r}(),Gg=function(){var r=function i(t,n){(0,v.Z)(this,i),this.viewContainer=t,this.elementRef=n};return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.s_b),e.Y36(e.SBq))},r.\u0275dir=e.lG2({type:r,selectors:[["","headerRowOutlet",""]]}),r}(),Yg=function(){var r=function i(t,n){(0,v.Z)(this,i),this.viewContainer=t,this.elementRef=n};return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.s_b),e.Y36(e.SBq))},r.\u0275dir=e.lG2({type:r,selectors:[["","footerRowOutlet",""]]}),r}(),Gb=function(){var r=function i(t,n){(0,v.Z)(this,i),this.viewContainer=t,this.elementRef=n};return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.s_b),e.Y36(e.SBq))},r.\u0275dir=e.lG2({type:r,selectors:[["","noDataRowOutlet",""]]}),r}(),Cf=function(){var r=function(){function i(t,n,a,o,s,l,d,h,C,P,N){(0,v.Z)(this,i),this._differs=t,this._changeDetectorRef=n,this._elementRef=a,this._dir=s,this._platform=d,this._viewRepeater=h,this._coalescedStyleScheduler=C,this._viewportRuler=P,this._stickyPositioningListener=N,this._onDestroy=new Un.xQ,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new e.vpe,this.viewChange=new $i.X({start:0,end:Number.MAX_VALUE}),o||this._elementRef.nativeElement.setAttribute("role","table"),this._document=l,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}return(0,g.Z)(i,[{key:"trackBy",get:function(){return this._trackByFn},set:function(n){this._trackByFn=n}},{key:"dataSource",get:function(){return this._dataSource},set:function(n){this._dataSource!==n&&this._switchDataSource(n)}},{key:"multiTemplateDataRows",get:function(){return this._multiTemplateDataRows},set:function(n){this._multiTemplateDataRows=(0,Hn.Ig)(n),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}},{key:"fixedLayout",get:function(){return this._fixedLayout},set:function(n){this._fixedLayout=(0,Hn.Ig)(n),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}},{key:"ngOnInit",value:function(){var n=this;this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create(function(a,o){return n.trackBy?n.trackBy(o.dataIndex,o.data):o}),this._viewportRuler.change().pipe((0,Ai.R)(this._onDestroy)).subscribe(function(){n._forceRecalculateCellWidths=!0})}},{key:"ngAfterContentChecked",value:function(){this._cacheRowDefs(),this._cacheColumnDefs();var a=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||a,this._forceRecalculateCellWidths=a,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}},{key:"ngOnDestroy",value:function(){this._rowOutlet.viewContainer.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),(0,ma.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}},{key:"renderRows",value:function(){var n=this;this._renderRows=this._getAllRenderRows();var a=this._dataDiffer.diff(this._renderRows);if(!a)return this._updateNoDataRow(),void this.contentChanged.next();var o=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(a,o,function(s,l,d){return n._getEmbeddedViewArgs(s.item,d)},function(s){return s.item.data},function(s){1===s.operation&&s.context&&n._renderCellTemplateForItem(s.record.item.rowDef,s.context)}),this._updateRowIndexContext(),a.forEachIdentityChange(function(s){o.get(s.currentIndex).context.$implicit=s.item.data}),this._updateNoDataRow(),this.updateStickyColumnStyles(),this.contentChanged.next()}},{key:"addColumnDef",value:function(n){this._customColumnDefs.add(n)}},{key:"removeColumnDef",value:function(n){this._customColumnDefs.delete(n)}},{key:"addRowDef",value:function(n){this._customRowDefs.add(n)}},{key:"removeRowDef",value:function(n){this._customRowDefs.delete(n)}},{key:"addHeaderRowDef",value:function(n){this._customHeaderRowDefs.add(n),this._headerRowDefChanged=!0}},{key:"removeHeaderRowDef",value:function(n){this._customHeaderRowDefs.delete(n),this._headerRowDefChanged=!0}},{key:"addFooterRowDef",value:function(n){this._customFooterRowDefs.add(n),this._footerRowDefChanged=!0}},{key:"removeFooterRowDef",value:function(n){this._customFooterRowDefs.delete(n),this._footerRowDefChanged=!0}},{key:"setNoDataRow",value:function(n){this._customNoDataRow=n}},{key:"updateStickyHeaderRowStyles",value:function(){var n=this._getRenderedRows(this._headerRowOutlet),o=this._elementRef.nativeElement.querySelector("thead");o&&(o.style.display=n.length?"":"none");var s=this._headerRowDefs.map(function(l){return l.sticky});this._stickyStyler.clearStickyPositioning(n,["top"]),this._stickyStyler.stickRows(n,s,"top"),this._headerRowDefs.forEach(function(l){return l.resetStickyChanged()})}},{key:"updateStickyFooterRowStyles",value:function(){var n=this._getRenderedRows(this._footerRowOutlet),o=this._elementRef.nativeElement.querySelector("tfoot");o&&(o.style.display=n.length?"":"none");var s=this._footerRowDefs.map(function(l){return l.sticky});this._stickyStyler.clearStickyPositioning(n,["bottom"]),this._stickyStyler.stickRows(n,s,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,s),this._footerRowDefs.forEach(function(l){return l.resetStickyChanged()})}},{key:"updateStickyColumnStyles",value:function(){var n=this,a=this._getRenderedRows(this._headerRowOutlet),o=this._getRenderedRows(this._rowOutlet),s=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([].concat((0,T.Z)(a),(0,T.Z)(o),(0,T.Z)(s)),["left","right"]),this._stickyColumnStylesNeedReset=!1),a.forEach(function(l,d){n._addStickyColumnStyles([l],n._headerRowDefs[d])}),this._rowDefs.forEach(function(l){for(var d=[],h=0;h<o.length;h++)n._renderRows[h].rowDef===l&&d.push(o[h]);n._addStickyColumnStyles(d,l)}),s.forEach(function(l,d){n._addStickyColumnStyles([l],n._footerRowDefs[d])}),Array.from(this._columnDefsByName.values()).forEach(function(l){return l.resetStickyChanged()})}},{key:"_getAllRenderRows",value:function(){var n=[],a=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(var o=0;o<this._data.length;o++){var s=this._data[o],l=this._getRenderRowsForData(s,o,a.get(s));this._cachedRenderRowsMap.has(s)||this._cachedRenderRowsMap.set(s,new WeakMap);for(var d=0;d<l.length;d++){var h=l[d],C=this._cachedRenderRowsMap.get(h.data);C.has(h.rowDef)?C.get(h.rowDef).push(h):C.set(h.rowDef,[h]),n.push(h)}}return n}},{key:"_getRenderRowsForData",value:function(n,a,o){return this._getRowDefs(n,a).map(function(l){var d=o&&o.has(l)?o.get(l):[];if(d.length){var h=d.shift();return h.dataIndex=a,h}return{data:n,rowDef:l,dataIndex:a}})}},{key:"_cacheColumnDefs",value:function(){var n=this;this._columnDefsByName.clear(),Yb(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(function(o){n._columnDefsByName.has(o.name),n._columnDefsByName.set(o.name,o)})}},{key:"_cacheRowDefs",value:function(){this._headerRowDefs=Yb(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Yb(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Yb(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);var n=this._rowDefs.filter(function(a){return!a.when});this._defaultRowDef=n[0]}},{key:"_renderUpdatedColumns",value:function(){var n=function(d,h){return d||!!h.getColumnsDiff()},a=this._rowDefs.reduce(n,!1);a&&this._forceRenderDataRows();var o=this._headerRowDefs.reduce(n,!1);o&&this._forceRenderHeaderRows();var s=this._footerRowDefs.reduce(n,!1);return s&&this._forceRenderFooterRows(),a||o||s}},{key:"_switchDataSource",value:function(n){this._data=[],(0,ma.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),n||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=n}},{key:"_observeRenderChanges",value:function(){var a,n=this;this.dataSource&&((0,ma.Z9)(this.dataSource)?a=this.dataSource.connect(this):(0,Ug.b)(this.dataSource)?a=this.dataSource:Array.isArray(this.dataSource)&&(a=(0,Kn.of)(this.dataSource)),this._renderChangeSubscription=a.pipe((0,Ai.R)(this._onDestroy)).subscribe(function(o){n._data=o||[],n.renderRows()}))}},{key:"_forceRenderHeaderRows",value:function(){var n=this;this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach(function(a,o){return n._renderRow(n._headerRowOutlet,a,o)}),this.updateStickyHeaderRowStyles()}},{key:"_forceRenderFooterRows",value:function(){var n=this;this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach(function(a,o){return n._renderRow(n._footerRowOutlet,a,o)}),this.updateStickyFooterRowStyles()}},{key:"_addStickyColumnStyles",value:function(n,a){var o=this,s=Array.from(a.columns||[]).map(function(h){return o._columnDefsByName.get(h)}),l=s.map(function(h){return h.sticky}),d=s.map(function(h){return h.stickyEnd});this._stickyStyler.updateStickyColumns(n,l,d,!this._fixedLayout||this._forceRecalculateCellWidths)}},{key:"_getRenderedRows",value:function(n){for(var a=[],o=0;o<n.viewContainer.length;o++){var s=n.viewContainer.get(o);a.push(s.rootNodes[0])}return a}},{key:"_getRowDefs",value:function(n,a){if(1==this._rowDefs.length)return[this._rowDefs[0]];var o=[];if(this.multiTemplateDataRows)o=this._rowDefs.filter(function(l){return!l.when||l.when(a,n)});else{var s=this._rowDefs.find(function(l){return l.when&&l.when(a,n)})||this._defaultRowDef;s&&o.push(s)}return o}},{key:"_getEmbeddedViewArgs",value:function(n,a){return{templateRef:n.rowDef.template,context:{$implicit:n.data},index:a}}},{key:"_renderRow",value:function(n,a,o){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=n.viewContainer.createEmbeddedView(a.template,s,o);return this._renderCellTemplateForItem(a,s),l}},{key:"_renderCellTemplateForItem",value:function(n,a){var s,o=(0,E.Z)(this._getCellTemplates(n));try{for(o.s();!(s=o.n()).done;)xu.mostRecentCellOutlet&&xu.mostRecentCellOutlet._viewContainer.createEmbeddedView(s.value,a)}catch(d){o.e(d)}finally{o.f()}this._changeDetectorRef.markForCheck()}},{key:"_updateRowIndexContext",value:function(){for(var n=this._rowOutlet.viewContainer,a=0,o=n.length;a<o;a++){var l=n.get(a).context;l.count=o,l.first=0===a,l.last=a===o-1,l.even=a%2==0,l.odd=!l.even,this.multiTemplateDataRows?(l.dataIndex=this._renderRows[a].dataIndex,l.renderIndex=a):l.index=this._renderRows[a].dataIndex}}},{key:"_getCellTemplates",value:function(n){var a=this;return n&&n.columns?Array.from(n.columns,function(o){var s=a._columnDefsByName.get(o);return n.extractCellTemplate(s)}):[]}},{key:"_applyNativeTableSections",value:function(){for(var n=this._document.createDocumentFragment(),o=0,s=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];o<s.length;o++){var l=s[o],d=this._document.createElement(l.tag);d.setAttribute("role","rowgroup");var C,h=(0,E.Z)(l.outlets);try{for(h.s();!(C=h.n()).done;)d.appendChild(C.value.elementRef.nativeElement)}catch(N){h.e(N)}finally{h.f()}n.appendChild(d)}this._elementRef.nativeElement.appendChild(n)}},{key:"_forceRenderDataRows",value:function(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}},{key:"_checkStickyStates",value:function(){var n=function(o,s){return o||s.hasStickyChanged()};this._headerRowDefs.reduce(n,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(n,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(n,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}},{key:"_setupStickyStyler",value:function(){var n=this;this._stickyStyler=new AB(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,Kn.of)()).pipe((0,Ai.R)(this._onDestroy)).subscribe(function(o){n._stickyStyler.direction=o,n.updateStickyColumnStyles()})}},{key:"_getOwnDefs",value:function(n){var a=this;return n.filter(function(o){return!o._table||o._table===a})}},{key:"_updateNoDataRow",value:function(){var n=this._customNoDataRow||this._noDataRow;if(n){var a=0===this._rowOutlet.viewContainer.length;if(a!==this._isShowingNoDataRow){var o=this._noDataRowOutlet.viewContainer;a?o.createEmbeddedView(n.templateRef):o.clear(),this._isShowingNoDataRow=a}}}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.ZZ4),e.Y36(e.sBO),e.Y36(e.SBq),e.$8M("role"),e.Y36(Ms.Is,8),e.Y36(Pt.K0),e.Y36(vi.t4),e.Y36(ma.k),e.Y36(qb),e.Y36(ku.rL),e.Y36(zg,12))},r.\u0275cmp=e.Xpm({type:r,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,n,a){var o;1&t&&(e.Suo(a,qg,5),e.Suo(a,rc,5),e.Suo(a,Vg,5),e.Suo(a,Hg,5),e.Suo(a,om,5)),2&t&&(e.iGM(o=e.CRH())&&(n._noDataRow=o.first),e.iGM(o=e.CRH())&&(n._contentColumnDefs=o),e.iGM(o=e.CRH())&&(n._contentRowDefs=o),e.iGM(o=e.CRH())&&(n._contentHeaderRowDefs=o),e.iGM(o=e.CRH())&&(n._contentFooterRowDefs=o))},viewQuery:function(t,n){var a;1&t&&(e.Gf(Wg,7),e.Gf(Gg,7),e.Gf(Yg,7),e.Gf(Gb,7)),2&t&&(e.iGM(a=e.CRH())&&(n._rowOutlet=a.first),e.iGM(a=e.CRH())&&(n._headerRowOutlet=a.first),e.iGM(a=e.CRH())&&(n._footerRowOutlet=a.first),e.iGM(a=e.CRH())&&(n._noDataRowOutlet=a.first))},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,n){2&t&&e.ekj("cdk-table-fixed-layout",n.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[e._Bn([{provide:$d,useExisting:r},{provide:ma.k,useClass:ma.yy},{provide:qb,useClass:zb},{provide:zg,useValue:null}])],ngContentSelectors:Sx,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,n){1&t&&(e.F$t(Cx),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0),e.GkF(3,1),e.GkF(4,2),e.GkF(5,3))},directives:[Gg,Wg,Gb,Yg],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),r}();function Yb(r,i){return r.concat(Array.from(i))}var Ox=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[[ku.Cl]]}),r}(),ic=f(44522),re=f(49133),sn=f(6731),en=f(69814),m3=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[[Pt.ez,sn.BQ,vi.ud,ku.ZD],ku.ZD,sn.BQ]}),r}(),Js=f(39555),Nx=f(12375),tp=f(40452),Jg=f(4998),ea=f(50439),ao=f(23199),$o=f(85148),kr=f(98771),Tf=f(65605),Qg=f(52333),Kg=f(43415),Zx=f(91979),Qb=f(65944);function Kb(r,i){return r=function(r,i){return void 0===r?void 0===i?r:i:r}(r,i),"function"==typeof r?function(){for(var n=arguments,a=arguments.length,o=Array(a),s=0;s<a;s++)o[s]=n[s];return!!r.apply(this,o)}:r?function(){return!0}:function(){return!1}}var Xb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol?"symbol":typeof r},Lx=function(i){return null!=i&&"object"===(void 0===i?"undefined":Xb(i))&&1===i.nodeType&&"object"===Xb(i.style)&&"object"===Xb(i.ownerDocument)};function Fx(r,i){if(i=eC(i,!0),!Lx(i))return-1;for(var t=0;t<r.length;t++)if(r[t]===i)return t;return-1}function $b(r,i){return-1!==Fx(r,i)}function g3(r,i){for(var t=0;t<i.length;t++)$b(r,i[t])||r.push(i[t]);return i}function _3(r){for(var i=arguments,t=[],n=arguments.length-1;n-- >0;)t[n]=i[n+1];return g3(r,t=t.map(eC))}function y3(r){for(var i=arguments,t=[],n=arguments.length-1;n-- >0;)t[n]=i[n+1];return t.map(eC).reduce(function(a,o){var s=Fx(r,o);return-1!==s?a.concat(r.splice(s,1)):a},[])}function eC(r,i){if("string"==typeof r)try{return document.querySelector(r)}catch(t){throw t}if(!Lx(r)&&!i)throw new TypeError(r+" is not a DOM element.");return r}function lm(r){if(r===window)return function(){var r={top:{value:0,enumerable:!0},left:{value:0,enumerable:!0},right:{value:window.innerWidth,enumerable:!0},bottom:{value:window.innerHeight,enumerable:!0},width:{value:window.innerWidth,enumerable:!0},height:{value:window.innerHeight,enumerable:!0},x:{value:0,enumerable:!0},y:{value:0,enumerable:!0}};if(Object.create)return Object.create({},r);var i={};return Object.defineProperties(i,r),i}();try{var i=r.getBoundingClientRect();return void 0===i.x&&(i.x=i.left,i.y=i.top),i}catch(t){throw new TypeError("Can't call getBoundingClientRect on "+r)}}var i,np=void 0;"function"!=typeof Object.create?(i=function(){},np=function(t,n){if(t!==Object(t)&&null!==t)throw TypeError("Argument must be an object, or null");i.prototype=t||{};var a=new i;return i.prototype=null,void 0!==n&&Object.defineProperties(a,n),null===t&&(a.__proto__=null),a}):np=Object.create;var oa=np,Qs=["altKey","button","buttons","clientX","clientY","ctrlKey","metaKey","movementX","movementY","offsetX","offsetY","pageX","pageY","region","relatedTarget","screenX","screenY","shiftKey","which","x","y"];function rp(r,i){i=i||{};for(var t=oa(r),n=0;n<Qs.length;n++)void 0!==i[Qs[n]]&&(t[Qs[n]]=i[Qs[n]]);return t}function Bx(r,i){console.log("data ",i),r.data=i||{},r.dispatched="mousemove"}var ri=["webkit","moz","ms","o"],wf=function(){if("undefined"==typeof window)return function(){};for(var r=0,i=ri.length;r<i&&!window.requestAnimationFrame;++r)window.requestAnimationFrame=window[ri[r]+"RequestAnimationFrame"];if(!window.requestAnimationFrame){var t=0;window.requestAnimationFrame=function(n){var a=(new Date).getTime(),o=Math.max(0,16-a-t),s=window.setTimeout(function(){return n(a+o)},o);return t=a+o,s}}return window.requestAnimationFrame.bind(window)}(),xf=function(){if("undefined"==typeof window)return function(){};for(var r=0,i=ri.length;r<i&&!window.cancelAnimationFrame;++r)window.cancelAnimationFrame=window[ri[r]+"CancelAnimationFrame"]||window[ri[r]+"CancelRequestAnimationFrame"];return window.cancelAnimationFrame||(window.cancelAnimationFrame=function(t){window.clearTimeout(t)}),window.cancelAnimationFrame.bind(window)}();function C3(r,i){void 0===i&&(i={});var t=this,n=4,a=!1;if("object"!=typeof i.margin){var o=i.margin||-1;this.margin={left:o,right:o,top:o,bottom:o}}else this.margin=i.margin;this.scrollWhenOutside=i.scrollWhenOutside||!1;var s={},l=function(r,i){var t=Kb((i=i||{}).allowUpdate,!0);return function(a){if(a=a||window.event,r.target=a.target||a.srcElement||a.originalTarget,r.element=this,r.type=a.type,t(a)){if(a.targetTouches)r.x=a.targetTouches[0].clientX,r.y=a.targetTouches[0].clientY,r.pageX=a.targetTouches[0].pageX,r.pageY=a.targetTouches[0].pageY,r.screenX=a.targetTouches[0].screenX,r.screenY=a.targetTouches[0].screenY;else{if(null===a.pageX&&null!==a.clientX){var o=a.target&&a.target.ownerDocument||document,s=o.documentElement,l=o.body;r.pageX=a.clientX+(s&&s.scrollLeft||l&&l.scrollLeft||0)-(s&&s.clientLeft||l&&l.clientLeft||0),r.pageY=a.clientY+(s&&s.scrollTop||l&&l.scrollTop||0)-(s&&s.clientTop||l&&l.clientTop||0)}else r.pageX=a.pageX,r.pageY=a.pageY;r.x=a.clientX,r.y=a.clientY,r.screenX=a.screenX,r.screenY=a.screenY}r.clientX=r.x,r.clientY=r.y}}}(s),d=function(r){var i={screenX:0,screenY:0,clientX:0,clientY:0,ctrlKey:!1,shiftKey:!1,altKey:!1,metaKey:!1,button:0,buttons:1,relatedTarget:null,region:null};return{destroy:function(){i=null},dispatch:MouseEvent?function(s,l,d){var h=new MouseEvent("mousemove",rp(i,l));return Bx(h,d),s.dispatchEvent(h)}:"function"==typeof document.createEvent?function(s,l,d){var h=rp(i,l),C=document.createEvent("MouseEvents");return C.initMouseEvent("mousemove",!0,!0,window,0,h.screenX,h.screenY,h.clientX,h.clientY,h.ctrlKey,h.altKey,h.shiftKey,h.metaKey,h.button,h.relatedTarget),Bx(C,d),s.dispatchEvent(C)}:"function"==typeof document.createEventObject?function(s,l,d){var h=document.createEventObject(),C=rp(i,l);for(var P in C)h[P]=C[P];return Bx(h,d),s.dispatchEvent(h)}:void 0}}(),h=!1;window.addEventListener("mousemove",l,!1),window.addEventListener("touchmove",l,!1),isNaN(i.maxSpeed)||(n=i.maxSpeed),"object"!=typeof n&&(n={left:n,right:n,top:n,bottom:n}),this.autoScroll=Kb(i.autoScroll),this.syncMove=Kb(i.syncMove,!1),this.destroy=function(qt){window.removeEventListener("mousemove",l,!1),window.removeEventListener("touchmove",l,!1),window.removeEventListener("mousedown",te,!1),window.removeEventListener("touchstart",te,!1),window.removeEventListener("mouseup",se,!1),window.removeEventListener("touchend",se,!1),window.removeEventListener("pointerup",se,!1),window.removeEventListener("mouseleave",$e,!1),window.removeEventListener("mousemove",dt,!1),window.removeEventListener("touchmove",dt,!1),window.removeEventListener("scroll",Q,!0),r=[],qt&&Te()},this.add=function(){for(var qt=[],it=arguments.length;it--;)qt[it]=arguments[it];return _3.apply(void 0,[r].concat(qt)),this},this.remove=function(){for(var qt=[],it=arguments.length;it--;)qt[it]=arguments[it];return y3.apply(void 0,[r].concat(qt))};var P,qt,C=null;"[object Array]"!==Object.prototype.toString.call(r)&&(r=[r]),qt=r,r=[],qt.forEach(function(it){it===window?C=window:t.add(it)}),Object.defineProperties(this,{down:{get:function(){return h}},maxSpeed:{get:function(){return n}},point:{get:function(){return s}},scrolling:{get:function(){return a}}});var q,N=null;function Q(qt){for(var it=0;it<r.length;it++)if(r[it]===qt.target){a=!0;break}a&&wf(function(){return a=!1})}function te(){h=!0}function se(){h=!1,Te()}function Te(){xf(q),xf(P)}function $e(){h=!1}function rt(){for(var qt=null,it=0;it<r.length;it++)Hx(s,r[it])&&(qt=r[it]);return qt}function dt(qt){if(t.autoScroll()&&!qt.dispatched){var it=qt.target,It=document.body;N&&!Hx(s,N)&&(t.scrollWhenOutside||(N=null)),it&&it.parentNode===It?it=rt():(it=function(qt){if(!qt)return null;if(N===qt||$b(r,qt))return qt;for(;qt=qt.parentNode;)if($b(r,qt))return qt;return null}(it),it||(it=rt())),it&&it!==N&&(N=it),C&&(xf(P),P=wf(Dt)),N&&(xf(q),q=wf(St))}}function Dt(){at(C),xf(P),P=wf(Dt)}function St(){!N||(at(N),xf(q),q=wf(St))}function at(qt){var It,ln,it=lm(qt);It=s.x<it.left+t.margin.left?Math.floor(Math.max(-1,(s.x-it.left)/t.margin.left-1)*t.maxSpeed.left):s.x>it.right-t.margin.right?Math.ceil(Math.min(1,(s.x-it.right)/t.margin.right+1)*t.maxSpeed.right):0,ln=s.y<it.top+t.margin.top?Math.floor(Math.max(-1,(s.y-it.top)/t.margin.top-1)*t.maxSpeed.top):s.y>it.bottom-t.margin.bottom?Math.ceil(Math.min(1,(s.y-it.bottom)/t.margin.bottom+1)*t.maxSpeed.bottom):0,t.syncMove()&&d.dispatch(qt,{pageX:s.pageX+It,pageY:s.pageY+ln,clientX:s.x+It,clientY:s.y+ln}),setTimeout(function(){ln&&function(qt,it){qt===window?window.scrollTo(qt.pageXOffset,qt.pageYOffset+it):qt.scrollTop+=it}(qt,ln),It&&function(qt,it){qt===window?window.scrollTo(qt.pageXOffset+it,qt.pageYOffset):qt.scrollLeft+=it}(qt,It)})}window.addEventListener("mousedown",te,!1),window.addEventListener("touchstart",te,!1),window.addEventListener("mouseup",se,!1),window.addEventListener("touchend",se,!1),window.addEventListener("pointerup",se,!1),window.addEventListener("mousemove",dt,!1),window.addEventListener("touchmove",dt,!1),window.addEventListener("mouseleave",$e,!1),window.addEventListener("scroll",Q,!0)}function Hx(r,i,t){return t?r.y>t.top&&r.y<t.bottom&&r.x>t.left&&r.x<t.right:function(r,i){var t=lm(i);return r.y>t.top&&r.y<t.bottom&&r.x>t.left&&r.x<t.right}(r,i)}var yl=function(){var r=function i(){(0,v.Z)(this,i),this.currentDrag=new Un.xQ};return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({factory:function(){return new r},token:r,providedIn:"root"}),r}(),$g=function(){var r=function i(t){(0,v.Z)(this,i),this.elementRef=t};return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq))},r.\u0275dir=e.lG2({type:r,selectors:[["","mwlDraggableScrollContainer",""]]}),r}();var jx=function(){var r=function(){function i(t,n,a,o,s,l,d){(0,v.Z)(this,i),this.element=t,this.renderer=n,this.draggableHelper=a,this.zone=o,this.vcr=s,this.scrollContainer=l,this.document=d,this.dragAxis={x:!0,y:!0},this.dragSnapGrid={},this.ghostDragEnabled=!0,this.showOriginalElementWhileDragging=!1,this.dragCursor="",this.autoScroll={margin:20},this.dragPointerDown=new e.vpe,this.dragStart=new e.vpe,this.ghostElementCreated=new e.vpe,this.dragging=new e.vpe,this.dragEnd=new e.vpe,this.pointerDown$=new Un.xQ,this.pointerMove$=new Un.xQ,this.pointerUp$=new Un.xQ,this.eventListenerSubscriptions={},this.destroy$=new Un.xQ,this.timeLongPress={timerBegin:0,timerEnd:0}}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.checkEventListeners();var a=this.pointerDown$.pipe((0,ea.h)(function(){return n.canDrag()}),(0,ao.zg)(function(o){o.event.stopPropagation&&!n.scrollContainer&&o.event.stopPropagation();var s=n.renderer.createElement("style");n.renderer.setAttribute(s,"type","text/css"),n.renderer.appendChild(s,n.renderer.createText("\n          body * {\n           -moz-user-select: none;\n           -ms-user-select: none;\n           -webkit-user-select: none;\n           user-select: none;\n          }\n        ")),requestAnimationFrame(function(){n.document.head.appendChild(s)});var l=n.getScrollPosition(),d=new wo.y(function(te){return n.renderer.listen(n.scrollContainer?n.scrollContainer.elementRef.nativeElement:"window","scroll",function(Te){return te.next(Te)})}).pipe((0,$o.O)(l),(0,kr.U)(function(){return n.getScrollPosition()})),h=new Un.xQ,C=new Nx.t;n.zone.run(function(){n.dragPointerDown.next({x:0,y:0})});var P=(0,Ra.T)(n.pointerUp$,n.pointerDown$,C,n.destroy$).pipe((0,Tf.B)()),N=(0,tp.aj)([n.pointerMove$,d]).pipe((0,kr.U)(function(te){var se=(0,b.Z)(te,2),Te=se[0],$e=se[1];return{currentDrag$:h,transformX:Te.clientX-o.clientX,transformY:Te.clientY-o.clientY,clientX:Te.clientX,clientY:Te.clientY,scrollLeft:$e.left,scrollTop:$e.top,target:Te.event.target}}),(0,kr.U)(function(te){return n.dragSnapGrid.x&&(te.transformX=Math.round(te.transformX/n.dragSnapGrid.x)*n.dragSnapGrid.x),n.dragSnapGrid.y&&(te.transformY=Math.round(te.transformY/n.dragSnapGrid.y)*n.dragSnapGrid.y),te}),(0,kr.U)(function(te){return n.dragAxis.x||(te.transformX=0),n.dragAxis.y||(te.transformY=0),te}),(0,kr.U)(function(te){var se=te.scrollLeft-l.left,Te=te.scrollTop-l.top;return Object.assign(Object.assign({},te),{x:te.transformX+se,y:te.transformY+Te})}),(0,ea.h)(function(te){return!n.validateDrag||n.validateDrag({x:te.x,y:te.y,transform:{x:te.transformX,y:te.transformY}})}),(0,Ai.R)(P),(0,Tf.B)()),q=N.pipe((0,Ea.q)(1),(0,Tf.B)()),Q=N.pipe((0,Qg.h)(1),(0,Tf.B)());return q.subscribe(function(te){var se=te.clientX,Te=te.clientY,$e=te.x,ze=te.y;if(n.zone.run(function(){n.dragStart.next({cancelDrag$:C})}),n.scroller=function(r,i){return new C3(r,i)}([n.scrollContainer?n.scrollContainer.elementRef.nativeElement:n.document.defaultView],Object.assign(Object.assign({},n.autoScroll),{autoScroll:function(){return!0}})),function(r,i,t){t&&t.split(" ").forEach(function(n){return r.addClass(i.nativeElement,n)})}(n.renderer,n.element,n.dragActiveClass),n.ghostDragEnabled){var rt=n.element.nativeElement.getBoundingClientRect(),dt=n.element.nativeElement.cloneNode(!0);if(n.showOriginalElementWhileDragging||n.renderer.setStyle(n.element.nativeElement,"visibility","hidden"),n.ghostElementAppendTo?n.ghostElementAppendTo.appendChild(dt):n.element.nativeElement.parentNode.insertBefore(dt,n.element.nativeElement.nextSibling),n.ghostElement=dt,n.document.body.style.cursor=n.dragCursor,n.setElementStyles(dt,{position:"fixed",top:"".concat(rt.top,"px"),left:"".concat(rt.left,"px"),width:"".concat(rt.width,"px"),height:"".concat(rt.height,"px"),cursor:n.dragCursor,margin:"0",willChange:"transform",pointerEvents:"none"}),n.ghostElementTemplate){var Dt=n.vcr.createEmbeddedView(n.ghostElementTemplate);dt.innerHTML="",Dt.rootNodes.filter(function(St){return St instanceof Node}).forEach(function(St){dt.appendChild(St)}),Q.subscribe(function(){n.vcr.remove(n.vcr.indexOf(Dt))})}n.zone.run(function(){n.ghostElementCreated.emit({clientX:se-$e,clientY:Te-ze,element:dt})}),Q.subscribe(function(){dt.parentElement.removeChild(dt),n.ghostElement=null,n.renderer.setStyle(n.element.nativeElement,"visibility","")})}n.draggableHelper.currentDrag.next(h)}),Q.pipe((0,ao.zg)(function(te){var se=C.pipe((0,Kg.Q)(),(0,Ea.q)(1),(0,kr.U)(function(Te){return Object.assign(Object.assign({},te),{dragCancelled:Te>0})}));return C.complete(),se})).subscribe(function(te){var se=te.x,Te=te.y,$e=te.dragCancelled;n.scroller.destroy(),n.zone.run(function(){n.dragEnd.next({x:se,y:Te,dragCancelled:$e})}),function(r,i,t){t&&t.split(" ").forEach(function(n){return r.removeClass(i.nativeElement,n)})}(n.renderer,n.element,n.dragActiveClass),h.complete()}),(0,Ra.T)(P,Q).pipe((0,Ea.q)(1)).subscribe(function(){requestAnimationFrame(function(){n.document.head.removeChild(s)})}),N}),(0,Tf.B)());(0,Ra.T)(a.pipe((0,Ea.q)(1),(0,kr.U)(function(o){return[,o]})),a.pipe((0,Zx.G)())).pipe((0,ea.h)(function(o){var s=(0,b.Z)(o,2),l=s[0],d=s[1];return!l||l.x!==d.x||l.y!==d.y}),(0,kr.U)(function(o){return(0,b.Z)(o,2)[1]})).subscribe(function(o){var s=o.x,l=o.y,d=o.currentDrag$,h=o.clientX,C=o.clientY,P=o.transformX,N=o.transformY,q=o.target;n.zone.run(function(){n.dragging.next({x:s,y:l})}),requestAnimationFrame(function(){if(n.ghostElement){var Q="translate3d(".concat(P,"px, ").concat(N,"px, 0px)");n.setElementStyles(n.ghostElement,{transform:Q,"-webkit-transform":Q,"-ms-transform":Q,"-moz-transform":Q,"-o-transform":Q})}}),d.next({clientX:h,clientY:C,dropData:n.dropData,target:q})})}},{key:"ngOnChanges",value:function(n){n.dragAxis&&this.checkEventListeners()}},{key:"ngOnDestroy",value:function(){this.unsubscribeEventListeners(),this.pointerDown$.complete(),this.pointerMove$.complete(),this.pointerUp$.complete(),this.destroy$.next()}},{key:"checkEventListeners",value:function(){var n=this,a=this.canDrag(),o=Object.keys(this.eventListenerSubscriptions).length>0;a&&!o?this.zone.runOutsideAngular(function(){n.eventListenerSubscriptions.mousedown=n.renderer.listen(n.element.nativeElement,"mousedown",function(s){n.onMouseDown(s)}),n.eventListenerSubscriptions.mouseup=n.renderer.listen("document","mouseup",function(s){n.onMouseUp(s)}),n.eventListenerSubscriptions.touchstart=n.renderer.listen(n.element.nativeElement,"touchstart",function(s){n.onTouchStart(s)}),n.eventListenerSubscriptions.touchend=n.renderer.listen("document","touchend",function(s){n.onTouchEnd(s)}),n.eventListenerSubscriptions.touchcancel=n.renderer.listen("document","touchcancel",function(s){n.onTouchEnd(s)}),n.eventListenerSubscriptions.mouseenter=n.renderer.listen(n.element.nativeElement,"mouseenter",function(){n.onMouseEnter()}),n.eventListenerSubscriptions.mouseleave=n.renderer.listen(n.element.nativeElement,"mouseleave",function(){n.onMouseLeave()})}):!a&&o&&this.unsubscribeEventListeners()}},{key:"onMouseDown",value:function(n){var a=this;0===n.button&&(this.eventListenerSubscriptions.mousemove||(this.eventListenerSubscriptions.mousemove=this.renderer.listen("document","mousemove",function(o){a.pointerMove$.next({event:o,clientX:o.clientX,clientY:o.clientY})})),this.pointerDown$.next({event:n,clientX:n.clientX,clientY:n.clientY}))}},{key:"onMouseUp",value:function(n){0===n.button&&(this.eventListenerSubscriptions.mousemove&&(this.eventListenerSubscriptions.mousemove(),delete this.eventListenerSubscriptions.mousemove),this.pointerUp$.next({event:n,clientX:n.clientX,clientY:n.clientY}))}},{key:"onTouchStart",value:function(n){var o,s,l,a=this;if(this.touchStartLongPress&&(this.timeLongPress.timerBegin=Date.now(),s=!1,l=this.hasScrollbar(),o=this.getScrollPosition()),!this.eventListenerSubscriptions.touchmove){var d=(0,Jg.R)(this.document,"contextmenu").subscribe(function(C){C.preventDefault()}),h=(0,Jg.R)(this.document,"touchmove",{passive:!1}).subscribe(function(C){a.touchStartLongPress&&!s&&l&&(s=a.shouldBeginDrag(n,C,o)),(!a.touchStartLongPress||!l||s)&&(C.preventDefault(),a.pointerMove$.next({event:C,clientX:C.targetTouches[0].clientX,clientY:C.targetTouches[0].clientY}))});this.eventListenerSubscriptions.touchmove=function(){d.unsubscribe(),h.unsubscribe()}}this.pointerDown$.next({event:n,clientX:n.touches[0].clientX,clientY:n.touches[0].clientY})}},{key:"onTouchEnd",value:function(n){this.eventListenerSubscriptions.touchmove&&(this.eventListenerSubscriptions.touchmove(),delete this.eventListenerSubscriptions.touchmove,this.touchStartLongPress&&this.enableScroll()),this.pointerUp$.next({event:n,clientX:n.changedTouches[0].clientX,clientY:n.changedTouches[0].clientY})}},{key:"onMouseEnter",value:function(){this.setCursor(this.dragCursor)}},{key:"onMouseLeave",value:function(){this.setCursor("")}},{key:"canDrag",value:function(){return this.dragAxis.x||this.dragAxis.y}},{key:"setCursor",value:function(n){this.eventListenerSubscriptions.mousemove||this.renderer.setStyle(this.element.nativeElement,"cursor",n)}},{key:"unsubscribeEventListeners",value:function(){var n=this;Object.keys(this.eventListenerSubscriptions).forEach(function(a){n.eventListenerSubscriptions[a](),delete n.eventListenerSubscriptions[a]})}},{key:"setElementStyles",value:function(n,a){var o=this;Object.keys(a).forEach(function(s){o.renderer.setStyle(n,s,a[s])})}},{key:"getScrollElement",value:function(){return this.scrollContainer?this.scrollContainer.elementRef.nativeElement:this.document.body}},{key:"getScrollPosition",value:function(){return this.scrollContainer?{top:this.scrollContainer.elementRef.nativeElement.scrollTop,left:this.scrollContainer.elementRef.nativeElement.scrollLeft}:{top:window.pageYOffset||this.document.documentElement.scrollTop,left:window.pageXOffset||this.document.documentElement.scrollLeft}}},{key:"shouldBeginDrag",value:function(n,a,o){var s=this.getScrollPosition(),l_top=Math.abs(s.top-o.top),l_left=Math.abs(s.left-o.left),d=Math.abs(a.targetTouches[0].clientX-n.touches[0].clientX)-l_left,h=Math.abs(a.targetTouches[0].clientY-n.touches[0].clientY)-l_top,P=this.touchStartLongPress;return(d+h>P.delta||l_top>0||l_left>0)&&(this.timeLongPress.timerBegin=Date.now()),this.timeLongPress.timerEnd=Date.now(),this.timeLongPress.timerEnd-this.timeLongPress.timerBegin>=P.delay&&(this.disableScroll(),!0)}},{key:"enableScroll",value:function(){this.scrollContainer&&this.renderer.setStyle(this.scrollContainer.elementRef.nativeElement,"overflow",""),this.renderer.setStyle(this.document.body,"overflow","")}},{key:"disableScroll",value:function(){this.scrollContainer&&this.renderer.setStyle(this.scrollContainer.elementRef.nativeElement,"overflow","hidden"),this.renderer.setStyle(this.document.body,"overflow","hidden")}},{key:"hasScrollbar",value:function(){var n=this.getScrollElement();return n.scrollWidth>n.clientWidth||n.scrollHeight>n.clientHeight}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(yl),e.Y36(e.R0b),e.Y36(e.s_b),e.Y36($g,8),e.Y36(Pt.K0))},r.\u0275dir=e.lG2({type:r,selectors:[["","mwlDraggable",""]],inputs:{dragAxis:"dragAxis",dragSnapGrid:"dragSnapGrid",ghostDragEnabled:"ghostDragEnabled",showOriginalElementWhileDragging:"showOriginalElementWhileDragging",dragCursor:"dragCursor",autoScroll:"autoScroll",dropData:"dropData",validateDrag:"validateDrag",dragActiveClass:"dragActiveClass",ghostElementAppendTo:"ghostElementAppendTo",ghostElementTemplate:"ghostElementTemplate",touchStartLongPress:"touchStartLongPress"},outputs:{dragPointerDown:"dragPointerDown",dragStart:"dragStart",ghostElementCreated:"ghostElementCreated",dragging:"dragging",dragEnd:"dragEnd"},features:[e.TTD]}),r}(),T3=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r}(),Ks=f(58939);function Yi(r,i){return r<i?-1:r>i?1:r>=i?0:NaN}function Xs(r){return 1===r.length&&(r=function(r){return function(i,t){return Yi(r(i),t)}}(r)),{left:function(t,n,a,o){for(null==a&&(a=0),null==o&&(o=t.length);a<o;){var s=a+o>>>1;r(t[s],n)<0?a=s+1:o=s}return a},right:function(t,n,a,o){for(null==a&&(a=0),null==o&&(o=t.length);a<o;){var s=a+o>>>1;r(t[s],n)>0?o=s:a=s+1}return a}}}var qx=Xs(Yi),tC=qx.right,nC=qx.left,ac=tC;function rC(r,i){null==i&&(i=zx);for(var t=0,n=r.length-1,a=r[0],o=new Array(n<0?0:n);t<n;)o[t]=i(a,a=r[++t]);return o}function zx(r,i){return[r,i]}function ap(r,i,t){var s,l,d,h,n=r.length,a=i.length,o=new Array(n*a);for(null==t&&(t=zx),s=d=0;s<n;++s)for(h=r[s],l=0;l<a;++l,++d)o[d]=t(h,i[l]);return o}function w3(r,i){return i<r?-1:i>r?1:i>=r?0:NaN}function oc(r){return null===r?NaN:+r}function e_(r,i){var s,l,t=r.length,n=0,a=-1,o=0,d=0;if(null==i)for(;++a<t;)isNaN(s=oc(r[a]))||(d+=(l=s-o)*(s-(o+=l/++n)));else for(;++a<t;)isNaN(s=oc(i(r[a],a,r)))||(d+=(l=s-o)*(s-(o+=l/++n)));if(n>1)return d/(n-1)}function Ef(r,i){var t=e_(r,i);return t&&Math.sqrt(t)}function cm(r,i){var a,o,s,t=r.length,n=-1;if(null==i){for(;++n<t;)if(null!=(a=r[n])&&a>=a)for(o=s=a;++n<t;)null!=(a=r[n])&&(o>a&&(o=a),s<a&&(s=a))}else for(;++n<t;)if(null!=(a=i(r[n],n,r))&&a>=a)for(o=s=a;++n<t;)null!=(a=i(r[n],n,r))&&(o>a&&(o=a),s<a&&(s=a));return[o,s]}var iC=Array.prototype,t_=iC.slice,HB=iC.map;function op(r){return function(){return r}}function Wx(r){return r}function Os(r,i,t){r=+r,i=+i,t=(a=arguments.length)<2?(i=r,r=0,1):a<3?1:+t;for(var n=-1,a=0|Math.max(0,Math.ceil((i-r)/t)),o=new Array(a);++n<a;)o[n]=r+n*t;return o}var n_=Math.sqrt(50),Mf=Math.sqrt(10),aC=Math.sqrt(2);function dm(r,i,t){var n,o,s,l,a=-1;if(t=+t,(r=+r)==(i=+i)&&t>0)return[r];if((n=i<r)&&(o=r,r=i,i=o),0===(l=sp(r,i,t))||!isFinite(l))return[];if(l>0)for(r=Math.ceil(r/l),i=Math.floor(i/l),s=new Array(o=Math.ceil(i-r+1));++a<o;)s[a]=(r+a)*l;else for(r=Math.floor(r*l),i=Math.ceil(i*l),s=new Array(o=Math.ceil(r-i+1));++a<o;)s[a]=(r-a)/l;return n&&s.reverse(),s}function sp(r,i,t){var n=(i-r)/Math.max(0,t),a=Math.floor(Math.log(n)/Math.LN10),o=n/Math.pow(10,a);return a>=0?(o>=n_?10:o>=Mf?5:o>=aC?2:1)*Math.pow(10,a):-Math.pow(10,-a)/(o>=n_?10:o>=Mf?5:o>=aC?2:1)}function Af(r,i,t){var n=Math.abs(i-r)/Math.max(0,t),a=Math.pow(10,Math.floor(Math.log(n)/Math.LN10)),o=n/a;return o>=n_?a*=10:o>=Mf?a*=5:o>=aC&&(a*=2),i<r?-a:a}function Gx(r){return Math.ceil(Math.log(r.length)/Math.LN2)+1}function Br(){var r=Wx,i=cm,t=Gx;function n(a){var o,l,s=a.length,d=new Array(s);for(o=0;o<s;++o)d[o]=r(a[o],o,a);var h=i(d),C=h[0],P=h[1],N=t(d,C,P);Array.isArray(N)||(N=Af(C,P,N),N=Os(Math.ceil(C/N)*N,P,N));for(var q=N.length;N[0]<=C;)N.shift(),--q;for(;N[q-1]>P;)N.pop(),--q;var te,Q=new Array(q+1);for(o=0;o<=q;++o)(te=Q[o]=[]).x0=o>0?N[o-1]:C,te.x1=o<q?N[o]:P;for(o=0;o<s;++o)C<=(l=d[o])&&l<=P&&Q[ac(N,l,0,q)].push(a[o]);return Q}return n.value=function(a){return arguments.length?(r="function"==typeof a?a:op(a),n):r},n.domain=function(a){return arguments.length?(i="function"==typeof a?a:op([a[0],a[1]]),n):i},n.thresholds=function(a){return arguments.length?(t="function"==typeof a?a:Array.isArray(a)?op(t_.call(a)):op(a),n):t},n}function r_(r,i,t){if(null==t&&(t=oc),n=r.length){if((i=+i)<=0||n<2)return+t(r[0],0,r);if(i>=1)return+t(r[n-1],n-1,r);var n,a=(n-1)*i,o=Math.floor(a),s=+t(r[o],o,r);return s+(+t(r[o+1],o+1,r)-s)*(a-o)}}function VB(r,i,t){return r=HB.call(r,oc).sort(Yi),Math.ceil((t-i)/(2*(r_(r,.75)-r_(r,.25))*Math.pow(r.length,-1/3)))}function jB(r,i,t){return Math.ceil((t-i)/(3.5*Ef(r)*Math.pow(r.length,-1/3)))}function Yx(r,i){var a,o,t=r.length,n=-1;if(null==i){for(;++n<t;)if(null!=(a=r[n])&&a>=a)for(o=a;++n<t;)null!=(a=r[n])&&a>o&&(o=a)}else for(;++n<t;)if(null!=(a=i(r[n],n,r))&&a>=a)for(o=a;++n<t;)null!=(a=i(r[n],n,r))&&a>o&&(o=a);return o}function x3(r,i){var o,t=r.length,n=t,a=-1,s=0;if(null==i)for(;++a<t;)isNaN(o=oc(r[a]))?--n:s+=o;else for(;++a<t;)isNaN(o=oc(i(r[a],a,r)))?--n:s+=o;if(n)return s/n}function E3(r,i){var a,t=r.length,n=-1,o=[];if(null==i)for(;++n<t;)isNaN(a=oc(r[n]))||o.push(a);else for(;++n<t;)isNaN(a=oc(i(r[n],n,r)))||o.push(a);return r_(o.sort(Yi),.5)}function oC(r){for(var t,o,s,i=r.length,n=-1,a=0;++n<i;)a+=r[n].length;for(o=new Array(a);--i>=0;)for(t=(s=r[i]).length;--t>=0;)o[--a]=s[t];return o}function Jx(r,i){var a,o,t=r.length,n=-1;if(null==i){for(;++n<t;)if(null!=(a=r[n])&&a>=a)for(o=a;++n<t;)null!=(a=r[n])&&o>a&&(o=a)}else for(;++n<t;)if(null!=(a=i(r[n],n,r))&&a>=a)for(o=a;++n<t;)null!=(a=i(r[n],n,r))&&o>a&&(o=a);return o}function Yl(r,i){for(var t=i.length,n=new Array(t);t--;)n[t]=r[i[t]];return n}function M3(r,i){if(t=r.length){var t,o,n=0,a=0,s=r[a];for(null==i&&(i=Yi);++n<t;)(i(o=r[n],s)<0||0!==i(s,s))&&(s=o,a=n);if(0===i(s,s))return a}}function A3(r,i,t){for(var a,o,n=(null==t?r.length:t)-(i=null==i?0:+i);n;)o=Math.random()*n--|0,a=r[n+i],r[n+i]=r[o+i],r[o+i]=a;return r}function D3(r,i){var a,t=r.length,n=-1,o=0;if(null==i)for(;++n<t;)(a=+r[n])&&(o+=a);else for(;++n<t;)(a=+i(r[n],n,r))&&(o+=a);return o}function Qx(r){if(!(o=r.length))return[];for(var i=-1,t=Jx(r,pm),n=new Array(t);++i<t;)for(var o,a=-1,s=n[i]=new Array(o);++a<o;)s[a]=r[a][i];return n}function pm(r){return r.length}function O3(){return Qx(arguments)}var sC=Array.prototype.slice;function P3(r){return r}function I3(r){return"translate("+(r+.5)+",0)"}function cC(r){return"translate(0,"+(r+.5)+")"}function R3(r){return function(i){return+r(i)}}function N3(r){var i=Math.max(0,r.bandwidth()-1)/2;return r.round()&&(i=Math.round(i)),function(t){return+r(t)+i}}function qB(){return!this.__axis}function dC(r,i){var t=[],n=null,a=null,o=6,s=6,l=3,d=1===r||4===r?-1:1,h=4===r||2===r?"x":"y",C=1===r||3===r?I3:cC;function P(N){var q=null==n?i.ticks?i.ticks.apply(i,t):i.domain():n,Q=null==a?i.tickFormat?i.tickFormat.apply(i,t):P3:a,te=Math.max(o,0)+l,se=i.range(),Te=+se[0]+.5,$e=+se[se.length-1]+.5,ze=(i.bandwidth?N3:R3)(i.copy()),rt=N.selection?N.selection():N,dt=rt.selectAll(".domain").data([null]),Dt=rt.selectAll(".tick").data(q,i).order(),St=Dt.exit(),at=Dt.enter().append("g").attr("class","tick"),ut=Dt.select("line"),Wt=Dt.select("text");dt=dt.merge(dt.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),Dt=Dt.merge(at),ut=ut.merge(at.append("line").attr("stroke","currentColor").attr(h+"2",d*o)),Wt=Wt.merge(at.append("text").attr("fill","currentColor").attr(h,d*te).attr("dy",1===r?"0em":3===r?"0.71em":"0.32em")),N!==rt&&(dt=dt.transition(N),Dt=Dt.transition(N),ut=ut.transition(N),Wt=Wt.transition(N),St=St.transition(N).attr("opacity",1e-6).attr("transform",function(qt){return isFinite(qt=ze(qt))?C(qt):this.getAttribute("transform")}),at.attr("opacity",1e-6).attr("transform",function(qt){var it=this.parentNode.__axis;return C(it&&isFinite(it=it(qt))?it:ze(qt))})),St.remove(),dt.attr("d",4===r||2==r?s?"M"+d*s+","+Te+"H0.5V"+$e+"H"+d*s:"M0.5,"+Te+"V"+$e:s?"M"+Te+","+d*s+"V0.5H"+$e+"V"+d*s:"M"+Te+",0.5H"+$e),Dt.attr("opacity",1).attr("transform",function(qt){return C(ze(qt))}),ut.attr(h+"2",d*o),Wt.attr(h,d*te).text(Q),rt.filter(qB).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===r?"start":4===r?"end":"middle"),rt.each(function(){this.__axis=ze})}return P.scale=function(N){return arguments.length?(i=N,P):i},P.ticks=function(){return t=sC.call(arguments),P},P.tickArguments=function(N){return arguments.length?(t=null==N?[]:sC.call(N),P):t.slice()},P.tickValues=function(N){return arguments.length?(n=null==N?null:sC.call(N),P):n&&n.slice()},P.tickFormat=function(N){return arguments.length?(a=N,P):a},P.tickSize=function(N){return arguments.length?(o=s=+N,P):o},P.tickSizeInner=function(N){return arguments.length?(o=+N,P):o},P.tickSizeOuter=function(N){return arguments.length?(s=+N,P):s},P.tickPadding=function(N){return arguments.length?(l=+N,P):l},P}function Z3(r){return dC(1,r)}function L3(r){return dC(2,r)}function zB(r){return dC(3,r)}function F3(r){return dC(4,r)}var WB={value:function(){}};function pC(){for(var n,r=0,i=arguments.length,t={};r<i;++r){if(!(n=arguments[r]+"")||n in t||/[\s.]/.test(n))throw new Error("illegal type: "+n);t[n]=[]}return new fm(t)}function fm(r){this._=r}function GB(r,i){return r.trim().split(/^|\s+/).map(function(t){var n="",a=t.indexOf(".");if(a>=0&&(n=t.slice(a+1),t=t.slice(0,a)),t&&!i.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})}function YB(r,i){for(var a,t=0,n=r.length;t<n;++t)if((a=r[t]).name===i)return a.value}function $x(r,i,t){for(var n=0,a=r.length;n<a;++n)if(r[n].name===i){r[n]=WB,r=r.slice(0,n).concat(r.slice(n+1));break}return null!=t&&r.push({name:i,value:t}),r}fm.prototype=pC.prototype={constructor:fm,on:function(i,t){var o,n=this._,a=GB(i+"",n),s=-1,l=a.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++s<l;)if(o=(i=a[s]).type)n[o]=$x(n[o],i.name,t);else if(null==t)for(o in n)n[o]=$x(n[o],i.name,null);return this}for(;++s<l;)if((o=(i=a[s]).type)&&(o=YB(n[o],i.name)))return o},copy:function(){var i={},t=this._;for(var n in t)i[n]=t[n].slice();return new fm(i)},call:function(i,t){if((o=arguments.length-2)>0)for(var o,s,n=new Array(o),a=0;a<o;++a)n[a]=arguments[a+2];if(!this._.hasOwnProperty(i))throw new Error("unknown type: "+i);for(a=0,o=(s=this._[i]).length;a<o;++a)s[a].value.apply(t,n)},apply:function(i,t,n){if(!this._.hasOwnProperty(i))throw new Error("unknown type: "+i);for(var a=this._[i],o=0,s=a.length;o<s;++o)a[o].value.apply(t,n)}};var Df=pC,eE="http://www.w3.org/1999/xhtml",fC={svg:"http://www.w3.org/2000/svg",xhtml:eE,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function hm(r){var i=r+="",t=i.indexOf(":");return t>=0&&"xmlns"!==(i=r.slice(0,t))&&(r=r.slice(t+1)),fC.hasOwnProperty(i)?{space:fC[i],local:r}:r}function B3(r){return function(){var i=this.ownerDocument,t=this.namespaceURI;return t===eE&&i.documentElement.namespaceURI===eE?i.createElement(r):i.createElementNS(t,r)}}function U3(r){return function(){return this.ownerDocument.createElementNS(r.space,r.local)}}function i_(r){var i=hm(r);return(i.local?U3:B3)(i)}function H3(){}function a_(r){return null==r?H3:function(){return this.querySelector(r)}}function JB(){return[]}function o_(r){return null==r?JB:function(){return this.querySelectorAll(r)}}var tE=function(i){return function(){return this.matches(i)}};if("undefined"!=typeof document){var mm=document.documentElement;if(!mm.matches){var q3=mm.webkitMatchesSelector||mm.msMatchesSelector||mm.mozMatchesSelector||mm.oMatchesSelector;tE=function(i){return function(){return q3.call(this,i)}}}}var hC=tE;function rE(r){return new Array(r.length)}function mC(r,i){this.ownerDocument=r.ownerDocument,this.namespaceURI=r.namespaceURI,this._next=null,this._parent=r,this.__data__=i}function vC(r,i,t,n,a,o){for(var l,s=0,d=i.length,h=o.length;s<h;++s)(l=i[s])?(l.__data__=o[s],n[s]=l):t[s]=new mC(r,o[s]);for(;s<d;++s)(l=i[s])&&(a[s]=l)}function G3(r,i,t,n,a,o,s){var l,d,q,h={},C=i.length,P=o.length,N=new Array(C);for(l=0;l<C;++l)(d=i[l])&&(N[l]=q="$"+s.call(d,d.__data__,l,i),q in h?a[l]=d:h[q]=d);for(l=0;l<P;++l)(d=h[q="$"+s.call(r,o[l],l,o)])?(n[l]=d,d.__data__=o[l],h[q]=null):t[l]=new mC(r,o[l]);for(l=0;l<C;++l)(d=i[l])&&h[N[l]]===d&&(a[l]=d)}function iE(r,i){return r<i?-1:r>i?1:r>=i?0:NaN}function eR(r){return function(){this.removeAttribute(r)}}function oE(r){return function(){this.removeAttributeNS(r.space,r.local)}}function KB(r,i){return function(){this.setAttribute(r,i)}}function tR(r,i){return function(){this.setAttributeNS(r.space,r.local,i)}}function nR(r,i){return function(){var t=i.apply(this,arguments);null==t?this.removeAttribute(r):this.setAttribute(r,t)}}function rR(r,i){return function(){var t=i.apply(this,arguments);null==t?this.removeAttributeNS(r.space,r.local):this.setAttributeNS(r.space,r.local,t)}}function s_(r){return r.ownerDocument&&r.ownerDocument.defaultView||r.document&&r||r.defaultView}function XB(r){return function(){this.style.removeProperty(r)}}function iR(r,i,t){return function(){this.style.setProperty(r,i,t)}}function $B(r,i,t){return function(){var n=i.apply(this,arguments);null==n?this.style.removeProperty(r):this.style.setProperty(r,n,t)}}function Of(r,i){return r.style.getPropertyValue(i)||s_(r).getComputedStyle(r,null).getPropertyValue(i)}function yC(r){return function(){delete this[r]}}function aR(r,i){return function(){this[r]=i}}function oR(r,i){return function(){var t=i.apply(this,arguments);null==t?delete this[r]:this[r]=t}}function lR(r){return r.trim().split(/^|\s+/)}function bC(r){return r.classList||new sE(r)}function sE(r){this._node=r,this._names=lR(r.getAttribute("class")||"")}function lE(r,i){for(var t=bC(r),n=-1,a=i.length;++n<a;)t.add(i[n])}function bl(r,i){for(var t=bC(r),n=-1,a=i.length;++n<a;)t.remove(i[n])}function t4(r){return function(){lE(this,r)}}function uE(r){return function(){bl(this,r)}}function uR(r,i){return function(){(i.apply(this,arguments)?lE:bl)(this,r)}}function dE(){this.textContent=""}function pE(r){return function(){this.textContent=r}}function CC(r){return function(){var i=r.apply(this,arguments);this.textContent=null==i?"":i}}function TC(){this.innerHTML=""}function l_(r){return function(){this.innerHTML=r}}function u_(r){return function(){var i=r.apply(this,arguments);this.innerHTML=null==i?"":i}}function hE(){this.nextSibling&&this.parentNode.appendChild(this)}function dR(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function fR(){return null}function kC(){var r=this.parentNode;r&&r.removeChild(this)}function fs(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function gm(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}mC.prototype={constructor:mC,appendChild:function(i){return this._parent.insertBefore(i,this._next)},insertBefore:function(i,t){return this._parent.insertBefore(i,t)},querySelector:function(i){return this._parent.querySelector(i)},querySelectorAll:function(i){return this._parent.querySelectorAll(i)}},sE.prototype={add:function(i){this._names.indexOf(i)<0&&(this._names.push(i),this._node.setAttribute("class",this._names.join(" ")))},remove:function(i){var t=this._names.indexOf(i);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(i){return this._names.indexOf(i)>=0}};var _m={},xn=null;function wC(r,i,t){return r=_E(r,i,t),function(n){var a=n.relatedTarget;(!a||a!==this&&!(8&a.compareDocumentPosition(this)))&&r.call(this,n)}}function _E(r,i,t){return function(n){var a=xn;xn=n;try{r.call(this,this.__data__,i,t)}finally{xn=a}}}function vR(r){return r.trim().split(/^|\s+/).map(function(i){var t="",n=i.indexOf(".");return n>=0&&(t=i.slice(n+1),i=i.slice(0,n)),{type:i,name:t}})}function gR(r){return function(){var i=this.__on;if(i){for(var o,t=0,n=-1,a=i.length;t<a;++t)o=i[t],r.type&&o.type!==r.type||o.name!==r.name?i[++n]=o:this.removeEventListener(o.type,o.listener,o.capture);++n?i.length=n:delete this.__on}}}function _R(r,i,t){var n=_m.hasOwnProperty(r.type)?wC:_E;return function(a,o,s){var d,l=this.__on,h=n(i,o,s);if(l)for(var C=0,P=l.length;C<P;++C)if((d=l[C]).type===r.type&&d.name===r.name)return this.removeEventListener(d.type,d.listener,d.capture),this.addEventListener(d.type,d.listener=h,d.capture=t),void(d.value=i);this.addEventListener(r.type,h,t),d={type:r.type,name:r.name,value:i,listener:h,capture:t},l?l.push(d):this.__on=[d]}}function ym(r,i,t,n){var a=xn;r.sourceEvent=xn,xn=r;try{return i.apply(t,n)}finally{xn=a}}function bE(r,i,t){var n=s_(r),a=n.CustomEvent;"function"==typeof a?a=new a(i,t):(a=n.document.createEvent("Event"),t?(a.initEvent(i,t.bubbles,t.cancelable),a.detail=t.detail):a.initEvent(i,!1,!1)),r.dispatchEvent(a)}function yR(r,i){return function(){return bE(this,r,i)}}function Qc(r,i){return function(){return bE(this,r,i.apply(this,arguments))}}"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(_m={mouseenter:"mouseover",mouseleave:"mouseout"}));var Cm=[null];function hs(r,i){this._groups=r,this._parents=i}function CE(){return new hs([[document.documentElement]],Cm)}hs.prototype=CE.prototype={constructor:hs,select:function(r){"function"!=typeof r&&(r=a_(r));for(var i=this._groups,t=i.length,n=new Array(t),a=0;a<t;++a)for(var d,h,o=i[a],s=o.length,l=n[a]=new Array(s),C=0;C<s;++C)(d=o[C])&&(h=r.call(d,d.__data__,C,o))&&("__data__"in d&&(h.__data__=d.__data__),l[C]=h);return new hs(n,this._parents)},selectAll:function(r){"function"!=typeof r&&(r=o_(r));for(var i=this._groups,t=i.length,n=[],a=[],o=0;o<t;++o)for(var d,s=i[o],l=s.length,h=0;h<l;++h)(d=s[h])&&(n.push(r.call(d,d.__data__,h,s)),a.push(d));return new hs(n,a)},filter:function(r){"function"!=typeof r&&(r=hC(r));for(var i=this._groups,t=i.length,n=new Array(t),a=0;a<t;++a)for(var d,o=i[a],s=o.length,l=n[a]=[],h=0;h<s;++h)(d=o[h])&&r.call(d,d.__data__,h,o)&&l.push(d);return new hs(n,this._parents)},data:function(r,i){if(!r)return q=new Array(this.size()),h=-1,this.each(function(Dt){q[++h]=Dt}),q;var t=i?G3:vC,n=this._parents,a=this._groups;"function"!=typeof r&&(r=function(r){return function(){return r}}(r));for(var o=a.length,s=new Array(o),l=new Array(o),d=new Array(o),h=0;h<o;++h){var C=n[h],P=a[h],N=P.length,q=r.call(C,C&&C.__data__,h,n),Q=q.length,te=l[h]=new Array(Q),se=s[h]=new Array(Q);t(C,P,te,se,d[h]=new Array(N),q,i);for(var rt,dt,$e=0,ze=0;$e<Q;++$e)if(rt=te[$e]){for($e>=ze&&(ze=$e+1);!(dt=se[ze])&&++ze<Q;);rt._next=dt||null}}return(s=new hs(s,n))._enter=l,s._exit=d,s},enter:function(){return new hs(this._enter||this._groups.map(rE),this._parents)},exit:function(){return new hs(this._exit||this._groups.map(rE),this._parents)},merge:function(r){for(var i=this._groups,t=r._groups,n=i.length,o=Math.min(n,t.length),s=new Array(n),l=0;l<o;++l)for(var N,d=i[l],h=t[l],C=d.length,P=s[l]=new Array(C),q=0;q<C;++q)(N=d[q]||h[q])&&(P[q]=N);for(;l<n;++l)s[l]=i[l];return new hs(s,this._parents)},order:function(){for(var r=this._groups,i=-1,t=r.length;++i<t;)for(var s,n=r[i],a=n.length-1,o=n[a];--a>=0;)(s=n[a])&&(o&&o!==s.nextSibling&&o.parentNode.insertBefore(s,o),o=s);return this},sort:function(r){function i(P,N){return P&&N?r(P.__data__,N.__data__):!P-!N}r||(r=iE);for(var t=this._groups,n=t.length,a=new Array(n),o=0;o<n;++o){for(var h,s=t[o],l=s.length,d=a[o]=new Array(l),C=0;C<l;++C)(h=s[C])&&(d[C]=h);d.sort(i)}return new hs(a,this._parents).order()},call:function(){var r=arguments[0];return arguments[0]=this,r.apply(null,arguments),this},nodes:function(){var r=new Array(this.size()),i=-1;return this.each(function(){r[++i]=this}),r},node:function(){for(var r=this._groups,i=0,t=r.length;i<t;++i)for(var n=r[i],a=0,o=n.length;a<o;++a){var s=n[a];if(s)return s}return null},size:function(){var r=0;return this.each(function(){++r}),r},empty:function(){return!this.node()},each:function(r){for(var i=this._groups,t=0,n=i.length;t<n;++t)for(var l,a=i[t],o=0,s=a.length;o<s;++o)(l=a[o])&&r.call(l,l.__data__,o,a);return this},attr:function(r,i){var t=hm(r);if(arguments.length<2){var n=this.node();return t.local?n.getAttributeNS(t.space,t.local):n.getAttribute(t)}return this.each((null==i?t.local?oE:eR:"function"==typeof i?t.local?rR:nR:t.local?tR:KB)(t,i))},style:function(r,i,t){return arguments.length>1?this.each((null==i?XB:"function"==typeof i?$B:iR)(r,i,null==t?"":t)):Of(this.node(),r)},property:function(r,i){return arguments.length>1?this.each((null==i?yC:"function"==typeof i?oR:aR)(r,i)):this.node()[r]},classed:function(r,i){var t=lR(r+"");if(arguments.length<2){for(var n=bC(this.node()),a=-1,o=t.length;++a<o;)if(!n.contains(t[a]))return!1;return!0}return this.each(("function"==typeof i?uR:i?t4:uE)(t,i))},text:function(r){return arguments.length?this.each(null==r?dE:("function"==typeof r?CC:pE)(r)):this.node().textContent},html:function(r){return arguments.length?this.each(null==r?TC:("function"==typeof r?u_:l_)(r)):this.node().innerHTML},raise:function(){return this.each(hE)},lower:function(){return this.each(dR)},append:function(r){var i="function"==typeof r?r:i_(r);return this.select(function(){return this.appendChild(i.apply(this,arguments))})},insert:function(r,i){var t="function"==typeof r?r:i_(r),n=null==i?fR:"function"==typeof i?i:a_(i);return this.select(function(){return this.insertBefore(t.apply(this,arguments),n.apply(this,arguments)||null)})},remove:function(){return this.each(kC)},clone:function(r){return this.select(r?gm:fs)},datum:function(r){return arguments.length?this.property("__data__",r):this.node().__data__},on:function(r,i,t){var a,s,n=vR(r+""),o=n.length;if(!(arguments.length<2)){for(l=i?_R:gR,null==t&&(t=!1),a=0;a<o;++a)this.each(l(n[a],i,t));return this}var l=this.node().__on;if(l)for(var C,d=0,h=l.length;d<h;++d)for(a=0,C=l[d];a<o;++a)if((s=n[a]).type===C.type&&s.name===C.name)return C.value},dispatch:function(r,i){return this.each(("function"==typeof i?Qc:yR)(r,i))}};var sc=CE;function $r(r){return"string"==typeof r?new hs([[document.querySelector(r)]],[document.documentElement]):new hs([[r]],Cm)}function bR(r){return $r(i_(r).call(document.documentElement))}var SE=0;function xC(){return new EC}function EC(){this._="@"+(++SE).toString(36)}function MC(){for(var i,r=xn;i=r.sourceEvent;)r=i;return r}function d_(r,i){var t=r.ownerSVGElement||r;if(t.createSVGPoint){var n=t.createSVGPoint();return n.x=i.clientX,n.y=i.clientY,[(n=n.matrixTransform(r.getScreenCTM().inverse())).x,n.y]}var a=r.getBoundingClientRect();return[i.clientX-a.left-r.clientLeft,i.clientY-a.top-r.clientTop]}function oo(r){var i=MC();return i.changedTouches&&(i=i.changedTouches[0]),d_(r,i)}function Sm(r){return"string"==typeof r?new hs([document.querySelectorAll(r)],[document.documentElement]):new hs([null==r?[]:r],Cm)}function lc(r,i,t){arguments.length<3&&(t=i,i=MC().changedTouches);for(var o,n=0,a=i?i.length:0;n<a;++n)if((o=i[n]).identifier===t)return d_(r,o);return null}function p_(r,i){null==i&&(i=MC().touches);for(var t=0,n=i?i.length:0,a=new Array(n);t<n;++t)a[t]=d_(r,i[t]);return a}function Kc(){xn.stopImmediatePropagation()}function Pf(){xn.preventDefault(),xn.stopImmediatePropagation()}function f_(r){var i=r.document.documentElement,t=$r(r).on("dragstart.drag",Pf,!0);"onselectstart"in i?t.on("selectstart.drag",Pf,!0):(i.__noselect=i.style.MozUserSelect,i.style.MozUserSelect="none")}function h_(r,i){var t=r.document.documentElement,n=$r(r).on("dragstart.drag",null);i&&(n.on("click.drag",Pf,!0),setTimeout(function(){n.on("click.drag",null)},0)),"onselectstart"in t?n.on("selectstart.drag",null):(t.style.MozUserSelect=t.__noselect,delete t.__noselect)}function lp(r,i,t){r.prototype=i.prototype=t,t.constructor=r}function If(r,i){var t=Object.create(r.prototype);for(var n in i)t[n]=i[n];return t}function uc(){}EC.prototype=xC.prototype={constructor:EC,get:function(i){for(var t=this._;!(t in i);)if(!(i=i.parentNode))return;return i[t]},set:function(i,t){return i[this._]=t},remove:function(i){return this._ in i&&delete i[this._]},toString:function(){return this._}};var $c=1/.7,Tm="\\s*([+-]?\\d+)\\s*",m_="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",cc="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",up=/^#([0-9a-f]{3})$/,CR=/^#([0-9a-f]{6})$/,SR=new RegExp("^rgb\\("+[Tm,Tm,Tm]+"\\)$"),n4=new RegExp("^rgb\\("+[cc,cc,cc]+"\\)$"),r4=new RegExp("^rgba\\("+[Tm,Tm,Tm,m_]+"\\)$"),a4=new RegExp("^rgba\\("+[cc,cc,cc,m_]+"\\)$"),o4=new RegExp("^hsl\\("+[m_,cc,cc]+"\\)$"),s4=new RegExp("^hsla\\("+[m_,cc,cc,m_]+"\\)$"),TR={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function ed(r){var i;return r=(r+"").trim().toLowerCase(),(i=up.exec(r))?new Fo((i=parseInt(i[1],16))>>8&15|i>>4&240,i>>4&15|240&i,(15&i)<<4|15&i,1):(i=CR.exec(r))?kR(parseInt(i[1],16)):(i=SR.exec(r))?new Fo(i[1],i[2],i[3],1):(i=n4.exec(r))?new Fo(255*i[1]/100,255*i[2]/100,255*i[3]/100,1):(i=r4.exec(r))?wR(i[1],i[2],i[3],i[4]):(i=a4.exec(r))?wR(255*i[1]/100,255*i[2]/100,255*i[3]/100,i[4]):(i=o4.exec(r))?xR(i[1],i[2]/100,i[3]/100,1):(i=s4.exec(r))?xR(i[1],i[2]/100,i[3]/100,i[4]):TR.hasOwnProperty(r)?kR(TR[r]):"transparent"===r?new Fo(NaN,NaN,NaN,0):null}function kR(r){return new Fo(r>>16&255,r>>8&255,255&r,1)}function wR(r,i,t,n){return n<=0&&(r=i=t=NaN),new Fo(r,i,t,n)}function TE(r){return r instanceof uc||(r=ed(r)),r?new Fo((r=r.rgb()).r,r.g,r.b,r.opacity):new Fo}function v_(r,i,t,n){return 1===arguments.length?TE(r):new Fo(r,i,t,null==n?1:n)}function Fo(r,i,t,n){this.r=+r,this.g=+i,this.b=+t,this.opacity=+n}function xR(r,i,t,n){return n<=0?r=i=t=NaN:t<=0||t>=1?r=i=NaN:i<=0&&(r=NaN),new dc(r,i,t,n)}function l4(r){if(r instanceof dc)return new dc(r.h,r.s,r.l,r.opacity);if(r instanceof uc||(r=ed(r)),!r)return new dc;if(r instanceof dc)return r;var i=(r=r.rgb()).r/255,t=r.g/255,n=r.b/255,a=Math.min(i,t,n),o=Math.max(i,t,n),s=NaN,l=o-a,d=(o+a)/2;return l?(s=i===o?(t-n)/l+6*(t<n):t===o?(n-i)/l+2:(i-t)/l+4,l/=d<.5?o+a:2-o-a,s*=60):l=d>0&&d<1?0:s,new dc(s,l,d,r.opacity)}function AC(r,i,t,n){return 1===arguments.length?l4(r):new dc(r,i,t,null==n?1:n)}function dc(r,i,t,n){this.h=+r,this.s=+i,this.l=+t,this.opacity=+n}function u(r,i,t){return 255*(r<60?i+(t-i)*r/60:r<180?t:r<240?i+(t-i)*(240-r)/60:i)}lp(uc,ed,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),lp(Fo,v_,If(uc,{brighter:function(i){return i=null==i?$c:Math.pow($c,i),new Fo(this.r*i,this.g*i,this.b*i,this.opacity)},darker:function(i){return i=null==i?.7:Math.pow(.7,i),new Fo(this.r*i,this.g*i,this.b*i,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var i=this.opacity;return(1===(i=isNaN(i)?1:Math.max(0,Math.min(1,i)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===i?")":", "+i+")")}})),lp(dc,AC,If(uc,{brighter:function(i){return i=null==i?$c:Math.pow($c,i),new dc(this.h,this.s,this.l*i,this.opacity)},darker:function(i){return i=null==i?.7:Math.pow(.7,i),new dc(this.h,this.s,this.l*i,this.opacity)},rgb:function(){var i=this.h%360+360*(this.h<0),t=isNaN(i)||isNaN(this.s)?0:this.s,n=this.l,a=n+(n<.5?n:1-n)*t,o=2*n-a;return new Fo(u(i>=240?i-240:i+120,o,a),u(i,o,a),u(i<120?i+240:i-120,o,a),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var c=Math.PI/180,p=180/Math.PI,_=.96422,H=.82521,z=4/29,ee=6/29,ve=3*ee*ee;function Je(r){if(r instanceof ct)return new ct(r.l,r.a,r.b,r.opacity);if(r instanceof wr){if(isNaN(r.h))return new ct(r.l,0,0,r.opacity);var i=r.h*c;return new ct(r.l,Math.cos(i)*r.c,Math.sin(i)*r.c,r.opacity)}r instanceof Fo||(r=TE(r));var s,l,t=Nn(r.r),n=Nn(r.g),a=Nn(r.b),o=Mt((.2225045*t+.7168786*n+.0606169*a)/1);return t===n&&n===a?s=l=o:(s=Mt((.4360747*t+.3850649*n+.1430804*a)/_),l=Mt((.0139322*t+.0971045*n+.7141733*a)/H)),new ct(116*o-16,500*(s-o),200*(o-l),r.opacity)}function We(r,i,t,n){return 1===arguments.length?Je(r):new ct(r,i,t,null==n?1:n)}function ct(r,i,t,n){this.l=+r,this.a=+i,this.b=+t,this.opacity=+n}function Mt(r){return r>.008856451679035631?Math.pow(r,1/3):r/ve+z}function zt(r){return r>ee?r*r*r:ve*(r-z)}function dn(r){return 255*(r<=.0031308?12.92*r:1.055*Math.pow(r,1/2.4)-.055)}function Nn(r){return(r/=255)<=.04045?r/12.92:Math.pow((r+.055)/1.055,2.4)}function vn(r){if(r instanceof wr)return new wr(r.h,r.c,r.l,r.opacity);if(r instanceof ct||(r=Je(r)),0===r.a&&0===r.b)return new wr(NaN,0,r.l,r.opacity);var i=Math.atan2(r.b,r.a)*p;return new wr(i<0?i+360:i,Math.sqrt(r.a*r.a+r.b*r.b),r.l,r.opacity)}function qn(r,i,t,n){return 1===arguments.length?vn(r):new wr(r,i,t,null==n?1:n)}function wr(r,i,t,n){this.h=+r,this.c=+i,this.l=+t,this.opacity=+n}lp(ct,We,If(uc,{brighter:function(i){return new ct(this.l+18*(null==i?1:i),this.a,this.b,this.opacity)},darker:function(i){return new ct(this.l-18*(null==i?1:i),this.a,this.b,this.opacity)},rgb:function(){var i=(this.l+16)/116,t=isNaN(this.a)?i:i+this.a/500,n=isNaN(this.b)?i:i-this.b/200;return new Fo(dn(3.1338561*(t=_*zt(t))-1.6168667*(i=1*zt(i))-.4906146*(n=H*zt(n))),dn(-.9787684*t+1.9161415*i+.033454*n),dn(.0719453*t-.2289914*i+1.4052427*n),this.opacity)}})),lp(wr,qn,If(uc,{brighter:function(i){return new wr(this.h,this.c,this.l+18*(null==i?1:i),this.opacity)},darker:function(i){return new wr(this.h,this.c,this.l-18*(null==i?1:i),this.opacity)},rgb:function(){return Je(this).rgb()}}));var Di=1.78277,sa=-.29227,Na=-.90649,Za=1.97294,Ql=Za*Na,pc=Za*Di,td=Di*sa- -.14861*Na;function nd(r){if(r instanceof Ps)return new Ps(r.h,r.s,r.l,r.opacity);r instanceof Fo||(r=TE(r));var t=r.g/255,n=r.b/255,a=(td*n+Ql*(r.r/255)-pc*t)/(td+Ql-pc),o=n-a,s=(Za*(t-a)-sa*o)/Na,l=Math.sqrt(s*s+o*o)/(Za*a*(1-a)),d=l?Math.atan2(s,o)*p-120:NaN;return new Ps(d<0?d+360:d,l,a,r.opacity)}function mo(r,i,t,n){return 1===arguments.length?nd(r):new Ps(r,i,t,null==n?1:n)}function Ps(r,i,t,n){this.h=+r,this.s=+i,this.l=+t,this.opacity=+n}function cp(r,i,t,n,a){var o=r*r,s=o*r;return((1-3*r+3*o-s)*i+(4-6*o+3*s)*t+(1+3*r+3*o-3*s)*n+s*a)/6}function km(r){var i=r.length-1;return function(t){var n=t<=0?t=0:t>=1?(t=1,i-1):Math.floor(t*i),a=r[n],o=r[n+1];return cp((t-n/i)*i,n>0?r[n-1]:2*a-o,a,o,n<i-1?r[n+2]:2*o-a)}}function DC(r){var i=r.length;return function(t){var n=Math.floor(((t%=1)<0?++t:t)*i);return cp((t-n/i)*i,r[(n+i-1)%i],r[n%i],r[(n+1)%i],r[(n+2)%i])}}function g_(r){return function(){return r}}function kE(r,i){return function(t){return r+t*i}}function OC(r,i){var t=i-r;return t?kE(r,t>180||t<-180?t-360*Math.round(t/360):t):g_(isNaN(r)?i:r)}function xo(r,i){var t=i-r;return t?kE(r,t):g_(isNaN(r)?i:r)}lp(Ps,mo,If(uc,{brighter:function(i){return i=null==i?$c:Math.pow($c,i),new Ps(this.h,this.s,this.l*i,this.opacity)},darker:function(i){return i=null==i?.7:Math.pow(.7,i),new Ps(this.h,this.s,this.l*i,this.opacity)},rgb:function(){var i=isNaN(this.h)?0:(this.h+120)*c,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),a=Math.cos(i),o=Math.sin(i);return new Fo(255*(t+n*(-.14861*a+Di*o)),255*(t+n*(sa*a+Na*o)),255*(t+n*(Za*a)),this.opacity)}}));var wm=function r(i){var t=function(r){return 1==(r=+r)?xo:function(i,t){return t-i?function(r,i,t){return r=Math.pow(r,t),i=Math.pow(i,t)-r,t=1/t,function(n){return Math.pow(r+n*i,t)}}(i,t,r):g_(isNaN(i)?t:i)}}(i);function n(a,o){var s=t((a=v_(a)).r,(o=v_(o)).r),l=t(a.g,o.g),d=t(a.b,o.b),h=xo(a.opacity,o.opacity);return function(C){return a.r=s(C),a.g=l(C),a.b=d(C),a.opacity=h(C),a+""}}return n.gamma=r,n}(1);function xE(r){return function(i){var s,l,t=i.length,n=new Array(t),a=new Array(t),o=new Array(t);for(s=0;s<t;++s)l=v_(i[s]),n[s]=l.r||0,a[s]=l.g||0,o[s]=l.b||0;return n=r(n),a=r(a),o=r(o),l.opacity=1,function(d){return l.r=n(d),l.g=a(d),l.b=o(d),l+""}}}var PC=xE(km),MR=xE(DC);function EE(r,i){var s,t=i?i.length:0,n=r?Math.min(t,r.length):0,a=new Array(n),o=new Array(t);for(s=0;s<n;++s)a[s]=IC(r[s],i[s]);for(;s<t;++s)o[s]=i[s];return function(l){for(s=0;s<n;++s)o[s]=a[s](l);return o}}function u4(r,i){var t=new Date;return i-=r=+r,function(n){return t.setTime(r+i*n),t}}function Kl(r,i){return i-=r=+r,function(t){return r+i*t}}function c4(r,i){var a,t={},n={};for(a in(null===r||"object"!=typeof r)&&(r={}),(null===i||"object"!=typeof i)&&(i={}),i)a in r?t[a]=IC(r[a],i[a]):n[a]=i[a];return function(o){for(a in t)n[a]=t[a](o);return n}}var AR=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,DR=new RegExp(AR.source,"g");function OR(r,i){var n,a,o,t=AR.lastIndex=DR.lastIndex=0,s=-1,l=[],d=[];for(r+="",i+="";(n=AR.exec(r))&&(a=DR.exec(i));)(o=a.index)>t&&(o=i.slice(t,o),l[s]?l[s]+=o:l[++s]=o),(n=n[0])===(a=a[0])?l[s]?l[s]+=a:l[++s]=a:(l[++s]=null,d.push({i:s,x:Kl(n,a)})),t=DR.lastIndex;return t<i.length&&(o=i.slice(t),l[s]?l[s]+=o:l[++s]=o),l.length<2?d[0]?function(r){return function(i){return r(i)+""}}(d[0].x):function(r){return function(){return r}}(i):(i=d.length,function(h){for(var P,C=0;C<i;++C)l[(P=d[C]).i]=P.x(h);return l.join("")})}function IC(r,i){var n,t=typeof i;return null==i||"boolean"===t?g_(i):("number"===t?Kl:"string"===t?(n=ed(i))?(i=n,wm):OR:i instanceof ed?wm:i instanceof Date?u4:Array.isArray(i)?EE:"function"!=typeof i.valueOf&&"function"!=typeof i.toString||isNaN(i)?c4:Kl)(r,i)}function d4(r,i){return i-=r=+r,function(t){return Math.round(r+i*t)}}var RC,IR,h4,ME,p4=180/Math.PI,PR={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function f4(r,i,t,n,a,o){var s,l,d;return(s=Math.sqrt(r*r+i*i))&&(r/=s,i/=s),(d=r*t+i*n)&&(t-=r*d,n-=i*d),(l=Math.sqrt(t*t+n*n))&&(t/=l,n/=l,d/=l),r*n<i*t&&(r=-r,i=-i,d=-d,s=-s),{translateX:a,translateY:o,rotate:Math.atan2(i,r)*p4,skewX:Math.atan(d)*p4,scaleX:s,scaleY:l}}function m4(r,i,t,n){function a(h){return h.length?h.pop()+" ":""}return function(h,C){var P=[],N=[];return h=r(h),C=r(C),function(h,C,P,N,q,Q){if(h!==P||C!==N){var te=q.push("translate(",null,i,null,t);Q.push({i:te-4,x:Kl(h,P)},{i:te-2,x:Kl(C,N)})}else(P||N)&&q.push("translate("+P+i+N+t)}(h.translateX,h.translateY,C.translateX,C.translateY,P,N),function(h,C,P,N){h!==C?(h-C>180?C+=360:C-h>180&&(h+=360),N.push({i:P.push(a(P)+"rotate(",null,n)-2,x:Kl(h,C)})):C&&P.push(a(P)+"rotate("+C+n)}(h.rotate,C.rotate,P,N),function(h,C,P,N){h!==C?N.push({i:P.push(a(P)+"skewX(",null,n)-2,x:Kl(h,C)}):C&&P.push(a(P)+"skewX("+C+n)}(h.skewX,C.skewX,P,N),function(h,C,P,N,q,Q){if(h!==P||C!==N){var te=q.push(a(q)+"scale(",null,",",null,")");Q.push({i:te-4,x:Kl(h,P)},{i:te-2,x:Kl(C,N)})}else(1!==P||1!==N)&&q.push(a(q)+"scale("+P+","+N+")")}(h.scaleX,h.scaleY,C.scaleX,C.scaleY,P,N),h=C=null,function(q){for(var se,Q=-1,te=N.length;++Q<te;)P[(se=N[Q]).i]=se.x(q);return P.join("")}}}var v4=m4(function(r){return"none"===r?PR:(RC||(RC=document.createElement("DIV"),IR=document.documentElement,h4=document.defaultView),RC.style.transform=r,r=h4.getComputedStyle(IR.appendChild(RC),null).getPropertyValue("transform"),IR.removeChild(RC),f4(+(r=r.slice(7,-1).split(","))[0],+r[1],+r[2],+r[3],+r[4],+r[5]))},"px, ","px)","deg)"),g4=m4(function(r){return null!=r&&(ME||(ME=document.createElementNS("http://www.w3.org/2000/svg","g")),ME.setAttribute("transform",r),r=ME.transform.baseVal.consolidate())?f4((r=r.matrix).a,r.b,r.c,r.d,r.e,r.f):PR},", ",")",")"),NC=Math.SQRT2;function y4(r){return((r=Math.exp(r))+1/r)/2}function b4(r,i){var P,N,t=r[0],n=r[1],a=r[2],l=i[2],d=i[0]-t,h=i[1]-n,C=d*d+h*h;if(C<1e-12)N=Math.log(l/a)/NC,P=function(ze){return[t+ze*d,n+ze*h,a*Math.exp(NC*ze*N)]};else{var q=Math.sqrt(C),Q=(l*l-a*a+4*C)/(2*a*2*q),te=(l*l-a*a-4*C)/(2*l*2*q),se=Math.log(Math.sqrt(Q*Q+1)-Q),Te=Math.log(Math.sqrt(te*te+1)-te);N=(Te-se)/NC,P=function(ze){var rt=ze*N,dt=y4(se),Dt=a/(2*q)*(dt*function(r){return((r=Math.exp(2*r))-1)/(r+1)}(NC*rt+se)-function(r){return((r=Math.exp(r))-1/r)/2}(se));return[t+Dt*d,n+Dt*h,a*dt/y4(NC*rt+se)]}}return P.duration=1e3*N,P}function C4(r){return function(i,t){var n=r((i=AC(i)).h,(t=AC(t)).h),a=xo(i.s,t.s),o=xo(i.l,t.l),s=xo(i.opacity,t.opacity);return function(l){return i.h=n(l),i.s=a(l),i.l=o(l),i.opacity=s(l),i+""}}}var GW=C4(OC),YW=C4(xo);function JW(r,i){var t=xo((r=We(r)).l,(i=We(i)).l),n=xo(r.a,i.a),a=xo(r.b,i.b),o=xo(r.opacity,i.opacity);return function(s){return r.l=t(s),r.a=n(s),r.b=a(s),r.opacity=o(s),r+""}}function S4(r){return function(i,t){var n=r((i=qn(i)).h,(t=qn(t)).h),a=xo(i.c,t.c),o=xo(i.l,t.l),s=xo(i.opacity,t.opacity);return function(l){return i.h=n(l),i.c=a(l),i.l=o(l),i.opacity=s(l),i+""}}}var QW=S4(OC),KW=S4(xo);function T4(r){return function i(t){function n(a,o){var s=r((a=mo(a)).h,(o=mo(o)).h),l=xo(a.s,o.s),d=xo(a.l,o.l),h=xo(a.opacity,o.opacity);return function(C){return a.h=s(C),a.s=l(C),a.l=d(Math.pow(C,t)),a.opacity=h(C),a+""}}return t=+t,n.gamma=i,n}(1)}var XW=T4(OC),AE=T4(xo);function $W(r,i){for(var t=new Array(i),n=0;n<i;++n)t[n]=r(n/(i-1));return t}var DE,FC,__=0,ZC=0,LC=0,OE=0,xm=0,PE=0,BC="object"==typeof performance&&performance.now?performance:Date,w4="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(r){setTimeout(r,17)};function y_(){return xm||(w4(eG),xm=BC.now()+PE)}function eG(){xm=0}function UC(){this._call=this._time=this._next=null}function IE(r,i,t){var n=new UC;return n.restart(r,i,t),n}function x4(){y_(),++__;for(var i,r=DE;r;)(i=xm-r._time)>=0&&r._call.call(null,i),r=r._next;--__}function E4(){xm=(OE=BC.now())+PE,__=ZC=0;try{x4()}finally{__=0,function(){for(var r,t,i=DE,n=1/0;i;)i._call?(n>i._time&&(n=i._time),r=i,i=i._next):(t=i._next,i._next=null,i=r?r._next=t:DE=t);FC=r,NR(n)}(),xm=0}}function tG(){var r=BC.now(),i=r-OE;i>1e3&&(PE-=i,OE=r)}function NR(r){__||(ZC&&(ZC=clearTimeout(ZC)),r-xm>24?(r<1/0&&(ZC=setTimeout(E4,r-BC.now()-PE)),LC&&(LC=clearInterval(LC))):(LC||(OE=BC.now(),LC=setInterval(tG,1e3)),__=1,w4(E4)))}function ZR(r,i,t){var n=new UC;return n.restart(function(a){n.stop(),r(a+i)},i=null==i?0:+i,t),n}UC.prototype=IE.prototype={constructor:UC,restart:function(i,t,n){if("function"!=typeof i)throw new TypeError("callback is not a function");n=(null==n?y_():+n)+(null==t?0:+t),!this._next&&FC!==this&&(FC?FC._next=this:DE=this,FC=this),this._call=i,this._time=n,NR()},stop:function(){this._call&&(this._call=null,this._time=1/0,NR())}};var rG=Df("start","end","interrupt"),iG=[];function ZE(r,i,t,n,a,o){var s=r.__transition;if(s){if(t in s)return}else r.__transition={};!function(r,i,t){var a,n=r.__transition;function s(h){var C,P,N,q;if(1!==t.state)return d();for(C in n)if((q=n[C]).name===t.name){if(3===q.state)return ZR(s);4===q.state?(q.state=6,q.timer.stop(),q.on.call("interrupt",r,r.__data__,q.index,q.group),delete n[C]):+C<i&&(q.state=6,q.timer.stop(),delete n[C])}if(ZR(function(){3===t.state&&(t.state=4,t.timer.restart(l,t.delay,t.time),l(h))}),t.state=2,t.on.call("start",r,r.__data__,t.index,t.group),2===t.state){for(t.state=3,a=new Array(N=t.tween.length),C=0,P=-1;C<N;++C)(q=t.tween[C].value.call(r,r.__data__,t.index,t.group))&&(a[++P]=q);a.length=P+1}}function l(h){for(var C=h<t.duration?t.ease.call(null,h/t.duration):(t.timer.restart(d),t.state=5,1),P=-1,N=a.length;++P<N;)a[P].call(null,C);5===t.state&&(t.on.call("end",r,r.__data__,t.index,t.group),d())}function d(){for(var h in t.state=6,t.timer.stop(),delete n[i],n)return;delete r.__transition}n[i]=t,t.timer=IE(function(h){t.state=1,t.timer.restart(s,t.delay,t.time),t.delay<=h&&s(h-t.delay)},0,t.time)}(r,t,{name:i,index:n,group:a,on:rG,tween:iG,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function UR(r,i){var t=fc(r,i);if(t.state>0)throw new Error("too late; already scheduled");return t}function Em(r,i){var t=fc(r,i);if(t.state>2)throw new Error("too late; already started");return t}function fc(r,i){var t=r.__transition;if(!t||!(t=t[i]))throw new Error("transition not found");return t}function Mm(r,i){var n,a,s,t=r.__transition,o=!0;if(t){for(s in i=null==i?null:i+"",t)(n=t[s]).name===i?(a=n.state>2&&n.state<5,n.state=6,n.timer.stop(),a&&n.on.call("interrupt",r,r.__data__,n.index,n.group),delete t[s]):o=!1;o&&delete r.__transition}}function sG(r,i){var t,n;return function(){var a=Em(this,r),o=a.tween;if(o!==t)for(var s=0,l=(n=t=o).length;s<l;++s)if(n[s].name===i){(n=n.slice()).splice(s,1);break}a.tween=n}}function lG(r,i,t){var n,a;if("function"!=typeof t)throw new Error;return function(){var o=Em(this,r),s=o.tween;if(s!==n){a=(n=s).slice();for(var l={name:i,value:t},d=0,h=a.length;d<h;++d)if(a[d].name===i){a[d]=l;break}d===h&&a.push(l)}o.tween=a}}function HR(r,i,t){var n=r._id;return r.each(function(){var a=Em(this,n);(a.value||(a.value={}))[i]=t.apply(this,arguments)}),function(a){return fc(a,n).value[i]}}function D4(r,i){var t;return("number"==typeof i?Kl:i instanceof ed?wm:(t=ed(i))?(i=t,wm):OR)(r,i)}function cG(r){return function(){this.removeAttribute(r)}}function dG(r){return function(){this.removeAttributeNS(r.space,r.local)}}function pG(r,i,t){var n,a;return function(){var o=this.getAttribute(r);return o===t?null:o===n?a:a=i(n=o,t)}}function fG(r,i,t){var n,a;return function(){var o=this.getAttributeNS(r.space,r.local);return o===t?null:o===n?a:a=i(n=o,t)}}function hG(r,i,t){var n,a,o;return function(){var s,l=t(this);return null==l?void this.removeAttribute(r):(s=this.getAttribute(r))===l?null:s===n&&l===a?o:o=i(n=s,a=l)}}function mG(r,i,t){var n,a,o;return function(){var s,l=t(this);return null==l?void this.removeAttributeNS(r.space,r.local):(s=this.getAttributeNS(r.space,r.local))===l?null:s===n&&l===a?o:o=i(n=s,a=l)}}function gG(r,i){function t(){var n=this,a=i.apply(n,arguments);return a&&function(o){n.setAttributeNS(r.space,r.local,a(o))}}return t._value=i,t}function _G(r,i){function t(){var n=this,a=i.apply(n,arguments);return a&&function(o){n.setAttribute(r,a(o))}}return t._value=i,t}function bG(r,i){return function(){UR(this,r).delay=+i.apply(this,arguments)}}function CG(r,i){return i=+i,function(){UR(this,r).delay=i}}function TG(r,i){return function(){Em(this,r).duration=+i.apply(this,arguments)}}function kG(r,i){return i=+i,function(){Em(this,r).duration=i}}function xG(r,i){if("function"!=typeof i)throw new Error;return function(){Em(this,r).ease=i}}function OG(r,i,t){var n,a,o=function(r){return(r+"").trim().split(/^|\s+/).every(function(i){var t=i.indexOf(".");return t>=0&&(i=i.slice(0,t)),!i||"start"===i})}(i)?UR:Em;return function(){var s=o(this,r),l=s.on;l!==n&&(a=(n=l).copy()).on(i,t),s.on=a}}var LG=sc.prototype.constructor;function qG(r,i,t){function n(){var a=this,o=i.apply(a,arguments);return o&&function(s){a.style.setProperty(r,o(s),t)}}return n._value=i,n}var QG=0;function rd(r,i,t,n){this._groups=r,this._parents=i,this._name=t,this._id=n}function LE(r){return sc().transition(r)}function O4(){return++QG}var b_=sc.prototype;function KG(r){return r*r*r}function XG(r){return--r*r*r+1}function VR(r){return((r*=2)<=1?r*r*r:(r-=2)*r*r+2)/2}rd.prototype=LE.prototype={constructor:rd,select:function(r){var i=this._name,t=this._id;"function"!=typeof r&&(r=a_(r));for(var n=this._groups,a=n.length,o=new Array(a),s=0;s<a;++s)for(var C,P,l=n[s],d=l.length,h=o[s]=new Array(d),N=0;N<d;++N)(C=l[N])&&(P=r.call(C,C.__data__,N,l))&&("__data__"in C&&(P.__data__=C.__data__),h[N]=P,ZE(h[N],i,t,N,h,fc(C,t)));return new rd(o,this._parents,i,t)},selectAll:function(r){var i=this._name,t=this._id;"function"!=typeof r&&(r=o_(r));for(var n=this._groups,a=n.length,o=[],s=[],l=0;l<a;++l)for(var C,d=n[l],h=d.length,P=0;P<h;++P)if(C=d[P]){for(var q,N=r.call(C,C.__data__,P,d),Q=fc(C,t),te=0,se=N.length;te<se;++te)(q=N[te])&&ZE(q,i,t,te,N,Q);o.push(N),s.push(C)}return new rd(o,s,i,t)},filter:function(r){"function"!=typeof r&&(r=hC(r));for(var i=this._groups,t=i.length,n=new Array(t),a=0;a<t;++a)for(var d,o=i[a],s=o.length,l=n[a]=[],h=0;h<s;++h)(d=o[h])&&r.call(d,d.__data__,h,o)&&l.push(d);return new rd(n,this._parents,this._name,this._id)},merge:function(r){if(r._id!==this._id)throw new Error;for(var i=this._groups,t=r._groups,n=i.length,o=Math.min(n,t.length),s=new Array(n),l=0;l<o;++l)for(var N,d=i[l],h=t[l],C=d.length,P=s[l]=new Array(C),q=0;q<C;++q)(N=d[q]||h[q])&&(P[q]=N);for(;l<n;++l)s[l]=i[l];return new rd(s,this._parents,this._name,this._id)},selection:function(){return new LG(this._groups,this._parents)},transition:function(){for(var r=this._name,i=this._id,t=O4(),n=this._groups,a=n.length,o=0;o<a;++o)for(var d,s=n[o],l=s.length,h=0;h<l;++h)if(d=s[h]){var C=fc(d,i);ZE(d,r,t,h,s,{time:C.time+C.delay+C.duration,delay:0,duration:C.duration,ease:C.ease})}return new rd(n,this._parents,r,t)},call:b_.call,nodes:b_.nodes,node:b_.node,size:b_.size,empty:b_.empty,each:b_.each,on:function(r,i){var t=this._id;return arguments.length<2?fc(this.node(),t).on.on(r):this.each(OG(t,r,i))},attr:function(r,i){var t=hm(r),n="transform"===t?g4:D4;return this.attrTween(r,"function"==typeof i?(t.local?mG:hG)(t,n,HR(this,"attr."+r,i)):null==i?(t.local?dG:cG)(t):(t.local?fG:pG)(t,n,i+""))},attrTween:function(r,i){var t="attr."+r;if(arguments.length<2)return(t=this.tween(t))&&t._value;if(null==i)return this.tween(t,null);if("function"!=typeof i)throw new Error;var n=hm(r);return this.tween(t,(n.local?gG:_G)(n,i))},style:function(r,i,t){var n="transform"==(r+="")?v4:D4;return null==i?this.styleTween(r,function(r,i){var t,n,a;return function(){var o=Of(this,r),s=(this.style.removeProperty(r),Of(this,r));return o===s?null:o===t&&s===n?a:a=i(t=o,n=s)}}(r,n)).on("end.style."+r,function(r){return function(){this.style.removeProperty(r)}}(r)):this.styleTween(r,"function"==typeof i?function(r,i,t){var n,a,o;return function(){var s=Of(this,r),l=t(this);return null==l&&(this.style.removeProperty(r),l=Of(this,r)),s===l?null:s===n&&l===a?o:o=i(n=s,a=l)}}(r,n,HR(this,"style."+r,i)):function(r,i,t){var n,a;return function(){var o=Of(this,r);return o===t?null:o===n?a:a=i(n=o,t)}}(r,n,i+""),t)},styleTween:function(r,i,t){var n="style."+(r+="");if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==i)return this.tween(n,null);if("function"!=typeof i)throw new Error;return this.tween(n,qG(r,i,null==t?"":t))},text:function(r){return this.tween("text","function"==typeof r?function(r){return function(){var i=r(this);this.textContent=null==i?"":i}}(HR(this,"text",r)):function(r){return function(){this.textContent=r}}(null==r?"":r+""))},remove:function(){return this.on("end.remove",(r=this._id,function(){var i=this.parentNode;for(var t in this.__transition)if(+t!==r)return;i&&i.removeChild(this)}));var r},tween:function(r,i){var t=this._id;if(r+="",arguments.length<2){for(var s,n=fc(this.node(),t).tween,a=0,o=n.length;a<o;++a)if((s=n[a]).name===r)return s.value;return null}return this.each((null==i?sG:lG)(t,r,i))},delay:function(r){var i=this._id;return arguments.length?this.each(("function"==typeof r?bG:CG)(i,r)):fc(this.node(),i).delay},duration:function(r){var i=this._id;return arguments.length?this.each(("function"==typeof r?TG:kG)(i,r)):fc(this.node(),i).duration},ease:function(r){var i=this._id;return arguments.length?this.each(xG(i,r)):fc(this.node(),i).ease}};var jR={time:null,delay:0,duration:250,ease:VR};function $G(r,i){for(var t;!(t=r.__transition)||!(t=t[i]);)if(!(r=r.parentNode))return jR.time=y_(),jR;return t}sc.prototype.interrupt=function(r){return this.each(function(){Mm(this,r)})},sc.prototype.transition=function(r){var i,t;r instanceof rd?(i=r._id,r=r._name):(i=O4(),(t=jR).time=y_(),r=null==r?null:r+"");for(var n=this._groups,a=n.length,o=0;o<a;++o)for(var d,s=n[o],l=s.length,h=0;h<l;++h)(d=s[h])&&ZE(d,r,i,h,s,t||$G(d,i));return new rd(n,this._parents,r,i)};var tY=[null];function nY(r,i){var n,a,t=r.__transition;if(t)for(a in i=null==i?null:i+"",t)if((n=t[a]).state>1&&n.name===i)return new rd([[r]],tY,i,+a);return null}function P4(r){return function(){return r}}function rY(r,i,t){this.target=r,this.type=i,this.selection=t}function I4(){xn.stopImmediatePropagation()}function FE(){xn.preventDefault(),xn.stopImmediatePropagation()}var R4={name:"drag"},qR={name:"space"},C_={name:"handle"},S_={name:"center"},BE={name:"x",handles:["e","w"].map(HC),input:function(i,t){return i&&[[i[0],t[0][1]],[i[1],t[1][1]]]},output:function(i){return i&&[i[0][0],i[1][0]]}},UE={name:"y",handles:["n","s"].map(HC),input:function(i,t){return i&&[[t[0][0],i[0]],[t[1][0],i[1]]]},output:function(i){return i&&[i[0][1],i[1][1]]}},iY={name:"xy",handles:["n","e","s","w","nw","ne","se","sw"].map(HC),input:function(i){return i},output:function(i){return i}},dp={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},N4={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},Z4={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},aY={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},oY={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function HC(r){return{type:r}}function sY(){return!xn.button}function lY(){var r=this.ownerSVGElement||this;return[[0,0],[r.width.baseVal.value,r.height.baseVal.value]]}function zR(r){for(;!r.__brush;)if(!(r=r.parentNode))return;return r.__brush}function WR(r){return r[0][0]===r[1][0]||r[0][1]===r[1][1]}function uY(r){var i=r.__brush;return i?i.dim.output(i.selection):null}function cY(){return GR(BE)}function dY(){return GR(UE)}function pY(){return GR(iY)}function GR(r){var o,i=lY,t=sY,n=Df(s,"start","brush","end"),a=6;function s(N){var q=N.property("__brush",P).selectAll(".overlay").data([HC("overlay")]);q.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",dp.overlay).merge(q).each(function(){var te=zR(this).extent;$r(this).attr("x",te[0][0]).attr("y",te[0][1]).attr("width",te[1][0]-te[0][0]).attr("height",te[1][1]-te[0][1])}),N.selectAll(".selection").data([HC("selection")]).enter().append("rect").attr("class","selection").attr("cursor",dp.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var Q=N.selectAll(".handle").data(r.handles,function(te){return te.type});Q.exit().remove(),Q.enter().append("rect").attr("class",function(te){return"handle handle--"+te.type}).attr("cursor",function(te){return dp[te.type]}),N.each(l).attr("fill","none").attr("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush touchstart.brush",C)}function l(){var N=$r(this),q=zR(this).selection;q?(N.selectAll(".selection").style("display",null).attr("x",q[0][0]).attr("y",q[0][1]).attr("width",q[1][0]-q[0][0]).attr("height",q[1][1]-q[0][1]),N.selectAll(".handle").style("display",null).attr("x",function(Q){return"e"===Q.type[Q.type.length-1]?q[1][0]-a/2:q[0][0]-a/2}).attr("y",function(Q){return"s"===Q.type[0]?q[1][1]-a/2:q[0][1]-a/2}).attr("width",function(Q){return"n"===Q.type||"s"===Q.type?q[1][0]-q[0][0]+a:a}).attr("height",function(Q){return"e"===Q.type||"w"===Q.type?q[1][1]-q[0][1]+a:a})):N.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function d(N,q){return N.__brush.emitter||new h(N,q)}function h(N,q){this.that=N,this.args=q,this.state=N.__brush,this.active=0}function C(){if(xn.touches){if(xn.changedTouches.length<xn.touches.length)return FE()}else if(o)return;if(t.apply(this,arguments)){var dt,Dt,at,ut,qt,it,ln,mn,Sn,tn,Xn,Lr,tr,N=this,q=xn.target.__data__.type,Q="selection"===(xn.metaKey?q="overlay":q)?R4:xn.altKey?S_:C_,te=r===UE?null:aY[q],se=r===BE?null:oY[q],Te=zR(N),$e=Te.extent,ze=Te.selection,rt=$e[0][0],St=$e[0][1],Wt=$e[1][0],It=$e[1][1],fr=te&&se&&xn.shiftKey,Jr=oo(N),di=Jr,hr=d(N,arguments).beforestart();"overlay"===q?Te.selection=ze=[[dt=r===UE?rt:Jr[0],at=r===BE?St:Jr[1]],[qt=r===UE?Wt:dt,ln=r===BE?It:at]]:(dt=ze[0][0],at=ze[0][1],qt=ze[1][0],ln=ze[1][1]),Dt=dt,ut=at,it=qt,mn=ln;var Ui=$r(N).attr("pointer-events","none"),Ua=Ui.selectAll(".overlay").attr("cursor",dp[q]);if(xn.touches)Ui.on("touchmove.brush",lr,!0).on("touchend.brush touchcancel.brush",Bn,!0);else{var cr=$r(xn.view).on("keydown.brush",Qa,!0).on("keyup.brush",Oi,!0).on("mousemove.brush",lr,!0).on("mouseup.brush",Bn,!0);f_(xn.view)}I4(),Mm(N),l.call(N),hr.start()}function lr(){var wi=oo(N);fr&&!Lr&&!tr&&(Math.abs(wi[0]-di[0])>Math.abs(wi[1]-di[1])?tr=!0:Lr=!0),di=wi,Xn=!0,FE(),$n()}function $n(){var wi;switch(Sn=di[0]-Jr[0],tn=di[1]-Jr[1],Q){case qR:case R4:te&&(Sn=Math.max(rt-dt,Math.min(Wt-qt,Sn)),Dt=dt+Sn,it=qt+Sn),se&&(tn=Math.max(St-at,Math.min(It-ln,tn)),ut=at+tn,mn=ln+tn);break;case C_:te<0?(Sn=Math.max(rt-dt,Math.min(Wt-dt,Sn)),Dt=dt+Sn,it=qt):te>0&&(Sn=Math.max(rt-qt,Math.min(Wt-qt,Sn)),Dt=dt,it=qt+Sn),se<0?(tn=Math.max(St-at,Math.min(It-at,tn)),ut=at+tn,mn=ln):se>0&&(tn=Math.max(St-ln,Math.min(It-ln,tn)),ut=at,mn=ln+tn);break;case S_:te&&(Dt=Math.max(rt,Math.min(Wt,dt-Sn*te)),it=Math.max(rt,Math.min(Wt,qt+Sn*te))),se&&(ut=Math.max(St,Math.min(It,at-tn*se)),mn=Math.max(St,Math.min(It,ln+tn*se)))}it<Dt&&(te*=-1,wi=dt,dt=qt,qt=wi,wi=Dt,Dt=it,it=wi,q in N4&&Ua.attr("cursor",dp[q=N4[q]])),mn<ut&&(se*=-1,wi=at,at=ln,ln=wi,wi=ut,ut=mn,mn=wi,q in Z4&&Ua.attr("cursor",dp[q=Z4[q]])),Te.selection&&(ze=Te.selection),Lr&&(Dt=ze[0][0],it=ze[1][0]),tr&&(ut=ze[0][1],mn=ze[1][1]),(ze[0][0]!==Dt||ze[0][1]!==ut||ze[1][0]!==it||ze[1][1]!==mn)&&(Te.selection=[[Dt,ut],[it,mn]],l.call(N),hr.brush())}function Bn(){if(I4(),xn.touches){if(xn.touches.length)return;o&&clearTimeout(o),o=setTimeout(function(){o=null},500),Ui.on("touchmove.brush touchend.brush touchcancel.brush",null)}else h_(xn.view,Xn),cr.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);Ui.attr("pointer-events","all"),Ua.attr("cursor",dp.overlay),Te.selection&&(ze=Te.selection),WR(ze)&&(Te.selection=null,l.call(N)),hr.end()}function Qa(){switch(xn.keyCode){case 16:fr=te&&se;break;case 18:Q===C_&&(te&&(qt=it-Sn*te,dt=Dt+Sn*te),se&&(ln=mn-tn*se,at=ut+tn*se),Q=S_,$n());break;case 32:(Q===C_||Q===S_)&&(te<0?qt=it-Sn:te>0&&(dt=Dt-Sn),se<0?ln=mn-tn:se>0&&(at=ut-tn),Q=qR,Ua.attr("cursor",dp.selection),$n());break;default:return}FE()}function Oi(){switch(xn.keyCode){case 16:fr&&(Lr=tr=fr=!1,$n());break;case 18:Q===S_&&(te<0?qt=it:te>0&&(dt=Dt),se<0?ln=mn:se>0&&(at=ut),Q=C_,$n());break;case 32:Q===qR&&(xn.altKey?(te&&(qt=it-Sn*te,dt=Dt+Sn*te),se&&(ln=mn-tn*se,at=ut+tn*se),Q=S_):(te<0?qt=it:te>0&&(dt=Dt),se<0?ln=mn:se>0&&(at=ut),Q=C_),Ua.attr("cursor",dp[q]),$n());break;default:return}FE()}}function P(){var N=this.__brush||{selection:null};return N.extent=i.apply(this,arguments),N.dim=r,N}return s.move=function(N,q){N.selection?N.on("start.brush",function(){d(this,arguments).beforestart().start()}).on("interrupt.brush end.brush",function(){d(this,arguments).end()}).tween("brush",function(){var Q=this,te=Q.__brush,se=d(Q,arguments),Te=te.selection,$e=r.input("function"==typeof q?q.apply(this,arguments):q,te.extent),ze=IC(Te,$e);function rt(dt){te.selection=1===dt&&WR($e)?null:ze(dt),l.call(Q),se.brush()}return Te&&$e?rt:rt(1)}):N.each(function(){var Q=this,te=arguments,se=Q.__brush,Te=r.input("function"==typeof q?q.apply(Q,te):q,se.extent),$e=d(Q,te).beforestart();Mm(Q),se.selection=null==Te||WR(Te)?null:Te,l.call(Q),$e.start().brush().end()})},h.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting&&(this.starting=!1,this.emit("start")),this},brush:function(){return this.emit("brush"),this},end:function(){return 0==--this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(q){ym(new rY(s,q,r.output(this.state.selection)),n.apply,n,[q,this.that,this.args])}},s.extent=function(N){return arguments.length?(i="function"==typeof N?N:P4([[+N[0][0],+N[0][1]],[+N[1][0],+N[1][1]]]),s):i},s.filter=function(N){return arguments.length?(t="function"==typeof N?N:P4(!!N),s):t},s.handleSize=function(N){return arguments.length?(a=+N,s):a},s.on=function(){var N=n.on.apply(n,arguments);return N===n?s:N},s}var L4=Math.cos,F4=Math.sin,B4=Math.PI,HE=B4/2,U4=2*B4,H4=Math.max;function fY(r){return function(i,t){return r(i.source.value+i.target.value,t.source.value+t.target.value)}}function hY(){var r=0,i=null,t=null,n=null;function a(o){var q,Q,te,se,Te,$e,s=o.length,l=[],d=Os(s),h=[],C=[],P=C.groups=new Array(s),N=new Array(s*s);for(q=0,Te=-1;++Te<s;){for(Q=0,$e=-1;++$e<s;)Q+=o[Te][$e];l.push(Q),h.push(Os(s)),q+=Q}for(i&&d.sort(function(Wt,qt){return i(l[Wt],l[qt])}),t&&h.forEach(function(Wt,qt){Wt.sort(function(it,It){return t(o[qt][it],o[qt][It])})}),se=(q=H4(0,U4-r*s)/q)?r:U4/s,Q=0,Te=-1;++Te<s;){for(te=Q,$e=-1;++$e<s;){var ze=d[Te],rt=h[ze][$e],dt=o[ze][rt],Dt=Q,St=Q+=dt*q;N[rt*s+ze]={index:ze,subindex:rt,startAngle:Dt,endAngle:St,value:dt}}P[ze]={index:ze,startAngle:te,endAngle:Q,value:l[ze]},Q+=se}for(Te=-1;++Te<s;)for($e=Te-1;++$e<s;){var at=N[$e*s+Te],ut=N[Te*s+$e];(at.value||ut.value)&&C.push(at.value<ut.value?{source:ut,target:at}:{source:at,target:ut})}return n?C.sort(n):C}return a.padAngle=function(o){return arguments.length?(r=H4(0,o),a):r},a.sortGroups=function(o){return arguments.length?(i=o,a):i},a.sortSubgroups=function(o){return arguments.length?(t=o,a):t},a.sortChords=function(o){return arguments.length?(null==o?n=null:(n=fY(o))._=o,a):n&&n._},a}var mY=Array.prototype.slice;function YR(r){return function(){return r}}var JR=Math.PI,QR=2*JR,Am=1e-6,vY=QR-Am;function KR(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function V4(){return new KR}KR.prototype=V4.prototype={constructor:KR,moveTo:function(i,t){this._+="M"+(this._x0=this._x1=+i)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(i,t){this._+="L"+(this._x1=+i)+","+(this._y1=+t)},quadraticCurveTo:function(i,t,n,a){this._+="Q"+ +i+","+ +t+","+(this._x1=+n)+","+(this._y1=+a)},bezierCurveTo:function(i,t,n,a,o,s){this._+="C"+ +i+","+ +t+","+ +n+","+ +a+","+(this._x1=+o)+","+(this._y1=+s)},arcTo:function(i,t,n,a,o){var s=this._x1,l=this._y1,d=(n=+n)-(i=+i),h=(a=+a)-(t=+t),C=s-i,P=l-t,N=C*C+P*P;if((o=+o)<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=i)+","+(this._y1=t);else if(N>Am)if(Math.abs(P*d-h*C)>Am&&o){var q=n-s,Q=a-l,te=d*d+h*h,se=q*q+Q*Q,Te=Math.sqrt(te),$e=Math.sqrt(N),ze=o*Math.tan((JR-Math.acos((te+N-se)/(2*Te*$e)))/2),rt=ze/$e,dt=ze/Te;Math.abs(rt-1)>Am&&(this._+="L"+(i+rt*C)+","+(t+rt*P)),this._+="A"+o+","+o+",0,0,"+ +(P*q>C*Q)+","+(this._x1=i+dt*d)+","+(this._y1=t+dt*h)}else this._+="L"+(this._x1=i)+","+(this._y1=t)},arc:function(i,t,n,a,o,s){i=+i,t=+t,s=!!s;var l=(n=+n)*Math.cos(a),d=n*Math.sin(a),h=i+l,C=t+d,P=1^s,N=s?a-o:o-a;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+h+","+C:(Math.abs(this._x1-h)>Am||Math.abs(this._y1-C)>Am)&&(this._+="L"+h+","+C),n&&(N<0&&(N=N%QR+QR),N>vY?this._+="A"+n+","+n+",0,1,"+P+","+(i-l)+","+(t-d)+"A"+n+","+n+",0,1,"+P+","+(this._x1=h)+","+(this._y1=C):N>Am&&(this._+="A"+n+","+n+",0,"+ +(N>=JR)+","+P+","+(this._x1=i+n*Math.cos(o))+","+(this._y1=t+n*Math.sin(o))))},rect:function(i,t,n,a){this._+="M"+(this._x0=this._x1=+i)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +a+"h"+-n+"Z"},toString:function(){return this._}};var hc=V4;function gY(r){return r.source}function _Y(r){return r.target}function yY(r){return r.radius}function bY(r){return r.startAngle}function CY(r){return r.endAngle}function SY(){var r=gY,i=_Y,t=yY,n=bY,a=CY,o=null;function s(){var l,d=mY.call(arguments),h=r.apply(this,d),C=i.apply(this,d),P=+t.apply(this,(d[0]=h,d)),N=n.apply(this,d)-HE,q=a.apply(this,d)-HE,Q=P*L4(N),te=P*F4(N),se=+t.apply(this,(d[0]=C,d)),Te=n.apply(this,d)-HE,$e=a.apply(this,d)-HE;if(o||(o=l=hc()),o.moveTo(Q,te),o.arc(0,0,P,N,q),(N!==Te||q!==$e)&&(o.quadraticCurveTo(0,0,se*L4(Te),se*F4(Te)),o.arc(0,0,se,Te,$e)),o.quadraticCurveTo(0,0,Q,te),o.closePath(),l)return o=null,l+""||null}return s.radius=function(l){return arguments.length?(t="function"==typeof l?l:YR(+l),s):t},s.startAngle=function(l){return arguments.length?(n="function"==typeof l?l:YR(+l),s):n},s.endAngle=function(l){return arguments.length?(a="function"==typeof l?l:YR(+l),s):a},s.source=function(l){return arguments.length?(r=l,s):r},s.target=function(l){return arguments.length?(i=l,s):i},s.context=function(l){return arguments.length?(o=null==l?null:l,s):o},s}var Eu="$";function VE(){}function j4(r,i){var t=new VE;if(r instanceof VE)r.each(function(l,d){t.set(d,l)});else if(Array.isArray(r)){var o,n=-1,a=r.length;if(null==i)for(;++n<a;)t.set(n,r[n]);else for(;++n<a;)t.set(i(o=r[n],n,r),o)}else if(r)for(var s in r)t.set(s,r[s]);return t}VE.prototype=j4.prototype={constructor:VE,has:function(i){return Eu+i in this},get:function(i){return this[Eu+i]},set:function(i,t){return this[Eu+i]=t,this},remove:function(i){var t=Eu+i;return t in this&&delete this[t]},clear:function(){for(var i in this)i[0]===Eu&&delete this[i]},keys:function(){var i=[];for(var t in this)t[0]===Eu&&i.push(t.slice(1));return i},values:function(){var i=[];for(var t in this)t[0]===Eu&&i.push(this[t]);return i},entries:function(){var i=[];for(var t in this)t[0]===Eu&&i.push({key:t.slice(1),value:this[t]});return i},size:function(){var i=0;for(var t in this)t[0]===Eu&&++i;return i},empty:function(){for(var i in this)if(i[0]===Eu)return!1;return!0},each:function(i){for(var t in this)t[0]===Eu&&i(this[t],t.slice(1),this)}};var Rf=j4;function TY(){var t,n,a,r=[],i=[];function o(l,d,h,C){if(d>=r.length)return null!=t&&l.sort(t),null!=n?n(l):l;for(var Q,te,Te,P=-1,N=l.length,q=r[d++],se=Rf(),$e=h();++P<N;)(Te=se.get(Q=q(te=l[P])+""))?Te.push(te):se.set(Q,[te]);return se.each(function(ze,rt){C($e,rt,o(ze,d,h,C))}),$e}function s(l,d){if(++d>r.length)return l;var h,C=i[d-1];return null!=n&&d>=r.length?h=l.entries():(h=[],l.each(function(P,N){h.push({key:N,values:s(P,d)})})),null!=C?h.sort(function(P,N){return C(P.key,N.key)}):h}return a={object:function(d){return o(d,0,kY,wY)},map:function(d){return o(d,0,q4,z4)},entries:function(d){return s(o(d,0,q4,z4),0)},key:function(d){return r.push(d),a},sortKeys:function(d){return i[r.length-1]=d,a},sortValues:function(d){return t=d,a},rollup:function(d){return n=d,a}}}function kY(){return{}}function wY(r,i,t){r[i]=t}function q4(){return Rf()}function z4(r,i,t){r.set(i,t)}function jE(){}var Dm=Rf.prototype;function W4(r,i){var t=new jE;if(r instanceof jE)r.each(function(o){t.add(o)});else if(r){var n=-1,a=r.length;if(null==i)for(;++n<a;)t.add(r[n]);else for(;++n<a;)t.add(i(r[n],n,r))}return t}jE.prototype=W4.prototype={constructor:jE,has:Dm.has,add:function(i){return this[Eu+(i+="")]=i,this},remove:Dm.remove,clear:Dm.clear,values:Dm.keys,size:Dm.size,empty:Dm.empty,each:Dm.each};var xY=W4;function EY(r){var i=[];for(var t in r)i.push(t);return i}function MY(r){var i=[];for(var t in r)i.push(r[t]);return i}function AY(r){var i=[];for(var t in r)i.push({key:t,value:r[t]});return i}var G4=Array.prototype.slice;function OY(r,i){return r-i}function Om(r){return function(){return r}}function IY(r,i){for(var a,t=-1,n=i.length;++t<n;)if(a=RY(r,i[t]))return a;return 0}function RY(r,i){for(var t=i[0],n=i[1],a=-1,o=0,s=r.length,l=s-1;o<s;l=o++){var d=r[o],h=d[0],C=d[1],P=r[l],N=P[0],q=P[1];if(NY(d,P,i))return 0;C>n!=q>n&&t<(N-h)*(n-C)/(q-C)+h&&(a=-a)}return a}function NY(r,i,t){var n;return function(r,i,t){return(i[0]-r[0])*(t[1]-r[1])==(t[0]-r[0])*(i[1]-r[1])}(r,i,t)&&function(r,i,t){return r<=i&&i<=t||t<=i&&i<=r}(r[n=+(r[0]===i[0])],t[n],i[n])}function FY(){}var pp=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]];function Y4(){var r=1,i=1,t=Gx,n=d;function a(h){var C=t(h);if(Array.isArray(C))C=C.slice().sort(OY);else{var P=cm(h),N=P[0],q=P[1];C=Af(N,q,C),C=Os(Math.floor(N/C)*C,Math.floor(q/C)*C,C)}return C.map(function(Q){return o(h,Q)})}function o(h,C){var P=[],N=[];return function(h,C,P){var Q,te,Te,$e,ze,N=new Array,q=new Array;for(Q=te=-1,pp[(Te=h[0]>=C)<<1].forEach(rt);++Q<r-1;)pp[Te|(Te=h[Q+1]>=C)<<1].forEach(rt);for(pp[Te<<0].forEach(rt);++te<i-1;){for(Q=-1,pp[(Te=h[te*r+r]>=C)<<1|($e=h[te*r]>=C)<<2].forEach(rt);++Q<r-1;)ze=$e,pp[Te|(Te=h[te*r+r+Q+1]>=C)<<1|($e=h[te*r+Q+1]>=C)<<2|ze<<3].forEach(rt);pp[Te|$e<<3].forEach(rt)}for(Q=-1,pp[($e=h[te*r]>=C)<<2].forEach(rt);++Q<r-1;)ze=$e,pp[($e=h[te*r+Q+1]>=C)<<2|ze<<3].forEach(rt);function rt(dt){var Wt,qt,Dt=[dt[0][0]+Q,dt[0][1]+te],St=[dt[1][0]+Q,dt[1][1]+te],at=l(Dt),ut=l(St);(Wt=q[at])?(qt=N[ut])?(delete q[Wt.end],delete N[qt.start],Wt===qt?(Wt.ring.push(St),P(Wt.ring)):N[Wt.start]=q[qt.end]={start:Wt.start,end:qt.end,ring:Wt.ring.concat(qt.ring)}):(delete q[Wt.end],Wt.ring.push(St),q[Wt.end=ut]=Wt):(Wt=N[ut])?(qt=q[at])?(delete N[Wt.start],delete q[qt.end],Wt===qt?(Wt.ring.push(St),P(Wt.ring)):N[qt.start]=q[Wt.end]={start:qt.start,end:Wt.end,ring:qt.ring.concat(Wt.ring)}):(delete N[Wt.start],Wt.ring.unshift(Dt),N[Wt.start=at]=Wt):N[at]=q[ut]={start:at,end:ut,ring:[Dt,St]}}pp[$e<<3].forEach(rt)}(h,C,function(q){n(q,h,C),function(r){for(var i=0,t=r.length,n=r[t-1][1]*r[0][0]-r[t-1][0]*r[0][1];++i<t;)n+=r[i-1][1]*r[i][0]-r[i-1][0]*r[i][1];return n}(q)>0?P.push([q]):N.push(q)}),N.forEach(function(q){for(var se,Q=0,te=P.length;Q<te;++Q)if(-1!==IY((se=P[Q])[0],q))return void se.push(q)}),{type:"MultiPolygon",value:C,coordinates:P}}function l(h){return 2*h[0]+h[1]*(r+1)*4}function d(h,C,P){h.forEach(function(N){var Te,q=N[0],Q=N[1],te=0|q,se=0|Q,$e=C[se*r+te];q>0&&q<r&&te===q&&(N[0]=q+(P-(Te=C[se*r+te-1]))/($e-Te)-.5),Q>0&&Q<i&&se===Q&&(N[1]=Q+(P-(Te=C[(se-1)*r+te]))/($e-Te)-.5)})}return a.contour=o,a.size=function(h){if(!arguments.length)return[r,i];var C=Math.ceil(h[0]),P=Math.ceil(h[1]);if(!(C>0&&P>0))throw new Error("invalid size");return r=C,i=P,a},a.thresholds=function(h){return arguments.length?(t="function"==typeof h?h:Array.isArray(h)?Om(G4.call(h)):Om(h),a):t},a.smooth=function(h){return arguments.length?(n=h?d:FY,a):n===d},a}function XR(r,i,t){for(var n=r.width,a=r.height,o=1+(t<<1),s=0;s<a;++s)for(var l=0,d=0;l<n+t;++l)l<n&&(d+=r.data[l+s*n]),l>=t&&(l>=o&&(d-=r.data[l-o+s*n]),i.data[l-t+s*n]=d/Math.min(l+1,n-1+o-l,o))}function $R(r,i,t){for(var n=r.width,a=r.height,o=1+(t<<1),s=0;s<n;++s)for(var l=0,d=0;l<a+t;++l)l<a&&(d+=r.data[s+l*n]),l>=t&&(l>=o&&(d-=r.data[s+(l-o)*n]),i.data[s+(l-t)*n]=d/Math.min(l+1,a-1+o-l,o))}function BY(r){return r[0]}function UY(r){return r[1]}function HY(){var r=BY,i=UY,t=960,n=500,a=20,o=2,s=3*a,l=t+2*s>>o,d=n+2*s>>o,h=Om(20);function C(se){var Te=new Float32Array(l*d),$e=new Float32Array(l*d);se.forEach(function(dt,Dt,St){var at=r(dt,Dt,St)+s>>o,ut=i(dt,Dt,St)+s>>o;at>=0&&at<l&&ut>=0&&ut<d&&++Te[at+ut*l]}),XR({width:l,height:d,data:Te},{width:l,height:d,data:$e},a>>o),$R({width:l,height:d,data:$e},{width:l,height:d,data:Te},a>>o),XR({width:l,height:d,data:Te},{width:l,height:d,data:$e},a>>o),$R({width:l,height:d,data:$e},{width:l,height:d,data:Te},a>>o),XR({width:l,height:d,data:Te},{width:l,height:d,data:$e},a>>o),$R({width:l,height:d,data:$e},{width:l,height:d,data:Te},a>>o);var ze=h(Te);if(!Array.isArray(ze)){var rt=Yx(Te);ze=Af(0,rt,ze),(ze=Os(0,Math.floor(rt/ze)*ze,ze)).shift()}return Y4().thresholds(ze).size([l,d])(Te).map(P)}function P(se){return se.value*=Math.pow(2,-2*o),se.coordinates.forEach(N),se}function N(se){se.forEach(q)}function q(se){se.forEach(Q)}function Q(se){se[0]=se[0]*Math.pow(2,o)-s,se[1]=se[1]*Math.pow(2,o)-s}function te(){return l=t+2*(s=3*a)>>o,d=n+2*s>>o,C}return C.x=function(se){return arguments.length?(r="function"==typeof se?se:Om(+se),C):r},C.y=function(se){return arguments.length?(i="function"==typeof se?se:Om(+se),C):i},C.size=function(se){if(!arguments.length)return[t,n];var Te=Math.ceil(se[0]),$e=Math.ceil(se[1]);if(!(Te>=0||Te>=0))throw new Error("invalid size");return t=Te,n=$e,te()},C.cellSize=function(se){if(!arguments.length)return 1<<o;if(!((se=+se)>=1))throw new Error("invalid cell size");return o=Math.floor(Math.log(se)/Math.LN2),te()},C.thresholds=function(se){return arguments.length?(h="function"==typeof se?se:Array.isArray(se)?Om(G4.call(se)):Om(se),C):h},C.bandwidth=function(se){if(!arguments.length)return Math.sqrt(a*(a+1));if(!((se=+se)>=0))throw new Error("invalid bandwidth");return a=Math.round((Math.sqrt(4*se*se+1)-1)/2),te()},C}function qE(r){return function(){return r}}function eN(r,i,t,n,a,o,s,l,d,h){this.target=r,this.type=i,this.subject=t,this.identifier=n,this.active=a,this.x=o,this.y=s,this.dx=l,this.dy=d,this._=h}function VY(){return!xn.ctrlKey&&!xn.button}function jY(){return this.parentNode}function qY(r){return null==r?{x:xn.x,y:xn.y}:r}function zY(){return navigator.maxTouchPoints||"ontouchstart"in this}function Nf(){var l,d,h,C,r=VY,i=jY,t=qY,n=zY,a={},o=Df("start","drag","end"),s=0,P=0;function N(rt){rt.on("mousedown.drag",q).filter(n).on("touchstart.drag",se).on("touchmove.drag",Te).on("touchend.drag touchcancel.drag",$e).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function q(){if(!C&&r.apply(this,arguments)){var rt=ze("mouse",i.apply(this,arguments),oo,this,arguments);!rt||($r(xn.view).on("mousemove.drag",Q,!0).on("mouseup.drag",te,!0),f_(xn.view),Kc(),h=!1,l=xn.clientX,d=xn.clientY,rt("start"))}}function Q(){if(Pf(),!h){var rt=xn.clientX-l,dt=xn.clientY-d;h=rt*rt+dt*dt>P}a.mouse("drag")}function te(){$r(xn.view).on("mousemove.drag mouseup.drag",null),h_(xn.view,h),Pf(),a.mouse("end")}function se(){if(r.apply(this,arguments)){var St,at,rt=xn.changedTouches,dt=i.apply(this,arguments),Dt=rt.length;for(St=0;St<Dt;++St)(at=ze(rt[St].identifier,dt,lc,this,arguments))&&(Kc(),at("start"))}}function Te(){var Dt,St,rt=xn.changedTouches,dt=rt.length;for(Dt=0;Dt<dt;++Dt)(St=a[rt[Dt].identifier])&&(Pf(),St("drag"))}function $e(){var Dt,St,rt=xn.changedTouches,dt=rt.length;for(C&&clearTimeout(C),C=setTimeout(function(){C=null},500),Dt=0;Dt<dt;++Dt)(St=a[rt[Dt].identifier])&&(Kc(),St("end"))}function ze(rt,dt,Dt,St,at){var Wt,qt,it,ut=Dt(dt,rt),It=o.copy();if(ym(new eN(N,"beforestart",Wt,rt,s,ut[0],ut[1],0,0,It),function(){return null!=(xn.subject=Wt=t.apply(St,at))&&(qt=Wt.x-ut[0]||0,it=Wt.y-ut[1]||0,!0)}))return function ln(mn){var tn,Sn=ut;switch(mn){case"start":a[rt]=ln,tn=s++;break;case"end":delete a[rt],--s;case"drag":ut=Dt(dt,rt),tn=s}ym(new eN(N,mn,Wt,rt,tn,ut[0]+qt,ut[1]+it,ut[0]-Sn[0],ut[1]-Sn[1],It),It.apply,It,[mn,St,at])}}return N.filter=function(rt){return arguments.length?(r="function"==typeof rt?rt:qE(!!rt),N):r},N.container=function(rt){return arguments.length?(i="function"==typeof rt?rt:qE(rt),N):i},N.subject=function(rt){return arguments.length?(t="function"==typeof rt?rt:qE(rt),N):t},N.touchable=function(rt){return arguments.length?(n="function"==typeof rt?rt:qE(!!rt),N):n},N.on=function(){var rt=o.on.apply(o,arguments);return rt===o?N:rt},N.clickDistance=function(rt){return arguments.length?(P=(rt=+rt)*rt,N):Math.sqrt(P)},N}eN.prototype.on=function(){var r=this._.on.apply(this._,arguments);return r===this._?this:r};var J4={},tN={};function Q4(r){return new Function("d","return {"+r.map(function(i,t){return JSON.stringify(i)+": d["+t+"]"}).join(",")+"}")}function iN(r){var i=new RegExp('["'+r+"\n\r]"),t=r.charCodeAt(0);function a(h,C){var te,P=[],N=h.length,q=0,Q=0,se=N<=0,Te=!1;function $e(){if(se)return tN;if(Te)return Te=!1,J4;var rt,Dt,dt=q;if(34===h.charCodeAt(dt)){for(;q++<N&&34!==h.charCodeAt(q)||34===h.charCodeAt(++q););return(rt=q)>=N?se=!0:10===(Dt=h.charCodeAt(q++))?Te=!0:13===Dt&&(Te=!0,10===h.charCodeAt(q)&&++q),h.slice(dt+1,rt-1).replace(/""/g,'"')}for(;q<N;){if(10===(Dt=h.charCodeAt(rt=q++)))Te=!0;else if(13===Dt)Te=!0,10===h.charCodeAt(q)&&++q;else if(Dt!==t)continue;return h.slice(dt,rt)}return se=!0,h.slice(dt,N)}for(10===h.charCodeAt(N-1)&&--N,13===h.charCodeAt(N-1)&&--N;(te=$e())!==tN;){for(var ze=[];te!==J4&&te!==tN;)ze.push(te),te=$e();C&&null==(ze=C(ze,Q++))||P.push(ze)}return P}function l(h){return h.map(d).join(r)}function d(h){return null==h?"":i.test(h+="")?'"'+h.replace(/"/g,'""')+'"':h}return{parse:function(h,C){var P,N,q=a(h,function(Q,te){if(P)return P(Q,te-1);N=Q,P=C?function(r,i){var t=Q4(r);return function(n,a){return i(t(n),a,r)}}(Q,C):Q4(Q)});return q.columns=N||[],q},parseRows:a,format:function(h,C){return null==C&&(C=function(r){var i=Object.create(null),t=[];return r.forEach(function(n){for(var a in n)a in i||t.push(i[a]=a)}),t}(h)),[C.map(d).join(r)].concat(h.map(function(P){return C.map(function(N){return d(P[N])}).join(r)})).join("\n")},formatRows:function(h){return h.map(l).join("\n")}}}var zE=iN(","),YY=zE.parse,JY=zE.parseRows,QY=zE.format,KY=zE.formatRows,WE=iN("\t"),XY=WE.parse,$Y=WE.parseRows,eJ=WE.format,tJ=WE.formatRows;function nJ(r){return+r}function rJ(r){return r*r}function iJ(r){return r*(2-r)}function K4(r){return((r*=2)<=1?r*r:--r*(2-r)+1)/2}var aJ=function r(i){function t(n){return Math.pow(n,i)}return i=+i,t.exponent=r,t}(3),oJ=function r(i){function t(n){return 1-Math.pow(1-n,i)}return i=+i,t.exponent=r,t}(3),X4=function r(i){function t(n){return((n*=2)<=1?Math.pow(n,i):2-Math.pow(2-n,i))/2}return i=+i,t.exponent=r,t}(3),$4=Math.PI,e8=$4/2;function sJ(r){return 1==+r?1:1-Math.cos(r*e8)}function lJ(r){return Math.sin(r*e8)}function t8(r){return(1-Math.cos($4*r))/2}function Zf(r){return 1.0009775171065494*(Math.pow(2,-10*r)-.0009765625)}function uJ(r){return Zf(1-+r)}function cJ(r){return 1-Zf(r)}function n8(r){return((r*=2)<=1?Zf(1-r):2-Zf(r-1))/2}function dJ(r){return 1-Math.sqrt(1-r*r)}function pJ(r){return Math.sqrt(1- --r*r)}function r8(r){return((r*=2)<=1?1-Math.sqrt(1-r*r):Math.sqrt(1-(r-=2)*r)+1)/2}var GE=7.5625;function CJ(r){return 1-jC(1-r)}function jC(r){return(r=+r)<.36363636363636365?GE*r*r:r<.7272727272727273?GE*(r-=.5454545454545454)*r+.75:r<.9090909090909091?GE*(r-=.8181818181818182)*r+.9375:GE*(r-=.9545454545454546)*r+.984375}function SJ(r){return((r*=2)<=1?1-jC(1-r):jC(r-1)+1)/2}var sN=1.70158,TJ=function r(i){function t(n){return(n=+n)*n*(i*(n-1)+n)}return i=+i,t.overshoot=r,t}(sN),kJ=function r(i){function t(n){return--n*n*((n+1)*i+n)+1}return i=+i,t.overshoot=r,t}(sN),i8=function r(i){function t(n){return((n*=2)<1?n*n*((i+1)*n-i):(n-=2)*n*((i+1)*n+i)+2)/2}return i=+i,t.overshoot=r,t}(sN),T_=2*Math.PI,wJ=function r(i,t){var n=Math.asin(1/(i=Math.max(1,i)))*(t/=T_);function a(o){return i*Zf(- --o)*Math.sin((n-o)/t)}return a.amplitude=function(o){return r(o,t*T_)},a.period=function(o){return r(i,o)},a}(1,.3),a8=function r(i,t){var n=Math.asin(1/(i=Math.max(1,i)))*(t/=T_);function a(o){return 1-i*Zf(o=+o)*Math.sin((o+n)/t)}return a.amplitude=function(o){return r(o,t*T_)},a.period=function(o){return r(i,o)},a}(1,.3),xJ=function r(i,t){var n=Math.asin(1/(i=Math.max(1,i)))*(t/=T_);function a(o){return((o=2*o-1)<0?i*Zf(-o)*Math.sin((n-o)/t):2-i*Zf(o)*Math.sin((n+o)/t))/2}return a.amplitude=function(o){return r(o,t*T_)},a.period=function(o){return r(i,o)},a}(1,.3);function EJ(r,i){var t;function n(){var a,s,o=t.length,l=0,d=0;for(a=0;a<o;++a)l+=(s=t[a]).x,d+=s.y;for(l=l/o-r,d=d/o-i,a=0;a<o;++a)(s=t[a]).x-=l,s.y-=d}return null==r&&(r=0),null==i&&(i=0),n.initialize=function(a){t=a},n.x=function(a){return arguments.length?(r=+a,n):r},n.y=function(a){return arguments.length?(i=+a,n):i},n}function Bo(r){return function(){return r}}function Lf(){return 1e-6*(Math.random()-.5)}function o8(r,i,t,n){if(isNaN(i)||isNaN(t))return r;var a,P,N,q,Q,te,se,Te,$e,o=r._root,s={data:n},l=r._x0,d=r._y0,h=r._x1,C=r._y1;if(!o)return r._root=s,r;for(;o.length;)if((te=i>=(P=(l+h)/2))?l=P:h=P,(se=t>=(N=(d+C)/2))?d=N:C=N,a=o,!(o=o[Te=se<<1|te]))return a[Te]=s,r;if(q=+r._x.call(null,o.data),Q=+r._y.call(null,o.data),i===q&&t===Q)return s.next=o,a?a[Te]=s:r._root=s,r;do{a=a?a[Te]=new Array(4):r._root=new Array(4),(te=i>=(P=(l+h)/2))?l=P:h=P,(se=t>=(N=(d+C)/2))?d=N:C=N}while((Te=se<<1|te)==($e=(Q>=N)<<1|q>=P));return a[$e]=o,a[Te]=s,r}function $s(r,i,t,n,a){this.node=r,this.x0=i,this.y0=t,this.x1=n,this.y1=a}function UJ(r){return r[0]}function VJ(r){return r[1]}function YE(r,i,t){var n=new cN(null==i?UJ:i,null==t?VJ:t,NaN,NaN,NaN,NaN);return null==r?n:n.addAll(r)}function cN(r,i,t,n,a,o){this._x=r,this._y=i,this._x0=t,this._y0=n,this._x1=a,this._y1=o,this._root=void 0}function s8(r){for(var i={data:r.data},t=i;r=r.next;)t=t.next={data:r.data};return i}var el=YE.prototype=cN.prototype;function qJ(r){return r.x+r.vx}function zJ(r){return r.y+r.vy}function WJ(r){var i,t,n=1,a=1;function o(){for(var d,C,P,N,q,Q,te,h=i.length,se=0;se<a;++se)for(C=YE(i,qJ,zJ).visitAfter(s),d=0;d<h;++d)te=(Q=t[(P=i[d]).index])*Q,N=P.x+P.vx,q=P.y+P.vy,C.visit(Te);function Te($e,ze,rt,dt,Dt){var St=$e.data,at=$e.r,ut=Q+at;if(!St)return ze>N+ut||dt<N-ut||rt>q+ut||Dt<q-ut;if(St.index>P.index){var Wt=N-St.x-St.vx,qt=q-St.y-St.vy,it=Wt*Wt+qt*qt;it<ut*ut&&(0===Wt&&(it+=(Wt=Lf())*Wt),0===qt&&(it+=(qt=Lf())*qt),it=(ut-(it=Math.sqrt(it)))/it*n,P.vx+=(Wt*=it)*(ut=(at*=at)/(te+at)),P.vy+=(qt*=it)*ut,St.vx-=Wt*(ut=1-ut),St.vy-=qt*ut)}}}function s(d){if(d.data)return d.r=t[d.data.index];for(var h=d.r=0;h<4;++h)d[h]&&d[h].r>d.r&&(d.r=d[h].r)}function l(){if(i){var d,C,h=i.length;for(t=new Array(h),d=0;d<h;++d)t[(C=i[d]).index]=+r(C,d,i)}}return"function"!=typeof r&&(r=Bo(null==r?1:+r)),o.initialize=function(d){i=d,l()},o.iterations=function(d){return arguments.length?(a=+d,o):a},o.strength=function(d){return arguments.length?(n=+d,o):n},o.radius=function(d){return arguments.length?(r="function"==typeof d?d:Bo(+d),l(),o):r},o}function GJ(r){return r.index}function l8(r,i){var t=r.get(i);if(!t)throw new Error("missing: "+i);return t}function YJ(r){var n,o,s,l,d,i=GJ,t=function(te){return 1/Math.min(l[te.source.index],l[te.target.index])},a=Bo(30),h=1;function P(te){for(var se=0,Te=r.length;se<h;++se)for(var ze,rt,dt,Dt,St,at,ut,$e=0;$e<Te;++$e)Dt=(dt=(ze=r[$e]).target).x+dt.vx-(rt=ze.source).x-rt.vx||Lf(),St=dt.y+dt.vy-rt.y-rt.vy||Lf(),St*=at=((at=Math.sqrt(Dt*Dt+St*St))-o[$e])/at*te*n[$e],dt.vx-=(Dt*=at)*(ut=d[$e]),dt.vy-=St*ut,rt.vx+=Dt*(ut=1-ut),rt.vy+=St*ut}function N(){if(s){var te,ze,se=s.length,Te=r.length,$e=Rf(s,i);for(te=0,l=new Array(se);te<Te;++te)(ze=r[te]).index=te,"object"!=typeof ze.source&&(ze.source=l8($e,ze.source)),"object"!=typeof ze.target&&(ze.target=l8($e,ze.target)),l[ze.source.index]=(l[ze.source.index]||0)+1,l[ze.target.index]=(l[ze.target.index]||0)+1;for(te=0,d=new Array(Te);te<Te;++te)d[te]=l[(ze=r[te]).source.index]/(l[ze.source.index]+l[ze.target.index]);n=new Array(Te),q(),o=new Array(Te),Q()}}function q(){if(s)for(var te=0,se=r.length;te<se;++te)n[te]=+t(r[te],te,r)}function Q(){if(s)for(var te=0,se=r.length;te<se;++te)o[te]=+a(r[te],te,r)}return null==r&&(r=[]),P.initialize=function(te){s=te,N()},P.links=function(te){return arguments.length?(r=te,N(),P):r},P.id=function(te){return arguments.length?(i=te,P):i},P.iterations=function(te){return arguments.length?(h=+te,P):h},P.strength=function(te){return arguments.length?(t="function"==typeof te?te:Bo(+te),q(),P):t},P.distance=function(te){return arguments.length?(a="function"==typeof te?te:Bo(+te),Q(),P):a},P}function JJ(r){return r.x}function QJ(r){return r.y}el.copy=function(){var t,n,r=new cN(this._x,this._y,this._x0,this._y0,this._x1,this._y1),i=this._root;if(!i)return r;if(!i.length)return r._root=s8(i),r;for(t=[{source:i,target:r._root=new Array(4)}];i=t.pop();)for(var a=0;a<4;++a)(n=i.source[a])&&(n.length?t.push({source:n,target:i.target[a]=new Array(4)}):i.target[a]=s8(n));return r},el.add=function(r){var i=+this._x.call(null,r),t=+this._y.call(null,r);return o8(this.cover(i,t),i,t,r)},el.addAll=function(r){var i,t,a,o,n=r.length,s=new Array(n),l=new Array(n),d=1/0,h=1/0,C=-1/0,P=-1/0;for(t=0;t<n;++t)isNaN(a=+this._x.call(null,i=r[t]))||isNaN(o=+this._y.call(null,i))||(s[t]=a,l[t]=o,a<d&&(d=a),a>C&&(C=a),o<h&&(h=o),o>P&&(P=o));if(d>C||h>P)return this;for(this.cover(d,h).cover(C,P),t=0;t<n;++t)o8(this,s[t],l[t],r[t]);return this},el.cover=function(r,i){if(isNaN(r=+r)||isNaN(i=+i))return this;var t=this._x0,n=this._y0,a=this._x1,o=this._y1;if(isNaN(t))a=(t=Math.floor(r))+1,o=(n=Math.floor(i))+1;else{for(var d,h,s=a-t,l=this._root;t>r||r>=a||n>i||i>=o;)switch(h=(i<n)<<1|r<t,d=new Array(4),d[h]=l,l=d,s*=2,h){case 0:a=t+s,o=n+s;break;case 1:t=a-s,o=n+s;break;case 2:a=t+s,n=o-s;break;case 3:t=a-s,n=o-s}this._root&&this._root.length&&(this._root=l)}return this._x0=t,this._y0=n,this._x1=a,this._y1=o,this},el.data=function(){var r=[];return this.visit(function(i){if(!i.length)do{r.push(i.data)}while(i=i.next)}),r},el.extent=function(r){return arguments.length?this.cover(+r[0][0],+r[0][1]).cover(+r[1][0],+r[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},el.find=function(r,i,t){var n,s,l,d,h,Q,te,a=this._x0,o=this._y0,C=this._x1,P=this._y1,N=[],q=this._root;for(q&&N.push(new $s(q,a,o,C,P)),null==t?t=1/0:(a=r-t,o=i-t,C=r+t,P=i+t,t*=t);Q=N.pop();)if(!(!(q=Q.node)||(s=Q.x0)>C||(l=Q.y0)>P||(d=Q.x1)<a||(h=Q.y1)<o))if(q.length){var se=(s+d)/2,Te=(l+h)/2;N.push(new $s(q[3],se,Te,d,h),new $s(q[2],s,Te,se,h),new $s(q[1],se,l,d,Te),new $s(q[0],s,l,se,Te)),(te=(i>=Te)<<1|r>=se)&&(Q=N[N.length-1],N[N.length-1]=N[N.length-1-te],N[N.length-1-te]=Q)}else{var $e=r-+this._x.call(null,q.data),ze=i-+this._y.call(null,q.data),rt=$e*$e+ze*ze;if(rt<t){var dt=Math.sqrt(t=rt);a=r-dt,o=i-dt,C=r+dt,P=i+dt,n=q.data}}return n},el.remove=function(r){if(isNaN(C=+this._x.call(null,r))||isNaN(P=+this._y.call(null,r)))return this;var i,n,a,o,C,P,N,q,Q,te,se,Te,t=this._root,s=this._x0,l=this._y0,d=this._x1,h=this._y1;if(!t)return this;if(t.length)for(;;){if((Q=C>=(N=(s+d)/2))?s=N:d=N,(te=P>=(q=(l+h)/2))?l=q:h=q,i=t,!(t=t[se=te<<1|Q]))return this;if(!t.length)break;(i[se+1&3]||i[se+2&3]||i[se+3&3])&&(n=i,Te=se)}for(;t.data!==r;)if(a=t,!(t=t.next))return this;return(o=t.next)&&delete t.next,a?(o?a.next=o:delete a.next,this):i?(o?i[se]=o:delete i[se],(t=i[0]||i[1]||i[2]||i[3])&&t===(i[3]||i[2]||i[1]||i[0])&&!t.length&&(n?n[Te]=t:this._root=t),this):(this._root=o,this)},el.removeAll=function(r){for(var i=0,t=r.length;i<t;++i)this.remove(r[i]);return this},el.root=function(){return this._root},el.size=function(){var r=0;return this.visit(function(i){if(!i.length)do{++r}while(i=i.next)}),r},el.visit=function(r){var t,a,o,s,l,d,i=[],n=this._root;for(n&&i.push(new $s(n,this._x0,this._y0,this._x1,this._y1));t=i.pop();)if(!r(n=t.node,o=t.x0,s=t.y0,l=t.x1,d=t.y1)&&n.length){var h=(o+l)/2,C=(s+d)/2;(a=n[3])&&i.push(new $s(a,h,C,l,d)),(a=n[2])&&i.push(new $s(a,o,C,h,d)),(a=n[1])&&i.push(new $s(a,h,s,l,C)),(a=n[0])&&i.push(new $s(a,o,s,h,C))}return this},el.visitAfter=function(r){var n,i=[],t=[];for(this._root&&i.push(new $s(this._root,this._x0,this._y0,this._x1,this._y1));n=i.pop();){var a=n.node;if(a.length){var o,s=n.x0,l=n.y0,d=n.x1,h=n.y1,C=(s+d)/2,P=(l+h)/2;(o=a[0])&&i.push(new $s(o,s,l,C,P)),(o=a[1])&&i.push(new $s(o,C,l,d,P)),(o=a[2])&&i.push(new $s(o,s,P,C,h)),(o=a[3])&&i.push(new $s(o,C,P,d,h))}t.push(n)}for(;n=t.pop();)r(n.node,n.x0,n.y0,n.x1,n.y1);return this},el.x=function(r){return arguments.length?(this._x=r,this):this._x},el.y=function(r){return arguments.length?(this._y=r,this):this._y};var u8,XJ=Math.PI*(3-Math.sqrt(5));function $J(r){var i,t=1,n=.001,a=1-Math.pow(n,1/300),o=0,s=.6,l=Rf(),d=IE(C),h=Df("tick","end");function C(){P(),h.call("tick",i),t<n&&(d.stop(),h.call("end",i))}function P(){var Q,se,te=r.length;for(t+=(o-t)*a,l.each(function(Te){Te(t)}),Q=0;Q<te;++Q)null==(se=r[Q]).fx?se.x+=se.vx*=s:(se.x=se.fx,se.vx=0),null==se.fy?se.y+=se.vy*=s:(se.y=se.fy,se.vy=0)}function N(){for(var se,Q=0,te=r.length;Q<te;++Q){if((se=r[Q]).index=Q,isNaN(se.x)||isNaN(se.y)){var Te=10*Math.sqrt(Q),$e=Q*XJ;se.x=Te*Math.cos($e),se.y=Te*Math.sin($e)}(isNaN(se.vx)||isNaN(se.vy))&&(se.vx=se.vy=0)}}function q(Q){return Q.initialize&&Q.initialize(r),Q}return null==r&&(r=[]),N(),i={tick:P,restart:function(){return d.restart(C),i},stop:function(){return d.stop(),i},nodes:function(te){return arguments.length?(r=te,N(),l.each(q),i):r},alpha:function(te){return arguments.length?(t=+te,i):t},alphaMin:function(te){return arguments.length?(n=+te,i):n},alphaDecay:function(te){return arguments.length?(a=+te,i):+a},alphaTarget:function(te){return arguments.length?(o=+te,i):o},velocityDecay:function(te){return arguments.length?(s=1-te,i):1-s},force:function(te,se){return arguments.length>1?(null==se?l.remove(te):l.set(te,q(se)),i):l.get(te)},find:function(te,se,Te){var rt,dt,Dt,St,at,$e=0,ze=r.length;for(null==Te?Te=1/0:Te*=Te,$e=0;$e<ze;++$e)(Dt=(rt=te-(St=r[$e]).x)*rt+(dt=se-St.y)*dt)<Te&&(at=St,Te=Dt);return at},on:function(te,se){return arguments.length>1?(h.on(te,se),i):h.on(te)}}}function eQ(){var r,i,t,a,n=Bo(-30),o=1,s=1/0,l=.81;function d(N){var q,Q=r.length,te=YE(r,JJ,QJ).visitAfter(C);for(t=N,q=0;q<Q;++q)i=r[q],te.visit(P)}function h(){if(r){var N,Q,q=r.length;for(a=new Array(q),N=0;N<q;++N)a[(Q=r[N]).index]=+n(Q,N,r)}}function C(N){var Q,te,Te,$e,ze,q=0,se=0;if(N.length){for(Te=$e=ze=0;ze<4;++ze)(Q=N[ze])&&(te=Math.abs(Q.value))&&(q+=Q.value,se+=te,Te+=te*Q.x,$e+=te*Q.y);N.x=Te/se,N.y=$e/se}else{(Q=N).x=Q.data.x,Q.y=Q.data.y;do{q+=a[Q.data.index]}while(Q=Q.next)}N.value=q}function P(N,q,Q,te){if(!N.value)return!0;var se=N.x-i.x,Te=N.y-i.y,$e=te-q,ze=se*se+Te*Te;if($e*$e/l<ze)return ze<s&&(0===se&&(ze+=(se=Lf())*se),0===Te&&(ze+=(Te=Lf())*Te),ze<o&&(ze=Math.sqrt(o*ze)),i.vx+=se*N.value*t/ze,i.vy+=Te*N.value*t/ze),!0;if(!(N.length||ze>=s)){(N.data!==i||N.next)&&(0===se&&(ze+=(se=Lf())*se),0===Te&&(ze+=(Te=Lf())*Te),ze<o&&(ze=Math.sqrt(o*ze)));do{N.data!==i&&(i.vx+=se*($e=a[N.data.index]*t/ze),i.vy+=Te*$e)}while(N=N.next)}}return d.initialize=function(N){r=N,h()},d.strength=function(N){return arguments.length?(n="function"==typeof N?N:Bo(+N),h(),d):n},d.distanceMin=function(N){return arguments.length?(o=N*N,d):Math.sqrt(o)},d.distanceMax=function(N){return arguments.length?(s=N*N,d):Math.sqrt(s)},d.theta=function(N){return arguments.length?(l=N*N,d):Math.sqrt(l)},d}function tQ(r,i,t){var n,o,s,a=Bo(.1);function l(h){for(var C=0,P=n.length;C<P;++C){var N=n[C],q=N.x-i||1e-6,Q=N.y-t||1e-6,te=Math.sqrt(q*q+Q*Q),se=(s[C]-te)*o[C]*h/te;N.vx+=q*se,N.vy+=Q*se}}function d(){if(n){var h,C=n.length;for(o=new Array(C),s=new Array(C),h=0;h<C;++h)s[h]=+r(n[h],h,n),o[h]=isNaN(s[h])?0:+a(n[h],h,n)}}return"function"!=typeof r&&(r=Bo(+r)),null==i&&(i=0),null==t&&(t=0),l.initialize=function(h){n=h,d()},l.strength=function(h){return arguments.length?(a="function"==typeof h?h:Bo(+h),d(),l):a},l.radius=function(h){return arguments.length?(r="function"==typeof h?h:Bo(+h),d(),l):r},l.x=function(h){return arguments.length?(i=+h,l):i},l.y=function(h){return arguments.length?(t=+h,l):t},l}function nQ(r){var t,n,a,i=Bo(.1);function o(l){for(var C,d=0,h=t.length;d<h;++d)(C=t[d]).vx+=(a[d]-C.x)*n[d]*l}function s(){if(t){var l,d=t.length;for(n=new Array(d),a=new Array(d),l=0;l<d;++l)n[l]=isNaN(a[l]=+r(t[l],l,t))?0:+i(t[l],l,t)}}return"function"!=typeof r&&(r=Bo(null==r?0:+r)),o.initialize=function(l){t=l,s()},o.strength=function(l){return arguments.length?(i="function"==typeof l?l:Bo(+l),s(),o):i},o.x=function(l){return arguments.length?(r="function"==typeof l?l:Bo(+l),s(),o):r},o}function rQ(r){var t,n,a,i=Bo(.1);function o(l){for(var C,d=0,h=t.length;d<h;++d)(C=t[d]).vy+=(a[d]-C.y)*n[d]*l}function s(){if(t){var l,d=t.length;for(n=new Array(d),a=new Array(d),l=0;l<d;++l)n[l]=isNaN(a[l]=+r(t[l],l,t))?0:+i(t[l],l,t)}}return"function"!=typeof r&&(r=Bo(null==r?0:+r)),o.initialize=function(l){t=l,s()},o.strength=function(l){return arguments.length?(i="function"==typeof l?l:Bo(+l),s(),o):i},o.y=function(l){return arguments.length?(r="function"==typeof l?l:Bo(+l),s(),o):r},o}function JE(r,i){if((t=(r=i?r.toExponential(i-1):r.toExponential()).indexOf("e"))<0)return null;var t,n=r.slice(0,t);return[n.length>1?n[0]+n.slice(2):n,+r.slice(t+1)]}function k_(r){return(r=JE(Math.abs(r)))?r[1]:NaN}function c8(r,i){var t=JE(r,i);if(!t)return r+"";var n=t[0],a=t[1];return a<0?"0."+new Array(-a).join("0")+n:n.length>a+1?n.slice(0,a+1)+"."+n.slice(a+1):n+new Array(a-n.length+2).join("0")}var d8={"":function(r,i){e:for(var o,t=(r=r.toPrecision(i)).length,n=1,a=-1;n<t;++n)switch(r[n]){case".":a=o=n;break;case"0":0===a&&(a=n),o=n;break;case"e":break e;default:a>0&&(a=0)}return a>0?r.slice(0,a)+r.slice(o+1):r},"%":function(i,t){return(100*i).toFixed(t)},b:function(i){return Math.round(i).toString(2)},c:function(i){return i+""},d:function(i){return Math.round(i).toString(10)},e:function(i,t){return i.toExponential(t)},f:function(i,t){return i.toFixed(t)},g:function(i,t){return i.toPrecision(t)},o:function(i){return Math.round(i).toString(8)},p:function(i,t){return c8(100*i,t)},r:c8,s:function(r,i){var t=JE(r,i);if(!t)return r+"";var n=t[0],a=t[1],o=a-(u8=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,s=n.length;return o===s?n:o>s?n+new Array(o-s+1).join("0"):o>0?n.slice(0,o)+"."+n.slice(o):"0."+new Array(1-o).join("0")+JE(r,Math.max(0,i+o-1))[0]},X:function(i){return Math.round(i).toString(16).toUpperCase()},x:function(i){return Math.round(i).toString(16)}},lQ=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function qC(r){return new dN(r)}function dN(r){if(!(i=lQ.exec(r)))throw new Error("invalid format: "+r);var i,t=i[1]||" ",n=i[2]||">",a=i[3]||"-",o=i[4]||"",s=!!i[5],l=i[6]&&+i[6],d=!!i[7],h=i[8]&&+i[8].slice(1),C=i[9]||"";"n"===C?(d=!0,C="g"):d8[C]||(C=""),(s||"0"===t&&"="===n)&&(s=!0,t="0",n="="),this.fill=t,this.align=n,this.sign=a,this.symbol=o,this.zero=s,this.width=l,this.comma=d,this.precision=h,this.type=C}function p8(r){return r}qC.prototype=dN.prototype,dN.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type};var QE,KE,pN,f8=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function h8(r){var i=r.grouping&&r.thousands?function(r,i){return function(t,n){for(var a=t.length,o=[],s=0,l=r[0],d=0;a>0&&l>0&&(d+l+1>n&&(l=Math.max(1,n-d)),o.push(t.substring(a-=l,a+l)),!((d+=l+1)>n));)l=r[s=(s+1)%r.length];return o.reverse().join(i)}}(r.grouping,r.thousands):p8,t=r.currency,n=r.decimal,a=r.numerals?function(r){return function(i){return i.replace(/[0-9]/g,function(t){return r[+t]})}}(r.numerals):p8,o=r.percent||"%";function s(d){var h=(d=qC(d)).fill,C=d.align,P=d.sign,N=d.symbol,q=d.zero,Q=d.width,te=d.comma,se=d.precision,Te=d.type,$e="$"===N?t[0]:"#"===N&&/[boxX]/.test(Te)?"0"+Te.toLowerCase():"",ze="$"===N?t[1]:/[%p]/.test(Te)?o:"",rt=d8[Te],dt=!Te||/[defgprs%]/.test(Te);function Dt(St){var Wt,qt,it,at=$e,ut=ze;if("c"===Te)ut=rt(St)+ut,St="";else{var It=(St=+St)<0;if(St=rt(Math.abs(St),se),It&&0==+St&&(It=!1),at=(It?"("===P?P:"-":"-"===P||"("===P?"":P)+at,ut=("s"===Te?f8[8+u8/3]:"")+ut+(It&&"("===P?")":""),dt)for(Wt=-1,qt=St.length;++Wt<qt;)if(48>(it=St.charCodeAt(Wt))||it>57){ut=(46===it?n+St.slice(Wt+1):St.slice(Wt))+ut,St=St.slice(0,Wt);break}}te&&!q&&(St=i(St,1/0));var ln=at.length+St.length+ut.length,mn=ln<Q?new Array(Q-ln+1).join(h):"";switch(te&&q&&(St=i(mn+St,mn.length?Q-ut.length:1/0),mn=""),C){case"<":St=at+St+ut+mn;break;case"=":St=at+mn+St+ut;break;case"^":St=mn.slice(0,ln=mn.length>>1)+at+St+ut+mn.slice(ln);break;default:St=mn+at+St+ut}return a(St)}return se=null==se?Te?6:12:/[gprs]/.test(Te)?Math.max(1,Math.min(21,se)):Math.max(0,Math.min(20,se)),Dt.toString=function(){return d+""},Dt}return{format:s,formatPrefix:function(d,h){var C=s(((d=qC(d)).type="f",d)),P=3*Math.max(-8,Math.min(8,Math.floor(k_(h)/3))),N=Math.pow(10,-P),q=f8[8+P/3];return function(Q){return C(N*Q)+q}}}}function m8(r){return QE=h8(r),KE=QE.format,pN=QE.formatPrefix,QE}function v8(r){return Math.max(0,-k_(Math.abs(r)))}function g8(r,i){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(k_(i)/3)))-k_(Math.abs(r)))}function _8(r,i){return r=Math.abs(r),i=Math.abs(i)-r,Math.max(0,k_(i)-k_(r))+1}function Ff(){return new XE}function XE(){this.reset()}m8({decimal:".",thousands:",",grouping:[3],currency:["$",""]}),XE.prototype={constructor:XE,reset:function(){this.s=this.t=0},add:function(i){y8($E,i,this.t),y8(this,$E.s,this.s),this.s?this.t+=$E.t:this.s=$E.t},valueOf:function(){return this.s}};var $E=new XE;function y8(r,i,t){var n=r.s=i+t,a=n-i;r.t=i-(n-a)+(t-a)}var br=1e-6,Ri=Math.PI,so=Ri/2,eM=Ri/4,Cl=2*Ri,Ca=180/Ri,Dr=Ri/180,Ji=Math.abs,w_=Math.atan,tl=Math.atan2,Cr=Math.cos,tM=Math.ceil,C8=Math.exp,nM=(Math,Math.log),fN=Math.pow,sr=Math.sin,zC=Math.sign||function(r){return r>0?1:r<0?-1:0},Uo=Math.sqrt,hN=Math.tan;function S8(r){return r>1?0:r<-1?Ri:Math.acos(r)}function Xl(r){return r>1?so:r<-1?-so:Math.asin(r)}function T8(r){return(r=sr(r/2))*r}function Ya(){}function rM(r,i){r&&w8.hasOwnProperty(r.type)&&w8[r.type](r,i)}var k8={Feature:function(i,t){rM(i.geometry,t)},FeatureCollection:function(i,t){for(var n=i.features,a=-1,o=n.length;++a<o;)rM(n[a].geometry,t)}},w8={Sphere:function(i,t){t.sphere()},Point:function(i,t){t.point((i=i.coordinates)[0],i[1],i[2])},MultiPoint:function(i,t){for(var n=i.coordinates,a=-1,o=n.length;++a<o;)t.point((i=n[a])[0],i[1],i[2])},LineString:function(i,t){mN(i.coordinates,t,0)},MultiLineString:function(i,t){for(var n=i.coordinates,a=-1,o=n.length;++a<o;)mN(n[a],t,0)},Polygon:function(i,t){x8(i.coordinates,t)},MultiPolygon:function(i,t){for(var n=i.coordinates,a=-1,o=n.length;++a<o;)x8(n[a],t)},GeometryCollection:function(i,t){for(var n=i.geometries,a=-1,o=n.length;++a<o;)rM(n[a],t)}};function mN(r,i,t){var o,n=-1,a=r.length-t;for(i.lineStart();++n<a;)i.point((o=r[n])[0],o[1],o[2]);i.lineEnd()}function x8(r,i){var t=-1,n=r.length;for(i.polygonStart();++t<n;)mN(r[t],i,1);i.polygonEnd()}function mc(r,i){r&&k8.hasOwnProperty(r.type)?k8[r.type](r,i):rM(r,i)}var E8,M8,vN,gN,_N,iM=Ff(),aM=Ff(),id={point:Ya,lineStart:Ya,lineEnd:Ya,polygonStart:function(){iM.reset(),id.lineStart=uQ,id.lineEnd=cQ},polygonEnd:function(){var i=+iM;aM.add(i<0?Cl+i:i),this.lineStart=this.lineEnd=this.point=Ya},sphere:function(){aM.add(Cl)}};function uQ(){id.point=dQ}function cQ(){A8(E8,M8)}function dQ(r,i){id.point=A8,E8=r,M8=i,vN=r*=Dr,gN=Cr(i=(i*=Dr)/2+eM),_N=sr(i)}function A8(r,i){var t=(r*=Dr)-vN,n=t>=0?1:-1,a=n*t,o=Cr(i=(i*=Dr)/2+eM),s=sr(i),l=_N*s,d=gN*o+l*Cr(a),h=l*n*sr(a);iM.add(tl(h,d)),vN=r,gN=o,_N=s}function pQ(r){return aM.reset(),mc(r,id),2*aM}function oM(r){return[tl(r[1],r[0]),Xl(r[2])]}function Pm(r){var i=r[0],t=r[1],n=Cr(t);return[n*Cr(i),n*sr(i),sr(t)]}function sM(r,i){return r[0]*i[0]+r[1]*i[1]+r[2]*i[2]}function x_(r,i){return[r[1]*i[2]-r[2]*i[1],r[2]*i[0]-r[0]*i[2],r[0]*i[1]-r[1]*i[0]]}function yN(r,i){r[0]+=i[0],r[1]+=i[1],r[2]+=i[2]}function lM(r,i){return[r[0]*i,r[1]*i,r[2]*i]}function uM(r){var i=Uo(r[0]*r[0]+r[1]*r[1]+r[2]*r[2]);r[0]/=i,r[1]/=i,r[2]/=i}var lo,$l,vo,Mu,Im,D8,O8,E_,Bf,fp,WC=Ff(),hp={point:bN,lineStart:I8,lineEnd:R8,polygonStart:function(){hp.point=N8,hp.lineStart=fQ,hp.lineEnd=hQ,WC.reset(),id.polygonStart()},polygonEnd:function(){id.polygonEnd(),hp.point=bN,hp.lineStart=I8,hp.lineEnd=R8,iM<0?(lo=-(vo=180),$l=-(Mu=90)):WC>br?Mu=90:WC<-br&&($l=-90),fp[0]=lo,fp[1]=vo}};function bN(r,i){Bf.push(fp=[lo=r,vo=r]),i<$l&&($l=i),i>Mu&&(Mu=i)}function P8(r,i){var t=Pm([r*Dr,i*Dr]);if(E_){var n=x_(E_,t),o=x_([n[1],-n[0],0],n);uM(o),o=oM(o);var h,s=r-Im,l=s>0?1:-1,d=o[0]*Ca*l,C=Ji(s)>180;C^(l*Im<d&&d<l*r)?(h=o[1]*Ca)>Mu&&(Mu=h):C^(l*Im<(d=(d+360)%360-180)&&d<l*r)?(h=-o[1]*Ca)<$l&&($l=h):(i<$l&&($l=i),i>Mu&&(Mu=i)),C?r<Im?eu(lo,r)>eu(lo,vo)&&(vo=r):eu(r,vo)>eu(lo,vo)&&(lo=r):vo>=lo?(r<lo&&(lo=r),r>vo&&(vo=r)):r>Im?eu(lo,r)>eu(lo,vo)&&(vo=r):eu(r,vo)>eu(lo,vo)&&(lo=r)}else Bf.push(fp=[lo=r,vo=r]);i<$l&&($l=i),i>Mu&&(Mu=i),E_=t,Im=r}function I8(){hp.point=P8}function R8(){fp[0]=lo,fp[1]=vo,hp.point=bN,E_=null}function N8(r,i){if(E_){var t=r-Im;WC.add(Ji(t)>180?t+(t>0?360:-360):t)}else D8=r,O8=i;id.point(r,i),P8(r,i)}function fQ(){id.lineStart()}function hQ(){N8(D8,O8),id.lineEnd(),Ji(WC)>br&&(lo=-(vo=180)),fp[0]=lo,fp[1]=vo,E_=null}function eu(r,i){return(i-=r)<0?i+360:i}function mQ(r,i){return r[0]-i[0]}function Z8(r,i){return r[0]<=r[1]?r[0]<=i&&i<=r[1]:i<r[0]||r[1]<i}function vQ(r){var i,t,n,a,o,s,l;if(Mu=vo=-(lo=$l=1/0),Bf=[],mc(r,hp),t=Bf.length){for(Bf.sort(mQ),i=1,o=[n=Bf[0]];i<t;++i)Z8(n,(a=Bf[i])[0])||Z8(n,a[1])?(eu(n[0],a[1])>eu(n[0],n[1])&&(n[1]=a[1]),eu(a[0],n[1])>eu(n[0],n[1])&&(n[0]=a[0])):o.push(n=a);for(s=-1/0,i=0,n=o[t=o.length-1];i<=t;n=a,++i)(l=eu(n[1],(a=o[i])[0]))>s&&(s=l,lo=a[0],vo=n[1])}return Bf=fp=null,lo===1/0||$l===1/0?[[NaN,NaN],[NaN,NaN]]:[[lo,$l],[vo,Mu]]}var GC,cM,dM,pM,fM,hM,mM,vM,CN,SN,TN,L8,F8,nl,rl,il,vc={sphere:Ya,point:kN,lineStart:B8,lineEnd:U8,polygonStart:function(){vc.lineStart=yQ,vc.lineEnd=bQ},polygonEnd:function(){vc.lineStart=B8,vc.lineEnd=U8}};function kN(r,i){r*=Dr;var t=Cr(i*=Dr);YC(t*Cr(r),t*sr(r),sr(i))}function YC(r,i,t){++GC,dM+=(r-dM)/GC,pM+=(i-pM)/GC,fM+=(t-fM)/GC}function B8(){vc.point=gQ}function gQ(r,i){r*=Dr;var t=Cr(i*=Dr);nl=t*Cr(r),rl=t*sr(r),il=sr(i),vc.point=_Q,YC(nl,rl,il)}function _Q(r,i){r*=Dr;var t=Cr(i*=Dr),n=t*Cr(r),a=t*sr(r),o=sr(i),s=tl(Uo((s=rl*o-il*a)*s+(s=il*n-nl*o)*s+(s=nl*a-rl*n)*s),nl*n+rl*a+il*o);cM+=s,hM+=s*(nl+(nl=n)),mM+=s*(rl+(rl=a)),vM+=s*(il+(il=o)),YC(nl,rl,il)}function U8(){vc.point=kN}function yQ(){vc.point=CQ}function bQ(){H8(L8,F8),vc.point=kN}function CQ(r,i){L8=r,F8=i,r*=Dr,i*=Dr,vc.point=H8;var t=Cr(i);nl=t*Cr(r),rl=t*sr(r),il=sr(i),YC(nl,rl,il)}function H8(r,i){r*=Dr;var t=Cr(i*=Dr),n=t*Cr(r),a=t*sr(r),o=sr(i),s=rl*o-il*a,l=il*n-nl*o,d=nl*a-rl*n,h=Uo(s*s+l*l+d*d),C=Xl(h),P=h&&-C/h;CN+=P*s,SN+=P*l,TN+=P*d,cM+=C,hM+=C*(nl+(nl=n)),mM+=C*(rl+(rl=a)),vM+=C*(il+(il=o)),YC(nl,rl,il)}function SQ(r){GC=cM=dM=pM=fM=hM=mM=vM=CN=SN=TN=0,mc(r,vc);var i=CN,t=SN,n=TN,a=i*i+t*t+n*n;return a<1e-12&&(i=hM,t=mM,n=vM,cM<br&&(i=dM,t=pM,n=fM),(a=i*i+t*t+n*n)<1e-12)?[NaN,NaN]:[tl(t,i)*Ca,Xl(n/Uo(a))*Ca]}function M_(r){return function(){return r}}function wN(r,i){function t(n,a){return n=r(n,a),i(n[0],n[1])}return r.invert&&i.invert&&(t.invert=function(n,a){return(n=i.invert(n,a))&&r.invert(n[0],n[1])}),t}function xN(r,i){return[r>Ri?r-Cl:r<-Ri?r+Cl:r,i]}function EN(r,i,t){return(r%=Cl)?i||t?wN(j8(r),q8(i,t)):j8(r):i||t?q8(i,t):xN}function V8(r){return function(i,t){return[(i+=r)>Ri?i-Cl:i<-Ri?i+Cl:i,t]}}function j8(r){var i=V8(r);return i.invert=V8(-r),i}function q8(r,i){var t=Cr(r),n=sr(r),a=Cr(i),o=sr(i);function s(l,d){var h=Cr(d),C=Cr(l)*h,P=sr(l)*h,N=sr(d),q=N*t+C*n;return[tl(P*a-q*o,C*t-N*n),Xl(q*a+P*o)]}return s.invert=function(l,d){var h=Cr(d),C=Cr(l)*h,P=sr(l)*h,N=sr(d),q=N*a-P*o;return[tl(P*a+N*o,C*t+q*n),Xl(q*t-C*n)]},s}function z8(r){function i(t){return(t=r(t[0]*Dr,t[1]*Dr))[0]*=Ca,t[1]*=Ca,t}return r=EN(r[0]*Dr,r[1]*Dr,r.length>2?r[2]*Dr:0),i.invert=function(t){return(t=r.invert(t[0]*Dr,t[1]*Dr))[0]*=Ca,t[1]*=Ca,t},i}function W8(r,i,t,n,a,o){if(t){var s=Cr(i),l=sr(i),d=n*t;null==a?(a=i+n*Cl,o=i-d/2):(a=G8(s,a),o=G8(s,o),(n>0?a<o:a>o)&&(a+=n*Cl));for(var h,C=a;n>0?C>o:C<o;C-=d)h=oM([s,-l*Cr(C),-l*sr(C)]),r.point(h[0],h[1])}}function G8(r,i){(i=Pm(i))[0]-=r,uM(i);var t=S8(-i[1]);return((-i[2]<0?-t:t)+Cl-br)%Cl}function TQ(){var n,a,r=M_([0,0]),i=M_(90),t=M_(6),o={point:function(d,h){n.push(d=a(d,h)),d[0]*=Ca,d[1]*=Ca}};function l(){var d=r.apply(this,arguments),h=i.apply(this,arguments)*Dr,C=t.apply(this,arguments)*Dr;return n=[],a=EN(-d[0]*Dr,-d[1]*Dr,0).invert,W8(o,h,C,1),d={type:"Polygon",coordinates:[n]},n=a=null,d}return l.center=function(d){return arguments.length?(r="function"==typeof d?d:M_([+d[0],+d[1]]),l):r},l.radius=function(d){return arguments.length?(i="function"==typeof d?d:M_(+d),l):i},l.precision=function(d){return arguments.length?(t="function"==typeof d?d:M_(+d),l):t},l}function Y8(){var i,r=[];return{point:function(n,a){i.push([n,a])},lineStart:function(){r.push(i=[])},lineEnd:Ya,rejoin:function(){r.length>1&&r.push(r.pop().concat(r.shift()))},result:function(){var n=r;return r=[],i=null,n}}}function gM(r,i){return Ji(r[0]-i[0])<br&&Ji(r[1]-i[1])<br}function _M(r,i,t,n){this.x=r,this.z=i,this.o=t,this.e=n,this.v=!1,this.n=this.p=null}function J8(r,i,t,n,a){var l,d,o=[],s=[];if(r.forEach(function(Q){if(!((te=Q.length-1)<=0)){var te,$e,se=Q[0],Te=Q[te];if(gM(se,Te)){for(a.lineStart(),l=0;l<te;++l)a.point((se=Q[l])[0],se[1]);return void a.lineEnd()}o.push($e=new _M(se,Q,null,!0)),s.push($e.o=new _M(se,null,$e,!1)),o.push($e=new _M(Te,Q,null,!1)),s.push($e.o=new _M(Te,null,$e,!0))}}),o.length){for(s.sort(i),Q8(o),Q8(s),l=0,d=s.length;l<d;++l)s[l].e=t=!t;for(var C,P,h=o[0];;){for(var N=h,q=!0;N.v;)if((N=N.n)===h)return;C=N.z,a.lineStart();do{if(N.v=N.o.v=!0,N.e){if(q)for(l=0,d=C.length;l<d;++l)a.point((P=C[l])[0],P[1]);else n(N.x,N.n.x,1,a);N=N.n}else{if(q)for(l=(C=N.p.z).length-1;l>=0;--l)a.point((P=C[l])[0],P[1]);else n(N.x,N.p.x,-1,a);N=N.p}C=(N=N.o).z,q=!q}while(!N.v);a.lineEnd()}}}function Q8(r){if(i=r.length){for(var i,a,t=0,n=r[0];++t<i;)n.n=a=r[t],a.p=n,n=a;n.n=a=r[0],a.p=n}}xN.invert=xN;var MN=Ff();function K8(r,i){var t=i[0],n=i[1],a=sr(n),o=[sr(t),-Cr(t),0],s=0,l=0;MN.reset(),1===a?n=so+br:-1===a&&(n=-so-br);for(var d=0,h=r.length;d<h;++d)if(P=(C=r[d]).length)for(var C,P,N=C[P-1],q=N[0],Q=N[1]/2+eM,te=sr(Q),se=Cr(Q),Te=0;Te<P;++Te,q=ze,te=dt,se=Dt,N=$e){var $e=C[Te],ze=$e[0],rt=$e[1]/2+eM,dt=sr(rt),Dt=Cr(rt),St=ze-q,at=St>=0?1:-1,ut=at*St,Wt=ut>Ri,qt=te*dt;if(MN.add(tl(qt*at*sr(ut),se*Dt+qt*Cr(ut))),s+=Wt?St+at*Cl:St,Wt^q>=t^ze>=t){var it=x_(Pm(N),Pm($e));uM(it);var It=x_(o,it);uM(It);var ln=(Wt^St>=0?-1:1)*Xl(It[2]);(n>ln||n===ln&&(it[0]||it[1]))&&(l+=Wt^St>=0?1:-1)}}return(s<-br||s<br&&MN<-br)^1&l}function X8(r,i,t,n){return function(a){var h,C,P,o=i(a),s=Y8(),l=i(s),d=!1,N={point:q,lineStart:te,lineEnd:se,polygonStart:function(){N.point=Te,N.lineStart=$e,N.lineEnd=ze,C=[],h=[]},polygonEnd:function(){N.point=q,N.lineStart=te,N.lineEnd=se,C=oC(C);var dt=K8(h,n);C.length?(d||(a.polygonStart(),d=!0),J8(C,wQ,dt,t,a)):dt&&(d||(a.polygonStart(),d=!0),a.lineStart(),t(null,null,1,a),a.lineEnd()),d&&(a.polygonEnd(),d=!1),C=h=null},sphere:function(){a.polygonStart(),a.lineStart(),t(null,null,1,a),a.lineEnd(),a.polygonEnd()}};function q(rt,dt){r(rt,dt)&&a.point(rt,dt)}function Q(rt,dt){o.point(rt,dt)}function te(){N.point=Q,o.lineStart()}function se(){N.point=q,o.lineEnd()}function Te(rt,dt){P.push([rt,dt]),l.point(rt,dt)}function $e(){l.lineStart(),P=[]}function ze(){Te(P[0][0],P[0][1]),l.lineEnd();var Dt,at,ut,Wt,rt=l.clean(),dt=s.result(),St=dt.length;if(P.pop(),h.push(P),P=null,St){if(1&rt){if((at=(ut=dt[0]).length-1)>0){for(d||(a.polygonStart(),d=!0),a.lineStart(),Dt=0;Dt<at;++Dt)a.point((Wt=ut[Dt])[0],Wt[1]);a.lineEnd()}return}St>1&&2&rt&&dt.push(dt.pop().concat(dt.shift())),C.push(dt.filter(kQ))}}return N}}function kQ(r){return r.length>1}function wQ(r,i){return((r=r.x)[0]<0?r[1]-so-br:so-r[1])-((i=i.x)[0]<0?i[1]-so-br:so-i[1])}var AN=X8(function(){return!0},function(r){var a,i=NaN,t=NaN,n=NaN;return{lineStart:function(){r.lineStart(),a=1},point:function(s,l){var d=s>0?Ri:-Ri,h=Ji(s-i);Ji(h-Ri)<br?(r.point(i,t=(t+l)/2>0?so:-so),r.point(n,t),r.lineEnd(),r.lineStart(),r.point(d,t),r.point(s,t),a=0):n!==d&&h>=Ri&&(Ji(i-n)<br&&(i-=n*br),Ji(s-d)<br&&(s-=d*br),t=function(r,i,t,n){var a,o,s=sr(r-t);return Ji(s)>br?w_((sr(i)*(o=Cr(n))*sr(t)-sr(n)*(a=Cr(i))*sr(r))/(a*o*s)):(i+n)/2}(i,t,s,l),r.point(n,t),r.lineEnd(),r.lineStart(),r.point(d,t),a=0),r.point(i=s,t=l),n=d},lineEnd:function(){r.lineEnd(),i=t=NaN},clean:function(){return 2-a}}},function(r,i,t,n){var a;if(null==r)n.point(-Ri,a=t*so),n.point(0,a),n.point(Ri,a),n.point(Ri,0),n.point(Ri,-a),n.point(0,-a),n.point(-Ri,-a),n.point(-Ri,0),n.point(-Ri,a);else if(Ji(r[0]-i[0])>br){var o=r[0]<i[0]?Ri:-Ri;n.point(-o,a=t*o/2),n.point(0,a),n.point(o,a)}else n.point(i[0],i[1])},[-Ri,-so]);function $8(r){var i=Cr(r),t=6*Dr,n=i>0,a=Ji(i)>br;function s(C,P){return Cr(C)*Cr(P)>i}function d(C,P,N){var te=[1,0,0],se=x_(Pm(C),Pm(P)),Te=sM(se,se),$e=se[0],ze=Te-$e*$e;if(!ze)return!N&&C;var rt=i*Te/ze,dt=-i*$e/ze,Dt=x_(te,se),St=lM(te,rt);yN(St,lM(se,dt));var ut=Dt,Wt=sM(St,ut),qt=sM(ut,ut),it=Wt*Wt-qt*(sM(St,St)-1);if(!(it<0)){var It=Uo(it),ln=lM(ut,(-Wt-It)/qt);if(yN(ln,St),ln=oM(ln),!N)return ln;var fr,mn=C[0],Sn=P[0],tn=C[1],Xn=P[1];Sn<mn&&(fr=mn,mn=Sn,Sn=fr);var Lr=Sn-mn,tr=Ji(Lr-Ri)<br;if(!tr&&Xn<tn&&(fr=tn,tn=Xn,Xn=fr),tr||Lr<br?tr?tn+Xn>0^ln[1]<(Ji(ln[0]-mn)<br?tn:Xn):tn<=ln[1]&&ln[1]<=Xn:Lr>Ri^(mn<=ln[0]&&ln[0]<=Sn)){var di=lM(ut,(-Wt+It)/qt);return yN(di,St),[ln,oM(di)]}}}function h(C,P){var N=n?r:Ri-r,q=0;return C<-N?q|=1:C>N&&(q|=2),P<-N?q|=4:P>N&&(q|=8),q}return X8(s,function(C){var P,N,q,Q,te;return{lineStart:function(){Q=q=!1,te=1},point:function(Te,$e){var rt,ze=[Te,$e],dt=s(Te,$e),Dt=n?dt?0:h(Te,$e):dt?h(Te+(Te<0?Ri:-Ri),$e):0;if(!P&&(Q=q=dt)&&C.lineStart(),dt!==q&&(!(rt=d(P,ze))||gM(P,rt)||gM(ze,rt))&&(ze[0]+=br,ze[1]+=br,dt=s(ze[0],ze[1])),dt!==q)te=0,dt?(C.lineStart(),rt=d(ze,P),C.point(rt[0],rt[1])):(rt=d(P,ze),C.point(rt[0],rt[1]),C.lineEnd()),P=rt;else if(a&&P&&n^dt){var St;!(Dt&N)&&(St=d(ze,P,!0))&&(te=0,n?(C.lineStart(),C.point(St[0][0],St[0][1]),C.point(St[1][0],St[1][1]),C.lineEnd()):(C.point(St[1][0],St[1][1]),C.lineEnd(),C.lineStart(),C.point(St[0][0],St[0][1])))}dt&&(!P||!gM(P,ze))&&C.point(ze[0],ze[1]),P=ze,q=dt,N=Dt},lineEnd:function(){q&&C.lineEnd(),P=null},clean:function(){return te|(Q&&q)<<1}}},function(C,P,N,q){W8(q,r,t,N,C,P)},n?[0,-r]:[-Ri,r-Ri])}var JC=1e9,yM=-JC;function bM(r,i,t,n){function a(h,C){return r<=h&&h<=t&&i<=C&&C<=n}function o(h,C,P,N){var q=0,Q=0;if(null==h||(q=s(h,P))!==(Q=s(C,P))||d(h,C)<0^P>0)do{N.point(0===q||3===q?r:t,q>1?n:i)}while((q=(q+P+4)%4)!==Q);else N.point(C[0],C[1])}function s(h,C){return Ji(h[0]-r)<br?C>0?0:3:Ji(h[0]-t)<br?C>0?2:1:Ji(h[1]-i)<br?C>0?1:0:C>0?3:2}function l(h,C){return d(h.x,C.x)}function d(h,C){var P=s(h,1),N=s(C,1);return P!==N?P-N:0===P?C[1]-h[1]:1===P?h[0]-C[0]:2===P?h[1]-C[1]:C[0]-h[0]}return function(h){var N,q,Q,te,se,Te,$e,ze,rt,dt,Dt,C=h,P=Y8(),St={point:at,lineStart:function(){St.point=ln,q&&q.push(Q=[]),dt=!0,rt=!1,$e=ze=NaN},lineEnd:function(){N&&(ln(te,se),Te&&rt&&P.rejoin(),N.push(P.result())),St.point=at,rt&&C.lineEnd()},polygonStart:function(){C=P,N=[],q=[],Dt=!0},polygonEnd:function(){var mn=function(){for(var mn=0,Sn=0,tn=q.length;Sn<tn;++Sn)for(var Jr,di,Xn=q[Sn],fr=1,Lr=Xn.length,tr=Xn[0],hr=tr[0],Ui=tr[1];fr<Lr;++fr)Jr=hr,di=Ui,hr=(tr=Xn[fr])[0],Ui=tr[1],di<=n?Ui>n&&(hr-Jr)*(n-di)>(Ui-di)*(r-Jr)&&++mn:Ui<=n&&(hr-Jr)*(n-di)<(Ui-di)*(r-Jr)&&--mn;return mn}(),Sn=Dt&&mn,tn=(N=oC(N)).length;(Sn||tn)&&(h.polygonStart(),Sn&&(h.lineStart(),o(null,null,1,h),h.lineEnd()),tn&&J8(N,l,mn,o,h),h.polygonEnd()),C=h,N=q=Q=null}};function at(mn,Sn){a(mn,Sn)&&C.point(mn,Sn)}function ln(mn,Sn){var tn=a(mn,Sn);if(q&&Q.push([mn,Sn]),dt)te=mn,se=Sn,Te=tn,dt=!1,tn&&(C.lineStart(),C.point(mn,Sn));else if(tn&&rt)C.point(mn,Sn);else{var Xn=[$e=Math.max(yM,Math.min(JC,$e)),ze=Math.max(yM,Math.min(JC,ze))],fr=[mn=Math.max(yM,Math.min(JC,mn)),Sn=Math.max(yM,Math.min(JC,Sn))];!function(r,i,t,n,a,o){var Q,s=r[0],l=r[1],C=0,P=1,N=i[0]-s,q=i[1]-l;if(Q=t-s,N||!(Q>0)){if(Q/=N,N<0){if(Q<C)return;Q<P&&(P=Q)}else if(N>0){if(Q>P)return;Q>C&&(C=Q)}if(Q=a-s,N||!(Q<0)){if(Q/=N,N<0){if(Q>P)return;Q>C&&(C=Q)}else if(N>0){if(Q<C)return;Q<P&&(P=Q)}if(Q=n-l,q||!(Q>0)){if(Q/=q,q<0){if(Q<C)return;Q<P&&(P=Q)}else if(q>0){if(Q>P)return;Q>C&&(C=Q)}if(Q=o-l,q||!(Q<0)){if(Q/=q,q<0){if(Q>P)return;Q>C&&(C=Q)}else if(q>0){if(Q<C)return;Q<P&&(P=Q)}return C>0&&(r[0]=s+C*N,r[1]=l+C*q),P<1&&(i[0]=s+P*N,i[1]=l+P*q),!0}}}}}(Xn,fr,r,i,t,n)?tn&&(C.lineStart(),C.point(mn,Sn),Dt=!1):(rt||(C.lineStart(),C.point(Xn[0],Xn[1])),C.point(fr[0],fr[1]),tn||C.lineEnd(),Dt=!1)}$e=mn,ze=Sn,rt=tn}return St}}function DQ(){var a,o,s,r=0,i=0,t=960,n=500;return s={stream:function(d){return a&&o===d?a:a=bM(r,i,t,n)(o=d)},extent:function(d){return arguments.length?(r=+d[0][0],i=+d[0][1],t=+d[1][0],n=+d[1][1],a=o=null,s):[[r,i],[t,n]]}}}var ON,CM,SM,DN=Ff(),A_={sphere:Ya,point:Ya,lineStart:function(){A_.point=IQ,A_.lineEnd=PQ},lineEnd:Ya,polygonStart:Ya,polygonEnd:Ya};function PQ(){A_.point=A_.lineEnd=Ya}function IQ(r,i){ON=r*=Dr,CM=sr(i*=Dr),SM=Cr(i),A_.point=RQ}function RQ(r,i){r*=Dr;var t=sr(i*=Dr),n=Cr(i),a=Ji(r-ON),o=Cr(a),l=n*sr(a),d=SM*t-CM*n*o,h=CM*t+SM*n*o;DN.add(tl(Uo(l*l+d*d),h)),ON=r,CM=t,SM=n}function e7(r){return DN.reset(),mc(r,A_),+DN}var PN=[null,null],NQ={type:"LineString",coordinates:PN};function QC(r,i){return PN[0]=r,PN[1]=i,e7(NQ)}var t7={Feature:function(i,t){return TM(i.geometry,t)},FeatureCollection:function(i,t){for(var n=i.features,a=-1,o=n.length;++a<o;)if(TM(n[a].geometry,t))return!0;return!1}},n7={Sphere:function(){return!0},Point:function(i,t){return r7(i.coordinates,t)},MultiPoint:function(i,t){for(var n=i.coordinates,a=-1,o=n.length;++a<o;)if(r7(n[a],t))return!0;return!1},LineString:function(i,t){return a7(i.coordinates,t)},MultiLineString:function(i,t){for(var n=i.coordinates,a=-1,o=n.length;++a<o;)if(a7(n[a],t))return!0;return!1},Polygon:function(i,t){return o7(i.coordinates,t)},MultiPolygon:function(i,t){for(var n=i.coordinates,a=-1,o=n.length;++a<o;)if(o7(n[a],t))return!0;return!1},GeometryCollection:function(i,t){for(var n=i.geometries,a=-1,o=n.length;++a<o;)if(TM(n[a],t))return!0;return!1}};function TM(r,i){return!(!r||!n7.hasOwnProperty(r.type))&&n7[r.type](r,i)}function r7(r,i){return 0===QC(r,i)}function a7(r,i){var t=QC(r[0],r[1]);return QC(r[0],i)+QC(i,r[1])<=t+br}function o7(r,i){return!!K8(r.map(ZQ),s7(i))}function ZQ(r){return(r=r.map(s7)).pop(),r}function s7(r){return[r[0]*Dr,r[1]*Dr]}function LQ(r,i){return(r&&t7.hasOwnProperty(r.type)?t7[r.type]:TM)(r,i)}function l7(r,i,t){var n=Os(r,i-br,t).concat(i);return function(a){return n.map(function(o){return[a,o]})}}function u7(r,i,t){var n=Os(r,i-br,t).concat(i);return function(a){return n.map(function(o){return[o,a]})}}function c7(){var r,i,t,n,a,o,s,l,N,q,Q,te,d=10,h=d,C=90,P=360,se=2.5;function Te(){return{type:"MultiLineString",coordinates:$e()}}function $e(){return Os(tM(n/C)*C,t,C).map(Q).concat(Os(tM(l/P)*P,s,P).map(te)).concat(Os(tM(i/d)*d,r,d).filter(function(ze){return Ji(ze%C)>br}).map(N)).concat(Os(tM(o/h)*h,a,h).filter(function(ze){return Ji(ze%P)>br}).map(q))}return Te.lines=function(){return $e().map(function(ze){return{type:"LineString",coordinates:ze}})},Te.outline=function(){return{type:"Polygon",coordinates:[Q(n).concat(te(s).slice(1),Q(t).reverse().slice(1),te(l).reverse().slice(1))]}},Te.extent=function(ze){return arguments.length?Te.extentMajor(ze).extentMinor(ze):Te.extentMinor()},Te.extentMajor=function(ze){return arguments.length?(l=+ze[0][1],s=+ze[1][1],(n=+ze[0][0])>(t=+ze[1][0])&&(ze=n,n=t,t=ze),l>s&&(ze=l,l=s,s=ze),Te.precision(se)):[[n,l],[t,s]]},Te.extentMinor=function(ze){return arguments.length?(o=+ze[0][1],a=+ze[1][1],(i=+ze[0][0])>(r=+ze[1][0])&&(ze=i,i=r,r=ze),o>a&&(ze=o,o=a,a=ze),Te.precision(se)):[[i,o],[r,a]]},Te.step=function(ze){return arguments.length?Te.stepMajor(ze).stepMinor(ze):Te.stepMinor()},Te.stepMajor=function(ze){return arguments.length?(C=+ze[0],P=+ze[1],Te):[C,P]},Te.stepMinor=function(ze){return arguments.length?(d=+ze[0],h=+ze[1],Te):[d,h]},Te.precision=function(ze){return arguments.length?(se=+ze,N=l7(o,a,90),q=u7(i,r,se),Q=l7(l,s,90),te=u7(n,t,se),Te):se},Te.extentMajor([[-180,-90+br],[180,90-br]]).extentMinor([[-180,-80-br],[180,80+br]])}function FQ(){return c7()()}function BQ(r,i){var t=r[0]*Dr,n=r[1]*Dr,a=i[0]*Dr,o=i[1]*Dr,s=Cr(n),l=sr(n),d=Cr(o),h=sr(o),C=s*Cr(t),P=s*sr(t),N=d*Cr(a),q=d*sr(a),Q=2*Xl(Uo(T8(o-n)+s*d*T8(a-t))),te=sr(Q),se=Q?function(Te){var $e=sr(Te*=Q)/te,ze=sr(Q-Te)/te,rt=ze*C+$e*N,dt=ze*P+$e*q,Dt=ze*l+$e*h;return[tl(dt,rt)*Ca,tl(Dt,Uo(rt*rt+dt*dt))*Ca]}:function(){return[t*Ca,n*Ca]};return se.distance=Q,se}function Rm(r){return r}var d7,p7,NN,ZN,IN=Ff(),RN=Ff(),Uf={point:Ya,lineStart:Ya,lineEnd:Ya,polygonStart:function(){Uf.lineStart=UQ,Uf.lineEnd=VQ},polygonEnd:function(){Uf.lineStart=Uf.lineEnd=Uf.point=Ya,IN.add(Ji(RN)),RN.reset()},result:function(){var i=IN/2;return IN.reset(),i}};function UQ(){Uf.point=HQ}function HQ(r,i){Uf.point=f7,d7=NN=r,p7=ZN=i}function f7(r,i){RN.add(ZN*r-NN*i),NN=r,ZN=i}function VQ(){f7(d7,p7)}var m7,v7,ad,od,h7=Uf,D_=1/0,kM=D_,KC=-D_,wM=KC,jQ={point:function(r,i){r<D_&&(D_=r),r>KC&&(KC=r),i<kM&&(kM=i),i>wM&&(wM=i)},lineStart:Ya,lineEnd:Ya,polygonStart:Ya,polygonEnd:Ya,result:function(){var i=[[D_,kM],[KC,wM]];return KC=wM=-(kM=D_=1/0),i}},xM=jQ,LN=0,FN=0,XC=0,EM=0,MM=0,O_=0,BN=0,UN=0,$C=0,gc={point:Nm,lineStart:g7,lineEnd:_7,polygonStart:function(){gc.lineStart=GQ,gc.lineEnd=YQ},polygonEnd:function(){gc.point=Nm,gc.lineStart=g7,gc.lineEnd=_7},result:function(){var i=$C?[BN/$C,UN/$C]:O_?[EM/O_,MM/O_]:XC?[LN/XC,FN/XC]:[NaN,NaN];return LN=FN=XC=EM=MM=O_=BN=UN=$C=0,i}};function Nm(r,i){LN+=r,FN+=i,++XC}function g7(){gc.point=zQ}function zQ(r,i){gc.point=WQ,Nm(ad=r,od=i)}function WQ(r,i){var t=r-ad,n=i-od,a=Uo(t*t+n*n);EM+=a*(ad+r)/2,MM+=a*(od+i)/2,O_+=a,Nm(ad=r,od=i)}function _7(){gc.point=Nm}function GQ(){gc.point=JQ}function YQ(){y7(m7,v7)}function JQ(r,i){gc.point=y7,Nm(m7=ad=r,v7=od=i)}function y7(r,i){var t=r-ad,n=i-od,a=Uo(t*t+n*n);EM+=a*(ad+r)/2,MM+=a*(od+i)/2,O_+=a,BN+=(a=od*r-ad*i)*(ad+r),UN+=a*(od+i),$C+=3*a,Nm(ad=r,od=i)}var b7=gc;function C7(r){this._context=r}C7.prototype={_radius:4.5,pointRadius:function(i){return this._radius=i,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(i,t){switch(this._point){case 0:this._context.moveTo(i,t),this._point=1;break;case 1:this._context.lineTo(i,t);break;default:this._context.moveTo(i+this._radius,t),this._context.arc(i,t,this._radius,0,Cl)}},result:Ya};var VN,S7,T7,e1,t1,HN=Ff(),AM={point:Ya,lineStart:function(){AM.point=QQ},lineEnd:function(){VN&&k7(S7,T7),AM.point=Ya},polygonStart:function(){VN=!0},polygonEnd:function(){VN=null},result:function(){var i=+HN;return HN.reset(),i}};function QQ(r,i){AM.point=k7,S7=e1=r,T7=t1=i}function k7(r,i){HN.add(Uo((e1-=r)*e1+(t1-=i)*t1)),e1=r,t1=i}var w7=AM;function x7(){this._string=[]}function E7(r){return"m0,"+r+"a"+r+","+r+" 0 1,1 0,"+-2*r+"a"+r+","+r+" 0 1,1 0,"+2*r+"z"}function KQ(r,i){var n,a,t=4.5;function o(s){return s&&("function"==typeof t&&a.pointRadius(+t.apply(this,arguments)),mc(s,n(a))),a.result()}return o.area=function(s){return mc(s,n(h7)),h7.result()},o.measure=function(s){return mc(s,n(w7)),w7.result()},o.bounds=function(s){return mc(s,n(xM)),xM.result()},o.centroid=function(s){return mc(s,n(b7)),b7.result()},o.projection=function(s){return arguments.length?(n=null==s?(r=null,Rm):(r=s).stream,o):r},o.context=function(s){return arguments.length?(a=null==s?(i=null,new x7):new C7(i=s),"function"!=typeof t&&a.pointRadius(t),o):i},o.pointRadius=function(s){return arguments.length?(t="function"==typeof s?s:(a.pointRadius(+s),+s),o):t},o.projection(r).context(i)}function XQ(r){return{stream:n1(r)}}function n1(r){return function(i){var t=new jN;for(var n in r)t[n]=r[n];return t.stream=i,t}}function jN(){}function qN(r,i,t){var n=r.clipExtent&&r.clipExtent();return r.scale(150).translate([0,0]),null!=n&&r.clipExtent(null),mc(t,r.stream(xM)),i(xM.result()),null!=n&&r.clipExtent(n),r}function DM(r,i,t){return qN(r,function(n){var a=i[1][0]-i[0][0],o=i[1][1]-i[0][1],s=Math.min(a/(n[1][0]-n[0][0]),o/(n[1][1]-n[0][1])),l=+i[0][0]+(a-s*(n[1][0]+n[0][0]))/2,d=+i[0][1]+(o-s*(n[1][1]+n[0][1]))/2;r.scale(150*s).translate([l,d])},t)}function zN(r,i,t){return DM(r,[[0,0],i],t)}function WN(r,i,t){return qN(r,function(n){var a=+i,o=a/(n[1][0]-n[0][0]),s=(a-o*(n[1][0]+n[0][0]))/2,l=-o*n[0][1];r.scale(150*o).translate([s,l])},t)}function GN(r,i,t){return qN(r,function(n){var a=+i,o=a/(n[1][1]-n[0][1]),s=-o*n[0][0],l=(a-o*(n[1][1]+n[0][1]))/2;r.scale(150*o).translate([s,l])},t)}x7.prototype={_radius:4.5,_circle:E7(4.5),pointRadius:function(i){return(i=+i)!==this._radius&&(this._radius=i,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(i,t){switch(this._point){case 0:this._string.push("M",i,",",t),this._point=1;break;case 1:this._string.push("L",i,",",t);break;default:null==this._circle&&(this._circle=E7(this._radius)),this._string.push("M",i,",",t,this._circle)}},result:function(){if(this._string.length){var i=this._string.join("");return this._string=[],i}return null}},jN.prototype={constructor:jN,point:function(i,t){this.stream.point(i,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var $Q=Cr(30*Dr);function A7(r,i){return+i?function(r,i){function t(n,a,o,s,l,d,h,C,P,N,q,Q,te,se){var Te=h-n,$e=C-a,ze=Te*Te+$e*$e;if(ze>4*i&&te--){var rt=s+N,dt=l+q,Dt=d+Q,St=Uo(rt*rt+dt*dt+Dt*Dt),at=Xl(Dt/=St),ut=Ji(Ji(Dt)-1)<br||Ji(o-P)<br?(o+P)/2:tl(dt,rt),Wt=r(ut,at),qt=Wt[0],it=Wt[1],It=qt-n,ln=it-a,mn=$e*It-Te*ln;(mn*mn/ze>i||Ji((Te*It+$e*ln)/ze-.5)>.3||s*N+l*q+d*Q<$Q)&&(t(n,a,o,s,l,d,qt,it,ut,rt/=St,dt/=St,Dt,te,se),se.point(qt,it),t(qt,it,ut,rt,dt,Dt,h,C,P,N,q,Q,te,se))}}return function(n){var a,o,s,l,d,h,C,P,N,q,Q,te,se={point:Te,lineStart:$e,lineEnd:rt,polygonStart:function(){n.polygonStart(),se.lineStart=dt},polygonEnd:function(){n.polygonEnd(),se.lineStart=$e}};function Te(at,ut){at=r(at,ut),n.point(at[0],at[1])}function $e(){P=NaN,se.point=ze,n.lineStart()}function ze(at,ut){var Wt=Pm([at,ut]),qt=r(at,ut);t(P,N,C,q,Q,te,P=qt[0],N=qt[1],C=at,q=Wt[0],Q=Wt[1],te=Wt[2],16,n),n.point(P,N)}function rt(){se.point=Te,n.lineEnd()}function dt(){$e(),se.point=Dt,se.lineEnd=St}function Dt(at,ut){ze(a=at,ut),o=P,s=N,l=q,d=Q,h=te,se.point=ze}function St(){t(P,N,C,q,Q,te,o,s,a,l,d,h,16,n),se.lineEnd=rt,rt()}return se}}(r,i):function(r){return n1({point:function(t,n){t=r(t,n),this.stream.point(t[0],t[1])}})}(r)}var nK=n1({point:function(i,t){this.stream.point(i*Dr,t*Dr)}});function iK(r,i,t){function n(a,o){return[i+r*a,t-r*o]}return n.invert=function(a,o){return[(a-i)/r,(t-o)/r]},n}function D7(r,i,t,n){var a=Cr(n),o=sr(n),s=a*r,l=o*r,d=a/r,h=o/r,C=(o*t-a*i)/r,P=(o*i+a*t)/r;function N(q,Q){return[s*q-l*Q+i,t-l*q-s*Q]}return N.invert=function(q,Q){return[d*q-h*Q+C,P-h*q-d*Q]},N}function mp(r){return YN(function(){return r})()}function YN(r){var i,C,te,se,Te,rt,dt,Dt,St,at,t=150,n=480,a=250,o=0,s=0,l=0,d=0,h=0,P=0,N=null,q=AN,Q=null,$e=Rm,ze=.5;function ut(It){return Dt(It[0]*Dr,It[1]*Dr)}function Wt(It){return(It=Dt.invert(It[0],It[1]))&&[It[0]*Ca,It[1]*Ca]}function qt(){var It=D7(t,0,0,P).apply(null,i(o,s)),ln=(P?D7:iK)(t,n-It[0],a-It[1],P);return C=EN(l,d,h),dt=wN(i,ln),Dt=wN(C,dt),rt=A7(dt,ze),it()}function it(){return St=at=null,ut}return ut.stream=function(It){return St&&at===It?St:St=nK(function(r){return n1({point:function(t,n){var a=r(t,n);return this.stream.point(a[0],a[1])}})}(C)(q(rt($e(at=It)))))},ut.preclip=function(It){return arguments.length?(q=It,N=void 0,it()):q},ut.postclip=function(It){return arguments.length?($e=It,Q=te=se=Te=null,it()):$e},ut.clipAngle=function(It){return arguments.length?(q=+It?$8(N=It*Dr):(N=null,AN),it()):N*Ca},ut.clipExtent=function(It){return arguments.length?($e=null==It?(Q=te=se=Te=null,Rm):bM(Q=+It[0][0],te=+It[0][1],se=+It[1][0],Te=+It[1][1]),it()):null==Q?null:[[Q,te],[se,Te]]},ut.scale=function(It){return arguments.length?(t=+It,qt()):t},ut.translate=function(It){return arguments.length?(n=+It[0],a=+It[1],qt()):[n,a]},ut.center=function(It){return arguments.length?(o=It[0]%360*Dr,s=It[1]%360*Dr,qt()):[o*Ca,s*Ca]},ut.rotate=function(It){return arguments.length?(l=It[0]%360*Dr,d=It[1]%360*Dr,h=It.length>2?It[2]%360*Dr:0,qt()):[l*Ca,d*Ca,h*Ca]},ut.angle=function(It){return arguments.length?(P=It%360*Dr,qt()):P*Ca},ut.precision=function(It){return arguments.length?(rt=A7(dt,ze=It*It),it()):Uo(ze)},ut.fitExtent=function(It,ln){return DM(ut,It,ln)},ut.fitSize=function(It,ln){return zN(ut,It,ln)},ut.fitWidth=function(It,ln){return WN(ut,It,ln)},ut.fitHeight=function(It,ln){return GN(ut,It,ln)},function(){return i=r.apply(this,arguments),ut.invert=i.invert&&Wt,qt()}}function JN(r){var i=0,t=Ri/3,n=YN(r),a=n(i,t);return a.parallels=function(o){return arguments.length?n(i=o[0]*Dr,t=o[1]*Dr):[i*Ca,t*Ca]},a}function O7(r,i){var t=sr(r),n=(t+sr(i))/2;if(Ji(n)<br)return function(r){var i=Cr(r);function t(n,a){return[n*i,sr(a)/i]}return t.invert=function(n,a){return[n/i,Xl(a*i)]},t}(r);var a=1+t*(2*n-t),o=Uo(a)/n;function s(l,d){var h=Uo(a-2*n*sr(d))/n;return[h*sr(l*=n),o-h*Cr(l)]}return s.invert=function(l,d){var h=o-d;return[tl(l,Ji(h))/n*zC(h),Xl((a-(l*l+h*h)*n*n)/(2*n))]},s}function OM(){return JN(O7).scale(155.424).center([0,33.6442])}function P7(){return OM().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function sK(){var r,i,n,o,l,d,t=P7(),a=OM().rotate([154,0]).center([-2,58.5]).parallels([55,65]),s=OM().rotate([157,0]).center([-3,19.9]).parallels([8,18]),h={point:function(q,Q){d=[q,Q]}};function C(N){var q=N[0],Q=N[1];return d=null,n.point(q,Q),d||(o.point(q,Q),d)||(l.point(q,Q),d)}function P(){return r=i=null,C}return C.invert=function(N){var q=t.scale(),Q=t.translate(),te=(N[0]-Q[0])/q,se=(N[1]-Q[1])/q;return(se>=.12&&se<.234&&te>=-.425&&te<-.214?a:se>=.166&&se<.234&&te>=-.214&&te<-.115?s:t).invert(N)},C.stream=function(N){return r&&i===N?r:r=function(r){var i=r.length;return{point:function(n,a){for(var o=-1;++o<i;)r[o].point(n,a)},sphere:function(){for(var n=-1;++n<i;)r[n].sphere()},lineStart:function(){for(var n=-1;++n<i;)r[n].lineStart()},lineEnd:function(){for(var n=-1;++n<i;)r[n].lineEnd()},polygonStart:function(){for(var n=-1;++n<i;)r[n].polygonStart()},polygonEnd:function(){for(var n=-1;++n<i;)r[n].polygonEnd()}}}([t.stream(i=N),a.stream(N),s.stream(N)])},C.precision=function(N){return arguments.length?(t.precision(N),a.precision(N),s.precision(N),P()):t.precision()},C.scale=function(N){return arguments.length?(t.scale(N),a.scale(.35*N),s.scale(N),C.translate(t.translate())):t.scale()},C.translate=function(N){if(!arguments.length)return t.translate();var q=t.scale(),Q=+N[0],te=+N[1];return n=t.translate(N).clipExtent([[Q-.455*q,te-.238*q],[Q+.455*q,te+.238*q]]).stream(h),o=a.translate([Q-.307*q,te+.201*q]).clipExtent([[Q-.425*q+br,te+.12*q+br],[Q-.214*q-br,te+.234*q-br]]).stream(h),l=s.translate([Q-.205*q,te+.212*q]).clipExtent([[Q-.214*q+br,te+.166*q+br],[Q-.115*q-br,te+.234*q-br]]).stream(h),P()},C.fitExtent=function(N,q){return DM(C,N,q)},C.fitSize=function(N,q){return zN(C,N,q)},C.fitWidth=function(N,q){return WN(C,N,q)},C.fitHeight=function(N,q){return GN(C,N,q)},C.scale(1070)}function I7(r){return function(i,t){var n=Cr(i),a=Cr(t),o=r(n*a);return[o*a*sr(i),o*sr(t)]}}function r1(r){return function(i,t){var n=Uo(i*i+t*t),a=r(n),o=sr(a),s=Cr(a);return[tl(i*o,n*s),Xl(n&&t*o/n)]}}var QN=I7(function(r){return Uo(2/(1+r))});function lK(){return mp(QN).scale(124.75).clipAngle(179.999)}QN.invert=r1(function(r){return 2*Xl(r/2)});var KN=I7(function(r){return(r=S8(r))&&r/sr(r)});function uK(){return mp(KN).scale(79.4188).clipAngle(179.999)}function a1(r,i){return[r,nM(hN((so+i)/2))]}function cK(){return R7(a1).scale(961/Cl)}function R7(r){var l,d,h,i=mp(r),t=i.center,n=i.scale,a=i.translate,o=i.clipExtent,s=null;function C(){var P=Ri*n(),N=i(z8(i.rotate()).invert([0,0]));return o(null==s?[[N[0]-P,N[1]-P],[N[0]+P,N[1]+P]]:r===a1?[[Math.max(N[0]-P,s),l],[Math.min(N[0]+P,d),h]]:[[s,Math.max(N[1]-P,l)],[d,Math.min(N[1]+P,h)]])}return i.scale=function(P){return arguments.length?(n(P),C()):n()},i.translate=function(P){return arguments.length?(a(P),C()):a()},i.center=function(P){return arguments.length?(t(P),C()):t()},i.clipExtent=function(P){return arguments.length?(null==P?s=l=d=h=null:(s=+P[0][0],l=+P[0][1],d=+P[1][0],h=+P[1][1]),C()):null==s?null:[[s,l],[d,h]]},C()}function PM(r){return hN((so+r)/2)}function N7(r,i){var t=Cr(r),n=r===i?sr(r):nM(t/Cr(i))/nM(PM(i)/PM(r)),a=t*fN(PM(r),n)/n;if(!n)return a1;function o(s,l){a>0?l<-so+br&&(l=-so+br):l>so-br&&(l=so-br);var d=a/fN(PM(l),n);return[d*sr(n*s),a-d*Cr(n*s)]}return o.invert=function(s,l){var d=a-l,h=zC(n)*Uo(s*s+d*d);return[tl(s,Ji(d))/n*zC(d),2*w_(fN(a/h,1/n))-so]},o}function dK(){return JN(N7).scale(109.5).parallels([30,30])}function o1(r,i){return[r,i]}function pK(){return mp(o1).scale(152.63)}function Z7(r,i){var t=Cr(r),n=r===i?sr(r):(t-Cr(i))/(i-r),a=t/n+r;if(Ji(n)<br)return o1;function o(s,l){var d=a-l,h=n*s;return[d*sr(h),a-d*Cr(h)]}return o.invert=function(s,l){var d=a-l;return[tl(s,Ji(d))/n*zC(d),a-zC(n)*Uo(s*s+d*d)]},o}function fK(){return JN(Z7).scale(131.154).center([0,13.9389])}function XN(r,i){var t=Cr(i),n=Cr(r)*t;return[t*sr(r)/n,sr(i)/n]}function hK(){return mp(XN).scale(144.049).clipAngle(60)}function IM(r,i,t,n){return 1===r&&1===i&&0===t&&0===n?Rm:n1({point:function(o,s){this.stream.point(o*r+t,s*i+n)}})}function mK(){var l,d,h,P,N,q,r=1,i=0,t=0,n=1,a=1,o=Rm,s=null,C=Rm;function Q(){return P=N=null,q}return q={stream:function(se){return P&&N===se?P:P=o(C(N=se))},postclip:function(se){return arguments.length?(C=se,s=l=d=h=null,Q()):C},clipExtent:function(se){return arguments.length?(C=null==se?(s=l=d=h=null,Rm):bM(s=+se[0][0],l=+se[0][1],d=+se[1][0],h=+se[1][1]),Q()):null==s?null:[[s,l],[d,h]]},scale:function(se){return arguments.length?(o=IM((r=+se)*n,r*a,i,t),Q()):r},translate:function(se){return arguments.length?(o=IM(r*n,r*a,i=+se[0],t=+se[1]),Q()):[i,t]},reflectX:function(se){return arguments.length?(o=IM(r*(n=se?-1:1),r*a,i,t),Q()):n<0},reflectY:function(se){return arguments.length?(o=IM(r*n,r*(a=se?-1:1),i,t),Q()):a<0},fitExtent:function(se,Te){return DM(q,se,Te)},fitSize:function(se,Te){return zN(q,se,Te)},fitWidth:function(se,Te){return WN(q,se,Te)},fitHeight:function(se,Te){return GN(q,se,Te)}}}function $N(r,i){var t=i*i,n=t*t;return[r*(.8707-.131979*t+n*(n*(.003971*t-.001529*n)-.013791)),i*(1.007226+t*(.015085+n*(.028874*t-.044475-.005916*n)))]}function vK(){return mp($N).scale(175.295)}function eZ(r,i){return[Cr(i)*sr(r),sr(i)]}function gK(){return mp(eZ).scale(249.5).clipAngle(90+br)}function tZ(r,i){var t=Cr(i),n=1+Cr(r)*t;return[t*sr(r)/n,sr(i)/n]}function _K(){return mp(tZ).scale(250).clipAngle(142)}function nZ(r,i){return[nM(hN((so+i)/2)),-r]}function yK(){var r=R7(nZ),i=r.center,t=r.rotate;return r.center=function(n){return arguments.length?i([-n[1],n[0]]):[(n=i())[1],-n[0]]},r.rotate=function(n){return arguments.length?t([n[0],n[1],n.length>2?n[2]+90:90]):[(n=t())[0],n[1],n[2]-90]},t([0,0,90]).scale(159.155)}function bK(r,i){return r.parent===i.parent?1:2}function SK(r,i){return r+i.x}function kK(r,i){return Math.max(r,i.y)}function EK(){var r=bK,i=1,t=1,n=!1;function a(o){var s,l=0;o.eachAfter(function(N){var q=N.children;q?(N.x=function(r){return r.reduce(SK,0)/r.length}(q),N.y=function(r){return 1+r.reduce(kK,0)}(q)):(N.x=s?l+=r(N,s):0,N.y=0,s=N)});var d=function(r){for(var i;i=r.children;)r=i[0];return r}(o),h=function(r){for(var i;i=r.children;)r=i[i.length-1];return r}(o),C=d.x-r(d,h)/2,P=h.x+r(h,d)/2;return o.eachAfter(n?function(N){N.x=(N.x-o.x)*i,N.y=(o.y-N.y)*t}:function(N){N.x=(N.x-C)/(P-C)*i,N.y=(1-(o.y?N.y/o.y:1))*t})}return a.separation=function(o){return arguments.length?(r=o,a):r},a.size=function(o){return arguments.length?(n=!1,i=+o[0],t=+o[1],a):n?null:[i,t]},a.nodeSize=function(o){return arguments.length?(n=!0,i=+o[0],t=+o[1],a):n?[i,t]:null},a}function MK(r){var i=0,t=r.children,n=t&&t.length;if(n)for(;--n>=0;)i+=t[n].value;else i=1;r.value=i}function rZ(r,i){var a,s,l,d,h,t=new P_(r),n=+r.value&&(t.value=r.value),o=[t];for(null==i&&(i=VK);a=o.pop();)if(n&&(a.value=+a.data.value),(l=i(a.data))&&(h=l.length))for(a.children=new Array(h),d=h-1;d>=0;--d)o.push(s=a.children[d]=new P_(l[d])),s.parent=a,s.depth=a.depth+1;return t.eachBefore(L7)}function VK(r){return r.children}function jK(r){r.data=r.data.data}function L7(r){var i=0;do{r.height=i}while((r=r.parent)&&r.height<++i)}function P_(r){this.data=r,this.depth=this.height=0,this.parent=null}KN.invert=r1(function(r){return r}),a1.invert=function(r,i){return[r,2*w_(C8(i))-so]},o1.invert=o1,XN.invert=r1(w_),$N.invert=function(r,i){var a,t=i,n=25;do{var o=t*t,s=o*o;t-=a=(t*(1.007226+o*(.015085+s*(.028874*o-.044475-.005916*s)))-i)/(1.007226+o*(.045255+s*(.259866*o-.311325-.005916*11*s)))}while(Ji(a)>br&&--n>0);return[r/(.8707+(o=t*t)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),t]},eZ.invert=r1(Xl),tZ.invert=r1(function(r){return 2*w_(r)}),nZ.invert=function(r,i){return[-i,2*w_(C8(r))-so]},P_.prototype=rZ.prototype={constructor:P_,count:function(){return this.eachAfter(MK)},each:function(r){var t,a,o,s,i=this,n=[i];do{for(t=n.reverse(),n=[];i=t.pop();)if(r(i),a=i.children)for(o=0,s=a.length;o<s;++o)n.push(a[o])}while(n.length);return this},eachAfter:function(r){for(var a,o,s,i=this,t=[i],n=[];i=t.pop();)if(n.push(i),a=i.children)for(o=0,s=a.length;o<s;++o)t.push(a[o]);for(;i=n.pop();)r(i);return this},eachBefore:function(r){for(var n,a,i=this,t=[i];i=t.pop();)if(r(i),n=i.children)for(a=n.length-1;a>=0;--a)t.push(n[a]);return this},sum:function(r){return this.eachAfter(function(i){for(var t=+r(i.data)||0,n=i.children,a=n&&n.length;--a>=0;)t+=n[a].value;i.value=t})},sort:function(r){return this.eachBefore(function(i){i.children&&i.children.sort(r)})},path:function(r){for(var i=this,t=function(r,i){if(r===i)return r;var t=r.ancestors(),n=i.ancestors(),a=null;for(r=t.pop(),i=n.pop();r===i;)a=r,r=t.pop(),i=n.pop();return a}(i,r),n=[i];i!==t;)n.push(i=i.parent);for(var a=n.length;r!==t;)n.splice(a,0,r),r=r.parent;return n},ancestors:function(){for(var r=this,i=[r];r=r.parent;)i.push(r);return i},descendants:function(){var r=[];return this.each(function(i){r.push(i)}),r},leaves:function(){var r=[];return this.eachBefore(function(i){i.children||r.push(i)}),r},links:function(){var r=this,i=[];return r.each(function(t){t!==r&&i.push({source:t.parent,target:t})}),i},copy:function(){return rZ(this).eachBefore(jK)}};var qK=Array.prototype.slice;function F7(r){for(var a,o,i=0,t=(r=function(r){for(var t,n,i=r.length;i;)n=Math.random()*i--|0,t=r[i],r[i]=r[n],r[n]=t;return r}(qK.call(r))).length,n=[];i<t;)a=r[i],o&&B7(o,a)?++i:(o=GK(n=WK(n,a)),i=0);return o}function WK(r,i){var t,n;if(iZ(i,r))return[i];for(t=0;t<r.length;++t)if(RM(i,r[t])&&iZ(s1(r[t],i),r))return[r[t],i];for(t=0;t<r.length-1;++t)for(n=t+1;n<r.length;++n)if(RM(s1(r[t],r[n]),i)&&RM(s1(r[t],i),r[n])&&RM(s1(r[n],i),r[t])&&iZ(U7(r[t],r[n],i),r))return[r[t],r[n],i];throw new Error}function RM(r,i){var t=r.r-i.r,n=i.x-r.x,a=i.y-r.y;return t<0||t*t<n*n+a*a}function B7(r,i){var t=r.r-i.r+1e-6,n=i.x-r.x,a=i.y-r.y;return t>0&&t*t>n*n+a*a}function iZ(r,i){for(var t=0;t<i.length;++t)if(!B7(r,i[t]))return!1;return!0}function GK(r){switch(r.length){case 1:return function(r){return{x:r.x,y:r.y,r:r.r}}(r[0]);case 2:return s1(r[0],r[1]);case 3:return U7(r[0],r[1],r[2])}}function s1(r,i){var t=r.x,n=r.y,a=r.r,o=i.x,s=i.y,l=i.r,d=o-t,h=s-n,C=l-a,P=Math.sqrt(d*d+h*h);return{x:(t+o+d/P*C)/2,y:(n+s+h/P*C)/2,r:(P+a+l)/2}}function U7(r,i,t){var n=r.x,a=r.y,o=r.r,s=i.x,l=i.y,d=i.r,h=t.x,C=t.y,P=t.r,N=n-s,q=n-h,Q=a-l,te=a-C,se=d-o,Te=P-o,$e=n*n+a*a-o*o,ze=$e-s*s-l*l+d*d,rt=$e-h*h-C*C+P*P,dt=q*Q-N*te,Dt=(Q*rt-te*ze)/(2*dt)-n,St=(te*se-Q*Te)/dt,at=(q*ze-N*rt)/(2*dt)-a,ut=(N*Te-q*se)/dt,Wt=St*St+ut*ut-1,qt=2*(o+Dt*St+at*ut),it=Dt*Dt+at*at-o*o,It=-(Wt?(qt+Math.sqrt(qt*qt-4*Wt*it))/(2*Wt):it/qt);return{x:n+Dt+St*It,y:a+at+ut*It,r:It}}function H7(r,i,t){var a,o,l,d,n=r.x-i.x,s=r.y-i.y,h=n*n+s*s;h?(o=i.r+t.r,d=r.r+t.r,(o*=o)>(d*=d)?(a=(h+d-o)/(2*h),l=Math.sqrt(Math.max(0,d/h-a*a)),t.x=r.x-a*n-l*s,t.y=r.y-a*s+l*n):(a=(h+o-d)/(2*h),l=Math.sqrt(Math.max(0,o/h-a*a)),t.x=i.x+a*n-l*s,t.y=i.y+a*s+l*n)):(t.x=i.x+t.r,t.y=i.y)}function V7(r,i){var t=r.r+i.r-1e-6,n=i.x-r.x,a=i.y-r.y;return t>0&&t*t>n*n+a*a}function j7(r){var i=r._,t=r.next._,n=i.r+t.r,a=(i.x*t.r+t.x*i.r)/n,o=(i.y*t.r+t.y*i.r)/n;return a*a+o*o}function NM(r){this._=r,this.next=null,this.previous=null}function q7(r){if(!(a=r.length))return 0;var i,t,n,a,o,s,l,d,h,C,P;if((i=r[0]).x=0,i.y=0,!(a>1))return i.r;if(i.x=-(t=r[1]).r,t.x=i.r,t.y=0,!(a>2))return i.r+t.r;H7(t,i,n=r[2]),i=new NM(i),t=new NM(t),n=new NM(n),i.next=n.previous=t,t.next=i.previous=n,n.next=t.previous=i;e:for(l=3;l<a;++l){H7(i._,t._,n=r[l]),n=new NM(n),d=t.next,h=i.previous,C=t._.r,P=i._.r;do{if(C<=P){if(V7(d._,n._)){i.next=t=d,t.previous=i,--l;continue e}C+=d._.r,d=d.next}else{if(V7(h._,n._)){(i=h).next=t,t.previous=i,--l;continue e}P+=h._.r,h=h.previous}}while(d!==h.next);for(n.previous=i,n.next=t,i.next=t.previous=t=n,o=j7(i);(n=n.next)!==t;)(s=j7(n))<o&&(i=n,o=s);t=i.next}for(i=[t._],n=t;(n=n.next)!==t;)i.push(n._);for(n=F7(i),l=0;l<a;++l)(i=r[l]).x-=n.x,i.y-=n.y;return n.r}function JK(r){return q7(r),r}function QK(r){return null==r?null:ZM(r)}function ZM(r){if("function"!=typeof r)throw new Error;return r}function Zm(){return 0}function I_(r){return function(){return r}}function KK(r){return Math.sqrt(r.value)}function XK(){var r=null,i=1,t=1,n=Zm;function a(o){return o.x=i/2,o.y=t/2,r?o.eachBefore(z7(r)).eachAfter(aZ(n,.5)).eachBefore(W7(1)):o.eachBefore(z7(KK)).eachAfter(aZ(Zm,1)).eachAfter(aZ(n,o.r/Math.min(i,t))).eachBefore(W7(Math.min(i,t)/(2*o.r))),o}return a.radius=function(o){return arguments.length?(r=QK(o),a):r},a.size=function(o){return arguments.length?(i=+o[0],t=+o[1],a):[i,t]},a.padding=function(o){return arguments.length?(n="function"==typeof o?o:I_(+o),a):n},a}function z7(r){return function(i){i.children||(i.r=Math.max(0,+r(i)||0))}}function aZ(r,i){return function(t){if(n=t.children){var n,a,l,o=n.length,s=r(t)*i||0;if(s)for(a=0;a<o;++a)n[a].r+=s;if(l=q7(n),s)for(a=0;a<o;++a)n[a].r-=s;t.r=l+s}}}function W7(r){return function(i){var t=i.parent;i.r*=r,t&&(i.x=t.x+r*i.x,i.y=t.y+r*i.y)}}function G7(r){r.x0=Math.round(r.x0),r.y0=Math.round(r.y0),r.x1=Math.round(r.x1),r.y1=Math.round(r.y1)}function l1(r,i,t,n,a){for(var s,o=r.children,l=-1,d=o.length,h=r.value&&(n-i)/r.value;++l<d;)(s=o[l]).y0=t,s.y1=a,s.x0=i,s.x1=i+=s.value*h}function $K(){var r=1,i=1,t=0,n=!1;function a(s){var l=s.height+1;return s.x0=s.y0=t,s.x1=r,s.y1=i/l,s.eachBefore(function(s,l){return function(d){d.children&&l1(d,d.x0,s*(d.depth+1)/l,d.x1,s*(d.depth+2)/l);var h=d.x0,C=d.y0,P=d.x1-t,N=d.y1-t;P<h&&(h=P=(h+P)/2),N<C&&(C=N=(C+N)/2),d.x0=h,d.y0=C,d.x1=P,d.y1=N}}(i,l)),n&&s.eachBefore(G7),s}return a.round=function(s){return arguments.length?(n=!!s,a):n},a.size=function(s){return arguments.length?(r=+s[0],i=+s[1],a):[r,i]},a.padding=function(s){return arguments.length?(t=+s,a):t},a}var eX={depth:-1},J7={};function tX(r){return r.id}function nX(r){return r.parentId}function rX(){var r=tX,i=nX;function t(n){var a,o,l,d,h,P,N,s=n.length,C=new Array(s),q={};for(o=0;o<s;++o)h=C[o]=new P_(a=n[o]),null!=(P=r(a,o,n))&&(P+="")&&(q[N="$"+(h.id=P)]=N in q?J7:h);for(o=0;o<s;++o)if(h=C[o],null!=(P=i(n[o],o,n))&&(P+="")){if(!(d=q["$"+P]))throw new Error("missing: "+P);if(d===J7)throw new Error("ambiguous: "+P);d.children?d.children.push(h):d.children=[h],h.parent=d}else{if(l)throw new Error("multiple roots");l=h}if(!l)throw new Error("no root");if(l.parent=eX,l.eachBefore(function(Q){Q.depth=Q.parent.depth+1,--s}).eachBefore(L7),l.parent=null,s>0)throw new Error("cycle");return l}return t.id=function(n){return arguments.length?(r=ZM(n),t):r},t.parentId=function(n){return arguments.length?(i=ZM(n),t):i},t}function iX(r,i){return r.parent===i.parent?1:2}function oZ(r){var i=r.children;return i?i[0]:r.t}function sZ(r){var i=r.children;return i?i[i.length-1]:r.t}function aX(r,i,t){var n=t/(i.i-r.i);i.c-=n,i.s+=t,r.c+=n,i.z+=t,i.m+=t}function sX(r,i,t){return r.a.parent===i.parent?r.a:t}function LM(r,i){this._=r,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=i}function uX(){var r=iX,i=1,t=1,n=null;function a(h){var C=function(r){for(var t,a,o,s,l,i=new LM(r,0),n=[i];t=n.pop();)if(o=t._.children)for(t.children=new Array(l=o.length),s=l-1;s>=0;--s)n.push(a=t.children[s]=new LM(o[s],s)),a.parent=t;return(i.parent=new LM(null,0)).children=[i],i}(h);if(C.eachAfter(o),C.parent.m=-C.z,C.eachBefore(s),n)h.eachBefore(d);else{var P=h,N=h,q=h;h.eachBefore(function($e){$e.x<P.x&&(P=$e),$e.x>N.x&&(N=$e),$e.depth>q.depth&&(q=$e)});var Q=P===N?1:r(P,N)/2,te=Q-P.x,se=i/(N.x+Q+te),Te=t/(q.depth||1);h.eachBefore(function($e){$e.x=($e.x+te)*se,$e.y=$e.depth*Te})}return h}function o(h){var C=h.children,P=h.parent.children,N=h.i?P[h.i-1]:null;if(C){!function(r){for(var o,i=0,t=0,n=r.children,a=n.length;--a>=0;)(o=n[a]).z+=i,o.m+=i,i+=o.s+(t+=o.c)}(h);var q=(C[0].z+C[C.length-1].z)/2;N?(h.z=N.z+r(h._,N._),h.m=h.z-q):h.z=q}else N&&(h.z=N.z+r(h._,N._));h.parent.A=function(h,C,P){if(C){for(var rt,N=h,q=h,Q=C,te=N.parent.children[0],se=N.m,Te=q.m,$e=Q.m,ze=te.m;Q=sZ(Q),N=oZ(N),Q&&N;)te=oZ(te),(q=sZ(q)).a=h,(rt=Q.z+$e-N.z-se+r(Q._,N._))>0&&(aX(sX(Q,h,P),h,rt),se+=rt,Te+=rt),$e+=Q.m,se+=N.m,ze+=te.m,Te+=q.m;Q&&!sZ(q)&&(q.t=Q,q.m+=$e-Te),N&&!oZ(te)&&(te.t=N,te.m+=se-ze,P=h)}return P}(h,N,h.parent.A||P[0])}function s(h){h._.x=h.z+h.parent.m,h.m+=h.parent.m}function d(h){h.x*=i,h.y=h.depth*t}return a.separation=function(h){return arguments.length?(r=h,a):r},a.size=function(h){return arguments.length?(n=!1,i=+h[0],t=+h[1],a):n?null:[i,t]},a.nodeSize=function(h){return arguments.length?(n=!0,i=+h[0],t=+h[1],a):n?[i,t]:null},a}function FM(r,i,t,n,a){for(var s,o=r.children,l=-1,d=o.length,h=r.value&&(a-t)/r.value;++l<d;)(s=o[l]).x0=i,s.x1=n,s.y0=t,s.y1=t+=s.value*h}LM.prototype=Object.create(P_.prototype);var Q7=(1+Math.sqrt(5))/2;function K7(r,i,t,n,a,o){for(var d,h,q,Q,se,Te,$e,ze,rt,dt,Dt,s=[],l=i.children,C=0,P=0,N=l.length,te=i.value;C<N;){q=a-t,Q=o-n;do{se=l[P++].value}while(!se&&P<N);for(Te=$e=se,Dt=se*se*(dt=Math.max(Q/q,q/Q)/(te*r)),rt=Math.max($e/Dt,Dt/Te);P<N;++P){if(se+=h=l[P].value,h<Te&&(Te=h),h>$e&&($e=h),Dt=se*se*dt,(ze=Math.max($e/Dt,Dt/Te))>rt){se-=h;break}rt=ze}s.push(d={value:se,dice:q<Q,children:l.slice(C,P)}),d.dice?l1(d,t,n,a,te?n+=Q*se/te:o):FM(d,t,n,te?t+=q*se/te:a,o),te-=se,C=P}return s}var X7=function r(i){function t(n,a,o,s,l){K7(i,n,a,o,s,l)}return t.ratio=function(n){return r((n=+n)>1?n:1)},t}(Q7);function cX(){var r=X7,i=!1,t=1,n=1,a=[0],o=Zm,s=Zm,l=Zm,d=Zm,h=Zm;function C(N){return N.x0=N.y0=0,N.x1=t,N.y1=n,N.eachBefore(P),a=[0],i&&N.eachBefore(G7),N}function P(N){var q=a[N.depth],Q=N.x0+q,te=N.y0+q,se=N.x1-q,Te=N.y1-q;se<Q&&(Q=se=(Q+se)/2),Te<te&&(te=Te=(te+Te)/2),N.x0=Q,N.y0=te,N.x1=se,N.y1=Te,N.children&&(q=a[N.depth+1]=o(N)/2,Q+=h(N)-q,te+=s(N)-q,(se-=l(N)-q)<Q&&(Q=se=(Q+se)/2),(Te-=d(N)-q)<te&&(te=Te=(te+Te)/2),r(N,Q,te,se,Te))}return C.round=function(N){return arguments.length?(i=!!N,C):i},C.size=function(N){return arguments.length?(t=+N[0],n=+N[1],C):[t,n]},C.tile=function(N){return arguments.length?(r=ZM(N),C):r},C.padding=function(N){return arguments.length?C.paddingInner(N).paddingOuter(N):C.paddingInner()},C.paddingInner=function(N){return arguments.length?(o="function"==typeof N?N:I_(+N),C):o},C.paddingOuter=function(N){return arguments.length?C.paddingTop(N).paddingRight(N).paddingBottom(N).paddingLeft(N):C.paddingTop()},C.paddingTop=function(N){return arguments.length?(s="function"==typeof N?N:I_(+N),C):s},C.paddingRight=function(N){return arguments.length?(l="function"==typeof N?N:I_(+N),C):l},C.paddingBottom=function(N){return arguments.length?(d="function"==typeof N?N:I_(+N),C):d},C.paddingLeft=function(N){return arguments.length?(h="function"==typeof N?N:I_(+N),C):h},C}function dX(r,i,t,n,a){var s,d,o=r.children,l=o.length,h=new Array(l+1);for(h[0]=d=s=0;s<l;++s)h[s+1]=d+=o[s].value;!function C(P,N,q,Q,te,se,Te){if(P>=N-1){var $e=o[P];return $e.x0=Q,$e.y0=te,$e.x1=se,void($e.y1=Te)}for(var ze=h[P],rt=q/2+ze,dt=P+1,Dt=N-1;dt<Dt;){var St=dt+Dt>>>1;h[St]<rt?dt=St+1:Dt=St}rt-h[dt-1]<h[dt]-rt&&P+1<dt&&--dt;var at=h[dt]-ze,ut=q-at;if(se-Q>Te-te){var Wt=(Q*ut+se*at)/q;C(P,dt,at,Q,te,Wt,Te),C(dt,N,ut,Wt,te,se,Te)}else{var qt=(te*ut+Te*at)/q;C(P,dt,at,Q,te,se,qt),C(dt,N,ut,Q,qt,se,Te)}}(0,l,r.value,i,t,n,a)}function pX(r,i,t,n,a){(1&r.depth?FM:l1)(r,i,t,n,a)}var fX=function r(i){function t(n,a,o,s,l){if((d=n._squarify)&&d.ratio===i)for(var d,h,C,P,q,N=-1,Q=d.length,te=n.value;++N<Q;){for(C=(h=d[N]).children,P=h.value=0,q=C.length;P<q;++P)h.value+=C[P].value;h.dice?l1(h,a,o,s,o+=(l-o)*h.value/te):FM(h,a,o,a+=(s-a)*h.value/te,l),te-=h.value}else n._squarify=d=K7(i,n,a,o,s,l),d.ratio=i}return t.ratio=function(n){return r((n=+n)>1?n:1)},t}(Q7);function hX(r){for(var n,i=-1,t=r.length,a=r[t-1],o=0;++i<t;)o+=(n=a)[1]*(a=r[i])[0]-n[0]*a[1];return o/2}function mX(r){for(var o,l,i=-1,t=r.length,n=0,a=0,s=r[t-1],d=0;++i<t;)d+=l=(o=s)[0]*(s=r[i])[1]-s[0]*o[1],n+=(o[0]+s[0])*l,a+=(o[1]+s[1])*l;return[n/(d*=3),a/d]}function vX(r,i,t){return(i[0]-r[0])*(t[1]-r[1])-(i[1]-r[1])*(t[0]-r[0])}function gX(r,i){return r[0]-i[0]||r[1]-i[1]}function $7(r){for(var i=r.length,t=[0,1],n=2,a=2;a<i;++a){for(;n>1&&vX(r[t[n-2]],r[t[n-1]],r[a])<=0;)--n;t[n++]=a}return t.slice(0,n)}function _X(r){if((t=r.length)<3)return null;var i,t,n=new Array(t),a=new Array(t);for(i=0;i<t;++i)n[i]=[+r[i][0],+r[i][1],i];for(n.sort(gX),i=0;i<t;++i)a[i]=[n[i][0],-n[i][1]];var o=$7(n),s=$7(a),l=s[0]===o[0],d=s[s.length-1]===o[o.length-1],h=[];for(i=o.length-1;i>=0;--i)h.push(r[n[o[i]][2]]);for(i=+l;i<s.length-d;++i)h.push(r[n[s[i]][2]]);return h}function yX(r,i){for(var d,h,t=r.length,n=r[t-1],a=i[0],o=i[1],s=n[0],l=n[1],C=!1,P=0;P<t;++P)d=(n=r[P])[0],(h=n[1])>o!=l>o&&a<(s-d)*(o-h)/(l-h)+d&&(C=!C),s=d,l=h;return C}function bX(r){for(var a,o,i=-1,t=r.length,n=r[t-1],s=n[0],l=n[1],d=0;++i<t;)a=s,o=l,a-=s=(n=r[i])[0],o-=l=n[1],d+=Math.sqrt(a*a+o*o);return d}function R_(){return Math.random()}var CX=function r(i){function t(n,a){return n=null==n?0:+n,a=null==a?1:+a,1===arguments.length?(a=n,n=0):a-=n,function(){return i()*a+n}}return t.source=r,t}(R_),eU=function r(i){function t(n,a){var o,s;return n=null==n?0:+n,a=null==a?1:+a,function(){var l;if(null!=o)l=o,o=null;else do{o=2*i()-1,l=2*i()-1,s=o*o+l*l}while(!s||s>1);return n+a*l*Math.sqrt(-2*Math.log(s)/s)}}return t.source=r,t}(R_),SX=function r(i){function t(){var n=eU.source(i).apply(this,arguments);return function(){return Math.exp(n())}}return t.source=r,t}(R_),tU=function r(i){function t(n){return function(){for(var a=0,o=0;o<n;++o)a+=i();return a}}return t.source=r,t}(R_),TX=function r(i){function t(n){var a=tU.source(i)(n);return function(){return a()/n}}return t.source=r,t}(R_),kX=function r(i){function t(n){return function(){return-Math.log(1-i())/n}}return t.source=r,t}(R_),nU=Array.prototype,lZ=nU.map,Hf=nU.slice,uZ={name:"implicit"};function cZ(r){var i=Rf(),t=[],n=uZ;function a(o){var s=o+"",l=i.get(s);if(!l){if(n!==uZ)return n;i.set(s,l=t.push(o))}return r[(l-1)%r.length]}return r=null==r?[]:Hf.call(r),a.domain=function(o){if(!arguments.length)return t.slice();t=[],i=Rf();for(var d,h,s=-1,l=o.length;++s<l;)i.has(h=(d=o[s])+"")||i.set(h,t.push(d));return a},a.range=function(o){return arguments.length?(r=Hf.call(o),a):r.slice()},a.unknown=function(o){return arguments.length?(n=o,a):n},a.copy=function(){return cZ().domain(t).range(r).unknown(n)},a}function dZ(){var a,o,r=cZ().unknown(void 0),i=r.domain,t=r.range,n=[0,1],s=!1,l=0,d=0,h=.5;function C(){var P=i().length,N=n[1]<n[0],q=n[N-0],Q=n[1-N];a=(Q-q)/Math.max(1,P-l+2*d),s&&(a=Math.floor(a)),q+=(Q-q-a*(P-l))*h,o=a*(1-l),s&&(q=Math.round(q),o=Math.round(o));var te=Os(P).map(function(se){return q+a*se});return t(N?te.reverse():te)}return delete r.unknown,r.domain=function(P){return arguments.length?(i(P),C()):i()},r.range=function(P){return arguments.length?(n=[+P[0],+P[1]],C()):n.slice()},r.rangeRound=function(P){return n=[+P[0],+P[1]],s=!0,C()},r.bandwidth=function(){return o},r.step=function(){return a},r.round=function(P){return arguments.length?(s=!!P,C()):s},r.padding=function(P){return arguments.length?(l=d=Math.max(0,Math.min(1,P)),C()):l},r.paddingInner=function(P){return arguments.length?(l=Math.max(0,Math.min(1,P)),C()):l},r.paddingOuter=function(P){return arguments.length?(d=Math.max(0,Math.min(1,P)),C()):d},r.align=function(P){return arguments.length?(h=Math.max(0,Math.min(1,P)),C()):h},r.copy=function(){return dZ().domain(i()).range(n).round(s).paddingInner(l).paddingOuter(d).align(h)},C()}function rU(r){var i=r.copy;return r.padding=r.paddingOuter,delete r.paddingInner,delete r.paddingOuter,r.copy=function(){return rU(i())},r}function wX(){return rU(dZ().paddingInner(1))}function pZ(r){return function(){return r}}function iU(r){return+r}var aU=[0,1];function fZ(r,i){return(i-=r=+r)?function(t){return(t-r)/i}:pZ(i)}function MX(r,i,t,n){var a=r[0],o=r[1],s=i[0],l=i[1];return o<a?(a=t(o,a),s=n(l,s)):(a=t(a,o),s=n(s,l)),function(d){return s(a(d))}}function AX(r,i,t,n){var a=Math.min(r.length,i.length)-1,o=new Array(a),s=new Array(a),l=-1;for(r[a]<r[0]&&(r=r.slice().reverse(),i=i.slice().reverse());++l<a;)o[l]=t(r[l],r[l+1]),s[l]=n(i[l],i[l+1]);return function(d){var h=ac(r,d,1,a)-1;return s[h](o[h](d))}}function BM(r,i){return i.domain(r.domain()).range(r.range()).interpolate(r.interpolate()).clamp(r.clamp())}function UM(r,i){var s,l,d,t=aU,n=aU,a=IC,o=!1;function h(){return s=Math.min(t.length,n.length)>2?AX:MX,l=d=null,C}function C(P){return(l||(l=s(t,n,o?function(r){return function(i,t){var n=r(i=+i,t=+t);return function(a){return a<=i?0:a>=t?1:n(a)}}}(r):r,a)))(+P)}return C.invert=function(P){return(d||(d=s(n,t,fZ,o?function(r){return function(i,t){var n=r(i=+i,t=+t);return function(a){return a<=0?i:a>=1?t:n(a)}}}(i):i)))(+P)},C.domain=function(P){return arguments.length?(t=lZ.call(P,iU),h()):t.slice()},C.range=function(P){return arguments.length?(n=Hf.call(P),h()):n.slice()},C.rangeRound=function(P){return n=Hf.call(P),a=d4,h()},C.clamp=function(P){return arguments.length?(o=!!P,h()):o},C.interpolate=function(P){return arguments.length?(a=P,h()):a},h()}function u1(r){var i=r.domain;return r.ticks=function(t){var n=i();return dm(n[0],n[n.length-1],null==t?10:t)},r.tickFormat=function(t,n){return function(r,i,t){var s,n=r[0],a=r[r.length-1],o=Af(n,a,null==i?10:i);switch((t=qC(null==t?",f":t)).type){case"s":var l=Math.max(Math.abs(n),Math.abs(a));return null==t.precision&&!isNaN(s=g8(o,l))&&(t.precision=s),pN(t,l);case"":case"e":case"g":case"p":case"r":null==t.precision&&!isNaN(s=_8(o,Math.max(Math.abs(n),Math.abs(a))))&&(t.precision=s-("e"===t.type));break;case"f":case"%":null==t.precision&&!isNaN(s=v8(o))&&(t.precision=s-2*("%"===t.type))}return KE(t)}(i(),t,n)},r.nice=function(t){null==t&&(t=10);var d,n=i(),a=0,o=n.length-1,s=n[a],l=n[o];return l<s&&(d=s,s=l,l=d,d=a,a=o,o=d),(d=sp(s,l,t))>0?d=sp(s=Math.floor(s/d)*d,l=Math.ceil(l/d)*d,t):d<0&&(d=sp(s=Math.ceil(s*d)/d,l=Math.floor(l*d)/d,t)),d>0?(n[a]=Math.floor(s/d)*d,n[o]=Math.ceil(l/d)*d,i(n)):d<0&&(n[a]=Math.ceil(s*d)/d,n[o]=Math.floor(l*d)/d,i(n)),r},r}function oU(){var r=UM(fZ,Kl);return r.copy=function(){return BM(r,oU())},u1(r)}function sU(){var r=[0,1];function i(t){return+t}return i.invert=i,i.domain=i.range=function(t){return arguments.length?(r=lZ.call(t,iU),i):r.slice()},i.copy=function(){return sU().domain(r)},u1(i)}function lU(r,i){var s,t=0,n=(r=r.slice()).length-1,a=r[t],o=r[n];return o<a&&(s=t,t=n,n=s,s=a,a=o,o=s),r[t]=i.floor(a),r[n]=i.ceil(o),r}function OX(r,i){return(i=Math.log(i/r))?function(t){return Math.log(t/r)/i}:pZ(i)}function PX(r,i){return r<0?function(t){return-Math.pow(-i,t)*Math.pow(-r,1-t)}:function(t){return Math.pow(i,t)*Math.pow(r,1-t)}}function IX(r){return isFinite(r)?+("1e"+r):r<0?0:r}function uU(r){return 10===r?IX:r===Math.E?Math.exp:function(i){return Math.pow(r,i)}}function cU(r){return r===Math.E?Math.log:10===r&&Math.log10||2===r&&Math.log2||(r=Math.log(r),function(i){return Math.log(i)/r})}function dU(r){return function(i){return-r(-i)}}function pU(){var r=UM(OX,PX).domain([1,10]),i=r.domain,t=10,n=cU(10),a=uU(10);function o(){return n=cU(t),a=uU(t),i()[0]<0&&(n=dU(n),a=dU(a)),r}return r.base=function(s){return arguments.length?(t=+s,o()):t},r.domain=function(s){return arguments.length?(i(s),o()):i()},r.ticks=function(s){var C,l=i(),d=l[0],h=l[l.length-1];(C=h<d)&&(P=d,d=h,h=P);var q,Q,te,P=n(d),N=n(h),se=null==s?10:+s,Te=[];if(!(t%1)&&N-P<se){if(P=Math.round(P)-1,N=Math.round(N)+1,d>0){for(;P<N;++P)for(Q=1,q=a(P);Q<t;++Q)if(!((te=q*Q)<d)){if(te>h)break;Te.push(te)}}else for(;P<N;++P)for(Q=t-1,q=a(P);Q>=1;--Q)if(!((te=q*Q)<d)){if(te>h)break;Te.push(te)}}else Te=dm(P,N,Math.min(N-P,se)).map(a);return C?Te.reverse():Te},r.tickFormat=function(s,l){if(null==l&&(l=10===t?".0e":","),"function"!=typeof l&&(l=KE(l)),s===1/0)return l;null==s&&(s=10);var d=Math.max(1,t*s/r.ticks().length);return function(h){var C=h/a(Math.round(n(h)));return C*t<t-.5&&(C*=t),C<=d?l(h):""}},r.nice=function(){return i(lU(i(),{floor:function(l){return a(Math.floor(n(l)))},ceil:function(l){return a(Math.ceil(n(l)))}}))},r.copy=function(){return BM(r,pU().base(t))},r}function N_(r,i){return r<0?-Math.pow(-r,i):Math.pow(r,i)}function hZ(){var r=1,i=UM(function(o,s){return(s=N_(s,r)-(o=N_(o,r)))?function(l){return(N_(l,r)-o)/s}:pZ(s)},function(o,s){return s=N_(s,r)-(o=N_(o,r)),function(l){return N_(o+s*l,1/r)}}),t=i.domain;return i.exponent=function(o){return arguments.length?(r=+o,t(t())):r},i.copy=function(){return BM(i,hZ().exponent(r))},u1(i)}function RX(){return hZ().exponent(.5)}function fU(){var r=[],i=[],t=[];function n(){var o=0,s=Math.max(1,i.length);for(t=new Array(s-1);++o<s;)t[o-1]=r_(r,o/s);return a}function a(o){if(!isNaN(o=+o))return i[ac(t,o)]}return a.invertExtent=function(o){var s=i.indexOf(o);return s<0?[NaN,NaN]:[s>0?t[s-1]:r[0],s<t.length?t[s]:r[r.length-1]]},a.domain=function(o){if(!arguments.length)return r.slice();r=[];for(var d,s=0,l=o.length;s<l;++s)null!=(d=o[s])&&!isNaN(d=+d)&&r.push(d);return r.sort(Yi),n()},a.range=function(o){return arguments.length?(i=Hf.call(o),n()):i.slice()},a.quantiles=function(){return t.slice()},a.copy=function(){return fU().domain(r).range(i)},a}function hU(){var r=0,i=1,t=1,n=[.5],a=[0,1];function o(l){if(l<=l)return a[ac(n,l,0,t)]}function s(){var l=-1;for(n=new Array(t);++l<t;)n[l]=((l+1)*i-(l-t)*r)/(t+1);return o}return o.domain=function(l){return arguments.length?(r=+l[0],i=+l[1],s()):[r,i]},o.range=function(l){return arguments.length?(t=(a=Hf.call(l)).length-1,s()):a.slice()},o.invertExtent=function(l){var d=a.indexOf(l);return d<0?[NaN,NaN]:d<1?[r,n[0]]:d>=t?[n[t-1],i]:[n[d-1],n[d]]},o.copy=function(){return hU().domain([r,i]).range(a)},u1(o)}function mU(){var r=[.5],i=[0,1],t=1;function n(a){if(a<=a)return i[ac(r,a,0,t)]}return n.domain=function(a){return arguments.length?(r=Hf.call(a),t=Math.min(r.length,i.length-1),n):r.slice()},n.range=function(a){return arguments.length?(i=Hf.call(a),t=Math.min(r.length,i.length-1),n):i.slice()},n.invertExtent=function(a){var o=i.indexOf(a);return[r[o-1],r[o]]},n.copy=function(){return mU().domain(r).range(i)},n}var mZ=new Date,vZ=new Date;function Ho(r,i,t,n){function a(o){return r(o=new Date(+o)),o}return a.floor=a,a.ceil=function(o){return r(o=new Date(o-1)),i(o,1),r(o),o},a.round=function(o){var s=a(o),l=a.ceil(o);return o-s<l-o?s:l},a.offset=function(o,s){return i(o=new Date(+o),null==s?1:Math.floor(s)),o},a.range=function(o,s,l){var h,d=[];if(o=a.ceil(o),l=null==l?1:Math.floor(l),!(o<s&&l>0))return d;do{d.push(h=new Date(+o)),i(o,l),r(o)}while(h<o&&o<s);return d},a.filter=function(o){return Ho(function(s){if(s>=s)for(;r(s),!o(s);)s.setTime(s-1)},function(s,l){if(s>=s)if(l<0)for(;++l<=0;)for(;i(s,-1),!o(s););else for(;--l>=0;)for(;i(s,1),!o(s););})},t&&(a.count=function(o,s){return mZ.setTime(+o),vZ.setTime(+s),r(mZ),r(vZ),Math.floor(t(mZ,vZ))},a.every=function(o){return o=Math.floor(o),isFinite(o)&&o>0?o>1?a.filter(n?function(s){return n(s)%o==0}:function(s){return a.count(0,s)%o==0}):a:null}),a}var HM=Ho(function(){},function(r,i){r.setTime(+r+i)},function(r,i){return i-r});HM.every=function(r){return r=Math.floor(r),isFinite(r)&&r>0?r>1?Ho(function(i){i.setTime(Math.floor(i/r)*r)},function(i,t){i.setTime(+i+t*r)},function(i,t){return(t-i)/r}):HM:null};var VM=HM,vU=HM.range,Lm=6e4,qM=36e5,_U=6048e5,yU=Ho(function(r){r.setTime(r-r.getMilliseconds())},function(r,i){r.setTime(+r+1e3*i)},function(r,i){return(i-r)/1e3},function(r){return r.getUTCSeconds()}),zM=yU,bU=yU.range,CU=Ho(function(r){r.setTime(r-r.getMilliseconds()-1e3*r.getSeconds())},function(r,i){r.setTime(+r+i*Lm)},function(r,i){return(i-r)/Lm},function(r){return r.getMinutes()}),SU=CU,NX=CU.range,TU=Ho(function(r){r.setTime(r-r.getMilliseconds()-1e3*r.getSeconds()-r.getMinutes()*Lm)},function(r,i){r.setTime(+r+i*qM)},function(r,i){return(i-r)/qM},function(r){return r.getHours()}),kU=TU,ZX=TU.range,wU=Ho(function(r){r.setHours(0,0,0,0)},function(r,i){r.setDate(r.getDate()+i)},function(r,i){return(i-r-(i.getTimezoneOffset()-r.getTimezoneOffset())*Lm)/864e5},function(r){return r.getDate()-1}),WM=wU,LX=wU.range;function Fm(r){return Ho(function(i){i.setDate(i.getDate()-(i.getDay()+7-r)%7),i.setHours(0,0,0,0)},function(i,t){i.setDate(i.getDate()+7*t)},function(i,t){return(t-i-(t.getTimezoneOffset()-i.getTimezoneOffset())*Lm)/_U})}var c1=Fm(0),d1=Fm(1),xU=Fm(2),EU=Fm(3),p1=Fm(4),MU=Fm(5),AU=Fm(6),DU=c1.range,FX=d1.range,BX=xU.range,UX=EU.range,HX=p1.range,VX=MU.range,jX=AU.range,OU=Ho(function(r){r.setDate(1),r.setHours(0,0,0,0)},function(r,i){r.setMonth(r.getMonth()+i)},function(r,i){return i.getMonth()-r.getMonth()+12*(i.getFullYear()-r.getFullYear())},function(r){return r.getMonth()}),PU=OU,qX=OU.range,gZ=Ho(function(r){r.setMonth(0,1),r.setHours(0,0,0,0)},function(r,i){r.setFullYear(r.getFullYear()+i)},function(r,i){return i.getFullYear()-r.getFullYear()},function(r){return r.getFullYear()});gZ.every=function(r){return isFinite(r=Math.floor(r))&&r>0?Ho(function(i){i.setFullYear(Math.floor(i.getFullYear()/r)*r),i.setMonth(0,1),i.setHours(0,0,0,0)},function(i,t){i.setFullYear(i.getFullYear()+t*r)}):null};var Bm=gZ,zX=gZ.range,IU=Ho(function(r){r.setUTCSeconds(0,0)},function(r,i){r.setTime(+r+i*Lm)},function(r,i){return(i-r)/Lm},function(r){return r.getUTCMinutes()}),RU=IU,WX=IU.range,NU=Ho(function(r){r.setUTCMinutes(0,0,0)},function(r,i){r.setTime(+r+i*qM)},function(r,i){return(i-r)/qM},function(r){return r.getUTCHours()}),ZU=NU,GX=NU.range,LU=Ho(function(r){r.setUTCHours(0,0,0,0)},function(r,i){r.setUTCDate(r.getUTCDate()+i)},function(r,i){return(i-r)/864e5},function(r){return r.getUTCDate()-1}),GM=LU,YX=LU.range;function Um(r){return Ho(function(i){i.setUTCDate(i.getUTCDate()-(i.getUTCDay()+7-r)%7),i.setUTCHours(0,0,0,0)},function(i,t){i.setUTCDate(i.getUTCDate()+7*t)},function(i,t){return(t-i)/_U})}var f1=Um(0),h1=Um(1),FU=Um(2),BU=Um(3),m1=Um(4),UU=Um(5),HU=Um(6),VU=f1.range,JX=h1.range,QX=FU.range,KX=BU.range,XX=m1.range,$X=UU.range,e$=HU.range,jU=Ho(function(r){r.setUTCDate(1),r.setUTCHours(0,0,0,0)},function(r,i){r.setUTCMonth(r.getUTCMonth()+i)},function(r,i){return i.getUTCMonth()-r.getUTCMonth()+12*(i.getUTCFullYear()-r.getUTCFullYear())},function(r){return r.getUTCMonth()}),qU=jU,t$=jU.range,_Z=Ho(function(r){r.setUTCMonth(0,1),r.setUTCHours(0,0,0,0)},function(r,i){r.setUTCFullYear(r.getUTCFullYear()+i)},function(r,i){return i.getUTCFullYear()-r.getUTCFullYear()},function(r){return r.getUTCFullYear()});_Z.every=function(r){return isFinite(r=Math.floor(r))&&r>0?Ho(function(i){i.setUTCFullYear(Math.floor(i.getUTCFullYear()/r)*r),i.setUTCMonth(0,1),i.setUTCHours(0,0,0,0)},function(i,t){i.setUTCFullYear(i.getUTCFullYear()+t*r)}):null};var Hm=_Z,n$=_Z.range;function r$(r){if(0<=r.y&&r.y<100){var i=new Date(-1,r.m,r.d,r.H,r.M,r.S,r.L);return i.setFullYear(r.y),i}return new Date(r.y,r.m,r.d,r.H,r.M,r.S,r.L)}function YM(r){if(0<=r.y&&r.y<100){var i=new Date(Date.UTC(-1,r.m,r.d,r.H,r.M,r.S,r.L));return i.setUTCFullYear(r.y),i}return new Date(Date.UTC(r.y,r.m,r.d,r.H,r.M,r.S,r.L))}function v1(r){return{y:r,m:0,d:1,H:0,M:0,S:0,L:0}}function zU(r){var i=r.dateTime,t=r.date,n=r.time,a=r.periods,o=r.days,s=r.shortDays,l=r.months,d=r.shortMonths,h=g1(a),C=_1(a),P=g1(o),N=_1(o),q=g1(s),Q=_1(s),te=g1(l),se=_1(l),Te=g1(d),$e=_1(d),ze={a:function(cr){return s[cr.getDay()]},A:function(cr){return o[cr.getDay()]},b:function(cr){return d[cr.getMonth()]},B:function(cr){return l[cr.getMonth()]},c:null,d:JU,e:JU,f:E$,H:k$,I:w$,j:x$,L:QU,m:M$,M:A$,p:function(cr){return a[+(cr.getHours()>=12)]},Q:e9,s:t9,S:D$,u:O$,U:P$,V:I$,w:R$,W:N$,x:null,X:null,y:Z$,Y:L$,Z:F$,"%":$U},rt={a:function(cr){return s[cr.getUTCDay()]},A:function(cr){return o[cr.getUTCDay()]},b:function(cr){return d[cr.getUTCMonth()]},B:function(cr){return l[cr.getUTCMonth()]},c:null,d:KU,e:KU,f:V$,H:B$,I:U$,j:H$,L:XU,m:j$,M:q$,p:function(cr){return a[+(cr.getUTCHours()>=12)]},Q:e9,s:t9,S:z$,u:W$,U:G$,V:Y$,w:J$,W:Q$,x:null,X:null,y:K$,Y:X$,Z:$$,"%":$U},dt={a:function(cr,lr,$n){var Bn=q.exec(lr.slice($n));return Bn?(cr.w=Q[Bn[0].toLowerCase()],$n+Bn[0].length):-1},A:function(cr,lr,$n){var Bn=P.exec(lr.slice($n));return Bn?(cr.w=N[Bn[0].toLowerCase()],$n+Bn[0].length):-1},b:function(cr,lr,$n){var Bn=Te.exec(lr.slice($n));return Bn?(cr.m=$e[Bn[0].toLowerCase()],$n+Bn[0].length):-1},B:function(cr,lr,$n){var Bn=te.exec(lr.slice($n));return Bn?(cr.m=se[Bn[0].toLowerCase()],$n+Bn[0].length):-1},c:function(cr,lr,$n){return at(cr,i,lr,$n)},d:GU,e:GU,f:b$,H:YU,I:YU,j:v$,L:y$,m:m$,M:g$,p:function(cr,lr,$n){var Bn=h.exec(lr.slice($n));return Bn?(cr.p=C[Bn[0].toLowerCase()],$n+Bn[0].length):-1},Q:S$,s:T$,S:_$,u:l$,U:u$,V:c$,w:s$,W:d$,x:function(cr,lr,$n){return at(cr,t,lr,$n)},X:function(cr,lr,$n){return at(cr,n,lr,$n)},y:f$,Y:p$,Z:h$,"%":C$};function Dt(cr,lr){return function($n){var ys,Ol,Ac,Bn=[],Qa=-1,Oi=0,wi=cr.length;for($n instanceof Date||($n=new Date(+$n));++Qa<wi;)37===cr.charCodeAt(Qa)&&(Bn.push(cr.slice(Oi,Qa)),null!=(Ol=WU[ys=cr.charAt(++Qa)])?ys=cr.charAt(++Qa):Ol="e"===ys?" ":"0",(Ac=lr[ys])&&(ys=Ac($n,Ol)),Bn.push(ys),Oi=Qa+1);return Bn.push(cr.slice(Oi,Qa)),Bn.join("")}}function St(cr,lr){return function($n){var Oi,wi,Bn=v1(1900);if(at(Bn,cr,$n+="",0)!=$n.length)return null;if("Q"in Bn)return new Date(Bn.Q);if("p"in Bn&&(Bn.H=Bn.H%12+12*Bn.p),"V"in Bn){if(Bn.V<1||Bn.V>53)return null;"w"in Bn||(Bn.w=1),"Z"in Bn?(wi=(Oi=YM(v1(Bn.y))).getUTCDay(),Oi=wi>4||0===wi?h1.ceil(Oi):h1(Oi),Oi=GM.offset(Oi,7*(Bn.V-1)),Bn.y=Oi.getUTCFullYear(),Bn.m=Oi.getUTCMonth(),Bn.d=Oi.getUTCDate()+(Bn.w+6)%7):(wi=(Oi=lr(v1(Bn.y))).getDay(),Oi=wi>4||0===wi?d1.ceil(Oi):d1(Oi),Oi=WM.offset(Oi,7*(Bn.V-1)),Bn.y=Oi.getFullYear(),Bn.m=Oi.getMonth(),Bn.d=Oi.getDate()+(Bn.w+6)%7)}else("W"in Bn||"U"in Bn)&&("w"in Bn||(Bn.w="u"in Bn?Bn.u%7:"W"in Bn?1:0),wi="Z"in Bn?YM(v1(Bn.y)).getUTCDay():lr(v1(Bn.y)).getDay(),Bn.m=0,Bn.d="W"in Bn?(Bn.w+6)%7+7*Bn.W-(wi+5)%7:Bn.w+7*Bn.U-(wi+6)%7);return"Z"in Bn?(Bn.H+=Bn.Z/100|0,Bn.M+=Bn.Z%100,YM(Bn)):lr(Bn)}}function at(cr,lr,$n,Bn){for(var ys,Ol,Qa=0,Oi=lr.length,wi=$n.length;Qa<Oi;){if(Bn>=wi)return-1;if(37===(ys=lr.charCodeAt(Qa++))){if(ys=lr.charAt(Qa++),!(Ol=dt[ys in WU?lr.charAt(Qa++):ys])||(Bn=Ol(cr,$n,Bn))<0)return-1}else if(ys!=$n.charCodeAt(Bn++))return-1}return Bn}return ze.x=Dt(t,ze),ze.X=Dt(n,ze),ze.c=Dt(i,ze),rt.x=Dt(t,rt),rt.X=Dt(n,rt),rt.c=Dt(i,rt),{format:function(lr){var $n=Dt(lr+="",ze);return $n.toString=function(){return lr},$n},parse:function(lr){var $n=St(lr+="",r$);return $n.toString=function(){return lr},$n},utcFormat:function(lr){var $n=Dt(lr+="",rt);return $n.toString=function(){return lr},$n},utcParse:function(lr){var $n=St(lr,YM);return $n.toString=function(){return lr},$n}}}var Z_,yZ,n9,JM,bZ,WU={"-":"",_:" ",0:"0"},ms=/^\s*\d+/,i$=/^%/,a$=/[\\^$*+?|[\]().{}]/g;function la(r,i,t){var n=r<0?"-":"",a=(n?-r:r)+"",o=a.length;return n+(o<t?new Array(t-o+1).join(i)+a:a)}function o$(r){return r.replace(a$,"\\$&")}function g1(r){return new RegExp("^(?:"+r.map(o$).join("|")+")","i")}function _1(r){for(var i={},t=-1,n=r.length;++t<n;)i[r[t].toLowerCase()]=t;return i}function s$(r,i,t){var n=ms.exec(i.slice(t,t+1));return n?(r.w=+n[0],t+n[0].length):-1}function l$(r,i,t){var n=ms.exec(i.slice(t,t+1));return n?(r.u=+n[0],t+n[0].length):-1}function u$(r,i,t){var n=ms.exec(i.slice(t,t+2));return n?(r.U=+n[0],t+n[0].length):-1}function c$(r,i,t){var n=ms.exec(i.slice(t,t+2));return n?(r.V=+n[0],t+n[0].length):-1}function d$(r,i,t){var n=ms.exec(i.slice(t,t+2));return n?(r.W=+n[0],t+n[0].length):-1}function p$(r,i,t){var n=ms.exec(i.slice(t,t+4));return n?(r.y=+n[0],t+n[0].length):-1}function f$(r,i,t){var n=ms.exec(i.slice(t,t+2));return n?(r.y=+n[0]+(+n[0]>68?1900:2e3),t+n[0].length):-1}function h$(r,i,t){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(i.slice(t,t+6));return n?(r.Z=n[1]?0:-(n[2]+(n[3]||"00")),t+n[0].length):-1}function m$(r,i,t){var n=ms.exec(i.slice(t,t+2));return n?(r.m=n[0]-1,t+n[0].length):-1}function GU(r,i,t){var n=ms.exec(i.slice(t,t+2));return n?(r.d=+n[0],t+n[0].length):-1}function v$(r,i,t){var n=ms.exec(i.slice(t,t+3));return n?(r.m=0,r.d=+n[0],t+n[0].length):-1}function YU(r,i,t){var n=ms.exec(i.slice(t,t+2));return n?(r.H=+n[0],t+n[0].length):-1}function g$(r,i,t){var n=ms.exec(i.slice(t,t+2));return n?(r.M=+n[0],t+n[0].length):-1}function _$(r,i,t){var n=ms.exec(i.slice(t,t+2));return n?(r.S=+n[0],t+n[0].length):-1}function y$(r,i,t){var n=ms.exec(i.slice(t,t+3));return n?(r.L=+n[0],t+n[0].length):-1}function b$(r,i,t){var n=ms.exec(i.slice(t,t+6));return n?(r.L=Math.floor(n[0]/1e3),t+n[0].length):-1}function C$(r,i,t){var n=i$.exec(i.slice(t,t+1));return n?t+n[0].length:-1}function S$(r,i,t){var n=ms.exec(i.slice(t));return n?(r.Q=+n[0],t+n[0].length):-1}function T$(r,i,t){var n=ms.exec(i.slice(t));return n?(r.Q=1e3*+n[0],t+n[0].length):-1}function JU(r,i){return la(r.getDate(),i,2)}function k$(r,i){return la(r.getHours(),i,2)}function w$(r,i){return la(r.getHours()%12||12,i,2)}function x$(r,i){return la(1+WM.count(Bm(r),r),i,3)}function QU(r,i){return la(r.getMilliseconds(),i,3)}function E$(r,i){return QU(r,i)+"000"}function M$(r,i){return la(r.getMonth()+1,i,2)}function A$(r,i){return la(r.getMinutes(),i,2)}function D$(r,i){return la(r.getSeconds(),i,2)}function O$(r){var i=r.getDay();return 0===i?7:i}function P$(r,i){return la(c1.count(Bm(r),r),i,2)}function I$(r,i){var t=r.getDay();return r=t>=4||0===t?p1(r):p1.ceil(r),la(p1.count(Bm(r),r)+(4===Bm(r).getDay()),i,2)}function R$(r){return r.getDay()}function N$(r,i){return la(d1.count(Bm(r),r),i,2)}function Z$(r,i){return la(r.getFullYear()%100,i,2)}function L$(r,i){return la(r.getFullYear()%1e4,i,4)}function F$(r){var i=r.getTimezoneOffset();return(i>0?"-":(i*=-1,"+"))+la(i/60|0,"0",2)+la(i%60,"0",2)}function KU(r,i){return la(r.getUTCDate(),i,2)}function B$(r,i){return la(r.getUTCHours(),i,2)}function U$(r,i){return la(r.getUTCHours()%12||12,i,2)}function H$(r,i){return la(1+GM.count(Hm(r),r),i,3)}function XU(r,i){return la(r.getUTCMilliseconds(),i,3)}function V$(r,i){return XU(r,i)+"000"}function j$(r,i){return la(r.getUTCMonth()+1,i,2)}function q$(r,i){return la(r.getUTCMinutes(),i,2)}function z$(r,i){return la(r.getUTCSeconds(),i,2)}function W$(r){var i=r.getUTCDay();return 0===i?7:i}function G$(r,i){return la(f1.count(Hm(r),r),i,2)}function Y$(r,i){var t=r.getUTCDay();return r=t>=4||0===t?m1(r):m1.ceil(r),la(m1.count(Hm(r),r)+(4===Hm(r).getUTCDay()),i,2)}function J$(r){return r.getUTCDay()}function Q$(r,i){return la(h1.count(Hm(r),r),i,2)}function K$(r,i){return la(r.getUTCFullYear()%100,i,2)}function X$(r,i){return la(r.getUTCFullYear()%1e4,i,4)}function $$(){return"+0000"}function $U(){return"%"}function e9(r){return+r}function t9(r){return Math.floor(+r/1e3)}function r9(r){return Z_=zU(r),yZ=Z_.format,n9=Z_.parse,JM=Z_.utcFormat,bZ=Z_.utcParse,Z_}r9({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var i9="%Y-%m-%dT%H:%M:%S.%LZ",tee=Date.prototype.toISOString?function(r){return r.toISOString()}:JM(i9),nee=tee,iee=+new Date("2000-01-01T00:00:00.000Z")?function(r){var i=new Date(r);return isNaN(i)?null:i}:bZ(i9),aee=iee,b1=6e4,C1=60*b1,S1=24*C1,a9=30*S1,CZ=365*S1;function see(r){return new Date(r)}function lee(r){return r instanceof Date?+r:+new Date(+r)}function SZ(r,i,t,n,a,o,s,l,d){var h=UM(fZ,Kl),C=h.invert,P=h.domain,N=d(".%L"),q=d(":%S"),Q=d("%I:%M"),te=d("%I %p"),se=d("%a %d"),Te=d("%b %d"),$e=d("%B"),ze=d("%Y"),rt=[[s,1,1e3],[s,5,5e3],[s,15,15e3],[s,30,3e4],[o,1,b1],[o,5,5*b1],[o,15,15*b1],[o,30,30*b1],[a,1,C1],[a,3,3*C1],[a,6,6*C1],[a,12,12*C1],[n,1,S1],[n,2,2*S1],[t,1,6048e5],[i,1,a9],[i,3,3*a9],[r,1,CZ]];function dt(St){return(s(St)<St?N:o(St)<St?q:a(St)<St?Q:n(St)<St?te:i(St)<St?t(St)<St?se:Te:r(St)<St?$e:ze)(St)}function Dt(St,at,ut,Wt){if(null==St&&(St=10),"number"==typeof St){var qt=Math.abs(ut-at)/St,it=Xs(function(It){return It[2]}).right(rt,qt);it===rt.length?(Wt=Af(at/CZ,ut/CZ,St),St=r):it?(Wt=(it=rt[qt/rt[it-1][2]<rt[it][2]/qt?it-1:it])[1],St=it[0]):(Wt=Math.max(Af(at,ut,St),1),St=l)}return null==Wt?St:St.every(Wt)}return h.invert=function(St){return new Date(C(St))},h.domain=function(St){return arguments.length?P(lZ.call(St,lee)):P().map(see)},h.ticks=function(St,at){var It,ut=P(),Wt=ut[0],qt=ut[ut.length-1],it=qt<Wt;return it&&(It=Wt,Wt=qt,qt=It),It=(It=Dt(St,Wt,qt,at))?It.range(Wt,qt+1):[],it?It.reverse():It},h.tickFormat=function(St,at){return null==at?dt:d(at)},h.nice=function(St,at){var ut=P();return(St=Dt(St,ut[0],ut[ut.length-1],at))?P(lU(ut,St)):h},h.copy=function(){return BM(h,SZ(r,i,t,n,a,o,s,l,d))},h}function uee(){return SZ(Bm,PU,c1,WM,kU,SU,zM,VM,yZ).domain([new Date(2e3,0,1),new Date(2e3,0,2)])}function cee(){return SZ(Hm,qU,f1,GM,ZU,RU,zM,VM,JM).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}function o9(r){var i=0,t=1,n=!1;function a(o){var s=(o-i)/(t-i);return r(n?Math.max(0,Math.min(1,s)):s)}return a.domain=function(o){return arguments.length?(i=+o[0],t=+o[1],a):[i,t]},a.clamp=function(o){return arguments.length?(n=!!o,a):n},a.interpolator=function(o){return arguments.length?(r=o,a):r},a.copy=function(){return o9(r).domain([i,t]).clamp(n)},u1(a)}function li(r){for(var i=r.length/6|0,t=new Array(i),n=0;n<i;)t[n]="#"+r.slice(6*n,6*++n);return t}var dee=li("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),pee=li("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),fee=li("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),hee=li("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),mee=li("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),vee=li("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),gee=li("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),_ee=li("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),yee=li("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f");function va(r){return PC(r[r.length-1])}var s9=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(li),bee=va(s9),l9=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(li),Cee=va(l9),u9=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(li),See=va(u9),c9=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(li),Tee=va(c9),d9=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(li),kee=va(d9),p9=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(li),wee=va(p9),f9=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(li),xee=va(f9),h9=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(li),Eee=va(h9),m9=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(li),Mee=va(m9),v9=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(li),Aee=va(v9),g9=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(li),Dee=va(g9),_9=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(li),Oee=va(_9),y9=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(li),Pee=va(y9),b9=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(li),Iee=va(b9),C9=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(li),Ree=va(C9),S9=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(li),Nee=va(S9),T9=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(li),Zee=va(T9),k9=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(li),Lee=va(k9),w9=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(li),Fee=va(w9),x9=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(li),Bee=va(x9),E9=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(li),Uee=va(E9),M9=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(li),Hee=va(M9),A9=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(li),Vee=va(A9),D9=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(li),jee=va(D9),O9=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(li),qee=va(O9),P9=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(li),zee=va(P9),I9=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(li),Wee=va(I9),Gee=AE(mo(300,.5,0),mo(-240,.5,1)),Yee=AE(mo(-100,.75,.35),mo(80,1.5,.8)),Jee=AE(mo(260,.75,.35),mo(80,1.5,.8)),QM=mo();function Qee(r){(r<0||r>1)&&(r-=Math.floor(r));var i=Math.abs(r-.5);return QM.h=360*r-100,QM.s=1.5-1.5*i,QM.l=.8-.9*i,QM+""}function KM(r){var i=r.length;return function(t){return r[Math.max(0,Math.min(i-1,Math.floor(t*i)))]}}var Kee=KM(li("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),Xee=KM(li("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),$ee=KM(li("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),ete=KM(li("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function tte(r,i){return r.each(function(){var t=i.apply(this,arguments),n=$r(this);for(var a in t)n.attr(a,t[a])})}function nte(r,i){for(var t in i)r.attr(t,i[t]);return r}function ite(r,i,t){return r.each(function(){var n=i.apply(this,arguments),a=$r(this);for(var o in n)a.style(o,n[o],t)})}function ate(r,i,t){for(var n in i)r.style(n,i[n],t);return r}function ste(r,i){return r.each(function(){var t=i.apply(this,arguments),n=$r(this);for(var a in t)n.property(a,t[a])})}function lte(r,i){for(var t in i)r.property(t,i[t]);return r}function cte(r,i){return r.each(function(){var t=i.apply(this,arguments),n=$r(this).transition(r);for(var a in t)n.attr(a,t[a])})}function dte(r,i){for(var t in i)r.attr(t,i[t]);return r}function fte(r,i,t){return r.each(function(){var n=i.apply(this,arguments),a=$r(this).transition(r);for(var o in n)a.style(o,n[o],t)})}function hte(r,i,t){for(var n in i)r.style(n,i[n],t);return r}function gi(r){return function(){return r}}sc.prototype.attrs=function(r){return("function"==typeof r?tte:nte)(this,r)},sc.prototype.styles=function(r,i){return("function"==typeof r?ite:ate)(this,r,null==i?"":i)},sc.prototype.properties=function(r){return("function"==typeof r?ste:lte)(this,r)},LE.prototype.attrs=function(r){return("function"==typeof r?cte:dte)(this,r)},LE.prototype.styles=function(r,i){return("function"==typeof r?fte:hte)(this,r,null==i?"":i)};var R9=Math.abs,Is=Math.atan2,Vm=Math.cos,vte=Math.max,TZ=Math.min,sd=Math.sin,L_=Math.sqrt,vs=1e-12,jm=Math.PI,XM=jm/2,vp=2*jm;function gte(r){return r>1?0:r<-1?jm:Math.acos(r)}function N9(r){return r>=1?XM:r<=-1?-XM:Math.asin(r)}function _te(r){return r.innerRadius}function yte(r){return r.outerRadius}function bte(r){return r.startAngle}function Cte(r){return r.endAngle}function Ste(r){return r&&r.padAngle}function Tte(r,i,t,n,a,o,s,l){var d=t-r,h=n-i,C=s-a,P=l-o,N=P*d-C*h;if(!(N*N<vs))return[r+(N=(C*(i-o)-P*(r-a))/N)*d,i+N*h]}function $M(r,i,t,n,a,o,s){var l=r-t,d=i-n,h=(s?o:-o)/L_(l*l+d*d),C=h*d,P=-h*l,N=r+C,q=i+P,Q=t+C,te=n+P,se=(N+Q)/2,Te=(q+te)/2,$e=Q-N,ze=te-q,rt=$e*$e+ze*ze,dt=a-o,Dt=N*te-Q*q,St=(ze<0?-1:1)*L_(vte(0,dt*dt*rt-Dt*Dt)),at=(Dt*ze-$e*St)/rt,ut=(-Dt*$e-ze*St)/rt,Wt=(Dt*ze+$e*St)/rt,qt=(-Dt*$e+ze*St)/rt,it=at-se,It=ut-Te,ln=Wt-se,mn=qt-Te;return it*it+It*It>ln*ln+mn*mn&&(at=Wt,ut=qt),{cx:at,cy:ut,x01:-C,y01:-P,x11:at*(a/dt-1),y11:ut*(a/dt-1)}}function kte(){var r=_te,i=yte,t=gi(0),n=null,a=bte,o=Cte,s=Ste,l=null;function d(){var h,C,P=+r.apply(this,arguments),N=+i.apply(this,arguments),q=a.apply(this,arguments)-XM,Q=o.apply(this,arguments)-XM,te=R9(Q-q),se=Q>q;if(l||(l=h=hc()),N<P&&(C=N,N=P,P=C),N>vs)if(te>vp-vs)l.moveTo(N*Vm(q),N*sd(q)),l.arc(0,0,N,q,Q,!se),P>vs&&(l.moveTo(P*Vm(Q),P*sd(Q)),l.arc(0,0,P,Q,q,se));else{var it,It,Te=q,$e=Q,ze=q,rt=Q,dt=te,Dt=te,St=s.apply(this,arguments)/2,at=St>vs&&(n?+n.apply(this,arguments):L_(P*P+N*N)),ut=TZ(R9(N-P)/2,+t.apply(this,arguments)),Wt=ut,qt=ut;if(at>vs){var ln=N9(at/P*sd(St)),mn=N9(at/N*sd(St));(dt-=2*ln)>vs?(ze+=ln*=se?1:-1,rt-=ln):(dt=0,ze=rt=(q+Q)/2),(Dt-=2*mn)>vs?(Te+=mn*=se?1:-1,$e-=mn):(Dt=0,Te=$e=(q+Q)/2)}var Sn=N*Vm(Te),tn=N*sd(Te),Xn=P*Vm(rt),fr=P*sd(rt);if(ut>vs){var hr,Lr=N*Vm($e),tr=N*sd($e),Jr=P*Vm(ze),di=P*sd(ze);if(te<=vp-vs&&(hr=Tte(Sn,tn,Jr,di,Lr,tr,Xn,fr))){var Ui=Sn-hr[0],Ua=tn-hr[1],cr=Lr-hr[0],lr=tr-hr[1],$n=1/sd(gte((Ui*cr+Ua*lr)/(L_(Ui*Ui+Ua*Ua)*L_(cr*cr+lr*lr)))/2),Bn=L_(hr[0]*hr[0]+hr[1]*hr[1]);Wt=TZ(ut,(P-Bn)/($n-1)),qt=TZ(ut,(N-Bn)/($n+1))}}Dt>vs?qt>vs?(it=$M(Jr,di,Sn,tn,N,qt,se),It=$M(Lr,tr,Xn,fr,N,qt,se),l.moveTo(it.cx+it.x01,it.cy+it.y01),qt<ut?l.arc(it.cx,it.cy,qt,Is(it.y01,it.x01),Is(It.y01,It.x01),!se):(l.arc(it.cx,it.cy,qt,Is(it.y01,it.x01),Is(it.y11,it.x11),!se),l.arc(0,0,N,Is(it.cy+it.y11,it.cx+it.x11),Is(It.cy+It.y11,It.cx+It.x11),!se),l.arc(It.cx,It.cy,qt,Is(It.y11,It.x11),Is(It.y01,It.x01),!se))):(l.moveTo(Sn,tn),l.arc(0,0,N,Te,$e,!se)):l.moveTo(Sn,tn),P>vs&&dt>vs?Wt>vs?(it=$M(Xn,fr,Lr,tr,P,-Wt,se),It=$M(Sn,tn,Jr,di,P,-Wt,se),l.lineTo(it.cx+it.x01,it.cy+it.y01),Wt<ut?l.arc(it.cx,it.cy,Wt,Is(it.y01,it.x01),Is(It.y01,It.x01),!se):(l.arc(it.cx,it.cy,Wt,Is(it.y01,it.x01),Is(it.y11,it.x11),!se),l.arc(0,0,P,Is(it.cy+it.y11,it.cx+it.x11),Is(It.cy+It.y11,It.cx+It.x11),se),l.arc(It.cx,It.cy,Wt,Is(It.y11,It.x11),Is(It.y01,It.x01),!se))):l.arc(0,0,P,rt,ze,se):l.lineTo(Xn,fr)}else l.moveTo(0,0);if(l.closePath(),h)return l=null,h+""||null}return d.centroid=function(){var h=(+r.apply(this,arguments)+ +i.apply(this,arguments))/2,C=(+a.apply(this,arguments)+ +o.apply(this,arguments))/2-jm/2;return[Vm(C)*h,sd(C)*h]},d.innerRadius=function(h){return arguments.length?(r="function"==typeof h?h:gi(+h),d):r},d.outerRadius=function(h){return arguments.length?(i="function"==typeof h?h:gi(+h),d):i},d.cornerRadius=function(h){return arguments.length?(t="function"==typeof h?h:gi(+h),d):t},d.padRadius=function(h){return arguments.length?(n=null==h?null:"function"==typeof h?h:gi(+h),d):n},d.startAngle=function(h){return arguments.length?(a="function"==typeof h?h:gi(+h),d):a},d.endAngle=function(h){return arguments.length?(o="function"==typeof h?h:gi(+h),d):o},d.padAngle=function(h){return arguments.length?(s="function"==typeof h?h:gi(+h),d):s},d.context=function(h){return arguments.length?(l=null==h?null:h,d):l},d}function Z9(r){this._context=r}function eA(r){return new Z9(r)}function kZ(r){return r[0]}function wZ(r){return r[1]}function tA(){var r=kZ,i=wZ,t=gi(!0),n=null,a=eA,o=null;function s(l){var d,C,N,h=l.length,P=!1;for(null==n&&(o=a(N=hc())),d=0;d<=h;++d)!(d<h&&t(C=l[d],d,l))===P&&((P=!P)?o.lineStart():o.lineEnd()),P&&o.point(+r(C,d,l),+i(C,d,l));if(N)return o=null,N+""||null}return s.x=function(l){return arguments.length?(r="function"==typeof l?l:gi(+l),s):r},s.y=function(l){return arguments.length?(i="function"==typeof l?l:gi(+l),s):i},s.defined=function(l){return arguments.length?(t="function"==typeof l?l:gi(!!l),s):t},s.curve=function(l){return arguments.length?(a=l,null!=n&&(o=a(n)),s):a},s.context=function(l){return arguments.length?(null==l?n=o=null:o=a(n=l),s):n},s}function L9(){var r=kZ,i=null,t=gi(0),n=wZ,a=gi(!0),o=null,s=eA,l=null;function d(C){var P,N,q,te,Te,Q=C.length,se=!1,$e=new Array(Q),ze=new Array(Q);for(null==o&&(l=s(Te=hc())),P=0;P<=Q;++P){if(!(P<Q&&a(te=C[P],P,C))===se)if(se=!se)N=P,l.areaStart(),l.lineStart();else{for(l.lineEnd(),l.lineStart(),q=P-1;q>=N;--q)l.point($e[q],ze[q]);l.lineEnd(),l.areaEnd()}se&&($e[P]=+r(te,P,C),ze[P]=+t(te,P,C),l.point(i?+i(te,P,C):$e[P],n?+n(te,P,C):ze[P]))}if(Te)return l=null,Te+""||null}function h(){return tA().defined(a).curve(s).context(o)}return d.x=function(C){return arguments.length?(r="function"==typeof C?C:gi(+C),i=null,d):r},d.x0=function(C){return arguments.length?(r="function"==typeof C?C:gi(+C),d):r},d.x1=function(C){return arguments.length?(i=null==C?null:"function"==typeof C?C:gi(+C),d):i},d.y=function(C){return arguments.length?(t="function"==typeof C?C:gi(+C),n=null,d):t},d.y0=function(C){return arguments.length?(t="function"==typeof C?C:gi(+C),d):t},d.y1=function(C){return arguments.length?(n=null==C?null:"function"==typeof C?C:gi(+C),d):n},d.lineX0=d.lineY0=function(){return h().x(r).y(t)},d.lineY1=function(){return h().x(r).y(n)},d.lineX1=function(){return h().x(i).y(t)},d.defined=function(C){return arguments.length?(a="function"==typeof C?C:gi(!!C),d):a},d.curve=function(C){return arguments.length?(s=C,null!=o&&(l=s(o)),d):s},d.context=function(C){return arguments.length?(null==C?o=l=null:l=s(o=C),d):o},d}function wte(r,i){return i<r?-1:i>r?1:i>=r?0:NaN}function xte(r){return r}function Ete(){var r=xte,i=wte,t=null,n=gi(0),a=gi(vp),o=gi(0);function s(l){var d,C,P,Te,rt,h=l.length,N=0,q=new Array(h),Q=new Array(h),te=+n.apply(this,arguments),se=Math.min(vp,Math.max(-vp,a.apply(this,arguments)-te)),$e=Math.min(Math.abs(se)/h,o.apply(this,arguments)),ze=$e*(se<0?-1:1);for(d=0;d<h;++d)(rt=Q[q[d]=d]=+r(l[d],d,l))>0&&(N+=rt);for(null!=i?q.sort(function(dt,Dt){return i(Q[dt],Q[Dt])}):null!=t&&q.sort(function(dt,Dt){return t(l[dt],l[Dt])}),d=0,P=N?(se-h*ze)/N:0;d<h;++d,te=Te)Q[C=q[d]]={data:l[C],index:d,value:rt=Q[C],startAngle:te,endAngle:Te=te+(rt>0?rt*P:0)+ze,padAngle:$e};return Q}return s.value=function(l){return arguments.length?(r="function"==typeof l?l:gi(+l),s):r},s.sortValues=function(l){return arguments.length?(i=l,t=null,s):i},s.sort=function(l){return arguments.length?(t=l,i=null,s):t},s.startAngle=function(l){return arguments.length?(n="function"==typeof l?l:gi(+l),s):n},s.endAngle=function(l){return arguments.length?(a="function"==typeof l?l:gi(+l),s):a},s.padAngle=function(l){return arguments.length?(o="function"==typeof l?l:gi(+l),s):o},s}Z9.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(i,t){switch(i=+i,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(i,t):this._context.moveTo(i,t);break;case 1:this._point=2;default:this._context.lineTo(i,t)}}};var F9=xZ(eA);function B9(r){this._curve=r}function xZ(r){function i(t){return new B9(r(t))}return i._curve=r,i}function T1(r){var i=r.curve;return r.angle=r.x,delete r.x,r.radius=r.y,delete r.y,r.curve=function(t){return arguments.length?i(xZ(t)):i()._curve},r}function U9(){return T1(tA().curve(F9))}function H9(){var r=L9().curve(F9),i=r.curve,t=r.lineX0,n=r.lineX1,a=r.lineY0,o=r.lineY1;return r.angle=r.x,delete r.x,r.startAngle=r.x0,delete r.x0,r.endAngle=r.x1,delete r.x1,r.radius=r.y,delete r.y,r.innerRadius=r.y0,delete r.y0,r.outerRadius=r.y1,delete r.y1,r.lineStartAngle=function(){return T1(t())},delete r.lineX0,r.lineEndAngle=function(){return T1(n())},delete r.lineX1,r.lineInnerRadius=function(){return T1(a())},delete r.lineY0,r.lineOuterRadius=function(){return T1(o())},delete r.lineY1,r.curve=function(s){return arguments.length?i(xZ(s)):i()._curve},r}function k1(r,i){return[(i=+i)*Math.cos(r-=Math.PI/2),i*Math.sin(r)]}B9.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(i,t){this._curve.point(t*Math.sin(i),t*-Math.cos(i))}};var EZ=Array.prototype.slice;function Mte(r){return r.source}function Ate(r){return r.target}function MZ(r){var i=Mte,t=Ate,n=kZ,a=wZ,o=null;function s(){var l,d=EZ.call(arguments),h=i.apply(this,d),C=t.apply(this,d);if(o||(o=l=hc()),r(o,+n.apply(this,(d[0]=h,d)),+a.apply(this,d),+n.apply(this,(d[0]=C,d)),+a.apply(this,d)),l)return o=null,l+""||null}return s.source=function(l){return arguments.length?(i=l,s):i},s.target=function(l){return arguments.length?(t=l,s):t},s.x=function(l){return arguments.length?(n="function"==typeof l?l:gi(+l),s):n},s.y=function(l){return arguments.length?(a="function"==typeof l?l:gi(+l),s):a},s.context=function(l){return arguments.length?(o=null==l?null:l,s):o},s}function Dte(r,i,t,n,a){r.moveTo(i,t),r.bezierCurveTo(i=(i+n)/2,t,i,a,n,a)}function Ote(r,i,t,n,a){r.moveTo(i,t),r.bezierCurveTo(i,t=(t+a)/2,n,t,n,a)}function Pte(r,i,t,n,a){var o=k1(i,t),s=k1(i,t=(t+a)/2),l=k1(n,t),d=k1(n,a);r.moveTo(o[0],o[1]),r.bezierCurveTo(s[0],s[1],l[0],l[1],d[0],d[1])}function Ite(){return MZ(Dte)}function Rte(){return MZ(Ote)}function Nte(){var r=MZ(Pte);return r.angle=r.x,delete r.x,r.radius=r.y,delete r.y,r}var AZ={draw:function(i,t){var n=Math.sqrt(t/jm);i.moveTo(n,0),i.arc(0,0,n,0,vp)}},V9={draw:function(i,t){var n=Math.sqrt(t/5)/2;i.moveTo(-3*n,-n),i.lineTo(-n,-n),i.lineTo(-n,-3*n),i.lineTo(n,-3*n),i.lineTo(n,-n),i.lineTo(3*n,-n),i.lineTo(3*n,n),i.lineTo(n,n),i.lineTo(n,3*n),i.lineTo(-n,3*n),i.lineTo(-n,n),i.lineTo(-3*n,n),i.closePath()}},j9=Math.sqrt(1/3),Zte=2*j9,q9={draw:function(i,t){var n=Math.sqrt(t/Zte),a=n*j9;i.moveTo(0,-n),i.lineTo(a,0),i.lineTo(0,n),i.lineTo(-a,0),i.closePath()}},z9=Math.sin(jm/10)/Math.sin(7*jm/10),Fte=Math.sin(vp/10)*z9,Bte=-Math.cos(vp/10)*z9,W9={draw:function(i,t){var n=Math.sqrt(.8908130915292852*t),a=Fte*n,o=Bte*n;i.moveTo(0,-n),i.lineTo(a,o);for(var s=1;s<5;++s){var l=vp*s/5,d=Math.cos(l),h=Math.sin(l);i.lineTo(h*n,-d*n),i.lineTo(d*a-h*o,h*a+d*o)}i.closePath()}},G9={draw:function(i,t){var n=Math.sqrt(t),a=-n/2;i.rect(a,a,n,n)}},DZ=Math.sqrt(3),Y9={draw:function(i,t){var n=-Math.sqrt(t/(3*DZ));i.moveTo(0,2*n),i.lineTo(-DZ*n,-n),i.lineTo(DZ*n,-n),i.closePath()}},Au=-.5,Du=Math.sqrt(3)/2,OZ=1/Math.sqrt(12),Ute=3*(OZ/2+1),J9={draw:function(i,t){var n=Math.sqrt(t/Ute),a=n/2,o=n*OZ,s=a,l=n*OZ+n,d=-s,h=l;i.moveTo(a,o),i.lineTo(s,l),i.lineTo(d,h),i.lineTo(Au*a-Du*o,Du*a+Au*o),i.lineTo(Au*s-Du*l,Du*s+Au*l),i.lineTo(Au*d-Du*h,Du*d+Au*h),i.lineTo(Au*a+Du*o,Au*o-Du*a),i.lineTo(Au*s+Du*l,Au*l-Du*s),i.lineTo(Au*d+Du*h,Au*h-Du*d),i.closePath()}},Hte=[AZ,V9,q9,G9,W9,Y9,J9];function Vte(){var r=gi(AZ),i=gi(64),t=null;function n(){var a;if(t||(t=a=hc()),r.apply(this,arguments).draw(t,+i.apply(this,arguments)),a)return t=null,a+""||null}return n.type=function(a){return arguments.length?(r="function"==typeof a?a:gi(a),n):r},n.size=function(a){return arguments.length?(i="function"==typeof a?a:gi(+a),n):i},n.context=function(a){return arguments.length?(t=null==a?null:a,n):t},n}function Vf(){}function nA(r,i,t){r._context.bezierCurveTo((2*r._x0+r._x1)/3,(2*r._y0+r._y1)/3,(r._x0+2*r._x1)/3,(r._y0+2*r._y1)/3,(r._x0+4*r._x1+i)/6,(r._y0+4*r._y1+t)/6)}function rA(r){this._context=r}function jte(r){return new rA(r)}function Q9(r){this._context=r}function qte(r){return new Q9(r)}function K9(r){this._context=r}function zte(r){return new K9(r)}function X9(r,i){this._basis=new rA(r),this._beta=i}rA.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:nA(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(i,t){switch(i=+i,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(i,t):this._context.moveTo(i,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:nA(this,i,t)}this._x0=this._x1,this._x1=i,this._y0=this._y1,this._y1=t}},Q9.prototype={areaStart:Vf,areaEnd:Vf,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(i,t){switch(i=+i,t=+t,this._point){case 0:this._point=1,this._x2=i,this._y2=t;break;case 1:this._point=2,this._x3=i,this._y3=t;break;case 2:this._point=3,this._x4=i,this._y4=t,this._context.moveTo((this._x0+4*this._x1+i)/6,(this._y0+4*this._y1+t)/6);break;default:nA(this,i,t)}this._x0=this._x1,this._x1=i,this._y0=this._y1,this._y1=t}},K9.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(i,t){switch(i=+i,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+i)/6,a=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,a):this._context.moveTo(n,a);break;case 3:this._point=4;default:nA(this,i,t)}this._x0=this._x1,this._x1=i,this._y0=this._y1,this._y1=t}},X9.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var i=this._x,t=this._y,n=i.length-1;if(n>0)for(var h,a=i[0],o=t[0],s=i[n]-a,l=t[n]-o,d=-1;++d<=n;)this._basis.point(this._beta*i[d]+(1-this._beta)*(a+(h=d/n)*s),this._beta*t[d]+(1-this._beta)*(o+h*l));this._x=this._y=null,this._basis.lineEnd()},point:function(i,t){this._x.push(+i),this._y.push(+t)}};var Wte=function r(i){function t(n){return 1===i?new rA(n):new X9(n,i)}return t.beta=function(n){return r(+n)},t}(.85);function iA(r,i,t){r._context.bezierCurveTo(r._x1+r._k*(r._x2-r._x0),r._y1+r._k*(r._y2-r._y0),r._x2+r._k*(r._x1-i),r._y2+r._k*(r._y1-t),r._x2,r._y2)}function PZ(r,i){this._context=r,this._k=(1-i)/6}PZ.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:iA(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(i,t){switch(i=+i,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(i,t):this._context.moveTo(i,t);break;case 1:this._point=2,this._x1=i,this._y1=t;break;case 2:this._point=3;default:iA(this,i,t)}this._x0=this._x1,this._x1=this._x2,this._x2=i,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Gte=function r(i){function t(n){return new PZ(n,i)}return t.tension=function(n){return r(+n)},t}(0);function IZ(r,i){this._context=r,this._k=(1-i)/6}IZ.prototype={areaStart:Vf,areaEnd:Vf,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(i,t){switch(i=+i,t=+t,this._point){case 0:this._point=1,this._x3=i,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=i,this._y4=t);break;case 2:this._point=3,this._x5=i,this._y5=t;break;default:iA(this,i,t)}this._x0=this._x1,this._x1=this._x2,this._x2=i,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Yte=function r(i){function t(n){return new IZ(n,i)}return t.tension=function(n){return r(+n)},t}(0);function RZ(r,i){this._context=r,this._k=(1-i)/6}RZ.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(i,t){switch(i=+i,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:iA(this,i,t)}this._x0=this._x1,this._x1=this._x2,this._x2=i,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Jte=function r(i){function t(n){return new RZ(n,i)}return t.tension=function(n){return r(+n)},t}(0);function NZ(r,i,t){var n=r._x1,a=r._y1,o=r._x2,s=r._y2;if(r._l01_a>vs){var l=2*r._l01_2a+3*r._l01_a*r._l12_a+r._l12_2a,d=3*r._l01_a*(r._l01_a+r._l12_a);n=(n*l-r._x0*r._l12_2a+r._x2*r._l01_2a)/d,a=(a*l-r._y0*r._l12_2a+r._y2*r._l01_2a)/d}if(r._l23_a>vs){var h=2*r._l23_2a+3*r._l23_a*r._l12_a+r._l12_2a,C=3*r._l23_a*(r._l23_a+r._l12_a);o=(o*h+r._x1*r._l23_2a-i*r._l12_2a)/C,s=(s*h+r._y1*r._l23_2a-t*r._l12_2a)/C}r._context.bezierCurveTo(n,a,o,s,r._x2,r._y2)}function $9(r,i){this._context=r,this._alpha=i}$9.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(i,t){if(i=+i,t=+t,this._point){var n=this._x2-i,a=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+a*a,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(i,t):this._context.moveTo(i,t);break;case 1:this._point=2;break;case 2:this._point=3;default:NZ(this,i,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=i,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Qte=function r(i){function t(n){return i?new $9(n,i):new PZ(n,0)}return t.alpha=function(n){return r(+n)},t}(.5);function eH(r,i){this._context=r,this._alpha=i}eH.prototype={areaStart:Vf,areaEnd:Vf,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(i,t){if(i=+i,t=+t,this._point){var n=this._x2-i,a=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+a*a,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=i,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=i,this._y4=t);break;case 2:this._point=3,this._x5=i,this._y5=t;break;default:NZ(this,i,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=i,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Kte=function r(i){function t(n){return i?new eH(n,i):new IZ(n,0)}return t.alpha=function(n){return r(+n)},t}(.5);function tH(r,i){this._context=r,this._alpha=i}tH.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(i,t){if(i=+i,t=+t,this._point){var n=this._x2-i,a=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+a*a,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:NZ(this,i,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=i,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Xte=function r(i){function t(n){return i?new tH(n,i):new RZ(n,0)}return t.alpha=function(n){return r(+n)},t}(.5);function nH(r){this._context=r}function $te(r){return new nH(r)}function rH(r){return r<0?-1:1}function iH(r,i,t){var n=r._x1-r._x0,a=i-r._x1,o=(r._y1-r._y0)/(n||a<0&&-0),s=(t-r._y1)/(a||n<0&&-0),l=(o*a+s*n)/(n+a);return(rH(o)+rH(s))*Math.min(Math.abs(o),Math.abs(s),.5*Math.abs(l))||0}function aH(r,i){var t=r._x1-r._x0;return t?(3*(r._y1-r._y0)/t-i)/2:i}function ZZ(r,i,t){var n=r._x0,o=r._x1,s=r._y1,l=(o-n)/3;r._context.bezierCurveTo(n+l,r._y0+l*i,o-l,s-l*t,o,s)}function aA(r){this._context=r}function oH(r){this._context=new sH(r)}function sH(r){this._context=r}function ene(r){return new aA(r)}function tne(r){return new oH(r)}function lH(r){this._context=r}function uH(r){var i,n,t=r.length-1,a=new Array(t),o=new Array(t),s=new Array(t);for(a[0]=0,o[0]=2,s[0]=r[0]+2*r[1],i=1;i<t-1;++i)a[i]=1,o[i]=4,s[i]=4*r[i]+2*r[i+1];for(a[t-1]=2,o[t-1]=7,s[t-1]=8*r[t-1]+r[t],i=1;i<t;++i)o[i]-=n=a[i]/o[i-1],s[i]-=n*s[i-1];for(a[t-1]=s[t-1]/o[t-1],i=t-2;i>=0;--i)a[i]=(s[i]-a[i+1])/o[i];for(o[t-1]=(r[t]+a[t-1])/2,i=0;i<t-1;++i)o[i]=2*r[i+1]-a[i+1];return[a,o]}function nne(r){return new lH(r)}function oA(r,i){this._context=r,this._t=i}function rne(r){return new oA(r,.5)}function ine(r){return new oA(r,0)}function ane(r){return new oA(r,1)}function F_(r,i){if((s=r.length)>1)for(var n,a,s,t=1,o=r[i[0]],l=o.length;t<s;++t)for(a=o,o=r[i[t]],n=0;n<l;++n)o[n][1]+=o[n][0]=isNaN(a[n][1])?a[n][0]:a[n][1]}function B_(r){for(var i=r.length,t=new Array(i);--i>=0;)t[i]=i;return t}function one(r,i){return r[i]}function sne(){var r=gi([]),i=B_,t=F_,n=one;function a(o){var l,P,s=r.apply(this,arguments),d=o.length,h=s.length,C=new Array(h);for(l=0;l<h;++l){for(var te,N=s[l],q=C[l]=new Array(d),Q=0;Q<d;++Q)q[Q]=te=[0,+n(o[Q],N,Q,o)],te.data=o[Q];q.key=N}for(l=0,P=i(C);l<h;++l)C[P[l]].index=l;return t(C,P),C}return a.keys=function(o){return arguments.length?(r="function"==typeof o?o:gi(EZ.call(o)),a):r},a.value=function(o){return arguments.length?(n="function"==typeof o?o:gi(+o),a):n},a.order=function(o){return arguments.length?(i=null==o?B_:"function"==typeof o?o:gi(EZ.call(o)),a):i},a.offset=function(o){return arguments.length?(t=null==o?F_:o,a):t},a}function lne(r,i){if((n=r.length)>0){for(var t,n,s,a=0,o=r[0].length;a<o;++a){for(s=t=0;t<n;++t)s+=r[t][a][1]||0;if(s)for(t=0;t<n;++t)r[t][a][1]/=s}F_(r,i)}}function une(r,i){if((d=r.length)>1)for(var t,a,o,s,l,d,n=0,h=r[i[0]].length;n<h;++n)for(s=l=0,t=0;t<d;++t)(o=(a=r[i[t]][n])[1]-a[0])>=0?(a[0]=s,a[1]=s+=o):o<0?(a[1]=l,a[0]=l+=o):a[0]=s}function cne(r,i){if((a=r.length)>0){for(var a,t=0,n=r[i[0]],o=n.length;t<o;++t){for(var s=0,l=0;s<a;++s)l+=r[s][t][1]||0;n[t][1]+=n[t][0]=-l/2}F_(r,i)}}function dne(r,i){if((s=r.length)>0&&(o=(a=r[i[0]]).length)>0){for(var a,o,s,t=0,n=1;n<o;++n){for(var l=0,d=0,h=0;l<s;++l){for(var C=r[i[l]],P=C[n][1]||0,q=(P-(C[n-1][1]||0))/2,Q=0;Q<l;++Q){var te=r[i[Q]];q+=(te[n][1]||0)-(te[n-1][1]||0)}d+=P,h+=q*P}a[n-1][1]+=a[n-1][0]=t,d&&(t-=h/d)}a[n-1][1]+=a[n-1][0]=t,F_(r,i)}}function cH(r){var i=r.map(dH);return B_(r).sort(function(t,n){return i[t]-i[n]})}function dH(r){for(var a,i=0,t=-1,n=r.length;++t<n;)(a=+r[t][1])&&(i+=a);return i}function pne(r){return cH(r).reverse()}function fne(r){var t,n,i=r.length,a=r.map(dH),o=B_(r).sort(function(C,P){return a[P]-a[C]}),s=0,l=0,d=[],h=[];for(t=0;t<i;++t)n=o[t],s<l?(s+=a[n],d.push(n)):(l+=a[n],h.push(n));return h.reverse().concat(d)}function hne(r){return B_(r).reverse()}function mne(r,i,t){var n=new UC,a=i;return null==i?(n.restart(r,i,t),n):(i=+i,t=null==t?y_():+t,n.restart(function o(s){s+=a,n.restart(o,a+=i,t),r(s)},i,t),n)}function pH(r){return function(){return r}}function vne(r){return r[0]}function gne(r){return r[1]}function LZ(){this._=null}function sA(r){r.U=r.C=r.L=r.R=r.P=r.N=null}function w1(r,i){var t=i,n=i.R,a=t.U;a?a.L===t?a.L=n:a.R=n:r._=n,n.U=a,t.U=n,t.R=n.L,t.R&&(t.R.U=t),n.L=t}function x1(r,i){var t=i,n=i.L,a=t.U;a?a.L===t?a.L=n:a.R=n:r._=n,n.U=a,t.U=n,t.L=n.R,t.L&&(t.L.U=t),n.R=t}function fH(r){for(;r.L;)r=r.L;return r}nH.prototype={areaStart:Vf,areaEnd:Vf,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(i,t){i=+i,t=+t,this._point?this._context.lineTo(i,t):(this._point=1,this._context.moveTo(i,t))}},aA.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:ZZ(this,this._t0,aH(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(i,t){var n=NaN;if(t=+t,(i=+i)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(i,t):this._context.moveTo(i,t);break;case 1:this._point=2;break;case 2:this._point=3,ZZ(this,aH(this,n=iH(this,i,t)),n);break;default:ZZ(this,this._t0,n=iH(this,i,t))}this._x0=this._x1,this._x1=i,this._y0=this._y1,this._y1=t,this._t0=n}}},(oH.prototype=Object.create(aA.prototype)).point=function(r,i){aA.prototype.point.call(this,i,r)},sH.prototype={moveTo:function(i,t){this._context.moveTo(t,i)},closePath:function(){this._context.closePath()},lineTo:function(i,t){this._context.lineTo(t,i)},bezierCurveTo:function(i,t,n,a,o,s){this._context.bezierCurveTo(t,i,a,n,s,o)}},lH.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var i=this._x,t=this._y,n=i.length;if(n)if(this._line?this._context.lineTo(i[0],t[0]):this._context.moveTo(i[0],t[0]),2===n)this._context.lineTo(i[1],t[1]);else for(var a=uH(i),o=uH(t),s=0,l=1;l<n;++s,++l)this._context.bezierCurveTo(a[0][s],o[0][s],a[1][s],o[1][s],i[l],t[l]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(i,t){this._x.push(+i),this._y.push(+t)}},oA.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(i,t){switch(i=+i,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(i,t):this._context.moveTo(i,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(i,t);else{var n=this._x*(1-this._t)+i*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=i,this._y=t}},LZ.prototype={constructor:LZ,insert:function(i,t){var n,a,o;if(i){if(t.P=i,t.N=i.N,i.N&&(i.N.P=t),i.N=t,i.R){for(i=i.R;i.L;)i=i.L;i.L=t}else i.R=t;n=i}else this._?(i=fH(this._),t.P=null,t.N=i,i.P=i.L=t,n=i):(t.P=t.N=null,this._=t,n=null);for(t.L=t.R=null,t.U=n,t.C=!0,i=t;n&&n.C;)n===(a=n.U).L?(o=a.R)&&o.C?(n.C=o.C=!1,a.C=!0,i=a):(i===n.R&&(w1(this,n),n=(i=n).U),n.C=!1,a.C=!0,x1(this,a)):(o=a.L)&&o.C?(n.C=o.C=!1,a.C=!0,i=a):(i===n.L&&(x1(this,n),n=(i=n).U),n.C=!1,a.C=!0,w1(this,a)),n=i.U;this._.C=!1},remove:function(i){i.N&&(i.N.P=i.P),i.P&&(i.P.N=i.N),i.N=i.P=null;var n,s,l,t=i.U,a=i.L,o=i.R;if(s=a?o?fH(o):a:o,t?t.L===i?t.L=s:t.R=s:this._=s,a&&o?(l=s.C,s.C=i.C,s.L=a,a.U=s,s!==o?(t=s.U,s.U=i.U,t.L=i=s.R,s.R=o,o.U=s):(s.U=t,t=s,i=s.R)):(l=i.C,i=s),i&&(i.U=t),!l){if(i&&i.C)return void(i.C=!1);do{if(i===this._)break;if(i===t.L){if((n=t.R).C&&(n.C=!1,t.C=!0,w1(this,t),n=t.R),n.L&&n.L.C||n.R&&n.R.C){(!n.R||!n.R.C)&&(n.L.C=!1,n.C=!0,x1(this,n),n=t.R),n.C=t.C,t.C=n.R.C=!1,w1(this,t),i=this._;break}}else if((n=t.L).C&&(n.C=!1,t.C=!0,x1(this,t),n=t.L),n.L&&n.L.C||n.R&&n.R.C){(!n.L||!n.L.C)&&(n.R.C=!1,n.C=!0,w1(this,n),n=t.L),n.C=t.C,t.C=n.L.C=!1,x1(this,t),i=this._;break}n.C=!0,i=t,t=t.U}while(!i.C);i&&(i.C=!1)}}};var hH=LZ;function E1(r,i,t,n){var a=[null,null],o=Rs.push(a)-1;return a.left=r,a.right=i,t&&lA(a,r,i,t),n&&lA(a,i,r,n),tu[r.index].halfedges.push(o),tu[i.index].halfedges.push(o),a}function M1(r,i,t){var n=[i,t];return n.left=r,n}function lA(r,i,t,n){r[0]||r[1]?r.left===t?r[1]=n:r[0]=n:(r[0]=n,r.left=i,r.right=t)}function _ne(r,i,t,n,a){var te,o=r[0],s=r[1],l=o[0],d=o[1],P=0,N=1,q=s[0]-l,Q=s[1]-d;if(te=i-l,q||!(te>0)){if(te/=q,q<0){if(te<P)return;te<N&&(N=te)}else if(q>0){if(te>N)return;te>P&&(P=te)}if(te=n-l,q||!(te<0)){if(te/=q,q<0){if(te>N)return;te>P&&(P=te)}else if(q>0){if(te<P)return;te<N&&(N=te)}if(te=t-d,Q||!(te>0)){if(te/=Q,Q<0){if(te<P)return;te<N&&(N=te)}else if(Q>0){if(te>N)return;te>P&&(P=te)}if(te=a-d,Q||!(te<0)){if(te/=Q,Q<0){if(te>N)return;te>P&&(P=te)}else if(Q>0){if(te<P)return;te<N&&(N=te)}return!(P>0)&&!(N<1)||(P>0&&(r[0]=[l+P*q,d+P*Q]),N<1&&(r[1]=[l+N*q,d+N*Q])),!0}}}}}function yne(r,i,t,n,a){var o=r[1];if(o)return!0;var te,se,s=r[0],l=r.left,d=r.right,h=l[0],C=l[1],P=d[0],N=d[1],q=(h+P)/2;if(N===C){if(q<i||q>=n)return;if(h>P){if(s){if(s[1]>=a)return}else s=[q,t];o=[q,a]}else{if(s){if(s[1]<t)return}else s=[q,a];o=[q,t]}}else if(se=(C+N)/2-(te=(h-P)/(N-C))*q,te<-1||te>1)if(h>P){if(s){if(s[1]>=a)return}else s=[(t-se)/te,t];o=[(a-se)/te,a]}else{if(s){if(s[1]<t)return}else s=[(a-se)/te,a];o=[(t-se)/te,t]}else if(C<N){if(s){if(s[0]>=n)return}else s=[i,te*i+se];o=[n,te*n+se]}else{if(s){if(s[0]<i)return}else s=[n,te*n+se];o=[i,te*i+se]}return r[0]=s,r[1]=o,!0}function Sne(r,i){var t=r.site,n=i.left,a=i.right;return t===a&&(a=n,n=t),a?Math.atan2(a[1]-n[1],a[0]-n[0]):(t===n?(n=i[1],a=i[0]):(n=i[0],a=i[1]),Math.atan2(n[0]-a[0],a[1]-n[1]))}function mH(r,i){return i[+(i.left!==r.site)]}function Tne(r,i){return i[+(i.left===r.site)]}var FZ,vH=[];function xne(){sA(this),this.x=this.y=this.arc=this.site=this.cy=null}function U_(r){var i=r.P,t=r.N;if(i&&t){var n=i.site,a=r.site,o=t.site;if(n!==o){var s=a[0],l=a[1],d=n[0]-s,h=n[1]-l,C=o[0]-s,P=o[1]-l,N=2*(d*P-h*C);if(!(N>=-One)){var q=d*d+h*h,Q=C*C+P*P,te=(P*q-h*Q)/N,se=(d*Q-C*q)/N,Te=vH.pop()||new xne;Te.arc=r,Te.site=a,Te.x=te+s,Te.y=(Te.cy=se+l)+Math.sqrt(te*te+se*se),r.circle=Te;for(var $e=null,ze=A1._;ze;)if(Te.y<ze.y||Te.y===ze.y&&Te.x<=ze.x){if(!ze.L){$e=ze.P;break}ze=ze.L}else{if(!ze.R){$e=ze;break}ze=ze.R}A1.insert($e,Te),$e||(FZ=Te)}}}}function H_(r){var i=r.circle;i&&(i.P||(FZ=i.N),A1.remove(i),vH.push(i),sA(i),r.circle=null)}var gH=[];function Ene(){sA(this),this.edge=this.site=this.circle=null}function _H(r){var i=gH.pop()||new Ene;return i.site=r,i}function BZ(r){H_(r),V_.remove(r),gH.push(r),sA(r)}function Mne(r){var i=r.circle,t=i.x,n=i.cy,a=[t,n],o=r.P,s=r.N,l=[r];BZ(r);for(var d=o;d.circle&&Math.abs(t-d.circle.x)<ua&&Math.abs(n-d.circle.cy)<ua;)o=d.P,l.unshift(d),BZ(d),d=o;l.unshift(d),H_(d);for(var h=s;h.circle&&Math.abs(t-h.circle.x)<ua&&Math.abs(n-h.circle.cy)<ua;)s=h.N,l.push(h),BZ(h),h=s;l.push(h),H_(h);var P,C=l.length;for(P=1;P<C;++P)lA((h=l[P]).edge,(d=l[P-1]).site,h.site,a);(h=l[C-1]).edge=E1((d=l[0]).site,h.site,null,a),U_(d),U_(h)}function Ane(r){for(var n,a,o,s,i=r[0],t=r[1],l=V_._;l;)if((o=yH(l,t)-i)>ua)l=l.L;else{if(!((s=i-Dne(l,t))>ua)){o>-ua?(n=l.P,a=l):s>-ua?(n=l,a=l.N):n=a=l;break}if(!l.R){n=l;break}l=l.R}!function(r){tu[r.index]={site:r,halfedges:[]}}(r);var d=_H(r);if(V_.insert(n,d),n||a){if(n===a)return H_(n),a=_H(n.site),V_.insert(d,a),d.edge=a.edge=E1(n.site,d.site),U_(n),void U_(a);if(!a)return void(d.edge=E1(n.site,d.site));H_(n),H_(a);var h=n.site,C=h[0],P=h[1],N=r[0]-C,q=r[1]-P,Q=a.site,te=Q[0]-C,se=Q[1]-P,Te=2*(N*se-q*te),$e=N*N+q*q,ze=te*te+se*se,rt=[(se*$e-q*ze)/Te+C,(N*ze-te*$e)/Te+P];lA(a.edge,h,Q,rt),d.edge=E1(h,r,null,rt),a.edge=E1(r,Q,null,rt),U_(n),U_(a)}}function yH(r,i){var t=r.site,n=t[0],a=t[1],o=a-i;if(!o)return n;var s=r.P;if(!s)return-1/0;var l=(t=s.site)[0],d=t[1],h=d-i;if(!h)return l;var C=l-n,P=1/o-1/h,N=C/h;return P?(-N+Math.sqrt(N*N-2*P*(C*C/(-2*h)-d+h/2+a-o/2)))/P+n:(n+l)/2}function Dne(r,i){var t=r.N;if(t)return yH(t,i);var n=r.site;return n[1]===i?n[0]:1/0}var V_,tu,A1,Rs,ua=1e-6,One=1e-12;function Pne(r,i,t){return(r[0]-t[0])*(i[1]-r[1])-(r[0]-i[0])*(t[1]-r[1])}function Ine(r,i){return i[1]-r[1]||i[0]-r[0]}function UZ(r,i){var n,a,o,t=r.sort(Ine).pop();for(Rs=[],tu=new Array(r.length),V_=new hH,A1=new hH;;)if(o=FZ,t&&(!o||t[1]<o.y||t[1]===o.y&&t[0]<o.x))(t[0]!==n||t[1]!==a)&&(Ane(t),n=t[0],a=t[1]),t=r.pop();else{if(!o)break;Mne(o.arc)}if(function(){for(var t,n,a,o,r=0,i=tu.length;r<i;++r)if((t=tu[r])&&(o=(n=t.halfedges).length)){var s=new Array(o),l=new Array(o);for(a=0;a<o;++a)s[a]=a,l[a]=Sne(t,Rs[n[a]]);for(s.sort(function(d,h){return l[h]-l[d]}),a=0;a<o;++a)l[a]=n[s[a]];for(a=0;a<o;++a)n[a]=l[a]}}(),i){var s=+i[0][0],l=+i[0][1],d=+i[1][0],h=+i[1][1];(function(r,i,t,n){for(var o,a=Rs.length;a--;)yne(o=Rs[a],r,i,t,n)&&_ne(o,r,i,t,n)&&(Math.abs(o[0][0]-o[1][0])>ua||Math.abs(o[0][1]-o[1][1])>ua)||delete Rs[a]})(s,l,d,h),function(r,i,t,n){var o,s,l,d,h,C,P,N,q,Q,te,se,a=tu.length,Te=!0;for(o=0;o<a;++o)if(s=tu[o]){for(l=s.site,d=(h=s.halfedges).length;d--;)Rs[h[d]]||h.splice(d,1);for(d=0,C=h.length;d<C;)te=(Q=Tne(s,Rs[h[d]]))[0],se=Q[1],N=(P=mH(s,Rs[h[++d%C]]))[0],q=P[1],(Math.abs(te-N)>ua||Math.abs(se-q)>ua)&&(h.splice(d,0,Rs.push(M1(l,Q,Math.abs(te-r)<ua&&n-se>ua?[r,Math.abs(N-r)<ua?q:n]:Math.abs(se-n)<ua&&t-te>ua?[Math.abs(q-n)<ua?N:t,n]:Math.abs(te-t)<ua&&se-i>ua?[t,Math.abs(N-t)<ua?q:i]:Math.abs(se-i)<ua&&te-r>ua?[Math.abs(q-i)<ua?N:r,i]:null))-1),++C);C&&(Te=!1)}if(Te){var $e,ze,rt,dt=1/0;for(o=0,Te=null;o<a;++o)(s=tu[o])&&(rt=($e=(l=s.site)[0]-r)*$e+(ze=l[1]-i)*ze)<dt&&(dt=rt,Te=s);if(Te){var Dt=[r,i],St=[r,n],at=[t,n],ut=[t,i];Te.halfedges.push(Rs.push(M1(l=Te.site,Dt,St))-1,Rs.push(M1(l,St,at))-1,Rs.push(M1(l,at,ut))-1,Rs.push(M1(l,ut,Dt))-1)}}for(o=0;o<a;++o)(s=tu[o])&&(s.halfedges.length||delete tu[o])}(s,l,d,h)}this.edges=Rs,this.cells=tu,V_=A1=Rs=tu=null}function Rne(){var r=vne,i=gne,t=null;function n(a){return new UZ(a.map(function(o,s){var l=[Math.round(r(o,s,a)/ua)*ua,Math.round(i(o,s,a)/ua)*ua];return l.index=s,l.data=o,l}),t)}return n.polygons=function(a){return n(a).polygons()},n.links=function(a){return n(a).links()},n.triangles=function(a){return n(a).triangles()},n.x=function(a){return arguments.length?(r="function"==typeof a?a:pH(+a),n):r},n.y=function(a){return arguments.length?(i="function"==typeof a?a:pH(+a),n):i},n.extent=function(a){return arguments.length?(t=null==a?null:[[+a[0][0],+a[0][1]],[+a[1][0],+a[1][1]]],n):t&&[[t[0][0],t[0][1]],[t[1][0],t[1][1]]]},n.size=function(a){return arguments.length?(t=null==a?null:[[0,0],[+a[0],+a[1]]],n):t&&[t[1][0]-t[0][0],t[1][1]-t[0][1]]},n}function uA(r){return function(){return r}}function Nne(r,i,t){this.target=r,this.type=i,this.transform=t}function gp(r,i,t){this.k=r,this.x=i,this.y=t}UZ.prototype={constructor:UZ,polygons:function(){var i=this.edges;return this.cells.map(function(t){var n=t.halfedges.map(function(a){return mH(t,i[a])});return n.data=t.site.data,n})},triangles:function(){var i=[],t=this.edges;return this.cells.forEach(function(n,a){if(d=(s=n.halfedges).length)for(var s,d,h,o=n.site,l=-1,C=t[s[d-1]],P=C.left===o?C.right:C.left;++l<d;)h=P,P=(C=t[s[l]]).left===o?C.right:C.left,h&&P&&a<h.index&&a<P.index&&Pne(o,h,P)<0&&i.push([o.data,h.data,P.data])}),i},links:function(){return this.edges.filter(function(i){return i.right}).map(function(i){return{source:i.left.data,target:i.right.data}})},find:function(i,t,n){for(var o,d,a=this,s=a._found||0,l=a.cells.length;!(d=a.cells[s]);)if(++s>=l)return null;var h=i-d.site[0],C=t-d.site[1],P=h*h+C*C;do{d=a.cells[o=s],s=null,d.halfedges.forEach(function(N){var q=a.edges[N],Q=q.left;if(Q!==d.site&&Q||(Q=q.right)){var te=i-Q[0],se=t-Q[1],Te=te*te+se*se;Te<P&&(P=Te,s=Q.index)}})}while(null!==s);return a._found=o,null==n||P<=n*n?d.site:null}},gp.prototype={constructor:gp,scale:function(i){return 1===i?this:new gp(this.k*i,this.x,this.y)},translate:function(i,t){return 0===i&0===t?this:new gp(this.k,this.x+this.k*i,this.y+this.k*t)},apply:function(i){return[i[0]*this.k+this.x,i[1]*this.k+this.y]},applyX:function(i){return i*this.k+this.x},applyY:function(i){return i*this.k+this.y},invert:function(i){return[(i[0]-this.x)/this.k,(i[1]-this.y)/this.k]},invertX:function(i){return(i-this.x)/this.k},invertY:function(i){return(i-this.y)/this.k},rescaleX:function(i){return i.copy().domain(i.range().map(this.invertX,this).map(i.invert,i))},rescaleY:function(i){return i.copy().domain(i.range().map(this.invertY,this).map(i.invert,i))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var cA=new gp(1,0,0);function bH(r){return r.__zoom||cA}function HZ(){xn.stopImmediatePropagation()}function D1(){xn.preventDefault(),xn.stopImmediatePropagation()}function Zne(){return!xn.ctrlKey&&!xn.button}function Lne(){var r=this;return r instanceof SVGElement?(r=r.ownerSVGElement||r).hasAttribute("viewBox")?[[(r=r.viewBox.baseVal).x,r.y],[r.x+r.width,r.y+r.height]]:[[0,0],[r.width.baseVal.value,r.height.baseVal.value]]:[[0,0],[r.clientWidth,r.clientHeight]]}function CH(){return this.__zoom||cA}function Fne(){return-xn.deltaY*(1===xn.deltaMode?.05:xn.deltaMode?1:.002)}function Bne(){return navigator.maxTouchPoints||"ontouchstart"in this}function Une(r,i,t){var n=r.invertX(i[0][0])-t[0][0],a=r.invertX(i[1][0])-t[1][0],o=r.invertY(i[0][1])-t[0][1],s=r.invertY(i[1][1])-t[1][1];return r.translate(a>n?(n+a)/2:Math.min(0,n)||Math.max(0,a),s>o?(o+s)/2:Math.min(0,o)||Math.max(0,s))}function SH(){var C,P,r=Zne,i=Lne,t=Une,n=Fne,a=Bne,o=[0,1/0],s=[[-1/0,-1/0],[1/0,1/0]],l=250,d=b4,h=Df("start","zoom","end"),N=500,Q=0;function te(it){it.property("__zoom",CH).on("wheel.zoom",Dt).on("mousedown.zoom",St).on("dblclick.zoom",at).filter(a).on("touchstart.zoom",ut).on("touchmove.zoom",Wt).on("touchend.zoom touchcancel.zoom",qt).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function se(it,It){return(It=Math.max(o[0],Math.min(o[1],It)))===it.k?it:new gp(It,it.x,it.y)}function Te(it,It,ln){var mn=It[0]-ln[0]*it.k,Sn=It[1]-ln[1]*it.k;return mn===it.x&&Sn===it.y?it:new gp(it.k,mn,Sn)}function $e(it){return[(+it[0][0]+ +it[1][0])/2,(+it[0][1]+ +it[1][1])/2]}function ze(it,It,ln){it.on("start.zoom",function(){rt(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){rt(this,arguments).end()}).tween("zoom",function(){var mn=this,Sn=arguments,tn=rt(mn,Sn),Xn=i.apply(mn,Sn),fr=ln||$e(Xn),Lr=Math.max(Xn[1][0]-Xn[0][0],Xn[1][1]-Xn[0][1]),tr=mn.__zoom,Jr="function"==typeof It?It.apply(mn,Sn):It,di=d(tr.invert(fr).concat(Lr/tr.k),Jr.invert(fr).concat(Lr/Jr.k));return function(hr){if(1===hr)hr=Jr;else{var Ui=di(hr),Ua=Lr/Ui[2];hr=new gp(Ua,fr[0]-Ui[0]*Ua,fr[1]-Ui[1]*Ua)}tn.zoom(null,hr)}})}function rt(it,It,ln){return!ln&&it.__zooming||new dt(it,It)}function dt(it,It){this.that=it,this.args=It,this.active=0,this.extent=i.apply(it,It),this.taps=0}function Dt(){if(r.apply(this,arguments)){var it=rt(this,arguments),It=this.__zoom,ln=Math.max(o[0],Math.min(o[1],It.k*Math.pow(2,n.apply(this,arguments)))),mn=oo(this);It.k!==ln&&(it.wheel?((it.mouse[0][0]!==mn[0]||it.mouse[0][1]!==mn[1])&&(it.mouse[1]=It.invert(it.mouse[0]=mn)),clearTimeout(it.wheel)):(it.mouse=[mn,It.invert(mn)],Mm(this),it.start()),D1(),it.wheel=setTimeout(Sn,150),it.zoom("mouse",t(Te(se(It,ln),it.mouse[0],it.mouse[1]),it.extent,s)))}function Sn(){it.wheel=null,it.end()}}function St(){if(!P&&r.apply(this,arguments)){var it=rt(this,arguments,!0),It=$r(xn.view).on("mousemove.zoom",tn,!0).on("mouseup.zoom",Xn,!0),ln=oo(this),mn=xn.clientX,Sn=xn.clientY;f_(xn.view),HZ(),it.mouse=[ln,this.__zoom.invert(ln)],Mm(this),it.start()}function tn(){if(D1(),!it.moved){var fr=xn.clientX-mn,Lr=xn.clientY-Sn;it.moved=fr*fr+Lr*Lr>Q}it.zoom("mouse",t(Te(it.that.__zoom,it.mouse[0]=oo(it.that),it.mouse[1]),it.extent,s))}function Xn(){It.on("mousemove.zoom mouseup.zoom",null),h_(xn.view,it.moved),D1(),it.end()}}function at(){if(r.apply(this,arguments)){var it=this.__zoom,It=oo(this),ln=it.invert(It),mn=it.k*(xn.shiftKey?.5:2),Sn=t(Te(se(it,mn),It,ln),i.apply(this,arguments),s);D1(),l>0?$r(this).transition().duration(l).call(ze,Sn,It):$r(this).call(te.transform,Sn)}}function ut(){if(r.apply(this,arguments)){var mn,Sn,tn,Xn,it=xn.touches,It=it.length,ln=rt(this,arguments,xn.changedTouches.length===It);for(HZ(),Sn=0;Sn<It;++Sn)Xn=[Xn=lc(this,it,(tn=it[Sn]).identifier),this.__zoom.invert(Xn),tn.identifier],ln.touch0?ln.touch1||(ln.touch1=Xn,ln.taps=0):(ln.touch0=Xn,mn=!0,ln.taps=1+!!C);C&&(C=clearTimeout(C)),mn&&(ln.taps<2&&(C=setTimeout(function(){C=null},N)),Mm(this),ln.start())}}function Wt(){if(this.__zooming){var mn,Sn,tn,Xn,it=rt(this,arguments),It=xn.changedTouches,ln=It.length;for(D1(),C&&(C=clearTimeout(C)),it.taps=0,mn=0;mn<ln;++mn)tn=lc(this,It,(Sn=It[mn]).identifier),it.touch0&&it.touch0[2]===Sn.identifier?it.touch0[0]=tn:it.touch1&&it.touch1[2]===Sn.identifier&&(it.touch1[0]=tn);if(Sn=it.that.__zoom,it.touch1){var fr=it.touch0[0],Lr=it.touch0[1],tr=it.touch1[0],Jr=it.touch1[1],di=(di=tr[0]-fr[0])*di+(di=tr[1]-fr[1])*di,hr=(hr=Jr[0]-Lr[0])*hr+(hr=Jr[1]-Lr[1])*hr;Sn=se(Sn,Math.sqrt(di/hr)),tn=[(fr[0]+tr[0])/2,(fr[1]+tr[1])/2],Xn=[(Lr[0]+Jr[0])/2,(Lr[1]+Jr[1])/2]}else{if(!it.touch0)return;tn=it.touch0[0],Xn=it.touch0[1]}it.zoom("touch",t(Te(Sn,tn,Xn),it.extent,s))}}function qt(){if(this.__zooming){var mn,Sn,it=rt(this,arguments),It=xn.changedTouches,ln=It.length;for(HZ(),P&&clearTimeout(P),P=setTimeout(function(){P=null},N),mn=0;mn<ln;++mn)Sn=It[mn],it.touch0&&it.touch0[2]===Sn.identifier?delete it.touch0:it.touch1&&it.touch1[2]===Sn.identifier&&delete it.touch1;if(it.touch1&&!it.touch0&&(it.touch0=it.touch1,delete it.touch1),it.touch0)it.touch0[1]=this.__zoom.invert(it.touch0[0]);else if(it.end(),2===it.taps){var tn=$r(this).on("dblclick.zoom");tn&&tn.apply(this,arguments)}}}return te.transform=function(it,It){var ln=it.selection?it.selection():it;ln.property("__zoom",CH),it!==ln?ze(it,It):ln.interrupt().each(function(){rt(this,arguments).start().zoom(null,"function"==typeof It?It.apply(this,arguments):It).end()})},te.scaleBy=function(it,It){te.scaleTo(it,function(){var ln=this.__zoom.k,mn="function"==typeof It?It.apply(this,arguments):It;return ln*mn})},te.scaleTo=function(it,It){te.transform(it,function(){var ln=i.apply(this,arguments),mn=this.__zoom,Sn=$e(ln),tn=mn.invert(Sn),Xn="function"==typeof It?It.apply(this,arguments):It;return t(Te(se(mn,Xn),Sn,tn),ln,s)})},te.translateBy=function(it,It,ln){te.transform(it,function(){return t(this.__zoom.translate("function"==typeof It?It.apply(this,arguments):It,"function"==typeof ln?ln.apply(this,arguments):ln),i.apply(this,arguments),s)})},te.translateTo=function(it,It,ln){te.transform(it,function(){var mn=i.apply(this,arguments),Sn=this.__zoom,tn=$e(mn);return t(cA.translate(tn[0],tn[1]).scale(Sn.k).translate("function"==typeof It?-It.apply(this,arguments):-It,"function"==typeof ln?-ln.apply(this,arguments):-ln),mn,s)})},dt.prototype={start:function(){return 1==++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(It,ln){return this.mouse&&"mouse"!==It&&(this.mouse[1]=ln.invert(this.mouse[0])),this.touch0&&"touch"!==It&&(this.touch0[1]=ln.invert(this.touch0[0])),this.touch1&&"touch"!==It&&(this.touch1[1]=ln.invert(this.touch1[0])),this.that.__zoom=ln,this.emit("zoom"),this},end:function(){return 0==--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(It){ym(new Nne(te,It,this.that.__zoom),h.apply,h,[It,this.that,this.args])}},te.wheelDelta=function(it){return arguments.length?(n="function"==typeof it?it:uA(+it),te):n},te.filter=function(it){return arguments.length?(r="function"==typeof it?it:uA(!!it),te):r},te.touchable=function(it){return arguments.length?(a="function"==typeof it?it:uA(!!it),te):a},te.extent=function(it){return arguments.length?(i="function"==typeof it?it:uA([[+it[0][0],+it[0][1]],[+it[1][0],+it[1][1]]]),te):i},te.scaleExtent=function(it){return arguments.length?(o[0]=+it[0],o[1]=+it[1],te):[o[0],o[1]]},te.translateExtent=function(it){return arguments.length?(s[0][0]=+it[0][0],s[1][0]=+it[1][0],s[0][1]=+it[0][1],s[1][1]=+it[1][1],te):[[s[0][0],s[0][1]],[s[1][0],s[1][1]]]},te.constrain=function(it){return arguments.length?(t=it,te):t},te.duration=function(it){return arguments.length?(l=+it,te):l},te.interpolate=function(it){return arguments.length?(d=it,te):d},te.on=function(){var it=h.on.apply(h,arguments);return it===h?te:it},te.clickDistance=function(it){return arguments.length?(Q=(it=+it)*it,te):Math.sqrt(Q)},te}bH.prototype=gp.prototype;var VZ=function(){function r(){(0,v.Z)(this,r)}return(0,g.Z)(r,[{key:"getD3",value:function(){return B}}]),r}();VZ=function(r,i,t,n){var s,a=arguments.length,o=a<3?i:null===n?n=Object.getOwnPropertyDescriptor(i,t):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(r,i,t,n);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(o=(a<3?s(o):a>3?s(i,t,o):s(i,t))||o);return a>3&&o&&Object.defineProperty(i,t,o),o}([(0,e.GSi)(),function(r,i){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata("design:paramtypes",[])}()],VZ);var O1=f(46674);function jne(r,i){if(1&r&&(e.O4$(),e.TgZ(0,"linearGradient"),e._UZ(1,"stop",5),e._UZ(2,"stop",6),e.qZA()),2&r){var t=e.oxw(2);e.uIk("id",t.svg.outerLinearGradient.id),e.xp6(1),e.uIk("stop-color",t.svg.outerLinearGradient.colorStop1)("stop-opacity",1),e.xp6(1),e.uIk("stop-color",t.svg.outerLinearGradient.colorStop2)("stop-opacity",1)}}function qne(r,i){if(1&r&&(e.O4$(),e.TgZ(0,"radialGradient"),e._UZ(1,"stop",5),e._UZ(2,"stop",6),e.qZA()),2&r){var t=e.oxw(2);e.uIk("id",t.svg.radialGradient.id),e.xp6(1),e.uIk("stop-color",t.svg.radialGradient.colorStop1)("stop-opacity",1),e.xp6(1),e.uIk("stop-color",t.svg.radialGradient.colorStop2)("stop-opacity",1)}}function zne(r,i){if(1&r&&(e.O4$(),e._UZ(0,"circle")),2&r){var t=e.oxw(3);e.uIk("cx",t.svg.backgroundCircle.cx)("cy",t.svg.backgroundCircle.cy)("r",t.svg.backgroundCircle.r)("fill",t.svg.backgroundCircle.fill)("fill-opacity",t.svg.backgroundCircle.fillOpacity)("stroke",t.svg.backgroundCircle.stroke)("stroke-width",t.svg.backgroundCircle.strokeWidth)}}function Wne(r,i){if(1&r&&(e.O4$(),e._UZ(0,"circle")),2&r){var t=e.oxw(3);e.Q2q("fill","url(#",t.svg.radialGradient.id,")"),e.uIk("cx",t.svg.backgroundCircle.cx)("cy",t.svg.backgroundCircle.cy)("r",t.svg.backgroundCircle.r)("fill-opacity",t.svg.backgroundCircle.fillOpacity)("stroke",t.svg.backgroundCircle.stroke)("stroke-width",t.svg.backgroundCircle.strokeWidth)}}function Gne(r,i){if(1&r&&(e.O4$(),e.ynx(0),e.YNc(1,zne,1,7,"circle",2),e.YNc(2,Wne,1,7,"circle",2),e.BQk()),2&r){var t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!t.options.backgroundGradient),e.xp6(1),e.Q6J("ngIf",t.options.backgroundGradient)}}function Yne(r,i){if(1&r&&(e.O4$(),e._UZ(0,"circle")),2&r){var t=e.oxw(2);e.uIk("cx",t.svg.circle.cx)("cy",t.svg.circle.cy)("r",t.svg.circle.r)("fill",t.svg.circle.fill)("stroke",t.svg.circle.stroke)("stroke-width",t.svg.circle.strokeWidth)}}function Jne(r,i){if(1&r&&(e.O4$(),e._UZ(0,"path")),2&r){var t=e.oxw(3);e.uIk("d",t.svg.path.d)("stroke",t.svg.path.stroke)("stroke-width",t.svg.path.strokeWidth)("stroke-linecap",t.svg.path.strokeLinecap)("fill",t.svg.path.fill)}}function Qne(r,i){if(1&r&&(e.O4$(),e._UZ(0,"path")),2&r){var t=e.oxw(3);e.Q2q("stroke","url(#",t.svg.outerLinearGradient.id,")"),e.uIk("d",t.svg.path.d)("stroke-width",t.svg.path.strokeWidth)("stroke-linecap",t.svg.path.strokeLinecap)("fill",t.svg.path.fill)}}function Kne(r,i){if(1&r&&(e.O4$(),e.ynx(0),e.YNc(1,Jne,1,5,"path",2),e.YNc(2,Qne,1,5,"path",2),e.BQk()),2&r){var t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!t.options.outerStrokeGradient),e.xp6(1),e.Q6J("ngIf",t.options.outerStrokeGradient)}}function Xne(r,i){if(1&r&&(e.O4$(),e.TgZ(0,"tspan"),e._uU(1),e.qZA()),2&r){var t=i.$implicit,n=e.oxw(4);e.uIk("x",n.svg.title.x)("y",n.svg.title.y)("dy",t.dy)("font-size",n.svg.title.fontSize)("font-weight",n.svg.title.fontWeight)("fill",n.svg.title.color),e.xp6(1),e.Oqu(t.span)}}function $ne(r,i){if(1&r&&(e.O4$(),e.ynx(0),e.YNc(1,Xne,2,7,"tspan",8),e.BQk()),2&r){var t=e.oxw(3);e.xp6(1),e.Q6J("ngForOf",t.svg.title.tspans)}}function ere(r,i){if(1&r&&(e.O4$(),e.TgZ(0,"tspan"),e._uU(1),e.qZA()),2&r){var t=e.oxw(3);e.uIk("font-size",t.svg.units.fontSize)("font-weight",t.svg.units.fontWeight)("fill",t.svg.units.color),e.xp6(1),e.Oqu(t.svg.units.text)}}function tre(r,i){if(1&r&&(e.O4$(),e.TgZ(0,"tspan"),e._uU(1),e.qZA()),2&r){var t=i.$implicit,n=e.oxw(4);e.uIk("x",n.svg.subtitle.x)("y",n.svg.subtitle.y)("dy",t.dy)("font-size",n.svg.subtitle.fontSize)("font-weight",n.svg.subtitle.fontWeight)("fill",n.svg.subtitle.color),e.xp6(1),e.Oqu(t.span)}}function nre(r,i){if(1&r&&(e.O4$(),e.ynx(0),e.YNc(1,tre,2,7,"tspan",8),e.BQk()),2&r){var t=e.oxw(3);e.xp6(1),e.Q6J("ngForOf",t.svg.subtitle.tspans)}}function rre(r,i){if(1&r&&(e.O4$(),e.TgZ(0,"text",7),e.YNc(1,$ne,2,1,"ng-container",2),e.YNc(2,ere,2,4,"tspan",2),e.YNc(3,nre,2,1,"ng-container",2),e.qZA()),2&r){var t=e.oxw(2);e.uIk("x",t.svg.circle.cx)("y",t.svg.circle.cy)("text-anchor",t.svg.title.textAnchor),e.xp6(1),e.Q6J("ngIf",t.options.showTitle),e.xp6(1),e.Q6J("ngIf",t.options.showUnits),e.xp6(1),e.Q6J("ngIf",t.options.showSubtitle)}}function ire(r,i){if(1&r&&(e.O4$(),e._UZ(0,"image",9)),2&r){var t=e.oxw(2);e.uIk("height",t.svg.image.height)("width",t.svg.image.width)("href",t.svg.image.src,null,"xlink")("x",t.svg.image.x)("y",t.svg.image.y)}}function are(r,i){if(1&r){var t=e.EpF();e.O4$(),e.TgZ(0,"svg",1),e.NdJ("click",function(o){return e.CHM(t),e.oxw().emitClickEvent(o)}),e.TgZ(1,"defs"),e.YNc(2,jne,3,5,"linearGradient",2),e.YNc(3,qne,3,5,"radialGradient",2),e.qZA(),e.YNc(4,Gne,3,2,"ng-container",2),e.YNc(5,Yne,1,6,"circle",2),e.YNc(6,Kne,3,2,"ng-container",2),e.YNc(7,rre,4,6,"text",3),e.YNc(8,ire,1,5,"image",4),e.qZA()}if(2&r){var n=e.oxw();e.uIk("viewBox",n.svg.viewBox)("height",n.svg.height)("width",n.svg.width)("class",n.options.class),e.xp6(2),e.Q6J("ngIf",n.options.outerStrokeGradient),e.xp6(1),e.Q6J("ngIf",n.options.backgroundGradient),e.xp6(1),e.Q6J("ngIf",n.options.showBackground),e.xp6(1),e.Q6J("ngIf",n.options.showInnerStroke),e.xp6(1),e.Q6J("ngIf",0!=+n.options.percent||n.options.showZeroOuterStroke),e.xp6(1),e.Q6J("ngIf",!n.options.showImage&&(n.options.showTitle||n.options.showUnits||n.options.showSubtitle)),e.xp6(1),e.Q6J("ngIf",n.options.showImage)}}var r,dA=function r(){(0,v.Z)(this,r),this.class="",this.backgroundGradient=!1,this.backgroundColor="transparent",this.backgroundGradientStopColor="transparent",this.backgroundOpacity=1,this.backgroundStroke="transparent",this.backgroundStrokeWidth=0,this.backgroundPadding=5,this.percent=0,this.radius=90,this.space=4,this.toFixed=0,this.maxPercent=1e3,this.renderOnClick=!0,this.units="%",this.unitsFontSize="10",this.unitsFontWeight="normal",this.unitsColor="#444444",this.outerStrokeGradient=!1,this.outerStrokeWidth=8,this.outerStrokeColor="#78C000",this.outerStrokeGradientStopColor="transparent",this.outerStrokeLinecap="round",this.innerStrokeColor="#C7E596",this.innerStrokeWidth=4,this.titleFormat=void 0,this.title="auto",this.titleColor="#444444",this.titleFontSize="20",this.titleFontWeight="normal",this.subtitleFormat=void 0,this.subtitle="progress",this.subtitleColor="#A9A9A9",this.subtitleFontSize="10",this.subtitleFontWeight="normal",this.imageSrc=void 0,this.imageHeight=void 0,this.imageWidth=void 0,this.animation=!0,this.animateTitle=!0,this.animateSubtitle=!1,this.animationDuration=500,this.showTitle=!0,this.showSubtitle=!0,this.showUnits=!0,this.showImage=!1,this.showBackground=!0,this.showInnerStroke=!0,this.clockwise=!0,this.responsive=!1,this.startFromZero=!0,this.showZeroOuterStroke=!0,this.lazy=!1},ore=function(){var r=function(){function i(t,n,a){var o=this;(0,v.Z)(this,i),this.elRef=n,this.document=a,this.onClick=new e.vpe,this.svgElement=null,this.isInViewport=!1,this.onViewportChanged=new e.vpe,this._viewportChangedSubscriber=null,this.options=new dA,this.defaultOptions=new dA,this._lastPercent=0,this._gradientUUID=null,this.render=function(){o.applyOptions(),o.options.lazy?(null===o.svgElement&&o.draw(o._lastPercent),o.isInViewport&&(o.options.animation&&o.options.animationDuration>0?o.animate(o._lastPercent,o.options.percent):o.draw(o.options.percent),o._lastPercent=o.options.percent)):(o.options.animation&&o.options.animationDuration>0?o.animate(o._lastPercent,o.options.percent):o.draw(o.options.percent),o._lastPercent=o.options.percent)},this.polarToCartesian=function(s,l,d,h){var C=h*Math.PI/180;return{x:s+Math.sin(C)*d,y:l-Math.cos(C)*d}},this.draw=function(s){var l=(s=void 0===s?o.options.percent:Math.abs(s))>100?100:s,d=2*o.options.radius+2*o.options.outerStrokeWidth;o.options.showBackground&&(d+=2*o.options.backgroundStrokeWidth+o.max(0,2*o.options.backgroundPadding));var N,q,h={x:d/2,y:d/2},C={x:h.x,y:h.y-o.options.radius},P=o.polarToCartesian(h.x,h.y,o.options.radius,360*(o.options.clockwise?l:100-l)/100);if(100===l&&(P.x=P.x+(o.options.clockwise?-.01:.01)),l>50){var te=(0,b.Z)(o.options.clockwise?[1,1]:[1,0],2);N=te[0],q=te[1]}else{var Te=(0,b.Z)(o.options.clockwise?[0,1]:[0,0],2);N=Te[0],q=Te[1]}var $e=o.options.animateTitle?s:o.options.percent,ze=$e>o.options.maxPercent?"".concat(o.options.maxPercent.toFixed(o.options.toFixed),"+"):$e.toFixed(o.options.toFixed),rt=o.options.animateSubtitle?s:o.options.percent,dt={x:h.x,y:h.y,textAnchor:"middle",color:o.options.titleColor,fontSize:o.options.titleFontSize,fontWeight:o.options.titleFontWeight,texts:[],tspans:[]};if(void 0!==o.options.titleFormat&&"Function"===o.options.titleFormat.constructor.name){var Dt=o.options.titleFormat($e);Dt instanceof Array?dt.texts=(0,T.Z)(Dt):dt.texts.push(Dt.toString())}else"auto"===o.options.title?dt.texts.push(ze):o.options.title instanceof Array?dt.texts=(0,T.Z)(o.options.title):dt.texts.push(o.options.title.toString());var St={x:h.x,y:h.y,textAnchor:"middle",color:o.options.subtitleColor,fontSize:o.options.subtitleFontSize,fontWeight:o.options.subtitleFontWeight,texts:[],tspans:[]};if(void 0!==o.options.subtitleFormat&&"Function"===o.options.subtitleFormat.constructor.name){var at=o.options.subtitleFormat(rt);at instanceof Array?St.texts=(0,T.Z)(at):St.texts.push(at.toString())}else o.options.subtitle instanceof Array?St.texts=(0,T.Z)(o.options.subtitle):St.texts.push(o.options.subtitle.toString());var ut={text:"".concat(o.options.units),fontSize:o.options.unitsFontSize,fontWeight:o.options.unitsFontWeight,color:o.options.unitsColor},Wt=0,qt=1;if(o.options.showTitle&&(Wt+=dt.texts.length),o.options.showSubtitle&&(Wt+=St.texts.length),o.options.showTitle){var It,it=(0,E.Z)(dt.texts);try{for(it.s();!(It=it.n()).done;)dt.tspans.push({span:It.value,dy:o.getRelativeY(qt,Wt)}),qt++}catch(Xn){it.e(Xn)}finally{it.f()}}if(o.options.showSubtitle){var Sn,mn=(0,E.Z)(St.texts);try{for(mn.s();!(Sn=mn.n()).done;)St.tspans.push({span:Sn.value,dy:o.getRelativeY(qt,Wt)}),qt++}catch(Xn){mn.e(Xn)}finally{mn.f()}}null===o._gradientUUID&&(o._gradientUUID=o.uuid()),o.svg={viewBox:"0 0 ".concat(d," ").concat(d),width:o.options.responsive?"100%":d,height:o.options.responsive?"100%":d,backgroundCircle:{cx:h.x,cy:h.y,r:o.options.radius+o.options.outerStrokeWidth/2+o.options.backgroundPadding,fill:o.options.backgroundColor,fillOpacity:o.options.backgroundOpacity,stroke:o.options.backgroundStroke,strokeWidth:o.options.backgroundStrokeWidth},path:{d:"M ".concat(C.x," ").concat(C.y,"\n        A ").concat(o.options.radius," ").concat(o.options.radius," 0 ").concat(N," ").concat(q," ").concat(P.x," ").concat(P.y),stroke:o.options.outerStrokeColor,strokeWidth:o.options.outerStrokeWidth,strokeLinecap:o.options.outerStrokeLinecap,fill:"none"},circle:{cx:h.x,cy:h.y,r:o.options.radius-o.options.space-o.options.outerStrokeWidth/2-o.options.innerStrokeWidth/2,fill:"none",stroke:o.options.innerStrokeColor,strokeWidth:o.options.innerStrokeWidth},title:dt,units:ut,subtitle:St,image:{x:h.x-o.options.imageWidth/2,y:h.y-o.options.imageHeight/2,src:o.options.imageSrc,width:o.options.imageWidth,height:o.options.imageHeight},outerLinearGradient:{id:"outer-linear-"+o._gradientUUID,colorStop1:o.options.outerStrokeColor,colorStop2:"transparent"===o.options.outerStrokeGradientStopColor?"#FFF":o.options.outerStrokeGradientStopColor},radialGradient:{id:"radial-"+o._gradientUUID,colorStop1:o.options.backgroundColor,colorStop2:"transparent"===o.options.backgroundGradientStopColor?"#FFF":o.options.backgroundGradientStopColor}}},this.getAnimationParameters=function(s,l){var h,C,P,N=o.options.startFromZero||s<0?0:s,q=l<0?0:o.min(l,o.options.maxPercent),Q=Math.abs(Math.round(q-N));return Q>=100?(h=100,C=o.options.animateTitle||o.options.animateSubtitle?Math.round(Q/h):1):(h=Q,C=1),(P=Math.round(o.options.animationDuration/h))<10&&(h=o.options.animationDuration/(P=10),C=!o.options.animateTitle&&!o.options.animateSubtitle&&Q>100?Math.round(100/h):Math.round(Q/h)),C<1&&(C=1),{times:h,step:C,interval:P}},this.animate=function(s,l){o._timerSubscription&&!o._timerSubscription.closed&&o._timerSubscription.unsubscribe();var d=o.options.startFromZero?0:s,h=l,C=o.getAnimationParameters(d,h),P=C.step,N=C.interval,q=d;o._timerSubscription=d<h?(0,O1.H)(0,N).subscribe(function(){(q+=P)<=h?!o.options.animateTitle&&!o.options.animateSubtitle&&q>=100?(o.draw(h),o._timerSubscription.unsubscribe()):o.draw(q):(o.draw(h),o._timerSubscription.unsubscribe())}):(0,O1.H)(0,N).subscribe(function(){(q-=P)>=h?!o.options.animateTitle&&!o.options.animateSubtitle&&h>=100?(o.draw(h),o._timerSubscription.unsubscribe()):o.draw(q):(o.draw(h),o._timerSubscription.unsubscribe())})},this.emitClickEvent=function(s){o.options.renderOnClick&&o.animate(0,o.options.percent),o.onClick.emit(s)},this.applyOptions=function(){for(var s=0,l=Object.keys(o.options);s<l.length;s++){var d=l[s];o.hasOwnProperty(d)&&void 0!==o[d]?o.options[d]=o[d]:o.templateOptions&&void 0!==o.templateOptions[d]&&(o.options[d]=o.templateOptions[d])}o.options.radius=Math.abs(+o.options.radius),o.options.space=+o.options.space,o.options.percent=+o.options.percent>0?+o.options.percent:0,o.options.maxPercent=Math.abs(+o.options.maxPercent),o.options.animationDuration=Math.abs(o.options.animationDuration),o.options.outerStrokeWidth=Math.abs(+o.options.outerStrokeWidth),o.options.innerStrokeWidth=Math.abs(+o.options.innerStrokeWidth),o.options.backgroundPadding=+o.options.backgroundPadding},this.getRelativeY=function(s,l){return(1*(s-l/2)-.18).toFixed(2)+"em"},this.min=function(s,l){return s<l?s:l},this.max=function(s,l){return s>l?s:l},this.uuid=function(){var s=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(d){var h=(s+16*Math.random())%16|0;return s=Math.floor(s/16),("x"==d?h:3&h|8).toString(16)})},this.findSvgElement=function(){if(null===this.svgElement){var s=this.elRef.nativeElement.getElementsByTagName("svg");s.length>0&&(this.svgElement=s[0])}},this.checkViewport=function(){o.findSvgElement();var s=o.isInViewport;o.isInViewport=o.isElementInViewport(o.svgElement),s!==o.isInViewport&&o.onViewportChanged.emit({oldValue:s,newValue:o.isInViewport})},this.onScroll=function(s){o.checkViewport()},this.loadEventsForLazyMode=function(){if(o.options.lazy){o.document.addEventListener("scroll",o.onScroll,!0),o.window.addEventListener("resize",o.onScroll,!0),null===o._viewportChangedSubscriber&&(o._viewportChangedSubscriber=o.onViewportChanged.subscribe(function(l){l.newValue&&o.render()}));var s=(0,O1.H)(0,50).subscribe(function(){null===o.svgElement?o.checkViewport():s.unsubscribe()})}},this.unloadEventsForLazyMode=function(){o.document.removeEventListener("scroll",o.onScroll,!0),o.window.removeEventListener("resize",o.onScroll,!0),null!==o._viewportChangedSubscriber&&(o._viewportChangedSubscriber.unsubscribe(),o._viewportChangedSubscriber=null)},this.document=a,this.window=this.document.defaultView,Object.assign(this.options,t),Object.assign(this.defaultOptions,t)}return(0,g.Z)(i,[{key:"isDrawing",value:function(){return this._timerSubscription&&!this._timerSubscription.closed}},{key:"isElementInViewport",value:function(n){if(null==n)return!1;var s,a=n.getBoundingClientRect(),o=n.parentNode;do{if(s=o.getBoundingClientRect(),a.top>=s.bottom||a.bottom<=s.top||a.left>=s.right||a.right<=s.left)return!1;o=o.parentNode}while(o!=this.document.body);return!(a.top>=(this.window.innerHeight||this.document.documentElement.clientHeight)||a.bottom<=0||a.left>=(this.window.innerWidth||this.document.documentElement.clientWidth)||a.right<=0)}},{key:"ngOnInit",value:function(){this.loadEventsForLazyMode()}},{key:"ngOnDestroy",value:function(){this.unloadEventsForLazyMode()}},{key:"ngOnChanges",value:function(n){this.render(),"lazy"in n&&(n.lazy.currentValue?this.loadEventsForLazyMode():this.unloadEventsForLazyMode())}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(dA),e.Y36(e.SBq),e.Y36(Pt.K0))},r.\u0275cmp=e.Xpm({type:r,selectors:[["circle-progress"]],inputs:{name:"name",class:"class",backgroundGradient:"backgroundGradient",backgroundColor:"backgroundColor",backgroundGradientStopColor:"backgroundGradientStopColor",backgroundOpacity:"backgroundOpacity",backgroundStroke:"backgroundStroke",backgroundStrokeWidth:"backgroundStrokeWidth",backgroundPadding:"backgroundPadding",radius:"radius",space:"space",percent:"percent",toFixed:"toFixed",maxPercent:"maxPercent",renderOnClick:"renderOnClick",units:"units",unitsFontSize:"unitsFontSize",unitsFontWeight:"unitsFontWeight",unitsColor:"unitsColor",outerStrokeGradient:"outerStrokeGradient",outerStrokeWidth:"outerStrokeWidth",outerStrokeColor:"outerStrokeColor",outerStrokeGradientStopColor:"outerStrokeGradientStopColor",outerStrokeLinecap:"outerStrokeLinecap",innerStrokeColor:"innerStrokeColor",innerStrokeWidth:"innerStrokeWidth",titleFormat:"titleFormat",title:"title",titleColor:"titleColor",titleFontSize:"titleFontSize",titleFontWeight:"titleFontWeight",subtitleFormat:"subtitleFormat",subtitle:"subtitle",subtitleColor:"subtitleColor",subtitleFontSize:"subtitleFontSize",subtitleFontWeight:"subtitleFontWeight",imageSrc:"imageSrc",imageHeight:"imageHeight",imageWidth:"imageWidth",animation:"animation",animateTitle:"animateTitle",animateSubtitle:"animateSubtitle",animationDuration:"animationDuration",showTitle:"showTitle",showSubtitle:"showSubtitle",showUnits:"showUnits",showImage:"showImage",showBackground:"showBackground",showInnerStroke:"showInnerStroke",clockwise:"clockwise",responsive:"responsive",startFromZero:"startFromZero",showZeroOuterStroke:"showZeroOuterStroke",lazy:"lazy",templateOptions:["options","templateOptions"]},outputs:{onClick:"onClick"},features:[e.TTD],decls:1,vars:1,consts:[["xmlns","http://www.w3.org/2000/svg","preserveAspectRatio","xMidYMid meet",3,"click",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","preserveAspectRatio","xMidYMid meet",3,"click"],[4,"ngIf"],["alignment-baseline","baseline",4,"ngIf"],["preserveAspectRatio","none",4,"ngIf"],["offset","5%"],["offset","95%"],["alignment-baseline","baseline"],[4,"ngFor","ngForOf"],["preserveAspectRatio","none"]],template:function(t,n){1&t&&e.YNc(0,are,9,11,"svg",0),2&t&&e.Q6J("ngIf",n.svg)},directives:[Pt.O5,Pt.sg],encapsulation:2}),r}(),sre=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,null,[{key:"forRoot",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:i,providers:[{provide:dA,useValue:n}]}}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[[Pt.ez]]}),r}(),jZ=function(){function r(i){(0,v.Z)(this,r),this.rawFile=i;var t=function(r){return!(!r||!(r.nodeName||r.prop&&r.attr&&r.find))}(i),n=t?i.value:i;this["_createFrom"+("string"==typeof n?"FakePath":"Object")](n)}return(0,g.Z)(r,[{key:"_createFromFakePath",value:function(t){this.lastModifiedDate=void 0,this.size=void 0,this.type="like/"+t.slice(t.lastIndexOf(".")+1).toLowerCase(),this.name=t.slice(t.lastIndexOf("/")+t.lastIndexOf("\\")+2)}},{key:"_createFromObject",value:function(t){this.size=t.size,this.type=t.type,this.name=t.name}}]),r}(),ure=function(){function r(i,t,n){(0,v.Z)(this,r),this.url="/",this.headers=[],this.withCredentials=!0,this.formData=[],this.isReady=!1,this.isUploading=!1,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!1,this.isError=!1,this.progress=0,this.index=void 0,this.uploader=i,this.some=t,this.options=n,this.file=new jZ(t),this._file=t,i.options&&(this.method=i.options.method||"POST",this.alias=i.options.itemAlias||"file"),this.url=i.options.url}return(0,g.Z)(r,[{key:"upload",value:function(){try{this.uploader.uploadItem(this)}catch(t){this.uploader._onCompleteItem(this,"",0,{}),this.uploader._onErrorItem(this,"",0,{})}}},{key:"cancel",value:function(){this.uploader.cancelItem(this)}},{key:"remove",value:function(){this.uploader.removeFromQueue(this)}},{key:"onBeforeUpload",value:function(){}},{key:"onBuildForm",value:function(t){return{form:t}}},{key:"onProgress",value:function(t){return{progress:t}}},{key:"onSuccess",value:function(t,n,a){return{response:t,status:n,headers:a}}},{key:"onError",value:function(t,n,a){return{response:t,status:n,headers:a}}},{key:"onCancel",value:function(t,n,a){return{response:t,status:n,headers:a}}},{key:"onComplete",value:function(t,n,a){return{response:t,status:n,headers:a}}},{key:"_onBeforeUpload",value:function(){this.isReady=!0,this.isUploading=!0,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!1,this.isError=!1,this.progress=0,this.onBeforeUpload()}},{key:"_onBuildForm",value:function(t){this.onBuildForm(t)}},{key:"_onProgress",value:function(t){this.progress=t,this.onProgress(t)}},{key:"_onSuccess",value:function(t,n,a){this.isReady=!1,this.isUploading=!1,this.isUploaded=!0,this.isSuccess=!0,this.isCancel=!1,this.isError=!1,this.progress=100,this.index=void 0,this.onSuccess(t,n,a)}},{key:"_onError",value:function(t,n,a){this.isReady=!1,this.isUploading=!1,this.isUploaded=!0,this.isSuccess=!1,this.isCancel=!1,this.isError=!0,this.progress=0,this.index=void 0,this.onError(t,n,a)}},{key:"_onCancel",value:function(t,n,a){this.isReady=!1,this.isUploading=!1,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!0,this.isError=!1,this.progress=0,this.index=void 0,this.onCancel(t,n,a)}},{key:"_onComplete",value:function(t,n,a){this.onComplete(t,n,a),this.uploader.options.removeAfterUpload&&this.remove()}},{key:"_prepareToUploading",value:function(){this.index=this.index||++this.uploader._nextIndex,this.isReady=!0}}]),r}(),cre=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,null,[{key:"getMimeClass",value:function(n){var a="application";return-1!==this.mime_psd.indexOf(n.type)||n.type.match("image.*")?a="image":n.type.match("video.*")?a="video":n.type.match("audio.*")?a="audio":"application/pdf"===n.type?a="pdf":-1!==this.mime_compress.indexOf(n.type)?a="compress":-1!==this.mime_doc.indexOf(n.type)?a="doc":-1!==this.mime_xsl.indexOf(n.type)?a="xls":-1!==this.mime_ppt.indexOf(n.type)&&(a="ppt"),"application"===a&&(a=this.fileTypeDetection(n.name)),a}},{key:"fileTypeDetection",value:function(n){var a={jpg:"image",jpeg:"image",tif:"image",psd:"image",bmp:"image",png:"image",nef:"image",tiff:"image",cr2:"image",dwg:"image",cdr:"image",ai:"image",indd:"image",pin:"image",cdp:"image",skp:"image",stp:"image","3dm":"image",mp3:"audio",wav:"audio",wma:"audio",mod:"audio",m4a:"audio",compress:"compress",zip:"compress",rar:"compress","7z":"compress",lz:"compress",z01:"compress",bz2:"compress",gz:"compress",pdf:"pdf",xls:"xls",xlsx:"xls",ods:"xls",mp4:"video",avi:"video",wmv:"video",mpg:"video",mts:"video",flv:"video","3gp":"video",vob:"video",m4v:"video",mpeg:"video",m2ts:"video",mov:"video",doc:"doc",docx:"doc",eps:"doc",txt:"doc",odt:"doc",rtf:"doc",ppt:"ppt",pptx:"ppt",pps:"ppt",ppsx:"ppt",odp:"ppt"},o=n.split(".");if(o.length<2)return"application";var s=o[o.length-1].toLowerCase();return void 0===a[s]?"application":a[s]}}]),i}();return r.mime_doc=["application/msword","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/vnd.ms-word.document.macroEnabled.12","application/vnd.ms-word.template.macroEnabled.12"],r.mime_xsl=["application/vnd.ms-excel","application/vnd.ms-excel","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/vnd.ms-excel.sheet.macroEnabled.12","application/vnd.ms-excel.template.macroEnabled.12","application/vnd.ms-excel.addin.macroEnabled.12","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],r.mime_ppt=["application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/vnd.openxmlformats-officedocument.presentationml.template","application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/vnd.ms-powerpoint.addin.macroEnabled.12","application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],r.mime_psd=["image/photoshop","image/x-photoshop","image/psd","application/photoshop","application/psd","zz-application/zz-winassoc-psd"],r.mime_compress=["application/x-gtar","application/x-gcompress","application/compress","application/x-tar","application/x-rar-compressed","application/octet-stream","application/x-zip-compressed","application/zip-compressed","application/x-7z-compressed","application/gzip","application/x-bzip2"],r}(),qm=function(){function r(i){(0,v.Z)(this,r),this.isUploading=!1,this.queue=[],this.progress=0,this._nextIndex=0,this.options={autoUpload:!1,isHTML5:!0,filters:[],removeAfterUpload:!1,disableMultipart:!1,formatDataFunction:function(n){return n._file},formatDataFunctionIsAsync:!1},this.setOptions(i),this.response=new e.vpe}return(0,g.Z)(r,[{key:"setOptions",value:function(t){this.options=Object.assign(this.options,t),this.authToken=this.options.authToken,this.authTokenHeader=this.options.authTokenHeader||"Authorization",this.autoUpload=this.options.autoUpload,this.options.filters.unshift({name:"queueLimit",fn:this._queueLimitFilter}),this.options.maxFileSize&&this.options.filters.unshift({name:"fileSize",fn:this._fileSizeFilter}),this.options.allowedFileType&&this.options.filters.unshift({name:"fileType",fn:this._fileTypeFilter}),this.options.allowedMimeType&&this.options.filters.unshift({name:"mimeType",fn:this._mimeTypeFilter});for(var n=0;n<this.queue.length;n++)this.queue[n].url=this.options.url}},{key:"addToQueue",value:function(t,n,a){var d,o=this,s=[],l=(0,E.Z)(t);try{for(l.s();!(d=l.n()).done;)s.push(d.value)}catch(q){l.e(q)}finally{l.f()}var C=this._getFilters(a),P=this.queue.length,N=[];s.map(function(q){n||(n=o.options);var Q=new jZ(q);if(o._isValidFile(Q,C,n)){var te=new ure(o,q,n);N.push(te),o.queue.push(te),o._onAfterAddingFile(te)}else o._onWhenAddingFileFailed(Q,C[o._failFilterIndex],n)}),this.queue.length!==P&&(this._onAfterAddingAll(N),this.progress=this._getTotalProgress()),this._render(),this.options.autoUpload&&this.uploadAll()}},{key:"removeFromQueue",value:function(t){var n=this.getIndexOfItem(t),a=this.queue[n];a.isUploading&&a.cancel(),this.queue.splice(n,1),this.progress=this._getTotalProgress()}},{key:"clearQueue",value:function(){for(;this.queue.length;)this.queue[0].remove();this.progress=0}},{key:"uploadItem",value:function(t){var n=this.getIndexOfItem(t),a=this.queue[n],o=this.options.isHTML5?"_xhrTransport":"_iframeTransport";a._prepareToUploading(),!this.isUploading&&(this.isUploading=!0,this[o](a))}},{key:"cancelItem",value:function(t){var n=this.getIndexOfItem(t),a=this.queue[n];a&&a.isUploading&&(this.options.isHTML5?a._xhr:a._form).abort()}},{key:"uploadAll",value:function(){var t=this.getNotUploadedItems().filter(function(n){return!n.isUploading});!t.length||(t.map(function(n){return n._prepareToUploading()}),t[0].upload())}},{key:"cancelAll",value:function(){this.getNotUploadedItems().map(function(n){return n.cancel()})}},{key:"isFile",value:function(t){return function(r){return File&&r instanceof File}(t)}},{key:"isFileLikeObject",value:function(t){return t instanceof jZ}},{key:"getIndexOfItem",value:function(t){return"number"==typeof t?t:this.queue.indexOf(t)}},{key:"getNotUploadedItems",value:function(){return this.queue.filter(function(t){return!t.isUploaded})}},{key:"getReadyItems",value:function(){return this.queue.filter(function(t){return t.isReady&&!t.isUploading}).sort(function(t,n){return t.index-n.index})}},{key:"destroy",value:function(){}},{key:"onAfterAddingAll",value:function(t){return{fileItems:t}}},{key:"onBuildItemForm",value:function(t,n){return{fileItem:t,form:n}}},{key:"onAfterAddingFile",value:function(t){return{fileItem:t}}},{key:"onWhenAddingFileFailed",value:function(t,n,a){return{item:t,filter:n,options:a}}},{key:"onBeforeUploadItem",value:function(t){return{fileItem:t}}},{key:"onProgressItem",value:function(t,n){return{fileItem:t,progress:n}}},{key:"onProgressAll",value:function(t){return{progress:t}}},{key:"onSuccessItem",value:function(t,n,a,o){return{item:t,response:n,status:a,headers:o}}},{key:"onErrorItem",value:function(t,n,a,o){return{item:t,response:n,status:a,headers:o}}},{key:"onCancelItem",value:function(t,n,a,o){return{item:t,response:n,status:a,headers:o}}},{key:"onCompleteItem",value:function(t,n,a,o){return{item:t,response:n,status:a,headers:o}}},{key:"onCompleteAll",value:function(){}},{key:"_mimeTypeFilter",value:function(t){return!(this.options.allowedMimeType&&-1===this.options.allowedMimeType.indexOf(t.type))}},{key:"_fileSizeFilter",value:function(t){return!(this.options.maxFileSize&&t.size>this.options.maxFileSize)}},{key:"_fileTypeFilter",value:function(t){return!(this.options.allowedFileType&&-1===this.options.allowedFileType.indexOf(cre.getMimeClass(t)))}},{key:"_onErrorItem",value:function(t,n,a,o){t._onError(n,a,o),this.onErrorItem(t,n,a,o)}},{key:"_onCompleteItem",value:function(t,n,a,o){t._onComplete(n,a,o),this.onCompleteItem(t,n,a,o);var s=this.getReadyItems()[0];this.isUploading=!1,s?s.upload():(this.onCompleteAll(),this.progress=this._getTotalProgress(),this._render())}},{key:"_headersGetter",value:function(t){return function(n){return n?t[n.toLowerCase()]||void 0:t}}},{key:"_xhrTransport",value:function(t){var s,n=this,a=this,o=t._xhr=new XMLHttpRequest;if(this._onBeforeUploadItem(t),"number"!=typeof t._file.size)throw new TypeError("The file specified is no longer valid");if(this.options.disableMultipart)s=this.options.formatDataFunction(t);else{s=new FormData,this._onBuildItemForm(t,s);var l=function(){return s.append(t.alias,t._file,t.file.name)};this.options.parametersBeforeFiles||l(),void 0!==this.options.additionalParameter&&Object.keys(this.options.additionalParameter).forEach(function(Q){var te=n.options.additionalParameter[Q];"string"==typeof te&&te.indexOf("{{file_name}}")>=0&&(te=te.replace("{{file_name}}",t.file.name)),s.append(Q,te)}),this.options.parametersBeforeFiles&&l()}if(o.upload.onprogress=function(Q){var te=Math.round(Q.lengthComputable?100*Q.loaded/Q.total:0);n._onProgressItem(t,te)},o.onload=function(){var Q=n._parseHeaders(o.getAllResponseHeaders()),te=n._transformResponse(o.response,Q),se=n._isSuccessCode(o.status)?"Success":"Error";n["_on"+se+"Item"](t,te,o.status,Q),n._onCompleteItem(t,te,o.status,Q)},o.onerror=function(){var Q=n._parseHeaders(o.getAllResponseHeaders()),te=n._transformResponse(o.response,Q);n._onErrorItem(t,te,o.status,Q),n._onCompleteItem(t,te,o.status,Q)},o.onabort=function(){var Q=n._parseHeaders(o.getAllResponseHeaders()),te=n._transformResponse(o.response,Q);n._onCancelItem(t,te,o.status,Q),n._onCompleteItem(t,te,o.status,Q)},o.open(t.method,t.url,!0),o.withCredentials=t.withCredentials,this.options.headers){var h,d=(0,E.Z)(this.options.headers);try{for(d.s();!(h=d.n()).done;){var C=h.value;o.setRequestHeader(C.name,C.value)}}catch(Q){d.e(Q)}finally{d.f()}}if(t.headers.length){var N,P=(0,E.Z)(t.headers);try{for(P.s();!(N=P.n()).done;){var q=N.value;o.setRequestHeader(q.name,q.value)}}catch(Q){P.e(Q)}finally{P.f()}}this.authToken&&o.setRequestHeader(this.authTokenHeader,this.authToken),o.onreadystatechange=function(){o.readyState==XMLHttpRequest.DONE&&a.response.emit(o.responseText)},this.options.formatDataFunctionIsAsync?s.then(function(Q){return o.send(JSON.stringify(Q))}):o.send(s),this._render()}},{key:"_getTotalProgress",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(this.options.removeAfterUpload)return t;var n=this.getNotUploadedItems().length,a=n?this.queue.length-n:this.queue.length,o=100/this.queue.length,s=t*o/100;return Math.round(a*o+s)}},{key:"_getFilters",value:function(t){if(!t)return this.options.filters;if(Array.isArray(t))return t;if("string"==typeof t){var n=t.match(/[^\s,]+/g);return this.options.filters.filter(function(a){return-1!==n.indexOf(a.name)})}return this.options.filters}},{key:"_render",value:function(){}},{key:"_queueLimitFilter",value:function(){return void 0===this.options.queueLimit||this.queue.length<this.options.queueLimit}},{key:"_isValidFile",value:function(t,n,a){var o=this;return this._failFilterIndex=-1,!n.length||n.every(function(s){return o._failFilterIndex++,s.fn.call(o,t,a)})}},{key:"_isSuccessCode",value:function(t){return t>=200&&t<300||304===t}},{key:"_transformResponse",value:function(t,n){return t}},{key:"_parseHeaders",value:function(t){var a,o,s,n={};return t&&t.split("\n").map(function(l){s=l.indexOf(":"),a=l.slice(0,s).trim().toLowerCase(),o=l.slice(s+1).trim(),a&&(n[a]=n[a]?n[a]+", "+o:o)}),n}},{key:"_onWhenAddingFileFailed",value:function(t,n,a){this.onWhenAddingFileFailed(t,n,a)}},{key:"_onAfterAddingFile",value:function(t){this.onAfterAddingFile(t)}},{key:"_onAfterAddingAll",value:function(t){this.onAfterAddingAll(t)}},{key:"_onBeforeUploadItem",value:function(t){t._onBeforeUpload(),this.onBeforeUploadItem(t)}},{key:"_onBuildItemForm",value:function(t,n){t._onBuildForm(n),this.onBuildItemForm(t,n)}},{key:"_onProgressItem",value:function(t,n){var a=this._getTotalProgress(n);this.progress=a,t._onProgress(n),this.onProgressItem(t,n),this.onProgressAll(a),this._render()}},{key:"_onSuccessItem",value:function(t,n,a,o){t._onSuccess(n,a,o),this.onSuccessItem(t,n,a,o)}},{key:"_onCancelItem",value:function(t,n,a,o){t._onCancel(n,a,o),this.onCancelItem(t,n,a,o)}}]),r}(),P1=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.onFileSelected=new e.vpe,this.element=t}return(0,g.Z)(i,[{key:"getOptions",value:function(){return this.uploader.options}},{key:"getFilters",value:function(){return{}}},{key:"isEmptyAfterSelection",value:function(){return!!this.element.nativeElement.attributes.multiple}},{key:"onChange",value:function(){var n=this.element.nativeElement.files,a=this.getOptions(),o=this.getFilters();this.uploader.addToQueue(n,a,o),this.onFileSelected.emit(n),this.isEmptyAfterSelection()&&(this.element.nativeElement.value="")}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq))},r.\u0275dir=e.lG2({type:r,selectors:[["","ng2FileSelect",""]],hostBindings:function(t,n){1&t&&e.NdJ("change",function(){return n.onChange()})},inputs:{uploader:"uploader"},outputs:{onFileSelected:"onFileSelected"}}),r}(),pre=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[[Pt.ez]]}),r}(),qZ=function(){function r(){}return Object.defineProperty(r.prototype,"child_process",{get:function(){return this._child_process||(this._child_process=window.require?window.require("child_process"):null),this._child_process},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"isElectronApp",{get:function(){return!!window.navigator.userAgent.match(/Electron/)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"childProcess",{get:function(){return this.child_process?this.child_process:null},enumerable:!0,configurable:!0}),r}(),fre=(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,t){i.__proto__=t}||function(i,t){for(var n in t)t.hasOwnProperty(n)&&(i[n]=t[n])},function(i,t){function n(){this.constructor=i}r(i,t),i.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),TH=function(r){function i(){return r.call(this)||this}return fre(i,r),i.\u0275fac=function(n){return new(n||i)},i.\u0275prov=e.Yz7({token:i,factory:function(n){return i.\u0275fac(n)}}),i}(qZ);TH.ctorParameters=function(){return[]};var kH=function(){function r(){}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[{provide:qZ,useClass:TH}]}),r}();kH.ctorParameters=function(){return[]};var gs=function(){function r(){(0,v.Z)(this,r)}return(0,g.Z)(r,[{key:"electron",get:function(){return this._electron?this._electron:window&&window.require?(this._electron=window.require("electron"),this._electron):null}},{key:"isElectronApp",get:function(){return!!window.navigator.userAgent.match(/Electron/)}},{key:"isMacOS",get:function(){return this.isElectronApp&&"darwin"===process.platform}},{key:"isWindows",get:function(){return this.isElectronApp&&"win32"===process.platform}},{key:"isLinux",get:function(){return this.isElectronApp&&"linux"===process.platform}},{key:"isX86",get:function(){return this.isElectronApp&&"ia32"===process.arch}},{key:"isX64",get:function(){return this.isElectronApp&&"x64"===process.arch}},{key:"isArm",get:function(){return this.isElectronApp&&"arm"===process.arch}},{key:"desktopCapturer",get:function(){return this.electron?this.electron.desktopCapturer:null}},{key:"ipcRenderer",get:function(){return this.electron?this.electron.ipcRenderer:null}},{key:"remote",get:function(){return this.electron?this.electron.remote:null}},{key:"webFrame",get:function(){return this.electron?this.electron.webFrame:null}},{key:"clipboard",get:function(){return this.electron?this.electron.clipboard:null}},{key:"crashReporter",get:function(){return this.electron?this.electron.crashReporter:null}},{key:"process",get:function(){return this.remote?this.remote.process:null}},{key:"nativeImage",get:function(){return this.electron?this.electron.nativeImage:null}},{key:"screen",get:function(){return this.electron?this.remote.screen:null}},{key:"shell",get:function(){return this.electron?this.electron.shell:null}}]),r}(),hre=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(){return(0,v.Z)(this,n),t.call(this)}return n}(gs);return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),mre=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[{provide:gs,useClass:hre}]}),r}(),I1=f(88009),vre=f(15449),wH=f(60636),zZ=f(19770),zm=f(5441),gre=f(96705),Ou=f(7060),xH=f(73062),jf=f(67254),R1=f(30854),_re=f(23414),j_=f(64187),Ns=f(24305),yre=f(56866),EH=f(30366),WZ=f(76955),_p=function r(i,t){(0,v.Z)(this,r),this.id=i,this.url=t},pA=function(r){(0,O.Z)(t,r);var i=(0,y.Z)(t);function t(n,a){var o,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return(0,v.Z)(this,t),(o=i.call(this,n,a)).navigationTrigger=s,o.restoredState=l,o}return(0,g.Z)(t,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),t}(_p),Wm=function(r){(0,O.Z)(t,r);var i=(0,y.Z)(t);function t(n,a,o){var s;return(0,v.Z)(this,t),(s=i.call(this,n,a)).urlAfterRedirects=o,s}return(0,g.Z)(t,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),t}(_p),GZ=function(r){(0,O.Z)(t,r);var i=(0,y.Z)(t);function t(n,a,o){var s;return(0,v.Z)(this,t),(s=i.call(this,n,a)).reason=o,s}return(0,g.Z)(t,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),t}(_p),MH=function(r){(0,O.Z)(t,r);var i=(0,y.Z)(t);function t(n,a,o){var s;return(0,v.Z)(this,t),(s=i.call(this,n,a)).error=o,s}return(0,g.Z)(t,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),t}(_p),bre=function(r){(0,O.Z)(t,r);var i=(0,y.Z)(t);function t(n,a,o,s){var l;return(0,v.Z)(this,t),(l=i.call(this,n,a)).urlAfterRedirects=o,l.state=s,l}return(0,g.Z)(t,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(_p),Cre=function(r){(0,O.Z)(t,r);var i=(0,y.Z)(t);function t(n,a,o,s){var l;return(0,v.Z)(this,t),(l=i.call(this,n,a)).urlAfterRedirects=o,l.state=s,l}return(0,g.Z)(t,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(_p),Sre=function(r){(0,O.Z)(t,r);var i=(0,y.Z)(t);function t(n,a,o,s,l){var d;return(0,v.Z)(this,t),(d=i.call(this,n,a)).urlAfterRedirects=o,d.state=s,d.shouldActivate=l,d}return(0,g.Z)(t,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),t}(_p),Tre=function(r){(0,O.Z)(t,r);var i=(0,y.Z)(t);function t(n,a,o,s){var l;return(0,v.Z)(this,t),(l=i.call(this,n,a)).urlAfterRedirects=o,l.state=s,l}return(0,g.Z)(t,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(_p),kre=function(r){(0,O.Z)(t,r);var i=(0,y.Z)(t);function t(n,a,o,s){var l;return(0,v.Z)(this,t),(l=i.call(this,n,a)).urlAfterRedirects=o,l.state=s,l}return(0,g.Z)(t,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(_p),AH=function(){function r(i){(0,v.Z)(this,r),this.route=i}return(0,g.Z)(r,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),r}(),DH=function(){function r(i){(0,v.Z)(this,r),this.route=i}return(0,g.Z)(r,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),r}(),wre=function(){function r(i){(0,v.Z)(this,r),this.snapshot=i}return(0,g.Z)(r,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),r}(),xre=function(){function r(i){(0,v.Z)(this,r),this.snapshot=i}return(0,g.Z)(r,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),r}(),Ere=function(){function r(i){(0,v.Z)(this,r),this.snapshot=i}return(0,g.Z)(r,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),r}(),Mre=function(){function r(i){(0,v.Z)(this,r),this.snapshot=i}return(0,g.Z)(r,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),r}(),OH=function(){function r(i,t,n){(0,v.Z)(this,r),this.routerEvent=i,this.position=t,this.anchor=n}return(0,g.Z)(r,[{key:"toString",value:function(){var t=this.position?"".concat(this.position[0],", ").concat(this.position[1]):null;return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(t,"')")}}]),r}(),_i="primary",Are=function(){function r(i){(0,v.Z)(this,r),this.params=i||{}}return(0,g.Z)(r,[{key:"has",value:function(t){return Object.prototype.hasOwnProperty.call(this.params,t)}},{key:"get",value:function(t){if(this.has(t)){var n=this.params[t];return Array.isArray(n)?n[0]:n}return null}},{key:"getAll",value:function(t){if(this.has(t)){var n=this.params[t];return Array.isArray(n)?n:[n]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),r}();function q_(r){return new Are(r)}var PH="ngNavigationCancelingError";function YZ(r){var i=Error("NavigationCancelingError: "+r);return i[PH]=!0,i}function Ore(r,i,t){var n=t.path.split("/");if(n.length>r.length||"full"===t.pathMatch&&(i.hasChildren()||n.length<r.length))return null;for(var a={},o=0;o<n.length;o++){var s=n[o],l=r[o];if(s.startsWith(":"))a[s.substring(1)]=l;else if(s!==l.path)return null}return{consumed:r.slice(0,n.length),posParams:a}}function ld(r,i){var t=r?Object.keys(r):void 0,n=i?Object.keys(i):void 0;if(!t||!n||t.length!=n.length)return!1;for(var a,o=0;o<t.length;o++)if(!IH(r[a=t[o]],i[a]))return!1;return!0}function IH(r,i){if(Array.isArray(r)&&Array.isArray(i)){if(r.length!==i.length)return!1;var t=(0,T.Z)(r).sort(),n=(0,T.Z)(i).sort();return t.every(function(a,o){return n[o]===a})}return r===i}function RH(r){return Array.prototype.concat.apply([],r)}function NH(r){return r.length>0?r[r.length-1]:null}function _s(r,i){for(var t in r)r.hasOwnProperty(t)&&i(r[t],t)}function ud(r){return(0,e.CqO)(r)?r:(0,e.QGY)(r)?(0,As.D)(Promise.resolve(r)):(0,Kn.of)(r)}var Rre={exact:function FH(r,i,t){if(!Ym(r.segments,i.segments)||!fA(r.segments,i.segments,t)||r.numberOfChildren!==i.numberOfChildren)return!1;for(var n in i.children)if(!r.children[n]||!FH(r.children[n],i.children[n],t))return!1;return!0},subset:BH},ZH={exact:function(r,i){return ld(r,i)},subset:function(r,i){return Object.keys(i).length<=Object.keys(r).length&&Object.keys(i).every(function(t){return IH(r[t],i[t])})},ignored:function(){return!0}};function LH(r,i,t){return Rre[t.paths](r.root,i.root,t.matrixParams)&&ZH[t.queryParams](r.queryParams,i.queryParams)&&!("exact"===t.fragment&&r.fragment!==i.fragment)}function BH(r,i,t){return UH(r,i,i.segments,t)}function UH(r,i,t,n){if(r.segments.length>t.length){var a=r.segments.slice(0,t.length);return!(!Ym(a,t)||i.hasChildren()||!fA(a,t,n))}if(r.segments.length===t.length){if(!Ym(r.segments,t)||!fA(r.segments,t,n))return!1;for(var o in i.children)if(!r.children[o]||!BH(r.children[o],i.children[o],n))return!1;return!0}var s=t.slice(0,r.segments.length),l=t.slice(r.segments.length);return!!(Ym(r.segments,s)&&fA(r.segments,s,n)&&r.children[_i])&&UH(r.children[_i],i,l,n)}function fA(r,i,t){return i.every(function(n,a){return ZH[t](r[a].parameters,n.parameters)})}var Gm=function(){function r(i,t,n){(0,v.Z)(this,r),this.root=i,this.queryParams=t,this.fragment=n}return(0,g.Z)(r,[{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=q_(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return Bre.serialize(this)}}]),r}(),Si=function(){function r(i,t){var n=this;(0,v.Z)(this,r),this.segments=i,this.children=t,this.parent=null,_s(t,function(a,o){return a.parent=n})}return(0,g.Z)(r,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}},{key:"toString",value:function(){return hA(this)}}]),r}(),N1=function(){function r(i,t){(0,v.Z)(this,r),this.path=i,this.parameters=t}return(0,g.Z)(r,[{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=q_(this.parameters)),this._parameterMap}},{key:"toString",value:function(){return zH(this)}}]),r}();function Ym(r,i){return r.length===i.length&&r.every(function(t,n){return t.path===i[n].path})}var HH=function r(){(0,v.Z)(this,r)},VH=function(){function r(){(0,v.Z)(this,r)}return(0,g.Z)(r,[{key:"parse",value:function(t){var n=new Yre(t);return new Gm(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}},{key:"serialize",value:function(t){var n="/".concat(Z1(t.root,!0)),a=function(r){var i=Object.keys(r).map(function(t){var n=r[t];return Array.isArray(n)?n.map(function(a){return"".concat(mA(t),"=").concat(mA(a))}).join("&"):"".concat(mA(t),"=").concat(mA(n))}).filter(function(t){return!!t});return i.length?"?".concat(i.join("&")):""}(t.queryParams),o="string"==typeof t.fragment?"#".concat(function(r){return encodeURI(r)}(t.fragment)):"";return"".concat(n).concat(a).concat(o)}}]),r}(),Bre=new VH;function hA(r){return r.segments.map(function(i){return zH(i)}).join("/")}function Z1(r,i){if(!r.hasChildren())return hA(r);if(i){var t=r.children[_i]?Z1(r.children[_i],!1):"",n=[];return _s(r.children,function(o,s){s!==_i&&n.push("".concat(s,":").concat(Z1(o,!1)))}),n.length>0?"".concat(t,"(").concat(n.join("//"),")"):t}var a=function(r,i){var t=[];return _s(r.children,function(n,a){a===_i&&(t=t.concat(i(n,a)))}),_s(r.children,function(n,a){a!==_i&&(t=t.concat(i(n,a)))}),t}(r,function(o,s){return s===_i?[Z1(r.children[_i],!1)]:["".concat(s,":").concat(Z1(o,!1))]});return 1===Object.keys(r.children).length&&null!=r.children[_i]?"".concat(hA(r),"/").concat(a[0]):"".concat(hA(r),"/(").concat(a.join("//"),")")}function jH(r){return encodeURIComponent(r).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function mA(r){return jH(r).replace(/%3B/gi,";")}function JZ(r){return jH(r).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function vA(r){return decodeURIComponent(r)}function qH(r){return vA(r.replace(/\+/g,"%20"))}function zH(r){return"".concat(JZ(r.path)).concat(function(r){return Object.keys(r).map(function(i){return";".concat(JZ(i),"=").concat(JZ(r[i]))}).join("")}(r.parameters))}var jre=/^[^\/()?;=#]+/;function gA(r){var i=r.match(jre);return i?i[0]:""}var qre=/^[^=?&#]+/,Wre=/^[^&#]+/,Yre=function(){function r(i){(0,v.Z)(this,r),this.url=i,this.remaining=i}return(0,g.Z)(r,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Si([],{}):new Si([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));var a={};return this.peekStartsWith("(")&&(a=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(a[_i]=new Si(t,n)),a}},{key:"parseSegment",value:function(){var t=gA(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(t),new N1(vA(t),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t}},{key:"parseParam",value:function(t){var n=gA(this.remaining);if(n){this.capture(n);var a="";if(this.consumeOptional("=")){var o=gA(this.remaining);o&&this.capture(a=o)}t[vA(n)]=vA(a)}}},{key:"parseQueryParam",value:function(t){var n=function(r){var i=r.match(qre);return i?i[0]:""}(this.remaining);if(n){this.capture(n);var a="";if(this.consumeOptional("=")){var o=function(r){var i=r.match(Wre);return i?i[0]:""}(this.remaining);o&&this.capture(a=o)}var s=qH(n),l=qH(a);if(t.hasOwnProperty(s)){var d=t[s];Array.isArray(d)||(t[s]=d=[d]),d.push(l)}else t[s]=l}}},{key:"parseParens",value:function(t){var n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var a=gA(this.remaining),o=this.remaining[a.length];if("/"!==o&&")"!==o&&";"!==o)throw new Error("Cannot parse url '".concat(this.url,"'"));var s=void 0;a.indexOf(":")>-1?(s=a.substr(0,a.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=_i);var l=this.parseChildren();n[s]=1===Object.keys(l).length?l[_i]:new Si([],l),this.consumeOptional("//")}return n}},{key:"peekStartsWith",value:function(t){return this.remaining.startsWith(t)}},{key:"consumeOptional",value:function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}},{key:"capture",value:function(t){if(!this.consumeOptional(t))throw new Error('Expected "'.concat(t,'".'))}}]),r}(),WH=function(){function r(i){(0,v.Z)(this,r),this._root=i}return(0,g.Z)(r,[{key:"root",get:function(){return this._root.value}},{key:"parent",value:function(t){var n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}},{key:"children",value:function(t){var n=QZ(t,this._root);return n?n.children.map(function(a){return a.value}):[]}},{key:"firstChild",value:function(t){var n=QZ(t,this._root);return n&&n.children.length>0?n.children[0].value:null}},{key:"siblings",value:function(t){var n=KZ(t,this._root);return n.length<2?[]:n[n.length-2].children.map(function(o){return o.value}).filter(function(o){return o!==t})}},{key:"pathFromRoot",value:function(t){return KZ(t,this._root).map(function(n){return n.value})}}]),r}();function QZ(r,i){if(r===i.value)return i;var n,t=(0,E.Z)(i.children);try{for(t.s();!(n=t.n()).done;){var o=QZ(r,n.value);if(o)return o}}catch(s){t.e(s)}finally{t.f()}return null}function KZ(r,i){if(r===i.value)return[i];var n,t=(0,E.Z)(i.children);try{for(t.s();!(n=t.n()).done;){var o=KZ(r,n.value);if(o.length)return o.unshift(i),o}}catch(s){t.e(s)}finally{t.f()}return[]}var yp=function(){function r(i,t){(0,v.Z)(this,r),this.value=i,this.children=t}return(0,g.Z)(r,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),r}();function z_(r){var i={};return r&&r.children.forEach(function(t){return i[t.value.outlet]=t}),i}var GH=function(r){(0,O.Z)(t,r);var i=(0,y.Z)(t);function t(n,a){var o;return(0,v.Z)(this,t),(o=i.call(this,n)).snapshot=a,XZ((0,I1.Z)(o),n),o}return(0,g.Z)(t,[{key:"toString",value:function(){return this.snapshot.toString()}}]),t}(WH);function YH(r,i){var t=function(r,i){var s=new _A([],{},{},"",{},_i,i,null,r.root,-1,{});return new QH("",new yp(s,[]))}(r,i),n=new $i.X([new N1("",{})]),a=new $i.X({}),o=new $i.X({}),s=new $i.X({}),l=new $i.X(""),d=new Or(n,a,s,l,o,_i,i,t.root);return d.snapshot=t.root,new GH(new yp(d,[]),t)}var Or=function(){function r(i,t,n,a,o,s,l,d){(0,v.Z)(this,r),this.url=i,this.params=t,this.queryParams=n,this.fragment=a,this.data=o,this.outlet=s,this.component=l,this._futureSnapshot=d}return(0,g.Z)(r,[{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe((0,kr.U)(function(t){return q_(t)}))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,kr.U)(function(t){return q_(t)}))),this._queryParamMap}},{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}]),r}();function JH(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",t=r.pathFromRoot,n=0;if("always"!==i)for(n=t.length-1;n>=1;){var a=t[n],o=t[n-1];if(a.routeConfig&&""===a.routeConfig.path)n--;else{if(o.component)break;n--}}return Qre(t.slice(n))}function Qre(r){return r.reduce(function(i,t){return{params:(0,D.Z)((0,D.Z)({},i.params),t.params),data:(0,D.Z)((0,D.Z)({},i.data),t.data),resolve:(0,D.Z)((0,D.Z)({},i.resolve),t._resolvedData)}},{params:{},data:{},resolve:{}})}var _A=function(){function r(i,t,n,a,o,s,l,d,h,C,P){(0,v.Z)(this,r),this.url=i,this.params=t,this.queryParams=n,this.fragment=a,this.data=o,this.outlet=s,this.component=l,this.routeConfig=d,this._urlSegment=h,this._lastPathIndex=C,this._resolve=P}return(0,g.Z)(r,[{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=q_(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=q_(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){var t=this.url.map(function(a){return a.toString()}).join("/"),n=this.routeConfig?this.routeConfig.path:"";return"Route(url:'".concat(t,"', path:'").concat(n,"')")}}]),r}(),QH=function(r){(0,O.Z)(t,r);var i=(0,y.Z)(t);function t(n,a){var o;return(0,v.Z)(this,t),(o=i.call(this,a)).url=n,XZ((0,I1.Z)(o),a),o}return(0,g.Z)(t,[{key:"toString",value:function(){return KH(this._root)}}]),t}(WH);function XZ(r,i){i.value._routerState=r,i.children.forEach(function(t){return XZ(r,t)})}function KH(r){var i=r.children.length>0?" { ".concat(r.children.map(KH).join(", ")," } "):"";return"".concat(r.value).concat(i)}function $Z(r){if(r.snapshot){var i=r.snapshot,t=r._futureSnapshot;r.snapshot=t,ld(i.queryParams,t.queryParams)||r.queryParams.next(t.queryParams),i.fragment!==t.fragment&&r.fragment.next(t.fragment),ld(i.params,t.params)||r.params.next(t.params),function(r,i){if(r.length!==i.length)return!1;for(var t=0;t<r.length;++t)if(!ld(r[t],i[t]))return!1;return!0}(i.url,t.url)||r.url.next(t.url),ld(i.data,t.data)||r.data.next(t.data)}else r.snapshot=r._futureSnapshot,r.data.next(r._futureSnapshot.data)}function e6(r,i){var t=ld(r.params,i.params)&&function(r,i){return Ym(r,i)&&r.every(function(t,n){return ld(t.parameters,i[n].parameters)})}(r.url,i.url);return t&&!(!r.parent!=!i.parent)&&(!r.parent||e6(r.parent,i.parent))}function L1(r,i,t){if(t&&r.shouldReuseRoute(i.value,t.value.snapshot)){var n=t.value;n._futureSnapshot=i.value;var a=function(r,i,t){return i.children.map(function(n){var o,a=(0,E.Z)(t.children);try{for(a.s();!(o=a.n()).done;){var s=o.value;if(r.shouldReuseRoute(n.value,s.value.snapshot))return L1(r,n,s)}}catch(l){a.e(l)}finally{a.f()}return L1(r,n)})}(r,i,t);return new yp(n,a)}if(r.shouldAttach(i.value)){var o=r.retrieve(i.value);if(null!==o){var s=o.route;return s.value._futureSnapshot=i.value,s.children=i.children.map(function(h){return L1(r,h)}),s}}var l=function(r){return new Or(new $i.X(r.url),new $i.X(r.params),new $i.X(r.queryParams),new $i.X(r.fragment),new $i.X(r.data),r.outlet,r.component,r)}(i.value),d=i.children.map(function(h){return L1(r,h)});return new yp(l,d)}function eie(r,i,t,n,a){if(0===t.length)return t6(i.root,i.root,i,n,a);var o=function(r){if("string"==typeof r[0]&&1===r.length&&"/"===r[0])return new $H(!0,0,r);var i=0,t=!1,n=r.reduce(function(a,o,s){if("object"==typeof o&&null!=o){if(o.outlets){var l={};return _s(o.outlets,function(d,h){l[h]="string"==typeof d?d.split("/"):d}),[].concat((0,T.Z)(a),[{outlets:l}])}if(o.segmentPath)return[].concat((0,T.Z)(a),[o.segmentPath])}return"string"!=typeof o?[].concat((0,T.Z)(a),[o]):0===s?(o.split("/").forEach(function(d,h){0==h&&"."===d||(0==h&&""===d?t=!0:".."===d?i++:""!=d&&a.push(d))}),a):[].concat((0,T.Z)(a),[o])},[]);return new $H(t,i,n)}(t);if(o.toRoot())return t6(i.root,new Si([],{}),i,n,a);var s=function(r,i,t){if(r.isAbsolute)return new n6(i.root,!0,0);if(-1===t.snapshot._lastPathIndex){var n=t.snapshot._urlSegment;return new n6(n,n===i.root,0)}var o=yA(r.commands[0])?0:1;return function(r,i,t){for(var n=r,a=i,o=t;o>a;){if(o-=a,!(n=n.parent))throw new Error("Invalid number of '../'");a=n.segments.length}return new n6(n,!1,a-o)}(t.snapshot._urlSegment,t.snapshot._lastPathIndex+o,r.numberOfDoubleDots)}(o,i,r),l=s.processChildren?bA(s.segmentGroup,s.index,o.commands):eV(s.segmentGroup,s.index,o.commands);return t6(s.segmentGroup,l,i,n,a)}function yA(r){return"object"==typeof r&&null!=r&&!r.outlets&&!r.segmentPath}function F1(r){return"object"==typeof r&&null!=r&&r.outlets}function t6(r,i,t,n,a){var o={};return n&&_s(n,function(s,l){o[l]=Array.isArray(s)?s.map(function(d){return"".concat(d)}):"".concat(s)}),new Gm(t.root===r?i:XH(t.root,r,i),o,a)}function XH(r,i,t){var n={};return _s(r.children,function(a,o){n[o]=a===i?t:XH(a,i,t)}),new Si(r.segments,n)}var $H=function(){function r(i,t,n){if((0,v.Z)(this,r),this.isAbsolute=i,this.numberOfDoubleDots=t,this.commands=n,i&&n.length>0&&yA(n[0]))throw new Error("Root segment cannot have matrix parameters");var a=n.find(F1);if(a&&a!==NH(n))throw new Error("{outlets:{}} has to be the last command")}return(0,g.Z)(r,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),r}(),n6=function r(i,t,n){(0,v.Z)(this,r),this.segmentGroup=i,this.processChildren=t,this.index=n};function eV(r,i,t){if(r||(r=new Si([],{})),0===r.segments.length&&r.hasChildren())return bA(r,i,t);var n=function(r,i,t){for(var n=0,a=i,o={match:!1,pathIndex:0,commandIndex:0};a<r.segments.length;){if(n>=t.length)return o;var s=r.segments[a],l=t[n];if(F1(l))break;var d="".concat(l),h=n<t.length-1?t[n+1]:null;if(a>0&&void 0===d)break;if(d&&h&&"object"==typeof h&&void 0===h.outlets){if(!nV(d,h,s))return o;n+=2}else{if(!nV(d,{},s))return o;n++}a++}return{match:!0,pathIndex:a,commandIndex:n}}(r,i,t),a=t.slice(n.commandIndex);if(n.match&&n.pathIndex<r.segments.length){var o=new Si(r.segments.slice(0,n.pathIndex),{});return o.children[_i]=new Si(r.segments.slice(n.pathIndex),r.children),bA(o,0,a)}return n.match&&0===a.length?new Si(r.segments,{}):n.match&&!r.hasChildren()?r6(r,i,t):n.match?bA(r,0,a):r6(r,i,t)}function bA(r,i,t){if(0===t.length)return new Si(r.segments,{});var n=function(r){return F1(r[0])?r[0].outlets:(0,V.Z)({},_i,r)}(t),a={};return _s(n,function(o,s){"string"==typeof o&&(o=[o]),null!==o&&(a[s]=eV(r.children[s],i,o))}),_s(r.children,function(o,s){void 0===n[s]&&(a[s]=o)}),new Si(r.segments,a)}function r6(r,i,t){for(var n=r.segments.slice(0,i),a=0;a<t.length;){var o=t[a];if(F1(o)){var s=oie(o.outlets);return new Si(n,s)}if(0===a&&yA(t[0]))n.push(new N1(r.segments[i].path,tV(t[0]))),a++;else{var d=F1(o)?o.outlets[_i]:"".concat(o),h=a<t.length-1?t[a+1]:null;d&&h&&yA(h)?(n.push(new N1(d,tV(h))),a+=2):(n.push(new N1(d,{})),a++)}}return new Si(n,{})}function oie(r){var i={};return _s(r,function(t,n){"string"==typeof t&&(t=[t]),null!==t&&(i[n]=r6(new Si([],{}),0,t))}),i}function tV(r){var i={};return _s(r,function(t,n){return i[n]="".concat(t)}),i}function nV(r,i,t){return r==t.path&&ld(i,t.parameters)}var lie=function(){function r(i,t,n,a){(0,v.Z)(this,r),this.routeReuseStrategy=i,this.futureState=t,this.currState=n,this.forwardEvent=a}return(0,g.Z)(r,[{key:"activate",value:function(t){var n=this.futureState._root,a=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,a,t),$Z(this.futureState.root),this.activateChildRoutes(n,a,t)}},{key:"deactivateChildRoutes",value:function(t,n,a){var o=this,s=z_(n);t.children.forEach(function(l){var d=l.value.outlet;o.deactivateRoutes(l,s[d],a),delete s[d]}),_s(s,function(l,d){o.deactivateRouteAndItsChildren(l,a)})}},{key:"deactivateRoutes",value:function(t,n,a){var o=t.value,s=n?n.value:null;if(o===s)if(o.component){var l=a.getContext(o.outlet);l&&this.deactivateChildRoutes(t,n,l.children)}else this.deactivateChildRoutes(t,n,a);else s&&this.deactivateRouteAndItsChildren(n,a)}},{key:"deactivateRouteAndItsChildren",value:function(t,n){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}},{key:"detachAndStoreRouteSubtree",value:function(t,n){for(var a=n.getContext(t.value.outlet),o=a&&t.value.component?a.children:n,s=z_(t),l=0,d=Object.keys(s);l<d.length;l++)this.deactivateRouteAndItsChildren(s[d[l]],o);if(a&&a.outlet){var C=a.outlet.detach(),P=a.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:C,route:t,contexts:P})}}},{key:"deactivateRouteAndOutlet",value:function(t,n){for(var a=n.getContext(t.value.outlet),o=a&&t.value.component?a.children:n,s=z_(t),l=0,d=Object.keys(s);l<d.length;l++)this.deactivateRouteAndItsChildren(s[d[l]],o);a&&a.outlet&&(a.outlet.deactivate(),a.children.onOutletDeactivated(),a.attachRef=null,a.resolver=null,a.route=null)}},{key:"activateChildRoutes",value:function(t,n,a){var o=this,s=z_(n);t.children.forEach(function(l){o.activateRoutes(l,s[l.value.outlet],a),o.forwardEvent(new Mre(l.value.snapshot))}),t.children.length&&this.forwardEvent(new xre(t.value.snapshot))}},{key:"activateRoutes",value:function(t,n,a){var o=t.value,s=n?n.value:null;if($Z(o),o===s)if(o.component){var l=a.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,l.children)}else this.activateChildRoutes(t,n,a);else if(o.component){var d=a.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){var h=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),d.children.onOutletReAttached(h.contexts),d.attachRef=h.componentRef,d.route=h.route.value,d.outlet&&d.outlet.attach(h.componentRef,h.route.value),$Z(h.route.value),this.activateChildRoutes(t,null,d.children)}else{var C=function(r){for(var i=r.parent;i;i=i.parent){var t=i.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(o.snapshot),P=C?C.module.componentFactoryResolver:null;d.attachRef=null,d.route=o,d.resolver=P,d.outlet&&d.outlet.activateWith(o,P),this.activateChildRoutes(t,null,d.children)}}else this.activateChildRoutes(t,null,a)}}]),r}(),i6=function r(i,t){(0,v.Z)(this,r),this.routes=i,this.module=t};function qf(r){return"function"==typeof r}function Jm(r){return r instanceof Gm}var B1=Symbol("INITIAL_VALUE");function U1(){return(0,Ou.w)(function(r){return(0,tp.aj)(r.map(function(i){return i.pipe((0,Ea.q)(1),(0,$o.O)(B1))})).pipe((0,xH.R)(function(i,t){var n=!1;return t.reduce(function(a,o,s){return a!==B1?a:(o===B1&&(n=!0),n||!1!==o&&s!==t.length-1&&!Jm(o)?a:o)},i)},B1),(0,ea.h)(function(i){return i!==B1}),(0,kr.U)(function(i){return Jm(i)?i:!0===i}),(0,Ea.q)(1))})}var mie=function r(){(0,v.Z)(this,r),this.outlet=null,this.route=null,this.resolver=null,this.children=new H1,this.attachRef=null},H1=function(){function r(){(0,v.Z)(this,r),this.contexts=new Map}return(0,g.Z)(r,[{key:"onChildOutletCreated",value:function(t,n){var a=this.getOrCreateContext(t);a.outlet=n,this.contexts.set(t,a)}},{key:"onChildOutletDestroyed",value:function(t){var n=this.getContext(t);n&&(n.outlet=null,n.attachRef=null)}},{key:"onOutletDeactivated",value:function(){var t=this.contexts;return this.contexts=new Map,t}},{key:"onOutletReAttached",value:function(t){this.contexts=t}},{key:"getOrCreateContext",value:function(t){var n=this.getContext(t);return n||(n=new mie,this.contexts.set(t,n)),n}},{key:"getContext",value:function(t){return this.contexts.get(t)||null}}]),r}(),CA=function(){var r=function(){function i(t,n,a,o,s){(0,v.Z)(this,i),this.parentContexts=t,this.location=n,this.resolver=a,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new e.vpe,this.deactivateEvents=new e.vpe,this.attachEvents=new e.vpe,this.detachEvents=new e.vpe,this.name=o||_i,t.onChildOutletCreated(this.name,this)}return(0,g.Z)(i,[{key:"ngOnDestroy",value:function(){this.parentContexts.onChildOutletDestroyed(this.name)}},{key:"ngOnInit",value:function(){if(!this.activated){var n=this.parentContexts.getContext(this.name);n&&n.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.resolver||null))}}},{key:"isActivated",get:function(){return!!this.activated}},{key:"component",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}},{key:"activatedRoute",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}},{key:"activatedRouteData",get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}},{key:"detach",value:function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}},{key:"attach",value:function(n,a){this.activated=n,this._activatedRoute=a,this.location.insert(n.hostView),this.attachEvents.emit(n.instance)}},{key:"deactivate",value:function(){if(this.activated){var n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}},{key:"activateWith",value:function(n,a){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=n;var l=(a=a||this.resolver).resolveComponentFactory(n._futureSnapshot.routeConfig.component),d=this.parentContexts.getOrCreateContext(this.name).children,h=new vie(n,d,this.location.injector);this.activated=this.location.createComponent(l,this.location.length,h),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(H1),e.Y36(e.s_b),e.Y36(e._Vd),e.$8M("name"),e.Y36(e.sBO))},r.\u0275dir=e.lG2({type:r,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),r}(),vie=function(){function r(i,t,n){(0,v.Z)(this,r),this.route=i,this.childContexts=t,this.parent=n}return(0,g.Z)(r,[{key:"get",value:function(t,n){return t===Or?this.route:t===H1?this.childContexts:this.parent.get(t,n)}}]),r}(),rV=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275cmp=e.Xpm({type:r,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,n){1&t&&e._UZ(0,"router-outlet")},directives:[CA],encapsulation:2}),r}();function iV(r){for(var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=0;t<r.length;t++){var n=r[t],a=_ie(i,n);gie(n,a)}}function gie(r,i){r.children&&iV(r.children,i)}function _ie(r,i){return i?r||i.path?r&&!i.path?"".concat(r,"/"):!r&&i.path?i.path:"".concat(r,"/").concat(i.path):"":r}function a6(r){var i=r.children&&r.children.map(a6),t=i?(0,D.Z)((0,D.Z)({},r),{},{children:i}):(0,D.Z)({},r);return!t.component&&(i||t.loadChildren)&&t.outlet&&t.outlet!==_i&&(t.component=rV),t}function Pu(r){return r.outlet||_i}function aV(r,i){var t=r.filter(function(n){return Pu(n)===i});return t.push.apply(t,(0,T.Z)(r.filter(function(n){return Pu(n)!==i}))),t}var oV={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function SA(r,i,t){var n;if(""===i.path)return"full"===i.pathMatch&&(r.hasChildren()||t.length>0)?(0,D.Z)({},oV):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};var o=(i.matcher||Ore)(t,r,i);if(!o)return(0,D.Z)({},oV);var s={};_s(o.posParams,function(d,h){s[h]=d.path});var l=o.consumed.length>0?(0,D.Z)((0,D.Z)({},s),o.consumed[o.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:o.consumed,lastChild:o.consumed.length,parameters:l,positionalParamSegments:null!==(n=o.posParams)&&void 0!==n?n:{}}}function TA(r,i,t,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"corrected";if(t.length>0&&Cie(r,t,n)){var o=new Si(i,bie(r,i,n,new Si(t,r.children)));return o._sourceSegment=r,o._segmentIndexShift=i.length,{segmentGroup:o,slicedSegments:[]}}if(0===t.length&&Sie(r,t,n)){var s=new Si(r.segments,yie(r,i,t,n,r.children,a));return s._sourceSegment=r,s._segmentIndexShift=i.length,{segmentGroup:s,slicedSegments:t}}var l=new Si(r.segments,r.children);return l._sourceSegment=r,l._segmentIndexShift=i.length,{segmentGroup:l,slicedSegments:t}}function yie(r,i,t,n,a,o){var d,s={},l=(0,E.Z)(n);try{for(l.s();!(d=l.n()).done;){var h=d.value;if(kA(r,t,h)&&!a[Pu(h)]){var C=new Si([],{});C._sourceSegment=r,C._segmentIndexShift="legacy"===o?r.segments.length:i.length,s[Pu(h)]=C}}}catch(P){l.e(P)}finally{l.f()}return(0,D.Z)((0,D.Z)({},a),s)}function bie(r,i,t,n){var a={};a[_i]=n,n._sourceSegment=r,n._segmentIndexShift=i.length;var s,o=(0,E.Z)(t);try{for(o.s();!(s=o.n()).done;){var l=s.value;if(""===l.path&&Pu(l)!==_i){var d=new Si([],{});d._sourceSegment=r,d._segmentIndexShift=i.length,a[Pu(l)]=d}}}catch(h){o.e(h)}finally{o.f()}return a}function Cie(r,i,t){return t.some(function(n){return kA(r,i,n)&&Pu(n)!==_i})}function Sie(r,i,t){return t.some(function(n){return kA(r,i,n)})}function kA(r,i,t){return(!(r.hasChildren()||i.length>0)||"full"!==t.pathMatch)&&""===t.path}function sV(r,i,t,n){return!!(Pu(r)===n||n!==_i&&kA(i,t,r))&&("**"===r.path||SA(i,r,t).matched)}function lV(r,i,t){return 0===i.length&&!r.children[t]}var V1=function r(i){(0,v.Z)(this,r),this.segmentGroup=i||null},uV=function r(i){(0,v.Z)(this,r),this.urlTree=i};function wA(r){return new wo.y(function(i){return i.error(new V1(r))})}function cV(r){return new wo.y(function(i){return i.error(new uV(r))})}function Tie(r){return new wo.y(function(i){return i.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(r,"'")))})}var xie=function(){function r(i,t,n,a,o){(0,v.Z)(this,r),this.configLoader=t,this.urlSerializer=n,this.urlTree=a,this.config=o,this.allowRedirects=!0,this.ngModule=i.get(e.h0i)}return(0,g.Z)(r,[{key:"apply",value:function(){var t=this,n=TA(this.urlTree.root,[],[],this.config).segmentGroup,a=new Si(n.segments,n.children);return this.expandSegmentGroup(this.ngModule,this.config,a,_i).pipe((0,kr.U)(function(l){return t.createUrlTree(o6(l),t.urlTree.queryParams,t.urlTree.fragment)})).pipe((0,jf.K)(function(l){if(l instanceof uV)return t.allowRedirects=!1,t.match(l.urlTree);throw l instanceof V1?t.noMatchError(l):l}))}},{key:"match",value:function(t){var n=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,_i).pipe((0,kr.U)(function(s){return n.createUrlTree(o6(s),t.queryParams,t.fragment)})).pipe((0,jf.K)(function(s){throw s instanceof V1?n.noMatchError(s):s}))}},{key:"noMatchError",value:function(t){return new Error("Cannot match any routes. URL Segment: '".concat(t.segmentGroup,"'"))}},{key:"createUrlTree",value:function(t,n,a){var o=t.segments.length>0?new Si([],(0,V.Z)({},_i,t)):t;return new Gm(o,n,a)}},{key:"expandSegmentGroup",value:function(t,n,a,o){return 0===a.segments.length&&a.hasChildren()?this.expandChildren(t,n,a).pipe((0,kr.U)(function(s){return new Si([],s)})):this.expandSegment(t,a,n,a.segments,o,!0)}},{key:"expandChildren",value:function(t,n,a){for(var o=this,s=[],l=0,d=Object.keys(a.children);l<d.length;l++){var h=d[l];"primary"===h?s.unshift(h):s.push(h)}return(0,As.D)(s).pipe((0,R1.b)(function(C){var P=a.children[C],N=aV(n,C);return o.expandSegmentGroup(t,N,P,C).pipe((0,kr.U)(function(q){return{segment:q,outlet:C}}))}),(0,xH.R)(function(C,P){return C[P.outlet]=P.segment,C},{}),(0,_re.Z)())}},{key:"expandSegment",value:function(t,n,a,o,s,l){var d=this;return(0,As.D)(a).pipe((0,R1.b)(function(h){return d.expandSegmentAgainstRoute(t,n,a,h,o,s,l).pipe((0,jf.K)(function(P){if(P instanceof V1)return(0,Kn.of)(null);throw P}))}),(0,j_.P)(function(h){return!!h}),(0,jf.K)(function(h,C){if(h instanceof vre.K||"EmptyError"===h.name){if(lV(n,o,s))return(0,Kn.of)(new Si([],{}));throw new V1(n)}throw h}))}},{key:"expandSegmentAgainstRoute",value:function(t,n,a,o,s,l,d){return sV(o,n,s,l)?void 0===o.redirectTo?this.matchSegmentAgainstRoute(t,n,o,s,l):d&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,n,a,o,s,l):wA(n):wA(n)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(t,n,a,o,s,l){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,a,o,l):this.expandRegularSegmentAgainstRouteUsingRedirect(t,n,a,o,s,l)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(t,n,a,o){var s=this,l=this.applyRedirectCommands([],a.redirectTo,{});return a.redirectTo.startsWith("/")?cV(l):this.lineralizeSegments(a,l).pipe((0,ao.zg)(function(d){var h=new Si(d,{});return s.expandSegment(t,h,n,d,o,!1)}))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(t,n,a,o,s,l){var d=this,h=SA(n,o,s),P=h.consumedSegments,N=h.lastChild,q=h.positionalParamSegments;if(!h.matched)return wA(n);var Q=this.applyRedirectCommands(P,o.redirectTo,q);return o.redirectTo.startsWith("/")?cV(Q):this.lineralizeSegments(o,Q).pipe((0,ao.zg)(function(te){return d.expandSegment(t,n,a,te.concat(s.slice(N)),l,!1)}))}},{key:"matchSegmentAgainstRoute",value:function(t,n,a,o,s){var l=this;if("**"===a.path)return a.loadChildren?(a._loadedConfig?(0,Kn.of)(a._loadedConfig):this.configLoader.load(t.injector,a)).pipe((0,kr.U)(function(te){return a._loadedConfig=te,new Si(o,{})})):(0,Kn.of)(new Si(o,{}));var h=SA(n,a,o),P=h.consumedSegments,N=h.lastChild;if(!h.matched)return wA(n);var q=o.slice(N);return this.getChildConfig(t,a,o).pipe((0,ao.zg)(function(te){var se=te.module,Te=te.routes,$e=TA(n,P,q,Te),ze=$e.segmentGroup,rt=$e.slicedSegments,dt=new Si(ze.segments,ze.children);if(0===rt.length&&dt.hasChildren())return l.expandChildren(se,Te,dt).pipe((0,kr.U)(function(ut){return new Si(P,ut)}));if(0===Te.length&&0===rt.length)return(0,Kn.of)(new Si(P,{}));var St=Pu(a)===s;return l.expandSegment(se,dt,Te,rt,St?_i:s,!0).pipe((0,kr.U)(function(ut){return new Si(P.concat(ut.segments),ut.children)}))}))}},{key:"getChildConfig",value:function(t,n,a){var o=this;return n.children?(0,Kn.of)(new i6(n.children,t)):n.loadChildren?void 0!==n._loadedConfig?(0,Kn.of)(n._loadedConfig):this.runCanLoadGuards(t.injector,n,a).pipe((0,ao.zg)(function(s){return s?o.configLoader.load(t.injector,n).pipe((0,kr.U)(function(l){return n._loadedConfig=l,l})):function(r){return new wo.y(function(i){return i.error(YZ("Cannot load children because the guard of the route \"path: '".concat(r.path,"'\" returned false")))})}(n)})):(0,Kn.of)(new i6([],t))}},{key:"runCanLoadGuards",value:function(t,n,a){var o=this,s=n.canLoad;if(!s||0===s.length)return(0,Kn.of)(!0);var l=s.map(function(d){var C,h=t.get(d);if(function(r){return r&&qf(r.canLoad)}(h))C=h.canLoad(n,a);else{if(!qf(h))throw new Error("Invalid CanLoad guard");C=h(n,a)}return ud(C)});return(0,Kn.of)(l).pipe(U1(),(0,Ns.b)(function(d){if(Jm(d)){var h=YZ('Redirecting to "'.concat(o.urlSerializer.serialize(d),'"'));throw h.url=d,h}}),(0,kr.U)(function(d){return!0===d}))}},{key:"lineralizeSegments",value:function(t,n){for(var a=[],o=n.root;;){if(a=a.concat(o.segments),0===o.numberOfChildren)return(0,Kn.of)(a);if(o.numberOfChildren>1||!o.children[_i])return Tie(t.redirectTo);o=o.children[_i]}}},{key:"applyRedirectCommands",value:function(t,n,a){return this.applyRedirectCreatreUrlTree(n,this.urlSerializer.parse(n),t,a)}},{key:"applyRedirectCreatreUrlTree",value:function(t,n,a,o){var s=this.createSegmentGroup(t,n.root,a,o);return new Gm(s,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}},{key:"createQueryParams",value:function(t,n){var a={};return _s(t,function(o,s){if("string"==typeof o&&o.startsWith(":")){var d=o.substring(1);a[s]=n[d]}else a[s]=o}),a}},{key:"createSegmentGroup",value:function(t,n,a,o){var s=this,l=this.createSegments(t,n.segments,a,o),d={};return _s(n.children,function(h,C){d[C]=s.createSegmentGroup(t,h,a,o)}),new Si(l,d)}},{key:"createSegments",value:function(t,n,a,o){var s=this;return n.map(function(l){return l.path.startsWith(":")?s.findPosParam(t,l,o):s.findOrReturn(l,a)})}},{key:"findPosParam",value:function(t,n,a){var o=a[n.path.substring(1)];if(!o)throw new Error("Cannot redirect to '".concat(t,"'. Cannot find '").concat(n.path,"'."));return o}},{key:"findOrReturn",value:function(t,n){var s,a=0,o=(0,E.Z)(n);try{for(o.s();!(s=o.n()).done;){var l=s.value;if(l.path===t.path)return n.splice(a),l;a++}}catch(d){o.e(d)}finally{o.f()}return t}}]),r}();function o6(r){for(var i={},t=0,n=Object.keys(r.children);t<n.length;t++){var a=n[t],s=o6(r.children[a]);(s.segments.length>0||s.hasChildren())&&(i[a]=s)}return function(r){if(1===r.numberOfChildren&&r.children[_i]){var i=r.children[_i];return new Si(r.segments.concat(i.segments),i.children)}return r}(new Si(r.segments,i))}var dV=function r(i){(0,v.Z)(this,r),this.path=i,this.route=this.path[this.path.length-1]},xA=function r(i,t){(0,v.Z)(this,r),this.component=i,this.route=t};function Aie(r,i,t){var n=r._root;return j1(n,i?i._root:null,t,[n.value])}function EA(r,i,t){var n=function(r){if(!r)return null;for(var i=r.parent;i;i=i.parent){var t=i.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(i);return(n?n.module.injector:t).get(r)}function j1(r,i,t,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=z_(i);return r.children.forEach(function(s){Pie(s,o[s.value.outlet],t,n.concat([s.value]),a),delete o[s.value.outlet]}),_s(o,function(s,l){return q1(s,t.getContext(l),a)}),a}function Pie(r,i,t,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=r.value,s=i?i.value:null,l=t?t.getContext(r.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){var d=Iie(s,o,o.routeConfig.runGuardsAndResolvers);d?a.canActivateChecks.push(new dV(n)):(o.data=s.data,o._resolvedData=s._resolvedData),j1(r,i,o.component?l?l.children:null:t,n,a),d&&l&&l.outlet&&l.outlet.isActivated&&a.canDeactivateChecks.push(new xA(l.outlet.component,s))}else s&&q1(i,l,a),a.canActivateChecks.push(new dV(n)),j1(r,null,o.component?l?l.children:null:t,n,a);return a}function Iie(r,i,t){if("function"==typeof t)return t(r,i);switch(t){case"pathParamsChange":return!Ym(r.url,i.url);case"pathParamsOrQueryParamsChange":return!Ym(r.url,i.url)||!ld(r.queryParams,i.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!e6(r,i)||!ld(r.queryParams,i.queryParams);default:return!e6(r,i)}}function q1(r,i,t){var n=z_(r),a=r.value;_s(n,function(o,s){q1(o,a.component?i?i.children.getContext(s):null:i,t)}),t.canDeactivateChecks.push(new xA(a.component&&i&&i.outlet&&i.outlet.isActivated?i.outlet.component:null,a))}var Vie=function r(){(0,v.Z)(this,r)};function pV(r){return new wo.y(function(i){return i.error(r)})}var qie=function(){function r(i,t,n,a,o,s){(0,v.Z)(this,r),this.rootComponentType=i,this.config=t,this.urlTree=n,this.url=a,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=s}return(0,g.Z)(r,[{key:"recognize",value:function(){var t=TA(this.urlTree.root,[],[],this.config.filter(function(l){return void 0===l.redirectTo}),this.relativeLinkResolution).segmentGroup,n=this.processSegmentGroup(this.config,t,_i);if(null===n)return null;var a=new _A([],Object.freeze({}),Object.freeze((0,D.Z)({},this.urlTree.queryParams)),this.urlTree.fragment,{},_i,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new yp(a,n),s=new QH(this.url,o);return this.inheritParamsAndData(s._root),s}},{key:"inheritParamsAndData",value:function(t){var n=this,a=t.value,o=JH(a,this.paramsInheritanceStrategy);a.params=Object.freeze(o.params),a.data=Object.freeze(o.data),t.children.forEach(function(s){return n.inheritParamsAndData(s)})}},{key:"processSegmentGroup",value:function(t,n,a){return 0===n.segments.length&&n.hasChildren()?this.processChildren(t,n):this.processSegment(t,n,n.segments,a)}},{key:"processChildren",value:function(t,n){for(var a=[],o=0,s=Object.keys(n.children);o<s.length;o++){var l=s[o],d=n.children[l],h=aV(t,l),C=this.processSegmentGroup(h,d,l);if(null===C)return null;a.push.apply(a,(0,T.Z)(C))}var P=fV(a);return function(r){r.sort(function(i,t){return i.value.outlet===_i?-1:t.value.outlet===_i?1:i.value.outlet.localeCompare(t.value.outlet)})}(P),P}},{key:"processSegment",value:function(t,n,a,o){var l,s=(0,E.Z)(t);try{for(s.s();!(l=s.n()).done;){var h=this.processSegmentAgainstRoute(l.value,n,a,o);if(null!==h)return h}}catch(C){s.e(C)}finally{s.f()}return lV(n,a,o)?[]:null}},{key:"processSegmentAgainstRoute",value:function(t,n,a,o){if(t.redirectTo||!sV(t,n,a,o))return null;var s,l=[],d=[];if("**"===t.path){var h=a.length>0?NH(a).parameters:{};s=new _A(a,h,Object.freeze((0,D.Z)({},this.urlTree.queryParams)),this.urlTree.fragment,vV(t),Pu(t),t.component,t,hV(n),mV(n)+a.length,gV(t))}else{var C=SA(n,t,a);if(!C.matched)return null;l=C.consumedSegments,d=a.slice(C.lastChild),s=new _A(l,C.parameters,Object.freeze((0,D.Z)({},this.urlTree.queryParams)),this.urlTree.fragment,vV(t),Pu(t),t.component,t,hV(n),mV(n)+l.length,gV(t))}var P=function(r){return r.children?r.children:r.loadChildren?r._loadedConfig.routes:[]}(t),N=TA(n,l,d,P.filter(function($e){return void 0===$e.redirectTo}),this.relativeLinkResolution),q=N.segmentGroup,Q=N.slicedSegments;if(0===Q.length&&q.hasChildren()){var te=this.processChildren(P,q);return null===te?null:[new yp(s,te)]}if(0===P.length&&0===Q.length)return[new yp(s,[])];var se=Pu(t)===o,Te=this.processSegment(P,q,Q,se?_i:o);return null===Te?null:[new yp(s,Te)]}}]),r}();function fV(r){var a,i=[],t=new Set,n=(0,E.Z)(r);try{var o=function(){var N=a.value;if(!function(r){var i=r.value.routeConfig;return i&&""===i.path&&void 0===i.redirectTo}(N))return i.push(N),"continue";var Q,q=i.find(function(te){return N.value.routeConfig===te.value.routeConfig});void 0!==q?((Q=q.children).push.apply(Q,(0,T.Z)(N.children)),t.add(q)):i.push(N)};for(n.s();!(a=n.n()).done;)o()}catch(P){n.e(P)}finally{n.f()}var d,l=(0,E.Z)(t);try{for(l.s();!(d=l.n()).done;){var h=d.value,C=fV(h.children);i.push(new yp(h.value,C))}}catch(P){l.e(P)}finally{l.f()}return i.filter(function(P){return!t.has(P)})}function hV(r){for(var i=r;i._sourceSegment;)i=i._sourceSegment;return i}function mV(r){for(var i=r,t=i._segmentIndexShift?i._segmentIndexShift:0;i._sourceSegment;)t+=(i=i._sourceSegment)._segmentIndexShift?i._segmentIndexShift:0;return t-1}function vV(r){return r.data||{}}function gV(r){return r.resolve||{}}function s6(r){return(0,Ou.w)(function(i){var t=r(i);return t?(0,As.D)(t).pipe((0,kr.U)(function(){return i})):(0,Kn.of)(i)})}var eae=function(){function r(){(0,v.Z)(this,r)}return(0,g.Z)(r,[{key:"shouldDetach",value:function(t){return!1}},{key:"store",value:function(t,n){}},{key:"shouldAttach",value:function(t){return!1}},{key:"retrieve",value:function(t){return null}},{key:"shouldReuseRoute",value:function(t,n){return t.routeConfig===n.routeConfig}}]),r}(),tae=function(r){(0,O.Z)(t,r);var i=(0,y.Z)(t);function t(){return(0,v.Z)(this,t),i.apply(this,arguments)}return t}(eae),l6=new e.OlP("ROUTES"),_V=function(){function r(i,t,n,a){(0,v.Z)(this,r),this.injector=i,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=a}return(0,g.Z)(r,[{key:"load",value:function(t,n){var a=this;if(n._loader$)return n._loader$;this.onLoadStartListener&&this.onLoadStartListener(n);var s=this.loadModuleFactory(n.loadChildren).pipe((0,kr.U)(function(l){a.onLoadEndListener&&a.onLoadEndListener(n);var d=l.create(t);return new i6(RH(d.injector.get(l6,void 0,e.XFs.Self|e.XFs.Optional)).map(a6),d)}),(0,jf.K)(function(l){throw n._loader$=void 0,l}));return n._loader$=new gre.c(s,function(){return new Un.xQ}).pipe((0,yre.x)()),n._loader$}},{key:"loadModuleFactory",value:function(t){var n=this;return ud(t()).pipe((0,ao.zg)(function(a){return a instanceof e.YKP?(0,Kn.of)(a):(0,As.D)(n.compiler.compileModuleAsync(a))}))}}]),r}(),rae=function(){function r(){(0,v.Z)(this,r)}return(0,g.Z)(r,[{key:"shouldProcessUrl",value:function(t){return!0}},{key:"extract",value:function(t){return t}},{key:"merge",value:function(t,n){return t}}]),r}();function iae(r){throw r}function aae(r,i,t){return i.parse("/")}function yV(r,i){return(0,Kn.of)(null)}var oae={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},sae={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},xr=function(){var r=function(){function i(t,n,a,o,s,l,d){var h=this;(0,v.Z)(this,i),this.rootComponentType=t,this.urlSerializer=n,this.rootContexts=a,this.location=o,this.config=d,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Un.xQ,this.errorHandler=iae,this.malformedUriErrorHandler=aae,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:yV,afterPreactivation:yV},this.urlHandlingStrategy=new rae,this.routeReuseStrategy=new tae,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=s.get(e.h0i),this.console=s.get(e.c2e);var N=s.get(e.R0b);this.isNgZoneEnabled=N instanceof e.R0b&&e.R0b.isInAngularZone(),this.resetConfig(d),this.currentUrlTree=new Gm(new Si([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new _V(s,l,function(Q){return h.triggerEvent(new AH(Q))},function(Q){return h.triggerEvent(new DH(Q))}),this.routerState=YH(this.currentUrlTree,this.rootComponentType),this.transitions=new $i.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return(0,g.Z)(i,[{key:"browserPageId",get:function(){var n;return null===(n=this.location.getState())||void 0===n?void 0:n.\u0275routerPageId}},{key:"setupNavigations",value:function(n){var a=this,o=this.events;return n.pipe((0,ea.h)(function(s){return 0!==s.id}),(0,kr.U)(function(s){return(0,D.Z)((0,D.Z)({},s),{},{extractedUrl:a.urlHandlingStrategy.extract(s.rawUrl)})}),(0,Ou.w)(function(s){var l=!1,d=!1;return(0,Kn.of)(s).pipe((0,Ns.b)(function(h){a.currentNavigation={id:h.id,initialUrl:h.currentRawUrl,extractedUrl:h.extractedUrl,trigger:h.source,extras:h.extras,previousNavigation:a.lastSuccessfulNavigation?(0,D.Z)((0,D.Z)({},a.lastSuccessfulNavigation),{},{previousNavigation:null}):null}}),(0,Ou.w)(function(h){var C=a.browserUrlTree.toString(),P=!a.navigated||h.extractedUrl.toString()!==C||C!==a.currentUrlTree.toString();if(("reload"===a.onSameUrlNavigation||P)&&a.urlHandlingStrategy.shouldProcessUrl(h.rawUrl))return MA(h.source)&&(a.browserUrlTree=h.extractedUrl),(0,Kn.of)(h).pipe((0,Ou.w)(function(dt){var Dt=a.transitions.getValue();return o.next(new pA(dt.id,a.serializeUrl(dt.extractedUrl),dt.source,dt.restoredState)),Dt!==a.transitions.getValue()?zm.E:Promise.resolve(dt)}),function(r,i,t,n){return(0,Ou.w)(function(a){return function(r,i,t,n,a){return new xie(r,i,t,n,a).apply()}(r,i,t,a.extractedUrl,n).pipe((0,kr.U)(function(o){return(0,D.Z)((0,D.Z)({},a),{},{urlAfterRedirects:o})}))})}(a.ngModule.injector,a.configLoader,a.urlSerializer,a.config),(0,Ns.b)(function(dt){a.currentNavigation=(0,D.Z)((0,D.Z)({},a.currentNavigation),{},{finalUrl:dt.urlAfterRedirects})}),function(r,i,t,n,a){return(0,ao.zg)(function(o){return function(r,i,t,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";try{var s=new qie(r,i,t,n,a,o).recognize();return null===s?pV(new Vie):(0,Kn.of)(s)}catch(l){return pV(l)}}(r,i,o.urlAfterRedirects,t(o.urlAfterRedirects),n,a).pipe((0,kr.U)(function(s){return(0,D.Z)((0,D.Z)({},o),{},{targetSnapshot:s})}))})}(a.rootComponentType,a.config,function(dt){return a.serializeUrl(dt)},a.paramsInheritanceStrategy,a.relativeLinkResolution),(0,Ns.b)(function(dt){if("eager"===a.urlUpdateStrategy){if(!dt.extras.skipLocationChange){var Dt=a.urlHandlingStrategy.merge(dt.urlAfterRedirects,dt.rawUrl);a.setBrowserUrl(Dt,dt)}a.browserUrlTree=dt.urlAfterRedirects}var St=new bre(dt.id,a.serializeUrl(dt.extractedUrl),a.serializeUrl(dt.urlAfterRedirects),dt.targetSnapshot);o.next(St)}));if(P&&a.rawUrlTree&&a.urlHandlingStrategy.shouldProcessUrl(a.rawUrlTree)){var te=h.extractedUrl,se=h.source,Te=h.restoredState,$e=h.extras,ze=new pA(h.id,a.serializeUrl(te),se,Te);o.next(ze);var rt=YH(te,a.rootComponentType).snapshot;return(0,Kn.of)((0,D.Z)((0,D.Z)({},h),{},{targetSnapshot:rt,urlAfterRedirects:te,extras:(0,D.Z)((0,D.Z)({},$e),{},{skipLocationChange:!1,replaceUrl:!1})}))}return a.rawUrlTree=h.rawUrl,h.resolve(null),zm.E}),s6(function(h){var Q=h.extras;return a.hooks.beforePreactivation(h.targetSnapshot,{navigationId:h.id,appliedUrlTree:h.extractedUrl,rawUrlTree:h.rawUrl,skipLocationChange:!!Q.skipLocationChange,replaceUrl:!!Q.replaceUrl})}),(0,Ns.b)(function(h){var C=new Cre(h.id,a.serializeUrl(h.extractedUrl),a.serializeUrl(h.urlAfterRedirects),h.targetSnapshot);a.triggerEvent(C)}),(0,kr.U)(function(h){return(0,D.Z)((0,D.Z)({},h),{},{guards:Aie(h.targetSnapshot,h.currentSnapshot,a.rootContexts)})}),function(r,i){return(0,ao.zg)(function(t){var n=t.targetSnapshot,a=t.currentSnapshot,o=t.guards,s=o.canActivateChecks,l=o.canDeactivateChecks;return 0===l.length&&0===s.length?(0,Kn.of)((0,D.Z)((0,D.Z)({},t),{},{guardsResult:!0})):function(r,i,t,n){return(0,As.D)(r).pipe((0,ao.zg)(function(a){return function(r,i,t,n,a){var o=i&&i.routeConfig?i.routeConfig.canDeactivate:null;if(!o||0===o.length)return(0,Kn.of)(!0);var s=o.map(function(l){var h,d=EA(l,i,a);if(function(r){return r&&qf(r.canDeactivate)}(d))h=ud(d.canDeactivate(r,i,t,n));else{if(!qf(d))throw new Error("Invalid CanDeactivate guard");h=ud(d(r,i,t,n))}return h.pipe((0,j_.P)())});return(0,Kn.of)(s).pipe(U1())}(a.component,a.route,t,i,n)}),(0,j_.P)(function(a){return!0!==a},!0))}(l,n,a,r).pipe((0,ao.zg)(function(d){return d&&function(r){return"boolean"==typeof r}(d)?function(r,i,t,n){return(0,As.D)(i).pipe((0,R1.b)(function(a){return(0,wH.z)(function(r,i){return null!==r&&i&&i(new wre(r)),(0,Kn.of)(!0)}(a.route.parent,n),function(r,i){return null!==r&&i&&i(new Ere(r)),(0,Kn.of)(!0)}(a.route,n),function(r,i,t){var n=i[i.length-1],a=i.slice(0,i.length-1).reverse().map(function(s){return function(r){var i=r.routeConfig?r.routeConfig.canActivateChild:null;return i&&0!==i.length?{node:r,guards:i}:null}(s)}).filter(function(s){return null!==s}),o=a.map(function(s){return(0,zZ.P)(function(){var l=s.guards.map(function(d){var C,h=EA(d,s.node,t);if(function(r){return r&&qf(r.canActivateChild)}(h))C=ud(h.canActivateChild(n,r));else{if(!qf(h))throw new Error("Invalid CanActivateChild guard");C=ud(h(n,r))}return C.pipe((0,j_.P)())});return(0,Kn.of)(l).pipe(U1())})});return(0,Kn.of)(o).pipe(U1())}(r,a.path,t),function(r,i,t){var n=i.routeConfig?i.routeConfig.canActivate:null;if(!n||0===n.length)return(0,Kn.of)(!0);var a=n.map(function(o){return(0,zZ.P)(function(){var l,s=EA(o,i,t);if(function(r){return r&&qf(r.canActivate)}(s))l=ud(s.canActivate(i,r));else{if(!qf(s))throw new Error("Invalid CanActivate guard");l=ud(s(i,r))}return l.pipe((0,j_.P)())})});return(0,Kn.of)(a).pipe(U1())}(r,a.route,t))}),(0,j_.P)(function(a){return!0!==a},!0))}(n,s,r,i):(0,Kn.of)(d)}),(0,kr.U)(function(d){return(0,D.Z)((0,D.Z)({},t),{},{guardsResult:d})}))})}(a.ngModule.injector,function(h){return a.triggerEvent(h)}),(0,Ns.b)(function(h){if(Jm(h.guardsResult)){var C=YZ('Redirecting to "'.concat(a.serializeUrl(h.guardsResult),'"'));throw C.url=h.guardsResult,C}var P=new Sre(h.id,a.serializeUrl(h.extractedUrl),a.serializeUrl(h.urlAfterRedirects),h.targetSnapshot,!!h.guardsResult);a.triggerEvent(P)}),(0,ea.h)(function(h){return!!h.guardsResult||(a.restoreHistory(h),a.cancelNavigationTransition(h,""),!1)}),s6(function(h){if(h.guards.canActivateChecks.length)return(0,Kn.of)(h).pipe((0,Ns.b)(function(C){var P=new Tre(C.id,a.serializeUrl(C.extractedUrl),a.serializeUrl(C.urlAfterRedirects),C.targetSnapshot);a.triggerEvent(P)}),(0,Ou.w)(function(C){var P=!1;return(0,Kn.of)(C).pipe(function(r,i){return(0,ao.zg)(function(t){var n=t.targetSnapshot,a=t.guards.canActivateChecks;if(!a.length)return(0,Kn.of)(t);var o=0;return(0,As.D)(a).pipe((0,R1.b)(function(s){return function(r,i,t,n){return function(r,i,t,n){var a=Object.keys(r);if(0===a.length)return(0,Kn.of)({});var o={};return(0,As.D)(a).pipe((0,ao.zg)(function(s){return function(r,i,t,n){var a=EA(r,i,n);return ud(a.resolve?a.resolve(i,t):a(i,t))}(r[s],i,t,n).pipe((0,Ns.b)(function(l){o[s]=l}))}),(0,Qg.h)(1),(0,ao.zg)(function(){return Object.keys(o).length===a.length?(0,Kn.of)(o):zm.E}))}(r._resolve,r,i,n).pipe((0,kr.U)(function(o){return r._resolvedData=o,r.data=(0,D.Z)((0,D.Z)({},r.data),JH(r,t).resolve),null}))}(s.route,n,r,i)}),(0,Ns.b)(function(){return o++}),(0,Qg.h)(1),(0,ao.zg)(function(s){return o===a.length?(0,Kn.of)(t):zm.E}))})}(a.paramsInheritanceStrategy,a.ngModule.injector),(0,Ns.b)({next:function(){return P=!0},complete:function(){P||(a.restoreHistory(C),a.cancelNavigationTransition(C,"At least one route resolver didn't emit any value."))}}))}),(0,Ns.b)(function(C){var P=new kre(C.id,a.serializeUrl(C.extractedUrl),a.serializeUrl(C.urlAfterRedirects),C.targetSnapshot);a.triggerEvent(P)}))}),s6(function(h){var Q=h.extras;return a.hooks.afterPreactivation(h.targetSnapshot,{navigationId:h.id,appliedUrlTree:h.extractedUrl,rawUrlTree:h.rawUrl,skipLocationChange:!!Q.skipLocationChange,replaceUrl:!!Q.replaceUrl})}),(0,kr.U)(function(h){var C=function(r,i,t){var n=L1(r,i._root,t?t._root:void 0);return new GH(n,i)}(a.routeReuseStrategy,h.targetSnapshot,h.currentRouterState);return(0,D.Z)((0,D.Z)({},h),{},{targetRouterState:C})}),(0,Ns.b)(function(h){a.currentUrlTree=h.urlAfterRedirects,a.rawUrlTree=a.urlHandlingStrategy.merge(h.urlAfterRedirects,h.rawUrl),a.routerState=h.targetRouterState,"deferred"===a.urlUpdateStrategy&&(h.extras.skipLocationChange||a.setBrowserUrl(a.rawUrlTree,h),a.browserUrlTree=h.urlAfterRedirects)}),function(i,t,n){return(0,kr.U)(function(a){return new lie(t,a.targetRouterState,a.currentRouterState,n).activate(i),a})}(a.rootContexts,a.routeReuseStrategy,function(h){return a.triggerEvent(h)}),(0,Ns.b)({next:function(){l=!0},complete:function(){l=!0}}),(0,EH.x)(function(){var h;if(!l&&!d){var C="Navigation ID ".concat(s.id," is not equal to the current navigation id ").concat(a.navigationId);a.cancelNavigationTransition(s,C)}(null===(h=a.currentNavigation)||void 0===h?void 0:h.id)===s.id&&(a.currentNavigation=null)}),(0,jf.K)(function(h){if(d=!0,function(r){return r&&r[PH]}(h)){var C=Jm(h.url);C||(a.navigated=!0,a.restoreHistory(s,!0));var P=new GZ(s.id,a.serializeUrl(s.extractedUrl),h.message);o.next(P),C?setTimeout(function(){var q=a.urlHandlingStrategy.merge(h.url,a.rawUrlTree),Q={skipLocationChange:s.extras.skipLocationChange,replaceUrl:"eager"===a.urlUpdateStrategy||MA(s.source)};a.scheduleNavigation(q,"imperative",null,Q,{resolve:s.resolve,reject:s.reject,promise:s.promise})},0):s.resolve(!1)}else{a.restoreHistory(s,!0);var N=new MH(s.id,a.serializeUrl(s.extractedUrl),h);o.next(N);try{s.resolve(a.errorHandler(h))}catch(q){s.reject(q)}}return zm.E}))}))}},{key:"resetRootComponentType",value:function(n){this.rootComponentType=n,this.routerState.root.component=this.rootComponentType}},{key:"setTransition",value:function(n){this.transitions.next((0,D.Z)((0,D.Z)({},this.transitions.value),n))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var n=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(a){var o="popstate"===a.type?"popstate":"hashchange";"popstate"===o&&setTimeout(function(){var s,l={replaceUrl:!0},d=null!==(s=a.state)&&void 0!==s&&s.navigationId?a.state:null;if(d){var h=(0,D.Z)({},d);delete h.navigationId,delete h.\u0275routerPageId,0!==Object.keys(h).length&&(l.state=h)}var C=n.parseUrl(a.url);n.scheduleNavigation(C,o,d,l)},0)}))}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(n){this.events.next(n)}},{key:"resetConfig",value:function(n){iV(n),this.config=n.map(a6),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}},{key:"createUrlTree",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=a.relativeTo,s=a.queryParams,l=a.fragment,d=a.queryParamsHandling,h=a.preserveFragment,C=o||this.routerState.root,P=h?this.currentUrlTree.fragment:l,N=null;switch(d){case"merge":N=(0,D.Z)((0,D.Z)({},this.currentUrlTree.queryParams),s);break;case"preserve":N=this.currentUrlTree.queryParams;break;default:N=s||null}return null!==N&&(N=this.removeEmptyProps(N)),eie(C,this.currentUrlTree,n,N,null!=P?P:null)}},{key:"navigateByUrl",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1},o=Jm(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,"imperative",null,a)}},{key:"navigate",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return lae(n),this.navigateByUrl(this.createUrlTree(n,a),a)}},{key:"serializeUrl",value:function(n){return this.urlSerializer.serialize(n)}},{key:"parseUrl",value:function(n){var a;try{a=this.urlSerializer.parse(n)}catch(o){a=this.malformedUriErrorHandler(o,this.urlSerializer,n)}return a}},{key:"isActive",value:function(n,a){var o;if(o=!0===a?(0,D.Z)({},oae):!1===a?(0,D.Z)({},sae):a,Jm(n))return LH(this.currentUrlTree,n,o);var s=this.parseUrl(n);return LH(this.currentUrlTree,s,o)}},{key:"removeEmptyProps",value:function(n){return Object.keys(n).reduce(function(a,o){var s=n[o];return null!=s&&(a[o]=s),a},{})}},{key:"processNavigations",value:function(){var n=this;this.navigations.subscribe(function(a){n.navigated=!0,n.lastSuccessfulId=a.id,n.currentPageId=a.targetPageId,n.events.next(new Wm(a.id,n.serializeUrl(a.extractedUrl),n.serializeUrl(n.currentUrlTree))),n.lastSuccessfulNavigation=n.currentNavigation,a.resolve(!0)},function(a){n.console.warn("Unhandled Navigation Error: ".concat(a))})}},{key:"scheduleNavigation",value:function(n,a,o,s,l){var d;if(this.disposed)return Promise.resolve(!1);var Q,te,se,h=this.transitions.value,C=MA(a)&&h&&!MA(h.source),P=h.rawUrl.toString()===n.toString(),N=h.id===(null===(d=this.currentNavigation)||void 0===d?void 0:d.id);if(C&&P&&N)return Promise.resolve(!0);l?(Q=l.resolve,te=l.reject,se=l.promise):se=new Promise(function(Dt,St){Q=Dt,te=St});var $e,Te=++this.navigationId;if("computed"===this.canceledNavigationResolution)if(0===this.currentPageId&&(o=this.location.getState()),o&&o.\u0275routerPageId)$e=o.\u0275routerPageId;else if(s.replaceUrl||s.skipLocationChange){var rt;$e=null!==(rt=this.browserPageId)&&void 0!==rt?rt:0}else{var dt;$e=(null!==(dt=this.browserPageId)&&void 0!==dt?dt:0)+1}else $e=0;return this.setTransition({id:Te,targetPageId:$e,source:a,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:n,extras:s,resolve:Q,reject:te,promise:se,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),se.catch(function(Dt){return Promise.reject(Dt)})}},{key:"setBrowserUrl",value:function(n,a){var o=this.urlSerializer.serialize(n),s=(0,D.Z)((0,D.Z)({},a.extras.state),this.generateNgRouterState(a.id,a.targetPageId));this.location.isCurrentPathEqualTo(o)||a.extras.replaceUrl?this.location.replaceState(o,"",s):this.location.go(o,"",s)}},{key:"restoreHistory",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("computed"===this.canceledNavigationResolution){var o,s,l=this.currentPageId-n.targetPageId,d="popstate"===n.source||"eager"===this.urlUpdateStrategy||this.currentUrlTree===(null===(o=this.currentNavigation)||void 0===o?void 0:o.finalUrl);d&&0!==l?this.location.historyGo(l):this.currentUrlTree===(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)&&0===l&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(a&&this.resetState(n),this.resetUrlToCurrentUrlTree())}},{key:"resetState",value:function(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}},{key:"resetUrlToCurrentUrlTree",value:function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}},{key:"cancelNavigationTransition",value:function(n,a){var o=new GZ(n.id,this.serializeUrl(n.extractedUrl),a);this.triggerEvent(o),n.resolve(!1)}},{key:"generateNgRouterState",value:function(n,a){return"computed"===this.canceledNavigationResolution?{navigationId:n,"\u0275routerPageId":a}:{navigationId:n}}}]),i}();return r.\u0275fac=function(t){e.$Z()},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}();function lae(r){for(var i=0;i<r.length;i++){var t=r[i];if(null==t)throw new Error("The requested path contains ".concat(t," segment at index ").concat(i))}}function MA(r){return"imperative"!==r}var go=function(){var r=function(){function i(t,n,a,o,s){(0,v.Z)(this,i),this.router=t,this.route=n,this.tabIndexAttribute=a,this.renderer=o,this.el=s,this.commands=null,this.onChanges=new Un.xQ,this.setTabIndexIfNotOnNativeEl("0")}return(0,g.Z)(i,[{key:"setTabIndexIfNotOnNativeEl",value:function(n){if(null==this.tabIndexAttribute){var a=this.renderer,o=this.el.nativeElement;null!==n?a.setAttribute(o,"tabindex",n):a.removeAttribute(o,"tabindex")}}},{key:"ngOnChanges",value:function(n){this.onChanges.next(this)}},{key:"routerLink",set:function(n){null!=n?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}},{key:"onClick",value:function(){if(null===this.urlTree)return!0;var n={skipLocationChange:G_(this.skipLocationChange),replaceUrl:G_(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,n),!0}},{key:"urlTree",get:function(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:G_(this.preserveFragment)})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(xr),e.Y36(Or),e.$8M("tabindex"),e.Y36(e.Qsj),e.Y36(e.SBq))},r.\u0275dir=e.lG2({type:r,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,n){1&t&&e.NdJ("click",function(){return n.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[e.TTD]}),r}(),W_=function(){var r=function(){function i(t,n,a){var o=this;(0,v.Z)(this,i),this.router=t,this.route=n,this.locationStrategy=a,this.commands=null,this.href=null,this.onChanges=new Un.xQ,this.subscription=t.events.subscribe(function(s){s instanceof Wm&&o.updateTargetUrlAndHref()})}return(0,g.Z)(i,[{key:"routerLink",set:function(n){this.commands=null!=n?Array.isArray(n)?n:[n]:null}},{key:"ngOnChanges",value:function(n){this.updateTargetUrlAndHref(),this.onChanges.next(this)}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"onClick",value:function(n,a,o,s,l){if(0!==n||a||o||s||l||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;var d={skipLocationChange:G_(this.skipLocationChange),replaceUrl:G_(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,d),!1}},{key:"updateTargetUrlAndHref",value:function(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}},{key:"urlTree",get:function(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:G_(this.preserveFragment)})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(xr),e.Y36(Or),e.Y36(Pt.S$))},r.\u0275dir=e.lG2({type:r,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,n){1&t&&e.NdJ("click",function(o){return n.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),2&t&&e.uIk("target",n.target)("href",n.href,e.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[e.TTD]}),r}();function G_(r){return""===r||!!r}var bV=function r(){(0,v.Z)(this,r)},dae=function(){function r(){(0,v.Z)(this,r)}return(0,g.Z)(r,[{key:"preload",value:function(t,n){return n().pipe((0,jf.K)(function(){return(0,Kn.of)(null)}))}}]),r}(),CV=function(){function r(){(0,v.Z)(this,r)}return(0,g.Z)(r,[{key:"preload",value:function(t,n){return(0,Kn.of)(null)}}]),r}(),SV=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this.router=t,this.injector=a,this.preloadingStrategy=o,this.loader=new _V(a,n,function(h){return t.triggerEvent(new AH(h))},function(h){return t.triggerEvent(new DH(h))})}return(0,g.Z)(i,[{key:"setUpPreloading",value:function(){var n=this;this.subscription=this.router.events.pipe((0,ea.h)(function(a){return a instanceof Wm}),(0,R1.b)(function(){return n.preload()})).subscribe(function(){})}},{key:"preload",value:function(){var n=this.injector.get(e.h0i);return this.processRoutes(n,this.router.config)}},{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe()}},{key:"processRoutes",value:function(n,a){var l,o=[],s=(0,E.Z)(a);try{for(s.s();!(l=s.n()).done;){var d=l.value;if(d.loadChildren&&!d.canLoad&&d._loadedConfig){var h=d._loadedConfig;o.push(this.processRoutes(h.module,h.routes))}else d.loadChildren&&!d.canLoad?o.push(this.preloadConfig(n,d)):d.children&&o.push(this.processRoutes(n,d.children))}}catch(C){s.e(C)}finally{s.f()}return(0,As.D)(o).pipe((0,WZ.J)(),(0,kr.U)(function(C){}))}},{key:"preloadConfig",value:function(n,a){var o=this;return this.preloadingStrategy.preload(a,function(){return(a._loadedConfig?(0,Kn.of)(a._loadedConfig):o.loader.load(n.injector,a)).pipe((0,ao.zg)(function(l){return a._loadedConfig=l,o.processRoutes(l.module,l.routes)}))})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(xr),e.LFG(e.Sil),e.LFG(e.zs3),e.LFG(bV))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),u6=function(){var r=function(){function i(t,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,v.Z)(this,i),this.router=t,this.viewportScroller=n,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration=a.scrollPositionRestoration||"disabled",a.anchorScrolling=a.anchorScrolling||"disabled"}return(0,g.Z)(i,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var n=this;return this.router.events.subscribe(function(a){a instanceof pA?(n.store[n.lastId]=n.viewportScroller.getScrollPosition(),n.lastSource=a.navigationTrigger,n.restoredId=a.restoredState?a.restoredState.navigationId:0):a instanceof Wm&&(n.lastId=a.id,n.scheduleScrollEvent(a,n.router.parseUrl(a.urlAfterRedirects).fragment))})}},{key:"consumeScrollEvents",value:function(){var n=this;return this.router.events.subscribe(function(a){a instanceof OH&&(a.position?"top"===n.options.scrollPositionRestoration?n.viewportScroller.scrollToPosition([0,0]):"enabled"===n.options.scrollPositionRestoration&&n.viewportScroller.scrollToPosition(a.position):a.anchor&&"enabled"===n.options.anchorScrolling?n.viewportScroller.scrollToAnchor(a.anchor):"disabled"!==n.options.scrollPositionRestoration&&n.viewportScroller.scrollToPosition([0,0]))})}},{key:"scheduleScrollEvent",value:function(n,a){this.router.triggerEvent(new OH(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,a))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),i}();return r.\u0275fac=function(t){e.$Z()},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Qm=new e.OlP("ROUTER_CONFIGURATION"),TV=new e.OlP("ROUTER_FORROOT_GUARD"),pae=[Pt.Ye,{provide:HH,useClass:VH},{provide:xr,useFactory:function(r,i,t,n,a,o){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},l=arguments.length>7?arguments[7]:void 0,d=arguments.length>8?arguments[8]:void 0,h=new xr(null,r,i,t,n,a,RH(o));return l&&(h.urlHandlingStrategy=l),d&&(h.routeReuseStrategy=d),_ae(s,h),s.enableTracing&&h.events.subscribe(function(C){var P,N,q,Q;null===(P=(N=console).group)||void 0===P||P.call(N,"Router Event: ".concat(C.constructor.name)),console.log(C.toString()),console.log(C),null===(q=(Q=console).groupEnd)||void 0===q||q.call(Q)}),h},deps:[HH,H1,Pt.Ye,e.zs3,e.Sil,l6,Qm,[function r(){(0,v.Z)(this,r)},new e.FiY],[function r(){(0,v.Z)(this,r)},new e.FiY]]},H1,{provide:Or,useFactory:function(r){return r.routerState.root},deps:[xr]},SV,CV,dae,{provide:Qm,useValue:{enableTracing:!1}}];function fae(){return new e.PXZ("Router",xr)}var kV=function(){var r=function(){function i(t,n){(0,v.Z)(this,i)}return(0,g.Z)(i,null,[{key:"forRoot",value:function(n,a){return{ngModule:i,providers:[pae,wV(n),{provide:TV,useFactory:vae,deps:[[xr,new e.FiY,new e.tp0]]},{provide:Qm,useValue:a||{}},{provide:Pt.S$,useFactory:mae,deps:[Pt.lw,[new e.tBr(Pt.mr),new e.FiY],Qm]},{provide:u6,useFactory:hae,deps:[xr,Pt.EM,Qm]},{provide:bV,useExisting:a&&a.preloadingStrategy?a.preloadingStrategy:CV},{provide:e.PXZ,multi:!0,useFactory:fae},[c6,{provide:e.ip1,multi:!0,useFactory:bae,deps:[c6]},{provide:xV,useFactory:Cae,deps:[c6]},{provide:e.tb,multi:!0,useExisting:xV}]]}}},{key:"forChild",value:function(n){return{ngModule:i,providers:[wV(n)]}}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(TV,8),e.LFG(xr,8))},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r}();function hae(r,i,t){return t.scrollOffset&&i.setOffset(t.scrollOffset),new u6(r,i,t)}function mae(r,i){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.useHash?new Pt.Do(r,i):new Pt.b0(r,i)}function vae(r){return"guarded"}function wV(r){return[{provide:e.deG,multi:!0,useValue:r},{provide:l6,multi:!0,useValue:r}]}function _ae(r,i){r.errorHandler&&(i.errorHandler=r.errorHandler),r.malformedUriErrorHandler&&(i.malformedUriErrorHandler=r.malformedUriErrorHandler),r.onSameUrlNavigation&&(i.onSameUrlNavigation=r.onSameUrlNavigation),r.paramsInheritanceStrategy&&(i.paramsInheritanceStrategy=r.paramsInheritanceStrategy),r.relativeLinkResolution&&(i.relativeLinkResolution=r.relativeLinkResolution),r.urlUpdateStrategy&&(i.urlUpdateStrategy=r.urlUpdateStrategy),r.canceledNavigationResolution&&(i.canceledNavigationResolution=r.canceledNavigationResolution)}var c6=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.injector=t,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new Un.xQ}return(0,g.Z)(i,[{key:"appInitializer",value:function(){var n=this;return this.injector.get(Pt.V_,Promise.resolve(null)).then(function(){if(n.destroyed)return Promise.resolve(!0);var o=null,s=new Promise(function(h){return o=h}),l=n.injector.get(xr),d=n.injector.get(Qm);return"disabled"===d.initialNavigation?(l.setUpLocationChangeListener(),o(!0)):"enabled"===d.initialNavigation||"enabledBlocking"===d.initialNavigation?(l.hooks.afterPreactivation=function(){return n.initNavigation?(0,Kn.of)(null):(n.initNavigation=!0,o(!0),n.resultOfPreactivationDone)},l.initialNavigation()):o(!0),s})}},{key:"bootstrapListener",value:function(n){var a=this.injector.get(Qm),o=this.injector.get(SV),s=this.injector.get(u6),l=this.injector.get(xr),d=this.injector.get(e.z2F);n===d.components[0]&&(("enabledNonBlocking"===a.initialNavigation||void 0===a.initialNavigation)&&l.initialNavigation(),o.setUpPreloading(),s.init(),l.resetRootComponentType(d.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"ngOnDestroy",value:function(){this.destroyed=!0}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(e.zs3))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}();function bae(r){return r.appInitializer.bind(r)}function Cae(r){return r.bootstrapListener.bind(r)}var xV=new e.OlP("Router Initializer"),AA=function r(){(0,v.Z)(this,r)},Ja=f(16775),Vr=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.httpServer=t,this.serverIds=[],this.serviceInitialized=new Un.xQ,this.serverIds=this.getServerIds(),this.isServiceInitialized=!0,this.serviceInitialized.next(this.isServiceInitialized)}return(0,g.Z)(i,[{key:"getServerIds",value:function(){var n=localStorage.getItem("serverIds");return(null==n?void 0:n.length)>0?n.split(","):[]}},{key:"updateServerIds",value:function(){localStorage.removeItem("serverIds"),localStorage.setItem("serverIds",this.serverIds.toString())}},{key:"get",value:function(n){var a=JSON.parse(localStorage.getItem("server-".concat(n)));return new Promise(function(s){s(a)})}},{key:"create",value:function(n){return n.id=this.serverIds.length+1,localStorage.setItem("server-".concat(n.id),JSON.stringify(n)),this.serverIds.push("server-".concat(n.id)),this.updateServerIds(),new Promise(function(o){o(n)})}},{key:"update",value:function(n){return localStorage.removeItem("server-".concat(n.id)),localStorage.setItem("server-".concat(n.id),JSON.stringify(n)),new Promise(function(o){o(n)})}},{key:"findAll",value:function(){var n=this;return new Promise(function(o){var s=[];n.serverIds.forEach(function(l){var d=JSON.parse(localStorage.getItem(l));s.push(d)}),o(s)})}},{key:"delete",value:function(n){return localStorage.removeItem("server-".concat(n.id)),this.serverIds=this.serverIds.filter(function(o){return o!=="server-".concat(n.id)}),this.updateServerIds(),new Promise(function(o){o(n.id)})}},{key:"getServerUrl",value:function(n){return"".concat(n.protocol,"//").concat(n.host,":").concat(n.port,"/")}},{key:"checkServerVersion",value:function(n){return this.httpServer.get(n,"/version")}},{key:"getLocalServer",value:function(n,a){var o=this;return new Promise(function(l,d){o.findAll().then(function(h){var C=h.find(function(N){return"bundled"===N.location});if(C)C.host=n,C.port=a,C.protocol=location.protocol,o.update(C).then(function(N){l(N)},d);else{var P=new AA;P.name="local",P.host=n,P.port=a,P.location="bundled",P.protocol=location.protocol,o.create(P).then(function(N){l(N)},d)}},d)})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(Ja.wh))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),z1=function r(i,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];(0,v.Z)(this,r),this.visible=i,this.error=t,this.clear=n},zf=function(){var r=function(){function i(){(0,v.Z)(this,i),this.state=new $i.X(new z1(!1))}return(0,g.Z)(i,[{key:"setError",value:function(n){this.state.next(new z1(!1,n.error))}},{key:"clear",value:function(){this.state.next(new z1(!1,null,!0))}},{key:"activate",value:function(){this.state.next(new z1(!0))}},{key:"deactivate",value:function(){this.state.next(new z1(!1))}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}();function Tae(r,i){if(1&r&&(e.O4$(),e._UZ(0,"circle",3)),2&r){var t=e.oxw();e.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),e.uIk("r",t._getCircleRadius())}}function kae(r,i){if(1&r&&(e.O4$(),e._UZ(0,"circle",3)),2&r){var t=e.oxw();e.Udp("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),e.uIk("r",t._getCircleRadius())}}function wae(r,i){if(1&r&&(e.O4$(),e._UZ(0,"circle",3)),2&r){var t=e.oxw();e.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),e.uIk("r",t._getCircleRadius())}}function xae(r,i){if(1&r&&(e.O4$(),e._UZ(0,"circle",3)),2&r){var t=e.oxw();e.Udp("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),e.uIk("r",t._getCircleRadius())}}var Aae=(0,sn.pj)(function(){return function r(i){(0,v.Z)(this,r),this._elementRef=i}}(),"primary"),EV=new e.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}}),Y_=function(r){(0,O.Z)(t,r);var i=(0,y.Z)(t);function t(n,a,o,s,l){var d;(0,v.Z)(this,t),(d=i.call(this,n))._document=o,d._diameter=100,d._value=0,d.mode="determinate";var h=t._diameters;return d._spinnerAnimationLabel=d._getSpinnerAnimationLabel(),h.has(o.head)||h.set(o.head,new Set([100])),d._noopAnimations="NoopAnimations"===s&&!!l&&!l._forceAnimations,l&&(l.diameter&&(d.diameter=l.diameter),l.strokeWidth&&(d.strokeWidth=l.strokeWidth)),d}return(0,g.Z)(t,[{key:"diameter",get:function(){return this._diameter},set:function(a){this._diameter=(0,Hn.su)(a),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}},{key:"strokeWidth",get:function(){return this._strokeWidth||this.diameter/10},set:function(a){this._strokeWidth=(0,Hn.su)(a)}},{key:"value",get:function(){return"determinate"===this.mode?this._value:0},set:function(a){this._value=Math.max(0,Math.min(100,(0,Hn.su)(a)))}},{key:"ngOnInit",value:function(){var a=this._elementRef.nativeElement;this._styleRoot=(0,vi.kV)(a)||this._document.head,this._attachStyleNode(),a.classList.add("mat-progress-spinner-indeterminate-animation")}},{key:"_getCircleRadius",value:function(){return(this.diameter-10)/2}},{key:"_getViewBox",value:function(){var a=2*this._getCircleRadius()+this.strokeWidth;return"0 0 ".concat(a," ").concat(a)}},{key:"_getStrokeCircumference",value:function(){return 2*Math.PI*this._getCircleRadius()}},{key:"_getStrokeDashOffset",value:function(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}},{key:"_getCircleStrokeWidth",value:function(){return this.strokeWidth/this.diameter*100}},{key:"_attachStyleNode",value:function(){var a=this._styleRoot,o=this._diameter,s=t._diameters,l=s.get(a);if(!l||!l.has(o)){var d=this._document.createElement("style");d.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),d.textContent=this._getAnimationText(),a.appendChild(d),l||(l=new Set,s.set(a,l)),l.add(o)}}},{key:"_getAnimationText",value:function(){var a=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n    0%      { stroke-dashoffset: START_VALUE;  transform: rotate(0); }\n    12.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(0); }\n    12.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(72.5deg); }\n    25%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(72.5deg); }\n\n    25.0001%   { stroke-dashoffset: START_VALUE;  transform: rotate(270deg); }\n    37.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(270deg); }\n    37.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(161.5deg); }\n    50%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(161.5deg); }\n\n    50.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(180deg); }\n    62.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(180deg); }\n    62.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(251.5deg); }\n    75%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(251.5deg); }\n\n    75.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(90deg); }\n    87.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(90deg); }\n    87.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(341.5deg); }\n    100%    { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(341.5deg); }\n  }\n".replace(/START_VALUE/g,"".concat(.95*a)).replace(/END_VALUE/g,"".concat(.2*a)).replace(/DIAMETER/g,"".concat(this._spinnerAnimationLabel))}},{key:"_getSpinnerAnimationLabel",value:function(){return this.diameter.toString().replace(".","_")}}]),t}(Aae);Y_._diameters=new WeakMap,Y_.\u0275fac=function(i){return new(i||Y_)(e.Y36(e.SBq),e.Y36(vi.t4),e.Y36(Pt.K0,8),e.Y36(Js.Qb,8),e.Y36(EV))},Y_.\u0275cmp=e.Xpm({type:Y_,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(i,t){2&i&&(e.uIk("aria-valuemin","determinate"===t.mode?0:null)("aria-valuemax","determinate"===t.mode?100:null)("aria-valuenow","determinate"===t.mode?t.value:null)("mode",t.mode),e.Udp("width",t.diameter,"px")("height",t.diameter,"px"),e.ekj("_mat-animation-noopable",t._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[e.qOj],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(i,t){1&i&&(e.O4$(),e.TgZ(0,"svg",0),e.YNc(1,Tae,1,9,"circle",1),e.YNc(2,kae,1,7,"circle",2),e.qZA()),2&i&&(e.Udp("width",t.diameter,"px")("height",t.diameter,"px"),e.Q6J("ngSwitch","indeterminate"===t.mode),e.uIk("viewBox",t._getViewBox()),e.xp6(1),e.Q6J("ngSwitchCase",!0),e.xp6(1),e.Q6J("ngSwitchCase",!1))},directives:[Pt.RF,Pt.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0});var DA,MV=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o,s,l,d){var h;return(0,v.Z)(this,n),(h=t.call(this,a,o,s,l,d)).mode="indeterminate",h}return n}(Y_);return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(vi.t4),e.Y36(Pt.K0,8),e.Y36(Js.Qb,8),e.Y36(EV))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(t,n){2&t&&(e.Udp("width",n.diameter,"px")("height",n.diameter,"px"),e.ekj("_mat-animation-noopable",n._noopAnimations))},inputs:{color:"color"},features:[e.qOj],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,n){1&t&&(e.O4$(),e.TgZ(0,"svg",0),e.YNc(1,wae,1,9,"circle",1),e.YNc(2,xae,1,7,"circle",2),e.qZA()),2&t&&(e.Udp("width",n.diameter,"px")("height",n.diameter,"px"),e.Q6J("ngSwitch","indeterminate"===n.mode),e.uIk("viewBox",n._getViewBox()),e.xp6(1),e.Q6J("ngSwitchCase",!0),e.xp6(1),e.Q6J("ngSwitchCase",!1))},directives:[Pt.RF,Pt.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0}),r}(),Pae=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[[sn.BQ,Pt.ez],sn.BQ]}),r}(),Iae=f(43334),p6=f(24778),Rae=["*"];function W1(r){var i;return(null===(i=function(){if(void 0===DA&&(DA=null,"undefined"!=typeof window)){var r=window;void 0!==r.trustedTypes&&(DA=r.trustedTypes.createPolicy("angular#components",{createHTML:function(t){return t}}))}return DA}())||void 0===i?void 0:i.createHTML(r))||r}function AV(r){return Error('Unable to find icon with the name "'.concat(r,'"'))}function DV(r){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL "+"via Angular's DomSanitizer. Attempted URL was \"".concat(r,'".'))}function OV(r){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by "+"Angular's DomSanitizer. Attempted literal was \"".concat(r,'".'))}var Km=function r(i,t,n){(0,v.Z)(this,r),this.url=i,this.svgText=t,this.options=n},G1=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this._httpClient=t,this._sanitizer=n,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=a}return(0,g.Z)(i,[{key:"addSvgIcon",value:function(n,a,o){return this.addSvgIconInNamespace("",n,a,o)}},{key:"addSvgIconLiteral",value:function(n,a,o){return this.addSvgIconLiteralInNamespace("",n,a,o)}},{key:"addSvgIconInNamespace",value:function(n,a,o,s){return this._addSvgIconConfig(n,a,new Km(o,null,s))}},{key:"addSvgIconResolver",value:function(n){return this._resolvers.push(n),this}},{key:"addSvgIconLiteralInNamespace",value:function(n,a,o,s){var l=this._sanitizer.sanitize(e.q3G.HTML,o);if(!l)throw OV(o);var d=W1(l);return this._addSvgIconConfig(n,a,new Km("",d,s))}},{key:"addSvgIconSet",value:function(n,a){return this.addSvgIconSetInNamespace("",n,a)}},{key:"addSvgIconSetLiteral",value:function(n,a){return this.addSvgIconSetLiteralInNamespace("",n,a)}},{key:"addSvgIconSetInNamespace",value:function(n,a,o){return this._addSvgIconSetConfig(n,new Km(a,null,o))}},{key:"addSvgIconSetLiteralInNamespace",value:function(n,a,o){var s=this._sanitizer.sanitize(e.q3G.HTML,a);if(!s)throw OV(a);var l=W1(s);return this._addSvgIconSetConfig(n,new Km("",l,o))}},{key:"registerFontClassAlias",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n;return this._fontCssClassesByAlias.set(n,a),this}},{key:"classNameForFontAlias",value:function(n){return this._fontCssClassesByAlias.get(n)||n}},{key:"setDefaultFontSetClass",value:function(n){return this._defaultFontSetClass=n,this}},{key:"getDefaultFontSetClass",value:function(){return this._defaultFontSetClass}},{key:"getSvgIconFromUrl",value:function(n){var a=this,o=this._sanitizer.sanitize(e.q3G.RESOURCE_URL,n);if(!o)throw DV(n);var s=this._cachedIconsByUrl.get(o);return s?(0,Kn.of)(OA(s)):this._loadSvgIconFromConfig(new Km(n,null)).pipe((0,Ns.b)(function(l){return a._cachedIconsByUrl.set(o,l)}),(0,kr.U)(function(l){return OA(l)}))}},{key:"getNamedSvgIcon",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=PV(a,n),s=this._svgIconConfigs.get(o);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(a,n))return this._svgIconConfigs.set(o,s),this._getSvgFromConfig(s);var l=this._iconSetConfigs.get(a);return l?this._getSvgFromIconSetConfigs(n,l):(0,Iae._)(AV(o))}},{key:"ngOnDestroy",value:function(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(n){return n.svgText?(0,Kn.of)(OA(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe((0,kr.U)(function(a){return OA(a)}))}},{key:"_getSvgFromIconSetConfigs",value:function(n,a){var o=this,s=this._extractIconWithNameFromAnySet(n,a);if(s)return(0,Kn.of)(s);var l=a.filter(function(d){return!d.svgText}).map(function(d){return o._loadSvgIconSetFromConfig(d).pipe((0,jf.K)(function(h){var C=o._sanitizer.sanitize(e.q3G.RESOURCE_URL,d.url),P="Loading icon set URL: ".concat(C," failed: ").concat(h.message);return o._errorHandler.handleError(new Error(P)),(0,Kn.of)(null)}))});return(0,p6.D)(l).pipe((0,kr.U)(function(){var d=o._extractIconWithNameFromAnySet(n,a);if(!d)throw AV(n);return d}))}},{key:"_extractIconWithNameFromAnySet",value:function(n,a){for(var o=a.length-1;o>=0;o--){var s=a[o];if(s.svgText&&s.svgText.toString().indexOf(n)>-1){var l=this._svgElementFromConfig(s),d=this._extractSvgIconFromSet(l,n,s.options);if(d)return d}}return null}},{key:"_loadSvgIconFromConfig",value:function(n){var a=this;return this._fetchIcon(n).pipe((0,Ns.b)(function(o){return n.svgText=o}),(0,kr.U)(function(){return a._svgElementFromConfig(n)}))}},{key:"_loadSvgIconSetFromConfig",value:function(n){return n.svgText?(0,Kn.of)(null):this._fetchIcon(n).pipe((0,Ns.b)(function(a){return n.svgText=a}))}},{key:"_extractSvgIconFromSet",value:function(n,a,o){var s=n.querySelector('[id="'.concat(a,'"]'));if(!s)return null;var l=s.cloneNode(!0);if(l.removeAttribute("id"),"svg"===l.nodeName.toLowerCase())return this._setSvgAttributes(l,o);if("symbol"===l.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(l),o);var d=this._svgElementFromString(W1("<svg></svg>"));return d.appendChild(l),this._setSvgAttributes(d,o)}},{key:"_svgElementFromString",value:function(n){var a=this._document.createElement("DIV");a.innerHTML=n;var o=a.querySelector("svg");if(!o)throw Error("<svg> tag not found");return o}},{key:"_toSvgElement",value:function(n){for(var a=this._svgElementFromString(W1("<svg></svg>")),o=n.attributes,s=0;s<o.length;s++){var l=o[s],d=l.name;"id"!==d&&a.setAttribute(d,l.value)}for(var C=0;C<n.childNodes.length;C++)n.childNodes[C].nodeType===this._document.ELEMENT_NODE&&a.appendChild(n.childNodes[C].cloneNode(!0));return a}},{key:"_setSvgAttributes",value:function(n,a){return n.setAttribute("fit",""),n.setAttribute("height","100%"),n.setAttribute("width","100%"),n.setAttribute("preserveAspectRatio","xMidYMid meet"),n.setAttribute("focusable","false"),a&&a.viewBox&&n.setAttribute("viewBox",a.viewBox),n}},{key:"_fetchIcon",value:function(n){var a,o=this,s=n.url,l=n.options,d=null!==(a=null==l?void 0:l.withCredentials)&&void 0!==a&&a;if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==s)throw Error('Cannot fetch icon from URL "'.concat(s,'".'));var h=this._sanitizer.sanitize(e.q3G.RESOURCE_URL,s);if(!h)throw DV(s);var C=this._inProgressUrlFetches.get(h);if(C)return C;var P=this._httpClient.get(h,{responseType:"text",withCredentials:d}).pipe((0,kr.U)(function(N){return W1(N)}),(0,EH.x)(function(){return o._inProgressUrlFetches.delete(h)}),(0,Tf.B)());return this._inProgressUrlFetches.set(h,P),P}},{key:"_addSvgIconConfig",value:function(n,a,o){return this._svgIconConfigs.set(PV(n,a),o),this}},{key:"_addSvgIconSetConfig",value:function(n,a){var o=this._iconSetConfigs.get(n);return o?o.push(a):this._iconSetConfigs.set(n,[a]),this}},{key:"_svgElementFromConfig",value:function(n){if(!n.svgElement){var a=this._svgElementFromString(n.svgText);this._setSvgAttributes(a,n.options),n.svgElement=a}return n.svgElement}},{key:"_getIconConfigFromResolvers",value:function(n,a){for(var o=0;o<this._resolvers.length;o++){var s=this._resolvers[o](a,n);if(s)return Fae(s)?new Km(s.url,null,s.options):new Km(s,null)}}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(ic.eN,8),e.LFG(U.H7),e.LFG(Pt.K0,8),e.LFG(e.qLn))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r}();function OA(r){return r.cloneNode(!0)}function PV(r,i){return r+":"+i}function Fae(r){return!(!r.url||!r.options)}var J_,Bae=(0,sn.pj)(function(){return function r(i){(0,v.Z)(this,r),this._elementRef=i}}()),Uae=new e.OlP("mat-icon-location",{providedIn:"root",factory:function(){var r=(0,e.f3M)(Pt.K0),i=r?r.location:null;return{getPathname:function(){return i?i.pathname+i.search:""}}}}),IV=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Vae=IV.map(function(r){return"[".concat(r,"]")}).join(", "),jae=/^url\(['"]?#(.*?)['"]?\)$/,er=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o,s,l,d){var h;return(0,v.Z)(this,n),(h=t.call(this,a))._iconRegistry=o,h._location=l,h._errorHandler=d,h._inline=!1,h._currentIconFetch=Lo.w.EMPTY,s||a.nativeElement.setAttribute("aria-hidden","true"),h}return(0,g.Z)(n,[{key:"inline",get:function(){return this._inline},set:function(o){this._inline=(0,Hn.Ig)(o)}},{key:"svgIcon",get:function(){return this._svgIcon},set:function(o){o!==this._svgIcon&&(o?this._updateSvgIcon(o):this._svgIcon&&this._clearSvgElement(),this._svgIcon=o)}},{key:"fontSet",get:function(){return this._fontSet},set:function(o){var s=this._cleanupFontValue(o);s!==this._fontSet&&(this._fontSet=s,this._updateFontIconClasses())}},{key:"fontIcon",get:function(){return this._fontIcon},set:function(o){var s=this._cleanupFontValue(o);s!==this._fontIcon&&(this._fontIcon=s,this._updateFontIconClasses())}},{key:"_splitIconName",value:function(o){if(!o)return["",""];var s=o.split(":");switch(s.length){case 1:return["",s[0]];case 2:return s;default:throw Error('Invalid icon name: "'.concat(o,'"'))}}},{key:"ngOnInit",value:function(){this._updateFontIconClasses()}},{key:"ngAfterViewChecked",value:function(){var o=this._elementsWithExternalReferences;if(o&&o.size){var s=this._location.getPathname();s!==this._previousPath&&(this._previousPath=s,this._prependPathToReferences(s))}}},{key:"ngOnDestroy",value:function(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}},{key:"_usingFontIcon",value:function(){return!this.svgIcon}},{key:"_setSvgElement",value:function(o){this._clearSvgElement();for(var s=o.querySelectorAll("style"),l=0;l<s.length;l++)s[l].textContent+=" ";var d=this._location.getPathname();this._previousPath=d,this._cacheChildrenWithExternalReferences(o),this._prependPathToReferences(d),this._elementRef.nativeElement.appendChild(o)}},{key:"_clearSvgElement",value:function(){var o=this._elementRef.nativeElement,s=o.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();s--;){var l=o.childNodes[s];(1!==l.nodeType||"svg"===l.nodeName.toLowerCase())&&l.remove()}}},{key:"_updateFontIconClasses",value:function(){if(this._usingFontIcon()){var o=this._elementRef.nativeElement,s=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();s!=this._previousFontSetClass&&(this._previousFontSetClass&&o.classList.remove(this._previousFontSetClass),s&&o.classList.add(s),this._previousFontSetClass=s),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&o.classList.remove(this._previousFontIconClass),this.fontIcon&&o.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}}},{key:"_cleanupFontValue",value:function(o){return"string"==typeof o?o.trim().split(" ")[0]:o}},{key:"_prependPathToReferences",value:function(o){var s=this._elementsWithExternalReferences;s&&s.forEach(function(l,d){l.forEach(function(h){d.setAttribute(h.name,"url('".concat(o,"#").concat(h.value,"')"))})})}},{key:"_cacheChildrenWithExternalReferences",value:function(o){for(var s=o.querySelectorAll(Vae),l=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map,d=function(P){IV.forEach(function(N){var q=s[P],Q=q.getAttribute(N),te=Q?Q.match(jae):null;if(te){var se=l.get(q);se||l.set(q,se=[]),se.push({name:N,value:te[1]})}})},h=0;h<s.length;h++)d(h)}},{key:"_updateSvgIcon",value:function(o){var s=this;if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),o){var l=this._splitIconName(o),d=(0,b.Z)(l,2),h=d[0],C=d[1];h&&(this._svgNamespace=h),C&&(this._svgName=C),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(C,h).pipe((0,Ea.q)(1)).subscribe(function(P){return s._setSvgElement(P)},function(P){var N="Error retrieving icon ".concat(h,":").concat(C,"! ").concat(P.message);s._errorHandler.handleError(new Error(N))})}}}]),n}(Bae);return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(G1),e.$8M("aria-hidden"),e.Y36(Uae),e.Y36(e.qLn))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(t,n){2&t&&(e.uIk("data-mat-icon-type",n._usingFontIcon()?"font":"svg")("data-mat-icon-name",n._svgName||n.fontIcon)("data-mat-icon-namespace",n._svgNamespace||n.fontSet),e.ekj("mat-icon-inline",n.inline)("mat-icon-no-color","primary"!==n.color&&"accent"!==n.color&&"warn"!==n.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[e.qOj],ngContentSelectors:Rae,decls:1,vars:0,template:function(t,n){1&t&&(e.F$t(),e.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[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}\n"],encapsulation:2,changeDetection:0}),r}(),f6=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[[sn.BQ],sn.BQ]}),r}(),RV=["mat-button",""],NV=["*"],Wae=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],Gae=(0,sn.pj)((0,sn.Id)((0,sn.Kr)(function(){return function r(i){(0,v.Z)(this,r),this._elementRef=i}}()))),En=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o,s){var l;(0,v.Z)(this,n),(l=t.call(this,a))._focusMonitor=o,l._animationMode=s,l.isRoundButton=l._hasHostAttributes("mat-fab","mat-mini-fab"),l.isIconButton=l._hasHostAttributes("mat-icon-button");var h,d=(0,E.Z)(Wae);try{for(d.s();!(h=d.n()).done;){var C=h.value;l._hasHostAttributes(C)&&l._getHostElement().classList.add(C)}}catch(P){d.e(P)}finally{d.f()}return a.nativeElement.classList.add("mat-button-base"),l.isRoundButton&&(l.color="accent"),l}return(0,g.Z)(n,[{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this._elementRef,!0)}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(o,s){o?this._focusMonitor.focusVia(this._getHostElement(),o,s):this._getHostElement().focus(s)}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_hasHostAttributes",value:function(){for(var o=this,s=arguments.length,l=new Array(s),d=0;d<s;d++)l[d]=arguments[d];return l.some(function(h){return o._getHostElement().hasAttribute(h)})}}]),n}(Gae);return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(Gi.tE),e.Y36(Js.Qb,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(t,n){var a;1&t&&e.Gf(sn.wG,5),2&t&&e.iGM(a=e.CRH())&&(n.ripple=a.first)},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,n){2&t&&(e.uIk("disabled",n.disabled||null),e.ekj("_mat-animation-noopable","NoopAnimations"===n._animationMode)("mat-button-disabled",n.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[e.qOj],attrs:RV,ngContentSelectors:NV,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,n){1&t&&(e.F$t(),e.TgZ(0,"span",0),e.Hsn(1),e.qZA(),e._UZ(2,"span",1),e._UZ(3,"span",2)),2&t&&(e.xp6(2),e.ekj("mat-button-ripple-round",n.isRoundButton||n.isIconButton),e.Q6J("matRippleDisabled",n._isRippleDisabled())("matRippleCentered",n.isIconButton)("matRippleTrigger",n._getHostElement()))},directives:[sn.wG],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),r}(),Yae=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o,s){return(0,v.Z)(this,n),t.call(this,o,a,s)}return(0,g.Z)(n,[{key:"_haltDisabledEvents",value:function(o){this.disabled&&(o.preventDefault(),o.stopImmediatePropagation())}}]),n}(En);return r.\u0275fac=function(t){return new(t||r)(e.Y36(Gi.tE),e.Y36(e.SBq),e.Y36(Js.Qb,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(t,n){1&t&&e.NdJ("click",function(o){return n._haltDisabledEvents(o)}),2&t&&(e.uIk("tabindex",n.disabled?-1:n.tabIndex||0)("disabled",n.disabled||null)("aria-disabled",n.disabled.toString()),e.ekj("_mat-animation-noopable","NoopAnimations"===n._animationMode)("mat-button-disabled",n.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[e.qOj],attrs:RV,ngContentSelectors:NV,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,n){1&t&&(e.F$t(),e.TgZ(0,"span",0),e.Hsn(1),e.qZA(),e._UZ(2,"span",1),e._UZ(3,"span",2)),2&t&&(e.xp6(2),e.ekj("mat-button-ripple-round",n.isRoundButton||n.isIconButton),e.Q6J("matRippleDisabled",n._isRippleDisabled())("matRippleCentered",n.isIconButton)("matRippleTrigger",n._getHostElement()))},directives:[sn.wG],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),r}(),PA=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[[sn.si,sn.BQ],sn.BQ]}),r}(),ui=f(51628),Jae=f(38869),Qae=f(46656),ZV=new Set,Kae=function(){var r=function(){function i(t){(0,v.Z)(this,i),this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):$ae}return(0,g.Z)(i,[{key:"matchMedia",value:function(n){return(this._platform.WEBKIT||this._platform.BLINK)&&function(r){if(!ZV.has(r))try{J_||((J_=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(J_)),J_.sheet&&(J_.sheet.insertRule("@media ".concat(r," {body{ }}"),0),ZV.add(r))}catch(i){console.error(i)}}(n),this._matchMedia(n)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(vi.t4))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r}();function $ae(r){return{matches:"all"===r||""===r,media:r,addListener:function(){},removeListener:function(){}}}var h6=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this._mediaMatcher=t,this._zone=n,this._queries=new Map,this._destroySubject=new Un.xQ}return(0,g.Z)(i,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(n){var a=this;return LV((0,Hn.Eq)(n)).some(function(s){return a._registerQuery(s).mql.matches})}},{key:"observe",value:function(n){var a=this,s=LV((0,Hn.Eq)(n)).map(function(d){return a._registerQuery(d).observable}),l=(0,tp.aj)(s);return(l=(0,wH.z)(l.pipe((0,Ea.q)(1)),l.pipe((0,Jae.T)(1),(0,Qae.b)(0)))).pipe((0,kr.U)(function(d){var h={matches:!1,breakpoints:{}};return d.forEach(function(C){var P=C.matches,N=C.query;h.matches=h.matches||P,h.breakpoints[N]=P}),h}))}},{key:"_registerQuery",value:function(n){var a=this;if(this._queries.has(n))return this._queries.get(n);var o=this._mediaMatcher.matchMedia(n),l={observable:new wo.y(function(d){var h=function(P){return a._zone.run(function(){return d.next(P)})};return o.addListener(h),function(){o.removeListener(h)}}).pipe((0,$o.O)(o),(0,kr.U)(function(d){return{query:n,matches:d.matches}}),(0,Ai.R)(this._destroySubject)),mql:o};return this._queries.set(n,l),l}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(Kae),e.LFG(e.R0b))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r}();function LV(r){return r.map(function(i){return i.split(",")}).reduce(function(i,t){return i.concat(t)}).map(function(i){return i.trim()})}var Wf_Medium="(min-width: 960px) and (max-width: 1279.98px)",Wf_Large="(min-width: 1280px) and (max-width: 1919.98px)",ta=f(5711),eoe={tooltipState:(0,en.X$)("state",[(0,en.SB)("initial, void, hidden",(0,en.oB)({opacity:0,transform:"scale(0)"})),(0,en.SB)("visible",(0,en.oB)({transform:"scale(1)"})),(0,en.eR)("* => visible",(0,en.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,en.F4)([(0,en.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,en.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,en.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,en.eR)("* => hidden",(0,en.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,en.oB)({opacity:0})))])},FV="tooltip-panel",BV=(0,vi.i$)({passive:!0}),UV=new e.OlP("mat-tooltip-scroll-strategy"),ioe={provide:UV,deps:[Ga.aV],useFactory:function(r){return function(){return r.scrollStrategies.reposition({scrollThrottle:20})}}},aoe=new e.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),soe=function(){var r=function(){function i(t,n,a,o,s,l,d,h,C,P,N,q){var Q=this;(0,v.Z)(this,i),this._overlay=t,this._elementRef=n,this._scrollDispatcher=a,this._viewContainerRef=o,this._ngZone=s,this._platform=l,this._ariaDescriber=d,this._focusMonitor=h,this._dir=P,this._defaultOptions=N,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new Un.xQ,this._handleKeydown=function(te){Q._isTooltipVisible()&&te.keyCode===ui.hY&&!(0,ui.Vb)(te)&&(te.preventDefault(),te.stopPropagation(),Q._ngZone.run(function(){return Q.hide(0)}))},this._scrollStrategy=C,this._document=q,N&&(N.position&&(this.position=N.position),N.touchGestures&&(this.touchGestures=N.touchGestures)),P.change.pipe((0,Ai.R)(this._destroyed)).subscribe(function(){Q._overlayRef&&Q._updatePosition(Q._overlayRef)}),s.runOutsideAngular(function(){n.nativeElement.addEventListener("keydown",Q._handleKeydown)})}return(0,g.Z)(i,[{key:"position",get:function(){return this._position},set:function(n){var a;n!==this._position&&(this._position=n,this._overlayRef)&&(this._updatePosition(this._overlayRef),null===(a=this._tooltipInstance)||void 0===a||a.show(0),this._overlayRef.updatePosition())}},{key:"disabled",get:function(){return this._disabled},set:function(n){this._disabled=(0,Hn.Ig)(n),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},{key:"message",get:function(){return this._message},set:function(n){var a=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=n?String(n).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(function(){Promise.resolve().then(function(){a._ariaDescriber.describe(a._elementRef.nativeElement,a.message,"tooltip")})}))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(n){this._tooltipClass=n,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}},{key:"ngAfterViewInit",value:function(){var n=this;this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,Ai.R)(this._destroyed)).subscribe(function(a){a?"keyboard"===a&&n._ngZone.run(function(){return n.show()}):n._ngZone.run(function(){return n.hide(0)})})}},{key:"ngOnDestroy",value:function(){var n=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),n.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(function(a){var o=(0,b.Z)(a,2);n.removeEventListener(o[0],o[1],BV)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(n,this.message,"tooltip"),this._focusMonitor.stopMonitoring(n)}},{key:"show",value:function(){var n=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showDelay;if(!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var o=this._createOverlay();this._detach(),this._portal=this._portal||new ta.C5(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=o.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe((0,Ai.R)(this._destroyed)).subscribe(function(){return n._detach()}),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(a)}}},{key:"hide",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hideDelay;this._tooltipInstance&&this._tooltipInstance.hide(n)}},{key:"toggle",value:function(){this._isTooltipVisible()?this.hide():this.show()}},{key:"_isTooltipVisible",value:function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}},{key:"_createOverlay",value:function(){var n=this;if(this._overlayRef)return this._overlayRef;var a=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".".concat(this._cssClassPrefix,"-tooltip")).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(a);return o.positionChanges.pipe((0,Ai.R)(this._destroyed)).subscribe(function(s){n._updateCurrentPositionClass(s.connectionPair),n._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&n._tooltipInstance.isVisible()&&n._ngZone.run(function(){return n.hide(0)})}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:"".concat(this._cssClassPrefix,"-").concat(FV),scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,Ai.R)(this._destroyed)).subscribe(function(){return n._detach()}),this._overlayRef.outsidePointerEvents().pipe((0,Ai.R)(this._destroyed)).subscribe(function(){var s;return null===(s=n._tooltipInstance)||void 0===s?void 0:s._handleBodyInteraction()}),this._overlayRef}},{key:"_detach",value:function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}},{key:"_updatePosition",value:function(n){var a=n.getConfig().positionStrategy,o=this._getOrigin(),s=this._getOverlayPosition();a.withPositions([this._addOffset((0,D.Z)((0,D.Z)({},o.main),s.main)),this._addOffset((0,D.Z)((0,D.Z)({},o.fallback),s.fallback))])}},{key:"_addOffset",value:function(n){return n}},{key:"_getOrigin",value:function(){var o,n=!this._dir||"ltr"==this._dir.value,a=this.position;"above"==a||"below"==a?o={originX:"center",originY:"above"==a?"top":"bottom"}:"before"==a||"left"==a&&n||"right"==a&&!n?o={originX:"start",originY:"center"}:("after"==a||"right"==a&&n||"left"==a&&!n)&&(o={originX:"end",originY:"center"});var s=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:s.x,originY:s.y}}}},{key:"_getOverlayPosition",value:function(){var o,n=!this._dir||"ltr"==this._dir.value,a=this.position;"above"==a?o={overlayX:"center",overlayY:"bottom"}:"below"==a?o={overlayX:"center",overlayY:"top"}:"before"==a||"left"==a&&n||"right"==a&&!n?o={overlayX:"end",overlayY:"center"}:("after"==a||"right"==a&&n||"left"==a&&!n)&&(o={overlayX:"start",overlayY:"center"});var s=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:s.x,overlayY:s.y}}}},{key:"_updateTooltipMessage",value:function(){var n=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,Ea.q)(1),(0,Ai.R)(this._destroyed)).subscribe(function(){n._tooltipInstance&&n._overlayRef.updatePosition()}))}},{key:"_setTooltipClass",value:function(n){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=n,this._tooltipInstance._markForCheck())}},{key:"_invertPosition",value:function(n,a){return"above"===this.position||"below"===this.position?"top"===a?a="bottom":"bottom"===a&&(a="top"):"end"===n?n="start":"start"===n&&(n="end"),{x:n,y:a}}},{key:"_updateCurrentPositionClass",value:function(n){var l,a=n.overlayY,o=n.originX;if((l="center"===a?this._dir&&"rtl"===this._dir.value?"end"===o?"left":"right":"start"===o?"left":"right":"bottom"===a&&"top"===n.originY?"above":"below")!==this._currentPosition){var d=this._overlayRef;if(d){var h="".concat(this._cssClassPrefix,"-").concat(FV,"-");d.removePanelClass(h+this._currentPosition),d.addPanelClass(h+l)}this._currentPosition=l}}},{key:"_setupPointerEnterEventsIfNeeded",value:function(){var n=this;this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(){n._setupPointerExitEventsIfNeeded(),n.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(){n._setupPointerExitEventsIfNeeded(),clearTimeout(n._touchstartTimeout),n._touchstartTimeout=setTimeout(function(){return n.show()},500)}])),this._addListeners(this._passiveListeners))}},{key:"_setupPointerExitEventsIfNeeded",value:function(){var a,n=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var o=[];if(this._platformSupportsMouseEvents())o.push(["mouseleave",function(){return n.hide()}],["wheel",function(l){return n._wheelListener(l)}]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var s=function(){clearTimeout(n._touchstartTimeout),n.hide(n._defaultOptions.touchendHideDelay)};o.push(["touchend",s],["touchcancel",s])}this._addListeners(o),(a=this._passiveListeners).push.apply(a,o)}}},{key:"_addListeners",value:function(n){var a=this;n.forEach(function(o){var s=(0,b.Z)(o,2);a._elementRef.nativeElement.addEventListener(s[0],s[1],BV)})}},{key:"_platformSupportsMouseEvents",value:function(){return!this._platform.IOS&&!this._platform.ANDROID}},{key:"_wheelListener",value:function(n){if(this._isTooltipVisible()){var a=this._document.elementFromPoint(n.clientX,n.clientY),o=this._elementRef.nativeElement;a!==o&&!o.contains(a)&&this.hide()}}},{key:"_disableNativeGesturesIfNecessary",value:function(){var n=this.touchGestures;if("off"!==n){var a=this._elementRef.nativeElement,o=a.style;("on"===n||"INPUT"!==a.nodeName&&"TEXTAREA"!==a.nodeName)&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),("on"===n||!a.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}}]),i}();return r.\u0275fac=function(t){e.$Z()},r.\u0275dir=e.lG2({type:r,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),r}(),ts=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o,s,l,d,h,C,P,N,q,Q,te){var se;return(0,v.Z)(this,n),(se=t.call(this,a,o,s,l,d,h,C,P,N,q,Q,te))._tooltipComponent=uoe,se}return n}(soe);return r.\u0275fac=function(t){return new(t||r)(e.Y36(Ga.aV),e.Y36(e.SBq),e.Y36(ku.mF),e.Y36(e.s_b),e.Y36(e.R0b),e.Y36(vi.t4),e.Y36(Gi.$s),e.Y36(Gi.tE),e.Y36(UV),e.Y36(Ms.Is,8),e.Y36(aoe,8),e.Y36(Pt.K0))},r.\u0275dir=e.lG2({type:r,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[e.qOj]}),r}(),loe=function(){var r=function(){function i(t){(0,v.Z)(this,i),this._changeDetectorRef=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new Un.xQ}return(0,g.Z)(i,[{key:"show",value:function(n){var a=this;clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(function(){a._visibility="visible",a._showTimeoutId=void 0,a._onShow(),a._markForCheck()},n)}},{key:"hide",value:function(n){var a=this;clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(function(){a._visibility="hidden",a._hideTimeoutId=void 0,a._markForCheck()},n)}},{key:"afterHidden",value:function(){return this._onHide}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}},{key:"_animationStart",value:function(){this._closeOnInteraction=!1}},{key:"_animationDone",value:function(n){var a=n.toState;"hidden"===a&&!this.isVisible()&&this._onHide.next(),("visible"===a||"hidden"===a)&&(this._closeOnInteraction=!0)}},{key:"_handleBodyInteraction",value:function(){this._closeOnInteraction&&this.hide(0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}},{key:"_onShow",value:function(){}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.sBO))},r.\u0275dir=e.lG2({type:r}),r}(),uoe=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o){var s;return(0,v.Z)(this,n),(s=t.call(this,a))._breakpointObserver=o,s._isHandset=s._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),s}return n}(loe);return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.sBO),e.Y36(h6))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,n){2&t&&e.Udp("zoom","visible"===n._visibility?1:null)},features:[e.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,n){var a;1&t&&(e.TgZ(0,"div",0),e.NdJ("@state.start",function(){return n._animationStart()})("@state.done",function(s){return n._animationDone(s)}),e.ALo(1,"async"),e._uU(2),e.qZA()),2&t&&(e.ekj("mat-tooltip-handset",null==(a=e.lcZ(1,5,n._isHandset))?null:a.matches),e.Q6J("ngClass",n.tooltipClass)("@state",n._visibility),e.xp6(2),e.Oqu(n.message))},directives:[Pt.mk],pipes:[Pt.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[eoe.tooltipState]},changeDetection:0}),r}(),HV=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[ioe],imports:[[Gi.rt,Pt.ez,Ga.U8,sn.BQ],sn.BQ,ku.ZD]}),r}();function coe(r,i){1&r&&(e.TgZ(0,"div",4),e._UZ(1,"mat-spinner",5),e.qZA())}function doe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",6),e.TgZ(1,"div",7),e.TgZ(2,"mat-icon"),e._uU(3,"error_outline"),e.qZA(),e.qZA(),e.TgZ(4,"div"),e._uU(5),e.qZA(),e.TgZ(6,"div"),e.TgZ(7,"button",8),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).refresh()}),e.TgZ(8,"mat-icon"),e._uU(9,"refresh"),e.qZA(),e.qZA(),e.TgZ(10,"button",9),e.TgZ(11,"mat-icon"),e._uU(12,"home"),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=e.oxw(2);e.xp6(5),e.hij("Error occurred: ",n.error.message,"")}}function poe(r,i){if(1&r&&(e.TgZ(0,"div",1),e.YNc(1,coe,2,0,"div",2),e.YNc(2,doe,13,1,"div",3),e.qZA()),2&r){var t=e.oxw();e.xp6(1),e.Q6J("ngIf",t.visible&&!t.error),e.xp6(1),e.Q6J("ngIf",t.error)}}var m6=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.progressService=t,this.router=n,this.visible=!1}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.progressService.state.subscribe(function(a){n.visible=a.visible,a.error&&!n.error&&(n.error=a.error),a.clear&&(n.error=null)}),this.routerSubscription=this.router.events.subscribe(function(){n.progressService.clear()})}},{key:"refresh",value:function(){this.router.navigateByUrl(this.router.url)}},{key:"ngOnDestroy",value:function(){this.routerSubscription.unsubscribe()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zf),e.Y36(xr))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-progress"]],decls:1,vars:1,consts:[["class","overlay",4,"ngIf"],[1,"overlay"],["class","loading-spinner",4,"ngIf"],["class","error-state",4,"ngIf"],[1,"loading-spinner"],["color","primary"],[1,"error-state"],[1,"error-icon"],["mat-button","","matTooltip","Refresh page","matTooltipClass","custom-tooltip",3,"click"],["mat-button","","routerLink","/","matTooltip","Go to home","matTooltipClass","custom-tooltip"]],template:function(t,n){1&t&&e.YNc(0,poe,3,2,"div",0),2&t&&e.Q6J("ngIf",n.visible||n.error)},directives:[Pt.O5,MV,er,En,ts,go],styles:[".overlay[_ngcontent-%COMP%]{position:fixed;width:100%;height:100%;top:0;left:0;right:0;bottom:0;background-color:#00000080;z-index:2000}.loading-spinner[_ngcontent-%COMP%], .error-state[_ngcontent-%COMP%]{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.error-state[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{text-align:center}.error-icon[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:64px;width:64px;height:64px}"]}),r}(),foe=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this.router=t,this.serverService=n,this.progressService=a,this.document=o}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.progressService.activate(),setTimeout(function(){var a;a=parseInt(n.document.location.port,10)?parseInt(n.document.location.port,10):"https:"==n.document.location.protocol?443:80,n.serverService.getLocalServer(n.document.location.hostname,a).then(function(o){n.progressService.deactivate(),n.router.navigate(["/server",o.id,"projects"])})},100)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(xr),e.Y36(Vr),e.Y36(zf),e.Y36(Pt.K0))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-bundled-server-finder"]],decls:1,vars:0,template:function(t,n){1&t&&e._UZ(0,"app-progress")},directives:[m6],styles:[""]}),r}(),Sa=f(61855),IA=function(){var r=function(){function i(){(0,v.Z)(this,i),this.dataChange=new $i.X([])}return(0,g.Z)(i,[{key:"data",get:function(){return this.dataChange.value}},{key:"addServer",value:function(n){var a=this.data.slice();a.push(n),this.dataChange.next(a)}},{key:"addServers",value:function(n){this.dataChange.next(n)}},{key:"remove",value:function(n){var a=this.data.indexOf(n);a>=0&&(this.data.splice(a,1),this.dataChange.next(this.data.slice()))}},{key:"find",value:function(n){return this.data.find(function(a){return a.name===n})}},{key:"findIndex",value:function(n){return this.data.findIndex(function(a){return a.name===n})}},{key:"update",value:function(n){var a=this.findIndex(n.name);a>=0&&(this.data[a]=n,this.dataChange.next(this.data.slice()))}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}();function hoe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",1),e.TgZ(1,"button",2),e.NdJ("click",function(){return e.CHM(t),e.oxw().action()}),e._uU(2),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(2),e.Oqu(n.data.action)}}function moe(r,i){}var VV=new e.OlP("MatSnackBarData"),RA=function r(){(0,v.Z)(this,r),this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"},voe=Math.pow(2,31)-1,v6=function(){function r(i,t){var n=this;(0,v.Z)(this,r),this._overlayRef=t,this._afterDismissed=new Un.xQ,this._afterOpened=new Un.xQ,this._onAction=new Un.xQ,this._dismissedByAction=!1,this.containerInstance=i,this.onAction().subscribe(function(){return n.dismiss()}),i._onExit.subscribe(function(){return n._finishDismiss()})}return(0,g.Z)(r,[{key:"dismiss",value:function(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}},{key:"dismissWithAction",value:function(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete()),clearTimeout(this._durationTimeoutId)}},{key:"closeWithAction",value:function(){this.dismissWithAction()}},{key:"_dismissAfter",value:function(t){var n=this;this._durationTimeoutId=setTimeout(function(){return n.dismiss()},Math.min(t,voe))}},{key:"_open",value:function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}},{key:"_finishDismiss",value:function(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}},{key:"afterDismissed",value:function(){return this._afterDismissed}},{key:"afterOpened",value:function(){return this.containerInstance._onEnter}},{key:"onAction",value:function(){return this._onAction}}]),r}(),goe=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.snackBarRef=t,this.data=n}return(0,g.Z)(i,[{key:"action",value:function(){this.snackBarRef.dismissWithAction()}},{key:"hasAction",get:function(){return!!this.data.action}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(v6),e.Y36(VV))},r.\u0275cmp=e.Xpm({type:r,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"span"),e._uU(1),e.qZA(),e.YNc(2,hoe,3,1,"div",0)),2&t&&(e.xp6(1),e.Oqu(n.data.message),e.xp6(1),e.Q6J("ngIf",n.hasAction))},directives:[Pt.O5,En],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}\n"],encapsulation:2,changeDetection:0}),r}(),_oe={snackBarState:(0,en.X$)("state",[(0,en.SB)("void, hidden",(0,en.oB)({transform:"scale(0.8)",opacity:0})),(0,en.SB)("visible",(0,en.oB)({transform:"scale(1)",opacity:1})),(0,en.eR)("* => visible",(0,en.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,en.eR)("* => void, * => hidden",(0,en.jt)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,en.oB)({opacity:0})))])},yoe=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o,s,l,d){var h;return(0,v.Z)(this,n),(h=t.call(this))._ngZone=a,h._elementRef=o,h._changeDetectorRef=s,h._platform=l,h.snackBarConfig=d,h._announceDelay=150,h._destroyed=!1,h._onAnnounce=new Un.xQ,h._onExit=new Un.xQ,h._onEnter=new Un.xQ,h._animationState="void",h.attachDomPortal=function(C){return h._assertNotAttached(),h._applySnackBarClasses(),h._portalOutlet.attachDomPortal(C)},h._live="assertive"!==d.politeness||d.announcementMessage?"off"===d.politeness?"off":"polite":"assertive",h._platform.FIREFOX&&("polite"===h._live&&(h._role="status"),"assertive"===h._live&&(h._role="alert")),h}return(0,g.Z)(n,[{key:"attachComponentPortal",value:function(o){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(o)}},{key:"attachTemplatePortal",value:function(o){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(o)}},{key:"onAnimationEnd",value:function(o){var l=o.toState;if(("void"===l&&"void"!==o.fromState||"hidden"===l)&&this._completeExit(),"visible"===l){var d=this._onEnter;this._ngZone.run(function(){d.next(),d.complete()})}}},{key:"enter",value:function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}},{key:"exit",value:function(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._onExit}},{key:"ngOnDestroy",value:function(){this._destroyed=!0,this._completeExit()}},{key:"_completeExit",value:function(){var o=this;this._ngZone.onMicrotaskEmpty.pipe((0,Ea.q)(1)).subscribe(function(){o._onExit.next(),o._onExit.complete()})}},{key:"_applySnackBarClasses",value:function(){var o=this._elementRef.nativeElement,s=this.snackBarConfig.panelClass;s&&(Array.isArray(s)?s.forEach(function(l){return o.classList.add(l)}):o.classList.add(s)),"center"===this.snackBarConfig.horizontalPosition&&o.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&o.classList.add("mat-snack-bar-top")}},{key:"_assertNotAttached",value:function(){this._portalOutlet.hasAttached()}},{key:"_screenReaderAnnounce",value:function(){var o=this;this._announceTimeoutId||this._ngZone.runOutsideAngular(function(){o._announceTimeoutId=setTimeout(function(){var s=o._elementRef.nativeElement.querySelector("[aria-hidden]"),l=o._elementRef.nativeElement.querySelector("[aria-live]");if(s&&l){var d,h=null;o._platform.isBrowser&&document.activeElement instanceof HTMLElement&&s.contains(document.activeElement)&&(h=document.activeElement),s.removeAttribute("aria-hidden"),l.appendChild(s),null===(d=h)||void 0===d||d.focus(),o._onAnnounce.next(),o._onAnnounce.complete()}},o._announceDelay)})}}]),n}(ta.en);return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(vi.t4),e.Y36(RA))},r.\u0275cmp=e.Xpm({type:r,selectors:[["snack-bar-container"]],viewQuery:function(t,n){var a;1&t&&e.Gf(ta.Pl,7),2&t&&e.iGM(a=e.CRH())&&(n._portalOutlet=a.first)},hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(t,n){1&t&&e.WFA("@state.done",function(o){return n.onAnimationEnd(o)}),2&t&&e.d8E("@state",n._animationState)},features:[e.qOj],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.YNc(1,moe,0,0,"ng-template",1),e.qZA(),e._UZ(2,"div")),2&t&&(e.xp6(2),e.uIk("aria-live",n._live)("role",n._role))},directives:[ta.Pl],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[_oe.snackBarState]}}),r}(),jV=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[[Ga.U8,ta.eL,Pt.ez,PA,sn.BQ],sn.BQ]}),r}(),boe=new e.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new RA}}),Soe=function(){var r=function(){function i(t,n,a,o,s,l){(0,v.Z)(this,i),this._overlay=t,this._live=n,this._injector=a,this._breakpointObserver=o,this._parentSnackBar=s,this._defaultConfig=l,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=goe,this.snackBarContainerComponent=yoe,this.handsetCssClass="mat-snack-bar-handset"}return(0,g.Z)(i,[{key:"_openedSnackBarRef",get:function(){var n=this._parentSnackBar;return n?n._openedSnackBarRef:this._snackBarRefAtThisLevel},set:function(n){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=n:this._snackBarRefAtThisLevel=n}},{key:"openFromComponent",value:function(n,a){return this._attach(n,a)}},{key:"openFromTemplate",value:function(n,a){return this._attach(n,a)}},{key:"open",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2?arguments[2]:void 0,s=(0,D.Z)((0,D.Z)({},this._defaultConfig),o);return s.data={message:n,action:a},s.announcementMessage===n&&(s.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,s)}},{key:"dismiss",value:function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}},{key:"ngOnDestroy",value:function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}},{key:"_attachSnackBarContainer",value:function(n,a){var s=e.zs3.create({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:RA,useValue:a}]}),l=new ta.C5(this.snackBarContainerComponent,a.viewContainerRef,s),d=n.attach(l);return d.instance.snackBarConfig=a,d.instance}},{key:"_attach",value:function(n,a){var o=this,s=(0,D.Z)((0,D.Z)((0,D.Z)({},new RA),this._defaultConfig),a),l=this._createOverlay(s),d=this._attachSnackBarContainer(l,s),h=new v6(d,l);if(n instanceof e.Rgc){var C=new ta.UE(n,null,{$implicit:s.data,snackBarRef:h});h.instance=d.attachTemplatePortal(C)}else{var P=this._createInjector(s,h),N=new ta.C5(n,void 0,P),q=d.attachComponentPortal(N);h.instance=q.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe((0,Ai.R)(l.detachments())).subscribe(function(Q){l.overlayElement.classList.toggle(o.handsetCssClass,Q.matches)}),s.announcementMessage&&d._onAnnounce.subscribe(function(){o._live.announce(s.announcementMessage,s.politeness)}),this._animateSnackBar(h,s),this._openedSnackBarRef=h,this._openedSnackBarRef}},{key:"_animateSnackBar",value:function(n,a){var o=this;n.afterDismissed().subscribe(function(){o._openedSnackBarRef==n&&(o._openedSnackBarRef=null),a.announcementMessage&&o._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(function(){n.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):n.containerInstance.enter(),a.duration&&a.duration>0&&n.afterOpened().subscribe(function(){return n._dismissAfter(a.duration)})}},{key:"_createOverlay",value:function(n){var a=new Ga.X_;a.direction=n.direction;var o=this._overlay.position().global(),s="rtl"===n.direction,l="left"===n.horizontalPosition||"start"===n.horizontalPosition&&!s||"end"===n.horizontalPosition&&s,d=!l&&"center"!==n.horizontalPosition;return l?o.left("0"):d?o.right("0"):o.centerHorizontally(),"top"===n.verticalPosition?o.top("0"):o.bottom("0"),a.positionStrategy=o,this._overlay.create(a)}},{key:"_createInjector",value:function(n,a){return e.zs3.create({parent:n&&n.viewContainerRef&&n.viewContainerRef.injector||this._injector,providers:[{provide:v6,useValue:a},{provide:VV,useValue:n.data}]})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(Ga.aV),e.LFG(Gi.Kd),e.LFG(e.zs3),e.LFG(h6),e.LFG(r,12),e.LFG(boe))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:jV}),r}(),Yn=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.snackbar=t,this.zone=n,this.snackBarConfigForSuccess={duration:4e3,panelClass:["snackabar-success"],MatSnackBarHorizontalPosition:"center",MatSnackBarVerticalPosition:"bottom"},this.snackBarConfigForWarning={duration:4e3,panelClass:["snackabar-warning"],MatSnackBarHorizontalPosition:"center",MatSnackBarVerticalPosition:"bottom"},this.snackBarConfigForError={duration:1e4,panelClass:["snackabar-error"],MatSnackBarHorizontalPosition:"center",MatSnackBarVerticalPosition:"bottom"}}return(0,g.Z)(i,[{key:"error",value:function(n){var a=this;this.zone.run(function(){a.snackbar.open(n,"Close",a.snackBarConfigForError)})}},{key:"warning",value:function(n){var a=this;this.zone.run(function(){a.snackbar.open(n,"Close",a.snackBarConfigForWarning)})}},{key:"success",value:function(n){var a=this;this.zone.run(function(){a.snackbar.open(n,"Close",a.snackBarConfigForSuccess)})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(Soe),e.LFG(e.R0b))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Toe=["*",[["mat-card-footer"]]],koe=["*","mat-card-footer"],g6=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),r}(),qV=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),r}(),zV=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),r}(),woe=function(){var r=function i(){(0,v.Z)(this,i),this.align="start"};return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(t,n){2&t&&e.ekj("mat-card-actions-align-end","end"===n.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),r}(),Ti=function(){var r=function i(t){(0,v.Z)(this,i),this._animationMode=t};return r.\u0275fac=function(t){return new(t||r)(e.Y36(Js.Qb,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(t,n){2&t&&e.ekj("_mat-animation-noopable","NoopAnimations"===n._animationMode)},exportAs:["matCard"],ngContentSelectors:koe,decls:2,vars:0,template:function(t,n){1&t&&(e.F$t(Toe),e.Hsn(0),e.Hsn(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),r}(),xoe=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[[sn.BQ],sn.BQ]}),r}(),Ln=f(28167),WV=(0,vi.i$)({passive:!0}),Eoe=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this._platform=t,this._ngZone=n,this._monitoredElements=new Map}return(0,g.Z)(i,[{key:"monitor",value:function(n){var a=this;if(!this._platform.isBrowser)return zm.E;var o=(0,Hn.fI)(n),s=this._monitoredElements.get(o);if(s)return s.subject;var l=new Un.xQ,d="cdk-text-field-autofilled",h=function(P){"cdk-text-field-autofill-start"!==P.animationName||o.classList.contains(d)?"cdk-text-field-autofill-end"===P.animationName&&o.classList.contains(d)&&(o.classList.remove(d),a._ngZone.run(function(){return l.next({target:P.target,isAutofilled:!1})})):(o.classList.add(d),a._ngZone.run(function(){return l.next({target:P.target,isAutofilled:!0})}))};return this._ngZone.runOutsideAngular(function(){o.addEventListener("animationstart",h,WV),o.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(o,{subject:l,unlisten:function(){o.removeEventListener("animationstart",h,WV)}}),l}},{key:"stopMonitoring",value:function(n){var a=(0,Hn.fI)(n),o=this._monitoredElements.get(a);o&&(o.unlisten(),o.subject.complete(),a.classList.remove("cdk-text-field-autofill-monitored"),a.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(a))}},{key:"ngOnDestroy",value:function(){var n=this;this._monitoredElements.forEach(function(a,o){return n.stopMonitoring(o)})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(vi.t4),e.LFG(e.R0b))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r}(),GV=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[[vi.ud]]}),r}(),Moe=new e.OlP("MAT_INPUT_VALUE_ACCESSOR"),Aoe=["button","checkbox","file","hidden","image","radio","range","reset","submit"],Doe=0,Ooe=(0,sn.FD)(function(){return function r(i,t,n,a){(0,v.Z)(this,r),this._defaultErrorStateMatcher=i,this._parentForm=t,this._parentFormGroup=n,this.ngControl=a}}()),ir=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o,s,l,d,h,C,P,N,q){var Q;(0,v.Z)(this,n),(Q=t.call(this,h,l,d,s))._elementRef=a,Q._platform=o,Q._autofillMonitor=P,Q._formField=q,Q._uid="mat-input-".concat(Doe++),Q.focused=!1,Q.stateChanges=new Un.xQ,Q.controlType="mat-input",Q.autofilled=!1,Q._disabled=!1,Q._type="text",Q._readonly=!1,Q._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(function(Te){return(0,vi.qK)().has(Te)});var te=Q._elementRef.nativeElement,se=te.nodeName.toLowerCase();return Q._inputValueAccessor=C||te,Q._previousNativeValue=Q.value,Q.id=Q.id,o.IOS&&N.runOutsideAngular(function(){a.nativeElement.addEventListener("keyup",function(Te){var $e=Te.target;!$e.value&&0===$e.selectionStart&&0===$e.selectionEnd&&($e.setSelectionRange(1,1),$e.setSelectionRange(0,0))})}),Q._isServer=!Q._platform.isBrowser,Q._isNativeSelect="select"===se,Q._isTextarea="textarea"===se,Q._isInFormField=!!q,Q._isNativeSelect&&(Q.controlType=te.multiple?"mat-native-select-multiple":"mat-native-select"),Q}return(0,g.Z)(n,[{key:"disabled",get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(o){this._disabled=(0,Hn.Ig)(o),this.focused&&(this.focused=!1,this.stateChanges.next())}},{key:"id",get:function(){return this._id},set:function(o){this._id=o||this._uid}},{key:"required",get:function(){var o,s,l,d;return null!==(o=null!==(s=this._required)&&void 0!==s?s:null===(l=this.ngControl)||void 0===l||null===(d=l.control)||void 0===d?void 0:d.hasValidator(re.kI.required))&&void 0!==o&&o},set:function(o){this._required=(0,Hn.Ig)(o)}},{key:"type",get:function(){return this._type},set:function(o){this._type=o||"text",this._validateType(),!this._isTextarea&&(0,vi.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}},{key:"value",get:function(){return this._inputValueAccessor.value},set:function(o){o!==this.value&&(this._inputValueAccessor.value=o,this.stateChanges.next())}},{key:"readonly",get:function(){return this._readonly},set:function(o){this._readonly=(0,Hn.Ig)(o)}},{key:"ngAfterViewInit",value:function(){var o=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(function(s){o.autofilled=s.isAutofilled,o.stateChanges.next()})}},{key:"ngOnChanges",value:function(){this.stateChanges.next()}},{key:"ngOnDestroy",value:function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}},{key:"ngDoCheck",value:function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}},{key:"focus",value:function(o){this._elementRef.nativeElement.focus(o)}},{key:"_focusChanged",value:function(o){o!==this.focused&&(this.focused=o,this.stateChanges.next())}},{key:"_onInput",value:function(){}},{key:"_dirtyCheckPlaceholder",value:function(){var o,s,l=null!==(o=this._formField)&&void 0!==o&&null!==(s=o._hideControlPlaceholder)&&void 0!==s&&s.call(o)?null:this.placeholder;if(l!==this._previousPlaceholder){var d=this._elementRef.nativeElement;this._previousPlaceholder=l,l?d.setAttribute("placeholder",l):d.removeAttribute("placeholder")}}},{key:"_dirtyCheckNativeValue",value:function(){var o=this._elementRef.nativeElement.value;this._previousNativeValue!==o&&(this._previousNativeValue=o,this.stateChanges.next())}},{key:"_validateType",value:function(){Aoe.indexOf(this._type)}},{key:"_isNeverEmpty",value:function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}},{key:"_isBadInput",value:function(){var o=this._elementRef.nativeElement.validity;return o&&o.badInput}},{key:"empty",get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}},{key:"shouldLabelFloat",get:function(){if(this._isNativeSelect){var o=this._elementRef.nativeElement,s=o.options[0];return this.focused||o.multiple||!this.empty||!!(o.selectedIndex>-1&&s&&s.label)}return this.focused||!this.empty}},{key:"setDescribedByIds",value:function(o){o.length?this._elementRef.nativeElement.setAttribute("aria-describedby",o.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}},{key:"onContainerClick",value:function(){this.focused||this.focus()}},{key:"_isInlineSelect",value:function(){var o=this._elementRef.nativeElement;return this._isNativeSelect&&(o.multiple||o.size>1)}}]),n}(Ooe);return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(vi.t4),e.Y36(re.a5,10),e.Y36(re.F,8),e.Y36(re.sg,8),e.Y36(sn.rD),e.Y36(Moe,10),e.Y36(Eoe),e.Y36(e.R0b),e.Y36(Ln.G_,8))},r.\u0275dir=e.lG2({type:r,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:11,hostBindings:function(t,n){1&t&&e.NdJ("focus",function(){return n._focusChanged(!0)})("blur",function(){return n._focusChanged(!1)})("input",function(){return n._onInput()}),2&t&&(e.Ikx("disabled",n.disabled)("required",n.required),e.uIk("id",n.id)("data-placeholder",n.placeholder)("readonly",n.readonly&&!n._isNativeSelect||null)("aria-invalid",n.empty&&n.required?null:n.errorState)("aria-required",n.required),e.ekj("mat-input-server",n._isServer)("mat-native-select-inline",n._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[e._Bn([{provide:Ln.Eo,useExisting:r}]),e.qOj,e.TTD]}),r}(),Poe=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[sn.rD],imports:[[GV,Ln.lN,sn.BQ],GV,Ln.lN]}),r}(),yi=f(16400);function Ioe(r,i){1&r&&(e.TgZ(0,"mat-error"),e._uU(1,"You must enter a value"),e.qZA())}function Roe(r,i){if(1&r&&(e.TgZ(0,"mat-option",14),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t.key),e.xp6(1),e.hij(" ",t.name," ")}}function Noe(r,i){if(1&r&&(e.TgZ(0,"mat-option",14),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t.key),e.xp6(1),e.hij(" ",t.name," ")}}function Zoe(r,i){if(1&r&&(e.TgZ(0,"mat-option",14),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t.key),e.xp6(1),e.hij(" ",t.name," ")}}function Loe(r,i){if(1&r&&(e.TgZ(0,"mat-form-field"),e.TgZ(1,"mat-select",15),e.YNc(2,Zoe,2,2,"mat-option",10),e.qZA(),e.qZA()),2&r){var t=e.oxw();e.xp6(2),e.Q6J("ngForOf",t.authorizations)}}function Foe(r,i){1&r&&(e.TgZ(0,"mat-form-field"),e._UZ(1,"input",16),e.qZA())}function Boe(r,i){1&r&&(e.TgZ(0,"mat-form-field"),e._UZ(1,"input",17),e.qZA())}var Uoe=function(){var r=function(){function i(t,n,a,o,s){(0,v.Z)(this,i),this.serverService=t,this.serverDatabase=n,this.route=a,this.router=o,this.toasterService=s,this.serverOptionsVisibility=!1,this.authorizations=[{key:"none",name:"No authorization"},{key:"basic",name:"Basic authorization"}],this.protocols=[{key:"http:",name:"HTTP"},{key:"https:",name:"HTTPS"}],this.locations=[{key:"local",name:"Local"},{key:"remote",name:"Remote"}],this.serverForm=new re.cw({name:new re.NI("",[re.kI.required]),location:new re.NI(""),protocol:new re.NI("http:"),authorization:new re.NI("none"),login:new re.NI(""),password:new re.NI("")})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){return(0,Sa.mG)(this,void 0,void 0,k().mark(function n(){var a=this;return k().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:this.serverService.isServiceInitialized&&this.getServers(),this.serverService.serviceInitialized.subscribe(function(l){return(0,Sa.mG)(a,void 0,void 0,k().mark(function d(){return k().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:l&&this.getServers();case 1:case"end":return C.stop()}},d,this)}))});case 2:case"end":return s.stop()}},n,this)}))}},{key:"getServers",value:function(){return(0,Sa.mG)(this,void 0,void 0,k().mark(function n(){var s,a=this;return k().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return this.serverIp=this.route.snapshot.paramMap.get("server_ip"),this.serverPort=+this.route.snapshot.paramMap.get("server_port"),this.projectId=this.route.snapshot.paramMap.get("project_id"),d.next=5,this.serverService.findAll();case 5:(s=d.sent.filter(function(h){return h.host===a.serverIp&&h.port===a.serverPort})[0])?this.router.navigate(["/server",s.id,"project",this.projectId]):this.serverOptionsVisibility=!0;case 8:case"end":return d.stop()}},n,this)}))}},{key:"createServer",value:function(){var n=this;if(this.serverForm.get("name").hasError||this.serverForm.get("location").hasError||this.serverForm.get("protocol").hasError)if("basic"!==this.serverForm.get("authorization").value||this.serverForm.get("login").value||this.serverForm.get("password").value){var a=new AA;a.host=this.serverIp,a.port=this.serverPort,a.name=this.serverForm.get("name").value,a.location=this.serverForm.get("location").value,a.protocol=this.serverForm.get("protocol").value,a.authorization=this.serverForm.get("authorization").value,a.login=this.serverForm.get("login").value,a.password=this.serverForm.get("password").value,this.serverService.create(a).then(function(o){n.router.navigate(["/server",o.id,"project",n.projectId])})}else this.toasterService.error("Please use correct values");else this.toasterService.error("Please use correct values")}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Vr),e.Y36(IA),e.Y36(Or),e.Y36(xr),e.Y36(Yn))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-direct-link"]],decls:23,vars:8,consts:[[1,"content",3,"hidden"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[1,"matCard"],[3,"formGroup"],["matInput","","tabindex","1","formControlName","name","placeholder","Name"],[4,"ngIf"],["placeholder","Location","formControlName","location"],[3,"value",4,"ngFor","ngForOf"],["placeholder","Protocol","formControlName","protocol"],[1,"buttons-bar"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],["placeholder","Authorization","formControlName","authorization"],["matInput","","tabindex","1","formControlName","login","placeholder","Login"],["matInput","","type","password","tabindex","1","formControlName","password","placeholder","Password"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Add new server"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"mat-card",5),e.TgZ(7,"form",6),e.TgZ(8,"mat-form-field"),e._UZ(9,"input",7),e.YNc(10,Ioe,2,0,"mat-error",8),e.qZA(),e.TgZ(11,"mat-form-field"),e.TgZ(12,"mat-select",9),e.YNc(13,Roe,2,2,"mat-option",10),e.qZA(),e.qZA(),e.TgZ(14,"mat-form-field"),e.TgZ(15,"mat-select",11),e.YNc(16,Noe,2,2,"mat-option",10),e.qZA(),e.qZA(),e.YNc(17,Loe,3,1,"mat-form-field",8),e.YNc(18,Foe,2,0,"mat-form-field",8),e.YNc(19,Boe,2,0,"mat-form-field",8),e.qZA(),e.qZA(),e.TgZ(20,"div",12),e.TgZ(21,"button",13),e.NdJ("click",function(){return n.createServer()}),e._uU(22,"Add server"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.Q6J("hidden",!n.serverOptionsVisibility),e.xp6(7),e.Q6J("formGroup",n.serverForm),e.xp6(3),e.Q6J("ngIf",n.serverForm.get("name").hasError("required")),e.xp6(3),e.Q6J("ngForOf",n.locations),e.xp6(3),e.Q6J("ngForOf",n.protocols),e.xp6(1),e.Q6J("ngIf","remote"===n.serverForm.get("location").value),e.xp6(1),e.Q6J("ngIf","basic"===n.serverForm.get("authorization").value),e.xp6(1),e.Q6J("ngIf","basic"===n.serverForm.get("authorization").value))},directives:[Ti,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,Pt.O5,yi.gD,Pt.sg,En,Ln.TO,sn.ey],styles:["mat-form-field{width:100%}\n"],encapsulation:2}),r}(),Hoe=0,_6=new e.OlP("CdkAccordion"),Voe=function(){var r=function(){function i(){(0,v.Z)(this,i),this._stateChanges=new Un.xQ,this._openCloseAllActions=new Un.xQ,this.id="cdk-accordion-".concat(Hoe++),this._multi=!1}return(0,g.Z)(i,[{key:"multi",get:function(){return this._multi},set:function(n){this._multi=(0,Hn.Ig)(n)}},{key:"openAll",value:function(){this._multi&&this._openCloseAllActions.next(!0)}},{key:"closeAll",value:function(){this._openCloseAllActions.next(!1)}},{key:"ngOnChanges",value:function(n){this._stateChanges.next(n)}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[e._Bn([{provide:_6,useExisting:r}]),e.TTD]}),r}(),joe=0,qoe=function(){var r=function(){function i(t,n,a){var o=this;(0,v.Z)(this,i),this.accordion=t,this._changeDetectorRef=n,this._expansionDispatcher=a,this._openCloseAllSubscription=Lo.w.EMPTY,this.closed=new e.vpe,this.opened=new e.vpe,this.destroyed=new e.vpe,this.expandedChange=new e.vpe,this.id="cdk-accordion-child-".concat(joe++),this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=function(){},this._removeUniqueSelectionListener=a.listen(function(s,l){o.accordion&&!o.accordion.multi&&o.accordion.id===l&&o.id!==s&&(o.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}return(0,g.Z)(i,[{key:"expanded",get:function(){return this._expanded},set:function(n){n=(0,Hn.Ig)(n),this._expanded!==n&&(this._expanded=n,this.expandedChange.emit(n),n?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(n){this._disabled=(0,Hn.Ig)(n)}},{key:"ngOnDestroy",value:function(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}},{key:"toggle",value:function(){this.disabled||(this.expanded=!this.expanded)}},{key:"close",value:function(){this.disabled||(this.expanded=!1)}},{key:"open",value:function(){this.disabled||(this.expanded=!0)}},{key:"_subscribeToOpenCloseAllActions",value:function(){var n=this;return this.accordion._openCloseAllActions.subscribe(function(a){n.disabled||(n.expanded=a)})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(_6,12),e.Y36(e.sBO),e.Y36(ma.A8))},r.\u0275dir=e.lG2({type:r,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[e._Bn([{provide:_6,useValue:void 0}])]}),r}(),zoe=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r}(),Woe=["body"];function Goe(r,i){}var Yoe=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Joe=["mat-expansion-panel-header","*","mat-action-row"];function Qoe(r,i){if(1&r&&e._UZ(0,"span",2),2&r){var t=e.oxw();e.Q6J("@indicatorRotate",t._getExpandedState())}}var Koe=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],Xoe=["mat-panel-title","mat-panel-description","*"],y6=new e.OlP("MAT_ACCORDION"),YV="225ms cubic-bezier(0.4,0.0,0.2,1)",JV={indicatorRotate:(0,en.X$)("indicatorRotate",[(0,en.SB)("collapsed, void",(0,en.oB)({transform:"rotate(0deg)"})),(0,en.SB)("expanded",(0,en.oB)({transform:"rotate(180deg)"})),(0,en.eR)("expanded <=> collapsed, void => collapsed",(0,en.jt)(YV))]),bodyExpansion:(0,en.X$)("bodyExpansion",[(0,en.SB)("collapsed, void",(0,en.oB)({height:"0px",visibility:"hidden"})),(0,en.SB)("expanded",(0,en.oB)({height:"*",visibility:"visible"})),(0,en.eR)("expanded <=> collapsed, void => collapsed",(0,en.jt)(YV))])},$oe=function(){var r=function i(t){(0,v.Z)(this,i),this._template=t};return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.Rgc))},r.\u0275dir=e.lG2({type:r,selectors:[["ng-template","matExpansionPanelContent",""]]}),r}(),ese=0,QV=new e.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),_c=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o,s,l,d,h,C){var P;return(0,v.Z)(this,n),(P=t.call(this,a,o,s))._viewContainerRef=l,P._animationMode=h,P._hideToggle=!1,P.afterExpand=new e.vpe,P.afterCollapse=new e.vpe,P._inputChanges=new Un.xQ,P._headerId="mat-expansion-panel-header-".concat(ese++),P._bodyAnimationDone=new Un.xQ,P.accordion=a,P._document=d,P._bodyAnimationDone.pipe((0,Qb.x)(function(N,q){return N.fromState===q.fromState&&N.toState===q.toState})).subscribe(function(N){"void"!==N.fromState&&("expanded"===N.toState?P.afterExpand.emit():"collapsed"===N.toState&&P.afterCollapse.emit())}),C&&(P.hideToggle=C.hideToggle),P}return(0,g.Z)(n,[{key:"hideToggle",get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(o){this._hideToggle=(0,Hn.Ig)(o)}},{key:"togglePosition",get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(o){this._togglePosition=o}},{key:"_hasSpacing",value:function(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}},{key:"_getExpandedState",value:function(){return this.expanded?"expanded":"collapsed"}},{key:"toggle",value:function(){this.expanded=!this.expanded}},{key:"close",value:function(){this.expanded=!1}},{key:"open",value:function(){this.expanded=!0}},{key:"ngAfterContentInit",value:function(){var o=this;this._lazyContent&&this.opened.pipe((0,$o.O)(null),(0,ea.h)(function(){return o.expanded&&!o._portal}),(0,Ea.q)(1)).subscribe(function(){o._portal=new ta.UE(o._lazyContent._template,o._viewContainerRef)})}},{key:"ngOnChanges",value:function(o){this._inputChanges.next(o)}},{key:"ngOnDestroy",value:function(){(0,x.Z)((0,Z.Z)(n.prototype),"ngOnDestroy",this).call(this),this._bodyAnimationDone.complete(),this._inputChanges.complete()}},{key:"_containsFocus",value:function(){if(this._body){var o=this._document.activeElement,s=this._body.nativeElement;return o===s||s.contains(o)}return!1}}]),n}(qoe);return r.\u0275fac=function(t){return new(t||r)(e.Y36(y6,12),e.Y36(e.sBO),e.Y36(ma.A8),e.Y36(e.s_b),e.Y36(Pt.K0),e.Y36(Js.Qb,8),e.Y36(QV,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-expansion-panel"]],contentQueries:function(t,n,a){var o;1&t&&e.Suo(a,$oe,5),2&t&&e.iGM(o=e.CRH())&&(n._lazyContent=o.first)},viewQuery:function(t,n){var a;1&t&&e.Gf(Woe,5),2&t&&e.iGM(a=e.CRH())&&(n._body=a.first)},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(t,n){2&t&&e.ekj("mat-expanded",n.expanded)("_mat-animation-noopable","NoopAnimations"===n._animationMode)("mat-expansion-panel-spacing",n._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[e._Bn([{provide:y6,useValue:void 0}]),e.qOj,e.TTD],ngContentSelectors:Joe,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(t,n){1&t&&(e.F$t(Yoe),e.Hsn(0),e.TgZ(1,"div",0,1),e.NdJ("@bodyExpansion.done",function(o){return n._bodyAnimationDone.next(o)}),e.TgZ(3,"div",2),e.Hsn(4,1),e.YNc(5,Goe,0,0,"ng-template",3),e.qZA(),e.Hsn(6,2),e.qZA()),2&t&&(e.xp6(1),e.Q6J("@bodyExpansion",n._getExpandedState())("id",n.id),e.uIk("aria-labelledby",n._headerId),e.xp6(4),e.Q6J("cdkPortalOutlet",n._portal))},directives:[ta.Pl],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[JV.bodyExpansion]},changeDetection:0}),r}(),tse=function r(){(0,v.Z)(this,r)},nse=(0,sn.sb)(tse),yc=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o,s,l,d,h,C){var P;(0,v.Z)(this,n),(P=t.call(this)).panel=a,P._element=o,P._focusMonitor=s,P._changeDetectorRef=l,P._animationMode=h,P._parentChangeSubscription=Lo.w.EMPTY;var N=a.accordion?a.accordion._stateChanges.pipe((0,ea.h)(function(q){return!(!q.hideToggle&&!q.togglePosition)})):zm.E;return P.tabIndex=parseInt(C||"")||0,P._parentChangeSubscription=(0,Ra.T)(a.opened,a.closed,N,a._inputChanges.pipe((0,ea.h)(function(q){return!!(q.hideToggle||q.disabled||q.togglePosition)}))).subscribe(function(){return P._changeDetectorRef.markForCheck()}),a.closed.pipe((0,ea.h)(function(){return a._containsFocus()})).subscribe(function(){return s.focusVia(o,"program")}),d&&(P.expandedHeight=d.expandedHeight,P.collapsedHeight=d.collapsedHeight),P}return(0,g.Z)(n,[{key:"disabled",get:function(){return this.panel.disabled}},{key:"_toggle",value:function(){this.disabled||this.panel.toggle()}},{key:"_isExpanded",value:function(){return this.panel.expanded}},{key:"_getExpandedState",value:function(){return this.panel._getExpandedState()}},{key:"_getPanelId",value:function(){return this.panel.id}},{key:"_getTogglePosition",value:function(){return this.panel.togglePosition}},{key:"_showToggle",value:function(){return!this.panel.hideToggle&&!this.panel.disabled}},{key:"_getHeaderHeight",value:function(){var o=this._isExpanded();return o&&this.expandedHeight?this.expandedHeight:!o&&this.collapsedHeight?this.collapsedHeight:null}},{key:"_keydown",value:function(o){switch(o.keyCode){case ui.L_:case ui.K5:(0,ui.Vb)(o)||(o.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(o))}}},{key:"focus",value:function(o,s){o?this._focusMonitor.focusVia(this._element,o,s):this._element.nativeElement.focus(s)}},{key:"ngAfterViewInit",value:function(){var o=this;this._focusMonitor.monitor(this._element).subscribe(function(s){s&&o.panel.accordion&&o.panel.accordion._handleHeaderFocus(o)})}},{key:"ngOnDestroy",value:function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}]),n}(nse);return r.\u0275fac=function(t){return new(t||r)(e.Y36(_c,1),e.Y36(e.SBq),e.Y36(Gi.tE),e.Y36(e.sBO),e.Y36(QV,8),e.Y36(Js.Qb,8),e.$8M("tabindex"))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(t,n){1&t&&e.NdJ("click",function(){return n._toggle()})("keydown",function(o){return n._keydown(o)}),2&t&&(e.uIk("id",n.panel._headerId)("tabindex",n.tabIndex)("aria-controls",n._getPanelId())("aria-expanded",n._isExpanded())("aria-disabled",n.panel.disabled),e.Udp("height",n._getHeaderHeight()),e.ekj("mat-expanded",n._isExpanded())("mat-expansion-toggle-indicator-after","after"===n._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===n._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===n._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[e.qOj],ngContentSelectors:Xoe,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(t,n){1&t&&(e.F$t(Koe),e.TgZ(0,"span",0),e.Hsn(1),e.Hsn(2,1),e.Hsn(3,2),e.qZA(),e.YNc(4,Qoe,1,1,"span",1)),2&t&&(e.xp6(4),e.Q6J("ngIf",n._showToggle()))},directives:[Pt.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}\n'],encapsulation:2,data:{animation:[JV.indicatorRotate]},changeDetection:0}),r}(),rse=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),r}(),cd=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),r}(),dd=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(){var a;return(0,v.Z)(this,n),(a=t.apply(this,arguments))._ownHeaders=new e.n_E,a._hideToggle=!1,a.displayMode="default",a.togglePosition="after",a}return(0,g.Z)(n,[{key:"hideToggle",get:function(){return this._hideToggle},set:function(o){this._hideToggle=(0,Hn.Ig)(o)}},{key:"ngAfterContentInit",value:function(){var o=this;this._headers.changes.pipe((0,$o.O)(this._headers)).subscribe(function(s){o._ownHeaders.reset(s.filter(function(l){return l.panel.accordion===o})),o._ownHeaders.notifyOnChanges()}),this._keyManager=new Gi.Em(this._ownHeaders).withWrap().withHomeAndEnd()}},{key:"_handleHeaderKeydown",value:function(o){this._keyManager.onKeydown(o)}},{key:"_handleHeaderFocus",value:function(o){this._keyManager.updateActiveItem(o)}},{key:"ngOnDestroy",value:function(){(0,x.Z)((0,Z.Z)(n.prototype),"ngOnDestroy",this).call(this),this._ownHeaders.destroy()}}]),n}(Voe);return r.\u0275fac=function(){var i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,selectors:[["mat-accordion"]],contentQueries:function(t,n,a){var o;1&t&&e.Suo(a,yc,5),2&t&&e.iGM(o=e.CRH())&&(n._headers=o)},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(t,n){2&t&&e.ekj("mat-accordion-multi",n.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[e._Bn([{provide:y6,useExisting:r}]),e.qOj]}),r}(),ise=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[[Pt.ez,sn.BQ,zoe,ta.eL]]}),r}(),KV=f(85694),b6=["*"],ase=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],ose=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],$V=(0,sn.Id)((0,sn.Kr)(function(){return function r(){(0,v.Z)(this,r)}}())),dse=(0,sn.Kr)(function(){return function r(){(0,v.Z)(this,r)}}()),ej=new e.OlP("MatList"),tj=new e.OlP("MatNavList"),Iu=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(){var a;return(0,v.Z)(this,n),(a=t.apply(this,arguments))._stateChanges=new Un.xQ,a}return(0,g.Z)(n,[{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),n}($V);return r.\u0275fac=function(){var i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[e._Bn([{provide:tj,useExisting:r}]),e.qOj,e.TTD],ngContentSelectors:b6,decls:1,vars:0,template:function(t,n){1&t&&(e.F$t(),e.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),r}(),C6=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a){var o;return(0,v.Z)(this,n),(o=t.call(this))._elementRef=a,o._stateChanges=new Un.xQ,"action-list"===o._getListType()&&a.nativeElement.classList.add("mat-action-list"),o}return(0,g.Z)(n,[{key:"_getListType",value:function(){var o=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===o?"list":"mat-action-list"===o?"action-list":null}},{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),n}($V);return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[e._Bn([{provide:ej,useExisting:r}]),e.qOj,e.TTD],ngContentSelectors:b6,decls:1,vars:0,template:function(t,n){1&t&&(e.F$t(),e.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),r}(),nj=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),r}(),rj=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),r}(),Zs=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o,s,l){var d;(0,v.Z)(this,n),(d=t.call(this))._element=a,d._isInteractiveList=!1,d._destroyed=new Un.xQ,d._disabled=!1,d._isInteractiveList=!!(s||l&&"action-list"===l._getListType()),d._list=s||l;var h=d._getHostElement();return"button"===h.nodeName.toLowerCase()&&!h.hasAttribute("type")&&h.setAttribute("type","button"),d._list&&d._list._stateChanges.pipe((0,Ai.R)(d._destroyed)).subscribe(function(){o.markForCheck()}),d}return(0,g.Z)(n,[{key:"disabled",get:function(){return this._disabled||!(!this._list||!this._list.disabled)},set:function(o){this._disabled=(0,Hn.Ig)(o)}},{key:"ngAfterContentInit",value:function(){(0,sn.E0)(this._lines,this._element)}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_isRippleDisabled",value:function(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}},{key:"_getHostElement",value:function(){return this._element.nativeElement}}]),n}(dse);return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(tj,8),e.Y36(ej,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(t,n,a){var o;1&t&&(e.Suo(a,nj,5),e.Suo(a,rj,5),e.Suo(a,sn.X2,5)),2&t&&(e.iGM(o=e.CRH())&&(n._avatar=o.first),e.iGM(o=e.CRH())&&(n._icon=o.first),e.iGM(o=e.CRH())&&(n._lines=o))},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(t,n){2&t&&e.ekj("mat-list-item-disabled",n.disabled)("mat-list-item-avatar",n._avatar||n._icon)("mat-list-item-with-avatar",n._avatar||n._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[e.qOj],ngContentSelectors:ose,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(t,n){1&t&&(e.F$t(ase),e.TgZ(0,"div",0),e._UZ(1,"div",1),e.Hsn(2),e.TgZ(3,"div",2),e.Hsn(4,1),e.qZA(),e.Hsn(5,2),e.qZA()),2&t&&(e.xp6(1),e.Q6J("matRippleTrigger",n._getHostElement())("matRippleDisabled",n._isRippleDisabled()))},directives:[sn.wG],encapsulation:2,changeDetection:0}),r}(),gse=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[[sn.uc,sn.si,sn.BQ,sn.us,Pt.ez],sn.uc,sn.BQ,sn.us,KV.t]}),r}(),_se=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.httpClient=t,this.thirdpartylicenses="",this.releasenotes=""}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.httpClient.get(window.location.href+"/3rdpartylicenses.txt",{responseType:"text"}).subscribe(function(a){n.thirdpartylicenses=a.replace(new RegExp("\n","g"),"<br />")},function(a){404===a.status&&(n.thirdpartylicenses="File not found")}),this.httpClient.get("ReleaseNotes.txt",{responseType:"text"}).subscribe(function(a){n.releasenotes=a.replace(new RegExp("\n","g"),"<br />")})}},{key:"goToDocumentation",value:function(){window.location.href="https://docs.gns3.com/docs/"}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(ic.eN))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-help"]],decls:38,vars:2,consts:[[1,"content"],[1,"default-header"],[1,"default-content"],[1,"container","mat-elevation-z8"],[3,"innerHTML"],["mat-button","","color","primary",1,"full-width",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"h1"),e._uU(3,"Help"),e.qZA(),e.qZA(),e.TgZ(4,"div",2),e.TgZ(5,"div",3),e.TgZ(6,"mat-accordion"),e.TgZ(7,"mat-expansion-panel"),e.TgZ(8,"mat-expansion-panel-header"),e.TgZ(9,"mat-panel-title"),e._uU(10," Useful shortcuts "),e.qZA(),e.qZA(),e.TgZ(11,"mat-list"),e.TgZ(12,"mat-list-item"),e._uU(13," ctrl + + to zoom in "),e.qZA(),e.TgZ(14,"mat-list-item"),e._uU(15," ctrl + - to zoom out "),e.qZA(),e.TgZ(16,"mat-list-item"),e._uU(17," ctrl + 0 to reset zoom "),e.qZA(),e.TgZ(18,"mat-list-item"),e._uU(19," ctrl + h to hide toolbar "),e.qZA(),e.TgZ(20,"mat-list-item"),e._uU(21," ctrl + a to select all items on map "),e.qZA(),e.TgZ(22,"mat-list-item"),e._uU(23," ctrl + shift + a to deselect all items on map "),e.qZA(),e.TgZ(24,"mat-list-item"),e._uU(25," ctrl + shift + s to go to preferences "),e.qZA(),e.qZA(),e.qZA(),e.TgZ(26,"mat-expansion-panel"),e.TgZ(27,"mat-expansion-panel-header"),e.TgZ(28,"mat-panel-title"),e._uU(29," Third party components "),e.qZA(),e.qZA(),e._UZ(30,"div",4),e.qZA(),e.TgZ(31,"mat-expansion-panel"),e.TgZ(32,"mat-expansion-panel-header"),e.TgZ(33,"mat-panel-title"),e._uU(34," Release notes "),e.qZA(),e.qZA(),e._UZ(35,"div",4),e.qZA(),e.qZA(),e.qZA(),e.TgZ(36,"button",5),e.NdJ("click",function(){return n.goToDocumentation()}),e._uU(37,"Go to documentation"),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(30),e.Q6J("innerHTML",n.thirdpartylicenses,e.oJD),e.xp6(5),e.Q6J("innerHTML",n.releasenotes,e.oJD))},directives:[dd,_c,yc,cd,C6,Zs,En],styles:[".full-width[_ngcontent-%COMP%]{width:100%;margin-top:20px}"]}),r}(),aj=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.electronService=t}return(0,g.Z)(i,[{key:"isWindows",value:function(){return"win32"===this.electronService.process.platform}},{key:"isLinux",value:function(){return"linux"===this.electronService.process.platform}},{key:"isDarwin",value:function(){return"darwin"===this.electronService.process.platform}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(gs))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),oj=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.platformService=t}return(0,g.Z)(i,[{key:"get",value:function(){return this.platformService.isWindows()?this.getForWindows():this.platformService.isDarwin()?this.getForDarwin():this.getForLinux()}},{key:"getForWindows",value:function(){var n=[{name:"Wireshark",locations:["C:\\Program Files\\Wireshark\\Wireshark.exe"],type:"web",resource:"https://1.na.dl.wireshark.org/win64/all-versions/Wireshark-win64-2.6.3.exe",binary:"Wireshark.exe",sudo:!0,installation_arguments:[],installed:!1,installer:!0}];return n}},{key:"getForLinux",value:function(){return[]}},{key:"getForDarwin",value:function(){return[]}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(aj))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),sj=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.electronService=t,this.externalSoftwareDefinition=n}return(0,g.Z)(i,[{key:"list",value:function(){var n=this.externalSoftwareDefinition.get(),a=this.electronService.remote.require("./installed-software.js").getInstalledSoftware(n);return n.map(function(o){return o.installed=a[o.name].length>0,o})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(gs),e.LFG(oj))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),yse=[[["caption"]],[["colgroup"],["col"]]],bse=["caption","colgroup, col"],nu=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(){var a;return(0,v.Z)(this,n),(a=t.apply(this,arguments)).stickyCssClass="mat-table-sticky",a.needsPositionStickyOnElement=!1,a}return n}(Cf);return r.\u0275fac=function(){var i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(t,n){2&t&&e.ekj("mat-table-fixed-layout",n.fixedLayout)},exportAs:["matTable"],features:[e._Bn([{provide:ma.k,useClass:ma.yy},{provide:Cf,useExisting:r},{provide:$d,useExisting:r},{provide:qb,useClass:zb},{provide:zg,useValue:null}]),e.qOj],ngContentSelectors:bse,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,n){1&t&&(e.F$t(yse),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0),e.GkF(3,1),e.GkF(4,2),e.GkF(5,3))},directives:[Gg,Wg,Gb,Yg],styles:['mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n'],encapsulation:2}),r}(),Sl=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(){return(0,v.Z)(this,n),t.apply(this,arguments)}return n}(Jc);return r.\u0275fac=function(){var i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,selectors:[["","matCellDef",""]],features:[e._Bn([{provide:Jc,useExisting:r}]),e.qOj]}),r}(),Tl=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(){return(0,v.Z)(this,n),t.apply(this,arguments)}return n}(bf);return r.\u0275fac=function(){var i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,selectors:[["","matHeaderCellDef",""]],features:[e._Bn([{provide:bf,useExisting:r}]),e.qOj]}),r}(),kl=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(){return(0,v.Z)(this,n),t.apply(this,arguments)}return(0,g.Z)(n,[{key:"name",get:function(){return this._name},set:function(o){this._setNameInput(o)}},{key:"_updateColumnCssClassName",value:function(){(0,x.Z)((0,Z.Z)(n.prototype),"_updateColumnCssClassName",this).call(this),this._columnCssClassName.push("mat-column-".concat(this.cssClassFriendlyName))}}]),n}(rc);return r.\u0275fac=function(){var i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[e._Bn([{provide:rc,useExisting:r},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:r}]),e.qOj]}),r}(),wl=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(){return(0,v.Z)(this,n),t.apply(this,arguments)}return n}(Vb);return r.\u0275fac=function(){var i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[e.qOj]}),r}(),xl=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(){return(0,v.Z)(this,n),t.apply(this,arguments)}return n}(jb);return r.\u0275fac=function(){var i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[e.qOj]}),r}(),ru=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(){return(0,v.Z)(this,n),t.apply(this,arguments)}return n}(Hg);return r.\u0275fac=function(){var i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[e._Bn([{provide:Hg,useExisting:r}]),e.qOj]}),r}(),iu=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(){return(0,v.Z)(this,n),t.apply(this,arguments)}return n}(Vg);return r.\u0275fac=function(){var i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[e._Bn([{provide:Vg,useExisting:r}]),e.qOj]}),r}(),au=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(){return(0,v.Z)(this,n),t.apply(this,arguments)}return n}(ep);return r.\u0275fac=function(){var i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[e._Bn([{provide:ep,useExisting:r}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,n){1&t&&e.GkF(0,0)},directives:[xu],encapsulation:2}),r}(),ou=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(){return(0,v.Z)(this,n),t.apply(this,arguments)}return n}(jg);return r.\u0275fac=function(){var i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[e._Bn([{provide:jg,useExisting:r}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,n){1&t&&e.GkF(0,0)},directives:[xu],encapsulation:2}),r}(),Dse=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[[Ox,sn.BQ],sn.BQ]}),r}(),Ose=9007199254740991,Pse=function(r){(0,O.Z)(t,r);var i=(0,y.Z)(t);function t(){var n,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return(0,v.Z)(this,t),(n=i.call(this))._renderData=new $i.X([]),n._filter=new $i.X(""),n._internalPageChanges=new Un.xQ,n._renderChangesSubscription=null,n.sortingDataAccessor=function(o,s){var l=o[s];if((0,Hn.t6)(l)){var d=Number(l);return d<Ose?d:l}return l},n.sortData=function(o,s){var l=s.active,d=s.direction;return l&&""!=d?o.sort(function(h,C){var P=n.sortingDataAccessor(h,l),N=n.sortingDataAccessor(C,l),q=typeof P,Q=typeof N;q!==Q&&("number"===q&&(P+=""),"number"===Q&&(N+=""));var te=0;return null!=P&&null!=N?P>N?te=1:P<N&&(te=-1):null!=P?te=1:null!=N&&(te=-1),te*("asc"==d?1:-1)}):o},n.filterPredicate=function(o,s){var l=Object.keys(o).reduce(function(h,C){return h+o[C]+"\u25ec"},"").toLowerCase(),d=s.trim().toLowerCase();return-1!=l.indexOf(d)},n._data=new $i.X(a),n._updateChangeSubscription(),n}return(0,g.Z)(t,[{key:"data",get:function(){return this._data.value},set:function(a){this._data.next(a),this._renderChangesSubscription||this._filterData(a)}},{key:"filter",get:function(){return this._filter.value},set:function(a){this._filter.next(a),this._renderChangesSubscription||this._filterData(this.data)}},{key:"sort",get:function(){return this._sort},set:function(a){this._sort=a,this._updateChangeSubscription()}},{key:"paginator",get:function(){return this._paginator},set:function(a){this._paginator=a,this._updateChangeSubscription()}},{key:"_updateChangeSubscription",value:function(){var o,a=this,s=this._sort?(0,Ra.T)(this._sort.sortChange,this._sort.initialized):(0,Kn.of)(null),l=this._paginator?(0,Ra.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,Kn.of)(null),h=(0,tp.aj)([this._data,this._filter]).pipe((0,kr.U)(function(N){var q=(0,b.Z)(N,1);return a._filterData(q[0])})),C=(0,tp.aj)([h,s]).pipe((0,kr.U)(function(N){var q=(0,b.Z)(N,1);return a._orderData(q[0])})),P=(0,tp.aj)([C,l]).pipe((0,kr.U)(function(N){var q=(0,b.Z)(N,1);return a._pageData(q[0])}));null===(o=this._renderChangesSubscription)||void 0===o||o.unsubscribe(),this._renderChangesSubscription=P.subscribe(function(N){return a._renderData.next(N)})}},{key:"_filterData",value:function(a){var o=this;return this.filteredData=null==this.filter||""===this.filter?a:a.filter(function(s){return o.filterPredicate(s,o.filter)}),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}},{key:"_orderData",value:function(a){return this.sort?this.sortData(a.slice(),this.sort):a}},{key:"_pageData",value:function(a){if(!this.paginator)return a;var o=this.paginator.pageIndex*this.paginator.pageSize;return a.slice(o,o+this.paginator.pageSize)}},{key:"_updatePaginator",value:function(a){var o=this;Promise.resolve().then(function(){var s=o.paginator;if(s&&(s.length=a,s.pageIndex>0)){var l=Math.ceil(s.length/s.pageSize)-1||0,d=Math.min(s.pageIndex,l);d!==s.pageIndex&&(s.pageIndex=d,o._internalPageChanges.next())}})}},{key:"connect",value:function(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}},{key:"disconnect",value:function(){var a;null===(a=this._renderChangesSubscription)||void 0===a||a.unsubscribe(),this._renderChangesSubscription=null}}]),t}(ma.o2),lj=function(r){(0,O.Z)(t,r);var i=(0,y.Z)(t);function t(){return(0,v.Z)(this,t),i.apply(this,arguments)}return t}(Pse),Ru=f(2856),Ise=function(i,t){return{hidden:i,lightTheme:t}},Rse=/<a href="(.*)">(.*)<\/a><br\/>(.*)<br\/>\s*<button><a .*>(.*)<\/a>\s*<\/button>/i,uj=function(){var r=function(){function i(t,n,a){(0,v.Z)(this,i),this.httpClient=t,this.themeService=n,this.location=a,this.isVisible=!1,this.isLightThemeEnabled=!1,this.adUrl="https://try.solarwinds.com/gns3-free-toolset-giveaway?CMP=LEC-HAD-GNS3-SW_NA_X_NP_X_X_EN_STSGA_SW-ST-20200901_ST_OF1_TRY-NWSLTR",this.adBody="Network Config Generator makes it easy configure network devices, including VLANs without opening the CLI",this.buttonLabel="Check it out!"}return(0,g.Z)(i,[{key:"hide",value:function(){this.isVisible=!1}},{key:"ngOnInit",value:function(){var n=this;this.location.path().includes("nodes")||(this.httpClient.get("https://servedbyadbutler.com/adserve/;ID=165803;size=0x0;setID=371476;type=json;").subscribe(function(a){var o,s;if(null===(s=null===(o=null==a?void 0:a.placements)||void 0===o?void 0:o.placement_1)||void 0===s?void 0:s.body)try{var l=a.placements.placement_1.body.replace(/(\r\n|\n|\r)/gm,""),d=Rse.exec(l);n.adUrl=d[1].trim(),n.adBody=d[3].trim(),n.buttonLabel=d[4].trim()}catch(h){}n.isVisible=!0},function(a){}),this.isLightThemeEnabled="light"===this.themeService.getActualTheme(),this.themeService.themeChanged.subscribe(function(){n.isLightThemeEnabled="light"===n.themeService.getActualTheme()}))}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(ic.eN),e.Y36(Ru.f),e.Y36(Pt.Ye))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-adbutler"]],decls:10,vars:8,consts:[[1,"ad",3,"ngClass"],[1,"adInnerContainer"],[1,"adBody"],["target","_blank",3,"href"],[1,"close-button",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"span",2),e.TgZ(3,"a",3),e._uU(4),e.qZA(),e.qZA(),e.TgZ(5,"button"),e.TgZ(6,"a",3),e._uU(7),e.qZA(),e.qZA(),e.qZA(),e.TgZ(8,"mat-icon",4),e.NdJ("click",function(){return n.hide()}),e._uU(9,"close"),e.qZA(),e.qZA()),2&t&&(e.Q6J("ngClass",e.WLB(5,Ise,!n.isVisible,n.isLightThemeEnabled)),e.xp6(3),e.Q6J("href",n.adUrl,e.LSH),e.xp6(1),e.Oqu(n.adBody),e.xp6(2),e.Q6J("href",n.adUrl,e.LSH),e.xp6(1),e.Oqu(n.buttonLabel))},directives:[Pt.mk,er],styles:[".ad[_ngcontent-%COMP%]{position:fixed;left:0;right:0;bottom:0;background-color:#a8ecff;padding-top:10px;padding-bottom:10px;font-size:12px;font-weight:bold;opacity:.8}.adInnerContainer[_ngcontent-%COMP%]{margin:auto;text-align:center}.adBody[_ngcontent-%COMP%]{padding-right:16px}.close-button[_ngcontent-%COMP%]{position:absolute;top:15px;right:15px;color:#000!important}.lightTheme[_ngcontent-%COMP%]{background-color:#ddf9ff}.hidden[_ngcontent-%COMP%]{visibility:hidden}button[_ngcontent-%COMP%]{background-color:#01d4ff;margin-top:2px;border:none;outline:none;color:#fff;font-weight:bold;font-size:11px;padding:5px 15px;border-radius:6px}button[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fff}a[_ngcontent-%COMP%]{color:#122124}"]}),r}();function Nse(r,i){if(1&r&&(e.ynx(0),e._uU(1),e.BQk()),2&r){var t=e.oxw();e.xp6(1),e.Oqu(t.buttonText)}}var Zse=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.electronService=t,this.installedChanged=new e.vpe,this.disabled=!1,this.readyToInstall=!0}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.electronService.ipcRenderer.on(this.responseChannel,function(a,o){n.updateButton(),n.installedChanged.emit(o)})}},{key:"ngOnDestroy",value:function(){this.electronService.ipcRenderer.removeAllListeners(this.responseChannel)}},{key:"ngOnChanges",value:function(){this.updateButton()}},{key:"install",value:function(){this.disabled=!0,this.buttonText="Installing",this.electronService.ipcRenderer.send("installed-software-install",this.software)}},{key:"responseChannel",get:function(){return"installed-software-installed-".concat(this.software.name)}},{key:"updateButton",value:function(){this.disabled=this.software.installed,this.buttonText=this.software.installed?"Installed":"Install"}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(gs))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-install-software"]],inputs:{software:"software"},outputs:{installedChanged:"installedChanged"},features:[e.TTD],decls:2,vars:2,consts:[["mat-button","","color","primary",3,"disabled","click"],[4,"ngIf"]],template:function(t,n){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return n.install()}),e.YNc(1,Nse,2,1,"ng-container",1),e.qZA()),2&t&&(e.Q6J("disabled",n.disabled),e.xp6(1),e.Q6J("ngIf",n.readyToInstall))},directives:[En,Pt.O5],styles:[""]}),r}();function Lse(r,i){1&r&&(e.TgZ(0,"mat-header-cell"),e._uU(1," Name "),e.qZA())}function Fse(r,i){if(1&r&&(e.ynx(0),e._uU(1),e.BQk()),2&r){var t=e.oxw().$implicit;e.xp6(1),e.hij(" ",t.name," ")}}function Bse(r,i){1&r&&(e.ynx(0),e._UZ(1,"app-adbutler",14),e.BQk())}function Use(r,i){if(1&r&&(e.TgZ(0,"mat-cell"),e.YNc(1,Fse,2,1,"ng-container",13),e.YNc(2,Bse,2,0,"ng-container",13),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.Q6J("ngIf","adbutler"!==t.type),e.xp6(1),e.Q6J("ngIf","adbutler"===t.type)}}function Hse(r,i){1&r&&e._UZ(0,"mat-header-cell")}function Vse(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"app-install-software",17),e.NdJ("installedChanged",function(o){return e.CHM(t),e.oxw(2).onInstalled(o)}),e.qZA()}if(2&r){var n=e.oxw().$implicit;e.Q6J("software",n)}}function jse(r,i){if(1&r&&(e.TgZ(0,"mat-cell",15),e.YNc(1,Vse,1,1,"app-install-software",16),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.Q6J("ngIf","adbutler"!==t.type)}}function qse(r,i){1&r&&e._UZ(0,"mat-header-row")}function zse(r,i){1&r&&e._UZ(0,"mat-row")}var Wse=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.installedSoftwareService=t,this.changeDetectorRef=n,this.displayedColumns=["name","actions"]}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){this.dataSource=new Gse(this.installedSoftwareService)}},{key:"onInstalled",value:function(n){this.dataSource.refresh(),this.changeDetectorRef.detectChanges()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(sj),e.Y36(e.sBO))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-installed-software"]],decls:16,vars:3,consts:[[1,"content"],[1,"default-header"],[1,"default-content"],[1,"container","mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","name"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","actions"],["style","text-align: right",4,"matCellDef"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[4,"ngIf"],["theme","dark"],[2,"text-align","right"],[3,"software","installedChanged",4,"ngIf"],[3,"software","installedChanged"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"h1"),e._uU(3,"Installed software"),e.qZA(),e.qZA(),e.TgZ(4,"div",2),e.TgZ(5,"div",3),e.TgZ(6,"mat-table",4,5),e.ynx(8,6),e.YNc(9,Lse,2,0,"mat-header-cell",7),e.YNc(10,Use,3,2,"mat-cell",8),e.BQk(),e.ynx(11,9),e.YNc(12,Hse,1,0,"mat-header-cell",7),e.YNc(13,jse,2,1,"mat-cell",10),e.BQk(),e.YNc(14,qse,1,0,"mat-header-row",11),e.YNc(15,zse,1,0,"mat-row",12),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(6),e.Q6J("dataSource",n.dataSource),e.xp6(8),e.Q6J("matHeaderRowDef",n.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",n.displayedColumns))},directives:[nu,kl,Tl,Sl,ru,iu,wl,xl,Pt.O5,uj,Zse,au,ou],styles:[""]}),r}(),Gse=function(r){(0,O.Z)(t,r);var i=(0,y.Z)(t);function t(n){var a;return(0,v.Z)(this,t),(a=i.call(this)).installedSoftwareService=n,a.installed=new $i.X([]),a}return(0,g.Z)(t,[{key:"connect",value:function(){return this.refresh(),this.installed}},{key:"disconnect",value:function(){}},{key:"refresh",value:function(){var a=this.installedSoftwareService.list();a.push({type:"adbutler"}),this.installed.next(a)}}]),t}(ma.o2),Yse=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-page-not-found"]],decls:7,vars:0,consts:[[1,"content"],[1,"default-header"],["mat-button","","routerLink","/servers"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e._UZ(2,"br"),e.TgZ(3,"h1"),e._uU(4,"404 Page not found"),e.qZA(),e.TgZ(5,"button",2),e._uU(6,"Navigate to homepage"),e.qZA(),e.qZA(),e.qZA())},directives:[En,go],styles:["div[_ngcontent-%COMP%]{text-align:center}"]}),r}(),Jse=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.route=t,this.serverId=""}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){this.serverId=this.route.snapshot.paramMap.get("server_id")}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-built-in-preferences"]],decls:16,vars:4,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],["mat-button","",1,"cancel-button",3,"routerLink"],[1,"default-content"],[1,"listcontainer","mat-elevation-z8"],[3,"routerLink"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Built-in preferences"),e.qZA(),e.TgZ(5,"button",4),e._uU(6," Back "),e.qZA(),e.qZA(),e.qZA(),e.TgZ(7,"div",5),e.TgZ(8,"div",6),e.TgZ(9,"mat-nav-list"),e.TgZ(10,"mat-list-item",7),e._uU(11," Ethernet hubs "),e.qZA(),e.TgZ(12,"mat-list-item",7),e._uU(13," Ethernet switches "),e.qZA(),e.TgZ(14,"mat-list-item",7),e._uU(15," Cloud nodes "),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(5),e.MGl("routerLink","/server/",n.serverId,"/preferences"),e.xp6(5),e.MGl("routerLink","/server/",n.serverId,"/preferences/builtin/ethernet-hubs"),e.xp6(2),e.MGl("routerLink","/server/",n.serverId,"/preferences/builtin/ethernet-switches"),e.xp6(2),e.MGl("routerLink","/server/",n.serverId,"/preferences/builtin/cloud-nodes"))},directives:[En,go,Iu,Zs],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}(),Eo=f(28547),pd=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.httpServer=t}return(0,g.Z)(i,[{key:"getTemplates",value:function(n){return this.httpServer.get(n,"/templates")}},{key:"getTemplate",value:function(n,a){return this.httpServer.get(n,"/templates/".concat(a))}},{key:"addTemplate",value:function(n,a){return this.httpServer.post(n,"/templates",a)}},{key:"saveTemplate",value:function(n,a){return this.httpServer.put(n,"/templates/".concat(a.template_id),a)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(Ja.wh))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),bc=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"getTracengTemplate",value:function(){return{builtin:!1,category:"guest",compute_id:"local",console_type:"none",default_name_format:"TraceNG{0}",ip_address:"",name:"",symbol:":/symbols/classic/traceng.svg",template_id:"",template_type:"traceng"}}},{key:"getQemuTemplate",value:function(){return(0,Kn.of)({adapter_type:"e1000",adapters:4,bios_image:"",boot_priority:"c",builtin:!1,category:"guest",cdrom_image:"",compute_id:"local",console_auto_start:!1,console_type:"telnet",cpu_throttling:0,cpus:1,custom_adapters:[],default_name_format:"{name}-{0}",first_port_name:"",hda_disk_image:"",hda_disk_interface:"ide",hdb_disk_image:"",hdb_disk_interface:"ide",hdc_disk_image:"",hdc_disk_interface:"ide",hdd_disk_image:"",hdd_disk_interface:"ide",initrd:"",kernel_command_line:"",kernel_image:"",legacy_networking:!1,linked_clone:!0,mac_address:"",name:"",on_close:"power_off",options:"-nographic",platform:"",port_name_format:"Ethernet{0}",port_segment_size:0,process_priority:"normal",qemu_path:"",ram:256,symbol:":/symbols/qemu_guest.svg",template_id:"",template_type:"qemu",usage:""})}},{key:"getVpcsTemplate",value:function(){return(0,Kn.of)({base_script_file:"vpcs_base_config.txt",builtin:!1,category:"guest",compute_id:"local",console_auto_start:!1,console_type:"telnet",default_name_format:"PC{0}",name:"",symbol:":/symbols/vpcs_guest.svg",template_id:"",template_type:"vpcs"})}},{key:"getVirtualBoxTemplate",value:function(){return(0,Kn.of)({adapter_type:"Intel PRO/1000 MT Desktop (82540EM)",adapters:1,builtin:!1,category:"guest",compute_id:"local",console_auto_start:!1,console_type:"none",custom_adapters:[],default_name_format:"{name}-{0}",first_port_name:"",headless:!1,linked_clone:!1,name:"",on_close:"power_off",port_name_format:"Ethernet{0}",port_segment_size:0,ram:0,symbol:":/symbols/vbox_guest.svg",template_id:"",template_type:"virtualbox",usage:"",use_any_adapter:!1,vmname:""})}},{key:"getCloudNodeTemplate",value:function(){return(0,Kn.of)({builtin:!1,category:"guest",compute_id:"local",default_name_format:"Cloud{0}",name:"",ports_mapping:[],remote_console_type:"none",symbol:":/symbols/cloud.svg",template_id:"",template_type:"cloud"})}},{key:"getEthernetHubTemplate",value:function(){return(0,Kn.of)({builtin:!1,category:"switch",compute_id:"local",default_name_format:"Hub{0}",name:"",ports_mapping:[],symbol:":/symbols/hub.svg",template_id:"",template_type:"ethernet_hub"})}},{key:"getEthernetSwitchTemplate",value:function(){return(0,Kn.of)({builtin:!1,category:"switch",compute_id:"local",console_type:"telnet",default_name_format:"Switch{0}",name:"",ports_mapping:[],symbol:":/symbols/ethernet_switch.svg",template_id:"",template_type:"ethernet_switch"})}},{key:"getIosTemplate",value:function(){return(0,Kn.of)({auto_delete_disks:!0,builtin:!1,category:"router",compute_id:"local",console_auto_start:!1,console_type:"telnet",default_name_format:"R{0}",disk0:0,disk1:0,exec_area:64,idlemax:500,idlepc:"",idlesleep:30,image:"",mac_addr:"",mmap:!0,name:"",nvram:128,platform:"",private_config:"",ram:128,sparsemem:!0,startup_config:"",symbol:":/symbols/router.svg",system_id:"FTX0945W0MY",template_id:"",template_type:"dynamips",usage:""})}},{key:"getVmwareTemplate",value:function(){return(0,Kn.of)({adapter_type:"e1000",adapters:1,builtin:!1,category:"guest",compute_id:"local",console_auto_start:!1,console_type:"none",custom_adapters:[],default_name_format:"{name}-{0}",first_port_name:"",headless:!1,linked_clone:!1,name:"",on_close:"power_off",port_name_format:"Ethernet{0}",port_segment_size:0,symbol:":/symbols/vmware_guest.svg",template_id:"",template_type:"vmware",usage:"",use_any_adapter:!1,vmx_path:""})}},{key:"getDockerTemplate",value:function(){return(0,Kn.of)({adapters:1,builtin:!1,category:"guest",compute_id:"vm",console_auto_start:!1,console_http_path:"/",console_http_port:80,console_resolution:"1024x768",console_type:"telnet",custom_adapters:[],default_name_format:"{name}-{0}",environment:"",extra_hosts:"",image:"",name:"",start_command:"",symbol:":/symbols/docker_guest.svg",template_id:"",template_type:"docker",usage:""})}},{key:"getIouTemplate",value:function(){return(0,Kn.of)({builtin:!1,category:"switch",compute_id:"vm",console_auto_start:!1,console_type:"telnet",default_name_format:"IOU{0}",ethernet_adapters:1,l1_keepalives:!1,name:"",nvram:128,path:"",private_config:"",ram:256,serial_adapters:0,startup_config:"iou_l2_base_startup-config.txt",symbol:":/symbols/multilayer_switch.svg",template_id:"",template_type:"iou",usage:"",use_default_iou_values:!0})}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Cc=f(64097),Qse=["input"],Kse=function(i){return{enterDuration:i}},Xse=["*"],$se=new e.OlP("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}}),cj=0,tle={provide:re.JU,useExisting:(0,e.Gpc)(function(){return El}),multi:!0},dj=function r(i,t){(0,v.Z)(this,r),this.source=i,this.value=t},pj=new e.OlP("MatRadioGroup"),nle=function(){var r=function(){function i(t){(0,v.Z)(this,i),this._changeDetector=t,this._value=null,this._name="mat-radio-group-".concat(cj++),this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=function(){},this.onTouched=function(){},this.change=new e.vpe}return(0,g.Z)(i,[{key:"name",get:function(){return this._name},set:function(n){this._name=n,this._updateRadioButtonNames()}},{key:"labelPosition",get:function(){return this._labelPosition},set:function(n){this._labelPosition="before"===n?"before":"after",this._markRadiosForCheck()}},{key:"value",get:function(){return this._value},set:function(n){this._value!==n&&(this._value=n,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}},{key:"_checkSelectedRadioButton",value:function(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}},{key:"selected",get:function(){return this._selected},set:function(n){this._selected=n,this.value=n?n.value:null,this._checkSelectedRadioButton()}},{key:"disabled",get:function(){return this._disabled},set:function(n){this._disabled=(0,Hn.Ig)(n),this._markRadiosForCheck()}},{key:"required",get:function(){return this._required},set:function(n){this._required=(0,Hn.Ig)(n),this._markRadiosForCheck()}},{key:"ngAfterContentInit",value:function(){this._isInitialized=!0}},{key:"_touch",value:function(){this.onTouched&&this.onTouched()}},{key:"_updateRadioButtonNames",value:function(){var n=this;this._radios&&this._radios.forEach(function(a){a.name=n.name,a._markForCheck()})}},{key:"_updateSelectedRadioFromValue",value:function(){var n=this;this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(function(o){o.checked=n.value===o.value,o.checked&&(n._selected=o)}))}},{key:"_emitChangeEvent",value:function(){this._isInitialized&&this.change.emit(new dj(this._selected,this._value))}},{key:"_markRadiosForCheck",value:function(){this._radios&&this._radios.forEach(function(n){return n._markForCheck()})}},{key:"writeValue",value:function(n){this.value=n,this._changeDetector.markForCheck()}},{key:"registerOnChange",value:function(n){this._controlValueAccessorChangeFn=n}},{key:"registerOnTouched",value:function(n){this.onTouched=n}},{key:"setDisabledState",value:function(n){this.disabled=n,this._changeDetector.markForCheck()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.sBO))},r.\u0275dir=e.lG2({type:r,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),r}(),El=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(){return(0,v.Z)(this,n),t.apply(this,arguments)}return n}(nle);return r.\u0275fac=function(){var i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,selectors:[["mat-radio-group"]],contentQueries:function(t,n,a){var o;1&t&&e.Suo(a,Ml,5),2&t&&e.iGM(o=e.CRH())&&(n._radios=o)},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[e._Bn([tle,{provide:pj,useExisting:r}]),e.qOj]}),r}(),rle=function r(i){(0,v.Z)(this,r),this._elementRef=i},ile=(0,sn.Kr)((0,sn.sb)(rle)),ale=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o,s,l,d,h,C,P){var N;return(0,v.Z)(this,n),(N=t.call(this,o))._changeDetector=s,N._focusMonitor=l,N._radioDispatcher=d,N._providerOverride=C,N._uniqueId="mat-radio-".concat(++cj),N.id=N._uniqueId,N.change=new e.vpe,N._checked=!1,N._value=null,N._removeUniqueSelectionListener=function(){},N.radioGroup=a,N._noopAnimations="NoopAnimations"===h,P&&(N.tabIndex=(0,Hn.su)(P,0)),N._removeUniqueSelectionListener=d.listen(function(q,Q){q!==N.id&&Q===N.name&&(N.checked=!1)}),N}return(0,g.Z)(n,[{key:"checked",get:function(){return this._checked},set:function(o){var s=(0,Hn.Ig)(o);this._checked!==s&&(this._checked=s,s&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!s&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),s&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}},{key:"value",get:function(){return this._value},set:function(o){this._value!==o&&(this._value=o,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===o),this.checked&&(this.radioGroup.selected=this)))}},{key:"labelPosition",get:function(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"},set:function(o){this._labelPosition=o}},{key:"disabled",get:function(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled},set:function(o){this._setDisabled((0,Hn.Ig)(o))}},{key:"required",get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(o){this._required=(0,Hn.Ig)(o)}},{key:"color",get:function(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"},set:function(o){this._color=o}},{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"focus",value:function(o,s){s?this._focusMonitor.focusVia(this._inputElement,s,o):this._inputElement.nativeElement.focus(o)}},{key:"_markForCheck",value:function(){this._changeDetector.markForCheck()}},{key:"ngOnInit",value:function(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}},{key:"ngAfterViewInit",value:function(){var o=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(s){!s&&o.radioGroup&&o.radioGroup._touch()})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}},{key:"_emitChangeEvent",value:function(){this.change.emit(new dj(this,this._value))}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onInputClick",value:function(o){o.stopPropagation()}},{key:"_onInputInteraction",value:function(o){if(o.stopPropagation(),!this.checked&&!this.disabled){var s=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),s&&this.radioGroup._emitChangeEvent())}}},{key:"_setDisabled",value:function(o){this._disabled!==o&&(this._disabled=o,this._changeDetector.markForCheck())}}]),n}(ile);return r.\u0275fac=function(t){e.$Z()},r.\u0275dir=e.lG2({type:r,viewQuery:function(t,n){var a;1&t&&e.Gf(Qse,5),2&t&&e.iGM(a=e.CRH())&&(n._inputElement=a.first)},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[e.qOj]}),r}(),Ml=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o,s,l,d,h,C,P){return(0,v.Z)(this,n),t.call(this,a,o,s,l,d,h,C,P)}return n}(ale);return r.\u0275fac=function(t){return new(t||r)(e.Y36(pj,8),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(Gi.tE),e.Y36(ma.A8),e.Y36(Js.Qb,8),e.Y36($se,8),e.$8M("tabindex"))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(t,n){1&t&&e.NdJ("focus",function(){return n._inputElement.nativeElement.focus()}),2&t&&(e.uIk("tabindex",null)("id",n.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),e.ekj("mat-radio-checked",n.checked)("mat-radio-disabled",n.disabled)("_mat-animation-noopable",n._noopAnimations)("mat-primary","primary"===n.color)("mat-accent","accent"===n.color)("mat-warn","warn"===n.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[e.qOj],ngContentSelectors:Xse,decls:13,vars:20,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(t,n){if(1&t&&(e.F$t(),e.TgZ(0,"label",0,1),e.TgZ(2,"span",2),e._UZ(3,"span",3),e._UZ(4,"span",4),e.TgZ(5,"input",5,6),e.NdJ("change",function(s){return n._onInputInteraction(s)})("click",function(s){return n._onInputClick(s)}),e.qZA(),e.TgZ(7,"span",7),e._UZ(8,"span",8),e.qZA(),e.qZA(),e.TgZ(9,"span",9),e.TgZ(10,"span",10),e._uU(11,"\xa0"),e.qZA(),e.Hsn(12),e.qZA(),e.qZA()),2&t){var a=e.MAs(1);e.uIk("for",n.inputId),e.xp6(5),e.Q6J("id",n.inputId)("checked",n.checked)("disabled",n.disabled)("tabIndex",n.tabIndex)("required",n.required),e.uIk("name",n.name)("value",n.value)("aria-label",n.ariaLabel)("aria-labelledby",n.ariaLabelledby)("aria-describedby",n.ariaDescribedby),e.xp6(2),e.Q6J("matRippleTrigger",a)("matRippleDisabled",n._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",e.VKq(18,Kse,n._noopAnimations?0:150)),e.xp6(2),e.ekj("mat-radio-label-before","before"==n.labelPosition)}},directives:[sn.wG],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-ripple,.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-ripple{outline:solid 3px}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),r}(),ole=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[[sn.si,sn.BQ],sn.BQ]}),r}(),sle=function(){var r=function(){function i(t,n,a,o,s,l,d,h){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.builtInTemplatesService=a,this.router=o,this.toasterService=s,this.templateMocksService=l,this.formBuilder=d,this.computeService=h,this.templateName="",this.isGns3VmAvailable=!1,this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0,this.formGroup=this.formBuilder.group({templateName:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(a,10)).then(function(o){n.server=o,n.computeService.getComputes(o).subscribe(function(s){s.filter(function(l){return"vm"===l.compute_id}).length>0&&(n.isGns3VmAvailable=!0)})})}},{key:"setServerType",value:function(n){"gns3 vm"===n&&this.isGns3VmAvailable?(this.isGns3VmChosen=!0,this.isLocalComputerChosen=!1):(this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0)}},{key:"goBack",value:function(){this.router.navigate(["/server",this.server.id,"preferences","builtin","cloud-nodes"])}},{key:"addTemplate",value:function(){var a,n=this;this.formGroup.invalid?this.toasterService.error("Fill all required fields"):(this.templateMocksService.getCloudNodeTemplate().subscribe(function(o){a=o}),a.template_id=(0,Eo.v4)(),a.name=this.formGroup.get("templateName").value,a.compute_id=this.isGns3VmChosen?"vm":"local",this.builtInTemplatesService.addTemplate(this.server,a).subscribe(function(o){n.goBack()}))}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(pd),e.Y36(xr),e.Y36(Yn),e.Y36(bc),e.Y36(re.qu),e.Y36(Cc.X))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-cloud-nodes-add-template"]],decls:20,vars:2,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[1,"matCard"],[1,"radio-group"],["value","1","checked","",1,"radio-button",3,"click"],["value","2",1,"radio-button",3,"disabled","click"],[3,"formGroup"],[1,"form-field"],["formControlName","templateName","matInput","","type","text","placeholder","Template name"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"New cloud node template"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"mat-card",5),e.TgZ(7,"mat-radio-group",6),e.TgZ(8,"mat-radio-button",7),e.NdJ("click",function(){return n.setServerType("local")}),e._uU(9,"Run the cloud node locally"),e.qZA(),e.TgZ(10,"mat-radio-button",8),e.NdJ("click",function(){return n.setServerType("gns3 vm")}),e._uU(11,"Run the cloud node on the GNS3 VM"),e.qZA(),e.qZA(),e.TgZ(12,"form",9),e.TgZ(13,"mat-form-field",10),e._UZ(14,"input",11),e.qZA(),e.qZA(),e.qZA(),e.TgZ(15,"div",12),e.TgZ(16,"button",13),e.NdJ("click",function(){return n.goBack()}),e._uU(17,"Cancel"),e.qZA(),e.TgZ(18,"button",14),e.NdJ("click",function(){return n.addTemplate()}),e._uU(19,"Add template"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(10),e.Q6J("disabled",!n.isGns3VmAvailable),e.xp6(2),e.Q6J("formGroup",n.formGroup))},directives:[Ti,El,Ml,re._Y,re.JL,re.sg,Ln.KE,re.Fj,ir,re.JJ,re.u,En],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}(),Gf=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"getCategoriesForCloudNodes",value:function(){return[["Default","guest"],["Routers","router"],["Switches","switch"],["End devices","guest"],["Security devices","firewall"]]}},{key:"getConsoleTypesForCloudNodes",value:function(){return["telnet","vnc","spice","http","https","none"]}},{key:"getCategoriesForEthernetHubs",value:function(){return[["Default","guest"],["Routers","router"],["Switches","switch"],["End devices","guest"],["Security devices","firewall"]]}},{key:"getCategoriesForEthernetSwitches",value:function(){return[["Default","guest"],["Routers","router"],["Switches","switch"],["End devices","guest"],["Security devices","firewall"]]}},{key:"getConsoleTypesForEthernetSwitches",value:function(){return["telnet","none"]}},{key:"getPortTypesForEthernetSwitches",value:function(){return["access","dot1q","qinq"]}},{key:"getEtherTypesForEthernetSwitches",value:function(){return["0x8100","0x88A8","0x9100","0x9200"]}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),lle=f(41510),J1=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.httpServer=t,this.symbols=new $i.X([]),this.maximumSymbolSize=80}return(0,g.Z)(i,[{key:"getMaximumSymbolSize",value:function(){return this.maximumSymbolSize}},{key:"get",value:function(n){return this.symbols.getValue().find(function(a){return a.symbol_id===n})}},{key:"getDimensions",value:function(n,a){var o=encodeURI(a);return this.httpServer.get(n,"/symbols/".concat(o,"/dimensions"))}},{key:"scaleDimensionsForNode",value:function(n){var a=n.width>n.height?this.maximumSymbolSize/n.width:this.maximumSymbolSize/n.height;return{width:n.width*a,height:n.height*a}}},{key:"getByFilename",value:function(n){return this.symbols.getValue().find(function(a){return a.filename===n})}},{key:"add",value:function(n,a,o){return this.cache=null,this.httpServer.post(n,"/symbols/".concat(a,"/raw"),o)}},{key:"load",value:function(n){return this.httpServer.get(n,"/symbols")}},{key:"list",value:function(n){return this.cache||(this.cache=this.load(n).pipe((0,lle.d)(1))),this.cache}},{key:"raw",value:function(n,a){var o=encodeURI(a);return this.httpServer.getText(n,"/symbols/".concat(o,"/raw"))}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(Ja.wh))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),cle=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"transform",value:function(n,a){return n?a?(a=a.toLowerCase(),n.filter(function(o){return o.filename.toLowerCase().includes(a)})):n:[]}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275pipe=e.Yjl({name:"filenamefilter",type:r,pure:!0}),r}(),dle=function(i){return{buttonSelected:i}},ple=function(i){return{imageSelected:i}};function fle(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",12),e.TgZ(1,"button",13),e.NdJ("click",function(){var l=e.CHM(t).$implicit;return e.oxw().setSelected(l.symbol_id)}),e._UZ(2,"img",14),e.qZA(),e.qZA()}if(2&r){var n=i.$implicit,a=e.oxw();e.xp6(1),e.Q6J("ngClass",e.VKq(3,dle,a.isSelected===n.symbol_id)),e.xp6(1),e.Q6J("ngClass",e.VKq(5,ple,a.isSelected===n.symbol_id))("src",a.getImageSourceForTemplate(n.symbol_id),e.LSH)}}var hle=function(){return{standalone:!0}},fj=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.symbolService=t,this.symbolChanged=new e.vpe,this.symbols=[],this.filteredSymbols=[],this.isSelected="",this.searchText=""}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){this.isSelected=this.symbol,this.loadSymbols()}},{key:"setFilter",value:function(n){this.filteredSymbols="all"===n?this.symbols:this.symbols.filter("builtin"===n?function(a){return a.builtin}:function(a){return!a.builtin})}},{key:"setSelected",value:function(n){this.isSelected=n,this.symbolChanged.emit(this.isSelected)}},{key:"loadSymbols",value:function(){var n=this;this.symbolService.list(this.server).subscribe(function(a){n.symbols=a,n.filteredSymbols=a})}},{key:"uploadSymbolFile",value:function(n){this.readSymbolFile(n.target)}},{key:"readSymbolFile",value:function(n){var a=this,o=n.files[0],s=n.files[0].name,l=new FileReader,d=new Image;l.onloadend=function(){var C=a.createSvgFileForImage(l.result,d);a.symbolService.add(a.server,s,C).subscribe(function(){a.loadSymbols()})},d.onload=function(){l.readAsDataURL(o)},d.src=window.URL.createObjectURL(o)}},{key:"createSvgFileForImage",value:function(n,a){return'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="'.concat(a.height,'" \n                width="').concat(a.width,'">\n<image height="').concat(a.height,'" width="').concat(a.width,'" xlink:href="').concat(n,'"/>\n</svg>')}},{key:"getImageSourceForTemplate",value:function(n){return"".concat(this.server.protocol,"//").concat(this.server.host,":").concat(this.server.port,"/v2/symbols/").concat(n,"/raw")}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(J1))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-symbols"]],inputs:{server:"server",symbol:"symbol"},outputs:{symbolChanged:"symbolChanged"},decls:20,vars:7,consts:[[1,"menu"],["aria-label","Select an option",1,"radio-selection"],["value","1","checked","",3,"click"],["value","2",3,"click"],["value","3",3,"click"],["type","file","accept",".svg, .bmp, .jpeg, .jpg, .gif, .png",1,"non-visible",3,"change"],["file",""],["mat-button","",3,"click"],[1,"example-full-width"],["matInput","","placeholder","Search by filename",3,"ngModel","ngModelOptions","ngModelChange"],[1,"wrapper"],["class","buttonWrapper",4,"ngFor","ngForOf"],[1,"buttonWrapper"],[1,"button",3,"ngClass","click"],["lazyimg","",1,"image",3,"ngClass","src"]],template:function(t,n){if(1&t){var a=e.EpF();e.TgZ(0,"div",0),e.TgZ(1,"mat-radio-group",1),e.TgZ(2,"mat-radio-button",2),e.NdJ("click",function(){return n.setFilter("all")}),e._uU(3,"All symbols"),e.qZA(),e.TgZ(4,"mat-radio-button",3),e.NdJ("click",function(){return n.setFilter("builtin")}),e._uU(5,"Built-in symbols"),e.qZA(),e.TgZ(6,"mat-radio-button",4),e.NdJ("click",function(){return n.setFilter("custom")}),e._uU(7,"Custom symbols"),e.qZA(),e.qZA(),e.TgZ(8,"input",5,6),e.NdJ("change",function(s){return n.uploadSymbolFile(s)}),e.qZA(),e.TgZ(10,"button",7),e.NdJ("click",function(){return e.CHM(a),e.MAs(9).click()}),e.TgZ(11,"mat-icon"),e._uU(12,"add"),e.qZA(),e._uU(13," Add symbol "),e.qZA(),e.qZA(),e.TgZ(14,"form"),e.TgZ(15,"mat-form-field",8),e.TgZ(16,"input",9),e.NdJ("ngModelChange",function(s){return n.searchText=s}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(17,"div",10),e.YNc(18,fle,3,7,"div",11),e.ALo(19,"filenamefilter"),e.qZA()}2&t&&(e.xp6(16),e.Q6J("ngModel",n.searchText)("ngModelOptions",e.DdM(6,hle)),e.xp6(2),e.Q6J("ngForOf",e.xi3(19,3,n.filteredSymbols,n.searchText)))},directives:[El,Ml,En,er,re._Y,re.JL,re.F,Ln.KE,ir,re.Fj,re.JJ,re.On,Pt.sg,Pt.mk],pipes:[cle],styles:[".buttonWrapper[_ngcontent-%COMP%]{width:85px;height:85px;display:flex;align-items:center;margin-left:auto;margin-right:auto;outline:none}.menu[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.button[_ngcontent-%COMP%]{background:border-box;border-width:0px;outline:none}.buttonSelected[_ngcontent-%COMP%]{border-width:3px;background:#0097a7!important}.image[_ngcontent-%COMP%]{width:65px;height:65px;filter:invert(0);--webkit-filter: invert(0) !important}.imageSelected[_ngcontent-%COMP%]{margin-left:0}.wrapper[_ngcontent-%COMP%]{display:grid;grid-template-rows:auto;grid-template-columns:repeat(7,1fr);grid-row-gap:3em;grid-column-gap:1em}.radio-selection[_ngcontent-%COMP%]{width:90%}.mat-radio-button[_ngcontent-%COMP%] ~ .mat-radio-button[_ngcontent-%COMP%]{margin-left:16px}.non-visible[_ngcontent-%COMP%]{display:none}.example-full-width[_ngcontent-%COMP%]{width:100%}"]}),r}(),fd=function(){var r=function(){function i(){(0,v.Z)(this,i),this.symbolChangedEmitter=new e.vpe,this.chosenSymbol=""}return(0,g.Z)(i,[{key:"symbolChanged",value:function(n){this.chosenSymbol=n}},{key:"chooseSymbol",value:function(){this.symbolChangedEmitter.emit(this.chosenSymbol)}},{key:"cancelChooseSymbol",value:function(){this.symbolChangedEmitter.emit(this.symbol)}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-symbols-menu"]],inputs:{server:"server",symbol:"symbol"},outputs:{symbolChangedEmitter:"symbolChangedEmitter"},decls:11,vars:2,consts:[[1,"configurator"],[1,"default-header"],[1,"row"],[1,"col"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",1,"top-button",3,"click"],[1,"default-content"],[3,"server","symbol","symbolChanged"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Symbol selection"),e.qZA(),e.TgZ(5,"button",4),e.NdJ("click",function(){return n.cancelChooseSymbol()}),e._uU(6,"Cancel"),e.qZA(),e.TgZ(7,"button",5),e.NdJ("click",function(){return n.chooseSymbol()}),e._uU(8,"Choose symbol"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(9,"div",6),e.TgZ(10,"app-symbols",7),e.NdJ("symbolChanged",function(o){return n.symbolChanged(o)}),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(10),e.Q6J("server",n.server)("symbol",n.symbol))},directives:[En,fj],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}();function mle(r,i){if(1&r&&(e.TgZ(0,"mat-option",32),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}function vle(r,i){if(1&r&&(e.TgZ(0,"mat-option",32),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function gle(r,i){if(1&r&&(e.TgZ(0,"div",7),e.TgZ(1,"div",7),e._uU(2),e.qZA(),e._UZ(3,"br"),e._UZ(4,"br"),e.qZA()),2&r){var t=i.$implicit;e.xp6(2),e.Oqu(t.name)}}function _le(r,i){if(1&r&&(e.TgZ(0,"mat-option",32),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function yle(r,i){if(1&r&&(e.TgZ(0,"div",7),e.TgZ(1,"div",7),e._uU(2),e.qZA(),e._UZ(3,"br"),e._UZ(4,"br"),e.qZA()),2&r){var t=i.$implicit;e.xp6(2),e.Oqu(t.name)}}function ble(r,i){1&r&&(e.TgZ(0,"th",42),e._uU(1,"Name"),e.qZA())}function Cle(r,i){if(1&r&&(e.TgZ(0,"td",43),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.Oqu(t.name)}}function Sle(r,i){1&r&&(e.TgZ(0,"th",42),e._uU(1,"Local port"),e.qZA())}function Tle(r,i){if(1&r&&(e.TgZ(0,"td",43),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.Oqu(t.rport)}}function kle(r,i){1&r&&(e.TgZ(0,"th",42),e._uU(1,"Type"),e.qZA())}function wle(r,i){if(1&r&&(e.TgZ(0,"td",43),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.Oqu(t.rhost)}}function xle(r,i){1&r&&(e.TgZ(0,"th",42),e._uU(1,"Remote port"),e.qZA())}function Ele(r,i){if(1&r&&(e.TgZ(0,"td",43),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.Oqu(t.lport)}}function Mle(r,i){1&r&&e._UZ(0,"tr",44)}function Ale(r,i){1&r&&e._UZ(0,"tr",45)}function Dle(r,i){if(1&r&&(e.TgZ(0,"table",33),e.ynx(1,34),e.YNc(2,ble,2,0,"th",35),e.YNc(3,Cle,2,1,"td",36),e.BQk(),e.ynx(4,37),e.YNc(5,Sle,2,0,"th",35),e.YNc(6,Tle,2,1,"td",36),e.BQk(),e.ynx(7,38),e.YNc(8,kle,2,0,"th",35),e.YNc(9,wle,2,1,"td",36),e.BQk(),e.ynx(10,39),e.YNc(11,xle,2,0,"th",35),e.YNc(12,Ele,2,1,"td",36),e.BQk(),e.YNc(13,Mle,1,0,"tr",40),e.YNc(14,Ale,1,0,"tr",41),e.qZA()),2&r){var t=e.oxw(2);e.Q6J("dataSource",t.dataSourceUdp),e.xp6(13),e.Q6J("matHeaderRowDef",t.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",t.displayedColumns)}}function Ole(r,i){1&r&&e._UZ(0,"br")}var Ple=function(){return{standalone:!0}};function Ile(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",6),e.TgZ(1,"mat-accordion"),e.TgZ(2,"mat-expansion-panel"),e.TgZ(3,"mat-expansion-panel-header"),e.TgZ(4,"mat-panel-title"),e._uU(5," General "),e.qZA(),e.qZA(),e.TgZ(6,"mat-form-field",7),e.TgZ(7,"input",8),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().cloudNodeTemplate.name=o}),e.qZA(),e.qZA(),e.TgZ(8,"mat-form-field",7),e.TgZ(9,"input",9),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().cloudNodeTemplate.default_name_format=o}),e.qZA(),e.qZA(),e.TgZ(10,"mat-form-field",7),e.TgZ(11,"input",10),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().cloudNodeTemplate.symbol=o}),e.qZA(),e.qZA(),e.TgZ(12,"button",11),e.NdJ("click",function(){return e.CHM(t),e.oxw().chooseSymbol()}),e._uU(13,"Choose symbol"),e.qZA(),e._UZ(14,"br"),e._UZ(15,"br"),e.TgZ(16,"mat-form-field",7),e.TgZ(17,"mat-select",12),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().cloudNodeTemplate.category=o}),e.YNc(18,mle,2,2,"mat-option",13),e.qZA(),e.qZA(),e.TgZ(19,"mat-form-field",14),e.TgZ(20,"mat-select",15),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().cloudNodeTemplate.console_type=o}),e.YNc(21,vle,2,2,"mat-option",13),e.qZA(),e.qZA(),e.TgZ(22,"mat-form-field",7),e.TgZ(23,"input",16),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().cloudNodeTemplate.remote_console_host=o}),e.qZA(),e.qZA(),e.TgZ(24,"mat-form-field",7),e.TgZ(25,"input",17),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().cloudNodeTemplate.remote_console_port=o}),e.qZA(),e.qZA(),e.TgZ(26,"mat-form-field",7),e.TgZ(27,"input",18),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().cloudNodeTemplate.remote_console_http_path=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(28,"mat-expansion-panel"),e.TgZ(29,"mat-expansion-panel-header"),e.TgZ(30,"mat-panel-title"),e._uU(31," Ethernet interfaces "),e.qZA(),e.qZA(),e.YNc(32,gle,5,1,"div",19),e.TgZ(33,"mat-form-field",14),e.TgZ(34,"mat-select",20),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().ethernetInterface=o}),e.YNc(35,_le,2,2,"mat-option",13),e.qZA(),e.qZA(),e.TgZ(36,"button",21),e.NdJ("click",function(){return e.CHM(t),e.oxw().onAddEthernetInterface()}),e._uU(37,"Add"),e.qZA(),e.qZA(),e.TgZ(38,"mat-expansion-panel"),e.TgZ(39,"mat-expansion-panel-header"),e.TgZ(40,"mat-panel-title"),e._uU(41," TAP interfaces "),e.qZA(),e.qZA(),e.YNc(42,yle,5,1,"div",19),e.TgZ(43,"mat-form-field",7),e.TgZ(44,"input",22),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().tapInterface=o}),e.qZA(),e.qZA(),e.TgZ(45,"button",21),e.NdJ("click",function(){return e.CHM(t),e.oxw().onAddTapInterface()}),e._uU(46,"Add"),e.qZA(),e.qZA(),e.TgZ(47,"mat-expansion-panel"),e.TgZ(48,"mat-expansion-panel-header"),e.TgZ(49,"mat-panel-title"),e._uU(50," UDP tunnels "),e.qZA(),e.qZA(),e.YNc(51,Dle,15,3,"table",23),e.YNc(52,Ole,1,0,"br",24),e.TgZ(53,"mat-form-field",7),e.TgZ(54,"input",25),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().newPort.name=o}),e.qZA(),e.qZA(),e.TgZ(55,"mat-form-field",7),e.TgZ(56,"input",26),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().newPort.lport=o}),e.qZA(),e.qZA(),e.TgZ(57,"mat-form-field",7),e.TgZ(58,"input",27),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().newPort.rhost=o}),e.qZA(),e.qZA(),e.TgZ(59,"mat-form-field",7),e.TgZ(60,"input",28),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().newPort.rport=o}),e.qZA(),e.qZA(),e.TgZ(61,"button",21),e.NdJ("click",function(){return e.CHM(t),e.oxw().onAddUdpInterface()}),e._uU(62,"Add"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(63,"div",29),e.TgZ(64,"button",30),e.NdJ("click",function(){return e.CHM(t),e.oxw().goBack()}),e._uU(65,"Cancel"),e.qZA(),e.TgZ(66,"button",31),e.NdJ("click",function(){return e.CHM(t),e.oxw().onSave()}),e._uU(67,"Save"),e.qZA(),e._UZ(68,"br"),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(7),e.Q6J("ngModel",n.cloudNodeTemplate.name),e.xp6(2),e.Q6J("ngModel",n.cloudNodeTemplate.default_name_format),e.xp6(2),e.Q6J("ngModel",n.cloudNodeTemplate.symbol),e.xp6(6),e.Q6J("ngModel",n.cloudNodeTemplate.category),e.xp6(1),e.Q6J("ngForOf",n.categories),e.xp6(2),e.Q6J("ngModel",n.cloudNodeTemplate.console_type),e.xp6(1),e.Q6J("ngForOf",n.consoleTypes),e.xp6(2),e.Q6J("ngModel",n.cloudNodeTemplate.remote_console_host),e.xp6(2),e.Q6J("ngModel",n.cloudNodeTemplate.remote_console_port),e.xp6(2),e.Q6J("ngModel",n.cloudNodeTemplate.remote_console_http_path),e.xp6(5),e.Q6J("ngForOf",n.portsMappingEthernet),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(22,Ple))("ngModel",n.ethernetInterface),e.xp6(1),e.Q6J("ngForOf",n.ethernetInterfaces),e.xp6(7),e.Q6J("ngForOf",n.portsMappingTap),e.xp6(2),e.Q6J("ngModel",n.tapInterface),e.xp6(7),e.Q6J("ngIf",n.dataSourceUdp.length),e.xp6(1),e.Q6J("ngIf",n.dataSourceUdp.length),e.xp6(2),e.Q6J("ngModel",n.newPort.name),e.xp6(2),e.Q6J("ngModel",n.newPort.lport),e.xp6(2),e.Q6J("ngModel",n.newPort.rhost),e.xp6(2),e.Q6J("ngModel",n.newPort.rport)}}function Rle(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"app-symbols-menu",46),e.NdJ("symbolChangedEmitter",function(o){return e.CHM(t),e.oxw().symbolChanged(o)}),e.qZA()}if(2&r){var n=e.oxw();e.Q6J("server",n.server)("symbol",n.cloudNodeTemplate.symbol)}}var Nle=function(i){return{shadowed:i}},Zle=function(){var r=function(){function i(t,n,a,o,s,l){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.builtInTemplatesService=a,this.toasterService=o,this.builtInTemplatesConfigurationService=s,this.router=l,this.isSymbolSelectionOpened=!1,this.categories=[],this.consoleTypes=[],this.tapInterface="",this.ethernetInterface="",this.ethernetInterfaces=["Ethernet 2","Ethernet 3"],this.portsMappingEthernet=[],this.portsMappingTap=[],this.portsMappingUdp=[],this.displayedColumns=["name","lport","rhost","rport"],this.dataSourceUdp=[],this.newPort={name:"",port_number:0}}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id"),o=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(a,10)).then(function(s){n.server=s,n.getConfiguration(),n.builtInTemplatesService.getTemplate(n.server,o).subscribe(function(l){n.cloudNodeTemplate=l,n.portsMappingEthernet=n.cloudNodeTemplate.ports_mapping.filter(function(d){return"ethernet"===d.type}),n.portsMappingTap=n.cloudNodeTemplate.ports_mapping.filter(function(d){return"tap"===d.type}),n.portsMappingUdp=n.cloudNodeTemplate.ports_mapping.filter(function(d){return"udp"===d.type}),n.dataSourceUdp=n.portsMappingUdp})})}},{key:"goBack",value:function(){this.router.navigate(["/server",this.server.id,"preferences","builtin","cloud-nodes"])}},{key:"getConfiguration",value:function(){this.categories=this.builtInTemplatesConfigurationService.getCategoriesForCloudNodes(),this.consoleTypes=this.builtInTemplatesConfigurationService.getConsoleTypesForCloudNodes()}},{key:"onAddEthernetInterface",value:function(){this.ethernetInterface&&this.portsMappingEthernet.push({interface:this.ethernetInterface,name:this.ethernetInterface,port_number:0,type:"ethernet"})}},{key:"onAddTapInterface",value:function(){this.tapInterface&&this.portsMappingTap.push({interface:this.tapInterface,name:this.tapInterface,port_number:0,type:"tap"})}},{key:"onAddUdpInterface",value:function(){this.portsMappingUdp.push(this.newPort),this.dataSourceUdp=(0,T.Z)(this.portsMappingUdp),this.newPort={name:"",port_number:0}}},{key:"onSave",value:function(){var n=this;this.cloudNodeTemplate.ports_mapping=[].concat((0,T.Z)(this.portsMappingEthernet),(0,T.Z)(this.portsMappingTap)),this.builtInTemplatesService.saveTemplate(this.server,this.cloudNodeTemplate).subscribe(function(a){n.toasterService.success("Changes saved")})}},{key:"chooseSymbol",value:function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened}},{key:"symbolChanged",value:function(n){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.cloudNodeTemplate.symbol=n}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(pd),e.Y36(Yn),e.Y36(Gf),e.Y36(xr))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-cloud-nodes-template-details"]],decls:7,vars:5,consts:[[1,"content",3,"ngClass"],[1,"default-header"],[1,"row"],[1,"col"],["class","default-content",4,"ngIf"],[3,"server","symbol","symbolChangedEmitter",4,"ngIf"],[1,"default-content"],[1,"form-field"],["matInput","","type","text","placeholder","Template name",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Default name format",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Symbol",3,"ngModel","ngModelChange"],["mat-button","",1,"symbolSelectionButton",3,"click"],["placeholder","Category",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"select"],["placeholder","Console type",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Console host",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Console port",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Console HTTP path",3,"ngModel","ngModelChange"],["class","form-field",4,"ngFor","ngForOf"],["placeholder","Ethernet interface",3,"ngModelOptions","ngModel","ngModelChange"],["mat-button","",1,"form-field",3,"click"],["matInput","","type","text","placeholder","TAP interface",3,"ngModel","ngModelChange"],["class","table","mat-table","",3,"dataSource",4,"ngIf"],[4,"ngIf"],["matInput","","type","text","placeholder","Name",3,"ngModel","ngModelChange"],["matInput","","type","number","placeholder","Local port",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Remote host",3,"ngModel","ngModelChange"],["matInput","","type","number","placeholder","Remote port",3,"ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],["mat-table","",1,"table",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","rport"],["matColumnDef","rhost"],["matColumnDef","lport"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row",""],[3,"server","symbol","symbolChangedEmitter"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Cloud configuration"),e.qZA(),e.qZA(),e.qZA(),e.YNc(5,Ile,69,23,"div",4),e.qZA(),e.YNc(6,Rle,1,2,"app-symbols-menu",5)),2&t&&(e.Q6J("ngClass",e.VKq(3,Nle,n.isSymbolSelectionOpened)),e.xp6(5),e.Q6J("ngIf",n.cloudNodeTemplate),e.xp6(1),e.Q6J("ngIf",n.isSymbolSelectionOpened&&n.cloudNodeTemplate))},directives:[Pt.mk,Pt.O5,dd,_c,yc,cd,Ln.KE,ir,re.Fj,re.JJ,re.On,En,yi.gD,Pt.sg,re.wV,sn.ey,nu,kl,Tl,Sl,ru,iu,wl,xl,au,ou,fd],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}();function Lle(r,i){}var S6=function r(){(0,v.Z)(this,r),this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0},Fle={dialogContainer:(0,en.X$)("dialogContainer",[(0,en.SB)("void, exit",(0,en.oB)({opacity:0,transform:"scale(0.7)"})),(0,en.SB)("enter",(0,en.oB)({transform:"none"})),(0,en.eR)("* => enter",(0,en.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,en.oB)({transform:"none",opacity:1}))),(0,en.eR)("* => void, * => exit",(0,en.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,en.oB)({opacity:0})))])},Ble=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o,s,l,d,h,C,P){var N;return(0,v.Z)(this,n),(N=t.call(this))._elementRef=a,N._focusTrapFactory=o,N._changeDetectorRef=s,N._config=d,N._interactivityChecker=h,N._ngZone=C,N._focusMonitor=P,N._animationStateChanged=new e.vpe,N._elementFocusedBeforeDialogWasOpened=null,N._closeInteractionType=null,N.attachDomPortal=function(q){return N._portalOutlet.hasAttached(),N._portalOutlet.attachDomPortal(q)},N._ariaLabelledBy=d.ariaLabelledBy||null,N._document=l,N}return(0,g.Z)(n,[{key:"_initializeWithAttachedContent",value:function(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement()}},{key:"attachComponentPortal",value:function(o){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(o)}},{key:"attachTemplatePortal",value:function(o){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(o)}},{key:"_recaptureFocus",value:function(){this._containsFocus()||this._trapFocus()}},{key:"_forceFocus",value:function(o,s){this._interactivityChecker.isFocusable(o)||(o.tabIndex=-1,this._ngZone.runOutsideAngular(function(){o.addEventListener("blur",function(){return o.removeAttribute("tabindex")}),o.addEventListener("mousedown",function(){return o.removeAttribute("tabindex")})})),o.focus(s)}},{key:"_focusByCssSelector",value:function(o,s){var l=this._elementRef.nativeElement.querySelector(o);l&&this._forceFocus(l,s)}},{key:"_trapFocus",value:function(){var o=this,s=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||s.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(function(l){l||o._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}},{key:"_restoreFocus",value:function(){var o=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&o&&"function"==typeof o.focus){var s=(0,vi.ht)(),l=this._elementRef.nativeElement;(!s||s===this._document.body||s===l||l.contains(s))&&(this._focusMonitor?(this._focusMonitor.focusVia(o,this._closeInteractionType),this._closeInteractionType=null):o.focus())}this._focusTrap&&this._focusTrap.destroy()}},{key:"_setupFocusTrap",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}},{key:"_capturePreviouslyFocusedElement",value:function(){this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,vi.ht)())}},{key:"_focusDialogContainer",value:function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}},{key:"_containsFocus",value:function(){var o=this._elementRef.nativeElement,s=(0,vi.ht)();return o===s||o.contains(s)}}]),n}(ta.en);return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(Gi.qV),e.Y36(e.sBO),e.Y36(Pt.K0,8),e.Y36(S6),e.Y36(Gi.ic),e.Y36(e.R0b),e.Y36(Gi.tE))},r.\u0275dir=e.lG2({type:r,viewQuery:function(t,n){var a;1&t&&e.Gf(ta.Pl,7),2&t&&e.iGM(a=e.CRH())&&(n._portalOutlet=a.first)},features:[e.qOj]}),r}(),Ule=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(){var a;return(0,v.Z)(this,n),(a=t.apply(this,arguments))._state="enter",a}return(0,g.Z)(n,[{key:"_onAnimationDone",value:function(o){var s=o.toState,l=o.totalTime;"enter"===s?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:l})):"exit"===s&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:l}))}},{key:"_onAnimationStart",value:function(o){var s=o.toState,l=o.totalTime;"enter"===s?this._animationStateChanged.next({state:"opening",totalTime:l}):("exit"===s||"void"===s)&&this._animationStateChanged.next({state:"closing",totalTime:l})}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}]),n}(Ble);return r.\u0275fac=function(){var i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,n){1&t&&e.WFA("@dialogContainer.start",function(o){return n._onAnimationStart(o)})("@dialogContainer.done",function(o){return n._onAnimationDone(o)}),2&t&&(e.Ikx("id",n._id),e.uIk("role",n._config.role)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledBy)("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null),e.d8E("@dialogContainer",n._state))},features:[e.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,n){1&t&&e.YNc(0,Lle,0,0,"ng-template",0)},directives:[ta.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[Fle.dialogContainer]}}),r}(),Hle=0,zr=function(){function r(i,t){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-".concat(Hle++);(0,v.Z)(this,r),this._overlayRef=i,this._containerInstance=t,this.id=a,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new Un.xQ,this._afterClosed=new Un.xQ,this._beforeClosed=new Un.xQ,this._state=0,t._id=a,t._animationStateChanged.pipe((0,ea.h)(function(o){return"opened"===o.state}),(0,Ea.q)(1)).subscribe(function(){n._afterOpened.next(),n._afterOpened.complete()}),t._animationStateChanged.pipe((0,ea.h)(function(o){return"closed"===o.state}),(0,Ea.q)(1)).subscribe(function(){clearTimeout(n._closeFallbackTimeout),n._finishDialogClose()}),i.detachments().subscribe(function(){n._beforeClosed.next(n._result),n._beforeClosed.complete(),n._afterClosed.next(n._result),n._afterClosed.complete(),n.componentInstance=null,n._overlayRef.dispose()}),i.keydownEvents().pipe((0,ea.h)(function(o){return o.keyCode===ui.hY&&!n.disableClose&&!(0,ui.Vb)(o)})).subscribe(function(o){o.preventDefault(),hj(n,"keyboard")}),i.backdropClick().subscribe(function(){n.disableClose?n._containerInstance._recaptureFocus():hj(n,"mouse")})}return(0,g.Z)(r,[{key:"close",value:function(t){var n=this;this._result=t,this._containerInstance._animationStateChanged.pipe((0,ea.h)(function(a){return"closing"===a.state}),(0,Ea.q)(1)).subscribe(function(a){n._beforeClosed.next(t),n._beforeClosed.complete(),n._overlayRef.detachBackdrop(),n._closeFallbackTimeout=setTimeout(function(){return n._finishDialogClose()},a.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}},{key:"afterOpened",value:function(){return this._afterOpened}},{key:"afterClosed",value:function(){return this._afterClosed}},{key:"beforeClosed",value:function(){return this._beforeClosed}},{key:"backdropClick",value:function(){return this._overlayRef.backdropClick()}},{key:"keydownEvents",value:function(){return this._overlayRef.keydownEvents()}},{key:"updatePosition",value:function(t){var n=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?n.left(t.left):n.right(t.right):n.centerHorizontally(),t&&(t.top||t.bottom)?t.top?n.top(t.top):n.bottom(t.bottom):n.centerVertically(),this._overlayRef.updatePosition(),this}},{key:"updateSize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this._overlayRef.updateSize({width:t,height:n}),this._overlayRef.updatePosition(),this}},{key:"addPanelClass",value:function(t){return this._overlayRef.addPanelClass(t),this}},{key:"removePanelClass",value:function(t){return this._overlayRef.removePanelClass(t),this}},{key:"getState",value:function(){return this._state}},{key:"_finishDialogClose",value:function(){this._state=2,this._overlayRef.dispose()}},{key:"_getPositionStrategy",value:function(){return this._overlayRef.getConfig().positionStrategy}}]),r}();function hj(r,i,t){return void 0!==r._containerInstance&&(r._containerInstance._closeInteractionType=i),r.close(t)}var hd=new e.OlP("MatDialogData"),Vle=new e.OlP("mat-dialog-default-options"),mj=new e.OlP("mat-dialog-scroll-strategy"),qle={provide:mj,deps:[Ga.aV],useFactory:function(r){return function(){return r.scrollStrategies.block()}}},zle=function(){var r=function(){function i(t,n,a,o,s,l,d,h,C,P){var N=this;(0,v.Z)(this,i),this._overlay=t,this._injector=n,this._defaultOptions=a,this._parentDialog=o,this._overlayContainer=s,this._dialogRefConstructor=d,this._dialogContainerType=h,this._dialogDataToken=C,this._animationMode=P,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Un.xQ,this._afterOpenedAtThisLevel=new Un.xQ,this._ariaHiddenElements=new Map,this._dialogAnimatingOpen=!1,this.afterAllClosed=(0,zZ.P)(function(){return N.openDialogs.length?N._getAfterAllClosed():N._getAfterAllClosed().pipe((0,$o.O)(void 0))}),this._scrollStrategy=l}return(0,g.Z)(i,[{key:"openDialogs",get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},{key:"afterOpened",get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}},{key:"_getAfterAllClosed",value:function(){var n=this._parentDialog;return n?n._getAfterAllClosed():this._afterAllClosedAtThisLevel}},{key:"open",value:function(n,a){var o=this;if(a=function(r,i){return(0,D.Z)((0,D.Z)({},i),r)}(a,this._defaultOptions||new S6),a.id&&this.getDialogById(a.id),this._dialogAnimatingOpen)return this._lastDialogRef;var s=this._createOverlay(a),l=this._attachDialogContainer(s,a);if("NoopAnimations"!==this._animationMode){var d=l._animationStateChanged.subscribe(function(C){"opening"===C.state&&(o._dialogAnimatingOpen=!0),"opened"===C.state&&(o._dialogAnimatingOpen=!1,d.unsubscribe())});this._animationStateSubscriptions||(this._animationStateSubscriptions=new Lo.w),this._animationStateSubscriptions.add(d)}var h=this._attachDialogContent(n,l,s,a);return this._lastDialogRef=h,this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(h),h.afterClosed().subscribe(function(){return o._removeOpenDialog(h)}),this.afterOpened.next(h),l._initializeWithAttachedContent(),h}},{key:"closeAll",value:function(){this._closeDialogs(this.openDialogs)}},{key:"getDialogById",value:function(n){return this.openDialogs.find(function(a){return a.id===n})}},{key:"ngOnDestroy",value:function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._animationStateSubscriptions&&this._animationStateSubscriptions.unsubscribe()}},{key:"_createOverlay",value:function(n){var a=this._getOverlayConfig(n);return this._overlay.create(a)}},{key:"_getOverlayConfig",value:function(n){var a=new Ga.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:n.scrollStrategy||this._scrollStrategy(),panelClass:n.panelClass,hasBackdrop:n.hasBackdrop,direction:n.direction,minWidth:n.minWidth,minHeight:n.minHeight,maxWidth:n.maxWidth,maxHeight:n.maxHeight,disposeOnNavigation:n.closeOnNavigation});return n.backdropClass&&(a.backdropClass=n.backdropClass),a}},{key:"_attachDialogContainer",value:function(n,a){var s=e.zs3.create({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:S6,useValue:a}]}),l=new ta.C5(this._dialogContainerType,a.viewContainerRef,s,a.componentFactoryResolver);return n.attach(l).instance}},{key:"_attachDialogContent",value:function(n,a,o,s){var l=new this._dialogRefConstructor(o,a,s.id);if(n instanceof e.Rgc)a.attachTemplatePortal(new ta.UE(n,null,{$implicit:s.data,dialogRef:l}));else{var d=this._createInjector(s,l,a),h=a.attachComponentPortal(new ta.C5(n,s.viewContainerRef,d));l.componentInstance=h.instance}return l.updateSize(s.width,s.height).updatePosition(s.position),l}},{key:"_createInjector",value:function(n,a,o){var s=n&&n.viewContainerRef&&n.viewContainerRef.injector,l=[{provide:this._dialogContainerType,useValue:o},{provide:this._dialogDataToken,useValue:n.data},{provide:this._dialogRefConstructor,useValue:a}];return n.direction&&(!s||!s.get(Ms.Is,null,e.XFs.Optional))&&l.push({provide:Ms.Is,useValue:{value:n.direction,change:(0,Kn.of)()}}),e.zs3.create({parent:s||this._injector,providers:l})}},{key:"_removeOpenDialog",value:function(n){var a=this.openDialogs.indexOf(n);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(o,s){o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}},{key:"_hideNonDialogContentFromAssistiveTechnology",value:function(){var n=this._overlayContainer.getContainerElement();if(n.parentElement)for(var a=n.parentElement.children,o=a.length-1;o>-1;o--){var s=a[o];s!==n&&"SCRIPT"!==s.nodeName&&"STYLE"!==s.nodeName&&!s.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}}},{key:"_closeDialogs",value:function(n){for(var a=n.length;a--;)n[a].close()}}]),i}();return r.\u0275fac=function(t){e.$Z()},r.\u0275dir=e.lG2({type:r}),r}(),ca=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o,s,l,d,h,C,P){return(0,v.Z)(this,n),t.call(this,a,o,l,h,C,d,zr,Ule,hd,P)}return n}(zle);return r.\u0275fac=function(t){return new(t||r)(e.LFG(Ga.aV),e.LFG(e.zs3),e.LFG(Pt.Ye,8),e.LFG(Vle,8),e.LFG(mj),e.LFG(r,12),e.LFG(Ga.Xj),e.LFG(Js.Qb,8))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Gle=0,ii=function(){var r=function(){function i(t,n,a){(0,v.Z)(this,i),this._dialogRef=t,this._elementRef=n,this._dialog=a,this.id="mat-dialog-title-".concat(Gle++)}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this._dialogRef||(this._dialogRef=function(r,i){for(var t=r.nativeElement.parentElement;t&&!t.classList.contains("mat-dialog-container");)t=t.parentElement;return t?i.find(function(n){return n.id===t.id}):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(function(){var a=n._dialogRef._containerInstance;a&&!a._ariaLabelledBy&&(a._ariaLabelledBy=n.id)})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr,8),e.Y36(e.SBq),e.Y36(ca))},r.\u0275dir=e.lG2({type:r,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,n){2&t&&e.Ikx("id",n.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),r}(),Q_=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),r}(),ti=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),r}(),Jle=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[ca,qle],imports:[[Ga.U8,ta.eL,sn.BQ],sn.BQ]}),r}(),Qle=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.dialogRef=t,this.data=n,this.templateName="",this.templateName=n.templateName}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){}},{key:"onNoClick",value:function(){this.dialogRef.close(!1)}},{key:"onYesClick",value:function(){this.dialogRef.close(!0)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(hd))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-delete-confirmation-dialog"]],decls:11,vars:1,consts:[[1,"dialogcontainer"],["mat-dialog-title",""],["mat-dialog-content",""],[1,"spacer"],["mat-dialog-actions",""],["mat-button","","color","accent",1,"cancelButton",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",1,"confirmButton",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"h1",1),e._uU(2,"Delete template"),e.qZA(),e.TgZ(3,"div",2),e._uU(4),e.qZA(),e._UZ(5,"div",3),e.TgZ(6,"div",4),e.TgZ(7,"button",5),e.NdJ("click",function(){return n.onNoClick()}),e._uU(8,"No"),e.qZA(),e.TgZ(9,"button",6),e.NdJ("click",function(){return n.onYesClick()}),e._uU(10," Yes "),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(4),e.hij("Are you sure you want to delete template ",n.templateName,"?"))},directives:[ii,Q_,ti,En],styles:[".dialogcontainer[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column}.spacer[_ngcontent-%COMP%]{flex-grow:1}"]}),r}(),K_=(f(20530),function(){var r=function(){function i(t){(0,v.Z)(this,i),this.httpServer=t,this.newTemplateCreated=new Un.xQ}return(0,g.Z)(i,[{key:"list",value:function(n){return this.httpServer.get(n,"/templates")}},{key:"deleteTemplate",value:function(n,a){return this.httpServer.delete(n,"/templates/".concat(a),{observe:"body"})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(Ja.wh))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}()),Mo=function(){var r=function(){function i(t,n,a){(0,v.Z)(this,i),this.templateService=t,this.dialog=n,this.toasterService=a,this.deleteEvent=new e.vpe}return(0,g.Z)(i,[{key:"deleteItem",value:function(n,a){var o=this;this.dialog.open(Qle,{width:"300px",height:"250px",data:{templateName:n},autoFocus:!1,disableClose:!0}).afterClosed().subscribe(function(l){l&&o.templateService.deleteTemplate(o.server,a).subscribe(function(d){o.deleteEvent.emit(a),o.toasterService.success("Template ".concat(n," deleted."))})})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(K_),e.Y36(ca),e.Y36(Yn))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-delete-template"]],inputs:{server:"server"},outputs:{deleteEvent:"deleteEvent"},decls:0,vars:0,template:function(t,n){},styles:[""]}),r}(),md=function(){var r=function i(){(0,v.Z)(this,i),this.emptyTemplatesListMessage="Empty templates list",this.textMessage&&(this.emptyTemplatesListMessage=this.textMessage)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-empty-templates-list"]],inputs:{textMessage:"textMessage"},decls:4,vars:1,consts:[[1,"default-content"],[1,"matCard"],[1,"header"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"mat-card",1),e.TgZ(2,"h6",2),e._uU(3),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(3),e.hij(" ",n.emptyTemplatesListMessage," "))},directives:[Ti],styles:[".header[_ngcontent-%COMP%]{text-align:center;color:#a9a9a9}"]}),r}(),vj=f(16080),gj=f(99359),Kle=["mat-menu-item",""];function Xle(r,i){1&r&&(e.O4$(),e.TgZ(0,"svg",2),e._UZ(1,"polygon",3),e.qZA())}var _j=["*"];function $le(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",0),e.NdJ("keydown",function(o){return e.CHM(t),e.oxw()._handleKeydown(o)})("click",function(){return e.CHM(t),e.oxw().closed.emit("click")})("@transformMenu.start",function(o){return e.CHM(t),e.oxw()._onAnimationStart(o)})("@transformMenu.done",function(o){return e.CHM(t),e.oxw()._onAnimationDone(o)}),e.TgZ(1,"div",1),e.Hsn(2),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.Q6J("id",n.panelId)("ngClass",n._classList)("@transformMenu",n._panelAnimationState),e.uIk("aria-label",n.ariaLabel||null)("aria-labelledby",n.ariaLabelledby||null)("aria-describedby",n.ariaDescribedby||null)}}var NA={transformMenu:(0,en.X$)("transformMenu",[(0,en.SB)("void",(0,en.oB)({opacity:0,transform:"scale(0.8)"})),(0,en.eR)("void => enter",(0,en.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,en.oB)({opacity:1,transform:"scale(1)"}))),(0,en.eR)("* => void",(0,en.jt)("100ms 25ms linear",(0,en.oB)({opacity:0})))]),fadeInItems:(0,en.X$)("fadeInItems",[(0,en.SB)("showing",(0,en.oB)({opacity:1})),(0,en.eR)("void => *",[(0,en.oB)({opacity:0}),(0,en.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},eue=new e.OlP("MatMenuContent"),T6=new e.OlP("MAT_MENU_PANEL"),tue=(0,sn.Kr)((0,sn.Id)(function(){return function r(){(0,v.Z)(this,r)}}())),Zr=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o,s,l,d){var h;return(0,v.Z)(this,n),(h=t.call(this))._elementRef=a,h._focusMonitor=s,h._parentMenu=l,h._changeDetectorRef=d,h.role="menuitem",h._hovered=new Un.xQ,h._focused=new Un.xQ,h._highlighted=!1,h._triggersSubmenu=!1,l&&l.addItem&&l.addItem((0,I1.Z)(h)),h}return(0,g.Z)(n,[{key:"focus",value:function(o,s){this._focusMonitor&&o?this._focusMonitor.focusVia(this._getHostElement(),o,s):this._getHostElement().focus(s),this._focused.next(this)}},{key:"ngAfterViewInit",value:function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}},{key:"ngOnDestroy",value:function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_checkDisabled",value:function(o){this.disabled&&(o.preventDefault(),o.stopPropagation())}},{key:"_handleMouseEnter",value:function(){this._hovered.next(this)}},{key:"getLabel",value:function(){for(var o,s=this._elementRef.nativeElement.cloneNode(!0),l=s.querySelectorAll("mat-icon, .material-icons"),d=0;d<l.length;d++)l[d].remove();return(null===(o=s.textContent)||void 0===o?void 0:o.trim())||""}},{key:"_setHighlighted",value:function(o){var s;this._highlighted=o,null===(s=this._changeDetectorRef)||void 0===s||s.markForCheck()}}]),n}(tue);return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(Pt.K0),e.Y36(Gi.tE),e.Y36(T6,8),e.Y36(e.sBO))},r.\u0275cmp=e.Xpm({type:r,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(t,n){1&t&&e.NdJ("click",function(o){return n._checkDisabled(o)})("mouseenter",function(){return n._handleMouseEnter()}),2&t&&(e.uIk("role",n.role)("tabindex",n._getTabIndex())("aria-disabled",n.disabled.toString())("disabled",n.disabled||null),e.ekj("mat-menu-item",!0)("mat-menu-item-highlighted",n._highlighted)("mat-menu-item-submenu-trigger",n._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[e.qOj],attrs:Kle,ngContentSelectors:_j,decls:3,vars:3,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-menu-submenu-icon","viewBox","0 0 5 10","focusable","false",4,"ngIf"],["viewBox","0 0 5 10","focusable","false",1,"mat-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(t,n){1&t&&(e.F$t(),e.Hsn(0),e._UZ(1,"div",0),e.YNc(2,Xle,2,0,"svg",1)),2&t&&(e.xp6(1),e.Q6J("matRippleDisabled",n.disableRipple||n.disabled)("matRippleTrigger",n._getHostElement()),e.xp6(1),e.Q6J("ngIf",n._triggersSubmenu))},directives:[sn.wG,Pt.O5],encapsulation:2,changeDetection:0}),r}(),yj=new e.OlP("mat-menu-default-options",{providedIn:"root",factory:function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}}),rue=0,Q1=function(){var r=function(){function i(t,n,a){(0,v.Z)(this,i),this._elementRef=t,this._ngZone=n,this._defaultOptions=a,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new e.n_E,this._tabSubscription=Lo.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new Un.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new e.vpe,this.close=this.closed,this.panelId="mat-menu-panel-".concat(rue++)}return(0,g.Z)(i,[{key:"xPosition",get:function(){return this._xPosition},set:function(n){this._xPosition=n,this.setPositionClasses()}},{key:"yPosition",get:function(){return this._yPosition},set:function(n){this._yPosition=n,this.setPositionClasses()}},{key:"overlapTrigger",get:function(){return this._overlapTrigger},set:function(n){this._overlapTrigger=(0,Hn.Ig)(n)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(n){this._hasBackdrop=(0,Hn.Ig)(n)}},{key:"panelClass",set:function(n){var a=this,o=this._previousPanelClass;o&&o.length&&o.split(" ").forEach(function(s){a._classList[s]=!1}),this._previousPanelClass=n,n&&n.length&&(n.split(" ").forEach(function(s){a._classList[s]=!0}),this._elementRef.nativeElement.className="")}},{key:"classList",get:function(){return this.panelClass},set:function(n){this.panelClass=n}},{key:"ngOnInit",value:function(){this.setPositionClasses()}},{key:"ngAfterContentInit",value:function(){var n=this;this._updateDirectDescendants(),this._keyManager=new Gi.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(function(){return n.closed.emit("tab")}),this._directDescendantItems.changes.pipe((0,$o.O)(this._directDescendantItems),(0,Ou.w)(function(a){return Ra.T.apply(void 0,(0,T.Z)(a.map(function(o){return o._focused})))})).subscribe(function(a){return n._keyManager.updateActiveItem(a)})}},{key:"ngOnDestroy",value:function(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}},{key:"_hovered",value:function(){return this._directDescendantItems.changes.pipe((0,$o.O)(this._directDescendantItems),(0,Ou.w)(function(a){return Ra.T.apply(void 0,(0,T.Z)(a.map(function(o){return o._hovered})))}))}},{key:"addItem",value:function(n){}},{key:"removeItem",value:function(n){}},{key:"_handleKeydown",value:function(n){var a=n.keyCode,o=this._keyManager;switch(a){case ui.hY:(0,ui.Vb)(n)||(n.preventDefault(),this.closed.emit("keydown"));break;case ui.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case ui.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:(a===ui.LH||a===ui.JH)&&o.setFocusOrigin("keyboard"),o.onKeydown(n)}}},{key:"focusFirstItem",value:function(){var n=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program";this.lazyContent?this._ngZone.onStable.pipe((0,Ea.q)(1)).subscribe(function(){return n._focusFirstItem(a)}):this._focusFirstItem(a)}},{key:"_focusFirstItem",value:function(n){var a=this._keyManager;if(a.setFocusOrigin(n).setFirstItemActive(),!a.activeItem&&this._directDescendantItems.length)for(var o=this._directDescendantItems.first._getHostElement().parentElement;o;){if("menu"===o.getAttribute("role")){o.focus();break}o=o.parentElement}}},{key:"resetActiveItem",value:function(){this._keyManager.setActiveItem(-1)}},{key:"setElevation",value:function(n){var a=this,o=Math.min(this._baseElevation+n,24),s="".concat(this._elevationPrefix).concat(o),l=Object.keys(this._classList).find(function(d){return d.startsWith(a._elevationPrefix)});(!l||l===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[s]=!0,this._previousElevation=s)}},{key:"setPositionClasses",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.xPosition,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.yPosition,o=this._classList;o["mat-menu-before"]="before"===n,o["mat-menu-after"]="after"===n,o["mat-menu-above"]="above"===a,o["mat-menu-below"]="below"===a}},{key:"_startAnimation",value:function(){this._panelAnimationState="enter"}},{key:"_resetAnimation",value:function(){this._panelAnimationState="void"}},{key:"_onAnimationDone",value:function(n){this._animationDone.next(n),this._isAnimating=!1}},{key:"_onAnimationStart",value:function(n){this._isAnimating=!0,"enter"===n.toState&&0===this._keyManager.activeItemIndex&&(n.element.scrollTop=0)}},{key:"_updateDirectDescendants",value:function(){var n=this;this._allItems.changes.pipe((0,$o.O)(this._allItems)).subscribe(function(a){n._directDescendantItems.reset(a.filter(function(o){return o._parentMenu===n})),n._directDescendantItems.notifyOnChanges()})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(yj))},r.\u0275dir=e.lG2({type:r,contentQueries:function(t,n,a){var o;1&t&&(e.Suo(a,eue,5),e.Suo(a,Zr,5),e.Suo(a,Zr,4)),2&t&&(e.iGM(o=e.CRH())&&(n.lazyContent=o.first),e.iGM(o=e.CRH())&&(n._allItems=o),e.iGM(o=e.CRH())&&(n.items=o))},viewQuery:function(t,n){var a;1&t&&e.Gf(e.Rgc,5),2&t&&e.iGM(a=e.CRH())&&(n.templateRef=a.first)},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),r}(),Ls=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o,s){var l;return(0,v.Z)(this,n),(l=t.call(this,a,o,s))._elevationPrefix="mat-elevation-z",l._baseElevation=4,l}return n}(Q1);return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(yj))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(t,n){2&t&&e.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[e._Bn([{provide:T6,useExisting:r}]),e.qOj],ngContentSelectors:_j,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,n){1&t&&(e.F$t(),e.YNc(0,$le,3,6,"ng-template"))},directives:[Pt.mk],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[NA.transformMenu,NA.fadeInItems]},changeDetection:0}),r}(),bj=new e.OlP("mat-menu-scroll-strategy"),aue={provide:bj,deps:[Ga.aV],useFactory:function(r){return function(){return r.scrollStrategies.reposition()}}},Sj=(0,vi.i$)({passive:!0}),oue=function(){var r=function(){function i(t,n,a,o,s,l,d,h){var C=this;(0,v.Z)(this,i),this._overlay=t,this._element=n,this._viewContainerRef=a,this._menuItemInstance=l,this._dir=d,this._focusMonitor=h,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Lo.w.EMPTY,this._hoverSubscription=Lo.w.EMPTY,this._menuCloseSubscription=Lo.w.EMPTY,this._handleTouchStart=function(P){(0,Gi.yG)(P)||(C._openedBy="touch")},this._openedBy=void 0,this._ariaHaspopup=!0,this.restoreFocus=!0,this.menuOpened=new e.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new e.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=o,this._parentMaterialMenu=s instanceof Q1?s:void 0,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,Sj),l&&(l._triggersSubmenu=this.triggersSubmenu())}return(0,g.Z)(i,[{key:"_ariaExpanded",get:function(){return this.menuOpen||null}},{key:"_ariaControl",get:function(){return this.menuOpen?this.menu.panelId:null}},{key:"_deprecatedMatMenuTriggerFor",get:function(){return this.menu},set:function(n){this.menu=n}},{key:"menu",get:function(){return this._menu},set:function(n){var a=this;n!==this._menu&&(this._menu=n,this._menuCloseSubscription.unsubscribe(),n&&(this._menuCloseSubscription=n.close.subscribe(function(o){a._destroyMenu(o),("click"===o||"tab"===o)&&a._parentMaterialMenu&&a._parentMaterialMenu.closed.emit(o)})))}},{key:"ngAfterContentInit",value:function(){this._checkMenu(),this._handleHover()}},{key:"ngOnDestroy",value:function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Sj),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}},{key:"menuOpen",get:function(){return this._menuOpen}},{key:"dir",get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"triggersSubmenu",value:function(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}},{key:"toggleMenu",value:function(){return this._menuOpen?this.closeMenu():this.openMenu()}},{key:"openMenu",value:function(){var n=this;if(!this._menuOpen){this._checkMenu();var a=this._createOverlay(),o=a.getConfig();this._setPosition(o.positionStrategy),o.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,a.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(function(){return n.closeMenu()}),this._initMenu(),this.menu instanceof Q1&&this.menu._startAnimation()}}},{key:"closeMenu",value:function(){this.menu.close.emit()}},{key:"focus",value:function(n,a){this._focusMonitor&&n?this._focusMonitor.focusVia(this._element,n,a):this._element.nativeElement.focus(a)}},{key:"updatePosition",value:function(){var n;null===(n=this._overlayRef)||void 0===n||n.updatePosition()}},{key:"_destroyMenu",value:function(n){var a=this;if(this._overlayRef&&this.menuOpen){var o=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===n||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,o instanceof Q1?(o._resetAnimation(),o.lazyContent?o._animationDone.pipe((0,ea.h)(function(s){return"void"===s.toState}),(0,Ea.q)(1),(0,Ai.R)(o.lazyContent._attached)).subscribe({next:function(){return o.lazyContent.detach()},complete:function(){return a._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),o.lazyContent&&o.lazyContent.detach())}}},{key:"_initMenu",value:function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}},{key:"_setMenuElevation",value:function(){if(this.menu.setElevation){for(var n=0,a=this.menu.parentMenu;a;)n++,a=a.parentMenu;this.menu.setElevation(n)}}},{key:"_setIsMenuOpen",value:function(n){this._menuOpen=n,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(n)}},{key:"_checkMenu",value:function(){}},{key:"_createOverlay",value:function(){if(!this._overlayRef){var n=this._getOverlayConfig();this._subscribeToPositions(n.positionStrategy),this._overlayRef=this._overlay.create(n),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}},{key:"_getOverlayConfig",value:function(){return new Ga.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}},{key:"_subscribeToPositions",value:function(n){var a=this;this.menu.setPositionClasses&&n.positionChanges.subscribe(function(o){a.menu.setPositionClasses("start"===o.connectionPair.overlayX?"after":"before","top"===o.connectionPair.overlayY?"below":"above")})}},{key:"_setPosition",value:function(n){var o=(0,b.Z)("before"===this.menu.xPosition?["end","start"]:["start","end"],2),s=o[0],l=o[1],h=(0,b.Z)("above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],2),C=h[0],P=h[1],N=C,q=P,Q=s,te=l,se=0;this.triggersSubmenu()?(te=s="before"===this.menu.xPosition?"start":"end",l=Q="end"===s?"start":"end",se="bottom"===C?8:-8):this.menu.overlapTrigger||(N="top"===C?"bottom":"top",q="top"===P?"bottom":"top"),n.withPositions([{originX:s,originY:N,overlayX:Q,overlayY:C,offsetY:se},{originX:l,originY:N,overlayX:te,overlayY:C,offsetY:se},{originX:s,originY:q,overlayX:Q,overlayY:P,offsetY:-se},{originX:l,originY:q,overlayX:te,overlayY:P,offsetY:-se}])}},{key:"_menuClosingActions",value:function(){var n=this,a=this._overlayRef.backdropClick(),o=this._overlayRef.detachments(),s=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,Kn.of)(),l=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,ea.h)(function(d){return d!==n._menuItemInstance}),(0,ea.h)(function(){return n._menuOpen})):(0,Kn.of)();return(0,Ra.T)(a,s,l,o)}},{key:"_handleMousedown",value:function(n){(0,Gi.X6)(n)||(this._openedBy=0===n.button?"mouse":void 0,this.triggersSubmenu()&&n.preventDefault())}},{key:"_handleKeydown",value:function(n){var a=n.keyCode;(a===ui.K5||a===ui.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(a===ui.SV&&"ltr"===this.dir||a===ui.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}},{key:"_handleClick",value:function(n){this.triggersSubmenu()?(n.stopPropagation(),this.openMenu()):this.toggleMenu()}},{key:"_handleHover",value:function(){var n=this;!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,ea.h)(function(a){return a===n._menuItemInstance&&!a.disabled}),(0,gj.g)(0,vj.E)).subscribe(function(){n._openedBy="mouse",n.menu instanceof Q1&&n.menu._isAnimating?n.menu._animationDone.pipe((0,Ea.q)(1),(0,gj.g)(0,vj.E),(0,Ai.R)(n._parentMaterialMenu._hovered())).subscribe(function(){return n.openMenu()}):n.openMenu()}))}},{key:"_getPortal",value:function(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new ta.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Ga.aV),e.Y36(e.SBq),e.Y36(e.s_b),e.Y36(bj),e.Y36(T6,8),e.Y36(Zr,10),e.Y36(Ms.Is,8),e.Y36(Gi.tE))},r.\u0275dir=e.lG2({type:r,hostVars:3,hostBindings:function(t,n){1&t&&e.NdJ("mousedown",function(o){return n._handleMousedown(o)})("keydown",function(o){return n._handleKeydown(o)})("click",function(o){return n._handleClick(o)}),2&t&&e.uIk("aria-expanded",n._ariaExpanded)("aria-controls",n._ariaControl)("aria-haspopup",n._ariaHaspopup)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),r}(),ns=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(){return(0,v.Z)(this,n),t.apply(this,arguments)}return n}(oue);return r.\u0275fac=function(){var i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[e.qOj]}),r}(),Tj=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[aue],imports:[[Pt.ez,sn.BQ,sn.si,Ga.U8],ku.ZD,sn.BQ]}),r}();function sue(r,i){if(1&r&&(e.TgZ(0,"button",10),e._uU(1," Back "),e.qZA()),2&r){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences/builtin")}}function lue(r,i){if(1&r&&(e.TgZ(0,"button",11),e._uU(1," Add cloud node template "),e.qZA()),2&r){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences/builtin/cloud-nodes/addtemplate")}}function uue(r,i){1&r&&e._UZ(0,"app-empty-templates-list")}function cue(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",15),e.TgZ(1,"mat-list-item",16),e._uU(2),e.qZA(),e.TgZ(3,"button",17),e.TgZ(4,"mat-icon"),e._uU(5,"more_vert"),e.qZA(),e.qZA(),e.TgZ(6,"mat-menu",null,18),e.TgZ(8,"button",19),e.NdJ("click",function(){var l=e.CHM(t).$implicit;return e.oxw(3).deleteTemplate(l)}),e.TgZ(9,"mat-icon"),e._uU(10,"delete"),e.qZA(),e.TgZ(11,"span"),e._uU(12,"Delete"),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=i.$implicit,a=e.MAs(7);e.xp6(1),e.s9C("routerLink",n.template_id),e.xp6(1),e.Oqu(n.name),e.xp6(1),e.Q6J("matMenuTriggerFor",a)}}function due(r,i){if(1&r&&(e.TgZ(0,"mat-nav-list"),e.YNc(1,cue,13,3,"div",14),e.qZA()),2&r){var t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.cloudNodesTemplates)}}function pue(r,i){if(1&r&&(e.TgZ(0,"div",12),e.TgZ(1,"div",13),e.YNc(2,due,2,1,"mat-nav-list",6),e.qZA(),e.qZA()),2&r){var t=e.oxw();e.xp6(2),e.Q6J("ngIf",t.server)}}var fue=function(){var r=function(){function i(t,n,a){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.builtInTemplatesService=a,this.cloudNodesTemplates=[]}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(a,10)).then(function(o){n.server=o,n.getTemplates()})}},{key:"getTemplates",value:function(){var n=this;this.builtInTemplatesService.getTemplates(this.server).subscribe(function(a){n.cloudNodesTemplates=a.filter(function(o){return"cloud"===o.template_type&&!o.builtin})})}},{key:"deleteTemplate",value:function(n){this.deleteComponent.deleteItem(n.name,n.template_id)}},{key:"onDeleteEvent",value:function(){this.getTemplates()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(pd))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-cloud-nodes-templates"]],viewQuery:function(t,n){var a;1&t&&e.Gf(Mo,5),2&t&&e.iGM(a=e.CRH())&&(n.deleteComponent=a.first)},decls:11,vars:5,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],["class","top-button","class","cancel-button","mat-button","",3,"routerLink",4,"ngIf"],["class","top-button","mat-raised-button","","color","primary",3,"routerLink",4,"ngIf"],[4,"ngIf"],["class","default-content",4,"ngIf"],[3,"server","deleteEvent"],["deleteComponent",""],["mat-button","",1,"cancel-button",3,"routerLink"],["mat-raised-button","","color","primary",1,"top-button",3,"routerLink"],[1,"default-content"],[1,"listcontainer","mat-elevation-z8"],["class","list-item",4,"ngFor","ngForOf"],[1,"list-item"],[1,"template-name",3,"routerLink"],["mat-button","",1,"menu-button",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Cloud nodes templates"),e.qZA(),e.YNc(5,sue,2,1,"button",4),e.YNc(6,lue,2,1,"button",5),e.qZA(),e.qZA(),e.YNc(7,uue,1,0,"app-empty-templates-list",6),e.YNc(8,pue,3,1,"div",7),e.qZA(),e.TgZ(9,"app-delete-template",8,9),e.NdJ("deleteEvent",function(){return n.onDeleteEvent()}),e.qZA()),2&t&&(e.xp6(5),e.Q6J("ngIf",n.server),e.xp6(1),e.Q6J("ngIf",n.server),e.xp6(1),e.Q6J("ngIf",!n.cloudNodesTemplates.length),e.xp6(1),e.Q6J("ngIf",n.cloudNodesTemplates.length),e.xp6(1),e.Q6J("server",n.server))},directives:[Pt.O5,Mo,En,go,md,Iu,Pt.sg,Zs,ns,er,Ls,Zr],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}(),hue=function(){var r=function(){function i(t,n,a,o,s,l,d,h){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.builtInTemplatesService=a,this.router=o,this.toasterService=s,this.templateMocksService=l,this.formBuilder=d,this.computeService=h,this.templateName="",this.isGns3VmAvailable=!1,this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0,this.formGroup=this.formBuilder.group({templateName:new re.NI("",re.kI.required),numberOfPorts:new re.NI(8,re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(a,10)).then(function(o){n.server=o,n.computeService.getComputes(o).subscribe(function(s){s.filter(function(l){return"vm"===l.compute_id}).length>0&&(n.isGns3VmAvailable=!0)})})}},{key:"setServerType",value:function(n){"gns3 vm"===n&&this.isGns3VmAvailable?(this.isGns3VmChosen=!0,this.isLocalComputerChosen=!1):(this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0)}},{key:"goBack",value:function(){this.router.navigate(["/server",this.server.id,"preferences","builtin","ethernet-hubs"])}},{key:"addTemplate",value:function(){var n=this;if(this.formGroup.invalid)this.toasterService.error("Fill all required fields");else{var a;this.templateMocksService.getEthernetHubTemplate().subscribe(function(s){a=s}),a.template_id=(0,Eo.v4)(),a.name=this.formGroup.get("templateName").value,a.compute_id=this.isGns3VmChosen?"vm":"local";for(var o=0;o<this.formGroup.get("numberOfPorts").value;o++)a.ports_mapping.push({name:"Ethernet".concat(o),port_number:o});this.builtInTemplatesService.addTemplate(this.server,a).subscribe(function(){n.goBack()})}}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(pd),e.Y36(xr),e.Y36(Yn),e.Y36(bc),e.Y36(re.qu),e.Y36(Cc.X))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-ethernet-hubs-add-template"]],decls:22,vars:2,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[1,"matCard"],[1,"radio-group"],["value","1","checked","",1,"radio-button",3,"click"],["value","2",1,"radio-button",3,"disabled","click"],[3,"formGroup"],[1,"form-field"],["formControlName","templateName","matInput","","type","text","placeholder","Template name"],["formControlName","numberOfPorts","matInput","","type","number","placeholder","Number of ports"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"New Ethernet hub template"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"mat-card",5),e.TgZ(7,"mat-radio-group",6),e.TgZ(8,"mat-radio-button",7),e.NdJ("click",function(){return n.setServerType("local")}),e._uU(9,"Run the Ethernet Hub locally"),e.qZA(),e.TgZ(10,"mat-radio-button",8),e.NdJ("click",function(){return n.setServerType("gns3 vm")}),e._uU(11,"Run the Ethernet Hub on the GNS3 VM"),e.qZA(),e.qZA(),e.TgZ(12,"form",9),e.TgZ(13,"mat-form-field",10),e._UZ(14,"input",11),e.qZA(),e.TgZ(15,"mat-form-field",10),e._UZ(16,"input",12),e.qZA(),e.qZA(),e.qZA(),e.TgZ(17,"div",13),e.TgZ(18,"button",14),e.NdJ("click",function(){return n.goBack()}),e._uU(19,"Cancel"),e.qZA(),e.TgZ(20,"button",15),e.NdJ("click",function(){return n.addTemplate()}),e._uU(21,"Add template"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(10),e.Q6J("disabled",!n.isGns3VmAvailable),e.xp6(2),e.Q6J("formGroup",n.formGroup))},directives:[Ti,El,Ml,re._Y,re.JL,re.sg,Ln.KE,re.Fj,ir,re.JJ,re.u,re.wV,En],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}();function mue(r,i){if(1&r&&(e.TgZ(0,"mat-option",19),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}var kj=function(){return{standalone:!0}};function vue(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",6),e.TgZ(1,"mat-card"),e.TgZ(2,"form",7),e.TgZ(3,"mat-form-field",8),e.TgZ(4,"input",9),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().ethernetHubTemplate.name=o}),e.qZA(),e.qZA(),e.TgZ(5,"mat-form-field",8),e.TgZ(6,"input",10),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().ethernetHubTemplate.default_name_format=o}),e.qZA(),e.qZA(),e.TgZ(7,"mat-form-field",8),e.TgZ(8,"input",11),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().ethernetHubTemplate.symbol=o}),e.qZA(),e.qZA(),e.TgZ(9,"button",12),e.NdJ("click",function(){return e.CHM(t),e.oxw().chooseSymbol()}),e._uU(10,"Choose symbol"),e.qZA(),e._UZ(11,"br"),e._UZ(12,"br"),e.TgZ(13,"mat-form-field",8),e.TgZ(14,"mat-select",13),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().ethernetHubTemplate.category=o}),e.YNc(15,mue,2,2,"mat-option",14),e.qZA(),e.qZA(),e.TgZ(16,"mat-form-field",8),e.TgZ(17,"input",15),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().numberOfPorts=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(18,"div",16),e.TgZ(19,"button",17),e.NdJ("click",function(){return e.CHM(t),e.oxw().goBack()}),e._uU(20,"Cancel"),e.qZA(),e.TgZ(21,"button",18),e.NdJ("click",function(){return e.CHM(t),e.oxw().onSave()}),e._uU(22,"Save"),e.qZA(),e._UZ(23,"br"),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(2),e.Q6J("formGroup",n.inputForm),e.xp6(2),e.Q6J("ngModel",n.ethernetHubTemplate.name),e.xp6(2),e.Q6J("ngModel",n.ethernetHubTemplate.default_name_format),e.xp6(2),e.Q6J("ngModel",n.ethernetHubTemplate.symbol),e.xp6(6),e.Q6J("ngModelOptions",e.DdM(9,kj))("ngModel",n.ethernetHubTemplate.category),e.xp6(1),e.Q6J("ngForOf",n.categories),e.xp6(2),e.Q6J("ngModel",n.numberOfPorts)("ngModelOptions",e.DdM(10,kj))}}function gue(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"app-symbols-menu",20),e.NdJ("symbolChangedEmitter",function(o){return e.CHM(t),e.oxw().symbolChanged(o)}),e.qZA()}if(2&r){var n=e.oxw();e.Q6J("server",n.server)("symbol",n.ethernetHubTemplate.symbol)}}var _ue=function(i){return{shadowed:i}},yue=function(){var r=function(){function i(t,n,a,o,s,l,d){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.builtInTemplatesService=a,this.toasterService=o,this.formBuilder=s,this.builtInTemplatesConfigurationService=l,this.router=d,this.isSymbolSelectionOpened=!1,this.categories=[],this.inputForm=this.formBuilder.group({templateName:new re.NI("",re.kI.required),defaultName:new re.NI("",re.kI.required),symbol:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id"),o=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(a,10)).then(function(s){n.server=s,n.categories=n.builtInTemplatesConfigurationService.getCategoriesForEthernetHubs(),n.builtInTemplatesService.getTemplate(n.server,o).subscribe(function(l){n.ethernetHubTemplate=l,n.numberOfPorts=n.ethernetHubTemplate.ports_mapping.length})})}},{key:"goBack",value:function(){this.router.navigate(["/server",this.server.id,"preferences","builtin","ethernet-hubs"])}},{key:"onSave",value:function(){var n=this;if(this.inputForm.invalid||!this.numberOfPorts)this.toasterService.error("Fill all required fields");else{this.ethernetHubTemplate.ports_mapping=[];for(var a=0;a<this.numberOfPorts;a++)this.ethernetHubTemplate.ports_mapping.push({name:"Ethernet".concat(a),port_number:a});this.builtInTemplatesService.saveTemplate(this.server,this.ethernetHubTemplate).subscribe(function(o){n.toasterService.success("Changes saved")})}}},{key:"chooseSymbol",value:function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened}},{key:"symbolChanged",value:function(n){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.ethernetHubTemplate.symbol=n}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(pd),e.Y36(Yn),e.Y36(re.qu),e.Y36(Gf),e.Y36(xr))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-ethernet-hubs-template-details"]],decls:7,vars:5,consts:[[1,"content",3,"ngClass"],[1,"default-header"],[1,"row"],[1,"col"],["class","default-content",4,"ngIf"],[3,"server","symbol","symbolChangedEmitter",4,"ngIf"],[1,"default-content"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","templateName","placeholder","Template name",3,"ngModel","ngModelChange"],["matInput","","type","text","formControlName","defaultName","placeholder","Default name format",3,"ngModel","ngModelChange"],["matInput","","type","text","formControlName","symbol","placeholder","Symbol",3,"ngModel","ngModelChange"],["mat-button","",1,"symbolSelectionButton",3,"click"],["placeholder","Category",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["matInput","","type","number","placeholder","Number of ports",3,"ngModel","ngModelOptions","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[3,"server","symbol","symbolChangedEmitter"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Ethernet hub settings"),e.qZA(),e.qZA(),e.qZA(),e.YNc(5,vue,24,11,"div",4),e.qZA(),e.YNc(6,gue,1,2,"app-symbols-menu",5)),2&t&&(e.Q6J("ngClass",e.VKq(3,_ue,n.isSymbolSelectionOpened)),e.xp6(5),e.Q6J("ngIf",n.ethernetHubTemplate),e.xp6(1),e.Q6J("ngIf",n.isSymbolSelectionOpened&&n.ethernetHubTemplate))},directives:[Pt.mk,Pt.O5,Ti,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,En,yi.gD,re.On,Pt.sg,re.wV,sn.ey,fd],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}();function bue(r,i){if(1&r&&(e.TgZ(0,"button",10),e._uU(1," Back "),e.qZA()),2&r){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences/builtin")}}function Cue(r,i){if(1&r&&(e.TgZ(0,"button",11),e._uU(1," Add Ethernet hub template "),e.qZA()),2&r){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences/builtin/ethernet-hubs/addtemplate")}}function Sue(r,i){1&r&&e._UZ(0,"app-empty-templates-list")}function Tue(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",15),e.TgZ(1,"mat-list-item",16),e._uU(2),e.qZA(),e.TgZ(3,"button",17),e.TgZ(4,"mat-icon"),e._uU(5,"more_vert"),e.qZA(),e.qZA(),e.TgZ(6,"mat-menu",null,18),e.TgZ(8,"button",19),e.NdJ("click",function(){var l=e.CHM(t).$implicit;return e.oxw(3).deleteTemplate(l)}),e.TgZ(9,"mat-icon"),e._uU(10,"delete"),e.qZA(),e.TgZ(11,"span"),e._uU(12,"Delete"),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=i.$implicit,a=e.MAs(7);e.xp6(1),e.s9C("routerLink",n.template_id),e.xp6(1),e.Oqu(n.name),e.xp6(1),e.Q6J("matMenuTriggerFor",a)}}function kue(r,i){if(1&r&&(e.TgZ(0,"mat-nav-list"),e.YNc(1,Tue,13,3,"div",14),e.qZA()),2&r){var t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.ethernetHubsTemplates)}}function wue(r,i){if(1&r&&(e.TgZ(0,"div",12),e.TgZ(1,"div",13),e.YNc(2,kue,2,1,"mat-nav-list",6),e.qZA(),e.qZA()),2&r){var t=e.oxw();e.xp6(2),e.Q6J("ngIf",t.server)}}var xue=function(){var r=function(){function i(t,n,a){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.builtInTemplatesService=a,this.ethernetHubsTemplates=[]}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(a,10)).then(function(o){n.server=o,n.getTemplates()})}},{key:"getTemplates",value:function(){var n=this;this.builtInTemplatesService.getTemplates(this.server).subscribe(function(a){n.ethernetHubsTemplates=a.filter(function(o){return"ethernet_hub"===o.template_type&&!o.builtin})})}},{key:"deleteTemplate",value:function(n){this.deleteComponent.deleteItem(n.name,n.template_id)}},{key:"onDeleteEvent",value:function(){this.getTemplates()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(pd))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-ethernet-hubs-templates"]],viewQuery:function(t,n){var a;1&t&&e.Gf(Mo,5),2&t&&e.iGM(a=e.CRH())&&(n.deleteComponent=a.first)},decls:11,vars:5,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],["class","top-button","class","cancel-button","mat-button","",3,"routerLink",4,"ngIf"],["class","top-button","mat-raised-button","","color","primary",3,"routerLink",4,"ngIf"],[4,"ngIf"],["class","default-content",4,"ngIf"],[3,"server","deleteEvent"],["deleteComponent",""],["mat-button","",1,"cancel-button",3,"routerLink"],["mat-raised-button","","color","primary",1,"top-button",3,"routerLink"],[1,"default-content"],[1,"listcontainer","mat-elevation-z8"],["class","list-item",4,"ngFor","ngForOf"],[1,"list-item"],[1,"template-name",3,"routerLink"],["mat-button","",1,"menu-button",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Ethernet hubs templates"),e.qZA(),e.YNc(5,bue,2,1,"button",4),e.YNc(6,Cue,2,1,"button",5),e.qZA(),e.qZA(),e.YNc(7,Sue,1,0,"app-empty-templates-list",6),e.YNc(8,wue,3,1,"div",7),e.qZA(),e.TgZ(9,"app-delete-template",8,9),e.NdJ("deleteEvent",function(){return n.onDeleteEvent()}),e.qZA()),2&t&&(e.xp6(5),e.Q6J("ngIf",n.server),e.xp6(1),e.Q6J("ngIf",n.server),e.xp6(1),e.Q6J("ngIf",!n.ethernetHubsTemplates.length),e.xp6(1),e.Q6J("ngIf",n.ethernetHubsTemplates.length),e.xp6(1),e.Q6J("server",n.server))},directives:[Pt.O5,Mo,En,go,md,Iu,Pt.sg,Zs,ns,er,Ls,Zr],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}(),Eue=function(){var r=function(){function i(t,n,a,o,s,l,d,h){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.builtInTemplatesService=a,this.router=o,this.toasterService=s,this.templateMocksService=l,this.formBuilder=d,this.computeService=h,this.templateName="",this.isGns3VmAvailable=!1,this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0,this.formGroup=this.formBuilder.group({templateName:new re.NI("",re.kI.required),numberOfPorts:new re.NI(8,re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(a,10)).then(function(o){n.server=o,n.computeService.getComputes(o).subscribe(function(s){s.filter(function(l){return"vm"===l.compute_id}).length>0&&(n.isGns3VmAvailable=!0)})})}},{key:"goBack",value:function(){this.router.navigate(["/server",this.server.id,"preferences","builtin","ethernet-switches"])}},{key:"setServerType",value:function(n){"gns3 vm"===n&&this.isGns3VmAvailable?(this.isGns3VmChosen=!0,this.isLocalComputerChosen=!1):(this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0)}},{key:"addTemplate",value:function(){var n=this;if(this.formGroup.invalid)this.toasterService.error("Fill all required fields");else{var a;this.templateMocksService.getEthernetSwitchTemplate().subscribe(function(s){a=s}),a.template_id=(0,Eo.v4)(),a.name=this.formGroup.get("templateName").value,a.compute_id=this.isGns3VmChosen?"vm":"local";for(var o=0;o<this.formGroup.get("numberOfPorts").value;o++)a.ports_mapping.push({ethertype:"",name:"Ethernet".concat(o),port_number:o,type:"access",vlan:1});this.builtInTemplatesService.addTemplate(this.server,a).subscribe(function(s){n.goBack()})}}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(pd),e.Y36(xr),e.Y36(Yn),e.Y36(bc),e.Y36(re.qu),e.Y36(Cc.X))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-ethernet-switches-add-template"]],decls:22,vars:2,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[1,"matCard"],[1,"radio-group"],["value","1","checked","",1,"radio-button",3,"click"],["value","2",1,"radio-button",3,"disabled","click"],[3,"formGroup"],[1,"form-field"],["formControlName","templateName","matInput","","type","text","placeholder","Template name"],["formControlName","numberOfPorts","matInput","","type","number","placeholder","Number of ports"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"New Ethernet switch template"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"mat-card",5),e.TgZ(7,"mat-radio-group",6),e.TgZ(8,"mat-radio-button",7),e.NdJ("click",function(){return n.setServerType("local")}),e._uU(9,"Run the Ethernet switch locally"),e.qZA(),e.TgZ(10,"mat-radio-button",8),e.NdJ("click",function(){return n.setServerType("gns3 vm")}),e._uU(11,"Run the Ethernet switch on the GNS3 VM"),e.qZA(),e.qZA(),e.TgZ(12,"form",9),e.TgZ(13,"mat-form-field",10),e._UZ(14,"input",11),e.qZA(),e.TgZ(15,"mat-form-field",10),e._UZ(16,"input",12),e.qZA(),e.qZA(),e.qZA(),e.TgZ(17,"div",13),e.TgZ(18,"button",14),e.NdJ("click",function(){return n.goBack()}),e._uU(19,"Cancel"),e.qZA(),e.TgZ(20,"button",15),e.NdJ("click",function(){return n.addTemplate()}),e._uU(21,"Add template"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(10),e.Q6J("disabled",!n.isGns3VmAvailable),e.xp6(2),e.Q6J("formGroup",n.formGroup))},directives:[Ti,El,Ml,re._Y,re.JL,re.sg,Ln.KE,re.Fj,ir,re.JJ,re.u,re.wV,En],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}();function Mue(r,i){1&r&&(e.TgZ(0,"th",18),e._uU(1,"Port number"),e.qZA())}function Aue(r,i){if(1&r&&(e.TgZ(0,"td",19),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.Oqu(t.port_number)}}function Due(r,i){1&r&&(e.TgZ(0,"th",18),e._uU(1,"VLAN"),e.qZA())}function Oue(r,i){if(1&r&&(e.TgZ(0,"td",19),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.Oqu(t.vlan)}}function Pue(r,i){1&r&&(e.TgZ(0,"th",18),e._uU(1,"Type"),e.qZA())}function Iue(r,i){if(1&r&&(e.TgZ(0,"td",19),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.Oqu(t.type)}}function Rue(r,i){1&r&&(e.TgZ(0,"th",18),e._uU(1,"EtherType"),e.qZA())}function Nue(r,i){if(1&r&&(e.TgZ(0,"td",19),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.Oqu(t.ethertype)}}function Zue(r,i){1&r&&(e.TgZ(0,"th",18),e._uU(1,"Actions"),e.qZA())}function Lue(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"td",19),e.TgZ(1,"button",20),e.NdJ("click",function(){var o=e.CHM(t).$implicit;return e.oxw().delete(o)}),e.TgZ(2,"mat-icon",21),e._uU(3,"delete"),e.qZA(),e.qZA(),e.qZA()}}function Fue(r,i){1&r&&e._UZ(0,"tr",22)}function Bue(r,i){1&r&&e._UZ(0,"tr",23)}function Uue(r,i){if(1&r&&(e.TgZ(0,"mat-option",24),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Hue(r,i){if(1&r&&(e.TgZ(0,"mat-option",24),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}var wj=function(){return{standalone:!0}},ZA=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.builtInTemplatesConfigurationService=t,this.ethernetPorts=[],this.newPort={name:"",port_number:0},this.portTypes=[],this.etherTypes=[],this.displayedColumns=["port_number","vlan","type","ethertype","action"]}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){this.getConfiguration()}},{key:"getConfiguration",value:function(){this.etherTypes=this.builtInTemplatesConfigurationService.getEtherTypesForEthernetSwitches(),this.portTypes=this.builtInTemplatesConfigurationService.getPortTypesForEthernetSwitches()}},{key:"onAdd",value:function(){this.ethernetPorts.push(this.newPort),this.newPort={name:"",port_number:0}}},{key:"delete",value:function(n){this.ethernetPorts=this.ethernetPorts.filter(function(a){return a!==n})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Gf))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-ports"]],inputs:{ethernetPorts:"ethernetPorts"},decls:31,vars:13,consts:[["mat-table","",1,"table",3,"dataSource"],["matColumnDef","port_number"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","vlan"],["matColumnDef","type"],["matColumnDef","ethertype"],["matColumnDef","action"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"form-field"],["matInput","","type","number","placeholder","Port",3,"ngModel","ngModelChange"],["matInput","","type","number","placeholder","VLAN",3,"ngModel","ngModelChange"],[1,"select"],["placeholder","Type",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["placeholder","EtherType",3,"ngModelOptions","ngModel","ngModelChange"],["mat-button","",1,"form-field",3,"click"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","","matTooltip","Delete port","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Delete port"],["mat-header-row",""],["mat-row",""],[3,"value"]],template:function(t,n){1&t&&(e.TgZ(0,"table",0),e.ynx(1,1),e.YNc(2,Mue,2,0,"th",2),e.YNc(3,Aue,2,1,"td",3),e.BQk(),e.ynx(4,4),e.YNc(5,Due,2,0,"th",2),e.YNc(6,Oue,2,1,"td",3),e.BQk(),e.ynx(7,5),e.YNc(8,Pue,2,0,"th",2),e.YNc(9,Iue,2,1,"td",3),e.BQk(),e.ynx(10,6),e.YNc(11,Rue,2,0,"th",2),e.YNc(12,Nue,2,1,"td",3),e.BQk(),e.ynx(13,7),e.YNc(14,Zue,2,0,"th",2),e.YNc(15,Lue,4,0,"td",3),e.BQk(),e.YNc(16,Fue,1,0,"tr",8),e.YNc(17,Bue,1,0,"tr",9),e.qZA(),e._UZ(18,"br"),e.TgZ(19,"mat-form-field",10),e.TgZ(20,"input",11),e.NdJ("ngModelChange",function(o){return n.newPort.port_number=o}),e.qZA(),e.qZA(),e.TgZ(21,"mat-form-field",10),e.TgZ(22,"input",12),e.NdJ("ngModelChange",function(o){return n.newPort.vlan=o}),e.qZA(),e.qZA(),e.TgZ(23,"mat-form-field",13),e.TgZ(24,"mat-select",14),e.NdJ("ngModelChange",function(o){return n.newPort.type=o}),e.YNc(25,Uue,2,2,"mat-option",15),e.qZA(),e.qZA(),e.TgZ(26,"mat-form-field",13),e.TgZ(27,"mat-select",16),e.NdJ("ngModelChange",function(o){return n.newPort.ethertype=o}),e.YNc(28,Hue,2,2,"mat-option",15),e.qZA(),e.qZA(),e.TgZ(29,"button",17),e.NdJ("click",function(){return n.onAdd()}),e._uU(30,"Add"),e.qZA()),2&t&&(e.Q6J("dataSource",n.ethernetPorts),e.xp6(16),e.Q6J("matHeaderRowDef",n.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",n.displayedColumns),e.xp6(3),e.Q6J("ngModel",n.newPort.port_number),e.xp6(2),e.Q6J("ngModel",n.newPort.vlan),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(11,wj))("ngModel",n.newPort.type),e.xp6(1),e.Q6J("ngForOf",n.portTypes),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(12,wj))("ngModel",n.newPort.ethertype),e.xp6(1),e.Q6J("ngForOf",n.etherTypes))},directives:[nu,kl,Tl,Sl,ru,iu,Ln.KE,ir,re.wV,re.Fj,re.JJ,re.On,yi.gD,Pt.sg,En,wl,xl,ts,er,au,ou,sn.ey],styles:[".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}();function Vue(r,i){if(1&r&&(e.TgZ(0,"mat-option",22),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}function jue(r,i){if(1&r&&(e.TgZ(0,"mat-option",22),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}var xj=function(){return{standalone:!0}};function que(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",6),e.TgZ(1,"mat-accordion"),e.TgZ(2,"mat-expansion-panel"),e.TgZ(3,"mat-expansion-panel-header"),e.TgZ(4,"mat-panel-title"),e._uU(5," General settings "),e.qZA(),e.qZA(),e.TgZ(6,"form",7),e.TgZ(7,"mat-form-field",8),e.TgZ(8,"input",9),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().ethernetSwitchTemplate.name=o}),e.qZA(),e.qZA(),e.TgZ(9,"mat-form-field",8),e.TgZ(10,"input",10),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().ethernetSwitchTemplate.default_name_format=o}),e.qZA(),e.qZA(),e.TgZ(11,"mat-form-field",8),e.TgZ(12,"input",11),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().ethernetSwitchTemplate.symbol=o}),e.qZA(),e.qZA(),e.TgZ(13,"button",12),e.NdJ("click",function(){return e.CHM(t),e.oxw().chooseSymbol()}),e._uU(14,"Choose symbol"),e.qZA(),e._UZ(15,"br"),e._UZ(16,"br"),e.TgZ(17,"mat-form-field",8),e.TgZ(18,"mat-select",13),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().ethernetSwitchTemplate.category=o}),e.YNc(19,Vue,2,2,"mat-option",14),e.qZA(),e.qZA(),e.TgZ(20,"mat-form-field",15),e.TgZ(21,"mat-select",16),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().ethernetSwitchTemplate.console_type=o}),e.YNc(22,jue,2,2,"mat-option",14),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(23,"mat-expansion-panel"),e.TgZ(24,"mat-expansion-panel-header"),e.TgZ(25,"mat-panel-title"),e._uU(26," Port settings "),e.qZA(),e.qZA(),e._UZ(27,"app-ports",17,18),e.qZA(),e.qZA(),e.TgZ(29,"div",19),e.TgZ(30,"button",20),e.NdJ("click",function(){return e.CHM(t),e.oxw().goBack()}),e._uU(31,"Cancel"),e.qZA(),e.TgZ(32,"button",21),e.NdJ("click",function(){return e.CHM(t),e.oxw().onSave()}),e._uU(33,"Save"),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(6),e.Q6J("formGroup",n.inputForm),e.xp6(2),e.Q6J("ngModel",n.ethernetSwitchTemplate.name),e.xp6(2),e.Q6J("ngModel",n.ethernetSwitchTemplate.default_name_format),e.xp6(2),e.Q6J("ngModel",n.ethernetSwitchTemplate.symbol),e.xp6(6),e.Q6J("ngModelOptions",e.DdM(11,xj))("ngModel",n.ethernetSwitchTemplate.category),e.xp6(1),e.Q6J("ngForOf",n.categories),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(12,xj))("ngModel",n.ethernetSwitchTemplate.console_type),e.xp6(1),e.Q6J("ngForOf",n.consoleTypes),e.xp6(5),e.Q6J("ethernetPorts",n.ethernetSwitchTemplate.ports_mapping)}}function zue(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"app-symbols-menu",23),e.NdJ("symbolChangedEmitter",function(o){return e.CHM(t),e.oxw().symbolChanged(o)}),e.qZA()}if(2&r){var n=e.oxw();e.Q6J("server",n.server)("symbol",n.ethernetSwitchTemplate.symbol)}}var Wue=function(i){return{shadowed:i}},Gue=function(){var r=function(){function i(t,n,a,o,s,l,d){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.builtInTemplatesService=a,this.toasterService=o,this.formBuilder=s,this.builtInTemplatesConfigurationService=l,this.router=d,this.isSymbolSelectionOpened=!1,this.categories=[],this.consoleTypes=[],this.inputForm=this.formBuilder.group({templateName:new re.NI("",re.kI.required),defaultName:new re.NI("",re.kI.required),symbol:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id"),o=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(a,10)).then(function(s){n.server=s,n.getConfiguration(),n.builtInTemplatesService.getTemplate(n.server,o).subscribe(function(l){n.ethernetSwitchTemplate=l})})}},{key:"getConfiguration",value:function(){this.categories=this.builtInTemplatesConfigurationService.getCategoriesForEthernetSwitches(),this.consoleTypes=this.builtInTemplatesConfigurationService.getConsoleTypesForEthernetSwitches()}},{key:"goBack",value:function(){this.router.navigate(["/server",this.server.id,"preferences","builtin","ethernet-switches"])}},{key:"onSave",value:function(){var n=this;this.inputForm.invalid?this.toasterService.error("Fill all required fields"):(this.ethernetSwitchTemplate.ports_mapping=this.portsComponent.ethernetPorts,this.builtInTemplatesService.saveTemplate(this.server,this.ethernetSwitchTemplate).subscribe(function(a){n.toasterService.success("Changes saved")}))}},{key:"chooseSymbol",value:function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened}},{key:"symbolChanged",value:function(n){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.ethernetSwitchTemplate.symbol=n}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(pd),e.Y36(Yn),e.Y36(re.qu),e.Y36(Gf),e.Y36(xr))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-ethernet-switches-template-details"]],viewQuery:function(t,n){var a;1&t&&e.Gf(ZA,5),2&t&&e.iGM(a=e.CRH())&&(n.portsComponent=a.first)},decls:7,vars:5,consts:[[1,"content",3,"ngClass"],[1,"default-header"],[1,"row"],[1,"col"],["class","default-content",4,"ngIf"],[3,"server","symbol","symbolChangedEmitter",4,"ngIf"],[1,"default-content"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","templateName","placeholder","Template name",3,"ngModel","ngModelChange"],["matInput","","type","text","formControlName","defaultName","placeholder","Default name format",3,"ngModel","ngModelChange"],["matInput","","type","text","formControlName","symbol","placeholder","Symbol",3,"ngModel","ngModelChange"],["mat-button","",1,"symbolSelectionButton",3,"click"],["placeholder","Category",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"select"],["placeholder","Console type",3,"ngModelOptions","ngModel","ngModelChange"],[3,"ethernetPorts"],["ports",""],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[3,"server","symbol","symbolChangedEmitter"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Ethernet switch configuration"),e.qZA(),e.qZA(),e.qZA(),e.YNc(5,que,34,13,"div",4),e.qZA(),e.YNc(6,zue,1,2,"app-symbols-menu",5)),2&t&&(e.Q6J("ngClass",e.VKq(3,Wue,n.isSymbolSelectionOpened)),e.xp6(5),e.Q6J("ngIf",n.ethernetSwitchTemplate),e.xp6(1),e.Q6J("ngIf",n.isSymbolSelectionOpened&&n.ethernetSwitchTemplate))},directives:[Pt.mk,Pt.O5,dd,_c,yc,cd,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,En,yi.gD,re.On,Pt.sg,ZA,sn.ey,fd],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}();function Yue(r,i){if(1&r&&(e.TgZ(0,"button",10),e._uU(1," Back "),e.qZA()),2&r){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences/builtin")}}function Jue(r,i){if(1&r&&(e.TgZ(0,"button",11),e._uU(1," Add Ethernet switch template "),e.qZA()),2&r){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences/builtin/ethernet-switches/addtemplate")}}function Que(r,i){1&r&&e._UZ(0,"app-empty-templates-list")}function Kue(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",15),e.TgZ(1,"mat-list-item",16),e._uU(2),e.qZA(),e.TgZ(3,"button",17),e.TgZ(4,"mat-icon"),e._uU(5,"more_vert"),e.qZA(),e.qZA(),e.TgZ(6,"mat-menu",null,18),e.TgZ(8,"button",19),e.NdJ("click",function(){var l=e.CHM(t).$implicit;return e.oxw(3).deleteTemplate(l)}),e.TgZ(9,"mat-icon"),e._uU(10,"delete"),e.qZA(),e.TgZ(11,"span"),e._uU(12,"Delete"),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=i.$implicit,a=e.MAs(7);e.xp6(1),e.s9C("routerLink",n.template_id),e.xp6(1),e.Oqu(n.name),e.xp6(1),e.Q6J("matMenuTriggerFor",a)}}function Xue(r,i){if(1&r&&(e.TgZ(0,"mat-nav-list"),e.YNc(1,Kue,13,3,"div",14),e.qZA()),2&r){var t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.ethernetSwitchesTemplates)}}function $ue(r,i){if(1&r&&(e.TgZ(0,"div",12),e.TgZ(1,"div",13),e.YNc(2,Xue,2,1,"mat-nav-list",6),e.qZA(),e.qZA()),2&r){var t=e.oxw();e.xp6(2),e.Q6J("ngIf",t.server)}}var ece=function(){var r=function(){function i(t,n,a){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.builtInTemplatesService=a,this.ethernetSwitchesTemplates=[]}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(a,10)).then(function(o){n.server=o,n.getTemplates()})}},{key:"getTemplates",value:function(){var n=this;this.builtInTemplatesService.getTemplates(this.server).subscribe(function(a){n.ethernetSwitchesTemplates=a.filter(function(o){return"ethernet_switch"===o.template_type&&!o.builtin})})}},{key:"deleteTemplate",value:function(n){this.deleteComponent.deleteItem(n.name,n.template_id)}},{key:"onDeleteEvent",value:function(){this.getTemplates()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(pd))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-ethernet-switches-templates"]],viewQuery:function(t,n){var a;1&t&&e.Gf(Mo,5),2&t&&e.iGM(a=e.CRH())&&(n.deleteComponent=a.first)},decls:11,vars:5,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],["class","top-button","class","cancel-button","mat-button","",3,"routerLink",4,"ngIf"],["class","top-button","mat-raised-button","","color","primary",3,"routerLink",4,"ngIf"],[4,"ngIf"],["class","default-content",4,"ngIf"],[3,"server","deleteEvent"],["deleteComponent",""],["mat-button","",1,"cancel-button",3,"routerLink"],["mat-raised-button","","color","primary",1,"top-button",3,"routerLink"],[1,"default-content"],[1,"listcontainer","mat-elevation-z8"],["class","list-item",4,"ngFor","ngForOf"],[1,"list-item"],[1,"template-name",3,"routerLink"],["mat-button","",1,"menu-button",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Ethernet switches templates"),e.qZA(),e.YNc(5,Yue,2,1,"button",4),e.YNc(6,Jue,2,1,"button",5),e.qZA(),e.qZA(),e.YNc(7,Que,1,0,"app-empty-templates-list",6),e.YNc(8,$ue,3,1,"div",7),e.qZA(),e.TgZ(9,"app-delete-template",8,9),e.NdJ("deleteEvent",function(){return n.onDeleteEvent()}),e.qZA()),2&t&&(e.xp6(5),e.Q6J("ngIf",n.server),e.xp6(1),e.Q6J("ngIf",n.server),e.xp6(1),e.Q6J("ngIf",!n.ethernetSwitchesTemplates.length),e.xp6(1),e.Q6J("ngIf",n.ethernetSwitchesTemplates.length),e.xp6(1),e.Q6J("server",n.server))},directives:[Pt.O5,Mo,En,go,md,Iu,Pt.sg,Zs,ns,er,Ls,Zr],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}(),k6=function r(){(0,v.Z)(this,r)},Xm=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.httpServer=t}return(0,g.Z)(i,[{key:"getTemplates",value:function(n){return this.httpServer.get(n,"/templates")}},{key:"getTemplate",value:function(n,a){return this.httpServer.get(n,"/templates/".concat(a))}},{key:"getImages",value:function(n){return this.httpServer.get(n,"/compute/docker/images")}},{key:"addTemplate",value:function(n,a){return this.httpServer.post(n,"/templates",a)}},{key:"saveTemplate",value:function(n,a){return this.httpServer.put(n,"/templates/".concat(a.template_id),a)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(Ja.wh))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),K1=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"getConsoleTypes",value:function(){return["telnet","vnc","http","https","none"]}},{key:"getCategories",value:function(){return[["Default","guest"],["Routers","router"],["Switches","switch"],["End devices","guest"],["Security devices","firewall"]]}},{key:"getConsoleResolutions",value:function(){return["1920x1080","1366x768","1280x1024","1280x800","1024x768","800x600","640x480"]}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}();function tce(r,i){1&r&&e.Hsn(0)}var nce=["*"],Ej=function(){var r=function(){function i(t){(0,v.Z)(this,i),this._elementRef=t}return(0,g.Z)(i,[{key:"focus",value:function(){this._elementRef.nativeElement.focus()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq))},r.\u0275dir=e.lG2({type:r,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),r}(),Mj=function(){var r=function i(t){(0,v.Z)(this,i),this.template=t};return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.Rgc))},r.\u0275dir=e.lG2({type:r,selectors:[["","cdkStepLabel",""]]}),r}(),rce=0,Aj=new e.OlP("STEPPER_GLOBAL_OPTIONS"),w6=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this._stepper=t,this.interacted=!1,this.interactedStream=new e.vpe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=n||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}return(0,g.Z)(i,[{key:"editable",get:function(){return this._editable},set:function(n){this._editable=(0,Hn.Ig)(n)}},{key:"optional",get:function(){return this._optional},set:function(n){this._optional=(0,Hn.Ig)(n)}},{key:"completed",get:function(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride},set:function(n){this._completedOverride=(0,Hn.Ig)(n)}},{key:"_getDefaultCompleted",value:function(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}},{key:"hasError",get:function(){return null==this._customError?this._getDefaultError():this._customError},set:function(n){this._customError=(0,Hn.Ig)(n)}},{key:"_getDefaultError",value:function(){return this.stepControl&&this.stepControl.invalid&&this.interacted}},{key:"select",value:function(){this._stepper.selected=this}},{key:"reset",value:function(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}},{key:"ngOnChanges",value:function(){this._stepper._stateChanged()}},{key:"_markAsInteracted",value:function(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}},{key:"_showError",value:function(){var n;return null!==(n=this._stepperOptions.showError)&&void 0!==n?n:null!=this._customError}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36((0,e.Gpc)(function(){return X_})),e.Y36(Aj,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["cdk-step"]],contentQueries:function(t,n,a){var o;1&t&&e.Suo(a,Mj,5),2&t&&e.iGM(o=e.CRH())&&(n.stepLabel=o.first)},viewQuery:function(t,n){var a;1&t&&e.Gf(e.Rgc,7),2&t&&e.iGM(a=e.CRH())&&(n.content=a.first)},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:"editable",optional:"optional",completed:"completed",hasError:"hasError"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[e.TTD],ngContentSelectors:nce,decls:1,vars:0,template:function(t,n){1&t&&(e.F$t(),e.YNc(0,tce,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),r}(),X_=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this._dir=t,this._changeDetectorRef=n,this._elementRef=a,this._destroyed=new Un.xQ,this.steps=new e.n_E,this._sortedHeaders=new e.n_E,this._linear=!1,this._selectedIndex=0,this.selectionChange=new e.vpe,this._orientation="horizontal",this._groupId=rce++}return(0,g.Z)(i,[{key:"linear",get:function(){return this._linear},set:function(n){this._linear=(0,Hn.Ig)(n)}},{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(n){var o,a=(0,Hn.su)(n);this.steps&&this._steps?(this._isValidIndex(n),null===(o=this.selected)||void 0===o||o._markAsInteracted(),this._selectedIndex!==a&&!this._anyControlsInvalidOrPending(a)&&(a>=this._selectedIndex||this.steps.toArray()[a].editable)&&this._updateSelectedItemIndex(n)):this._selectedIndex=a}},{key:"selected",get:function(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0},set:function(n){this.selectedIndex=n&&this.steps?this.steps.toArray().indexOf(n):-1}},{key:"orientation",get:function(){return this._orientation},set:function(n){this._orientation=n,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===n)}},{key:"ngAfterContentInit",value:function(){var n=this;this._steps.changes.pipe((0,$o.O)(this._steps),(0,Ai.R)(this._destroyed)).subscribe(function(a){n.steps.reset(a.filter(function(o){return o._stepper===n})),n.steps.notifyOnChanges()})}},{key:"ngAfterViewInit",value:function(){var n=this;this._stepHeader.changes.pipe((0,$o.O)(this._stepHeader),(0,Ai.R)(this._destroyed)).subscribe(function(a){n._sortedHeaders.reset(a.toArray().sort(function(o,s){return o._elementRef.nativeElement.compareDocumentPosition(s._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1})),n._sortedHeaders.notifyOnChanges()}),this._keyManager=new Gi.Em(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,Kn.of)()).pipe((0,$o.O)(this._layoutDirection()),(0,Ai.R)(this._destroyed)).subscribe(function(a){return n._keyManager.withHorizontalOrientation(a)}),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(function(){n.selected||(n._selectedIndex=Math.max(n._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}},{key:"ngOnDestroy",value:function(){this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}},{key:"next",value:function(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}},{key:"previous",value:function(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}},{key:"reset",value:function(){this._updateSelectedItemIndex(0),this.steps.forEach(function(n){return n.reset()}),this._stateChanged()}},{key:"_getStepLabelId",value:function(n){return"cdk-step-label-".concat(this._groupId,"-").concat(n)}},{key:"_getStepContentId",value:function(n){return"cdk-step-content-".concat(this._groupId,"-").concat(n)}},{key:"_stateChanged",value:function(){this._changeDetectorRef.markForCheck()}},{key:"_getAnimationDirection",value:function(n){var a=n-this._selectedIndex;return a<0?"rtl"===this._layoutDirection()?"next":"previous":a>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}},{key:"_getIndicatorType",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"number",o=this.steps.toArray()[n],s=this._isCurrentStep(n);return o._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(o,s):this._getGuidelineLogic(o,s,a)}},{key:"_getDefaultIndicatorLogic",value:function(n,a){return n._showError()&&n.hasError&&!a?"error":!n.completed||a?"number":n.editable?"edit":"done"}},{key:"_getGuidelineLogic",value:function(n,a){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"number";return n._showError()&&n.hasError&&!a?"error":n.completed&&!a?"done":n.completed&&a?o:n.editable&&a?"edit":o}},{key:"_isCurrentStep",value:function(n){return this._selectedIndex===n}},{key:"_getFocusIndex",value:function(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}},{key:"_updateSelectedItemIndex",value:function(n){var a=this.steps.toArray();this.selectionChange.emit({selectedIndex:n,previouslySelectedIndex:this._selectedIndex,selectedStep:a[n],previouslySelectedStep:a[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(n):this._keyManager.updateActiveItem(n),this._selectedIndex=n,this._stateChanged()}},{key:"_onKeydown",value:function(n){var a=(0,ui.Vb)(n),o=n.keyCode,s=this._keyManager;null==s.activeItemIndex||a||o!==ui.L_&&o!==ui.K5?s.onKeydown(n):(this.selectedIndex=s.activeItemIndex,n.preventDefault())}},{key:"_anyControlsInvalidOrPending",value:function(n){return!!(this._linear&&n>=0)&&this.steps.toArray().slice(0,n).some(function(a){var o=a.stepControl;return(o?o.invalid||o.pending||!a.interacted:!a.completed)&&!a.optional&&!a._completedOverride})}},{key:"_layoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_containsFocus",value:function(){var n=this._elementRef.nativeElement,a=(0,vi.ht)();return n===a||n.contains(a)}},{key:"_isValidIndex",value:function(n){return n>-1&&(!this.steps||n<this.steps.length)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Ms.Is,8),e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(Pt.K0))},r.\u0275dir=e.lG2({type:r,selectors:[["","cdkStepper",""]],contentQueries:function(t,n,a){var o;1&t&&(e.Suo(a,w6,5),e.Suo(a,Ej,5)),2&t&&(e.iGM(o=e.CRH())&&(n._steps=o),e.iGM(o=e.CRH())&&(n._stepHeader=o))},inputs:{linear:"linear",selectedIndex:"selectedIndex",selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange"},exportAs:["cdkStepper"]}),r}(),ice=function(){var r=function(){function i(t){(0,v.Z)(this,i),this._stepper=t,this.type="submit"}return(0,g.Z)(i,[{key:"_handleClick",value:function(){this._stepper.next()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(X_))},r.\u0275dir=e.lG2({type:r,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(t,n){1&t&&e.NdJ("click",function(){return n._handleClick()}),2&t&&e.Ikx("type",n.type)},inputs:{type:"type"}}),r}(),ace=function(){var r=function(){function i(t){(0,v.Z)(this,i),this._stepper=t,this.type="button"}return(0,g.Z)(i,[{key:"_handleClick",value:function(){this._stepper.previous()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(X_))},r.\u0275dir=e.lG2({type:r,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(t,n){1&t&&e.NdJ("click",function(){return n._handleClick()}),2&t&&e.Ikx("type",n.type)},inputs:{type:"type"}}),r}(),oce=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[[Ms.vT]]}),r}();function sce(r,i){if(1&r&&e.GkF(0,8),2&r){var t=e.oxw();e.Q6J("ngTemplateOutlet",t.iconOverrides[t.state])("ngTemplateOutletContext",t._getIconContext())}}function lce(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){var t=e.oxw(2);e.xp6(1),e.Oqu(t._getDefaultTextForState(t.state))}}function uce(r,i){if(1&r&&(e.TgZ(0,"span",13),e._uU(1),e.qZA()),2&r){var t=e.oxw(2);e.xp6(1),e.Oqu(t._intl.completedLabel)}}function cce(r,i){if(1&r&&(e.TgZ(0,"span",13),e._uU(1),e.qZA()),2&r){var t=e.oxw(2);e.xp6(1),e.Oqu(t._intl.editableLabel)}}function dce(r,i){if(1&r&&(e.TgZ(0,"mat-icon"),e._uU(1),e.qZA()),2&r){var t=e.oxw(2);e.xp6(1),e.Oqu(t._getDefaultTextForState(t.state))}}function pce(r,i){if(1&r&&(e.ynx(0,9),e.YNc(1,lce,2,1,"span",10),e.YNc(2,uce,2,1,"span",11),e.YNc(3,cce,2,1,"span",11),e.YNc(4,dce,2,1,"mat-icon",12),e.BQk()),2&r){var t=e.oxw();e.Q6J("ngSwitch",t.state),e.xp6(1),e.Q6J("ngSwitchCase","number"),e.xp6(1),e.Q6J("ngIf","done"===t.state),e.xp6(1),e.Q6J("ngIf","edit"===t.state)}}function fce(r,i){if(1&r&&(e.TgZ(0,"div",14),e.GkF(1,15),e.qZA()),2&r){var t=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",t._templateLabel().template)}}function hce(r,i){if(1&r&&(e.TgZ(0,"div",14),e._uU(1),e.qZA()),2&r){var t=e.oxw();e.xp6(1),e.Oqu(t.label)}}function mce(r,i){if(1&r&&(e.TgZ(0,"div",16),e._uU(1),e.qZA()),2&r){var t=e.oxw();e.xp6(1),e.Oqu(t._intl.optionalLabel)}}function vce(r,i){if(1&r&&(e.TgZ(0,"div",17),e._uU(1),e.qZA()),2&r){var t=e.oxw();e.xp6(1),e.Oqu(t.errorMessage)}}function gce(r,i){}function _ce(r,i){if(1&r&&(e.Hsn(0),e.YNc(1,gce,0,0,"ng-template",0)),2&r){var t=e.oxw();e.xp6(1),e.Q6J("cdkPortalOutlet",t._portal)}}var yce=["*"];function bce(r,i){1&r&&e._UZ(0,"div",9)}var Dj=function(i,t){return{step:i,i:t}};function Cce(r,i){if(1&r&&(e.ynx(0),e.GkF(1,7),e.YNc(2,bce,1,0,"div",8),e.BQk()),2&r){var t=i.$implicit,n=i.index,a=i.last;e.oxw(2);var o=e.MAs(4);e.xp6(1),e.Q6J("ngTemplateOutlet",o)("ngTemplateOutletContext",e.WLB(3,Dj,t,n)),e.xp6(1),e.Q6J("ngIf",!a)}}function Sce(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",10),e.NdJ("@horizontalStepTransition.done",function(l){return e.CHM(t),e.oxw(2)._animationDone.next(l)}),e.GkF(1,11),e.qZA()}if(2&r){var n=i.$implicit,a=i.index,o=e.oxw(2);e.Q6J("@horizontalStepTransition",o._getAnimationDirection(a))("id",o._getStepContentId(a)),e.uIk("aria-labelledby",o._getStepLabelId(a))("aria-expanded",o.selectedIndex===a),e.xp6(1),e.Q6J("ngTemplateOutlet",n.content)}}function Tce(r,i){if(1&r&&(e.ynx(0),e.TgZ(1,"div",3),e.YNc(2,Cce,3,6,"ng-container",4),e.qZA(),e.TgZ(3,"div",5),e.YNc(4,Sce,2,5,"div",6),e.qZA(),e.BQk()),2&r){var t=e.oxw();e.xp6(2),e.Q6J("ngForOf",t.steps),e.xp6(2),e.Q6J("ngForOf",t.steps)}}function kce(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",13),e.GkF(1,7),e.TgZ(2,"div",14),e.TgZ(3,"div",15),e.NdJ("@verticalStepTransition.done",function(h){return e.CHM(t),e.oxw(2)._animationDone.next(h)}),e.TgZ(4,"div",16),e.GkF(5,11),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=i.$implicit,a=i.index,o=i.last,s=e.oxw(2),l=e.MAs(4);e.xp6(1),e.Q6J("ngTemplateOutlet",l)("ngTemplateOutletContext",e.WLB(9,Dj,n,a)),e.xp6(1),e.ekj("mat-stepper-vertical-line",!o),e.xp6(1),e.Q6J("@verticalStepTransition",s._getAnimationDirection(a))("id",s._getStepContentId(a)),e.uIk("aria-labelledby",s._getStepLabelId(a))("aria-expanded",s.selectedIndex===a),e.xp6(2),e.Q6J("ngTemplateOutlet",n.content)}}function wce(r,i){if(1&r&&(e.ynx(0),e.YNc(1,kce,6,12,"div",12),e.BQk()),2&r){var t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.steps)}}function xce(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-step-header",17),e.NdJ("click",function(){return e.CHM(t).step.select()})("keydown",function(l){return e.CHM(t),e.oxw()._onKeydown(l)}),e.qZA()}if(2&r){var n=i.step,a=i.i,o=e.oxw();e.ekj("mat-horizontal-stepper-header","horizontal"===o.orientation)("mat-vertical-stepper-header","vertical"===o.orientation),e.Q6J("tabIndex",o._getFocusIndex()===a?0:-1)("id",o._getStepLabelId(a))("index",a)("state",o._getIndicatorType(a,n.state))("label",n.stepLabel||n.label)("selected",o.selectedIndex===a)("active",o._stepIsNavigable(a,n))("optional",n.optional)("errorMessage",n.errorMessage)("iconOverrides",o._iconOverrides)("disableRipple",o.disableRipple||!o._stepIsNavigable(a,n))("color",n.color||o.color),e.uIk("aria-posinset",a+1)("aria-setsize",o.steps.length)("aria-controls",o._getStepContentId(a))("aria-selected",o.selectedIndex==a)("aria-label",n.ariaLabel||null)("aria-labelledby",!n.ariaLabel&&n.ariaLabelledby?n.ariaLabelledby:null)("aria-disabled",!o._stepIsNavigable(a,n)||null)}}var LA=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(){return(0,v.Z)(this,n),t.apply(this,arguments)}return n}(Mj);return r.\u0275fac=function(){var i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,selectors:[["","matStepLabel",""]],features:[e.qOj]}),r}(),FA=function(){var r=function i(){(0,v.Z)(this,i),this.changes=new Un.xQ,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"};return r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac=function(t){return new(t||r)},providedIn:"root"}),r}(),Mce={provide:FA,deps:[[new e.FiY,new e.tp0,FA]],useFactory:function(r){return r||new FA}},Ace=(0,sn.pj)(function(r){(0,O.Z)(t,r);var i=(0,y.Z)(t);function t(n){return(0,v.Z)(this,t),i.call(this,n)}return t}(Ej),"primary"),Oj=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o,s,l){var d;return(0,v.Z)(this,n),(d=t.call(this,s))._intl=a,d._focusMonitor=o,d._intlSubscription=a.changes.subscribe(function(){return l.markForCheck()}),d}return(0,g.Z)(n,[{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this._elementRef,!0)}},{key:"ngOnDestroy",value:function(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(o,s){o?this._focusMonitor.focusVia(this._elementRef,o,s):this._elementRef.nativeElement.focus(s)}},{key:"_stringLabel",value:function(){return this.label instanceof LA?null:this.label}},{key:"_templateLabel",value:function(){return this.label instanceof LA?this.label:null}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_getIconContext",value:function(){return{index:this.index,active:this.active,optional:this.optional}}},{key:"_getDefaultTextForState",value:function(o){return"number"==o?"".concat(this.index+1):"edit"==o?"create":"error"==o?"warning":o}}]),n}(Ace);return r.\u0275fac=function(t){return new(t||r)(e.Y36(FA),e.Y36(Gi.tE),e.Y36(e.SBq),e.Y36(e.sBO))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[e.qOj],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],["class","mat-step-text-label",4,"ngIf"],["class","mat-step-optional",4,"ngIf"],["class","mat-step-sub-label-error",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],[4,"ngSwitchCase"],["class","cdk-visually-hidden",4,"ngIf"],[4,"ngSwitchDefault"],[1,"cdk-visually-hidden"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(t,n){1&t&&(e._UZ(0,"div",0),e.TgZ(1,"div"),e.TgZ(2,"div",1),e.YNc(3,sce,1,2,"ng-container",2),e.YNc(4,pce,5,4,"ng-container",3),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.YNc(6,fce,2,1,"div",5),e.YNc(7,hce,2,1,"div",5),e.YNc(8,mce,2,1,"div",6),e.YNc(9,vce,2,1,"div",7),e.qZA()),2&t&&(e.Q6J("matRippleTrigger",n._getHostElement())("matRippleDisabled",n.disableRipple),e.xp6(1),e.Gre("mat-step-icon-state-",n.state," mat-step-icon"),e.ekj("mat-step-icon-selected",n.selected),e.xp6(1),e.Q6J("ngSwitch",!(!n.iconOverrides||!n.iconOverrides[n.state])),e.xp6(1),e.Q6J("ngSwitchCase",!0),e.xp6(2),e.ekj("mat-step-label-active",n.active)("mat-step-label-selected",n.selected)("mat-step-label-error","error"==n.state),e.xp6(1),e.Q6J("ngIf",n._templateLabel()),e.xp6(1),e.Q6J("ngIf",n._stringLabel()),e.xp6(1),e.Q6J("ngIf",n.optional&&"error"!=n.state),e.xp6(1),e.Q6J("ngIf","error"==n.state))},directives:[sn.wG,Pt.RF,Pt.n9,Pt.ED,Pt.O5,Pt.tP,er],styles:[".mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:transparent}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header.cdk-keyboard-focused,.cdk-high-contrast-active .mat-step-header.cdk-program-focused{outline:solid 3px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.mat-step-optional,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.mat-step-icon-content,.mat-step-icon .mat-icon{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),r}(),Pj={horizontalStepTransition:(0,en.X$)("horizontalStepTransition",[(0,en.SB)("previous",(0,en.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,en.SB)("current",(0,en.oB)({transform:"none",visibility:"inherit"})),(0,en.SB)("next",(0,en.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,en.eR)("* => *",(0,en.jt)("500ms cubic-bezier(0.35, 0, 0.25, 1)"))]),verticalStepTransition:(0,en.X$)("verticalStepTransition",[(0,en.SB)("previous",(0,en.oB)({height:"0px",visibility:"hidden"})),(0,en.SB)("next",(0,en.oB)({height:"0px",visibility:"hidden"})),(0,en.SB)("current",(0,en.oB)({height:"*",visibility:"inherit"})),(0,en.eR)("* <=> current",(0,en.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])},Dce=function(){var r=function i(t){(0,v.Z)(this,i),this.templateRef=t};return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.Rgc))},r.\u0275dir=e.lG2({type:r,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),r}(),Oce=function(){var r=function i(t){(0,v.Z)(this,i),this._template=t};return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.Rgc))},r.\u0275dir=e.lG2({type:r,selectors:[["ng-template","matStepContent",""]]}),r}(),$_=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o,s,l){var d;return(0,v.Z)(this,n),(d=t.call(this,a,l))._errorStateMatcher=o,d._viewContainerRef=s,d._isSelected=Lo.w.EMPTY,d}return(0,g.Z)(n,[{key:"ngAfterContentInit",value:function(){var o=this;this._isSelected=this._stepper.steps.changes.pipe((0,Ou.w)(function(){return o._stepper.selectionChange.pipe((0,kr.U)(function(s){return s.selectedStep===o}),(0,$o.O)(o._stepper.selected===o))})).subscribe(function(s){s&&o._lazyContent&&!o._portal&&(o._portal=new ta.UE(o._lazyContent._template,o._viewContainerRef))})}},{key:"ngOnDestroy",value:function(){this._isSelected.unsubscribe()}},{key:"isErrorState",value:function(o,s){return this._errorStateMatcher.isErrorState(o,s)||!!(o&&o.invalid&&this.interacted)}}]),n}(w6);return r.\u0275fac=function(t){return new(t||r)(e.Y36((0,e.Gpc)(function(){return ey})),e.Y36(sn.rD,4),e.Y36(e.s_b),e.Y36(Aj,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-step"]],contentQueries:function(t,n,a){var o;1&t&&(e.Suo(a,LA,5),e.Suo(a,Oce,5)),2&t&&(e.iGM(o=e.CRH())&&(n.stepLabel=o.first),e.iGM(o=e.CRH())&&(n._lazyContent=o.first))},inputs:{color:"color"},exportAs:["matStep"],features:[e._Bn([{provide:sn.rD,useExisting:r},{provide:w6,useExisting:r}]),e.qOj],ngContentSelectors:yce,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(t,n){1&t&&(e.F$t(),e.YNc(0,_ce,2,1,"ng-template"))},directives:[ta.Pl],encapsulation:2,changeDetection:0}),r}(),Ij=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(){return(0,v.Z)(this,n),t.apply(this,arguments)}return n}(X_);return r.\u0275fac=function(){var i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,features:[e.qOj]}),r}(),Pce=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(){return(0,v.Z)(this,n),t.apply(this,arguments)}return n}(Ij);return r.\u0275fac=function(){var i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,selectors:[["mat-horizontal-stepper"]],features:[e.qOj]}),r}(),Ice=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(){return(0,v.Z)(this,n),t.apply(this,arguments)}return n}(Ij);return r.\u0275fac=function(){var i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,selectors:[["mat-vertical-stepper"]],features:[e.qOj]}),r}(),ey=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o,s,l){var d;(0,v.Z)(this,n),(d=t.call(this,a,o,s,l)).steps=new e.n_E,d.animationDone=new e.vpe,d.labelPosition="end",d._iconOverrides={},d._animationDone=new Un.xQ;var h=s.nativeElement.nodeName.toLowerCase();return d.orientation="mat-vertical-stepper"===h?"vertical":"horizontal",d}return(0,g.Z)(n,[{key:"ngAfterContentInit",value:function(){var o=this;(0,x.Z)((0,Z.Z)(n.prototype),"ngAfterContentInit",this).call(this),this._icons.forEach(function(s){return o._iconOverrides[s.name]=s.templateRef}),this.steps.changes.pipe((0,Ai.R)(this._destroyed)).subscribe(function(){o._stateChanged()}),this._animationDone.pipe((0,Qb.x)(function(s,l){return s.fromState===l.fromState&&s.toState===l.toState}),(0,Ai.R)(this._destroyed)).subscribe(function(s){"current"===s.toState&&o.animationDone.emit()})}},{key:"_stepIsNavigable",value:function(o,s){return s.completed||this.selectedIndex===o||!this.linear}}]),n}(X_);return r.\u0275fac=function(t){return new(t||r)(e.Y36(Ms.Is,8),e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(Pt.K0))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(t,n,a){var o;1&t&&(e.Suo(a,$_,5),e.Suo(a,Dce,5)),2&t&&(e.iGM(o=e.CRH())&&(n._steps=o),e.iGM(o=e.CRH())&&(n._icons=o))},viewQuery:function(t,n){var a;1&t&&e.Gf(Oj,5),2&t&&e.iGM(a=e.CRH())&&(n._stepHeader=a)},hostAttrs:["role","tablist"],hostVars:9,hostBindings:function(t,n){2&t&&(e.uIk("aria-orientation",n.orientation),e.ekj("mat-stepper-horizontal","horizontal"===n.orientation)("mat-stepper-vertical","vertical"===n.orientation)("mat-stepper-label-position-end","horizontal"===n.orientation&&"end"==n.labelPosition)("mat-stepper-label-position-bottom","horizontal"===n.orientation&&"bottom"==n.labelPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[e._Bn([{provide:X_,useExisting:r},{provide:Pce,useExisting:r},{provide:Ice,useExisting:r}]),e.qOj],decls:5,vars:3,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],["stepTemplate",""],[1,"mat-horizontal-stepper-header-container"],[4,"ngFor","ngForOf"],[1,"mat-horizontal-content-container"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"]],template:function(t,n){1&t&&(e.ynx(0,0),e.YNc(1,Tce,5,2,"ng-container",1),e.YNc(2,wce,2,1,"ng-container",1),e.BQk(),e.YNc(3,xce,1,23,"ng-template",null,2,e.W1O)),2&t&&(e.Q6J("ngSwitch",n.orientation),e.xp6(1),e.Q6J("ngSwitchCase","horizontal"),e.xp6(1),e.Q6J("ngSwitchCase","vertical"))},directives:[Pt.RF,Pt.n9,Pt.sg,Pt.tP,Pt.O5,Oj],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content[aria-expanded=false]{height:0;overflow:hidden}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}\n'],encapsulation:2,data:{animation:[Pj.horizontalStepTransition,Pj.verticalStepTransition]},changeDetection:0}),r}(),Rce=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(){return(0,v.Z)(this,n),t.apply(this,arguments)}return n}(ice);return r.\u0275fac=function(){var i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(t,n){2&t&&e.Ikx("type",n.type)},inputs:{type:"type"},features:[e.qOj]}),r}(),Nce=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(){return(0,v.Z)(this,n),t.apply(this,arguments)}return n}(ace);return r.\u0275fac=function(){var i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275dir=e.lG2({type:r,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(t,n){2&t&&e.Ikx("type",n.type)},inputs:{type:"type"},features:[e.qOj]}),r}(),Zce=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[Mce,sn.rD],imports:[[sn.BQ,Pt.ez,ta.eL,PA,oce,f6,sn.si],sn.BQ]}),r}();function Lce(r,i){if(1&r&&(e.TgZ(0,"mat-option",32),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t.image," ")}}var Rj=function(){return{standalone:!0}};function Fce(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-select",31),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().selectedImage=o}),e.YNc(1,Lce,2,2,"mat-option",25),e.qZA()}if(2&r){var n=e.oxw();e.Q6J("ngModelOptions",e.DdM(3,Rj))("ngModel",n.selectedImage),e.xp6(1),e.Q6J("ngForOf",n.dockerImages)}}function Bce(r,i){1&r&&(e.TgZ(0,"div"),e.TgZ(1,"mat-form-field",17),e._UZ(2,"input",33),e.qZA(),e.qZA())}function Uce(r,i){if(1&r&&(e.TgZ(0,"mat-option",32),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}var Hce=function(){var r=function(){function i(t,n,a,o,s,l,d,h,C){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.dockerService=a,this.toasterService=o,this.router=s,this.formBuilder=l,this.templateMocksService=d,this.configurationService=h,this.computeService=C,this.consoleTypes=[],this.isRemoteComputerChosen=!1,this.dockerImages=[],this.newImageSelected=!1,this.isGns3VmAvailable=!1,this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0,this.dockerTemplate=new k6,this.virtualMachineForm=this.formBuilder.group({filename:new re.NI(null,re.kI.required)}),this.containerNameForm=this.formBuilder.group({templateName:new re.NI(null,re.kI.required)}),this.networkAdaptersForm=this.formBuilder.group({adapters:new re.NI("1",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(a,10)).then(function(o){n.server=o,n.consoleTypes=n.configurationService.getConsoleTypes(),n.templateMocksService.getDockerTemplate().subscribe(function(s){n.dockerTemplate=s}),n.computeService.getComputes(o).subscribe(function(s){s.filter(function(l){return"vm"===l.compute_id}).length>0&&(n.isGns3VmAvailable=!0)}),n.dockerService.getImages(o).subscribe(function(s){n.dockerImages=s})})}},{key:"setServerType",value:function(n){"gns3 vm"===n&&this.isGns3VmAvailable?(this.isGns3VmChosen=!0,this.isLocalComputerChosen=!1):(this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0)}},{key:"setDiskImage",value:function(n){this.newImageSelected="newImage"===n}},{key:"goBack",value:function(){this.router.navigate(["/server",this.server.id,"preferences","docker","templates"])}},{key:"addTemplate",value:function(){var n=this;this.virtualMachineForm.invalid&&(this.newImageSelected||!this.selectedImage)||this.containerNameForm.invalid||this.networkAdaptersForm.invalid?this.toasterService.error("Fill all required fields"):(this.dockerTemplate.template_id=(0,Eo.v4)(),this.dockerTemplate.image=this.newImageSelected?this.virtualMachineForm.get("filename").value:this.selectedImage.image,this.dockerTemplate.name=this.containerNameForm.get("templateName").value,this.dockerTemplate.adapters=+this.networkAdaptersForm.get("adapters").value,this.dockerTemplate.compute_id=this.isGns3VmChosen?"vm":"local",this.dockerService.addTemplate(this.server,this.dockerTemplate).subscribe(function(a){n.goBack()}))}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(Xm),e.Y36(Yn),e.Y36(xr),e.Y36(re.qu),e.Y36(bc),e.Y36(K1),e.Y36(Cc.X))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-add-docker-template"]],decls:45,vars:19,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[1,"container","mat-elevation-z8"],[3,"linear"],["label","Server type",3,"completed"],[1,"radio-group"],["value","1","checked","",1,"radio-button",3,"click"],["value","2",1,"radio-button",3,"disabled","click"],["label","Docker Virtual Machine",3,"completed"],[3,"formGroup"],["value","2",1,"radio-button",3,"click"],["placeholder","Image list",3,"ngModelOptions","ngModel","ngModelChange",4,"ngIf"],[4,"ngIf"],["label","Container name",3,"completed"],[1,"form-field"],["matInput","","type","text","formControlName","templateName","placeholder","Container name",1,"templatename"],["label","Network adapters",3,"completed"],["matInput","","type","number","formControlName","adapters","placeholder","Adapters",1,"networkadapter"],["label","Start command",3,"completed"],["matInput","","type","text","placeholder","Start command",3,"ngModel","ngModelChange"],["label","Console type",3,"completed"],["placeholder","Console type",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["label","Environment"],["matInput","","type","text",3,"ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",1,"add-button",3,"click"],["placeholder","Image list",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value"],["matInput","","type","text","formControlName","filename","placeholder","Image name",1,"filename"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"New Docker container template"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"div",5),e.TgZ(7,"mat-vertical-stepper",6),e.TgZ(8,"mat-step",7),e.TgZ(9,"mat-radio-group",8),e.TgZ(10,"mat-radio-button",9),e.NdJ("click",function(){return n.setServerType("local")}),e._uU(11,"Run this Docker container locally"),e.qZA(),e.TgZ(12,"mat-radio-button",10),e.NdJ("click",function(){return n.setServerType("gns3 vm")}),e._uU(13,"Run this Docker container on the GNS3 VM"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(14,"mat-step",11),e.TgZ(15,"form",12),e.TgZ(16,"mat-radio-group",8),e.TgZ(17,"mat-radio-button",9),e.NdJ("click",function(){return n.setDiskImage("existingImage")}),e._uU(18,"Existing image"),e.qZA(),e.TgZ(19,"mat-radio-button",13),e.NdJ("click",function(){return n.setDiskImage("newImage")}),e._uU(20,"New image"),e.qZA(),e.qZA(),e.YNc(21,Fce,2,4,"mat-select",14),e.YNc(22,Bce,3,0,"div",15),e.qZA(),e.qZA(),e.TgZ(23,"mat-step",16),e.TgZ(24,"form",12),e.TgZ(25,"mat-form-field",17),e._UZ(26,"input",18),e.qZA(),e.qZA(),e.qZA(),e.TgZ(27,"mat-step",19),e.TgZ(28,"form",12),e.TgZ(29,"mat-form-field",17),e._UZ(30,"input",20),e.qZA(),e.qZA(),e.qZA(),e.TgZ(31,"mat-step",21),e.TgZ(32,"mat-form-field",17),e.TgZ(33,"input",22),e.NdJ("ngModelChange",function(o){return n.dockerTemplate.start_command=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(34,"mat-step",23),e.TgZ(35,"mat-select",24),e.NdJ("ngModelChange",function(o){return n.dockerTemplate.console_type=o}),e.YNc(36,Uce,2,2,"mat-option",25),e.qZA(),e.qZA(),e.TgZ(37,"mat-step",26),e.TgZ(38,"mat-form-field",17),e.TgZ(39,"textarea",27),e.NdJ("ngModelChange",function(o){return n.dockerTemplate.environment=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(40,"div",28),e.TgZ(41,"button",29),e.NdJ("click",function(){return n.goBack()}),e._uU(42,"Cancel"),e.qZA(),e.TgZ(43,"button",30),e.NdJ("click",function(){return n.addTemplate()}),e._uU(44,"Add template"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(7),e.Q6J("linear",!0),e.xp6(1),e.Q6J("completed",n.isGns3VmChosen||n.isLocalComputerChosen),e.xp6(4),e.Q6J("disabled",!n.isGns3VmAvailable),e.xp6(2),e.Q6J("completed",n.selectedImage||n.virtualMachineForm.get("filename").value),e.xp6(1),e.Q6J("formGroup",n.virtualMachineForm),e.xp6(6),e.Q6J("ngIf",!n.newImageSelected),e.xp6(1),e.Q6J("ngIf",n.newImageSelected),e.xp6(1),e.Q6J("completed",n.containerNameForm.get("templateName").value),e.xp6(1),e.Q6J("formGroup",n.containerNameForm),e.xp6(3),e.Q6J("completed",n.networkAdaptersForm.get("adapters").value),e.xp6(1),e.Q6J("formGroup",n.networkAdaptersForm),e.xp6(3),e.Q6J("completed",n.dockerTemplate.start_command),e.xp6(2),e.Q6J("ngModel",n.dockerTemplate.start_command),e.xp6(1),e.Q6J("completed",n.dockerTemplate.console_type),e.xp6(1),e.Q6J("ngModelOptions",e.DdM(18,Rj))("ngModel",n.dockerTemplate.console_type),e.xp6(1),e.Q6J("ngForOf",n.consoleTypes),e.xp6(3),e.Q6J("ngModel",n.dockerTemplate.environment))},directives:[ey,$_,El,Ml,re._Y,re.JL,re.sg,Pt.O5,Ln.KE,ir,re.Fj,re.JJ,re.u,re.wV,re.On,yi.gD,Pt.sg,En,sn.ey],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}(),Vce=function(){var r=function(){function i(t,n,a,o,s,l){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.dockerService=a,this.toasterService=o,this.router=s,this.formBuilder=l,this.templateName="",this.templateNameForm=this.formBuilder.group({templateName:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id"),o=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(a,10)).then(function(s){n.server=s,n.dockerService.getTemplate(n.server,o).subscribe(function(l){n.dockerTemplate=l,n.templateName="Copy of ".concat(n.dockerTemplate.name)})})}},{key:"goBack",value:function(){this.router.navigate(["/server",this.server.id,"preferences","docker","templates"])}},{key:"addTemplate",value:function(){var n=this;this.templateNameForm.invalid?this.toasterService.error("Fill all required fields"):(this.dockerTemplate.template_id=(0,Eo.v4)(),this.dockerTemplate.name=this.templateName,this.dockerService.addTemplate(this.server,this.dockerTemplate).subscribe(function(a){n.goBack()}))}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(Xm),e.Y36(Yn),e.Y36(xr),e.Y36(re.qu))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-copy-docker-template"]],decls:15,vars:2,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[1,"container","mat-elevation-z8"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","placeholder","Name","formControlName","templateName",3,"ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Copy Docker container template"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"div",5),e.TgZ(7,"form",6),e.TgZ(8,"mat-form-field",7),e.TgZ(9,"input",8),e.NdJ("ngModelChange",function(o){return n.templateName=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(10,"div",9),e.TgZ(11,"button",10),e.NdJ("click",function(){return n.goBack()}),e._uU(12,"Cancel"),e.qZA(),e.TgZ(13,"button",11),e.NdJ("click",function(){return n.addTemplate()}),e._uU(14,"Copy template"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(7),e.Q6J("formGroup",n.templateNameForm),e.xp6(2),e.Q6J("ngModel",n.templateName))},directives:[re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,En],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}(),Nj=f(13242),jce=["input"],qce=function(i){return{enterDuration:i}},zce=["*"],Wce=new e.OlP("mat-checkbox-default-options",{providedIn:"root",factory:Zj});function Zj(){return{color:"accent",clickAction:"check-indeterminate"}}var Gce=0,Lj=Zj(),Yce={provide:re.JU,useExisting:(0,e.Gpc)(function(){return La}),multi:!0},Jce=function r(){(0,v.Z)(this,r)},Qce=(0,sn.sb)((0,sn.pj)((0,sn.Kr)((0,sn.Id)(function(){return function r(i){(0,v.Z)(this,r),this._elementRef=i}}())))),La=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o,s,l,d,h,C){var P;return(0,v.Z)(this,n),(P=t.call(this,a))._changeDetectorRef=o,P._focusMonitor=s,P._ngZone=l,P._animationMode=h,P._options=C,P.ariaLabel="",P.ariaLabelledby=null,P._uniqueId="mat-checkbox-".concat(++Gce),P.id=P._uniqueId,P.labelPosition="after",P.name=null,P.change=new e.vpe,P.indeterminateChange=new e.vpe,P._onTouched=function(){},P._currentAnimationClass="",P._currentCheckState=0,P._controlValueAccessorChangeFn=function(){},P._checked=!1,P._disabled=!1,P._indeterminate=!1,P._options=P._options||Lj,P.color=P.defaultColor=P._options.color||Lj.color,P.tabIndex=parseInt(d)||0,P}return(0,g.Z)(n,[{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"required",get:function(){return this._required},set:function(o){this._required=(0,Hn.Ig)(o)}},{key:"ngAfterViewInit",value:function(){var o=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(s){s||Promise.resolve().then(function(){o._onTouched(),o._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}},{key:"ngAfterViewChecked",value:function(){}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"checked",get:function(){return this._checked},set:function(o){o!=this.checked&&(this._checked=o,this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(o){var s=(0,Hn.Ig)(o);s!==this.disabled&&(this._disabled=s,this._changeDetectorRef.markForCheck())}},{key:"indeterminate",get:function(){return this._indeterminate},set:function(o){var s=o!=this._indeterminate;this._indeterminate=(0,Hn.Ig)(o),s&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onLabelTextChange",value:function(){this._changeDetectorRef.detectChanges()}},{key:"writeValue",value:function(o){this.checked=!!o}},{key:"registerOnChange",value:function(o){this._controlValueAccessorChangeFn=o}},{key:"registerOnTouched",value:function(o){this._onTouched=o}},{key:"setDisabledState",value:function(o){this.disabled=o}},{key:"_getAriaChecked",value:function(){return this.checked?"true":this.indeterminate?"mixed":"false"}},{key:"_transitionCheckState",value:function(o){var s=this._currentCheckState,l=this._elementRef.nativeElement;if(s!==o&&(this._currentAnimationClass.length>0&&l.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(s,o),this._currentCheckState=o,this._currentAnimationClass.length>0)){l.classList.add(this._currentAnimationClass);var d=this._currentAnimationClass;this._ngZone.runOutsideAngular(function(){setTimeout(function(){l.classList.remove(d)},1e3)})}}},{key:"_emitChangeEvent",value:function(){var o=new Jce;o.source=this,o.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(o),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}},{key:"toggle",value:function(){this.checked=!this.checked}},{key:"_onInputClick",value:function(o){var s,l=this,d=null===(s=this._options)||void 0===s?void 0:s.clickAction;o.stopPropagation(),this.disabled||"noop"===d?!this.disabled&&"noop"===d&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==d&&Promise.resolve().then(function(){l._indeterminate=!1,l.indeterminateChange.emit(l._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}},{key:"focus",value:function(o,s){o?this._focusMonitor.focusVia(this._inputElement,o,s):this._inputElement.nativeElement.focus(s)}},{key:"_onInteractionEvent",value:function(o){o.stopPropagation()}},{key:"_getAnimationClassForCheckStateTransition",value:function(o,s){if("NoopAnimations"===this._animationMode)return"";var l="";switch(o){case 0:if(1===s)l="unchecked-checked";else{if(3!=s)return"";l="unchecked-indeterminate"}break;case 2:l=1===s?"unchecked-checked":"unchecked-indeterminate";break;case 1:l=2===s?"checked-unchecked":"checked-indeterminate";break;case 3:l=1===s?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-".concat(l)}},{key:"_syncIndeterminate",value:function(o){var s=this._inputElement;s&&(s.nativeElement.indeterminate=o)}}]),n}(Qce);return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(Gi.tE),e.Y36(e.R0b),e.$8M("tabindex"),e.Y36(Js.Qb,8),e.Y36(Wce,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-checkbox"]],viewQuery:function(t,n){var a;1&t&&(e.Gf(jce,5),e.Gf(sn.wG,5)),2&t&&(e.iGM(a=e.CRH())&&(n._inputElement=a.first),e.iGM(a=e.CRH())&&(n.ripple=a.first))},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,n){2&t&&(e.Ikx("id",n.id),e.uIk("tabindex",null),e.ekj("mat-checkbox-indeterminate",n.indeterminate)("mat-checkbox-checked",n.checked)("mat-checkbox-disabled",n.disabled)("mat-checkbox-label-before","before"==n.labelPosition)("_mat-animation-noopable","NoopAnimations"===n._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[e._Bn([Yce]),e.qOj],ngContentSelectors:zce,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(t,n){if(1&t&&(e.F$t(),e.TgZ(0,"label",0,1),e.TgZ(2,"span",2),e.TgZ(3,"input",3,4),e.NdJ("change",function(l){return n._onInteractionEvent(l)})("click",function(l){return n._onInputClick(l)}),e.qZA(),e.TgZ(5,"span",5),e._UZ(6,"span",6),e.qZA(),e._UZ(7,"span",7),e.TgZ(8,"span",8),e.O4$(),e.TgZ(9,"svg",9),e._UZ(10,"path",10),e.qZA(),e.kcU(),e._UZ(11,"span",11),e.qZA(),e.qZA(),e.TgZ(12,"span",12,13),e.NdJ("cdkObserveContent",function(){return n._onLabelTextChange()}),e.TgZ(14,"span",14),e._uU(15,"\xa0"),e.qZA(),e.Hsn(16),e.qZA(),e.qZA()),2&t){var a=e.MAs(1),o=e.MAs(13);e.uIk("for",n.inputId),e.xp6(2),e.ekj("mat-checkbox-inner-container-no-side-margin",!o.textContent||!o.textContent.trim()),e.xp6(1),e.Q6J("id",n.inputId)("required",n.required)("checked",n.checked)("disabled",n.disabled)("tabIndex",n.tabIndex),e.uIk("value",n.value)("name",n.name)("aria-label",n.ariaLabel||null)("aria-labelledby",n.ariaLabelledby)("aria-checked",n._getAriaChecked())("aria-describedby",n.ariaDescribedby),e.xp6(2),e.Q6J("matRippleTrigger",a)("matRippleDisabled",n._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",e.VKq(19,qce,"NoopAnimations"===n._animationMode?0:150))}},directives:[sn.wG,Nj.wD],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}\n"],encapsulation:2,changeDetection:0}),r}(),Fj=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r}(),$ce=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[[sn.si,sn.BQ,Nj.Q8,Fj],sn.BQ,Fj]}),r}();function ede(r,i){if(1&r&&(e.TgZ(0,"mat-option",27),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}function tde(r,i){if(1&r&&(e.TgZ(0,"mat-option",27),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function nde(r,i){if(1&r&&(e.TgZ(0,"mat-option",27),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}var $m=function(){return{standalone:!0}};function rde(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",6),e.TgZ(1,"mat-accordion"),e.TgZ(2,"mat-expansion-panel"),e.TgZ(3,"mat-expansion-panel-header"),e.TgZ(4,"mat-panel-title"),e._uU(5," General settings "),e.qZA(),e.qZA(),e.TgZ(6,"form",7),e.TgZ(7,"mat-form-field",8),e.TgZ(8,"input",9),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().dockerTemplate.name=o}),e.qZA(),e.qZA(),e.TgZ(9,"mat-form-field",8),e.TgZ(10,"input",10),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().dockerTemplate.default_name_format=o}),e.qZA(),e.qZA(),e.TgZ(11,"mat-form-field",8),e.TgZ(12,"mat-select",11),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().dockerTemplate.category=o}),e.YNc(13,ede,2,2,"mat-option",12),e.qZA(),e.qZA(),e.TgZ(14,"mat-form-field",8),e.TgZ(15,"input",13),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().dockerTemplate.symbol=o}),e.qZA(),e.qZA(),e.TgZ(16,"button",14),e.NdJ("click",function(){return e.CHM(t),e.oxw().chooseSymbol()}),e._uU(17,"Choose symbol"),e.qZA(),e._UZ(18,"br"),e._UZ(19,"br"),e.TgZ(20,"mat-form-field",8),e.TgZ(21,"input",15),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().dockerTemplate.start_command=o}),e.qZA(),e.qZA(),e.TgZ(22,"mat-form-field",8),e.TgZ(23,"input",16),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().dockerTemplate.adapters=o}),e.qZA(),e.qZA(),e.TgZ(24,"mat-form-field",17),e.TgZ(25,"mat-select",18),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().dockerTemplate.console_type=o}),e.YNc(26,tde,2,2,"mat-option",12),e.qZA(),e.qZA(),e.TgZ(27,"mat-checkbox",19),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().dockerTemplate.console_auto_start=o}),e._uU(28," Auto start console "),e.qZA(),e.TgZ(29,"mat-form-field",17),e.TgZ(30,"mat-select",20),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().dockerTemplate.console_resolution=o}),e.YNc(31,nde,2,2,"mat-option",12),e.qZA(),e.qZA(),e.TgZ(32,"mat-form-field",8),e.TgZ(33,"input",21),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().dockerTemplate.console_http_port=o}),e.qZA(),e.qZA(),e.TgZ(34,"mat-form-field",8),e.TgZ(35,"input",22),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().dockerTemplate.console_http_path=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(36,"h6"),e._uU(37,"Environment"),e.qZA(),e.TgZ(38,"mat-form-field",8),e.TgZ(39,"textarea",23),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().dockerTemplate.environment=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(40,"mat-expansion-panel"),e.TgZ(41,"mat-expansion-panel-header"),e.TgZ(42,"mat-panel-title"),e._uU(43," Advanced "),e.qZA(),e.qZA(),e.TgZ(44,"h6"),e._uU(45,"Extra hosts"),e.qZA(),e.TgZ(46,"mat-form-field",8),e.TgZ(47,"textarea",23),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().dockerTemplate.extra_hosts=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(48,"mat-expansion-panel"),e.TgZ(49,"mat-expansion-panel-header"),e.TgZ(50,"mat-panel-title"),e._uU(51," Usage "),e.qZA(),e.qZA(),e.TgZ(52,"mat-form-field",8),e.TgZ(53,"textarea",23),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().dockerTemplate.usage=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(54,"div",24),e.TgZ(55,"button",25),e.NdJ("click",function(){return e.CHM(t),e.oxw().goBack()}),e._uU(56,"Cancel"),e.qZA(),e.TgZ(57,"button",26),e.NdJ("click",function(){return e.CHM(t),e.oxw().onSave()}),e._uU(58,"Save"),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(6),e.Q6J("formGroup",n.generalSettingsForm),e.xp6(2),e.Q6J("ngModel",n.dockerTemplate.name),e.xp6(2),e.Q6J("ngModel",n.dockerTemplate.default_name_format),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(25,$m))("ngModel",n.dockerTemplate.category),e.xp6(1),e.Q6J("ngForOf",n.categories),e.xp6(2),e.Q6J("ngModel",n.dockerTemplate.symbol),e.xp6(6),e.Q6J("ngModelOptions",e.DdM(26,$m))("ngModel",n.dockerTemplate.start_command),e.xp6(2),e.Q6J("ngModel",n.dockerTemplate.adapters),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(27,$m))("ngModel",n.dockerTemplate.console_type),e.xp6(1),e.Q6J("ngForOf",n.consoleTypes),e.xp6(1),e.Q6J("ngModelOptions",e.DdM(28,$m))("ngModel",n.dockerTemplate.console_auto_start),e.xp6(3),e.Q6J("ngModelOptions",e.DdM(29,$m))("ngModel",n.dockerTemplate.console_resolution),e.xp6(1),e.Q6J("ngForOf",n.consoleResolutions),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(30,$m))("ngModel",n.dockerTemplate.console_http_port),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(31,$m))("ngModel",n.dockerTemplate.console_http_path),e.xp6(4),e.Q6J("ngModel",n.dockerTemplate.environment),e.xp6(8),e.Q6J("ngModel",n.dockerTemplate.extra_hosts),e.xp6(6),e.Q6J("ngModel",n.dockerTemplate.usage)}}function ide(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"app-symbols-menu",28),e.NdJ("symbolChangedEmitter",function(o){return e.CHM(t),e.oxw().symbolChanged(o)}),e.qZA()}if(2&r){var n=e.oxw();e.Q6J("server",n.server)("symbol",n.dockerTemplate.symbol)}}var ade=function(i){return{shadowed:i}},ode=function(){var r=function(){function i(t,n,a,o,s,l,d){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.dockerService=a,this.toasterService=o,this.configurationService=s,this.formBuilder=l,this.router=d,this.isSymbolSelectionOpened=!1,this.consoleTypes=[],this.consoleResolutions=[],this.categories=[],this.adapters=[],this.displayedColumns=["adapter_number","port_name"],this.generalSettingsForm=this.formBuilder.group({templateName:new re.NI("",re.kI.required),defaultName:new re.NI("",re.kI.required),adapter:new re.NI("",re.kI.required),symbol:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id"),o=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(a,10)).then(function(s){n.server=s,n.getConfiguration(),n.dockerService.getTemplate(n.server,o).subscribe(function(l){n.dockerTemplate=l})})}},{key:"getConfiguration",value:function(){this.consoleTypes=this.configurationService.getConsoleTypes(),this.categories=this.configurationService.getCategories(),this.consoleResolutions=this.configurationService.getConsoleResolutions()}},{key:"goBack",value:function(){this.router.navigate(["/server",this.server.id,"preferences","docker","templates"])}},{key:"onSave",value:function(){var n=this;this.generalSettingsForm.invalid?this.toasterService.error("Fill all required fields"):this.dockerService.saveTemplate(this.server,this.dockerTemplate).subscribe(function(a){n.toasterService.success("Changes saved")})}},{key:"chooseSymbol",value:function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened}},{key:"symbolChanged",value:function(n){this.dockerTemplate.symbol=n}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(Xm),e.Y36(Yn),e.Y36(K1),e.Y36(re.qu),e.Y36(xr))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-docker-template-details"]],decls:7,vars:5,consts:[[1,"content",3,"ngClass"],[1,"default-header"],[1,"row"],[1,"col"],["class","default-content",4,"ngIf"],[3,"server","symbol","symbolChangedEmitter",4,"ngIf"],[1,"default-content"],[3,"formGroup"],[1,"form-field"],["formControlName","templateName","matInput","","type","text","placeholder","Template name",3,"ngModel","ngModelChange"],["formControlName","defaultName","matInput","","type","text","placeholder","Default name format",3,"ngModel","ngModelChange"],["placeholder","Category",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["formControlName","symbol","matInput","","type","text","placeholder","Symbol",3,"ngModel","ngModelChange"],["mat-button","",1,"symbolSelectionButton",3,"click"],["matInput","","type","text","placeholder","Start command",3,"ngModelOptions","ngModel","ngModelChange"],["formControlName","adapter","matInput","","type","number","placeholder","Adapters",3,"ngModel","ngModelChange"],[1,"select"],["placeholder","Console type",3,"ngModelOptions","ngModel","ngModelChange"],[3,"ngModelOptions","ngModel","ngModelChange"],["placeholder","VNC console resolution",3,"ngModelOptions","ngModel","ngModelChange"],["matInput","","type","number","placeholder","HTTP port in the container",3,"ngModelOptions","ngModel","ngModelChange"],["matInput","","type","text","placeholder","HTTP path",3,"ngModelOptions","ngModel","ngModelChange"],["matInput","","type","text",3,"ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[3,"server","symbol","symbolChangedEmitter"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Docker image configuration"),e.qZA(),e.qZA(),e.qZA(),e.YNc(5,rde,59,32,"div",4),e.qZA(),e.YNc(6,ide,1,2,"app-symbols-menu",5)),2&t&&(e.Q6J("ngClass",e.VKq(3,ade,n.isSymbolSelectionOpened)),e.xp6(5),e.Q6J("ngIf",n.dockerTemplate),e.xp6(1),e.Q6J("ngIf",n.isSymbolSelectionOpened&&n.dockerTemplate))},directives:[Pt.mk,Pt.O5,dd,_c,yc,cd,re._Y,re.JL,re.sg,Ln.KE,re.Fj,ir,re.JJ,re.u,yi.gD,re.On,Pt.sg,En,re.wV,La,sn.ey,fd],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}();function sde(r,i){if(1&r&&(e.TgZ(0,"button",10),e._uU(1," Back "),e.qZA()),2&r){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences")}}function lde(r,i){if(1&r&&(e.TgZ(0,"button",11),e._uU(1," Add Docker container template "),e.qZA()),2&r){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences/docker/addtemplate")}}function ude(r,i){1&r&&e._UZ(0,"app-empty-templates-list")}function cde(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",15),e.TgZ(1,"mat-list-item",16),e._uU(2),e.qZA(),e.TgZ(3,"button",17),e.TgZ(4,"mat-icon"),e._uU(5,"more_vert"),e.qZA(),e.qZA(),e.TgZ(6,"mat-menu",null,18),e.TgZ(8,"button",19),e.NdJ("click",function(){var l=e.CHM(t).$implicit;return e.oxw(3).deleteTemplate(l)}),e.TgZ(9,"mat-icon"),e._uU(10,"delete"),e.qZA(),e.TgZ(11,"span"),e._uU(12,"Delete"),e.qZA(),e.qZA(),e.TgZ(13,"button",19),e.NdJ("click",function(){var l=e.CHM(t).$implicit;return e.oxw(3).copyTemplate(l)}),e.TgZ(14,"mat-icon"),e._uU(15,"content_copy"),e.qZA(),e.TgZ(16,"span"),e._uU(17,"Copy"),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=i.$implicit,a=e.MAs(7);e.xp6(1),e.s9C("routerLink",n.template_id),e.xp6(1),e.Oqu(n.name),e.xp6(1),e.Q6J("matMenuTriggerFor",a)}}function dde(r,i){if(1&r&&(e.TgZ(0,"mat-nav-list"),e.YNc(1,cde,18,3,"div",14),e.qZA()),2&r){var t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.dockerTemplates)}}function pde(r,i){if(1&r&&(e.TgZ(0,"div",12),e.TgZ(1,"div",13),e.YNc(2,dde,2,1,"mat-nav-list",6),e.qZA(),e.qZA()),2&r){var t=e.oxw();e.xp6(2),e.Q6J("ngIf",t.server)}}var fde=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.dockerService=a,this.router=o,this.dockerTemplates=[]}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(a,10)).then(function(o){n.server=o,n.getTemplates()})}},{key:"getTemplates",value:function(){var n=this;this.dockerService.getTemplates(this.server).subscribe(function(a){n.dockerTemplates=a.filter(function(o){return"docker"===o.template_type&&!o.builtin})})}},{key:"deleteTemplate",value:function(n){this.deleteComponent.deleteItem(n.name,n.template_id)}},{key:"onDeleteEvent",value:function(){this.getTemplates()}},{key:"copyTemplate",value:function(n){this.router.navigate(["/server",this.server.id,"preferences","docker","templates",n.template_id,"copy"])}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(Xm),e.Y36(xr))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-docker-templates"]],viewQuery:function(t,n){var a;1&t&&e.Gf(Mo,5),2&t&&e.iGM(a=e.CRH())&&(n.deleteComponent=a.first)},decls:11,vars:5,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],["class","top-button","class","cancel-button","mat-button","",3,"routerLink",4,"ngIf"],["class","top-button","mat-raised-button","","color","primary",3,"routerLink",4,"ngIf"],[4,"ngIf"],["class","default-content",4,"ngIf"],[3,"server","deleteEvent"],["deleteComponent",""],["mat-button","",1,"cancel-button",3,"routerLink"],["mat-raised-button","","color","primary",1,"top-button",3,"routerLink"],[1,"default-content"],[1,"listcontainer","mat-elevation-z8"],["class","list-item",4,"ngFor","ngForOf"],[1,"list-item"],[1,"template-name",3,"routerLink"],["mat-button","",1,"menu-button",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Docker container templates"),e.qZA(),e.YNc(5,sde,2,1,"button",4),e.YNc(6,lde,2,1,"button",5),e.qZA(),e.qZA(),e.YNc(7,ude,1,0,"app-empty-templates-list",6),e.YNc(8,pde,3,1,"div",7),e.qZA(),e.TgZ(9,"app-delete-template",8,9),e.NdJ("deleteEvent",function(){return n.onDeleteEvent()}),e.qZA()),2&t&&(e.xp6(5),e.Q6J("ngIf",n.server),e.xp6(1),e.Q6J("ngIf",n.server),e.xp6(1),e.Q6J("ngIf",!n.dockerTemplates.length),e.xp6(1),e.Q6J("ngIf",n.dockerTemplates.length),e.xp6(1),e.Q6J("server",n.server))},directives:[Pt.O5,Mo,En,go,md,Iu,Pt.sg,Zs,ns,er,Ls,Zr],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}(),x6=function r(){(0,v.Z)(this,r)},ev=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.httpServer=t}return(0,g.Z)(i,[{key:"getImages",value:function(n){return this.httpServer.get(n,"/compute/dynamips/images")}},{key:"getImagePath",value:function(n,a){return"".concat(n.protocol,"//").concat(n.host,":").concat(n.port,"/v2/compute/dynamips/images/").concat(a)}},{key:"getTemplates",value:function(n){return this.httpServer.get(n,"/templates")}},{key:"getTemplate",value:function(n,a){return this.httpServer.get(n,"/templates/".concat(a))}},{key:"addTemplate",value:function(n,a){return this.httpServer.post(n,"/templates",a)}},{key:"saveTemplate",value:function(n,a){return this.httpServer.put(n,"/templates/".concat(a.template_id),a)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(Ja.wh))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),BA=function(){var r=function(){function i(){(0,v.Z)(this,i),this.c1700_wics=["WIC-1T","WIC-2T","WIC-1ENET"],this.c2600_wics=["WIC-1T","WIC-2T"],this.c3700_wics=["WIC-1T","WIC-2T"],this.c2600_nms=["NM-1FE-TX","NM-1E","NM-4E","NM-16ESW"],this.c3600_nms=["NM-1FE-TX","NM-1E","NM-4E","NM-16ESW","NM-4T"],this.c3700_nms=["NM-1FE-TX","NM-4T","NM-16ESW"],this.c7200_pas=["PA-A1","PA-FE-TX","PA-2FE-TX","PA-GE","PA-4T+","PA-8T","PA-4E","PA-8E","PA-POS-OC3"],this.c7200_io=["C7200-IO-FE","C7200-IO-2FE","C7200-IO-GE-E"]}return(0,g.Z)(i,[{key:"getConsoleTypes",value:function(){return["telnet","none"]}},{key:"getDefaultRamSettings",value:function(){return{c1700:160,c2600:160,c2691:192,c3600:192,c3725:128,c3745:256,c7200:512}}},{key:"getDefaultNvRamSettings",value:function(){return{c1700:128,c2600:128,c2691:256,c3600:192,c3620:192,c3640:192,c3660:192,c3725:256,c3745:256,c7200:512}}},{key:"getAvailablePlatforms",value:function(){return["c1700","c2600","c2691","c3725","c3745","c3600","c7200"]}},{key:"getPlatformsWithEtherSwitchRouterOption",value:function(){return{c1700:!1,c2600:!0,c2691:!0,c3725:!0,c3745:!0,c3600:!0,c7200:!1}}},{key:"getPlatformsWithChassis",value:function(){return{c1700:!0,c2600:!0,c2691:!1,c3725:!1,c3745:!1,c3600:!0,c7200:!1}}},{key:"getChassis",value:function(){return{c1700:["1720","1721","1750","1751","1760"],c2600:["2610","2611","2620","2621","2610XM","2611XM","2620XM","2621XM","2650XM","2651XM"],c3600:["3620","3640","3660"]}}},{key:"getNetworkModules",value:function(){return{c1700:{0:this.c1700_wics,1:this.c1700_wics},c2600:{0:this.c2600_wics,1:this.c2600_wics,2:this.c2600_wics},c2691:{0:this.c3700_wics,1:this.c3700_wics,2:this.c3700_wics},c3725:{0:this.c3700_wics,1:this.c3700_wics,2:this.c3700_wics},c3745:{0:this.c3700_wics,1:this.c3700_wics,2:this.c3700_wics}}}},{key:"getNetworkAdapters",value:function(){return{1720:{0:["C1700-MB-1FE"]},1721:{0:["C1700-MB-1FE"]},1750:{0:["C1700-MB-1FE"]},1751:{0:["C1700-MB-1FE"],1:["C1700-MB-WIC1"]},1760:{0:["C1700-MB-1FE"],1:["C1700-MB-WIC1"]},2610:{0:["C2600-MB-1E"],1:this.c2600_nms},2611:{0:["C2600-MB-2E"],1:this.c2600_nms},2620:{0:["C2600-MB-1FE"],1:this.c2600_nms},2621:{0:["C2600-MB-2FE"],1:this.c2600_nms},"2610XM":{0:["C2600-MB-1FE"],1:this.c2600_nms},"2611XM":{0:["C2600-MB-2FE"],1:this.c2600_nms},"2620XM":{0:["C2600-MB-1FE"],1:this.c2600_nms},"2621XM":{0:["C2600-MB-2FE"],1:this.c2600_nms},"2650XM":{0:["C2600-MB-1FE"],1:this.c2600_nms},"2651XM":{0:["C2600-MB-2FE"],1:this.c2600_nms},3620:{0:this.c3600_nms,1:this.c3600_nms},3640:{0:this.c3600_nms,1:this.c3600_nms,2:this.c3600_nms,3:this.c3600_nms},3660:{0:["Leopard-2FE"],1:this.c3600_nms,2:this.c3600_nms,3:this.c3600_nms,4:this.c3600_nms,5:this.c3600_nms,6:this.c3600_nms}}}},{key:"getNetworkAdaptersForPlatform",value:function(){var n={};return n.c2691={0:["GT96100-FE"],1:this.c3700_nms},n.c3725={0:["GT96100-FE"],1:this.c3700_nms,2:this.c3700_nms},n.c3745={0:["GT96100-FE"],1:this.c3700_nms,2:this.c3700_nms,3:this.c3700_nms,4:this.c3700_nms},n.c7200={0:this.c7200_io,1:this.c7200_pas,2:this.c7200_pas,3:this.c7200_pas,4:this.c7200_pas,5:this.c7200_pas,6:this.c7200_pas},{c2691:{0:["GT96100-FE"],1:this.c3700_nms},c3725:{0:["GT96100-FE"],1:this.c3700_nms,2:this.c3700_nms},c3745:{0:["GT96100-FE"],1:this.c3700_nms,2:this.c3700_nms,3:this.c3700_nms,4:this.c3700_nms},c7200:{0:this.c7200_io,1:this.c7200_pas,2:this.c7200_pas,3:this.c7200_pas,4:this.c7200_pas,5:this.c7200_pas,6:this.c7200_pas}}}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}();function hde(r,i){if(1&r&&(e.TgZ(0,"mat-option",36),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t.filename),e.xp6(1),e.hij(" ",t.filename," ")}}function mde(r,i){if(1&r&&(e.TgZ(0,"mat-option",36),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function vde(r,i){if(1&r&&(e.TgZ(0,"mat-option",36),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function gde(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-form-field",17),e.TgZ(1,"mat-select",37),e.NdJ("selectionChange",function(o){return e.CHM(t),e.oxw(2).onChassisChosen(o)}),e.YNc(2,vde,2,2,"mat-option",19),e.qZA(),e.qZA()}if(2&r){var n=e.oxw(2);e.xp6(2),e.Q6J("ngForOf",n.chassis[n.iosNameForm.get("platform").value])}}function _de(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-checkbox",38),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw(2).isEtherSwitchRouter=o}),e._uU(1," This is an EtherSwitch router "),e.qZA()}if(2&r){var n=e.oxw(2);e.Q6J("ngModel",n.isEtherSwitchRouter)}}function yde(r,i){if(1&r&&(e.TgZ(0,"mat-option",36),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}var Bj=function(){return{standalone:!0}};function bde(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-select",41),e.NdJ("ngModelChange",function(s){e.CHM(t);var l=e.oxw().$implicit;return e.oxw(3).networkAdaptersForTemplate[l]=s}),e.YNc(1,yde,2,2,"mat-option",19),e.qZA()}if(2&r){var n=e.oxw().$implicit,a=e.oxw(3);e.MGl("placeholder","Slot ",n,""),e.Q6J("ngModel",a.networkAdaptersForTemplate[n])("ngModelOptions",e.DdM(4,Bj)),e.xp6(1),e.Q6J("ngForOf",a.networkAdaptersForPlatform[a.iosNameForm.get("platform").value][n])}}function Cde(r,i){if(1&r&&(e.TgZ(0,"div"),e.YNc(1,bde,2,5,"mat-select",40),e.qZA()),2&r){var t=i.$implicit,n=e.oxw(3);e.xp6(1),e.Q6J("ngIf",n.networkAdaptersForPlatform[n.iosNameForm.get("platform").value]&&n.networkAdaptersForPlatform[n.iosNameForm.get("platform").value][t])}}var Sde=function(){return[0,1,2,3,4,5,6,7]};function Tde(r,i){1&r&&(e.TgZ(0,"div"),e.YNc(1,Cde,2,1,"div",39),e.qZA()),2&r&&(e.xp6(1),e.Q6J("ngForOf",e.DdM(1,Sde)))}function kde(r,i){if(1&r&&(e.TgZ(0,"mat-option",36),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function wde(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-select",41),e.NdJ("ngModelChange",function(s){e.CHM(t);var l=e.oxw().$implicit;return e.oxw(3).networkModulesForTemplate[l]=s}),e.YNc(1,kde,2,2,"mat-option",19),e.qZA()}if(2&r){var n=e.oxw().$implicit,a=e.oxw(3);e.MGl("placeholder","WIC ",n,""),e.Q6J("ngModel",a.networkModulesForTemplate[n])("ngModelOptions",e.DdM(4,Bj)),e.xp6(1),e.Q6J("ngForOf",a.networkModules[a.iosNameForm.get("platform").value][n])}}function xde(r,i){if(1&r&&(e.TgZ(0,"div"),e.YNc(1,wde,2,5,"mat-select",40),e.qZA()),2&r){var t=i.$implicit,n=e.oxw(3);e.xp6(1),e.Q6J("ngIf",n.networkModules[n.iosNameForm.get("platform").value]&&n.networkModules[n.iosNameForm.get("platform").value][t])}}var Ede=function(){return[0,1,2,3]};function Mde(r,i){1&r&&(e.TgZ(0,"div"),e.YNc(1,xde,2,1,"div",39),e.qZA()),2&r&&(e.xp6(1),e.Q6J("ngForOf",e.DdM(1,Ede)))}function Ade(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",5),e.TgZ(1,"div",6),e.TgZ(2,"mat-vertical-stepper",7),e.TgZ(3,"mat-step",8),e.TgZ(4,"mat-radio-group",9),e.TgZ(5,"mat-radio-button",10),e.NdJ("click",function(){return e.CHM(t),e.oxw().setServerType("local")}),e._uU(6,"Run this IOS router locally"),e.qZA(),e.TgZ(7,"mat-radio-button",11),e.NdJ("click",function(){return e.CHM(t),e.oxw().setServerType("gns3 vm")}),e._uU(8,"Run this IOS router on the GNS3 VM"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(9,"mat-step",12),e.TgZ(10,"input",13,14),e.NdJ("change",function(o){return e.CHM(t),e.oxw().addImage(o)}),e.qZA(),e.TgZ(12,"button",15),e.NdJ("click",function(){return e.CHM(t),e.MAs(11).click()}),e._uU(13,"Click to add image"),e.qZA(),e._uU(14," or create from existing one "),e.TgZ(15,"form",16),e.TgZ(16,"mat-form-field",17),e.TgZ(17,"mat-select",18),e.NdJ("selectionChange",function(o){return e.CHM(t),e.oxw().onImageChosen(o)}),e.YNc(18,hde,2,2,"mat-option",19),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(19,"mat-step",20),e.TgZ(20,"form",16),e.TgZ(21,"mat-form-field",17),e._UZ(22,"input",21),e.qZA(),e.TgZ(23,"mat-form-field",17),e.TgZ(24,"mat-select",22),e.NdJ("selectionChange",function(o){return e.CHM(t),e.oxw().onPlatformChosen(o)}),e.YNc(25,mde,2,2,"mat-option",19),e.qZA(),e.qZA(),e.YNc(26,gde,3,1,"mat-form-field",23),e.qZA(),e.YNc(27,_de,2,1,"mat-checkbox",24),e.qZA(),e.TgZ(28,"mat-step",25),e.TgZ(29,"form",16),e.TgZ(30,"mat-form-field",17),e._UZ(31,"input",26),e.TgZ(32,"span",27),e._uU(33,"MB"),e.qZA(),e.qZA(),e.TgZ(34,"mat-label"),e.TgZ(35,"a",28),e._uU(36,"Check for minimum and maximum RAM requirement"),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(37,"mat-step",29),e.YNc(38,Tde,2,2,"div",30),e.qZA(),e.TgZ(39,"mat-step",31),e.YNc(40,Mde,2,2,"div",30),e.qZA(),e.TgZ(41,"mat-step",32),e.TgZ(42,"mat-form-field",17),e.TgZ(43,"input",33),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iosTemplate.idlepc=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(44,"div",34),e.TgZ(45,"button",35),e.NdJ("click",function(){return e.CHM(t),e.oxw().goBack()}),e._uU(46,"Cancel"),e.qZA(),e.TgZ(47,"button",15),e.NdJ("click",function(){return e.CHM(t),e.oxw().addTemplate()}),e._uU(48,"Add template"),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(2),e.Q6J("linear",!0),e.xp6(1),e.Q6J("completed",n.isGns3VmChosen||n.isLocalComputerChosen),e.xp6(4),e.Q6J("disabled",!n.isGns3VmAvailable),e.xp6(2),e.Q6J("completed",n.iosImageForm.get("imageName").value),e.xp6(1),e.Q6J("uploader",n.uploader),e.xp6(5),e.Q6J("formGroup",n.iosImageForm),e.xp6(3),e.Q6J("ngForOf",n.iosImages),e.xp6(1),e.Q6J("completed",n.iosNameForm.get("templateName").value&&n.iosNameForm.get("platform").value&&n.iosNameForm.get("chassis").value),e.xp6(1),e.Q6J("formGroup",n.iosNameForm),e.xp6(5),e.Q6J("ngForOf",n.platforms),e.xp6(1),e.Q6J("ngIf",n.chassis[n.iosNameForm.get("platform").value]),e.xp6(1),e.Q6J("ngIf",n.platformsWithEtherSwitchRouterOption[n.iosTemplate.platform]),e.xp6(1),e.Q6J("completed",n.iosMemoryForm.get("memory").value),e.xp6(1),e.Q6J("formGroup",n.iosMemoryForm),e.xp6(6),e.s9C("href",n.ciscoUrl,e.LSH),e.xp6(3),e.Q6J("ngIf",n.selectedPlatform),e.xp6(2),e.Q6J("ngIf",n.iosNameForm.get("platform").value),e.xp6(3),e.Q6J("ngModel",n.iosTemplate.idlepc)}}var Dde=function(){var r=function(){function i(t,n,a,o,s,l,d,h,C){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.iosService=a,this.toasterService=o,this.formBuilder=s,this.router=l,this.templateMocksService=d,this.iosConfigurationService=h,this.computeService=C,this.isEtherSwitchRouter=!1,this.networkAdaptersForTemplate=[],this.networkModulesForTemplate=[],this.iosImages=[],this.platforms=[],this.platformsWithEtherSwitchRouterOption={},this.platformsWithChassis={},this.chassis={},this.defaultRam={},this.defaultNvram={},this.networkAdapters={},this.networkAdaptersForPlatform={},this.networkModules={},this.ciscoUrl="https://cfn.cloudapps.cisco.com/ITDIT/CFN/jsp/SearchBySoftware.jsp",this.isGns3VmAvailable=!1,this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0,this.iosTemplate=new x6,this.iosImageForm=this.formBuilder.group({imageName:new re.NI(null,[re.kI.required])}),this.iosNameForm=this.formBuilder.group({templateName:new re.NI(null,[re.kI.required]),platform:new re.NI(null,[re.kI.required]),chassis:new re.NI(null,[re.kI.required])}),this.iosMemoryForm=this.formBuilder.group({memory:new re.NI(null,[re.kI.required])})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.uploader=new qm({}),this.uploader.onAfterAddingFile=function(o){o.withCredentials=!1},this.uploader.onErrorItem=function(o,s,l,d){n.toasterService.error("An error occured: "+s)},this.uploader.onSuccessItem=function(o,s,l,d){n.getImages(),n.toasterService.success("Image uploaded")};var a=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(a,10)).then(function(o){n.server=o,n.getImages(),n.templateMocksService.getIosTemplate().subscribe(function(s){n.iosTemplate=s,n.networkModules=n.iosConfigurationService.getNetworkModules(),n.networkAdaptersForPlatform=n.iosConfigurationService.getNetworkAdaptersForPlatform(),n.networkAdapters=n.iosConfigurationService.getNetworkAdapters(),n.platforms=n.iosConfigurationService.getAvailablePlatforms(),n.platformsWithEtherSwitchRouterOption=n.iosConfigurationService.getPlatformsWithEtherSwitchRouterOption(),n.platformsWithChassis=n.iosConfigurationService.getPlatformsWithChassis(),n.chassis=n.iosConfigurationService.getChassis(),n.defaultRam=n.iosConfigurationService.getDefaultRamSettings()}),n.computeService.getComputes(o).subscribe(function(s){s.filter(function(l){return"vm"===l.compute_id}).length>0&&(n.isGns3VmAvailable=!0)})})}},{key:"setServerType",value:function(n){"gns3 vm"===n&&this.isGns3VmAvailable?(this.isGns3VmChosen=!0,this.isLocalComputerChosen=!1):(this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0)}},{key:"getImages",value:function(){var n=this;this.iosService.getImages(this.server).subscribe(function(a){n.iosImages=a})}},{key:"addImage",value:function(n){var a=n.target.files[0].name.split("-")[0];this.iosNameForm.controls.templateName.setValue(a);var s=this.iosService.getImagePath(this.server,n.target.files[0].name);this.uploader.queue.forEach(function(d){return d.url=s});var l=this.uploader.queue[0];l.options.disableMultipart=!0,this.uploader.uploadItem(l)}},{key:"addTemplate",value:function(){var n=this;!this.iosImageForm.invalid&&!this.iosMemoryForm.invalid&&this.iosNameForm.get("templateName").value&&this.iosNameForm.get("platform").value?(this.iosTemplate.template_id=(0,Eo.v4)(),this.iosTemplate.image=this.iosImageForm.get("imageName").value,this.iosTemplate.name=this.iosNameForm.get("templateName").value,this.iosTemplate.platform=this.iosNameForm.get("platform").value,this.chassis[this.iosNameForm.get("platform").value]&&(this.iosTemplate.chassis=this.iosNameForm.get("chassis").value),this.iosTemplate.ram=this.iosMemoryForm.get("memory").value,this.isEtherSwitchRouter&&(this.iosTemplate.symbol=":/symbols/multilayer_switch.svg",this.iosTemplate.category="switch"),this.networkAdaptersForTemplate.length>0&&this.completeAdaptersData(),this.networkModulesForTemplate.length>0&&this.completeModulesData(),this.iosTemplate.compute_id=this.isGns3VmChosen?"vm":"local",this.iosService.addTemplate(this.server,this.iosTemplate).subscribe(function(a){n.goBack()})):this.toasterService.error("Fill all required fields")}},{key:"completeAdaptersData",value:function(){if(this.chassis[this.iosTemplate.platform]){if(Object.keys(this.networkAdapters[this.iosTemplate.chassis]))for(var n=0;n<Object.keys(this.networkAdapters[this.iosTemplate.chassis]).length;n++)this.networkAdaptersForTemplate[n]||(this.networkAdaptersForTemplate[n]="")}else if(this.networkAdaptersForPlatform[this.iosNameForm.get("platform").value])for(var a=0;a<Object.keys(this.networkAdaptersForPlatform[this.iosNameForm.get("platform").value]).length;a++)this.networkAdaptersForTemplate[a]||(this.networkAdaptersForTemplate[a]="");this.networkAdaptersForTemplate[0]&&(this.iosTemplate.slot0=this.networkAdaptersForTemplate[0]),this.networkAdaptersForTemplate[1]&&(this.iosTemplate.slot1=this.networkAdaptersForTemplate[1]),this.networkAdaptersForTemplate[2]&&(this.iosTemplate.slot2=this.networkAdaptersForTemplate[2]),this.networkAdaptersForTemplate[3]&&(this.iosTemplate.slot3=this.networkAdaptersForTemplate[3]),this.networkAdaptersForTemplate[4]&&(this.iosTemplate.slot4=this.networkAdaptersForTemplate[4]),this.networkAdaptersForTemplate[5]&&(this.iosTemplate.slot5=this.networkAdaptersForTemplate[5]),this.networkAdaptersForTemplate[6]&&(this.iosTemplate.slot6=this.networkAdaptersForTemplate[6]),this.networkAdaptersForTemplate[7]&&(this.iosTemplate.slot7=this.networkAdaptersForTemplate[7])}},{key:"completeModulesData",value:function(){if(Object.keys(this.networkModules[this.iosTemplate.platform]))for(var n=0;n<Object.keys(this.networkModules[this.iosTemplate.platform]).length;n++)this.networkModulesForTemplate[n]||(this.networkModulesForTemplate[n]="");this.networkModulesForTemplate[0]&&(this.iosTemplate.wic0=this.networkModulesForTemplate[0]),this.networkModulesForTemplate[1]&&(this.iosTemplate.wic1=this.networkModulesForTemplate[1]),this.networkModulesForTemplate[2]&&(this.iosTemplate.wic2=this.networkModulesForTemplate[2])}},{key:"goBack",value:function(){this.router.navigate(["/server",this.server.id,"preferences","dynamips","templates"])}},{key:"onImageChosen",value:function(){var n=this.iosImageForm.get("imageName").value.split("-")[0];this.iosNameForm.controls.templateName.setValue(n),"c3620"===n||"c3640"===n||"c3660"===n?(this.iosNameForm.controls.platform.setValue("c3600"),this.selectedPlatform="c3600"):(this.iosNameForm.controls.platform.setValue(n),this.selectedPlatform=n),this.iosNameForm.controls.chassis.setValue("c1700"===n?"1720":"c2600"===n?"2610":""),this.iosMemoryForm.controls.memory.setValue(this.defaultRam[n])}},{key:"onPlatformChosen",value:function(){this.iosTemplate.chassis="",this.networkAdaptersForTemplate=[],this.networkModulesForTemplate=[]}},{key:"onChassisChosen",value:function(){this.networkAdaptersForTemplate=[]}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(ev),e.Y36(Yn),e.Y36(re.qu),e.Y36(xr),e.Y36(bc),e.Y36(BA),e.Y36(Cc.X))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-add-ios-template"]],decls:6,vars:1,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],["class","default-content",4,"ngIf"],[1,"default-content"],[1,"container","mat-elevation-z8"],[3,"linear"],["label","Server type",3,"completed"],[1,"radio-group"],["value","1","checked","",1,"radio-button",3,"click"],["value","2",1,"radio-button",3,"disabled","click"],["label","IOS image",3,"completed"],["type","file","accept",".bin, .image","ng2FileSelect","",1,"non-visible",3,"uploader","change"],["file",""],["mat-raised-button","","color","primary",3,"click"],[3,"formGroup"],[1,"form-field"],["placeholder","Image","formControlName","imageName",3,"selectionChange"],[3,"value",4,"ngFor","ngForOf"],["label","Name and platform",3,"completed"],["matInput","","type","text","formControlName","templateName","placeholder","Name"],["placeholder","Platform","formControlName","platform",3,"selectionChange"],["class","form-field",4,"ngIf"],[3,"ngModel","ngModelChange",4,"ngIf"],["label","Memory",3,"completed"],["matInput","","type","number","formControlName","memory","value","defaultRam[iosNameForm.get('platform').value]","placeholder","Default RAM"],["matSuffix",""],[3,"href"],["label","Network adapters"],[4,"ngIf"],["label","WIC modules"],["label","Idle-PC"],["matInput","","type","text","placeholder","Idle-PC",3,"ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],[3,"value"],["placeholder","Chassis","formControlName","chassis",3,"selectionChange"],[3,"ngModel","ngModelChange"],[4,"ngFor","ngForOf"],[3,"placeholder","ngModel","ngModelOptions","ngModelChange",4,"ngIf"],[3,"placeholder","ngModel","ngModelOptions","ngModelChange"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"New IOS router template"),e.qZA(),e.qZA(),e.qZA(),e.YNc(5,Ade,49,18,"div",4),e.qZA()),2&t&&(e.xp6(5),e.Q6J("ngIf",n.iosTemplate))},directives:[Pt.O5,ey,$_,El,Ml,P1,En,re._Y,re.JL,re.sg,Ln.KE,yi.gD,re.JJ,re.u,Pt.sg,ir,re.Fj,re.wV,Ln.R9,Ln.hX,re.On,sn.ey,La],styles:[".non-visible[_ngcontent-%COMP%]{display:none}",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}(),Ode=function(){var r=function(){function i(t,n,a,o,s,l){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.iosService=a,this.toasterService=o,this.router=s,this.formBuilder=l,this.templateName="",this.formGroup=this.formBuilder.group({templateName:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id"),o=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(a,10)).then(function(s){n.server=s,n.iosService.getTemplate(n.server,o).subscribe(function(l){n.iosTemplate=l,n.templateName="Copy of ".concat(n.iosTemplate.name)})})}},{key:"goBack",value:function(){this.router.navigate(["/server",this.server.id,"preferences","dynamips","templates"])}},{key:"addTemplate",value:function(){var n=this;this.formGroup.invalid?this.toasterService.error("Fill all required fields"):(this.iosTemplate.template_id=(0,Eo.v4)(),this.iosTemplate.name=this.templateName,this.iosService.addTemplate(this.server,this.iosTemplate).subscribe(function(a){n.goBack()}))}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(ev),e.Y36(Yn),e.Y36(xr),e.Y36(re.qu))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-copy-ios-template"]],decls:15,vars:2,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[1,"matCard"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","placeholder","Name","formControlName","templateName",3,"ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Copy IOS router template"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"mat-card",5),e.TgZ(7,"form",6),e.TgZ(8,"mat-form-field",7),e.TgZ(9,"input",8),e.NdJ("ngModelChange",function(o){return n.templateName=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(10,"div",9),e.TgZ(11,"button",10),e.NdJ("click",function(){return n.goBack()}),e._uU(12,"Cancel"),e.qZA(),e.TgZ(13,"button",11),e.NdJ("click",function(){return n.addTemplate()}),e._uU(14,"Copy template"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(7),e.Q6J("formGroup",n.formGroup),e.xp6(2),e.Q6J("ngModel",n.templateName))},directives:[Ti,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,En],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}();function Pde(r,i){if(1&r&&(e.TgZ(0,"mat-option",38),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}function Ide(r,i){if(1&r&&(e.TgZ(0,"mat-option",38),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Rde(r,i){if(1&r&&(e.TgZ(0,"mat-option",38),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}var Cp=function(){return{standalone:!0}};function Nde(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-select",41),e.NdJ("ngModelChange",function(s){e.CHM(t);var l=e.oxw().$implicit;return e.oxw(3).networkAdaptersForTemplate[l]=s}),e.YNc(1,Rde,2,2,"mat-option",14),e.qZA()}if(2&r){var n=e.oxw().$implicit,a=e.oxw(3);e.MGl("placeholder","Slot ",n,""),e.Q6J("ngModel",a.networkAdaptersForTemplate[n])("ngModelOptions",e.DdM(4,Cp)),e.xp6(1),e.Q6J("ngForOf",a.networkAdapters[a.iosTemplate.chassis][n])}}function Zde(r,i){if(1&r&&(e.TgZ(0,"div"),e.YNc(1,Nde,2,5,"mat-select",40),e.qZA()),2&r){var t=i.$implicit,n=e.oxw(3);e.xp6(1),e.Q6J("ngIf",n.networkAdapters[n.iosTemplate.chassis][t])}}var Uj=function(){return[0,1,2,3,4,5,6,7]};function Lde(r,i){1&r&&(e.TgZ(0,"div"),e.YNc(1,Zde,2,1,"div",39),e.qZA()),2&r&&(e.xp6(1),e.Q6J("ngForOf",e.DdM(1,Uj)))}function Fde(r,i){if(1&r&&(e.TgZ(0,"mat-option",38),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Bde(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-select",41),e.NdJ("ngModelChange",function(s){e.CHM(t);var l=e.oxw().$implicit;return e.oxw(3).networkAdaptersForTemplate[l]=s}),e.YNc(1,Fde,2,2,"mat-option",14),e.qZA()}if(2&r){var n=e.oxw().$implicit,a=e.oxw(3);e.MGl("placeholder","Slot ",n,""),e.Q6J("ngModel",a.networkAdaptersForTemplate[n])("ngModelOptions",e.DdM(4,Cp)),e.xp6(1),e.Q6J("ngForOf",a.networkAdaptersForPlatform[a.iosTemplate.platform][n])}}function Ude(r,i){if(1&r&&(e.TgZ(0,"div"),e.YNc(1,Bde,2,5,"mat-select",40),e.qZA()),2&r){var t=i.$implicit,n=e.oxw(3);e.xp6(1),e.Q6J("ngIf",n.networkAdaptersForPlatform[n.iosTemplate.platform][t])}}function Hde(r,i){1&r&&(e.TgZ(0,"div"),e.YNc(1,Ude,2,1,"div",39),e.qZA()),2&r&&(e.xp6(1),e.Q6J("ngForOf",e.DdM(1,Uj)))}function Vde(r,i){if(1&r&&(e.TgZ(0,"mat-option",38),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function jde(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"mat-select",42),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw(2).iosTemplate.wic0=o}),e.YNc(2,Vde,2,2,"mat-option",14),e.qZA(),e.qZA()}if(2&r){var n=e.oxw(2);e.xp6(1),e.Q6J("ngModel",n.iosTemplate.wic0)("ngModelOptions",e.DdM(3,Cp)),e.xp6(1),e.Q6J("ngForOf",n.networkModules[n.iosTemplate.platform][0])}}function qde(r,i){if(1&r&&(e.TgZ(0,"mat-option",38),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function zde(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"mat-select",43),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw(2).iosTemplate.wic1=o}),e.YNc(2,qde,2,2,"mat-option",14),e.qZA(),e.qZA()}if(2&r){var n=e.oxw(2);e.xp6(1),e.Q6J("ngModel",n.iosTemplate.wic1)("ngModelOptions",e.DdM(3,Cp)),e.xp6(1),e.Q6J("ngForOf",n.networkModules[n.iosTemplate.platform][1])}}function Wde(r,i){if(1&r&&(e.TgZ(0,"mat-option",38),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Gde(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"mat-select",44),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw(2).iosTemplate.wic2=o}),e.YNc(2,Wde,2,2,"mat-option",14),e.qZA(),e.qZA()}if(2&r){var n=e.oxw(2);e.xp6(1),e.Q6J("ngModel",n.iosTemplate.wic2)("ngModelOptions",e.DdM(3,Cp)),e.xp6(1),e.Q6J("ngForOf",n.networkModules[n.iosTemplate.platform][2])}}function Yde(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",6),e.TgZ(1,"mat-accordion"),e.TgZ(2,"mat-expansion-panel"),e.TgZ(3,"mat-expansion-panel-header"),e.TgZ(4,"mat-panel-title"),e._uU(5," General settings "),e.qZA(),e.qZA(),e.TgZ(6,"form",7),e.TgZ(7,"mat-form-field",8),e.TgZ(8,"input",9),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iosTemplate.name=o}),e.qZA(),e.qZA(),e.TgZ(9,"mat-form-field",8),e.TgZ(10,"input",10),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iosTemplate.default_name_format=o}),e.qZA(),e.qZA(),e.TgZ(11,"mat-label"),e._uU(12),e.qZA(),e._UZ(13,"br"),e._UZ(14,"br"),e.TgZ(15,"mat-label"),e._uU(16),e.qZA(),e._UZ(17,"br"),e._UZ(18,"br"),e.TgZ(19,"mat-form-field",8),e.TgZ(20,"input",11),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iosTemplate.symbol=o}),e.qZA(),e.qZA(),e.TgZ(21,"button",12),e.NdJ("click",function(){return e.CHM(t),e.oxw().chooseSymbol()}),e._uU(22,"Choose symbol"),e.qZA(),e._UZ(23,"br"),e._UZ(24,"br"),e.TgZ(25,"mat-form-field",8),e.TgZ(26,"mat-select",13),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iosTemplate.category=o}),e.YNc(27,Pde,2,2,"mat-option",14),e.qZA(),e.qZA(),e.TgZ(28,"mat-form-field",8),e.TgZ(29,"input",15),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iosTemplate.image=o}),e.qZA(),e.qZA(),e.TgZ(30,"mat-form-field",8),e.TgZ(31,"input",16),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iosTemplate.startup_config=o}),e.qZA(),e.qZA(),e.TgZ(32,"mat-form-field",8),e.TgZ(33,"input",17),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iosTemplate.private_config=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(34,"mat-form-field",18),e.TgZ(35,"mat-select",19),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iosTemplate.console_type=o}),e.YNc(36,Ide,2,2,"mat-option",14),e.qZA(),e.qZA(),e.TgZ(37,"mat-checkbox",20),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iosTemplate.console_auto_start=o}),e._uU(38," Auto start console "),e.qZA(),e.qZA(),e.TgZ(39,"mat-expansion-panel"),e.TgZ(40,"mat-expansion-panel-header"),e.TgZ(41,"mat-panel-title"),e._uU(42," Memories and disks "),e.qZA(),e.qZA(),e.TgZ(43,"form",7),e.TgZ(44,"mat-form-field",8),e.TgZ(45,"input",21),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iosTemplate.ram=o}),e.qZA(),e.TgZ(46,"span",22),e._uU(47,"MB"),e.qZA(),e.qZA(),e.TgZ(48,"mat-form-field",8),e.TgZ(49,"input",23),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iosTemplate.nvram=o}),e.qZA(),e.TgZ(50,"span",22),e._uU(51,"MB"),e.qZA(),e.qZA(),e.TgZ(52,"mat-form-field",8),e.TgZ(53,"input",24),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iosTemplate.iomem=o}),e.qZA(),e.qZA(),e.TgZ(54,"mat-form-field",8),e.TgZ(55,"input",25),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iosTemplate.disk0=o}),e.qZA(),e.qZA(),e.TgZ(56,"mat-form-field",8),e.TgZ(57,"input",26),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iosTemplate.disk1=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(58,"mat-checkbox",20),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iosTemplate.auto_delete_disks=o}),e._uU(59," Automatically delete NVRAM and disk files "),e.qZA(),e.qZA(),e.TgZ(60,"mat-expansion-panel"),e.TgZ(61,"mat-expansion-panel-header"),e.TgZ(62,"mat-panel-title"),e._uU(63," Slots "),e.qZA(),e.qZA(),e.TgZ(64,"h6"),e._uU(65,"Adapters"),e.qZA(),e.YNc(66,Lde,2,2,"div",27),e.YNc(67,Hde,2,2,"div",27),e._UZ(68,"br"),e._UZ(69,"br"),e.TgZ(70,"h6"),e._uU(71,"WICs"),e.qZA(),e.YNc(72,jde,3,4,"div",27),e.YNc(73,zde,3,4,"div",27),e.YNc(74,Gde,3,4,"div",27),e.qZA(),e.TgZ(75,"mat-expansion-panel"),e.TgZ(76,"mat-expansion-panel-header"),e.TgZ(77,"mat-panel-title"),e._uU(78," Advanced "),e.qZA(),e.qZA(),e.TgZ(79,"form",7),e.TgZ(80,"mat-form-field",8),e.TgZ(81,"input",28),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iosTemplate.system_id=o}),e.qZA(),e.qZA(),e.TgZ(82,"mat-form-field",8),e.TgZ(83,"input",29),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iosTemplate.mac_addr=o}),e.qZA(),e.qZA(),e.TgZ(84,"mat-form-field",8),e.TgZ(85,"input",30),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iosTemplate.idlepc=o}),e.qZA(),e.qZA(),e.TgZ(86,"mat-form-field",8),e.TgZ(87,"input",31),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iosTemplate.idlemax=o}),e.qZA(),e.qZA(),e.TgZ(88,"mat-form-field",8),e.TgZ(89,"input",32),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iosTemplate.idlesleep=o}),e.qZA(),e.qZA(),e.TgZ(90,"mat-form-field",8),e.TgZ(91,"input",33),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iosTemplate.exec_area=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(92,"mat-checkbox",20),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iosTemplate.mmap=o}),e._uU(93," Enable mmap support "),e.qZA(),e._UZ(94,"br"),e._UZ(95,"br"),e.TgZ(96,"mat-checkbox",20),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iosTemplate.sparsemem=o}),e._uU(97," Enable sparse memory supoport "),e.qZA(),e.qZA(),e.TgZ(98,"mat-expansion-panel"),e.TgZ(99,"mat-expansion-panel-header"),e.TgZ(100,"mat-panel-title"),e._uU(101," Usage "),e.qZA(),e.qZA(),e.TgZ(102,"mat-form-field",8),e.TgZ(103,"textarea",34),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iosTemplate.usage=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(104,"div",35),e.TgZ(105,"button",36),e.NdJ("click",function(){return e.CHM(t),e.oxw().goBack()}),e._uU(106,"Cancel"),e.qZA(),e.TgZ(107,"button",37),e.NdJ("click",function(){return e.CHM(t),e.oxw().onSave()}),e._uU(108,"Save"),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(6),e.Q6J("formGroup",n.generalSettingsForm),e.xp6(2),e.Q6J("ngModel",n.iosTemplate.name),e.xp6(2),e.Q6J("ngModel",n.iosTemplate.default_name_format),e.xp6(2),e.hij("Platform - ",n.iosTemplate.platform,""),e.xp6(4),e.hij("Chassis - ",n.iosTemplate.chassis,""),e.xp6(4),e.Q6J("ngModel",n.iosTemplate.symbol),e.xp6(6),e.Q6J("ngModelOptions",e.DdM(40,Cp))("ngModel",n.iosTemplate.category),e.xp6(1),e.Q6J("ngForOf",n.categories),e.xp6(2),e.Q6J("ngModel",n.iosTemplate.image),e.xp6(2),e.Q6J("ngModel",n.iosTemplate.startup_config),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(41,Cp))("ngModel",n.iosTemplate.private_config),e.xp6(2),e.Q6J("ngModel",n.iosTemplate.console_type),e.xp6(1),e.Q6J("ngForOf",n.consoleTypes),e.xp6(1),e.Q6J("ngModel",n.iosTemplate.console_auto_start),e.xp6(6),e.Q6J("formGroup",n.memoryForm),e.xp6(2),e.Q6J("ngModel",n.iosTemplate.ram),e.xp6(4),e.Q6J("ngModel",n.iosTemplate.nvram),e.xp6(4),e.Q6J("ngModel",n.iosTemplate.iomem),e.xp6(2),e.Q6J("ngModel",n.iosTemplate.disk0),e.xp6(2),e.Q6J("ngModel",n.iosTemplate.disk1),e.xp6(1),e.Q6J("ngModel",n.iosTemplate.auto_delete_disks),e.xp6(8),e.Q6J("ngIf",n.iosTemplate.chassis&&n.chassis[n.iosTemplate.platform]),e.xp6(1),e.Q6J("ngIf",n.iosTemplate.platform&&!n.chassis[n.iosTemplate.platform]),e.xp6(5),e.Q6J("ngIf",n.iosTemplate.wic0||""===n.iosTemplate.wic0),e.xp6(1),e.Q6J("ngIf",n.iosTemplate.wic1||""===n.iosTemplate.wic1),e.xp6(1),e.Q6J("ngIf",n.iosTemplate.wic2||""===n.iosTemplate.wic2),e.xp6(5),e.Q6J("formGroup",n.advancedForm),e.xp6(2),e.Q6J("ngModel",n.iosTemplate.system_id),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(42,Cp))("ngModel",n.iosTemplate.mac_addr),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(43,Cp))("ngModel",n.iosTemplate.idlepc),e.xp6(2),e.Q6J("ngModel",n.iosTemplate.idlemax),e.xp6(2),e.Q6J("ngModel",n.iosTemplate.idlesleep),e.xp6(2),e.Q6J("ngModel",n.iosTemplate.exec_area),e.xp6(1),e.Q6J("ngModel",n.iosTemplate.mmap),e.xp6(4),e.Q6J("ngModel",n.iosTemplate.sparsemem),e.xp6(7),e.Q6J("ngModel",n.iosTemplate.usage)}}function Jde(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"app-symbols-menu",45),e.NdJ("symbolChangedEmitter",function(o){return e.CHM(t),e.oxw().symbolChanged(o)}),e.qZA()}if(2&r){var n=e.oxw();e.Q6J("server",n.server)("symbol",n.iosTemplate.symbol)}}var Qde=function(i){return{shadowed:i}},Kde=function(){var r=function(){function i(t,n,a,o,s,l,d){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.iosService=a,this.toasterService=o,this.formBuilder=s,this.iosConfigurationService=l,this.router=d,this.isSymbolSelectionOpened=!1,this.networkAdaptersForTemplate=[],this.platforms=[],this.consoleTypes=[],this.platformsWithEtherSwitchRouterOption={},this.platformsWithChassis={},this.chassis={},this.defaultRam={},this.defaultNvram={},this.networkAdapters={},this.networkAdaptersForPlatform={},this.networkModules={},this.generalSettingsForm=this.formBuilder.group({templateName:new re.NI("",re.kI.required),defaultName:new re.NI("",re.kI.required),symbol:new re.NI("",re.kI.required),path:new re.NI("",re.kI.required),initialConfig:new re.NI("",re.kI.required)}),this.memoryForm=this.formBuilder.group({ram:new re.NI("",re.kI.required),nvram:new re.NI("",re.kI.required),iomemory:new re.NI("",re.kI.required),disk0:new re.NI("",re.kI.required),disk1:new re.NI("",re.kI.required)}),this.advancedForm=this.formBuilder.group({systemId:new re.NI("",re.kI.required),idlemax:new re.NI("",re.kI.required),idlesleep:new re.NI("",re.kI.required),execarea:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id"),o=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(a,10)).then(function(s){n.server=s,n.getConfiguration(),n.iosService.getTemplate(n.server,o).subscribe(function(l){n.iosTemplate=l,n.fillAdaptersData()})})}},{key:"getConfiguration",value:function(){this.networkModules=this.iosConfigurationService.getNetworkModules(),this.networkAdaptersForPlatform=this.iosConfigurationService.getNetworkAdaptersForPlatform(),this.networkAdapters=this.iosConfigurationService.getNetworkAdapters(),this.platforms=this.iosConfigurationService.getAvailablePlatforms(),this.platformsWithEtherSwitchRouterOption=this.iosConfigurationService.getPlatformsWithEtherSwitchRouterOption(),this.platformsWithChassis=this.iosConfigurationService.getPlatformsWithChassis(),this.chassis=this.iosConfigurationService.getChassis(),this.defaultRam=this.iosConfigurationService.getDefaultRamSettings(),this.consoleTypes=this.iosConfigurationService.getConsoleTypes()}},{key:"fillAdaptersData",value:function(){this.iosTemplate.slot0&&(this.networkAdaptersForTemplate[0]=this.iosTemplate.slot0),this.iosTemplate.slot1&&(this.networkAdaptersForTemplate[1]=this.iosTemplate.slot1),this.iosTemplate.slot2&&(this.networkAdaptersForTemplate[2]=this.iosTemplate.slot2),this.iosTemplate.slot3&&(this.networkAdaptersForTemplate[3]=this.iosTemplate.slot3),this.iosTemplate.slot4&&(this.networkAdaptersForTemplate[4]=this.iosTemplate.slot4),this.iosTemplate.slot5&&(this.networkAdaptersForTemplate[5]=this.iosTemplate.slot5),this.iosTemplate.slot6&&(this.networkAdaptersForTemplate[6]=this.iosTemplate.slot6),this.iosTemplate.slot7&&(this.networkAdaptersForTemplate[7]=this.iosTemplate.slot7)}},{key:"completeAdaptersData",value:function(){this.networkAdaptersForTemplate[0]&&(this.iosTemplate.slot0=this.networkAdaptersForTemplate[0]),this.networkAdaptersForTemplate[1]&&(this.iosTemplate.slot1=this.networkAdaptersForTemplate[1]),this.networkAdaptersForTemplate[2]&&(this.iosTemplate.slot2=this.networkAdaptersForTemplate[2]),this.networkAdaptersForTemplate[3]&&(this.iosTemplate.slot3=this.networkAdaptersForTemplate[3]),this.networkAdaptersForTemplate[4]&&(this.iosTemplate.slot4=this.networkAdaptersForTemplate[4]),this.networkAdaptersForTemplate[5]&&(this.iosTemplate.slot5=this.networkAdaptersForTemplate[5]),this.networkAdaptersForTemplate[6]&&(this.iosTemplate.slot6=this.networkAdaptersForTemplate[6]),this.networkAdaptersForTemplate[7]&&(this.iosTemplate.slot7=this.networkAdaptersForTemplate[7])}},{key:"onSave",value:function(){var n=this;this.generalSettingsForm.invalid||this.memoryForm.invalid||this.advancedForm.invalid?this.toasterService.error("Fill all required fields"):(this.completeAdaptersData(),this.iosService.saveTemplate(this.server,this.iosTemplate).subscribe(function(a){n.toasterService.success("Changes saved")}))}},{key:"goBack",value:function(){this.router.navigate(["/server",this.server.id,"preferences","dynamips","templates"])}},{key:"chooseSymbol",value:function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened}},{key:"symbolChanged",value:function(n){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.iosTemplate.symbol=n}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(ev),e.Y36(Yn),e.Y36(re.qu),e.Y36(BA),e.Y36(xr))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-ios-template-details"]],decls:7,vars:5,consts:[[1,"content",3,"ngClass"],[1,"default-header"],[1,"row"],[1,"col"],["class","default-content",4,"ngIf"],[3,"server","symbol","symbolChangedEmitter",4,"ngIf"],[1,"default-content"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","templateName","placeholder","Template name",3,"ngModel","ngModelChange"],["matInput","","type","text","formControlName","defaultName","placeholder","Default name format",3,"ngModel","ngModelChange"],["matInput","","type","text","formControlName","symbol","placeholder","Symbol",3,"ngModel","ngModelChange"],["mat-button","",1,"symbolSelectionButton",3,"click"],["placeholder","Category",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["matInput","","type","text","formControlName","path","placeholder","IOS image path",3,"ngModel","ngModelChange"],["matInput","","type","text","formControlName","initialConfig","placeholder","Initial startup-config",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Initial private-config",3,"ngModelOptions","ngModel","ngModelChange"],[1,"select"],["placeholder","Console type",3,"ngModel","ngModelChange"],[3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","ram","placeholder","RAM size",3,"ngModel","ngModelChange"],["matSuffix",""],["matInput","","type","number","formControlName","nvram","placeholder","NVRAM size",3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","iomemory","placeholder","I/O memory",3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","disk0","placeholder","PCMCIA disk0",3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","disk1","placeholder","PCMCIA disk1",3,"ngModel","ngModelChange"],[4,"ngIf"],["matInput","","formControlName","systemId","type","text","placeholder","System ID",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Base MAC",3,"ngModelOptions","ngModel","ngModelChange"],["matInput","","type","text","placeholder","Idle-PC",3,"ngModelOptions","ngModel","ngModelChange"],["matInput","","formControlName","idlemax","type","number","placeholder","Idlemax",3,"ngModel","ngModelChange"],["matInput","","formControlName","idlesleep","type","number","placeholder","Idlesleep",3,"ngModel","ngModelChange"],["matInput","","formControlName","execarea","type","number","placeholder","Exec area",3,"ngModel","ngModelChange"],["matInput","","type","text",3,"ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[4,"ngFor","ngForOf"],[3,"placeholder","ngModel","ngModelOptions","ngModelChange",4,"ngIf"],[3,"placeholder","ngModel","ngModelOptions","ngModelChange"],["placeholder","WIC 0",3,"ngModel","ngModelOptions","ngModelChange"],["placeholder","WIC 1",3,"ngModel","ngModelOptions","ngModelChange"],["placeholder","WIC 2",3,"ngModel","ngModelOptions","ngModelChange"],[3,"server","symbol","symbolChangedEmitter"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Dynamips IOS Router configuration"),e.qZA(),e.qZA(),e.qZA(),e.YNc(5,Yde,109,44,"div",4),e.qZA(),e.YNc(6,Jde,1,2,"app-symbols-menu",5)),2&t&&(e.Q6J("ngClass",e.VKq(3,Qde,n.isSymbolSelectionOpened)),e.xp6(5),e.Q6J("ngIf",n.iosTemplate),e.xp6(1),e.Q6J("ngIf",n.isSymbolSelectionOpened&&n.iosTemplate))},directives:[Pt.mk,Pt.O5,dd,_c,yc,cd,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,Ln.hX,En,yi.gD,re.On,Pt.sg,La,re.wV,Ln.R9,sn.ey,fd],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}();function Xde(r,i){if(1&r&&(e.TgZ(0,"button",10),e._uU(1," Back "),e.qZA()),2&r){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences")}}function $de(r,i){if(1&r&&(e.TgZ(0,"button",11),e._uU(1," Add IOS router template "),e.qZA()),2&r){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences/dynamips/templates/addtemplate")}}function epe(r,i){1&r&&e._UZ(0,"app-empty-templates-list")}function tpe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",15),e.TgZ(1,"mat-list-item",16),e._uU(2),e.qZA(),e.TgZ(3,"button",17),e.TgZ(4,"mat-icon"),e._uU(5,"more_vert"),e.qZA(),e.qZA(),e.TgZ(6,"mat-menu",null,18),e.TgZ(8,"button",19),e.NdJ("click",function(){var l=e.CHM(t).$implicit;return e.oxw(3).deleteTemplate(l)}),e.TgZ(9,"mat-icon"),e._uU(10,"delete"),e.qZA(),e.TgZ(11,"span"),e._uU(12,"Delete"),e.qZA(),e.qZA(),e.TgZ(13,"button",19),e.NdJ("click",function(){var l=e.CHM(t).$implicit;return e.oxw(3).copyTemplate(l)}),e.TgZ(14,"mat-icon"),e._uU(15,"content_copy"),e.qZA(),e.TgZ(16,"span"),e._uU(17,"Copy"),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=i.$implicit,a=e.MAs(7);e.xp6(1),e.s9C("routerLink",n.template_id),e.xp6(1),e.Oqu(n.name),e.xp6(1),e.Q6J("matMenuTriggerFor",a)}}function npe(r,i){if(1&r&&(e.TgZ(0,"mat-nav-list"),e.YNc(1,tpe,18,3,"div",14),e.qZA()),2&r){var t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.iosTemplates)}}function rpe(r,i){if(1&r&&(e.TgZ(0,"div",12),e.TgZ(1,"div",13),e.YNc(2,npe,2,1,"mat-nav-list",6),e.qZA(),e.qZA()),2&r){var t=e.oxw();e.xp6(2),e.Q6J("ngIf",t.server)}}var ipe=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.iosService=a,this.router=o,this.iosTemplates=[]}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(a,10)).then(function(o){n.server=o,n.getTemplates()})}},{key:"getTemplates",value:function(){var n=this;this.iosService.getTemplates(this.server).subscribe(function(a){n.iosTemplates=a.filter(function(o){return"dynamips"===o.template_type&&!o.builtin})})}},{key:"deleteTemplate",value:function(n){this.deleteComponent.deleteItem(n.name,n.template_id)}},{key:"onDeleteEvent",value:function(){this.getTemplates()}},{key:"copyTemplate",value:function(n){this.router.navigate(["/server",this.server.id,"preferences","dynamips","templates",n.template_id,"copy"])}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(ev),e.Y36(xr))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-ios-templates"]],viewQuery:function(t,n){var a;1&t&&e.Gf(Mo,5),2&t&&e.iGM(a=e.CRH())&&(n.deleteComponent=a.first)},decls:11,vars:5,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],["class","top-button","class","cancel-button","mat-button","",3,"routerLink",4,"ngIf"],["class","top-button","mat-raised-button","","color","primary",3,"routerLink",4,"ngIf"],[4,"ngIf"],["class","default-content",4,"ngIf"],[3,"server","deleteEvent"],["deleteComponent",""],["mat-button","",1,"cancel-button",3,"routerLink"],["mat-raised-button","","color","primary",1,"top-button",3,"routerLink"],[1,"default-content"],[1,"listcontainer","mat-elevation-z8"],["class","list-item",4,"ngFor","ngForOf"],[1,"list-item"],[1,"template-name",3,"routerLink"],["mat-button","",1,"menu-button",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"IOS router templates"),e.qZA(),e.YNc(5,Xde,2,1,"button",4),e.YNc(6,$de,2,1,"button",5),e.qZA(),e.qZA(),e.YNc(7,epe,1,0,"app-empty-templates-list",6),e.YNc(8,rpe,3,1,"div",7),e.qZA(),e.TgZ(9,"app-delete-template",8,9),e.NdJ("deleteEvent",function(){return n.onDeleteEvent()}),e.qZA()),2&t&&(e.xp6(5),e.Q6J("ngIf",n.server),e.xp6(1),e.Q6J("ngIf",n.server),e.xp6(1),e.Q6J("ngIf",!n.iosTemplates.length),e.xp6(1),e.Q6J("ngIf",n.iosTemplates.length),e.xp6(1),e.Q6J("server",n.server))},directives:[Pt.O5,Mo,En,go,md,Iu,Pt.sg,Zs,ns,er,Ls,Zr],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}(),Hj=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.httpServer=t}return(0,g.Z)(i,[{key:"getGns3vm",value:function(n){return this.httpServer.get(n,"/gns3vm")}},{key:"updateGns3vm",value:function(n,a){return this.httpServer.put(n,"/gns3vm",a)}},{key:"getGns3vmEngines",value:function(n){return this.httpServer.get(n,"/gns3vm/engines")}},{key:"getVms",value:function(n,a){return this.httpServer.get(n,"/gns3vm/engines/".concat(a,"/vms"))}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(Ja.wh))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}();function ape(r,i){if(1&r&&(e.TgZ(0,"mat-option",18),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t.engine_id),e.xp6(1),e.hij(" ",t.name," ")}}function ope(r,i){if(1&r&&(e.TgZ(0,"mat-option",18),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t.vmname),e.xp6(1),e.hij(" ",t.vmname," ")}}var X1=function(){return{standalone:!0}};function spe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-checkbox",10),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw(2).gns3vm.headless=o}),e._uU(1," Run the VM in headless mode "),e.qZA()}if(2&r){var n=e.oxw(2);e.Q6J("ngModelOptions",e.DdM(2,X1))("ngModel",n.gns3vm.headless)}}function lpe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-form-field",21),e.TgZ(1,"input",25),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw(3).port=o}),e.qZA(),e.qZA()}if(2&r){var n=e.oxw(3);e.xp6(1),e.Q6J("ngModelOptions",e.DdM(2,X1))("ngModel",n.port)}}function upe(r,i){if(1&r&&(e.TgZ(0,"form",19),e.YNc(1,lpe,2,3,"mat-form-field",20),e.TgZ(2,"mat-form-field",21),e._UZ(3,"input",22),e.TgZ(4,"span",23),e._uU(5,"MB"),e.qZA(),e.qZA(),e.TgZ(6,"mat-form-field",21),e._UZ(7,"input",24),e.qZA(),e.qZA()),2&r){var t=e.oxw(2);e.Q6J("formGroup",t.vmForm),e.xp6(1),e.Q6J("ngIf","virtualbox"===t.gns3vm.engine||"vmware"===t.gns3vm.engine)}}function cpe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-radio-group",26),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw(2).gns3vm.when_exit=o}),e.TgZ(1,"mat-radio-button",27),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).setCloseAction("keep")}),e._uU(2,"keep the GNS3 VM running"),e.qZA(),e.TgZ(3,"mat-radio-button",28),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).setCloseAction("suspend")}),e._uU(4,"suspend the GNS3 VM"),e.qZA(),e.TgZ(5,"mat-radio-button",29),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).setCloseAction("stop")}),e._uU(6,"stop the GNS3 VM"),e.qZA(),e.qZA()}if(2&r){var n=e.oxw(2);e.Q6J("ngModel",n.gns3vm.when_exit)}}function dpe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-card",9),e.TgZ(1,"mat-checkbox",10),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().gns3vm.enable=o}),e._uU(2," Enable the GNS3 VM "),e.qZA(),e.TgZ(3,"mat-form-field",11),e.TgZ(4,"mat-select",12),e.NdJ("selectionChange",function(o){return e.CHM(t),e.oxw().changeVmEngine(o)})("ngModelChange",function(o){return e.CHM(t),e.oxw().gns3vm.engine=o}),e.YNc(5,ape,2,2,"mat-option",13),e.qZA(),e.qZA(),e.TgZ(6,"mat-form-field",11),e.TgZ(7,"mat-select",14),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().gns3vm.vmname=o}),e.YNc(8,ope,2,2,"mat-option",13),e.qZA(),e.qZA(),e.YNc(9,spe,2,3,"mat-checkbox",15),e.YNc(10,upe,8,2,"form",16),e.YNc(11,cpe,7,1,"mat-radio-group",17),e.qZA()}if(2&r){var n=e.oxw();e.xp6(1),e.Q6J("ngModelOptions",e.DdM(11,X1))("ngModel",n.gns3vm.enable),e.xp6(3),e.Q6J("ngModelOptions",e.DdM(12,X1))("ngModel",n.gns3vm.engine),e.xp6(1),e.Q6J("ngForOf",n.vmEngines),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(13,X1))("ngModel",n.gns3vm.vmname),e.xp6(1),e.Q6J("ngForOf",n.vms),e.xp6(1),e.Q6J("ngIf","virtualbox"===n.gns3vm.engine||"vmware"===n.gns3vm.engine),e.xp6(1),e.Q6J("ngIf","remote"!==n.gns3vm.engine),e.xp6(1),e.Q6J("ngIf","remote"!==n.gns3vm.engine)}}var ppe=function(){var r=function(){function i(t,n,a,o,s,l){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.gns3vmService=a,this.router=o,this.formBuilder=s,this.toasterService=l,this.vms=[],this.vmForm=this.formBuilder.group({ram:new re.NI(null,[re.kI.required]),vcpus:new re.NI(null,[re.kI.required])})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(a,10)).then(function(o){n.server=o,n.gns3vmService.getGns3vm(n.server).subscribe(function(s){n.gns3vm=s,n.vmForm.controls.ram.setValue(n.gns3vm.ram),n.vmForm.controls.vcpus.setValue(n.gns3vm.vcpus),n.gns3vm.port&&(n.port=n.gns3vm.port),n.gns3vmService.getGns3vmEngines(n.server).subscribe(function(l){n.vmEngines=l}),n.gns3vmService.getVms(n.server,n.gns3vm.engine).subscribe(function(l){n.vms=l})})})}},{key:"goBack",value:function(){this.router.navigate(["/server",this.server.id,"preferences"])}},{key:"setCloseAction",value:function(n){this.gns3vm.when_exit=n}},{key:"changeVmEngine",value:function(n){var a=this;this.gns3vmService.getVms(this.server,n.value).subscribe(function(o){a.vms=o},function(o){})}},{key:"save",value:function(){var n=this;this.vmForm.valid&&this.gns3vm.vmname||"remote"===this.gns3vm.engine&&this.gns3vm.vmname?(this.gns3vm.ram=this.vmForm.get("ram").value,this.gns3vm.vcpus=this.vmForm.get("vcpus").value,this.port&&(this.gns3vm.port=this.port),this.gns3vmService.updateGns3vm(this.server,this.gns3vm).subscribe(function(){n.toasterService.success("GNS3 VM updated.")}),this.goBack()):this.toasterService.error("Fill all required fields with correct values.")}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(Hj),e.Y36(xr),e.Y36(re.qu),e.Y36(Yn))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-gns3vm"]],decls:12,vars:1,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],["class","matCard",4,"ngIf"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"],[1,"matCard"],[3,"ngModelOptions","ngModel","ngModelChange"],[1,"select"],["placeholder","Virtualization engine",3,"ngModelOptions","ngModel","selectionChange","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["placeholder","VM name",3,"ngModelOptions","ngModel","ngModelChange"],[3,"ngModelOptions","ngModel","ngModelChange",4,"ngIf"],[3,"formGroup",4,"ngIf"],["aria-label","Actions when closing GNS3","class","radio-selection",3,"ngModel","ngModelChange",4,"ngIf"],[3,"value"],[3,"formGroup"],["class","form-field",4,"ngIf"],[1,"form-field"],["matInput","","formControlName","ram","type","number","placeholder","RAM"],["matSuffix",""],["matInput","","formControlName","vcpus","type","number","placeholder","vCPUs"],["matInput","","type","number","placeholder","Port",3,"ngModelOptions","ngModel","ngModelChange"],["aria-label","Actions when closing GNS3",1,"radio-selection",3,"ngModel","ngModelChange"],["value","keep",3,"click"],["value","suspend",3,"click"],["value","stop",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"GNS3 VM preferences"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.YNc(6,dpe,12,14,"mat-card",5),e.TgZ(7,"div",6),e.TgZ(8,"button",7),e.NdJ("click",function(){return n.goBack()}),e._uU(9,"Cancel"),e.qZA(),e.TgZ(10,"button",8),e.NdJ("click",function(){return n.save()}),e._uU(11,"Save"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(6),e.Q6J("ngIf",n.gns3vm))},directives:[Pt.O5,En,Ti,La,re.JJ,re.On,Ln.KE,yi.gD,Pt.sg,sn.ey,re._Y,re.JL,re.sg,ir,re.Fj,re.wV,re.u,Ln.R9,El,Ml],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.radio-selection[_ngcontent-%COMP%]{display:flex;justify-content:space-between}"]}),r}(),E6=function r(){(0,v.Z)(this,r)},tv=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.httpServer=t}return(0,g.Z)(i,[{key:"getTemplates",value:function(n){return this.httpServer.get(n,"/templates")}},{key:"getTemplate",value:function(n,a){return this.httpServer.get(n,"/templates/".concat(a))}},{key:"getImages",value:function(n){return this.httpServer.get(n,"/compute/iou/images")}},{key:"getImagePath",value:function(n,a){return"".concat(n.protocol,"//").concat(n.host,":").concat(n.port,"/v2/compute/iou/images/").concat(a)}},{key:"addTemplate",value:function(n,a){return this.httpServer.post(n,"/templates",a)}},{key:"saveTemplate",value:function(n,a){return this.httpServer.put(n,"/templates/".concat(a.template_id),a)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(Ja.wh))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}();function fpe(r,i){if(1&r&&(e.TgZ(0,"mat-option",24),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function hpe(r,i){if(1&r&&(e.TgZ(0,"mat-option",24),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t.path),e.xp6(1),e.hij(" ",t.path," ")}}var Vj=function(){return{standalone:!0}};function mpe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-form-field",13),e.TgZ(1,"mat-select",25),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iouTemplate.path=o}),e.YNc(2,hpe,2,2,"mat-option",18),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(1),e.Q6J("ngModel",n.iouTemplate.path)("ngModelOptions",e.DdM(3,Vj)),e.xp6(1),e.Q6J("ngForOf",n.iouImages)}}function vpe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"input",26,27),e.NdJ("change",function(o){return e.CHM(t),e.oxw().uploadImageFile(o)}),e.qZA(),e.TgZ(3,"button",28),e.NdJ("click",function(){return e.CHM(t),e.MAs(2).click()}),e._uU(4,"Browse"),e.qZA(),e.TgZ(5,"mat-form-field",29),e._UZ(6,"input",30),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(1),e.Q6J("uploader",n.uploader)}}var gpe=function(){var r=function(){function i(t,n,a,o,s,l,d,h){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.iouService=a,this.toasterService=o,this.router=s,this.formBuilder=l,this.templateMocksService=d,this.computeService=h,this.isRemoteComputerChosen=!1,this.newImageSelected=!1,this.types=["L2 image","L3 image"],this.iouImages=[],this.isGns3VmAvailable=!1,this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0,this.iouTemplate=new E6,this.templateNameForm=this.formBuilder.group({templateName:new re.NI(null,re.kI.required)}),this.imageForm=this.formBuilder.group({imageName:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.uploader=new qm({}),this.uploader.onAfterAddingFile=function(o){o.withCredentials=!1},this.uploader.onErrorItem=function(o,s,l,d){n.toasterService.error("An error occured: "+s)},this.uploader.onSuccessItem=function(o,s,l,d){n.getImages(),n.toasterService.success("Image uploaded")};var a=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(a,10)).then(function(o){n.server=o,n.getImages(),n.templateMocksService.getIouTemplate().subscribe(function(s){n.iouTemplate=s}),n.computeService.getComputes(o).subscribe(function(s){s.filter(function(l){return"vm"===l.compute_id}).length>0&&(n.isGns3VmAvailable=!0)})})}},{key:"getImages",value:function(){var n=this;this.iouService.getImages(this.server).subscribe(function(a){n.iouImages=a})}},{key:"setServerType",value:function(n){"gns3 vm"===n&&this.isGns3VmAvailable?(this.isGns3VmChosen=!0,this.isLocalComputerChosen=!1):(this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0)}},{key:"setDiskImage",value:function(n){this.newImageSelected="newImage"===n}},{key:"uploadImageFile",value:function(n){var a=n.target.files[0].name;this.imageForm.controls.imageName.setValue(a);var o=this.iouService.getImagePath(this.server,a);this.uploader.queue.forEach(function(l){return l.url=o});var s=this.uploader.queue[0];s.options.disableMultipart=!0,this.uploader.uploadItem(s)}},{key:"goBack",value:function(){this.router.navigate(["/server",this.server.id,"preferences","iou","templates"])}},{key:"addTemplate",value:function(){var n=this;!this.templateNameForm.invalid&&(this.newImageSelected&&!this.imageForm.invalid||!this.newImageSelected&&this.iouTemplate.path)?(this.iouTemplate.template_id=(0,Eo.v4)(),this.iouTemplate.name=this.templateNameForm.get("templateName").value,this.newImageSelected&&(this.iouTemplate.path=this.imageForm.get("imageName").value),this.iouTemplate.compute_id=this.isGns3VmChosen?"vm":"local","L2 image"===this.selectedType?(this.iouTemplate.ethernet_adapters=4,this.iouTemplate.serial_adapters=0):"L3 image"===this.selectedType&&(this.iouTemplate.ethernet_adapters=2,this.iouTemplate.serial_adapters=2),this.iouService.addTemplate(this.server,this.iouTemplate).subscribe(function(a){n.goBack()})):this.toasterService.error("Fill all required fields")}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(tv),e.Y36(Yn),e.Y36(xr),e.Y36(re.qu),e.Y36(bc),e.Y36(Cc.X))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-add-iou-template"]],decls:35,vars:12,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[1,"container","mat-elevation-z8"],[3,"linear"],["label","Server type",3,"completed"],[1,"radio-group"],["value","1","checked","",1,"radio-button",3,"click"],["value","2",1,"radio-button",3,"disabled","click"],["label","Name",3,"completed"],[3,"formGroup"],[1,"form-field"],["matInput","","placeholder","Name","type","text","formControlName","templateName"],["label","Image"],["value","2",1,"radio-button",3,"click"],["placeholder","Type",3,"ngModel","ngModelOptions","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["class","form-field",4,"ngIf"],[4,"ngIf"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],["placeholder","IOU image",3,"ngModel","ngModelOptions","ngModelChange"],["type","file","accept",".bin","ng2FileSelect","",1,"nonvisible",3,"uploader","change"],["file",""],["mat-raised-button","","color","primary",1,"file-button",3,"click"],[1,"file-name-form-field"],["matInput","","type","text","formControlName","imageName","placeholder","IOU image"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"New IOU device template"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"div",5),e.TgZ(7,"mat-vertical-stepper",6),e.TgZ(8,"mat-step",7),e.TgZ(9,"mat-radio-group",8),e.TgZ(10,"mat-radio-button",9),e.NdJ("click",function(){return n.setServerType("local")}),e._uU(11,"Run this IOU device locally"),e.qZA(),e.TgZ(12,"mat-radio-button",10),e.NdJ("click",function(){return n.setServerType("gns3 vm")}),e._uU(13,"Run this IOU device on the GNS3 VM"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(14,"mat-step",11),e.TgZ(15,"form",12),e.TgZ(16,"mat-form-field",13),e._UZ(17,"input",14),e.qZA(),e.qZA(),e.qZA(),e.TgZ(18,"mat-step",15),e.TgZ(19,"form",12),e.TgZ(20,"mat-radio-group",8),e.TgZ(21,"mat-radio-button",9),e.NdJ("click",function(){return n.setDiskImage("existingImage")}),e._uU(22,"Existing image"),e.qZA(),e.TgZ(23,"mat-radio-button",16),e.NdJ("click",function(){return n.setDiskImage("newImage")}),e._uU(24,"New image"),e.qZA(),e.qZA(),e.TgZ(25,"mat-form-field",13),e.TgZ(26,"mat-select",17),e.NdJ("ngModelChange",function(o){return n.selectedType=o}),e.YNc(27,fpe,2,2,"mat-option",18),e.qZA(),e.qZA(),e.YNc(28,mpe,3,4,"mat-form-field",19),e.YNc(29,vpe,7,1,"div",20),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(30,"div",21),e.TgZ(31,"button",22),e.NdJ("click",function(){return n.goBack()}),e._uU(32,"Cancel"),e.qZA(),e.TgZ(33,"button",23),e.NdJ("click",function(){return n.addTemplate()}),e._uU(34,"Add template"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(7),e.Q6J("linear",!0),e.xp6(1),e.Q6J("completed",n.isGns3VmChosen||n.isLocalComputerChosen),e.xp6(4),e.Q6J("disabled",!n.isGns3VmAvailable),e.xp6(2),e.Q6J("completed",n.templateNameForm.get("templateName").value),e.xp6(1),e.Q6J("formGroup",n.templateNameForm),e.xp6(4),e.Q6J("formGroup",n.imageForm),e.xp6(7),e.Q6J("ngModel",n.selectedType)("ngModelOptions",e.DdM(11,Vj)),e.xp6(1),e.Q6J("ngForOf",n.types),e.xp6(1),e.Q6J("ngIf",!n.newImageSelected),e.xp6(1),e.Q6J("ngIf",n.newImageSelected))},directives:[ey,$_,El,Ml,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,yi.gD,re.On,Pt.sg,Pt.O5,En,sn.ey,P1],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}(),_pe=function(){var r=function(){function i(t,n,a,o,s,l){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.qemuService=a,this.toasterService=o,this.router=s,this.formBuilder=l,this.templateName="",this.templateNameForm=this.formBuilder.group({templateName:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id"),o=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(a,10)).then(function(s){n.server=s,n.qemuService.getTemplate(n.server,o).subscribe(function(l){n.iouTemplate=l,n.templateName="Copy of ".concat(n.iouTemplate.name)})})}},{key:"goBack",value:function(){this.router.navigate(["/server",this.server.id,"preferences","iou","templates"])}},{key:"addTemplate",value:function(){var n=this;this.templateNameForm.invalid?this.toasterService.error("Fill all required fields"):(this.iouTemplate.template_id=(0,Eo.v4)(),this.iouTemplate.name=this.templateName,this.qemuService.addTemplate(this.server,this.iouTemplate).subscribe(function(a){n.goBack()}))}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(tv),e.Y36(Yn),e.Y36(xr),e.Y36(re.qu))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-copy-iou-template"]],decls:15,vars:2,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[1,"matCard"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","placeholder","Name","formControlName","templateName",3,"ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Copy IOU device template"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"mat-card",5),e.TgZ(7,"form",6),e.TgZ(8,"mat-form-field",7),e.TgZ(9,"input",8),e.NdJ("ngModelChange",function(o){return n.templateName=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(10,"div",9),e.TgZ(11,"button",10),e.NdJ("click",function(){return n.goBack()}),e._uU(12,"Cancel"),e.qZA(),e.TgZ(13,"button",11),e.NdJ("click",function(){return n.addTemplate()}),e._uU(14,"Copy template"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(7),e.Q6J("formGroup",n.templateNameForm),e.xp6(2),e.Q6J("ngModel",n.templateName))},directives:[Ti,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,En],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}(),M6=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"getConsoleTypes",value:function(){return["telnet","none"]}},{key:"getCategories",value:function(){return[["Default","guest"],["Routers","router"],["Switches","switch"],["End devices","guest"],["Security devices","firewall"]]}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}();function ype(r,i){if(1&r&&(e.TgZ(0,"mat-option",31),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}function bpe(r,i){if(1&r&&(e.TgZ(0,"mat-option",31),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Cpe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-form-field",2),e.TgZ(1,"input",32),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw(2).iouTemplate.ram=o}),e.qZA(),e.TgZ(2,"span",33),e._uU(3,"MB"),e.qZA(),e.qZA()}if(2&r){var n=e.oxw(2);e.xp6(1),e.Q6J("ngModel",n.iouTemplate.ram)}}function Spe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-form-field",2),e.TgZ(1,"input",34),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw(2).iouTemplate.nvram=o}),e.qZA(),e.TgZ(2,"span",33),e._uU(3,"MB"),e.qZA(),e.qZA()}if(2&r){var n=e.oxw(2);e.xp6(1),e.Q6J("ngModel",n.iouTemplate.nvram)}}var jj=function(){return{standalone:!0}};function Tpe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",6),e.TgZ(1,"mat-accordion"),e.TgZ(2,"mat-expansion-panel"),e.TgZ(3,"mat-expansion-panel-header"),e.TgZ(4,"mat-panel-title"),e._uU(5," General settings "),e.qZA(),e.qZA(),e.TgZ(6,"form",7),e.TgZ(7,"mat-form-field",2),e.TgZ(8,"input",8),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iouTemplate.name=o}),e.qZA(),e.qZA(),e.TgZ(9,"mat-form-field",2),e.TgZ(10,"input",9),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iouTemplate.default_name_format=o}),e.qZA(),e.qZA(),e.TgZ(11,"mat-form-field",2),e.TgZ(12,"input",10),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iouTemplate.symbol=o}),e.qZA(),e.qZA(),e.TgZ(13,"button",11),e.NdJ("click",function(){return e.CHM(t),e.oxw().chooseSymbol()}),e._uU(14,"Choose symbol"),e.qZA(),e._UZ(15,"br"),e._UZ(16,"br"),e.TgZ(17,"mat-form-field",2),e.TgZ(18,"mat-select",12),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iouTemplate.category=o}),e.YNc(19,ype,2,2,"mat-option",13),e.qZA(),e.qZA(),e.TgZ(20,"input",14,15),e.NdJ("change",function(o){return e.CHM(t),e.oxw().uploadImageFile(o)}),e.qZA(),e.TgZ(22,"button",16),e.NdJ("click",function(){return e.CHM(t),e.MAs(21).click()}),e._uU(23,"Browse"),e.qZA(),e.TgZ(24,"mat-form-field",17),e.TgZ(25,"input",18),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iouTemplate.path=o}),e.qZA(),e.qZA(),e.TgZ(26,"mat-form-field",2),e.TgZ(27,"input",19),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iouTemplate.startup_config=o}),e.qZA(),e.qZA(),e.TgZ(28,"mat-form-field",2),e.TgZ(29,"input",20),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iouTemplate.private_config=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(30,"mat-form-field",21),e.TgZ(31,"mat-select",22),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iouTemplate.console_type=o}),e.YNc(32,bpe,2,2,"mat-option",13),e.qZA(),e.qZA(),e.TgZ(33,"mat-checkbox",23),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iouTemplate.console_auto_start=o}),e._uU(34," Auto start console "),e.qZA(),e._UZ(35,"br"),e.TgZ(36,"mat-checkbox",23),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iouTemplate.l1_keepalives=o}),e._uU(37," Enable layer 1 keepalive messages (non-functional) "),e.qZA(),e._UZ(38,"br"),e.TgZ(39,"mat-checkbox",23),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().defaultSettings=o}),e._uU(40," Use default IOU values for memories "),e.qZA(),e.YNc(41,Cpe,4,1,"mat-form-field",24),e.YNc(42,Spe,4,1,"mat-form-field",24),e.qZA(),e.TgZ(43,"mat-expansion-panel"),e.TgZ(44,"mat-expansion-panel-header"),e.TgZ(45,"mat-panel-title"),e._uU(46," Network "),e.qZA(),e.qZA(),e.TgZ(47,"form",7),e.TgZ(48,"mat-form-field",2),e.TgZ(49,"input",25),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iouTemplate.ethernet_adapters=o}),e.qZA(),e.qZA(),e.TgZ(50,"mat-form-field",2),e.TgZ(51,"input",26),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iouTemplate.serial_adapters=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(52,"mat-expansion-panel"),e.TgZ(53,"mat-expansion-panel-header"),e.TgZ(54,"mat-panel-title"),e._uU(55," Usage "),e.qZA(),e.qZA(),e.TgZ(56,"mat-form-field",2),e.TgZ(57,"textarea",27),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().iouTemplate.usage=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(58,"div",28),e.TgZ(59,"button",29),e.NdJ("click",function(){return e.CHM(t),e.oxw().goBack()}),e._uU(60,"Cancel"),e.qZA(),e.TgZ(61,"button",30),e.NdJ("click",function(){return e.CHM(t),e.oxw().onSave()}),e._uU(62,"Save"),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(6),e.Q6J("formGroup",n.generalSettingsForm),e.xp6(2),e.Q6J("ngModel",n.iouTemplate.name),e.xp6(2),e.Q6J("ngModel",n.iouTemplate.default_name_format),e.xp6(2),e.Q6J("ngModel",n.iouTemplate.symbol),e.xp6(6),e.Q6J("ngModelOptions",e.DdM(22,jj))("ngModel",n.iouTemplate.category),e.xp6(1),e.Q6J("ngForOf",n.categories),e.xp6(6),e.Q6J("ngModel",n.iouTemplate.path),e.xp6(2),e.Q6J("ngModel",n.iouTemplate.startup_config),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(23,jj))("ngModel",n.iouTemplate.private_config),e.xp6(2),e.Q6J("ngModel",n.iouTemplate.console_type),e.xp6(1),e.Q6J("ngForOf",n.consoleTypes),e.xp6(1),e.Q6J("ngModel",n.iouTemplate.console_auto_start),e.xp6(3),e.Q6J("ngModel",n.iouTemplate.l1_keepalives),e.xp6(3),e.Q6J("ngModel",n.defaultSettings),e.xp6(2),e.Q6J("ngIf",!n.defaultSettings),e.xp6(1),e.Q6J("ngIf",!n.defaultSettings),e.xp6(5),e.Q6J("formGroup",n.networkForm),e.xp6(2),e.Q6J("ngModel",n.iouTemplate.ethernet_adapters),e.xp6(2),e.Q6J("ngModel",n.iouTemplate.serial_adapters),e.xp6(6),e.Q6J("ngModel",n.iouTemplate.usage)}}function kpe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"app-symbols-menu",35),e.NdJ("symbolChangedEmitter",function(o){return e.CHM(t),e.oxw().symbolChanged(o)}),e.qZA()}if(2&r){var n=e.oxw();e.Q6J("server",n.server)("symbol",n.iouTemplate.symbol)}}var wpe=function(i){return{shadowed:i}},xpe=function(){var r=function(){function i(t,n,a,o,s,l,d){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.iouService=a,this.toasterService=o,this.configurationService=s,this.router=l,this.formBuilder=d,this.isSymbolSelectionOpened=!1,this.defaultSettings=!0,this.consoleTypes=[],this.consoleResolutions=[],this.categories=[],this.generalSettingsForm=this.formBuilder.group({templateName:new re.NI("",re.kI.required),defaultName:new re.NI("",re.kI.required),symbol:new re.NI("",re.kI.required),path:new re.NI("",re.kI.required),initialConfig:new re.NI("",re.kI.required)}),this.networkForm=this.formBuilder.group({ethernetAdapters:new re.NI("",re.kI.required),serialAdapters:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id"),o=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(a,10)).then(function(s){n.server=s,n.getConfiguration(),n.iouService.getTemplate(n.server,o).subscribe(function(l){n.iouTemplate=l})})}},{key:"getConfiguration",value:function(){this.consoleTypes=this.configurationService.getConsoleTypes(),this.categories=this.configurationService.getCategories()}},{key:"goBack",value:function(){this.router.navigate(["/server",this.server.id,"preferences","iou","templates"])}},{key:"onSave",value:function(){var n=this;this.generalSettingsForm.invalid||this.networkForm.invalid?this.toasterService.error("Fill all required fields"):this.iouService.saveTemplate(this.server,this.iouTemplate).subscribe(function(){n.toasterService.success("Changes saved")})}},{key:"uploadImageFile",value:function(n){this.iouTemplate.path=n.target.files[0].name}},{key:"chooseSymbol",value:function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened}},{key:"symbolChanged",value:function(n){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.iouTemplate.symbol=n}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(tv),e.Y36(Yn),e.Y36(M6),e.Y36(xr),e.Y36(re.qu))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-iou-template-details"]],decls:7,vars:5,consts:[[1,"content",3,"ngClass"],[1,"default-header"],[1,"form-field"],[1,"col"],["class","default-content",4,"ngIf"],[3,"server","symbol","symbolChangedEmitter",4,"ngIf"],[1,"default-content"],[3,"formGroup"],["matInput","","formControlName","templateName","type","text","placeholder","Template name",3,"ngModel","ngModelChange"],["matInput","","formControlName","defaultName","type","text","placeholder","Default name format",3,"ngModel","ngModelChange"],["matInput","","formControlName","symbol","type","text","placeholder","Symbol",3,"ngModel","ngModelChange"],["mat-button","",1,"symbolSelectionButton",3,"click"],["placeholder","Category",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["type","file","accept",".bin","ngDefaultControl","",1,"nonvisible",3,"change"],["file",""],["mat-raised-button","","color","primary",1,"file-button",3,"click"],[1,"file-name-form-field"],["matInput","","formControlName","path","type","text","placeholder","IOU image path",3,"ngModel","ngModelChange"],["matInput","","formControlName","initialConfig","type","text","placeholder","Startup config",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Private config",3,"ngModelOptions","ngModel","ngModelChange"],[1,"select"],["placeholder","Console type",3,"ngModel","ngModelChange"],[3,"ngModel","ngModelChange"],["class","form-field",4,"ngIf"],["matInput","","formControlName","ethernetAdapters","type","number","placeholder","Ethernet adapters",3,"ngModel","ngModelChange"],["matInput","","formControlName","serialAdapters","type","number","placeholder","Serial adapters",3,"ngModel","ngModelChange"],["matInput","","type","text",3,"ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],["matInput","","type","number","placeholder","RAM size",3,"ngModel","ngModelChange"],["matSuffix",""],["matInput","","type","number","placeholder","NVRAM size",3,"ngModel","ngModelChange"],[3,"server","symbol","symbolChangedEmitter"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"IOU device configuration"),e.qZA(),e.qZA(),e.qZA(),e.YNc(5,Tpe,63,24,"div",4),e.qZA(),e.YNc(6,kpe,1,2,"app-symbols-menu",5)),2&t&&(e.Q6J("ngClass",e.VKq(3,wpe,n.isSymbolSelectionOpened)),e.xp6(5),e.Q6J("ngIf",n.iouTemplate),e.xp6(1),e.Q6J("ngIf",n.isSymbolSelectionOpened&&n.iouTemplate))},directives:[Pt.mk,Pt.O5,dd,_c,yc,cd,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,En,yi.gD,re.On,Pt.sg,La,re.wV,sn.ey,Ln.R9,fd],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}();function Epe(r,i){if(1&r&&(e.TgZ(0,"button",10),e._uU(1," Back "),e.qZA()),2&r){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences")}}function Mpe(r,i){if(1&r&&(e.TgZ(0,"button",11),e._uU(1," Add IOU device template "),e.qZA()),2&r){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences/iou/addtemplate")}}function Ape(r,i){1&r&&e._UZ(0,"app-empty-templates-list")}function Dpe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",15),e.TgZ(1,"mat-list-item",16),e._uU(2),e.qZA(),e.TgZ(3,"button",17),e.TgZ(4,"mat-icon"),e._uU(5,"more_vert"),e.qZA(),e.qZA(),e.TgZ(6,"mat-menu",null,18),e.TgZ(8,"button",19),e.NdJ("click",function(){var l=e.CHM(t).$implicit;return e.oxw(3).deleteTemplate(l)}),e.TgZ(9,"mat-icon"),e._uU(10,"delete"),e.qZA(),e.TgZ(11,"span"),e._uU(12,"Delete"),e.qZA(),e.qZA(),e.TgZ(13,"button",19),e.NdJ("click",function(){var l=e.CHM(t).$implicit;return e.oxw(3).copyTemplate(l)}),e.TgZ(14,"mat-icon"),e._uU(15,"content_copy"),e.qZA(),e.TgZ(16,"span"),e._uU(17,"Copy"),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=i.$implicit,a=e.MAs(7);e.xp6(1),e.s9C("routerLink",n.template_id),e.xp6(1),e.Oqu(n.name),e.xp6(1),e.Q6J("matMenuTriggerFor",a)}}function Ope(r,i){if(1&r&&(e.TgZ(0,"mat-nav-list"),e.YNc(1,Dpe,18,3,"div",14),e.qZA()),2&r){var t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.iouTemplates)}}function Ppe(r,i){if(1&r&&(e.TgZ(0,"div",12),e.TgZ(1,"div",13),e.YNc(2,Ope,2,1,"mat-nav-list",6),e.qZA(),e.qZA()),2&r){var t=e.oxw();e.xp6(2),e.Q6J("ngIf",t.server)}}var Ipe=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.iouService=a,this.router=o,this.iouTemplates=[]}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(a,10)).then(function(o){n.server=o,n.getTemplates()})}},{key:"getTemplates",value:function(){var n=this;this.iouService.getTemplates(this.server).subscribe(function(a){n.iouTemplates=a.filter(function(o){return"iou"===o.template_type&&!o.builtin})})}},{key:"deleteTemplate",value:function(n){this.deleteComponent.deleteItem(n.name,n.template_id)}},{key:"onDeleteEvent",value:function(){this.getTemplates()}},{key:"copyTemplate",value:function(n){this.router.navigate(["/server",this.server.id,"preferences","iou","templates",n.template_id,"copy"])}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(tv),e.Y36(xr))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-iou-templates"]],viewQuery:function(t,n){var a;1&t&&e.Gf(Mo,5),2&t&&e.iGM(a=e.CRH())&&(n.deleteComponent=a.first)},decls:11,vars:5,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],["class","top-button","class","cancel-button","mat-button","",3,"routerLink",4,"ngIf"],["class","top-button","mat-raised-button","","color","primary",3,"routerLink",4,"ngIf"],[4,"ngIf"],["class","default-content",4,"ngIf"],[3,"server","deleteEvent"],["deleteComponent",""],["mat-button","",1,"cancel-button",3,"routerLink"],["mat-raised-button","","color","primary",1,"top-button",3,"routerLink"],[1,"default-content"],[1,"listcontainer","mat-elevation-z8"],["class","list-item",4,"ngFor","ngForOf"],[1,"list-item"],[1,"template-name",3,"routerLink"],["mat-button","",1,"menu-button",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"IOU device templates"),e.qZA(),e.YNc(5,Epe,2,1,"button",4),e.YNc(6,Mpe,2,1,"button",5),e.qZA(),e.qZA(),e.YNc(7,Ape,1,0,"app-empty-templates-list",6),e.YNc(8,Ppe,3,1,"div",7),e.qZA(),e.TgZ(9,"app-delete-template",8,9),e.NdJ("deleteEvent",function(){return n.onDeleteEvent()}),e.qZA()),2&t&&(e.xp6(5),e.Q6J("ngIf",n.server),e.xp6(1),e.Q6J("ngIf",n.server),e.xp6(1),e.Q6J("ngIf",!n.iouTemplates.length),e.xp6(1),e.Q6J("ngIf",n.iouTemplates.length),e.xp6(1),e.Q6J("server",n.server))},directives:[Pt.O5,Mo,En,go,md,Iu,Pt.sg,Zs,ns,er,Ls,Zr],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}(),Rpe=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.route=t,this.serverId=""}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){this.serverId=this.route.snapshot.paramMap.get("server_id")}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-preferences"]],decls:26,vars:9,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[1,"listcontainer","mat-elevation-z8"],[3,"routerLink"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Preferences"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"div",5),e.TgZ(7,"mat-nav-list"),e.TgZ(8,"mat-list-item",6),e._uU(9," GNS3 VM "),e.qZA(),e.TgZ(10,"mat-list-item",6),e._uU(11," Built-in "),e.qZA(),e.TgZ(12,"mat-list-item",6),e._uU(13," Dynamips "),e.qZA(),e.TgZ(14,"mat-list-item",6),e._uU(15," IOS on Unix "),e.qZA(),e.TgZ(16,"mat-list-item",6),e._uU(17," VPCS "),e.qZA(),e.TgZ(18,"mat-list-item",6),e._uU(19," QEMU "),e.qZA(),e.TgZ(20,"mat-list-item",6),e._uU(21," VirtualBox "),e.qZA(),e.TgZ(22,"mat-list-item",6),e._uU(23," VMware "),e.qZA(),e.TgZ(24,"mat-list-item",6),e._uU(25," Docker "),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(8),e.MGl("routerLink","/server/",n.serverId,"/preferences/gns3vm"),e.xp6(2),e.MGl("routerLink","/server/",n.serverId,"/preferences/builtin"),e.xp6(2),e.MGl("routerLink","/server/",n.serverId,"/preferences/dynamips/templates"),e.xp6(2),e.MGl("routerLink","/server/",n.serverId,"/preferences/iou/templates"),e.xp6(2),e.MGl("routerLink","/server/",n.serverId,"/preferences/vpcs/templates"),e.xp6(2),e.MGl("routerLink","/server/",n.serverId,"/preferences/qemu/templates"),e.xp6(2),e.MGl("routerLink","/server/",n.serverId,"/preferences/virtualbox/templates"),e.xp6(2),e.MGl("routerLink","/server/",n.serverId,"/preferences/vmware/templates"),e.xp6(2),e.MGl("routerLink","/server/",n.serverId,"/preferences/docker/templates"))},directives:[Iu,Zs,go],styles:[".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}(),A6=function r(){(0,v.Z)(this,r)},Sp=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.httpServer=t}return(0,g.Z)(i,[{key:"getTemplates",value:function(n){return this.httpServer.get(n,"/templates")}},{key:"getTemplate",value:function(n,a){return this.httpServer.get(n,"/templates/".concat(a))}},{key:"getImagePath",value:function(n,a){return"".concat(n.protocol,"//").concat(n.host,":").concat(n.port,"/v2/compute/qemu/images/").concat(a)}},{key:"getBinaries",value:function(n){return this.httpServer.get(n,"/computes/local/qemu/binaries")}},{key:"getImages",value:function(n){return this.httpServer.get(n,"/compute/qemu/images")}},{key:"addImage",value:function(n,a){return this.httpServer.post(n,"/compute/qemu/img",a)}},{key:"addTemplate",value:function(n,a){return this.httpServer.post(n,"/templates",a)}},{key:"saveTemplate",value:function(n,a){return this.httpServer.put(n,"/templates/".concat(a.template_id),a)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(Ja.wh))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),UA=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"getConsoleTypes",value:function(){return["telnet","vnc","spice","spice+agent","none"]}},{key:"getDiskInterfaces",value:function(){return["ide","sata","scsi","sd","mtd","floppy","pflash","virtio","nvme","none"]}},{key:"getNetworkTypes",value:function(){return["e1000","e1000-82544gc","e1000-82545em","e1000e","rocker","Intel Gigabit Ethernet","i82550","i82551","i82557a","i82557b","i82557c","i82558a","i82558b","i82559a","i82559b","i82559c","i82559er","i82562","i82801","ne2k_pci","pcnet","rtl8139","virtio","virtio-net-pci","vmxnet3"]}},{key:"getBootPriorities",value:function(){return[["HDD","c"],["CD/DVD-ROM","d"],["Network","n"],["HDD or Network","cn"],["HDD or CD/DVD-ROM","cd"]]}},{key:"getOnCloseOptions",value:function(){return[["Power off the VM","power_off"],["Send the shutdown signal (ACPI)","shutdown_signal"],["Save the VM state","save_vm_state"]]}},{key:"getCategories",value:function(){return[["Default","guest"],["Routers","router"],["Switches","switch"],["End devices","guest"],["Security devices","firewall"]]}},{key:"getPriorities",value:function(){return["realtime","very high","high","normal","low","very low"]}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Npe=["primaryValueBar"],Zpe=(0,sn.pj)(function(){return function r(i){(0,v.Z)(this,r),this._elementRef=i}}(),"primary"),Lpe=new e.OlP("mat-progress-bar-location",{providedIn:"root",factory:function(){var r=(0,e.f3M)(Pt.K0),i=r?r.location:null;return{getPathname:function(){return i?i.pathname+i.search:""}}}}),Bpe=new e.OlP("MAT_PROGRESS_BAR_DEFAULT_OPTIONS"),Upe=0,qj=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o,s,l,d){var h;(0,v.Z)(this,n),(h=t.call(this,a))._ngZone=o,h._animationMode=s,h._isNoopAnimation=!1,h._value=0,h._bufferValue=0,h.animationEnd=new e.vpe,h._animationEndSubscription=Lo.w.EMPTY,h.mode="determinate",h.progressbarId="mat-progress-bar-".concat(Upe++);var C=l?l.getPathname().split("#")[0]:"";return h._rectangleFillValue="url('".concat(C,"#").concat(h.progressbarId,"')"),h._isNoopAnimation="NoopAnimations"===s,d&&(d.color&&(h.color=h.defaultColor=d.color),h.mode=d.mode||h.mode),h}return(0,g.Z)(n,[{key:"value",get:function(){return this._value},set:function(o){this._value=zj((0,Hn.su)(o)||0)}},{key:"bufferValue",get:function(){return this._bufferValue},set:function(o){this._bufferValue=zj(o||0)}},{key:"_primaryTransform",value:function(){return{transform:"scale3d(".concat(this.value/100,", 1, 1)")}}},{key:"_bufferTransform",value:function(){return"buffer"===this.mode?{transform:"scale3d(".concat(this.bufferValue/100,", 1, 1)")}:null}},{key:"ngAfterViewInit",value:function(){var o=this;this._ngZone.runOutsideAngular(function(){var s=o._primaryValueBar.nativeElement;o._animationEndSubscription=(0,Jg.R)(s,"transitionend").pipe((0,ea.h)(function(l){return l.target===s})).subscribe(function(){("determinate"===o.mode||"buffer"===o.mode)&&o._ngZone.run(function(){return o.animationEnd.next({value:o.value})})})})}},{key:"ngOnDestroy",value:function(){this._animationEndSubscription.unsubscribe()}}]),n}(Zpe);return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(Js.Qb,8),e.Y36(Lpe,8),e.Y36(Bpe,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-progress-bar"]],viewQuery:function(t,n){var a;1&t&&e.Gf(Npe,5),2&t&&e.iGM(a=e.CRH())&&(n._primaryValueBar=a.first)},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-progress-bar"],hostVars:4,hostBindings:function(t,n){2&t&&(e.uIk("aria-valuenow","indeterminate"===n.mode||"query"===n.mode?null:n.value)("mode",n.mode),e.ekj("_mat-animation-noopable",n._isNoopAnimation))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[e.qOj],decls:10,vars:4,consts:[["aria-hidden","true"],["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.O4$(),e.TgZ(1,"svg",1),e.TgZ(2,"defs"),e.TgZ(3,"pattern",2),e._UZ(4,"circle",3),e.qZA(),e.qZA(),e._UZ(5,"rect",4),e.qZA(),e.kcU(),e._UZ(6,"div",5),e._UZ(7,"div",6,7),e._UZ(9,"div",8),e.qZA()),2&t&&(e.xp6(3),e.Q6J("id",n.progressbarId),e.xp6(2),e.uIk("fill",n._rectangleFillValue),e.xp6(1),e.Q6J("ngStyle",n._bufferTransform()),e.xp6(1),e.Q6J("ngStyle",n._primaryTransform()))},directives:[Pt.PC],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\n'],encapsulation:2,changeDetection:0}),r}();function zj(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;return Math.max(i,Math.min(t,r))}var Hpe=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[[Pt.ez,sn.BQ],sn.BQ]}),r}();function Vpe(r,i){if(1&r&&(e.TgZ(0,"mat-option",29),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t.path," ")}}function jpe(r,i){if(1&r&&(e.TgZ(0,"mat-option",29),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function qpe(r,i){if(1&r&&(e.TgZ(0,"mat-option",29),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t.filename," ")}}var D6=function(){return{standalone:!0}};function zpe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-select",30),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().selectedImage=o}),e.YNc(1,qpe,2,2,"mat-option",17),e.qZA()}if(2&r){var n=e.oxw();e.Q6J("ngModelOptions",e.DdM(3,D6))("ngModel",n.selectedImage),e.xp6(1),e.Q6J("ngForOf",n.qemuImages)}}function Wpe(r,i){if(1&r&&(e.TgZ(0,"div"),e._UZ(1,"mat-progress-bar",36),e.qZA()),2&r){var t=e.oxw(2);e.xp6(1),e.Q6J("value",t.uploadProgress)}}function Gpe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"input",31,32),e.NdJ("change",function(o){return e.CHM(t),e.oxw().uploadImageFile(o)}),e.qZA(),e.TgZ(3,"button",33),e.NdJ("click",function(){return e.CHM(t),e.MAs(2).click()}),e._uU(4,"Browse"),e.qZA(),e.TgZ(5,"mat-form-field",34),e.TgZ(6,"input",35),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().chosenImage=o}),e.qZA(),e.qZA(),e.YNc(7,Wpe,2,1,"div",25),e.qZA()}if(2&r){var n=e.oxw();e.xp6(1),e.Q6J("uploader",n.uploader),e.xp6(5),e.Q6J("ngModel",n.chosenImage),e.xp6(1),e.Q6J("ngIf",n.uploadedFile)}}var Ype=function(){var r=function(){function i(t,n,a,o,s,l,d,h,C){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.qemuService=a,this.toasterService=o,this.router=s,this.formBuilder=l,this.templateMocksService=d,this.configurationService=h,this.computeService=C,this.qemuBinaries=[],this.consoleTypes=[],this.newImageSelected=!1,this.qemuImages=[],this.chosenImage="",this.uploadedFile=!1,this.uploadProgress=0,this.isGns3VmAvailable=!1,this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0,this.qemuTemplate=new A6,this.nameForm=this.formBuilder.group({templateName:new re.NI(null,re.kI.required)}),this.memoryForm=this.formBuilder.group({ramMemory:new re.NI("256",re.kI.required)}),this.diskForm=this.formBuilder.group({fileName:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.uploader=new qm({}),this.uploader.onAfterAddingFile=function(o){o.withCredentials=!1},this.uploader.onErrorItem=function(o,s,l,d){n.toasterService.error("An error occured: "+s)},this.uploader.onSuccessItem=function(o,s,l,d){n.qemuService.getImages(n.server).subscribe(function(h){n.qemuImages=h}),n.toasterService.success("Image uploaded")},this.uploader.onProgressItem=function(o){n.uploadProgress=o.progress};var a=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(a,10)).then(function(o){n.server=o,n.templateMocksService.getQemuTemplate().subscribe(function(s){n.qemuTemplate=s}),n.qemuService.getBinaries(o).subscribe(function(s){n.qemuBinaries=s,n.qemuBinaries[0]&&(n.selectedBinary=n.qemuBinaries[0])}),n.qemuService.getImages(o).subscribe(function(s){n.qemuImages=s}),n.consoleTypes=n.configurationService.getConsoleTypes(),n.computeService.getComputes(o).subscribe(function(s){s.filter(function(l){return"vm"===l.compute_id}).length>0&&(n.isGns3VmAvailable=!0)})})}},{key:"setServerType",value:function(n){"gns3 vm"===n&&this.isGns3VmAvailable?(this.isGns3VmChosen=!0,this.isLocalComputerChosen=!1):(this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0)}},{key:"setDiskImage",value:function(n){this.newImageSelected="newImage"===n}},{key:"uploadImageFile",value:function(n){this.uploadedFile=!0;var a=n.target.files[0].name;this.diskForm.controls.fileName.setValue(a);var o=this.qemuService.getImagePath(this.server,a);this.uploader.queue.forEach(function(l){return l.url=o});var s=this.uploader.queue[0];s.options&&(s.options.disableMultipart=!0),this.uploader.uploadItem(s)}},{key:"goBack",value:function(){this.router.navigate(["/server",this.server.id,"preferences","qemu","templates"])}},{key:"addTemplate",value:function(){var n=this;this.nameForm.invalid||this.memoryForm.invalid||!this.selectedImage&&!this.chosenImage?this.toasterService.error("Fill all required fields"):(this.qemuTemplate.ram=+this.memoryForm.get("ramMemory").value,this.qemuTemplate.qemu_path=this.selectedBinary.path,this.qemuTemplate.hda_disk_image=this.newImageSelected?this.diskForm.get("fileName").value:this.selectedImage.path,this.qemuTemplate.template_id=(0,Eo.v4)(),this.qemuTemplate.name=this.nameForm.get("templateName").value,this.qemuTemplate.compute_id=this.isGns3VmChosen?"vm":"local",this.qemuService.addTemplate(this.server,this.qemuTemplate).subscribe(function(a){n.goBack()}))}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(Sp),e.Y36(Yn),e.Y36(xr),e.Y36(re.qu),e.Y36(bc),e.Y36(UA),e.Y36(Cc.X))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-add-qemu-virtual-machine-template"]],decls:49,vars:19,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[1,"container","mat-elevation-z8"],[3,"linear"],["label","Server type",3,"completed"],[1,"radio-group"],["value","1","checked","",1,"radio-button",3,"click"],["value","2",1,"radio-button",3,"disabled","click"],["label","QEMU VM Name",3,"completed"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","templateName","placeholder","Please choose a descriptive name for your new QEMU virtual machine","ngDefaultContro",""],["label","QEMU binary and memory",3,"completed"],["placeholder","Qemu binary",3,"ngModel","ngModelOptions","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["matInput","","type","number","placeholder","RAM","formControlName","ramMemory","ngDefaultControl",""],["matSuffix",""],["label","Console type",3,"completed"],["placeholder","Console type",3,"ngModel","ngModelOptions","ngModelChange"],["label","Disk image"],["value","2",1,"radio-button",3,"click"],["placeholder","Disk image (hda)",3,"ngModelOptions","ngModel","ngModelChange",4,"ngIf"],[4,"ngIf"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],["placeholder","Disk image (hda)",3,"ngModelOptions","ngModel","ngModelChange"],["type","file","accept",".qcow2","ng2FileSelect","",1,"nonvisible",3,"uploader","change"],["file",""],["mat-raised-button","","color","primary",1,"file-button",3,"click"],[1,"file-name-form-field"],["matInput","","type","text","formControlName","fileName","placeholder","Please enter name",3,"ngModel","ngModelChange"],["mode","determinate","aria-valuemin","0","aria-valuemax","100",3,"value"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"New QEMU VM template"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"div",5),e.TgZ(7,"mat-vertical-stepper",6),e.TgZ(8,"mat-step",7),e.TgZ(9,"mat-radio-group",8),e.TgZ(10,"mat-radio-button",9),e.NdJ("click",function(){return n.setServerType("local")}),e._uU(11,"Run this QEMU VM locally"),e.qZA(),e.TgZ(12,"mat-radio-button",10),e.NdJ("click",function(){return n.setServerType("gns3 vm")}),e._uU(13,"Run this QEMU VM on the GNS3 VM"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(14,"mat-step",11),e.TgZ(15,"form",12),e.TgZ(16,"mat-form-field",13),e._UZ(17,"input",14),e.qZA(),e._UZ(18,"br"),e.qZA(),e.qZA(),e.TgZ(19,"mat-step",15),e.TgZ(20,"form",12),e.TgZ(21,"mat-form-field",13),e.TgZ(22,"mat-select",16),e.NdJ("ngModelChange",function(o){return n.selectedBinary=o}),e.YNc(23,Vpe,2,2,"mat-option",17),e.qZA(),e.qZA(),e._UZ(24,"br"),e.TgZ(25,"mat-form-field",13),e._UZ(26,"input",18),e.TgZ(27,"span",19),e._uU(28,"MB"),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(29,"mat-step",20),e.TgZ(30,"mat-form-field",13),e.TgZ(31,"mat-select",21),e.NdJ("ngModelChange",function(o){return n.qemuTemplate.console_type=o}),e.YNc(32,jpe,2,2,"mat-option",17),e.qZA(),e.qZA(),e.qZA(),e.TgZ(33,"mat-step",22),e.TgZ(34,"form",12),e.TgZ(35,"mat-radio-group",8),e.TgZ(36,"mat-radio-button",9),e.NdJ("click",function(){return n.setDiskImage("existingImage")}),e._uU(37,"Existing image"),e.qZA(),e.TgZ(38,"mat-radio-button",23),e.NdJ("click",function(){return n.setDiskImage("newImage")}),e._uU(39,"New image"),e.qZA(),e.qZA(),e._UZ(40,"br"),e._UZ(41,"br"),e.YNc(42,zpe,2,4,"mat-select",24),e.YNc(43,Gpe,8,3,"div",25),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(44,"div",26),e.TgZ(45,"button",27),e.NdJ("click",function(){return n.goBack()}),e._uU(46,"Cancel"),e.qZA(),e.TgZ(47,"button",28),e.NdJ("click",function(){return n.addTemplate()}),e._uU(48,"Add template"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(7),e.Q6J("linear",!0),e.xp6(1),e.Q6J("completed",n.isGns3VmChosen||n.isLocalComputerChosen),e.xp6(4),e.Q6J("disabled",!n.isGns3VmAvailable),e.xp6(2),e.Q6J("completed",n.nameForm.get("templateName").value),e.xp6(1),e.Q6J("formGroup",n.nameForm),e.xp6(4),e.Q6J("completed",n.memoryForm.get("ramMemory").value&&n.selectedBinary),e.xp6(1),e.Q6J("formGroup",n.memoryForm),e.xp6(2),e.Q6J("ngModel",n.selectedBinary)("ngModelOptions",e.DdM(17,D6)),e.xp6(1),e.Q6J("ngForOf",n.qemuBinaries),e.xp6(6),e.Q6J("completed",n.qemuTemplate.console_type),e.xp6(2),e.Q6J("ngModel",n.qemuTemplate.console_type)("ngModelOptions",e.DdM(18,D6)),e.xp6(1),e.Q6J("ngForOf",n.consoleTypes),e.xp6(2),e.Q6J("formGroup",n.diskForm),e.xp6(8),e.Q6J("ngIf",!n.newImageSelected),e.xp6(1),e.Q6J("ngIf",n.newImageSelected))},directives:[ey,$_,El,Ml,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,yi.gD,re.On,Pt.sg,re.wV,Ln.R9,Pt.O5,En,sn.ey,P1,qj],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}(),Jpe=function(){var r=function(){function i(t,n,a,o,s,l){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.qemuService=a,this.toasterService=o,this.router=s,this.formBuilder=l,this.qemuBinaries=[],this.templateName="",this.nameForm=this.formBuilder.group({templateName:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id"),o=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(a,10)).then(function(s){n.server=s,n.qemuService.getTemplate(n.server,o).subscribe(function(l){n.qemuTemplate=l,n.templateName="Copy of ".concat(n.qemuTemplate.name)})})}},{key:"goBack",value:function(){this.router.navigate(["/server",this.server.id,"preferences","qemu","templates"])}},{key:"addTemplate",value:function(){var n=this;this.nameForm.invalid?this.toasterService.error("Fill all required fields"):(this.qemuTemplate.template_id=(0,Eo.v4)(),this.qemuTemplate.name=this.templateName,this.qemuService.addTemplate(this.server,this.qemuTemplate).subscribe(function(a){n.goBack()}))}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(Sp),e.Y36(Yn),e.Y36(xr),e.Y36(re.qu))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-copy-qemu-virtual-machine-template"]],decls:15,vars:2,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[1,"matCard"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","placeholder","Name","formControlName","templateName",3,"ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Copy QEMU VM template"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"mat-card",5),e.TgZ(7,"form",6),e.TgZ(8,"mat-form-field",7),e.TgZ(9,"input",8),e.NdJ("ngModelChange",function(o){return n.templateName=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(10,"div",9),e.TgZ(11,"button",10),e.NdJ("click",function(){return n.goBack()}),e._uU(12,"Cancel"),e.qZA(),e.TgZ(13,"button",11),e.NdJ("click",function(){return n.addTemplate()}),e._uU(14,"Copy template"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(7),e.Q6J("formGroup",n.nameForm),e.xp6(2),e.Q6J("ngModel",n.templateName))},directives:[Ti,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,En],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}();function Qpe(r,i){1&r&&(e.TgZ(0,"th",10),e._uU(1,"Adapter number"),e.qZA())}function Kpe(r,i){if(1&r&&(e.TgZ(0,"td",11),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.hij("Adapter ",t.adapter_number,"")}}function Xpe(r,i){1&r&&(e.TgZ(0,"th",10),e._uU(1,"Port name"),e.qZA())}function $pe(r,i){if(1&r&&(e.TgZ(0,"td",11),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.hij("Ethernet ",t.adapter_number,"")}}function efe(r,i){1&r&&(e.TgZ(0,"th",10),e._uU(1,"Adapter type"),e.qZA())}function tfe(r,i){if(1&r&&(e.TgZ(0,"mat-option",14),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function nfe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"td",11),e.TgZ(1,"mat-select",12),e.NdJ("ngModelChange",function(s){return e.CHM(t).$implicit.adapter_type=s}),e.YNc(2,tfe,2,2,"mat-option",13),e.qZA(),e.qZA()}if(2&r){var n=i.$implicit,a=e.oxw();e.xp6(1),e.Q6J("ngModel",n.adapter_type),e.xp6(1),e.Q6J("ngForOf",a.networkTypes)}}function rfe(r,i){1&r&&(e.TgZ(0,"th",10),e._uU(1,"Actions"),e.qZA())}function ife(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"td",11),e.TgZ(1,"button",15),e.NdJ("click",function(){var o=e.CHM(t).$implicit;return e.oxw().delete(o)}),e.TgZ(2,"mat-icon",16),e._uU(3,"delete"),e.qZA(),e.qZA(),e.qZA()}}function afe(r,i){1&r&&e._UZ(0,"tr",17)}function ofe(r,i){1&r&&e._UZ(0,"tr",18)}var HA=function(){var r=function(){function i(){(0,v.Z)(this,i),this.networkTypes=[],this.displayedColumns=[],this.adapters=[]}return(0,g.Z)(i,[{key:"onAdd",value:function(){this.adapters=this.adapters.concat([{adapter_number:this.adapters.length,adapter_type:this.networkTypes[0]}])}},{key:"delete",value:function(n){this.adapters=this.adapters.filter(function(a){return a!==n})}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-custom-adapters-table"]],inputs:{networkTypes:"networkTypes",displayedColumns:"displayedColumns",adapters:"adapters"},decls:17,vars:3,consts:[["mat-table","",1,"table",3,"dataSource"],["matColumnDef","adapter_number"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","port_name"],["matColumnDef","adapter_type"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-button","",1,"form-field",3,"click"],["mat-header-cell",""],["mat-cell",""],["placeholder","Type",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["mat-icon-button","","matTooltip","Delete adapter","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Delete adapter"],["mat-header-row",""],["mat-row",""]],template:function(t,n){1&t&&(e.TgZ(0,"table",0),e.ynx(1,1),e.YNc(2,Qpe,2,0,"th",2),e.YNc(3,Kpe,2,1,"td",3),e.BQk(),e.ynx(4,4),e.YNc(5,Xpe,2,0,"th",2),e.YNc(6,$pe,2,1,"td",3),e.BQk(),e.ynx(7,5),e.YNc(8,efe,2,0,"th",2),e.YNc(9,nfe,3,2,"td",3),e.BQk(),e.ynx(10,6),e.YNc(11,rfe,2,0,"th",2),e.YNc(12,ife,4,0,"td",3),e.BQk(),e.YNc(13,afe,1,0,"tr",7),e.YNc(14,ofe,1,0,"tr",8),e.qZA(),e.TgZ(15,"button",9),e.NdJ("click",function(){return n.onAdd()}),e._uU(16,"Add"),e.qZA()),2&t&&(e.Q6J("dataSource",n.adapters),e.xp6(13),e.Q6J("matHeaderRowDef",n.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",n.displayedColumns))},directives:[nu,kl,Tl,Sl,ru,iu,En,wl,xl,yi.gD,re.JJ,re.On,Pt.sg,sn.ey,ts,er,au,ou],styles:[".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}(),sfe=["customAdapters"],O6=function(){var r=function(){function i(){(0,v.Z)(this,i),this.networkTypes=[],this.displayedColumns=[],this.closeConfiguratorEmitter=new e.vpe,this.saveConfigurationEmitter=new e.vpe}return(0,g.Z)(i,[{key:"cancelConfigureCustomAdapters",value:function(){this.closeConfiguratorEmitter.emit(!1)}},{key:"configureCustomAdapters",value:function(){var n=this;this.adapters=[],this.customAdapters.adapters.forEach(function(a){n.adapters.push({adapter_number:a.adapter_number,adapter_type:a.adapter_type})}),this.saveConfigurationEmitter.emit(this.adapters)}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-custom-adapters"]],viewQuery:function(t,n){var a;1&t&&e.Gf(sfe,5),2&t&&e.iGM(a=e.CRH())&&(n.customAdapters=a.first)},inputs:{networkTypes:"networkTypes",displayedColumns:"displayedColumns"},outputs:{closeConfiguratorEmitter:"closeConfiguratorEmitter",saveConfigurationEmitter:"saveConfigurationEmitter"},decls:15,vars:3,consts:[[1,"configurator"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[1,"container","mat-elevation-z8"],[3,"networkTypes","displayedColumns","adapters"],["customAdapters",""],[1,"buttons-bar"],["mat-button","",3,"click"],["mat-raised-button","","color","primary",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Custom adapters configuration"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"div",5),e._UZ(7,"app-custom-adapters-table",6,7),e.qZA(),e.TgZ(9,"div",8),e.TgZ(10,"button",9),e.NdJ("click",function(){return n.cancelConfigureCustomAdapters()}),e._uU(11,"Cancel"),e.qZA(),e.TgZ(12,"button",10),e.NdJ("click",function(){return n.configureCustomAdapters()}),e._uU(13,"Apply"),e.qZA(),e._UZ(14,"br"),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(7),e.Q6J("networkTypes",n.networkTypes)("displayedColumns",n.displayedColumns)("adapters",n.adapters))},directives:[HA,En],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}(),lfe=["customAdaptersConfigurator"];function ufe(r,i){if(1&r&&(e.TgZ(0,"mat-option",54),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}function cfe(r,i){if(1&r&&(e.TgZ(0,"mat-option",54),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t.path),e.xp6(1),e.hij(" ",t.path," ")}}function dfe(r,i){if(1&r&&(e.TgZ(0,"mat-option",54),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}function pfe(r,i){if(1&r&&(e.TgZ(0,"mat-option",54),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}function ffe(r,i){if(1&r&&(e.TgZ(0,"mat-option",54),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function hfe(r,i){if(1&r&&(e.TgZ(0,"mat-option",54),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function mfe(r,i){if(1&r&&(e.TgZ(0,"mat-option",54),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function vfe(r,i){if(1&r&&(e.TgZ(0,"mat-option",54),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function gfe(r,i){if(1&r&&(e.TgZ(0,"mat-option",54),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function _fe(r,i){if(1&r&&(e.TgZ(0,"mat-option",54),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t[0]),e.xp6(1),e.AsE(" ",t[1]," (",t[0],") ")}}function yfe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-form-field",10),e.TgZ(1,"input",55),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw(2).qemuTemplate.cpu_throttling=o}),e.qZA(),e.qZA()}if(2&r){var n=e.oxw(2);e.xp6(1),e.Q6J("ngModel",n.qemuTemplate.cpu_throttling)}}function bfe(r,i){if(1&r&&(e.TgZ(0,"mat-option",54),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Cfe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",8),e.TgZ(1,"mat-accordion"),e.TgZ(2,"mat-expansion-panel"),e.TgZ(3,"mat-expansion-panel-header"),e.TgZ(4,"mat-panel-title"),e._uU(5," General settings "),e.qZA(),e.qZA(),e.TgZ(6,"form",9),e.TgZ(7,"mat-form-field",10),e.TgZ(8,"input",11),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.name=o}),e.qZA(),e.qZA(),e.TgZ(9,"mat-form-field",10),e.TgZ(10,"input",12),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.default_name_format=o}),e.qZA(),e.qZA(),e.TgZ(11,"mat-form-field",10),e.TgZ(12,"input",13),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.symbol=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(13,"button",14),e.NdJ("click",function(){return e.CHM(t),e.oxw().chooseSymbol()}),e._uU(14,"Choose symbol"),e.qZA(),e._UZ(15,"br"),e._UZ(16,"br"),e.TgZ(17,"mat-form-field",10),e.TgZ(18,"mat-select",15),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.category=o}),e.YNc(19,ufe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.TgZ(20,"mat-form-field",10),e.TgZ(21,"input",17),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.ram=o}),e.qZA(),e.TgZ(22,"span",18),e._uU(23,"MB"),e.qZA(),e.qZA(),e.TgZ(24,"mat-form-field",10),e.TgZ(25,"input",19),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.cpus=o}),e.qZA(),e.qZA(),e.TgZ(26,"mat-form-field",10),e.TgZ(27,"mat-select",20),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.qemu_path=o}),e.YNc(28,cfe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.TgZ(29,"mat-form-field",10),e.TgZ(30,"mat-select",21),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.boot_priority=o}),e.YNc(31,dfe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.TgZ(32,"mat-form-field",10),e.TgZ(33,"mat-select",22),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.on_close=o}),e.YNc(34,pfe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.TgZ(35,"mat-form-field",23),e.TgZ(36,"mat-select",24),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.console_type=o}),e.YNc(37,ffe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.TgZ(38,"mat-checkbox",25),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.console_auto_start=o}),e._uU(39," Auto start console "),e.qZA(),e.qZA(),e.TgZ(40,"mat-expansion-panel"),e.TgZ(41,"mat-expansion-panel-header"),e.TgZ(42,"mat-panel-title"),e._uU(43," HDD "),e.qZA(),e.qZA(),e.TgZ(44,"mat-card"),e._UZ(45,"mat-card-title"),e.TgZ(46,"mat-card-subtitle"),e._uU(47," HDA (Primary Master) "),e.qZA(),e.TgZ(48,"mat-card-content"),e.TgZ(49,"mat-form-field",10),e.TgZ(50,"input",26),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.hda_disk_image=o}),e.qZA(),e.qZA(),e.TgZ(51,"mat-form-field",10),e.TgZ(52,"mat-select",27),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.hda_disk_interface=o}),e.YNc(53,hfe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(54,"mat-card"),e._UZ(55,"mat-card-title"),e.TgZ(56,"mat-card-subtitle"),e._uU(57," HDB (Primary Slave) "),e.qZA(),e.TgZ(58,"mat-card-content"),e.TgZ(59,"mat-form-field",10),e.TgZ(60,"input",26),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.hdb_disk_image=o}),e.qZA(),e.qZA(),e.TgZ(61,"mat-form-field",10),e.TgZ(62,"mat-select",27),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.hdb_disk_interface=o}),e.YNc(63,mfe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(64,"mat-card"),e._UZ(65,"mat-card-title"),e.TgZ(66,"mat-card-subtitle"),e._uU(67," HDC (Secondary Master) "),e.qZA(),e.TgZ(68,"mat-card-content"),e.TgZ(69,"mat-form-field",10),e.TgZ(70,"input",26),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.hdc_disk_image=o}),e.qZA(),e.qZA(),e.TgZ(71,"mat-form-field",10),e.TgZ(72,"mat-select",27),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.hdc_disk_interface=o}),e.YNc(73,vfe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(74,"mat-card"),e._UZ(75,"mat-card-title"),e.TgZ(76,"mat-card-subtitle"),e._uU(77," HDD (Secondary Slave) "),e.qZA(),e.TgZ(78,"mat-card-content"),e.TgZ(79,"mat-form-field",10),e.TgZ(80,"input",26),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.hdd_disk_image=o}),e.qZA(),e.qZA(),e.TgZ(81,"mat-form-field",10),e.TgZ(82,"mat-select",27),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.hdd_disk_interface=o}),e.YNc(83,gfe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(84,"mat-expansion-panel"),e.TgZ(85,"mat-expansion-panel-header"),e.TgZ(86,"mat-panel-title"),e._uU(87," CD/DVD "),e.qZA(),e.qZA(),e.TgZ(88,"div"),e.TgZ(89,"button",28),e.NdJ("click",function(){return e.CHM(t),e.MAs(92).click()}),e._uU(90,"Browse"),e.qZA(),e.TgZ(91,"input",29,30),e.NdJ("change",function(o){return e.CHM(t),e.oxw().uploadCdromImageFile(o)}),e.qZA(),e.TgZ(93,"mat-form-field",31),e.TgZ(94,"input",32),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.cdrom_image=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(95,"mat-expansion-panel"),e.TgZ(96,"mat-expansion-panel-header"),e.TgZ(97,"mat-panel-title"),e._uU(98," Network "),e.qZA(),e.qZA(),e.TgZ(99,"mat-form-field",10),e.TgZ(100,"input",33),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.adapters=o}),e.qZA(),e.qZA(),e.TgZ(101,"mat-form-field",10),e.TgZ(102,"input",34),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.first_port_name=o}),e.qZA(),e.qZA(),e.TgZ(103,"mat-form-field",10),e.TgZ(104,"input",35),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.port_name_format=o}),e.qZA(),e.qZA(),e.TgZ(105,"mat-form-field",10),e.TgZ(106,"input",36),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.port_segment_size=o}),e.qZA(),e.qZA(),e.TgZ(107,"mat-form-field",10),e.TgZ(108,"input",37),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.mac_address=o}),e.qZA(),e.qZA(),e.TgZ(109,"mat-form-field",10),e.TgZ(110,"mat-select",38),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.adapter_type=o}),e.YNc(111,_fe,2,3,"mat-option",16),e.qZA(),e.qZA(),e.TgZ(112,"button",39),e.NdJ("click",function(){return e.CHM(t),e.oxw().setCustomAdaptersConfiguratorState(!0)}),e._uU(113," Configure custom adapters"),e.qZA(),e._UZ(114,"br"),e.TgZ(115,"mat-checkbox",25),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.legacy_networking=o}),e._uU(116," Use the legacy networking mode "),e.qZA(),e.qZA(),e.TgZ(117,"mat-expansion-panel"),e.TgZ(118,"mat-expansion-panel-header"),e.TgZ(119,"mat-panel-title"),e._uU(120," Advanced "),e.qZA(),e.qZA(),e.TgZ(121,"mat-card"),e._UZ(122,"mat-card-title"),e.TgZ(123,"mat-card-subtitle"),e._uU(124," Linux boot specific settings "),e.qZA(),e.TgZ(125,"mat-card-content"),e.TgZ(126,"div"),e.TgZ(127,"button",28),e.NdJ("click",function(){return e.CHM(t),e.MAs(130).click()}),e._uU(128,"Browse"),e.qZA(),e.TgZ(129,"input",29,40),e.NdJ("change",function(o){return e.CHM(t),e.oxw().uploadInitrdFile(o)}),e.qZA(),e.TgZ(131,"mat-form-field",31),e.TgZ(132,"input",41),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.initrd=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(133,"div"),e.TgZ(134,"button",28),e.NdJ("click",function(){return e.CHM(t),e.oxw().filekerenelimage.click()}),e._uU(135," Browse "),e.qZA(),e.TgZ(136,"input",29,42),e.NdJ("change",function(o){return e.CHM(t),e.oxw().uploadKernelImageFile(o)}),e.qZA(),e.TgZ(138,"mat-form-field",31),e.TgZ(139,"input",43),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.kernel_image=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(140,"mat-form-field",10),e.TgZ(141,"input",44),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.kernel_command_line=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(142,"mat-card"),e._UZ(143,"mat-card-title"),e.TgZ(144,"mat-card-subtitle"),e._uU(145," Bios "),e.qZA(),e.TgZ(146,"mat-card-content"),e.TgZ(147,"div"),e.TgZ(148,"button",28),e.NdJ("click",function(){return e.CHM(t),e.MAs(151).click()}),e._uU(149,"Browse"),e.qZA(),e.TgZ(150,"input",29,45),e.NdJ("change",function(o){return e.CHM(t),e.oxw().uploadBiosFile(o)}),e.qZA(),e.TgZ(152,"mat-form-field",31),e.TgZ(153,"input",46),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.bios_image=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(154,"mat-card"),e._UZ(155,"mat-card-title"),e.TgZ(156,"mat-card-subtitle"),e._uU(157," Optimization "),e.qZA(),e.TgZ(158,"mat-card-content"),e.TgZ(159,"mat-checkbox",25),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().activateCpuThrottling=o}),e._uU(160," Activate CPU throttling "),e.qZA(),e.YNc(161,yfe,2,1,"mat-form-field",47),e.TgZ(162,"mat-form-field",10),e.TgZ(163,"mat-select",48),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.process_priority=o}),e.YNc(164,bfe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(165,"mat-card"),e._UZ(166,"mat-card-title"),e.TgZ(167,"mat-card-subtitle"),e._uU(168," Additional settings "),e.qZA(),e.TgZ(169,"mat-card-content"),e.TgZ(170,"mat-form-field",10),e.TgZ(171,"input",49),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.options=o}),e.qZA(),e.qZA(),e.TgZ(172,"mat-checkbox",25),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.linked_clone=o}),e._uU(173," Use as a linked base VM "),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(174,"mat-expansion-panel"),e.TgZ(175,"mat-expansion-panel-header"),e.TgZ(176,"mat-panel-title"),e._uU(177," Usage "),e.qZA(),e.qZA(),e.TgZ(178,"mat-form-field",10),e.TgZ(179,"textarea",50),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuTemplate.usage=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(180,"div",51),e.TgZ(181,"button",52),e.NdJ("click",function(){return e.CHM(t),e.oxw().goBack()}),e._uU(182,"Cancel"),e.qZA(),e.TgZ(183,"button",53),e.NdJ("click",function(){return e.CHM(t),e.oxw().onSave()}),e._uU(184,"Save"),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(6),e.Q6J("formGroup",n.generalSettingsForm),e.xp6(2),e.Q6J("ngModel",n.qemuTemplate.name),e.xp6(2),e.Q6J("ngModel",n.qemuTemplate.default_name_format),e.xp6(2),e.Q6J("ngModel",n.qemuTemplate.symbol),e.xp6(6),e.Q6J("ngModel",n.qemuTemplate.category),e.xp6(1),e.Q6J("ngForOf",n.categories),e.xp6(2),e.Q6J("ngModel",n.qemuTemplate.ram),e.xp6(4),e.Q6J("ngModel",n.qemuTemplate.cpus),e.xp6(2),e.Q6J("ngModel",n.qemuTemplate.qemu_path),e.xp6(1),e.Q6J("ngForOf",n.binaries),e.xp6(2),e.Q6J("ngModel",n.qemuTemplate.boot_priority),e.xp6(1),e.Q6J("ngForOf",n.bootPriorities),e.xp6(2),e.Q6J("ngModel",n.qemuTemplate.on_close),e.xp6(1),e.Q6J("ngForOf",n.onCloseOptions),e.xp6(2),e.Q6J("ngModel",n.qemuTemplate.console_type),e.xp6(1),e.Q6J("ngForOf",n.consoleTypes),e.xp6(1),e.Q6J("ngModel",n.qemuTemplate.console_auto_start),e.xp6(12),e.Q6J("ngModel",n.qemuTemplate.hda_disk_image),e.xp6(2),e.Q6J("ngModel",n.qemuTemplate.hda_disk_interface),e.xp6(1),e.Q6J("ngForOf",n.diskInterfaces),e.xp6(7),e.Q6J("ngModel",n.qemuTemplate.hdb_disk_image),e.xp6(2),e.Q6J("ngModel",n.qemuTemplate.hdb_disk_interface),e.xp6(1),e.Q6J("ngForOf",n.diskInterfaces),e.xp6(7),e.Q6J("ngModel",n.qemuTemplate.hdc_disk_image),e.xp6(2),e.Q6J("ngModel",n.qemuTemplate.hdc_disk_interface),e.xp6(1),e.Q6J("ngForOf",n.diskInterfaces),e.xp6(7),e.Q6J("ngModel",n.qemuTemplate.hdd_disk_image),e.xp6(2),e.Q6J("ngModel",n.qemuTemplate.hdd_disk_interface),e.xp6(1),e.Q6J("ngForOf",n.diskInterfaces),e.xp6(11),e.Q6J("ngModel",n.qemuTemplate.cdrom_image),e.xp6(6),e.Q6J("ngModel",n.qemuTemplate.adapters),e.xp6(2),e.Q6J("ngModel",n.qemuTemplate.first_port_name),e.xp6(2),e.Q6J("ngModel",n.qemuTemplate.port_name_format),e.xp6(2),e.Q6J("ngModel",n.qemuTemplate.port_segment_size),e.xp6(2),e.Q6J("ngModel",n.qemuTemplate.mac_address),e.xp6(2),e.Q6J("ngModel",n.qemuTemplate.adapter_type),e.xp6(1),e.Q6J("ngForOf",n.networkTypes),e.xp6(4),e.Q6J("ngModel",n.qemuTemplate.legacy_networking),e.xp6(17),e.Q6J("ngModel",n.qemuTemplate.initrd),e.xp6(7),e.Q6J("ngModel",n.qemuTemplate.kernel_image),e.xp6(2),e.Q6J("ngModel",n.qemuTemplate.kernel_command_line),e.xp6(12),e.Q6J("ngModel",n.qemuTemplate.bios_image),e.xp6(6),e.Q6J("ngModel",n.activateCpuThrottling),e.xp6(2),e.Q6J("ngIf",n.activateCpuThrottling),e.xp6(2),e.Q6J("ngModel",n.qemuTemplate.process_priority),e.xp6(1),e.Q6J("ngForOf",n.priorities),e.xp6(7),e.Q6J("ngModel",n.qemuTemplate.options),e.xp6(1),e.Q6J("ngModel",n.qemuTemplate.linked_clone),e.xp6(7),e.Q6J("ngModel",n.qemuTemplate.usage)}}function Sfe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"app-symbols-menu",56),e.NdJ("symbolChangedEmitter",function(o){return e.CHM(t),e.oxw().symbolChanged(o)}),e.qZA()}if(2&r){var n=e.oxw();e.Q6J("server",n.server)("symbol",n.qemuTemplate.symbol)}}var Tfe=function(i){return{shadowed:i}},kfe=function(){var r=function(){function i(t,n,a,o,s,l,d){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.qemuService=a,this.toasterService=o,this.configurationService=s,this.formBuilder=l,this.router=d,this.isSymbolSelectionOpened=!1,this.consoleTypes=[],this.diskInterfaces=[],this.networkTypes=[],this.bootPriorities=[],this.onCloseOptions=[],this.categories=[],this.priorities=[],this.binaries=[],this.activateCpuThrottling=!0,this.isConfiguratorOpened=!1,this.displayedColumns=["adapter_number","port_name","adapter_type","actions"],this.generalSettingsForm=this.formBuilder.group({templateName:new re.NI("",re.kI.required),defaultName:new re.NI("",re.kI.required),symbol:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id"),o=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(a,10)).then(function(s){n.server=s,n.getConfiguration(),n.qemuService.getTemplate(n.server,o).subscribe(function(l){n.qemuTemplate=l,n.fillCustomAdapters(),n.qemuService.getBinaries(s).subscribe(function(d){n.binaries=d})})})}},{key:"getConfiguration",value:function(){this.consoleTypes=this.configurationService.getConsoleTypes(),this.diskInterfaces=this.configurationService.getDiskInterfaces(),this.networkTypes=this.configurationService.getNetworkTypes(),this.bootPriorities=this.configurationService.getBootPriorities(),this.onCloseOptions=this.configurationService.getOnCloseOptions(),this.categories=this.configurationService.getCategories(),this.priorities=this.configurationService.getPriorities()}},{key:"uploadCdromImageFile",value:function(n){this.qemuTemplate.cdrom_image=n.target.files[0].name}},{key:"uploadInitrdFile",value:function(n){this.qemuTemplate.initrd=n.target.files[0].name}},{key:"uploadKernelImageFile",value:function(n){this.qemuTemplate.kernel_image=n.target.files[0].name}},{key:"uploadBiosFile",value:function(n){this.qemuTemplate.bios_image=n.target.files[0].name}},{key:"setCustomAdaptersConfiguratorState",value:function(n){var a=this;this.isConfiguratorOpened=n,n&&(this.fillCustomAdapters(),this.customAdaptersConfigurator.numberOfAdapters=this.qemuTemplate.adapters,this.customAdaptersConfigurator.adapters=[],this.qemuTemplate.custom_adapters.forEach(function(o){a.customAdaptersConfigurator.adapters.push({adapter_number:o.adapter_number,adapter_type:o.adapter_type})}))}},{key:"saveCustomAdapters",value:function(n){this.setCustomAdaptersConfiguratorState(!1),this.qemuTemplate.custom_adapters=n}},{key:"fillCustomAdapters",value:function(){var n=this.qemuTemplate.custom_adapters?this.qemuTemplate.custom_adapters:[];this.qemuTemplate.custom_adapters=[];for(var a=0;a<this.qemuTemplate.adapters;a++)this.qemuTemplate.custom_adapters.push(n[a]?n[a]:{adapter_number:a,adapter_type:"e1000"})}},{key:"goBack",value:function(){this.router.navigate(["/server",this.server.id,"preferences","qemu","templates"])}},{key:"onSave",value:function(){var n=this;this.generalSettingsForm.invalid?this.toasterService.error("Fill all required fields"):(this.activateCpuThrottling||(this.qemuTemplate.cpu_throttling=0),this.fillCustomAdapters(),this.qemuService.saveTemplate(this.server,this.qemuTemplate).subscribe(function(a){n.toasterService.success("Changes saved")}))}},{key:"chooseSymbol",value:function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened}},{key:"symbolChanged",value:function(n){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.qemuTemplate.symbol=n}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(Sp),e.Y36(Yn),e.Y36(UA),e.Y36(re.qu),e.Y36(xr))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-qemu-virtual-machine-template-details"]],viewQuery:function(t,n){var a;1&t&&e.Gf(lfe,5),2&t&&e.iGM(a=e.CRH())&&(n.customAdaptersConfigurator=a.first)},decls:9,vars:8,consts:[[1,"content",3,"ngClass"],[1,"default-header"],[1,"row"],[1,"col"],["class","default-content",4,"ngIf"],[3,"hidden","networkTypes","displayedColumns","closeConfiguratorEmitter","saveConfigurationEmitter"],["customAdaptersConfigurator",""],[3,"server","symbol","symbolChangedEmitter",4,"ngIf"],[1,"default-content"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","templateName","placeholder","Template name",3,"ngModel","ngModelChange"],["matInput","","type","text","formControlName","defaultName","placeholder","Default name format",3,"ngModel","ngModelChange"],["matInput","","type","text","formControlName","symbol","placeholder","Symbol",3,"ngModel","ngModelChange"],["mat-button","",1,"symbolSelectionButton",3,"click"],["placeholder","Category",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["matInput","","type","number","placeholder","RAM",3,"ngModel","ngModelChange"],["matSuffix",""],["matInput","","type","number","placeholder","vCPUs",3,"ngModel","ngModelChange"],["placeholder","Qemu binary",3,"ngModel","ngModelChange"],["placeholder","Boot priority",3,"ngModel","ngModelChange"],["placeholder","On close",3,"ngModel","ngModelChange"],[1,"select"],["placeholder","Console type",3,"ngModel","ngModelChange"],[3,"ngModel","ngModelChange"],["matInput","","placeholder","Disk image",3,"ngModel","ngModelChange"],["placeholder","Disk interface",3,"ngModel","ngModelChange"],["mat-raised-button","","color","primary",1,"file-button",3,"click"],["type","file",1,"nonvisible",3,"change"],["filecdrom",""],[1,"file-name-form-field"],["matInput","","type","text","placeholder","Image",3,"ngModel","ngModelChange"],["matInput","","type","number","placeholder","Adapters",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","First port name",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Name format",3,"ngModel","ngModelChange"],["matInput","","type","number","placeholder","Segment size",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Base MAC",3,"ngModel","ngModelChange"],["placeholder","Type",3,"ngModel","ngModelChange"],["mat-button","",1,"configButton",3,"click"],["fileinitrd",""],["matInput","","type","text","placeholder","Initial RAM disk (initrd)",3,"ngModel","ngModelChange"],["filekernelimage",""],["matInput","","type","text","placeholder","Kernel image",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Kernel command line",3,"ngModel","ngModelChange"],["filebios",""],["matInput","","type","text","placeholder","Bios image",3,"ngModel","ngModelChange"],["class","form-field",4,"ngIf"],["placeholder","Process priority",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Options",3,"ngModel","ngModelChange"],["matInput","","type","text",3,"ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],["matInput","","type","number","placeholder","Perecentage of CPU allowed",3,"ngModel","ngModelChange"],[3,"server","symbol","symbolChangedEmitter"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"QEMU VM configuration"),e.qZA(),e.qZA(),e.qZA(),e.YNc(5,Cfe,185,49,"div",4),e.qZA(),e.TgZ(6,"app-custom-adapters",5,6),e.NdJ("closeConfiguratorEmitter",function(o){return n.setCustomAdaptersConfiguratorState(o)})("saveConfigurationEmitter",function(o){return n.saveCustomAdapters(o)}),e.qZA(),e.YNc(8,Sfe,1,2,"app-symbols-menu",7)),2&t&&(e.Q6J("ngClass",e.VKq(6,Tfe,n.isConfiguratorOpened||n.isSymbolSelectionOpened)),e.xp6(5),e.Q6J("ngIf",n.qemuTemplate),e.xp6(1),e.Q6J("hidden",!(n.isConfiguratorOpened&&n.qemuTemplate))("networkTypes",n.networkTypes)("displayedColumns",n.displayedColumns),e.xp6(2),e.Q6J("ngIf",n.isSymbolSelectionOpened&&n.qemuTemplate))},directives:[Pt.mk,Pt.O5,O6,dd,_c,yc,cd,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,En,yi.gD,re.On,Pt.sg,re.wV,Ln.R9,La,Ti,qV,zV,g6,sn.ey,fd],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}();function wfe(r,i){if(1&r&&(e.TgZ(0,"button",10),e._uU(1," Back "),e.qZA()),2&r){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences")}}function xfe(r,i){if(1&r&&(e.TgZ(0,"button",11),e._uU(1," Add QEMU VM template "),e.qZA()),2&r){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences/qemu/addtemplate")}}function Efe(r,i){1&r&&e._UZ(0,"app-empty-templates-list")}function Mfe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",15),e.TgZ(1,"mat-list-item",16),e._uU(2),e.qZA(),e.TgZ(3,"button",17),e.TgZ(4,"mat-icon"),e._uU(5,"more_vert"),e.qZA(),e.qZA(),e.TgZ(6,"mat-menu",null,18),e.TgZ(8,"button",19),e.NdJ("click",function(){var l=e.CHM(t).$implicit;return e.oxw(3).deleteTemplate(l)}),e.TgZ(9,"mat-icon"),e._uU(10,"delete"),e.qZA(),e.TgZ(11,"span"),e._uU(12,"Delete"),e.qZA(),e.qZA(),e.TgZ(13,"button",19),e.NdJ("click",function(){var l=e.CHM(t).$implicit;return e.oxw(3).copyTemplate(l)}),e.TgZ(14,"mat-icon"),e._uU(15,"content_copy"),e.qZA(),e.TgZ(16,"span"),e._uU(17,"Copy"),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=i.$implicit,a=e.MAs(7);e.xp6(1),e.s9C("routerLink",n.template_id),e.xp6(1),e.Oqu(n.name),e.xp6(1),e.Q6J("matMenuTriggerFor",a)}}function Afe(r,i){if(1&r&&(e.TgZ(0,"mat-nav-list"),e.YNc(1,Mfe,18,3,"div",14),e.qZA()),2&r){var t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.qemuTemplates)}}function Dfe(r,i){if(1&r&&(e.TgZ(0,"div",12),e.TgZ(1,"div",13),e.YNc(2,Afe,2,1,"mat-nav-list",6),e.qZA(),e.qZA()),2&r){var t=e.oxw();e.xp6(2),e.Q6J("ngIf",t.server)}}var Ofe=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.qemuService=a,this.router=o,this.qemuTemplates=[]}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(a,10)).then(function(o){n.server=o,n.getTemplates()})}},{key:"getTemplates",value:function(){var n=this;this.qemuService.getTemplates(this.server).subscribe(function(a){n.qemuTemplates=a.filter(function(o){return"qemu"===o.template_type&&!o.builtin})})}},{key:"deleteTemplate",value:function(n){this.deleteComponent.deleteItem(n.name,n.template_id)}},{key:"onDeleteEvent",value:function(){this.getTemplates()}},{key:"copyTemplate",value:function(n){this.router.navigate(["/server",this.server.id,"preferences","qemu","templates",n.template_id,"copy"])}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(Sp),e.Y36(xr))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-qemu-virtual-machines-templates"]],viewQuery:function(t,n){var a;1&t&&e.Gf(Mo,5),2&t&&e.iGM(a=e.CRH())&&(n.deleteComponent=a.first)},decls:11,vars:5,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],["class","top-button","class","cancel-button","mat-button","",3,"routerLink",4,"ngIf"],["class","top-button","mat-raised-button","","color","primary",3,"routerLink",4,"ngIf"],[4,"ngIf"],["class","default-content",4,"ngIf"],[3,"server","deleteEvent"],["deleteComponent",""],["mat-button","",1,"cancel-button",3,"routerLink"],["mat-raised-button","","color","primary",1,"top-button",3,"routerLink"],[1,"default-content"],[1,"listcontainer","mat-elevation-z8"],["class","list-item",4,"ngFor","ngForOf"],[1,"list-item"],[1,"template-name",3,"routerLink"],["mat-button","",1,"menu-button",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"QEMU VM templates"),e.qZA(),e.YNc(5,wfe,2,1,"button",4),e.YNc(6,xfe,2,1,"button",5),e.qZA(),e.qZA(),e.YNc(7,Efe,1,0,"app-empty-templates-list",6),e.YNc(8,Dfe,3,1,"div",7),e.qZA(),e.TgZ(9,"app-delete-template",8,9),e.NdJ("deleteEvent",function(){return n.onDeleteEvent()}),e.qZA()),2&t&&(e.xp6(5),e.Q6J("ngIf",n.server),e.xp6(1),e.Q6J("ngIf",n.server),e.xp6(1),e.Q6J("ngIf",!n.qemuTemplates.length),e.xp6(1),e.Q6J("ngIf",n.qemuTemplates.length),e.xp6(1),e.Q6J("server",n.server))},directives:[Pt.O5,Mo,En,go,md,Iu,Pt.sg,Zs,ns,er,Ls,Zr],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}(),VA=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.httpServer=t}return(0,g.Z)(i,[{key:"getTemplates",value:function(n){return this.httpServer.get(n,"/templates")}},{key:"getTemplate",value:function(n,a){return this.httpServer.get(n,"/templates/".concat(a))}},{key:"addTemplate",value:function(n,a){return this.httpServer.post(n,"/templates",a)}},{key:"saveTemplate",value:function(n,a){return this.httpServer.put(n,"/templates/".concat(a.template_id),a)}},{key:"getVirtualMachines",value:function(n){return this.httpServer.get(n,"/compute/virtualbox/vms")}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(Ja.wh))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}();function Pfe(r,i){if(1&r&&(e.TgZ(0,"mat-option",15),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t.vmname," ")}}function Ife(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",5),e.TgZ(1,"mat-card",6),e.TgZ(2,"form",7),e.TgZ(3,"mat-form-field",8),e.TgZ(4,"mat-select",9),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().selectedVM=o}),e.YNc(5,Pfe,2,2,"mat-option",10),e.qZA(),e.qZA(),e.qZA(),e.TgZ(6,"mat-checkbox",11),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().virtualBoxTemplate.linked_clone=o}),e._uU(7," Use as a linked base VM (experimental) "),e.qZA(),e.qZA(),e.TgZ(8,"div",12),e.TgZ(9,"button",13),e.NdJ("click",function(){return e.CHM(t),e.oxw().goBack()}),e._uU(10,"Cancel"),e.qZA(),e.TgZ(11,"button",14),e.NdJ("click",function(){return e.CHM(t),e.oxw().addTemplate()}),e._uU(12,"Add template"),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(2),e.Q6J("formGroup",n.vmForm),e.xp6(2),e.Q6J("ngModel",n.selectedVM),e.xp6(1),e.Q6J("ngForOf",n.virtualMachines),e.xp6(1),e.Q6J("ngModel",n.virtualBoxTemplate.linked_clone)}}var Rfe=function(){var r=function(){function i(t,n,a,o,s,l,d){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.virtualBoxService=a,this.toasterService=o,this.templateMocksService=s,this.router=l,this.formBuilder=d,this.vmForm=this.formBuilder.group({vm:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(a,10)).then(function(o){n.server=o,n.virtualBoxService.getVirtualMachines(n.server).subscribe(function(s){n.virtualMachines=s,n.templateMocksService.getVirtualBoxTemplate().subscribe(function(l){n.virtualBoxTemplate=l})})})}},{key:"goBack",value:function(){this.router.navigate(["/server",this.server.id,"preferences","virtualbox","templates"])}},{key:"addTemplate",value:function(){var n=this;this.vmForm.invalid?this.toasterService.error("Fill all required fields"):(this.virtualBoxTemplate.name=this.selectedVM.vmname,this.virtualBoxTemplate.vmname=this.selectedVM.vmname,this.virtualBoxTemplate.ram=this.selectedVM.ram,this.virtualBoxTemplate.template_id=(0,Eo.v4)(),this.virtualBoxService.addTemplate(this.server,this.virtualBoxTemplate).subscribe(function(){n.goBack()}))}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(VA),e.Y36(Yn),e.Y36(bc),e.Y36(xr),e.Y36(re.qu))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-add-virtual-box-template"]],decls:6,vars:1,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],["class","default-content",4,"ngIf"],[1,"default-content"],[1,"matCard"],[3,"formGroup"],[1,"form-field"],["placeholder","VM list","formControlName","vm",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"New VirtualBox VM template"),e.qZA(),e.qZA(),e.qZA(),e.YNc(5,Ife,13,4,"div",4),e.qZA()),2&t&&(e.xp6(5),e.Q6J("ngIf",n.virtualBoxTemplate))},directives:[Pt.O5,Ti,re._Y,re.JL,re.sg,Ln.KE,yi.gD,re.JJ,re.u,Pt.sg,La,re.On,En,sn.ey],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}(),P6=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"getConsoleTypes",value:function(){return["telnet","none"]}},{key:"getOnCloseoptions",value:function(){return[["Power off the VM","power_off"],["Send the shutdown signal (ACPI)","shutdown_signal"],["Save the VM state","save_vm_state"]]}},{key:"getCategories",value:function(){return[["Default","guest"],["Routers","router"],["Switches","switch"],["End devices","guest"],["Security devices","firewall"]]}},{key:"getNetworkTypes",value:function(){return["PCnet-PCI II (Am79C970A)","PCNet-FAST III (Am79C973)","Intel PRO/1000 MT Desktop (82540EM)","Intel PRO/1000 T Server (82543GC)","Intel PRO/1000 MT Server (82545EM)","Paravirtualized Network (virtio-net)"]}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Nfe=["customAdaptersConfigurator"];function Zfe(r,i){if(1&r&&(e.TgZ(0,"mat-option",34),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}function Lfe(r,i){if(1&r&&(e.TgZ(0,"mat-option",34),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Ffe(r,i){if(1&r&&(e.TgZ(0,"mat-option",34),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}function Bfe(r,i){if(1&r&&(e.TgZ(0,"mat-option",34),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}var ty=function(){return{standalone:!0}};function Ufe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",8),e.TgZ(1,"mat-accordion"),e.TgZ(2,"mat-expansion-panel"),e.TgZ(3,"mat-expansion-panel-header"),e.TgZ(4,"mat-panel-title"),e._uU(5," General settings "),e.qZA(),e.qZA(),e.TgZ(6,"form",9),e.TgZ(7,"mat-form-field",10),e.TgZ(8,"input",11),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().virtualBoxTemplate.name=o}),e.qZA(),e.qZA(),e.TgZ(9,"mat-form-field",10),e.TgZ(10,"input",12),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().virtualBoxTemplate.default_name_format=o}),e.qZA(),e.qZA(),e.TgZ(11,"mat-form-field",10),e.TgZ(12,"input",13),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().virtualBoxTemplate.symbol=o}),e.qZA(),e.qZA(),e.TgZ(13,"button",14),e.NdJ("click",function(){return e.CHM(t),e.oxw().chooseSymbol()}),e._uU(14,"Choose symbol"),e.qZA(),e._UZ(15,"br"),e._UZ(16,"br"),e.TgZ(17,"mat-form-field",10),e.TgZ(18,"mat-select",15),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().virtualBoxTemplate.category=o}),e.YNc(19,Zfe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.TgZ(20,"mat-form-field",17),e.TgZ(21,"mat-select",18),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().virtualBoxTemplate.console_type=o}),e.YNc(22,Lfe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.TgZ(23,"mat-checkbox",19),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().virtualBoxTemplate.console_auto_start=o}),e._uU(24," Auto start console "),e.qZA(),e.TgZ(25,"mat-form-field",10),e.TgZ(26,"input",20),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().virtualBoxTemplate.ram=o}),e.qZA(),e.TgZ(27,"span",21),e._uU(28,"MB"),e.qZA(),e.qZA(),e.TgZ(29,"mat-form-field",10),e.TgZ(30,"mat-select",22),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().virtualBoxTemplate.on_close=o}),e.YNc(31,Ffe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.qZA(),e.TgZ(32,"mat-checkbox",23),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().virtualBoxTemplate.headless=o}),e._uU(33," Start VM in headless mode "),e.qZA(),e._UZ(34,"br"),e.TgZ(35,"mat-checkbox",23),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().virtualBoxTemplate.linked_clone=o}),e._uU(36," Use as a linked base VM (experimental) "),e.qZA(),e.qZA(),e.TgZ(37,"mat-expansion-panel"),e.TgZ(38,"mat-expansion-panel-header"),e.TgZ(39,"mat-panel-title"),e._uU(40," Network "),e.qZA(),e.qZA(),e.TgZ(41,"form",9),e.TgZ(42,"mat-form-field",10),e.TgZ(43,"input",24),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().virtualBoxTemplate.adapters=o}),e.qZA(),e.qZA(),e.TgZ(44,"mat-form-field",10),e.TgZ(45,"input",25),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().virtualBoxTemplate.first_port_name=o}),e.qZA(),e.qZA(),e.TgZ(46,"mat-form-field",10),e.TgZ(47,"input",26),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().virtualBoxTemplate.port_name_format=o}),e.qZA(),e.qZA(),e.TgZ(48,"mat-form-field",10),e.TgZ(49,"input",27),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().virtualBoxTemplate.port_segment_size=o}),e.qZA(),e.qZA(),e.TgZ(50,"mat-form-field",10),e.TgZ(51,"mat-select",28),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().virtualBoxTemplate.adapter_type=o}),e.YNc(52,Bfe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.qZA(),e.TgZ(53,"button",29),e.NdJ("click",function(){return e.CHM(t),e.oxw().setCustomAdaptersConfiguratorState(!0)}),e._uU(54," Configure custom adapters"),e.qZA(),e._UZ(55,"br"),e.TgZ(56,"mat-checkbox",23),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().virtualBoxTemplate.use_any_adapter=o}),e._uU(57," Allow GNS3 to use any configured VirtualBox adapter "),e.qZA(),e.qZA(),e.TgZ(58,"mat-expansion-panel"),e.TgZ(59,"mat-expansion-panel-header"),e.TgZ(60,"mat-panel-title"),e._uU(61," Usage "),e.qZA(),e.qZA(),e.TgZ(62,"mat-form-field",10),e.TgZ(63,"textarea",30),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().virtualBoxTemplate.usage=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(64,"div",31),e.TgZ(65,"button",32),e.NdJ("click",function(){return e.CHM(t),e.oxw().goBack()}),e._uU(66,"Cancel"),e.qZA(),e.TgZ(67,"button",33),e.NdJ("click",function(){return e.CHM(t),e.oxw().onSave()}),e._uU(68,"Save"),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(6),e.Q6J("formGroup",n.generalSettingsForm),e.xp6(2),e.Q6J("ngModel",n.virtualBoxTemplate.name),e.xp6(2),e.Q6J("ngModel",n.virtualBoxTemplate.default_name_format),e.xp6(2),e.Q6J("ngModel",n.virtualBoxTemplate.symbol),e.xp6(6),e.Q6J("ngModelOptions",e.DdM(29,ty))("ngModel",n.virtualBoxTemplate.category),e.xp6(1),e.Q6J("ngForOf",n.categories),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(30,ty))("ngModel",n.virtualBoxTemplate.console_type),e.xp6(1),e.Q6J("ngForOf",n.consoleTypes),e.xp6(1),e.Q6J("ngModelOptions",e.DdM(31,ty))("ngModel",n.virtualBoxTemplate.console_auto_start),e.xp6(3),e.Q6J("ngModel",n.virtualBoxTemplate.ram),e.xp6(4),e.Q6J("ngModelOptions",e.DdM(32,ty))("ngModel",n.virtualBoxTemplate.on_close),e.xp6(1),e.Q6J("ngForOf",n.onCloseOptions),e.xp6(1),e.Q6J("ngModel",n.virtualBoxTemplate.headless),e.xp6(3),e.Q6J("ngModel",n.virtualBoxTemplate.linked_clone),e.xp6(6),e.Q6J("formGroup",n.networkForm),e.xp6(2),e.Q6J("ngModel",n.virtualBoxTemplate.adapters),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(33,ty))("ngModel",n.virtualBoxTemplate.first_port_name),e.xp6(2),e.Q6J("ngModel",n.virtualBoxTemplate.port_name_format),e.xp6(2),e.Q6J("ngModel",n.virtualBoxTemplate.port_segment_size),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(34,ty))("ngModel",n.virtualBoxTemplate.adapter_type),e.xp6(1),e.Q6J("ngForOf",n.networkTypes),e.xp6(4),e.Q6J("ngModel",n.virtualBoxTemplate.use_any_adapter),e.xp6(7),e.Q6J("ngModel",n.virtualBoxTemplate.usage)}}function Hfe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"app-symbols-menu",35),e.NdJ("symbolChangedEmitter",function(o){return e.CHM(t),e.oxw().symbolChanged(o)}),e.qZA()}if(2&r){var n=e.oxw();e.Q6J("server",n.server)("symbol",n.virtualBoxTemplate.symbol)}}var Vfe=function(i){return{shadowed:i}},jfe=function(){var r=function(){function i(t,n,a,o,s,l,d){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.virtualBoxService=a,this.toasterService=o,this.formBuilder=s,this.virtualBoxConfigurationService=l,this.router=d,this.isSymbolSelectionOpened=!1,this.consoleTypes=[],this.onCloseOptions=[],this.categories=[],this.networkTypes=[],this.displayedColumns=["adapter_number","port_name","adapter_type","actions"],this.isConfiguratorOpened=!1,this.generalSettingsForm=this.formBuilder.group({templateName:new re.NI("",re.kI.required),defaultName:new re.NI("",re.kI.required),symbol:new re.NI("",re.kI.required),ram:new re.NI("",re.kI.required)}),this.networkForm=this.formBuilder.group({adapters:new re.NI("",re.kI.required),nameFormat:new re.NI("",re.kI.required),size:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id"),o=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(a,10)).then(function(s){n.server=s,n.getConfiguration(),n.virtualBoxService.getTemplate(n.server,o).subscribe(function(l){n.virtualBoxTemplate=l,n.fillCustomAdapters()})})}},{key:"getConfiguration",value:function(){this.consoleTypes=this.virtualBoxConfigurationService.getConsoleTypes(),this.onCloseOptions=this.virtualBoxConfigurationService.getOnCloseoptions(),this.categories=this.virtualBoxConfigurationService.getCategories(),this.networkTypes=this.virtualBoxConfigurationService.getNetworkTypes()}},{key:"setCustomAdaptersConfiguratorState",value:function(n){var a=this;this.isConfiguratorOpened=n,n&&(this.fillCustomAdapters(),this.customAdaptersConfigurator.numberOfAdapters=this.virtualBoxTemplate.adapters,this.customAdaptersConfigurator.adapters=[],this.virtualBoxTemplate.custom_adapters.forEach(function(o){a.customAdaptersConfigurator.adapters.push({adapter_number:o.adapter_number,adapter_type:o.adapter_type})}))}},{key:"saveCustomAdapters",value:function(n){this.setCustomAdaptersConfiguratorState(!1),this.virtualBoxTemplate.custom_adapters=n}},{key:"fillCustomAdapters",value:function(){var n=this.virtualBoxTemplate.custom_adapters?this.virtualBoxTemplate.custom_adapters:[];this.virtualBoxTemplate.custom_adapters=[];for(var a=0;a<this.virtualBoxTemplate.adapters;a++)this.virtualBoxTemplate.custom_adapters.push(n[a]?n[a]:{adapter_number:a,adapter_type:"e1000"})}},{key:"goBack",value:function(){this.router.navigate(["/server",this.server.id,"preferences","virtualbox","templates"])}},{key:"onSave",value:function(){var n=this;this.generalSettingsForm.invalid||this.networkForm.invalid?this.toasterService.error("Fill all required fields"):(this.fillCustomAdapters(),this.virtualBoxService.saveTemplate(this.server,this.virtualBoxTemplate).subscribe(function(a){n.toasterService.success("Changes saved")}))}},{key:"chooseSymbol",value:function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened}},{key:"symbolChanged",value:function(n){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.virtualBoxTemplate.symbol=n}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(VA),e.Y36(Yn),e.Y36(re.qu),e.Y36(P6),e.Y36(xr))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-virtual-box-template-details"]],viewQuery:function(t,n){var a;1&t&&e.Gf(Nfe,5),2&t&&e.iGM(a=e.CRH())&&(n.customAdaptersConfigurator=a.first)},decls:9,vars:8,consts:[[1,"content",3,"ngClass"],[1,"default-header"],[1,"row"],[1,"col"],["class","default-content",4,"ngIf"],[3,"hidden","networkTypes","displayedColumns","closeConfiguratorEmitter","saveConfigurationEmitter"],["customAdaptersConfigurator",""],[3,"server","symbol","symbolChangedEmitter",4,"ngIf"],[1,"default-content"],[3,"formGroup"],[1,"form-field"],["matInput","","formControlName","templateName","type","text","placeholder","Template name",3,"ngModel","ngModelChange"],["matInput","","formControlName","defaultName","type","text","placeholder","Default name format",3,"ngModel","ngModelChange"],["matInput","","formControlName","symbol","type","text","placeholder","Symbol",3,"ngModel","ngModelChange"],["mat-button","",1,"symbolSelectionButton",3,"click"],["placeholder","Category",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"select"],["placeholder","Console type",3,"ngModelOptions","ngModel","ngModelChange"],[3,"ngModelOptions","ngModel","ngModelChange"],["matInput","","formControlName","ram","type","number","placeholder","RAM",3,"ngModel","ngModelChange"],["matSuffix",""],["placeholder","On close",3,"ngModelOptions","ngModel","ngModelChange"],[3,"ngModel","ngModelChange"],["formControlName","adapters","matInput","","type","number","placeholder","Adapters",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","First port name",3,"ngModelOptions","ngModel","ngModelChange"],["formControlName","nameFormat","matInput","","type","text","placeholder","Name format",3,"ngModel","ngModelChange"],["formControlName","size","matInput","","type","number","placeholder","Segment size",3,"ngModel","ngModelChange"],["placeholder","Type",3,"ngModelOptions","ngModel","ngModelChange"],["mat-button","",1,"configButton",3,"click"],["matInput","","type","text",3,"ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[3,"server","symbol","symbolChangedEmitter"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"VirtualBox VM configuration"),e.qZA(),e.qZA(),e.qZA(),e.YNc(5,Ufe,69,35,"div",4),e.qZA(),e.TgZ(6,"app-custom-adapters",5,6),e.NdJ("closeConfiguratorEmitter",function(o){return n.setCustomAdaptersConfiguratorState(o)})("saveConfigurationEmitter",function(o){return n.saveCustomAdapters(o)}),e.qZA(),e.YNc(8,Hfe,1,2,"app-symbols-menu",7)),2&t&&(e.Q6J("ngClass",e.VKq(6,Vfe,n.isConfiguratorOpened||n.isSymbolSelectionOpened)),e.xp6(5),e.Q6J("ngIf",n.virtualBoxTemplate),e.xp6(1),e.Q6J("hidden",!(n.isConfiguratorOpened&&n.virtualBoxTemplate))("networkTypes",n.networkTypes)("displayedColumns",n.displayedColumns),e.xp6(2),e.Q6J("ngIf",n.isSymbolSelectionOpened&&n.virtualBoxTemplate))},directives:[Pt.mk,Pt.O5,O6,dd,_c,yc,cd,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,En,yi.gD,re.On,Pt.sg,La,re.wV,Ln.R9,sn.ey,fd],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}();function qfe(r,i){if(1&r&&(e.TgZ(0,"button",10),e._uU(1," Back "),e.qZA()),2&r){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences")}}function zfe(r,i){if(1&r&&(e.TgZ(0,"button",11),e._uU(1," Add Virtual Box VM template "),e.qZA()),2&r){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences/virtualbox/addtemplate")}}function Wfe(r,i){1&r&&e._UZ(0,"app-empty-templates-list")}function Gfe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",15),e.TgZ(1,"mat-list-item",16),e._uU(2),e.qZA(),e.TgZ(3,"button",17),e.TgZ(4,"mat-icon"),e._uU(5,"more_vert"),e.qZA(),e.qZA(),e.TgZ(6,"mat-menu",null,18),e.TgZ(8,"button",19),e.NdJ("click",function(){var l=e.CHM(t).$implicit;return e.oxw(3).deleteTemplate(l)}),e.TgZ(9,"mat-icon"),e._uU(10,"delete"),e.qZA(),e.TgZ(11,"span"),e._uU(12,"Delete"),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=i.$implicit,a=e.MAs(7);e.xp6(1),e.s9C("routerLink",n.template_id),e.xp6(1),e.Oqu(n.name),e.xp6(1),e.Q6J("matMenuTriggerFor",a)}}function Yfe(r,i){if(1&r&&(e.TgZ(0,"mat-nav-list"),e.YNc(1,Gfe,13,3,"div",14),e.qZA()),2&r){var t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.virtualBoxTemplates)}}function Jfe(r,i){if(1&r&&(e.TgZ(0,"div",12),e.TgZ(1,"div",13),e.YNc(2,Yfe,2,1,"mat-nav-list",6),e.qZA(),e.qZA()),2&r){var t=e.oxw();e.xp6(2),e.Q6J("ngIf",t.server)}}var Qfe=function(){var r=function(){function i(t,n,a){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.virtualBoxService=a,this.virtualBoxTemplates=[]}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(a,10)).then(function(o){n.server=o,n.getTemplates()})}},{key:"getTemplates",value:function(){var n=this;this.virtualBoxService.getTemplates(this.server).subscribe(function(a){n.virtualBoxTemplates=a.filter(function(o){return"virtualbox"===o.template_type&&!o.builtin})})}},{key:"deleteTemplate",value:function(n){this.deleteComponent.deleteItem(n.name,n.template_id)}},{key:"onDeleteEvent",value:function(){this.getTemplates()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(VA))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-virtual-box-templates"]],viewQuery:function(t,n){var a;1&t&&e.Gf(Mo,5),2&t&&e.iGM(a=e.CRH())&&(n.deleteComponent=a.first)},decls:11,vars:5,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],["class","top-button","class","cancel-button","mat-button","",3,"routerLink",4,"ngIf"],["class","top-button","mat-raised-button","","color","primary",3,"routerLink",4,"ngIf"],[4,"ngIf"],["class","default-content",4,"ngIf"],[3,"server","deleteEvent"],["deleteComponent",""],["mat-button","",1,"cancel-button",3,"routerLink"],["mat-raised-button","","color","primary",1,"top-button",3,"routerLink"],[1,"default-content"],[1,"listcontainer","mat-elevation-z8"],["class","list-item",4,"ngFor","ngForOf"],[1,"list-item"],[1,"template-name",3,"routerLink"],["mat-button","",1,"menu-button",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"VirtualBox VM templates"),e.qZA(),e.YNc(5,qfe,2,1,"button",4),e.YNc(6,zfe,2,1,"button",5),e.qZA(),e.qZA(),e.YNc(7,Wfe,1,0,"app-empty-templates-list",6),e.YNc(8,Jfe,3,1,"div",7),e.qZA(),e.TgZ(9,"app-delete-template",8,9),e.NdJ("deleteEvent",function(){return n.onDeleteEvent()}),e.qZA()),2&t&&(e.xp6(5),e.Q6J("ngIf",n.server),e.xp6(1),e.Q6J("ngIf",n.server),e.xp6(1),e.Q6J("ngIf",!n.virtualBoxTemplates.length),e.xp6(1),e.Q6J("ngIf",n.virtualBoxTemplates.length),e.xp6(1),e.Q6J("server",n.server))},directives:[Pt.O5,Mo,En,go,md,Iu,Pt.sg,Zs,ns,er,Ls,Zr],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}(),jA=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.httpServer=t}return(0,g.Z)(i,[{key:"getTemplates",value:function(n){return this.httpServer.get(n,"/templates")}},{key:"getTemplate",value:function(n,a){return this.httpServer.get(n,"/templates/".concat(a))}},{key:"addTemplate",value:function(n,a){return this.httpServer.post(n,"/templates",a)}},{key:"saveTemplate",value:function(n,a){return this.httpServer.put(n,"/templates/".concat(a.template_id),a)}},{key:"getVirtualMachines",value:function(n){return this.httpServer.get(n,"/compute/vmware/vms")}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(Ja.wh))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}();function Kfe(r,i){if(1&r&&(e.TgZ(0,"mat-option",15),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t.vmname," ")}}var Xfe=function(){return{standalone:!0}};function $fe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",5),e.TgZ(1,"mat-card",6),e.TgZ(2,"form",7),e.TgZ(3,"mat-form-field",8),e.TgZ(4,"mat-select",9),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().selectedVM=o}),e.YNc(5,Kfe,2,2,"mat-option",10),e.qZA(),e.qZA(),e._UZ(6,"br"),e.TgZ(7,"mat-checkbox",11),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().vmwareTemplate.linked_clone=o}),e._uU(8," Use as a linked base VM (experimental) "),e.qZA(),e.qZA(),e.qZA(),e.TgZ(9,"div",12),e.TgZ(10,"button",13),e.NdJ("click",function(){return e.CHM(t),e.oxw().goBack()}),e._uU(11,"Cancel"),e.qZA(),e.TgZ(12,"button",14),e.NdJ("click",function(){return e.CHM(t),e.oxw().addTemplate()}),e._uU(13,"Add template"),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(2),e.Q6J("formGroup",n.templateNameForm),e.xp6(2),e.Q6J("ngModel",n.selectedVM),e.xp6(1),e.Q6J("ngForOf",n.virtualMachines),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(5,Xfe))("ngModel",n.vmwareTemplate.linked_clone)}}var ehe=function(){var r=function(){function i(t,n,a,o,s,l,d){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.vmwareService=a,this.toasterService=o,this.templateMocksService=s,this.router=l,this.formBuilder=d,this.templateNameForm=this.formBuilder.group({templateName:new re.NI(null,[re.kI.required])})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(a,10)).then(function(o){n.server=o,n.vmwareService.getVirtualMachines(n.server).subscribe(function(s){n.virtualMachines=s,n.templateMocksService.getVmwareTemplate().subscribe(function(l){n.vmwareTemplate=l})})})}},{key:"goBack",value:function(){this.router.navigate(["/server",this.server.id,"preferences","vmware","templates"])}},{key:"addTemplate",value:function(){var n=this;this.templateNameForm.invalid?this.toasterService.error("Fill all required fields"):(this.vmwareTemplate.name=this.selectedVM.vmname,this.vmwareTemplate.vmx_path=this.selectedVM.vmx_path,this.vmwareTemplate.template_id=(0,Eo.v4)(),this.vmwareService.addTemplate(this.server,this.vmwareTemplate).subscribe(function(){n.goBack()}))}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(jA),e.Y36(Yn),e.Y36(bc),e.Y36(xr),e.Y36(re.qu))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-add-vmware-template"]],decls:6,vars:1,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],["class","default-content",4,"ngIf"],[1,"default-content"],[1,"matCard"],[3,"formGroup"],[1,"form-field"],["placeholder","VM list","formControlName","templateName",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModelOptions","ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"New VMware VM template"),e.qZA(),e.qZA(),e.qZA(),e.YNc(5,$fe,14,6,"div",4),e.qZA()),2&t&&(e.xp6(5),e.Q6J("ngIf",n.vmwareTemplate))},directives:[Pt.O5,Ti,re._Y,re.JL,re.sg,Ln.KE,yi.gD,re.JJ,re.u,Pt.sg,La,re.On,En,sn.ey],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}(),I6=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"getConsoleTypes",value:function(){return["telnet","none"]}},{key:"getOnCloseoptions",value:function(){return[["Power off the VM","power_off"],["Send the shutdown signal (ACPI)","shutdown_signal"],["Save the VM state","save_vm_state"]]}},{key:"getCategories",value:function(){return[["Default","guest"],["Routers","router"],["Switches","switch"],["End devices","guest"],["Security devices","firewall"]]}},{key:"getNetworkTypes",value:function(){return["default","e1000","e1000e","flexible","vlance","vmxnet","vmxnet2","vmxnet3"]}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),the=["customAdaptersConfigurator"];function nhe(r,i){if(1&r&&(e.TgZ(0,"mat-option",32),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}function rhe(r,i){if(1&r&&(e.TgZ(0,"mat-option",32),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function ihe(r,i){if(1&r&&(e.TgZ(0,"mat-option",32),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}function ahe(r,i){if(1&r&&(e.TgZ(0,"mat-option",32),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}var ny=function(){return{standalone:!0}};function ohe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",8),e.TgZ(1,"mat-accordion"),e.TgZ(2,"mat-expansion-panel"),e.TgZ(3,"mat-expansion-panel-header"),e.TgZ(4,"mat-panel-title"),e._uU(5," General settings "),e.qZA(),e.qZA(),e.TgZ(6,"form",9),e.TgZ(7,"mat-form-field",10),e.TgZ(8,"input",11),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().vmwareTemplate.name=o}),e.qZA(),e.qZA(),e.TgZ(9,"mat-form-field",10),e.TgZ(10,"input",12),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().vmwareTemplate.default_name_format=o}),e.qZA(),e.qZA(),e.TgZ(11,"mat-form-field",10),e.TgZ(12,"input",13),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().vmwareTemplate.symbol=o}),e.qZA(),e.qZA(),e.TgZ(13,"button",14),e.NdJ("click",function(){return e.CHM(t),e.oxw().chooseSymbol()}),e._uU(14,"Choose symbol"),e.qZA(),e._UZ(15,"br"),e._UZ(16,"br"),e.TgZ(17,"mat-form-field",10),e.TgZ(18,"mat-select",15),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().vmwareTemplate.category=o}),e.YNc(19,nhe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.TgZ(20,"mat-form-field",17),e.TgZ(21,"mat-select",18),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().vmwareTemplate.console_type=o}),e.YNc(22,rhe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.TgZ(23,"mat-checkbox",19),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().vmwareTemplate.console_auto_start=o}),e._uU(24," Auto start console "),e.qZA(),e.TgZ(25,"mat-form-field",10),e.TgZ(26,"mat-select",20),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().vmwareTemplate.on_close=o}),e.YNc(27,ihe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.TgZ(28,"mat-checkbox",19),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().vmwareTemplate.headless=o}),e._uU(29," Start VM in headless mode "),e.qZA(),e._UZ(30,"br"),e._UZ(31,"br"),e.TgZ(32,"mat-checkbox",19),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().vmwareTemplate.linked_clone=o}),e._uU(33," Use as a linked base VM (experimental) "),e.qZA(),e.qZA(),e.qZA(),e.TgZ(34,"mat-expansion-panel"),e.TgZ(35,"mat-expansion-panel-header"),e.TgZ(36,"mat-panel-title"),e._uU(37," Network "),e.qZA(),e.qZA(),e.TgZ(38,"mat-form-field",10),e.TgZ(39,"input",21),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().vmwareTemplate.adapters=o}),e.qZA(),e.qZA(),e.TgZ(40,"mat-form-field",10),e.TgZ(41,"input",22),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().vmwareTemplate.first_port_name=o}),e.qZA(),e.qZA(),e.TgZ(42,"mat-form-field",10),e.TgZ(43,"input",23),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().vmwareTemplate.port_name_format=o}),e.qZA(),e.qZA(),e.TgZ(44,"mat-form-field",10),e.TgZ(45,"input",24),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().vmwareTemplate.port_segment_size=o}),e.qZA(),e.qZA(),e.TgZ(46,"mat-form-field",10),e.TgZ(47,"mat-select",25),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().vmwareTemplate.adapter_type=o}),e.YNc(48,ahe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.TgZ(49,"button",26),e.NdJ("click",function(){return e.CHM(t),e.oxw().setCustomAdaptersConfiguratorState(!0)}),e._uU(50," Configure custom adapters"),e.qZA(),e._UZ(51,"br"),e.TgZ(52,"mat-checkbox",27),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().vmwareTemplate.use_any_adapter=o}),e._uU(53," Allow GNS3 to override non custom VMware adapter "),e.qZA(),e.qZA(),e.TgZ(54,"mat-expansion-panel"),e.TgZ(55,"mat-expansion-panel-header"),e.TgZ(56,"mat-panel-title"),e._uU(57," Usage "),e.qZA(),e.qZA(),e.TgZ(58,"mat-form-field",10),e.TgZ(59,"textarea",28),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().vmwareTemplate.usage=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(60,"div",29),e.TgZ(61,"button",30),e.NdJ("click",function(){return e.CHM(t),e.oxw().goBack()}),e._uU(62,"Cancel"),e.qZA(),e.TgZ(63,"button",31),e.NdJ("click",function(){return e.CHM(t),e.oxw().onSave()}),e._uU(64,"Save"),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(6),e.Q6J("formGroup",n.generalSettingsForm),e.xp6(2),e.Q6J("ngModel",n.vmwareTemplate.name),e.xp6(2),e.Q6J("ngModel",n.vmwareTemplate.default_name_format),e.xp6(2),e.Q6J("ngModel",n.vmwareTemplate.symbol),e.xp6(6),e.Q6J("ngModelOptions",e.DdM(27,ny))("ngModel",n.vmwareTemplate.category),e.xp6(1),e.Q6J("ngForOf",n.categories),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(28,ny))("ngModel",n.vmwareTemplate.console_type),e.xp6(1),e.Q6J("ngForOf",n.consoleTypes),e.xp6(1),e.Q6J("ngModelOptions",e.DdM(29,ny))("ngModel",n.vmwareTemplate.console_auto_start),e.xp6(3),e.Q6J("ngModelOptions",e.DdM(30,ny))("ngModel",n.vmwareTemplate.on_close),e.xp6(1),e.Q6J("ngForOf",n.onCloseOptions),e.xp6(1),e.Q6J("ngModelOptions",e.DdM(31,ny))("ngModel",n.vmwareTemplate.headless),e.xp6(4),e.Q6J("ngModelOptions",e.DdM(32,ny))("ngModel",n.vmwareTemplate.linked_clone),e.xp6(7),e.Q6J("ngModel",n.vmwareTemplate.adapters),e.xp6(2),e.Q6J("ngModel",n.vmwareTemplate.first_port_name),e.xp6(2),e.Q6J("ngModel",n.vmwareTemplate.port_name_format),e.xp6(2),e.Q6J("ngModel",n.vmwareTemplate.port_segment_size),e.xp6(2),e.Q6J("ngModel",n.vmwareTemplate.adapter_type),e.xp6(1),e.Q6J("ngForOf",n.networkTypes),e.xp6(4),e.Q6J("ngModel",n.vmwareTemplate.use_any_adapter),e.xp6(7),e.Q6J("ngModel",n.vmwareTemplate.usage)}}function she(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"app-symbols-menu",33),e.NdJ("symbolChangedEmitter",function(o){return e.CHM(t),e.oxw().symbolChanged(o)}),e.qZA()}if(2&r){var n=e.oxw();e.Q6J("server",n.server)("symbol",n.vmwareTemplate.symbol)}}var lhe=function(i){return{shadowed:i}},uhe=function(){var r=function(){function i(t,n,a,o,s,l,d){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.vmwareService=a,this.toasterService=o,this.formBuilder=s,this.vmwareConfigurationService=l,this.router=d,this.displayedColumns=["adapter_number","port_name","adapter_type","actions"],this.isConfiguratorOpened=!1,this.isSymbolSelectionOpened=!1,this.consoleTypes=[],this.categories=[],this.onCloseOptions=[],this.networkTypes=[],this.generalSettingsForm=this.formBuilder.group({templateName:new re.NI("",re.kI.required),defaultName:new re.NI("",re.kI.required),symbol:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id"),o=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(a,10)).then(function(s){n.server=s,n.getConfiguration(),n.vmwareService.getTemplate(n.server,o).subscribe(function(l){n.vmwareTemplate=l,n.fillCustomAdapters()})})}},{key:"getConfiguration",value:function(){this.consoleTypes=this.vmwareConfigurationService.getConsoleTypes(),this.categories=this.vmwareConfigurationService.getCategories(),this.onCloseOptions=this.vmwareConfigurationService.getOnCloseoptions(),this.networkTypes=this.vmwareConfigurationService.getNetworkTypes()}},{key:"goBack",value:function(){this.router.navigate(["/server",this.server.id,"preferences","vmware","templates"])}},{key:"onSave",value:function(){var n=this;this.generalSettingsForm.invalid?this.toasterService.error("Fill all required fields"):(this.fillCustomAdapters(),this.vmwareService.saveTemplate(this.server,this.vmwareTemplate).subscribe(function(a){n.toasterService.success("Changes saved")}))}},{key:"setCustomAdaptersConfiguratorState",value:function(n){var a=this;this.isConfiguratorOpened=n,n&&(this.fillCustomAdapters(),this.customAdaptersConfigurator.numberOfAdapters=this.vmwareTemplate.adapters,this.customAdaptersConfigurator.adapters=[],this.vmwareTemplate.custom_adapters.forEach(function(o){a.customAdaptersConfigurator.adapters.push({adapter_number:o.adapter_number,adapter_type:o.adapter_type})}))}},{key:"saveCustomAdapters",value:function(n){this.setCustomAdaptersConfiguratorState(!1),this.vmwareTemplate.custom_adapters=n}},{key:"fillCustomAdapters",value:function(){var n=this.vmwareTemplate.custom_adapters?this.vmwareTemplate.custom_adapters:[];this.vmwareTemplate.custom_adapters=[];for(var a=0;a<this.vmwareTemplate.adapters;a++)this.vmwareTemplate.custom_adapters.push(n[a]?n[a]:{adapter_number:a,adapter_type:"e1000"})}},{key:"chooseSymbol",value:function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened}},{key:"symbolChanged",value:function(n){this.vmwareTemplate.symbol=n}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(jA),e.Y36(Yn),e.Y36(re.qu),e.Y36(I6),e.Y36(xr))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-vmware-template-details"]],viewQuery:function(t,n){var a;1&t&&e.Gf(the,5),2&t&&e.iGM(a=e.CRH())&&(n.customAdaptersConfigurator=a.first)},decls:9,vars:8,consts:[[1,"content",3,"ngClass"],[1,"default-header"],[1,"row"],[1,"col"],["class","default-content",4,"ngIf"],[3,"hidden","networkTypes","displayedColumns","closeConfiguratorEmitter","saveConfigurationEmitter"],["customAdaptersConfigurator",""],[3,"server","symbol","symbolChangedEmitter",4,"ngIf"],[1,"default-content"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","templateName","placeholder","Template name",3,"ngModel","ngModelChange"],["matInput","","type","text","formControlName","defaultName","placeholder","Default name format",3,"ngModel","ngModelChange"],["matInput","","type","text","formControlName","symbol","placeholder","Symbol",3,"ngModel","ngModelChange"],["mat-button","",1,"symbolSelectionButton",3,"click"],["placeholder","Category",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"select"],["placeholder","Console type",3,"ngModelOptions","ngModel","ngModelChange"],[3,"ngModelOptions","ngModel","ngModelChange"],["placeholder","On close",3,"ngModelOptions","ngModel","ngModelChange"],["matInput","","type","number","placeholder","Adapters",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","First port name",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Name format",3,"ngModel","ngModelChange"],["matInput","","type","number","placeholder","Segment size",3,"ngModel","ngModelChange"],["placeholder","Type",3,"ngModel","ngModelChange"],["mat-button","",1,"configButton",3,"click"],[3,"ngModel","ngModelChange"],["matInput","","type","text",3,"ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[3,"server","symbol","symbolChangedEmitter"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"VMware VM configuration"),e.qZA(),e.qZA(),e.qZA(),e.YNc(5,ohe,65,33,"div",4),e.qZA(),e.TgZ(6,"app-custom-adapters",5,6),e.NdJ("closeConfiguratorEmitter",function(o){return n.setCustomAdaptersConfiguratorState(o)})("saveConfigurationEmitter",function(o){return n.saveCustomAdapters(o)}),e.qZA(),e.YNc(8,she,1,2,"app-symbols-menu",7)),2&t&&(e.Q6J("ngClass",e.VKq(6,lhe,n.isSymbolSelectionOpened||n.isConfiguratorOpened)),e.xp6(5),e.Q6J("ngIf",n.vmwareTemplate),e.xp6(1),e.Q6J("hidden",!(n.isConfiguratorOpened&&n.vmwareTemplate))("networkTypes",n.networkTypes)("displayedColumns",n.displayedColumns),e.xp6(2),e.Q6J("ngIf",n.isSymbolSelectionOpened&&n.vmwareTemplate))},directives:[Pt.mk,Pt.O5,O6,dd,_c,yc,cd,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,En,yi.gD,re.On,Pt.sg,La,re.wV,sn.ey,fd],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}();function che(r,i){if(1&r&&(e.TgZ(0,"button",10),e._uU(1," Back "),e.qZA()),2&r){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences")}}function dhe(r,i){if(1&r&&(e.TgZ(0,"button",11),e._uU(1," Add VMware template "),e.qZA()),2&r){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences/vmware/addtemplate")}}function phe(r,i){1&r&&e._UZ(0,"app-empty-templates-list")}function fhe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",15),e.TgZ(1,"mat-list-item",16),e._uU(2),e.qZA(),e.TgZ(3,"button",17),e.TgZ(4,"mat-icon"),e._uU(5,"more_vert"),e.qZA(),e.qZA(),e.TgZ(6,"mat-menu",null,18),e.TgZ(8,"button",19),e.NdJ("click",function(){var l=e.CHM(t).$implicit;return e.oxw(3).deleteTemplate(l)}),e.TgZ(9,"mat-icon"),e._uU(10,"delete"),e.qZA(),e.TgZ(11,"span"),e._uU(12,"Delete"),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=i.$implicit,a=e.MAs(7);e.xp6(1),e.s9C("routerLink",n.template_id),e.xp6(1),e.Oqu(n.name),e.xp6(1),e.Q6J("matMenuTriggerFor",a)}}function hhe(r,i){if(1&r&&(e.TgZ(0,"mat-nav-list"),e.YNc(1,fhe,13,3,"div",14),e.qZA()),2&r){var t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.vmwareTemplates)}}function mhe(r,i){if(1&r&&(e.TgZ(0,"div",12),e.TgZ(1,"div",13),e.YNc(2,hhe,2,1,"mat-nav-list",6),e.qZA(),e.qZA()),2&r){var t=e.oxw();e.xp6(2),e.Q6J("ngIf",t.server)}}var vhe=function(){var r=function(){function i(t,n,a){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.vmwareService=a,this.vmwareTemplates=[]}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(a,10)).then(function(o){n.server=o,n.getTemplates()})}},{key:"getTemplates",value:function(){var n=this;this.vmwareService.getTemplates(this.server).subscribe(function(a){n.vmwareTemplates=a.filter(function(o){return"vmware"===o.template_type&&!o.builtin})})}},{key:"deleteTemplate",value:function(n){this.deleteComponent.deleteItem(n.name,n.template_id)}},{key:"onDeleteEvent",value:function(){this.getTemplates()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(jA))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-vmware-templates"]],viewQuery:function(t,n){var a;1&t&&e.Gf(Mo,5),2&t&&e.iGM(a=e.CRH())&&(n.deleteComponent=a.first)},decls:11,vars:5,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],["class","top-button","class","cancel-button","mat-button","",3,"routerLink",4,"ngIf"],["class","top-button","mat-raised-button","","color","primary",3,"routerLink",4,"ngIf"],[4,"ngIf"],["class","default-content",4,"ngIf"],[3,"server","deleteEvent"],["deleteComponent",""],["mat-button","",1,"cancel-button",3,"routerLink"],["mat-raised-button","","color","primary",1,"top-button",3,"routerLink"],[1,"default-content"],[1,"listcontainer","mat-elevation-z8"],["class","list-item",4,"ngFor","ngForOf"],[1,"list-item"],[1,"template-name",3,"routerLink"],["mat-button","",1,"menu-button",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"VMware VM templates"),e.qZA(),e.YNc(5,che,2,1,"button",4),e.YNc(6,dhe,2,1,"button",5),e.qZA(),e.qZA(),e.YNc(7,phe,1,0,"app-empty-templates-list",6),e.YNc(8,mhe,3,1,"div",7),e.qZA(),e.TgZ(9,"app-delete-template",8,9),e.NdJ("deleteEvent",function(){return n.onDeleteEvent()}),e.qZA()),2&t&&(e.xp6(5),e.Q6J("ngIf",n.server),e.xp6(1),e.Q6J("ngIf",n.server),e.xp6(1),e.Q6J("ngIf",!n.vmwareTemplates.length),e.xp6(1),e.Q6J("ngIf",n.vmwareTemplates.length),e.xp6(1),e.Q6J("server",n.server))},directives:[Pt.O5,Mo,En,go,md,Iu,Pt.sg,Zs,ns,er,Ls,Zr],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}(),qA=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.httpServer=t}return(0,g.Z)(i,[{key:"getTemplates",value:function(n){return this.httpServer.get(n,"/templates")}},{key:"getTemplate",value:function(n,a){return this.httpServer.get(n,"/templates/".concat(a))}},{key:"addTemplate",value:function(n,a){return this.httpServer.post(n,"/templates",a)}},{key:"saveTemplate",value:function(n,a){return this.httpServer.put(n,"/templates/".concat(a.template_id),a)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(Ja.wh))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),ghe=function(){var r=function(){function i(t,n,a,o,s,l,d,h){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.vpcsService=a,this.router=o,this.toasterService=s,this.templateMocksService=l,this.formBuilder=d,this.computeService=h,this.templateName="",this.isGns3VmAvailable=!1,this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0,this.templateNameForm=this.formBuilder.group({templateName:new re.NI(null,[re.kI.required])})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(a,10)).then(function(o){n.server=o,n.computeService.getComputes(o).subscribe(function(s){s.filter(function(l){return"vm"===l.compute_id}).length>0&&(n.isGns3VmAvailable=!0)})})}},{key:"setServerType",value:function(n){"gns3 vm"===n&&this.isGns3VmAvailable?(this.isGns3VmChosen=!0,this.isLocalComputerChosen=!1):(this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0)}},{key:"goBack",value:function(){this.router.navigate(["/server",this.server.id,"preferences","vpcs","templates"])}},{key:"addTemplate",value:function(){var a,n=this;this.templateNameForm.invalid?this.toasterService.error("Fill all required fields"):(this.templateName=this.templateNameForm.get("templateName").value,this.templateMocksService.getVpcsTemplate().subscribe(function(o){a=o}),a.template_id=(0,Eo.v4)(),a.name=this.templateName,a.compute_id=this.isGns3VmChosen?"vm":"local",this.vpcsService.addTemplate(this.server,a).subscribe(function(){n.goBack()}))}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(qA),e.Y36(xr),e.Y36(Yn),e.Y36(bc),e.Y36(re.qu),e.Y36(Cc.X))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-add-vpcs-template"]],decls:20,vars:2,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[1,"matCard"],[1,"radio-group"],["value","1","checked","",1,"radio-button",3,"click"],["value","2",1,"radio-button",3,"disabled","click"],[3,"formGroup"],[1,"form-field"],["matInput","","formControlName","templateName","type","text","placeholder","Template name"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"New VPCS node template"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"mat-card",5),e.TgZ(7,"mat-radio-group",6),e.TgZ(8,"mat-radio-button",7),e.NdJ("click",function(){return n.setServerType("local")}),e._uU(9,"Run the VPCS node locally"),e.qZA(),e.TgZ(10,"mat-radio-button",8),e.NdJ("click",function(){return n.setServerType("gns3 vm")}),e._uU(11,"Run the VPCS node on the GNS3 VM"),e.qZA(),e.qZA(),e.TgZ(12,"form",9),e.TgZ(13,"mat-form-field",10),e._UZ(14,"input",11),e.qZA(),e.qZA(),e.qZA(),e.TgZ(15,"div",12),e.TgZ(16,"button",13),e.NdJ("click",function(){return n.goBack()}),e._uU(17,"Cancel"),e.qZA(),e.TgZ(18,"button",14),e.NdJ("click",function(){return n.addTemplate()}),e._uU(19,"Add template"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(10),e.Q6J("disabled",!n.isGns3VmAvailable),e.xp6(2),e.Q6J("formGroup",n.templateNameForm))},directives:[Ti,El,Ml,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,En],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}(),zA=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"getConsoleTypes",value:function(){return["telnet","none"]}},{key:"getCategories",value:function(){return[["Default","guest"],["Routers","router"],["Switches","switch"],["End devices","guest"],["Security devices","firewall"]]}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}();function _he(r,i){if(1&r&&(e.TgZ(0,"mat-option",23),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}function yhe(r,i){if(1&r&&(e.TgZ(0,"mat-option",23),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}var R6=function(){return{standalone:!0}};function bhe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",6),e.TgZ(1,"mat-card",7),e.TgZ(2,"form",8),e.TgZ(3,"mat-form-field",9),e.TgZ(4,"input",10),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().vpcsTemplate.name=o}),e.qZA(),e.qZA(),e.TgZ(5,"mat-form-field",9),e.TgZ(6,"input",11),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().vpcsTemplate.default_name_format=o}),e.qZA(),e.qZA(),e.TgZ(7,"mat-form-field",9),e.TgZ(8,"input",12),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().vpcsTemplate.base_script_file=o}),e.qZA(),e.qZA(),e.TgZ(9,"mat-form-field",9),e.TgZ(10,"input",13),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().vpcsTemplate.symbol=o}),e.qZA(),e.qZA(),e.TgZ(11,"button",14),e.NdJ("click",function(){return e.CHM(t),e.oxw().chooseSymbol()}),e._uU(12,"Choose symbol"),e.qZA(),e._UZ(13,"br"),e._UZ(14,"br"),e.TgZ(15,"mat-form-field",9),e.TgZ(16,"mat-select",15),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().vpcsTemplate.category=o}),e.YNc(17,_he,2,2,"mat-option",16),e.qZA(),e.qZA(),e.TgZ(18,"mat-form-field",17),e.TgZ(19,"mat-select",18),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().vpcsTemplate.console_type=o}),e.YNc(20,yhe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.TgZ(21,"mat-checkbox",19),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().vpcsTemplate.console_auto_start=o}),e._uU(22," Auto start console "),e.qZA(),e.qZA(),e.qZA(),e.TgZ(23,"div",20),e.TgZ(24,"button",21),e.NdJ("click",function(){return e.CHM(t),e.oxw().goBack()}),e._uU(25,"Cancel"),e.qZA(),e.TgZ(26,"button",22),e.NdJ("click",function(){return e.CHM(t),e.oxw().onSave()}),e._uU(27,"Save"),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(2),e.Q6J("formGroup",n.inputForm),e.xp6(2),e.Q6J("ngModel",n.vpcsTemplate.name),e.xp6(2),e.Q6J("ngModel",n.vpcsTemplate.default_name_format),e.xp6(2),e.Q6J("ngModel",n.vpcsTemplate.base_script_file),e.xp6(2),e.Q6J("ngModel",n.vpcsTemplate.symbol),e.xp6(6),e.Q6J("ngModelOptions",e.DdM(13,R6))("ngModel",n.vpcsTemplate.category),e.xp6(1),e.Q6J("ngForOf",n.categories),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(14,R6))("ngModel",n.vpcsTemplate.console_type),e.xp6(1),e.Q6J("ngForOf",n.consoleTypes),e.xp6(1),e.Q6J("ngModelOptions",e.DdM(15,R6))("ngModel",n.vpcsTemplate.console_auto_start)}}function Che(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"app-symbols-menu",24),e.NdJ("symbolChangedEmitter",function(o){return e.CHM(t),e.oxw().symbolChanged(o)}),e.qZA()}if(2&r){var n=e.oxw();e.Q6J("server",n.server)("symbol",n.vpcsTemplate.symbol)}}var She=function(i){return{shadowed:i}},The=function(){var r=function(){function i(t,n,a,o,s,l,d){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.vpcsService=a,this.toasterService=o,this.formBuilder=s,this.vpcsConfigurationService=l,this.router=d,this.isSymbolSelectionOpened=!1,this.consoleTypes=[],this.categories=[],this.inputForm=this.formBuilder.group({templateName:new re.NI("",re.kI.required),defaultName:new re.NI("",re.kI.required),scriptFile:new re.NI("",re.kI.required),symbol:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id"),o=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(a,10)).then(function(s){n.server=s,n.getConfiguration(),n.vpcsService.getTemplate(n.server,o).subscribe(function(l){n.vpcsTemplate=l})})}},{key:"getConfiguration",value:function(){this.consoleTypes=this.vpcsConfigurationService.getConsoleTypes(),this.categories=this.vpcsConfigurationService.getCategories()}},{key:"goBack",value:function(){this.router.navigate(["/server",this.server.id,"preferences","vpcs","templates"])}},{key:"onSave",value:function(){var n=this;this.inputForm.invalid?this.toasterService.error("Fill all required fields"):this.vpcsService.saveTemplate(this.server,this.vpcsTemplate).subscribe(function(a){n.toasterService.success("Changes saved")})}},{key:"chooseSymbol",value:function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened}},{key:"symbolChanged",value:function(n){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.vpcsTemplate.symbol=n}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(qA),e.Y36(Yn),e.Y36(re.qu),e.Y36(zA),e.Y36(xr))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-vpcs-template-details"]],decls:7,vars:5,consts:[[1,"content",3,"ngClass"],[1,"default-header"],[1,"row"],[1,"col"],["class","default-content",4,"ngIf"],[3,"server","symbol","symbolChangedEmitter",4,"ngIf"],[1,"default-content"],[1,"matCard"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","templateName","placeholder","Template name",3,"ngModel","ngModelChange"],["matInput","","type","text","formControlName","defaultName","placeholder","Default name format",3,"ngModel","ngModelChange"],["matInput","","type","text","formControlName","scriptFile","placeholder","Base script file",3,"ngModel","ngModelChange"],["matInput","","type","text","formControlName","symbol","placeholder","Symbol",3,"ngModel","ngModelChange"],["mat-button","",1,"symbolSelectionButton",3,"click"],["placeholder","Category",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"select"],["placeholder","Console type",3,"ngModelOptions","ngModel","ngModelChange"],[3,"ngModelOptions","ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[3,"server","symbol","symbolChangedEmitter"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"VPCS device configuration"),e.qZA(),e.qZA(),e.qZA(),e.YNc(5,bhe,28,16,"div",4),e.qZA(),e.YNc(6,Che,1,2,"app-symbols-menu",5)),2&t&&(e.Q6J("ngClass",e.VKq(3,She,n.isSymbolSelectionOpened)),e.xp6(5),e.Q6J("ngIf",n.vpcsTemplate),e.xp6(1),e.Q6J("ngIf",n.isSymbolSelectionOpened&&n.vpcsTemplate))},directives:[Pt.mk,Pt.O5,Ti,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,En,yi.gD,re.On,Pt.sg,La,sn.ey,fd],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}();function khe(r,i){if(1&r&&(e.TgZ(0,"button",10),e._uU(1," Back "),e.qZA()),2&r){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences")}}function whe(r,i){if(1&r&&(e.TgZ(0,"button",11),e._uU(1," Add VPCS template "),e.qZA()),2&r){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences/vpcs/addtemplate")}}function xhe(r,i){1&r&&e._UZ(0,"app-empty-templates-list")}function Ehe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",15),e.TgZ(1,"mat-list-item",16),e._uU(2),e.qZA(),e.TgZ(3,"button",17),e.TgZ(4,"mat-icon"),e._uU(5,"more_vert"),e.qZA(),e.qZA(),e.TgZ(6,"mat-menu",null,18),e.TgZ(8,"button",19),e.NdJ("click",function(){var l=e.CHM(t).$implicit;return e.oxw(3).deleteTemplate(l)}),e.TgZ(9,"mat-icon"),e._uU(10,"delete"),e.qZA(),e.TgZ(11,"span"),e._uU(12,"Delete"),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=i.$implicit,a=e.MAs(7);e.xp6(1),e.s9C("routerLink",n.template_id),e.xp6(1),e.Oqu(n.name),e.xp6(1),e.Q6J("matMenuTriggerFor",a)}}function Mhe(r,i){if(1&r&&(e.TgZ(0,"mat-nav-list"),e.YNc(1,Ehe,13,3,"div",14),e.qZA()),2&r){var t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.vpcsTemplates)}}function Ahe(r,i){if(1&r&&(e.TgZ(0,"div",12),e.TgZ(1,"div",13),e.YNc(2,Mhe,2,1,"mat-nav-list",6),e.qZA(),e.qZA()),2&r){var t=e.oxw();e.xp6(2),e.Q6J("ngIf",t.server)}}var Dhe=function(){var r=function(){function i(t,n,a){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.vpcsService=a,this.vpcsTemplates=[]}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(a,10)).then(function(o){n.server=o,n.getTemplates()})}},{key:"getTemplates",value:function(){var n=this;this.vpcsService.getTemplates(this.server).subscribe(function(a){n.vpcsTemplates=a.filter(function(o){return"vpcs"===o.template_type&&!o.builtin})})}},{key:"deleteTemplate",value:function(n){this.deleteComponent.deleteItem(n.name,n.template_id)}},{key:"onDeleteEvent",value:function(){this.getTemplates()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(qA))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-vpcs-templates"]],viewQuery:function(t,n){var a;1&t&&e.Gf(Mo,5),2&t&&e.iGM(a=e.CRH())&&(n.deleteComponent=a.first)},decls:11,vars:5,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],["class","top-button","class","cancel-button","mat-button","",3,"routerLink",4,"ngIf"],["class","top-button","mat-raised-button","","color","primary",3,"routerLink",4,"ngIf"],[4,"ngIf"],["class","default-content",4,"ngIf"],[3,"server","deleteEvent"],["deleteComponent",""],["mat-button","",1,"cancel-button",3,"routerLink"],["mat-raised-button","","color","primary",1,"top-button",3,"routerLink"],[1,"default-content"],[1,"listcontainer","mat-elevation-z8"],["class","list-item",4,"ngFor","ngForOf"],[1,"list-item"],[1,"template-name",3,"routerLink"],["mat-button","",1,"menu-button",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"VPCS node templates"),e.qZA(),e.YNc(5,khe,2,1,"button",4),e.YNc(6,whe,2,1,"button",5),e.qZA(),e.qZA(),e.YNc(7,xhe,1,0,"app-empty-templates-list",6),e.YNc(8,Ahe,3,1,"div",7),e.qZA(),e.TgZ(9,"app-delete-template",8,9),e.NdJ("deleteEvent",function(){return n.onDeleteEvent()}),e.qZA()),2&t&&(e.xp6(5),e.Q6J("ngIf",n.server),e.xp6(1),e.Q6J("ngIf",n.server),e.xp6(1),e.Q6J("ngIf",!n.vpcsTemplates.length),e.xp6(1),e.Q6J("ngIf",n.vpcsTemplates.length),e.xp6(1),e.Q6J("server",n.server))},directives:[Pt.O5,Mo,En,go,md,Iu,Pt.sg,Zs,ns,er,Ls,Zr],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}(),Yf=f(66700),WA=f(28888),GA=function(r){(0,O.Z)(t,r);var i=(0,y.Z)(t);function t(){return(0,v.Z)(this,t),i.apply(this,arguments)}return(0,g.Z)(t,[{key:"getItemKey",value:function(a){return a.id}}]),t}(WA.o),N6=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(){return(0,v.Z)(this,n),t.apply(this,arguments)}return n}(GA);return r.\u0275fac=function(){var i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Z6=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(){return(0,v.Z)(this,n),t.apply(this,arguments)}return n}(GA);return r.\u0275fac=function(){var i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),L6=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(){return(0,v.Z)(this,n),t.apply(this,arguments)}return n}(GA);return r.\u0275fac=function(){var i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),F6=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(){return(0,v.Z)(this,n),t.apply(this,arguments)}return n}(GA);return r.\u0275fac=function(){var i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),nv=function r(){(0,v.Z)(this,r)},ry=function r(){(0,v.Z)(this,r)},$1=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"calculate",value:function(n,a){var o=document.createElement("text");o.innerText=n,o.setAttribute("fill","#00000"),o.setAttribute("fill-opacity","0"),o.setAttribute("style",a),document.documentElement.appendChild(o);var s=o.getBoundingClientRect();return document.documentElement.removeChild(o),{width:s.width,height:s.height}}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),eS=f(27995),Jf=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"fix",value:function(n){var a=eS.parse(n,{context:"declarationList"});return a.children.forEach(function(o){"font-size"===o.property&&o.value&&o.value.children&&o.value.children.forEach(function(s){if("Number"===s.type){var l=s.value.toString();l.indexOf("pt")>=0||l.indexOf("px")>=0||(s.value="".concat(l,"pt"))}})}),eS.generate(a)}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Sc=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"fix",value:function(n){return n.font_family===i.DEFAULT_FONT&&n.font_size===i.DEFAULT_SIZE&&(n.font_family=i.REPLACE_BY_FONT,n.font_size=i.REPLACE_BY_SIZE),n}},{key:"fixStyles",value:function(n){var a=eS.parse(n,{context:"declarationList"}),o=null,s=null,l=!0;if(a.children.forEach(function(P){"font-family"===P.property&&P.value&&P.value.children&&P.value.children.forEach(function(N){"Identifier"===N.type&&(o=N),"String"===N.type&&(o=N,l=!1)}),"font-size"===P.property&&P.value&&P.value.children&&P.value.children.forEach(function(N){"Dimension"===N.type&&(s=N)})}),s&&o){var h=s.value,C=this.fix({font_family:(l?o.name:o.value).split('"').join(""),font_size:parseInt(h,10)});l?o.name=C.font_family:o.value=C.font_family,s.value=C.font_size}return eS.generate(a)}}]),i}();return r.DEFAULT_FONT="TypeWriter",r.DEFAULT_SIZE=10,r.REPLACE_BY_FONT="Noto Sans",r.REPLACE_BY_SIZE=11,r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),B6=function(){var r=function(){function i(t,n,a){(0,v.Z)(this,i),this.fontBBoxCalculator=t,this.cssFixer=n,this.fontFixer=a}return(0,g.Z)(i,[{key:"convert",value:function(n,a){var o=new ry;o.rotation=n.rotation,o.style=n.style,o.text=n.text,o.x=n.x,o.y=n.y,o.originalX=n.x,o.originalY=n.y,void 0!==a&&(o.id=a.node_id,o.nodeId=a.node_id);var s=this.cssFixer.fix(o.style),l=this.fontFixer.fixStyles(s),d=this.fontBBoxCalculator.calculate(o.text,l);return null!==o.x&&(o.x+=3),null!==o.y&&(o.y+=d.height),o}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG($1),e.LFG(Jf),e.LFG(Sc))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Ohe=function r(){(0,v.Z)(this,r)},U6=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"convert",value:function(n){var a=new Ohe;return a.adapterNumber=n.adapter_number,a.linkType=n.link_type,a.name=n.name,a.portNumber=n.port_number,a.shortName=n.short_name,a}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),H6=function(){var r=function(){function i(t,n,a,o,s){(0,v.Z)(this,i),this.labelToMapLabel=t,this.portToMapPort=n,this.fontBBoxCalculator=a,this.cssFixer=o,this.fontFixer=s}return(0,g.Z)(i,[{key:"convert",value:function(n){var a=this,o=new nv;if(o.id=n.node_id,o.commandLine=n.command_line,o.computeId=n.compute_id,o.console=n.console,o.consoleHost=n.console_host,o.consoleType=n.console_type,o.firstPortName=n.first_port_name,o.height=n.height,o.label=this.labelToMapLabel?this.labelToMapLabel.convert(n.label,{node_id:n.node_id}):void 0,o.locked=n.locked,o.name=n.name,o.nodeDirectory=n.node_directory,o.nodeType=n.node_type,o.portNameFormat=n.port_name_format,o.portSegmentSize=n.port_segment_size,o.ports=n.ports?n.ports.map(function(h){return a.portToMapPort.convert(h)}):[],o.projectId=n.project_id,o.status=n.status,o.symbol=n.symbol,o.symbolUrl=n.symbol_url,o.usage=n.usage,o.width=n.width,o.x=n.x,o.y=n.y,o.z=n.z,void 0!==o.label){var s=this.cssFixer.fix(o.label.style),l=this.fontFixer.fixStyles(s),d=this.fontBBoxCalculator.calculate(o.label.text,l);(null===n.label.x||null===n.label.y)&&(o.label.x=n.width/2-d.width/2+3,o.label.y=-8)}return o}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(B6),e.LFG(U6),e.LFG($1),e.LFG(Jf),e.LFG(Sc))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Wj=function r(){(0,v.Z)(this,r),this.isSelected=!1,this.isMultiplied=!1},tS=function r(){(0,v.Z)(this,r)},Gj=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.labelToMapLabel=t}return(0,g.Z)(i,[{key:"convert",value:function(n,a){var o=new tS;return o.nodeId=n.node_id,o.adapterNumber=n.adapter_number,o.portNumber=n.port_number,o.label=this.labelToMapLabel.convert(n.label),void 0!==a&&(o.linkId=a.link_id,o.id="".concat(o.nodeId,"-").concat(o.linkId)),o}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(B6))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Yj=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.linkNodeToMapLinkNode=t}return(0,g.Z)(i,[{key:"convert",value:function(n){var a=this,o=new Wj;return o.id=n.link_id,o.captureFileName=n.capture_file_name,o.captureFilePath=n.capture_file_path,o.capturing=n.capturing,o.filters=n.filters,o.linkType=n.link_type,o.nodes=n.nodes.map(function(s){return a.linkNodeToMapLinkNode.convert(s,{link_id:n.link_id})}),o.projectId=n.project_id,o.suspend=n.suspend,o}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(Gj))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Qf=function r(){(0,v.Z)(this,r)},YA=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"convert",value:function(n){var a=new Qf;return a.id=n.drawing_id,a.projectId=n.project_id,a.rotation=n.rotation,a.svg=n.svg,a.locked=n.locked,a.x=n.x,a.y=n.y,a.z=n.z,a}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Phe=function r(){(0,v.Z)(this,r)},Jj=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"convert",value:function(n){var a=new Phe;return a.id=n.symbol_id,a.builtin=n.builtin,a.filename=n.filename,a.raw=n.raw,a}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Ihe=function r(i){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];(0,v.Z)(this,r),this.index=i,this.nodes=t,this.drawings=n,this.links=a},JA=function(){var r=function(){function i(){(0,v.Z)(this,i),this.layers={}}return(0,g.Z)(i,[{key:"getLayersList",value:function(){var n=this;return Object.keys(this.layers).sort(function(a,o){return Number(a)-Number(o)}).map(function(a){return n.layers[a]})}},{key:"setNodes",value:function(n){var a=this;n.forEach(function(o){a.getLayerForKey(o.z.toString()).nodes.push(o)})}},{key:"setDrawings",value:function(n){var a=this;n.forEach(function(o){a.getLayerForKey(o.z.toString()).drawings.push(o)})}},{key:"setLinks",value:function(n){var a=this;n.filter(function(o){return o.source&&o.target}).forEach(function(o){var s=Math.min(o.source.z,o.target.z).toString();a.getLayerForKey(s).links.push(o)})}},{key:"clear",value:function(){this.layers={}}},{key:"getLayerForKey",value:function(n){return n in this.layers||(this.layers[n]=new Ihe,this.layers[n].index=Number(n)),this.layers[n]}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),nS=function(){var r=function(){function i(){(0,v.Z)(this,i),this.LINK_WIDTH=2}return(0,g.Z)(i,[{key:"linkTranslation",value:function(n,a,o){var d,h,l=o.y-a.y;if(0===l)d=0,h=n;else{var C=Math.atan((o.x-a.x)/l);d=-n*Math.cos(C),h=n*Math.sin(C)}return{dx:d,dy:h}}},{key:"assignDataToLinks",value:function(n){var a=this,o={};n.forEach(function(s,l){var d=s.source.id,h=s.target.id,C=d<h?d+","+h:h+","+d,P=1;C in o?P=o[C].push(l):o[C]=[l],s.distance=P%2==0?P*a.LINK_WIDTH:(1-P)*a.LINK_WIDTH})}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),iy=function(){var r=function(){function i(t,n,a,o,s,l,d,h,C,P){(0,v.Z)(this,i),this.mapNodesDataSource=t,this.mapLinksDataSource=n,this.mapDrawingsDataSource=a,this.mapSymbolsDataSource=o,this.nodeToMapNode=s,this.linkToMapLink=l,this.drawingToMapDrawing=d,this.symbolToMapSymbol=h,this.layersManager=C,this.multiLinkCalculator=P}return(0,g.Z)(i,[{key:"setNodes",value:function(n){var a=this;if(n){var o=n.map(function(s){return a.nodeToMapNode.convert(s)});this.mapNodesDataSource.set(o),this.assignDataToLinks(),this.onDataUpdate()}}},{key:"setLinks",value:function(n){var a=this;if(n){var o=n.map(function(s){return a.linkToMapLink.convert(s)});this.mapLinksDataSource.set(o),this.assignDataToLinks(),this.onDataUpdate()}}},{key:"setDrawings",value:function(n){var a=this;if(n){var o=n.map(function(s){return a.drawingToMapDrawing.convert(s)});this.mapDrawingsDataSource.set(o),this.onDataUpdate()}}},{key:"setSymbols",value:function(n){var a=this;if(n){var o=n.map(function(s){return a.symbolToMapSymbol.convert(s)});this.mapSymbolsDataSource.set(o)}}},{key:"getNodes",value:function(){return this.mapNodesDataSource.getItems()}},{key:"getLinks",value:function(){return this.mapLinksDataSource.getItems()}},{key:"getDrawings",value:function(){return this.mapDrawingsDataSource.getItems()}},{key:"getSymbols",value:function(){return this.mapSymbolsDataSource.getItems()}},{key:"onDataUpdate",value:function(){this.layersManager.clear(),this.layersManager.setNodes(this.getNodes()),this.layersManager.setLinks(this.getLinks()),this.layersManager.setDrawings(this.getDrawings())}},{key:"assignDataToLinks",value:function(){var n={};this.getNodes().forEach(function(a){n[a.id]=a}),this.getLinks().forEach(function(a){var o=a.nodes[0].nodeId,s=a.nodes[1].nodeId;o in n&&(a.source=n[o]),s in n&&(a.target=n[s]),a.source&&a.target&&(a.x=a.source.x+.5*(a.target.x-a.source.x),a.y=a.source.y+.5*(a.target.y-a.source.y))}),this.multiLinkCalculator.assignDataToLinks(this.getLinks())}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(N6),e.LFG(Z6),e.LFG(L6),e.LFG(F6),e.LFG(H6),e.LFG(Yj),e.LFG(YA),e.LFG(Jj),e.LFG(JA),e.LFG(nS))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),QA=function r(i,t){(0,v.Z)(this,r),this.x=i,this.y=t},Qj=function r(i,t){(0,v.Z)(this,r),this.width=i,this.height=t},Rhe=function r(i,t,n){(0,v.Z)(this,r),this.x=i,this.y=t,this.k=n},su=function(){var r=function(){function i(){(0,v.Z)(this,i),this.centerZeroZeroPoint=!0,this.size=new Qj(0,0),this.transformation=new Rhe(0,0,1)}return(0,g.Z)(i,[{key:"getZeroZeroTransformationPoint",value:function(){return this.centerZeroZeroPoint?new QA(this.size.width/2,this.size.height/2):new QA(0,0)}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),rS=function(){var r=function(){function i(){(0,v.Z)(this,i),this.changesDetected=new e.vpe,this.hasBeenDrawn=!1}return(0,g.Z)(i,[{key:"detectChanges",value:function(){this.changesDetected.emit(!0)}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),V6=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"getOptimalSize",value:function(n,a){var o=document.documentElement.clientWidth,s=document.documentElement.clientHeight;return n>o&&(o=n),a>s&&(s=a),new Qj(o,s)}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),ay=function(){var r=function i(){(0,v.Z)(this,i),this.isReadOnly=!1};return r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac=function(t){return new(t||r)}}),r}(),j6=function r(){(0,v.Z)(this,r)},Nhe=function(r){(0,O.Z)(t,r);var i=(0,y.Z)(t);function t(n){var a;return(0,v.Z)(this,t),(a=i.call(this)).datum=n,a}return t}(j6),Zhe=function(r){(0,O.Z)(t,r);var i=(0,y.Z)(t);function t(n){var a;return(0,v.Z)(this,t),(a=i.call(this)).datum=n,a}return t}(j6),Lhe=function(r){(0,O.Z)(t,r);var i=(0,y.Z)(t);function t(n){var a;return(0,v.Z)(this,t),(a=i.call(this)).datum=n,a}return t}(j6),KA=function(){function r(){(0,v.Z)(this,r),this.start=new e.vpe,this.drag=new e.vpe,this.end=new e.vpe}return(0,g.Z)(r,[{key:"call",value:function(t){t.call(this.behaviour())}},{key:"behaviour",value:function(){var n,a,o,t=this;return Nf().on("start",function(s){a=xn.sourceEvent.clientX,o=xn.sourceEvent.clientY,(n=new Nhe(s)).dx=xn.dx,n.dy=xn.dy,n.x=xn.x,n.y=xn.y,t.start.emit(n)}).on("drag",function(s){var l=new Zhe(s);l.dx=xn.sourceEvent.clientX-a,l.dy=xn.sourceEvent.clientY-o,a=xn.sourceEvent.clientX,o=xn.sourceEvent.clientY,t.drag.emit(l)}).on("end",function(s){var l=new Lhe(s);l.dx=xn.x-n.x,l.dy=xn.y-n.y,t.end.emit(l)})}}]),r}(),Fhe=function r(i,t,n){(0,v.Z)(this,r),this.datum=i,this.dx=t,this.dy=n},oy=function(r){(0,O.Z)(t,r);var i=(0,y.Z)(t);function t(){return(0,v.Z)(this,t),i.apply(this,arguments)}return t}(Fhe),Bhe=function r(i,t,n,a,o){(0,v.Z)(this,r),this.datum=i,this.x=t,this.y=n,this.width=a,this.height=o},Uhe=function r(i,t){(0,v.Z)(this,r),this.x=i,this.y=t},Hhe=function r(i,t,n){(0,v.Z)(this,r),this.datum=i,this.x=t,this.y=n},Vhe=function r(i,t,n){(0,v.Z)(this,r),this.savedText=i,this.x=t,this.y=n},jhe=function r(i,t,n){(0,v.Z)(this,r),this.textDrawingId=i,this.editedText=t,this.textElement=n},qhe=function r(i,t){(0,v.Z)(this,r),this.event=i,this.drawing=t},rv=function r(i,t){(0,v.Z)(this,r),this.event=i,this.link=t},zhe=function r(i,t){(0,v.Z)(this,r),this.event=i,this.interfaceLabel=t},Whe=function r(i,t){(0,v.Z)(this,r),this.event=i,this.label=t},Tc=function(){var r=function(){function i(){(0,v.Z)(this,i),this.selection={},this.selected=new e.vpe,this.unselected=new e.vpe}return(0,g.Z)(i,[{key:"setSelected",value:function(n){var a=this,o=this.convertToKeyDict(n),s=Object.keys(o).filter(function(d){return!a.isSelectedByKey(d)}).map(function(d){return o[d]}),l=Object.keys(this.selection).filter(function(d){return!(d in o)}).map(function(d){return a.selection[d]});this.selection=o,s.length>0&&this.selected.emit(s),l.length>0&&this.unselected.emit(l)}},{key:"getSelected",value:function(){var n=this;return Object.keys(this.selection).map(function(a){return n.selection[a]})}},{key:"isSelected",value:function(n){var a=this.getKey(n);return this.isSelectedByKey(a)}},{key:"isSelectedByKey",value:function(n){return n in this.selection}},{key:"getKey",value:function(n){return"".concat(n.constructor.name,"-").concat(n.id)}},{key:"convertToKeyDict",value:function(n){var a=this,o={};return n.forEach(function(s){o[a.getKey(s)]=s}),o}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),iS=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this.cssFixer=t,this.fontFixer=n,this.selectionManager=a,this.mapSettings=o,this.onContextMenu=new e.vpe,this.draggable=new KA,this.enabled=!0}return(0,g.Z)(i,[{key:"setEnabled",value:function(n){this.enabled=n}},{key:"draw",value:function(n){var a=this,o=this,s=n.selectAll("g.link_node_position").data(function(N){return[[N.source,N.nodes[0]],[N.target,N.nodes[1]]]}),l=s.enter().append("g").classed("link_node_position",!0),d=s.merge(l);d.attr("transform",function(N){return"translate(".concat(N[0].x,", ").concat(N[0].y,")")});var h=d.selectAll("g.interface_label_container").data(function(N){return a.enabled?[N[1]]:[]}),C=h.enter().append("g").classed("interface_label_container",!0);C.append("rect").attr("class","interface_label_selection"),C.append("text").attr("class","interface_label noselect").attr("interface_label_id",function(N){return"".concat(N.id)});var P=h.merge(C).on("contextmenu",function(N,q){event.preventDefault(),o.onContextMenu.emit(new zhe(event,N))});P.select("text.interface_label").text(function(N){return N.label.text}).attr("style",function(N){var q=a.cssFixer.fix(N.label.style);return a.fontFixer.fixStyles(q)}).attr("x",function(N){return N.label.x}).attr("y",function(N){return N.label.y}).attr("transform",function(N){return"rotate(".concat(N.label.rotation,", ").concat(N.label.x,", ").concat(N.label.y,")")}),P.select("rect.interface_label_selection").attr("visibility",function(N){return a.selectionManager.isSelected(N)?"visible":"hidden"}).attr("stroke","black").attr("stroke-dasharray","3,3").attr("stroke-width","0.5").attr("fill","none").each(function(N){var q=$r(this),te=P.select('text[interface_label_id="'.concat(N.id,'"]')).node().getBBox();q.attr("width",te.width+4),q.attr("height",te.height+4),q.attr("x",te.x-2),q.attr("y",te.y-2),q.attr("transform","rotate(".concat(N.label.rotation,", ").concat(te.x-2,", ").concat(te.y-2,")"))}),h.exit().remove(),this.mapSettings.isReadOnly||this.draggable.call(P)}}]),i}();return r.SURROUNDING_TEXT_BORDER=5,r.\u0275fac=function(t){return new(t||r)(e.LFG(Jf),e.LFG(Sc),e.LFG(Tc),e.LFG(ay))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Kj=function r(i,t,n,a){(0,v.Z)(this,r),this.x=i,this.y=t,this.width=n,this.height=a},q6=function(){var r=function i(){(0,v.Z)(this,i),this.selected=new Un.xQ};return r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac=function(t){return new(t||r)}}),r}(),XA=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.context=t,this.selectionEventSource=n,this.rectangleSelected=new Un.xQ,this.contextMenuOpened=new e.vpe,this.enabled=!1}return(0,g.Z)(i,[{key:"disableContextMenu",value:function(){}},{key:"setEnabled",value:function(n){this.enabled=n,this.contextMenuOpened.emit(!0)}},{key:"activate",value:function(n){var a=this;n.on("mousedown",function(){if(2==xn.button)return n.on("contextmenu",function(){xn.preventDefault()}),void a.contextMenuOpened.emit(xn);var o=$r(window),s=this.parentElement,l=a.transformation(oo(s));a.startSelection(l),n.selectAll(i.SELECTABLE_CLASS).classed("selected",!1),o.on("mousemove.selection",function(){var d=a.transformation(oo(s));a.moveSelection(l,d)}).on("mouseup.selection",function(){var d=a.transformation(oo(s));a.endSelection(l,d),o.on("mousemove.selection",null).on("mouseup.selection",null)})})}},{key:"deactivate",value:function(n){n.on("mousedown",null)}},{key:"draw",value:function(n,a){var o=n.select("g.canvas");if(!o.select("g.selection-line-tool").node()){var s=o.append("g");s.attr("class","selection-line-tool"),this.path=s.append("path"),this.path.attr("class","selection").attr("visibility","hidden")}var l=o.select("g.selection-line-tool"),d=l.attr("status");"activated"!==d&&this.enabled&&(this.activate(n),l.attr("activated")),"deactivated"!==d&&!this.enabled&&(this.deactivate(n),l.attr("deactivated"))}},{key:"startSelection",value:function(n){this.path.attr("d",this.rect(n[0],n[1],0,0)).attr("visibility","visible")}},{key:"moveSelection",value:function(n,a){var o=n[0]/this.context.transformation.k,s=n[1]/this.context.transformation.k;this.path.attr("d",this.rect(o,s,a[0]/this.context.transformation.k-o,a[1]/this.context.transformation.k-s)),this.selectedEvent(n,a)}},{key:"endSelection",value:function(n,a){this.path.attr("visibility","hidden"),this.selectedEvent(n,a)}},{key:"selectedEvent",value:function(n,a){var o=Math.min(n[0],a[0]),s=Math.min(n[1],a[1]),l=Math.abs(n[0]-a[0]),d=Math.abs(n[1]-a[1]);this.selectionEventSource.selected.next(new Kj(o,s,l,d))}},{key:"rect",value:function(n,a,o,s){return"M"+[n,a]+" l"+[o,0]+" l"+[0,s]+" l"+[-o,0]+"z"}},{key:"transformation",value:function(n){var a=this.context.getZeroZeroTransformationPoint();return[n[0]-a.x-this.context.transformation.x,n[1]-a.y-this.context.transformation.y]}}]),i}();return r.SELECTABLE_CLASS=".selectable",r.\u0275fac=function(t){return new(t||r)(e.LFG(su),e.LFG(q6))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),z6=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.context=t,this.enabled=!1,this.needsDeactivate=!1,this.needsActivate=!1,this.zoom=SH().scaleExtent([.5,8])}return(0,g.Z)(i,[{key:"setEnabled",value:function(n){this.enabled!=n&&(n?this.needsActivate=!0:this.needsDeactivate=!0),this.enabled=n}},{key:"draw",value:function(n,a){this.needsActivate&&(this.activate(n),this.needsActivate=!1),this.needsDeactivate&&(this.deactivate(n),this.needsDeactivate=!1)}},{key:"activate",value:function(n){var a=this;this.zoom.filter(function(){return"mousedown"===xn.type}),this.zoom.on("zoom",function(){var l=n.select("g.canvas"),d=xn;l.attr("transform",function(){a.context.transformation.x=d.transform.x,a.context.transformation.y=d.transform.y,a.context.transformation.k=d.transform.k;var h=a.context.getZeroZeroTransformationPoint().x+a.context.transformation.x,C=a.context.getZeroZeroTransformationPoint().y+a.context.transformation.y,P=a.context.transformation.k;return"translate(".concat(h,", ").concat(C,") scale(").concat(P,")")})}),n.call(this.zoom)}},{key:"deactivate",value:function(n){n.on("mousedown.zoom",null),this.zoom.on("zoom",null)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(su))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Ghe=function r(i,t){(0,v.Z)(this,r),this.event=i,this.node=t},Xj=function(r){(0,O.Z)(t,r);var i=(0,y.Z)(t);function t(){return(0,v.Z)(this,t),i.apply(this,arguments)}return t}(Ghe),$A=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this.cssFixer=t,this.fontFixer=n,this.selectionManager=a,this.mapSettings=o,this.onContextMenu=new e.vpe,this.draggable=new KA}return(0,g.Z)(i,[{key:"redrawLabel",value:function(n,a){this.drawLabel(this.selectLabel(n,a))}},{key:"draw",value:function(n){var a=this,o=n.selectAll("g.label_container").data(function(d){return[d.label]}),s=o.enter().append("g").attr("class","label_container").attr("label_id",function(d){return d.id}),l=o.merge(s).on("contextmenu",function(d,h){event.preventDefault(),a.onContextMenu.emit(new Whe(event,d))});this.drawLabel(l),o.exit().remove(),this.mapSettings.isReadOnly||this.draggable.call(o)}},{key:"drawLabel",value:function(n){var a=this,o=n.selectAll("g.label_body").data(function(d){return[d]}),s=o.enter().append("g").attr("class","label_body");s.append("text").attr("class","label"),s.append("rect").attr("class","label_selection");var l=o.merge(s);l.select("text.label").attr("label_id",function(d){return d.id}).attr("style",function(d){var h=a.cssFixer.fix(d.style);return a.fontFixer.fixStyles(h)}).text(function(d){return d.text}).attr("x",function(d){return d.x}).attr("y",function(d){return d.y}).attr("transform",function(d){return"rotate(".concat(d.rotation,", ").concat(d.x,", ").concat(d.y,")")}),l.select("rect.label_selection").attr("visibility",function(d){return a.selectionManager.isSelected(d)?"visible":"hidden"}).attr("stroke","black").attr("stroke-dasharray","3,3").attr("stroke-width","0.5").attr("fill","none").each(function(d){var h=$r(this),P=l.select('text[label_id="'.concat(d.id,'"]')).node().getBBox();h.attr("width",P.width+4),h.attr("height",P.height+4),h.attr("x",P.x-2),h.attr("y",P.y-2),h.attr("transform","rotate(".concat(d.rotation,",  ").concat(d.x,", ").concat(d.y,")"))})}},{key:"selectLabel",value:function(n,a){return n.selectAll('g.label_container[label_id="'.concat(a.id,'"]'))}}]),i}();return r.NODE_LABEL_MARGIN=3,r.\u0275fac=function(t){return new(t||r)(e.LFG(Jf),e.LFG(Sc),e.LFG(Tc),e.LFG(ay))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),iv=function(){var r=function i(){(0,v.Z)(this,i),this.dragged=new e.vpe,this.labelDragged=new e.vpe,this.clicked=new e.vpe};return r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac=function(t){return new(t||r)}}),r}(),Nu=function(){var r=function(){function i(){(0,v.Z)(this,i),this.symbolScalingSubject=new Un.xQ,this.isScrollDisabled=new Un.xQ,this.isMapLocked=new Un.xQ,this.isTopologySummaryVisible=!0,this.isLogConsoleVisible=!1,this.isLayerNumberVisible=!1,this.logConsoleSubject=new Un.xQ,this.mapRenderedEmitter=new e.vpe,this.showInterfaceLabels=!0,this.integrateLinkLabelsToLinks=!0,this.openConsolesInWidget=!1,this.isLayerNumberVisible="true"===localStorage.getItem("layersVisibility"),localStorage.getItem("integrateLinkLabelsToLinks")&&(this.integrateLinkLabelsToLinks="true"===localStorage.getItem("integrateLinkLabelsToLinks")),localStorage.getItem("openConsolesInWidget")&&(this.openConsolesInWidget="true"===localStorage.getItem("openConsolesInWidget")),localStorage.getItem("symbolScaling")?localStorage.getItem("symbolScaling"):localStorage.setItem("symbolScaling","true")}return(0,g.Z)(i,[{key:"getSymbolScaling",value:function(){return"true"===localStorage.getItem("symbolScaling")}},{key:"setSymbolScaling",value:function(n){n?localStorage.setItem("symbolScaling","true"):localStorage.setItem("symbolScaling","false"),this.symbolScalingSubject.next(n)}},{key:"changeMapLockValue",value:function(n){this.isMapLocked.next(n)}},{key:"setConsoleContextMenuAction",value:function(n){localStorage.setItem("consoleContextMenu",n)}},{key:"getConsoleContextManuAction",value:function(){return localStorage.getItem("consoleContextMenu")}},{key:"toggleTopologySummary",value:function(n){this.isTopologySummaryVisible=n}},{key:"toggleLogConsole",value:function(n){this.isLogConsoleVisible=n}},{key:"toggleLayers",value:function(n){this.isLayerNumberVisible=n}},{key:"toggleShowInterfaceLabels",value:function(n){this.showInterfaceLabels=n}},{key:"toggleIntegrateInterfaceLabels",value:function(n){this.integrateLinkLabelsToLinks=n,localStorage.removeItem("integrateLinkLabelsToLinks"),n?localStorage.setItem("integrateLinkLabelsToLinks","true"):localStorage.setItem("integrateLinkLabelsToLinks","false")}},{key:"toggleOpenConsolesInWidget",value:function(n){this.openConsolesInWidget=n,localStorage.removeItem("openConsolesInWidget"),n?localStorage.setItem("openConsolesInWidget","true"):localStorage.setItem("openConsolesInWidget","false")}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r}(),W6=function(){var r=function(){function i(t,n,a,o,s){(0,v.Z)(this,i),this.graphDataManager=t,this.selectionManager=n,this.labelWidget=a,this.nodesEventSource=o,this.mapSettingsService=s,this.onContextMenu=new e.vpe,this.onContextConsoleMenu=new e.vpe,this.onNodeClicked=new e.vpe}return(0,g.Z)(i,[{key:"draw",value:function(n){var a=this,o=this,s=n.selectAll("g.node_body").data(function(h){return[h]}),l=s.enter().append("g").attr("class","node_body");l.append("image");var d=s.merge(l).classed("selected",function(h){return a.selectionManager.isSelected(h)}).on("click",function(h){a.nodesEventSource.clicked.emit(new Hhe(h,xn.pageX,xn.pageY))});d.select(".layer_label_wrapper").remove(),this.mapSettingsService.isLayerNumberVisible&&d.append("rect").attr("class","layer_label_wrapper").attr("width","26").attr("height","26").attr("x",function(h){return h.width/2-13}).attr("y",function(h){return h.height/2-13}).attr("fill","red"),d.select(".layer_label").remove(),this.mapSettingsService.isLayerNumberVisible&&d.append("text").attr("class","layer_label").text(function(h){return h.z}).attr("x",function(h){return h.z>=100?h.width/2-13:h.z>=10?h.width/2-9:h.width/2-5}).attr("y",function(h){return h.height/2+5}).attr("style",function(){var h=[];return h.push('font-family: "Noto Sans"'),h.push("font-size: 11pt"),h.push("font-weight: bold"),h.join("; ")}).attr("fill","#ffffff"),d.select("image").on("contextmenu",function(h,C){xn.preventDefault(),o.onContextMenu.emit(new Xj(xn,h))}).on("dblclick",function(h,C){xn.preventDefault(),o.onContextConsoleMenu.emit(new Xj(xn,h))}).attr("xnode:href",function(h){return h.symbolUrl}).attr("width",function(h){return h.width?h.width:60}).attr("height",function(h){return h.height?h.height:60}).attr("x",function(h){return 0}).attr("y",function(h){return 0}).on("mouseover",function(h){$r(this).attr("class","over")}).on("mouseout",function(h){$r(this).attr("class","")}),d.attr("transform",function(h){return h.width?"translate(".concat(h.x,",").concat(h.y,")"):"translate(".concat(h.x-30,",").concat(h.y-30,")")}),this.labelWidget.draw(d)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(iy),e.LFG(Tc),e.LFG($A),e.LFG(iv),e.LFG(Nu))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),e2=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.nodeWidget=t,this.mapSettings=n,this.draggable=new KA}return(0,g.Z)(i,[{key:"redrawNode",value:function(n,a){this.nodeWidget.draw(this.selectNode(n,a))}},{key:"draw",value:function(n){var a=n.selectAll("g.node").data(function(l){return l.nodes?l.nodes:[]},function(l){return l.id}),o=a.enter().append("g").attr("class","node").attr("node_id",function(l){return l.id}),s=a.merge(o);this.nodeWidget.draw(s),a.exit().remove(),this.mapSettings.isReadOnly||this.draggable.call(s)}},{key:"selectNode",value:function(n,a){return n.selectAll('g.node[node_id="'.concat(a.id,'"]'))}}]),i}();return r.NODE_LABEL_MARGIN=3,r.\u0275fac=function(t){return new(t||r)(e.LFG(W6),e.LFG(ay))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Yhe=function r(){(0,v.Z)(this,r)},G6=function(){var r=function(){function i(){(0,v.Z)(this,i),this.drawingLine=new Yhe,this.drawing=!1,this.data={}}return(0,g.Z)(i,[{key:"start",value:function(n,a,o){var s=this;this.drawing=!0,this.data=o,this.drawingLine.start=new QA(n,a),this.drawingLine.end=new QA(n,a),this.selection.on("mousemove",function(h,C){var N=oo(s.selection.select("g.canvas").node());s.drawingLine.end.x=N[0],s.drawingLine.end.y=N[1],s.draw(null,null)}),this.draw(null,null)}},{key:"isDrawing",value:function(){return this.drawing}},{key:"stop",value:function(){return this.drawing=!1,this.selection.on("mousemove",null),this.draw(null,null),this.data}},{key:"connect",value:function(n,a){this.selection=n}},{key:"draw",value:function(n,a){var o=this.selection.select("g.canvas");o.select("g.drawing-line-tool").node()||o.append("g").attr("class","drawing-line-tool");var s=[];this.drawing&&(s=[[[this.drawingLine.start.x,this.drawingLine.start.y],[this.drawingLine.end.x,this.drawingLine.end.y]]]);var l=tA(),h=this.selection.select("g.drawing-line-tool").selectAll("path").data(s),C=h.enter().append("path");h.merge(C).attr("d",l).attr("stroke","#000").attr("stroke-width","2"),h.exit().remove()}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),$j=function r(i,t,n,a){(0,v.Z)(this,r),this.x=i,this.y=t,this.status=n,this.port=a},eq=function(){var r=function(){function i(t){(0,v.Z)(this,i),this._mapSettingsService=t,this.mapSettingsService=t}return(0,g.Z)(i,[{key:"draw",value:function(n){var a=this,o=[];n.each(function(s){o.push(s)}),o.forEach(function(s){o.forEach(function(l){l.nodes[0].linkId!==s.nodes[0].linkId&&(s.nodes[0].nodeId===l.nodes[0].nodeId&&s.nodes[1].nodeId===l.nodes[1].nodeId||s.nodes[0].nodeId===l.nodes[1].nodeId&&s.nodes[1].nodeId===l.nodes[0].nodeId||s.nodes[1].nodeId===l.nodes[0].nodeId&&s.nodes[0].nodeId===l.nodes[1].nodeId)&&(s.isMultiplied=!0)})}),n.each(function(s){var l=$r(this),d=l.select("path"),h=[];if(d.node()){var C=d.node().getPointAtLength(80),P=d.node().getPointAtLength(d.node().getTotalLength()-80);if(d.node().getTotalLength()>220&&s.source&&s.target){var N=s.nodes.find(function(tn){return tn.nodeId===s.source.id}).label.text,q=s.nodes.find(function(tn){return tn.nodeId===s.target.id}).label.text;h=[new $j(C.x,C.y,s.capturing&&s.suspend?"suspended":s.source.status,N),new $j(P.x,P.y,s.capturing&&s.suspend?"suspended":s.target.status,q)]}}if(l.selectAll("circle.status_started").remove(),l.selectAll("circle.status_stopped").remove(),l.selectAll("circle.status_suspended").remove(),l.selectAll("rect.status_started").remove(),l.selectAll("text.status_started_label").remove(),l.selectAll("rect.status_stopped").remove(),l.selectAll("text.status_stopped_label").remove(),l.selectAll("rect.status_suspended").remove(),l.selectAll("text.status_suspended_label").remove(),a.mapSettingsService.showInterfaceLabels&&a.mapSettingsService.integrateLinkLabelsToLinks&&!s.isMultiplied){var Q=l.selectAll("rect.status_started").data(h.filter(function(tn){return"started"===tn.status})),te=Q.enter().append("rect");Q.merge(te).attr("class","status_started").attr("width",function(tn){return 8*tn.port.length+10}).attr("height",20).attr("x",function(tn){return tn.x-30}).attr("y",function(tn){return tn.y-10}).attr("rx",8).attr("ry",8).style("fill","white").attr("stroke","#2ecc71").attr("stroke-width",3),Q.exit().remove();var se=l.selectAll("text.status_started_label").data(h.filter(function(tn){return"started"===tn.status})),Te=se.enter().append("text");se.merge(Te).attr("class","status_started_label").text(function(tn){return tn.port}).attr("x",function(tn){return tn.x-25}).attr("y",function(tn){return tn.y+5}).attr("fill","black"),se.exit().remove();var $e=l.selectAll("rect.status_stopped").data(h.filter(function(tn){return"stopped"===tn.status})),ze=$e.enter().append("rect");$e.merge(ze).attr("class","status_stopped").attr("width",function(tn){return 8*tn.port.length+10}).attr("height",20).attr("x",function(tn){return tn.x-30}).attr("y",function(tn){return tn.y-10}).attr("rx",8).attr("ry",8).style("fill","white").attr("stroke","red").attr("stroke-width",3),$e.exit().remove();var rt=l.selectAll("text.status_stopped_label").data(h.filter(function(tn){return"stopped"===tn.status})),dt=rt.enter().append("text");rt.merge(dt).attr("class","status_stopped_label").text(function(tn){return tn.port}).attr("x",function(tn){return tn.x-25}).attr("y",function(tn){return tn.y+5}).attr("fill","black"),rt.exit().remove();var Dt=l.selectAll("rect.status_suspended").data(h.filter(function(tn){return"suspended"===tn.status})),St=Dt.enter().append("rect");Dt.merge(St).attr("class","status_suspended").attr("width",function(tn){return 8*tn.port.length+10}).attr("height",20).attr("x",function(tn){return tn.x-30}).attr("y",function(tn){return tn.y-10}).attr("rx",8).attr("ry",8).style("fill","white").attr("stroke","#FFFF00").attr("stroke-width",3),Dt.exit().remove();var at=l.selectAll("text.status_suspended_label").data(h.filter(function(tn){return"suspended"===tn.status})),ut=at.enter().append("text");at.merge(ut).attr("class","status_suspended_label").text(function(tn){return tn.port}).attr("x",function(tn){return tn.x-25}).attr("y",function(tn){return tn.y+5}).attr("fill","black"),at.exit().remove()}else{var Wt=l.selectAll("circle.status_started").data(h.filter(function(tn){return"started"===tn.status})),qt=Wt.enter().append("circle");Wt.merge(qt).attr("class","status_started").attr("cx",function(tn){return tn.x}).attr("cy",function(tn){return tn.y}).attr("r",6).attr("text",function(tn){return tn.port}).attr("fill","#2ecc71"),Wt.exit().remove();var it=l.selectAll("rect.status_stopped").data(h.filter(function(tn){return"stopped"===tn.status})),It=it.enter().append("rect");it.merge(It).attr("class","status_stopped").attr("x",function(tn){return tn.x-5}).attr("y",function(tn){return tn.y-5}).attr("width",10).attr("height",10).attr("fill","red"),it.exit().remove();var mn=l.selectAll("circle.status_suspended").data(h.filter(function(tn){return"suspended"===tn.status})),Sn=mn.enter().append("circle");mn.merge(Sn).attr("class","status_suspended").attr("cx",function(tn){return tn.x}).attr("cy",function(tn){return tn.y}).attr("r",6).attr("fill","#FFFF00"),mn.exit().remove()}})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(Nu))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Jhe=function r(i,t){(0,v.Z)(this,r),this.source=i,this.target=t},Y6=function(){var r=function(){function i(){(0,v.Z)(this,i),this.onContextMenu=new e.vpe}return(0,g.Z)(i,[{key:"linktoEthernetLink",value:function(n){return new Jhe([n.source.x+n.source.width/2,n.source.y+n.source.height/2],[n.target.x+n.target.width/2,n.target.y+n.target.height/2])}},{key:"draw",value:function(n){var a=this,o=n.selectAll("path.ethernet_link").data(function(d){return"ethernet"===d.linkType?[a.linktoEthernetLink(d)]:[]}),s=o.enter().append("path").attr("class","ethernet_link").on("contextmenu",function(d){var C=event;a.onContextMenu.emit(new rv(C,d))});s.attr("stroke","#000").attr("stroke-width","2").on("contextmenu",function(d){var C=event;a.onContextMenu.emit(new rv(C,d))}),o.merge(s).attr("d",function(d){var h=hc();return h.moveTo(d.source[0],d.source[1]),h.lineTo(d.target[0],d.target[1]),h.toString()})}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Qhe=function r(i,t,n,a){(0,v.Z)(this,r),this.source=i,this.source_angle=t,this.target_angle=n,this.target=a},J6=function(){var r=function(){function i(){(0,v.Z)(this,i),this.onContextMenu=new e.vpe}return(0,g.Z)(i,[{key:"linkToSerialLink",value:function(n){var a={x:n.source.x+n.source.width/2,y:n.source.y+n.source.height/2},o={x:n.target.x+n.target.width/2,y:n.target.y+n.target.height/2},s=o.x-a.x,l=o.y-a.y,d=Math.atan2(l,s),h=-Math.PI/4,C=[Math.cos(d+h),Math.sin(d+h)];return new Qhe([a.x,a.y],[a.x+s/2+15*C[0],a.y+l/2+15*C[1]],[o.x-s/2-15*C[0],o.y-l/2-15*C[1]],[o.x,o.y])}},{key:"draw",value:function(n){var a=this,o=n.selectAll("path.serial_link").data(function(d){return"serial"===d.linkType?[a.linkToSerialLink(d)]:[]}),s=o.enter().append("path").attr("class","serial_link").on("contextmenu",function(d){var C=event;a.onContextMenu.emit(new rv(C,d))});s.attr("stroke","#B22222").attr("fill","none").attr("stroke-width","2"),o.merge(s).attr("d",function(d){var h=hc();return h.moveTo(d.source[0],d.source[1]),h.lineTo(d.source_angle[0],d.source_angle[1]),h.lineTo(d.target_angle[0],d.target_angle[1]),h.lineTo(d.target[0],d.target[1]),h.toString()})}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Q6=function(){var r=function(){function i(t,n,a,o,s,l){(0,v.Z)(this,i),this.multiLinkCalculatorHelper=t,this.interfaceLabelWidget=n,this.interfaceStatusWidget=a,this.selectionManager=o,this.ethernetLinkWidget=s,this.serialLinkWidget=l,this.onContextMenu=new e.vpe}return(0,g.Z)(i,[{key:"draw",value:function(n){var a=this,o=n.selectAll("g.link_body").data(function(d){return[d]}),s=o.enter().append("g").attr("class","link_body"),l=o.merge(s).attr("transform",function(d){var h=a.multiLinkCalculatorHelper.linkTranslation(d.distance,d.source,d.target);return"translate (".concat(h.dx,", ").concat(h.dy,")")});o.select(".capture-icon").remove(),o.filter(function(d){return d.capturing&&!d.suspend&&!(d.filters.bpf||d.filters.corrupt||d.filters.delay||d.filters.frequency_drop||d.filters.packet_loss)}).append("g").on("contextmenu",function(d){a.onContextMenu.emit(new rv(xn,d))}).attr("class","capture-icon").attr("transform",function(d){return"translate (".concat((d.source.x+d.target.x)/2+24,", ").concat((d.source.y+d.target.y)/2+24,") scale(0.5)")}).attr("viewBox","0 0 20 20").append("image").attr("xlink:href","assets/resources/images/inspect.svg"),o.select(".filter-capture-icon").remove(),o.filter(function(d){return d.capturing&&!d.suspend&&(d.filters.bpf||d.filters.corrupt||d.filters.delay||d.filters.frequency_drop||d.filters.packet_loss)}).append("g").on("contextmenu",function(d){a.onContextMenu.emit(new rv(xn,d))}).attr("class","filter-capture-icon").attr("transform",function(d){return"translate (".concat((d.source.x+d.target.x)/2+24,", ").concat((d.source.y+d.target.y)/2+24,") scale(0.5)")}).attr("viewBox","0 0 20 20").append("image").attr("xlink:href","assets/resources/images/filter-capture.svg"),o.select(".filter-icon").remove(),o.filter(function(d){return!d.capturing&&(d.filters.bpf||d.filters.corrupt||d.filters.delay||d.filters.frequency_drop||d.filters.packet_loss)}).append("g").on("contextmenu",function(d){a.onContextMenu.emit(new rv(xn,d))}).attr("class","filter-icon").attr("width","48px").attr("height","48px").attr("transform",function(d){return"translate (".concat((d.source.x+d.target.x)/2+24,", ").concat((d.source.y+d.target.y)/2+24,") scale(0.5)")}).attr("viewBox","0 0 20 20").append("image").attr("width","48px").attr("height","48px").attr("xlink:href","assets/resources/images/filter.svg"),o.select(".pause-icon").remove(),o.filter(function(d){return d.capturing&&d.suspend&&!(d.filters.bpf||d.filters.corrupt||d.filters.delay||d.filters.frequency_drop||d.filters.packet_loss)}).append("g").on("contextmenu",function(d){a.onContextMenu.emit(new rv(xn,d))}).attr("class","pause-icon").attr("transform",function(d){return"translate (".concat((d.source.x+d.target.x)/2+24,", ").concat((d.source.y+d.target.y)/2+24,") scale(0.5)")}).attr("viewBox","0 0 20 20").append("image").attr("xlink:href","assets/resources/images/pause.svg"),this.serialLinkWidget.draw(l),this.ethernetLinkWidget.draw(l),l.select("path").classed("selected",function(d){return a.selectionManager.isSelected(d)}),this.interfaceLabelWidget.draw(l),this.interfaceStatusWidget.draw(l)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(nS),e.LFG(iS),e.LFG(eq),e.LFG(Tc),e.LFG(Y6),e.LFG(J6))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),K6=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.multiLinkCalculatorHelper=t,this.linkWidget=n}return(0,g.Z)(i,[{key:"redrawLink",value:function(n,a){this.linkWidget.draw(this.selectLink(n,a))}},{key:"draw",value:function(n){var a=this,o=n.selectAll("g.link").data(function(d){if(d.links){var h=d.links.filter(function(C){return C.target&&C.source});return a.multiLinkCalculatorHelper.assignDataToLinks(h),h}return[]},function(d){return d.id}),s=o.enter().append("g").attr("class","link").attr("link_id",function(d){return d.id}).attr("map-source",function(d){return d.source.id}).attr("map-target",function(d){return d.target.id}),l=o.merge(s);this.linkWidget.draw(l),o.exit().remove()}},{key:"selectLink",value:function(n,a){return n.selectAll('g.link[link_id="'.concat(a.id,'"]'))}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(nS),e.LFG(Q6))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Khe=function r(){(0,v.Z)(this,r)},Ma=function r(){(0,v.Z)(this,r)},Xhe=function(){function r(){(0,v.Z)(this,r)}return(0,g.Z)(r,[{key:"convert",value:function(t){var n=new Ma,a=t.attributes.getNamedItem("fill");a&&(n.fill=a.value);var o=t.attributes.getNamedItem("fill-opacity");a&&(n.fill_opacity=parseFloat(o.value));var s=t.attributes.getNamedItem("stroke");s&&(n.stroke=s.value);var l=t.attributes.getNamedItem("stroke-width");s&&(n.stroke_width=parseInt(l.value,10));var d=t.attributes.getNamedItem("stroke-dasharray");d&&(n.stroke_dasharray=d.value);var h=t.attributes.getNamedItem("cx");h&&(n.cx=parseInt(h.value,10));var C=t.attributes.getNamedItem("cy");C&&(n.cy=parseInt(C.value,10));var P=t.attributes.getNamedItem("rx");P&&(n.rx=parseInt(P.value,10));var N=t.attributes.getNamedItem("ry");return N&&(n.ry=parseInt(N.value,10)),n}}]),r}(),t2=function r(){(0,v.Z)(this,r)},$he=function(){function r(){(0,v.Z)(this,r)}return(0,g.Z)(r,[{key:"convert",value:function(t){var n=new t2,a=t.attributes.getNamedItem("xlink:href");a&&(n.data=a.value);var o=t.attributes.getNamedItem("width");o&&(n.width=parseInt(o.value,10));var s=t.attributes.getNamedItem("height");return s&&(n.height=parseInt(s.value,10)),n}}]),r}(),av=function r(){(0,v.Z)(this,r)},eme=function(){function r(){(0,v.Z)(this,r)}return(0,g.Z)(r,[{key:"convert",value:function(t){var n=new av,a=t.attributes.getNamedItem("stroke");a&&(n.stroke=a.value);var o=t.attributes.getNamedItem("stroke-width");a&&(n.stroke_width=parseInt(o.value,10));var s=t.attributes.getNamedItem("stroke-dasharray");s&&(n.stroke_dasharray=s.value);var l=t.attributes.getNamedItem("x1");l&&(n.x1=parseInt(l.value,10));var d=t.attributes.getNamedItem("x2");d&&(n.x2=parseInt(d.value,10));var h=t.attributes.getNamedItem("y1");h&&(n.y1=parseInt(h.value,10));var C=t.attributes.getNamedItem("y2");return C&&(n.y2=parseInt(C.value,10)),n}}]),r}(),Tp=function r(){(0,v.Z)(this,r)},tme=function(){function r(){(0,v.Z)(this,r)}return(0,g.Z)(r,[{key:"convert",value:function(t){var n=new Tp,a=t.attributes.getNamedItem("fill");a&&(n.fill=a.value);var o=t.attributes.getNamedItem("fill-opacity");a&&(n.fill_opacity=parseFloat(o.value));var s=t.attributes.getNamedItem("stroke");s&&(n.stroke=s.value);var l=t.attributes.getNamedItem("stroke-width");s&&(n.stroke_width=parseInt(l.value,10));var d=t.attributes.getNamedItem("stroke-dasharray");d&&(n.stroke_dasharray=d.value);var h=t.attributes.getNamedItem("width");h&&(n.width=parseInt(h.value,10));var C=t.attributes.getNamedItem("height");return C&&(n.height=parseInt(C.value,10)),n}}]),r}(),ov=function r(){(0,v.Z)(this,r)},nme=function(){function r(){(0,v.Z)(this,r)}return(0,g.Z)(r,[{key:"convert",value:function(t){var n=new ov;n.text=t.textContent;var a=t.attributes.getNamedItem("fill");a&&(n.fill=a.value);var o=t.attributes.getNamedItem("fill-opacity");o&&(n.fill_opacity=parseFloat(o.value));var s=t.attributes.getNamedItem("font-family");s&&(n.font_family=s.value);var l=t.attributes.getNamedItem("font-size");l&&(n.font_size=+l.value);var d=t.attributes.getNamedItem("font-weight");d&&(n.font_weight=d.value);var h=t.attributes.getNamedItem("text-decoration");return h&&(n.text_decoration=h.value),n}}]),r}(),aS=function(){var r=function(){function i(){(0,v.Z)(this,i),this.parser=new DOMParser,this.elementParsers={text:new nme,image:new $he,rect:new tme,line:new eme,ellipse:new Xhe}}return(0,g.Z)(i,[{key:"supportedTags",value:function(){return Object.keys(this.elementParsers)}},{key:"convert",value:function(n){var o=this.parser.parseFromString(n,"text/xml").getElementsByTagName("svg");if(1!==o.length)throw new Error("Cannot locate svg element root in '".concat(n,"'"));var s=o[0],l=null,d=null;for(var h in s.children){var C=(d=s.children[h]).nodeName;if(C in this.elementParsers){l=this.elementParsers[C];break}}if(null===l)throw new Error("Cannot find parser for '".concat(n,"'"));var P=l.convert(d);return P.width=+s.getAttribute("width"),P.height=+s.getAttribute("height"),P}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),tq=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.fontFixer=t}return(0,g.Z)(i,[{key:"draw",value:function(n){var a=this,o=n.selectAll("text.text_element").data(function(P){return P.element&&P.element instanceof ov?[P.element]:[]}),s=o.enter().append("text").attr("class","text_element noselect"),l=o.merge(s);l.attr("style",function(P){var N=a.fontFixer.fix(P),q=[];return N.font_family&&q.push('font-family: "'.concat(P.font_family,'"')),N.font_size&&q.push("font-size: ".concat(P.font_size,"pt")),N.font_weight&&q.push("font-weight: ".concat(P.font_weight)),q.join("; ")}).attr("fill",function(P){return P.fill}).attr("text-decoration",function(P){return P.text_decoration});var d=l.selectAll("tspan").data(function(P){return P.text.split(/\r?\n/)}),h=d.enter().append("tspan");d.merge(h).text(function(P){return P}).attr("xml:space","preserve").attr("x",0).attr("dy",function(P,N){return 0===N?"0em":"1.4em"}),d.exit().remove(),l.attr("transform",function(){var P=$r(this).selectAll("tspan"),N=this.getBBox().height/P.size();return"translate(".concat(i.MARGIN,", ").concat(N-i.MARGIN,")")}),o.exit().remove()}}]),i}();return r.MARGIN=4,r.\u0275fac=function(t){return new(t||r)(e.LFG(Sc))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),nq=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"draw",value:function(n){var a=n.selectAll("image.image_element").data(function(l){return l.element&&l.element instanceof t2?[l.element]:[]}),o=a.enter().append("image").attr("class","image_element noselect");a.merge(o).attr("xlink:href",function(l){return l.data}).attr("width",function(l){return l.width}).attr("height",function(l){return l.height}),a.exit().remove()}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),sv=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"fix",value:function(n){return n in i.MAPPING?i.MAPPING[n]:n}}]),i}();return r.MAPPING={"25, 25":"10, 2","5, 25":"4, 2","5, 25, 25":"5, 5, 1, 5","25, 25, 5, 25, 5":"5, 2, 5, 2, 5"},r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),rq=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.qtDasharrayFixer=t}return(0,g.Z)(i,[{key:"draw",value:function(n){var a=this,o=n.selectAll("rect.rect_element").data(function(d){return d.element&&d.element instanceof Tp?[d.element]:[]});o.enter().append("line").attr("class","top"),o.enter().append("line").attr("class","bottom"),o.enter().append("line").attr("class","right"),o.enter().append("line").attr("class","left");var s=o.enter().append("rect").attr("class","rect_element noselect");o.merge(s).attr("fill",function(d){return d.fill}).attr("fill-opacity",function(d){return d.fill_opacity}).attr("stroke",function(d){return d.stroke}).attr("stroke-width",function(d){return d.stroke_width}).attr("stroke-dasharray",function(d){return a.qtDasharrayFixer.fix(d.stroke_dasharray)}).attr("width",function(d){return d.width}).attr("height",function(d){return d.height}),o.exit().remove()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(sv))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),iq=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.qtDasharrayFixer=t}return(0,g.Z)(i,[{key:"draw",value:function(n){var a=this,o=n.selectAll("line.line_element").data(function(d){return d.element&&d.element instanceof av?[d.element]:[]});o.enter().append("circle").attr("class","right"),o.enter().append("circle").attr("class","left");var s=o.enter().append("line").attr("class","line_element noselect");o.merge(s).attr("stroke",function(d){return d.stroke}).attr("stroke-width",function(d){return d.stroke_width}).attr("stroke-dasharray",function(d){return a.qtDasharrayFixer.fix(d.stroke_dasharray)}).attr("x1",function(d){return d.x1}).attr("x2",function(d){return d.x2}).attr("y1",function(d){return d.y1}).attr("y2",function(d){return d.y2}),o.exit().remove()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(sv))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),aq=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.qtDasharrayFixer=t}return(0,g.Z)(i,[{key:"draw",value:function(n){var a=this,o=n.selectAll("ellipse.ellipse_element").data(function(d){return d.element&&d.element instanceof Ma?[d.element]:[]});o.enter().append("line").attr("class","top"),o.enter().append("line").attr("class","bottom"),o.enter().append("line").attr("class","right"),o.enter().append("line").attr("class","left");var s=o.enter().append("ellipse").attr("class","ellipse_element noselect");o.merge(s).attr("fill",function(d){return d.fill}).attr("fill-opacity",function(d){return d.fill_opacity}).attr("stroke",function(d){return d.stroke}).attr("stroke-width",function(d){return d.stroke_width}).attr("stroke-dasharray",function(d){return a.qtDasharrayFixer.fix(d.stroke_dasharray)}).attr("cx",function(d){return d.cx}).attr("cy",function(d){return d.cy}).attr("rx",function(d){return d.rx}).attr("ry",function(d){return d.ry}),o.exit().remove()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(sv))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),oq=function(){var r=function(){function i(t,n,a,o,s,l,d){(0,v.Z)(this,i),this.textDrawingWidget=t,this.imageDrawingWidget=n,this.rectDrawingWidget=a,this.lineDrawingWidget=o,this.ellipseDrawingWidget=s,this.selectionManager=l,this.mapSettingsService=d,this.drawingWidgets=[],this.drawingWidgets=[this.textDrawingWidget,this.imageDrawingWidget,this.rectDrawingWidget,this.lineDrawingWidget,this.ellipseDrawingWidget]}return(0,g.Z)(i,[{key:"draw",value:function(n){var a=this,o=n.selectAll("g.drawing_body").data(function(d){return[d]}),s=o.enter().append("g").attr("class","drawing_body"),l=o.merge(s).attr("transform",function(d){return"translate(".concat(d.x,",").concat(d.y,") rotate(").concat(d.rotation,")")});this.drawingWidgets.forEach(function(d){d.draw(l)}),l.select(".layer_label_wrapper").remove(),this.mapSettingsService.isLayerNumberVisible&&l.filter(function(d){return d.element instanceof Tp||d.element instanceof Ma}).append("rect").attr("class","layer_label_wrapper").attr("width","26").attr("height","26").attr("x",function(d){return d.element?d.element.width/2-13:0}).attr("y",function(d){return d.element?d.element.height/2-13:0}).attr("fill","red"),l.select(".layer_label").remove(),this.mapSettingsService.isLayerNumberVisible&&l.filter(function(d){return d.element instanceof Tp||d.element instanceof Ma}).append("text").attr("class","layer_label").text(function(d){return d.z}).attr("x",function(d){return d.z>=100?d.element?d.element.width/2-13:0:d.z>=10?d.element?d.element.width/2-9:0:d.element.width/2-5}).attr("y",function(d){return d.element?d.element.height/2+5:0}).attr("style",function(){var d=[];return d.push('font-family: "Noto Sans"'),d.push("font-size: 11pt"),d.push("font-weight: bold"),d.join("; ")}).attr("fill","#ffffff"),l.select("line.top").attr("stroke","transparent").attr("stroke-width","8px").attr("x1",function(d){return d.element instanceof Ma?d.element.cx-d.element.width/10:"0"}).attr("x2",function(d){return d.element instanceof Ma?d.element.cx+d.element.width/10:d.element.width}).attr("y1","0").attr("y2","0").attr("draggable","true").attr("cursor","ns-resize"),l.select("line.bottom").attr("stroke","transparent").attr("stroke-width","8px").attr("x1",function(d){return d.element instanceof Ma?d.element.cx-d.element.width/10:"0"}).attr("x2",function(d){return d.element instanceof Ma?d.element.cx+d.element.width/10:d.element.width}).attr("y1",function(d){return d.element.height}).attr("y2",function(d){return d.element.height}).attr("draggable","true").attr("cursor","ns-resize"),l.select("line.right").attr("stroke","transparent").attr("stroke-width","8px").attr("x1","0").attr("x2","0").attr("y1",function(d){return d.element instanceof Ma?d.element.cy-d.element.height/10:"0"}).attr("y2",function(d){return d.element instanceof Ma?d.element.cy+d.element.height/10:d.element.height}).attr("draggable","true").attr("cursor","ew-resize"),l.select("line.left").attr("stroke","transparent").attr("stroke-width","8px").attr("x1",function(d){return d.element.width}).attr("x2",function(d){return d.element.width}).attr("y1",function(d){return d.element instanceof Ma?d.element.cy-d.element.height/10:"0"}).attr("y2",function(d){return d.element instanceof Ma?d.element.cy+d.element.height/10:d.element.height}).attr("draggable","true").attr("cursor","ew-resize"),l.select("circle.left").attr("draggable","true").attr("fill","transparent").attr("stroke","transparent").attr("cx",function(d){return d.element.x1}).attr("cy",function(d){return d.element.y1}).attr("r",10).attr("cursor","move"),l.select("circle.right").attr("draggable","true").attr("fill","transparent").attr("stroke","transparent").attr("cx",function(d){return d.element.x2}).attr("cy",function(d){return d.element.y2}).attr("r",10).attr("cursor","move"),l.classed("drawing_selected",function(d){return a.selectionManager.isSelected(d)})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(tq),e.LFG(nq),e.LFG(rq),e.LFG(iq),e.LFG(aq),e.LFG(Tc),e.LFG(Nu))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),oS=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this.drawingWidget=t,this.svgToDrawingConverter=n,this.context=a,this.mapSettings=o,this.draggable=new KA,this.draggingEnabled=!1,this.resizingFinished=new e.vpe,this.onContextMenu=new e.vpe,this.svgToDrawingConverter=new aS}return(0,g.Z)(i,[{key:"redrawDrawing",value:function(n,a){this.drawingWidget.draw(this.selectDrawing(n,a))}},{key:"draw",value:function(n){var a=this,o=n.selectAll("g.drawing").data(function(at){return at.drawings.forEach(function(ut){try{ut.element=a.svgToDrawingConverter.convert(ut.svg)}catch(Wt){}}),at.drawings},function(at){return at.id}),s=o.enter().append("g").attr("class","drawing").attr("drawing_id",function(at){return at.id}).on("contextmenu",function(at){xn.preventDefault(),a.onContextMenu.emit(new qhe(xn,at))}),l=o.merge(s);this.drawingWidget.draw(l),o.exit().remove(),this.mapSettings.isReadOnly||this.draggable.call(l);var d,h,C,P,te,se,Te,$e,N=!1,q=Nf().on("start",function(at){document.body.style.cursor="ns-resize",C=at.y}).on("drag",function(at){var ut=xn;N?(h=d-(ut.sourceEvent.pageY-(a.context.getZeroZeroTransformationPoint().y+a.context.transformation.y)),d=ut.sourceEvent.pageY-(a.context.getZeroZeroTransformationPoint().y+a.context.transformation.y),at.element.height+h<0?(N=!1,d=C,at.element.height=Math.abs(at.element.height+ut.dy)):(at.y=ut.sourceEvent.pageY-(a.context.getZeroZeroTransformationPoint().y+a.context.transformation.y),at.element.height+=h,at.element instanceof Ma&&(at.element.cy=at.element.cy+h/2<0?1:at.element.cy+=h/2,at.element.ry=at.element.ry+h/2<0?1:at.element.ry+=h/2))):at.element.height+ut.dy<0?(N=!0,d=C,at.element.height=Math.abs(at.element.height+ut.dy)):(at.element.height+=ut.dy,at.element instanceof Ma&&(at.element.cy=at.element.cy+ut.dy/2<0?1:at.element.cy+=ut.dy/2,at.element.ry=at.element.ry+ut.dy/2<0?1:at.element.ry+=ut.dy/2)),a.redrawDrawing(n,at)}).on("end",function(at){document.body.style.cursor="initial",a.resizingFinished.emit(a.createResizingEvent(at))}),Q=Nf().on("start",function(at){d=xn.sourceEvent.pageY-(a.context.getZeroZeroTransformationPoint().y+a.context.transformation.y),P=d+at.element.height,document.body.style.cursor="ns-resize"}).on("drag",function(at){var ut=xn;N?at.element.height+ut.dy<0?(N=!1,d=P,at.element.height=Math.abs(at.element.height+ut.dy)):(at.element.height+=ut.dy,at.element instanceof Ma&&(at.element.cy=at.element.cy+ut.dy/2<0?1:at.element.cy+=ut.dy/2,at.element.ry=at.element.ry+ut.dy/2<0?1:at.element.ry+=ut.dy/2)):(h=d-(ut.sourceEvent.pageY-(a.context.getZeroZeroTransformationPoint().y+a.context.transformation.y)),d=ut.sourceEvent.pageY-(a.context.getZeroZeroTransformationPoint().y+a.context.transformation.y),at.element.height+h<0?(d=P,N=!0,at.element.height=Math.abs(at.element.height+ut.dy)):(at.y=ut.sourceEvent.pageY-(a.context.getZeroZeroTransformationPoint().y+a.context.transformation.y),at.element.height+=h,at.element instanceof Ma&&(at.element.cy=at.element.cy+h/2<0?1:at.element.cy+=h/2,at.element.ry=at.element.ry+h/2<0?1:at.element.ry+=h/2))),a.redrawDrawing(n,at)}).on("end",function(at){document.body.style.cursor="initial",a.resizingFinished.emit(a.createResizingEvent(at))}),ze=!1,rt=Nf().on("start",function(at){te=xn.sourceEvent.pageX-(a.context.getZeroZeroTransformationPoint().x+a.context.transformation.x),$e=te+at.element.width,document.body.style.cursor="ew-resize"}).on("drag",function(at){var ut=xn;ze?at.element.width+ut.dx<0?(te=$e,ze=!1,at.element.width=Math.abs(at.element.width+ut.dx)):(at.element instanceof Ma&&(at.element.cx=at.element.cx+ut.dx/2<0?1:at.element.cx+=ut.dx/2,at.element.rx=at.element.rx+ut.dx/2<0?1:at.element.rx+=ut.dx/2),at.element.width=at.element.width+ut.dx<0?1:at.element.width+=ut.dx):(se=te-(ut.sourceEvent.pageX-(a.context.getZeroZeroTransformationPoint().x+a.context.transformation.x)),te=ut.sourceEvent.pageX-(a.context.getZeroZeroTransformationPoint().x+a.context.transformation.x),at.element.width+se<0?(te=$e,ze=!0,at.element.width=Math.abs(at.element.width+ut.dx)):(at.x=ut.sourceEvent.pageX-(a.context.getZeroZeroTransformationPoint().x+a.context.transformation.x),at.element.width+=se,at.element instanceof Ma&&(at.element.cx=at.element.cx+se/2<0?1:at.element.cx+=se/2,at.element.rx=at.element.rx+se/2<0?1:at.element.rx+=se/2))),a.redrawDrawing(n,at)}).on("end",function(at){document.body.style.cursor="initial",a.resizingFinished.emit(a.createResizingEvent(at))}),dt=Nf().on("start",function(at){document.body.style.cursor="ew-resize",Te=at.x}).on("drag",function(at){var ut=xn;ze?(se=te-(ut.sourceEvent.pageX-(a.context.getZeroZeroTransformationPoint().x+a.context.transformation.x)),te=ut.sourceEvent.pageX-(a.context.getZeroZeroTransformationPoint().x+a.context.transformation.x),at.element.width+se<0?(te=Te,ze=!1,at.element.width=Math.abs(at.element.width+ut.dx)):(at.x=ut.sourceEvent.pageX-(a.context.getZeroZeroTransformationPoint().x+a.context.transformation.x),at.element.width+=se,at.element instanceof Ma&&(at.element.cx=at.element.cx+se/2<0?1:at.element.cx+=se/2,at.element.rx=at.element.rx+se/2<0?1:at.element.rx+=se/2))):at.element.width+ut.dx<0?(te=Te,ze=!0,at.element.width=Math.abs(at.element.width+ut.dx)):(at.element instanceof Ma&&(at.element.cx=at.element.cx+ut.dx/2<0?1:at.element.cx+=ut.dx/2,at.element.rx=at.element.rx+ut.dx/2<0?1:at.element.rx+=ut.dx/2),at.element.width=at.element.width+ut.dx<0?1:at.element.width+=ut.dx),a.redrawDrawing(n,at)}).on("end",function(at){document.body.style.cursor="initial",a.resizingFinished.emit(a.createResizingEvent(at))}),Dt=Nf().on("start",function(){document.body.style.cursor="move"}).on("drag",function(at){var ut=xn;at.element.width+=ut.dx,at.element.height+=ut.dy,at.element.x2+=ut.dx,at.element.y2+=ut.dy,a.redrawDrawing(n,at)}).on("end",function(at){document.body.style.cursor="initial",a.resizingFinished.emit(a.createResizingEvent(at))}),St=Nf().on("start",function(){document.body.style.cursor="move"}).on("drag",function(at){var ut=xn;at.element.width+=ut.dx,at.element.height+=ut.dy,at.element.x1+=ut.dx,at.element.y1+=ut.dy,a.redrawDrawing(n,at)}).on("end",function(at){document.body.style.cursor="initial",a.resizingFinished.emit(a.createResizingEvent(at))});l.select("line.bottom").call(q),l.select("line.top").call(Q),l.select("line.right").call(rt),l.select("line.left").call(dt),l.select("circle.right").call(Dt),l.select("circle.left").call(St)}},{key:"createResizingEvent",value:function(n){var a=new Khe;return a.x=n.x,a.y=n.y,a.width=n.element.width,a.height=n.element.height,a.datum=n,a}},{key:"selectDrawing",value:function(n,a){return n.selectAll('g.drawing[drawing_id="'.concat(a.id,'"]'))}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(oq),e.LFG(aS),e.LFG(su),e.LFG(ay))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),sq=function(){var r=function(){function i(t,n,a){(0,v.Z)(this,i),this.linksWidget=t,this.nodesWidget=n,this.drawingsWidget=a}return(0,g.Z)(i,[{key:"draw",value:function(n,a){var o=n.selectAll("g.layer").data(a,function(P){return P.index.toString()}),s=o.enter().append("g").attr("class","layer");s.append("g").attr("class","links"),s.append("g").attr("class","nodes"),s.append("g").attr("class","drawings");var l=o.merge(s);l.attr("data-index",function(P){return P.index});var d=l.select("g.links"),h=l.select("g.nodes"),C=l.select("g.drawings");o.exit().remove(),this.linksWidget.draw(d),this.nodesWidget.draw(h),this.drawingsWidget.draw(C)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(K6),e.LFG(e2),e.LFG(oS))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),X6=function(){var r=function(){function i(t,n,a,o,s,l){(0,v.Z)(this,i),this.nodesWidget=t,this.drawingLineTool=n,this.selectionTool=a,this.movingTool=o,this.layersWidget=s,this.layersManager=l}return(0,g.Z)(i,[{key:"getNodesWidget",value:function(){return this.nodesWidget}},{key:"getDrawingLineTool",value:function(){return this.drawingLineTool}},{key:"getSelectionTool",value:function(){return this.selectionTool}},{key:"connect",value:function(n,a){this.drawingLineTool.connect(n,a)}},{key:"draw",value:function(n,a){n.attr("width",a.size.width).attr("height",a.size.height);var o=n.selectAll("g.canvas").data([a]),s=o.enter().append("g").attr("class","canvas");o.merge(s).attr("transform",function(l){var d=l.getZeroZeroTransformationPoint().x+l.transformation.x,h=l.getZeroZeroTransformationPoint().y+l.transformation.y,C=l.transformation.k;return"translate(".concat(d,", ").concat(h,") scale(").concat(C,")")}),this.layersWidget.draw(o,this.layersManager.getLayersList()),this.drawingLineTool.draw(n,a),this.selectionTool.draw(n,a),this.movingTool.draw(n,a)}},{key:"disconnect",value:function(n){n.empty&&!n.empty()&&n.selectAll("*").remove()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(e2),e.LFG(G6),e.LFG(XA),e.LFG(z6),e.LFG(sq),e.LFG(JA))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),sS=function(){var r=function(){function i(){(0,v.Z)(this,i),this.isSelectionToolActivated=new Un.xQ,this.isMovingToolActivated=new Un.xQ,this.isTextEditingToolActivated=new Un.xQ,this.isTextAddingToolActivated=new Un.xQ,this.isDrawLinkToolActivated=new Un.xQ}return(0,g.Z)(i,[{key:"selectionToolActivation",value:function(n){this.isSelectionToolActivated.next(n)}},{key:"movingToolActivation",value:function(n){this.isMovingToolActivated.next(n)}},{key:"textEditingToolActivation",value:function(n){this.isTextEditingToolActivated.next(n)}},{key:"textAddingToolActivation",value:function(n){this.isTextAddingToolActivated.next(n)}},{key:"drawLinkToolActivation",value:function(n){this.isDrawLinkToolActivated.next(n)}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),sy=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.context=t,this.scaleChangeEmitter=new e.vpe,this.currentScale=1}return(0,g.Z)(i,[{key:"getScale",value:function(){return this.currentScale}},{key:"setScale",value:function(n){this.currentScale=n,this.context.transformation.k=this.currentScale,this.scaleChangeEmitter.emit(this.currentScale)}},{key:"resetToDefault",value:function(){this.currentScale=1,this.context.transformation.k=this.currentScale,this.scaleChangeEmitter.emit(this.currentScale)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(su))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),n2=function(){var r=function i(){(0,v.Z)(this,i),this.movingModeState=new e.vpe};return r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac=function(t){return new(t||r)}}),r}(),rme=function(){var r=function(){function i(t,n,a){(0,v.Z)(this,i),this.element=t,this.movingEventSource=n,this.context=a,this.activated=!1}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.movingModeState=this.movingEventSource.movingModeState.subscribe(function(a){n.activated=a,a||n.removelisteners()})}},{key:"ngOnDestroy",value:function(){this.movingModeState.unsubscribe()}},{key:"onMouseDown",value:function(n){var a=this;this.activated&&(this.mousemoveListener=function(o){$r(a.element.nativeElement).selectAll("g.canvas").data([a.context]).attr("transform",function(){a.context.transformation.x=a.context.transformation.x+o.movementX,a.context.transformation.y=a.context.transformation.y+o.movementY;var d=a.context.getZeroZeroTransformationPoint().x+a.context.transformation.x,h=a.context.getZeroZeroTransformationPoint().y+a.context.transformation.y,C=a.context.transformation.k;return"translate(".concat(d,", ").concat(h,") scale(").concat(C,")")})},this.mouseupListener=function(o){a.removelisteners()},this.element.nativeElement.addEventListener("mouseup",this.mouseupListener),this.element.nativeElement.addEventListener("mousemove",this.mousemoveListener))}},{key:"removelisteners",value:function(){this.element.nativeElement.removeEventListener("mouseup",this.mouseupListener),this.element.nativeElement.removeEventListener("mousemove",this.mousemoveListener)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(n2),e.Y36(su))},r.\u0275dir=e.lG2({type:r,selectors:[["","movingCanvas",""]],hostBindings:function(t,n){1&t&&e.NdJ("mousedown",function(o){return n.onMouseDown(o)})}}),r}(),ime=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this.element=t,this.movingEventSource=n,this.context=a,this.mapsScaleService=o}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.movingModeState=this.movingEventSource.movingModeState.subscribe(function(a){a?n.addListener():n.removeListener()})}},{key:"ngOnDestroy",value:function(){this.movingModeState.unsubscribe()}},{key:"addListener",value:function(){var n=this;this.wheelListener=function(a){a.stopPropagation(),a.preventDefault();var o=a.deltaY;o=0===a.deltaMode?o/100:o/3,$r(n.element.nativeElement).selectAll("g.canvas").data([n.context]).attr("transform",function(){n.context.transformation.k=n.context.transformation.k-o/10;var d=n.context.getZeroZeroTransformationPoint().x+n.context.transformation.x,h=n.context.getZeroZeroTransformationPoint().y+n.context.transformation.y,C=n.context.transformation.k;return n.mapsScaleService.setScale(C),"translate(".concat(d,", ").concat(h,") scale(").concat(C,")")})},this.element.nativeElement.addEventListener("wheel",this.wheelListener,{passive:!1})}},{key:"removeListener",value:function(){this.element.nativeElement.removeEventListener("wheel",this.wheelListener)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(n2),e.Y36(su),e.Y36(sy))},r.\u0275dir=e.lG2({type:r,selectors:[["","zoomingCanvas",""]]}),r}(),kc=function(){var r=function i(){(0,v.Z)(this,i),this.dragged=new e.vpe,this.resized=new e.vpe,this.selected=new e.vpe,this.pointToAddSelected=new e.vpe,this.saved=new e.vpe,this.textAdded=new e.vpe,this.textEdited=new e.vpe,this.textSaved=new e.vpe};return r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac=function(t){return new(t||r)}}),r}(),ame=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.drawingsEventSource=t,this.context=n}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.drawingSelected=this.drawingsEventSource.selected.subscribe(function(a){""===a?n.deactivate():n.activate()})}},{key:"activate",value:function(){var n=this;this.deactivate(),this.mapListener=function(s){var l=(s.pageX-(n.context.getZeroZeroTransformationPoint().x+n.context.transformation.x))/n.context.transformation.k,d=(s.pageY-(n.context.getZeroZeroTransformationPoint().y+n.context.transformation.y))/n.context.transformation.k;n.drawingsEventSource.pointToAddSelected.emit(new Uhe(l,d)),n.deactivate()},this.svg.addEventListener("click",this.mapListener)}},{key:"deactivate",value:function(){this.svg.removeEventListener("click",this.mapListener)}},{key:"ngOnDestroy",value:function(){this.drawingSelected.unsubscribe()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(kc),e.Y36(su))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-drawing-adding"]],inputs:{svg:"svg"},decls:0,vars:0,template:function(t,n){},styles:[""]}),r}(),ome=["*"],sme=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.drawingsWidget=t,this.drawingsEventSource=n}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.resizingFinished=this.drawingsWidget.resizingFinished.subscribe(function(a){n.drawingsEventSource.resized.emit(new Bhe(a.datum,a.x,a.y,a.width,a.height))})}},{key:"ngOnDestroy",value:function(){this.resizingFinished.unsubscribe()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(oS),e.Y36(kc))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-drawing-resizing"]],ngContentSelectors:ome,decls:1,vars:0,template:function(t,n){1&t&&(e.F$t(),e.Hsn(0))},styles:[""]}),r}(),lq=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"inRectangle",value:function(n,a,o){return n.x<=a&&a<n.x+n.width&&n.y<=o&&o<n.y+n.height}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),lme=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this.selectionEventSource=t,this.graphDataManager=n,this.inRectangleHelper=a,this.selectionManager=o}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.onSelection=this.selectionEventSource.selected.subscribe(function(a){var o=n.graphDataManager.getNodes().filter(function(q){return n.inRectangleHelper.inRectangle(a,q.x,q.y)}),s=n.graphDataManager.getLinks().filter(function(q){return n.inRectangleHelper.inRectangle(a,q.x,q.y)}),l=n.graphDataManager.getDrawings().filter(function(q){return n.inRectangleHelper.inRectangle(a,q.x,q.y)}),d=n.graphDataManager.getNodes().filter(function(q){return void 0!==q.label&&n.inRectangleHelper.inRectangle(a,q.x+q.label.x,q.y+q.label.y)}).map(function(q){return q.label}),h=n.graphDataManager.getLinks().filter(function(q){return void 0!==q.source&&2==q.nodes.length&&void 0!==q.nodes[0].label&&n.inRectangleHelper.inRectangle(a,q.source.x+q.nodes[0].label.x,q.source.y+q.nodes[0].label.y)}).map(function(q){return q.nodes[0]}),C=n.graphDataManager.getLinks().filter(function(q){return void 0!==q.target&&2==q.nodes.length&&void 0!==q.nodes[1].label&&n.inRectangleHelper.inRectangle(a,q.target.x+q.nodes[1].label.x,q.target.y+q.nodes[1].label.y)}).map(function(q){return q.nodes[1]}),P=[].concat((0,T.Z)(h),(0,T.Z)(C)),N=[].concat((0,T.Z)(o),(0,T.Z)(s),(0,T.Z)(l),(0,T.Z)(d),(0,T.Z)(P));n.selectionManager.setSelected(N)})}},{key:"ngOnDestroy",value:function(){this.onSelection.unsubscribe()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(q6),e.Y36(iy),e.Y36(lq),e.Y36(Tc))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-selection-control"]],decls:0,vars:0,template:function(t,n){},styles:[""]}),r}(),ume=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.selectionManager=t,this.mapChangeDetectorRef=n}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.onSelected=this.selectionManager.selected.subscribe(function(){n.mapChangeDetectorRef.detectChanges()}),this.onUnselected=this.selectionManager.unselected.subscribe(function(){n.mapChangeDetectorRef.detectChanges()})}},{key:"ngOnDestroy",value:function(){this.onSelected.unsubscribe(),this.onUnselected.unsubscribe()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Tc),e.Y36(rS))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-selection-select"]],decls:0,vars:0,template:function(t,n){},styles:[""]}),r}(),wc=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.httpServer=t}return(0,g.Z)(i,[{key:"createLink",value:function(n,a,o,s,l,d,h,C,P){return this.httpServer.post(n,"/projects/".concat(a.project_id,"/links"),{nodes:[{node_id:a.node_id,port_number:o.port_number,adapter_number:o.adapter_number,label:{rotation:0,style:"font-size: 10; font-style: Verdana",text:o.short_name,x:d,y:h}},{node_id:s.node_id,port_number:l.port_number,adapter_number:l.adapter_number,label:{rotation:0,style:"font-size: 10; font-style: Verdana",text:l.short_name,x:C,y:P}}]})}},{key:"getLink",value:function(n,a,o){return this.httpServer.get(n,"/projects/".concat(a,"/links/").concat(o))}},{key:"deleteLink",value:function(n,a){return this.httpServer.delete(n,"/projects/".concat(a.project_id,"/links/").concat(a.link_id))}},{key:"updateLink",value:function(n,a){return a.x=Math.round(a.x),a.y=Math.round(a.y),this.httpServer.put(n,"/projects/".concat(a.project_id,"/links/").concat(a.link_id),a)}},{key:"getAvailableFilters",value:function(n,a){return this.httpServer.get(n,"/projects/".concat(a.project_id,"/links/").concat(a.link_id,"/available_filters"))}},{key:"updateNodes",value:function(n,a,o){var s=o.map(function(l){return{node_id:l.node_id,port_number:l.port_number,adapter_number:l.adapter_number,label:{rotation:l.label.rotation,style:l.label.style,text:l.label.text,x:l.label.x,y:l.label.y}}});return this.httpServer.put(n,"/projects/".concat(a.project_id,"/links/").concat(a.link_id),{nodes:s})}},{key:"startCaptureOnLink",value:function(n,a,o){return this.httpServer.post(n,"/projects/".concat(a.project_id,"/links/").concat(a.link_id,"/start_capture"),o)}},{key:"stopCaptureOnLink",value:function(n,a){return this.httpServer.post(n,"/projects/".concat(a.project_id,"/links/").concat(a.link_id,"/stop_capture"),{})}},{key:"streamPcap",value:function(n,a){return this.httpServer.get(n,"/projects/".concat(a.project_id,"/links/").concat(a.link_id,"/pcap"))}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(Ja.wh))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Kf=f(41999),Ao=f(52094),cme=["temporaryTextElement"],dme=function(){var r=function(){function i(t,n,a,o,s,l,d,h,C,P,N){(0,v.Z)(this,i),this.drawingsEventSource=t,this.toolsService=n,this.context=a,this.renderer=o,this.mapScaleService=s,this.linkService=l,this.linksDataSource=d,this.nodesDataSource=h,this.selectionManager=C,this.fontFixer=P,this.ngZone=N,this.leftPosition="0px",this.topPosition="0px",this.innerText="",this.addingFinished=new e.vpe}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.textAddingSubscription=this.toolsService.isTextAddingToolActivated.subscribe(function(a){a?n.activateTextAdding():n.deactivateTextAdding()}),this.ngZone.runOutsideAngular(this.activateTextEditingForDrawings.bind(this)),this.ngZone.runOutsideAngular(this.activateTextEditingForNodeLabels.bind(this))}},{key:"activateTextAdding",value:function(){var n=this;this.deactivateTextAdding(),this.mapListener=function(s){n.leftPosition=s.pageX.toString()+"px",n.topPosition=s.pageY.toString()+"px",n.renderer.setStyle(n.temporaryTextElement.nativeElement,"display","initial"),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"transform","scale(".concat(n.mapScaleService.getScale(),")")),n.temporaryTextElement.nativeElement.focus(),n.textListener=function(){n.drawingsEventSource.textAdded.emit(new Vhe(n.temporaryTextElement.nativeElement.innerText.replace(/\n$/,""),s.pageX,s.pageY)),n.deactivateTextAdding(),n.innerText="",n.temporaryTextElement.nativeElement.innerText="",n.temporaryTextElement.nativeElement.removeEventListener("focusout",n.textListener),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"display","none")},n.temporaryTextElement.nativeElement.addEventListener("focusout",n.textListener)},this.svg.addEventListener("click",this.mapListener)}},{key:"deactivateTextAdding",value:function(){this.svg.removeEventListener("click",this.mapListener)}},{key:"activateTextEditingForNodeLabels",value:function(){var n=this,a=$r(this.svg);a.selectAll("g.interface_label_container").select("text.interface_label").on("dblclick",function(o,s,l){n.selectionManager.setSelected([]),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"display","initial"),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"transform","scale(".concat(n.mapScaleService.getScale(),")")),n.editedLink=o,$r(l[s]).attr("visibility","hidden"),$r(l[s]).classed("editingMode",!0),n.editedNode=n.nodesDataSource.get(o.nodeId),n.editedLink=o;var d=(o.label.originalX+n.editedNode.x-1)*n.context.transformation.k+n.context.getZeroZeroTransformationPoint().x+n.context.transformation.x,h=(o.label.originalY+n.editedNode.y+4)*n.context.transformation.k+n.context.getZeroZeroTransformationPoint().y+n.context.transformation.y;n.leftPosition=d.toString()+"px",n.topPosition=h.toString()+"px",n.temporaryTextElement.nativeElement.innerText=o.label.text;var N,C=[],P=(0,E.Z)(o.label.style.split(";"));try{for(P.s();!(N=P.n()).done;){var q=N.value;C.push({property:q.split(": ")[0],value:q.split(": ")[1]})}}catch(se){P.e(se)}finally{P.f()}var Q={font_family:C.find(function(se){return"font-family"===se.property})?C.find(function(se){return"font-family"===se.property}).value:"TypeWriter",font_size:C.find(function(se){return"font-size"===se.property})?Number(C.find(function(se){return"font-size"===se.property}).value):10,font_weight:C.find(function(se){return"font-weight"===se.property})?C.find(function(se){return"font-weight"===se.property}).value:"normal"};Q=n.fontFixer.fix(Q),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"color",C.find(function(se){return"fill"===se.property})?C.find(function(se){return"fill"===se.property}).value:"#000000"),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"font-family",Q.font_family),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"font-size","".concat(Q.font_size,"pt")),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"font-weight",Q.font_weight),n.textListener=function(){var Te=n.temporaryTextElement.nativeElement.innerText,$e=n.linksDataSource.get(n.editedLink.linkId);$e.nodes.find(function(ze){return ze.node_id===n.editedNode.node_id}).label.text=Te,n.linkService.updateLink(n.server,$e).subscribe(function(ze){a.selectAll("text.editingMode").attr("visibility","visible").classed("editingMode",!1),n.innerText="",n.temporaryTextElement.nativeElement.innerText="",n.temporaryTextElement.nativeElement.removeEventListener("focusout",n.textListener),n.clearStyle(),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"display","none")})},n.temporaryTextElement.nativeElement.addEventListener("focusout",n.textListener),n.temporaryTextElement.nativeElement.focus()})}},{key:"activateTextEditingForDrawings",value:function(){var n=this,a=$r(this.svg);a.selectAll("text.text_element").on("dblclick",function(o,s,l){n.renderer.setStyle(n.temporaryTextElement.nativeElement,"display","initial"),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"transform","scale(".concat(n.mapScaleService.getScale(),")")),n.editedElement=o,$r(l[s]).attr("visibility","hidden"),$r(l[s]).classed("editingMode",!0),n.editingDrawingId=l[s].parentElement.parentElement.getAttribute("drawing_id");var d=l[s].parentElement.getAttribute("transform").split(/\(|\)/),h=Number(d[1].split(/,/)[0])*n.context.transformation.k+n.context.getZeroZeroTransformationPoint().x+n.context.transformation.x,C=Number(d[1].split(/,/)[1])*n.context.transformation.k+n.context.getZeroZeroTransformationPoint().y+n.context.transformation.y;n.leftPosition=h.toString()+"px",n.topPosition=C.toString()+"px",n.temporaryTextElement.nativeElement.innerText=o.text,n.renderer.setStyle(n.temporaryTextElement.nativeElement,"color",o.fill),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"font-family",o.font_family),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"font-size","".concat(o.font_size,"pt")),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"font-weight",o.font_weight),n.textListener=function(){n.drawingsEventSource.textEdited.emit(new jhe(n.editingDrawingId,n.temporaryTextElement.nativeElement.innerText.replace(/\n$/,""),n.editedElement)),a.selectAll("text.editingMode").attr("visibility","visible").classed("editingMode",!1),n.innerText="",n.temporaryTextElement.nativeElement.innerText="",n.temporaryTextElement.nativeElement.removeEventListener("focusout",n.textListener),n.clearStyle(),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"display","none")},n.temporaryTextElement.nativeElement.addEventListener("focusout",n.textListener),n.temporaryTextElement.nativeElement.focus()})}},{key:"ngOnDestroy",value:function(){this.textAddingSubscription.unsubscribe()}},{key:"clearStyle",value:function(){this.renderer.setStyle(this.temporaryTextElement.nativeElement,"color","#000000"),this.renderer.setStyle(this.temporaryTextElement.nativeElement,"font-family","Noto Sans"),this.renderer.setStyle(this.temporaryTextElement.nativeElement,"font-size","11pt"),this.renderer.setStyle(this.temporaryTextElement.nativeElement,"font-weight","bold")}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(kc),e.Y36(sS),e.Y36(su),e.Y36(e.Qsj),e.Y36(sy),e.Y36(wc),e.Y36(Kf.F),e.Y36(Ao.G),e.Y36(Tc),e.Y36(Sc),e.Y36(e.R0b))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-text-editor"]],viewQuery:function(t,n){var a;1&t&&e.Gf(cme,5),2&t&&e.iGM(a=e.CRH())&&(n.temporaryTextElement=a.first)},inputs:{svg:"svg",server:"server"},decls:3,vars:5,consts:[["id","temporaryElement","contenteditable","true",1,"temporaryElement"],["temporaryTextElement",""]],template:function(t,n){1&t&&(e.TgZ(0,"div",0,1),e._uU(2),e.qZA()),2&t&&(e.Udp("top",n.topPosition)("left",n.leftPosition),e.xp6(2),e.hij(" ",n.innerText,"\n"))},styles:['.temporaryElement[_ngcontent-%COMP%]{padding-left:4px;width:-moz-fit-content;width:fit-content;position:absolute;z-index:99;font-family:"Noto Sans";font-size:11pt;font-weight:bold;color:#000}']}),r}(),lS=function(){var r=function i(){(0,v.Z)(this,i),this.created=new e.vpe,this.interfaceDragged=new e.vpe};return r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac=function(t){return new(t||r)}}),r}(),pme=function(){var r=function(){function i(t,n,a,o,s,l,d,h,C,P,N){(0,v.Z)(this,i),this.nodesWidget=t,this.drawingsWidget=n,this.linksWidget=a,this.labelWidget=o,this.interfaceWidget=s,this.selectionManager=l,this.nodesEventSource=d,this.drawingsEventSource=h,this.graphDataManager=C,this.linksEventSource=P,this.mapSettingsService=N,this.isMapLocked=!1}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this,a=$r(this.svg);this.mapSettingsSubscription=this.mapSettingsService.isMapLocked.subscribe(function(o){n.isMapLocked=o}),this.start=(0,Ra.T)(this.nodesWidget.draggable.start,this.drawingsWidget.draggable.start,this.labelWidget.draggable.start,this.interfaceWidget.draggable.start).subscribe(function(o){var s=n.selectionManager.getSelected();o.datum instanceof nv&&0===s.filter(function(l){return l instanceof nv&&l.id===o.datum.id}).length&&n.selectionManager.setSelected([o.datum]),o.datum instanceof Qf&&0===s.filter(function(l){return l instanceof Qf&&l.id===o.datum.id}).length&&n.selectionManager.setSelected([o.datum]),o.datum instanceof ry&&0===s.filter(function(l){return l instanceof ry&&l.id===o.datum.id}).length&&n.selectionManager.setSelected([o.datum]),o.datum instanceof tS&&0===s.filter(function(l){return l instanceof tS&&l.id===o.datum.id}).length&&n.selectionManager.setSelected([o.datum])}),this.drag=(0,Ra.T)(this.nodesWidget.draggable.drag,this.drawingsWidget.draggable.drag,this.labelWidget.draggable.drag,this.interfaceWidget.draggable.drag).subscribe(function(o){if(!n.isMapLocked){var s=n.selectionManager.getSelected(),l=s.filter(function(se){return se instanceof nv}),d=l.filter(function(se){return se.locked}),h=l.filter(function(se){return!se.locked});h.forEach(function(se){se.x+=o.dx,se.y+=o.dy,n.nodesWidget.redrawNode(a,se),n.graphDataManager.getLinks().filter(function($e){return void 0!==$e.target&&$e.target.id===se.id||void 0!==$e.source&&$e.source.id===se.id}).forEach(function($e){n.linksWidget.redrawLink(a,$e)})}),s.filter(function(se){return se instanceof Qf}).filter(function(se){return!se.locked}).forEach(function(se){se.x+=o.dx,se.y+=o.dy,n.drawingsWidget.redrawDrawing(a,se)}),s.filter(function(se){return se instanceof ry}).filter(function(se){return 0===d.filter(function(Te){return Te.id===se.nodeId}).length}).forEach(function(se){if(!(h.filter(function(ze){return ze.id===se.nodeId}).length>0)){var $e=n.graphDataManager.getNodes().filter(function(ze){return ze.id===se.nodeId})[0];$e.label.x+=o.dx,$e.label.y+=o.dy,n.labelWidget.redrawLabel(a,se)}}),s.filter(function(se){return se instanceof tS}).filter(function(se){return 0===d.filter(function(Te){return Te.id===se.nodeId}).length}).forEach(function(se){if(!(h.filter(function(ze){return ze.id===se.nodeId}).length>0)){var $e=n.graphDataManager.getLinks().filter(function(ze){return ze.nodes[0].id===se.id||ze.nodes[1].id===se.id})[0];$e.nodes[0].id===se.id&&($e.nodes[0].label.x+=o.dx,$e.nodes[0].label.y+=o.dy),$e.nodes[1].id===se.id&&($e.nodes[1].label.x+=o.dx,$e.nodes[1].label.y+=o.dy),n.linksWidget.redrawLink(a,$e)}})}}),this.end=(0,Ra.T)(this.nodesWidget.draggable.end,this.drawingsWidget.draggable.end,this.labelWidget.draggable.end,this.interfaceWidget.draggable.end).subscribe(function(o){if(!n.isMapLocked){var s=n.selectionManager.getSelected(),l=s.filter(function(se){return se instanceof nv}),d=l.filter(function(se){return se.locked}),h=l.filter(function(se){return!se.locked});h.forEach(function(se){n.nodesEventSource.dragged.emit(new oy(se,o.dx,o.dy))}),s.filter(function(se){return se instanceof Qf}).filter(function(se){return!se.locked}).forEach(function(se){n.drawingsEventSource.dragged.emit(new oy(se,o.dx,o.dy))}),s.filter(function(se){return se instanceof ry}).filter(function(se){return 0===d.filter(function(Te){return Te.id===se.nodeId}).length}).forEach(function(se){h.filter(function($e){return $e.id===se.nodeId}).length>0||n.nodesEventSource.labelDragged.emit(new oy(se,o.dx,o.dy))}),s.filter(function(se){return se instanceof tS}).filter(function(se){return 0===d.filter(function(Te){return Te.id===se.nodeId}).length}).forEach(function(se){h.filter(function($e){return $e.id===se.nodeId}).length>0||n.linksEventSource.interfaceDragged.emit(new oy(se,o.dx,o.dy))})}})}},{key:"ngOnDestroy",value:function(){this.start.unsubscribe(),this.drag.unsubscribe(),this.end.unsubscribe(),this.mapSettingsSubscription.unsubscribe()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(e2),e.Y36(oS),e.Y36(K6),e.Y36($A),e.Y36(iS),e.Y36(Tc),e.Y36(iv),e.Y36(kc),e.Y36(iy),e.Y36(lS),e.Y36(Nu))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-draggable-selection"]],inputs:{svg:"svg"},decls:0,vars:0,template:function(t,n){},styles:[""]}),r}(),fme=["svg"],hme=["textEditor"],uq=function(){var r=function(){function i(t,n,a,o,s,l,d,h,C,P,N,q,Q){(0,v.Z)(this,i),this.graphDataManager=t,this.context=n,this.mapChangeDetectorRef=a,this.canvasSizeDetector=o,this.mapSettings=s,this.element=l,this.interfaceLabelWidget=d,this.selectionToolWidget=h,this.movingToolWidget=C,this.graphLayout=P,this.toolsService=N,this.mapScaleService=q,this.mapSettingsService=Q,this.nodes=[],this.links=[],this.drawings=[],this.symbols=[],this.width=1500,this.height=600,this.subscriptions=[],this.settings={show_interface_labels:!0},this.gridVisibility=0,this.nodeGridX=0,this.nodeGridY=0,this.drawingGridX=0,this.drawingGridY=0,this.parentNativeElement=l.nativeElement}return(0,g.Z)(i,[{key:"showInterfaceLabels",set:function(n){n&&!this.mapSettingsService.integrateLinkLabelsToLinks?(this.settings.show_interface_labels=!0,this.interfaceLabelWidget.setEnabled(!0)):(this.settings.show_interface_labels=!1,this.interfaceLabelWidget.setEnabled(!1)),this.mapChangeDetectorRef.detectChanges()}},{key:"readonly",set:function(n){this.mapSettings.isReadOnly=n}},{key:"resize",value:function(n){if(n)this.svg.attr("height",window.innerHeight+window.scrollY-16);else{var a=window.innerHeight-16;this.svg.attr("height",this.height>a?this.height:a)}}},{key:"ngOnChanges",value:function(n){(n.width&&!n.width.isFirstChange()||n.height&&!n.height.isFirstChange()||n.drawings&&!n.drawings.isFirstChange()||n.nodes&&!n.nodes.isFirstChange()||n.links&&!n.links.isFirstChange()||n.symbols&&!n.symbols.isFirstChange())&&this.svg.empty&&!this.svg.empty()&&(n.symbols&&this.onSymbolsChange(n.symbols),this.changeLayout())}},{key:"ngOnInit",value:function(){var n=this;null!==this.parentNativeElement&&this.createGraph(this.parentNativeElement),this.context.size=this.getSize(),this.onChangesDetected=this.mapChangeDetectorRef.changesDetected.subscribe(function(){n.mapChangeDetectorRef.hasBeenDrawn&&n.redraw()}),this.subscriptions.push(this.mapScaleService.scaleChangeEmitter.subscribe(function(a){return n.redraw()})),this.subscriptions.push(this.toolsService.isMovingToolActivated.subscribe(function(a){n.mapChangeDetectorRef.detectChanges()})),this.subscriptions.push(this.toolsService.isSelectionToolActivated.subscribe(function(a){n.selectionToolWidget.setEnabled(a),n.mapChangeDetectorRef.detectChanges()})),this.subscriptions.push(this.toolsService.isDrawLinkToolActivated.subscribe(function(a){n.drawLinkTool=a})),this.gridVisibility="true"===localStorage.getItem("gridVisibility")?1:0,this.mapSettingsService.isScrollDisabled.subscribe(function(a){return n.resize(a)})}},{key:"ngOnDestroy",value:function(){this.graphLayout.disconnect(this.svg),this.onChangesDetected.unsubscribe(),this.subscriptions.forEach(function(n){n.unsubscribe()})}},{key:"applyMapSettingsChanges",value:function(){this.redraw()}},{key:"createGraph",value:function(n){var a=$r(n);this.svg=a.select("svg"),this.graphLayout.connect(this.svg,this.context),this.graphLayout.draw(this.svg,this.context),this.mapChangeDetectorRef.hasBeenDrawn=!0}},{key:"getSize",value:function(){return this.canvasSizeDetector.getOptimalSize(this.width,this.height)}},{key:"changeLayout",value:function(){null!=this.parentNativeElement&&(this.context.size=this.getSize()),this.redraw()}},{key:"onSymbolsChange",value:function(n){this.graphDataManager.setSymbols(this.symbols)}},{key:"redraw",value:function(){this.updateGrid(),this.graphDataManager.setNodes(this.nodes),this.graphDataManager.setLinks(this.links),this.graphDataManager.setDrawings(this.drawings),this.graphLayout.draw(this.svg,this.context),this.textEditor.activateTextEditingForDrawings(),this.textEditor.activateTextEditingForNodeLabels(),this.mapSettingsService.mapRenderedEmitter.emit(!0)}},{key:"updateGrid",value:function(){this.project.grid_size&&this.project.grid_size>0&&(this.nodeGridX=this.project.scene_width/2-Math.floor(this.project.scene_width/2/this.project.grid_size)*this.project.grid_size),this.project.grid_size&&this.project.grid_size>0&&(this.nodeGridY=this.project.scene_height/2-Math.floor(this.project.scene_height/2/this.project.grid_size)*this.project.grid_size),this.project.drawing_grid_size&&this.project.drawing_grid_size>0&&(this.drawingGridX=this.project.scene_width/2-Math.floor(this.project.scene_width/2/this.project.drawing_grid_size)*this.project.drawing_grid_size),this.project.drawing_grid_size&&this.project.drawing_grid_size>0&&(this.drawingGridY=this.project.scene_height/2-Math.floor(this.project.scene_height/2/this.project.drawing_grid_size)*this.project.drawing_grid_size)}},{key:"onResize",value:function(n){this.changeLayout()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(iy),e.Y36(su),e.Y36(rS),e.Y36(V6),e.Y36(ay),e.Y36(e.SBq),e.Y36(iS),e.Y36(XA),e.Y36(z6),e.Y36(X6),e.Y36(sS),e.Y36(sy),e.Y36(Nu))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-d3-map"]],viewQuery:function(t,n){var a;1&t&&(e.Gf(fme,5),e.Gf(hme,5)),2&t&&(e.iGM(a=e.CRH())&&(n.svgRef=a.first),e.iGM(a=e.CRH())&&(n.textEditor=a.first))},hostBindings:function(t,n){1&t&&e.NdJ("resize",function(o){return n.onResize(o)},!1,e.Jf7)},inputs:{nodes:"nodes",links:"links",drawings:"drawings",symbols:"symbols",project:"project",server:"server",width:"width",height:"height",showInterfaceLabels:["show-interface-labels","showInterfaceLabels"],readonly:"readonly"},features:[e.TTD],decls:19,vars:18,consts:[["id","map","preserveAspectRatio","none","movingCanvas","","zoomingCanvas","",1,"map"],["svg",""],["id","grayscale"],["id","feGrayscale","type","saturate","values","0"],["id","gridDrawing","patternUnits","userSpaceOnUse"],["fill","none","stroke","silver"],["id","gridNode","patternUnits","userSpaceOnUse"],["fill","none","stroke","DarkSlateGray"],["width","100%","height","100%","fill","url(#gridDrawing)"],["width","100%","height","100%","fill","url(#gridNode)"],[3,"svg"],[3,"server","svg"],["textEditor",""]],template:function(t,n){if(1&t&&(e.O4$(),e.TgZ(0,"svg",0,1),e.TgZ(2,"filter",2),e._UZ(3,"feColorMatrix",3),e.qZA(),e.TgZ(4,"defs"),e.TgZ(5,"pattern",4),e._UZ(6,"path",5),e.qZA(),e.qZA(),e.TgZ(7,"defs"),e.TgZ(8,"pattern",6),e._UZ(9,"path",7),e.qZA(),e.qZA(),e._UZ(10,"rect",8),e._UZ(11,"rect",9),e.qZA(),e.kcU(),e._UZ(12,"app-drawing-adding",10),e._UZ(13,"app-drawing-resizing"),e._UZ(14,"app-selection-control"),e._UZ(15,"app-selection-select"),e._UZ(16,"app-text-editor",11,12),e._UZ(18,"app-draggable-selection",10)),2&t){var a=e.MAs(1);e.xp6(5),e.uIk("x",n.drawingGridX)("y",n.drawingGridY)("width",n.project.drawing_grid_size)("height",n.project.drawing_grid_size),e.xp6(1),e.zWS("d","M ",n.project.drawing_grid_size," 0 L 0 0 0 ",n.project.drawing_grid_size,""),e.uIk("stroke-width",n.gridVisibility),e.xp6(2),e.uIk("x",n.nodeGridX)("y",n.nodeGridY)("width",n.project.grid_size)("height",n.project.grid_size),e.xp6(1),e.zWS("d","M ",n.project.grid_size," 0 L 0 0 0 ",n.project.grid_size,""),e.uIk("stroke-width",n.gridVisibility),e.xp6(3),e.Q6J("svg",a),e.xp6(4),e.Q6J("server",n.server)("svg",a),e.xp6(2),e.Q6J("svg",a)}},directives:[rme,ime,ame,sme,lme,ume,dme,pme],styles:["svg[_ngcontent-%COMP%]{display:block}"]}),r}(),mme=function(i,t){return function(n){return(0,O1.H)(500).pipe((0,Ou.w)(function(){return t.list(i)}),(0,kr.U)(function(a){return a.find(function(o){return o.name===n.value})?{projectExist:!0}:null}))}};function vme(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",1),e.TgZ(1,"button",2),e.NdJ("click",function(){return e.CHM(t),e.oxw().onNoClick()}),e._uU(2,"No"),e.qZA(),e.TgZ(3,"button",3),e.NdJ("click",function(){return e.CHM(t),e.oxw().onYesClick()}),e._uU(4," Yes "),e.qZA(),e.qZA()}}function gme(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",1),e.TgZ(1,"button",4),e.NdJ("click",function(){return e.CHM(t),e.oxw().onNoClick()}),e._uU(2,"Ok"),e.qZA(),e.qZA()}}var cq=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.dialogRef=t,this.data=n,this.existingProject=n.existingProject}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){"opened"===this.existingProject.status?(this.confirmationMessage="Project ".concat(this.existingProject.name," is open. You can not overwrite it."),this.isOpen=!0):this.confirmationMessage="Project ".concat(this.existingProject.name," already exist, overwrite it?")}},{key:"onNoClick",value:function(){this.dialogRef.close(!1)}},{key:"onYesClick",value:function(){this.dialogRef.close(!0)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(hd))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-import-project-dialog"]],decls:4,vars:3,consts:[["mat-dialog-actions","",4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",1,"cancelButton",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",1,"confirmButton",3,"click"],["mat-button","","color","accent",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"span"),e._uU(1),e.qZA(),e.YNc(2,vme,5,0,"div",0),e.YNc(3,gme,3,0,"div",0)),2&t&&(e.xp6(1),e.Oqu(n.confirmationMessage),e.xp6(1),e.Q6J("ngIf",!n.isOpen),e.xp6(1),e.Q6J("ngIf",n.isOpen))},directives:[Pt.O5,ti,En],styles:[""]}),r}(),kp=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"get",value:function(n){return new RegExp(/[~`!#$%\^&*+=\[\]\\';,/{}|\\":<>\?]/).test(n.value)?{invalidName:!0}:null}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),vd=f(81856);function _me(r,i){1&r&&(e.TgZ(0,"mat-error"),e._uU(1,"Project name is required"),e.qZA())}function yme(r,i){1&r&&(e.TgZ(0,"mat-error"),e._uU(1,"Project name is incorrect"),e.qZA())}function bme(r,i){1&r&&(e.TgZ(0,"mat-error"),e._uU(1,"Project with this name exists"),e.qZA())}var Cme=function(i){return{"is-invalid":i}},dq=function(){var r=function(){function i(t,n,a,o,s,l,d){(0,v.Z)(this,i),this.dialogRef=t,this.router=n,this.dialog=a,this.projectService=o,this.toasterService=s,this.formBuilder=l,this.projectNameValidator=d,this.onAddProject=new e.vpe}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){this.projectNameForm=this.formBuilder.group({projectName:new re.NI(null,[re.kI.required,this.projectNameValidator.get],[mme(this.server,this.projectService)])})}},{key:"form",get:function(){return this.projectNameForm.controls}},{key:"onAddClick",value:function(){var n=this;this.projectNameForm.invalid||this.projectService.list(this.server).subscribe(function(a){var o=n.projectNameForm.controls.projectName.value,s=a.find(function(l){return l.name===o});s?n.openConfirmationDialog(s):n.addProject()})}},{key:"onNoClick",value:function(){this.dialogRef.close()}},{key:"addProject",value:function(){var n=this;this.uuid=(0,Eo.v4)(),this.projectService.add(this.server,this.projectNameForm.controls.projectName.value,this.uuid).subscribe(function(a){n.dialogRef.close(),n.toasterService.success("Project ".concat(a.name," added")),n.router.navigate(["/server",n.server.id,"project",a.project_id])})}},{key:"onKeyDown",value:function(n){"Enter"===n.key&&this.onAddClick()}},{key:"openConfirmationDialog",value:function(n){var a=this;this.dialog.open(cq,{width:"300px",height:"150px",data:{existingProject:n},autoFocus:!1,disableClose:!0}).afterClosed().subscribe(function(s){s&&a.projectService.close(a.server,n.project_id).subscribe(function(){a.projectService.delete(a.server,n.project_id).subscribe(function(){a.addProject()})})})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(xr),e.Y36(ca),e.Y36(vd.Y),e.Y36(Yn),e.Y36(re.qu),e.Y36(kp))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-add-blank-project-dialog"]],features:[e._Bn([kp])],decls:13,vars:7,consts:[["mat-dialog-title",""],[1,"file-name-form",3,"formGroup"],[1,"file-name-form-field"],["matInput","","type","text","formControlName","projectName","placeholder","Please enter name",3,"ngClass","keydown"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",1,"add-project-button",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1,"Create new project"),e.qZA(),e.TgZ(2,"form",1),e.TgZ(3,"mat-form-field",2),e.TgZ(4,"input",3),e.NdJ("keydown",function(o){return n.onKeyDown(o)}),e.qZA(),e.YNc(5,_me,2,0,"mat-error",4),e.YNc(6,yme,2,0,"mat-error",4),e.YNc(7,bme,2,0,"mat-error",4),e.qZA(),e.TgZ(8,"div",5),e.TgZ(9,"button",6),e.NdJ("click",function(){return n.onNoClick()}),e._uU(10,"Cancel"),e.qZA(),e.TgZ(11,"button",7),e.NdJ("click",function(){return n.onAddClick()}),e._uU(12," Add project "),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(2),e.Q6J("formGroup",n.projectNameForm),e.xp6(2),e.Q6J("ngClass",e.VKq(5,Cme,null==n.form.projectName?null:n.form.projectName.errors)),e.xp6(1),e.Q6J("ngIf",(null==n.form.projectName?null:n.form.projectName.touched)&&(null==n.form.projectName?null:n.form.projectName.errors)&&(null==n.form.projectName?null:n.form.projectName.errors.required)),e.xp6(1),e.Q6J("ngIf",(null==n.form.projectName?null:n.form.projectName.errors)&&(null==n.form.projectName?null:n.form.projectName.errors.invalidName)),e.xp6(1),e.Q6J("ngIf",(null==n.form.projectName?null:n.form.projectName.errors)&&(null==n.form.projectName?null:n.form.projectName.errors.projectExist)))},directives:[ii,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,Pt.mk,Pt.O5,ti,En,Ln.TO],styles:[".file-name-form-field[_ngcontent-%COMP%]{width:100%}.project-snackbar[_ngcontent-%COMP%]{background:#2196f3}"]}),r}();function Sme(r,i){}var Tme={bottomSheetState:(0,en.X$)("state",[(0,en.SB)("void, hidden",(0,en.oB)({transform:"translateY(100%)"})),(0,en.SB)("visible",(0,en.oB)({transform:"translateY(0%)"})),(0,en.eR)("visible => void, visible => hidden",(0,en.jt)("".concat(sn.mZ.COMPLEX," ").concat(sn.yN.ACCELERATION_CURVE))),(0,en.eR)("void => visible",(0,en.jt)("".concat(sn.mZ.EXITING," ").concat(sn.yN.DECELERATION_CURVE)))])},kme=new e.OlP("MatBottomSheetData"),$6=function r(){(0,v.Z)(this,r),this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.closeOnNavigation=!0,this.autoFocus="dialog",this.restoreFocus=!0},wme=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o,s,l,d,h,C,P){var N;return(0,v.Z)(this,n),(N=t.call(this))._elementRef=a,N._changeDetectorRef=o,N._focusTrapFactory=s,N._interactivityChecker=l,N._ngZone=d,N.bottomSheetConfig=P,N._animationState="void",N._animationStateChanged=new e.vpe,N._elementFocusedBeforeOpened=null,N.attachDomPortal=function(q){return N._validatePortalAttached(),N._setPanelClass(),N._savePreviouslyFocusedElement(),N._portalOutlet.attachDomPortal(q)},N._document=C,N._breakpointSubscription=h.observe([Wf_Medium,Wf_Large,"(min-width: 1920px)"]).subscribe(function(){N._toggleClass("mat-bottom-sheet-container-medium",h.isMatched(Wf_Medium)),N._toggleClass("mat-bottom-sheet-container-large",h.isMatched(Wf_Large)),N._toggleClass("mat-bottom-sheet-container-xlarge",h.isMatched("(min-width: 1920px)"))}),N}return(0,g.Z)(n,[{key:"attachComponentPortal",value:function(o){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(o)}},{key:"attachTemplatePortal",value:function(o){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(o)}},{key:"enter",value:function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}},{key:"exit",value:function(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}},{key:"ngOnDestroy",value:function(){this._breakpointSubscription.unsubscribe(),this._destroyed=!0}},{key:"_onAnimationDone",value:function(o){"hidden"===o.toState?this._restoreFocus():"visible"===o.toState&&this._trapFocus(),this._animationStateChanged.emit(o)}},{key:"_onAnimationStart",value:function(o){this._animationStateChanged.emit(o)}},{key:"_toggleClass",value:function(o,s){this._elementRef.nativeElement.classList.toggle(o,s)}},{key:"_validatePortalAttached",value:function(){this._portalOutlet.hasAttached()}},{key:"_setPanelClass",value:function(){var o;(o=this._elementRef.nativeElement.classList).add.apply(o,(0,T.Z)((0,Hn.Eq)(this.bottomSheetConfig.panelClass||[])))}},{key:"_forceFocus",value:function(o,s){this._interactivityChecker.isFocusable(o)||(o.tabIndex=-1,this._ngZone.runOutsideAngular(function(){o.addEventListener("blur",function(){return o.removeAttribute("tabindex")}),o.addEventListener("mousedown",function(){return o.removeAttribute("tabindex")})})),o.focus(s)}},{key:"_focusByCssSelector",value:function(o,s){var l=this._elementRef.nativeElement.querySelector(o);l&&this._forceFocus(l,s)}},{key:"_trapFocus",value:function(){var o=this._elementRef.nativeElement;switch(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(o)),this.bottomSheetConfig.autoFocus){case!1:case"dialog":var s=(0,vi.ht)();s!==o&&!o.contains(s)&&o.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady();break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.bottomSheetConfig.autoFocus)}}},{key:"_restoreFocus",value:function(){var o=this._elementFocusedBeforeOpened;if(this.bottomSheetConfig.restoreFocus&&o&&"function"==typeof o.focus){var s=(0,vi.ht)(),l=this._elementRef.nativeElement;(!s||s===this._document.body||s===l||l.contains(s))&&o.focus()}this._focusTrap&&this._focusTrap.destroy()}},{key:"_savePreviouslyFocusedElement",value:function(){var o=this;this._elementFocusedBeforeOpened=(0,vi.ht)(),this._elementRef.nativeElement.focus&&Promise.resolve().then(function(){return o._elementRef.nativeElement.focus()})}}]),n}(ta.en);return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(Gi.qV),e.Y36(Gi.ic),e.Y36(e.R0b),e.Y36(h6),e.Y36(Pt.K0,8),e.Y36($6))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-bottom-sheet-container"]],viewQuery:function(t,n){var a;1&t&&e.Gf(ta.Pl,7),2&t&&e.iGM(a=e.CRH())&&(n._portalOutlet=a.first)},hostAttrs:["tabindex","-1","role","dialog","aria-modal","true",1,"mat-bottom-sheet-container"],hostVars:2,hostBindings:function(t,n){1&t&&e.WFA("@state.start",function(o){return n._onAnimationStart(o)})("@state.done",function(o){return n._onAnimationDone(o)}),2&t&&(e.uIk("aria-label",null==n.bottomSheetConfig?null:n.bottomSheetConfig.ariaLabel),e.d8E("@state",n._animationState))},features:[e.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,n){1&t&&e.YNc(0,Sme,0,0,"ng-template",0)},directives:[ta.Pl],styles:[".mat-bottom-sheet-container{padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:4px;border-top-right-radius:4px}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}\n"],encapsulation:2,data:{animation:[Tme.bottomSheetState]}}),r}(),pq=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[[Ga.U8,sn.BQ,ta.eL],sn.BQ]}),r}(),r2=function(){function r(i,t){var n=this;(0,v.Z)(this,r),this._overlayRef=t,this._afterDismissed=new Un.xQ,this._afterOpened=new Un.xQ,this.containerInstance=i,this.disableClose=i.bottomSheetConfig.disableClose,i._animationStateChanged.pipe((0,ea.h)(function(a){return"done"===a.phaseName&&"visible"===a.toState}),(0,Ea.q)(1)).subscribe(function(){n._afterOpened.next(),n._afterOpened.complete()}),i._animationStateChanged.pipe((0,ea.h)(function(a){return"done"===a.phaseName&&"hidden"===a.toState}),(0,Ea.q)(1)).subscribe(function(){clearTimeout(n._closeFallbackTimeout),t.dispose()}),t.detachments().pipe((0,Ea.q)(1)).subscribe(function(){n._afterDismissed.next(n._result),n._afterDismissed.complete()}),(0,Ra.T)(t.backdropClick(),t.keydownEvents().pipe((0,ea.h)(function(a){return a.keyCode===ui.hY}))).subscribe(function(a){!n.disableClose&&("keydown"!==a.type||!(0,ui.Vb)(a))&&(a.preventDefault(),n.dismiss())})}return(0,g.Z)(r,[{key:"dismiss",value:function(t){var n=this;this._afterDismissed.closed||(this.containerInstance._animationStateChanged.pipe((0,ea.h)(function(a){return"start"===a.phaseName}),(0,Ea.q)(1)).subscribe(function(a){n._closeFallbackTimeout=setTimeout(function(){n._overlayRef.dispose()},a.totalTime+100),n._overlayRef.detachBackdrop()}),this._result=t,this.containerInstance.exit())}},{key:"afterDismissed",value:function(){return this._afterDismissed}},{key:"afterOpened",value:function(){return this._afterOpened}},{key:"backdropClick",value:function(){return this._overlayRef.backdropClick()}},{key:"keydownEvents",value:function(){return this._overlayRef.keydownEvents()}}]),r}(),xme=new e.OlP("mat-bottom-sheet-default-options"),uS=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this._overlay=t,this._injector=n,this._parentBottomSheet=a,this._defaultOptions=o,this._bottomSheetRefAtThisLevel=null}return(0,g.Z)(i,[{key:"_openedBottomSheetRef",get:function(){var n=this._parentBottomSheet;return n?n._openedBottomSheetRef:this._bottomSheetRefAtThisLevel},set:function(n){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=n:this._bottomSheetRefAtThisLevel=n}},{key:"open",value:function(n,a){var o=this,s=function(r,i){return(0,D.Z)((0,D.Z)({},r),i)}(this._defaultOptions||new $6,a),l=this._createOverlay(s),d=this._attachContainer(l,s),h=new r2(d,l);if(n instanceof e.Rgc)d.attachTemplatePortal(new ta.UE(n,null,{$implicit:s.data,bottomSheetRef:h}));else{var C=new ta.C5(n,void 0,this._createInjector(s,h)),P=d.attachComponentPortal(C);h.instance=P.instance}return h.afterDismissed().subscribe(function(){o._openedBottomSheetRef==h&&(o._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(function(){return h.containerInstance.enter()}),this._openedBottomSheetRef.dismiss()):h.containerInstance.enter(),this._openedBottomSheetRef=h,h}},{key:"dismiss",value:function(n){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(n)}},{key:"ngOnDestroy",value:function(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}},{key:"_attachContainer",value:function(n,a){var s=e.zs3.create({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:$6,useValue:a}]}),l=new ta.C5(wme,a.viewContainerRef,s);return n.attach(l).instance}},{key:"_createOverlay",value:function(n){var a=new Ga.X_({direction:n.direction,hasBackdrop:n.hasBackdrop,disposeOnNavigation:n.closeOnNavigation,maxWidth:"100%",scrollStrategy:n.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0")});return n.backdropClass&&(a.backdropClass=n.backdropClass),this._overlay.create(a)}},{key:"_createInjector",value:function(n,a){var o=n&&n.viewContainerRef&&n.viewContainerRef.injector,s=[{provide:r2,useValue:a},{provide:kme,useValue:n.data}];return n.direction&&(!o||!o.get(Ms.Is,null,e.XFs.Optional))&&s.push({provide:Ms.Is,useValue:{value:n.direction,change:(0,Kn.of)()}}),e.zs3.create({parent:o||this._injector,providers:s})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(Ga.aV),e.LFG(e.zs3),e.LFG(r,12),e.LFG(xme,8))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac,providedIn:pq}),r}(),Mme=function(i){return{lightTheme:i}},Xf=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.bottomSheetRef=t,this.themeService=n,this.message="",this.isLightThemeEnabled=!1}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){this.isLightThemeEnabled="light"===this.themeService.getActualTheme()}},{key:"onNoClick",value:function(){this.bottomSheetRef.dismiss(!1)}},{key:"onYesClick",value:function(){this.bottomSheetRef.dismiss(!0)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(r2),e.Y36(Ru.f))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-confirmation-bottomsheet"]],decls:8,vars:4,consts:[[1,"dialogWrapper",3,"ngClass"],[1,"title"],["mat-button","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e._uU(2),e.qZA(),e.TgZ(3,"div"),e.TgZ(4,"button",2),e.NdJ("click",function(){return n.onNoClick()}),e._uU(5,"No"),e.qZA(),e.TgZ(6,"button",2),e.NdJ("click",function(){return n.onYesClick()}),e._uU(7,"Yes"),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.Q6J("ngClass",e.VKq(2,Mme,n.isLightThemeEnabled)),e.xp6(2),e.Oqu(n.message))},directives:[Pt.mk,En],styles:[".dialogWrapper[_ngcontent-%COMP%]{background-color:#263238;padding:10px 20px;margin-bottom:-8px;display:flex;justify-content:space-between;align-items:center}.lightTheme[_ngcontent-%COMP%]{background-color:#fff!important}.title[_ngcontent-%COMP%]{margin-right:10px;margin-left:10px}"]}),r}(),a2=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"get",value:function(n){return+n.value>=0?null:{negativeValue:!0}}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Ta=f(12605);function Ame(r,i){1&r&&(e.TgZ(0,"th",26),e._uU(1,"Name"),e.qZA())}function Dme(r,i){if(1&r&&(e.TgZ(0,"td",27),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.Oqu(t.name)}}function Ome(r,i){1&r&&(e.TgZ(0,"th",26),e._uU(1,"Value"),e.qZA())}function Pme(r,i){if(1&r&&(e.TgZ(0,"td",27),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.Oqu(t.value)}}function Ime(r,i){1&r&&(e.TgZ(0,"th",26),e._uU(1,"Actions"),e.qZA())}function Rme(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"td",27),e.TgZ(1,"button",28),e.NdJ("click",function(){var o=e.CHM(t).$implicit;return e.oxw().deleteVariable(o)}),e.TgZ(2,"mat-icon",29),e._uU(3,"delete"),e.qZA(),e.qZA(),e.qZA()}}function Nme(r,i){1&r&&e._UZ(0,"tr",30)}function Zme(r,i){1&r&&e._UZ(0,"tr",31)}var o2=function(){return{standalone:!0}},Lme=function(){var r=function(){function i(t,n,a,o,s){(0,v.Z)(this,i),this.dialogRef=t,this.formBuilder=n,this.projectService=a,this.toasterService=o,this.nonNegativeValidator=s,this.displayedColumns=["name","value","actions"],this.variables=[],this.formGroup=this.formBuilder.group({projectName:new re.NI("",[re.kI.required]),width:new re.NI("",[re.kI.required,s.get]),height:new re.NI("",[re.kI.required,s.get]),nodeGridSize:new re.NI("",[re.kI.required,s.get]),drawingGridSize:new re.NI("",[re.kI.required,s.get])}),this.variableFormGroup=this.formBuilder.group({name:new re.NI("",[re.kI.required]),value:new re.NI("",[re.kI.required])})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.formGroup.controls.projectName.setValue(this.project.name),this.formGroup.controls.width.setValue(this.project.scene_width),this.formGroup.controls.height.setValue(this.project.scene_height),this.formGroup.controls.nodeGridSize.setValue(this.project.grid_size),this.formGroup.controls.drawingGridSize.setValue(this.project.drawing_grid_size),this.project.variables&&this.project.variables.forEach(function(a){return n.variables.push(a)}),this.auto_close=!this.project.auto_close}},{key:"addVariable",value:function(){if(this.variableFormGroup.valid){var n={name:this.variableFormGroup.get("name").value,value:this.variableFormGroup.get("value").value};this.variables=this.variables.concat([n])}else this.toasterService.error("Fill all required fields with correct values.")}},{key:"deleteVariable",value:function(n){this.variables=this.variables.filter(function(a){return a!==n})}},{key:"onNoClick",value:function(){this.dialogRef.close()}},{key:"onYesClick",value:function(){var n=this;this.formGroup.valid?(this.project.name=this.formGroup.get("projectName").value,this.project.scene_width=this.formGroup.get("width").value,this.project.scene_height=this.formGroup.get("height").value,this.project.drawing_grid_size=this.formGroup.get("drawingGridSize").value,this.project.grid_size=this.formGroup.get("nodeGridSize").value,this.project.variables=this.variables,this.project.auto_close=!this.auto_close,this.projectService.update(this.server,this.project).subscribe(function(a){n.toasterService.success("Project ".concat(a.name," updated.")),n.onNoClick()})):this.toasterService.error("Fill all required fields with correct values.")}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(re.qu),e.Y36(vd.Y),e.Y36(Yn),e.Y36(a2))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-edit-project-dialog"]],decls:49,vars:17,consts:[["mat-dialog-title",""],[1,"modal-form-container"],["label","General"],[3,"formGroup"],[1,"form-field"],["matInput","","formControlName","projectName","placeholder","Project name","type","text"],["matInput","","formControlName","width","placeholder","Scene width (px)","type","number"],["matInput","","formControlName","height","placeholder","Scene height (px)","type","number"],["matInput","","formControlName","nodeGridSize","placeholder","Node grid size","type","number"],["matInput","","formControlName","drawingGridSize","placeholder","Drawing grid size","type","number"],[3,"ngModelOptions","ngModel","ngModelChange"],["label","Global variables"],["matInput","","formControlName","name","placeholder","Name","type","text"],["matInput","","formControlName","value","placeholder","Value","type","text"],["mat-button","","mat-raised-button","","color","primary",1,"form-field",3,"click"],["mat-table","",1,"table",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","value"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","","matTooltip","Delete variable","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Delete adapter"],["mat-header-row",""],["mat-row",""]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1,"Edit project"),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"mat-tab-group"),e.TgZ(4,"mat-tab",2),e.TgZ(5,"form",3),e.TgZ(6,"mat-form-field",4),e._UZ(7,"input",5),e.qZA(),e.TgZ(8,"mat-form-field",4),e._UZ(9,"input",6),e.qZA(),e.TgZ(10,"mat-form-field",4),e._UZ(11,"input",7),e.qZA(),e.TgZ(12,"mat-form-field",4),e._UZ(13,"input",8),e.qZA(),e.TgZ(14,"mat-form-field",4),e._UZ(15,"input",9),e.qZA(),e.qZA(),e.TgZ(16,"mat-checkbox",10),e.NdJ("ngModelChange",function(o){return n.project.auto_open=o}),e._uU(17," Open this project in the background when GNS3 server starts "),e.qZA(),e.TgZ(18,"mat-checkbox",10),e.NdJ("ngModelChange",function(o){return n.project.auto_start=o}),e._uU(19," Start all nodes when this project is opened "),e.qZA(),e.TgZ(20,"mat-checkbox",10),e.NdJ("ngModelChange",function(o){return n.auto_close=o}),e._uU(21," Leave this project running in the background after closing "),e.qZA(),e.TgZ(22,"mat-checkbox",10),e.NdJ("ngModelChange",function(o){return n.project.show_interface_labels=o}),e._uU(23," Show interface labels at start "),e.qZA(),e.qZA(),e.TgZ(24,"mat-tab",11),e.TgZ(25,"form",3),e.TgZ(26,"mat-form-field",4),e._UZ(27,"input",12),e.qZA(),e.TgZ(28,"mat-form-field",4),e._UZ(29,"input",13),e.qZA(),e.qZA(),e.TgZ(30,"button",14),e.NdJ("click",function(){return n.addVariable()}),e._uU(31," Add variable "),e.qZA(),e.TgZ(32,"table",15),e.ynx(33,16),e.YNc(34,Ame,2,0,"th",17),e.YNc(35,Dme,2,1,"td",18),e.BQk(),e.ynx(36,19),e.YNc(37,Ome,2,0,"th",17),e.YNc(38,Pme,2,1,"td",18),e.BQk(),e.ynx(39,20),e.YNc(40,Ime,2,0,"th",17),e.YNc(41,Rme,4,0,"td",18),e.BQk(),e.YNc(42,Nme,1,0,"tr",21),e.YNc(43,Zme,1,0,"tr",22),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(44,"div",23),e.TgZ(45,"button",24),e.NdJ("click",function(){return n.onNoClick()}),e._uU(46,"Cancel"),e.qZA(),e.TgZ(47,"button",25),e.NdJ("click",function(){return n.onYesClick()}),e._uU(48,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(5),e.Q6J("formGroup",n.formGroup),e.xp6(11),e.Q6J("ngModelOptions",e.DdM(13,o2))("ngModel",n.project.auto_open),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(14,o2))("ngModel",n.project.auto_start),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(15,o2))("ngModel",n.auto_close),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(16,o2))("ngModel",n.project.show_interface_labels),e.xp6(3),e.Q6J("formGroup",n.variableFormGroup),e.xp6(7),e.Q6J("dataSource",n.variables),e.xp6(10),e.Q6J("matHeaderRowDef",n.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",n.displayedColumns))},directives:[ii,Ta.SP,Ta.uX,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,re.wV,La,re.On,En,nu,kl,Tl,Sl,ru,iu,ti,wl,xl,ts,er,au,ou],styles:[".form-field[_ngcontent-%COMP%]{width:100%}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}"]}),r}();function Fme(r,i){1&r&&(e.TgZ(0,"mat-error"),e._uU(1,"Project name is required"),e.qZA())}function Bme(r,i){1&r&&(e.TgZ(0,"mat-error"),e._uU(1,"Project name is incorrect"),e.qZA())}var Ume=function(i){return{empty:i}},Hme=function(i){return{"is-invalid":i}},Vme=function(i){return{width:i}},fq=function(){var r=function(){function i(t,n,a,o,s,l){(0,v.Z)(this,i),this.dialog=t,this.dialogRef=n,this.data=a,this.formBuilder=o,this.projectService=s,this.projectNameValidator=l,this.isImportEnabled=!1,this.isFinishEnabled=!1,this.isDeleteVisible=!1,this.resultMessage="The project is being imported... Please wait",this.submitted=!1,this.isFirstStepCompleted=!1,this.onImportProject=new e.vpe,this.projectNameForm=this.formBuilder.group({projectName:new re.NI(null,[re.kI.required,l.get])})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.uploader=new qm({}),this.uploader.onAfterAddingFile=function(a){a.withCredentials=!1},this.uploader.onErrorItem=function(a,o,s,l){var d=JSON.parse(o);n.resultMessage="An error occured: "+d.message,n.isFinishEnabled=!0},this.uploader.onCompleteItem=function(a,o,s,l){n.onImportProject.emit(n.uuid),n.resultMessage="Project was imported succesfully!",n.isFinishEnabled=!0}}},{key:"form",get:function(){return this.projectNameForm.controls}},{key:"uploadProjectFile",value:function(n){this.projectNameForm.controls.projectName.setValue(n.target.files[0].name.split(".")[0]),this.isImportEnabled=!0,this.isDeleteVisible=!0}},{key:"onImportClick",value:function(){var n=this;this.projectNameForm.invalid?this.submitted=!0:this.projectService.list(this.server).subscribe(function(a){var o=n.projectNameForm.controls.projectName.value,s=a.find(function(l){return l.name===o});s?n.openConfirmationDialog(s):n.importProject()})}},{key:"importProject",value:function(){var n=this.prepareUploadPath();this.uploader.queue.forEach(function(o){return o.url=n}),this.isFirstStepCompleted=!0,this.uploader.uploadItem(this.uploader.queue[0])}},{key:"openConfirmationDialog",value:function(n){var a=this;this.dialog.open(cq,{width:"300px",height:"150px",data:{existingProject:n},autoFocus:!1,disableClose:!0}).afterClosed().subscribe(function(s){s&&a.projectService.close(a.server,n.project_id).subscribe(function(){a.projectService.delete(a.server,n.project_id).subscribe(function(){a.importProject()})})})}},{key:"onNoClick",value:function(){this.uploader.cancelAll(),this.dialogRef.close()}},{key:"onFinishClick",value:function(){this.dialogRef.close()}},{key:"onDeleteClick",value:function(){this.uploader.queue.pop(),this.isImportEnabled=!1,this.isDeleteVisible=!1,this.projectNameForm.controls.projectName.setValue("")}},{key:"prepareUploadPath",value:function(){return this.uuid=(0,Eo.v4)(),this.projectService.getUploadPath(this.server,this.uuid,this.projectNameForm.controls.projectName.value)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(ca),e.Y36(zr),e.Y36(hd),e.Y36(re.qu),e.Y36(vd.Y),e.Y36(kp))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-import-project-dialog"]],features:[e._Bn([kp])],decls:29,vars:19,consts:[["mat-dialog-title",""],[3,"hidden"],[1,"file-name-form",3,"formGroup"],["type","file","accept",".gns3project, .gns3p","ng2FileSelect","",1,"non-visible",3,"uploader","change"],["file",""],["mat-raised-button","","color","primary","matTooltip","Import your .gns3p or .gns3project file","matTooltipClass","custom-tooltip",1,"file-button",3,"click"],[1,"file-name-form-field",3,"ngClass"],["matInput","","type","text","formControlName","projectName","placeholder","Please enter name",3,"ngClass"],[4,"ngIf"],[1,"delete-button",3,"hidden"],["color","primary",1,"delete-icon",3,"click"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"disabled","click"],[1,"progress"],["role","progressbar",1,"progress-bar",3,"ngStyle"],[1,"result-message-box"]],template:function(t,n){if(1&t){var a=e.EpF();e.TgZ(0,"h1",0),e._uU(1,"Import project"),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"form",2),e.TgZ(4,"input",3,4),e.NdJ("change",function(s){return n.uploadProjectFile(s)}),e.qZA(),e.TgZ(6,"button",5),e.NdJ("click",function(){return e.CHM(a),e.MAs(5).click()}),e._uU(7," Choose file "),e.qZA(),e.TgZ(8,"mat-form-field",6),e._UZ(9,"input",7),e.YNc(10,Fme,2,0,"mat-error",8),e.YNc(11,Bme,2,0,"mat-error",8),e.qZA(),e.TgZ(12,"button",9),e.TgZ(13,"mat-icon",10),e.NdJ("click",function(){return n.onDeleteClick()}),e._uU(14,"clear"),e.qZA(),e.qZA(),e.TgZ(15,"div",11),e.TgZ(16,"button",12),e.NdJ("click",function(){return n.onNoClick()}),e._uU(17,"Cancel"),e.qZA(),e.TgZ(18,"button",13),e.NdJ("click",function(){return n.onImportClick()}),e._uU(19," Import "),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(20,"div",1),e.TgZ(21,"div",14),e._UZ(22,"div",15),e.qZA(),e.TgZ(23,"div",16),e.TgZ(24,"span"),e._uU(25),e.qZA(),e.qZA(),e.TgZ(26,"div",11),e.TgZ(27,"button",13),e.NdJ("click",function(){return n.onNoClick()}),e._uU(28," Finish "),e.qZA(),e.qZA(),e.qZA()}2&t&&(e.xp6(2),e.Q6J("hidden",n.isFirstStepCompleted),e.xp6(1),e.Q6J("formGroup",n.projectNameForm),e.xp6(1),e.Q6J("uploader",n.uploader),e.xp6(4),e.Q6J("ngClass",e.VKq(13,Ume,!n.isDeleteVisible)),e.xp6(1),e.Q6J("ngClass",e.VKq(15,Hme,n.form.projectName.errors)),e.xp6(1),e.Q6J("ngIf",n.form.projectName.errors&&n.form.projectName.errors.required),e.xp6(1),e.Q6J("ngIf",n.form.projectName.errors&&n.form.projectName.errors.invalidName),e.xp6(1),e.Q6J("hidden",!n.isDeleteVisible),e.xp6(6),e.Q6J("disabled",!n.isImportEnabled),e.xp6(2),e.Q6J("hidden",!n.isFirstStepCompleted),e.xp6(2),e.Q6J("ngStyle",e.VKq(17,Vme,n.uploader.progress+"%")),e.xp6(3),e.Oqu(n.resultMessage),e.xp6(2),e.Q6J("disabled",!n.isFinishEnabled))},directives:[ii,re._Y,re.JL,re.sg,P1,En,ts,Ln.KE,Pt.mk,ir,re.Fj,re.JJ,re.u,Pt.O5,er,ti,Pt.PC,Ln.TO],styles:['.non-visible[_ngcontent-%COMP%]{display:none}.file-button[_ngcontent-%COMP%]{width:100%;margin-top:5px;margin-bottom:10px;padding:0}.file-name-form[_ngcontent-%COMP%]{float:right;width:100%}.file-name-form-field[_ngcontent-%COMP%]{width:90%}.empty[_ngcontent-%COMP%]{width:100%}.delete-button[_ngcontent-%COMP%]{background:transparent;border:none;outline:0;width:10%}.delete-icon[_ngcontent-%COMP%]{vertical-align:"middle"}.result-message-box[_ngcontent-%COMP%]{margin-top:10px;text-align:center}.progress-bar[_ngcontent-%COMP%]{background-color:#0097a7}']}),r}(),jme=function(i){return{lightTheme:i}},hq=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.bottomSheetRef=t,this.themeService=n,this.projectMessage="",this.isLightThemeEnabled=!1}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){this.isLightThemeEnabled="light"===this.themeService.getActualTheme()}},{key:"onNoClick",value:function(){this.bottomSheetRef.dismiss(!1)}},{key:"onYesClick",value:function(){this.bottomSheetRef.dismiss(!0)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(r2),e.Y36(Ru.f))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-navigation-dialog"]],decls:8,vars:4,consts:[[1,"dialogWrapper",3,"ngClass"],[1,"title"],["mat-button","",3,"click"],["mat-button","",1,"confirmButton",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e._uU(2),e.qZA(),e.TgZ(3,"div"),e.TgZ(4,"button",2),e.NdJ("click",function(){return n.onNoClick()}),e._uU(5,"No"),e.qZA(),e.TgZ(6,"button",3),e.NdJ("click",function(){return n.onYesClick()}),e._uU(7,"Yes"),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.Q6J("ngClass",e.VKq(2,jme,n.isLightThemeEnabled)),e.xp6(2),e.hij("Do you want to navigate to ",n.projectMessage,"?"))},directives:[Pt.mk,En],styles:[".dialogWrapper[_ngcontent-%COMP%]{background-color:#263238;padding:10px 20px;margin-bottom:-8px;display:flex;justify-content:space-between;align-items:center}.lightTheme[_ngcontent-%COMP%]{background-color:#fff!important}.title[_ngcontent-%COMP%]{margin-right:10px;margin-left:10px}"]}),r}();function qme(r,i){1&r&&(e.TgZ(0,"mat-error"),e._uU(1,"Project name is required"),e.qZA())}function zme(r,i){1&r&&(e.TgZ(0,"mat-error"),e._uU(1,"Project name is incorrect"),e.qZA())}var Wme=function(i){return{"is-invalid":i}},Gme=function(){var r=function(){function i(t,n,a,o,s,l){(0,v.Z)(this,i),this.dialogRef=t,this.projectService=n,this.nodesDataSource=a,this.toasterService=o,this.formBuilder=s,this.projectNameValidator=l,this.onAddProject=new e.vpe,this.projectNameForm=this.formBuilder.group({projectName:new re.NI(null,[re.kI.required,l.get])})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){}},{key:"form",get:function(){return this.projectNameForm.controls}},{key:"onAddClick",value:function(){var n=this;this.projectNameForm.invalid||this.projectService.list(this.server).subscribe(function(a){var o=n.projectNameForm.controls.projectName.value;a.find(function(l){return l.name===o})?n.toasterService.error("Project with this name already exists."):n.nodesDataSource.getItems().filter(function(l){return"started"===l.status&&"vpcs"===l.node_type||"started"===l.status&&"virtualbox"===l.node_type||"started"===l.status&&"vmware"===l.node_type}).length>0?n.toasterService.error("Please stop all nodes in order to save project."):n.addProject()})}},{key:"onNoClick",value:function(){this.dialogRef.close()}},{key:"addProject",value:function(){var n=this;this.projectService.duplicate(this.server,this.project.project_id,this.projectNameForm.controls.projectName.value).subscribe(function(a){n.dialogRef.close(),n.toasterService.success("Project ".concat(a.name," added"))})}},{key:"onKeyDown",value:function(n){"Enter"===n.key&&this.onAddClick()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(vd.Y),e.Y36(Ao.G),e.Y36(Yn),e.Y36(re.qu),e.Y36(kp))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-save-project-dialog"]],features:[e._Bn([kp])],decls:12,vars:6,consts:[["mat-dialog-title",""],[1,"file-name-form",3,"formGroup"],[1,"file-name-form-field"],["matInput","","type","text","formControlName","projectName","placeholder","Please enter name",3,"ngClass","keydown"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1,"Save project as"),e.qZA(),e.TgZ(2,"form",1),e.TgZ(3,"mat-form-field",2),e.TgZ(4,"input",3),e.NdJ("keydown",function(o){return n.onKeyDown(o)}),e.qZA(),e.YNc(5,qme,2,0,"mat-error",4),e.YNc(6,zme,2,0,"mat-error",4),e.qZA(),e.TgZ(7,"div",5),e.TgZ(8,"button",6),e.NdJ("click",function(){return n.onNoClick()}),e._uU(9,"Cancel"),e.qZA(),e.TgZ(10,"button",7),e.NdJ("click",function(){return n.onAddClick()}),e._uU(11,"Save project"),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(2),e.Q6J("formGroup",n.projectNameForm),e.xp6(2),e.Q6J("ngClass",e.VKq(4,Wme,null==n.form.projectName?null:n.form.projectName.errors)),e.xp6(1),e.Q6J("ngIf",(null==n.form.projectName?null:n.form.projectName.touched)&&(null==n.form.projectName?null:n.form.projectName.errors)&&(null==n.form.projectName?null:n.form.projectName.errors.required)),e.xp6(1),e.Q6J("ngIf",(null==n.form.projectName?null:n.form.projectName.touched)&&(null==n.form.projectName?null:n.form.projectName.errors)&&(null==n.form.projectName?null:n.form.projectName.errors.invalidName)))},directives:[ii,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,Pt.mk,Pt.O5,ti,En,Ln.TO],styles:[".file-name-form-field[_ngcontent-%COMP%]{width:100%}.project-snackbar[_ngcontent-%COMP%]{background:#2196f3}"]}),r}(),mq=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"getInfoAboutNode",value:function(n,a){var o=[];return"cloud"===n.node_type?o.push("Cloud ".concat(n.name," is always on.")):"nat"===n.node_type?o.push("NAT ".concat(n.name," is always on.")):"ethernet-hub"===n.node_type?o.push("Ethernet hub ".concat(n.name," is always on.")):"ethernet_switch"===n.node_type?o.push("Ethernet switch ".concat(n.name," is always on.")):"frame_relay_switch"===n.node_type?o.push("Frame relay switch ".concat(n.name," is always on.")):"atm_switch"===n.node_type?o.push("ATM switch ".concat(n.name," is always on.")):"docker"===n.node_type?o.push("Docker ".concat(n.name," is ").concat(n.status,".")):"dynamips"===n.node_type?o.push("Dynamips ".concat(n.name," is always on.")):"traceng"===n.node_type?o.push("TraceNG ".concat(n.name," is always on.")):"virtualbox"===n.node_type?o.push("VirtualBox VM ".concat(n.name," is ").concat(n.status,".")):"vmware"===n.node_type?o.push("VMware VM ".concat(n.name," is ").concat(n.status,".")):"qemu"===n.node_type?o.push("QEMU VM ".concat(n.name," is ").concat(n.status,".")):"iou"===n.node_type?o.push("IOU ".concat(n.name," is always on.")):"vpcs"===n.node_type&&o.push("Node ".concat(n.name," is ").concat(n.status,".")),o.push("Running on server ".concat(a.name," with port ").concat(a.port,".")),o.push("Server ID is ".concat(a.id,".")),"none"!==n.console_type&&"null"!==n.console_type&&o.push("Console is on port ".concat(n.console," and type is ").concat(n.console_type,".")),o.concat(this.getInfoAboutPorts(n.ports))}},{key:"getInfoAboutPorts",value:function(n){var a="Ports: ";return n.forEach(function(o){a+="link_type: ".concat(o.link_type,", \n                        name: ").concat(o.name,"; ")}),a=a.substring(0,a.length-2)}},{key:"getCommandLine",value:function(n){return"cloud"===n.node_type||"nat"===n.node_type||"ethernet_hub"===n.node_type||"ethernet_switch"===n.node_type||"frame_relay_switch"===n.node_type||"atm_switch"===n.node_type||"dynamips"===n.node_type||"traceng"===n.node_type||"iou"===n.node_type?"Command line information is not supported for this type of node.":n.command_line?n.command_line:"Please start the node in order to get the command line information."}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}();function Yme(r,i){if(1&r&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.hij(" ",t," ")}}var Jme=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.dialogRef=t,this.infoService=n,this.infoList=[],this.usage="",this.commandLine=""}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){this.infoList=this.infoService.getInfoAboutNode(this.node,this.server),this.commandLine=this.infoService.getCommandLine(this.node),this.usage=this.node.usage?this.node.usage:"No usage information has been provided for this node."}},{key:"onCloseClick",value:function(){this.dialogRef.close()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(mq))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-info-dialog"]],inputs:{server:"server",node:"node"},decls:16,vars:4,consts:[["mat-dialog-title",""],[1,"modal-form-container"],["animationDuration","0ms"],["label","General information"],[1,"textBox"],[4,"ngFor","ngForOf"],["label","Usage instructions"],["label","Command line"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"mat-tab-group",2),e.TgZ(4,"mat-tab",3),e.TgZ(5,"div",4),e.YNc(6,Yme,2,1,"div",5),e.qZA(),e.qZA(),e.TgZ(7,"mat-tab",6),e.TgZ(8,"div",4),e._uU(9),e.qZA(),e.qZA(),e.TgZ(10,"mat-tab",7),e.TgZ(11,"div",4),e._uU(12),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(13,"div",8),e.TgZ(14,"button",9),e.NdJ("click",function(){return n.onCloseClick()}),e._uU(15,"Close"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.Oqu(n.node.name),e.xp6(5),e.Q6J("ngForOf",n.infoList),e.xp6(3),e.hij(" ",n.usage," "),e.xp6(3),e.hij(" ",n.commandLine," "))},directives:[ii,Ta.SP,Ta.uX,Pt.sg,ti,En],styles:[".textBox[_ngcontent-%COMP%]{margin-top:10px}"]}),r}(),Qme=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.dialog=t}return(0,g.Z)(i,[{key:"showNode",value:function(){var a=this.dialog.open(Jme,{width:"600px",maxHeight:"600px",autoFocus:!1,disableClose:!0}).componentInstance;a.node=this.node,a.server=this.server}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(ca))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-show-node-action"]],inputs:{node:"node",server:"server"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return n.showNode()}),e.TgZ(1,"mat-icon"),e._uU(2,"info"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Show node information"),e.qZA(),e.qZA())},directives:[Zr,er],encapsulation:2}),r}(),Yr=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.httpServer=t}return(0,g.Z)(i,[{key:"getNodeById",value:function(n,a,o){return this.httpServer.get(n,"/projects/".concat(a,"/nodes/").concat(o))}},{key:"start",value:function(n,a){return this.httpServer.post(n,"/projects/".concat(a.project_id,"/nodes/").concat(a.node_id,"/start"),{})}},{key:"startAll",value:function(n,a){return this.httpServer.post(n,"/projects/".concat(a.project_id,"/nodes/start"),{})}},{key:"stop",value:function(n,a){return this.httpServer.post(n,"/projects/".concat(a.project_id,"/nodes/").concat(a.node_id,"/stop"),{})}},{key:"stopAll",value:function(n,a){return this.httpServer.post(n,"/projects/".concat(a.project_id,"/nodes/stop"),{})}},{key:"suspend",value:function(n,a){return this.httpServer.post(n,"/projects/".concat(a.project_id,"/nodes/").concat(a.node_id,"/suspend"),{})}},{key:"suspendAll",value:function(n,a){return this.httpServer.post(n,"/projects/".concat(a.project_id,"/nodes/suspend"),{})}},{key:"reload",value:function(n,a){return this.httpServer.post(n,"/projects/".concat(a.project_id,"/nodes/").concat(a.node_id,"/reload"),{})}},{key:"reloadAll",value:function(n,a){return this.httpServer.post(n,"/projects/".concat(a.project_id,"/nodes/reload"),{})}},{key:"createFromTemplate",value:function(n,a,o,s,l,d){return this.httpServer.post(n,"/projects/".concat(a.project_id,"/templates/").concat(o.template_id),d?{x:Math.round(s),y:Math.round(l),compute_id:d}:{x:Math.round(s),y:Math.round(l),compute_id:"local"})}},{key:"updatePosition",value:function(n,a,o,s,l){var d=Math.round(s),h=Math.round(l);return a.snap_to_grid&&(d=Math.round((d+o.width/2)/a.grid_size)*a.grid_size,h=Math.round((h+o.height/2)/a.grid_size)*a.grid_size,d=Math.round(d-o.width/2),h=Math.round(h-o.height/2)),this.httpServer.put(n,"/projects/".concat(o.project_id,"/nodes/").concat(o.node_id),{x:d,y:h})}},{key:"updateLabel",value:function(n,a,o){return this.httpServer.put(n,"/projects/".concat(a.project_id,"/nodes/").concat(a.node_id),{label:{rotation:o.rotation,style:o.style,text:o.text,x:Math.round(o.x),y:Math.round(o.y)}})}},{key:"updateSymbol",value:function(n,a,o){return this.httpServer.put(n,"/projects/".concat(a.project_id,"/nodes/").concat(a.node_id),{symbol:o})}},{key:"update",value:function(n,a){return this.httpServer.put(n,"/projects/".concat(a.project_id,"/nodes/").concat(a.node_id),{x:Math.round(a.x),y:Math.round(a.y),z:a.z})}},{key:"updateNode",value:function(n,a){return this.httpServer.put(n,"/projects/".concat(a.project_id,"/nodes/").concat(a.node_id),{console_type:a.console_type,console_auto_start:a.console_auto_start,locked:a.locked,name:a.name,properties:a.properties})}},{key:"updateNodeWithCustomAdapters",value:function(n,a){return this.httpServer.put(n,"/projects/".concat(a.project_id,"/nodes/").concat(a.node_id),{console_type:a.console_type,console_auto_start:a.console_auto_start,custom_adapters:a.custom_adapters,name:a.name,properties:a.properties})}},{key:"delete",value:function(n,a){return this.httpServer.delete(n,"/projects/".concat(a.project_id,"/nodes/").concat(a.node_id))}},{key:"duplicate",value:function(n,a){return this.httpServer.post(n,"/projects/".concat(a.project_id,"/nodes/").concat(a.node_id,"/duplicate"),{x:a.x+10,y:a.y+10,z:a.z})}},{key:"getNode",value:function(n,a){return this.httpServer.get(n,"/projects/".concat(a.project_id,"/nodes/").concat(a.node_id))}},{key:"getDefaultCommand",value:function(){return'putty.exe -telnet %h %p -wt "%d" -gns3 5 -skin 4'}},{key:"getNetworkConfiguration",value:function(n,a){return this.httpServer.get(n,"/projects/".concat(a.project_id,"/nodes/").concat(a.node_id,"/files/etc/network/interfaces"),{responseType:"text"})}},{key:"saveNetworkConfiguration",value:function(n,a,o){return this.httpServer.post(n,"/projects/".concat(a.project_id,"/nodes/").concat(a.node_id,"/files/etc/network/interfaces"),o)}},{key:"getStartupConfiguration",value:function(n,a){var o="/projects/".concat(a.project_id,"/nodes/").concat(a.node_id);return"vpcs"===a.node_type?o+="/files/startup.vpc":"iou"===a.node_type?o+="/files/startup-config.cfg":"dynamips"===a.node_type&&(o+="/files/configs/i".concat(a.node_id,"_startup-config.cfg")),this.httpServer.get(n,o,{responseType:"text"})}},{key:"getPrivateConfiguration",value:function(n,a){var o="/projects/".concat(a.project_id,"/nodes/").concat(a.node_id);return"iou"===a.node_type?o+="/files/private-config.cfg":"dynamips"===a.node_type&&(o+="/files/configs/i".concat(a.node_id,"_private-config.cfg")),this.httpServer.get(n,o,{responseType:"text"})}},{key:"saveConfiguration",value:function(n,a,o){var s="/projects/".concat(a.project_id,"/nodes/").concat(a.node_id);return"vpcs"===a.node_type?s+="/files/startup.vpc":"iou"===a.node_type?s+="/files/startup-config.cfg":"dynamips"===a.node_type&&(s+="/files/configs/i".concat(a.node_id,"_startup-config.cfg")),this.httpServer.post(n,s,o)}},{key:"savePrivateConfiguration",value:function(n,a,o){var s="/projects/".concat(a.project_id,"/nodes/").concat(a.node_id);return"iou"===a.node_type?s+="/files/private-config.cfg":"dynamips"===a.node_type&&(s+="/files/configs/i".concat(a.node_id,"_private-config.cfg")),this.httpServer.post(n,s,o)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(Ja.wh))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}();function Kme(r,i){1&r&&(e.TgZ(0,"th",27),e._uU(1,"Port : VPI : VCI"),e.qZA())}function Xme(r,i){if(1&r&&(e.TgZ(0,"td",28),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.Oqu(t.portIn)}}function $me(r,i){1&r&&(e.TgZ(0,"th",27),e._uU(1,"Port : VPI : VCI"),e.qZA())}function eve(r,i){if(1&r&&(e.TgZ(0,"td",28),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.Oqu(t.portOut)}}function tve(r,i){1&r&&(e.TgZ(0,"th",27),e._uU(1,"Actions"),e.qZA())}function nve(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"td",28),e.TgZ(1,"button",29),e.NdJ("click",function(){var o=e.CHM(t).$implicit;return e.oxw(2).delete(o)}),e.TgZ(2,"mat-icon",30),e._uU(3,"delete"),e.qZA(),e.qZA(),e.qZA()}}function rve(r,i){1&r&&e._UZ(0,"tr",31)}function ive(r,i){1&r&&e._UZ(0,"tr",32)}function ave(r,i){if(1&r&&(e.TgZ(0,"table",19),e.ynx(1,20),e.YNc(2,Kme,2,0,"th",21),e.YNc(3,Xme,2,1,"td",22),e.BQk(),e.ynx(4,23),e.YNc(5,$me,2,0,"th",21),e.YNc(6,eve,2,1,"td",22),e.BQk(),e.ynx(7,24),e.YNc(8,tve,2,0,"th",21),e.YNc(9,nve,4,0,"td",22),e.BQk(),e.YNc(10,rve,1,0,"tr",25),e.YNc(11,ive,1,0,"tr",26),e.qZA()),2&r){var t=e.oxw();e.Q6J("dataSource",t.nodeMappingsDataSource),e.xp6(10),e.Q6J("matHeaderRowDef",t.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",t.displayedColumns)}}var ove=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this.dialogRef=t,this.nodeService=n,this.toasterService=a,this.formBuilder=o,this.consoleTypes=[],this.nodeMappings=new Map,this.nodeMappingsDataSource=[],this.dataSource=[],this.displayedColumns=["portIn","portOut","actions"],this.sourcePort="",this.sourceVpi="",this.sourceVci="",this.destinationPort="",this.destinationVpi="",this.destinationVci="",this.useVpiOnly=!1,this.nameForm=this.formBuilder.group({name:new re.NI("",re.kI.required)}),this.inputForm=this.formBuilder.group({sourcePort:new re.NI("",re.kI.required),sourceVci:new re.NI("",re.kI.required),destinationPort:new re.NI("",re.kI.required),destinationVci:new re.NI("",re.kI.required)}),this.abstractForm=this.formBuilder.group({sourceVpi:new re.NI("",re.kI.required),destinationVpi:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.nodeService.getNode(this.server,this.node).subscribe(function(a){n.node=a,n.name=a.name;var o=a.properties.mappings;Object.keys(o).forEach(function(s){n.nodeMappings.set(s,o[s])}),n.nodeMappings.forEach(function(s,l){n.nodeMappingsDataSource.push({portIn:l,portOut:s})})})}},{key:"delete",value:function(n){this.nodeMappingsDataSource=this.nodeMappingsDataSource.filter(function(a){return a!==n})}},{key:"add",value:function(){var n;this.inputForm.valid?this.useVpiOnly?(n={portIn:"".concat(this.sourcePort,":").concat(this.sourceVci),portOut:"".concat(this.destinationPort,":").concat(this.destinationVci)},this.nodeMappingsDataSource.filter(function(a){return a.portIn===n.portIn}).length>0?this.toasterService.error("Mapping already defined."):(this.nodeMappingsDataSource=this.nodeMappingsDataSource.concat([n]),this.clearUserInput())):this.abstractForm.valid?(n={portIn:"".concat(this.sourcePort,":").concat(this.sourceVpi,":").concat(this.sourceVci),portOut:"".concat(this.destinationPort,":").concat(this.destinationVpi,":").concat(this.destinationVci)},this.nodeMappingsDataSource.filter(function(a){return a.portIn===n.portIn}).length>0?this.toasterService.error("Mapping already defined."):(this.nodeMappingsDataSource=this.nodeMappingsDataSource.concat([n]),this.clearUserInput())):this.toasterService.error("Fill all required fields."):this.toasterService.error("Fill all required fields.")}},{key:"clearUserInput",value:function(){this.sourcePort="0",this.sourceVpi="0",this.sourceVci="0",this.destinationPort="0",this.destinationVpi="0",this.sourceVci="0"}},{key:"strMapToObj",value:function(n){var s,a=Object.create(null),o=(0,E.Z)(n);try{for(o.s();!(s=o.n()).done;){var l=(0,b.Z)(s.value,2);a[l[0]]=l[1]}}catch(C){o.e(C)}finally{o.f()}return a}},{key:"onSaveClick",value:function(){var n=this;this.nameForm.valid?(this.nodeMappings.clear(),this.nodeMappingsDataSource.forEach(function(a){n.nodeMappings.set(a.portIn,a.portOut)}),this.node.properties.mappings=Array.from(this.nodeMappings).reduce(function(a,o){var s=(0,b.Z)(o,2);return Object.assign(a,(0,V.Z)({},s[0],s[1]))},{}),this.nodeService.updateNode(this.server,this.node).subscribe(function(){n.toasterService.success("Node ".concat(n.node.name," updated.")),n.onCancelClick()})):this.toasterService.error("Fill all required fields.")}},{key:"onCancelClick",value:function(){this.dialogRef.close()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(Yr),e.Y36(Yn),e.Y36(re.qu))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-configurator-atm-switch"]],decls:39,vars:16,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],[1,"default-content"],["class","table","mat-table","",3,"dataSource",4,"ngIf"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","name","placeholder","Name",3,"ngModel","ngModelChange"],[3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","sourcePort","placeholder","Port",3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","sourceVpi","placeholder","VPI",3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","sourceVci","placeholder","VCI",3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","destinationPort","placeholder","Port",3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","destinationVpi","placeholder","VPI",3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","destinationVci","placeholder","VCI",3,"ngModel","ngModelChange"],["mat-button","",1,"form-field",3,"click"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],["mat-table","",1,"table",3,"dataSource"],["matColumnDef","portIn"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","portOut"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","","matTooltip","Delete port","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Delete port"],["mat-header-row",""],["mat-row",""]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div",3),e.TgZ(5,"mat-card"),e.YNc(6,ave,12,3,"table",4),e._UZ(7,"br"),e.TgZ(8,"form",5),e.TgZ(9,"mat-form-field",6),e.TgZ(10,"input",7),e.NdJ("ngModelChange",function(o){return n.node.name=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(11,"mat-checkbox",8),e.NdJ("ngModelChange",function(o){return n.useVpiOnly=o}),e._uU(12," Use VPI only (VP tunnel) "),e.qZA(),e.TgZ(13,"form",5),e._uU(14," Source "),e.TgZ(15,"mat-form-field",6),e.TgZ(16,"input",9),e.NdJ("ngModelChange",function(o){return n.sourcePort=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(17,"form",5),e.TgZ(18,"mat-form-field",6),e.TgZ(19,"input",10),e.NdJ("ngModelChange",function(o){return n.sourceVpi=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(20,"form",5),e.TgZ(21,"mat-form-field",6),e.TgZ(22,"input",11),e.NdJ("ngModelChange",function(o){return n.sourceVci=o}),e.qZA(),e.qZA(),e._uU(23," Destination "),e.TgZ(24,"mat-form-field",6),e.TgZ(25,"input",12),e.NdJ("ngModelChange",function(o){return n.destinationPort=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(26,"form",5),e.TgZ(27,"mat-form-field",6),e.TgZ(28,"input",13),e.NdJ("ngModelChange",function(o){return n.destinationVpi=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(29,"form",5),e.TgZ(30,"mat-form-field",6),e.TgZ(31,"input",14),e.NdJ("ngModelChange",function(o){return n.destinationVci=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(32,"button",15),e.NdJ("click",function(){return n.add()}),e._uU(33,"Add"),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(34,"div",16),e.TgZ(35,"button",17),e.NdJ("click",function(){return n.onCancelClick()}),e._uU(36,"Cancel"),e.qZA(),e.TgZ(37,"button",18),e.NdJ("click",function(){return n.onSaveClick()}),e._uU(38,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configurator for node ",n.name,""),e.xp6(5),e.Q6J("ngIf",n.nodeMappingsDataSource.length),e.xp6(2),e.Q6J("formGroup",n.nameForm),e.xp6(2),e.Q6J("ngModel",n.node.name),e.xp6(1),e.Q6J("ngModel",n.useVpiOnly),e.xp6(2),e.Q6J("formGroup",n.inputForm),e.xp6(3),e.Q6J("ngModel",n.sourcePort),e.xp6(1),e.Q6J("formGroup",n.abstractForm),e.xp6(2),e.Q6J("ngModel",n.sourceVpi),e.xp6(1),e.Q6J("formGroup",n.inputForm),e.xp6(2),e.Q6J("ngModel",n.sourceVci),e.xp6(3),e.Q6J("ngModel",n.destinationPort),e.xp6(1),e.Q6J("formGroup",n.abstractForm),e.xp6(2),e.Q6J("ngModel",n.destinationVpi),e.xp6(1),e.Q6J("formGroup",n.inputForm),e.xp6(2),e.Q6J("ngModel",n.destinationVci))},directives:[ii,Ti,Pt.O5,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,La,re.On,re.wV,En,ti,nu,kl,Tl,Sl,ru,iu,wl,xl,ts,er,au,ou],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.configButton[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.default-content[_ngcontent-%COMP%]{max-height:400px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.file-button[_ngcontent-%COMP%]{width:18%}.create-button[_ngcontent-%COMP%]{width:100%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}.nonvisible[_ngcontent-%COMP%]{display:none}mat-radio-button[_ngcontent-%COMP%]{margin-right:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}();function sve(r,i){1&r&&(e.TgZ(0,"th",18),e._uU(1,"Name"),e.qZA())}function lve(r,i){if(1&r&&(e.TgZ(0,"td",19),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.Oqu(t.name)}}function uve(r,i){1&r&&(e.TgZ(0,"th",18),e._uU(1,"Local port"),e.qZA())}function cve(r,i){if(1&r&&(e.TgZ(0,"td",19),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.Oqu(t.rport)}}function dve(r,i){1&r&&(e.TgZ(0,"th",18),e._uU(1,"Type"),e.qZA())}function pve(r,i){if(1&r&&(e.TgZ(0,"td",19),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.Oqu(t.rhost)}}function fve(r,i){1&r&&(e.TgZ(0,"th",18),e._uU(1,"Remote port"),e.qZA())}function hve(r,i){if(1&r&&(e.TgZ(0,"td",19),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.Oqu(t.lport)}}function mve(r,i){1&r&&(e.TgZ(0,"th",18),e._uU(1,"Actions"),e.qZA())}function vve(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"td",19),e.TgZ(1,"button",20),e.NdJ("click",function(){var o=e.CHM(t).$implicit;return e.oxw(2).delete(o)}),e.TgZ(2,"mat-icon",21),e._uU(3,"delete"),e.qZA(),e.qZA(),e.qZA()}}function gve(r,i){1&r&&e._UZ(0,"tr",22)}function _ve(r,i){1&r&&e._UZ(0,"tr",23)}function yve(r,i){if(1&r&&(e.TgZ(0,"table",8),e.ynx(1,9),e.YNc(2,sve,2,0,"th",10),e.YNc(3,lve,2,1,"td",11),e.BQk(),e.ynx(4,12),e.YNc(5,uve,2,0,"th",10),e.YNc(6,cve,2,1,"td",11),e.BQk(),e.ynx(7,13),e.YNc(8,dve,2,0,"th",10),e.YNc(9,pve,2,1,"td",11),e.BQk(),e.ynx(10,14),e.YNc(11,fve,2,0,"th",10),e.YNc(12,hve,2,1,"td",11),e.BQk(),e.ynx(13,15),e.YNc(14,mve,2,0,"th",10),e.YNc(15,vve,4,0,"td",11),e.BQk(),e.YNc(16,gve,1,0,"tr",16),e.YNc(17,_ve,1,0,"tr",17),e.qZA()),2&r){var t=e.oxw();e.Q6J("dataSource",t.dataSourceUdp),e.xp6(16),e.Q6J("matHeaderRowDef",t.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",t.displayedColumns)}}function bve(r,i){1&r&&e._UZ(0,"br")}var Cve=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.builtInTemplatesConfigurationService=t,this.dataSourceUdp=[],this.displayedColumns=["name","lport","rhost","rport","action"],this.newPort={name:"",port_number:0},this.portTypes=[],this.etherTypes=[]}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){this.getConfiguration()}},{key:"getConfiguration",value:function(){this.etherTypes=this.builtInTemplatesConfigurationService.getEtherTypesForEthernetSwitches(),this.portTypes=this.builtInTemplatesConfigurationService.getPortTypesForEthernetSwitches()}},{key:"onAddUdpInterface",value:function(){this.dataSourceUdp=this.dataSourceUdp.concat([this.newPort]),this.newPort={name:"",port_number:0}}},{key:"delete",value:function(n){this.dataSourceUdp=this.dataSourceUdp.filter(function(a){return a!==n})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Gf))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-udp-tunnels"]],inputs:{dataSourceUdp:"dataSourceUdp"},decls:12,vars:6,consts:[["class","table","mat-table","",3,"dataSource",4,"ngIf"],[4,"ngIf"],[1,"form-field"],["matInput","","type","text","placeholder","Name",3,"ngModel","ngModelChange"],["matInput","","type","number","placeholder","Local port",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Remote host",3,"ngModel","ngModelChange"],["matInput","","type","number","placeholder","Remote port",3,"ngModel","ngModelChange"],["mat-button","",1,"form-field",3,"click"],["mat-table","",1,"table",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","rport"],["matColumnDef","rhost"],["matColumnDef","lport"],["matColumnDef","action"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","","matTooltip","Delete port","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Delete port"],["mat-header-row",""],["mat-row",""]],template:function(t,n){1&t&&(e.YNc(0,yve,18,3,"table",0),e.YNc(1,bve,1,0,"br",1),e.TgZ(2,"mat-form-field",2),e.TgZ(3,"input",3),e.NdJ("ngModelChange",function(o){return n.newPort.name=o}),e.qZA(),e.qZA(),e.TgZ(4,"mat-form-field",2),e.TgZ(5,"input",4),e.NdJ("ngModelChange",function(o){return n.newPort.lport=o}),e.qZA(),e.qZA(),e.TgZ(6,"mat-form-field",2),e.TgZ(7,"input",5),e.NdJ("ngModelChange",function(o){return n.newPort.rhost=o}),e.qZA(),e.qZA(),e.TgZ(8,"mat-form-field",2),e.TgZ(9,"input",6),e.NdJ("ngModelChange",function(o){return n.newPort.rport=o}),e.qZA(),e.qZA(),e.TgZ(10,"button",7),e.NdJ("click",function(){return n.onAddUdpInterface()}),e._uU(11,"Add"),e.qZA()),2&t&&(e.Q6J("ngIf",n.dataSourceUdp.length),e.xp6(1),e.Q6J("ngIf",n.dataSourceUdp.length),e.xp6(2),e.Q6J("ngModel",n.newPort.name),e.xp6(2),e.Q6J("ngModel",n.newPort.lport),e.xp6(2),e.Q6J("ngModel",n.newPort.rhost),e.xp6(2),e.Q6J("ngModel",n.newPort.rport))},directives:[Pt.O5,Ln.KE,ir,re.Fj,re.JJ,re.On,re.wV,En,nu,kl,Tl,Sl,ru,iu,wl,xl,ts,er,au,ou],styles:[".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}(),Sve=["udpTunnels"];function Tve(r,i){if(1&r&&(e.TgZ(0,"div",16),e.TgZ(1,"div",16),e._uU(2),e.qZA(),e._UZ(3,"br"),e._UZ(4,"br"),e.qZA()),2&r){var t=i.$implicit;e.xp6(2),e.Oqu(t.name)}}function kve(r,i){if(1&r&&(e.TgZ(0,"mat-option",28),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function wve(r,i){if(1&r&&(e.TgZ(0,"div",16),e.TgZ(1,"div",16),e._uU(2),e.qZA(),e._UZ(3,"br"),e._UZ(4,"br"),e.qZA()),2&r){var t=i.$implicit;e.xp6(2),e.Oqu(t.name)}}function xve(r,i){if(1&r&&(e.TgZ(0,"mat-option",28),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}var Eve=function(){return{standalone:!0}};function Mve(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-tab-group"),e.TgZ(1,"mat-tab",9),e.YNc(2,Tve,5,1,"div",10),e.TgZ(3,"mat-form-field",11),e.TgZ(4,"mat-select",12),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().ethernetInterface=o}),e.YNc(5,kve,2,2,"mat-option",13),e.qZA(),e.qZA(),e.TgZ(6,"button",14),e.NdJ("click",function(){return e.CHM(t),e.oxw().onAddEthernetInterface()}),e._uU(7,"Add"),e.qZA(),e.qZA(),e.TgZ(8,"mat-tab",15),e.YNc(9,wve,5,1,"div",10),e.TgZ(10,"mat-form-field",16),e.TgZ(11,"input",17),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().tapInterface=o}),e.qZA(),e.qZA(),e.TgZ(12,"button",14),e.NdJ("click",function(){return e.CHM(t),e.oxw().onAddTapInterface()}),e._uU(13,"Add"),e.qZA(),e.qZA(),e.TgZ(14,"mat-tab",18),e._UZ(15,"app-udp-tunnels",19,20),e.qZA(),e.TgZ(17,"mat-tab",21),e.TgZ(18,"form",22),e.TgZ(19,"mat-form-field",16),e.TgZ(20,"input",23),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.name=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(21,"mat-form-field",11),e.TgZ(22,"mat-select",24),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.console_type=o}),e.YNc(23,xve,2,2,"mat-option",13),e.qZA(),e.qZA(),e.TgZ(24,"mat-form-field",16),e.TgZ(25,"input",25),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.remote_console_host=o}),e.qZA(),e.qZA(),e.TgZ(26,"mat-form-field",16),e.TgZ(27,"input",26),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.remote_console_port=o}),e.qZA(),e.qZA(),e.TgZ(28,"mat-form-field",16),e.TgZ(29,"input",27),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.remote_console_http_path=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(2),e.Q6J("ngForOf",n.portsMappingEthernet),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(14,Eve))("ngModel",n.ethernetInterface),e.xp6(1),e.Q6J("ngForOf",n.ethernetInterfaces),e.xp6(4),e.Q6J("ngForOf",n.portsMappingTap),e.xp6(2),e.Q6J("ngModel",n.tapInterface),e.xp6(4),e.Q6J("dataSourceUdp",n.portsMappingUdp),e.xp6(3),e.Q6J("formGroup",n.generalSettingsForm),e.xp6(2),e.Q6J("ngModel",n.node.name),e.xp6(2),e.Q6J("ngModel",n.node.console_type),e.xp6(1),e.Q6J("ngForOf",n.consoleTypes),e.xp6(2),e.Q6J("ngModel",n.node.properties.remote_console_host),e.xp6(2),e.Q6J("ngModel",n.node.properties.remote_console_port),e.xp6(2),e.Q6J("ngModel",n.node.properties.remote_console_http_path)}}var Ave=function(){var r=function(){function i(t,n,a,o,s){(0,v.Z)(this,i),this.dialogRef=t,this.nodeService=n,this.toasterService=a,this.formBuilder=o,this.builtInTemplatesConfigurationService=s,this.consoleTypes=[],this.binaries=[],this.onCloseOptions=[],this.bootPriorities=[],this.diskInterfaces=[],this.portsMappingEthernet=[],this.portsMappingTap=[],this.portsMappingUdp=[],this.displayedColumns=["adapter_number","port_name","adapter_type","actions"],this.networkTypes=[],this.tapInterface="",this.ethernetInterface="",this.ethernetInterfaces=["Ethernet 2","Ethernet 3"],this.generalSettingsForm=this.formBuilder.group({name:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.nodeService.getNode(this.server,this.node).subscribe(function(a){n.node=a,n.name=a.name,n.getConfiguration(),n.portsMappingEthernet=n.node.properties.ports_mapping.filter(function(o){return"ethernet"===o.type}),n.portsMappingTap=n.node.properties.ports_mapping.filter(function(o){return"tap"===o.type}),n.portsMappingUdp=n.node.properties.ports_mapping.filter(function(o){return"udp"===o.type})})}},{key:"getConfiguration",value:function(){this.consoleTypes=this.builtInTemplatesConfigurationService.getConsoleTypesForCloudNodes()}},{key:"onAddEthernetInterface",value:function(){this.ethernetInterface&&this.portsMappingEthernet.push({interface:this.ethernetInterface,name:this.ethernetInterface,port_number:0,type:"ethernet"})}},{key:"onAddTapInterface",value:function(){this.tapInterface&&this.portsMappingTap.push({interface:this.tapInterface,name:this.tapInterface,port_number:0,type:"tap"})}},{key:"onSaveClick",value:function(){var n=this;this.generalSettingsForm.valid?(this.portsMappingUdp=this.udpTunnels.dataSourceUdp,this.node.properties.ports_mapping=this.portsMappingUdp.concat(this.portsMappingEthernet).concat(this.portsMappingTap),this.nodeService.updateNode(this.server,this.node).subscribe(function(){n.toasterService.success("Node ".concat(n.node.name," updated.")),n.onCancelClick()})):this.toasterService.error("Fill all required fields.")}},{key:"onCancelClick",value:function(){this.dialogRef.close()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(Yr),e.Y36(Yn),e.Y36(re.qu),e.Y36(Gf))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-configurator-cloud"]],viewQuery:function(t,n){var a;1&t&&e.Gf(Sve,5),2&t&&e.iGM(a=e.CRH())&&(n.udpTunnels=a.first)},decls:12,vars:2,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],[1,"default-content"],[1,"matCard"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],["label","Ethernet interfaces"],["class","form-field",4,"ngFor","ngForOf"],[1,"select"],["placeholder","Ethernet interface",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["mat-button","",1,"form-field",3,"click"],["label","TAP interfaces"],[1,"form-field"],["matInput","","type","text","placeholder","TAP interface",3,"ngModel","ngModelChange"],["label","UDP tunnels"],[3,"dataSourceUdp"],["udpTunnels",""],["label","Miscellaneous"],[3,"formGroup"],["matInput","","type","text","formControlName","name","placeholder","Name",3,"ngModel","ngModelChange"],["placeholder","Console type",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Console host",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Console port",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Console HTTP path",3,"ngModel","ngModelChange"],[3,"value"]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div",3),e.TgZ(5,"mat-card",4),e.YNc(6,Mve,30,15,"mat-tab-group",5),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(7,"div",6),e.TgZ(8,"button",7),e.NdJ("click",function(){return n.onCancelClick()}),e._uU(9,"Cancel"),e.qZA(),e.TgZ(10,"button",8),e.NdJ("click",function(){return n.onSaveClick()}),e._uU(11,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configurator for node ",n.name,""),e.xp6(5),e.Q6J("ngIf",n.name))},directives:[ii,Ti,Pt.O5,ti,En,Ta.SP,Ta.uX,Pt.sg,Ln.KE,yi.gD,re.JJ,re.On,ir,re.Fj,Cve,re._Y,re.JL,re.sg,re.u,sn.ey],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.configButton[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.default-content[_ngcontent-%COMP%]{max-height:400px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.file-button[_ngcontent-%COMP%]{width:18%}.create-button[_ngcontent-%COMP%]{width:100%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}.nonvisible[_ngcontent-%COMP%]{display:none}mat-radio-button[_ngcontent-%COMP%]{margin-right:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}"]}),r}();function Dve(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-list-item"),e.TgZ(1,"div",6),e.TgZ(2,"span",7),e._uU(3),e.qZA(),e.TgZ(4,"span",7),e.TgZ(5,"input",9),e.NdJ("ngModelChange",function(o){return e.CHM(t).$implicit.port_name=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=i.$implicit;e.xp6(3),e.hij(" Adapter ",n.adapter_number," "),e.xp6(2),e.Q6J("ngModel",n.port_name)}}function Ove(r,i){if(1&r&&(e.TgZ(0,"div",5),e.TgZ(1,"div",6),e.TgZ(2,"span",7),e._uU(3," Adapter number "),e.qZA(),e.TgZ(4,"span",7),e._uU(5," Port name "),e.qZA(),e.qZA(),e.TgZ(6,"div"),e.TgZ(7,"mat-list"),e.YNc(8,Dve,6,2,"mat-list-item",8),e.qZA(),e.qZA(),e.qZA()),2&r){var t=e.oxw();e.xp6(8),e.Q6J("ngForOf",t.adapters)}}var Pve=function(){var r=function(){function i(t,n,a,o,s){(0,v.Z)(this,i),this.dialogRef=t,this.nodeService=n,this.toasterService=a,this.formBuilder=o,this.dockerConfigurationService=s,this.displayedColumns=["adapter_number","port_name"],this.adapters=[]}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.node.custom_adapters?this.adapters=this.node.custom_adapters:this.node.ports.forEach(function(o){n.adapters.push({adapter_number:0,port_name:""})})}},{key:"onSaveClick",value:function(){var n=this;this.node.custom_adapters=this.adapters,this.nodeService.updateNodeWithCustomAdapters(this.server,this.node).subscribe(function(){n.onCancelClick(),n.toasterService.success("Configuration saved for node ".concat(n.node.name))})}},{key:"onCancelClick",value:function(){this.dialogRef.close()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(Yr),e.Y36(Yn),e.Y36(re.qu),e.Y36(K1))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-configure-custom-adapters"]],decls:8,vars:2,consts:[["mat-dialog-title",""],["class","modal-form-container",4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],[1,"modal-form-container"],[1,"header"],[1,"column"],[4,"ngFor","ngForOf"],["matInput","","type","text","placeholder","Edit port name",3,"ngModel","ngModelChange"]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.YNc(2,Ove,9,1,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"button",3),e.NdJ("click",function(){return n.onCancelClick()}),e._uU(5,"Cancel"),e.qZA(),e.TgZ(6,"button",4),e.NdJ("click",function(){return n.onSaveClick()}),e._uU(7,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configure custom adapters for node ",n.node.name,""),e.xp6(1),e.Q6J("ngIf",n.node))},directives:[ii,Pt.O5,ti,En,C6,Pt.sg,Zs,ir,re.Fj,re.JJ,re.On],styles:["th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:100%}.column[_ngcontent-%COMP%]{width:50%}"]}),r}();function Ive(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",5),e.TgZ(1,"textarea",6),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().configuration=o}),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(1),e.Q6J("ngModel",n.configuration)}}var Rve=function(){var r=function(){function i(t,n,a){(0,v.Z)(this,i),this.dialogRef=t,this.nodeService=n,this.toasterService=a}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.nodeService.getNetworkConfiguration(this.server,this.node).subscribe(function(a){n.configuration=a})}},{key:"onSaveClick",value:function(){var n=this;this.nodeService.saveNetworkConfiguration(this.server,this.node,this.configuration).subscribe(function(a){n.onCancelClick(),n.toasterService.success("Configuration for node ".concat(n.node.name," saved."))})}},{key:"onCancelClick",value:function(){this.dialogRef.close()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(Yr),e.Y36(Yn))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-edit-network-configuration"]],decls:8,vars:2,consts:[["mat-dialog-title",""],["class","modal-form-container",4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],[1,"modal-form-container"],["matInput","","type","text",1,"textArea",3,"ngModel","ngModelChange"]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.YNc(2,Ive,2,1,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"button",3),e.NdJ("click",function(){return n.onCancelClick()}),e._uU(5,"Cancel"),e.qZA(),e.TgZ(6,"button",4),e.NdJ("click",function(){return n.onSaveClick()}),e._uU(7,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Edit network configuration for node ",n.node.name,""),e.xp6(1),e.Q6J("ngIf",n.node))},directives:[ii,Pt.O5,ti,En,ir,re.Fj,re.JJ,re.On],styles:[".textArea[_ngcontent-%COMP%]{width:100%;height:350px}"]}),r}();function Nve(r,i){if(1&r&&(e.TgZ(0,"mat-option",26),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Zve(r,i){if(1&r&&(e.TgZ(0,"mat-option",26),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}var eL=function(){return{standalone:!0}};function Lve(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-tab-group"),e.TgZ(1,"mat-tab",9),e._UZ(2,"br"),e.TgZ(3,"form",10),e.TgZ(4,"mat-form-field",11),e.TgZ(5,"input",12),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.name=o}),e.qZA(),e.qZA(),e.TgZ(6,"mat-form-field",11),e.TgZ(7,"input",13),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.start_command=o}),e.qZA(),e.qZA(),e.TgZ(8,"mat-form-field",11),e.TgZ(9,"input",14),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.adapters=o}),e.qZA(),e.qZA(),e.TgZ(10,"button",15),e.NdJ("click",function(){return e.CHM(t),e.oxw().configureCustomAdapters()}),e._uU(11," Configure custom adapters "),e.qZA(),e.TgZ(12,"mat-form-field",16),e.TgZ(13,"mat-select",17),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.console_type=o}),e.YNc(14,Nve,2,2,"mat-option",18),e.qZA(),e.qZA(),e.TgZ(15,"mat-checkbox",19),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.console_auto_start=o}),e._uU(16," Auto start console "),e.qZA(),e.TgZ(17,"mat-form-field",11),e.TgZ(18,"mat-select",20),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.console_resolution=o}),e.YNc(19,Zve,2,2,"mat-option",18),e.qZA(),e.qZA(),e.TgZ(20,"mat-form-field",11),e.TgZ(21,"input",21),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.console_http_port=o}),e.qZA(),e.qZA(),e.TgZ(22,"mat-form-field",11),e.TgZ(23,"input",22),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.console_http_path=o}),e.qZA(),e.qZA(),e.TgZ(24,"button",15),e.NdJ("click",function(){return e.CHM(t),e.oxw().editNetworkConfiguration()}),e._uU(25," Edit network configuration "),e.qZA(),e.qZA(),e.TgZ(26,"h6"),e._uU(27,"Environment"),e.qZA(),e.TgZ(28,"mat-form-field",11),e.TgZ(29,"textarea",23),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.environment=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(30,"mat-tab",24),e.TgZ(31,"h6"),e._uU(32,"Extra hosts"),e.qZA(),e.TgZ(33,"mat-form-field",11),e.TgZ(34,"textarea",23),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.extra_hosts=o}),e.qZA(),e.qZA(),e._UZ(35,"br"),e.TgZ(36,"h6"),e._uU(37,"Additional directories"),e.qZA(),e.TgZ(38,"mat-form-field",11),e.TgZ(39,"textarea",23),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.extra_volumes=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(40,"mat-tab",25),e.TgZ(41,"mat-form-field",11),e.TgZ(42,"textarea",23),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.usage=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(3),e.Q6J("formGroup",n.generalSettingsForm),e.xp6(2),e.Q6J("ngModel",n.node.name),e.xp6(2),e.Q6J("ngModel",n.node.properties.start_command),e.xp6(2),e.Q6J("ngModel",n.node.properties.adapters),e.xp6(4),e.Q6J("ngModelOptions",e.DdM(18,eL))("ngModel",n.node.console_type),e.xp6(1),e.Q6J("ngForOf",n.consoleTypes),e.xp6(1),e.Q6J("ngModelOptions",e.DdM(19,eL))("ngModel",n.node.console_auto_start),e.xp6(3),e.Q6J("ngModelOptions",e.DdM(20,eL))("ngModel",n.node.properties.console_resolution),e.xp6(1),e.Q6J("ngForOf",n.consoleResolutions),e.xp6(2),e.Q6J("ngModel",n.node.properties.console_http_port),e.xp6(2),e.Q6J("ngModel",n.node.properties.console_http_path),e.xp6(6),e.Q6J("ngModel",n.node.properties.environment),e.xp6(5),e.Q6J("ngModel",n.node.properties.extra_hosts),e.xp6(5),e.Q6J("ngModel",n.node.properties.extra_volumes),e.xp6(3),e.Q6J("ngModel",n.node.properties.usage)}}var Fve=function(){var r=function(){function i(t,n,a,o,s,l){(0,v.Z)(this,i),this.dialogReference=t,this.nodeService=n,this.toasterService=a,this.formBuilder=o,this.dockerConfigurationService=s,this.dialog=l,this.consoleTypes=[],this.consoleResolutions=["640x480","800x600","1024x768","1280x800","1280x1024","1366x768","1920x1080"],this.conf={autoFocus:!1,width:"800px",disableClose:!0},this.generalSettingsForm=this.formBuilder.group({name:new re.NI("",re.kI.required),adapter:new re.NI("",re.kI.required),startCommand:new re.NI("",re.kI.required),consoleHttpPort:new re.NI("",re.kI.required),consoleHttpPath:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.nodeService.getNode(this.server,this.node).subscribe(function(a){n.node=a,n.name=a.name,n.getConfiguration()})}},{key:"getConfiguration",value:function(){this.consoleTypes=this.dockerConfigurationService.getConsoleTypes()}},{key:"configureCustomAdapters",value:function(){this.dialogRef=this.dialog.open(Pve,this.conf);var n=this.dialogRef.componentInstance;n.server=this.server,n.node=this.node}},{key:"editNetworkConfiguration",value:function(){this.dialogRef=this.dialog.open(Rve,this.conf);var n=this.dialogRef.componentInstance;n.server=this.server,n.node=this.node}},{key:"onSaveClick",value:function(){var n=this;this.generalSettingsForm.valid?this.nodeService.updateNode(this.server,this.node).subscribe(function(){n.toasterService.success("Node ".concat(n.node.name," updated.")),n.onCancelClick()}):this.toasterService.error("Fill all required fields.")}},{key:"onCancelClick",value:function(){this.dialogReference.close()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(Yr),e.Y36(Yn),e.Y36(re.qu),e.Y36(K1),e.Y36(ca))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-configurator-docker"]],decls:12,vars:2,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],[1,"default-content"],[1,"matCard"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],["label","General settings"],[3,"formGroup"],[1,"form-field"],["matInput","","formControlName","name","type","text","placeholder","Name",3,"ngModel","ngModelChange"],["matInput","","formControlName","startCommand","type","text","placeholder","Start command",3,"ngModel","ngModelChange"],["formControlName","adapter","matInput","","type","number","placeholder","Adapters",3,"ngModel","ngModelChange"],["mat-button","",1,"form-field",3,"click"],[1,"select"],["placeholder","Console type",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModelOptions","ngModel","ngModelChange"],["placeholder","VNC console resolution",3,"ngModelOptions","ngModel","ngModelChange"],["formControlName","consoleHttpPort","matInput","","type","number","placeholder","HTTP port in the container",3,"ngModel","ngModelChange"],["matInput","","formControlName","consoleHttpPath","type","text","placeholder","HTTP path",3,"ngModel","ngModelChange"],["matInput","","type","text",3,"ngModel","ngModelChange"],["label","Advanced"],["label","Usage"],[3,"value"]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div",3),e.TgZ(5,"mat-card",4),e.YNc(6,Lve,43,21,"mat-tab-group",5),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(7,"div",6),e.TgZ(8,"button",7),e.NdJ("click",function(){return n.onCancelClick()}),e._uU(9,"Cancel"),e.qZA(),e.TgZ(10,"button",8),e.NdJ("click",function(){return n.onSaveClick()}),e._uU(11,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configurator for node ",n.name,""),e.xp6(5),e.Q6J("ngIf",n.name))},directives:[ii,Ti,Pt.O5,ti,En,Ta.SP,Ta.uX,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,re.wV,yi.gD,re.On,Pt.sg,La,sn.ey],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.configButton[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.default-content[_ngcontent-%COMP%]{max-height:400px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.file-button[_ngcontent-%COMP%]{width:18%}.create-button[_ngcontent-%COMP%]{width:100%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}.nonvisible[_ngcontent-%COMP%]{display:none}mat-radio-button[_ngcontent-%COMP%]{margin-right:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}"]}),r}();function Bve(r,i){if(1&r&&(e.TgZ(0,"mat-option",16),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Uve(r,i){if(1&r&&e._UZ(0,"app-ports",17,18),2&r){var t=e.oxw(2);e.Q6J("ethernetPorts",t.node.properties.ports_mapping)}}var Hve=function(){return{standalone:!0}};function Vve(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",7),e.TgZ(1,"mat-card",8),e.TgZ(2,"form",9),e.TgZ(3,"mat-form-field",10),e.TgZ(4,"input",11),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.name=o}),e.qZA(),e.qZA(),e.TgZ(5,"mat-form-field",12),e.TgZ(6,"mat-select",13),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.console_type=o}),e.YNc(7,Bve,2,2,"mat-option",14),e.qZA(),e.qZA(),e.qZA(),e.YNc(8,Uve,2,1,"app-ports",15),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(2),e.Q6J("formGroup",n.inputForm),e.xp6(2),e.Q6J("ngModel",n.node.name),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(6,Hve))("ngModel",n.node.console_type),e.xp6(1),e.Q6J("ngForOf",n.consoleTypes),e.xp6(1),e.Q6J("ngIf",n.node.properties)}}var jve=function(){var r=function(){function i(t,n,a,o,s){(0,v.Z)(this,i),this.dialogRef=t,this.nodeService=n,this.toasterService=a,this.formBuilder=o,this.ethernetSwitchesConfigurationService=s,this.consoleTypes=[],this.inputForm=this.formBuilder.group({name:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.nodeService.getNode(this.server,this.node).subscribe(function(a){n.node=a,n.name=n.node.name,n.getConfiguration()})}},{key:"getConfiguration",value:function(){this.consoleTypes=this.ethernetSwitchesConfigurationService.getConsoleTypesForEthernetSwitches()}},{key:"onSaveClick",value:function(){var n=this;this.inputForm.valid?(this.node.properties.ports_mapping=this.portsComponent.ethernetPorts,this.nodeService.updateNode(this.server,this.node).subscribe(function(){n.toasterService.success("Node ".concat(n.node.name," updated.")),n.onCancelClick()})):this.toasterService.error("Fill all required fields.")}},{key:"onCancelClick",value:function(){this.dialogRef.close()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(Yr),e.Y36(Yn),e.Y36(re.qu),e.Y36(Gf))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-configurator-ethernet-switch"]],viewQuery:function(t,n){var a;1&t&&e.Gf(ZA,5),2&t&&e.iGM(a=e.CRH())&&(n.portsComponent=a.first)},decls:10,vars:2,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],["class","default-content",4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],[1,"default-content"],[1,"matCard"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","name","placeholder","Name",3,"ngModel","ngModelChange"],[1,"select"],["placeholder","Console type",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"ethernetPorts",4,"ngIf"],[3,"value"],[3,"ethernetPorts"],["ports",""]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.YNc(4,Vve,9,7,"div",3),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"button",5),e.NdJ("click",function(){return n.onCancelClick()}),e._uU(7,"Cancel"),e.qZA(),e.TgZ(8,"button",6),e.NdJ("click",function(){return n.onSaveClick()}),e._uU(9,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configurator for node ",n.name,""),e.xp6(3),e.Q6J("ngIf",n.node))},directives:[ii,Pt.O5,ti,En,Ti,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,yi.gD,re.On,Pt.sg,sn.ey,ZA],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.configButton[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.default-content[_ngcontent-%COMP%]{max-height:400px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.file-button[_ngcontent-%COMP%]{width:18%}.create-button[_ngcontent-%COMP%]{width:100%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}.nonvisible[_ngcontent-%COMP%]{display:none}mat-radio-button[_ngcontent-%COMP%]{margin-right:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}"]}),r}(),qve=function(){return{standalone:!0}},zve=function(){var r=function(){function i(t,n,a,o,s){(0,v.Z)(this,i),this.dialogRef=t,this.nodeService=n,this.toasterService=a,this.formBuilder=o,this.vpcsConfigurationService=s,this.consoleTypes=[],this.categories=[],this.inputForm=this.formBuilder.group({name:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.nodeService.getNode(this.server,this.node).subscribe(function(a){n.node=a,n.name=n.node.name,n.numberOfPorts=n.node.ports.length,n.getConfiguration()})}},{key:"getConfiguration",value:function(){this.consoleTypes=this.vpcsConfigurationService.getConsoleTypes(),this.categories=this.vpcsConfigurationService.getCategories()}},{key:"onSaveClick",value:function(){var n=this;if(this.inputForm.valid){this.node.properties.ports_mapping=[];for(var a=0;a<this.numberOfPorts;a++)this.node.properties.ports_mapping.push({name:"Ethernet".concat(a),port_number:a});this.nodeService.updateNode(this.server,this.node).subscribe(function(){n.toasterService.success("Node ".concat(n.node.name," updated.")),n.onCancelClick()})}else this.toasterService.error("Fill all required fields.")}},{key:"onCancelClick",value:function(){this.dialogRef.close()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(Yr),e.Y36(Yn),e.Y36(re.qu),e.Y36(zA))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-configurator-ethernet-hub"]],decls:16,vars:6,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],[1,"default-content"],[1,"matCard"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","name","placeholder","Name",3,"ngModel","ngModelChange"],["matInput","","type","number","placeholder","Number of ports",3,"ngModel","ngModelOptions","ngModelChange"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div",3),e.TgZ(5,"mat-card",4),e.TgZ(6,"form",5),e.TgZ(7,"mat-form-field",6),e.TgZ(8,"input",7),e.NdJ("ngModelChange",function(o){return n.node.name=o}),e.qZA(),e.qZA(),e.TgZ(9,"mat-form-field",6),e.TgZ(10,"input",8),e.NdJ("ngModelChange",function(o){return n.numberOfPorts=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(11,"div",9),e.TgZ(12,"button",10),e.NdJ("click",function(){return n.onCancelClick()}),e._uU(13,"Cancel"),e.qZA(),e.TgZ(14,"button",11),e.NdJ("click",function(){return n.onSaveClick()}),e._uU(15,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configurator for node ",n.name,""),e.xp6(5),e.Q6J("formGroup",n.inputForm),e.xp6(2),e.Q6J("ngModel",n.node.name),e.xp6(2),e.Q6J("ngModel",n.numberOfPorts)("ngModelOptions",e.DdM(5,qve)))},directives:[ii,Ti,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,re.wV,re.On,ti,En],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.configButton[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.default-content[_ngcontent-%COMP%]{max-height:400px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.file-button[_ngcontent-%COMP%]{width:18%}.create-button[_ngcontent-%COMP%]{width:100%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}.nonvisible[_ngcontent-%COMP%]{display:none}mat-radio-button[_ngcontent-%COMP%]{margin-right:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}"]}),r}();function Wve(r,i){if(1&r&&(e.TgZ(0,"mat-option",23),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Gve(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-tab-group"),e.TgZ(1,"mat-tab",9),e._UZ(2,"br"),e.TgZ(3,"form",10),e.TgZ(4,"mat-form-field",11),e.TgZ(5,"input",12),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.name=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(6,"mat-form-field",13),e.TgZ(7,"mat-select",14),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.console_type=o}),e.YNc(8,Wve,2,2,"mat-option",15),e.qZA(),e.qZA(),e.TgZ(9,"mat-checkbox",16),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.console_auto_start=o}),e._uU(10," Auto start console "),e.qZA(),e._UZ(11,"br"),e.qZA(),e.TgZ(12,"mat-tab",17),e._UZ(13,"br"),e.TgZ(14,"form",10),e.TgZ(15,"mat-form-field",11),e.TgZ(16,"input",18),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.ram=o}),e.qZA(),e.TgZ(17,"span",19),e._uU(18,"MB"),e.qZA(),e.qZA(),e.TgZ(19,"mat-form-field",11),e.TgZ(20,"input",20),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.nvram=o}),e.qZA(),e.TgZ(21,"span",19),e._uU(22,"MB"),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(23,"mat-tab",21),e.TgZ(24,"mat-form-field",11),e.TgZ(25,"textarea",22),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.usage=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(3),e.Q6J("formGroup",n.generalSettingsForm),e.xp6(2),e.Q6J("ngModel",n.node.name),e.xp6(2),e.Q6J("ngModel",n.node.console_type),e.xp6(1),e.Q6J("ngForOf",n.consoleTypes),e.xp6(1),e.Q6J("ngModel",n.node.console_auto_start),e.xp6(5),e.Q6J("formGroup",n.memoryForm),e.xp6(2),e.Q6J("ngModel",n.node.properties.ram),e.xp6(4),e.Q6J("ngModel",n.node.properties.nvram),e.xp6(5),e.Q6J("ngModel",n.node.properties.usage)}}var Yve=function(){var r=function(){function i(t,n,a,o,s){(0,v.Z)(this,i),this.dialogRef=t,this.nodeService=n,this.toasterService=a,this.formBuilder=o,this.configurationService=s,this.consoleTypes=[],this.generalSettingsForm=this.formBuilder.group({name:new re.NI("",re.kI.required)}),this.memoryForm=this.formBuilder.group({ram:new re.NI("",re.kI.required),nvram:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.nodeService.getNode(this.server,this.node).subscribe(function(a){n.node=a,n.name=a.name,n.getConfiguration()})}},{key:"getConfiguration",value:function(){this.consoleTypes=this.configurationService.getConsoleTypes()}},{key:"onSaveClick",value:function(){var n=this;this.generalSettingsForm.valid&&this.memoryForm.valid?this.nodeService.updateNode(this.server,this.node).subscribe(function(){n.toasterService.success("Node ".concat(n.node.name," updated.")),n.onCancelClick()}):this.toasterService.error("Fill all required fields.")}},{key:"onCancelClick",value:function(){this.dialogRef.close()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(Yr),e.Y36(Yn),e.Y36(re.qu),e.Y36(BA))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-configurator-ios"]],decls:12,vars:2,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],[1,"default-content"],[1,"matCard"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],["label","General settings"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","name","placeholder","Name",3,"ngModel","ngModelChange"],[1,"select"],["placeholder","Console type",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModel","ngModelChange"],["label","Memories and disks"],["matInput","","type","number","formControlName","ram","placeholder","RAM size",3,"ngModel","ngModelChange"],["matSuffix",""],["matInput","","type","number","formControlName","nvram","placeholder","NVRAM size",3,"ngModel","ngModelChange"],["label","Usage"],["matInput","","type","text",3,"ngModel","ngModelChange"],[3,"value"]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div",3),e.TgZ(5,"mat-card",4),e.YNc(6,Gve,26,9,"mat-tab-group",5),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(7,"div",6),e.TgZ(8,"button",7),e.NdJ("click",function(){return n.onCancelClick()}),e._uU(9,"Cancel"),e.qZA(),e.TgZ(10,"button",8),e.NdJ("click",function(){return n.onSaveClick()}),e._uU(11,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configurator for node ",n.name,""),e.xp6(5),e.Q6J("ngIf",n.name))},directives:[ii,Ti,Pt.O5,ti,En,Ta.SP,Ta.uX,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,yi.gD,re.On,Pt.sg,La,re.wV,Ln.R9,sn.ey],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.configButton[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.default-content[_ngcontent-%COMP%]{max-height:400px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.file-button[_ngcontent-%COMP%]{width:18%}.create-button[_ngcontent-%COMP%]{width:100%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}.nonvisible[_ngcontent-%COMP%]{display:none}mat-radio-button[_ngcontent-%COMP%]{margin-right:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}"]}),r}();function Jve(r,i){if(1&r&&(e.TgZ(0,"mat-option",25),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Qve(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-tab-group"),e.TgZ(1,"mat-tab",9),e._UZ(2,"br"),e.TgZ(3,"form",10),e.TgZ(4,"mat-form-field",11),e.TgZ(5,"input",12),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.name=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(6,"mat-form-field",13),e.TgZ(7,"mat-select",14),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.console_type=o}),e.YNc(8,Jve,2,2,"mat-option",15),e.qZA(),e.qZA(),e.TgZ(9,"mat-checkbox",16),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.console_auto_start=o}),e._uU(10," Auto start console "),e.qZA(),e._UZ(11,"br"),e.TgZ(12,"mat-form-field",11),e.TgZ(13,"input",17),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.ram=o}),e.qZA(),e.TgZ(14,"span",18),e._uU(15,"MB"),e.qZA(),e.qZA(),e.TgZ(16,"mat-form-field",11),e.TgZ(17,"input",19),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.nvram=o}),e.qZA(),e.TgZ(18,"span",18),e._uU(19,"MB"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(20,"mat-tab",20),e._UZ(21,"br"),e.TgZ(22,"form",10),e.TgZ(23,"mat-form-field",11),e.TgZ(24,"input",21),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.ethernet_adapters=o}),e.qZA(),e.qZA(),e.TgZ(25,"mat-form-field",11),e.TgZ(26,"input",22),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.serial_adapters=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(27,"mat-tab",23),e.TgZ(28,"mat-form-field",11),e.TgZ(29,"textarea",24),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.usage=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(3),e.Q6J("formGroup",n.generalSettingsForm),e.xp6(2),e.Q6J("ngModel",n.node.name),e.xp6(2),e.Q6J("ngModel",n.node.console_type),e.xp6(1),e.Q6J("ngForOf",n.consoleTypes),e.xp6(1),e.Q6J("ngModel",n.node.console_auto_start),e.xp6(4),e.Q6J("ngModel",n.node.properties.ram),e.xp6(4),e.Q6J("ngModel",n.node.properties.nvram),e.xp6(5),e.Q6J("formGroup",n.networkForm),e.xp6(2),e.Q6J("ngModel",n.node.ethernet_adapters),e.xp6(2),e.Q6J("ngModel",n.node.serial_adapters),e.xp6(3),e.Q6J("ngModel",n.node.properties.usage)}}var Kve=function(){var r=function(){function i(t,n,a,o,s){(0,v.Z)(this,i),this.dialogRef=t,this.nodeService=n,this.toasterService=a,this.formBuilder=o,this.configurationService=s,this.consoleTypes=[],this.generalSettingsForm=this.formBuilder.group({name:new re.NI("",re.kI.required)}),this.networkForm=this.formBuilder.group({ethernetAdapters:new re.NI("",re.kI.required),serialAdapters:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.nodeService.getNode(this.server,this.node).subscribe(function(a){n.node=a,n.name=a.name,n.getConfiguration()})}},{key:"getConfiguration",value:function(){this.consoleTypes=this.configurationService.getConsoleTypes()}},{key:"onSaveClick",value:function(){var n=this;this.generalSettingsForm.valid&&this.networkForm.valid?this.nodeService.updateNode(this.server,this.node).subscribe(function(){n.toasterService.success("Node ".concat(n.node.name," updated.")),n.onCancelClick()}):this.toasterService.error("Fill all required fields.")}},{key:"onCancelClick",value:function(){this.dialogRef.close()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(Yr),e.Y36(Yn),e.Y36(re.qu),e.Y36(M6))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-configurator-iou"]],decls:12,vars:2,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],[1,"default-content"],[1,"matCard"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],["label","General settings"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","name","placeholder","Name",3,"ngModel","ngModelChange"],[1,"select"],["placeholder","Console type",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModel","ngModelChange"],["matInput","","type","number","placeholder","RAM size",3,"ngModel","ngModelChange"],["matSuffix",""],["matInput","","type","number","placeholder","NVRAM size",3,"ngModel","ngModelChange"],["label","Network"],["matInput","","formControlName","ethernetAdapters","type","number","placeholder","Ethernet adapters",3,"ngModel","ngModelChange"],["matInput","","formControlName","serialAdapters","type","number","placeholder","Serial adapters",3,"ngModel","ngModelChange"],["label","Usage"],["matInput","","type","text",3,"ngModel","ngModelChange"],[3,"value"]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div",3),e.TgZ(5,"mat-card",4),e.YNc(6,Qve,30,11,"mat-tab-group",5),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(7,"div",6),e.TgZ(8,"button",7),e.NdJ("click",function(){return n.onCancelClick()}),e._uU(9,"Cancel"),e.qZA(),e.TgZ(10,"button",8),e.NdJ("click",function(){return n.onSaveClick()}),e._uU(11,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configurator for node ",n.name,""),e.xp6(5),e.Q6J("ngIf",n.name))},directives:[ii,Ti,Pt.O5,ti,En,Ta.SP,Ta.uX,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,yi.gD,re.On,Pt.sg,La,re.wV,Ln.R9,sn.ey],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.configButton[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.default-content[_ngcontent-%COMP%]{max-height:400px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.file-button[_ngcontent-%COMP%]{width:18%}.create-button[_ngcontent-%COMP%]{width:100%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}.nonvisible[_ngcontent-%COMP%]{display:none}mat-radio-button[_ngcontent-%COMP%]{margin-right:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}"]}),r}(),Xve=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this.dialogRef=t,this.nodeService=n,this.toasterService=a,this.formBuilder=o,this.generalSettingsForm=this.formBuilder.group({name:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.nodeService.getNode(this.server,this.node).subscribe(function(a){n.node=a,n.name=a.name})}},{key:"onSaveClick",value:function(){var n=this;this.generalSettingsForm.valid?this.nodeService.updateNode(this.server,this.node).subscribe(function(){n.toasterService.success("Node ".concat(n.node.name," updated.")),n.onCancelClick()}):this.toasterService.error("Fill all required fields.")}},{key:"onCancelClick",value:function(){this.dialogRef.close()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(Yr),e.Y36(Yn),e.Y36(re.qu))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-configurator-nat"]],decls:14,vars:3,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],[1,"default-content"],[1,"matCard"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","name","placeholder","Name",3,"ngModel","ngModelChange"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div",3),e.TgZ(5,"mat-card",4),e.TgZ(6,"form",5),e.TgZ(7,"mat-form-field",6),e.TgZ(8,"input",7),e.NdJ("ngModelChange",function(o){return n.node.name=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(9,"div",8),e.TgZ(10,"button",9),e.NdJ("click",function(){return n.onCancelClick()}),e._uU(11,"Cancel"),e.qZA(),e.TgZ(12,"button",10),e.NdJ("click",function(){return n.onSaveClick()}),e._uU(13,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configurator for node ",n.name,""),e.xp6(5),e.Q6J("formGroup",n.generalSettingsForm),e.xp6(2),e.Q6J("ngModel",n.node.name))},directives:[ii,Ti,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,ti,En],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.configButton[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.default-content[_ngcontent-%COMP%]{max-height:400px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.file-button[_ngcontent-%COMP%]{width:18%}.create-button[_ngcontent-%COMP%]{width:100%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}.nonvisible[_ngcontent-%COMP%]{display:none}mat-radio-button[_ngcontent-%COMP%]{margin-right:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}"]}),r}();function $ve(r,i){if(1&r&&(e.TgZ(0,"mat-option",16),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function ege(r,i){if(1&r&&(e.TgZ(0,"mat-option",16),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function tge(r,i){if(1&r&&(e.TgZ(0,"mat-option",16),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t.value),e.xp6(1),e.hij(" ",t.name," ")}}function nge(r,i){if(1&r&&(e.TgZ(0,"mat-option",16),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function rge(r,i){if(1&r&&(e.TgZ(0,"mat-option",16),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t.value),e.xp6(1),e.hij(" ",t.name," ")}}function ige(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div"),e._uU(1," Size options "),e.TgZ(2,"mat-form-field",6),e.TgZ(3,"mat-select",8),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuImg.preallocation=o}),e.YNc(4,ege,2,2,"mat-option",9),e.qZA(),e.qZA(),e.TgZ(5,"mat-form-field",6),e.TgZ(6,"mat-select",17),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuImg.cluster_size=o}),e.YNc(7,tge,2,2,"mat-option",9),e.qZA(),e.qZA(),e._uU(8," Refcounts "),e.TgZ(9,"mat-form-field",6),e.TgZ(10,"mat-select",18),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuImg.lazy_refcounts=o}),e.YNc(11,nge,2,2,"mat-option",9),e.qZA(),e.qZA(),e.TgZ(12,"mat-form-field",6),e.TgZ(13,"mat-select",19),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuImg.refcount_bits=o}),e.YNc(14,rge,2,2,"mat-option",9),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(3),e.Q6J("ngModel",n.qemuImg.preallocation),e.xp6(1),e.Q6J("ngForOf",n.preallocationsOptions),e.xp6(2),e.Q6J("ngModel",n.qemuImg.cluster_size),e.xp6(1),e.Q6J("ngForOf",n.clusterSizeOptions),e.xp6(3),e.Q6J("ngModel",n.qemuImg.lazy_refcounts),e.xp6(1),e.Q6J("ngForOf",n.lazyRefcountsOptions),e.xp6(2),e.Q6J("ngModel",n.qemuImg.refcount_bits),e.xp6(1),e.Q6J("ngForOf",n.clusterSizeOptions)}}function age(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"mat-radio-group",20),e.TgZ(2,"mat-radio-button",21),e.NdJ("click",function(){return e.CHM(t),e.oxw().setSubformat("dynamic")}),e._uU(3,"Dynamic"),e.qZA(),e.TgZ(4,"mat-radio-button",22),e.NdJ("click",function(){return e.CHM(t),e.oxw().setSubformat("fixed")}),e._uU(5,"Fixed"),e.qZA(),e.qZA(),e.qZA()}}function oge(r,i){if(1&r&&(e.TgZ(0,"mat-option",16),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function sge(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div"),e._uU(1," Adapter type"),e._UZ(2,"br"),e.TgZ(3,"mat-radio-group",23),e.TgZ(4,"mat-radio-button",21),e.NdJ("click",function(){return e.CHM(t),e.oxw().setAdapterType("ide")}),e._uU(5,"IDE"),e.qZA(),e.TgZ(6,"mat-radio-button",22),e.NdJ("click",function(){return e.CHM(t),e.oxw().setAdapterType("lsilogic")}),e._uU(7,"LSI Logic"),e.qZA(),e.TgZ(8,"mat-radio-button",24),e.NdJ("click",function(){return e.CHM(t),e.oxw().setAdapterType("buslogic")}),e._uU(9,"BusLogic"),e.qZA(),e.TgZ(10,"mat-radio-button",25),e.NdJ("click",function(){return e.CHM(t),e.oxw().setAdapterType("legacyESX")}),e._uU(11,"Legacy (ESX)"),e.qZA(),e.qZA(),e._UZ(12,"br"),e._UZ(13,"br"),e._uU(14," Image file sizing mode"),e._UZ(15,"br"),e.TgZ(16,"mat-radio-group",20),e.TgZ(17,"mat-radio-button",21),e.NdJ("click",function(){return e.CHM(t),e.oxw().setSubformat("streamOptimized")}),e._uU(18,"Stream optimized"),e.qZA(),e.TgZ(19,"mat-radio-button",22),e.NdJ("click",function(){return e.CHM(t),e.oxw().setSubformat("twoGbMaxExtentSparse")}),e._uU(20,"Split every 2GB (sparse)"),e.qZA(),e.TgZ(21,"mat-radio-button",24),e.NdJ("click",function(){return e.CHM(t),e.oxw().setSubformat("twoGbMaxExtentFlat")}),e._uU(22,"Split every 2GB (flat)"),e.qZA(),e.TgZ(23,"mat-radio-button",25),e.NdJ("click",function(){return e.CHM(t),e.oxw().setSubformat("monolithicSparse")}),e._uU(24,"Monolithic sparse"),e.qZA(),e.TgZ(25,"mat-radio-button",26),e.NdJ("click",function(){return e.CHM(t),e.oxw().setSubformat("monolithicFlat")}),e._uU(26,"Monolithic flat"),e.qZA(),e.qZA(),e._UZ(27,"br"),e._UZ(28,"br"),e.TgZ(29,"mat-select",27),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().qemuImg.zeroed_grain=o}),e.YNc(30,oge,2,2,"mat-option",9),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(29),e.Q6J("ngModel",n.qemuImg.zeroed_grain),e.xp6(1),e.Q6J("ngForOf",n.zeroedGrainOptions)}}var lge=function(){var r=function(){function i(t,n,a,o,s){(0,v.Z)(this,i),this.dialogRef=t,this.nodeService=n,this.toasterService=a,this.formBuilder=o,this.qemuService=s,this.formatOptions=["qcow2","qcow","vhd","vdi","vmdk","raw"],this.preallocationsOptions=["off","metadata","falloc","full"],this.clusterSizeOptions=[{name:"512",value:512},{name:"1k",value:1024},{name:"2k",value:2048},{name:"4k",value:4096},{name:"8k",value:8192},{name:"16k",value:16384},{name:"32k",value:32768},{name:"64k",value:65536},{name:"128k",value:131072},{name:"256k",value:262144},{name:"512k",value:524288},{name:"1024k",value:1048576},{name:"2048k",value:2097152}],this.lazyRefcountsOptions=["off","on"],this.refcountBitsOptions=[1,2,4,8,16,32,64],this.zeroedGrainOptions=["on","off"],this.inputForm=this.formBuilder.group({qemu_img:new re.NI("",re.kI.required),path:new re.NI("",re.kI.required),size:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){this.qemuImg={}}},{key:"setSubformat",value:function(n){this.qemuImg.subformat=n}},{key:"onSaveClick",value:function(){var n=this;this.inputForm.valid&&this.qemuImg.format?this.qemuService.addImage(this.server,this.qemuImg).subscribe(function(){n.dialogRef.close()}):this.toasterService.error("Fill all required fields.")}},{key:"onCancelClick",value:function(){this.dialogRef.close()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(Yr),e.Y36(Yn),e.Y36(re.qu),e.Y36(Sp))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-qemu-image-creator"]],decls:25,vars:10,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],[1,"default-content"],[1,"matCard"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","qemu_img","placeholder","Qemu image path",3,"ngModel","ngModelChange"],["placeholder","Image format",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["matInput","","type","text","formControlName","path","placeholder","File location",3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","size","placeholder","Disk size",3,"ngModel","ngModelChange"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],[3,"value"],["placeholder","Cluster size",3,"ngModel","ngModelChange"],["placeholder","Lazy refcounts",3,"ngModel","ngModelChange"],["placeholder","Refcount entry size",3,"ngModel","ngModelChange"],["aria-label","Image file sizing mode",1,"radio-selection"],["value","1","checked","",3,"click"],["value","2",3,"click"],["aria-label","Adapter type",1,"radio-selection"],["value","3",3,"click"],["value","4",3,"click"],["value","5",3,"click"],["placeholder","Zeroed grain",3,"ngModel","ngModelChange"]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1,"Qemu image configurator"),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div",3),e.TgZ(5,"mat-card",4),e.TgZ(6,"form",5),e.TgZ(7,"mat-form-field",6),e.TgZ(8,"input",7),e.NdJ("ngModelChange",function(o){return n.qemuImg.qemu_img=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(9,"mat-form-field",6),e.TgZ(10,"mat-select",8),e.NdJ("ngModelChange",function(o){return n.qemuImg.format=o}),e.YNc(11,$ve,2,2,"mat-option",9),e.qZA(),e.qZA(),e.YNc(12,ige,15,8,"div",10),e.YNc(13,age,6,0,"div",10),e.YNc(14,sge,31,2,"div",10),e.TgZ(15,"form",5),e.TgZ(16,"mat-form-field",6),e.TgZ(17,"input",11),e.NdJ("ngModelChange",function(o){return n.qemuImg.path=o}),e.qZA(),e.qZA(),e.TgZ(18,"mat-form-field",6),e.TgZ(19,"input",12),e.NdJ("ngModelChange",function(o){return n.qemuImg.size=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(20,"div",13),e.TgZ(21,"button",14),e.NdJ("click",function(){return n.onCancelClick()}),e._uU(22,"Cancel"),e.qZA(),e.TgZ(23,"button",15),e.NdJ("click",function(){return n.onSaveClick()}),e._uU(24,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(6),e.Q6J("formGroup",n.inputForm),e.xp6(2),e.Q6J("ngModel",n.qemuImg.qemu_img),e.xp6(2),e.Q6J("ngModel",n.qemuImg.format),e.xp6(1),e.Q6J("ngForOf",n.formatOptions),e.xp6(1),e.Q6J("ngIf","qcow2"===n.qemuImg.format),e.xp6(1),e.Q6J("ngIf","vhd"===n.qemuImg.format||"vdi"===n.qemuImg.format),e.xp6(1),e.Q6J("ngIf","vmdk"===n.qemuImg.format),e.xp6(1),e.Q6J("formGroup",n.inputForm),e.xp6(2),e.Q6J("ngModel",n.qemuImg.path),e.xp6(2),e.Q6J("ngModel",n.qemuImg.size))},directives:[ii,Ti,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,yi.gD,re.On,Pt.sg,Pt.O5,re.wV,ti,En,sn.ey,El,Ml],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.configButton[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.default-content[_ngcontent-%COMP%]{max-height:400px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.file-button[_ngcontent-%COMP%]{width:18%}.create-button[_ngcontent-%COMP%]{width:100%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}.nonvisible[_ngcontent-%COMP%]{display:none}mat-radio-button[_ngcontent-%COMP%]{margin-right:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}"]}),r}(),uge=["customAdapters"];function cge(r,i){if(1&r&&(e.TgZ(0,"mat-option",49),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t.path),e.xp6(1),e.hij(" ",t.path," ")}}function dge(r,i){if(1&r&&(e.TgZ(0,"mat-option",49),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}function pge(r,i){if(1&r&&(e.TgZ(0,"mat-option",49),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}function fge(r,i){if(1&r&&(e.TgZ(0,"mat-option",49),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function hge(r,i){if(1&r&&(e.TgZ(0,"mat-option",49),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t.filename),e.xp6(1),e.hij(" ",t.filename," ")}}function mge(r,i){if(1&r&&(e.TgZ(0,"mat-option",49),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function vge(r,i){if(1&r&&(e.TgZ(0,"mat-option",49),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t.filename),e.xp6(1),e.hij(" ",t.filename," ")}}function gge(r,i){if(1&r&&(e.TgZ(0,"mat-option",49),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function _ge(r,i){if(1&r&&(e.TgZ(0,"mat-option",49),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t.filename),e.xp6(1),e.hij(" ",t.filename," ")}}function yge(r,i){if(1&r&&(e.TgZ(0,"mat-option",49),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function bge(r,i){if(1&r&&(e.TgZ(0,"mat-option",49),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t.filename),e.xp6(1),e.hij(" ",t.filename," ")}}function Cge(r,i){if(1&r&&(e.TgZ(0,"mat-option",49),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Sge(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-form-field",11),e.TgZ(1,"input",50),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw(2).node.properties.cpu_throttling=o}),e.qZA(),e.qZA()}if(2&r){var n=e.oxw(2);e.xp6(1),e.Q6J("ngModel",n.node.properties.cpu_throttling)}}function Tge(r,i){if(1&r&&(e.TgZ(0,"mat-option",49),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function kge(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-tab-group"),e.TgZ(1,"mat-tab",9),e._UZ(2,"br"),e.TgZ(3,"form",10),e.TgZ(4,"mat-form-field",11),e.TgZ(5,"input",12),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.name=o}),e.qZA(),e.qZA(),e.TgZ(6,"mat-form-field",11),e.TgZ(7,"input",13),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.ram=o}),e.qZA(),e.TgZ(8,"span",14),e._uU(9,"MB"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(10,"mat-form-field",11),e.TgZ(11,"input",15),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.cpus=o}),e.qZA(),e.qZA(),e.TgZ(12,"mat-form-field",11),e.TgZ(13,"mat-select",16),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.qemu_path=o}),e.YNc(14,cge,2,2,"mat-option",17),e.qZA(),e.qZA(),e.TgZ(15,"mat-form-field",11),e.TgZ(16,"mat-select",18),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.boot_priority=o}),e.YNc(17,dge,2,2,"mat-option",17),e.qZA(),e.qZA(),e.TgZ(18,"mat-form-field",11),e.TgZ(19,"mat-select",19),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.on_close=o}),e.YNc(20,pge,2,2,"mat-option",17),e.qZA(),e.qZA(),e.TgZ(21,"mat-form-field",20),e.TgZ(22,"mat-select",21),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.console_type=o}),e.YNc(23,fge,2,2,"mat-option",17),e.qZA(),e.qZA(),e.TgZ(24,"mat-checkbox",22),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.console_auto_start=o}),e._uU(25," Auto start console "),e.qZA(),e.qZA(),e.TgZ(26,"mat-tab",23),e.TgZ(27,"mat-card"),e.TgZ(28,"button",24),e.NdJ("click",function(){return e.CHM(t),e.oxw().openQemuImageCreator()}),e._uU(29," Create Qemu image "),e.qZA(),e._UZ(30,"mat-card-title"),e.TgZ(31,"mat-card-subtitle"),e._uU(32," HDA (Primary Master) "),e.qZA(),e.TgZ(33,"mat-card-content"),e.TgZ(34,"mat-select",25),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.hda_disk_image=o}),e.YNc(35,hge,2,2,"mat-option",17),e.qZA(),e.TgZ(36,"mat-form-field",11),e.TgZ(37,"mat-select",26),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.hda_disk_interface=o}),e.YNc(38,mge,2,2,"mat-option",17),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(39,"mat-card"),e._UZ(40,"mat-card-title"),e.TgZ(41,"mat-card-subtitle"),e._uU(42," HDB (Primary Slave) "),e.qZA(),e.TgZ(43,"mat-card-content"),e.TgZ(44,"mat-select",25),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.hdb_disk_image=o}),e.YNc(45,vge,2,2,"mat-option",17),e.qZA(),e.TgZ(46,"mat-form-field",11),e.TgZ(47,"mat-select",26),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.hdb_disk_interface=o}),e.YNc(48,gge,2,2,"mat-option",17),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(49,"mat-card"),e._UZ(50,"mat-card-title"),e.TgZ(51,"mat-card-subtitle"),e._uU(52," HDC (Secondary Master) "),e.qZA(),e.TgZ(53,"mat-card-content"),e.TgZ(54,"mat-select",25),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.hdc_disk_image=o}),e.YNc(55,_ge,2,2,"mat-option",17),e.qZA(),e.TgZ(56,"mat-form-field",11),e.TgZ(57,"mat-select",26),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.hdc_disk_interface=o}),e.YNc(58,yge,2,2,"mat-option",17),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(59,"mat-card"),e._UZ(60,"mat-card-title"),e.TgZ(61,"mat-card-subtitle"),e._uU(62," HDD (Secondary Slave) "),e.qZA(),e.TgZ(63,"mat-card-content"),e.TgZ(64,"mat-select",25),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.hdd_disk_image=o}),e.YNc(65,bge,2,2,"mat-option",17),e.qZA(),e.TgZ(66,"mat-form-field",11),e.TgZ(67,"mat-select",26),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.hdd_disk_interface=o}),e.YNc(68,Cge,2,2,"mat-option",17),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(69,"mat-tab",27),e.TgZ(70,"div"),e.TgZ(71,"button",28),e.NdJ("click",function(){return e.CHM(t),e.MAs(74).click()}),e._uU(72,"Browse"),e.qZA(),e.TgZ(73,"input",29,30),e.NdJ("change",function(o){return e.CHM(t),e.oxw().uploadCdromImageFile(o)}),e.qZA(),e.TgZ(75,"mat-form-field",31),e.TgZ(76,"input",32),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.cdrom_image=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(77,"mat-tab",33),e._UZ(78,"br"),e.TgZ(79,"mat-checkbox",22),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.legacy_networking=o}),e._uU(80," Use the legacy networking mode "),e.qZA(),e._UZ(81,"br"),e.TgZ(82,"mat-checkbox",22),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.replicate_network_connection_state=o}),e._uU(83," Replicate network connection state "),e.qZA(),e._UZ(84,"app-custom-adapters-table",34,35),e.qZA(),e.TgZ(86,"mat-tab",36),e.TgZ(87,"mat-card"),e._UZ(88,"mat-card-title"),e.TgZ(89,"mat-card-subtitle"),e._uU(90," Linux boot specific settings "),e.qZA(),e.TgZ(91,"mat-card-content"),e.TgZ(92,"div"),e.TgZ(93,"button",28),e.NdJ("click",function(){return e.CHM(t),e.MAs(96).click()}),e._uU(94," Browse "),e.qZA(),e.TgZ(95,"input",29,37),e.NdJ("change",function(o){return e.CHM(t),e.oxw().uploadInitrdFile(o)}),e.qZA(),e.TgZ(97,"mat-form-field",31),e.TgZ(98,"input",38),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.initrd=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(99,"div"),e.TgZ(100,"button",28),e.NdJ("click",function(){return e.CHM(t),e.oxw().filekerenelimage.click()}),e._uU(101," Browse "),e.qZA(),e.TgZ(102,"input",29,39),e.NdJ("change",function(o){return e.CHM(t),e.oxw().uploadKernelImageFile(o)}),e.qZA(),e.TgZ(104,"mat-form-field",31),e.TgZ(105,"input",40),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.kernel_image=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(106,"mat-form-field",11),e.TgZ(107,"input",41),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.kernel_command_line=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(108,"mat-card"),e._UZ(109,"mat-card-title"),e.TgZ(110,"mat-card-subtitle"),e._uU(111," Bios "),e.qZA(),e.TgZ(112,"mat-card-content"),e.TgZ(113,"div"),e.TgZ(114,"button",28),e.NdJ("click",function(){return e.CHM(t),e.MAs(117).click()}),e._uU(115," Browse "),e.qZA(),e.TgZ(116,"input",29,42),e.NdJ("change",function(o){return e.CHM(t),e.oxw().uploadBiosFile(o)}),e.qZA(),e.TgZ(118,"mat-form-field",31),e.TgZ(119,"input",43),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.bios_image=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(120,"mat-card"),e._UZ(121,"mat-card-title"),e.TgZ(122,"mat-card-subtitle"),e._uU(123," Optimization "),e.qZA(),e.TgZ(124,"mat-card-content"),e.TgZ(125,"mat-checkbox",22),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().activateCpuThrottling=o}),e._uU(126," Activate CPU throttling "),e.qZA(),e.YNc(127,Sge,2,1,"mat-form-field",44),e.TgZ(128,"mat-form-field",11),e.TgZ(129,"mat-select",45),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.process_priority=o}),e.YNc(130,Tge,2,2,"mat-option",17),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(131,"mat-card"),e._UZ(132,"mat-card-title"),e.TgZ(133,"mat-card-subtitle"),e._uU(134," Additional settings "),e.qZA(),e.TgZ(135,"mat-card-content"),e.TgZ(136,"mat-form-field",11),e.TgZ(137,"input",46),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.options=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(138,"mat-tab",47),e.TgZ(139,"mat-form-field",11),e.TgZ(140,"textarea",48),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.usage=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(3),e.Q6J("formGroup",n.generalSettingsForm),e.xp6(2),e.Q6J("ngModel",n.node.name),e.xp6(2),e.Q6J("ngModel",n.node.properties.ram),e.xp6(4),e.Q6J("ngModel",n.node.properties.cpus),e.xp6(2),e.Q6J("ngModel",n.node.properties.qemu_path),e.xp6(1),e.Q6J("ngForOf",n.binaries),e.xp6(2),e.Q6J("ngModel",n.node.properties.boot_priority),e.xp6(1),e.Q6J("ngForOf",n.bootPriorities),e.xp6(2),e.Q6J("ngModel",n.node.properties.on_close),e.xp6(1),e.Q6J("ngForOf",n.onCloseOptions),e.xp6(2),e.Q6J("ngModel",n.node.console_type),e.xp6(1),e.Q6J("ngForOf",n.consoleTypes),e.xp6(1),e.Q6J("ngModel",n.node.properties.console_auto_start),e.xp6(10),e.Q6J("ngModel",n.node.properties.hda_disk_image),e.xp6(1),e.Q6J("ngForOf",n.qemuImages),e.xp6(2),e.Q6J("ngModel",n.node.properties.hda_disk_interface),e.xp6(1),e.Q6J("ngForOf",n.diskInterfaces),e.xp6(6),e.Q6J("ngModel",n.node.properties.hdb_disk_image),e.xp6(1),e.Q6J("ngForOf",n.qemuImages),e.xp6(2),e.Q6J("ngModel",n.node.properties.hdb_disk_interface),e.xp6(1),e.Q6J("ngForOf",n.diskInterfaces),e.xp6(6),e.Q6J("ngModel",n.node.properties.hdc_disk_image),e.xp6(1),e.Q6J("ngForOf",n.qemuImages),e.xp6(2),e.Q6J("ngModel",n.node.properties.hdc_disk_interface),e.xp6(1),e.Q6J("ngForOf",n.diskInterfaces),e.xp6(6),e.Q6J("ngModel",n.node.properties.hdd_disk_image),e.xp6(1),e.Q6J("ngForOf",n.qemuImages),e.xp6(2),e.Q6J("ngModel",n.node.properties.hdd_disk_interface),e.xp6(1),e.Q6J("ngForOf",n.diskInterfaces),e.xp6(8),e.Q6J("ngModel",n.node.properties.cdrom_image),e.xp6(3),e.Q6J("ngModel",n.node.properties.legacy_networking),e.xp6(3),e.Q6J("ngModel",n.node.properties.replicate_network_connection_state),e.xp6(2),e.Q6J("networkTypes",n.networkTypes)("displayedColumns",n.displayedColumns)("adapters",n.node.ports),e.xp6(14),e.Q6J("ngModel",n.node.properties.initrd),e.xp6(7),e.Q6J("ngModel",n.node.properties.kernel_image),e.xp6(2),e.Q6J("ngModel",n.node.properties.kernel_command_line),e.xp6(12),e.Q6J("ngModel",n.node.properties.bios_image),e.xp6(6),e.Q6J("ngModel",n.activateCpuThrottling),e.xp6(2),e.Q6J("ngIf",n.activateCpuThrottling),e.xp6(2),e.Q6J("ngModel",n.node.properties.process_priority),e.xp6(1),e.Q6J("ngForOf",n.priorities),e.xp6(7),e.Q6J("ngModel",n.node.properties.options),e.xp6(3),e.Q6J("ngModel",n.node.properties.usage)}}var wge=function(){var r=function(){function i(t,n,a,o,s,l,d){(0,v.Z)(this,i),this.dialog=t,this.dialogRef=n,this.nodeService=a,this.toasterService=o,this.formBuilder=s,this.qemuService=l,this.qemuConfigurationService=d,this.consoleTypes=[],this.binaries=[],this.onCloseOptions=[],this.bootPriorities=[],this.diskInterfaces=[],this.displayedColumns=["adapter_number","port_name","adapter_type","actions"],this.networkTypes=[],this.qemuImages=[],this.conf={autoFocus:!1,width:"800px",disableClose:!0},this.generalSettingsForm=this.formBuilder.group({name:new re.NI("",re.kI.required),ram:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.nodeService.getNode(this.server,this.node).subscribe(function(a){n.node=a,n.name=a.name,n.getConfiguration()}),this.qemuService.getBinaries(this.server).subscribe(function(a){n.binaries=a}),this.qemuService.getImages(this.server).subscribe(function(a){n.qemuImages=a})}},{key:"openQemuImageCreator",value:function(){this.dialogRefQemuImageCreator=this.dialog.open(lge,this.conf),this.dialogRefQemuImageCreator.componentInstance.server=this.server}},{key:"uploadCdromImageFile",value:function(n){this.node.properties.cdrom_image=n.target.files[0].name}},{key:"uploadInitrdFile",value:function(n){this.node.properties.initrd=n.target.files[0].name}},{key:"uploadKernelImageFile",value:function(n){this.node.properties.kernel_image=n.target.files[0].name}},{key:"uploadBiosFile",value:function(n){this.node.properties.bios_image=n.target.files[0].name}},{key:"getConfiguration",value:function(){var n=this;this.consoleTypes=this.qemuConfigurationService.getConsoleTypes(),this.onCloseOptions=this.qemuConfigurationService.getOnCloseOptions(),this.qemuConfigurationService.getNetworkTypes().forEach(function(a){n.networkTypes.push(a)}),this.bootPriorities=this.qemuConfigurationService.getBootPriorities(),this.diskInterfaces=this.qemuConfigurationService.getDiskInterfaces()}},{key:"onSaveClick",value:function(){var n=this;this.generalSettingsForm.valid?(this.node.custom_adapters=[],this.customAdapters.adapters.forEach(function(a){n.node.custom_adapters.push({adapter_number:a.adapter_number,adapter_type:a.adapter_type})}),this.node.properties.adapters=this.node.custom_adapters.length,this.nodeService.updateNodeWithCustomAdapters(this.server,this.node).subscribe(function(){n.toasterService.success("Node ".concat(n.node.name," updated.")),n.onCancelClick()})):this.toasterService.error("Fill all required fields.")}},{key:"onCancelClick",value:function(){this.dialogRef.close()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(ca),e.Y36(zr),e.Y36(Yr),e.Y36(Yn),e.Y36(re.qu),e.Y36(Sp),e.Y36(UA))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-configurator-qemu"]],viewQuery:function(t,n){var a;1&t&&e.Gf(uge,5),2&t&&e.iGM(a=e.CRH())&&(n.customAdapters=a.first)},decls:12,vars:2,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],[1,"default-content"],[1,"matCard"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],["label","General settings"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","name","placeholder","Name",3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","ram","placeholder","RAM",3,"ngModel","ngModelChange"],["matSuffix",""],["matInput","","type","number","placeholder","vCPUs",3,"ngModel","ngModelChange"],["placeholder","Qemu binary",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["placeholder","Boot priority",3,"ngModel","ngModelChange"],["placeholder","On close",3,"ngModel","ngModelChange"],[1,"select"],["placeholder","Console type",3,"ngModel","ngModelChange"],[3,"ngModel","ngModelChange"],["label","HDD"],["mat-raised-button","","color","primary",1,"create-button",3,"click"],["placeholder","Disk image",3,"ngModel","ngModelChange"],["placeholder","Disk interface",3,"ngModel","ngModelChange"],["label","CD/DVD"],["mat-raised-button","","color","primary",1,"file-button",3,"click"],["type","file",1,"nonvisible",3,"change"],["filecdrom",""],[1,"file-name-form-field"],["matInput","","type","text","placeholder","Image",3,"ngModel","ngModelChange"],["label","Network"],[3,"networkTypes","displayedColumns","adapters"],["customAdapters",""],["label","Advanced"],["fileinitrd",""],["matInput","","type","text","placeholder","Initial RAM disk (initrd)",3,"ngModel","ngModelChange"],["filekernelimage",""],["matInput","","type","text","placeholder","Kernel image",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Kernel command line",3,"ngModel","ngModelChange"],["filebios",""],["matInput","","type","text","placeholder","Bios image",3,"ngModel","ngModelChange"],["class","form-field",4,"ngIf"],["placeholder","Process priority",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Options",3,"ngModel","ngModelChange"],["label","Usage"],["matInput","","type","text",3,"ngModel","ngModelChange"],[3,"value"],["matInput","","type","number","placeholder","Perecentage of CPU allowed",3,"ngModel","ngModelChange"]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div",3),e.TgZ(5,"mat-card",4),e.YNc(6,kge,141,45,"mat-tab-group",5),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(7,"div",6),e.TgZ(8,"button",7),e.NdJ("click",function(){return n.onCancelClick()}),e._uU(9,"Cancel"),e.qZA(),e.TgZ(10,"button",8),e.NdJ("click",function(){return n.onSaveClick()}),e._uU(11,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configurator for node ",n.name,""),e.xp6(5),e.Q6J("ngIf",n.name))},directives:[ii,Ti,Pt.O5,ti,En,Ta.SP,Ta.uX,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,re.wV,Ln.R9,re.On,yi.gD,Pt.sg,La,qV,zV,g6,HA,sn.ey],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.configButton[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.default-content[_ngcontent-%COMP%]{max-height:400px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.file-button[_ngcontent-%COMP%]{width:18%}.create-button[_ngcontent-%COMP%]{width:100%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}.nonvisible[_ngcontent-%COMP%]{display:none}mat-radio-button[_ngcontent-%COMP%]{margin-right:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}"]}),r}();function xge(r,i){1&r&&(e.TgZ(0,"th",24),e._uU(1,"Port : DLCI"),e.qZA())}function Ege(r,i){if(1&r&&(e.TgZ(0,"td",25),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.Oqu(t.portIn)}}function Mge(r,i){1&r&&(e.TgZ(0,"th",24),e._uU(1,"Port : DLCI"),e.qZA())}function Age(r,i){if(1&r&&(e.TgZ(0,"td",25),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.Oqu(t.portOut)}}function Dge(r,i){1&r&&(e.TgZ(0,"th",24),e._uU(1,"Actions"),e.qZA())}function Oge(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"td",25),e.TgZ(1,"button",26),e.NdJ("click",function(){var o=e.CHM(t).$implicit;return e.oxw(2).delete(o)}),e.TgZ(2,"mat-icon",27),e._uU(3,"delete"),e.qZA(),e.qZA(),e.qZA()}}function Pge(r,i){1&r&&e._UZ(0,"tr",28)}function Ige(r,i){1&r&&e._UZ(0,"tr",29)}function Rge(r,i){if(1&r&&(e.TgZ(0,"table",16),e.ynx(1,17),e.YNc(2,xge,2,0,"th",18),e.YNc(3,Ege,2,1,"td",19),e.BQk(),e.ynx(4,20),e.YNc(5,Mge,2,0,"th",18),e.YNc(6,Age,2,1,"td",19),e.BQk(),e.ynx(7,21),e.YNc(8,Dge,2,0,"th",18),e.YNc(9,Oge,4,0,"td",19),e.BQk(),e.YNc(10,Pge,1,0,"tr",22),e.YNc(11,Ige,1,0,"tr",23),e.qZA()),2&r){var t=e.oxw();e.Q6J("dataSource",t.nodeMappingsDataSource),e.xp6(10),e.Q6J("matHeaderRowDef",t.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",t.displayedColumns)}}var Nge=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this.dialogRef=t,this.nodeService=n,this.toasterService=a,this.formBuilder=o,this.consoleTypes=[],this.nodeMappings=new Map,this.nodeMappingsDataSource=[],this.dataSource=[],this.displayedColumns=["portIn","portOut","actions"],this.sourcePort="",this.sourceDlci="",this.destinationPort="",this.destinationDlci="",this.nameForm=this.formBuilder.group({name:new re.NI("",re.kI.required)}),this.inputForm=this.formBuilder.group({sourcePort:new re.NI("",re.kI.required),sourceDlci:new re.NI("",re.kI.required),destinationPort:new re.NI("",re.kI.required),destinationDlci:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.nodeService.getNode(this.server,this.node).subscribe(function(a){n.node=a,n.name=a.name;var o=a.properties.mappings;Object.keys(o).forEach(function(s){n.nodeMappings.set(s,o[s])}),n.nodeMappings.forEach(function(s,l){n.nodeMappingsDataSource.push({portIn:l,portOut:s})})})}},{key:"delete",value:function(n){this.nodeMappingsDataSource=this.nodeMappingsDataSource.filter(function(a){return a!==n})}},{key:"add",value:function(){if(this.inputForm.valid){var n={portIn:"".concat(this.sourcePort,":").concat(this.sourceDlci),portOut:"".concat(this.destinationPort,":").concat(this.destinationDlci)};this.nodeMappingsDataSource.filter(function(a){return a.portIn===n.portIn}).length>0?this.toasterService.error("Mapping already defined."):(this.nodeMappingsDataSource=this.nodeMappingsDataSource.concat([n]),this.clearUserInput())}else this.toasterService.error("Fill all required fields.")}},{key:"clearUserInput",value:function(){this.sourcePort="0",this.sourceDlci="0",this.destinationPort="0",this.destinationDlci="0"}},{key:"strMapToObj",value:function(n){var s,a=Object.create(null),o=(0,E.Z)(n);try{for(o.s();!(s=o.n()).done;){var l=(0,b.Z)(s.value,2);a[l[0]]=l[1]}}catch(C){o.e(C)}finally{o.f()}return a}},{key:"onSaveClick",value:function(){var n=this;this.nameForm.valid?(this.nodeMappings.clear(),this.nodeMappingsDataSource.forEach(function(a){n.nodeMappings.set(a.portIn,a.portOut)}),this.node.properties.mappings=Array.from(this.nodeMappings).reduce(function(a,o){var s=(0,b.Z)(o,2);return Object.assign(a,(0,V.Z)({},s[0],s[1]))},{}),this.nodeService.updateNode(this.server,this.node).subscribe(function(){n.toasterService.success("Node ".concat(n.node.name," updated.")),n.onCancelClick()})):this.toasterService.error("Fill all required fields.")}},{key:"onCancelClick",value:function(){this.dialogRef.close()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(Yr),e.Y36(Yn),e.Y36(re.qu))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-configurator-switch"]],decls:29,vars:9,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],[1,"default-content"],["class","table","mat-table","",3,"dataSource",4,"ngIf"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","name","placeholder","Name",3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","sourcePort","placeholder","Port",3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","sourceDlci","placeholder","DLCI",3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","destinationPort","placeholder","Port",3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","destinationDlci","placeholder","DLCI",3,"ngModel","ngModelChange"],["mat-button","",1,"form-field",3,"click"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],["mat-table","",1,"table",3,"dataSource"],["matColumnDef","portIn"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","portOut"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","","matTooltip","Delete port","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Delete port"],["mat-header-row",""],["mat-row",""]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div",3),e.TgZ(5,"mat-card"),e.YNc(6,Rge,12,3,"table",4),e._UZ(7,"br"),e.TgZ(8,"form",5),e.TgZ(9,"mat-form-field",6),e.TgZ(10,"input",7),e.NdJ("ngModelChange",function(o){return n.node.name=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(11,"form",5),e._uU(12," Source "),e.TgZ(13,"mat-form-field",6),e.TgZ(14,"input",8),e.NdJ("ngModelChange",function(o){return n.sourcePort=o}),e.qZA(),e.qZA(),e.TgZ(15,"mat-form-field",6),e.TgZ(16,"input",9),e.NdJ("ngModelChange",function(o){return n.sourceDlci=o}),e.qZA(),e.qZA(),e._uU(17," Destination "),e.TgZ(18,"mat-form-field",6),e.TgZ(19,"input",10),e.NdJ("ngModelChange",function(o){return n.destinationPort=o}),e.qZA(),e.qZA(),e.TgZ(20,"mat-form-field",6),e.TgZ(21,"input",11),e.NdJ("ngModelChange",function(o){return n.destinationDlci=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(22,"button",12),e.NdJ("click",function(){return n.add()}),e._uU(23,"Add"),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(24,"div",13),e.TgZ(25,"button",14),e.NdJ("click",function(){return n.onCancelClick()}),e._uU(26,"Cancel"),e.qZA(),e.TgZ(27,"button",15),e.NdJ("click",function(){return n.onSaveClick()}),e._uU(28,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configurator for node ",n.name,""),e.xp6(5),e.Q6J("ngIf",n.nodeMappingsDataSource.length),e.xp6(2),e.Q6J("formGroup",n.nameForm),e.xp6(2),e.Q6J("ngModel",n.node.name),e.xp6(1),e.Q6J("formGroup",n.inputForm),e.xp6(3),e.Q6J("ngModel",n.sourcePort),e.xp6(2),e.Q6J("ngModel",n.sourceDlci),e.xp6(3),e.Q6J("ngModel",n.destinationPort),e.xp6(2),e.Q6J("ngModel",n.destinationDlci))},directives:[ii,Ti,Pt.O5,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,re.wV,En,ti,nu,kl,Tl,Sl,ru,iu,wl,xl,ts,er,au,ou],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.configButton[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.default-content[_ngcontent-%COMP%]{max-height:400px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.file-button[_ngcontent-%COMP%]{width:18%}.create-button[_ngcontent-%COMP%]{width:100%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}.nonvisible[_ngcontent-%COMP%]{display:none}mat-radio-button[_ngcontent-%COMP%]{margin-right:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),r}(),Zge=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this.dialogRef=t,this.nodeService=n,this.toasterService=a,this.formBuilder=o,this.generalSettingsForm=this.formBuilder.group({name:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.nodeService.getNode(this.server,this.node).subscribe(function(a){n.node=a,n.name=a.name})}},{key:"onSaveClick",value:function(){var n=this;this.generalSettingsForm.valid?this.nodeService.updateNode(this.server,this.node).subscribe(function(){n.toasterService.success("Node ".concat(n.node.name," updated.")),n.onCancelClick()}):this.toasterService.error("Fill all required fields.")}},{key:"onCancelClick",value:function(){this.dialogRef.close()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(Yr),e.Y36(Yn),e.Y36(re.qu))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-configurator-traceng"]],decls:14,vars:3,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],[1,"default-content"],[1,"matCard"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","name","placeholder","Name",3,"ngModel","ngModelChange"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div",3),e.TgZ(5,"mat-card",4),e.TgZ(6,"form",5),e.TgZ(7,"mat-form-field",6),e.TgZ(8,"input",7),e.NdJ("ngModelChange",function(o){return n.node.name=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(9,"div",8),e.TgZ(10,"button",9),e.NdJ("click",function(){return n.onCancelClick()}),e._uU(11,"Cancel"),e.qZA(),e.TgZ(12,"button",10),e.NdJ("click",function(){return n.onSaveClick()}),e._uU(13,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configurator for node ",n.name,""),e.xp6(5),e.Q6J("formGroup",n.generalSettingsForm),e.xp6(2),e.Q6J("ngModel",n.node.name))},directives:[ii,Ti,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,ti,En],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.configButton[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.default-content[_ngcontent-%COMP%]{max-height:400px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.file-button[_ngcontent-%COMP%]{width:18%}.create-button[_ngcontent-%COMP%]{width:100%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}.nonvisible[_ngcontent-%COMP%]{display:none}mat-radio-button[_ngcontent-%COMP%]{margin-right:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}"]}),r}(),Lge=["customAdapters"];function Fge(r,i){if(1&r&&(e.TgZ(0,"mat-option",26),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Bge(r,i){if(1&r&&(e.TgZ(0,"mat-option",26),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}var tL=function(){return{standalone:!0}};function Uge(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-tab-group"),e.TgZ(1,"mat-tab",9),e._UZ(2,"br"),e.TgZ(3,"form",10),e.TgZ(4,"mat-form-field",11),e.TgZ(5,"input",12),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.name=o}),e.qZA(),e.qZA(),e.TgZ(6,"mat-form-field",13),e.TgZ(7,"mat-select",14),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.console_type=o}),e.YNc(8,Fge,2,2,"mat-option",15),e.qZA(),e.qZA(),e.TgZ(9,"mat-checkbox",16),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.console_auto_start=o}),e._uU(10," Auto start console "),e.qZA(),e.TgZ(11,"mat-form-field",11),e.TgZ(12,"input",17),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.ram=o}),e.qZA(),e.TgZ(13,"span",18),e._uU(14,"MB"),e.qZA(),e.qZA(),e.TgZ(15,"mat-form-field",11),e.TgZ(16,"mat-select",19),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.on_close=o}),e.YNc(17,Bge,2,2,"mat-option",15),e.qZA(),e.qZA(),e.qZA(),e.TgZ(18,"mat-checkbox",20),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.headless=o}),e._uU(19," Start VM in headless mode "),e.qZA(),e.qZA(),e.TgZ(20,"mat-tab",21),e._UZ(21,"br"),e.TgZ(22,"mat-checkbox",20),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.use_any_adapter=o}),e._uU(23," Allow GNS3 to use any configured VirtualBox adapter "),e.qZA(),e._UZ(24,"app-custom-adapters-table",22,23),e.qZA(),e.TgZ(26,"mat-tab",24),e.TgZ(27,"mat-form-field",11),e.TgZ(28,"textarea",25),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.usage=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(3),e.Q6J("formGroup",n.generalSettingsForm),e.xp6(2),e.Q6J("ngModel",n.node.name),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(17,tL))("ngModel",n.node.console_type),e.xp6(1),e.Q6J("ngForOf",n.consoleTypes),e.xp6(1),e.Q6J("ngModelOptions",e.DdM(18,tL))("ngModel",n.node.console_auto_start),e.xp6(3),e.Q6J("ngModel",n.node.properties.ram),e.xp6(4),e.Q6J("ngModelOptions",e.DdM(19,tL))("ngModel",n.node.properties.on_close),e.xp6(1),e.Q6J("ngForOf",n.onCloseOptions),e.xp6(1),e.Q6J("ngModel",n.node.properties.headless),e.xp6(4),e.Q6J("ngModel",n.node.properties.use_any_adapter),e.xp6(2),e.Q6J("networkTypes",n.networkTypes)("displayedColumns",n.displayedColumns)("adapters",n.node.ports),e.xp6(4),e.Q6J("ngModel",n.node.properties.usage)}}var Hge=function(){var r=function(){function i(t,n,a,o,s){(0,v.Z)(this,i),this.dialogRef=t,this.nodeService=n,this.toasterService=a,this.formBuilder=o,this.virtualBoxConfigurationService=s,this.consoleTypes=[],this.onCloseOptions=[],this.displayedColumns=["adapter_number","port_name","adapter_type","actions"],this.networkTypes=[],this.generalSettingsForm=this.formBuilder.group({name:new re.NI("",re.kI.required),ram:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.nodeService.getNode(this.server,this.node).subscribe(function(a){n.node=a,n.name=a.name,n.getConfiguration()})}},{key:"getConfiguration",value:function(){this.consoleTypes=this.virtualBoxConfigurationService.getConsoleTypes(),this.onCloseOptions=this.virtualBoxConfigurationService.getOnCloseoptions(),this.networkTypes=this.virtualBoxConfigurationService.getNetworkTypes()}},{key:"onSaveClick",value:function(){var n=this;this.generalSettingsForm.valid?(this.node.custom_adapters=[],this.customAdapters.adapters.forEach(function(a){n.node.custom_adapters.push({adapter_number:a.adapter_number,adapter_type:a.adapter_type})}),this.node.properties.adapters=this.node.custom_adapters.length,this.nodeService.updateNodeWithCustomAdapters(this.server,this.node).subscribe(function(){n.toasterService.success("Node ".concat(n.node.name," updated.")),n.onCancelClick()})):this.toasterService.error("Fill all required fields.")}},{key:"onCancelClick",value:function(){this.dialogRef.close()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(Yr),e.Y36(Yn),e.Y36(re.qu),e.Y36(P6))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-configurator-virtualbox"]],viewQuery:function(t,n){var a;1&t&&e.Gf(Lge,5),2&t&&e.iGM(a=e.CRH())&&(n.customAdapters=a.first)},decls:12,vars:2,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],[1,"default-content"],[1,"matCard"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],["label","General settings"],[3,"formGroup"],[1,"form-field"],["matInput","","formControlName","name","type","text","placeholder","Name",3,"ngModel","ngModelChange"],[1,"select"],["placeholder","Console type",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModelOptions","ngModel","ngModelChange"],["matInput","","formControlName","ram","type","number","placeholder","RAM",3,"ngModel","ngModelChange"],["matSuffix",""],["placeholder","On close",3,"ngModelOptions","ngModel","ngModelChange"],[3,"ngModel","ngModelChange"],["label","Network"],[3,"networkTypes","displayedColumns","adapters"],["customAdapters",""],["label","Usage"],["matInput","","type","text",3,"ngModel","ngModelChange"],[3,"value"]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div",3),e.TgZ(5,"mat-card",4),e.YNc(6,Uge,29,20,"mat-tab-group",5),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(7,"div",6),e.TgZ(8,"button",7),e.NdJ("click",function(){return n.onCancelClick()}),e._uU(9,"Cancel"),e.qZA(),e.TgZ(10,"button",8),e.NdJ("click",function(){return n.onSaveClick()}),e._uU(11,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configurator for node ",n.name,""),e.xp6(5),e.Q6J("ngIf",n.name))},directives:[ii,Ti,Pt.O5,ti,En,Ta.SP,Ta.uX,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,yi.gD,re.On,Pt.sg,La,re.wV,Ln.R9,HA,sn.ey],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.configButton[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.default-content[_ngcontent-%COMP%]{max-height:400px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.file-button[_ngcontent-%COMP%]{width:18%}.create-button[_ngcontent-%COMP%]{width:100%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}.nonvisible[_ngcontent-%COMP%]{display:none}mat-radio-button[_ngcontent-%COMP%]{margin-right:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}"]}),r}(),Vge=["customAdapters"];function jge(r,i){if(1&r&&(e.TgZ(0,"mat-option",24),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function qge(r,i){if(1&r&&(e.TgZ(0,"mat-option",24),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}var nL=function(){return{standalone:!0}};function zge(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-tab-group"),e.TgZ(1,"mat-tab",9),e._UZ(2,"br"),e.TgZ(3,"form",10),e.TgZ(4,"mat-form-field",11),e.TgZ(5,"input",12),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.name=o}),e.qZA(),e.qZA(),e.TgZ(6,"mat-form-field",13),e.TgZ(7,"mat-select",14),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.console_type=o}),e.YNc(8,jge,2,2,"mat-option",15),e.qZA(),e.qZA(),e.TgZ(9,"mat-checkbox",16),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.console_auto_start=o}),e._uU(10," Auto start console "),e.qZA(),e.TgZ(11,"mat-form-field",11),e.TgZ(12,"mat-select",17),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.on_close=o}),e.YNc(13,qge,2,2,"mat-option",15),e.qZA(),e.qZA(),e.qZA(),e.TgZ(14,"mat-checkbox",18),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.headless=o}),e._uU(15," Start VM in headless mode "),e.qZA(),e._UZ(16,"br"),e.TgZ(17,"mat-checkbox",18),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.linked_clone=o}),e._uU(18," Use a linked base VM (experimental) "),e.qZA(),e.qZA(),e.TgZ(19,"mat-tab",19),e._UZ(20,"br"),e.TgZ(21,"mat-checkbox",18),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.use_any_adapter=o}),e._uU(22," Allow GNS3 to override non custom VMware adapter "),e.qZA(),e._UZ(23,"app-custom-adapters-table",20,21),e.qZA(),e.TgZ(25,"mat-tab",22),e.TgZ(26,"mat-form-field",11),e.TgZ(27,"textarea",23),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().node.properties.usage=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(3),e.Q6J("formGroup",n.generalSettingsForm),e.xp6(2),e.Q6J("ngModel",n.node.name),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(17,nL))("ngModel",n.node.console_type),e.xp6(1),e.Q6J("ngForOf",n.consoleTypes),e.xp6(1),e.Q6J("ngModelOptions",e.DdM(18,nL))("ngModel",n.node.console_auto_start),e.xp6(3),e.Q6J("ngModelOptions",e.DdM(19,nL))("ngModel",n.node.properties.on_close),e.xp6(1),e.Q6J("ngForOf",n.onCloseOptions),e.xp6(1),e.Q6J("ngModel",n.node.properties.headless),e.xp6(3),e.Q6J("ngModel",n.node.properties.linked_clone),e.xp6(4),e.Q6J("ngModel",n.node.properties.use_any_adapter),e.xp6(2),e.Q6J("networkTypes",n.networkTypes)("displayedColumns",n.displayedColumns)("adapters",n.node.ports),e.xp6(4),e.Q6J("ngModel",n.node.properties.usage)}}var Wge=function(){var r=function(){function i(t,n,a,o,s){(0,v.Z)(this,i),this.dialogRef=t,this.nodeService=n,this.toasterService=a,this.formBuilder=o,this.vmwareConfigurationService=s,this.consoleTypes=[],this.onCloseOptions=[],this.displayedColumns=["adapter_number","port_name","adapter_type","actions"],this.networkTypes=[],this.generalSettingsForm=this.formBuilder.group({name:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.nodeService.getNode(this.server,this.node).subscribe(function(a){n.node=a,n.name=a.name,n.getConfiguration()})}},{key:"getConfiguration",value:function(){this.consoleTypes=this.vmwareConfigurationService.getConsoleTypes(),this.onCloseOptions=this.vmwareConfigurationService.getOnCloseoptions(),this.networkTypes=this.vmwareConfigurationService.getNetworkTypes()}},{key:"onSaveClick",value:function(){var n=this;this.generalSettingsForm.valid?(this.node.custom_adapters=[],this.customAdapters.adapters.forEach(function(a){n.node.custom_adapters.push({adapter_number:a.adapter_number,adapter_type:a.adapter_type})}),this.node.properties.adapters=this.node.custom_adapters.length,this.nodeService.updateNodeWithCustomAdapters(this.server,this.node).subscribe(function(){n.toasterService.success("Node ".concat(n.node.name," updated.")),n.onCancelClick()})):this.toasterService.error("Fill all required fields.")}},{key:"onCancelClick",value:function(){this.dialogRef.close()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(Yr),e.Y36(Yn),e.Y36(re.qu),e.Y36(I6))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-configurator-vmware"]],viewQuery:function(t,n){var a;1&t&&e.Gf(Vge,5),2&t&&e.iGM(a=e.CRH())&&(n.customAdapters=a.first)},decls:12,vars:2,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],[1,"default-content"],[1,"matCard"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],["label","General settings"],[3,"formGroup"],[1,"form-field"],["matInput","","formControlName","name","type","text","placeholder","Name",3,"ngModel","ngModelChange"],[1,"select"],["placeholder","Console type",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModelOptions","ngModel","ngModelChange"],["placeholder","On close",3,"ngModelOptions","ngModel","ngModelChange"],[3,"ngModel","ngModelChange"],["label","Network"],[3,"networkTypes","displayedColumns","adapters"],["customAdapters",""],["label","Usage"],["matInput","","type","text",3,"ngModel","ngModelChange"],[3,"value"]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div",3),e.TgZ(5,"mat-card",4),e.YNc(6,zge,28,20,"mat-tab-group",5),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(7,"div",6),e.TgZ(8,"button",7),e.NdJ("click",function(){return n.onCancelClick()}),e._uU(9,"Cancel"),e.qZA(),e.TgZ(10,"button",8),e.NdJ("click",function(){return n.onSaveClick()}),e._uU(11,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configurator for node ",n.name,""),e.xp6(5),e.Q6J("ngIf",n.name))},directives:[ii,Ti,Pt.O5,ti,En,Ta.SP,Ta.uX,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,yi.gD,re.On,Pt.sg,La,HA,sn.ey],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.configButton[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.default-content[_ngcontent-%COMP%]{max-height:400px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.file-button[_ngcontent-%COMP%]{width:18%}.create-button[_ngcontent-%COMP%]{width:100%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}.nonvisible[_ngcontent-%COMP%]{display:none}mat-radio-button[_ngcontent-%COMP%]{margin-right:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}"]}),r}();function Gge(r,i){if(1&r&&(e.TgZ(0,"mat-option",15),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}var vq=function(){return{standalone:!0}},Yge=function(){var r=function(){function i(t,n,a,o,s){(0,v.Z)(this,i),this.dialogRef=t,this.nodeService=n,this.toasterService=a,this.formBuilder=o,this.vpcsConfigurationService=s,this.consoleTypes=[],this.inputForm=this.formBuilder.group({name:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.nodeService.getNode(this.server,this.node).subscribe(function(a){n.node=a,n.name=a.name,n.getConfiguration()})}},{key:"getConfiguration",value:function(){this.consoleTypes=this.vpcsConfigurationService.getConsoleTypes()}},{key:"onSaveClick",value:function(){var n=this;this.inputForm.valid?this.nodeService.updateNode(this.server,this.node).subscribe(function(){n.toasterService.success("Node ".concat(n.node.name," updated.")),n.onCancelClick()}):this.toasterService.error("Fill all required fields.")}},{key:"onCancelClick",value:function(){this.dialogRef.close()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(Yr),e.Y36(Yn),e.Y36(re.qu),e.Y36(zA))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-configurator-vpcs"]],decls:19,vars:10,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],[1,"default-content"],[1,"matCard"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","name","placeholder","Name",3,"ngModel","ngModelChange"],[1,"select"],["placeholder","Console type",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModelOptions","ngModel","ngModelChange"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],[3,"value"]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div",3),e.TgZ(5,"mat-card",4),e.TgZ(6,"form",5),e.TgZ(7,"mat-form-field",6),e.TgZ(8,"input",7),e.NdJ("ngModelChange",function(o){return n.node.name=o}),e.qZA(),e.qZA(),e.TgZ(9,"mat-form-field",8),e.TgZ(10,"mat-select",9),e.NdJ("ngModelChange",function(o){return n.node.console_type=o}),e.YNc(11,Gge,2,2,"mat-option",10),e.qZA(),e.qZA(),e.TgZ(12,"mat-checkbox",11),e.NdJ("ngModelChange",function(o){return n.node.console_auto_start=o}),e._uU(13," Auto start console "),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(14,"div",12),e.TgZ(15,"button",13),e.NdJ("click",function(){return n.onCancelClick()}),e._uU(16,"Cancel"),e.qZA(),e.TgZ(17,"button",14),e.NdJ("click",function(){return n.onSaveClick()}),e._uU(18,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configurator for node ",n.name,""),e.xp6(5),e.Q6J("formGroup",n.inputForm),e.xp6(2),e.Q6J("ngModel",n.node.name),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(8,vq))("ngModel",n.node.console_type),e.xp6(1),e.Q6J("ngForOf",n.consoleTypes),e.xp6(1),e.Q6J("ngModelOptions",e.DdM(9,vq))("ngModel",n.node.console_auto_start))},directives:[ii,Ti,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,yi.gD,re.On,Pt.sg,La,ti,En,sn.ey],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.configButton[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.default-content[_ngcontent-%COMP%]{max-height:400px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.file-button[_ngcontent-%COMP%]{width:18%}.create-button[_ngcontent-%COMP%]{width:100%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}.nonvisible[_ngcontent-%COMP%]{display:none}mat-radio-button[_ngcontent-%COMP%]{margin-right:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}"]}),r}(),Jge=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.dialog=t,this.conf={autoFocus:!1,width:"800px",disableClose:!0}}return(0,g.Z)(i,[{key:"configureNode",value:function(){"vpcs"===this.node.node_type?this.dialogRef=this.dialog.open(Yge,this.conf):"ethernet_hub"===this.node.node_type?this.dialogRef=this.dialog.open(zve,this.conf):"ethernet_switch"===this.node.node_type?this.dialogRef=this.dialog.open(jve,this.conf):"cloud"===this.node.node_type?this.dialogRef=this.dialog.open(Ave,this.conf):"dynamips"===this.node.node_type?this.dialogRef=this.dialog.open(Yve,this.conf):"iou"===this.node.node_type?this.dialogRef=this.dialog.open(Kve,this.conf):"qemu"===this.node.node_type?this.dialogRef=this.dialog.open(wge,this.conf):"virtualbox"===this.node.node_type?this.dialogRef=this.dialog.open(Hge,this.conf):"vmware"===this.node.node_type?this.dialogRef=this.dialog.open(Wge,this.conf):"docker"===this.node.node_type?this.dialogRef=this.dialog.open(Fve,this.conf):"nat"===this.node.node_type?this.dialogRef=this.dialog.open(Xve,this.conf):"frame_relay_switch"===this.node.node_type?this.dialogRef=this.dialog.open(Nge,this.conf):"atm_switch"===this.node.node_type?this.dialogRef=this.dialog.open(ove,this.conf):"traceng"===this.node.node_type&&(this.dialogRef=this.dialog.open(Zge,this.conf));var n=this.dialogRef.componentInstance;n.server=this.server,n.node=this.node}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(ca))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-config-node-action"]],inputs:{server:"server",node:"node"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return n.configureNode()}),e.TgZ(1,"mat-icon"),e._uU(2,"settings_applications"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Configure"),e.qZA(),e.qZA())},directives:[Zr,er],encapsulation:2}),r}();function Qge(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"button",1),e.NdJ("click",function(){return e.CHM(t),e.oxw().startNodes()}),e.TgZ(1,"mat-icon"),e._uU(2,"play_arrow"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Start"),e.qZA(),e.qZA()}}var Kge=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.nodeService=t,this.toasterService=n}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){}},{key:"ngOnChanges",value:function(n){var a=this;n.nodes&&(this.isNodeWithStoppedStatus=!1,this.nodes.forEach(function(o){("stopped"===o.status||"suspended"===o.status)&&(a.isNodeWithStoppedStatus=!0)}))}},{key:"startNodes",value:function(){var n=this;this.nodes.forEach(function(a){n.nodeService.start(n.server,a).subscribe(function(o){},function(o){n.toasterService.error(o.error.message)})})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Yr),e.Y36(Yn))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-start-node-action"]],inputs:{server:"server",nodes:"nodes"},features:[e.TTD],decls:1,vars:1,consts:[["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&e.YNc(0,Qge,5,0,"button",0),2&t&&e.Q6J("ngIf",n.isNodeWithStoppedStatus)},directives:[Pt.O5,Zr,er],encapsulation:2}),r}();function Xge(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"button",1),e.NdJ("click",function(){return e.CHM(t),e.oxw().suspendNodes()}),e.TgZ(1,"mat-icon"),e._uU(2,"pause"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Suspend"),e.qZA(),e.qZA()}}var $ge=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.nodeService=t}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){}},{key:"ngOnChanges",value:function(n){var a=this;n.nodes&&(this.isNodeWithStartedStatus=!1,this.nodes.forEach(function(o){"started"===o.status&&(a.isNodeWithStartedStatus=!0)}))}},{key:"suspendNodes",value:function(){var n=this;this.nodes.forEach(function(a){n.nodeService.suspend(n.server,a).subscribe(function(o){})})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Yr))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-suspend-node-action"]],inputs:{server:"server",nodes:"nodes"},features:[e.TTD],decls:1,vars:1,consts:[["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&e.YNc(0,Xge,5,0,"button",0),2&t&&e.Q6J("ngIf",n.isNodeWithStartedStatus)},directives:[Pt.O5,Zr,er],encapsulation:2}),r}();function e_e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"button",1),e.NdJ("click",function(){return e.CHM(t),e.oxw().stopNodes()}),e.TgZ(1,"mat-icon"),e._uU(2,"stop"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Stop"),e.qZA(),e.qZA()}}var t_e=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.nodeService=t}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){}},{key:"ngOnChanges",value:function(n){var a=this;n.nodes&&(this.isNodeWithStartedStatus=!1,this.nodes.forEach(function(o){"started"===o.status&&(a.isNodeWithStartedStatus=!0)}))}},{key:"stopNodes",value:function(){var n=this;this.nodes.forEach(function(a){n.nodeService.stop(n.server,a).subscribe(function(o){})})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Yr))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-stop-node-action"]],inputs:{server:"server",nodes:"nodes"},features:[e.TTD],decls:1,vars:1,consts:[["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&e.YNc(0,e_e,5,0,"button",0),2&t&&e.Q6J("ngIf",n.isNodeWithStartedStatus)},directives:[Pt.O5,Zr,er],encapsulation:2}),r}();function n_e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"button",1),e.NdJ("click",function(){return e.CHM(t),e.oxw().reloadNodes()}),e.TgZ(1,"mat-icon"),e._uU(2,"refresh"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Reload"),e.qZA(),e.qZA()}}var r_e=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.nodeService=t,this.filteredNodes=[]}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.nodes.forEach(function(a){("vpcs"===a.node_type||"qemu"===a.node_type||"virtualbox"===a.node_type||"vmware"===a.node_type)&&n.filteredNodes.push(a)})}},{key:"reloadNodes",value:function(){var n=this;this.filteredNodes.forEach(function(a){n.nodeService.reload(n.server,a).subscribe(function(o){})})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Yr))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-reload-node-action"]],inputs:{server:"server",nodes:"nodes"},decls:1,vars:1,consts:[["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&e.YNc(0,n_e,5,0,"button",0),2&t&&e.Q6J("ngIf",n.filteredNodes.length>0)},directives:[Pt.O5,Zr,er],encapsulation:2}),r}(),gd=function(){var r=function(){function i(t,n,a){(0,v.Z)(this,i),this.router=t,this.toasterService=n,this.mapSettingsService=a,this.nodeConsoleTrigger=new e.vpe,this.closeNodeConsoleTrigger=new Un.xQ,this.consoleResized=new Un.xQ,this.openConsoles=0,this.defaultConsoleWidth=720,this.defaultConsoleHeight=408,this.defaultNumberOfColumns=80,this.defaultNumberOfRows=24}return(0,g.Z)(i,[{key:"getNumberOfColumns",value:function(){return this.lastNumberOfColumns}},{key:"getNumberOfRows",value:function(){return this.lastNumberOfRows}},{key:"setNumberOfColumns",value:function(n){this.lastNumberOfColumns=n}},{key:"setNumberOfRows",value:function(n){this.lastNumberOfRows=n}},{key:"openConsoleForNode",value:function(n){this.nodeConsoleTrigger.emit(n)}},{key:"closeConsoleForNode",value:function(n){this.closeNodeConsoleTrigger.next(n)}},{key:"resizeTerminal",value:function(n){this.consoleResized.next(n)}},{key:"getLineWidth",value:function(){return this.defaultConsoleWidth/this.defaultNumberOfColumns}},{key:"getLineHeight",value:function(){return this.defaultConsoleHeight/this.defaultNumberOfRows}},{key:"getUrl",value:function(n,a){var o="ws";return"https:"===n.protocol&&(o="wss"),"".concat(o,"://").concat(n.host,":").concat(n.port,"/v2/projects/").concat(a.project_id,"/nodes/").concat(a.node_id,"/console/ws")}},{key:"openConsolesForAllNodesInWidget",value:function(n){var a=this,o="Please start the following nodes if you want to open consoles for them: ",s=0;n.forEach(function(l){"started"===l.status?(a.mapSettingsService.logConsoleSubject.next(!0),setTimeout(function(){a.openConsoleForNode(l)},500)):(s++,o+=l.name+" ")}),s>0&&this.toasterService.error(o)}},{key:"openConsolesForAllNodesInNewTabs",value:function(n){var a=this,o="Please start the following nodes if you want to open consoles for them: ",s=0;n.forEach(function(l){if("started"===l.status){var d=a.router.url.split("/"),h="/static/web-ui/".concat(d[1],"/").concat(d[2],"/").concat(d[3],"/").concat(d[4],"/nodes/").concat(l.node_id);window.open(h)}else s++,o+=l.name+" "}),s>0&&this.toasterService.error(o)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(xr),e.LFG(Yn),e.LFG(Nu))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),i_e=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.nodeConsoleService=t}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){}},{key:"openConsole",value:function(){this.nodeConsoleService.openConsolesForAllNodesInWidget(this.nodes)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(gd))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-http-console-action"]],inputs:{server:"server",nodes:"nodes"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return n.openConsole()}),e.TgZ(1,"mat-icon"),e._uU(2,"http"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Web console"),e.qZA(),e.qZA())},directives:[Zr,er],encapsulation:2}),r}(),a_e=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.nodeConsoleService=t}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){}},{key:"openConsole",value:function(){this.nodeConsoleService.openConsolesForAllNodesInNewTabs(this.nodes)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(gd))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-http-console-new-tab-action"]],inputs:{server:"server",nodes:"nodes"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return n.openConsole()}),e.TgZ(1,"mat-icon"),e._uU(2,"http"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Web console in new tab"),e.qZA(),e.qZA())},directives:[Zr,er],encapsulation:2}),r}(),wp=f(82889),o_e=function(){var r=function(){function i(t,n,a,o,s){(0,v.Z)(this,i),this.electronService=t,this.serverService=n,this.settingsService=a,this.toasterService=o,this.nodeService=s}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){}},{key:"console",value:function(){return(0,Sa.mG)(this,void 0,void 0,k().mark(function n(){var a,s,l,d,h;return k().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:if(a=this.settingsService.getConsoleSettings()?this.settingsService.getConsoleSettings():this.nodeService.getDefaultCommand(),0!==this.nodes.filter(function(N){return"started"===N.status}).length){P.next=5;break}return this.toasterService.error("Device needs to be started in order to console to it."),P.abrupt("return");case 5:s=(0,E.Z)(this.nodes),P.prev=6,s.s();case 8:if((l=s.n()).done){P.next=17;break}if("started"===(d=l.value).status){P.next=12;break}return P.abrupt("continue",15);case 12:return h={command:a,type:d.console_type,host:d.console_host,port:d.console,name:d.name,project_id:d.project_id,node_id:d.node_id,server_url:this.serverService.getServerUrl(this.server)},P.next=15,this.openConsole(h);case 15:P.next=8;break;case 17:P.next=22;break;case 19:P.prev=19,P.t0=P.catch(6),s.e(P.t0);case 22:return P.prev=22,s.f(),P.finish(22);case 25:case"end":return P.stop()}},n,this,[[6,19,22,25]])}))}},{key:"openConsole",value:function(n){return(0,Sa.mG)(this,void 0,void 0,k().mark(function a(){return k().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,this.electronService.remote.require("./console-executor.js").openConsole(n);case 2:return s.abrupt("return",s.sent);case 3:case"end":return s.stop()}},a,this)}))}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(gs),e.Y36(Vr),e.Y36(wp.g),e.Y36(Yn),e.Y36(Yr))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-console-device-action"]],inputs:{server:"server",nodes:"nodes"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return n.console()}),e.TgZ(1,"mat-icon"),e._uU(2,"web_asset"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Console"),e.qZA(),e.qZA())},directives:[Zr,er],encapsulation:2}),r}(),s_e=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.toasterService=t,this.nodeService=n}return(0,g.Z)(i,[{key:"openConsole",value:function(){var n=this;this.nodeService.getNode(this.server,this.node).subscribe(function(a){n.node=a,n.startConsole()})}},{key:"startConsole",value:function(){if("started"!==this.node.status)this.toasterService.error("This node must be started before a console can be opened");else if(("0.0.0.0"===this.node.console_host||"0:0:0:0:0:0:0:0"===this.node.console_host||"::"===this.node.console_host)&&(this.node.console_host=this.server.host),"telnet"===this.node.console_type||"vnc"===this.node.console_type||"spice"===this.node.console_type)try{location.assign("gns3+".concat(this.node.console_type,"://").concat(this.node.console_host,":").concat(this.node.console,"?name=").concat(this.node.name,"&project_id=").concat(this.node.project_id,"&node_id=").concat(this.node.node_id))}catch(n){this.toasterService.error(n)}else this.toasterService.error("Supported console types: telnet, vnc, spice.")}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Yn),e.Y36(Yr))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-console-device-action-browser"]],inputs:{server:"server",node:"node"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return n.openConsole()}),e.TgZ(1,"mat-icon"),e._uU(2,"web_asset"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Console"),e.qZA(),e.qZA())},directives:[Zr,er],encapsulation:2}),r}(),l_e=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.electronService=t}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){}},{key:"open",value:function(){this.electronService.shell.openPath(this.node.node_directory)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(gs))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-open-file-explorer-action"]],inputs:{server:"server",node:"node"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return n.open()}),e.TgZ(1,"mat-icon"),e._uU(2,"tab"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Open file explorer"),e.qZA(),e.qZA())},directives:[Zr,er],encapsulation:2}),r}(),u_e=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this.dialogRef=t,this.nodeService=n,this.toasterService=a,this.formBuilder=o,this.inputForm=this.formBuilder.group({name:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.nodeService.getNode(this.server,this.node).subscribe(function(a){n.node=a,n.name=n.node.name})}},{key:"onSaveClick",value:function(){var n=this;this.inputForm.valid?this.nodeService.updateNode(this.server,this.node).subscribe(function(){n.toasterService.success("Node ".concat(n.node.name," updated.")),n.onCancelClick()}):this.toasterService.error("Fill all required fields.")}},{key:"onCancelClick",value:function(){this.dialogRef.close()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(Yr),e.Y36(Yn),e.Y36(re.qu))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-change-hostname-dialog-component"]],decls:14,vars:3,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],[1,"default-content"],[1,"matCard"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","name","placeholder","Name",3,"ngModel","ngModelChange"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div",3),e.TgZ(5,"mat-card",4),e.TgZ(6,"form",5),e.TgZ(7,"mat-form-field",6),e.TgZ(8,"input",7),e.NdJ("ngModelChange",function(o){return n.node.name=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(9,"div",8),e.TgZ(10,"button",9),e.NdJ("click",function(){return n.onCancelClick()}),e._uU(11,"Cancel"),e.qZA(),e.TgZ(12,"button",10),e.NdJ("click",function(){return n.onSaveClick()}),e._uU(13,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Change hostname for node ",n.name,""),e.xp6(5),e.Q6J("formGroup",n.inputForm),e.xp6(2),e.Q6J("ngModel",n.node.name))},directives:[ii,Ti,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,ti,En],styles:[".form-field[_ngcontent-%COMP%]{width:100%}"]}),r}(),c_e=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.dialog=t}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){}},{key:"changeHostname",value:function(){var a=this.dialog.open(u_e,{autoFocus:!1,disableClose:!0}).componentInstance;a.server=this.server,a.node=this.node}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(ca))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-change-hostname-action"]],inputs:{server:"server",node:"node"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return n.changeHostname()}),e.TgZ(1,"mat-icon"),e._uU(2,"edit"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Change hostname"),e.qZA(),e.qZA())},directives:[Zr,er],encapsulation:2}),r}(),d_e=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.dialogRef=t,this.nodeService=n}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){this.symbol=this.node.symbol}},{key:"symbolChanged",value:function(n){this.symbol=n}},{key:"onCloseClick",value:function(){this.dialogRef.close()}},{key:"onSelectClick",value:function(){var n=this;this.nodeService.updateSymbol(this.server,this.node,this.symbol).subscribe(function(){n.onCloseClick()})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(Yr))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-change-symbol-dialog"]],inputs:{server:"server",node:"node"},decls:10,vars:3,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"symbolsWrapper"],[3,"server","symbol","symbolChanged"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"app-symbols",3),e.NdJ("symbolChanged",function(o){return n.symbolChanged(o)}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"button",5),e.NdJ("click",function(){return n.onCloseClick()}),e._uU(7,"Cancel"),e.qZA(),e.TgZ(8,"button",6),e.NdJ("click",function(){return n.onSelectClick()}),e._uU(9,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Change symbol for node: ",n.node.name,""),e.xp6(3),e.Q6J("server",n.server)("symbol",n.symbol))},directives:[ii,fj,ti,En],styles:[".symbolsWrapper[_ngcontent-%COMP%]{height:350px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}"]}),r}(),p_e=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.dialog=t}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){}},{key:"changeSymbol",value:function(){var a=this.dialog.open(d_e,{width:"1000px",height:"500px",autoFocus:!1,disableClose:!0}).componentInstance;a.server=this.server,a.node=this.node}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(ca))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-change-symbol-action"]],inputs:{server:"server",node:"node"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return n.changeSymbol()}),e.TgZ(1,"mat-icon"),e._uU(2,"find_replace"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Change symbol"),e.qZA(),e.qZA())},directives:[Zr,er],encapsulation:2}),r}(),Fs=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.httpServer=t,this.svgToDrawingConverter=n}return(0,g.Z)(i,[{key:"add",value:function(n,a,o,s,l){return this.httpServer.post(n,"/projects/".concat(a,"/drawings"),{svg:l,x:Math.round(o),y:Math.round(s),z:1})}},{key:"duplicate",value:function(n,a,o){return this.httpServer.post(n,"/projects/".concat(a,"/drawings"),{svg:o.svg,rotation:o.rotation,x:o.x+10,y:o.y+10,z:o.z})}},{key:"updatePosition",value:function(n,a,o,s,l){var d=Math.round(s),h=Math.round(l);return a.snap_to_grid&&(o.element=this.svgToDrawingConverter.convert(o.svg),d=Math.round((d+o.element.width/2)/a.drawing_grid_size)*a.drawing_grid_size,h=Math.round((h+o.element.width/2)/a.drawing_grid_size)*a.drawing_grid_size,d=Math.round(d-o.element.width/2),h=Math.round(h-o.element.height/2)),this.httpServer.put(n,"/projects/".concat(o.project_id,"/drawings/").concat(o.drawing_id),{x:d,y:h})}},{key:"updateSizeAndPosition",value:function(n,a,o,s,l){return this.httpServer.put(n,"/projects/".concat(a.project_id,"/drawings/").concat(a.drawing_id),{svg:l,x:Math.round(o),y:Math.round(s)})}},{key:"updateText",value:function(n,a,o){return this.httpServer.put(n,"/projects/".concat(a.project_id,"/drawings/").concat(a.drawing_id),{svg:o,x:Math.round(a.x),y:Math.round(a.y),z:a.z})}},{key:"update",value:function(n,a){return this.httpServer.put(n,"/projects/".concat(a.project_id,"/drawings/").concat(a.drawing_id),{locked:a.locked,svg:a.svg,rotation:a.rotation,x:Math.round(a.x),y:Math.round(a.y),z:a.z})}},{key:"delete",value:function(n,a){return this.httpServer.delete(n,"/projects/".concat(a.project_id,"/drawings/").concat(a.drawing_id))}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(Ja.wh),e.LFG(aS))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Bs=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(){return(0,v.Z)(this,n),t.apply(this,arguments)}return(0,g.Z)(n,[{key:"getItemKey",value:function(o){return o.drawing_id}}]),n}(WA.o);return r.\u0275fac=function(){var i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),f_e=function(){var r=function(){function i(t,n,a,o,s){(0,v.Z)(this,i),this.nodeService=t,this.nodesDataSource=n,this.drawingService=a,this.drawingsDataSource=o,this.toasterService=s}return(0,g.Z)(i,[{key:"duplicate",value:function(){var s,n=this,a="",o=(0,E.Z)(this.nodes);try{for(o.s();!(s=o.n()).done;){var l=s.value;"stopped"===l.status?this.nodeService.duplicate(this.server,l).subscribe(function(P){n.nodesDataSource.add(P)}):a+="".concat(l.name,", ")}}catch(P){o.e(P)}finally{o.f()}var h,d=(0,E.Z)(this.drawings);try{for(d.s();!(h=d.n()).done;){var C=h.value;this.drawingService.duplicate(this.server,C.project_id,C).subscribe(function(P){n.drawingsDataSource.add(P)})}}catch(P){d.e(P)}finally{d.f()}a.length>0&&(a=a.substring(0,a.length-2),this.toasterService.error("Cannot duplicate node data for nodes: ".concat(a)))}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Yr),e.Y36(Ao.G),e.Y36(Fs),e.Y36(Bs),e.Y36(Yn))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-duplicate-action"]],inputs:{server:"server",project:"project",drawings:"drawings",nodes:"nodes"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return n.duplicate()}),e.TgZ(1,"mat-icon"),e._uU(2,"filter_none"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Duplicate"),e.qZA(),e.qZA())},directives:[Zr,er],encapsulation:2}),r}(),lv=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"convert",value:function(n){var a="";if(n.element instanceof Tp)a='<rect fill="'.concat(n.element.fill,'" fill-opacity="').concat(n.element.fill_opacity,'" height="').concat(n.element.height,'" width="').concat(n.element.width,'" stroke="').concat(n.element.stroke,'" stroke-width="').concat(n.element.stroke_width,'" />');else if(n.element instanceof Ma)a='<ellipse fill="'.concat(n.element.fill,'" fill-opacity="').concat(n.element.fill_opacity,'" cx="').concat(n.element.cx,'" cy="').concat(n.element.cy,'" rx="').concat(n.element.rx,'" ry="').concat(n.element.ry,'" stroke="').concat(n.element.stroke,'" stroke-width="').concat(n.element.stroke_width,'" />');else if(n.element instanceof av)a='<line stroke="'.concat(n.element.stroke,'" stroke-width="').concat(n.element.stroke_width,'" x1="').concat(n.element.x1,'" x2="').concat(n.element.x2,'" y1="').concat(n.element.y1,'" y2="').concat(n.element.y2,'" />');else{if(!(n.element instanceof ov))return"";a='<text fill="'.concat(n.element.fill,'" fill-opacity="1.0" font-family="').concat(n.element.font_family,'" font-size="').concat(n.element.font_size,'" font-weight="').concat(n.element.font_weight,'">').concat(n.element.text,"</text>")}return'<svg height="'.concat(n.element.height,'" width="').concat(n.element.width,'">').concat(a,"</svg>")}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),rL=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"get",value:function(n){return+n.value>-360&&+n.value<=360?null:{negativeValue:!0}}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),iL=function(){return{standalone:!0}};function h_e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-form-field",3),e.TgZ(1,"input",12),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().element.stroke_dasharray=o}),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(1),e.Q6J("ngModelOptions",e.DdM(2,iL))("ngModel",n.element.stroke_dasharray)}}var m_e=function(){var r=function(){function i(t,n,a,o,s,l,d,h,C){(0,v.Z)(this,i),this.dialogRef=t,this.drawingToMapDrawingConverter=n,this.mapDrawingToSvgConverter=a,this.drawingService=o,this.drawingsDataSource=s,this.formBuilder=l,this.toasterService=d,this.nonNegativeValidator=h,this.rotationValidator=C,this.formGroup=this.formBuilder.group({borderWidth:new re.NI("",[re.kI.required,h.get]),rotation:new re.NI("",[re.kI.required,C.get])})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){this.element=new v_e,this.drawing.element instanceof Tp||this.drawing.element instanceof Ma?(this.element.fill=this.drawing.element.fill,this.element.stroke=this.drawing.element.stroke,this.element.stroke_dasharray=this.drawing.element.stroke_dasharray,this.element.stroke_width=this.drawing.element.stroke_width):this.drawing.element instanceof av&&(this.element.stroke=this.drawing.element.stroke,this.element.stroke_dasharray=this.drawing.element.stroke_dasharray,this.element.stroke_width=this.drawing.element.stroke_width),void 0===this.element.stroke_width&&(this.element.stroke_width=0),this.formGroup.controls.borderWidth.setValue(this.element.stroke_width),this.formGroup.controls.rotation.setValue(this.drawing.rotation)}},{key:"onNoClick",value:function(){this.dialogRef.close()}},{key:"onYesClick",value:function(){var n=this;if(this.formGroup.valid){this.element.stroke_width=this.formGroup.get("borderWidth").value,this.drawing.rotation=this.formGroup.get("rotation").value,this.drawing.element instanceof Tp||this.drawing.element instanceof Ma?(this.drawing.element.fill=this.element.fill,this.drawing.element.stroke=this.element.stroke,this.drawing.element.stroke_dasharray=this.element.stroke_dasharray,this.drawing.element.stroke_width=this.element.stroke_width):this.drawing.element instanceof av&&(this.drawing.element.stroke=this.element.stroke,this.drawing.element.stroke_dasharray=this.element.stroke_dasharray,this.drawing.element.stroke_width=this.element.stroke_width);var a=this.drawingToMapDrawingConverter.convert(this.drawing);a.element=this.drawing.element,this.drawing.svg=this.mapDrawingToSvgConverter.convert(a),this.drawingService.update(this.server,this.drawing).subscribe(function(o){n.drawingsDataSource.update(o),n.dialogRef.close()})}else this.toasterService.error("Entered data is incorrect")}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(YA),e.Y36(lv),e.Y36(Fs),e.Y36(Bs),e.Y36(re.qu),e.Y36(Yn),e.Y36(a2),e.Y36(rL))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-style-editor"]],decls:18,vars:8,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[3,"formGroup"],[1,"form-field"],["matInput","","placeholder","Fill color","type","color",3,"ngModelOptions","ngModel","ngModelChange"],["matInput","","placeholder","Border color","type","color",3,"ngModelOptions","ngModel","ngModelChange"],["matInput","","formControlName","borderWidth","placeholder","Border width","type","number"],["class","form-field",4,"ngIf"],["matInput","","formControlName","rotation","placeholder","Rotation","type","number"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],["matInput","","placeholder","Border style","type","text",3,"ngModelOptions","ngModel","ngModelChange"]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1,"Style editor"),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"form",2),e.TgZ(4,"mat-form-field",3),e.TgZ(5,"input",4),e.NdJ("ngModelChange",function(o){return n.element.fill=o}),e.qZA(),e.qZA(),e.TgZ(6,"mat-form-field",3),e.TgZ(7,"input",5),e.NdJ("ngModelChange",function(o){return n.element.stroke=o}),e.qZA(),e.qZA(),e.TgZ(8,"mat-form-field",3),e._UZ(9,"input",6),e.qZA(),e.YNc(10,h_e,2,3,"mat-form-field",7),e.TgZ(11,"mat-form-field",3),e._UZ(12,"input",8),e.qZA(),e.qZA(),e.qZA(),e.TgZ(13,"div",9),e.TgZ(14,"button",10),e.NdJ("click",function(){return n.onNoClick()}),e._uU(15,"Cancel"),e.qZA(),e.TgZ(16,"button",11),e.NdJ("click",function(){return n.onYesClick()}),e._uU(17,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(3),e.Q6J("formGroup",n.formGroup),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(6,iL))("ngModel",n.element.fill),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(7,iL))("ngModel",n.element.stroke),e.xp6(3),e.Q6J("ngIf",n.element.stroke_dasharray))},directives:[ii,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.On,re.wV,re.u,Pt.O5,ti,En],styles:[".item[_ngcontent-%COMP%]{height:25px;font-size:10pt;margin-bottom:10px}.item-name[_ngcontent-%COMP%]{margin-bottom:10px}.item-value[_ngcontent-%COMP%]{width:100%;margin-bottom:10px}.input-color[_ngcontent-%COMP%]{padding:0;border-width:0px;width:100%;background-color:transparent;outline:none}input[_ngcontent-%COMP%]:focus{outline:none}input[type=color][_ngcontent-%COMP%]{-webkit-appearance:none;border:none;height:25px}input[type=color][_ngcontent-%COMP%]::-webkit-color-swatch-wrapper{padding:0}input[type=color][_ngcontent-%COMP%]::-webkit-color-swatch{border:none}.modal-form-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.modal-form-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:100%}.form-field[_ngcontent-%COMP%]{width:100%}"]}),r}(),v_e=function r(){(0,v.Z)(this,r)};function g_e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"button",1),e.NdJ("click",function(){return e.CHM(t),e.oxw().editStyle()}),e.TgZ(1,"mat-icon"),e._uU(2,"style"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Edit style"),e.qZA(),e.qZA()}}var __e=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.dialog=t,this.isImageDrawing=!1}return(0,g.Z)(i,[{key:"ngOnChanges",value:function(){this.isImageDrawing=this.drawing.element instanceof t2}},{key:"editStyle",value:function(){var a=this.dialog.open(m_e,{width:"800px",autoFocus:!1,disableClose:!0}).componentInstance;a.server=this.server,a.project=this.project,a.drawing=this.drawing}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(ca))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-edit-style-action"]],inputs:{server:"server",project:"project",drawing:"drawing"},features:[e.TTD],decls:1,vars:1,consts:[["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&e.YNc(0,g_e,5,0,"button",0),2&t&&e.Q6J("ngIf",!n.isImageDrawing)},directives:[Pt.O5,Zr,er],encapsulation:2}),r}(),y_e=["textArea"],b_e=function(){var r=function(){function i(t,n,a,o,s,l,d,h,C,P,N,q,Q,te){(0,v.Z)(this,i),this.dialogRef=t,this.drawingToMapDrawingConverter=n,this.mapDrawingToSvgConverter=a,this.drawingService=o,this.drawingsDataSource=s,this.renderer=l,this.nodeService=d,this.nodesDataSource=h,this.linkService=C,this.linksDataSource=P,this.formBuilder=N,this.toasterService=q,this.rotationValidator=Q,this.fontFixer=te}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.formGroup=this.formBuilder.group({rotation:new re.NI("",[re.kI.required,this.rotationValidator.get])}),this.label&&this.node?(this.isTextEditable=!1,this.rotation=this.label.rotation.toString(),this.element=this.getTextElementFromLabel()):this.linkNode&&this.link?(this.isTextEditable=!0,this.label=this.link.nodes.find(function(o){return o.node_id===n.linkNode.node_id}).label,this.rotation=this.label.rotation.toString(),this.element=this.getTextElementFromLabel()):this.drawing&&(this.isTextEditable=!0,this.rotation=this.drawing.rotation.toString(),this.element=this.drawing.element);var a={font_family:this.element.font_family,font_size:this.element.font_size,font_weight:this.element.font_weight};a=this.fontFixer.fix(a),this.formGroup.controls.rotation.setValue(this.rotation),this.renderer.setStyle(this.textArea.nativeElement,"color",this.element.fill),this.renderer.setStyle(this.textArea.nativeElement,"font-family",a.font_family),this.renderer.setStyle(this.textArea.nativeElement,"font-size","".concat(a.font_size,"pt")),this.renderer.setStyle(this.textArea.nativeElement,"font-weight",a.font_weight)}},{key:"getTextElementFromLabel",value:function(){var s,n=[],a=new ov,o=(0,E.Z)(this.label.style.split(";"));try{for(o.s();!(s=o.n()).done;){var l=s.value;n.push({property:l.split(": ")[0],value:l.split(": ")[1]})}}catch(d){o.e(d)}finally{o.f()}return a.text=this.label.text?this.label.text:"",a.font_family=n.find(function(d){return"font-family"===d.property})?n.find(function(d){return"font-family"===d.property}).value:"TypeWriter",a.font_size=n.find(function(d){return"font-size"===d.property})?+n.find(function(d){return"font-size"===d.property}).value:10,a.font_weight=n.find(function(d){return"font-weight"===d.property})?n.find(function(d){return"font-weight"===d.property}).value:"normal",a.fill=n.find(function(d){return"fill"===d.property})?n.find(function(d){return"fill"===d.property}).value:"#000000",a.fill_opacity=n.find(function(d){return"fill-opacity"===d.property})?+n.find(function(d){return"fill-opacity"===d.property}).value:1,a}},{key:"getStyleFromTextElement",value:function(){return"font-family: ".concat(this.element.font_family,";font-size: ").concat(this.element.font_size,";font-weight: ").concat(this.element.font_weight,";fill: ").concat(this.element.fill,";fill-opacity: ").concat(this.element.fill_opacity,";")}},{key:"onNoClick",value:function(){this.dialogRef.close()}},{key:"onYesClick",value:function(){var n=this;if(this.formGroup.valid){if(this.rotation=this.formGroup.get("rotation").value,this.label&&this.node)this.node.label.style=this.getStyleFromTextElement(),this.node.label.rotation=+this.rotation,this.nodeService.updateLabel(this.server,this.node,this.node.label).subscribe(function(o){n.nodesDataSource.update(o),n.dialogRef.close()});else if(this.linkNode&&this.link)this.label.style=this.getStyleFromTextElement(),this.label.rotation=+this.rotation,this.label.text=this.element.text,this.linkService.updateLink(this.server,this.link).subscribe(function(o){n.linksDataSource.update(o),n.dialogRef.close()});else if(this.drawing){this.drawing.rotation=+this.rotation,this.drawing.element=this.element;var a=this.drawingToMapDrawingConverter.convert(this.drawing);a.element=this.drawing.element,this.drawing.svg=this.mapDrawingToSvgConverter.convert(a),this.drawingService.update(this.server,this.drawing).subscribe(function(o){n.drawingsDataSource.update(o),n.dialogRef.close()})}}else this.toasterService.error("Entered data is incorrect")}},{key:"changeTextColor",value:function(n){this.renderer.setStyle(this.textArea.nativeElement,"color",n)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(YA),e.Y36(lv),e.Y36(Fs),e.Y36(Bs),e.Y36(e.Qsj),e.Y36(Yr),e.Y36(Ao.G),e.Y36(wc),e.Y36(Kf.F),e.Y36(re.qu),e.Y36(Yn),e.Y36(rL),e.Y36(Sc))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-text-editor"]],viewQuery:function(t,n){var a;1&t&&e.Gf(y_e,7),2&t&&e.iGM(a=e.CRH())&&(n.textArea=a.first)},decls:15,vars:4,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"form-field"],["matInput","","placeholder","Fill color","type","color",3,"ngModel","ngModelChange"],[3,"formGroup"],["formControlName","rotation","matInput","","placeholder","Rotation","type","text"],["id","textArea",1,"text",3,"ngModel","readonly","ngModelChange"],["textArea",""],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1,"Text editor"),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"mat-form-field",2),e.TgZ(4,"input",3),e.NdJ("ngModelChange",function(o){return n.changeTextColor(o)})("ngModelChange",function(o){return n.element.fill=o}),e.qZA(),e.qZA(),e.TgZ(5,"form",4),e.TgZ(6,"mat-form-field",2),e._UZ(7,"input",5),e.qZA(),e.qZA(),e.TgZ(8,"textarea",6,7),e.NdJ("ngModelChange",function(o){return n.element.text=o}),e.qZA(),e.qZA(),e.TgZ(10,"div",8),e.TgZ(11,"button",9),e.NdJ("click",function(){return n.onNoClick()}),e._uU(12,"Cancel"),e.qZA(),e.TgZ(13,"button",10),e.NdJ("click",function(){return n.onYesClick()}),e._uU(14,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(4),e.Q6J("ngModel",n.element.fill),e.xp6(1),e.Q6J("formGroup",n.formGroup),e.xp6(3),e.Q6J("ngModel",n.element.text)("readonly",!n.isTextEditable))},directives:[ii,Ln.KE,ir,re.Fj,re.JJ,re.On,re._Y,re.JL,re.sg,re.u,ti,En],styles:[".item[_ngcontent-%COMP%]{height:25px;font-size:10pt;margin-bottom:10px}.item-name[_ngcontent-%COMP%]{margin-bottom:10px}.item-value[_ngcontent-%COMP%]{width:100%;margin-bottom:10px}.input-color[_ngcontent-%COMP%]{padding:0;border-width:0px;width:100%;background-color:transparent;outline:none}input[_ngcontent-%COMP%]:focus{outline:none}input[type=color][_ngcontent-%COMP%]{-webkit-appearance:none;border:none;height:25px}input[type=color][_ngcontent-%COMP%]::-webkit-color-swatch-wrapper{padding:0}input[type=color][_ngcontent-%COMP%]::-webkit-color-swatch{border:none}.text[_ngcontent-%COMP%]{width:100%;height:150px}.modal-form-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.modal-form-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:100%}.form-field[_ngcontent-%COMP%]{width:100%}"]}),r}(),C_e=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.dialog=t}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){}},{key:"editText",value:function(){var a=this.dialog.open(b_e,{width:"300px",autoFocus:!1,disableClose:!0}).componentInstance;a.server=this.server,a.project=this.project,a.drawing=this.drawing,a.node=this.node,a.label=this.label,a.link=this.link,a.linkNode=this.linkNode}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(ca))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-edit-text-action"]],inputs:{server:"server",project:"project",drawing:"drawing",node:"node",label:"label",link:"link",linkNode:"linkNode"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return n.editText()}),e.TgZ(1,"mat-icon"),e._uU(2,"text_format"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Edit text"),e.qZA(),e.qZA())},directives:[Zr,er],encapsulation:2}),r}();function S_e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",6),e.TgZ(1,"textarea",7,8),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().config=o}),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(1),e.Q6J("ngModel",n.config)}}function T_e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-tab-group"),e.TgZ(1,"mat-tab",9),e.TgZ(2,"textarea",10,8),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().config=o}),e.qZA(),e.qZA(),e.TgZ(4,"mat-tab",11),e.TgZ(5,"textarea",10,8),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().privateConfig=o}),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(2),e.Q6J("ngModel",n.config),e.xp6(3),e.Q6J("ngModel",n.privateConfig)}}var k_e=function(){var r=function(){function i(t,n,a){(0,v.Z)(this,i),this.dialogRef=t,this.nodeService=n,this.toasterService=a}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.nodeService.getStartupConfiguration(this.server,this.node).subscribe(function(a){n.config=a}),("iou"===this.node.node_type||"dynamips"===this.node.node_type)&&this.nodeService.getPrivateConfiguration(this.server,this.node).subscribe(function(a){n.privateConfig=a})}},{key:"onSaveClick",value:function(){var n=this;this.nodeService.saveConfiguration(this.server,this.node,this.config).subscribe(function(a){"iou"===n.node.node_type||"dynamips"===n.node.node_type?n.nodeService.savePrivateConfiguration(n.server,n.node,n.privateConfig).subscribe(function(o){n.dialogRef.close(),n.toasterService.success("Configuration for node ".concat(n.node.name," saved."))}):(n.dialogRef.close(),n.toasterService.success("Configuration for node ".concat(n.node.name," saved.")))})}},{key:"onCancelClick",value:function(){this.dialogRef.close()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(Yr),e.Y36(Yn))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-config-editor"]],decls:9,vars:3,consts:[["mat-dialog-title",""],["class","modal-form-container",4,"ngIf"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],[1,"modal-form-container"],["id","textArea",1,"textArea",3,"ngModel","ngModelChange"],["textArea",""],["label","Startup config"],["id","textArea",1,"textAreaTab",3,"ngModel","ngModelChange"],["label","Private config"]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.YNc(2,S_e,3,1,"div",1),e.YNc(3,T_e,7,2,"mat-tab-group",2),e.TgZ(4,"div",3),e.TgZ(5,"button",4),e.NdJ("click",function(){return n.onCancelClick()}),e._uU(6,"Cancel"),e.qZA(),e.TgZ(7,"button",5),e.NdJ("click",function(){return n.onSaveClick()}),e._uU(8,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configuration for node ",n.node.name,""),e.xp6(1),e.Q6J("ngIf","vpcs"===n.node.node_type),e.xp6(1),e.Q6J("ngIf","iou"===n.node.node_type||"dynamips"===n.node.node_type))},directives:[ii,Pt.O5,ti,En,re.Fj,re.JJ,re.On,Ta.SP,Ta.uX],styles:[".textArea[_ngcontent-%COMP%]{width:100%;height:350px}.textAreaTab[_ngcontent-%COMP%]{width:100%;height:300px}"]}),r}();function w_e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"button",1),e.NdJ("click",function(){return e.CHM(t),e.oxw().editConfig()}),e.TgZ(1,"mat-icon"),e._uU(2,"settings"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Edit config"),e.qZA(),e.qZA()}}var x_e=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.dialog=t}return(0,g.Z)(i,[{key:"editConfig",value:function(){var a=this.dialog.open(k_e,{width:"600px",height:"500px",autoFocus:!1,disableClose:!0}).componentInstance;a.server=this.server,a.project=this.project,a.node=this.node}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(ca))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-edit-config-action"]],inputs:{server:"server",project:"project",node:"node"},decls:1,vars:1,consts:[["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&e.YNc(0,w_e,5,0,"button",0),2&t&&e.Q6J("ngIf","vpcs"===n.node.node_type||"iou"===n.node.node_type||"dynamips"===n.node.node_type)},directives:[Pt.O5,Zr,er],encapsulation:2}),r}(),gq=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.dialogRef=t}return(0,g.Z)(i,[{key:"close",value:function(n){this.dialogRef.close(n)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-config-dialog"]],decls:10,vars:0,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"container"],["mat-raised-button","","color","primary",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1,"Choose configuration file"),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div"),e.TgZ(5,"button",3),e.NdJ("click",function(){return n.close("startup-config")}),e._uU(6,"startup configuration"),e.qZA(),e.qZA(),e.TgZ(7,"div"),e.TgZ(8,"button",3),e.NdJ("click",function(){return n.close("private-config")}),e._uU(9,"private configuration"),e.qZA(),e.qZA(),e.qZA(),e.qZA())},directives:[ii,En],styles:[".container[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between}"]}),r}();function E_e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"button",1),e.NdJ("click",function(){return e.CHM(t),e.oxw().exportConfig()}),e.TgZ(1,"mat-icon"),e._uU(2,"call_made"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Export config"),e.qZA(),e.qZA()}}var M_e=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.nodeService=t,this.dialog=n}return(0,g.Z)(i,[{key:"exportConfig",value:function(){var n=this;"vpcs"===this.node.node_type?this.nodeService.getStartupConfiguration(this.server,this.node).subscribe(function(s){n.downloadByHtmlTag(s)}):this.dialog.open(gq,{width:"500px",autoFocus:!1,disableClose:!0}).afterClosed().subscribe(function(s){"startup-config"===s?n.nodeService.getStartupConfiguration(n.server,n.node).subscribe(function(l){n.downloadByHtmlTag(l)}):"private-config"===s&&n.nodeService.getPrivateConfiguration(n.server,n.node).subscribe(function(l){n.downloadByHtmlTag(l)})})}},{key:"downloadByHtmlTag",value:function(n){var a=document.createElement("a");a.setAttribute("href","data:".concat("text/plain",";charset=utf-8,").concat(encodeURIComponent(n))),"vpcs"===this.node.node_type?a.setAttribute("download","".concat(this.node.name,"_startup.vpc")):("iou"===this.node.node_type||"dynamips"===this.node.node_type)&&a.setAttribute("download","".concat(this.node.name,"_startup.cfg"));var s=new MouseEvent("click");a.dispatchEvent(s)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Yr),e.Y36(ca))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-export-config-action"]],inputs:{server:"server",node:"node"},decls:1,vars:1,consts:[["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&e.YNc(0,E_e,5,0,"button",0),2&t&&e.Q6J("ngIf","vpcs"===n.node.node_type||"dynamips"===n.node.node_type||"iou"===n.node.node_type)},directives:[Pt.O5,Zr,er],encapsulation:2}),r}(),A_e=["fileInput"],D_e=function(){var r=function(){function i(t,n,a){(0,v.Z)(this,i),this.nodeService=t,this.toasterService=n,this.dialog=a}return(0,g.Z)(i,[{key:"triggerClick",value:function(){var n=this;"vpcs"!==this.node.node_type?this.dialog.open(gq,{width:"500px",autoFocus:!1,disableClose:!0}).afterClosed().subscribe(function(s){n.configType=s,n.fileInput.nativeElement.click()}):(this.configType="startup-config",this.fileInput.nativeElement.click())}},{key:"importConfig",value:function(n){var a=this,o=n.target.files[0],s=new FileReader;s.onload=function(l){var d=s.result;"string"!=typeof d&&(d=d.toString()),"startup-config"===a.configType?a.nodeService.saveConfiguration(a.server,a.node,d).subscribe(function(){a.toasterService.success("Configuration for node ".concat(a.node.name," imported."))}):"private-config"===a.configType&&a.nodeService.savePrivateConfiguration(a.server,a.node,d).subscribe(function(){a.toasterService.success("Configuration for node ".concat(a.node.name," imported."))})},s.readAsText(o)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Yr),e.Y36(Yn),e.Y36(ca))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-import-config-action"]],viewQuery:function(t,n){var a;1&t&&e.Gf(A_e,5),2&t&&e.iGM(a=e.CRH())&&(n.fileInput=a.first)},inputs:{server:"server",node:"node"},decls:7,vars:0,consts:[["type","file","accept",".txt, .vpc",1,"non-visible",3,"change"],["fileInput",""],["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"input",0,1),e.NdJ("change",function(o){return n.importConfig(o)}),e.qZA(),e.TgZ(2,"button",2),e.NdJ("click",function(){return n.triggerClick()}),e.TgZ(3,"mat-icon"),e._uU(4,"call_received"),e.qZA(),e.TgZ(5,"span"),e._uU(6,"Import config"),e.qZA(),e.qZA())},directives:[Zr,er],styles:[".non-visible[_ngcontent-%COMP%]{display:none}"]}),r}(),O_e=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this.nodesDataSource=t,this.drawingsDataSource=n,this.nodeService=a,this.drawingService=o}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){}},{key:"moveLayerUp",value:function(){var n=this;this.nodes.forEach(function(a){a.z++,n.nodesDataSource.update(a),n.nodeService.update(n.server,a).subscribe(function(o){})}),this.drawings.forEach(function(a){a.z++,n.drawingsDataSource.update(a),n.drawingService.update(n.server,a).subscribe(function(o){})})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Ao.G),e.Y36(Bs),e.Y36(Yr),e.Y36(Fs))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-move-layer-up-action"]],inputs:{server:"server",nodes:"nodes",drawings:"drawings"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return n.moveLayerUp()}),e.TgZ(1,"mat-icon"),e._uU(2,"keyboard_arrow_up"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Move layer up"),e.qZA(),e.qZA())},directives:[Zr,er],encapsulation:2}),r}(),P_e=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this.nodesDataSource=t,this.drawingsDataSource=n,this.nodeService=a,this.drawingService=o}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){}},{key:"moveLayerDown",value:function(){var n=this;this.nodes.forEach(function(a){a.z--,n.nodesDataSource.update(a),n.nodeService.update(n.server,a).subscribe(function(o){})}),this.drawings.forEach(function(a){a.z--,n.drawingsDataSource.update(a),n.drawingService.update(n.server,a).subscribe(function(o){})})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Ao.G),e.Y36(Bs),e.Y36(Yr),e.Y36(Fs))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-move-layer-down-action"]],inputs:{server:"server",nodes:"nodes",drawings:"drawings"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return n.moveLayerDown()}),e.TgZ(1,"mat-icon"),e._uU(2,"keyboard_arrow_down"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Move layer down"),e.qZA(),e.qZA())},directives:[Zr,er],encapsulation:2}),r}(),I_e=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this.nodesDataSource=t,this.drawingsDataSource=n,this.nodeService=a,this.drawingService=o}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){}},{key:"bringToFront",value:function(){var n=this,a=Math.max.apply(Math,(0,T.Z)(this.nodes.map(function(l){return l.z}))),o=Math.max.apply(Math,(0,T.Z)(this.drawings.map(function(l){return l.z}))),s=Math.max(a,o);s<100&&s++,this.nodes.forEach(function(l){l.z=s,n.nodesDataSource.update(l),n.nodeService.update(n.server,l).subscribe(function(d){})}),this.drawings.forEach(function(l){l.z=s,n.drawingsDataSource.update(l),n.drawingService.update(n.server,l).subscribe(function(d){})})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Ao.G),e.Y36(Bs),e.Y36(Yr),e.Y36(Fs))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-bring-to-front-action"]],inputs:{server:"server",nodes:"nodes",drawings:"drawings"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return n.bringToFront()}),e.TgZ(1,"mat-icon"),e._uU(2,"vertical_align_top"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Bring to front"),e.qZA(),e.qZA())},directives:[Zr,er],encapsulation:2}),r}(),aL=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"startCapture",value:function(n,a,o,s){location.assign("gns3+pcap://".concat(n.host,":").concat(n.port,"?project_id=").concat(a.project_id,"&link_id=").concat(o.link_id,"&name=").concat(s))}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}();function R_e(r,i){if(1&r&&(e.TgZ(0,"mat-option",11),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}var N_e=function(){return{standalone:!0}},Z_e=function(){var r=function(){function i(t,n,a,o,s,l){(0,v.Z)(this,i),this.dialogRef=t,this.linkService=n,this.formBuilder=a,this.toasterService=o,this.nodesDataSource=s,this.packetCaptureService=l,this.linkTypes=[],this.inputForm=this.formBuilder.group({linkType:new re.NI("",re.kI.required),fileName:new re.NI("",re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){this.linkTypes="ethernet"===this.link.link_type?[["Ethernet","DLT_EN10MB"]]:[["Cisco HDLC","DLT_C_HDLC"],["Cisco PPP","DLT_PPP_SERIAL"],["Frame Relay","DLT_FRELAY"],["ATM","DLT_ATM_RFC1483"]];var n=this.nodesDataSource.get(this.link.nodes[0].node_id),a=this.nodesDataSource.get(this.link.nodes[1].node_id),o=n.ports[this.link.nodes[0].port_number],s=a.ports[this.link.nodes[1].port_number];this.inputForm.controls.fileName.setValue("".concat(n.name,"_").concat(o.name,"_to_").concat(a.name,"_").concat(s.name))}},{key:"onYesClick",value:function(){var n=this,a=!1;if(this.link.nodes.forEach(function(s){"started"===n.nodesDataSource.get(s.node_id).status&&(a=!0)}),a)if(this.inputForm.invalid)this.toasterService.error("Fill all required fields");else{var o={capture_file_name:this.inputForm.get("fileName").value,data_link_type:this.inputForm.get("linkType").value};this.startProgram&&this.packetCaptureService.startCapture(this.server,this.project,this.link,o.capture_file_name),this.linkService.startCaptureOnLink(this.server,this.link,o).subscribe(function(){n.dialogRef.close()})}else this.toasterService.error("Cannot capture because there is no running device on this link")}},{key:"onNoClick",value:function(){this.dialogRef.close()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(wc),e.Y36(re.qu),e.Y36(Yn),e.Y36(Ao.G),e.Y36(aL))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-start-capture"]],decls:16,vars:5,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[3,"formGroup"],[1,"input-field"],["placeholder","Link type","formControlName","linkType","ngDefaultControl",""],[3,"value",4,"ngFor","ngForOf"],["placeholder","File name","formControlName","fileName","matInput","","type","text"],[3,"ngModelOptions","ngModel","ngModelChange"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],[3,"value"]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1,"Packet capture"),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"form",2),e.TgZ(4,"mat-form-field",3),e.TgZ(5,"mat-select",4),e.YNc(6,R_e,2,2,"mat-option",5),e.qZA(),e.qZA(),e.TgZ(7,"mat-form-field",3),e._UZ(8,"input",6),e.qZA(),e.TgZ(9,"mat-checkbox",7),e.NdJ("ngModelChange",function(o){return n.startProgram=o}),e._uU(10," Start the capture visualization program "),e.qZA(),e.qZA(),e.qZA(),e.TgZ(11,"div",8),e.TgZ(12,"button",9),e.NdJ("click",function(){return n.onNoClick()}),e._uU(13,"Cancel"),e.qZA(),e.TgZ(14,"button",10),e.NdJ("click",function(){return n.onYesClick()}),e._uU(15,"Ok"),e.qZA(),e.qZA()),2&t&&(e.xp6(3),e.Q6J("formGroup",n.inputForm),e.xp6(3),e.Q6J("ngForOf",n.linkTypes),e.xp6(3),e.Q6J("ngModelOptions",e.DdM(4,N_e))("ngModel",n.startProgram))},directives:[ii,re._Y,re.JL,re.sg,Ln.KE,yi.gD,re.JJ,re.u,re.Fj,Pt.sg,ir,La,re.On,ti,En,sn.ey],styles:[".input-field[_ngcontent-%COMP%]{width:100%}"]}),r}();function L_e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"button",1),e.NdJ("click",function(){return e.CHM(t),e.oxw().startCapture()}),e.TgZ(1,"mat-icon"),e._uU(2,"loupe"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Start capture"),e.qZA(),e.qZA()}}var F_e=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.dialog=t}return(0,g.Z)(i,[{key:"startCapture",value:function(){var a=this.dialog.open(Z_e,{width:"400px",autoFocus:!1,disableClose:!0}).componentInstance;a.server=this.server,a.project=this.project,a.link=this.link}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(ca))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-start-capture-action"]],inputs:{server:"server",project:"project",link:"link"},decls:1,vars:1,consts:[["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&e.YNc(0,L_e,5,0,"button",0),2&t&&e.Q6J("ngIf",!n.link.capturing)},directives:[Pt.O5,Zr,er],encapsulation:2}),r}();function B_e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"button",1),e.NdJ("click",function(){return e.CHM(t),e.oxw().stopCapture()}),e.TgZ(1,"mat-icon"),e._uU(2,"pause_circle_filled"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Stop capture"),e.qZA(),e.qZA()}}var U_e=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.linkService=t}return(0,g.Z)(i,[{key:"stopCapture",value:function(){this.linkService.stopCaptureOnLink(this.server,this.link).subscribe(function(){})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(wc))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-stop-capture-action"]],inputs:{server:"server",link:"link"},decls:1,vars:1,consts:[["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&e.YNc(0,B_e,5,0,"button",0),2&t&&e.Q6J("ngIf",n.link.capturing)},directives:[Pt.O5,Zr,er],encapsulation:2}),r}();function H_e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"button",1),e.NdJ("click",function(){return e.CHM(t),e.oxw().startCapture()}),e.TgZ(1,"mat-icon"),e._uU(2,"search"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Start Wireshark"),e.qZA(),e.qZA()}}var V_e=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.packetCaptureService=t}return(0,g.Z)(i,[{key:"startCapture",value:function(){var n=this.link.capture_file_name.split(".");this.packetCaptureService.startCapture(this.server,this.project,this.link,n[0])}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(aL))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-start-capture-on-started-link-action"]],inputs:{server:"server",project:"project",link:"link"},decls:1,vars:1,consts:[["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&e.YNc(0,H_e,5,0,"button",0),2&t&&e.Q6J("ngIf",n.link.capturing)},directives:[Pt.O5,Zr,er],encapsulation:2}),r}();function j_e(r,i){if(1&r&&(e.TgZ(0,"div",5),e.TgZ(1,"h6"),e._uU(2),e.qZA(),e.TgZ(3,"span",6),e._uU(4),e.qZA(),e.qZA()),2&r){var t=i.$implicit;e.xp6(2),e.hij(" ",t.name," "),e.xp6(2),e.hij(" ",t.description," ")}}var q_e=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.dialogRef=t}return(0,g.Z)(i,[{key:"onCloseClick",value:function(){this.dialogRef.close()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-help-dialog"]],inputs:{title:"title",messages:"messages"},decls:7,vars:2,consts:[["mat-dialog-title",""],[1,"modal-form-container"],["class","message",4,"ngFor","ngForOf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],[1,"message"],[1,"description"]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.YNc(3,j_e,5,2,"div",2),e.qZA(),e.TgZ(4,"div",3),e.TgZ(5,"button",4),e.NdJ("click",function(){return n.onCloseClick()}),e._uU(6,"Close"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.Oqu(n.title),e.xp6(2),e.Q6J("ngForOf",n.messages))},directives:[ii,Pt.sg,ti,En],styles:[".message[_ngcontent-%COMP%]{margin-bottom:10px}.description[_ngcontent-%COMP%]{color:#b0bec5}"]}),r}();function z_e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-tab-group"),e.TgZ(1,"mat-tab",9),e.TgZ(2,"mat-form-field",10),e.TgZ(3,"input",11),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().filters.frequency_drop[0]=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(4,"mat-tab",12),e.TgZ(5,"mat-form-field",10),e.TgZ(6,"input",13),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().filters.packet_loss[0]=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(7,"mat-tab",14),e.TgZ(8,"mat-form-field",10),e.TgZ(9,"input",15),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().filters.delay[0]=o}),e.qZA(),e.qZA(),e.TgZ(10,"mat-form-field",10),e.TgZ(11,"input",16),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().filters.delay[1]=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(12,"mat-tab",17),e.TgZ(13,"mat-form-field",10),e.TgZ(14,"input",15),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().filters.corrupt[0]=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(15,"mat-tab",18),e.TgZ(16,"mat-form-field",10),e.TgZ(17,"textarea",19),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw().filters.bpf[0]=o}),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(3),e.Q6J("ngModel",n.filters.frequency_drop[0]),e.xp6(3),e.Q6J("ngModel",n.filters.packet_loss[0]),e.xp6(3),e.Q6J("ngModel",n.filters.delay[0]),e.xp6(2),e.Q6J("ngModel",n.filters.delay[1]),e.xp6(3),e.Q6J("ngModel",n.filters.corrupt[0]),e.xp6(3),e.Q6J("ngModel",n.filters.bpf[0])}}var W_e=function(){var r=function(){function i(t,n,a){(0,v.Z)(this,i),this.dialogRef=t,this.linkService=n,this.dialog=a}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.linkService.getLink(this.server,this.link.project_id,this.link.link_id).subscribe(function(a){n.link=a,n.filters={bpf:[],corrupt:[0],delay:[0,0],frequency_drop:[0],packet_loss:[0]},n.link.filters&&(n.filters.bpf=n.link.filters.bpf?n.link.filters.bpf:[],n.filters.corrupt=n.link.filters.corrupt?n.link.filters.corrupt:[0],n.filters.delay=n.link.filters.delay?n.link.filters.delay:[0,0],n.filters.frequency_drop=n.link.filters.frequency_drop?n.link.filters.frequency_drop:[0],n.filters.packet_loss=n.link.filters.packet_loss?n.link.filters.packet_loss:[0])}),this.linkService.getAvailableFilters(this.server,this.link).subscribe(function(a){n.availableFilters=a})}},{key:"onNoClick",value:function(){this.dialogRef.close()}},{key:"onResetClick",value:function(){var n=this;this.link.filters={bpf:[],corrupt:[0],delay:[0,0],frequency_drop:[0],packet_loss:[0]},this.linkService.updateLink(this.server,this.link).subscribe(function(a){n.dialogRef.close()})}},{key:"onYesClick",value:function(){var n=this;this.link.filters=this.filters,this.linkService.updateLink(this.server,this.link).subscribe(function(a){n.dialogRef.close()})}},{key:"onHelpClick",value:function(){var a=this.dialog.open(q_e,{width:"500px",autoFocus:!1,disableClose:!0}).componentInstance;a.title="Help for filters";var o=[];this.availableFilters.forEach(function(s){o.push({name:s.name,description:s.description})}),a.messages=o}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(wc),e.Y36(ca))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-packet-filters"]],decls:16,vars:1,consts:[["mat-dialog-title",""],[1,"content"],[4,"ngIf"],[1,"bottom-bar"],[1,"spacer"],["mat-dialog-actions","","layout","row",1,"dialog-actions"],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],[1,"divider"],["label","Frequency drop"],[1,"input-field"],["matInput","","placeholder","Frequency","type","number",3,"ngModel","ngModelChange"],["label","Packet loss"],["matInput","","placeholder","Chance","type","number",3,"ngModel","ngModelChange"],["label","Delay"],["matInput","","placeholder","Latency","type","number",3,"ngModel","ngModelChange"],["matInput","","placeholder","Jitter","type","number",3,"ngModel","ngModelChange"],["label","Corrupt"],["label","Berkeley Packet Filter (BPF)"],["matInput","","type","text",3,"ngModel","ngModelChange"]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1,"Packet filters"),e.qZA(),e.TgZ(2,"div",1),e.YNc(3,z_e,18,6,"mat-tab-group",2),e.qZA(),e.TgZ(4,"div",3),e._UZ(5,"div",4),e.TgZ(6,"div",5),e.TgZ(7,"button",6),e.NdJ("click",function(){return n.onNoClick()}),e._uU(8,"Cancel"),e.qZA(),e.TgZ(9,"button",6),e.NdJ("click",function(){return n.onResetClick()}),e._uU(10,"Reset"),e.qZA(),e.TgZ(11,"button",7),e.NdJ("click",function(){return n.onYesClick()}),e._uU(12,"Apply"),e.qZA(),e._UZ(13,"div",8),e.TgZ(14,"button",6),e.NdJ("click",function(){return n.onHelpClick()}),e._uU(15,"Help"),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(3),e.Q6J("ngIf",n.filters))},directives:[ii,Pt.O5,ti,En,Ta.SP,Ta.uX,Ln.KE,ir,re.wV,re.Fj,re.JJ,re.On],styles:[".spacer[_ngcontent-%COMP%]{flex-grow:1}.content[_ngcontent-%COMP%]{height:260px}.item[_ngcontent-%COMP%]{height:25px;font-size:10pt;margin-bottom:10px}.item-name[_ngcontent-%COMP%]{margin-bottom:10px}.item-value[_ngcontent-%COMP%]{width:100%;margin-bottom:10px}.input-field[_ngcontent-%COMP%]{width:100%;margin-top:10px}.divider[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;flex:1 1 auto}.input-color[_ngcontent-%COMP%]{padding:0;border-width:0px;width:100%;background-color:transparent;outline:none}input[_ngcontent-%COMP%]:focus{outline:none}input[type=color][_ngcontent-%COMP%]{-webkit-appearance:none;border:none;height:25px}input[type=color][_ngcontent-%COMP%]::-webkit-color-swatch-wrapper{padding:0}input[type=color][_ngcontent-%COMP%]::-webkit-color-swatch{border:none}.modal-form-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.modal-form-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:100%}"]}),r}(),G_e=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.dialog=t}return(0,g.Z)(i,[{key:"openPacketFilters",value:function(){var a=this.dialog.open(W_e,{width:"900px",height:"400px",autoFocus:!1,disableClose:!0}).componentInstance;a.server=this.server,a.project=this.project,a.link=this.link}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(ca))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-packet-filters-action"]],inputs:{server:"server",project:"project",link:"link"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return n.openPacketFilters()}),e.TgZ(1,"mat-icon"),e._uU(2,"filter_list"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Packet filters"),e.qZA(),e.qZA())},directives:[Zr,er],encapsulation:2}),r}();function Y_e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"button",1),e.NdJ("click",function(){return e.CHM(t),e.oxw().resumeLink()}),e.TgZ(1,"mat-icon"),e._uU(2,"play_arrow"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Resume"),e.qZA(),e.qZA()}}var J_e=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.linkService=t}return(0,g.Z)(i,[{key:"resumeLink",value:function(){this.link.suspend=!1,this.linkService.updateLink(this.server,this.link).subscribe(function(){})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(wc))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-resume-link-action"]],inputs:{server:"server",link:"link"},decls:1,vars:1,consts:[["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&e.YNc(0,Y_e,5,0,"button",0),2&t&&e.Q6J("ngIf",n.link.suspend)},directives:[Pt.O5,Zr,er],encapsulation:2}),r}();function Q_e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"button",1),e.NdJ("click",function(){return e.CHM(t),e.oxw().suspendLink()}),e.TgZ(1,"mat-icon"),e._uU(2,"pause"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Suspend"),e.qZA(),e.qZA()}}var K_e=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.linkService=t}return(0,g.Z)(i,[{key:"suspendLink",value:function(){this.link.suspend=!0,this.linkService.updateLink(this.server,this.link).subscribe(function(){})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(wc))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-suspend-link-action"]],inputs:{server:"server",link:"link"},decls:1,vars:1,consts:[["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&e.YNc(0,Q_e,5,0,"button",0),2&t&&e.Q6J("ngIf",!n.link.suspend)},directives:[Pt.O5,Zr,er],encapsulation:2}),r}(),X_e=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this.nodesDataSource=t,this.drawingsDataSource=n,this.nodeService=a,this.drawingService=o}return(0,g.Z)(i,[{key:"ngOnChanges",value:function(){this.command=1===this.nodes.length&&0===this.drawings.length?this.nodes[0].locked?"Unlock item":"Lock item":0===this.nodes.length&&1===this.drawings.length?this.drawings[0].locked?"Unlock item":"Lock item":"Lock/unlock items"}},{key:"lock",value:function(){var n=this;this.nodes.forEach(function(a){a.locked=!a.locked,n.nodeService.updateNode(n.server,a).subscribe(function(o){n.nodesDataSource.update(o)})}),this.drawings.forEach(function(a){a.locked=!a.locked,n.drawingService.update(n.server,a).subscribe(function(o){n.drawingsDataSource.update(o)})})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Ao.G),e.Y36(Bs),e.Y36(Yr),e.Y36(Fs))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-lock-action"]],inputs:{server:"server",nodes:"nodes",drawings:"drawings"},features:[e.TTD],decls:5,vars:1,consts:[["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return n.lock()}),e.TgZ(1,"mat-icon"),e._uU(2,"lock"),e.qZA(),e.TgZ(3,"span"),e._uU(4),e.qZA(),e.qZA()),2&t&&(e.xp6(4),e.Oqu(n.command))},directives:[Zr,er],encapsulation:2}),r}(),$_e=function(){var r=function(){function i(t,n,a,o,s,l,d){(0,v.Z)(this,i),this.nodesDataSource=t,this.drawingsDataSource=n,this.linksDataSource=a,this.nodeService=o,this.drawingService=s,this.linkService=l,this.bottomSheet=d}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){}},{key:"confirmDelete",value:function(){var n=this;this.bottomSheet.open(Xf);var a=this.bottomSheet._openedBottomSheetRef;a.instance.message="Do you want to delete all selected objects?",a.afterDismissed().subscribe(function(s){s&&n.delete()})}},{key:"delete",value:function(){var n=this;this.nodes.forEach(function(a){n.nodesDataSource.remove(a),n.nodeService.delete(n.server,a).subscribe(function(o){})}),this.drawings.forEach(function(a){n.drawingsDataSource.remove(a),n.drawingService.delete(n.server,a).subscribe(function(o){})}),this.links.forEach(function(a){n.linksDataSource.remove(a),n.linkService.deleteLink(n.server,a).subscribe(function(){})})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Ao.G),e.Y36(Bs),e.Y36(Kf.F),e.Y36(Yr),e.Y36(Fs),e.Y36(wc),e.Y36(uS))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-delete-action"]],inputs:{server:"server",nodes:"nodes",drawings:"drawings",links:"links"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return n.confirmDelete()}),e.TgZ(1,"mat-icon"),e._uU(2,"delete"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Delete"),e.qZA(),e.qZA())},directives:[Zr,er],encapsulation:2}),r}(),eye=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.nodesDataSource=t,this.nodeService=n}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){}},{key:"alignHorizontally",value:function(){var n=this,a=0;this.nodes.forEach(function(o){a+=o.y}),a/=this.nodes.length,this.nodes.forEach(function(o){o.y=a,n.nodesDataSource.update(o),n.nodeService.update(n.server,o).subscribe(function(s){})})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Ao.G),e.Y36(Yr))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-align-horizontally-action"]],inputs:{server:"server",nodes:"nodes"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return n.alignHorizontally()}),e.TgZ(1,"mat-icon"),e._uU(2,"more_horiz"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Align horizontally"),e.qZA(),e.qZA())},directives:[Zr,er],encapsulation:2}),r}(),tye=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.nodesDataSource=t,this.nodeService=n}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){}},{key:"alignVertically",value:function(){var n=this,a=0;this.nodes.forEach(function(o){a+=o.x}),a/=this.nodes.length,this.nodes.forEach(function(o){o.x=a,n.nodesDataSource.update(o),n.nodeService.update(n.server,o).subscribe(function(s){})})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Ao.G),e.Y36(Yr))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-align-vertically-action"]],inputs:{server:"server",nodes:"nodes"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return n.alignVertically()}),e.TgZ(1,"mat-icon"),e._uU(2,"more_vert"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Align vertically"),e.qZA(),e.qZA())},directives:[Zr,er],encapsulation:2}),r}();function nye(r,i){if(1&r&&e._UZ(0,"app-show-node-action",14),2&r){var t=e.oxw();e.Q6J("server",t.server)("node",t.nodes[0])}}function rye(r,i){if(1&r&&e._UZ(0,"app-config-node-action",14),2&r){var t=e.oxw();e.Q6J("server",t.server)("node",t.nodes[0])}}function iye(r,i){if(1&r&&e._UZ(0,"app-start-node-action",15),2&r){var t=e.oxw();e.Q6J("server",t.server)("nodes",t.nodes)}}function aye(r,i){if(1&r&&e._UZ(0,"app-suspend-node-action",15),2&r){var t=e.oxw();e.Q6J("server",t.server)("nodes",t.nodes)}}function oye(r,i){if(1&r&&e._UZ(0,"app-stop-node-action",15),2&r){var t=e.oxw();e.Q6J("server",t.server)("nodes",t.nodes)}}function sye(r,i){if(1&r&&e._UZ(0,"app-reload-node-action",15),2&r){var t=e.oxw();e.Q6J("server",t.server)("nodes",t.nodes)}}function lye(r,i){if(1&r&&e._UZ(0,"app-http-console-action",15),2&r){var t=e.oxw();e.Q6J("server",t.server)("nodes",t.nodes)}}function uye(r,i){if(1&r&&e._UZ(0,"app-http-console-new-tab-action",15),2&r){var t=e.oxw();e.Q6J("server",t.server)("nodes",t.nodes)}}function cye(r,i){if(1&r&&e._UZ(0,"app-console-device-action",15),2&r){var t=e.oxw();e.Q6J("server",t.server)("nodes",t.nodes)}}function dye(r,i){if(1&r&&e._UZ(0,"app-console-device-action-browser",14),2&r){var t=e.oxw();e.Q6J("server",t.server)("node",t.nodes[0])}}function pye(r,i){if(1&r&&e._UZ(0,"app-open-file-explorer-action",14),2&r){var t=e.oxw();e.Q6J("server",t.server)("node",t.nodes[0])}}function fye(r,i){if(1&r&&e._UZ(0,"app-change-hostname-action",14),2&r){var t=e.oxw();e.Q6J("server",t.server)("node",t.nodes[0])}}function hye(r,i){if(1&r&&e._UZ(0,"app-change-symbol-action",14),2&r){var t=e.oxw();e.Q6J("server",t.server)("node",t.nodes[0])}}function mye(r,i){if(1&r&&e._UZ(0,"app-duplicate-action",16),2&r){var t=e.oxw();e.Q6J("server",t.server)("project",t.project)("nodes",t.nodes)("drawings",t.drawings)}}function vye(r,i){if(1&r&&e._UZ(0,"app-edit-style-action",17),2&r){var t=e.oxw();e.Q6J("server",t.server)("project",t.project)("drawing",t.drawings[0])}}function gye(r,i){if(1&r&&e._UZ(0,"app-edit-text-action",18),2&r){var t=e.oxw();e.Q6J("server",t.server)("project",t.project)("drawing",t.drawings[0])("node",t.nodes[0])("label",t.labels[0])("link",t.links[0])("linkNode",t.linkNodes[0])}}function _ye(r,i){if(1&r&&e._UZ(0,"app-edit-config-action",19),2&r){var t=e.oxw();e.Q6J("server",t.server)("project",t.project)("node",t.nodes[0])}}function yye(r,i){if(1&r&&e._UZ(0,"app-export-config-action",14),2&r){var t=e.oxw();e.Q6J("server",t.server)("node",t.nodes[0])}}function bye(r,i){if(1&r&&e._UZ(0,"app-import-config-action",14),2&r){var t=e.oxw();e.Q6J("server",t.server)("node",t.nodes[0])}}function Cye(r,i){if(1&r&&e._UZ(0,"app-move-layer-up-action",20),2&r){var t=e.oxw();e.Q6J("server",t.server)("nodes",t.nodes)("drawings",t.drawings)}}function Sye(r,i){if(1&r&&e._UZ(0,"app-move-layer-down-action",20),2&r){var t=e.oxw();e.Q6J("server",t.server)("nodes",t.nodes)("drawings",t.drawings)}}function Tye(r,i){if(1&r&&e._UZ(0,"app-bring-to-front-action",20),2&r){var t=e.oxw();e.Q6J("server",t.server)("nodes",t.nodes)("drawings",t.drawings)}}function kye(r,i){if(1&r&&e._UZ(0,"app-start-capture-action",21),2&r){var t=e.oxw();e.Q6J("server",t.server)("project",t.project)("link",t.links[0])}}function wye(r,i){if(1&r&&e._UZ(0,"app-stop-capture-action",22),2&r){var t=e.oxw();e.Q6J("server",t.server)("link",t.links[0])}}function xye(r,i){if(1&r&&e._UZ(0,"app-start-capture-on-started-link-action",21),2&r){var t=e.oxw();e.Q6J("server",t.server)("project",t.project)("link",t.links[0])}}function Eye(r,i){if(1&r&&e._UZ(0,"app-packet-filters-action",21),2&r){var t=e.oxw();e.Q6J("server",t.server)("project",t.project)("link",t.links[0])}}function Mye(r,i){if(1&r&&e._UZ(0,"app-resume-link-action",22),2&r){var t=e.oxw();e.Q6J("server",t.server)("link",t.links[0])}}function Aye(r,i){if(1&r&&e._UZ(0,"app-suspend-link-action",22),2&r){var t=e.oxw();e.Q6J("server",t.server)("link",t.links[0])}}function Dye(r,i){if(1&r&&e._UZ(0,"app-lock-action",20),2&r){var t=e.oxw();e.Q6J("server",t.server)("nodes",t.nodes)("drawings",t.drawings)}}function Oye(r,i){if(1&r&&e._UZ(0,"app-delete-action",23),2&r){var t=e.oxw();e.Q6J("server",t.server)("nodes",t.nodes)("drawings",t.drawings)("links",t.links)}}function Pye(r,i){if(1&r&&e._UZ(0,"app-align-horizontally-action",15),2&r){var t=e.oxw();e.Q6J("server",t.server)("nodes",t.nodes)}}function Iye(r,i){if(1&r&&e._UZ(0,"app-align-vertically-action",15),2&r){var t=e.oxw();e.Q6J("server",t.server)("nodes",t.nodes)}}var _q=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this.sanitizer=t,this.changeDetector=n,this.electronService=a,this.projectService=o,this.drawings=[],this.nodes=[],this.labels=[],this.links=[],this.linkNodes=[],this.hasTextCapabilities=!1,this.isElectronApp=!1,this.isBundledServer=!1}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){this.setPosition(0,0),this.isElectronApp=this.electronService.isElectronApp,this.isBundledServer="bundled"===this.server.location}},{key:"setPosition",value:function(n,a){this.topPosition=this.sanitizer.bypassSecurityTrustStyle(n+"px"),this.leftPosition=this.sanitizer.bypassSecurityTrustStyle(a+"px"),this.changeDetector.detectChanges()}},{key:"openMenuForDrawing",value:function(n,a,o){this.resetCapabilities(),this.hasTextCapabilities=n.element instanceof ov,this.drawings=[n],this.setPosition(a,o),this.contextMenu.openMenu()}},{key:"openMenuForNode",value:function(n,a,o){this.resetCapabilities(),this.nodes=[n],this.setPosition(a,o),this.contextMenu.openMenu()}},{key:"openMenuForLabel",value:function(n,a,o,s){this.resetCapabilities(),this.labels=[n],this.nodes=[a],this.setPosition(o,s),this.contextMenu.openMenu()}},{key:"openMenuForInterfaceLabel",value:function(n,a,o,s){this.resetCapabilities(),this.linkNodes=[n],this.links=[a],this.setPosition(o,s),this.contextMenu.openMenu()}},{key:"openMenuForListOfElements",value:function(n,a,o,s,l,d){this.resetCapabilities(),this.drawings=n,this.nodes=a,this.labels=o,this.links=s,this.setPosition(l,d),this.contextMenu.openMenu()}},{key:"resetCapabilities",value:function(){this.drawings=[],this.nodes=[],this.labels=[],this.linkNodes=[],this.links=[],this.hasTextCapabilities=!1}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(U.H7),e.Y36(e.sBO),e.Y36(gs),e.Y36(vd.Y))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-context-menu"]],viewQuery:function(t,n){var a;1&t&&e.Gf(ns,5),2&t&&e.iGM(a=e.CRH())&&(n.contextMenu=a.first)},inputs:{project:"project",server:"server"},decls:36,vars:37,consts:[[1,"context-menu"],[3,"matMenuTriggerFor"],[1,"context-menu-items"],["contextMenu","matMenu"],[3,"server","node",4,"ngIf"],[3,"server","nodes",4,"ngIf"],[3,"server","project","nodes","drawings",4,"ngIf"],[3,"server","project","drawing",4,"ngIf"],[3,"server","project","drawing","node","label","link","linkNode",4,"ngIf"],[3,"server","project","node",4,"ngIf"],[3,"server","nodes","drawings",4,"ngIf"],[3,"server","project","link",4,"ngIf"],[3,"server","link",4,"ngIf"],[3,"server","nodes","drawings","links",4,"ngIf"],[3,"server","node"],[3,"server","nodes"],[3,"server","project","nodes","drawings"],[3,"server","project","drawing"],[3,"server","project","drawing","node","label","link","linkNode"],[3,"server","project","node"],[3,"server","nodes","drawings"],[3,"server","project","link"],[3,"server","link"],[3,"server","nodes","drawings","links"]],template:function(t,n){if(1&t&&(e.TgZ(0,"div",0),e._UZ(1,"span",1),e.TgZ(2,"mat-menu",2,3),e.YNc(4,nye,1,2,"app-show-node-action",4),e.YNc(5,rye,1,2,"app-config-node-action",4),e.YNc(6,iye,1,2,"app-start-node-action",5),e.YNc(7,aye,1,2,"app-suspend-node-action",5),e.YNc(8,oye,1,2,"app-stop-node-action",5),e.YNc(9,sye,1,2,"app-reload-node-action",5),e.YNc(10,lye,1,2,"app-http-console-action",5),e.YNc(11,uye,1,2,"app-http-console-new-tab-action",5),e.YNc(12,cye,1,2,"app-console-device-action",5),e.YNc(13,dye,1,2,"app-console-device-action-browser",4),e.YNc(14,pye,1,2,"app-open-file-explorer-action",4),e.YNc(15,fye,1,2,"app-change-hostname-action",4),e.YNc(16,hye,1,2,"app-change-symbol-action",4),e.YNc(17,mye,1,4,"app-duplicate-action",6),e.YNc(18,vye,1,3,"app-edit-style-action",7),e.YNc(19,gye,1,7,"app-edit-text-action",8),e.YNc(20,_ye,1,3,"app-edit-config-action",9),e.YNc(21,yye,1,2,"app-export-config-action",4),e.YNc(22,bye,1,2,"app-import-config-action",4),e.YNc(23,Cye,1,3,"app-move-layer-up-action",10),e.YNc(24,Sye,1,3,"app-move-layer-down-action",10),e.YNc(25,Tye,1,3,"app-bring-to-front-action",10),e.YNc(26,kye,1,3,"app-start-capture-action",11),e.YNc(27,wye,1,2,"app-stop-capture-action",12),e.YNc(28,xye,1,3,"app-start-capture-on-started-link-action",11),e.YNc(29,Eye,1,3,"app-packet-filters-action",11),e.YNc(30,Mye,1,2,"app-resume-link-action",12),e.YNc(31,Aye,1,2,"app-suspend-link-action",12),e.YNc(32,Dye,1,3,"app-lock-action",10),e.YNc(33,Oye,1,4,"app-delete-action",13),e.YNc(34,Pye,1,2,"app-align-horizontally-action",5),e.YNc(35,Iye,1,2,"app-align-vertically-action",5),e.qZA(),e.qZA()),2&t){var a=e.MAs(3);e.Udp("left",n.leftPosition)("top",n.topPosition),e.xp6(1),e.Q6J("matMenuTriggerFor",a),e.xp6(3),e.Q6J("ngIf",1===n.nodes.length),e.xp6(1),e.Q6J("ngIf",1===n.nodes.length),e.xp6(1),e.Q6J("ngIf",n.nodes.length),e.xp6(1),e.Q6J("ngIf",n.nodes.length),e.xp6(1),e.Q6J("ngIf",n.nodes.length),e.xp6(1),e.Q6J("ngIf",n.nodes.length),e.xp6(1),e.Q6J("ngIf",!n.projectService.isReadOnly(n.project)&&n.nodes.length>0),e.xp6(1),e.Q6J("ngIf",!n.projectService.isReadOnly(n.project)&&n.nodes.length>0),e.xp6(1),e.Q6J("ngIf",!n.projectService.isReadOnly(n.project)&&n.nodes.length&&n.isElectronApp),e.xp6(1),e.Q6J("ngIf",!n.projectService.isReadOnly(n.project)&&1===n.nodes.length&&!n.isElectronApp),e.xp6(1),e.Q6J("ngIf",!n.projectService.isReadOnly(n.project)&&1===n.nodes.length&&n.isElectronApp),e.xp6(1),e.Q6J("ngIf",!n.projectService.isReadOnly(n.project)&&1===n.nodes.length),e.xp6(1),e.Q6J("ngIf",!n.projectService.isReadOnly(n.project)&&1===n.nodes.length),e.xp6(1),e.Q6J("ngIf",n.drawings.length>0||n.nodes.length>0),e.xp6(1),e.Q6J("ngIf",!n.projectService.isReadOnly(n.project)&&1===n.drawings.length&&!n.hasTextCapabilities),e.xp6(1),e.Q6J("ngIf",!n.projectService.isReadOnly(n.project)&&(1===n.drawings.length&&n.hasTextCapabilities&&0===n.labels.length&&0===n.linkNodes.length||1===n.labels.length&&0===n.linkNodes.length&&0===n.drawings.length||1===n.linkNodes.length&&0===n.labels.length&&0===n.drawings.length)),e.xp6(1),e.Q6J("ngIf",1===n.nodes.length&&"vpcs"===n.nodes[0].node_type),e.xp6(1),e.Q6J("ngIf",1===n.nodes.length&&("vpcs"===n.nodes[0].node_type||"iou"===n.nodes[0].node_type||"dynamips"===n.nodes[0].node_type)),e.xp6(1),e.Q6J("ngIf",1===n.nodes.length&&("vpcs"===n.nodes[0].node_type||"iou"===n.nodes[0].node_type||"dynamips"===n.nodes[0].node_type)),e.xp6(1),e.Q6J("ngIf",!n.projectService.isReadOnly(n.project)&&(n.drawings.length||n.nodes.length)),e.xp6(1),e.Q6J("ngIf",!n.projectService.isReadOnly(n.project)&&(n.drawings.length||n.nodes.length)),e.xp6(1),e.Q6J("ngIf",!n.projectService.isReadOnly(n.project)&&(n.drawings.length||n.nodes.length)),e.xp6(1),e.Q6J("ngIf",!n.projectService.isReadOnly(n.project)&&0===n.drawings.length&&0===n.nodes.length&&1===n.links.length),e.xp6(1),e.Q6J("ngIf",!n.projectService.isReadOnly(n.project)&&0===n.drawings.length&&0===n.nodes.length&&1===n.links.length&&0===n.linkNodes.length),e.xp6(1),e.Q6J("ngIf",!n.projectService.isReadOnly(n.project)&&0===n.drawings.length&&0===n.nodes.length&&1===n.links.length&&0===n.linkNodes.length),e.xp6(1),e.Q6J("ngIf",!n.projectService.isReadOnly(n.project)&&0===n.drawings.length&&0===n.nodes.length&&1===n.links.length&&0===n.linkNodes.length),e.xp6(1),e.Q6J("ngIf",!n.projectService.isReadOnly(n.project)&&0===n.drawings.length&&0===n.nodes.length&&1===n.links.length&&0===n.linkNodes.length),e.xp6(1),e.Q6J("ngIf",!n.projectService.isReadOnly(n.project)&&0===n.drawings.length&&0===n.nodes.length&&1===n.links.length&&0===n.linkNodes.length),e.xp6(1),e.Q6J("ngIf",!n.projectService.isReadOnly(n.project)&&(n.drawings.length>0||n.nodes.length>0)),e.xp6(1),e.Q6J("ngIf",!n.projectService.isReadOnly(n.project)&&(n.drawings.length>0||n.nodes.length>0||n.links.length>0)&&0===n.linkNodes.length),e.xp6(1),e.Q6J("ngIf",!n.projectService.isReadOnly(n.project)&&n.nodes.length>1),e.xp6(1),e.Q6J("ngIf",!n.projectService.isReadOnly(n.project)&&n.nodes.length>1)}},directives:[ns,Ls,Pt.O5,Qme,Jge,Kge,$ge,t_e,r_e,i_e,a_e,o_e,s_e,l_e,c_e,p_e,f_e,__e,C_e,x_e,M_e,D_e,O_e,P_e,I_e,F_e,U_e,V_e,G_e,J_e,K_e,X_e,$_e,eye,tye],styles:[".context-menu[_ngcontent-%COMP%]{position:absolute;min-height:0px}.mat-menu-panel[_ngcontent-%COMP%]   ng-trigger[_ngcontent-%COMP%]   ng-trigger-transformMenu[_ngcontent-%COMP%]   ng-tns-c7-5[_ngcontent-%COMP%]   context-menu-items[_ngcontent-%COMP%]   mat-menu-after[_ngcontent-%COMP%]   mat-menu-below[_ngcontent-%COMP%]   ng-star-inserted[_ngcontent-%COMP%]   mat-elevation-z4[_ngcontent-%COMP%]{min-height:0px!important}"]}),r}();function Rye(r,i){if(1&r&&(e.TgZ(0,"mat-option",19),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Nye(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-form-field",16),e.TgZ(1,"mat-select",17),e.NdJ("selectionChange",function(o){return e.CHM(t),e.oxw(2)._changePageSize(o.value)}),e.YNc(2,Rye,2,2,"mat-option",18),e.qZA(),e.qZA()}if(2&r){var n=e.oxw(2);e.Q6J("appearance",n._formFieldAppearance)("color",n.color),e.xp6(1),e.Q6J("value",n.pageSize)("disabled",n.disabled)("aria-label",n._intl.itemsPerPageLabel),e.xp6(1),e.Q6J("ngForOf",n._displayedPageSizeOptions)}}function Zye(r,i){if(1&r&&(e.TgZ(0,"div",20),e._uU(1),e.qZA()),2&r){var t=e.oxw(2);e.xp6(1),e.Oqu(t.pageSize)}}function Lye(r,i){if(1&r&&(e.TgZ(0,"div",12),e.TgZ(1,"div",13),e._uU(2),e.qZA(),e.YNc(3,Nye,3,6,"mat-form-field",14),e.YNc(4,Zye,2,1,"div",15),e.qZA()),2&r){var t=e.oxw();e.xp6(2),e.hij(" ",t._intl.itemsPerPageLabel," "),e.xp6(1),e.Q6J("ngIf",t._displayedPageSizeOptions.length>1),e.xp6(1),e.Q6J("ngIf",t._displayedPageSizeOptions.length<=1)}}function Fye(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"button",21),e.NdJ("click",function(){return e.CHM(t),e.oxw().firstPage()}),e.O4$(),e.TgZ(1,"svg",7),e._UZ(2,"path",22),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.Q6J("matTooltip",n._intl.firstPageLabel)("matTooltipDisabled",n._previousButtonsDisabled())("matTooltipPosition","above")("disabled",n._previousButtonsDisabled()),e.uIk("aria-label",n._intl.firstPageLabel)}}function Bye(r,i){if(1&r){var t=e.EpF();e.O4$(),e.kcU(),e.TgZ(0,"button",23),e.NdJ("click",function(){return e.CHM(t),e.oxw().lastPage()}),e.O4$(),e.TgZ(1,"svg",7),e._UZ(2,"path",24),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.Q6J("matTooltip",n._intl.lastPageLabel)("matTooltipDisabled",n._nextButtonsDisabled())("matTooltipPosition","above")("disabled",n._nextButtonsDisabled()),e.uIk("aria-label",n._intl.lastPageLabel)}}var s2=function(){var r=function i(){(0,v.Z)(this,i),this.changes=new Un.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=function(t,n,a){if(0==a||0==n)return"0 of ".concat(a);var o=t*n,s=o<(a=Math.max(a,0))?Math.min(o+n,a):o+n;return"".concat(o+1," \u2013 ").concat(s," of ").concat(a)}};return r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac=function(t){return new(t||r)},providedIn:"root"}),r}(),Hye={provide:s2,deps:[[new e.FiY,new e.tp0,s2]],useFactory:function(r){return r||new s2}},jye=new e.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),qye=(0,sn.Id)((0,sn.dB)(function(){return function r(){(0,v.Z)(this,r)}}())),zye=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o,s){var l;if((0,v.Z)(this,n),(l=t.call(this))._intl=a,l._changeDetectorRef=o,l._pageIndex=0,l._length=0,l._pageSizeOptions=[],l._hidePageSize=!1,l._showFirstLastButtons=!1,l.page=new e.vpe,l._intlChanges=a.changes.subscribe(function(){return l._changeDetectorRef.markForCheck()}),s){var d=s.pageSize,h=s.pageSizeOptions,C=s.hidePageSize,P=s.showFirstLastButtons;null!=d&&(l._pageSize=d),null!=h&&(l._pageSizeOptions=h),null!=C&&(l._hidePageSize=C),null!=P&&(l._showFirstLastButtons=P)}return l}return(0,g.Z)(n,[{key:"pageIndex",get:function(){return this._pageIndex},set:function(o){this._pageIndex=Math.max((0,Hn.su)(o),0),this._changeDetectorRef.markForCheck()}},{key:"length",get:function(){return this._length},set:function(o){this._length=(0,Hn.su)(o),this._changeDetectorRef.markForCheck()}},{key:"pageSize",get:function(){return this._pageSize},set:function(o){this._pageSize=Math.max((0,Hn.su)(o),0),this._updateDisplayedPageSizeOptions()}},{key:"pageSizeOptions",get:function(){return this._pageSizeOptions},set:function(o){this._pageSizeOptions=(o||[]).map(function(s){return(0,Hn.su)(s)}),this._updateDisplayedPageSizeOptions()}},{key:"hidePageSize",get:function(){return this._hidePageSize},set:function(o){this._hidePageSize=(0,Hn.Ig)(o)}},{key:"showFirstLastButtons",get:function(){return this._showFirstLastButtons},set:function(o){this._showFirstLastButtons=(0,Hn.Ig)(o)}},{key:"ngOnInit",value:function(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}},{key:"ngOnDestroy",value:function(){this._intlChanges.unsubscribe()}},{key:"nextPage",value:function(){if(this.hasNextPage()){var o=this.pageIndex;this.pageIndex++,this._emitPageEvent(o)}}},{key:"previousPage",value:function(){if(this.hasPreviousPage()){var o=this.pageIndex;this.pageIndex--,this._emitPageEvent(o)}}},{key:"firstPage",value:function(){if(this.hasPreviousPage()){var o=this.pageIndex;this.pageIndex=0,this._emitPageEvent(o)}}},{key:"lastPage",value:function(){if(this.hasNextPage()){var o=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(o)}}},{key:"hasPreviousPage",value:function(){return this.pageIndex>=1&&0!=this.pageSize}},{key:"hasNextPage",value:function(){var o=this.getNumberOfPages()-1;return this.pageIndex<o&&0!=this.pageSize}},{key:"getNumberOfPages",value:function(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}},{key:"_changePageSize",value:function(o){var l=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/o)||0,this.pageSize=o,this._emitPageEvent(l)}},{key:"_nextButtonsDisabled",value:function(){return this.disabled||!this.hasNextPage()}},{key:"_previousButtonsDisabled",value:function(){return this.disabled||!this.hasPreviousPage()}},{key:"_updateDisplayedPageSizeOptions",value:function(){!this._initialized||(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort(function(o,s){return o-s}),this._changeDetectorRef.markForCheck())}},{key:"_emitPageEvent",value:function(o){this.page.emit({previousPageIndex:o,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}]),n}(qye);return r.\u0275fac=function(t){e.$Z()},r.\u0275dir=e.lG2({type:r,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons"},outputs:{page:"page"},features:[e.qOj]}),r}(),yq=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o,s){var l;return(0,v.Z)(this,n),l=t.call(this,a,o,s),s&&null!=s.formFieldAppearance&&(l._formFieldAppearance=s.formFieldAppearance),l}return n}(zye);return r.\u0275fac=function(t){return new(t||r)(e.Y36(s2),e.Y36(e.sBO),e.Y36(jye,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[e.qOj],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.YNc(2,Lye,5,3,"div",2),e.TgZ(3,"div",3),e.TgZ(4,"div",4),e._uU(5),e.qZA(),e.YNc(6,Fye,3,5,"button",5),e.TgZ(7,"button",6),e.NdJ("click",function(){return n.previousPage()}),e.O4$(),e.TgZ(8,"svg",7),e._UZ(9,"path",8),e.qZA(),e.qZA(),e.kcU(),e.TgZ(10,"button",9),e.NdJ("click",function(){return n.nextPage()}),e.O4$(),e.TgZ(11,"svg",7),e._UZ(12,"path",10),e.qZA(),e.qZA(),e.YNc(13,Bye,3,5,"button",11),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(2),e.Q6J("ngIf",!n.hidePageSize),e.xp6(3),e.hij(" ",n._intl.getRangeLabel(n.pageIndex,n.pageSize,n.length)," "),e.xp6(1),e.Q6J("ngIf",n.showFirstLastButtons),e.xp6(1),e.Q6J("matTooltip",n._intl.previousPageLabel)("matTooltipDisabled",n._previousButtonsDisabled())("matTooltipPosition","above")("disabled",n._previousButtonsDisabled()),e.uIk("aria-label",n._intl.previousPageLabel),e.xp6(3),e.Q6J("matTooltip",n._intl.nextPageLabel)("matTooltipDisabled",n._nextButtonsDisabled())("matTooltipPosition","above")("disabled",n._nextButtonsDisabled()),e.uIk("aria-label",n._intl.nextPageLabel),e.xp6(3),e.Q6J("ngIf",n.showFirstLastButtons))},directives:[Pt.O5,En,ts,Ln.KE,yi.gD,Pt.sg,sn.ey],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}\n"],encapsulation:2,changeDetection:0}),r}(),Wye=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[Hye],imports:[[Pt.ez,PA,yi.LD,HV,sn.BQ]]}),r}(),Gye=f(36590),bq=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.dialogRef=t}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){}},{key:"onNoClick",value:function(){this.dialogRef.close(!1)}},{key:"onYesClick",value:function(){this.dialogRef.close(!0)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-information-dialog"]],decls:7,vars:1,consts:[["mat-dialog-actions",""],["mat-button","","color","accent",1,"cancelButton",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",1,"confirmButton",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"span"),e._uU(1),e.qZA(),e.TgZ(2,"div",0),e.TgZ(3,"button",1),e.NdJ("click",function(){return n.onNoClick()}),e._uU(4,"No"),e.qZA(),e.TgZ(5,"button",2),e.NdJ("click",function(){return n.onYesClick()}),e._uU(6," Yes "),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.Oqu(n.confirmationMessage))},directives:[ti,En],styles:[""]}),r}();function Yye(r,i){if(1&r&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&r){var t=e.oxw();e.xp6(1),e.hij("Adapters: ",t.appliance.qemu.adapters,"")}}function Jye(r,i){if(1&r&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&r){var t=e.oxw();e.xp6(1),e.hij("Console type: ",t.appliance.qemu.console_type,"")}}var Qye=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.dialogRef=t,this.data=n}return(0,g.Z)(i,[{key:"onNoClick",value:function(){this.dialogRef.close()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(hd))},r.\u0275cmp=e.Xpm({type:r,selectors:[["appliance-info-dialog"]],decls:15,vars:6,consts:[[1,"title-container"],["mat-dialog-title",""],["mat-dialog-content",""],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","tabindex","-1","color","accent",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"h1",1),e._uU(2),e.qZA(),e.qZA(),e.TgZ(3,"div",2),e.TgZ(4,"div"),e._uU(5),e.qZA(),e.TgZ(6,"div"),e._uU(7),e.qZA(),e.TgZ(8,"div"),e._uU(9),e.qZA(),e.YNc(10,Yye,2,1,"div",3),e.YNc(11,Jye,2,1,"div",3),e.qZA(),e.TgZ(12,"div",4),e.TgZ(13,"button",5),e.NdJ("click",function(){return n.onNoClick()}),e._uU(14,"Close"),e.qZA(),e.qZA()),2&t&&(e.xp6(2),e.Oqu(n.appliance.name),e.xp6(3),e.hij("Vendor: ",n.appliance.vendor_name,""),e.xp6(2),e.hij("Status: ",n.appliance.status,""),e.xp6(2),e.hij("Maintainer: ",n.appliance.maintainer,""),e.xp6(1),e.Q6J("ngIf",n.appliance.qemu),e.xp6(1),e.Q6J("ngIf",n.appliance.qemu))},directives:[ii,Q_,Pt.O5,ti,En],encapsulation:2}),r}(),Kye=function(i,t){return function(n){return(0,O1.H)(500).pipe((0,Ou.w)(function(){return t.list(i)}),(0,kr.U)(function(a){return a.find(function(o){return o.name===n.value})?{templateExist:!0}:null}))}};function Xye(r,i){1&r&&(e.TgZ(0,"mat-error"),e._uU(1,"Template name is required"),e.qZA())}function $ye(r,i){1&r&&(e.TgZ(0,"mat-error"),e._uU(1,"Template name is incorrect"),e.qZA())}function e0e(r,i){1&r&&(e.TgZ(0,"mat-error"),e._uU(1,"Template with this name exists"),e.qZA())}var t0e=function(i){return{"is-invalid":i}},l2=function(){var r=function(){function i(t,n,a,o,s,l,d,h){(0,v.Z)(this,i),this.dialogRef=t,this.router=n,this.dialog=a,this.toasterService=o,this.formBuilder=s,this.templateNameValidator=l,this.templateService=d,this.data=h}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.templateNameForm=this.formBuilder.group({templateName:new re.NI(this.data.name,[re.kI.required,this.templateNameValidator.get],[Kye(this.server,this.templateService)])}),setTimeout(function(){n.templateNameForm.controls.templateName.markAsTouched()},100)}},{key:"form",get:function(){return this.templateNameForm.controls}},{key:"onAddClick",value:function(){var n=this;this.templateNameForm.invalid?this.toasterService.error("Please enter correct name for new template"):this.templateService.list(this.server).subscribe(function(a){var o=n.templateNameForm.controls.templateName.value;a.find(function(l){return l.name===o})?n.toasterService.error("Template with this name exists"):n.dialogRef.close(n.templateNameForm.controls.templateName.value)})}},{key:"onNoClick",value:function(){this.dialogRef.close()}},{key:"onKeyDown",value:function(n){"Enter"===n.key&&this.onAddClick()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(xr),e.Y36(ca),e.Y36(Yn),e.Y36(re.qu),e.Y36(kp),e.Y36(K_),e.Y36(hd))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-template-name-dialog"]],features:[e._Bn([kp])],decls:13,vars:7,consts:[["mat-dialog-title",""],[1,"file-name-form",3,"formGroup"],[1,"file-name-form-field"],["matInput","","type","text","formControlName","templateName","placeholder","Template name",3,"ngClass","keydown"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",1,"add-project-button",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1,"Please enter name for the new template"),e.qZA(),e.TgZ(2,"form",1),e.TgZ(3,"mat-form-field",2),e.TgZ(4,"input",3),e.NdJ("keydown",function(o){return n.onKeyDown(o)}),e.qZA(),e.YNc(5,Xye,2,0,"mat-error",4),e.YNc(6,$ye,2,0,"mat-error",4),e.YNc(7,e0e,2,0,"mat-error",4),e.qZA(),e.TgZ(8,"div",5),e.TgZ(9,"button",6),e.NdJ("click",function(){return n.onNoClick()}),e._uU(10,"Cancel"),e.qZA(),e.TgZ(11,"button",7),e.NdJ("click",function(){return n.onAddClick()}),e._uU(12," Add template "),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(2),e.Q6J("formGroup",n.templateNameForm),e.xp6(2),e.Q6J("ngClass",e.VKq(5,t0e,null==n.form.templateName?null:n.form.templateName.errors)),e.xp6(1),e.Q6J("ngIf",(null==n.form.templateName?null:n.form.templateName.touched)&&(null==n.form.templateName?null:n.form.templateName.errors)&&(null==n.form.templateName?null:n.form.templateName.errors.required)),e.xp6(1),e.Q6J("ngIf",(null==n.form.templateName?null:n.form.templateName.errors)&&(null==n.form.templateName?null:n.form.templateName.errors.invalidName)),e.xp6(1),e.Q6J("ngIf",(null==n.form.templateName?null:n.form.templateName.errors)&&(null==n.form.templateName?null:n.form.templateName.errors.templateExist)))},directives:[ii,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,Pt.mk,Pt.O5,ti,En,Ln.TO],styles:[".file-name-form-field[_ngcontent-%COMP%]{width:100%}.project-snackbar[_ngcontent-%COMP%]{background:#2196f3}"]}),r}(),Cq=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.httpServer=t}return(0,g.Z)(i,[{key:"getAppliances",value:function(n){return this.httpServer.get(n,"/appliances")}},{key:"getAppliance",value:function(n,a){return this.httpServer.get(n,a)}},{key:"getUploadPath",value:function(n,a,o){return"".concat(n.protocol,"//").concat(n.host,":").concat(n.port,"/v2/compute/").concat(a,"/images/").concat(o)}},{key:"updateAppliances",value:function(n){return this.httpServer.get(n,"/appliances?update=yes")}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(Ja.wh))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),n0e=["mat-sort-header",""];function r0e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",3),e.NdJ("@arrowPosition.start",function(){return e.CHM(t),e.oxw()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return e.CHM(t),e.oxw()._disableViewStateAnimation=!1}),e._UZ(1,"div",4),e.TgZ(2,"div",5),e._UZ(3,"div",6),e._UZ(4,"div",7),e._UZ(5,"div",8),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.Q6J("@arrowOpacity",n._getArrowViewState())("@arrowPosition",n._getArrowViewState())("@allowChildren",n._getArrowDirectionState()),e.xp6(2),e.Q6J("@indicator",n._getArrowDirectionState()),e.xp6(1),e.Q6J("@leftPointer",n._getArrowDirectionState()),e.xp6(1),e.Q6J("@rightPointer",n._getArrowDirectionState())}}var i0e=["*"],a0e=new e.OlP("MAT_SORT_DEFAULT_OPTIONS"),o0e=(0,sn.dB)((0,sn.Id)(function(){return function r(){(0,v.Z)(this,r)}}())),cS=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a){var o;return(0,v.Z)(this,n),(o=t.call(this))._defaultOptions=a,o.sortables=new Map,o._stateChanges=new Un.xQ,o.start="asc",o._direction="",o.sortChange=new e.vpe,o}return(0,g.Z)(n,[{key:"direction",get:function(){return this._direction},set:function(o){this._direction=o}},{key:"disableClear",get:function(){return this._disableClear},set:function(o){this._disableClear=(0,Hn.Ig)(o)}},{key:"register",value:function(o){this.sortables.set(o.id,o)}},{key:"deregister",value:function(o){this.sortables.delete(o.id)}},{key:"sort",value:function(o){this.active!=o.id?(this.active=o.id,this.direction=o.start?o.start:this.start):this.direction=this.getNextSortDirection(o),this.sortChange.emit({active:this.active,direction:this.direction})}},{key:"getNextSortDirection",value:function(o){var s,l,d;if(!o)return"";var h=null!==(s=null!==(l=null==o?void 0:o.disableClear)&&void 0!==l?l:this.disableClear)&&void 0!==s?s:!(null===(d=this._defaultOptions)||void 0===d||!d.disableClear),C=function(r,i){var t=["asc","desc"];return"desc"==r&&t.reverse(),i||t.push(""),t}(o.start||this.start,h),P=C.indexOf(this.direction)+1;return P>=C.length&&(P=0),C[P]}},{key:"ngOnInit",value:function(){this._markInitialized()}},{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),n}(o0e);return r.\u0275fac=function(t){return new(t||r)(e.Y36(a0e,8))},r.\u0275dir=e.lG2({type:r,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[e.qOj,e.TTD]}),r}(),$f=sn.mZ.ENTERING+" "+sn.yN.STANDARD_CURVE,ly={indicator:(0,en.X$)("indicator",[(0,en.SB)("active-asc, asc",(0,en.oB)({transform:"translateY(0px)"})),(0,en.SB)("active-desc, desc",(0,en.oB)({transform:"translateY(10px)"})),(0,en.eR)("active-asc <=> active-desc",(0,en.jt)($f))]),leftPointer:(0,en.X$)("leftPointer",[(0,en.SB)("active-asc, asc",(0,en.oB)({transform:"rotate(-45deg)"})),(0,en.SB)("active-desc, desc",(0,en.oB)({transform:"rotate(45deg)"})),(0,en.eR)("active-asc <=> active-desc",(0,en.jt)($f))]),rightPointer:(0,en.X$)("rightPointer",[(0,en.SB)("active-asc, asc",(0,en.oB)({transform:"rotate(45deg)"})),(0,en.SB)("active-desc, desc",(0,en.oB)({transform:"rotate(-45deg)"})),(0,en.eR)("active-asc <=> active-desc",(0,en.jt)($f))]),arrowOpacity:(0,en.X$)("arrowOpacity",[(0,en.SB)("desc-to-active, asc-to-active, active",(0,en.oB)({opacity:1})),(0,en.SB)("desc-to-hint, asc-to-hint, hint",(0,en.oB)({opacity:.54})),(0,en.SB)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,en.oB)({opacity:0})),(0,en.eR)("* => asc, * => desc, * => active, * => hint, * => void",(0,en.jt)("0ms")),(0,en.eR)("* <=> *",(0,en.jt)($f))]),arrowPosition:(0,en.X$)("arrowPosition",[(0,en.eR)("* => desc-to-hint, * => desc-to-active",(0,en.jt)($f,(0,en.F4)([(0,en.oB)({transform:"translateY(-25%)"}),(0,en.oB)({transform:"translateY(0)"})]))),(0,en.eR)("* => hint-to-desc, * => active-to-desc",(0,en.jt)($f,(0,en.F4)([(0,en.oB)({transform:"translateY(0)"}),(0,en.oB)({transform:"translateY(25%)"})]))),(0,en.eR)("* => asc-to-hint, * => asc-to-active",(0,en.jt)($f,(0,en.F4)([(0,en.oB)({transform:"translateY(25%)"}),(0,en.oB)({transform:"translateY(0)"})]))),(0,en.eR)("* => hint-to-asc, * => active-to-asc",(0,en.jt)($f,(0,en.F4)([(0,en.oB)({transform:"translateY(0)"}),(0,en.oB)({transform:"translateY(-25%)"})]))),(0,en.SB)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,en.oB)({transform:"translateY(0)"})),(0,en.SB)("hint-to-desc, active-to-desc, desc",(0,en.oB)({transform:"translateY(-25%)"})),(0,en.SB)("hint-to-asc, active-to-asc, asc",(0,en.oB)({transform:"translateY(25%)"}))]),allowChildren:(0,en.X$)("allowChildren",[(0,en.eR)("* <=> *",[(0,en.IO)("@*",(0,en.pV)(),{optional:!0})])])},u2=function(){var r=function i(){(0,v.Z)(this,i),this.changes=new Un.xQ};return r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac=function(t){return new(t||r)},providedIn:"root"}),r}(),u0e={provide:u2,deps:[[new e.FiY,new e.tp0,u2]],useFactory:function(r){return r||new u2}},c0e=(0,sn.Id)(function(){return function r(){(0,v.Z)(this,r)}}()),Sq=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o,s,l,d,h,C){var P;return(0,v.Z)(this,n),(P=t.call(this))._intl=a,P._changeDetectorRef=o,P._sort=s,P._columnDef=l,P._focusMonitor=d,P._elementRef=h,P._ariaDescriber=C,P._showIndicatorHint=!1,P._viewState={},P._arrowDirection="",P._disableViewStateAnimation=!1,P.arrowPosition="after",P._sortActionDescription="Sort",P._handleStateChanges(),P}return(0,g.Z)(n,[{key:"sortActionDescription",get:function(){return this._sortActionDescription},set:function(o){this._updateSortActionDescription(o)}},{key:"disableClear",get:function(){return this._disableClear},set:function(o){this._disableClear=(0,Hn.Ig)(o)}},{key:"ngOnInit",value:function(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector('[role="button"]'),this._updateSortActionDescription(this._sortActionDescription)}},{key:"ngAfterViewInit",value:function(){var o=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(s){var l=!!s;l!==o._showIndicatorHint&&(o._setIndicatorHintVisible(l),o._changeDetectorRef.markForCheck())})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}},{key:"_setIndicatorHintVisible",value:function(o){this._isDisabled()&&o||(this._showIndicatorHint=o,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}},{key:"_setAnimationTransitionState",value:function(o){this._viewState=o||{},this._disableViewStateAnimation&&(this._viewState={toState:o.toState})}},{key:"_toggleOnInteraction",value:function(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}},{key:"_handleClick",value:function(){this._isDisabled()||this._sort.sort(this)}},{key:"_handleKeydown",value:function(o){!this._isDisabled()&&(o.keyCode===ui.L_||o.keyCode===ui.K5)&&(o.preventDefault(),this._toggleOnInteraction())}},{key:"_isSorted",value:function(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}},{key:"_getArrowDirectionState",value:function(){return"".concat(this._isSorted()?"active-":"").concat(this._arrowDirection)}},{key:"_getArrowViewState",value:function(){var o=this._viewState.fromState;return(o?"".concat(o,"-to-"):"")+this._viewState.toState}},{key:"_updateArrowDirection",value:function(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}},{key:"_isDisabled",value:function(){return this._sort.disabled||this.disabled}},{key:"_getAriaSortAttribute",value:function(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}},{key:"_renderArrow",value:function(){return!this._isDisabled()||this._isSorted()}},{key:"_updateSortActionDescription",value:function(o){var s,l;this._sortButton&&(null===(s=this._ariaDescriber)||void 0===s||s.removeDescription(this._sortButton,this._sortActionDescription),null===(l=this._ariaDescriber)||void 0===l||l.describe(this._sortButton,o)),this._sortActionDescription=o}},{key:"_handleStateChanges",value:function(){var o=this;this._rerenderSubscription=(0,Ra.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(function(){o._isSorted()&&(o._updateArrowDirection(),("hint"===o._viewState.toState||"active"===o._viewState.toState)&&(o._disableViewStateAnimation=!0),o._setAnimationTransitionState({fromState:o._arrowDirection,toState:"active"}),o._showIndicatorHint=!1),!o._isSorted()&&o._viewState&&"active"===o._viewState.toState&&(o._disableViewStateAnimation=!1,o._setAnimationTransitionState({fromState:"active",toState:o._arrowDirection})),o._changeDetectorRef.markForCheck()})}}]),n}(c0e);return r.\u0275fac=function(t){return new(t||r)(e.Y36(u2),e.Y36(e.sBO),e.Y36(cS,8),e.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),e.Y36(Gi.tE),e.Y36(e.SBq),e.Y36(Gi.$s,8))},r.\u0275cmp=e.Xpm({type:r,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(t,n){1&t&&e.NdJ("click",function(){return n._handleClick()})("keydown",function(o){return n._handleKeydown(o)})("mouseenter",function(){return n._setIndicatorHintVisible(!0)})("mouseleave",function(){return n._setIndicatorHintVisible(!1)}),2&t&&(e.uIk("aria-sort",n._getAriaSortAttribute()),e.ekj("mat-sort-header-disabled",n._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[e.qOj],attrs:n0e,ngContentSelectors:i0e,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(t,n){1&t&&(e.F$t(),e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.Hsn(2),e.qZA(),e.YNc(3,r0e,6,6,"div",2),e.qZA()),2&t&&(e.ekj("mat-sort-header-sorted",n._isSorted())("mat-sort-header-position-before","before"==n.arrowPosition),e.uIk("tabindex",n._isDisabled()?null:0),e.xp6(3),e.Q6J("ngIf",n._renderArrow()))},directives:[Pt.O5],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[ly.indicator,ly.leftPointer,ly.rightPointer,ly.arrowOpacity,ly.arrowPosition,ly.allowChildren]},changeDetection:0}),r}(),d0e=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[u0e],imports:[[Pt.ez,sn.BQ]]}),r}(),p0e=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"transform",value:function(n,a){return n?a?(a=a.toLowerCase(),n.filteredData.filter(function(o){return o.name.toLowerCase().includes(a)})):n:[]}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275pipe=e.Yjl({name:"datasourcefilter",type:r,pure:!0}),r}(),f0e=["stepper"];function h0e(r,i){1&r&&e._uU(0,"Please select how you want to create new template")}function m0e(r,i){if(1&r&&e._uU(0),2&r){var t=e.oxw();e.Oqu(t.actionTitle)}}function v0e(r,i){if(1&r&&(e.TgZ(0,"mat-option",33),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function g0e(r,i){1&r&&(e.TgZ(0,"mat-header-cell"),e._uU(1," Name "),e.qZA())}function _0e(r,i){if(1&r&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.hij(" ",t.name," ")}}function y0e(r,i){1&r&&(e.TgZ(0,"mat-header-cell"),e._uU(1," Emulator "),e.qZA())}function b0e(r,i){if(1&r&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.hij(" ",t.emulator," ")}}function C0e(r,i){1&r&&(e.TgZ(0,"mat-header-cell"),e._uU(1," Vendor "),e.qZA())}function S0e(r,i){if(1&r&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.hij(" ",t.vendor_name," ")}}function T0e(r,i){1&r&&(e.TgZ(0,"mat-header-cell"),e._uU(1," Actions "),e.qZA())}function k0e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-cell",34),e.TgZ(1,"button",35),e.NdJ("click",function(){var o=e.CHM(t).$implicit;return e.oxw().install(o)}),e.TgZ(2,"mat-icon",36),e._uU(3,"archive"),e.qZA(),e.qZA(),e.TgZ(4,"button",37),e.NdJ("click",function(){var o=e.CHM(t).$implicit;return e.oxw().showInfo(o)}),e.TgZ(5,"mat-icon",38),e._uU(6,"info"),e.qZA(),e.qZA(),e.qZA()}}function w0e(r,i){1&r&&e._UZ(0,"mat-header-row")}function x0e(r,i){1&r&&e._UZ(0,"mat-row")}function E0e(r,i){if(1&r&&e._uU(0),2&r){var t=e.oxw(2);e.Oqu(t.secondActionTitle)}}function M0e(r,i){if(1&r&&(e.TgZ(0,"mat-option",33),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t.path," ")}}function A0e(r,i){1&r&&(e.TgZ(0,"span"),e.TgZ(1,"mat-icon",52),e._uU(2,"check"),e.qZA(),e.qZA())}function D0e(r,i){1&r&&(e.TgZ(0,"span"),e.TgZ(1,"mat-icon",53),e._uU(2,"close"),e.qZA(),e.qZA())}function O0e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",48),e.TgZ(1,"span"),e._uU(2),e.qZA(),e.TgZ(3,"div"),e.YNc(4,A0e,3,0,"span",32),e.YNc(5,D0e,3,0,"span",32),e.TgZ(6,"input",49,50),e.NdJ("change",function(s){e.CHM(t);var l=e.oxw().$implicit;return e.oxw(3).importImage(s,l.images.hda_disk_image)}),e.qZA(),e.TgZ(8,"button",51),e.NdJ("click",function(){return e.CHM(t),e.MAs(7).click()}),e._uU(9,"Import"),e.qZA(),e.TgZ(10,"button",51),e.NdJ("click",function(){e.CHM(t);var s=e.oxw().$implicit;return e.oxw(3).downloadImageFromVersion(s.images.hda_disk_image)}),e._uU(11," Download "),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=e.oxw().$implicit,a=e.oxw(3);e.xp6(2),e.hij(" ",n.images.hda_disk_image," "),e.xp6(2),e.Q6J("ngIf",a.checkImageFromVersion(n.images.hda_disk_image)),e.xp6(1),e.Q6J("ngIf",!a.checkImageFromVersion(n.images.hda_disk_image)),e.xp6(1),e.Q6J("uploader",a.uploaderImage)}}function P0e(r,i){1&r&&(e.TgZ(0,"span"),e.TgZ(1,"mat-icon",52),e._uU(2,"check"),e.qZA(),e.qZA())}function I0e(r,i){1&r&&(e.TgZ(0,"span"),e.TgZ(1,"mat-icon",53),e._uU(2,"close"),e.qZA(),e.qZA())}function R0e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",48),e.TgZ(1,"span"),e._uU(2),e.qZA(),e.TgZ(3,"div"),e.YNc(4,P0e,3,0,"span",32),e.YNc(5,I0e,3,0,"span",32),e.TgZ(6,"input",49,54),e.NdJ("change",function(s){e.CHM(t);var l=e.oxw().$implicit;return e.oxw(3).importImage(s,l.images.hdb_disk_image)}),e.qZA(),e.TgZ(8,"button",51),e.NdJ("click",function(){return e.CHM(t),e.MAs(7).click()}),e._uU(9,"Import"),e.qZA(),e.TgZ(10,"button",51),e.NdJ("click",function(){e.CHM(t);var s=e.oxw().$implicit;return e.oxw(3).downloadImageFromVersion(s.images.hdb_disk_image)}),e._uU(11," Download "),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=e.oxw().$implicit,a=e.oxw(3);e.xp6(2),e.hij(" ",n.images.hdb_disk_image," "),e.xp6(2),e.Q6J("ngIf",a.checkImageFromVersion(n.images.hdb_disk_image)),e.xp6(1),e.Q6J("ngIf",!a.checkImageFromVersion(n.images.hdb_disk_image)),e.xp6(1),e.Q6J("uploader",a.uploaderImage)}}function N0e(r,i){1&r&&(e.TgZ(0,"span"),e.TgZ(1,"mat-icon",52),e._uU(2,"check"),e.qZA(),e.qZA())}function Z0e(r,i){1&r&&(e.TgZ(0,"span"),e.TgZ(1,"mat-icon",53),e._uU(2,"close"),e.qZA(),e.qZA())}function L0e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",48),e.TgZ(1,"span"),e._uU(2),e.qZA(),e.TgZ(3,"div"),e.YNc(4,N0e,3,0,"span",32),e.YNc(5,Z0e,3,0,"span",32),e.TgZ(6,"input",49,55),e.NdJ("change",function(s){e.CHM(t);var l=e.oxw().$implicit;return e.oxw(3).importImage(s,l.images.cdrom_image)}),e.qZA(),e.TgZ(8,"button",51),e.NdJ("click",function(){return e.CHM(t),e.MAs(7).click()}),e._uU(9,"Import"),e.qZA(),e.TgZ(10,"button",51),e.NdJ("click",function(){e.CHM(t);var s=e.oxw().$implicit;return e.oxw(3).downloadImageFromVersion(s.images.cdrom_image)}),e._uU(11," Download "),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=e.oxw().$implicit,a=e.oxw(3);e.xp6(2),e.hij(" ",n.images.cdrom_image," "),e.xp6(2),e.Q6J("ngIf",a.checkImageFromVersion(n.images.cdrom_image)),e.xp6(1),e.Q6J("ngIf",!a.checkImageFromVersion(n.images.cdrom_image)),e.xp6(1),e.Q6J("uploader",a.uploaderImage)}}function F0e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"div",45),e.TgZ(2,"span"),e._uU(3),e.qZA(),e.TgZ(4,"div"),e.TgZ(5,"button",46),e.NdJ("click",function(){var l=e.CHM(t).$implicit;return e.oxw(3).createQemuTemplateFromVersion(l)}),e._uU(6," Create "),e.qZA(),e.qZA(),e.qZA(),e.YNc(7,O0e,12,4,"div",47),e.YNc(8,R0e,12,4,"div",47),e.YNc(9,L0e,12,4,"div",47),e.qZA()}if(2&r){var n=i.$implicit,a=e.oxw(3);e.xp6(3),e.AsE("",a.applianceToInstall.name," version ",n.name,""),e.xp6(4),e.Q6J("ngIf",n.images.hda_disk_image),e.xp6(1),e.Q6J("ngIf",n.images.hdb_disk_image),e.xp6(1),e.Q6J("ngIf",n.images.cdrom_image)}}var Tq=function(){return{standalone:!0}};function B0e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"div"),e._uU(2," Server type"),e._UZ(3,"br"),e.TgZ(4,"mat-radio-group",4),e.TgZ(5,"mat-radio-button",39),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).setServerType("local")}),e._uU(6,"Install the appliance locally"),e.qZA(),e.TgZ(7,"mat-radio-button",40),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).setServerType("gns3 vm")}),e._uU(8,"Install the appliance on the GNS3 VM"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(9,"div"),e._uU(10," Qemu binary"),e._UZ(11,"br"),e.TgZ(12,"mat-select",41),e.NdJ("ngModelChange",function(o){return e.CHM(t),e.oxw(2).selectedBinary=o}),e.YNc(13,M0e,2,2,"mat-option",14),e.qZA(),e.qZA(),e.TgZ(14,"div"),e._uU(15," Install required files "),e.TgZ(16,"button",42),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).refreshImages()}),e.TgZ(17,"mat-icon",43),e._uU(18,"refresh"),e.qZA(),e.qZA(),e._UZ(19,"br"),e.TgZ(20,"div"),e.YNc(21,F0e,10,5,"div",44),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=e.oxw(2);e.xp6(5),e.Q6J("disabled",!n.isLinuxPlatform)("checked",!n.isGns3VmChosen),e.xp6(2),e.Q6J("disabled",!n.isGns3VmAvailable)("checked",n.isGns3VmChosen),e.xp6(5),e.Q6J("ngModel",n.selectedBinary)("ngModelOptions",e.DdM(8,Tq)),e.xp6(1),e.Q6J("ngForOf",n.qemuBinaries),e.xp6(8),e.Q6J("ngForOf",n.applianceToInstall.versions)}}function U0e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"div"),e._uU(2," Server type"),e._UZ(3,"br"),e.TgZ(4,"mat-radio-group",4),e.TgZ(5,"mat-radio-button",39),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).setServerType("local")}),e._uU(6,"Install the appliance locally"),e.qZA(),e.TgZ(7,"mat-radio-button",40),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).setServerType("gns3 vm")}),e._uU(8,"Install the appliance on the GNS3 VM"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(9,"button",29),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).createDockerTemplate()}),e._uU(10," Create docker template "),e.qZA(),e.qZA()}if(2&r){var n=e.oxw(2);e.xp6(5),e.Q6J("disabled",!n.isLinuxPlatform)("checked",!n.isGns3VmChosen),e.xp6(2),e.Q6J("disabled",!n.isGns3VmAvailable)("checked",n.isGns3VmChosen)}}function H0e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-list-item"),e.TgZ(1,"div",45),e.TgZ(2,"div"),e._uU(3),e.qZA(),e.TgZ(4,"div"),e.TgZ(5,"input",49,50),e.NdJ("change",function(s){var d=e.CHM(t).$implicit;return e.oxw(3).importImage(s,d.filename)}),e.qZA(),e.TgZ(7,"button",51),e.NdJ("click",function(){return e.CHM(t),e.MAs(6).click()}),e._uU(8,"Import"),e.qZA(),e.TgZ(9,"button",46),e.NdJ("click",function(){var l=e.CHM(t).$implicit;return e.oxw(3).createIosTemplate(l)}),e._uU(10," Create "),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=i.$implicit,a=e.oxw(3);e.xp6(3),e.hij(" ",n.filename," "),e.xp6(2),e.Q6J("uploader",a.uploaderImage)}}function V0e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"div"),e._uU(2," Server type"),e._UZ(3,"br"),e.TgZ(4,"mat-radio-group",4),e.TgZ(5,"mat-radio-button",56),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).setServerType("local")}),e._uU(6,"Install the appliance locally"),e.qZA(),e.TgZ(7,"mat-radio-button",40),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).setServerType("gns3 vm")}),e._uU(8,"Install the appliance on the GNS3 VM"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(9,"div"),e._uU(10," Install required files "),e.TgZ(11,"button",42),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).refreshImages()}),e.TgZ(12,"mat-icon",43),e._uU(13,"refresh"),e.qZA(),e.qZA(),e._UZ(14,"br"),e.TgZ(15,"mat-list"),e.YNc(16,H0e,11,2,"mat-list-item",44),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=e.oxw(2);e.xp6(5),e.Q6J("checked",!n.isGns3VmChosen),e.xp6(2),e.Q6J("disabled",!n.isGns3VmAvailable)("checked",n.isGns3VmChosen),e.xp6(9),e.Q6J("ngForOf",n.applianceToInstall.images)}}function j0e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-list-item"),e.TgZ(1,"div",45),e.TgZ(2,"div"),e._uU(3),e.qZA(),e.TgZ(4,"div"),e.TgZ(5,"input",49,50),e.NdJ("change",function(){var l=e.CHM(t).$implicit,d=e.oxw(3);return d.importImage(d.$,l.filename)}),e.qZA(),e.TgZ(7,"button",51),e.NdJ("click",function(){return e.CHM(t),e.MAs(6).click()}),e._uU(8,"Import"),e.qZA(),e.TgZ(9,"button",46),e.NdJ("click",function(){var l=e.CHM(t).$implicit;return e.oxw(3).createIouTemplate(l)}),e._uU(10," Create "),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=i.$implicit,a=e.oxw(3);e.xp6(3),e.hij(" ",n.filename," "),e.xp6(2),e.Q6J("uploader",a.uploaderImage)}}function q0e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"div"),e._uU(2," Server type"),e._UZ(3,"br"),e.TgZ(4,"mat-radio-group",4),e.TgZ(5,"mat-radio-button",39),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).setServerType("local")}),e._uU(6,"Install the appliance locally"),e.qZA(),e.TgZ(7,"mat-radio-button",40),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).setServerType("gns3 vm")}),e._uU(8,"Install the appliance on the GNS3 VM"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(9,"div"),e._uU(10," Install required files "),e.TgZ(11,"button",42),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).refreshImages()}),e.TgZ(12,"mat-icon",43),e._uU(13,"refresh"),e.qZA(),e.qZA(),e._UZ(14,"br"),e.TgZ(15,"mat-list"),e.YNc(16,j0e,11,2,"mat-list-item",44),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=e.oxw(2);e.xp6(5),e.Q6J("disabled",!n.isLinuxPlatform)("checked",!n.isGns3VmChosen),e.xp6(2),e.Q6J("disabled",!n.isGns3VmAvailable)("checked",n.isGns3VmChosen),e.xp6(9),e.Q6J("ngForOf",n.applianceToInstall.images)}}function z0e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-step"),e.YNc(1,E0e,1,1,"ng-template",3),e.TgZ(2,"mat-card",9),e._uU(3," Please configure GNS3 VM to install selected appliance "),e.qZA(),e.TgZ(4,"mat-card",9),e.YNc(5,B0e,22,9,"div",32),e.YNc(6,U0e,11,4,"div",32),e.YNc(7,V0e,17,4,"div",32),e.YNc(8,q0e,17,5,"div",32),e.qZA(),e.TgZ(9,"div"),e.TgZ(10,"button",30),e._uU(11,"Back"),e.qZA(),e.TgZ(12,"button",8),e.NdJ("click",function(){return e.CHM(t),e.oxw().onCloseClick()}),e._uU(13,"Cancel"),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(2),e.Q6J("hidden",!(!n.isLinuxPlatform&&!n.isGns3VmAvailable&&!n.applianceToInstall.dynamips)),e.xp6(2),e.Q6J("hidden",!(n.isLinuxPlatform||n.isGns3VmAvailable||n.applianceToInstall.dynamips)),e.xp6(1),e.Q6J("ngIf",n.applianceToInstall.qemu),e.xp6(1),e.Q6J("ngIf",n.applianceToInstall.docker),e.xp6(1),e.Q6J("ngIf",n.applianceToInstall.dynamips),e.xp6(1),e.Q6J("ngIf",n.applianceToInstall.iou)}}var W0e=function(){return[5,10,20,50,100]},G0e=function(){var r=function(){function i(t,n,a,o,s,l,d,h,C,P,N,q,Q){(0,v.Z)(this,i),this.dialogRef=t,this.applianceService=n,this.changeDetector=a,this.toasterService=o,this.qemuService=s,this.dockerService=l,this.iosService=d,this.iouService=h,this.templateService=C,this.dialog=P,this.computeService=N,this.changeDetectorRef=q,this.progressService=Q,this.action="install",this.actionTitle="Install appliance from server",this.secondActionTitle="Appliance settings",this.searchText="",this.allAppliances=[],this.appliances=[],this.isGns3VmAvailable=!1,this.isLinuxPlatform=!1,this.isGns3VmChosen=!1,this.isLocalComputerChosen=!1,this.qemuBinaries=[],this.categories=["all categories","router","multilayer_switch","guest","firewall"],this.category="all categories",this.displayedColumns=["name","emulator","vendor","actions"],this.qemuImages=[],this.iosImages=[],this.iouImages=[],this.templates=[]}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.templateService.list(this.server).subscribe(function(a){n.templates=a}),this.computeService.getComputes(this.server).subscribe(function(a){a.forEach(function(o){"vm"===o.compute_id&&(n.isGns3VmAvailable=!0,n.isGns3VmChosen=!0),"linux"===o.capabilities.platform&&(n.isLinuxPlatform=!0)})}),this.qemuService.getImages(this.server).subscribe(function(a){n.qemuImages=a}),this.iosService.getImages(this.server).subscribe(function(a){n.iosImages=a}),this.iouService.getImages(this.server).subscribe(function(a){n.iouImages=a}),this.applianceService.getAppliances(this.server).subscribe(function(a){n.appliances=a,n.appliances.forEach(function(o){o.docker&&(o.emulator="Docker"),o.dynamips&&(o.emulator="Dynamips"),o.iou&&(o.emulator="Iou"),o.qemu&&(o.emulator="Qemu")}),n.allAppliances=a,n.dataSource=new lj(n.allAppliances),n.dataSource.paginator=n.paginator}),this.qemuService.getBinaries(this.server).subscribe(function(a){n.qemuBinaries=a}),this.uploader=new qm({}),this.uploader.onAfterAddingFile=function(a){a.withCredentials=!1},this.uploader.onErrorItem=function(a,o,s,l){n.toasterService.error("An error has occured")},this.uploader.onSuccessItem=function(a,o,s,l){n.toasterService.success("Appliance imported succesfully"),n.getAppliance(a.url)},this.uploaderImage=new qm({}),this.uploaderImage.onAfterAddingFile=function(a){a.withCredentials=!1},this.uploaderImage.onErrorItem=function(a,o,s,l){n.toasterService.error("An error has occured"),n.progressService.deactivate(),n.uploaderImage.clearQueue()},this.uploaderImage.onSuccessItem=function(a,o,s,l){n.toasterService.success("Image imported succesfully"),n.refreshImages(),n.progressService.deactivate(),n.uploaderImage.clearQueue()}}},{key:"updateAppliances",value:function(){var n=this;this.progressService.activate(),this.applianceService.updateAppliances(this.server).subscribe(function(a){n.appliances=a,n.progressService.deactivate(),n.toasterService.success("Appliances are up-to-date.")},function(a){n.progressService.deactivate(),n.toasterService.error("Appliances were not updated correctly.")})}},{key:"refreshImages",value:function(){var n=this;this.qemuService.getImages(this.server).subscribe(function(a){n.qemuImages=a}),this.iosService.getImages(this.server).subscribe(function(a){n.iosImages=a}),this.iouService.getImages(this.server).subscribe(function(a){n.iouImages=a})}},{key:"getAppliance",value:function(n){var a=this,o=n.split("/v2");this.applianceService.getAppliance(this.server,o[o.length-1]).subscribe(function(l){a.applianceToInstall=l,setTimeout(function(){a.stepper.next()},100)})}},{key:"addAppliance",value:function(n){var h,a=this,s=(n.target.files[0].name.split("-"),n.target.files[0].name),l=n.target.files[0],d=new FileReader;d.onloadend=function(){var C=JSON.parse(d.result);C.docker&&(h="docker"),C.dynamips&&(h="dynamips"),C.iou&&(h="iou"),C.qemu&&(h="qemu");var P=a.applianceService.getUploadPath(a.server,h,s);a.uploader.queue.forEach(function(q){return q.url=P});var N=a.uploader.queue[0];N.options.disableMultipart=!0,a.uploader.uploadItem(N)},d.readAsText(l)}},{key:"filterAppliances",value:function(n){var a=this,o=this.allAppliances.filter(function(s){return s.name.toLowerCase().includes(a.searchText.toLowerCase())});this.appliances="all categories"!==this.category&&this.category?o.filter(function(s){return s.category===a.category}):o,this.dataSource=new lj(this.appliances),this.dataSource.paginator=this.paginator}},{key:"setAction",value:function(n){this.action=n,"install"===n?this.actionTitle="Install appliance from server":"import"===n&&(this.actionTitle="Import an appliance file")}},{key:"setServerType",value:function(n){"gns3 vm"===n?(this.isGns3VmChosen=!0,this.isLocalComputerChosen=!1):(this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0)}},{key:"sortData",value:function(n){if(n.active&&""!==n.direction){var a=this.appliances.slice();this.appliances=a.sort(function(o,s){var l="asc"===n.direction;return"name"===n.active?oL(o.name,s.name,l):"emulator"===n.active?oL(o.emulator,s.emulator,l):"vendor"===n.active?oL(o.vendor_name,s.vendor_name,l):0})}}},{key:"onCloseClick",value:function(){this.dialogRef.close()}},{key:"install",value:function(n){var a=this;this.applianceToInstall=n,setTimeout(function(){a.stepper.next(),a.applianceToInstall.qemu&&setTimeout(function(){if(a.qemuBinaries.length)if("x86_64"===a.applianceToInstall.qemu.arch){var o=a.qemuBinaries.filter(function(d){return d.path.includes("qemu-system-x86_64")});o.length&&(a.selectedBinary=o[0])}else if("i386"===a.applianceToInstall.qemu.arch){var s=a.qemuBinaries.filter(function(d){return d.path.includes("qemu-system-i386")});s.length&&(a.selectedBinary=s[0])}else if("x86_64"===a.applianceToInstall.qemu.arch){var l=a.qemuBinaries.filter(function(d){return d.path.includes("qemu-system-arm")});l.length&&(a.selectedBinary=l[0])}else a.selectedBinary=a.qemuBinaries[0]},100)},100)}},{key:"showInfo",value:function(n){this.dialog.open(Qye,{width:"250px",data:{appliance:n}}).componentInstance.appliance=n}},{key:"importImage",value:function(n,a){var o=this;this.progressService.activate(),this.computeChecksumMd5(n.target.files[0],!1).then(function(s){var l=o.applianceToInstall.images.filter(function(h){return h.filename===a})[0];if(l.md5sum!==s){o.progressService.deactivate();var d=o.dialog.open(bq,{width:"400px",height:"200px",autoFocus:!1,disableClose:!0});d.componentInstance.confirmationMessage="This is not the correct file. \n                    The MD5 sum is ".concat(s," and should be ").concat(l.md5sum,". Do you want to accept it at your own risks?"),d.afterClosed().subscribe(function(h){h?o.importImageFile(n):o.uploaderImage.clearQueue()})}else o.importImageFile(n)})}},{key:"importImageFile",value:function(n){var h,a=this,s=(n.target.files[0].name.split("-"),n.target.files[0].name),l=n.target.files[0],d=new FileReader;d.onloadend=function(){a.applianceToInstall.qemu&&(h="qemu"),a.applianceToInstall.dynamips&&(h="dynamips"),a.applianceToInstall.iou&&(h="iou");var C=a.applianceService.getUploadPath(a.server,h,s);a.uploaderImage.queue.forEach(function(N){return N.url=C});var P=a.uploaderImage.queue[0];P.options.disableMultipart=!0,a.uploaderImage.uploadItem(P),a.progressService.activate()},d.readAsText(l)}},{key:"checkImageFromVersion",value:function(n){var a=this.applianceToInstall.images.filter(function(o){return o.filename===n})[0];if(this.applianceToInstall.qemu){if(this.qemuImages.filter(function(o){return o.md5sum===a.md5sum}).length>0)return!0}else if(this.applianceToInstall.dynamips){if(this.iosImages.filter(function(o){return o.md5sum===a.md5sum}).length>0)return!0}else if(this.applianceToInstall.iou&&this.iouImages.filter(function(o){return o.md5sum===a.md5sum}).length>0)return!0;return!1}},{key:"checkImages",value:function(n){return n.images.hdb_disk_image?!(!this.checkImageFromVersion(n.images.hda_disk_image)||!this.checkImageFromVersion(n.images.hdb_disk_image)):!!this.checkImageFromVersion(n.images.hda_disk_image)}},{key:"openConfirmationDialog",value:function(n,a){var o=this.dialog.open(bq,{width:"400px",height:"200px",autoFocus:!1,disableClose:!0});o.componentInstance.confirmationMessage=n,o.afterClosed().subscribe(function(s){s&&window.open(a)})}},{key:"downloadImage",value:function(n){var o="The file is compressed with ".concat(n.compression,", it must be uncompressed first.");n.direct_download_url?n.compression?this.openConfirmationDialog(o,n.direct_download_url):window.open(n.direct_download_url):this.openConfirmationDialog("Download will redirect you where the required file can be downloaded, you may have to be registered with the vendor in order to download the file.",n.download_url)}},{key:"downloadImageFromVersion",value:function(n){var a=this;this.applianceToInstall.images.forEach(function(o){o.filename===n&&a.downloadImage(o)})}},{key:"getCategory",value:function(){return"multilayer_switch"===this.applianceToInstall.category?"switch":this.applianceToInstall.category}},{key:"createIouTemplate",value:function(n){var a=this,o=new E6;o.nvram=this.applianceToInstall.iou.nvram,o.ram=this.applianceToInstall.iou.ram,o.ethernet_adapters=this.applianceToInstall.iou.ethernet_adapters,o.serial_adapters=this.applianceToInstall.iou.serial_adapters,o.startup_config=this.applianceToInstall.iou.startup_config,o.builtin=this.applianceToInstall.builtin,o.category=this.getCategory(),o.default_name_format=this.applianceToInstall.port_name_format,o.symbol=this.applianceToInstall.symbol,o.compute_id=this.isGns3VmChosen?"vm":"local",o.template_id=(0,Eo.v4)(),o.path=n.filename,o.template_type="iou";var s=this.dialog.open(l2,{width:"400px",height:"250px",autoFocus:!1,disableClose:!0,data:{name:this.applianceToInstall.name}});s.componentInstance.server=this.server,s.afterClosed().subscribe(function(l){if(!l)return!1;o.name=l,a.iouService.addTemplate(a.server,o).subscribe(function(d){a.templateService.newTemplateCreated.next(d),a.toasterService.success("Template added"),a.dialogRef.close()})})}},{key:"createIosTemplate",value:function(n){var a=this,o=new x6;o.chassis=this.applianceToInstall.dynamips.chassis,o.nvram=this.applianceToInstall.dynamips.nvram,o.platform=this.applianceToInstall.dynamips.platform,o.ram=this.applianceToInstall.dynamips.ram,o.startup_config=this.applianceToInstall.dynamips.startup_config,o.slot0=this.applianceToInstall.dynamips.slot0,o.slot1=this.applianceToInstall.dynamips.slot1,o.slot2=this.applianceToInstall.dynamips.slot2,o.slot3=this.applianceToInstall.dynamips.slot3,o.slot4=this.applianceToInstall.dynamips.slot4,o.slot5=this.applianceToInstall.dynamips.slot5,o.slot6=this.applianceToInstall.dynamips.slot6,o.slot7=this.applianceToInstall.dynamips.slot7,o.builtin=this.applianceToInstall.builtin,o.category=this.getCategory(),o.default_name_format=this.applianceToInstall.port_name_format,o.symbol=this.applianceToInstall.symbol,o.compute_id=this.isGns3VmChosen?"vm":"local",o.template_id=(0,Eo.v4)(),o.image=n.filename,o.template_type="dynamips";var s=this.dialog.open(l2,{width:"400px",height:"250px",autoFocus:!1,disableClose:!0,data:{name:this.applianceToInstall.name}});s.componentInstance.server=this.server,s.afterClosed().subscribe(function(l){if(!l)return!1;o.name=l,a.iosService.addTemplate(a.server,o).subscribe(function(d){a.templateService.newTemplateCreated.next(d),a.toasterService.success("Template added"),a.dialogRef.close()})})}},{key:"createDockerTemplate",value:function(){var n=this,a=new k6;a.adapters=this.applianceToInstall.docker.adapters,a.console_type=this.applianceToInstall.docker.console_type,a.builtin=this.applianceToInstall.builtin,a.category=this.getCategory(),a.default_name_format=this.applianceToInstall.port_name_format,a.symbol=this.applianceToInstall.symbol,a.compute_id=this.isGns3VmChosen?"vm":"local",a.template_id=(0,Eo.v4)(),a.image=this.applianceToInstall.docker.image,a.template_type="docker";var o=this.dialog.open(l2,{width:"400px",height:"250px",autoFocus:!1,disableClose:!0,data:{name:this.applianceToInstall.name}});o.componentInstance.server=this.server,o.afterClosed().subscribe(function(s){if(!s)return!1;a.name=s,n.dockerService.addTemplate(n.server,a).subscribe(function(l){n.templateService.newTemplateCreated.next(l),n.toasterService.success("Template added"),n.dialogRef.close()})})}},{key:"createQemuTemplateFromVersion",value:function(n){var a=this;if(this.checkImages(n))if(this.selectedBinary){var o=new A6;o.ram=this.applianceToInstall.qemu.ram,o.adapters=this.applianceToInstall.qemu.adapters,o.adapter_type=this.applianceToInstall.qemu.adapter_type,o.boot_priority=this.applianceToInstall.qemu.boot_priority,o.console_type=this.applianceToInstall.qemu.console_type,o.hda_disk_interface=this.applianceToInstall.qemu.hda_disk_interface,o.hdb_disk_interface=this.applianceToInstall.qemu.hdb_disk_interface,o.hdc_disk_interface=this.applianceToInstall.qemu.hdc_disk_interface,o.hdd_disk_interface=this.applianceToInstall.qemu.hdd_disk_interface,o.builtin=this.applianceToInstall.builtin,o.category=this.getCategory(),o.first_port_name=this.applianceToInstall.first_port_name,o.port_name_format=this.applianceToInstall.port_name_format,o.symbol=this.applianceToInstall.symbol,o.qemu_path=this.selectedBinary.path,o.compute_id=this.isGns3VmChosen?"vm":"local",o.template_id=(0,Eo.v4)(),o.hda_disk_image=n.images.hda_disk_image,o.hdb_disk_image=n.images.hdb_disk_image,o.template_type="qemu",o.usage=this.applianceToInstall.usage;var s=this.dialog.open(l2,{width:"400px",height:"250px",autoFocus:!1,disableClose:!0,data:{name:this.applianceToInstall.name}});s.componentInstance.server=this.server,s.afterClosed().subscribe(function(l){if(!l)return!1;o.name=l,a.qemuService.addTemplate(a.server,o).subscribe(function(d){a.templateService.newTemplateCreated.next(d),a.toasterService.success("Template added"),a.dialogRef.close()})})}else this.toasterService.error("Please select QEMU binary first");else this.toasterService.error("Please install required images first")}},{key:"computeChecksumMd5",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new Promise(function(o,s){var l=2097152,d=new Gye.ArrayBuffer,h=new FileReader,C=0;function P(N){var q=Math.min(n.size,N+l);h.readAsArrayBuffer(n.slice(N,q))}h.onerror=function(){s("MD5 computation failed - error reading the file")},h.onload=function(N){d.append(N.target.result),(C+=l)<n.size?P(C):o(d.end(a))},P(0)})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(Cq),e.Y36(e.sBO),e.Y36(Yn),e.Y36(Sp),e.Y36(Xm),e.Y36(ev),e.Y36(tv),e.Y36(K_),e.Y36(ca),e.Y36(Cc.X),e.Y36(e.sBO),e.Y36(zf))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-new-template-dialog"]],viewQuery:function(t,n){var a;1&t&&(e.Gf(yq,7),e.Gf(f0e,7)),2&t&&(e.iGM(a=e.CRH())&&(n.paginator=a.first),e.iGM(a=e.CRH())&&(n.stepper=a.first))},inputs:{server:"server",project:"project"},decls:56,vars:19,consts:[["mat-dialog-title",""],[3,"linear"],["stepper",""],["matStepLabel",""],[1,"radio-group"],["value","1","checked","",1,"radio-button",3,"click"],["value","2",1,"radio-button",3,"click"],["mat-button","","matStepperNext",""],["mat-button","",3,"click"],[3,"hidden"],[1,"tableHeader"],[1,"filter-field"],["matInput","","placeholder","Filter",3,"ngModel","ngModelChange"],["placeholder","Category",3,"ngModelOptions","ngModel","selectionChange","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["matSort","","multiTemplateDataRows","",1,"mat-table",3,"dataSource","matSortChange"],["table",""],["matColumnDef","name"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","emulator"],["matColumnDef","vendor"],["matColumnDef","actions"],["style","text-align: right",4,"matCellDef"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"pageSizeOptions"],["type","file","accept",".gns3appliance, .gns3a","ng2FileSelect","",1,"non-visible",3,"uploader","change"],["file",""],["mat-raised-button","","color","primary",1,"create-button",3,"click"],["mat-button","","matStepperPrevious",""],["mat-button","",3,"hidden","click"],[4,"ngIf"],[3,"value"],[2,"text-align","right"],["mat-icon-button","","matTooltip","Install","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Install"],["mat-icon-button","","matTooltip","Show info","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Show info"],["value","1",1,"radio-button",3,"disabled","checked","click"],["value","2",1,"radio-button",3,"disabled","checked","click"],["placeholder","Qemu binary",1,"selection-group",3,"ngModel","ngModelOptions","ngModelChange"],["mat-icon-button","","matTooltip","Refresh list of images","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Refresh list of images"],[4,"ngFor","ngForOf"],[1,"list-item"],["mat-raised-button","","color","primary",1,"button",3,"click"],["class","list-item-inside",4,"ngIf"],[1,"list-item-inside"],["type","file","ng2FileSelect","",1,"non-visible",3,"uploader","change"],["file2",""],["mat-raised-button","",1,"button",3,"click"],["matTooltip","Ready to install","matTooltipClass","custom-tooltip"],["matTooltip","Missing","matTooltipClass","custom-tooltip"],["file3",""],["file4",""],["value","1",1,"radio-button",3,"checked","click"]],template:function(t,n){if(1&t){var a=e.EpF();e.TgZ(0,"h1",0),e._uU(1,"Add new template"),e.qZA(),e.TgZ(2,"mat-horizontal-stepper",1,2),e.TgZ(4,"mat-step"),e.YNc(5,h0e,1,0,"ng-template",3),e.TgZ(6,"mat-radio-group",4),e.TgZ(7,"mat-radio-button",5),e.NdJ("click",function(){return n.setAction("install")}),e._uU(8,"Install new appliance from the GNS server"),e.qZA(),e._UZ(9,"br"),e.TgZ(10,"mat-radio-button",6),e.NdJ("click",function(){return n.setAction("import")}),e._uU(11,"Import an appliance file"),e.qZA(),e.qZA(),e.TgZ(12,"div"),e.TgZ(13,"button",7),e._uU(14,"Next"),e.qZA(),e.TgZ(15,"button",8),e.NdJ("click",function(){return n.onCloseClick()}),e._uU(16,"Cancel"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(17,"mat-step"),e.YNc(18,m0e,1,1,"ng-template",3),e.TgZ(19,"mat-card",9),e.TgZ(20,"div",10),e.TgZ(21,"mat-form-field",11),e.TgZ(22,"input",12),e.NdJ("ngModelChange",function(s){return n.searchText=s}),e.qZA(),e.qZA(),e.TgZ(23,"mat-select",13),e.NdJ("selectionChange",function(s){return n.filterAppliances(s)})("ngModelChange",function(s){return n.category=s}),e.YNc(24,v0e,2,2,"mat-option",14),e.qZA(),e.qZA(),e.TgZ(25,"mat-table",15,16),e.NdJ("matSortChange",function(s){return n.sortData(s)}),e.ALo(27,"datasourcefilter"),e.ynx(28,17),e.YNc(29,g0e,2,0,"mat-header-cell",18),e.YNc(30,_0e,2,1,"mat-cell",19),e.BQk(),e.ynx(31,20),e.YNc(32,y0e,2,0,"mat-header-cell",18),e.YNc(33,b0e,2,1,"mat-cell",19),e.BQk(),e.ynx(34,21),e.YNc(35,C0e,2,0,"mat-header-cell",18),e.YNc(36,S0e,2,1,"mat-cell",19),e.BQk(),e.ynx(37,22),e.YNc(38,T0e,2,0,"mat-header-cell",18),e.YNc(39,k0e,7,0,"mat-cell",23),e.BQk(),e.YNc(40,w0e,1,0,"mat-header-row",24),e.YNc(41,x0e,1,0,"mat-row",25),e.qZA(),e._UZ(42,"mat-paginator",26),e.qZA(),e.TgZ(43,"mat-card",9),e.TgZ(44,"input",27,28),e.NdJ("change",function(s){return n.addAppliance(s)}),e.qZA(),e.TgZ(46,"button",29),e.NdJ("click",function(){return e.CHM(a),e.MAs(45).click()}),e._uU(47," Click to import appliance "),e.qZA(),e.qZA(),e.TgZ(48,"div"),e.TgZ(49,"button",30),e._uU(50,"Back"),e.qZA(),e.TgZ(51,"button",31),e.NdJ("click",function(){return n.updateAppliances()}),e._uU(52," Update from online registry "),e.qZA(),e.TgZ(53,"button",8),e.NdJ("click",function(){return n.onCloseClick()}),e._uU(54,"Cancel"),e.qZA(),e.qZA(),e.qZA(),e.YNc(55,z0e,14,6,"mat-step",32),e.qZA()}2&t&&(e.xp6(2),e.Q6J("linear",!1),e.xp6(17),e.Q6J("hidden","install"!==n.action),e.xp6(3),e.Q6J("ngModel",n.searchText),e.xp6(1),e.Q6J("ngModelOptions",e.DdM(17,Tq))("ngModel",n.category),e.xp6(1),e.Q6J("ngForOf",n.categories),e.xp6(1),e.Q6J("dataSource",e.xi3(27,14,n.dataSource,n.searchText)),e.xp6(15),e.Q6J("matHeaderRowDef",n.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",n.displayedColumns),e.xp6(1),e.Q6J("pageSizeOptions",e.DdM(18,W0e)),e.xp6(1),e.Q6J("hidden","install"===n.action),e.xp6(1),e.Q6J("uploader",n.uploader),e.xp6(7),e.Q6J("hidden","install"!==n.action),e.xp6(4),e.Q6J("ngIf",n.applianceToInstall))},directives:[ii,ey,$_,LA,El,Ml,En,Rce,Ti,Ln.KE,ir,re.Fj,re.JJ,re.On,yi.gD,Pt.sg,nu,cS,kl,Tl,Sl,ru,iu,yq,P1,Nce,Pt.O5,sn.ey,wl,xl,ts,er,au,ou,C6,Zs],pipes:[p0e],styles:[".radio-button[_ngcontent-%COMP%]{margin-bottom:30px}.tableHeader[_ngcontent-%COMP%]{width:100%}.filter-field[_ngcontent-%COMP%]{width:100%}.example-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;max-height:500px;min-width:300px}.mat-table[_ngcontent-%COMP%]{overflow:auto;max-height:500px}.element-row[_ngcontent-%COMP%]{position:relative}.element-row[_ngcontent-%COMP%]:not(.expanded){cursor:pointer}.element-row[_ngcontent-%COMP%]:not(.expanded):hover{background:#f5f5f5}.element-row.expanded[_ngcontent-%COMP%]{border-bottom-color:transparent}.list-item[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:100%;margin-bottom:15px}.list-item-inside[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:100%;padding-left:30px;margin-bottom:15px}.button[_ngcontent-%COMP%]{margin-left:10px}.create-button[_ngcontent-%COMP%]{width:100%;margin-top:10px;margin-bottom:10px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.selection-group[_ngcontent-%COMP%]{padding-bottom:20px}"],data:{animation:[(0,en.X$)("detailExpand",[(0,en.SB)("collapsed",(0,en.oB)({height:"0px",minHeight:"0",visibility:"hidden"})),(0,en.SB)("expanded",(0,en.oB)({height:"*",visibility:"visible"})),(0,en.eR)("expanded <=> collapsed",(0,en.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}}),r}();function oL(r,i,t){return((r=r.toLowerCase())<(i=i.toLowerCase())?-1:1)*(t?1:-1)}var Y0e=f(67427),J0e='<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">',uv_xmlns="http://www.w3.org/2000/xmlns/",uv_xlink="http://www.w3.org/1999/xlink",uv_svg="http://www.w3.org/2000/svg",kq="untitled";function K0e(){var r=document.createElementNS(uv_svg,"svg");document.body.appendChild(r),r.style.all="initial";var i=getComputedStyle(r);return document.body.removeChild(r),r=null,i}function $0e(r,i){function t(s){for(var d,h,l=getComputedStyle(s),C="",P=0,N=l.length;P<N;P++)(h=l.getPropertyValue(d=l[P]))!==i.getPropertyValue(d)&&(C+="".concat(d,":").concat(h,";"));s.setAttribute("style",C)}for(var a=(l=void 0,(l=[]).push(s=r),function d(h){if(h&&h.hasChildNodes())for(var C=h.firstChild;C;)1===C.nodeType&&"SCRIPT"!==C.nodeName&&(l.push(C),d(C)),C=C.nextSibling}(s),l),o=a.length;o--;)t(a[o]);var s,l}function ebe(r){var i=document.createElement("style");i.innerHTML=Array.from(document.styleSheets).filter(function(t){return!t.href||t.href.startsWith(document.location.origin)}).map(function(t){return Array.from(t.cssRules).map(function(n){return n.cssText}).join(" ")}).join(" "),r.prepend(i)}function rbe(r,i,t){var n=document.createElement("a");document.body.appendChild(n),n.setAttribute("class","svg-crowbar"),n.setAttribute("download",r),n.setAttribute("href",i),n.style.display="none",n.click(),setTimeout(function(){t&&t(),document.body.removeChild(n)},10)}var lbe=function(i,t,n){return function(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:kq,t=URL.createObjectURL(new Blob([r.source],{type:"text/xml"}));rbe("".concat(i,".svg"),t,function(){return URL.revokeObjectURL(t)})}(function(r){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).css,n=void 0===t?"inline":t;if(!(r instanceof SVGElement))throw new Error("SVG element is required");r.setAttribute("version","1.1"),r.removeAttribute("xmlns"),r.removeAttribute("xlink"),r.hasAttributeNS(uv_xmlns,"xmlns")||r.setAttributeNS(uv_xmlns,"xmlns",uv_svg),r.hasAttributeNS(uv_xmlns,"xmlns:xlink")||r.setAttributeNS(uv_xmlns,"xmlns:xlink",uv_xlink),"inline"===n?$0e(r,K0e()):"internal"===n&&ebe(r);var a=(new XMLSerializer).serializeToString(r),o=r.getBoundingClientRect();return{top:o.top,left:o.left,width:o.width,height:o.height,class:r.getAttribute("class"),id:r.getAttribute("id"),name:r.getAttribute("name"),childElementCount:r.childElementCount,source:J0e+a}}(i,n),t||function(r){if(!(r instanceof SVGElement))throw new Error("SVG Element is required");return r.getAttribute("id")||r.getAttribute("class")||document.title.replace(/[^a-z0-9]/gi,"-").toLowerCase()||kq}(i))},uy={UKNOWN:"Unknown"},sL={CHROME:"Chrome",FIREFOX:"Firefox",SAFARI:"Safari",OPERA:"Opera",IE:"IE",MS_EDGE:"MS-Edge",MS_EDGE_CHROMIUM:"MS-Edge-Chromium",FB_MESSANGER:"FB-Messanger",SAMSUNG:"Samsung",UCBROWSER:"UC-Browser",UNKNOWN:uy.UKNOWN},d2={HTC:/HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\bEVO\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel/,NEXUS_PHONE:/Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6/,DELL:/Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\b001DL\b|\b101DL\b|\bGS01\b/,MOTOROLA:new RegExp("Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|\n      A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|\n      MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|\n      ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|\n      WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|\n      XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|\n      XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b|XT1068|XT1092|XT1052"),SAMSUNG:new RegExp("\\bSamsung\\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|\n      GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|\n      GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|\n      GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|\n      GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|\n      GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|\n      GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|\n      GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|\n      GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|\n      GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|\n      GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|\n      GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|\n      GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|\n      GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|\n      GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|\n      GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|\n      GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|\n      GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|\n      SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|\n      SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|\n      SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|\n      SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|\n      SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|\n      SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|\n      SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|\n      SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|\n      SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|\n      SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|\n      SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|\n      SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|\n      SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|\n      SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|\n      SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|\n      SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|\n      SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|\n      SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|\n      SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|\n      SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|\n      SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|\n      SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|\n      SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|\n      SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|\n      SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|\n      SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|\n      SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|\n      SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|\n      SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|\n      SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|\n      SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|\n      GT-N7105|SCH-I535|SM-N900A|SM-N900T|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|\n      GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|\n      GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|\n      SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|\n      SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|\n      SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F"),LG:new RegExp("\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|\n      LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|\n      C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|\n      LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|\n      VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|\n      MS323|M257)"),SONY:/SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533/,ASUS:/Asus.*Galaxy|PadFone.*Mobile/,NOKIA_LUMIA:/Lumia [0-9]{3,4}/,MICROMAX:/Micromax.*\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\b/,PALM:/PalmSource|Palm/,VERTU:/Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature/,PANTECH:new RegExp("PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|\n        IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|\n        IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|\n        CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|\n        P2000|P7040|P7000|C790"),FLY:/IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250/,WIKO:new RegExp("KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|\n        SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|\n        CINK KING|CINK PEAX|CINK SLIM|SUBLIM"),I_MOBILE:/i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)/,SIMVALLEY:/\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\b/,WOLFGANG:/AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q/,ALCATEL:/Alcatel|Mobile; rv:49.0|Mobile; ALCATEL 4052R; rv:48.0/,NINTENDO:/Nintendo (3DS|Switch)/,AMOI:/Amoi/,INQ:/INQ/,VITA:/\bVita\b/,BLACKBERRY:/\bBlackBerry\b|\bBB10\b|rim[0-9]+/,FIREFOX_OS:/\bFirefox-OS\b/,IPHONE:/\biPhone\b/,iPod:/\biPod\b/,ANDROID:/\bAndroid\b/,WINDOWS_PHONE:/\bWindows-Phone\b/,GENERIC_PHONE:new RegExp("Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|\n        up.link|vodafone|\\bwap\\b|nokia|Nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser")},cy={iPad:/iPad|iPad.*Mobile/,NexusTablet:/Android.*Nexus[\s]+(7|9|10)/,GoogleTablet:/Android.*Pixel C/,SamsungTablet:new RegExp("SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|\n        GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|\n        SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|\n        GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|\n        SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|\n        GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|\n        SHV-E230S|SHW-M180K|SHW-M180L|SM-T865|SM-T290|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|\n        SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|\n        GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T385M|SM-P585M|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|\n        SM-P601|SM-P605|SM-P615|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|\n        GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|\n        SM-T510|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|\n        SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T500|SM-T330|\n        SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|\n        SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|\n        SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|\n        SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|\n        SM-T719|SM-T813|SM-T819|SM-T580|SM-T590|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|\n        SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835|SM-P585Y"),Kindle:new RegExp("Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|\n        KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome        /[0-9.]+ (?!Mobile)"),SurfaceTablet:/Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)/,HPTablet:/HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10/,AsusTablet:new RegExp("^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|\n        TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|\n        Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|\n        ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|\n        ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b|\\bP024\\b|\\bP00C\\b"),BlackBerryTablet:/PlayBook|RIM Tablet/,HTCtablet:/HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410/,MotorolaTablet:/xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617/,NookTablet:/Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2/,AcerTablet:new RegExp("Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|\n        W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\n        \\bA3-A20\\b|\\bA3-A30"),ToshibaTablet:/Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO/,LGTablet:/\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\b/,FujitsuTablet:/Android.*\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\b/,PrestigioTablet:new RegExp("PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|\n        PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|\n        PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|\n        PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|\n        PMT5887|PMT5001|PMT5002"),LenovoTablet:new RegExp("Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|\n        YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|\n        B8000|B8080)(-|)(FL|F|HV|H|)|TB-X606F|TB-X103F|TB-X304F|TB-X304L|TB-X704F|TB-8703F|Tab2A7-10F|TB2-X30L|TB-8504F"),DellTablet:/Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7/,YarvikTablet:new RegExp("Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|\n        TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|\n        TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|\n        TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|\n        TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b"),MedionTablet:/Android.*\bOYO\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB/,ArnovaTablet:/97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2/,IntensoTablet:/INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004/,IRUTablet:/M702pro/,MegafonTablet:/MegaFon V9|\bZTE V9\b|Android.*\bMT7A\b/,EbodaTablet:/E-Boda (Supreme|Impresspeed|Izzycomm|Essential)/,AllViewTablet:/Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)/,ArchosTablet:new RegExp("\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10|\n         Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b"),AinolTablet:/NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark/,NokiaLumiaTablet:/Lumia 2520/,SonyTablet:new RegExp("Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|\n        SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|\n        EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP641|SGP612|SOT31|SGP771|SGP611|\n        SGP612|SGP712"),PhilipsTablet:/\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\b/,CubeTablet:/Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT/,CobyTablet:new RegExp("MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|\n        MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010"),MIDTablet:new RegExp("M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|\n        MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|\n        MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10"),MSITablet:new RegExp("MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|\n        Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b"),SMiTTablet:/Android.*(\bMID\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)/,RockChipTablet:/Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A/,FlyTablet:/IQ310|Fly Vision/,bqTablet:new RegExp("Android.*(bq)?.*(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|\n        Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))|Maxwell.*Lite|Maxwell.*Plus"),HuaweiTablet:new RegExp("MediaPad|MediaPad 7 Youth|MediaPad T3 10|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|\n        S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09|AGS-W09"),NecTablet:/\bN-06D|\bN-08D/,PantechTablet:/Pantech.*P4100/,BronchoTablet:/Broncho.*(N701|N708|N802|a710)/,VersusTablet:/TOUCHPAD.*[78910]|\bTOUCHTAB\b/,ZyncTablet:/z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900/,PositivoTablet:/TB07STA|TB10STA|TB07FTA|TB10FTA/,NabiTablet:/Android.*\bNabi/,KoboTablet:/Kobo Touch|\bK080\b|\bVox\b Build|\bArc\b Build/,DanewTablet:/DSlide.*\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\b/,TexetTablet:new RegExp("NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|\n        TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|\n        TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|\n        TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|\n        TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|\n        TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|\n        TB-436|TB-416|TB-146SE|TB-126SE"),PlaystationTablet:/Playstation.*(Portable|Vita)/,TrekstorTablet:/ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab/,PyleAudioTablet:/\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\b/,AdvanTablet:new RegExp("Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|\n        T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b"),DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|\n        Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:/Android.*\bG1\b(?!\))/,MicromaxTablet:/Funbook|Micromax.*\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\b/,KarbonnTablet:/Android.*\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\b/,AllFineTablet:/Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide/,PROSCANTablet:new RegExp("\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|\n        PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|\n        PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|\n        PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b"),YONESTablet:/BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026/,ChangJiaTablet:new RegExp("TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|\n        TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|\n        TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|\n        TPC10111|TPC10203|TPC10205|TPC10503"),GUTablet:/TX-A1301|TX-M9002|Q702|kf026/,PointOfViewTablet:new RegExp("TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|\n        TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|\n        TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|\n        TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10"),OvermaxTablet:new RegExp("OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|\n        MagicTab|Stream|TB-08|TB-09)|Qualcore 1027"),HCLTablet:/HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync/,DPSTablet:/DPS Dream 9|DPS Dual 7/,VistureTablet:/V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10/,CrestaTablet:/CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989/,MediatekTablet:/\bMT8125|MT8389|MT8135|MT8377\b/,ConcordeTablet:/Concorde([ ]+)?Tab|ConCorde ReadMan/,GoCleverTablet:new RegExp("GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|\n        TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|\n        GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|\n        TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|\n        TAB R104|TAB R83.3|TAB A1042"),ModecomTablet:new RegExp("FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|\n        FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|\n        FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003"),VoninoTablet:new RegExp("\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|\n        Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|\n        Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b"),ECSTablet:/V07OT2|TM105A|S10OT1|TR10CS1/,StorexTablet:/eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab/,VodafoneTablet:/SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497/,EssentielBTablet:/Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2/,RossMoorTablet:/RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711/,iMobileTablet:/i-mobile i-note/,TolinoTablet:/tolino tab [0-9.]+|tolino shine/,AudioSonicTablet:/\bC-22Q|T7-QC|T-17B|T-17P\b/,AMPETablet:/Android.* A78 /,SkkTablet:/Android.* (SKYPAD|PHOENIX|CYCLOPS)/,TecnoTablet:/TECNO P9|TECNO DP8D/,JXDTablet:new RegExp("Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|\n        S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|\n        P1000|P300|S18|S6600|S9100)\\b"),iJoyTablet:new RegExp("Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|\n        Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|\n        Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|\n        Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|\n        Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)"),FX2Tablet:/FX2 PAD7|FX2 PAD10/,XoroTablet:new RegExp("KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|\n        PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|\n        PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|\n        TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151"),ViewsonicTablet:/ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a/,VerizonTablet:/QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1/,OdysTablet:/LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\bXELIO\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10/,CaptivaTablet:/CAPTIVA PAD/,IconbitTablet:new RegExp("NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|\n        NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S"),TeclastTablet:new RegExp("T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\n        \\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\n        \\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\n        \\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\n        \\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\n        \\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\n        \\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\n        \\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\n        \\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi"),OndaTablet:new RegExp("\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|\n        V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|\n        V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|\n        Vi40)\\b[s]+|V10 \\b4G\\b"),JaytechTablet:/TPC-PA762/,BlaupunktTablet:/Endeavour 800NG|Endeavour 1010/,DigmaTablet:/\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\b/,EvolioTablet:/ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\bEvotab\b|\bNeura\b/,LavaTablet:/QPAD E704|\bIvoryS\b|E-TAB IVORY|\bE-TAB\b/,AocTablet:/MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712/,MpmanTablet:new RegExp("MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\n        \\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|\n        MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010"),CelkonTablet:/CT695|CT888|CT[\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\bCT-1\b/,WolderTablet:new RegExp("miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|\n        POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|\n        FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b"),MediacomTablet:"M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA",MiTablet:/\bMI PAD\b|\bHM NOTE 1W\b/,NibiruTablet:/Nibiru M1|Nibiru Jupiter One/,NexoTablet:/NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI/,LeaderTablet:new RegExp("TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|\n        TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100"),UbislateTablet:/UbiSlate[\s]?7C/,PocketBookTablet:/Pocketbook/,KocasoTablet:/\b(TB-1207)\b/,HisenseTablet:/\b(F5281|E2371)\b/,Hudl:/Hudl HT7S3|Hudl 2/,TelstraTablet:/T-Hub2/,Honeywell:/RT10A/,GenericTablet:new RegExp("Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|\n        A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|\n        Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b|\\bQTAQZ3\\b|WVT101|TM1088|KT107")},eh={BLACKBERRY:"Blackberry",FIREFOX_OS:"Firefox-OS",CHROME_BOOK:"Chrome-Book",WINDOWS_PHONE:"Windows-Phone",VITA:"Vita",PS4:"PS4",MAC:"Macintosh",CHROMECAST:"Chromecast",APPLE_TV:"Apple-TV",GOOGLE_TV:"Google-TV",ANDROID:"Android",Tesla:"Tesla",iPad:"iPad",IPHONE:"iPhone",iPod:"iPod",UNKNOWN:uy.UKNOWN,HTC:"HTC",NEXUS_PHONE:"Nexus Phone",NexusTablet:"Nexus Tablet",DELL:"Dell",MOTOROLA:"Motorola",SAMSUNG:"Samsung",LG:"LG",SONY:"Sony",ASUS:"Asus",NOKIA_LUMIA:"Nokia Lumia",MICROMAX:"Micromax",PALM:"Palm",VERTU:"Vertu",PANTECH:"PANTECH",FLY:"Fly",WIKO:"WIKO",I_MOBILE:"i-mobile",SIMVALLEY:"Simvalley",WOLFGANG:"Wolfgang",ALCATEL:"Alcatel",HONEYWELL:"Honeywell",NINTENDO:"Nintendo",AMOI:"Amoi",INQ:"INQ",GENERIC_PHONE:"Generic Phone",MI_SE_9:"Mi SE 9"},wq=[eh.PS4,eh.CHROME_BOOK,eh.MAC,eh.DELL,eh.ASUS,eh.UNKNOWN],ube={WINDOWS:"Windows",MAC:"Mac",IOS:"iOS",ANDROID:"Android",LINUX:"Linux",UNIX:"Unix",FIREFOX_OS:"Firefox-OS",CHROME_OS:"Chrome-OS",WINDOWS_PHONE:"Windows-Phone",UNKNOWN:uy.UKNOWN},cbe={WINDOWS_3_11:"windows-3-11",WINDOWS_95:"windows-95",WINDOWS_ME:"windows-me",WINDOWS_98:"windows-98",WINDOWS_CE:"windows-ce",WINDOWS_2000:"windows-2000",WINDOWS_XP:"windows-xp",WINDOWS_SERVER_2003:"windows-server-2003",WINDOWS_VISTA:"windows-vista",WINDOWS_7:"windows-7",WINDOWS_8_1:"windows-8-1",WINDOWS_8:"windows-8",WINDOWS_10:"windows-10",WINDOWS_PHONE_7_5:"windows-phone-7-5",WINDOWS_PHONE_8_1:"windows-phone-8-1",WINDOWS_PHONE_10:"windows-phone-10",WINDOWS_NT_4_0:"windows-nt-4-0",MACOSX_11_0:"mac-os-x-11-0",MACOSX_16:"mac-os-x-16",MACOSX_15:"mac-os-x-15",MACOSX_14:"mac-os-x-14",MACOSX_13:"mac-os-x-13",MACOSX_12:"mac-os-x-12",MACOSX_11:"mac-os-x-11",MACOSX_10:"mac-os-x-10",MACOSX_9:"mac-os-x-9",MACOSX_8:"mac-os-x-8",MACOSX_7:"mac-os-x-7",MACOSX_6:"mac-os-x-6",MACOSX_5:"mac-os-x-5",MACOSX_4:"mac-os-x-4",MACOSX_3:"mac-os-x-3",MACOSX_2:"mac-os-x-2",MACOSX:"mac-os-x",iOS:"iOS",ANDROID_9:"android-9",UNKNOWN:uy.UKNOWN.toLowerCase()},xq={WINDOWS:{and:[{or:[/\bWindows|(Win\d\d)\b/,/\bWin 9x\b/]},{not:/\bWindows Phone\b/}]},MAC:{and:[/\bMac OS\b/,{not:{or:[/\biPhone\b/,/\biPad\b/,/\biPod\b/,/\bWindows Phone\b/]}}]},IOS:{and:[{or:[/\biPad\b/,/\biPhone\b/,/\biPod\b/]},{not:/\bWindows Phone\b/}]},ANDROID:{and:[/\bAndroid\b/,{not:/\bWindows Phone\b/}]},LINUX:/\bLinux\b/,UNIX:/\bUNIX\b/,FIREFOX_OS:{and:[/\bFirefox\b/,/Mobile\b/]},CHROME_OS:/\bCrOS\b/,WINDOWS_PHONE:{or:[/\bIEMobile\b/,/\bWindows Phone\b/]},PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,VITA:/\bMozilla\/5.0 \(Play(S|s)tation Vita\b/},pbe=Object.assign(Object.assign(Object.assign(Object.assign({},d2),cy),xq),{FIREFOX_OS:{and:[/\bFirefox\b/,/\bMobile\b/]},CHROME_BOOK:/\bCrOS\b/,PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,CHROMECAST:/\bCrKey\b/,APPLE_TV:/^iTunes-AppleTV\/4.1$/,GOOGLE_TV:/\bGoogleTV\b/,Tesla:/Tesla\/([0-9]{4}.[0-9]{1,2}.?[0-9]{0,2}.?[0-9]{0,2})-(.{7})/,MI_SE_9:/\bXiaomi\b/,MAC:{and:[/\bMac OS\b/,{not:{or:[/\biPhone\b/,/\biPad\b/,/\biPod\b/,/\bWindows Phone\b/]}}]}}),lL={WINDOWS_3_11:/Win16/,WINDOWS_95:/(Windows 95|Win95|Windows_95)/,WINDOWS_ME:/(Win 9x 4.90|Windows ME)/,WINDOWS_98:/(Windows 98|Win98)/,WINDOWS_CE:/Windows CE/,WINDOWS_2000:/(Windows NT 5.0|Windows 2000)/,WINDOWS_XP:/(Windows NT 5.1|Windows XP)/,WINDOWS_SERVER_2003:/Windows NT 5.2/,WINDOWS_VISTA:/Windows NT 6.0/,WINDOWS_7:/(Windows 7|Windows NT 6.1)/,WINDOWS_8_1:/(Windows 8.1|Windows NT 6.3)/,WINDOWS_8:/(Windows 8|Windows NT 6.2)/,WINDOWS_10:/(Windows NT 10.0)/,WINDOWS_PHONE_7_5:/(Windows Phone OS 7.5)/,WINDOWS_PHONE_8_1:/(Windows Phone 8.1)/,WINDOWS_PHONE_10:/(Windows Phone 10)/,WINDOWS_NT_4_0:{and:[/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/,{not:/Windows NT 10.0/}]},MACOSX:/(MAC OS X\s*[^ 0-9])/,MACOSX_3:/(Darwin 10.3|Mac OS X 10.3)/,MACOSX_4:/(Darwin 10.4|Mac OS X 10.4)/,MACOSX_5:/(Mac OS X 10.5)/,MACOSX_6:/(Mac OS X 10.6)/,MACOSX_7:/(Mac OS X 10.7)/,MACOSX_8:/(Mac OS X 10.8)/,MACOSX_9:/(Mac OS X 10.9)/,MACOSX_10:/(Mac OS X 10.10)/,MACOSX_11:/(Mac OS X 10.11)/,MACOSX_12:/(Mac OS X 10.12)/,MACOSX_13:/(Mac OS X 10.13)/,MACOSX_14:/(Mac OS X 10.14)/,MACOSX_15:/(Mac OS X 10.15)/,MACOSX_16:/(Mac OS X 10.16)/,MACOSX_11_0:{or:[/11_0 like Mac OS X/,/Mac OS X 11/]},iOS:/(iPhone OS\s*[0-9_]+)/,ANDROID_9:/(Android 9)/},uL={CHROME:[/\bChrome\/([\d\.]+)\b/,/\bCriOS\/([\d\.]+)\b/,/\bHeadlessChrome\/([\d\.]+)\b/],FIREFOX:[/\bFirefox\/([\d\.]+)\b/,/\bFxiOS\/([\d\.]+)\b/],SAFARI:[/\bVersion\/([\d\.]+)\b/,/\bSafari\/([\d\.]+)\b/],OPERA:[/\bVersion\/([\d\.]+)\b/,/\bOPR\/([\d\.]+)\b/],IE:[/\bMSIE ([\d\.]+\w?)\b/,/\brv:([\d\.]+\w?)\b/],MS_EDGE:/\bEdg(?:e|A|iOS)\/([\d\.]+)\b/,MS_EDGE_CHROMIUM:/\bEdg\/([\d\.]+)\b/,SAMSUNG:/\bSamsungBrowser\/([\d\.]+)\b/,UCBROWSER:/\bUCBrowser\/([\d\.]+)\b/},Eq=function(i,t){return i[t]=lL[t],i},fbe=Object.keys(lL).reduce(Eq,{}),Mq=function(i,t){return i[sL[t]]=uL[t],i},Aq=Object.keys(uL).reduce(Mq,{}),_d=Object.freeze({__proto__:null,GENERAL:uy,BROWSERS:sL,MOBILES_RE:d2,TABLETS_RE:cy,DEVICES:eh,DESKTOP_DEVICES:wq,OS:ube,OS_VERSIONS:cbe,OS_RE:xq,BROWSERS_RE:{CHROME:{and:[{or:[/\bChrome\b/,/\bCriOS\b/,/\bHeadlessChrome\b/]},{not:{or:[/\bOPR\b/,/\bEdg(e|A|iOS)\b/,/\bEdg\/\b/,/\bSamsungBrowser\b/,/\bUCBrowser\b/]}}]},FIREFOX:{or:[/\bFirefox\b/,/\bFxiOS\b/]},SAFARI:{and:[/^((?!CriOS).)*\Safari\b.*$/,{not:{or:[/\bOPR\b/,/\bEdg(e|A|iOS)\b/,/\bEdg\/\b/,/\bWindows Phone\b/,/\bSamsungBrowser\b/,/\bUCBrowser\b/]}}]},OPERA:{or:[/Opera\b/,/\bOPR\b/]},IE:{or:[/\bMSIE\b/,/\bTrident\b/,/^Mozilla\/5\.0 \(Windows NT 10\.0; Win64; x64\)$/]},MS_EDGE:{or:[/\bEdg(e|A|iOS)\b/]},MS_EDGE_CHROMIUM:/\bEdg\/\b/,PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,VITA:/\bMozilla\/5.0 \(Play(S|s)tation Vita\b/,FB_MESSANGER:/\bFBAN\/MessengerForiOS\b/,SAMSUNG:/\bSamsungBrowser\b/,UCBROWSER:/\bUCBrowser\b/},DEVICES_RE:pbe,OS_VERSIONS_RE_MAP:lL,BROWSER_VERSIONS_RE_MAP:uL,OS_VERSIONS_RE:fbe,BROWSER_VERSIONS_RE:Aq,"\u02750":Eq,"\u02751":Mq}),hbe=function(){function r(){(0,v.Z)(this,r)}return(0,g.Z)(r,[{key:"test",value:function(t,n){var a=this;return"string"==typeof n&&(n=new RegExp(n)),n instanceof RegExp?n.test(t):n&&Array.isArray(n.and)?n.and.every(function(o){return a.test(t,o)}):n&&Array.isArray(n.or)?n.or.some(function(o){return a.test(t,o)}):!(!n||!n.not||this.test(t,n.not))}},{key:"exec",value:function(t,n){var a=this;return"string"==typeof n&&(n=new RegExp(n)),n instanceof RegExp?n.exec(t):n&&Array.isArray(n)?n.reduce(function(o,s){return o||a.exec(t,s)},null):null}}]),r}(),cv=function(){return function(r){r.Mobile="mobile",r.Tablet="tablet",r.Desktop="desktop",r.Unknown="unknown"}(cv||(cv={})),cv}(),dS=function(){return function(r){r.Portrait="portrait",r.Landscape="landscape"}(dS||(dS={})),dS}(),cL="iPad",mbe=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.platformId=t,this.ua="",this.userAgent="",this.os="",this.browser="",this.device="",this.os_version="",this.browser_version="",this.reTree=new hbe,this.deviceType="",this.orientation="",(0,Pt.NF)(this.platformId)&&"undefined"!=typeof window&&(this.userAgent=window.navigator.userAgent),this.setDeviceInfo(this.userAgent)}return(0,g.Z)(i,[{key:"setDeviceInfo",value:function(){var n=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.userAgent;a!==this.userAgent&&(this.userAgent=a);var o=[{const:"OS",prop:"os"},{const:"BROWSERS",prop:"browser"},{const:"DEVICES",prop:"device"},{const:"OS_VERSIONS",prop:"os_version"}];if(o.forEach(function(d){n[d.prop]=Object.keys(_d[d.const]).reduce(function(h,C){return"device"===_d[d.const][C]&&(0,Pt.NF)(n.platformId)&&(n.reTree.test(n.userAgent,cy[cL])||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)?(h[_d[d.const][C]]=cL,Object):(h[_d[d.const][C]]=n.reTree.test(a,_d["".concat(d.const,"_RE")][C]),h)},{})}),o.forEach(function(d){n[d.prop]=Object.keys(_d[d.const]).map(function(h){return _d[d.const][h]}).reduce(function(h,C){return"device"===d.prop&&h===_d[d.const].ANDROID?n[d.prop][C]?C:h:h===_d[d.const].UNKNOWN&&n[d.prop][C]?C:h},_d[d.const].UNKNOWN)}),this.browser_version="0",this.browser!==sL.UNKNOWN){var s=Aq[this.browser],l=this.reTree.exec(a,s);l&&(this.browser_version=l[1])}this.orientation="undefined"!=typeof window&&window.matchMedia?window.matchMedia("(orientation: landscape)").matches?dS.Landscape:dS.Portrait:uy.UKNOWN,this.deviceType=this.isTablet()?cv.Tablet:this.isMobile(this.userAgent)?cv.Mobile:this.isDesktop(this.userAgent)?cv.Desktop:cv.Unknown}},{key:"getDeviceInfo",value:function(){return{userAgent:this.userAgent,os:this.os,browser:this.browser,device:this.device,os_version:this.os_version,browser_version:this.browser_version,deviceType:this.deviceType,orientation:this.orientation}}},{key:"isMobile",value:function(){var n=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.userAgent;if(this.isTablet(a))return!1;var o=Object.keys(d2).find(function(s){return n.reTree.test(a,d2[s])});return!!o}},{key:"isTablet",value:function(){var n=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.userAgent;if((0,Pt.NF)(this.platformId)&&(this.reTree.test(this.userAgent,cy[cL])||"undefined"!=typeof navigator&&"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1))return!0;var o=Object.keys(cy).find(function(s){return!!n.reTree.test(a,cy[s])});return!!o}},{key:"isDesktop",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.userAgent;return(this.device!==eh.UNKNOWN||!this.isMobile(n)&&!this.isTablet(n))&&wq.indexOf(this.device)>-1}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(e.Lbi))},r.\u0275prov=e.Yz7({factory:function(){return new r(e.LFG(e.Lbi))},token:r,providedIn:"root"}),r}();function vbe(r,i){1&r&&(e.TgZ(0,"mat-error"),e._uU(1,"Name for screenshot is required"),e.qZA())}function gbe(r,i){1&r&&(e.TgZ(0,"mat-error"),e._uU(1,"Entered name is incorrect"),e.qZA())}var _be=function(i){return{"is-invalid":i}},ybe=function(){var r=function(){function i(t,n,a,o,s){(0,v.Z)(this,i),this.dialogRef=t,this.toasterService=n,this.formBuilder=a,this.electronService=o,this.deviceService=s,this.filetype="svg",this.nameForm=this.formBuilder.group({screenshotName:new re.NI("screenshot-".concat(Date.now()),[re.kI.required])}),this.isPngAvailable=this.electronService.isWindows||"Windows"===this.deviceService.getDeviceInfo().os}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){}},{key:"form",get:function(){return this.nameForm.controls}},{key:"onAddClick",value:function(){if(!this.nameForm.invalid){var n={name:this.nameForm.get("screenshotName").value,filetype:this.filetype};this.dialogRef.close(n)}}},{key:"onNoClick",value:function(){this.dialogRef.close()}},{key:"onKeyDown",value:function(n){"Enter"===n.key&&this.onAddClick()}},{key:"setFiletype",value:function(n){this.isPngAvailable&&(this.filetype=n)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(Yn),e.Y36(re.qu),e.Y36(gs),e.Y36(mbe))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-screenshot-dialog"]],decls:17,vars:7,consts:[["mat-dialog-title",""],["aria-label","Sorting",1,"radio-group"],["value","1","checked","",3,"click"],["value","2",3,"disabled","click"],[1,"name-form",3,"formGroup"],[1,"name-form"],["matInput","","type","text","formControlName","screenshotName","placeholder","Please enter name",3,"ngClass","keydown"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1,"Take a screenshot"),e.qZA(),e.TgZ(2,"mat-radio-group",1),e.TgZ(3,"mat-radio-button",2),e.NdJ("click",function(){return n.setFiletype("svg")}),e._uU(4,"SVG"),e.qZA(),e.TgZ(5,"mat-radio-button",3),e.NdJ("click",function(){return n.setFiletype("png")}),e._uU(6,"PNG"),e.qZA(),e.qZA(),e.TgZ(7,"form",4),e.TgZ(8,"mat-form-field",5),e.TgZ(9,"input",6),e.NdJ("keydown",function(o){return n.onKeyDown(o)}),e.qZA(),e.YNc(10,vbe,2,0,"mat-error",7),e.YNc(11,gbe,2,0,"mat-error",7),e.qZA(),e.TgZ(12,"div",8),e.TgZ(13,"button",9),e.NdJ("click",function(){return n.onNoClick()}),e._uU(14,"Cancel"),e.qZA(),e.TgZ(15,"button",10),e.NdJ("click",function(){return n.onAddClick()}),e._uU(16,"Take a screenshot"),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(5),e.Q6J("disabled",!n.isPngAvailable),e.xp6(2),e.Q6J("formGroup",n.nameForm),e.xp6(2),e.Q6J("ngClass",e.VKq(5,_be,null==n.form.acreenshotName?null:n.form.acreenshotName.errors)),e.xp6(1),e.Q6J("ngIf",(null==n.form.screenshotName?null:n.form.screenshotName.touched)&&(null==n.form.screenshotName?null:n.form.screenshotName.errors)&&(null==n.form.screenshotName?null:n.form.screenshotName.errors.required)),e.xp6(1),e.Q6J("ngIf",(null==n.form.screenshotName?null:n.form.screenshotName.touched)&&(null==n.form.screenshotName?null:n.form.screenshotName.errors)&&(null==n.form.acreenshotName?null:n.form.acreenshotName.errors.invalidName)))},directives:[ii,El,Ml,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,Pt.mk,Pt.O5,ti,En,Ln.TO],styles:[".name-form[_ngcontent-%COMP%]{width:100%}.radio-group[_ngcontent-%COMP%]{display:flex;justify-content:space-between}"]}),r}(),Dq=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"getDrawingElement",value:function(){var n=new ov;return n.height=100,n.width=100,n.fill="#000000",n.fill_opacity=0,n.font_family="Noto Sans",n.font_size=11,n.font_weight="bold",n}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Oq=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"getDrawingElement",value:function(){var n=new Ma;return n.fill="#ffffff",n.fill_opacity=1,n.stroke="#000000",n.stroke_width=2,n.cx=100,n.cy=100,n.rx=100,n.ry=100,n.width=200,n.height=200,n}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Pq=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"getDrawingElement",value:function(){var n=new Tp;return n.fill="#ffffff",n.fill_opacity=1,n.stroke="#000000",n.stroke_width=2,n.width=200,n.height=100,n}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Iq=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"getDrawingElement",value:function(){var n=new av;return n.stroke="#000000",n.stroke_width=2,n.x1=0,n.x2=200,n.y1=0,n.y2=0,n.width=100,n.height=0,n}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),dL=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this.textElementFactory=t,this.ellipseElementFactory=n,this.rectangleElementFactory=a,this.lineElementFactory=o,this.availableFactories={text:this.textElementFactory,ellipse:this.ellipseElementFactory,rectangle:this.rectangleElementFactory,line:this.lineElementFactory}}return(0,g.Z)(i,[{key:"getDrawingMock",value:function(n){this.factory=this.availableFactories[n];var a=new Qf;return a.element=this.factory.getDrawingElement(),a}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(Dq),e.LFG(Oq),e.LFG(Pq),e.LFG(Iq))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),bbe=function(){var r=function(){function i(t,n,a,o,s){(0,v.Z)(this,i),this.drawingService=t,this.drawingsDataSource=n,this.drawingsEventSource=a,this.drawingsFactory=o,this.mapDrawingToSvgConverter=s,this.drawingSaved=new e.vpe}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.pointToAddSelected=this.drawingsEventSource.pointToAddSelected.subscribe(function(a){return n.onDrawingSaved(a)})}},{key:"ngOnChanges",value:function(n){n.selectedDrawing&&!n.selectedDrawing.isFirstChange()&&(this.selectedDrawing=n.selectedDrawing.currentValue,"text"!==this.selectedDrawing&&this.drawingsEventSource.selected.emit(this.selectedDrawing))}},{key:"onDrawingSaved",value:function(n){var a=this,o=this.drawingsFactory.getDrawingMock(this.selectedDrawing),s=this.mapDrawingToSvgConverter.convert(o);this.drawingService.add(this.server,this.project.project_id,n.x,n.y,s).subscribe(function(l){a.drawingsDataSource.add(l),a.drawingSaved.emit(!0)})}},{key:"ngOnDestroy",value:function(){this.pointToAddSelected.unsubscribe()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Fs),e.Y36(Bs),e.Y36(kc),e.Y36(dL),e.Y36(lv))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-drawing-added"]],inputs:{server:"server",project:"project",selectedDrawing:"selectedDrawing"},outputs:{drawingSaved:"drawingSaved"},features:[e.TTD],decls:0,vars:0,template:function(t,n){},styles:[""]}),r}(),Rq=function(i){return{selected:i}};function Cbe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"button",12),e.NdJ("click",function(){return e.CHM(t),e.oxw().addDrawing("line")}),e.O4$(),e.TgZ(1,"svg",13),e._UZ(2,"line",14),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(2),e.Q6J("ngClass",e.VKq(1,Rq,n.drawTools.isLineChosen))}}function Sbe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"button",12),e.NdJ("click",function(){return e.CHM(t),e.oxw().addDrawing("line")}),e.O4$(),e.TgZ(1,"svg",13),e._UZ(2,"line",15),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(2),e.Q6J("ngClass",e.VKq(1,Rq,n.drawTools.isLineChosen))}}var Tbe=function(i,t){return{unmarkedLight:i,marked:t}},kbe=function(i){return{unmarkedLight:i}},Nq=function(){var r=function(){function i(t,n,a,o,s,l){(0,v.Z)(this,i),this.toolsService=t,this.mapSettingsService=n,this.drawingService=a,this.symbolService=o,this.dialog=s,this.themeService=l,this.drawTools={isRectangleChosen:!1,isEllipseChosen:!1,isLineChosen:!1,isTextChosen:!1},this.isLocked=!1,this.isLightThemeEnabled=!1}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){this.isLightThemeEnabled="light"===this.themeService.getActualTheme()}},{key:"getCssClassForIcon",value:function(n){return"text"===n?{unmarkedLight:!this.drawTools.isTextChosen&&this.isLightThemeEnabled,marked:this.drawTools.isTextChosen}:"rectangle"===n?{unmarkedLight:!this.drawTools.isRectangleChosen&&this.isLightThemeEnabled,marked:this.drawTools.isRectangleChosen}:{unmarkedLight:!this.drawTools.isEllipseChosen&&this.isLightThemeEnabled,marked:this.drawTools.isEllipseChosen}}},{key:"takeScreenshot",value:function(){var n=this;this.dialog.open(ybe,{width:"400px",autoFocus:!1,disableClose:!0}).afterClosed().subscribe(function(o){o&&n.saveImage(o)})}},{key:"saveImage",value:function(n){return(0,Sa.mG)(this,void 0,void 0,k().mark(function a(){var o,s,l,d,C,P,N;return k().wrap(function(se){for(;;)switch(se.prev=se.next){case 0:if("png"!==n.filetype){se.next=21;break}o=document.getElementsByTagName("svg")[0].outerHTML.split("image"),s=1;case 3:if(!(s<o.length)){se.next=14;break}return l=o[s].split('"'),d=l[1].split("/"),se.next=8,this.symbolService.raw(this.server,d[7]).toPromise();case 8:C=se.sent.split("--\x3e"),o[s]=C[1].substring(2),s+=2,se.next=3;break;case 14:P=o.join(),(N=document.createElement("div")).innerHTML=P,Y0e.saveSvgAsPng(N.firstChild,"".concat(n.name,".png")),se.next=23;break;case 21:$r("svg").attr("version",1.1).attr("xmlns","http://www.w3.org/2000/svg").node(),lbe($r("svg").node(),"".concat(n.name));case 23:case"end":return se.stop()}},a,this)}))}},{key:"addDrawing",value:function(n){switch(n){case"rectangle":this.drawTools.isTextChosen=!1,this.drawTools.isEllipseChosen=!1,this.drawTools.isRectangleChosen=!this.drawTools.isRectangleChosen,this.drawTools.isLineChosen=!1;break;case"ellipse":this.drawTools.isTextChosen=!1,this.drawTools.isEllipseChosen=!this.drawTools.isEllipseChosen,this.drawTools.isRectangleChosen=!1,this.drawTools.isLineChosen=!1;break;case"line":this.drawTools.isTextChosen=!1,this.drawTools.isEllipseChosen=!1,this.drawTools.isRectangleChosen=!1,this.drawTools.isLineChosen=!this.drawTools.isLineChosen;break;case"text":this.drawTools.isTextChosen=!this.drawTools.isTextChosen,this.drawTools.isEllipseChosen=!1,this.drawTools.isRectangleChosen=!1,this.drawTools.isLineChosen=!1,this.toolsService.textAddingToolActivation(this.drawTools.isTextChosen)}this.selectedDrawing=this.selectedDrawing===n?"":n}},{key:"onDrawingSaved",value:function(){this.resetDrawToolChoice()}},{key:"resetDrawToolChoice",value:function(){this.drawTools.isRectangleChosen=!1,this.drawTools.isEllipseChosen=!1,this.drawTools.isLineChosen=!1,this.drawTools.isTextChosen=!1,this.selectedDrawing="",this.toolsService.textAddingToolActivation(this.drawTools.isTextChosen)}},{key:"changeLockValue",value:function(){this.isLocked=!this.isLocked,this.mapSettingsService.changeMapLockValue(this.isLocked)}},{key:"uploadImageFile",value:function(n){this.readImageFile(n.target)}},{key:"readImageFile",value:function(n){var a=this,o=n.files[0],s=new FileReader,l=new Image;s.onloadend=function(){var h=a.createSvgFileForImage(s.result,l);a.drawingService.add(a.server,a.project.project_id,-l.width/2,-l.height/2,h).subscribe(function(){})},l.onload=function(){s.readAsDataURL(o)},l.src=window.URL.createObjectURL(o)}},{key:"createSvgFileForImage",value:function(n,a){return'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="'.concat(a.height,'" \n                width="').concat(a.width,'">\n<image height="').concat(a.height,'" width="').concat(a.width,'" xlink:href="').concat(n,'"/>\n</svg>')}},{key:"ngOnDestroy",value:function(){}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(sS),e.Y36(Nu),e.Y36(Fs),e.Y36(J1),e.Y36(ca),e.Y36(Ru.f))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-project-map-menu"]],inputs:{project:"project",server:"server"},decls:24,vars:15,consts:[["matTooltip","Add a note","matTooltipClass","custom-tooltip","mat-icon-button","",1,"menu-button",3,"click"],[3,"ngClass"],["type","file","accept",".svg, .bmp, .jpeg, .jpg, .gif, .png",1,"non-visible",3,"change"],["file",""],["matTooltip","Insert a picture","matTooltipClass","custom-tooltip","mat-icon-button","",1,"menu-button",3,"click"],["matTooltip","Draw a rectangle","matTooltipClass","custom-tooltip","mat-icon-button","",1,"menu-button",3,"click"],["matTooltip","Draw an ellipse","matTooltipClass","custom-tooltip","mat-icon-button","",1,"menu-button",3,"click"],["matTooltip","Draw a line","matTooltipClass","custom-tooltip","mat-icon-button","","class","menu-button",3,"click",4,"ngIf"],["matTooltip","Lock or unlock all items","matTooltipClass","custom-tooltip","mat-icon-button","",1,"menu-button",3,"click"],["matTooltip","Take a screenshot","matTooltipClass","custom-tooltip","mat-icon-button","",1,"menu-button",3,"click"],[3,"server","project","selectedDrawing","drawingSaved"],["id","crowbar-workspace"],["matTooltip","Draw a line","matTooltipClass","custom-tooltip","mat-icon-button","",1,"menu-button",3,"click"],["height","40","width","40"],["x1","30","y1","10","x2","10","y2","30",2,"stroke","white","stroke-width","2",3,"ngClass"],["x1","30","y1","10","x2","10","y2","30",2,"stroke","black","stroke-width","2",3,"ngClass"]],template:function(t,n){if(1&t){var a=e.EpF();e.TgZ(0,"button",0),e.NdJ("click",function(){return n.addDrawing("text")}),e.TgZ(1,"mat-icon",1),e._uU(2,"create"),e.qZA(),e.qZA(),e.TgZ(3,"input",2,3),e.NdJ("change",function(s){return n.uploadImageFile(s)}),e.qZA(),e.TgZ(5,"button",4),e.NdJ("click",function(){return e.CHM(a),e.MAs(4).click()}),e.TgZ(6,"mat-icon"),e._uU(7,"image"),e.qZA(),e.qZA(),e.TgZ(8,"button",5),e.NdJ("click",function(){return n.addDrawing("rectangle")}),e.TgZ(9,"mat-icon",1),e._uU(10,"crop_3_2"),e.qZA(),e.qZA(),e.TgZ(11,"button",6),e.NdJ("click",function(){return n.addDrawing("ellipse")}),e.TgZ(12,"mat-icon",1),e._uU(13,"panorama_fish_eye"),e.qZA(),e.qZA(),e.YNc(14,Cbe,3,3,"button",7),e.YNc(15,Sbe,3,3,"button",7),e.TgZ(16,"button",8),e.NdJ("click",function(){return n.changeLockValue()}),e.TgZ(17,"mat-icon",1),e._uU(18,"lock"),e.qZA(),e.qZA(),e.TgZ(19,"button",9),e.NdJ("click",function(){return n.takeScreenshot()}),e.TgZ(20,"mat-icon",1),e._uU(21,"photo_camera"),e.qZA(),e.qZA(),e.TgZ(22,"app-drawing-added",10),e.NdJ("drawingSaved",function(){return n.onDrawingSaved()}),e.qZA(),e._UZ(23,"div",11)}2&t&&(e.xp6(1),e.Q6J("ngClass",n.getCssClassForIcon("text")),e.xp6(8),e.Q6J("ngClass",n.getCssClassForIcon("rectangle")),e.xp6(3),e.Q6J("ngClass",n.getCssClassForIcon("ellipse")),e.xp6(2),e.Q6J("ngIf",!n.isLightThemeEnabled),e.xp6(1),e.Q6J("ngIf",n.isLightThemeEnabled),e.xp6(2),e.Q6J("ngClass",e.WLB(10,Tbe,!n.isLocked&&n.isLightThemeEnabled,n.isLocked)),e.xp6(3),e.Q6J("ngClass",e.VKq(13,kbe,!n.isLocked&&n.isLightThemeEnabled)),e.xp6(2),e.Q6J("server",n.server)("project",n.project)("selectedDrawing",n.selectedDrawing))},directives:[En,ts,er,Pt.mk,Pt.O5,bbe],styles:[".non-visible[_ngcontent-%COMP%]{display:none}.unmarked[_ngcontent-%COMP%]{color:#fff!important}.unmarkedLight[_ngcontent-%COMP%]{color:#000!important}.marked[_ngcontent-%COMP%]{color:#0097a7!important}"],changeDetection:0}),r}(),pL=function(){var r=function(){function i(t,n,a){(0,v.Z)(this,i),this.nodesDataSource=t,this.linksDataSource=n,this.drawingsDataSource=a,this.nodeNotificationEmitter=new e.vpe,this.linkNotificationEmitter=new e.vpe,this.drawingNotificationEmitter=new e.vpe,this.infoNotificationEmitter=new e.vpe,this.warningNotificationEmitter=new e.vpe,this.errorNotificationEmitter=new e.vpe}return(0,g.Z)(i,[{key:"handleMessage",value:function(n){"node.updated"===n.action&&(this.nodesDataSource.update(n.event),this.nodeNotificationEmitter.emit(n)),"node.created"===n.action&&(this.nodesDataSource.add(n.event),this.nodeNotificationEmitter.emit(n)),"node.deleted"===n.action&&(this.nodesDataSource.remove(n.event),this.nodeNotificationEmitter.emit(n)),"link.created"===n.action&&(this.linksDataSource.add(n.event),this.linkNotificationEmitter.emit(n)),"link.updated"===n.action&&(this.linksDataSource.update(n.event),this.linkNotificationEmitter.emit(n)),"link.deleted"===n.action&&(this.linksDataSource.remove(n.event),this.linkNotificationEmitter.emit(n)),"drawing.created"===n.action&&(this.drawingsDataSource.add(n.event),this.drawingNotificationEmitter.emit(n)),"drawing.updated"===n.action&&(this.drawingsDataSource.update(n.event),this.drawingNotificationEmitter.emit(n)),"drawing.deleted"===n.action&&(this.drawingsDataSource.remove(n.event),this.drawingNotificationEmitter.emit(n)),"log.error"===n.action&&this.errorNotificationEmitter.emit(n.event.message),"log.warning"===n.action&&this.warningNotificationEmitter.emit(n.event.message),"log.info"===n.action&&this.infoNotificationEmitter.emit(n.event.message)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(Ao.G),e.LFG(Kf.F),e.LFG(Bs))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),wbe=function r(){(0,v.Z)(this,r)},xbe=function r(){(0,v.Z)(this,r)},pS=function(){var r=function(){function i(t,n,a){(0,v.Z)(this,i),this.fontBBoxCalculator=t,this.cssFixer=n,this.fontFixer=a}return(0,g.Z)(i,[{key:"convert",value:function(n){var a=this.cssFixer.fix(n.style),o=this.fontFixer.fixStyles(a),s=this.fontBBoxCalculator.calculate(n.text,o),l=new xbe;return l.rotation=n.rotation,l.style=n.style,l.text=n.text,l.x=n.x,l.y=n.y,null!==l.x&&(l.x-=3),null!==l.y&&(l.y-=s.height),l}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG($1),e.LFG(Jf),e.LFG(Sc))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Ebe=function r(){(0,v.Z)(this,r)},fL=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"convert",value:function(n){var a=new Ebe;return a.adapter_number=n.adapterNumber,a.link_type=n.linkType,a.name=n.name,a.port_number=n.portNumber,a.short_name=n.shortName,a}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),p2=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.mapLabelToLabel=t,this.mapPortToPort=n}return(0,g.Z)(i,[{key:"convert",value:function(n){var a=this,o=new wbe;return o.node_id=n.id,o.command_line=n.commandLine,o.compute_id=n.computeId,o.console=n.console,o.console_host=n.consoleHost,o.console_type=n.consoleType,o.first_port_name=n.firstPortName,o.height=n.height,o.label=n.label?this.mapLabelToLabel.convert(n.label):void 0,o.locked=n.locked,o.name=n.name,o.node_directory=n.nodeDirectory,o.node_type=n.nodeType,o.port_name_format=n.portNameFormat,o.port_segment_size=n.portSegmentSize,o.ports=n.ports?n.ports.map(function(s){return a.mapPortToPort.convert(s)}):[],o.project_id=n.projectId,o.status=n.status,o.symbol=n.symbol,o.symbol_url=n.symbolUrl,o.usage=n.usage,o.width=n.width,o.x=n.x,o.y=n.y,o.z=n.z,o}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(pS),e.LFG(fL))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Mbe=function r(){(0,v.Z)(this,r)},Zq=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"convert",value:function(n){var a=new Mbe;return a.drawing_id=n.id,a.project_id=n.projectId,a.rotation=n.rotation,a.svg=n.svg,a.locked=n.locked,a.x=n.x,a.y=n.y,a.z=n.z,a.element=n.element,a}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Abe=function r(){(0,v.Z)(this,r)},Dbe=function r(){(0,v.Z)(this,r)},hL=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.mapLabelToLabel=t}return(0,g.Z)(i,[{key:"convert",value:function(n){var a=new Dbe;return a.node_id=n.nodeId,a.adapter_number=n.adapterNumber,a.port_number=n.portNumber,a.label=this.mapLabelToLabel.convert(n.label),a}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(pS))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Lq=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.mapLinkNodeToMapLinkNode=t}return(0,g.Z)(i,[{key:"convert",value:function(n){var a=this,o=new Abe;return o.link_id=n.id,o.capture_file_name=n.captureFileName,o.capture_file_path=n.captureFilePath,o.capturing=n.capturing,o.filters=n.filters,o.link_type=n.linkType,o.nodes=n.nodes.map(function(s){return a.mapLinkNodeToMapLinkNode.convert(s)}),o.project_id=n.projectId,o.suspend=n.suspend,o}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(hL))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),f2=f(72929),Fq=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.fontBBCalculator=t,this.MARGIN_BETWEEN_NODE_AND_LABEL=8}return(0,g.Z)(i,[{key:"fix",value:function(n){n.label.style="font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;";var a=this.fontBBCalculator.calculate(n.label.text,n.label.style);return n.label.x=n.width/2-a.width/2,n.label.y=-a.height-this.MARGIN_BETWEEN_NODE_AND_LABEL,n}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG($1))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Bq=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"notificationsPath",value:function(n){var a="ws";return"https:"===n.protocol&&(a="wss"),"".concat(a,"://").concat(n.host,":").concat(n.port,"/v2/notifications/ws")}},{key:"projectNotificationsPath",value:function(n,a){var o="ws";return"https:"===n.protocol&&(o="wss"),"".concat(o,"://").concat(n.host,":").concat(n.port,"/v2/projects/").concat(a,"/notifications/ws")}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Obe=function(){var r=function(){function i(t,n,a,o,s,l,d,h){(0,v.Z)(this,i),this.nodeService=t,this.nodeConsoleService=n,this.nodesDataSource=a,this.toasterService=o,this.serverService=s,this.settingsService=l,this.mapSettingsService=d,this.electronService=h}return(0,g.Z)(i,[{key:"startConsoleForAllNodes",value:function(){return(0,Sa.mG)(this,void 0,void 0,k().mark(function n(){var a,o,s,l,d,h;return k().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:if(!this.electronService.isElectronApp){P.next=23;break}a=this.settingsService.getConsoleSettings()?this.settingsService.getConsoleSettings():this.nodeService.getDefaultCommand(),o=this.nodesDataSource.getItems(),s=(0,E.Z)(o),P.prev=4,s.s();case 6:if((l=s.n()).done){P.next=13;break}return h={command:a,type:(d=l.value).console_type,host:d.console_host,port:d.console,name:d.name,project_id:d.project_id,node_id:d.node_id,server_url:this.serverService.getServerUrl(this.server)},P.next=11,this.electronService.remote.require("./console-executor.js").openConsole(h);case 11:P.next=6;break;case 13:P.next=18;break;case 15:P.prev=15,P.t0=P.catch(4),s.e(P.t0);case 18:return P.prev=18,s.f(),P.finish(18);case 21:P.next=24;break;case 23:this.mapSettingsService.openConsolesInWidget?this.nodeConsoleService.openConsolesForAllNodesInWidget(this.nodesDataSource.getItems()):this.nodeConsoleService.openConsolesForAllNodesInNewTabs(this.nodesDataSource.getItems());case 24:case"end":return P.stop()}},n,this,[[4,15,18,21]])}))}},{key:"startNodes",value:function(){var n=this;this.nodeService.startAll(this.server,this.project).subscribe(function(){n.toasterService.success("All nodes successfully started")})}},{key:"stopNodes",value:function(){var n=this;this.nodeService.stopAll(this.server,this.project).subscribe(function(){n.toasterService.success("All nodes successfully stopped")})}},{key:"suspendNodes",value:function(){var n=this;this.nodeService.suspendAll(this.server,this.project).subscribe(function(){n.toasterService.success("All nodes successfully suspended")})}},{key:"reloadNodes",value:function(){var n=this;this.nodeService.reloadAll(this.server,this.project).subscribe(function(){n.toasterService.success("All nodes successfully reloaded")})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Yr),e.Y36(gd),e.Y36(Ao.G),e.Y36(Yn),e.Y36(Vr),e.Y36(wp.g),e.Y36(Nu),e.Y36(gs))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-nodes-menu"]],inputs:{project:"project",server:"server"},decls:16,vars:0,consts:[[1,"menu-button-group"],["matTooltip","Console connect to all nodes","matTooltipClass","custom-tooltip","mat-icon-button","",1,"menu-button",3,"click"],["matTooltip","Start/Resume all nodes","matTooltipClass","custom-tooltip","mat-icon-button","",1,"menu-button",3,"click"],["matTooltip","Suspend all nodes","matTooltipClass","custom-tooltip","mat-icon-button","",1,"menu-button",3,"click"],["matTooltip","Stop all nodes","matTooltipClass","custom-tooltip","mat-icon-button","",1,"menu-button",3,"click"],["matTooltip","Reload all nodes","matTooltipClass","custom-tooltip","mat-icon-button","",1,"menu-button",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"button",1),e.NdJ("click",function(){return n.startConsoleForAllNodes()}),e.TgZ(2,"mat-icon"),e._uU(3,"web_asset"),e.qZA(),e.qZA(),e.TgZ(4,"button",2),e.NdJ("click",function(){return n.startNodes()}),e.TgZ(5,"mat-icon"),e._uU(6,"play_arrow"),e.qZA(),e.qZA(),e.TgZ(7,"button",3),e.NdJ("click",function(){return n.suspendNodes()}),e.TgZ(8,"mat-icon"),e._uU(9,"pause"),e.qZA(),e.qZA(),e.TgZ(10,"button",4),e.NdJ("click",function(){return n.stopNodes()}),e.TgZ(11,"mat-icon"),e._uU(12,"stop"),e.qZA(),e.qZA(),e.TgZ(13,"button",5),e.NdJ("click",function(){return n.reloadNodes()}),e.TgZ(14,"mat-icon"),e._uU(15,"replay"),e.qZA(),e.qZA(),e.qZA())},directives:[En,ts,er],styles:[".menu-button[_ngcontent-%COMP%]{margin:0 5px!important}.marked[_ngcontent-%COMP%]{color:#0097a7!important}"],changeDetection:0}),r}(),Pbe=function(){var r=function(){function i(t,n,a,o,s){(0,v.Z)(this,i),this.toasterService=t,this.dockerService=n,this.qemuService=a,this.iouService=o,this.iosService=s}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.uploader=new qm({}),this.uploader.onAfterAddingFile=function(a){a.withCredentials=!1},this.uploader.onErrorItem=function(a,o,s,l){n.toasterService.error("An error has occured")},this.uploader.onCompleteItem=function(a,o,s,l){"qemu"===n.template.template_type?n.qemuService.addTemplate(n.server,n.template).subscribe(function(){return n.onUploadComplete()}):"iou"===n.template.template_type?n.iouService.addTemplate(n.server,n.template).subscribe(function(){return n.onUploadComplete()}):"dynamips"===n.template.template_type?n.iosService.addTemplate(n.server,n.template).subscribe(function(){return n.onUploadComplete()}):"docker"===n.template.template_type&&n.dockerService.addTemplate(n.server,n.template).subscribe(function(){return n.onUploadComplete()})}}},{key:"onUploadComplete",value:function(){this.toasterService.success("Appliance imported successfully"),this.uploader.queue=[]}},{key:"uploadAppliance",value:function(n){var d,a=this,o=n.target.files[0],s=o.name,l=new FileReader;l.onloadend=function(){var h=JSON.parse(l.result);if(h.qemu)(d=new A6).template_type="qemu",d.adapter_type=h.qemu.adapter_type,d.adapters=h.qemu.adapters,d.ram=h.qemu.ram,d.options=h.qemu.options,d.console_type=h.qemu.console_type;else if(h.iou)(d=new E6).template_type="iou",d.console_type=h.iou.console_type,d.console_auto_start=h.iou.console_auto_start,d.ethernet_adapters=h.iou.ethernet_adapters,d.l1_keepalives=h.iou.l1_keepalives,d.nvram=h.iou.nvram,d.ram=h.iou.ram,d.serial_adapters=h.iou.serial_adapters;else if(h.dynamips)(d=new x6).template_type="dynamips",d.platform=h.dynamips.platform,d.ram=h.dynamips.ram,d.nvram=h.dynamips.nvram,d.startup_config=h.dynamips.startup_config,d.wic0=h.dynamips.wic0,d.wic1=h.dynamips.wic1,d.wic2=h.dynamips.wic2,d.slot0=h.dynamips.slot0,d.slot1=h.dynamips.slot1,d.slot2=h.dynamips.slot2,d.slot3=h.dynamips.slot3,d.slot4=h.dynamips.slot4,d.slot5=h.dynamips.slot5,d.slot6=h.dynamips.slot6,d.slot7=h.dynamips.slot7;else{if(!h.docker)return void a.toasterService.error("Template type not supported");(d=new k6).template_type="docker",d.adapters=h.docker.adapters,d.console_type=h.docker.console_type,d.image=h.docker.image}d.name=h.name,d.category=h.category,d.builtin=!1,d.default_name_format="{name}-{0}",d.compute_id="vm",d.symbol="guest"===d.category?":/symbols/computer.svg":":/symbols/".concat(d.category,"_guest.svg"),a.template=d;var P=a.getUploadPath(a.server,d.template_type,s);a.uploader.queue.forEach(function(q){return q.url=P}),a.uploader.uploadItem(a.uploader.queue[0])},l.readAsText(o)}},{key:"getUploadPath",value:function(n,a,o){return"".concat(n.protocol,"//").concat(n.host,":").concat(n.port,"/v2/").concat(a,"/images/").concat(o)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Yn),e.Y36(Xm),e.Y36(Sp),e.Y36(tv),e.Y36(ev))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-import-appliance"]],inputs:{project:"project",server:"server"},decls:0,vars:0,template:function(t,n){},styles:[""]}),r}(),Ibe=function(){var r=function(){function i(t,n,a){(0,v.Z)(this,i),this.drawingService=t,this.drawingsDataSource=n,this.drawingsEventSource=a}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.drawingDragged=this.drawingsEventSource.dragged.subscribe(function(a){return n.onDrawingDragged(a)})}},{key:"onDrawingDragged",value:function(n){var a=this,o=this.drawingsDataSource.get(n.datum.id);o.x+=n.dx,o.y+=n.dy,this.drawingService.updatePosition(this.server,this.project,o,o.x,o.y).subscribe(function(s){a.drawingsDataSource.update(s)})}},{key:"ngOnDestroy",value:function(){this.drawingDragged.unsubscribe()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Fs),e.Y36(Bs),e.Y36(kc))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-drawing-dragged"]],inputs:{server:"server",project:"project"},decls:0,vars:0,template:function(t,n){},styles:[""]}),r}(),Rbe=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this.drawingService=t,this.drawingsDataSource=n,this.drawingsEventSource=a,this.mapDrawingToSvgConverter=o}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.drawingResized=this.drawingsEventSource.resized.subscribe(function(a){return n.onDrawingResized(a)})}},{key:"onDrawingResized",value:function(n){var a=this,o=this.drawingsDataSource.get(n.datum.id),s=this.mapDrawingToSvgConverter.convert(n.datum);this.drawingService.updateSizeAndPosition(this.server,o,n.x,n.y,s).subscribe(function(l){a.drawingsDataSource.update(l)})}},{key:"ngOnDestroy",value:function(){this.drawingResized.unsubscribe()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Fs),e.Y36(Bs),e.Y36(kc),e.Y36(lv))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-drawing-resized"]],inputs:{server:"server"},decls:0,vars:0,template:function(t,n){},styles:[""]}),r}(),Nbe=function(){var r=function(){function i(t,n,a){(0,v.Z)(this,i),this.linkService=t,this.linksDataSource=n,this.linksEventSource=a}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.interfaceDragged=this.linksEventSource.interfaceDragged.subscribe(function(a){return n.onInterfaceLabelDragged(a)})}},{key:"onInterfaceLabelDragged",value:function(n){var a=this,o=this.linksDataSource.get(n.datum.linkId);o.nodes[0].node_id===n.datum.nodeId&&(o.nodes[0].label.x+=n.dx,o.nodes[0].label.y+=n.dy),o.nodes[1].node_id===n.datum.nodeId&&(o.nodes[1].label.x+=n.dx,o.nodes[1].label.y+=n.dy),this.linkService.updateNodes(this.server,o,o.nodes).subscribe(function(s){a.linksDataSource.update(s)})}},{key:"ngOnDestroy",value:function(){this.interfaceDragged.unsubscribe()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(wc),e.Y36(Kf.F),e.Y36(lS))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-interface-label-dragged"]],inputs:{server:"server"},decls:0,vars:0,template:function(t,n){},styles:[""]}),r}(),Zbe=function(){var r=function(){function i(t,n,a,o,s,l){(0,v.Z)(this,i),this.projectService=t,this.linkService=n,this.linksDataSource=a,this.linksEventSource=o,this.mapNodeToNode=s,this.mapPortToPort=l}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.linkCreated=this.linksEventSource.created.subscribe(function(a){return n.onLinkCreated(a)})}},{key:"onLinkCreated",value:function(n){var a=this,o=Math.abs(n.sourceNode.x-n.targetNode.x),s=Math.abs(n.sourceNode.y-n.targetNode.y),l=Math.sqrt(Math.pow(o,2)+Math.pow(s,2)),d=s/l,h=45/l*o,C=45/l*s,P=0,N=0,q=0,Q=0;n.sourceNode.x<=n.targetNode.x&&n.sourceNode.y<=n.targetNode.y?(P=Math.floor(n.sourceNode.width/2)+Math.round(h)+5,N=Math.floor(n.sourceNode.height/2)+Math.round(C)+5,q=Math.floor(n.targetNode.width/2)-Math.round(h)-5-Math.round(20*d),Q=Math.floor(n.targetNode.height/2)-Math.round(C)+5-Math.round(20*d)):n.sourceNode.x>n.targetNode.x&&n.sourceNode.y<n.targetNode.y?(P=Math.floor(n.sourceNode.width/2)-Math.round(h)-5-Math.round(20*d),N=Math.floor(n.sourceNode.height/2)+Math.round(C)+5-Math.round(20*d),q=Math.floor(n.targetNode.width/2)+Math.round(h)+5,Q=Math.floor(n.targetNode.height/2)-Math.round(C)-5):n.sourceNode.x<n.targetNode.x&&n.sourceNode.y>n.targetNode.y?(P=Math.floor(n.sourceNode.width/2)+Math.round(h)+5-Math.round(20*d),N=Math.floor(n.sourceNode.height/2)-Math.round(C)-5-Math.round(20*d),q=Math.floor(n.targetNode.width/2)-Math.round(h)-5,Q=Math.floor(n.targetNode.height/2)+Math.round(C)+5):n.sourceNode.x>=n.targetNode.x&&n.sourceNode.y>=n.targetNode.y&&(P=Math.floor(n.sourceNode.width/2)-Math.round(h)-5-Math.round(20*d),N=Math.floor(n.sourceNode.height/2)-Math.round(C)+5-Math.round(20*d),q=Math.floor(n.targetNode.width/2)+Math.round(h)+5,Q=Math.floor(n.targetNode.height/2)+Math.round(C)+5);var te=this.mapNodeToNode.convert(n.sourceNode),se=this.mapPortToPort.convert(n.sourcePort),Te=this.mapNodeToNode.convert(n.targetNode),$e=this.mapPortToPort.convert(n.targetPort);this.linkService.createLink(this.server,te,se,Te,$e,P,N,q,Q).subscribe(function(){a.projectService.links(a.server,a.project.project_id).subscribe(function(ze){a.linksDataSource.set(ze)})})}},{key:"ngOnDestroy",value:function(){this.linkCreated.unsubscribe()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(vd.Y),e.Y36(wc),e.Y36(Kf.F),e.Y36(lS),e.Y36(p2),e.Y36(fL))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-link-created"]],inputs:{server:"server",project:"project"},decls:0,vars:0,template:function(t,n){},styles:[""]}),r}(),Lbe=function(){var r=function(){function i(t,n,a){(0,v.Z)(this,i),this.nodesDataSource=t,this.nodeService=n,this.nodesEventSource=a}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.nodeDragged=this.nodesEventSource.dragged.subscribe(function(a){return n.onNodeDragged(a)})}},{key:"onNodeDragged",value:function(n){var a=this,o=this.nodesDataSource.get(n.datum.id);o.x+=n.dx,o.y+=n.dy,this.nodeService.updatePosition(this.server,this.project,o,o.x,o.y).subscribe(function(s){a.nodesDataSource.update(s)})}},{key:"ngOnDestroy",value:function(){this.nodeDragged.unsubscribe()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Ao.G),e.Y36(Yr),e.Y36(iv))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-node-dragged"]],inputs:{server:"server",project:"project"},decls:0,vars:0,template:function(t,n){},styles:[""]}),r}(),Fbe=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this.nodesDataSource=t,this.nodeService=n,this.nodesEventSource=a,this.mapLabelToLabel=o}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.nodeLabelDragged=this.nodesEventSource.labelDragged.subscribe(function(a){return n.onNodeLabelDragged(a)})}},{key:"onNodeLabelDragged",value:function(n){var a=this,o=this.nodesDataSource.get(n.datum.nodeId),s=n.datum;s.x+=n.dx,s.y+=n.dy;var l=this.mapLabelToLabel.convert(s);o.label=l,this.nodeService.updateLabel(this.server,o,o.label).subscribe(function(d){a.nodesDataSource.update(d)})}},{key:"ngOnDestroy",value:function(){this.nodeLabelDragged.unsubscribe()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Ao.G),e.Y36(Yr),e.Y36(iv),e.Y36(pS))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-node-label-dragged"]],inputs:{server:"server"},decls:0,vars:0,template:function(t,n){},styles:[""]}),r}(),Bbe=function(){var r=function(){function i(t,n,a,o,s,l){(0,v.Z)(this,i),this.drawingService=t,this.drawingsDataSource=n,this.drawingsEventSource=a,this.drawingsFactory=o,this.mapDrawingToSvgConverter=s,this.context=l,this.drawingSaved=new e.vpe}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.textAdded=this.drawingsEventSource.textAdded.subscribe(function(a){return n.onTextAdded(a)})}},{key:"onTextAdded",value:function(n){var a=this,o=this.drawingsFactory.getDrawingMock("text");o.element.text=n.savedText;var s=this.mapDrawingToSvgConverter.convert(o);this.drawingService.add(this.server,this.project.project_id,(n.x-(this.context.getZeroZeroTransformationPoint().x+this.context.transformation.x))/this.context.transformation.k,(n.y-(this.context.getZeroZeroTransformationPoint().y+this.context.transformation.y))/this.context.transformation.k,s).subscribe(function(l){a.drawingsDataSource.add(l),a.drawingSaved.emit(!0)})}},{key:"ngOnDestroy",value:function(){this.textAdded.unsubscribe()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Fs),e.Y36(Bs),e.Y36(kc),e.Y36(dL),e.Y36(lv),e.Y36(su))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-text-added"]],inputs:{server:"server",project:"project"},outputs:{drawingSaved:"drawingSaved"},decls:0,vars:0,template:function(t,n){},styles:[""]}),r}(),Ube=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this.drawingService=t,this.drawingsDataSource=n,this.drawingsEventSource=a,this.mapDrawingToSvgConverter=o}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.textEdited=this.drawingsEventSource.textEdited.subscribe(function(a){return n.onTextEdited(a)})}},{key:"onTextEdited",value:function(n){var a=this,o=new Qf;o.element=n.textElement,o.element.text=n.editedText;var s=this.mapDrawingToSvgConverter.convert(o),l=this.drawingsDataSource.get(n.textDrawingId);this.drawingService.updateText(this.server,l,s).subscribe(function(d){a.drawingsDataSource.update(d),a.drawingsEventSource.textSaved.emit(!0)})}},{key:"ngOnDestroy",value:function(){this.textEdited.unsubscribe()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Fs),e.Y36(Bs),e.Y36(kc),e.Y36(lv))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-text-edited"]],inputs:{server:"server"},decls:0,vars:0,template:function(t,n){},styles:[""]}),r}(),Hbe=["app-selection",""];function Vbe(r,i){if(1&r&&(e.O4$(),e._UZ(0,"path",2)),2&r){var t=e.oxw();e.uIk("d",t.d)}}var jbe=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.ref=t,this.started=!1,this.visible=!1,this.rectangleSelected=new e.vpe}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){}},{key:"ngAfterViewInit",value:function(){var n=this,a=wo.y.fromEvent(this.svg,"mousedown").do(function(C){return C.preventDefault()});a.subscribe(function(C){C.target===n.svg&&(n.started=!0,n.startX=C.clientX+window.scrollX,n.startY=C.clientY+window.scrollY,n.width=0,n.height=0,n.visible=!0,n.ref.detectChanges())});var o=wo.y.fromEvent(document,"mouseup").do(function(C){C.preventDefault()}),s=wo.y.fromEvent(document,"mousemove").do(function(C){return C.stopPropagation()}),l=wo.y.fromEvent(document,"scroll").startWith({}),d=wo.y.combineLatest(s,l),h=a.mergeMap(function(C){return d.map(function(P){return(0,b.Z)(P,2)[0]}).do(function(P){!n.started||(n.visible=!0,n.width=P.clientX-n.startX+window.scrollX,n.height=P.clientY-n.startY+window.scrollY,n.ref.detectChanges(),n.selectedEvent([n.startX,n.startY],[n.width,n.height]))}).skipUntil(o.take(1).do(function(P){!n.started||(n.visible=!1,n.started=!1,n.width=P.clientX-n.startX+window.scrollX,n.height=P.clientY-n.startY+window.scrollY,n.ref.detectChanges(),n.selectedEvent([n.startX,n.startY],[n.width,n.height]))})).take(1)});this.draggable=h.subscribe(function(C){})}},{key:"ngOnDestroy",value:function(){this.draggable.unsubscribe()}},{key:"d",get:function(){return this.rect(this.startX,this.startY,this.width,this.height)}},{key:"rect",value:function(n,a,o,s){return"M"+[n,a]+" l"+[o,0]+" l"+[0,s]+" l"+[-o,0]+"z"}},{key:"selectedEvent",value:function(n,a){var o=Math.min(n[0],a[0]),s=Math.min(n[1],a[1]),l=Math.abs(n[0]-a[0]),d=Math.abs(n[1]-a[1]);this.rectangleSelected.emit(new Kj(o,s,l,d))}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.sBO))},r.\u0275cmp=e.Xpm({type:r,selectors:[["","app-selection",""]],inputs:{svg:["app-selection","svg"]},outputs:{rectangleSelected:"selected"},attrs:Hbe,decls:2,vars:1,consts:[[1,"selection-line-tool"],["class","selection",4,"ngIf"],[1,"selection"]],template:function(t,n){1&t&&(e.O4$(),e.TgZ(0,"g",0),e.YNc(1,Vbe,1,1,"path",1),e.qZA()),2&t&&(e.xp6(1),e.Q6J("ngIf",n.visible))},directives:[Pt.O5],styles:[""]}),r}(),qbe=function(){function r(){(0,v.Z)(this,r)}return(0,g.Z)(r,[{key:"d",value:function(t){var n=[[t.source.x+t.source.width/2,t.source.y+t.source.height/2],[t.target.x+t.target.width/2,t.target.y+t.target.height/2]],a=hc();return a.moveTo(n[0][0],n[0][1]),a.lineTo(n[1][0],n[1][1]),a.toString()}}]),r}(),zbe=function(){function r(){(0,v.Z)(this,r)}return(0,g.Z)(r,[{key:"linkToPoints",value:function(t){var n={x:t.source.x+t.source.width/2,y:t.source.y+t.source.height/2},a={x:t.target.x+t.target.width/2,y:t.target.y+t.target.height/2},o=a.x-n.x,s=a.y-n.y,l=Math.atan2(s,o),d=-Math.PI/4,h=[Math.cos(l+d),Math.sin(l+d)];return[[n.x,n.y],[n.x+o/2+15*h[0],n.y+s/2+15*h[1]],[a.x-o/2-15*h[0],a.y-s/2-15*h[1]],[a.x,a.y]]}},{key:"d",value:function(t){var n=this.linkToPoints(t),a=hc();return a.moveTo(n[0][0],n[0][1]),a.lineTo(n[1][0],n[1][1]),a.lineTo(n[2][0],n[2][1]),a.lineTo(n[3][0],n[3][1]),a.toString()}}]),r}(),Wbe=["app-status",""];function Gbe(r,i){if(1&r&&(e.O4$(),e._UZ(0,"circle",3)),2&r){var t=e.oxw(2);e.uIk("cx",t.point.x)("cy",t.point.y)}}function Ybe(r,i){if(1&r&&(e.O4$(),e._UZ(0,"rect",4)),2&r){var t=e.oxw(2);e.uIk("x",t.point.x-5)("y",t.point.y-5)}}function Jbe(r,i){if(1&r&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,Gbe,1,2,"circle",1),e.YNc(2,Ybe,1,2,"rect",2),e.qZA()),2&r){var t=e.oxw();e.xp6(1),e.Q6J("ngIf","started"==t.status),e.xp6(1),e.Q6J("ngIf","stopped"==t.status)}}var Qbe=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.element=t,this.ref=n,this.data={status:"",path:null,direction:null,d:null}}return(0,g.Z)(i,[{key:"status",get:function(){return this.data.status},set:function(n){this.data.status=n,this.ref.markForCheck()}},{key:"path",get:function(){return this.data.path},set:function(n){this.data.path=n,this.ref.markForCheck()}},{key:"direction",get:function(){return this.data.direction},set:function(n){this.data.direction=n,this.ref.markForCheck()}},{key:"d",set:function(n){this.data.d!==n&&(this.data.d=n,this.ref.markForCheck())}},{key:"sourceStatusPoint",get:function(){return this.path?this.path.nativeElement.getPointAtLength(45):null}},{key:"targetStatusPoint",get:function(){return this.path?this.path.nativeElement.getPointAtLength(this.path.nativeElement.getTotalLength()-45):null}},{key:"point",get:function(){return"source"===this.direction?this.sourceStatusPoint:this.targetStatusPoint}}]),i}();return r.STOPPED_STATUS_RECT_WIDTH=10,r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.sBO))},r.\u0275cmp=e.Xpm({type:r,selectors:[["","app-status",""]],inputs:{status:["app-status","status"],path:"path",direction:"direction",d:"d"},attrs:Wbe,decls:1,vars:1,consts:[[4,"ngIf"],["class","status_started","r","6","fill","#2ecc71",4,"ngIf"],["class","status_stopped","width","10","height","10","r","6","fill","red",4,"ngIf"],["r","6","fill","#2ecc71",1,"status_started"],["width","10","height","10","r","6","fill","red",1,"status_stopped"]],template:function(t,n){1&t&&e.YNc(0,Jbe,3,2,"g",0),2&t&&e.Q6J("ngIf",n.status&&n.point&&n.direction)},directives:[Pt.O5],styles:[""]}),r}(),Kbe=["textSvg"],Xbe=["app-interface-label",""],$be=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this.elementRef=t,this.ref=n,this.sanitizer=a,this.cssFixer=o,this.label={x:0,y:0,text:"",style:"",rotation:0},this.borderSize=5,this.textWidth=0,this.textHeight=0}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){}},{key:"x",set:function(n){this.label.x=n,this.ref.detectChanges()}},{key:"y",set:function(n){this.label.y=n,this.ref.detectChanges()}},{key:"text",get:function(){return this.label.text},set:function(n){this.label.text=n,this.ref.detectChanges()}},{key:"style",set:function(n){this.label.style=this.cssFixer.fix(n),this.ref.detectChanges()}},{key:"rotation",set:function(n){this.label.rotation=n,this.ref.detectChanges()}},{key:"sanitizedStyle",get:function(){return this.sanitizer.bypassSecurityTrustStyle(this.label.style)}},{key:"rectX",get:function(){return 0}},{key:"rectY",get:function(){return-this.textRef.nativeElement.getBBox().height-this.borderSize}},{key:"rectWidth",get:function(){return this.textRef.nativeElement.getBBox().width+2*this.borderSize}},{key:"rectHeight",get:function(){return this.textRef.nativeElement.getBBox().height+this.borderSize}},{key:"transform",get:function(){var n=this.elementRef.nativeElement.getBBox(),a=this.label.x,o=this.label.y+n.height;return"translate(".concat(a,", ").concat(o,") rotate(").concat(this.label.rotation,", ").concat(a,", ").concat(o,")")}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(U.H7),e.Y36(Jf))},r.\u0275cmp=e.Xpm({type:r,selectors:[["","app-interface-label",""]],viewQuery:function(t,n){var a;1&t&&e.Gf(Kbe,5),2&t&&e.iGM(a=e.CRH())&&(n.textRef=a.first)},inputs:{ignore:["app-interface-label","ignore"],x:"x",y:"y",text:"text",style:"style",rotation:"rotation"},attrs:Xbe,decls:5,vars:9,consts:[["width","100","height","100",1,"text_container"],["stroke-dasharray","3,3","stroke-width","0.5","fill","none","stroke","black"],[1,"interface_label"],["textSvg",""]],template:function(t,n){1&t&&(e.O4$(),e.TgZ(0,"g",0),e._UZ(1,"rect",1),e.TgZ(2,"text",2,3),e._uU(4),e.qZA(),e.qZA()),2&t&&(e.uIk("transform",n.transform),e.xp6(1),e.uIk("x",n.rectX)("y",n.rectY)("width",n.rectWidth)("height",n.rectHeight),e.xp6(1),e.uIk("style",n.sanitizedStyle,e.Ckj)("x",n.borderSize)("y",-n.borderSize),e.xp6(2),e.hij(" ",n.text," "))},styles:[""]}),r}(),eCe=["path"],tCe=["app-link",""];function nCe(r,i){if(1&r&&(e.O4$(),e._UZ(0,"path",5,6)),2&r){var t=e.oxw();e.uIk("d",t.d)}}function rCe(r,i){if(1&r&&(e.O4$(),e._UZ(0,"path",7,6)),2&r){var t=e.oxw();e.uIk("d",t.d)}}function iCe(r,i){if(1&r&&(e.O4$(),e._UZ(0,"g",8)),2&r){var t=e.oxw();e.Akn(t.link.nodes[0].label.style),e.Q6J("x",t.link.source.x+t.link.nodes[0].label.x)("y",t.link.source.y+t.link.nodes[0].label.y)("text",t.link.nodes[0].label.text)("rotation",t.link.nodes[0].label.rotation)}}function aCe(r,i){if(1&r&&(e.O4$(),e._UZ(0,"g",8)),2&r){var t=e.oxw();e.Akn(t.link.nodes[1].label.style),e.Q6J("x",t.link.target.x+t.link.nodes[1].label.x)("y",t.link.target.y+t.link.nodes[1].label.y)("text",t.link.nodes[1].label.text)("rotation",t.link.nodes[1].label.rotation)}}var oCe=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.multiLinkCalculatorHelper=t,this.ref=n,this.ethernetLinkStrategy=new qbe,this.serialLinkStrategy=new zbe}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){this.ref.detectChanges()}},{key:"ngOnDestroy",value:function(){}},{key:"strategy",get:function(){return"serial"===this.link.linkType?this.serialLinkStrategy:this.ethernetLinkStrategy}},{key:"transform",get:function(){var n=this.multiLinkCalculatorHelper.linkTranslation(this.link.distance,this.link.source,this.link.target);return"translate (".concat(n.dx,", ").concat(n.dy,")")}},{key:"d",get:function(){return this.strategy.d(this.link)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(nS),e.Y36(e.sBO))},r.\u0275cmp=e.Xpm({type:r,selectors:[["","app-link",""]],viewQuery:function(t,n){var a;1&t&&e.Gf(eCe,5),2&t&&e.iGM(a=e.CRH())&&(n.path=a.first)},inputs:{link:["app-link","link"],nodeChanged:["node-changed","nodeChanged"],showInterfaceLabels:["show-interface-labels","showInterfaceLabels"]},attrs:tCe,decls:7,vars:16,consts:[[1,"link"],["class","ethernet_link","stroke","#000","stroke-width","2",4,"ngIf"],["class","serial_link","stroke","#B22222","fill","none","stroke-width","2",4,"ngIf"],[3,"app-status","direction","path","d"],[3,"app-interface-label","x","y","text","style","rotation",4,"ngIf"],["stroke","#000","stroke-width","2",1,"ethernet_link"],["path",""],["stroke","#B22222","fill","none","stroke-width","2",1,"serial_link"],[3,"app-interface-label","x","y","text","rotation"]],template:function(t,n){1&t&&(e.O4$(),e.TgZ(0,"g",0),e.YNc(1,nCe,2,1,"path",1),e.YNc(2,rCe,2,1,"path",2),e._UZ(3,"g",3),e._UZ(4,"g",3),e.YNc(5,iCe,1,6,"g",4),e.YNc(6,aCe,1,6,"g",4),e.qZA()),2&t&&(e.uIk("link_id",n.link.id)("map-source",n.link.source.id)("map-target",n.link.target.id)("transform",n.transform),e.xp6(1),e.Q6J("ngIf","ethernet"==n.link.linkType),e.xp6(1),e.Q6J("ngIf","serial"==n.link.linkType),e.xp6(1),e.Q6J("app-status",n.link.source.status)("direction","source")("path",n.path)("d",n.d),e.xp6(1),e.Q6J("app-status",n.link.target.status)("direction","target")("path",n.path)("d",n.d),e.xp6(1),e.Q6J("ngIf",n.showInterfaceLabels),e.xp6(1),e.Q6J("ngIf",n.showInterfaceLabels))},directives:[Pt.O5,Qbe,$be],styles:[""]}),r}(),sCe=["app-draggable",""],lCe=["*"],Uq=function r(i,t,n,a){(0,v.Z)(this,r),this.x=i,this.y=t,this.dx=n,this.dy=a},Hq=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.elementRef=t,this.dragging=new e.vpe,this.dragged=new e.vpe}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){}},{key:"ngAfterViewInit",value:function(){var n=this,a=wo.y.fromEvent(this.elementRef.nativeElement,"mousedown").do(function(C){return C.preventDefault()});a.subscribe(function(C){n.posX=n.item.x,n.posY=n.item.y,n.startX=C.clientX,n.startY=C.clientY});var o=wo.y.fromEvent(document,"mouseup").do(function(C){C.preventDefault()}),s=wo.y.fromEvent(document,"mousemove").do(function(C){return C.stopPropagation()}),l=wo.y.fromEvent(document,"scroll").startWith({}),d=wo.y.combineLatest(s,l),h=a.mergeMap(function(C){return d.map(function(P){return(0,b.Z)(P,2)[0]}).do(function(P){var N=n.startX-P.clientX,q=n.startY-P.clientY;n.item.x=Math.round(n.posX-N),n.item.y=Math.round(n.posY-q),n.dragging.emit(new Uq(n.item.x,n.item.y,-N,-q))}).skipUntil(o.take(1).do(function(P){var N=n.startX-P.clientX,q=n.startY-P.clientY;n.item.x=Math.round(n.posX-N),n.item.y=Math.round(n.posY-q),n.dragged.emit(new Uq(n.item.x,n.item.y,-N,-q))})).take(1)});this.draggable=h.subscribe(function(C){})}},{key:"ngOnDestroy",value:function(){this.draggable.unsubscribe()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq))},r.\u0275cmp=e.Xpm({type:r,selectors:[["","app-draggable",""]],inputs:{item:["app-draggable","item"]},outputs:{dragging:"dragging",dragged:"dragged"},attrs:sCe,ngContentSelectors:lCe,decls:1,vars:0,template:function(t,n){1&t&&(e.F$t(),e.Hsn(0))},styles:[""]}),r}(),uCe=["label"],cCe=["image"],dCe=["app-node",""],pCe=function(){var r=function(){function i(t,n,a,o,s,l){(0,v.Z)(this,i),this.cssFixer=t,this.fontFixer=n,this.sanitizer=a,this.element=o,this.cd=s,this.nodesEventSource=l,this.labelHeight=0}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){}},{key:"ngOnDestroy",value:function(){}},{key:"ngOnChanges",value:function(n){this.cd.detectChanges()}},{key:"ngAfterViewInit",value:function(){this.labelHeight=this.getLabelHeight(),this.cd.detectChanges()}},{key:"OnDragging",value:function(n){this.node.x=n.x,this.node.y=n.y,this.cd.detectChanges()}},{key:"OnDragged",value:function(n){this.cd.detectChanges(),this.nodesEventSource.dragged.emit(new oy(this.node,n.dx,n.dy))}},{key:"symbol",get:function(){var n=this,a=this.symbols.find(function(o){return o.symbol_id===n.node.symbol});return a?"data:image/svg+xml;base64,"+btoa(a.raw):"data:image/svg+xml;base64,none"}},{key:"label_style",get:function(){var n=this.cssFixer.fix(this.node.label.style);return n=this.fontFixer.fixStyles(n),this.sanitizer.bypassSecurityTrustStyle(n)}},{key:"label_x",get:function(){return null===this.node.label.x?-this.label.nativeElement.getBBox().width/2:this.node.label.x+i.NODE_LABEL_MARGIN}},{key:"label_y",get:function(){return this.labelHeight=this.getLabelHeight(),null===this.node.label.x?-this.node.height/2-this.labelHeight:this.node.label.y+this.labelHeight-i.NODE_LABEL_MARGIN}},{key:"getLabelHeight",value:function(){return this.label.nativeElement.getBBox().height}}]),i}();return r.NODE_LABEL_MARGIN=3,r.\u0275fac=function(t){return new(t||r)(e.Y36(Jf),e.Y36(Sc),e.Y36(U.H7),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(iv))},r.\u0275cmp=e.Xpm({type:r,selectors:[["","app-node",""]],viewQuery:function(t,n){var a;1&t&&(e.Gf(uCe,5),e.Gf(cCe,5)),2&t&&(e.iGM(a=e.CRH())&&(n.label=a.first),e.iGM(a=e.CRH())&&(n.imageRef=a.first))},inputs:{node:["app-node","node"],symbols:"symbols",nodeChanged:["node-changed","nodeChanged"]},features:[e.TTD],attrs:dCe,decls:6,vars:11,consts:[[1,"node"],[3,"app-draggable","dragging","dragged"],["image",""],[1,"label"],["label",""]],template:function(t,n){1&t&&(e.O4$(),e.TgZ(0,"g",0),e.TgZ(1,"image",1,2),e.NdJ("dragging",function(o){return n.OnDragging(o)})("dragged",function(o){return n.OnDragged(o)}),e.qZA(),e.TgZ(3,"text",3,4),e._uU(5),e.qZA(),e.qZA()),2&t&&(e.uIk("transform","translate("+n.node.x+","+n.node.y+")"),e.xp6(1),e.Q6J("app-draggable",n.node),e.uIk("width",n.node.width)("height",n.node.height)("x",0)("y",0)("href",n.symbol,null,"xlink"),e.xp6(2),e.uIk("style",n.label_style,e.Ckj)("x",n.label_x)("y",n.label_y),e.xp6(2),e.hij(" ",n.node.label.text," "))},directives:[Hq],styles:[""],changeDetection:0}),r}(),fCe=["app-ellipse",""],hCe=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.qtDasharrayFixer=t}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){}},{key:"fill_opacity",get:function(){return isFinite(this.ellipse.fill_opacity)?this.ellipse.fill_opacity:null}},{key:"stroke_width",get:function(){return isFinite(this.ellipse.stroke_width)?this.ellipse.stroke_width:null}},{key:"stroke_dasharray",get:function(){return this.ellipse.stroke_dasharray?this.qtDasharrayFixer.fix(this.ellipse.stroke_dasharray):null}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(sv))},r.\u0275cmp=e.Xpm({type:r,selectors:[["","app-ellipse",""]],inputs:{ellipse:["app-ellipse","ellipse"]},attrs:fCe,decls:1,vars:9,consts:[[1,"ellipse_element","noselect"]],template:function(t,n){1&t&&(e.O4$(),e._UZ(0,"ellipse",0)),2&t&&e.uIk("fill",n.ellipse.fill)("fill-opacity",n.fill_opacity)("stroke",n.ellipse.stroke)("stroke-width",n.stroke_width)("stroke-dasharray",n.stroke_dasharray)("cx",n.ellipse.cx)("cy",n.ellipse.cy)("rx",n.ellipse.rx)("ry",n.ellipse.ry)},styles:[""]}),r}(),mCe=["app-image",""],vCe=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275cmp=e.Xpm({type:r,selectors:[["","app-image",""]],inputs:{image:["app-image","image"]},attrs:mCe,decls:1,vars:3,consts:[[1,"image_element","noselect"]],template:function(t,n){1&t&&(e.O4$(),e._UZ(0,"image",0)),2&t&&e.uIk("href",n.image.data,null,"xlink")("width",n.image.width)("height",n.image.height)},styles:[""]}),r}(),gCe=["app-line",""],_Ce=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.qtDasharrayFixer=t}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){}},{key:"stroke_width",get:function(){return isFinite(this.line.stroke_width)?this.line.stroke_width:null}},{key:"stroke_dasharray",get:function(){return this.line.stroke_dasharray?this.qtDasharrayFixer.fix(this.line.stroke_dasharray):null}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(sv))},r.\u0275cmp=e.Xpm({type:r,selectors:[["","app-line",""]],inputs:{line:["app-line","line"]},attrs:gCe,decls:1,vars:7,consts:[[1,"line_element","noselect"]],template:function(t,n){1&t&&(e.O4$(),e._UZ(0,"line",0)),2&t&&e.uIk("stroke",n.line.stroke)("stroke-width",n.stroke_width)("stroke-dasharray",n.stroke_dasharray)("x1",n.line.x1)("x2",n.line.x2)("y1",n.line.y1)("y2",n.line.y2)},styles:[""]}),r}(),yCe=["app-rect",""],bCe=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.qtDasharrayFixer=t}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){}},{key:"fill_opacity",get:function(){return isFinite(this.rect.fill_opacity)?this.rect.fill_opacity:null}},{key:"stroke_width",get:function(){return isFinite(this.rect.stroke_width)?this.rect.stroke_width:null}},{key:"stroke_dasharray",get:function(){return this.rect.stroke_dasharray?this.qtDasharrayFixer.fix(this.rect.stroke_dasharray):null}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(sv))},r.\u0275cmp=e.Xpm({type:r,selectors:[["","app-rect",""]],inputs:{rect:["app-rect","rect"]},attrs:yCe,decls:1,vars:7,consts:[[1,"rect_element","noselect"]],template:function(t,n){1&t&&(e.O4$(),e._UZ(0,"rect",0)),2&t&&e.uIk("fill",n.rect.fill)("fill-opacity",n.fill_opacity)("stroke",n.rect.stroke)("stroke-width",n.stroke_width)("stroke-dasharray",n.stroke_dasharray)("width",n.rect.width)("height",n.rect.height)},styles:[""]}),r}(),CCe=["text"],SCe=["app-text",""];function TCe(r,i){if(1&r&&(e.O4$(),e.TgZ(0,"tspan",3),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.uIk("dy",0==i.index?"0em":"1.4em"),e.xp6(1),e.hij(" ",t," ")}}var kCe=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.fontFixer=t,this.sanitizer=n,this.lines=[],this.transformation=""}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){this.lines=this.getLines(this.text.text)}},{key:"ngDoCheck",value:function(){this.transformation=this.calculateTransformation()}},{key:"style",get:function(){var n=this.fontFixer.fix(this.text),a=[];return n.font_family&&a.push('font-family: "'.concat(this.text.font_family,'"')),n.font_size&&a.push("font-size: ".concat(this.text.font_size,"pt")),n.font_weight&&a.push("font-weight: ".concat(this.text.font_weight)),this.sanitizer.bypassSecurityTrustStyle(a.join("; "))}},{key:"textDecoration",get:function(){return this.text.text_decoration}},{key:"calculateTransformation",value:function(){var n=this.textRef.nativeElement.getElementsByTagName("tspan");if(n.length>0){var a=this.textRef.nativeElement.getBBox().height/n.length;return"translate(".concat(i.MARGIN,", ").concat(a-i.MARGIN,")")}return""}},{key:"getLines",value:function(n){return n.split(/\r?\n/)}}]),i}();return r.MARGIN=4,r.\u0275fac=function(t){return new(t||r)(e.Y36(Sc),e.Y36(U.H7))},r.\u0275cmp=e.Xpm({type:r,selectors:[["","app-text",""]],viewQuery:function(t,n){var a;1&t&&e.Gf(CCe,5),2&t&&e.iGM(a=e.CRH())&&(n.textRef=a.first)},inputs:{text:["app-text","text"]},attrs:SCe,decls:3,vars:5,consts:[[1,"text_element","noselect"],["text",""],[0,"xml","space","preserve","x","0",4,"ngFor","ngForOf"],[0,"xml","space","preserve","x","0"]],template:function(t,n){if(1&t&&(e.O4$(),e.TgZ(0,"text",0,1),e.YNc(2,TCe,2,2,"tspan",2),e.qZA()),2&t){var a=e.MAs(1);e.uIk("style",n.style,e.Ckj)("text-decoration",n.textDecoration)("fill",a.fill)("transform",n.transformation),e.xp6(2),e.Q6J("ngForOf",n.lines)}},directives:[Pt.sg],styles:[""]}),r}(),wCe=["app-drawing",""];function xCe(r,i){if(1&r&&(e.O4$(),e._UZ(0,"g",6)),2&r){var t=e.oxw();e.Q6J("app-ellipse",t.drawing.element)}}function ECe(r,i){if(1&r&&(e.O4$(),e._UZ(0,"g",7)),2&r){var t=e.oxw();e.Q6J("app-image",t.drawing.element)}}function MCe(r,i){if(1&r&&(e.O4$(),e._UZ(0,"g",8)),2&r){var t=e.oxw();e.Q6J("app-line",t.drawing.element)}}function ACe(r,i){if(1&r&&(e.O4$(),e._UZ(0,"g",9)),2&r){var t=e.oxw();e.Q6J("app-rect",t.drawing.element)}}function DCe(r,i){if(1&r&&(e.O4$(),e._UZ(0,"g",10)),2&r){var t=e.oxw();e.Q6J("app-text",t.drawing.element)}}var OCe=function(){var r=function(){function i(t,n,a){(0,v.Z)(this,i),this.svgToDrawingConverter=t,this.drawingsEventSource=n,this.cd=a}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){try{this.drawing.element=this.svgToDrawingConverter.convert(this.drawing.svg)}catch(n){}}},{key:"OnDragging",value:function(n){this.drawing.x=n.x,this.drawing.y=n.y,this.cd.detectChanges()}},{key:"OnDragged",value:function(n){this.cd.detectChanges(),this.drawingsEventSource.dragged.emit(new oy(this.drawing,n.dx,n.dy))}},{key:"is",value:function(n,a){return!!n&&("ellipse"===a?n instanceof Ma:"image"===a?n instanceof t2:"line"===a?n instanceof av:"rect"===a?n instanceof Tp:"text"===a&&n instanceof ov)}},{key:"transformation",get:function(){return"translate(".concat(this.drawing.x,",").concat(this.drawing.y,") rotate(").concat(this.drawing.rotation,")")}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(aS),e.Y36(kc),e.Y36(e.sBO))},r.\u0275cmp=e.Xpm({type:r,selectors:[["","app-drawing",""]],inputs:{drawing:["app-drawing","drawing"]},attrs:wCe,decls:6,vars:7,consts:[[1,"drawing",3,"app-draggable","dragging","dragged"],[3,"app-ellipse",4,"ngIf"],[3,"app-image",4,"ngIf"],[3,"app-line",4,"ngIf"],[3,"app-rect",4,"ngIf"],[3,"app-text",4,"ngIf"],[3,"app-ellipse"],[3,"app-image"],[3,"app-line"],[3,"app-rect"],[3,"app-text"]],template:function(t,n){1&t&&(e.O4$(),e.TgZ(0,"g",0),e.NdJ("dragging",function(o){return n.OnDragging(o)})("dragged",function(o){return n.OnDragged(o)}),e.YNc(1,xCe,1,1,"g",1),e.YNc(2,ECe,1,1,"g",2),e.YNc(3,MCe,1,1,"g",3),e.YNc(4,ACe,1,1,"g",4),e.YNc(5,DCe,1,1,"g",5),e.qZA()),2&t&&(e.Q6J("app-draggable",n.drawing),e.uIk("transform",n.transformation),e.xp6(1),e.Q6J("ngIf",n.is(n.drawing.element,"ellipse")),e.xp6(1),e.Q6J("ngIf",n.is(n.drawing.element,"image")),e.xp6(1),e.Q6J("ngIf",n.is(n.drawing.element,"line")),e.xp6(1),e.Q6J("ngIf",n.is(n.drawing.element,"rect")),e.xp6(1),e.Q6J("ngIf",n.is(n.drawing.element,"text")))},directives:[Hq,Pt.O5,hCe,vCe,_Ce,bCe,kCe],styles:[""]}),r}(),PCe=["svg"];function ICe(r,i){if(1&r&&(e.O4$(),e._UZ(0,"g",12)),2&r){var t=i.$implicit,n=e.oxw(2);e.Q6J("app-link",t)("show-interface-labels",n.settings.show_interface_labels)}}function RCe(r,i){if(1&r&&(e.O4$(),e._UZ(0,"g",13)),2&r){var t=i.$implicit,n=e.oxw(2);e.Q6J("app-node",t)("symbols",n.symbols)}}function NCe(r,i){1&r&&(e.O4$(),e._UZ(0,"g",14)),2&r&&e.Q6J("app-drawing",i.$implicit)}function ZCe(r,i){if(1&r&&(e.O4$(),e.TgZ(0,"g"),e.TgZ(1,"g",6),e.YNc(2,ICe,1,2,"g",7),e.qZA(),e.TgZ(3,"g",8),e.YNc(4,RCe,1,2,"g",9),e.qZA(),e.TgZ(5,"g",10),e.YNc(6,NCe,1,1,"g",11),e.qZA(),e.qZA()),2&r){var t=i.$implicit;e.xp6(2),e.Q6J("ngForOf",t.links),e.xp6(2),e.Q6J("ngForOf",t.nodes),e.xp6(2),e.Q6J("ngForOf",t.drawings)}}var LCe=function(){var r=function(){function i(t,n,a,o,s,l,d){(0,v.Z)(this,i),this.graphDataManager=t,this.context=n,this.mapChangeDetectorRef=a,this.canvasSizeDetector=o,this.changeDetectorRef=s,this.layersManger=l,this.graphLayout=d,this.nodes=[],this.links=[],this.drawings=[],this.symbols=[],this.width=1500,this.height=600,this.settings={show_interface_labels:!0}}return(0,g.Z)(i,[{key:"showInterfaceLabels",set:function(n){this.settings.show_interface_labels=n,this.mapChangeDetectorRef.detectChanges()}},{key:"movingTool",set:function(n){this.mapChangeDetectorRef.detectChanges()}},{key:"selectionTool",set:function(n){this.mapChangeDetectorRef.detectChanges()}},{key:"readonly",set:function(n){}},{key:"ngOnChanges",value:function(n){}},{key:"ngOnInit",value:function(){var n=this;this.changesDetected=this.mapChangeDetectorRef.changesDetected.subscribe(function(){n.graphDataManager.setNodes(n.nodes),n.graphDataManager.setLinks(n.links),n.graphDataManager.setDrawings(n.drawings),n.graphDataManager.setSymbols(n.symbols),n.changeDetectorRef.detectChanges()})}},{key:"ngOnDestroy",value:function(){this.changesDetected.unsubscribe()}},{key:"getSize",value:function(){return this.canvasSizeDetector.getOptimalSize(this.width,this.height)}},{key:"layers",get:function(){return this.layersManger.getLayersList()}},{key:"transform",get:function(){var n=new su;n.size=this.getSize();var a=n.getZeroZeroTransformationPoint().x+n.transformation.x,o=n.getZeroZeroTransformationPoint().y+n.transformation.y,s=n.transformation.k;return"translate(".concat(a,", ").concat(o,") scale(").concat(s,")")}},{key:"onResize",value:function(n){}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(iy),e.Y36(su),e.Y36(rS),e.Y36(V6),e.Y36(e.sBO),e.Y36(JA),e.Y36(X6))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-experimental-map"]],viewQuery:function(t,n){var a;1&t&&e.Gf(PCe,5),2&t&&e.iGM(a=e.CRH())&&(n.svg=a.first)},hostBindings:function(t,n){1&t&&e.NdJ("resize",function(o){return n.onResize(o)},!1,e.Jf7)},inputs:{nodes:"nodes",links:"links",drawings:"drawings",symbols:"symbols",width:"width",height:"height",showInterfaceLabels:["show-interface-labels","showInterfaceLabels"],movingTool:["moving-tool","movingTool"],selectionTool:["selection-tool","selectionTool"],drawLinkTool:["draw-link-tool","drawLinkTool"],readonly:"readonly"},features:[e.TTD],decls:7,vars:5,consts:[["preserveAspectRatio","none",1,"map"],["svg",""],[4,"ngFor","ngForOf"],[3,"app-selection"],["id","grayscale"],["id","feGrayscale","type","saturate","values","0"],[1,"links"],[3,"app-link","show-interface-labels",4,"ngFor","ngForOf"],[1,"nodes"],[3,"app-node","symbols",4,"ngFor","ngForOf"],[1,"drawings"],[3,"app-drawing",4,"ngFor","ngForOf"],[3,"app-link","show-interface-labels"],[3,"app-node","symbols"],[3,"app-drawing"]],template:function(t,n){if(1&t&&(e.O4$(),e.TgZ(0,"svg",0,1),e.TgZ(2,"g"),e.YNc(3,ZCe,7,3,"g",2),e.qZA(),e._UZ(4,"g",3),e.TgZ(5,"filter",4),e._UZ(6,"feColorMatrix",5),e.qZA(),e.qZA()),2&t){var a=e.MAs(1);e.uIk("width",n.width)("height",n.height),e.xp6(2),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngForOf",n.layers),e.xp6(1),e.Q6J("app-selection",a)}},directives:[Pt.sg,jbe,oCe,pCe,OCe],styles:["svg[_ngcontent-%COMP%]{display:block}"],changeDetection:0}),r}(),FCe=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"transform",value:function(n,a){return n?a?(a=a.toLowerCase(),n.filter(function(o){return o.name.toLowerCase().includes(a)})):n:[]}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275pipe=e.Yjl({name:"templatefilter",type:r,pure:!0}),r}();function BCe(r,i){if(1&r&&(e.TgZ(0,"mat-option",18),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function UCe(r,i){if(1&r&&(e.TgZ(0,"mat-option",18),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t.name," ")}}function HCe(r,i){if(1&r&&(e.TgZ(0,"mat-option",18),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function VCe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-select",19),e.NdJ("valueChange",function(o){return e.CHM(t),e.oxw().selectedTemplate.compute_id=o}),e.YNc(1,HCe,2,2,"mat-option",8),e.qZA()}if(2&r){var n=e.oxw();e.Q6J("value",n.selectedTemplate.compute_id),e.xp6(1),e.Q6J("ngForOf",n.nodeServers)}}var mL=function(){return{standalone:!0}},jCe=function(){var r=function(){function i(t,n,a,o,s,l){(0,v.Z)(this,i),this.dialogRef=t,this.templateService=n,this.formBuilder=a,this.data=o,this.toasterService=s,this.nonNegativeValidator=l,this.templateTypes=["cloud","ethernet_hub","ethernet_switch","docker","dynamips","vpcs","traceng","virtualbox","vmware","iou","qemu"],this.searchText="",this.nodeServers=["local","vm"],this.server=o.server,this.project=o.project,this.configurationForm=this.formBuilder.group({numberOfNodes:new re.NI(1,[re.kI.required,l.get])}),this.positionForm=this.formBuilder.group({top:new re.NI(0,re.kI.required),left:new re.NI(0,re.kI.required)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.templateService.list(this.server).subscribe(function(a){n.filteredTemplates=a,n.templates=a})}},{key:"onNoClick",value:function(){this.dialogRef.close()}},{key:"filterTemplates",value:function(n){var a=this,o=this.templates.filter(function(s){return s.name.toLowerCase().includes(a.searchText.toLowerCase())});this.filteredTemplates=o.filter(function(s){return s.template_type===n.value.toString()})}},{key:"chooseTemplate",value:function(n){this.selectedTemplate=n.value,("cloud"===this.selectedTemplate.template_type||"ethernet_hub"===this.selectedTemplate.template_type||"ethernet_switch"===this.selectedTemplate.template_type)&&(this.selectedTemplate.compute_id="local")}},{key:"onAddClick",value:function(){if(this.selectedTemplate&&0!==this.filteredTemplates.length)if(this.positionForm.valid&&this.configurationForm.valid&&this.selectedTemplate.compute_id){var n=this.positionForm.get("left").value,a=this.positionForm.get("top").value;if(n>this.project.scene_width/2||n<-this.project.scene_width/2||a>this.project.scene_height/2||a<-this.project.scene_height)this.toasterService.error("Please set correct position values.");else{var o={template:this.selectedTemplate,server:this.selectedTemplate.compute_id,numberOfNodes:this.configurationForm.get("numberOfNodes").value,x:n,y:a};this.dialogRef.close(o)}}else this.toasterService.error("Please fill all required fields.");else this.toasterService.error("Please firstly choose template.")}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(K_),e.Y36(re.qu),e.Y36(hd),e.Y36(Yn),e.Y36(a2))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-template-list-dialog"]],decls:40,vars:18,consts:[[1,"title-container"],["mat-dialog-title",""],["mat-button","","color","accent",1,"top-button",3,"routerLink","click"],["mat-dialog-content","",1,"content"],["floatPlaceholder","never",1,"form-field"],["matInput","","placeholder","Search by name",3,"ngModel","ngModelOptions","ngModelChange"],[1,"form-field"],["placeholder","Filter templates by type",3,"ngModelOptions","ngModel","selectionChange","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["placeholder","Choose template",3,"ngModelOptions","ngModel","selectionChange","ngModelChange"],[3,"formGroup"],["type","number","matInput","","formControlName","numberOfNodes","placeholder","Enter number of nodes (default value is 1)"],["placeholder","Choose server for node",3,"value","valueChange",4,"ngIf"],["matInput","","type","number","formControlName","left"],["matInput","","type","number","formControlName","top"],["mat-dialog-actions","","align","end"],["mat-button","","tabindex","-1","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",1,"addButton",3,"click"],[3,"value"],["placeholder","Choose server for node",3,"value","valueChange"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"h1",1),e._uU(2,"Add a node"),e.qZA(),e.TgZ(3,"button",2),e.NdJ("click",function(){return n.onNoClick()}),e._uU(4," Go to template preferences "),e.qZA(),e.qZA(),e.TgZ(5,"div",3),e.TgZ(6,"div",0),e.TgZ(7,"h6"),e._uU(8,"Template"),e.qZA(),e.qZA(),e.TgZ(9,"mat-form-field",4),e.TgZ(10,"input",5),e.NdJ("ngModelChange",function(o){return n.searchText=o}),e.qZA(),e.qZA(),e.TgZ(11,"mat-form-field",6),e.TgZ(12,"mat-select",7),e.NdJ("selectionChange",function(o){return n.filterTemplates(o)})("ngModelChange",function(o){return n.selectedType=o}),e.YNc(13,BCe,2,2,"mat-option",8),e.qZA(),e.qZA(),e.TgZ(14,"mat-form-field",6),e.TgZ(15,"mat-select",9),e.NdJ("selectionChange",function(o){return n.chooseTemplate(o)})("ngModelChange",function(o){return n.selectedTemplate=o}),e.YNc(16,UCe,2,2,"mat-option",8),e.ALo(17,"templatefilter"),e.qZA(),e.qZA(),e.TgZ(18,"div",0),e.TgZ(19,"h6"),e._uU(20,"Configuration"),e.qZA(),e.qZA(),e.TgZ(21,"form",10),e.TgZ(22,"mat-form-field",6),e._UZ(23,"input",11),e.qZA(),e.qZA(),e.YNc(24,VCe,2,2,"mat-select",12),e.TgZ(25,"div",0),e.TgZ(26,"h6"),e._uU(27,"Position"),e.qZA(),e.qZA(),e.TgZ(28,"form",10),e._uU(29," Left:\xa0 "),e.TgZ(30,"mat-form-field"),e._UZ(31,"input",13),e.qZA(),e._uU(32," Top:\xa0 "),e.TgZ(33,"mat-form-field"),e._UZ(34,"input",14),e.qZA(),e.qZA(),e.qZA(),e.TgZ(35,"div",15),e.TgZ(36,"button",16),e.NdJ("click",function(){return n.onNoClick()}),e._uU(37,"Close"),e.qZA(),e.TgZ(38,"button",17),e.NdJ("click",function(){return n.onAddClick()}),e._uU(39," Add "),e.qZA(),e.qZA()),2&t&&(e.xp6(3),e.MGl("routerLink","/server/",n.server.id,"/preferences"),e.xp6(7),e.Q6J("ngModel",n.searchText)("ngModelOptions",e.DdM(15,mL)),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(16,mL))("ngModel",n.selectedType),e.xp6(1),e.Q6J("ngForOf",n.templateTypes),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(17,mL))("ngModel",n.selectedTemplate),e.xp6(1),e.Q6J("ngForOf",e.xi3(17,12,n.filteredTemplates,n.searchText)),e.xp6(5),e.Q6J("formGroup",n.configurationForm),e.xp6(3),e.Q6J("ngIf",n.selectedTemplate),e.xp6(4),e.Q6J("formGroup",n.positionForm))},directives:[ii,En,go,Q_,Ln.KE,ir,re.Fj,re.JJ,re.On,yi.gD,Pt.sg,re._Y,re.JL,re.sg,re.wV,re.u,Pt.O5,ti,sn.ey],pipes:[FCe],styles:[".header[_ngcontent-%COMP%]{min-height:64px;display:flex;align-items:baseline;padding:8px 24px 0;font-size:20px;justify-content:space-between}.mat-table[_ngcontent-%COMP%]{height:200px;overflow:scroll}.mat-form-field[_ngcontent-%COMP%]{font-size:16px;flex-grow:1}.form-field[_ngcontent-%COMP%]{width:100%}div[_ngcontent-%COMP%]{scrollbar-color:darkgrey #263238;scrollbar-width:thin}h6[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:10px;color:#0097a7}mat-table[_ngcontent-%COMP%]{scrollbar-color:darkgrey #263238;scrollbar-width:thin}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}.filterBox[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.title-container[_ngcontent-%COMP%]{display:flex;align-items:baseline;justify-content:space-between}"]}),r}();function qCe(r,i){if(1&r&&(e.TgZ(0,"mat-option",11),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}var h2=function(i,t){return{templateText:i,lightTemplateText:t}};function zCe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"span",14),e.TgZ(1,"div",15),e.NdJ("dragStart",function(s){return e.CHM(t),e.oxw(3).dragStart(s)})("dragEnd",function(s){e.CHM(t);var l=e.oxw(2).index,d=e.oxw();return d.dragEnd(s,d.filteredTemplates[l+1])}),e._UZ(2,"img",16),e.qZA(),e.TgZ(3,"div",17),e._uU(4),e.qZA(),e.qZA()}if(2&r){var n=e.oxw(2).index,a=e.oxw();e.xp6(2),e.Q6J("src",a.getImageSourceForTemplate(a.filteredTemplates[n+1]),e.LSH),e.xp6(1),e.Q6J("ngClass",e.WLB(3,h2,!a.isLightThemeEnabled,a.isLightThemeEnabled)),e.xp6(1),e.Oqu(a.filteredTemplates[n+1].name)}}function WCe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"span",14),e.TgZ(1,"div",15),e.NdJ("dragStart",function(s){return e.CHM(t),e.oxw(3).dragStart(s)})("dragEnd",function(s){e.CHM(t);var l=e.oxw(2).index,d=e.oxw();return d.dragEnd(s,d.filteredTemplates[l+2])}),e._UZ(2,"img",16),e.qZA(),e.TgZ(3,"div",17),e._uU(4),e.qZA(),e.qZA()}if(2&r){var n=e.oxw(2).index,a=e.oxw();e.xp6(2),e.Q6J("src",a.getImageSourceForTemplate(a.filteredTemplates[n+2]),e.LSH),e.xp6(1),e.Q6J("ngClass",e.WLB(3,h2,!a.isLightThemeEnabled,a.isLightThemeEnabled)),e.xp6(1),e.Oqu(a.filteredTemplates[n+2].name)}}function GCe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"span",14),e.TgZ(1,"div",15),e.NdJ("dragStart",function(s){return e.CHM(t),e.oxw(3).dragStart(s)})("dragEnd",function(s){e.CHM(t);var l=e.oxw(2).index,d=e.oxw();return d.dragEnd(s,d.filteredTemplates[l+3])}),e._UZ(2,"img",16),e.qZA(),e.TgZ(3,"div",17),e._uU(4),e.qZA(),e.qZA()}if(2&r){var n=e.oxw(2).index,a=e.oxw();e.xp6(2),e.Q6J("src",a.getImageSourceForTemplate(a.filteredTemplates[n+3]),e.LSH),e.xp6(1),e.Q6J("ngClass",e.WLB(3,h2,!a.isLightThemeEnabled,a.isLightThemeEnabled)),e.xp6(1),e.Oqu(a.filteredTemplates[n+3].name)}}function YCe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"span",13),e.TgZ(1,"span",14),e.TgZ(2,"div",15),e.NdJ("dragStart",function(s){return e.CHM(t),e.oxw(2).dragStart(s)})("dragEnd",function(s){e.CHM(t);var l=e.oxw().index,d=e.oxw();return d.dragEnd(s,d.filteredTemplates[l])}),e._UZ(3,"img",16),e.qZA(),e.TgZ(4,"div",17),e._uU(5),e.qZA(),e.qZA(),e.YNc(6,zCe,5,6,"span",18),e.YNc(7,WCe,5,6,"span",18),e.YNc(8,GCe,5,6,"span",18),e.qZA()}if(2&r){var n=e.oxw().index,a=e.oxw();e.xp6(3),e.Q6J("src",a.getImageSourceForTemplate(a.filteredTemplates[n]),e.LSH),e.xp6(1),e.Q6J("ngClass",e.WLB(6,h2,!a.isLightThemeEnabled,a.isLightThemeEnabled)),e.xp6(1),e.Oqu(a.filteredTemplates[n].name),e.xp6(1),e.Q6J("ngIf",a.filteredTemplates[n+1]),e.xp6(1),e.Q6J("ngIf",a.filteredTemplates[n+2]),e.xp6(1),e.Q6J("ngIf",a.filteredTemplates[n+3])}}function JCe(r,i){if(1&r&&(e.TgZ(0,"mat-list-item"),e.YNc(1,YCe,9,9,"span",12),e.qZA()),2&r){var t=i.index;e.xp6(1),e.Q6J("ngIf",t%4==0)}}var Vq=function(){return{standalone:!0}},QCe=function(){var r=function(){function i(t,n,a,o,s,l){(0,v.Z)(this,i),this.dialog=t,this.templateService=n,this.scaleService=a,this.symbolService=o,this.themeService=s,this.overlayContainer=l,this.onNodeCreation=new e.vpe,this.templates=[],this.filteredTemplates=[],this.searchText="",this.templateTypes=["all","cloud","ethernet_hub","ethernet_switch","docker","dynamips","vpcs","traceng","virtualbox","vmware","iou","qemu"],this.isLightThemeEnabled=!1,this.overlay=l.getContainerElement()}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.subscription=this.templateService.newTemplateCreated.subscribe(function(a){n.templates.push(a)}),this.templateService.list(this.server).subscribe(function(a){n.filteredTemplates=a,n.sortTemplates(),n.templates=a}),this.symbolService.list(this.server),"light"===this.themeService.getActualTheme()&&(this.isLightThemeEnabled=!0),this.themeSubscription=this.themeService.themeChanged.subscribe(function(a){"light-theme"===a&&(n.isLightThemeEnabled=!0),n.toggleTheme()})}},{key:"toggleTheme",value:function(){this.overlay.classList.contains("dark-theme")?(this.overlay.classList.remove("dark-theme"),this.overlay.classList.add("light-theme")):this.overlay.classList.contains("light-theme")?(this.overlay.classList.remove("light-theme"),this.overlay.classList.add("dark-theme")):this.overlay.classList.add("light-theme")}},{key:"sortTemplates",value:function(){this.filteredTemplates=this.filteredTemplates.sort(function(n,a){return n.name<a.name?-1:1})}},{key:"filterTemplates",value:function(n){var a=this,o=this.templates.filter(function(s){return s.name.toLowerCase().includes(a.searchText.toLowerCase())});this.filteredTemplates="all"!==this.selectedType&&this.selectedType?o.filter(function(s){return s.template_type===a.selectedType}):o,this.sortTemplates()}},{key:"dragStart",value:function(n){var a=event.target.getBoundingClientRect();this.startX=event.clientX,this.startY=event.clientY,this.movementY=a.top-event.clientY,this.movementX=a.left-event.clientX}},{key:"dragEnd",value:function(n,a){var o=this;this.symbolService.raw(this.server,a.symbol.substring(1)).subscribe(function(s){var l=+s.split('width="')[1].split('"')[0]?+s.split('width="')[1].split('"')[0]:0,d=o.scaleService.getScale(),h={template:a,server:"local",numberOfNodes:1,x:(o.startX+n.x-o.project.scene_width/2-l/2)*d+window.scrollX,y:(o.startY+n.y-o.project.scene_height/2)*d+window.scrollY};o.onNodeCreation.emit(h)})}},{key:"openDialog",value:function(){var n=this;this.dialog.open(jCe,{width:"600px",data:{server:this.server,project:this.project},autoFocus:!1,disableClose:!0}).afterClosed().subscribe(function(o){null!==o&&n.onNodeCreation.emit(o)})}},{key:"getImageSourceForTemplate",value:function(n){return"".concat(this.server.protocol,"//").concat(this.server.host,":").concat(this.server.port,"/v2/symbols/").concat(n.symbol,"/raw")}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(ca),e.Y36(K_),e.Y36(sy),e.Y36(J1),e.Y36(Ru.f),e.Y36(Ga.Xj))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-template"]],inputs:{server:"server",project:"project"},outputs:{onNodeCreation:"onNodeCreation"},decls:18,vars:9,consts:[["matTooltip","Add a node","matTooltipClass","custom-tooltip","mat-icon-button","",1,"menu-button","add-menu-button",3,"matMenuTriggerFor"],["mainMenu","matMenu"],["mat-menu-item","",3,"click"],["floatPlaceholder","never",1,"form-field",3,"click"],["matInput","","placeholder","Search by name",3,"ngModel","ngModelOptions","keyup","ngModelChange"],[1,"form-field",3,"click"],["placeholder","Filter templates by type",3,"ngModelOptions","ngModel","selectionChange","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"menu"],[1,"templateList"],[4,"ngFor","ngForOf"],[3,"value"],["class","templateRow",4,"ngIf"],[1,"templateRow"],[1,"templateIcon"],["mwlDraggable","",3,"dragStart","dragEnd"],[1,"image",3,"src"],[3,"ngClass"],["class","templateIcon",4,"ngIf"]],template:function(t,n){if(1&t&&(e.TgZ(0,"button",0),e.TgZ(1,"mat-icon"),e._uU(2,"add"),e.qZA(),e.qZA(),e.TgZ(3,"mat-menu",null,1),e.TgZ(5,"button",2),e.NdJ("click",function(){return n.openDialog()}),e.TgZ(6,"mat-icon"),e._uU(7,"add_to_queue"),e.qZA(),e.TgZ(8,"span"),e._uU(9,"Open dialog to configure"),e.qZA(),e.qZA(),e.TgZ(10,"mat-form-field",3),e.NdJ("click",function(s){return s.stopPropagation()}),e.TgZ(11,"input",4),e.NdJ("keyup",function(s){return n.filterTemplates(s)})("ngModelChange",function(s){return n.searchText=s}),e.qZA(),e.qZA(),e.TgZ(12,"mat-form-field",5),e.NdJ("click",function(s){return s.stopPropagation()}),e.TgZ(13,"mat-select",6),e.NdJ("selectionChange",function(s){return n.filterTemplates(s)})("ngModelChange",function(s){return n.selectedType=s}),e.YNc(14,qCe,2,2,"mat-option",7),e.qZA(),e.qZA(),e.TgZ(15,"div",8),e.TgZ(16,"div",9),e.YNc(17,JCe,2,1,"mat-list-item",10),e.qZA(),e.qZA(),e.qZA()),2&t){var a=e.MAs(4);e.Q6J("matMenuTriggerFor",a),e.xp6(11),e.Q6J("ngModel",n.searchText)("ngModelOptions",e.DdM(7,Vq)),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(8,Vq))("ngModel",n.selectedType),e.xp6(1),e.Q6J("ngForOf",n.templateTypes),e.xp6(3),e.Q6J("ngForOf",n.filteredTemplates)}},directives:[En,ts,ns,er,Ls,Zr,Ln.KE,ir,re.Fj,re.JJ,re.On,yi.gD,Pt.sg,sn.ey,Zs,Pt.O5,jx,Pt.mk],styles:[".mat-menu-panel{max-width:400px;max-height:500px}.menu[_ngcontent-%COMP%]{width:100%;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}.form-field[_ngcontent-%COMP%]{width:90%;margin-left:5%;margin-right:5%}.image[_ngcontent-%COMP%]{width:65px;height:65px;filter:invert(0);--webkit-filter: invert(0) !important}.templateList[_ngcontent-%COMP%]{width:100%}.templateRow[_ngcontent-%COMP%]{display:flex;margin-bottom:10px}.templateText[_ngcontent-%COMP%]{word-wrap:break-word}.lightTemplateText[_ngcontent-%COMP%]{word-wrap:break-word;color:#000}.templateIcon[_ngcontent-%COMP%]{width:80px!important;padding:10px}"]}),r}(),vL=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.dialogRef=t,this.data=n}return(0,g.Z)(i,[{key:"onCancelClick",value:function(){this.dialogRef.close(i.CANCELLED)}},{key:"ngOnInit",value:function(){}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(hd))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-progress-dialog"]],decls:7,vars:1,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["color","primary","mode","determinate",3,"value"],["mat-dialog-actions",""],["mat-button","","tabindex","-1","color","accent",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1,"Operation in progress"),e.qZA(),e.TgZ(2,"div",1),e._UZ(3,"mat-progress-bar",2),e.qZA(),e.TgZ(4,"div",3),e.TgZ(5,"button",4),e.NdJ("click",function(){return n.onCancelClick()}),e._uU(6,"Cancel"),e.qZA(),e.qZA()),2&t&&(e.xp6(3),e.Q6J("value",n.value))},directives:[ii,Q_,qj,ti,En],styles:[""]}),r}(),KCe=function r(){(0,v.Z)(this,r)},m2=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.httpServer=t}return(0,g.Z)(i,[{key:"create",value:function(n,a,o){return this.httpServer.post(n,"/projects/".concat(a,"/snapshots"),o)}},{key:"delete",value:function(n,a,o){return this.httpServer.delete(n,"/projects/".concat(a,"/snapshots/").concat(o))}},{key:"list",value:function(n,a){return this.httpServer.get(n,"/projects/".concat(a,"/snapshots"))}},{key:"restore",value:function(n,a,o){return this.httpServer.post(n,"/projects/".concat(a,"/snapshots/").concat(o,"/restore"),{})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(Ja.wh))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),XCe=function(){var r=function(){function i(t,n,a,o,s,l){var d=this;(0,v.Z)(this,i),this.dialogRef=t,this.formBuilder=n,this.toasterService=a,this.snapshotService=o,this.nodesDataSource=s,this.data=l,this.snapshot=new KCe,this.snapshots=[],this.server=l.server,this.project=l.project,this.inputForm=this.formBuilder.group({snapshotName:new re.NI("",re.kI.required)}),this.snapshotService.list(this.server,this.project.project_id).subscribe(function(h){h.forEach(function(C){d.snapshots.push(C.name)})}),this.nodesDataSource.getItems().forEach(function(h){"stopped"!==h.status&&!d.isAlwaysRunningNode(h.node_type)&&(d.isInRunningState=!0)})}return(0,g.Z)(i,[{key:"isAlwaysRunningNode",value:function(n){return!["qemu","docker","dynamips","vpcs","vmware","virtualbox","iou","traceng"].includes(n)}},{key:"onAddClick",value:function(){this.inputForm.invalid?this.toasterService.error("Fill all required fields"):this.snapshots.includes(this.inputForm.get("snapshotName").value)?this.toasterService.error("Snapshot with this name already exists"):this.isInRunningState?this.toasterService.error("Project must be stopped in order to export it"):(this.snapshot.name=this.inputForm.get("snapshotName").value,this.dialogRef.close(this.snapshot))}},{key:"onNoClick",value:function(){this.dialogRef.close()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(re.qu),e.Y36(Yn),e.Y36(m2),e.Y36(Ao.G),e.Y36(hd))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-create-snapshot-dialog"]],decls:14,vars:3,consts:[[1,"title-container"],["mat-dialog-title",""],["mat-button","","color","accent",1,"top-button",3,"routerLink","click"],["mat-dialog-content",""],[3,"formGroup"],[1,"name-input"],["matInput","","tabindex","1","formControlName","snapshotName","placeholder","Name"],["mat-dialog-actions",""],["mat-button","","tabindex","-1","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"h1",1),e._uU(2,"Create snapshot"),e.qZA(),e.TgZ(3,"button",2),e.NdJ("click",function(){return n.onNoClick()}),e._uU(4," Go to snapshots "),e.qZA(),e.qZA(),e.TgZ(5,"div",3),e.TgZ(6,"form",4),e.TgZ(7,"mat-form-field",5),e._UZ(8,"input",6),e.qZA(),e.qZA(),e.qZA(),e.TgZ(9,"div",7),e.TgZ(10,"button",8),e.NdJ("click",function(){return n.onNoClick()}),e._uU(11,"Cancel"),e.qZA(),e.TgZ(12,"button",9),e.NdJ("click",function(){return n.onAddClick()}),e._uU(13,"Add"),e.qZA(),e.qZA()),2&t&&(e.xp6(3),e.hYB("routerLink","/server/",n.server.id,"/project/",n.project.project_id,"/snapshots"),e.xp6(3),e.Q6J("formGroup",n.inputForm))},directives:[ii,En,go,Q_,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,ti],styles:[".title-container[_ngcontent-%COMP%]{display:flex;align-items:baseline;justify-content:space-between}.name-input[_ngcontent-%COMP%]{width:100%}.top-button[_ngcontent-%COMP%]{outline:none;box-shadow:none!important;background:transparent!important}button[_ngcontent-%COMP%]:focus{outline:0!important;border:0!important;box-shadow:none!important}"]}),r}(),gL=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.dialog=t}return(0,g.Z)(i,[{key:"open",value:function(){return this.dialog.open(vL,{width:"250px",autoFocus:!1,disableClose:!0})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(ca))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),$Ce=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this.dialog=t,this.snapshotService=n,this.progressDialogService=a,this.toaster=o}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){}},{key:"createSnapshotModal",value:function(){var n=this;this.dialog.open(XCe,{width:"450px",data:{server:this.server,project:this.project},autoFocus:!1,disableClose:!0}).afterClosed().subscribe(function(o){if(o){var s=n.snapshotService.create(n.server,n.project.project_id,o),l=n.progressDialogService.open(),d=s.subscribe(function(h){n.toaster.success("Snapshot '".concat(o.name,"' has been created.")),l.close()});l.afterClosed().subscribe(function(h){h===vL.CANCELLED&&d.unsubscribe()})}})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(ca),e.Y36(m2),e.Y36(gL),e.Y36(Yn))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-snapshot-menu-item"]],inputs:{project:"project",server:"server"},decls:3,vars:0,consts:[["matTooltip","Manage snapshots","matTooltipClass","custom-tooltip","mat-icon-button","",1,"snapshot-button","menu-button",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return n.createSnapshotModal()}),e.TgZ(1,"mat-icon"),e._uU(2,"filter_none"),e.qZA(),e.qZA())},directives:[En,ts,er],styles:[""]}),r}(),e1e=function r(i,t,n,a){(0,v.Z)(this,r),this.sourceNode=i,this.sourcePort=t,this.targetNode=n,this.targetPort=a};function t1e(r,i){1&r&&(e.O4$(),e.TgZ(0,"svg",9),e._UZ(1,"rect",10),e.qZA())}function n1e(r,i){1&r&&(e.O4$(),e.TgZ(0,"svg",9),e._UZ(1,"rect",11),e.qZA())}function r1e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"button",6),e.NdJ("click",function(){var s=e.CHM(t).$implicit;return e.oxw(2).chooseInterface(s)}),e.YNc(1,t1e,2,0,"svg",7),e.YNc(2,n1e,2,0,"svg",7),e.TgZ(3,"span",8),e._uU(4),e.qZA(),e.qZA()}if(2&r){var n=i.$implicit;e.Q6J("disabled",!n.available),e.xp6(1),e.Q6J("ngIf",n.available),e.xp6(1),e.Q6J("ngIf",!n.available),e.xp6(2),e.Oqu(n.name)}}function i1e(r,i){if(1&r&&(e.TgZ(0,"div",1),e._UZ(1,"span",2),e.TgZ(2,"mat-menu",3,4),e.YNc(4,r1e,5,4,"button",5),e.qZA(),e.qZA()),2&r){var t=e.MAs(3),n=e.oxw();e.Udp("left",n.leftPosition)("top",n.topPosition),e.xp6(1),e.Q6J("matMenuTriggerFor",t),e.xp6(1),e.Udp("min-height",0),e.xp6(2),e.Q6J("ngForOf",n.ports)}}var jq=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.sanitizer=t,this.changeDetector=n,this.onChooseInterface=new e.vpe}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){this.setPosition(0,0)}},{key:"setPosition",value:function(n,a){this.topPosition=this.sanitizer.bypassSecurityTrustStyle(n+"px"),this.leftPosition=this.sanitizer.bypassSecurityTrustStyle(a+"px"),this.changeDetector.detectChanges()}},{key:"open",value:function(n,a,o){this.node=n,this.filterNodePorts(),this.setPosition(a,o),this.contextMenu.openMenu()}},{key:"filterNodePorts",value:function(){var n=this,a=[];this.links.forEach(function(o){o.nodes.forEach(function(s){s.node_id===n.node.node_id&&a.push(s)})}),this.ports=[],this.node.ports.forEach(function(o){var s=a.filter(function(l){return l.adapter_number===o.adapter_number});o.available=0===s.length||0===s.filter(function(l){return l.port_number===o.port_number}).length,n.ports.push(o)})}},{key:"chooseInterface",value:function(n){this.onChooseInterface.emit({node:this.node,port:n})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(U.H7),e.Y36(e.sBO))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-node-select-interface"]],viewQuery:function(t,n){var a;1&t&&e.Gf(ns,5),2&t&&e.iGM(a=e.CRH())&&(n.contextMenu=a.first)},inputs:{links:"links"},outputs:{onChooseInterface:"onChooseInterface"},decls:1,vars:1,consts:[["class","context-menu",3,"left","top",4,"ngIf"],[1,"context-menu"],[3,"matMenuTriggerFor"],[1,"context-menu-items"],["selectInterfaceMenu","matMenu"],["mat-menu-item","",3,"disabled","click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"disabled","click"],["width","10","height","10",4,"ngIf"],[1,"port"],["width","10","height","10"],["x","0","y","0","width","10","height","10","fill","green",1,"status"],["x","0","y","0","width","10","height","10","fill","red",1,"status"]],template:function(t,n){1&t&&e.YNc(0,i1e,5,8,"div",0),2&t&&e.Q6J("ngIf",n.node)},directives:[Pt.O5,ns,Ls,Pt.sg,Zr],styles:[".context-menu[_ngcontent-%COMP%]{position:absolute}.context-menu-items[_ngcontent-%COMP%]{min-height:0px!important}.status[_ngcontent-%COMP%]{margin-right:10px}.port[_ngcontent-%COMP%]{margin-left:10px}"]}),r}(),a1e=function(){var r=function(){function i(t,n,a,o,s,l){(0,v.Z)(this,i),this.drawingLineTool=t,this.nodesEventSource=n,this.linksEventSource=a,this.mapNodeToNode=o,this.nodeToMapNode=s,this.portToMapPort=l}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.nodeClicked$=this.nodesEventSource.clicked.subscribe(function(a){var o=n.mapNodeToNode.convert(a.datum);n.nodeSelectInterfaceMenu.open(o,a.y,a.x)})}},{key:"ngOnDestroy",value:function(){this.drawingLineTool.isDrawing()&&this.drawingLineTool.stop(),this.nodeClicked$.unsubscribe()}},{key:"onChooseInterface",value:function(n){var a=this.nodeToMapNode.convert(n.node),o=this.portToMapPort.convert(n.port);if(this.drawingLineTool.isDrawing()){var s=this.drawingLineTool.stop();this.linksEventSource.created.emit(new e1e(s.node,s.port,a,o))}else this.drawingLineTool.start(a.x+a.width/2,a.y+a.height/2,{node:a,port:o})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(G6),e.Y36(iv),e.Y36(lS),e.Y36(p2),e.Y36(H6),e.Y36(U6))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-draw-link-tool"]],viewQuery:function(t,n){var a;1&t&&e.Gf(jq,5),2&t&&e.iGM(a=e.CRH())&&(n.nodeSelectInterfaceMenu=a.first)},inputs:{links:"links"},decls:1,vars:1,consts:[[3,"links","onChooseInterface"]],template:function(t,n){1&t&&(e.TgZ(0,"app-node-select-interface",0),e.NdJ("onChooseInterface",function(o){return n.onChooseInterface(o)}),e.qZA()),2&t&&e.Q6J("links",n.links)},directives:[jq],styles:[""]}),r}(),qq=f(4147).i8,zq=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(){return(0,v.Z)(this,n),t.apply(this,arguments)}return(0,g.Z)(n,[{key:"getItemKey",value:function(o){return o}}]),n}(WA.o);return r.\u0275fac=function(){var i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),o1e=["console"];function s1e(r,i){if(1&r&&(e.TgZ(0,"span",12),e._uU(1),e._UZ(2,"br"),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.hij(" ",t.message," ")}}var v2=function(i){return{lightTheme:i}},l1e=function(){var r=function(){function i(t,n,a,o,s,l,d,h,C){(0,v.Z)(this,i),this.projectWebServiceHandler=t,this.nodeService=n,this.nodesDataSource=a,this.logEventsDataSource=o,this.httpService=s,this.themeService=l,this.cd=d,this.nodeConsoleService=h,this.changeDetectorRef=C,this.version=qq,this.command="",this.filters=["all","errors","warnings","info","map updates","server requests"],this.selectedFilter="all",this.filteredEvents=[],this.regexStart=/^start (.*?)$/,this.regexStop=/^stop (.*?)$/,this.regexSuspend=/^suspend (.*?)$/,this.regexReload=/^reload (.*?)$/,this.regexShow=/^show (.*?)$/,this.regexConsole=/^console (.*?)$/,this.style={},this.isDraggingEnabled=!1,this.isLightThemeEnabled=!1,this.selected=new re.NI(0)}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.nodeConsoleService.consoleResized.subscribe(function(a){n.style={bottom:"20px",left:"20px",width:"".concat(a.width,"px"),height:"".concat(a.height-70,"px")},n.changeDetectorRef.detectChanges()}),this.isLightThemeEnabled="light"===this.themeService.getActualTheme(),this.style={bottom:"20px",left:"20px",width:"720px",height:"340px"},this.nodeSubscription=this.projectWebServiceHandler.nodeNotificationEmitter.subscribe(function(a){var s,o=a.event;s=o.label?"Event received: ".concat(a.action," - ").concat(n.printNode(o),"."):"Event received: ".concat(a.action," - ").concat(o.name,"."),n.showMessage({type:"map update",message:s})}),this.linkSubscription=this.projectWebServiceHandler.linkNotificationEmitter.subscribe(function(a){var o=a.event,s="Event received: ".concat(a.action," - ").concat(n.printLink(o),".");n.showMessage({type:"map update",message:s})}),this.drawingSubscription=this.projectWebServiceHandler.drawingNotificationEmitter.subscribe(function(a){var o=a.event,s="Event received: ".concat(a.action," - ").concat(n.printDrawing(o),".");n.showMessage({type:"map update",message:s})}),this.serverRequestsSubscription=this.httpService.requestsNotificationEmitter.subscribe(function(a){n.showMessage({type:"server request",message:a})}),this.errorSubscription=this.projectWebServiceHandler.errorNotificationEmitter.subscribe(function(a){n.showMessage({type:"error",message:a})}),this.warningSubscription=this.projectWebServiceHandler.warningNotificationEmitter.subscribe(function(a){n.showMessage({type:"warning",message:a})}),this.infoSubscription=this.projectWebServiceHandler.infoNotificationEmitter.subscribe(function(a){n.showMessage({type:"info",message:a})})}},{key:"ngAfterViewInit",value:function(){this.console.nativeElement&&(this.console.nativeElement.scrollTop=this.console.nativeElement.scrollHeight)}},{key:"ngOnDestroy",value:function(){this.nodeSubscription.unsubscribe(),this.linkSubscription.unsubscribe(),this.drawingSubscription.unsubscribe(),this.serverRequestsSubscription.unsubscribe(),this.errorSubscription.unsubscribe(),this.warningSubscription.unsubscribe(),this.infoSubscription.unsubscribe()}},{key:"applyFilter",value:function(n){this.selectedFilter=n,this.filteredEvents=this.getFilteredEvents(),this.cd.detectChanges()}},{key:"onKeyDown",value:function(n){"Enter"===n.key&&this.handleCommand()}},{key:"handleCommand",value:function(){var n=this;if("help"===this.command||""===this.command)this.showCommand("Available commands: help, version, console {node name}, start all, start {node name}, stop all, stop {node name}, suspend all, suspend {node name}, reload all, reload {node name}, show {node name}.");else if("version"===this.command)this.showCommand("Current version: "+this.version);else if("start all"===this.command)this.showCommand("Starting all nodes..."),this.nodeService.startAll(this.server,this.project).subscribe(function(){n.showCommand("All nodes started.")});else if("stop all"===this.command)this.showCommand("Stopping all nodes..."),this.nodeService.stopAll(this.server,this.project).subscribe(function(){n.showCommand("All nodes stopped.")});else if("suspend all"===this.command)this.showCommand("Suspending all nodes..."),this.nodeService.suspendAll(this.server,this.project).subscribe(function(){n.showCommand("All nodes suspended.")});else if("reload all"===this.command)this.showCommand("Reloading all nodes..."),this.nodeService.reloadAll(this.server,this.project).subscribe(function(){n.showCommand("All nodes reloaded.")});else if(this.regexStart.test(this.command)||this.regexStop.test(this.command)||this.regexSuspend.test(this.command)||this.regexReload.test(this.command)||this.regexShow.test(this.command)||this.regexConsole.test(this.command)){var a=this.command.split(/[ ,]+/),o=this.nodesDataSource.getItems().find(function(s){return s.name.valueOf()===a[1].valueOf()});o?this.regexStart.test(this.command)?(this.showCommand("Starting node ".concat(a[1],"...")),this.nodeService.start(this.server,o).subscribe(function(){return n.showCommand("Node ".concat(o.name," started."))})):this.regexStop.test(this.command)?(this.showCommand("Stopping node ".concat(a[1],"...")),this.nodeService.stop(this.server,o).subscribe(function(){return n.showCommand("Node ".concat(o.name," stopped."))})):this.regexSuspend.test(this.command)?(this.showCommand("Suspending node ".concat(a[1],"...")),this.nodeService.suspend(this.server,o).subscribe(function(){return n.showCommand("Node ".concat(o.name," suspended."))})):this.regexReload.test(this.command)?(this.showCommand("Reloading node ".concat(a[1],"...")),this.nodeService.reload(this.server,o).subscribe(function(){return n.showCommand("Node ".concat(o.name," reloaded."))})):this.regexConsole.test(this.command)?"started"===o.status?(this.showCommand("Launching console for node ".concat(a[1],"...")),"telnet"===o.console_type?location.assign("gns3+telnet://".concat(o.console_host,":").concat(o.console,"?name=").concat(o.name,"&project_id=").concat(o.project_id,"&node_id=").concat(o.node_id)):"vnc"===o.console_type?location.assign("gns3+vnc://".concat(o.console_host,":").concat(o.console,"?name=").concat(o.name,"&project_id=").concat(o.project_id,"&node_id=").concat(o.node_id)):"spice"===o.console_type?location.assign("gns3+spice://".concat(o.console_host,":").concat(o.console,"?name=").concat(o.name,"&project_id=").concat(o.project_id,"&node_id=").concat(o.node_id)):this.showCommand("Supported console types: telnet, vnc, spice.")):this.showCommand("This node must be started before a console can be opened."):this.regexShow.test(this.command)&&(this.showCommand("Information about node ".concat(o.name,":")),this.showCommand(this.printNode(o))):this.showCommand("Node with ".concat(a[1]," name was not found."))}else this.showCommand("Unknown syntax: ".concat(this.command));this.command="",this.cd.detectChanges()}},{key:"clearConsole",value:function(){this.filteredEvents=[],this.console.nativeElement.scrollTop=this.console.nativeElement.scrollHeight}},{key:"showCommand",value:function(n){this.showMessage({type:"command",message:n})}},{key:"showMessage",value:function(n){var a=this;this.logEventsDataSource.add(n),this.filteredEvents=this.getFilteredEvents(),this.console.nativeElement.scrollTop=this.console.nativeElement.scrollHeight,setTimeout(function(){a.console.nativeElement.scrollTop=a.console.nativeElement.scrollHeight},100),this.cd.detectChanges()}},{key:"getFilteredEvents",value:function(){return"server requests"===this.selectedFilter?this.logEventsDataSource.getItems().filter(function(n){return"server request"===n.type}):"errors"===this.selectedFilter?this.logEventsDataSource.getItems().filter(function(n){return"error"===n.type}):"warnings"===this.selectedFilter?this.logEventsDataSource.getItems().filter(function(n){return"warning"===n.type}):"info"===this.selectedFilter?this.logEventsDataSource.getItems().filter(function(n){return"info"===n.type}):"map updates"===this.selectedFilter?this.logEventsDataSource.getItems().filter(function(n){return"map update"===n.type||"command"===n.type}):this.logEventsDataSource.getItems()}},{key:"printNode",value:function(n){return"command_line: ".concat(n.command_line,", \n            compute_id: ").concat(n.compute_id,", \n            console: ").concat(n.console,", \n            console_host: ").concat(n.console_host,", \n            console_type: ").concat(n.console_type,", \n            first_port_name: ").concat(n.first_port_name,", \n            height: ").concat(n.height,", \n            label: ").concat(n.label.text,", \n            name: ").concat(n.name,", \n            node_directory: ").concat(n.node_directory,", \n            node_id: ").concat(n.node_id,", \n            node_type: ").concat(n.node_type,", \n            port_name_format: ").concat(n.port_name_format,", \n            port_segment_size: ").concat(n.port_segment_size,", ")+this.printPorts(n.ports)+"project_id: ".concat(n.project_id,", \n            status: ").concat(n.status,", \n            symbol: ").concat(n.symbol,", \n            symbol_url: ").concat(n.symbol_url,", \n            width: ").concat(n.width,", \n            x: ").concat(n.x,", \n            y: ").concat(n.y,", \n            z: ").concat(n.z)}},{key:"printPorts",value:function(n){var a="ports: ";return n.forEach(function(o){a+="adapter_number: ".concat(o.adapter_number,", \n            link_type: ").concat(o.link_type,", \n            name: ").concat(o.name,", \n            port_number: ").concat(o.port_number,", \n            short_name: ").concat(o.short_name,", ")}),a}},{key:"printLink",value:function(n){return"capture_file_name: ".concat(n.capture_file_name,", \n            capture_file_path: ").concat(n.capture_file_path,", \n            capturing: ").concat(n.capturing,", \n            link_id: ").concat(n.link_id,", \n            link_type: ").concat(n.link_type,", \n            project_id: ").concat(n.project_id,", \n            suspend: ").concat(n.suspend,", ")}},{key:"printDrawing",value:function(n){return"drawing_id: ".concat(n.drawing_id,", \n            project_id: ").concat(n.project_id,", \n            rotation: ").concat(n.rotation,", \n            x: ").concat(n.x,", \n            y: ").concat(n.y,", \n            z: ").concat(n.z)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(pL),e.Y36(Yr),e.Y36(Ao.G),e.Y36(zq),e.Y36(Ja.wh),e.Y36(Ru.f),e.Y36(e.sBO),e.Y36(gd),e.Y36(e.sBO))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-log-console"]],viewQuery:function(t,n){var a;1&t&&e.Gf(o1e,5),2&t&&e.iGM(a=e.CRH())&&(n.console=a.first)},inputs:{server:"server",project:"project"},decls:25,vars:16,consts:[[1,"consoleHeader"],[1,"consoleFiltering"],[1,"filterButton",3,"ngClass","matMenuTriggerFor"],["xPosition","after"],["filterMenu","matMenu"],["mat-menu-item","",3,"click"],[1,"console",3,"ngClass","ngStyle"],["console",""],["class","console-item",4,"ngFor","ngForOf"],[1,"consoleInput",3,"ngClass"],[1,"inputIcon"],["autofocus","","type","text",1,"commandLine",3,"ngClass","ngModel","keydown","ngModelChange"],[1,"console-item"]],template:function(t,n){if(1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"button",2),e._uU(3," Apply filter "),e.qZA(),e.TgZ(4,"mat-menu",3,4),e.TgZ(6,"button",5),e.NdJ("click",function(){return n.applyFilter("all")}),e._uU(7,"all"),e.qZA(),e.TgZ(8,"button",5),e.NdJ("click",function(){return n.applyFilter("errors")}),e._uU(9,"errors"),e.qZA(),e.TgZ(10,"button",5),e.NdJ("click",function(){return n.applyFilter("warnings")}),e._uU(11,"warnings"),e.qZA(),e.TgZ(12,"button",5),e.NdJ("click",function(){return n.applyFilter("info")}),e._uU(13,"info"),e.qZA(),e.TgZ(14,"button",5),e.NdJ("click",function(){return n.applyFilter("map updates")}),e._uU(15,"map updates"),e.qZA(),e.TgZ(16,"button",5),e.NdJ("click",function(){return n.applyFilter("server requests")}),e._uU(17,"server requests"),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(18,"div",6,7),e.YNc(20,s1e,3,1,"span",8),e.qZA(),e.TgZ(21,"div",9),e.TgZ(22,"mat-icon",10),e._uU(23,"keyboard_arrow_right"),e.qZA(),e.TgZ(24,"input",11),e.NdJ("keydown",function(s){return n.onKeyDown(s)})("ngModelChange",function(s){return n.command=s}),e.qZA(),e.qZA()),2&t){var a=e.MAs(5);e.xp6(2),e.Q6J("ngClass",e.VKq(8,v2,n.isLightThemeEnabled))("matMenuTriggerFor",a),e.xp6(16),e.Q6J("ngClass",e.VKq(10,v2,n.isLightThemeEnabled))("ngStyle",n.style),e.xp6(2),e.Q6J("ngForOf",n.filteredEvents),e.xp6(1),e.Q6J("ngClass",e.VKq(12,v2,n.isLightThemeEnabled)),e.xp6(3),e.Q6J("ngClass",e.VKq(14,v2,n.isLightThemeEnabled))("ngModel",n.command)}},directives:[Pt.mk,ns,Ls,Zr,Pt.PC,Pt.sg,er,re.Fj,re.JJ,re.On],styles:[".consoleWrapper[_ngcontent-%COMP%]{box-shadow:0 4px 8px #0003,0 6px 20px #00000030;position:fixed;bottom:20px;left:20px;height:180px;width:600px;background:#263238;color:#fff;overflow:hidden;font-size:12px}.lightTheme[_ngcontent-%COMP%]{background:white!important;color:#000}.filterButton[_ngcontent-%COMP%]{background:transparent;color:#fff;border:none;margin-top:0;outline:none;color:#dbd5d5;font-weight:bold;padding:0}.consoleFiltering[_ngcontent-%COMP%]{display:flex}.consoleHeader[_ngcontent-%COMP%]{width:100%;height:40px;font-size:12px;overflow:hidden;display:flex;padding:2px;justify-content:space-between}.console[_ngcontent-%COMP%]{width:596px;height:120px;overflow-y:scroll;padding:2px;color:#dbd5d5;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.consoleInput[_ngcontent-%COMP%]{width:100%;height:30px;padding:2px;display:flex}.commandLine[_ngcontent-%COMP%]{background-color:transparent;color:#fff;border:none}.inputIcon[_ngcontent-%COMP%]{margin-top:2px}mat-icon[_ngcontent-%COMP%]{font-size:20px;width:20px;height:20px}input[_ngcontent-%COMP%]:focus{outline:none}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}.closeButton[_ngcontent-%COMP%]{cursor:pointer}"],changeDetection:0}),r}(),Wq=f(52383),Gq=f(84406),Yq=f(21593),u1e=["terminal"],c1e=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.consoleService=t,this.themeService=n,this.term=new Wq.Terminal,this.fitAddon=new Yq.FitAddon,this.isLightThemeEnabled=!1,this.copiedText=""}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.isLightThemeEnabled="light"===this.themeService.getActualTheme(),this.consoleService.consoleResized.subscribe(function(a){var o=Math.floor(a.width/9),s=Math.floor(a.height/17);n.consoleService.setNumberOfColumns(o),n.consoleService.setNumberOfRows(s),n.term.resize(o,s)}),this.consoleService.getNumberOfColumns()&&this.consoleService.getNumberOfRows()&&this.term.resize(this.consoleService.getNumberOfColumns(),this.consoleService.getNumberOfRows())}},{key:"ngAfterViewInit",value:function(){var n=this;this.term.open(this.terminal.nativeElement),this.isLightThemeEnabled&&this.term.setOption("theme",{background:"white",foreground:"black",cursor:"black"});var a=new WebSocket(this.consoleService.getUrl(this.server,this.node));a.onerror=function(s){n.term.write("Connection lost")},a.onclose=function(s){n.consoleService.closeConsoleForNode(n.node)};var o=new Gq.AttachAddon(a);this.term.loadAddon(o),this.term.setOption("cursorBlink",!0),this.term.loadAddon(this.fitAddon),this.fitAddon.activate(this.term),this.term.focus(),this.term.attachCustomKeyEventHandler(function(s){return!(("KeyC"===s.code||"KeyV"===s.code)&&s.ctrlKey&&s.shiftKey)})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(gd),e.Y36(Ru.f))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-web-console"]],viewQuery:function(t,n){var a;1&t&&e.Gf(u1e,5),2&t&&e.iGM(a=e.CRH())&&(n.terminal=a.first)},inputs:{server:"server",project:"project",node:"node"},decls:2,vars:0,consts:[["id","terminal",1,"lightTheme"],["terminal",""]],template:function(t,n){1&t&&e._UZ(0,"div",0,1)},styles:['/**\n * Copyright (c) 2014 The xterm.js authors. All rights reserved.\n * Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)\n * https://github.com/chjj/term.js\n * @license MIT\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *\n * Originally forked from (with the author\'s permission):\n *   Fabrice Bellard\'s javascript vt100 for jslinux:\n *   http://bellard.org/jslinux/\n *   Copyright (c) 2011 Fabrice Bellard\n *   The original design remains. The terminal itself\n *   has been extended to include xterm CSI codes, among\n *   other features.\n */.xterm{position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm{cursor:text}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility,.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:.5}.xterm-underline{text-decoration:underline}.xterm-strikethrough{text-decoration:line-through}\n',".lightTheme{background:white!important;color:#000!important}\n"],encapsulation:2}),r}();function d1e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",10),e.NdJ("mousemove",function(a){return e.CHM(t),e.oxw().dragWidget(a)},!1,e.evT)("mouseup",function(){return e.CHM(t),e.oxw().toggleDragging(!1)},!1,e.evT),e.qZA()}}function p1e(r,i){1&r&&(e.TgZ(0,"div",11),e._uU(1,"GNS3 console"),e.qZA())}var fS=function(i){return{lightThemeConsoleHeader:i}};function f1e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",11),e._uU(1),e.qZA(),e.TgZ(2,"button",7),e.NdJ("click",function(){e.CHM(t);var s=e.oxw().index;return e.oxw().removeTab(s)}),e.TgZ(3,"mat-icon"),e._uU(4,"close"),e.qZA(),e.qZA()}if(2&r){var n=e.oxw().$implicit,a=e.oxw();e.xp6(1),e.Oqu(n.name),e.xp6(1),e.Q6J("ngClass",e.VKq(2,fS,a.isLightThemeEnabled))}}function h1e(r,i){if(1&r&&(e.TgZ(0,"mat-tab",12),e.YNc(1,f1e,5,4,"ng-template",4),e.qZA()),2&r){var t=e.oxw();e.Q6J("label",t.tab)}}function m1e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"button",7),e.NdJ("click",function(){return e.CHM(t),e.oxw().minimize(!0)}),e.TgZ(1,"mat-icon"),e._uU(2,"remove"),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.Q6J("ngClass",e.VKq(1,fS,n.isLightThemeEnabled))}}function v1e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"button",7),e.NdJ("click",function(){return e.CHM(t),e.oxw().minimize(!1)}),e.TgZ(1,"mat-icon"),e._uU(2,"web_asset"),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.Q6J("ngClass",e.VKq(1,fS,n.isLightThemeEnabled))}}function g1e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",13),e.NdJ("mouseover",function(s){return e.CHM(t),e.oxw().disableScroll(s)})("mouseout",function(s){return e.CHM(t),e.oxw().enableScroll(s)}),e._UZ(1,"app-web-console",14),e.qZA()}if(2&r){var n=i.index,a=e.oxw();e.Q6J("hidden",a.isMinimized),e.xp6(1),e.Q6J("hidden",a.selected.value!==n+1)("server",a.server)("node",a.nodes[n])}}var _1e=function(i){return{lightTheme:i}},y1e=function(){return{right:!0,left:!0,bottom:!0,top:!0}},b1e=function(){var r=function(){function i(t,n,a){(0,v.Z)(this,i),this.consoleService=t,this.themeService=n,this.mapSettingsService=a,this.closeConsole=new e.vpe,this.filters=["all","errors","warnings","info","map updates","server requests"],this.selectedFilter="all",this.style={},this.styleInside={height:"120px"},this.isDraggingEnabled=!1,this.isLightThemeEnabled=!1,this.isMinimized=!1,this.resizedWidth=720,this.resizedHeight=480,this.nodes=[],this.selected=new re.NI(0)}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.isLightThemeEnabled="light"===this.themeService.getActualTheme(),this.style={bottom:"20px",left:"80px",width:"720px",height:"460px"},this.consoleService.nodeConsoleTrigger.subscribe(function(a){n.addTab(a,!0)}),this.consoleService.closeNodeConsoleTrigger.subscribe(function(a){var o=n.nodes.findIndex(function(s){return s.node_id===a.node_id});n.removeTab(o)})}},{key:"minimize",value:function(n){this.isMinimized=n,this.style=n?{bottom:"20px",left:"20px",width:"".concat(this.resizedWidth,"px"),height:"56px"}:{bottom:"20px",left:"80px",width:"".concat(this.resizedWidth,"px"),height:"".concat(this.resizedHeight,"px")}}},{key:"addTab",value:function(n,a){this.minimize(!1),this.nodes.push(n),a&&this.selected.setValue(this.nodes.length),this.consoleService.openConsoles++}},{key:"removeTab",value:function(n){this.nodes.splice(n,1),this.consoleService.openConsoles--}},{key:"toggleDragging",value:function(n){this.isDraggingEnabled=n}},{key:"dragWidget",value:function(n){var a=Number(n.movementX),o=Number(n.movementY),s=Number(this.style.width.split("px")[0]),l=Number(this.style.height.split("px")[0]),d=Number(this.style.left.split("px")[0])+a;if(this.style.top){var h=Number(this.style.top.split("px")[0])+o;this.style={position:"fixed",left:"".concat(d,"px"),top:"".concat(h,"px"),width:"".concat(s,"px"),height:"".concat(l,"px")}}else{var C=Number(this.style.bottom.split("px")[0])-o;this.style={position:"fixed",left:"".concat(d,"px"),bottom:"".concat(C,"px"),width:"".concat(s,"px"),height:"".concat(l,"px")}}}},{key:"validate",value:function(n){return!(n.rectangle.width&&n.rectangle.height&&(n.rectangle.width<500||n.rectangle.height<100))}},{key:"onResizeEnd",value:function(n){this.style={position:"fixed",left:"".concat(n.rectangle.left,"px"),top:"".concat(n.rectangle.top,"px"),width:"".concat(n.rectangle.width,"px"),height:"".concat(n.rectangle.height,"px")},this.styleInside={height:"".concat(n.rectangle.height-60,"px"),width:"".concat(n.rectangle.width,"px")},this.consoleService.consoleResized.next({width:n.rectangle.width,height:n.rectangle.height-53}),this.resizedWidth=n.rectangle.width,this.resizedHeight=n.rectangle.height}},{key:"close",value:function(){this.closeConsole.emit(!1)}},{key:"enableScroll",value:function(n){this.mapSettingsService.isScrollDisabled.next(!1)}},{key:"disableScroll",value:function(n){this.mapSettingsService.isScrollDisabled.next(!0)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(gd),e.Y36(Ru.f),e.Y36(Nu))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-console-wrapper"]],inputs:{server:"server",project:"project"},outputs:{closeConsole:"closeConsole"},decls:14,vars:23,consts:[[3,"mousemove","mouseup",4,"ngIf"],["mwlResizable","",1,"consoleWrapper",3,"ngClass","ngStyle","validateResize","resizeEdges","enableGhostResize","mousedown","resizeStart","resizeEnd"],[1,"consoleHeader",3,"ngClass"],[1,"tabs",3,"selectedIndex","selectedIndexChange"],["mat-tab-label",""],[3,"label",4,"ngFor","ngForOf"],["style","color: white","mat-icon-button","",3,"ngClass","click",4,"ngIf"],["mat-icon-button","",2,"color","white",3,"ngClass","click"],[3,"hidden","server","project"],["class","xterm-console",3,"hidden","mouseover","mouseout",4,"ngFor","ngForOf"],[3,"mousemove","mouseup"],[1,"col",2,"margin-left","20px"],[3,"label"],[1,"xterm-console",3,"hidden","mouseover","mouseout"],[3,"hidden","server","node"]],template:function(t,n){1&t&&(e.YNc(0,d1e,1,0,"div",0),e.TgZ(1,"div",1),e.NdJ("mousedown",function(){return n.toggleDragging(!0)})("resizeStart",function(){return n.toggleDragging(!1)})("resizeEnd",function(o){return n.onResizeEnd(o)}),e.TgZ(2,"div",2),e.TgZ(3,"mat-tab-group",3),e.NdJ("selectedIndexChange",function(o){return n.selected.setValue(o)}),e.TgZ(4,"mat-tab"),e.YNc(5,p1e,2,0,"ng-template",4),e.qZA(),e.YNc(6,h1e,2,1,"mat-tab",5),e.qZA(),e.YNc(7,m1e,3,3,"button",6),e.YNc(8,v1e,3,3,"button",6),e.TgZ(9,"button",7),e.NdJ("click",function(){return n.close()}),e.TgZ(10,"mat-icon"),e._uU(11,"close"),e.qZA(),e.qZA(),e.qZA(),e._UZ(12,"app-log-console",8),e.YNc(13,g1e,2,4,"div",9),e.qZA()),2&t&&(e.Q6J("ngIf",n.isDraggingEnabled),e.xp6(1),e.Q6J("ngClass",e.VKq(16,_1e,n.isLightThemeEnabled))("ngStyle",n.style)("validateResize",n.validate)("resizeEdges",e.DdM(18,y1e))("enableGhostResize",!0),e.xp6(1),e.Q6J("ngClass",e.VKq(19,fS,n.isLightThemeEnabled)),e.xp6(1),e.Q6J("selectedIndex",n.selected.value),e.xp6(3),e.Q6J("ngForOf",n.nodes),e.xp6(1),e.Q6J("ngIf",!n.isMinimized),e.xp6(1),e.Q6J("ngIf",n.isMinimized),e.xp6(1),e.Q6J("ngClass",e.VKq(21,fS,n.isLightThemeEnabled)),e.xp6(3),e.Q6J("hidden",0!==n.selected.value||n.isMinimized)("server",n.server)("project",n.project),e.xp6(1),e.Q6J("ngForOf",n.nodes))},directives:[Pt.O5,Ks.E$,Pt.mk,Pt.PC,Ta.SP,Ta.uX,Ta.uD,Pt.sg,En,er,l1e,c1e],styles:["@media screen and (max-width: 700px){.consoleWrapper[_ngcontent-%COMP%]{visibility:hidden}}.consoleWrapper[_ngcontent-%COMP%]{box-shadow:0 4px 8px #0003,0 6px 20px #00000030;position:fixed;bottom:40px;left:80px;height:180px;width:600px;background:#000000!important;color:#fff;overflow:hidden;font-size:12px;border-radius:8px}.lightTheme[_ngcontent-%COMP%]{background:white!important;color:#000}.filterButton[_ngcontent-%COMP%]{background:transparent;color:#fff;border:none;margin-top:0;outline:none;color:#dbd5d5;font-weight:bold;padding:0}.consoleFiltering[_ngcontent-%COMP%]{display:flex}.consoleHeader[_ngcontent-%COMP%]{width:100%;font-size:12px;overflow:hidden;display:flex;padding:2px;justify-content:space-between;background:#263238!important}.lightThemeConsoleHeader[_ngcontent-%COMP%]{background:white!important;color:#000!important}[_nghost-%COMP%]     .mat-tab-label{height:3rem!important;min-width:8rem!important}[_nghost-%COMP%]     .mat-tab-label.mat-tab-label-active{border-bottom:2px solid #0097a7;box-sizing:border-box;font-weight:1200}[_nghost-%COMP%]     .mat-ink-bar{display:none!important}.tabs[_ngcontent-%COMP%]{width:80%}.console[_ngcontent-%COMP%]{width:596px;height:120px;overflow-y:scroll;padding:2px;color:#dbd5d5;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.xterm-console[_ngcontent-%COMP%]{background:black}.consoleInput[_ngcontent-%COMP%]{width:100%;height:30px;padding:2px;display:flex}.commandLine[_ngcontent-%COMP%]{background-color:transparent;color:#fff;border:none}.inputIcon[_ngcontent-%COMP%]{margin-top:2px}mat-icon[_ngcontent-%COMP%]{font-size:20px;width:20px;height:20px}input[_ngcontent-%COMP%]:focus{outline:none}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}.closeButton[_ngcontent-%COMP%]{cursor:pointer}"]}),r}(),C1e=["topologySummaryContainer"];function S1e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"app-d3-map",38),e.NdJ("nodeDragged",function(o){return e.CHM(t),e.oxw(2).onNodeDragged(o)})("drawingDragged",function(o){return e.CHM(t),e.oxw(2).onDrawingDragged(o)})("onLinkCreated",function(o){return e.CHM(t),e.oxw(2).onLinkCreated(o)})("onDrawingResized",function(o){return e.CHM(t),e.oxw(2).onDrawingResized(o)}),e.qZA()}if(2&r){var n=e.oxw(2);e.Q6J("server",n.server)("project",n.project)("symbols",n.symbols)("nodes",n.nodes)("links",n.links)("drawings",n.drawings)("width",n.project.scene_width)("height",n.project.scene_height)("show-interface-labels",n.isInterfaceLabelVisible)("readonly",n.inReadOnlyMode)}}function T1e(r,i){if(1&r&&e._UZ(0,"app-experimental-map",39),2&r){var t=e.oxw(2);e.Q6J("symbols",t.symbols)("nodes",t.nodes)("links",t.links)("drawings",t.drawings)("width",t.project.scene_width)("height",t.project.scene_height)("show-interface-labels",t.isInterfaceLabelVisible)("selection-tool",t.tools.selection)("moving-tool",t.tools.moving)("draw-link-tool",t.tools.draw_link)("readonly",t.inReadOnlyMode)}}function k1e(r,i){1&r&&e._UZ(0,"mat-icon",40)}function w1e(r,i){1&r&&e._UZ(0,"mat-icon",41)}var g2=function(i){return{lightTheme:i}},x1e=function(i){return{selected:i}};function E1e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",42),e.TgZ(1,"app-template",43),e.NdJ("onNodeCreation",function(o){return e.CHM(t),e.oxw(2).onNodeCreation(o)}),e.qZA(),e.TgZ(2,"button",44),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).toggleDrawLineMode()}),e.TgZ(3,"mat-icon"),e._uU(4,"timeline"),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=e.oxw(2);e.Q6J("ngClass",e.VKq(5,g2,n.isLightThemeEnabled)),e.xp6(1),e.Q6J("server",n.server)("project",n.project),e.xp6(1),e.Q6J("ngClass",e.VKq(7,x1e,n.tools.draw_link))("color",n.tools.draw_link?"primary":"basic")}}function M1e(r,i){if(1&r&&(e.TgZ(0,"div",26),e._UZ(1,"app-snapshot-menu-item",12),e.qZA()),2&r){var t=e.oxw(2);e.xp6(1),e.Q6J("server",t.server)("project",t.project)}}function A1e(r,i){if(1&r&&e._UZ(0,"app-draw-link-tool",45),2&r){var t=e.oxw(2);e.Q6J("links",t.links)}}function D1e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"app-console-wrapper",46),e.NdJ("closeConsole",function(o){return e.CHM(t),e.oxw(2).toggleShowConsole(o)}),e.qZA()}if(2&r){var n=e.oxw(2);e.Q6J("server",n.server)("project",n.project)}}var O1e=function(i,t){return{unmarkedLight:i,marked:t}},P1e=function(i){return["/server",i,"projects"]},I1e=function(){return["/servers"]},R1e=function(i){return{visible:i}};function N1e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"div",2),e.YNc(1,S1e,1,10,"app-d3-map",3),e.YNc(2,T1e,1,11,"app-experimental-map",4),e.TgZ(3,"div",5),e.TgZ(4,"button",6),e.YNc(5,k1e,1,0,"mat-icon",7),e.YNc(6,w1e,1,0,"mat-icon",8),e.qZA(),e.TgZ(7,"div",9),e.YNc(8,E1e,5,9,"div",10),e.TgZ(9,"div",11),e._UZ(10,"app-nodes-menu",12),e._UZ(11,"app-context-menu",13),e.qZA(),e.qZA(),e.TgZ(12,"div"),e.TgZ(13,"button",14),e.NdJ("click",function(){e.CHM(t);var d=e.oxw();return d.toggleShowTopologySummary(!d.isTopologySummaryVisible)}),e.TgZ(14,"mat-icon"),e._uU(15,"toc"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(16,"mat-menu",15,16),e.TgZ(18,"button",17),e.TgZ(19,"mat-icon"),e._uU(20,"work"),e.qZA(),e.TgZ(21,"span"),e._uU(22,"Go to projects"),e.qZA(),e.qZA(),e.TgZ(23,"button",17),e.TgZ(24,"mat-icon"),e._uU(25,"developer_board"),e.qZA(),e.TgZ(26,"span"),e._uU(27,"Go to servers"),e.qZA(),e.qZA(),e.TgZ(28,"button",17),e.TgZ(29,"mat-icon"),e._uU(30,"settings_applications"),e.qZA(),e.TgZ(31,"span"),e._uU(32,"Go to preferences"),e.qZA(),e.qZA(),e.TgZ(33,"button",17),e.TgZ(34,"mat-icon"),e._uU(35,"info"),e.qZA(),e.TgZ(36,"span"),e._uU(37,"Go to system status"),e.qZA(),e.qZA(),e.TgZ(38,"button",18),e.TgZ(39,"mat-icon"),e._uU(40,"settings"),e.qZA(),e.TgZ(41,"span"),e._uU(42,"Go to settings"),e.qZA(),e.qZA(),e.TgZ(43,"button",19),e.NdJ("click",function(){return e.CHM(t),e.oxw().addNewTemplate()}),e.TgZ(44,"mat-icon"),e._uU(45,"control_point"),e.qZA(),e.TgZ(46,"span"),e._uU(47,"New template"),e.qZA(),e.qZA(),e._UZ(48,"app-import-appliance",12),e.TgZ(49,"button",20),e.TgZ(50,"mat-icon"),e._uU(51,"settings"),e.qZA(),e.TgZ(52,"span"),e._uU(53,"Project settings"),e.qZA(),e.qZA(),e.TgZ(54,"button",20),e.TgZ(55,"mat-icon"),e._uU(56,"view_module"),e.qZA(),e.TgZ(57,"span"),e._uU(58,"Map settings"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(59,"mat-menu",15,21),e.TgZ(61,"div"),e.TgZ(62,"button",19),e.NdJ("click",function(){return e.CHM(t),e.oxw().addNewProject()}),e.TgZ(63,"mat-icon"),e._uU(64,"add"),e.qZA(),e.TgZ(65,"span"),e._uU(66,"Add new blank project"),e.qZA(),e.qZA(),e.TgZ(67,"button",19),e.NdJ("click",function(){return e.CHM(t),e.oxw().saveProject()}),e.TgZ(68,"mat-icon"),e._uU(69,"save"),e.qZA(),e.TgZ(70,"span"),e._uU(71,"Save project as"),e.qZA(),e.qZA(),e.TgZ(72,"button",19),e.NdJ("click",function(){return e.CHM(t),e.oxw().editProject()}),e.TgZ(73,"mat-icon"),e._uU(74,"edit"),e.qZA(),e.TgZ(75,"span"),e._uU(76,"Edit project"),e.qZA(),e.qZA(),e.TgZ(77,"button",19),e.NdJ("click",function(){return e.CHM(t),e.oxw().exportProject()}),e.TgZ(78,"mat-icon"),e._uU(79,"call_made"),e.qZA(),e.TgZ(80,"span"),e._uU(81,"Export portable project"),e.qZA(),e.qZA(),e.TgZ(82,"button",19),e.NdJ("click",function(){return e.CHM(t),e.oxw().importProject()}),e.TgZ(83,"mat-icon"),e._uU(84,"call_received"),e.qZA(),e.TgZ(85,"span"),e._uU(86,"Import portable project"),e.qZA(),e.qZA(),e.TgZ(87,"button",19),e.NdJ("click",function(){return e.CHM(t),e.oxw().closeProject()}),e.TgZ(88,"mat-icon"),e._uU(89,"close"),e.qZA(),e.TgZ(90,"span"),e._uU(91,"Close project"),e.qZA(),e.qZA(),e.TgZ(92,"button",19),e.NdJ("click",function(){return e.CHM(t),e.oxw().deleteProject()}),e.TgZ(93,"mat-icon"),e._uU(94,"delete"),e.qZA(),e.TgZ(95,"span"),e._uU(96,"Delete project"),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(97,"mat-menu",15,22),e.TgZ(99,"div",23),e.TgZ(100,"mat-checkbox",24),e.NdJ("change",function(d){return e.CHM(t),e.oxw().toggleShowInterfaceLabels(d.checked)}),e._uU(101," Show interface labels "),e.qZA(),e._UZ(102,"br"),e.TgZ(103,"mat-checkbox",24),e.NdJ("change",function(d){return e.CHM(t),e.oxw().toggleShowConsole(d.checked)}),e._uU(104," Show console "),e.qZA(),e._UZ(105,"br"),e.TgZ(106,"mat-checkbox",24),e.NdJ("change",function(d){return e.CHM(t),e.oxw().toggleShowTopologySummary(d.checked)}),e._uU(107," Show topology/servers summary "),e.qZA(),e._UZ(108,"br"),e.TgZ(109,"mat-checkbox",24),e.NdJ("change",function(d){return e.CHM(t),e.oxw().toggleNotifications(d.checked)}),e._uU(110," Show notifications "),e.qZA(),e._UZ(111,"br"),e.TgZ(112,"mat-checkbox",24),e.NdJ("change",function(d){return e.CHM(t),e.oxw().toggleLayers(d.checked)}),e._uU(113," Show layers "),e.qZA(),e._UZ(114,"br"),e.TgZ(115,"mat-checkbox",24),e.NdJ("change",function(d){return e.CHM(t),e.oxw().toggleGrid(d.checked)}),e._uU(116," Show grid "),e.qZA(),e._UZ(117,"br"),e.TgZ(118,"mat-checkbox",24),e.NdJ("change",function(d){return e.CHM(t),e.oxw().toggleSnapToGrid(d.checked)}),e._uU(119," Snap to grid "),e.qZA(),e._UZ(120,"br"),e.TgZ(121,"mat-checkbox",24),e.NdJ("change",function(d){return e.CHM(t),e.oxw().toggleSymbolScaling(d.checked)}),e._uU(122," Scale symbols "),e.qZA(),e._UZ(123,"br"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(124,"div",25),e.TgZ(125,"div",26),e.TgZ(126,"button",27),e.NdJ("click",function(){return e.CHM(t),e.oxw().toggleMovingMode()}),e.TgZ(127,"mat-icon"),e._uU(128,"near_me"),e.qZA(),e.qZA(),e.TgZ(129,"button",28),e.NdJ("click",function(){return e.CHM(t),e.oxw().toggleMovingMode()}),e.TgZ(130,"mat-icon"),e._uU(131,"zoom_out_map"),e.qZA(),e.qZA(),e.TgZ(132,"button",29),e.NdJ("click",function(){return e.CHM(t),e.oxw().zoomIn()}),e.TgZ(133,"mat-icon"),e._uU(134,"zoom_in"),e.qZA(),e.qZA(),e.TgZ(135,"button",30),e.NdJ("click",function(){return e.CHM(t),e.oxw().resetZoom()}),e.TgZ(136,"mat-icon"),e._uU(137,"adjust"),e.qZA(),e.qZA(),e.TgZ(138,"button",31),e.NdJ("click",function(){return e.CHM(t),e.oxw().zoomOut()}),e.TgZ(139,"mat-icon"),e._uU(140,"zoom_out"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(141,"div",26),e._UZ(142,"app-project-map-menu",12),e.qZA(),e.YNc(143,M1e,2,2,"div",32),e.qZA(),e._UZ(144,"app-progress"),e.YNc(145,A1e,1,1,"app-draw-link-tool",33),e._UZ(146,"app-drawing-dragged",12),e._UZ(147,"app-drawing-resized",34),e._UZ(148,"app-interface-label-dragged",34),e._UZ(149,"app-link-created",12),e._UZ(150,"app-node-dragged",12),e._UZ(151,"app-node-label-dragged",34),e.TgZ(152,"app-text-added",35),e.NdJ("drawingSaved",function(){return e.CHM(t),e.oxw().onDrawingSaved()}),e.qZA(),e._UZ(153,"app-text-edited",34),e.TgZ(154,"div",36),e.YNc(155,D1e,1,2,"app-console-wrapper",37),e.qZA(),e.qZA()}if(2&r){var n=e.MAs(17),a=e.MAs(60),o=e.MAs(98),s=e.oxw();e.Q6J("ngClass",e.VKq(53,g2,s.isLightThemeEnabled)),e.xp6(1),e.Q6J("ngIf",!s.settings.angular_map),e.xp6(1),e.Q6J("ngIf",s.settings.angular_map),e.xp6(1),e.Q6J("ngClass",e.VKq(55,g2,s.isLightThemeEnabled)),e.xp6(1),e.Q6J("matMenuTriggerFor",n),e.xp6(1),e.Q6J("ngIf",!s.isLightThemeEnabled),e.xp6(1),e.Q6J("ngIf",s.isLightThemeEnabled),e.xp6(2),e.Q6J("ngIf",!s.readonly),e.xp6(2),e.Q6J("server",s.server)("project",s.project),e.xp6(1),e.Q6J("project",s.project)("server",s.server),e.xp6(2),e.Q6J("ngClass",e.WLB(57,O1e,!s.isTopologySummaryVisible&&s.isLightThemeEnabled,s.isTopologySummaryVisible)),e.xp6(3),e.Q6J("overlapTrigger",!1),e.xp6(2),e.Q6J("routerLink",e.VKq(60,P1e,s.server.id)),e.xp6(5),e.Q6J("routerLink",e.DdM(62,I1e)),e.xp6(5),e.MGl("routerLink","/server/",s.server.id,"/preferences"),e.xp6(5),e.MGl("routerLink","/server/",s.server.id,"/systemstatus"),e.xp6(15),e.Q6J("server",s.server)("project",s.project),e.xp6(1),e.Q6J("matMenuTriggerFor",a),e.xp6(5),e.Q6J("matMenuTriggerFor",o),e.xp6(5),e.Q6J("overlapTrigger",!1),e.xp6(38),e.Q6J("overlapTrigger",!1),e.xp6(3),e.Q6J("ngModel",s.isInterfaceLabelVisible),e.xp6(3),e.Q6J("ngModel",s.isConsoleVisible),e.xp6(3),e.Q6J("ngModel",s.isTopologySummaryVisible),e.xp6(3),e.Q6J("ngModel",s.notificationsVisibility),e.xp6(3),e.Q6J("ngModel",s.layersVisibility),e.xp6(3),e.Q6J("ngModel",s.gridVisibility),e.xp6(3),e.Q6J("ngModel",s.project.snap_to_grid),e.xp6(3),e.Q6J("ngModel",s.symbolScaling),e.xp6(3),e.Q6J("ngClass",e.VKq(63,g2,s.isLightThemeEnabled)),e.xp6(2),e.Q6J("color",s.tools.moving?"basic":"primary"),e.xp6(3),e.Q6J("color",s.tools.moving?"primary":"basic"),e.xp6(13),e.Q6J("server",s.server)("project",s.project),e.xp6(1),e.Q6J("ngIf",!s.readonly),e.xp6(2),e.Q6J("ngIf",s.tools.draw_link),e.xp6(1),e.Q6J("server",s.server)("project",s.project),e.xp6(1),e.Q6J("server",s.server),e.xp6(1),e.Q6J("server",s.server),e.xp6(1),e.Q6J("server",s.server)("project",s.project),e.xp6(1),e.Q6J("server",s.server)("project",s.project),e.xp6(1),e.Q6J("server",s.server),e.xp6(1),e.Q6J("server",s.server)("project",s.project),e.xp6(1),e.Q6J("server",s.server),e.xp6(1),e.Q6J("ngClass",e.VKq(65,R1e,!s.isConsoleVisible)),e.xp6(1),e.Q6J("ngIf",s.project)}}function Z1e(r,i){}var L1e=function(){var r=function(){function i(t,n,a,o,s,l,d,h,C,P,N,q,Q,te,se,Te,$e,ze,rt,dt,Dt,St,at,ut,Wt,qt,it,It,ln,mn,Sn,tn,Xn,fr,Lr,tr,Jr,di,hr,Ui,Ua,cr,lr,$n,Bn,Qa,Oi,wi){(0,v.Z)(this,i),this.route=t,this.serverService=n,this.projectService=a,this.nodeService=o,this.drawingService=s,this.progressService=l,this.projectWebServiceHandler=d,this.mapChangeDetectorRef=h,this.nodeWidget=C,this.drawingsWidget=P,this.linkWidget=N,this.labelWidget=q,this.interfaceLabelWidget=Q,this.mapNodeToNode=te,this.mapDrawingToDrawing=se,this.mapLabelToLabel=Te,this.mapLinkToLink=$e,this.mapLinkNodeToLinkNode=ze,this.nodesDataSource=rt,this.linksDataSource=dt,this.drawingsDataSource=Dt,this.settingsService=St,this.toolsService=at,this.selectionManager=ut,this.selectionTool=Wt,this.recentlyOpenedProjectService=qt,this.movingEventSource=it,this.mapScaleService=It,this.nodeCreatedLabelStylesFixer=ln,this.toasterService=mn,this.dialog=Sn,this.router=tn,this.mapNodesDataSource=Xn,this.mapLinksDataSource=fr,this.mapDrawingsDataSource=Lr,this.mapSymbolsDataSource=tr,this.mapSettingsService=Jr,this.ethernetLinkWidget=di,this.serialLinkWidget=hr,this.bottomSheet=Ui,this.notificationService=Ua,this.themeService=cr,this.title=lr,this.nodeConsoleService=$n,this.symbolService=Bn,this.cd=Qa,this.cfr=Oi,this.injector=wi,this.nodes=[],this.links=[],this.drawings=[],this.symbols=[],this.isProjectMapMenuVisible=!1,this.isConsoleVisible=!0,this.isTopologySummaryVisible=!0,this.isInterfaceLabelVisible=!1,this.notificationsVisibility=!1,this.layersVisibility=!1,this.gridVisibility=!1,this.toolbarVisibility=!0,this.symbolScaling=!0,this.tools={selection:!0,moving:!1,draw_link:!1,text_editing:!0},this.inReadOnlyMode=!1,this.scrollX=0,this.scrollY=0,this.scrollEnabled=!1,this.isLightThemeEnabled=!1,this.projectMapSubscription=new Lo.w}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.getSettings(),this.progressService.activate(),this.serverService.isServiceInitialized?this.getData():this.projectMapSubscription.add(this.serverService.serviceInitialized.subscribe(function(a){a&&n.getData()})),this.addSubscriptions(),this.addKeyboardListeners(),this.themeService.themeChanged.subscribe(function(a){n.isLightThemeEnabled="light"===n.themeService.getActualTheme()})}},{key:"getSettings",value:function(){var n=this;this.isLightThemeEnabled="light"===this.themeService.getActualTheme(),this.cd.detectChanges(),this.settings=this.settingsService.getAll(),this.symbolScaling=this.mapSettingsService.getSymbolScaling(),this.isConsoleVisible=this.mapSettingsService.isLogConsoleVisible,this.mapSettingsService.logConsoleSubject.subscribe(function(a){return n.isConsoleVisible=a}),this.notificationsVisibility="true"===localStorage.getItem("notificationsVisibility"),this.layersVisibility="true"===localStorage.getItem("layersVisibility"),this.gridVisibility="true"===localStorage.getItem("gridVisibility")}},{key:"lazyLoadTopologySummary",value:function(){return(0,Sa.mG)(this,void 0,void 0,k().mark(function n(){return k().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if(!this.isTopologySummaryVisible){l.next=10;break}return l.next=3,f.e(157).then(f.bind(f,21157));case 3:this.instance=this.topologySummaryContainer.createComponent(l.sent.TopologySummaryComponent),this.instance.instance.server=this.server,this.instance.instance.project=this.project,l.next=11;break;case 10:this.instance&&this.instance.instance&&(this.instance.instance.ngOnDestroy(),this.instance.destroy());case 11:case"end":return l.stop()}},n,this)}))}},{key:"addSubscriptions",value:function(){var n=this;this.projectMapSubscription.add(this.mapSettingsService.mapRenderedEmitter.subscribe(function(a){n.scrollEnabled&&n.centerCanvas()})),this.projectMapSubscription.add(this.drawingsDataSource.changes.subscribe(function(a){n.drawings=a,n.mapChangeDetectorRef.detectChanges()})),this.projectMapSubscription.add(this.nodesDataSource.changes.subscribe(function(a){!n.server||(a.forEach(function(o){return(0,Sa.mG)(n,void 0,void 0,k().mark(function s(){return k().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:o.symbol_url="".concat(this.server.protocol,"//").concat(this.server.host,":").concat(this.server.port,"/v2/symbols/").concat(o.symbol,"/raw");case 1:case"end":return d.stop()}},s,this)}))}),n.nodes=a,n.mapSettingsService.getSymbolScaling()&&n.applyScalingOfNodeSymbols(),n.mapChangeDetectorRef.detectChanges())})),this.projectMapSubscription.add(this.linksDataSource.changes.subscribe(function(a){n.links=a,n.mapChangeDetectorRef.detectChanges()})),this.projectMapSubscription.add(this.projectWebServiceHandler.errorNotificationEmitter.subscribe(function(a){n.showMessage({type:"error",message:a})})),this.projectMapSubscription.add(this.projectWebServiceHandler.warningNotificationEmitter.subscribe(function(a){n.showMessage({type:"warning",message:a})})),this.projectMapSubscription.add(this.mapSettingsService.symbolScalingSubject.subscribe(function(a){a&&n.applyScalingOfNodeSymbols()}))}},{key:"applyScalingOfNodeSymbols",value:function(){var n=this;this.nodesDataSource.getItems().forEach(function(a){if(a.height>n.symbolService.getMaximumSymbolSize()){var o=n.symbolService.scaleDimensionsForNode(a);a.width=o.width,a.height=o.height}})}},{key:"getData",value:function(){var n=this,a=this.route.paramMap.subscribe(function(o){var s=parseInt(o.get("server_id"),10);(0,As.D)(n.serverService.get(s)).pipe((0,ao.zg)(function(l){return l||n.router.navigate(["/servers"]),n.server=l,n.projectService.get(l,o.get("project_id")).pipe((0,kr.U)(function(d){return d}))}),(0,ao.zg)(function(l){return n.project=l,l||n.router.navigate(["/servers"]),n.projectService.open(n.server,n.project.project_id),n.title.setTitle(n.project.name),n.isInterfaceLabelVisible=n.mapSettingsService.showInterfaceLabels,n.toggleShowTopologySummary(n.mapSettingsService.isTopologySummaryVisible),n.recentlyOpenedProjectService.setServerId(n.server.id.toString()),n.recentlyOpenedProjectService.setProjectId(n.project.project_id),"opened"===n.project.status?new wo.y(function(d){d.next(n.project)}):n.projectService.open(n.server,n.project.project_id)})).subscribe(function(l){n.onProjectLoad(l)},function(l){n.progressService.setError(l)},function(){n.progressService.deactivate()})});this.projectMapSubscription.add(a)}},{key:"addKeyboardListeners",value:function(){var n=this;Yf.bind("ctrl++",function(a){a.preventDefault(),n.zoomIn()}),Yf.bind("ctrl+-",function(a){a.preventDefault(),n.zoomOut()}),Yf.bind("ctrl+0",function(a){a.preventDefault(),n.resetZoom()}),Yf.bind("ctrl+a",function(a){a.preventDefault();var o=n.mapNodesDataSource.getItems(),s=n.mapDrawingsDataSource.getItems(),l=n.mapLinksDataSource.getItems(),d=n.mapSymbolsDataSource.getItems();n.selectionManager.setSelected(o.concat(s).concat(l).concat(d))}),Yf.bind("ctrl+h",function(a){a.preventDefault(),n.toolbarVisibility=!n.toolbarVisibility}),Yf.bind("ctrl+shift+a",function(a){a.preventDefault(),n.selectionManager.setSelected([])}),Yf.bind("ctrl+shift+s",function(a){a.preventDefault(),n.router.navigate(["/server",n.server.id,"preferences"])}),Yf.bind("del",function(a){a.preventDefault(),n.deleteItems()})}},{key:"deleteItems",value:function(){var n=this;this.bottomSheet.open(Xf);var a=this.bottomSheet._openedBottomSheetRef;a.instance.message="Do you want to delete all selected objects?",a.afterDismissed().subscribe(function(s){s&&n.selectionManager.getSelected().filter(function(d){return d instanceof nv}).forEach(function(d){var h=n.mapNodeToNode.convert(d);n.nodeService.delete(n.server,h).subscribe(function(C){n.toasterService.success("Node has been deleted")})})})}},{key:"onProjectLoad",value:function(n){var a=this;this.readonly=this.projectService.isReadOnly(n);var o=this.projectService.nodes(this.server,n.project_id).pipe((0,ao.zg)(function(s){return a.nodesDataSource.set(s),a.projectService.links(a.server,n.project_id)}),(0,ao.zg)(function(s){return a.linksDataSource.set(s),a.projectService.drawings(a.server,n.project_id)})).subscribe(function(s){a.drawingsDataSource.set(s),a.setUpMapCallbacks(),a.setUpProjectWS(n),a.progressService.deactivate()});this.projectMapSubscription.add(o)}},{key:"setUpProjectWS",value:function(n){var a=this;this.projectws=new WebSocket(this.notificationService.projectNotificationsPath(this.server,n.project_id)),this.projectws.onmessage=function(o){a.projectWebServiceHandler.handleMessage(JSON.parse(o.data))},this.projectws.onerror=function(o){a.toasterService.error("Connection to host lost. Error: ".concat(o.data))}}},{key:"setUpWS",value:function(){this.ws=new WebSocket(this.notificationService.notificationsPath(this.server))}},{key:"setUpMapCallbacks",value:function(){var n=this;this.readonly||this.toolsService.selectionToolActivation(!0);var a=this.linkWidget.onContextMenu.subscribe(function(N){var q=n.mapLinkToLink.convert(N.link);n.contextMenu.openMenuForListOfElements([],[],[],[q],N.event.pageY,N.event.pageX)}),o=this.ethernetLinkWidget.onContextMenu.subscribe(function(N){var q=n.mapLinkToLink.convert(N.link);n.contextMenu.openMenuForListOfElements([],[],[],[q],N.event.pageY,N.event.pageX)}),s=this.serialLinkWidget.onContextMenu.subscribe(function(N){var q=n.mapLinkToLink.convert(N.link);n.contextMenu.openMenuForListOfElements([],[],[],[q],N.event.pageY,N.event.pageX)}),l=this.nodeWidget.onContextMenu.subscribe(function(N){var q=n.mapNodeToNode.convert(N.node);n.contextMenu.openMenuForNode(q,N.event.pageY,N.event.pageX)}),d=this.drawingsWidget.onContextMenu.subscribe(function(N){var q=n.mapDrawingToDrawing.convert(N.drawing);n.contextMenu.openMenuForDrawing(q,N.event.pageY,N.event.pageX)}),h=this.labelWidget.onContextMenu.subscribe(function(N){var q=n.mapLabelToLabel.convert(N.label),Q=n.nodes.find(function(te){return te.node_id===N.label.nodeId});n.contextMenu.openMenuForLabel(q,Q,N.event.screenY-60,N.event.screenX)}),C=this.interfaceLabelWidget.onContextMenu.subscribe(function(N){var q=n.mapLinkNodeToLinkNode.convert(N.interfaceLabel),Q=n.links.find(function(te){return te.link_id===N.interfaceLabel.linkId});n.contextMenu.openMenuForInterfaceLabel(q,Q,N.event.pageY,N.event.pageX)}),P=this.selectionTool.contextMenuOpened.subscribe(function(N){var q=n.selectionManager.getSelected();if(!(q.length<2)&&N instanceof MouseEvent){var Q=[],te=[],se=[],Te=[];q.forEach(function($e){$e instanceof Qf?Q.push(n.mapDrawingToDrawing.convert($e)):$e instanceof nv?te.push(n.mapNodeToNode.convert($e)):$e instanceof ry?se.push(n.mapLabelToLabel.convert($e)):$e instanceof Wj&&Te.push(n.mapLinkToLink.convert($e))}),n.contextMenu.openMenuForListOfElements(Q,te,se,Te,N.pageY,N.pageX)}});this.projectMapSubscription.add(a),this.projectMapSubscription.add(o),this.projectMapSubscription.add(s),this.projectMapSubscription.add(l),this.projectMapSubscription.add(d),this.projectMapSubscription.add(P),this.projectMapSubscription.add(h),this.projectMapSubscription.add(C),this.mapChangeDetectorRef.detectChanges()}},{key:"onNodeCreation",value:function(n){var a=this;!n||(n.x=n.x/this.mapScaleService.getScale(),n.y=n.y/this.mapScaleService.getScale(),this.progressService.activate(),this.nodeService.createFromTemplate(this.server,this.project,n.template,n.x,n.y,n.server).subscribe(function(o){a.projectService.nodes(a.server,a.project.project_id).subscribe(function(s){s.filter(function(l){return null===l.label.style}).forEach(function(l){var d=a.nodeCreatedLabelStylesFixer.fix(l);a.nodeService.updateLabel(a.server,l,d.label).subscribe()}),a.nodesDataSource.set(s),n.numberOfNodes--,n.numberOfNodes>0?(n.x=n.x+50<a.project.scene_width/2?n.x+50:n.x,n.y=n.y+50<a.project.scene_height/2?n.y+50:n.y,a.onNodeCreation(n)):a.progressService.deactivate()})},function(o){a.toasterService.error(o.error.message),a.progressService.deactivate()}))}},{key:"fitInView",value:function(){if(this.drawings.forEach(function(ut){var Wt=ut.svg.split('"'),qt=parseInt(Wt[1],10),it=parseInt(Wt[3],10);ut.element={width:it,height:qt}}),0!==this.nodes.length||0!==this.drawings.length){var n,a,o,s,l=[];this.nodes.forEach(function(ut){var Wt=new F1e;Wt.node=ut,Wt.top=ut.y,Wt.left=ut.x,Wt.bottom=ut.y+ut.height,Wt.right=ut.x+ut.width,ut.y+ut.label.y<Wt.top&&(Wt.top=ut.y+ut.label.y),ut.x+ut.label.x<Wt.left&&(Wt.left=ut.x+ut.label.x),ut.y+ut.label.y>Wt.bottom&&(Wt.bottom=ut.y+ut.label.y),ut.x+ut.label.x>Wt.right&&(Wt.right=ut.x+ut.label.x),l.push(Wt)});var d=l.sort(function(ut,Wt){return ut.left-Wt.left})[0],h=l.sort(function(ut,Wt){return ut.right-Wt.right})[l.length-1],C=l.sort(function(ut,Wt){return ut.top-Wt.top})[0],P=l.sort(function(ut,Wt){return ut.bottom-Wt.bottom})[l.length-1],N=[];this.drawings.forEach(function(ut){var Wt=new B1e;Wt.drawing=ut,Wt.top=ut.y,Wt.left=ut.x,Wt.bottom=ut.y+ut.element.height,Wt.right=ut.x+ut.element.width,N.push(Wt)});var q=N.sort(function(ut,Wt){return ut.left-Wt.left})[0],Q=N.sort(function(ut,Wt){return ut.right-Wt.right})[N.length-1],te=N.sort(function(ut,Wt){return ut.top-Wt.top})[0],se=N.sort(function(ut,Wt){return ut.bottom-Wt.bottom})[N.length-1];q&&d?(n=d.left<q.left?d.left:q.left,a=h.right>Q.right?h.right:Q.right,o=C.top<te.top?C.top:te.top,s=P.bottom>se.bottom?P.bottom:se.bottom):d&&!q?(n=d.left,a=h.right,o=C.top,s=P.bottom):q&&!d?(n=q.left,a=Q.right,o=te.top,s=se.bottom):(n=0,a=0,o=0,s=0),n-=20,a+=20,o-=20,s+=20;var $e=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,ze=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,rt=a-n,dt=s-o,St=dt/ze,at=1/Math.max(rt/$e,St);at!==this.mapScaleService.currentScale?(this.mapScaleService.setScale(at),this.project.scene_width=this.project.scene_width*at,this.project.scene_height=this.project.scene_height*at,St<rt?(this.scrollX=n*at-($e-rt*at)/2+this.project.scene_width/2,this.scrollY=o*at+this.project.scene_height/2):(this.scrollX=n*at+this.project.scene_width/2,this.scrollY=o*at-(ze-dt*at)/2+this.project.scene_height/2)):(this.scrollX=n*at+this.project.scene_width/2,this.scrollY=o*at+this.project.scene_height/2),this.scrollEnabled=!0}}},{key:"centerCanvas",value:function(){window.scrollTo(this.scrollX,this.scrollY),this.scrollEnabled=!1}},{key:"centerView",value:function(){if(this.project){var n=this.project.scene_width-document.documentElement.clientWidth>0?(this.project.scene_width-document.documentElement.clientWidth)/2:0,a=this.project.scene_height-document.documentElement.clientHeight>0?(this.project.scene_height-document.documentElement.clientHeight)/2:0;window.scrollTo(n,a)}else this.toasterService.error("Please wait until all components are loaded.")}},{key:"onDrawingSaved",value:function(){this.projectMapMenuComponent.resetDrawToolChoice()}},{key:"readonly",get:function(){return this.inReadOnlyMode},set:function(n){this.inReadOnlyMode=n,n?(this.tools.selection=!1,this.toolsService.selectionToolActivation(!1)):(this.tools.selection=!0,this.toolsService.selectionToolActivation(!0))}},{key:"toggleSymbolScaling",value:function(n){this.symbolScaling=n,this.mapSettingsService.setSymbolScaling(n)}},{key:"toggleMovingMode",value:function(){this.tools.moving=!this.tools.moving,this.movingEventSource.movingModeState.emit(this.tools.moving),this.readonly||(this.tools.selection=!this.tools.moving,this.toolsService.selectionToolActivation(this.tools.selection))}},{key:"toggleDrawLineMode",value:function(){this.tools.draw_link=!this.tools.draw_link,this.toolsService.drawLinkToolActivation(this.tools.draw_link)}},{key:"toggleShowInterfaceLabels",value:function(n){this.isInterfaceLabelVisible=n,this.mapSettingsService.toggleShowInterfaceLabels(this.isInterfaceLabelVisible),this.mapSettingsService.mapRenderedEmitter.emit(!0)}},{key:"toggleShowConsole",value:function(n){this.isConsoleVisible=n,this.mapSettingsService.toggleLogConsole(this.isConsoleVisible)}},{key:"toggleShowTopologySummary",value:function(n){this.isTopologySummaryVisible=n,this.mapSettingsService.toggleTopologySummary(this.isTopologySummaryVisible),this.lazyLoadTopologySummary()}},{key:"toggleNotifications",value:function(n){this.notificationsVisibility=n,this.notificationsVisibility?localStorage.setItem("notificationsVisibility","true"):localStorage.removeItem("notificationsVisibility")}},{key:"toggleLayers",value:function(n){this.layersVisibility=n,this.mapSettingsService.toggleLayers(n),this.layersVisibility?localStorage.setItem("layersVisibility","true"):localStorage.removeItem("layersVisibility"),this.mapChild.applyMapSettingsChanges()}},{key:"toggleGrid",value:function(n){this.gridVisibility=n,this.gridVisibility?localStorage.setItem("gridVisibility","true"):localStorage.removeItem("gridVisibility"),this.mapChild.gridVisibility=this.gridVisibility?1:0}},{key:"toggleSnapToGrid",value:function(n){this.project.snap_to_grid=n}},{key:"showMessage",value:function(n){this.notificationsVisibility&&("error"===n.type&&this.toasterService.error(n.message),"warning"===n.type&&this.toasterService.warning(n.message))}},{key:"hideMenu",value:function(){this.projectMapMenuComponent.resetDrawToolChoice(),this.isProjectMapMenuVisible=!1}},{key:"showMenu",value:function(){this.isProjectMapMenuVisible=!0}},{key:"zoomIn",value:function(){this.mapScaleService.setScale(this.mapScaleService.getScale()+.1)}},{key:"zoomOut",value:function(){var n=this.mapScaleService.getScale();n-.1>0&&this.mapScaleService.setScale(n-.1)}},{key:"resetZoom",value:function(){this.mapScaleService.resetToDefault()}},{key:"addNewProject",value:function(){this.dialog.open(dq,{width:"400px",autoFocus:!1,disableClose:!0}).componentInstance.server=this.server}},{key:"saveProject",value:function(){var a=this.dialog.open(Gme,{width:"400px",autoFocus:!1,disableClose:!0}).componentInstance;a.server=this.server,a.project=this.project}},{key:"editProject",value:function(){var a=this.dialog.open(Lme,{width:"600px",autoFocus:!1,disableClose:!0}).componentInstance;a.server=this.server,a.project=this.project}},{key:"importProject",value:function(){var n=this,a="",o=this.dialog.open(fq,{width:"400px",autoFocus:!1,disableClose:!0});o.componentInstance.server=this.server;var l=o.componentInstance.onImportProject.subscribe(function(d){a=d});o.afterClosed().subscribe(function(){if(l.unsubscribe(),a){n.bottomSheet.open(hq);var d=n.bottomSheet._openedBottomSheetRef;d.instance.projectMessage="imported project",d.afterDismissed().subscribe(function(C){C&&n.projectService.open(n.server,a).subscribe(function(){n.router.navigate(["/server",n.server.id,"project",a])})})}})}},{key:"exportProject",value:function(){this.nodes.filter(function(n){return"virtualbox"===n.node_type}).length>0?this.toasterService.error("Map with VirtualBox machines cannot be exported."):this.nodes.filter(function(n){return"started"===n.status&&"vpcs"===n.node_type||"started"===n.status&&"virtualbox"===n.node_type||"started"===n.status&&"vmware"===n.node_type}).length>0?this.toasterService.error("Project with running nodes cannot be exported."):location.assign(this.projectService.getExportPath(this.server,this.project))}},{key:"uploadImageFile",value:function(n){this.readImageFile(n.target)}},{key:"readImageFile",value:function(n){var a=this,o=n.files[0],s=new FileReader,l=new Image;s.onloadend=function(){var d=s.result,h='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" \n                height="'.concat(l.height,'" width="').concat(l.width,'">\n<image height="').concat(l.height,'" width="').concat(l.width,'" \n                xlink:href="').concat(d,'"/>\n</svg>');a.drawingService.add(a.server,a.project.project_id,-l.width/2,-l.height/2,h).subscribe(function(){})},l.onload=function(){s.readAsDataURL(o)},l.src=window.URL.createObjectURL(o)}},{key:"closeProject",value:function(){var n=this;this.bottomSheet.open(Xf);var a=this.bottomSheet._openedBottomSheetRef;a.instance.message="Do you want to close the project?",a.afterDismissed().subscribe(function(s){s&&n.projectService.close(n.server,n.project.project_id).subscribe(function(){n.router.navigate(["/server",n.server.id,"projects"])})})}},{key:"deleteProject",value:function(){var n=this;this.bottomSheet.open(Xf);var a=this.bottomSheet._openedBottomSheetRef;a.instance.message="Do you want to delete the project?",a.afterDismissed().subscribe(function(s){s&&n.projectService.delete(n.server,n.project.project_id).subscribe(function(){n.router.navigate(["/server",n.server.id,"projects"])})})}},{key:"addNewTemplate",value:function(){var a=this.dialog.open(G0e,{width:"1000px",maxHeight:"700px",autoFocus:!1,disableClose:!0}).componentInstance;a.server=this.server,a.project=this.project}},{key:"ngOnDestroy",value:function(){this.nodeConsoleService.openConsoles=0,this.title.setTitle("GNS3 Web UI"),this.drawingsDataSource.clear(),this.nodesDataSource.clear(),this.linksDataSource.clear(),this.projectws&&this.projectws.OPEN&&this.projectws.close(),this.ws&&this.ws.OPEN&&this.ws.close(),this.projectMapSubscription.unsubscribe()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Vr),e.Y36(vd.Y),e.Y36(Yr),e.Y36(Fs),e.Y36(zf),e.Y36(pL),e.Y36(rS),e.Y36(W6),e.Y36(oS),e.Y36(Q6),e.Y36($A),e.Y36(iS),e.Y36(p2),e.Y36(Zq),e.Y36(pS),e.Y36(Lq),e.Y36(hL),e.Y36(Ao.G),e.Y36(Kf.F),e.Y36(Bs),e.Y36(wp.g),e.Y36(sS),e.Y36(Tc),e.Y36(XA),e.Y36(f2.p),e.Y36(n2),e.Y36(sy),e.Y36(Fq),e.Y36(Yn),e.Y36(ca),e.Y36(xr),e.Y36(N6),e.Y36(Z6),e.Y36(L6),e.Y36(F6),e.Y36(Nu),e.Y36(Y6),e.Y36(J6),e.Y36(uS),e.Y36(Bq),e.Y36(Ru.f),e.Y36(U.Dx),e.Y36(gd),e.Y36(J1),e.Y36(e.sBO),e.Y36(e._Vd),e.Y36(e.zs3))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-project-map"]],viewQuery:function(t,n){var a;1&t&&(e.Gf(_q,5),e.Gf(uq,5),e.Gf(Nq,5),e.Gf(C1e,5,e.s_b)),2&t&&(e.iGM(a=e.CRH())&&(n.contextMenu=a.first),e.iGM(a=e.CRH())&&(n.mapChild=a.first),e.iGM(a=e.CRH())&&(n.projectMapMenuComponent=a.first),e.iGM(a=e.CRH())&&(n.topologySummaryContainer=a.first))},decls:3,vars:1,consts:[["class","project-map",3,"ngClass",4,"ngIf"],["topologySummaryContainer",""],[1,"project-map",3,"ngClass"],[3,"server","project","symbols","nodes","links","drawings","width","height","show-interface-labels","readonly","nodeDragged","drawingDragged","onLinkCreated","onDrawingResized",4,"ngIf"],[3,"symbols","nodes","links","drawings","width","height","show-interface-labels","selection-tool","moving-tool","draw-link-tool","readonly",4,"ngIf"],["id","project-titlebar",3,"ngClass"],["matTooltip","Open menu","matTooltipClass","custom-tooltip","mat-icon-button","",1,"gns3-button","menu-button",3,"matMenuTriggerFor"],["svgIcon","gns3",4,"ngIf"],["svgIcon","gns3black",4,"ngIf"],[1,"project-titlebar-controls"],["class","menu-button-group primary-controls",3,"ngClass",4,"ngIf"],[1,"menu-button-group"],[3,"server","project"],[3,"project","server"],["matTooltip","Toggle topology/servers summary","matTooltipClass","custom-tooltip","mat-icon-button","",3,"ngClass","click"],[3,"overlapTrigger"],["mainMenu","matMenu"],["mat-menu-item","",3,"routerLink"],["mat-menu-item","","routerLink","/settings"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"matMenuTriggerFor"],["projectMenu","matMenu"],["viewMenu","matMenu"],[1,"options-item"],[3,"ngModel","change"],["id","project-toolbar",3,"ngClass"],[1,"section"],["matTooltip","Selection mode","matTooltipClass","custom-tooltip","mat-icon-button","",1,"selection-button","menu-button",3,"color","click"],["matTooltip","Pan workspace","matTooltipClass","custom-tooltip","mat-icon-button","",1,"pan-button","menu-button",3,"color","click"],["matTooltip","Zoom in","matTooltipClass","custom-tooltip","mat-icon-button","",1,"zoom-button",3,"click"],["matTooltip","Reset zoom","matTooltipClass","custom-tooltip","mat-icon-button","",1,"reset-zoom-button",3,"click"],["matTooltip","Zoom out","matTooltipClass","custom-tooltip","mat-icon-button","",1,"zoom-button",3,"click"],["class","section",4,"ngIf"],[3,"links",4,"ngIf"],[3,"server"],[3,"server","project","drawingSaved"],[3,"ngClass"],[3,"server","project","closeConsole",4,"ngIf"],[3,"server","project","symbols","nodes","links","drawings","width","height","show-interface-labels","readonly","nodeDragged","drawingDragged","onLinkCreated","onDrawingResized"],[3,"symbols","nodes","links","drawings","width","height","show-interface-labels","selection-tool","moving-tool","draw-link-tool","readonly"],["svgIcon","gns3"],["svgIcon","gns3black"],[1,"menu-button-group","primary-controls",3,"ngClass"],[3,"server","project","onNodeCreation"],["matTooltip","Add a link","matTooltipClass","custom-tooltip","mat-icon-button","",1,"menu-button",3,"ngClass","color","click"],[3,"links"],[3,"server","project","closeConsole"]],template:function(t,n){1&t&&(e.YNc(0,N1e,156,67,"div",0),e.YNc(1,Z1e,0,0,"ng-template",null,1,e.W1O)),2&t&&e.Q6J("ngIf",n.project)},directives:[Pt.O5,Pt.mk,En,ts,ns,Obe,_q,er,Ls,Zr,go,Pbe,La,re.JJ,re.On,Nq,m6,Ibe,Rbe,Nbe,Zbe,Lbe,Fbe,Bbe,Ube,uq,LCe,QCe,$Ce,a1e,b1e],styles:[".wrapper{height:600px}app-root,app-project-map,.project-map,app-map{width:auto}g.node:hover{background-color:#0097a7}.project-map{background-color:#e8ecef}#project-titlebar{position:fixed;top:0px;left:0px;right:0px;height:60px;padding:0 20px;background-color:#20313b;display:flex;justify-content:space-between;align-items:center;box-shadow:3px 3px 10px #0003;z-index:2}#project-titlebar .gns3-button{position:relative;top:-2px}#project-titlebar .gns3-button mat-icon{width:30px!important;height:30px!important}#project-titlebar .primary-controls{border-right:1px solid rgba(255,255,255,.3);padding-right:15px;margin-right:15px}#project-titlebar .primary-controls.lightTheme{border-right:1px solid black}#project-titlebar .menu-button-group{display:flex;align-items:center;height:24px}#project-titlebar .menu-button{display:flex;justify-content:center;align-items:center;height:36px;width:36px;margin:0 8px;border-radius:18px;background:none;font-size:20px}#project-titlebar .add-menu-button mat-icon{font-size:28px!important}#project-titlebar .selected{background:rgba(0,151,167,.1)}#project-titlebar .selected mat-icon{color:#0097a7!important}#project-titlebar .project-titlebar-controls{display:flex;align-items:center}#project-titlebar.lightTheme{background-color:#fff!important}#project-titlebar.lightTheme .selected mat-icon{color:#0097a7!important}#project-toolbar{position:fixed;top:60px;left:0px;width:50px;margin:20px;background-color:#20313b;border-radius:6px;box-shadow:1px 1px 10px #0003;z-index:2}#project-toolbar mat-icon{font-size:20px}#project-toolbar .menu-button{display:flex;justify-content:center;align-items:center;height:36px;width:36px;border-radius:18px;background:none;margin:2px 0}#project-toolbar .zoom-button{display:flex;justify-content:center;align-items:center;height:36px;width:36px;border-radius:18px;background:none;margin:2px 0;color:#fff}#project-toolbar .zoom-button mat-icon{font-size:24px!important}#project-toolbar .reset-zoom-button{display:flex;justify-content:center;align-items:center;height:36px;width:36px;border-radius:18px;background:none;margin:2px 0;color:#fff}#project-toolbar .reset-zoom-button mat-icon{font-size:18px!important}#project-toolbar .selection-button{margin-bottom:0!important}#project-toolbar .snapshot-button mat-icon{font-size:16px}#project-toolbar .section{display:flex;flex-direction:column;justify-content:center;align-items:center;border-top:1px solid rgba(255,255,255,.3);padding:5px 0}#project-toolbar .section:first-child{border:none}#project-toolbar.lightTheme{background-color:#f4f8fcf2!important}#project-toolbar.lightTheme .zoom-button{opacity:.7;color:#000}#project-toolbar.lightTheme .reset-zoom-button{opacity:.7;color:#000}#project-toolbar.lightTheme .section{border-top:1px solid rgba(0,0,0,.1)}#project-toolbar.lightTheme .section:first-child{border:none}img{filter:invert(1)}.lightTheme{color:#000!important}.darkTheme{color:#fff!important}#show-menu-wrapper{position:fixed;background:transparent;top:0px;left:92px;background:#263238;height:72px;padding-top:16px}#show-menu-wrapper .arrow-button{outline:0!important}.shadowed{box-shadow:0 4px 8px -4px #0003,0 6px 20px -20px #00000030}.non-visible{display:none}#menu-wrapper{position:fixed;background:transparent;top:0px;left:92px;right:0px;background:#263238;height:72px;padding-top:16px;padding-bottom:16px;transition:35s;width:0;overflow:hidden;transition:.15s;box-shadow:0 4px 8px #0003,0 6px 20px #00000030;display:flex}#menu-wrapper .menu-button{outline:0!important;transition:.5s;margin-bottom:16px;width:40px;margin-right:12px!important;margin-left:12px!important;background:transparent;padding:0;border:none;background-color:transparent}#menu-wrapper .arrow-button{outline:0!important;transition:.5s;margin-bottom:16px}.extended{width:830px!important;height:100%;overflow:hidden}mat-divider.divider{height:40px;margin-left:1px;margin-right:7px;width:10px;color:gray}@-moz-document url-prefix(){.mat-drawer-content{display:inline!important}}.shadow{box-shadow:0 4px 8px #0003,0 6px 20px #00000030}.mat-drawer-backdrop.mat-drawer-shown{background-color:transparent}.project-toolbar .mat-toolbar-multiple-rows{width:auto!important}.loading-spinner{position:absolute;top:50%;width:100px;margin-left:-50px;margin-top:-50px;left:50%}line.selected{stroke:#0097a7!important}svg.map image:hover,svg.map image.chosen,g.selected{-moz-filter:grayscale(100%);-ms-filter:grayscale(100%);-o-filter:grayscale(100%);filter:grayscale(100%);filter:gray;filter:url(#grayscale)}path.selected{stroke:#8b0000}.selected>.interface_label_border{stroke:#000;fill:none}.selection-line-tool .selection{fill:#7ccbe1;stroke:#66aec2;fill-opacity:.3;stroke-opacity:.7;stroke-width:1;stroke-dasharray:5,5}g.node text,.noselect{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.project-toolbar button{outline:0;border:none;-moz-outline-style:none}.options-item{padding-left:15px;padding-right:15px}.context-menu-items .mat-menu-item{line-height:24px!important;height:24px!important;font-size:13px!important;padding:0 6px;outline:none!important}.context-menu-items .mat-menu-item .mat-icon{margin-right:3px}.context-menu-items .mat-menu-item:focus{background:none}.visible{display:none}mat-menu-panel{min-height:0px}.unmarked{color:#fff!important}.unmarkedLight{color:#000!important}.marked{color:#0097a7!important}\n"],encapsulation:2}),r}(),F1e=function r(){(0,v.Z)(this,r)},B1e=function r(){(0,v.Z)(this,r)},U1e=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.dialogRef=t,this.message="Do you want to configure GNS3 VM?"}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){}},{key:"onNoClick",value:function(){this.dialogRef.close(!1)}},{key:"onYesClick",value:function(){this.dialogRef.close(!0)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-configure-gns3-vm-dialog"]],decls:7,vars:1,consts:[[1,"message"],["mat-dialog-actions",""],["mat-button","","color","accent",1,"cancelButton",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",1,"confirmButton",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"span",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"button",2),e.NdJ("click",function(){return n.onNoClick()}),e._uU(4,"No"),e.qZA(),e.TgZ(5,"button",3),e.NdJ("click",function(){return n.onYesClick()}),e._uU(6," Yes "),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.Oqu(n.message))},directives:[ti,En],styles:[""]}),r}(),H1e=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.dialogRef=t,this.projectService=n}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){this.name=this.project.name}},{key:"onCloseClick",value:function(){this.dialogRef.close()}},{key:"onSaveClick",value:function(){var n=this;this.projectService.duplicate(this.server,this.project.project_id,this.name).subscribe(function(){n.dialogRef.close()})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(vd.Y))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-choose-name-dialog"]],inputs:{server:"server",project:"project"},decls:10,vars:1,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"form-field"],["matInput","","placeholder","Project name","type","text",3,"ngModel","ngModelChange"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1,"Please choose name for exporting project"),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"mat-form-field",2),e.TgZ(4,"input",3),e.NdJ("ngModelChange",function(o){return n.name=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"button",5),e.NdJ("click",function(){return n.onCloseClick()}),e._uU(7,"Cancel"),e.qZA(),e.TgZ(8,"button",6),e.NdJ("click",function(){return n.onSaveClick()}),e._uU(9,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(4),e.Q6J("ngModel",n.name))},directives:[ii,Ln.KE,ir,re.Fj,re.JJ,re.On,ti,En],styles:[".form-field[_ngcontent-%COMP%]{width:100%}"]}),r}();function V1e(r,i){1&r&&(e.TgZ(0,"mat-header-cell",21),e._uU(1," Name "),e.qZA())}var j1e=function(i,t){return["/server",i,"project",t]};function q1e(r,i){if(1&r&&(e.TgZ(0,"mat-cell"),e.TgZ(1,"a",22),e._uU(2),e.qZA(),e.qZA()),2&r){var t=i.$implicit,n=e.oxw();e.xp6(1),e.Q6J("routerLink",e.WLB(2,j1e,n.server.id,t.project_id)),e.xp6(1),e.Oqu(t.name)}}function z1e(r,i){1&r&&(e.TgZ(0,"mat-header-cell"),e._uU(1," Actions "),e.qZA())}function W1e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"button",28),e.NdJ("click",function(){e.CHM(t);var a=e.oxw().$implicit;return e.oxw().open(a)}),e.TgZ(1,"mat-icon",29),e._uU(2,"play_arrow"),e.qZA(),e.qZA()}}function G1e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"button",30),e.NdJ("click",function(){e.CHM(t);var a=e.oxw().$implicit;return e.oxw().close(a)}),e.TgZ(1,"mat-icon",31),e._uU(2,"pause"),e.qZA(),e.qZA()}}function Y1e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"button",32),e.NdJ("click",function(){e.CHM(t);var a=e.oxw().$implicit;return e.oxw().duplicate(a)}),e.TgZ(1,"mat-icon",33),e._uU(2,"filter_2"),e.qZA(),e.qZA()}}function J1e(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"button",34),e.NdJ("click",function(){e.CHM(t);var a=e.oxw().$implicit;return e.oxw().delete(a)}),e.TgZ(1,"mat-icon",35),e._uU(2,"delete"),e.qZA(),e.qZA()}}function Q1e(r,i){if(1&r&&(e.TgZ(0,"mat-cell",23),e.YNc(1,W1e,3,0,"button",24),e.YNc(2,G1e,3,0,"button",25),e.YNc(3,Y1e,3,0,"button",26),e.YNc(4,J1e,3,0,"button",27),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.Q6J("ngIf","closed"==t.status),e.xp6(1),e.Q6J("ngIf","opened"==t.status),e.xp6(1),e.Q6J("ngIf","closed"==t.status),e.xp6(1),e.Q6J("ngIf","closed"==t.status)}}function K1e(r,i){1&r&&e._UZ(0,"mat-header-row")}function X1e(r,i){1&r&&e._UZ(0,"mat-row")}var $1e=function(){return{standalone:!0}},Jq=function(){var r=function(){function i(t,n,a,o,s,l,d,h,C,P){(0,v.Z)(this,i),this.route=t,this.projectService=n,this.settingsService=a,this.progressService=o,this.dialog=s,this.router=l,this.bottomSheet=d,this.toasterService=h,this.electronService=C,this.recentlyOpenedProjectService=P,this.projectDatabase=new eSe,this.displayedColumns=["name","actions"],this.searchText=""}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.server=this.route.snapshot.data.server,this.server||this.router.navigate(["/servers"]),this.recentlyOpenedProjectService.setServerIdProjectList(this.server.id.toString()),this.refresh(),this.sort.sort({id:"name",start:"asc"}),this.dataSource=new tSe(this.projectDatabase,this.sort),this.settings=this.settingsService.getAll(),this.projectService.projectListSubject.subscribe(function(){return n.refresh()});var a=localStorage.getItem("gns3vmConfig");this.electronService.isElectronApp&&"configured"!==a&&this.dialog.open(U1e,{width:"350px",height:"120px",autoFocus:!1,disableClose:!0}).afterClosed().subscribe(function(s){s&&(localStorage.setItem("gns3vmConfig","configured"),n.router.navigate(["/server",n.server.id,"preferences","gns3vm"]))})}},{key:"goToPreferences",value:function(){var n=this;this.router.navigate(["/server",this.server.id,"preferences"]).catch(function(a){return n.toasterService.error("Cannot navigate to the preferences")})}},{key:"goToSystemStatus",value:function(){var n=this;this.router.navigate(["/server",this.server.id,"systemstatus"]).catch(function(a){return n.toasterService.error("Cannot navigate to the system status")})}},{key:"refresh",value:function(){var n=this;this.projectService.list(this.server).subscribe(function(a){n.projectDatabase.addProjects(a)},function(a){n.progressService.setError(a)})}},{key:"delete",value:function(n){var a=this;this.bottomSheet.open(Xf);var o=this.bottomSheet._openedBottomSheetRef;o.instance.message="Do you want to delete the project?",o.afterDismissed().subscribe(function(l){l&&a.projectService.delete(a.server,n.project_id).subscribe(function(){a.refresh()})})}},{key:"open",value:function(n){var a=this;this.progressService.activate(),this.projectService.open(this.server,n.project_id).subscribe(function(){a.refresh()},function(){a.refresh(),a.progressService.deactivate(),a.toasterService.error("Project was deleted.")},function(){a.progressService.deactivate()})}},{key:"close",value:function(n){var a=this;this.bottomSheet.open(Xf);var o=this.bottomSheet._openedBottomSheetRef;o.instance.message="Do you want to close the project?",o.afterDismissed().subscribe(function(l){l&&a.projectService.close(a.server,n.project_id).subscribe(function(){a.refresh(),a.progressService.deactivate()})})}},{key:"duplicate",value:function(n){var a=this,o=this.dialog.open(H1e,{width:"400px",autoFocus:!1,disableClose:!0}),s=o.componentInstance;s.server=this.server,s.project=n,o.afterClosed().subscribe(function(){a.refresh()})}},{key:"addBlankProject",value:function(){this.dialog.open(dq,{width:"400px",autoFocus:!1,disableClose:!0}).componentInstance.server=this.server}},{key:"importProject",value:function(){var n=this,a="",o=this.dialog.open(fq,{width:"400px",autoFocus:!1,disableClose:!0});o.componentInstance.server=this.server;var l=o.componentInstance.onImportProject.subscribe(function(d){a=d});o.afterClosed().subscribe(function(){if(n.refresh(),l.unsubscribe(),a){n.bottomSheet.open(hq);var d=n.bottomSheet._openedBottomSheetRef;d.instance.projectMessage="imported project",d.afterDismissed().subscribe(function(C){C&&n.projectService.open(n.server,a).subscribe(function(){n.router.navigate(["/server",n.server.id,"project",a])})})}})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(vd.Y),e.Y36(wp.g),e.Y36(zf),e.Y36(ca),e.Y36(xr),e.Y36(uS),e.Y36(Yn),e.Y36(gs),e.Y36(f2.p))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-projects"]],viewQuery:function(t,n){var a;1&t&&e.Gf(cS,7),2&t&&e.iGM(a=e.CRH())&&(n.sort=a.first)},decls:29,vars:9,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],["mat-raised-button","",1,"add-button",3,"click"],["mat-raised-button","","color","primary",1,"add-button",3,"click"],["mat-raised-button","","color","primary",1,"import-button",3,"click"],[1,"full-width"],["matInput","","placeholder","Search by name",3,"ngModel","ngModelOptions","ngModelChange"],[1,"default-content"],[1,"mat-elevation-z8"],["matSort","",3,"dataSource"],["table",""],["matColumnDef","name"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","actions"],[4,"matHeaderCellDef"],["style","text-align: right",4,"matCellDef"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],["mat-sort-header",""],[1,"table-link",3,"routerLink"],[2,"text-align","right"],["mat-icon-button","","matTooltip","Open project","matTooltipClass","custom-tooltip",3,"click",4,"ngIf"],["mat-icon-button","","matTooltip","Close project","matTooltipClass","custom-tooltip",3,"click",4,"ngIf"],["mat-icon-button","","matTooltip","Duplicate project","matTooltipClass","custom-tooltip",3,"click",4,"ngIf"],["mat-icon-button","","matTooltip","Delete project","matTooltipClass","custom-tooltip",3,"click",4,"ngIf"],["mat-icon-button","","matTooltip","Open project","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Open project"],["mat-icon-button","","matTooltip","Close project","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Close project"],["mat-icon-button","","matTooltip","Duplicate project","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Duplicate project"],["mat-icon-button","","matTooltip","Delete project","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Delete project"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Projects"),e.qZA(),e.TgZ(5,"button",4),e.NdJ("click",function(){return n.goToSystemStatus()}),e._uU(6,"Go to system status"),e.qZA(),e.TgZ(7,"button",4),e.NdJ("click",function(){return n.goToPreferences()}),e._uU(8,"Go to preferences"),e.qZA(),e.TgZ(9,"button",5),e.NdJ("click",function(){return n.addBlankProject()}),e._uU(10," Add blank project "),e.qZA(),e.TgZ(11,"button",6),e.NdJ("click",function(){return n.importProject()}),e._uU(12," Import project "),e.qZA(),e.qZA(),e.qZA(),e.TgZ(13,"form"),e.TgZ(14,"mat-form-field",7),e.TgZ(15,"input",8),e.NdJ("ngModelChange",function(o){return n.searchText=o}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(16,"div",9),e.TgZ(17,"div",10),e.TgZ(18,"mat-table",11,12),e.ALo(20,"projectsfilter"),e.ynx(21,13),e.YNc(22,V1e,2,0,"mat-header-cell",14),e.YNc(23,q1e,3,5,"mat-cell",15),e.BQk(),e.ynx(24,16),e.YNc(25,z1e,2,0,"mat-header-cell",17),e.YNc(26,Q1e,5,4,"mat-cell",18),e.BQk(),e.YNc(27,K1e,1,0,"mat-header-row",19),e.YNc(28,X1e,1,0,"mat-row",20),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(15),e.Q6J("ngModel",n.searchText)("ngModelOptions",e.DdM(8,$1e)),e.xp6(3),e.Q6J("dataSource",e.xi3(20,5,n.dataSource,n.searchText)),e.xp6(9),e.Q6J("matHeaderRowDef",n.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",n.displayedColumns))},styles:[".import-button[_ngcontent-%COMP%]{height:40px;width:160px;margin:20px}.add-button[_ngcontent-%COMP%]{height:40px;width:160px;margin:20px}.full-width[_ngcontent-%COMP%]{width:940px;margin-left:-470px;left:50%}.row[_ngcontent-%COMP%]{display:flex}"]}),r}(),eSe=function(){function r(){(0,v.Z)(this,r),this.dataChange=new $i.X([])}return(0,g.Z)(r,[{key:"data",get:function(){return this.dataChange.value}},{key:"addProjects",value:function(t){this.dataChange.next(t)}},{key:"remove",value:function(t){var n=this.data.indexOf(t);n>=0&&(this.data.splice(n,1),this.dataChange.next(this.data.slice()))}}]),r}(),tSe=function(r){(0,O.Z)(t,r);var i=(0,y.Z)(t);function t(n,a){var o;return(0,v.Z)(this,t),(o=i.call(this)).projectDatabase=n,o.sort=a,o}return(0,g.Z)(t,[{key:"connect",value:function(){var a=this;return Ra.T.apply(void 0,[this.projectDatabase.dataChange,this.sort.sortChange]).pipe((0,kr.U)(function(){return a.sort.active&&""!==a.sort.direction?a.projectDatabase.data.sort(function(s,l){var d=s[a.sort.active],h=l[a.sort.active];return((isNaN(+d)?d:+d)<(isNaN(+h)?h:+h)?-1:1)*("asc"===a.sort.direction?1:-1)}):a.projectDatabase.data}))}},{key:"disconnect",value:function(){}}]),t}(ma.o2);function nSe(r,i){1&r&&(e.TgZ(0,"mat-error"),e._uU(1,"You must enter a value"),e.qZA())}function rSe(r,i){if(1&r&&(e.TgZ(0,"mat-option",13),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t.key),e.xp6(1),e.hij(" ",t.name," ")}}function iSe(r,i){1&r&&(e.TgZ(0,"mat-form-field"),e._UZ(1,"input",14),e.qZA())}function aSe(r,i){1&r&&(e.TgZ(0,"mat-form-field"),e._UZ(1,"input",15),e.qZA())}function oSe(r,i){if(1&r&&(e.TgZ(0,"mat-option",13),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t.key),e.xp6(1),e.hij(" ",t.name," ")}}function sSe(r,i){if(1&r&&(e.TgZ(0,"mat-option",13),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.Q6J("value",t.key),e.xp6(1),e.hij(" ",t.name," ")}}function lSe(r,i){if(1&r&&(e.TgZ(0,"mat-form-field"),e.TgZ(1,"mat-select",16),e.YNc(2,sSe,2,2,"mat-option",6),e.qZA(),e.qZA()),2&r){var t=e.oxw();e.xp6(2),e.Q6J("ngForOf",t.authorizations)}}function uSe(r,i){1&r&&(e.TgZ(0,"mat-form-field"),e._UZ(1,"input",17),e.qZA())}function cSe(r,i){1&r&&(e.TgZ(0,"mat-form-field"),e._UZ(1,"input",18),e.qZA())}var dSe=function(){var r=function(){function i(t,n,a,o,s){(0,v.Z)(this,i),this.dialogRef=t,this.electronService=n,this.serverService=a,this.toasterService=o,this.data=s,this.authorizations=[{key:"none",name:"No authorization"},{key:"basic",name:"Basic authorization"}],this.protocols=[{key:"http:",name:"HTTP"},{key:"https:",name:"HTTPS"}],this.locations=[],this.serverForm=new re.cw({name:new re.NI("",[re.kI.required]),location:new re.NI(""),path:new re.NI(""),ubridge_path:new re.NI(""),host:new re.NI("",[re.kI.required]),port:new re.NI("",[re.kI.required,re.kI.min(1)]),protocol:new re.NI("http:"),authorization:new re.NI("none"),login:new re.NI(""),password:new re.NI("")})}return(0,g.Z)(i,[{key:"getLocations",value:function(){return(0,Sa.mG)(this,void 0,void 0,k().mark(function n(){var a,o;return k().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,this.numberOfLocalServers();case 2:return a=l.sent,o=[],this.electronService.isElectronApp&&0===a&&o.push({key:"local",name:"Local"}),o.push({key:"remote",name:"Remote"}),l.abrupt("return",o);case 7:case"end":return l.stop()}},n,this)}))}},{key:"getDefaultLocation",value:function(){return(0,Sa.mG)(this,void 0,void 0,k().mark(function n(){var a;return k().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,this.numberOfLocalServers();case 2:if(a=s.sent,!this.electronService.isElectronApp||0!==a){s.next=5;break}return s.abrupt("return","local");case 5:return s.abrupt("return","remote");case 6:case"end":return s.stop()}},n,this)}))}},{key:"numberOfLocalServers",value:function(){return(0,Sa.mG)(this,void 0,void 0,k().mark(function n(){return k().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,this.serverService.findAll();case 2:return s.abrupt("return",s.sent.filter(function(l){return"local"===l.location}).length);case 4:case"end":return s.stop()}},n,this)}))}},{key:"getDefaultHost",value:function(){return"127.0.0.1"}},{key:"getDefaultPort",value:function(){return 3080}},{key:"getDefaultLocalServerPath",value:function(){return(0,Sa.mG)(this,void 0,void 0,k().mark(function n(){return k().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(!this.electronService.isElectronApp){o.next=4;break}return o.next=3,this.electronService.remote.require("./local-server.js").getLocalServerPath();case 3:return o.abrupt("return",o.sent);case 4:return o.abrupt("return");case 5:case"end":return o.stop()}},n,this)}))}},{key:"getDefaultUbridgePath",value:function(){return(0,Sa.mG)(this,void 0,void 0,k().mark(function n(){return k().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(!this.electronService.isElectronApp){o.next=4;break}return o.next=3,this.electronService.remote.require("./local-server.js").getUbridgePath();case 3:return o.abrupt("return",o.sent);case 4:return o.abrupt("return");case 5:case"end":return o.stop()}},n,this)}))}},{key:"ngOnInit",value:function(){return(0,Sa.mG)(this,void 0,void 0,k().mark(function n(){var o,s,l,a=this;return k().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,this.getLocations();case 2:return this.locations=h.sent,h.next=5,this.getDefaultLocalServerPath();case 5:return o=h.sent,h.next=8,this.getDefaultUbridgePath();case 8:return s=h.sent,this.serverForm.get("location").valueChanges.subscribe(function(C){var P=a.serverForm.get("path"),N=a.serverForm.get("ubridge_path");"local"===C?(P.setValue(o),P.setValidators([re.kI.required]),N.setValue(s),N.setValidators([re.kI.required])):(P.setValue(""),P.clearValidators(),N.setValue(""),N.clearValidators()),[P,N].forEach(function(q){q.updateValueAndValidity({onlySelf:!0})})}),this.serverForm.get("authorization").valueChanges.subscribe(function(C){var P=a.serverForm.get("login"),N=a.serverForm.get("password");"none"===C?(P.clearValidators(),N.clearValidators()):(P.setValidators([re.kI.required]),N.setValidators([re.kI.required])),[P,N].forEach(function(q){q.updateValueAndValidity({onlySelf:!0})})}),h.next=13,this.getDefaultLocation();case 13:l=h.sent,this.serverForm.get("location").setValue(l),this.serverForm.get("host").setValue(this.getDefaultHost()),this.serverForm.get("port").setValue(this.getDefaultPort()),this.serverForm.get("authorization").setValue("none");case 18:case"end":return h.stop()}},n,this)}))}},{key:"onAddClick",value:function(){var n=this;if(this.serverForm.valid){var a=Object.assign({},this.serverForm.value);this.serverService.checkServerVersion(a).subscribe(function(o){o.version.split(".")[1]>=2&&o.version.split(".")[0]>=2?(n.dialogRef.close(a),n.toasterService.success("Server ".concat(a.name," added."))):(n.dialogRef.close(),n.toasterService.error("Server version is not supported."))},function(o){n.toasterService.error("Cannot connect to the server: "+o)})}}},{key:"onNoClick",value:function(){this.dialogRef.close()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(zr),e.Y36(gs),e.Y36(Vr),e.Y36(Yn),e.Y36(hd))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-add-server-dialog"]],decls:27,vars:9,consts:[["mat-dialog-title",""],[3,"formGroup"],["mat-dialog-content",""],["matInput","","tabindex","1","formControlName","name","placeholder","Name"],[4,"ngIf"],["placeholder","Location","formControlName","location"],[3,"value",4,"ngFor","ngForOf"],["matInput","","tabindex","1","formControlName","host","placeholder","Host"],["matInput","","tabindex","1","formControlName","port","placeholder","Port"],["placeholder","Protocol","formControlName","protocol"],["mat-dialog-actions",""],["mat-button","","tabindex","-1","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],[3,"value"],["matInput","","tabindex","1","formControlName","path","placeholder","Local server path"],["matInput","","tabindex","1","formControlName","ubridge_path","placeholder","Ubridge path"],["placeholder","Authorization","formControlName","authorization"],["matInput","","tabindex","1","formControlName","login","placeholder","Login"],["matInput","","type","password","tabindex","1","formControlName","password","placeholder","Password"]],template:function(t,n){1&t&&(e.TgZ(0,"h1",0),e._uU(1,"Add server"),e.qZA(),e.TgZ(2,"form",1),e.TgZ(3,"div",2),e.TgZ(4,"mat-form-field"),e._UZ(5,"input",3),e.YNc(6,nSe,2,0,"mat-error",4),e.qZA(),e.TgZ(7,"mat-form-field"),e.TgZ(8,"mat-select",5),e.YNc(9,rSe,2,2,"mat-option",6),e.qZA(),e.qZA(),e.YNc(10,iSe,2,0,"mat-form-field",4),e.YNc(11,aSe,2,0,"mat-form-field",4),e.TgZ(12,"mat-form-field"),e._UZ(13,"input",7),e.qZA(),e.TgZ(14,"mat-form-field"),e._UZ(15,"input",8),e.qZA(),e.TgZ(16,"mat-form-field"),e.TgZ(17,"mat-select",9),e.YNc(18,oSe,2,2,"mat-option",6),e.qZA(),e.qZA(),e.YNc(19,lSe,3,1,"mat-form-field",4),e.YNc(20,uSe,2,0,"mat-form-field",4),e.YNc(21,cSe,2,0,"mat-form-field",4),e.qZA(),e.TgZ(22,"div",10),e.TgZ(23,"button",11),e.NdJ("click",function(){return n.onNoClick()}),e._uU(24,"Cancel"),e.qZA(),e.TgZ(25,"button",12),e.NdJ("click",function(){return n.onAddClick()}),e._uU(26,"Add"),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(2),e.Q6J("formGroup",n.serverForm),e.xp6(4),e.Q6J("ngIf",n.serverForm.get("name").hasError("required")),e.xp6(3),e.Q6J("ngForOf",n.locations),e.xp6(1),e.Q6J("ngIf","local"===n.serverForm.get("location").value),e.xp6(1),e.Q6J("ngIf","local"===n.serverForm.get("location").value),e.xp6(7),e.Q6J("ngForOf",n.protocols),e.xp6(1),e.Q6J("ngIf","remote"===n.serverForm.get("location").value),e.xp6(1),e.Q6J("ngIf","basic"===n.serverForm.get("authorization").value),e.xp6(1),e.Q6J("ngIf","basic"===n.serverForm.get("authorization").value))},directives:[ii,re._Y,re.JL,re.sg,Q_,Ln.KE,ir,re.Fj,re.JJ,re.u,Pt.O5,yi.gD,Pt.sg,ti,En,Ln.TO,sn.ey],encapsulation:2}),r}(),_L=function(){var r=function(){function i(t){var n=this;(0,v.Z)(this,i),this.electronService=t,this.serverStatusChanged=new Un.xQ,this.electronService.isElectronApp&&this.electronService.ipcRenderer.on(this.statusChannel,function(a,o){n.serverStatusChanged.next(o)})}return(0,g.Z)(i,[{key:"statusChannel",get:function(){return"local-server-status-events"}},{key:"start",value:function(n){return(0,Sa.mG)(this,void 0,void 0,k().mark(function a(){return k().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return this.serverStatusChanged.next({serverName:n.name,status:"starting",message:""}),l.next=4,this.electronService.remote.require("./local-server.js").startLocalServer(n);case 4:return l.abrupt("return",l.sent);case 5:case"end":return l.stop()}},a,this)}))}},{key:"stop",value:function(n){return(0,Sa.mG)(this,void 0,void 0,k().mark(function a(){return k().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,this.electronService.remote.require("./local-server.js").stopLocalServer(n);case 2:return s.abrupt("return",s.sent);case 3:case"end":return s.stop()}},a,this)}))}},{key:"stopAll",value:function(){return(0,Sa.mG)(this,void 0,void 0,k().mark(function n(){return k().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,this.electronService.remote.require("./local-server.js").stopAllLocalServers();case 2:return o.abrupt("return",o.sent);case 3:case"end":return o.stop()}},n,this)}))}},{key:"getRunningServers",value:function(){return this.electronService.isElectronApp?this.electronService.remote.require("./local-server.js").getRunningServers():[]}},{key:"ngOnDestroy",value:function(){this.electronService.isElectronApp&&this.electronService.ipcRenderer.removeAllListeners(this.statusChannel)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(gs))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),yL=f(61849),Qq=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.httpServer=t}return(0,g.Z)(i,[{key:"get",value:function(n){return this.httpServer.get(n,"/version")}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(Ja.wh))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}();function pSe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-card",2),e.TgZ(1,"mat-card-content",3),e._uU(2," We've discovered GNS3 server on "),e.TgZ(3,"b"),e._uU(4),e.qZA(),e._uU(5,", would you like to add to the list? "),e.qZA(),e.TgZ(6,"mat-card-actions",4),e.TgZ(7,"button",5),e.NdJ("click",function(){e.CHM(t);var o=e.oxw();return o.ignore(o.discoveredServer)}),e._uU(8,"NO"),e.qZA(),e.TgZ(9,"button",6),e.NdJ("click",function(){e.CHM(t);var o=e.oxw();return o.accept(o.discoveredServer)}),e._uU(10,"YES"),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=e.oxw();e.xp6(4),e.AsE("",n.discoveredServer.host,":",n.discoveredServer.port,"")}}function fSe(r,i){1&r&&e._UZ(0,"mat-divider")}var hSe=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this.versionService=t,this.serverService=n,this.serverDatabase=a,this.route=o,this.defaultServers=[{host:"127.0.0.1",port:3080}]}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.serverService.isServiceInitialized&&this.discoverFirstServer(),this.serverService.serviceInitialized.subscribe(function(a){return(0,Sa.mG)(n,void 0,void 0,k().mark(function o(){return k().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:a&&this.discoverFirstServer();case 1:case"end":return l.stop()}},o,this)}))})}},{key:"discoverFirstServer",value:function(){return(0,Sa.mG)(this,void 0,void 0,k().mark(function n(){var a;return k().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,this.discoverServers();case 2:return a=l.sent,l.next=5,this.serverService.findAll();case 5:l.sent.forEach(function(d){a=a.filter(function(h){return!(h.host==d.host&&h.port==d.port)})}),a.length>0&&(this.discoveredServer=a.shift());case 8:case"end":return l.stop()}},n,this)}))}},{key:"discoverServers",value:function(){return(0,Sa.mG)(this,void 0,void 0,k().mark(function n(){var o,a=this;return k().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return o=[],this.defaultServers.forEach(function(d){return(0,Sa.mG)(a,void 0,void 0,k().mark(function h(){var C;return k().wrap(function(q){for(;;)switch(q.prev=q.next){case 0:return(C=new AA).host=d.host,C.port=d.port,q.next=5,this.versionService.get(C).toPromise().catch(function(Q){return null});case 5:q.sent&&o.push(C);case 7:case"end":return q.stop()}},h,this)}))}),l.abrupt("return",o);case 3:case"end":return l.stop()}},n,this)}))}},{key:"discoverFirstAvailableServer",value:function(){var n=this;(0,p6.D)([(0,As.D)(this.serverService.findAll()).pipe((0,kr.U)(function(a){return a})),this.discovery()]).subscribe(function(a){var o=(0,b.Z)(a,2),l=o[1];o[0].forEach(function(d){l=l.filter(function(h){return!(h.host==d.host&&h.port==d.port)})}),l.length>0&&(n.discoveredServer=l.shift())},function(a){})}},{key:"discovery",value:function(){var n=this,a=[];return this.defaultServers.forEach(function(o){a.push(n.isServerAvailable(o.host,o.port).catch(function(s){return yL.Observable.of(null)}))}),new yL.Observable(function(o){(0,p6.D)(a).subscribe(function(s){o.next(s.filter(function(l){return null!=l})),o.complete()})})}},{key:"isServerAvailable",value:function(n,a){var o=new AA;return o.host=n,o.port=a,this.versionService.get(o).flatMap(function(s){return yL.Observable.of(o)})}},{key:"ignore",value:function(n){this.discoveredServer=null}},{key:"accept",value:function(n){var a=this;null==n.name&&(n.name=n.host),n.location="remote",n.protocol=location.protocol,this.serverService.create(n).then(function(o){a.serverDatabase.addServer(o),a.discoveredServer=null})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Qq),e.Y36(Vr),e.Y36(IA),e.Y36(Or))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-server-discovery"]],decls:2,vars:2,consts:[["class","info",4,"ngIf"],[4,"ngIf"],[1,"info"],["align","center"],["align","right"],["mat-button","","color","accent",3,"click"],["mat-button","",3,"click"]],template:function(t,n){1&t&&(e.YNc(0,pSe,11,2,"mat-card",0),e.YNc(1,fSe,1,0,"mat-divider",1)),2&t&&(e.Q6J("ngIf",n.discoveredServer),e.xp6(1),e.Q6J("ngIf",n.discoveredServer))},directives:[Pt.O5,Ti,g6,woe,En,KV.d],styles:[""]}),r}();function mSe(r,i){1&r&&(e.TgZ(0,"mat-header-cell"),e._uU(1," ID "),e.qZA())}function vSe(r,i){if(1&r&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.hij(" ",t.id," ")}}function gSe(r,i){1&r&&(e.TgZ(0,"mat-header-cell"),e._uU(1," Name "),e.qZA())}var _Se=function(i){return["/server",i,"projects"]};function ySe(r,i){if(1&r&&(e.TgZ(0,"a",22),e._uU(1),e.qZA()),2&r){var t=e.oxw().$implicit;e.Q6J("routerLink",e.VKq(2,_Se,t.id)),e.xp6(1),e.Oqu(t.name)}}function bSe(r,i){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){var t=e.oxw().$implicit;e.xp6(1),e.Oqu(t.name)}}function CSe(r,i){if(1&r&&(e.TgZ(0,"mat-cell"),e.YNc(1,ySe,2,4,"a",20),e.YNc(2,bSe,2,1,"span",21),e.qZA()),2&r){var t=i.$implicit,n=e.oxw();e.xp6(1),e.Q6J("ngIf","running"===n.getServerStatus(t)||"remote"===t.location||"bundled"===t.location),e.xp6(1),e.Q6J("ngIf","running"!=n.getServerStatus(t)&&"remote"!==t.location&&"bundled"!==t.location)}}function SSe(r,i){1&r&&(e.TgZ(0,"mat-header-cell"),e._uU(1," Location "),e.qZA())}function TSe(r,i){if(1&r&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.hij(" ",t.location," ")}}function kSe(r,i){1&r&&(e.TgZ(0,"mat-header-cell"),e._uU(1," Host "),e.qZA())}function wSe(r,i){if(1&r&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.hij(" ",t.host," ")}}function xSe(r,i){1&r&&(e.TgZ(0,"mat-header-cell"),e._uU(1," Port "),e.qZA())}function ESe(r,i){if(1&r&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.hij(" ",t.port," ")}}function MSe(r,i){1&r&&(e.TgZ(0,"mat-header-cell"),e._uU(1," Actions "),e.qZA())}function ASe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"button",30),e.NdJ("click",function(){e.CHM(t);var a=e.oxw().$implicit;return e.oxw().openProjects(a)}),e.TgZ(1,"mat-icon",31),e._uU(2,"arrow_forward"),e.qZA(),e.qZA()}}function DSe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"button",32),e.NdJ("click",function(){e.CHM(t);var a=e.oxw().$implicit;return e.oxw().startServer(a)}),e.TgZ(1,"mat-icon",33),e._uU(2,"play_arrow"),e.qZA(),e.qZA()}}function OSe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"button",34),e.NdJ("click",function(){e.CHM(t);var a=e.oxw().$implicit;return e.oxw().stopServer(a)}),e.TgZ(1,"mat-icon",35),e._uU(2,"stop"),e.qZA(),e.qZA()}}function PSe(r,i){1&r&&e._UZ(0,"mat-spinner",36),2&r&&e.Q6J("diameter",24)}function ISe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-cell",23),e.YNc(1,ASe,3,0,"button",24),e.YNc(2,DSe,3,0,"button",25),e.YNc(3,OSe,3,0,"button",26),e.YNc(4,PSe,1,1,"mat-spinner",27),e.TgZ(5,"button",28),e.NdJ("click",function(){var l=e.CHM(t).$implicit;return e.oxw().deleteServer(l)}),e.TgZ(6,"mat-icon",29),e._uU(7,"delete"),e.qZA(),e.qZA(),e.qZA()}if(2&r){var n=i.$implicit,a=e.oxw();e.xp6(1),e.Q6J("ngIf","running"===a.getServerStatus(n)||"remote"===n.location||"bundled"===n.location),e.xp6(1),e.Q6J("ngIf","local"===n.location&&"stopped"===a.getServerStatus(n)),e.xp6(1),e.Q6J("ngIf","local"===n.location&&"running"===a.getServerStatus(n)),e.xp6(1),e.Q6J("ngIf","local"===n.location&&"starting"===a.getServerStatus(n))}}function RSe(r,i){1&r&&e._UZ(0,"mat-header-row")}function NSe(r,i){1&r&&e._UZ(0,"mat-row")}function ZSe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"button",37),e.NdJ("click",function(){return e.CHM(t),e.oxw().startLocalServer()}),e._uU(1," Start local server "),e.qZA()}}var LSe=function(){var r=function(){function i(t,n,a,o,s,l,d,h,C,P){(0,v.Z)(this,i),this.dialog=t,this.serverService=n,this.serverDatabase=a,this.serverManagement=o,this.changeDetector=s,this.electronService=l,this.childProcessService=d,this.bottomSheet=h,this.route=C,this.router=P,this.displayedColumns=["id","name","location","ip","port","actions"],this.isElectronApp=!1}return(0,g.Z)(i,[{key:"getServers",value:function(){var n=this,a=this.serverManagement.getRunningServers();this.serverService.findAll().then(function(o){o.forEach(function(s){a.findIndex(function(d){return s.name===d})>=0&&(s.status="running")}),o.forEach(function(s){n.serverService.checkServerVersion(s).subscribe(function(l){l.version.split(".")[1]>=2&&l.version.split(".")[0]>=2&&(s.protocol||(s.protocol=location.protocol),n.serverDatabase.find(s.name)||n.serverDatabase.addServer(s))},function(l){})})})}},{key:"ngOnInit",value:function(){var n=this;this.isElectronApp=this.electronService.isElectronApp,this.serverService.isServiceInitialized&&this.getServers(),this.serverService.serviceInitialized.subscribe(function(a){return(0,Sa.mG)(n,void 0,void 0,k().mark(function o(){return k().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:a&&this.getServers();case 1:case"end":return l.stop()}},o,this)}))}),this.dataSource=new FSe(this.serverDatabase),this.serverStatusSubscription=this.serverManagement.serverStatusChanged.subscribe(function(a){var o=n.serverDatabase.find(a.serverName);!o||("starting"===a.status&&(o.status="starting"),"stopped"===a.status&&(o.status="stopped"),"errored"===a.status&&(o.status="stopped"),"started"===a.status&&(o.status="running"),n.serverDatabase.update(o),n.changeDetector.detectChanges())})}},{key:"ngOnDestroy",value:function(){this.serverStatusSubscription.unsubscribe()}},{key:"startLocalServer",value:function(){var n=this.serverDatabase.data.find(function(a){return"bundled"===a.location||"local"});this.startServer(n)}},{key:"openProjects",value:function(n){this.router.navigate(["/server",n.id,"projects"])}},{key:"createModal",value:function(){var n=this;this.dialog.open(dSe,{width:"350px",autoFocus:!1,disableClose:!0}).afterClosed().subscribe(function(o){o&&n.serverService.create(o).then(function(s){n.serverDatabase.addServer(s)})})}},{key:"getServerStatus",value:function(n){if("local"===n.location)return void 0===n.status?"stopped":n.status}},{key:"deleteServer",value:function(n){var a=this;this.bottomSheet.open(Xf);var o=this.bottomSheet._openedBottomSheetRef;o.instance.message="Do you want to delete the server?",o.afterDismissed().subscribe(function(l){l&&a.serverService.delete(n).then(function(){a.serverDatabase.remove(n)})})}},{key:"startServer",value:function(n){return(0,Sa.mG)(this,void 0,void 0,k().mark(function a(){return k().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,this.serverManagement.start(n);case 2:case"end":return s.stop()}},a,this)}))}},{key:"stopServer",value:function(n){return(0,Sa.mG)(this,void 0,void 0,k().mark(function a(){return k().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,this.serverManagement.stop(n);case 2:case"end":return s.stop()}},a,this)}))}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(ca),e.Y36(Vr),e.Y36(IA),e.Y36(_L),e.Y36(e.sBO),e.Y36(gs),e.Y36(qZ),e.Y36(uS),e.Y36(Or),e.Y36(xr))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-server-list"]],decls:33,vars:4,consts:[[1,"content"],[1,"default-header"],[1,"default-content"],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","id"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","name"],["matColumnDef","location"],["matColumnDef","ip"],["matColumnDef","port"],["matColumnDef","actions"],["style","text-align: right",4,"matCellDef"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[1,"buttons-bar"],["mat-raised-button","","class","button",3,"click",4,"ngIf"],["mat-raised-button","","color","primary",1,"button",3,"click"],["class","table-link",3,"routerLink",4,"ngIf"],[4,"ngIf"],[1,"table-link",3,"routerLink"],[2,"text-align","right"],["mat-icon-button","","matTooltip","Go to projects","matTooltipClass","custom-tooltip",3,"click",4,"ngIf"],["mat-icon-button","","matTooltip","Start server","matTooltipClass","custom-tooltip",3,"click",4,"ngIf"],["mat-icon-button","","matTooltip","Stop server","matTooltipClass","custom-tooltip",3,"click",4,"ngIf"],[3,"diameter",4,"ngIf"],["mat-icon-button","","matTooltip","Remove server","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Remove server"],["mat-icon-button","","matTooltip","Go to projects","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Go to projects"],["mat-icon-button","","matTooltip","Start server","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Start server"],["mat-icon-button","","matTooltip","Stop server","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Stop server"],[3,"diameter"],["mat-raised-button","",1,"button",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"h1"),e._uU(3,"Servers"),e.qZA(),e.qZA(),e.TgZ(4,"div",2),e._UZ(5,"app-server-discovery"),e.TgZ(6,"div",3),e.TgZ(7,"mat-table",4,5),e.ynx(9,6),e.YNc(10,mSe,2,0,"mat-header-cell",7),e.YNc(11,vSe,2,1,"mat-cell",8),e.BQk(),e.ynx(12,9),e.YNc(13,gSe,2,0,"mat-header-cell",7),e.YNc(14,CSe,3,2,"mat-cell",8),e.BQk(),e.ynx(15,10),e.YNc(16,SSe,2,0,"mat-header-cell",7),e.YNc(17,TSe,2,1,"mat-cell",8),e.BQk(),e.ynx(18,11),e.YNc(19,kSe,2,0,"mat-header-cell",7),e.YNc(20,wSe,2,1,"mat-cell",8),e.BQk(),e.ynx(21,12),e.YNc(22,xSe,2,0,"mat-header-cell",7),e.YNc(23,ESe,2,1,"mat-cell",8),e.BQk(),e.ynx(24,13),e.YNc(25,MSe,2,0,"mat-header-cell",7),e.YNc(26,ISe,8,4,"mat-cell",14),e.BQk(),e.YNc(27,RSe,1,0,"mat-header-row",15),e.YNc(28,NSe,1,0,"mat-row",16),e.qZA(),e.qZA(),e.TgZ(29,"div",17),e.YNc(30,ZSe,2,0,"button",18),e.TgZ(31,"button",19),e.NdJ("click",function(){return n.createModal()}),e._uU(32,"Add server"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(7),e.Q6J("dataSource",n.dataSource),e.xp6(20),e.Q6J("matHeaderRowDef",n.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",n.displayedColumns),e.xp6(2),e.Q6J("ngIf",n.isElectronApp))},directives:[hSe,nu,kl,Tl,Sl,ru,iu,Pt.O5,En,wl,xl,W_,ts,er,MV,au,ou],styles:[".buttons-bar[_ngcontent-%COMP%]{padding-top:0}.button[_ngcontent-%COMP%]{margin:20px!important}"]}),r}(),FSe=function(r){(0,O.Z)(t,r);var i=(0,y.Z)(t);function t(n){var a;return(0,v.Z)(this,t),(a=i.call(this)).serverDatabase=n,a}return(0,g.Z)(t,[{key:"connect",value:function(){var a=this;return(0,Ra.T)(this.serverDatabase.dataChange).pipe((0,kr.U)(function(){return a.serverDatabase.data}))}},{key:"disconnect",value:function(){}}]),t}(ma.o2),Kq=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.electronService=t}return(0,g.Z)(i,[{key:"get",value:function(){if(this.electronService.isElectronApp){if(this.electronService.isLinux)return'xfce4-terminal --tab -T "%d" -e "telnet %h %p"';if(this.electronService.isWindows)return'putty.exe -telnet %h %p -loghost "%d"'}}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(gs))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),bL=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.defaultConsoleService=t,this.settingsService=n}return(0,g.Z)(i,[{key:"command",get:function(){var n=this.settingsService.getConsoleSettings();return void 0===n?this.defaultConsoleService.get():n},set:function(n){this.settingsService.setConsoleSettings(n)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(Kq),e.LFG(wp.g))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),BSe=function(){var r=function(){function i(t,n,a){(0,v.Z)(this,i),this.router=t,this.consoleService=n,this.toasterService=a,this.consoleForm=new re.cw({command:new re.NI("")})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){this.consoleForm.get("command").setValue(this.consoleService.command)}},{key:"goBack",value:function(){this.router.navigate(["/settings"])}},{key:"save",value:function(){this.consoleService.command=this.consoleForm.value.command,this.toasterService.success("Console command has been updated."),this.goBack()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(xr),e.Y36(bL),e.Y36(Yn))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-console"]],decls:30,vars:1,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[3,"formGroup"],[1,"form-field","full-width-field"],["matInput","","formControlName","command","placeholder","Command"],[1,"help"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Console settings"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"mat-card"),e.TgZ(7,"form",5),e.TgZ(8,"mat-form-field",6),e._UZ(9,"textarea",7),e.qZA(),e.TgZ(10,"div",8),e._uU(11," The following variables are replaced by GNS3:"),e._UZ(12,"br"),e._uU(13," %h: console IP or hostname"),e._UZ(14,"br"),e._uU(15," %p: console port"),e._UZ(16,"br"),e._uU(17," %s: path of the serial connection"),e._UZ(18,"br"),e._uU(19," %d: title of the console"),e._UZ(20,"br"),e._uU(21," %i: Project UUID"),e._UZ(22,"br"),e._uU(23," %c: server URL (http://user:password@server:port) "),e.qZA(),e.qZA(),e.qZA(),e.TgZ(24,"div",9),e.TgZ(25,"button",10),e.NdJ("click",function(){return n.goBack()}),e._uU(26,"Cancel"),e.qZA(),e.TgZ(27,"button",11),e.NdJ("click",function(){return n.save()}),e._uU(28,"Save"),e.qZA(),e._UZ(29,"br"),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(7),e.Q6J("formGroup",n.consoleForm))},directives:[Ti,re._Y,re.JL,re.sg,Ln.KE,ir,re.Fj,re.JJ,re.u,En],styles:[".help[_ngcontent-%COMP%]{font-size:14px}"]}),r}(),Xq=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.httpClient=t}return(0,g.Z)(i,[{key:"getLatestVersion",value:function(){return this.httpClient.get("http://update.gns3.net/")}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(ic.eN))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),USe=function(){var r=function(){function i(t,n,a,o,s,l){(0,v.Z)(this,i),this.settingsService=t,this.toaster=n,this.consoleService=a,this.themeService=o,this.mapSettingsService=s,this.updatesService=l}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){this.settings=this.settingsService.getAll(),this.consoleCommand=this.consoleService.command,this.integrateLinksLabelsToLinks=this.mapSettingsService.integrateLinkLabelsToLinks,this.openConsolesInWidget=this.mapSettingsService.openConsolesInWidget}},{key:"save",value:function(){this.settingsService.setAll(this.settings),this.toaster.success("Settings have been saved."),this.mapSettingsService.toggleIntegrateInterfaceLabels(this.integrateLinksLabelsToLinks),this.mapSettingsService.toggleOpenConsolesInWidget(this.openConsolesInWidget)}},{key:"setDarkMode",value:function(n){this.themeService.setDarkMode(n)}},{key:"checkForUpdates",value:function(){window.open("https://gns3.com/software")}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(wp.g),e.Y36(Yn),e.Y36(bL),e.Y36(Ru.f),e.Y36(Nu),e.Y36(Xq))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-settings"]],decls:60,vars:9,consts:[[1,"content"],[1,"default-header"],[1,"default-content"],[1,"container","mat-elevation-z8"],[3,"expanded"],[3,"ngModel","ngModelChange"],[1,"full-width-field"],["matInput","","placeholder","console","readonly","true",3,"value"],["mat-icon-button","","matSuffix","","routerLink","/settings/console"],[1,"theme-panel"],["mat-raised-button","",3,"click"],["mat-raised-button","",1,"fullWidth",3,"click"],[1,"buttons-bar"],["mat-raised-button","","color","primary",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"h1"),e._uU(3,"Settings"),e.qZA(),e.qZA(),e.TgZ(4,"div",2),e.TgZ(5,"div",3),e.TgZ(6,"mat-accordion"),e.TgZ(7,"mat-expansion-panel",4),e.TgZ(8,"mat-expansion-panel-header"),e.TgZ(9,"mat-panel-title"),e._uU(10," Local settings "),e.qZA(),e.TgZ(11,"mat-panel-description"),e._uU(12," Customize your local settings "),e.qZA(),e.qZA(),e.TgZ(13,"div"),e.TgZ(14,"mat-checkbox",5),e.NdJ("ngModelChange",function(o){return n.settings.crash_reports=o}),e._uU(15,"Send anonymous crash reports"),e.qZA(),e._UZ(16,"br"),e.TgZ(17,"mat-checkbox",5),e.NdJ("ngModelChange",function(o){return n.settings.anonymous_statistics=o}),e._uU(18,"Send anonymous usage statistics"),e.qZA(),e._UZ(19,"br"),e.TgZ(20,"mat-checkbox",5),e.NdJ("ngModelChange",function(o){return n.integrateLinksLabelsToLinks=o}),e._uU(21,"Integrate link labels to links"),e.qZA(),e._UZ(22,"br"),e.TgZ(23,"mat-checkbox",5),e.NdJ("ngModelChange",function(o){return n.openConsolesInWidget=o}),e._uU(24,"Open consoles in the widget instead of in new tabs after clicking start consoles for all nodes"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(25,"mat-expansion-panel",4),e.TgZ(26,"mat-expansion-panel-header"),e.TgZ(27,"mat-panel-title"),e._uU(28," Console settings "),e.qZA(),e.TgZ(29,"mat-panel-description"),e._uU(30," Customize console settings "),e.qZA(),e.qZA(),e.TgZ(31,"div"),e.TgZ(32,"mat-form-field",6),e._UZ(33,"input",7),e.TgZ(34,"a",8),e.TgZ(35,"mat-icon"),e._uU(36,"mode_edit"),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(37,"mat-expansion-panel",4),e.TgZ(38,"mat-expansion-panel-header"),e.TgZ(39,"mat-panel-title"),e._uU(40," Theme settings "),e.qZA(),e.TgZ(41,"mat-panel-description"),e._uU(42," Customize theme settings "),e.qZA(),e.qZA(),e.TgZ(43,"div",9),e.TgZ(44,"button",10),e.NdJ("click",function(){return n.setDarkMode(!1)}),e._uU(45,"Switch to light theme"),e.qZA(),e.TgZ(46,"button",10),e.NdJ("click",function(){return n.setDarkMode(!0)}),e._uU(47,"Switch to dark theme"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(48,"mat-expansion-panel",4),e.TgZ(49,"mat-expansion-panel-header"),e.TgZ(50,"mat-panel-title"),e._uU(51," Updates "),e.qZA(),e.TgZ(52,"mat-panel-description"),e._uU(53," Check for updates "),e.qZA(),e.qZA(),e.TgZ(54,"div",9),e.TgZ(55,"button",11),e.NdJ("click",function(){return n.checkForUpdates()}),e._uU(56,"Check for updates"),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(57,"div",12),e.TgZ(58,"button",13),e.NdJ("click",function(){return n.save()}),e._uU(59,"Save settings"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(7),e.Q6J("expanded",!0),e.xp6(7),e.Q6J("ngModel",n.settings.crash_reports),e.xp6(3),e.Q6J("ngModel",n.settings.anonymous_statistics),e.xp6(3),e.Q6J("ngModel",n.integrateLinksLabelsToLinks),e.xp6(3),e.Q6J("ngModel",n.openConsolesInWidget),e.xp6(2),e.Q6J("expanded",!1),e.xp6(8),e.Q6J("value",n.consoleCommand),e.xp6(4),e.Q6J("expanded",!1),e.xp6(11),e.Q6J("expanded",!1))},directives:[dd,_c,yc,cd,rse,La,re.JJ,re.On,Ln.KE,ir,Yae,W_,Ln.R9,er,En],styles:[".theme-panel[_ngcontent-%COMP%]{justify-content:space-between;display:flex;padding:10px}.fullWidth[_ngcontent-%COMP%]{width:100%}"]}),r}(),HSe=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"transform",value:function(n,a){return n?a?(a=a.toLowerCase(),n.filter(function(o){return o.name.toLowerCase().includes(a)})):n:[]}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275pipe=e.Yjl({name:"namefilter",type:r,pure:!0}),r}(),VSe=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"transform",value:function(n){var a=new Date(1e3*+n),o=a.getHours(),s="0"+a.getMinutes(),l="0"+a.getSeconds(),d=a.getFullYear(),h=a.getMonth()+1,C=a.getDate();return o+":"+s.substr(-2)+":"+l.substr(-2)+" "+C+"/"+h+"/"+d}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275pipe=e.Yjl({name:"datefilter",type:r,pure:!0}),r}();function jSe(r,i){1&r&&(e.TgZ(0,"mat-header-cell",18),e._uU(1," Name "),e.qZA())}function qSe(r,i){if(1&r&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.hij(" ",t.name," ")}}function zSe(r,i){1&r&&(e.TgZ(0,"mat-header-cell",18),e._uU(1," Date "),e.qZA())}function WSe(r,i){if(1&r&&(e.TgZ(0,"mat-cell"),e._uU(1),e.ALo(2,"datefilter"),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,t.created_at)," ")}}function GSe(r,i){1&r&&(e.TgZ(0,"mat-header-cell"),e._uU(1," Actions "),e.qZA())}function YSe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"mat-cell",19),e.TgZ(1,"button",20),e.NdJ("click",function(){var o=e.CHM(t).$implicit;return e.oxw().restoreSnapshot(o)}),e.TgZ(2,"mat-icon",21),e._uU(3,"restore"),e.qZA(),e.qZA(),e.TgZ(4,"button",22),e.NdJ("click",function(){var o=e.CHM(t).$implicit;return e.oxw().deleteSnapshot(o)}),e.TgZ(5,"mat-icon",23),e._uU(6,"delete"),e.qZA(),e.qZA(),e.qZA()}}function JSe(r,i){1&r&&e._UZ(0,"mat-header-row")}function QSe(r,i){1&r&&e._UZ(0,"mat-row")}var KSe=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this.route=t,this.snapshotService=n,this.progressDialogService=a,this.toaster=o,this.displayedColumns=["name","creationDate","actions"]}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){this.projectId=this.route.snapshot.paramMap.get("project_id"),this.server=this.route.snapshot.data.server,this.getSnapshots()}},{key:"getSnapshots",value:function(){var n=this;this.snapshotService.list(this.server,this.projectId).subscribe(function(a){n.snapshots=a})}},{key:"restoreSnapshot",value:function(n){var a=this,o=this.snapshotService.restore(this.server,this.projectId,n.snapshot_id.toString()),s=this.progressDialogService.open(),l=o.subscribe(function(d){a.toaster.success("Snapshot ".concat(n.name," has been restored.")),s.close()});s.afterClosed().subscribe(function(d){d===vL.CANCELLED&&l.unsubscribe()})}},{key:"deleteSnapshot",value:function(n){var a=this;this.snapshotService.delete(this.server,this.projectId,n.snapshot_id.toString()).subscribe(function(){a.getSnapshots(),a.toaster.success("Snapshot ".concat(n.name," has been deleted."))})}},{key:"sortData",value:function(n){if(n.active&&""!==n.direction){var a=this.snapshots.slice();this.snapshots=a.sort(function(o,s){var l="asc"===n.direction;return"name"===n.active?function(r,i,t){return((r=r.toLowerCase())<(i=i.toLowerCase())?-1:1)*(t?1:-1)}(o.name,s.name,l):"creationDate"===n.active?function(r,i,t){return(r<i?-1:1)*(t?1:-1)}(+o.created_at,+s.created_at,!l):0})}}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(m2),e.Y36(gL),e.Y36(Yn))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-list-of-snapshots"]],decls:23,vars:7,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[1,"filter-field"],["matInput","","placeholder","Filter",3,"ngModel","ngModelChange"],["matSort","",1,"mat-table",3,"dataSource","matSortChange"],["table",""],["matColumnDef","name"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","creationDate"],["matColumnDef","actions"],[4,"matHeaderCellDef"],["style","text-align: right",4,"matCellDef"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],["mat-sort-header",""],[2,"text-align","right"],["mat-icon-button","","matTooltip","Restore snapshot","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Restore snapshot"],["mat-icon-button","","matTooltip","Delete snapshot","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Delete snapshot"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Snapshots"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"mat-card"),e.TgZ(7,"mat-form-field",5),e.TgZ(8,"input",6),e.NdJ("ngModelChange",function(o){return n.searchText=o}),e.qZA(),e.qZA(),e.TgZ(9,"mat-table",7,8),e.NdJ("matSortChange",function(o){return n.sortData(o)}),e.ALo(11,"namefilter"),e.ynx(12,9),e.YNc(13,jSe,2,0,"mat-header-cell",10),e.YNc(14,qSe,2,1,"mat-cell",11),e.BQk(),e.ynx(15,12),e.YNc(16,zSe,2,0,"mat-header-cell",10),e.YNc(17,WSe,3,3,"mat-cell",11),e.BQk(),e.ynx(18,13),e.YNc(19,GSe,2,0,"mat-header-cell",14),e.YNc(20,YSe,7,0,"mat-cell",15),e.BQk(),e.YNc(21,JSe,1,0,"mat-header-row",16),e.YNc(22,QSe,1,0,"mat-row",17),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(8),e.Q6J("ngModel",n.searchText),e.xp6(1),e.Q6J("dataSource",e.xi3(11,4,n.snapshots,n.searchText)),e.xp6(12),e.Q6J("matHeaderRowDef",n.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",n.displayedColumns))},directives:[Ti,Ln.KE,ir,re.Fj,re.JJ,re.On,nu,cS,kl,Tl,Sl,ru,iu,wl,Sq,xl,En,ts,er,au,ou],pipes:[HSe,VSe],styles:[".filter-field[_ngcontent-%COMP%]{width:100%}.mat-table[_ngcontent-%COMP%]{margin:-16px!important}"]}),r}(),eTe=["*"],$q=new e.OlP("MatChipRemove"),ez=new e.OlP("MatChipAvatar"),tz=new e.OlP("MatChipTrailingIcon"),tTe=function r(i){(0,v.Z)(this,r),this._elementRef=i},nTe=(0,sn.sb)((0,sn.pj)((0,sn.Kr)(tTe),"primary"),-1),_2=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o,s,l,d,h,C,P){var N;return(0,v.Z)(this,n),(N=t.call(this,a))._ngZone=o,N._changeDetectorRef=d,N._hasFocus=!1,N.chipListSelectable=!0,N._chipListMultiple=!1,N._chipListDisabled=!1,N._selected=!1,N._selectable=!0,N._disabled=!1,N._removable=!0,N._onFocus=new Un.xQ,N._onBlur=new Un.xQ,N.selectionChange=new e.vpe,N.destroyed=new e.vpe,N.removed=new e.vpe,N._addHostClassName(),N._chipRippleTarget=h.createElement("div"),N._chipRippleTarget.classList.add("mat-chip-ripple"),N._elementRef.nativeElement.appendChild(N._chipRippleTarget),N._chipRipple=new sn.IR((0,I1.Z)(N),o,N._chipRippleTarget,s),N._chipRipple.setupTriggerEvents(a),N.rippleConfig=l||{},N._animationsDisabled="NoopAnimations"===C,N.tabIndex=null!=P&&parseInt(P)||-1,N}return(0,g.Z)(n,[{key:"rippleDisabled",get:function(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}},{key:"selected",get:function(){return this._selected},set:function(o){var s=(0,Hn.Ig)(o);s!==this._selected&&(this._selected=s,this._dispatchSelectionChange())}},{key:"value",get:function(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent},set:function(o){this._value=o}},{key:"selectable",get:function(){return this._selectable&&this.chipListSelectable},set:function(o){this._selectable=(0,Hn.Ig)(o)}},{key:"disabled",get:function(){return this._chipListDisabled||this._disabled},set:function(o){this._disabled=(0,Hn.Ig)(o)}},{key:"removable",get:function(){return this._removable},set:function(o){this._removable=(0,Hn.Ig)(o)}},{key:"ariaSelected",get:function(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}},{key:"_addHostClassName",value:function(){var o="mat-basic-chip",s=this._elementRef.nativeElement;s.hasAttribute(o)||s.tagName.toLowerCase()===o?s.classList.add(o):s.classList.add("mat-standard-chip")}},{key:"ngOnDestroy",value:function(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}},{key:"selectViaInteraction",value:function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}},{key:"toggleSelected",value:function(){var o=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this._selected=!this.selected,this._dispatchSelectionChange(o),this._changeDetectorRef.markForCheck(),this.selected}},{key:"focus",value:function(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}},{key:"remove",value:function(){this.removable&&this.removed.emit({chip:this})}},{key:"_handleClick",value:function(o){this.disabled?o.preventDefault():o.stopPropagation()}},{key:"_handleKeydown",value:function(o){if(!this.disabled)switch(o.keyCode){case ui.yY:case ui.ZH:this.remove(),o.preventDefault();break;case ui.L_:this.selectable&&this.toggleSelected(!0),o.preventDefault()}}},{key:"_blur",value:function(){var o=this;this._ngZone.onStable.pipe((0,Ea.q)(1)).subscribe(function(){o._ngZone.run(function(){o._hasFocus=!1,o._onBlur.next({chip:o})})})}},{key:"_dispatchSelectionChange",value:function(){var o=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.selectionChange.emit({source:this,isUserInput:o,selected:this._selected})}}]),n}(nTe);return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(vi.t4),e.Y36(sn.Y2,8),e.Y36(e.sBO),e.Y36(Pt.K0),e.Y36(Js.Qb,8),e.$8M("tabindex"))},r.\u0275dir=e.lG2({type:r,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,n,a){var o;1&t&&(e.Suo(a,ez,5),e.Suo(a,tz,5),e.Suo(a,$q,5)),2&t&&(e.iGM(o=e.CRH())&&(n.avatar=o.first),e.iGM(o=e.CRH())&&(n.trailingIcon=o.first),e.iGM(o=e.CRH())&&(n.removeIcon=o.first))},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(t,n){1&t&&e.NdJ("click",function(o){return n._handleClick(o)})("keydown",function(o){return n._handleKeydown(o)})("focus",function(){return n.focus()})("blur",function(){return n._blur()}),2&t&&(e.uIk("tabindex",n.disabled?null:n.tabIndex)("disabled",n.disabled||null)("aria-disabled",n.disabled.toString())("aria-selected",n.ariaSelected),e.ekj("mat-chip-selected",n.selected)("mat-chip-with-avatar",n.avatar)("mat-chip-with-trailing-icon",n.trailingIcon||n.removeIcon)("mat-chip-disabled",n.disabled)("_mat-animation-noopable",n._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[e.qOj]}),r}(),nz=new e.OlP("mat-chips-default-options"),oTe=(0,sn.FD)(function(){return function r(i,t,n,a){(0,v.Z)(this,r),this._defaultErrorStateMatcher=i,this._parentForm=t,this._parentFormGroup=n,this.ngControl=a}}()),sTe=0,lTe=function r(i,t){(0,v.Z)(this,r),this.source=i,this.value=t},rz=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o,s,l,d,h,C){var P;return(0,v.Z)(this,n),(P=t.call(this,h,l,d,C))._elementRef=a,P._changeDetectorRef=o,P._dir=s,P.controlType="mat-chip-list",P._lastDestroyedChipIndex=null,P._destroyed=new Un.xQ,P._uid="mat-chip-list-".concat(sTe++),P._tabIndex=0,P._userTabIndex=null,P._onTouched=function(){},P._onChange=function(){},P._multiple=!1,P._compareWith=function(N,q){return N===q},P._disabled=!1,P.ariaOrientation="horizontal",P._selectable=!0,P.change=new e.vpe,P.valueChange=new e.vpe,P.ngControl&&(P.ngControl.valueAccessor=(0,I1.Z)(P)),P}return(0,g.Z)(n,[{key:"selected",get:function(){var o,s;return this.multiple?(null===(o=this._selectionModel)||void 0===o?void 0:o.selected)||[]:null===(s=this._selectionModel)||void 0===s?void 0:s.selected[0]}},{key:"role",get:function(){return this.empty?null:"listbox"}},{key:"multiple",get:function(){return this._multiple},set:function(o){this._multiple=(0,Hn.Ig)(o),this._syncChipsState()}},{key:"compareWith",get:function(){return this._compareWith},set:function(o){this._compareWith=o,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(o){this.writeValue(o),this._value=o}},{key:"id",get:function(){return this._chipInput?this._chipInput.id:this._uid}},{key:"required",get:function(){var o,s,l,d;return null!==(o=null!==(s=this._required)&&void 0!==s?s:null===(l=this.ngControl)||void 0===l||null===(d=l.control)||void 0===d?void 0:d.hasValidator(re.kI.required))&&void 0!==o&&o},set:function(o){this._required=(0,Hn.Ig)(o),this.stateChanges.next()}},{key:"placeholder",get:function(){return this._chipInput?this._chipInput.placeholder:this._placeholder},set:function(o){this._placeholder=o,this.stateChanges.next()}},{key:"focused",get:function(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}},{key:"empty",get:function(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}},{key:"shouldLabelFloat",get:function(){return!this.empty||this.focused}},{key:"disabled",get:function(){return this.ngControl?!!this.ngControl.disabled:this._disabled},set:function(o){this._disabled=(0,Hn.Ig)(o),this._syncChipsState()}},{key:"selectable",get:function(){return this._selectable},set:function(o){var s=this;this._selectable=(0,Hn.Ig)(o),this.chips&&this.chips.forEach(function(l){return l.chipListSelectable=s._selectable})}},{key:"tabIndex",set:function(o){this._userTabIndex=o,this._tabIndex=o}},{key:"chipSelectionChanges",get:function(){return Ra.T.apply(void 0,(0,T.Z)(this.chips.map(function(o){return o.selectionChange})))}},{key:"chipFocusChanges",get:function(){return Ra.T.apply(void 0,(0,T.Z)(this.chips.map(function(o){return o._onFocus})))}},{key:"chipBlurChanges",get:function(){return Ra.T.apply(void 0,(0,T.Z)(this.chips.map(function(o){return o._onBlur})))}},{key:"chipRemoveChanges",get:function(){return Ra.T.apply(void 0,(0,T.Z)(this.chips.map(function(o){return o.destroyed})))}},{key:"ngAfterContentInit",value:function(){var o=this;this._keyManager=new Gi.Em(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe((0,Ai.R)(this._destroyed)).subscribe(function(s){return o._keyManager.withHorizontalOrientation(s)}),this._keyManager.tabOut.pipe((0,Ai.R)(this._destroyed)).subscribe(function(){o._allowFocusEscape()}),this.chips.changes.pipe((0,$o.O)(null),(0,Ai.R)(this._destroyed)).subscribe(function(){o.disabled&&Promise.resolve().then(function(){o._syncChipsState()}),o._resetChips(),o._initializeSelection(),o._updateTabIndex(),o._updateFocusForDestroyedChips(),o.stateChanges.next()})}},{key:"ngOnInit",value:function(){this._selectionModel=new ma.Ov(this.multiple,void 0,!1),this.stateChanges.next()}},{key:"ngDoCheck",value:function(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}},{key:"registerInput",value:function(o){this._chipInput=o,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",o.id)}},{key:"setDescribedByIds",value:function(o){this._ariaDescribedby=o.join(" ")}},{key:"writeValue",value:function(o){this.chips&&this._setSelectionByValue(o,!1)}},{key:"registerOnChange",value:function(o){this._onChange=o}},{key:"registerOnTouched",value:function(o){this._onTouched=o}},{key:"setDisabledState",value:function(o){this.disabled=o,this.stateChanges.next()}},{key:"onContainerClick",value:function(o){this._originatesFromChip(o)||this.focus()}},{key:"focus",value:function(o){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(o),this.stateChanges.next()))}},{key:"_focusInput",value:function(o){this._chipInput&&this._chipInput.focus(o)}},{key:"_keydown",value:function(o){var s=o.target;s&&s.classList.contains("mat-chip")&&(this._keyManager.onKeydown(o),this.stateChanges.next())}},{key:"_updateTabIndex",value:function(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}},{key:"_updateFocusForDestroyedChips",value:function(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){var o=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(o)}else this.focus();this._lastDestroyedChipIndex=null}},{key:"_isValidIndex",value:function(o){return o>=0&&o<this.chips.length}},{key:"_setSelectionByValue",value:function(o){var s=this,l=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this._clearSelection(),this.chips.forEach(function(h){return h.deselect()}),Array.isArray(o))o.forEach(function(h){return s._selectValue(h,l)}),this._sortValues();else{var d=this._selectValue(o,l);d&&l&&this._keyManager.setActiveItem(d)}}},{key:"_selectValue",value:function(o){var s=this,l=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],d=this.chips.find(function(h){return null!=h.value&&s._compareWith(h.value,o)});return d&&(l?d.selectViaInteraction():d.select(),this._selectionModel.select(d)),d}},{key:"_initializeSelection",value:function(){var o=this;Promise.resolve().then(function(){(o.ngControl||o._value)&&(o._setSelectionByValue(o.ngControl?o.ngControl.value:o._value,!1),o.stateChanges.next())})}},{key:"_clearSelection",value:function(o){this._selectionModel.clear(),this.chips.forEach(function(s){s!==o&&s.deselect()}),this.stateChanges.next()}},{key:"_sortValues",value:function(){var o=this;this._multiple&&(this._selectionModel.clear(),this.chips.forEach(function(s){s.selected&&o._selectionModel.select(s)}),this.stateChanges.next())}},{key:"_propagateChanges",value:function(o){var s;s=Array.isArray(this.selected)?this.selected.map(function(l){return l.value}):this.selected?this.selected.value:o,this._value=s,this.change.emit(new lTe(this,s)),this.valueChange.emit(s),this._onChange(s),this._changeDetectorRef.markForCheck()}},{key:"_blur",value:function(){var o=this;this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(function(){o.focused||o._markAsTouched()}):this._markAsTouched())}},{key:"_markAsTouched",value:function(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"_allowFocusEscape",value:function(){var o=this;-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(function(){o._tabIndex=o._userTabIndex||0,o._changeDetectorRef.markForCheck()}))}},{key:"_resetChips",value:function(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}},{key:"_dropSubscriptions",value:function(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}},{key:"_listenToChipsSelection",value:function(){var o=this;this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(function(s){s.source.selected?o._selectionModel.select(s.source):o._selectionModel.deselect(s.source),o.multiple||o.chips.forEach(function(l){!o._selectionModel.isSelected(l)&&l.selected&&l.deselect()}),s.isUserInput&&o._propagateChanges()})}},{key:"_listenToChipsFocus",value:function(){var o=this;this._chipFocusSubscription=this.chipFocusChanges.subscribe(function(s){var l=o.chips.toArray().indexOf(s.chip);o._isValidIndex(l)&&o._keyManager.updateActiveItem(l),o.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(function(){o._blur(),o.stateChanges.next()})}},{key:"_listenToChipsRemoved",value:function(){var o=this;this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(function(s){var l=s.chip,d=o.chips.toArray().indexOf(s.chip);o._isValidIndex(d)&&l._hasFocus&&(o._lastDestroyedChipIndex=d)})}},{key:"_originatesFromChip",value:function(o){for(var s=o.target;s&&s!==this._elementRef.nativeElement;){if(s.classList.contains("mat-chip"))return!0;s=s.parentElement}return!1}},{key:"_hasFocusedChip",value:function(){return this.chips&&this.chips.some(function(o){return o._hasFocus})}},{key:"_syncChipsState",value:function(){var o=this;this.chips&&this.chips.forEach(function(s){s._chipListDisabled=o._disabled,s._chipListMultiple=o.multiple})}}]),n}(oTe);return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(Ms.Is,8),e.Y36(re.F,8),e.Y36(re.sg,8),e.Y36(sn.rD),e.Y36(re.a5,10))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-chip-list"]],contentQueries:function(t,n,a){var o;1&t&&e.Suo(a,_2,5),2&t&&e.iGM(o=e.CRH())&&(n.chips=o)},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(t,n){1&t&&e.NdJ("focus",function(){return n.focus()})("blur",function(){return n._blur()})("keydown",function(o){return n._keydown(o)}),2&t&&(e.Ikx("id",n._uid),e.uIk("tabindex",n.disabled?null:n._tabIndex)("aria-describedby",n._ariaDescribedby||null)("aria-required",n.role?n.required:null)("aria-disabled",n.disabled.toString())("aria-invalid",n.errorState)("aria-multiselectable",n.multiple)("role",n.role)("aria-orientation",n.ariaOrientation),e.ekj("mat-chip-list-disabled",n.disabled)("mat-chip-list-invalid",n.errorState)("mat-chip-list-required",n.required))},inputs:{errorStateMatcher:"errorStateMatcher",multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",tabIndex:"tabIndex"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[e._Bn([{provide:Ln.Eo,useExisting:r}]),e.qOj],ngContentSelectors:eTe,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(t,n){1&t&&(e.F$t(),e.TgZ(0,"div",0),e.Hsn(1),e.qZA())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip:focus{outline:dotted 2px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),r}(),dTe=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[sn.rD,{provide:nz,useValue:{separatorKeyCodes:[ui.K5]}}],imports:[[sn.BQ]]}),r}(),pTe=function(){return["Load average","(last 1 minute)"]},fTe=function(){return["Load average","(last 5 minutes)"]},hTe=function(){return["Load average","(last 15 minutes)"]},mTe=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){}},{key:"formatBytes",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if(0===n)return"0 Bytes";var o=1024,s=a<0?0:a,l=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],d=Math.floor(Math.log(n)/Math.log(o));return parseFloat((n/Math.pow(o,d)).toFixed(s))+" "+l[d]}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-status-chart"]],inputs:{computeStatistics:"computeStatistics"},decls:30,vars:114,consts:[[1,"wrapper"],[3,"percent","radius","outerStrokeWidth","innerStrokeWidth","outerStrokeColor","innerStrokeColor","animation","animationDuration","unitsColor","unitsFontSize","titleColor","titleFontSize","subtitle","subtitleColor","subtitleFontSize"],[1,"chips-wrapper"],["color","primary","selected",""]],template:function(t,n){1&t&&(e.TgZ(0,"mat-card"),e.TgZ(1,"div",0),e._UZ(2,"circle-progress",1),e._UZ(3,"circle-progress",1),e._UZ(4,"circle-progress",1),e._UZ(5,"circle-progress",1),e.qZA(),e.TgZ(6,"div",0),e._UZ(7,"circle-progress",1),e._UZ(8,"circle-progress",1),e._UZ(9,"circle-progress",1),e.qZA(),e.TgZ(10,"div",2),e.TgZ(11,"mat-chip-list"),e.TgZ(12,"mat-chip",3),e._uU(13),e.qZA(),e.qZA(),e.TgZ(14,"mat-chip-list"),e.TgZ(15,"mat-chip",3),e._uU(16),e.qZA(),e.qZA(),e.TgZ(17,"mat-chip-list"),e.TgZ(18,"mat-chip",3),e._uU(19),e.qZA(),e.qZA(),e.qZA(),e.TgZ(20,"div",2),e.TgZ(21,"mat-chip-list"),e.TgZ(22,"mat-chip",3),e._uU(23),e.qZA(),e.qZA(),e.TgZ(24,"mat-chip-list"),e.TgZ(25,"mat-chip",3),e._uU(26),e.qZA(),e.qZA(),e.TgZ(27,"mat-chip-list"),e.TgZ(28,"mat-chip",3),e._uU(29),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(2),e.Q6J("percent",n.computeStatistics.statistics.cpu_usage_percent)("radius",100)("outerStrokeWidth",8)("innerStrokeWidth",6)("outerStrokeColor","#0097a7")("innerStrokeColor","#007380")("animation",!0)("animationDuration",300)("unitsColor","#C0C0C0")("unitsFontSize",20)("titleColor","#C0C0C0")("titleFontSize",30)("subtitle","CPU usage")("subtitleColor","#C0C0C0")("subtitleFontSize",15),e.xp6(1),e.Q6J("percent",n.computeStatistics.statistics.disk_usage_percent)("radius",100)("outerStrokeWidth",8)("innerStrokeWidth",6)("outerStrokeColor","#0097a7")("innerStrokeColor","#007380")("animation",!0)("animationDuration",300)("unitsColor","#C0C0C0")("unitsFontSize",20)("titleColor","#C0C0C0")("titleFontSize",30)("subtitle","Disk usage")("subtitleColor","#C0C0C0")("subtitleFontSize",15),e.xp6(1),e.Q6J("percent",n.computeStatistics.statistics.memory_usage_percent)("radius",100)("outerStrokeWidth",8)("innerStrokeWidth",6)("outerStrokeColor","#0097a7")("innerStrokeColor","#007380")("animation",!0)("animationDuration",300)("unitsColor","#C0C0C0")("unitsFontSize",20)("titleColor","#C0C0C0")("titleFontSize",30)("subtitle","Memory usage")("subtitleColor","#C0C0C0")("subtitleFontSize",15),e.xp6(1),e.Q6J("percent",n.computeStatistics.statistics.swap_usage_percent)("radius",100)("outerStrokeWidth",8)("innerStrokeWidth",6)("outerStrokeColor","#0097a7")("innerStrokeColor","#007380")("animation",!0)("animationDuration",300)("unitsColor","#C0C0C0")("unitsFontSize",20)("titleColor","#C0C0C0")("titleFontSize",30)("subtitle","SWAP usage")("subtitleColor","#C0C0C0")("subtitleFontSize",15),e.xp6(2),e.Q6J("percent",n.computeStatistics.statistics.load_average_percent[0])("radius",100)("outerStrokeWidth",8)("innerStrokeWidth",6)("outerStrokeColor","#0097a7")("innerStrokeColor","#007380")("animation",!0)("animationDuration",300)("unitsColor","#C0C0C0")("unitsFontSize",20)("titleColor","#C0C0C0")("titleFontSize",30)("subtitle",e.DdM(111,pTe))("subtitleColor","#C0C0C0")("subtitleFontSize",15),e.xp6(1),e.Q6J("percent",n.computeStatistics.statistics.load_average_percent[1])("radius",100)("outerStrokeWidth",8)("innerStrokeWidth",6)("outerStrokeColor","#0097a7")("innerStrokeColor","#007380")("animation",!0)("animationDuration",300)("unitsColor","#C0C0C0")("unitsFontSize",20)("titleColor","#C0C0C0")("titleFontSize",30)("subtitle",e.DdM(112,fTe))("subtitleColor","#C0C0C0")("subtitleFontSize",15),e.xp6(1),e.Q6J("percent",n.computeStatistics.statistics.load_average_percent[2])("radius",100)("outerStrokeWidth",8)("innerStrokeWidth",6)("outerStrokeColor","#0097a7")("innerStrokeColor","#007380")("animation",!0)("animationDuration",300)("unitsColor","#C0C0C0")("unitsFontSize",20)("titleColor","#C0C0C0")("titleFontSize",30)("subtitle",e.DdM(113,hTe))("subtitleColor","#C0C0C0")("subtitleFontSize",15),e.xp6(4),e.hij("Memory total: ",n.formatBytes(n.computeStatistics.statistics.memory_total),""),e.xp6(3),e.hij("Memory used: ",n.formatBytes(n.computeStatistics.statistics.memory_used),""),e.xp6(3),e.hij("Memory free: ",n.formatBytes(n.computeStatistics.statistics.memory_free),""),e.xp6(4),e.hij("Swap total: ",n.formatBytes(n.computeStatistics.statistics.swap_total),""),e.xp6(3),e.hij("Swap used: ",n.formatBytes(n.computeStatistics.statistics.swap_used),""),e.xp6(3),e.hij("Swap free: ",n.formatBytes(n.computeStatistics.statistics.swap_free),""))},directives:[Ti,ore,rz,_2],styles:[".wrapper[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between;max-height:250px!important}.chips-wrapper[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between;margin-bottom:10px}"]}),r}();function vTe(r,i){1&r&&(e.TgZ(0,"div"),e._uU(1,"Statistics not loaded"),e.qZA())}function gTe(r,i){if(1&r&&(e.TgZ(0,"div"),e._uU(1),e._UZ(2,"app-status-chart",2),e.qZA()),2&r){var t=i.$implicit;e.xp6(1),e.hij(" ",t.compute_name," "),e.xp6(1),e.Q6J("computeStatistics",t)}}var _Te=function(){var r=function(){function i(t,n,a,o){(0,v.Z)(this,i),this.route=t,this.computeService=n,this.serverService=a,this.toasterService=o,this.serverId="",this.computeStatistics=[]}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){this.serverId=this.route.snapshot.paramMap.get("server_id"),this.getStatistics()}},{key:"getStatistics",value:function(){var n=this;this.serverService.get(Number(this.serverId)).then(function(a){n.computeService.getStatistics(a).subscribe(function(o){n.computeStatistics=o,setTimeout(function(){n.getStatistics()},2e4)})})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or),e.Y36(Cc.X),e.Y36(Vr),e.Y36(Yn))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-status-info"]],decls:2,vars:2,consts:[[4,"ngIf"],[4,"ngFor","ngForOf"],[3,"computeStatistics"]],template:function(t,n){1&t&&(e.YNc(0,vTe,2,0,"div",0),e.YNc(1,gTe,3,2,"div",1)),2&t&&(e.Q6J("ngIf",!n.computeStatistics.length),e.xp6(1),e.Q6J("ngForOf",n.computeStatistics))},directives:[Pt.O5,Pt.sg,mTe],styles:[""]}),r}(),yTe=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.route=t,this.serverId=""}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){this.serverId=this.route.snapshot.paramMap.get("server_id")}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Or))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-system-status"]],decls:7,vars:0,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"System status"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e._UZ(6,"app-status-info"),e.qZA(),e.qZA())},directives:[_Te],styles:[""]}),r}(),bTe=["terminal"],iz=function(){var r=function(){function i(t,n,a,o,s){(0,v.Z)(this,i),this.consoleService=t,this.serverService=n,this.route=a,this.title=o,this.nodeService=s,this.subscriptions=new Lo.w,this.term=new Wq.Terminal,this.fitAddon=new Yq.FitAddon}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.serverService.isServiceInitialized?this.getData():this.subscriptions.add(this.serverService.serviceInitialized.subscribe(function(a){a&&n.getData()}))}},{key:"getData",value:function(){var n=this;this.serverId=this.route.snapshot.paramMap.get("server_id"),this.projectId=this.route.snapshot.paramMap.get("project_id"),this.nodeId=this.route.snapshot.paramMap.get("node_id"),this.consoleService.consoleResized.subscribe(function(a){n.fitAddon.fit()}),this.serverService.get(+this.serverId).then(function(a){n.server=a,n.nodeService.getNodeById(n.server,n.projectId,n.nodeId).subscribe(function(o){n.node=o,n.title.setTitle(n.node.name),n.openTerminal()})})}},{key:"openTerminal",value:function(){var n=this;setTimeout(function(){n.term.open(n.terminal.nativeElement);var a=new WebSocket(n.consoleService.getUrl(n.server,n.node));a.onerror=function(d){n.term.write("Connection lost\r\n")},a.onclose=function(d){n.term.write("Connection closed\r\n")};var o=new Gq.AttachAddon(a);n.term.loadAddon(o),n.term.setOption("cursorBlink",!0),n.term.loadAddon(n.fitAddon),n.fitAddon.activate(n.term),n.fitAddon.fit(),n.term.focus(),n.term.attachCustomKeyEventHandler(function(d){return!(("KeyC"===d.code||"KeyV"===d.code)&&d.ctrlKey&&d.shiftKey)});var s=Math.round(window.innerWidth/n.consoleService.getLineWidth()),l=Math.round(window.innerHeight/n.consoleService.getLineHeight());n.term.resize(s,l)},0)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(gd),e.Y36(Vr),e.Y36(Or),e.Y36(U.Dx),e.Y36(Yr))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-web-console-full-window"]],viewQuery:function(t,n){var a;1&t&&e.Gf(bTe,5),2&t&&e.iGM(a=e.CRH())&&(n.terminal=a.first)},decls:2,vars:0,consts:[["id","terminal",2,"width","100%","height","100%"],["terminal",""]],template:function(t,n){1&t&&e._UZ(0,"div",0,1)},styles:['/**\n * Copyright (c) 2014 The xterm.js authors. All rights reserved.\n * Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)\n * https://github.com/chjj/term.js\n * @license MIT\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *\n * Originally forked from (with the author\'s permission):\n *   Fabrice Bellard\'s javascript vt100 for jslinux:\n *   http://bellard.org/jslinux/\n *   Copyright (c) 2011 Fabrice Bellard\n *   The original design remains. The terminal itself\n *   has been extended to include xterm CSI codes, among\n *   other features.\n */.xterm{position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm{cursor:text}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility,.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:.5}.xterm-underline{text-decoration:underline}.xterm-strikethrough{text-decoration:line-through}\n'],encapsulation:2}),r}(),az=function(){var r=function(){function i(t,n){(0,v.Z)(this,i),this.consoleService=t,this.bottomSheet=n}return(0,g.Z)(i,[{key:"canDeactivate",value:function(){if(this.consoleService.openConsoles>0){this.bottomSheet.open(Xf);var n=this.bottomSheet._openedBottomSheetRef;return n.instance.message="Exiting the project will close open consoles, do you want to continue?",n.afterDismissed()}return!0}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(gd),e.LFG(uS))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),CTe=["*",[["mat-toolbar-row"]]],STe=["*","mat-toolbar-row"],TTe=(0,sn.pj)(function(){return function r(i){(0,v.Z)(this,r),this._elementRef=i}}()),kTe=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275dir=e.lG2({type:r,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),r}(),wTe=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(a,o,s){var l;return(0,v.Z)(this,n),(l=t.call(this,a))._platform=o,l._document=s,l}return(0,g.Z)(n,[{key:"ngAfterViewInit",value:function(){var o=this;this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(function(){return o._checkToolbarMixedModes()}))}},{key:"_checkToolbarMixedModes",value:function(){}}]),n}(TTe);return r.\u0275fac=function(t){return new(t||r)(e.Y36(e.SBq),e.Y36(vi.t4),e.Y36(Pt.K0))},r.\u0275cmp=e.Xpm({type:r,selectors:[["mat-toolbar"]],contentQueries:function(t,n,a){var o;1&t&&e.Suo(a,kTe,5),2&t&&e.iGM(o=e.CRH())&&(n._toolbarRows=o)},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(t,n){2&t&&e.ekj("mat-toolbar-multiple-rows",n._toolbarRows.length>0)("mat-toolbar-single-row",0===n._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[e.qOj],ngContentSelectors:STe,decls:2,vars:0,template:function(t,n){1&t&&(e.F$t(CTe),e.Hsn(0),e.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.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}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),r}(),xTe=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[[sn.BQ],sn.BQ]}),r}();function ETe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"button",13),e.NdJ("click",function(){return e.CHM(t),e.oxw().listProjects()}),e._uU(1," Projects "),e.qZA()}}function MTe(r,i){if(1&r){var t=e.EpF();e.TgZ(0,"button",13),e.NdJ("click",function(){return e.CHM(t),e.oxw().backToProject()}),e._uU(1," Back to project "),e.qZA()}}var ATe=function(){var r=function(){function i(t,n,a,o,s,l){(0,v.Z)(this,i),this.electronService=t,this.recentlyOpenedProjectService=n,this.serverManagement=a,this.toasterService=o,this.progressService=s,this.router=l,this.isInstalledSoftwareAvailable=!1,this.uiVersion=qq,this.shouldStopServersOnClosing=!0}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.recentlyOpenedServerId=this.recentlyOpenedProjectService.getServerId(),this.recentlyOpenedProjectId=this.recentlyOpenedProjectService.getProjectId(),this.serverIdProjectList=this.recentlyOpenedProjectService.getServerIdProjectList(),this.isInstalledSoftwareAvailable=this.electronService.isElectronApp,this.serverStatusSubscription=this.serverManagement.serverStatusChanged.subscribe(function(a){"errored"===a.status&&(console.error(a.message),n.toasterService.error(a.message)),"stderr"===a.status&&(console.error(a.message),n.toasterService.error(a.message))}),this.shouldStopServersOnClosing=this.electronService.isElectronApp}},{key:"listProjects",value:function(){var n=this;this.router.navigate(["/server",this.serverIdProjectList,"projects"]).catch(function(a){return n.toasterService.error("Cannot list projects")})}},{key:"backToProject",value:function(){var n=this;this.router.navigate(["/server",this.recentlyOpenedServerId,"project",this.recentlyOpenedProjectId]).catch(function(a){return n.toasterService.error("Cannot navigate to the last opened project")})}},{key:"onBeforeUnload",value:function(n){return(0,Sa.mG)(this,void 0,void 0,k().mark(function a(){return k().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(this.shouldStopServersOnClosing){s.next=2;break}return s.abrupt("return");case 2:return n.preventDefault(),n.returnValue=!1,this.progressService.activate(),s.next=7,this.serverManagement.stopAll();case 7:return this.shouldStopServersOnClosing=!1,this.progressService.deactivate(),window.close(),s.abrupt("return",!1);case 11:case"end":return s.stop()}},a,this)}))}},{key:"ngOnDestroy",value:function(){this.serverStatusSubscription.unsubscribe()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(gs),e.Y36(f2.p),e.Y36(_L),e.Y36(Yn),e.Y36(zf),e.Y36(xr))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-default-layout"]],hostBindings:function(t,n){1&t&&e.NdJ("beforeunload",function(o){return n.onBeforeUnload(o)},!1,e.Jf7)},decls:34,vars:5,consts:[["color","primary"],["mat-icon-button",""],["svgIcon","gns3"],["mat-button","","routerLink","/servers"],["mat-button","",3,"click",4,"ngIf"],[1,"fill-space"],["mat-button","",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","","routerLink","/settings"],["mat-menu-item","","routerLink","/installed-software",3,"disabled"],["mat-menu-item","","routerLink","/help"],[1,"mat-app-background"],[1,"footer","mat-app-background"],["mat-button","",3,"click"]],template:function(t,n){if(1&t&&(e.TgZ(0,"header"),e.TgZ(1,"mat-toolbar",0),e.TgZ(2,"button",1),e._UZ(3,"mat-icon",2),e.qZA(),e.TgZ(4,"button",3),e._uU(5,"Servers"),e.qZA(),e.YNc(6,ETe,2,0,"button",4),e.YNc(7,MTe,2,0,"button",4),e._UZ(8,"span",5),e.TgZ(9,"button",6),e.TgZ(10,"mat-icon"),e._uU(11,"more_vert"),e.qZA(),e.qZA(),e.TgZ(12,"mat-menu",null,7),e.TgZ(14,"button",8),e.TgZ(15,"mat-icon"),e._uU(16,"settings"),e.qZA(),e.TgZ(17,"span"),e._uU(18,"Settings"),e.qZA(),e.qZA(),e.TgZ(19,"button",9),e.TgZ(20,"mat-icon"),e._uU(21,"cloud_download"),e.qZA(),e.TgZ(22,"span"),e._uU(23,"Installed software"),e.qZA(),e.qZA(),e.TgZ(24,"button",10),e.TgZ(25,"mat-icon"),e._uU(26,"help"),e.qZA(),e.TgZ(27,"span"),e._uU(28,"Help"),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(29,"main",11),e._UZ(30,"router-outlet"),e.qZA(),e._UZ(31,"app-progress"),e.TgZ(32,"footer",12),e._uU(33),e.qZA()),2&t){var a=e.MAs(13);e.xp6(6),e.Q6J("ngIf",!n.recentlyOpenedProjectId&&n.serverIdProjectList),e.xp6(1),e.Q6J("ngIf",n.recentlyOpenedProjectId&&n.recentlyOpenedServerId),e.xp6(2),e.Q6J("matMenuTriggerFor",a),e.xp6(10),e.Q6J("disabled",!n.isInstalledSoftwareAvailable),e.xp6(14),e.hij("GNS3 Web UI \xa9 2020 - v",n.uiVersion,"")}},directives:[wTe,En,er,go,Pt.O5,ns,Ls,Zr,CA,m6],styles:["html,body{height:100%}app-root,app-default-layout{height:100%}app-default-layout{display:flex;flex-direction:column;height:100vh}.footer{padding:20px;margin:auto 0 0}.default-content{margin:0 auto;max-width:940px;padding-top:20px;padding-bottom:20px}header{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f;z-index:10}.default-header h1{font-weight:300;margin:0;font-size:20px;padding:28px 8px}.default-header{margin:0 auto;max-width:940px}.buttons-bar{padding-top:10px;text-align:right}.fill-space{flex:1 1 auto}.container>*{width:100%}.container{padding:0%}.mat-dialog-content>*{width:100%}\n"],encapsulation:2}),r}(),CL=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.serverService=t}return(0,g.Z)(i,[{key:"resolve",value:function(n){return this.serverService.get(parseInt(n.params.server_id))}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(Vr))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),DTe=[{path:"",component:ATe,children:[{path:"",redirectTo:"servers",pathMatch:"full"},{path:"servers",component:LSe},{path:"bundled",component:foe},{path:"server/:server_id/projects",component:Jq,resolve:{server:CL}},{path:"help",component:_se},{path:"settings",component:USe},{path:"settings/console",component:BSe},{path:"installed-software",component:Wse},{path:"server/:server_id/systemstatus",component:yTe},{path:"server/:server_ip/:server_port/project/:project_id",component:Uoe},{path:"server/:server_id/project/:project_id/snapshots",component:KSe,resolve:{server:CL}},{path:"server/:server_id/preferences",component:Rpe},{path:"server/:server_id/preferences/gns3vm",component:ppe},{path:"server/:server_id/preferences/builtin",component:Jse},{path:"server/:server_id/preferences/builtin/ethernet-hubs",component:xue},{path:"server/:server_id/preferences/builtin/ethernet-hubs/addtemplate",component:hue},{path:"server/:server_id/preferences/builtin/ethernet-hubs/:template_id",component:yue},{path:"server/:server_id/preferences/builtin/ethernet-switches",component:ece},{path:"server/:server_id/preferences/builtin/ethernet-switches/addtemplate",component:Eue},{path:"server/:server_id/preferences/builtin/ethernet-switches/:template_id",component:Gue},{path:"server/:server_id/preferences/builtin/cloud-nodes",component:fue},{path:"server/:server_id/preferences/builtin/cloud-nodes/addtemplate",component:sle},{path:"server/:server_id/preferences/builtin/cloud-nodes/:template_id",component:Zle},{path:"server/:server_id/preferences/dynamips/templates",component:ipe},{path:"server/:server_id/preferences/dynamips/templates/addtemplate",component:Dde},{path:"server/:server_id/preferences/dynamips/templates/:template_id",component:Kde},{path:"server/:server_id/preferences/dynamips/templates/:template_id/copy",component:Ode},{path:"server/:server_id/preferences/qemu/templates",component:Ofe},{path:"server/:server_id/preferences/qemu/templates/:template_id/copy",component:Jpe},{path:"server/:server_id/preferences/qemu/templates/:template_id",component:kfe},{path:"server/:server_id/preferences/qemu/addtemplate",component:Ype},{path:"server/:server_id/preferences/vpcs/templates",component:Dhe},{path:"server/:server_id/preferences/vpcs/templates/:template_id",component:The},{path:"server/:server_id/preferences/vpcs/addtemplate",component:ghe},{path:"server/:server_id/preferences/virtualbox/templates",component:Qfe},{path:"server/:server_id/preferences/virtualbox/templates/:template_id",component:jfe},{path:"server/:server_id/preferences/virtualbox/addtemplate",component:Rfe},{path:"server/:server_id/preferences/vmware/templates",component:vhe},{path:"server/:server_id/preferences/vmware/templates/:template_id",component:uhe},{path:"server/:server_id/preferences/vmware/addtemplate",component:ehe},{path:"server/:server_id/preferences/docker/templates",component:fde},{path:"server/:server_id/preferences/docker/templates/:template_id",component:ode},{path:"server/:server_id/preferences/docker/templates/:template_id/copy",component:Vce},{path:"server/:server_id/preferences/docker/addtemplate",component:Hce},{path:"server/:server_id/preferences/iou/templates",component:Ipe},{path:"server/:server_id/preferences/iou/templates/:template_id",component:xpe},{path:"server/:server_id/preferences/iou/templates/:template_id/copy",component:_pe},{path:"server/:server_id/preferences/iou/addtemplate",component:gpe}]},{path:"server/:server_id/project/:project_id",component:L1e,canDeactivate:[az]},{path:"server/:server_id/project/:project_id/nodes/:node_id",component:iz},{path:"static/web-ui/server/:server_id/project/:project_id/nodes/:node_id",component:iz},{path:"**",component:Yse}],OTe=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[[kV.forRoot(DTe,{anchorScrolling:"enabled",enableTracing:!1,scrollPositionRestoration:"enabled"})],kV]}),r}(),PTe=function(i,t){return{dark:i,light:t}},ITe=function(){var r=function(){function i(t,n,a,o,s,l,d,h){var C=this;(0,v.Z)(this,i),this.overlayContainer=t,this.settingsService=o,this.electronService=s,this.themeService=l,this.router=d,this.progressService=h,this.darkThemeEnabled=!1,n.addSvgIcon("gns3",a.bypassSecurityTrustResourceUrl("./assets/gns3_icon.svg")),n.addSvgIcon("gns3black",a.bypassSecurityTrustResourceUrl("./assets/gns3_icon_black.svg")),d.events.subscribe(function(P){C.checkEvent(P)})}return(0,g.Z)(i,[{key:"ngOnInit",value:function(){var n=this;this.applyTheme(this.themeService.savedTheme+"-theme"),this.themeService.themeChanged.subscribe(function(a){n.applyTheme(a)})}},{key:"applyTheme",value:function(n){this.darkThemeEnabled="dark-theme"===n,this.overlayContainer.getContainerElement().classList.add(n),this.componentCssClass=n}},{key:"checkEvent",value:function(n){n instanceof pA?this.progressService.activate():(n instanceof Wm||n instanceof GZ||n instanceof MH)&&this.progressService.deactivate()}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.Y36(Ga.Xj),e.Y36(G1),e.Y36(U.H7),e.Y36(wp.g),e.Y36(gs),e.Y36(Ru.f),e.Y36(xr),e.Y36(zf))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-root"]],hostVars:2,hostBindings:function(t,n){2&t&&e.Tol(n.componentCssClass)},decls:3,vars:4,consts:[[3,"ngClass"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e._UZ(1,"router-outlet"),e._UZ(2,"app-adbutler"),e.qZA()),2&t&&e.Q6J("ngClass",e.WLB(1,PTe,n.darkThemeEnabled,!n.darkThemeEnabled))},directives:[Pt.mk,CA,uj],styles:["mat-menu-panel[_ngcontent-%COMP%]{min-height:0px}.dark[_ngcontent-%COMP%]{background:#263238!important}.light[_ngcontent-%COMP%]{background:white!important}"]}),r}(),RTe=function r(){(0,v.Z)(this,r)},NTe=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"convert",value:function(n){var a=new RTe;return a.symbol_id=n.id,a.builtin=n.builtin,a.filename=n.filename,a.raw=n.raw,a}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),ZTe=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"convert",value:function(n){var a={font_family:void 0,font_size:void 0,font_weight:void 0};return eS.parse(n,{context:"declarationList"}).children.forEach(function(s){"font-size"===s.property&&s.value&&s.value.children&&s.value.children.forEach(function(l){"Dimension"===l.type&&(a.font_size=parseInt(l.value))}),"font-family"===s.property&&s.value&&s.value.children&&s.value.children.forEach(function(l){"Identifier"===l.type&&(a.font_family=l.name)}),"font-weight"===s.property&&s.value&&s.value.children&&s.value.children.forEach(function(l){"Identifier"===l.type&&(a.font_weight=l.name)})}),a}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),LTe=[X6,K6,e2,W6,$A,oS,G6,XA,z6,sq,Q6,eq,iS,aq,nq,iq,rq,tq,oq],FTe=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({providers:[Jf,Sc,dL,Dq,Oq,Pq,Iq,nS,aS,sv,JA,rS,V6,su,kc,iv,lS,n2,lv,YA,B6,Yj,Gj,Zq,pS,hL,Lq,p2,fL,NTe,H6,U6,Jj,iy,N6,Z6,L6,F6,q6,ay,$1,ZTe,Y6,J6].concat((0,T.Z)(LTe)),imports:[[Pt.ez,Tj,f6]]}),r}(),BTe=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(){return(0,v.Z)(this,n),t.apply(this,arguments)}return(0,g.Z)(n,[{key:"getItemKey",value:function(o){return o.symbol_id}}]),n}(WA.o);return r.\u0275fac=function(){var i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),SL=function(r,i){return(SL=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var a in n)n.hasOwnProperty(a)&&(t[a]=n[a])})(r,i)};function hS(r,i){function t(){this.constructor=r}SL(r,i),r.prototype=null===i?Object.create(i):(t.prototype=i.prototype,new t)}var In=function(){return In=Object.assign||function(i){for(var t,n=1,a=arguments.length;n<a;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(i[o]=t[o]);return i},In.apply(this,arguments)};function dv(r){var i="function"==typeof Symbol&&Symbol.iterator,t=i&&r[i],n=0;if(t)return t.call(r);if(r&&"number"==typeof r.length)return{next:function(){return r&&n>=r.length&&(r=void 0),{value:r&&r[n++],done:!r}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")}function mS(r,i){var t="function"==typeof Symbol&&r[Symbol.iterator];if(!t)return r;var a,s,n=t.call(r),o=[];try{for(;(void 0===i||i-- >0)&&!(a=n.next()).done;)o.push(a.value)}catch(l){s={error:l}}finally{try{a&&!a.done&&(t=n.return)&&t.call(n)}finally{if(s)throw s.error}}return o}function Fa(){for(var r=[],i=0;i<arguments.length;i++)r=r.concat(mS(arguments[i]));return r}var yd=function(){return function(r){r.Ok="ok",r.Exited="exited",r.Crashed="crashed",r.Abnormal="abnormal"}(yd||(yd={})),yd}(),_o=f(66604);function dy(){var r=(0,_o.R)(),i=r.crypto||r.msCrypto;if(void 0!==i&&i.getRandomValues){var t=new Uint16Array(8);i.getRandomValues(t),t[3]=4095&t[3]|16384,t[4]=16383&t[4]|32768;var n=function(o){for(var s=o.toString(16);s.length<4;)s="0"+s;return s};return n(t[0])+n(t[1])+n(t[2])+n(t[3])+n(t[4])+n(t[5])+n(t[6])+n(t[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(a){var o=16*Math.random()|0;return("x"===a?o:3&o|8).toString(16)})}function TL(r){if(!r)return{};var i=r.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);return i?{host:i[4],path:i[5],protocol:i[2],relative:i[5]+(i[6]||"")+(i[8]||"")}:{}}function pv(r){if(r.message)return r.message;if(r.exception&&r.exception.values&&r.exception.values[0]){var i=r.exception.values[0];return i.type&&i.value?i.type+": "+i.value:i.type||i.value||r.event_id||"<unknown>"}return r.event_id||"<unknown>"}function kL(r,i,t){r.exception=r.exception||{},r.exception.values=r.exception.values||[],r.exception.values[0]=r.exception.values[0]||{},r.exception.values[0].value=r.exception.values[0].value||i||"",r.exception.values[0].type=r.exception.values[0].type||t||"Error"}function py(r,i){var t;if(r.exception&&r.exception.values){var n=r.exception.values[0],o=n.mechanism;if(n.mechanism=In(In(In({},{type:"generic",handled:!0}),o),i),i&&"data"in i){var s=In(In({},null===(t=o)||void 0===t?void 0:t.data),i.data);n.mechanism.data=s}}}function sz(r){var i;if(null===(i=r)||void 0===i?void 0:i.__sentry_captured__)return!0;try{Object.defineProperty(r,"__sentry_captured__",{value:!0})}catch(t){}return!1}var fy=f(76865),fv=(0,_o.R)(),wL="Sentry Logger ";function b2(r){var i=(0,_o.R)();if(!("console"in i))return r();var n=i.console,a={};["debug","info","warn","error","log","assert"].forEach(function(s){s in i.console&&n[s].__sentry_original__&&(a[s]=n[s],n[s]=n[s].__sentry_original__)});var o=r();return Object.keys(a).forEach(function(s){n[s]=a[s]}),o}var jTe=function(){function r(){this._enabled=!1}return r.prototype.disable=function(){this._enabled=!1},r.prototype.enable=function(){this._enabled=!0},r.prototype.log=function(){for(var i=[],t=0;t<arguments.length;t++)i[t]=arguments[t];!this._enabled||b2(function(){fv.console.log(wL+"[Log]: "+i.join(" "))})},r.prototype.warn=function(){for(var i=[],t=0;t<arguments.length;t++)i[t]=arguments[t];!this._enabled||b2(function(){fv.console.warn(wL+"[Warn]: "+i.join(" "))})},r.prototype.error=function(){for(var i=[],t=0;t<arguments.length;t++)i[t]=arguments[t];!this._enabled||b2(function(){fv.console.error(wL+"[Error]: "+i.join(" "))})},r}();fv.__SENTRY__=fv.__SENTRY__||{};var ki=fv.__SENTRY__.logger||(fv.__SENTRY__.logger=new jTe),qTe=f(26986);function lz(r){switch(Object.prototype.toString.call(r)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return th(r,Error)}}function uz(r){return"[object ErrorEvent]"===Object.prototype.toString.call(r)}function cz(r){return"[object DOMError]"===Object.prototype.toString.call(r)}function hy(r){return"[object String]"===Object.prototype.toString.call(r)}function C2(r){return null===r||"object"!=typeof r&&"function"!=typeof r}function my(r){return"[object Object]"===Object.prototype.toString.call(r)}function xL(r){return"undefined"!=typeof Event&&th(r,Event)}function dz(r){return"undefined"!=typeof Element&&th(r,Element)}function EL(r){return Boolean(r&&r.then&&"function"==typeof r.then)}function th(r,i){try{return r instanceof i}catch(t){return!1}}var bd=function(){return function(r){r.PENDING="PENDING",r.RESOLVED="RESOLVED",r.REJECTED="REJECTED"}(bd||(bd={})),bd}(),Al=function(){function r(i){var t=this;this._state=bd.PENDING,this._handlers=[],this._resolve=function(n){t._setResult(bd.RESOLVED,n)},this._reject=function(n){t._setResult(bd.REJECTED,n)},this._setResult=function(n,a){if(t._state===bd.PENDING){if(EL(a))return void a.then(t._resolve,t._reject);t._state=n,t._value=a,t._executeHandlers()}},this._attachHandler=function(n){t._handlers=t._handlers.concat(n),t._executeHandlers()},this._executeHandlers=function(){if(t._state!==bd.PENDING){var n=t._handlers.slice();t._handlers=[],n.forEach(function(a){a.done||(t._state===bd.RESOLVED&&a.onfulfilled&&a.onfulfilled(t._value),t._state===bd.REJECTED&&a.onrejected&&a.onrejected(t._value),a.done=!0)})}};try{i(this._resolve,this._reject)}catch(n){this._reject(n)}}return r.resolve=function(i){return new r(function(t){t(i)})},r.reject=function(i){return new r(function(t,n){n(i)})},r.all=function(i){return new r(function(t,n){if(Array.isArray(i))if(0!==i.length){var a=i.length,o=[];i.forEach(function(s,l){r.resolve(s).then(function(d){o[l]=d,0==(a-=1)&&t(o)}).then(null,n)})}else t([]);else n(new TypeError("Promise.all requires an array as input."))})},r.prototype.then=function(i,t){var n=this;return new r(function(a,o){n._attachHandler({done:!1,onfulfilled:function(l){if(i)try{return void a(i(l))}catch(d){return void o(d)}else a(l)},onrejected:function(l){if(t)try{return void a(t(l))}catch(d){return void o(d)}else o(l)}})})},r.prototype.catch=function(i){return this.then(function(t){return t},i)},r.prototype.finally=function(i){var t=this;return new r(function(n,a){var o,s;return t.then(function(l){s=!1,o=l,i&&i()},function(l){s=!0,o=l,i&&i()}).then(function(){s?a(o):n(o)})})},r.prototype.toString=function(){return"[object SyncPromise]"},r}(),S2=function(){function r(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._contexts={}}return r.clone=function(i){var t=new r;return i&&(t._breadcrumbs=Fa(i._breadcrumbs),t._tags=In({},i._tags),t._extra=In({},i._extra),t._contexts=In({},i._contexts),t._user=i._user,t._level=i._level,t._span=i._span,t._session=i._session,t._transactionName=i._transactionName,t._fingerprint=i._fingerprint,t._eventProcessors=Fa(i._eventProcessors),t._requestSession=i._requestSession),t},r.prototype.addScopeListener=function(i){this._scopeListeners.push(i)},r.prototype.addEventProcessor=function(i){return this._eventProcessors.push(i),this},r.prototype.setUser=function(i){return this._user=i||{},this._session&&this._session.update({user:i}),this._notifyScopeListeners(),this},r.prototype.getUser=function(){return this._user},r.prototype.getRequestSession=function(){return this._requestSession},r.prototype.setRequestSession=function(i){return this._requestSession=i,this},r.prototype.setTags=function(i){return this._tags=In(In({},this._tags),i),this._notifyScopeListeners(),this},r.prototype.setTag=function(i,t){var n;return this._tags=In(In({},this._tags),((n={})[i]=t,n)),this._notifyScopeListeners(),this},r.prototype.setExtras=function(i){return this._extra=In(In({},this._extra),i),this._notifyScopeListeners(),this},r.prototype.setExtra=function(i,t){var n;return this._extra=In(In({},this._extra),((n={})[i]=t,n)),this._notifyScopeListeners(),this},r.prototype.setFingerprint=function(i){return this._fingerprint=i,this._notifyScopeListeners(),this},r.prototype.setLevel=function(i){return this._level=i,this._notifyScopeListeners(),this},r.prototype.setTransactionName=function(i){return this._transactionName=i,this._notifyScopeListeners(),this},r.prototype.setTransaction=function(i){return this.setTransactionName(i)},r.prototype.setContext=function(i,t){var n;return null===t?delete this._contexts[i]:this._contexts=In(In({},this._contexts),((n={})[i]=t,n)),this._notifyScopeListeners(),this},r.prototype.setSpan=function(i){return this._span=i,this._notifyScopeListeners(),this},r.prototype.getSpan=function(){return this._span},r.prototype.getTransaction=function(){var i,t,n,a,o=this.getSpan();return(null===(i=o)||void 0===i?void 0:i.transaction)?null===(t=o)||void 0===t?void 0:t.transaction:(null===(a=null===(n=o)||void 0===n?void 0:n.spanRecorder)||void 0===a?void 0:a.spans[0])?o.spanRecorder.spans[0]:void 0},r.prototype.setSession=function(i){return i?this._session=i:delete this._session,this._notifyScopeListeners(),this},r.prototype.getSession=function(){return this._session},r.prototype.update=function(i){if(!i)return this;if("function"==typeof i){var t=i(this);return t instanceof r?t:this}return i instanceof r?(this._tags=In(In({},this._tags),i._tags),this._extra=In(In({},this._extra),i._extra),this._contexts=In(In({},this._contexts),i._contexts),i._user&&Object.keys(i._user).length&&(this._user=i._user),i._level&&(this._level=i._level),i._fingerprint&&(this._fingerprint=i._fingerprint),i._requestSession&&(this._requestSession=i._requestSession)):my(i)&&(i=i,this._tags=In(In({},this._tags),i.tags),this._extra=In(In({},this._extra),i.extra),this._contexts=In(In({},this._contexts),i.contexts),i.user&&(this._user=i.user),i.level&&(this._level=i.level),i.fingerprint&&(this._fingerprint=i.fingerprint),i.requestSession&&(this._requestSession=i.requestSession)),this},r.prototype.clear=function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this},r.prototype.addBreadcrumb=function(i,t){var n="number"==typeof t?Math.min(t,100):100;if(n<=0)return this;var a=In({timestamp:(0,fy.yW)()},i);return this._breadcrumbs=Fa(this._breadcrumbs,[a]).slice(-n),this._notifyScopeListeners(),this},r.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},r.prototype.applyToEvent=function(i,t){var n;if(this._extra&&Object.keys(this._extra).length&&(i.extra=In(In({},this._extra),i.extra)),this._tags&&Object.keys(this._tags).length&&(i.tags=In(In({},this._tags),i.tags)),this._user&&Object.keys(this._user).length&&(i.user=In(In({},this._user),i.user)),this._contexts&&Object.keys(this._contexts).length&&(i.contexts=In(In({},this._contexts),i.contexts)),this._level&&(i.level=this._level),this._transactionName&&(i.transaction=this._transactionName),this._span){i.contexts=In({trace:this._span.getTraceContext()},i.contexts);var a=null===(n=this._span.transaction)||void 0===n?void 0:n.name;a&&(i.tags=In({transaction:a},i.tags))}return this._applyFingerprint(i),i.breadcrumbs=Fa(i.breadcrumbs||[],this._breadcrumbs),i.breadcrumbs=i.breadcrumbs.length>0?i.breadcrumbs:void 0,this._notifyEventProcessors(Fa(fz(),this._eventProcessors),i,t)},r.prototype._notifyEventProcessors=function(i,t,n,a){var o=this;return void 0===a&&(a=0),new Al(function(s,l){var d=i[a];if(null===t||"function"!=typeof d)s(t);else{var h=d(In({},t),n);EL(h)?h.then(function(C){return o._notifyEventProcessors(i,C,n,a+1).then(s)}).then(null,l):o._notifyEventProcessors(i,h,n,a+1).then(s).then(null,l)}})},r.prototype._notifyScopeListeners=function(){var i=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(function(t){t(i)}),this._notifyingListeners=!1)},r.prototype._applyFingerprint=function(i){i.fingerprint=i.fingerprint?Array.isArray(i.fingerprint)?i.fingerprint:[i.fingerprint]:[],this._fingerprint&&(i.fingerprint=i.fingerprint.concat(this._fingerprint)),i.fingerprint&&!i.fingerprint.length&&delete i.fingerprint},r}();function fz(){var r=(0,_o.R)();return r.__SENTRY__=r.__SENTRY__||{},r.__SENTRY__.globalEventProcessors=r.__SENTRY__.globalEventProcessors||[],r.__SENTRY__.globalEventProcessors}function T2(r){fz().push(r)}function k2(r,i){try{for(var t=r,o=[],s=0,l=0,h=" > ".length,C=void 0;t&&s++<5&&!("html"===(C=YTe(t,i))||s>1&&l+o.length*h+C.length>=80);)o.push(C),l+=C.length,t=t.parentNode;return o.reverse().join(" > ")}catch(P){return"<unknown>"}}function YTe(r,i){var t,n,s,l,d,h,C,a=r,o=[];if(!a||!a.tagName)return"";o.push(a.tagName.toLowerCase());var P=(null===(t=i)||void 0===t?void 0:t.length)?i.filter(function(q){return a.getAttribute(q)}).map(function(q){return[q,a.getAttribute(q)]}):null;if(null===(n=P)||void 0===n?void 0:n.length)P.forEach(function(q){o.push("["+q[0]+'="'+q[1]+'"]')});else if(a.id&&o.push("#"+a.id),(s=a.className)&&hy(s))for(l=s.split(/\s+/),C=0;C<l.length;C++)o.push("."+l[C]);var N=["type","name","title","alt"];for(C=0;C<N.length;C++)(h=a.getAttribute(d=N[C]))&&o.push("["+d+'="'+h+'"]');return o.join("")}var QTe=function(){function r(){this._hasWeakSet="function"==typeof WeakSet,this._inner=this._hasWeakSet?new WeakSet:[]}return r.prototype.memoize=function(i){if(this._hasWeakSet)return!!this._inner.has(i)||(this._inner.add(i),!1);for(var t=0;t<this._inner.length;t++)if(this._inner[t]===i)return!0;return this._inner.push(i),!1},r.prototype.unmemoize=function(i){if(this._hasWeakSet)this._inner.delete(i);else for(var t=0;t<this._inner.length;t++)if(this._inner[t]===i){this._inner.splice(t,1);break}},r}(),ML="<anonymous>";function nh(r){try{return r&&"function"==typeof r&&r.name||ML}catch(i){return ML}}function vS(r,i){return void 0===i&&(i=0),"string"!=typeof r||0===i||r.length<=i?r:r.substr(0,i)+"..."}function hz(r,i){if(!Array.isArray(r))return"";for(var t=[],n=0;n<r.length;n++){var a=r[n];try{t.push(String(a))}catch(o){t.push("[value cannot be serialized]")}}return t.join(i)}function AL(r,i){return!!hy(r)&&(function(r){return"[object RegExp]"===Object.prototype.toString.call(r)}(i)?i.test(r):"string"==typeof i&&-1!==r.indexOf(i))}function Us(r,i,t){if(i in r){var n=r[i],a=t(n);if("function"==typeof a)try{a.prototype=a.prototype||{},Object.defineProperties(a,{__sentry_original__:{enumerable:!1,value:n}})}catch(o){}r[i]=a}}function mz(r){if(lz(r)){var i=r,t={message:i.message,name:i.name,stack:i.stack};for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n]);return t}if(xL(r)){var a=r,o={};o.type=a.type;try{o.target=dz(a.target)?k2(a.target):Object.prototype.toString.call(a.target)}catch(l){o.target="<unknown>"}try{o.currentTarget=dz(a.currentTarget)?k2(a.currentTarget):Object.prototype.toString.call(a.currentTarget)}catch(l){o.currentTarget="<unknown>"}for(var s in"undefined"!=typeof CustomEvent&&th(r,CustomEvent)&&(o.detail=a.detail),a)Object.prototype.hasOwnProperty.call(a,s)&&(o[s]=a[s]);return o}return r}function vz(r,i,t){void 0===i&&(i=3),void 0===t&&(t=102400);var n=vy(r,i);return function(r){return function(r){return~-encodeURI(r).split(/%..|./).length}(JSON.stringify(r))}(n)>t?vz(r,i-1,t):n}function gz(r,i){return"domain"===i&&r&&"object"==typeof r&&r._events?"[Domain]":"domainEmitter"===i?"[DomainEmitter]":"undefined"!=typeof global&&r===global?"[Global]":"undefined"!=typeof window&&r===window?"[Window]":"undefined"!=typeof document&&r===document?"[Document]":function(r){return my(r)&&"nativeEvent"in r&&"preventDefault"in r&&"stopPropagation"in r}(r)?"[SyntheticEvent]":"number"==typeof r&&r!=r?"[NaN]":void 0===r?"[undefined]":"function"==typeof r?"[Function: "+nh(r)+"]":"symbol"==typeof r?"["+String(r)+"]":"bigint"==typeof r?"[BigInt: "+String(r)+"]":r}function _z(r,i,t,n){if(void 0===t&&(t=1/0),void 0===n&&(n=new QTe),0===t)return function(r){var i=Object.prototype.toString.call(r);if("string"==typeof r)return r;if("[object Object]"===i)return"[Object]";if("[object Array]"===i)return"[Array]";var t=gz(r);return C2(t)?t:i}(i);if(null!=i&&"function"==typeof i.toJSON)return i.toJSON();var a=gz(i,r);if(C2(a))return a;var o=mz(i),s=Array.isArray(i)?[]:{};if(n.memoize(i))return"[Circular ~]";for(var l in o)!Object.prototype.hasOwnProperty.call(o,l)||(s[l]=_z(l,o[l],t-1,n));return n.unmemoize(i),s}function vy(r,i){try{return JSON.parse(JSON.stringify(r,function(t,n){return _z(t,n,i)}))}catch(t){return"**non-serializable**"}}function tke(r,i){void 0===i&&(i=40);var t=Object.keys(mz(r));if(t.sort(),!t.length)return"[object has no keys]";if(t[0].length>=i)return vS(t[0],i);for(var n=t.length;n>0;n--){var a=t.slice(0,n).join(", ");if(!(a.length>i))return n===t.length?a:vS(a,i)}return""}function w2(r){var i,t;if(my(r)){var n=r,a={};try{for(var o=dv(Object.keys(n)),s=o.next();!s.done;s=o.next()){var l=s.value;void 0!==n[l]&&(a[l]=w2(n[l]))}}catch(d){i={error:d}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(i)throw i.error}}return a}return Array.isArray(r)?r.map(w2):r}var nke=function(){function r(i){this.errors=0,this.sid=dy(),this.duration=0,this.status=yd.Ok,this.init=!0,this.ignoreDuration=!1;var t=(0,fy.ph)();this.timestamp=t,this.started=t,i&&this.update(i)}return r.prototype.update=function(i){if(void 0===i&&(i={}),i.user&&(!this.ipAddress&&i.user.ip_address&&(this.ipAddress=i.user.ip_address),!this.did&&!i.did&&(this.did=i.user.id||i.user.email||i.user.username)),this.timestamp=i.timestamp||(0,fy.ph)(),i.ignoreDuration&&(this.ignoreDuration=i.ignoreDuration),i.sid&&(this.sid=32===i.sid.length?i.sid:dy()),void 0!==i.init&&(this.init=i.init),!this.did&&i.did&&(this.did=""+i.did),"number"==typeof i.started&&(this.started=i.started),this.ignoreDuration)this.duration=void 0;else if("number"==typeof i.duration)this.duration=i.duration;else{var t=this.timestamp-this.started;this.duration=t>=0?t:0}i.release&&(this.release=i.release),i.environment&&(this.environment=i.environment),!this.ipAddress&&i.ipAddress&&(this.ipAddress=i.ipAddress),!this.userAgent&&i.userAgent&&(this.userAgent=i.userAgent),"number"==typeof i.errors&&(this.errors=i.errors),i.status&&(this.status=i.status)},r.prototype.close=function(i){i?this.update({status:i}):this.status===yd.Ok?this.update({status:yd.Exited}):this.update()},r.prototype.toJSON=function(){return w2({sid:""+this.sid,init:this.init,started:new Date(1e3*this.started).toISOString(),timestamp:new Date(1e3*this.timestamp).toISOString(),status:this.status,errors:this.errors,did:"number"==typeof this.did||"string"==typeof this.did?""+this.did:void 0,duration:this.duration,attrs:w2({release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent})})},r}(),OL=function(){function r(i,t,n){void 0===t&&(t=new S2),void 0===n&&(n=4),this._version=n,this._stack=[{}],this.getStackTop().scope=t,i&&this.bindClient(i)}return r.prototype.isOlderThan=function(i){return this._version<i},r.prototype.bindClient=function(i){this.getStackTop().client=i,i&&i.setupIntegrations&&i.setupIntegrations()},r.prototype.pushScope=function(){var i=S2.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:i}),i},r.prototype.popScope=function(){return!(this.getStack().length<=1||!this.getStack().pop())},r.prototype.withScope=function(i){var t=this.pushScope();try{i(t)}finally{this.popScope()}},r.prototype.getClient=function(){return this.getStackTop().client},r.prototype.getScope=function(){return this.getStackTop().scope},r.prototype.getStack=function(){return this._stack},r.prototype.getStackTop=function(){return this._stack[this._stack.length-1]},r.prototype.captureException=function(i,t){var n=this._lastEventId=dy(),a=t;if(!t){var o=void 0;try{throw new Error("Sentry syntheticException")}catch(s){o=s}a={originalException:i,syntheticException:o}}return this._invokeClient("captureException",i,In(In({},a),{event_id:n})),n},r.prototype.captureMessage=function(i,t,n){var a=this._lastEventId=dy(),o=n;if(!n){var s=void 0;try{throw new Error(i)}catch(l){s=l}o={originalException:i,syntheticException:s}}return this._invokeClient("captureMessage",i,t,In(In({},o),{event_id:a})),a},r.prototype.captureEvent=function(i,t){var n=dy();return"transaction"!==i.type&&(this._lastEventId=n),this._invokeClient("captureEvent",i,In(In({},t),{event_id:n})),n},r.prototype.lastEventId=function(){return this._lastEventId},r.prototype.addBreadcrumb=function(i,t){var n=this.getStackTop(),a=n.scope,o=n.client;if(a&&o){var s=o.getOptions&&o.getOptions()||{},l=s.beforeBreadcrumb,d=void 0===l?null:l,h=s.maxBreadcrumbs,C=void 0===h?100:h;if(!(C<=0)){var P=(0,fy.yW)(),N=In({timestamp:P},i),q=d?b2(function(){return d(N,t)}):N;null!==q&&a.addBreadcrumb(q,C)}}},r.prototype.setUser=function(i){var t=this.getScope();t&&t.setUser(i)},r.prototype.setTags=function(i){var t=this.getScope();t&&t.setTags(i)},r.prototype.setExtras=function(i){var t=this.getScope();t&&t.setExtras(i)},r.prototype.setTag=function(i,t){var n=this.getScope();n&&n.setTag(i,t)},r.prototype.setExtra=function(i,t){var n=this.getScope();n&&n.setExtra(i,t)},r.prototype.setContext=function(i,t){var n=this.getScope();n&&n.setContext(i,t)},r.prototype.configureScope=function(i){var t=this.getStackTop(),n=t.scope;n&&t.client&&i(n)},r.prototype.run=function(i){var t=yz(this);try{i(this)}finally{yz(t)}},r.prototype.getIntegration=function(i){var t=this.getClient();if(!t)return null;try{return t.getIntegration(i)}catch(n){return ki.warn("Cannot retrieve integration "+i.id+" from the current Hub"),null}},r.prototype.startSpan=function(i){return this._callExtensionMethod("startSpan",i)},r.prototype.startTransaction=function(i,t){return this._callExtensionMethod("startTransaction",i,t)},r.prototype.traceHeaders=function(){return this._callExtensionMethod("traceHeaders")},r.prototype.captureSession=function(i){if(void 0===i&&(i=!1),i)return this.endSession();this._sendSessionUpdate()},r.prototype.endSession=function(){var i,t,n,a,o;null===(n=null===(t=null===(i=this.getStackTop())||void 0===i?void 0:i.scope)||void 0===t?void 0:t.getSession())||void 0===n||n.close(),this._sendSessionUpdate(),null===(o=null===(a=this.getStackTop())||void 0===a?void 0:a.scope)||void 0===o||o.setSession()},r.prototype.startSession=function(i){var t=this.getStackTop(),n=t.scope,a=t.client,o=a&&a.getOptions()||{},s=o.release,l=o.environment,h=((0,_o.R)().navigator||{}).userAgent,C=new nke(In(In(In({release:s,environment:l},n&&{user:n.getUser()}),h&&{userAgent:h}),i));if(n){var P=n.getSession&&n.getSession();P&&P.status===yd.Ok&&P.update({status:yd.Exited}),this.endSession(),n.setSession(C)}return C},r.prototype._sendSessionUpdate=function(){var i=this.getStackTop(),t=i.scope,n=i.client;if(t){var a=t.getSession&&t.getSession();a&&n&&n.captureSession&&n.captureSession(a)}},r.prototype._invokeClient=function(i){for(var t,n=[],a=1;a<arguments.length;a++)n[a-1]=arguments[a];var o=this.getStackTop(),s=o.scope,l=o.client;l&&l[i]&&(t=l)[i].apply(t,Fa(n,[s]))},r.prototype._callExtensionMethod=function(i){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var a=gS(),o=a.__SENTRY__;if(o&&o.extensions&&"function"==typeof o.extensions[i])return o.extensions[i].apply(this,t);ki.warn("Extension method "+i+" couldn't be found, doing nothing.")},r}();function gS(){var r=(0,_o.R)();return r.__SENTRY__=r.__SENTRY__||{extensions:{},hub:void 0},r}function yz(r){var i=gS(),t=rh(i);return PL(i,r),t}function Hs(){var r=gS();return(!bz(r)||rh(r).isOlderThan(4))&&PL(r,new OL),(0,qTe.KV)()?function(r){var i,t,n;try{var a=null===(n=null===(t=null===(i=gS().__SENTRY__)||void 0===i?void 0:i.extensions)||void 0===t?void 0:t.domain)||void 0===n?void 0:n.active;if(!a)return rh(r);if(!bz(a)||rh(a).isOlderThan(4)){var o=rh(r).getStackTop();PL(a,new OL(o.client,S2.clone(o.scope)))}return rh(a)}catch(s){return rh(r)}}(r):rh(r)}function bz(r){return!!(r&&r.__SENTRY__&&r.__SENTRY__.hub)}function rh(r){return r&&r.__SENTRY__&&r.__SENTRY__.hub||(r.__SENTRY__=r.__SENTRY__||{},r.__SENTRY__.hub=new OL),r.__SENTRY__.hub}function PL(r,i){return!!r&&(r.__SENTRY__=r.__SENTRY__||{},r.__SENTRY__.hub=i,!0)}function Dl(r){for(var i=[],t=1;t<arguments.length;t++)i[t-1]=arguments[t];var n=Hs();if(n&&n[r])return n[r].apply(n,Fa(i));throw new Error("No hub defined or "+r+" was not found on the hub, please open a bug report.")}function Cz(r,i){var t;try{throw new Error("Sentry syntheticException")}catch(n){t=n}return Dl("captureException",r,{captureContext:i,originalException:r,syntheticException:t})}function ake(r){Dl("withScope",r)}var Sz,ske=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],lke=function(){function r(i){void 0===i&&(i={}),this._options=i,this.name=r.id}return r.prototype.setupOnce=function(){T2(function(i){var t=Hs();if(!t)return i;var n=t.getIntegration(r);if(n){var a=t.getClient(),o=a?a.getOptions():{},s="function"==typeof n._mergeOptions?n._mergeOptions(o):{};return"function"!=typeof n._shouldDropEvent?i:n._shouldDropEvent(i,s)?null:i}return i})},r.prototype._shouldDropEvent=function(i,t){return this._isSentryError(i,t)?(ki.warn("Event dropped due to being internal Sentry Error.\nEvent: "+pv(i)),!0):this._isIgnoredError(i,t)?(ki.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+pv(i)),!0):this._isDeniedUrl(i,t)?(ki.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: "+pv(i)+".\nUrl: "+this._getEventFilterUrl(i)),!0):!this._isAllowedUrl(i,t)&&(ki.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: "+pv(i)+".\nUrl: "+this._getEventFilterUrl(i)),!0)},r.prototype._isSentryError=function(i,t){if(!t.ignoreInternal)return!1;try{return i&&i.exception&&i.exception.values&&i.exception.values[0]&&"SentryError"===i.exception.values[0].type||!1}catch(n){return!1}},r.prototype._isIgnoredError=function(i,t){return!(!t.ignoreErrors||!t.ignoreErrors.length)&&this._getPossibleEventMessages(i).some(function(n){return t.ignoreErrors.some(function(a){return AL(n,a)})})},r.prototype._isDeniedUrl=function(i,t){if(!t.denyUrls||!t.denyUrls.length)return!1;var n=this._getEventFilterUrl(i);return!!n&&t.denyUrls.some(function(a){return AL(n,a)})},r.prototype._isAllowedUrl=function(i,t){if(!t.allowUrls||!t.allowUrls.length)return!0;var n=this._getEventFilterUrl(i);return!n||t.allowUrls.some(function(a){return AL(n,a)})},r.prototype._mergeOptions=function(i){return void 0===i&&(i={}),{allowUrls:Fa(this._options.whitelistUrls||[],this._options.allowUrls||[],i.whitelistUrls||[],i.allowUrls||[]),denyUrls:Fa(this._options.blacklistUrls||[],this._options.denyUrls||[],i.blacklistUrls||[],i.denyUrls||[]),ignoreErrors:Fa(this._options.ignoreErrors||[],i.ignoreErrors||[],ske),ignoreInternal:void 0===this._options.ignoreInternal||this._options.ignoreInternal}},r.prototype._getPossibleEventMessages=function(i){if(i.message)return[i.message];if(i.exception)try{var t=i.exception.values&&i.exception.values[0]||{},n=t.type,o=t.value,s=void 0===o?"":o;return[""+s,(void 0===n?"":n)+": "+s]}catch(l){return ki.error("Cannot extract message for event "+pv(i)),[]}return[]},r.prototype._getLastValidUrl=function(i){void 0===i&&(i=[]);for(var t,n,a=i.length-1;a>=0;a--){var o=i[a];if("<anonymous>"!==(null===(t=o)||void 0===t?void 0:t.filename)&&"[native code]"!==(null===(n=o)||void 0===n?void 0:n.filename))return o.filename||null}return null},r.prototype._getEventFilterUrl=function(i){try{return i.stacktrace?this._getLastValidUrl(i.stacktrace.frames):i.exception?this._getLastValidUrl(i.exception.values&&i.exception.values[0].stacktrace&&i.exception.values[0].stacktrace.frames):null}catch(a){return ki.error("Cannot extract url for event "+pv(i)),null}},r.id="InboundFilters",r}(),uke=function(){function r(){this.name=r.id}return r.prototype.setupOnce=function(){Sz=Function.prototype.toString,Function.prototype.toString=function(){for(var i=[],t=0;t<arguments.length;t++)i[t]=arguments[t];var n=this.__sentry_original__||this;return Sz.apply(n,i)}},r.id="FunctionToString",r}();function x2(){if(!("fetch"in(0,_o.R)()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(r){return!1}}function IL(r){return r&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(r.toString())}function dke(){if(!x2())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(r){return!1}}var E2,M2,A2,Ba=(0,_o.R)(),_S={},Tz={};function ih(r){!r||"string"!=typeof r.type||"function"!=typeof r.callback||(_S[r.type]=_S[r.type]||[],_S[r.type].push(r.callback),function(r){if(!Tz[r])switch(Tz[r]=!0,r){case"console":"console"in Ba&&["debug","info","warn","error","log","assert"].forEach(function(r){r in Ba.console&&Us(Ba.console,r,function(i){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];xc("console",{args:t,level:r}),i&&Function.prototype.apply.call(i,Ba.console,t)}})});break;case"dom":!function(){if("document"in Ba){var r=xc.bind(null,"dom"),i=kz(r,!0);Ba.document.addEventListener("click",i,!1),Ba.document.addEventListener("keypress",i,!1),["EventTarget","Node"].forEach(function(t){var n=Ba[t]&&Ba[t].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(Us(n,"addEventListener",function(a){return function(o,s,l){if("click"===o||"keypress"==o)try{var h=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},C=h[o]=h[o]||{refCount:0};if(!C.handler){var P=kz(r);C.handler=P,a.call(this,o,P,l)}C.refCount+=1}catch(N){}return a.call(this,o,s,l)}}),Us(n,"removeEventListener",function(a){return function(o,s,l){if("click"===o||"keypress"==o)try{var h=this.__sentry_instrumentation_handlers__||{},C=h[o];C&&(C.refCount-=1,C.refCount<=0&&(a.call(this,o,C.handler,l),C.handler=void 0,delete h[o]),0===Object.keys(h).length&&delete this.__sentry_instrumentation_handlers__)}catch(P){}return a.call(this,o,s,l)}}))})}}();break;case"xhr":!function(){if("XMLHttpRequest"in Ba){var r=[],i=[],t=XMLHttpRequest.prototype;Us(t,"open",function(n){return function(){for(var a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];var s=this,l=a[1];s.__sentry_xhr__={method:hy(a[0])?a[0].toUpperCase():a[0],url:a[1]},hy(l)&&"POST"===s.__sentry_xhr__.method&&l.match(/sentry_key/)&&(s.__sentry_own_request__=!0);var d=function(){if(4===s.readyState){try{s.__sentry_xhr__&&(s.__sentry_xhr__.status_code=s.status)}catch(N){}try{var C=r.indexOf(s);if(-1!==C){r.splice(C);var P=i.splice(C)[0];s.__sentry_xhr__&&void 0!==P[0]&&(s.__sentry_xhr__.body=P[0])}}catch(N){}xc("xhr",{args:a,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:s})}};return"onreadystatechange"in s&&"function"==typeof s.onreadystatechange?Us(s,"onreadystatechange",function(h){return function(){for(var C=[],P=0;P<arguments.length;P++)C[P]=arguments[P];return d(),h.apply(s,C)}}):s.addEventListener("readystatechange",d),n.apply(s,a)}}),Us(t,"send",function(n){return function(){for(var a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];return r.push(this),i.push(a),xc("xhr",{args:a,startTimestamp:Date.now(),xhr:this}),n.apply(this,a)}})}}();break;case"fetch":!function(){if(!x2())return!1;var r=(0,_o.R)();if(IL(r.fetch))return!0;var i=!1,t=r.document;if(t&&"function"==typeof t.createElement)try{var n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(i=IL(n.contentWindow.fetch)),t.head.removeChild(n)}catch(a){ki.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",a)}return i}()||Us(Ba,"fetch",function(r){return function(){for(var i=[],t=0;t<arguments.length;t++)i[t]=arguments[t];var n={args:i,fetchData:{method:vke(i),url:gke(i)},startTimestamp:Date.now()};return xc("fetch",In({},n)),r.apply(Ba,i).then(function(a){return xc("fetch",In(In({},n),{endTimestamp:Date.now(),response:a})),a},function(a){throw xc("fetch",In(In({},n),{endTimestamp:Date.now(),error:a})),a})}});break;case"history":!function(){if(function(){var r=(0,_o.R)(),i=r.chrome;return!(i&&i.app&&i.app.runtime||!("history"in r)||!r.history.pushState||!r.history.replaceState)}()){var r=Ba.onpopstate;Ba.onpopstate=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var a=Ba.location.href,o=E2;if(E2=a,xc("history",{from:o,to:a}),r)try{return r.apply(this,t)}catch(s){}},Us(Ba.history,"pushState",i),Us(Ba.history,"replaceState",i)}function i(t){return function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var o=n.length>2?n[2]:void 0;if(o){var s=E2,l=String(o);E2=l,xc("history",{from:s,to:l})}return t.apply(this,n)}}}();break;case"error":RL=Ba.onerror,Ba.onerror=function(r,i,t,n,a){return xc("error",{column:n,error:a,line:t,msg:r,url:i}),!!RL&&RL.apply(this,arguments)};break;case"unhandledrejection":NL=Ba.onunhandledrejection,Ba.onunhandledrejection=function(r){return xc("unhandledrejection",r),!NL||NL.apply(this,arguments)};break;default:ki.warn("unknown instrumentation type:",r)}}(r.type))}function xc(r,i){var t,n;if(r&&_S[r])try{for(var a=dv(_S[r]||[]),o=a.next();!o.done;o=a.next()){var s=o.value;try{s(i)}catch(l){ki.error("Error while triggering instrumentation handler.\nType: "+r+"\nName: "+nh(s)+"\nError: "+l)}}}catch(l){t={error:l}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}}function vke(r){return void 0===r&&(r=[]),"Request"in Ba&&th(r[0],Request)&&r[0].method?String(r[0].method).toUpperCase():r[1]&&r[1].method?String(r[1].method).toUpperCase():"GET"}function gke(r){return void 0===r&&(r=[]),"string"==typeof r[0]?r[0]:"Request"in Ba&&th(r[0],Request)?r[0].url:String(r[0])}function kz(r,i){return void 0===i&&(i=!1),function(t){if(t&&A2!==t&&!function(r){if("keypress"!==r.type)return!1;try{var i=r.target;if(!i||!i.tagName)return!0;if("INPUT"===i.tagName||"TEXTAREA"===i.tagName||i.isContentEditable)return!1}catch(t){}return!0}(t)){var n="keypress"===t.type?"input":t.type;(void 0===M2||function(r,i){if(!r||r.type!==i.type)return!0;try{if(r.target!==i.target)return!0}catch(t){}return!1}(A2,t))&&(r({event:t,name:n,global:i}),A2=t),clearTimeout(M2),M2=Ba.setTimeout(function(){M2=void 0},1e3)}}}var RL=null,NL=null,Zu=function(){return function(r){r.BeforeSend="before_send",r.EventProcessor="event_processor",r.NetworkError="network_error",r.QueueOverflow="queue_overflow",r.RateLimitBackoff="ratelimit_backoff",r.SampleRate="sample_rate"}(Zu||(Zu={})),Zu}(),xke=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(r,i){return r.__proto__=i,r}:function(r,i){for(var t in i)Object.prototype.hasOwnProperty.call(r,t)||(r[t]=i[t]);return r}),Do=function(r){function i(t){var n=this.constructor,a=r.call(this,t)||this;return a.message=t,a.name=n.prototype.constructor.name,xke(a,n.prototype),a}return hS(i,r),i}(Error),Ake=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/,yS="Invalid Dsn",xz=function(){function r(i){"string"==typeof i?this._fromString(i):this._fromComponents(i),this._validate()}return r.prototype.toString=function(i){void 0===i&&(i=!1);var t=this,a=t.path,o=t.pass,s=t.port;return t.protocol+"://"+t.publicKey+(i&&o?":"+o:"")+"@"+t.host+(s?":"+s:"")+"/"+(a&&a+"/")+t.projectId},r.prototype._fromString=function(i){var t=Ake.exec(i);if(!t)throw new Do(yS);var n=mS(t.slice(1),6),a=n[0],o=n[1],s=n[2],l=void 0===s?"":s,d=n[3],h=n[4],C=void 0===h?"":h,N="",q=n[5],Q=q.split("/");if(Q.length>1&&(N=Q.slice(0,-1).join("/"),q=Q.pop()),q){var te=q.match(/^\d+/);te&&(q=te[0])}this._fromComponents({host:d,pass:l,path:N,projectId:q,port:C,protocol:a,publicKey:o})},r.prototype._fromComponents=function(i){"user"in i&&!("publicKey"in i)&&(i.publicKey=i.user),this.user=i.publicKey||"",this.protocol=i.protocol,this.publicKey=i.publicKey||"",this.pass=i.pass||"",this.host=i.host,this.port=i.port||"",this.path=i.path||"",this.projectId=i.projectId},r.prototype._validate=function(){var i=this;if(["protocol","publicKey","host","projectId"].forEach(function(t){if(!i[t])throw new Do(yS+": "+t+" missing")}),!this.projectId.match(/^\d+$/))throw new Do(yS+": Invalid projectId "+this.projectId);if("http"!==this.protocol&&"https"!==this.protocol)throw new Do(yS+": Invalid protocol "+this.protocol);if(this.port&&isNaN(parseInt(this.port,10)))throw new Do(yS+": Invalid port "+this.port)},r}(),Ez=[];function Mz(r){return r.reduce(function(i,t){return i.every(function(n){return t.name!==n.name})&&i.push(t),i},[])}var Az="Not capturing exception because it's already been captured.",Ike=function(){function r(i,t){this._integrations={},this._numProcessing=0,this._backend=new i(t),this._options=t,t.dsn&&(this._dsn=new xz(t.dsn))}return r.prototype.captureException=function(i,t,n){var a=this;if(!sz(i)){var o=t&&t.event_id;return this._process(this._getBackend().eventFromException(i,t).then(function(s){return a._captureEvent(s,t,n)}).then(function(s){o=s})),o}ki.log(Az)},r.prototype.captureMessage=function(i,t,n,a){var o=this,s=n&&n.event_id,l=C2(i)?this._getBackend().eventFromMessage(String(i),t,n):this._getBackend().eventFromException(i,n);return this._process(l.then(function(d){return o._captureEvent(d,n,a)}).then(function(d){s=d})),s},r.prototype.captureEvent=function(i,t,n){var a;if(!(null===(a=t)||void 0===a?void 0:a.originalException)||!sz(t.originalException)){var o=t&&t.event_id;return this._process(this._captureEvent(i,t,n).then(function(s){o=s})),o}ki.log(Az)},r.prototype.captureSession=function(i){this._isEnabled()?"string"!=typeof i.release?ki.warn("Discarded session because of missing or non-string release"):(this._sendSession(i),i.update({init:!1})):ki.warn("SDK not enabled, will not capture session.")},r.prototype.getDsn=function(){return this._dsn},r.prototype.getOptions=function(){return this._options},r.prototype.getTransport=function(){return this._getBackend().getTransport()},r.prototype.flush=function(i){var t=this;return this._isClientDoneProcessing(i).then(function(n){return t.getTransport().close(i).then(function(a){return n&&a})})},r.prototype.close=function(i){var t=this;return this.flush(i).then(function(n){return t.getOptions().enabled=!1,n})},r.prototype.setupIntegrations=function(){this._isEnabled()&&!this._integrations.initialized&&(this._integrations=function(r){var i={};return function(r){var i=r.defaultIntegrations&&Fa(r.defaultIntegrations)||[],t=r.integrations,n=Fa(Mz(i));Array.isArray(t)?n=Fa(n.filter(function(s){return t.every(function(l){return l.name!==s.name})}),Mz(t)):"function"==typeof t&&(n=t(n),n=Array.isArray(n)?n:[n]);var a=n.map(function(s){return s.name}),o="Debug";return-1!==a.indexOf(o)&&n.push.apply(n,Fa(n.splice(a.indexOf(o),1))),n}(r).forEach(function(t){i[t.name]=t,function(r){-1===Ez.indexOf(r.name)&&(r.setupOnce(T2,Hs),Ez.push(r.name),ki.log("Integration installed: "+r.name))}(t)}),Object.defineProperty(i,"initialized",{value:!0}),i}(this._options))},r.prototype.getIntegration=function(i){try{return this._integrations[i.id]||null}catch(t){return ki.warn("Cannot retrieve integration "+i.id+" from the current Client"),null}},r.prototype._updateSessionFromEvent=function(i,t){var n,a,o=!1,s=!1,l=t.exception&&t.exception.values;if(l){s=!0;try{for(var d=dv(l),h=d.next();!h.done;h=d.next()){var P=h.value.mechanism;if(P&&!1===P.handled){o=!0;break}}}catch(Q){n={error:Q}}finally{try{h&&!h.done&&(a=d.return)&&a.call(d)}finally{if(n)throw n.error}}}var N=i.status===yd.Ok;(N&&0===i.errors||N&&o)&&(i.update(In(In({},o&&{status:yd.Crashed}),{errors:i.errors||Number(s||o)})),this.captureSession(i))},r.prototype._sendSession=function(i){this._getBackend().sendSession(i)},r.prototype._isClientDoneProcessing=function(i){var t=this;return new Al(function(n){var a=0,s=setInterval(function(){0==t._numProcessing?(clearInterval(s),n(!0)):(a+=1,i&&a>=i&&(clearInterval(s),n(!1)))},1)})},r.prototype._getBackend=function(){return this._backend},r.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},r.prototype._prepareEvent=function(i,t,n){var a=this,o=this.getOptions().normalizeDepth,s=void 0===o?3:o,l=In(In({},i),{event_id:i.event_id||(n&&n.event_id?n.event_id:dy()),timestamp:i.timestamp||(0,fy.yW)()});this._applyClientOptions(l),this._applyIntegrationsMetadata(l);var d=t;n&&n.captureContext&&(d=S2.clone(d).update(n.captureContext));var h=Al.resolve(l);return d&&(h=d.applyToEvent(l,n)),h.then(function(C){return"number"==typeof s&&s>0?a._normalizeEvent(C,s):C})},r.prototype._normalizeEvent=function(i,t){if(!i)return null;var n=In(In(In(In(In({},i),i.breadcrumbs&&{breadcrumbs:i.breadcrumbs.map(function(s){return In(In({},s),s.data&&{data:vy(s.data,t)})})}),i.user&&{user:vy(i.user,t)}),i.contexts&&{contexts:vy(i.contexts,t)}),i.extra&&{extra:vy(i.extra,t)});i.contexts&&i.contexts.trace&&(n.contexts.trace=i.contexts.trace);var a=this.getOptions()._experiments;return(void 0===a?{}:a).ensureNoCircularStructures?vy(n):n},r.prototype._applyClientOptions=function(i){var t=this.getOptions(),a=t.release,o=t.dist,s=t.maxValueLength,l=void 0===s?250:s;"environment"in i||(i.environment="environment"in t?t.environment:"production"),void 0===i.release&&void 0!==a&&(i.release=a),void 0===i.dist&&void 0!==o&&(i.dist=o),i.message&&(i.message=vS(i.message,l));var d=i.exception&&i.exception.values&&i.exception.values[0];d&&d.value&&(d.value=vS(d.value,l));var h=i.request;h&&h.url&&(h.url=vS(h.url,l))},r.prototype._applyIntegrationsMetadata=function(i){var t=Object.keys(this._integrations);t.length>0&&(i.sdk=i.sdk||{},i.sdk.integrations=Fa(i.sdk.integrations||[],t))},r.prototype._sendEvent=function(i){this._getBackend().sendEvent(i)},r.prototype._captureEvent=function(i,t,n){return this._processEvent(i,t,n).then(function(a){return a.event_id},function(a){ki.error(a)})},r.prototype._processEvent=function(i,t,n){var o,s,a=this,l=this.getOptions(),d=l.beforeSend,h=l.sampleRate,C=this.getTransport();if(!this._isEnabled())return Al.reject(new Do("SDK not enabled, will not capture event."));var P="transaction"===i.type;return!P&&"number"==typeof h&&Math.random()>h?(null===(s=(o=C).recordLostEvent)||void 0===s||s.call(o,Zu.SampleRate,"event"),Al.reject(new Do("Discarding event because it's not included in the random sample (sampling rate = "+h+")"))):this._prepareEvent(i,n,t).then(function(N){var q,Q;if(null===N)throw null===(Q=(q=C).recordLostEvent)||void 0===Q||Q.call(q,Zu.EventProcessor,i.type||"event"),new Do("An event processor returned null, will not send event.");if(t&&t.data&&!0===t.data.__sentry__||P||!d)return N;var se=d(N,t);return a._ensureBeforeSendRv(se)}).then(function(N){var q,Q;if(null===N)throw null===(Q=(q=C).recordLostEvent)||void 0===Q||Q.call(q,Zu.BeforeSend,i.type||"event"),new Do("`beforeSend` returned `null`, will not send event.");var te=n&&n.getSession&&n.getSession();return!P&&te&&a._updateSessionFromEvent(te,N),a._sendEvent(N),N}).then(null,function(N){throw N instanceof Do?N:(a.captureException(N,{data:{__sentry__:!0},originalException:N}),new Do("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+N))})},r.prototype._process=function(i){var t=this;this._numProcessing+=1,i.then(function(n){return t._numProcessing-=1,n},function(n){return t._numProcessing-=1,n})},r.prototype._ensureBeforeSendRv=function(i){var t="`beforeSend` method has to return `null` or a valid event.";if(EL(i))return i.then(function(n){if(!my(n)&&null!==n)throw new Do(t);return n},function(n){throw new Do("beforeSend rejected with "+n)});if(!my(i)&&null!==i)throw new Do(t);return i},r}(),ah=function(){return function(r){r.Unknown="unknown",r.Skipped="skipped",r.Success="success",r.RateLimit="rate_limit",r.Invalid="invalid",r.Failed="failed"}(ah||(ah={})),ah}();!function(r){r.fromHttpCode=function(t){return t>=200&&t<300?r.Success:429===t?r.RateLimit:t>=400&&t<500?r.Invalid:t>=500?r.Failed:r.Unknown}}(ah||(ah={}));var Rke=function(){function r(){}return r.prototype.sendEvent=function(i){return Al.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:ah.Skipped})},r.prototype.close=function(i){return Al.resolve(!0)},r}(),Nke=function(){function r(i){this._options=i,this._options.dsn||ki.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return r.prototype.eventFromException=function(i,t){throw new Do("Backend has to implement `eventFromException` method")},r.prototype.eventFromMessage=function(i,t,n){throw new Do("Backend has to implement `eventFromMessage` method")},r.prototype.sendEvent=function(i){this._transport.sendEvent(i).then(null,function(t){ki.error("Error while sending event: "+t)})},r.prototype.sendSession=function(i){this._transport.sendSession?this._transport.sendSession(i).then(null,function(t){ki.error("Error while sending session: "+t)}):ki.warn("Dropping session because custom transport doesn't implement sendSession")},r.prototype.getTransport=function(){return this._transport},r.prototype._setupTransport=function(){return new Rke},r}(),Ec=function(){return function(r){r.Fatal="fatal",r.Error="error",r.Warning="warning",r.Log="log",r.Info="info",r.Debug="debug",r.Critical="critical"}(Ec||(Ec={})),Ec}();!function(r){r.fromString=function(t){switch(t){case"debug":return r.Debug;case"info":return r.Info;case"warn":case"warning":return r.Warning;case"error":return r.Error;case"fatal":return r.Fatal;case"critical":return r.Critical;default:return r.Log}}}(Ec||(Ec={}));var Zke=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Lke=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Fke=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Bke=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Uke=/\((\S*)(?::(\d+))(?::(\d+))\)/,Hke=/Minified React error #\d+;/i;function bS(r){var i=null,t=0;r&&("number"==typeof r.framesToPop?t=r.framesToPop:Hke.test(r.message)&&(t=1));try{if(i=function(r){if(!r||!r.stacktrace)return null;for(var s,t=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,n=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\((.*)\))? in (.*):\s*$/i,a=r.stacktrace.split("\n"),o=[],l=0;l<a.length;l+=2){var d=null;(s=t.exec(a[l]))?d={url:s[2],func:s[3],args:[],line:+s[1],column:null}:(s=n.exec(a[l]))&&(d={url:s[6],func:s[3]||s[4],args:s[5]?s[5].split(","):[],line:+s[1],column:+s[2]}),d&&(!d.func&&d.line&&(d.func="?"),o.push(d))}return o.length?{message:ZL(r),name:r.name,stack:o}:null}(r),i)return Oz(i,t)}catch(n){}try{if(i=function(r){var i,t;if(!r||!r.stack)return null;for(var s,l,d,n=[],a=r.stack.split("\n"),h=0;h<a.length;++h){if(l=Zke.exec(a[h])){var C=l[2]&&0===l[2].indexOf("native");l[2]&&0===l[2].indexOf("eval")&&(s=Uke.exec(l[2]))&&(l[2]=s[1],l[3]=s[2],l[4]=s[3]);var P=l[2]&&0===l[2].indexOf("address at ")?l[2].substr("address at ".length):l[2];d={url:P=(i=mS(Dz(l[1]||"?",P),2))[1],func:i[0],args:C?[l[2]]:[],line:l[3]?+l[3]:null,column:l[4]?+l[4]:null}}else if(l=Fke.exec(a[h]))d={url:l[2],func:l[1]||"?",args:[],line:+l[3],column:l[4]?+l[4]:null};else{if(!(l=Lke.exec(a[h])))continue;l[3]&&l[3].indexOf(" > eval")>-1&&(s=Bke.exec(l[3]))?(l[1]=l[1]||"eval",l[3]=s[1],l[4]=s[2],l[5]=""):0===h&&!l[5]&&void 0!==r.columnNumber&&(n[0].column=r.columnNumber+1),d={url:P=(t=mS(Dz(l[1]||"?",P=l[3]),2))[1],func:t[0],args:l[2]?l[2].split(","):[],line:l[4]?+l[4]:null,column:l[5]?+l[5]:null}}!d.func&&d.line&&(d.func="?"),n.push(d)}return n.length?{message:ZL(r),name:r.name,stack:n}:null}(r),i)return Oz(i,t)}catch(n){}return{message:ZL(r),name:r&&r.name,stack:[],failed:!0}}var Dz=function(i,t){var n=-1!==i.indexOf("safari-extension"),a=-1!==i.indexOf("safari-web-extension");return n||a?[-1!==i.indexOf("@")?i.split("@")[0]:"?",n?"safari-extension:"+t:"safari-web-extension:"+t]:[i,t]};function Oz(r,i){try{return In(In({},r),{stack:r.stack.slice(i)})}catch(t){return r}}function ZL(r){var i=r&&r.message;return i?i.error&&"string"==typeof i.error.message?i.error.message:i:"No error message"}function Pz(r){var i=LL(r.stack),t={type:r.name,value:r.message};return i&&i.length&&(t.stacktrace={frames:i}),void 0===t.type&&""===t.value&&(t.value="Unrecoverable error caught"),t}function Iz(r){return{exception:{values:[Pz(r)]}}}function LL(r){if(!r||!r.length)return[];var i=r,t=i[0].func||"",n=i[i.length-1].func||"";return(-1!==t.indexOf("captureMessage")||-1!==t.indexOf("captureException"))&&(i=i.slice(1)),-1!==n.indexOf("sentryWrapped")&&(i=i.slice(0,-1)),i.slice(0,50).map(function(a){return{colno:null===a.column?void 0:a.column,filename:a.url||i[0].url,function:a.func||"?",in_app:!0,lineno:null===a.line?void 0:a.line}}).reverse()}function FL(r,i,t){var n;if(void 0===t&&(t={}),uz(r)&&r.error)return Iz(bS(r=r.error));if(cz(r)||function(r){return"[object DOMException]"===Object.prototype.toString.call(r)}(r)){var o=r,s=o.name||(cz(o)?"DOMError":"DOMException"),l=o.message?s+": "+o.message:s;return kL(n=BL(l,i,t),l),"code"in o&&(n.tags=In(In({},n.tags),{"DOMException.code":""+o.code})),n}return lz(r)?n=Iz(bS(r)):my(r)||xL(r)?(n=function(r,i,t){var n={exception:{values:[{type:xL(r)?r.constructor.name:t?"UnhandledRejection":"Error",value:"Non-Error "+(t?"promise rejection":"exception")+" captured with keys: "+tke(r)}]},extra:{__serialized__:vz(r)}};if(i){var o=LL(bS(i).stack);n.stacktrace={frames:o}}return n}(r,i,t.rejection),py(n,{synthetic:!0}),n):(kL(n=BL(r,i,t),""+r,void 0),py(n,{synthetic:!0}),n)}function BL(r,i,t){void 0===t&&(t={});var n={message:r};if(t.attachStacktrace&&i){var o=LL(bS(i).stack);n.stacktrace={frames:o}}return n}function Rz(r){if(r.metadata&&r.metadata.sdk){var i=r.metadata.sdk;return{name:i.name,version:i.version}}}function Yke(r,i){return i&&(r.sdk=r.sdk||{},r.sdk.name=r.sdk.name||i.name,r.sdk.version=r.sdk.version||i.version,r.sdk.integrations=Fa(r.sdk.integrations||[],i.integrations||[]),r.sdk.packages=Fa(r.sdk.packages||[],i.packages||[])),r}function Nz(r,i){var t=Rz(i),a="aggregates"in r?"sessions":"session";return{body:JSON.stringify(In(In({sent_at:(new Date).toISOString()},t&&{sdk:t}),i.forceEnvelope()&&{dsn:i.getDsn().toString()}))+"\n"+JSON.stringify({type:a})+"\n"+JSON.stringify(r),type:a,url:i.getEnvelopeEndpointWithUrlEncodedAuth()}}function Zz(r,i){var t=Rz(i),n=r.type||"event",a="transaction"===n||i.forceEnvelope(),o=r.debug_meta||{},s=o.transactionSampling,l=function(r,i){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&i.indexOf(n)<0&&(t[n]=r[n]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(r);a<n.length;a++)i.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(r,n[a])&&(t[n[a]]=r[n[a]])}return t}(o,["transactionSampling"]),d=s||{},h=d.method,C=d.rate;0===Object.keys(l).length?delete r.debug_meta:r.debug_meta=l;var P={body:JSON.stringify(t?Yke(r,i.metadata.sdk):r),type:n,url:a?i.getEnvelopeEndpointWithUrlEncodedAuth():i.getStoreEndpointWithUrlEncodedAuth()};if(a){var N=JSON.stringify(In(In({event_id:r.event_id,sent_at:(new Date).toISOString()},t&&{sdk:t}),i.forceEnvelope()&&{dsn:i.getDsn().toString()})),q=JSON.stringify({type:n,sample_rates:[{id:h,rate:C}]});P.body=N+"\n"+q+"\n"+P.body}return P}var D2,Fz=function(){function r(i,t,n){void 0===t&&(t={}),this.dsn=i,this._dsnObject=new xz(i),this.metadata=t,this._tunnel=n}return r.prototype.getDsn=function(){return this._dsnObject},r.prototype.forceEnvelope=function(){return!!this._tunnel},r.prototype.getBaseApiEndpoint=function(){var i=this.getDsn();return(i.protocol?i.protocol+":":"")+"//"+i.host+(i.port?":"+i.port:"")+(i.path?"/"+i.path:"")+"/api/"},r.prototype.getStoreEndpoint=function(){return this._getIngestEndpoint("store")},r.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return this.getStoreEndpoint()+"?"+this._encodedAuth()},r.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return this.forceEnvelope()?this._tunnel:this._getEnvelopeEndpoint()+"?"+this._encodedAuth()},r.prototype.getStoreEndpointPath=function(){var i=this.getDsn();return(i.path?"/"+i.path:"")+"/api/"+i.projectId+"/store/"},r.prototype.getRequestHeaders=function(i,t){var n=this.getDsn(),a=["Sentry sentry_version=7"];return a.push("sentry_client="+i+"/"+t),a.push("sentry_key="+n.publicKey),n.pass&&a.push("sentry_secret="+n.pass),{"Content-Type":"application/json","X-Sentry-Auth":a.join(", ")}},r.prototype.getReportDialogEndpoint=function(i){void 0===i&&(i={});var t=this.getDsn(),n=this.getBaseApiEndpoint()+"embed/error-page/",a=[];for(var o in a.push("dsn="+t.toString()),i)if("dsn"!==o)if("user"===o){if(!i.user)continue;i.user.name&&a.push("name="+encodeURIComponent(i.user.name)),i.user.email&&a.push("email="+encodeURIComponent(i.user.email))}else a.push(encodeURIComponent(o)+"="+encodeURIComponent(i[o]));return a.length?n+"?"+a.join("&"):n},r.prototype._getEnvelopeEndpoint=function(){return this._getIngestEndpoint("envelope")},r.prototype._getIngestEndpoint=function(i){return this._tunnel?this._tunnel:""+this.getBaseApiEndpoint()+this.getDsn().projectId+"/"+i+"/"},r.prototype._encodedAuth=function(){return function(r){return Object.keys(r).map(function(i){return encodeURIComponent(i)+"="+encodeURIComponent(r[i])}).join("&")}({sentry_key:this.getDsn().publicKey,sentry_version:"7"})},r}(),Jke=function(){function r(i){this._limit=i,this._buffer=[]}return r.prototype.isReady=function(){return void 0===this._limit||this.length()<this._limit},r.prototype.add=function(i){var t=this;if(!this.isReady())return Al.reject(new Do("Not adding Promise due to buffer limit reached."));var n=i();return-1===this._buffer.indexOf(n)&&this._buffer.push(n),n.then(function(){return t.remove(n)}).then(null,function(){return t.remove(n).then(null,function(){})}),n},r.prototype.remove=function(i){return this._buffer.splice(this._buffer.indexOf(i),1)[0]},r.prototype.length=function(){return this._buffer.length},r.prototype.drain=function(i){var t=this;return new Al(function(n){var a=setTimeout(function(){i&&i>0&&n(!1)},i);Al.all(t._buffer).then(function(){clearTimeout(a),n(!0)}).then(null,function(){n(!0)})})},r}(),Mc=(0,_o.R)();function Bz(){var r,i;if(D2)return D2;if(IL(Mc.fetch))return D2=Mc.fetch.bind(Mc);var t=Mc.document,n=Mc.fetch;if("function"==typeof(null===(r=t)||void 0===r?void 0:r.createElement))try{var a=t.createElement("iframe");a.hidden=!0,t.head.appendChild(a),(null===(i=a.contentWindow)||void 0===i?void 0:i.fetch)&&(n=a.contentWindow.fetch),t.head.removeChild(a)}catch(o){ki.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",o)}return D2=n.bind(Mc)}var Uz={event:"error",transaction:"transaction",session:"session",attachment:"attachment"},UL=(0,_o.R)(),Hz=function(){function r(i){var t=this;this.options=i,this._buffer=new Jke(30),this._rateLimits={},this._outcomes={},this._api=new Fz(i.dsn,i._metadata,i.tunnel),this.url=this._api.getStoreEndpointWithUrlEncodedAuth(),this.options.sendClientReports&&UL.document&&UL.document.addEventListener("visibilitychange",function(){"hidden"===UL.document.visibilityState&&t._flushOutcomes()})}return r.prototype.sendEvent=function(i){throw new Do("Transport Class has to implement `sendEvent` method")},r.prototype.close=function(i){return this._buffer.drain(i)},r.prototype.recordLostEvent=function(i,t){var n;if(this.options.sendClientReports){var a=Uz[t]+":"+i;ki.log("Adding outcome: "+a),this._outcomes[a]=(null!=(n=this._outcomes[a])?n:0)+1}},r.prototype._flushOutcomes=function(){if(this.options.sendClientReports){var i=this._outcomes;if(this._outcomes={},!Object.keys(i).length)return void ki.log("No outcomes to flush");ki.log("Flushing outcomes:\n"+JSON.stringify(i,null,2));var t=this._api.getEnvelopeEndpointWithUrlEncodedAuth(),s=JSON.stringify(In({},this.options.tunnel&&{dsn:this._api.getDsn().toString()}))+"\n"+JSON.stringify({type:"client_report"})+"\n"+JSON.stringify({timestamp:(0,fy.yW)(),discarded_events:Object.keys(i).map(function(l){var d=mS(l.split(":"),2);return{reason:d[1],category:d[0],quantity:i[l]}})});try{!function(r,i){"[object Navigator]"===Object.prototype.toString.call(Mc&&Mc.navigator)&&"function"==typeof Mc.navigator.sendBeacon?Mc.navigator.sendBeacon.bind(Mc.navigator)(r,i):x2()&&function(r){r.then(null,function(i){console.error(i)})}(Bz()(r,{body:i,method:"POST",credentials:"omit",keepalive:!0}))}(t,s)}catch(l){ki.error(l)}}},r.prototype._handleResponse=function(i){var t=i.requestType,n=i.response,a=i.headers,o=i.resolve,s=i.reject,l=ah.fromHttpCode(n.status);this._handleRateLimit(a)&&ki.warn("Too many "+t+" requests, backing off until: "+this._disabledUntil(t)),l!==ah.Success?s(n):o({status:l})},r.prototype._disabledUntil=function(i){return this._rateLimits[Uz[i]]||this._rateLimits.all},r.prototype._isRateLimited=function(i){return this._disabledUntil(i)>new Date(Date.now())},r.prototype._handleRateLimit=function(i){var t,n,a,o,s=Date.now(),l=i["x-sentry-rate-limits"],d=i["retry-after"];if(l){try{for(var h=dv(l.trim().split(",")),C=h.next();!C.done;C=h.next()){var N=C.value.split(":",2),q=parseInt(N[0],10),Q=1e3*(isNaN(q)?60:q);try{for(var te=(a=void 0,dv(N[1].split(";"))),se=te.next();!se.done;se=te.next())this._rateLimits[se.value||"all"]=new Date(s+Q)}catch($e){a={error:$e}}finally{try{se&&!se.done&&(o=te.return)&&o.call(te)}finally{if(a)throw a.error}}}}catch($e){t={error:$e}}finally{try{C&&!C.done&&(n=h.return)&&n.call(h)}finally{if(t)throw t.error}}return!0}return!!d&&(this._rateLimits.all=new Date(s+function(r,i){if(!i)return 6e4;var t=parseInt(""+i,10);if(!isNaN(t))return 1e3*t;var n=Date.parse(""+i);return isNaN(n)?6e4:n-r}(s,d)),!0)},r}(),Xke=function(r){function i(t,n){void 0===n&&(n=Bz());var a=r.call(this,t)||this;return a._fetch=n,a}return hS(i,r),i.prototype.sendEvent=function(t){return this._sendRequest(Zz(t,this._api),t)},i.prototype.sendSession=function(t){return this._sendRequest(Nz(t,this._api),t)},i.prototype._sendRequest=function(t,n){var a=this;if(this._isRateLimited(t.type))return this.recordLostEvent(Zu.RateLimitBackoff,t.type),Promise.reject({event:n,type:t.type,reason:"Transport for "+t.type+" requests locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429});var o={body:t.body,method:"POST",referrerPolicy:dke()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(o,this.options.fetchParameters),void 0!==this.options.headers&&(o.headers=this.options.headers),this._buffer.add(function(){return new Al(function(s,l){a._fetch(t.url,o).then(function(d){var h={"x-sentry-rate-limits":d.headers.get("X-Sentry-Rate-Limits"),"retry-after":d.headers.get("Retry-After")};a._handleResponse({requestType:t.type,response:d,headers:h,resolve:s,reject:l})}).catch(l)})}).then(void 0,function(s){throw a.recordLostEvent(s instanceof Do?Zu.QueueOverflow:Zu.NetworkError,t.type),s})},i}(Hz),$ke=function(r){function i(){return null!==r&&r.apply(this,arguments)||this}return hS(i,r),i.prototype.sendEvent=function(t){return this._sendRequest(Zz(t,this._api),t)},i.prototype.sendSession=function(t){return this._sendRequest(Nz(t,this._api),t)},i.prototype._sendRequest=function(t,n){var a=this;return this._isRateLimited(t.type)?(this.recordLostEvent(Zu.RateLimitBackoff,t.type),Promise.reject({event:n,type:t.type,reason:"Transport for "+t.type+" requests locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429})):this._buffer.add(function(){return new Al(function(o,s){var l=new XMLHttpRequest;for(var d in l.onreadystatechange=function(){if(4===l.readyState){var h={"x-sentry-rate-limits":l.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":l.getResponseHeader("Retry-After")};a._handleResponse({requestType:t.type,response:l,headers:h,resolve:o,reject:s})}},l.open("POST",t.url),a.options.headers)Object.prototype.hasOwnProperty.call(a.options.headers,d)&&l.setRequestHeader(d,a.options.headers[d]);l.send(t.body)})}).then(void 0,function(o){throw a.recordLostEvent(o instanceof Do?Zu.QueueOverflow:Zu.NetworkError,t.type),o})},i}(Hz),ewe=function(r){function i(){return null!==r&&r.apply(this,arguments)||this}return hS(i,r),i.prototype.eventFromException=function(t,n){return function(r,i,t){var a=FL(i,t&&t.syntheticException||void 0,{attachStacktrace:r.attachStacktrace});return py(a),a.level=Ec.Error,t&&t.event_id&&(a.event_id=t.event_id),Al.resolve(a)}(this._options,t,n)},i.prototype.eventFromMessage=function(t,n,a){return void 0===n&&(n=Ec.Info),function(r,i,t,n){void 0===t&&(t=Ec.Info);var o=BL(i,n&&n.syntheticException||void 0,{attachStacktrace:r.attachStacktrace});return o.level=t,n&&n.event_id&&(o.event_id=n.event_id),Al.resolve(o)}(this._options,t,n,a)},i.prototype._setupTransport=function(){if(!this._options.dsn)return r.prototype._setupTransport.call(this);var t=In(In({},this._options.transportOptions),{dsn:this._options.dsn,tunnel:this._options.tunnel,sendClientReports:this._options.sendClientReports,_metadata:this._options._metadata});return this._options.transport?new this._options.transport(t):x2()?new Xke(t):new $ke(t)},i}(Nke),O2=(0,_o.R)(),HL=0;function Vz(){return HL>0}function twe(){HL+=1,setTimeout(function(){HL-=1})}function _y(r,i,t){if(void 0===i&&(i={}),"function"!=typeof r)return r;try{if(r.__sentry__)return r;if(r.__sentry_wrapped__)return r.__sentry_wrapped__}catch(s){return r}var n=function(){var l=Array.prototype.slice.call(arguments);try{t&&"function"==typeof t&&t.apply(this,arguments);var d=l.map(function(h){return _y(h,i)});return r.handleEvent?r.handleEvent.apply(this,d):r.apply(this,d)}catch(h){throw twe(),ake(function(C){C.addEventProcessor(function(P){var N=In({},P);return i.mechanism&&(kL(N,void 0,void 0),py(N,i.mechanism)),N.extra=In(In({},N.extra),{arguments:l}),N}),Cz(h)}),h}};try{for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(n[a]=r[a])}catch(s){}r.prototype=r.prototype||{},n.prototype=r.prototype,Object.defineProperty(r,"__sentry_wrapped__",{enumerable:!1,value:n}),Object.defineProperties(n,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:r}});try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:function(){return r.name}})}catch(s){}return n}var jz=function(){function r(i){this.name=r.id,this._options=In({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},i)}return r.prototype.addSentryBreadcrumb=function(i){!this._options.sentry||Hs().addBreadcrumb({category:"sentry."+("transaction"===i.type?"transaction":"event"),event_id:i.event_id,level:i.level,message:pv(i)},{event:i})},r.prototype.setupOnce=function(){var i=this;this._options.console&&ih({callback:function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];i._consoleBreadcrumb.apply(i,Fa(n))},type:"console"}),this._options.dom&&ih({callback:function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];i._domBreadcrumb.apply(i,Fa(n))},type:"dom"}),this._options.xhr&&ih({callback:function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];i._xhrBreadcrumb.apply(i,Fa(n))},type:"xhr"}),this._options.fetch&&ih({callback:function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];i._fetchBreadcrumb.apply(i,Fa(n))},type:"fetch"}),this._options.history&&ih({callback:function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];i._historyBreadcrumb.apply(i,Fa(n))},type:"history"})},r.prototype._consoleBreadcrumb=function(i){var t={category:"console",data:{arguments:i.args,logger:"console"},level:Ec.fromString(i.level),message:hz(i.args," ")};if("assert"===i.level){if(!1!==i.args[0])return;t.message="Assertion failed: "+(hz(i.args.slice(1)," ")||"console.assert"),t.data.arguments=i.args.slice(1)}Hs().addBreadcrumb(t,{input:i.args,level:i.level})},r.prototype._domBreadcrumb=function(i){var t,n="object"==typeof this._options.dom?this._options.dom.serializeAttribute:void 0;"string"==typeof n&&(n=[n]);try{t=k2(i.event.target?i.event.target:i.event,n)}catch(a){t="<unknown>"}0!==t.length&&Hs().addBreadcrumb({category:"ui."+i.name,message:t},{event:i.event,name:i.name,global:i.global})},r.prototype._xhrBreadcrumb=function(i){if(i.endTimestamp){if(i.xhr.__sentry_own_request__)return;var t=i.xhr.__sentry_xhr__||{},n=t.method,a=t.url,o=t.status_code,s=t.body;Hs().addBreadcrumb({category:"xhr",data:{method:n,url:a,status_code:o},type:"http"},{xhr:i.xhr,input:s})}},r.prototype._fetchBreadcrumb=function(i){!i.endTimestamp||i.fetchData.url.match(/sentry_key/)&&"POST"===i.fetchData.method||(i.error?Hs().addBreadcrumb({category:"fetch",data:i.fetchData,level:Ec.Error,type:"http"},{data:i.error,input:i.args}):Hs().addBreadcrumb({category:"fetch",data:In(In({},i.fetchData),{status_code:i.response.status}),type:"http"},{input:i.args,response:i.response}))},r.prototype._historyBreadcrumb=function(i){var t=(0,_o.R)(),n=i.from,a=i.to,o=TL(t.location.href),s=TL(n),l=TL(a);s.path||(s=o),o.protocol===l.protocol&&o.host===l.host&&(a=l.relative),o.protocol===s.protocol&&o.host===s.host&&(n=s.relative),Hs().addBreadcrumb({category:"navigation",data:{from:n,to:a}})},r.id="Breadcrumbs",r}(),rwe=function(r){function i(t){return void 0===t&&(t={}),t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:"6.14.1"}],version:"6.14.1"},r.call(this,ewe,t)||this}return hS(i,r),i.prototype.showReportDialog=function(t){if(void 0===t&&(t={}),(0,_o.R)().document){if(!this._isEnabled())return void ki.error("Trying to call showReportDialog with Sentry Client disabled");!function(r){if(void 0===r&&(r={}),O2.document){if(!r.eventId)return void ki.error("Missing eventId option in showReportDialog call");if(!r.dsn)return void ki.error("Missing dsn option in showReportDialog call");var i=O2.document.createElement("script");i.async=!0,i.src=new Fz(r.dsn).getReportDialogEndpoint(r),r.onLoad&&(i.onload=r.onLoad);var t=O2.document.head||O2.document.body;t&&t.appendChild(i)}}(In(In({},t),{dsn:t.dsn||this.getDsn()}))}},i.prototype._prepareEvent=function(t,n,a){return t.platform=t.platform||"javascript",r.prototype._prepareEvent.call(this,t,n,a)},i.prototype._sendEvent=function(t){var n=this.getIntegration(jz);n&&n.addSentryBreadcrumb(t),r.prototype._sendEvent.call(this,t)},i}(Ike),iwe=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],awe=function(){function r(i){this.name=r.id,this._options=In({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},i)}return r.prototype.setupOnce=function(){var i=(0,_o.R)();this._options.setTimeout&&Us(i,"setTimeout",this._wrapTimeFunction.bind(this)),this._options.setInterval&&Us(i,"setInterval",this._wrapTimeFunction.bind(this)),this._options.requestAnimationFrame&&Us(i,"requestAnimationFrame",this._wrapRAF.bind(this)),this._options.XMLHttpRequest&&"XMLHttpRequest"in i&&Us(XMLHttpRequest.prototype,"send",this._wrapXHR.bind(this)),this._options.eventTarget&&(Array.isArray(this._options.eventTarget)?this._options.eventTarget:iwe).forEach(this._wrapEventTarget.bind(this))},r.prototype._wrapTimeFunction=function(i){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var a=t[0];return t[0]=_y(a,{mechanism:{data:{function:nh(i)},handled:!0,type:"instrument"}}),i.apply(this,t)}},r.prototype._wrapRAF=function(i){return function(t){return i.call(this,_y(t,{mechanism:{data:{function:"requestAnimationFrame",handler:nh(i)},handled:!0,type:"instrument"}}))}},r.prototype._wrapEventTarget=function(i){var t=(0,_o.R)(),n=t[i]&&t[i].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(Us(n,"addEventListener",function(a){return function(o,s,l){try{"function"==typeof s.handleEvent&&(s.handleEvent=_y(s.handleEvent.bind(s),{mechanism:{data:{function:"handleEvent",handler:nh(s),target:i},handled:!0,type:"instrument"}}))}catch(d){}return a.call(this,o,_y(s,{mechanism:{data:{function:"addEventListener",handler:nh(s),target:i},handled:!0,type:"instrument"}}),l)}}),Us(n,"removeEventListener",function(a){return function(o,s,l){var d,h=s;try{var C=null===(d=h)||void 0===d?void 0:d.__sentry_wrapped__;C&&a.call(this,o,C,l)}catch(P){}return a.call(this,o,h,l)}}))},r.prototype._wrapXHR=function(i){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var a=this,o=["onload","onerror","onprogress","onreadystatechange"];return o.forEach(function(s){s in a&&"function"==typeof a[s]&&Us(a,s,function(l){var d={mechanism:{data:{function:s,handler:nh(l)},handled:!0,type:"instrument"}};return l.__sentry_original__&&(d.mechanism.data.handler=nh(l.__sentry_original__)),_y(l,d)})}),i.apply(this,t)}},r.id="TryCatch",r}(),owe=function(){function r(i){this.name=r.id,this._onErrorHandlerInstalled=!1,this._onUnhandledRejectionHandlerInstalled=!1,this._options=In({onerror:!0,onunhandledrejection:!0},i)}return r.prototype.setupOnce=function(){Error.stackTraceLimit=50,this._options.onerror&&(ki.log("Global Handler attached: onerror"),this._installGlobalOnErrorHandler()),this._options.onunhandledrejection&&(ki.log("Global Handler attached: onunhandledrejection"),this._installGlobalOnUnhandledRejectionHandler())},r.prototype._installGlobalOnErrorHandler=function(){var i=this;this._onErrorHandlerInstalled||(ih({callback:function(n){var a=n.error,o=Hs(),s=o.getIntegration(r),l=a&&!0===a.__sentry_own_request__;if(s&&!Vz()&&!l){var d=o.getClient(),h=void 0===a&&hy(n.msg)?i._eventFromIncompleteOnError(n.msg,n.url,n.line,n.column):i._enhanceEventWithInitialFrame(FL(a||n.msg,void 0,{attachStacktrace:d&&d.getOptions().attachStacktrace,rejection:!1}),n.url,n.line,n.column);py(h,{handled:!1,type:"onerror"}),o.captureEvent(h,{originalException:a})}},type:"error"}),this._onErrorHandlerInstalled=!0)},r.prototype._installGlobalOnUnhandledRejectionHandler=function(){var i=this;this._onUnhandledRejectionHandlerInstalled||(ih({callback:function(n){var a=n;try{"reason"in n?a=n.reason:"detail"in n&&"reason"in n.detail&&(a=n.detail.reason)}catch(C){}var o=Hs(),s=o.getIntegration(r),l=a&&!0===a.__sentry_own_request__;if(!s||Vz()||l)return!0;var d=o.getClient(),h=C2(a)?i._eventFromRejectionWithPrimitive(a):FL(a,void 0,{attachStacktrace:d&&d.getOptions().attachStacktrace,rejection:!0});h.level=Ec.Error,py(h,{handled:!1,type:"onunhandledrejection"}),o.captureEvent(h,{originalException:a})},type:"unhandledrejection"}),this._onUnhandledRejectionHandlerInstalled=!0)},r.prototype._eventFromIncompleteOnError=function(i,t,n,a){var l,s=uz(i)?i.message:i,d=s.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);return d&&(l=d[1],s=d[2]),this._enhanceEventWithInitialFrame({exception:{values:[{type:l||"Error",value:s}]}},t,n,a)},r.prototype._eventFromRejectionWithPrimitive=function(i){return{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(i)}]}}},r.prototype._enhanceEventWithInitialFrame=function(i,t,n,a){i.exception=i.exception||{},i.exception.values=i.exception.values||[],i.exception.values[0]=i.exception.values[0]||{},i.exception.values[0].stacktrace=i.exception.values[0].stacktrace||{},i.exception.values[0].stacktrace.frames=i.exception.values[0].stacktrace.frames||[];var o=isNaN(parseInt(a,10))?void 0:a,s=isNaN(parseInt(n,10))?void 0:n,l=hy(t)&&t.length>0?t:function(){var r=(0,_o.R)();try{return r.document.location.href}catch(i){return""}}();return 0===i.exception.values[0].stacktrace.frames.length&&i.exception.values[0].stacktrace.frames.push({colno:o,filename:l,function:"?",in_app:!0,lineno:s}),i},r.id="GlobalHandlers",r}(),uwe=function(){function r(i){void 0===i&&(i={}),this.name=r.id,this._key=i.key||"cause",this._limit=i.limit||5}return r.prototype.setupOnce=function(){T2(function(i,t){var n=Hs().getIntegration(r);if(n){var a=n._handler&&n._handler.bind(n);return"function"==typeof a?a(i,t):i}return i})},r.prototype._handler=function(i,t){if(!(i.exception&&i.exception.values&&t&&th(t.originalException,Error)))return i;var n=this._walkErrorTree(t.originalException,this._key);return i.exception.values=Fa(n,i.exception.values),i},r.prototype._walkErrorTree=function(i,t,n){if(void 0===n&&(n=[]),!th(i[t],Error)||n.length+1>=this._limit)return n;var o=Pz(bS(i[t]));return this._walkErrorTree(i[t],t,Fa([o],n))},r.id="LinkedErrors",r}(),cwe=function(){function r(){this.name=r.id}return r.prototype.setupOnce=function(i,t){i(function(n){var a=t().getIntegration(r);if(a){try{if(a._shouldDropEvent(n,a._previousEvent))return ki.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(o){return a._previousEvent=n}return a._previousEvent=n}return n})},r.prototype._shouldDropEvent=function(i,t){return!(!t||!this._isSameMessageEvent(i,t)&&!this._isSameExceptionEvent(i,t))},r.prototype._isSameMessageEvent=function(i,t){var n=i.message,a=t.message;return!(!n&&!a||n&&!a||!n&&a||n!==a||!this._isSameFingerprint(i,t)||!this._isSameStacktrace(i,t))},r.prototype._getFramesFromEvent=function(i){var t=i.exception;if(t)try{return t.values[0].stacktrace.frames}catch(n){return}else if(i.stacktrace)return i.stacktrace.frames},r.prototype._isSameStacktrace=function(i,t){var n=this._getFramesFromEvent(i),a=this._getFramesFromEvent(t);if(!n&&!a)return!0;if(n&&!a||!n&&a||(a=a).length!==(n=n).length)return!1;for(var o=0;o<a.length;o++){var s=a[o],l=n[o];if(s.filename!==l.filename||s.lineno!==l.lineno||s.colno!==l.colno||s.function!==l.function)return!1}return!0},r.prototype._getExceptionFromEvent=function(i){return i.exception&&i.exception.values&&i.exception.values[0]},r.prototype._isSameExceptionEvent=function(i,t){var n=this._getExceptionFromEvent(t),a=this._getExceptionFromEvent(i);return!!(n&&a&&n.type===a.type&&n.value===a.value&&this._isSameFingerprint(i,t)&&this._isSameStacktrace(i,t))},r.prototype._isSameFingerprint=function(i,t){var n=i.fingerprint,a=t.fingerprint;if(!n&&!a)return!0;if(n&&!a||!n&&a)return!1;n=n,a=a;try{return n.join("")===a.join("")}catch(o){return!1}},r.id="Dedupe",r}(),yy=(0,_o.R)(),dwe=function(){function r(){this.name=r.id}return r.prototype.setupOnce=function(){T2(function(i){var t,n,a;if(Hs().getIntegration(r)){if(!yy.navigator&&!yy.location&&!yy.document)return i;var o=(null===(t=i.request)||void 0===t?void 0:t.url)||(null===(n=yy.location)||void 0===n?void 0:n.href),s=(yy.document||{}).referrer,l=(yy.navigator||{}).userAgent,d=In(In(In({},null===(a=i.request)||void 0===a?void 0:a.headers),s&&{Referer:s}),l&&{"User-Agent":l}),h=In(In({},o&&{url:o}),{headers:d});return In(In({},i),{request:h})}return i})},r.id="UserAgent",r}(),pwe=[new lke,new uke,new awe,new jz,new owe,new uwe,new cwe,new dwe];!function(r){if(void 0===r&&(r={}),void 0===r.defaultIntegrations&&(r.defaultIntegrations=pwe),void 0===r.release){var i=(0,_o.R)();i.SENTRY_RELEASE&&i.SENTRY_RELEASE.id&&(r.release=i.SENTRY_RELEASE.id)}void 0===r.autoSessionTracking&&(r.autoSessionTracking=!0),void 0===r.sendClientReports&&(r.sendClientReports=!0),function(r,i){var t;!0===i.debug&&ki.enable();var n=Hs();null===(t=n.getScope())||void 0===t||t.update(i.initialScope);var a=new r(i);n.bindClient(a)}(rwe,r),r.autoSessionTracking&&function(){if(void 0!==(0,_o.R)().document){var t=Hs();"function"!=typeof t.startSession||"function"!=typeof t.captureSession||(t.startSession({ignoreDuration:!0}),t.captureSession(),ih({callback:function(a){var o=a.from;void 0===o||o===a.to||(t.startSession({ignoreDuration:!0}),t.captureSession())},type:"history"}))}else ki.warn("Session tracking in non-browser environment with @sentry/browser is not supported.")}()}({dsn:"https://d8be3a98530f49eb90968ff396db326c@o19455.ingest.sentry.io/842726"});var vwe=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.injector=t}return(0,g.Z)(i,[{key:"extractError",value:function(n){return n&&n.ngOriginalError&&(n=n.ngOriginalError),"string"==typeof n||n instanceof Error?n:n instanceof ic.UA?n.error instanceof Error?n.error:n.error instanceof ErrorEvent?n.error.message:"string"==typeof n.error?"Server returned code ".concat(n.status,' with body "').concat(n.error,'"'):n.message:null}},{key:"handleError",value:function(n){var a=this.extractError(n)||"Handled unknown error";Cz(a)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(e.zs3))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),gwe=function(){var r=function(i){(0,O.Z)(n,i);var t=(0,y.Z)(n);function n(){return(0,v.Z)(this,n),t.apply(this,arguments)}return(0,g.Z)(n,[{key:"handleError",value:function(o){if(o.error&&o.error.status&&!(400===o.error.status||403===o.error.status||404===o.error.status||409===o.error.status)&&(0,x.Z)((0,Z.Z)(n.prototype),"handleError",this).call(this,o),o){var s=this.injector.get(Yn);o.error&&o.error.message?s.error(o.error.message):o.message?s.error(o.message):o.error&&s.error(o.error)}}}]),n}(vwe);return r.\u0275fac=function(){var i;return function(n){return(i||(i=e.n5z(r)))(n||r)}}(),r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),_we=function(){var r=function(){function i(){(0,v.Z)(this,i)}return(0,g.Z)(i,[{key:"transform",value:function(n,a){return n?a?(a=a.toLowerCase(),n.projectDatabase.data.filter(function(o){return o.filename.toLowerCase().includes(a)})):n:[]}}]),i}();return r.\u0275fac=function(t){return new(t||r)},r.\u0275pipe=e.Yjl({name:"projectsfilter",type:r,pure:!0}),r}(),ywe=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[[sn.uc,sn.BQ],sn.uc,sn.BQ]}),r}(),kwe=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({}),r}(),Pwe=function(){var r=function i(){(0,v.Z)(this,i)};return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[[kwe,sn.BQ],sn.BQ]}),r}(),Iwe=[Wye,PA,Tj,xoe,xTe,f6,Ln.lN,Poe,Dse,Jle,Hpe,Pae,jV,$ce,gse,ise,d0e,yi.LD,HV,Zce,ole,ywe,Ta.Nh,Pwe,pq,dTe],qz=function(){var r=function i(t,n){(0,v.Z)(this,i),t.events.subscribe(function(a){n.getStatisticsSettings()&&a instanceof Wm&&(gtag("set","page",a.url),gtag("send","pageview"))})};return r.\u0275fac=function(t){return new(t||r)(e.LFG(xr),e.LFG(wp.g))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Rwe=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.httpServer=t}return(0,g.Z)(i,[{key:"get",value:function(n){return this.httpServer.get(n,"/settings")}},{key:"update",value:function(n,a){return this.httpServer.post(n,"/settings",a)}},{key:"getSettingsForQemu",value:function(n){return this.httpServer.get(n,"/settings/qemu")}},{key:"updateSettingsForQemu",value:function(n,a){return this.httpServer.put(n,"/settings/qemu",{enable_hardware_acceleration:a.enable_hardware_acceleration,require_hardware_acceleration:a.require_hardware_acceleration})}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(Ja.wh))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Nwe=function(){var r=function(){function i(t){(0,v.Z)(this,i),this.httpServer=t}return(0,g.Z)(i,[{key:"getTemplates",value:function(n){return this.httpServer.get(n,"/templates")}},{key:"getTemplate",value:function(n,a){return this.httpServer.get(n,"/templates/".concat(a))}},{key:"addTemplate",value:function(n,a){return this.httpServer.post(n,"/templates",a)}},{key:"saveTemplate",value:function(n,a){return this.httpServer.put(n,"/templates/".concat(a.template_id),a)}}]),i}();return r.\u0275fac=function(t){return new(t||r)(e.LFG(Ja.wh))},r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(),Zwe=function(){var r=function i(t){(0,v.Z)(this,i),this._googleAnalyticsService=t};return r.\u0275fac=function(t){return new(t||r)(e.LFG(qz))},r.\u0275mod=e.oAB({type:r,bootstrap:[ITe]}),r.\u0275inj=e.cJS({providers:[wp.g,{provide:e.qLn,useClass:gwe},VZ,Qq,vd.Y,J1,Vr,K_,Yr,wc,Fs,Ja.wh,m2,gL,Yn,zf,pL,Kf.F,Ao.G,BTe,zq,Tc,lq,Bs,Ja.gc,IA,kp,sS,Rwe,Sp,qA,bc,VA,pd,ev,sj,oj,aj,BA,UA,P6,zA,Gf,jA,I6,Xm,K1,tv,M6,f2.p,_L,sy,bL,Kq,Fq,a2,rL,Nu,mq,Cc.X,Nwe,aL,Bq,Hj,Ru.f,qz,gd,CL,az,U.Dx,Cq,Xq],imports:[[U.b2,ic.JF,OTe,re.u5,re.UX,Js.PW,Ox,FTe,mre,pre,m3,Ks.ym,T3,wu,kH,Iwe,sre.forRoot(),Ga.U8]]}),r}();e.B6R(Jq,[En,re._Y,re.JL,re.F,Ln.KE,ir,re.Fj,re.JJ,re.On,nu,cS,kl,Tl,wl,Sq,Sl,xl,W_,Pt.O5,ts,er,ru,au,iu,ou],[_we]),(0,e.G48)(),U.q6().bootstrapModule(Zwe).then(function(r){var i=r.injector.get(e.z2F);(0,U.HJ)(i.components[0])}).catch(function(r){return console.log(r)})},50988:function(ue,j,f){"use strict";function B(U,V){(null==V||V>U.length)&&(V=U.length);for(var L=0,w=new Array(V);L<V;L++)w[L]=U[L];return w}f.d(j,{Z:function(){return B}})},10061:function(ue,j,f){"use strict";function B(U){if(Array.isArray(U))return U}f.d(j,{Z:function(){return B}})},88009:function(ue,j,f){"use strict";function B(U){if(void 0===U)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}f.d(j,{Z:function(){return B}})},18967:function(ue,j,f){"use strict";function B(U,V){if(!(U instanceof V))throw new TypeError("Cannot call a class as a function")}f.d(j,{Z:function(){return B}})},99740:function(ue,j,f){"use strict";f.d(j,{Z:function(){return V}});var B=f(35470),U=f(1854);function V(L,w,R){return(V=(0,U.Z)()?Reflect.construct:function(E,x,Z){var O=[null];O.push.apply(O,x);var T=new(Function.bind.apply(E,O));return Z&&(0,B.Z)(T,Z.prototype),T}).apply(null,arguments)}},14105:function(ue,j,f){"use strict";function B(V,L){for(var w=0;w<L.length;w++){var R=L[w];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(V,R.key,R)}}function U(V,L,w){return L&&B(V.prototype,L),w&&B(V,w),V}f.d(j,{Z:function(){return U}})},36683:function(ue,j,f){"use strict";f.d(j,{Z:function(){return U}});var B=f(9087);function U(V,L){var w="undefined"!=typeof Symbol&&V[Symbol.iterator]||V["@@iterator"];if(!w){if(Array.isArray(V)||(w=(0,B.Z)(V))||L&&V&&"number"==typeof V.length){w&&(V=w);var R=0,b=function(){};return{s:b,n:function(){return R>=V.length?{done:!0}:{done:!1,value:V[R++]}},e:function(y){throw y},f:b}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var Z,E=!0,x=!1;return{s:function(){w=w.call(V)},n:function(){var y=w.next();return E=y.done,y},e:function(y){x=!0,Z=y},f:function(){try{!E&&null!=w.return&&w.return()}finally{if(x)throw Z}}}}},97154:function(ue,j,f){"use strict";f.d(j,{Z:function(){return L}});var B=f(89200),U=f(1854),V=f(65737);function L(w){var R=(0,U.Z)();return function(){var x,E=(0,B.Z)(w);if(R){var Z=(0,B.Z)(this).constructor;x=Reflect.construct(E,arguments,Z)}else x=E.apply(this,arguments);return(0,V.Z)(this,x)}}},42515:function(ue,j,f){"use strict";function B(U,V,L){return V in U?Object.defineProperty(U,V,{value:L,enumerable:!0,configurable:!0,writable:!0}):U[V]=L,U}f.d(j,{Z:function(){return B}})},38402:function(ue,j,f){"use strict";f.d(j,{Z:function(){return V}});var B=f(89200);function V(L,w,R){return V="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(E,x,Z){var O=function(L,w){for(;!Object.prototype.hasOwnProperty.call(L,w)&&null!==(L=(0,B.Z)(L)););return L}(E,x);if(O){var y=Object.getOwnPropertyDescriptor(O,x);return y.get?y.get.call(Z):y.value}},V(L,w,R||L)}},89200:function(ue,j,f){"use strict";function B(U){return(B=Object.setPrototypeOf?Object.getPrototypeOf:function(L){return L.__proto__||Object.getPrototypeOf(L)})(U)}f.d(j,{Z:function(){return B}})},10509:function(ue,j,f){"use strict";f.d(j,{Z:function(){return U}});var B=f(35470);function U(V,L){if("function"!=typeof L&&null!==L)throw new TypeError("Super expression must either be null or a function");V.prototype=Object.create(L&&L.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),L&&(0,B.Z)(V,L)}},1854:function(ue,j,f){"use strict";function B(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(U){return!1}}f.d(j,{Z:function(){return B}})},16373:function(ue,j,f){"use strict";function B(U){if("undefined"!=typeof Symbol&&null!=U[Symbol.iterator]||null!=U["@@iterator"])return Array.from(U)}f.d(j,{Z:function(){return B}})},12486:function(ue,j,f){"use strict";function B(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}f.d(j,{Z:function(){return B}})},3801:function(ue,j,f){"use strict";f.d(j,{Z:function(){return V}});var B=f(42515);function U(L,w){var R=Object.keys(L);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(L);w&&(b=b.filter(function(E){return Object.getOwnPropertyDescriptor(L,E).enumerable})),R.push.apply(R,b)}return R}function V(L){for(var w=1;w<arguments.length;w++){var R=null!=arguments[w]?arguments[w]:{};w%2?U(Object(R),!0).forEach(function(b){(0,B.Z)(L,b,R[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(L,Object.getOwnPropertyDescriptors(R)):U(Object(R)).forEach(function(b){Object.defineProperty(L,b,Object.getOwnPropertyDescriptor(R,b))})}return L}},65737:function(ue,j,f){"use strict";function B(L){return(B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(L)}f.d(j,{Z:function(){return V}});var U=f(88009);function V(L,w){if(w&&("object"===B(w)||"function"==typeof w))return w;if(void 0!==w)throw new TypeError("Derived constructors may only return object or undefined");return(0,U.Z)(L)}},35470:function(ue,j,f){"use strict";function B(U,V){return(B=Object.setPrototypeOf||function(w,R){return w.__proto__=R,w})(U,V)}f.d(j,{Z:function(){return B}})},51380:function(ue,j,f){"use strict";f.d(j,{Z:function(){return w}});var B=f(10061),V=f(9087),L=f(12486);function w(R,b){return(0,B.Z)(R)||function(R,b){var E=null==R?null:"undefined"!=typeof Symbol&&R[Symbol.iterator]||R["@@iterator"];if(null!=E){var y,T,x=[],Z=!0,O=!1;try{for(E=E.call(R);!(Z=(y=E.next()).done)&&(x.push(y.value),!b||x.length!==b);Z=!0);}catch(D){O=!0,T=D}finally{try{!Z&&null!=E.return&&E.return()}finally{if(O)throw T}}return x}}(R,b)||(0,V.Z)(R,b)||(0,L.Z)()}},99890:function(ue,j,f){"use strict";f.d(j,{Z:function(){return w}});var B=f(10061),U=f(16373),V=f(9087),L=f(12486);function w(R){return(0,B.Z)(R)||(0,U.Z)(R)||(0,V.Z)(R)||(0,L.Z)()}},333:function(ue,j,f){"use strict";f.d(j,{Z:function(){return R}});var B=f(50988),V=f(16373),L=f(9087);function R(b){return function(b){if(Array.isArray(b))return(0,B.Z)(b)}(b)||(0,V.Z)(b)||(0,L.Z)(b)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},9087:function(ue,j,f){"use strict";f.d(j,{Z:function(){return U}});var B=f(50988);function U(V,L){if(V){if("string"==typeof V)return(0,B.Z)(V,L);var w=Object.prototype.toString.call(V).slice(8,-1);if("Object"===w&&V.constructor&&(w=V.constructor.name),"Map"===w||"Set"===w)return Array.from(V);if("Arguments"===w||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w))return(0,B.Z)(V,L)}}},89750:function(ue,j,f){"use strict";f.d(j,{Z:function(){return w}});var B=f(89200),U=f(35470),L=f(99740);function w(R){var b="function"==typeof Map?new Map:void 0;return w=function(x){if(null===x||!function(R){return-1!==Function.toString.call(R).indexOf("[native code]")}(x))return x;if("function"!=typeof x)throw new TypeError("Super expression must either be null or a function");if(void 0!==b){if(b.has(x))return b.get(x);b.set(x,Z)}function Z(){return(0,L.Z)(x,arguments,(0,B.Z)(this).constructor)}return Z.prototype=Object.create(x.prototype,{constructor:{value:Z,enumerable:!1,writable:!0,configurable:!0}}),(0,U.Z)(Z,x)},w(R)}},69814:function(ue,j,f){"use strict";f.d(j,{l3:function(){return w},_j:function(){return V},LC:function(){return L},ZN:function(){return I},jt:function(){return b},pV:function(){return v},F4:function(){return y},IO:function(){return M},vP:function(){return x},SB:function(){return O},oB:function(){return Z},eR:function(){return T},X$:function(){return R},ZE:function(){return F},k1:function(){return G}});var B=f(14105),U=f(18967),V=function X(){(0,U.Z)(this,X)},L=function X(){(0,U.Z)(this,X)},w="*";function R(X,W){return{type:7,name:X,definitions:W,options:{}}}function b(X){var W=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:W,timings:X}}function x(X){var W=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:X,options:W}}function Z(X){return{type:6,styles:X,offset:null}}function O(X,W,Y){return{type:0,name:X,styles:W,options:Y}}function y(X){return{type:5,steps:X}}function T(X,W){var Y=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:X,animation:W,options:Y}}function v(){var X=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:X}}function M(X,W){var Y=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:X,animation:W,options:Y}}function S(X){Promise.resolve(null).then(X)}var I=function(){function X(){var W=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,Y=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;(0,U.Z)(this,X),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=W+Y}return(0,B.Z)(X,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(Y){return Y()}),this._onDoneFns=[])}},{key:"onStart",value:function(Y){this._onStartFns.push(Y)}},{key:"onDone",value:function(Y){this._onDoneFns.push(Y)}},{key:"onDestroy",value:function(Y){this._onDestroyFns.push(Y)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var Y=this;S(function(){return Y._onFinish()})}},{key:"_onStart",value:function(){this._onStartFns.forEach(function(Y){return Y()}),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(Y){return Y()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this._started=!1}},{key:"setPosition",value:function(Y){this._position=this.totalTime?Y*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(Y){var ae="start"==Y?this._onStartFns:this._onDoneFns;ae.forEach(function(K){return K()}),ae.length=0}}]),X}(),F=function(){function X(W){var Y=this;(0,U.Z)(this,X),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=W;var ae=0,K=0,fe=0,ce=this.players.length;0==ce?S(function(){return Y._onFinish()}):this.players.forEach(function(he){he.onDone(function(){++ae==ce&&Y._onFinish()}),he.onDestroy(function(){++K==ce&&Y._onDestroy()}),he.onStart(function(){++fe==ce&&Y._onStart()})}),this.totalTime=this.players.reduce(function(he,de){return Math.max(he,de.totalTime)},0)}return(0,B.Z)(X,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(Y){return Y()}),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach(function(Y){return Y.init()})}},{key:"onStart",value:function(Y){this._onStartFns.push(Y)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(Y){return Y()}),this._onStartFns=[])}},{key:"onDone",value:function(Y){this._onDoneFns.push(Y)}},{key:"onDestroy",value:function(Y){this._onDestroyFns.push(Y)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(Y){return Y.play()})}},{key:"pause",value:function(){this.players.forEach(function(Y){return Y.pause()})}},{key:"restart",value:function(){this.players.forEach(function(Y){return Y.restart()})}},{key:"finish",value:function(){this._onFinish(),this.players.forEach(function(Y){return Y.finish()})}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(Y){return Y.destroy()}),this._onDestroyFns.forEach(function(Y){return Y()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach(function(Y){return Y.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(Y){var ae=Y*this.totalTime;this.players.forEach(function(K){var fe=K.totalTime?Math.min(1,ae/K.totalTime):1;K.setPosition(fe)})}},{key:"getPosition",value:function(){var Y=this.players.reduce(function(ae,K){return null===ae||K.totalTime>ae.totalTime?K:ae},null);return null!=Y?Y.getPosition():0}},{key:"beforeDestroy",value:function(){this.players.forEach(function(Y){Y.beforeDestroy&&Y.beforeDestroy()})}},{key:"triggerCallback",value:function(Y){var ae="start"==Y?this._onStartFns:this._onDoneFns;ae.forEach(function(K){return K()}),ae.length=0}}]),X}(),G="!"},47497:function(ue,j,f){"use strict";f.d(j,{rt:function(){return _t},s1:function(){return xe},$s:function(){return Qe},kH:function(){return Lt},Em:function(){return He},tE:function(){return Nt},qV:function(){return nr},qm:function(){return lt},ic:function(){return tt},Kd:function(){return on},X6:function(){return Ye},yG:function(){return Me}});var B=f(51380),U=f(3801),V=f(38402),L=f(89200),w=f(10509),R=f(97154),b=f(18967),E=f(14105),x=f(86019),Z=f(83668),O=f(27807),y=f(43501),T=f(37810),D=f(82429),v=f(51628),g=f(24305),M=f(46656),k=f(50439),S=f(98771),I=f(63303),F=f(38869),G=f(65944),X=f(35634),W=f(80348),Y=f(50928),ae=f(13242);function he(we,je){return(we.getAttribute(je)||"").match(/\S+/g)||[]}var de="cdk-describedby-message-container",oe="cdk-describedby-message",Ce="cdk-describedby-host",ge=0,qe=new Map,De=null,Qe=function(){var we=function(){function je(Re){(0,b.Z)(this,je),this._document=Re}return(0,E.Z)(je,[{key:"describe",value:function(Xe,pt,Ft){if(this._canBeDescribed(Xe,pt)){var Xt=et(pt,Ft);"string"!=typeof pt?(bt(pt),qe.set(Xt,{messageElement:pt,referenceCount:0})):qe.has(Xt)||this._createMessageElement(pt,Ft),this._isElementDescribedByMessage(Xe,Xt)||this._addMessageReference(Xe,Xt)}}},{key:"removeDescription",value:function(Xe,pt,Ft){if(pt&&this._isElementNode(Xe)){var Xt=et(pt,Ft);if(this._isElementDescribedByMessage(Xe,Xt)&&this._removeMessageReference(Xe,Xt),"string"==typeof pt){var Tn=qe.get(Xt);Tn&&0===Tn.referenceCount&&this._deleteMessageElement(Xt)}De&&0===De.childNodes.length&&this._deleteMessagesContainer()}}},{key:"ngOnDestroy",value:function(){for(var Xe=this._document.querySelectorAll("[".concat(Ce,"]")),pt=0;pt<Xe.length;pt++)this._removeCdkDescribedByReferenceIds(Xe[pt]),Xe[pt].removeAttribute(Ce);De&&this._deleteMessagesContainer(),qe.clear()}},{key:"_createMessageElement",value:function(Xe,pt){var Ft=this._document.createElement("div");bt(Ft),Ft.textContent=Xe,pt&&Ft.setAttribute("role",pt),this._createMessagesContainer(),De.appendChild(Ft),qe.set(et(Xe,pt),{messageElement:Ft,referenceCount:0})}},{key:"_deleteMessageElement",value:function(Xe){var pt,Ft=qe.get(Xe);null==Ft||null===(pt=Ft.messageElement)||void 0===pt||pt.remove(),qe.delete(Xe)}},{key:"_createMessagesContainer",value:function(){if(!De){var Xe=this._document.getElementById(de);null==Xe||Xe.remove(),(De=this._document.createElement("div")).id=de,De.style.visibility="hidden",De.classList.add("cdk-visually-hidden"),this._document.body.appendChild(De)}}},{key:"_deleteMessagesContainer",value:function(){De&&(De.remove(),De=null)}},{key:"_removeCdkDescribedByReferenceIds",value:function(Xe){var pt=he(Xe,"aria-describedby").filter(function(Ft){return 0!=Ft.indexOf(oe)});Xe.setAttribute("aria-describedby",pt.join(" "))}},{key:"_addMessageReference",value:function(Xe,pt){var Ft=qe.get(pt);(function(we,je,Re){var Xe=he(we,je);Xe.some(function(pt){return pt.trim()==Re.trim()})||(Xe.push(Re.trim()),we.setAttribute(je,Xe.join(" ")))})(Xe,"aria-describedby",Ft.messageElement.id),Xe.setAttribute(Ce,""),Ft.referenceCount++}},{key:"_removeMessageReference",value:function(Xe,pt){var Ft=qe.get(pt);Ft.referenceCount--,function(we,je,Re){var pt=he(we,je).filter(function(Ft){return Ft!=Re.trim()});pt.length?we.setAttribute(je,pt.join(" ")):we.removeAttribute(je)}(Xe,"aria-describedby",Ft.messageElement.id),Xe.removeAttribute(Ce)}},{key:"_isElementDescribedByMessage",value:function(Xe,pt){var Ft=he(Xe,"aria-describedby"),Xt=qe.get(pt),Tn=Xt&&Xt.messageElement.id;return!!Tn&&-1!=Ft.indexOf(Tn)}},{key:"_canBeDescribed",value:function(Xe,pt){if(!this._isElementNode(Xe))return!1;if(pt&&"object"==typeof pt)return!0;var Ft=null==pt?"":"".concat(pt).trim(),Xt=Xe.getAttribute("aria-label");return!(!Ft||Xt&&Xt.trim()===Ft)}},{key:"_isElementNode",value:function(Xe){return Xe.nodeType===this._document.ELEMENT_NODE}}]),je}();return we.\u0275fac=function(Re){return new(Re||we)(Z.LFG(x.K0))},we.\u0275prov=Z.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"}),we}();function et(we,je){return"string"==typeof we?"".concat(je||"","/").concat(we):we}function bt(we){we.id||(we.id="".concat(oe,"-").concat(ge++))}var _e=function(){function we(je){var Re=this;(0,b.Z)(this,we),this._items=je,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new O.xQ,this._typeaheadSubscription=y.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=function(Xe){return Xe.disabled},this._pressedLetters=[],this.tabOut=new O.xQ,this.change=new O.xQ,je instanceof Z.n_E&&je.changes.subscribe(function(Xe){if(Re._activeItem){var Ft=Xe.toArray().indexOf(Re._activeItem);Ft>-1&&Ft!==Re._activeItemIndex&&(Re._activeItemIndex=Ft)}})}return(0,E.Z)(we,[{key:"skipPredicate",value:function(Re){return this._skipPredicateFn=Re,this}},{key:"withWrap",value:function(){var Re=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._wrap=Re,this}},{key:"withVerticalOrientation",value:function(){var Re=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._vertical=Re,this}},{key:"withHorizontalOrientation",value:function(Re){return this._horizontal=Re,this}},{key:"withAllowedModifierKeys",value:function(Re){return this._allowedModifierKeys=Re,this}},{key:"withTypeAhead",value:function(){var Re=this,Xe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,g.b)(function(pt){return Re._pressedLetters.push(pt)}),(0,M.b)(Xe),(0,k.h)(function(){return Re._pressedLetters.length>0}),(0,S.U)(function(){return Re._pressedLetters.join("")})).subscribe(function(pt){for(var Ft=Re._getItemsArray(),Xt=1;Xt<Ft.length+1;Xt++){var Tn=(Re._activeItemIndex+Xt)%Ft.length,Dn=Ft[Tn];if(!Re._skipPredicateFn(Dn)&&0===Dn.getLabel().toUpperCase().trim().indexOf(pt)){Re.setActiveItem(Tn);break}}Re._pressedLetters=[]}),this}},{key:"withHomeAndEnd",value:function(){var Re=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._homeAndEnd=Re,this}},{key:"setActiveItem",value:function(Re){var Xe=this._activeItem;this.updateActiveItem(Re),this._activeItem!==Xe&&this.change.next(this._activeItemIndex)}},{key:"onKeydown",value:function(Re){var Xe=this,pt=Re.keyCode,Xt=["altKey","ctrlKey","metaKey","shiftKey"].every(function(Tn){return!Re[Tn]||Xe._allowedModifierKeys.indexOf(Tn)>-1});switch(pt){case v.Mf:return void this.tabOut.next();case v.JH:if(this._vertical&&Xt){this.setNextItemActive();break}return;case v.LH:if(this._vertical&&Xt){this.setPreviousItemActive();break}return;case v.SV:if(this._horizontal&&Xt){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case v.oh:if(this._horizontal&&Xt){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case v.Sd:if(this._homeAndEnd&&Xt){this.setFirstItemActive();break}return;case v.uR:if(this._homeAndEnd&&Xt){this.setLastItemActive();break}return;default:return void((Xt||(0,v.Vb)(Re,"shiftKey"))&&(Re.key&&1===Re.key.length?this._letterKeyStream.next(Re.key.toLocaleUpperCase()):(pt>=v.A&&pt<=v.Z||pt>=v.xE&&pt<=v.aO)&&this._letterKeyStream.next(String.fromCharCode(pt))))}this._pressedLetters=[],Re.preventDefault()}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}},{key:"isTyping",value:function(){return this._pressedLetters.length>0}},{key:"setFirstItemActive",value:function(){this._setActiveItemByIndex(0,1)}},{key:"setLastItemActive",value:function(){this._setActiveItemByIndex(this._items.length-1,-1)}},{key:"setNextItemActive",value:function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}},{key:"setPreviousItemActive",value:function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}},{key:"updateActiveItem",value:function(Re){var Xe=this._getItemsArray(),pt="number"==typeof Re?Re:Xe.indexOf(Re),Ft=Xe[pt];this._activeItem=null==Ft?null:Ft,this._activeItemIndex=pt}},{key:"_setActiveItemByDelta",value:function(Re){this._wrap?this._setActiveInWrapMode(Re):this._setActiveInDefaultMode(Re)}},{key:"_setActiveInWrapMode",value:function(Re){for(var Xe=this._getItemsArray(),pt=1;pt<=Xe.length;pt++){var Ft=(this._activeItemIndex+Re*pt+Xe.length)%Xe.length;if(!this._skipPredicateFn(Xe[Ft]))return void this.setActiveItem(Ft)}}},{key:"_setActiveInDefaultMode",value:function(Re){this._setActiveItemByIndex(this._activeItemIndex+Re,Re)}},{key:"_setActiveItemByIndex",value:function(Re,Xe){var pt=this._getItemsArray();if(pt[Re]){for(;this._skipPredicateFn(pt[Re]);)if(!pt[Re+=Xe])return;this.setActiveItem(Re)}}},{key:"_getItemsArray",value:function(){return this._items instanceof Z.n_E?this._items.toArray():this._items}}]),we}(),xe=function(we){(0,w.Z)(Re,we);var je=(0,R.Z)(Re);function Re(){return(0,b.Z)(this,Re),je.apply(this,arguments)}return(0,E.Z)(Re,[{key:"setActiveItem",value:function(pt){this.activeItem&&this.activeItem.setInactiveStyles(),(0,V.Z)((0,L.Z)(Re.prototype),"setActiveItem",this).call(this,pt),this.activeItem&&this.activeItem.setActiveStyles()}}]),Re}(_e),He=function(we){(0,w.Z)(Re,we);var je=(0,R.Z)(Re);function Re(){var Xe;return(0,b.Z)(this,Re),(Xe=je.apply(this,arguments))._origin="program",Xe}return(0,E.Z)(Re,[{key:"setFocusOrigin",value:function(pt){return this._origin=pt,this}},{key:"setActiveItem",value:function(pt){(0,V.Z)((0,L.Z)(Re.prototype),"setActiveItem",this).call(this,pt),this.activeItem&&this.activeItem.focus(this._origin)}}]),Re}(_e),tt=function(){var we=function(){function je(Re){(0,b.Z)(this,je),this._platform=Re}return(0,E.Z)(je,[{key:"isDisabled",value:function(Xe){return Xe.hasAttribute("disabled")}},{key:"isVisible",value:function(Xe){return function(we){return!!(we.offsetWidth||we.offsetHeight||"function"==typeof we.getClientRects&&we.getClientRects().length)}(Xe)&&"visible"===getComputedStyle(Xe).visibility}},{key:"isTabbable",value:function(Xe){if(!this._platform.isBrowser)return!1;var pt=function(we){try{return we.frameElement}catch(je){return null}}(function(we){return we.ownerDocument&&we.ownerDocument.defaultView||window}(Xe));if(pt&&(-1===Fn(pt)||!this.isVisible(pt)))return!1;var Ft=Xe.nodeName.toLowerCase(),Xt=Fn(Xe);return Xe.hasAttribute("contenteditable")?-1!==Xt:!("iframe"===Ft||"object"===Ft||this._platform.WEBKIT&&this._platform.IOS&&!function(we){var je=we.nodeName.toLowerCase(),Re="input"===je&&we.type;return"text"===Re||"password"===Re||"select"===je||"textarea"===je}(Xe))&&("audio"===Ft?!!Xe.hasAttribute("controls")&&-1!==Xt:"video"===Ft?-1!==Xt&&(null!==Xt||this._platform.FIREFOX||Xe.hasAttribute("controls")):Xe.tabIndex>=0)}},{key:"isFocusable",value:function(Xe,pt){return function(we){return!function(we){return function(we){return"input"==we.nodeName.toLowerCase()}(we)&&"hidden"==we.type}(we)&&(function(we){var je=we.nodeName.toLowerCase();return"input"===je||"select"===je||"button"===je||"textarea"===je}(we)||function(we){return function(we){return"a"==we.nodeName.toLowerCase()}(we)&&we.hasAttribute("href")}(we)||we.hasAttribute("contenteditable")||On(we))}(Xe)&&!this.isDisabled(Xe)&&((null==pt?void 0:pt.ignoreVisibility)||this.isVisible(Xe))}}]),je}();return we.\u0275fac=function(Re){return new(Re||we)(Z.LFG(Y.t4))},we.\u0275prov=Z.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"}),we}();function On(we){if(!we.hasAttribute("tabindex")||void 0===we.tabIndex)return!1;var je=we.getAttribute("tabindex");return!(!je||isNaN(parseInt(je,10)))}function Fn(we){if(!On(we))return null;var je=parseInt(we.getAttribute("tabindex")||"",10);return isNaN(je)?-1:je}var Wn=function(){function we(je,Re,Xe,pt){var Ft=this,Xt=arguments.length>4&&void 0!==arguments[4]&&arguments[4];(0,b.Z)(this,we),this._element=je,this._checker=Re,this._ngZone=Xe,this._document=pt,this._hasAttached=!1,this.startAnchorListener=function(){return Ft.focusLastTabbableElement()},this.endAnchorListener=function(){return Ft.focusFirstTabbableElement()},this._enabled=!0,Xt||this.attachAnchors()}return(0,E.Z)(we,[{key:"enabled",get:function(){return this._enabled},set:function(Re){this._enabled=Re,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Re,this._startAnchor),this._toggleAnchorTabIndex(Re,this._endAnchor))}},{key:"destroy",value:function(){var Re=this._startAnchor,Xe=this._endAnchor;Re&&(Re.removeEventListener("focus",this.startAnchorListener),Re.remove()),Xe&&(Xe.removeEventListener("focus",this.endAnchorListener),Xe.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}},{key:"attachAnchors",value:function(){var Re=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){Re._startAnchor||(Re._startAnchor=Re._createAnchor(),Re._startAnchor.addEventListener("focus",Re.startAnchorListener)),Re._endAnchor||(Re._endAnchor=Re._createAnchor(),Re._endAnchor.addEventListener("focus",Re.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}},{key:"focusInitialElementWhenReady",value:function(Re){var Xe=this;return new Promise(function(pt){Xe._executeOnStable(function(){return pt(Xe.focusInitialElement(Re))})})}},{key:"focusFirstTabbableElementWhenReady",value:function(Re){var Xe=this;return new Promise(function(pt){Xe._executeOnStable(function(){return pt(Xe.focusFirstTabbableElement(Re))})})}},{key:"focusLastTabbableElementWhenReady",value:function(Re){var Xe=this;return new Promise(function(pt){Xe._executeOnStable(function(){return pt(Xe.focusLastTabbableElement(Re))})})}},{key:"_getRegionBoundary",value:function(Re){for(var Xe=this._element.querySelectorAll("[cdk-focus-region-".concat(Re,"], ")+"[cdkFocusRegion".concat(Re,"], ")+"[cdk-focus-".concat(Re,"]")),pt=0;pt<Xe.length;pt++)Xe[pt].hasAttribute("cdk-focus-".concat(Re))?console.warn("Found use of deprecated attribute 'cdk-focus-".concat(Re,"', ")+"use 'cdkFocusRegion".concat(Re,"' instead. The deprecated ")+"attribute will be removed in 8.0.0.",Xe[pt]):Xe[pt].hasAttribute("cdk-focus-region-".concat(Re))&&console.warn("Found use of deprecated attribute 'cdk-focus-region-".concat(Re,"', ")+"use 'cdkFocusRegion".concat(Re,"' instead. The deprecated attribute ")+"will be removed in 8.0.0.",Xe[pt]);return"start"==Re?Xe.length?Xe[0]:this._getFirstTabbableElement(this._element):Xe.length?Xe[Xe.length-1]:this._getLastTabbableElement(this._element)}},{key:"focusInitialElement",value:function(Re){var Xe=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(Xe){if(Xe.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",Xe),!this._checker.isFocusable(Xe)){var pt=this._getFirstTabbableElement(Xe);return null==pt||pt.focus(Re),!!pt}return Xe.focus(Re),!0}return this.focusFirstTabbableElement(Re)}},{key:"focusFirstTabbableElement",value:function(Re){var Xe=this._getRegionBoundary("start");return Xe&&Xe.focus(Re),!!Xe}},{key:"focusLastTabbableElement",value:function(Re){var Xe=this._getRegionBoundary("end");return Xe&&Xe.focus(Re),!!Xe}},{key:"hasAttached",value:function(){return this._hasAttached}},{key:"_getFirstTabbableElement",value:function(Re){if(this._checker.isFocusable(Re)&&this._checker.isTabbable(Re))return Re;for(var Xe=Re.children,pt=0;pt<Xe.length;pt++){var Ft=Xe[pt].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(Xe[pt]):null;if(Ft)return Ft}return null}},{key:"_getLastTabbableElement",value:function(Re){if(this._checker.isFocusable(Re)&&this._checker.isTabbable(Re))return Re;for(var Xe=Re.children,pt=Xe.length-1;pt>=0;pt--){var Ft=Xe[pt].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(Xe[pt]):null;if(Ft)return Ft}return null}},{key:"_createAnchor",value:function(){var Re=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Re),Re.classList.add("cdk-visually-hidden"),Re.classList.add("cdk-focus-trap-anchor"),Re.setAttribute("aria-hidden","true"),Re}},{key:"_toggleAnchorTabIndex",value:function(Re,Xe){Re?Xe.setAttribute("tabindex","0"):Xe.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(Re){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Re,this._startAnchor),this._toggleAnchorTabIndex(Re,this._endAnchor))}},{key:"_executeOnStable",value:function(Re){this._ngZone.isStable?Re():this._ngZone.onStable.pipe((0,I.q)(1)).subscribe(Re)}}]),we}(),nr=function(){var we=function(){function je(Re,Xe,pt){(0,b.Z)(this,je),this._checker=Re,this._ngZone=Xe,this._document=pt}return(0,E.Z)(je,[{key:"create",value:function(Xe){var pt=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new Wn(Xe,this._checker,this._ngZone,this._document,pt)}}]),je}();return we.\u0275fac=function(Re){return new(Re||we)(Z.LFG(tt),Z.LFG(Z.R0b),Z.LFG(x.K0))},we.\u0275prov=Z.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"}),we}();function Ye(we){return 0===we.offsetX&&0===we.offsetY}function Me(we){var je=we.touches&&we.touches[0]||we.changedTouches&&we.changedTouches[0];return!(!je||-1!==je.identifier||null!=je.radiusX&&1!==je.radiusX||null!=je.radiusY&&1!==je.radiusY)}var ne=new Z.OlP("cdk-input-modality-detector-options"),be={ignoreKeys:[v.zL,v.jx,v.b2,v.MW,v.JU]},Ge=(0,Y.i$)({passive:!0,capture:!0}),vt=function(){var we=function(){function je(Re,Xe,pt,Ft){var Xt=this;(0,b.Z)(this,je),this._platform=Re,this._mostRecentTarget=null,this._modality=new T.X(null),this._lastTouchMs=0,this._onKeydown=function(Tn){var Dn,ai;null!==(Dn=Xt._options)&&void 0!==Dn&&null!==(ai=Dn.ignoreKeys)&&void 0!==ai&&ai.some(function(Qr){return Qr===Tn.keyCode})||(Xt._modality.next("keyboard"),Xt._mostRecentTarget=(0,Y.sA)(Tn))},this._onMousedown=function(Tn){Date.now()-Xt._lastTouchMs<650||(Xt._modality.next(Ye(Tn)?"keyboard":"mouse"),Xt._mostRecentTarget=(0,Y.sA)(Tn))},this._onTouchstart=function(Tn){Me(Tn)?Xt._modality.next("keyboard"):(Xt._lastTouchMs=Date.now(),Xt._modality.next("touch"),Xt._mostRecentTarget=(0,Y.sA)(Tn))},this._options=(0,U.Z)((0,U.Z)({},be),Ft),this.modalityDetected=this._modality.pipe((0,F.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,G.x)()),Re.isBrowser&&Xe.runOutsideAngular(function(){pt.addEventListener("keydown",Xt._onKeydown,Ge),pt.addEventListener("mousedown",Xt._onMousedown,Ge),pt.addEventListener("touchstart",Xt._onTouchstart,Ge)})}return(0,E.Z)(je,[{key:"mostRecentModality",get:function(){return this._modality.value}},{key:"ngOnDestroy",value:function(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ge),document.removeEventListener("mousedown",this._onMousedown,Ge),document.removeEventListener("touchstart",this._onTouchstart,Ge))}}]),je}();return we.\u0275fac=function(Re){return new(Re||we)(Z.LFG(Y.t4),Z.LFG(Z.R0b),Z.LFG(x.K0),Z.LFG(ne,8))},we.\u0275prov=Z.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"}),we}(),At=new Z.OlP("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),Kt=new Z.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),on=function(){var we=function(){function je(Re,Xe,pt,Ft){(0,b.Z)(this,je),this._ngZone=Xe,this._defaultOptions=Ft,this._document=pt,this._liveElement=Re||this._createLiveElement()}return(0,E.Z)(je,[{key:"announce",value:function(Xe){for(var Xt,Tn,pt=this,Ft=this._defaultOptions,Dn=arguments.length,ai=new Array(Dn>1?Dn-1:0),Qr=1;Qr<Dn;Qr++)ai[Qr-1]=arguments[Qr];return 1===ai.length&&"number"==typeof ai[0]?Tn=ai[0]:(Xt=ai[0],Tn=ai[1]),this.clear(),clearTimeout(this._previousTimeout),Xt||(Xt=Ft&&Ft.politeness?Ft.politeness:"polite"),null==Tn&&Ft&&(Tn=Ft.duration),this._liveElement.setAttribute("aria-live",Xt),this._ngZone.runOutsideAngular(function(){return new Promise(function(xi){clearTimeout(pt._previousTimeout),pt._previousTimeout=setTimeout(function(){pt._liveElement.textContent=Xe,xi(),"number"==typeof Tn&&(pt._previousTimeout=setTimeout(function(){return pt.clear()},Tn))},100)})})}},{key:"clear",value:function(){this._liveElement&&(this._liveElement.textContent="")}},{key:"ngOnDestroy",value:function(){var Xe;clearTimeout(this._previousTimeout),null===(Xe=this._liveElement)||void 0===Xe||Xe.remove(),this._liveElement=null}},{key:"_createLiveElement",value:function(){for(var Xe="cdk-live-announcer-element",pt=this._document.getElementsByClassName(Xe),Ft=this._document.createElement("div"),Xt=0;Xt<pt.length;Xt++)pt[Xt].remove();return Ft.classList.add(Xe),Ft.classList.add("cdk-visually-hidden"),Ft.setAttribute("aria-atomic","true"),Ft.setAttribute("aria-live","polite"),this._document.body.appendChild(Ft),Ft}}]),je}();return we.\u0275fac=function(Re){return new(Re||we)(Z.LFG(At,8),Z.LFG(Z.R0b),Z.LFG(x.K0),Z.LFG(Kt,8))},we.\u0275prov=Z.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"}),we}(),yn=new Z.OlP("cdk-focus-monitor-default-options"),Cn=(0,Y.i$)({passive:!0,capture:!0}),Nt=function(){var we=function(){function je(Re,Xe,pt,Ft,Xt){var Tn=this;(0,b.Z)(this,je),this._ngZone=Re,this._platform=Xe,this._inputModalityDetector=pt,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=function(){Tn._windowFocused=!0,Tn._windowFocusTimeoutId=setTimeout(function(){return Tn._windowFocused=!1})},this._stopInputModalityDetector=new O.xQ,this._rootNodeFocusAndBlurListener=function(Dn){for(var ai=(0,Y.sA)(Dn),Qr="focus"===Dn.type?Tn._onFocus:Tn._onBlur,xi=ai;xi;xi=xi.parentElement)Qr.call(Tn,Dn,xi)},this._document=Ft,this._detectionMode=(null==Xt?void 0:Xt.detectionMode)||0}return(0,E.Z)(je,[{key:"monitor",value:function(Xe){var pt=arguments.length>1&&void 0!==arguments[1]&&arguments[1],Ft=(0,W.fI)(Xe);if(!this._platform.isBrowser||1!==Ft.nodeType)return(0,D.of)(null);var Xt=(0,Y.kV)(Ft)||this._getDocument(),Tn=this._elementInfo.get(Ft);if(Tn)return pt&&(Tn.checkChildren=!0),Tn.subject;var Dn={checkChildren:pt,subject:new O.xQ,rootNode:Xt};return this._elementInfo.set(Ft,Dn),this._registerGlobalListeners(Dn),Dn.subject}},{key:"stopMonitoring",value:function(Xe){var pt=(0,W.fI)(Xe),Ft=this._elementInfo.get(pt);Ft&&(Ft.subject.complete(),this._setClasses(pt),this._elementInfo.delete(pt),this._removeGlobalListeners(Ft))}},{key:"focusVia",value:function(Xe,pt,Ft){var Xt=this,Tn=(0,W.fI)(Xe);Tn===this._getDocument().activeElement?this._getClosestElementsInfo(Tn).forEach(function(ai){var Qr=(0,B.Z)(ai,2);return Xt._originChanged(Qr[0],pt,Qr[1])}):(this._setOrigin(pt),"function"==typeof Tn.focus&&Tn.focus(Ft))}},{key:"ngOnDestroy",value:function(){var Xe=this;this._elementInfo.forEach(function(pt,Ft){return Xe.stopMonitoring(Ft)})}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_getFocusOrigin",value:function(Xe){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(Xe)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}},{key:"_shouldBeAttributedToTouch",value:function(Xe){return 1===this._detectionMode||!(null==Xe||!Xe.contains(this._inputModalityDetector._mostRecentTarget))}},{key:"_setClasses",value:function(Xe,pt){Xe.classList.toggle("cdk-focused",!!pt),Xe.classList.toggle("cdk-touch-focused","touch"===pt),Xe.classList.toggle("cdk-keyboard-focused","keyboard"===pt),Xe.classList.toggle("cdk-mouse-focused","mouse"===pt),Xe.classList.toggle("cdk-program-focused","program"===pt)}},{key:"_setOrigin",value:function(Xe){var pt=this,Ft=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._ngZone.runOutsideAngular(function(){pt._origin=Xe,pt._originFromTouchInteraction="touch"===Xe&&Ft,0===pt._detectionMode&&(clearTimeout(pt._originTimeoutId),pt._originTimeoutId=setTimeout(function(){return pt._origin=null},pt._originFromTouchInteraction?650:1))})}},{key:"_onFocus",value:function(Xe,pt){var Ft=this._elementInfo.get(pt),Xt=(0,Y.sA)(Xe);!Ft||!Ft.checkChildren&&pt!==Xt||this._originChanged(pt,this._getFocusOrigin(Xt),Ft)}},{key:"_onBlur",value:function(Xe,pt){var Ft=this._elementInfo.get(pt);!Ft||Ft.checkChildren&&Xe.relatedTarget instanceof Node&&pt.contains(Xe.relatedTarget)||(this._setClasses(pt),this._emitOrigin(Ft.subject,null))}},{key:"_emitOrigin",value:function(Xe,pt){this._ngZone.run(function(){return Xe.next(pt)})}},{key:"_registerGlobalListeners",value:function(Xe){var pt=this;if(this._platform.isBrowser){var Ft=Xe.rootNode,Xt=this._rootNodeFocusListenerCount.get(Ft)||0;Xt||this._ngZone.runOutsideAngular(function(){Ft.addEventListener("focus",pt._rootNodeFocusAndBlurListener,Cn),Ft.addEventListener("blur",pt._rootNodeFocusAndBlurListener,Cn)}),this._rootNodeFocusListenerCount.set(Ft,Xt+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(function(){pt._getWindow().addEventListener("focus",pt._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,X.R)(this._stopInputModalityDetector)).subscribe(function(Tn){pt._setOrigin(Tn,!0)}))}}},{key:"_removeGlobalListeners",value:function(Xe){var pt=Xe.rootNode;if(this._rootNodeFocusListenerCount.has(pt)){var Ft=this._rootNodeFocusListenerCount.get(pt);Ft>1?this._rootNodeFocusListenerCount.set(pt,Ft-1):(pt.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Cn),pt.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Cn),this._rootNodeFocusListenerCount.delete(pt))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}},{key:"_originChanged",value:function(Xe,pt,Ft){this._setClasses(Xe,pt),this._emitOrigin(Ft.subject,pt),this._lastFocusOrigin=pt}},{key:"_getClosestElementsInfo",value:function(Xe){var pt=[];return this._elementInfo.forEach(function(Ft,Xt){(Xt===Xe||Ft.checkChildren&&Xt.contains(Xe))&&pt.push([Xt,Ft])}),pt}}]),je}();return we.\u0275fac=function(Re){return new(Re||we)(Z.LFG(Z.R0b),Z.LFG(Y.t4),Z.LFG(vt),Z.LFG(x.K0,8),Z.LFG(yn,8))},we.\u0275prov=Z.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"}),we}(),Lt=function(){var we=function(){function je(Re,Xe){(0,b.Z)(this,je),this._elementRef=Re,this._focusMonitor=Xe,this.cdkFocusChange=new Z.vpe}return(0,E.Z)(je,[{key:"ngAfterViewInit",value:function(){var Xe=this,pt=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(pt,1===pt.nodeType&&pt.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(function(Ft){return Xe.cdkFocusChange.emit(Ft)})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}]),je}();return we.\u0275fac=function(Re){return new(Re||we)(Z.Y36(Z.SBq),Z.Y36(Nt))},we.\u0275dir=Z.lG2({type:we,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),we}(),Ct="cdk-high-contrast-black-on-white",Ot="cdk-high-contrast-white-on-black",ht="cdk-high-contrast-active",lt=function(){var we=function(){function je(Re,Xe){(0,b.Z)(this,je),this._platform=Re,this._document=Xe}return(0,E.Z)(je,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var Xe=this._document.createElement("div");Xe.style.backgroundColor="rgb(1,2,3)",Xe.style.position="absolute",this._document.body.appendChild(Xe);var pt=this._document.defaultView||window,Ft=pt&&pt.getComputedStyle?pt.getComputedStyle(Xe):null,Xt=(Ft&&Ft.backgroundColor||"").replace(/ /g,"");switch(Xe.remove(),Xt){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){var Xe=this._document.body.classList;Xe.remove(ht),Xe.remove(Ct),Xe.remove(Ot),this._hasCheckedHighContrastMode=!0;var pt=this.getHighContrastMode();1===pt?(Xe.add(ht),Xe.add(Ct)):2===pt&&(Xe.add(ht),Xe.add(Ot))}}}]),je}();return we.\u0275fac=function(Re){return new(Re||we)(Z.LFG(Y.t4),Z.LFG(x.K0))},we.\u0275prov=Z.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"}),we}(),_t=function(){var we=function je(Re){(0,b.Z)(this,je),Re._applyBodyHighContrastModeCssClasses()};return we.\u0275fac=function(Re){return new(Re||we)(Z.LFG(lt))},we.\u0275mod=Z.oAB({type:we}),we.\u0275inj=Z.cJS({imports:[[Y.ud,ae.Q8]]}),we}()},58290:function(ue,j,f){"use strict";f.d(j,{vT:function(){return x},Is:function(){return b}});var B=f(18967),U=f(14105),V=f(83668),L=f(86019),w=new V.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,V.f3M)(L.K0)}}),b=function(){var Z=function(){function O(y){if((0,B.Z)(this,O),this.value="ltr",this.change=new V.vpe,y){var v=(y.body?y.body.dir:null)||(y.documentElement?y.documentElement.dir:null);this.value="ltr"===v||"rtl"===v?v:"ltr"}}return(0,U.Z)(O,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),O}();return Z.\u0275fac=function(y){return new(y||Z)(V.LFG(w,8))},Z.\u0275prov=V.Yz7({token:Z,factory:Z.\u0275fac,providedIn:"root"}),Z}(),x=function(){var Z=function O(){(0,B.Z)(this,O)};return Z.\u0275fac=function(y){return new(y||Z)},Z.\u0275mod=V.oAB({type:Z}),Z.\u0275inj=V.cJS({}),Z}()},80348:function(ue,j,f){"use strict";f.d(j,{t6:function(){return L},Eq:function(){return w},Ig:function(){return U},HM:function(){return R},fI:function(){return b},su:function(){return V}});var B=f(83668);function U(x){return null!=x&&"false"!=="".concat(x)}function V(x){var Z=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return L(x)?Number(x):Z}function L(x){return!isNaN(parseFloat(x))&&!isNaN(Number(x))}function w(x){return Array.isArray(x)?x:[x]}function R(x){return null==x?"":"string"==typeof x?x:"".concat(x,"px")}function b(x){return x instanceof B.SBq?x.nativeElement:x}},45351:function(ue,j,f){"use strict";f.d(j,{o2:function(){return R},Ov:function(){return O},A8:function(){return T},yy:function(){return x},eX:function(){return Z},k:function(){return D},Z9:function(){return b}});var B=f(36683),U=f(14105),V=f(18967),L=f(27807),w=f(83668),R=function v(){(0,V.Z)(this,v)};function b(v){return v&&"function"==typeof v.connect}var x=function(){function v(){(0,V.Z)(this,v)}return(0,U.Z)(v,[{key:"applyChanges",value:function(M,k,S,I,F){M.forEachOperation(function(G,X,W){var Y,ae,fe;if(null==G.previousIndex){var K=S(G,X,W);Y=k.createEmbeddedView(K.templateRef,K.context,K.index),ae=1}else null==W?(k.remove(X),ae=3):(Y=k.get(X),k.move(Y,W),ae=2);F&&F({context:null===(fe=Y)||void 0===fe?void 0:fe.context,operation:ae,record:G})})}},{key:"detach",value:function(){}}]),v}(),Z=function(){function v(){(0,V.Z)(this,v),this.viewCacheSize=20,this._viewCache=[]}return(0,U.Z)(v,[{key:"applyChanges",value:function(M,k,S,I,F){var G=this;M.forEachOperation(function(X,W,Y){var ae,K,ce;null==X.previousIndex?K=(ae=G._insertView(function(){return S(X,W,Y)},Y,k,I(X)))?1:0:null==Y?(G._detachAndCacheView(W,k),K=3):(ae=G._moveView(W,Y,k,I(X)),K=2),F&&F({context:null===(ce=ae)||void 0===ce?void 0:ce.context,operation:K,record:X})})}},{key:"detach",value:function(){var k,M=(0,B.Z)(this._viewCache);try{for(M.s();!(k=M.n()).done;)k.value.destroy()}catch(I){M.e(I)}finally{M.f()}this._viewCache=[]}},{key:"_insertView",value:function(M,k,S,I){var F=this._insertViewFromCache(k,S);if(!F){var G=M();return S.createEmbeddedView(G.templateRef,G.context,G.index)}F.context.$implicit=I}},{key:"_detachAndCacheView",value:function(M,k){var S=k.detach(M);this._maybeCacheView(S,k)}},{key:"_moveView",value:function(M,k,S,I){var F=S.get(M);return S.move(F,k),F.context.$implicit=I,F}},{key:"_maybeCacheView",value:function(M,k){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(M);else{var S=k.indexOf(M);-1===S?M.destroy():k.remove(S)}}},{key:"_insertViewFromCache",value:function(M,k){var S=this._viewCache.pop();return S&&k.insert(S,M),S||null}}]),v}(),O=function(){function v(){var g=this,M=arguments.length>0&&void 0!==arguments[0]&&arguments[0],k=arguments.length>1?arguments[1]:void 0,S=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];(0,V.Z)(this,v),this._multiple=M,this._emitChanges=S,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new L.xQ,k&&k.length&&(M?k.forEach(function(I){return g._markSelected(I)}):this._markSelected(k[0]),this._selectedToEmit.length=0)}return(0,U.Z)(v,[{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}},{key:"select",value:function(){for(var M=this,k=arguments.length,S=new Array(k),I=0;I<k;I++)S[I]=arguments[I];this._verifyValueAssignment(S),S.forEach(function(F){return M._markSelected(F)}),this._emitChangeEvent()}},{key:"deselect",value:function(){for(var M=this,k=arguments.length,S=new Array(k),I=0;I<k;I++)S[I]=arguments[I];this._verifyValueAssignment(S),S.forEach(function(F){return M._unmarkSelected(F)}),this._emitChangeEvent()}},{key:"toggle",value:function(M){this.isSelected(M)?this.deselect(M):this.select(M)}},{key:"clear",value:function(){this._unmarkAll(),this._emitChangeEvent()}},{key:"isSelected",value:function(M){return this._selection.has(M)}},{key:"isEmpty",value:function(){return 0===this._selection.size}},{key:"hasValue",value:function(){return!this.isEmpty()}},{key:"sort",value:function(M){this._multiple&&this.selected&&this._selected.sort(M)}},{key:"isMultipleSelection",value:function(){return this._multiple}},{key:"_emitChangeEvent",value:function(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}},{key:"_markSelected",value:function(M){this.isSelected(M)||(this._multiple||this._unmarkAll(),this._selection.add(M),this._emitChanges&&this._selectedToEmit.push(M))}},{key:"_unmarkSelected",value:function(M){this.isSelected(M)&&(this._selection.delete(M),this._emitChanges&&this._deselectedToEmit.push(M))}},{key:"_unmarkAll",value:function(){var M=this;this.isEmpty()||this._selection.forEach(function(k){return M._unmarkSelected(k)})}},{key:"_verifyValueAssignment",value:function(M){}}]),v}(),T=function(){var v=function(){function g(){(0,V.Z)(this,g),this._listeners=[]}return(0,U.Z)(g,[{key:"notify",value:function(k,S){var F,I=(0,B.Z)(this._listeners);try{for(I.s();!(F=I.n()).done;)(0,F.value)(k,S)}catch(X){I.e(X)}finally{I.f()}}},{key:"listen",value:function(k){var S=this;return this._listeners.push(k),function(){S._listeners=S._listeners.filter(function(I){return k!==I})}}},{key:"ngOnDestroy",value:function(){this._listeners=[]}}]),g}();return v.\u0275fac=function(M){return new(M||v)},v.\u0275prov=w.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v}(),D=new w.OlP("_ViewRepeater")},51628:function(ue,j,f){"use strict";f.d(j,{A:function(){return bt},zL:function(){return E},ZH:function(){return U},jx:function(){return b},yY:function(){return W},JH:function(){return I},uR:function(){return v},K5:function(){return w},hY:function(){return O},Sd:function(){return g},oh:function(){return M},b2:function(){return ni},MW:function(){return Ye},aO:function(){return ge},SV:function(){return S},JU:function(){return R},L_:function(){return y},Mf:function(){return V},LH:function(){return k},Z:function(){return kt},xE:function(){return Y},Vb:function(){return Rr}});var U=8,V=9,w=13,R=16,b=17,E=18,O=27,y=32,v=35,g=36,M=37,k=38,S=39,I=40,W=46,Y=48,ge=57,bt=65,kt=90,Ye=91,ni=224;function Rr(Gn){for(var ji=arguments.length,Mr=new Array(ji>1?ji-1:0),na=1;na<ji;na++)Mr[na-1]=arguments[na];return Mr.length?Mr.some(function(fa){return Gn[fa]}):Gn.altKey||Gn.shiftKey||Gn.ctrlKey||Gn.metaKey}},13242:function(ue,j,f){"use strict";f.d(j,{wD:function(){return Z},Q8:function(){return O}});var B=f(18967),U=f(14105),V=f(80348),L=f(83668),w=f(15801),R=f(27807),b=f(46656),E=function(){var y=function(){function T(){(0,B.Z)(this,T)}return(0,U.Z)(T,[{key:"create",value:function(v){return"undefined"==typeof MutationObserver?null:new MutationObserver(v)}}]),T}();return y.\u0275fac=function(D){return new(D||y)},y.\u0275prov=L.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"}),y}(),x=function(){var y=function(){function T(D){(0,B.Z)(this,T),this._mutationObserverFactory=D,this._observedElements=new Map}return(0,U.Z)(T,[{key:"ngOnDestroy",value:function(){var v=this;this._observedElements.forEach(function(g,M){return v._cleanupObserver(M)})}},{key:"observe",value:function(v){var g=this,M=(0,V.fI)(v);return new w.y(function(k){var I=g._observeElement(M).subscribe(k);return function(){I.unsubscribe(),g._unobserveElement(M)}})}},{key:"_observeElement",value:function(v){if(this._observedElements.has(v))this._observedElements.get(v).count++;else{var g=new R.xQ,M=this._mutationObserverFactory.create(function(k){return g.next(k)});M&&M.observe(v,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(v,{observer:M,stream:g,count:1})}return this._observedElements.get(v).stream}},{key:"_unobserveElement",value:function(v){this._observedElements.has(v)&&(this._observedElements.get(v).count--,this._observedElements.get(v).count||this._cleanupObserver(v))}},{key:"_cleanupObserver",value:function(v){if(this._observedElements.has(v)){var g=this._observedElements.get(v),M=g.observer,k=g.stream;M&&M.disconnect(),k.complete(),this._observedElements.delete(v)}}}]),T}();return y.\u0275fac=function(D){return new(D||y)(L.LFG(E))},y.\u0275prov=L.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"}),y}(),Z=function(){var y=function(){function T(D,v,g){(0,B.Z)(this,T),this._contentObserver=D,this._elementRef=v,this._ngZone=g,this.event=new L.vpe,this._disabled=!1,this._currentSubscription=null}return(0,U.Z)(T,[{key:"disabled",get:function(){return this._disabled},set:function(v){this._disabled=(0,V.Ig)(v),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(v){this._debounce=(0,V.su)(v),this._subscribe()}},{key:"ngAfterContentInit",value:function(){!this._currentSubscription&&!this.disabled&&this._subscribe()}},{key:"ngOnDestroy",value:function(){this._unsubscribe()}},{key:"_subscribe",value:function(){var v=this;this._unsubscribe();var g=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(function(){v._currentSubscription=(v.debounce?g.pipe((0,b.b)(v.debounce)):g).subscribe(v.event)})}},{key:"_unsubscribe",value:function(){var v;null===(v=this._currentSubscription)||void 0===v||v.unsubscribe()}}]),T}();return y.\u0275fac=function(D){return new(D||y)(L.Y36(x),L.Y36(L.SBq),L.Y36(L.R0b))},y.\u0275dir=L.lG2({type:y,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),y}(),O=function(){var y=function T(){(0,B.Z)(this,T)};return y.\u0275fac=function(D){return new(D||y)},y.\u0275mod=L.oAB({type:y}),y.\u0275inj=L.cJS({providers:[E]}),y}()},57219:function(ue,j,f){"use strict";f.d(j,{pI:function(){return Sr},xu:function(){return ar},aV:function(){return zn},X_:function(){return qe},Xj:function(){return tt},U8:function(){return _n}});var B=f(51380),U=f(36683),V=f(333),L=f(3801),w=f(38402),R=f(89200),b=f(10509),E=f(97154),x=f(18967),Z=f(14105),O=f(97226),y=f(86019),T=f(83668),D=f(80348),v=f(50928),g=f(61855),M=f(58290),k=f(5711),S=f(27807),I=f(43501),F=f(69301),G=f(63303),X=f(35634),W=f(47770),Y=f(51628),ae=(0,v.Mq)(),K=function(){function Ye(Me,ne){(0,x.Z)(this,Ye),this._viewportRuler=Me,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=ne}return(0,Z.Z)(Ye,[{key:"attach",value:function(){}},{key:"enable",value:function(){if(this._canBeEnabled()){var ne=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=ne.style.left||"",this._previousHTMLStyles.top=ne.style.top||"",ne.style.left=(0,D.HM)(-this._previousScrollPosition.left),ne.style.top=(0,D.HM)(-this._previousScrollPosition.top),ne.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}},{key:"disable",value:function(){if(this._isEnabled){var ne=this._document.documentElement,Fe=ne.style,Ge=this._document.body.style,vt=Fe.scrollBehavior||"",At=Ge.scrollBehavior||"";this._isEnabled=!1,Fe.left=this._previousHTMLStyles.left,Fe.top=this._previousHTMLStyles.top,ne.classList.remove("cdk-global-scrollblock"),ae&&(Fe.scrollBehavior=Ge.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ae&&(Fe.scrollBehavior=vt,Ge.scrollBehavior=At)}}},{key:"_canBeEnabled",value:function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var be=this._document.body,Fe=this._viewportRuler.getViewportSize();return be.scrollHeight>Fe.height||be.scrollWidth>Fe.width}}]),Ye}(),ce=function(){function Ye(Me,ne,be,Fe){var Ge=this;(0,x.Z)(this,Ye),this._scrollDispatcher=Me,this._ngZone=ne,this._viewportRuler=be,this._config=Fe,this._scrollSubscription=null,this._detach=function(){Ge.disable(),Ge._overlayRef.hasAttached()&&Ge._ngZone.run(function(){return Ge._overlayRef.detach()})}}return(0,Z.Z)(Ye,[{key:"attach",value:function(ne){this._overlayRef=ne}},{key:"enable",value:function(){var ne=this;if(!this._scrollSubscription){var be=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=be.subscribe(function(){var Fe=ne._viewportRuler.getViewportScrollPosition().top;Math.abs(Fe-ne._initialScrollPosition)>ne._config.threshold?ne._detach():ne._overlayRef.updatePosition()})):this._scrollSubscription=be.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),Ye}(),he=function(){function Ye(){(0,x.Z)(this,Ye)}return(0,Z.Z)(Ye,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),Ye}();function de(Ye,Me){return Me.some(function(ne){return Ye.bottom<ne.top||Ye.top>ne.bottom||Ye.right<ne.left||Ye.left>ne.right})}function oe(Ye,Me){return Me.some(function(ne){return Ye.top<ne.top||Ye.bottom>ne.bottom||Ye.left<ne.left||Ye.right>ne.right})}var Ce=function(){function Ye(Me,ne,be,Fe){(0,x.Z)(this,Ye),this._scrollDispatcher=Me,this._viewportRuler=ne,this._ngZone=be,this._config=Fe,this._scrollSubscription=null}return(0,Z.Z)(Ye,[{key:"attach",value:function(ne){this._overlayRef=ne}},{key:"enable",value:function(){var ne=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(ne._overlayRef.updatePosition(),ne._config&&ne._config.autoClose){var Fe=ne._overlayRef.overlayElement.getBoundingClientRect(),Ge=ne._viewportRuler.getViewportSize(),vt=Ge.width,At=Ge.height;de(Fe,[{width:vt,height:At,bottom:At,right:vt,top:0,left:0}])&&(ne.disable(),ne._ngZone.run(function(){return ne._overlayRef.detach()}))}}))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),Ye}(),ge=function(){var Ye=function Me(ne,be,Fe,Ge){var vt=this;(0,x.Z)(this,Me),this._scrollDispatcher=ne,this._viewportRuler=be,this._ngZone=Fe,this.noop=function(){return new he},this.close=function(At){return new ce(vt._scrollDispatcher,vt._ngZone,vt._viewportRuler,At)},this.block=function(){return new K(vt._viewportRuler,vt._document)},this.reposition=function(At){return new Ce(vt._scrollDispatcher,vt._viewportRuler,vt._ngZone,At)},this._document=Ge};return Ye.\u0275fac=function(ne){return new(ne||Ye)(T.LFG(O.mF),T.LFG(O.rL),T.LFG(T.R0b),T.LFG(y.K0))},Ye.\u0275prov=T.Yz7({token:Ye,factory:Ye.\u0275fac,providedIn:"root"}),Ye}(),qe=function Ye(Me){if((0,x.Z)(this,Ye),this.scrollStrategy=new he,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,Me)for(var be=0,Fe=Object.keys(Me);be<Fe.length;be++){var Ge=Fe[be];void 0!==Me[Ge]&&(this[Ge]=Me[Ge])}},De=function Ye(Me,ne,be,Fe,Ge){(0,x.Z)(this,Ye),this.offsetX=be,this.offsetY=Fe,this.panelClass=Ge,this.originX=Me.originX,this.originY=Me.originY,this.overlayX=ne.overlayX,this.overlayY=ne.overlayY},Qe=function Ye(){(0,x.Z)(this,Ye)},et=function(){var Ye=function Me(ne,be){(0,x.Z)(this,Me),this.connectionPair=ne,this.scrollableViewProperties=be};return(0,g.gn)([(0,g.fM)(1,(0,T.FiY)()),(0,g.w6)("design:paramtypes",[De,Qe])],Ye)}(),xe=function(){var Ye=function(){function Me(ne){(0,x.Z)(this,Me),this._attachedOverlays=[],this._document=ne}return(0,Z.Z)(Me,[{key:"ngOnDestroy",value:function(){this.detach()}},{key:"add",value:function(be){this.remove(be),this._attachedOverlays.push(be)}},{key:"remove",value:function(be){var Fe=this._attachedOverlays.indexOf(be);Fe>-1&&this._attachedOverlays.splice(Fe,1),0===this._attachedOverlays.length&&this.detach()}}]),Me}();return Ye.\u0275fac=function(ne){return new(ne||Ye)(T.LFG(y.K0))},Ye.\u0275prov=T.Yz7({token:Ye,factory:Ye.\u0275fac,providedIn:"root"}),Ye}(),He=function(){var Ye=function(Me){(0,b.Z)(be,Me);var ne=(0,E.Z)(be);function be(Fe){var Ge;return(0,x.Z)(this,be),(Ge=ne.call(this,Fe))._keydownListener=function(vt){for(var At=Ge._attachedOverlays,Vt=At.length-1;Vt>-1;Vt--)if(At[Vt]._keydownEvents.observers.length>0){At[Vt]._keydownEvents.next(vt);break}},Ge}return(0,Z.Z)(be,[{key:"add",value:function(Ge){(0,w.Z)((0,R.Z)(be.prototype),"add",this).call(this,Ge),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),be}(xe);return Ye.\u0275fac=function(ne){return new(ne||Ye)(T.LFG(y.K0))},Ye.\u0275prov=T.Yz7({token:Ye,factory:Ye.\u0275fac,providedIn:"root"}),Ye}(),st=function(){var Ye=function(Me){(0,b.Z)(be,Me);var ne=(0,E.Z)(be);function be(Fe,Ge){var vt;return(0,x.Z)(this,be),(vt=ne.call(this,Fe))._platform=Ge,vt._cursorStyleIsSet=!1,vt._pointerDownListener=function(At){vt._pointerDownEventTarget=(0,v.sA)(At)},vt._clickListener=function(At){var Vt=(0,v.sA)(At),Kt="click"===At.type&&vt._pointerDownEventTarget?vt._pointerDownEventTarget:Vt;vt._pointerDownEventTarget=null;for(var on=vt._attachedOverlays.slice(),hn=on.length-1;hn>-1;hn--){var yn=on[hn];if(!(yn._outsidePointerEvents.observers.length<1)&&yn.hasAttached()){if(yn.overlayElement.contains(Vt)||yn.overlayElement.contains(Kt))break;yn._outsidePointerEvents.next(At)}}},vt}return(0,Z.Z)(be,[{key:"add",value:function(Ge){if((0,w.Z)((0,R.Z)(be.prototype),"add",this).call(this,Ge),!this._isAttached){var vt=this._document.body;vt.addEventListener("pointerdown",this._pointerDownListener,!0),vt.addEventListener("click",this._clickListener,!0),vt.addEventListener("auxclick",this._clickListener,!0),vt.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=vt.style.cursor,vt.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}},{key:"detach",value:function(){if(this._isAttached){var Ge=this._document.body;Ge.removeEventListener("pointerdown",this._pointerDownListener,!0),Ge.removeEventListener("click",this._clickListener,!0),Ge.removeEventListener("auxclick",this._clickListener,!0),Ge.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(Ge.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}]),be}(xe);return Ye.\u0275fac=function(ne){return new(ne||Ye)(T.LFG(y.K0),T.LFG(v.t4))},Ye.\u0275prov=T.Yz7({token:Ye,factory:Ye.\u0275fac,providedIn:"root"}),Ye}(),tt=function(){var Ye=function(){function Me(ne,be){(0,x.Z)(this,Me),this._platform=be,this._document=ne}return(0,Z.Z)(Me,[{key:"ngOnDestroy",value:function(){var be;null===(be=this._containerElement)||void 0===be||be.remove()}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){var be="cdk-overlay-container";if(this._platform.isBrowser||(0,v.Oy)())for(var Fe=this._document.querySelectorAll(".".concat(be,'[platform="server"], ')+".".concat(be,'[platform="test"]')),Ge=0;Ge<Fe.length;Ge++)Fe[Ge].remove();var vt=this._document.createElement("div");vt.classList.add(be),(0,v.Oy)()?vt.setAttribute("platform","test"):this._platform.isBrowser||vt.setAttribute("platform","server"),this._document.body.appendChild(vt),this._containerElement=vt}}]),Me}();return Ye.\u0275fac=function(ne){return new(ne||Ye)(T.LFG(y.K0),T.LFG(v.t4))},Ye.\u0275prov=T.Yz7({token:Ye,factory:Ye.\u0275fac,providedIn:"root"}),Ye}(),Zt=function(){function Ye(Me,ne,be,Fe,Ge,vt,At,Vt,Kt){var on=this;(0,x.Z)(this,Ye),this._portalOutlet=Me,this._host=ne,this._pane=be,this._config=Fe,this._ngZone=Ge,this._keyboardDispatcher=vt,this._document=At,this._location=Vt,this._outsideClickDispatcher=Kt,this._backdropElement=null,this._backdropClick=new S.xQ,this._attachments=new S.xQ,this._detachments=new S.xQ,this._locationChanges=I.w.EMPTY,this._backdropClickHandler=function(hn){return on._backdropClick.next(hn)},this._keydownEvents=new S.xQ,this._outsidePointerEvents=new S.xQ,Fe.scrollStrategy&&(this._scrollStrategy=Fe.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Fe.positionStrategy}return(0,Z.Z)(Ye,[{key:"overlayElement",get:function(){return this._pane}},{key:"backdropElement",get:function(){return this._backdropElement}},{key:"hostElement",get:function(){return this._host}},{key:"attach",value:function(ne){var be=this,Fe=this._portalOutlet.attach(ne);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,G.q)(1)).subscribe(function(){be.hasAttached()&&be.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(function(){return be.dispose()})),this._outsideClickDispatcher.add(this),Fe}},{key:"detach",value:function(){if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();var ne=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),ne}}},{key:"dispose",value:function(){var ne,be=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(ne=this._host)||void 0===ne||ne.remove(),this._previousHostParent=this._pane=this._host=null,be&&this._detachments.next(),this._detachments.complete()}},{key:"hasAttached",value:function(){return this._portalOutlet.hasAttached()}},{key:"backdropClick",value:function(){return this._backdropClick}},{key:"attachments",value:function(){return this._attachments}},{key:"detachments",value:function(){return this._detachments}},{key:"keydownEvents",value:function(){return this._keydownEvents}},{key:"outsidePointerEvents",value:function(){return this._outsidePointerEvents}},{key:"getConfig",value:function(){return this._config}},{key:"updatePosition",value:function(){this._positionStrategy&&this._positionStrategy.apply()}},{key:"updatePositionStrategy",value:function(ne){ne!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=ne,this.hasAttached()&&(ne.attach(this),this.updatePosition()))}},{key:"updateSize",value:function(ne){this._config=(0,L.Z)((0,L.Z)({},this._config),ne),this._updateElementSize()}},{key:"setDirection",value:function(ne){this._config=(0,L.Z)((0,L.Z)({},this._config),{},{direction:ne}),this._updateElementDirection()}},{key:"addPanelClass",value:function(ne){this._pane&&this._toggleClasses(this._pane,ne,!0)}},{key:"removePanelClass",value:function(ne){this._pane&&this._toggleClasses(this._pane,ne,!1)}},{key:"getDirection",value:function(){var ne=this._config.direction;return ne?"string"==typeof ne?ne:ne.value:"ltr"}},{key:"updateScrollStrategy",value:function(ne){ne!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=ne,this.hasAttached()&&(ne.attach(this),ne.enable()))}},{key:"_updateElementDirection",value:function(){this._host.setAttribute("dir",this.getDirection())}},{key:"_updateElementSize",value:function(){if(this._pane){var ne=this._pane.style;ne.width=(0,D.HM)(this._config.width),ne.height=(0,D.HM)(this._config.height),ne.minWidth=(0,D.HM)(this._config.minWidth),ne.minHeight=(0,D.HM)(this._config.minHeight),ne.maxWidth=(0,D.HM)(this._config.maxWidth),ne.maxHeight=(0,D.HM)(this._config.maxHeight)}}},{key:"_togglePointerEvents",value:function(ne){this._pane.style.pointerEvents=ne?"":"none"}},{key:"_attachBackdrop",value:function(){var ne=this,be="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){ne._backdropElement&&ne._backdropElement.classList.add(be)})}):this._backdropElement.classList.add(be)}},{key:"_updateStackingOrder",value:function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}},{key:"detachBackdrop",value:function(){var ne=this,be=this._backdropElement;if(be){var Fe,Ge=function vt(){be&&(be.removeEventListener("click",ne._backdropClickHandler),be.removeEventListener("transitionend",vt),ne._disposeBackdrop(be)),ne._config.backdropClass&&ne._toggleClasses(be,ne._config.backdropClass,!1),clearTimeout(Fe)};be.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(function(){be.addEventListener("transitionend",Ge)}),be.style.pointerEvents="none",Fe=this._ngZone.runOutsideAngular(function(){return setTimeout(Ge,500)})}}},{key:"_toggleClasses",value:function(ne,be,Fe){var vt,At,Ge=(0,D.Eq)(be||[]).filter(function(Vt){return!!Vt});Ge.length&&(Fe?(vt=ne.classList).add.apply(vt,(0,V.Z)(Ge)):(At=ne.classList).remove.apply(At,(0,V.Z)(Ge)))}},{key:"_detachContentWhenStable",value:function(){var ne=this;this._ngZone.runOutsideAngular(function(){var be=ne._ngZone.onStable.pipe((0,X.R)((0,F.T)(ne._attachments,ne._detachments))).subscribe(function(){(!ne._pane||!ne._host||0===ne._pane.children.length)&&(ne._pane&&ne._config.panelClass&&ne._toggleClasses(ne._pane,ne._config.panelClass,!1),ne._host&&ne._host.parentElement&&(ne._previousHostParent=ne._host.parentElement,ne._host.remove()),be.unsubscribe())})})}},{key:"_disposeScrollStrategy",value:function(){var ne=this._scrollStrategy;ne&&(ne.disable(),ne.detach&&ne.detach())}},{key:"_disposeBackdrop",value:function(ne){ne&&(ne.remove(),this._backdropElement===ne&&(this._backdropElement=null))}}]),Ye}(),Tt="cdk-overlay-connected-position-bounding-box",mt=/([A-Za-z%]+)$/,Yt=function(){function Ye(Me,ne,be,Fe,Ge){(0,x.Z)(this,Ye),this._viewportRuler=ne,this._document=be,this._platform=Fe,this._overlayContainer=Ge,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new S.xQ,this._resizeSubscription=I.w.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(Me)}return(0,Z.Z)(Ye,[{key:"positions",get:function(){return this._preferredPositions}},{key:"attach",value:function(ne){var be=this;this._validatePositions(),ne.hostElement.classList.add(Tt),this._overlayRef=ne,this._boundingBox=ne.hostElement,this._pane=ne.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(function(){be._isInitialRender=!0,be.apply()})}},{key:"apply",value:function(){if(!this._isDisposed&&this._platform.isBrowser){if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();var vt,Vt,ne=this._originRect,be=this._overlayRect,Fe=this._viewportRect,Ge=[],At=(0,U.Z)(this._preferredPositions);try{for(At.s();!(Vt=At.n()).done;){var Kt=Vt.value,on=this._getOriginPoint(ne,Kt),hn=this._getOverlayPoint(on,be,Kt),yn=this._getOverlayFit(hn,be,Fe,Kt);if(yn.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Kt,on);this._canFitWithFlexibleDimensions(yn,hn,Fe)?Ge.push({position:Kt,origin:on,overlayRect:be,boundingBoxRect:this._calculateBoundingBoxRect(on,Kt)}):(!vt||vt.overlayFit.visibleArea<yn.visibleArea)&&(vt={overlayFit:yn,overlayPoint:hn,originPoint:on,position:Kt,overlayRect:be})}}catch(lt){At.e(lt)}finally{At.f()}if(Ge.length){var Ct,Cn=null,Nt=-1,Lt=(0,U.Z)(Ge);try{for(Lt.s();!(Ct=Lt.n()).done;){var Ot=Ct.value,ht=Ot.boundingBoxRect.width*Ot.boundingBoxRect.height*(Ot.position.weight||1);ht>Nt&&(Nt=ht,Cn=Ot)}}catch(lt){Lt.e(lt)}finally{Lt.f()}return this._isPushed=!1,void this._applyPosition(Cn.position,Cn.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(vt.position,vt.originPoint);this._applyPosition(vt.position,vt.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&un(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Tt),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{key:"reapplyLastPosition",value:function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var ne=this._lastPosition||this._preferredPositions[0],be=this._getOriginPoint(this._originRect,ne);this._applyPosition(ne,be)}}},{key:"withScrollableContainers",value:function(ne){return this._scrollables=ne,this}},{key:"withPositions",value:function(ne){return this._preferredPositions=ne,-1===ne.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(ne){return this._viewportMargin=ne,this}},{key:"withFlexibleDimensions",value:function(){var ne=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=ne,this}},{key:"withGrowAfterOpen",value:function(){var ne=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=ne,this}},{key:"withPush",value:function(){var ne=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=ne,this}},{key:"withLockedPosition",value:function(){var ne=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=ne,this}},{key:"setOrigin",value:function(ne){return this._origin=ne,this}},{key:"withDefaultOffsetX",value:function(ne){return this._offsetX=ne,this}},{key:"withDefaultOffsetY",value:function(ne){return this._offsetY=ne,this}},{key:"withTransformOriginOn",value:function(ne){return this._transformOriginSelector=ne,this}},{key:"_getOriginPoint",value:function(ne,be){var Fe;if("center"==be.originX)Fe=ne.left+ne.width/2;else{var Ge=this._isRtl()?ne.right:ne.left,vt=this._isRtl()?ne.left:ne.right;Fe="start"==be.originX?Ge:vt}return{x:Fe,y:"center"==be.originY?ne.top+ne.height/2:"top"==be.originY?ne.top:ne.bottom}}},{key:"_getOverlayPoint",value:function(ne,be,Fe){var Ge;return Ge="center"==Fe.overlayX?-be.width/2:"start"===Fe.overlayX?this._isRtl()?-be.width:0:this._isRtl()?0:-be.width,{x:ne.x+Ge,y:ne.y+("center"==Fe.overlayY?-be.height/2:"top"==Fe.overlayY?0:-be.height)}}},{key:"_getOverlayFit",value:function(ne,be,Fe,Ge){var vt=Mn(be),At=ne.x,Vt=ne.y,Kt=this._getOffset(Ge,"x"),on=this._getOffset(Ge,"y");Kt&&(At+=Kt),on&&(Vt+=on);var Cn=0-Vt,Nt=Vt+vt.height-Fe.height,Lt=this._subtractOverflows(vt.width,0-At,At+vt.width-Fe.width),Ct=this._subtractOverflows(vt.height,Cn,Nt),Ot=Lt*Ct;return{visibleArea:Ot,isCompletelyWithinViewport:vt.width*vt.height===Ot,fitsInViewportVertically:Ct===vt.height,fitsInViewportHorizontally:Lt==vt.width}}},{key:"_canFitWithFlexibleDimensions",value:function(ne,be,Fe){if(this._hasFlexibleDimensions){var Ge=Fe.bottom-be.y,vt=Fe.right-be.x,At=Ut(this._overlayRef.getConfig().minHeight),Vt=Ut(this._overlayRef.getConfig().minWidth);return(ne.fitsInViewportVertically||null!=At&&At<=Ge)&&(ne.fitsInViewportHorizontally||null!=Vt&&Vt<=vt)}return!1}},{key:"_pushOverlayOnScreen",value:function(ne,be,Fe){if(this._previousPushAmount&&this._positionLocked)return{x:ne.x+this._previousPushAmount.x,y:ne.y+this._previousPushAmount.y};var hn,yn,Ge=Mn(be),vt=this._viewportRect,At=Math.max(ne.x+Ge.width-vt.width,0),Vt=Math.max(ne.y+Ge.height-vt.height,0),Kt=Math.max(vt.top-Fe.top-ne.y,0),on=Math.max(vt.left-Fe.left-ne.x,0);return this._previousPushAmount={x:hn=Ge.width<=vt.width?on||-At:ne.x<this._viewportMargin?vt.left-Fe.left-ne.x:0,y:yn=Ge.height<=vt.height?Kt||-Vt:ne.y<this._viewportMargin?vt.top-Fe.top-ne.y:0},{x:ne.x+hn,y:ne.y+yn}}},{key:"_applyPosition",value:function(ne,be){if(this._setTransformOrigin(ne),this._setOverlayElementStyles(be,ne),this._setBoundingBoxStyles(be,ne),ne.panelClass&&this._addPanelClasses(ne.panelClass),this._lastPosition=ne,this._positionChanges.observers.length){var Fe=this._getScrollVisibility(),Ge=new et(ne,Fe);this._positionChanges.next(Ge)}this._isInitialRender=!1}},{key:"_setTransformOrigin",value:function(ne){if(this._transformOriginSelector){var Fe,be=this._boundingBox.querySelectorAll(this._transformOriginSelector),Ge=ne.overlayY;Fe="center"===ne.overlayX?"center":this._isRtl()?"start"===ne.overlayX?"right":"left":"start"===ne.overlayX?"left":"right";for(var vt=0;vt<be.length;vt++)be[vt].style.transformOrigin="".concat(Fe," ").concat(Ge)}}},{key:"_calculateBoundingBoxRect",value:function(ne,be){var vt,At,Vt,Cn,Nt,Lt,Fe=this._viewportRect,Ge=this._isRtl();if("top"===be.overlayY)vt=Fe.height-(At=ne.y)+this._viewportMargin;else if("bottom"===be.overlayY)vt=Fe.height-(Vt=Fe.height-ne.y+2*this._viewportMargin)+this._viewportMargin;else{var Kt=Math.min(Fe.bottom-ne.y+Fe.top,ne.y),on=this._lastBoundingBoxSize.height;At=ne.y-Kt,(vt=2*Kt)>on&&!this._isInitialRender&&!this._growAfterOpen&&(At=ne.y-on/2)}if("end"===be.overlayX&&!Ge||"start"===be.overlayX&&Ge)Lt=Fe.width-ne.x+this._viewportMargin,Cn=ne.x-this._viewportMargin;else if("start"===be.overlayX&&!Ge||"end"===be.overlayX&&Ge)Nt=ne.x,Cn=Fe.right-ne.x;else{var Ct=Math.min(Fe.right-ne.x+Fe.left,ne.x),Ot=this._lastBoundingBoxSize.width;Nt=ne.x-Ct,(Cn=2*Ct)>Ot&&!this._isInitialRender&&!this._growAfterOpen&&(Nt=ne.x-Ot/2)}return{top:At,left:Nt,bottom:Vt,right:Lt,width:Cn,height:vt}}},{key:"_setBoundingBoxStyles",value:function(ne,be){var Fe=this._calculateBoundingBoxRect(ne,be);!this._isInitialRender&&!this._growAfterOpen&&(Fe.height=Math.min(Fe.height,this._lastBoundingBoxSize.height),Fe.width=Math.min(Fe.width,this._lastBoundingBoxSize.width));var Ge={};if(this._hasExactPosition())Ge.top=Ge.left="0",Ge.bottom=Ge.right=Ge.maxHeight=Ge.maxWidth="",Ge.width=Ge.height="100%";else{var vt=this._overlayRef.getConfig().maxHeight,At=this._overlayRef.getConfig().maxWidth;Ge.height=(0,D.HM)(Fe.height),Ge.top=(0,D.HM)(Fe.top),Ge.bottom=(0,D.HM)(Fe.bottom),Ge.width=(0,D.HM)(Fe.width),Ge.left=(0,D.HM)(Fe.left),Ge.right=(0,D.HM)(Fe.right),Ge.alignItems="center"===be.overlayX?"center":"end"===be.overlayX?"flex-end":"flex-start",Ge.justifyContent="center"===be.overlayY?"center":"bottom"===be.overlayY?"flex-end":"flex-start",vt&&(Ge.maxHeight=(0,D.HM)(vt)),At&&(Ge.maxWidth=(0,D.HM)(At))}this._lastBoundingBoxSize=Fe,un(this._boundingBox.style,Ge)}},{key:"_resetBoundingBoxStyles",value:function(){un(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){un(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(ne,be){var Fe={},Ge=this._hasExactPosition(),vt=this._hasFlexibleDimensions,At=this._overlayRef.getConfig();if(Ge){var Vt=this._viewportRuler.getViewportScrollPosition();un(Fe,this._getExactOverlayY(be,ne,Vt)),un(Fe,this._getExactOverlayX(be,ne,Vt))}else Fe.position="static";var Kt="",on=this._getOffset(be,"x"),hn=this._getOffset(be,"y");on&&(Kt+="translateX(".concat(on,"px) ")),hn&&(Kt+="translateY(".concat(hn,"px)")),Fe.transform=Kt.trim(),At.maxHeight&&(Ge?Fe.maxHeight=(0,D.HM)(At.maxHeight):vt&&(Fe.maxHeight="")),At.maxWidth&&(Ge?Fe.maxWidth=(0,D.HM)(At.maxWidth):vt&&(Fe.maxWidth="")),un(this._pane.style,Fe)}},{key:"_getExactOverlayY",value:function(ne,be,Fe){var Ge={top:"",bottom:""},vt=this._getOverlayPoint(be,this._overlayRect,ne);this._isPushed&&(vt=this._pushOverlayOnScreen(vt,this._overlayRect,Fe));var At=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return vt.y-=At,"bottom"===ne.overlayY?Ge.bottom="".concat(this._document.documentElement.clientHeight-(vt.y+this._overlayRect.height),"px"):Ge.top=(0,D.HM)(vt.y),Ge}},{key:"_getExactOverlayX",value:function(ne,be,Fe){var Ge={left:"",right:""},vt=this._getOverlayPoint(be,this._overlayRect,ne);return this._isPushed&&(vt=this._pushOverlayOnScreen(vt,this._overlayRect,Fe)),"right"==(this._isRtl()?"end"===ne.overlayX?"left":"right":"end"===ne.overlayX?"right":"left")?Ge.right="".concat(this._document.documentElement.clientWidth-(vt.x+this._overlayRect.width),"px"):Ge.left=(0,D.HM)(vt.x),Ge}},{key:"_getScrollVisibility",value:function(){var ne=this._getOriginRect(),be=this._pane.getBoundingClientRect(),Fe=this._scrollables.map(function(Ge){return Ge.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:oe(ne,Fe),isOriginOutsideView:de(ne,Fe),isOverlayClipped:oe(be,Fe),isOverlayOutsideView:de(be,Fe)}}},{key:"_subtractOverflows",value:function(ne){for(var be=arguments.length,Fe=new Array(be>1?be-1:0),Ge=1;Ge<be;Ge++)Fe[Ge-1]=arguments[Ge];return Fe.reduce(function(vt,At){return vt-Math.max(At,0)},ne)}},{key:"_getNarrowedViewportRect",value:function(){var ne=this._document.documentElement.clientWidth,be=this._document.documentElement.clientHeight,Fe=this._viewportRuler.getViewportScrollPosition();return{top:Fe.top+this._viewportMargin,left:Fe.left+this._viewportMargin,right:Fe.left+ne-this._viewportMargin,bottom:Fe.top+be-this._viewportMargin,width:ne-2*this._viewportMargin,height:be-2*this._viewportMargin}}},{key:"_isRtl",value:function(){return"rtl"===this._overlayRef.getDirection()}},{key:"_hasExactPosition",value:function(){return!this._hasFlexibleDimensions||this._isPushed}},{key:"_getOffset",value:function(ne,be){return"x"===be?null==ne.offsetX?this._offsetX:ne.offsetX:null==ne.offsetY?this._offsetY:ne.offsetY}},{key:"_validatePositions",value:function(){}},{key:"_addPanelClasses",value:function(ne){var be=this;this._pane&&(0,D.Eq)(ne).forEach(function(Fe){""!==Fe&&-1===be._appliedPanelClasses.indexOf(Fe)&&(be._appliedPanelClasses.push(Fe),be._pane.classList.add(Fe))})}},{key:"_clearPanelClasses",value:function(){var ne=this;this._pane&&(this._appliedPanelClasses.forEach(function(be){ne._pane.classList.remove(be)}),this._appliedPanelClasses=[])}},{key:"_getOriginRect",value:function(){var ne=this._origin;if(ne instanceof T.SBq)return ne.nativeElement.getBoundingClientRect();if(ne instanceof Element)return ne.getBoundingClientRect();var be=ne.width||0,Fe=ne.height||0;return{top:ne.y,bottom:ne.y+Fe,left:ne.x,right:ne.x+be,height:Fe,width:be}}}]),Ye}();function un(Ye,Me){for(var ne in Me)Me.hasOwnProperty(ne)&&(Ye[ne]=Me[ne]);return Ye}function Ut(Ye){if("number"!=typeof Ye&&null!=Ye){var Me=Ye.split(mt),ne=(0,B.Z)(Me,2),Fe=ne[1];return Fe&&"px"!==Fe?null:parseFloat(ne[0])}return Ye||null}function Mn(Ye){return{top:Math.floor(Ye.top),right:Math.floor(Ye.right),bottom:Math.floor(Ye.bottom),left:Math.floor(Ye.left),width:Math.floor(Ye.width),height:Math.floor(Ye.height)}}var On="cdk-global-overlay-wrapper",Fn=function(){function Ye(){(0,x.Z)(this,Ye),this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}return(0,Z.Z)(Ye,[{key:"attach",value:function(ne){var be=ne.getConfig();this._overlayRef=ne,this._width&&!be.width&&ne.updateSize({width:this._width}),this._height&&!be.height&&ne.updateSize({height:this._height}),ne.hostElement.classList.add(On),this._isDisposed=!1}},{key:"top",value:function(){var ne=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=ne,this._alignItems="flex-start",this}},{key:"left",value:function(){var ne=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=ne,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var ne=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=ne,this._alignItems="flex-end",this}},{key:"right",value:function(){var ne=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=ne,this._justifyContent="flex-end",this}},{key:"width",value:function(){var ne=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:ne}):this._width=ne,this}},{key:"height",value:function(){var ne=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:ne}):this._height=ne,this}},{key:"centerHorizontally",value:function(){var ne=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(ne),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var ne=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(ne),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var ne=this._overlayRef.overlayElement.style,be=this._overlayRef.hostElement.style,Fe=this._overlayRef.getConfig(),Ge=Fe.width,vt=Fe.height,At=Fe.maxWidth,Vt=Fe.maxHeight,Kt=!("100%"!==Ge&&"100vw"!==Ge||At&&"100%"!==At&&"100vw"!==At),on=!("100%"!==vt&&"100vh"!==vt||Vt&&"100%"!==Vt&&"100vh"!==Vt);ne.position=this._cssPosition,ne.marginLeft=Kt?"0":this._leftOffset,ne.marginTop=on?"0":this._topOffset,ne.marginBottom=this._bottomOffset,ne.marginRight=this._rightOffset,Kt?be.justifyContent="flex-start":"center"===this._justifyContent?be.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?be.justifyContent="flex-end":"flex-end"===this._justifyContent&&(be.justifyContent="flex-start"):be.justifyContent=this._justifyContent,be.alignItems=on?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var ne=this._overlayRef.overlayElement.style,be=this._overlayRef.hostElement,Fe=be.style;be.classList.remove(On),Fe.justifyContent=Fe.alignItems=ne.marginTop=ne.marginBottom=ne.marginLeft=ne.marginRight=ne.position="",this._overlayRef=null,this._isDisposed=!0}}}]),Ye}(),Zn=function(){var Ye=function(){function Me(ne,be,Fe,Ge){(0,x.Z)(this,Me),this._viewportRuler=ne,this._document=be,this._platform=Fe,this._overlayContainer=Ge}return(0,Z.Z)(Me,[{key:"global",value:function(){return new Fn}},{key:"flexibleConnectedTo",value:function(be){return new Yt(be,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),Me}();return Ye.\u0275fac=function(ne){return new(ne||Ye)(T.LFG(O.rL),T.LFG(y.K0),T.LFG(v.t4),T.LFG(tt))},Ye.\u0275prov=T.Yz7({token:Ye,factory:Ye.\u0275fac,providedIn:"root"}),Ye}(),Vn=0,zn=function(){var Ye=function(){function Me(ne,be,Fe,Ge,vt,At,Vt,Kt,on,hn,yn){(0,x.Z)(this,Me),this.scrollStrategies=ne,this._overlayContainer=be,this._componentFactoryResolver=Fe,this._positionBuilder=Ge,this._keyboardDispatcher=vt,this._injector=At,this._ngZone=Vt,this._document=Kt,this._directionality=on,this._location=hn,this._outsideClickDispatcher=yn}return(0,Z.Z)(Me,[{key:"create",value:function(be){var Fe=this._createHostElement(),Ge=this._createPaneElement(Fe),vt=this._createPortalOutlet(Ge),At=new qe(be);return At.direction=At.direction||this._directionality.value,new Zt(vt,Fe,Ge,At,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(be){var Fe=this._document.createElement("div");return Fe.id="cdk-overlay-".concat(Vn++),Fe.classList.add("cdk-overlay-pane"),be.appendChild(Fe),Fe}},{key:"_createHostElement",value:function(){var be=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(be),be}},{key:"_createPortalOutlet",value:function(be){return this._appRef||(this._appRef=this._injector.get(T.z2F)),new k.u0(be,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),Me}();return Ye.\u0275fac=function(ne){return new(ne||Ye)(T.LFG(ge),T.LFG(tt),T.LFG(T._Vd),T.LFG(Zn),T.LFG(He),T.LFG(T.zs3),T.LFG(T.R0b),T.LFG(y.K0),T.LFG(M.Is),T.LFG(y.Ye),T.LFG(st))},Ye.\u0275prov=T.Yz7({token:Ye,factory:Ye.\u0275fac}),Ye}(),Wn=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],nr=new T.OlP("cdk-connected-overlay-scroll-strategy"),ar=function(){var Ye=function Me(ne){(0,x.Z)(this,Me),this.elementRef=ne};return Ye.\u0275fac=function(ne){return new(ne||Ye)(T.Y36(T.SBq))},Ye.\u0275dir=T.lG2({type:Ye,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),Ye}(),Sr=function(){var Ye=function(){function Me(ne,be,Fe,Ge,vt){(0,x.Z)(this,Me),this._overlay=ne,this._dir=vt,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=I.w.EMPTY,this._attachSubscription=I.w.EMPTY,this._detachSubscription=I.w.EMPTY,this._positionSubscription=I.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new T.vpe,this.positionChange=new T.vpe,this.attach=new T.vpe,this.detach=new T.vpe,this.overlayKeydown=new T.vpe,this.overlayOutsideClick=new T.vpe,this._templatePortal=new k.UE(be,Fe),this._scrollStrategyFactory=Ge,this.scrollStrategy=this._scrollStrategyFactory()}return(0,Z.Z)(Me,[{key:"offsetX",get:function(){return this._offsetX},set:function(be){this._offsetX=be,this._position&&this._updatePositionStrategy(this._position)}},{key:"offsetY",get:function(){return this._offsetY},set:function(be){this._offsetY=be,this._position&&this._updatePositionStrategy(this._position)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(be){this._hasBackdrop=(0,D.Ig)(be)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(be){this._lockPosition=(0,D.Ig)(be)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(be){this._flexibleDimensions=(0,D.Ig)(be)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(be){this._growAfterOpen=(0,D.Ig)(be)}},{key:"push",get:function(){return this._push},set:function(be){this._push=(0,D.Ig)(be)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}},{key:"ngOnDestroy",value:function(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}},{key:"ngOnChanges",value:function(be){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),be.origin&&this.open&&this._position.apply()),be.open&&(this.open?this._attachOverlay():this._detachOverlay())}},{key:"_createOverlay",value:function(){var be=this;(!this.positions||!this.positions.length)&&(this.positions=Wn);var Fe=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=Fe.attachments().subscribe(function(){return be.attach.emit()}),this._detachSubscription=Fe.detachments().subscribe(function(){return be.detach.emit()}),Fe.keydownEvents().subscribe(function(Ge){be.overlayKeydown.next(Ge),Ge.keyCode===Y.hY&&!be.disableClose&&!(0,Y.Vb)(Ge)&&(Ge.preventDefault(),be._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(function(Ge){be.overlayOutsideClick.next(Ge)})}},{key:"_buildConfig",value:function(){var be=this._position=this.positionStrategy||this._createPositionStrategy(),Fe=new qe({direction:this._dir,positionStrategy:be,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(Fe.width=this.width),(this.height||0===this.height)&&(Fe.height=this.height),(this.minWidth||0===this.minWidth)&&(Fe.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Fe.minHeight=this.minHeight),this.backdropClass&&(Fe.backdropClass=this.backdropClass),this.panelClass&&(Fe.panelClass=this.panelClass),Fe}},{key:"_updatePositionStrategy",value:function(be){var Fe=this,Ge=this.positions.map(function(vt){return{originX:vt.originX,originY:vt.originY,overlayX:vt.overlayX,overlayY:vt.overlayY,offsetX:vt.offsetX||Fe.offsetX,offsetY:vt.offsetY||Fe.offsetY,panelClass:vt.panelClass||void 0}});return be.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(Ge).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}},{key:"_createPositionStrategy",value:function(){var be=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(be),be}},{key:"_getFlexibleConnectedPositionStrategyOrigin",value:function(){return this.origin instanceof ar?this.origin.elementRef:this.origin}},{key:"_attachOverlay",value:function(){var be=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(function(Fe){be.backdropClick.emit(Fe)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,W.o)(function(){return be.positionChange.observers.length>0})).subscribe(function(Fe){be.positionChange.emit(Fe),0===be.positionChange.observers.length&&be._positionSubscription.unsubscribe()}))}},{key:"_detachOverlay",value:function(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}]),Me}();return Ye.\u0275fac=function(ne){return new(ne||Ye)(T.Y36(zn),T.Y36(T.Rgc),T.Y36(T.s_b),T.Y36(nr),T.Y36(M.Is,8))},Ye.\u0275dir=T.lG2({type:Ye,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[T.TTD]}),Ye}(),rn={provide:nr,deps:[zn],useFactory:function(Ye){return function(){return Ye.scrollStrategies.reposition()}}},_n=function(){var Ye=function Me(){(0,x.Z)(this,Me)};return Ye.\u0275fac=function(ne){return new(ne||Ye)},Ye.\u0275mod=T.oAB({type:Ye}),Ye.\u0275inj=T.cJS({providers:[zn,rn],imports:[[M.vT,k.eL,O.Cl],O.Cl]}),Ye}()},50928:function(ue,j,f){"use strict";f.d(j,{t4:function(){return w},ud:function(){return R},sA:function(){return F},ht:function(){return I},kV:function(){return S},Oy:function(){return X},qK:function(){return x},i$:function(){return y},Mq:function(){return v}});var L,B=f(18967),U=f(83668),V=f(86019);try{L="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(W){L=!1}var b,Z,D,M,G,w=function(){var W=function Y(ae){(0,B.Z)(this,Y),this._platformId=ae,this.isBrowser=this._platformId?(0,V.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!L)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT};return W.\u0275fac=function(ae){return new(ae||W)(U.LFG(U.Lbi))},W.\u0275prov=U.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W}(),R=function(){var W=function Y(){(0,B.Z)(this,Y)};return W.\u0275fac=function(ae){return new(ae||W)},W.\u0275mod=U.oAB({type:W}),W.\u0275inj=U.cJS({}),W}(),E=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function x(){if(b)return b;if("object"!=typeof document||!document)return b=new Set(E);var W=document.createElement("input");return b=new Set(E.filter(function(Y){return W.setAttribute("type",Y),W.type===Y}))}function y(W){return function(){if(null==Z&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Z=!0}}))}finally{Z=Z||!1}return Z}()?W:!!W.capture}function v(){if(null==D){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return D=!1;if("scrollBehavior"in document.documentElement.style)D=!0;else{var W=Element.prototype.scrollTo;D=!!W&&!/\{\s*\[native code\]\s*\}/.test(W.toString())}}return D}function S(W){if(function(){if(null==M){var W="undefined"!=typeof document?document.head:null;M=!(!W||!W.createShadowRoot&&!W.attachShadow)}return M}()){var Y=W.getRootNode?W.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&Y instanceof ShadowRoot)return Y}return null}function I(){for(var W="undefined"!=typeof document&&document?document.activeElement:null;W&&W.shadowRoot;){var Y=W.shadowRoot.activeElement;if(Y===W)break;W=Y}return W}function F(W){return W.composedPath?W.composedPath()[0]:W.target}function X(){return void 0!==G.__karma__&&!!G.__karma__||void 0!==G.jasmine&&!!G.jasmine||void 0!==G.jest&&!!G.jest||void 0!==G.Mocha&&!!G.Mocha}G="undefined"!=typeof global?global:"undefined"!=typeof window?window:{}},5711:function(ue,j,f){"use strict";f.d(j,{en:function(){return I},ig:function(){return W},Pl:function(){return ae},C5:function(){return M},u0:function(){return G},eL:function(){return fe},UE:function(){return k}});var B=f(88009),U=f(38402),V=f(89200),L=f(10509),w=f(97154),R=f(18967),b=f(14105),E=f(83668),x=f(86019),g=function(){function he(){(0,R.Z)(this,he)}return(0,b.Z)(he,[{key:"attach",value:function(oe){return this._attachedHost=oe,oe.attach(this)}},{key:"detach",value:function(){var oe=this._attachedHost;null!=oe&&(this._attachedHost=null,oe.detach())}},{key:"isAttached",get:function(){return null!=this._attachedHost}},{key:"setAttachedHost",value:function(oe){this._attachedHost=oe}}]),he}(),M=function(he){(0,L.Z)(oe,he);var de=(0,w.Z)(oe);function oe(Ce,ge,qe,De){var Qe;return(0,R.Z)(this,oe),(Qe=de.call(this)).component=Ce,Qe.viewContainerRef=ge,Qe.injector=qe,Qe.componentFactoryResolver=De,Qe}return oe}(g),k=function(he){(0,L.Z)(oe,he);var de=(0,w.Z)(oe);function oe(Ce,ge,qe){var De;return(0,R.Z)(this,oe),(De=de.call(this)).templateRef=Ce,De.viewContainerRef=ge,De.context=qe,De}return(0,b.Z)(oe,[{key:"origin",get:function(){return this.templateRef.elementRef}},{key:"attach",value:function(ge){var qe=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=qe,(0,U.Z)((0,V.Z)(oe.prototype),"attach",this).call(this,ge)}},{key:"detach",value:function(){return this.context=void 0,(0,U.Z)((0,V.Z)(oe.prototype),"detach",this).call(this)}}]),oe}(g),S=function(he){(0,L.Z)(oe,he);var de=(0,w.Z)(oe);function oe(Ce){var ge;return(0,R.Z)(this,oe),(ge=de.call(this)).element=Ce instanceof E.SBq?Ce.nativeElement:Ce,ge}return oe}(g),I=function(){function he(){(0,R.Z)(this,he),this._isDisposed=!1,this.attachDomPortal=null}return(0,b.Z)(he,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(oe){return oe instanceof M?(this._attachedPortal=oe,this.attachComponentPortal(oe)):oe instanceof k?(this._attachedPortal=oe,this.attachTemplatePortal(oe)):this.attachDomPortal&&oe instanceof S?(this._attachedPortal=oe,this.attachDomPortal(oe)):void 0}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(oe){this._disposeFn=oe}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}]),he}(),G=function(he){(0,L.Z)(oe,he);var de=(0,w.Z)(oe);function oe(Ce,ge,qe,De,Qe){var et,bt;return(0,R.Z)(this,oe),(bt=de.call(this)).outletElement=Ce,bt._componentFactoryResolver=ge,bt._appRef=qe,bt._defaultInjector=De,bt.attachDomPortal=function(_e){var xe=_e.element,He=bt._document.createComment("dom-portal");xe.parentNode.insertBefore(He,xe),bt.outletElement.appendChild(xe),bt._attachedPortal=_e,(0,U.Z)((et=(0,B.Z)(bt),(0,V.Z)(oe.prototype)),"setDisposeFn",et).call(et,function(){He.parentNode&&He.parentNode.replaceChild(xe,He)})},bt._document=Qe,bt}return(0,b.Z)(oe,[{key:"attachComponentPortal",value:function(ge){var et,qe=this,Qe=(ge.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ge.component);return ge.viewContainerRef?(et=ge.viewContainerRef.createComponent(Qe,ge.viewContainerRef.length,ge.injector||ge.viewContainerRef.injector),this.setDisposeFn(function(){return et.destroy()})):(et=Qe.create(ge.injector||this._defaultInjector),this._appRef.attachView(et.hostView),this.setDisposeFn(function(){qe._appRef.detachView(et.hostView),et.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(et)),this._attachedPortal=ge,et}},{key:"attachTemplatePortal",value:function(ge){var qe=this,De=ge.viewContainerRef,Qe=De.createEmbeddedView(ge.templateRef,ge.context);return Qe.rootNodes.forEach(function(et){return qe.outletElement.appendChild(et)}),Qe.detectChanges(),this.setDisposeFn(function(){var et=De.indexOf(Qe);-1!==et&&De.remove(et)}),this._attachedPortal=ge,Qe}},{key:"dispose",value:function(){(0,U.Z)((0,V.Z)(oe.prototype),"dispose",this).call(this),this.outletElement.remove()}},{key:"_getComponentRootNode",value:function(ge){return ge.hostView.rootNodes[0]}}]),oe}(I),W=function(){var he=function(de){(0,L.Z)(Ce,de);var oe=(0,w.Z)(Ce);function Ce(ge,qe){return(0,R.Z)(this,Ce),oe.call(this,ge,qe)}return Ce}(k);return he.\u0275fac=function(oe){return new(oe||he)(E.Y36(E.Rgc),E.Y36(E.s_b))},he.\u0275dir=E.lG2({type:he,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[E.qOj]}),he}(),ae=function(){var he=function(de){(0,L.Z)(Ce,de);var oe=(0,w.Z)(Ce);function Ce(ge,qe,De){var Qe,et;return(0,R.Z)(this,Ce),(et=oe.call(this))._componentFactoryResolver=ge,et._viewContainerRef=qe,et._isInitialized=!1,et.attached=new E.vpe,et.attachDomPortal=function(bt){var _e=bt.element,xe=et._document.createComment("dom-portal");bt.setAttachedHost((0,B.Z)(et)),_e.parentNode.insertBefore(xe,_e),et._getRootNode().appendChild(_e),et._attachedPortal=bt,(0,U.Z)((Qe=(0,B.Z)(et),(0,V.Z)(Ce.prototype)),"setDisposeFn",Qe).call(Qe,function(){xe.parentNode&&xe.parentNode.replaceChild(_e,xe)})},et._document=De,et}return(0,b.Z)(Ce,[{key:"portal",get:function(){return this._attachedPortal},set:function(qe){this.hasAttached()&&!qe&&!this._isInitialized||(this.hasAttached()&&(0,U.Z)((0,V.Z)(Ce.prototype),"detach",this).call(this),qe&&(0,U.Z)((0,V.Z)(Ce.prototype),"attach",this).call(this,qe),this._attachedPortal=qe)}},{key:"attachedRef",get:function(){return this._attachedRef}},{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){(0,U.Z)((0,V.Z)(Ce.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(qe){qe.setAttachedHost(this);var De=null!=qe.viewContainerRef?qe.viewContainerRef:this._viewContainerRef,et=(qe.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(qe.component),bt=De.createComponent(et,De.length,qe.injector||De.injector);return De!==this._viewContainerRef&&this._getRootNode().appendChild(bt.hostView.rootNodes[0]),(0,U.Z)((0,V.Z)(Ce.prototype),"setDisposeFn",this).call(this,function(){return bt.destroy()}),this._attachedPortal=qe,this._attachedRef=bt,this.attached.emit(bt),bt}},{key:"attachTemplatePortal",value:function(qe){var De=this;qe.setAttachedHost(this);var Qe=this._viewContainerRef.createEmbeddedView(qe.templateRef,qe.context);return(0,U.Z)((0,V.Z)(Ce.prototype),"setDisposeFn",this).call(this,function(){return De._viewContainerRef.clear()}),this._attachedPortal=qe,this._attachedRef=Qe,this.attached.emit(Qe),Qe}},{key:"_getRootNode",value:function(){var qe=this._viewContainerRef.element.nativeElement;return qe.nodeType===qe.ELEMENT_NODE?qe:qe.parentNode}}]),Ce}(I);return he.\u0275fac=function(oe){return new(oe||he)(E.Y36(E._Vd),E.Y36(E.s_b),E.Y36(x.K0))},he.\u0275dir=E.lG2({type:he,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[E.qOj]}),he}(),fe=function(){var he=function de(){(0,R.Z)(this,de)};return he.\u0275fac=function(oe){return new(oe||he)},he.\u0275mod=E.oAB({type:he}),he.\u0275inj=E.cJS({}),he}()},97226:function(ue,j,f){"use strict";f.d(j,{ZD:function(){return oe},mF:function(){return X},Cl:function(){return Ce},rL:function(){return ae}});var B=f(18967),U=f(14105),V=f(80348),L=f(83668),w=f(27807),R=f(82429),b=f(15801),E=f(4998),O=(f(27202),f(16080),f(80758)),y=f(50439),T=f(50928),D=f(86019),v=f(58290),X=function(){var ge=function(){function qe(De,Qe,et){(0,B.Z)(this,qe),this._ngZone=De,this._platform=Qe,this._scrolled=new w.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=et}return(0,U.Z)(qe,[{key:"register",value:function(Qe){var et=this;this.scrollContainers.has(Qe)||this.scrollContainers.set(Qe,Qe.elementScrolled().subscribe(function(){return et._scrolled.next(Qe)}))}},{key:"deregister",value:function(Qe){var et=this.scrollContainers.get(Qe);et&&(et.unsubscribe(),this.scrollContainers.delete(Qe))}},{key:"scrolled",value:function(){var Qe=this,et=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new b.y(function(bt){Qe._globalSubscription||Qe._addGlobalListener();var _e=et>0?Qe._scrolled.pipe((0,O.e)(et)).subscribe(bt):Qe._scrolled.subscribe(bt);return Qe._scrolledCount++,function(){_e.unsubscribe(),Qe._scrolledCount--,Qe._scrolledCount||Qe._removeGlobalListener()}}):(0,R.of)()}},{key:"ngOnDestroy",value:function(){var Qe=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(et,bt){return Qe.deregister(bt)}),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(Qe,et){var bt=this.getAncestorScrollContainers(Qe);return this.scrolled(et).pipe((0,y.h)(function(_e){return!_e||bt.indexOf(_e)>-1}))}},{key:"getAncestorScrollContainers",value:function(Qe){var et=this,bt=[];return this.scrollContainers.forEach(function(_e,xe){et._scrollableContainsElement(xe,Qe)&&bt.push(xe)}),bt}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_scrollableContainsElement",value:function(Qe,et){var bt=(0,V.fI)(et),_e=Qe.getElementRef().nativeElement;do{if(bt==_e)return!0}while(bt=bt.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var Qe=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){var et=Qe._getWindow();return(0,E.R)(et.document,"scroll").subscribe(function(){return Qe._scrolled.next()})})}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),qe}();return ge.\u0275fac=function(De){return new(De||ge)(L.LFG(L.R0b),L.LFG(T.t4),L.LFG(D.K0,8))},ge.\u0275prov=L.Yz7({token:ge,factory:ge.\u0275fac,providedIn:"root"}),ge}(),ae=function(){var ge=function(){function qe(De,Qe,et){var bt=this;(0,B.Z)(this,qe),this._platform=De,this._change=new w.xQ,this._changeListener=function(_e){bt._change.next(_e)},this._document=et,Qe.runOutsideAngular(function(){if(De.isBrowser){var _e=bt._getWindow();_e.addEventListener("resize",bt._changeListener),_e.addEventListener("orientationchange",bt._changeListener)}bt.change().subscribe(function(){return bt._viewportSize=null})})}return(0,U.Z)(qe,[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var Qe=this._getWindow();Qe.removeEventListener("resize",this._changeListener),Qe.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var Qe={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),Qe}},{key:"getViewportRect",value:function(){var Qe=this.getViewportScrollPosition(),et=this.getViewportSize(),bt=et.width,_e=et.height;return{top:Qe.top,left:Qe.left,bottom:Qe.top+_e,right:Qe.left+bt,height:_e,width:bt}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var Qe=this._document,et=this._getWindow(),bt=Qe.documentElement,_e=bt.getBoundingClientRect();return{top:-_e.top||Qe.body.scrollTop||et.scrollY||bt.scrollTop||0,left:-_e.left||Qe.body.scrollLeft||et.scrollX||bt.scrollLeft||0}}},{key:"change",value:function(){var Qe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return Qe>0?this._change.pipe((0,O.e)(Qe)):this._change}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_updateViewportSize",value:function(){var Qe=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:Qe.innerWidth,height:Qe.innerHeight}:{width:0,height:0}}}]),qe}();return ge.\u0275fac=function(De){return new(De||ge)(L.LFG(T.t4),L.LFG(L.R0b),L.LFG(D.K0,8))},ge.\u0275prov=L.Yz7({token:ge,factory:ge.\u0275fac,providedIn:"root"}),ge}(),oe=function(){var ge=function qe(){(0,B.Z)(this,qe)};return ge.\u0275fac=function(De){return new(De||ge)},ge.\u0275mod=L.oAB({type:ge}),ge.\u0275inj=L.cJS({}),ge}(),Ce=function(){var ge=function qe(){(0,B.Z)(this,qe)};return ge.\u0275fac=function(De){return new(De||ge)},ge.\u0275mod=L.oAB({type:ge}),ge.\u0275inj=L.cJS({imports:[[v.vT,T.ud,oe],v.vT,oe]}),ge}()},86019:function(ue,j,f){"use strict";f.d(j,{mr:function(){return Y},Ov:function(){return ya},ez:function(){return $a},K0:function(){return T},Do:function(){return K},V_:function(){return g},Ye:function(){return fe},S$:function(){return X},mk:function(){return Rr},sg:function(){return Mr},O5:function(){return pi},PC:function(){return Gr},RF:function(){return Wr},n9:function(){return bs},ED:function(){return Vo},tP:function(){return fi},b0:function(){return ae},lw:function(){return D},EM:function(){return Pl},JF:function(){return ja},NF:function(){return eo},w_:function(){return y},bD:function(){return Fi},q:function(){return x},Mx:function(){return ni},HT:function(){return O}});var B=f(36683),U=f(51380),V=f(10509),L=f(97154),w=f(14105),R=f(18967),b=f(83668),E=null;function x(){return E}function O(Ee){E||(E=Ee)}var y=function Ee(){(0,R.Z)(this,Ee)},T=new b.OlP("DocumentToken"),D=function(){var Ee=function(){function Ne(){(0,R.Z)(this,Ne)}return(0,w.Z)(Ne,[{key:"historyGo",value:function($){throw new Error("Not implemented")}}]),Ne}();return Ee.\u0275fac=function(Ke){return new(Ke||Ee)},Ee.\u0275prov=b.Yz7({token:Ee,factory:function(){return(0,b.LFG)(M)},providedIn:"platform"}),Ee}(),g=new b.OlP("Location Initialized"),M=function(){var Ee=function(Ne){(0,V.Z)($,Ne);var Ke=(0,L.Z)($);function $(le){var pe;return(0,R.Z)(this,$),(pe=Ke.call(this))._doc=le,pe._init(),pe}return(0,w.Z)($,[{key:"_init",value:function(){this.location=window.location,this._history=window.history}},{key:"getBaseHrefFromDOM",value:function(){return x().getBaseHref(this._doc)}},{key:"onPopState",value:function(pe){var me=x().getGlobalEventTarget(this._doc,"window");return me.addEventListener("popstate",pe,!1),function(){return me.removeEventListener("popstate",pe)}}},{key:"onHashChange",value:function(pe){var me=x().getGlobalEventTarget(this._doc,"window");return me.addEventListener("hashchange",pe,!1),function(){return me.removeEventListener("hashchange",pe)}}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(pe){this.location.pathname=pe}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}},{key:"pushState",value:function(pe,me,Ae){k()?this._history.pushState(pe,me,Ae):this.location.hash=Ae}},{key:"replaceState",value:function(pe,me,Ae){k()?this._history.replaceState(pe,me,Ae):this.location.hash=Ae}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"historyGo",value:function(){var pe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._history.go(pe)}},{key:"getState",value:function(){return this._history.state}}]),$}(D);return Ee.\u0275fac=function(Ke){return new(Ke||Ee)(b.LFG(T))},Ee.\u0275prov=b.Yz7({token:Ee,factory:function(){return new M((0,b.LFG)(T))},providedIn:"platform"}),Ee}();function k(){return!!window.history.pushState}function I(Ee,Ne){if(0==Ee.length)return Ne;if(0==Ne.length)return Ee;var Ke=0;return Ee.endsWith("/")&&Ke++,Ne.startsWith("/")&&Ke++,2==Ke?Ee+Ne.substring(1):1==Ke?Ee+Ne:Ee+"/"+Ne}function F(Ee){var Ne=Ee.match(/#|\?|$/),Ke=Ne&&Ne.index||Ee.length;return Ee.slice(0,Ke-("/"===Ee[Ke-1]?1:0))+Ee.slice(Ke)}function G(Ee){return Ee&&"?"!==Ee[0]?"?"+Ee:Ee}var X=function(){var Ee=function(){function Ne(){(0,R.Z)(this,Ne)}return(0,w.Z)(Ne,[{key:"historyGo",value:function($){throw new Error("Not implemented")}}]),Ne}();return Ee.\u0275fac=function(Ke){return new(Ke||Ee)},Ee.\u0275prov=b.Yz7({token:Ee,factory:function(){return Ne=(0,b.LFG)(T).location,new ae((0,b.LFG)(D),Ne&&Ne.origin||"");var Ne},providedIn:"root"}),Ee}(),Y=new b.OlP("appBaseHref"),ae=function(){var Ee=function(Ne){(0,V.Z)($,Ne);var Ke=(0,L.Z)($);function $(le,pe){var me;if((0,R.Z)(this,$),(me=Ke.call(this))._platformLocation=le,me._removeListenerFns=[],null==pe&&(pe=me._platformLocation.getBaseHrefFromDOM()),null==pe)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return me._baseHref=pe,me}return(0,w.Z)($,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(pe){this._removeListenerFns.push(this._platformLocation.onPopState(pe),this._platformLocation.onHashChange(pe))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(pe){return I(this._baseHref,pe)}},{key:"path",value:function(){var pe=arguments.length>0&&void 0!==arguments[0]&&arguments[0],me=this._platformLocation.pathname+G(this._platformLocation.search),Ae=this._platformLocation.hash;return Ae&&pe?"".concat(me).concat(Ae):me}},{key:"pushState",value:function(pe,me,Ae,Ue){var gt=this.prepareExternalUrl(Ae+G(Ue));this._platformLocation.pushState(pe,me,gt)}},{key:"replaceState",value:function(pe,me,Ae,Ue){var gt=this.prepareExternalUrl(Ae+G(Ue));this._platformLocation.replaceState(pe,me,gt)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var pe,me,Ae=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(pe=(me=this._platformLocation).historyGo)||void 0===pe||pe.call(me,Ae)}}]),$}(X);return Ee.\u0275fac=function(Ke){return new(Ke||Ee)(b.LFG(D),b.LFG(Y,8))},Ee.\u0275prov=b.Yz7({token:Ee,factory:Ee.\u0275fac}),Ee}(),K=function(){var Ee=function(Ne){(0,V.Z)($,Ne);var Ke=(0,L.Z)($);function $(le,pe){var me;return(0,R.Z)(this,$),(me=Ke.call(this))._platformLocation=le,me._baseHref="",me._removeListenerFns=[],null!=pe&&(me._baseHref=pe),me}return(0,w.Z)($,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(pe){this._removeListenerFns.push(this._platformLocation.onPopState(pe),this._platformLocation.onHashChange(pe))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var me=this._platformLocation.hash;return null==me&&(me="#"),me.length>0?me.substring(1):me}},{key:"prepareExternalUrl",value:function(pe){var me=I(this._baseHref,pe);return me.length>0?"#"+me:me}},{key:"pushState",value:function(pe,me,Ae,Ue){var gt=this.prepareExternalUrl(Ae+G(Ue));0==gt.length&&(gt=this._platformLocation.pathname),this._platformLocation.pushState(pe,me,gt)}},{key:"replaceState",value:function(pe,me,Ae,Ue){var gt=this.prepareExternalUrl(Ae+G(Ue));0==gt.length&&(gt=this._platformLocation.pathname),this._platformLocation.replaceState(pe,me,gt)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var pe,me,Ae=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(pe=(me=this._platformLocation).historyGo)||void 0===pe||pe.call(me,Ae)}}]),$}(X);return Ee.\u0275fac=function(Ke){return new(Ke||Ee)(b.LFG(D),b.LFG(Y,8))},Ee.\u0275prov=b.Yz7({token:Ee,factory:Ee.\u0275fac}),Ee}(),fe=function(){var Ee=function(){function Ne(Ke,$){var le=this;(0,R.Z)(this,Ne),this._subject=new b.vpe,this._urlChangeListeners=[],this._platformStrategy=Ke;var pe=this._platformStrategy.getBaseHref();this._platformLocation=$,this._baseHref=F(de(pe)),this._platformStrategy.onPopState(function(me){le._subject.emit({url:le.path(!0),pop:!0,state:me.state,type:me.type})})}return(0,w.Z)(Ne,[{key:"path",value:function(){var $=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path($))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function($){var le=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize($+G(le))}},{key:"normalize",value:function($){return Ne.stripTrailingSlash(function(Ee,Ne){return Ee&&Ne.startsWith(Ee)?Ne.substring(Ee.length):Ne}(this._baseHref,de($)))}},{key:"prepareExternalUrl",value:function($){return $&&"/"!==$[0]&&($="/"+$),this._platformStrategy.prepareExternalUrl($)}},{key:"go",value:function($){var le=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",pe=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(pe,"",$,le),this._notifyUrlChangeListeners(this.prepareExternalUrl($+G(le)),pe)}},{key:"replaceState",value:function($){var le=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",pe=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(pe,"",$,le),this._notifyUrlChangeListeners(this.prepareExternalUrl($+G(le)),pe)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"historyGo",value:function(){var $,le,pe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===($=(le=this._platformStrategy).historyGo)||void 0===$||$.call(le,pe)}},{key:"onUrlChange",value:function($){var le=this;this._urlChangeListeners.push($),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(function(pe){le._notifyUrlChangeListeners(pe.url,pe.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var $=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",le=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach(function(pe){return pe($,le)})}},{key:"subscribe",value:function($,le,pe){return this._subject.subscribe({next:$,error:le,complete:pe})}}]),Ne}();return Ee.normalizeQueryParams=G,Ee.joinWithSlash=I,Ee.stripTrailingSlash=F,Ee.\u0275fac=function(Ke){return new(Ke||Ee)(b.LFG(X),b.LFG(D))},Ee.\u0275prov=b.Yz7({token:Ee,factory:function(){return new fe((0,b.LFG)(X),(0,b.LFG)(D))},providedIn:"root"}),Ee}();function de(Ee){return Ee.replace(/\/index.html$/,"")}var ge=function(){return(ge=ge||{})[ge.Zero=0]="Zero",ge[ge.One=1]="One",ge[ge.Two=2]="Two",ge[ge.Few=3]="Few",ge[ge.Many=4]="Many",ge[ge.Other=5]="Other",ge}(),zn=b.kL8,bn=function Ee(){(0,R.Z)(this,Ee)},rr=function(){var Ee=function(Ne){(0,V.Z)($,Ne);var Ke=(0,L.Z)($);function $(le){var pe;return(0,R.Z)(this,$),(pe=Ke.call(this)).locale=le,pe}return(0,w.Z)($,[{key:"getPluralCategory",value:function(pe,me){switch(zn(me||this.locale)(pe)){case ge.Zero:return"zero";case ge.One:return"one";case ge.Two:return"two";case ge.Few:return"few";case ge.Many:return"many";default:return"other"}}}]),$}(bn);return Ee.\u0275fac=function(Ke){return new(Ke||Ee)(b.LFG(b.soG))},Ee.\u0275prov=b.Yz7({token:Ee,factory:Ee.\u0275fac}),Ee}();function ni(Ee,Ne){Ne=encodeURIComponent(Ne);var $,Ke=(0,B.Z)(Ee.split(";"));try{for(Ke.s();!($=Ke.n()).done;){var le=$.value,pe=le.indexOf("="),me=-1==pe?[le,""]:[le.slice(0,pe),le.slice(pe+1)],Ae=(0,U.Z)(me,2),gt=Ae[1];if(Ae[0].trim()===Ne)return decodeURIComponent(gt)}}catch(cn){Ke.e(cn)}finally{Ke.f()}return null}var Rr=function(){var Ee=function(){function Ne(Ke,$,le,pe){(0,R.Z)(this,Ne),this._iterableDiffers=Ke,this._keyValueDiffers=$,this._ngEl=le,this._renderer=pe,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return(0,w.Z)(Ne,[{key:"klass",set:function($){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof $?$.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function($){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof $?$.split(/\s+/):$,this._rawClass&&((0,b.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}},{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var $=this._iterableDiffer.diff(this._rawClass);$&&this._applyIterableChanges($)}else if(this._keyValueDiffer){var le=this._keyValueDiffer.diff(this._rawClass);le&&this._applyKeyValueChanges(le)}}},{key:"_applyKeyValueChanges",value:function($){var le=this;$.forEachAddedItem(function(pe){return le._toggleClass(pe.key,pe.currentValue)}),$.forEachChangedItem(function(pe){return le._toggleClass(pe.key,pe.currentValue)}),$.forEachRemovedItem(function(pe){pe.previousValue&&le._toggleClass(pe.key,!1)})}},{key:"_applyIterableChanges",value:function($){var le=this;$.forEachAddedItem(function(pe){if("string"!=typeof pe.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got ".concat((0,b.AaK)(pe.item)));le._toggleClass(pe.item,!0)}),$.forEachRemovedItem(function(pe){return le._toggleClass(pe.item,!1)})}},{key:"_applyClasses",value:function($){var le=this;$&&(Array.isArray($)||$ instanceof Set?$.forEach(function(pe){return le._toggleClass(pe,!0)}):Object.keys($).forEach(function(pe){return le._toggleClass(pe,!!$[pe])}))}},{key:"_removeClasses",value:function($){var le=this;$&&(Array.isArray($)||$ instanceof Set?$.forEach(function(pe){return le._toggleClass(pe,!1)}):Object.keys($).forEach(function(pe){return le._toggleClass(pe,!1)}))}},{key:"_toggleClass",value:function($,le){var pe=this;($=$.trim())&&$.split(/\s+/g).forEach(function(me){le?pe._renderer.addClass(pe._ngEl.nativeElement,me):pe._renderer.removeClass(pe._ngEl.nativeElement,me)})}}]),Ne}();return Ee.\u0275fac=function(Ke){return new(Ke||Ee)(b.Y36(b.ZZ4),b.Y36(b.aQg),b.Y36(b.SBq),b.Y36(b.Qsj))},Ee.\u0275dir=b.lG2({type:Ee,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),Ee}(),ji=function(){function Ee(Ne,Ke,$,le){(0,R.Z)(this,Ee),this.$implicit=Ne,this.ngForOf=Ke,this.index=$,this.count=le}return(0,w.Z)(Ee,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),Ee}(),Mr=function(){var Ee=function(){function Ne(Ke,$,le){(0,R.Z)(this,Ne),this._viewContainer=Ke,this._template=$,this._differs=le,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return(0,w.Z)(Ne,[{key:"ngForOf",set:function($){this._ngForOf=$,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function($){this._trackByFn=$}},{key:"ngForTemplate",set:function($){$&&(this._template=$)}},{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var $=this._ngForOf;if(!this._differ&&$)try{this._differ=this._differs.find($).create(this.ngForTrackBy)}catch(pe){throw new Error("Cannot find a differ supporting object '".concat($,"' of type '").concat(function(Ee){return Ee.name||typeof Ee}($),"'. NgFor only supports binding to Iterables such as Arrays."))}}if(this._differ){var le=this._differ.diff(this._ngForOf);le&&this._applyChanges(le)}}},{key:"_applyChanges",value:function($){var le=this,pe=[];$.forEachOperation(function(cn,yt,Rt){if(null==cn.previousIndex){var Xr=le._viewContainer.createEmbeddedView(le._template,new ji(null,le._ngForOf,-1,-1),null===Rt?void 0:Rt),qa=new na(cn,Xr);pe.push(qa)}else if(null==Rt)le._viewContainer.remove(null===yt?void 0:yt);else if(null!==yt){var Bi=le._viewContainer.get(yt);le._viewContainer.move(Bi,Rt);var Ki=new na(cn,Bi);pe.push(Ki)}});for(var me=0;me<pe.length;me++)this._perViewChange(pe[me].view,pe[me].record);for(var Ae=0,Ue=this._viewContainer.length;Ae<Ue;Ae++){var gt=this._viewContainer.get(Ae);gt.context.index=Ae,gt.context.count=Ue,gt.context.ngForOf=this._ngForOf}$.forEachIdentityChange(function(cn){le._viewContainer.get(cn.currentIndex).context.$implicit=cn.item})}},{key:"_perViewChange",value:function($,le){$.context.$implicit=le.item}}],[{key:"ngTemplateContextGuard",value:function($,le){return!0}}]),Ne}();return Ee.\u0275fac=function(Ke){return new(Ke||Ee)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(b.ZZ4))},Ee.\u0275dir=b.lG2({type:Ee,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),Ee}(),na=function Ee(Ne,Ke){(0,R.Z)(this,Ee),this.record=Ne,this.view=Ke},pi=function(){var Ee=function(){function Ne(Ke,$){(0,R.Z)(this,Ne),this._viewContainer=Ke,this._context=new Ka,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=$}return(0,w.Z)(Ne,[{key:"ngIf",set:function($){this._context.$implicit=this._context.ngIf=$,this._updateView()}},{key:"ngIfThen",set:function($){_a("ngIfThen",$),this._thenTemplateRef=$,this._thenViewRef=null,this._updateView()}},{key:"ngIfElse",set:function($){_a("ngIfElse",$),this._elseTemplateRef=$,this._elseViewRef=null,this._updateView()}},{key:"_updateView",value:function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}}],[{key:"ngTemplateContextGuard",value:function($,le){return!0}}]),Ne}();return Ee.\u0275fac=function(Ke){return new(Ke||Ee)(b.Y36(b.s_b),b.Y36(b.Rgc))},Ee.\u0275dir=b.lG2({type:Ee,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),Ee}(),Ka=function Ee(){(0,R.Z)(this,Ee),this.$implicit=null,this.ngIf=null};function _a(Ee,Ne){if(Ne&&!Ne.createEmbeddedView)throw new Error("".concat(Ee," must be a TemplateRef, but received '").concat((0,b.AaK)(Ne),"'."))}var ha=function(){function Ee(Ne,Ke){(0,R.Z)(this,Ee),this._viewContainerRef=Ne,this._templateRef=Ke,this._created=!1}return(0,w.Z)(Ee,[{key:"create",value:function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}},{key:"destroy",value:function(){this._created=!1,this._viewContainerRef.clear()}},{key:"enforceState",value:function(Ke){Ke&&!this._created?this.create():!Ke&&this._created&&this.destroy()}}]),Ee}(),Wr=function(){var Ee=function(){function Ne(){(0,R.Z)(this,Ne),this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return(0,w.Z)(Ne,[{key:"ngSwitch",set:function($){this._ngSwitch=$,0===this._caseCount&&this._updateDefaultCases(!0)}},{key:"_addCase",value:function(){return this._caseCount++}},{key:"_addDefault",value:function($){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push($)}},{key:"_matchCase",value:function($){var le=$==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||le,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),le}},{key:"_updateDefaultCases",value:function($){if(this._defaultViews&&$!==this._defaultUsed){this._defaultUsed=$;for(var le=0;le<this._defaultViews.length;le++)this._defaultViews[le].enforceState($)}}}]),Ne}();return Ee.\u0275fac=function(Ke){return new(Ke||Ee)},Ee.\u0275dir=b.lG2({type:Ee,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),Ee}(),bs=function(){var Ee=function(){function Ne(Ke,$,le){(0,R.Z)(this,Ne),this.ngSwitch=le,le._addCase(),this._view=new ha(Ke,$)}return(0,w.Z)(Ne,[{key:"ngDoCheck",value:function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}]),Ne}();return Ee.\u0275fac=function(Ke){return new(Ke||Ee)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(Wr,9))},Ee.\u0275dir=b.lG2({type:Ee,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),Ee}(),Vo=function(){var Ee=function Ne(Ke,$,le){(0,R.Z)(this,Ne),le._addDefault(new ha(Ke,$))};return Ee.\u0275fac=function(Ke){return new(Ke||Ee)(b.Y36(b.s_b),b.Y36(b.Rgc),b.Y36(Wr,9))},Ee.\u0275dir=b.lG2({type:Ee,selectors:[["","ngSwitchDefault",""]]}),Ee}(),Gr=function(){var Ee=function(){function Ne(Ke,$,le){(0,R.Z)(this,Ne),this._ngEl=Ke,this._differs=$,this._renderer=le,this._ngStyle=null,this._differ=null}return(0,w.Z)(Ne,[{key:"ngStyle",set:function($){this._ngStyle=$,!this._differ&&$&&(this._differ=this._differs.find($).create())}},{key:"ngDoCheck",value:function(){if(this._differ){var $=this._differ.diff(this._ngStyle);$&&this._applyChanges($)}}},{key:"_setStyle",value:function($,le){var pe=$.split("."),me=(0,U.Z)(pe,2),Ae=me[0],Ue=me[1];null!=(le=null!=le&&Ue?"".concat(le).concat(Ue):le)?this._renderer.setStyle(this._ngEl.nativeElement,Ae,le):this._renderer.removeStyle(this._ngEl.nativeElement,Ae)}},{key:"_applyChanges",value:function($){var le=this;$.forEachRemovedItem(function(pe){return le._setStyle(pe.key,null)}),$.forEachAddedItem(function(pe){return le._setStyle(pe.key,pe.currentValue)}),$.forEachChangedItem(function(pe){return le._setStyle(pe.key,pe.currentValue)})}}]),Ne}();return Ee.\u0275fac=function(Ke){return new(Ke||Ee)(b.Y36(b.SBq),b.Y36(b.aQg),b.Y36(b.Qsj))},Ee.\u0275dir=b.lG2({type:Ee,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),Ee}(),fi=function(){var Ee=function(){function Ne(Ke){(0,R.Z)(this,Ne),this._viewContainerRef=Ke,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}return(0,w.Z)(Ne,[{key:"ngOnChanges",value:function($){if($.ngTemplateOutlet){var le=this._viewContainerRef;this._viewRef&&le.remove(le.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?le.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&$.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}]),Ne}();return Ee.\u0275fac=function(Ke){return new(Ke||Ee)(b.Y36(b.s_b))},Ee.\u0275dir=b.lG2({type:Ee,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[b.TTD]}),Ee}();var Li=function(){function Ee(){(0,R.Z)(this,Ee)}return(0,w.Z)(Ee,[{key:"createSubscription",value:function(Ke,$){return Ke.subscribe({next:$,error:function(pe){throw pe}})}},{key:"dispose",value:function(Ke){Ke.unsubscribe()}},{key:"onDestroy",value:function(Ke){Ke.unsubscribe()}}]),Ee}(),fn=new(function(){function Ee(){(0,R.Z)(this,Ee)}return(0,w.Z)(Ee,[{key:"createSubscription",value:function(Ke,$){return Ke.then($,function(le){throw le})}},{key:"dispose",value:function(Ke){}},{key:"onDestroy",value:function(Ke){}}]),Ee}()),vr=new Li,ya=function(){var Ee=function(){function Ne(Ke){(0,R.Z)(this,Ne),this._ref=Ke,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}return(0,w.Z)(Ne,[{key:"ngOnDestroy",value:function(){this._subscription&&this._dispose()}},{key:"transform",value:function($){return this._obj?$!==this._obj?(this._dispose(),this.transform($)):this._latestValue:($&&this._subscribe($),this._latestValue)}},{key:"_subscribe",value:function($){var le=this;this._obj=$,this._strategy=this._selectStrategy($),this._subscription=this._strategy.createSubscription($,function(pe){return le._updateLatestValue($,pe)})}},{key:"_selectStrategy",value:function($){if((0,b.QGY)($))return fn;if((0,b.F4k)($))return vr;throw function(Ee,Ne){return Error("InvalidPipeArgument: '".concat(Ne,"' for pipe '").concat((0,b.AaK)(Ee),"'"))}(Ne,$)}},{key:"_dispose",value:function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}},{key:"_updateLatestValue",value:function($,le){$===this._obj&&(this._latestValue=le,this._ref.markForCheck())}}]),Ne}();return Ee.\u0275fac=function(Ke){return new(Ke||Ee)(b.Y36(b.sBO,16))},Ee.\u0275pipe=b.Yjl({name:"async",type:Ee,pure:!1}),Ee}(),$a=function(){var Ee=function Ne(){(0,R.Z)(this,Ne)};return Ee.\u0275fac=function(Ke){return new(Ke||Ee)},Ee.\u0275mod=b.oAB({type:Ee}),Ee.\u0275inj=b.cJS({providers:[{provide:bn,useClass:rr}]}),Ee}(),Fi="browser";function eo(Ee){return Ee===Fi}var Pl=function(){var Ee=function Ne(){(0,R.Z)(this,Ne)};return Ee.\u0275prov=(0,b.Yz7)({token:Ee,providedIn:"root",factory:function(){return new $t((0,b.LFG)(T),window)}}),Ee}(),$t=function(){function Ee(Ne,Ke){(0,R.Z)(this,Ee),this.document=Ne,this.window=Ke,this.offset=function(){return[0,0]}}return(0,w.Z)(Ee,[{key:"setOffset",value:function(Ke){this.offset=Array.isArray(Ke)?function(){return Ke}:Ke}},{key:"getScrollPosition",value:function(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}},{key:"scrollToPosition",value:function(Ke){this.supportsScrolling()&&this.window.scrollTo(Ke[0],Ke[1])}},{key:"scrollToAnchor",value:function(Ke){if(this.supportsScrolling()){var $=function(Ee,Ne){var Ke=Ee.getElementById(Ne)||Ee.getElementsByName(Ne)[0];if(Ke)return Ke;if("function"==typeof Ee.createTreeWalker&&Ee.body&&(Ee.body.createShadowRoot||Ee.body.attachShadow))for(var $=Ee.createTreeWalker(Ee.body,NodeFilter.SHOW_ELEMENT),le=$.currentNode;le;){var pe=le.shadowRoot;if(pe){var me=pe.getElementById(Ne)||pe.querySelector('[name="'.concat(Ne,'"]'));if(me)return me}le=$.nextNode()}return null}(this.document,Ke);$&&(this.scrollToElement($),this.attemptFocus($))}}},{key:"setHistoryScrollRestoration",value:function(Ke){if(this.supportScrollRestoration()){var $=this.window.history;$&&$.scrollRestoration&&($.scrollRestoration=Ke)}}},{key:"scrollToElement",value:function(Ke){var $=Ke.getBoundingClientRect(),le=$.left+this.window.pageXOffset,pe=$.top+this.window.pageYOffset,me=this.offset();this.window.scrollTo(le-me[0],pe-me[1])}},{key:"attemptFocus",value:function(Ke){return Ke.focus(),this.document.activeElement===Ke}},{key:"supportScrollRestoration",value:function(){try{if(!this.supportsScrolling())return!1;var Ke=lu(this.window.history)||lu(Object.getPrototypeOf(this.window.history));return!(!Ke||!Ke.writable&&!Ke.set)}catch($){return!1}}},{key:"supportsScrolling",value:function(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(Ke){return!1}}}]),Ee}();function lu(Ee){return Object.getOwnPropertyDescriptor(Ee,"scrollRestoration")}var ja=function Ee(){(0,R.Z)(this,Ee)}},44522:function(ue,j,f){"use strict";f.d(j,{eN:function(){return et},JF:function(){return Qn},UA:function(){return De}});var B=f(10509),U=f(97154),V=f(51380),L=f(333),w=f(14105),R=f(18967),b=f(86019),E=f(83668),x=f(82429),Z=f(15801),O=f(30854),y=f(50439),T=f(98771),D=function kt(){(0,R.Z)(this,kt)},v=function kt(){(0,R.Z)(this,kt)},g=function(){function kt(Ye){var Me=this;(0,R.Z)(this,kt),this.normalizedNames=new Map,this.lazyUpdate=null,Ye?this.lazyInit="string"==typeof Ye?function(){Me.headers=new Map,Ye.split("\n").forEach(function(ne){var be=ne.indexOf(":");if(be>0){var Fe=ne.slice(0,be),Ge=Fe.toLowerCase(),vt=ne.slice(be+1).trim();Me.maybeSetNormalizedName(Fe,Ge),Me.headers.has(Ge)?Me.headers.get(Ge).push(vt):Me.headers.set(Ge,[vt])}})}:function(){Me.headers=new Map,Object.keys(Ye).forEach(function(ne){var be=Ye[ne],Fe=ne.toLowerCase();"string"==typeof be&&(be=[be]),be.length>0&&(Me.headers.set(Fe,be),Me.maybeSetNormalizedName(ne,Fe))})}:this.headers=new Map}return(0,w.Z)(kt,[{key:"has",value:function(Me){return this.init(),this.headers.has(Me.toLowerCase())}},{key:"get",value:function(Me){this.init();var ne=this.headers.get(Me.toLowerCase());return ne&&ne.length>0?ne[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(Me){return this.init(),this.headers.get(Me.toLowerCase())||null}},{key:"append",value:function(Me,ne){return this.clone({name:Me,value:ne,op:"a"})}},{key:"set",value:function(Me,ne){return this.clone({name:Me,value:ne,op:"s"})}},{key:"delete",value:function(Me,ne){return this.clone({name:Me,value:ne,op:"d"})}},{key:"maybeSetNormalizedName",value:function(Me,ne){this.normalizedNames.has(ne)||this.normalizedNames.set(ne,Me)}},{key:"init",value:function(){var Me=this;this.lazyInit&&(this.lazyInit instanceof kt?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(ne){return Me.applyUpdate(ne)}),this.lazyUpdate=null))}},{key:"copyFrom",value:function(Me){var ne=this;Me.init(),Array.from(Me.headers.keys()).forEach(function(be){ne.headers.set(be,Me.headers.get(be)),ne.normalizedNames.set(be,Me.normalizedNames.get(be))})}},{key:"clone",value:function(Me){var ne=new kt;return ne.lazyInit=this.lazyInit&&this.lazyInit instanceof kt?this.lazyInit:this,ne.lazyUpdate=(this.lazyUpdate||[]).concat([Me]),ne}},{key:"applyUpdate",value:function(Me){var ne=Me.name.toLowerCase();switch(Me.op){case"a":case"s":var be=Me.value;if("string"==typeof be&&(be=[be]),0===be.length)return;this.maybeSetNormalizedName(Me.name,ne);var Fe=("a"===Me.op?this.headers.get(ne):void 0)||[];Fe.push.apply(Fe,(0,L.Z)(be)),this.headers.set(ne,Fe);break;case"d":var Ge=Me.value;if(Ge){var vt=this.headers.get(ne);if(!vt)return;0===(vt=vt.filter(function(At){return-1===Ge.indexOf(At)})).length?(this.headers.delete(ne),this.normalizedNames.delete(ne)):this.headers.set(ne,vt)}else this.headers.delete(ne),this.normalizedNames.delete(ne)}}},{key:"forEach",value:function(Me){var ne=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(be){return Me(ne.normalizedNames.get(be),ne.headers.get(be))})}}]),kt}(),M=function(){function kt(){(0,R.Z)(this,kt)}return(0,w.Z)(kt,[{key:"encodeKey",value:function(Me){return F(Me)}},{key:"encodeValue",value:function(Me){return F(Me)}},{key:"decodeKey",value:function(Me){return decodeURIComponent(Me)}},{key:"decodeValue",value:function(Me){return decodeURIComponent(Me)}}]),kt}();function k(kt,Ye){var Me=new Map;return kt.length>0&&kt.replace(/^\?/,"").split("&").forEach(function(be){var Fe=be.indexOf("="),Ge=-1==Fe?[Ye.decodeKey(be),""]:[Ye.decodeKey(be.slice(0,Fe)),Ye.decodeValue(be.slice(Fe+1))],vt=(0,V.Z)(Ge,2),At=vt[0],Vt=vt[1],Kt=Me.get(At)||[];Kt.push(Vt),Me.set(At,Kt)}),Me}var S=/%(\d[a-f0-9])/gi,I={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function F(kt){return encodeURIComponent(kt).replace(S,function(Ye,Me){var ne;return null!==(ne=I[Me])&&void 0!==ne?ne:Ye})}function G(kt){return"".concat(kt)}var X=function(){function kt(){var Ye=this,Me=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if((0,R.Z)(this,kt),this.updates=null,this.cloneFrom=null,this.encoder=Me.encoder||new M,Me.fromString){if(Me.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=k(Me.fromString,this.encoder)}else Me.fromObject?(this.map=new Map,Object.keys(Me.fromObject).forEach(function(ne){var be=Me.fromObject[ne];Ye.map.set(ne,Array.isArray(be)?be:[be])})):this.map=null}return(0,w.Z)(kt,[{key:"has",value:function(Me){return this.init(),this.map.has(Me)}},{key:"get",value:function(Me){this.init();var ne=this.map.get(Me);return ne?ne[0]:null}},{key:"getAll",value:function(Me){return this.init(),this.map.get(Me)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(Me,ne){return this.clone({param:Me,value:ne,op:"a"})}},{key:"appendAll",value:function(Me){var ne=[];return Object.keys(Me).forEach(function(be){var Fe=Me[be];Array.isArray(Fe)?Fe.forEach(function(Ge){ne.push({param:be,value:Ge,op:"a"})}):ne.push({param:be,value:Fe,op:"a"})}),this.clone(ne)}},{key:"set",value:function(Me,ne){return this.clone({param:Me,value:ne,op:"s"})}},{key:"delete",value:function(Me,ne){return this.clone({param:Me,value:ne,op:"d"})}},{key:"toString",value:function(){var Me=this;return this.init(),this.keys().map(function(ne){var be=Me.encoder.encodeKey(ne);return Me.map.get(ne).map(function(Fe){return be+"="+Me.encoder.encodeValue(Fe)}).join("&")}).filter(function(ne){return""!==ne}).join("&")}},{key:"clone",value:function(Me){var ne=new kt({encoder:this.encoder});return ne.cloneFrom=this.cloneFrom||this,ne.updates=(this.updates||[]).concat(Me),ne}},{key:"init",value:function(){var Me=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(ne){return Me.map.set(ne,Me.cloneFrom.map.get(ne))}),this.updates.forEach(function(ne){switch(ne.op){case"a":case"s":var be=("a"===ne.op?Me.map.get(ne.param):void 0)||[];be.push(G(ne.value)),Me.map.set(ne.param,be);break;case"d":if(void 0===ne.value){Me.map.delete(ne.param);break}var Fe=Me.map.get(ne.param)||[],Ge=Fe.indexOf(G(ne.value));-1!==Ge&&Fe.splice(Ge,1),Fe.length>0?Me.map.set(ne.param,Fe):Me.map.delete(ne.param)}}),this.cloneFrom=this.updates=null)}}]),kt}(),Y=function(){function kt(){(0,R.Z)(this,kt),this.map=new Map}return(0,w.Z)(kt,[{key:"set",value:function(Me,ne){return this.map.set(Me,ne),this}},{key:"get",value:function(Me){return this.map.has(Me)||this.map.set(Me,Me.defaultValue()),this.map.get(Me)}},{key:"delete",value:function(Me){return this.map.delete(Me),this}},{key:"keys",value:function(){return this.map.keys()}}]),kt}();function K(kt){return"undefined"!=typeof ArrayBuffer&&kt instanceof ArrayBuffer}function fe(kt){return"undefined"!=typeof Blob&&kt instanceof Blob}function ce(kt){return"undefined"!=typeof FormData&&kt instanceof FormData}var de=function(){function kt(Ye,Me,ne,be){var Fe;if((0,R.Z)(this,kt),this.url=Me,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Ye.toUpperCase(),function(kt){switch(kt){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||be?(this.body=void 0!==ne?ne:null,Fe=be):Fe=ne,Fe&&(this.reportProgress=!!Fe.reportProgress,this.withCredentials=!!Fe.withCredentials,Fe.responseType&&(this.responseType=Fe.responseType),Fe.headers&&(this.headers=Fe.headers),Fe.context&&(this.context=Fe.context),Fe.params&&(this.params=Fe.params)),this.headers||(this.headers=new g),this.context||(this.context=new Y),this.params){var Ge=this.params.toString();if(0===Ge.length)this.urlWithParams=Me;else{var vt=Me.indexOf("?");this.urlWithParams=Me+(-1===vt?"?":vt<Me.length-1?"&":"")+Ge}}else this.params=new X,this.urlWithParams=Me}return(0,w.Z)(kt,[{key:"serializeBody",value:function(){return null===this.body?null:K(this.body)||fe(this.body)||ce(this.body)||function(kt){return"undefined"!=typeof URLSearchParams&&kt instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof X?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}},{key:"detectContentTypeHeader",value:function(){return null===this.body||ce(this.body)?null:fe(this.body)?this.body.type||null:K(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof X?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}},{key:"clone",value:function(){var Me,ne=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},be=ne.method||this.method,Fe=ne.url||this.url,Ge=ne.responseType||this.responseType,vt=void 0!==ne.body?ne.body:this.body,At=void 0!==ne.withCredentials?ne.withCredentials:this.withCredentials,Vt=void 0!==ne.reportProgress?ne.reportProgress:this.reportProgress,Kt=ne.headers||this.headers,on=ne.params||this.params,hn=null!==(Me=ne.context)&&void 0!==Me?Me:this.context;return void 0!==ne.setHeaders&&(Kt=Object.keys(ne.setHeaders).reduce(function(yn,Cn){return yn.set(Cn,ne.setHeaders[Cn])},Kt)),ne.setParams&&(on=Object.keys(ne.setParams).reduce(function(yn,Cn){return yn.set(Cn,ne.setParams[Cn])},on)),new kt(be,Fe,vt,{params:on,headers:Kt,context:hn,reportProgress:Vt,responseType:Ge,withCredentials:At})}}]),kt}(),oe=function(){return(oe=oe||{})[oe.Sent=0]="Sent",oe[oe.UploadProgress=1]="UploadProgress",oe[oe.ResponseHeader=2]="ResponseHeader",oe[oe.DownloadProgress=3]="DownloadProgress",oe[oe.Response=4]="Response",oe[oe.User=5]="User",oe}(),Ce=function kt(Ye){var Me=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,ne=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";(0,R.Z)(this,kt),this.headers=Ye.headers||new g,this.status=void 0!==Ye.status?Ye.status:Me,this.statusText=Ye.statusText||ne,this.url=Ye.url||null,this.ok=this.status>=200&&this.status<300},ge=function(kt){(0,B.Z)(Me,kt);var Ye=(0,U.Z)(Me);function Me(){var ne,be=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,R.Z)(this,Me),(ne=Ye.call(this,be)).type=oe.ResponseHeader,ne}return(0,w.Z)(Me,[{key:"clone",value:function(){var be=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Me({headers:be.headers||this.headers,status:void 0!==be.status?be.status:this.status,statusText:be.statusText||this.statusText,url:be.url||this.url||void 0})}}]),Me}(Ce),qe=function(kt){(0,B.Z)(Me,kt);var Ye=(0,U.Z)(Me);function Me(){var ne,be=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,R.Z)(this,Me),(ne=Ye.call(this,be)).type=oe.Response,ne.body=void 0!==be.body?be.body:null,ne}return(0,w.Z)(Me,[{key:"clone",value:function(){var be=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Me({body:void 0!==be.body?be.body:this.body,headers:be.headers||this.headers,status:void 0!==be.status?be.status:this.status,statusText:be.statusText||this.statusText,url:be.url||this.url||void 0})}}]),Me}(Ce),De=function(kt){(0,B.Z)(Me,kt);var Ye=(0,U.Z)(Me);function Me(ne){var be;return(0,R.Z)(this,Me),(be=Ye.call(this,ne,0,"Unknown Error")).name="HttpErrorResponse",be.ok=!1,be.message=be.status>=200&&be.status<300?"Http failure during parsing for ".concat(ne.url||"(unknown url)"):"Http failure response for ".concat(ne.url||"(unknown url)",": ").concat(ne.status," ").concat(ne.statusText),be.error=ne.error||null,be}return Me}(Ce);function Qe(kt,Ye){return{body:Ye,headers:kt.headers,context:kt.context,observe:kt.observe,params:kt.params,reportProgress:kt.reportProgress,responseType:kt.responseType,withCredentials:kt.withCredentials}}var et=function(){var kt=function(){function Ye(Me){(0,R.Z)(this,Ye),this.handler=Me}return(0,w.Z)(Ye,[{key:"request",value:function(ne,be){var vt,Fe=this,Ge=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(ne instanceof de)vt=ne;else{var At=void 0;At=Ge.headers instanceof g?Ge.headers:new g(Ge.headers);var Vt=void 0;Ge.params&&(Vt=Ge.params instanceof X?Ge.params:new X({fromObject:Ge.params})),vt=new de(ne,be,void 0!==Ge.body?Ge.body:null,{headers:At,context:Ge.context,params:Vt,reportProgress:Ge.reportProgress,responseType:Ge.responseType||"json",withCredentials:Ge.withCredentials})}var Kt=(0,x.of)(vt).pipe((0,O.b)(function(hn){return Fe.handler.handle(hn)}));if(ne instanceof de||"events"===Ge.observe)return Kt;var on=Kt.pipe((0,y.h)(function(hn){return hn instanceof qe}));switch(Ge.observe||"body"){case"body":switch(vt.responseType){case"arraybuffer":return on.pipe((0,T.U)(function(hn){if(null!==hn.body&&!(hn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return hn.body}));case"blob":return on.pipe((0,T.U)(function(hn){if(null!==hn.body&&!(hn.body instanceof Blob))throw new Error("Response is not a Blob.");return hn.body}));case"text":return on.pipe((0,T.U)(function(hn){if(null!==hn.body&&"string"!=typeof hn.body)throw new Error("Response is not a string.");return hn.body}));default:return on.pipe((0,T.U)(function(hn){return hn.body}))}case"response":return on;default:throw new Error("Unreachable: unhandled observe type ".concat(Ge.observe,"}"))}}},{key:"delete",value:function(ne){var be=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",ne,be)}},{key:"get",value:function(ne){var be=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",ne,be)}},{key:"head",value:function(ne){var be=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",ne,be)}},{key:"jsonp",value:function(ne,be){return this.request("JSONP",ne,{params:(new X).append(be,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(ne){var be=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",ne,be)}},{key:"patch",value:function(ne,be){var Fe=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",ne,Qe(Fe,be))}},{key:"post",value:function(ne,be){var Fe=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",ne,Qe(Fe,be))}},{key:"put",value:function(ne,be){var Fe=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",ne,Qe(Fe,be))}}]),Ye}();return kt.\u0275fac=function(Me){return new(Me||kt)(E.LFG(D))},kt.\u0275prov=E.Yz7({token:kt,factory:kt.\u0275fac}),kt}(),bt=function(){function kt(Ye,Me){(0,R.Z)(this,kt),this.next=Ye,this.interceptor=Me}return(0,w.Z)(kt,[{key:"handle",value:function(Me){return this.interceptor.intercept(Me,this.next)}}]),kt}(),_e=new E.OlP("HTTP_INTERCEPTORS"),xe=function(){var kt=function(){function Ye(){(0,R.Z)(this,Ye)}return(0,w.Z)(Ye,[{key:"intercept",value:function(ne,be){return be.handle(ne)}}]),Ye}();return kt.\u0275fac=function(Me){return new(Me||kt)},kt.\u0275prov=E.Yz7({token:kt,factory:kt.\u0275fac}),kt}(),un=/^\)\]\}',?\n/,Mn=function(){var kt=function(){function Ye(Me){(0,R.Z)(this,Ye),this.xhrFactory=Me}return(0,w.Z)(Ye,[{key:"handle",value:function(ne){var be=this;if("JSONP"===ne.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new Z.y(function(Fe){var Ge=be.xhrFactory.build();if(Ge.open(ne.method,ne.urlWithParams),ne.withCredentials&&(Ge.withCredentials=!0),ne.headers.forEach(function(Ct,Ot){return Ge.setRequestHeader(Ct,Ot.join(","))}),ne.headers.has("Accept")||Ge.setRequestHeader("Accept","application/json, text/plain, */*"),!ne.headers.has("Content-Type")){var vt=ne.detectContentTypeHeader();null!==vt&&Ge.setRequestHeader("Content-Type",vt)}if(ne.responseType){var At=ne.responseType.toLowerCase();Ge.responseType="json"!==At?At:"text"}var Vt=ne.serializeBody(),Kt=null,on=function(){if(null!==Kt)return Kt;var Ot=1223===Ge.status?204:Ge.status,ht=Ge.statusText||"OK",lt=new g(Ge.getAllResponseHeaders()),_t=function(kt){return"responseURL"in kt&&kt.responseURL?kt.responseURL:/^X-Request-URL:/m.test(kt.getAllResponseHeaders())?kt.getResponseHeader("X-Request-URL"):null}(Ge)||ne.url;return Kt=new ge({headers:lt,status:Ot,statusText:ht,url:_t})},hn=function(){var Ot=on(),ht=Ot.headers,lt=Ot.status,_t=Ot.statusText,we=Ot.url,je=null;204!==lt&&(je=void 0===Ge.response?Ge.responseText:Ge.response),0===lt&&(lt=je?200:0);var Re=lt>=200&&lt<300;if("json"===ne.responseType&&"string"==typeof je){var Xe=je;je=je.replace(un,"");try{je=""!==je?JSON.parse(je):null}catch(pt){je=Xe,Re&&(Re=!1,je={error:pt,text:je})}}Re?(Fe.next(new qe({body:je,headers:ht,status:lt,statusText:_t,url:we||void 0})),Fe.complete()):Fe.error(new De({error:je,headers:ht,status:lt,statusText:_t,url:we||void 0}))},yn=function(Ot){var ht=on(),_t=new De({error:Ot,status:Ge.status||0,statusText:Ge.statusText||"Unknown Error",url:ht.url||void 0});Fe.error(_t)},Cn=!1,Nt=function(Ot){Cn||(Fe.next(on()),Cn=!0);var ht={type:oe.DownloadProgress,loaded:Ot.loaded};Ot.lengthComputable&&(ht.total=Ot.total),"text"===ne.responseType&&!!Ge.responseText&&(ht.partialText=Ge.responseText),Fe.next(ht)},Lt=function(Ot){var ht={type:oe.UploadProgress,loaded:Ot.loaded};Ot.lengthComputable&&(ht.total=Ot.total),Fe.next(ht)};return Ge.addEventListener("load",hn),Ge.addEventListener("error",yn),Ge.addEventListener("timeout",yn),Ge.addEventListener("abort",yn),ne.reportProgress&&(Ge.addEventListener("progress",Nt),null!==Vt&&Ge.upload&&Ge.upload.addEventListener("progress",Lt)),Ge.send(Vt),Fe.next({type:oe.Sent}),function(){Ge.removeEventListener("error",yn),Ge.removeEventListener("abort",yn),Ge.removeEventListener("load",hn),Ge.removeEventListener("timeout",yn),ne.reportProgress&&(Ge.removeEventListener("progress",Nt),null!==Vt&&Ge.upload&&Ge.upload.removeEventListener("progress",Lt)),Ge.readyState!==Ge.DONE&&Ge.abort()}})}}]),Ye}();return kt.\u0275fac=function(Me){return new(Me||kt)(E.LFG(b.JF))},kt.\u0275prov=E.Yz7({token:kt,factory:kt.\u0275fac}),kt}(),On=new E.OlP("XSRF_COOKIE_NAME"),Fn=new E.OlP("XSRF_HEADER_NAME"),Zn=function kt(){(0,R.Z)(this,kt)},Vn=function(){var kt=function(){function Ye(Me,ne,be){(0,R.Z)(this,Ye),this.doc=Me,this.platform=ne,this.cookieName=be,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return(0,w.Z)(Ye,[{key:"getToken",value:function(){if("server"===this.platform)return null;var ne=this.doc.cookie||"";return ne!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,b.Mx)(ne,this.cookieName),this.lastCookieString=ne),this.lastToken}}]),Ye}();return kt.\u0275fac=function(Me){return new(Me||kt)(E.LFG(b.K0),E.LFG(E.Lbi),E.LFG(On))},kt.\u0275prov=E.Yz7({token:kt,factory:kt.\u0275fac}),kt}(),zn=function(){var kt=function(){function Ye(Me,ne){(0,R.Z)(this,Ye),this.tokenService=Me,this.headerName=ne}return(0,w.Z)(Ye,[{key:"intercept",value:function(ne,be){var Fe=ne.url.toLowerCase();if("GET"===ne.method||"HEAD"===ne.method||Fe.startsWith("http://")||Fe.startsWith("https://"))return be.handle(ne);var Ge=this.tokenService.getToken();return null!==Ge&&!ne.headers.has(this.headerName)&&(ne=ne.clone({headers:ne.headers.set(this.headerName,Ge)})),be.handle(ne)}}]),Ye}();return kt.\u0275fac=function(Me){return new(Me||kt)(E.LFG(Zn),E.LFG(Fn))},kt.\u0275prov=E.Yz7({token:kt,factory:kt.\u0275fac}),kt}(),Wn=function(){var kt=function(){function Ye(Me,ne){(0,R.Z)(this,Ye),this.backend=Me,this.injector=ne,this.chain=null}return(0,w.Z)(Ye,[{key:"handle",value:function(ne){if(null===this.chain){var be=this.injector.get(_e,[]);this.chain=be.reduceRight(function(Fe,Ge){return new bt(Fe,Ge)},this.backend)}return this.chain.handle(ne)}}]),Ye}();return kt.\u0275fac=function(Me){return new(Me||kt)(E.LFG(v),E.LFG(E.zs3))},kt.\u0275prov=E.Yz7({token:kt,factory:kt.\u0275fac}),kt}(),Sr=function(){var kt=function(){function Ye(){(0,R.Z)(this,Ye)}return(0,w.Z)(Ye,null,[{key:"disable",value:function(){return{ngModule:Ye,providers:[{provide:zn,useClass:xe}]}}},{key:"withOptions",value:function(){var ne=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:Ye,providers:[ne.cookieName?{provide:On,useValue:ne.cookieName}:[],ne.headerName?{provide:Fn,useValue:ne.headerName}:[]]}}}]),Ye}();return kt.\u0275fac=function(Me){return new(Me||kt)},kt.\u0275mod=E.oAB({type:kt}),kt.\u0275inj=E.cJS({providers:[zn,{provide:_e,useExisting:zn,multi:!0},{provide:Zn,useClass:Vn},{provide:On,useValue:"XSRF-TOKEN"},{provide:Fn,useValue:"X-XSRF-TOKEN"}]}),kt}(),Qn=function(){var kt=function Ye(){(0,R.Z)(this,Ye)};return kt.\u0275fac=function(Me){return new(Me||kt)},kt.\u0275mod=E.oAB({type:kt}),kt.\u0275inj=E.cJS({providers:[et,{provide:D,useClass:Wn},Mn,{provide:v,useExisting:Mn}],imports:[[Sr.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),kt}()},83668:function(ue,j,f){"use strict";f.d(j,{deG:function(){return q2},tb:function(){return Bb},AFp:function(){return Zg},ip1:function(){return Ng},CZH:function(){return gf},hGG:function(){return b3},z2F:function(){return ep},sBO:function(){return zg},Sil:function(){return yx},_Vd:function(){return _g},EJc:function(){return yf},SBq:function(){return Yc},a5r:function(){return Yg},qLn:function(){return Vp},vpe:function(){return Gl},tBr:function(){return Zp},XFs:function(){return Fe},GSi:function(){return TO},OlP:function(){return Oa},zs3:function(){return Hr},ZZ4:function(){return kr},aQg:function(){return Kg},soG:function(){return Ub},YKP:function(){return Iw},h0i:function(){return mf},PXZ:function(){return MB},R0b:function(){return wu},FiY:function(){return qu},Lbi:function(){return Fb},g9A:function(){return _f},n_E:function(){return wg},Qsj:function(){return R5},FYo:function(){return Mb},JOm:function(){return Ws},Tiy:function(){return Pw},q3G:function(){return Pa},tp0:function(){return zu},Rgc:function(){return tm},dDg:function(){return Cx},GfV:function(){return rI},s_b:function(){return Pb},ifc:function(){return Nt},eFA:function(){return xx},G48:function(){return bf},Gpc:function(){return ae},f3M:function(){return Zl},X6Q:function(){return Jc},_c5:function(){return Lx},VLi:function(){return o3},c2e:function(){return $I},zSh:function(){return Zh},wAp:function(){return Er},vHH:function(){return he},EiD:function(){return sD},mCW:function(){return bh},qzn:function(){return Fl},JVY:function(){return Zc},pB0:function(){return Lc},eBb:function(){return Fp},L6k:function(){return Yu},LAX:function(){return Bp},cg1:function(){return vw},Tjo:function(){return NB},kL8:function(){return mP},yhl:function(){return mu},dqk:function(){return lt},sIi:function(){return Bh},CqO:function(){return tb},QGY:function(){return zh},F4k:function(){return Ik},RDi:function(){return $},AaK:function(){return X},z3N:function(){return pl},qOj:function(){return I0},TTD:function(){return ss},_Bn:function(){return JP},xp6:function(){return wT},uIk:function(){return L0},Q2q:function(){return Vh},zWS:function(){return cf},Tol:function(){return Gk},Gre:function(){return rw},ekj:function(){return lg},Suo:function(){return II},Xpm:function(){return Qr},lG2:function(){return Aa},Yz7:function(){return Wn},cJS:function(){return ar},oAB:function(){return da},Yjl:function(){return Ha},Y36:function(){return qh},_UZ:function(){return Dk},GkF:function(){return Ok},BQk:function(){return eb},ynx:function(){return $0},qZA:function(){return X0},TgZ:function(){return K0},EpF:function(){return Pk},n5z:function(){return Dp},Ikx:function(){return _b},LFG:function(){return ro},$8M:function(){return wy},$Z:function(){return Ak},NdJ:function(){return ig},CRH:function(){return Qw},kcU:function(){return du},O4$:function(){return To},oxw:function(){return Rk},ALo:function(){return gI},lcZ:function(){return _I},xi3:function(){return yI},Hsn:function(){return Lk},F$t:function(){return Zk},Q6J:function(){return J0},s9C:function(){return ib},MGl:function(){return ag},hYB:function(){return Kd},DdM:function(){return Nw},VKq:function(){return Zw},WLB:function(){return dI},iGM:function(){return PI},MAs:function(){return vk},evT:function(){return Ku},Jf7:function(){return Nv},CHM:function(){return ye},oJD:function(){return Av},Ckj:function(){return Ju},LSH:function(){return wh},B6R:function(){return xi},kYT:function(){return Vi},Akn:function(){return Wl},Udp:function(){return sg},WFA:function(){return Wh},d8E:function(){return mw},YNc:function(){return mk},W1O:function(){return ZI},_uU:function(){return mb},Oqu:function(){return cg},hij:function(){return Yh},AsE:function(){return dg},lnq:function(){return pg},Gf:function(){return Ib}});var B=f(38402),U=f(89200),V=f(88009),b=(f(51380),f(42515),f(99890),f(36683)),E=f(333),x=f(3801),Z=f(99740),O=f(14105),y=f(18967),T=f(10509),D=f(97154),v=f(89750),g=f(43501),M=f(27807),k=f(15801),S=f(69301),I=f(65605);function F(u){for(var c in u)if(u[c]===F)return c;throw Error("Could not find renamed property on target object.")}function G(u,c){for(var p in c)c.hasOwnProperty(p)&&!u.hasOwnProperty(p)&&(u[p]=c[p])}function X(u){if("string"==typeof u)return u;if(Array.isArray(u))return"["+u.map(X).join(", ")+"]";if(null==u)return""+u;if(u.overriddenName)return"".concat(u.overriddenName);if(u.name)return"".concat(u.name);var c=u.toString();if(null==c)return""+c;var p=c.indexOf("\n");return-1===p?c:c.substring(0,p)}function W(u,c){return null==u||""===u?null===c?"":c:null==c||""===c?u:u+" "+c}var Y=F({__forward_ref__:F});function ae(u){return u.__forward_ref__=ae,u.toString=function(){return X(this())},u}function K(u){return fe(u)?u():u}function fe(u){return"function"==typeof u&&u.hasOwnProperty(Y)&&u.__forward_ref__===ae}var he=function(u){(0,T.Z)(p,u);var c=(0,D.Z)(p);function p(m,_){var A;return(0,y.Z)(this,p),(A=c.call(this,function(u,c){var p=u?"NG0".concat(u,": "):"";return"".concat(p).concat(c)}(m,_))).code=m,A}return p}((0,v.Z)(Error));function Ce(u){return"string"==typeof u?u:null==u?"":String(u)}function ge(u){return"function"==typeof u?u.name||u.toString():"object"==typeof u&&null!=u&&"function"==typeof u.type?u.type.name||u.type.toString():Ce(u)}function et(u,c){var p=c?" in ".concat(c):"";throw new he("201","No provider for ".concat(ge(u)," found").concat(p))}function On(u,c){null==u&&function(u,c,p,m){throw new Error("ASSERTION ERROR: ".concat(u)+(null==m?"":" [Expected=> ".concat(p," ").concat(m," ").concat(c," <=Actual]")))}(c,u,null,"!=")}function Wn(u){return{token:u.token,providedIn:u.providedIn||null,factory:u.factory,value:void 0}}function ar(u){return{providers:u.providers||[],imports:u.imports||[]}}function Sr(u){return Qn(u,Ye)||Qn(u,ne)}function Qn(u,c){return u.hasOwnProperty(c)?u[c]:null}function kt(u){return u&&(u.hasOwnProperty(Me)||u.hasOwnProperty(be))?u[Me]:null}var Ge,Ye=F({"\u0275prov":F}),Me=F({"\u0275inj":F}),ne=F({ngInjectableDef:F}),be=F({ngInjectorDef:F}),Fe=function(){return(Fe=Fe||{})[Fe.Default=0]="Default",Fe[Fe.Host=1]="Host",Fe[Fe.Self=2]="Self",Fe[Fe.SkipSelf=4]="SkipSelf",Fe[Fe.Optional=8]="Optional",Fe}();function vt(){return Ge}function At(u){var c=Ge;return Ge=u,c}function Vt(u,c,p){var m=Sr(u);return m&&"root"==m.providedIn?void 0===m.value?m.value=m.factory():m.value:p&Fe.Optional?null:void 0!==c?c:void et(X(u),"Injector")}function on(u){return{toString:u}.toString()}var hn=function(){return(hn=hn||{})[hn.OnPush=0]="OnPush",hn[hn.Default=1]="Default",hn}(),Nt=function(){return(u=Nt||(Nt={}))[u.Emulated=0]="Emulated",u[u.None=2]="None",u[u.ShadowDom=3]="ShadowDom",Nt;var u}(),Lt="undefined"!=typeof globalThis&&globalThis,Ct="undefined"!=typeof window&&window,Ot="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,ht="undefined"!=typeof global&&global,lt=Lt||ht||Ct||Ot,je={},Re=[],Xe=F({"\u0275cmp":F}),pt=F({"\u0275dir":F}),Ft=F({"\u0275pipe":F}),Xt=F({"\u0275mod":F}),Tn=F({"\u0275fac":F}),Dn=F({__NG_ELEMENT_ID__:F}),ai=0;function Qr(u){return on(function(){var p={},m={type:u.type,providersResolver:null,decls:u.decls,vars:u.vars,factory:null,template:u.template||null,consts:u.consts||null,ngContentSelectors:u.ngContentSelectors,hostBindings:u.hostBindings||null,hostVars:u.hostVars||0,hostAttrs:u.hostAttrs||null,contentQueries:u.contentQueries||null,declaredInputs:p,inputs:null,outputs:null,exportAs:u.exportAs||null,onPush:u.changeDetection===hn.OnPush,directiveDefs:null,pipeDefs:null,selectors:u.selectors||Re,viewQuery:u.viewQuery||null,features:u.features||null,data:u.data||{},encapsulation:u.encapsulation||Nt.Emulated,id:"c",styles:u.styles||Re,_:null,setInput:null,schemas:u.schemas||null,tView:null},_=u.directives,A=u.features,H=u.pipes;return m.id+=ai++,m.inputs=pa(u.inputs,p),m.outputs=pa(u.outputs),A&&A.forEach(function(z){return z(m)}),m.directiveDefs=_?function(){return("function"==typeof _?_():_).map(oi)}:null,m.pipeDefs=H?function(){return("function"==typeof H?H():H).map(Hi)}:null,m})}function xi(u,c,p){var m=u.\u0275cmp;m.directiveDefs=function(){return c.map(oi)},m.pipeDefs=function(){return p.map(Hi)}}function oi(u){return Kr(u)||function(u){return u[pt]||null}(u)}function Hi(u){return function(u){return u[Ft]||null}(u)}var ga={};function da(u){return on(function(){var c={type:u.type,bootstrap:u.bootstrap||Re,declarations:u.declarations||Re,imports:u.imports||Re,exports:u.exports||Re,transitiveCompileScopes:null,schemas:u.schemas||null,id:u.id||null};return null!=u.id&&(ga[u.id]=u.type),c})}function Vi(u,c){return on(function(){var p=Ht(u,!0);p.declarations=c.declarations||Re,p.imports=c.imports||Re,p.exports=c.exports||Re})}function pa(u,c){if(null==u)return je;var p={};for(var m in u)if(u.hasOwnProperty(m)){var _=u[m],A=_;Array.isArray(_)&&(A=_[1],_=_[0]),p[_]=m,c&&(c[_]=A)}return p}var Aa=Qr;function Ha(u){return{type:u.type,name:u.name,factory:null,pure:!1!==u.pure,onDestroy:u.type.prototype.ngOnDestroy||null}}function Kr(u){return u[Xe]||null}function Ht(u,c){var p=u[Xt]||null;if(!p&&!0===c)throw new Error("Type ".concat(X(u)," does not have '\u0275mod' property."));return p}function Li(u){return Array.isArray(u)&&"object"==typeof u[1]}function pn(u){return Array.isArray(u)&&!0===u[1]}function fn(u){return 0!=(8&u.flags)}function vr(u){return 2==(2&u.flags)}function ya(u){return 1==(1&u.flags)}function ra(u){return null!==u.template}function Ii(u){return 0!=(512&u[2])}function mi(u,c){return u.hasOwnProperty(Tn)?u[Tn]:null}var eo=function(){function u(c,p,m){(0,y.Z)(this,u),this.previousValue=c,this.currentValue=p,this.firstChange=m}return(0,O.Z)(u,[{key:"isFirstChange",value:function(){return this.firstChange}}]),u}();function ss(){return al}function al(u){return u.type.prototype.ngOnChanges&&(u.setInput=Cs),qi}function qi(){var u=$t(this),c=null==u?void 0:u.current;if(c){var p=u.previous;if(p===je)u.previous=c;else for(var m in c)p[m]=c[m];u.current=null,this.ngOnChanges(c)}}function Cs(u,c,p,m){var _=$t(u)||function(u,c){return u[Pl]=c}(u,{previous:je,current:null}),A=_.current||(_.current={}),H=_.previous,z=this.declaredInputs[p],ee=H[z];A[z]=new eo(ee&&ee.currentValue,c,H===je),u[m]=c}ss.ngInherit=!0;var Pl="__ngSimpleChanges__";function $t(u){return u[Pl]||null}var Ee="http://www.w3.org/2000/svg",Ke=void 0;function $(u){Ke=u}function le(){return void 0!==Ke?Ke:"undefined"!=typeof document?document:void 0}function me(u){return!!u.listen}var Ae={createRenderer:function(c,p){return le()}};function gt(u){for(;Array.isArray(u);)u=u[0];return u}function Rt(u,c){return gt(c[u])}function Xr(u,c){return gt(c[u.index])}function Bi(u,c){return u.data[c]}function Ki(u,c){return u[c]}function Fr(u,c){var p=c[u];return Li(p)?p:p[0]}function za(u){return 4==(4&u[2])}function ol(u){return 128==(128&u[2])}function jo(u,c){return null==c?null:u[c]}function Sd(u){u[18]=0}function Vs(u,c){u[5]+=c;for(var p=u,m=u[3];null!==m&&(1===c&&1===p[5]||-1===c&&0===p[5]);)m[5]+=c,p=m,m=m[3]}var Pr={lFrame:Se(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Td(){return Pr.bindingsEnabled}function wn(){return Pr.lFrame.lView}function Oe(){return Pr.lFrame.tView}function ye(u){return Pr.lFrame.contextLView=u,u[8]}function J(){for(var u=ie();null!==u&&64===u.type;)u=u.parent;return u}function ie(){return Pr.lFrame.currentTNode}function Be(u,c){var p=Pr.lFrame;p.currentTNode=u,p.isParent=c}function ot(){return Pr.lFrame.isParent}function xt(){Pr.lFrame.isParent=!1}function an(){return Pr.isInCheckNoChangesMode}function kn(u){Pr.isInCheckNoChangesMode=u}function An(){var u=Pr.lFrame,c=u.bindingRootIndex;return-1===c&&(c=u.bindingRootIndex=u.tView.bindingStartIndex),c}function Jn(){return Pr.lFrame.bindingIndex}function Tr(){return Pr.lFrame.bindingIndex++}function pr(u){var c=Pr.lFrame,p=c.bindingIndex;return c.bindingIndex=c.bindingIndex+u,p}function Wi(u,c){var p=Pr.lFrame;p.bindingIndex=p.bindingRootIndex=u,xa(c)}function xa(u){Pr.lFrame.currentDirectiveIndex=u}function bi(u){var c=Pr.lFrame.currentDirectiveIndex;return-1===c?null:u[c]}function Io(){return Pr.lFrame.currentQueryIndex}function Da(u){Pr.lFrame.currentQueryIndex=u}function sl(u){var c=u[1];return 2===c.type?c.declTNode:1===c.type?u[6]:null}function So(u,c,p){if(p&Fe.SkipSelf){for(var m=c,_=u;!(null!==(m=m.parent)||p&Fe.Host||null===(m=sl(_))||(_=_[15],10&m.type)););if(null===m)return!1;c=m,u=_}var A=Pr.lFrame=Ve();return A.currentTNode=c,A.lView=u,!0}function Le(u){var c=Ve(),p=u[1];Pr.lFrame=c,c.currentTNode=p.firstChild,c.lView=u,c.tView=p,c.contextLView=u,c.bindingIndex=p.bindingStartIndex,c.inI18n=!1}function Ve(){var u=Pr.lFrame,c=null===u?null:u.child;return null===c?Se(u):c}function Se(u){var c={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:u,child:null,inI18n:!1};return null!==u&&(u.child=c),c}function Ze(){var u=Pr.lFrame;return Pr.lFrame=u.parent,u.currentTNode=null,u.lView=null,u}var Ie=Ze;function nt(){var u=Ze();u.isParent=!0,u.tView=null,u.selectedIndex=-1,u.contextLView=null,u.elementDepthCount=0,u.currentDirectiveIndex=-1,u.currentNamespace=null,u.bindingRootIndex=-1,u.bindingIndex=-1,u.currentQueryIndex=0}function wt(u){var c=Pr.lFrame.contextLView=function(u,c){for(;u>0;)c=c[15],u--;return c}(u,Pr.lFrame.contextLView);return c[8]}function gn(){return Pr.lFrame.selectedIndex}function ur(u){Pr.lFrame.selectedIndex=u}function Ar(){var u=Pr.lFrame;return Bi(u.tView,u.selectedIndex)}function To(){Pr.lFrame.currentNamespace=Ee}function du(){Pr.lFrame.currentNamespace=null}function Bu(u,c){for(var p=c.directiveStart,m=c.directiveEnd;p<m;p++){var A=u.data[p].type.prototype,H=A.ngAfterContentInit,z=A.ngAfterContentChecked,ee=A.ngAfterViewInit,ve=A.ngAfterViewChecked,Pe=A.ngOnDestroy;H&&(u.contentHooks||(u.contentHooks=[])).push(-p,H),z&&((u.contentHooks||(u.contentHooks=[])).push(p,z),(u.contentCheckHooks||(u.contentCheckHooks=[])).push(p,z)),ee&&(u.viewHooks||(u.viewHooks=[])).push(-p,ee),ve&&((u.viewHooks||(u.viewHooks=[])).push(p,ve),(u.viewCheckHooks||(u.viewCheckHooks=[])).push(p,ve)),null!=Pe&&(u.destroyHooks||(u.destroyHooks=[])).push(p,Pe)}}function xd(u,c,p){uo(u,c,3,p)}function Uu(u,c,p,m){(3&u[2])===p&&uo(u,c,p,m)}function Dc(u,c){var p=u[2];(3&p)===c&&(p&=2047,u[2]=p+=1)}function uo(u,c,p,m){for(var A=null!=m?m:-1,H=c.length-1,z=0,ee=void 0!==m?65535&u[18]:0;ee<H;ee++)if("number"==typeof c[ee+1]){if(z=c[ee],null!=m&&z>=m)break}else c[ee]<0&&(u[18]+=65536),(z<A||-1==A)&&(jn(u,p,c,ee),u[18]=(4294901760&u[18])+ee+2),ee++}function jn(u,c,p,m){var _=p[m]<0,A=p[m+1],z=u[_?-p[m]:p[m]];if(_){if(u[2]>>11<u[18]>>16&&(3&u[2])===c){u[2]+=2048;try{A.call(z)}finally{}}}else try{A.call(z)}finally{}}var Ir=function u(c,p,m){(0,y.Z)(this,u),this.factory=c,this.resolving=!1,this.canSeeViewProviders=p,this.injectImpl=m};function Hu(u,c,p){for(var m=me(u),_=0;_<p.length;){var A=p[_];if("number"==typeof A){if(0!==A)break;_++;var H=p[_++],z=p[_++],ee=p[_++];m?u.setAttribute(c,z,ee,H):c.setAttributeNS(H,z,ee)}else{var ve=A,Pe=p[++_];Ed(ve)?m&&u.setProperty(c,ve,Pe):m?u.setAttribute(c,ve,Pe):c.setAttribute(ve,Pe),_++}}return _}function Nl(u){return 3===u||4===u||6===u}function Ed(u){return 64===u.charCodeAt(0)}function by(u,c){if(null!==c&&0!==c.length)if(null===u||0===u.length)u=c.slice();else for(var p=-1,m=0;m<c.length;m++){var _=c[m];"number"==typeof _?p=_:0===p||R2(u,p,_,null,-1===p||2===p?c[++m]:null)}return u}function R2(u,c,p,m,_){var A=0,H=u.length;if(-1===c)H=-1;else for(;A<u.length;){var z=u[A++];if("number"==typeof z){if(z===c){H=-1;break}if(z>c){H=A-1;break}}}for(;A<u.length;){var ee=u[A];if("number"==typeof ee)break;if(ee===p){if(null===m)return void(null!==_&&(u[A+1]=_));if(m===u[A+1])return void(u[A+2]=_)}A++,null!==m&&A++,null!==_&&A++}-1!==H&&(u.splice(H,0,c),A=H+1),u.splice(A++,0,p),null!==m&&u.splice(A++,0,m),null!==_&&u.splice(A++,0,_)}function SS(u){return-1!==u}function Ap(u){return 32767&u}function sh(u,c){for(var p=function(u){return u>>16}(u),m=c;p>0;)m=m[15],p--;return m}var TS=!0;function Cy(u){var c=TS;return TS=u,c}var JL=0;function mv(u,c){var p=xS(u,c);if(-1!==p)return p;var m=c[1];m.firstCreatePass&&(u.injectorIndex=c.length,wS(m.data,u),wS(c,null),wS(m.blueprint,null));var _=Sy(u,c),A=u.injectorIndex;if(SS(_))for(var H=Ap(_),z=sh(_,c),ee=z[1].data,ve=0;ve<8;ve++)c[A+ve]=z[H+ve]|ee[H+ve];return c[A+8]=_,A}function wS(u,c){u.push(0,0,0,0,0,0,0,0,c)}function xS(u,c){return-1===u.injectorIndex||u.parent&&u.parent.injectorIndex===u.injectorIndex||null===c[u.injectorIndex+8]?-1:u.injectorIndex}function Sy(u,c){if(u.parent&&-1!==u.parent.injectorIndex)return u.parent.injectorIndex;for(var p=0,m=null,_=c;null!==_;){var A=_[1],H=A.type;if(null===(m=2===H?A.declTNode:1===H?_[6]:null))return-1;if(p++,_=_[15],-1!==m.injectorIndex)return m.injectorIndex|p<<16}return-1}function Ty(u,c,p){!function(u,c,p){var m;"string"==typeof p?m=p.charCodeAt(0)||0:p.hasOwnProperty(Dn)&&(m=p[Dn]),null==m&&(m=p[Dn]=JL++);var _=255&m;c.data[u+(_>>5)]|=1<<_}(u,c,p)}function L2(u,c,p){if(p&Fe.Optional)return u;et(c,"NodeInjector")}function F2(u,c,p,m){if(p&Fe.Optional&&void 0===m&&(m=null),0==(p&(Fe.Self|Fe.Host))){var _=u[9],A=At(void 0);try{return _?_.get(c,m,p&Fe.Optional):Vt(c,m,p&Fe.Optional)}finally{At(A)}}return L2(m,c,p)}function B2(u,c,p){var m=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Fe.Default,_=arguments.length>4?arguments[4]:void 0;if(null!==u){var A=V2(p);if("function"==typeof A){if(!So(c,u,m))return m&Fe.Host?L2(_,p,m):F2(c,p,m,_);try{var H=A(m);if(null!=H||m&Fe.Optional)return H;et(p)}finally{Ie()}}else if("number"==typeof A){var z=null,ee=xS(u,c),ve=-1,Pe=m&Fe.Host?c[16][6]:null;for((-1===ee||m&Fe.SkipSelf)&&(-1!==(ve=-1===ee?Sy(u,c):c[ee+8])&&ky(m,!1)?(z=c[1],ee=Ap(ve),c=sh(ve,c)):ee=-1);-1!==ee;){var Je=c[1];if(MS(A,ee,Je.data)){var We=H2(ee,c,p,z,m,Pe);if(We!==ES)return We}-1!==(ve=c[ee+8])&&ky(m,c[1].data[ee+8]===Pe)&&MS(A,ee,c)?(z=Je,ee=Ap(ve),c=sh(ve,c)):ee=-1}}}return F2(c,p,m,_)}var ES={};function U2(){return new Ad(J(),wn())}function H2(u,c,p,m,_,A){var H=c[1],z=H.data[u+8],Pe=lh(z,H,p,null==m?vr(z)&&TS:m!=H&&0!=(3&z.type),_&Fe.Host&&A===z);return null!==Pe?Md(c,H,Pe,z):ES}function lh(u,c,p,m,_){for(var A=u.providerIndexes,H=c.data,z=1048575&A,ee=u.directiveStart,Pe=A>>20,We=_?z+Pe:u.directiveEnd,ct=m?z:z+Pe;ct<We;ct++){var Mt=H[ct];if(ct<ee&&p===Mt||ct>=ee&&Mt.type===p)return ct}if(_){var zt=H[ee];if(zt&&ra(zt)&&zt.type===p)return ee}return null}function Md(u,c,p,m){var _=u[p],A=c.data;if(function(u){return u instanceof Ir}(_)){var H=_;H.resolving&&function(u,c){throw new he("200","Circular dependency in DI detected for ".concat(u).concat(""))}(ge(A[p]));var z=Cy(H.canSeeViewProviders);H.resolving=!0;var ee=H.injectImpl?At(H.injectImpl):null;So(u,m,Fe.Default);try{_=u[p]=H.factory(void 0,A,u,m),c.firstCreatePass&&p>=m.directiveStart&&function(u,c,p){var m=c.type.prototype,A=m.ngOnInit,H=m.ngDoCheck;if(m.ngOnChanges){var z=al(c);(p.preOrderHooks||(p.preOrderHooks=[])).push(u,z),(p.preOrderCheckHooks||(p.preOrderCheckHooks=[])).push(u,z)}A&&(p.preOrderHooks||(p.preOrderHooks=[])).push(0-u,A),H&&((p.preOrderHooks||(p.preOrderHooks=[])).push(u,H),(p.preOrderCheckHooks||(p.preOrderCheckHooks=[])).push(u,H))}(p,A[p],c)}finally{null!==ee&&At(ee),Cy(z),H.resolving=!1,Ie()}}return _}function V2(u){if("string"==typeof u)return u.charCodeAt(0)||0;var c=u.hasOwnProperty(Dn)?u[Dn]:void 0;return"number"==typeof c?c>=0?255&c:U2:c}function MS(u,c,p){return!!(p[c+(u>>5)]&1<<u)}function ky(u,c){return!(u&Fe.Self||u&Fe.Host&&c)}var Ad=function(){function u(c,p){(0,y.Z)(this,u),this._tNode=c,this._lView=p}return(0,O.Z)(u,[{key:"get",value:function(p,m,_){return B2(this._tNode,this._lView,p,_,m)}}]),u}();function Dp(u){return on(function(){for(var c=u.prototype.constructor,p=c[Tn]||Op(c),m=Object.prototype,_=Object.getPrototypeOf(u.prototype).constructor;_&&_!==m;){var A=_[Tn]||Op(_);if(A&&A!==p)return A;_=Object.getPrototypeOf(_)}return function(H){return new H}})}function Op(u){return fe(u)?function(){var c=Op(K(u));return c&&c()}:mi(u)}function wy(u){return function(u,c){if("class"===c)return u.classes;if("style"===c)return u.styles;var p=u.attrs;if(p)for(var m=p.length,_=0;_<m;){var A=p[_];if(Nl(A))break;if(0===A)_+=2;else if("number"==typeof A)for(_++;_<m&&"string"==typeof p[_];)_++;else{if(A===c)return p[_+1];_+=2}}return null}(J(),u)}var Pp="__annotations__",Dd="__parameters__",Vu="__prop__metadata__";function uh(u,c,p,m,_){return on(function(){var A=xy(c);function H(){for(var z=arguments.length,ee=new Array(z),ve=0;ve<z;ve++)ee[ve]=arguments[ve];if(this instanceof H)return A.call.apply(A,[this].concat(ee)),this;var Pe=(0,Z.Z)(H,ee);return function(We){return _&&_.apply(void 0,[We].concat(ee)),(We.hasOwnProperty(Pp)?We[Pp]:Object.defineProperty(We,Pp,{value:[]})[Pp]).push(Pe),m&&m(We),We}}return p&&(H.prototype=Object.create(p.prototype)),H.prototype.ngMetadataName=u,H.annotationCls=H,H})}function xy(u){return function(){if(u){var p=u.apply(void 0,arguments);for(var m in p)this[m]=p[m]}}}function Ic(u,c,p){return on(function(){var m=xy(c);function _(){for(var A=arguments.length,H=new Array(A),z=0;z<A;z++)H[z]=arguments[z];if(this instanceof _)return m.apply(this,H),this;var ee=(0,Z.Z)(_,H);return ve.annotation=ee,ve;function ve(Pe,Je,We){for(var ct=Pe.hasOwnProperty(Dd)?Pe[Dd]:Object.defineProperty(Pe,Dd,{value:[]})[Dd];ct.length<=We;)ct.push(null);return(ct[We]=ct[We]||[]).push(ee),Pe}}return p&&(_.prototype=Object.create(p.prototype)),_.prototype.ngMetadataName=u,_.annotationCls=_,_})}var AS=function(){return Ic("Attribute",function(u){return{attributeName:u,__NG_ELEMENT_ID__:function(){return wy(u)}}})}(),Oa=function(){function u(c,p){(0,y.Z)(this,u),this._desc=c,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof p?this.__NG_ELEMENT_ID__=p:void 0!==p&&(this.\u0275prov=Wn({token:this,providedIn:p.providedIn||"root",factory:p.factory}))}return(0,O.Z)(u,[{key:"toString",value:function(){return"InjectionToken ".concat(this._desc)}}]),u}(),q2=new Oa("AnalyzeForEntryComponents");function co(u){var c=lt.ng;if(c&&c.\u0275compilerFacade)return c.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}var Od=Function;function qo(u){return"function"==typeof u}function Ts(u,c){void 0===c&&(c=u);for(var p=0;p<u.length;p++){var m=u[p];Array.isArray(m)?(c===u&&(c=u.slice(0,p)),Ts(m,c)):c!==u&&c.push(m)}return c}function fu(u,c){u.forEach(function(p){return Array.isArray(p)?fu(p,c):c(p)})}function no(u,c,p){c>=u.length?u.push(p):u.splice(c,0,p)}function Pd(u,c){return c>=u.length-1?u.pop():u.splice(c,1)[0]}function us(u,c){for(var p=[],m=0;m<u;m++)p.push(c);return p}function js(u,c,p){var m=Rp(u,c);return m>=0?u[1|m]=p:function(u,c,p,m){var _=u.length;if(_==c)u.push(p,m);else if(1===_)u.push(m,u[0]),u[0]=p;else{for(_--,u.push(u[_-1],u[_]);_>c;)u[_]=u[_-2],_--;u[c]=p,u[c+1]=m}}(u,m=~m,c,p),m}function Oy(u,c){var p=Rp(u,c);if(p>=0)return u[1|p]}function Rp(u,c){return function(u,c,p){for(var m=0,_=u.length>>p;_!==m;){var A=m+(_-m>>1),H=u[A<<p];if(c===H)return A<<p;H>c?_=A:m=A+1}return~(_<<p)}(u,c,1)}var Y2=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,fh=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,J2=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Q2=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s*super\(\.\.\.arguments\)/,Id=function(){function u(c){(0,y.Z)(this,u),this._reflect=c||lt.Reflect}return(0,O.Z)(u,[{key:"isReflectionEnabled",value:function(){return!0}},{key:"factory",value:function(p){return function(){for(var m=arguments.length,_=new Array(m),A=0;A<m;A++)_[A]=arguments[A];return(0,Z.Z)(p,_)}}},{key:"_zipTypesAndAnnotations",value:function(p,m){var _;_=us(void 0===p?m.length:p.length);for(var A=0;A<_.length;A++)_[A]=void 0===p?[]:p[A]&&p[A]!=Object?[p[A]]:[],m&&null!=m[A]&&(_[A]=_[A].concat(m[A]));return _}},{key:"_ownParameters",value:function(p,m){if(function(u){return Y2.test(u)||Q2.test(u)||fh.test(u)&&!J2.test(u)}(p.toString()))return null;if(p.parameters&&p.parameters!==m.parameters)return p.parameters;var A=p.ctorParameters;if(A&&A!==m.ctorParameters){var H="function"==typeof A?A():A,z=H.map(function(Je){return Je&&Je.type}),ee=H.map(function(Je){return Je&&_v(Je.decorators)});return this._zipTypesAndAnnotations(z,ee)}var ve=p.hasOwnProperty(Dd)&&p[Dd],Pe=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",p);return Pe||ve?this._zipTypesAndAnnotations(Pe,ve):us(p.length)}},{key:"parameters",value:function(p){if(!qo(p))return[];var m=hh(p),_=this._ownParameters(p,m);return!_&&m!==Object&&(_=this.parameters(m)),_||[]}},{key:"_ownAnnotations",value:function(p,m){if(p.annotations&&p.annotations!==m.annotations){var _=p.annotations;return"function"==typeof _&&_.annotations&&(_=_.annotations),_}return p.decorators&&p.decorators!==m.decorators?_v(p.decorators):p.hasOwnProperty(Pp)?p[Pp]:null}},{key:"annotations",value:function(p){if(!qo(p))return[];var m=hh(p),_=this._ownAnnotations(p,m)||[];return(m!==Object?this.annotations(m):[]).concat(_)}},{key:"_ownPropMetadata",value:function(p,m){if(p.propMetadata&&p.propMetadata!==m.propMetadata){var _=p.propMetadata;return"function"==typeof _&&_.propMetadata&&(_=_.propMetadata),_}if(p.propDecorators&&p.propDecorators!==m.propDecorators){var A=p.propDecorators,H={};return Object.keys(A).forEach(function(z){H[z]=_v(A[z])}),H}return p.hasOwnProperty(Vu)?p[Vu]:null}},{key:"propMetadata",value:function(p){if(!qo(p))return{};var m=hh(p),_={};if(m!==Object){var A=this.propMetadata(m);Object.keys(A).forEach(function(z){_[z]=A[z]})}var H=this._ownPropMetadata(p,m);return H&&Object.keys(H).forEach(function(z){var ee=[];_.hasOwnProperty(z)&&ee.push.apply(ee,(0,E.Z)(_[z])),ee.push.apply(ee,(0,E.Z)(H[z])),_[z]=ee}),_}},{key:"ownPropMetadata",value:function(p){return qo(p)&&this._ownPropMetadata(p,hh(p))||{}}},{key:"hasLifecycleHook",value:function(p,m){return p instanceof Od&&m in p.prototype}},{key:"guards",value:function(p){return{}}},{key:"getter",value:function(p){return new Function("o","return o."+p+";")}},{key:"setter",value:function(p){return new Function("o","v","return o."+p+" = v;")}},{key:"method",value:function(p){var m="if (!o.".concat(p,") throw new Error('\"").concat(p,"\" is undefined');\n        return o.").concat(p,".apply(o, args);");return new Function("o","args",m)}},{key:"importUri",value:function(p){return"object"==typeof p&&p.filePath?p.filePath:"./".concat(X(p))}},{key:"resourceUri",value:function(p){return"./".concat(X(p))}},{key:"resolveIdentifier",value:function(p,m,_,A){return A}},{key:"resolveEnum",value:function(p,m){return p[m]}}]),u}();function _v(u){return u?u.map(function(c){return(0,Z.Z)(c.type.annotationCls,(0,E.Z)(c.args?c.args:[]))}):[]}function hh(u){var c=u.prototype?Object.getPrototypeOf(u.prototype):null;return(c?c.constructor:null)||Object}var mh={},ju="__NG_DI_FLAG__",Rd="ngTempTokenPath",PS=/\n/gm,Iy="__source",Ry=F({provide:String,useValue:F}),Np=void 0;function bv(u){var c=Np;return Np=u,c}function K2(u){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fe.Default;if(void 0===Np)throw new Error("inject() must be called from an injection context");return null===Np?Vt(u,void 0,c):Np.get(u,c&Fe.Optional?null:void 0,c)}function ro(u){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fe.Default;return(vt()||K2)(K(u),c)}var Zl=ro;function zo(u){for(var c=[],p=0;p<u.length;p++){var m=K(u[p]);if(Array.isArray(m)){if(0===m.length)throw new Error("Arguments array must have arguments.");for(var _=void 0,A=Fe.Default,H=0;H<m.length;H++){var z=m[H],ee=Nd(z);"number"==typeof ee?-1===ee?_=z.token:A|=ee:_=z}c.push(ro(_,A))}else c.push(ro(m))}return c}function Wo(u,c){return u[ju]=c,u.prototype[ju]=c,u}function Nd(u){return u[ju]}function RS(u,c,p,m){var _=u[Rd];throw c[Iy]&&_.unshift(c[Iy]),u.message=function(u,c,p){var m=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;u=u&&"\n"===u.charAt(0)&&"\u0275"==u.charAt(1)?u.substr(2):u;var _=X(c);if(Array.isArray(c))_=c.map(X).join(" -> ");else if("object"==typeof c){var A=[];for(var H in c)if(c.hasOwnProperty(H)){var z=c[H];A.push(H+":"+("string"==typeof z?JSON.stringify(z):X(z)))}_="{".concat(A.join(", "),"}")}return"".concat(p).concat(m?"("+m+")":"","[").concat(_,"]: ").concat(u.replace(PS,"\n  "))}("\n"+u.message,_,p,m),u.ngTokenPath=_,u[Rd]=null,u}var hu,Nc,Zp=Wo(Ic("Inject",function(u){return{token:u}}),-1),qu=Wo(Ic("Optional"),8),Cv=Wo(Ic("Self"),2),zu=Wo(Ic("SkipSelf"),4),X2=Wo(Ic("Host"),1),NS=null;function vh(u){return Zy((NS=NS||new Id).parameters(u))}function Zy(u){return u.map(function(c){return function(u){var c={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(u)&&u.length>0)for(var p=0;p<u.length;p++){var m=u[p];if(void 0!==m){var _=Object.getPrototypeOf(m);if(m instanceof qu||"Optional"===_.ngMetadataName)c.optional=!0;else if(m instanceof zu||"SkipSelf"===_.ngMetadataName)c.skipSelf=!0;else if(m instanceof Cv||"Self"===_.ngMetadataName)c.self=!0;else if(m instanceof X2||"Host"===_.ngMetadataName)c.host=!0;else if(m instanceof Zp)c.token=m.token;else if(m instanceof AS){if(void 0===m.attributeName)throw new Error("Attribute name must be defined.");c.attribute=m.attributeName}else c.token=m}}else c.token=void 0===u||Array.isArray(u)&&0===u.length?null:u;return c}(c)})}function Zd(u){var c;return(null===(c=function(){if(void 0===hu&&(hu=null,lt.trustedTypes))try{hu=lt.trustedTypes.createPolicy("angular",{createHTML:function(c){return c},createScript:function(c){return c},createScriptURL:function(c){return c}})}catch(u){}return hu}())||void 0===c?void 0:c.createHTML(u))||u}function By(u){var c;return(null===(c=function(){if(void 0===Nc&&(Nc=null,lt.trustedTypes))try{Nc=lt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:function(c){return c},createScript:function(c){return c},createScriptURL:function(c){return c}})}catch(u){}return Nc}())||void 0===c?void 0:c.createHTML(u))||u}var Ll=function(){function u(c){(0,y.Z)(this,u),this.changingThisBreaksApplicationSecurity=c}return(0,O.Z)(u,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity)+" (see https://g.co/ng/security#xss)"}}]),u}(),wv=function(u){(0,T.Z)(p,u);var c=(0,D.Z)(p);function p(){return(0,y.Z)(this,p),c.apply(this,arguments)}return(0,O.Z)(p,[{key:"getTypeName",value:function(){return"HTML"}}]),p}(Ll),Lp=function(u){(0,T.Z)(p,u);var c=(0,D.Z)(p);function p(){return(0,y.Z)(this,p),c.apply(this,arguments)}return(0,O.Z)(p,[{key:"getTypeName",value:function(){return"Style"}}]),p}(Ll),nD=function(u){(0,T.Z)(p,u);var c=(0,D.Z)(p);function p(){return(0,y.Z)(this,p),c.apply(this,arguments)}return(0,O.Z)(p,[{key:"getTypeName",value:function(){return"Script"}}]),p}(Ll),HS=function(u){(0,T.Z)(p,u);var c=(0,D.Z)(p);function p(){return(0,y.Z)(this,p),c.apply(this,arguments)}return(0,O.Z)(p,[{key:"getTypeName",value:function(){return"URL"}}]),p}(Ll),Gu=function(u){(0,T.Z)(p,u);var c=(0,D.Z)(p);function p(){return(0,y.Z)(this,p),c.apply(this,arguments)}return(0,O.Z)(p,[{key:"getTypeName",value:function(){return"ResourceURL"}}]),p}(Ll);function pl(u){return u instanceof Ll?u.changingThisBreaksApplicationSecurity:u}function Fl(u,c){var p=mu(u);if(null!=p&&p!==c){if("ResourceURL"===p&&"URL"===c)return!0;throw new Error("Required a safe ".concat(c,", got a ").concat(p," (see https://g.co/ng/security#xss)"))}return p===c}function mu(u){return u instanceof Ll&&u.getTypeName()||null}function Zc(u){return new wv(u)}function Yu(u){return new Lp(u)}function Fp(u){return new nD(u)}function Bp(u){return new HS(u)}function Lc(u){return new Gu(u)}var Hy=function(){function u(c){(0,y.Z)(this,u),this.inertDocumentHelper=c}return(0,O.Z)(u,[{key:"getInertBodyElement",value:function(p){p="<body><remove></remove>"+p;try{var m=(new window.DOMParser).parseFromString(Zd(p),"text/html").body;return null===m?this.inertDocumentHelper.getInertBodyElement(p):(m.removeChild(m.firstChild),m)}catch(_){return null}}}]),u}(),rD=function(){function u(c){if((0,y.Z)(this,u),this.defaultDoc=c,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){var p=this.inertDocument.createElement("html");this.inertDocument.appendChild(p);var m=this.inertDocument.createElement("body");p.appendChild(m)}}return(0,O.Z)(u,[{key:"getInertBodyElement",value:function(p){var m=this.inertDocument.createElement("template");if("content"in m)return m.innerHTML=Zd(p),m;var _=this.inertDocument.createElement("body");return _.innerHTML=Zd(p),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(_),_}},{key:"stripCustomNsAttrs",value:function(p){for(var m=p.attributes,_=m.length-1;0<_;_--){var H=m.item(_).name;("xmlns:ns1"===H||0===H.indexOf("ns1:"))&&p.removeAttribute(H)}for(var z=p.firstChild;z;)z.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(z),z=z.nextSibling}}]),u}(),Up=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,iD=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function bh(u){return(u=String(u)).match(Up)||u.match(iD)?u:"unsafe:"+u}function Ch(u){return(u=String(u)).split(",").map(function(c){return bh(c.trim())}).join(", ")}function ws(u){var m,c={},p=(0,b.Z)(u.split(","));try{for(p.s();!(m=p.n()).done;)c[m.value]=!0}catch(A){p.e(A)}finally{p.f()}return c}function Ld(){for(var u={},c=arguments.length,p=new Array(c),m=0;m<c;m++)p[m]=arguments[m];for(var _=0,A=p;_<A.length;_++){var H=A[_];for(var z in H)H.hasOwnProperty(z)&&(u[z]=!0)}return u}var kh,Hp=ws("area,br,col,hr,img,wbr"),jS=ws("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),xv=ws("rp,rt"),Fd=Ld(xv,jS),Sh=Ld(Hp,Ld(jS,ws("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Ld(xv,ws("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Fd),Ev=ws("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Mv=ws("srcset"),Vy=Ld(Ev,Mv,ws("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ws("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),WS=ws("script,style,template"),Th=function(){function u(){(0,y.Z)(this,u),this.sanitizedSomething=!1,this.buf=[]}return(0,O.Z)(u,[{key:"sanitizeChildren",value:function(p){for(var m=p.firstChild,_=!0;m;)if(m.nodeType===Node.ELEMENT_NODE?_=this.startElement(m):m.nodeType===Node.TEXT_NODE?this.chars(m.nodeValue):this.sanitizedSomething=!0,_&&m.firstChild)m=m.firstChild;else for(;m;){m.nodeType===Node.ELEMENT_NODE&&this.endElement(m);var A=this.checkClobberedElement(m,m.nextSibling);if(A){m=A;break}m=this.checkClobberedElement(m,m.parentNode)}return this.buf.join("")}},{key:"startElement",value:function(p){var m=p.nodeName.toLowerCase();if(!Sh.hasOwnProperty(m))return this.sanitizedSomething=!0,!WS.hasOwnProperty(m);this.buf.push("<"),this.buf.push(m);for(var _=p.attributes,A=0;A<_.length;A++){var H=_.item(A),z=H.name,ee=z.toLowerCase();if(Vy.hasOwnProperty(ee)){var ve=H.value;Ev[ee]&&(ve=bh(ve)),Mv[ee]&&(ve=Ch(ve)),this.buf.push(" ",z,'="',Bl(ve),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0}},{key:"endElement",value:function(p){var m=p.nodeName.toLowerCase();Sh.hasOwnProperty(m)&&!Hp.hasOwnProperty(m)&&(this.buf.push("</"),this.buf.push(m),this.buf.push(">"))}},{key:"chars",value:function(p){this.buf.push(Bl(p))}},{key:"checkClobberedElement",value:function(p,m){if(m&&(p.compareDocumentPosition(m)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: ".concat(p.outerHTML));return m}}]),u}(),Fc=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,GS=/([^\#-~ |!])/g;function Bl(u){return u.replace(/&/g,"&amp;").replace(Fc,function(c){return"&#"+(1024*(c.charCodeAt(0)-55296)+(c.charCodeAt(1)-56320)+65536)+";"}).replace(GS,function(c){return"&#"+c.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function sD(u,c){var p=null;try{kh=kh||function(u){var c=new rD(u);return function(){try{return!!(new window.DOMParser).parseFromString(Zd(""),"text/html")}catch(u){return!1}}()?new Hy(c):c}(u);var m=c?String(c):"";p=kh.getInertBodyElement(m);var _=5,A=m;do{if(0===_)throw new Error("Failed to sanitize html because the input is unstable");_--,m=A,A=p.innerHTML,p=kh.getInertBodyElement(m)}while(m!==A);return Zd((new Th).sanitizeChildren(YS(p)||p))}finally{if(p)for(var ee=YS(p)||p;ee.firstChild;)ee.removeChild(ee.firstChild)}}function YS(u){return"content"in u&&function(u){return u.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===u.nodeName}(u)?u.content:null}var Pa=function(){return(Pa=Pa||{})[Pa.NONE=0]="NONE",Pa[Pa.HTML=1]="HTML",Pa[Pa.STYLE=2]="STYLE",Pa[Pa.SCRIPT=3]="SCRIPT",Pa[Pa.URL=4]="URL",Pa[Pa.RESOURCE_URL=5]="RESOURCE_URL",Pa}();function Av(u){var c=Qu();return c?By(c.sanitize(Pa.HTML,u)||""):Fl(u,"HTML")?By(pl(u)):sD(le(),Ce(u))}function Ju(u){var c=Qu();return c?c.sanitize(Pa.STYLE,u)||"":Fl(u,"Style")?pl(u):Ce(u)}function wh(u){var c=Qu();return c?c.sanitize(Pa.URL,u)||"":Fl(u,"URL")?pl(u):bh(Ce(u))}function Qu(){var u=wn();return u&&u[12]}var zy="__ngContext__";function No(u,c){u[zy]=c}function XS(u){var c=function(u){return u[zy]||null}(u);return c?Array.isArray(c)?c:c.lView:null}function Pv(u){return u.ngOriginalError}function aT(u){for(var c=arguments.length,p=new Array(c>1?c-1:0),m=1;m<c;m++)p[m-1]=arguments[m];u.error.apply(u,p)}var Vp=function(){function u(){(0,y.Z)(this,u),this._console=console}return(0,O.Z)(u,[{key:"handleError",value:function(p){var m=this._findOriginalError(p),_=this._findContext(p),A=function(u){return u&&u.ngErrorLogger||aT}(p);A(this._console,"ERROR",p),m&&A(this._console,"ORIGINAL ERROR",m),_&&A(this._console,"ERROR CONTEXT",_)}},{key:"_findContext",value:function(p){return p?function(u){return u.ngDebugContext}(p)||this._findContext(Pv(p)):null}},{key:"_findOriginalError",value:function(p){for(var m=p&&Pv(p);m&&Pv(m);)m=Pv(m);return m||null}}]),u}(),Rv=function(){return("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(lt)}();function Nv(u){return u.ownerDocument.defaultView}function Ku(u){return u.ownerDocument}function zs(u){return u instanceof Function?u():u}var Ws=function(){return(Ws=Ws||{})[Ws.Important=1]="Important",Ws[Ws.DashCase=2]="DashCase",Ws}();function ko(u,c){return undefined(u,c)}function Vd(u){var c=u[3];return pn(c)?c[3]:c}function Gs(u){return Lv(u[13])}function Hl(u){return Lv(u[4])}function Lv(u){for(;null!==u&&!pn(u);)u=u[4];return u}function qd(u,c,p,m,_){if(null!=m){var A,H=!1;pn(m)?A=m:Li(m)&&(H=!0,m=m[0]);var z=gt(m);0===u&&null!==p?null==_?o0(c,p,z):zd(c,p,z,_||null,!0):1===u&&null!==p?zd(c,p,z,_||null,!0):2===u?function(u,c,p){var m=Oh(u,c);m&&function(u,c,p,m){me(u)?u.removeChild(c,p,m):c.removeChild(p)}(u,m,c,p)}(c,z,H):3===u&&c.destroyNode(z),null!=A&&function(u,c,p,m,_){var A=p[7];A!==gt(p)&&qd(c,u,m,A,_);for(var z=10;z<p.length;z++){var ee=p[z];gu(ee[1],ee,u,c,m,A)}}(c,u,A,p,_)}}function $y(u,c){return me(u)?u.createText(c):u.createTextNode(c)}function Yo(u,c,p){return me(u)?u.createElement(c,p):null===p?u.createElement(c):u.createElementNS(p,c)}function t0(u,c){var p=u[9],m=p.indexOf(c),_=c[3];1024&c[2]&&(c[2]&=-1025,Vs(_,-1)),p.splice(m,1)}function zp(u,c){if(!(u.length<=10)){var p=10+c,m=u[p];if(m){var _=m[17];null!==_&&_!==u&&t0(_,m),c>0&&(u[p-1][4]=m[4]);var A=Pd(u,10+c);!function(u,c){gu(u,c,c[11],2,null,null),c[0]=null,c[6]=null}(m[1],m);var H=A[19];null!==H&&H.detachView(A[1]),m[3]=null,m[4]=null,m[2]&=-129}return m}}function pT(u,c){if(!(256&c[2])){var p=c[11];me(p)&&p.destroyNode&&gu(u,c,p,3,null,null),function(u){var c=u[13];if(!c)return n0(u[1],u);for(;c;){var p=null;if(Li(c))p=c[13];else{var m=c[10];m&&(p=m)}if(!p){for(;c&&!c[4]&&c!==u;)Li(c)&&n0(c[1],c),c=c[3];null===c&&(c=u),Li(c)&&n0(c[1],c),p=c&&c[4]}c=p}}(c)}}function n0(u,c){if(!(256&c[2])){c[2]&=-129,c[2]|=256,function(u,c){var p;if(null!=u&&null!=(p=u.destroyHooks))for(var m=0;m<p.length;m+=2){var _=c[p[m]];if(!(_ instanceof Ir)){var A=p[m+1];if(Array.isArray(A))for(var H=0;H<A.length;H+=2){var z=_[A[H]],ee=A[H+1];try{ee.call(z)}finally{}}else try{A.call(_)}finally{}}}}(u,c),function(u,c){var p=u.cleanup,m=c[7],_=-1;if(null!==p)for(var A=0;A<p.length-1;A+=2)if("string"==typeof p[A]){var H=p[A+1],z="function"==typeof H?H(c):gt(c[H]),ee=m[_=p[A+2]],ve=p[A+3];"boolean"==typeof ve?z.removeEventListener(p[A],ee,ve):ve>=0?m[_=ve]():m[_=-ve].unsubscribe(),A+=2}else{var Pe=m[_=p[A+1]];p[A].call(Pe)}if(null!==m){for(var Je=_+1;Je<m.length;Je++)(0,m[Je])();c[7]=null}}(u,c),1===c[1].type&&me(c[11])&&c[11].destroy();var p=c[17];if(null!==p&&pn(c[3])){p!==c[3]&&t0(p,c);var m=c[19];null!==m&&m.detachView(u)}}}function xs(u,c,p){return function(u,c,p){for(var m=c;null!==m&&40&m.type;)m=(c=m).parent;if(null===m)return p[0];if(2&m.flags){var _=u.data[m.directiveStart].encapsulation;if(_===Nt.None||_===Nt.Emulated)return null}return Xr(m,p)}(u,c.parent,p)}function zd(u,c,p,m,_){me(u)?u.insertBefore(c,p,m,_):c.insertBefore(p,m,_)}function o0(u,c,p){me(u)?u.appendChild(c,p):c.appendChild(p)}function fT(u,c,p,m,_){null!==m?zd(u,c,p,m,_):o0(u,c,p)}function Oh(u,c){return me(u)?u.parentNode(c):c.parentNode}function ci(u,c,p){return l0(u,c,p)}var l0=function(u,c,p){return 40&u.type?Xr(u,p):null};function Wp(u,c,p,m){var _=xs(u,m,c),A=c[11],z=ci(m.parent||c[6],m,c);if(null!=_)if(Array.isArray(p))for(var ee=0;ee<p.length;ee++)fT(A,_,p[ee],z,!1);else fT(A,_,p,z,!1)}function Ph(u,c){if(null!==c){var p=c.type;if(3&p)return Xr(c,u);if(4&p)return c0(-1,u[c.index]);if(8&p){var m=c.child;if(null!==m)return Ph(u,m);var _=u[c.index];return pn(_)?c0(-1,_):gt(_)}if(32&p)return ko(c,u)()||gt(u[c.index]);var z=u0(u,c);return null!==z?Array.isArray(z)?z[0]:Ph(Vd(u[16]),z):Ph(u,c.next)}return null}function u0(u,c){return null!==c?u[16][6].projection[c.projection]:null}function c0(u,c){var p=10+u+1;if(p<c.length){var m=c[p],_=m[1].firstChild;if(null!==_)return Ph(m,_)}return c[7]}function d0(u,c,p,m,_,A,H){for(;null!=p;){var z=m[p.index],ee=p.type;if(H&&0===c&&(z&&No(gt(z),m),p.flags|=4),64!=(64&p.flags))if(8&ee)d0(u,c,p.child,m,_,A,!1),qd(c,u,_,z,A);else if(32&ee){for(var ve=ko(p,m),Pe=void 0;Pe=ve();)qd(c,u,_,Pe,A);qd(c,u,_,z,A)}else 16&ee?gT(u,c,m,p,_,A):qd(c,u,_,z,A);p=H?p.projectionNext:p.next}}function gu(u,c,p,m,_,A){d0(p,m,u.firstChild,c,_,A,!1)}function _D(u,c,p){gT(c[11],0,c,p,xs(u,p,c),ci(p.parent||c[6],p,c))}function gT(u,c,p,m,_,A){var H=p[16],ee=H[6].projection[m.projection];if(Array.isArray(ee))for(var ve=0;ve<ee.length;ve++)qd(c,u,_,ee[ve],A);else d0(u,c,ee,H[3],_,A,!0)}function p0(u,c,p){me(u)?u.setAttribute(c,"style",p):c.style.cssText=p}function Gp(u,c,p){me(u)?""===p?u.removeAttribute(c,"class"):u.setAttribute(c,"class",p):c.className=p}function Fv(u,c,p){for(var m=u.length;;){var _=u.indexOf(c,p);if(-1===_)return _;if(0===_||u.charCodeAt(_-1)<=32){var A=c.length;if(_+A===m||u.charCodeAt(_+A)<=32)return _}p=_+1}}var yT="ng-template";function CD(u,c,p){for(var m=0;m<u.length;){var _=u[m++];if(p&&"class"===_){if(-1!==Fv((_=u[m]).toLowerCase(),c,0))return!0}else if(1===_){for(;m<u.length&&"string"==typeof(_=u[m++]);)if(_.toLowerCase()===c)return!0;return!1}}return!1}function bT(u){return 4===u.type&&u.value!==yT}function Wd(u,c,p){return c===(4!==u.type||p?u.value:yT)}function CT(u,c,p){for(var m=4,_=u.attrs||[],A=function(u){for(var c=0;c<u.length;c++)if(Nl(u[c]))return c;return u.length}(_),H=!1,z=0;z<c.length;z++){var ee=c[z];if("number"!=typeof ee){if(!H)if(4&m){if(m=2|1&m,""!==ee&&!Wd(u,ee,p)||""===ee&&1===c.length){if(Vl(m))return!1;H=!0}}else{var ve=8&m?ee:c[++z];if(8&m&&null!==u.attrs){if(!CD(u.attrs,ve,p)){if(Vl(m))return!1;H=!0}continue}var Je=ST(8&m?"class":ee,_,bT(u),p);if(-1===Je){if(Vl(m))return!1;H=!0;continue}if(""!==ve){var We;We=Je>A?"":_[Je+1].toLowerCase();var ct=8&m?We:null;if(ct&&-1!==Fv(ct,ve,0)||2&m&&ve!==We){if(Vl(m))return!1;H=!0}}}}else{if(!H&&!Vl(m)&&!Vl(ee))return!1;if(H&&Vl(ee))continue;H=!1,m=ee|1&m}}return Vl(m)||H}function Vl(u){return 0==(1&u)}function ST(u,c,p,m){if(null===c)return-1;var _=0;if(m||!p){for(var A=!1;_<c.length;){var H=c[_];if(H===u)return _;if(3===H||6===H)A=!0;else{if(1===H||2===H){for(var z=c[++_];"string"==typeof z;)z=c[++_];continue}if(4===H)break;if(0===H){_+=4;continue}}_+=A?1:2}return-1}return function(u,c){var p=u.indexOf(4);if(p>-1)for(p++;p<u.length;){var m=u[p];if("number"==typeof m)return-1;if(m===c)return p;p++}return-1}(c,u)}function TT(u,c){for(var p=arguments.length>2&&void 0!==arguments[2]&&arguments[2],m=0;m<c.length;m++)if(CT(u,c[m],p))return!0;return!1}function kD(u,c){e:for(var p=0;p<c.length;p++){var m=c[p];if(u.length===m.length){for(var _=0;_<u.length;_++)if(u[_]!==m[_])continue e;return!0}}return!1}function kT(u,c){return u?":not("+c.trim()+")":c}function wD(u){for(var c=u[0],p=1,m=2,_="",A=!1;p<u.length;){var H=u[p];if("string"==typeof H)if(2&m){var z=u[++p];_+="["+H+(z.length>0?'="'+z+'"':"")+"]"}else 8&m?_+="."+H:4&m&&(_+=" "+H);else""!==_&&!Vl(H)&&(c+=kT(A,_),_=""),m=H,A=A||!Vl(m);p++}return""!==_&&(c+=kT(A,_)),c}var jr={};function wT(u){xT(Oe(),wn(),gn()+u,an())}function xT(u,c,p,m){if(!m)if(3==(3&c[2])){var A=u.preOrderCheckHooks;null!==A&&xd(c,A,p)}else{var H=u.preOrderHooks;null!==H&&Uu(c,H,0,p)}ur(p)}function Bv(u,c){return u<<17|c<<2}function jl(u){return u>>17&32767}function h0(u){return 2|u}function _u(u){return(131068&u)>>2}function m0(u,c){return-131069&u|c<<2}function AT(u){return 1|u}function Rh(u,c){var p=u.contentQueries;if(null!==p)for(var m=0;m<p.length;m+=2){var A=p[m+1];if(-1!==A){var H=u.data[A];Da(p[m]),H.contentQueries(2,c[A],A)}}}function Nh(u,c,p,m,_,A,H,z,ee,ve){var Pe=c.blueprint.slice();return Pe[0]=_,Pe[2]=140|m,Sd(Pe),Pe[3]=Pe[15]=u,Pe[8]=p,Pe[10]=H||u&&u[10],Pe[11]=z||u&&u[11],Pe[12]=ee||u&&u[12]||null,Pe[9]=ve||u&&u[9]||null,Pe[6]=A,Pe[16]=2==c.type?u[16]:Pe,Pe}function Kp(u,c,p,m,_){var A=u.data[c];if(null===A)A=function(u,c,p,m,_){var A=ie(),H=ot(),ee=u.data[c]=function(u,c,p,m,_,A){return{type:p,index:m,insertBeforeIndex:null,injectorIndex:c?c.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:_,attrs:A,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:c,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,H?A:A&&A.parent,p,c,m,_);return null===u.firstChild&&(u.firstChild=ee),null!==A&&(H?null==A.child&&null!==ee.parent&&(A.child=ee):null===A.next&&(A.next=ee)),ee}(u,c,p,m,_),Pr.lFrame.inI18n&&(A.flags|=64);else if(64&A.type){A.type=p,A.value=m,A.attrs=_;var H=function(){var u=Pr.lFrame,c=u.currentTNode;return u.isParent?c:c.parent}();A.injectorIndex=null===H?-1:H.injectorIndex}return Be(A,!0),A}function yu(u,c,p,m){if(0===p)return-1;for(var _=c.length,A=0;A<p;A++)c.push(m),u.blueprint.push(m),u.data.push(null);return _}function Xp(u,c,p){Le(c);try{var m=u.viewQuery;null!==m&&XT(1,m,p);var _=u.template;null!==_&&qv(u,c,_,1,p),u.firstCreatePass&&(u.firstCreatePass=!1),u.staticContentQueries&&Rh(u,c),u.staticViewQueries&&XT(2,u.viewQuery,p);var A=u.components;null!==A&&function(u,c){for(var p=0;p<c.length;p++)yF(u,c[p])}(c,A)}catch(H){throw u.firstCreatePass&&(u.incompleteFirstPass=!0,u.firstCreatePass=!1),H}finally{c[2]&=-5,nt()}}function $p(u,c,p,m){var _=c[2];if(256!=(256&_)){Le(c);var A=an();try{Sd(c),function(u){Pr.lFrame.bindingIndex=u}(u.bindingStartIndex),null!==p&&qv(u,c,p,2,m);var H=3==(3&_);if(!A)if(H){var z=u.preOrderCheckHooks;null!==z&&xd(c,z,null)}else{var ee=u.preOrderHooks;null!==ee&&Uu(c,ee,0,null),Dc(c,0)}if(function(u){for(var c=Gs(u);null!==c;c=Hl(c))if(c[2])for(var p=c[9],m=0;m<p.length;m++){var _=p[m];0==(1024&_[2])&&Vs(_[3],1),_[2]|=1024}}(c),function(u){for(var c=Gs(u);null!==c;c=Hl(c))for(var p=10;p<c.length;p++){var m=c[p],_=m[1];ol(m)&&$p(_,m,_.template,m[8])}}(c),null!==u.contentQueries&&Rh(u,c),!A)if(H){var ve=u.contentCheckHooks;null!==ve&&xd(c,ve)}else{var Pe=u.contentHooks;null!==Pe&&Uu(c,Pe,1),Dc(c,1)}!function(u,c){var p=u.hostBindingOpCodes;if(null!==p)try{for(var m=0;m<p.length;m++){var _=p[m];if(_<0)ur(~_);else{var A=_,H=p[++m],z=p[++m];Wi(H,A),z(2,c[A])}}}finally{ur(-1)}}(u,c);var Je=u.components;null!==Je&&function(u,c){for(var p=0;p<c.length;p++)_F(u,c[p])}(c,Je);var We=u.viewQuery;if(null!==We&&XT(2,We,m),!A)if(H){var ct=u.viewCheckHooks;null!==ct&&xd(c,ct)}else{var Mt=u.viewHooks;null!==Mt&&Uu(c,Mt,2),Dc(c,2)}!0===u.firstUpdatePass&&(u.firstUpdatePass=!1),A||(c[2]&=-73),1024&c[2]&&(c[2]&=-1025,Vs(c[3],-1))}finally{nt()}}}function Yd(u,c,p,m){var _=c[10],A=!an(),H=za(c);try{A&&!H&&_.begin&&_.begin(),H&&Xp(u,c,m),$p(u,c,p,m)}finally{A&&!H&&_.end&&_.end()}}function qv(u,c,p,m,_){var A=gn(),H=2&m;try{ur(-1),H&&c.length>20&&xT(u,c,20,an()),p(m,_)}finally{ur(A)}}function PT(u,c,p){if(fn(c))for(var _=c.directiveEnd,A=c.directiveStart;A<_;A++){var H=u.data[A];H.contentQueries&&H.contentQueries(1,p[A],A)}}function ds(u,c,p){!Td()||(function(u,c,p,m){var _=p.directiveStart,A=p.directiveEnd;u.firstCreatePass||mv(p,c),No(m,c);for(var H=p.initialInputs,z=_;z<A;z++){var ee=u.data[z],ve=ra(ee);ve&&UD(c,p,ee);var Pe=Md(c,u,z,p);No(Pe,c),null!==H&&mF(0,z-_,Pe,ee,0,H),ve&&(Fr(p.index,c)[8]=Pe)}}(u,c,p,Xr(p,c)),128==(128&p.flags)&&function(u,c,p){var m=p.directiveStart,_=p.directiveEnd,H=p.index,z=Pr.lFrame.currentDirectiveIndex;try{ur(H);for(var ee=m;ee<_;ee++){var ve=u.data[ee],Pe=c[ee];xa(ee),(null!==ve.hostBindings||0!==ve.hostVars||null!==ve.hostAttrs)&&VT(ve,Pe)}}finally{ur(-1),xa(z)}}(u,c,p))}function zv(u,c){var p=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Xr,m=c.localNames;if(null!==m)for(var _=c.index+1,A=0;A<m.length;A+=2){var H=m[A+1],z=-1===H?p(c,u):u[H];u[_++]=z}}function IT(u){var c=u.tView;return null===c||c.incompleteFirstPass?u.tView=Wv(1,null,u.template,u.decls,u.vars,u.directiveDefs,u.pipeDefs,u.viewQuery,u.schemas,u.consts):c}function Wv(u,c,p,m,_,A,H,z,ee,ve){var Pe=20+m,Je=Pe+_,We=function(u,c){for(var p=[],m=0;m<c;m++)p.push(m<u?null:jr);return p}(Pe,Je),ct="function"==typeof ve?ve():ve;return We[1]={type:u,blueprint:We,template:p,queries:null,viewQuery:z,declTNode:c,data:We.slice().fill(null,Pe),bindingStartIndex:Pe,expandoStartIndex:Je,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof A?A():A,pipeRegistry:"function"==typeof H?H():H,firstChild:null,schemas:ee,consts:ct,incompleteFirstPass:!1}}function NT(u,c,p,m){var _=VD(c);null===p?_.push(m):(_.push(p),u.firstCreatePass&&jD(u).push(m,_.length-1))}function LT(u,c,p){for(var m in u)if(u.hasOwnProperty(m)){var _=u[m];(p=null===p?{}:p).hasOwnProperty(m)?p[m].push(c,_):p[m]=[c,_]}return p}function ps(u,c,p,m,_,A,H,z){var Pe,ee=Xr(c,p),ve=c.inputs;!z&&null!=ve&&(Pe=ve[m])?(WD(u,p,Pe,m,_),vr(c)&&function(u,c){var p=Fr(c,u);16&p[2]||(p[2]|=64)}(p,c.index)):3&c.type&&(m=function(u){return"class"===u?"className":"for"===u?"htmlFor":"formaction"===u?"formAction":"innerHtml"===u?"innerHTML":"readonly"===u?"readOnly":"tabindex"===u?"tabIndex":u}(m),_=null!=H?H(_,c.value||"",m):_,me(A)?A.setProperty(ee,m,_):Ed(m)||(ee.setProperty?ee.setProperty(m,_):ee[m]=_))}function w0(u,c,p,m){var _=!1;if(Td()){var A=function(u,c,p){var m=u.directiveRegistry,_=null;if(m)for(var A=0;A<m.length;A++){var H=m[A];TT(p,H.selectors,!1)&&(_||(_=[]),Ty(mv(p,c),u,H.type),ra(H)?(FD(u,p),_.unshift(H)):_.push(H))}return _}(u,c,p),H=null===m?null:{"":-1};if(null!==A){_=!0,x0(p,u.data.length,A.length);for(var z=0;z<A.length;z++){var ee=A[z];ee.providersResolver&&ee.providersResolver(ee)}for(var ve=!1,Pe=!1,Je=yu(u,c,A.length,null),We=0;We<A.length;We++){var ct=A[We];p.mergedAttrs=by(p.mergedAttrs,ct.hostAttrs),zT(u,p,c,Je,ct),qT(Je,ct,H),null!==ct.contentQueries&&(p.flags|=8),(null!==ct.hostBindings||null!==ct.hostAttrs||0!==ct.hostVars)&&(p.flags|=128);var Mt=ct.type.prototype;!ve&&(Mt.ngOnChanges||Mt.ngOnInit||Mt.ngDoCheck)&&((u.preOrderHooks||(u.preOrderHooks=[])).push(p.index),ve=!0),!Pe&&(Mt.ngOnChanges||Mt.ngDoCheck)&&((u.preOrderCheckHooks||(u.preOrderCheckHooks=[])).push(p.index),Pe=!0),Je++}!function(u,c){for(var m=c.directiveEnd,_=u.data,A=c.attrs,H=[],z=null,ee=null,ve=c.directiveStart;ve<m;ve++){var Pe=_[ve],Je=Pe.inputs,We=null===A||bT(c)?null:HD(Je,A);H.push(We),z=LT(Je,ve,z),ee=LT(Pe.outputs,ve,ee)}null!==z&&(z.hasOwnProperty("class")&&(c.flags|=16),z.hasOwnProperty("style")&&(c.flags|=32)),c.initialInputs=H,c.inputs=z,c.outputs=ee}(u,p)}H&&function(u,c,p){if(c)for(var m=u.localNames=[],_=0;_<c.length;_+=2){var A=p[c[_+1]];if(null==A)throw new he("301","Export of name '".concat(c[_+1],"' not found!"));m.push(c[_],A)}}(p,m,H)}return p.mergedAttrs=by(p.mergedAttrs,p.attrs),_}function BT(u,c,p,m,_,A){var H=A.hostBindings;if(H){var z=u.hostBindingOpCodes;null===z&&(z=u.hostBindingOpCodes=[]);var ee=~c.index;(function(u){for(var c=u.length;c>0;){var p=u[--c];if("number"==typeof p&&p<0)return p}return 0})(z)!=ee&&z.push(ee),z.push(m,_,H)}}function VT(u,c){null!==u.hostBindings&&u.hostBindings(1,c)}function FD(u,c){c.flags|=2,(u.components||(u.components=[])).push(c.index)}function qT(u,c,p){if(p){if(c.exportAs)for(var m=0;m<c.exportAs.length;m++)p[c.exportAs[m]]=u;ra(c)&&(p[""]=u)}}function x0(u,c,p){u.flags|=1,u.directiveStart=c,u.directiveEnd=c+p,u.providerIndexes=c}function zT(u,c,p,m,_){u.data[m]=_;var A=_.factory||(_.factory=mi(_.type)),H=new Ir(A,ra(_),null);u.blueprint[m]=H,p[m]=H,BT(u,c,0,m,yu(u,p,_.hostVars,jr),_)}function UD(u,c,p){var m=Xr(c,u),_=IT(p),A=u[10],H=Gv(u,Nh(u,_,null,p.onPush?64:16,m,c,A,A.createRenderer(m,p),null,null));u[c.index]=H}function bu(u,c,p,m,_,A){var H=Xr(u,c);!function(u,c,p,m,_,A,H){if(null==A)me(u)?u.removeAttribute(c,_,p):c.removeAttribute(_);else{var z=null==H?Ce(A):H(A,m||"",_);me(u)?u.setAttribute(c,_,z,p):p?c.setAttributeNS(p,_,z):c.setAttribute(_,z)}}(c[11],H,A,u.value,p,m,_)}function mF(u,c,p,m,_,A){var H=A[c];if(null!==H)for(var z=m.setInput,ee=0;ee<H.length;){var ve=H[ee++],Pe=H[ee++],Je=H[ee++];null!==z?m.setInput(p,Je,ve,Pe):p[Pe]=Je}}function HD(u,c){for(var p=null,m=0;m<c.length;){var _=c[m];if(0!==_)if(5!==_){if("number"==typeof _)break;u.hasOwnProperty(_)&&(null===p&&(p=[]),p.push(_,u[_],c[m+1])),m+=2}else m+=2;else m+=4}return p}function GT(u,c,p,m){return new Array(u,!0,!1,c,null,0,m,p,null,null)}function _F(u,c){var p=Fr(c,u);if(ol(p)){var m=p[1];80&p[2]?$p(m,p,m.template,p[8]):p[5]>0&&YT(p)}}function YT(u){for(var c=Gs(u);null!==c;c=Hl(c))for(var p=10;p<c.length;p++){var m=c[p];if(1024&m[2]){var _=m[1];$p(_,m,_.template,m[8])}else m[5]>0&&YT(m)}var H=u[1].components;if(null!==H)for(var z=0;z<H.length;z++){var ee=Fr(H[z],u);ol(ee)&&ee[5]>0&&YT(ee)}}function yF(u,c){var p=Fr(c,u),m=p[1];(function(u,c){for(var p=c.length;p<u.blueprint.length;p++)c.push(u.blueprint[p])})(m,p),Xp(m,p,p[8])}function Gv(u,c){return u[13]?u[14][4]=c:u[13]=c,u[14]=c,c}function QT(u){for(;u;){u[2]|=64;var c=Vd(u);if(Ii(u)&&!c)return u;u=c}return null}function ml(u,c,p){var m=c[10];m.begin&&m.begin();try{$p(u,c,u.template,p)}catch(_){throw zD(c,_),_}finally{m.end&&m.end()}}function KT(u){!function(u){for(var c=0;c<u.components.length;c++){var p=u.components[c],m=XS(p),_=m[1];Yd(_,m,_.template,p)}}(u[8])}function XT(u,c,p){Da(0),c(u,p)}var kF=function(){return Promise.resolve(null)}();function VD(u){return u[7]||(u[7]=[])}function jD(u){return u.cleanup||(u.cleanup=[])}function qD(u,c,p){return(null===u||ra(u))&&(p=function(u){for(;Array.isArray(u);){if("object"==typeof u[1])return u;u=u[0]}return null}(p[c.index])),p[11]}function zD(u,c){var p=u[9],m=p?p.get(Vp,null):null;m&&m.handleError(c)}function WD(u,c,p,m,_){for(var A=0;A<p.length;){var H=p[A++],z=p[A++],ee=c[H],ve=u.data[H];null!==ve.setInput?ve.setInput(ee,_,m,z):ee[z]=_}}function zl(u,c,p){var m=Rt(c,u);!function(u,c,p){me(u)?u.setValue(c,p):c.textContent=p}(u[11],m,p)}function Jv(u,c,p){var m=p?u.styles:null,_=p?u.classes:null,A=0;if(null!==c)for(var H=0;H<c.length;H++){var z=c[H];"number"==typeof z?A=z:1==A?_=W(_,z):2==A&&(m=W(m,z+": "+c[++H]+";"))}p?u.styles=m:u.stylesWithoutHost=m,p?u.classes=_:u.classesWithoutHost=_}var Qv=new Oa("INJECTOR",-1),GD=function(){function u(){(0,y.Z)(this,u)}return(0,O.Z)(u,[{key:"get",value:function(p){var m=arguments.length>1&&void 0!==arguments[1]?arguments[1]:mh;if(m===mh){var _=new Error("NullInjectorError: No provider for ".concat(X(p),"!"));throw _.name="NullInjectorError",_}return m}}]),u}(),Zh=new Oa("Set Injector scope."),Lh={},YD={},Kv=void 0;function ek(){return void 0===Kv&&(Kv=new GD),Kv}function tk(u){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,p=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,m=arguments.length>3?arguments[3]:void 0;return new QD(u,p,c||ek(),m)}var QD=function(){function u(c,p,m){var _=this,A=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;(0,y.Z)(this,u),this.parent=m,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var H=[];p&&fu(p,function(ee){return _.processProvider(ee,c,p)}),fu([c],function(ee){return _.processInjectorType(ee,[],H)}),this.records.set(Qv,jc(void 0,this));var z=this.records.get(Zh);this.scope=null!=z?z.value:null,this.source=A||("object"==typeof c?null:X(c))}return(0,O.Z)(u,[{key:"destroyed",get:function(){return this._destroyed}},{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(p){return p.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(p){var m=arguments.length>1&&void 0!==arguments[1]?arguments[1]:mh,_=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Fe.Default;this.assertNotDestroyed();var A=bv(this),H=At(void 0);try{if(!(_&Fe.SkipSelf)){var z=this.records.get(p);if(void 0===z){var ee=iO(p)&&Sr(p);z=ee&&this.injectableDefInScope(ee)?jc(Fh(p),Lh):null,this.records.set(p,z)}if(null!=z)return this.hydrate(p,z)}var ve=_&Fe.Self?ek():this.parent;return ve.get(p,m=_&Fe.Optional&&m===mh?null:m)}catch(Je){if("NullInjectorError"===Je.name){var Pe=Je[Rd]=Je[Rd]||[];if(Pe.unshift(X(p)),A)throw Je;return RS(Je,p,"R3InjectorError",this.source)}throw Je}finally{At(H),bv(A)}}},{key:"_resolveInjectorDefTypes",value:function(){var p=this;this.injectorDefTypes.forEach(function(m){return p.get(m)})}},{key:"toString",value:function(){var p=[];return this.records.forEach(function(_,A){return p.push(X(A))}),"R3Injector[".concat(p.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(p,m,_){var A=this;if(!(p=K(p)))return!1;var H=kt(p),z=null==H&&p.ngModule||void 0,ee=void 0===z?p:z,Je=-1!==_.indexOf(ee);if(void 0!==z&&(H=kt(z)),null==H)return!1;if(null!=H.imports&&!Je){var We;_.push(ee);try{fu(H.imports,function(vn){A.processInjectorType(vn,m,_)&&(void 0===We&&(We=[]),We.push(vn))})}finally{}if(void 0!==We)for(var ct=function(qn){var wr=We[qn],ei=wr.ngModule,Di=wr.providers;fu(Di,function(sa){return A.processProvider(sa,ei,Di||Re)})},Mt=0;Mt<We.length;Mt++)ct(Mt)}this.injectorDefTypes.add(ee);var zt=mi(ee)||function(){return new ee};this.records.set(ee,jc(zt,Lh));var dn=H.providers;if(null!=dn&&!Je){var Nn=p;fu(dn,function(vn){return A.processProvider(vn,Nn,dn)})}return void 0!==z&&void 0!==p.providers}},{key:"processProvider",value:function(p,m,_){var A=ef(p=K(p))?p:K(p&&p.provide),H=function(u,c,p){return ec(u)?jc(void 0,u.useValue):jc(Xv(u),Lh)}(p);if(ef(p)||!0!==p.multi)this.records.get(A);else{var z=this.records.get(A);z||((z=jc(void 0,Lh,!0)).factory=function(){return zo(z.multi)},this.records.set(A,z)),A=p,z.multi.push(p)}this.records.set(A,H)}},{key:"hydrate",value:function(p,m){return m.value===Lh&&(m.value=YD,m.value=m.factory()),"object"==typeof m.value&&m.value&&function(u){return null!==u&&"object"==typeof u&&"function"==typeof u.ngOnDestroy}(m.value)&&this.onDestroy.add(m.value),m.value}},{key:"injectableDefInScope",value:function(p){if(!p.providedIn)return!1;var m=K(p.providedIn);return"string"==typeof m?"any"===m||m===this.scope:this.injectorDefTypes.has(m)}}]),u}();function Fh(u){var c=Sr(u),p=null!==c?c.factory:mi(u);if(null!==p)return p;if(u instanceof Oa)throw new Error("Token ".concat(X(u)," is missing a \u0275prov definition."));if(u instanceof Function)return function(u){var c=u.length;if(c>0){var p=us(c,"?");throw new Error("Can't resolve all parameters for ".concat(X(u),": (").concat(p.join(", "),")."))}var m=function(u){var c=u&&(u[Ye]||u[ne]);if(c){var p=function(u){if(u.hasOwnProperty("name"))return u.name;var c=(""+u).match(/^function\s*([^\s(]+)/);return null===c?"":c[1]}(u);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(p,'" that inherits its @Injectable decorator but does not provide one itself.\n')+'This will become an error in a future version of Angular. Please add @Injectable() to the "'.concat(p,'" class.')),c}return null}(u);return null!==m?function(){return m.factory(u)}:function(){return new u}}(u);throw new Error("unreachable")}function Xv(u,c,p){var m=void 0;if(ef(u)){var _=K(u);return mi(_)||Fh(_)}if(ec(u))m=function(){return K(u.useValue)};else if(function(u){return!(!u||!u.useFactory)}(u))m=function(){return u.useFactory.apply(u,(0,E.Z)(zo(u.deps||[])))};else if(function(u){return!(!u||!u.useExisting)}(u))m=function(){return ro(K(u.useExisting))};else{var A=K(u&&(u.useClass||u.provide));if(!function(u){return!!u.deps}(u))return mi(A)||Fh(A);m=function(){return(0,Z.Z)(A,(0,E.Z)(zo(u.deps)))}}return m}function jc(u,c){var p=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:u,value:c,multi:p?[]:void 0}}function ec(u){return null!==u&&"object"==typeof u&&Ry in u}function ef(u){return"function"==typeof u}function iO(u){return"function"==typeof u||"object"==typeof u&&u instanceof Oa}var $v=function(u,c,p){return function(u){var _=tk(u,arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,arguments.length>3?arguments[3]:void 0);return _._resolveInjectorDefTypes(),_}({name:p},c,u,p)},Hr=function(){var u=function(){function c(){(0,y.Z)(this,c)}return(0,O.Z)(c,null,[{key:"create",value:function(m,_){return Array.isArray(m)?$v(m,_,""):$v(m.providers,m.parent,m.name||"")}}]),c}();return u.THROW_IF_NOT_FOUND=mh,u.NULL=new GD,u.\u0275prov=Wn({token:u,providedIn:"any",factory:function(){return ro(Qv)}}),u.__NG_ELEMENT_ID__=-1,u}();function mO(u,c){Bu(XS(u)[1],J())}function I0(u){for(var c=function(u){return Object.getPrototypeOf(u.prototype).constructor}(u.type),p=!0,m=[u];c;){var _=void 0;if(ra(u))_=c.\u0275cmp||c.\u0275dir;else{if(c.\u0275cmp)throw new Error("Directives cannot inherit Components");_=c.\u0275dir}if(_){if(p){m.push(_);var A=u;A.inputs=R0(u.inputs),A.declaredInputs=R0(u.declaredInputs),A.outputs=R0(u.outputs);var H=_.hostBindings;H&&lk(u,H);var z=_.viewQuery,ee=_.contentQueries;if(z&&N0(u,z),ee&&tc(u,ee),G(u.inputs,_.inputs),G(u.declaredInputs,_.declaredInputs),G(u.outputs,_.outputs),ra(_)&&_.data.animation){var ve=u.data;ve.animation=(ve.animation||[]).concat(_.data.animation)}}var Pe=_.features;if(Pe)for(var Je=0;Je<Pe.length;Je++){var We=Pe[Je];We&&We.ngInherit&&We(u),We===I0&&(p=!1)}}c=Object.getPrototypeOf(c)}!function(u){for(var c=0,p=null,m=u.length-1;m>=0;m--){var _=u[m];_.hostVars=c+=_.hostVars,_.hostAttrs=by(_.hostAttrs,p=by(p,_.hostAttrs))}}(m)}function R0(u){return u===je?{}:u===Re?[]:u}function N0(u,c){var p=u.viewQuery;u.viewQuery=p?function(m,_){c(m,_),p(m,_)}:c}function tc(u,c){var p=u.contentQueries;u.contentQueries=p?function(m,_,A){c(m,_,A),p(m,_,A)}:c}function lk(u,c){var p=u.hostBindings;u.hostBindings=p?function(m,_){c(m,_),p(m,_)}:c}var nf=null;function rf(){if(!nf){var u=lt.Symbol;if(u&&u.iterator)nf=u.iterator;else for(var c=Object.getOwnPropertyNames(Map.prototype),p=0;p<c.length;++p){var m=c[p];"entries"!==m&&"size"!==m&&Map.prototype[m]===Map.prototype.entries&&(nf=m)}}return nf}function Bh(u){return!!Uh(u)&&(Array.isArray(u)||!(u instanceof Map)&&rf()in u)}function Uh(u){return null!==u&&("function"==typeof u||"object"==typeof u)}function Cu(u,c,p){return u[c]=p}function Qo(u,c,p){return!Object.is(u[c],p)&&(u[c]=p,!0)}function Qd(u,c,p,m){var _=Qo(u,c,p);return Qo(u,c+1,m)||_}function L0(u,c,p,m){var _=wn();return Qo(_,Tr(),c)&&(Oe(),bu(Ar(),_,u,c,p,m)),L0}function qc(u,c,p,m){return Qo(u,Tr(),p)?c+Ce(p)+m:jr}function sf(u,c,p,m,_,A){var z=Qd(u,Jn(),p,_);return pr(2),z?c+Ce(p)+m+Ce(_)+A:jr}function Ko(u,c,p,m,_,A,H,z){var ve=function(u,c,p,m,_){var A=Qd(u,c,p,m);return Qo(u,c+2,_)||A}(u,Jn(),p,_,H);return pr(3),ve?c+Ce(p)+m+Ce(_)+A+Ce(H)+z:jr}function Vh(u,c,p,m,_,A){var H=wn(),z=qc(H,c,p,m);return z!==jr&&bu(Ar(),H,u,z,_,A),Vh}function cf(u,c,p,m,_,A,H,z){var ee=wn(),ve=sf(ee,c,p,m,_,A);return ve!==jr&&bu(Ar(),ee,u,ve,H,z),cf}function mk(u,c,p,m,_,A,H,z){var ee=wn(),ve=Oe(),Pe=u+20,Je=ve.firstCreatePass?function(u,c,p,m,_,A,H,z,ee){var ve=c.consts,Pe=Kp(c,u,4,H||null,jo(ve,z));w0(c,p,Pe,jo(ve,ee)),Bu(c,Pe);var Je=Pe.tViews=Wv(2,Pe,m,_,A,c.directiveRegistry,c.pipeRegistry,null,c.schemas,ve);return null!==c.queries&&(c.queries.template(c,Pe),Je.queries=c.queries.embeddedTView(Pe)),Pe}(Pe,ve,ee,c,p,m,_,A,H):ve.data[Pe];Be(Je,!1);var We=ee[11].createComment("");Wp(ve,ee,We,Je),No(We,ee),Gv(ee,ee[Pe]=GT(We,ee,We,Je)),ya(Je)&&ds(ve,ee,Je),null!=H&&zv(ee,Je,z)}function vk(u){return Ki(Pr.lFrame.contextLView,20+u)}var ng={"\u0275\u0275defineInjectable":Wn,"\u0275\u0275defineInjector":ar,"\u0275\u0275inject":ro,"\u0275\u0275invalidFactoryDep":function(u){throw new Error("invalid")},resolveForwardRef:K},gk=F({provide:String,useValue:F});function U0(u){return void 0!==u.useClass}function H0(u){return void 0!==u.useFactory}var TO=uh("Injectable",void 0,void 0,void 0,function(u,c){return wO(u,c)}),wO=function(u,c){var p=null,m=null;u.hasOwnProperty(Ye)||Object.defineProperty(u,Ye,{get:function(){if(null===p){var A=co();p=A.compileInjectable(ng,"ng:///".concat(u.name,"/\u0275prov.js"),function(u,c){var p=c||{providedIn:null},m={name:u.name,type:u,typeArgumentCount:0,providedIn:p.providedIn};return(U0(p)||H0(p))&&void 0!==p.deps&&(m.deps=Zy(p.deps)),U0(p)?m.useClass=p.useClass:function(u){return gk in u}(p)?m.useValue=p.useValue:H0(p)?m.useFactory=p.useFactory:function(u){return void 0!==u.useExisting}(p)&&(m.useExisting=p.useExisting),m}(u,c))}return p}}),u.hasOwnProperty(Tn)||Object.defineProperty(u,Tn,{get:function(){if(null===m){var A=co();m=A.compileFactory(ng,"ng:///".concat(u.name,"/\u0275fac.js"),{name:u.name,type:u,typeArgumentCount:0,deps:vh(u),target:A.FactoryTarget.Injectable})}return m},configurable:!0})};function qh(u){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fe.Default,p=wn();if(null===p)return ro(u,c);var m=J();return B2(m,p,K(u),c)}function Ak(){throw new Error("invalid")}function J0(u,c,p){var m=wn();return Qo(m,Tr(),c)&&ps(Oe(),Ar(),m,u,c,m[11],p,!1),J0}function Q0(u,c,p,m,_){var H=_?"class":"style";WD(u,p,c.inputs[H],H,m)}function K0(u,c,p,m){var _=wn(),A=Oe(),H=20+u,z=_[11],ee=_[H]=Yo(z,c,Pr.lFrame.currentNamespace),ve=A.firstCreatePass?function(u,c,p,m,_,A,H){var z=c.consts,ve=Kp(c,u,2,_,jo(z,A));return w0(c,p,ve,jo(z,H)),null!==ve.attrs&&Jv(ve,ve.attrs,!1),null!==ve.mergedAttrs&&Jv(ve,ve.mergedAttrs,!0),null!==c.queries&&c.queries.elementStart(c,ve),ve}(H,A,_,0,c,p,m):A.data[H];Be(ve,!0);var Pe=ve.mergedAttrs;null!==Pe&&Hu(z,ee,Pe);var Je=ve.classes;null!==Je&&Gp(z,ee,Je);var We=ve.styles;null!==We&&p0(z,ee,We),64!=(64&ve.flags)&&Wp(A,_,ee,ve),0===Pr.lFrame.elementDepthCount&&No(ee,_),Pr.lFrame.elementDepthCount++,ya(ve)&&(ds(A,_,ve),PT(A,ve,_)),null!==m&&zv(_,ve)}function X0(){var u=J();ot()?xt():Be(u=u.parent,!1);var c=u;Pr.lFrame.elementDepthCount--;var p=Oe();p.firstCreatePass&&(Bu(p,u),fn(u)&&p.queries.elementEnd(u)),null!=c.classesWithoutHost&&function(u){return 0!=(16&u.flags)}(c)&&Q0(p,c,wn(),c.classesWithoutHost,!0),null!=c.stylesWithoutHost&&function(u){return 0!=(32&u.flags)}(c)&&Q0(p,c,wn(),c.stylesWithoutHost,!1)}function Dk(u,c,p,m){K0(u,c,p,m),X0()}function $0(u,c,p){var m=wn(),_=Oe(),A=u+20,H=_.firstCreatePass?function(u,c,p,m,_){var A=c.consts,H=jo(A,m),z=Kp(c,u,8,"ng-container",H);return null!==H&&Jv(z,H,!0),w0(c,p,z,jo(A,_)),null!==c.queries&&c.queries.elementStart(c,z),z}(A,_,m,c,p):_.data[A];Be(H,!0);var z=m[A]=m[11].createComment("");Wp(_,m,z,H),No(z,m),ya(H)&&(ds(_,m,H),PT(_,H,m)),null!=p&&zv(m,H)}function eb(){var u=J(),c=Oe();ot()?xt():Be(u=u.parent,!1),c.firstCreatePass&&(Bu(c,u),fn(u)&&c.queries.elementEnd(u))}function Ok(u,c,p){$0(u,c,p),eb()}function Pk(){return wn()}function zh(u){return!!u&&"function"==typeof u.then}function Ik(u){return!!u&&"function"==typeof u.subscribe}var tb=Ik;function ig(u,c,p,m){var _=wn(),A=Oe(),H=J();return nc(A,_,_[11],H,u,c,!!p,m),ig}function Wh(u,c){var p=J(),m=wn(),_=Oe();return nc(_,m,qD(bi(_.data),p,m),p,u,c,!1),Wh}function nc(u,c,p,m,_,A,H,z){var ee=ya(m),Pe=u.firstCreatePass&&jD(u),Je=c[8],We=VD(c),ct=!0;if(3&m.type||z){var Mt=Xr(m,c),zt=z?z(Mt):Mt,dn=We.length,Nn=z?function(Ps){return z(gt(Ps[m.index]))}:m.index;if(me(p)){var vn=null;if(!z&&ee&&(vn=function(u,c,p,m){var _=u.cleanup;if(null!=_)for(var A=0;A<_.length-1;A+=2){var H=_[A];if(H===p&&_[A+1]===m){var z=c[7],ee=_[A+2];return z.length>ee?z[ee]:null}"string"==typeof H&&(A+=2)}return null}(u,c,_,m.index)),null!==vn)(vn.__ngLastListenerFn__||vn).__ngNextListenerFn__=A,vn.__ngLastListenerFn__=A,ct=!1;else{A=rb(m,c,Je,A,!1);var wr=p.listen(zt,_,A);We.push(A,wr),Pe&&Pe.push(_,Nn,dn,dn+1)}}else A=rb(m,c,Je,A,!0),zt.addEventListener(_,A,H),We.push(A),Pe&&Pe.push(_,Nn,dn,H)}else A=rb(m,c,Je,A,!1);var Di,ei=m.outputs;if(ct&&null!==ei&&(Di=ei[_])){var sa=Di.length;if(sa)for(var Na=0;Na<sa;Na+=2){var nd=c[Di[Na]][Di[Na+1]].subscribe(A),mo=We.length;We.push(A,nd),Pe&&Pe.push(_,m.index,mo,-(mo+1))}}}function nb(u,c,p,m){try{return!1!==p(m)}catch(_){return zD(u,_),!1}}function rb(u,c,p,m,_){return function A(H){if(H===Function)return m;var z=2&u.flags?Fr(u.index,c):c;0==(32&c[2])&&QT(z);for(var ee=nb(c,0,m,H),ve=A.__ngNextListenerFn__;ve;)ee=nb(c,0,ve,H)&&ee,ve=ve.__ngNextListenerFn__;return _&&!1===ee&&(H.preventDefault(),H.returnValue=!1),ee}}function Rk(){var u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return wt(u)}function Nk(u,c){for(var p=null,m=function(u){var c=u.attrs;if(null!=c){var p=c.indexOf(5);if(0==(1&p))return c[p+1]}return null}(u),_=0;_<c.length;_++){var A=c[_];if("*"!==A){if(null===m?TT(u,A,!0):kD(m,A))return _}else p=_}return p}function Zk(u){var c=wn()[16][6];if(!c.projection)for(var m=c.projection=us(u?u.length:1,null),_=m.slice(),A=c.child;null!==A;){var H=u?Nk(A,u):0;null!==H&&(_[H]?_[H].projectionNext=A:m[H]=A,_[H]=A),A=A.next}}function Lk(u){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,p=arguments.length>2?arguments[2]:void 0,m=wn(),_=Oe(),A=Kp(_,20+u,16,null,p||null);null===A.projection&&(A.projection=c),xt(),64!=(64&A.flags)&&_D(_,m,A)}function ib(u,c,p){return ag(u,"",c,"",p),ib}function ag(u,c,p,m,_){var A=wn(),H=qc(A,c,p,m);return H!==jr&&ps(Oe(),Ar(),A,u,H,A[11],_,!1),ag}function Kd(u,c,p,m,_,A,H){var z=wn(),ee=sf(z,c,p,m,_,A);return ee!==jr&&ps(Oe(),Ar(),z,u,ee,z[11],H,!1),Kd}function Hk(u,c,p,m,_){for(var A=u[p+1],H=null===c,z=m?jl(A):_u(A),ee=!1;0!==z&&(!1===ee||H);){var Pe=u[z+1];Vk(u[z],c)&&(ee=!0,u[z+1]=m?AT(Pe):h0(Pe)),z=m?jl(Pe):_u(Pe)}ee&&(u[p+1]=m?h0(A):AT(A))}function Vk(u,c){return null===u||null==c||(Array.isArray(u)?u[1]:u)===c||!(!Array.isArray(u)||"string"!=typeof c)&&Rp(u,c)>=0}var Ia={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function sb(u){return u.substring(Ia.key,Ia.keyEnd)}function VO(u){return u.substring(Ia.value,Ia.valueEnd)}function jk(u,c){var p=Ia.textEnd;return p===c?-1:(c=Ia.keyEnd=function(u,c,p){for(;c<p&&u.charCodeAt(c)>32;)c++;return c}(u,Ia.key=c,p),df(u,c,p))}function ub(u,c){var p=Ia.textEnd,m=Ia.key=df(u,c,p);return p===m?-1:(m=Ia.keyEnd=function(u,c,p){for(var m;c<p&&(45===(m=u.charCodeAt(c))||95===m||(-33&m)>=65&&(-33&m)<=90||m>=48&&m<=57);)c++;return c}(u,m,p),m=cb(u,m,p),m=Ia.value=df(u,m,p),m=Ia.valueEnd=function(u,c,p){for(var m=-1,_=-1,A=-1,H=c,z=H;H<p;){var ee=u.charCodeAt(H++);if(59===ee)return z;34===ee||39===ee?z=H=Wk(u,ee,H,p):c===H-4&&85===A&&82===_&&76===m&&40===ee?z=H=Wk(u,41,H,p):ee>32&&(z=H),A=_,_=m,m=-33&ee}return z}(u,m,p),cb(u,m,p))}function qk(u){Ia.key=0,Ia.keyEnd=0,Ia.value=0,Ia.valueEnd=0,Ia.textEnd=u.length}function df(u,c,p){for(;c<p&&u.charCodeAt(c)<=32;)c++;return c}function cb(u,c,p,m){return(c=df(u,c,p))<p&&c++,c}function Wk(u,c,p,m){for(var _=-1,A=p;A<m;){var H=u.charCodeAt(A++);if(H==c&&92!==_)return A;_=92==H&&92===_?0:H}throw new Error}function sg(u,c,p){return _l(u,c,p,!1),sg}function lg(u,c){return _l(u,c,null,!0),lg}function Wl(u){Ys(Qk,GO,u,!1)}function GO(u,c){for(var p=function(u){return qk(u),ub(u,df(u,0,Ia.textEnd))}(c);p>=0;p=ub(c,p))Qk(u,sb(c),VO(c))}function Gk(u){Ys(js,Tu,u,!0)}function Tu(u,c){for(var p=function(u){return qk(u),jk(u,df(u,0,Ia.textEnd))}(c);p>=0;p=jk(c,p))js(u,sb(c),!0)}function _l(u,c,p,m){var _=wn(),A=Oe(),H=pr(2);A.firstUpdatePass&&pb(A,u,H,m),c!==jr&&Qo(_,H,c)&&Kk(A,A.data[gn()],_,_[11],u,_[H+1]=function(u,c){return null==u||("string"==typeof c?u+=c:"object"==typeof u&&(u=X(pl(u)))),u}(c,p),m,H)}function Ys(u,c,p,m){var _=Oe(),A=pr(2);_.firstUpdatePass&&pb(_,null,A,m);var H=wn();if(p!==jr&&Qo(H,A,p)){var z=_.data[gn()];if(hb(z,m)&&!db(_,A)){var ve=m?z.classesWithoutHost:z.stylesWithoutHost;null!==ve&&(p=W(ve,p||"")),Q0(_,z,H,p,m)}else!function(u,c,p,m,_,A,H,z){_===jr&&(_=Re);for(var ee=0,ve=0,Pe=0<_.length?_[0]:null,Je=0<A.length?A[0]:null;null!==Pe||null!==Je;){var We=ee<_.length?_[ee+1]:void 0,ct=ve<A.length?A[ve+1]:void 0,Mt=null,zt=void 0;Pe===Je?(ee+=2,ve+=2,We!==ct&&(Mt=Je,zt=ct)):null===Je||null!==Pe&&Pe<Je?(ee+=2,Mt=Pe):(ve+=2,Mt=Je,zt=ct),null!==Mt&&Kk(u,c,p,m,Mt,zt,H,z),Pe=ee<_.length?_[ee]:null,Je=ve<A.length?A[ve]:null}}(_,z,H,H[11],H[A+1],H[A+1]=function(u,c,p){if(null==p||""===p)return Re;var m=[],_=pl(p);if(Array.isArray(_))for(var A=0;A<_.length;A++)u(m,_[A],!0);else if("object"==typeof _)for(var H in _)_.hasOwnProperty(H)&&u(m,H,_[H]);else"string"==typeof _&&c(m,_);return m}(u,c,p),m,A)}}function db(u,c){return c>=u.expandoStartIndex}function pb(u,c,p,m){var _=u.data;if(null===_[p+1]){var A=_[gn()],H=db(u,p);hb(A,m)&&null===c&&!H&&(c=!1),c=function(u,c,p,m){var _=bi(u),A=m?c.residualClasses:c.residualStyles;if(null===_)0===(m?c.classBindings:c.styleBindings)&&(p=Gh(p=fb(null,u,c,p,m),c.attrs,m),A=null);else{var z=c.directiveStylingLast;if(-1===z||u[z]!==_)if(p=fb(_,u,c,p,m),null===A){var ve=function(u,c,p){var m=p?c.classBindings:c.styleBindings;if(0!==_u(m))return u[jl(m)]}(u,c,m);void 0!==ve&&Array.isArray(ve)&&function(u,c,p,m){u[jl(p?c.classBindings:c.styleBindings)]=m}(u,c,m,ve=Gh(ve=fb(null,u,c,ve[1],m),c.attrs,m))}else A=function(u,c,p){for(var m=void 0,_=c.directiveEnd,A=1+c.directiveStylingLast;A<_;A++)m=Gh(m,u[A].hostAttrs,p);return Gh(m,c.attrs,p)}(u,c,m)}return void 0!==A&&(m?c.residualClasses=A:c.residualStyles=A),p}(_,A,c,m),function(u,c,p,m,_,A){var H=A?c.classBindings:c.styleBindings,z=jl(H),ee=_u(H);u[m]=p;var Pe,ve=!1;if(Array.isArray(p)?(null===(Pe=p[1])||Rp(p,Pe)>0)&&(ve=!0):Pe=p,_)if(0!==ee){var ct=jl(u[z+1]);u[m+1]=Bv(ct,z),0!==ct&&(u[ct+1]=m0(u[ct+1],m)),u[z+1]=function(u,c){return 131071&u|c<<17}(u[z+1],m)}else u[m+1]=Bv(z,0),0!==z&&(u[z+1]=m0(u[z+1],m)),z=m;else u[m+1]=Bv(ee,0),0===z?z=m:u[ee+1]=m0(u[ee+1],m),ee=m;ve&&(u[m+1]=h0(u[m+1])),Hk(u,Pe,m,!0),Hk(u,Pe,m,!1),function(u,c,p,m,_){var A=_?u.residualClasses:u.residualStyles;null!=A&&"string"==typeof c&&Rp(A,c)>=0&&(p[m+1]=AT(p[m+1]))}(c,Pe,u,m,A),H=Bv(z,ee),A?c.classBindings=H:c.styleBindings=H}(_,A,c,p,H,m)}}function fb(u,c,p,m,_){var A=null,H=p.directiveEnd,z=p.directiveStylingLast;for(-1===z?z=p.directiveStart:z++;z<H&&(m=Gh(m,(A=c[z]).hostAttrs,_),A!==u);)z++;return null!==u&&(p.directiveStylingLast=z),m}function Gh(u,c,p){var m=p?1:2,_=-1;if(null!==c)for(var A=0;A<c.length;A++){var H=c[A];"number"==typeof H?_=H:_===m&&(Array.isArray(u)||(u=void 0===u?[]:["",u]),js(u,H,!!p||c[++A]))}return void 0===u?null:u}function Qk(u,c,p){js(u,c,pl(p))}function Kk(u,c,p,m,_,A,H,z){if(3&c.type){var ee=u.data,ve=ee[z+1];ug(function(u){return 1==(1&u)}(ve)?Xk(ee,c,p,_,_u(ve),H):void 0)||(ug(A)||function(u){return 2==(2&u)}(ve)&&(A=Xk(ee,null,p,_,z,H)),function(u,c,p,m,_){var A=me(u);if(c)_?A?u.addClass(p,m):p.classList.add(m):A?u.removeClass(p,m):p.classList.remove(m);else{var H=-1===m.indexOf("-")?void 0:Ws.DashCase;if(null==_)A?u.removeStyle(p,m,H):p.style.removeProperty(m);else{var z="string"==typeof _&&_.endsWith("!important");z&&(_=_.slice(0,-10),H|=Ws.Important),A?u.setStyle(p,m,_,H):p.style.setProperty(m,_,z?"important":"")}}}(m,H,Rt(gn(),p),_,A))}}function Xk(u,c,p,m,_,A){for(var H=null===c,z=void 0;_>0;){var ee=u[_],ve=Array.isArray(ee),Pe=ve?ee[1]:ee,Je=null===Pe,We=p[_+1];We===jr&&(We=Je?Re:void 0);var ct=Je?Oy(We,m):Pe===m?We:void 0;if(ve&&!ug(ct)&&(ct=Oy(ee,m)),ug(ct)&&(z=ct,H))return z;var Mt=u[_+1];_=H?jl(Mt):_u(Mt)}if(null!==c){var zt=A?c.residualClasses:c.residualStyles;null!=zt&&(z=Oy(zt,m))}return z}function ug(u){return void 0!==u}function hb(u,c){return 0!=(u.flags&(c?16:32))}function mb(u){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",p=wn(),m=Oe(),_=u+20,A=m.firstCreatePass?Kp(m,_,1,c,null):m.data[_],H=p[_]=$y(p[11],c);Wp(m,p,H,A),Be(A,!1)}function cg(u){return Yh("",u,""),cg}function Yh(u,c,p){var m=wn(),_=qc(m,u,c,p);return _!==jr&&zl(m,gn(),_),Yh}function dg(u,c,p,m,_){var A=wn(),H=sf(A,u,c,p,m,_);return H!==jr&&zl(A,gn(),H),dg}function pg(u,c,p,m,_,A,H){var z=wn(),ee=Ko(z,u,c,p,m,_,A,H);return ee!==jr&&zl(z,gn(),ee),pg}function rw(u,c,p){Ys(js,Tu,qc(wn(),u,c,p),!0)}function _b(u,c,p){var m=wn();return Qo(m,Tr(),c)&&ps(Oe(),Ar(),m,u,c,m[11],p,!0),_b}function mw(u,c,p){var m=wn();if(Qo(m,Tr(),c)){var A=Oe(),H=Ar();ps(A,H,m,u,c,qD(bi(A.data),H,m),p,!0)}return mw}var ff=void 0,hP=["en",[["a","p"],["AM","PM"],ff],[["AM","PM"],ff,ff],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],ff,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],ff,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",ff,"{1} 'at' {0}",ff],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(u){var p=Math.floor(Math.abs(u)),m=u.toString().replace(/^[^.]*\.?/,"").length;return 1===p&&0===m?1:5}],Jh={};function vw(u){var c=function(u){return u.toLowerCase().replace(/_/g,"-")}(u),p=yb(c);if(p)return p;var m=c.split("-")[0];if(p=yb(m))return p;if("en"===m)return hP;throw new Error('Missing locale data for the locale "'.concat(u,'".'))}function mP(u){return vw(u)[Er.PluralCase]}function yb(u){return u in Jh||(Jh[u]=lt.ng&&lt.ng.common&&lt.ng.common.locales&&lt.ng.common.locales[u]),Jh[u]}var Er=function(){return(Er=Er||{})[Er.LocaleId=0]="LocaleId",Er[Er.DayPeriodsFormat=1]="DayPeriodsFormat",Er[Er.DayPeriodsStandalone=2]="DayPeriodsStandalone",Er[Er.DaysFormat=3]="DaysFormat",Er[Er.DaysStandalone=4]="DaysStandalone",Er[Er.MonthsFormat=5]="MonthsFormat",Er[Er.MonthsStandalone=6]="MonthsStandalone",Er[Er.Eras=7]="Eras",Er[Er.FirstDayOfWeek=8]="FirstDayOfWeek",Er[Er.WeekendRange=9]="WeekendRange",Er[Er.DateFormat=10]="DateFormat",Er[Er.TimeFormat=11]="TimeFormat",Er[Er.DateTimeFormat=12]="DateTimeFormat",Er[Er.NumberSymbols=13]="NumberSymbols",Er[Er.NumberFormats=14]="NumberFormats",Er[Er.CurrencyCode=15]="CurrencyCode",Er[Er.CurrencySymbol=16]="CurrencySymbol",Er[Er.CurrencyName=17]="CurrencyName",Er[Er.Currencies=18]="Currencies",Er[Er.Directionality=19]="Directionality",Er[Er.PluralCase=20]="PluralCase",Er[Er.ExtraData=21]="ExtraData",Er}(),fg="en-US";function ww(u,c,p){var m=Oe();if(m.firstCreatePass){var _=ra(u);Kh(p,m.data,m.blueprint,_,!0),Kh(c,m.data,m.blueprint,_,!1)}}function Kh(u,c,p,m,_){if(u=K(u),Array.isArray(u))for(var A=0;A<u.length;A++)Kh(u[A],c,p,m,_);else{var H=Oe(),z=wn(),ee=ef(u)?u:K(u.provide),ve=Xv(u),Pe=J(),Je=1048575&Pe.providerIndexes,We=Pe.directiveStart,ct=Pe.providerIndexes>>20;if(ef(u)||!u.multi){var Mt=new Ir(ve,_,qh),zt=Ew(ee,c,_?Je:Je+ct,We);-1===zt?(Ty(mv(Pe,z),H,ee),gg(H,u,c.length),c.push(ee),Pe.directiveStart++,Pe.directiveEnd++,_&&(Pe.providerIndexes+=1048576),p.push(Mt),z.push(Mt)):(p[zt]=Mt,z[zt]=Mt)}else{var dn=Ew(ee,c,Je+ct,We),Nn=Ew(ee,c,Je,Je+ct),qn=Nn>=0&&p[Nn];if(_&&!qn||!_&&!(dn>=0&&p[dn])){Ty(mv(Pe,z),H,ee);var wr=function(u,c,p,m,_){var A=new Ir(u,p,qh);return A.multi=[],A.index=c,A.componentProviders=0,xw(A,_,m&&!p),A}(_?O5:D5,p.length,_,m,ve);!_&&qn&&(p[Nn].providerFactory=wr),gg(H,u,c.length,0),c.push(ee),Pe.directiveStart++,Pe.directiveEnd++,_&&(Pe.providerIndexes+=1048576),p.push(wr),z.push(wr)}else gg(H,u,dn>-1?dn:Nn,xw(p[_?Nn:dn],ve,!_&&m));!_&&m&&qn&&p[Nn].componentProviders++}}}function gg(u,c,p,m){var _=ef(c);if(_||function(u){return!!u.useClass}(c)){var H=(c.useClass||c).prototype.ngOnDestroy;if(H){var z=u.destroyHooks||(u.destroyHooks=[]);if(!_&&c.multi){var ee=z.indexOf(p);-1===ee?z.push(p,[m,H]):z[ee+1].push(m,H)}else z.push(p,H)}}}function xw(u,c,p){return p&&u.componentProviders++,u.multi.push(c)-1}function Ew(u,c,p,m){for(var _=p;_<m;_++)if(c[_]===u)return _;return-1}function D5(u,c,p,m){return Eb(this.multi,[])}function O5(u,c,p,m){var A,_=this.multi;if(this.providerFactory){var H=this.providerFactory.componentProviders,z=Md(p,p[1],this.providerFactory.index,m);Eb(_,A=z.slice(0,H));for(var ee=H;ee<z.length;ee++)A.push(z[ee])}else Eb(_,A=[]);return A}function Eb(u,c){for(var p=0;p<u.length;p++)c.push((0,u[p])());return c}function JP(u){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(p){p.providersResolver=function(m,_){return ww(m,_?_(u):u,c)}}}var Mw=function u(){(0,y.Z)(this,u)},Aw=function u(){(0,y.Z)(this,u)},KP=function(){function u(){(0,y.Z)(this,u)}return(0,O.Z)(u,[{key:"resolveComponentFactory",value:function(p){throw function(u){var c=Error("No component factory found for ".concat(X(u),". Did you add it to @NgModule.entryComponents?"));return c.ngComponent=u,c}(p)}}]),u}(),_g=function(){var u=function c(){(0,y.Z)(this,c)};return u.NULL=new KP,u}();function yg(){}function Xh(u,c){return new Yc(Xr(u,c))}var Ow=function(){return Xh(J(),wn())},Yc=function(){var u=function c(p){(0,y.Z)(this,c),this.nativeElement=p};return u.__NG_ELEMENT_ID__=Ow,u}();function eI(u){return u instanceof Yc?u.nativeElement:u}var Mb=function u(){(0,y.Z)(this,u)},R5=function(){var u=function c(){(0,y.Z)(this,c)};return u.__NG_ELEMENT_ID__=function(){return N5()},u}(),N5=function(){var u=wn(),p=Fr(J().index,u);return function(u){return u[11]}(Li(p)?p:u)},Pw=function(){var u=function c(){(0,y.Z)(this,c)};return u.\u0275prov=Wn({token:u,providedIn:"root",factory:function(){return null}}),u}(),rI=function u(c){(0,y.Z)(this,u),this.full=c,this.major=c.split(".")[0],this.minor=c.split(".")[1],this.patch=c.split(".").slice(2).join(".")},L5=new rI("13.0.0"),$h={};function Ab(u,c,p,m){for(var _=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==p;){var A=c[p.index];if(null!==A&&m.push(gt(A)),pn(A))for(var H=10;H<A.length;H++){var z=A[H],ee=z[1].firstChild;null!==ee&&Ab(z[1],z,ee,m)}var ve=p.type;if(8&ve)Ab(u,c,p.child,m);else if(32&ve)for(var Pe=ko(p,c),Je=void 0;Je=Pe();)m.push(Je);else if(16&ve){var We=u0(c,p);if(Array.isArray(We))m.push.apply(m,(0,E.Z)(We));else{var ct=Vd(c[16]);Ab(ct[1],ct,We,m,!0)}}p=_?p.projectionNext:p.next}return m}var bg=function(){function u(c,p){(0,y.Z)(this,u),this._lView=c,this._cdRefInjectingView=p,this._appRef=null,this._attachedToViewContainer=!1}return(0,O.Z)(u,[{key:"rootNodes",get:function(){var p=this._lView,m=p[1];return Ab(m,p,m.firstChild,[])}},{key:"context",get:function(){return this._lView[8]},set:function(p){this._lView[8]=p}},{key:"destroyed",get:function(){return 256==(256&this._lView[2])}},{key:"destroy",value:function(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){var p=this._lView[3];if(pn(p)){var m=p[8],_=m?m.indexOf(this):-1;_>-1&&(zp(p,_),Pd(m,_))}this._attachedToViewContainer=!1}pT(this._lView[1],this._lView)}},{key:"onDestroy",value:function(p){NT(this._lView[1],this._lView,null,p)}},{key:"markForCheck",value:function(){QT(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){ml(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(u,c,p){kn(!0);try{ml(u,c,p)}finally{kn(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){this._appRef=null,function(u,c){gu(u,c,c[11],2,null,null)}(this._lView[1],this._lView)}},{key:"attachToAppRef",value:function(p){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=p}}]),u}(),F5=function(u){(0,T.Z)(p,u);var c=(0,D.Z)(p);function p(m){var _;return(0,y.Z)(this,p),(_=c.call(this,m))._view=m,_}return(0,O.Z)(p,[{key:"detectChanges",value:function(){KT(this._view)}},{key:"checkNoChanges",value:function(){!function(u){kn(!0);try{KT(u)}finally{kn(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),p}(bg),iI=function(u){(0,T.Z)(p,u);var c=(0,D.Z)(p);function p(m){var _;return(0,y.Z)(this,p),(_=c.call(this)).ngModule=m,_}return(0,O.Z)(p,[{key:"resolveComponentFactory",value:function(_){var A=Kr(_);return new Cg(A,this.ngModule)}}]),p}(_g);function aI(u){var c=[];for(var p in u)u.hasOwnProperty(p)&&c.push({propName:u[p],templateName:p});return c}var oI=new Oa("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Rv}}),Cg=function(u){(0,T.Z)(p,u);var c=(0,D.Z)(p);function p(m,_){var A;return(0,y.Z)(this,p),(A=c.call(this)).componentDef=m,A.ngModule=_,A.componentType=m.type,A.selector=function(u){return u.map(wD).join(",")}(m.selectors),A.ngContentSelectors=m.ngContentSelectors?m.ngContentSelectors:[],A.isBoundToModule=!!_,A}return(0,O.Z)(p,[{key:"inputs",get:function(){return aI(this.componentDef.inputs)}},{key:"outputs",get:function(){return aI(this.componentDef.outputs)}},{key:"create",value:function(_,A,H,z){var vn,qn,ee=(z=z||this.ngModule)?function(u,c){return{get:function(m,_,A){var H=u.get(m,$h,A);return H!==$h||_===$h?H:c.get(m,_,A)}}}(_,z.injector):_,ve=ee.get(Mb,Ae),Pe=ee.get(Pw,null),Je=ve.createRenderer(null,this.componentDef),We=this.componentDef.selectors[0][0]||"div",ct=H?function(u,c,p){if(me(u))return u.selectRootElement(c,p===Nt.ShadowDom);var _="string"==typeof c?u.querySelector(c):c;return _.textContent="",_}(Je,H,this.componentDef.encapsulation):Yo(ve.createRenderer(null,this.componentDef),We,function(u){var c=u.toLowerCase();return"svg"===c?Ee:"math"===c?"http://www.w3.org/1998/MathML/":null}(We)),Mt=this.componentDef.onPush?576:528,zt=function(u,c){return{components:[],scheduler:u||Rv,clean:kF,playerHandler:c||null,flags:0}}(),dn=Wv(0,null,null,1,0,null,null,null,null,null),Nn=Nh(null,dn,zt,Mt,null,null,ve,Je,Pe,ee);Le(Nn);try{var wr=function(u,c,p,m,_,A){var H=p[1];p[20]=u;var ee=Kp(H,20,2,"#host",null),ve=ee.mergedAttrs=c.hostAttrs;null!==ve&&(Jv(ee,ve,!0),null!==u&&(Hu(_,u,ve),null!==ee.classes&&Gp(_,u,ee.classes),null!==ee.styles&&p0(_,u,ee.styles)));var Pe=m.createRenderer(u,c),Je=Nh(p,IT(c),null,c.onPush?64:16,p[20],ee,m,Pe,A||null,null);return H.firstCreatePass&&(Ty(mv(ee,p),H,c.type),FD(H,ee),x0(ee,p.length,1)),Gv(p,Je),p[20]=Je}(ct,this.componentDef,Nn,ve,Je);if(ct)if(H)Hu(Je,ct,["ng-version",L5.full]);else{var ei=function(u){for(var c=[],p=[],m=1,_=2;m<u.length;){var A=u[m];if("string"==typeof A)2===_?""!==A&&c.push(A,u[++m]):8===_&&p.push(A);else{if(!Vl(_))break;_=A}m++}return{attrs:c,classes:p}}(this.componentDef.selectors[0]),Di=ei.attrs,sa=ei.classes;Di&&Hu(Je,ct,Di),sa&&sa.length>0&&Gp(Je,ct,sa.join(" "))}if(qn=Bi(dn,20),void 0!==A)for(var Na=qn.projection=[],Za=0;Za<this.ngContentSelectors.length;Za++){var Ql=A[Za];Na.push(null!=Ql?Array.from(Ql):null)}vn=function(u,c,p,m,_){var A=p[1],H=function(u,c,p){var m=J();u.firstCreatePass&&(p.providersResolver&&p.providersResolver(p),zT(u,m,c,yu(u,c,1,null),p));var A=Md(c,u,m.directiveStart,m);No(A,c);var H=Xr(m,c);return H&&No(H,c),A}(A,p,c);if(m.components.push(H),u[8]=H,_&&_.forEach(function(Pe){return Pe(H,c)}),c.contentQueries){var z=J();c.contentQueries(1,H,z.directiveStart)}var ee=J();return!A.firstCreatePass||null===c.hostBindings&&null===c.hostAttrs||(ur(ee.index),BT(p[1],ee,0,ee.directiveStart,ee.directiveEnd,c),VT(c,H)),H}(wr,this.componentDef,Nn,zt,[mO]),Xp(dn,Nn,null)}finally{nt()}return new V5(this.componentType,vn,Xh(qn,Nn),Nn,qn)}}]),p}(Aw),V5=function(u){(0,T.Z)(p,u);var c=(0,D.Z)(p);function p(m,_,A,H,z){var ee;return(0,y.Z)(this,p),(ee=c.call(this)).location=A,ee._rootLView=H,ee._tNode=z,ee.instance=_,ee.hostView=ee.changeDetectorRef=new F5(H),ee.componentType=m,ee}return(0,O.Z)(p,[{key:"injector",get:function(){return new Ad(this._tNode,this._rootLView)}},{key:"destroy",value:function(){this.hostView.destroy()}},{key:"onDestroy",value:function(_){this.hostView.onDestroy(_)}}]),p}(Mw),mf=function u(){(0,y.Z)(this,u)},Iw=function u(){(0,y.Z)(this,u)},vf=new Map;var cI=function(u){(0,T.Z)(p,u);var c=(0,D.Z)(p);function p(m,_){var A;(0,y.Z)(this,p),(A=c.call(this))._parent=_,A._bootstrapComponents=[],A.injector=(0,V.Z)(A),A.destroyCbs=[],A.componentFactoryResolver=new iI((0,V.Z)(A));var H=Ht(m);return A._bootstrapComponents=zs(H.bootstrap),A._r3Injector=tk(m,_,[{provide:mf,useValue:(0,V.Z)(A)},{provide:_g,useValue:A.componentFactoryResolver}],X(m)),A._r3Injector._resolveInjectorDefTypes(),A.instance=A.get(m),A}return(0,O.Z)(p,[{key:"get",value:function(_){var A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Hr.THROW_IF_NOT_FOUND,H=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Fe.Default;return _===Hr||_===mf||_===Qv?this:this._r3Injector.get(_,A,H)}},{key:"destroy",value:function(){var _=this._r3Injector;!_.destroyed&&_.destroy(),this.destroyCbs.forEach(function(A){return A()}),this.destroyCbs=null}},{key:"onDestroy",value:function(_){this.destroyCbs.push(_)}}]),p}(mf),Sg=function(u){(0,T.Z)(p,u);var c=(0,D.Z)(p);function p(m){var _;return(0,y.Z)(this,p),(_=c.call(this)).moduleType=m,null!==Ht(m)&&function(u){var c=new Set;!function p(m){var _=Ht(m,!0),A=_.id;null!==A&&(function(u,c,p){if(c&&c!==p)throw new Error("Duplicate module registered for ".concat(u," - ").concat(X(c)," vs ").concat(X(c.name)))}(A,vf.get(A),m),vf.set(A,m));var ve,z=zs(_.imports),ee=(0,b.Z)(z);try{for(ee.s();!(ve=ee.n()).done;){var Pe=ve.value;c.has(Pe)||(c.add(Pe),p(Pe))}}catch(Je){ee.e(Je)}finally{ee.f()}}(u)}(m),_}return(0,O.Z)(p,[{key:"create",value:function(_){return new cI(this.moduleType,_)}}]),p}(Iw);function Nw(u,c,p){var m=An()+u,_=wn();return _[m]===jr?Cu(_,m,p?c.call(p):c()):function(u,c){return u[c]}(_,m)}function Zw(u,c,p,m){return hI(wn(),An(),u,c,p,m)}function dI(u,c,p,m,_){return mI(wn(),An(),u,c,p,m,_)}function Tg(u,c){var p=u[c];return p===jr?void 0:p}function hI(u,c,p,m,_,A){var H=c+p;return Qo(u,H,_)?Cu(u,H+1,A?m.call(A,_):m(_)):Tg(u,H+1)}function mI(u,c,p,m,_,A,H){var z=c+p;return Qd(u,z,_,A)?Cu(u,z+2,H?m.call(H,_,A):m(_,A)):Tg(u,z+2)}function gI(u,c){var m,p=Oe(),_=u+20;p.firstCreatePass?(m=function(u,c){if(c)for(var p=c.length-1;p>=0;p--){var m=c[p];if(u===m.name)return m}throw new he("302","The pipe '".concat(u,"' could not be found!"))}(c,p.pipeRegistry),p.data[_]=m,m.onDestroy&&(p.destroyHooks||(p.destroyHooks=[])).push(_,m.onDestroy)):m=p.data[_];var A=m.factory||(m.factory=mi(m.type)),H=At(qh);try{var z=Cy(!1),ee=A();return Cy(z),function(u,c,p,m){p>=u.data.length&&(u.data[p]=null,u.blueprint[p]=null),c[p]=m}(p,wn(),_,ee),ee}finally{At(H)}}function _I(u,c,p){var m=u+20,_=wn(),A=Ki(_,m);return kg(_,m)?hI(_,An(),c,A.transform,p,A):A.transform(p)}function yI(u,c,p,m){var _=u+20,A=wn(),H=Ki(A,_);return kg(A,_)?mI(A,An(),c,H.transform,p,m,H):H.transform(p,m)}function kg(u,c){return u[1].data[c].pure}var SI=function(u){(0,T.Z)(p,u);var c=(0,D.Z)(p);function p(){var m,_=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(0,y.Z)(this,p),(m=c.call(this)).__isAsync=_,m}return(0,O.Z)(p,[{key:"emit",value:function(_){(0,B.Z)((0,U.Z)(p.prototype),"next",this).call(this,_)}},{key:"subscribe",value:function(_,A,H){var z=_,ee=A||function(){return null},ve=H;if(_&&"object"==typeof _){var Pe,Je,We,ct=_;z=null===(Pe=ct.next)||void 0===Pe?void 0:Pe.bind(ct),ee=null===(Je=ct.error)||void 0===Je?void 0:Je.bind(ct),ve=null===(We=ct.complete)||void 0===We?void 0:We.bind(ct)}this.__isAsync&&(ee=em(ee),z&&(z=em(z)),ve&&(ve=em(ve)));var Mt=(0,B.Z)((0,U.Z)(p.prototype),"subscribe",this).call(this,{next:z,error:ee,complete:ve});return _ instanceof g.w&&_.add(Mt),Mt}}]),p}(M.xQ);function em(u){return function(c){setTimeout(u,void 0,c)}}var Gl=SI;function Db(){return this._results[rf()]()}var wg=function(){function u(){var c=arguments.length>0&&void 0!==arguments[0]&&arguments[0];(0,y.Z)(this,u),this._emitDistinctChangesOnly=c,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;var p=rf(),m=u.prototype;m[p]||(m[p]=Db)}return(0,O.Z)(u,[{key:"changes",get:function(){return this._changes||(this._changes=new Gl)}},{key:"get",value:function(p){return this._results[p]}},{key:"map",value:function(p){return this._results.map(p)}},{key:"filter",value:function(p){return this._results.filter(p)}},{key:"find",value:function(p){return this._results.find(p)}},{key:"reduce",value:function(p,m){return this._results.reduce(p,m)}},{key:"forEach",value:function(p){this._results.forEach(p)}},{key:"some",value:function(p){return this._results.some(p)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(p,m){var _=this;_.dirty=!1;var A=Ts(p);(this._changesDetected=!function(u,c,p){if(u.length!==c.length)return!1;for(var m=0;m<u.length;m++){var _=u[m],A=c[m];if(p&&(_=p(_),A=p(A)),A!==_)return!1}return!0}(_._results,A,m))&&(_._results=A,_.length=A.length,_.last=A[this.length-1],_.first=A[0])}},{key:"notifyOnChanges",value:function(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}},{key:"setDirty",value:function(){this.dirty=!0}},{key:"destroy",value:function(){this.changes.complete(),this.changes.unsubscribe()}}]),u}();Symbol;var Ww=function(){return Ob(J(),wn())},tm=function(){var u=function c(){(0,y.Z)(this,c)};return u.__NG_ELEMENT_ID__=Ww,u}(),J5=function(u){(0,T.Z)(p,u);var c=(0,D.Z)(p);function p(m,_,A){var H;return(0,y.Z)(this,p),(H=c.call(this))._declarationLView=m,H._declarationTContainer=_,H.elementRef=A,H}return(0,O.Z)(p,[{key:"createEmbeddedView",value:function(_){var A=this._declarationTContainer.tViews,H=Nh(this._declarationLView,A,_,16,null,A.declTNode,null,null,null,null);H[17]=this._declarationLView[this._declarationTContainer.index];var ee=this._declarationLView[19];return null!==ee&&(H[19]=ee.createEmbeddedView(A)),Xp(A,H,_),new bg(H)}}]),p}(tm);function Ob(u,c){return 4&u.type?new J5(c,u,Xh(u,c)):null}var Gw=function(){return MI(J(),wn())},Pb=function(){var u=function c(){(0,y.Z)(this,c)};return u.__NG_ELEMENT_ID__=Gw,u}(),xI=function(u){(0,T.Z)(p,u);var c=(0,D.Z)(p);function p(m,_,A){var H;return(0,y.Z)(this,p),(H=c.call(this))._lContainer=m,H._hostTNode=_,H._hostLView=A,H}return(0,O.Z)(p,[{key:"element",get:function(){return Xh(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new Ad(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var _=Sy(this._hostTNode,this._hostLView);if(SS(_)){var A=sh(_,this._hostLView),H=Ap(_);return new Ad(A[1].data[H+8],A)}return new Ad(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(_){var A=EI(this._lContainer);return null!==A&&A[_]||null}},{key:"length",get:function(){return this._lContainer.length-10}},{key:"createEmbeddedView",value:function(_,A,H){var z=_.createEmbeddedView(A||{});return this.insert(z,H),z}},{key:"createComponent",value:function(_,A,H,z,ee){var Pe,ve=_&&!qo(_);if(ve)Pe=A;else{var Je=A||{};Pe=Je.index,H=Je.injector,z=Je.projectableNodes,ee=Je.ngModuleRef}var We=ve?_:new Cg(Kr(_)),ct=H||this.parentInjector;if(!ee&&null==We.ngModule&&ct){var Mt=ct.get(mf,null);Mt&&(ee=Mt)}var zt=We.create(ct,z,void 0,ee);return this.insert(zt.hostView,Pe),zt}},{key:"insert",value:function(_,A){var H=_._lView,z=H[1];if(function(u){return pn(u[3])}(H)){var ee=this.indexOf(_);if(-1!==ee)this.detach(ee);else{var ve=H[3],Pe=new xI(ve,ve[6],ve[3]);Pe.detach(Pe.indexOf(_))}}var Je=this._adjustIndex(A),We=this._lContainer;!function(u,c,p,m){var _=10+m,A=p.length;m>0&&(p[_-1][4]=c),m<A-10?(c[4]=p[_],no(p,10+m,c)):(p.push(c),c[4]=null),c[3]=p;var H=c[17];null!==H&&p!==H&&function(u,c){var p=u[9];c[16]!==c[3][3][16]&&(u[2]=!0),null===p?u[9]=[c]:p.push(c)}(H,c);var z=c[19];null!==z&&z.insertView(u),c[2]|=128}(z,H,We,Je);var ct=c0(Je,We),Mt=H[11],zt=Oh(Mt,We[7]);return null!==zt&&function(u,c,p,m,_,A){m[0]=_,m[6]=c,gu(u,m,p,1,_,A)}(z,We[6],Mt,H,zt,ct),_.attachToViewContainerRef(),no(Yw(We),Je,_),_}},{key:"move",value:function(_,A){return this.insert(_,A)}},{key:"indexOf",value:function(_){var A=EI(this._lContainer);return null!==A?A.indexOf(_):-1}},{key:"remove",value:function(_){var A=this._adjustIndex(_,-1),H=zp(this._lContainer,A);H&&(Pd(Yw(this._lContainer),A),pT(H[1],H))}},{key:"detach",value:function(_){var A=this._adjustIndex(_,-1),H=zp(this._lContainer,A);return H&&null!=Pd(Yw(this._lContainer),A)?new bg(H):null}},{key:"_adjustIndex",value:function(_){var A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null==_?this.length+A:_}}]),p}(Pb);function EI(u){return u[8]}function Yw(u){return u[8]||(u[8]=[])}function MI(u,c){var p,m=c[u.index];if(pn(m))p=m;else{var _;if(8&u.type)_=gt(m);else{var A=c[11];_=A.createComment("");var H=Xr(u,c);zd(A,Oh(A,H),_,function(u,c){return me(u)?u.nextSibling(c):c.nextSibling}(A,H),!1)}c[u.index]=p=GT(m,c,_,u),Gv(c,p)}return new xI(p,u,c)}var X5=function(){function u(c){(0,y.Z)(this,u),this.queryList=c,this.matches=null}return(0,O.Z)(u,[{key:"clone",value:function(){return new u(this.queryList)}},{key:"setDirty",value:function(){this.queryList.setDirty()}}]),u}(),AI=function(){function u(){var c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];(0,y.Z)(this,u),this.queries=c}return(0,O.Z)(u,[{key:"createEmbeddedView",value:function(p){var m=p.queries;if(null!==m){for(var _=null!==p.contentQueries?p.contentQueries[0]:m.length,A=[],H=0;H<_;H++){var z=m.getByIndex(H);A.push(this.queries[z.indexInDeclarationView].clone())}return new u(A)}return null}},{key:"insertView",value:function(p){this.dirtyQueriesWithMatches(p)}},{key:"detachView",value:function(p){this.dirtyQueriesWithMatches(p)}},{key:"dirtyQueriesWithMatches",value:function(p){for(var m=0;m<this.queries.length;m++)null!==Ag(p,m).matches&&this.queries[m].setDirty()}}]),u}(),DI=function u(c,p){var m=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;(0,y.Z)(this,u),this.predicate=c,this.flags=p,this.read=m},$5=function(){function u(){var c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];(0,y.Z)(this,u),this.queries=c}return(0,O.Z)(u,[{key:"elementStart",value:function(p,m){for(var _=0;_<this.queries.length;_++)this.queries[_].elementStart(p,m)}},{key:"elementEnd",value:function(p){for(var m=0;m<this.queries.length;m++)this.queries[m].elementEnd(p)}},{key:"embeddedTView",value:function(p){for(var m=null,_=0;_<this.length;_++){var A=null!==m?m.length:0,H=this.getByIndex(_).embeddedTView(p,A);H&&(H.indexInDeclarationView=_,null!==m?m.push(H):m=[H])}return null!==m?new u(m):null}},{key:"template",value:function(p,m){for(var _=0;_<this.queries.length;_++)this.queries[_].template(p,m)}},{key:"getByIndex",value:function(p){return this.queries[p]}},{key:"length",get:function(){return this.queries.length}},{key:"track",value:function(p){this.queries.push(p)}}]),u}(),eB=function(){function u(c){var p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;(0,y.Z)(this,u),this.metadata=c,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=p}return(0,O.Z)(u,[{key:"elementStart",value:function(p,m){this.isApplyingToNode(m)&&this.matchTNode(p,m)}},{key:"elementEnd",value:function(p){this._declarationNodeIndex===p.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(p,m){this.elementStart(p,m)}},{key:"embeddedTView",value:function(p,m){return this.isApplyingToNode(p)?(this.crossesNgTemplate=!0,this.addMatch(-p.index,m),new u(this.metadata)):null}},{key:"isApplyingToNode",value:function(p){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){for(var m=this._declarationNodeIndex,_=p.parent;null!==_&&8&_.type&&_.index!==m;)_=_.parent;return m===(null!==_?_.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(p,m){var _=this.metadata.predicate;if(Array.isArray(_))for(var A=0;A<_.length;A++){var H=_[A];this.matchTNodeWithReadOption(p,m,tB(m,H)),this.matchTNodeWithReadOption(p,m,lh(m,p,H,!1,!1))}else _===tm?4&m.type&&this.matchTNodeWithReadOption(p,m,-1):this.matchTNodeWithReadOption(p,m,lh(m,p,_,!1,!1))}},{key:"matchTNodeWithReadOption",value:function(p,m,_){if(null!==_){var A=this.metadata.read;if(null!==A)if(A===Yc||A===Pb||A===tm&&4&m.type)this.addMatch(m.index,-2);else{var H=lh(m,p,A,!1,!1);null!==H&&this.addMatch(m.index,H)}else this.addMatch(m.index,_)}}},{key:"addMatch",value:function(p,m){null===this.matches?this.matches=[p,m]:this.matches.push(p,m)}}]),u}();function tB(u,c){var p=u.localNames;if(null!==p)for(var m=0;m<p.length;m+=2)if(p[m]===c)return p[m+1];return null}function rB(u,c,p,m){return-1===p?function(u,c){return 11&u.type?Xh(u,c):4&u.type?Ob(u,c):null}(c,u):-2===p?function(u,c,p){return p===Yc?Xh(c,u):p===tm?Ob(c,u):p===Pb?MI(c,u):void 0}(u,c,m):Md(u,u[1],p,c)}function OI(u,c,p,m){var _=c[19].queries[m];if(null===_.matches){for(var A=u.data,H=p.matches,z=[],ee=0;ee<H.length;ee+=2){var ve=H[ee];z.push(ve<0?null:rB(c,A[ve],H[ee+1],p.metadata.read))}_.matches=z}return _.matches}function Jw(u,c,p,m){var _=u.queries.getByIndex(p),A=_.matches;if(null!==A)for(var H=OI(u,c,_,p),z=0;z<A.length;z+=2){var ee=A[z];if(ee>0)m.push(H[z/2]);else{for(var ve=A[z+1],Pe=c[-ee],Je=10;Je<Pe.length;Je++){var We=Pe[Je];We[17]===We[3]&&Jw(We[1],We,ve,m)}if(null!==Pe[9])for(var ct=Pe[9],Mt=0;Mt<ct.length;Mt++){var zt=ct[Mt];Jw(zt[1],zt,ve,m)}}}return m}function PI(u){var c=wn(),p=Oe(),m=Io();Da(m+1);var _=Ag(p,m);if(u.dirty&&za(c)===(2==(2&_.metadata.flags))){if(null===_.matches)u.reset([]);else{var A=_.crossesNgTemplate?Jw(p,c,m,[]):OI(p,c,_,m);u.reset(A,eI),u.notifyOnChanges()}return!0}return!1}function Ib(u,c,p){var m=Oe();m.firstCreatePass&&(Mg(m,new DI(u,c,p),-1),2==(2&c)&&(m.staticViewQueries=!0)),fo(m,wn(),c)}function II(u,c,p,m){var _=Oe();if(_.firstCreatePass){var A=J();Mg(_,new DI(c,p,m),A.index),function(u,c){var p=u.contentQueries||(u.contentQueries=[]);c!==(p.length?p[p.length-1]:-1)&&p.push(u.queries.length-1,c)}(_,u),2==(2&p)&&(_.staticContentQueries=!0)}fo(_,wn(),p)}function Qw(){return u=wn(),c=Io(),u[19].queries[c].queryList;var u,c}function fo(u,c,p){var m=new wg(4==(4&p));NT(u,c,m,m.destroy),null===c[19]&&(c[19]=new AI),c[19].queries.push(new X5(m))}function Mg(u,c,p){null===u.queries&&(u.queries=new $5),u.queries.track(new eB(c,p))}function Ag(u,c){return u.queries.getByIndex(c)}function ZI(u,c){return Ob(u,c)}var Ng=new Oa("Application Initializer"),gf=function(){var u=function(){function c(p){var m=this;(0,y.Z)(this,c),this.appInits=p,this.resolve=yg,this.reject=yg,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(_,A){m.resolve=_,m.reject=A})}return(0,O.Z)(c,[{key:"runInitializers",value:function(){var m=this;if(!this.initialized){var _=[],A=function(){m.done=!0,m.resolve()};if(this.appInits)for(var H=function(ve){var Pe=m.appInits[ve]();if(zh(Pe))_.push(Pe);else if(tb(Pe)){var Je=new Promise(function(We,ct){Pe.subscribe({complete:We,error:ct})});_.push(Je)}},z=0;z<this.appInits.length;z++)H(z);Promise.all(_).then(function(){A()}).catch(function(ee){m.reject(ee)}),0===_.length&&A(),this.initialized=!0}}}]),c}();return u.\u0275fac=function(p){return new(p||u)(ro(Ng,8))},u.\u0275prov=Wn({token:u,factory:u.\u0275fac}),u}(),Zg=new Oa("AppId"),Lg={provide:Zg,useFactory:function(){return"".concat(Fg()).concat(Fg()).concat(Fg())},deps:[]};function Fg(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var _f=new Oa("Platform Initializer"),Fb=new Oa("Platform ID"),Bb=new Oa("appBootstrapListener"),$I=function(){var u=function(){function c(){(0,y.Z)(this,c)}return(0,O.Z)(c,[{key:"log",value:function(m){console.log(m)}},{key:"warn",value:function(m){console.warn(m)}}]),c}();return u.\u0275fac=function(p){return new(p||u)},u.\u0275prov=Wn({token:u,factory:u.\u0275fac}),u}(),Ub=new Oa("LocaleId"),yf=new Oa("DefaultCurrencyCode"),Bg=function u(c,p){(0,y.Z)(this,u),this.ngModuleFactory=c,this.componentFactories=p},Hb=function(c){return new Sg(c)},gB=Hb,yB=function(c){return Promise.resolve(Hb(c))},r3=function(c){var p=Hb(c),_=zs(Ht(c).declarations).reduce(function(A,H){var z=Kr(H);return z&&A.push(new Cg(z)),A},[]);return new Bg(p,_)},bB=r3,SB=function(c){return Promise.resolve(r3(c))},yx=function(){var u=function(){function c(){(0,y.Z)(this,c),this.compileModuleSync=gB,this.compileModuleAsync=yB,this.compileModuleAndAllComponentsSync=bB,this.compileModuleAndAllComponentsAsync=SB}return(0,O.Z)(c,[{key:"clearCache",value:function(){}},{key:"clearCacheFor",value:function(m){}},{key:"getModuleId",value:function(m){}}]),c}();return u.\u0275fac=function(p){return new(p||u)},u.\u0275prov=Wn({token:u,factory:u.\u0275fac}),u}(),wB=function(){return Promise.resolve(0)}();function bx(u){"undefined"==typeof Zone?wB.then(function(){u&&u.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",u)}var wu=function(){function u(c){var p=c.enableLongStackTrace,m=void 0!==p&&p,_=c.shouldCoalesceEventChangeDetection,A=void 0!==_&&_,H=c.shouldCoalesceRunChangeDetection,z=void 0!==H&&H;if((0,y.Z)(this,u),this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Gl(!1),this.onMicrotaskEmpty=new Gl(!1),this.onStable=new Gl(!1),this.onError=new Gl(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();var ee=this;ee._nesting=0,ee._outer=ee._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(ee._inner=ee._inner.fork(new Zone.TaskTrackingZoneSpec)),m&&Zone.longStackTraceZoneSpec&&(ee._inner=ee._inner.fork(Zone.longStackTraceZoneSpec)),ee.shouldCoalesceEventChangeDetection=!z&&A,ee.shouldCoalesceRunChangeDetection=z,ee.lastRequestAnimationFrameId=-1,ee.nativeRequestAnimationFrame=function(){var u=lt.requestAnimationFrame,c=lt.cancelAnimationFrame;if("undefined"!=typeof Zone&&u&&c){var p=u[Zone.__symbol__("OriginalDelegate")];p&&(u=p);var m=c[Zone.__symbol__("OriginalDelegate")];m&&(c=m)}return{nativeRequestAnimationFrame:u,nativeCancelAnimationFrame:c}}().nativeRequestAnimationFrame,function(u){var c=function(){!function(u){u.isCheckStableRunning||-1!==u.lastRequestAnimationFrameId||(u.lastRequestAnimationFrameId=u.nativeRequestAnimationFrame.call(lt,function(){u.fakeTopEventTask||(u.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",function(){u.lastRequestAnimationFrameId=-1,$i(u),u.isCheckStableRunning=!0,Ms(u),u.isCheckStableRunning=!1},void 0,function(){},function(){})),u.fakeTopEventTask.invoke()}),$i(u))}(u)};u._inner=u._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(m,_,A,H,z,ee){try{return Ug(u),m.invokeTask(A,H,z,ee)}finally{(u.shouldCoalesceEventChangeDetection&&"eventTask"===H.type||u.shouldCoalesceRunChangeDetection)&&c(),Kn(u)}},onInvoke:function(m,_,A,H,z,ee,ve){try{return Ug(u),m.invoke(A,H,z,ee,ve)}finally{u.shouldCoalesceRunChangeDetection&&c(),Kn(u)}},onHasTask:function(m,_,A,H){m.hasTask(A,H),_===A&&("microTask"==H.change?(u._hasPendingMicrotasks=H.microTask,$i(u),Ms(u)):"macroTask"==H.change&&(u.hasPendingMacrotasks=H.macroTask))},onHandleError:function(m,_,A,H){return m.handleError(A,H),u.runOutsideAngular(function(){return u.onError.emit(H)}),!1}})}(ee)}return(0,O.Z)(u,[{key:"run",value:function(p,m,_){return this._inner.run(p,m,_)}},{key:"runTask",value:function(p,m,_,A){var H=this._inner,z=H.scheduleEventTask("NgZoneEvent: "+A,p,Ga,yg,yg);try{return H.runTask(z,m,_)}finally{H.cancelTask(z)}}},{key:"runGuarded",value:function(p,m,_){return this._inner.runGuarded(p,m,_)}},{key:"runOutsideAngular",value:function(p){return this._outer.run(p)}}],[{key:"isInAngularZone",value:function(){return!0===Zone.current.get("isAngularZone")}},{key:"assertInAngularZone",value:function(){if(!u.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}},{key:"assertNotInAngularZone",value:function(){if(u.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}}]),u}(),Ga={};function Ms(u){if(0==u._nesting&&!u.hasPendingMicrotasks&&!u.isStable)try{u._nesting++,u.onMicrotaskEmpty.emit(null)}finally{if(u._nesting--,!u.hasPendingMicrotasks)try{u.runOutsideAngular(function(){return u.onStable.emit(null)})}finally{u.isStable=!0}}}function $i(u){u.hasPendingMicrotasks=!!(u._hasPendingMicrotasks||(u.shouldCoalesceEventChangeDetection||u.shouldCoalesceRunChangeDetection)&&-1!==u.lastRequestAnimationFrameId)}function Ug(u){u._nesting++,u.isStable&&(u.isStable=!1,u.onUnstable.emit(null))}function Kn(u){u._nesting--,Ms(u)}var Ea=function(){function u(){(0,y.Z)(this,u),this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Gl,this.onMicrotaskEmpty=new Gl,this.onStable=new Gl,this.onError=new Gl}return(0,O.Z)(u,[{key:"run",value:function(p,m,_){return p.apply(m,_)}},{key:"runGuarded",value:function(p,m,_){return p.apply(m,_)}},{key:"runOutsideAngular",value:function(p){return p()}},{key:"runTask",value:function(p,m,_,A){return p.apply(m,_)}}]),u}(),Cx=function(){var u=function(){function c(p){var m=this;(0,y.Z)(this,c),this._ngZone=p,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),p.run(function(){m.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}return(0,O.Z)(c,[{key:"_watchAngularEvents",value:function(){var m=this;this._ngZone.onUnstable.subscribe({next:function(){m._didWork=!0,m._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){m._ngZone.onStable.subscribe({next:function(){wu.assertNotInAngularZone(),bx(function(){m._isZoneStable=!0,m._runCallbacksIfReady()})}})})}},{key:"increasePendingRequestCount",value:function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}},{key:"decreasePendingRequestCount",value:function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}},{key:"isStable",value:function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}},{key:"_runCallbacksIfReady",value:function(){var m=this;if(this.isStable())bx(function(){for(;0!==m._callbacks.length;){var A=m._callbacks.pop();clearTimeout(A.timeoutId),A.doneCb(m._didWork)}m._didWork=!1});else{var _=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(A){return!A.updateCb||!A.updateCb(_)||(clearTimeout(A.timeoutId),!1)}),this._didWork=!0}}},{key:"getPendingTasks",value:function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(m){return{source:m.source,creationLocation:m.creationLocation,data:m.data}}):[]}},{key:"addCallback",value:function(m,_,A){var H=this,z=-1;_&&_>0&&(z=setTimeout(function(){H._callbacks=H._callbacks.filter(function(ee){return ee.timeoutId!==z}),m(H._didWork,H.getPendingTasks())},_)),this._callbacks.push({doneCb:m,timeoutId:z,updateCb:A})}},{key:"whenStable",value:function(m,_,A){if(A&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(m,_,A),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(m,_,A){return[]}}]),c}();return u.\u0275fac=function(p){return new(p||u)(ro(wu))},u.\u0275prov=Wn({token:u,factory:u.\u0275fac}),u}(),Sx=function(){var u=function(){function c(){(0,y.Z)(this,c),this._applications=new Map,am.addToWindow(this)}return(0,O.Z)(c,[{key:"registerApplication",value:function(m,_){this._applications.set(m,_)}},{key:"unregisterApplication",value:function(m){this._applications.delete(m)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(m){return this._applications.get(m)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(m){var _=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return am.findTestabilityInTree(this,m,_)}}]),c}();return u.\u0275fac=function(p){return new(p||u)},u.\u0275prov=Wn({token:u,factory:u.\u0275fac}),u}();function o3(u){am=u}var am=new(function(){function u(){(0,y.Z)(this,u)}return(0,O.Z)(u,[{key:"addToWindow",value:function(p){}},{key:"findTestabilityInTree",value:function(p,m,_){return null}}]),u}()),$d=!0,Tx=!1;function Jc(){return Tx=!0,$d}function bf(){if(Tx)throw new Error("Cannot enable prod mode after platform setup.");$d=!1}var Ds,s3=function(u,c,p){var m=new Sg(p);return Promise.resolve(m)},zb=new Oa("AllowMultipleToken"),MB=function u(c,p){(0,y.Z)(this,u),this.name=c,this.token=p};function Wb(u){if(Ds&&!Ds.destroyed&&!Ds.injector.get(zb,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Ds=u.get(Mx);var c=u.get(_f,null);return c&&c.forEach(function(p){return p()}),Ds}function xx(u,c){var p=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],m="Platform: ".concat(c),_=new Oa(m);return function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],H=Ex();if(!H||H.injector.get(zb,!1))if(u)u(p.concat(A).concat({provide:_,useValue:!0}));else{var z=p.concat(A).concat({provide:_,useValue:!0},{provide:Zh,useValue:"platform"});Wb(Hr.create({providers:z,name:m}))}return u3(_)}}function u3(u){var c=Ex();if(!c)throw new Error("No platform exists!");if(!c.injector.get(u,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return c}function Ex(){return Ds&&!Ds.destroyed?Ds:null}var Mx=function(){var u=function(){function c(p){(0,y.Z)(this,c),this._injector=p,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return(0,O.Z)(c,[{key:"bootstrapModuleFactory",value:function(m,_){var A=this,ve=function(u,c){return"noop"===u?new Ea:("zone.js"===u?void 0:u)||new wu({enableLongStackTrace:Jc(),shouldCoalesceEventChangeDetection:!(null==c||!c.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!(null==c||!c.ngZoneRunCoalescing)})}(_?_.ngZone:void 0,{ngZoneEventCoalescing:_&&_.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:_&&_.ngZoneRunCoalescing||!1}),Pe=[{provide:wu,useValue:ve}];return ve.run(function(){var Je=Hr.create({providers:Pe,parent:A.injector,name:m.moduleType.name}),We=m.create(Je),ct=We.injector.get(Vp,null);if(!ct)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return ve.runOutsideAngular(function(){var Mt=ve.onError.subscribe({next:function(dn){ct.handleError(dn)}});We.onDestroy(function(){sm(A._modules,We),Mt.unsubscribe()})}),function(u,c,p){try{var m=((Mt=We.injector.get(gf)).runInitializers(),Mt.donePromise.then(function(){return function(u){On(u,"Expected localeId to be defined"),"string"==typeof u&&u.toLowerCase().replace(/_/g,"-")}(We.injector.get(Ub,fg)||fg),A._moduleDoBootstrap(We),We}));return zh(m)?m.catch(function(_){throw c.runOutsideAngular(function(){return u.handleError(_)}),_}):m}catch(_){throw c.runOutsideAngular(function(){return u.handleError(_)}),_}var Mt}(ct,ve)})}},{key:"bootstrapModule",value:function(m){var _=this,A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],H=xu({},A);return s3(0,0,m).then(function(z){return _.bootstrapModuleFactory(z,H)})}},{key:"_moduleDoBootstrap",value:function(m){var _=m.injector.get(ep);if(m._bootstrapComponents.length>0)m._bootstrapComponents.forEach(function(A){return _.bootstrap(A)});else{if(!m.instance.ngDoBootstrap)throw new Error("The module ".concat(X(m.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. ')+"Please define one of these.");m.instance.ngDoBootstrap(_)}this._modules.push(m)}},{key:"onDestroy",value:function(m){this._destroyListeners.push(m)}},{key:"injector",get:function(){return this._injector}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(m){return m.destroy()}),this._destroyListeners.forEach(function(m){return m()}),this._destroyed=!0}},{key:"destroyed",get:function(){return this._destroyed}}]),c}();return u.\u0275fac=function(p){return new(p||u)(ro(Hr))},u.\u0275prov=Wn({token:u,factory:u.\u0275fac}),u}();function xu(u,c){return Array.isArray(c)?c.reduce(xu,u):(0,x.Z)((0,x.Z)({},u),c)}var ep=function(){var u=function(){function c(p,m,_,A,H){var z=this;(0,y.Z)(this,c),this._zone=p,this._injector=m,this._exceptionHandler=_,this._componentFactoryResolver=A,this._initStatus=H,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){z._zone.run(function(){z.tick()})}});var ee=new k.y(function(Pe){z._stable=z._zone.isStable&&!z._zone.hasPendingMacrotasks&&!z._zone.hasPendingMicrotasks,z._zone.runOutsideAngular(function(){Pe.next(z._stable),Pe.complete()})}),ve=new k.y(function(Pe){var Je;z._zone.runOutsideAngular(function(){Je=z._zone.onStable.subscribe(function(){wu.assertNotInAngularZone(),bx(function(){!z._stable&&!z._zone.hasPendingMacrotasks&&!z._zone.hasPendingMicrotasks&&(z._stable=!0,Pe.next(!0))})})});var We=z._zone.onUnstable.subscribe(function(){wu.assertInAngularZone(),z._stable&&(z._stable=!1,z._zone.runOutsideAngular(function(){Pe.next(!1)}))});return function(){Je.unsubscribe(),We.unsubscribe()}});this.isStable=(0,S.T)(ee,ve.pipe((0,I.B)()))}return(0,O.Z)(c,[{key:"bootstrap",value:function(m,_){var H,A=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");H=m instanceof Aw?m:this._componentFactoryResolver.resolveComponentFactory(m),this.componentTypes.push(H.componentType);var z=function(u){return u.isBoundToModule}(H)?void 0:this._injector.get(mf),ve=H.create(Hr.NULL,[],_||H.selector,z),Pe=ve.location.nativeElement,Je=ve.injector.get(Cx,null),We=Je&&ve.injector.get(Sx);return Je&&We&&We.registerApplication(Pe,Je),ve.onDestroy(function(){A.detachView(ve.hostView),sm(A.components,ve),We&&We.unregisterApplication(Pe)}),this._loadComponent(ve),ve}},{key:"tick",value:function(){var m=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var A,_=(0,b.Z)(this._views);try{for(_.s();!(A=_.n()).done;)A.value.detectChanges()}catch(Pe){_.e(Pe)}finally{_.f()}}catch(Pe){this._zone.runOutsideAngular(function(){return m._exceptionHandler.handleError(Pe)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(m){var _=m;this._views.push(_),_.attachToAppRef(this)}},{key:"detachView",value:function(m){var _=m;sm(this._views,_),_.detachFromAppRef()}},{key:"_loadComponent",value:function(m){this.attachView(m.hostView),this.tick(),this.components.push(m),this._injector.get(Bb,[]).concat(this._bootstrapListeners).forEach(function(A){return A(m)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(m){return m.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}]),c}();return u.\u0275fac=function(p){return new(p||u)(ro(wu),ro(Hr),ro(Vp),ro(_g),ro(gf))},u.\u0275prov=Wn({token:u,factory:u.\u0275fac}),u}();function sm(u,c){var p=u.indexOf(c);p>-1&&u.splice(p,1)}var OB=function(u){return function(u,c,p){if(vr(u)&&!p){var m=Fr(u.index,c);return new bg(m,m)}return 47&u.type?new bg(c[16],c):null}(J(),wn(),16==(16&u))},zg=function(){var u=function c(){(0,y.Z)(this,c)};return u.__NG_ELEMENT_ID__=OB,u}(),Gg=function(u){(0,T.Z)(p,u);var c=(0,D.Z)(p);function p(){return(0,y.Z)(this,p),c.apply(this,arguments)}return p}(zg),Yg=function(u){(0,T.Z)(p,u);var c=(0,D.Z)(p);function p(){return(0,y.Z)(this,p),c.apply(this,arguments)}return p}(Gg),NB=function(u){return null},h3=function(){function u(){(0,y.Z)(this,u)}return(0,O.Z)(u,[{key:"supports",value:function(p){return Bh(p)}},{key:"create",value:function(p){return new FB(p)}}]),u}(),LB=function(c,p){return p},FB=function(){function u(c){(0,y.Z)(this,u),this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=c||LB}return(0,O.Z)(u,[{key:"forEachItem",value:function(p){var m;for(m=this._itHead;null!==m;m=m._next)p(m)}},{key:"forEachOperation",value:function(p){for(var m=this._itHead,_=this._removalsHead,A=0,H=null;m||_;){var z=!_||m&&m.currentIndex<tp(_,A,H)?m:_,ee=tp(z,A,H),ve=z.currentIndex;if(z===_)A--,_=_._nextRemoved;else if(m=m._next,null==z.previousIndex)A++;else{H||(H=[]);var Pe=ee-A,Je=ve-A;if(Pe!=Je){for(var We=0;We<Pe;We++){var ct=We<H.length?H[We]:H[We]=0,Mt=ct+We;Je<=Mt&&Mt<Pe&&(H[We]=ct+1)}H[z.previousIndex]=Je-Pe}}ee!==ve&&p(z,ee,ve)}}},{key:"forEachPreviousItem",value:function(p){var m;for(m=this._previousItHead;null!==m;m=m._nextPrevious)p(m)}},{key:"forEachAddedItem",value:function(p){var m;for(m=this._additionsHead;null!==m;m=m._nextAdded)p(m)}},{key:"forEachMovedItem",value:function(p){var m;for(m=this._movesHead;null!==m;m=m._nextMoved)p(m)}},{key:"forEachRemovedItem",value:function(p){var m;for(m=this._removalsHead;null!==m;m=m._nextRemoved)p(m)}},{key:"forEachIdentityChange",value:function(p){var m;for(m=this._identityChangesHead;null!==m;m=m._nextIdentityChange)p(m)}},{key:"diff",value:function(p){if(null==p&&(p=[]),!Bh(p))throw new Error("Error trying to diff '".concat(X(p),"'. Only arrays and iterables are allowed"));return this.check(p)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(p){var m=this;this._reset();var H,z,ee,_=this._itHead,A=!1;if(Array.isArray(p)){this.length=p.length;for(var ve=0;ve<this.length;ve++)ee=this._trackByFn(ve,z=p[ve]),null!==_&&Object.is(_.trackById,ee)?(A&&(_=this._verifyReinsertion(_,z,ee,ve)),Object.is(_.item,z)||this._addIdentityChange(_,z)):(_=this._mismatch(_,z,ee,ve),A=!0),_=_._next}else H=0,function(u,c){if(Array.isArray(u))for(var p=0;p<u.length;p++)c(u[p]);else for(var _,m=u[rf()]();!(_=m.next()).done;)c(_.value)}(p,function(Pe){ee=m._trackByFn(H,Pe),null!==_&&Object.is(_.trackById,ee)?(A&&(_=m._verifyReinsertion(_,Pe,ee,H)),Object.is(_.item,Pe)||m._addIdentityChange(_,Pe)):(_=m._mismatch(_,Pe,ee,H),A=!0),_=_._next,H++}),this.length=H;return this._truncate(_),this.collection=p,this.isDirty}},{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}},{key:"_reset",value:function(){if(this.isDirty){var p;for(p=this._previousItHead=this._itHead;null!==p;p=p._next)p._nextPrevious=p._next;for(p=this._additionsHead;null!==p;p=p._nextAdded)p.previousIndex=p.currentIndex;for(this._additionsHead=this._additionsTail=null,p=this._movesHead;null!==p;p=p._nextMoved)p.previousIndex=p.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}},{key:"_mismatch",value:function(p,m,_,A){var H;return null===p?H=this._itTail:(H=p._prev,this._remove(p)),null!==(p=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null))?(Object.is(p.item,m)||this._addIdentityChange(p,m),this._reinsertAfter(p,H,A)):null!==(p=null===this._linkedRecords?null:this._linkedRecords.get(_,A))?(Object.is(p.item,m)||this._addIdentityChange(p,m),this._moveAfter(p,H,A)):p=this._addAfter(new m3(m,_),H,A),p}},{key:"_verifyReinsertion",value:function(p,m,_,A){var H=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null);return null!==H?p=this._reinsertAfter(H,p._prev,A):p.currentIndex!=A&&(p.currentIndex=A,this._addToMoves(p,A)),p}},{key:"_truncate",value:function(p){for(;null!==p;){var m=p._next;this._addToRemovals(this._unlink(p)),p=m}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}},{key:"_reinsertAfter",value:function(p,m,_){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(p);var A=p._prevRemoved,H=p._nextRemoved;return null===A?this._removalsHead=H:A._nextRemoved=H,null===H?this._removalsTail=A:H._prevRemoved=A,this._insertAfter(p,m,_),this._addToMoves(p,_),p}},{key:"_moveAfter",value:function(p,m,_){return this._unlink(p),this._insertAfter(p,m,_),this._addToMoves(p,_),p}},{key:"_addAfter",value:function(p,m,_){return this._insertAfter(p,m,_),this._additionsTail=null===this._additionsTail?this._additionsHead=p:this._additionsTail._nextAdded=p,p}},{key:"_insertAfter",value:function(p,m,_){var A=null===m?this._itHead:m._next;return p._next=A,p._prev=m,null===A?this._itTail=p:A._prev=p,null===m?this._itHead=p:m._next=p,null===this._linkedRecords&&(this._linkedRecords=new Nx),this._linkedRecords.put(p),p.currentIndex=_,p}},{key:"_remove",value:function(p){return this._addToRemovals(this._unlink(p))}},{key:"_unlink",value:function(p){null!==this._linkedRecords&&this._linkedRecords.remove(p);var m=p._prev,_=p._next;return null===m?this._itHead=_:m._next=_,null===_?this._itTail=m:_._prev=m,p}},{key:"_addToMoves",value:function(p,m){return p.previousIndex===m||(this._movesTail=null===this._movesTail?this._movesHead=p:this._movesTail._nextMoved=p),p}},{key:"_addToRemovals",value:function(p){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Nx),this._unlinkedRecords.put(p),p.currentIndex=null,p._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=p,p._prevRemoved=null):(p._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=p),p}},{key:"_addIdentityChange",value:function(p,m){return p.item=m,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=p:this._identityChangesTail._nextIdentityChange=p,p}}]),u}(),m3=function u(c,p){(0,y.Z)(this,u),this.item=c,this.trackById=p,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null},Js=function(){function u(){(0,y.Z)(this,u),this._head=null,this._tail=null}return(0,O.Z)(u,[{key:"add",value:function(p){null===this._head?(this._head=this._tail=p,p._nextDup=null,p._prevDup=null):(this._tail._nextDup=p,p._prevDup=this._tail,p._nextDup=null,this._tail=p)}},{key:"get",value:function(p,m){var _;for(_=this._head;null!==_;_=_._nextDup)if((null===m||m<=_.currentIndex)&&Object.is(_.trackById,p))return _;return null}},{key:"remove",value:function(p){var m=p._prevDup,_=p._nextDup;return null===m?this._head=_:m._nextDup=_,null===_?this._tail=m:_._prevDup=m,null===this._head}}]),u}(),Nx=function(){function u(){(0,y.Z)(this,u),this.map=new Map}return(0,O.Z)(u,[{key:"put",value:function(p){var m=p.trackById,_=this.map.get(m);_||(_=new Js,this.map.set(m,_)),_.add(p)}},{key:"get",value:function(p,m){var A=this.map.get(p);return A?A.get(p,m):null}},{key:"remove",value:function(p){var m=p.trackById;return this.map.get(m).remove(p)&&this.map.delete(m),p}},{key:"isEmpty",get:function(){return 0===this.map.size}},{key:"clear",value:function(){this.map.clear()}}]),u}();function tp(u,c,p){var m=u.previousIndex;if(null===m)return m;var _=0;return p&&m<p.length&&(_=p[m]),m+c+_}var Jg=function(){function u(){(0,y.Z)(this,u)}return(0,O.Z)(u,[{key:"supports",value:function(p){return p instanceof Map||Uh(p)}},{key:"create",value:function(){return new ea}}]),u}(),ea=function(){function u(){(0,y.Z)(this,u),this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return(0,O.Z)(u,[{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}},{key:"forEachItem",value:function(p){var m;for(m=this._mapHead;null!==m;m=m._next)p(m)}},{key:"forEachPreviousItem",value:function(p){var m;for(m=this._previousMapHead;null!==m;m=m._nextPrevious)p(m)}},{key:"forEachChangedItem",value:function(p){var m;for(m=this._changesHead;null!==m;m=m._nextChanged)p(m)}},{key:"forEachAddedItem",value:function(p){var m;for(m=this._additionsHead;null!==m;m=m._nextAdded)p(m)}},{key:"forEachRemovedItem",value:function(p){var m;for(m=this._removalsHead;null!==m;m=m._nextRemoved)p(m)}},{key:"diff",value:function(p){if(p){if(!(p instanceof Map||Uh(p)))throw new Error("Error trying to diff '".concat(X(p),"'. Only maps and objects are allowed"))}else p=new Map;return this.check(p)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(p){var m=this;this._reset();var _=this._mapHead;if(this._appendAfter=null,this._forEach(p,function(H,z){if(_&&_.key===z)m._maybeAddToChanges(_,H),m._appendAfter=_,_=_._next;else{var ee=m._getOrCreateRecordForKey(z,H);_=m._insertBeforeOrAppend(_,ee)}}),_){_._prev&&(_._prev._next=null),this._removalsHead=_;for(var A=_;null!==A;A=A._nextRemoved)A===this._mapHead&&(this._mapHead=null),this._records.delete(A.key),A._nextRemoved=A._next,A.previousValue=A.currentValue,A.currentValue=null,A._prev=null,A._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}},{key:"_insertBeforeOrAppend",value:function(p,m){if(p){var _=p._prev;return m._next=p,m._prev=_,p._prev=m,_&&(_._next=m),p===this._mapHead&&(this._mapHead=m),this._appendAfter=p,p}return this._appendAfter?(this._appendAfter._next=m,m._prev=this._appendAfter):this._mapHead=m,this._appendAfter=m,null}},{key:"_getOrCreateRecordForKey",value:function(p,m){if(this._records.has(p)){var _=this._records.get(p);this._maybeAddToChanges(_,m);var A=_._prev,H=_._next;return A&&(A._next=H),H&&(H._prev=A),_._next=null,_._prev=null,_}var z=new ao(p);return this._records.set(p,z),z.currentValue=m,this._addToAdditions(z),z}},{key:"_reset",value:function(){if(this.isDirty){var p;for(this._previousMapHead=this._mapHead,p=this._previousMapHead;null!==p;p=p._next)p._nextPrevious=p._next;for(p=this._changesHead;null!==p;p=p._nextChanged)p.previousValue=p.currentValue;for(p=this._additionsHead;null!=p;p=p._nextAdded)p.previousValue=p.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}},{key:"_maybeAddToChanges",value:function(p,m){Object.is(m,p.currentValue)||(p.previousValue=p.currentValue,p.currentValue=m,this._addToChanges(p))}},{key:"_addToAdditions",value:function(p){null===this._additionsHead?this._additionsHead=this._additionsTail=p:(this._additionsTail._nextAdded=p,this._additionsTail=p)}},{key:"_addToChanges",value:function(p){null===this._changesHead?this._changesHead=this._changesTail=p:(this._changesTail._nextChanged=p,this._changesTail=p)}},{key:"_forEach",value:function(p,m){p instanceof Map?p.forEach(m):Object.keys(p).forEach(function(_){return m(p[_],_)})}}]),u}(),ao=function u(c){(0,y.Z)(this,u),this.key=c,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null};function $o(){return new kr([new h3])}var kr=function(){var u=function(){function c(p){(0,y.Z)(this,c),this.factories=p}return(0,O.Z)(c,[{key:"find",value:function(m){var _=this.factories.find(function(A){return A.supports(m)});if(null!=_)return _;throw new Error("Cannot find a differ supporting object '".concat(m,"' of type '").concat(function(u){return u.name||typeof u}(m),"'"))}}],[{key:"create",value:function(m,_){if(null!=_){var A=_.factories.slice();m=m.concat(A)}return new c(m)}},{key:"extend",value:function(m){return{provide:c,useFactory:function(A){return c.create(m,A||$o())},deps:[[c,new zu,new qu]]}}}]),c}();return u.\u0275prov=Wn({token:u,providedIn:"root",factory:$o}),u}();function Qg(){return new Kg([new Jg])}var Kg=function(){var u=function(){function c(p){(0,y.Z)(this,c),this.factories=p}return(0,O.Z)(c,[{key:"find",value:function(m){var _=this.factories.find(function(A){return A.supports(m)});if(_)return _;throw new Error("Cannot find a differ supporting object '".concat(m,"'"))}}],[{key:"create",value:function(m,_){if(_){var A=_.factories.slice();m=m.concat(A)}return new c(m)}},{key:"extend",value:function(m){return{provide:c,useFactory:function(A){return c.create(m,A||Qg())},deps:[[c,new zu,new qu]]}}}]),c}();return u.\u0275prov=Wn({token:u,providedIn:"root",factory:Qg}),u}(),Zx=[new Jg],v3=new kr([new h3]),Kb=new Kg(Zx),Lx=xx(null,"core",[{provide:Fb,useValue:"unknown"},{provide:Mx,deps:[Hr]},{provide:Sx,deps:[]},{provide:$I,deps:[]}]),y3=[{provide:ep,useClass:ep,deps:[wu,Hr,Vp,_g,gf]},{provide:oI,deps:[wu],useFactory:function(u){var c=[];return u.onStable.subscribe(function(){for(;c.length;)c.pop()()}),function(p){c.push(p)}}},{provide:gf,useClass:gf,deps:[[new qu,Ng]]},{provide:yx,useClass:yx,deps:[]},Lg,{provide:kr,useFactory:function(){return v3},deps:[]},{provide:Kg,useFactory:function(){return Kb},deps:[]},{provide:Ub,useFactory:function(u){return u||"undefined"!=typeof $localize&&$localize.locale||fg},deps:[[new Zp(Ub),new qu,new zu]]},{provide:yf,useValue:"USD"}],b3=function(){var u=function c(p){(0,y.Z)(this,c)};return u.\u0275fac=function(p){return new(p||u)(ro(ep))},u.\u0275mod=da({type:u}),u.\u0275inj=ar({providers:y3}),u}()},49133:function(ue,j,f){"use strict";f.d(j,{Zs:function(){return Fi},Fj:function(){return G},qu:function(){return Ne},NI:function(){return Ei},u:function(){return ya},cw:function(){return Zi},sg:function(){return fi},u5:function(){return Lu},Cf:function(){return Y},JU:function(){return g},a5:function(){return Wn},JJ:function(){return Qn},JL:function(){return rn},F:function(){return Et},On:function(){return ji},wV:function(){return fa},UX:function(){return ja},kI:function(){return fe},_Y:function(){return Mr}});var B=f(88009),U=f(36683),V=f(333),L=f(3801),w=f(10509),R=f(97154),b=f(18967),E=f(14105),x=f(83668),Z=f(86019),O=f(17048),y=f(24778),T=f(98771),D=function(){var $=function(){function le(pe,me){(0,b.Z)(this,le),this._renderer=pe,this._elementRef=me,this.onChange=function(Ae){},this.onTouched=function(){}}return(0,E.Z)(le,[{key:"setProperty",value:function(me,Ae){this._renderer.setProperty(this._elementRef.nativeElement,me,Ae)}},{key:"registerOnTouched",value:function(me){this.onTouched=me}},{key:"registerOnChange",value:function(me){this.onChange=me}},{key:"setDisabledState",value:function(me){this.setProperty("disabled",me)}}]),le}();return $.\u0275fac=function(pe){return new(pe||$)(x.Y36(x.Qsj),x.Y36(x.SBq))},$.\u0275dir=x.lG2({type:$}),$}(),v=function(){var $=function(le){(0,w.Z)(me,le);var pe=(0,R.Z)(me);function me(){return(0,b.Z)(this,me),pe.apply(this,arguments)}return me}(D);return $.\u0275fac=function(){var le;return function(me){return(le||(le=x.n5z($)))(me||$)}}(),$.\u0275dir=x.lG2({type:$,features:[x.qOj]}),$}(),g=new x.OlP("NgValueAccessor"),S={provide:g,useExisting:(0,x.Gpc)(function(){return G}),multi:!0},F=new x.OlP("CompositionEventMode"),G=function(){var $=function(le){(0,w.Z)(me,le);var pe=(0,R.Z)(me);function me(Ae,Ue,gt){var cn;return(0,b.Z)(this,me),(cn=pe.call(this,Ae,Ue))._compositionMode=gt,cn._composing=!1,null==cn._compositionMode&&(cn._compositionMode=!function(){var $=(0,Z.q)()?(0,Z.q)().getUserAgent():"";return/android (\d+)/.test($.toLowerCase())}()),cn}return(0,E.Z)(me,[{key:"writeValue",value:function(Ue){this.setProperty("value",null==Ue?"":Ue)}},{key:"_handleInput",value:function(Ue){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(Ue)}},{key:"_compositionStart",value:function(){this._composing=!0}},{key:"_compositionEnd",value:function(Ue){this._composing=!1,this._compositionMode&&this.onChange(Ue)}}]),me}(D);return $.\u0275fac=function(pe){return new(pe||$)(x.Y36(x.Qsj),x.Y36(x.SBq),x.Y36(F,8))},$.\u0275dir=x.lG2({type:$,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(pe,me){1&pe&&x.NdJ("input",function(Ue){return me._handleInput(Ue.target.value)})("blur",function(){return me.onTouched()})("compositionstart",function(){return me._compositionStart()})("compositionend",function(Ue){return me._compositionEnd(Ue.target.value)})},features:[x._Bn([S]),x.qOj]}),$}();function X($){return null==$||0===$.length}function W($){return null!=$&&"number"==typeof $.length}var Y=new x.OlP("NgValidators"),ae=new x.OlP("NgAsyncValidators"),K=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,fe=function(){function $(){(0,b.Z)(this,$)}return(0,E.Z)($,null,[{key:"min",value:function(pe){return function($){return function(le){if(X(le.value)||X($))return null;var pe=parseFloat(le.value);return!isNaN(pe)&&pe<$?{min:{min:$,actual:le.value}}:null}}(pe)}},{key:"max",value:function(pe){return function($){return function(le){if(X(le.value)||X($))return null;var pe=parseFloat(le.value);return!isNaN(pe)&&pe>$?{max:{max:$,actual:le.value}}:null}}(pe)}},{key:"required",value:function(pe){return de(pe)}},{key:"requiredTrue",value:function(pe){return oe(pe)}},{key:"email",value:function(pe){return function($){return X($.value)||K.test($.value)?null:{email:!0}}(pe)}},{key:"minLength",value:function(pe){return function($){return function(le){return X(le.value)||!W(le.value)?null:le.value.length<$?{minlength:{requiredLength:$,actualLength:le.value.length}}:null}}(pe)}},{key:"maxLength",value:function(pe){return function($){return function(le){return W(le.value)&&le.value.length>$?{maxlength:{requiredLength:$,actualLength:le.value.length}}:null}}(pe)}},{key:"pattern",value:function(pe){return function($){return $?("string"==typeof $?(pe="","^"!==$.charAt(0)&&(pe+="^"),pe+=$,"$"!==$.charAt($.length-1)&&(pe+="$"),le=new RegExp(pe)):(pe=$.toString(),le=$),function(me){if(X(me.value))return null;var Ae=me.value;return le.test(Ae)?null:{pattern:{requiredPattern:pe,actualValue:Ae}}}):Qe;var le,pe}(pe)}},{key:"nullValidator",value:function(pe){return null}},{key:"compose",value:function(pe){return tt(pe)}},{key:"composeAsync",value:function(pe){return Tt(pe)}}]),$}();function de($){return X($.value)?{required:!0}:null}function oe($){return!0===$.value?null:{required:!0}}function Qe($){return null}function et($){return null!=$}function bt($){var le=(0,x.QGY)($)?(0,O.D)($):$;return(0,x.CqO)(le),le}function _e($){var le={};return $.forEach(function(pe){le=null!=pe?(0,L.Z)((0,L.Z)({},le),pe):le}),0===Object.keys(le).length?null:le}function xe($,le){return le.map(function(pe){return pe($)})}function st($){return $.map(function(le){return function($){return!$.validate}(le)?le:function(pe){return le.validate(pe)}})}function tt($){if(!$)return null;var le=$.filter(et);return 0==le.length?null:function(pe){return _e(xe(pe,le))}}function Zt($){return null!=$?tt(st($)):null}function Tt($){if(!$)return null;var le=$.filter(et);return 0==le.length?null:function(pe){var me=xe(pe,le).map(bt);return(0,y.D)(me).pipe((0,T.U)(_e))}}function mt($){return null!=$?Tt(st($)):null}function Yt($,le){return null===$?[le]:Array.isArray($)?[].concat((0,V.Z)($),[le]):[$,le]}function un($){return $._rawValidators}function Ut($){return $._rawAsyncValidators}function Mn($){return $?Array.isArray($)?$:[$]:[]}function On($,le){return Array.isArray($)?$.includes(le):$===le}function Fn($,le){var pe=Mn(le);return Mn($).forEach(function(Ae){On(pe,Ae)||pe.push(Ae)}),pe}function Zn($,le){return Mn(le).filter(function(pe){return!On($,pe)})}var Vn=function(){function $(){(0,b.Z)(this,$),this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}return(0,E.Z)($,[{key:"value",get:function(){return this.control?this.control.value:null}},{key:"valid",get:function(){return this.control?this.control.valid:null}},{key:"invalid",get:function(){return this.control?this.control.invalid:null}},{key:"pending",get:function(){return this.control?this.control.pending:null}},{key:"disabled",get:function(){return this.control?this.control.disabled:null}},{key:"enabled",get:function(){return this.control?this.control.enabled:null}},{key:"errors",get:function(){return this.control?this.control.errors:null}},{key:"pristine",get:function(){return this.control?this.control.pristine:null}},{key:"dirty",get:function(){return this.control?this.control.dirty:null}},{key:"touched",get:function(){return this.control?this.control.touched:null}},{key:"status",get:function(){return this.control?this.control.status:null}},{key:"untouched",get:function(){return this.control?this.control.untouched:null}},{key:"statusChanges",get:function(){return this.control?this.control.statusChanges:null}},{key:"valueChanges",get:function(){return this.control?this.control.valueChanges:null}},{key:"path",get:function(){return null}},{key:"_setValidators",value:function(pe){this._rawValidators=pe||[],this._composedValidatorFn=Zt(this._rawValidators)}},{key:"_setAsyncValidators",value:function(pe){this._rawAsyncValidators=pe||[],this._composedAsyncValidatorFn=mt(this._rawAsyncValidators)}},{key:"validator",get:function(){return this._composedValidatorFn||null}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn||null}},{key:"_registerOnDestroy",value:function(pe){this._onDestroyCallbacks.push(pe)}},{key:"_invokeOnDestroyCallbacks",value:function(){this._onDestroyCallbacks.forEach(function(pe){return pe()}),this._onDestroyCallbacks=[]}},{key:"reset",value:function(){var pe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.control&&this.control.reset(pe)}},{key:"hasError",value:function(pe,me){return!!this.control&&this.control.hasError(pe,me)}},{key:"getError",value:function(pe,me){return this.control?this.control.getError(pe,me):null}}]),$}(),zn=function($){(0,w.Z)(pe,$);var le=(0,R.Z)(pe);function pe(){return(0,b.Z)(this,pe),le.apply(this,arguments)}return(0,E.Z)(pe,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),pe}(Vn),Wn=function($){(0,w.Z)(pe,$);var le=(0,R.Z)(pe);function pe(){var me;return(0,b.Z)(this,pe),(me=le.apply(this,arguments))._parent=null,me.name=null,me.valueAccessor=null,me}return pe}(Vn),nr=function(){function $(le){(0,b.Z)(this,$),this._cd=le}return(0,E.Z)($,[{key:"is",value:function(pe){var me,Ae,Ue;return"submitted"===pe?!(null===(Ue=this._cd)||void 0===Ue||!Ue.submitted):!(null===(me=this._cd)||void 0===me||null===(Ae=me.control)||void 0===Ae||!Ae[pe])}}]),$}(),Qn=function(){var $=function(le){(0,w.Z)(me,le);var pe=(0,R.Z)(me);function me(Ae){return(0,b.Z)(this,me),pe.call(this,Ae)}return me}(nr);return $.\u0275fac=function(pe){return new(pe||$)(x.Y36(Wn,2))},$.\u0275dir=x.lG2({type:$,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(pe,me){2&pe&&x.ekj("ng-untouched",me.is("untouched"))("ng-touched",me.is("touched"))("ng-pristine",me.is("pristine"))("ng-dirty",me.is("dirty"))("ng-valid",me.is("valid"))("ng-invalid",me.is("invalid"))("ng-pending",me.is("pending"))},features:[x.qOj]}),$}(),rn=function(){var $=function(le){(0,w.Z)(me,le);var pe=(0,R.Z)(me);function me(Ae){return(0,b.Z)(this,me),pe.call(this,Ae)}return me}(nr);return $.\u0275fac=function(pe){return new(pe||$)(x.Y36(zn,10))},$.\u0275dir=x.lG2({type:$,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(pe,me){2&pe&&x.ekj("ng-untouched",me.is("untouched"))("ng-touched",me.is("touched"))("ng-pristine",me.is("pristine"))("ng-dirty",me.is("dirty"))("ng-valid",me.is("valid"))("ng-invalid",me.is("invalid"))("ng-pending",me.is("pending"))("ng-submitted",me.is("submitted"))},features:[x.qOj]}),$}();function on($,le){return[].concat((0,V.Z)(le.path),[$])}function hn($,le){Lt($,le),le.valueAccessor.writeValue($.value),function($,le){le.valueAccessor.registerOnChange(function(pe){$._pendingValue=pe,$._pendingChange=!0,$._pendingDirty=!0,"change"===$.updateOn&&lt($,le)})}($,le),function($,le){var pe=function(Ae,Ue){le.valueAccessor.writeValue(Ae),Ue&&le.viewToModelUpdate(Ae)};$.registerOnChange(pe),le._registerOnDestroy(function(){$._unregisterOnChange(pe)})}($,le),function($,le){le.valueAccessor.registerOnTouched(function(){$._pendingTouched=!0,"blur"===$.updateOn&&$._pendingChange&&lt($,le),"submit"!==$.updateOn&&$.markAsTouched()})}($,le),function($,le){if(le.valueAccessor.setDisabledState){var pe=function(Ae){le.valueAccessor.setDisabledState(Ae)};$.registerOnDisabledChange(pe),le._registerOnDestroy(function(){$._unregisterOnDisabledChange(pe)})}}($,le)}function yn($,le){var me=function(){};le.valueAccessor&&(le.valueAccessor.registerOnChange(me),le.valueAccessor.registerOnTouched(me)),Ct($,le),$&&(le._invokeOnDestroyCallbacks(),$._registerOnCollectionChange(function(){}))}function Cn($,le){$.forEach(function(pe){pe.registerOnValidatorChange&&pe.registerOnValidatorChange(le)})}function Lt($,le){var pe=un($);null!==le.validator?$.setValidators(Yt(pe,le.validator)):"function"==typeof pe&&$.setValidators([pe]);var me=Ut($);null!==le.asyncValidator?$.setAsyncValidators(Yt(me,le.asyncValidator)):"function"==typeof me&&$.setAsyncValidators([me]);var Ae=function(){return $.updateValueAndValidity()};Cn(le._rawValidators,Ae),Cn(le._rawAsyncValidators,Ae)}function Ct($,le){var pe=!1;if(null!==$){if(null!==le.validator){var me=un($);if(Array.isArray(me)&&me.length>0){var Ae=me.filter(function(yt){return yt!==le.validator});Ae.length!==me.length&&(pe=!0,$.setValidators(Ae))}}if(null!==le.asyncValidator){var Ue=Ut($);if(Array.isArray(Ue)&&Ue.length>0){var gt=Ue.filter(function(yt){return yt!==le.asyncValidator});gt.length!==Ue.length&&(pe=!0,$.setAsyncValidators(gt))}}}var cn=function(){};return Cn(le._rawValidators,cn),Cn(le._rawAsyncValidators,cn),pe}function lt($,le){$._pendingDirty&&$.markAsDirty(),$.setValue($._pendingValue,{emitModelToViewChange:!1}),le.viewToModelUpdate($._pendingValue),$._pendingChange=!1}function we($,le){Lt($,le)}function pt($,le){if(!$.hasOwnProperty("model"))return!1;var pe=$.model;return!!pe.isFirstChange()||!Object.is(le,pe.currentValue)}function Xt($,le){$._syncPendingControls(),le.forEach(function(pe){var me=pe.control;"submit"===me.updateOn&&me._pendingChange&&(pe.viewToModelUpdate(me._pendingValue),me._pendingChange=!1)})}function Tn($,le){if(!le)return null;Array.isArray(le);var pe=void 0,me=void 0,Ae=void 0;return le.forEach(function(Ue){Ue.constructor===G?pe=Ue:function($){return Object.getPrototypeOf($.constructor)===v}(Ue)?me=Ue:Ae=Ue}),Ae||me||pe||null}function Dn($,le){var pe=$.indexOf(le);pe>-1&&$.splice(pe,1)}var Qr="VALID",xi="INVALID",oi="PENDING",Hi="DISABLED";function da($){return(Ha($)?$.validators:$)||null}function Vi($){return Array.isArray($)?Zt($):$||null}function pa($,le){return(Ha(le)?le.asyncValidators:$)||null}function Aa($){return Array.isArray($)?mt($):$||null}function Ha($){return null!=$&&!Array.isArray($)&&"object"==typeof $}var Kr=function(){function $(le,pe){(0,b.Z)(this,$),this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=function(){},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=le,this._rawAsyncValidators=pe,this._composedValidatorFn=Vi(this._rawValidators),this._composedAsyncValidatorFn=Aa(this._rawAsyncValidators)}return(0,E.Z)($,[{key:"validator",get:function(){return this._composedValidatorFn},set:function(pe){this._rawValidators=this._composedValidatorFn=pe}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn},set:function(pe){this._rawAsyncValidators=this._composedAsyncValidatorFn=pe}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return this.status===Qr}},{key:"invalid",get:function(){return this.status===xi}},{key:"pending",get:function(){return this.status==oi}},{key:"disabled",get:function(){return this.status===Hi}},{key:"enabled",get:function(){return this.status!==Hi}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"setValidators",value:function(pe){this._rawValidators=pe,this._composedValidatorFn=Vi(pe)}},{key:"setAsyncValidators",value:function(pe){this._rawAsyncValidators=pe,this._composedAsyncValidatorFn=Aa(pe)}},{key:"addValidators",value:function(pe){this.setValidators(Fn(pe,this._rawValidators))}},{key:"addAsyncValidators",value:function(pe){this.setAsyncValidators(Fn(pe,this._rawAsyncValidators))}},{key:"removeValidators",value:function(pe){this.setValidators(Zn(pe,this._rawValidators))}},{key:"removeAsyncValidators",value:function(pe){this.setAsyncValidators(Zn(pe,this._rawAsyncValidators))}},{key:"hasValidator",value:function(pe){return On(this._rawValidators,pe)}},{key:"hasAsyncValidator",value:function(pe){return On(this._rawAsyncValidators,pe)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var pe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!pe.onlySelf&&this._parent.markAsTouched(pe)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild(function(pe){return pe.markAllAsTouched()})}},{key:"markAsUntouched",value:function(){var pe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(me){me.markAsUntouched({onlySelf:!0})}),this._parent&&!pe.onlySelf&&this._parent._updateTouched(pe)}},{key:"markAsDirty",value:function(){var pe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!pe.onlySelf&&this._parent.markAsDirty(pe)}},{key:"markAsPristine",value:function(){var pe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(me){me.markAsPristine({onlySelf:!0})}),this._parent&&!pe.onlySelf&&this._parent._updatePristine(pe)}},{key:"markAsPending",value:function(){var pe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status=oi,!1!==pe.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!pe.onlySelf&&this._parent.markAsPending(pe)}},{key:"disable",value:function(){var pe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},me=this._parentMarkedDirty(pe.onlySelf);this.status=Hi,this.errors=null,this._forEachChild(function(Ae){Ae.disable((0,L.Z)((0,L.Z)({},pe),{},{onlySelf:!0}))}),this._updateValue(),!1!==pe.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors((0,L.Z)((0,L.Z)({},pe),{},{skipPristineCheck:me})),this._onDisabledChange.forEach(function(Ae){return Ae(!0)})}},{key:"enable",value:function(){var pe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},me=this._parentMarkedDirty(pe.onlySelf);this.status=Qr,this._forEachChild(function(Ae){Ae.enable((0,L.Z)((0,L.Z)({},pe),{},{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:pe.emitEvent}),this._updateAncestors((0,L.Z)((0,L.Z)({},pe),{},{skipPristineCheck:me})),this._onDisabledChange.forEach(function(Ae){return Ae(!1)})}},{key:"_updateAncestors",value:function(pe){this._parent&&!pe.onlySelf&&(this._parent.updateValueAndValidity(pe),pe.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(pe){this._parent=pe}},{key:"updateValueAndValidity",value:function(){var pe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Qr||this.status===oi)&&this._runAsyncValidator(pe.emitEvent)),!1!==pe.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!pe.onlySelf&&this._parent.updateValueAndValidity(pe)}},{key:"_updateTreeValidity",value:function(){var pe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild(function(me){return me._updateTreeValidity(pe)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:pe.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?Hi:Qr}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(pe){var me=this;if(this.asyncValidator){this.status=oi,this._hasOwnPendingAsyncValidator=!0;var Ae=bt(this.asyncValidator(this));this._asyncValidationSubscription=Ae.subscribe(function(Ue){me._hasOwnPendingAsyncValidator=!1,me.setErrors(Ue,{emitEvent:pe})})}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}},{key:"setErrors",value:function(pe){var me=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=pe,this._updateControlsErrors(!1!==me.emitEvent)}},{key:"get",value:function(pe){return function($,le,pe){if(null==le||(Array.isArray(le)||(le=le.split(".")),Array.isArray(le)&&0===le.length))return null;var me=$;return le.forEach(function(Ae){me=me instanceof Zi?me.controls.hasOwnProperty(Ae)?me.controls[Ae]:null:me instanceof Ht&&me.at(Ae)||null}),me}(this,pe)}},{key:"getError",value:function(pe,me){var Ae=me?this.get(me):this;return Ae&&Ae.errors?Ae.errors[pe]:null}},{key:"hasError",value:function(pe,me){return!!this.getError(pe,me)}},{key:"root",get:function(){for(var pe=this;pe._parent;)pe=pe._parent;return pe}},{key:"_updateControlsErrors",value:function(pe){this.status=this._calculateStatus(),pe&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(pe)}},{key:"_initObservables",value:function(){this.valueChanges=new x.vpe,this.statusChanges=new x.vpe}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?Hi:this.errors?xi:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(oi)?oi:this._anyControlsHaveStatus(xi)?xi:Qr}},{key:"_anyControlsHaveStatus",value:function(pe){return this._anyControls(function(me){return me.status===pe})}},{key:"_anyControlsDirty",value:function(){return this._anyControls(function(pe){return pe.dirty})}},{key:"_anyControlsTouched",value:function(){return this._anyControls(function(pe){return pe.touched})}},{key:"_updatePristine",value:function(){var pe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!pe.onlySelf&&this._parent._updatePristine(pe)}},{key:"_updateTouched",value:function(){var pe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!pe.onlySelf&&this._parent._updateTouched(pe)}},{key:"_isBoxedValue",value:function(pe){return"object"==typeof pe&&null!==pe&&2===Object.keys(pe).length&&"value"in pe&&"disabled"in pe}},{key:"_registerOnCollectionChange",value:function(pe){this._onCollectionChange=pe}},{key:"_setUpdateStrategy",value:function(pe){Ha(pe)&&null!=pe.updateOn&&(this._updateOn=pe.updateOn)}},{key:"_parentMarkedDirty",value:function(pe){return!pe&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}]),$}(),Ei=function($){(0,w.Z)(pe,$);var le=(0,R.Z)(pe);function pe(){var me,Ae=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,Ue=arguments.length>1?arguments[1]:void 0,gt=arguments.length>2?arguments[2]:void 0;return(0,b.Z)(this,pe),(me=le.call(this,da(Ue),pa(gt,Ue)))._onChange=[],me._applyFormState(Ae),me._setUpdateStrategy(Ue),me._initObservables(),me.updateValueAndValidity({onlySelf:!0,emitEvent:!!me.asyncValidator}),me}return(0,E.Z)(pe,[{key:"setValue",value:function(Ae){var Ue=this,gt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=Ae,this._onChange.length&&!1!==gt.emitModelToViewChange&&this._onChange.forEach(function(cn){return cn(Ue.value,!1!==gt.emitViewToModelChange)}),this.updateValueAndValidity(gt)}},{key:"patchValue",value:function(Ae){var Ue=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(Ae,Ue)}},{key:"reset",value:function(){var Ae=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,Ue=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(Ae),this.markAsPristine(Ue),this.markAsUntouched(Ue),this.setValue(this.value,Ue),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(Ae){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(Ae){this._onChange.push(Ae)}},{key:"_unregisterOnChange",value:function(Ae){Dn(this._onChange,Ae)}},{key:"registerOnDisabledChange",value:function(Ae){this._onDisabledChange.push(Ae)}},{key:"_unregisterOnDisabledChange",value:function(Ae){Dn(this._onDisabledChange,Ae)}},{key:"_forEachChild",value:function(Ae){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(Ae){this._isBoxedValue(Ae)?(this.value=this._pendingValue=Ae.value,Ae.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Ae}}]),pe}(Kr),Zi=function($){(0,w.Z)(pe,$);var le=(0,R.Z)(pe);function pe(me,Ae,Ue){var gt;return(0,b.Z)(this,pe),(gt=le.call(this,da(Ae),pa(Ue,Ae))).controls=me,gt._initObservables(),gt._setUpdateStrategy(Ae),gt._setUpControls(),gt.updateValueAndValidity({onlySelf:!0,emitEvent:!!gt.asyncValidator}),gt}return(0,E.Z)(pe,[{key:"registerControl",value:function(Ae,Ue){return this.controls[Ae]?this.controls[Ae]:(this.controls[Ae]=Ue,Ue.setParent(this),Ue._registerOnCollectionChange(this._onCollectionChange),Ue)}},{key:"addControl",value:function(Ae,Ue){var gt=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.registerControl(Ae,Ue),this.updateValueAndValidity({emitEvent:gt.emitEvent}),this._onCollectionChange()}},{key:"removeControl",value:function(Ae){var Ue=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[Ae]&&this.controls[Ae]._registerOnCollectionChange(function(){}),delete this.controls[Ae],this.updateValueAndValidity({emitEvent:Ue.emitEvent}),this._onCollectionChange()}},{key:"setControl",value:function(Ae,Ue){var gt=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[Ae]&&this.controls[Ae]._registerOnCollectionChange(function(){}),delete this.controls[Ae],Ue&&this.registerControl(Ae,Ue),this.updateValueAndValidity({emitEvent:gt.emitEvent}),this._onCollectionChange()}},{key:"contains",value:function(Ae){return this.controls.hasOwnProperty(Ae)&&this.controls[Ae].enabled}},{key:"setValue",value:function(Ae){var Ue=this,gt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(Ae),Object.keys(Ae).forEach(function(cn){Ue._throwIfControlMissing(cn),Ue.controls[cn].setValue(Ae[cn],{onlySelf:!0,emitEvent:gt.emitEvent})}),this.updateValueAndValidity(gt)}},{key:"patchValue",value:function(Ae){var Ue=this,gt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=Ae&&(Object.keys(Ae).forEach(function(cn){Ue.controls[cn]&&Ue.controls[cn].patchValue(Ae[cn],{onlySelf:!0,emitEvent:gt.emitEvent})}),this.updateValueAndValidity(gt))}},{key:"reset",value:function(){var Ae=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},Ue=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(gt,cn){gt.reset(Ae[cn],{onlySelf:!0,emitEvent:Ue.emitEvent})}),this._updatePristine(Ue),this._updateTouched(Ue),this.updateValueAndValidity(Ue)}},{key:"getRawValue",value:function(){return this._reduceChildren({},function(Ae,Ue,gt){return Ae[gt]=Ue instanceof Ei?Ue.value:Ue.getRawValue(),Ae})}},{key:"_syncPendingControls",value:function(){var Ae=this._reduceChildren(!1,function(Ue,gt){return!!gt._syncPendingControls()||Ue});return Ae&&this.updateValueAndValidity({onlySelf:!0}),Ae}},{key:"_throwIfControlMissing",value:function(Ae){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[Ae])throw new Error("Cannot find form control with name: ".concat(Ae,"."))}},{key:"_forEachChild",value:function(Ae){var Ue=this;Object.keys(this.controls).forEach(function(gt){var cn=Ue.controls[gt];cn&&Ae(cn,gt)})}},{key:"_setUpControls",value:function(){var Ae=this;this._forEachChild(function(Ue){Ue.setParent(Ae),Ue._registerOnCollectionChange(Ae._onCollectionChange)})}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(Ae){for(var Ue=0,gt=Object.keys(this.controls);Ue<gt.length;Ue++){var cn=gt[Ue],yt=this.controls[cn];if(this.contains(cn)&&Ae(yt))return!0}return!1}},{key:"_reduceValue",value:function(){var Ae=this;return this._reduceChildren({},function(Ue,gt,cn){return(gt.enabled||Ae.disabled)&&(Ue[cn]=gt.value),Ue})}},{key:"_reduceChildren",value:function(Ae,Ue){var gt=Ae;return this._forEachChild(function(cn,yt){gt=Ue(gt,cn,yt)}),gt}},{key:"_allControlsDisabled",value:function(){for(var Ae=0,Ue=Object.keys(this.controls);Ae<Ue.length;Ae++)if(this.controls[Ue[Ae]].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}},{key:"_checkAllValuesPresent",value:function(Ae){this._forEachChild(function(Ue,gt){if(void 0===Ae[gt])throw new Error("Must supply a value for form control with name: '".concat(gt,"'."))})}}]),pe}(Kr),Ht=function($){(0,w.Z)(pe,$);var le=(0,R.Z)(pe);function pe(me,Ae,Ue){var gt;return(0,b.Z)(this,pe),(gt=le.call(this,da(Ae),pa(Ue,Ae))).controls=me,gt._initObservables(),gt._setUpdateStrategy(Ae),gt._setUpControls(),gt.updateValueAndValidity({onlySelf:!0,emitEvent:!!gt.asyncValidator}),gt}return(0,E.Z)(pe,[{key:"at",value:function(Ae){return this.controls[Ae]}},{key:"push",value:function(Ae){var Ue=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls.push(Ae),this._registerControl(Ae),this.updateValueAndValidity({emitEvent:Ue.emitEvent}),this._onCollectionChange()}},{key:"insert",value:function(Ae,Ue){var gt=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls.splice(Ae,0,Ue),this._registerControl(Ue),this.updateValueAndValidity({emitEvent:gt.emitEvent})}},{key:"removeAt",value:function(Ae){var Ue=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[Ae]&&this.controls[Ae]._registerOnCollectionChange(function(){}),this.controls.splice(Ae,1),this.updateValueAndValidity({emitEvent:Ue.emitEvent})}},{key:"setControl",value:function(Ae,Ue){var gt=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[Ae]&&this.controls[Ae]._registerOnCollectionChange(function(){}),this.controls.splice(Ae,1),Ue&&(this.controls.splice(Ae,0,Ue),this._registerControl(Ue)),this.updateValueAndValidity({emitEvent:gt.emitEvent}),this._onCollectionChange()}},{key:"length",get:function(){return this.controls.length}},{key:"setValue",value:function(Ae){var Ue=this,gt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(Ae),Ae.forEach(function(cn,yt){Ue._throwIfControlMissing(yt),Ue.at(yt).setValue(cn,{onlySelf:!0,emitEvent:gt.emitEvent})}),this.updateValueAndValidity(gt)}},{key:"patchValue",value:function(Ae){var Ue=this,gt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=Ae&&(Ae.forEach(function(cn,yt){Ue.at(yt)&&Ue.at(yt).patchValue(cn,{onlySelf:!0,emitEvent:gt.emitEvent})}),this.updateValueAndValidity(gt))}},{key:"reset",value:function(){var Ae=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],Ue=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(gt,cn){gt.reset(Ae[cn],{onlySelf:!0,emitEvent:Ue.emitEvent})}),this._updatePristine(Ue),this._updateTouched(Ue),this.updateValueAndValidity(Ue)}},{key:"getRawValue",value:function(){return this.controls.map(function(Ae){return Ae instanceof Ei?Ae.value:Ae.getRawValue()})}},{key:"clear",value:function(){var Ae=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.controls.length<1||(this._forEachChild(function(Ue){return Ue._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Ae.emitEvent}))}},{key:"_syncPendingControls",value:function(){var Ae=this.controls.reduce(function(Ue,gt){return!!gt._syncPendingControls()||Ue},!1);return Ae&&this.updateValueAndValidity({onlySelf:!0}),Ae}},{key:"_throwIfControlMissing",value:function(Ae){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(Ae))throw new Error("Cannot find form control at index ".concat(Ae))}},{key:"_forEachChild",value:function(Ae){this.controls.forEach(function(Ue,gt){Ae(Ue,gt)})}},{key:"_updateValue",value:function(){var Ae=this;this.value=this.controls.filter(function(Ue){return Ue.enabled||Ae.disabled}).map(function(Ue){return Ue.value})}},{key:"_anyControls",value:function(Ae){return this.controls.some(function(Ue){return Ue.enabled&&Ae(Ue)})}},{key:"_setUpControls",value:function(){var Ae=this;this._forEachChild(function(Ue){return Ae._registerControl(Ue)})}},{key:"_checkAllValuesPresent",value:function(Ae){this._forEachChild(function(Ue,gt){if(void 0===Ae[gt])throw new Error("Must supply a value for form control at index: ".concat(gt,"."))})}},{key:"_allControlsDisabled",value:function(){var Ue,Ae=(0,U.Z)(this.controls);try{for(Ae.s();!(Ue=Ae.n()).done;)if(Ue.value.enabled)return!1}catch(cn){Ae.e(cn)}finally{Ae.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(Ae){Ae.setParent(this),Ae._registerOnCollectionChange(this._onCollectionChange)}}]),pe}(Kr),Gt={provide:zn,useExisting:(0,x.Gpc)(function(){return Et})},ft=function(){return Promise.resolve(null)}(),Et=function(){var $=function(le){(0,w.Z)(me,le);var pe=(0,R.Z)(me);function me(Ae,Ue){var gt;return(0,b.Z)(this,me),(gt=pe.call(this)).submitted=!1,gt._directives=[],gt.ngSubmit=new x.vpe,gt.form=new Zi({},Zt(Ae),mt(Ue)),gt}return(0,E.Z)(me,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}},{key:"addControl",value:function(Ue){var gt=this;ft.then(function(){var cn=gt._findContainer(Ue.path);Ue.control=cn.registerControl(Ue.name,Ue.control),hn(Ue.control,Ue),Ue.control.updateValueAndValidity({emitEvent:!1}),gt._directives.push(Ue)})}},{key:"getControl",value:function(Ue){return this.form.get(Ue.path)}},{key:"removeControl",value:function(Ue){var gt=this;ft.then(function(){var cn=gt._findContainer(Ue.path);cn&&cn.removeControl(Ue.name),Dn(gt._directives,Ue)})}},{key:"addFormGroup",value:function(Ue){var gt=this;ft.then(function(){var cn=gt._findContainer(Ue.path),yt=new Zi({});we(yt,Ue),cn.registerControl(Ue.name,yt),yt.updateValueAndValidity({emitEvent:!1})})}},{key:"removeFormGroup",value:function(Ue){var gt=this;ft.then(function(){var cn=gt._findContainer(Ue.path);cn&&cn.removeControl(Ue.name)})}},{key:"getFormGroup",value:function(Ue){return this.form.get(Ue.path)}},{key:"updateModel",value:function(Ue,gt){var cn=this;ft.then(function(){cn.form.get(Ue.path).setValue(gt)})}},{key:"setValue",value:function(Ue){this.control.setValue(Ue)}},{key:"onSubmit",value:function(Ue){return this.submitted=!0,Xt(this.form,this._directives),this.ngSubmit.emit(Ue),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){var Ue=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.form.reset(Ue),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(Ue){return Ue.pop(),Ue.length?this.form.get(Ue):this.form}}]),me}(zn);return $.\u0275fac=function(pe){return new(pe||$)(x.Y36(Y,10),x.Y36(ae,10))},$.\u0275dir=x.lG2({type:$,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(pe,me){1&pe&&x.NdJ("submit",function(Ue){return me.onSubmit(Ue)})("reset",function(){return me.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[x._Bn([Gt]),x.qOj]}),$}(),Rr={provide:Wn,useExisting:(0,x.Gpc)(function(){return ji})},Gn=function(){return Promise.resolve(null)}(),ji=function(){var $=function(le){(0,w.Z)(me,le);var pe=(0,R.Z)(me);function me(Ae,Ue,gt,cn){var yt;return(0,b.Z)(this,me),(yt=pe.call(this)).control=new Ei,yt._registered=!1,yt.update=new x.vpe,yt._parent=Ae,yt._setValidators(Ue),yt._setAsyncValidators(gt),yt.valueAccessor=Tn((0,B.Z)(yt),cn),yt}return(0,E.Z)(me,[{key:"ngOnChanges",value:function(Ue){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in Ue&&this._updateDisabled(Ue),pt(Ue,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"path",get:function(){return this._parent?on(this.name,this._parent):[this.name]}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"viewToModelUpdate",value:function(Ue){this.viewModel=Ue,this.update.emit(Ue)}},{key:"_setUpControl",value:function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}},{key:"_isStandalone",value:function(){return!this._parent||!(!this.options||!this.options.standalone)}},{key:"_setUpStandalone",value:function(){hn(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}},{key:"_checkForErrors",value:function(){this._isStandalone()||this._checkParentType(),this._checkName()}},{key:"_checkParentType",value:function(){}},{key:"_checkName",value:function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}},{key:"_updateValue",value:function(Ue){var gt=this;Gn.then(function(){gt.control.setValue(Ue,{emitViewToModelChange:!1})})}},{key:"_updateDisabled",value:function(Ue){var gt=this,cn=Ue.isDisabled.currentValue,yt=""===cn||cn&&"false"!==cn;Gn.then(function(){yt&&!gt.control.disabled?gt.control.disable():!yt&&gt.control.disabled&&gt.control.enable()})}}]),me}(Wn);return $.\u0275fac=function(pe){return new(pe||$)(x.Y36(zn,9),x.Y36(Y,10),x.Y36(ae,10),x.Y36(g,10))},$.\u0275dir=x.lG2({type:$,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[x._Bn([Rr]),x.qOj,x.TTD]}),$}(),Mr=function(){var $=function le(){(0,b.Z)(this,le)};return $.\u0275fac=function(pe){return new(pe||$)},$.\u0275dir=x.lG2({type:$,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),$}(),na={provide:g,useExisting:(0,x.Gpc)(function(){return fa}),multi:!0},fa=function(){var $=function(le){(0,w.Z)(me,le);var pe=(0,R.Z)(me);function me(){return(0,b.Z)(this,me),pe.apply(this,arguments)}return(0,E.Z)(me,[{key:"writeValue",value:function(Ue){this.setProperty("value",null==Ue?"":Ue)}},{key:"registerOnChange",value:function(Ue){this.onChange=function(gt){Ue(""==gt?null:parseFloat(gt))}}}]),me}(v);return $.\u0275fac=function(){var le;return function(me){return(le||(le=x.n5z($)))(me||$)}}(),$.\u0275dir=x.lG2({type:$,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(pe,me){1&pe&&x.NdJ("input",function(Ue){return me.onChange(Ue.target.value)})("blur",function(){return me.onTouched()})},features:[x._Bn([na]),x.qOj]}),$}(),_a=function(){var $=function le(){(0,b.Z)(this,le)};return $.\u0275fac=function(pe){return new(pe||$)},$.\u0275mod=x.oAB({type:$}),$.\u0275inj=x.cJS({}),$}(),Oo=new x.OlP("NgModelWithFormControlWarning"),Gr={provide:zn,useExisting:(0,x.Gpc)(function(){return fi})},fi=function(){var $=function(le){(0,w.Z)(me,le);var pe=(0,R.Z)(me);function me(Ae,Ue){var gt;return(0,b.Z)(this,me),(gt=pe.call(this)).validators=Ae,gt.asyncValidators=Ue,gt.submitted=!1,gt._onCollectionChange=function(){return gt._updateDomValue()},gt.directives=[],gt.form=null,gt.ngSubmit=new x.vpe,gt._setValidators(Ae),gt._setAsyncValidators(Ue),gt}return(0,E.Z)(me,[{key:"ngOnChanges",value:function(Ue){this._checkFormPresent(),Ue.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}},{key:"ngOnDestroy",value:function(){this.form&&(Ct(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"addControl",value:function(Ue){var gt=this.form.get(Ue.path);return hn(gt,Ue),gt.updateValueAndValidity({emitEvent:!1}),this.directives.push(Ue),gt}},{key:"getControl",value:function(Ue){return this.form.get(Ue.path)}},{key:"removeControl",value:function(Ue){yn(Ue.control||null,Ue),Dn(this.directives,Ue)}},{key:"addFormGroup",value:function(Ue){this._setUpFormContainer(Ue)}},{key:"removeFormGroup",value:function(Ue){this._cleanUpFormContainer(Ue)}},{key:"getFormGroup",value:function(Ue){return this.form.get(Ue.path)}},{key:"addFormArray",value:function(Ue){this._setUpFormContainer(Ue)}},{key:"removeFormArray",value:function(Ue){this._cleanUpFormContainer(Ue)}},{key:"getFormArray",value:function(Ue){return this.form.get(Ue.path)}},{key:"updateModel",value:function(Ue,gt){this.form.get(Ue.path).setValue(gt)}},{key:"onSubmit",value:function(Ue){return this.submitted=!0,Xt(this.form,this.directives),this.ngSubmit.emit(Ue),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){var Ue=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.form.reset(Ue),this.submitted=!1}},{key:"_updateDomValue",value:function(){var Ue=this;this.directives.forEach(function(gt){var cn=gt.control,yt=Ue.form.get(gt.path);cn!==yt&&(yn(cn||null,gt),yt instanceof Ei&&(hn(yt,gt),gt.control=yt))}),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_setUpFormContainer",value:function(Ue){var gt=this.form.get(Ue.path);we(gt,Ue),gt.updateValueAndValidity({emitEvent:!1})}},{key:"_cleanUpFormContainer",value:function(Ue){if(this.form){var gt=this.form.get(Ue.path);if(gt){var cn=function($,le){return Ct($,le)}(gt,Ue);cn&&gt.updateValueAndValidity({emitEvent:!1})}}}},{key:"_updateRegistrations",value:function(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})}},{key:"_updateValidators",value:function(){Lt(this.form,this),this._oldForm&&Ct(this._oldForm,this)}},{key:"_checkFormPresent",value:function(){}}]),me}(zn);return $.\u0275fac=function(pe){return new(pe||$)(x.Y36(Y,10),x.Y36(ae,10))},$.\u0275dir=x.lG2({type:$,selectors:[["","formGroup",""]],hostBindings:function(pe,me){1&pe&&x.NdJ("submit",function(Ue){return me.onSubmit(Ue)})("reset",function(){return me.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[x._Bn([Gr]),x.qOj,x.TTD]}),$}(),vr={provide:Wn,useExisting:(0,x.Gpc)(function(){return ya})},ya=function(){var $=function(le){(0,w.Z)(me,le);var pe=(0,R.Z)(me);function me(Ae,Ue,gt,cn,yt){var Rt;return(0,b.Z)(this,me),(Rt=pe.call(this))._ngModelWarningConfig=yt,Rt._added=!1,Rt.update=new x.vpe,Rt._ngModelWarningSent=!1,Rt._parent=Ae,Rt._setValidators(Ue),Rt._setAsyncValidators(gt),Rt.valueAccessor=Tn((0,B.Z)(Rt),cn),Rt}return(0,E.Z)(me,[{key:"isDisabled",set:function(Ue){}},{key:"ngOnChanges",value:function(Ue){this._added||this._setUpControl(),pt(Ue,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(Ue){this.viewModel=Ue,this.update.emit(Ue)}},{key:"path",get:function(){return on(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"_checkParentType",value:function(){}},{key:"_setUpControl",value:function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}]),me}(Wn);return $._ngModelWarningSentOnce=!1,$.\u0275fac=function(pe){return new(pe||$)(x.Y36(zn,13),x.Y36(Y,10),x.Y36(ae,10),x.Y36(g,10),x.Y36(Oo,8))},$.\u0275dir=x.lG2({type:$,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[x._Bn([vr]),x.qOj,x.TTD]}),$}(),mr={provide:Y,useExisting:(0,x.Gpc)(function(){return $a}),multi:!0},Rn={provide:Y,useExisting:(0,x.Gpc)(function(){return Fi}),multi:!0},$a=function(){var $=function(){function le(){(0,b.Z)(this,le),this._required=!1}return(0,E.Z)(le,[{key:"required",get:function(){return this._required},set:function(me){this._required=null!=me&&!1!==me&&"false"!=="".concat(me),this._onChange&&this._onChange()}},{key:"validate",value:function(me){return this.required?de(me):null}},{key:"registerOnValidatorChange",value:function(me){this._onChange=me}}]),le}();return $.\u0275fac=function(pe){return new(pe||$)},$.\u0275dir=x.lG2({type:$,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(pe,me){2&pe&&x.uIk("required",me.required?"":null)},inputs:{required:"required"},features:[x._Bn([mr])]}),$}(),Fi=function(){var $=function(le){(0,w.Z)(me,le);var pe=(0,R.Z)(me);function me(){return(0,b.Z)(this,me),pe.apply(this,arguments)}return(0,E.Z)(me,[{key:"validate",value:function(Ue){return this.required?oe(Ue):null}}]),me}($a);return $.\u0275fac=function(){var le;return function(me){return(le||(le=x.n5z($)))(me||$)}}(),$.\u0275dir=x.lG2({type:$,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(pe,me){2&pe&&x.uIk("required",me.required?"":null)},features:[x._Bn([Rn]),x.qOj]}),$}(),ls=function(){var $=function le(){(0,b.Z)(this,le)};return $.\u0275fac=function(pe){return new(pe||$)},$.\u0275mod=x.oAB({type:$}),$.\u0275inj=x.cJS({imports:[[_a]]}),$}(),Lu=function(){var $=function le(){(0,b.Z)(this,le)};return $.\u0275fac=function(pe){return new(pe||$)},$.\u0275mod=x.oAB({type:$}),$.\u0275inj=x.cJS({imports:[ls]}),$}(),ja=function(){var $=function(){function le(){(0,b.Z)(this,le)}return(0,E.Z)(le,null,[{key:"withConfig",value:function(me){return{ngModule:le,providers:[{provide:Oo,useValue:me.warnOnNgModelWithFormControl}]}}}]),le}();return $.\u0275fac=function(pe){return new(pe||$)},$.\u0275mod=x.oAB({type:$}),$.\u0275inj=x.cJS({imports:[ls]}),$}();function Ee($){return void 0!==$.asyncValidators||void 0!==$.validators||void 0!==$.updateOn}var Ne=function(){var $=function(){function le(){(0,b.Z)(this,le)}return(0,E.Z)(le,[{key:"group",value:function(me){var Ae=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,Ue=this._reduceControls(me),gt=null,cn=null,yt=void 0;return null!=Ae&&(Ee(Ae)?(gt=null!=Ae.validators?Ae.validators:null,cn=null!=Ae.asyncValidators?Ae.asyncValidators:null,yt=null!=Ae.updateOn?Ae.updateOn:void 0):(gt=null!=Ae.validator?Ae.validator:null,cn=null!=Ae.asyncValidator?Ae.asyncValidator:null)),new Zi(Ue,{asyncValidators:cn,updateOn:yt,validators:gt})}},{key:"control",value:function(me,Ae,Ue){return new Ei(me,Ae,Ue)}},{key:"array",value:function(me,Ae,Ue){var gt=this,cn=me.map(function(yt){return gt._createControl(yt)});return new Ht(cn,Ae,Ue)}},{key:"_reduceControls",value:function(me){var Ae=this,Ue={};return Object.keys(me).forEach(function(gt){Ue[gt]=Ae._createControl(me[gt])}),Ue}},{key:"_createControl",value:function(me){return me instanceof Ei||me instanceof Zi||me instanceof Ht?me:Array.isArray(me)?this.control(me[0],me.length>1?me[1]:null,me.length>2?me[2]:null):this.control(me)}}]),le}();return $.\u0275fac=function(pe){return new(pe||$)},$.\u0275prov=x.Yz7({token:$,factory:$.\u0275fac,providedIn:ja}),$}()},6731:function(ue,j,f){"use strict";f.d(j,{yN:function(){return W},mZ:function(){return Y},rD:function(){return mt},K7:function(){return Ge},HF:function(){return Me},Y2:function(){return Qn},BQ:function(){return ce},X2:function(){return Yt},uc:function(){return Mn},Nv:function(){return vt},ey:function(){return on},Ng:function(){return Cn},nP:function(){return kt},us:function(){return Ye},wG:function(){return rn},si:function(){return _n},IR:function(){return nr},CB:function(){return hn},jH:function(){return yn},pj:function(){return de},Kr:function(){return oe},Id:function(){return he},FD:function(){return ge},dB:function(){return qe},sb:function(){return Ce},E0:function(){return un}});var B=f(3801),U=f(10509),V=f(97154),L=f(14105),w=f(18967),R=f(83668),b=f(47497),E=f(58290),x=new R.GfV("13.0.0"),Z=f(86019),O=f(50928),y=f(80348),T=f(27807),D=f(15801),v=f(85148),g=f(39555),M=f(51628),k=["*",[["mat-option"],["ng-container"]]],S=["*","mat-option, ng-container"];function I(Nt,Lt){if(1&Nt&&R._UZ(0,"mat-pseudo-checkbox",4),2&Nt){var Ct=R.oxw();R.Q6J("state",Ct.selected?"checked":"unchecked")("disabled",Ct.disabled)}}function F(Nt,Lt){if(1&Nt&&(R.TgZ(0,"span",5),R._uU(1),R.qZA()),2&Nt){var Ct=R.oxw();R.xp6(1),R.hij("(",Ct.group.label,")")}}var G=["*"],W=function(){var Nt=function Lt(){(0,w.Z)(this,Lt)};return Nt.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",Nt.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",Nt.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",Nt.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",Nt}(),Y=function(){var Nt=function Lt(){(0,w.Z)(this,Lt)};return Nt.COMPLEX="375ms",Nt.ENTERING="225ms",Nt.EXITING="195ms",Nt}(),ae=new R.GfV("13.0.0"),fe=new R.OlP("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),ce=function(){var Nt=function(){function Lt(Ct,Ot,ht){(0,w.Z)(this,Lt),this._hasDoneGlobalChecks=!1,this._document=ht,Ct._applyBodyHighContrastModeCssClasses(),this._sanityChecks=Ot,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return(0,L.Z)(Lt,[{key:"_checkIsEnabled",value:function(Ot){return!(!(0,R.X6Q)()||(0,O.Oy)())&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[Ot])}},{key:"_checkDoctypeIsDefined",value:function(){this._checkIsEnabled("doctype")&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}},{key:"_checkThemeIsPresent",value:function(){if(this._checkIsEnabled("theme")&&this._document.body&&"function"==typeof getComputedStyle){var Ot=this._document.createElement("div");Ot.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(Ot);var ht=getComputedStyle(Ot);ht&&"none"!==ht.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),Ot.remove()}}},{key:"_checkCdkVersionMatch",value:function(){this._checkIsEnabled("version")&&ae.full!==x.full&&console.warn("The Angular Material version ("+ae.full+") does not match the Angular CDK version ("+x.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),Lt}();return Nt.\u0275fac=function(Ct){return new(Ct||Nt)(R.LFG(b.qm),R.LFG(fe,8),R.LFG(Z.K0))},Nt.\u0275mod=R.oAB({type:Nt}),Nt.\u0275inj=R.cJS({imports:[[E.vT],E.vT]}),Nt}();function he(Nt){return function(Lt){(0,U.Z)(Ot,Lt);var Ct=(0,V.Z)(Ot);function Ot(){var ht;(0,w.Z)(this,Ot);for(var lt=arguments.length,_t=new Array(lt),we=0;we<lt;we++)_t[we]=arguments[we];return(ht=Ct.call.apply(Ct,[this].concat(_t)))._disabled=!1,ht}return(0,L.Z)(Ot,[{key:"disabled",get:function(){return this._disabled},set:function(lt){this._disabled=(0,y.Ig)(lt)}}]),Ot}(Nt)}function de(Nt,Lt){return function(Ct){(0,U.Z)(ht,Ct);var Ot=(0,V.Z)(ht);function ht(){var lt;(0,w.Z)(this,ht);for(var _t=arguments.length,we=new Array(_t),je=0;je<_t;je++)we[je]=arguments[je];return(lt=Ot.call.apply(Ot,[this].concat(we))).defaultColor=Lt,lt.color=Lt,lt}return(0,L.Z)(ht,[{key:"color",get:function(){return this._color},set:function(_t){var we=_t||this.defaultColor;we!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-".concat(this._color)),we&&this._elementRef.nativeElement.classList.add("mat-".concat(we)),this._color=we)}}]),ht}(Nt)}function oe(Nt){return function(Lt){(0,U.Z)(Ot,Lt);var Ct=(0,V.Z)(Ot);function Ot(){var ht;(0,w.Z)(this,Ot);for(var lt=arguments.length,_t=new Array(lt),we=0;we<lt;we++)_t[we]=arguments[we];return(ht=Ct.call.apply(Ct,[this].concat(_t)))._disableRipple=!1,ht}return(0,L.Z)(Ot,[{key:"disableRipple",get:function(){return this._disableRipple},set:function(lt){this._disableRipple=(0,y.Ig)(lt)}}]),Ot}(Nt)}function Ce(Nt){var Lt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(Ct){(0,U.Z)(ht,Ct);var Ot=(0,V.Z)(ht);function ht(){var lt;(0,w.Z)(this,ht);for(var _t=arguments.length,we=new Array(_t),je=0;je<_t;je++)we[je]=arguments[je];return(lt=Ot.call.apply(Ot,[this].concat(we)))._tabIndex=Lt,lt.defaultTabIndex=Lt,lt}return(0,L.Z)(ht,[{key:"tabIndex",get:function(){return this.disabled?-1:this._tabIndex},set:function(_t){this._tabIndex=null!=_t?(0,y.su)(_t):this.defaultTabIndex}}]),ht}(Nt)}function ge(Nt){return function(Lt){(0,U.Z)(Ot,Lt);var Ct=(0,V.Z)(Ot);function Ot(){var ht;(0,w.Z)(this,Ot);for(var lt=arguments.length,_t=new Array(lt),we=0;we<lt;we++)_t[we]=arguments[we];return(ht=Ct.call.apply(Ct,[this].concat(_t))).stateChanges=new T.xQ,ht.errorState=!1,ht}return(0,L.Z)(Ot,[{key:"updateErrorState",value:function(){var lt=this.errorState,Re=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);Re!==lt&&(this.errorState=Re,this.stateChanges.next())}}]),Ot}(Nt)}function qe(Nt){return function(Lt){(0,U.Z)(Ot,Lt);var Ct=(0,V.Z)(Ot);function Ot(){var ht;(0,w.Z)(this,Ot);for(var lt=arguments.length,_t=new Array(lt),we=0;we<lt;we++)_t[we]=arguments[we];return(ht=Ct.call.apply(Ct,[this].concat(_t)))._isInitialized=!1,ht._pendingSubscribers=[],ht.initialized=new D.y(function(je){ht._isInitialized?ht._notifySubscriber(je):ht._pendingSubscribers.push(je)}),ht}return(0,L.Z)(Ot,[{key:"_markInitialized",value:function(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}},{key:"_notifySubscriber",value:function(lt){lt.next(),lt.complete()}}]),Ot}(Nt)}var mt=function(){var Nt=function(){function Lt(){(0,w.Z)(this,Lt)}return(0,L.Z)(Lt,[{key:"isErrorState",value:function(Ot,ht){return!!(Ot&&Ot.invalid&&(Ot.touched||ht&&ht.submitted))}}]),Lt}();return Nt.\u0275fac=function(Ct){return new(Ct||Nt)},Nt.\u0275prov=R.Yz7({token:Nt,factory:Nt.\u0275fac,providedIn:"root"}),Nt}(),Yt=function(){var Nt=function Lt(){(0,w.Z)(this,Lt)};return Nt.\u0275fac=function(Ct){return new(Ct||Nt)},Nt.\u0275dir=R.lG2({type:Nt,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),Nt}();function un(Nt,Lt){var Ct=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat";Nt.changes.pipe((0,v.O)(Nt)).subscribe(function(Ot){var ht=Ot.length;Ut(Lt,"".concat(Ct,"-2-line"),!1),Ut(Lt,"".concat(Ct,"-3-line"),!1),Ut(Lt,"".concat(Ct,"-multi-line"),!1),2===ht||3===ht?Ut(Lt,"".concat(Ct,"-").concat(ht,"-line"),!0):ht>3&&Ut(Lt,"".concat(Ct,"-multi-line"),!0)})}function Ut(Nt,Lt,Ct){Nt.nativeElement.classList.toggle(Lt,Ct)}var Mn=function(){var Nt=function Lt(){(0,w.Z)(this,Lt)};return Nt.\u0275fac=function(Ct){return new(Ct||Nt)},Nt.\u0275mod=R.oAB({type:Nt}),Nt.\u0275inj=R.cJS({imports:[[ce],ce]}),Nt}(),On=function(){function Nt(Lt,Ct,Ot){(0,w.Z)(this,Nt),this._renderer=Lt,this.element=Ct,this.config=Ot,this.state=3}return(0,L.Z)(Nt,[{key:"fadeOut",value:function(){this._renderer.fadeOutRipple(this)}}]),Nt}(),Fn={enterDuration:225,exitDuration:150},Vn=(0,O.i$)({passive:!0}),zn=["mousedown","touchstart"],Wn=["mouseup","mouseleave","touchend","touchcancel"],nr=function(){function Nt(Lt,Ct,Ot,ht){(0,w.Z)(this,Nt),this._target=Lt,this._ngZone=Ct,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,ht.isBrowser&&(this._containerElement=(0,y.fI)(Ot))}return(0,L.Z)(Nt,[{key:"fadeInRipple",value:function(Ct,Ot){var ht=this,lt=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},_t=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),we=(0,B.Z)((0,B.Z)({},Fn),lt.animation);lt.centered&&(Ct=_t.left+_t.width/2,Ot=_t.top+_t.height/2);var je=lt.radius||Sr(Ct,Ot,_t),Re=Ct-_t.left,Xe=Ot-_t.top,pt=we.enterDuration,Ft=document.createElement("div");Ft.classList.add("mat-ripple-element"),Ft.style.left="".concat(Re-je,"px"),Ft.style.top="".concat(Xe-je,"px"),Ft.style.height="".concat(2*je,"px"),Ft.style.width="".concat(2*je,"px"),null!=lt.color&&(Ft.style.backgroundColor=lt.color),Ft.style.transitionDuration="".concat(pt,"ms"),this._containerElement.appendChild(Ft),ar(Ft),Ft.style.transform="scale(1)";var Xt=new On(this,Ft,lt);return Xt.state=0,this._activeRipples.add(Xt),lt.persistent||(this._mostRecentTransientRipple=Xt),this._runTimeoutOutsideZone(function(){var Tn=Xt===ht._mostRecentTransientRipple;Xt.state=1,!lt.persistent&&(!Tn||!ht._isPointerDown)&&Xt.fadeOut()},pt),Xt}},{key:"fadeOutRipple",value:function(Ct){var Ot=this._activeRipples.delete(Ct);if(Ct===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),Ot){var ht=Ct.element,lt=(0,B.Z)((0,B.Z)({},Fn),Ct.config.animation);ht.style.transitionDuration="".concat(lt.exitDuration,"ms"),ht.style.opacity="0",Ct.state=2,this._runTimeoutOutsideZone(function(){Ct.state=3,ht.remove()},lt.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach(function(Ct){return Ct.fadeOut()})}},{key:"fadeOutAllNonPersistent",value:function(){this._activeRipples.forEach(function(Ct){Ct.config.persistent||Ct.fadeOut()})}},{key:"setupTriggerEvents",value:function(Ct){var Ot=(0,y.fI)(Ct);!Ot||Ot===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Ot,this._registerEvents(zn))}},{key:"handleEvent",value:function(Ct){"mousedown"===Ct.type?this._onMousedown(Ct):"touchstart"===Ct.type?this._onTouchStart(Ct):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Wn),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(Ct){var Ot=(0,b.X6)(Ct),ht=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!Ot&&!ht&&(this._isPointerDown=!0,this.fadeInRipple(Ct.clientX,Ct.clientY,this._target.rippleConfig))}},{key:"_onTouchStart",value:function(Ct){if(!this._target.rippleDisabled&&!(0,b.yG)(Ct)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;for(var Ot=Ct.changedTouches,ht=0;ht<Ot.length;ht++)this.fadeInRipple(Ot[ht].clientX,Ot[ht].clientY,this._target.rippleConfig)}}},{key:"_onPointerUp",value:function(){!this._isPointerDown||(this._isPointerDown=!1,this._activeRipples.forEach(function(Ct){!Ct.config.persistent&&(1===Ct.state||Ct.config.terminateOnPointerUp&&0===Ct.state)&&Ct.fadeOut()}))}},{key:"_runTimeoutOutsideZone",value:function(Ct){var Ot=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular(function(){return setTimeout(Ct,Ot)})}},{key:"_registerEvents",value:function(Ct){var Ot=this;this._ngZone.runOutsideAngular(function(){Ct.forEach(function(ht){Ot._triggerElement.addEventListener(ht,Ot,Vn)})})}},{key:"_removeTriggerEvents",value:function(){var Ct=this;this._triggerElement&&(zn.forEach(function(Ot){Ct._triggerElement.removeEventListener(Ot,Ct,Vn)}),this._pointerUpEventsRegistered&&Wn.forEach(function(Ot){Ct._triggerElement.removeEventListener(Ot,Ct,Vn)}))}}]),Nt}();function ar(Nt){window.getComputedStyle(Nt).getPropertyValue("opacity")}function Sr(Nt,Lt,Ct){var Ot=Math.max(Math.abs(Nt-Ct.left),Math.abs(Nt-Ct.right)),ht=Math.max(Math.abs(Lt-Ct.top),Math.abs(Lt-Ct.bottom));return Math.sqrt(Ot*Ot+ht*ht)}var Qn=new R.OlP("mat-ripple-global-options"),rn=function(){var Nt=function(){function Lt(Ct,Ot,ht,lt,_t){(0,w.Z)(this,Lt),this._elementRef=Ct,this._animationMode=_t,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=lt||{},this._rippleRenderer=new nr(this,Ot,Ct,ht)}return(0,L.Z)(Lt,[{key:"disabled",get:function(){return this._disabled},set:function(Ot){Ot&&this.fadeOutAllNonPersistent(),this._disabled=Ot,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(Ot){this._trigger=Ot,this._setupTriggerEventsIfEnabled()}},{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"fadeOutAllNonPersistent",value:function(){this._rippleRenderer.fadeOutAllNonPersistent()}},{key:"rippleConfig",get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:(0,B.Z)((0,B.Z)((0,B.Z)({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(Ot){var ht=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,lt=arguments.length>2?arguments[2]:void 0;return"number"==typeof Ot?this._rippleRenderer.fadeInRipple(Ot,ht,(0,B.Z)((0,B.Z)({},this.rippleConfig),lt)):this._rippleRenderer.fadeInRipple(0,0,(0,B.Z)((0,B.Z)({},this.rippleConfig),Ot))}}]),Lt}();return Nt.\u0275fac=function(Ct){return new(Ct||Nt)(R.Y36(R.SBq),R.Y36(R.R0b),R.Y36(O.t4),R.Y36(Qn,8),R.Y36(g.Qb,8))},Nt.\u0275dir=R.lG2({type:Nt,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(Ct,Ot){2&Ct&&R.ekj("mat-ripple-unbounded",Ot.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),Nt}(),_n=function(){var Nt=function Lt(){(0,w.Z)(this,Lt)};return Nt.\u0275fac=function(Ct){return new(Ct||Nt)},Nt.\u0275mod=R.oAB({type:Nt}),Nt.\u0275inj=R.cJS({imports:[[ce,O.ud],ce]}),Nt}(),kt=function(){var Nt=function Lt(Ct){(0,w.Z)(this,Lt),this._animationMode=Ct,this.state="unchecked",this.disabled=!1};return Nt.\u0275fac=function(Ct){return new(Ct||Nt)(R.Y36(g.Qb,8))},Nt.\u0275cmp=R.Xpm({type:Nt,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(Ct,Ot){2&Ct&&R.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===Ot.state)("mat-pseudo-checkbox-checked","checked"===Ot.state)("mat-pseudo-checkbox-disabled",Ot.disabled)("_mat-animation-noopable","NoopAnimations"===Ot._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(Ct,Ot){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),Nt}(),Ye=function(){var Nt=function Lt(){(0,w.Z)(this,Lt)};return Nt.\u0275fac=function(Ct){return new(Ct||Nt)},Nt.\u0275mod=R.oAB({type:Nt}),Nt.\u0275inj=R.cJS({imports:[[ce]]}),Nt}(),Me=new R.OlP("MAT_OPTION_PARENT_COMPONENT"),ne=he(function(){return function Nt(){(0,w.Z)(this,Nt)}}()),be=0,Fe=function(){var Nt=function(Lt){(0,U.Z)(Ot,Lt);var Ct=(0,V.Z)(Ot);function Ot(ht){var lt,_t;return(0,w.Z)(this,Ot),(_t=Ct.call(this))._labelId="mat-optgroup-label-".concat(be++),_t._inert=null!==(lt=null==ht?void 0:ht.inertGroups)&&void 0!==lt&&lt,_t}return Ot}(ne);return Nt.\u0275fac=function(Ct){return new(Ct||Nt)(R.Y36(Me,8))},Nt.\u0275dir=R.lG2({type:Nt,inputs:{label:"label"},features:[R.qOj]}),Nt}(),Ge=new R.OlP("MatOptgroup"),vt=function(){var Nt=function(Lt){(0,U.Z)(Ot,Lt);var Ct=(0,V.Z)(Ot);function Ot(){return(0,w.Z)(this,Ot),Ct.apply(this,arguments)}return Ot}(Fe);return Nt.\u0275fac=function(){var Lt;return function(Ot){return(Lt||(Lt=R.n5z(Nt)))(Ot||Nt)}}(),Nt.\u0275cmp=R.Xpm({type:Nt,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-optgroup"],hostVars:5,hostBindings:function(Ct,Ot){2&Ct&&(R.uIk("role",Ot._inert?null:"group")("aria-disabled",Ot._inert?null:Ot.disabled.toString())("aria-labelledby",Ot._inert?null:Ot._labelId),R.ekj("mat-optgroup-disabled",Ot.disabled))},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[R._Bn([{provide:Ge,useExisting:Nt}]),R.qOj],ngContentSelectors:S,decls:4,vars:2,consts:[["aria-hidden","true",1,"mat-optgroup-label",3,"id"]],template:function(Ct,Ot){1&Ct&&(R.F$t(k),R.TgZ(0,"span",0),R._uU(1),R.Hsn(2),R.qZA(),R.Hsn(3,1)),2&Ct&&(R.Q6J("id",Ot._labelId),R.xp6(1),R.hij("",Ot.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),Nt}(),At=0,Vt=function Nt(Lt){var Ct=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(0,w.Z)(this,Nt),this.source=Lt,this.isUserInput=Ct},Kt=function(){var Nt=function(){function Lt(Ct,Ot,ht,lt){(0,w.Z)(this,Lt),this._element=Ct,this._changeDetectorRef=Ot,this._parent=ht,this.group=lt,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-".concat(At++),this.onSelectionChange=new R.vpe,this._stateChanges=new T.xQ}return(0,L.Z)(Lt,[{key:"multiple",get:function(){return this._parent&&this._parent.multiple}},{key:"selected",get:function(){return this._selected}},{key:"disabled",get:function(){return this.group&&this.group.disabled||this._disabled},set:function(Ot){this._disabled=(0,y.Ig)(Ot)}},{key:"disableRipple",get:function(){return this._parent&&this._parent.disableRipple}},{key:"active",get:function(){return this._active}},{key:"viewValue",get:function(){return(this._getHostElement().textContent||"").trim()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"focus",value:function(Ot,ht){var lt=this._getHostElement();"function"==typeof lt.focus&&lt.focus(ht)}},{key:"setActiveStyles",value:function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}},{key:"setInactiveStyles",value:function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}},{key:"getLabel",value:function(){return this.viewValue}},{key:"_handleKeydown",value:function(Ot){(Ot.keyCode===M.K5||Ot.keyCode===M.L_)&&!(0,M.Vb)(Ot)&&(this._selectViaInteraction(),Ot.preventDefault())}},{key:"_selectViaInteraction",value:function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}},{key:"_getAriaSelected",value:function(){return this.selected||!this.multiple&&null}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"ngAfterViewChecked",value:function(){if(this._selected){var Ot=this.viewValue;Ot!==this._mostRecentViewValue&&(this._mostRecentViewValue=Ot,this._stateChanges.next())}}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_emitSelectionChangeEvent",value:function(){var Ot=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.onSelectionChange.emit(new Vt(this,Ot))}}]),Lt}();return Nt.\u0275fac=function(Ct){R.$Z()},Nt.\u0275dir=R.lG2({type:Nt,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),Nt}(),on=function(){var Nt=function(Lt){(0,U.Z)(Ot,Lt);var Ct=(0,V.Z)(Ot);function Ot(ht,lt,_t,we){return(0,w.Z)(this,Ot),Ct.call(this,ht,lt,_t,we)}return Ot}(Kt);return Nt.\u0275fac=function(Ct){return new(Ct||Nt)(R.Y36(R.SBq),R.Y36(R.sBO),R.Y36(Me,8),R.Y36(Ge,8))},Nt.\u0275cmp=R.Xpm({type:Nt,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(Ct,Ot){1&Ct&&R.NdJ("click",function(){return Ot._selectViaInteraction()})("keydown",function(lt){return Ot._handleKeydown(lt)}),2&Ct&&(R.Ikx("id",Ot.id),R.uIk("tabindex",Ot._getTabIndex())("aria-selected",Ot._getAriaSelected())("aria-disabled",Ot.disabled.toString()),R.ekj("mat-selected",Ot.selected)("mat-option-multiple",Ot.multiple)("mat-active",Ot.active)("mat-option-disabled",Ot.disabled))},exportAs:["matOption"],features:[R.qOj],ngContentSelectors:G,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(Ct,Ot){1&Ct&&(R.F$t(),R.YNc(0,I,1,2,"mat-pseudo-checkbox",0),R.TgZ(1,"span",1),R.Hsn(2),R.qZA(),R.YNc(3,F,2,1,"span",2),R._UZ(4,"div",3)),2&Ct&&(R.Q6J("ngIf",Ot.multiple),R.xp6(3),R.Q6J("ngIf",Ot.group&&Ot.group._inert),R.xp6(1),R.Q6J("matRippleTrigger",Ot._getHostElement())("matRippleDisabled",Ot.disabled||Ot.disableRipple))},directives:[Z.O5,rn,kt],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),Nt}();function hn(Nt,Lt,Ct){if(Ct.length){for(var Ot=Lt.toArray(),ht=Ct.toArray(),lt=0,_t=0;_t<Nt+1;_t++)Ot[_t].group&&Ot[_t].group===ht[lt]&&lt++;return lt}return 0}function yn(Nt,Lt,Ct,Ot){return Nt<Ct?Nt:Nt+Lt>Ct+Ot?Math.max(0,Nt-Ot+Lt):Ct}var Cn=function(){var Nt=function Lt(){(0,w.Z)(this,Lt)};return Nt.\u0275fac=function(Ct){return new(Ct||Nt)},Nt.\u0275mod=R.oAB({type:Nt}),Nt.\u0275inj=R.cJS({imports:[[_n,Z.ez,ce,Ye]]}),Nt}()},85694:function(ue,j,f){"use strict";f.d(j,{d:function(){return R},t:function(){return b}});var B=f(18967),U=f(14105),V=f(83668),L=f(80348),w=f(6731),R=function(){var E=function(){function x(){(0,B.Z)(this,x),this._vertical=!1,this._inset=!1}return(0,U.Z)(x,[{key:"vertical",get:function(){return this._vertical},set:function(O){this._vertical=(0,L.Ig)(O)}},{key:"inset",get:function(){return this._inset},set:function(O){this._inset=(0,L.Ig)(O)}}]),x}();return E.\u0275fac=function(Z){return new(Z||E)},E.\u0275cmp=V.Xpm({type:E,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(Z,O){2&Z&&(V.uIk("aria-orientation",O.vertical?"vertical":"horizontal"),V.ekj("mat-divider-vertical",O.vertical)("mat-divider-horizontal",!O.vertical)("mat-divider-inset",O.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(Z,O){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),E}(),b=function(){var E=function x(){(0,B.Z)(this,x)};return E.\u0275fac=function(Z){return new(Z||E)},E.\u0275mod=V.oAB({type:E}),E.\u0275inj=V.cJS({imports:[[w.BQ],w.BQ]}),E}()},28167:function(ue,j,f){"use strict";f.d(j,{G_:function(){return ar},TO:function(){return bt},KE:function(){return Sr},Eo:function(){return xe},lN:function(){return Qn},hX:function(){return Yt},R9:function(){return Fn}});var B=f(333),U=f(14105),V=f(10509),L=f(97154),w=f(18967),R=f(13242),b=f(86019),E=f(83668),x=f(6731),Z=f(58290),O=f(80348),y=f(27807),T=f(69301),D=f(4998),v=f(85148),g=f(35634),M=f(63303),k=f(69814),S=f(50928),I=f(39555),F=["connectionContainer"],G=["inputContainer"],X=["label"];function W(rn,_n){1&rn&&(E.ynx(0),E.TgZ(1,"div",14),E._UZ(2,"div",15),E._UZ(3,"div",16),E._UZ(4,"div",17),E.qZA(),E.TgZ(5,"div",18),E._UZ(6,"div",15),E._UZ(7,"div",16),E._UZ(8,"div",17),E.qZA(),E.BQk())}function Y(rn,_n){1&rn&&(E.TgZ(0,"div",19),E.Hsn(1,1),E.qZA())}function ae(rn,_n){if(1&rn&&(E.ynx(0),E.Hsn(1,2),E.TgZ(2,"span"),E._uU(3),E.qZA(),E.BQk()),2&rn){var kt=E.oxw(2);E.xp6(3),E.Oqu(kt._control.placeholder)}}function K(rn,_n){1&rn&&E.Hsn(0,3,["*ngSwitchCase","true"])}function fe(rn,_n){1&rn&&(E.TgZ(0,"span",23),E._uU(1," *"),E.qZA())}function ce(rn,_n){if(1&rn){var kt=E.EpF();E.TgZ(0,"label",20,21),E.NdJ("cdkObserveContent",function(){return E.CHM(kt),E.oxw().updateOutlineGap()}),E.YNc(2,ae,4,1,"ng-container",12),E.YNc(3,K,1,0,"ng-content",12),E.YNc(4,fe,2,0,"span",22),E.qZA()}if(2&rn){var Ye=E.oxw();E.ekj("mat-empty",Ye._control.empty&&!Ye._shouldAlwaysFloat())("mat-form-field-empty",Ye._control.empty&&!Ye._shouldAlwaysFloat())("mat-accent","accent"==Ye.color)("mat-warn","warn"==Ye.color),E.Q6J("cdkObserveContentDisabled","outline"!=Ye.appearance)("id",Ye._labelId)("ngSwitch",Ye._hasLabel()),E.uIk("for",Ye._control.id)("aria-owns",Ye._control.id),E.xp6(2),E.Q6J("ngSwitchCase",!1),E.xp6(1),E.Q6J("ngSwitchCase",!0),E.xp6(1),E.Q6J("ngIf",!Ye.hideRequiredMarker&&Ye._control.required&&!Ye._control.disabled)}}function he(rn,_n){1&rn&&(E.TgZ(0,"div",24),E.Hsn(1,4),E.qZA())}function de(rn,_n){if(1&rn&&(E.TgZ(0,"div",25),E._UZ(1,"span",26),E.qZA()),2&rn){var kt=E.oxw();E.xp6(1),E.ekj("mat-accent","accent"==kt.color)("mat-warn","warn"==kt.color)}}function oe(rn,_n){if(1&rn&&(E.TgZ(0,"div"),E.Hsn(1,5),E.qZA()),2&rn){var kt=E.oxw();E.Q6J("@transitionMessages",kt._subscriptAnimationState)}}function Ce(rn,_n){if(1&rn&&(E.TgZ(0,"div",30),E._uU(1),E.qZA()),2&rn){var kt=E.oxw(2);E.Q6J("id",kt._hintLabelId),E.xp6(1),E.Oqu(kt.hintLabel)}}function ge(rn,_n){if(1&rn&&(E.TgZ(0,"div",27),E.YNc(1,Ce,2,2,"div",28),E.Hsn(2,6),E._UZ(3,"div",29),E.Hsn(4,7),E.qZA()),2&rn){var kt=E.oxw();E.Q6J("@transitionMessages",kt._subscriptAnimationState),E.xp6(1),E.Q6J("ngIf",kt.hintLabel)}}var qe=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],De=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],Qe=0,et=new E.OlP("MatError"),bt=function(){var rn=function _n(kt,Ye){(0,w.Z)(this,_n),this.id="mat-error-".concat(Qe++),kt||Ye.nativeElement.setAttribute("aria-live","polite")};return rn.\u0275fac=function(kt){return new(kt||rn)(E.$8M("aria-live"),E.Y36(E.SBq))},rn.\u0275dir=E.lG2({type:rn,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(kt,Ye){2&kt&&E.uIk("id",Ye.id)},inputs:{id:"id"},features:[E._Bn([{provide:et,useExisting:rn}])]}),rn}(),_e={transitionMessages:(0,k.X$)("transitionMessages",[(0,k.SB)("enter",(0,k.oB)({opacity:1,transform:"translateY(0%)"})),(0,k.eR)("void => enter",[(0,k.oB)({opacity:0,transform:"translateY(-5px)"}),(0,k.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},xe=function(){var rn=function _n(){(0,w.Z)(this,_n)};return rn.\u0275fac=function(kt){return new(kt||rn)},rn.\u0275dir=E.lG2({type:rn}),rn}(),Tt=new E.OlP("MatHint"),Yt=function(){var rn=function _n(){(0,w.Z)(this,_n)};return rn.\u0275fac=function(kt){return new(kt||rn)},rn.\u0275dir=E.lG2({type:rn,selectors:[["mat-label"]]}),rn}(),un=function(){var rn=function _n(){(0,w.Z)(this,_n)};return rn.\u0275fac=function(kt){return new(kt||rn)},rn.\u0275dir=E.lG2({type:rn,selectors:[["mat-placeholder"]]}),rn}(),Ut=new E.OlP("MatPrefix"),On=new E.OlP("MatSuffix"),Fn=function(){var rn=function _n(){(0,w.Z)(this,_n)};return rn.\u0275fac=function(kt){return new(kt||rn)},rn.\u0275dir=E.lG2({type:rn,selectors:[["","matSuffix",""]],features:[E._Bn([{provide:On,useExisting:rn}])]}),rn}(),Zn=0,Wn=(0,x.pj)(function(){return function rn(_n){(0,w.Z)(this,rn),this._elementRef=_n}}(),"primary"),nr=new E.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),ar=new E.OlP("MatFormField"),Sr=function(){var rn=function(_n){(0,V.Z)(Ye,_n);var kt=(0,L.Z)(Ye);function Ye(Me,ne,be,Fe,Ge,vt,At){var Vt;return(0,w.Z)(this,Ye),(Vt=kt.call(this,Me))._changeDetectorRef=ne,Vt._dir=be,Vt._defaults=Fe,Vt._platform=Ge,Vt._ngZone=vt,Vt._outlineGapCalculationNeededImmediately=!1,Vt._outlineGapCalculationNeededOnStable=!1,Vt._destroyed=new y.xQ,Vt._showAlwaysAnimate=!1,Vt._subscriptAnimationState="",Vt._hintLabel="",Vt._hintLabelId="mat-hint-".concat(Zn++),Vt._labelId="mat-form-field-label-".concat(Zn++),Vt.floatLabel=Vt._getDefaultFloatLabelState(),Vt._animationsEnabled="NoopAnimations"!==At,Vt.appearance=Fe&&Fe.appearance?Fe.appearance:"legacy",Vt._hideRequiredMarker=!(!Fe||null==Fe.hideRequiredMarker)&&Fe.hideRequiredMarker,Vt}return(0,U.Z)(Ye,[{key:"appearance",get:function(){return this._appearance},set:function(ne){var be=this._appearance;this._appearance=ne||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&be!==ne&&(this._outlineGapCalculationNeededOnStable=!0)}},{key:"hideRequiredMarker",get:function(){return this._hideRequiredMarker},set:function(ne){this._hideRequiredMarker=(0,O.Ig)(ne)}},{key:"_shouldAlwaysFloat",value:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}},{key:"_canLabelFloat",value:function(){return"never"!==this.floatLabel}},{key:"hintLabel",get:function(){return this._hintLabel},set:function(ne){this._hintLabel=ne,this._processHints()}},{key:"floatLabel",get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(ne){ne!==this._floatLabel&&(this._floatLabel=ne||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}},{key:"_control",get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(ne){this._explicitFormFieldControl=ne}},{key:"getLabelId",value:function(){return this._hasFloatingLabel()?this._labelId:null}},{key:"getConnectedOverlayOrigin",value:function(){return this._connectionContainerRef||this._elementRef}},{key:"ngAfterContentInit",value:function(){var ne=this;this._validateControlChild();var be=this._control;be.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-".concat(be.controlType)),be.stateChanges.pipe((0,v.O)(null)).subscribe(function(){ne._validatePlaceholders(),ne._syncDescribedByIds(),ne._changeDetectorRef.markForCheck()}),be.ngControl&&be.ngControl.valueChanges&&be.ngControl.valueChanges.pipe((0,g.R)(this._destroyed)).subscribe(function(){return ne._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){ne._ngZone.onStable.pipe((0,g.R)(ne._destroyed)).subscribe(function(){ne._outlineGapCalculationNeededOnStable&&ne.updateOutlineGap()})}),(0,T.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){ne._outlineGapCalculationNeededOnStable=!0,ne._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,v.O)(null)).subscribe(function(){ne._processHints(),ne._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,v.O)(null)).subscribe(function(){ne._syncDescribedByIds(),ne._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,g.R)(this._destroyed)).subscribe(function(){"function"==typeof requestAnimationFrame?ne._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return ne.updateOutlineGap()})}):ne.updateOutlineGap()})}},{key:"ngAfterContentChecked",value:function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}},{key:"ngAfterViewInit",value:function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_shouldForward",value:function(ne){var be=this._control?this._control.ngControl:null;return be&&be[ne]}},{key:"_hasPlaceholder",value:function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}},{key:"_hasLabel",value:function(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}},{key:"_hideControlPlaceholder",value:function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}},{key:"_hasFloatingLabel",value:function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}},{key:"_getDisplayedMessages",value:function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}},{key:"_animateAndLockLabel",value:function(){var ne=this;this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,D.R)(this._label.nativeElement,"transitionend").pipe((0,M.q)(1)).subscribe(function(){ne._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var ne=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&ne.push.apply(ne,(0,B.Z)(this._control.userAriaDescribedBy.split(" "))),"hint"===this._getDisplayedMessages()){var be=this._hintChildren?this._hintChildren.find(function(Ge){return"start"===Ge.align}):null,Fe=this._hintChildren?this._hintChildren.find(function(Ge){return"end"===Ge.align}):null;be?ne.push(be.id):this._hintLabel&&ne.push(this._hintLabelId),Fe&&ne.push(Fe.id)}else this._errorChildren&&ne.push.apply(ne,(0,B.Z)(this._errorChildren.map(function(Ge){return Ge.id})));this._control.setDescribedByIds(ne)}}},{key:"_validateControlChild",value:function(){}},{key:"updateOutlineGap",value:function(){var ne=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&ne&&ne.children.length&&ne.textContent.trim()&&this._platform.isBrowser){if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);var be=0,Fe=0,Ge=this._connectionContainerRef.nativeElement,vt=Ge.querySelectorAll(".mat-form-field-outline-start"),At=Ge.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var Vt=Ge.getBoundingClientRect();if(0===Vt.width&&0===Vt.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var Kt=this._getStartEnd(Vt),on=ne.children,hn=this._getStartEnd(on[0].getBoundingClientRect()),yn=0,Cn=0;Cn<on.length;Cn++)yn+=on[Cn].offsetWidth;be=Math.abs(hn-Kt)-5,Fe=yn>0?.75*yn+10:0}for(var Nt=0;Nt<vt.length;Nt++)vt[Nt].style.width="".concat(be,"px");for(var Lt=0;Lt<At.length;Lt++)At[Lt].style.width="".concat(Fe,"px");this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}}},{key:"_getStartEnd",value:function(ne){return this._dir&&"rtl"===this._dir.value?ne.right:ne.left}},{key:"_isAttachedToDOM",value:function(){var ne=this._elementRef.nativeElement;if(ne.getRootNode){var be=ne.getRootNode();return be&&be!==ne}return document.documentElement.contains(ne)}}]),Ye}(Wn);return rn.\u0275fac=function(kt){return new(kt||rn)(E.Y36(E.SBq),E.Y36(E.sBO),E.Y36(Z.Is,8),E.Y36(nr,8),E.Y36(S.t4),E.Y36(E.R0b),E.Y36(I.Qb,8))},rn.\u0275cmp=E.Xpm({type:rn,selectors:[["mat-form-field"]],contentQueries:function(kt,Ye,Me){var ne;1&kt&&(E.Suo(Me,xe,5),E.Suo(Me,xe,7),E.Suo(Me,Yt,5),E.Suo(Me,Yt,7),E.Suo(Me,un,5),E.Suo(Me,et,5),E.Suo(Me,Tt,5),E.Suo(Me,Ut,5),E.Suo(Me,On,5)),2&kt&&(E.iGM(ne=E.CRH())&&(Ye._controlNonStatic=ne.first),E.iGM(ne=E.CRH())&&(Ye._controlStatic=ne.first),E.iGM(ne=E.CRH())&&(Ye._labelChildNonStatic=ne.first),E.iGM(ne=E.CRH())&&(Ye._labelChildStatic=ne.first),E.iGM(ne=E.CRH())&&(Ye._placeholderChild=ne.first),E.iGM(ne=E.CRH())&&(Ye._errorChildren=ne),E.iGM(ne=E.CRH())&&(Ye._hintChildren=ne),E.iGM(ne=E.CRH())&&(Ye._prefixChildren=ne),E.iGM(ne=E.CRH())&&(Ye._suffixChildren=ne))},viewQuery:function(kt,Ye){var Me;1&kt&&(E.Gf(F,7),E.Gf(G,5),E.Gf(X,5)),2&kt&&(E.iGM(Me=E.CRH())&&(Ye._connectionContainerRef=Me.first),E.iGM(Me=E.CRH())&&(Ye._inputContainerRef=Me.first),E.iGM(Me=E.CRH())&&(Ye._label=Me.first))},hostAttrs:[1,"mat-form-field"],hostVars:40,hostBindings:function(kt,Ye){2&kt&&E.ekj("mat-form-field-appearance-standard","standard"==Ye.appearance)("mat-form-field-appearance-fill","fill"==Ye.appearance)("mat-form-field-appearance-outline","outline"==Ye.appearance)("mat-form-field-appearance-legacy","legacy"==Ye.appearance)("mat-form-field-invalid",Ye._control.errorState)("mat-form-field-can-float",Ye._canLabelFloat())("mat-form-field-should-float",Ye._shouldLabelFloat())("mat-form-field-has-label",Ye._hasFloatingLabel())("mat-form-field-hide-placeholder",Ye._hideControlPlaceholder())("mat-form-field-disabled",Ye._control.disabled)("mat-form-field-autofilled",Ye._control.autofilled)("mat-focused",Ye._control.focused)("ng-untouched",Ye._shouldForward("untouched"))("ng-touched",Ye._shouldForward("touched"))("ng-pristine",Ye._shouldForward("pristine"))("ng-dirty",Ye._shouldForward("dirty"))("ng-valid",Ye._shouldForward("valid"))("ng-invalid",Ye._shouldForward("invalid"))("ng-pending",Ye._shouldForward("pending"))("_mat-animation-noopable",!Ye._animationsEnabled)},inputs:{color:"color",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel",floatLabel:"floatLabel"},exportAs:["matFormField"],features:[E._Bn([{provide:ar,useExisting:rn}]),E.qOj],ngContentSelectors:De,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(kt,Ye){1&kt&&(E.F$t(qe),E.TgZ(0,"div",0),E.TgZ(1,"div",1,2),E.NdJ("click",function(ne){return Ye._control.onContainerClick&&Ye._control.onContainerClick(ne)}),E.YNc(3,W,9,0,"ng-container",3),E.YNc(4,Y,2,0,"div",4),E.TgZ(5,"div",5,6),E.Hsn(7),E.TgZ(8,"span",7),E.YNc(9,ce,5,16,"label",8),E.qZA(),E.qZA(),E.YNc(10,he,2,0,"div",9),E.qZA(),E.YNc(11,de,2,4,"div",10),E.TgZ(12,"div",11),E.YNc(13,oe,2,1,"div",12),E.YNc(14,ge,5,2,"div",13),E.qZA(),E.qZA()),2&kt&&(E.xp6(3),E.Q6J("ngIf","outline"==Ye.appearance),E.xp6(1),E.Q6J("ngIf",Ye._prefixChildren.length),E.xp6(5),E.Q6J("ngIf",Ye._hasFloatingLabel()),E.xp6(1),E.Q6J("ngIf",Ye._suffixChildren.length),E.xp6(1),E.Q6J("ngIf","outline"!=Ye.appearance),E.xp6(1),E.Q6J("ngSwitch",Ye._getDisplayedMessages()),E.xp6(1),E.Q6J("ngSwitchCase","error"),E.xp6(1),E.Q6J("ngSwitchCase","hint"))},directives:[b.O5,b.RF,b.n9,R.wD],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[_e.transitionMessages]},changeDetection:0}),rn}(),Qn=function(){var rn=function _n(){(0,w.Z)(this,_n)};return rn.\u0275fac=function(kt){return new(kt||rn)},rn.\u0275mod=E.oAB({type:rn}),rn.\u0275inj=E.cJS({imports:[[b.ez,x.BQ,R.Q8],x.BQ]}),rn}()},16400:function(ue,j,f){"use strict";f.d(j,{gD:function(){return Qn},LD:function(){return rn}});var B=f(38402),U=f(89200),V=f(333),L=f(14105),w=f(88009),R=f(10509),b=f(97154),E=f(18967),x=f(57219),Z=f(86019),O=f(83668),y=f(6731),T=f(28167),D=f(97226),v=f(47497),g=f(58290),M=f(80348),k=f(45351),S=f(51628),I=f(49133),F=f(27807),G=f(19770),X=f(69301),W=f(85148),Y=f(7060),ae=f(63303),K=f(50439),fe=f(98771),ce=f(65944),he=f(35634),de=f(69814),oe=["trigger"],Ce=["panel"];function ge(_n,kt){if(1&_n&&(O.TgZ(0,"span",8),O._uU(1),O.qZA()),2&_n){var Ye=O.oxw();O.xp6(1),O.Oqu(Ye.placeholder)}}function qe(_n,kt){if(1&_n&&(O.TgZ(0,"span",12),O._uU(1),O.qZA()),2&_n){var Ye=O.oxw(2);O.xp6(1),O.Oqu(Ye.triggerValue)}}function De(_n,kt){1&_n&&O.Hsn(0,0,["*ngSwitchCase","true"])}function Qe(_n,kt){if(1&_n&&(O.TgZ(0,"span",9),O.YNc(1,qe,2,1,"span",10),O.YNc(2,De,1,0,"ng-content",11),O.qZA()),2&_n){var Ye=O.oxw();O.Q6J("ngSwitch",!!Ye.customTrigger),O.xp6(2),O.Q6J("ngSwitchCase",!0)}}function et(_n,kt){if(1&_n){var Ye=O.EpF();O.TgZ(0,"div",13),O.TgZ(1,"div",14,15),O.NdJ("@transformPanel.done",function(be){return O.CHM(Ye),O.oxw()._panelDoneAnimatingStream.next(be.toState)})("keydown",function(be){return O.CHM(Ye),O.oxw()._handleKeydown(be)}),O.Hsn(3,1),O.qZA(),O.qZA()}if(2&_n){var Me=O.oxw();O.Q6J("@transformPanelWrap",void 0),O.xp6(1),O.Gre("mat-select-panel ",Me._getPanelTheme(),""),O.Udp("transform-origin",Me._transformOrigin)("font-size",Me._triggerFontSize,"px"),O.Q6J("ngClass",Me.panelClass)("@transformPanel",Me.multiple?"showing-multiple":"showing"),O.uIk("id",Me.id+"-panel")("aria-multiselectable",Me.multiple)("aria-label",Me.ariaLabel||null)("aria-labelledby",Me._getPanelAriaLabelledby())}}var bt=[[["mat-select-trigger"]],"*"],_e=["mat-select-trigger","*"],xe={transformPanelWrap:(0,de.X$)("transformPanelWrap",[(0,de.eR)("* => void",(0,de.IO)("@transformPanel",[(0,de.pV)()],{optional:!0}))]),transformPanel:(0,de.X$)("transformPanel",[(0,de.SB)("void",(0,de.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,de.SB)("showing",(0,de.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,de.SB)("showing-multiple",(0,de.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,de.eR)("void => *",(0,de.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,de.eR)("* => void",(0,de.jt)("100ms 25ms linear",(0,de.oB)({opacity:0})))])},Zt=0,On=new O.OlP("mat-select-scroll-strategy"),Zn=new O.OlP("MAT_SELECT_CONFIG"),Vn={provide:On,deps:[x.aV],useFactory:function(_n){return function(){return _n.scrollStrategies.reposition()}}},zn=function _n(kt,Ye){(0,E.Z)(this,_n),this.source=kt,this.value=Ye},Wn=(0,y.Kr)((0,y.sb)((0,y.Id)((0,y.FD)(function(){return function _n(kt,Ye,Me,ne,be){(0,E.Z)(this,_n),this._elementRef=kt,this._defaultErrorStateMatcher=Ye,this._parentForm=Me,this._parentFormGroup=ne,this.ngControl=be}}())))),nr=new O.OlP("MatSelectTrigger"),Sr=function(){var _n=function(kt){(0,R.Z)(Me,kt);var Ye=(0,b.Z)(Me);function Me(ne,be,Fe,Ge,vt,At,Vt,Kt,on,hn,yn,Cn,Nt,Lt){var Ct,Ot,ht,lt;return(0,E.Z)(this,Me),(lt=Ye.call(this,vt,Ge,Vt,Kt,hn))._viewportRuler=ne,lt._changeDetectorRef=be,lt._ngZone=Fe,lt._dir=At,lt._parentFormField=on,lt._liveAnnouncer=Nt,lt._defaultOptions=Lt,lt._panelOpen=!1,lt._compareWith=function(_t,we){return _t===we},lt._uid="mat-select-".concat(Zt++),lt._triggerAriaLabelledBy=null,lt._destroy=new F.xQ,lt._onChange=function(){},lt._onTouched=function(){},lt._valueId="mat-select-value-".concat(Zt++),lt._panelDoneAnimatingStream=new F.xQ,lt._overlayPanelClass=(null===(Ct=lt._defaultOptions)||void 0===Ct?void 0:Ct.overlayPanelClass)||"",lt._focused=!1,lt.controlType="mat-select",lt._multiple=!1,lt._disableOptionCentering=null!==(Ot=null===(ht=lt._defaultOptions)||void 0===ht?void 0:ht.disableOptionCentering)&&void 0!==Ot&&Ot,lt.ariaLabel="",lt.optionSelectionChanges=(0,G.P)(function(){var _t=lt.options;return _t?_t.changes.pipe((0,W.O)(_t),(0,Y.w)(function(){return X.T.apply(void 0,(0,V.Z)(_t.map(function(we){return we.onSelectionChange})))})):lt._ngZone.onStable.pipe((0,ae.q)(1),(0,Y.w)(function(){return lt.optionSelectionChanges}))}),lt.openedChange=new O.vpe,lt._openedStream=lt.openedChange.pipe((0,K.h)(function(_t){return _t}),(0,fe.U)(function(){})),lt._closedStream=lt.openedChange.pipe((0,K.h)(function(_t){return!_t}),(0,fe.U)(function(){})),lt.selectionChange=new O.vpe,lt.valueChange=new O.vpe,lt.ngControl&&(lt.ngControl.valueAccessor=(0,w.Z)(lt)),null!=(null==Lt?void 0:Lt.typeaheadDebounceInterval)&&(lt._typeaheadDebounceInterval=Lt.typeaheadDebounceInterval),lt._scrollStrategyFactory=Cn,lt._scrollStrategy=lt._scrollStrategyFactory(),lt.tabIndex=parseInt(yn)||0,lt.id=lt.id,lt}return(0,L.Z)(Me,[{key:"focused",get:function(){return this._focused||this._panelOpen}},{key:"placeholder",get:function(){return this._placeholder},set:function(be){this._placeholder=be,this.stateChanges.next()}},{key:"required",get:function(){var be,Fe,Ge,vt;return null!==(be=null!==(Fe=this._required)&&void 0!==Fe?Fe:null===(Ge=this.ngControl)||void 0===Ge||null===(vt=Ge.control)||void 0===vt?void 0:vt.hasValidator(I.kI.required))&&void 0!==be&&be},set:function(be){this._required=(0,M.Ig)(be),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(be){this._multiple=(0,M.Ig)(be)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(be){this._disableOptionCentering=(0,M.Ig)(be)}},{key:"compareWith",get:function(){return this._compareWith},set:function(be){this._compareWith=be,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(be){(be!==this._value||this._multiple&&Array.isArray(be))&&(this.options&&this._setSelectionByValue(be),this._value=be)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(be){this._typeaheadDebounceInterval=(0,M.su)(be)}},{key:"id",get:function(){return this._id},set:function(be){this._id=be||this._uid,this.stateChanges.next()}},{key:"ngOnInit",value:function(){var be=this;this._selectionModel=new k.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,ce.x)(),(0,he.R)(this._destroy)).subscribe(function(){return be._panelDoneAnimating(be.panelOpen)})}},{key:"ngAfterContentInit",value:function(){var be=this;this._initKeyManager(),this._selectionModel.changed.pipe((0,he.R)(this._destroy)).subscribe(function(Fe){Fe.added.forEach(function(Ge){return Ge.select()}),Fe.removed.forEach(function(Ge){return Ge.deselect()})}),this.options.changes.pipe((0,W.O)(null),(0,he.R)(this._destroy)).subscribe(function(){be._resetOptions(),be._initializeSelection()})}},{key:"ngDoCheck",value:function(){var be=this._getTriggerAriaLabelledby();if(be!==this._triggerAriaLabelledBy){var Fe=this._elementRef.nativeElement;this._triggerAriaLabelledBy=be,be?Fe.setAttribute("aria-labelledby",be):Fe.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}},{key:"ngOnChanges",value:function(be){be.disabled&&this.stateChanges.next(),be.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}},{key:"ngOnDestroy",value:function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}},{key:"toggle",value:function(){this.panelOpen?this.close():this.open()}},{key:"open",value:function(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}},{key:"close",value:function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}},{key:"writeValue",value:function(be){this.value=be}},{key:"registerOnChange",value:function(be){this._onChange=be}},{key:"registerOnTouched",value:function(be){this._onTouched=be}},{key:"setDisabledState",value:function(be){this.disabled=be,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"panelOpen",get:function(){return this._panelOpen}},{key:"selected",get:function(){var be,Fe;return this.multiple?(null===(be=this._selectionModel)||void 0===be?void 0:be.selected)||[]:null===(Fe=this._selectionModel)||void 0===Fe?void 0:Fe.selected[0]}},{key:"triggerValue",get:function(){if(this.empty)return"";if(this._multiple){var be=this._selectionModel.selected.map(function(Fe){return Fe.viewValue});return this._isRtl()&&be.reverse(),be.join(", ")}return this._selectionModel.selected[0].viewValue}},{key:"_isRtl",value:function(){return!!this._dir&&"rtl"===this._dir.value}},{key:"_handleKeydown",value:function(be){this.disabled||(this.panelOpen?this._handleOpenKeydown(be):this._handleClosedKeydown(be))}},{key:"_handleClosedKeydown",value:function(be){var Fe=be.keyCode,Ge=Fe===S.JH||Fe===S.LH||Fe===S.oh||Fe===S.SV,vt=Fe===S.K5||Fe===S.L_,At=this._keyManager;if(!At.isTyping()&&vt&&!(0,S.Vb)(be)||(this.multiple||be.altKey)&&Ge)be.preventDefault(),this.open();else if(!this.multiple){var Vt=this.selected;At.onKeydown(be);var Kt=this.selected;Kt&&Vt!==Kt&&this._liveAnnouncer.announce(Kt.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(be){var Fe=this._keyManager,Ge=be.keyCode,vt=Ge===S.JH||Ge===S.LH,At=Fe.isTyping();if(vt&&be.altKey)be.preventDefault(),this.close();else if(At||Ge!==S.K5&&Ge!==S.L_||!Fe.activeItem||(0,S.Vb)(be))if(!At&&this._multiple&&Ge===S.A&&be.ctrlKey){be.preventDefault();var Vt=this.options.some(function(on){return!on.disabled&&!on.selected});this.options.forEach(function(on){on.disabled||(Vt?on.select():on.deselect())})}else{var Kt=Fe.activeItemIndex;Fe.onKeydown(be),this._multiple&&vt&&be.shiftKey&&Fe.activeItem&&Fe.activeItemIndex!==Kt&&Fe.activeItem._selectViaInteraction()}else be.preventDefault(),Fe.activeItem._selectViaInteraction()}},{key:"_onFocus",value:function(){this.disabled||(this._focused=!0,this.stateChanges.next())}},{key:"_onBlur",value:function(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}},{key:"_onAttached",value:function(){var be=this;this._overlayDir.positionChange.pipe((0,ae.q)(1)).subscribe(function(){be._changeDetectorRef.detectChanges(),be._positioningSettled()})}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-".concat(this._parentFormField.color):""}},{key:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"_initializeSelection",value:function(){var be=this;Promise.resolve().then(function(){be._setSelectionByValue(be.ngControl?be.ngControl.value:be._value),be.stateChanges.next()})}},{key:"_setSelectionByValue",value:function(be){var Fe=this;if(this._selectionModel.selected.forEach(function(vt){return vt.setInactiveStyles()}),this._selectionModel.clear(),this.multiple&&be)Array.isArray(be),be.forEach(function(vt){return Fe._selectValue(vt)}),this._sortValues();else{var Ge=this._selectValue(be);Ge?this._keyManager.updateActiveItem(Ge):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(be){var Fe=this,Ge=this.options.find(function(vt){if(Fe._selectionModel.isSelected(vt))return!1;try{return null!=vt.value&&Fe._compareWith(vt.value,be)}catch(At){return!1}});return Ge&&this._selectionModel.select(Ge),Ge}},{key:"_initKeyManager",value:function(){var be=this;this._keyManager=new v.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,he.R)(this._destroy)).subscribe(function(){be.panelOpen&&(!be.multiple&&be._keyManager.activeItem&&be._keyManager.activeItem._selectViaInteraction(),be.focus(),be.close())}),this._keyManager.change.pipe((0,he.R)(this._destroy)).subscribe(function(){be._panelOpen&&be.panel?be._scrollOptionIntoView(be._keyManager.activeItemIndex||0):!be._panelOpen&&!be.multiple&&be._keyManager.activeItem&&be._keyManager.activeItem._selectViaInteraction()})}},{key:"_resetOptions",value:function(){var be=this,Fe=(0,X.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,he.R)(Fe)).subscribe(function(Ge){be._onSelect(Ge.source,Ge.isUserInput),Ge.isUserInput&&!be.multiple&&be._panelOpen&&(be.close(),be.focus())}),X.T.apply(void 0,(0,V.Z)(this.options.map(function(Ge){return Ge._stateChanges}))).pipe((0,he.R)(Fe)).subscribe(function(){be._changeDetectorRef.markForCheck(),be.stateChanges.next()})}},{key:"_onSelect",value:function(be,Fe){var Ge=this._selectionModel.isSelected(be);null!=be.value||this._multiple?(Ge!==be.selected&&(be.selected?this._selectionModel.select(be):this._selectionModel.deselect(be)),Fe&&this._keyManager.setActiveItem(be),this.multiple&&(this._sortValues(),Fe&&this.focus())):(be.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(be.value)),Ge!==this._selectionModel.isSelected(be)&&this._propagateChanges(),this.stateChanges.next()}},{key:"_sortValues",value:function(){var be=this;if(this.multiple){var Fe=this.options.toArray();this._selectionModel.sort(function(Ge,vt){return be.sortComparator?be.sortComparator(Ge,vt,Fe):Fe.indexOf(Ge)-Fe.indexOf(vt)}),this.stateChanges.next()}}},{key:"_propagateChanges",value:function(be){var Fe;Fe=this.multiple?this.selected.map(function(Ge){return Ge.value}):this.selected?this.selected.value:be,this._value=Fe,this.valueChange.emit(Fe),this._onChange(Fe),this.selectionChange.emit(this._getChangeEvent(Fe)),this._changeDetectorRef.markForCheck()}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_canOpen",value:function(){var be;return!this._panelOpen&&!this.disabled&&(null===(be=this.options)||void 0===be?void 0:be.length)>0}},{key:"focus",value:function(be){this._elementRef.nativeElement.focus(be)}},{key:"_getPanelAriaLabelledby",value:function(){var be;if(this.ariaLabel)return null;var Fe=null===(be=this._parentFormField)||void 0===be?void 0:be.getLabelId();return this.ariaLabelledby?(Fe?Fe+" ":"")+this.ariaLabelledby:Fe}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_getTriggerAriaLabelledby",value:function(){var be;if(this.ariaLabel)return null;var Fe=null===(be=this._parentFormField)||void 0===be?void 0:be.getLabelId(),Ge=(Fe?Fe+" ":"")+this._valueId;return this.ariaLabelledby&&(Ge+=" "+this.ariaLabelledby),Ge}},{key:"_panelDoneAnimating",value:function(be){this.openedChange.emit(be)}},{key:"setDescribedByIds",value:function(be){this._ariaDescribedby=be.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}]),Me}(Wn);return _n.\u0275fac=function(Ye){return new(Ye||_n)(O.Y36(D.rL),O.Y36(O.sBO),O.Y36(O.R0b),O.Y36(y.rD),O.Y36(O.SBq),O.Y36(g.Is,8),O.Y36(I.F,8),O.Y36(I.sg,8),O.Y36(T.G_,8),O.Y36(I.a5,10),O.$8M("tabindex"),O.Y36(On),O.Y36(v.Kd),O.Y36(Zn,8))},_n.\u0275dir=O.lG2({type:_n,viewQuery:function(Ye,Me){var ne;1&Ye&&(O.Gf(oe,5),O.Gf(Ce,5),O.Gf(x.pI,5)),2&Ye&&(O.iGM(ne=O.CRH())&&(Me.trigger=ne.first),O.iGM(ne=O.CRH())&&(Me.panel=ne.first),O.iGM(ne=O.CRH())&&(Me._overlayDir=ne.first))},inputs:{panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[O.qOj,O.TTD]}),_n}(),Qn=function(){var _n=function(kt){(0,R.Z)(Me,kt);var Ye=(0,b.Z)(Me);function Me(){var ne;return(0,E.Z)(this,Me),(ne=Ye.apply(this,arguments))._scrollTop=0,ne._triggerFontSize=0,ne._transformOrigin="top",ne._offsetY=0,ne._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],ne}return(0,L.Z)(Me,[{key:"_calculateOverlayScroll",value:function(be,Fe,Ge){var vt=this._getItemHeight();return Math.min(Math.max(0,vt*be-Fe+vt/2),Ge)}},{key:"ngOnInit",value:function(){var be=this;(0,B.Z)((0,U.Z)(Me.prototype),"ngOnInit",this).call(this),this._viewportRuler.change().pipe((0,he.R)(this._destroy)).subscribe(function(){be.panelOpen&&(be._triggerRect=be.trigger.nativeElement.getBoundingClientRect(),be._changeDetectorRef.markForCheck())})}},{key:"open",value:function(){var be=this;(0,B.Z)((0,U.Z)(Me.prototype),"_canOpen",this).call(this)&&((0,B.Z)((0,U.Z)(Me.prototype),"open",this).call(this),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,ae.q)(1)).subscribe(function(){be._triggerFontSize&&be._overlayDir.overlayRef&&be._overlayDir.overlayRef.overlayElement&&(be._overlayDir.overlayRef.overlayElement.style.fontSize="".concat(be._triggerFontSize,"px"))}))}},{key:"_scrollOptionIntoView",value:function(be){var Fe=(0,y.CB)(be,this.options,this.optionGroups),Ge=this._getItemHeight();this.panel.nativeElement.scrollTop=0===be&&1===Fe?0:(0,y.jH)((be+Fe)*Ge,Ge,this.panel.nativeElement.scrollTop,256)}},{key:"_positioningSettled",value:function(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}},{key:"_panelDoneAnimating",value:function(be){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),(0,B.Z)((0,U.Z)(Me.prototype),"_panelDoneAnimating",this).call(this,be)}},{key:"_getChangeEvent",value:function(be){return new zn(this,be)}},{key:"_calculateOverlayOffsetX",value:function(){var At,be=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),Fe=this._viewportRuler.getViewportSize(),Ge=this._isRtl(),vt=this.multiple?56:32;if(this.multiple)At=40;else if(this.disableOptionCentering)At=16;else{var Vt=this._selectionModel.selected[0]||this.options.first;At=Vt&&Vt.group?32:16}Ge||(At*=-1);var Kt=0-(be.left+At-(Ge?vt:0)),on=be.right+At-Fe.width+(Ge?0:vt);Kt>0?At+=Kt+8:on>0&&(At-=on+8),this._overlayDir.offsetX=Math.round(At),this._overlayDir.overlayRef.updatePosition()}},{key:"_calculateOverlayOffsetY",value:function(be,Fe,Ge){var Kt,vt=this._getItemHeight(),At=(vt-this._triggerRect.height)/2,Vt=Math.floor(256/vt);return this.disableOptionCentering?0:(Kt=0===this._scrollTop?be*vt:this._scrollTop===Ge?(be-(this._getItemCount()-Vt))*vt+(vt-(this._getItemCount()*vt-256)%vt):Fe-vt/2,Math.round(-1*Kt-At))}},{key:"_checkOverlayWithinViewport",value:function(be){var Fe=this._getItemHeight(),Ge=this._viewportRuler.getViewportSize(),vt=this._triggerRect.top-8,At=Ge.height-this._triggerRect.bottom-8,Vt=Math.abs(this._offsetY),on=Math.min(this._getItemCount()*Fe,256)-Vt-this._triggerRect.height;on>At?this._adjustPanelUp(on,At):Vt>vt?this._adjustPanelDown(Vt,vt,be):this._transformOrigin=this._getOriginBasedOnOption()}},{key:"_adjustPanelUp",value:function(be,Fe){var Ge=Math.round(be-Fe);this._scrollTop-=Ge,this._offsetY-=Ge,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}},{key:"_adjustPanelDown",value:function(be,Fe,Ge){var vt=Math.round(be-Fe);if(this._scrollTop+=vt,this._offsetY+=vt,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=Ge)return this._scrollTop=Ge,this._offsetY=0,void(this._transformOrigin="50% top 0px")}},{key:"_calculateOverlayPosition",value:function(){var Vt,be=this._getItemHeight(),Fe=this._getItemCount(),Ge=Math.min(Fe*be,256),At=Fe*be-Ge;Vt=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),Vt+=(0,y.CB)(Vt,this.options,this.optionGroups);var Kt=Ge/2;this._scrollTop=this._calculateOverlayScroll(Vt,Kt,At),this._offsetY=this._calculateOverlayOffsetY(Vt,Kt,At),this._checkOverlayWithinViewport(At)}},{key:"_getOriginBasedOnOption",value:function(){var be=this._getItemHeight(),Fe=(be-this._triggerRect.height)/2,Ge=Math.abs(this._offsetY)-Fe+be/2;return"50% ".concat(Ge,"px 0px")}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}}]),Me}(Sr);return _n.\u0275fac=function(){var kt;return function(Me){return(kt||(kt=O.n5z(_n)))(Me||_n)}}(),_n.\u0275cmp=O.Xpm({type:_n,selectors:[["mat-select"]],contentQueries:function(Ye,Me,ne){var be;1&Ye&&(O.Suo(ne,nr,5),O.Suo(ne,y.ey,5),O.Suo(ne,y.K7,5)),2&Ye&&(O.iGM(be=O.CRH())&&(Me.customTrigger=be.first),O.iGM(be=O.CRH())&&(Me.options=be),O.iGM(be=O.CRH())&&(Me.optionGroups=be))},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(Ye,Me){1&Ye&&O.NdJ("keydown",function(be){return Me._handleKeydown(be)})("focus",function(){return Me._onFocus()})("blur",function(){return Me._onBlur()}),2&Ye&&(O.uIk("id",Me.id)("tabindex",Me.tabIndex)("aria-controls",Me.panelOpen?Me.id+"-panel":null)("aria-expanded",Me.panelOpen)("aria-label",Me.ariaLabel||null)("aria-required",Me.required.toString())("aria-disabled",Me.disabled.toString())("aria-invalid",Me.errorState)("aria-describedby",Me._ariaDescribedby||null)("aria-activedescendant",Me._getAriaActiveDescendant()),O.ekj("mat-select-disabled",Me.disabled)("mat-select-invalid",Me.errorState)("mat-select-required",Me.required)("mat-select-empty",Me.empty)("mat-select-multiple",Me.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[O._Bn([{provide:T.Eo,useExisting:_n},{provide:y.HF,useExisting:_n}]),O.qOj],ngContentSelectors:_e,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(Ye,Me){if(1&Ye&&(O.F$t(bt),O.TgZ(0,"div",0,1),O.NdJ("click",function(){return Me.toggle()}),O.TgZ(3,"div",2),O.YNc(4,ge,2,1,"span",3),O.YNc(5,Qe,3,2,"span",4),O.qZA(),O.TgZ(6,"div",5),O._UZ(7,"div",6),O.qZA(),O.qZA(),O.YNc(8,et,4,14,"ng-template",7),O.NdJ("backdropClick",function(){return Me.close()})("attach",function(){return Me._onAttached()})("detach",function(){return Me.close()})),2&Ye){var ne=O.MAs(1);O.uIk("aria-owns",Me.panelOpen?Me.id+"-panel":null),O.xp6(3),O.Q6J("ngSwitch",Me.empty),O.uIk("id",Me._valueId),O.xp6(1),O.Q6J("ngSwitchCase",!0),O.xp6(1),O.Q6J("ngSwitchCase",!1),O.xp6(3),O.Q6J("cdkConnectedOverlayPanelClass",Me._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",Me._scrollStrategy)("cdkConnectedOverlayOrigin",ne)("cdkConnectedOverlayOpen",Me.panelOpen)("cdkConnectedOverlayPositions",Me._positions)("cdkConnectedOverlayMinWidth",null==Me._triggerRect?null:Me._triggerRect.width)("cdkConnectedOverlayOffsetY",Me._offsetY)}},directives:[x.xu,Z.RF,Z.n9,x.pI,Z.ED,Z.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;opacity:0}\n'],encapsulation:2,data:{animation:[xe.transformPanelWrap,xe.transformPanel]},changeDetection:0}),_n}(),rn=function(){var _n=function kt(){(0,E.Z)(this,kt)};return _n.\u0275fac=function(Ye){return new(Ye||_n)},_n.\u0275mod=O.oAB({type:_n}),_n.\u0275inj=O.cJS({providers:[Vn],imports:[[Z.ez,x.U8,y.Ng,y.BQ],D.ZD,T.lN,y.Ng,y.BQ]}),_n}()},12605:function(ue,j,f){"use strict";f.d(j,{uX:function(){return Wn},SP:function(){return hn},uD:function(){return Zn},Nh:function(){return Ot}});var B=f(333),U=f(38402),V=f(89200),L=f(10509),w=f(97154),R=f(18967),b=f(14105),E=f(47497),x=f(13242),Z=f(5711),O=f(86019),y=f(83668),T=f(6731),D=f(39555),v=f(27807),g=f(43501),M=f(4998),k=f(82429),S=f(69301),I=f(46674),F=f(58290),G=f(69814),X=f(85148),W=f(65944),Y=f(35634),ae=f(80348),K=f(97226),fe=f(50928),ce=f(51628);function he(ht,lt){1&ht&&y.Hsn(0)}var de=["*"];function oe(ht,lt){}var Ce=function(lt){return{animationDuration:lt}},ge=function(lt,_t){return{value:lt,params:_t}},qe=["tabListContainer"],De=["tabList"],Qe=["nextPaginator"],et=["previousPaginator"],bt=["tabBodyWrapper"],_e=["tabHeader"];function xe(ht,lt){}function He(ht,lt){if(1&ht&&y.YNc(0,xe,0,0,"ng-template",9),2&ht){var _t=y.oxw().$implicit;y.Q6J("cdkPortalOutlet",_t.templateLabel)}}function st(ht,lt){if(1&ht&&y._uU(0),2&ht){var _t=y.oxw().$implicit;y.Oqu(_t.textLabel)}}function tt(ht,lt){if(1&ht){var _t=y.EpF();y.TgZ(0,"div",6),y.NdJ("click",function(){var pt=y.CHM(_t),Ft=pt.$implicit,Xt=pt.index,Tn=y.oxw(),Dn=y.MAs(1);return Tn._handleClick(Ft,Dn,Xt)})("cdkFocusChange",function(pt){var Xt=y.CHM(_t).index;return y.oxw()._tabFocusChanged(pt,Xt)}),y.TgZ(1,"div",7),y.YNc(2,He,1,1,"ng-template",8),y.YNc(3,st,1,1,"ng-template",8),y.qZA(),y.qZA()}if(2&ht){var we=lt.$implicit,je=lt.index,Re=y.oxw();y.ekj("mat-tab-label-active",Re.selectedIndex==je),y.Q6J("id",Re._getTabLabelId(je))("disabled",we.disabled)("matRippleDisabled",we.disabled||Re.disableRipple),y.uIk("tabIndex",Re._getTabIndex(we,je))("aria-posinset",je+1)("aria-setsize",Re._tabs.length)("aria-controls",Re._getTabContentId(je))("aria-selected",Re.selectedIndex==je)("aria-label",we.ariaLabel||null)("aria-labelledby",!we.ariaLabel&&we.ariaLabelledby?we.ariaLabelledby:null),y.xp6(2),y.Q6J("ngIf",we.templateLabel),y.xp6(1),y.Q6J("ngIf",!we.templateLabel)}}function Zt(ht,lt){if(1&ht){var _t=y.EpF();y.TgZ(0,"mat-tab-body",10),y.NdJ("_onCentered",function(){return y.CHM(_t),y.oxw()._removeTabBodyWrapperHeight()})("_onCentering",function(pt){return y.CHM(_t),y.oxw()._setTabBodyWrapperHeight(pt)}),y.qZA()}if(2&ht){var we=lt.$implicit,je=lt.index,Re=y.oxw();y.ekj("mat-tab-body-active",Re.selectedIndex===je),y.Q6J("id",Re._getTabContentId(je))("content",we.content)("position",we.position)("origin",we.origin)("animationDuration",Re.animationDuration),y.uIk("tabindex",null!=Re.contentTabIndex&&Re.selectedIndex===je?Re.contentTabIndex:null)("aria-labelledby",Re._getTabLabelId(je))}}var mt=new y.OlP("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(_t){return{left:_t?(_t.offsetLeft||0)+"px":"0",width:_t?(_t.offsetWidth||0)+"px":"0"}}}}),un=function(){var ht=function(){function lt(_t,we,je,Re){(0,R.Z)(this,lt),this._elementRef=_t,this._ngZone=we,this._inkBarPositioner=je,this._animationMode=Re}return(0,b.Z)(lt,[{key:"alignToElement",value:function(we){var je=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return je._setStyles(we)})}):this._setStyles(we)}},{key:"show",value:function(){this._elementRef.nativeElement.style.visibility="visible"}},{key:"hide",value:function(){this._elementRef.nativeElement.style.visibility="hidden"}},{key:"_setStyles",value:function(we){var je=this._inkBarPositioner(we),Re=this._elementRef.nativeElement;Re.style.left=je.left,Re.style.width=je.width}}]),lt}();return ht.\u0275fac=function(_t){return new(_t||ht)(y.Y36(y.SBq),y.Y36(y.R0b),y.Y36(mt),y.Y36(D.Qb,8))},ht.\u0275dir=y.lG2({type:ht,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(_t,we){2&_t&&y.ekj("_mat-animation-noopable","NoopAnimations"===we._animationMode)}}),ht}(),Ut=new y.OlP("MatTabContent"),On=new y.OlP("MatTabLabel"),Fn=new y.OlP("MAT_TAB"),Zn=function(){var ht=function(lt){(0,L.Z)(we,lt);var _t=(0,w.Z)(we);function we(je,Re,Xe){var pt;return(0,R.Z)(this,we),(pt=_t.call(this,je,Re))._closestTab=Xe,pt}return we}(Z.ig);return ht.\u0275fac=function(_t){return new(_t||ht)(y.Y36(y.Rgc),y.Y36(y.s_b),y.Y36(Fn,8))},ht.\u0275dir=y.lG2({type:ht,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[y._Bn([{provide:On,useExisting:ht}]),y.qOj]}),ht}(),Vn=(0,T.Id)(function(){return function ht(){(0,R.Z)(this,ht)}}()),zn=new y.OlP("MAT_TAB_GROUP"),Wn=function(){var ht=function(lt){(0,L.Z)(we,lt);var _t=(0,w.Z)(we);function we(je,Re){var Xe;return(0,R.Z)(this,we),(Xe=_t.call(this))._viewContainerRef=je,Xe._closestTabGroup=Re,Xe.textLabel="",Xe._contentPortal=null,Xe._stateChanges=new v.xQ,Xe.position=null,Xe.origin=null,Xe.isActive=!1,Xe}return(0,b.Z)(we,[{key:"templateLabel",get:function(){return this._templateLabel},set:function(Re){this._setTemplateLabelInput(Re)}},{key:"content",get:function(){return this._contentPortal}},{key:"ngOnChanges",value:function(Re){(Re.hasOwnProperty("textLabel")||Re.hasOwnProperty("disabled"))&&this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"ngOnInit",value:function(){this._contentPortal=new Z.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}},{key:"_setTemplateLabelInput",value:function(Re){Re&&Re._closestTab===this&&(this._templateLabel=Re)}}]),we}(Vn);return ht.\u0275fac=function(_t){return new(_t||ht)(y.Y36(y.s_b),y.Y36(zn,8))},ht.\u0275cmp=y.Xpm({type:ht,selectors:[["mat-tab"]],contentQueries:function(_t,we,je){var Re;1&_t&&(y.Suo(je,On,5),y.Suo(je,Ut,7,y.Rgc)),2&_t&&(y.iGM(Re=y.CRH())&&(we.templateLabel=Re.first),y.iGM(Re=y.CRH())&&(we._explicitContent=Re.first))},viewQuery:function(_t,we){var je;1&_t&&y.Gf(y.Rgc,7),2&_t&&y.iGM(je=y.CRH())&&(we._implicitContent=je.first)},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[y._Bn([{provide:Fn,useExisting:ht}]),y.qOj,y.TTD],ngContentSelectors:de,decls:1,vars:0,template:function(_t,we){1&_t&&(y.F$t(),y.YNc(0,he,1,0,"ng-template"))},encapsulation:2}),ht}(),nr={translateTab:(0,G.X$)("translateTab",[(0,G.SB)("center, void, left-origin-center, right-origin-center",(0,G.oB)({transform:"none"})),(0,G.SB)("left",(0,G.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),(0,G.SB)("right",(0,G.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),(0,G.eR)("* => left, * => right, left => center, right => center",(0,G.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,G.eR)("void => left-origin-center",[(0,G.oB)({transform:"translate3d(-100%, 0, 0)"}),(0,G.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,G.eR)("void => right-origin-center",[(0,G.oB)({transform:"translate3d(100%, 0, 0)"}),(0,G.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},ar=function(){var ht=function(lt){(0,L.Z)(we,lt);var _t=(0,w.Z)(we);function we(je,Re,Xe,pt){var Ft;return(0,R.Z)(this,we),(Ft=_t.call(this,je,Re,pt))._host=Xe,Ft._centeringSub=g.w.EMPTY,Ft._leavingSub=g.w.EMPTY,Ft}return(0,b.Z)(we,[{key:"ngOnInit",value:function(){var Re=this;(0,U.Z)((0,V.Z)(we.prototype),"ngOnInit",this).call(this),this._centeringSub=this._host._beforeCentering.pipe((0,X.O)(this._host._isCenterPosition(this._host._position))).subscribe(function(Xe){Xe&&!Re.hasAttached()&&Re.attach(Re._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(function(){Re.detach()})}},{key:"ngOnDestroy",value:function(){(0,U.Z)((0,V.Z)(we.prototype),"ngOnDestroy",this).call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}]),we}(Z.Pl);return ht.\u0275fac=function(_t){return new(_t||ht)(y.Y36(y._Vd),y.Y36(y.s_b),y.Y36((0,y.Gpc)(function(){return Qn})),y.Y36(O.K0))},ht.\u0275dir=y.lG2({type:ht,selectors:[["","matTabBodyHost",""]],features:[y.qOj]}),ht}(),Sr=function(){var ht=function(){function lt(_t,we,je){var Re=this;(0,R.Z)(this,lt),this._elementRef=_t,this._dir=we,this._dirChangeSubscription=g.w.EMPTY,this._translateTabComplete=new v.xQ,this._onCentering=new y.vpe,this._beforeCentering=new y.vpe,this._afterLeavingCenter=new y.vpe,this._onCentered=new y.vpe(!0),this.animationDuration="500ms",we&&(this._dirChangeSubscription=we.change.subscribe(function(Xe){Re._computePositionAnimationState(Xe),je.markForCheck()})),this._translateTabComplete.pipe((0,W.x)(function(Xe,pt){return Xe.fromState===pt.fromState&&Xe.toState===pt.toState})).subscribe(function(Xe){Re._isCenterPosition(Xe.toState)&&Re._isCenterPosition(Re._position)&&Re._onCentered.emit(),Re._isCenterPosition(Xe.fromState)&&!Re._isCenterPosition(Re._position)&&Re._afterLeavingCenter.emit()})}return(0,b.Z)(lt,[{key:"position",set:function(we){this._positionIndex=we,this._computePositionAnimationState()}},{key:"ngOnInit",value:function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}},{key:"ngOnDestroy",value:function(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}},{key:"_onTranslateTabStarted",value:function(we){var je=this._isCenterPosition(we.toState);this._beforeCentering.emit(je),je&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_isCenterPosition",value:function(we){return"center"==we||"left-origin-center"==we||"right-origin-center"==we}},{key:"_computePositionAnimationState",value:function(){var we=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._getLayoutDirection();this._position=this._positionIndex<0?"ltr"==we?"left":"right":this._positionIndex>0?"ltr"==we?"right":"left":"center"}},{key:"_computePositionFromOrigin",value:function(we){var je=this._getLayoutDirection();return"ltr"==je&&we<=0||"rtl"==je&&we>0?"left-origin-center":"right-origin-center"}}]),lt}();return ht.\u0275fac=function(_t){return new(_t||ht)(y.Y36(y.SBq),y.Y36(F.Is,8),y.Y36(y.sBO))},ht.\u0275dir=y.lG2({type:ht,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),ht}(),Qn=function(){var ht=function(lt){(0,L.Z)(we,lt);var _t=(0,w.Z)(we);function we(je,Re,Xe){return(0,R.Z)(this,we),_t.call(this,je,Re,Xe)}return we}(Sr);return ht.\u0275fac=function(_t){return new(_t||ht)(y.Y36(y.SBq),y.Y36(F.Is,8),y.Y36(y.sBO))},ht.\u0275cmp=y.Xpm({type:ht,selectors:[["mat-tab-body"]],viewQuery:function(_t,we){var je;1&_t&&y.Gf(Z.Pl,5),2&_t&&y.iGM(je=y.CRH())&&(we._portalHost=je.first)},hostAttrs:[1,"mat-tab-body"],features:[y.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(_t,we){1&_t&&(y.TgZ(0,"div",0,1),y.NdJ("@translateTab.start",function(Re){return we._onTranslateTabStarted(Re)})("@translateTab.done",function(Re){return we._translateTabComplete.next(Re)}),y.YNc(2,oe,0,0,"ng-template",2),y.qZA()),2&_t&&y.Q6J("@translateTab",y.WLB(3,ge,we._position,y.VKq(1,Ce,we.animationDuration)))},directives:[ar],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[nr.translateTab]}}),ht}(),rn=new y.OlP("MAT_TABS_CONFIG"),_n=(0,T.Id)(function(){return function ht(){(0,R.Z)(this,ht)}}()),kt=function(){var ht=function(lt){(0,L.Z)(we,lt);var _t=(0,w.Z)(we);function we(je){var Re;return(0,R.Z)(this,we),(Re=_t.call(this)).elementRef=je,Re}return(0,b.Z)(we,[{key:"focus",value:function(){this.elementRef.nativeElement.focus()}},{key:"getOffsetLeft",value:function(){return this.elementRef.nativeElement.offsetLeft}},{key:"getOffsetWidth",value:function(){return this.elementRef.nativeElement.offsetWidth}}]),we}(_n);return ht.\u0275fac=function(_t){return new(_t||ht)(y.Y36(y.SBq))},ht.\u0275dir=y.lG2({type:ht,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(_t,we){2&_t&&(y.uIk("aria-disabled",!!we.disabled),y.ekj("mat-tab-disabled",we.disabled))},inputs:{disabled:"disabled"},features:[y.qOj]}),ht}(),Ye=(0,fe.i$)({passive:!0}),Fe=function(){var ht=function(){function lt(_t,we,je,Re,Xe,pt,Ft){var Xt=this;(0,R.Z)(this,lt),this._elementRef=_t,this._changeDetectorRef=we,this._viewportRuler=je,this._dir=Re,this._ngZone=Xe,this._platform=pt,this._animationMode=Ft,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new v.xQ,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new v.xQ,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new y.vpe,this.indexFocused=new y.vpe,Xe.runOutsideAngular(function(){(0,M.R)(_t.nativeElement,"mouseleave").pipe((0,Y.R)(Xt._destroyed)).subscribe(function(){Xt._stopInterval()})})}return(0,b.Z)(lt,[{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(we){we=(0,ae.su)(we),this._selectedIndex!=we&&(this._selectedIndexChanged=!0,this._selectedIndex=we,this._keyManager&&this._keyManager.updateActiveItem(we))}},{key:"ngAfterViewInit",value:function(){var we=this;(0,M.R)(this._previousPaginator.nativeElement,"touchstart",Ye).pipe((0,Y.R)(this._destroyed)).subscribe(function(){we._handlePaginatorPress("before")}),(0,M.R)(this._nextPaginator.nativeElement,"touchstart",Ye).pipe((0,Y.R)(this._destroyed)).subscribe(function(){we._handlePaginatorPress("after")})}},{key:"ngAfterContentInit",value:function(){var we=this,je=this._dir?this._dir.change:(0,k.of)("ltr"),Re=this._viewportRuler.change(150),Xe=function(){we.updatePagination(),we._alignInkBarToSelectedTab()};this._keyManager=new E.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(Xe):Xe(),(0,S.T)(je,Re,this._items.changes).pipe((0,Y.R)(this._destroyed)).subscribe(function(){we._ngZone.run(function(){return Promise.resolve().then(Xe)}),we._keyManager.withHorizontalOrientation(we._getLayoutDirection())}),this._keyManager.change.pipe((0,Y.R)(this._destroyed)).subscribe(function(pt){we.indexFocused.emit(pt),we._setTabFocus(pt)})}},{key:"ngAfterContentChecked",value:function(){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())}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}},{key:"_handleKeydown",value:function(we){if(!(0,ce.Vb)(we))switch(we.keyCode){case ce.K5:case ce.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(we));break;default:this._keyManager.onKeydown(we)}}},{key:"_onContentChanges",value:function(){var we=this,je=this._elementRef.nativeElement.textContent;je!==this._currentTextContent&&(this._currentTextContent=je||"",this._ngZone.run(function(){we.updatePagination(),we._alignInkBarToSelectedTab(),we._changeDetectorRef.markForCheck()}))}},{key:"updatePagination",value:function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}},{key:"focusIndex",get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(we){!this._isValidIndex(we)||this.focusIndex===we||!this._keyManager||this._keyManager.setActiveItem(we)}},{key:"_isValidIndex",value:function(we){if(!this._items)return!0;var je=this._items?this._items.toArray()[we]:null;return!!je&&!je.disabled}},{key:"_setTabFocus",value:function(we){if(this._showPaginationControls&&this._scrollToLabel(we),this._items&&this._items.length){this._items.toArray()[we].focus();var je=this._tabListContainer.nativeElement,Re=this._getLayoutDirection();je.scrollLeft="ltr"==Re?0:je.scrollWidth-je.offsetWidth}}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_updateTabScrollPosition",value:function(){if(!this.disablePagination){var we=this.scrollDistance,je="ltr"===this._getLayoutDirection()?-we:we;this._tabList.nativeElement.style.transform="translateX(".concat(Math.round(je),"px)"),(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}}},{key:"scrollDistance",get:function(){return this._scrollDistance},set:function(we){this._scrollTo(we)}},{key:"_scrollHeader",value:function(we){return this._scrollTo(this._scrollDistance+("before"==we?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}},{key:"_handlePaginatorClick",value:function(we){this._stopInterval(),this._scrollHeader(we)}},{key:"_scrollToLabel",value:function(we){if(!this.disablePagination){var je=this._items?this._items.toArray()[we]:null;if(je){var Xt,Tn,Re=this._tabListContainer.nativeElement.offsetWidth,Xe=je.elementRef.nativeElement,pt=Xe.offsetLeft,Ft=Xe.offsetWidth;"ltr"==this._getLayoutDirection()?Tn=(Xt=pt)+Ft:Xt=(Tn=this._tabList.nativeElement.offsetWidth-pt)-Ft;var Dn=this.scrollDistance,ai=this.scrollDistance+Re;Xt<Dn?this.scrollDistance-=Dn-Xt+60:Tn>ai&&(this.scrollDistance+=Tn-ai+60)}}}},{key:"_checkPaginationEnabled",value:function(){if(this.disablePagination)this._showPaginationControls=!1;else{var we=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;we||(this.scrollDistance=0),we!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=we}}},{key:"_checkScrollingControls",value:function(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}},{key:"_getMaxScrollDistance",value:function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}},{key:"_alignInkBarToSelectedTab",value:function(){var we=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,je=we?we.elementRef.nativeElement:null;je?this._inkBar.alignToElement(je):this._inkBar.hide()}},{key:"_stopInterval",value:function(){this._stopScrolling.next()}},{key:"_handlePaginatorPress",value:function(we,je){var Re=this;je&&null!=je.button&&0!==je.button||(this._stopInterval(),(0,I.H)(650,100).pipe((0,Y.R)((0,S.T)(this._stopScrolling,this._destroyed))).subscribe(function(){var Xe=Re._scrollHeader(we),Ft=Xe.distance;(0===Ft||Ft>=Xe.maxScrollDistance)&&Re._stopInterval()}))}},{key:"_scrollTo",value:function(we){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var je=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(je,we)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:je,distance:this._scrollDistance}}}]),lt}();return ht.\u0275fac=function(_t){return new(_t||ht)(y.Y36(y.SBq),y.Y36(y.sBO),y.Y36(K.rL),y.Y36(F.Is,8),y.Y36(y.R0b),y.Y36(fe.t4),y.Y36(D.Qb,8))},ht.\u0275dir=y.lG2({type:ht,inputs:{disablePagination:"disablePagination"}}),ht}(),Ge=function(){var ht=function(lt){(0,L.Z)(we,lt);var _t=(0,w.Z)(we);function we(je,Re,Xe,pt,Ft,Xt,Tn){var Dn;return(0,R.Z)(this,we),(Dn=_t.call(this,je,Re,Xe,pt,Ft,Xt,Tn))._disableRipple=!1,Dn}return(0,b.Z)(we,[{key:"disableRipple",get:function(){return this._disableRipple},set:function(Re){this._disableRipple=(0,ae.Ig)(Re)}},{key:"_itemSelected",value:function(Re){Re.preventDefault()}}]),we}(Fe);return ht.\u0275fac=function(_t){return new(_t||ht)(y.Y36(y.SBq),y.Y36(y.sBO),y.Y36(K.rL),y.Y36(F.Is,8),y.Y36(y.R0b),y.Y36(fe.t4),y.Y36(D.Qb,8))},ht.\u0275dir=y.lG2({type:ht,inputs:{disableRipple:"disableRipple"},features:[y.qOj]}),ht}(),vt=function(){var ht=function(lt){(0,L.Z)(we,lt);var _t=(0,w.Z)(we);function we(je,Re,Xe,pt,Ft,Xt,Tn){return(0,R.Z)(this,we),_t.call(this,je,Re,Xe,pt,Ft,Xt,Tn)}return we}(Ge);return ht.\u0275fac=function(_t){return new(_t||ht)(y.Y36(y.SBq),y.Y36(y.sBO),y.Y36(K.rL),y.Y36(F.Is,8),y.Y36(y.R0b),y.Y36(fe.t4),y.Y36(D.Qb,8))},ht.\u0275cmp=y.Xpm({type:ht,selectors:[["mat-tab-header"]],contentQueries:function(_t,we,je){var Re;1&_t&&y.Suo(je,kt,4),2&_t&&y.iGM(Re=y.CRH())&&(we._items=Re)},viewQuery:function(_t,we){var je;1&_t&&(y.Gf(un,7),y.Gf(qe,7),y.Gf(De,7),y.Gf(Qe,5),y.Gf(et,5)),2&_t&&(y.iGM(je=y.CRH())&&(we._inkBar=je.first),y.iGM(je=y.CRH())&&(we._tabListContainer=je.first),y.iGM(je=y.CRH())&&(we._tabList=je.first),y.iGM(je=y.CRH())&&(we._nextPaginator=je.first),y.iGM(je=y.CRH())&&(we._previousPaginator=je.first))},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(_t,we){2&_t&&y.ekj("mat-tab-header-pagination-controls-enabled",we._showPaginationControls)("mat-tab-header-rtl","rtl"==we._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[y.qOj],ngContentSelectors:de,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(_t,we){1&_t&&(y.F$t(),y.TgZ(0,"div",0,1),y.NdJ("click",function(){return we._handlePaginatorClick("before")})("mousedown",function(Re){return we._handlePaginatorPress("before",Re)})("touchend",function(){return we._stopInterval()}),y._UZ(2,"div",2),y.qZA(),y.TgZ(3,"div",3,4),y.NdJ("keydown",function(Re){return we._handleKeydown(Re)}),y.TgZ(5,"div",5,6),y.NdJ("cdkObserveContent",function(){return we._onContentChanges()}),y.TgZ(7,"div",7),y.Hsn(8),y.qZA(),y._UZ(9,"mat-ink-bar"),y.qZA(),y.qZA(),y.TgZ(10,"div",8,9),y.NdJ("mousedown",function(Re){return we._handlePaginatorPress("after",Re)})("click",function(){return we._handlePaginatorClick("after")})("touchend",function(){return we._stopInterval()}),y._UZ(12,"div",2),y.qZA()),2&_t&&(y.ekj("mat-tab-header-pagination-disabled",we._disableScrollBefore),y.Q6J("matRippleDisabled",we._disableScrollBefore||we.disableRipple),y.xp6(5),y.ekj("_mat-animation-noopable","NoopAnimations"===we._animationMode),y.xp6(5),y.ekj("mat-tab-header-pagination-disabled",we._disableScrollAfter),y.Q6J("matRippleDisabled",we._disableScrollAfter||we.disableRipple))},directives:[T.wG,x.wD,un],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n'],encapsulation:2}),ht}(),At=0,Vt=function ht(){(0,R.Z)(this,ht)},Kt=(0,T.pj)((0,T.Kr)(function(){return function ht(lt){(0,R.Z)(this,ht),this._elementRef=lt}}()),"primary"),on=function(){var ht=function(lt){(0,L.Z)(we,lt);var _t=(0,w.Z)(we);function we(je,Re,Xe,pt){var Ft,Xt;return(0,R.Z)(this,we),(Xt=_t.call(this,je))._changeDetectorRef=Re,Xt._animationMode=pt,Xt._tabs=new y.n_E,Xt._indexToSelect=0,Xt._tabBodyWrapperHeight=0,Xt._tabsSubscription=g.w.EMPTY,Xt._tabLabelSubscription=g.w.EMPTY,Xt._selectedIndex=null,Xt.headerPosition="above",Xt.selectedIndexChange=new y.vpe,Xt.focusChange=new y.vpe,Xt.animationDone=new y.vpe,Xt.selectedTabChange=new y.vpe(!0),Xt._groupId=At++,Xt.animationDuration=Xe&&Xe.animationDuration?Xe.animationDuration:"500ms",Xt.disablePagination=!(!Xe||null==Xe.disablePagination)&&Xe.disablePagination,Xt.dynamicHeight=!(!Xe||null==Xe.dynamicHeight)&&Xe.dynamicHeight,Xt.contentTabIndex=null!==(Ft=null==Xe?void 0:Xe.contentTabIndex)&&void 0!==Ft?Ft:null,Xt}return(0,b.Z)(we,[{key:"dynamicHeight",get:function(){return this._dynamicHeight},set:function(Re){this._dynamicHeight=(0,ae.Ig)(Re)}},{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(Re){this._indexToSelect=(0,ae.su)(Re,null)}},{key:"animationDuration",get:function(){return this._animationDuration},set:function(Re){this._animationDuration=/^\d+$/.test(Re)?Re+"ms":Re}},{key:"contentTabIndex",get:function(){return this._contentTabIndex},set:function(Re){this._contentTabIndex=(0,ae.su)(Re,null)}},{key:"backgroundColor",get:function(){return this._backgroundColor},set:function(Re){var Xe=this._elementRef.nativeElement;Xe.classList.remove("mat-background-".concat(this.backgroundColor)),Re&&Xe.classList.add("mat-background-".concat(Re)),this._backgroundColor=Re}},{key:"ngAfterContentChecked",value:function(){var Re=this,Xe=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=Xe){var pt=null==this._selectedIndex;if(!pt){this.selectedTabChange.emit(this._createChangeEvent(Xe));var Ft=this._tabBodyWrapper.nativeElement;Ft.style.minHeight=Ft.clientHeight+"px"}Promise.resolve().then(function(){Re._tabs.forEach(function(Xt,Tn){return Xt.isActive=Tn===Xe}),pt||(Re.selectedIndexChange.emit(Xe),Re._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach(function(Xt,Tn){Xt.position=Tn-Xe,null!=Re._selectedIndex&&0==Xt.position&&!Xt.origin&&(Xt.origin=Xe-Re._selectedIndex)}),this._selectedIndex!==Xe&&(this._selectedIndex=Xe,this._changeDetectorRef.markForCheck())}},{key:"ngAfterContentInit",value:function(){var Re=this;this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(function(){if(Re._clampTabIndex(Re._indexToSelect)===Re._selectedIndex)for(var pt=Re._tabs.toArray(),Ft=0;Ft<pt.length;Ft++)if(pt[Ft].isActive){Re._indexToSelect=Re._selectedIndex=Ft;break}Re._changeDetectorRef.markForCheck()})}},{key:"_subscribeToAllTabChanges",value:function(){var Re=this;this._allTabs.changes.pipe((0,X.O)(this._allTabs)).subscribe(function(Xe){Re._tabs.reset(Xe.filter(function(pt){return pt._closestTabGroup===Re||!pt._closestTabGroup})),Re._tabs.notifyOnChanges()})}},{key:"ngOnDestroy",value:function(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}},{key:"realignInkBar",value:function(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}},{key:"focusTab",value:function(Re){var Xe=this._tabHeader;Xe&&(Xe.focusIndex=Re)}},{key:"_focusChanged",value:function(Re){this.focusChange.emit(this._createChangeEvent(Re))}},{key:"_createChangeEvent",value:function(Re){var Xe=new Vt;return Xe.index=Re,this._tabs&&this._tabs.length&&(Xe.tab=this._tabs.toArray()[Re]),Xe}},{key:"_subscribeToTabLabels",value:function(){var Re=this;this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=S.T.apply(void 0,(0,B.Z)(this._tabs.map(function(Xe){return Xe._stateChanges}))).subscribe(function(){return Re._changeDetectorRef.markForCheck()})}},{key:"_clampTabIndex",value:function(Re){return Math.min(this._tabs.length-1,Math.max(Re||0,0))}},{key:"_getTabLabelId",value:function(Re){return"mat-tab-label-".concat(this._groupId,"-").concat(Re)}},{key:"_getTabContentId",value:function(Re){return"mat-tab-content-".concat(this._groupId,"-").concat(Re)}},{key:"_setTabBodyWrapperHeight",value:function(Re){if(this._dynamicHeight&&this._tabBodyWrapperHeight){var Xe=this._tabBodyWrapper.nativeElement;Xe.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(Xe.style.height=Re+"px")}}},{key:"_removeTabBodyWrapperHeight",value:function(){var Re=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=Re.clientHeight,Re.style.height="",this.animationDone.emit()}},{key:"_handleClick",value:function(Re,Xe,pt){Re.disabled||(this.selectedIndex=Xe.focusIndex=pt)}},{key:"_getTabIndex",value:function(Re,Xe){return Re.disabled?null:this.selectedIndex===Xe?0:-1}},{key:"_tabFocusChanged",value:function(Re,Xe){Re&&"mouse"!==Re&&"touch"!==Re&&(this._tabHeader.focusIndex=Xe)}}]),we}(Kt);return ht.\u0275fac=function(_t){return new(_t||ht)(y.Y36(y.SBq),y.Y36(y.sBO),y.Y36(rn,8),y.Y36(D.Qb,8))},ht.\u0275dir=y.lG2({type:ht,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[y.qOj]}),ht}(),hn=function(){var ht=function(lt){(0,L.Z)(we,lt);var _t=(0,w.Z)(we);function we(je,Re,Xe,pt){return(0,R.Z)(this,we),_t.call(this,je,Re,Xe,pt)}return we}(on);return ht.\u0275fac=function(_t){return new(_t||ht)(y.Y36(y.SBq),y.Y36(y.sBO),y.Y36(rn,8),y.Y36(D.Qb,8))},ht.\u0275cmp=y.Xpm({type:ht,selectors:[["mat-tab-group"]],contentQueries:function(_t,we,je){var Re;1&_t&&y.Suo(je,Wn,5),2&_t&&y.iGM(Re=y.CRH())&&(we._allTabs=Re)},viewQuery:function(_t,we){var je;1&_t&&(y.Gf(bt,5),y.Gf(_e,5)),2&_t&&(y.iGM(je=y.CRH())&&(we._tabBodyWrapper=je.first),y.iGM(je=y.CRH())&&(we._tabHeader=je.first))},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(_t,we){2&_t&&y.ekj("mat-tab-group-dynamic-height",we.dynamicHeight)("mat-tab-group-inverted-header","below"===we.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[y._Bn([{provide:zn,useExisting:ht}]),y.qOj],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(_t,we){1&_t&&(y.TgZ(0,"mat-tab-header",0,1),y.NdJ("indexFocused",function(Re){return we._focusChanged(Re)})("selectFocusedIndex",function(Re){return we.selectedIndex=Re}),y.YNc(2,tt,4,14,"div",2),y.qZA(),y.TgZ(3,"div",3,4),y.YNc(5,Zt,1,9,"mat-tab-body",5),y.qZA()),2&_t&&(y.Q6J("selectedIndex",we.selectedIndex||0)("disableRipple",we.disableRipple)("disablePagination",we.disablePagination),y.xp6(2),y.Q6J("ngForOf",we._tabs),y.xp6(1),y.ekj("_mat-animation-noopable","NoopAnimations"===we._animationMode),y.xp6(2),y.Q6J("ngForOf",we._tabs))},directives:[vt,O.sg,kt,T.wG,E.kH,O.O5,Z.Pl,Qn],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),ht}(),Ot=function(){var ht=function lt(){(0,R.Z)(this,lt)};return ht.\u0275fac=function(_t){return new(_t||ht)},ht.\u0275mod=y.oAB({type:ht}),ht.\u0275inj=y.cJS({imports:[[O.ez,T.BQ,Z.eL,T.si,x.Q8,E.rt],T.BQ]}),ht}()},39555:function(ue,j,f){"use strict";f.d(j,{Qb:function(){return Fu},PW:function(){return oh}});var B=f(51380),U=f(18967),V=f(14105),L=f(10509),w=f(97154),R=f(83668),b=f(35427),E=f(69814),x=f(38402),Z=f(89200),O=f(36683),y=f(3801),T=f(333);function D(){return"undefined"!=typeof window&&void 0!==window.document}function v(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function g(Oe){switch(Oe.length){case 0:return new E.ZN;case 1:return Oe[0];default:return new E.ZE(Oe)}}function M(Oe,ye,J,ie){var ke=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},Be=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},ot=[],xt=[],Bt=-1,Jt=null;if(ie.forEach(function(kn){var An=kn.offset,Jn=An==Bt,yr=Jn&&Jt||{};Object.keys(kn).forEach(function(Tr){var pr=Tr,Ur=kn[Tr];if("offset"!==Tr)switch(pr=ye.normalizePropertyName(pr,ot),Ur){case E.k1:Ur=ke[Tr];break;case E.l3:Ur=Be[Tr];break;default:Ur=ye.normalizeStyleValue(Tr,pr,Ur,ot)}yr[pr]=Ur}),Jn||xt.push(yr),Jt=yr,Bt=An}),ot.length){var an="\n - ";throw new Error("Unable to animate due to the following errors:".concat(an).concat(ot.join(an)))}return xt}function k(Oe,ye,J,ie){switch(ye){case"start":Oe.onStart(function(){return ie(J&&S(J,"start",Oe))});break;case"done":Oe.onDone(function(){return ie(J&&S(J,"done",Oe))});break;case"destroy":Oe.onDestroy(function(){return ie(J&&S(J,"destroy",Oe))})}}function S(Oe,ye,J){var ie=J.totalTime,Be=I(Oe.element,Oe.triggerName,Oe.fromState,Oe.toState,ye||Oe.phaseName,null==ie?Oe.totalTime:ie,!!J.disabled),ot=Oe._data;return null!=ot&&(Be._data=ot),Be}function I(Oe,ye,J,ie){var ke=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",Be=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,ot=arguments.length>6?arguments[6]:void 0;return{element:Oe,triggerName:ye,fromState:J,toState:ie,phaseName:ke,totalTime:Be,disabled:!!ot}}function F(Oe,ye,J){var ie;return Oe instanceof Map?(ie=Oe.get(ye))||Oe.set(ye,ie=J):(ie=Oe[ye])||(ie=Oe[ye]=J),ie}function G(Oe){var ye=Oe.indexOf(":");return[Oe.substring(1,ye),Oe.substr(ye+1)]}var X=function(ye,J){return!1},W=function(ye,J){return!1},Y=function(ye,J,ie){return[]},ae=v();(ae||"undefined"!=typeof Element)&&(X=D()?function(ye,J){for(;J&&J!==document.documentElement;){if(J===ye)return!0;J=J.parentNode||J.host}return!1}:function(ye,J){return ye.contains(J)},W=function(){if(ae||Element.prototype.matches)return function(J,ie){return J.matches(ie)};var Oe=Element.prototype,ye=Oe.matchesSelector||Oe.mozMatchesSelector||Oe.msMatchesSelector||Oe.oMatchesSelector||Oe.webkitMatchesSelector;return ye?function(J,ie){return ye.apply(J,[ie])}:W}(),Y=function(ye,J,ie){var ke=[];if(ie)for(var Be=ye.querySelectorAll(J),ot=0;ot<Be.length;ot++)ke.push(Be[ot]);else{var xt=ye.querySelector(J);xt&&ke.push(xt)}return ke});var fe=null,ce=!1;function he(Oe){fe||(fe=("undefined"!=typeof document?document.body:null)||{},ce=!!fe.style&&"WebkitAppearance"in fe.style);var ye=!0;return fe.style&&!function(Oe){return"ebkit"==Oe.substring(1,6)}(Oe)&&!(ye=Oe in fe.style)&&ce&&(ye="Webkit"+Oe.charAt(0).toUpperCase()+Oe.substr(1)in fe.style),ye}var oe=W,Ce=X,ge=Y;function qe(Oe){var ye={};return Object.keys(Oe).forEach(function(J){var ie=J.replace(/([a-z])([A-Z])/g,"$1-$2");ye[ie]=Oe[J]}),ye}var De=function(){var Oe=function(){function ye(){(0,U.Z)(this,ye)}return(0,V.Z)(ye,[{key:"validateStyleProperty",value:function(ie){return he(ie)}},{key:"matchesElement",value:function(ie,ke){return oe(ie,ke)}},{key:"containsElement",value:function(ie,ke){return Ce(ie,ke)}},{key:"query",value:function(ie,ke,Be){return ge(ie,ke,Be)}},{key:"computeStyle",value:function(ie,ke,Be){return Be||""}},{key:"animate",value:function(ie,ke,Be,ot,xt){return new E.ZN(Be,ot)}}]),ye}();return Oe.\u0275fac=function(J){return new(J||Oe)},Oe.\u0275prov=R.Yz7({token:Oe,factory:Oe.\u0275fac}),Oe}(),Qe=function(){var Oe=function ye(){(0,U.Z)(this,ye)};return Oe.NOOP=new De,Oe}(),xe="ng-enter",He="ng-leave",Zt="ng-trigger",Tt=".ng-trigger",mt="ng-animating",Yt=".ng-animating";function un(Oe){if("number"==typeof Oe)return Oe;var ye=Oe.match(/^(-?[\.\d]+)(m?s)/);return!ye||ye.length<2?0:Ut(parseFloat(ye[1]),ye[2])}function Ut(Oe,ye){return"s"===ye?1e3*Oe:Oe}function Mn(Oe,ye,J){return Oe.hasOwnProperty("duration")?Oe:function(Oe,ye,J){var ke,Be=0,ot="";if("string"==typeof Oe){var xt=Oe.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===xt)return ye.push('The provided timing value "'.concat(Oe,'" is invalid.')),{duration:0,delay:0,easing:""};ke=Ut(parseFloat(xt[1]),xt[2]);var Bt=xt[3];null!=Bt&&(Be=Ut(parseFloat(Bt),xt[4]));var Jt=xt[5];Jt&&(ot=Jt)}else ke=Oe;if(!J){var an=!1,kn=ye.length;ke<0&&(ye.push("Duration values below 0 are not allowed for this animation step."),an=!0),Be<0&&(ye.push("Delay values below 0 are not allowed for this animation step."),an=!0),an&&ye.splice(kn,0,'The provided timing value "'.concat(Oe,'" is invalid.'))}return{duration:ke,delay:Be,easing:ot}}(Oe,ye,J)}function Fn(Oe){var ye=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(Oe).forEach(function(J){ye[J]=Oe[J]}),ye}function Vn(Oe,ye){var J=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(ye)for(var ie in Oe)J[ie]=Oe[ie];else Fn(Oe,J);return J}function zn(Oe,ye,J){return J?ye+":"+J+";":""}function Wn(Oe){for(var ye="",J=0;J<Oe.style.length;J++){var ie=Oe.style.item(J);ye+=zn(0,ie,Oe.style.getPropertyValue(ie))}for(var ke in Oe.style)Oe.style.hasOwnProperty(ke)&&!ke.startsWith("_")&&(ye+=zn(0,be(ke),Oe.style[ke]));Oe.setAttribute("style",ye)}function nr(Oe,ye,J){Oe.style&&(Object.keys(ye).forEach(function(ie){var ke=ne(ie);J&&!J.hasOwnProperty(ie)&&(J[ie]=Oe.style[ke]),Oe.style[ke]=ye[ie]}),v()&&Wn(Oe))}function ar(Oe,ye){Oe.style&&(Object.keys(ye).forEach(function(J){var ie=ne(J);Oe.style[ie]=""}),v()&&Wn(Oe))}function Sr(Oe){return Array.isArray(Oe)?1==Oe.length?Oe[0]:(0,E.vP)(Oe):Oe}var rn=new RegExp("".concat("{{","\\s*(.+?)\\s*").concat("}}"),"g");function _n(Oe){var ye=[];if("string"==typeof Oe){for(var J;J=rn.exec(Oe);)ye.push(J[1]);rn.lastIndex=0}return ye}function kt(Oe,ye,J){var ie=Oe.toString(),ke=ie.replace(rn,function(Be,ot){var xt=ye[ot];return ye.hasOwnProperty(ot)||(J.push("Please provide a value for the animation param ".concat(ot)),xt=""),xt.toString()});return ke==ie?Oe:ke}function Ye(Oe){for(var ye=[],J=Oe.next();!J.done;)ye.push(J.value),J=Oe.next();return ye}var Me=/-+([a-z0-9])/g;function ne(Oe){return Oe.replace(Me,function(){for(var ye=arguments.length,J=new Array(ye),ie=0;ie<ye;ie++)J[ie]=arguments[ie];return J[1].toUpperCase()})}function be(Oe){return Oe.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Fe(Oe,ye){return 0===Oe||0===ye}function Ge(Oe,ye,J){var ie=Object.keys(J);if(ie.length&&ye.length){var ke=ye[0],Be=[];if(ie.forEach(function(Bt){ke.hasOwnProperty(Bt)||Be.push(Bt),ke[Bt]=J[Bt]}),Be.length)for(var ot=function(){var Jt=ye[xt];Be.forEach(function(an){Jt[an]=At(Oe,an)})},xt=1;xt<ye.length;xt++)ot()}return ye}function vt(Oe,ye,J){switch(ye.type){case 7:return Oe.visitTrigger(ye,J);case 0:return Oe.visitState(ye,J);case 1:return Oe.visitTransition(ye,J);case 2:return Oe.visitSequence(ye,J);case 3:return Oe.visitGroup(ye,J);case 4:return Oe.visitAnimate(ye,J);case 5:return Oe.visitKeyframes(ye,J);case 6:return Oe.visitStyle(ye,J);case 8:return Oe.visitReference(ye,J);case 9:return Oe.visitAnimateChild(ye,J);case 10:return Oe.visitAnimateRef(ye,J);case 11:return Oe.visitQuery(ye,J);case 12:return Oe.visitStagger(ye,J);default:throw new Error("Unable to resolve animation metadata node #".concat(ye.type))}}function At(Oe,ye){return window.getComputedStyle(Oe)[ye]}function Kt(Oe,ye){var J=[];return"string"==typeof Oe?Oe.split(/\s*,\s*/).forEach(function(ie){return function(Oe,ye,J){if(":"==Oe[0]){var ie=function(Oe,ye){switch(Oe){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(J,ie){return parseFloat(ie)>parseFloat(J)};case":decrement":return function(J,ie){return parseFloat(ie)<parseFloat(J)};default:return ye.push('The transition alias value "'.concat(Oe,'" is not supported')),"* => *"}}(Oe,J);if("function"==typeof ie)return void ye.push(ie);Oe=ie}var ke=Oe.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==ke||ke.length<4)return J.push('The provided transition expression "'.concat(Oe,'" is not supported')),ye;var Be=ke[1],ot=ke[2],xt=ke[3];ye.push(Nt(Be,xt)),"<"==ot[0]&&!("*"==Be&&"*"==xt)&&ye.push(Nt(xt,Be))}(ie,J,ye)}):J.push(Oe),J}var yn=new Set(["true","1"]),Cn=new Set(["false","0"]);function Nt(Oe,ye){var J=yn.has(Oe)||Cn.has(Oe),ie=yn.has(ye)||Cn.has(ye);return function(ke,Be){var ot="*"==Oe||Oe==ke,xt="*"==ye||ye==Be;return!ot&&J&&"boolean"==typeof ke&&(ot=ke?yn.has(Oe):Cn.has(Oe)),!xt&&ie&&"boolean"==typeof Be&&(xt=Be?yn.has(ye):Cn.has(ye)),ot&&xt}}var Ct=new RegExp("s*".concat(":self","s*,?"),"g");function Ot(Oe,ye,J){return new lt(Oe).build(ye,J)}var lt=function(){function Oe(ye){(0,U.Z)(this,Oe),this._driver=ye}return(0,V.Z)(Oe,[{key:"build",value:function(J,ie){var ke=new je(ie);return this._resetContextStyleTimingState(ke),vt(this,Sr(J),ke)}},{key:"_resetContextStyleTimingState",value:function(J){J.currentQuerySelector="",J.collectedStyles={},J.collectedStyles[""]={},J.currentTime=0}},{key:"visitTrigger",value:function(J,ie){var ke=this,Be=ie.queryCount=0,ot=ie.depCount=0,xt=[],Bt=[];return"@"==J.name.charAt(0)&&ie.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),J.definitions.forEach(function(Jt){if(ke._resetContextStyleTimingState(ie),0==Jt.type){var an=Jt,kn=an.name;kn.toString().split(/\s*,\s*/).forEach(function(Jn){an.name=Jn,xt.push(ke.visitState(an,ie))}),an.name=kn}else if(1==Jt.type){var An=ke.visitTransition(Jt,ie);Be+=An.queryCount,ot+=An.depCount,Bt.push(An)}else ie.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:J.name,states:xt,transitions:Bt,queryCount:Be,depCount:ot,options:null}}},{key:"visitState",value:function(J,ie){var ke=this.visitStyle(J.styles,ie),Be=J.options&&J.options.params||null;if(ke.containsDynamicStyles){var ot=new Set,xt=Be||{};if(ke.styles.forEach(function(Jt){if(Xe(Jt)){var an=Jt;Object.keys(an).forEach(function(kn){_n(an[kn]).forEach(function(An){xt.hasOwnProperty(An)||ot.add(An)})})}}),ot.size){var Bt=Ye(ot.values());ie.errors.push('state("'.concat(J.name,'", ...) must define default values for all the following style substitutions: ').concat(Bt.join(", ")))}}return{type:0,name:J.name,style:ke,options:Be?{params:Be}:null}}},{key:"visitTransition",value:function(J,ie){ie.queryCount=0,ie.depCount=0;var ke=vt(this,Sr(J.animation),ie);return{type:1,matchers:Kt(J.expr,ie.errors),animation:ke,queryCount:ie.queryCount,depCount:ie.depCount,options:Ft(J.options)}}},{key:"visitSequence",value:function(J,ie){var ke=this;return{type:2,steps:J.steps.map(function(Be){return vt(ke,Be,ie)}),options:Ft(J.options)}}},{key:"visitGroup",value:function(J,ie){var ke=this,Be=ie.currentTime,ot=0,xt=J.steps.map(function(Bt){ie.currentTime=Be;var Jt=vt(ke,Bt,ie);return ot=Math.max(ot,ie.currentTime),Jt});return ie.currentTime=ot,{type:3,steps:xt,options:Ft(J.options)}}},{key:"visitAnimate",value:function(J,ie){var ke=function(Oe,ye){var J=null;if(Oe.hasOwnProperty("duration"))J=Oe;else if("number"==typeof Oe)return Xt(Mn(Oe,ye).duration,0,"");var ke=Oe,Be=ke.split(/\s+/).some(function(xt){return"{"==xt.charAt(0)&&"{"==xt.charAt(1)});if(Be){var ot=Xt(0,0,"");return ot.dynamic=!0,ot.strValue=ke,ot}return Xt((J=J||Mn(ke,ye)).duration,J.delay,J.easing)}(J.timings,ie.errors);ie.currentAnimateTimings=ke;var Be,ot=J.styles?J.styles:(0,E.oB)({});if(5==ot.type)Be=this.visitKeyframes(ot,ie);else{var xt=J.styles,Bt=!1;if(!xt){Bt=!0;var Jt={};ke.easing&&(Jt.easing=ke.easing),xt=(0,E.oB)(Jt)}ie.currentTime+=ke.duration+ke.delay;var an=this.visitStyle(xt,ie);an.isEmptyStep=Bt,Be=an}return ie.currentAnimateTimings=null,{type:4,timings:ke,style:Be,options:null}}},{key:"visitStyle",value:function(J,ie){var ke=this._makeStyleAst(J,ie);return this._validateStyleAst(ke,ie),ke}},{key:"_makeStyleAst",value:function(J,ie){var ke=[];Array.isArray(J.styles)?J.styles.forEach(function(xt){"string"==typeof xt?xt==E.l3?ke.push(xt):ie.errors.push("The provided style string value ".concat(xt," is not allowed.")):ke.push(xt)}):ke.push(J.styles);var Be=!1,ot=null;return ke.forEach(function(xt){if(Xe(xt)){var Bt=xt,Jt=Bt.easing;if(Jt&&(ot=Jt,delete Bt.easing),!Be)for(var an in Bt)if(Bt[an].toString().indexOf("{{")>=0){Be=!0;break}}}),{type:6,styles:ke,easing:ot,offset:J.offset,containsDynamicStyles:Be,options:null}}},{key:"_validateStyleAst",value:function(J,ie){var ke=this,Be=ie.currentAnimateTimings,ot=ie.currentTime,xt=ie.currentTime;Be&&xt>0&&(xt-=Be.duration+Be.delay),J.styles.forEach(function(Bt){"string"!=typeof Bt&&Object.keys(Bt).forEach(function(Jt){if(ke._driver.validateStyleProperty(Jt)){var an=ie.collectedStyles[ie.currentQuerySelector],kn=an[Jt],An=!0;kn&&(xt!=ot&&xt>=kn.startTime&&ot<=kn.endTime&&(ie.errors.push('The CSS property "'.concat(Jt,'" that exists between the times of "').concat(kn.startTime,'ms" and "').concat(kn.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(xt,'ms" and "').concat(ot,'ms"')),An=!1),xt=kn.startTime),An&&(an[Jt]={startTime:xt,endTime:ot}),ie.options&&function(Oe,ye,J){var ie=ye.params||{},ke=_n(Oe);ke.length&&ke.forEach(function(Be){ie.hasOwnProperty(Be)||J.push("Unable to resolve the local animation param ".concat(Be," in the given list of values"))})}(Bt[Jt],ie.options,ie.errors)}else ie.errors.push('The provided animation property "'.concat(Jt,'" is not a supported CSS property for animations'))})})}},{key:"visitKeyframes",value:function(J,ie){var ke=this,Be={type:5,styles:[],options:null};if(!ie.currentAnimateTimings)return ie.errors.push("keyframes() must be placed inside of a call to animate()"),Be;var xt=0,Bt=[],Jt=!1,an=!1,kn=0,An=J.steps.map(function(Wi){var Ci=ke._makeStyleAst(Wi,ie),xa=null!=Ci.offset?Ci.offset:function(Oe){if("string"==typeof Oe)return null;var ye=null;if(Array.isArray(Oe))Oe.forEach(function(ie){if(Xe(ie)&&ie.hasOwnProperty("offset")){var ke=ie;ye=parseFloat(ke.offset),delete ke.offset}});else if(Xe(Oe)&&Oe.hasOwnProperty("offset")){var J=Oe;ye=parseFloat(J.offset),delete J.offset}return ye}(Ci.styles),bi=0;return null!=xa&&(xt++,bi=Ci.offset=xa),an=an||bi<0||bi>1,Jt=Jt||bi<kn,kn=bi,Bt.push(bi),Ci});an&&ie.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),Jt&&ie.errors.push("Please ensure that all keyframe offsets are in order");var Jn=J.steps.length,yr=0;xt>0&&xt<Jn?ie.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==xt&&(yr=1/(Jn-1));var Tr=Jn-1,pr=ie.currentTime,Ur=ie.currentAnimateTimings,zi=Ur.duration;return An.forEach(function(Wi,Ci){var xa=yr>0?Ci==Tr?1:yr*Ci:Bt[Ci],bi=xa*zi;ie.currentTime=pr+Ur.delay+bi,Ur.duration=bi,ke._validateStyleAst(Wi,ie),Wi.offset=xa,Be.styles.push(Wi)}),Be}},{key:"visitReference",value:function(J,ie){return{type:8,animation:vt(this,Sr(J.animation),ie),options:Ft(J.options)}}},{key:"visitAnimateChild",value:function(J,ie){return ie.depCount++,{type:9,options:Ft(J.options)}}},{key:"visitAnimateRef",value:function(J,ie){return{type:10,animation:this.visitReference(J.animation,ie),options:Ft(J.options)}}},{key:"visitQuery",value:function(J,ie){var ke=ie.currentQuerySelector,Be=J.options||{};ie.queryCount++,ie.currentQuery=J;var ot=function(Oe){var ye=!!Oe.split(/\s*,\s*/).find(function(J){return":self"==J});return ye&&(Oe=Oe.replace(Ct,"")),Oe=Oe.replace(/@\*/g,Tt).replace(/@\w+/g,function(J){return Tt+"-"+J.substr(1)}).replace(/:animating/g,Yt),[Oe,ye]}(J.selector),xt=(0,B.Z)(ot,2),Bt=xt[0],Jt=xt[1];ie.currentQuerySelector=ke.length?ke+" "+Bt:Bt,F(ie.collectedStyles,ie.currentQuerySelector,{});var an=vt(this,Sr(J.animation),ie);return ie.currentQuery=null,ie.currentQuerySelector=ke,{type:11,selector:Bt,limit:Be.limit||0,optional:!!Be.optional,includeSelf:Jt,animation:an,originalSelector:J.selector,options:Ft(J.options)}}},{key:"visitStagger",value:function(J,ie){ie.currentQuery||ie.errors.push("stagger() can only be used inside of query()");var ke="full"===J.timings?{duration:0,delay:0,easing:"full"}:Mn(J.timings,ie.errors,!0);return{type:12,animation:vt(this,Sr(J.animation),ie),timings:ke,options:null}}}]),Oe}(),je=function Oe(ye){(0,U.Z)(this,Oe),this.errors=ye,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null};function Xe(Oe){return!Array.isArray(Oe)&&"object"==typeof Oe}function Ft(Oe){return Oe?(Oe=Fn(Oe)).params&&(Oe.params=function(Oe){return Oe?Fn(Oe):null}(Oe.params)):Oe={},Oe}function Xt(Oe,ye,J){return{duration:Oe,delay:ye,easing:J}}function Tn(Oe,ye,J,ie,ke,Be){var ot=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,xt=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:Oe,keyframes:ye,preStyleProps:J,postStyleProps:ie,duration:ke,delay:Be,totalTime:ke+Be,easing:ot,subTimeline:xt}}var Dn=function(){function Oe(){(0,U.Z)(this,Oe),this._map=new Map}return(0,V.Z)(Oe,[{key:"consume",value:function(J){var ie=this._map.get(J);return ie?this._map.delete(J):ie=[],ie}},{key:"append",value:function(J,ie){var ke,Be=this._map.get(J);Be||this._map.set(J,Be=[]),(ke=Be).push.apply(ke,(0,T.Z)(ie))}},{key:"has",value:function(J){return this._map.has(J)}},{key:"clear",value:function(){this._map.clear()}}]),Oe}(),xi=new RegExp(":enter","g"),Hi=new RegExp(":leave","g");function ga(Oe,ye,J,ie,ke){var Be=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},ot=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},xt=arguments.length>7?arguments[7]:void 0,Bt=arguments.length>8?arguments[8]:void 0,Jt=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new da).buildKeyframes(Oe,ye,J,ie,ke,Be,ot,xt,Bt,Jt)}var da=function(){function Oe(){(0,U.Z)(this,Oe)}return(0,V.Z)(Oe,[{key:"buildKeyframes",value:function(J,ie,ke,Be,ot,xt,Bt,Jt,an){var kn=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];an=an||new Dn;var An=new pa(J,ie,an,Be,ot,kn,[]);An.options=Jt,An.currentTimeline.setStyles([xt],null,An.errors,Jt),vt(this,ke,An);var Jn=An.timelines.filter(function(Tr){return Tr.containsAnimation()});if(Jn.length&&Object.keys(Bt).length){var yr=Jn[Jn.length-1];yr.allowOnlyTimelineStyles()||yr.setStyles([Bt],null,An.errors,Jt)}return Jn.length?Jn.map(function(Tr){return Tr.buildKeyframes()}):[Tn(ie,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(J,ie){}},{key:"visitState",value:function(J,ie){}},{key:"visitTransition",value:function(J,ie){}},{key:"visitAnimateChild",value:function(J,ie){var ke=ie.subInstructions.consume(ie.element);if(ke){var Be=ie.createSubContext(J.options),ot=ie.currentTimeline.currentTime,xt=this._visitSubInstructions(ke,Be,Be.options);ot!=xt&&ie.transformIntoNewTimeline(xt)}ie.previousNode=J}},{key:"visitAnimateRef",value:function(J,ie){var ke=ie.createSubContext(J.options);ke.transformIntoNewTimeline(),this.visitReference(J.animation,ke),ie.transformIntoNewTimeline(ke.currentTimeline.currentTime),ie.previousNode=J}},{key:"_visitSubInstructions",value:function(J,ie,ke){var ot=ie.currentTimeline.currentTime,xt=null!=ke.duration?un(ke.duration):null,Bt=null!=ke.delay?un(ke.delay):null;return 0!==xt&&J.forEach(function(Jt){var an=ie.appendInstructionToTimeline(Jt,xt,Bt);ot=Math.max(ot,an.duration+an.delay)}),ot}},{key:"visitReference",value:function(J,ie){ie.updateOptions(J.options,!0),vt(this,J.animation,ie),ie.previousNode=J}},{key:"visitSequence",value:function(J,ie){var ke=this,Be=ie.subContextCount,ot=ie,xt=J.options;if(xt&&(xt.params||xt.delay)&&((ot=ie.createSubContext(xt)).transformIntoNewTimeline(),null!=xt.delay)){6==ot.previousNode.type&&(ot.currentTimeline.snapshotCurrentStyles(),ot.previousNode=Vi);var Bt=un(xt.delay);ot.delayNextStep(Bt)}J.steps.length&&(J.steps.forEach(function(Jt){return vt(ke,Jt,ot)}),ot.currentTimeline.applyStylesToKeyframe(),ot.subContextCount>Be&&ot.transformIntoNewTimeline()),ie.previousNode=J}},{key:"visitGroup",value:function(J,ie){var ke=this,Be=[],ot=ie.currentTimeline.currentTime,xt=J.options&&J.options.delay?un(J.options.delay):0;J.steps.forEach(function(Bt){var Jt=ie.createSubContext(J.options);xt&&Jt.delayNextStep(xt),vt(ke,Bt,Jt),ot=Math.max(ot,Jt.currentTimeline.currentTime),Be.push(Jt.currentTimeline)}),Be.forEach(function(Bt){return ie.currentTimeline.mergeTimelineCollectedStyles(Bt)}),ie.transformIntoNewTimeline(ot),ie.previousNode=J}},{key:"_visitTiming",value:function(J,ie){if(J.dynamic){var ke=J.strValue;return Mn(ie.params?kt(ke,ie.params,ie.errors):ke,ie.errors)}return{duration:J.duration,delay:J.delay,easing:J.easing}}},{key:"visitAnimate",value:function(J,ie){var ke=ie.currentAnimateTimings=this._visitTiming(J.timings,ie),Be=ie.currentTimeline;ke.delay&&(ie.incrementTime(ke.delay),Be.snapshotCurrentStyles());var ot=J.style;5==ot.type?this.visitKeyframes(ot,ie):(ie.incrementTime(ke.duration),this.visitStyle(ot,ie),Be.applyStylesToKeyframe()),ie.currentAnimateTimings=null,ie.previousNode=J}},{key:"visitStyle",value:function(J,ie){var ke=ie.currentTimeline,Be=ie.currentAnimateTimings;!Be&&ke.getCurrentStyleProperties().length&&ke.forwardFrame();var ot=Be&&Be.easing||J.easing;J.isEmptyStep?ke.applyEmptyStep(ot):ke.setStyles(J.styles,ot,ie.errors,ie.options),ie.previousNode=J}},{key:"visitKeyframes",value:function(J,ie){var ke=ie.currentAnimateTimings,Be=ie.currentTimeline.duration,ot=ke.duration,Bt=ie.createSubContext().currentTimeline;Bt.easing=ke.easing,J.styles.forEach(function(Jt){Bt.forwardTime((Jt.offset||0)*ot),Bt.setStyles(Jt.styles,Jt.easing,ie.errors,ie.options),Bt.applyStylesToKeyframe()}),ie.currentTimeline.mergeTimelineCollectedStyles(Bt),ie.transformIntoNewTimeline(Be+ot),ie.previousNode=J}},{key:"visitQuery",value:function(J,ie){var ke=this,Be=ie.currentTimeline.currentTime,ot=J.options||{},xt=ot.delay?un(ot.delay):0;xt&&(6===ie.previousNode.type||0==Be&&ie.currentTimeline.getCurrentStyleProperties().length)&&(ie.currentTimeline.snapshotCurrentStyles(),ie.previousNode=Vi);var Bt=Be,Jt=ie.invokeQuery(J.selector,J.originalSelector,J.limit,J.includeSelf,!!ot.optional,ie.errors);ie.currentQueryTotal=Jt.length;var an=null;Jt.forEach(function(kn,An){ie.currentQueryIndex=An;var Jn=ie.createSubContext(J.options,kn);xt&&Jn.delayNextStep(xt),kn===ie.element&&(an=Jn.currentTimeline),vt(ke,J.animation,Jn),Jn.currentTimeline.applyStylesToKeyframe(),Bt=Math.max(Bt,Jn.currentTimeline.currentTime)}),ie.currentQueryIndex=0,ie.currentQueryTotal=0,ie.transformIntoNewTimeline(Bt),an&&(ie.currentTimeline.mergeTimelineCollectedStyles(an),ie.currentTimeline.snapshotCurrentStyles()),ie.previousNode=J}},{key:"visitStagger",value:function(J,ie){var ke=ie.parentContext,Be=ie.currentTimeline,ot=J.timings,xt=Math.abs(ot.duration),Bt=xt*(ie.currentQueryTotal-1),Jt=xt*ie.currentQueryIndex;switch(ot.duration<0?"reverse":ot.easing){case"reverse":Jt=Bt-Jt;break;case"full":Jt=ke.currentStaggerTime}var kn=ie.currentTimeline;Jt&&kn.delayNextStep(Jt);var An=kn.currentTime;vt(this,J.animation,ie),ie.previousNode=J,ke.currentStaggerTime=Be.currentTime-An+(Be.startTime-ke.currentTimeline.startTime)}}]),Oe}(),Vi={},pa=function(){function Oe(ye,J,ie,ke,Be,ot,xt,Bt){(0,U.Z)(this,Oe),this._driver=ye,this.element=J,this.subInstructions=ie,this._enterClassName=ke,this._leaveClassName=Be,this.errors=ot,this.timelines=xt,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Vi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Bt||new Aa(this._driver,J,0),xt.push(this.currentTimeline)}return(0,V.Z)(Oe,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(J,ie){var ke=this;if(J){var Be=J,ot=this.options;null!=Be.duration&&(ot.duration=un(Be.duration)),null!=Be.delay&&(ot.delay=un(Be.delay));var xt=Be.params;if(xt){var Bt=ot.params;Bt||(Bt=this.options.params={}),Object.keys(xt).forEach(function(Jt){(!ie||!Bt.hasOwnProperty(Jt))&&(Bt[Jt]=kt(xt[Jt],Bt,ke.errors))})}}}},{key:"_copyOptions",value:function(){var J={};if(this.options){var ie=this.options.params;if(ie){var ke=J.params={};Object.keys(ie).forEach(function(Be){ke[Be]=ie[Be]})}}return J}},{key:"createSubContext",value:function(){var J=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,ie=arguments.length>1?arguments[1]:void 0,ke=arguments.length>2?arguments[2]:void 0,Be=ie||this.element,ot=new Oe(this._driver,Be,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(Be,ke||0));return ot.previousNode=this.previousNode,ot.currentAnimateTimings=this.currentAnimateTimings,ot.options=this._copyOptions(),ot.updateOptions(J),ot.currentQueryIndex=this.currentQueryIndex,ot.currentQueryTotal=this.currentQueryTotal,ot.parentContext=this,this.subContextCount++,ot}},{key:"transformIntoNewTimeline",value:function(J){return this.previousNode=Vi,this.currentTimeline=this.currentTimeline.fork(this.element,J),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(J,ie,ke){var Be={duration:null!=ie?ie:J.duration,delay:this.currentTimeline.currentTime+(null!=ke?ke:0)+J.delay,easing:""},ot=new Ha(this._driver,J.element,J.keyframes,J.preStyleProps,J.postStyleProps,Be,J.stretchStartingKeyframe);return this.timelines.push(ot),Be}},{key:"incrementTime",value:function(J){this.currentTimeline.forwardTime(this.currentTimeline.duration+J)}},{key:"delayNextStep",value:function(J){J>0&&this.currentTimeline.delayNextStep(J)}},{key:"invokeQuery",value:function(J,ie,ke,Be,ot,xt){var Bt=[];if(Be&&Bt.push(this.element),J.length>0){J=(J=J.replace(xi,"."+this._enterClassName)).replace(Hi,"."+this._leaveClassName);var an=this._driver.query(this.element,J,1!=ke);0!==ke&&(an=ke<0?an.slice(an.length+ke,an.length):an.slice(0,ke)),Bt.push.apply(Bt,(0,T.Z)(an))}return!ot&&0==Bt.length&&xt.push('`query("'.concat(ie,'")` returned zero elements. (Use `query("').concat(ie,'", { optional: true })` if you wish to allow this.)')),Bt}}]),Oe}(),Aa=function(){function Oe(ye,J,ie,ke){(0,U.Z)(this,Oe),this._driver=ye,this.element=J,this.startTime=ie,this._elementTimelineStylesLookup=ke,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(J),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(J,this._localTimelineStyles)),this._loadKeyframe()}return(0,V.Z)(Oe,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"delayNextStep",value:function(J){var ie=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||ie?(this.forwardTime(this.currentTime+J),ie&&this.snapshotCurrentStyles()):this.startTime+=J}},{key:"fork",value:function(J,ie){return this.applyStylesToKeyframe(),new Oe(this._driver,J,ie||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(J){this.applyStylesToKeyframe(),this.duration=J,this._loadKeyframe()}},{key:"_updateStyle",value:function(J,ie){this._localTimelineStyles[J]=ie,this._globalTimelineStyles[J]=ie,this._styleSummary[J]={time:this.currentTime,value:ie}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(J){var ie=this;J&&(this._previousKeyframe.easing=J),Object.keys(this._globalTimelineStyles).forEach(function(ke){ie._backFill[ke]=ie._globalTimelineStyles[ke]||E.l3,ie._currentKeyframe[ke]=E.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(J,ie,ke,Be){var ot=this;ie&&(this._previousKeyframe.easing=ie);var xt=Be&&Be.params||{},Bt=function(Oe,ye){var ie,J={};return Oe.forEach(function(ke){"*"===ke?(ie=ie||Object.keys(ye)).forEach(function(Be){J[Be]=E.l3}):Vn(ke,!1,J)}),J}(J,this._globalTimelineStyles);Object.keys(Bt).forEach(function(Jt){var an=kt(Bt[Jt],xt,ke);ot._pendingStyles[Jt]=an,ot._localTimelineStyles.hasOwnProperty(Jt)||(ot._backFill[Jt]=ot._globalTimelineStyles.hasOwnProperty(Jt)?ot._globalTimelineStyles[Jt]:E.l3),ot._updateStyle(Jt,an)})}},{key:"applyStylesToKeyframe",value:function(){var J=this,ie=this._pendingStyles,ke=Object.keys(ie);0!=ke.length&&(this._pendingStyles={},ke.forEach(function(Be){J._currentKeyframe[Be]=ie[Be]}),Object.keys(this._localTimelineStyles).forEach(function(Be){J._currentKeyframe.hasOwnProperty(Be)||(J._currentKeyframe[Be]=J._localTimelineStyles[Be])}))}},{key:"snapshotCurrentStyles",value:function(){var J=this;Object.keys(this._localTimelineStyles).forEach(function(ie){var ke=J._localTimelineStyles[ie];J._pendingStyles[ie]=ke,J._updateStyle(ie,ke)})}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"properties",get:function(){var J=[];for(var ie in this._currentKeyframe)J.push(ie);return J}},{key:"mergeTimelineCollectedStyles",value:function(J){var ie=this;Object.keys(J._styleSummary).forEach(function(ke){var Be=ie._styleSummary[ke],ot=J._styleSummary[ke];(!Be||ot.time>Be.time)&&ie._updateStyle(ke,ot.value)})}},{key:"buildKeyframes",value:function(){var J=this;this.applyStylesToKeyframe();var ie=new Set,ke=new Set,Be=1===this._keyframes.size&&0===this.duration,ot=[];this._keyframes.forEach(function(kn,An){var Jn=Vn(kn,!0);Object.keys(Jn).forEach(function(yr){var Tr=Jn[yr];Tr==E.k1?ie.add(yr):Tr==E.l3&&ke.add(yr)}),Be||(Jn.offset=An/J.duration),ot.push(Jn)});var xt=ie.size?Ye(ie.values()):[],Bt=ke.size?Ye(ke.values()):[];if(Be){var Jt=ot[0],an=Fn(Jt);Jt.offset=0,an.offset=1,ot=[Jt,an]}return Tn(this.element,ot,xt,Bt,this.duration,this.startTime,this.easing,!1)}}]),Oe}(),Ha=function(Oe){(0,L.Z)(J,Oe);var ye=(0,w.Z)(J);function J(ie,ke,Be,ot,xt,Bt){var Jt,an=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return(0,U.Z)(this,J),(Jt=ye.call(this,ie,ke,Bt.delay)).keyframes=Be,Jt.preStyleProps=ot,Jt.postStyleProps=xt,Jt._stretchStartingKeyframe=an,Jt.timings={duration:Bt.duration,delay:Bt.delay,easing:Bt.easing},Jt}return(0,V.Z)(J,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var ke=this.keyframes,Be=this.timings,ot=Be.delay,xt=Be.duration,Bt=Be.easing;if(this._stretchStartingKeyframe&&ot){var Jt=[],an=xt+ot,kn=ot/an,An=Vn(ke[0],!1);An.offset=0,Jt.push(An);var Jn=Vn(ke[0],!1);Jn.offset=Kr(kn),Jt.push(Jn);for(var yr=ke.length-1,Tr=1;Tr<=yr;Tr++){var pr=Vn(ke[Tr],!1);pr.offset=Kr((ot+pr.offset*xt)/an),Jt.push(pr)}xt=an,ot=0,Bt="",ke=Jt}return Tn(this.element,ke,this.preStyleProps,this.postStyleProps,xt,ot,Bt,!0)}}]),J}(Aa);function Kr(Oe){var ye=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,J=Math.pow(10,ye-1);return Math.round(Oe*J)/J}var Ht=function Oe(){(0,U.Z)(this,Oe)},ft=function(Oe){(0,L.Z)(J,Oe);var ye=(0,w.Z)(J);function J(){return(0,U.Z)(this,J),ye.apply(this,arguments)}return(0,V.Z)(J,[{key:"normalizePropertyName",value:function(ke,Be){return ne(ke)}},{key:"normalizeStyleValue",value:function(ke,Be,ot,xt){var Bt="",Jt=ot.toString().trim();if(Et[Be]&&0!==ot&&"0"!==ot)if("number"==typeof ot)Bt="px";else{var an=ot.match(/^[+-]?[\d\.]+([a-z]*)$/);an&&0==an[1].length&&xt.push("Please provide a CSS unit value for ".concat(ke,":").concat(ot))}return Jt+Bt}}]),J}(Ht),Et=function(){return Oe="width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","),ye={},Oe.forEach(function(J){return ye[J]=!0}),ye;var Oe,ye}();function Qt(Oe,ye,J,ie,ke,Be,ot,xt,Bt,Jt,an,kn,An){return{type:0,element:Oe,triggerName:ye,isRemovalTransition:ke,fromState:J,fromStyles:Be,toState:ie,toStyles:ot,timelines:xt,queriedElements:Bt,preStyleProps:Jt,postStyleProps:an,totalTime:kn,errors:An}}var bn={},Pn=function(){function Oe(ye,J,ie){(0,U.Z)(this,Oe),this._triggerName=ye,this.ast=J,this._stateStyles=ie}return(0,V.Z)(Oe,[{key:"match",value:function(J,ie,ke,Be){return function(Oe,ye,J,ie,ke){return Oe.some(function(Be){return Be(ye,J,ie,ke)})}(this.ast.matchers,J,ie,ke,Be)}},{key:"buildStyles",value:function(J,ie,ke){var Be=this._stateStyles["*"],ot=this._stateStyles[J],xt=Be?Be.buildStyles(ie,ke):{};return ot?ot.buildStyles(ie,ke):xt}},{key:"build",value:function(J,ie,ke,Be,ot,xt,Bt,Jt,an,kn){var An=[],Jn=this.ast.options&&this.ast.options.params||bn,Tr=this.buildStyles(ke,Bt&&Bt.params||bn,An),pr=Jt&&Jt.params||bn,Ur=this.buildStyles(Be,pr,An),zi=new Set,Wi=new Map,Ci=new Map,xa="void"===Be,bi={params:(0,y.Z)((0,y.Z)({},Jn),pr)},Io=kn?[]:ga(J,ie,this.ast.animation,ot,xt,Tr,Ur,bi,an,An),Da=0;if(Io.forEach(function(So){Da=Math.max(So.duration+So.delay,Da)}),An.length)return Qt(ie,this._triggerName,ke,Be,xa,Tr,Ur,[],[],Wi,Ci,Da,An);Io.forEach(function(So){var Le=So.element,Ve=F(Wi,Le,{});So.preStyleProps.forEach(function(Ze){return Ve[Ze]=!0});var Se=F(Ci,Le,{});So.postStyleProps.forEach(function(Ze){return Se[Ze]=!0}),Le!==ie&&zi.add(Le)});var sl=Ye(zi.values());return Qt(ie,this._triggerName,ke,Be,xa,Tr,Ur,Io,sl,Wi,Ci,Da)}}]),Oe}(),dr=function(){function Oe(ye,J,ie){(0,U.Z)(this,Oe),this.styles=ye,this.defaultParams=J,this.normalizer=ie}return(0,V.Z)(Oe,[{key:"buildStyles",value:function(J,ie){var ke=this,Be={},ot=Fn(this.defaultParams);return Object.keys(J).forEach(function(xt){var Bt=J[xt];null!=Bt&&(ot[xt]=Bt)}),this.styles.styles.forEach(function(xt){if("string"!=typeof xt){var Bt=xt;Object.keys(Bt).forEach(function(Jt){var an=Bt[Jt];an.length>1&&(an=kt(an,ot,ie));var kn=ke.normalizer.normalizePropertyName(Jt,ie);an=ke.normalizer.normalizeStyleValue(Jt,kn,an,ie),Be[kn]=an})}}),Be}}]),Oe}(),Rr=function(){function Oe(ye,J,ie){var ke=this;(0,U.Z)(this,Oe),this.name=ye,this.ast=J,this._normalizer=ie,this.transitionFactories=[],this.states={},J.states.forEach(function(Be){ke.states[Be.name]=new dr(Be.style,Be.options&&Be.options.params||{},ie)}),ji(this.states,"true","1"),ji(this.states,"false","0"),J.transitions.forEach(function(Be){ke.transitionFactories.push(new Pn(ye,Be,ke.states))}),this.fallbackTransition=function(Oe,ye,J){return new Pn(Oe,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(ot,xt){return!0}],options:null,queryCount:0,depCount:0},ye)}(ye,this.states)}return(0,V.Z)(Oe,[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(J,ie,ke,Be){return this.transitionFactories.find(function(xt){return xt.match(J,ie,ke,Be)})||null}},{key:"matchStyles",value:function(J,ie,ke){return this.fallbackTransition.buildStyles(J,ie,ke)}}]),Oe}();function ji(Oe,ye,J){Oe.hasOwnProperty(ye)?Oe.hasOwnProperty(J)||(Oe[J]=Oe[ye]):Oe.hasOwnProperty(J)&&(Oe[ye]=Oe[J])}var Mr=new Dn,na=function(){function Oe(ye,J,ie){(0,U.Z)(this,Oe),this.bodyNode=ye,this._driver=J,this._normalizer=ie,this._animations={},this._playersById={},this.players=[]}return(0,V.Z)(Oe,[{key:"register",value:function(J,ie){var ke=[],Be=Ot(this._driver,ie,ke);if(ke.length)throw new Error("Unable to build the animation due to the following errors: ".concat(ke.join("\n")));this._animations[J]=Be}},{key:"_buildPlayer",value:function(J,ie,ke){var Be=J.element,ot=M(this._driver,this._normalizer,Be,J.keyframes,ie,ke);return this._driver.animate(Be,ot,J.duration,J.delay,J.easing,[],!0)}},{key:"create",value:function(J,ie){var Bt,ke=this,Be=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},ot=[],xt=this._animations[J],Jt=new Map;if(xt?(Bt=ga(this._driver,ie,xt,xe,He,{},{},Be,Mr,ot)).forEach(function(An){var Jn=F(Jt,An.element,{});An.postStyleProps.forEach(function(yr){return Jn[yr]=null})}):(ot.push("The requested animation doesn't exist or has already been destroyed"),Bt=[]),ot.length)throw new Error("Unable to create the animation due to the following errors: ".concat(ot.join("\n")));Jt.forEach(function(An,Jn){Object.keys(An).forEach(function(yr){An[yr]=ke._driver.computeStyle(Jn,yr,E.l3)})});var an=Bt.map(function(An){var Jn=Jt.get(An.element);return ke._buildPlayer(An,{},Jn)}),kn=g(an);return this._playersById[J]=kn,kn.onDestroy(function(){return ke.destroy(J)}),this.players.push(kn),kn}},{key:"destroy",value:function(J){var ie=this._getPlayer(J);ie.destroy(),delete this._playersById[J];var ke=this.players.indexOf(ie);ke>=0&&this.players.splice(ke,1)}},{key:"_getPlayer",value:function(J){var ie=this._playersById[J];if(!ie)throw new Error("Unable to find the timeline player referenced by ".concat(J));return ie}},{key:"listen",value:function(J,ie,ke,Be){var ot=I(ie,"","","");return k(this._getPlayer(J),ke,ot,Be),function(){}}},{key:"command",value:function(J,ie,ke,Be){if("register"!=ke)if("create"!=ke){var xt=this._getPlayer(J);switch(ke){case"play":xt.play();break;case"pause":xt.pause();break;case"reset":xt.reset();break;case"restart":xt.restart();break;case"finish":xt.finish();break;case"init":xt.init();break;case"setPosition":xt.setPosition(parseFloat(Be[0]));break;case"destroy":this.destroy(J)}}else this.create(J,ie,Be[0]||{});else this.register(J,Be[0])}}]),Oe}(),fa="ng-animate-queued",Ka="ng-animate-disabled",_a=".ng-animate-disabled",ha="ng-star-inserted",bs=[],Vo={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Oo={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Mi="__ng_removed",ka=function(){function Oe(ye){var J=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";(0,U.Z)(this,Oe),this.namespaceId=J;var ie=ye&&ye.hasOwnProperty("value"),ke=ie?ye.value:ye;if(this.value=fn(ke),ie){var Be=Fn(ye);delete Be.value,this.options=Be}else this.options={};this.options.params||(this.options.params={})}return(0,V.Z)(Oe,[{key:"params",get:function(){return this.options.params}},{key:"absorbOptions",value:function(J){var ie=J.params;if(ie){var ke=this.options.params;Object.keys(ie).forEach(function(Be){null==ke[Be]&&(ke[Be]=ie[Be])})}}}]),Oe}(),Gr="void",fi=new ka(Gr),Qi=function(){function Oe(ye,J,ie){(0,U.Z)(this,Oe),this.id=ye,this.hostElement=J,this._engine=ie,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+ye,hi(J,this._hostClassName)}return(0,V.Z)(Oe,[{key:"listen",value:function(J,ie,ke,Be){var ot=this;if(!this._triggers.hasOwnProperty(ie))throw new Error('Unable to listen on the animation trigger event "'.concat(ke,'" because the animation trigger "').concat(ie,"\" doesn't exist!"));if(null==ke||0==ke.length)throw new Error('Unable to listen on the animation trigger "'.concat(ie,'" because the provided event is undefined!'));if(!function(Oe){return"start"==Oe||"done"==Oe}(ke))throw new Error('The provided animation trigger event "'.concat(ke,'" for the animation trigger "').concat(ie,'" is not supported!'));var xt=F(this._elementListeners,J,[]),Bt={name:ie,phase:ke,callback:Be};xt.push(Bt);var Jt=F(this._engine.statesByElement,J,{});return Jt.hasOwnProperty(ie)||(hi(J,Zt),hi(J,Zt+"-"+ie),Jt[ie]=fi),function(){ot._engine.afterFlush(function(){var an=xt.indexOf(Bt);an>=0&&xt.splice(an,1),ot._triggers[ie]||delete Jt[ie]})}}},{key:"register",value:function(J,ie){return!this._triggers[J]&&(this._triggers[J]=ie,!0)}},{key:"_getTrigger",value:function(J){var ie=this._triggers[J];if(!ie)throw new Error('The provided animation trigger "'.concat(J,'" has not been registered!'));return ie}},{key:"trigger",value:function(J,ie,ke){var Be=this,ot=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],xt=this._getTrigger(ie),Bt=new Li(this.id,ie,J),Jt=this._engine.statesByElement.get(J);Jt||(hi(J,Zt),hi(J,Zt+"-"+ie),this._engine.statesByElement.set(J,Jt={}));var an=Jt[ie],kn=new ka(ke,this.id),An=ke&&ke.hasOwnProperty("value");!An&&an&&kn.absorbOptions(an.options),Jt[ie]=kn,an||(an=fi);var Jn=kn.value===Gr;if(Jn||an.value!==kn.value){var Ur=F(this._engine.playersByElement,J,[]);Ur.forEach(function(Ci){Ci.namespaceId==Be.id&&Ci.triggerName==ie&&Ci.queued&&Ci.destroy()});var zi=xt.matchTransition(an.value,kn.value,J,kn.params),Wi=!1;if(!zi){if(!ot)return;zi=xt.fallbackTransition,Wi=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:J,triggerName:ie,transition:zi,fromState:an,toState:kn,player:Bt,isFallbackTransition:Wi}),Wi||(hi(J,fa),Bt.onStart(function(){aa(J,fa)})),Bt.onDone(function(){var Ci=Be.players.indexOf(Bt);Ci>=0&&Be.players.splice(Ci,1);var xa=Be._engine.playersByElement.get(J);if(xa){var bi=xa.indexOf(Bt);bi>=0&&xa.splice(bi,1)}}),this.players.push(Bt),Ur.push(Bt),Bt}if(!as(an.params,kn.params)){var yr=[],Tr=xt.matchStyles(an.value,an.params,yr),pr=xt.matchStyles(kn.value,kn.params,yr);yr.length?this._engine.reportError(yr):this._engine.afterFlush(function(){ar(J,Tr),nr(J,pr)})}}},{key:"deregister",value:function(J){var ie=this;delete this._triggers[J],this._engine.statesByElement.forEach(function(ke,Be){delete ke[J]}),this._elementListeners.forEach(function(ke,Be){ie._elementListeners.set(Be,ke.filter(function(ot){return ot.name!=J}))})}},{key:"clearElementCache",value:function(J){this._engine.statesByElement.delete(J),this._elementListeners.delete(J);var ie=this._engine.playersByElement.get(J);ie&&(ie.forEach(function(ke){return ke.destroy()}),this._engine.playersByElement.delete(J))}},{key:"_signalRemovalForInnerTriggers",value:function(J,ie){var ke=this,Be=this._engine.driver.query(J,Tt,!0);Be.forEach(function(ot){if(!ot[Mi]){var xt=ke._engine.fetchNamespacesByElement(ot);xt.size?xt.forEach(function(Bt){return Bt.triggerLeaveAnimation(ot,ie,!1,!0)}):ke.clearElementCache(ot)}}),this._engine.afterFlushAnimationsDone(function(){return Be.forEach(function(ot){return ke.clearElementCache(ot)})})}},{key:"triggerLeaveAnimation",value:function(J,ie,ke,Be){var ot=this,xt=this._engine.statesByElement.get(J);if(xt){var Bt=[];if(Object.keys(xt).forEach(function(Jt){if(ot._triggers[Jt]){var an=ot.trigger(J,Jt,Gr,Be);an&&Bt.push(an)}}),Bt.length)return this._engine.markElementAsRemoved(this.id,J,!0,ie),ke&&g(Bt).onDone(function(){return ot._engine.processLeaveNode(J)}),!0}return!1}},{key:"prepareLeaveAnimationListeners",value:function(J){var ie=this,ke=this._elementListeners.get(J),Be=this._engine.statesByElement.get(J);if(ke&&Be){var ot=new Set;ke.forEach(function(xt){var Bt=xt.name;if(!ot.has(Bt)){ot.add(Bt);var an=ie._triggers[Bt].fallbackTransition,kn=Be[Bt]||fi,An=new ka(Gr),Jn=new Li(ie.id,Bt,J);ie._engine.totalQueuedPlayers++,ie._queue.push({element:J,triggerName:Bt,transition:an,fromState:kn,toState:An,player:Jn,isFallbackTransition:!0})}})}}},{key:"removeNode",value:function(J,ie){var ke=this,Be=this._engine;if(J.childElementCount&&this._signalRemovalForInnerTriggers(J,ie),!this.triggerLeaveAnimation(J,ie,!0)){var ot=!1;if(Be.totalAnimations){var xt=Be.players.length?Be.playersByQueriedElement.get(J):[];if(xt&&xt.length)ot=!0;else for(var Bt=J;Bt=Bt.parentNode;)if(Be.statesByElement.get(Bt)){ot=!0;break}}if(this.prepareLeaveAnimationListeners(J),ot)Be.markElementAsRemoved(this.id,J,!1,ie);else{var an=J[Mi];(!an||an===Vo)&&(Be.afterFlush(function(){return ke.clearElementCache(J)}),Be.destroyInnerAnimations(J),Be._onRemovalComplete(J,ie))}}}},{key:"insertNode",value:function(J,ie){hi(J,this._hostClassName)}},{key:"drainQueuedTransitions",value:function(J){var ie=this,ke=[];return this._queue.forEach(function(Be){var ot=Be.player;if(!ot.destroyed){var xt=Be.element,Bt=ie._elementListeners.get(xt);Bt&&Bt.forEach(function(Jt){if(Jt.name==Be.triggerName){var an=I(xt,Be.triggerName,Be.fromState.value,Be.toState.value);an._data=J,k(Be.player,Jt.phase,an,Jt.callback)}}),ot.markedForDestroy?ie._engine.afterFlush(function(){ot.destroy()}):ke.push(Be)}}),this._queue=[],ke.sort(function(Be,ot){var xt=Be.transition.ast.depCount,Bt=ot.transition.ast.depCount;return 0==xt||0==Bt?xt-Bt:ie._engine.driver.containsElement(Be.element,ot.element)?1:-1})}},{key:"destroy",value:function(J){this.players.forEach(function(ie){return ie.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,J)}},{key:"elementContainsData",value:function(J){var ie=!1;return this._elementListeners.has(J)&&(ie=!0),!!this._queue.find(function(ke){return ke.element===J})||ie}}]),Oe}(),Pi=function(){function Oe(ye,J,ie){(0,U.Z)(this,Oe),this.bodyNode=ye,this.driver=J,this._normalizer=ie,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(ke,Be){}}return(0,V.Z)(Oe,[{key:"_onRemovalComplete",value:function(J,ie){this.onRemovalComplete(J,ie)}},{key:"queuedPlayers",get:function(){var J=[];return this._namespaceList.forEach(function(ie){ie.players.forEach(function(ke){ke.queued&&J.push(ke)})}),J}},{key:"createNamespace",value:function(J,ie){var ke=new Qi(J,ie,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,ie)?this._balanceNamespaceList(ke,ie):(this.newHostElements.set(ie,ke),this.collectEnterElement(ie)),this._namespaceLookup[J]=ke}},{key:"_balanceNamespaceList",value:function(J,ie){var ke=this._namespaceList.length-1;if(ke>=0){for(var Be=!1,ot=ke;ot>=0;ot--)if(this.driver.containsElement(this._namespaceList[ot].hostElement,ie)){this._namespaceList.splice(ot+1,0,J),Be=!0;break}Be||this._namespaceList.splice(0,0,J)}else this._namespaceList.push(J);return this.namespacesByHostElement.set(ie,J),J}},{key:"register",value:function(J,ie){var ke=this._namespaceLookup[J];return ke||(ke=this.createNamespace(J,ie)),ke}},{key:"registerTrigger",value:function(J,ie,ke){var Be=this._namespaceLookup[J];Be&&Be.register(ie,ke)&&this.totalAnimations++}},{key:"destroy",value:function(J,ie){var ke=this;if(J){var Be=this._fetchNamespace(J);this.afterFlush(function(){ke.namespacesByHostElement.delete(Be.hostElement),delete ke._namespaceLookup[J];var ot=ke._namespaceList.indexOf(Be);ot>=0&&ke._namespaceList.splice(ot,1)}),this.afterFlushAnimationsDone(function(){return Be.destroy(ie)})}}},{key:"_fetchNamespace",value:function(J){return this._namespaceLookup[J]}},{key:"fetchNamespacesByElement",value:function(J){var ie=new Set,ke=this.statesByElement.get(J);if(ke)for(var Be=Object.keys(ke),ot=0;ot<Be.length;ot++){var xt=ke[Be[ot]].namespaceId;if(xt){var Bt=this._fetchNamespace(xt);Bt&&ie.add(Bt)}}return ie}},{key:"trigger",value:function(J,ie,ke,Be){if(vr(ie)){var ot=this._fetchNamespace(J);if(ot)return ot.trigger(ie,ke,Be),!0}return!1}},{key:"insertNode",value:function(J,ie,ke,Be){if(vr(ie)){var ot=ie[Mi];if(ot&&ot.setForRemoval){ot.setForRemoval=!1,ot.setForMove=!0;var xt=this.collectedLeaveElements.indexOf(ie);xt>=0&&this.collectedLeaveElements.splice(xt,1)}if(J){var Bt=this._fetchNamespace(J);Bt&&Bt.insertNode(ie,ke)}Be&&this.collectEnterElement(ie)}}},{key:"collectEnterElement",value:function(J){this.collectedEnterElements.push(J)}},{key:"markElementAsDisabled",value:function(J,ie){ie?this.disabledNodes.has(J)||(this.disabledNodes.add(J),hi(J,Ka)):this.disabledNodes.has(J)&&(this.disabledNodes.delete(J),aa(J,Ka))}},{key:"removeNode",value:function(J,ie,ke,Be){if(vr(ie)){var ot=J?this._fetchNamespace(J):null;if(ot?ot.removeNode(ie,Be):this.markElementAsRemoved(J,ie,!1,Be),ke){var xt=this.namespacesByHostElement.get(ie);xt&&xt.id!==J&&xt.removeNode(ie,Be)}}else this._onRemovalComplete(ie,Be)}},{key:"markElementAsRemoved",value:function(J,ie,ke,Be){this.collectedLeaveElements.push(ie),ie[Mi]={namespaceId:J,setForRemoval:Be,hasAnimation:ke,removedBeforeQueried:!1}}},{key:"listen",value:function(J,ie,ke,Be,ot){return vr(ie)?this._fetchNamespace(J).listen(ie,ke,Be,ot):function(){}}},{key:"_buildInstruction",value:function(J,ie,ke,Be,ot){return J.transition.build(this.driver,J.element,J.fromState.value,J.toState.value,ke,Be,J.fromState.options,J.toState.options,ie,ot)}},{key:"destroyInnerAnimations",value:function(J){var ie=this,ke=this.driver.query(J,Tt,!0);ke.forEach(function(Be){return ie.destroyActiveAnimationsForElement(Be)}),0!=this.playersByQueriedElement.size&&(ke=this.driver.query(J,Yt,!0)).forEach(function(Be){return ie.finishActiveQueriedAnimationOnElement(Be)})}},{key:"destroyActiveAnimationsForElement",value:function(J){var ie=this.playersByElement.get(J);ie&&ie.forEach(function(ke){ke.queued?ke.markedForDestroy=!0:ke.destroy()})}},{key:"finishActiveQueriedAnimationOnElement",value:function(J){var ie=this.playersByQueriedElement.get(J);ie&&ie.forEach(function(ke){return ke.finish()})}},{key:"whenRenderingDone",value:function(){var J=this;return new Promise(function(ie){if(J.players.length)return g(J.players).onDone(function(){return ie()});ie()})}},{key:"processLeaveNode",value:function(J){var ie=this,ke=J[Mi];if(ke&&ke.setForRemoval){if(J[Mi]=Vo,ke.namespaceId){this.destroyInnerAnimations(J);var Be=this._fetchNamespace(ke.namespaceId);Be&&Be.clearElementCache(J)}this._onRemovalComplete(J,ke.setForRemoval)}this.driver.matchesElement(J,_a)&&this.markElementAsDisabled(J,!1),this.driver.query(J,_a,!0).forEach(function(ot){ie.markElementAsDisabled(ot,!1)})}},{key:"flush",value:function(){var J=this,ie=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,ke=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(An,Jn){return J._balanceNamespaceList(An,Jn)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var Be=0;Be<this.collectedEnterElements.length;Be++){var ot=this.collectedEnterElements[Be];hi(ot,ha)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var xt=[];try{ke=this._flushAnimations(xt,ie)}finally{for(var Bt=0;Bt<xt.length;Bt++)xt[Bt]()}}else for(var Jt=0;Jt<this.collectedLeaveElements.length;Jt++){var an=this.collectedLeaveElements[Jt];this.processLeaveNode(an)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(function(An){return An()}),this._flushFns=[],this._whenQuietFns.length){var kn=this._whenQuietFns;this._whenQuietFns=[],ke.length?g(ke).onDone(function(){kn.forEach(function(An){return An()})}):kn.forEach(function(An){return An()})}}},{key:"reportError",value:function(J){throw new Error("Unable to process animations due to the following failed trigger transitions\n ".concat(J.join("\n")))}},{key:"_flushAnimations",value:function(J,ie){var ke=this,Be=new Dn,ot=[],xt=new Map,Bt=[],Jt=new Map,an=new Map,kn=new Map,An=new Set;this.disabledNodes.forEach(function(jn){An.add(jn);for(var gr=ke.driver.query(jn,".ng-animate-queued",!0),Ir=0;Ir<gr.length;Ir++)An.add(gr[Ir])});var Jn=this.bodyNode,yr=Array.from(this.statesByElement.keys()),Tr=Va(yr,this.collectedEnterElements),pr=new Map,Ur=0;Tr.forEach(function(jn,gr){var Ir=xe+Ur++;pr.set(gr,Ir),jn.forEach(function(si){return hi(si,Ir)})});for(var zi=[],Wi=new Set,Ci=new Set,xa=0;xa<this.collectedLeaveElements.length;xa++){var bi=this.collectedLeaveElements[xa],Io=bi[Mi];Io&&Io.setForRemoval&&(zi.push(bi),Wi.add(bi),Io.hasAnimation?this.driver.query(bi,".ng-star-inserted",!0).forEach(function(jn){return Wi.add(jn)}):Ci.add(bi))}var Da=new Map,sl=Va(yr,Array.from(Wi));sl.forEach(function(jn,gr){var Ir=He+Ur++;Da.set(gr,Ir),jn.forEach(function(si){return hi(si,Ir)})}),J.push(function(){Tr.forEach(function(jn,gr){var Ir=pr.get(gr);jn.forEach(function(si){return aa(si,Ir)})}),sl.forEach(function(jn,gr){var Ir=Da.get(gr);jn.forEach(function(si){return aa(si,Ir)})}),zi.forEach(function(jn){ke.processLeaveNode(jn)})});for(var So=[],Le=[],Ve=this._namespaceList.length-1;Ve>=0;Ve--)this._namespaceList[Ve].drainQueuedTransitions(ie).forEach(function(jn){var gr=jn.player,Ir=jn.element;if(So.push(gr),ke.collectedEnterElements.length){var si=Ir[Mi];if(si&&si.setForMove)return void gr.destroy()}var Il=!Jn||!ke.driver.containsElement(Jn,Ir),ul=Da.get(Ir),Oc=pr.get(Ir),to=ke._buildInstruction(jn,Be,Oc,ul,Il);if(to.errors&&to.errors.length)Le.push(to);else{if(Il)return gr.onStart(function(){return ar(Ir,to.fromStyles)}),gr.onDestroy(function(){return nr(Ir,to.toStyles)}),void ot.push(gr);if(jn.isFallbackTransition)return gr.onStart(function(){return ar(Ir,to.fromStyles)}),gr.onDestroy(function(){return nr(Ir,to.toStyles)}),void ot.push(gr);to.timelines.forEach(function(cl){return cl.stretchStartingKeyframe=!0}),Be.append(Ir,to.timelines),Bt.push({instruction:to,player:gr,element:Ir}),to.queriedElements.forEach(function(cl){return F(Jt,cl,[]).push(gr)}),to.preStyleProps.forEach(function(cl,Pc){var Hu=Object.keys(cl);if(Hu.length){var Nl=an.get(Pc);Nl||an.set(Pc,Nl=new Set),Hu.forEach(function(Ed){return Nl.add(Ed)})}}),to.postStyleProps.forEach(function(cl,Pc){var Hu=Object.keys(cl),Nl=kn.get(Pc);Nl||kn.set(Pc,Nl=new Set),Hu.forEach(function(Ed){return Nl.add(Ed)})})}});if(Le.length){var Ze=[];Le.forEach(function(jn){Ze.push("@".concat(jn.triggerName," has failed due to:\n")),jn.errors.forEach(function(gr){return Ze.push("- ".concat(gr,"\n"))})}),So.forEach(function(jn){return jn.destroy()}),this.reportError(Ze)}var Ie=new Map,nt=new Map;Bt.forEach(function(jn){var gr=jn.element;Be.has(gr)&&(nt.set(gr,gr),ke._beforeAnimationBuild(jn.player.namespaceId,jn.instruction,Ie))}),ot.forEach(function(jn){var gr=jn.element;ke._getPreviousPlayers(gr,!1,jn.namespaceId,jn.triggerName,null).forEach(function(si){F(Ie,gr,[]).push(si),si.destroy()})});var wt=zi.filter(function(jn){return wa(jn,an,kn)}),nn=new Map;Ii(nn,this.driver,Ci,kn,E.l3).forEach(function(jn){wa(jn,an,kn)&&wt.push(jn)});var ur=new Map;Tr.forEach(function(jn,gr){Ii(ur,ke.driver,new Set(jn),an,E.k1)}),wt.forEach(function(jn){var gr=nn.get(jn),Ir=ur.get(jn);nn.set(jn,(0,y.Z)((0,y.Z)({},gr),Ir))});var Ar=[],To=[],Ss={};Bt.forEach(function(jn){var gr=jn.element,Ir=jn.player,si=jn.instruction;if(Be.has(gr)){if(An.has(gr))return Ir.onDestroy(function(){return nr(gr,si.toStyles)}),Ir.disabled=!0,Ir.overrideTotalTime(si.totalTime),void ot.push(Ir);var Il=Ss;if(nt.size>1){for(var ul=gr,Oc=[];ul=ul.parentNode;){var to=nt.get(ul);if(to){Il=to;break}Oc.push(ul)}Oc.forEach(function(Pc){return nt.set(Pc,Il)})}var Rl=ke._buildAnimation(Ir.namespaceId,si,Ie,xt,ur,nn);if(Ir.setRealPlayer(Rl),Il===Ss)Ar.push(Ir);else{var cl=ke.playersByElement.get(Il);cl&&cl.length&&(Ir.parentPlayer=g(cl)),ot.push(Ir)}}else ar(gr,si.fromStyles),Ir.onDestroy(function(){return nr(gr,si.toStyles)}),To.push(Ir),An.has(gr)&&ot.push(Ir)}),To.forEach(function(jn){var gr=xt.get(jn.element);if(gr&&gr.length){var Ir=g(gr);jn.setRealPlayer(Ir)}}),ot.forEach(function(jn){jn.parentPlayer?jn.syncPlayerEvents(jn.parentPlayer):jn.destroy()});for(var du=0;du<zi.length;du++){var ll=zi[du],Mp=ll[Mi];if(aa(ll,He),!Mp||!Mp.hasAnimation){var wd=[];if(Jt.size){var Bu=Jt.get(ll);Bu&&Bu.length&&wd.push.apply(wd,(0,T.Z)(Bu));for(var xd=this.driver.query(ll,Yt,!0),Uu=0;Uu<xd.length;Uu++){var Dc=Jt.get(xd[Uu]);Dc&&Dc.length&&wd.push.apply(wd,(0,T.Z)(Dc))}}var uo=wd.filter(function(jn){return!jn.destroyed});uo.length?rs(this,ll,uo):this.processLeaveNode(ll)}}return zi.length=0,Ar.forEach(function(jn){ke.players.push(jn),jn.onDone(function(){jn.destroy();var gr=ke.players.indexOf(jn);ke.players.splice(gr,1)}),jn.play()}),Ar}},{key:"elementContainsData",value:function(J,ie){var ke=!1,Be=ie[Mi];return Be&&Be.setForRemoval&&(ke=!0),this.playersByElement.has(ie)&&(ke=!0),this.playersByQueriedElement.has(ie)&&(ke=!0),this.statesByElement.has(ie)&&(ke=!0),this._fetchNamespace(J).elementContainsData(ie)||ke}},{key:"afterFlush",value:function(J){this._flushFns.push(J)}},{key:"afterFlushAnimationsDone",value:function(J){this._whenQuietFns.push(J)}},{key:"_getPreviousPlayers",value:function(J,ie,ke,Be,ot){var xt=[];if(ie){var Bt=this.playersByQueriedElement.get(J);Bt&&(xt=Bt)}else{var Jt=this.playersByElement.get(J);if(Jt){var an=!ot||ot==Gr;Jt.forEach(function(kn){kn.queued||!an&&kn.triggerName!=Be||xt.push(kn)})}}return(ke||Be)&&(xt=xt.filter(function(kn){return!(ke&&ke!=kn.namespaceId||Be&&Be!=kn.triggerName)})),xt}},{key:"_beforeAnimationBuild",value:function(J,ie,ke){var kn,Be=this,xt=ie.element,Bt=ie.isRemovalTransition?void 0:J,Jt=ie.isRemovalTransition?void 0:ie.triggerName,an=(0,O.Z)(ie.timelines);try{var An=function(){var Tr=kn.value.element,pr=Tr!==xt,Ur=F(ke,Tr,[]);Be._getPreviousPlayers(Tr,pr,Bt,Jt,ie.toState).forEach(function(Wi){var Ci=Wi.getRealPlayer();Ci.beforeDestroy&&Ci.beforeDestroy(),Wi.destroy(),Ur.push(Wi)})};for(an.s();!(kn=an.n()).done;)An()}catch(Jn){an.e(Jn)}finally{an.f()}ar(xt,ie.fromStyles)}},{key:"_buildAnimation",value:function(J,ie,ke,Be,ot,xt){var Bt=this,Jt=ie.triggerName,an=ie.element,kn=[],An=new Set,Jn=new Set,yr=ie.timelines.map(function(pr){var Ur=pr.element;An.add(Ur);var zi=Ur[Mi];if(zi&&zi.removedBeforeQueried)return new E.ZN(pr.duration,pr.delay);var Wi=Ur!==an,Ci=function(Oe){var ye=[];return yo(Oe,ye),ye}((ke.get(Ur)||bs).map(function(So){return So.getRealPlayer()})).filter(function(So){return!!So.element&&So.element===Ur}),xa=ot.get(Ur),bi=xt.get(Ur),Io=M(Bt.driver,Bt._normalizer,Ur,pr.keyframes,xa,bi),Da=Bt._buildPlayer(pr,Io,Ci);if(pr.subTimeline&&Be&&Jn.add(Ur),Wi){var sl=new Li(J,Jt,Ur);sl.setRealPlayer(Da),kn.push(sl)}return Da});kn.forEach(function(pr){F(Bt.playersByQueriedElement,pr.element,[]).push(pr),pr.onDone(function(){return function(Oe,ye,J){var ie;if(Oe instanceof Map){if(ie=Oe.get(ye)){if(ie.length){var ke=ie.indexOf(J);ie.splice(ke,1)}0==ie.length&&Oe.delete(ye)}}else if(ie=Oe[ye]){if(ie.length){var Be=ie.indexOf(J);ie.splice(Be,1)}0==ie.length&&delete Oe[ye]}return ie}(Bt.playersByQueriedElement,pr.element,pr)})}),An.forEach(function(pr){return hi(pr,mt)});var Tr=g(yr);return Tr.onDestroy(function(){An.forEach(function(pr){return aa(pr,mt)}),nr(an,ie.toStyles)}),Jn.forEach(function(pr){F(Be,pr,[]).push(Tr)}),Tr}},{key:"_buildPlayer",value:function(J,ie,ke){return ie.length>0?this.driver.animate(J.element,ie,J.duration,J.delay,J.easing,ke):new E.ZN(J.duration,J.delay)}}]),Oe}(),Li=function(){function Oe(ye,J,ie){(0,U.Z)(this,Oe),this.namespaceId=ye,this.triggerName=J,this.element=ie,this._player=new E.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return(0,V.Z)(Oe,[{key:"setRealPlayer",value:function(J){var ie=this;this._containsRealPlayer||(this._player=J,Object.keys(this._queuedCallbacks).forEach(function(ke){ie._queuedCallbacks[ke].forEach(function(Be){return k(J,ke,void 0,Be)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(J.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(J){this.totalTime=J}},{key:"syncPlayerEvents",value:function(J){var ie=this,ke=this._player;ke.triggerCallback&&J.onStart(function(){return ke.triggerCallback("start")}),J.onDone(function(){return ie.finish()}),J.onDestroy(function(){return ie.destroy()})}},{key:"_queueEvent",value:function(J,ie){F(this._queuedCallbacks,J,[]).push(ie)}},{key:"onDone",value:function(J){this.queued&&this._queueEvent("done",J),this._player.onDone(J)}},{key:"onStart",value:function(J){this.queued&&this._queueEvent("start",J),this._player.onStart(J)}},{key:"onDestroy",value:function(J){this.queued&&this._queueEvent("destroy",J),this._player.onDestroy(J)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(J){this.queued||this._player.setPosition(J)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(J){var ie=this._player;ie.triggerCallback&&ie.triggerCallback(J)}}]),Oe}();function fn(Oe){return null!=Oe?Oe:null}function vr(Oe){return Oe&&1===Oe.nodeType}function ra(Oe,ye){var J=Oe.style.display;return Oe.style.display=null!=ye?ye:"none",J}function Ii(Oe,ye,J,ie,ke){var Be=[];J.forEach(function(Bt){return Be.push(ra(Bt))});var ot=[];ie.forEach(function(Bt,Jt){var an={};Bt.forEach(function(kn){var An=an[kn]=ye.computeStyle(Jt,kn,ke);(!An||0==An.length)&&(Jt[Mi]=Oo,ot.push(Jt))}),Oe.set(Jt,an)});var xt=0;return J.forEach(function(Bt){return ra(Bt,Be[xt++])}),ot}function Va(Oe,ye){var J=new Map;if(Oe.forEach(function(xt){return J.set(xt,[])}),0==ye.length)return J;var ke=new Set(ye),Be=new Map;function ot(xt){if(!xt)return 1;var Bt=Be.get(xt);if(Bt)return Bt;var Jt=xt.parentNode;return Bt=J.has(Jt)?Jt:ke.has(Jt)?1:ot(Jt),Be.set(xt,Bt),Bt}return ye.forEach(function(xt){var Bt=ot(xt);1!==Bt&&J.get(Bt).push(xt)}),J}var ia="$$classes";function hi(Oe,ye){if(Oe.classList)Oe.classList.add(ye);else{var J=Oe[ia];J||(J=Oe[ia]={}),J[ye]=!0}}function aa(Oe,ye){if(Oe.classList)Oe.classList.remove(ye);else{var J=Oe[ia];J&&delete J[ye]}}function rs(Oe,ye,J){g(J).onDone(function(){return Oe.processLeaveNode(ye)})}function yo(Oe,ye){for(var J=0;J<Oe.length;J++){var ie=Oe[J];ie instanceof E.ZE?yo(ie.players,ye):ye.push(ie)}}function as(Oe,ye){var J=Object.keys(Oe),ie=Object.keys(ye);if(J.length!=ie.length)return!1;for(var ke=0;ke<J.length;ke++){var Be=J[ke];if(!ye.hasOwnProperty(Be)||Oe[Be]!==ye[Be])return!1}return!0}function wa(Oe,ye,J){var ie=J.get(Oe);if(!ie)return!1;var ke=ye.get(Oe);return ke?ie.forEach(function(Be){return ke.add(Be)}):ye.set(Oe,ie),J.delete(Oe),!0}var Xi=function(){function Oe(ye,J,ie){var ke=this;(0,U.Z)(this,Oe),this.bodyNode=ye,this._driver=J,this._normalizer=ie,this._triggerCache={},this.onRemovalComplete=function(Be,ot){},this._transitionEngine=new Pi(ye,J,ie),this._timelineEngine=new na(ye,J,ie),this._transitionEngine.onRemovalComplete=function(Be,ot){return ke.onRemovalComplete(Be,ot)}}return(0,V.Z)(Oe,[{key:"registerTrigger",value:function(J,ie,ke,Be,ot){var xt=J+"-"+Be,Bt=this._triggerCache[xt];if(!Bt){var Jt=[],an=Ot(this._driver,ot,Jt);if(Jt.length)throw new Error('The animation trigger "'.concat(Be,'" has failed to build due to the following errors:\n - ').concat(Jt.join("\n - ")));Bt=function(Oe,ye,J){return new Rr(Oe,ye,J)}(Be,an,this._normalizer),this._triggerCache[xt]=Bt}this._transitionEngine.registerTrigger(ie,Be,Bt)}},{key:"register",value:function(J,ie){this._transitionEngine.register(J,ie)}},{key:"destroy",value:function(J,ie){this._transitionEngine.destroy(J,ie)}},{key:"onInsert",value:function(J,ie,ke,Be){this._transitionEngine.insertNode(J,ie,ke,Be)}},{key:"onRemove",value:function(J,ie,ke,Be){this._transitionEngine.removeNode(J,ie,Be||!1,ke)}},{key:"disableAnimations",value:function(J,ie){this._transitionEngine.markElementAsDisabled(J,ie)}},{key:"process",value:function(J,ie,ke,Be){if("@"==ke.charAt(0)){var ot=G(ke),xt=(0,B.Z)(ot,2);this._timelineEngine.command(xt[0],ie,xt[1],Be)}else this._transitionEngine.trigger(J,ie,ke,Be)}},{key:"listen",value:function(J,ie,ke,Be,ot){if("@"==ke.charAt(0)){var xt=G(ke),Bt=(0,B.Z)(xt,2);return this._timelineEngine.listen(Bt[0],ie,Bt[1],ot)}return this._transitionEngine.listen(J,ie,ke,Be,ot)}},{key:"flush",value:function(){var J=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(J)}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}}]),Oe}();function Ni(Oe,ye){var J=null,ie=null;return Array.isArray(ye)&&ye.length?(J=ba(ye[0]),ye.length>1&&(ie=ba(ye[ye.length-1]))):ye&&(J=ba(ye)),J||ie?new bo(Oe,J,ie):null}var bo=function(){var Oe=function(){function ye(J,ie,ke){(0,U.Z)(this,ye),this._element=J,this._startStyles=ie,this._endStyles=ke,this._state=0;var Be=ye.initialStylesByElement.get(J);Be||ye.initialStylesByElement.set(J,Be={}),this._initialStyles=Be}return(0,V.Z)(ye,[{key:"start",value:function(){this._state<1&&(this._startStyles&&nr(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(nr(this._element,this._initialStyles),this._endStyles&&(nr(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(ye.initialStylesByElement.delete(this._element),this._startStyles&&(ar(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ar(this._element,this._endStyles),this._endStyles=null),nr(this._element,this._initialStyles),this._state=3)}}]),ye}();return Oe.initialStylesByElement=new WeakMap,Oe}();function ba(Oe){for(var ye=null,J=Object.keys(Oe),ie=0;ie<J.length;ie++){var ke=J[ie];Co(ke)&&((ye=ye||{})[ke]=Oe[ke])}return ye}function Co(Oe){return"display"===Oe||"position"===Oe}var mr="animation",Rn="animationend",Fi=function(){function Oe(ye,J,ie,ke,Be,ot,xt){var Bt=this;(0,U.Z)(this,Oe),this._element=ye,this._name=J,this._duration=ie,this._delay=ke,this._easing=Be,this._fillMode=ot,this._onDoneFn=xt,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(Jt){return Bt._handleCallback(Jt)}}return(0,V.Z)(Oe,[{key:"apply",value:function(){(function(Oe,ye){var J=Cs(Oe,"").trim();J.length&&(function(Oe,ye){for(var J=0,ie=0;ie<Oe.length;ie++)","===Oe.charAt(ie)&&J++;return J}(J)+1,ye="".concat(J,", ").concat(ye)),qi(Oe,"",ye)})(this._element,"".concat(this._duration,"ms ").concat(this._easing," ").concat(this._delay,"ms 1 normal ").concat(this._fillMode," ").concat(this._name)),al(this._element,this._eventFn,!1),this._startTime=Date.now()}},{key:"pause",value:function(){os(this._element,this._name,"paused")}},{key:"resume",value:function(){os(this._element,this._name,"running")}},{key:"setPosition",value:function(J){var ie=eo(this._element,this._name);this._position=J*this._duration,qi(this._element,"Delay","-".concat(this._position,"ms"),ie)}},{key:"getPosition",value:function(){return this._position}},{key:"_handleCallback",value:function(J){var ie=J._ngTestManualTimestamp||Date.now(),ke=1e3*parseFloat(J.elapsedTime.toFixed(3));J.animationName==this._name&&Math.max(ie-this._startTime,0)>=this._delay&&ke>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),al(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.finish(),function(Oe,ye){var ie=Cs(Oe,"").split(","),ke=ss(ie,ye);ke>=0&&(ie.splice(ke,1),qi(Oe,"",ie.join(",")))}(this._element,this._name))}}]),Oe}();function os(Oe,ye,J){qi(Oe,"PlayState",J,eo(Oe,ye))}function eo(Oe,ye){var J=Cs(Oe,"");return J.indexOf(",")>0?ss(J.split(","),ye):ss([J],ye)}function ss(Oe,ye){for(var J=0;J<Oe.length;J++)if(Oe[J].indexOf(ye)>=0)return J;return-1}function al(Oe,ye,J){J?Oe.removeEventListener(Rn,ye):Oe.addEventListener(Rn,ye)}function qi(Oe,ye,J,ie){var ke=mr+ye;if(null!=ie){var Be=Oe.style[ke];if(Be.length){var ot=Be.split(",");ot[ie]=J,J=ot.join(",")}}Oe.style[ke]=J}function Cs(Oe,ye){return Oe.style[mr+ye]||""}var ls=function(){function Oe(ye,J,ie,ke,Be,ot,xt,Bt){(0,U.Z)(this,Oe),this.element=ye,this.keyframes=J,this.animationName=ie,this._duration=ke,this._delay=Be,this._finalStyles=xt,this._specialStyles=Bt,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=ot||"linear",this.totalTime=ke+Be,this._buildStyler()}return(0,V.Z)(Oe,[{key:"onStart",value:function(J){this._onStartFns.push(J)}},{key:"onDone",value:function(J){this._onDoneFns.push(J)}},{key:"onDestroy",value:function(J){this._onDestroyFns.push(J)}},{key:"destroy",value:function(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(J){return J()}),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach(function(J){return J()}),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach(function(J){return J()}),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(J){this._styler.setPosition(J)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var J=this;this._styler=new Fi(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return J.finish()})}},{key:"triggerCallback",value:function(J){var ie="start"==J?this._onStartFns:this._onDoneFns;ie.forEach(function(ke){return ke()}),ie.length=0}},{key:"beforeDestroy",value:function(){var J=this;this.init();var ie={};if(this.hasStarted()){var ke=this._state>=3;Object.keys(this._finalStyles).forEach(function(Be){"offset"!=Be&&(ie[Be]=ke?J._finalStyles[Be]:At(J.element,Be))})}this.currentSnapshot=ie}}]),Oe}(),Lu=function(Oe){(0,L.Z)(J,Oe);var ye=(0,w.Z)(J);function J(ie,ke){var Be;return(0,U.Z)(this,J),(Be=ye.call(this)).element=ie,Be._startingStyles={},Be.__initialized=!1,Be._styles=qe(ke),Be}return(0,V.Z)(J,[{key:"init",value:function(){var ke=this;this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(function(Be){ke._startingStyles[Be]=ke.element.style[Be]}),(0,x.Z)((0,Z.Z)(J.prototype),"init",this).call(this))}},{key:"play",value:function(){var ke=this;!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(function(Be){return ke.element.style.setProperty(Be,ke._styles[Be])}),(0,x.Z)((0,Z.Z)(J.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var ke=this;!this._startingStyles||(Object.keys(this._startingStyles).forEach(function(Be){var ot=ke._startingStyles[Be];ot?ke.element.style.setProperty(Be,ot):ke.element.style.removeProperty(Be)}),this._startingStyles=null,(0,x.Z)((0,Z.Z)(J.prototype),"destroy",this).call(this))}}]),J}(E.ZN),ja="gen_css_kf_",Ne=function(){function Oe(){(0,U.Z)(this,Oe),this._count=0}return(0,V.Z)(Oe,[{key:"validateStyleProperty",value:function(J){return he(J)}},{key:"matchesElement",value:function(J,ie){return oe(J,ie)}},{key:"containsElement",value:function(J,ie){return Ce(J,ie)}},{key:"query",value:function(J,ie,ke){return ge(J,ie,ke)}},{key:"computeStyle",value:function(J,ie,ke){return window.getComputedStyle(J)[ie]}},{key:"buildKeyframeElement",value:function(J,ie,ke){ke=ke.map(function(Bt){return qe(Bt)});var Be="@keyframes ".concat(ie," {\n"),ot="";ke.forEach(function(Bt){ot=" ";var Jt=parseFloat(Bt.offset);Be+="".concat(ot).concat(100*Jt,"% {\n"),ot+=" ",Object.keys(Bt).forEach(function(an){var kn=Bt[an];switch(an){case"offset":return;case"easing":return void(kn&&(Be+="".concat(ot,"animation-timing-function: ").concat(kn,";\n")));default:return void(Be+="".concat(ot).concat(an,": ").concat(kn,";\n"))}}),Be+="".concat(ot,"}\n")}),Be+="}\n";var xt=document.createElement("style");return xt.textContent=Be,xt}},{key:"animate",value:function(J,ie,ke,Be,ot){var xt=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],Jt=xt.filter(function(Ur){return Ur instanceof ls}),an={};Fe(ke,Be)&&Jt.forEach(function(Ur){var zi=Ur.currentSnapshot;Object.keys(zi).forEach(function(Wi){return an[Wi]=zi[Wi]})});var kn=$(ie=Ge(J,ie,an));if(0==ke)return new Lu(J,kn);var An="".concat(ja).concat(this._count++),Jn=this.buildKeyframeElement(J,An,ie),yr=Ke(J);yr.appendChild(Jn);var Tr=Ni(J,ie),pr=new ls(J,ie,An,ke,Be,ot,kn,Tr);return pr.onDestroy(function(){return le(Jn)}),pr}}]),Oe}();function Ke(Oe){var ye,J=null===(ye=Oe.getRootNode)||void 0===ye?void 0:ye.call(Oe);return"undefined"!=typeof ShadowRoot&&J instanceof ShadowRoot?J:document.head}function $(Oe){var ye={};return Oe&&(Array.isArray(Oe)?Oe:[Oe]).forEach(function(ie){Object.keys(ie).forEach(function(ke){"offset"==ke||"easing"==ke||(ye[ke]=ie[ke])})}),ye}function le(Oe){Oe.parentNode.removeChild(Oe)}var Ae=function(){function Oe(ye,J,ie,ke){(0,U.Z)(this,Oe),this.element=ye,this.keyframes=J,this.options=ie,this._specialStyles=ke,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=ie.duration,this._delay=ie.delay||0,this.time=this._duration+this._delay}return(0,V.Z)(Oe,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(J){return J()}),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var J=this;if(!this._initialized){this._initialized=!0;var ie=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,ie,this.options),this._finalKeyframe=ie.length?ie[ie.length-1]:{},this.domPlayer.addEventListener("finish",function(){return J._onFinish()})}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(J,ie,ke){return J.animate(ie,ke)}},{key:"onStart",value:function(J){this._onStartFns.push(J)}},{key:"onDone",value:function(J){this._onDoneFns.push(J)}},{key:"onDestroy",value:function(J){this._onDestroyFns.push(J)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(J){return J()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(J){return J()}),this._onDestroyFns=[])}},{key:"setPosition",value:function(J){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=J*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"totalTime",get:function(){return this._delay+this._duration}},{key:"beforeDestroy",value:function(){var J=this,ie={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(ke){"offset"!=ke&&(ie[ke]=J._finished?J._finalKeyframe[ke]:At(J.element,ke))}),this.currentSnapshot=ie}},{key:"triggerCallback",value:function(J){var ie="start"==J?this._onStartFns:this._onDoneFns;ie.forEach(function(ke){return ke()}),ie.length=0}}]),Oe}(),Ue=function(){function Oe(){(0,U.Z)(this,Oe),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(cn().toString()),this._cssKeyframesDriver=new Ne}return(0,V.Z)(Oe,[{key:"validateStyleProperty",value:function(J){return he(J)}},{key:"matchesElement",value:function(J,ie){return oe(J,ie)}},{key:"containsElement",value:function(J,ie){return Ce(J,ie)}},{key:"query",value:function(J,ie,ke){return ge(J,ie,ke)}},{key:"computeStyle",value:function(J,ie,ke){return window.getComputedStyle(J)[ie]}},{key:"overrideWebAnimationsSupport",value:function(J){this._isNativeImpl=J}},{key:"animate",value:function(J,ie,ke,Be,ot){var xt=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],Bt=arguments.length>6?arguments[6]:void 0,Jt=!Bt&&!this._isNativeImpl;if(Jt)return this._cssKeyframesDriver.animate(J,ie,ke,Be,ot,xt);var an=0==Be?"both":"forwards",kn={duration:ke,delay:Be,fill:an};ot&&(kn.easing=ot);var An={},Jn=xt.filter(function(Tr){return Tr instanceof Ae});Fe(ke,Be)&&Jn.forEach(function(Tr){var pr=Tr.currentSnapshot;Object.keys(pr).forEach(function(Ur){return An[Ur]=pr[Ur]})});var yr=Ni(J,ie=Ge(J,ie=ie.map(function(Tr){return Vn(Tr,!1)}),An));return new Ae(J,ie,kn,yr)}}]),Oe}();function cn(){return D()&&Element.prototype.animate||{}}var yt=f(86019),Rt=function(){var Oe=function(ye){(0,L.Z)(ie,ye);var J=(0,w.Z)(ie);function ie(ke,Be){var ot;return(0,U.Z)(this,ie),(ot=J.call(this))._nextAnimationId=0,ot._renderer=ke.createRenderer(Be.body,{id:"0",encapsulation:R.ifc.None,styles:[],data:{animation:[]}}),ot}return(0,V.Z)(ie,[{key:"build",value:function(Be){var ot=this._nextAnimationId.toString();this._nextAnimationId++;var xt=Array.isArray(Be)?(0,E.vP)(Be):Be;return Bi(this._renderer,null,ot,"register",[xt]),new Xr(ot,this._renderer)}}]),ie}(E._j);return Oe.\u0275fac=function(J){return new(J||Oe)(R.LFG(R.FYo),R.LFG(yt.K0))},Oe.\u0275prov=R.Yz7({token:Oe,factory:Oe.\u0275fac}),Oe}(),Xr=function(Oe){(0,L.Z)(J,Oe);var ye=(0,w.Z)(J);function J(ie,ke){var Be;return(0,U.Z)(this,J),(Be=ye.call(this))._id=ie,Be._renderer=ke,Be}return(0,V.Z)(J,[{key:"create",value:function(ke,Be){return new qa(this._id,ke,Be||{},this._renderer)}}]),J}(E.LC),qa=function(){function Oe(ye,J,ie,ke){(0,U.Z)(this,Oe),this.id=ye,this.element=J,this._renderer=ke,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",ie)}return(0,V.Z)(Oe,[{key:"_listen",value:function(J,ie){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(J),ie)}},{key:"_command",value:function(J){for(var ie=arguments.length,ke=new Array(ie>1?ie-1:0),Be=1;Be<ie;Be++)ke[Be-1]=arguments[Be];return Bi(this._renderer,this.element,this.id,J,ke)}},{key:"onDone",value:function(J){this._listen("done",J)}},{key:"onStart",value:function(J){this._listen("start",J)}},{key:"onDestroy",value:function(J){this._listen("destroy",J)}},{key:"init",value:function(){this._command("init")}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this._command("play"),this._started=!0}},{key:"pause",value:function(){this._command("pause")}},{key:"restart",value:function(){this._command("restart")}},{key:"finish",value:function(){this._command("finish")}},{key:"destroy",value:function(){this._command("destroy")}},{key:"reset",value:function(){this._command("reset"),this._started=!1}},{key:"setPosition",value:function(J){this._command("setPosition",J)}},{key:"getPosition",value:function(){var J,ie;return null!==(J=null===(ie=this._renderer.engine.players[+this.id])||void 0===ie?void 0:ie.getPosition())&&void 0!==J?J:0}}]),Oe}();function Bi(Oe,ye,J,ie,ke){return Oe.setProperty(ye,"@@".concat(J,":").concat(ie),ke)}var Fr="@.disabled",za=function(){var Oe=function(){function ye(J,ie,ke){(0,U.Z)(this,ye),this.delegate=J,this.engine=ie,this._zone=ke,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),ie.onRemovalComplete=function(Be,ot){ot&&ot.parentNode(Be)&&ot.removeChild(Be.parentNode,Be)}}return(0,V.Z)(ye,[{key:"createRenderer",value:function(ie,ke){var Be=this,xt=this.delegate.createRenderer(ie,ke);if(!(ie&&ke&&ke.data&&ke.data.animation)){var Bt=this._rendererCache.get(xt);return Bt||(Bt=new ol("",xt,this.engine),this._rendererCache.set(xt,Bt)),Bt}var Jt=ke.id,an=ke.id+"-"+this._currentId;return this._currentId++,this.engine.register(an,ie),ke.data.animation.forEach(function Jn(yr){Array.isArray(yr)?yr.forEach(Jn):Be.engine.registerTrigger(Jt,an,ie,yr.name,yr)}),new uu(this,an,xt,this.engine)}},{key:"begin",value:function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}},{key:"_scheduleCountTask",value:function(){var ie=this;this.promise.then(function(){ie._microtaskId++})}},{key:"scheduleListenerCallback",value:function(ie,ke,Be){var ot=this;ie>=0&&ie<this._microtaskId?this._zone.run(function(){return ke(Be)}):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(function(){ot._zone.run(function(){ot._animationCallbacksBuffer.forEach(function(xt){var Bt=(0,B.Z)(xt,2);(0,Bt[0])(Bt[1])}),ot._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([ke,Be]))}},{key:"end",value:function(){var ie=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(function(){ie._scheduleCountTask(),ie.engine.flush(ie._microtaskId)}),this.delegate.end&&this.delegate.end()}},{key:"whenRenderingDone",value:function(){return this.engine.whenRenderingDone()}}]),ye}();return Oe.\u0275fac=function(J){return new(J||Oe)(R.LFG(R.FYo),R.LFG(Xi),R.LFG(R.R0b))},Oe.\u0275prov=R.Yz7({token:Oe,factory:Oe.\u0275fac}),Oe}(),ol=function(){function Oe(ye,J,ie){(0,U.Z)(this,Oe),this.namespaceId=ye,this.delegate=J,this.engine=ie,this.destroyNode=this.delegate.destroyNode?function(ke){return J.destroyNode(ke)}:null}return(0,V.Z)(Oe,[{key:"data",get:function(){return this.delegate.data}},{key:"destroy",value:function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}},{key:"createElement",value:function(J,ie){return this.delegate.createElement(J,ie)}},{key:"createComment",value:function(J){return this.delegate.createComment(J)}},{key:"createText",value:function(J){return this.delegate.createText(J)}},{key:"appendChild",value:function(J,ie){this.delegate.appendChild(J,ie),this.engine.onInsert(this.namespaceId,ie,J,!1)}},{key:"insertBefore",value:function(J,ie,ke){var Be=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(J,ie,ke),this.engine.onInsert(this.namespaceId,ie,J,Be)}},{key:"removeChild",value:function(J,ie,ke){this.engine.onRemove(this.namespaceId,ie,this.delegate,ke)}},{key:"selectRootElement",value:function(J,ie){return this.delegate.selectRootElement(J,ie)}},{key:"parentNode",value:function(J){return this.delegate.parentNode(J)}},{key:"nextSibling",value:function(J){return this.delegate.nextSibling(J)}},{key:"setAttribute",value:function(J,ie,ke,Be){this.delegate.setAttribute(J,ie,ke,Be)}},{key:"removeAttribute",value:function(J,ie,ke){this.delegate.removeAttribute(J,ie,ke)}},{key:"addClass",value:function(J,ie){this.delegate.addClass(J,ie)}},{key:"removeClass",value:function(J,ie){this.delegate.removeClass(J,ie)}},{key:"setStyle",value:function(J,ie,ke,Be){this.delegate.setStyle(J,ie,ke,Be)}},{key:"removeStyle",value:function(J,ie,ke){this.delegate.removeStyle(J,ie,ke)}},{key:"setProperty",value:function(J,ie,ke){"@"==ie.charAt(0)&&ie==Fr?this.disableAnimations(J,!!ke):this.delegate.setProperty(J,ie,ke)}},{key:"setValue",value:function(J,ie){this.delegate.setValue(J,ie)}},{key:"listen",value:function(J,ie,ke){return this.delegate.listen(J,ie,ke)}},{key:"disableAnimations",value:function(J,ie){this.engine.disableAnimations(J,ie)}}]),Oe}(),uu=function(Oe){(0,L.Z)(J,Oe);var ye=(0,w.Z)(J);function J(ie,ke,Be,ot){var xt;return(0,U.Z)(this,J),(xt=ye.call(this,ke,Be,ot)).factory=ie,xt.namespaceId=ke,xt}return(0,V.Z)(J,[{key:"setProperty",value:function(ke,Be,ot){"@"==Be.charAt(0)?"."==Be.charAt(1)&&Be==Fr?this.disableAnimations(ke,ot=void 0===ot||!!ot):this.engine.process(this.namespaceId,ke,Be.substr(1),ot):this.delegate.setProperty(ke,Be,ot)}},{key:"listen",value:function(ke,Be,ot){var xt=this;if("@"==Be.charAt(0)){var Bt=function(Oe){switch(Oe){case"body":return document.body;case"document":return document;case"window":return window;default:return Oe}}(ke),Jt=Be.substr(1),an="";if("@"!=Jt.charAt(0)){var kn=function(Oe){var ye=Oe.indexOf(".");return[Oe.substring(0,ye),Oe.substr(ye+1)]}(Jt),An=(0,B.Z)(kn,2);Jt=An[0],an=An[1]}return this.engine.listen(this.namespaceId,Bt,Jt,an,function(Jn){xt.factory.scheduleListenerCallback(Jn._data||-1,ot,Jn)})}return this.delegate.listen(ke,Be,ot)}}]),J}(ol),Vs=function(){var Oe=function(ye){(0,L.Z)(ie,ye);var J=(0,w.Z)(ie);function ie(ke,Be,ot){return(0,U.Z)(this,ie),J.call(this,ke.body,Be,ot)}return(0,V.Z)(ie,[{key:"ngOnDestroy",value:function(){this.flush()}}]),ie}(Xi);return Oe.\u0275fac=function(J){return new(J||Oe)(R.LFG(yt.K0),R.LFG(Qe),R.LFG(Ht))},Oe.\u0275prov=R.Yz7({token:Oe,factory:Oe.\u0275fac}),Oe}(),Fu=new R.OlP("AnimationModuleType"),cu=[{provide:E._j,useClass:Rt},{provide:Ht,useFactory:function(){return new ft}},{provide:Xi,useClass:Vs},{provide:R.FYo,useFactory:function(Oe,ye,J){return new za(Oe,ye,J)},deps:[b.se,Xi,R.R0b]}],Td=[{provide:Qe,useFactory:function(){return"function"==typeof cn()?new Ue:new Ne}},{provide:Fu,useValue:"BrowserAnimations"}].concat(cu),kd=[{provide:Qe,useClass:De},{provide:Fu,useValue:"NoopAnimations"}].concat(cu),oh=function(){var Oe=function(){function ye(){(0,U.Z)(this,ye)}return(0,V.Z)(ye,null,[{key:"withConfig",value:function(ie){return{ngModule:ye,providers:ie.disableAnimations?kd:Td}}}]),ye}();return Oe.\u0275fac=function(J){return new(J||Oe)},Oe.\u0275mod=R.oAB({type:Oe}),Oe.\u0275inj=R.cJS({providers:Td,imports:[b.b2]}),Oe}()},35427:function(ue,j,f){"use strict";f.d(j,{b2:function(){return je},H7:function(){return on},Dx:function(){return Xt},HJ:function(){return oi},q6:function(){return _t},se:function(){return On}});var D,B=f(38402),U=f(89200),L=(f(3801),f(14105)),w=f(18967),R=f(10509),b=f(97154),E=f(86019),x=f(83668),Z=function(Ht){(0,R.Z)(ft,Ht);var Gt=(0,b.Z)(ft);function ft(){var Et;return(0,w.Z)(this,ft),(Et=Gt.apply(this,arguments)).supportsDOMEvents=!0,Et}return ft}(E.w_),O=function(Ht){(0,R.Z)(ft,Ht);var Gt=(0,b.Z)(ft);function ft(){return(0,w.Z)(this,ft),Gt.apply(this,arguments)}return(0,L.Z)(ft,[{key:"onAndCancel",value:function(jt,Qt,bn){return jt.addEventListener(Qt,bn,!1),function(){jt.removeEventListener(Qt,bn,!1)}}},{key:"dispatchEvent",value:function(jt,Qt){jt.dispatchEvent(Qt)}},{key:"remove",value:function(jt){jt.parentNode&&jt.parentNode.removeChild(jt)}},{key:"createElement",value:function(jt,Qt){return(Qt=Qt||this.getDefaultDocument()).createElement(jt)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(jt){return jt.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(jt){return jt instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(jt,Qt){return"window"===Qt?window:"document"===Qt?jt:"body"===Qt?jt.body:null}},{key:"getBaseHref",value:function(jt){var Qt=(y=y||document.querySelector("base"))?y.getAttribute("href"):null;return null==Qt?null:function(Ht){(D=D||document.createElement("a")).setAttribute("href",Ht);var Gt=D.pathname;return"/"===Gt.charAt(0)?Gt:"/".concat(Gt)}(Qt)}},{key:"resetBaseElement",value:function(){y=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"getCookie",value:function(jt){return(0,E.Mx)(document.cookie,jt)}}],[{key:"makeCurrent",value:function(){(0,E.HT)(new ft)}}]),ft}(Z),y=null,g=new x.OlP("TRANSITION_ID"),k=[{provide:x.ip1,useFactory:function(Ht,Gt,ft){return function(){ft.get(x.CZH).donePromise.then(function(){for(var Et=(0,E.q)(),jt=Gt.querySelectorAll('style[ng-transition="'.concat(Ht,'"]')),Qt=0;Qt<jt.length;Qt++)Et.remove(jt[Qt])})}},deps:[g,E.K0,x.zs3],multi:!0}],S=function(){function Ht(){(0,w.Z)(this,Ht)}return(0,L.Z)(Ht,[{key:"addToWindow",value:function(ft){x.dqk.getAngularTestability=function(jt){var Qt=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],bn=ft.findTestabilityInTree(jt,Qt);if(null==bn)throw new Error("Could not find testability for element.");return bn},x.dqk.getAllAngularTestabilities=function(){return ft.getAllTestabilities()},x.dqk.getAllAngularRootElements=function(){return ft.getAllRootElements()},x.dqk.frameworkStabilizers||(x.dqk.frameworkStabilizers=[]),x.dqk.frameworkStabilizers.push(function(Qt){var bn=x.dqk.getAllAngularTestabilities(),Pn=bn.length,rr=!1,dr=function(Rr){rr=rr||Rr,0==--Pn&&Qt(rr)};bn.forEach(function(ni){ni.whenStable(dr)})})}},{key:"findTestabilityInTree",value:function(ft,Et,jt){if(null==Et)return null;var Qt=ft.getTestability(Et);return null!=Qt?Qt:jt?(0,E.q)().isShadowRoot(Et)?this.findTestabilityInTree(ft,Et.host,!0):this.findTestabilityInTree(ft,Et.parentElement,!0):null}}],[{key:"init",value:function(){(0,x.VLi)(new Ht)}}]),Ht}(),I=function(){var Ht=function(){function Gt(){(0,w.Z)(this,Gt)}return(0,L.Z)(Gt,[{key:"build",value:function(){return new XMLHttpRequest}}]),Gt}();return Ht.\u0275fac=function(ft){return new(ft||Ht)},Ht.\u0275prov=x.Yz7({token:Ht,factory:Ht.\u0275fac}),Ht}();var qe=new x.OlP("EventManagerPlugins"),De=function(){var Ht=function(){function Gt(ft,Et){var jt=this;(0,w.Z)(this,Gt),this._zone=Et,this._eventNameToPlugin=new Map,ft.forEach(function(Qt){return Qt.manager=jt}),this._plugins=ft.slice().reverse()}return(0,L.Z)(Gt,[{key:"addEventListener",value:function(Et,jt,Qt){return this._findPluginFor(jt).addEventListener(Et,jt,Qt)}},{key:"addGlobalEventListener",value:function(Et,jt,Qt){return this._findPluginFor(jt).addGlobalEventListener(Et,jt,Qt)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(Et){var jt=this._eventNameToPlugin.get(Et);if(jt)return jt;for(var Qt=this._plugins,bn=0;bn<Qt.length;bn++){var Pn=Qt[bn];if(Pn.supports(Et))return this._eventNameToPlugin.set(Et,Pn),Pn}throw new Error("No event manager plugin found for event ".concat(Et))}}]),Gt}();return Ht.\u0275fac=function(ft){return new(ft||Ht)(x.LFG(qe),x.LFG(x.R0b))},Ht.\u0275prov=x.Yz7({token:Ht,factory:Ht.\u0275fac}),Ht}(),Qe=function(){function Ht(Gt){(0,w.Z)(this,Ht),this._doc=Gt}return(0,L.Z)(Ht,[{key:"addGlobalEventListener",value:function(ft,Et,jt){var Qt=(0,E.q)().getGlobalEventTarget(this._doc,ft);if(!Qt)throw new Error("Unsupported event target ".concat(Qt," for event ").concat(Et));return this.addEventListener(Qt,Et,jt)}}]),Ht}(),et=function(){var Ht=function(){function Gt(){(0,w.Z)(this,Gt),this._stylesSet=new Set}return(0,L.Z)(Gt,[{key:"addStyles",value:function(Et){var jt=this,Qt=new Set;Et.forEach(function(bn){jt._stylesSet.has(bn)||(jt._stylesSet.add(bn),Qt.add(bn))}),this.onStylesAdded(Qt)}},{key:"onStylesAdded",value:function(Et){}},{key:"getAllStyles",value:function(){return Array.from(this._stylesSet)}}]),Gt}();return Ht.\u0275fac=function(ft){return new(ft||Ht)},Ht.\u0275prov=x.Yz7({token:Ht,factory:Ht.\u0275fac}),Ht}(),bt=function(){var Ht=function(Gt){(0,R.Z)(Et,Gt);var ft=(0,b.Z)(Et);function Et(jt){var Qt;return(0,w.Z)(this,Et),(Qt=ft.call(this))._doc=jt,Qt._hostNodes=new Map,Qt._hostNodes.set(jt.head,[]),Qt}return(0,L.Z)(Et,[{key:"_addStylesToHost",value:function(Qt,bn,Pn){var rr=this;Qt.forEach(function(dr){var ni=rr._doc.createElement("style");ni.textContent=dr,Pn.push(bn.appendChild(ni))})}},{key:"addHost",value:function(Qt){var bn=[];this._addStylesToHost(this._stylesSet,Qt,bn),this._hostNodes.set(Qt,bn)}},{key:"removeHost",value:function(Qt){var bn=this._hostNodes.get(Qt);bn&&bn.forEach(_e),this._hostNodes.delete(Qt)}},{key:"onStylesAdded",value:function(Qt){var bn=this;this._hostNodes.forEach(function(Pn,rr){bn._addStylesToHost(Qt,rr,Pn)})}},{key:"ngOnDestroy",value:function(){this._hostNodes.forEach(function(Qt){return Qt.forEach(_e)})}}]),Et}(et);return Ht.\u0275fac=function(ft){return new(ft||Ht)(x.LFG(E.K0))},Ht.\u0275prov=x.Yz7({token:Ht,factory:Ht.\u0275fac}),Ht}();function _e(Ht){(0,E.q)().remove(Ht)}var xe={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},He=/%COMP%/g,Zt="_nghost-".concat("%COMP%"),Tt="_ngcontent-".concat("%COMP%");function un(Ht,Gt,ft){for(var Et=0;Et<Gt.length;Et++){var jt=Gt[Et];Array.isArray(jt)?un(Ht,jt,ft):(jt=jt.replace(He,Ht),ft.push(jt))}return ft}function Ut(Ht){return function(Gt){if("__ngUnwrap__"===Gt)return Ht;!1===Ht(Gt)&&(Gt.preventDefault(),Gt.returnValue=!1)}}var On=function(){var Ht=function(){function Gt(ft,Et,jt){(0,w.Z)(this,Gt),this.eventManager=ft,this.sharedStylesHost=Et,this.appId=jt,this.rendererByCompId=new Map,this.defaultRenderer=new Fn(ft)}return(0,L.Z)(Gt,[{key:"createRenderer",value:function(Et,jt){if(!Et||!jt)return this.defaultRenderer;switch(jt.encapsulation){case x.ifc.Emulated:var Qt=this.rendererByCompId.get(jt.id);return Qt||(Qt=new zn(this.eventManager,this.sharedStylesHost,jt,this.appId),this.rendererByCompId.set(jt.id,Qt)),Qt.applyToHost(Et),Qt;case 1:case x.ifc.ShadowDom:return new Wn(this.eventManager,this.sharedStylesHost,Et,jt);default:if(!this.rendererByCompId.has(jt.id)){var bn=un(jt.id,jt.styles,[]);this.sharedStylesHost.addStyles(bn),this.rendererByCompId.set(jt.id,this.defaultRenderer)}return this.defaultRenderer}}},{key:"begin",value:function(){}},{key:"end",value:function(){}}]),Gt}();return Ht.\u0275fac=function(ft){return new(ft||Ht)(x.LFG(De),x.LFG(bt),x.LFG(x.AFp))},Ht.\u0275prov=x.Yz7({token:Ht,factory:Ht.\u0275fac}),Ht}(),Fn=function(){function Ht(Gt){(0,w.Z)(this,Ht),this.eventManager=Gt,this.data=Object.create(null),this.destroyNode=null}return(0,L.Z)(Ht,[{key:"destroy",value:function(){}},{key:"createElement",value:function(ft,Et){return Et?document.createElementNS(xe[Et]||Et,ft):document.createElement(ft)}},{key:"createComment",value:function(ft){return document.createComment(ft)}},{key:"createText",value:function(ft){return document.createTextNode(ft)}},{key:"appendChild",value:function(ft,Et){ft.appendChild(Et)}},{key:"insertBefore",value:function(ft,Et,jt){ft&&ft.insertBefore(Et,jt)}},{key:"removeChild",value:function(ft,Et){ft&&ft.removeChild(Et)}},{key:"selectRootElement",value:function(ft,Et){var jt="string"==typeof ft?document.querySelector(ft):ft;if(!jt)throw new Error('The selector "'.concat(ft,'" did not match any elements'));return Et||(jt.textContent=""),jt}},{key:"parentNode",value:function(ft){return ft.parentNode}},{key:"nextSibling",value:function(ft){return ft.nextSibling}},{key:"setAttribute",value:function(ft,Et,jt,Qt){if(Qt){Et=Qt+":"+Et;var bn=xe[Qt];bn?ft.setAttributeNS(bn,Et,jt):ft.setAttribute(Et,jt)}else ft.setAttribute(Et,jt)}},{key:"removeAttribute",value:function(ft,Et,jt){if(jt){var Qt=xe[jt];Qt?ft.removeAttributeNS(Qt,Et):ft.removeAttribute("".concat(jt,":").concat(Et))}else ft.removeAttribute(Et)}},{key:"addClass",value:function(ft,Et){ft.classList.add(Et)}},{key:"removeClass",value:function(ft,Et){ft.classList.remove(Et)}},{key:"setStyle",value:function(ft,Et,jt,Qt){Qt&(x.JOm.DashCase|x.JOm.Important)?ft.style.setProperty(Et,jt,Qt&x.JOm.Important?"important":""):ft.style[Et]=jt}},{key:"removeStyle",value:function(ft,Et,jt){jt&x.JOm.DashCase?ft.style.removeProperty(Et):ft.style[Et]=""}},{key:"setProperty",value:function(ft,Et,jt){ft[Et]=jt}},{key:"setValue",value:function(ft,Et){ft.nodeValue=Et}},{key:"listen",value:function(ft,Et,jt){return"string"==typeof ft?this.eventManager.addGlobalEventListener(ft,Et,Ut(jt)):this.eventManager.addEventListener(ft,Et,Ut(jt))}}]),Ht}(),zn=function(Ht){(0,R.Z)(ft,Ht);var Gt=(0,b.Z)(ft);function ft(Et,jt,Qt,bn){var Pn;(0,w.Z)(this,ft),(Pn=Gt.call(this,Et)).component=Qt;var rr=un(bn+"-"+Qt.id,Qt.styles,[]);return jt.addStyles(rr),Pn.contentAttr=function(Ht){return Tt.replace(He,Ht)}(bn+"-"+Qt.id),Pn.hostAttr=function(Ht){return Zt.replace(He,Ht)}(bn+"-"+Qt.id),Pn}return(0,L.Z)(ft,[{key:"applyToHost",value:function(jt){(0,B.Z)((0,U.Z)(ft.prototype),"setAttribute",this).call(this,jt,this.hostAttr,"")}},{key:"createElement",value:function(jt,Qt){var bn=(0,B.Z)((0,U.Z)(ft.prototype),"createElement",this).call(this,jt,Qt);return(0,B.Z)((0,U.Z)(ft.prototype),"setAttribute",this).call(this,bn,this.contentAttr,""),bn}}]),ft}(Fn),Wn=function(Ht){(0,R.Z)(ft,Ht);var Gt=(0,b.Z)(ft);function ft(Et,jt,Qt,bn){var Pn;(0,w.Z)(this,ft),(Pn=Gt.call(this,Et)).sharedStylesHost=jt,Pn.hostEl=Qt,Pn.shadowRoot=Qt.attachShadow({mode:"open"}),Pn.sharedStylesHost.addHost(Pn.shadowRoot);for(var rr=un(bn.id,bn.styles,[]),dr=0;dr<rr.length;dr++){var ni=document.createElement("style");ni.textContent=rr[dr],Pn.shadowRoot.appendChild(ni)}return Pn}return(0,L.Z)(ft,[{key:"nodeOrShadowRoot",value:function(jt){return jt===this.hostEl?this.shadowRoot:jt}},{key:"destroy",value:function(){this.sharedStylesHost.removeHost(this.shadowRoot)}},{key:"appendChild",value:function(jt,Qt){return(0,B.Z)((0,U.Z)(ft.prototype),"appendChild",this).call(this,this.nodeOrShadowRoot(jt),Qt)}},{key:"insertBefore",value:function(jt,Qt,bn){return(0,B.Z)((0,U.Z)(ft.prototype),"insertBefore",this).call(this,this.nodeOrShadowRoot(jt),Qt,bn)}},{key:"removeChild",value:function(jt,Qt){return(0,B.Z)((0,U.Z)(ft.prototype),"removeChild",this).call(this,this.nodeOrShadowRoot(jt),Qt)}},{key:"parentNode",value:function(jt){return this.nodeOrShadowRoot((0,B.Z)((0,U.Z)(ft.prototype),"parentNode",this).call(this,this.nodeOrShadowRoot(jt)))}}]),ft}(Fn),nr=function(){var Ht=function(Gt){(0,R.Z)(Et,Gt);var ft=(0,b.Z)(Et);function Et(jt){return(0,w.Z)(this,Et),ft.call(this,jt)}return(0,L.Z)(Et,[{key:"supports",value:function(Qt){return!0}},{key:"addEventListener",value:function(Qt,bn,Pn){var rr=this;return Qt.addEventListener(bn,Pn,!1),function(){return rr.removeEventListener(Qt,bn,Pn)}}},{key:"removeEventListener",value:function(Qt,bn,Pn){return Qt.removeEventListener(bn,Pn)}}]),Et}(Qe);return Ht.\u0275fac=function(ft){return new(ft||Ht)(x.LFG(E.K0))},Ht.\u0275prov=x.Yz7({token:Ht,factory:Ht.\u0275fac}),Ht}(),be=["alt","control","meta","shift"],Ge={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},vt={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},At={alt:function(Gt){return Gt.altKey},control:function(Gt){return Gt.ctrlKey},meta:function(Gt){return Gt.metaKey},shift:function(Gt){return Gt.shiftKey}},Vt=function(){var Ht=function(Gt){(0,R.Z)(Et,Gt);var ft=(0,b.Z)(Et);function Et(jt){return(0,w.Z)(this,Et),ft.call(this,jt)}return(0,L.Z)(Et,[{key:"supports",value:function(Qt){return null!=Et.parseEventName(Qt)}},{key:"addEventListener",value:function(Qt,bn,Pn){var rr=Et.parseEventName(bn),dr=Et.eventCallback(rr.fullKey,Pn,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return(0,E.q)().onAndCancel(Qt,rr.domEventName,dr)})}}],[{key:"parseEventName",value:function(Qt){var bn=Qt.toLowerCase().split("."),Pn=bn.shift();if(0===bn.length||"keydown"!==Pn&&"keyup"!==Pn)return null;var rr=Et._normalizeKey(bn.pop()),dr="";if(be.forEach(function(Rr){var Gn=bn.indexOf(Rr);Gn>-1&&(bn.splice(Gn,1),dr+=Rr+".")}),dr+=rr,0!=bn.length||0===rr.length)return null;var ni={};return ni.domEventName=Pn,ni.fullKey=dr,ni}},{key:"getEventFullKey",value:function(Qt){var bn="",Pn=function(Ht){var Gt=Ht.key;if(null==Gt){if(null==(Gt=Ht.keyIdentifier))return"Unidentified";Gt.startsWith("U+")&&(Gt=String.fromCharCode(parseInt(Gt.substring(2),16)),3===Ht.location&&vt.hasOwnProperty(Gt)&&(Gt=vt[Gt]))}return Ge[Gt]||Gt}(Qt);return" "===(Pn=Pn.toLowerCase())?Pn="space":"."===Pn&&(Pn="dot"),be.forEach(function(rr){rr!=Pn&&(0,At[rr])(Qt)&&(bn+=rr+".")}),bn+=Pn}},{key:"eventCallback",value:function(Qt,bn,Pn){return function(rr){Et.getEventFullKey(rr)===Qt&&Pn.runGuarded(function(){return bn(rr)})}}},{key:"_normalizeKey",value:function(Qt){return"esc"===Qt?"escape":Qt}}]),Et}(Qe);return Ht.\u0275fac=function(ft){return new(ft||Ht)(x.LFG(E.K0))},Ht.\u0275prov=x.Yz7({token:Ht,factory:Ht.\u0275fac}),Ht}(),on=function(){var Ht=function Gt(){(0,w.Z)(this,Gt)};return Ht.\u0275fac=function(ft){return new(ft||Ht)},Ht.\u0275prov=x.Yz7({token:Ht,factory:function(ft){return ft?new(ft||Ht):x.LFG(yn)},providedIn:"root"}),Ht}(),yn=function(){var Ht=function(Gt){(0,R.Z)(Et,Gt);var ft=(0,b.Z)(Et);function Et(jt){var Qt;return(0,w.Z)(this,Et),(Qt=ft.call(this))._doc=jt,Qt}return(0,L.Z)(Et,[{key:"sanitize",value:function(Qt,bn){if(null==bn)return null;switch(Qt){case x.q3G.NONE:return bn;case x.q3G.HTML:return(0,x.qzn)(bn,"HTML")?(0,x.z3N)(bn):(0,x.EiD)(this._doc,String(bn)).toString();case x.q3G.STYLE:return(0,x.qzn)(bn,"Style")?(0,x.z3N)(bn):bn;case x.q3G.SCRIPT:if((0,x.qzn)(bn,"Script"))return(0,x.z3N)(bn);throw new Error("unsafe value used in a script context");case x.q3G.URL:return(0,x.yhl)(bn),(0,x.qzn)(bn,"URL")?(0,x.z3N)(bn):(0,x.mCW)(String(bn));case x.q3G.RESOURCE_URL:if((0,x.qzn)(bn,"ResourceURL"))return(0,x.z3N)(bn);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(Qt," (see https://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(Qt){return(0,x.JVY)(Qt)}},{key:"bypassSecurityTrustStyle",value:function(Qt){return(0,x.L6k)(Qt)}},{key:"bypassSecurityTrustScript",value:function(Qt){return(0,x.eBb)(Qt)}},{key:"bypassSecurityTrustUrl",value:function(Qt){return(0,x.LAX)(Qt)}},{key:"bypassSecurityTrustResourceUrl",value:function(Qt){return(0,x.pB0)(Qt)}}]),Et}(on);return Ht.\u0275fac=function(ft){return new(ft||Ht)(x.LFG(E.K0))},Ht.\u0275prov=x.Yz7({token:Ht,factory:function(ft){var Et;return Et=ft?new ft:function(Ht){return new yn(Ht.get(E.K0))}(x.LFG(x.zs3)),Et},providedIn:"root"}),Ht}(),_t=(0,x.eFA)(x._c5,"browser",[{provide:x.Lbi,useValue:E.bD},{provide:x.g9A,useValue:function(){O.makeCurrent(),S.init()},multi:!0},{provide:E.K0,useFactory:function(){return(0,x.RDi)(document),document},deps:[]}]),we=[[],{provide:x.zSh,useValue:"root"},{provide:x.qLn,useFactory:function(){return new x.qLn},deps:[]},{provide:qe,useClass:nr,multi:!0,deps:[E.K0,x.R0b,x.Lbi]},{provide:qe,useClass:Vt,multi:!0,deps:[E.K0]},[],{provide:On,useClass:On,deps:[De,bt,x.AFp]},{provide:x.FYo,useExisting:On},{provide:et,useExisting:bt},{provide:bt,useClass:bt,deps:[E.K0]},{provide:x.dDg,useClass:x.dDg,deps:[x.R0b]},{provide:De,useClass:De,deps:[qe,x.R0b]},{provide:E.JF,useClass:I,deps:[]},[]],je=function(){var Ht=function(){function Gt(ft){if((0,w.Z)(this,Gt),ft)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return(0,L.Z)(Gt,null,[{key:"withServerTransition",value:function(Et){return{ngModule:Gt,providers:[{provide:x.AFp,useValue:Et.appId},{provide:g,useExisting:x.AFp},k]}}}]),Gt}();return Ht.\u0275fac=function(ft){return new(ft||Ht)(x.LFG(Ht,12))},Ht.\u0275mod=x.oAB({type:Ht}),Ht.\u0275inj=x.cJS({providers:we,imports:[E.ez,x.hGG]}),Ht}(),Xt=function(){var Ht=function(){function Gt(ft){(0,w.Z)(this,Gt),this._doc=ft}return(0,L.Z)(Gt,[{key:"getTitle",value:function(){return this._doc.title}},{key:"setTitle",value:function(Et){this._doc.title=Et||""}}]),Gt}();return Ht.\u0275fac=function(ft){return new(ft||Ht)(x.LFG(E.K0))},Ht.\u0275prov=x.Yz7({token:Ht,factory:function(ft){return ft?new ft:new Xt((0,x.LFG)(E.K0))},providedIn:"root"}),Ht}(),Tn="undefined"!=typeof window&&window||{},Dn=function Ht(Gt,ft){(0,w.Z)(this,Ht),this.msPerTick=Gt,this.numTicks=ft},ai=function(){function Ht(Gt){(0,w.Z)(this,Ht),this.appRef=Gt.injector.get(x.z2F)}return(0,L.Z)(Ht,[{key:"timeChangeDetection",value:function(ft){var Et=ft&&ft.record,jt="Change Detection",Qt=null!=Tn.console.profile;Et&&Qt&&Tn.console.profile(jt);for(var bn=Qr(),Pn=0;Pn<5||Qr()-bn<500;)this.appRef.tick(),Pn++;var rr=Qr();Et&&Qt&&Tn.console.profileEnd(jt);var dr=(rr-bn)/Pn;return Tn.console.log("ran ".concat(Pn," change detection cycles")),Tn.console.log("".concat(dr.toFixed(2)," ms per check")),new Dn(dr,Pn)}}]),Ht}();function Qr(){return Tn.performance&&Tn.performance.now?Tn.performance.now():(new Date).getTime()}function oi(Ht){return function(Ht,Gt){"undefined"!=typeof COMPILED&&COMPILED||((x.dqk.ng=x.dqk.ng||{})[Ht]=Gt)}("profiler",new ai(Ht)),Ht}},44900:function(ue){"use strict";ue.exports=JSON.parse('{"atrules":{"charset":{"prelude":"<string>"},"font-face":{"descriptors":{"unicode-range":{"comment":"replaces <unicode-range>, an old production name","syntax":"<urange>#"}}}},"properties":{"-moz-background-clip":{"comment":"deprecated syntax in old Firefox, https://developer.mozilla.org/en/docs/Web/CSS/background-clip","syntax":"padding | border"},"-moz-border-radius-bottomleft":{"comment":"https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-left-radius","syntax":"<\'border-bottom-left-radius\'>"},"-moz-border-radius-bottomright":{"comment":"https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius","syntax":"<\'border-bottom-right-radius\'>"},"-moz-border-radius-topleft":{"comment":"https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-left-radius","syntax":"<\'border-top-left-radius\'>"},"-moz-border-radius-topright":{"comment":"https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius","syntax":"<\'border-bottom-right-radius\'>"},"-moz-control-character-visibility":{"comment":"firefox specific keywords, https://bugzilla.mozilla.org/show_bug.cgi?id=947588","syntax":"visible | hidden"},"-moz-osx-font-smoothing":{"comment":"misssed old syntax https://developer.mozilla.org/en-US/docs/Web/CSS/font-smooth","syntax":"auto | grayscale"},"-moz-user-select":{"comment":"https://developer.mozilla.org/en-US/docs/Web/CSS/user-select","syntax":"none | text | all | -moz-none"},"-ms-flex-align":{"comment":"misssed old syntax implemented in IE, https://www.w3.org/TR/2012/WD-css3-flexbox-20120322/#flex-align","syntax":"start | end | center | baseline | stretch"},"-ms-flex-item-align":{"comment":"misssed old syntax implemented in IE, https://www.w3.org/TR/2012/WD-css3-flexbox-20120322/#flex-align","syntax":"auto | start | end | center | baseline | stretch"},"-ms-flex-line-pack":{"comment":"misssed old syntax implemented in IE, https://www.w3.org/TR/2012/WD-css3-flexbox-20120322/#flex-line-pack","syntax":"start | end | center | justify | distribute | stretch"},"-ms-flex-negative":{"comment":"misssed old syntax implemented in IE; TODO: find references for comfirmation","syntax":"<\'flex-shrink\'>"},"-ms-flex-pack":{"comment":"misssed old syntax implemented in IE, https://www.w3.org/TR/2012/WD-css3-flexbox-20120322/#flex-pack","syntax":"start | end | center | justify | distribute"},"-ms-flex-order":{"comment":"misssed old syntax implemented in IE; https://msdn.microsoft.com/en-us/library/jj127303(v=vs.85).aspx","syntax":"<integer>"},"-ms-flex-positive":{"comment":"misssed old syntax implemented in IE; TODO: find references for comfirmation","syntax":"<\'flex-grow\'>"},"-ms-flex-preferred-size":{"comment":"misssed old syntax implemented in IE; TODO: find references for comfirmation","syntax":"<\'flex-basis\'>"},"-ms-interpolation-mode":{"comment":"https://msdn.microsoft.com/en-us/library/ff521095(v=vs.85).aspx","syntax":"nearest-neighbor | bicubic"},"-ms-grid-column-align":{"comment":"add this property first since it uses as fallback for flexbox, https://msdn.microsoft.com/en-us/library/windows/apps/hh466338.aspx","syntax":"start | end | center | stretch"},"-ms-grid-row-align":{"comment":"add this property first since it uses as fallback for flexbox, https://msdn.microsoft.com/en-us/library/windows/apps/hh466348.aspx","syntax":"start | end | center | stretch"},"-ms-hyphenate-limit-last":{"comment":"misssed old syntax implemented in IE; https://www.w3.org/TR/css-text-4/#hyphenate-line-limits","syntax":"none | always | column | page | spread"},"-webkit-appearance":{"comment":"webkit specific keywords","references":["http://css-infos.net/property/-webkit-appearance"],"syntax":"none | button | button-bevel | caps-lock-indicator | caret | checkbox | default-button | inner-spin-button | listbox | listitem | media-controls-background | media-controls-fullscreen-background | media-current-time-display | media-enter-fullscreen-button | media-exit-fullscreen-button | media-fullscreen-button | media-mute-button | media-overlay-play-button | media-play-button | media-seek-back-button | media-seek-forward-button | media-slider | media-sliderthumb | media-time-remaining-display | media-toggle-closed-captions-button | media-volume-slider | media-volume-slider-container | media-volume-sliderthumb | menulist | menulist-button | menulist-text | menulist-textfield | meter | progress-bar | progress-bar-value | push-button | radio | scrollbarbutton-down | scrollbarbutton-left | scrollbarbutton-right | scrollbarbutton-up | scrollbargripper-horizontal | scrollbargripper-vertical | scrollbarthumb-horizontal | scrollbarthumb-vertical | scrollbartrack-horizontal | scrollbartrack-vertical | searchfield | searchfield-cancel-button | searchfield-decoration | searchfield-results-button | searchfield-results-decoration | slider-horizontal | slider-vertical | sliderthumb-horizontal | sliderthumb-vertical | square-button | textarea | textfield | -apple-pay-button"},"-webkit-background-clip":{"comment":"https://developer.mozilla.org/en/docs/Web/CSS/background-clip","syntax":"[ <box> | border | padding | content | text ]#"},"-webkit-column-break-after":{"comment":"added, http://help.dottoro.com/lcrthhhv.php","syntax":"always | auto | avoid"},"-webkit-column-break-before":{"comment":"added, http://help.dottoro.com/lcxquvkf.php","syntax":"always | auto | avoid"},"-webkit-column-break-inside":{"comment":"added, http://help.dottoro.com/lclhnthl.php","syntax":"always | auto | avoid"},"-webkit-font-smoothing":{"comment":"https://developer.mozilla.org/en-US/docs/Web/CSS/font-smooth","syntax":"auto | none | antialiased | subpixel-antialiased"},"-webkit-mask-box-image":{"comment":"missed; https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-mask-box-image","syntax":"[ <url> | <gradient> | none ] [ <length-percentage>{4} <-webkit-mask-box-repeat>{2} ]?"},"-webkit-print-color-adjust":{"comment":"missed","references":["https://developer.mozilla.org/en/docs/Web/CSS/-webkit-print-color-adjust"],"syntax":"economy | exact"},"-webkit-text-security":{"comment":"missed; http://help.dottoro.com/lcbkewgt.php","syntax":"none | circle | disc | square"},"-webkit-user-drag":{"comment":"missed; http://help.dottoro.com/lcbixvwm.php","syntax":"none | element | auto"},"-webkit-user-select":{"comment":"auto is supported by old webkit, https://developer.mozilla.org/en-US/docs/Web/CSS/user-select","syntax":"auto | none | text | all"},"alignment-baseline":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/text.html#AlignmentBaselineProperty"],"syntax":"auto | baseline | before-edge | text-before-edge | middle | central | after-edge | text-after-edge | ideographic | alphabetic | hanging | mathematical"},"baseline-shift":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/text.html#BaselineShiftProperty"],"syntax":"baseline | sub | super | <svg-length>"},"behavior":{"comment":"added old IE property https://msdn.microsoft.com/en-us/library/ms530723(v=vs.85).aspx","syntax":"<url>+"},"clip-rule":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/masking.html#ClipRuleProperty"],"syntax":"nonzero | evenodd"},"cue":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<\'cue-before\'> <\'cue-after\'>?"},"cue-after":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<url> <decibel>? | none"},"cue-before":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<url> <decibel>? | none"},"cursor":{"comment":"added legacy keywords: hand, -webkit-grab. -webkit-grabbing, -webkit-zoom-in, -webkit-zoom-out, -moz-grab, -moz-grabbing, -moz-zoom-in, -moz-zoom-out","references":["https://www.sitepoint.com/css3-cursor-styles/"],"syntax":"[ [ <url> [ <x> <y> ]? , ]* [ auto | default | none | context-menu | help | pointer | progress | wait | cell | crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize | sw-resize | w-resize | ew-resize | ns-resize | nesw-resize | nwse-resize | col-resize | row-resize | all-scroll | zoom-in | zoom-out | grab | grabbing | hand | -webkit-grab | -webkit-grabbing | -webkit-zoom-in | -webkit-zoom-out | -moz-grab | -moz-grabbing | -moz-zoom-in | -moz-zoom-out ] ]"},"display":{"comment":"extended with -ms-flexbox","syntax":"| <-non-standard-display>"},"position":{"comment":"extended with -webkit-sticky","syntax":"| -webkit-sticky"},"dominant-baseline":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/text.html#DominantBaselineProperty"],"syntax":"auto | use-script | no-change | reset-size | ideographic | alphabetic | hanging | mathematical | central | middle | text-after-edge | text-before-edge"},"image-rendering":{"comment":"extended with <-non-standard-image-rendering>, added SVG keywords optimizeSpeed and optimizeQuality","references":["https://developer.mozilla.org/en/docs/Web/CSS/image-rendering","https://www.w3.org/TR/SVG/painting.html#ImageRenderingProperty"],"syntax":"| optimizeSpeed | optimizeQuality | <-non-standard-image-rendering>"},"fill":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#FillProperty"],"syntax":"<paint>"},"fill-opacity":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#FillProperty"],"syntax":"<number-zero-one>"},"fill-rule":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#FillProperty"],"syntax":"nonzero | evenodd"},"filter":{"comment":"extend with IE legacy syntaxes","syntax":"| <-ms-filter-function-list>"},"glyph-orientation-horizontal":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/text.html#GlyphOrientationHorizontalProperty"],"syntax":"<angle>"},"glyph-orientation-vertical":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/text.html#GlyphOrientationVerticalProperty"],"syntax":"<angle>"},"kerning":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/text.html#KerningProperty"],"syntax":"auto | <svg-length>"},"letter-spacing":{"comment":"fix syntax <length> -> <length-percentage>","references":["https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/letter-spacing"],"syntax":"normal | <length-percentage>"},"marker":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#MarkerProperties"],"syntax":"none | <url>"},"marker-end":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#MarkerProperties"],"syntax":"none | <url>"},"marker-mid":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#MarkerProperties"],"syntax":"none | <url>"},"marker-start":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#MarkerProperties"],"syntax":"none | <url>"},"max-width":{"comment":"fix auto -> none (https://github.com/mdn/data/pull/431); extend by non-standard width keywords https://developer.mozilla.org/en-US/docs/Web/CSS/max-width","syntax":"none | <length-percentage> | min-content | max-content | fit-content(<length-percentage>) | <-non-standard-width>"},"width":{"comment":"per spec fit-content should be a function, however browsers are supporting it as a keyword (https://github.com/csstree/stylelint-validator/issues/29)","syntax":"| fit-content | -moz-fit-content | -webkit-fit-content"},"min-width":{"comment":"extend by non-standard width keywords https://developer.mozilla.org/en-US/docs/Web/CSS/width","syntax":"auto | <length-percentage> | min-content | max-content | fit-content(<length-percentage>) | <-non-standard-width>"},"overflow":{"comment":"extend by vendor keywords https://developer.mozilla.org/en-US/docs/Web/CSS/overflow","syntax":"| <-non-standard-overflow>"},"pause":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<\'pause-before\'> <\'pause-after\'>?"},"pause-after":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<time> | none | x-weak | weak | medium | strong | x-strong"},"pause-before":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<time> | none | x-weak | weak | medium | strong | x-strong"},"rest":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<\'rest-before\'> <\'rest-after\'>?"},"rest-after":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<time> | none | x-weak | weak | medium | strong | x-strong"},"rest-before":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<time> | none | x-weak | weak | medium | strong | x-strong"},"shape-rendering":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#ShapeRenderingPropert"],"syntax":"auto | optimizeSpeed | crispEdges | geometricPrecision"},"src":{"comment":"added @font-face\'s src property https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/src","syntax":"[ <url> [ format( <string># ) ]? | local( <family-name> ) ]#"},"speak":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"auto | none | normal"},"speak-as":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"normal | spell-out || digits || [ literal-punctuation | no-punctuation ]"},"stroke":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#StrokeProperties"],"syntax":"<paint>"},"stroke-dasharray":{"comment":"added SVG property; a list of comma and/or white space separated <length>s and <percentage>s","references":["https://www.w3.org/TR/SVG/painting.html#StrokeProperties"],"syntax":"none | [ <svg-length>+ ]#"},"stroke-dashoffset":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#StrokeProperties"],"syntax":"<svg-length>"},"stroke-linecap":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#StrokeProperties"],"syntax":"butt | round | square"},"stroke-linejoin":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#StrokeProperties"],"syntax":"miter | round | bevel"},"stroke-miterlimit":{"comment":"added SVG property (<miterlimit> = <number-one-or-greater>) ","references":["https://www.w3.org/TR/SVG/painting.html#StrokeProperties"],"syntax":"<number-one-or-greater>"},"stroke-opacity":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#StrokeProperties"],"syntax":"<number-zero-one>"},"stroke-width":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#StrokeProperties"],"syntax":"<svg-length>"},"text-anchor":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/text.html#TextAlignmentProperties"],"syntax":"start | middle | end"},"unicode-bidi":{"comment":"added prefixed keywords https://developer.mozilla.org/en-US/docs/Web/CSS/unicode-bidi","syntax":"| -moz-isolate | -moz-isolate-override | -moz-plaintext | -webkit-isolate | -webkit-isolate-override | -webkit-plaintext"},"unicode-range":{"comment":"added missed property https://developer.mozilla.org/en-US/docs/Web/CSS/%40font-face/unicode-range","syntax":"<urange>#"},"voice-balance":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<number> | left | center | right | leftwards | rightwards"},"voice-duration":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"auto | <time>"},"voice-family":{"comment":"<name> -> <family-name>, https://www.w3.org/TR/css3-speech/#property-index","syntax":"[ [ <family-name> | <generic-voice> ] , ]* [ <family-name> | <generic-voice> ] | preserve"},"voice-pitch":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<frequency> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency> | <semitones> | <percentage> ] ]"},"voice-range":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<frequency> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency> | <semitones> | <percentage> ] ]"},"voice-rate":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"[ normal | x-slow | slow | medium | fast | x-fast ] || <percentage>"},"voice-stress":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"normal | strong | moderate | none | reduced"},"voice-volume":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"silent | [ [ x-soft | soft | medium | loud | x-loud ] || <decibel> ]"},"writing-mode":{"comment":"extend with SVG keywords","syntax":"| <svg-writing-mode>"}},"syntaxes":{"-legacy-gradient":{"comment":"added collection of legacy gradient syntaxes","syntax":"<-webkit-gradient()> | <-legacy-linear-gradient> | <-legacy-repeating-linear-gradient> | <-legacy-radial-gradient> | <-legacy-repeating-radial-gradient>"},"-legacy-linear-gradient":{"comment":"like standard syntax but w/o `to` keyword https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient","syntax":"-moz-linear-gradient( <-legacy-linear-gradient-arguments> ) | -webkit-linear-gradient( <-legacy-linear-gradient-arguments> ) | -o-linear-gradient( <-legacy-linear-gradient-arguments> )"},"-legacy-repeating-linear-gradient":{"comment":"like standard syntax but w/o `to` keyword https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient","syntax":"-moz-repeating-linear-gradient( <-legacy-linear-gradient-arguments> ) | -webkit-repeating-linear-gradient( <-legacy-linear-gradient-arguments> ) | -o-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )"},"-legacy-linear-gradient-arguments":{"comment":"like standard syntax but w/o `to` keyword https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient","syntax":"[ <angle> | <side-or-corner> ]? , <color-stop-list>"},"-legacy-radial-gradient":{"comment":"deprecated syntax that implemented by some browsers https://www.w3.org/TR/2011/WD-css3-images-20110908/#radial-gradients","syntax":"-moz-radial-gradient( <-legacy-radial-gradient-arguments> ) | -webkit-radial-gradient( <-legacy-radial-gradient-arguments> ) | -o-radial-gradient( <-legacy-radial-gradient-arguments> )"},"-legacy-repeating-radial-gradient":{"comment":"deprecated syntax that implemented by some browsers https://www.w3.org/TR/2011/WD-css3-images-20110908/#radial-gradients","syntax":"-moz-repeating-radial-gradient( <-legacy-radial-gradient-arguments> ) | -webkit-repeating-radial-gradient( <-legacy-radial-gradient-arguments> ) | -o-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )"},"-legacy-radial-gradient-arguments":{"comment":"deprecated syntax that implemented by some browsers https://www.w3.org/TR/2011/WD-css3-images-20110908/#radial-gradients","syntax":"[ <position> , ]? [ [ [ <-legacy-radial-gradient-shape> || <-legacy-radial-gradient-size> ] | [ <length> | <percentage> ]{2} ] , ]? <color-stop-list>"},"-legacy-radial-gradient-size":{"comment":"before a standard it contains 2 extra keywords (`contain` and `cover`) https://www.w3.org/TR/2011/WD-css3-images-20110908/#ltsize","syntax":"closest-side | closest-corner | farthest-side | farthest-corner | contain | cover"},"-legacy-radial-gradient-shape":{"comment":"define to double sure it doesn\'t extends in future https://www.w3.org/TR/2011/WD-css3-images-20110908/#ltshape","syntax":"circle | ellipse"},"-non-standard-font":{"comment":"non standard fonts","references":["https://webkit.org/blog/3709/using-the-system-font-in-web-content/"],"syntax":"-apple-system-body | -apple-system-headline | -apple-system-subheadline | -apple-system-caption1 | -apple-system-caption2 | -apple-system-footnote | -apple-system-short-body | -apple-system-short-headline | -apple-system-short-subheadline | -apple-system-short-caption1 | -apple-system-short-footnote | -apple-system-tall-body"},"-non-standard-color":{"comment":"non standard colors","references":["http://cssdot.ru/%D0%A1%D0%BF%D1%80%D0%B0%D0%B2%D0%BE%D1%87%D0%BD%D0%B8%D0%BA_CSS/color-i305.html","https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Mozilla_Color_Preference_Extensions"],"syntax":"-moz-ButtonDefault | -moz-ButtonHoverFace | -moz-ButtonHoverText | -moz-CellHighlight | -moz-CellHighlightText | -moz-Combobox | -moz-ComboboxText | -moz-Dialog | -moz-DialogText | -moz-dragtargetzone | -moz-EvenTreeRow | -moz-Field | -moz-FieldText | -moz-html-CellHighlight | -moz-html-CellHighlightText | -moz-mac-accentdarkestshadow | -moz-mac-accentdarkshadow | -moz-mac-accentface | -moz-mac-accentlightesthighlight | -moz-mac-accentlightshadow | -moz-mac-accentregularhighlight | -moz-mac-accentregularshadow | -moz-mac-chrome-active | -moz-mac-chrome-inactive | -moz-mac-focusring | -moz-mac-menuselect | -moz-mac-menushadow | -moz-mac-menutextselect | -moz-MenuHover | -moz-MenuHoverText | -moz-MenuBarText | -moz-MenuBarHoverText | -moz-nativehyperlinktext | -moz-OddTreeRow | -moz-win-communicationstext | -moz-win-mediatext | -moz-activehyperlinktext | -moz-default-background-color | -moz-default-color | -moz-hyperlinktext | -moz-visitedhyperlinktext | -webkit-activelink | -webkit-focus-ring-color | -webkit-link | -webkit-text"},"-non-standard-image-rendering":{"comment":"non-standard keywords http://phrogz.net/tmp/canvas_image_zoom.html","syntax":"optimize-contrast | -moz-crisp-edges | -o-crisp-edges | -webkit-optimize-contrast"},"-non-standard-overflow":{"comment":"non-standard keywords https://developer.mozilla.org/en-US/docs/Web/CSS/overflow","syntax":"-moz-scrollbars-none | -moz-scrollbars-horizontal | -moz-scrollbars-vertical | -moz-hidden-unscrollable"},"-non-standard-width":{"comment":"non-standard keywords https://developer.mozilla.org/en-US/docs/Web/CSS/width","syntax":"fill-available | min-intrinsic | intrinsic | -moz-available | -moz-fit-content | -moz-min-content | -moz-max-content | -webkit-min-content | -webkit-max-content"},"-webkit-gradient()":{"comment":"first Apple proposal gradient syntax https://webkit.org/blog/175/introducing-css-gradients/ - TODO: simplify when after match algorithm improvement ( [, point, radius | , point] -> [, radius]? , point )","syntax":"-webkit-gradient( <-webkit-gradient-type>, <-webkit-gradient-point> [, <-webkit-gradient-point> | , <-webkit-gradient-radius>, <-webkit-gradient-point> ] [, <-webkit-gradient-radius>]? [, <-webkit-gradient-color-stop>]* )"},"-webkit-gradient-color-stop":{"comment":"first Apple proposal gradient syntax https://webkit.org/blog/175/introducing-css-gradients/","syntax":"from( <color> ) | color-stop( [ <number-zero-one> | <percentage> ] , <color> ) | to( <color> )"},"-webkit-gradient-point":{"comment":"first Apple proposal gradient syntax https://webkit.org/blog/175/introducing-css-gradients/","syntax":"[ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ]"},"-webkit-gradient-radius":{"comment":"first Apple proposal gradient syntax https://webkit.org/blog/175/introducing-css-gradients/","syntax":"<length> | <percentage>"},"-webkit-gradient-type":{"comment":"first Apple proposal gradient syntax https://webkit.org/blog/175/introducing-css-gradients/","syntax":"linear | radial"},"-webkit-mask-box-repeat":{"comment":"missed; https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-mask-box-image","syntax":"repeat | stretch | round"},"-webkit-mask-clip-style":{"comment":"missed; there is no enough information about `-webkit-mask-clip` property, but looks like all those keywords are working","syntax":"border | border-box | padding | padding-box | content | content-box | text"},"-ms-filter-function-list":{"comment":"https://developer.mozilla.org/en-US/docs/Web/CSS/-ms-filter","syntax":"<-ms-filter-function>+"},"-ms-filter-function":{"comment":"https://developer.mozilla.org/en-US/docs/Web/CSS/-ms-filter","syntax":"<-ms-filter-function-progid> | <-ms-filter-function-legacy>"},"-ms-filter-function-progid":{"comment":"https://developer.mozilla.org/en-US/docs/Web/CSS/-ms-filter","syntax":"\'progid:\' [ <ident-token> \'.\' ]* [ <ident-token> | <function-token> <any-value>? ) ]"},"-ms-filter-function-legacy":{"comment":"https://developer.mozilla.org/en-US/docs/Web/CSS/-ms-filter","syntax":"<ident-token> | <function-token> <any-value>? )"},"-ms-filter":{"syntax":"<string>"},"age":{"comment":"https://www.w3.org/TR/css3-speech/#voice-family","syntax":"child | young | old"},"attr-name":{"syntax":"<wq-name>"},"attr-fallback":{"syntax":"<any-value>"},"border-radius":{"comment":"missed, https://drafts.csswg.org/css-backgrounds-3/#the-border-radius","syntax":"<length-percentage>{1,2}"},"bottom":{"comment":"missed; not sure we should add it, but no others except `shape` is using it so it\'s ok for now; https://drafts.fxtf.org/css-masking-1/#funcdef-clip-rect","syntax":"<length> | auto"},"content-list":{"comment":"missed -> https://drafts.csswg.org/css-content/#typedef-content-list (document-url, <target> and leader() is omitted util stabilization)","syntax":"[ <string> | contents | <image> | <quote> | <target> | <leader()> | <attr()> | counter( <ident>, <\'list-style-type\'>? ) ]+"},"element()":{"comment":"https://drafts.csswg.org/css-gcpm/#element-syntax & https://drafts.csswg.org/css-images-4/#element-notation","syntax":"element( <custom-ident> , [ first | start | last | first-except ]? ) | element( <id-selector> )"},"generic-voice":{"comment":"https://www.w3.org/TR/css3-speech/#voice-family","syntax":"[ <age>? <gender> <integer>? ]"},"gender":{"comment":"https://www.w3.org/TR/css3-speech/#voice-family","syntax":"male | female | neutral"},"generic-family":{"comment":"added -apple-system","references":["https://webkit.org/blog/3709/using-the-system-font-in-web-content/"],"syntax":"| -apple-system"},"gradient":{"comment":"added legacy syntaxes support","syntax":"| <-legacy-gradient>"},"left":{"comment":"missed; not sure we should add it, but no others except `shape` is using it so it\'s ok for now; https://drafts.fxtf.org/css-masking-1/#funcdef-clip-rect","syntax":"<length> | auto"},"mask-image":{"comment":"missed; https://drafts.fxtf.org/css-masking-1/#the-mask-image","syntax":"<mask-reference>#"},"name-repeat":{"comment":"missed, and looks like obsolete, keep it as is since other property syntaxes should be changed too; https://www.w3.org/TR/2015/WD-css-grid-1-20150917/#typedef-name-repeat","syntax":"repeat( [ <positive-integer> | auto-fill ], <line-names>+)"},"named-color":{"comment":"added non standard color names","syntax":"| <-non-standard-color>"},"paint":{"comment":"used by SVG https://www.w3.org/TR/SVG/painting.html#SpecifyingPaint","syntax":"none | <color> | <url> [ none | <color> ]? | context-fill | context-stroke"},"page-size":{"comment":"https://www.w3.org/TR/css-page-3/#typedef-page-size-page-size","syntax":"A5 | A4 | A3 | B5 | B4 | JIS-B5 | JIS-B4 | letter | legal | ledger"},"ratio":{"comment":"missed, https://drafts.csswg.org/mediaqueries-4/#typedef-ratio","syntax":"<integer> / <integer>"},"right":{"comment":"missed; not sure we should add it, but no others except `shape` is using it so it\'s ok for now; https://drafts.fxtf.org/css-masking-1/#funcdef-clip-rect","syntax":"<length> | auto"},"shape":{"comment":"missed spaces in function body and add backwards compatible syntax","syntax":"rect( <top>, <right>, <bottom>, <left> ) | rect( <top> <right> <bottom> <left> )"},"svg-length":{"comment":"All coordinates and lengths in SVG can be specified with or without a unit identifier","references":["https://www.w3.org/TR/SVG11/coords.html#Units"],"syntax":"<percentage> | <length> | <number>"},"svg-writing-mode":{"comment":"SVG specific keywords (deprecated for CSS)","references":["https://developer.mozilla.org/en/docs/Web/CSS/writing-mode","https://www.w3.org/TR/SVG/text.html#WritingModeProperty"],"syntax":"lr-tb | rl-tb | tb-rl | lr | rl | tb"},"top":{"comment":"missed; not sure we should add it, but no others except `shape` is using it so it\'s ok for now; https://drafts.fxtf.org/css-masking-1/#funcdef-clip-rect","syntax":"<length> | auto"},"track-group":{"comment":"used by old grid-columns and grid-rows syntax v0","syntax":"\'(\' [ <string>* <track-minmax> <string>* ]+ \')\' [ \'[\' <positive-integer> \']\' ]? | <track-minmax>"},"track-list-v0":{"comment":"used by old grid-columns and grid-rows syntax v0","syntax":"[ <string>* <track-group> <string>* ]+ | none"},"track-minmax":{"comment":"used by old grid-columns and grid-rows syntax v0","syntax":"minmax( <track-breadth> , <track-breadth> ) | auto | <track-breadth> | fit-content"},"x":{"comment":"missed; not sure we should add it, but no others except `cursor` is using it so it\'s ok for now; https://drafts.csswg.org/css-ui-3/#cursor","syntax":"<number>"},"y":{"comment":"missed; not sure we should add it, but no others except `cursor` is using so it\'s ok for now; https://drafts.csswg.org/css-ui-3/#cursor","syntax":"<number>"},"declaration":{"comment":"missed, restored by https://drafts.csswg.org/css-syntax","syntax":"<ident-token> : <declaration-value>? [ \'!\' important ]?"},"declaration-list":{"comment":"missed, restored by https://drafts.csswg.org/css-syntax","syntax":"[ <declaration>? \';\' ]* <declaration>?"},"url":{"comment":"https://drafts.csswg.org/css-values-4/#urls","syntax":"url( <string> <url-modifier>* ) | <url-token>"},"url-modifier":{"comment":"https://drafts.csswg.org/css-values-4/#typedef-url-modifier","syntax":"<ident> | <function-token> <any-value> )"},"number-zero-one":{"syntax":"<number [0,1]>"},"number-one-or-greater":{"syntax":"<number [1,\u221e]>"},"positive-integer":{"syntax":"<integer [0,\u221e]>"},"-non-standard-display":{"syntax":"-ms-inline-flexbox | -ms-grid | -ms-inline-grid | -webkit-flex | -webkit-inline-flex | -webkit-box | -webkit-inline-box | -moz-inline-stack | -moz-box | -moz-inline-box"}}}')},37151:function(ue){"use strict";ue.exports={version:"1.1.3"}},94518:function(ue){"use strict";ue.exports=JSON.parse('{"@charset":{"syntax":"@charset \\"<charset>\\";","groups":["CSS Charsets"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@charset"},"@counter-style":{"syntax":"@counter-style <counter-style-name> {\\n  [ system: <counter-system>; ] ||\\n  [ symbols: <counter-symbols>; ] ||\\n  [ additive-symbols: <additive-symbols>; ] ||\\n  [ negative: <negative-symbol>; ] ||\\n  [ prefix: <prefix>; ] ||\\n  [ suffix: <suffix>; ] ||\\n  [ range: <range>; ] ||\\n  [ pad: <padding>; ] ||\\n  [ speak-as: <speak-as>; ] ||\\n  [ fallback: <counter-style-name>; ]\\n}","interfaces":["CSSCounterStyleRule"],"groups":["CSS Counter Styles"],"descriptors":{"additive-symbols":{"syntax":"[ <integer> && <symbol> ]#","media":"all","initial":"n/a (required)","percentages":"no","computed":"asSpecified","order":"orderOfAppearance","status":"standard"},"fallback":{"syntax":"<counter-style-name>","media":"all","initial":"decimal","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"negative":{"syntax":"<symbol> <symbol>?","media":"all","initial":"\\"-\\" hyphen-minus","percentages":"no","computed":"asSpecified","order":"orderOfAppearance","status":"standard"},"pad":{"syntax":"<integer> && <symbol>","media":"all","initial":"0 \\"\\"","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"prefix":{"syntax":"<symbol>","media":"all","initial":"\\"\\"","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"range":{"syntax":"[ [ <integer> | infinite ]{2} ]# | auto","media":"all","initial":"auto","percentages":"no","computed":"asSpecified","order":"orderOfAppearance","status":"standard"},"speak-as":{"syntax":"auto | bullets | numbers | words | spell-out | <counter-style-name>","media":"all","initial":"auto","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"suffix":{"syntax":"<symbol>","media":"all","initial":"\\". \\"","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"symbols":{"syntax":"<symbol>+","media":"all","initial":"n/a (required)","percentages":"no","computed":"asSpecified","order":"orderOfAppearance","status":"standard"},"system":{"syntax":"cyclic | numeric | alphabetic | symbolic | additive | [ fixed <integer>? ] | [ extends <counter-style-name> ]","media":"all","initial":"symbolic","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"}},"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@counter-style"},"@document":{"syntax":"@document [ <url> | url-prefix(<string>) | domain(<string>) | media-document(<string>) | regexp(<string>) ]# {\\n  <group-rule-body>\\n}","interfaces":["CSSGroupingRule","CSSConditionRule"],"groups":["CSS Conditional Rules"],"status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@document"},"@font-face":{"syntax":"@font-face {\\n  [ font-family: <family-name>; ] ||\\n  [ src: <src>; ] ||\\n  [ unicode-range: <unicode-range>; ] ||\\n  [ font-variant: <font-variant>; ] ||\\n  [ font-feature-settings: <font-feature-settings>; ] ||\\n  [ font-variation-settings: <font-variation-settings>; ] ||\\n  [ font-stretch: <font-stretch>; ] ||\\n  [ font-weight: <font-weight>; ] ||\\n  [ font-style: <font-style>; ]\\n}","interfaces":["CSSFontFaceRule"],"groups":["CSS Fonts"],"descriptors":{"font-display":{"syntax":"[ auto | block | swap | fallback | optional ]","media":"visual","percentages":"no","initial":"auto","computed":"asSpecified","order":"uniqueOrder","status":"experimental"},"font-family":{"syntax":"<family-name>","media":"all","initial":"n/a (required)","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"font-feature-settings":{"syntax":"normal | <feature-tag-value>#","media":"all","initial":"normal","percentages":"no","computed":"asSpecified","order":"orderOfAppearance","status":"standard"},"font-variation-settings":{"syntax":"normal | [ <string> <number> ]#","media":"all","initial":"normal","percentages":"no","computed":"asSpecified","order":"orderOfAppearance","status":"standard"},"font-stretch":{"syntax":"<font-stretch-absolute>{1,2}","media":"all","initial":"normal","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"font-style":{"syntax":"normal | italic | oblique <angle>{0,2}","media":"all","initial":"normal","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"font-weight":{"syntax":"<font-weight-absolute>{1,2}","media":"all","initial":"normal","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"font-variant":{"syntax":"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby ]","media":"all","initial":"normal","percentages":"no","computed":"asSpecified","order":"orderOfAppearance","status":"standard"},"src":{"syntax":"[ <url> [ format( <string># ) ]? | local( <family-name> ) ]#","media":"all","initial":"n/a (required)","percentages":"no","computed":"asSpecified","order":"orderOfAppearance","status":"standard"},"unicode-range":{"syntax":"<unicode-range>#","media":"all","initial":"U+0-10FFFF","percentages":"no","computed":"asSpecified","order":"orderOfAppearance","status":"standard"}},"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@font-face"},"@font-feature-values":{"syntax":"@font-feature-values <family-name># {\\n  <feature-value-block-list>\\n}","interfaces":["CSSFontFeatureValuesRule"],"groups":["CSS Fonts"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@font-feature-values"},"@import":{"syntax":"@import [ <string> | <url> ] [ <media-query-list> ]?;","groups":["Media Queries"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@import"},"@keyframes":{"syntax":"@keyframes <keyframes-name> {\\n  <keyframe-block-list>\\n}","interfaces":["CSSKeyframeRule","CSSKeyframesRule"],"groups":["CSS Animations"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@keyframes"},"@media":{"syntax":"@media <media-query-list> {\\n  <group-rule-body>\\n}","interfaces":["CSSGroupingRule","CSSConditionRule","CSSMediaRule","CSSCustomMediaRule"],"groups":["CSS Conditional Rules","Media Queries"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@media"},"@namespace":{"syntax":"@namespace <namespace-prefix>? [ <string> | <url> ];","groups":["CSS Namespaces"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@namespace"},"@page":{"syntax":"@page <page-selector-list> {\\n  <page-body>\\n}","interfaces":["CSSPageRule"],"groups":["CSS Pages"],"descriptors":{"bleed":{"syntax":"auto | <length>","media":["visual","paged"],"initial":"auto","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"marks":{"syntax":"none | [ crop || cross ]","media":["visual","paged"],"initial":"none","percentages":"no","computed":"asSpecified","order":"orderOfAppearance","status":"standard"},"size":{"syntax":"<length>{1,2} | auto | [ <page-size> || [ portrait | landscape ] ]","media":["visual","paged"],"initial":"auto","percentages":"no","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"orderOfAppearance","status":"standard"}},"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@page"},"@property":{"syntax":"@property <custom-property-name> {\\n  <declaration-list>\\n}","interfaces":["CSS","CSSPropertyRule"],"groups":["CSS Houdini"],"descriptors":{"syntax":{"syntax":"<string>","media":"all","percentages":"no","initial":"n/a (required)","computed":"asSpecified","order":"uniqueOrder","status":"experimental"},"inherits":{"syntax":"true | false","media":"all","percentages":"no","initial":"auto","computed":"asSpecified","order":"uniqueOrder","status":"experimental"},"initial-value":{"syntax":"<string>","media":"all","initial":"n/a (required)","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"experimental"}},"status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@property"},"@supports":{"syntax":"@supports <supports-condition> {\\n  <group-rule-body>\\n}","interfaces":["CSSGroupingRule","CSSConditionRule","CSSSupportsRule"],"groups":["CSS Conditional Rules"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@supports"},"@viewport":{"syntax":"@viewport {\\n  <group-rule-body>\\n}","interfaces":["CSSViewportRule"],"groups":["CSS Device Adaptation"],"descriptors":{"height":{"syntax":"<viewport-length>{1,2}","media":["visual","continuous"],"initial":["min-height","max-height"],"percentages":["min-height","max-height"],"computed":["min-height","max-height"],"order":"orderOfAppearance","status":"standard"},"max-height":{"syntax":"<viewport-length>","media":["visual","continuous"],"initial":"auto","percentages":"referToHeightOfInitialViewport","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard"},"max-width":{"syntax":"<viewport-length>","media":["visual","continuous"],"initial":"auto","percentages":"referToWidthOfInitialViewport","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard"},"max-zoom":{"syntax":"auto | <number> | <percentage>","media":["visual","continuous"],"initial":"auto","percentages":"the zoom factor itself","computed":"autoNonNegativeOrPercentage","order":"uniqueOrder","status":"standard"},"min-height":{"syntax":"<viewport-length>","media":["visual","continuous"],"initial":"auto","percentages":"referToHeightOfInitialViewport","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard"},"min-width":{"syntax":"<viewport-length>","media":["visual","continuous"],"initial":"auto","percentages":"referToWidthOfInitialViewport","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard"},"min-zoom":{"syntax":"auto | <number> | <percentage>","media":["visual","continuous"],"initial":"auto","percentages":"the zoom factor itself","computed":"autoNonNegativeOrPercentage","order":"uniqueOrder","status":"standard"},"orientation":{"syntax":"auto | portrait | landscape","media":["visual","continuous"],"initial":"auto","percentages":"referToSizeOfBoundingBox","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"user-zoom":{"syntax":"zoom | fixed","media":["visual","continuous"],"initial":"zoom","percentages":"referToSizeOfBoundingBox","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"viewport-fit":{"syntax":"auto | contain | cover","media":["visual","continuous"],"initial":"auto","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"width":{"syntax":"<viewport-length>{1,2}","media":["visual","continuous"],"initial":["min-width","max-width"],"percentages":["min-width","max-width"],"computed":["min-width","max-width"],"order":"orderOfAppearance","status":"standard"},"zoom":{"syntax":"auto | <number> | <percentage>","media":["visual","continuous"],"initial":"auto","percentages":"the zoom factor itself","computed":"autoNonNegativeOrPercentage","order":"uniqueOrder","status":"standard"}},"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@viewport"}}')},23050:function(ue){"use strict";ue.exports=JSON.parse('{"--*":{"syntax":"<declaration-value>","media":"all","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Variables"],"initial":"seeProse","appliesto":"allElements","computed":"asSpecifiedWithVarsSubstituted","order":"perGrammar","status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/--*"},"-ms-accelerator":{"syntax":"false | true","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"false","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-accelerator"},"-ms-block-progression":{"syntax":"tb | rl | bt | lr","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"tb","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-block-progression"},"-ms-content-zoom-chaining":{"syntax":"none | chained","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"none","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-content-zoom-chaining"},"-ms-content-zooming":{"syntax":"none | zoom","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"zoomForTheTopLevelNoneForTheRest","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-content-zooming"},"-ms-content-zoom-limit":{"syntax":"<\'-ms-content-zoom-limit-min\'> <\'-ms-content-zoom-limit-max\'>","media":"interactive","inherited":false,"animationType":"discrete","percentages":["-ms-content-zoom-limit-max","-ms-content-zoom-limit-min"],"groups":["Microsoft Extensions"],"initial":["-ms-content-zoom-limit-max","-ms-content-zoom-limit-min"],"appliesto":"nonReplacedBlockAndInlineBlockElements","computed":["-ms-content-zoom-limit-max","-ms-content-zoom-limit-min"],"order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-content-zoom-limit"},"-ms-content-zoom-limit-max":{"syntax":"<percentage>","media":"interactive","inherited":false,"animationType":"discrete","percentages":"maxZoomFactor","groups":["Microsoft Extensions"],"initial":"400%","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-content-zoom-limit-max"},"-ms-content-zoom-limit-min":{"syntax":"<percentage>","media":"interactive","inherited":false,"animationType":"discrete","percentages":"minZoomFactor","groups":["Microsoft Extensions"],"initial":"100%","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-content-zoom-limit-min"},"-ms-content-zoom-snap":{"syntax":"<\'-ms-content-zoom-snap-type\'> || <\'-ms-content-zoom-snap-points\'>","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":["-ms-content-zoom-snap-type","-ms-content-zoom-snap-points"],"appliesto":"nonReplacedBlockAndInlineBlockElements","computed":["-ms-content-zoom-snap-type","-ms-content-zoom-snap-points"],"order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-content-zoom-snap"},"-ms-content-zoom-snap-points":{"syntax":"snapInterval( <percentage>, <percentage> ) | snapList( <percentage># )","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"snapInterval(0%, 100%)","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-content-zoom-snap-points"},"-ms-content-zoom-snap-type":{"syntax":"none | proximity | mandatory","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"none","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-content-zoom-snap-type"},"-ms-filter":{"syntax":"<string>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"\\"\\"","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-filter"},"-ms-flow-from":{"syntax":"[ none | <custom-ident> ]#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"none","appliesto":"nonReplacedElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-flow-from"},"-ms-flow-into":{"syntax":"[ none | <custom-ident> ]#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"none","appliesto":"iframeElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-flow-into"},"-ms-grid-columns":{"syntax":"none | <track-list> | <auto-track-list>","media":"visual","inherited":false,"animationType":"simpleListOfLpcDifferenceLpc","percentages":"referToDimensionOfContentArea","groups":["CSS Grid Layout"],"initial":"none","appliesto":"gridContainers","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-grid-columns"},"-ms-grid-rows":{"syntax":"none | <track-list> | <auto-track-list>","media":"visual","inherited":false,"animationType":"simpleListOfLpcDifferenceLpc","percentages":"referToDimensionOfContentArea","groups":["CSS Grid Layout"],"initial":"none","appliesto":"gridContainers","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-grid-rows"},"-ms-high-contrast-adjust":{"syntax":"auto | none","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-high-contrast-adjust"},"-ms-hyphenate-limit-chars":{"syntax":"auto | <integer>{1,3}","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-hyphenate-limit-chars"},"-ms-hyphenate-limit-lines":{"syntax":"no-limit | <integer>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"no-limit","appliesto":"blockContainerElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-hyphenate-limit-lines"},"-ms-hyphenate-limit-zone":{"syntax":"<percentage> | <length>","media":"visual","inherited":true,"animationType":"discrete","percentages":"referToLineBoxWidth","groups":["Microsoft Extensions"],"initial":"0","appliesto":"blockContainerElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-hyphenate-limit-zone"},"-ms-ime-align":{"syntax":"auto | after","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-ime-align"},"-ms-overflow-style":{"syntax":"auto | none | scrollbar | -ms-autohiding-scrollbar","media":"interactive","inherited":true,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"auto","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-overflow-style"},"-ms-scrollbar-3dlight-color":{"syntax":"<color>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"dependsOnUserAgent","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scrollbar-3dlight-color"},"-ms-scrollbar-arrow-color":{"syntax":"<color>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"ButtonText","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scrollbar-arrow-color"},"-ms-scrollbar-base-color":{"syntax":"<color>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"dependsOnUserAgent","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scrollbar-base-color"},"-ms-scrollbar-darkshadow-color":{"syntax":"<color>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"ThreeDDarkShadow","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scrollbar-darkshadow-color"},"-ms-scrollbar-face-color":{"syntax":"<color>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"ThreeDFace","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scrollbar-face-color"},"-ms-scrollbar-highlight-color":{"syntax":"<color>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"ThreeDHighlight","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scrollbar-highlight-color"},"-ms-scrollbar-shadow-color":{"syntax":"<color>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"ThreeDDarkShadow","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scrollbar-shadow-color"},"-ms-scrollbar-track-color":{"syntax":"<color>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"Scrollbar","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scrollbar-track-color"},"-ms-scroll-chaining":{"syntax":"chained | none","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"chained","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scroll-chaining"},"-ms-scroll-limit":{"syntax":"<\'-ms-scroll-limit-x-min\'> <\'-ms-scroll-limit-y-min\'> <\'-ms-scroll-limit-x-max\'> <\'-ms-scroll-limit-y-max\'>","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":["-ms-scroll-limit-x-min","-ms-scroll-limit-y-min","-ms-scroll-limit-x-max","-ms-scroll-limit-y-max"],"appliesto":"nonReplacedBlockAndInlineBlockElements","computed":["-ms-scroll-limit-x-min","-ms-scroll-limit-y-min","-ms-scroll-limit-x-max","-ms-scroll-limit-y-max"],"order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scroll-limit"},"-ms-scroll-limit-x-max":{"syntax":"auto | <length>","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"auto","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scroll-limit-x-max"},"-ms-scroll-limit-x-min":{"syntax":"<length>","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"0","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scroll-limit-x-min"},"-ms-scroll-limit-y-max":{"syntax":"auto | <length>","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"auto","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scroll-limit-y-max"},"-ms-scroll-limit-y-min":{"syntax":"<length>","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"0","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scroll-limit-y-min"},"-ms-scroll-rails":{"syntax":"none | railed","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"railed","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scroll-rails"},"-ms-scroll-snap-points-x":{"syntax":"snapInterval( <length-percentage>, <length-percentage> ) | snapList( <length-percentage># )","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"snapInterval(0px, 100%)","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scroll-snap-points-x"},"-ms-scroll-snap-points-y":{"syntax":"snapInterval( <length-percentage>, <length-percentage> ) | snapList( <length-percentage># )","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"snapInterval(0px, 100%)","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scroll-snap-points-y"},"-ms-scroll-snap-type":{"syntax":"none | proximity | mandatory","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"none","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scroll-snap-type"},"-ms-scroll-snap-x":{"syntax":"<\'-ms-scroll-snap-type\'> <\'-ms-scroll-snap-points-x\'>","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":["-ms-scroll-snap-type","-ms-scroll-snap-points-x"],"appliesto":"nonReplacedBlockAndInlineBlockElements","computed":["-ms-scroll-snap-type","-ms-scroll-snap-points-x"],"order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scroll-snap-x"},"-ms-scroll-snap-y":{"syntax":"<\'-ms-scroll-snap-type\'> <\'-ms-scroll-snap-points-y\'>","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":["-ms-scroll-snap-type","-ms-scroll-snap-points-y"],"appliesto":"nonReplacedBlockAndInlineBlockElements","computed":["-ms-scroll-snap-type","-ms-scroll-snap-points-y"],"order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scroll-snap-y"},"-ms-scroll-translation":{"syntax":"none | vertical-to-horizontal","media":"interactive","inherited":true,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scroll-translation"},"-ms-text-autospace":{"syntax":"none | ideograph-alpha | ideograph-numeric | ideograph-parenthesis | ideograph-space","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-text-autospace"},"-ms-touch-select":{"syntax":"grippers | none","media":"interactive","inherited":true,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"grippers","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-touch-select"},"-ms-user-select":{"syntax":"none | element | text","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"text","appliesto":"nonReplacedElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-user-select"},"-ms-wrap-flow":{"syntax":"auto | both | start | end | maximum | clear","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"auto","appliesto":"blockLevelElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-wrap-flow"},"-ms-wrap-margin":{"syntax":"<length>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"0","appliesto":"exclusionElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-wrap-margin"},"-ms-wrap-through":{"syntax":"wrap | none","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"wrap","appliesto":"blockLevelElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-wrap-through"},"-moz-appearance":{"syntax":"none | button | button-arrow-down | button-arrow-next | button-arrow-previous | button-arrow-up | button-bevel | button-focus | caret | checkbox | checkbox-container | checkbox-label | checkmenuitem | dualbutton | groupbox | listbox | listitem | menuarrow | menubar | menucheckbox | menuimage | menuitem | menuitemtext | menulist | menulist-button | menulist-text | menulist-textfield | menupopup | menuradio | menuseparator | meterbar | meterchunk | progressbar | progressbar-vertical | progresschunk | progresschunk-vertical | radio | radio-container | radio-label | radiomenuitem | range | range-thumb | resizer | resizerpanel | scale-horizontal | scalethumbend | scalethumb-horizontal | scalethumbstart | scalethumbtick | scalethumb-vertical | scale-vertical | scrollbarbutton-down | scrollbarbutton-left | scrollbarbutton-right | scrollbarbutton-up | scrollbarthumb-horizontal | scrollbarthumb-vertical | scrollbartrack-horizontal | scrollbartrack-vertical | searchfield | separator | sheet | spinner | spinner-downbutton | spinner-textfield | spinner-upbutton | splitter | statusbar | statusbarpanel | tab | tabpanel | tabpanels | tab-scroll-arrow-back | tab-scroll-arrow-forward | textfield | textfield-multiline | toolbar | toolbarbutton | toolbarbutton-dropdown | toolbargripper | toolbox | tooltip | treeheader | treeheadercell | treeheadersortarrow | treeitem | treeline | treetwisty | treetwistyopen | treeview | -moz-mac-unified-toolbar | -moz-win-borderless-glass | -moz-win-browsertabbar-toolbox | -moz-win-communicationstext | -moz-win-communications-toolbox | -moz-win-exclude-glass | -moz-win-glass | -moz-win-mediatext | -moz-win-media-toolbox | -moz-window-button-box | -moz-window-button-box-maximized | -moz-window-button-close | -moz-window-button-maximize | -moz-window-button-minimize | -moz-window-button-restore | -moz-window-frame-bottom | -moz-window-frame-left | -moz-window-frame-right | -moz-window-titlebar | -moz-window-titlebar-maximized","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions","WebKit Extensions"],"initial":"noneButOverriddenInUserAgentCSS","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/appearance"},"-moz-binding":{"syntax":"<url> | none","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"none","appliesto":"allElementsExceptGeneratedContentOrPseudoElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-binding"},"-moz-border-bottom-colors":{"syntax":"<color>+ | none","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-border-bottom-colors"},"-moz-border-left-colors":{"syntax":"<color>+ | none","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-border-left-colors"},"-moz-border-right-colors":{"syntax":"<color>+ | none","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-border-right-colors"},"-moz-border-top-colors":{"syntax":"<color>+ | none","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-border-top-colors"},"-moz-context-properties":{"syntax":"none | [ fill | fill-opacity | stroke | stroke-opacity ]#","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"none","appliesto":"allElementsThatCanReferenceImages","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-context-properties"},"-moz-float-edge":{"syntax":"border-box | content-box | margin-box | padding-box","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"content-box","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-float-edge"},"-moz-force-broken-image-icon":{"syntax":"<integer [0,1]>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"0","appliesto":"images","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-force-broken-image-icon"},"-moz-image-region":{"syntax":"<shape> | auto","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"auto","appliesto":"xulImageElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-image-region"},"-moz-orient":{"syntax":"inline | block | horizontal | vertical","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"inline","appliesto":"anyElementEffectOnProgressAndMeter","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-orient"},"-moz-outline-radius":{"syntax":"<outline-radius>{1,4} [ / <outline-radius>{1,4} ]?","media":"visual","inherited":false,"animationType":["-moz-outline-radius-topleft","-moz-outline-radius-topright","-moz-outline-radius-bottomright","-moz-outline-radius-bottomleft"],"percentages":["-moz-outline-radius-topleft","-moz-outline-radius-topright","-moz-outline-radius-bottomright","-moz-outline-radius-bottomleft"],"groups":["Mozilla Extensions"],"initial":["-moz-outline-radius-topleft","-moz-outline-radius-topright","-moz-outline-radius-bottomright","-moz-outline-radius-bottomleft"],"appliesto":"allElements","computed":["-moz-outline-radius-topleft","-moz-outline-radius-topright","-moz-outline-radius-bottomright","-moz-outline-radius-bottomleft"],"order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius"},"-moz-outline-radius-bottomleft":{"syntax":"<outline-radius>","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToDimensionOfBorderBox","groups":["Mozilla Extensions"],"initial":"0","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-bottomleft"},"-moz-outline-radius-bottomright":{"syntax":"<outline-radius>","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToDimensionOfBorderBox","groups":["Mozilla Extensions"],"initial":"0","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-bottomright"},"-moz-outline-radius-topleft":{"syntax":"<outline-radius>","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToDimensionOfBorderBox","groups":["Mozilla Extensions"],"initial":"0","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-topleft"},"-moz-outline-radius-topright":{"syntax":"<outline-radius>","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToDimensionOfBorderBox","groups":["Mozilla Extensions"],"initial":"0","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-topright"},"-moz-stack-sizing":{"syntax":"ignore | stretch-to-fit","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"stretch-to-fit","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-stack-sizing"},"-moz-text-blink":{"syntax":"none | blink","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-text-blink"},"-moz-user-focus":{"syntax":"ignore | normal | select-after | select-before | select-menu | select-same | select-all | none","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-user-focus"},"-moz-user-input":{"syntax":"auto | none | enabled | disabled","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-user-input"},"-moz-user-modify":{"syntax":"read-only | read-write | write-only","media":"interactive","inherited":true,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"read-only","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-user-modify"},"-moz-window-dragging":{"syntax":"drag | no-drag","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"drag","appliesto":"allElementsCreatingNativeWindows","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-window-dragging"},"-moz-window-shadow":{"syntax":"default | menu | tooltip | sheet | none","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"default","appliesto":"allElementsCreatingNativeWindows","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-window-shadow"},"-webkit-appearance":{"syntax":"none | button | button-bevel | caret | checkbox | default-button | inner-spin-button | listbox | listitem | media-controls-background | media-controls-fullscreen-background | media-current-time-display | media-enter-fullscreen-button | media-exit-fullscreen-button | media-fullscreen-button | media-mute-button | media-overlay-play-button | media-play-button | media-seek-back-button | media-seek-forward-button | media-slider | media-sliderthumb | media-time-remaining-display | media-toggle-closed-captions-button | media-volume-slider | media-volume-slider-container | media-volume-sliderthumb | menulist | menulist-button | menulist-text | menulist-textfield | meter | progress-bar | progress-bar-value | push-button | radio | searchfield | searchfield-cancel-button | searchfield-decoration | searchfield-results-button | searchfield-results-decoration | slider-horizontal | slider-vertical | sliderthumb-horizontal | sliderthumb-vertical | square-button | textarea | textfield | -apple-pay-button","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"noneButOverriddenInUserAgentCSS","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/appearance"},"-webkit-border-before":{"syntax":"<\'border-width\'> || <\'border-style\'> || <\'color\'>","media":"visual","inherited":true,"animationType":"discrete","percentages":["-webkit-border-before-width"],"groups":["WebKit Extensions"],"initial":["border-width","border-style","color"],"appliesto":"allElements","computed":["border-width","border-style","color"],"order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-border-before"},"-webkit-border-before-color":{"syntax":"<\'color\'>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"currentcolor","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","status":"nonstandard"},"-webkit-border-before-style":{"syntax":"<\'border-style\'>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard"},"-webkit-border-before-width":{"syntax":"<\'border-width\'>","media":"visual","inherited":true,"animationType":"discrete","percentages":"logicalWidthOfContainingBlock","groups":["WebKit Extensions"],"initial":"medium","appliesto":"allElements","computed":"absoluteLengthZeroIfBorderStyleNoneOrHidden","order":"uniqueOrder","status":"nonstandard"},"-webkit-box-reflect":{"syntax":"[ above | below | right | left ]? <length>? <image>?","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-box-reflect"},"-webkit-line-clamp":{"syntax":"none | <integer>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"no","groups":["WebKit Extensions","CSS Overflow"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp"},"-webkit-mask":{"syntax":"[ <mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || [ <box> | border | padding | content | text ] || [ <box> | border | padding | content ] ]#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":["-webkit-mask-image","-webkit-mask-repeat","-webkit-mask-attachment","-webkit-mask-position","-webkit-mask-origin","-webkit-mask-clip"],"appliesto":"allElements","computed":["-webkit-mask-image","-webkit-mask-repeat","-webkit-mask-attachment","-webkit-mask-position","-webkit-mask-origin","-webkit-mask-clip"],"order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask"},"-webkit-mask-attachment":{"syntax":"<attachment>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"scroll","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-attachment"},"-webkit-mask-clip":{"syntax":"[ <box> | border | padding | content | text ]#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"border","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-clip"},"-webkit-mask-composite":{"syntax":"<composite-style>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"source-over","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-composite"},"-webkit-mask-image":{"syntax":"<mask-reference>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"none","appliesto":"allElements","computed":"absoluteURIOrNone","order":"orderOfAppearance","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-image"},"-webkit-mask-origin":{"syntax":"[ <box> | border | padding | content ]#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"padding","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-origin"},"-webkit-mask-position":{"syntax":"<position>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"referToSizeOfElement","groups":["WebKit Extensions"],"initial":"0% 0%","appliesto":"allElements","computed":"absoluteLengthOrPercentage","order":"orderOfAppearance","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-position"},"-webkit-mask-position-x":{"syntax":"[ <length-percentage> | left | center | right ]#","media":"visual","inherited":false,"animationType":"discrete","percentages":"referToSizeOfElement","groups":["WebKit Extensions"],"initial":"0%","appliesto":"allElements","computed":"absoluteLengthOrPercentage","order":"orderOfAppearance","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-x"},"-webkit-mask-position-y":{"syntax":"[ <length-percentage> | top | center | bottom ]#","media":"visual","inherited":false,"animationType":"discrete","percentages":"referToSizeOfElement","groups":["WebKit Extensions"],"initial":"0%","appliesto":"allElements","computed":"absoluteLengthOrPercentage","order":"orderOfAppearance","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-y"},"-webkit-mask-repeat":{"syntax":"<repeat-style>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"repeat","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-repeat"},"-webkit-mask-repeat-x":{"syntax":"repeat | no-repeat | space | round","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"repeat","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-x"},"-webkit-mask-repeat-y":{"syntax":"repeat | no-repeat | space | round","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"repeat","appliesto":"allElements","computed":"absoluteLengthOrPercentage","order":"orderOfAppearance","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-y"},"-webkit-mask-size":{"syntax":"<bg-size>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"relativeToBackgroundPositioningArea","groups":["WebKit Extensions"],"initial":"auto auto","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-size"},"-webkit-overflow-scrolling":{"syntax":"auto | touch","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"auto","appliesto":"scrollingBoxes","computed":"asSpecified","order":"orderOfAppearance","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-overflow-scrolling"},"-webkit-tap-highlight-color":{"syntax":"<color>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"black","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-tap-highlight-color"},"-webkit-text-fill-color":{"syntax":"<color>","media":"visual","inherited":true,"animationType":"color","percentages":"no","groups":["WebKit Extensions"],"initial":"currentcolor","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-fill-color"},"-webkit-text-stroke":{"syntax":"<length> || <color>","media":"visual","inherited":true,"animationType":["-webkit-text-stroke-width","-webkit-text-stroke-color"],"percentages":"no","groups":["WebKit Extensions"],"initial":["-webkit-text-stroke-width","-webkit-text-stroke-color"],"appliesto":"allElements","computed":["-webkit-text-stroke-width","-webkit-text-stroke-color"],"order":"canonicalOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke"},"-webkit-text-stroke-color":{"syntax":"<color>","media":"visual","inherited":true,"animationType":"color","percentages":"no","groups":["WebKit Extensions"],"initial":"currentcolor","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-color"},"-webkit-text-stroke-width":{"syntax":"<length>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"0","appliesto":"allElements","computed":"absoluteLength","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-width"},"-webkit-touch-callout":{"syntax":"default | none","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"default","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-touch-callout"},"-webkit-user-modify":{"syntax":"read-only | read-write | read-write-plaintext-only","media":"interactive","inherited":true,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"read-only","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard"},"align-content":{"syntax":"normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Box Alignment"],"initial":"normal","appliesto":"multilineFlexContainers","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/align-content"},"align-items":{"syntax":"normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ]","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Box Alignment"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/align-items"},"align-self":{"syntax":"auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Box Alignment"],"initial":"auto","appliesto":"flexItemsGridItemsAndAbsolutelyPositionedBoxes","computed":"autoOnAbsolutelyPositionedElementsValueOfAlignItemsOnParent","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/align-self"},"align-tracks":{"syntax":"[ normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position> ]#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Grid Layout"],"initial":"normal","appliesto":"gridContainersWithMasonryLayoutInTheirBlockAxis","computed":"asSpecified","order":"uniqueOrder","status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/align-tracks"},"all":{"syntax":"initial | inherit | unset | revert","media":"noPracticalMedia","inherited":false,"animationType":"eachOfShorthandPropertiesExceptUnicodeBiDiAndDirection","percentages":"no","groups":["CSS Miscellaneous"],"initial":"noPracticalInitialValue","appliesto":"allElements","computed":"asSpecifiedAppliesToEachProperty","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/all"},"animation":{"syntax":"<single-animation>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Animations"],"initial":["animation-name","animation-duration","animation-timing-function","animation-delay","animation-iteration-count","animation-direction","animation-fill-mode","animation-play-state"],"appliesto":"allElementsAndPseudos","computed":["animation-name","animation-duration","animation-timing-function","animation-delay","animation-direction","animation-iteration-count","animation-fill-mode","animation-play-state"],"order":"orderOfAppearance","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/animation"},"animation-delay":{"syntax":"<time>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Animations"],"initial":"0s","appliesto":"allElementsAndPseudos","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/animation-delay"},"animation-direction":{"syntax":"<single-animation-direction>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Animations"],"initial":"normal","appliesto":"allElementsAndPseudos","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/animation-direction"},"animation-duration":{"syntax":"<time>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Animations"],"initial":"0s","appliesto":"allElementsAndPseudos","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/animation-duration"},"animation-fill-mode":{"syntax":"<single-animation-fill-mode>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Animations"],"initial":"none","appliesto":"allElementsAndPseudos","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/animation-fill-mode"},"animation-iteration-count":{"syntax":"<single-animation-iteration-count>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Animations"],"initial":"1","appliesto":"allElementsAndPseudos","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/animation-iteration-count"},"animation-name":{"syntax":"[ none | <keyframes-name> ]#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Animations"],"initial":"none","appliesto":"allElementsAndPseudos","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/animation-name"},"animation-play-state":{"syntax":"<single-animation-play-state>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Animations"],"initial":"running","appliesto":"allElementsAndPseudos","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/animation-play-state"},"animation-timing-function":{"syntax":"<timing-function>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Animations"],"initial":"ease","appliesto":"allElementsAndPseudos","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/animation-timing-function"},"appearance":{"syntax":"none | auto | textfield | menulist-button | <compat-auto>","media":"all","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Basic User Interface"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/appearance"},"aspect-ratio":{"syntax":"auto | <ratio>","media":"all","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Basic User Interface"],"initial":"auto","appliesto":"allElementsExceptInlineBoxesAndInternalRubyOrTableBoxes","computed":"asSpecified","order":"perGrammar","status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/aspect-ratio"},"azimuth":{"syntax":"<angle> | [ [ left-side | far-left | left | center-left | center | center-right | right | far-right | right-side ] || behind ] | leftwards | rightwards","media":"aural","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Speech"],"initial":"center","appliesto":"allElements","computed":"normalizedAngle","order":"orderOfAppearance","status":"obsolete","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/azimuth"},"backdrop-filter":{"syntax":"none | <filter-function-list>","media":"visual","inherited":false,"animationType":"filterList","percentages":"no","groups":["Filter Effects"],"initial":"none","appliesto":"allElementsSVGContainerElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/backdrop-filter"},"backface-visibility":{"syntax":"visible | hidden","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Transforms"],"initial":"visible","appliesto":"transformableElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/backface-visibility"},"background":{"syntax":"[ <bg-layer> , ]* <final-bg-layer>","media":"visual","inherited":false,"animationType":["background-color","background-image","background-clip","background-position","background-size","background-repeat","background-attachment"],"percentages":["background-position","background-size"],"groups":["CSS Backgrounds and Borders"],"initial":["background-image","background-position","background-size","background-repeat","background-origin","background-clip","background-attachment","background-color"],"appliesto":"allElements","computed":["background-image","background-position","background-size","background-repeat","background-origin","background-clip","background-attachment","background-color"],"order":"orderOfAppearance","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/background"},"background-attachment":{"syntax":"<attachment>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"scroll","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/background-attachment"},"background-blend-mode":{"syntax":"<blend-mode>#","media":"none","inherited":false,"animationType":"discrete","percentages":"no","groups":["Compositing and Blending"],"initial":"normal","appliesto":"allElementsSVGContainerGraphicsAndGraphicsReferencingElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/background-blend-mode"},"background-clip":{"syntax":"<box>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"border-box","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/background-clip"},"background-color":{"syntax":"<color>","media":"visual","inherited":false,"animationType":"color","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"transparent","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/background-color"},"background-image":{"syntax":"<bg-image>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"none","appliesto":"allElements","computed":"asSpecifiedURLsAbsolute","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/background-image"},"background-origin":{"syntax":"<box>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"padding-box","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/background-origin"},"background-position":{"syntax":"<bg-position>#","media":"visual","inherited":false,"animationType":"repeatableListOfSimpleListOfLpc","percentages":"referToSizeOfBackgroundPositioningAreaMinusBackgroundImageSize","groups":["CSS Backgrounds and Borders"],"initial":"0% 0%","appliesto":"allElements","computed":"listEachItemTwoKeywordsOriginOffsets","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/background-position"},"background-position-x":{"syntax":"[ center | [ [ left | right | x-start | x-end ]? <length-percentage>? ]! ]#","media":"visual","inherited":false,"animationType":"discrete","percentages":"referToWidthOfBackgroundPositioningAreaMinusBackgroundImageHeight","groups":["CSS Backgrounds and Borders"],"initial":"left","appliesto":"allElements","computed":"listEachItemConsistingOfAbsoluteLengthPercentageAndOrigin","order":"uniqueOrder","status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/background-position-x"},"background-position-y":{"syntax":"[ center | [ [ top | bottom | y-start | y-end ]? <length-percentage>? ]! ]#","media":"visual","inherited":false,"animationType":"discrete","percentages":"referToHeightOfBackgroundPositioningAreaMinusBackgroundImageHeight","groups":["CSS Backgrounds and Borders"],"initial":"top","appliesto":"allElements","computed":"listEachItemConsistingOfAbsoluteLengthPercentageAndOrigin","order":"uniqueOrder","status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/background-position-y"},"background-repeat":{"syntax":"<repeat-style>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"repeat","appliesto":"allElements","computed":"listEachItemHasTwoKeywordsOnePerDimension","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/background-repeat"},"background-size":{"syntax":"<bg-size>#","media":"visual","inherited":false,"animationType":"repeatableListOfSimpleListOfLpc","percentages":"relativeToBackgroundPositioningArea","groups":["CSS Backgrounds and Borders"],"initial":"auto auto","appliesto":"allElements","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/background-size"},"block-overflow":{"syntax":"clip | ellipsis | <string>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Overflow"],"initial":"clip","appliesto":"blockContainers","computed":"asSpecified","order":"perGrammar","status":"experimental"},"block-size":{"syntax":"<\'width\'>","media":"visual","inherited":false,"animationType":"lpc","percentages":"blockSizeOfContainingBlock","groups":["CSS Logical Properties"],"initial":"auto","appliesto":"sameAsWidthAndHeight","computed":"sameAsWidthAndHeight","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/block-size"},"border":{"syntax":"<line-width> || <line-style> || <color>","media":"visual","inherited":false,"animationType":["border-color","border-style","border-width"],"percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":["border-width","border-style","border-color"],"appliesto":"allElements","computed":["border-width","border-style","border-color"],"order":"orderOfAppearance","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border"},"border-block":{"syntax":"<\'border-top-width\'> || <\'border-top-style\'> || <\'color\'>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Logical Properties"],"initial":["border-top-width","border-top-style","border-top-color"],"appliesto":"allElements","computed":["border-top-width","border-top-style","border-top-color"],"order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-block"},"border-block-color":{"syntax":"<\'border-top-color\'>{1,2}","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Logical Properties"],"initial":"currentcolor","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-block-color"},"border-block-style":{"syntax":"<\'border-top-style\'>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Logical Properties"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-block-style"},"border-block-width":{"syntax":"<\'border-top-width\'>","media":"visual","inherited":false,"animationType":"discrete","percentages":"logicalWidthOfContainingBlock","groups":["CSS Logical Properties"],"initial":"medium","appliesto":"allElements","computed":"absoluteLengthZeroIfBorderStyleNoneOrHidden","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-block-width"},"border-block-end":{"syntax":"<\'border-top-width\'> || <\'border-top-style\'> || <\'color\'>","media":"visual","inherited":false,"animationType":["border-block-end-color","border-block-end-style","border-block-end-width"],"percentages":"no","groups":["CSS Logical Properties"],"initial":["border-top-width","border-top-style","border-top-color"],"appliesto":"allElements","computed":["border-top-width","border-top-style","border-top-color"],"order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-block-end"},"border-block-end-color":{"syntax":"<\'border-top-color\'>","media":"visual","inherited":false,"animationType":"color","percentages":"no","groups":["CSS Logical Properties"],"initial":"currentcolor","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-block-end-color"},"border-block-end-style":{"syntax":"<\'border-top-style\'>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Logical Properties"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-block-end-style"},"border-block-end-width":{"syntax":"<\'border-top-width\'>","media":"visual","inherited":false,"animationType":"length","percentages":"logicalWidthOfContainingBlock","groups":["CSS Logical Properties"],"initial":"medium","appliesto":"allElements","computed":"absoluteLengthZeroIfBorderStyleNoneOrHidden","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-block-end-width"},"border-block-start":{"syntax":"<\'border-top-width\'> || <\'border-top-style\'> || <\'color\'>","media":"visual","inherited":false,"animationType":["border-block-start-color","border-block-start-style","border-block-start-width"],"percentages":"no","groups":["CSS Logical Properties"],"initial":["border-width","border-style","color"],"appliesto":"allElements","computed":["border-width","border-style","border-block-start-color"],"order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-block-start"},"border-block-start-color":{"syntax":"<\'border-top-color\'>","media":"visual","inherited":false,"animationType":"color","percentages":"no","groups":["CSS Logical Properties"],"initial":"currentcolor","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-block-start-color"},"border-block-start-style":{"syntax":"<\'border-top-style\'>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Logical Properties"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-block-start-style"},"border-block-start-width":{"syntax":"<\'border-top-width\'>","media":"visual","inherited":false,"animationType":"length","percentages":"logicalWidthOfContainingBlock","groups":["CSS Logical Properties"],"initial":"medium","appliesto":"allElements","computed":"absoluteLengthZeroIfBorderStyleNoneOrHidden","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-block-start-width"},"border-bottom":{"syntax":"<line-width> || <line-style> || <color>","media":"visual","inherited":false,"animationType":["border-bottom-color","border-bottom-style","border-bottom-width"],"percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":["border-bottom-width","border-bottom-style","border-bottom-color"],"appliesto":"allElements","computed":["border-bottom-width","border-bottom-style","border-bottom-color"],"order":"orderOfAppearance","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-bottom"},"border-bottom-color":{"syntax":"<\'border-top-color\'>","media":"visual","inherited":false,"animationType":"color","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"currentcolor","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-bottom-color"},"border-bottom-left-radius":{"syntax":"<length-percentage>{1,2}","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToDimensionOfBorderBox","groups":["CSS Backgrounds and Borders"],"initial":"0","appliesto":"allElementsUAsNotRequiredWhenCollapse","computed":"twoAbsoluteLengthOrPercentages","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-bottom-left-radius"},"border-bottom-right-radius":{"syntax":"<length-percentage>{1,2}","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToDimensionOfBorderBox","groups":["CSS Backgrounds and Borders"],"initial":"0","appliesto":"allElementsUAsNotRequiredWhenCollapse","computed":"twoAbsoluteLengthOrPercentages","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-bottom-right-radius"},"border-bottom-style":{"syntax":"<line-style>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-bottom-style"},"border-bottom-width":{"syntax":"<line-width>","media":"visual","inherited":false,"animationType":"length","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"medium","appliesto":"allElements","computed":"absoluteLengthOr0IfBorderBottomStyleNoneOrHidden","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-bottom-width"},"border-collapse":{"syntax":"collapse | separate","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Table"],"initial":"separate","appliesto":"tableElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-collapse"},"border-color":{"syntax":"<color>{1,4}","media":"visual","inherited":false,"animationType":["border-bottom-color","border-left-color","border-right-color","border-top-color"],"percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":["border-top-color","border-right-color","border-bottom-color","border-left-color"],"appliesto":"allElements","computed":["border-bottom-color","border-left-color","border-right-color","border-top-color"],"order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-color"},"border-end-end-radius":{"syntax":"<length-percentage>{1,2}","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToDimensionOfBorderBox","groups":["CSS Logical Properties"],"initial":"0","appliesto":"allElementsUAsNotRequiredWhenCollapse","computed":"twoAbsoluteLengthOrPercentages","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-end-end-radius"},"border-end-start-radius":{"syntax":"<length-percentage>{1,2}","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToDimensionOfBorderBox","groups":["CSS Logical Properties"],"initial":"0","appliesto":"allElementsUAsNotRequiredWhenCollapse","computed":"twoAbsoluteLengthOrPercentages","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-end-start-radius"},"border-image":{"syntax":"<\'border-image-source\'> || <\'border-image-slice\'> [ / <\'border-image-width\'> | / <\'border-image-width\'>? / <\'border-image-outset\'> ]? || <\'border-image-repeat\'>","media":"visual","inherited":false,"animationType":"discrete","percentages":["border-image-slice","border-image-width"],"groups":["CSS Backgrounds and Borders"],"initial":["border-image-source","border-image-slice","border-image-width","border-image-outset","border-image-repeat"],"appliesto":"allElementsExceptTableElementsWhenCollapse","computed":["border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width"],"order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-image"},"border-image-outset":{"syntax":"[ <length> | <number> ]{1,4}","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"0","appliesto":"allElementsExceptTableElementsWhenCollapse","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-image-outset"},"border-image-repeat":{"syntax":"[ stretch | repeat | round | space ]{1,2}","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"stretch","appliesto":"allElementsExceptTableElementsWhenCollapse","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-image-repeat"},"border-image-slice":{"syntax":"<number-percentage>{1,4} && fill?","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"referToSizeOfBorderImage","groups":["CSS Backgrounds and Borders"],"initial":"100%","appliesto":"allElementsExceptTableElementsWhenCollapse","computed":"oneToFourPercentagesOrAbsoluteLengthsPlusFill","order":"percentagesOrLengthsFollowedByFill","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-image-slice"},"border-image-source":{"syntax":"none | <image>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"none","appliesto":"allElementsExceptTableElementsWhenCollapse","computed":"noneOrImageWithAbsoluteURI","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-image-source"},"border-image-width":{"syntax":"[ <length-percentage> | <number> | auto ]{1,4}","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"referToWidthOrHeightOfBorderImageArea","groups":["CSS Backgrounds and Borders"],"initial":"1","appliesto":"allElementsExceptTableElementsWhenCollapse","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-image-width"},"border-inline":{"syntax":"<\'border-top-width\'> || <\'border-top-style\'> || <\'color\'>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Logical Properties"],"initial":["border-top-width","border-top-style","border-top-color"],"appliesto":"allElements","computed":["border-top-width","border-top-style","border-top-color"],"order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-inline"},"border-inline-end":{"syntax":"<\'border-top-width\'> || <\'border-top-style\'> || <\'color\'>","media":"visual","inherited":false,"animationType":["border-inline-end-color","border-inline-end-style","border-inline-end-width"],"percentages":"no","groups":["CSS Logical Properties"],"initial":["border-width","border-style","color"],"appliesto":"allElements","computed":["border-width","border-style","border-inline-end-color"],"order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-inline-end"},"border-inline-color":{"syntax":"<\'border-top-color\'>{1,2}","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Logical Properties"],"initial":"currentcolor","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-inline-color"},"border-inline-style":{"syntax":"<\'border-top-style\'>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Logical Properties"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-inline-style"},"border-inline-width":{"syntax":"<\'border-top-width\'>","media":"visual","inherited":false,"animationType":"discrete","percentages":"logicalWidthOfContainingBlock","groups":["CSS Logical Properties"],"initial":"medium","appliesto":"allElements","computed":"absoluteLengthZeroIfBorderStyleNoneOrHidden","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-inline-width"},"border-inline-end-color":{"syntax":"<\'border-top-color\'>","media":"visual","inherited":false,"animationType":"color","percentages":"no","groups":["CSS Logical Properties"],"initial":"currentcolor","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-color"},"border-inline-end-style":{"syntax":"<\'border-top-style\'>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Logical Properties"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-style"},"border-inline-end-width":{"syntax":"<\'border-top-width\'>","media":"visual","inherited":false,"animationType":"length","percentages":"logicalWidthOfContainingBlock","groups":["CSS Logical Properties"],"initial":"medium","appliesto":"allElements","computed":"absoluteLengthZeroIfBorderStyleNoneOrHidden","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-width"},"border-inline-start":{"syntax":"<\'border-top-width\'> || <\'border-top-style\'> || <\'color\'>","media":"visual","inherited":false,"animationType":["border-inline-start-color","border-inline-start-style","border-inline-start-width"],"percentages":"no","groups":["CSS Logical Properties"],"initial":["border-width","border-style","color"],"appliesto":"allElements","computed":["border-width","border-style","border-inline-start-color"],"order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-inline-start"},"border-inline-start-color":{"syntax":"<\'border-top-color\'>","media":"visual","inherited":false,"animationType":"color","percentages":"no","groups":["CSS Logical Properties"],"initial":"currentcolor","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-color"},"border-inline-start-style":{"syntax":"<\'border-top-style\'>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Logical Properties"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-style"},"border-inline-start-width":{"syntax":"<\'border-top-width\'>","media":"visual","inherited":false,"animationType":"length","percentages":"logicalWidthOfContainingBlock","groups":["CSS Logical Properties"],"initial":"medium","appliesto":"allElements","computed":"absoluteLengthZeroIfBorderStyleNoneOrHidden","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-width"},"border-left":{"syntax":"<line-width> || <line-style> || <color>","media":"visual","inherited":false,"animationType":["border-left-color","border-left-style","border-left-width"],"percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":["border-left-width","border-left-style","border-left-color"],"appliesto":"allElements","computed":["border-left-width","border-left-style","border-left-color"],"order":"orderOfAppearance","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-left"},"border-left-color":{"syntax":"<color>","media":"visual","inherited":false,"animationType":"color","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"currentcolor","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-left-color"},"border-left-style":{"syntax":"<line-style>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-left-style"},"border-left-width":{"syntax":"<line-width>","media":"visual","inherited":false,"animationType":"length","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"medium","appliesto":"allElements","computed":"absoluteLengthOr0IfBorderLeftStyleNoneOrHidden","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-left-width"},"border-radius":{"syntax":"<length-percentage>{1,4} [ / <length-percentage>{1,4} ]?","media":"visual","inherited":false,"animationType":["border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"],"percentages":"referToDimensionOfBorderBox","groups":["CSS Backgrounds and Borders"],"initial":["border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"],"appliesto":"allElementsUAsNotRequiredWhenCollapse","computed":["border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius"],"order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-radius"},"border-right":{"syntax":"<line-width> || <line-style> || <color>","media":"visual","inherited":false,"animationType":["border-right-color","border-right-style","border-right-width"],"percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":["border-right-width","border-right-style","border-right-color"],"appliesto":"allElements","computed":["border-right-width","border-right-style","border-right-color"],"order":"orderOfAppearance","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-right"},"border-right-color":{"syntax":"<color>","media":"visual","inherited":false,"animationType":"color","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"currentcolor","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-right-color"},"border-right-style":{"syntax":"<line-style>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-right-style"},"border-right-width":{"syntax":"<line-width>","media":"visual","inherited":false,"animationType":"length","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"medium","appliesto":"allElements","computed":"absoluteLengthOr0IfBorderRightStyleNoneOrHidden","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-right-width"},"border-spacing":{"syntax":"<length> <length>?","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Table"],"initial":"0","appliesto":"tableElements","computed":"twoAbsoluteLengths","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-spacing"},"border-start-end-radius":{"syntax":"<length-percentage>{1,2}","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToDimensionOfBorderBox","groups":["CSS Logical Properties"],"initial":"0","appliesto":"allElementsUAsNotRequiredWhenCollapse","computed":"twoAbsoluteLengthOrPercentages","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-start-end-radius"},"border-start-start-radius":{"syntax":"<length-percentage>{1,2}","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToDimensionOfBorderBox","groups":["CSS Logical Properties"],"initial":"0","appliesto":"allElementsUAsNotRequiredWhenCollapse","computed":"twoAbsoluteLengthOrPercentages","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-start-start-radius"},"border-style":{"syntax":"<line-style>{1,4}","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":["border-top-style","border-right-style","border-bottom-style","border-left-style"],"appliesto":"allElements","computed":["border-bottom-style","border-left-style","border-right-style","border-top-style"],"order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-style"},"border-top":{"syntax":"<line-width> || <line-style> || <color>","media":"visual","inherited":false,"animationType":["border-top-color","border-top-style","border-top-width"],"percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":["border-top-width","border-top-style","border-top-color"],"appliesto":"allElements","computed":["border-top-width","border-top-style","border-top-color"],"order":"orderOfAppearance","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-top"},"border-top-color":{"syntax":"<color>","media":"visual","inherited":false,"animationType":"color","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"currentcolor","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-top-color"},"border-top-left-radius":{"syntax":"<length-percentage>{1,2}","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToDimensionOfBorderBox","groups":["CSS Backgrounds and Borders"],"initial":"0","appliesto":"allElementsUAsNotRequiredWhenCollapse","computed":"twoAbsoluteLengthOrPercentages","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-top-left-radius"},"border-top-right-radius":{"syntax":"<length-percentage>{1,2}","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToDimensionOfBorderBox","groups":["CSS Backgrounds and Borders"],"initial":"0","appliesto":"allElementsUAsNotRequiredWhenCollapse","computed":"twoAbsoluteLengthOrPercentages","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-top-right-radius"},"border-top-style":{"syntax":"<line-style>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-top-style"},"border-top-width":{"syntax":"<line-width>","media":"visual","inherited":false,"animationType":"length","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"medium","appliesto":"allElements","computed":"absoluteLengthOr0IfBorderTopStyleNoneOrHidden","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-top-width"},"border-width":{"syntax":"<line-width>{1,4}","media":"visual","inherited":false,"animationType":["border-bottom-width","border-left-width","border-right-width","border-top-width"],"percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":["border-top-width","border-right-width","border-bottom-width","border-left-width"],"appliesto":"allElements","computed":["border-bottom-width","border-left-width","border-right-width","border-top-width"],"order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-width"},"bottom":{"syntax":"<length> | <percentage> | auto","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToContainingBlockHeight","groups":["CSS Positioning"],"initial":"auto","appliesto":"positionedElements","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/bottom"},"box-align":{"syntax":"start | center | end | baseline | stretch","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions","WebKit Extensions"],"initial":"stretch","appliesto":"elementsWithDisplayBoxOrInlineBox","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/box-align"},"box-decoration-break":{"syntax":"slice | clone","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Fragmentation"],"initial":"slice","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/box-decoration-break"},"box-direction":{"syntax":"normal | reverse | inherit","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions","WebKit Extensions"],"initial":"normal","appliesto":"elementsWithDisplayBoxOrInlineBox","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/box-direction"},"box-flex":{"syntax":"<number>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions","WebKit Extensions"],"initial":"0","appliesto":"directChildrenOfElementsWithDisplayMozBoxMozInlineBox","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/box-flex"},"box-flex-group":{"syntax":"<integer>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions","WebKit Extensions"],"initial":"1","appliesto":"inFlowChildrenOfBoxElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/box-flex-group"},"box-lines":{"syntax":"single | multiple","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions","WebKit Extensions"],"initial":"single","appliesto":"boxElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/box-lines"},"box-ordinal-group":{"syntax":"<integer>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions","WebKit Extensions"],"initial":"1","appliesto":"childrenOfBoxElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/box-ordinal-group"},"box-orient":{"syntax":"horizontal | vertical | inline-axis | block-axis | inherit","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions","WebKit Extensions"],"initial":"inlineAxisHorizontalInXUL","appliesto":"elementsWithDisplayBoxOrInlineBox","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/box-orient"},"box-pack":{"syntax":"start | center | end | justify","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions","WebKit Extensions"],"initial":"start","appliesto":"elementsWithDisplayMozBoxMozInlineBox","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/box-pack"},"box-shadow":{"syntax":"none | <shadow>#","media":"visual","inherited":false,"animationType":"shadowList","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"none","appliesto":"allElements","computed":"absoluteLengthsSpecifiedColorAsSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/box-shadow"},"box-sizing":{"syntax":"content-box | border-box","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Basic User Interface"],"initial":"content-box","appliesto":"allElementsAcceptingWidthOrHeight","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/box-sizing"},"break-after":{"syntax":"auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Fragmentation"],"initial":"auto","appliesto":"blockLevelElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/break-after"},"break-before":{"syntax":"auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Fragmentation"],"initial":"auto","appliesto":"blockLevelElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/break-before"},"break-inside":{"syntax":"auto | avoid | avoid-page | avoid-column | avoid-region","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Fragmentation"],"initial":"auto","appliesto":"blockLevelElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/break-inside"},"caption-side":{"syntax":"top | bottom | block-start | block-end | inline-start | inline-end","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Table"],"initial":"top","appliesto":"tableCaptionElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/caption-side"},"caret-color":{"syntax":"auto | <color>","media":"interactive","inherited":true,"animationType":"color","percentages":"no","groups":["CSS Basic User Interface"],"initial":"auto","appliesto":"allElements","computed":"asAutoOrColor","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/caret-color"},"clear":{"syntax":"none | left | right | both | inline-start | inline-end","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Positioning"],"initial":"none","appliesto":"blockLevelElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/clear"},"clip":{"syntax":"<shape> | auto","media":"visual","inherited":false,"animationType":"rectangle","percentages":"no","groups":["CSS Masking"],"initial":"auto","appliesto":"absolutelyPositionedElements","computed":"autoOrRectangle","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/clip"},"clip-path":{"syntax":"<clip-source> | [ <basic-shape> || <geometry-box> ] | none","media":"visual","inherited":false,"animationType":"basicShapeOtherwiseNo","percentages":"referToReferenceBoxWhenSpecifiedOtherwiseBorderBox","groups":["CSS Masking"],"initial":"none","appliesto":"allElementsSVGContainerElements","computed":"asSpecifiedURLsAbsolute","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/clip-path"},"color":{"syntax":"<color>","media":"visual","inherited":true,"animationType":"color","percentages":"no","groups":["CSS Color"],"initial":"variesFromBrowserToBrowser","appliesto":"allElements","computed":"translucentValuesRGBAOtherwiseRGB","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/color"},"color-adjust":{"syntax":"economy | exact","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Color"],"initial":"economy","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/color-adjust"},"column-count":{"syntax":"<integer> | auto","media":"visual","inherited":false,"animationType":"integer","percentages":"no","groups":["CSS Columns"],"initial":"auto","appliesto":"blockContainersExceptTableWrappers","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/column-count"},"column-fill":{"syntax":"auto | balance | balance-all","media":"visualInContinuousMediaNoEffectInOverflowColumns","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Columns"],"initial":"balance","appliesto":"multicolElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/column-fill"},"column-gap":{"syntax":"normal | <length-percentage>","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToDimensionOfContentArea","groups":["CSS Box Alignment"],"initial":"normal","appliesto":"multiColumnElementsFlexContainersGridContainers","computed":"asSpecifiedWithLengthsAbsoluteAndNormalComputingToZeroExceptMultiColumn","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/column-gap"},"column-rule":{"syntax":"<\'column-rule-width\'> || <\'column-rule-style\'> || <\'column-rule-color\'>","media":"visual","inherited":false,"animationType":["column-rule-color","column-rule-style","column-rule-width"],"percentages":"no","groups":["CSS Columns"],"initial":["column-rule-width","column-rule-style","column-rule-color"],"appliesto":"multicolElements","computed":["column-rule-color","column-rule-style","column-rule-width"],"order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/column-rule"},"column-rule-color":{"syntax":"<color>","media":"visual","inherited":false,"animationType":"color","percentages":"no","groups":["CSS Columns"],"initial":"currentcolor","appliesto":"multicolElements","computed":"computedColor","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/column-rule-color"},"column-rule-style":{"syntax":"<\'border-style\'>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Columns"],"initial":"none","appliesto":"multicolElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/column-rule-style"},"column-rule-width":{"syntax":"<\'border-width\'>","media":"visual","inherited":false,"animationType":"length","percentages":"no","groups":["CSS Columns"],"initial":"medium","appliesto":"multicolElements","computed":"absoluteLength0IfColumnRuleStyleNoneOrHidden","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/column-rule-width"},"column-span":{"syntax":"none | all","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Columns"],"initial":"none","appliesto":"inFlowBlockLevelElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/column-span"},"column-width":{"syntax":"<length> | auto","media":"visual","inherited":false,"animationType":"length","percentages":"no","groups":["CSS Columns"],"initial":"auto","appliesto":"blockContainersExceptTableWrappers","computed":"absoluteLengthZeroOrLarger","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/column-width"},"columns":{"syntax":"<\'column-width\'> || <\'column-count\'>","media":"visual","inherited":false,"animationType":["column-width","column-count"],"percentages":"no","groups":["CSS Columns"],"initial":["column-width","column-count"],"appliesto":"blockContainersExceptTableWrappers","computed":["column-width","column-count"],"order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/columns"},"contain":{"syntax":"none | strict | content | [ size || layout || style || paint ]","media":"all","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Containment"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/contain"},"content":{"syntax":"normal | none | [ <content-replacement> | <content-list> ] [/ <string> ]?","media":"all","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Generated Content"],"initial":"normal","appliesto":"beforeAndAfterPseudos","computed":"normalOnElementsForPseudosNoneAbsoluteURIStringOrAsSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/content"},"counter-increment":{"syntax":"[ <custom-ident> <integer>? ]+ | none","media":"all","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Counter Styles"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/counter-increment"},"counter-reset":{"syntax":"[ <custom-ident> <integer>? ]+ | none","media":"all","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Counter Styles"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/counter-reset"},"counter-set":{"syntax":"[ <custom-ident> <integer>? ]+ | none","media":"all","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Counter Styles"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/counter-set"},"cursor":{"syntax":"[ [ <url> [ <x> <y> ]? , ]* [ auto | default | none | context-menu | help | pointer | progress | wait | cell | crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize | sw-resize | w-resize | ew-resize | ns-resize | nesw-resize | nwse-resize | col-resize | row-resize | all-scroll | zoom-in | zoom-out | grab | grabbing ] ]","media":["visual","interactive"],"inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Basic User Interface"],"initial":"auto","appliesto":"allElements","computed":"asSpecifiedURLsAbsolute","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/cursor"},"direction":{"syntax":"ltr | rtl","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Writing Modes"],"initial":"ltr","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/direction"},"display":{"syntax":"[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy>","media":"all","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Display"],"initial":"inline","appliesto":"allElements","computed":"asSpecifiedExceptPositionedFloatingAndRootElementsKeywordMaybeDifferent","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/display"},"empty-cells":{"syntax":"show | hide","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Table"],"initial":"show","appliesto":"tableCellElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/empty-cells"},"filter":{"syntax":"none | <filter-function-list>","media":"visual","inherited":false,"animationType":"filterList","percentages":"no","groups":["Filter Effects"],"initial":"none","appliesto":"allElementsSVGContainerElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/filter"},"flex":{"syntax":"none | [ <\'flex-grow\'> <\'flex-shrink\'>? || <\'flex-basis\'> ]","media":"visual","inherited":false,"animationType":["flex-grow","flex-shrink","flex-basis"],"percentages":"no","groups":["CSS Flexible Box Layout"],"initial":["flex-grow","flex-shrink","flex-basis"],"appliesto":"flexItemsAndInFlowPseudos","computed":["flex-grow","flex-shrink","flex-basis"],"order":"orderOfAppearance","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/flex"},"flex-basis":{"syntax":"content | <\'width\'>","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToFlexContainersInnerMainSize","groups":["CSS Flexible Box Layout"],"initial":"auto","appliesto":"flexItemsAndInFlowPseudos","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"lengthOrPercentageBeforeKeywordIfBothPresent","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/flex-basis"},"flex-direction":{"syntax":"row | row-reverse | column | column-reverse","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Flexible Box Layout"],"initial":"row","appliesto":"flexContainers","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/flex-direction"},"flex-flow":{"syntax":"<\'flex-direction\'> || <\'flex-wrap\'>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Flexible Box Layout"],"initial":["flex-direction","flex-wrap"],"appliesto":"flexContainers","computed":["flex-direction","flex-wrap"],"order":"orderOfAppearance","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/flex-flow"},"flex-grow":{"syntax":"<number>","media":"visual","inherited":false,"animationType":"number","percentages":"no","groups":["CSS Flexible Box Layout"],"initial":"0","appliesto":"flexItemsAndInFlowPseudos","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/flex-grow"},"flex-shrink":{"syntax":"<number>","media":"visual","inherited":false,"animationType":"number","percentages":"no","groups":["CSS Flexible Box Layout"],"initial":"1","appliesto":"flexItemsAndInFlowPseudos","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/flex-shrink"},"flex-wrap":{"syntax":"nowrap | wrap | wrap-reverse","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Flexible Box Layout"],"initial":"nowrap","appliesto":"flexContainers","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/flex-wrap"},"float":{"syntax":"left | right | none | inline-start | inline-end","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Positioning"],"initial":"none","appliesto":"allElementsNoEffectIfDisplayNone","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/float"},"font":{"syntax":"[ [ <\'font-style\'> || <font-variant-css21> || <\'font-weight\'> || <\'font-stretch\'> ]? <\'font-size\'> [ / <\'line-height\'> ]? <\'font-family\'> ] | caption | icon | menu | message-box | small-caption | status-bar","media":"visual","inherited":true,"animationType":["font-style","font-variant","font-weight","font-stretch","font-size","line-height","font-family"],"percentages":["font-size","line-height"],"groups":["CSS Fonts"],"initial":["font-style","font-variant","font-weight","font-stretch","font-size","line-height","font-family"],"appliesto":"allElements","computed":["font-style","font-variant","font-weight","font-stretch","font-size","line-height","font-family"],"order":"orderOfAppearance","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font"},"font-family":{"syntax":"[ <family-name> | <generic-family> ]#","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"dependsOnUserAgent","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-family"},"font-feature-settings":{"syntax":"normal | <feature-tag-value>#","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-feature-settings"},"font-kerning":{"syntax":"auto | normal | none","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-kerning"},"font-language-override":{"syntax":"normal | <string>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-language-override"},"font-optical-sizing":{"syntax":"auto | none","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-optical-sizing"},"font-variation-settings":{"syntax":"normal | [ <string> <number> ]#","media":"visual","inherited":true,"animationType":"transform","percentages":"no","groups":["CSS Fonts"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-variation-settings"},"font-size":{"syntax":"<absolute-size> | <relative-size> | <length-percentage>","media":"visual","inherited":true,"animationType":"length","percentages":"referToParentElementsFontSize","groups":["CSS Fonts"],"initial":"medium","appliesto":"allElements","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-size"},"font-size-adjust":{"syntax":"none | <number>","media":"visual","inherited":true,"animationType":"number","percentages":"no","groups":["CSS Fonts"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-size-adjust"},"font-smooth":{"syntax":"auto | never | always | <absolute-size> | <length>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-smooth"},"font-stretch":{"syntax":"<font-stretch-absolute>","media":"visual","inherited":true,"animationType":"fontStretch","percentages":"no","groups":["CSS Fonts"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-stretch"},"font-style":{"syntax":"normal | italic | oblique <angle>?","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-style"},"font-synthesis":{"syntax":"none | [ weight || style ]","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"weight style","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-synthesis"},"font-variant":{"syntax":"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornaments( <feature-value-name> ) || annotation( <feature-value-name> ) || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby ]","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-variant"},"font-variant-alternates":{"syntax":"normal | [ stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornaments( <feature-value-name> ) || annotation( <feature-value-name> ) ]","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-variant-alternates"},"font-variant-caps":{"syntax":"normal | small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-variant-caps"},"font-variant-east-asian":{"syntax":"normal | [ <east-asian-variant-values> || <east-asian-width-values> || ruby ]","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-variant-east-asian"},"font-variant-ligatures":{"syntax":"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ]","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-variant-ligatures"},"font-variant-numeric":{"syntax":"normal | [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ]","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-variant-numeric"},"font-variant-position":{"syntax":"normal | sub | super","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-variant-position"},"font-weight":{"syntax":"<font-weight-absolute> | bolder | lighter","media":"visual","inherited":true,"animationType":"fontWeight","percentages":"no","groups":["CSS Fonts"],"initial":"normal","appliesto":"allElements","computed":"keywordOrNumericalValueBolderLighterTransformedToRealValue","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-weight"},"gap":{"syntax":"<\'row-gap\'> <\'column-gap\'>?","media":"visual","inherited":false,"animationType":["row-gap","column-gap"],"percentages":"no","groups":["CSS Box Alignment"],"initial":["row-gap","column-gap"],"appliesto":"multiColumnElementsFlexContainersGridContainers","computed":["row-gap","column-gap"],"order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/gap"},"grid":{"syntax":"<\'grid-template\'> | <\'grid-template-rows\'> / [ auto-flow && dense? ] <\'grid-auto-columns\'>? | [ auto-flow && dense? ] <\'grid-auto-rows\'>? / <\'grid-template-columns\'>","media":"visual","inherited":false,"animationType":"discrete","percentages":["grid-template-rows","grid-template-columns","grid-auto-rows","grid-auto-columns"],"groups":["CSS Grid Layout"],"initial":["grid-template-rows","grid-template-columns","grid-template-areas","grid-auto-rows","grid-auto-columns","grid-auto-flow","grid-column-gap","grid-row-gap","column-gap","row-gap"],"appliesto":"gridContainers","computed":["grid-template-rows","grid-template-columns","grid-template-areas","grid-auto-rows","grid-auto-columns","grid-auto-flow","grid-column-gap","grid-row-gap","column-gap","row-gap"],"order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/grid"},"grid-area":{"syntax":"<grid-line> [ / <grid-line> ]{0,3}","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Grid Layout"],"initial":["grid-row-start","grid-column-start","grid-row-end","grid-column-end"],"appliesto":"gridItemsAndBoxesWithinGridContainer","computed":["grid-row-start","grid-column-start","grid-row-end","grid-column-end"],"order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/grid-area"},"grid-auto-columns":{"syntax":"<track-size>+","media":"visual","inherited":false,"animationType":"discrete","percentages":"referToDimensionOfContentArea","groups":["CSS Grid Layout"],"initial":"auto","appliesto":"gridContainers","computed":"percentageAsSpecifiedOrAbsoluteLength","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/grid-auto-columns"},"grid-auto-flow":{"syntax":"[ row | column ] || dense","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Grid Layout"],"initial":"row","appliesto":"gridContainers","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/grid-auto-flow"},"grid-auto-rows":{"syntax":"<track-size>+","media":"visual","inherited":false,"animationType":"discrete","percentages":"referToDimensionOfContentArea","groups":["CSS Grid Layout"],"initial":"auto","appliesto":"gridContainers","computed":"percentageAsSpecifiedOrAbsoluteLength","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/grid-auto-rows"},"grid-column":{"syntax":"<grid-line> [ / <grid-line> ]?","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Grid Layout"],"initial":["grid-column-start","grid-column-end"],"appliesto":"gridItemsAndBoxesWithinGridContainer","computed":["grid-column-start","grid-column-end"],"order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/grid-column"},"grid-column-end":{"syntax":"<grid-line>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Grid Layout"],"initial":"auto","appliesto":"gridItemsAndBoxesWithinGridContainer","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/grid-column-end"},"grid-column-gap":{"syntax":"<length-percentage>","media":"visual","inherited":false,"animationType":"length","percentages":"referToDimensionOfContentArea","groups":["CSS Grid Layout"],"initial":"0","appliesto":"gridContainers","computed":"percentageAsSpecifiedOrAbsoluteLength","order":"uniqueOrder","status":"obsolete","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/column-gap"},"grid-column-start":{"syntax":"<grid-line>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Grid Layout"],"initial":"auto","appliesto":"gridItemsAndBoxesWithinGridContainer","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/grid-column-start"},"grid-gap":{"syntax":"<\'grid-row-gap\'> <\'grid-column-gap\'>?","media":"visual","inherited":false,"animationType":["grid-row-gap","grid-column-gap"],"percentages":"no","groups":["CSS Grid Layout"],"initial":["grid-row-gap","grid-column-gap"],"appliesto":"gridContainers","computed":["grid-row-gap","grid-column-gap"],"order":"uniqueOrder","status":"obsolete","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/gap"},"grid-row":{"syntax":"<grid-line> [ / <grid-line> ]?","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Grid Layout"],"initial":["grid-row-start","grid-row-end"],"appliesto":"gridItemsAndBoxesWithinGridContainer","computed":["grid-row-start","grid-row-end"],"order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/grid-row"},"grid-row-end":{"syntax":"<grid-line>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Grid Layout"],"initial":"auto","appliesto":"gridItemsAndBoxesWithinGridContainer","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/grid-row-end"},"grid-row-gap":{"syntax":"<length-percentage>","media":"visual","inherited":false,"animationType":"length","percentages":"referToDimensionOfContentArea","groups":["CSS Grid Layout"],"initial":"0","appliesto":"gridContainers","computed":"percentageAsSpecifiedOrAbsoluteLength","order":"uniqueOrder","status":"obsolete","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/row-gap"},"grid-row-start":{"syntax":"<grid-line>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Grid Layout"],"initial":"auto","appliesto":"gridItemsAndBoxesWithinGridContainer","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/grid-row-start"},"grid-template":{"syntax":"none | [ <\'grid-template-rows\'> / <\'grid-template-columns\'> ] | [ <line-names>? <string> <track-size>? <line-names>? ]+ [ / <explicit-track-list> ]?","media":"visual","inherited":false,"animationType":"discrete","percentages":["grid-template-columns","grid-template-rows"],"groups":["CSS Grid Layout"],"initial":["grid-template-columns","grid-template-rows","grid-template-areas"],"appliesto":"gridContainers","computed":["grid-template-columns","grid-template-rows","grid-template-areas"],"order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/grid-template"},"grid-template-areas":{"syntax":"none | <string>+","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Grid Layout"],"initial":"none","appliesto":"gridContainers","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/grid-template-areas"},"grid-template-columns":{"syntax":"none | <track-list> | <auto-track-list> | subgrid <line-name-list>?","media":"visual","inherited":false,"animationType":"simpleListOfLpcDifferenceLpc","percentages":"referToDimensionOfContentArea","groups":["CSS Grid Layout"],"initial":"none","appliesto":"gridContainers","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/grid-template-columns"},"grid-template-rows":{"syntax":"none | <track-list> | <auto-track-list> | subgrid <line-name-list>?","media":"visual","inherited":false,"animationType":"simpleListOfLpcDifferenceLpc","percentages":"referToDimensionOfContentArea","groups":["CSS Grid Layout"],"initial":"none","appliesto":"gridContainers","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/grid-template-rows"},"hanging-punctuation":{"syntax":"none | [ first || [ force-end | allow-end ] || last ]","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Text"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/hanging-punctuation"},"height":{"syntax":"auto | <length> | <percentage> | min-content | max-content | fit-content(<length-percentage>)","media":"visual","inherited":false,"animationType":"lpc","percentages":"regardingHeightOfGeneratedBoxContainingBlockPercentagesRelativeToContainingBlock","groups":["CSS Box Model"],"initial":"auto","appliesto":"allElementsButNonReplacedAndTableColumns","computed":"percentageAutoOrAbsoluteLength","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/height"},"hyphens":{"syntax":"none | manual | auto","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Text"],"initial":"manual","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/hyphens"},"image-orientation":{"syntax":"from-image | <angle> | [ <angle>? flip ]","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Images"],"initial":"from-image","appliesto":"allElements","computed":"angleRoundedToNextQuarter","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/image-orientation"},"image-rendering":{"syntax":"auto | crisp-edges | pixelated","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Images"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/image-rendering"},"image-resolution":{"syntax":"[ from-image || <resolution> ] && snap?","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Images"],"initial":"1dppx","appliesto":"allElements","computed":"asSpecifiedWithExceptionOfResolution","order":"uniqueOrder","status":"experimental"},"ime-mode":{"syntax":"auto | normal | active | inactive | disabled","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Basic User Interface"],"initial":"auto","appliesto":"textFields","computed":"asSpecified","order":"uniqueOrder","status":"obsolete","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/ime-mode"},"initial-letter":{"syntax":"normal | [ <number> <integer>? ]","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Inline"],"initial":"normal","appliesto":"firstLetterPseudoElementsAndInlineLevelFirstChildren","computed":"asSpecified","order":"uniqueOrder","status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/initial-letter"},"initial-letter-align":{"syntax":"[ auto | alphabetic | hanging | ideographic ]","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Inline"],"initial":"auto","appliesto":"firstLetterPseudoElementsAndInlineLevelFirstChildren","computed":"asSpecified","order":"uniqueOrder","status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/initial-letter-align"},"inline-size":{"syntax":"<\'width\'>","media":"visual","inherited":false,"animationType":"lpc","percentages":"inlineSizeOfContainingBlock","groups":["CSS Logical Properties"],"initial":"auto","appliesto":"sameAsWidthAndHeight","computed":"sameAsWidthAndHeight","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/inline-size"},"inset":{"syntax":"<\'top\'>{1,4}","media":"visual","inherited":false,"animationType":"lpc","percentages":"logicalHeightOfContainingBlock","groups":["CSS Logical Properties"],"initial":"auto","appliesto":"positionedElements","computed":"sameAsBoxOffsets","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/inset"},"inset-block":{"syntax":"<\'top\'>{1,2}","media":"visual","inherited":false,"animationType":"lpc","percentages":"logicalHeightOfContainingBlock","groups":["CSS Logical Properties"],"initial":"auto","appliesto":"positionedElements","computed":"sameAsBoxOffsets","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/inset-block"},"inset-block-end":{"syntax":"<\'top\'>","media":"visual","inherited":false,"animationType":"lpc","percentages":"logicalHeightOfContainingBlock","groups":["CSS Logical Properties"],"initial":"auto","appliesto":"positionedElements","computed":"sameAsBoxOffsets","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/inset-block-end"},"inset-block-start":{"syntax":"<\'top\'>","media":"visual","inherited":false,"animationType":"lpc","percentages":"logicalHeightOfContainingBlock","groups":["CSS Logical Properties"],"initial":"auto","appliesto":"positionedElements","computed":"sameAsBoxOffsets","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/inset-block-start"},"inset-inline":{"syntax":"<\'top\'>{1,2}","media":"visual","inherited":false,"animationType":"lpc","percentages":"logicalWidthOfContainingBlock","groups":["CSS Logical Properties"],"initial":"auto","appliesto":"positionedElements","computed":"sameAsBoxOffsets","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/inset-inline"},"inset-inline-end":{"syntax":"<\'top\'>","media":"visual","inherited":false,"animationType":"lpc","percentages":"logicalWidthOfContainingBlock","groups":["CSS Logical Properties"],"initial":"auto","appliesto":"positionedElements","computed":"sameAsBoxOffsets","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/inset-inline-end"},"inset-inline-start":{"syntax":"<\'top\'>","media":"visual","inherited":false,"animationType":"lpc","percentages":"logicalWidthOfContainingBlock","groups":["CSS Logical Properties"],"initial":"auto","appliesto":"positionedElements","computed":"sameAsBoxOffsets","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/inset-inline-start"},"isolation":{"syntax":"auto | isolate","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Compositing and Blending"],"initial":"auto","appliesto":"allElementsSVGContainerGraphicsAndGraphicsReferencingElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/isolation"},"justify-content":{"syntax":"normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ]","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Box Alignment"],"initial":"normal","appliesto":"flexContainers","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/justify-content"},"justify-items":{"syntax":"normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ]","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Box Alignment"],"initial":"legacy","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/justify-items"},"justify-self":{"syntax":"auto | normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ]","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Box Alignment"],"initial":"auto","appliesto":"blockLevelBoxesAndAbsolutelyPositionedBoxesAndGridItems","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/justify-self"},"justify-tracks":{"syntax":"[ normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ] ]#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Grid Layout"],"initial":"normal","appliesto":"gridContainersWithMasonryLayoutInTheirInlineAxis","computed":"asSpecified","order":"uniqueOrder","status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/justify-tracks"},"left":{"syntax":"<length> | <percentage> | auto","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToWidthOfContainingBlock","groups":["CSS Positioning"],"initial":"auto","appliesto":"positionedElements","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/left"},"letter-spacing":{"syntax":"normal | <length>","media":"visual","inherited":true,"animationType":"length","percentages":"no","groups":["CSS Text"],"initial":"normal","appliesto":"allElements","computed":"optimumValueOfAbsoluteLengthOrNormal","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/letter-spacing"},"line-break":{"syntax":"auto | loose | normal | strict | anywhere","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Text"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/line-break"},"line-clamp":{"syntax":"none | <integer>","media":"visual","inherited":false,"animationType":"integer","percentages":"no","groups":["CSS Overflow"],"initial":"none","appliesto":"blockContainersExceptMultiColumnContainers","computed":"asSpecified","order":"perGrammar","status":"experimental"},"line-height":{"syntax":"normal | <number> | <length> | <percentage>","media":"visual","inherited":true,"animationType":"numberOrLength","percentages":"referToElementFontSize","groups":["CSS Fonts"],"initial":"normal","appliesto":"allElements","computed":"absoluteLengthOrAsSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/line-height"},"line-height-step":{"syntax":"<length>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"0","appliesto":"blockContainers","computed":"absoluteLength","order":"perGrammar","status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/line-height-step"},"list-style":{"syntax":"<\'list-style-type\'> || <\'list-style-position\'> || <\'list-style-image\'>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Lists and Counters"],"initial":["list-style-type","list-style-position","list-style-image"],"appliesto":"listItems","computed":["list-style-image","list-style-position","list-style-type"],"order":"orderOfAppearance","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/list-style"},"list-style-image":{"syntax":"<url> | none","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Lists and Counters"],"initial":"none","appliesto":"listItems","computed":"noneOrImageWithAbsoluteURI","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/list-style-image"},"list-style-position":{"syntax":"inside | outside","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Lists and Counters"],"initial":"outside","appliesto":"listItems","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/list-style-position"},"list-style-type":{"syntax":"<counter-style> | <string> | none","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Lists and Counters"],"initial":"disc","appliesto":"listItems","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/list-style-type"},"margin":{"syntax":"[ <length> | <percentage> | auto ]{1,4}","media":"visual","inherited":false,"animationType":"length","percentages":"referToWidthOfContainingBlock","groups":["CSS Box Model"],"initial":["margin-bottom","margin-left","margin-right","margin-top"],"appliesto":"allElementsExceptTableDisplayTypes","computed":["margin-bottom","margin-left","margin-right","margin-top"],"order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/margin"},"margin-block":{"syntax":"<\'margin-left\'>{1,2}","media":"visual","inherited":false,"animationType":"discrete","percentages":"dependsOnLayoutModel","groups":["CSS Logical Properties"],"initial":"0","appliesto":"sameAsMargin","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/margin-block"},"margin-block-end":{"syntax":"<\'margin-left\'>","media":"visual","inherited":false,"animationType":"length","percentages":"dependsOnLayoutModel","groups":["CSS Logical Properties"],"initial":"0","appliesto":"sameAsMargin","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/margin-block-end"},"margin-block-start":{"syntax":"<\'margin-left\'>","media":"visual","inherited":false,"animationType":"length","percentages":"dependsOnLayoutModel","groups":["CSS Logical Properties"],"initial":"0","appliesto":"sameAsMargin","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/margin-block-start"},"margin-bottom":{"syntax":"<length> | <percentage> | auto","media":"visual","inherited":false,"animationType":"length","percentages":"referToWidthOfContainingBlock","groups":["CSS Box Model"],"initial":"0","appliesto":"allElementsExceptTableDisplayTypes","computed":"percentageAsSpecifiedOrAbsoluteLength","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/margin-bottom"},"margin-inline":{"syntax":"<\'margin-left\'>{1,2}","media":"visual","inherited":false,"animationType":"discrete","percentages":"dependsOnLayoutModel","groups":["CSS Logical Properties"],"initial":"0","appliesto":"sameAsMargin","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/margin-inline"},"margin-inline-end":{"syntax":"<\'margin-left\'>","media":"visual","inherited":false,"animationType":"length","percentages":"dependsOnLayoutModel","groups":["CSS Logical Properties"],"initial":"0","appliesto":"sameAsMargin","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/margin-inline-end"},"margin-inline-start":{"syntax":"<\'margin-left\'>","media":"visual","inherited":false,"animationType":"length","percentages":"dependsOnLayoutModel","groups":["CSS Logical Properties"],"initial":"0","appliesto":"sameAsMargin","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/margin-inline-start"},"margin-left":{"syntax":"<length> | <percentage> | auto","media":"visual","inherited":false,"animationType":"length","percentages":"referToWidthOfContainingBlock","groups":["CSS Box Model"],"initial":"0","appliesto":"allElementsExceptTableDisplayTypes","computed":"percentageAsSpecifiedOrAbsoluteLength","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/margin-left"},"margin-right":{"syntax":"<length> | <percentage> | auto","media":"visual","inherited":false,"animationType":"length","percentages":"referToWidthOfContainingBlock","groups":["CSS Box Model"],"initial":"0","appliesto":"allElementsExceptTableDisplayTypes","computed":"percentageAsSpecifiedOrAbsoluteLength","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/margin-right"},"margin-top":{"syntax":"<length> | <percentage> | auto","media":"visual","inherited":false,"animationType":"length","percentages":"referToWidthOfContainingBlock","groups":["CSS Box Model"],"initial":"0","appliesto":"allElementsExceptTableDisplayTypes","computed":"percentageAsSpecifiedOrAbsoluteLength","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/margin-top"},"margin-trim":{"syntax":"none | in-flow | all","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Box Model"],"initial":"none","appliesto":"blockContainersAndMultiColumnContainers","computed":"asSpecified","order":"perGrammar","alsoAppliesTo":["::first-letter","::first-line"],"status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/margin-trim"},"mask":{"syntax":"<mask-layer>#","media":"visual","inherited":false,"animationType":["mask-image","mask-mode","mask-repeat","mask-position","mask-clip","mask-origin","mask-size","mask-composite"],"percentages":["mask-position"],"groups":["CSS Masking"],"initial":["mask-image","mask-mode","mask-repeat","mask-position","mask-clip","mask-origin","mask-size","mask-composite"],"appliesto":"allElementsSVGContainerElements","computed":["mask-image","mask-mode","mask-repeat","mask-position","mask-clip","mask-origin","mask-size","mask-composite"],"order":"perGrammar","stacking":true,"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask"},"mask-border":{"syntax":"<\'mask-border-source\'> || <\'mask-border-slice\'> [ / <\'mask-border-width\'>? [ / <\'mask-border-outset\'> ]? ]? || <\'mask-border-repeat\'> || <\'mask-border-mode\'>","media":"visual","inherited":false,"animationType":["mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width"],"percentages":["mask-border-slice","mask-border-width"],"groups":["CSS Masking"],"initial":["mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width"],"appliesto":"allElementsSVGContainerElements","computed":["mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width"],"order":"perGrammar","stacking":true,"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-border"},"mask-border-mode":{"syntax":"luminance | alpha","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Masking"],"initial":"alpha","appliesto":"allElementsSVGContainerElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-border-mode"},"mask-border-outset":{"syntax":"[ <length> | <number> ]{1,4}","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Masking"],"initial":"0","appliesto":"allElementsSVGContainerElements","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-border-outset"},"mask-border-repeat":{"syntax":"[ stretch | repeat | round | space ]{1,2}","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Masking"],"initial":"stretch","appliesto":"allElementsSVGContainerElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-border-repeat"},"mask-border-slice":{"syntax":"<number-percentage>{1,4} fill?","media":"visual","inherited":false,"animationType":"discrete","percentages":"referToSizeOfMaskBorderImage","groups":["CSS Masking"],"initial":"0","appliesto":"allElementsSVGContainerElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-border-slice"},"mask-border-source":{"syntax":"none | <image>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Masking"],"initial":"none","appliesto":"allElementsSVGContainerElements","computed":"asSpecifiedURLsAbsolute","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-border-source"},"mask-border-width":{"syntax":"[ <length-percentage> | <number> | auto ]{1,4}","media":"visual","inherited":false,"animationType":"discrete","percentages":"relativeToMaskBorderImageArea","groups":["CSS Masking"],"initial":"auto","appliesto":"allElementsSVGContainerElements","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-border-width"},"mask-clip":{"syntax":"[ <geometry-box> | no-clip ]#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Masking"],"initial":"border-box","appliesto":"allElementsSVGContainerElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-clip"},"mask-composite":{"syntax":"<compositing-operator>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Masking"],"initial":"add","appliesto":"allElementsSVGContainerElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-composite"},"mask-image":{"syntax":"<mask-reference>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Masking"],"initial":"none","appliesto":"allElementsSVGContainerElements","computed":"asSpecifiedURLsAbsolute","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-image"},"mask-mode":{"syntax":"<masking-mode>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Masking"],"initial":"match-source","appliesto":"allElementsSVGContainerElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-mode"},"mask-origin":{"syntax":"<geometry-box>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Masking"],"initial":"border-box","appliesto":"allElementsSVGContainerElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-origin"},"mask-position":{"syntax":"<position>#","media":"visual","inherited":false,"animationType":"repeatableListOfSimpleListOfLpc","percentages":"referToSizeOfMaskPaintingArea","groups":["CSS Masking"],"initial":"center","appliesto":"allElementsSVGContainerElements","computed":"consistsOfTwoKeywordsForOriginAndOffsets","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-position"},"mask-repeat":{"syntax":"<repeat-style>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Masking"],"initial":"no-repeat","appliesto":"allElementsSVGContainerElements","computed":"consistsOfTwoDimensionKeywords","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-repeat"},"mask-size":{"syntax":"<bg-size>#","media":"visual","inherited":false,"animationType":"repeatableListOfSimpleListOfLpc","percentages":"no","groups":["CSS Masking"],"initial":"auto","appliesto":"allElementsSVGContainerElements","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-size"},"mask-type":{"syntax":"luminance | alpha","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Masking"],"initial":"luminance","appliesto":"maskElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-type"},"masonry-auto-flow":{"syntax":"[ pack | next ] || [ definite-first | ordered ]","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Grid Layout"],"initial":"pack","appliesto":"gridContainersWithMasonryLayout","computed":"asSpecified","order":"uniqueOrder","status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/masonry-auto-flow"},"math-style":{"syntax":"normal | compact","media":"visual","inherited":true,"animationType":"notAnimatable","percentages":"no","groups":["MathML"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/math-style"},"max-block-size":{"syntax":"<\'max-width\'>","media":"visual","inherited":false,"animationType":"lpc","percentages":"blockSizeOfContainingBlock","groups":["CSS Logical Properties"],"initial":"0","appliesto":"sameAsWidthAndHeight","computed":"sameAsMaxWidthAndMaxHeight","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/max-block-size"},"max-height":{"syntax":"none | <length-percentage> | min-content | max-content | fit-content(<length-percentage>)","media":"visual","inherited":false,"animationType":"lpc","percentages":"regardingHeightOfGeneratedBoxContainingBlockPercentagesNone","groups":["CSS Box Model"],"initial":"none","appliesto":"allElementsButNonReplacedAndTableColumns","computed":"percentageAsSpecifiedAbsoluteLengthOrNone","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/max-height"},"max-inline-size":{"syntax":"<\'max-width\'>","media":"visual","inherited":false,"animationType":"lpc","percentages":"inlineSizeOfContainingBlock","groups":["CSS Logical Properties"],"initial":"0","appliesto":"sameAsWidthAndHeight","computed":"sameAsMaxWidthAndMaxHeight","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/max-inline-size"},"max-lines":{"syntax":"none | <integer>","media":"visual","inherited":false,"animationType":"integer","percentages":"no","groups":["CSS Overflow"],"initial":"none","appliesto":"blockContainersExceptMultiColumnContainers","computed":"asSpecified","order":"perGrammar","status":"experimental"},"max-width":{"syntax":"none | <length-percentage> | min-content | max-content | fit-content(<length-percentage>)","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToWidthOfContainingBlock","groups":["CSS Box Model"],"initial":"none","appliesto":"allElementsButNonReplacedAndTableRows","computed":"percentageAsSpecifiedAbsoluteLengthOrNone","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/max-width"},"min-block-size":{"syntax":"<\'min-width\'>","media":"visual","inherited":false,"animationType":"lpc","percentages":"blockSizeOfContainingBlock","groups":["CSS Logical Properties"],"initial":"0","appliesto":"sameAsWidthAndHeight","computed":"sameAsMinWidthAndMinHeight","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/min-block-size"},"min-height":{"syntax":"auto | <length> | <percentage> | min-content | max-content | fit-content(<length-percentage>)","media":"visual","inherited":false,"animationType":"lpc","percentages":"regardingHeightOfGeneratedBoxContainingBlockPercentages0","groups":["CSS Box Model"],"initial":"auto","appliesto":"allElementsButNonReplacedAndTableColumns","computed":"percentageAsSpecifiedOrAbsoluteLength","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/min-height"},"min-inline-size":{"syntax":"<\'min-width\'>","media":"visual","inherited":false,"animationType":"lpc","percentages":"inlineSizeOfContainingBlock","groups":["CSS Logical Properties"],"initial":"0","appliesto":"sameAsWidthAndHeight","computed":"sameAsMinWidthAndMinHeight","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/min-inline-size"},"min-width":{"syntax":"auto | <length> | <percentage> | min-content | max-content | fit-content(<length-percentage>)","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToWidthOfContainingBlock","groups":["CSS Box Model"],"initial":"auto","appliesto":"allElementsButNonReplacedAndTableRows","computed":"percentageAsSpecifiedOrAbsoluteLength","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/min-width"},"mix-blend-mode":{"syntax":"<blend-mode>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Compositing and Blending"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","stacking":true,"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mix-blend-mode"},"object-fit":{"syntax":"fill | contain | cover | none | scale-down","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Images"],"initial":"fill","appliesto":"replacedElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/object-fit"},"object-position":{"syntax":"<position>","media":"visual","inherited":true,"animationType":"repeatableListOfSimpleListOfLpc","percentages":"referToWidthAndHeightOfElement","groups":["CSS Images"],"initial":"50% 50%","appliesto":"replacedElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/object-position"},"offset":{"syntax":"[ <\'offset-position\'>? [ <\'offset-path\'> [ <\'offset-distance\'> || <\'offset-rotate\'> ]? ]? ]! [ / <\'offset-anchor\'> ]?","media":"visual","inherited":false,"animationType":["offset-position","offset-path","offset-distance","offset-anchor","offset-rotate"],"percentages":["offset-position","offset-distance","offset-anchor"],"groups":["CSS Motion Path"],"initial":["offset-position","offset-path","offset-distance","offset-anchor","offset-rotate"],"appliesto":"transformableElements","computed":["offset-position","offset-path","offset-distance","offset-anchor","offset-rotate"],"order":"perGrammar","stacking":true,"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/offset"},"offset-anchor":{"syntax":"auto | <position>","media":"visual","inherited":false,"animationType":"position","percentages":"relativeToWidthAndHeight","groups":["CSS Motion Path"],"initial":"auto","appliesto":"transformableElements","computed":"forLengthAbsoluteValueOtherwisePercentage","order":"perGrammar","status":"standard"},"offset-distance":{"syntax":"<length-percentage>","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToTotalPathLength","groups":["CSS Motion Path"],"initial":"0","appliesto":"transformableElements","computed":"forLengthAbsoluteValueOtherwisePercentage","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/offset-distance"},"offset-path":{"syntax":"none | ray( [ <angle> && <size> && contain? ] ) | <path()> | <url> | [ <basic-shape> || <geometry-box> ]","media":"visual","inherited":false,"animationType":"angleOrBasicShapeOrPath","percentages":"no","groups":["CSS Motion Path"],"initial":"none","appliesto":"transformableElements","computed":"asSpecified","order":"perGrammar","stacking":true,"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/offset-path"},"offset-position":{"syntax":"auto | <position>","media":"visual","inherited":false,"animationType":"position","percentages":"referToSizeOfContainingBlock","groups":["CSS Motion Path"],"initial":"auto","appliesto":"transformableElements","computed":"forLengthAbsoluteValueOtherwisePercentage","order":"perGrammar","status":"experimental"},"offset-rotate":{"syntax":"[ auto | reverse ] || <angle>","media":"visual","inherited":false,"animationType":"angleOrBasicShapeOrPath","percentages":"no","groups":["CSS Motion Path"],"initial":"auto","appliesto":"transformableElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/offset-rotate"},"opacity":{"syntax":"<alpha-value>","media":"visual","inherited":false,"animationType":"number","percentages":"no","groups":["CSS Color"],"initial":"1.0","appliesto":"allElements","computed":"specifiedValueClipped0To1","order":"uniqueOrder","alsoAppliesTo":["::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/opacity"},"order":{"syntax":"<integer>","media":"visual","inherited":false,"animationType":"integer","percentages":"no","groups":["CSS Flexible Box Layout"],"initial":"0","appliesto":"flexItemsGridItemsAbsolutelyPositionedContainerChildren","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/order"},"orphans":{"syntax":"<integer>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fragmentation"],"initial":"2","appliesto":"blockContainerElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/orphans"},"outline":{"syntax":"[ <\'outline-color\'> || <\'outline-style\'> || <\'outline-width\'> ]","media":["visual","interactive"],"inherited":false,"animationType":["outline-color","outline-width","outline-style"],"percentages":"no","groups":["CSS Basic User Interface"],"initial":["outline-color","outline-style","outline-width"],"appliesto":"allElements","computed":["outline-color","outline-width","outline-style"],"order":"orderOfAppearance","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/outline"},"outline-color":{"syntax":"<color> | invert","media":["visual","interactive"],"inherited":false,"animationType":"color","percentages":"no","groups":["CSS Basic User Interface"],"initial":"invertOrCurrentColor","appliesto":"allElements","computed":"invertForTranslucentColorRGBAOtherwiseRGB","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/outline-color"},"outline-offset":{"syntax":"<length>","media":["visual","interactive"],"inherited":false,"animationType":"length","percentages":"no","groups":["CSS Basic User Interface"],"initial":"0","appliesto":"allElements","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/outline-offset"},"outline-style":{"syntax":"auto | <\'border-style\'>","media":["visual","interactive"],"inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Basic User Interface"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/outline-style"},"outline-width":{"syntax":"<line-width>","media":["visual","interactive"],"inherited":false,"animationType":"length","percentages":"no","groups":["CSS Basic User Interface"],"initial":"medium","appliesto":"allElements","computed":"absoluteLength0ForNone","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/outline-width"},"overflow":{"syntax":"[ visible | hidden | clip | scroll | auto ]{1,2}","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Overflow"],"initial":"visible","appliesto":"blockContainersFlexContainersGridContainers","computed":["overflow-x","overflow-y"],"order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/overflow"},"overflow-anchor":{"syntax":"auto | none","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Scroll Anchoring"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard"},"overflow-block":{"syntax":"visible | hidden | clip | scroll | auto","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Overflow"],"initial":"auto","appliesto":"blockContainersFlexContainersGridContainers","computed":"asSpecifiedButVisibleOrClipReplacedToAutoOrHiddenIfOtherValueDifferent","order":"perGrammar","status":"standard"},"overflow-clip-box":{"syntax":"padding-box | content-box","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"padding-box","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Mozilla/CSS/overflow-clip-box"},"overflow-inline":{"syntax":"visible | hidden | clip | scroll | auto","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Overflow"],"initial":"auto","appliesto":"blockContainersFlexContainersGridContainers","computed":"asSpecifiedButVisibleOrClipReplacedToAutoOrHiddenIfOtherValueDifferent","order":"perGrammar","status":"standard"},"overflow-wrap":{"syntax":"normal | break-word | anywhere","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Text"],"initial":"normal","appliesto":"nonReplacedInlineElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/overflow-wrap"},"overflow-x":{"syntax":"visible | hidden | clip | scroll | auto","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Overflow"],"initial":"visible","appliesto":"blockContainersFlexContainersGridContainers","computed":"asSpecifiedButVisibleOrClipReplacedToAutoOrHiddenIfOtherValueDifferent","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/overflow-x"},"overflow-y":{"syntax":"visible | hidden | clip | scroll | auto","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Overflow"],"initial":"visible","appliesto":"blockContainersFlexContainersGridContainers","computed":"asSpecifiedButVisibleOrClipReplacedToAutoOrHiddenIfOtherValueDifferent","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/overflow-y"},"overscroll-behavior":{"syntax":"[ contain | none | auto ]{1,2}","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Box Model"],"initial":"auto","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior"},"overscroll-behavior-block":{"syntax":"contain | none | auto","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Box Model"],"initial":"auto","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-block"},"overscroll-behavior-inline":{"syntax":"contain | none | auto","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Box Model"],"initial":"auto","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-inline"},"overscroll-behavior-x":{"syntax":"contain | none | auto","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Box Model"],"initial":"auto","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-x"},"overscroll-behavior-y":{"syntax":"contain | none | auto","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Box Model"],"initial":"auto","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-y"},"padding":{"syntax":"[ <length> | <percentage> ]{1,4}","media":"visual","inherited":false,"animationType":"length","percentages":"referToWidthOfContainingBlock","groups":["CSS Box Model"],"initial":["padding-bottom","padding-left","padding-right","padding-top"],"appliesto":"allElementsExceptInternalTableDisplayTypes","computed":["padding-bottom","padding-left","padding-right","padding-top"],"order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/padding"},"padding-block":{"syntax":"<\'padding-left\'>{1,2}","media":"visual","inherited":false,"animationType":"discrete","percentages":"logicalWidthOfContainingBlock","groups":["CSS Logical Properties"],"initial":"0","appliesto":"allElements","computed":"asLength","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/padding-block"},"padding-block-end":{"syntax":"<\'padding-left\'>","media":"visual","inherited":false,"animationType":"length","percentages":"logicalWidthOfContainingBlock","groups":["CSS Logical Properties"],"initial":"0","appliesto":"allElements","computed":"asLength","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/padding-block-end"},"padding-block-start":{"syntax":"<\'padding-left\'>","media":"visual","inherited":false,"animationType":"length","percentages":"logicalWidthOfContainingBlock","groups":["CSS Logical Properties"],"initial":"0","appliesto":"allElements","computed":"asLength","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/padding-block-start"},"padding-bottom":{"syntax":"<length> | <percentage>","media":"visual","inherited":false,"animationType":"length","percentages":"referToWidthOfContainingBlock","groups":["CSS Box Model"],"initial":"0","appliesto":"allElementsExceptInternalTableDisplayTypes","computed":"percentageAsSpecifiedOrAbsoluteLength","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/padding-bottom"},"padding-inline":{"syntax":"<\'padding-left\'>{1,2}","media":"visual","inherited":false,"animationType":"discrete","percentages":"logicalWidthOfContainingBlock","groups":["CSS Logical Properties"],"initial":"0","appliesto":"allElements","computed":"asLength","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/padding-inline"},"padding-inline-end":{"syntax":"<\'padding-left\'>","media":"visual","inherited":false,"animationType":"length","percentages":"logicalWidthOfContainingBlock","groups":["CSS Logical Properties"],"initial":"0","appliesto":"allElements","computed":"asLength","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/padding-inline-end"},"padding-inline-start":{"syntax":"<\'padding-left\'>","media":"visual","inherited":false,"animationType":"length","percentages":"logicalWidthOfContainingBlock","groups":["CSS Logical Properties"],"initial":"0","appliesto":"allElements","computed":"asLength","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/padding-inline-start"},"padding-left":{"syntax":"<length> | <percentage>","media":"visual","inherited":false,"animationType":"length","percentages":"referToWidthOfContainingBlock","groups":["CSS Box Model"],"initial":"0","appliesto":"allElementsExceptInternalTableDisplayTypes","computed":"percentageAsSpecifiedOrAbsoluteLength","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/padding-left"},"padding-right":{"syntax":"<length> | <percentage>","media":"visual","inherited":false,"animationType":"length","percentages":"referToWidthOfContainingBlock","groups":["CSS Box Model"],"initial":"0","appliesto":"allElementsExceptInternalTableDisplayTypes","computed":"percentageAsSpecifiedOrAbsoluteLength","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/padding-right"},"padding-top":{"syntax":"<length> | <percentage>","media":"visual","inherited":false,"animationType":"length","percentages":"referToWidthOfContainingBlock","groups":["CSS Box Model"],"initial":"0","appliesto":"allElementsExceptInternalTableDisplayTypes","computed":"percentageAsSpecifiedOrAbsoluteLength","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/padding-top"},"page-break-after":{"syntax":"auto | always | avoid | left | right | recto | verso","media":["visual","paged"],"inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Pages"],"initial":"auto","appliesto":"blockElementsInNormalFlow","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/page-break-after"},"page-break-before":{"syntax":"auto | always | avoid | left | right | recto | verso","media":["visual","paged"],"inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Pages"],"initial":"auto","appliesto":"blockElementsInNormalFlow","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/page-break-before"},"page-break-inside":{"syntax":"auto | avoid","media":["visual","paged"],"inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Pages"],"initial":"auto","appliesto":"blockElementsInNormalFlow","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/page-break-inside"},"paint-order":{"syntax":"normal | [ fill || stroke || markers ]","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Text"],"initial":"normal","appliesto":"textElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/paint-order"},"perspective":{"syntax":"none | <length>","media":"visual","inherited":false,"animationType":"length","percentages":"no","groups":["CSS Transforms"],"initial":"none","appliesto":"transformableElements","computed":"absoluteLengthOrNone","order":"uniqueOrder","stacking":true,"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/perspective"},"perspective-origin":{"syntax":"<position>","media":"visual","inherited":false,"animationType":"simpleListOfLpc","percentages":"referToSizeOfBoundingBox","groups":["CSS Transforms"],"initial":"50% 50%","appliesto":"transformableElements","computed":"forLengthAbsoluteValueOtherwisePercentage","order":"oneOrTwoValuesLengthAbsoluteKeywordsPercentages","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/perspective-origin"},"place-content":{"syntax":"<\'align-content\'> <\'justify-content\'>?","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Box Alignment"],"initial":"normal","appliesto":"multilineFlexContainers","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/place-content"},"place-items":{"syntax":"<\'align-items\'> <\'justify-items\'>?","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Box Alignment"],"initial":["align-items","justify-items"],"appliesto":"allElements","computed":["align-items","justify-items"],"order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/place-items"},"place-self":{"syntax":"<\'align-self\'> <\'justify-self\'>?","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Box Alignment"],"initial":["align-self","justify-self"],"appliesto":"blockLevelBoxesAndAbsolutelyPositionedBoxesAndGridItems","computed":["align-self","justify-self"],"order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/place-self"},"pointer-events":{"syntax":"auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Pointer Events"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/pointer-events"},"position":{"syntax":"static | relative | absolute | sticky | fixed","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Positioning"],"initial":"static","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","stacking":true,"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/position"},"quotes":{"syntax":"none | auto | [ <string> <string> ]+","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Generated Content"],"initial":"dependsOnUserAgent","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/quotes"},"resize":{"syntax":"none | both | horizontal | vertical | block | inline","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Basic User Interface"],"initial":"none","appliesto":"elementsWithOverflowNotVisibleAndReplacedElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/resize"},"right":{"syntax":"<length> | <percentage> | auto","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToWidthOfContainingBlock","groups":["CSS Positioning"],"initial":"auto","appliesto":"positionedElements","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/right"},"rotate":{"syntax":"none | <angle> | [ x | y | z | <number>{3} ] && <angle>","media":"visual","inherited":false,"animationType":"transform","percentages":"no","groups":["CSS Transforms"],"initial":"none","appliesto":"transformableElements","computed":"asSpecified","order":"perGrammar","stacking":true,"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/rotate"},"row-gap":{"syntax":"normal | <length-percentage>","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToDimensionOfContentArea","groups":["CSS Box Alignment"],"initial":"normal","appliesto":"multiColumnElementsFlexContainersGridContainers","computed":"asSpecifiedWithLengthsAbsoluteAndNormalComputingToZeroExceptMultiColumn","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/row-gap"},"ruby-align":{"syntax":"start | center | space-between | space-around","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Ruby"],"initial":"space-around","appliesto":"rubyBasesAnnotationsBaseAnnotationContainers","computed":"asSpecified","order":"uniqueOrder","status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/ruby-align"},"ruby-merge":{"syntax":"separate | collapse | auto","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Ruby"],"initial":"separate","appliesto":"rubyAnnotationsContainers","computed":"asSpecified","order":"uniqueOrder","status":"experimental"},"ruby-position":{"syntax":"over | under | inter-character","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Ruby"],"initial":"over","appliesto":"rubyAnnotationsContainers","computed":"asSpecified","order":"uniqueOrder","status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/ruby-position"},"scale":{"syntax":"none | <number>{1,3}","media":"visual","inherited":false,"animationType":"transform","percentages":"no","groups":["CSS Transforms"],"initial":"none","appliesto":"transformableElements","computed":"asSpecified","order":"perGrammar","stacking":true,"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scale"},"scrollbar-color":{"syntax":"auto | dark | light | <color>{2}","media":"visual","inherited":true,"animationType":"color","percentages":"no","groups":["CSS Scrollbars"],"initial":"auto","appliesto":"scrollingBoxes","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scrollbar-color"},"scrollbar-gutter":{"syntax":"auto | [ stable | always ] && both? && force?","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Overflow"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scrollbar-gutter"},"scrollbar-width":{"syntax":"auto | thin | none","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Scrollbars"],"initial":"auto","appliesto":"scrollingBoxes","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scrollbar-width"},"scroll-behavior":{"syntax":"auto | smooth","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSSOM View"],"initial":"auto","appliesto":"scrollingBoxes","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-behavior"},"scroll-margin":{"syntax":"<length>{1,4}","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"no","groups":["CSS Scroll Snap"],"initial":"0","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-margin"},"scroll-margin-block":{"syntax":"<length>{1,2}","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"no","groups":["CSS Scroll Snap"],"initial":"0","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block"},"scroll-margin-block-start":{"syntax":"<length>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"no","groups":["CSS Scroll Snap"],"initial":"0","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-start"},"scroll-margin-block-end":{"syntax":"<length>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"no","groups":["CSS Scroll Snap"],"initial":"0","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-end"},"scroll-margin-bottom":{"syntax":"<length>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"no","groups":["CSS Scroll Snap"],"initial":"0","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-bottom"},"scroll-margin-inline":{"syntax":"<length>{1,2}","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"no","groups":["CSS Scroll Snap"],"initial":"0","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline"},"scroll-margin-inline-start":{"syntax":"<length>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"no","groups":["CSS Scroll Snap"],"initial":"0","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-start"},"scroll-margin-inline-end":{"syntax":"<length>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"no","groups":["CSS Scroll Snap"],"initial":"0","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-end"},"scroll-margin-left":{"syntax":"<length>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"no","groups":["CSS Scroll Snap"],"initial":"0","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-left"},"scroll-margin-right":{"syntax":"<length>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"no","groups":["CSS Scroll Snap"],"initial":"0","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-right"},"scroll-margin-top":{"syntax":"<length>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"no","groups":["CSS Scroll Snap"],"initial":"0","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-top"},"scroll-padding":{"syntax":"[ auto | <length-percentage> ]{1,4}","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"relativeToTheScrollContainersScrollport","groups":["CSS Scroll Snap"],"initial":"auto","appliesto":"scrollContainers","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-padding"},"scroll-padding-block":{"syntax":"[ auto | <length-percentage> ]{1,2}","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"relativeToTheScrollContainersScrollport","groups":["CSS Scroll Snap"],"initial":"auto","appliesto":"scrollContainers","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block"},"scroll-padding-block-start":{"syntax":"auto | <length-percentage>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"relativeToTheScrollContainersScrollport","groups":["CSS Scroll Snap"],"initial":"auto","appliesto":"scrollContainers","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-start"},"scroll-padding-block-end":{"syntax":"auto | <length-percentage>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"relativeToTheScrollContainersScrollport","groups":["CSS Scroll Snap"],"initial":"auto","appliesto":"scrollContainers","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-end"},"scroll-padding-bottom":{"syntax":"auto | <length-percentage>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"relativeToTheScrollContainersScrollport","groups":["CSS Scroll Snap"],"initial":"auto","appliesto":"scrollContainers","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-bottom"},"scroll-padding-inline":{"syntax":"[ auto | <length-percentage> ]{1,2}","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"relativeToTheScrollContainersScrollport","groups":["CSS Scroll Snap"],"initial":"auto","appliesto":"scrollContainers","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline"},"scroll-padding-inline-start":{"syntax":"auto | <length-percentage>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"relativeToTheScrollContainersScrollport","groups":["CSS Scroll Snap"],"initial":"auto","appliesto":"scrollContainers","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-start"},"scroll-padding-inline-end":{"syntax":"auto | <length-percentage>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"relativeToTheScrollContainersScrollport","groups":["CSS Scroll Snap"],"initial":"auto","appliesto":"scrollContainers","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-end"},"scroll-padding-left":{"syntax":"auto | <length-percentage>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"relativeToTheScrollContainersScrollport","groups":["CSS Scroll Snap"],"initial":"auto","appliesto":"scrollContainers","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-left"},"scroll-padding-right":{"syntax":"auto | <length-percentage>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"relativeToTheScrollContainersScrollport","groups":["CSS Scroll Snap"],"initial":"auto","appliesto":"scrollContainers","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-right"},"scroll-padding-top":{"syntax":"auto | <length-percentage>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"relativeToTheScrollContainersScrollport","groups":["CSS Scroll Snap"],"initial":"auto","appliesto":"scrollContainers","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-top"},"scroll-snap-align":{"syntax":"[ none | start | end | center ]{1,2}","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Scroll Snap"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-align"},"scroll-snap-coordinate":{"syntax":"none | <position>#","media":"interactive","inherited":false,"animationType":"position","percentages":"referToBorderBox","groups":["CSS Scroll Snap"],"initial":"none","appliesto":"allElements","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"uniqueOrder","status":"obsolete","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-coordinate"},"scroll-snap-destination":{"syntax":"<position>","media":"interactive","inherited":false,"animationType":"position","percentages":"relativeToScrollContainerPaddingBoxAxis","groups":["CSS Scroll Snap"],"initial":"0px 0px","appliesto":"scrollContainers","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"uniqueOrder","status":"obsolete","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-destination"},"scroll-snap-points-x":{"syntax":"none | repeat( <length-percentage> )","media":"interactive","inherited":false,"animationType":"discrete","percentages":"relativeToScrollContainerPaddingBoxAxis","groups":["CSS Scroll Snap"],"initial":"none","appliesto":"scrollContainers","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"uniqueOrder","status":"obsolete","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-x"},"scroll-snap-points-y":{"syntax":"none | repeat( <length-percentage> )","media":"interactive","inherited":false,"animationType":"discrete","percentages":"relativeToScrollContainerPaddingBoxAxis","groups":["CSS Scroll Snap"],"initial":"none","appliesto":"scrollContainers","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"uniqueOrder","status":"obsolete","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-y"},"scroll-snap-stop":{"syntax":"normal | always","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Scroll Snap"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-stop"},"scroll-snap-type":{"syntax":"none | [ x | y | block | inline | both ] [ mandatory | proximity ]?","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Scroll Snap"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type"},"scroll-snap-type-x":{"syntax":"none | mandatory | proximity","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Scroll Snap"],"initial":"none","appliesto":"scrollContainers","computed":"asSpecified","order":"uniqueOrder","status":"obsolete","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-x"},"scroll-snap-type-y":{"syntax":"none | mandatory | proximity","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Scroll Snap"],"initial":"none","appliesto":"scrollContainers","computed":"asSpecified","order":"uniqueOrder","status":"obsolete","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-y"},"shape-image-threshold":{"syntax":"<alpha-value>","media":"visual","inherited":false,"animationType":"number","percentages":"no","groups":["CSS Shapes"],"initial":"0.0","appliesto":"floats","computed":"specifiedValueNumberClipped0To1","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/shape-image-threshold"},"shape-margin":{"syntax":"<length-percentage>","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToWidthOfContainingBlock","groups":["CSS Shapes"],"initial":"0","appliesto":"floats","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/shape-margin"},"shape-outside":{"syntax":"none | <shape-box> || <basic-shape> | <image>","media":"visual","inherited":false,"animationType":"basicShapeOtherwiseNo","percentages":"no","groups":["CSS Shapes"],"initial":"none","appliesto":"floats","computed":"asDefinedForBasicShapeWithAbsoluteURIOtherwiseAsSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/shape-outside"},"tab-size":{"syntax":"<integer> | <length>","media":"visual","inherited":true,"animationType":"length","percentages":"no","groups":["CSS Text"],"initial":"8","appliesto":"blockContainers","computed":"specifiedIntegerOrAbsoluteLength","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/tab-size"},"table-layout":{"syntax":"auto | fixed","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Table"],"initial":"auto","appliesto":"tableElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/table-layout"},"text-align":{"syntax":"start | end | left | right | center | justify | match-parent","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Text"],"initial":"startOrNamelessValueIfLTRRightIfRTL","appliesto":"blockContainers","computed":"asSpecifiedExceptMatchParent","order":"orderOfAppearance","alsoAppliesTo":["::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-align"},"text-align-last":{"syntax":"auto | start | end | left | right | center | justify","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Text"],"initial":"auto","appliesto":"blockContainers","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-align-last"},"text-combine-upright":{"syntax":"none | all | [ digits <integer>? ]","media":"visual","inherited":true,"animationType":"notAnimatable","percentages":"no","groups":["CSS Writing Modes"],"initial":"none","appliesto":"nonReplacedInlineElements","computed":"keywordPlusIntegerIfDigits","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-combine-upright"},"text-decoration":{"syntax":"<\'text-decoration-line\'> || <\'text-decoration-style\'> || <\'text-decoration-color\'> || <\'text-decoration-thickness\'>","media":"visual","inherited":false,"animationType":["text-decoration-color","text-decoration-style","text-decoration-line","text-decoration-thickness"],"percentages":"no","groups":["CSS Text Decoration"],"initial":["text-decoration-color","text-decoration-style","text-decoration-line"],"appliesto":"allElements","computed":["text-decoration-line","text-decoration-style","text-decoration-color","text-decoration-thickness"],"order":"orderOfAppearance","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-decoration"},"text-decoration-color":{"syntax":"<color>","media":"visual","inherited":false,"animationType":"color","percentages":"no","groups":["CSS Text Decoration"],"initial":"currentcolor","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-decoration-color"},"text-decoration-line":{"syntax":"none | [ underline || overline || line-through || blink ] | spelling-error | grammar-error","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Text Decoration"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-decoration-line"},"text-decoration-skip":{"syntax":"none | [ objects || [ spaces | [ leading-spaces || trailing-spaces ] ] || edges || box-decoration ]","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Text Decoration"],"initial":"objects","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip"},"text-decoration-skip-ink":{"syntax":"auto | all | none","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Text Decoration"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip-ink"},"text-decoration-style":{"syntax":"solid | double | dotted | dashed | wavy","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Text Decoration"],"initial":"solid","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-decoration-style"},"text-decoration-thickness":{"syntax":"auto | from-font | <length> | <percentage> ","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"referToElementFontSize","groups":["CSS Text Decoration"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-decoration-thickness"},"text-emphasis":{"syntax":"<\'text-emphasis-style\'> || <\'text-emphasis-color\'>","media":"visual","inherited":false,"animationType":["text-emphasis-color","text-emphasis-style"],"percentages":"no","groups":["CSS Text Decoration"],"initial":["text-emphasis-style","text-emphasis-color"],"appliesto":"allElements","computed":["text-emphasis-style","text-emphasis-color"],"order":"orderOfAppearance","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-emphasis"},"text-emphasis-color":{"syntax":"<color>","media":"visual","inherited":false,"animationType":"color","percentages":"no","groups":["CSS Text Decoration"],"initial":"currentcolor","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-color"},"text-emphasis-position":{"syntax":"[ over | under ] && [ right | left ]","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Text Decoration"],"initial":"over right","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-position"},"text-emphasis-style":{"syntax":"none | [ [ filled | open ] || [ dot | circle | double-circle | triangle | sesame ] ] | <string>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Text Decoration"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-style"},"text-indent":{"syntax":"<length-percentage> && hanging? && each-line?","media":"visual","inherited":true,"animationType":"lpc","percentages":"referToWidthOfContainingBlock","groups":["CSS Text"],"initial":"0","appliesto":"blockContainers","computed":"percentageOrAbsoluteLengthPlusKeywords","order":"lengthOrPercentageBeforeKeywords","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-indent"},"text-justify":{"syntax":"auto | inter-character | inter-word | none","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Text"],"initial":"auto","appliesto":"inlineLevelAndTableCellElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-justify"},"text-orientation":{"syntax":"mixed | upright | sideways","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Writing Modes"],"initial":"mixed","appliesto":"allElementsExceptTableRowGroupsRowsColumnGroupsAndColumns","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-orientation"},"text-overflow":{"syntax":"[ clip | ellipsis | <string> ]{1,2}","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Basic User Interface"],"initial":"clip","appliesto":"blockContainerElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-overflow"},"text-rendering":{"syntax":"auto | optimizeSpeed | optimizeLegibility | geometricPrecision","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Miscellaneous"],"initial":"auto","appliesto":"textElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-rendering"},"text-shadow":{"syntax":"none | <shadow-t>#","media":"visual","inherited":true,"animationType":"shadowList","percentages":"no","groups":["CSS Text Decoration"],"initial":"none","appliesto":"allElements","computed":"colorPlusThreeAbsoluteLengths","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-shadow"},"text-size-adjust":{"syntax":"none | auto | <percentage>","media":"visual","inherited":true,"animationType":"discrete","percentages":"referToSizeOfFont","groups":["CSS Text"],"initial":"autoForSmartphoneBrowsersSupportingInflation","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-size-adjust"},"text-transform":{"syntax":"none | capitalize | uppercase | lowercase | full-width | full-size-kana","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Text"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-transform"},"text-underline-offset":{"syntax":"auto | <length> | <percentage> ","media":"visual","inherited":true,"animationType":"byComputedValueType","percentages":"referToElementFontSize","groups":["CSS Text Decoration"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-underline-offset"},"text-underline-position":{"syntax":"auto | from-font | [ under || [ left | right ] ]","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Text Decoration"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-underline-position"},"top":{"syntax":"<length> | <percentage> | auto","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToContainingBlockHeight","groups":["CSS Positioning"],"initial":"auto","appliesto":"positionedElements","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/top"},"touch-action":{"syntax":"auto | none | [ [ pan-x | pan-left | pan-right ] || [ pan-y | pan-up | pan-down ] || pinch-zoom ] | manipulation","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Pointer Events"],"initial":"auto","appliesto":"allElementsExceptNonReplacedInlineElementsTableRowsColumnsRowColumnGroups","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/touch-action"},"transform":{"syntax":"none | <transform-list>","media":"visual","inherited":false,"animationType":"transform","percentages":"referToSizeOfBoundingBox","groups":["CSS Transforms"],"initial":"none","appliesto":"transformableElements","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"uniqueOrder","stacking":true,"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/transform"},"transform-box":{"syntax":"content-box | border-box | fill-box | stroke-box | view-box","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Transforms"],"initial":"view-box","appliesto":"transformableElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/transform-box"},"transform-origin":{"syntax":"[ <length-percentage> | left | center | right | top | bottom ] | [ [ <length-percentage> | left | center | right ] && [ <length-percentage> | top | center | bottom ] ] <length>?","media":"visual","inherited":false,"animationType":"simpleListOfLpc","percentages":"referToSizeOfBoundingBox","groups":["CSS Transforms"],"initial":"50% 50% 0","appliesto":"transformableElements","computed":"forLengthAbsoluteValueOtherwisePercentage","order":"oneOrTwoValuesLengthAbsoluteKeywordsPercentages","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/transform-origin"},"transform-style":{"syntax":"flat | preserve-3d","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Transforms"],"initial":"flat","appliesto":"transformableElements","computed":"asSpecified","order":"uniqueOrder","stacking":true,"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/transform-style"},"transition":{"syntax":"<single-transition>#","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Transitions"],"initial":["transition-delay","transition-duration","transition-property","transition-timing-function"],"appliesto":"allElementsAndPseudos","computed":["transition-delay","transition-duration","transition-property","transition-timing-function"],"order":"orderOfAppearance","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/transition"},"transition-delay":{"syntax":"<time>#","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Transitions"],"initial":"0s","appliesto":"allElementsAndPseudos","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/transition-delay"},"transition-duration":{"syntax":"<time>#","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Transitions"],"initial":"0s","appliesto":"allElementsAndPseudos","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/transition-duration"},"transition-property":{"syntax":"none | <single-transition-property>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Transitions"],"initial":"all","appliesto":"allElementsAndPseudos","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/transition-property"},"transition-timing-function":{"syntax":"<timing-function>#","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Transitions"],"initial":"ease","appliesto":"allElementsAndPseudos","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/transition-timing-function"},"translate":{"syntax":"none | <length-percentage> [ <length-percentage> <length>? ]?","media":"visual","inherited":false,"animationType":"transform","percentages":"referToSizeOfBoundingBox","groups":["CSS Transforms"],"initial":"none","appliesto":"transformableElements","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"perGrammar","stacking":true,"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/translate"},"unicode-bidi":{"syntax":"normal | embed | isolate | bidi-override | isolate-override | plaintext","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Writing Modes"],"initial":"normal","appliesto":"allElementsSomeValuesNoEffectOnNonInlineElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/unicode-bidi"},"user-select":{"syntax":"auto | text | none | contain | all","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Basic User Interface"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/user-select"},"vertical-align":{"syntax":"baseline | sub | super | text-top | text-bottom | middle | top | bottom | <percentage> | <length>","media":"visual","inherited":false,"animationType":"length","percentages":"referToLineHeight","groups":["CSS Table"],"initial":"baseline","appliesto":"inlineLevelAndTableCellElements","computed":"absoluteLengthOrKeyword","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/vertical-align"},"visibility":{"syntax":"visible | hidden | collapse","media":"visual","inherited":true,"animationType":"visibility","percentages":"no","groups":["CSS Box Model"],"initial":"visible","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/visibility"},"white-space":{"syntax":"normal | pre | nowrap | pre-wrap | pre-line | break-spaces","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Text"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/white-space"},"widows":{"syntax":"<integer>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fragmentation"],"initial":"2","appliesto":"blockContainerElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/widows"},"width":{"syntax":"auto | <length> | <percentage> | min-content | max-content | fit-content(<length-percentage>)","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToWidthOfContainingBlock","groups":["CSS Box Model"],"initial":"auto","appliesto":"allElementsButNonReplacedAndTableRows","computed":"percentageAutoOrAbsoluteLength","order":"lengthOrPercentageBeforeKeywordIfBothPresent","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/width"},"will-change":{"syntax":"auto | <animateable-feature>#","media":"all","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Will Change"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/will-change"},"word-break":{"syntax":"normal | break-all | keep-all | break-word","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Text"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/word-break"},"word-spacing":{"syntax":"normal | <length-percentage>","media":"visual","inherited":true,"animationType":"length","percentages":"referToWidthOfAffectedGlyph","groups":["CSS Text"],"initial":"normal","appliesto":"allElements","computed":"optimumMinAndMaxValueOfAbsoluteLengthPercentageOrNormal","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/word-spacing"},"word-wrap":{"syntax":"normal | break-word","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Text"],"initial":"normal","appliesto":"nonReplacedInlineElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/overflow-wrap"},"writing-mode":{"syntax":"horizontal-tb | vertical-rl | vertical-lr | sideways-rl | sideways-lr","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Writing Modes"],"initial":"horizontal-tb","appliesto":"allElementsExceptTableRowColumnGroupsTableRowsColumns","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/writing-mode"},"z-index":{"syntax":"auto | <integer>","media":"visual","inherited":false,"animationType":"integer","percentages":"no","groups":["CSS Positioning"],"initial":"auto","appliesto":"positionedElements","computed":"asSpecified","order":"uniqueOrder","stacking":true,"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/z-index"},"zoom":{"syntax":"normal | reset | <number> | <percentage>","media":"visual","inherited":false,"animationType":"integer","percentages":"no","groups":["Microsoft Extensions"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/zoom"}}')},99262:function(ue){"use strict";ue.exports=JSON.parse('{"absolute-size":{"syntax":"xx-small | x-small | small | medium | large | x-large | xx-large | xxx-large"},"alpha-value":{"syntax":"<number> | <percentage>"},"angle-percentage":{"syntax":"<angle> | <percentage>"},"angular-color-hint":{"syntax":"<angle-percentage>"},"angular-color-stop":{"syntax":"<color> && <color-stop-angle>?"},"angular-color-stop-list":{"syntax":"[ <angular-color-stop> [, <angular-color-hint>]? ]# , <angular-color-stop>"},"animateable-feature":{"syntax":"scroll-position | contents | <custom-ident>"},"attachment":{"syntax":"scroll | fixed | local"},"attr()":{"syntax":"attr( <attr-name> <type-or-unit>? [, <attr-fallback> ]? )"},"attr-matcher":{"syntax":"[ \'~\' | \'|\' | \'^\' | \'$\' | \'*\' ]? \'=\'"},"attr-modifier":{"syntax":"i | s"},"attribute-selector":{"syntax":"\'[\' <wq-name> \']\' | \'[\' <wq-name> <attr-matcher> [ <string-token> | <ident-token> ] <attr-modifier>? \']\'"},"auto-repeat":{"syntax":"repeat( [ auto-fill | auto-fit ] , [ <line-names>? <fixed-size> ]+ <line-names>? )"},"auto-track-list":{"syntax":"[ <line-names>? [ <fixed-size> | <fixed-repeat> ] ]* <line-names>? <auto-repeat>\\n[ <line-names>? [ <fixed-size> | <fixed-repeat> ] ]* <line-names>?"},"baseline-position":{"syntax":"[ first | last ]? baseline"},"basic-shape":{"syntax":"<inset()> | <circle()> | <ellipse()> | <polygon()> | <path()>"},"bg-image":{"syntax":"none | <image>"},"bg-layer":{"syntax":"<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <box> || <box>"},"bg-position":{"syntax":"[ [ left | center | right | top | bottom | <length-percentage> ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ] | [ center | [ left | right ] <length-percentage>? ] && [ center | [ top | bottom ] <length-percentage>? ] ]"},"bg-size":{"syntax":"[ <length-percentage> | auto ]{1,2} | cover | contain"},"blur()":{"syntax":"blur( <length> )"},"blend-mode":{"syntax":"normal | multiply | screen | overlay | darken | lighten | color-dodge | color-burn | hard-light | soft-light | difference | exclusion | hue | saturation | color | luminosity"},"box":{"syntax":"border-box | padding-box | content-box"},"brightness()":{"syntax":"brightness( <number-percentage> )"},"calc()":{"syntax":"calc( <calc-sum> )"},"calc-sum":{"syntax":"<calc-product> [ [ \'+\' | \'-\' ] <calc-product> ]*"},"calc-product":{"syntax":"<calc-value> [ \'*\' <calc-value> | \'/\' <number> ]*"},"calc-value":{"syntax":"<number> | <dimension> | <percentage> | ( <calc-sum> )"},"cf-final-image":{"syntax":"<image> | <color>"},"cf-mixing-image":{"syntax":"<percentage>? && <image>"},"circle()":{"syntax":"circle( [ <shape-radius> ]? [ at <position> ]? )"},"clamp()":{"syntax":"clamp( <calc-sum>#{3} )"},"class-selector":{"syntax":"\'.\' <ident-token>"},"clip-source":{"syntax":"<url>"},"color":{"syntax":"<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hex-color> | <named-color> | currentcolor | <deprecated-system-color>"},"color-stop":{"syntax":"<color-stop-length> | <color-stop-angle>"},"color-stop-angle":{"syntax":"<angle-percentage>{1,2}"},"color-stop-length":{"syntax":"<length-percentage>{1,2}"},"color-stop-list":{"syntax":"[ <linear-color-stop> [, <linear-color-hint>]? ]# , <linear-color-stop>"},"combinator":{"syntax":"\'>\' | \'+\' | \'~\' | [ \'||\' ]"},"common-lig-values":{"syntax":"[ common-ligatures | no-common-ligatures ]"},"compat-auto":{"syntax":"searchfield | textarea | push-button | slider-horizontal | checkbox | radio | square-button | menulist | listbox | meter | progress-bar | button"},"composite-style":{"syntax":"clear | copy | source-over | source-in | source-out | source-atop | destination-over | destination-in | destination-out | destination-atop | xor"},"compositing-operator":{"syntax":"add | subtract | intersect | exclude"},"compound-selector":{"syntax":"[ <type-selector>? <subclass-selector>* [ <pseudo-element-selector> <pseudo-class-selector>* ]* ]!"},"compound-selector-list":{"syntax":"<compound-selector>#"},"complex-selector":{"syntax":"<compound-selector> [ <combinator>? <compound-selector> ]*"},"complex-selector-list":{"syntax":"<complex-selector>#"},"conic-gradient()":{"syntax":"conic-gradient( [ from <angle> ]? [ at <position> ]?, <angular-color-stop-list> )"},"contextual-alt-values":{"syntax":"[ contextual | no-contextual ]"},"content-distribution":{"syntax":"space-between | space-around | space-evenly | stretch"},"content-list":{"syntax":"[ <string> | contents | <image> | <quote> | <target> | <leader()> ]+"},"content-position":{"syntax":"center | start | end | flex-start | flex-end"},"content-replacement":{"syntax":"<image>"},"contrast()":{"syntax":"contrast( [ <number-percentage> ] )"},"counter()":{"syntax":"counter( <custom-ident>, <counter-style>? )"},"counter-style":{"syntax":"<counter-style-name> | symbols()"},"counter-style-name":{"syntax":"<custom-ident>"},"counters()":{"syntax":"counters( <custom-ident>, <string>, <counter-style>? )"},"cross-fade()":{"syntax":"cross-fade( <cf-mixing-image> , <cf-final-image>? )"},"cubic-bezier-timing-function":{"syntax":"ease | ease-in | ease-out | ease-in-out | cubic-bezier(<number [0,1]>, <number>, <number [0,1]>, <number>)"},"deprecated-system-color":{"syntax":"ActiveBorder | ActiveCaption | AppWorkspace | Background | ButtonFace | ButtonHighlight | ButtonShadow | ButtonText | CaptionText | GrayText | Highlight | HighlightText | InactiveBorder | InactiveCaption | InactiveCaptionText | InfoBackground | InfoText | Menu | MenuText | Scrollbar | ThreeDDarkShadow | ThreeDFace | ThreeDHighlight | ThreeDLightShadow | ThreeDShadow | Window | WindowFrame | WindowText"},"discretionary-lig-values":{"syntax":"[ discretionary-ligatures | no-discretionary-ligatures ]"},"display-box":{"syntax":"contents | none"},"display-inside":{"syntax":"flow | flow-root | table | flex | grid | ruby"},"display-internal":{"syntax":"table-row-group | table-header-group | table-footer-group | table-row | table-cell | table-column-group | table-column | table-caption | ruby-base | ruby-text | ruby-base-container | ruby-text-container"},"display-legacy":{"syntax":"inline-block | inline-list-item | inline-table | inline-flex | inline-grid"},"display-listitem":{"syntax":"<display-outside>? && [ flow | flow-root ]? && list-item"},"display-outside":{"syntax":"block | inline | run-in"},"drop-shadow()":{"syntax":"drop-shadow( <length>{2,3} <color>? )"},"east-asian-variant-values":{"syntax":"[ jis78 | jis83 | jis90 | jis04 | simplified | traditional ]"},"east-asian-width-values":{"syntax":"[ full-width | proportional-width ]"},"element()":{"syntax":"element( <id-selector> )"},"ellipse()":{"syntax":"ellipse( [ <shape-radius>{2} ]? [ at <position> ]? )"},"ending-shape":{"syntax":"circle | ellipse"},"env()":{"syntax":"env( <custom-ident> , <declaration-value>? )"},"explicit-track-list":{"syntax":"[ <line-names>? <track-size> ]+ <line-names>?"},"family-name":{"syntax":"<string> | <custom-ident>+"},"feature-tag-value":{"syntax":"<string> [ <integer> | on | off ]?"},"feature-type":{"syntax":"@stylistic | @historical-forms | @styleset | @character-variant | @swash | @ornaments | @annotation"},"feature-value-block":{"syntax":"<feature-type> \'{\' <feature-value-declaration-list> \'}\'"},"feature-value-block-list":{"syntax":"<feature-value-block>+"},"feature-value-declaration":{"syntax":"<custom-ident>: <integer>+;"},"feature-value-declaration-list":{"syntax":"<feature-value-declaration>"},"feature-value-name":{"syntax":"<custom-ident>"},"fill-rule":{"syntax":"nonzero | evenodd"},"filter-function":{"syntax":"<blur()> | <brightness()> | <contrast()> | <drop-shadow()> | <grayscale()> | <hue-rotate()> | <invert()> | <opacity()> | <saturate()> | <sepia()>"},"filter-function-list":{"syntax":"[ <filter-function> | <url> ]+"},"final-bg-layer":{"syntax":"<\'background-color\'> || <bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <box> || <box>"},"fit-content()":{"syntax":"fit-content( [ <length> | <percentage> ] )"},"fixed-breadth":{"syntax":"<length-percentage>"},"fixed-repeat":{"syntax":"repeat( [ <positive-integer> ] , [ <line-names>? <fixed-size> ]+ <line-names>? )"},"fixed-size":{"syntax":"<fixed-breadth> | minmax( <fixed-breadth> , <track-breadth> ) | minmax( <inflexible-breadth> , <fixed-breadth> )"},"font-stretch-absolute":{"syntax":"normal | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | <percentage>"},"font-variant-css21":{"syntax":"[ normal | small-caps ]"},"font-weight-absolute":{"syntax":"normal | bold | <number [1,1000]>"},"frequency-percentage":{"syntax":"<frequency> | <percentage>"},"general-enclosed":{"syntax":"[ <function-token> <any-value> ) ] | ( <ident> <any-value> )"},"generic-family":{"syntax":"serif | sans-serif | cursive | fantasy | monospace"},"generic-name":{"syntax":"serif | sans-serif | cursive | fantasy | monospace"},"geometry-box":{"syntax":"<shape-box> | fill-box | stroke-box | view-box"},"gradient":{"syntax":"<linear-gradient()> | <repeating-linear-gradient()> | <radial-gradient()> | <repeating-radial-gradient()> | <conic-gradient()>"},"grayscale()":{"syntax":"grayscale( <number-percentage> )"},"grid-line":{"syntax":"auto | <custom-ident> | [ <integer> && <custom-ident>? ] | [ span && [ <integer> || <custom-ident> ] ]"},"historical-lig-values":{"syntax":"[ historical-ligatures | no-historical-ligatures ]"},"hsl()":{"syntax":"hsl( <hue> <percentage> <percentage> [ / <alpha-value> ]? ) | hsl( <hue>, <percentage>, <percentage>, <alpha-value>? )"},"hsla()":{"syntax":"hsla( <hue> <percentage> <percentage> [ / <alpha-value> ]? ) | hsla( <hue>, <percentage>, <percentage>, <alpha-value>? )"},"hue":{"syntax":"<number> | <angle>"},"hue-rotate()":{"syntax":"hue-rotate( <angle> )"},"id-selector":{"syntax":"<hash-token>"},"image":{"syntax":"<url> | <image()> | <image-set()> | <element()> | <paint()> | <cross-fade()> | <gradient>"},"image()":{"syntax":"image( <image-tags>? [ <image-src>? , <color>? ]! )"},"image-set()":{"syntax":"image-set( <image-set-option># )"},"image-set-option":{"syntax":"[ <image> | <string> ] <resolution>"},"image-src":{"syntax":"<url> | <string>"},"image-tags":{"syntax":"ltr | rtl"},"inflexible-breadth":{"syntax":"<length> | <percentage> | min-content | max-content | auto"},"inset()":{"syntax":"inset( <length-percentage>{1,4} [ round <\'border-radius\'> ]? )"},"invert()":{"syntax":"invert( <number-percentage> )"},"keyframes-name":{"syntax":"<custom-ident> | <string>"},"keyframe-block":{"syntax":"<keyframe-selector># {\\n  <declaration-list>\\n}"},"keyframe-block-list":{"syntax":"<keyframe-block>+"},"keyframe-selector":{"syntax":"from | to | <percentage>"},"leader()":{"syntax":"leader( <leader-type> )"},"leader-type":{"syntax":"dotted | solid | space | <string>"},"length-percentage":{"syntax":"<length> | <percentage>"},"line-names":{"syntax":"\'[\' <custom-ident>* \']\'"},"line-name-list":{"syntax":"[ <line-names> | <name-repeat> ]+"},"line-style":{"syntax":"none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset"},"line-width":{"syntax":"<length> | thin | medium | thick"},"linear-color-hint":{"syntax":"<length-percentage>"},"linear-color-stop":{"syntax":"<color> <color-stop-length>?"},"linear-gradient()":{"syntax":"linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> )"},"mask-layer":{"syntax":"<mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || <geometry-box> || [ <geometry-box> | no-clip ] || <compositing-operator> || <masking-mode>"},"mask-position":{"syntax":"[ <length-percentage> | left | center | right ] [ <length-percentage> | top | center | bottom ]?"},"mask-reference":{"syntax":"none | <image> | <mask-source>"},"mask-source":{"syntax":"<url>"},"masking-mode":{"syntax":"alpha | luminance | match-source"},"matrix()":{"syntax":"matrix( <number>#{6} )"},"matrix3d()":{"syntax":"matrix3d( <number>#{16} )"},"max()":{"syntax":"max( <calc-sum># )"},"media-and":{"syntax":"<media-in-parens> [ and <media-in-parens> ]+"},"media-condition":{"syntax":"<media-not> | <media-and> | <media-or> | <media-in-parens>"},"media-condition-without-or":{"syntax":"<media-not> | <media-and> | <media-in-parens>"},"media-feature":{"syntax":"( [ <mf-plain> | <mf-boolean> | <mf-range> ] )"},"media-in-parens":{"syntax":"( <media-condition> ) | <media-feature> | <general-enclosed>"},"media-not":{"syntax":"not <media-in-parens>"},"media-or":{"syntax":"<media-in-parens> [ or <media-in-parens> ]+"},"media-query":{"syntax":"<media-condition> | [ not | only ]? <media-type> [ and <media-condition-without-or> ]?"},"media-query-list":{"syntax":"<media-query>#"},"media-type":{"syntax":"<ident>"},"mf-boolean":{"syntax":"<mf-name>"},"mf-name":{"syntax":"<ident>"},"mf-plain":{"syntax":"<mf-name> : <mf-value>"},"mf-range":{"syntax":"<mf-name> [ \'<\' | \'>\' ]? \'=\'? <mf-value>\\n| <mf-value> [ \'<\' | \'>\' ]? \'=\'? <mf-name>\\n| <mf-value> \'<\' \'=\'? <mf-name> \'<\' \'=\'? <mf-value>\\n| <mf-value> \'>\' \'=\'? <mf-name> \'>\' \'=\'? <mf-value>"},"mf-value":{"syntax":"<number> | <dimension> | <ident> | <ratio>"},"min()":{"syntax":"min( <calc-sum># )"},"minmax()":{"syntax":"minmax( [ <length> | <percentage> | min-content | max-content | auto ] , [ <length> | <percentage> | <flex> | min-content | max-content | auto ] )"},"named-color":{"syntax":"transparent | aliceblue | antiquewhite | aqua | aquamarine | azure | beige | bisque | black | blanchedalmond | blue | blueviolet | brown | burlywood | cadetblue | chartreuse | chocolate | coral | cornflowerblue | cornsilk | crimson | cyan | darkblue | darkcyan | darkgoldenrod | darkgray | darkgreen | darkgrey | darkkhaki | darkmagenta | darkolivegreen | darkorange | darkorchid | darkred | darksalmon | darkseagreen | darkslateblue | darkslategray | darkslategrey | darkturquoise | darkviolet | deeppink | deepskyblue | dimgray | dimgrey | dodgerblue | firebrick | floralwhite | forestgreen | fuchsia | gainsboro | ghostwhite | gold | goldenrod | gray | green | greenyellow | grey | honeydew | hotpink | indianred | indigo | ivory | khaki | lavender | lavenderblush | lawngreen | lemonchiffon | lightblue | lightcoral | lightcyan | lightgoldenrodyellow | lightgray | lightgreen | lightgrey | lightpink | lightsalmon | lightseagreen | lightskyblue | lightslategray | lightslategrey | lightsteelblue | lightyellow | lime | limegreen | linen | magenta | maroon | mediumaquamarine | mediumblue | mediumorchid | mediumpurple | mediumseagreen | mediumslateblue | mediumspringgreen | mediumturquoise | mediumvioletred | midnightblue | mintcream | mistyrose | moccasin | navajowhite | navy | oldlace | olive | olivedrab | orange | orangered | orchid | palegoldenrod | palegreen | paleturquoise | palevioletred | papayawhip | peachpuff | peru | pink | plum | powderblue | purple | rebeccapurple | red | rosybrown | royalblue | saddlebrown | salmon | sandybrown | seagreen | seashell | sienna | silver | skyblue | slateblue | slategray | slategrey | snow | springgreen | steelblue | tan | teal | thistle | tomato | turquoise | violet | wheat | white | whitesmoke | yellow | yellowgreen"},"namespace-prefix":{"syntax":"<ident>"},"ns-prefix":{"syntax":"[ <ident-token> | \'*\' ]? \'|\'"},"number-percentage":{"syntax":"<number> | <percentage>"},"numeric-figure-values":{"syntax":"[ lining-nums | oldstyle-nums ]"},"numeric-fraction-values":{"syntax":"[ diagonal-fractions | stacked-fractions ]"},"numeric-spacing-values":{"syntax":"[ proportional-nums | tabular-nums ]"},"nth":{"syntax":"<an-plus-b> | even | odd"},"opacity()":{"syntax":"opacity( [ <number-percentage> ] )"},"overflow-position":{"syntax":"unsafe | safe"},"outline-radius":{"syntax":"<length> | <percentage>"},"page-body":{"syntax":"<declaration>? [ ; <page-body> ]? | <page-margin-box> <page-body>"},"page-margin-box":{"syntax":"<page-margin-box-type> \'{\' <declaration-list> \'}\'"},"page-margin-box-type":{"syntax":"@top-left-corner | @top-left | @top-center | @top-right | @top-right-corner | @bottom-left-corner | @bottom-left | @bottom-center | @bottom-right | @bottom-right-corner | @left-top | @left-middle | @left-bottom | @right-top | @right-middle | @right-bottom"},"page-selector-list":{"syntax":"[ <page-selector># ]?"},"page-selector":{"syntax":"<pseudo-page>+ | <ident> <pseudo-page>*"},"path()":{"syntax":"path( [ <fill-rule>, ]? <string> )"},"paint()":{"syntax":"paint( <ident>, <declaration-value>? )"},"perspective()":{"syntax":"perspective( <length> )"},"polygon()":{"syntax":"polygon( <fill-rule>? , [ <length-percentage> <length-percentage> ]# )"},"position":{"syntax":"[ [ left | center | right ] || [ top | center | bottom ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ]? | [ [ left | right ] <length-percentage> ] && [ [ top | bottom ] <length-percentage> ] ]"},"pseudo-class-selector":{"syntax":"\':\' <ident-token> | \':\' <function-token> <any-value> \')\'"},"pseudo-element-selector":{"syntax":"\':\' <pseudo-class-selector>"},"pseudo-page":{"syntax":": [ left | right | first | blank ]"},"quote":{"syntax":"open-quote | close-quote | no-open-quote | no-close-quote"},"radial-gradient()":{"syntax":"radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> )"},"relative-selector":{"syntax":"<combinator>? <complex-selector>"},"relative-selector-list":{"syntax":"<relative-selector>#"},"relative-size":{"syntax":"larger | smaller"},"repeat-style":{"syntax":"repeat-x | repeat-y | [ repeat | space | round | no-repeat ]{1,2}"},"repeating-linear-gradient()":{"syntax":"repeating-linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> )"},"repeating-radial-gradient()":{"syntax":"repeating-radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> )"},"rgb()":{"syntax":"rgb( <percentage>{3} [ / <alpha-value> ]? ) | rgb( <number>{3} [ / <alpha-value> ]? ) | rgb( <percentage>#{3} , <alpha-value>? ) | rgb( <number>#{3} , <alpha-value>? )"},"rgba()":{"syntax":"rgba( <percentage>{3} [ / <alpha-value> ]? ) | rgba( <number>{3} [ / <alpha-value> ]? ) | rgba( <percentage>#{3} , <alpha-value>? ) | rgba( <number>#{3} , <alpha-value>? )"},"rotate()":{"syntax":"rotate( [ <angle> | <zero> ] )"},"rotate3d()":{"syntax":"rotate3d( <number> , <number> , <number> , [ <angle> | <zero> ] )"},"rotateX()":{"syntax":"rotateX( [ <angle> | <zero> ] )"},"rotateY()":{"syntax":"rotateY( [ <angle> | <zero> ] )"},"rotateZ()":{"syntax":"rotateZ( [ <angle> | <zero> ] )"},"saturate()":{"syntax":"saturate( <number-percentage> )"},"scale()":{"syntax":"scale( <number> , <number>? )"},"scale3d()":{"syntax":"scale3d( <number> , <number> , <number> )"},"scaleX()":{"syntax":"scaleX( <number> )"},"scaleY()":{"syntax":"scaleY( <number> )"},"scaleZ()":{"syntax":"scaleZ( <number> )"},"self-position":{"syntax":"center | start | end | self-start | self-end | flex-start | flex-end"},"shape-radius":{"syntax":"<length-percentage> | closest-side | farthest-side"},"skew()":{"syntax":"skew( [ <angle> | <zero> ] , [ <angle> | <zero> ]? )"},"skewX()":{"syntax":"skewX( [ <angle> | <zero> ] )"},"skewY()":{"syntax":"skewY( [ <angle> | <zero> ] )"},"sepia()":{"syntax":"sepia( <number-percentage> )"},"shadow":{"syntax":"inset? && <length>{2,4} && <color>?"},"shadow-t":{"syntax":"[ <length>{2,3} && <color>? ]"},"shape":{"syntax":"rect(<top>, <right>, <bottom>, <left>)"},"shape-box":{"syntax":"<box> | margin-box"},"side-or-corner":{"syntax":"[ left | right ] || [ top | bottom ]"},"single-animation":{"syntax":"<time> || <timing-function> || <time> || <single-animation-iteration-count> || <single-animation-direction> || <single-animation-fill-mode> || <single-animation-play-state> || [ none | <keyframes-name> ]"},"single-animation-direction":{"syntax":"normal | reverse | alternate | alternate-reverse"},"single-animation-fill-mode":{"syntax":"none | forwards | backwards | both"},"single-animation-iteration-count":{"syntax":"infinite | <number>"},"single-animation-play-state":{"syntax":"running | paused"},"single-transition":{"syntax":"[ none | <single-transition-property> ] || <time> || <timing-function> || <time>"},"single-transition-property":{"syntax":"all | <custom-ident>"},"size":{"syntax":"closest-side | farthest-side | closest-corner | farthest-corner | <length> | <length-percentage>{2}"},"step-position":{"syntax":"jump-start | jump-end | jump-none | jump-both | start | end"},"step-timing-function":{"syntax":"step-start | step-end | steps(<integer>[, <step-position>]?)"},"subclass-selector":{"syntax":"<id-selector> | <class-selector> | <attribute-selector> | <pseudo-class-selector>"},"supports-condition":{"syntax":"not <supports-in-parens> | <supports-in-parens> [ and <supports-in-parens> ]* | <supports-in-parens> [ or <supports-in-parens> ]*"},"supports-in-parens":{"syntax":"( <supports-condition> ) | <supports-feature> | <general-enclosed>"},"supports-feature":{"syntax":"<supports-decl> | <supports-selector-fn>"},"supports-decl":{"syntax":"( <declaration> )"},"supports-selector-fn":{"syntax":"selector( <complex-selector> )"},"symbol":{"syntax":"<string> | <image> | <custom-ident>"},"target":{"syntax":"<target-counter()> | <target-counters()> | <target-text()>"},"target-counter()":{"syntax":"target-counter( [ <string> | <url> ] , <custom-ident> , <counter-style>? )"},"target-counters()":{"syntax":"target-counters( [ <string> | <url> ] , <custom-ident> , <string> , <counter-style>? )"},"target-text()":{"syntax":"target-text( [ <string> | <url> ] , [ content | before | after | first-letter ]? )"},"time-percentage":{"syntax":"<time> | <percentage>"},"timing-function":{"syntax":"linear | <cubic-bezier-timing-function> | <step-timing-function>"},"track-breadth":{"syntax":"<length-percentage> | <flex> | min-content | max-content | auto"},"track-list":{"syntax":"[ <line-names>? [ <track-size> | <track-repeat> ] ]+ <line-names>?"},"track-repeat":{"syntax":"repeat( [ <positive-integer> ] , [ <line-names>? <track-size> ]+ <line-names>? )"},"track-size":{"syntax":"<track-breadth> | minmax( <inflexible-breadth> , <track-breadth> ) | fit-content( [ <length> | <percentage> ] )"},"transform-function":{"syntax":"<matrix()> | <translate()> | <translateX()> | <translateY()> | <scale()> | <scaleX()> | <scaleY()> | <rotate()> | <skew()> | <skewX()> | <skewY()> | <matrix3d()> | <translate3d()> | <translateZ()> | <scale3d()> | <scaleZ()> | <rotate3d()> | <rotateX()> | <rotateY()> | <rotateZ()> | <perspective()>"},"transform-list":{"syntax":"<transform-function>+"},"translate()":{"syntax":"translate( <length-percentage> , <length-percentage>? )"},"translate3d()":{"syntax":"translate3d( <length-percentage> , <length-percentage> , <length> )"},"translateX()":{"syntax":"translateX( <length-percentage> )"},"translateY()":{"syntax":"translateY( <length-percentage> )"},"translateZ()":{"syntax":"translateZ( <length> )"},"type-or-unit":{"syntax":"string | color | url | integer | number | length | angle | time | frequency | cap | ch | em | ex | ic | lh | rlh | rem | vb | vi | vw | vh | vmin | vmax | mm | Q | cm | in | pt | pc | px | deg | grad | rad | turn | ms | s | Hz | kHz | %"},"type-selector":{"syntax":"<wq-name> | <ns-prefix>? \'*\'"},"var()":{"syntax":"var( <custom-property-name> , <declaration-value>? )"},"viewport-length":{"syntax":"auto | <length-percentage>"},"wq-name":{"syntax":"<ns-prefix>? <ident-token>"}}')},4147:function(ue){"use strict";ue.exports={i8:"2.2.27"}}},function(ue){ue(ue.s=33073)}]);
\ No newline at end of file
diff --git a/gns3server/static/web-ui/main.6d44bf65eea93810ba85.js b/gns3server/static/web-ui/main.6d44bf65eea93810ba85.js
deleted file mode 100644
index a717cbc6..00000000
--- a/gns3server/static/web-ui/main.6d44bf65eea93810ba85.js
+++ /dev/null
@@ -1 +0,0 @@
-(self.webpackChunkgns3_web_ui=self.webpackChunkgns3_web_ui||[]).push([[179],{98255:function(ue){function q(f){return Promise.resolve().then(function(){var U=new Error("Cannot find module '"+f+"'");throw U.code="MODULE_NOT_FOUND",U})}q.keys=function(){return[]},q.resolve=q,q.id=98255,ue.exports=q},82908:function(ue){ue.exports=function(f,U){(null==U||U>f.length)&&(U=f.length);for(var B=0,V=new Array(U);B<U;B++)V[B]=f[B];return V},ue.exports.default=ue.exports,ue.exports.__esModule=!0},36457:function(ue){ue.exports=function(f){if(Array.isArray(f))return f},ue.exports.default=ue.exports,ue.exports.__esModule=!0},35036:function(ue){ue.exports=function(f,U){var B=null==f?null:"undefined"!=typeof Symbol&&f[Symbol.iterator]||f["@@iterator"];if(null!=B){var R,C,V=[],Z=!0,T=!1;try{for(B=B.call(f);!(Z=(R=B.next()).done)&&(V.push(R.value),!U||V.length!==U);Z=!0);}catch(v){T=!0,C=v}finally{try{!Z&&null!=B.return&&B.return()}finally{if(T)throw C}}return V}},ue.exports.default=ue.exports,ue.exports.__esModule=!0},13969:function(ue){ue.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},ue.exports.default=ue.exports,ue.exports.__esModule=!0},6326:function(ue,q,f){var U=f(36457),B=f(35036),V=f(54850),Z=f(13969);ue.exports=function(R,C){return U(R)||B(R,C)||V(R,C)||Z()},ue.exports.default=ue.exports,ue.exports.__esModule=!0},54850:function(ue,q,f){var U=f(82908);ue.exports=function(V,Z){if(V){if("string"==typeof V)return U(V,Z);var T=Object.prototype.toString.call(V).slice(8,-1);if("Object"===T&&V.constructor&&(T=V.constructor.name),"Map"===T||"Set"===T)return Array.from(V);if("Arguments"===T||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return U(V,Z)}},ue.exports.default=ue.exports,ue.exports.__esModule=!0},26552:function(ue,q,f){ue.exports=f(55590)},61855:function(ue,q,f){"use strict";f.d(q,{ZT:function(){return B},mG:function(){return v},Jh:function(){return P},ev:function(){return N}});var U=function(te,ae){return(U=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(se,ce){se.__proto__=ce}||function(se,ce){for(var le in ce)Object.prototype.hasOwnProperty.call(ce,le)&&(se[le]=ce[le])})(te,ae)};function B(te,ae){if("function"!=typeof ae&&null!==ae)throw new TypeError("Class extends value "+String(ae)+" is not a constructor or null");function se(){this.constructor=te}U(te,ae),te.prototype=null===ae?Object.create(ae):(se.prototype=ae.prototype,new se)}function v(te,ae,se,ce){return new(se||(se=Promise))(function(oe,Ae){function be(_t){try{qe(ce.next(_t))}catch(yt){Ae(yt)}}function it(_t){try{qe(ce.throw(_t))}catch(yt){Ae(yt)}}function qe(_t){_t.done?oe(_t.value):function(oe){return oe instanceof se?oe:new se(function(Ae){Ae(oe)})}(_t.value).then(be,it)}qe((ce=ce.apply(te,ae||[])).next())})}function P(te,ae){var ce,le,oe,Ae,se={label:0,sent:function(){if(1&oe[0])throw oe[1];return oe[1]},trys:[],ops:[]};return Ae={next:be(0),throw:be(1),return:be(2)},"function"==typeof Symbol&&(Ae[Symbol.iterator]=function(){return this}),Ae;function be(qe){return function(_t){return function(qe){if(ce)throw new TypeError("Generator is already executing.");for(;se;)try{if(ce=1,le&&(oe=2&qe[0]?le.return:qe[0]?le.throw||((oe=le.return)&&oe.call(le),0):le.next)&&!(oe=oe.call(le,qe[1])).done)return oe;switch(le=0,oe&&(qe=[2&qe[0],oe.value]),qe[0]){case 0:case 1:oe=qe;break;case 4:return se.label++,{value:qe[1],done:!1};case 5:se.label++,le=qe[1],qe=[0];continue;case 7:qe=se.ops.pop(),se.trys.pop();continue;default:if(!(oe=(oe=se.trys).length>0&&oe[oe.length-1])&&(6===qe[0]||2===qe[0])){se=0;continue}if(3===qe[0]&&(!oe||qe[1]>oe[0]&&qe[1]<oe[3])){se.label=qe[1];break}if(6===qe[0]&&se.label<oe[1]){se.label=oe[1],oe=qe;break}if(oe&&se.label<oe[2]){se.label=oe[2],se.ops.push(qe);break}oe[2]&&se.ops.pop(),se.trys.pop();continue}qe=ae.call(te,se)}catch(_t){qe=[6,_t],le=0}finally{ce=oe=0}if(5&qe[0])throw qe[1];return{value:qe[0]?qe[1]:void 0,done:!0}}([qe,_t])}}}function N(te,ae,se){if(se||2===arguments.length)for(var oe,ce=0,le=ae.length;ce<le;ce++)(oe||!(ce in ae))&&(oe||(oe=Array.prototype.slice.call(ae,0,ce)),oe[ce]=ae[ce]);return te.concat(oe||Array.prototype.slice.call(ae))}},739:function(ue,q,f){"use strict";f.d(q,{l3:function(){return T},_j:function(){return V},LC:function(){return Z},ZN:function(){return O},jt:function(){return C},pV:function(){return k},F4:function(){return A},IO:function(){return E},vP:function(){return P},SB:function(){return M},oB:function(){return D},eR:function(){return _},X$:function(){return R},ZE:function(){return L},k1:function(){return j}});var U=f(14105),B=f(18967),V=function K(){(0,B.Z)(this,K)},Z=function K(){(0,B.Z)(this,K)},T="*";function R(K,z){return{type:7,name:K,definitions:z,options:{}}}function C(K){var z=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:z,timings:K}}function P(K){var z=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:K,options:z}}function D(K){return{type:6,styles:K,offset:null}}function M(K,z,J){return{type:0,name:K,styles:z,options:J}}function A(K){return{type:5,steps:K}}function _(K,z){var J=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:K,animation:z,options:J}}function k(){var K=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:K}}function E(K,z){var J=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:K,animation:z,options:J}}function S(K){Promise.resolve(null).then(K)}var O=function(){function K(){var z=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,J=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;(0,B.Z)(this,K),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=z+J}return(0,U.Z)(K,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(J){return J()}),this._onDoneFns=[])}},{key:"onStart",value:function(J){this._onStartFns.push(J)}},{key:"onDone",value:function(J){this._onDoneFns.push(J)}},{key:"onDestroy",value:function(J){this._onDestroyFns.push(J)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var J=this;S(function(){return J._onFinish()})}},{key:"_onStart",value:function(){this._onStartFns.forEach(function(J){return J()}),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(J){return J()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this._started=!1}},{key:"setPosition",value:function(J){this._position=this.totalTime?J*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(J){var ie="start"==J?this._onStartFns:this._onDoneFns;ie.forEach(function(te){return te()}),ie.length=0}}]),K}(),L=function(){function K(z){var J=this;(0,B.Z)(this,K),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=z;var ie=0,te=0,ae=0,se=this.players.length;0==se?S(function(){return J._onFinish()}):this.players.forEach(function(ce){ce.onDone(function(){++ie==se&&J._onFinish()}),ce.onDestroy(function(){++te==se&&J._onDestroy()}),ce.onStart(function(){++ae==se&&J._onStart()})}),this.totalTime=this.players.reduce(function(ce,le){return Math.max(ce,le.totalTime)},0)}return(0,U.Z)(K,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(J){return J()}),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach(function(J){return J.init()})}},{key:"onStart",value:function(J){this._onStartFns.push(J)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(J){return J()}),this._onStartFns=[])}},{key:"onDone",value:function(J){this._onDoneFns.push(J)}},{key:"onDestroy",value:function(J){this._onDestroyFns.push(J)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(J){return J.play()})}},{key:"pause",value:function(){this.players.forEach(function(J){return J.pause()})}},{key:"restart",value:function(){this.players.forEach(function(J){return J.restart()})}},{key:"finish",value:function(){this._onFinish(),this.players.forEach(function(J){return J.finish()})}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(J){return J.destroy()}),this._onDestroyFns.forEach(function(J){return J()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach(function(J){return J.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(J){var ie=J*this.totalTime;this.players.forEach(function(te){var ae=te.totalTime?Math.min(1,ie/te.totalTime):1;te.setPosition(ae)})}},{key:"getPosition",value:function(){var J=this.players.reduce(function(ie,te){return null===ie||te.totalTime>ie.totalTime?te:ie},null);return null!=J?J.getPosition():0}},{key:"beforeDestroy",value:function(){this.players.forEach(function(J){J.beforeDestroy&&J.beforeDestroy()})}},{key:"triggerCallback",value:function(J){var ie="start"==J?this._onStartFns:this._onDoneFns;ie.forEach(function(te){return te()}),ie.length=0}}]),K}(),j="!"},6517:function(ue,q,f){"use strict";f.d(q,{rt:function(){return rt},s1:function(){return xe},$s:function(){return qe},kH:function(){return cr},Em:function(){return Oe},tE:function(){return tr},qV:function(){return Nn},qm:function(){return Pe},Kd:function(){return Pn},X6:function(){return we},yG:function(){return ct}});var U=f(27235),B=f(20901),V=f(89200),Z=f(10509),T=f(97154),R=f(18967),C=f(14105),v=f(40098),P=f(65508),D=f(68707),M=f(5051),A=f(90838),_=f(43161),g=f(32819),k=f(59371),N=f(57263),E=f(58780),x=f(85639),S=f(48359),O=f(18756),L=f(76161),j=f(44213),K=f(78081),z=f(15427),J=f(96798);function se(he,Ie){return(he.getAttribute(Ie)||"").match(/\S+/g)||[]}var ce="cdk-describedby-message-container",le="cdk-describedby-message",oe="cdk-describedby-host",Ae=0,be=new Map,it=null,qe=function(){var he=function(){function Ie(Ne){(0,R.Z)(this,Ie),this._document=Ne}return(0,C.Z)(Ie,[{key:"describe",value:function(Le,ze,At){if(this._canBeDescribed(Le,ze)){var an=_t(ze,At);"string"!=typeof ze?(yt(ze),be.set(an,{messageElement:ze,referenceCount:0})):be.has(an)||this._createMessageElement(ze,At),this._isElementDescribedByMessage(Le,an)||this._addMessageReference(Le,an)}}},{key:"removeDescription",value:function(Le,ze,At){if(ze&&this._isElementNode(Le)){var an=_t(ze,At);if(this._isElementDescribedByMessage(Le,an)&&this._removeMessageReference(Le,an),"string"==typeof ze){var qn=be.get(an);qn&&0===qn.referenceCount&&this._deleteMessageElement(an)}it&&0===it.childNodes.length&&this._deleteMessagesContainer()}}},{key:"ngOnDestroy",value:function(){for(var Le=this._document.querySelectorAll("[".concat(oe,"]")),ze=0;ze<Le.length;ze++)this._removeCdkDescribedByReferenceIds(Le[ze]),Le[ze].removeAttribute(oe);it&&this._deleteMessagesContainer(),be.clear()}},{key:"_createMessageElement",value:function(Le,ze){var At=this._document.createElement("div");yt(At),At.textContent=Le,ze&&At.setAttribute("role",ze),this._createMessagesContainer(),it.appendChild(At),be.set(_t(Le,ze),{messageElement:At,referenceCount:0})}},{key:"_deleteMessageElement",value:function(Le){var ze=be.get(Le),At=ze&&ze.messageElement;it&&At&&it.removeChild(At),be.delete(Le)}},{key:"_createMessagesContainer",value:function(){if(!it){var Le=this._document.getElementById(ce);Le&&Le.parentNode&&Le.parentNode.removeChild(Le),(it=this._document.createElement("div")).id=ce,it.style.visibility="hidden",it.classList.add("cdk-visually-hidden"),this._document.body.appendChild(it)}}},{key:"_deleteMessagesContainer",value:function(){it&&it.parentNode&&(it.parentNode.removeChild(it),it=null)}},{key:"_removeCdkDescribedByReferenceIds",value:function(Le){var ze=se(Le,"aria-describedby").filter(function(At){return 0!=At.indexOf(le)});Le.setAttribute("aria-describedby",ze.join(" "))}},{key:"_addMessageReference",value:function(Le,ze){var At=be.get(ze);(function(he,Ie,Ne){var Le=se(he,Ie);Le.some(function(ze){return ze.trim()==Ne.trim()})||(Le.push(Ne.trim()),he.setAttribute(Ie,Le.join(" ")))})(Le,"aria-describedby",At.messageElement.id),Le.setAttribute(oe,""),At.referenceCount++}},{key:"_removeMessageReference",value:function(Le,ze){var At=be.get(ze);At.referenceCount--,function(he,Ie,Ne){var ze=se(he,Ie).filter(function(At){return At!=Ne.trim()});ze.length?he.setAttribute(Ie,ze.join(" ")):he.removeAttribute(Ie)}(Le,"aria-describedby",At.messageElement.id),Le.removeAttribute(oe)}},{key:"_isElementDescribedByMessage",value:function(Le,ze){var At=se(Le,"aria-describedby"),an=be.get(ze),qn=an&&an.messageElement.id;return!!qn&&-1!=At.indexOf(qn)}},{key:"_canBeDescribed",value:function(Le,ze){if(!this._isElementNode(Le))return!1;if(ze&&"object"==typeof ze)return!0;var At=null==ze?"":"".concat(ze).trim(),an=Le.getAttribute("aria-label");return!(!At||an&&an.trim()===At)}},{key:"_isElementNode",value:function(Le){return Le.nodeType===this._document.ELEMENT_NODE}}]),Ie}();return he.\u0275fac=function(Ne){return new(Ne||he)(P.LFG(v.K0))},he.\u0275prov=P.Yz7({factory:function(){return new he(P.LFG(v.K0))},token:he,providedIn:"root"}),he}();function _t(he,Ie){return"string"==typeof he?"".concat(Ie||"","/").concat(he):he}function yt(he){he.id||(he.id="".concat(le,"-").concat(Ae++))}var Ft=function(){function he(Ie){var Ne=this;(0,R.Z)(this,he),this._items=Ie,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new D.xQ,this._typeaheadSubscription=M.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=function(Le){return Le.disabled},this._pressedLetters=[],this.tabOut=new D.xQ,this.change=new D.xQ,Ie instanceof P.n_E&&Ie.changes.subscribe(function(Le){if(Ne._activeItem){var At=Le.toArray().indexOf(Ne._activeItem);At>-1&&At!==Ne._activeItemIndex&&(Ne._activeItemIndex=At)}})}return(0,C.Z)(he,[{key:"skipPredicate",value:function(Ne){return this._skipPredicateFn=Ne,this}},{key:"withWrap",value:function(){var Ne=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._wrap=Ne,this}},{key:"withVerticalOrientation",value:function(){var Ne=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._vertical=Ne,this}},{key:"withHorizontalOrientation",value:function(Ne){return this._horizontal=Ne,this}},{key:"withAllowedModifierKeys",value:function(Ne){return this._allowedModifierKeys=Ne,this}},{key:"withTypeAhead",value:function(){var Ne=this,Le=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,k.b)(function(ze){return Ne._pressedLetters.push(ze)}),(0,N.b)(Le),(0,E.h)(function(){return Ne._pressedLetters.length>0}),(0,x.U)(function(){return Ne._pressedLetters.join("")})).subscribe(function(ze){for(var At=Ne._getItemsArray(),an=1;an<At.length+1;an++){var qn=(Ne._activeItemIndex+an)%At.length,Nr=At[qn];if(!Ne._skipPredicateFn(Nr)&&0===Nr.getLabel().toUpperCase().trim().indexOf(ze)){Ne.setActiveItem(qn);break}}Ne._pressedLetters=[]}),this}},{key:"withHomeAndEnd",value:function(){var Ne=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._homeAndEnd=Ne,this}},{key:"setActiveItem",value:function(Ne){var Le=this._activeItem;this.updateActiveItem(Ne),this._activeItem!==Le&&this.change.next(this._activeItemIndex)}},{key:"onKeydown",value:function(Ne){var Le=this,ze=Ne.keyCode,an=["altKey","ctrlKey","metaKey","shiftKey"].every(function(qn){return!Ne[qn]||Le._allowedModifierKeys.indexOf(qn)>-1});switch(ze){case g.Mf:return void this.tabOut.next();case g.JH:if(this._vertical&&an){this.setNextItemActive();break}return;case g.LH:if(this._vertical&&an){this.setPreviousItemActive();break}return;case g.SV:if(this._horizontal&&an){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case g.oh:if(this._horizontal&&an){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case g.Sd:if(this._homeAndEnd&&an){this.setFirstItemActive();break}return;case g.uR:if(this._homeAndEnd&&an){this.setLastItemActive();break}return;default:return void((an||(0,g.Vb)(Ne,"shiftKey"))&&(Ne.key&&1===Ne.key.length?this._letterKeyStream.next(Ne.key.toLocaleUpperCase()):(ze>=g.A&&ze<=g.Z||ze>=g.xE&&ze<=g.aO)&&this._letterKeyStream.next(String.fromCharCode(ze))))}this._pressedLetters=[],Ne.preventDefault()}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}},{key:"isTyping",value:function(){return this._pressedLetters.length>0}},{key:"setFirstItemActive",value:function(){this._setActiveItemByIndex(0,1)}},{key:"setLastItemActive",value:function(){this._setActiveItemByIndex(this._items.length-1,-1)}},{key:"setNextItemActive",value:function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}},{key:"setPreviousItemActive",value:function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}},{key:"updateActiveItem",value:function(Ne){var Le=this._getItemsArray(),ze="number"==typeof Ne?Ne:Le.indexOf(Ne),At=Le[ze];this._activeItem=null==At?null:At,this._activeItemIndex=ze}},{key:"_setActiveItemByDelta",value:function(Ne){this._wrap?this._setActiveInWrapMode(Ne):this._setActiveInDefaultMode(Ne)}},{key:"_setActiveInWrapMode",value:function(Ne){for(var Le=this._getItemsArray(),ze=1;ze<=Le.length;ze++){var At=(this._activeItemIndex+Ne*ze+Le.length)%Le.length;if(!this._skipPredicateFn(Le[At]))return void this.setActiveItem(At)}}},{key:"_setActiveInDefaultMode",value:function(Ne){this._setActiveItemByIndex(this._activeItemIndex+Ne,Ne)}},{key:"_setActiveItemByIndex",value:function(Ne,Le){var ze=this._getItemsArray();if(ze[Ne]){for(;this._skipPredicateFn(ze[Ne]);)if(!ze[Ne+=Le])return;this.setActiveItem(Ne)}}},{key:"_getItemsArray",value:function(){return this._items instanceof P.n_E?this._items.toArray():this._items}}]),he}(),xe=function(he){(0,Z.Z)(Ne,he);var Ie=(0,T.Z)(Ne);function Ne(){return(0,R.Z)(this,Ne),Ie.apply(this,arguments)}return(0,C.Z)(Ne,[{key:"setActiveItem",value:function(ze){this.activeItem&&this.activeItem.setInactiveStyles(),(0,B.Z)((0,V.Z)(Ne.prototype),"setActiveItem",this).call(this,ze),this.activeItem&&this.activeItem.setActiveStyles()}}]),Ne}(Ft),Oe=function(he){(0,Z.Z)(Ne,he);var Ie=(0,T.Z)(Ne);function Ne(){var Le;return(0,R.Z)(this,Ne),(Le=Ie.apply(this,arguments))._origin="program",Le}return(0,C.Z)(Ne,[{key:"setFocusOrigin",value:function(ze){return this._origin=ze,this}},{key:"setActiveItem",value:function(ze){(0,B.Z)((0,V.Z)(Ne.prototype),"setActiveItem",this).call(this,ze),this.activeItem&&this.activeItem.focus(this._origin)}}]),Ne}(Ft),dt=function(){var he=function(){function Ie(Ne){(0,R.Z)(this,Ie),this._platform=Ne}return(0,C.Z)(Ie,[{key:"isDisabled",value:function(Le){return Le.hasAttribute("disabled")}},{key:"isVisible",value:function(Le){return function(he){return!!(he.offsetWidth||he.offsetHeight||"function"==typeof he.getClientRects&&he.getClientRects().length)}(Le)&&"visible"===getComputedStyle(Le).visibility}},{key:"isTabbable",value:function(Le){if(!this._platform.isBrowser)return!1;var ze=function(he){try{return he.frameElement}catch(Ie){return null}}(function(he){return he.ownerDocument&&he.ownerDocument.defaultView||window}(Le));if(ze&&(-1===bt(ze)||!this.isVisible(ze)))return!1;var At=Le.nodeName.toLowerCase(),an=bt(Le);return Le.hasAttribute("contenteditable")?-1!==an:!("iframe"===At||"object"===At||this._platform.WEBKIT&&this._platform.IOS&&!function(he){var Ie=he.nodeName.toLowerCase(),Ne="input"===Ie&&he.type;return"text"===Ne||"password"===Ne||"select"===Ie||"textarea"===Ie}(Le))&&("audio"===At?!!Le.hasAttribute("controls")&&-1!==an:"video"===At?-1!==an&&(null!==an||this._platform.FIREFOX||Le.hasAttribute("controls")):Le.tabIndex>=0)}},{key:"isFocusable",value:function(Le,ze){return function(he){return!function(he){return function(he){return"input"==he.nodeName.toLowerCase()}(he)&&"hidden"==he.type}(he)&&(function(he){var Ie=he.nodeName.toLowerCase();return"input"===Ie||"select"===Ie||"button"===Ie||"textarea"===Ie}(he)||function(he){return function(he){return"a"==he.nodeName.toLowerCase()}(he)&&he.hasAttribute("href")}(he)||he.hasAttribute("contenteditable")||Vt(he))}(Le)&&!this.isDisabled(Le)&&((null==ze?void 0:ze.ignoreVisibility)||this.isVisible(Le))}}]),Ie}();return he.\u0275fac=function(Ne){return new(Ne||he)(P.LFG(z.t4))},he.\u0275prov=P.Yz7({factory:function(){return new he(P.LFG(z.t4))},token:he,providedIn:"root"}),he}();function Vt(he){if(!he.hasAttribute("tabindex")||void 0===he.tabIndex)return!1;var Ie=he.getAttribute("tabindex");return"-32768"!=Ie&&!(!Ie||isNaN(parseInt(Ie,10)))}function bt(he){if(!Vt(he))return null;var Ie=parseInt(he.getAttribute("tabindex")||"",10);return isNaN(Ie)?-1:Ie}var kn=function(){function he(Ie,Ne,Le,ze){var At=this,an=arguments.length>4&&void 0!==arguments[4]&&arguments[4];(0,R.Z)(this,he),this._element=Ie,this._checker=Ne,this._ngZone=Le,this._document=ze,this._hasAttached=!1,this.startAnchorListener=function(){return At.focusLastTabbableElement()},this.endAnchorListener=function(){return At.focusFirstTabbableElement()},this._enabled=!0,an||this.attachAnchors()}return(0,C.Z)(he,[{key:"enabled",get:function(){return this._enabled},set:function(Ne){this._enabled=Ne,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Ne,this._startAnchor),this._toggleAnchorTabIndex(Ne,this._endAnchor))}},{key:"destroy",value:function(){var Ne=this._startAnchor,Le=this._endAnchor;Ne&&(Ne.removeEventListener("focus",this.startAnchorListener),Ne.parentNode&&Ne.parentNode.removeChild(Ne)),Le&&(Le.removeEventListener("focus",this.endAnchorListener),Le.parentNode&&Le.parentNode.removeChild(Le)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}},{key:"attachAnchors",value:function(){var Ne=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){Ne._startAnchor||(Ne._startAnchor=Ne._createAnchor(),Ne._startAnchor.addEventListener("focus",Ne.startAnchorListener)),Ne._endAnchor||(Ne._endAnchor=Ne._createAnchor(),Ne._endAnchor.addEventListener("focus",Ne.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}},{key:"focusInitialElementWhenReady",value:function(Ne){var Le=this;return new Promise(function(ze){Le._executeOnStable(function(){return ze(Le.focusInitialElement(Ne))})})}},{key:"focusFirstTabbableElementWhenReady",value:function(Ne){var Le=this;return new Promise(function(ze){Le._executeOnStable(function(){return ze(Le.focusFirstTabbableElement(Ne))})})}},{key:"focusLastTabbableElementWhenReady",value:function(Ne){var Le=this;return new Promise(function(ze){Le._executeOnStable(function(){return ze(Le.focusLastTabbableElement(Ne))})})}},{key:"_getRegionBoundary",value:function(Ne){for(var Le=this._element.querySelectorAll("[cdk-focus-region-".concat(Ne,"], ")+"[cdkFocusRegion".concat(Ne,"], ")+"[cdk-focus-".concat(Ne,"]")),ze=0;ze<Le.length;ze++)Le[ze].hasAttribute("cdk-focus-".concat(Ne))?console.warn("Found use of deprecated attribute 'cdk-focus-".concat(Ne,"', ")+"use 'cdkFocusRegion".concat(Ne,"' instead. The deprecated ")+"attribute will be removed in 8.0.0.",Le[ze]):Le[ze].hasAttribute("cdk-focus-region-".concat(Ne))&&console.warn("Found use of deprecated attribute 'cdk-focus-region-".concat(Ne,"', ")+"use 'cdkFocusRegion".concat(Ne,"' instead. The deprecated attribute ")+"will be removed in 8.0.0.",Le[ze]);return"start"==Ne?Le.length?Le[0]:this._getFirstTabbableElement(this._element):Le.length?Le[Le.length-1]:this._getLastTabbableElement(this._element)}},{key:"focusInitialElement",value:function(Ne){var Le=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(Le){if(Le.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",Le),!this._checker.isFocusable(Le)){var ze=this._getFirstTabbableElement(Le);return null==ze||ze.focus(Ne),!!ze}return Le.focus(Ne),!0}return this.focusFirstTabbableElement(Ne)}},{key:"focusFirstTabbableElement",value:function(Ne){var Le=this._getRegionBoundary("start");return Le&&Le.focus(Ne),!!Le}},{key:"focusLastTabbableElement",value:function(Ne){var Le=this._getRegionBoundary("end");return Le&&Le.focus(Ne),!!Le}},{key:"hasAttached",value:function(){return this._hasAttached}},{key:"_getFirstTabbableElement",value:function(Ne){if(this._checker.isFocusable(Ne)&&this._checker.isTabbable(Ne))return Ne;for(var Le=Ne.children||Ne.childNodes,ze=0;ze<Le.length;ze++){var At=Le[ze].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(Le[ze]):null;if(At)return At}return null}},{key:"_getLastTabbableElement",value:function(Ne){if(this._checker.isFocusable(Ne)&&this._checker.isTabbable(Ne))return Ne;for(var Le=Ne.children||Ne.childNodes,ze=Le.length-1;ze>=0;ze--){var At=Le[ze].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(Le[ze]):null;if(At)return At}return null}},{key:"_createAnchor",value:function(){var Ne=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Ne),Ne.classList.add("cdk-visually-hidden"),Ne.classList.add("cdk-focus-trap-anchor"),Ne.setAttribute("aria-hidden","true"),Ne}},{key:"_toggleAnchorTabIndex",value:function(Ne,Le){Ne?Le.setAttribute("tabindex","0"):Le.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(Ne){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Ne,this._startAnchor),this._toggleAnchorTabIndex(Ne,this._endAnchor))}},{key:"_executeOnStable",value:function(Ne){this._ngZone.isStable?Ne():this._ngZone.onStable.pipe((0,S.q)(1)).subscribe(Ne)}}]),he}(),Nn=function(){var he=function(){function Ie(Ne,Le,ze){(0,R.Z)(this,Ie),this._checker=Ne,this._ngZone=Le,this._document=ze}return(0,C.Z)(Ie,[{key:"create",value:function(Le){var ze=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new kn(Le,this._checker,this._ngZone,this._document,ze)}}]),Ie}();return he.\u0275fac=function(Ne){return new(Ne||he)(P.LFG(dt),P.LFG(P.R0b),P.LFG(v.K0))},he.\u0275prov=P.Yz7({factory:function(){return new he(P.LFG(dt),P.LFG(P.R0b),P.LFG(v.K0))},token:he,providedIn:"root"}),he}();function we(he){return 0===he.offsetX&&0===he.offsetY}function ct(he){var Ie=he.touches&&he.touches[0]||he.changedTouches&&he.changedTouches[0];return!(!Ie||-1!==Ie.identifier||null!=Ie.radiusX&&1!==Ie.radiusX||null!=Ie.radiusY&&1!==Ie.radiusY)}"undefined"!=typeof Element&&Element;var ht=new P.OlP("cdk-input-modality-detector-options"),Jt={ignoreKeys:[g.zL,g.jx,g.b2,g.MW,g.JU]},Yt=(0,z.i$)({passive:!0,capture:!0}),nn=function(){var he=function(){function Ie(Ne,Le,ze,At){var an=this;(0,R.Z)(this,Ie),this._platform=Ne,this._mostRecentTarget=null,this._modality=new A.X(null),this._lastTouchMs=0,this._onKeydown=function(qn){var Nr,qr;(null===(qr=null===(Nr=an._options)||void 0===Nr?void 0:Nr.ignoreKeys)||void 0===qr?void 0:qr.some(function(br){return br===qn.keyCode}))||(an._modality.next("keyboard"),an._mostRecentTarget=(0,z.sA)(qn))},this._onMousedown=function(qn){Date.now()-an._lastTouchMs<650||(an._modality.next(we(qn)?"keyboard":"mouse"),an._mostRecentTarget=(0,z.sA)(qn))},this._onTouchstart=function(qn){ct(qn)?an._modality.next("keyboard"):(an._lastTouchMs=Date.now(),an._modality.next("touch"),an._mostRecentTarget=(0,z.sA)(qn))},this._options=Object.assign(Object.assign({},Jt),At),this.modalityDetected=this._modality.pipe((0,O.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,L.x)()),Ne.isBrowser&&Le.runOutsideAngular(function(){ze.addEventListener("keydown",an._onKeydown,Yt),ze.addEventListener("mousedown",an._onMousedown,Yt),ze.addEventListener("touchstart",an._onTouchstart,Yt)})}return(0,C.Z)(Ie,[{key:"mostRecentModality",get:function(){return this._modality.value}},{key:"ngOnDestroy",value:function(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Yt),document.removeEventListener("mousedown",this._onMousedown,Yt),document.removeEventListener("touchstart",this._onTouchstart,Yt))}}]),Ie}();return he.\u0275fac=function(Ne){return new(Ne||he)(P.LFG(z.t4),P.LFG(P.R0b),P.LFG(v.K0),P.LFG(ht,8))},he.\u0275prov=P.Yz7({factory:function(){return new he(P.LFG(z.t4),P.LFG(P.R0b),P.LFG(v.K0),P.LFG(ht,8))},token:he,providedIn:"root"}),he}(),cn=new P.OlP("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),Tn=new P.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Pn=function(){var he=function(){function Ie(Ne,Le,ze,At){(0,R.Z)(this,Ie),this._ngZone=Le,this._defaultOptions=At,this._document=ze,this._liveElement=Ne||this._createLiveElement()}return(0,C.Z)(Ie,[{key:"announce",value:function(Le){for(var an,qn,ze=this,At=this._defaultOptions,Nr=arguments.length,qr=new Array(Nr>1?Nr-1:0),br=1;br<Nr;br++)qr[br-1]=arguments[br];return 1===qr.length&&"number"==typeof qr[0]?qn=qr[0]:(an=qr[0],qn=qr[1]),this.clear(),clearTimeout(this._previousTimeout),an||(an=At&&At.politeness?At.politeness:"polite"),null==qn&&At&&(qn=At.duration),this._liveElement.setAttribute("aria-live",an),this._ngZone.runOutsideAngular(function(){return new Promise(function(Qr){clearTimeout(ze._previousTimeout),ze._previousTimeout=setTimeout(function(){ze._liveElement.textContent=Le,Qr(),"number"==typeof qn&&(ze._previousTimeout=setTimeout(function(){return ze.clear()},qn))},100)})})}},{key:"clear",value:function(){this._liveElement&&(this._liveElement.textContent="")}},{key:"ngOnDestroy",value:function(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}},{key:"_createLiveElement",value:function(){for(var Le="cdk-live-announcer-element",ze=this._document.getElementsByClassName(Le),At=this._document.createElement("div"),an=0;an<ze.length;an++)ze[an].parentNode.removeChild(ze[an]);return At.classList.add(Le),At.classList.add("cdk-visually-hidden"),At.setAttribute("aria-atomic","true"),At.setAttribute("aria-live","polite"),this._document.body.appendChild(At),At}}]),Ie}();return he.\u0275fac=function(Ne){return new(Ne||he)(P.LFG(cn,8),P.LFG(P.R0b),P.LFG(v.K0),P.LFG(Tn,8))},he.\u0275prov=P.Yz7({factory:function(){return new he(P.LFG(cn,8),P.LFG(P.R0b),P.LFG(v.K0),P.LFG(Tn,8))},token:he,providedIn:"root"}),he}(),Cn=new P.OlP("cdk-focus-monitor-default-options"),Sn=(0,z.i$)({passive:!0,capture:!0}),tr=function(){var he=function(){function Ie(Ne,Le,ze,At,an){var qn=this;(0,R.Z)(this,Ie),this._ngZone=Ne,this._platform=Le,this._inputModalityDetector=ze,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=function(){qn._windowFocused=!0,qn._windowFocusTimeoutId=setTimeout(function(){return qn._windowFocused=!1})},this._stopInputModalityDetector=new D.xQ,this._rootNodeFocusAndBlurListener=function(Nr){for(var qr=(0,z.sA)(Nr),br="focus"===Nr.type?qn._onFocus:qn._onBlur,Qr=qr;Qr;Qr=Qr.parentElement)br.call(qn,Nr,Qr)},this._document=At,this._detectionMode=(null==an?void 0:an.detectionMode)||0}return(0,C.Z)(Ie,[{key:"monitor",value:function(Le){var ze=arguments.length>1&&void 0!==arguments[1]&&arguments[1],At=(0,K.fI)(Le);if(!this._platform.isBrowser||1!==At.nodeType)return(0,_.of)(null);var an=(0,z.kV)(At)||this._getDocument(),qn=this._elementInfo.get(At);if(qn)return ze&&(qn.checkChildren=!0),qn.subject;var Nr={checkChildren:ze,subject:new D.xQ,rootNode:an};return this._elementInfo.set(At,Nr),this._registerGlobalListeners(Nr),Nr.subject}},{key:"stopMonitoring",value:function(Le){var ze=(0,K.fI)(Le),At=this._elementInfo.get(ze);At&&(At.subject.complete(),this._setClasses(ze),this._elementInfo.delete(ze),this._removeGlobalListeners(At))}},{key:"focusVia",value:function(Le,ze,At){var an=this,qn=(0,K.fI)(Le);qn===this._getDocument().activeElement?this._getClosestElementsInfo(qn).forEach(function(qr){var br=(0,U.Z)(qr,2);return an._originChanged(br[0],ze,br[1])}):(this._setOrigin(ze),"function"==typeof qn.focus&&qn.focus(At))}},{key:"ngOnDestroy",value:function(){var Le=this;this._elementInfo.forEach(function(ze,At){return Le.stopMonitoring(At)})}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(Le,ze,At){At?Le.classList.add(ze):Le.classList.remove(ze)}},{key:"_getFocusOrigin",value:function(Le){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(Le)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}},{key:"_shouldBeAttributedToTouch",value:function(Le){return 1===this._detectionMode||!!(null==Le?void 0:Le.contains(this._inputModalityDetector._mostRecentTarget))}},{key:"_setClasses",value:function(Le,ze){this._toggleClass(Le,"cdk-focused",!!ze),this._toggleClass(Le,"cdk-touch-focused","touch"===ze),this._toggleClass(Le,"cdk-keyboard-focused","keyboard"===ze),this._toggleClass(Le,"cdk-mouse-focused","mouse"===ze),this._toggleClass(Le,"cdk-program-focused","program"===ze)}},{key:"_setOrigin",value:function(Le){var ze=this,At=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._ngZone.runOutsideAngular(function(){ze._origin=Le,ze._originFromTouchInteraction="touch"===Le&&At,0===ze._detectionMode&&(clearTimeout(ze._originTimeoutId),ze._originTimeoutId=setTimeout(function(){return ze._origin=null},ze._originFromTouchInteraction?650:1))})}},{key:"_onFocus",value:function(Le,ze){var At=this._elementInfo.get(ze),an=(0,z.sA)(Le);!At||!At.checkChildren&&ze!==an||this._originChanged(ze,this._getFocusOrigin(an),At)}},{key:"_onBlur",value:function(Le,ze){var At=this._elementInfo.get(ze);!At||At.checkChildren&&Le.relatedTarget instanceof Node&&ze.contains(Le.relatedTarget)||(this._setClasses(ze),this._emitOrigin(At.subject,null))}},{key:"_emitOrigin",value:function(Le,ze){this._ngZone.run(function(){return Le.next(ze)})}},{key:"_registerGlobalListeners",value:function(Le){var ze=this;if(this._platform.isBrowser){var At=Le.rootNode,an=this._rootNodeFocusListenerCount.get(At)||0;an||this._ngZone.runOutsideAngular(function(){At.addEventListener("focus",ze._rootNodeFocusAndBlurListener,Sn),At.addEventListener("blur",ze._rootNodeFocusAndBlurListener,Sn)}),this._rootNodeFocusListenerCount.set(At,an+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(function(){ze._getWindow().addEventListener("focus",ze._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,j.R)(this._stopInputModalityDetector)).subscribe(function(qn){ze._setOrigin(qn,!0)}))}}},{key:"_removeGlobalListeners",value:function(Le){var ze=Le.rootNode;if(this._rootNodeFocusListenerCount.has(ze)){var At=this._rootNodeFocusListenerCount.get(ze);At>1?this._rootNodeFocusListenerCount.set(ze,At-1):(ze.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Sn),ze.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Sn),this._rootNodeFocusListenerCount.delete(ze))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}},{key:"_originChanged",value:function(Le,ze,At){this._setClasses(Le,ze),this._emitOrigin(At.subject,ze),this._lastFocusOrigin=ze}},{key:"_getClosestElementsInfo",value:function(Le){var ze=[];return this._elementInfo.forEach(function(At,an){(an===Le||At.checkChildren&&an.contains(Le))&&ze.push([an,At])}),ze}}]),Ie}();return he.\u0275fac=function(Ne){return new(Ne||he)(P.LFG(P.R0b),P.LFG(z.t4),P.LFG(nn),P.LFG(v.K0,8),P.LFG(Cn,8))},he.\u0275prov=P.Yz7({factory:function(){return new he(P.LFG(P.R0b),P.LFG(z.t4),P.LFG(nn),P.LFG(v.K0,8),P.LFG(Cn,8))},token:he,providedIn:"root"}),he}(),cr=function(){var he=function(){function Ie(Ne,Le){(0,R.Z)(this,Ie),this._elementRef=Ne,this._focusMonitor=Le,this.cdkFocusChange=new P.vpe}return(0,C.Z)(Ie,[{key:"ngAfterViewInit",value:function(){var Le=this,ze=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(ze,1===ze.nodeType&&ze.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(function(At){return Le.cdkFocusChange.emit(At)})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}]),Ie}();return he.\u0275fac=function(Ne){return new(Ne||he)(P.Y36(P.SBq),P.Y36(tr))},he.\u0275dir=P.lG2({type:he,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),he}(),Ut="cdk-high-contrast-black-on-white",Rt="cdk-high-contrast-white-on-black",Lt="cdk-high-contrast-active",Pe=function(){var he=function(){function Ie(Ne,Le){(0,R.Z)(this,Ie),this._platform=Ne,this._document=Le}return(0,C.Z)(Ie,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var Le=this._document.createElement("div");Le.style.backgroundColor="rgb(1,2,3)",Le.style.position="absolute",this._document.body.appendChild(Le);var ze=this._document.defaultView||window,At=ze&&ze.getComputedStyle?ze.getComputedStyle(Le):null,an=(At&&At.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(Le),an){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){var Le=this._document.body.classList;Le.remove(Lt),Le.remove(Ut),Le.remove(Rt),this._hasCheckedHighContrastMode=!0;var ze=this.getHighContrastMode();1===ze?(Le.add(Lt),Le.add(Ut)):2===ze&&(Le.add(Lt),Le.add(Rt))}}}]),Ie}();return he.\u0275fac=function(Ne){return new(Ne||he)(P.LFG(z.t4),P.LFG(v.K0))},he.\u0275prov=P.Yz7({factory:function(){return new he(P.LFG(z.t4),P.LFG(v.K0))},token:he,providedIn:"root"}),he}(),rt=function(){var he=function Ie(Ne){(0,R.Z)(this,Ie),Ne._applyBodyHighContrastModeCssClasses()};return he.\u0275fac=function(Ne){return new(Ne||he)(P.LFG(Pe))},he.\u0275mod=P.oAB({type:he}),he.\u0275inj=P.cJS({imports:[[z.ud,J.Q8]]}),he}()},8392:function(ue,q,f){"use strict";f.d(q,{vT:function(){return P},Is:function(){return C}});var U=f(18967),B=f(14105),V=f(65508),Z=f(40098),T=new V.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,V.f3M)(Z.K0)}}),C=function(){var D=function(){function M(A){if((0,U.Z)(this,M),this.value="ltr",this.change=new V.vpe,A){var k=(A.body?A.body.dir:null)||(A.documentElement?A.documentElement.dir:null);this.value="ltr"===k||"rtl"===k?k:"ltr"}}return(0,B.Z)(M,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),M}();return D.\u0275fac=function(A){return new(A||D)(V.LFG(T,8))},D.\u0275prov=V.Yz7({factory:function(){return new D(V.LFG(T,8))},token:D,providedIn:"root"}),D}(),P=function(){var D=function M(){(0,U.Z)(this,M)};return D.\u0275fac=function(A){return new(A||D)},D.\u0275mod=V.oAB({type:D}),D.\u0275inj=V.cJS({}),D}()},37429:function(ue,q,f){"use strict";f.d(q,{P3:function(){return A},o2:function(){return D},Ov:function(){return k},A8:function(){return E},yy:function(){return _},eX:function(){return g},k:function(){return x},Z9:function(){return M}});var U=f(36683),B=f(14105),V=f(10509),Z=f(97154),T=f(18967),R=f(17504),C=f(43161),v=f(68707),P=f(65508),D=function S(){(0,T.Z)(this,S)};function M(S){return S&&"function"==typeof S.connect}var A=function(S){(0,V.Z)(L,S);var O=(0,Z.Z)(L);function L(j){var K;return(0,T.Z)(this,L),(K=O.call(this))._data=j,K}return(0,B.Z)(L,[{key:"connect",value:function(){return(0,R.b)(this._data)?this._data:(0,C.of)(this._data)}},{key:"disconnect",value:function(){}}]),L}(D),_=function(){function S(){(0,T.Z)(this,S)}return(0,B.Z)(S,[{key:"applyChanges",value:function(L,j,K,z,J){L.forEachOperation(function(ie,te,ae){var se,ce;if(null==ie.previousIndex){var le=K(ie,te,ae);se=j.createEmbeddedView(le.templateRef,le.context,le.index),ce=1}else null==ae?(j.remove(te),ce=3):(se=j.get(te),j.move(se,ae),ce=2);J&&J({context:null==se?void 0:se.context,operation:ce,record:ie})})}},{key:"detach",value:function(){}}]),S}(),g=function(){function S(){(0,T.Z)(this,S),this.viewCacheSize=20,this._viewCache=[]}return(0,B.Z)(S,[{key:"applyChanges",value:function(L,j,K,z,J){var ie=this;L.forEachOperation(function(te,ae,se){var ce,le;null==te.previousIndex?le=(ce=ie._insertView(function(){return K(te,ae,se)},se,j,z(te)))?1:0:null==se?(ie._detachAndCacheView(ae,j),le=3):(ce=ie._moveView(ae,se,j,z(te)),le=2),J&&J({context:null==ce?void 0:ce.context,operation:le,record:te})})}},{key:"detach",value:function(){var j,L=(0,U.Z)(this._viewCache);try{for(L.s();!(j=L.n()).done;)j.value.destroy()}catch(z){L.e(z)}finally{L.f()}this._viewCache=[]}},{key:"_insertView",value:function(L,j,K,z){var J=this._insertViewFromCache(j,K);if(!J){var ie=L();return K.createEmbeddedView(ie.templateRef,ie.context,ie.index)}J.context.$implicit=z}},{key:"_detachAndCacheView",value:function(L,j){var K=j.detach(L);this._maybeCacheView(K,j)}},{key:"_moveView",value:function(L,j,K,z){var J=K.get(L);return K.move(J,j),J.context.$implicit=z,J}},{key:"_maybeCacheView",value:function(L,j){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(L);else{var K=j.indexOf(L);-1===K?L.destroy():j.remove(K)}}},{key:"_insertViewFromCache",value:function(L,j){var K=this._viewCache.pop();return K&&j.insert(K,L),K||null}}]),S}(),k=function(){function S(){var O=this,L=arguments.length>0&&void 0!==arguments[0]&&arguments[0],j=arguments.length>1?arguments[1]:void 0,K=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];(0,T.Z)(this,S),this._multiple=L,this._emitChanges=K,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new v.xQ,j&&j.length&&(L?j.forEach(function(z){return O._markSelected(z)}):this._markSelected(j[0]),this._selectedToEmit.length=0)}return(0,B.Z)(S,[{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}},{key:"select",value:function(){for(var L=this,j=arguments.length,K=new Array(j),z=0;z<j;z++)K[z]=arguments[z];this._verifyValueAssignment(K),K.forEach(function(J){return L._markSelected(J)}),this._emitChangeEvent()}},{key:"deselect",value:function(){for(var L=this,j=arguments.length,K=new Array(j),z=0;z<j;z++)K[z]=arguments[z];this._verifyValueAssignment(K),K.forEach(function(J){return L._unmarkSelected(J)}),this._emitChangeEvent()}},{key:"toggle",value:function(L){this.isSelected(L)?this.deselect(L):this.select(L)}},{key:"clear",value:function(){this._unmarkAll(),this._emitChangeEvent()}},{key:"isSelected",value:function(L){return this._selection.has(L)}},{key:"isEmpty",value:function(){return 0===this._selection.size}},{key:"hasValue",value:function(){return!this.isEmpty()}},{key:"sort",value:function(L){this._multiple&&this.selected&&this._selected.sort(L)}},{key:"isMultipleSelection",value:function(){return this._multiple}},{key:"_emitChangeEvent",value:function(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}},{key:"_markSelected",value:function(L){this.isSelected(L)||(this._multiple||this._unmarkAll(),this._selection.add(L),this._emitChanges&&this._selectedToEmit.push(L))}},{key:"_unmarkSelected",value:function(L){this.isSelected(L)&&(this._selection.delete(L),this._emitChanges&&this._deselectedToEmit.push(L))}},{key:"_unmarkAll",value:function(){var L=this;this.isEmpty()||this._selection.forEach(function(j){return L._unmarkSelected(j)})}},{key:"_verifyValueAssignment",value:function(L){}}]),S}(),E=function(){var S=function(){function O(){(0,T.Z)(this,O),this._listeners=[]}return(0,B.Z)(O,[{key:"notify",value:function(j,K){var J,z=(0,U.Z)(this._listeners);try{for(z.s();!(J=z.n()).done;)(0,J.value)(j,K)}catch(te){z.e(te)}finally{z.f()}}},{key:"listen",value:function(j){var K=this;return this._listeners.push(j),function(){K._listeners=K._listeners.filter(function(z){return j!==z})}}},{key:"ngOnDestroy",value:function(){this._listeners=[]}}]),O}();return S.\u0275fac=function(L){return new(L||S)},S.\u0275prov=P.Yz7({factory:function(){return new S},token:S,providedIn:"root"}),S}(),x=new P.OlP("_ViewRepeater")},32819:function(ue,q,f){"use strict";f.d(q,{A:function(){return Ft},zL:function(){return v},ZH:function(){return B},jx:function(){return C},yY:function(){return z},JH:function(){return O},uR:function(){return k},K5:function(){return T},hY:function(){return M},Sd:function(){return N},oh:function(){return E},b2:function(){return Gt},MW:function(){return ve},aO:function(){return be},SV:function(){return S},JU:function(){return R},L_:function(){return A},Mf:function(){return V},LH:function(){return x},Z:function(){return He},xE:function(){return J},Vb:function(){return Xt}});var B=8,V=9,T=13,R=16,C=17,v=18,M=27,A=32,k=35,N=36,E=37,x=38,S=39,O=40,z=46,J=48,be=57,Ft=65,He=90,ve=91,Gt=224;function Xt(gn){for(var Gn=arguments.length,jn=new Array(Gn>1?Gn-1:0),zn=1;zn<Gn;zn++)jn[zn-1]=arguments[zn];return jn.length?jn.some(function(si){return gn[si]}):gn.altKey||gn.shiftKey||gn.ctrlKey||gn.metaKey}},96798:function(ue,q,f){"use strict";f.d(q,{wD:function(){return D},yq:function(){return P},Q8:function(){return M}});var U=f(18967),B=f(14105),V=f(78081),Z=f(65508),T=f(89797),R=f(68707),C=f(57263),v=function(){var A=function(){function _(){(0,U.Z)(this,_)}return(0,B.Z)(_,[{key:"create",value:function(k){return"undefined"==typeof MutationObserver?null:new MutationObserver(k)}}]),_}();return A.\u0275fac=function(g){return new(g||A)},A.\u0275prov=Z.Yz7({factory:function(){return new A},token:A,providedIn:"root"}),A}(),P=function(){var A=function(){function _(g){(0,U.Z)(this,_),this._mutationObserverFactory=g,this._observedElements=new Map}return(0,B.Z)(_,[{key:"ngOnDestroy",value:function(){var k=this;this._observedElements.forEach(function(N,E){return k._cleanupObserver(E)})}},{key:"observe",value:function(k){var N=this,E=(0,V.fI)(k);return new T.y(function(x){var O=N._observeElement(E).subscribe(x);return function(){O.unsubscribe(),N._unobserveElement(E)}})}},{key:"_observeElement",value:function(k){if(this._observedElements.has(k))this._observedElements.get(k).count++;else{var N=new R.xQ,E=this._mutationObserverFactory.create(function(x){return N.next(x)});E&&E.observe(k,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(k,{observer:E,stream:N,count:1})}return this._observedElements.get(k).stream}},{key:"_unobserveElement",value:function(k){this._observedElements.has(k)&&(this._observedElements.get(k).count--,this._observedElements.get(k).count||this._cleanupObserver(k))}},{key:"_cleanupObserver",value:function(k){if(this._observedElements.has(k)){var N=this._observedElements.get(k),E=N.observer,x=N.stream;E&&E.disconnect(),x.complete(),this._observedElements.delete(k)}}}]),_}();return A.\u0275fac=function(g){return new(g||A)(Z.LFG(v))},A.\u0275prov=Z.Yz7({factory:function(){return new A(Z.LFG(v))},token:A,providedIn:"root"}),A}(),D=function(){var A=function(){function _(g,k,N){(0,U.Z)(this,_),this._contentObserver=g,this._elementRef=k,this._ngZone=N,this.event=new Z.vpe,this._disabled=!1,this._currentSubscription=null}return(0,B.Z)(_,[{key:"disabled",get:function(){return this._disabled},set:function(k){this._disabled=(0,V.Ig)(k),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(k){this._debounce=(0,V.su)(k),this._subscribe()}},{key:"ngAfterContentInit",value:function(){!this._currentSubscription&&!this.disabled&&this._subscribe()}},{key:"ngOnDestroy",value:function(){this._unsubscribe()}},{key:"_subscribe",value:function(){var k=this;this._unsubscribe();var N=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(function(){k._currentSubscription=(k.debounce?N.pipe((0,C.b)(k.debounce)):N).subscribe(k.event)})}},{key:"_unsubscribe",value:function(){var k;null===(k=this._currentSubscription)||void 0===k||k.unsubscribe()}}]),_}();return A.\u0275fac=function(g){return new(g||A)(Z.Y36(P),Z.Y36(Z.SBq),Z.Y36(Z.R0b))},A.\u0275dir=Z.lG2({type:A,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),A}(),M=function(){var A=function _(){(0,U.Z)(this,_)};return A.\u0275fac=function(g){return new(g||A)},A.\u0275mod=Z.oAB({type:A}),A.\u0275inj=Z.cJS({providers:[v]}),A}()},93889:function(ue,q,f){"use strict";f.d(q,{pI:function(){return In},xu:function(){return Nn},aV:function(){return Nt},X_:function(){return oe},Xj:function(){return Oe},U8:function(){return wn}});var U=f(27235),B=f(36683),V=f(20901),Z=f(89200),T=f(10509),R=f(97154),C=f(18967),v=f(14105),P=f(28722),D=f(65508),M=f(15427),A=f(8392),_=f(40098),g=f(78081),k=f(80785),N=f(68707),E=f(5051),x=f(55371),S=f(48359),O=f(44213),L=f(49196),j=f(32819),K=(0,M.Mq)(),z=function(){function ut(He,ve){(0,C.Z)(this,ut),this._viewportRuler=He,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=ve}return(0,v.Z)(ut,[{key:"attach",value:function(){}},{key:"enable",value:function(){if(this._canBeEnabled()){var ve=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=ve.style.left||"",this._previousHTMLStyles.top=ve.style.top||"",ve.style.left=(0,g.HM)(-this._previousScrollPosition.left),ve.style.top=(0,g.HM)(-this._previousScrollPosition.top),ve.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}},{key:"disable",value:function(){if(this._isEnabled){var ve=this._document.documentElement,Te=ve.style,we=this._document.body.style,ct=Te.scrollBehavior||"",ht=we.scrollBehavior||"";this._isEnabled=!1,Te.left=this._previousHTMLStyles.left,Te.top=this._previousHTMLStyles.top,ve.classList.remove("cdk-global-scrollblock"),K&&(Te.scrollBehavior=we.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),K&&(Te.scrollBehavior=ct,we.scrollBehavior=ht)}}},{key:"_canBeEnabled",value:function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var ye=this._document.body,Te=this._viewportRuler.getViewportSize();return ye.scrollHeight>Te.height||ye.scrollWidth>Te.width}}]),ut}(),ie=function(){function ut(He,ve,ye,Te){var we=this;(0,C.Z)(this,ut),this._scrollDispatcher=He,this._ngZone=ve,this._viewportRuler=ye,this._config=Te,this._scrollSubscription=null,this._detach=function(){we.disable(),we._overlayRef.hasAttached()&&we._ngZone.run(function(){return we._overlayRef.detach()})}}return(0,v.Z)(ut,[{key:"attach",value:function(ve){this._overlayRef=ve}},{key:"enable",value:function(){var ve=this;if(!this._scrollSubscription){var ye=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=ye.subscribe(function(){var Te=ve._viewportRuler.getViewportScrollPosition().top;Math.abs(Te-ve._initialScrollPosition)>ve._config.threshold?ve._detach():ve._overlayRef.updatePosition()})):this._scrollSubscription=ye.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),ut}(),te=function(){function ut(){(0,C.Z)(this,ut)}return(0,v.Z)(ut,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),ut}();function ae(ut,He){return He.some(function(ve){return ut.bottom<ve.top||ut.top>ve.bottom||ut.right<ve.left||ut.left>ve.right})}function se(ut,He){return He.some(function(ve){return ut.top<ve.top||ut.bottom>ve.bottom||ut.left<ve.left||ut.right>ve.right})}var ce=function(){function ut(He,ve,ye,Te){(0,C.Z)(this,ut),this._scrollDispatcher=He,this._viewportRuler=ve,this._ngZone=ye,this._config=Te,this._scrollSubscription=null}return(0,v.Z)(ut,[{key:"attach",value:function(ve){this._overlayRef=ve}},{key:"enable",value:function(){var ve=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(ve._overlayRef.updatePosition(),ve._config&&ve._config.autoClose){var Te=ve._overlayRef.overlayElement.getBoundingClientRect(),we=ve._viewportRuler.getViewportSize(),ct=we.width,ht=we.height;ae(Te,[{width:ct,height:ht,bottom:ht,right:ct,top:0,left:0}])&&(ve.disable(),ve._ngZone.run(function(){return ve._overlayRef.detach()}))}}))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),ut}(),le=function(){var ut=function He(ve,ye,Te,we){var ct=this;(0,C.Z)(this,He),this._scrollDispatcher=ve,this._viewportRuler=ye,this._ngZone=Te,this.noop=function(){return new te},this.close=function(ht){return new ie(ct._scrollDispatcher,ct._ngZone,ct._viewportRuler,ht)},this.block=function(){return new z(ct._viewportRuler,ct._document)},this.reposition=function(ht){return new ce(ct._scrollDispatcher,ct._viewportRuler,ct._ngZone,ht)},this._document=we};return ut.\u0275fac=function(ve){return new(ve||ut)(D.LFG(P.mF),D.LFG(P.rL),D.LFG(D.R0b),D.LFG(_.K0))},ut.\u0275prov=D.Yz7({factory:function(){return new ut(D.LFG(P.mF),D.LFG(P.rL),D.LFG(D.R0b),D.LFG(_.K0))},token:ut,providedIn:"root"}),ut}(),oe=function ut(He){if((0,C.Z)(this,ut),this.scrollStrategy=new te,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,He)for(var ye=0,Te=Object.keys(He);ye<Te.length;ye++){var we=Te[ye];void 0!==He[we]&&(this[we]=He[we])}},Ae=function ut(He,ve,ye,Te,we){(0,C.Z)(this,ut),this.offsetX=ye,this.offsetY=Te,this.panelClass=we,this.originX=He.originX,this.originY=He.originY,this.overlayX=ve.overlayX,this.overlayY=ve.overlayY},it=function ut(He,ve){(0,C.Z)(this,ut),this.connectionPair=He,this.scrollableViewProperties=ve},yt=function(){var ut=function(){function He(ve){(0,C.Z)(this,He),this._attachedOverlays=[],this._document=ve}return(0,v.Z)(He,[{key:"ngOnDestroy",value:function(){this.detach()}},{key:"add",value:function(ye){this.remove(ye),this._attachedOverlays.push(ye)}},{key:"remove",value:function(ye){var Te=this._attachedOverlays.indexOf(ye);Te>-1&&this._attachedOverlays.splice(Te,1),0===this._attachedOverlays.length&&this.detach()}}]),He}();return ut.\u0275fac=function(ve){return new(ve||ut)(D.LFG(_.K0))},ut.\u0275prov=D.Yz7({factory:function(){return new ut(D.LFG(_.K0))},token:ut,providedIn:"root"}),ut}(),Ft=function(){var ut=function(He){(0,T.Z)(ye,He);var ve=(0,R.Z)(ye);function ye(Te){var we;return(0,C.Z)(this,ye),(we=ve.call(this,Te))._keydownListener=function(ct){for(var ht=we._attachedOverlays,Jt=ht.length-1;Jt>-1;Jt--)if(ht[Jt]._keydownEvents.observers.length>0){ht[Jt]._keydownEvents.next(ct);break}},we}return(0,v.Z)(ye,[{key:"add",value:function(we){(0,V.Z)((0,Z.Z)(ye.prototype),"add",this).call(this,we),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),ye}(yt);return ut.\u0275fac=function(ve){return new(ve||ut)(D.LFG(_.K0))},ut.\u0275prov=D.Yz7({factory:function(){return new ut(D.LFG(_.K0))},token:ut,providedIn:"root"}),ut}(),xe=function(){var ut=function(He){(0,T.Z)(ye,He);var ve=(0,R.Z)(ye);function ye(Te,we){var ct;return(0,C.Z)(this,ye),(ct=ve.call(this,Te))._platform=we,ct._cursorStyleIsSet=!1,ct._clickListener=function(ht){for(var Jt=(0,M.sA)(ht),Kt=ct._attachedOverlays.slice(),Yt=Kt.length-1;Yt>-1;Yt--){var nn=Kt[Yt];if(!(nn._outsidePointerEvents.observers.length<1)&&nn.hasAttached()){if(nn.overlayElement.contains(Jt))break;nn._outsidePointerEvents.next(ht)}}},ct}return(0,v.Z)(ye,[{key:"add",value:function(we){if((0,V.Z)((0,Z.Z)(ye.prototype),"add",this).call(this,we),!this._isAttached){var ct=this._document.body;ct.addEventListener("click",this._clickListener,!0),ct.addEventListener("auxclick",this._clickListener,!0),ct.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=ct.style.cursor,ct.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}},{key:"detach",value:function(){if(this._isAttached){var we=this._document.body;we.removeEventListener("click",this._clickListener,!0),we.removeEventListener("auxclick",this._clickListener,!0),we.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(we.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}]),ye}(yt);return ut.\u0275fac=function(ve){return new(ve||ut)(D.LFG(_.K0),D.LFG(M.t4))},ut.\u0275prov=D.Yz7({factory:function(){return new ut(D.LFG(_.K0),D.LFG(M.t4))},token:ut,providedIn:"root"}),ut}(),Oe=function(){var ut=function(){function He(ve,ye){(0,C.Z)(this,He),this._platform=ye,this._document=ve}return(0,v.Z)(He,[{key:"ngOnDestroy",value:function(){var ye=this._containerElement;ye&&ye.parentNode&&ye.parentNode.removeChild(ye)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){var ye="cdk-overlay-container";if(this._platform.isBrowser||(0,M.Oy)())for(var Te=this._document.querySelectorAll(".".concat(ye,'[platform="server"], ')+".".concat(ye,'[platform="test"]')),we=0;we<Te.length;we++)Te[we].parentNode.removeChild(Te[we]);var ct=this._document.createElement("div");ct.classList.add(ye),(0,M.Oy)()?ct.setAttribute("platform","test"):this._platform.isBrowser||ct.setAttribute("platform","server"),this._document.body.appendChild(ct),this._containerElement=ct}}]),He}();return ut.\u0275fac=function(ve){return new(ve||ut)(D.LFG(_.K0),D.LFG(M.t4))},ut.\u0275prov=D.Yz7({factory:function(){return new ut(D.LFG(_.K0),D.LFG(M.t4))},token:ut,providedIn:"root"}),ut}(),je=function(){function ut(He,ve,ye,Te,we,ct,ht,Jt,Kt){var Yt=this;(0,C.Z)(this,ut),this._portalOutlet=He,this._host=ve,this._pane=ye,this._config=Te,this._ngZone=we,this._keyboardDispatcher=ct,this._document=ht,this._location=Jt,this._outsideClickDispatcher=Kt,this._backdropElement=null,this._backdropClick=new N.xQ,this._attachments=new N.xQ,this._detachments=new N.xQ,this._locationChanges=E.w.EMPTY,this._backdropClickHandler=function(nn){return Yt._backdropClick.next(nn)},this._keydownEvents=new N.xQ,this._outsidePointerEvents=new N.xQ,Te.scrollStrategy&&(this._scrollStrategy=Te.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Te.positionStrategy}return(0,v.Z)(ut,[{key:"overlayElement",get:function(){return this._pane}},{key:"backdropElement",get:function(){return this._backdropElement}},{key:"hostElement",get:function(){return this._host}},{key:"attach",value:function(ve){var ye=this,Te=this._portalOutlet.attach(ve);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,S.q)(1)).subscribe(function(){ye.hasAttached()&&ye.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(function(){return ye.dispose()})),this._outsideClickDispatcher.add(this),Te}},{key:"detach",value:function(){if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();var ve=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),ve}}},{key:"dispose",value:function(){var ve=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,ve&&this._detachments.next(),this._detachments.complete()}},{key:"hasAttached",value:function(){return this._portalOutlet.hasAttached()}},{key:"backdropClick",value:function(){return this._backdropClick}},{key:"attachments",value:function(){return this._attachments}},{key:"detachments",value:function(){return this._detachments}},{key:"keydownEvents",value:function(){return this._keydownEvents}},{key:"outsidePointerEvents",value:function(){return this._outsidePointerEvents}},{key:"getConfig",value:function(){return this._config}},{key:"updatePosition",value:function(){this._positionStrategy&&this._positionStrategy.apply()}},{key:"updatePositionStrategy",value:function(ve){ve!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=ve,this.hasAttached()&&(ve.attach(this),this.updatePosition()))}},{key:"updateSize",value:function(ve){this._config=Object.assign(Object.assign({},this._config),ve),this._updateElementSize()}},{key:"setDirection",value:function(ve){this._config=Object.assign(Object.assign({},this._config),{direction:ve}),this._updateElementDirection()}},{key:"addPanelClass",value:function(ve){this._pane&&this._toggleClasses(this._pane,ve,!0)}},{key:"removePanelClass",value:function(ve){this._pane&&this._toggleClasses(this._pane,ve,!1)}},{key:"getDirection",value:function(){var ve=this._config.direction;return ve?"string"==typeof ve?ve:ve.value:"ltr"}},{key:"updateScrollStrategy",value:function(ve){ve!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=ve,this.hasAttached()&&(ve.attach(this),ve.enable()))}},{key:"_updateElementDirection",value:function(){this._host.setAttribute("dir",this.getDirection())}},{key:"_updateElementSize",value:function(){if(this._pane){var ve=this._pane.style;ve.width=(0,g.HM)(this._config.width),ve.height=(0,g.HM)(this._config.height),ve.minWidth=(0,g.HM)(this._config.minWidth),ve.minHeight=(0,g.HM)(this._config.minHeight),ve.maxWidth=(0,g.HM)(this._config.maxWidth),ve.maxHeight=(0,g.HM)(this._config.maxHeight)}}},{key:"_togglePointerEvents",value:function(ve){this._pane.style.pointerEvents=ve?"":"none"}},{key:"_attachBackdrop",value:function(){var ve=this,ye="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){ve._backdropElement&&ve._backdropElement.classList.add(ye)})}):this._backdropElement.classList.add(ye)}},{key:"_updateStackingOrder",value:function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}},{key:"detachBackdrop",value:function(){var ve=this,ye=this._backdropElement;if(ye){var Te,we=function ct(){ye&&(ye.removeEventListener("click",ve._backdropClickHandler),ye.removeEventListener("transitionend",ct),ve._disposeBackdrop(ye)),ve._config.backdropClass&&ve._toggleClasses(ye,ve._config.backdropClass,!1),clearTimeout(Te)};ye.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(function(){ye.addEventListener("transitionend",we)}),ye.style.pointerEvents="none",Te=this._ngZone.runOutsideAngular(function(){return setTimeout(we,500)})}}},{key:"_toggleClasses",value:function(ve,ye,Te){var we=ve.classList;(0,g.Eq)(ye).forEach(function(ct){ct&&(Te?we.add(ct):we.remove(ct))})}},{key:"_detachContentWhenStable",value:function(){var ve=this;this._ngZone.runOutsideAngular(function(){var ye=ve._ngZone.onStable.pipe((0,O.R)((0,x.T)(ve._attachments,ve._detachments))).subscribe(function(){(!ve._pane||!ve._host||0===ve._pane.children.length)&&(ve._pane&&ve._config.panelClass&&ve._toggleClasses(ve._pane,ve._config.panelClass,!1),ve._host&&ve._host.parentElement&&(ve._previousHostParent=ve._host.parentElement,ve._previousHostParent.removeChild(ve._host)),ye.unsubscribe())})})}},{key:"_disposeScrollStrategy",value:function(){var ve=this._scrollStrategy;ve&&(ve.disable(),ve.detach&&ve.detach())}},{key:"_disposeBackdrop",value:function(ve){ve&&(ve.parentNode&&ve.parentNode.removeChild(ve),this._backdropElement===ve&&(this._backdropElement=null))}}]),ut}(),dt="cdk-overlay-connected-position-bounding-box",Qe=/([A-Za-z%]+)$/,Bt=function(){function ut(He,ve,ye,Te,we){(0,C.Z)(this,ut),this._viewportRuler=ve,this._document=ye,this._platform=Te,this._overlayContainer=we,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new N.xQ,this._resizeSubscription=E.w.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(He)}return(0,v.Z)(ut,[{key:"positions",get:function(){return this._preferredPositions}},{key:"attach",value:function(ve){var ye=this;this._validatePositions(),ve.hostElement.classList.add(dt),this._overlayRef=ve,this._boundingBox=ve.hostElement,this._pane=ve.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(function(){ye._isInitialRender=!0,ye.apply()})}},{key:"apply",value:function(){if(!this._isDisposed&&this._platform.isBrowser){if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();var ct,Jt,ve=this._originRect,ye=this._overlayRect,Te=this._viewportRect,we=[],ht=(0,B.Z)(this._preferredPositions);try{for(ht.s();!(Jt=ht.n()).done;){var Kt=Jt.value,Yt=this._getOriginPoint(ve,Kt),nn=this._getOverlayPoint(Yt,ye,Kt),cn=this._getOverlayFit(nn,ye,Te,Kt);if(cn.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Kt,Yt);this._canFitWithFlexibleDimensions(cn,nn,Te)?we.push({position:Kt,origin:Yt,overlayRect:ye,boundingBoxRect:this._calculateBoundingBoxRect(Yt,Kt)}):(!ct||ct.overlayFit.visibleArea<cn.visibleArea)&&(ct={overlayFit:cn,overlayPoint:nn,originPoint:Yt,position:Kt,overlayRect:ye})}}catch(tr){ht.e(tr)}finally{ht.f()}if(we.length){var Yn,yn=null,Tn=-1,Pn=(0,B.Z)(we);try{for(Pn.s();!(Yn=Pn.n()).done;){var Cn=Yn.value,Sn=Cn.boundingBoxRect.width*Cn.boundingBoxRect.height*(Cn.position.weight||1);Sn>Tn&&(Tn=Sn,yn=Cn)}}catch(tr){Pn.e(tr)}finally{Pn.f()}return this._isPushed=!1,void this._applyPosition(yn.position,yn.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(ct.position,ct.originPoint);this._applyPosition(ct.position,ct.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&xt(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(dt),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{key:"reapplyLastPosition",value:function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var ve=this._lastPosition||this._preferredPositions[0],ye=this._getOriginPoint(this._originRect,ve);this._applyPosition(ve,ye)}}},{key:"withScrollableContainers",value:function(ve){return this._scrollables=ve,this}},{key:"withPositions",value:function(ve){return this._preferredPositions=ve,-1===ve.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(ve){return this._viewportMargin=ve,this}},{key:"withFlexibleDimensions",value:function(){var ve=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=ve,this}},{key:"withGrowAfterOpen",value:function(){var ve=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=ve,this}},{key:"withPush",value:function(){var ve=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=ve,this}},{key:"withLockedPosition",value:function(){var ve=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=ve,this}},{key:"setOrigin",value:function(ve){return this._origin=ve,this}},{key:"withDefaultOffsetX",value:function(ve){return this._offsetX=ve,this}},{key:"withDefaultOffsetY",value:function(ve){return this._offsetY=ve,this}},{key:"withTransformOriginOn",value:function(ve){return this._transformOriginSelector=ve,this}},{key:"_getOriginPoint",value:function(ve,ye){var Te;if("center"==ye.originX)Te=ve.left+ve.width/2;else{var we=this._isRtl()?ve.right:ve.left,ct=this._isRtl()?ve.left:ve.right;Te="start"==ye.originX?we:ct}return{x:Te,y:"center"==ye.originY?ve.top+ve.height/2:"top"==ye.originY?ve.top:ve.bottom}}},{key:"_getOverlayPoint",value:function(ve,ye,Te){var we;return we="center"==Te.overlayX?-ye.width/2:"start"===Te.overlayX?this._isRtl()?-ye.width:0:this._isRtl()?0:-ye.width,{x:ve.x+we,y:ve.y+("center"==Te.overlayY?-ye.height/2:"top"==Te.overlayY?0:-ye.height)}}},{key:"_getOverlayFit",value:function(ve,ye,Te,we){var ct=Qt(ye),ht=ve.x,Jt=ve.y,Kt=this._getOffset(we,"x"),Yt=this._getOffset(we,"y");Kt&&(ht+=Kt),Yt&&(Jt+=Yt);var yn=0-Jt,Tn=Jt+ct.height-Te.height,Pn=this._subtractOverflows(ct.width,0-ht,ht+ct.width-Te.width),Yn=this._subtractOverflows(ct.height,yn,Tn),Cn=Pn*Yn;return{visibleArea:Cn,isCompletelyWithinViewport:ct.width*ct.height===Cn,fitsInViewportVertically:Yn===ct.height,fitsInViewportHorizontally:Pn==ct.width}}},{key:"_canFitWithFlexibleDimensions",value:function(ve,ye,Te){if(this._hasFlexibleDimensions){var we=Te.bottom-ye.y,ct=Te.right-ye.x,ht=vt(this._overlayRef.getConfig().minHeight),Jt=vt(this._overlayRef.getConfig().minWidth);return(ve.fitsInViewportVertically||null!=ht&&ht<=we)&&(ve.fitsInViewportHorizontally||null!=Jt&&Jt<=ct)}return!1}},{key:"_pushOverlayOnScreen",value:function(ve,ye,Te){if(this._previousPushAmount&&this._positionLocked)return{x:ve.x+this._previousPushAmount.x,y:ve.y+this._previousPushAmount.y};var nn,cn,we=Qt(ye),ct=this._viewportRect,ht=Math.max(ve.x+we.width-ct.width,0),Jt=Math.max(ve.y+we.height-ct.height,0),Kt=Math.max(ct.top-Te.top-ve.y,0),Yt=Math.max(ct.left-Te.left-ve.x,0);return this._previousPushAmount={x:nn=we.width<=ct.width?Yt||-ht:ve.x<this._viewportMargin?ct.left-Te.left-ve.x:0,y:cn=we.height<=ct.height?Kt||-Jt:ve.y<this._viewportMargin?ct.top-Te.top-ve.y:0},{x:ve.x+nn,y:ve.y+cn}}},{key:"_applyPosition",value:function(ve,ye){if(this._setTransformOrigin(ve),this._setOverlayElementStyles(ye,ve),this._setBoundingBoxStyles(ye,ve),ve.panelClass&&this._addPanelClasses(ve.panelClass),this._lastPosition=ve,this._positionChanges.observers.length){var Te=this._getScrollVisibility(),we=new it(ve,Te);this._positionChanges.next(we)}this._isInitialRender=!1}},{key:"_setTransformOrigin",value:function(ve){if(this._transformOriginSelector){var Te,ye=this._boundingBox.querySelectorAll(this._transformOriginSelector),we=ve.overlayY;Te="center"===ve.overlayX?"center":this._isRtl()?"start"===ve.overlayX?"right":"left":"start"===ve.overlayX?"left":"right";for(var ct=0;ct<ye.length;ct++)ye[ct].style.transformOrigin="".concat(Te," ").concat(we)}}},{key:"_calculateBoundingBoxRect",value:function(ve,ye){var ct,ht,Jt,yn,Tn,Pn,Te=this._viewportRect,we=this._isRtl();if("top"===ye.overlayY)ct=Te.height-(ht=ve.y)+this._viewportMargin;else if("bottom"===ye.overlayY)ct=Te.height-(Jt=Te.height-ve.y+2*this._viewportMargin)+this._viewportMargin;else{var Kt=Math.min(Te.bottom-ve.y+Te.top,ve.y),Yt=this._lastBoundingBoxSize.height;ht=ve.y-Kt,(ct=2*Kt)>Yt&&!this._isInitialRender&&!this._growAfterOpen&&(ht=ve.y-Yt/2)}if("end"===ye.overlayX&&!we||"start"===ye.overlayX&&we)Pn=Te.width-ve.x+this._viewportMargin,yn=ve.x-this._viewportMargin;else if("start"===ye.overlayX&&!we||"end"===ye.overlayX&&we)Tn=ve.x,yn=Te.right-ve.x;else{var Yn=Math.min(Te.right-ve.x+Te.left,ve.x),Cn=this._lastBoundingBoxSize.width;Tn=ve.x-Yn,(yn=2*Yn)>Cn&&!this._isInitialRender&&!this._growAfterOpen&&(Tn=ve.x-Cn/2)}return{top:ht,left:Tn,bottom:Jt,right:Pn,width:yn,height:ct}}},{key:"_setBoundingBoxStyles",value:function(ve,ye){var Te=this._calculateBoundingBoxRect(ve,ye);!this._isInitialRender&&!this._growAfterOpen&&(Te.height=Math.min(Te.height,this._lastBoundingBoxSize.height),Te.width=Math.min(Te.width,this._lastBoundingBoxSize.width));var we={};if(this._hasExactPosition())we.top=we.left="0",we.bottom=we.right=we.maxHeight=we.maxWidth="",we.width=we.height="100%";else{var ct=this._overlayRef.getConfig().maxHeight,ht=this._overlayRef.getConfig().maxWidth;we.height=(0,g.HM)(Te.height),we.top=(0,g.HM)(Te.top),we.bottom=(0,g.HM)(Te.bottom),we.width=(0,g.HM)(Te.width),we.left=(0,g.HM)(Te.left),we.right=(0,g.HM)(Te.right),we.alignItems="center"===ye.overlayX?"center":"end"===ye.overlayX?"flex-end":"flex-start",we.justifyContent="center"===ye.overlayY?"center":"bottom"===ye.overlayY?"flex-end":"flex-start",ct&&(we.maxHeight=(0,g.HM)(ct)),ht&&(we.maxWidth=(0,g.HM)(ht))}this._lastBoundingBoxSize=Te,xt(this._boundingBox.style,we)}},{key:"_resetBoundingBoxStyles",value:function(){xt(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){xt(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(ve,ye){var Te={},we=this._hasExactPosition(),ct=this._hasFlexibleDimensions,ht=this._overlayRef.getConfig();if(we){var Jt=this._viewportRuler.getViewportScrollPosition();xt(Te,this._getExactOverlayY(ye,ve,Jt)),xt(Te,this._getExactOverlayX(ye,ve,Jt))}else Te.position="static";var Kt="",Yt=this._getOffset(ye,"x"),nn=this._getOffset(ye,"y");Yt&&(Kt+="translateX(".concat(Yt,"px) ")),nn&&(Kt+="translateY(".concat(nn,"px)")),Te.transform=Kt.trim(),ht.maxHeight&&(we?Te.maxHeight=(0,g.HM)(ht.maxHeight):ct&&(Te.maxHeight="")),ht.maxWidth&&(we?Te.maxWidth=(0,g.HM)(ht.maxWidth):ct&&(Te.maxWidth="")),xt(this._pane.style,Te)}},{key:"_getExactOverlayY",value:function(ve,ye,Te){var we={top:"",bottom:""},ct=this._getOverlayPoint(ye,this._overlayRect,ve);this._isPushed&&(ct=this._pushOverlayOnScreen(ct,this._overlayRect,Te));var ht=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return ct.y-=ht,"bottom"===ve.overlayY?we.bottom="".concat(this._document.documentElement.clientHeight-(ct.y+this._overlayRect.height),"px"):we.top=(0,g.HM)(ct.y),we}},{key:"_getExactOverlayX",value:function(ve,ye,Te){var we={left:"",right:""},ct=this._getOverlayPoint(ye,this._overlayRect,ve);return this._isPushed&&(ct=this._pushOverlayOnScreen(ct,this._overlayRect,Te)),"right"==(this._isRtl()?"end"===ve.overlayX?"left":"right":"end"===ve.overlayX?"right":"left")?we.right="".concat(this._document.documentElement.clientWidth-(ct.x+this._overlayRect.width),"px"):we.left=(0,g.HM)(ct.x),we}},{key:"_getScrollVisibility",value:function(){var ve=this._getOriginRect(),ye=this._pane.getBoundingClientRect(),Te=this._scrollables.map(function(we){return we.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:se(ve,Te),isOriginOutsideView:ae(ve,Te),isOverlayClipped:se(ye,Te),isOverlayOutsideView:ae(ye,Te)}}},{key:"_subtractOverflows",value:function(ve){for(var ye=arguments.length,Te=new Array(ye>1?ye-1:0),we=1;we<ye;we++)Te[we-1]=arguments[we];return Te.reduce(function(ct,ht){return ct-Math.max(ht,0)},ve)}},{key:"_getNarrowedViewportRect",value:function(){var ve=this._document.documentElement.clientWidth,ye=this._document.documentElement.clientHeight,Te=this._viewportRuler.getViewportScrollPosition();return{top:Te.top+this._viewportMargin,left:Te.left+this._viewportMargin,right:Te.left+ve-this._viewportMargin,bottom:Te.top+ye-this._viewportMargin,width:ve-2*this._viewportMargin,height:ye-2*this._viewportMargin}}},{key:"_isRtl",value:function(){return"rtl"===this._overlayRef.getDirection()}},{key:"_hasExactPosition",value:function(){return!this._hasFlexibleDimensions||this._isPushed}},{key:"_getOffset",value:function(ve,ye){return"x"===ye?null==ve.offsetX?this._offsetX:ve.offsetX:null==ve.offsetY?this._offsetY:ve.offsetY}},{key:"_validatePositions",value:function(){}},{key:"_addPanelClasses",value:function(ve){var ye=this;this._pane&&(0,g.Eq)(ve).forEach(function(Te){""!==Te&&-1===ye._appliedPanelClasses.indexOf(Te)&&(ye._appliedPanelClasses.push(Te),ye._pane.classList.add(Te))})}},{key:"_clearPanelClasses",value:function(){var ve=this;this._pane&&(this._appliedPanelClasses.forEach(function(ye){ve._pane.classList.remove(ye)}),this._appliedPanelClasses=[])}},{key:"_getOriginRect",value:function(){var ve=this._origin;if(ve instanceof D.SBq)return ve.nativeElement.getBoundingClientRect();if(ve instanceof Element)return ve.getBoundingClientRect();var ye=ve.width||0,Te=ve.height||0;return{top:ve.y,bottom:ve.y+Te,left:ve.x,right:ve.x+ye,height:Te,width:ye}}}]),ut}();function xt(ut,He){for(var ve in He)He.hasOwnProperty(ve)&&(ut[ve]=He[ve]);return ut}function vt(ut){if("number"!=typeof ut&&null!=ut){var He=ut.split(Qe),ve=(0,U.Z)(He,2),Te=ve[1];return Te&&"px"!==Te?null:parseFloat(ve[0])}return ut||null}function Qt(ut){return{top:Math.floor(ut.top),right:Math.floor(ut.right),bottom:Math.floor(ut.bottom),left:Math.floor(ut.left),width:Math.floor(ut.width),height:Math.floor(ut.height)}}var Ht=function(){function ut(He,ve,ye,Te,we,ct,ht){(0,C.Z)(this,ut),this._preferredPositions=[],this._positionStrategy=new Bt(ye,Te,we,ct,ht).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(He,ve),this.onPositionChange=this._positionStrategy.positionChanges}return(0,v.Z)(ut,[{key:"positions",get:function(){return this._preferredPositions}},{key:"attach",value:function(ve){this._overlayRef=ve,this._positionStrategy.attach(ve),this._direction&&(ve.setDirection(this._direction),this._direction=null)}},{key:"dispose",value:function(){this._positionStrategy.dispose()}},{key:"detach",value:function(){this._positionStrategy.detach()}},{key:"apply",value:function(){this._positionStrategy.apply()}},{key:"recalculateLastPosition",value:function(){this._positionStrategy.reapplyLastPosition()}},{key:"withScrollableContainers",value:function(ve){this._positionStrategy.withScrollableContainers(ve)}},{key:"withFallbackPosition",value:function(ve,ye,Te,we){var ct=new Ae(ve,ye,Te,we);return this._preferredPositions.push(ct),this._positionStrategy.withPositions(this._preferredPositions),this}},{key:"withDirection",value:function(ve){return this._overlayRef?this._overlayRef.setDirection(ve):this._direction=ve,this}},{key:"withOffsetX",value:function(ve){return this._positionStrategy.withDefaultOffsetX(ve),this}},{key:"withOffsetY",value:function(ve){return this._positionStrategy.withDefaultOffsetY(ve),this}},{key:"withLockedPosition",value:function(ve){return this._positionStrategy.withLockedPosition(ve),this}},{key:"withPositions",value:function(ve){return this._preferredPositions=ve.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}},{key:"setOrigin",value:function(ve){return this._positionStrategy.setOrigin(ve),this}}]),ut}(),Ct="cdk-global-overlay-wrapper",Vt=function(){function ut(){(0,C.Z)(this,ut),this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}return(0,v.Z)(ut,[{key:"attach",value:function(ve){var ye=ve.getConfig();this._overlayRef=ve,this._width&&!ye.width&&ve.updateSize({width:this._width}),this._height&&!ye.height&&ve.updateSize({height:this._height}),ve.hostElement.classList.add(Ct),this._isDisposed=!1}},{key:"top",value:function(){var ve=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=ve,this._alignItems="flex-start",this}},{key:"left",value:function(){var ve=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=ve,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var ve=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=ve,this._alignItems="flex-end",this}},{key:"right",value:function(){var ve=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=ve,this._justifyContent="flex-end",this}},{key:"width",value:function(){var ve=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:ve}):this._width=ve,this}},{key:"height",value:function(){var ve=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:ve}):this._height=ve,this}},{key:"centerHorizontally",value:function(){var ve=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(ve),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var ve=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(ve),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var ve=this._overlayRef.overlayElement.style,ye=this._overlayRef.hostElement.style,Te=this._overlayRef.getConfig(),we=Te.width,ct=Te.height,ht=Te.maxWidth,Jt=Te.maxHeight,Kt=!("100%"!==we&&"100vw"!==we||ht&&"100%"!==ht&&"100vw"!==ht),Yt=!("100%"!==ct&&"100vh"!==ct||Jt&&"100%"!==Jt&&"100vh"!==Jt);ve.position=this._cssPosition,ve.marginLeft=Kt?"0":this._leftOffset,ve.marginTop=Yt?"0":this._topOffset,ve.marginBottom=this._bottomOffset,ve.marginRight=this._rightOffset,Kt?ye.justifyContent="flex-start":"center"===this._justifyContent?ye.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?ye.justifyContent="flex-end":"flex-end"===this._justifyContent&&(ye.justifyContent="flex-start"):ye.justifyContent=this._justifyContent,ye.alignItems=Yt?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var ve=this._overlayRef.overlayElement.style,ye=this._overlayRef.hostElement,Te=ye.style;ye.classList.remove(Ct),Te.justifyContent=Te.alignItems=ve.marginTop=ve.marginBottom=ve.marginLeft=ve.marginRight=ve.position="",this._overlayRef=null,this._isDisposed=!0}}}]),ut}(),bt=function(){var ut=function(){function He(ve,ye,Te,we){(0,C.Z)(this,He),this._viewportRuler=ve,this._document=ye,this._platform=Te,this._overlayContainer=we}return(0,v.Z)(He,[{key:"global",value:function(){return new Vt}},{key:"connectedTo",value:function(ye,Te,we){return new Ht(Te,we,ye,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(ye){return new Bt(ye,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),He}();return ut.\u0275fac=function(ve){return new(ve||ut)(D.LFG(P.rL),D.LFG(_.K0),D.LFG(M.t4),D.LFG(Oe))},ut.\u0275prov=D.Yz7({factory:function(){return new ut(D.LFG(P.rL),D.LFG(_.K0),D.LFG(M.t4),D.LFG(Oe))},token:ut,providedIn:"root"}),ut}(),en=0,Nt=function(){var ut=function(){function He(ve,ye,Te,we,ct,ht,Jt,Kt,Yt,nn,cn){(0,C.Z)(this,He),this.scrollStrategies=ve,this._overlayContainer=ye,this._componentFactoryResolver=Te,this._positionBuilder=we,this._keyboardDispatcher=ct,this._injector=ht,this._ngZone=Jt,this._document=Kt,this._directionality=Yt,this._location=nn,this._outsideClickDispatcher=cn}return(0,v.Z)(He,[{key:"create",value:function(ye){var Te=this._createHostElement(),we=this._createPaneElement(Te),ct=this._createPortalOutlet(we),ht=new oe(ye);return ht.direction=ht.direction||this._directionality.value,new je(ct,Te,we,ht,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(ye){var Te=this._document.createElement("div");return Te.id="cdk-overlay-".concat(en++),Te.classList.add("cdk-overlay-pane"),ye.appendChild(Te),Te}},{key:"_createHostElement",value:function(){var ye=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(ye),ye}},{key:"_createPortalOutlet",value:function(ye){return this._appRef||(this._appRef=this._injector.get(D.z2F)),new k.u0(ye,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),He}();return ut.\u0275fac=function(ve){return new(ve||ut)(D.LFG(le),D.LFG(Oe),D.LFG(D._Vd),D.LFG(bt),D.LFG(Ft),D.LFG(D.zs3),D.LFG(D.R0b),D.LFG(_.K0),D.LFG(A.Is),D.LFG(_.Ye),D.LFG(xe))},ut.\u0275prov=D.Yz7({token:ut,factory:ut.\u0275fac}),ut}(),rn=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],kn=new D.OlP("cdk-connected-overlay-scroll-strategy"),Nn=function(){var ut=function He(ve){(0,C.Z)(this,He),this.elementRef=ve};return ut.\u0275fac=function(ve){return new(ve||ut)(D.Y36(D.SBq))},ut.\u0275dir=D.lG2({type:ut,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),ut}(),In=function(){var ut=function(){function He(ve,ye,Te,we,ct){(0,C.Z)(this,He),this._overlay=ve,this._dir=ct,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=E.w.EMPTY,this._attachSubscription=E.w.EMPTY,this._detachSubscription=E.w.EMPTY,this._positionSubscription=E.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new D.vpe,this.positionChange=new D.vpe,this.attach=new D.vpe,this.detach=new D.vpe,this.overlayKeydown=new D.vpe,this.overlayOutsideClick=new D.vpe,this._templatePortal=new k.UE(ye,Te),this._scrollStrategyFactory=we,this.scrollStrategy=this._scrollStrategyFactory()}return(0,v.Z)(He,[{key:"offsetX",get:function(){return this._offsetX},set:function(ye){this._offsetX=ye,this._position&&this._updatePositionStrategy(this._position)}},{key:"offsetY",get:function(){return this._offsetY},set:function(ye){this._offsetY=ye,this._position&&this._updatePositionStrategy(this._position)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(ye){this._hasBackdrop=(0,g.Ig)(ye)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(ye){this._lockPosition=(0,g.Ig)(ye)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(ye){this._flexibleDimensions=(0,g.Ig)(ye)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(ye){this._growAfterOpen=(0,g.Ig)(ye)}},{key:"push",get:function(){return this._push},set:function(ye){this._push=(0,g.Ig)(ye)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}},{key:"ngOnDestroy",value:function(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}},{key:"ngOnChanges",value:function(ye){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),ye.origin&&this.open&&this._position.apply()),ye.open&&(this.open?this._attachOverlay():this._detachOverlay())}},{key:"_createOverlay",value:function(){var ye=this;(!this.positions||!this.positions.length)&&(this.positions=rn);var Te=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=Te.attachments().subscribe(function(){return ye.attach.emit()}),this._detachSubscription=Te.detachments().subscribe(function(){return ye.detach.emit()}),Te.keydownEvents().subscribe(function(we){ye.overlayKeydown.next(we),we.keyCode===j.hY&&!ye.disableClose&&!(0,j.Vb)(we)&&(we.preventDefault(),ye._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(function(we){ye.overlayOutsideClick.next(we)})}},{key:"_buildConfig",value:function(){var ye=this._position=this.positionStrategy||this._createPositionStrategy(),Te=new oe({direction:this._dir,positionStrategy:ye,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(Te.width=this.width),(this.height||0===this.height)&&(Te.height=this.height),(this.minWidth||0===this.minWidth)&&(Te.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Te.minHeight=this.minHeight),this.backdropClass&&(Te.backdropClass=this.backdropClass),this.panelClass&&(Te.panelClass=this.panelClass),Te}},{key:"_updatePositionStrategy",value:function(ye){var Te=this,we=this.positions.map(function(ct){return{originX:ct.originX,originY:ct.originY,overlayX:ct.overlayX,overlayY:ct.overlayY,offsetX:ct.offsetX||Te.offsetX,offsetY:ct.offsetY||Te.offsetY,panelClass:ct.panelClass||void 0}});return ye.setOrigin(this.origin.elementRef).withPositions(we).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}},{key:"_createPositionStrategy",value:function(){var ye=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(ye),ye}},{key:"_attachOverlay",value:function(){var ye=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(function(Te){ye.backdropClick.emit(Te)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,L.o)(function(){return ye.positionChange.observers.length>0})).subscribe(function(Te){ye.positionChange.emit(Te),0===ye.positionChange.observers.length&&ye._positionSubscription.unsubscribe()}))}},{key:"_detachOverlay",value:function(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}]),He}();return ut.\u0275fac=function(ve){return new(ve||ut)(D.Y36(Nt),D.Y36(D.Rgc),D.Y36(D.s_b),D.Y36(kn),D.Y36(A.Is,8))},ut.\u0275dir=D.lG2({type:ut,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[D.TTD]}),ut}(),Rn={provide:kn,deps:[Nt],useFactory:function(ut){return function(){return ut.scrollStrategies.reposition()}}},wn=function(){var ut=function He(){(0,C.Z)(this,He)};return ut.\u0275fac=function(ve){return new(ve||ut)},ut.\u0275mod=D.oAB({type:ut}),ut.\u0275inj=D.cJS({providers:[Nt,Rn],imports:[[A.vT,k.eL,P.Cl],P.Cl]}),ut}()},15427:function(ue,q,f){"use strict";f.d(q,{t4:function(){return T},ud:function(){return R},sA:function(){return L},ht:function(){return O},kV:function(){return S},Oy:function(){return K},_i:function(){return N},qK:function(){return P},i$:function(){return A},Mq:function(){return k}});var Z,U=f(18967),B=f(65508),V=f(40098);try{Z="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(z){Z=!1}var C,D,_,g,E,T=function(){var z=function J(ie){(0,U.Z)(this,J),this._platformId=ie,this.isBrowser=this._platformId?(0,V.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Z)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT};return z.\u0275fac=function(ie){return new(ie||z)(B.LFG(B.Lbi))},z.\u0275prov=B.Yz7({factory:function(){return new z(B.LFG(B.Lbi))},token:z,providedIn:"root"}),z}(),R=function(){var z=function J(){(0,U.Z)(this,J)};return z.\u0275fac=function(ie){return new(ie||z)},z.\u0275mod=B.oAB({type:z}),z.\u0275inj=B.cJS({}),z}(),v=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function P(){if(C)return C;if("object"!=typeof document||!document)return C=new Set(v);var z=document.createElement("input");return C=new Set(v.filter(function(J){return z.setAttribute("type",J),z.type===J}))}function A(z){return function(){if(null==D&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return D=!0}}))}finally{D=D||!1}return D}()?z:!!z.capture}function k(){if(null==g){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return g=!1;if("scrollBehavior"in document.documentElement.style)g=!0;else{var z=Element.prototype.scrollTo;g=!!z&&!/\{\s*\[native code\]\s*\}/.test(z.toString())}}return g}function N(){if("object"!=typeof document||!document)return 0;if(null==_){var z=document.createElement("div"),J=z.style;z.dir="rtl",J.width="1px",J.overflow="auto",J.visibility="hidden",J.pointerEvents="none",J.position="absolute";var ie=document.createElement("div"),te=ie.style;te.width="2px",te.height="1px",z.appendChild(ie),document.body.appendChild(z),_=0,0===z.scrollLeft&&(z.scrollLeft=1,_=0===z.scrollLeft?1:2),z.parentNode.removeChild(z)}return _}function S(z){if(function(){if(null==E){var z="undefined"!=typeof document?document.head:null;E=!(!z||!z.createShadowRoot&&!z.attachShadow)}return E}()){var J=z.getRootNode?z.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&J instanceof ShadowRoot)return J}return null}function O(){for(var z="undefined"!=typeof document&&document?document.activeElement:null;z&&z.shadowRoot;){var J=z.shadowRoot.activeElement;if(J===z)break;z=J}return z}function L(z){return z.composedPath?z.composedPath()[0]:z.target}var j="undefined"!=typeof window?window:{};function K(){return void 0!==j.__karma__&&!!j.__karma__||void 0!==j.jasmine&&!!j.jasmine||void 0!==j.jest&&!!j.jest||void 0!==j.Mocha&&!!j.Mocha}},80785:function(ue,q,f){"use strict";f.d(q,{en:function(){return O},ig:function(){return z},Pl:function(){return ie},C5:function(){return E},u0:function(){return j},eL:function(){return ae},UE:function(){return x}});var U=f(88009),B=f(20901),V=f(89200),Z=f(10509),T=f(97154),R=f(18967),C=f(14105),v=f(65508),P=f(40098),N=function(){function ce(){(0,R.Z)(this,ce)}return(0,C.Z)(ce,[{key:"attach",value:function(oe){return this._attachedHost=oe,oe.attach(this)}},{key:"detach",value:function(){var oe=this._attachedHost;null!=oe&&(this._attachedHost=null,oe.detach())}},{key:"isAttached",get:function(){return null!=this._attachedHost}},{key:"setAttachedHost",value:function(oe){this._attachedHost=oe}}]),ce}(),E=function(ce){(0,Z.Z)(oe,ce);var le=(0,T.Z)(oe);function oe(Ae,be,it,qe){var _t;return(0,R.Z)(this,oe),(_t=le.call(this)).component=Ae,_t.viewContainerRef=be,_t.injector=it,_t.componentFactoryResolver=qe,_t}return oe}(N),x=function(ce){(0,Z.Z)(oe,ce);var le=(0,T.Z)(oe);function oe(Ae,be,it){var qe;return(0,R.Z)(this,oe),(qe=le.call(this)).templateRef=Ae,qe.viewContainerRef=be,qe.context=it,qe}return(0,C.Z)(oe,[{key:"origin",get:function(){return this.templateRef.elementRef}},{key:"attach",value:function(be){var it=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=it,(0,B.Z)((0,V.Z)(oe.prototype),"attach",this).call(this,be)}},{key:"detach",value:function(){return this.context=void 0,(0,B.Z)((0,V.Z)(oe.prototype),"detach",this).call(this)}}]),oe}(N),S=function(ce){(0,Z.Z)(oe,ce);var le=(0,T.Z)(oe);function oe(Ae){var be;return(0,R.Z)(this,oe),(be=le.call(this)).element=Ae instanceof v.SBq?Ae.nativeElement:Ae,be}return oe}(N),O=function(){function ce(){(0,R.Z)(this,ce),this._isDisposed=!1,this.attachDomPortal=null}return(0,C.Z)(ce,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(oe){return oe instanceof E?(this._attachedPortal=oe,this.attachComponentPortal(oe)):oe instanceof x?(this._attachedPortal=oe,this.attachTemplatePortal(oe)):this.attachDomPortal&&oe instanceof S?(this._attachedPortal=oe,this.attachDomPortal(oe)):void 0}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(oe){this._disposeFn=oe}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}]),ce}(),j=function(ce){(0,Z.Z)(oe,ce);var le=(0,T.Z)(oe);function oe(Ae,be,it,qe,_t){var yt,Ft;return(0,R.Z)(this,oe),(Ft=le.call(this)).outletElement=Ae,Ft._componentFactoryResolver=be,Ft._appRef=it,Ft._defaultInjector=qe,Ft.attachDomPortal=function(xe){var Oe=xe.element,je=Ft._document.createComment("dom-portal");Oe.parentNode.insertBefore(je,Oe),Ft.outletElement.appendChild(Oe),Ft._attachedPortal=xe,(0,B.Z)((yt=(0,U.Z)(Ft),(0,V.Z)(oe.prototype)),"setDisposeFn",yt).call(yt,function(){je.parentNode&&je.parentNode.replaceChild(Oe,je)})},Ft._document=_t,Ft}return(0,C.Z)(oe,[{key:"attachComponentPortal",value:function(be){var yt,it=this,_t=(be.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(be.component);return be.viewContainerRef?(yt=be.viewContainerRef.createComponent(_t,be.viewContainerRef.length,be.injector||be.viewContainerRef.injector),this.setDisposeFn(function(){return yt.destroy()})):(yt=_t.create(be.injector||this._defaultInjector),this._appRef.attachView(yt.hostView),this.setDisposeFn(function(){it._appRef.detachView(yt.hostView),yt.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(yt)),this._attachedPortal=be,yt}},{key:"attachTemplatePortal",value:function(be){var it=this,qe=be.viewContainerRef,_t=qe.createEmbeddedView(be.templateRef,be.context);return _t.rootNodes.forEach(function(yt){return it.outletElement.appendChild(yt)}),_t.detectChanges(),this.setDisposeFn(function(){var yt=qe.indexOf(_t);-1!==yt&&qe.remove(yt)}),this._attachedPortal=be,_t}},{key:"dispose",value:function(){(0,B.Z)((0,V.Z)(oe.prototype),"dispose",this).call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(be){return be.hostView.rootNodes[0]}}]),oe}(O),z=function(){var ce=function(le){(0,Z.Z)(Ae,le);var oe=(0,T.Z)(Ae);function Ae(be,it){return(0,R.Z)(this,Ae),oe.call(this,be,it)}return Ae}(x);return ce.\u0275fac=function(oe){return new(oe||ce)(v.Y36(v.Rgc),v.Y36(v.s_b))},ce.\u0275dir=v.lG2({type:ce,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[v.qOj]}),ce}(),ie=function(){var ce=function(le){(0,Z.Z)(Ae,le);var oe=(0,T.Z)(Ae);function Ae(be,it,qe){var _t,yt;return(0,R.Z)(this,Ae),(yt=oe.call(this))._componentFactoryResolver=be,yt._viewContainerRef=it,yt._isInitialized=!1,yt.attached=new v.vpe,yt.attachDomPortal=function(Ft){var xe=Ft.element,Oe=yt._document.createComment("dom-portal");Ft.setAttachedHost((0,U.Z)(yt)),xe.parentNode.insertBefore(Oe,xe),yt._getRootNode().appendChild(xe),yt._attachedPortal=Ft,(0,B.Z)((_t=(0,U.Z)(yt),(0,V.Z)(Ae.prototype)),"setDisposeFn",_t).call(_t,function(){Oe.parentNode&&Oe.parentNode.replaceChild(xe,Oe)})},yt._document=qe,yt}return(0,C.Z)(Ae,[{key:"portal",get:function(){return this._attachedPortal},set:function(it){this.hasAttached()&&!it&&!this._isInitialized||(this.hasAttached()&&(0,B.Z)((0,V.Z)(Ae.prototype),"detach",this).call(this),it&&(0,B.Z)((0,V.Z)(Ae.prototype),"attach",this).call(this,it),this._attachedPortal=it)}},{key:"attachedRef",get:function(){return this._attachedRef}},{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){(0,B.Z)((0,V.Z)(Ae.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(it){it.setAttachedHost(this);var qe=null!=it.viewContainerRef?it.viewContainerRef:this._viewContainerRef,yt=(it.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(it.component),Ft=qe.createComponent(yt,qe.length,it.injector||qe.injector);return qe!==this._viewContainerRef&&this._getRootNode().appendChild(Ft.hostView.rootNodes[0]),(0,B.Z)((0,V.Z)(Ae.prototype),"setDisposeFn",this).call(this,function(){return Ft.destroy()}),this._attachedPortal=it,this._attachedRef=Ft,this.attached.emit(Ft),Ft}},{key:"attachTemplatePortal",value:function(it){var qe=this;it.setAttachedHost(this);var _t=this._viewContainerRef.createEmbeddedView(it.templateRef,it.context);return(0,B.Z)((0,V.Z)(Ae.prototype),"setDisposeFn",this).call(this,function(){return qe._viewContainerRef.clear()}),this._attachedPortal=it,this._attachedRef=_t,this.attached.emit(_t),_t}},{key:"_getRootNode",value:function(){var it=this._viewContainerRef.element.nativeElement;return it.nodeType===it.ELEMENT_NODE?it:it.parentNode}}]),Ae}(O);return ce.\u0275fac=function(oe){return new(oe||ce)(v.Y36(v._Vd),v.Y36(v.s_b),v.Y36(P.K0))},ce.\u0275dir=v.lG2({type:ce,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[v.qOj]}),ce}(),ae=function(){var ce=function le(){(0,R.Z)(this,le)};return ce.\u0275fac=function(oe){return new(oe||ce)},ce.\u0275mod=v.oAB({type:ce}),ce.\u0275inj=v.cJS({}),ce}()},28722:function(ue,q,f){"use strict";f.d(q,{PQ:function(){return Ft},ZD:function(){return vt},mF:function(){return yt},Cl:function(){return Qt},rL:function(){return Oe}}),f(27235),f(36683),f(20901),f(89200),f(10509),f(97154);var C=f(18967),v=f(14105),P=f(78081),D=f(65508),M=f(68707),A=f(43161),_=f(89797),g=f(33090),O=(f(58172),f(8285),f(5051),f(17504),f(76161),f(54562)),L=f(58780),j=f(44213),te=(f(57682),f(4363),f(34487),f(61106),f(15427)),ae=f(40098),se=f(8392);f(37429);var yt=function(){var Ht=function(){function Ct(Vt,bt,en){(0,C.Z)(this,Ct),this._ngZone=Vt,this._platform=bt,this._scrolled=new M.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=en}return(0,v.Z)(Ct,[{key:"register",value:function(bt){var en=this;this.scrollContainers.has(bt)||this.scrollContainers.set(bt,bt.elementScrolled().subscribe(function(){return en._scrolled.next(bt)}))}},{key:"deregister",value:function(bt){var en=this.scrollContainers.get(bt);en&&(en.unsubscribe(),this.scrollContainers.delete(bt))}},{key:"scrolled",value:function(){var bt=this,en=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new _.y(function(Nt){bt._globalSubscription||bt._addGlobalListener();var rn=en>0?bt._scrolled.pipe((0,O.e)(en)).subscribe(Nt):bt._scrolled.subscribe(Nt);return bt._scrolledCount++,function(){rn.unsubscribe(),bt._scrolledCount--,bt._scrolledCount||bt._removeGlobalListener()}}):(0,A.of)()}},{key:"ngOnDestroy",value:function(){var bt=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(en,Nt){return bt.deregister(Nt)}),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(bt,en){var Nt=this.getAncestorScrollContainers(bt);return this.scrolled(en).pipe((0,L.h)(function(rn){return!rn||Nt.indexOf(rn)>-1}))}},{key:"getAncestorScrollContainers",value:function(bt){var en=this,Nt=[];return this.scrollContainers.forEach(function(rn,kn){en._scrollableContainsElement(kn,bt)&&Nt.push(kn)}),Nt}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_scrollableContainsElement",value:function(bt,en){var Nt=(0,P.fI)(en),rn=bt.getElementRef().nativeElement;do{if(Nt==rn)return!0}while(Nt=Nt.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var bt=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){var en=bt._getWindow();return(0,g.R)(en.document,"scroll").subscribe(function(){return bt._scrolled.next()})})}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),Ct}();return Ht.\u0275fac=function(Vt){return new(Vt||Ht)(D.LFG(D.R0b),D.LFG(te.t4),D.LFG(ae.K0,8))},Ht.\u0275prov=D.Yz7({factory:function(){return new Ht(D.LFG(D.R0b),D.LFG(te.t4),D.LFG(ae.K0,8))},token:Ht,providedIn:"root"}),Ht}(),Ft=function(){var Ht=function(){function Ct(Vt,bt,en,Nt){var rn=this;(0,C.Z)(this,Ct),this.elementRef=Vt,this.scrollDispatcher=bt,this.ngZone=en,this.dir=Nt,this._destroyed=new M.xQ,this._elementScrolled=new _.y(function(kn){return rn.ngZone.runOutsideAngular(function(){return(0,g.R)(rn.elementRef.nativeElement,"scroll").pipe((0,j.R)(rn._destroyed)).subscribe(kn)})})}return(0,v.Z)(Ct,[{key:"ngOnInit",value:function(){this.scrollDispatcher.register(this)}},{key:"ngOnDestroy",value:function(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}},{key:"elementScrolled",value:function(){return this._elementScrolled}},{key:"getElementRef",value:function(){return this.elementRef}},{key:"scrollTo",value:function(bt){var en=this.elementRef.nativeElement,Nt=this.dir&&"rtl"==this.dir.value;null==bt.left&&(bt.left=Nt?bt.end:bt.start),null==bt.right&&(bt.right=Nt?bt.start:bt.end),null!=bt.bottom&&(bt.top=en.scrollHeight-en.clientHeight-bt.bottom),Nt&&0!=(0,te._i)()?(null!=bt.left&&(bt.right=en.scrollWidth-en.clientWidth-bt.left),2==(0,te._i)()?bt.left=bt.right:1==(0,te._i)()&&(bt.left=bt.right?-bt.right:bt.right)):null!=bt.right&&(bt.left=en.scrollWidth-en.clientWidth-bt.right),this._applyScrollToOptions(bt)}},{key:"_applyScrollToOptions",value:function(bt){var en=this.elementRef.nativeElement;(0,te.Mq)()?en.scrollTo(bt):(null!=bt.top&&(en.scrollTop=bt.top),null!=bt.left&&(en.scrollLeft=bt.left))}},{key:"measureScrollOffset",value:function(bt){var en="left",rn=this.elementRef.nativeElement;if("top"==bt)return rn.scrollTop;if("bottom"==bt)return rn.scrollHeight-rn.clientHeight-rn.scrollTop;var kn=this.dir&&"rtl"==this.dir.value;return"start"==bt?bt=kn?"right":en:"end"==bt&&(bt=kn?en:"right"),kn&&2==(0,te._i)()?bt==en?rn.scrollWidth-rn.clientWidth-rn.scrollLeft:rn.scrollLeft:kn&&1==(0,te._i)()?bt==en?rn.scrollLeft+rn.scrollWidth-rn.clientWidth:-rn.scrollLeft:bt==en?rn.scrollLeft:rn.scrollWidth-rn.clientWidth-rn.scrollLeft}}]),Ct}();return Ht.\u0275fac=function(Vt){return new(Vt||Ht)(D.Y36(D.SBq),D.Y36(yt),D.Y36(D.R0b),D.Y36(se.Is,8))},Ht.\u0275dir=D.lG2({type:Ht,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),Ht}(),Oe=function(){var Ht=function(){function Ct(Vt,bt,en){var Nt=this;(0,C.Z)(this,Ct),this._platform=Vt,this._change=new M.xQ,this._changeListener=function(rn){Nt._change.next(rn)},this._document=en,bt.runOutsideAngular(function(){if(Vt.isBrowser){var rn=Nt._getWindow();rn.addEventListener("resize",Nt._changeListener),rn.addEventListener("orientationchange",Nt._changeListener)}Nt.change().subscribe(function(){return Nt._viewportSize=null})})}return(0,v.Z)(Ct,[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var bt=this._getWindow();bt.removeEventListener("resize",this._changeListener),bt.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var bt={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),bt}},{key:"getViewportRect",value:function(){var bt=this.getViewportScrollPosition(),en=this.getViewportSize(),Nt=en.width,rn=en.height;return{top:bt.top,left:bt.left,bottom:bt.top+rn,right:bt.left+Nt,height:rn,width:Nt}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var bt=this._document,en=this._getWindow(),Nt=bt.documentElement,rn=Nt.getBoundingClientRect();return{top:-rn.top||bt.body.scrollTop||en.scrollY||Nt.scrollTop||0,left:-rn.left||bt.body.scrollLeft||en.scrollX||Nt.scrollLeft||0}}},{key:"change",value:function(){var bt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return bt>0?this._change.pipe((0,O.e)(bt)):this._change}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_updateViewportSize",value:function(){var bt=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:bt.innerWidth,height:bt.innerHeight}:{width:0,height:0}}}]),Ct}();return Ht.\u0275fac=function(Vt){return new(Vt||Ht)(D.LFG(te.t4),D.LFG(D.R0b),D.LFG(ae.K0,8))},Ht.\u0275prov=D.Yz7({factory:function(){return new Ht(D.LFG(te.t4),D.LFG(D.R0b),D.LFG(ae.K0,8))},token:Ht,providedIn:"root"}),Ht}(),vt=function(){var Ht=function Ct(){(0,C.Z)(this,Ct)};return Ht.\u0275fac=function(Vt){return new(Vt||Ht)},Ht.\u0275mod=D.oAB({type:Ht}),Ht.\u0275inj=D.cJS({}),Ht}(),Qt=function(){var Ht=function Ct(){(0,C.Z)(this,Ct)};return Ht.\u0275fac=function(Vt){return new(Vt||Ht)},Ht.\u0275mod=D.oAB({type:Ht}),Ht.\u0275inj=D.cJS({imports:[[se.vT,te.ud,vt],se.vT,vt]}),Ht}()},78081:function(ue,q,f){"use strict";f.d(q,{t6:function(){return Z},Eq:function(){return T},Ig:function(){return B},HM:function(){return R},fI:function(){return C},su:function(){return V}});var U=f(65508);function B(P){return null!=P&&"false"!=="".concat(P)}function V(P){var D=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Z(P)?Number(P):D}function Z(P){return!isNaN(parseFloat(P))&&!isNaN(Number(P))}function T(P){return Array.isArray(P)?P:[P]}function R(P){return null==P?"":"string"==typeof P?P:"".concat(P,"px")}function C(P){return P instanceof U.SBq?P.nativeElement:P}},40098:function(ue,q,f){"use strict";f.d(q,{mr:function(){return J},Ov:function(){return fo},ez:function(){return Ln},K0:function(){return _},Do:function(){return te},V_:function(){return N},Ye:function(){return ae},S$:function(){return K},mk:function(){return Xt},sg:function(){return jn},O5:function(){return bi},PC:function(){return ji},RF:function(){return Po},n9:function(){return Ko},ED:function(){return ko},tP:function(){return Yi},b0:function(){return ie},lw:function(){return g},EM:function(){return ja},JF:function(){return bl},NF:function(){return zi},w_:function(){return A},bD:function(){return Da},q:function(){return P},Mx:function(){return Gt},HT:function(){return M}});var U=f(36683),B=f(27235),V=f(10509),Z=f(97154),T=f(14105),R=f(18967),C=f(65508),v=null;function P(){return v}function M(pe){v||(v=pe)}var A=function pe(){(0,R.Z)(this,pe)},_=new C.OlP("DocumentToken"),g=function(){var pe=function(){function Fe(){(0,R.Z)(this,Fe)}return(0,T.Z)(Fe,[{key:"historyGo",value:function(We){throw new Error("Not implemented")}}]),Fe}();return pe.\u0275fac=function($e){return new($e||pe)},pe.\u0275prov=(0,C.Yz7)({factory:k,token:pe,providedIn:"platform"}),pe}();function k(){return(0,C.LFG)(E)}var N=new C.OlP("Location Initialized"),E=function(){var pe=function(Fe){(0,V.Z)(We,Fe);var $e=(0,Z.Z)(We);function We(re){var fe;return(0,R.Z)(this,We),(fe=$e.call(this))._doc=re,fe._init(),fe}return(0,T.Z)(We,[{key:"_init",value:function(){this.location=window.location,this._history=window.history}},{key:"getBaseHrefFromDOM",value:function(){return P().getBaseHref(this._doc)}},{key:"onPopState",value:function(fe){var _e=P().getGlobalEventTarget(this._doc,"window");return _e.addEventListener("popstate",fe,!1),function(){return _e.removeEventListener("popstate",fe)}}},{key:"onHashChange",value:function(fe){var _e=P().getGlobalEventTarget(this._doc,"window");return _e.addEventListener("hashchange",fe,!1),function(){return _e.removeEventListener("hashchange",fe)}}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(fe){this.location.pathname=fe}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}},{key:"pushState",value:function(fe,_e,Ce){x()?this._history.pushState(fe,_e,Ce):this.location.hash=Ce}},{key:"replaceState",value:function(fe,_e,Ce){x()?this._history.replaceState(fe,_e,Ce):this.location.hash=Ce}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"historyGo",value:function(){var fe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._history.go(fe)}},{key:"getState",value:function(){return this._history.state}}]),We}(g);return pe.\u0275fac=function($e){return new($e||pe)(C.LFG(_))},pe.\u0275prov=(0,C.Yz7)({factory:S,token:pe,providedIn:"platform"}),pe}();function x(){return!!window.history.pushState}function S(){return new E((0,C.LFG)(_))}function O(pe,Fe){if(0==pe.length)return Fe;if(0==Fe.length)return pe;var $e=0;return pe.endsWith("/")&&$e++,Fe.startsWith("/")&&$e++,2==$e?pe+Fe.substring(1):1==$e?pe+Fe:pe+"/"+Fe}function L(pe){var Fe=pe.match(/#|\?|$/),$e=Fe&&Fe.index||pe.length;return pe.slice(0,$e-("/"===pe[$e-1]?1:0))+pe.slice($e)}function j(pe){return pe&&"?"!==pe[0]?"?"+pe:pe}var K=function(){var pe=function(){function Fe(){(0,R.Z)(this,Fe)}return(0,T.Z)(Fe,[{key:"historyGo",value:function(We){throw new Error("Not implemented")}}]),Fe}();return pe.\u0275fac=function($e){return new($e||pe)},pe.\u0275prov=(0,C.Yz7)({factory:z,token:pe,providedIn:"root"}),pe}();function z(pe){var Fe=(0,C.LFG)(_).location;return new ie((0,C.LFG)(g),Fe&&Fe.origin||"")}var J=new C.OlP("appBaseHref"),ie=function(){var pe=function(Fe){(0,V.Z)(We,Fe);var $e=(0,Z.Z)(We);function We(re,fe){var _e;if((0,R.Z)(this,We),(_e=$e.call(this))._platformLocation=re,_e._removeListenerFns=[],null==fe&&(fe=_e._platformLocation.getBaseHrefFromDOM()),null==fe)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return _e._baseHref=fe,_e}return(0,T.Z)(We,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(fe){this._removeListenerFns.push(this._platformLocation.onPopState(fe),this._platformLocation.onHashChange(fe))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(fe){return O(this._baseHref,fe)}},{key:"path",value:function(){var fe=arguments.length>0&&void 0!==arguments[0]&&arguments[0],_e=this._platformLocation.pathname+j(this._platformLocation.search),Ce=this._platformLocation.hash;return Ce&&fe?"".concat(_e).concat(Ce):_e}},{key:"pushState",value:function(fe,_e,Ce,Re){var Ge=this.prepareExternalUrl(Ce+j(Re));this._platformLocation.pushState(fe,_e,Ge)}},{key:"replaceState",value:function(fe,_e,Ce,Re){var Ge=this.prepareExternalUrl(Ce+j(Re));this._platformLocation.replaceState(fe,_e,Ge)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var _e,Ce,fe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(Ce=(_e=this._platformLocation).historyGo)||void 0===Ce||Ce.call(_e,fe)}}]),We}(K);return pe.\u0275fac=function($e){return new($e||pe)(C.LFG(g),C.LFG(J,8))},pe.\u0275prov=C.Yz7({token:pe,factory:pe.\u0275fac}),pe}(),te=function(){var pe=function(Fe){(0,V.Z)(We,Fe);var $e=(0,Z.Z)(We);function We(re,fe){var _e;return(0,R.Z)(this,We),(_e=$e.call(this))._platformLocation=re,_e._baseHref="",_e._removeListenerFns=[],null!=fe&&(_e._baseHref=fe),_e}return(0,T.Z)(We,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(fe){this._removeListenerFns.push(this._platformLocation.onPopState(fe),this._platformLocation.onHashChange(fe))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var _e=this._platformLocation.hash;return null==_e&&(_e="#"),_e.length>0?_e.substring(1):_e}},{key:"prepareExternalUrl",value:function(fe){var _e=O(this._baseHref,fe);return _e.length>0?"#"+_e:_e}},{key:"pushState",value:function(fe,_e,Ce,Re){var Ge=this.prepareExternalUrl(Ce+j(Re));0==Ge.length&&(Ge=this._platformLocation.pathname),this._platformLocation.pushState(fe,_e,Ge)}},{key:"replaceState",value:function(fe,_e,Ce,Re){var Ge=this.prepareExternalUrl(Ce+j(Re));0==Ge.length&&(Ge=this._platformLocation.pathname),this._platformLocation.replaceState(fe,_e,Ge)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var _e,Ce,fe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(Ce=(_e=this._platformLocation).historyGo)||void 0===Ce||Ce.call(_e,fe)}}]),We}(K);return pe.\u0275fac=function($e){return new($e||pe)(C.LFG(g),C.LFG(J,8))},pe.\u0275prov=C.Yz7({token:pe,factory:pe.\u0275fac}),pe}(),ae=function(){var pe=function(){function Fe($e,We){var re=this;(0,R.Z)(this,Fe),this._subject=new C.vpe,this._urlChangeListeners=[],this._platformStrategy=$e;var fe=this._platformStrategy.getBaseHref();this._platformLocation=We,this._baseHref=L(le(fe)),this._platformStrategy.onPopState(function(_e){re._subject.emit({url:re.path(!0),pop:!0,state:_e.state,type:_e.type})})}return(0,T.Z)(Fe,[{key:"path",value:function(){var We=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(We))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(We){var re=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(We+j(re))}},{key:"normalize",value:function(We){return Fe.stripTrailingSlash(function(pe,Fe){return pe&&Fe.startsWith(pe)?Fe.substring(pe.length):Fe}(this._baseHref,le(We)))}},{key:"prepareExternalUrl",value:function(We){return We&&"/"!==We[0]&&(We="/"+We),this._platformStrategy.prepareExternalUrl(We)}},{key:"go",value:function(We){var re=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",fe=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(fe,"",We,re),this._notifyUrlChangeListeners(this.prepareExternalUrl(We+j(re)),fe)}},{key:"replaceState",value:function(We){var re=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",fe=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(fe,"",We,re),this._notifyUrlChangeListeners(this.prepareExternalUrl(We+j(re)),fe)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"historyGo",value:function(){var re,fe,We=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(fe=(re=this._platformStrategy).historyGo)||void 0===fe||fe.call(re,We)}},{key:"onUrlChange",value:function(We){var re=this;this._urlChangeListeners.push(We),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(function(fe){re._notifyUrlChangeListeners(fe.url,fe.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var We=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",re=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach(function(fe){return fe(We,re)})}},{key:"subscribe",value:function(We,re,fe){return this._subject.subscribe({next:We,error:re,complete:fe})}}]),Fe}();return pe.\u0275fac=function($e){return new($e||pe)(C.LFG(K),C.LFG(g))},pe.normalizeQueryParams=j,pe.joinWithSlash=O,pe.stripTrailingSlash=L,pe.\u0275prov=(0,C.Yz7)({factory:se,token:pe,providedIn:"root"}),pe}();function se(){return new ae((0,C.LFG)(K),(0,C.LFG)(g))}function le(pe){return pe.replace(/\/index.html$/,"")}var be=function(pe){return pe[pe.Zero=0]="Zero",pe[pe.One=1]="One",pe[pe.Two=2]="Two",pe[pe.Few=3]="Few",pe[pe.Many=4]="Many",pe[pe.Other=5]="Other",pe}({}),kn=C.kL8,Ot=function pe(){(0,R.Z)(this,pe)},Pt=function(){var pe=function(Fe){(0,V.Z)(We,Fe);var $e=(0,Z.Z)(We);function We(re){var fe;return(0,R.Z)(this,We),(fe=$e.call(this)).locale=re,fe}return(0,T.Z)(We,[{key:"getPluralCategory",value:function(fe,_e){switch(kn(_e||this.locale)(fe)){case be.Zero:return"zero";case be.One:return"one";case be.Two:return"two";case be.Few:return"few";case be.Many:return"many";default:return"other"}}}]),We}(Ot);return pe.\u0275fac=function($e){return new($e||pe)(C.LFG(C.soG))},pe.\u0275prov=C.Yz7({token:pe,factory:pe.\u0275fac}),pe}();function Gt(pe,Fe){Fe=encodeURIComponent(Fe);var We,$e=(0,U.Z)(pe.split(";"));try{for($e.s();!(We=$e.n()).done;){var re=We.value,fe=re.indexOf("="),_e=-1==fe?[re,""]:[re.slice(0,fe),re.slice(fe+1)],Ce=(0,B.Z)(_e,2),Ge=Ce[1];if(Ce[0].trim()===Fe)return decodeURIComponent(Ge)}}catch(St){$e.e(St)}finally{$e.f()}return null}var Xt=function(){var pe=function(){function Fe($e,We,re,fe){(0,R.Z)(this,Fe),this._iterableDiffers=$e,this._keyValueDiffers=We,this._ngEl=re,this._renderer=fe,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return(0,T.Z)(Fe,[{key:"klass",set:function(We){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof We?We.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(We){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof We?We.split(/\s+/):We,this._rawClass&&((0,C.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}},{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var We=this._iterableDiffer.diff(this._rawClass);We&&this._applyIterableChanges(We)}else if(this._keyValueDiffer){var re=this._keyValueDiffer.diff(this._rawClass);re&&this._applyKeyValueChanges(re)}}},{key:"_applyKeyValueChanges",value:function(We){var re=this;We.forEachAddedItem(function(fe){return re._toggleClass(fe.key,fe.currentValue)}),We.forEachChangedItem(function(fe){return re._toggleClass(fe.key,fe.currentValue)}),We.forEachRemovedItem(function(fe){fe.previousValue&&re._toggleClass(fe.key,!1)})}},{key:"_applyIterableChanges",value:function(We){var re=this;We.forEachAddedItem(function(fe){if("string"!=typeof fe.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got ".concat((0,C.AaK)(fe.item)));re._toggleClass(fe.item,!0)}),We.forEachRemovedItem(function(fe){return re._toggleClass(fe.item,!1)})}},{key:"_applyClasses",value:function(We){var re=this;We&&(Array.isArray(We)||We instanceof Set?We.forEach(function(fe){return re._toggleClass(fe,!0)}):Object.keys(We).forEach(function(fe){return re._toggleClass(fe,!!We[fe])}))}},{key:"_removeClasses",value:function(We){var re=this;We&&(Array.isArray(We)||We instanceof Set?We.forEach(function(fe){return re._toggleClass(fe,!1)}):Object.keys(We).forEach(function(fe){return re._toggleClass(fe,!1)}))}},{key:"_toggleClass",value:function(We,re){var fe=this;(We=We.trim())&&We.split(/\s+/g).forEach(function(_e){re?fe._renderer.addClass(fe._ngEl.nativeElement,_e):fe._renderer.removeClass(fe._ngEl.nativeElement,_e)})}}]),Fe}();return pe.\u0275fac=function($e){return new($e||pe)(C.Y36(C.ZZ4),C.Y36(C.aQg),C.Y36(C.SBq),C.Y36(C.Qsj))},pe.\u0275dir=C.lG2({type:pe,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),pe}(),Gn=function(){function pe(Fe,$e,We,re){(0,R.Z)(this,pe),this.$implicit=Fe,this.ngForOf=$e,this.index=We,this.count=re}return(0,T.Z)(pe,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),pe}(),jn=function(){var pe=function(){function Fe($e,We,re){(0,R.Z)(this,Fe),this._viewContainer=$e,this._template=We,this._differs=re,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return(0,T.Z)(Fe,[{key:"ngForOf",set:function(We){this._ngForOf=We,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function(We){this._trackByFn=We}},{key:"ngForTemplate",set:function(We){We&&(this._template=We)}},{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var We=this._ngForOf;if(!this._differ&&We)try{this._differ=this._differs.find(We).create(this.ngForTrackBy)}catch(fe){throw new Error("Cannot find a differ supporting object '".concat(We,"' of type '").concat(function(pe){return pe.name||typeof pe}(We),"'. NgFor only supports binding to Iterables such as Arrays."))}}if(this._differ){var re=this._differ.diff(this._ngForOf);re&&this._applyChanges(re)}}},{key:"_applyChanges",value:function(We){var re=this,fe=[];We.forEachOperation(function(St,ft,gt){if(null==St.previousIndex){var Xr=re._viewContainer.createEmbeddedView(re._template,new Gn(null,re._ngForOf,-1,-1),null===gt?void 0:gt),jr=new zn(St,Xr);fe.push(jr)}else if(null==gt)re._viewContainer.remove(null===ft?void 0:ft);else if(null!==ft){var Pi=re._viewContainer.get(ft);re._viewContainer.move(Pi,gt);var ya=new zn(St,Pi);fe.push(ya)}});for(var _e=0;_e<fe.length;_e++)this._perViewChange(fe[_e].view,fe[_e].record);for(var Ce=0,Re=this._viewContainer.length;Ce<Re;Ce++){var Ge=this._viewContainer.get(Ce);Ge.context.index=Ce,Ge.context.count=Re,Ge.context.ngForOf=this._ngForOf}We.forEachIdentityChange(function(St){re._viewContainer.get(St.currentIndex).context.$implicit=St.item})}},{key:"_perViewChange",value:function(We,re){We.context.$implicit=re.item}}],[{key:"ngTemplateContextGuard",value:function(We,re){return!0}}]),Fe}();return pe.\u0275fac=function($e){return new($e||pe)(C.Y36(C.s_b),C.Y36(C.Rgc),C.Y36(C.ZZ4))},pe.\u0275dir=C.lG2({type:pe,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),pe}(),zn=function pe(Fe,$e){(0,R.Z)(this,pe),this.record=Fe,this.view=$e},bi=function(){var pe=function(){function Fe($e,We){(0,R.Z)(this,Fe),this._viewContainer=$e,this._context=new io,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=We}return(0,T.Z)(Fe,[{key:"ngIf",set:function(We){this._context.$implicit=this._context.ngIf=We,this._updateView()}},{key:"ngIfThen",set:function(We){bo("ngIfThen",We),this._thenTemplateRef=We,this._thenViewRef=null,this._updateView()}},{key:"ngIfElse",set:function(We){bo("ngIfElse",We),this._elseTemplateRef=We,this._elseViewRef=null,this._updateView()}},{key:"_updateView",value:function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}}],[{key:"ngTemplateContextGuard",value:function(We,re){return!0}}]),Fe}();return pe.\u0275fac=function($e){return new($e||pe)(C.Y36(C.s_b),C.Y36(C.Rgc))},pe.\u0275dir=C.lG2({type:pe,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),pe}(),io=function pe(){(0,R.Z)(this,pe),this.$implicit=null,this.ngIf=null};function bo(pe,Fe){if(Fe&&!Fe.createEmbeddedView)throw new Error("".concat(pe," must be a TemplateRef, but received '").concat((0,C.AaK)(Fe),"'."))}var Fi=function(){function pe(Fe,$e){(0,R.Z)(this,pe),this._viewContainerRef=Fe,this._templateRef=$e,this._created=!1}return(0,T.Z)(pe,[{key:"create",value:function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}},{key:"destroy",value:function(){this._created=!1,this._viewContainerRef.clear()}},{key:"enforceState",value:function($e){$e&&!this._created?this.create():!$e&&this._created&&this.destroy()}}]),pe}(),Po=function(){var pe=function(){function Fe(){(0,R.Z)(this,Fe),this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return(0,T.Z)(Fe,[{key:"ngSwitch",set:function(We){this._ngSwitch=We,0===this._caseCount&&this._updateDefaultCases(!0)}},{key:"_addCase",value:function(){return this._caseCount++}},{key:"_addDefault",value:function(We){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(We)}},{key:"_matchCase",value:function(We){var re=We==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||re,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),re}},{key:"_updateDefaultCases",value:function(We){if(this._defaultViews&&We!==this._defaultUsed){this._defaultUsed=We;for(var re=0;re<this._defaultViews.length;re++)this._defaultViews[re].enforceState(We)}}}]),Fe}();return pe.\u0275fac=function($e){return new($e||pe)},pe.\u0275dir=C.lG2({type:pe,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),pe}(),Ko=function(){var pe=function(){function Fe($e,We,re){(0,R.Z)(this,Fe),this.ngSwitch=re,re._addCase(),this._view=new Fi($e,We)}return(0,T.Z)(Fe,[{key:"ngDoCheck",value:function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}]),Fe}();return pe.\u0275fac=function($e){return new($e||pe)(C.Y36(C.s_b),C.Y36(C.Rgc),C.Y36(Po,9))},pe.\u0275dir=C.lG2({type:pe,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),pe}(),ko=function(){var pe=function Fe($e,We,re){(0,R.Z)(this,Fe),re._addDefault(new Fi($e,We))};return pe.\u0275fac=function($e){return new($e||pe)(C.Y36(C.s_b),C.Y36(C.Rgc),C.Y36(Po,9))},pe.\u0275dir=C.lG2({type:pe,selectors:[["","ngSwitchDefault",""]]}),pe}(),ji=function(){var pe=function(){function Fe($e,We,re){(0,R.Z)(this,Fe),this._ngEl=$e,this._differs=We,this._renderer=re,this._ngStyle=null,this._differ=null}return(0,T.Z)(Fe,[{key:"ngStyle",set:function(We){this._ngStyle=We,!this._differ&&We&&(this._differ=this._differs.find(We).create())}},{key:"ngDoCheck",value:function(){if(this._differ){var We=this._differ.diff(this._ngStyle);We&&this._applyChanges(We)}}},{key:"_setStyle",value:function(We,re){var fe=We.split("."),_e=(0,B.Z)(fe,2),Ce=_e[0],Re=_e[1];null!=(re=null!=re&&Re?"".concat(re).concat(Re):re)?this._renderer.setStyle(this._ngEl.nativeElement,Ce,re):this._renderer.removeStyle(this._ngEl.nativeElement,Ce)}},{key:"_applyChanges",value:function(We){var re=this;We.forEachRemovedItem(function(fe){return re._setStyle(fe.key,null)}),We.forEachAddedItem(function(fe){return re._setStyle(fe.key,fe.currentValue)}),We.forEachChangedItem(function(fe){return re._setStyle(fe.key,fe.currentValue)})}}]),Fe}();return pe.\u0275fac=function($e){return new($e||pe)(C.Y36(C.SBq),C.Y36(C.aQg),C.Y36(C.Qsj))},pe.\u0275dir=C.lG2({type:pe,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),pe}(),Yi=function(){var pe=function(){function Fe($e){(0,R.Z)(this,Fe),this._viewContainerRef=$e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}return(0,T.Z)(Fe,[{key:"ngOnChanges",value:function(We){if(We.ngTemplateOutlet){var re=this._viewContainerRef;this._viewRef&&re.remove(re.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?re.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&We.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}]),Fe}();return pe.\u0275fac=function($e){return new($e||pe)(C.Y36(C.s_b))},pe.\u0275dir=C.lG2({type:pe,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[C.TTD]}),pe}();var Ji=function(){function pe(){(0,R.Z)(this,pe)}return(0,T.Z)(pe,[{key:"createSubscription",value:function($e,We){return $e.subscribe({next:We,error:function(fe){throw fe}})}},{key:"dispose",value:function($e){$e.unsubscribe()}},{key:"onDestroy",value:function($e){$e.unsubscribe()}}]),pe}(),vn=new(function(){function pe(){(0,R.Z)(this,pe)}return(0,T.Z)(pe,[{key:"createSubscription",value:function($e,We){return $e.then(We,function(re){throw re})}},{key:"dispose",value:function($e){}},{key:"onDestroy",value:function($e){}}]),pe}()),fr=new Ji,fo=function(){var pe=function(){function Fe($e){(0,R.Z)(this,Fe),this._ref=$e,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}return(0,T.Z)(Fe,[{key:"ngOnDestroy",value:function(){this._subscription&&this._dispose()}},{key:"transform",value:function(We){return this._obj?We!==this._obj?(this._dispose(),this.transform(We)):this._latestValue:(We&&this._subscribe(We),this._latestValue)}},{key:"_subscribe",value:function(We){var re=this;this._obj=We,this._strategy=this._selectStrategy(We),this._subscription=this._strategy.createSubscription(We,function(fe){return re._updateLatestValue(We,fe)})}},{key:"_selectStrategy",value:function(We){if((0,C.QGY)(We))return vn;if((0,C.F4k)(We))return fr;throw function(pe,Fe){return Error("InvalidPipeArgument: '".concat(Fe,"' for pipe '").concat((0,C.AaK)(pe),"'"))}(Fe,We)}},{key:"_dispose",value:function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}},{key:"_updateLatestValue",value:function(We,re){We===this._obj&&(this._latestValue=re,this._ref.markForCheck())}}]),Fe}();return pe.\u0275fac=function($e){return new($e||pe)(C.Y36(C.sBO,16))},pe.\u0275pipe=C.Yjl({name:"async",type:pe,pure:!1}),pe}(),Ln=function(){var pe=function Fe(){(0,R.Z)(this,Fe)};return pe.\u0275fac=function($e){return new($e||pe)},pe.\u0275mod=C.oAB({type:pe}),pe.\u0275inj=C.cJS({providers:[{provide:Ot,useClass:Pt}]}),pe}(),Da="browser";function zi(pe){return pe===Da}var ja=function(){var pe=function Fe(){(0,R.Z)(this,Fe)};return pe.\u0275prov=(0,C.Yz7)({token:pe,providedIn:"root",factory:function(){return new _l((0,C.LFG)(_),window)}}),pe}(),_l=function(){function pe(Fe,$e){(0,R.Z)(this,pe),this.document=Fe,this.window=$e,this.offset=function(){return[0,0]}}return(0,T.Z)(pe,[{key:"setOffset",value:function($e){this.offset=Array.isArray($e)?function(){return $e}:$e}},{key:"getScrollPosition",value:function(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}},{key:"scrollToPosition",value:function($e){this.supportsScrolling()&&this.window.scrollTo($e[0],$e[1])}},{key:"scrollToAnchor",value:function($e){if(this.supportsScrolling()){var We=function(pe,Fe){var $e=pe.getElementById(Fe)||pe.getElementsByName(Fe)[0];if($e)return $e;if("function"==typeof pe.createTreeWalker&&pe.body&&(pe.body.createShadowRoot||pe.body.attachShadow))for(var We=pe.createTreeWalker(pe.body,NodeFilter.SHOW_ELEMENT),re=We.currentNode;re;){var fe=re.shadowRoot;if(fe){var _e=fe.getElementById(Fe)||fe.querySelector('[name="'.concat(Fe,'"]'));if(_e)return _e}re=We.nextNode()}return null}(this.document,$e);We&&(this.scrollToElement(We),this.attemptFocus(We))}}},{key:"setHistoryScrollRestoration",value:function($e){if(this.supportScrollRestoration()){var We=this.window.history;We&&We.scrollRestoration&&(We.scrollRestoration=$e)}}},{key:"scrollToElement",value:function($e){var We=$e.getBoundingClientRect(),re=We.left+this.window.pageXOffset,fe=We.top+this.window.pageYOffset,_e=this.offset();this.window.scrollTo(re-_e[0],fe-_e[1])}},{key:"attemptFocus",value:function($e){return $e.focus(),this.document.activeElement===$e}},{key:"supportScrollRestoration",value:function(){try{if(!this.supportsScrolling())return!1;var $e=tn(this.window.history)||tn(Object.getPrototypeOf(this.window.history));return!(!$e||!$e.writable&&!$e.set)}catch(We){return!1}}},{key:"supportsScrolling",value:function(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch($e){return!1}}}]),pe}();function tn(pe){return Object.getOwnPropertyDescriptor(pe,"scrollRestoration")}var bl=function pe(){(0,R.Z)(this,pe)}},75472:function(ue,q,f){"use strict";f.d(q,{eN:function(){return yt},JF:function(){return wn},UA:function(){return qe}});var U=f(10509),B=f(97154),V=f(27235),Z=f(10629),T=f(14105),R=f(18967),C=f(40098),v=f(65508),P=f(43161),D=f(89797),M=f(38575),A=f(58780),_=f(85639),g=function He(){(0,R.Z)(this,He)},k=function He(){(0,R.Z)(this,He)},N=function(){function He(ve){var ye=this;(0,R.Z)(this,He),this.normalizedNames=new Map,this.lazyUpdate=null,ve?this.lazyInit="string"==typeof ve?function(){ye.headers=new Map,ve.split("\n").forEach(function(Te){var we=Te.indexOf(":");if(we>0){var ct=Te.slice(0,we),ht=ct.toLowerCase(),Jt=Te.slice(we+1).trim();ye.maybeSetNormalizedName(ct,ht),ye.headers.has(ht)?ye.headers.get(ht).push(Jt):ye.headers.set(ht,[Jt])}})}:function(){ye.headers=new Map,Object.keys(ve).forEach(function(Te){var we=ve[Te],ct=Te.toLowerCase();"string"==typeof we&&(we=[we]),we.length>0&&(ye.headers.set(ct,we),ye.maybeSetNormalizedName(Te,ct))})}:this.headers=new Map}return(0,T.Z)(He,[{key:"has",value:function(ye){return this.init(),this.headers.has(ye.toLowerCase())}},{key:"get",value:function(ye){this.init();var Te=this.headers.get(ye.toLowerCase());return Te&&Te.length>0?Te[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(ye){return this.init(),this.headers.get(ye.toLowerCase())||null}},{key:"append",value:function(ye,Te){return this.clone({name:ye,value:Te,op:"a"})}},{key:"set",value:function(ye,Te){return this.clone({name:ye,value:Te,op:"s"})}},{key:"delete",value:function(ye,Te){return this.clone({name:ye,value:Te,op:"d"})}},{key:"maybeSetNormalizedName",value:function(ye,Te){this.normalizedNames.has(Te)||this.normalizedNames.set(Te,ye)}},{key:"init",value:function(){var ye=this;this.lazyInit&&(this.lazyInit instanceof He?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(Te){return ye.applyUpdate(Te)}),this.lazyUpdate=null))}},{key:"copyFrom",value:function(ye){var Te=this;ye.init(),Array.from(ye.headers.keys()).forEach(function(we){Te.headers.set(we,ye.headers.get(we)),Te.normalizedNames.set(we,ye.normalizedNames.get(we))})}},{key:"clone",value:function(ye){var Te=new He;return Te.lazyInit=this.lazyInit&&this.lazyInit instanceof He?this.lazyInit:this,Te.lazyUpdate=(this.lazyUpdate||[]).concat([ye]),Te}},{key:"applyUpdate",value:function(ye){var Te=ye.name.toLowerCase();switch(ye.op){case"a":case"s":var we=ye.value;if("string"==typeof we&&(we=[we]),0===we.length)return;this.maybeSetNormalizedName(ye.name,Te);var ct=("a"===ye.op?this.headers.get(Te):void 0)||[];ct.push.apply(ct,(0,Z.Z)(we)),this.headers.set(Te,ct);break;case"d":var ht=ye.value;if(ht){var Jt=this.headers.get(Te);if(!Jt)return;0===(Jt=Jt.filter(function(Kt){return-1===ht.indexOf(Kt)})).length?(this.headers.delete(Te),this.normalizedNames.delete(Te)):this.headers.set(Te,Jt)}else this.headers.delete(Te),this.normalizedNames.delete(Te)}}},{key:"forEach",value:function(ye){var Te=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(we){return ye(Te.normalizedNames.get(we),Te.headers.get(we))})}}]),He}(),E=function(){function He(){(0,R.Z)(this,He)}return(0,T.Z)(He,[{key:"encodeKey",value:function(ye){return L(ye)}},{key:"encodeValue",value:function(ye){return L(ye)}},{key:"decodeKey",value:function(ye){return decodeURIComponent(ye)}},{key:"decodeValue",value:function(ye){return decodeURIComponent(ye)}}]),He}();function x(He,ve){var ye=new Map;return He.length>0&&He.replace(/^\?/,"").split("&").forEach(function(we){var ct=we.indexOf("="),ht=-1==ct?[ve.decodeKey(we),""]:[ve.decodeKey(we.slice(0,ct)),ve.decodeValue(we.slice(ct+1))],Jt=(0,V.Z)(ht,2),Kt=Jt[0],Yt=Jt[1],nn=ye.get(Kt)||[];nn.push(Yt),ye.set(Kt,nn)}),ye}var S=/%(\d[a-f0-9])/gi,O={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function L(He){return encodeURIComponent(He).replace(S,function(ve,ye){var Te;return null!==(Te=O[ye])&&void 0!==Te?Te:ve})}function j(He){return"".concat(He)}var K=function(){function He(){var ve=this,ye=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if((0,R.Z)(this,He),this.updates=null,this.cloneFrom=null,this.encoder=ye.encoder||new E,ye.fromString){if(ye.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=x(ye.fromString,this.encoder)}else ye.fromObject?(this.map=new Map,Object.keys(ye.fromObject).forEach(function(Te){var we=ye.fromObject[Te];ve.map.set(Te,Array.isArray(we)?we:[we])})):this.map=null}return(0,T.Z)(He,[{key:"has",value:function(ye){return this.init(),this.map.has(ye)}},{key:"get",value:function(ye){this.init();var Te=this.map.get(ye);return Te?Te[0]:null}},{key:"getAll",value:function(ye){return this.init(),this.map.get(ye)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(ye,Te){return this.clone({param:ye,value:Te,op:"a"})}},{key:"appendAll",value:function(ye){var Te=[];return Object.keys(ye).forEach(function(we){var ct=ye[we];Array.isArray(ct)?ct.forEach(function(ht){Te.push({param:we,value:ht,op:"a"})}):Te.push({param:we,value:ct,op:"a"})}),this.clone(Te)}},{key:"set",value:function(ye,Te){return this.clone({param:ye,value:Te,op:"s"})}},{key:"delete",value:function(ye,Te){return this.clone({param:ye,value:Te,op:"d"})}},{key:"toString",value:function(){var ye=this;return this.init(),this.keys().map(function(Te){var we=ye.encoder.encodeKey(Te);return ye.map.get(Te).map(function(ct){return we+"="+ye.encoder.encodeValue(ct)}).join("&")}).filter(function(Te){return""!==Te}).join("&")}},{key:"clone",value:function(ye){var Te=new He({encoder:this.encoder});return Te.cloneFrom=this.cloneFrom||this,Te.updates=(this.updates||[]).concat(ye),Te}},{key:"init",value:function(){var ye=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(Te){return ye.map.set(Te,ye.cloneFrom.map.get(Te))}),this.updates.forEach(function(Te){switch(Te.op){case"a":case"s":var we=("a"===Te.op?ye.map.get(Te.param):void 0)||[];we.push(j(Te.value)),ye.map.set(Te.param,we);break;case"d":if(void 0===Te.value){ye.map.delete(Te.param);break}var ct=ye.map.get(Te.param)||[],ht=ct.indexOf(j(Te.value));-1!==ht&&ct.splice(ht,1),ct.length>0?ye.map.set(Te.param,ct):ye.map.delete(Te.param)}}),this.cloneFrom=this.updates=null)}}]),He}(),J=function(){function He(){(0,R.Z)(this,He),this.map=new Map}return(0,T.Z)(He,[{key:"set",value:function(ye,Te){return this.map.set(ye,Te),this}},{key:"get",value:function(ye){return this.map.has(ye)||this.map.set(ye,ye.defaultValue()),this.map.get(ye)}},{key:"delete",value:function(ye){return this.map.delete(ye),this}},{key:"keys",value:function(){return this.map.keys()}}]),He}();function te(He){return"undefined"!=typeof ArrayBuffer&&He instanceof ArrayBuffer}function ae(He){return"undefined"!=typeof Blob&&He instanceof Blob}function se(He){return"undefined"!=typeof FormData&&He instanceof FormData}var le=function(){function He(ve,ye,Te,we){var ct;if((0,R.Z)(this,He),this.url=ye,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=ve.toUpperCase(),function(He){switch(He){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||we?(this.body=void 0!==Te?Te:null,ct=we):ct=Te,ct&&(this.reportProgress=!!ct.reportProgress,this.withCredentials=!!ct.withCredentials,ct.responseType&&(this.responseType=ct.responseType),ct.headers&&(this.headers=ct.headers),ct.context&&(this.context=ct.context),ct.params&&(this.params=ct.params)),this.headers||(this.headers=new N),this.context||(this.context=new J),this.params){var ht=this.params.toString();if(0===ht.length)this.urlWithParams=ye;else{var Jt=ye.indexOf("?");this.urlWithParams=ye+(-1===Jt?"?":Jt<ye.length-1?"&":"")+ht}}else this.params=new K,this.urlWithParams=ye}return(0,T.Z)(He,[{key:"serializeBody",value:function(){return null===this.body?null:te(this.body)||ae(this.body)||se(this.body)||function(He){return"undefined"!=typeof URLSearchParams&&He instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof K?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}},{key:"detectContentTypeHeader",value:function(){return null===this.body||se(this.body)?null:ae(this.body)?this.body.type||null:te(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof K?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}},{key:"clone",value:function(){var Te,ye=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},we=ye.method||this.method,ct=ye.url||this.url,ht=ye.responseType||this.responseType,Jt=void 0!==ye.body?ye.body:this.body,Kt=void 0!==ye.withCredentials?ye.withCredentials:this.withCredentials,Yt=void 0!==ye.reportProgress?ye.reportProgress:this.reportProgress,nn=ye.headers||this.headers,cn=ye.params||this.params,yn=null!==(Te=ye.context)&&void 0!==Te?Te:this.context;return void 0!==ye.setHeaders&&(nn=Object.keys(ye.setHeaders).reduce(function(Tn,Pn){return Tn.set(Pn,ye.setHeaders[Pn])},nn)),ye.setParams&&(cn=Object.keys(ye.setParams).reduce(function(Tn,Pn){return Tn.set(Pn,ye.setParams[Pn])},cn)),new He(we,ct,Jt,{params:cn,headers:nn,context:yn,reportProgress:Yt,responseType:ht,withCredentials:Kt})}}]),He}(),oe=function(He){return He[He.Sent=0]="Sent",He[He.UploadProgress=1]="UploadProgress",He[He.ResponseHeader=2]="ResponseHeader",He[He.DownloadProgress=3]="DownloadProgress",He[He.Response=4]="Response",He[He.User=5]="User",He}({}),Ae=function He(ve){var ye=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,Te=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";(0,R.Z)(this,He),this.headers=ve.headers||new N,this.status=void 0!==ve.status?ve.status:ye,this.statusText=ve.statusText||Te,this.url=ve.url||null,this.ok=this.status>=200&&this.status<300},be=function(He){(0,U.Z)(ye,He);var ve=(0,B.Z)(ye);function ye(){var Te,we=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,R.Z)(this,ye),(Te=ve.call(this,we)).type=oe.ResponseHeader,Te}return(0,T.Z)(ye,[{key:"clone",value:function(){var we=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new ye({headers:we.headers||this.headers,status:void 0!==we.status?we.status:this.status,statusText:we.statusText||this.statusText,url:we.url||this.url||void 0})}}]),ye}(Ae),it=function(He){(0,U.Z)(ye,He);var ve=(0,B.Z)(ye);function ye(){var Te,we=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,R.Z)(this,ye),(Te=ve.call(this,we)).type=oe.Response,Te.body=void 0!==we.body?we.body:null,Te}return(0,T.Z)(ye,[{key:"clone",value:function(){var we=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new ye({body:void 0!==we.body?we.body:this.body,headers:we.headers||this.headers,status:void 0!==we.status?we.status:this.status,statusText:we.statusText||this.statusText,url:we.url||this.url||void 0})}}]),ye}(Ae),qe=function(He){(0,U.Z)(ye,He);var ve=(0,B.Z)(ye);function ye(Te){var we;return(0,R.Z)(this,ye),(we=ve.call(this,Te,0,"Unknown Error")).name="HttpErrorResponse",we.ok=!1,we.message=we.status>=200&&we.status<300?"Http failure during parsing for ".concat(Te.url||"(unknown url)"):"Http failure response for ".concat(Te.url||"(unknown url)",": ").concat(Te.status," ").concat(Te.statusText),we.error=Te.error||null,we}return ye}(Ae);function _t(He,ve){return{body:ve,headers:He.headers,context:He.context,observe:He.observe,params:He.params,reportProgress:He.reportProgress,responseType:He.responseType,withCredentials:He.withCredentials}}var yt=function(){var He=function(){function ve(ye){(0,R.Z)(this,ve),this.handler=ye}return(0,T.Z)(ve,[{key:"request",value:function(Te,we){var Jt,ct=this,ht=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Te instanceof le)Jt=Te;else{var Kt=void 0;Kt=ht.headers instanceof N?ht.headers:new N(ht.headers);var Yt=void 0;ht.params&&(Yt=ht.params instanceof K?ht.params:new K({fromObject:ht.params})),Jt=new le(Te,we,void 0!==ht.body?ht.body:null,{headers:Kt,context:ht.context,params:Yt,reportProgress:ht.reportProgress,responseType:ht.responseType||"json",withCredentials:ht.withCredentials})}var nn=(0,P.of)(Jt).pipe((0,M.b)(function(yn){return ct.handler.handle(yn)}));if(Te instanceof le||"events"===ht.observe)return nn;var cn=nn.pipe((0,A.h)(function(yn){return yn instanceof it}));switch(ht.observe||"body"){case"body":switch(Jt.responseType){case"arraybuffer":return cn.pipe((0,_.U)(function(yn){if(null!==yn.body&&!(yn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return yn.body}));case"blob":return cn.pipe((0,_.U)(function(yn){if(null!==yn.body&&!(yn.body instanceof Blob))throw new Error("Response is not a Blob.");return yn.body}));case"text":return cn.pipe((0,_.U)(function(yn){if(null!==yn.body&&"string"!=typeof yn.body)throw new Error("Response is not a string.");return yn.body}));case"json":default:return cn.pipe((0,_.U)(function(yn){return yn.body}))}case"response":return cn;default:throw new Error("Unreachable: unhandled observe type ".concat(ht.observe,"}"))}}},{key:"delete",value:function(Te){var we=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",Te,we)}},{key:"get",value:function(Te){var we=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",Te,we)}},{key:"head",value:function(Te){var we=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",Te,we)}},{key:"jsonp",value:function(Te,we){return this.request("JSONP",Te,{params:(new K).append(we,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(Te){var we=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",Te,we)}},{key:"patch",value:function(Te,we){var ct=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",Te,_t(ct,we))}},{key:"post",value:function(Te,we){var ct=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",Te,_t(ct,we))}},{key:"put",value:function(Te,we){var ct=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",Te,_t(ct,we))}}]),ve}();return He.\u0275fac=function(ye){return new(ye||He)(v.LFG(g))},He.\u0275prov=v.Yz7({token:He,factory:He.\u0275fac}),He}(),Ft=function(){function He(ve,ye){(0,R.Z)(this,He),this.next=ve,this.interceptor=ye}return(0,T.Z)(He,[{key:"handle",value:function(ye){return this.interceptor.intercept(ye,this.next)}}]),He}(),xe=new v.OlP("HTTP_INTERCEPTORS"),Oe=function(){var He=function(){function ve(){(0,R.Z)(this,ve)}return(0,T.Z)(ve,[{key:"intercept",value:function(Te,we){return we.handle(Te)}}]),ve}();return He.\u0275fac=function(ye){return new(ye||He)},He.\u0275prov=v.Yz7({token:He,factory:He.\u0275fac}),He}(),Ht=/^\)\]\}',?\n/,Vt=function(){var He=function(){function ve(ye){(0,R.Z)(this,ve),this.xhrFactory=ye}return(0,T.Z)(ve,[{key:"handle",value:function(Te){var we=this;if("JSONP"===Te.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new D.y(function(ct){var ht=we.xhrFactory.build();if(ht.open(Te.method,Te.urlWithParams),Te.withCredentials&&(ht.withCredentials=!0),Te.headers.forEach(function(Sn,tr){return ht.setRequestHeader(Sn,tr.join(","))}),Te.headers.has("Accept")||ht.setRequestHeader("Accept","application/json, text/plain, */*"),!Te.headers.has("Content-Type")){var Jt=Te.detectContentTypeHeader();null!==Jt&&ht.setRequestHeader("Content-Type",Jt)}if(Te.responseType){var Kt=Te.responseType.toLowerCase();ht.responseType="json"!==Kt?Kt:"text"}var Yt=Te.serializeBody(),nn=null,cn=function(){if(null!==nn)return nn;var tr=1223===ht.status?204:ht.status,cr=ht.statusText||"OK",Ut=new N(ht.getAllResponseHeaders()),Rt=function(He){return"responseURL"in He&&He.responseURL?He.responseURL:/^X-Request-URL:/m.test(He.getAllResponseHeaders())?He.getResponseHeader("X-Request-URL"):null}(ht)||Te.url;return nn=new be({headers:Ut,status:tr,statusText:cr,url:Rt})},yn=function(){var tr=cn(),cr=tr.headers,Ut=tr.status,Rt=tr.statusText,Lt=tr.url,Pe=null;204!==Ut&&(Pe=void 0===ht.response?ht.responseText:ht.response),0===Ut&&(Ut=Pe?200:0);var rt=Ut>=200&&Ut<300;if("json"===Te.responseType&&"string"==typeof Pe){var he=Pe;Pe=Pe.replace(Ht,"");try{Pe=""!==Pe?JSON.parse(Pe):null}catch(Ie){Pe=he,rt&&(rt=!1,Pe={error:Ie,text:Pe})}}rt?(ct.next(new it({body:Pe,headers:cr,status:Ut,statusText:Rt,url:Lt||void 0})),ct.complete()):ct.error(new qe({error:Pe,headers:cr,status:Ut,statusText:Rt,url:Lt||void 0}))},Tn=function(tr){var cr=cn(),Rt=new qe({error:tr,status:ht.status||0,statusText:ht.statusText||"Unknown Error",url:cr.url||void 0});ct.error(Rt)},Pn=!1,Yn=function(tr){Pn||(ct.next(cn()),Pn=!0);var cr={type:oe.DownloadProgress,loaded:tr.loaded};tr.lengthComputable&&(cr.total=tr.total),"text"===Te.responseType&&!!ht.responseText&&(cr.partialText=ht.responseText),ct.next(cr)},Cn=function(tr){var cr={type:oe.UploadProgress,loaded:tr.loaded};tr.lengthComputable&&(cr.total=tr.total),ct.next(cr)};return ht.addEventListener("load",yn),ht.addEventListener("error",Tn),ht.addEventListener("timeout",Tn),ht.addEventListener("abort",Tn),Te.reportProgress&&(ht.addEventListener("progress",Yn),null!==Yt&&ht.upload&&ht.upload.addEventListener("progress",Cn)),ht.send(Yt),ct.next({type:oe.Sent}),function(){ht.removeEventListener("error",Tn),ht.removeEventListener("abort",Tn),ht.removeEventListener("load",yn),ht.removeEventListener("timeout",Tn),Te.reportProgress&&(ht.removeEventListener("progress",Yn),null!==Yt&&ht.upload&&ht.upload.removeEventListener("progress",Cn)),ht.readyState!==ht.DONE&&ht.abort()}})}}]),ve}();return He.\u0275fac=function(ye){return new(ye||He)(v.LFG(C.JF))},He.\u0275prov=v.Yz7({token:He,factory:He.\u0275fac}),He}(),bt=new v.OlP("XSRF_COOKIE_NAME"),en=new v.OlP("XSRF_HEADER_NAME"),Nt=function He(){(0,R.Z)(this,He)},rn=function(){var He=function(){function ve(ye,Te,we){(0,R.Z)(this,ve),this.doc=ye,this.platform=Te,this.cookieName=we,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return(0,T.Z)(ve,[{key:"getToken",value:function(){if("server"===this.platform)return null;var Te=this.doc.cookie||"";return Te!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,C.Mx)(Te,this.cookieName),this.lastCookieString=Te),this.lastToken}}]),ve}();return He.\u0275fac=function(ye){return new(ye||He)(v.LFG(C.K0),v.LFG(v.Lbi),v.LFG(bt))},He.\u0275prov=v.Yz7({token:He,factory:He.\u0275fac}),He}(),kn=function(){var He=function(){function ve(ye,Te){(0,R.Z)(this,ve),this.tokenService=ye,this.headerName=Te}return(0,T.Z)(ve,[{key:"intercept",value:function(Te,we){var ct=Te.url.toLowerCase();if("GET"===Te.method||"HEAD"===Te.method||ct.startsWith("http://")||ct.startsWith("https://"))return we.handle(Te);var ht=this.tokenService.getToken();return null!==ht&&!Te.headers.has(this.headerName)&&(Te=Te.clone({headers:Te.headers.set(this.headerName,ht)})),we.handle(Te)}}]),ve}();return He.\u0275fac=function(ye){return new(ye||He)(v.LFG(Nt),v.LFG(en))},He.\u0275prov=v.Yz7({token:He,factory:He.\u0275fac}),He}(),Nn=function(){var He=function(){function ve(ye,Te){(0,R.Z)(this,ve),this.backend=ye,this.injector=Te,this.chain=null}return(0,T.Z)(ve,[{key:"handle",value:function(Te){if(null===this.chain){var we=this.injector.get(xe,[]);this.chain=we.reduceRight(function(ct,ht){return new Ft(ct,ht)},this.backend)}return this.chain.handle(Te)}}]),ve}();return He.\u0275fac=function(ye){return new(ye||He)(v.LFG(k),v.LFG(v.zs3))},He.\u0275prov=v.Yz7({token:He,factory:He.\u0275fac}),He}(),Rn=function(){var He=function(){function ve(){(0,R.Z)(this,ve)}return(0,T.Z)(ve,null,[{key:"disable",value:function(){return{ngModule:ve,providers:[{provide:kn,useClass:Oe}]}}},{key:"withOptions",value:function(){var Te=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:ve,providers:[Te.cookieName?{provide:bt,useValue:Te.cookieName}:[],Te.headerName?{provide:en,useValue:Te.headerName}:[]]}}}]),ve}();return He.\u0275fac=function(ye){return new(ye||He)},He.\u0275mod=v.oAB({type:He}),He.\u0275inj=v.cJS({providers:[kn,{provide:xe,useExisting:kn,multi:!0},{provide:Nt,useClass:rn},{provide:bt,useValue:"XSRF-TOKEN"},{provide:en,useValue:"X-XSRF-TOKEN"}]}),He}(),wn=function(){var He=function ve(){(0,R.Z)(this,ve)};return He.\u0275fac=function(ye){return new(ye||He)},He.\u0275mod=v.oAB({type:He}),He.\u0275inj=v.cJS({providers:[yt,{provide:g,useClass:Nn},Vt,{provide:k,useExisting:Vt}],imports:[[Rn.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),He}()},65508:function(ue,q,f){"use strict";f.d(q,{deG:function(){return hD},tb:function(){return cE},AFp:function(){return l_},ip1:function(){return qu},CZH:function(){return wf},hGG:function(){return DR},z2F:function(){return wm},sBO:function(){return WI},Sil:function(){return Mf},_Vd:function(){return Zg},EJc:function(){return ZC},SBq:function(){return fu},a5r:function(){return mR},qLn:function(){return Tc},vpe:function(){return vu},gxx:function(){return $p},tBr:function(){return yh},XFs:function(){return ht},OlP:function(){return Ro},zs3:function(){return Za},ZZ4:function(){return Lg},aQg:function(){return Fg},soG:function(){return ym},YKP:function(){return J0},v3s:function(){return EE},h0i:function(){return Bc},PXZ:function(){return WC},R0b:function(){return _u},FiY:function(){return Ru},Lbi:function(){return uE},g9A:function(){return Qd},n_E:function(){return Hc},Qsj:function(){return TB},FYo:function(){return G0},JOm:function(){return Eh},Tiy:function(){return ik},q3G:function(){return Os},tp0:function(){return Nu},EAV:function(){return hR},Rgc:function(){return tm},dDg:function(){return yE},DyG:function(){return ru},GfV:function(){return ok},s_b:function(){return vf},ifc:function(){return Cn},eFA:function(){return GC},G48:function(){return SE},Gpc:function(){return te},f3M:function(){return SD},X6Q:function(){return Sm},_c5:function(){return TR},VLi:function(){return oR},c2e:function(){return dE},zSh:function(){return Bh},wAp:function(){return Og},vHH:function(){return le},EiD:function(){return Sc},mCW:function(){return Fp},qzn:function(){return Al},JVY:function(){return MD},pB0:function(){return Wy},eBb:function(){return Hv},L6k:function(){return AD},LAX:function(){return Ch},cg1:function(){return Rw},Tjo:function(){return CR},kL8:function(){return KP},yhl:function(){return MT},dqk:function(){return Rt},sIi:function(){return Oc},CqO:function(){return m0},QGY:function(){return Fc},F4k:function(){return ew},RDi:function(){return Ce},AaK:function(){return z},z3N:function(){return su},qOj:function(){return Vh},TTD:function(){return ja},_Bn:function(){return PI},xp6:function(){return rO},uIk:function(){return Xb},Q2q:function(){return Sg},zWS:function(){return $b},Tol:function(){return x0},Gre:function(){return Aw},ekj:function(){return T0},Suo:function(){return Wk},Xpm:function(){return qr},lG2:function(){return wi},Yz7:function(){return In},cJS:function(){return Rn},oAB:function(){return yo},Yjl:function(){return ro},Y36:function(){return Wh},_UZ:function(){return $x},GkF:function(){return f0},BQk:function(){return Gh},ynx:function(){return Wd},qZA:function(){return p0},TgZ:function(){return wg},EpF:function(){return h0},n5z:function(){return mh},Ikx:function(){return Pw},LFG:function(){return Wo},$8M:function(){return Iy},NdJ:function(){return v0},CRH:function(){return Gk},kcU:function(){return Du},O4$:function(){return ch},oxw:function(){return Yh},ALo:function(){return Wi},lcZ:function(){return to},xi3:function(){return Kg},Hsn:function(){return ow},F$t:function(){return iw},Q6J:function(){return xg},s9C:function(){return g0},MGl:function(){return pf},hYB:function(){return Mg},DdM:function(){return k3},VKq:function(){return Lk},WLB:function(){return gC},iGM:function(){return zk},MAs:function(){return Zx},evT:function(){return Nd},Jf7:function(){return Il},CHM:function(){return Q},oJD:function(){return qp},Ckj:function(){return RD},LSH:function(){return eb},B6R:function(){return br},kYT:function(){return co},Akn:function(){return Nl},Udp:function(){return S0},WFA:function(){return kg},d8E:function(){return Iw},YNc:function(){return a0},W1O:function(){return n_},_uU:function(){return P0},Oqu:function(){return I0},hij:function(){return Dg},AsE:function(){return R0},lnq:function(){return N0},Gf:function(){return Sf}});var U=f(20901),B=f(89200),V=f(88009),Z=f(27235),C=(f(42515),f(99890),f(36683)),v=f(10629),P=f(99740),D=f(14105),M=f(18967),A=f(10509),_=f(97154),g=f(35470);function N(l){var c="function"==typeof Map?new Map:void 0;return(N=function(h){if(null===h||!function(l){return-1!==Function.toString.call(l).indexOf("[native code]")}(h))return h;if("function"!=typeof h)throw new TypeError("Super expression must either be null or a function");if(void 0!==c){if(c.has(h))return c.get(h);c.set(h,y)}function y(){return(0,P.Z)(h,arguments,(0,B.Z)(this).constructor)}return y.prototype=Object.create(h.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),(0,g.Z)(y,h)})(l)}var E=f(5051),x=f(68707),S=f(89797),O=f(55371),L=f(16338);function j(l){for(var c in l)if(l[c]===j)return c;throw Error("Could not find renamed property on target object.")}function K(l,c){for(var d in c)c.hasOwnProperty(d)&&!l.hasOwnProperty(d)&&(l[d]=c[d])}function z(l){if("string"==typeof l)return l;if(Array.isArray(l))return"["+l.map(z).join(", ")+"]";if(null==l)return""+l;if(l.overriddenName)return"".concat(l.overriddenName);if(l.name)return"".concat(l.name);var c=l.toString();if(null==c)return""+c;var d=c.indexOf("\n");return-1===d?c:c.substring(0,d)}function J(l,c){return null==l||""===l?null===c?"":c:null==c||""===c?l:l+" "+c}var ie=j({__forward_ref__:j});function te(l){return l.__forward_ref__=te,l.toString=function(){return z(this())},l}function ae(l){return se(l)?l():l}function se(l){return"function"==typeof l&&l.hasOwnProperty(ie)&&l.__forward_ref__===te}var le=function(l){(0,A.Z)(d,l);var c=(0,_.Z)(d);function d(h,y){var w;return(0,M.Z)(this,d),(w=c.call(this,function(l,c){var d=l?"NG0".concat(l,": "):"";return"".concat(d).concat(c)}(h,y))).code=h,w}return d}(N(Error));function be(l){return"string"==typeof l?l:null==l?"":String(l)}function it(l){return"function"==typeof l?l.name||l.toString():"object"==typeof l&&null!=l&&"function"==typeof l.type?l.type.name||l.type.toString():be(l)}function Ft(l,c){var d=c?" in ".concat(c):"";throw new le("201","No provider for ".concat(it(l)," found").concat(d))}function en(l,c){null==l&&function(l,c,d,h){throw new Error("ASSERTION ERROR: ".concat(l)+(null==h?"":" [Expected=> ".concat(d," ").concat(h," ").concat(c," <=Actual]")))}(c,l,null,"!=")}function In(l){return{token:l.token,providedIn:l.providedIn||null,factory:l.factory,value:void 0}}function Rn(l){return{providers:l.providers||[],imports:l.imports||[]}}function wn(l){return yr(l,ye)||yr(l,we)}function yr(l,c){return l.hasOwnProperty(c)?l[c]:null}function ve(l){return l&&(l.hasOwnProperty(Te)||l.hasOwnProperty(ct))?l[Te]:null}var Jt,ye=j({"\u0275prov":j}),Te=j({"\u0275inj":j}),we=j({ngInjectableDef:j}),ct=j({ngInjectorDef:j}),ht=function(l){return l[l.Default=0]="Default",l[l.Host=1]="Host",l[l.Self=2]="Self",l[l.SkipSelf=4]="SkipSelf",l[l.Optional=8]="Optional",l}({});function Kt(){return Jt}function Yt(l){var c=Jt;return Jt=l,c}function nn(l,c,d){var h=wn(l);return h&&"root"==h.providedIn?void 0===h.value?h.value=h.factory():h.value:d&ht.Optional?null:void 0!==c?c:void Ft(z(l),"Injector")}function yn(l){return{toString:l}.toString()}var Tn=function(l){return l[l.OnPush=0]="OnPush",l[l.Default=1]="Default",l}({}),Cn=function(l){return l[l.Emulated=0]="Emulated",l[l.None=2]="None",l[l.ShadowDom=3]="ShadowDom",l}({}),Sn="undefined"!=typeof globalThis&&globalThis,tr="undefined"!=typeof window&&window,cr="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ut="undefined"!=typeof global&&global,Rt=Sn||Ut||tr||cr,rt={},he=[],Ie=j({"\u0275cmp":j}),Ne=j({"\u0275dir":j}),Le=j({"\u0275pipe":j}),ze=j({"\u0275mod":j}),At=j({"\u0275loc":j}),an=j({"\u0275fac":j}),qn=j({__NG_ELEMENT_ID__:j}),Nr=0;function qr(l){return yn(function(){var d={},h={type:l.type,providersResolver:null,decls:l.decls,vars:l.vars,factory:null,template:l.template||null,consts:l.consts||null,ngContentSelectors:l.ngContentSelectors,hostBindings:l.hostBindings||null,hostVars:l.hostVars||0,hostAttrs:l.hostAttrs||null,contentQueries:l.contentQueries||null,declaredInputs:d,inputs:null,outputs:null,exportAs:l.exportAs||null,onPush:l.changeDetection===Tn.OnPush,directiveDefs:null,pipeDefs:null,selectors:l.selectors||he,viewQuery:l.viewQuery||null,features:l.features||null,data:l.data||{},encapsulation:l.encapsulation||Cn.Emulated,id:"c",styles:l.styles||he,_:null,setInput:null,schemas:l.schemas||null,tView:null},y=l.directives,w=l.features,H=l.pipes;return h.id+=Nr++,h.inputs=Qo(l.inputs,d),h.outputs=Qo(l.outputs),w&&w.forEach(function(W){return W(h)}),h.directiveDefs=y?function(){return("function"==typeof y?y():y).map(Qr)}:null,h.pipeDefs=H?function(){return("function"==typeof H?H():H).map(uo)}:null,h})}function br(l,c,d){var h=l.\u0275cmp;h.directiveDefs=function(){return c.map(Qr)},h.pipeDefs=function(){return d.map(uo)}}function Qr(l){return yi(l)||function(l){return l[Ne]||null}(l)}function uo(l){return function(l){return l[Le]||null}(l)}var Ni={};function yo(l){return yn(function(){var c={type:l.type,bootstrap:l.bootstrap||he,declarations:l.declarations||he,imports:l.imports||he,exports:l.exports||he,transitiveCompileScopes:null,schemas:l.schemas||null,id:l.id||null};return null!=l.id&&(Ni[l.id]=l.type),c})}function co(l,c){return yn(function(){var d=fi(l,!0);d.declarations=c.declarations||he,d.imports=c.imports||he,d.exports=c.exports||he})}function Qo(l,c){if(null==l)return rt;var d={};for(var h in l)if(l.hasOwnProperty(h)){var y=l[h],w=y;Array.isArray(y)&&(w=y[1],y=y[0]),d[y]=h,c&&(c[y]=w)}return d}var wi=qr;function ro(l){return{type:l.type,name:l.name,factory:null,pure:!1!==l.pure,onDestroy:l.type.prototype.ngOnDestroy||null}}function yi(l){return l[Ie]||null}function fi(l,c){var d=l[ze]||null;if(!d&&!0===c)throw new Error("Type ".concat(z(l)," does not have '\u0275mod' property."));return d}function fr(l){return Array.isArray(l)&&"object"==typeof l[1]}function fo(l){return Array.isArray(l)&&!0===l[1]}function ha(l){return 0!=(8&l.flags)}function Si(l){return 2==(2&l.flags)}function Co(l){return 1==(1&l.flags)}function Zi(l){return null!==l.template}function ma(l){return 0!=(512&l[2])}function Ka(l,c){return l.hasOwnProperty(an)?l[an]:null}var Ki=function(){function l(c,d,h){(0,M.Z)(this,l),this.previousValue=c,this.currentValue=d,this.firstChange=h}return(0,D.Z)(l,[{key:"isFirstChange",value:function(){return this.firstChange}}]),l}();function ja(){return _l}function _l(l){return l.type.prototype.ngOnChanges&&(l.setInput=eu),tn}function tn(){var l=bl(this),c=null==l?void 0:l.current;if(c){var d=l.previous;if(d===rt)l.previous=c;else for(var h in c)d[h]=c[h];l.current=null,this.ngOnChanges(c)}}function eu(l,c,d,h){var y=bl(l)||function(l,c){return l[yl]=c}(l,{previous:rt,current:null}),w=y.current||(y.current={}),H=y.previous,W=this.declaredInputs[d],X=H[W];w[W]=new Ki(X&&X.currentValue,c,H===rt),l[h]=c}ja.ngInherit=!0;var yl="__ngSimpleChanges__";function bl(l){return l[yl]||null}var re="http://www.w3.org/2000/svg",_e=void 0;function Ce(l){_e=l}function Re(){return void 0!==_e?_e:"undefined"!=typeof document?document:void 0}function St(l){return!!l.listen}var gt={createRenderer:function(c,d){return Re()}};function jr(l){for(;Array.isArray(l);)l=l[0];return l}function li(l,c){return jr(c[l])}function Ii(l,c){return jr(c[l.index])}function Oa(l,c){return l.data[c]}function Xa(l,c){return l[c]}function ba(l,c){var d=c[l];return fr(d)?d:d[0]}function Es(l){return 4==(4&l[2])}function Cp(l){return 128==(128&l[2])}function Js(l,c){return null==c?null:l[c]}function uc(l){l[18]=0}function Sl(l,c){l[5]+=c;for(var d=l,h=l[3];null!==h&&(1===c&&1===d[5]||-1===c&&0===d[5]);)h[5]+=c,d=h,h=h[3]}var Ar={lFrame:bn(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function vd(){return Ar.bindingsEnabled}function Se(){return Ar.lFrame.lView}function ge(){return Ar.lFrame.tView}function Q(l){return Ar.lFrame.contextLView=l,l[8]}function ee(){for(var l=Ee();null!==l&&64===l.type;)l=l.parent;return l}function Ee(){return Ar.lFrame.currentTNode}function lt(l,c){var d=Ar.lFrame;d.currentTNode=l,d.isParent=c}function wt(){return Ar.lFrame.isParent}function Zt(){Ar.lFrame.isParent=!1}function An(){return Ar.isInCheckNoChangesMode}function Bn(l){Ar.isInCheckNoChangesMode=l}function Qn(){var l=Ar.lFrame,c=l.bindingRootIndex;return-1===c&&(c=l.bindingRootIndex=l.tView.bindingStartIndex),c}function hr(){return Ar.lFrame.bindingIndex}function Cr(){return Ar.lFrame.bindingIndex++}function Er(l){var c=Ar.lFrame,d=c.bindingIndex;return c.bindingIndex=c.bindingIndex+l,d}function oi(l,c){var d=Ar.lFrame;d.bindingIndex=d.bindingRootIndex=l,Be(c)}function Be(l){Ar.lFrame.currentDirectiveIndex=l}function Ye(l){var c=Ar.lFrame.currentDirectiveIndex;return-1===c?null:l[c]}function ke(){return Ar.lFrame.currentQueryIndex}function Ue(l){Ar.lFrame.currentQueryIndex=l}function Ze(l){var c=l[1];return 2===c.type?c.declTNode:1===c.type?l[6]:null}function nt(l,c,d){if(d&ht.SkipSelf){for(var h=c,y=l;!(null!==(h=h.parent)||d&ht.Host||null===(h=Ze(y))||(y=y[15],10&h.type)););if(null===h)return!1;c=h,l=y}var w=Ar.lFrame=sn();return w.currentTNode=c,w.lView=l,!0}function Tt(l){var c=sn(),d=l[1];Ar.lFrame=c,c.currentTNode=d.firstChild,c.lView=l,c.tView=d,c.contextLView=l,c.bindingIndex=d.bindingStartIndex,c.inI18n=!1}function sn(){var l=Ar.lFrame,c=null===l?null:l.child;return null===c?bn(l):c}function bn(l){var c={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:l,child:null,inI18n:!1};return null!==l&&(l.child=c),c}function xr(){var l=Ar.lFrame;return Ar.lFrame=l.parent,l.currentTNode=null,l.lView=null,l}var Ri=xr;function Xo(){var l=xr();l.isParent=!0,l.tView=null,l.selectedIndex=-1,l.contextLView=null,l.elementDepthCount=0,l.currentDirectiveIndex=-1,l.currentNamespace=null,l.bindingRootIndex=-1,l.bindingIndex=-1,l.currentQueryIndex=0}function Pa(l){return(Ar.lFrame.contextLView=function(l,c){for(;l>0;)c=c[15],l--;return c}(l,Ar.lFrame.contextLView))[8]}function Ao(){return Ar.lFrame.selectedIndex}function ms(l){Ar.lFrame.selectedIndex=l}function ho(){var l=Ar.lFrame;return Oa(l.tView,l.selectedIndex)}function ch(){Ar.lFrame.currentNamespace=re}function Du(){Ar.lFrame.currentNamespace=null}function jo(l,c){for(var d=c.directiveStart,h=c.directiveEnd;d<h;d++){var w=l.data[d].type.prototype,H=w.ngAfterContentInit,W=w.ngAfterContentChecked,X=w.ngAfterViewInit,me=w.ngAfterViewChecked,De=w.ngOnDestroy;H&&(l.contentHooks||(l.contentHooks=[])).push(-d,H),W&&((l.contentHooks||(l.contentHooks=[])).push(d,W),(l.contentCheckHooks||(l.contentCheckHooks=[])).push(d,W)),X&&(l.viewHooks||(l.viewHooks=[])).push(-d,X),me&&((l.viewHooks||(l.viewHooks=[])).push(d,me),(l.viewCheckHooks||(l.viewCheckHooks=[])).push(d,me)),null!=De&&(l.destroyHooks||(l.destroyHooks=[])).push(d,De)}}function Ou(l,c,d){nr(l,c,3,d)}function dc(l,c,d,h){(3&l[2])===d&&nr(l,c,d,h)}function Do(l,c){var d=l[2];(3&d)===c&&(d&=2047,l[2]=d+=1)}function nr(l,c,d,h){for(var w=null!=h?h:-1,H=c.length-1,W=0,X=void 0!==h?65535&l[18]:0;X<H;X++)if("number"==typeof c[X+1]){if(W=c[X],null!=h&&W>=h)break}else c[X]<0&&(l[18]+=65536),(W<w||-1==w)&&(Rr(l,d,c,X),l[18]=(4294901760&l[18])+X+2),X++}function Rr(l,c,d,h){var y=d[h]<0,w=d[h+1],W=l[y?-d[h]:d[h]];if(y){if(l[2]>>11<l[18]>>16&&(3&l[2])===c){l[2]+=2048;try{w.call(W)}finally{}}}else try{w.call(W)}finally{}}var Xi=function l(c,d,h){(0,M.Z)(this,l),this.factory=c,this.resolving=!1,this.canSeeViewProviders=d,this.injectImpl=h};function Ks(l,c,d){for(var h=St(l),y=0;y<d.length;){var w=d[y];if("number"==typeof w){if(0!==w)break;y++;var H=d[y++],W=d[y++],X=d[y++];h?l.setAttribute(c,W,X,H):c.setAttributeNS(H,W,X)}else{var me=w,De=d[++y];iT(me)?h&&l.setProperty(c,me,De):h?l.setAttribute(c,me,De):c.setAttribute(me,De),y++}}return y}function Mp(l){return 3===l||4===l||6===l}function iT(l){return 64===l.charCodeAt(0)}function My(l,c){if(null!==c&&0!==c.length)if(null===l||0===l.length)l=c.slice();else for(var d=-1,h=0;h<c.length;h++){var y=c[h];"number"==typeof y?d=y:0===d||lD(l,d,y,null,-1===d||2===d?c[++h]:null)}return l}function lD(l,c,d,h,y){var w=0,H=l.length;if(-1===c)H=-1;else for(;w<l.length;){var W=l[w++];if("number"==typeof W){if(W===c){H=-1;break}if(W>c){H=w-1;break}}}for(;w<l.length;){var X=l[w];if("number"==typeof X)break;if(X===d){if(null===h)return void(null!==y&&(l[w+1]=y));if(h===l[w+1])return void(l[w+2]=y)}w++,null!==h&&w++,null!==y&&w++}-1!==H&&(l.splice(H,0,c),w=H+1),l.splice(w++,0,d),null!==h&&l.splice(w++,0,h),null!==y&&l.splice(w++,0,y)}function uD(l){return-1!==l}function ph(l){return 32767&l}function Ap(l,c){for(var d=function(l){return l>>16}(l),h=c;d>0;)h=h[15],d--;return h}var oT=!0;function Ay(l){var c=oT;return oT=l,c}var SF=0;function fh(l,c){var d=sT(l,c);if(-1!==d)return d;var h=c[1];h.firstCreatePass&&(l.injectorIndex=c.length,aT(h.data,l),aT(c,null),aT(h.blueprint,null));var y=Dy(l,c),w=l.injectorIndex;if(uD(y))for(var H=ph(y),W=Ap(y,c),X=W[1].data,me=0;me<8;me++)c[w+me]=W[H+me]|X[H+me];return c[w+8]=y,w}function aT(l,c){l.push(0,0,0,0,0,0,0,0,c)}function sT(l,c){return-1===l.injectorIndex||l.parent&&l.parent.injectorIndex===l.injectorIndex||null===c[l.injectorIndex+8]?-1:l.injectorIndex}function Dy(l,c){if(l.parent&&-1!==l.parent.injectorIndex)return l.parent.injectorIndex;for(var d=0,h=null,y=c;null!==y;){var w=y[1],H=w.type;if(null===(h=2===H?w.declTNode:1===H?y[6]:null))return-1;if(d++,y=y[15],-1!==h.injectorIndex)return h.injectorIndex|d<<16}return-1}function Ev(l,c,d){!function(l,c,d){var h;"string"==typeof d?h=d.charCodeAt(0)||0:d.hasOwnProperty(qn)&&(h=d[qn]),null==h&&(h=d[qn]=SF++);var y=255&h;c.data[l+(y>>5)]|=1<<y}(l,c,d)}function lT(l,c,d){if(d&ht.Optional)return l;Ft(c,"NodeInjector")}function Oy(l,c,d,h){if(d&ht.Optional&&void 0===h&&(h=null),0==(d&(ht.Self|ht.Host))){var y=l[9],w=Yt(void 0);try{return y?y.get(c,h,d&ht.Optional):nn(c,h,d&ht.Optional)}finally{Yt(w)}}return lT(h,c,d)}function Mv(l,c,d){var h=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ht.Default,y=arguments.length>4?arguments[4]:void 0;if(null!==l){var w=Av(d);if("function"==typeof w){if(!nt(c,l,h))return h&ht.Host?lT(y,d,h):Oy(c,d,h,y);try{var H=w(h);if(null!=H||h&ht.Optional)return H;Ft(d)}finally{Ri()}}else if("number"==typeof w){var W=null,X=sT(l,c),me=-1,De=h&ht.Host?c[16][6]:null;for((-1===X||h&ht.SkipSelf)&&(-1!==(me=-1===X?Dy(l,c):c[X+8])&&pT(h,!1)?(W=c[1],X=ph(me),c=Ap(me,c)):X=-1);-1!==X;){var Xe=c[1];if(dT(w,X,Xe.data)){var Ke=cT(X,c,d,W,h,De);if(Ke!==uT)return Ke}-1!==(me=c[X+8])&&pT(h,c[1].data[X+8]===De)&&dT(w,X,c)?(W=Xe,X=ph(me),c=Ap(me,c)):X=-1}}}return Oy(c,d,h,y)}var uT={};function fD(){return new yd(ee(),Se())}function cT(l,c,d,h,y,w){var H=c[1],W=H.data[l+8],De=hh(W,H,d,null==h?Si(W)&&oT:h!=H&&0!=(3&W.type),y&ht.Host&&w===W);return null!==De?Pu(c,H,De,W):uT}function hh(l,c,d,h,y){for(var w=l.providerIndexes,H=c.data,W=1048575&w,X=l.directiveStart,De=w>>20,Ke=y?W+De:l.directiveEnd,mt=h?W:W+De;mt<Ke;mt++){var Mt=H[mt];if(mt<X&&d===Mt||mt>=X&&Mt.type===d)return mt}if(y){var zt=H[X];if(zt&&Zi(zt)&&zt.type===d)return X}return null}function Pu(l,c,d,h){var y=l[d],w=c.data;if(function(l){return l instanceof Xi}(y)){var H=y;H.resolving&&function(l,c){throw new le("200","Circular dependency in DI detected for ".concat(l).concat(""))}(it(w[d]));var W=Ay(H.canSeeViewProviders);H.resolving=!0;var X=H.injectImpl?Yt(H.injectImpl):null;nt(l,h,ht.Default);try{y=l[d]=H.factory(void 0,w,l,h),c.firstCreatePass&&d>=h.directiveStart&&function(l,c,d){var h=c.type.prototype,w=h.ngOnInit,H=h.ngDoCheck;if(h.ngOnChanges){var W=_l(c);(d.preOrderHooks||(d.preOrderHooks=[])).push(l,W),(d.preOrderCheckHooks||(d.preOrderCheckHooks=[])).push(l,W)}w&&(d.preOrderHooks||(d.preOrderHooks=[])).push(0-l,w),H&&((d.preOrderHooks||(d.preOrderHooks=[])).push(l,H),(d.preOrderCheckHooks||(d.preOrderCheckHooks=[])).push(l,H))}(d,w[d],c)}finally{null!==X&&Yt(X),Ay(W),H.resolving=!1,Ri()}}return y}function Av(l){if("string"==typeof l)return l.charCodeAt(0)||0;var c=l.hasOwnProperty(qn)?l[qn]:void 0;return"number"==typeof c?c>=0?255&c:fD:c}function dT(l,c,d){return!!(d[c+(l>>5)]&1<<l)}function pT(l,c){return!(l&ht.Self||l&ht.Host&&c)}var yd=function(){function l(c,d){(0,M.Z)(this,l),this._tNode=c,this._lView=d}return(0,D.Z)(l,[{key:"get",value:function(d,h){return Mv(this._tNode,this._lView,d,void 0,h)}}]),l}();function mh(l){return yn(function(){for(var c=l.prototype.constructor,d=c[an]||Py(c),h=Object.prototype,y=Object.getPrototypeOf(l.prototype).constructor;y&&y!==h;){var w=y[an]||Py(y);if(w&&w!==d)return w;y=Object.getPrototypeOf(y)}return function(H){return new H}})}function Py(l){return se(l)?function(){var c=Py(ae(l));return c&&c()}:Ka(l)}function Iy(l){return function(l,c){if("class"===c)return l.classes;if("style"===c)return l.styles;var d=l.attrs;if(d)for(var h=d.length,y=0;y<h;){var w=d[y];if(Mp(w))break;if(0===w)y+=2;else if("number"==typeof w)for(y++;y<h&&"string"==typeof d[y];)y++;else{if(w===c)return d[y+1];y+=2}}return null}(ee(),l)}var Iu="__parameters__";function fc(l,c,d){return yn(function(){var h=function(l){return function(){if(l){var d=l.apply(void 0,arguments);for(var h in d)this[h]=d[h]}}}(c);function y(){for(var w=arguments.length,H=new Array(w),W=0;W<w;W++)H[W]=arguments[W];if(this instanceof y)return h.apply(this,H),this;var X=(0,P.Z)(y,H);return me.annotation=X,me;function me(De,Xe,Ke){for(var mt=De.hasOwnProperty(Iu)?De[Iu]:Object.defineProperty(De,Iu,{value:[]})[Iu];mt.length<=Ke;)mt.push(null);return(mt[Ke]=mt[Ke]||[]).push(X),De}}return d&&(y.prototype=Object.create(d.prototype)),y.prototype.ngMetadataName=l,y.annotationCls=y,y})}var Ro=function(){function l(c,d){(0,M.Z)(this,l),this._desc=c,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof d?this.__NG_ELEMENT_ID__=d:void 0!==d&&(this.\u0275prov=In({token:this,providedIn:d.providedIn||"root",factory:d.factory}))}return(0,D.Z)(l,[{key:"toString",value:function(){return"InjectionToken ".concat(this._desc)}}]),l}(),hD=new Ro("AnalyzeForEntryComponents"),ru=Function;function As(l,c){void 0===c&&(c=l);for(var d=0;d<l.length;d++){var h=l[d];Array.isArray(h)?(c===l&&(c=l.slice(0,d)),As(h,c)):c!==l&&c.push(h)}return c}function Ds(l,c){l.forEach(function(d){return Array.isArray(d)?Ds(d,c):c(d)})}function Ov(l,c,d){c>=l.length?l.push(d):l.splice(c,0,d)}function Td(l,c){return c>=l.length-1?l.pop():l.splice(c,1)[0]}function mc(l,c){for(var d=[],h=0;h<l;h++)d.push(c);return d}function es(l,c,d){var h=xd(l,c);return h>=0?l[1|h]=d:function(l,c,d,h){var y=l.length;if(y==c)l.push(d,h);else if(1===y)l.push(h,l[0]),l[0]=d;else{for(y--,l.push(l[y-1],l[y]);y>c;)l[y]=l[y-2],y--;l[c]=d,l[c+1]=h}}(l,h=~h,c,d),h}function gh(l,c){var d=xd(l,c);if(d>=0)return l[1|d]}function xd(l,c){return function(l,c,d){for(var h=0,y=l.length>>d;y!==h;){var w=h+(y-h>>1),H=l[w<<d];if(c===H)return w<<d;H>c?y=w:h=w+1}return~(y<<d)}(l,c,1)}var _h={},Fy="__NG_DI_FLAG__",kd="ngTempTokenPath",wl=/\n/gm,kl="__source",Zv=j({provide:String,useValue:j}),Pp=void 0;function Lv(l){var c=Pp;return Pp=l,c}function CD(l){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ht.Default;if(void 0===Pp)throw new Error("inject() must be called from an injection context");return null===Pp?nn(l,void 0,c):Pp.get(l,c&ht.Optional?null:void 0,c)}function Wo(l){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ht.Default;return(Kt()||CD)(ae(l),c)}var SD=Wo;function Md(l){for(var c=[],d=0;d<l.length;d++){var h=ae(l[d]);if(Array.isArray(h)){if(0===h.length)throw new Error("Arguments array must have arguments.");for(var y=void 0,w=ht.Default,H=0;H<h.length;H++){var W=h[H],X=CT(W);"number"==typeof X?-1===X?y=W.token:w|=X:y=W}c.push(Wo(y,w))}else c.push(Wo(h))}return c}function Ip(l,c){return l[Fy]=c,l.prototype[Fy]=c,l}function CT(l){return l[Fy]}function ST(l,c,d,h){var y=l[kd];throw c[kl]&&y.unshift(c[kl]),l.message=function(l,c,d){var h=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;l=l&&"\n"===l.charAt(0)&&"\u0275"==l.charAt(1)?l.substr(2):l;var y=z(c);if(Array.isArray(c))y=c.map(z).join(" -> ");else if("object"==typeof c){var w=[];for(var H in c)if(c.hasOwnProperty(H)){var W=c[H];w.push(H+":"+("string"==typeof W?JSON.stringify(W):z(W)))}y="{".concat(w.join(", "),"}")}return"".concat(d).concat(h?"("+h+")":"","[").concat(y,"]: ").concat(l.replace(wl,"\n  "))}("\n"+l.message,y,d,h),l.ngTokenPath=y,l[kd]=null,l}var vc,Od,yh=Ip(fc("Inject",function(c){return{token:c}}),-1),Ru=Ip(fc("Optional"),8),Nu=Ip(fc("SkipSelf"),4);function Ml(l){var c;return(null===(c=function(){if(void 0===vc&&(vc=null,Rt.trustedTypes))try{vc=Rt.trustedTypes.createPolicy("angular",{createHTML:function(c){return c},createScript:function(c){return c},createScriptURL:function(c){return c}})}catch(l){}return vc}())||void 0===c?void 0:c.createHTML(l))||l}function ou(l){var c;return(null===(c=function(){if(void 0===Od&&(Od=null,Rt.trustedTypes))try{Od=Rt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:function(c){return c},createScript:function(c){return c},createScriptURL:function(c){return c}})}catch(l){}return Od}())||void 0===c?void 0:c.createHTML(l))||l}var Xs=function(){function l(c){(0,M.Z)(this,l),this.changingThisBreaksApplicationSecurity=c}return(0,D.Z)(l,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity)+" (see https://g.co/ng/security#xss)"}}]),l}(),Zp=function(l){(0,A.Z)(d,l);var c=(0,_.Z)(d);function d(){return(0,M.Z)(this,d),c.apply(this,arguments)}return(0,D.Z)(d,[{key:"getTypeName",value:function(){return"HTML"}}]),d}(Xs),yc=function(l){(0,A.Z)(d,l);var c=(0,_.Z)(d);function d(){return(0,M.Z)(this,d),c.apply(this,arguments)}return(0,D.Z)(d,[{key:"getTypeName",value:function(){return"Style"}}]),d}(Xs),ET=function(l){(0,A.Z)(d,l);var c=(0,_.Z)(d);function d(){return(0,M.Z)(this,d),c.apply(this,arguments)}return(0,D.Z)(d,[{key:"getTypeName",value:function(){return"Script"}}]),d}(Xs),zy=function(l){(0,A.Z)(d,l);var c=(0,_.Z)(d);function d(){return(0,M.Z)(this,d),c.apply(this,arguments)}return(0,D.Z)(d,[{key:"getTypeName",value:function(){return"URL"}}]),d}(Xs),ED=function(l){(0,A.Z)(d,l);var c=(0,_.Z)(d);function d(){return(0,M.Z)(this,d),c.apply(this,arguments)}return(0,D.Z)(d,[{key:"getTypeName",value:function(){return"ResourceURL"}}]),d}(Xs);function su(l){return l instanceof Xs?l.changingThisBreaksApplicationSecurity:l}function Al(l,c){var d=MT(l);if(null!=d&&d!==c){if("ResourceURL"===d&&"URL"===c)return!0;throw new Error("Required a safe ".concat(c,", got a ").concat(d," (see https://g.co/ng/security#xss)"))}return d===c}function MT(l){return l instanceof Xs&&l.getTypeName()||null}function MD(l){return new Zp(l)}function AD(l){return new yc(l)}function Hv(l){return new ET(l)}function Ch(l){return new zy(l)}function Wy(l){return new ED(l)}var DD=function(){function l(c){(0,M.Z)(this,l),this.inertDocumentHelper=c}return(0,D.Z)(l,[{key:"getInertBodyElement",value:function(d){d="<body><remove></remove>"+d;try{var h=(new window.DOMParser).parseFromString(Ml(d),"text/html").body;return null===h?this.inertDocumentHelper.getInertBodyElement(d):(h.removeChild(h.firstChild),h)}catch(y){return null}}}]),l}(),Gy=function(){function l(c){if((0,M.Z)(this,l),this.defaultDoc=c,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){var d=this.inertDocument.createElement("html");this.inertDocument.appendChild(d);var h=this.inertDocument.createElement("body");d.appendChild(h)}}return(0,D.Z)(l,[{key:"getInertBodyElement",value:function(d){var h=this.inertDocument.createElement("template");if("content"in h)return h.innerHTML=Ml(d),h;var y=this.inertDocument.createElement("body");return y.innerHTML=Ml(d),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(y),y}},{key:"stripCustomNsAttrs",value:function(d){for(var h=d.attributes,y=h.length-1;0<y;y--){var H=h.item(y).name;("xmlns:ns1"===H||0===H.indexOf("ns1:"))&&d.removeAttribute(H)}for(var W=d.firstChild;W;)W.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(W),W=W.nextSibling}}]),l}(),OD=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Yy=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Fp(l){return(l=String(l)).match(OD)||l.match(Yy)?l:"unsafe:"+l}function Jy(l){return(l=String(l)).split(",").map(function(c){return Fp(c.trim())}).join(", ")}function Dl(l){var h,c={},d=(0,C.Z)(l.split(","));try{for(d.s();!(h=d.n()).done;)c[h.value]=!0}catch(w){d.e(w)}finally{d.f()}return c}function Bp(){for(var l={},c=arguments.length,d=new Array(c),h=0;h<c;h++)d[h]=arguments[h];for(var y=0,w=d;y<w.length;y++){var H=w[y];for(var W in H)H.hasOwnProperty(W)&&(l[W]=!0)}return l}var Hp,Qy=Dl("area,br,col,hr,img,wbr"),Ky=Dl("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Up=Dl("rp,rt"),bc=Bp(Up,Ky),Vv=Bp(Qy,Bp(Ky,Dl("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Bp(Up,Dl("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),bc),DT=Dl("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),OT=Dl("srcset"),qv=Bp(DT,OT,Dl("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Dl("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Cc=Dl("script,style,template"),Xy=function(){function l(){(0,M.Z)(this,l),this.sanitizedSomething=!1,this.buf=[]}return(0,D.Z)(l,[{key:"sanitizeChildren",value:function(d){for(var h=d.firstChild,y=!0;h;)if(h.nodeType===Node.ELEMENT_NODE?y=this.startElement(h):h.nodeType===Node.TEXT_NODE?this.chars(h.nodeValue):this.sanitizedSomething=!0,y&&h.firstChild)h=h.firstChild;else for(;h;){h.nodeType===Node.ELEMENT_NODE&&this.endElement(h);var w=this.checkClobberedElement(h,h.nextSibling);if(w){h=w;break}h=this.checkClobberedElement(h,h.parentNode)}return this.buf.join("")}},{key:"startElement",value:function(d){var h=d.nodeName.toLowerCase();if(!Vv.hasOwnProperty(h))return this.sanitizedSomething=!0,!Cc.hasOwnProperty(h);this.buf.push("<"),this.buf.push(h);for(var y=d.attributes,w=0;w<y.length;w++){var H=y.item(w),W=H.name,X=W.toLowerCase();if(qv.hasOwnProperty(X)){var me=H.value;DT[X]&&(me=Fp(me)),OT[X]&&(me=Jy(me)),this.buf.push(" ",W,'="',$y(me),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0}},{key:"endElement",value:function(d){var h=d.nodeName.toLowerCase();Vv.hasOwnProperty(h)&&!Qy.hasOwnProperty(h)&&(this.buf.push("</"),this.buf.push(h),this.buf.push(">"))}},{key:"chars",value:function(d){this.buf.push($y(d))}},{key:"checkClobberedElement",value:function(d,h){if(h&&(d.compareDocumentPosition(h)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: ".concat(d.outerHTML));return h}}]),l}(),ID=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,PT=/([^\#-~ |!])/g;function $y(l){return l.replace(/&/g,"&amp;").replace(ID,function(c){return"&#"+(1024*(c.charCodeAt(0)-55296)+(c.charCodeAt(1)-56320)+65536)+";"}).replace(PT,function(c){return"&#"+c.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Sc(l,c){var d=null;try{Hp=Hp||function(l){var c=new Gy(l);return function(){try{return!!(new window.DOMParser).parseFromString(Ml(""),"text/html")}catch(l){return!1}}()?new DD(c):c}(l);var h=c?String(c):"";d=Hp.getInertBodyElement(h);var y=5,w=h;do{if(0===y)throw new Error("Failed to sanitize html because the input is unstable");y--,h=w,w=d.innerHTML,d=Hp.getInertBodyElement(h)}while(h!==w);return Ml((new Xy).sanitizeChildren(Vp(d)||d))}finally{if(d)for(var X=Vp(d)||d;X.firstChild;)X.removeChild(X.firstChild)}}function Vp(l){return"content"in l&&function(l){return l.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===l.nodeName}(l)?l.content:null}var Os=function(l){return l[l.NONE=0]="NONE",l[l.HTML=1]="HTML",l[l.STYLE=2]="STYLE",l[l.SCRIPT=3]="SCRIPT",l[l.URL=4]="URL",l[l.RESOURCE_URL=5]="RESOURCE_URL",l}({});function qp(l){var c=Ol();return c?ou(c.sanitize(Os.HTML,l)||""):Al(l,"HTML")?ou(su(l)):Sc(Re(),be(l))}function RD(l){var c=Ol();return c?c.sanitize(Os.STYLE,l)||"":Al(l,"Style")?su(l):be(l)}function eb(l){var c=Ol();return c?c.sanitize(Os.URL,l)||"":Al(l,"URL")?su(l):Fp(be(l))}function Ol(){var l=Se();return l&&l[12]}var NT="__ngContext__";function Wa(l,c){l[NT]=c}function nb(l){var c=function(l){return l[NT]||null}(l);return c?Array.isArray(c)?c:c.lView:null}function xh(l){return l.ngOriginalError}function wh(l){for(var c=arguments.length,d=new Array(c>1?c-1:0),h=1;h<c;h++)d[h-1]=arguments[h];l.error.apply(l,d)}var Tc=function(){function l(){(0,M.Z)(this,l),this._console=console}return(0,D.Z)(l,[{key:"handleError",value:function(d){var h=this._findOriginalError(d),y=this._findContext(d),w=function(l){return l&&l.ngErrorLogger||wh}(d);w(this._console,"ERROR",d),h&&w(this._console,"ORIGINAL ERROR",h),y&&w(this._console,"ERROR CONTEXT",y)}},{key:"_findContext",value:function(d){return d?function(l){return l.ngDebugContext}(d)||this._findContext(xh(d)):null}},{key:"_findOriginalError",value:function(d){for(var h=d&&xh(d);h&&xh(h);)h=xh(h);return h||null}}]),l}(),Na=function(){return("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Rt)}();function Il(l){return l.ownerDocument.defaultView}function Nd(l){return l.ownerDocument}function Rs(l){return l instanceof Function?l():l}var Eh=function(l){return l[l.Important=1]="Important",l[l.DashCase=2]="DashCase",l}({});function Jv(l,c){return undefined(l,c)}function Zd(l){var c=l[3];return fo(c)?c[3]:c}function mb(l){return Dr(l[13])}function Qv(l){return Dr(l[4])}function Dr(l){for(;null!==l&&!fo(l);)l=l[4];return l}function Jp(l,c,d,h,y){if(null!=h){var w,H=!1;fo(h)?w=h:fr(h)&&(H=!0,h=h[0]);var W=jr(h);0===l&&null!==d?null==y?eg(c,d,W):Ld(c,d,W,y||null,!0):1===l&&null!==d?Ld(c,d,W,y||null,!0):2===l?function(l,c,d){var h=tg(l,c);h&&function(l,c,d,h){St(l)?l.removeChild(c,d,h):c.removeChild(d)}(l,h,c,d)}(c,W,H):3===l&&c.destroyNode(W),null!=w&&function(l,c,d,h,y){var w=d[7];w!==jr(d)&&Jp(c,l,h,w,y);for(var W=10;W<d.length;W++){var X=d[W];Ph(X[1],X,l,c,h,w)}}(c,l,w,d,y)}}function Kv(l,c){return St(l)?l.createText(c):l.createTextNode(c)}function vb(l,c,d){return St(l)?l.createElement(c,d):null===d?l.createElement(c):l.createElementNS(d,c)}function qT(l,c){var d=l[9],h=d.indexOf(c),y=c[3];1024&c[2]&&(c[2]&=-1025,Sl(y,-1)),d.splice(h,1)}function Mh(l,c){if(!(l.length<=10)){var d=10+c,h=l[d];if(h){var y=h[17];null!==y&&y!==l&&qT(y,h),c>0&&(l[d-1][4]=h[4]);var w=Td(l,10+c);!function(l,c){Ph(l,c,c[11],2,null,null),c[0]=null,c[6]=null}(h[1],h);var H=w[19];null!==H&&H.detachView(w[1]),h[3]=null,h[4]=null,h[2]&=-129}return h}}function _b(l,c){if(!(256&c[2])){var d=c[11];St(d)&&d.destroyNode&&Ph(l,c,d,3,null,null),function(l){var c=l[13];if(!c)return yb(l[1],l);for(;c;){var d=null;if(fr(c))d=c[13];else{var h=c[10];h&&(d=h)}if(!d){for(;c&&!c[4]&&c!==l;)fr(c)&&yb(c[1],c),c=c[3];null===c&&(c=l),fr(c)&&yb(c[1],c),d=c&&c[4]}c=d}}(c)}}function yb(l,c){if(!(256&c[2])){c[2]&=-129,c[2]|=256,function(l,c){var d;if(null!=l&&null!=(d=l.destroyHooks))for(var h=0;h<d.length;h+=2){var y=c[d[h]];if(!(y instanceof Xi)){var w=d[h+1];if(Array.isArray(w))for(var H=0;H<w.length;H+=2){var W=y[w[H]],X=w[H+1];try{X.call(W)}finally{}}else try{w.call(y)}finally{}}}}(l,c),function(l,c){var d=l.cleanup,h=c[7],y=-1;if(null!==d)for(var w=0;w<d.length-1;w+=2)if("string"==typeof d[w]){var H=d[w+1],W="function"==typeof H?H(c):jr(c[H]),X=h[y=d[w+2]],me=d[w+3];"boolean"==typeof me?W.removeEventListener(d[w],X,me):me>=0?h[y=me]():h[y=-me].unsubscribe(),w+=2}else{var De=h[y=d[w+1]];d[w].call(De)}if(null!==h){for(var Xe=y+1;Xe<h.length;Xe++)(0,h[Xe])();c[7]=null}}(l,c),1===c[1].type&&St(c[11])&&c[11].destroy();var d=c[17];if(null!==d&&fo(c[3])){d!==c[3]&&qT(d,c);var h=c[19];null!==h&&h.detachView(l)}}}function bb(l,c,d){return function(l,c,d){for(var h=c;null!==h&&40&h.type;)h=(c=h).parent;if(null===h)return d[0];if(2&h.flags){var y=l.data[h.directiveStart].encapsulation;if(y===Cn.None||y===Cn.Emulated)return null}return Ii(h,d)}(l,c.parent,d)}function Ld(l,c,d,h,y){St(l)?l.insertBefore(c,d,h,y):c.insertBefore(d,h,y)}function eg(l,c,d){St(l)?l.appendChild(c,d):c.appendChild(d)}function Cb(l,c,d,h,y){null!==h?Ld(l,c,d,h,y):eg(l,c,d)}function tg(l,c){return St(l)?l.parentNode(c):c.parentNode}function zT(l,c,d){return WT(l,c,d)}var WT=function(l,c,d){return 40&l.type?Ii(l,d):null};function ng(l,c,d,h){var y=bb(l,h,c),w=c[11],W=zT(h.parent||c[6],h,c);if(null!=y)if(Array.isArray(d))for(var X=0;X<d.length;X++)Cb(w,y,d[X],W,!1);else Cb(w,y,d,W,!1)}function Ah(l,c){if(null!==c){var d=c.type;if(3&d)return Ii(c,l);if(4&d)return Oh(-1,l[c.index]);if(8&d){var h=c.child;if(null!==h)return Ah(l,h);var y=l[c.index];return fo(y)?Oh(-1,y):jr(y)}if(32&d)return Jv(c,l)()||jr(l[c.index]);var W=Dh(l,c);return null!==W?Array.isArray(W)?W[0]:Ah(Zd(l[16]),W):Ah(l,c.next)}return null}function Dh(l,c){return null!==c?l[16][6].projection[c.projection]:null}function Oh(l,c){var d=10+l+1;if(d<c.length){var h=c[d],y=h[1].firstChild;if(null!==y)return Ah(h,y)}return c[7]}function Tb(l,c,d,h,y,w,H){for(;null!=d;){var W=h[d.index],X=d.type;if(H&&0===c&&(W&&Wa(jr(W),h),d.flags|=4),64!=(64&d.flags))if(8&X)Tb(l,c,d.child,h,y,w,!1),Jp(c,l,y,W,w);else if(32&X){for(var me=Jv(d,h),De=void 0;De=me();)Jp(c,l,y,De,w);Jp(c,l,y,W,w)}else 16&X?kc(l,c,h,d,y,w):Jp(c,l,y,W,w);d=H?d.projectionNext:d.next}}function Ph(l,c,d,h,y,w){Tb(d,h,l.firstChild,c,y,w,!1)}function WD(l,c,d){kc(c[11],0,c,d,bb(l,d,c),zT(d.parent||c[6],d,c))}function kc(l,c,d,h,y,w){var H=d[16],X=H[6].projection[h.projection];if(Array.isArray(X))for(var me=0;me<X.length;me++)Jp(c,l,y,X[me],w);else Tb(l,c,X,H[3],y,w,!0)}function xb(l,c,d){St(l)?l.setAttribute(c,"style",d):c.style.cssText=d}function wb(l,c,d){St(l)?""===d?l.removeAttribute(c,"class"):l.setAttribute(c,"class",d):c.className=d}function Bd(l,c,d){for(var h=l.length;;){var y=l.indexOf(c,d);if(-1===y)return y;if(0===y||l.charCodeAt(y-1)<=32){var w=c.length;if(y+w===h||l.charCodeAt(y+w)<=32)return y}d=y+1}}var JT="ng-template";function YD(l,c,d){for(var h=0;h<l.length;){var y=l[h++];if(d&&"class"===y){if(-1!==Bd((y=l[h]).toLowerCase(),c,0))return!0}else if(1===y){for(;h<l.length&&"string"==typeof(y=l[h++]);)if(y.toLowerCase()===c)return!0;return!1}}return!1}function QT(l){return 4===l.type&&l.value!==JT}function JD(l,c,d){return c===(4!==l.type||d?l.value:JT)}function QD(l,c,d){for(var h=4,y=l.attrs||[],w=function(l){for(var c=0;c<l.length;c++)if(Mp(l[c]))return c;return l.length}(y),H=!1,W=0;W<c.length;W++){var X=c[W];if("number"!=typeof X){if(!H)if(4&h){if(h=2|1&h,""!==X&&!JD(l,X,d)||""===X&&1===c.length){if(Ns(h))return!1;H=!0}}else{var me=8&h?X:c[++W];if(8&h&&null!==l.attrs){if(!YD(l.attrs,me,d)){if(Ns(h))return!1;H=!0}continue}var Xe=KD(8&h?"class":X,y,QT(l),d);if(-1===Xe){if(Ns(h))return!1;H=!0;continue}if(""!==me){var Ke;Ke=Xe>w?"":y[Xe+1].toLowerCase();var mt=8&h?Ke:null;if(mt&&-1!==Bd(mt,me,0)||2&h&&me!==Ke){if(Ns(h))return!1;H=!0}}}}else{if(!H&&!Ns(h)&&!Ns(X))return!1;if(H&&Ns(X))continue;H=!1,h=X|1&h}}return Ns(h)||H}function Ns(l){return 0==(1&l)}function KD(l,c,d,h){if(null===c)return-1;var y=0;if(h||!d){for(var w=!1;y<c.length;){var H=c[y];if(H===l)return y;if(3===H||6===H)w=!0;else{if(1===H||2===H){for(var W=c[++y];"string"==typeof W;)W=c[++y];continue}if(4===H)break;if(0===H){y+=4;continue}}y+=w?1:2}return-1}return function(l,c){var d=l.indexOf(4);if(d>-1)for(d++;d<l.length;){var h=l[d];if("number"==typeof h)return-1;if(h===c)return d;d++}return-1}(c,l)}function KT(l,c){for(var d=arguments.length>2&&void 0!==arguments[2]&&arguments[2],h=0;h<c.length;h++)if(QD(l,c[h],d))return!0;return!1}function kb(l,c){e:for(var d=0;d<c.length;d++){var h=c[d];if(l.length===h.length){for(var y=0;y<l.length;y++)if(l[y]!==h[y])continue e;return!0}}return!1}function Eb(l,c){return l?":not("+c.trim()+")":c}function tO(l){for(var c=l[0],d=1,h=2,y="",w=!1;d<l.length;){var H=l[d];if("string"==typeof H)if(2&h){var W=l[++d];y+="["+H+(W.length>0?'="'+W+'"':"")+"]"}else 8&h?y+="."+H:4&h&&(y+=" "+H);else""!==y&&!Ns(H)&&(c+=Eb(w,y),y=""),h=H,w=w||!Ns(h);d++}return""!==y&&(c+=Eb(w,y)),c}var Ur={};function rO(l){iO(ge(),Se(),Ao()+l,An())}function iO(l,c,d,h){if(!h)if(3==(3&c[2])){var w=l.preOrderCheckHooks;null!==w&&Ou(c,w,d)}else{var H=l.preOrderHooks;null!==H&&dc(c,H,0,d)}ms(d)}function Mb(l,c){return l<<17|c<<2}function uu(l){return l>>17&32767}function Ab(l){return 2|l}function is(l){return(131068&l)>>2}function $T(l,c){return-131069&l|c<<2}function ex(l){return 1|l}function ox(l,c){var d=l.contentQueries;if(null!==d)for(var h=0;h<d.length;h+=2){var w=d[h+1];if(-1!==w){var H=l.data[w];Ue(d[h]),H.contentQueries(2,c[w],w)}}}function Zh(l,c,d,h,y,w,H,W,X,me){var De=c.blueprint.slice();return De[0]=y,De[2]=140|h,uc(De),De[3]=De[15]=l,De[8]=d,De[10]=H||l&&l[10],De[11]=W||l&&l[11],De[12]=X||l&&l[12]||null,De[9]=me||l&&l[9]||null,De[6]=w,De[16]=2==c.type?l[16]:De,De}function Kp(l,c,d,h,y){var w=l.data[c];if(null===w)w=function(l,c,d,h,y){var w=Ee(),H=wt(),X=l.data[c]=function(l,c,d,h,y,w){return{type:d,index:h,insertBeforeIndex:null,injectorIndex:c?c.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:y,attrs:w,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:c,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,H?w:w&&w.parent,d,c,h,y);return null===l.firstChild&&(l.firstChild=X),null!==w&&(H?null==w.child&&null!==X.parent&&(w.child=X):null===w.next&&(w.next=X)),X}(l,c,d,h,y),Ar.lFrame.inI18n&&(w.flags|=64);else if(64&w.type){w.type=d,w.value=h,w.attrs=y;var H=function(){var l=Ar.lFrame,c=l.currentTNode;return l.isParent?c:c.parent}();w.injectorIndex=null===H?-1:H.injectorIndex}return lt(w,!0),w}function Xp(l,c,d,h){if(0===d)return-1;for(var y=c.length,w=0;w<d;w++)c.push(h),l.blueprint.push(h),l.data.push(null);return y}function Lh(l,c,d){Tt(c);try{var h=l.viewQuery;null!==h&&vx(1,h,d);var y=l.template;null!==y&&Lb(l,c,y,1,d),l.firstCreatePass&&(l.firstCreatePass=!1),l.staticContentQueries&&ox(l,c),l.staticViewQueries&&vx(2,l.viewQuery,d);var w=l.components;null!==w&&function(l,c){for(var d=0;d<c.length;d++)XF(l,c[d])}(c,w)}catch(H){throw l.firstCreatePass&&(l.incompleteFirstPass=!0,l.firstCreatePass=!1),H}finally{c[2]&=-5,Xo()}}function Ud(l,c,d,h){var y=c[2];if(256!=(256&y)){Tt(c);var w=An();try{uc(c),function(l){Ar.lFrame.bindingIndex=l}(l.bindingStartIndex),null!==d&&Lb(l,c,d,2,h);var H=3==(3&y);if(!w)if(H){var W=l.preOrderCheckHooks;null!==W&&Ou(c,W,null)}else{var X=l.preOrderHooks;null!==X&&dc(c,X,0,null),Do(c,0)}if(function(l){for(var c=mb(l);null!==c;c=Qv(c))if(c[2])for(var d=c[9],h=0;h<d.length;h++){var y=d[h];0==(1024&y[2])&&Sl(y[3],1),y[2]|=1024}}(c),function(l){for(var c=mb(l);null!==c;c=Qv(c))for(var d=10;d<c.length;d++){var h=c[d],y=h[1];Cp(h)&&Ud(y,h,y.template,h[8])}}(c),null!==l.contentQueries&&ox(l,c),!w)if(H){var me=l.contentCheckHooks;null!==me&&Ou(c,me)}else{var De=l.contentHooks;null!==De&&dc(c,De,1),Do(c,1)}!function(l,c){var d=l.hostBindingOpCodes;if(null!==d)try{for(var h=0;h<d.length;h++){var y=d[h];if(y<0)ms(~y);else{var w=y,H=d[++h],W=d[++h];oi(H,w),W(2,c[w])}}}finally{ms(-1)}}(l,c);var Xe=l.components;null!==Xe&&function(l,c){for(var d=0;d<c.length;d++)KF(l,c[d])}(c,Xe);var Ke=l.viewQuery;if(null!==Ke&&vx(2,Ke,h),!w)if(H){var mt=l.viewCheckHooks;null!==mt&&Ou(c,mt)}else{var Mt=l.viewHooks;null!==Mt&&dc(c,Mt,2),Do(c,2)}!0===l.firstUpdatePass&&(l.firstUpdatePass=!1),w||(c[2]&=-73),1024&c[2]&&(c[2]&=-1025,Sl(c[3],-1))}finally{Xo()}}}function pO(l,c,d,h){var y=c[10],w=!An(),H=Es(c);try{w&&!H&&y.begin&&y.begin(),H&&Lh(l,c,h),Ud(l,c,d,h)}finally{w&&!H&&y.end&&y.end()}}function Lb(l,c,d,h,y){var w=Ao(),H=2&h;try{ms(-1),H&&c.length>20&&iO(l,c,20,An()),d(h,y)}finally{ms(w)}}function sx(l,c,d){if(ha(c))for(var y=c.directiveEnd,w=c.directiveStart;w<y;w++){var H=l.data[w];H.contentQueries&&H.contentQueries(1,d[w],w)}}function Fh(l,c,d){!vd()||(function(l,c,d,h){var y=d.directiveStart,w=d.directiveEnd;l.firstCreatePass||fh(d,c),Wa(h,c);for(var H=d.initialInputs,W=y;W<w;W++){var X=l.data[W],me=Zi(X);me&&JF(c,d,X);var De=Pu(c,l,W,d);Wa(De,c),null!==H&&MO(0,W-y,De,X,0,H),me&&(ba(d.index,c)[8]=De)}}(l,c,d,Ii(d,c)),128==(128&d.flags)&&function(l,c,d){var h=d.directiveStart,y=d.directiveEnd,H=d.index,W=Ar.lFrame.currentDirectiveIndex;try{ms(H);for(var X=h;X<y;X++){var me=l.data[X],De=c[X];Be(X),(null!==me.hostBindings||0!==me.hostVars||null!==me.hostAttrs)&&SO(me,De)}}finally{ms(-1),Be(W)}}(l,c,d))}function Rl(l,c){var d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ii,h=c.localNames;if(null!==h)for(var y=c.index+1,w=0;w<h.length;w+=2){var H=h[w+1],W=-1===H?d(c,l):l[H];l[y++]=W}}function dg(l){var c=l.tView;return null===c||c.incompleteFirstPass?l.tView=pg(1,null,l.template,l.decls,l.vars,l.directiveDefs,l.pipeDefs,l.viewQuery,l.schemas,l.consts):c}function pg(l,c,d,h,y,w,H,W,X,me){var De=20+h,Xe=De+y,Ke=function(l,c){for(var d=[],h=0;h<c;h++)d.push(h<l?null:Ur);return d}(De,Xe),mt="function"==typeof me?me():me;return Ke[1]={type:l,blueprint:Ke,template:d,queries:null,viewQuery:W,declTNode:c,data:Ke.slice().fill(null,De),bindingStartIndex:De,expandoStartIndex:Xe,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof w?w():w,pipeRegistry:"function"==typeof H?H():H,firstChild:null,schemas:X,consts:mt,incompleteFirstPass:!1}}function Bb(l,c,d,h){var y=jb(c);null===d?y.push(h):(y.push(d),l.firstCreatePass&&NO(l).push(h,y.length-1))}function Ub(l,c,d){for(var h in l)if(l.hasOwnProperty(h)){var y=l[h];(d=null===d?{}:d).hasOwnProperty(h)?d[h].push(c,y):d[h]=[c,y]}return d}function Ls(l,c,d,h,y,w,H,W){var De,X=Ii(c,d),me=c.inputs;!W&&null!=me&&(De=me[h])?(yx(l,d,De,h,y),Si(c)&&function(l,c){var d=ba(c,l);16&d[2]||(d[2]|=64)}(d,c.index)):3&c.type&&(h=function(l){return"class"===l?"className":"for"===l?"htmlFor":"formaction"===l?"formAction":"innerHtml"===l?"innerHTML":"readonly"===l?"readOnly":"tabindex"===l?"tabIndex":l}(h),y=null!=H?H(y,c.value||"",h):y,St(w)?w.setProperty(X,h,y):iT(h)||(X.setProperty?X.setProperty(h,y):X[h]=y))}function hg(l,c,d,h){var y=!1;if(vd()){var w=function(l,c,d){var h=l.directiveRegistry,y=null;if(h)for(var w=0;w<h.length;w++){var H=h[w];KT(d,H.selectors,!1)&&(y||(y=[]),Ev(fh(d,c),l,H.type),Zi(H)?(xO(l,d),y.unshift(H)):y.push(H))}return y}(l,c,d),H=null===h?null:{"":-1};if(null!==w){y=!0,kO(d,l.data.length,w.length);for(var W=0;W<w.length;W++){var X=w[W];X.providersResolver&&X.providersResolver(X)}for(var me=!1,De=!1,Xe=Xp(l,c,w.length,null),Ke=0;Ke<w.length;Ke++){var mt=w[Ke];d.mergedAttrs=My(d.mergedAttrs,mt.hostAttrs),EO(l,d,c,Xe,mt),YF(Xe,mt,H),null!==mt.contentQueries&&(d.flags|=8),(null!==mt.hostBindings||null!==mt.hostAttrs||0!==mt.hostVars)&&(d.flags|=128);var Mt=mt.type.prototype;!me&&(Mt.ngOnChanges||Mt.ngOnInit||Mt.ngDoCheck)&&((l.preOrderHooks||(l.preOrderHooks=[])).push(d.index),me=!0),!De&&(Mt.ngOnChanges||Mt.ngDoCheck)&&((l.preOrderCheckHooks||(l.preOrderCheckHooks=[])).push(d.index),De=!0),Xe++}!function(l,c){for(var h=c.directiveEnd,y=l.data,w=c.attrs,H=[],W=null,X=null,me=c.directiveStart;me<h;me++){var De=y[me],Xe=De.inputs,Ke=null===w||QT(c)?null:QF(Xe,w);H.push(Ke),W=Ub(Xe,me,W),X=Ub(De.outputs,me,X)}null!==W&&(W.hasOwnProperty("class")&&(c.flags|=16),W.hasOwnProperty("style")&&(c.flags|=32)),c.initialInputs=H,c.inputs=W,c.outputs=X}(l,d)}H&&function(l,c,d){if(c)for(var h=l.localNames=[],y=0;y<c.length;y+=2){var w=d[c[y+1]];if(null==w)throw new le("301","Export of name '".concat(c[y+1],"' not found!"));h.push(c[y],w)}}(d,h,H)}return d.mergedAttrs=My(d.mergedAttrs,d.attrs),y}function dx(l,c,d,h,y,w){var H=w.hostBindings;if(H){var W=l.hostBindingOpCodes;null===W&&(W=l.hostBindingOpCodes=[]);var X=~c.index;(function(l){for(var c=l.length;c>0;){var d=l[--c];if("number"==typeof d&&d<0)return d}return 0})(W)!=X&&W.push(X),W.push(h,y,H)}}function SO(l,c){null!==l.hostBindings&&l.hostBindings(1,c)}function xO(l,c){c.flags|=2,(l.components||(l.components=[])).push(c.index)}function YF(l,c,d){if(d){if(c.exportAs)for(var h=0;h<c.exportAs.length;h++)d[c.exportAs[h]]=l;Zi(c)&&(d[""]=l)}}function kO(l,c,d){l.flags|=1,l.directiveStart=c,l.directiveEnd=c+d,l.providerIndexes=c}function EO(l,c,d,h,y){l.data[h]=y;var w=y.factory||(y.factory=Ka(y.type)),H=new Xi(w,Zi(y),null);l.blueprint[h]=H,d[h]=H,dx(l,c,0,h,Xp(l,d,y.hostVars,Ur),y)}function JF(l,c,d){var h=Ii(c,l),y=dg(d),w=l[10],H=Vb(l,Zh(l,y,null,d.onPush?64:16,h,c,w,w.createRenderer(h,d),null,null));l[c.index]=H}function Lu(l,c,d,h,y,w){var H=Ii(l,c);!function(l,c,d,h,y,w,H){if(null==w)St(l)?l.removeAttribute(c,y,d):c.removeAttribute(y);else{var W=null==H?be(w):H(w,h||"",y);St(l)?l.setAttribute(c,y,W,d):d?c.setAttributeNS(d,y,W):c.setAttribute(y,W)}}(c[11],H,w,l.value,d,h,y)}function MO(l,c,d,h,y,w){var H=w[c];if(null!==H)for(var W=h.setInput,X=0;X<H.length;){var me=H[X++],De=H[X++],Xe=H[X++];null!==W?h.setInput(d,Xe,me,De):d[De]=Xe}}function QF(l,c){for(var d=null,h=0;h<c.length;){var y=c[h];if(0!==y)if(5!==y){if("number"==typeof y)break;l.hasOwnProperty(y)&&(null===d&&(d=[]),d.push(y,l[y],c[h+1])),h+=2}else h+=2;else h+=4}return d}function Hb(l,c,d,h){return new Array(l,!0,!1,c,null,0,h,d,null,null)}function KF(l,c){var d=ba(c,l);if(Cp(d)){var h=d[1];80&d[2]?Ud(h,d,h.template,d[8]):d[5]>0&&px(d)}}function px(l){for(var c=mb(l);null!==c;c=Qv(c))for(var d=10;d<c.length;d++){var h=c[d];if(1024&h[2]){var y=h[1];Ud(y,h,y.template,h[8])}else h[5]>0&&px(h)}var H=l[1].components;if(null!==H)for(var W=0;W<H.length;W++){var X=ba(H[W],l);Cp(X)&&X[5]>0&&px(X)}}function XF(l,c){var d=ba(c,l),h=d[1];(function(l,c){for(var d=c.length;d<l.blueprint.length;d++)c.push(l.blueprint[d])})(h,d),Lh(h,d,d[8])}function Vb(l,c){return l[13]?l[14][4]=c:l[13]=c,l[14]=c,c}function fx(l){for(;l;){l[2]|=64;var c=Zd(l);if(ma(l)&&!c)return l;l=c}return null}function mx(l,c,d){var h=c[10];h.begin&&h.begin();try{Ud(l,c,l.template,d)}catch(y){throw _x(c,y),y}finally{h.end&&h.end()}}function OO(l){!function(l){for(var c=0;c<l.components.length;c++){var d=l.components[c],h=nb(d),y=h[1];pO(y,h,y.template,d)}}(l[8])}function vx(l,c,d){Ue(0),c(l,d)}var RO=function(){return Promise.resolve(null)}();function jb(l){return l[7]||(l[7]=[])}function NO(l){return l.cleanup||(l.cleanup=[])}function gx(l,c,d){return(null===l||Zi(l))&&(d=function(l){for(;Array.isArray(l);){if("object"==typeof l[1])return l;l=l[0]}return null}(d[c.index])),d[11]}function _x(l,c){var d=l[9],h=d?d.get(Tc,null):null;h&&h.handleError(c)}function yx(l,c,d,h,y){for(var w=0;w<d.length;){var H=d[w++],W=d[w++],X=c[H],me=l.data[H];null!==me.setInput?me.setInput(X,y,h,W):X[W]=y}}function du(l,c,d){var h=li(c,l);!function(l,c,d){St(l)?l.setValue(c,d):c.textContent=d}(l[11],h,d)}function vg(l,c,d){var h=d?l.styles:null,y=d?l.classes:null,w=0;if(null!==c)for(var H=0;H<c.length;H++){var W=c[H];"number"==typeof W?w=W:1==w?y=J(y,W):2==w&&(h=J(h,W+": "+c[++H]+";"))}d?l.styles=h:l.stylesWithoutHost=h,d?l.classes=y:l.classesWithoutHost=y}var $p=new Ro("INJECTOR",-1),bx=function(){function l(){(0,M.Z)(this,l)}return(0,D.Z)(l,[{key:"get",value:function(d){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_h;if(h===_h){var y=new Error("NullInjectorError: No provider for ".concat(z(d),"!"));throw y.name="NullInjectorError",y}return h}}]),l}(),Bh=new Ro("Set Injector scope."),Hd={},zb={},pu=void 0;function Cx(){return void 0===pu&&(pu=new bx),pu}function Sx(l){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,h=arguments.length>3?arguments[3]:void 0;return new BO(l,d,c||Cx(),h)}var BO=function(){function l(c,d,h){var y=this,w=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;(0,M.Z)(this,l),this.parent=h,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var H=[];d&&Ds(d,function(X){return y.processProvider(X,c,d)}),Ds([c],function(X){return y.processInjectorType(X,[],H)}),this.records.set($p,ef(void 0,this));var W=this.records.get(Bh);this.scope=null!=W?W.value:null,this.source=w||("object"==typeof c?null:z(c))}return(0,D.Z)(l,[{key:"destroyed",get:function(){return this._destroyed}},{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(d){return d.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(d){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_h,y=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ht.Default;this.assertNotDestroyed();var w=Lv(this),H=Yt(void 0);try{if(!(y&ht.SkipSelf)){var W=this.records.get(d);if(void 0===W){var X=i5(d)&&wn(d);W=X&&this.injectableDefInScope(X)?ef(Wb(d),Hd):null,this.records.set(d,W)}if(null!=W)return this.hydrate(d,W)}var me=y&ht.Self?Cx():this.parent;return me.get(d,h=y&ht.Optional&&h===_h?null:h)}catch(Xe){if("NullInjectorError"===Xe.name){var De=Xe[kd]=Xe[kd]||[];if(De.unshift(z(d)),w)throw Xe;return ST(Xe,d,"R3InjectorError",this.source)}throw Xe}finally{Yt(H),Lv(w)}}},{key:"_resolveInjectorDefTypes",value:function(){var d=this;this.injectorDefTypes.forEach(function(h){return d.get(h)})}},{key:"toString",value:function(){var d=[];return this.records.forEach(function(y,w){return d.push(z(w))}),"R3Injector[".concat(d.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(d,h,y){var w=this;if(!(d=ae(d)))return!1;var H=ve(d),W=null==H&&d.ngModule||void 0,X=void 0===W?d:W,Xe=-1!==y.indexOf(X);if(void 0!==W&&(H=ve(W)),null==H)return!1;if(null!=H.imports&&!Xe){var Ke;y.push(X);try{Ds(H.imports,function(_n){w.processInjectorType(_n,h,y)&&(void 0===Ke&&(Ke=[]),Ke.push(_n))})}finally{}if(void 0!==Ke)for(var mt=function(Kn){var lr=Ke[Kn],Wr=lr.ngModule,Mi=lr.providers;Ds(Mi,function(go){return w.processProvider(go,Wr,Mi||he)})},Mt=0;Mt<Ke.length;Mt++)mt(Mt)}this.injectorDefTypes.add(X);var zt=Ka(X)||function(){return new X};this.records.set(X,ef(zt,Hd));var hn=H.providers;if(null!=hn&&!Xe){var Fn=d;Ds(hn,function(_n){return w.processProvider(_n,Fn,hn)})}return void 0!==W&&void 0!==d.providers}},{key:"processProvider",value:function(d,h,y){var w=tf(d=ae(d))?d:ae(d&&d.provide),H=function(l,c,d){return gg(l)?ef(void 0,l.useValue):ef(Tx(l),Hd)}(d);if(tf(d)||!0!==d.multi)this.records.get(w);else{var W=this.records.get(w);W||((W=ef(void 0,Hd,!0)).factory=function(){return Md(W.multi)},this.records.set(w,W)),w=d,W.multi.push(d)}this.records.set(w,H)}},{key:"hydrate",value:function(d,h){return h.value===Hd&&(h.value=zb,h.value=h.factory()),"object"==typeof h.value&&h.value&&function(l){return null!==l&&"object"==typeof l&&"function"==typeof l.ngOnDestroy}(h.value)&&this.onDestroy.add(h.value),h.value}},{key:"injectableDefInScope",value:function(d){if(!d.providedIn)return!1;var h=ae(d.providedIn);return"string"==typeof h?"any"===h||h===this.scope:this.injectorDefTypes.has(h)}}]),l}();function Wb(l){var c=wn(l),d=null!==c?c.factory:Ka(l);if(null!==d)return d;if(l instanceof Ro)throw new Error("Token ".concat(z(l)," is missing a \u0275prov definition."));if(l instanceof Function)return function(l){var c=l.length;if(c>0){var d=mc(c,"?");throw new Error("Can't resolve all parameters for ".concat(z(l),": (").concat(d.join(", "),")."))}var h=function(l){var c=l&&(l[ye]||l[we]);if(c){var d=function(l){if(l.hasOwnProperty("name"))return l.name;var c=(""+l).match(/^function\s*([^\s(]+)/);return null===c?"":c[1]}(l);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(d,'" that inherits its @Injectable decorator but does not provide one itself.\n')+'This will become an error in a future version of Angular. Please add @Injectable() to the "'.concat(d,'" class.')),c}return null}(l);return null!==h?function(){return h.factory(l)}:function(){return new l}}(l);throw new Error("unreachable")}function Tx(l,c,d){var h=void 0;if(tf(l)){var y=ae(l);return Ka(y)||Wb(y)}if(gg(l))h=function(){return ae(l.useValue)};else if(function(l){return!(!l||!l.useFactory)}(l))h=function(){return l.useFactory.apply(l,(0,v.Z)(Md(l.deps||[])))};else if(function(l){return!(!l||!l.useExisting)}(l))h=function(){return Wo(ae(l.useExisting))};else{var w=ae(l&&(l.useClass||l.provide));if(!function(l){return!!l.deps}(l))return Ka(w)||Wb(w);h=function(){return(0,P.Z)(w,(0,v.Z)(Md(l.deps)))}}return h}function ef(l,c){var d=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:l,value:c,multi:d?[]:void 0}}function gg(l){return null!==l&&"object"==typeof l&&Zv in l}function tf(l){return"function"==typeof l}function i5(l){return"function"==typeof l||"object"==typeof l&&l instanceof Ro}var qO=function(l,c,d){return function(l){var y=Sx(l,arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,arguments.length>3?arguments[3]:void 0);return y._resolveInjectorDefTypes(),y}({name:d},c,l,d)},Za=function(){var l=function(){function c(){(0,M.Z)(this,c)}return(0,D.Z)(c,null,[{key:"create",value:function(h,y){return Array.isArray(h)?qO(h,y,""):qO(h.providers,h.parent,h.name||"")}}]),c}();return l.THROW_IF_NOT_FOUND=_h,l.NULL=new bx,l.\u0275prov=In({token:l,providedIn:"any",factory:function(){return Wo($p)}}),l.__NG_ELEMENT_ID__=-1,l}();function tP(l,c){jo(nb(l)[1],ee())}function Vh(l){for(var c=function(l){return Object.getPrototypeOf(l.prototype).constructor}(l.type),d=!0,h=[l];c;){var y=void 0;if(Zi(l))y=c.\u0275cmp||c.\u0275dir;else{if(c.\u0275cmp)throw new Error("Directives cannot inherit Components");y=c.\u0275dir}if(y){if(d){h.push(y);var w=l;w.inputs=qh(l.inputs),w.declaredInputs=qh(l.declaredInputs),w.outputs=qh(l.outputs);var H=y.hostBindings;H&&rP(l,H);var W=y.viewQuery,X=y.contentQueries;if(W&&nP(l,W),X&&Qb(l,X),K(l.inputs,y.inputs),K(l.declaredInputs,y.declaredInputs),K(l.outputs,y.outputs),Zi(y)&&y.data.animation){var me=l.data;me.animation=(me.animation||[]).concat(y.data.animation)}}var De=y.features;if(De)for(var Xe=0;Xe<De.length;Xe++){var Ke=De[Xe];Ke&&Ke.ngInherit&&Ke(l),Ke===Vh&&(d=!1)}}c=Object.getPrototypeOf(c)}!function(l){for(var c=0,d=null,h=l.length-1;h>=0;h--){var y=l[h];y.hostVars=c+=y.hostVars,y.hostAttrs=My(y.hostAttrs,d=My(d,y.hostAttrs))}}(h)}function qh(l){return l===rt?{}:l===he?[]:l}function nP(l,c){var d=l.viewQuery;l.viewQuery=d?function(h,y){c(h,y),d(h,y)}:c}function Qb(l,c){var d=l.contentQueries;l.contentQueries=d?function(h,y,w){c(h,y,w),d(h,y,w)}:c}function rP(l,c){var d=l.hostBindings;l.hostBindings=d?function(h,y){c(h,y),d(h,y)}:c}var bg=null;function nf(){if(!bg){var l=Rt.Symbol;if(l&&l.iterator)bg=l.iterator;else for(var c=Object.getOwnPropertyNames(Map.prototype),d=0;d<c.length;++d){var h=c[d];"entries"!==h&&"size"!==h&&Map.prototype[h]===Map.prototype.entries&&(bg=h)}}return bg}var Vd=function(){function l(c){(0,M.Z)(this,l),this.wrapped=c}return(0,D.Z)(l,null,[{key:"wrap",value:function(d){return new l(d)}},{key:"unwrap",value:function(d){return l.isWrapped(d)?d.wrapped:d}},{key:"isWrapped",value:function(d){return d instanceof l}}]),l}();function Oc(l){return!!Kb(l)&&(Array.isArray(l)||!(l instanceof Map)&&nf()in l)}function Kb(l){return null!==l&&("function"==typeof l||"object"==typeof l)}function Bu(l,c,d){return l[c]=d}function sa(l,c,d){return!Object.is(l[c],d)&&(l[c]=d,!0)}function Pc(l,c,d,h){var y=sa(l,c,d);return sa(l,c+1,h)||y}function Xb(l,c,d,h){var y=Se();return sa(y,Cr(),c)&&(ge(),Lu(ho(),y,l,c,d,h)),Xb}function of(l,c,d,h){return sa(l,Cr(),d)?c+be(d)+h:Ur}function af(l,c,d,h,y,w){var W=Pc(l,hr(),d,y);return Er(2),W?c+be(d)+h+be(y)+w:Ur}function sf(l,c,d,h,y,w,H,W){var me=function(l,c,d,h,y){var w=Pc(l,c,d,h);return sa(l,c+2,y)||w}(l,hr(),d,y,H);return Er(3),me?c+be(d)+h+be(y)+w+be(H)+W:Ur}function Sg(l,c,d,h,y,w){var H=Se(),W=of(H,c,d,h);return W!==Ur&&Lu(ho(),H,l,W,y,w),Sg}function $b(l,c,d,h,y,w,H,W){var X=Se(),me=af(X,c,d,h,y,w);return me!==Ur&&Lu(ho(),X,l,me,H,W),$b}function a0(l,c,d,h,y,w,H,W){var X=Se(),me=ge(),De=l+20,Xe=me.firstCreatePass?function(l,c,d,h,y,w,H,W,X){var me=c.consts,De=Kp(c,l,4,H||null,Js(me,W));hg(c,d,De,Js(me,X)),jo(c,De);var Xe=De.tViews=pg(2,De,h,y,w,c.directiveRegistry,c.pipeRegistry,null,c.schemas,me);return null!==c.queries&&(c.queries.template(c,De),Xe.queries=c.queries.embeddedTView(De)),De}(De,me,X,c,d,h,y,w,H):me.data[De];lt(Xe,!1);var Ke=X[11].createComment("");ng(me,X,Ke,Xe),Wa(Ke,X),Vb(X,X[De]=Hb(Ke,X,Ke,Xe)),Co(Xe)&&Fh(me,X,Xe),null!=H&&Rl(X,Xe,W)}function Zx(l){return Xa(Ar.lFrame.contextLView,20+l)}function Wh(l){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ht.Default,d=Se();if(null===d)return Wo(l,c);var h=ee();return Mv(h,d,ae(l),c)}function xg(l,c,d){var h=Se();return sa(h,Cr(),c)&&Ls(ge(),ho(),h,l,c,h[11],d,!1),xg}function d0(l,c,d,h,y){var H=y?"class":"style";yx(l,d,c.inputs[H],H,h)}function wg(l,c,d,h){var y=Se(),w=ge(),H=20+l,W=y[11],X=y[H]=vb(W,c,Ar.lFrame.currentNamespace),me=w.firstCreatePass?function(l,c,d,h,y,w,H){var W=c.consts,me=Kp(c,l,2,y,Js(W,w));return hg(c,d,me,Js(W,H)),null!==me.attrs&&vg(me,me.attrs,!1),null!==me.mergedAttrs&&vg(me,me.mergedAttrs,!0),null!==c.queries&&c.queries.elementStart(c,me),me}(H,w,y,0,c,d,h):w.data[H];lt(me,!0);var De=me.mergedAttrs;null!==De&&Ks(W,X,De);var Xe=me.classes;null!==Xe&&wb(W,X,Xe);var Ke=me.styles;null!==Ke&&xb(W,X,Ke),64!=(64&me.flags)&&ng(w,y,X,me),0===Ar.lFrame.elementDepthCount&&Wa(X,y),Ar.lFrame.elementDepthCount++,Co(me)&&(Fh(w,y,me),sx(w,me,y)),null!==h&&Rl(y,me)}function p0(){var l=ee();wt()?Zt():lt(l=l.parent,!1);var c=l;Ar.lFrame.elementDepthCount--;var d=ge();d.firstCreatePass&&(jo(d,l),ha(l)&&d.queries.elementEnd(l)),null!=c.classesWithoutHost&&function(l){return 0!=(16&l.flags)}(c)&&d0(d,c,Se(),c.classesWithoutHost,!0),null!=c.stylesWithoutHost&&function(l){return 0!=(32&l.flags)}(c)&&d0(d,c,Se(),c.stylesWithoutHost,!1)}function $x(l,c,d,h){wg(l,c,d,h),p0()}function Wd(l,c,d){var h=Se(),y=ge(),w=l+20,H=y.firstCreatePass?function(l,c,d,h,y){var w=c.consts,H=Js(w,h),W=Kp(c,l,8,"ng-container",H);return null!==H&&vg(W,H,!0),hg(c,d,W,Js(w,y)),null!==c.queries&&c.queries.elementStart(c,W),W}(w,y,h,c,d):y.data[w];lt(H,!0);var W=h[w]=h[11].createComment("");ng(y,h,W,H),Wa(W,h),Co(H)&&(Fh(y,h,H),sx(y,H,h)),null!=d&&Rl(h,H)}function Gh(){var l=ee(),c=ge();wt()?Zt():lt(l=l.parent,!1),c.firstCreatePass&&(jo(c,l),ha(l)&&c.queries.elementEnd(l))}function f0(l,c,d){Wd(l,c,d),Gh()}function h0(){return Se()}function Fc(l){return!!l&&"function"==typeof l.then}function ew(l){return!!l&&"function"==typeof l.subscribe}var m0=ew;function v0(l,c,d,h){var y=Se(),w=ge(),H=ee();return tw(w,y,y[11],H,l,c,!!d,h),v0}function kg(l,c){var d=ee(),h=Se(),y=ge();return tw(y,h,gx(Ye(y.data),d,h),d,l,c,!1),kg}function tw(l,c,d,h,y,w,H,W){var X=Co(h),De=l.firstCreatePass&&NO(l),Xe=c[8],Ke=jb(c),mt=!0;if(3&h.type||W){var Mt=Ii(h,c),zt=W?W(Mt):Mt,hn=Ke.length,Fn=W?function(Qc){return W(jr(Qc[h.index]))}:h.index;if(St(d)){var _n=null;if(!W&&X&&(_n=function(l,c,d,h){var y=l.cleanup;if(null!=y)for(var w=0;w<y.length-1;w+=2){var H=y[w];if(H===d&&y[w+1]===h){var W=c[7],X=y[w+2];return W.length>X?W[X]:null}"string"==typeof H&&(w+=2)}return null}(l,c,y,h.index)),null!==_n)(_n.__ngLastListenerFn__||_n).__ngNextListenerFn__=w,_n.__ngLastListenerFn__=w,mt=!1;else{w=Eg(h,c,Xe,w,!1);var lr=d.listen(zt,y,w);Ke.push(w,lr),De&&De.push(y,Fn,hn,hn+1)}}else w=Eg(h,c,Xe,w,!0),zt.addEventListener(y,w,H),Ke.push(w),De&&De.push(y,Fn,hn,H)}else w=Eg(h,c,Xe,w,!1);var Mi,Wr=h.outputs;if(mt&&null!==Wr&&(Mi=Wr[y])){var go=Mi.length;if(go)for(var ca=0;ca<go;ca+=2){var bu=c[Mi[ca]][Mi[ca+1]].subscribe(w),ql=Ke.length;Ke.push(w,bu),De&&De.push(y,h.index,ql,-(ql+1))}}}function nw(l,c,d,h){try{return!1!==d(h)}catch(y){return _x(l,y),!1}}function Eg(l,c,d,h,y){return function w(H){if(H===Function)return h;var W=2&l.flags?ba(l.index,c):c;0==(32&c[2])&&fx(W);for(var X=nw(c,0,h,H),me=w.__ngNextListenerFn__;me;)X=nw(c,0,me,H)&&X,me=me.__ngNextListenerFn__;return y&&!1===X&&(H.preventDefault(),H.returnValue=!1),X}}function Yh(){var l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return Pa(l)}function rw(l,c){for(var d=null,h=function(l){var c=l.attrs;if(null!=c){var d=c.indexOf(5);if(0==(1&d))return c[d+1]}return null}(l),y=0;y<c.length;y++){var w=c[y];if("*"!==w){if(null===h?KT(l,w,!0):kb(h,w))return y}else d=y}return d}function iw(l){var c=Se()[16][6];if(!c.projection)for(var h=c.projection=mc(l?l.length:1,null),y=h.slice(),w=c.child;null!==w;){var H=l?rw(w,l):0;null!==H&&(y[H]?y[H].projectionNext=w:h[H]=w,y[H]=w),w=w.next}}function ow(l){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,d=arguments.length>2?arguments[2]:void 0,h=Se(),y=ge(),w=Kp(y,20+l,16,null,d||null);null===w.projection&&(w.projection=c),Zt(),64!=(64&w.flags)&&WD(y,h,w)}function g0(l,c,d){return pf(l,"",c,"",d),g0}function pf(l,c,d,h,y){var w=Se(),H=of(w,c,d,h);return H!==Ur&&Ls(ge(),ho(),w,l,H,w[11],y,!1),pf}function Mg(l,c,d,h,y,w,H){var W=Se(),X=af(W,c,d,h,y,w);return X!==Ur&&Ls(ge(),ho(),W,l,X,W[11],H,!1),Mg}function fw(l,c,d,h,y){for(var w=l[d+1],H=null===c,W=h?uu(w):is(w),X=!1;0!==W&&(!1===X||H);){var De=l[W+1];OP(l[W],c)&&(X=!0,l[W+1]=h?ex(De):Ab(De)),W=h?uu(De):is(De)}X&&(l[d+1]=h?Ab(w):ex(w))}function OP(l,c){return null===l||null==c||(Array.isArray(l)?l[1]:l)===c||!(!Array.isArray(l)||"string"!=typeof c)&&xd(l,c)>=0}var la={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function hw(l){return l.substring(la.key,la.keyEnd)}function mw(l){return l.substring(la.value,la.valueEnd)}function C0(l,c){var d=la.textEnd;return d===c?-1:(c=la.keyEnd=function(l,c,d){for(;c<d&&l.charCodeAt(c)>32;)c++;return c}(l,la.key=c,d),Gd(l,c,d))}function gw(l,c){var d=la.textEnd,h=la.key=Gd(l,c,d);return d===h?-1:(h=la.keyEnd=function(l,c,d){for(var h;c<d&&(45===(h=l.charCodeAt(c))||95===h||(-33&h)>=65&&(-33&h)<=90||h>=48&&h<=57);)c++;return c}(l,h,d),h=yw(l,h,d),h=la.value=Gd(l,h,d),h=la.valueEnd=function(l,c,d){for(var h=-1,y=-1,w=-1,H=c,W=H;H<d;){var X=l.charCodeAt(H++);if(59===X)return W;34===X||39===X?W=H=Cw(l,X,H,d):c===H-4&&85===w&&82===y&&76===h&&40===X?W=H=Cw(l,41,H,d):X>32&&(W=H),w=y,y=h,h=-33&X}return W}(l,h,d),yw(l,h,d))}function _w(l){la.key=0,la.keyEnd=0,la.value=0,la.valueEnd=0,la.textEnd=l.length}function Gd(l,c,d){for(;c<d&&l.charCodeAt(c)<=32;)c++;return c}function yw(l,c,d,h){return(c=Gd(l,c,d))<d&&c++,c}function Cw(l,c,d,h){for(var y=-1,w=d;w<h;){var H=l.charCodeAt(w++);if(H==c&&92!==y)return w;y=92==H&&92===y?0:H}throw new Error}function S0(l,c,d){return tl(l,c,d,!1),S0}function T0(l,c){return tl(l,c,null,!0),T0}function Nl(l){nl(M0,RP,l,!1)}function RP(l,c){for(var d=function(l){return _w(l),gw(l,Gd(l,0,la.textEnd))}(c);d>=0;d=gw(c,d))M0(l,hw(c),mw(c))}function x0(l){nl(es,Zl,l,!0)}function Zl(l,c){for(var d=function(l){return _w(l),C0(l,Gd(l,0,la.textEnd))}(c);d>=0;d=C0(c,d))es(l,hw(c),!0)}function tl(l,c,d,h){var y=Se(),w=ge(),H=Er(2);w.firstUpdatePass&&k0(w,l,H,h),c!==Ur&&sa(y,H,c)&&A0(w,w.data[Ao()],y,y[11],l,y[H+1]=function(l,c){return null==l||("string"==typeof c?l+=c:"object"==typeof l&&(l=z(su(l)))),l}(c,d),h,H)}function nl(l,c,d,h){var y=ge(),w=Er(2);y.firstUpdatePass&&k0(y,null,w,h);var H=Se();if(d!==Ur&&sa(H,w,d)){var W=y.data[Ao()];if(O0(W,h)&&!w0(y,w)){var me=h?W.classesWithoutHost:W.stylesWithoutHost;null!==me&&(d=J(me,d||"")),d0(y,W,H,d,h)}else!function(l,c,d,h,y,w,H,W){y===Ur&&(y=he);for(var X=0,me=0,De=0<y.length?y[0]:null,Xe=0<w.length?w[0]:null;null!==De||null!==Xe;){var Ke=X<y.length?y[X+1]:void 0,mt=me<w.length?w[me+1]:void 0,Mt=null,zt=void 0;De===Xe?(X+=2,me+=2,Ke!==mt&&(Mt=Xe,zt=mt)):null===Xe||null!==De&&De<Xe?(X+=2,Mt=De):(me+=2,Mt=Xe,zt=mt),null!==Mt&&A0(l,c,d,h,Mt,zt,H,W),De=X<y.length?y[X]:null,Xe=me<w.length?w[me]:null}}(y,W,H,H[11],H[w+1],H[w+1]=function(l,c,d){if(null==d||""===d)return he;var h=[],y=su(d);if(Array.isArray(y))for(var w=0;w<y.length;w++)l(h,y[w],!0);else if("object"==typeof y)for(var H in y)y.hasOwnProperty(H)&&l(h,H,y[H]);else"string"==typeof y&&c(h,y);return h}(l,c,d),h,w)}}function w0(l,c){return c>=l.expandoStartIndex}function k0(l,c,d,h){var y=l.data;if(null===y[d+1]){var w=y[Ao()],H=w0(l,d);O0(w,h)&&null===c&&!H&&(c=!1),c=function(l,c,d,h){var y=Ye(l),w=h?c.residualClasses:c.residualStyles;if(null===y)0===(h?c.classBindings:c.styleBindings)&&(d=Jh(d=E0(null,l,c,d,h),c.attrs,h),w=null);else{var W=c.directiveStylingLast;if(-1===W||l[W]!==y)if(d=E0(y,l,c,d,h),null===w){var me=function(l,c,d){var h=d?c.classBindings:c.styleBindings;if(0!==is(h))return l[uu(h)]}(l,c,h);void 0!==me&&Array.isArray(me)&&function(l,c,d,h){l[uu(d?c.classBindings:c.styleBindings)]=h}(l,c,h,me=Jh(me=E0(null,l,c,me[1],h),c.attrs,h))}else w=function(l,c,d){for(var h=void 0,y=c.directiveEnd,w=1+c.directiveStylingLast;w<y;w++)h=Jh(h,l[w].hostAttrs,d);return Jh(h,c.attrs,d)}(l,c,h)}return void 0!==w&&(h?c.residualClasses=w:c.residualStyles=w),d}(y,w,c,h),function(l,c,d,h,y,w){var H=w?c.classBindings:c.styleBindings,W=uu(H),X=is(H);l[h]=d;var De,me=!1;if(Array.isArray(d)?(null===(De=d[1])||xd(d,De)>0)&&(me=!0):De=d,y)if(0!==X){var mt=uu(l[W+1]);l[h+1]=Mb(mt,W),0!==mt&&(l[mt+1]=$T(l[mt+1],h)),l[W+1]=function(l,c){return 131071&l|c<<17}(l[W+1],h)}else l[h+1]=Mb(W,0),0!==W&&(l[W+1]=$T(l[W+1],h)),W=h;else l[h+1]=Mb(X,0),0===W?W=h:l[X+1]=$T(l[X+1],h),X=h;me&&(l[h+1]=Ab(l[h+1])),fw(l,De,h,!0),fw(l,De,h,!1),function(l,c,d,h,y){var w=y?l.residualClasses:l.residualStyles;null!=w&&"string"==typeof c&&xd(w,c)>=0&&(d[h+1]=ex(d[h+1]))}(c,De,l,h,w),H=Mb(W,X),w?c.classBindings=H:c.styleBindings=H}(y,w,c,d,H,h)}}function E0(l,c,d,h,y){var w=null,H=d.directiveEnd,W=d.directiveStylingLast;for(-1===W?W=d.directiveStart:W++;W<H&&(h=Jh(h,(w=c[W]).hostAttrs,y),w!==l);)W++;return null!==l&&(d.directiveStylingLast=W),h}function Jh(l,c,d){var h=d?1:2,y=-1;if(null!==c)for(var w=0;w<c.length;w++){var H=c[w];"number"==typeof H?y=H:y===h&&(Array.isArray(l)||(l=void 0===l?[]:["",l]),es(l,H,!!d||c[++w]))}return void 0===l?null:l}function M0(l,c,d){es(l,c,su(d))}function A0(l,c,d,h,y,w,H,W){if(3&c.type){var X=l.data,me=X[W+1];Ag(function(l){return 1==(1&l)}(me)?D0(X,c,d,y,is(me),H):void 0)||(Ag(w)||function(l){return 2==(2&l)}(me)&&(w=D0(X,null,d,y,W,H)),function(l,c,d,h,y){var w=St(l);if(c)y?w?l.addClass(d,h):d.classList.add(h):w?l.removeClass(d,h):d.classList.remove(h);else{var H=-1===h.indexOf("-")?void 0:Eh.DashCase;if(null==y)w?l.removeStyle(d,h,H):d.style.removeProperty(h);else{var W="string"==typeof y&&y.endsWith("!important");W&&(y=y.slice(0,-10),H|=Eh.Important),w?l.setStyle(d,h,y,H):d.style.setProperty(h,y,W?"important":"")}}}(h,H,li(Ao(),d),y,w))}}function D0(l,c,d,h,y,w){for(var H=null===c,W=void 0;y>0;){var X=l[y],me=Array.isArray(X),De=me?X[1]:X,Xe=null===De,Ke=d[y+1];Ke===Ur&&(Ke=Xe?he:void 0);var mt=Xe?gh(Ke,h):De===h?Ke:void 0;if(me&&!Ag(mt)&&(mt=gh(X,h)),Ag(mt)&&(W=mt,H))return W;var Mt=l[y+1];y=H?uu(Mt):is(Mt)}if(null!==c){var zt=w?c.residualClasses:c.residualStyles;null!=zt&&(W=gh(zt,h))}return W}function Ag(l){return void 0!==l}function O0(l,c){return 0!=(l.flags&(c?16:32))}function P0(l){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",d=Se(),h=ge(),y=l+20,w=h.firstCreatePass?Kp(h,y,1,c,null):h.data[y],H=d[y]=Kv(d[11],c);ng(h,d,H,w),lt(w,!1)}function I0(l){return Dg("",l,""),I0}function Dg(l,c,d){var h=Se(),y=of(h,l,c,d);return y!==Ur&&du(h,Ao(),y),Dg}function R0(l,c,d,h,y){var w=Se(),H=af(w,l,c,d,h,y);return H!==Ur&&du(w,Ao(),H),R0}function N0(l,c,d,h,y,w,H){var W=Se(),X=sf(W,l,c,d,h,y,w,H);return X!==Ur&&du(W,Ao(),X),N0}function Aw(l,c,d){nl(es,Zl,of(Se(),l,c,d),!0)}function Pw(l,c,d){var h=Se();return sa(h,Cr(),c)&&Ls(ge(),ho(),h,l,c,h[11],d,!0),Pw}function Iw(l,c,d){var h=Se();if(sa(h,Cr(),c)){var w=ge(),H=ho();Ls(w,H,h,l,c,gx(Ye(w.data),H,h),d,!0)}return Iw}var hf=void 0,H5=["en",[["a","p"],["AM","PM"],hf],[["AM","PM"],hf,hf],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],hf,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],hf,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",hf,"{1} 'at' {0}",hf],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(l){var c=Math.floor(Math.abs(l)),d=l.toString().replace(/^[^.]*\.?/,"").length;return 1===c&&0===d?1:5}],Qh={};function Rw(l){var c=function(l){return l.toLowerCase().replace(/_/g,"-")}(l),d=XP(c);if(d)return d;var h=c.split("-")[0];if(d=XP(h))return d;if("en"===h)return H5;throw new Error('Missing locale data for the locale "'.concat(l,'".'))}function KP(l){return Rw(l)[Og.PluralCase]}function XP(l){return l in Qh||(Qh[l]=Rt.ng&&Rt.ng.common&&Rt.ng.common.locales&&Rt.ng.common.locales[l]),Qh[l]}var Og=function(l){return l[l.LocaleId=0]="LocaleId",l[l.DayPeriodsFormat=1]="DayPeriodsFormat",l[l.DayPeriodsStandalone=2]="DayPeriodsStandalone",l[l.DaysFormat=3]="DaysFormat",l[l.DaysStandalone=4]="DaysStandalone",l[l.MonthsFormat=5]="MonthsFormat",l[l.MonthsStandalone=6]="MonthsStandalone",l[l.Eras=7]="Eras",l[l.FirstDayOfWeek=8]="FirstDayOfWeek",l[l.WeekendRange=9]="WeekendRange",l[l.DateFormat=10]="DateFormat",l[l.TimeFormat=11]="TimeFormat",l[l.DateTimeFormat=12]="DateTimeFormat",l[l.NumberSymbols=13]="NumberSymbols",l[l.NumberFormats=14]="NumberFormats",l[l.CurrencyCode=15]="CurrencyCode",l[l.CurrencySymbol=16]="CurrencySymbol",l[l.CurrencyName=17]="CurrencyName",l[l.Currencies=18]="Currencies",l[l.Directionality=19]="Directionality",l[l.PluralCase=20]="PluralCase",l[l.ExtraData=21]="ExtraData",l}({}),F0="en-US";function Nw(l){en(l,"Expected localeId to be defined"),"string"==typeof l&&l.toLowerCase().replace(/_/g,"-")}function OI(l,c,d){var h=ge();if(h.firstCreatePass){var y=Zi(l);Jw(d,h.data,h.blueprint,y,!0),Jw(c,h.data,h.blueprint,y,!1)}}function Jw(l,c,d,h,y){if(l=ae(l),Array.isArray(l))for(var w=0;w<l.length;w++)Jw(l[w],c,d,h,y);else{var H=ge(),W=Se(),X=tf(l)?l:ae(l.provide),me=Tx(l),De=ee(),Xe=1048575&De.providerIndexes,Ke=De.directiveStart,mt=De.providerIndexes>>20;if(tf(l)||!l.multi){var Mt=new Xi(me,y,Wh),zt=Xw(X,c,y?Xe:Xe+mt,Ke);-1===zt?(Ev(fh(De,W),H,X),Qw(H,l,c.length),c.push(X),De.directiveStart++,De.directiveEnd++,y&&(De.providerIndexes+=1048576),d.push(Mt),W.push(Mt)):(d[zt]=Mt,W[zt]=Mt)}else{var hn=Xw(X,c,Xe+mt,Ke),Fn=Xw(X,c,Xe,Xe+mt),Kn=Fn>=0&&d[Fn];if(y&&!Kn||!y&&!(hn>=0&&d[hn])){Ev(fh(De,W),H,X);var lr=function(l,c,d,h,y){var w=new Xi(l,d,Wh);return w.multi=[],w.index=c,w.componentProviders=0,Kw(w,y,h&&!d),w}(y?$w:z0,d.length,y,h,me);!y&&Kn&&(d[Fn].providerFactory=lr),Qw(H,l,c.length,0),c.push(X),De.directiveStart++,De.directiveEnd++,y&&(De.providerIndexes+=1048576),d.push(lr),W.push(lr)}else Qw(H,l,hn>-1?hn:Fn,Kw(d[y?Fn:hn],me,!y&&h));!y&&h&&Kn&&d[Fn].componentProviders++}}}function Qw(l,c,d,h){var y=tf(c);if(y||function(l){return!!l.useClass}(c)){var H=(c.useClass||c).prototype.ngOnDestroy;if(H){var W=l.destroyHooks||(l.destroyHooks=[]);if(!y&&c.multi){var X=W.indexOf(d);-1===X?W.push(d,[h,H]):W[X+1].push(h,H)}else W.push(d,H)}}}function Kw(l,c,d){return d&&l.componentProviders++,l.multi.push(c)-1}function Xw(l,c,d,h){for(var y=d;y<h;y++)if(c[y]===l)return y;return-1}function z0(l,c,d,h){return ek(this.multi,[])}function $w(l,c,d,h){var w,y=this.multi;if(this.providerFactory){var H=this.providerFactory.componentProviders,W=Pu(d,d[1],this.providerFactory.index,h);ek(y,w=W.slice(0,H));for(var X=H;X<W.length;X++)w.push(W[X])}else ek(y,w=[]);return w}function ek(l,c){for(var d=0;d<l.length;d++)c.push((0,l[d])());return c}function PI(l){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(d){d.providersResolver=function(h,y){return OI(h,y?y(l):l,c)}}}var mB=function l(){(0,M.Z)(this,l)},tk=function l(){(0,M.Z)(this,l)},_B=function(){function l(){(0,M.Z)(this,l)}return(0,D.Z)(l,[{key:"resolveComponentFactory",value:function(d){throw function(l){var c=Error("No component factory found for ".concat(z(l),". Did you add it to @NgModule.entryComponents?"));return c.ngComponent=l,c}(d)}}]),l}(),Zg=function(){var l=function c(){(0,M.Z)(this,c)};return l.NULL=new _B,l}();function W0(){}function $h(l,c){return new fu(Ii(l,c))}var SB=function(){return $h(ee(),Se())},fu=function(){var l=function c(d){(0,M.Z)(this,c),this.nativeElement=d};return l.__NG_ELEMENT_ID__=SB,l}();function nk(l){return l instanceof fu?l.nativeElement:l}var G0=function l(){(0,M.Z)(this,l)},TB=function(){var l=function c(){(0,M.Z)(this,c)};return l.__NG_ELEMENT_ID__=function(){return rk()},l}(),rk=function(){var l=Se(),d=ba(ee().index,l);return function(l){return l[11]}(fr(d)?d:l)},ik=function(){var l=function c(){(0,M.Z)(this,c)};return l.\u0275prov=In({token:l,providedIn:"root",factory:function(){return null}}),l}(),ok=function l(c){(0,M.Z)(this,l),this.full=c,this.major=c.split(".")[0],this.minor=c.split(".")[1],this.patch=c.split(".").slice(2).join(".")},NI=new ok("12.2.8"),ak=function(){function l(){(0,M.Z)(this,l)}return(0,D.Z)(l,[{key:"supports",value:function(d){return Oc(d)}},{key:"create",value:function(d){return new kB(d)}}]),l}(),ZI=function(c,d){return d},kB=function(){function l(c){(0,M.Z)(this,l),this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=c||ZI}return(0,D.Z)(l,[{key:"forEachItem",value:function(d){var h;for(h=this._itHead;null!==h;h=h._next)d(h)}},{key:"forEachOperation",value:function(d){for(var h=this._itHead,y=this._removalsHead,w=0,H=null;h||y;){var W=!y||h&&h.currentIndex<UI(y,w,H)?h:y,X=UI(W,w,H),me=W.currentIndex;if(W===y)w--,y=y._nextRemoved;else if(h=h._next,null==W.previousIndex)w++;else{H||(H=[]);var De=X-w,Xe=me-w;if(De!=Xe){for(var Ke=0;Ke<De;Ke++){var mt=Ke<H.length?H[Ke]:H[Ke]=0,Mt=mt+Ke;Xe<=Mt&&Mt<De&&(H[Ke]=mt+1)}H[W.previousIndex]=Xe-De}}X!==me&&d(W,X,me)}}},{key:"forEachPreviousItem",value:function(d){var h;for(h=this._previousItHead;null!==h;h=h._nextPrevious)d(h)}},{key:"forEachAddedItem",value:function(d){var h;for(h=this._additionsHead;null!==h;h=h._nextAdded)d(h)}},{key:"forEachMovedItem",value:function(d){var h;for(h=this._movesHead;null!==h;h=h._nextMoved)d(h)}},{key:"forEachRemovedItem",value:function(d){var h;for(h=this._removalsHead;null!==h;h=h._nextRemoved)d(h)}},{key:"forEachIdentityChange",value:function(d){var h;for(h=this._identityChangesHead;null!==h;h=h._nextIdentityChange)d(h)}},{key:"diff",value:function(d){if(null==d&&(d=[]),!Oc(d))throw new Error("Error trying to diff '".concat(z(d),"'. Only arrays and iterables are allowed"));return this.check(d)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(d){var h=this;this._reset();var H,W,X,y=this._itHead,w=!1;if(Array.isArray(d)){this.length=d.length;for(var me=0;me<this.length;me++)X=this._trackByFn(me,W=d[me]),null!==y&&Object.is(y.trackById,X)?(w&&(y=this._verifyReinsertion(y,W,X,me)),Object.is(y.item,W)||this._addIdentityChange(y,W)):(y=this._mismatch(y,W,X,me),w=!0),y=y._next}else H=0,function(l,c){if(Array.isArray(l))for(var d=0;d<l.length;d++)c(l[d]);else for(var y,h=l[nf()]();!(y=h.next()).done;)c(y.value)}(d,function(De){X=h._trackByFn(H,De),null!==y&&Object.is(y.trackById,X)?(w&&(y=h._verifyReinsertion(y,De,X,H)),Object.is(y.item,De)||h._addIdentityChange(y,De)):(y=h._mismatch(y,De,X,H),w=!0),y=y._next,H++}),this.length=H;return this._truncate(y),this.collection=d,this.isDirty}},{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}},{key:"_reset",value:function(){if(this.isDirty){var d;for(d=this._previousItHead=this._itHead;null!==d;d=d._next)d._nextPrevious=d._next;for(d=this._additionsHead;null!==d;d=d._nextAdded)d.previousIndex=d.currentIndex;for(this._additionsHead=this._additionsTail=null,d=this._movesHead;null!==d;d=d._nextMoved)d.previousIndex=d.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}},{key:"_mismatch",value:function(d,h,y,w){var H;return null===d?H=this._itTail:(H=d._prev,this._remove(d)),null!==(d=null===this._unlinkedRecords?null:this._unlinkedRecords.get(y,null))?(Object.is(d.item,h)||this._addIdentityChange(d,h),this._reinsertAfter(d,H,w)):null!==(d=null===this._linkedRecords?null:this._linkedRecords.get(y,w))?(Object.is(d.item,h)||this._addIdentityChange(d,h),this._moveAfter(d,H,w)):d=this._addAfter(new EB(h,y),H,w),d}},{key:"_verifyReinsertion",value:function(d,h,y,w){var H=null===this._unlinkedRecords?null:this._unlinkedRecords.get(y,null);return null!==H?d=this._reinsertAfter(H,d._prev,w):d.currentIndex!=w&&(d.currentIndex=w,this._addToMoves(d,w)),d}},{key:"_truncate",value:function(d){for(;null!==d;){var h=d._next;this._addToRemovals(this._unlink(d)),d=h}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}},{key:"_reinsertAfter",value:function(d,h,y){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(d);var w=d._prevRemoved,H=d._nextRemoved;return null===w?this._removalsHead=H:w._nextRemoved=H,null===H?this._removalsTail=w:H._prevRemoved=w,this._insertAfter(d,h,y),this._addToMoves(d,y),d}},{key:"_moveAfter",value:function(d,h,y){return this._unlink(d),this._insertAfter(d,h,y),this._addToMoves(d,y),d}},{key:"_addAfter",value:function(d,h,y){return this._insertAfter(d,h,y),this._additionsTail=null===this._additionsTail?this._additionsHead=d:this._additionsTail._nextAdded=d,d}},{key:"_insertAfter",value:function(d,h,y){var w=null===h?this._itHead:h._next;return d._next=w,d._prev=h,null===w?this._itTail=d:w._prev=d,null===h?this._itHead=d:h._next=d,null===this._linkedRecords&&(this._linkedRecords=new BI),this._linkedRecords.put(d),d.currentIndex=y,d}},{key:"_remove",value:function(d){return this._addToRemovals(this._unlink(d))}},{key:"_unlink",value:function(d){null!==this._linkedRecords&&this._linkedRecords.remove(d);var h=d._prev,y=d._next;return null===h?this._itHead=y:h._next=y,null===y?this._itTail=h:y._prev=h,d}},{key:"_addToMoves",value:function(d,h){return d.previousIndex===h||(this._movesTail=null===this._movesTail?this._movesHead=d:this._movesTail._nextMoved=d),d}},{key:"_addToRemovals",value:function(d){return null===this._unlinkedRecords&&(this._unlinkedRecords=new BI),this._unlinkedRecords.put(d),d.currentIndex=null,d._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=d,d._prevRemoved=null):(d._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=d),d}},{key:"_addIdentityChange",value:function(d,h){return d.item=h,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=d:this._identityChangesTail._nextIdentityChange=d,d}}]),l}(),EB=function l(c,d){(0,M.Z)(this,l),this.item=c,this.trackById=d,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null},FI=function(){function l(){(0,M.Z)(this,l),this._head=null,this._tail=null}return(0,D.Z)(l,[{key:"add",value:function(d){null===this._head?(this._head=this._tail=d,d._nextDup=null,d._prevDup=null):(this._tail._nextDup=d,d._prevDup=this._tail,d._nextDup=null,this._tail=d)}},{key:"get",value:function(d,h){var y;for(y=this._head;null!==y;y=y._nextDup)if((null===h||h<=y.currentIndex)&&Object.is(y.trackById,d))return y;return null}},{key:"remove",value:function(d){var h=d._prevDup,y=d._nextDup;return null===h?this._head=y:h._nextDup=y,null===y?this._tail=h:y._prevDup=h,null===this._head}}]),l}(),BI=function(){function l(){(0,M.Z)(this,l),this.map=new Map}return(0,D.Z)(l,[{key:"put",value:function(d){var h=d.trackById,y=this.map.get(h);y||(y=new FI,this.map.set(h,y)),y.add(d)}},{key:"get",value:function(d,h){var w=this.map.get(d);return w?w.get(d,h):null}},{key:"remove",value:function(d){var h=d.trackById;return this.map.get(h).remove(d)&&this.map.delete(h),d}},{key:"isEmpty",get:function(){return 0===this.map.size}},{key:"clear",value:function(){this.map.clear()}}]),l}();function UI(l,c,d){var h=l.previousIndex;if(null===h)return h;var y=0;return d&&h<d.length&&(y=d[h]),h+c+y}var sk=function(){function l(){(0,M.Z)(this,l)}return(0,D.Z)(l,[{key:"supports",value:function(d){return d instanceof Map||Kb(d)}},{key:"create",value:function(){return new HI}}]),l}(),HI=function(){function l(){(0,M.Z)(this,l),this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return(0,D.Z)(l,[{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}},{key:"forEachItem",value:function(d){var h;for(h=this._mapHead;null!==h;h=h._next)d(h)}},{key:"forEachPreviousItem",value:function(d){var h;for(h=this._previousMapHead;null!==h;h=h._nextPrevious)d(h)}},{key:"forEachChangedItem",value:function(d){var h;for(h=this._changesHead;null!==h;h=h._nextChanged)d(h)}},{key:"forEachAddedItem",value:function(d){var h;for(h=this._additionsHead;null!==h;h=h._nextAdded)d(h)}},{key:"forEachRemovedItem",value:function(d){var h;for(h=this._removalsHead;null!==h;h=h._nextRemoved)d(h)}},{key:"diff",value:function(d){if(d){if(!(d instanceof Map||Kb(d)))throw new Error("Error trying to diff '".concat(z(d),"'. Only maps and objects are allowed"))}else d=new Map;return this.check(d)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(d){var h=this;this._reset();var y=this._mapHead;if(this._appendAfter=null,this._forEach(d,function(H,W){if(y&&y.key===W)h._maybeAddToChanges(y,H),h._appendAfter=y,y=y._next;else{var X=h._getOrCreateRecordForKey(W,H);y=h._insertBeforeOrAppend(y,X)}}),y){y._prev&&(y._prev._next=null),this._removalsHead=y;for(var w=y;null!==w;w=w._nextRemoved)w===this._mapHead&&(this._mapHead=null),this._records.delete(w.key),w._nextRemoved=w._next,w.previousValue=w.currentValue,w.currentValue=null,w._prev=null,w._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}},{key:"_insertBeforeOrAppend",value:function(d,h){if(d){var y=d._prev;return h._next=d,h._prev=y,d._prev=h,y&&(y._next=h),d===this._mapHead&&(this._mapHead=h),this._appendAfter=d,d}return this._appendAfter?(this._appendAfter._next=h,h._prev=this._appendAfter):this._mapHead=h,this._appendAfter=h,null}},{key:"_getOrCreateRecordForKey",value:function(d,h){if(this._records.has(d)){var y=this._records.get(d);this._maybeAddToChanges(y,h);var w=y._prev,H=y._next;return w&&(w._next=H),H&&(H._prev=w),y._next=null,y._prev=null,y}var W=new MB(d);return this._records.set(d,W),W.currentValue=h,this._addToAdditions(W),W}},{key:"_reset",value:function(){if(this.isDirty){var d;for(this._previousMapHead=this._mapHead,d=this._previousMapHead;null!==d;d=d._next)d._nextPrevious=d._next;for(d=this._changesHead;null!==d;d=d._nextChanged)d.previousValue=d.currentValue;for(d=this._additionsHead;null!=d;d=d._nextAdded)d.previousValue=d.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}},{key:"_maybeAddToChanges",value:function(d,h){Object.is(h,d.currentValue)||(d.previousValue=d.currentValue,d.currentValue=h,this._addToChanges(d))}},{key:"_addToAdditions",value:function(d){null===this._additionsHead?this._additionsHead=this._additionsTail=d:(this._additionsTail._nextAdded=d,this._additionsTail=d)}},{key:"_addToChanges",value:function(d){null===this._changesHead?this._changesHead=this._changesTail=d:(this._changesTail._nextChanged=d,this._changesTail=d)}},{key:"_forEach",value:function(d,h){d instanceof Map?d.forEach(h):Object.keys(d).forEach(function(y){return h(d[y],y)})}}]),l}(),MB=function l(c){(0,M.Z)(this,l),this.key=c,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null};function Y0(){return new Lg([new ak])}var Lg=function(){var l=function(){function c(d){(0,M.Z)(this,c),this.factories=d}return(0,D.Z)(c,[{key:"find",value:function(h){var y=this.factories.find(function(w){return w.supports(h)});if(null!=y)return y;throw new Error("Cannot find a differ supporting object '".concat(h,"' of type '").concat(function(l){return l.name||typeof l}(h),"'"))}}],[{key:"create",value:function(h,y){if(null!=y){var w=y.factories.slice();h=h.concat(w)}return new c(h)}},{key:"extend",value:function(h){return{provide:c,useFactory:function(w){return c.create(h,w||Y0())},deps:[[c,new Nu,new Ru]]}}}]),c}();return l.\u0275prov=In({token:l,providedIn:"root",factory:Y0}),l}();function qI(){return new Fg([new sk])}var Fg=function(){var l=function(){function c(d){(0,M.Z)(this,c),this.factories=d}return(0,D.Z)(c,[{key:"find",value:function(h){var y=this.factories.find(function(w){return w.supports(h)});if(y)return y;throw new Error("Cannot find a differ supporting object '".concat(h,"'"))}}],[{key:"create",value:function(h,y){if(y){var w=y.factories.slice();h=h.concat(w)}return new c(h)}},{key:"extend",value:function(h){return{provide:c,useFactory:function(w){return c.create(h,w||qI())},deps:[[c,new Nu,new Ru]]}}}]),c}();return l.\u0275prov=In({token:l,providedIn:"root",factory:qI}),l}();function em(l,c,d,h){for(var y=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==d;){var w=c[d.index];if(null!==w&&h.push(jr(w)),fo(w))for(var H=10;H<w.length;H++){var W=w[H],X=W[1].firstChild;null!==X&&em(W[1],W,X,h)}var me=d.type;if(8&me)em(l,c,d.child,h);else if(32&me)for(var De=Jv(d,c),Xe=void 0;Xe=De();)h.push(Xe);else if(16&me){var Ke=Dh(c,d);if(Array.isArray(Ke))h.push.apply(h,(0,v.Z)(Ke));else{var mt=Zd(c[16]);em(mt[1],mt,Ke,h,!0)}}d=y?d.projectionNext:d.next}return h}var Bg=function(){function l(c,d){(0,M.Z)(this,l),this._lView=c,this._cdRefInjectingView=d,this._appRef=null,this._attachedToViewContainer=!1}return(0,D.Z)(l,[{key:"rootNodes",get:function(){var d=this._lView,h=d[1];return em(h,d,h.firstChild,[])}},{key:"context",get:function(){return this._lView[8]},set:function(d){this._lView[8]=d}},{key:"destroyed",get:function(){return 256==(256&this._lView[2])}},{key:"destroy",value:function(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){var d=this._lView[3];if(fo(d)){var h=d[8],y=h?h.indexOf(this):-1;y>-1&&(Mh(d,y),Td(h,y))}this._attachedToViewContainer=!1}_b(this._lView[1],this._lView)}},{key:"onDestroy",value:function(d){Bb(this._lView[1],this._lView,null,d)}},{key:"markForCheck",value:function(){fx(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){mx(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(l,c,d){Bn(!0);try{mx(l,c,d)}finally{Bn(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){this._appRef=null,function(l,c){Ph(l,c,c[11],2,null,null)}(this._lView[1],this._lView)}},{key:"attachToAppRef",value:function(d){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=d}}]),l}(),lk=function(l){(0,A.Z)(d,l);var c=(0,_.Z)(d);function d(h){var y;return(0,M.Z)(this,d),(y=c.call(this,h))._view=h,y}return(0,D.Z)(d,[{key:"detectChanges",value:function(){OO(this._view)}},{key:"checkNoChanges",value:function(){!function(l){Bn(!0);try{OO(l)}finally{Bn(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),d}(Bg),zI=function(l){return function(l,c,d){if(Si(l)&&!d){var h=ba(l.index,c);return new Bg(h,h)}return 47&l.type?new Bg(c[16],c):null}(ee(),Se(),16==(16&l))},WI=function(){var l=function c(){(0,M.Z)(this,c)};return l.__NG_ELEMENT_ID__=zI,l}(),GI=[new sk],YI=new Lg([new ak]),PB=new Fg(GI),RB=function(){return Ug(ee(),Se())},tm=function(){var l=function c(){(0,M.Z)(this,c)};return l.__NG_ELEMENT_ID__=RB,l}(),ck=function(l){(0,A.Z)(d,l);var c=(0,_.Z)(d);function d(h,y,w){var H;return(0,M.Z)(this,d),(H=c.call(this))._declarationLView=h,H._declarationTContainer=y,H.elementRef=w,H}return(0,D.Z)(d,[{key:"createEmbeddedView",value:function(y){var w=this._declarationTContainer.tViews,H=Zh(this._declarationLView,w,y,16,null,w.declTNode,null,null,null,null);H[17]=this._declarationLView[this._declarationTContainer.index];var X=this._declarationLView[19];return null!==X&&(H[19]=X.createEmbeddedView(w)),Lh(w,H,y),new Bg(H)}}]),d}(tm);function Ug(l,c){return 4&l.type?new ck(c,l,$h(l,c)):null}var Bc=function l(){(0,M.Z)(this,l)},J0=function l(){(0,M.Z)(this,l)},dk=function(){return $I(ee(),Se())},vf=function(){var l=function c(){(0,M.Z)(this,c)};return l.__NG_ELEMENT_ID__=dk,l}(),fk=function(l){(0,A.Z)(d,l);var c=(0,_.Z)(d);function d(h,y,w){var H;return(0,M.Z)(this,d),(H=c.call(this))._lContainer=h,H._hostTNode=y,H._hostLView=w,H}return(0,D.Z)(d,[{key:"element",get:function(){return $h(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new yd(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var y=Dy(this._hostTNode,this._hostLView);if(uD(y)){var w=Ap(y,this._hostLView),H=ph(y);return new yd(w[1].data[H+8],w)}return new yd(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(y){var w=XI(this._lContainer);return null!==w&&w[y]||null}},{key:"length",get:function(){return this._lContainer.length-10}},{key:"createEmbeddedView",value:function(y,w,H){var W=y.createEmbeddedView(w||{});return this.insert(W,H),W}},{key:"createComponent",value:function(y,w,H,W,X){var me=H||this.parentInjector;if(!X&&null==y.ngModule&&me){var De=me.get(Bc,null);De&&(X=De)}var Xe=y.create(me,W,void 0,X);return this.insert(Xe.hostView,w),Xe}},{key:"insert",value:function(y,w){var H=y._lView,W=H[1];if(function(l){return fo(l[3])}(H)){var X=this.indexOf(y);if(-1!==X)this.detach(X);else{var me=H[3],De=new fk(me,me[6],me[3]);De.detach(De.indexOf(y))}}var Xe=this._adjustIndex(w),Ke=this._lContainer;!function(l,c,d,h){var y=10+h,w=d.length;h>0&&(d[y-1][4]=c),h<w-10?(c[4]=d[y],Ov(d,10+h,c)):(d.push(c),c[4]=null),c[3]=d;var H=c[17];null!==H&&d!==H&&function(l,c){var d=l[9];c[16]!==c[3][3][16]&&(l[2]=!0),null===d?l[9]=[c]:d.push(c)}(H,c);var W=c[19];null!==W&&W.insertView(l),c[2]|=128}(W,H,Ke,Xe);var mt=Oh(Xe,Ke),Mt=H[11],zt=tg(Mt,Ke[7]);return null!==zt&&function(l,c,d,h,y,w){h[0]=y,h[6]=c,Ph(l,h,d,1,y,w)}(W,Ke[6],Mt,H,zt,mt),y.attachToViewContainerRef(),Ov(hk(Ke),Xe,y),y}},{key:"move",value:function(y,w){return this.insert(y,w)}},{key:"indexOf",value:function(y){var w=XI(this._lContainer);return null!==w?w.indexOf(y):-1}},{key:"remove",value:function(y){var w=this._adjustIndex(y,-1),H=Mh(this._lContainer,w);H&&(Td(hk(this._lContainer),w),_b(H[1],H))}},{key:"detach",value:function(y){var w=this._adjustIndex(y,-1),H=Mh(this._lContainer,w);return H&&null!=Td(hk(this._lContainer),w)?new Bg(H):null}},{key:"_adjustIndex",value:function(y){var w=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null==y?this.length+w:y}}]),d}(vf);function XI(l){return l[8]}function hk(l){return l[8]||(l[8]=[])}function $I(l,c){var d,h=c[l.index];if(fo(h))d=h;else{var y;if(8&l.type)y=jr(h);else{var w=c[11];y=w.createComment("");var H=Ii(l,c);Ld(w,tg(w,H),y,function(l,c){return St(l)?l.nextSibling(c):c.nextSibling}(w,H),!1)}c[l.index]=d=Hb(h,c,y,l),Vb(c,d)}return new fk(d,l,c)}var Uu={},bf=function(l){(0,A.Z)(d,l);var c=(0,_.Z)(d);function d(h){var y;return(0,M.Z)(this,d),(y=c.call(this)).ngModule=h,y}return(0,D.Z)(d,[{key:"resolveComponentFactory",value:function(y){var w=yi(y);return new mC(w,this.ngModule)}}]),d}(Zg);function fC(l){var c=[];for(var d in l)l.hasOwnProperty(d)&&c.push({propName:l[d],templateName:d});return c}var S3=new Ro("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Na}}),mC=function(l){(0,A.Z)(d,l);var c=(0,_.Z)(d);function d(h,y){var w;return(0,M.Z)(this,d),(w=c.call(this)).componentDef=h,w.ngModule=y,w.componentType=h.type,w.selector=function(l){return l.map(tO).join(",")}(h.selectors),w.ngContentSelectors=h.ngContentSelectors?h.ngContentSelectors:[],w.isBoundToModule=!!y,w}return(0,D.Z)(d,[{key:"inputs",get:function(){return fC(this.componentDef.inputs)}},{key:"outputs",get:function(){return fC(this.componentDef.outputs)}},{key:"create",value:function(y,w,H,W){var _n,Kn,X=(W=W||this.ngModule)?function(l,c){return{get:function(h,y,w){var H=l.get(h,Uu,w);return H!==Uu||y===Uu?H:c.get(h,y,w)}}}(y,W.injector):y,me=X.get(G0,gt),De=X.get(ik,null),Xe=me.createRenderer(null,this.componentDef),Ke=this.componentDef.selectors[0][0]||"div",mt=H?function(l,c,d){if(St(l))return l.selectRootElement(c,d===Cn.ShadowDom);var y="string"==typeof c?l.querySelector(c):c;return y.textContent="",y}(Xe,H,this.componentDef.encapsulation):vb(me.createRenderer(null,this.componentDef),Ke,function(l){var c=l.toLowerCase();return"svg"===c?re:"math"===c?"http://www.w3.org/1998/MathML/":null}(Ke)),Mt=this.componentDef.onPush?576:528,zt=function(l,c){return{components:[],scheduler:l||Na,clean:RO,playerHandler:c||null,flags:0}}(),hn=pg(0,null,null,1,0,null,null,null,null,null),Fn=Zh(null,hn,zt,Mt,null,null,me,Xe,De,X);Tt(Fn);try{var lr=function(l,c,d,h,y,w){var H=d[1];d[20]=l;var X=Kp(H,20,2,"#host",null),me=X.mergedAttrs=c.hostAttrs;null!==me&&(vg(X,me,!0),null!==l&&(Ks(y,l,me),null!==X.classes&&wb(y,l,X.classes),null!==X.styles&&xb(y,l,X.styles)));var De=h.createRenderer(l,c),Xe=Zh(d,dg(c),null,c.onPush?64:16,d[20],X,h,De,w||null,null);return H.firstCreatePass&&(Ev(fh(X,d),H,c.type),xO(H,X),kO(X,d.length,1)),Vb(d,Xe),d[20]=Xe}(mt,this.componentDef,Fn,me,Xe);if(mt)if(H)Ks(Xe,mt,["ng-version",NI.full]);else{var Wr=function(l){for(var c=[],d=[],h=1,y=2;h<l.length;){var w=l[h];if("string"==typeof w)2===y?""!==w&&c.push(w,l[++h]):8===y&&d.push(w);else{if(!Ns(y))break;y=w}h++}return{attrs:c,classes:d}}(this.componentDef.selectors[0]),Mi=Wr.attrs,go=Wr.classes;Mi&&Ks(Xe,mt,Mi),go&&go.length>0&&wb(Xe,mt,go.join(" "))}if(Kn=Oa(hn,20),void 0!==w)for(var ca=Kn.projection=[],da=0;da<this.ngContentSelectors.length;da++){var Vl=w[da];ca.push(null!=Vl?Array.from(Vl):null)}_n=function(l,c,d,h,y){var w=d[1],H=function(l,c,d){var h=ee();l.firstCreatePass&&(d.providersResolver&&d.providersResolver(d),EO(l,h,c,Xp(l,c,1,null),d));var w=Pu(c,l,h.directiveStart,h);Wa(w,c);var H=Ii(h,c);return H&&Wa(H,c),w}(w,d,c);if(h.components.push(H),l[8]=H,y&&y.forEach(function(De){return De(H,c)}),c.contentQueries){var W=ee();c.contentQueries(1,H,W.directiveStart)}var X=ee();return!w.firstCreatePass||null===c.hostBindings&&null===c.hostAttrs||(ms(X.index),dx(d[1],X,0,X.directiveStart,X.directiveEnd,c),SO(c,H)),H}(lr,this.componentDef,Fn,zt,[tP]),Lh(hn,Fn,null)}finally{Xo()}return new Rk(this.componentType,_n,$h(Kn,Fn),Fn,Kn)}}]),d}(tk),Rk=function(l){(0,A.Z)(d,l);var c=(0,_.Z)(d);function d(h,y,w,H,W){var X;return(0,M.Z)(this,d),(X=c.call(this)).location=w,X._rootLView=H,X._tNode=W,X.instance=y,X.hostView=X.changeDetectorRef=new lk(H),X.componentType=h,X}return(0,D.Z)(d,[{key:"injector",get:function(){return new yd(this._tNode,this._rootLView)}},{key:"destroy",value:function(){this.hostView.destroy()}},{key:"onDestroy",value:function(y){this.hostView.onDestroy(y)}}]),d}(mB),Hu=new Map;var $B=function(l){(0,A.Z)(d,l);var c=(0,_.Z)(d);function d(h,y){var w;(0,M.Z)(this,d),(w=c.call(this))._parent=y,w._bootstrapComponents=[],w.injector=(0,V.Z)(w),w.destroyCbs=[],w.componentFactoryResolver=new bf((0,V.Z)(w));var H=fi(h),W=function(l){return l[At]||null}(h);return W&&Nw(W),w._bootstrapComponents=Rs(H.bootstrap),w._r3Injector=Sx(h,y,[{provide:Bc,useValue:(0,V.Z)(w)},{provide:Zg,useValue:w.componentFactoryResolver}],z(h)),w._r3Injector._resolveInjectorDefTypes(),w.instance=w.get(h),w}return(0,D.Z)(d,[{key:"get",value:function(y){var w=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Za.THROW_IF_NOT_FOUND,H=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ht.Default;return y===Za||y===Bc||y===$p?this:this._r3Injector.get(y,w,H)}},{key:"destroy",value:function(){var y=this._r3Injector;!y.destroyed&&y.destroy(),this.destroyCbs.forEach(function(w){return w()}),this.destroyCbs=null}},{key:"onDestroy",value:function(y){this.destroyCbs.push(y)}}]),d}(Bc),Jg=function(l){(0,A.Z)(d,l);var c=(0,_.Z)(d);function d(h){var y;return(0,M.Z)(this,d),(y=c.call(this)).moduleType=h,null!==fi(h)&&function(l){var c=new Set;!function d(h){var y=fi(h,!0),w=y.id;null!==w&&(function(l,c,d){if(c&&c!==d)throw new Error("Duplicate module registered for ".concat(l," - ").concat(z(c)," vs ").concat(z(c.name)))}(w,Hu.get(w),h),Hu.set(w,h));var me,W=Rs(y.imports),X=(0,C.Z)(W);try{for(X.s();!(me=X.n()).done;){var De=me.value;c.has(De)||(c.add(De),d(De))}}catch(Xe){X.e(Xe)}finally{X.f()}}(l)}(h),y}return(0,D.Z)(d,[{key:"create",value:function(y){return new $B(this.moduleType,y)}}]),d}(J0);function k3(l,c,d){var h=Qn()+l,y=Se();return y[h]===Ur?Bu(y,h,d?c.call(d):c()):function(l,c){return l[c]}(y,h)}function Lk(l,c,d,h){return Uk(Se(),Qn(),l,c,d,h)}function gC(l,c,d,h,y){return M3(Se(),Qn(),l,c,d,h,y)}function Qg(l,c){var d=l[c];return d===Ur?void 0:d}function Uk(l,c,d,h,y,w){var H=c+d;return sa(l,H,y)?Bu(l,H+1,w?h.call(w,y):h(y)):Qg(l,H+1)}function M3(l,c,d,h,y,w,H){var W=c+d;return Pc(l,W,y,w)?Bu(l,W+2,H?h.call(H,y,w):h(y,w)):Qg(l,W+2)}function Wi(l,c){var h,d=ge(),y=l+20;d.firstCreatePass?(h=function(l,c){if(c)for(var d=c.length-1;d>=0;d--){var h=c[d];if(l===h.name)return h}throw new le("302","The pipe '".concat(l,"' could not be found!"))}(c,d.pipeRegistry),d.data[y]=h,h.onDestroy&&(d.destroyHooks||(d.destroyHooks=[])).push(y,h.onDestroy)):h=d.data[y];var w=h.factory||(h.factory=Ka(h.type)),H=Yt(Wh);try{var W=Ay(!1),X=w();return Ay(W),function(l,c,d,h){d>=l.data.length&&(l.data[d]=null,l.blueprint[d]=null),c[d]=h}(d,Se(),y,X),X}finally{Yt(H)}}function to(l,c,d){var h=l+20,y=Se(),w=Xa(y,h);return lm(y,sm(y,h)?Uk(y,Qn(),c,w.transform,d,w):w.transform(d))}function Kg(l,c,d,h){var y=l+20,w=Se(),H=Xa(w,y);return lm(w,sm(w,y)?M3(w,Qn(),c,H.transform,d,h,H):H.transform(d,h))}function sm(l,c){return l[1].data[c].pure}function lm(l,c){return Vd.isWrapped(c)&&(c=Vd.unwrap(c),l[hr()]=Ur),c}function Uc(l){return function(c){setTimeout(l,void 0,c)}}var vu=function(l){(0,A.Z)(d,l);var c=(0,_.Z)(d);function d(){var h,y=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(0,M.Z)(this,d),(h=c.call(this)).__isAsync=y,h}return(0,D.Z)(d,[{key:"emit",value:function(y){(0,U.Z)((0,B.Z)(d.prototype),"next",this).call(this,y)}},{key:"subscribe",value:function(y,w,H){var W,X,me,De=y,Xe=w||function(){return null},Ke=H;if(y&&"object"==typeof y){var mt=y;De=null===(W=mt.next)||void 0===W?void 0:W.bind(mt),Xe=null===(X=mt.error)||void 0===X?void 0:X.bind(mt),Ke=null===(me=mt.complete)||void 0===me?void 0:me.bind(mt)}this.__isAsync&&(Xe=Uc(Xe),De&&(De=Uc(De)),Ke&&(Ke=Uc(Ke)));var Mt=(0,U.Z)((0,B.Z)(d.prototype),"subscribe",this).call(this,{next:De,error:Xe,complete:Ke});return y instanceof E.w&&y.add(Mt),Mt}}]),d}(x.xQ);function Cf(){return this._results[nf()]()}var Hc=function(){function l(){var c=arguments.length>0&&void 0!==arguments[0]&&arguments[0];(0,M.Z)(this,l),this._emitDistinctChangesOnly=c,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;var d=nf(),h=l.prototype;h[d]||(h[d]=Cf)}return(0,D.Z)(l,[{key:"changes",get:function(){return this._changes||(this._changes=new vu)}},{key:"get",value:function(d){return this._results[d]}},{key:"map",value:function(d){return this._results.map(d)}},{key:"filter",value:function(d){return this._results.filter(d)}},{key:"find",value:function(d){return this._results.find(d)}},{key:"reduce",value:function(d,h){return this._results.reduce(d,h)}},{key:"forEach",value:function(d){this._results.forEach(d)}},{key:"some",value:function(d){return this._results.some(d)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(d,h){var y=this;y.dirty=!1;var w=As(d);(this._changesDetected=!function(l,c,d){if(l.length!==c.length)return!1;for(var h=0;h<l.length;h++){var y=l[h],w=c[h];if(d&&(y=d(y),w=d(w)),w!==y)return!1}return!0}(y._results,w,h))&&(y._results=w,y.length=w.length,y.last=w[this.length-1],y.first=w[0])}},{key:"notifyOnChanges",value:function(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}},{key:"setDirty",value:function(){this.dirty=!0}},{key:"destroy",value:function(){this.changes.complete(),this.changes.unsubscribe()}}]),l}();Symbol;var Vu=function(){function l(c){(0,M.Z)(this,l),this.queryList=c,this.matches=null}return(0,D.Z)(l,[{key:"clone",value:function(){return new l(this.queryList)}},{key:"setDirty",value:function(){this.queryList.setDirty()}}]),l}(),CC=function(){function l(){var c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];(0,M.Z)(this,l),this.queries=c}return(0,D.Z)(l,[{key:"createEmbeddedView",value:function(d){var h=d.queries;if(null!==h){for(var y=null!==d.contentQueries?d.contentQueries[0]:h.length,w=[],H=0;H<y;H++){var W=h.getByIndex(H);w.push(this.queries[W.indexInDeclarationView].clone())}return new l(w)}return null}},{key:"insertView",value:function(d){this.dirtyQueriesWithMatches(d)}},{key:"detachView",value:function(d){this.dirtyQueriesWithMatches(d)}},{key:"dirtyQueriesWithMatches",value:function(d){for(var h=0;h<this.queries.length;h++)null!==t_(d,h).matches&&this.queries[h].setDirty()}}]),l}(),$g=function l(c,d){var h=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;(0,M.Z)(this,l),this.predicate=c,this.flags=d,this.read=h},Vk=function(){function l(){var c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];(0,M.Z)(this,l),this.queries=c}return(0,D.Z)(l,[{key:"elementStart",value:function(d,h){for(var y=0;y<this.queries.length;y++)this.queries[y].elementStart(d,h)}},{key:"elementEnd",value:function(d){for(var h=0;h<this.queries.length;h++)this.queries[h].elementEnd(d)}},{key:"embeddedTView",value:function(d){for(var h=null,y=0;y<this.length;y++){var w=null!==h?h.length:0,H=this.getByIndex(y).embeddedTView(d,w);H&&(H.indexInDeclarationView=y,null!==h?h.push(H):h=[H])}return null!==h?new l(h):null}},{key:"template",value:function(d,h){for(var y=0;y<this.queries.length;y++)this.queries[y].template(d,h)}},{key:"getByIndex",value:function(d){return this.queries[d]}},{key:"length",get:function(){return this.queries.length}},{key:"track",value:function(d){this.queries.push(d)}}]),l}(),SC=function(){function l(c){var d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;(0,M.Z)(this,l),this.metadata=c,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=d}return(0,D.Z)(l,[{key:"elementStart",value:function(d,h){this.isApplyingToNode(h)&&this.matchTNode(d,h)}},{key:"elementEnd",value:function(d){this._declarationNodeIndex===d.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(d,h){this.elementStart(d,h)}},{key:"embeddedTView",value:function(d,h){return this.isApplyingToNode(d)?(this.crossesNgTemplate=!0,this.addMatch(-d.index,h),new l(this.metadata)):null}},{key:"isApplyingToNode",value:function(d){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){for(var h=this._declarationNodeIndex,y=d.parent;null!==y&&8&y.type&&y.index!==h;)y=y.parent;return h===(null!==y?y.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(d,h){var y=this.metadata.predicate;if(Array.isArray(y))for(var w=0;w<y.length;w++){var H=y[w];this.matchTNodeWithReadOption(d,h,qk(h,H)),this.matchTNodeWithReadOption(d,h,hh(h,d,H,!1,!1))}else y===tm?4&h.type&&this.matchTNodeWithReadOption(d,h,-1):this.matchTNodeWithReadOption(d,h,hh(h,d,y,!1,!1))}},{key:"matchTNodeWithReadOption",value:function(d,h,y){if(null!==y){var w=this.metadata.read;if(null!==w)if(w===fu||w===vf||w===tm&&4&h.type)this.addMatch(h.index,-2);else{var H=hh(h,d,w,!1,!1);null!==H&&this.addMatch(h.index,H)}else this.addMatch(h.index,y)}}},{key:"addMatch",value:function(d,h){null===this.matches?this.matches=[d,h]:this.matches.push(d,h)}}]),l}();function qk(l,c){var d=l.localNames;if(null!==d)for(var h=0;h<d.length;h+=2)if(d[h]===c)return d[h+1];return null}function jk(l,c,d,h){return-1===d?function(l,c){return 11&l.type?$h(l,c):4&l.type?Ug(l,c):null}(c,l):-2===d?function(l,c,d){return d===fu?$h(c,l):d===tm?Ug(c,l):d===vf?$I(c,l):void 0}(l,c,h):Pu(l,l[1],d,c)}function e_(l,c,d,h){var y=c[19].queries[h];if(null===y.matches){for(var w=l.data,H=d.matches,W=[],X=0;X<H.length;X+=2){var me=H[X];W.push(me<0?null:jk(c,w[me],H[X+1],d.metadata.read))}y.matches=W}return y.matches}function xC(l,c,d,h){var y=l.queries.getByIndex(d),w=y.matches;if(null!==w)for(var H=e_(l,c,y,d),W=0;W<w.length;W+=2){var X=w[W];if(X>0)h.push(H[W/2]);else{for(var me=w[W+1],De=c[-X],Xe=10;Xe<De.length;Xe++){var Ke=De[Xe];Ke[17]===Ke[3]&&xC(Ke[1],Ke,me,h)}if(null!==De[9])for(var mt=De[9],Mt=0;Mt<mt.length;Mt++){var zt=mt[Mt];xC(zt[1],zt,me,h)}}}return h}function zk(l){var c=Se(),d=ge(),h=ke();Ue(h+1);var y=t_(d,h);if(l.dirty&&Es(c)===(2==(2&y.metadata.flags))){if(null===y.matches)l.reset([]);else{var w=y.crossesNgTemplate?xC(d,c,h,[]):e_(d,c,y,h);l.reset(w,nk),l.notifyOnChanges()}return!0}return!1}function Sf(l,c,d){var h=ge();h.firstCreatePass&&(gu(h,new $g(l,c,d),-1),2==(2&c)&&(h.staticViewQueries=!0)),cm(h,Se(),c)}function Wk(l,c,d,h){var y=ge();if(y.firstCreatePass){var w=ee();gu(y,new $g(c,d,h),w.index),function(l,c){var d=l.contentQueries||(l.contentQueries=[]);c!==(d.length?d[d.length-1]:-1)&&d.push(l.queries.length-1,c)}(y,l),2==(2&d)&&(y.staticContentQueries=!0)}cm(y,Se(),d)}function Gk(){return l=Se(),c=ke(),l[19].queries[c].queryList;var l,c}function cm(l,c,d){var h=new Hc(4==(4&d));Bb(l,c,h,h.destroy),null===c[19]&&(c[19]=new CC),c[19].queries.push(new Vu(h))}function gu(l,c,d){null===l.queries&&(l.queries=new Vk),l.queries.track(new SC(c,d))}function t_(l,c){return l.queries.getByIndex(c)}function n_(l,c){return Ug(l,c)}var qu=new Ro("Application Initializer"),wf=function(){var l=function(){function c(d){var h=this;(0,M.Z)(this,c),this.appInits=d,this.resolve=W0,this.reject=W0,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(y,w){h.resolve=y,h.reject=w})}return(0,D.Z)(c,[{key:"runInitializers",value:function(){var h=this;if(!this.initialized){var y=[],w=function(){h.done=!0,h.resolve()};if(this.appInits)for(var H=function(me){var De=h.appInits[me]();if(Fc(De))y.push(De);else if(m0(De)){var Xe=new Promise(function(Ke,mt){De.subscribe({complete:Ke,error:mt})});y.push(Xe)}},W=0;W<this.appInits.length;W++)H(W);Promise.all(y).then(function(){w()}).catch(function(X){h.reject(X)}),0===y.length&&w(),this.initialized=!0}}}]),c}();return l.\u0275fac=function(d){return new(d||l)(Wo(qu,8))},l.\u0275prov=In({token:l,factory:l.\u0275fac}),l}(),l_=new Ro("AppId"),_m={provide:l_,useFactory:function(){return"".concat(Jd()).concat(Jd()).concat(Jd())},deps:[]};function Jd(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var Qd=new Ro("Platform Initializer"),uE=new Ro("Platform ID"),cE=new Ro("appBootstrapListener"),dE=function(){var l=function(){function c(){(0,M.Z)(this,c)}return(0,D.Z)(c,[{key:"log",value:function(h){console.log(h)}},{key:"warn",value:function(h){console.warn(h)}}]),c}();return l.\u0275fac=function(d){return new(d||l)},l.\u0275prov=In({token:l,factory:l.\u0275fac}),l}(),ym=new Ro("LocaleId"),ZC=new Ro("DefaultCurrencyCode"),hE=function l(c,d){(0,M.Z)(this,l),this.ngModuleFactory=c,this.componentFactories=d},FC=function(c){return new Jg(c)},vE=FC,Ef=function(c){return Promise.resolve(FC(c))},BC=function(c){var d=FC(c),y=Rs(fi(c).declarations).reduce(function(w,H){var W=yi(H);return W&&w.push(new mC(W)),w},[]);return new hE(d,y)},nR=BC,gE=function(c){return Promise.resolve(BC(c))},Mf=function(){var l=function(){function c(){(0,M.Z)(this,c),this.compileModuleSync=vE,this.compileModuleAsync=Ef,this.compileModuleAndAllComponentsSync=nR,this.compileModuleAndAllComponentsAsync=gE}return(0,D.Z)(c,[{key:"clearCache",value:function(){}},{key:"clearCacheFor",value:function(h){}},{key:"getModuleId",value:function(h){}}]),c}();return l.\u0275fac=function(d){return new(d||l)},l.\u0275prov=In({token:l,factory:l.\u0275fac}),l}(),rR=function(){return Promise.resolve(0)}();function HC(l){"undefined"==typeof Zone?rR.then(function(){l&&l.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",l)}var _u=function(){function l(c){var d=c.enableLongStackTrace,h=void 0!==d&&d,y=c.shouldCoalesceEventChangeDetection,w=void 0!==y&&y,H=c.shouldCoalesceRunChangeDetection,W=void 0!==H&&H;if((0,M.Z)(this,l),this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new vu(!1),this.onMicrotaskEmpty=new vu(!1),this.onStable=new vu(!1),this.onError=new vu(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();var X=this;X._nesting=0,X._outer=X._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(X._inner=X._inner.fork(new Zone.TaskTrackingZoneSpec)),h&&Zone.longStackTraceZoneSpec&&(X._inner=X._inner.fork(Zone.longStackTraceZoneSpec)),X.shouldCoalesceEventChangeDetection=!W&&w,X.shouldCoalesceRunChangeDetection=W,X.lastRequestAnimationFrameId=-1,X.nativeRequestAnimationFrame=function(){var l=Rt.requestAnimationFrame,c=Rt.cancelAnimationFrame;if("undefined"!=typeof Zone&&l&&c){var d=l[Zone.__symbol__("OriginalDelegate")];d&&(l=d);var h=c[Zone.__symbol__("OriginalDelegate")];h&&(c=h)}return{nativeRequestAnimationFrame:l,nativeCancelAnimationFrame:c}}().nativeRequestAnimationFrame,function(l){var c=function(){!function(l){l.isCheckStableRunning||-1!==l.lastRequestAnimationFrameId||(l.lastRequestAnimationFrameId=l.nativeRequestAnimationFrame.call(Rt,function(){l.fakeTopEventTask||(l.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",function(){l.lastRequestAnimationFrameId=-1,Cm(l),l.isCheckStableRunning=!0,bm(l),l.isCheckStableRunning=!1},void 0,function(){},function(){})),l.fakeTopEventTask.invoke()}),Cm(l))}(l)};l._inner=l._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(h,y,w,H,W,X){try{return Af(l),h.invokeTask(w,H,W,X)}finally{(l.shouldCoalesceEventChangeDetection&&"eventTask"===H.type||l.shouldCoalesceRunChangeDetection)&&c(),jc(l)}},onInvoke:function(h,y,w,H,W,X,me){try{return Af(l),h.invoke(w,H,W,X,me)}finally{l.shouldCoalesceRunChangeDetection&&c(),jc(l)}},onHasTask:function(h,y,w,H){h.hasTask(w,H),y===w&&("microTask"==H.change?(l._hasPendingMicrotasks=H.microTask,Cm(l),bm(l)):"macroTask"==H.change&&(l.hasPendingMacrotasks=H.macroTask))},onHandleError:function(h,y,w,H){return h.handleError(w,H),l.runOutsideAngular(function(){return l.onError.emit(H)}),!1}})}(X)}return(0,D.Z)(l,[{key:"run",value:function(d,h,y){return this._inner.run(d,h,y)}},{key:"runTask",value:function(d,h,y,w){var H=this._inner,W=H.scheduleEventTask("NgZoneEvent: "+w,d,Hs,W0,W0);try{return H.runTask(W,h,y)}finally{H.cancelTask(W)}}},{key:"runGuarded",value:function(d,h,y){return this._inner.runGuarded(d,h,y)}},{key:"runOutsideAngular",value:function(d){return this._outer.run(d)}}],[{key:"isInAngularZone",value:function(){return!0===Zone.current.get("isAngularZone")}},{key:"assertInAngularZone",value:function(){if(!l.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}},{key:"assertNotInAngularZone",value:function(){if(l.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}}]),l}(),Hs={};function bm(l){if(0==l._nesting&&!l.hasPendingMicrotasks&&!l.isStable)try{l._nesting++,l.onMicrotaskEmpty.emit(null)}finally{if(l._nesting--,!l.hasPendingMicrotasks)try{l.runOutsideAngular(function(){return l.onStable.emit(null)})}finally{l.isStable=!0}}}function Cm(l){l.hasPendingMicrotasks=!!(l._hasPendingMicrotasks||(l.shouldCoalesceEventChangeDetection||l.shouldCoalesceRunChangeDetection)&&-1!==l.lastRequestAnimationFrameId)}function Af(l){l._nesting++,l.isStable&&(l.isStable=!1,l.onUnstable.emit(null))}function jc(l){l._nesting--,bm(l)}var jC=function(){function l(){(0,M.Z)(this,l),this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new vu,this.onMicrotaskEmpty=new vu,this.onStable=new vu,this.onError=new vu}return(0,D.Z)(l,[{key:"run",value:function(d,h,y){return d.apply(h,y)}},{key:"runGuarded",value:function(d,h,y){return d.apply(h,y)}},{key:"runOutsideAngular",value:function(d){return d()}},{key:"runTask",value:function(d,h,y,w){return d.apply(h,y)}}]),l}(),yE=function(){var l=function(){function c(d){var h=this;(0,M.Z)(this,c),this._ngZone=d,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),d.run(function(){h.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}return(0,D.Z)(c,[{key:"_watchAngularEvents",value:function(){var h=this;this._ngZone.onUnstable.subscribe({next:function(){h._didWork=!0,h._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){h._ngZone.onStable.subscribe({next:function(){_u.assertNotInAngularZone(),HC(function(){h._isZoneStable=!0,h._runCallbacksIfReady()})}})})}},{key:"increasePendingRequestCount",value:function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}},{key:"decreasePendingRequestCount",value:function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}},{key:"isStable",value:function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}},{key:"_runCallbacksIfReady",value:function(){var h=this;if(this.isStable())HC(function(){for(;0!==h._callbacks.length;){var w=h._callbacks.pop();clearTimeout(w.timeoutId),w.doneCb(h._didWork)}h._didWork=!1});else{var y=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(w){return!w.updateCb||!w.updateCb(y)||(clearTimeout(w.timeoutId),!1)}),this._didWork=!0}}},{key:"getPendingTasks",value:function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(h){return{source:h.source,creationLocation:h.creationLocation,data:h.data}}):[]}},{key:"addCallback",value:function(h,y,w){var H=this,W=-1;y&&y>0&&(W=setTimeout(function(){H._callbacks=H._callbacks.filter(function(X){return X.timeoutId!==W}),h(H._didWork,H.getPendingTasks())},y)),this._callbacks.push({doneCb:h,timeoutId:W,updateCb:w})}},{key:"whenStable",value:function(h,y,w){if(w&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(h,y,w),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(h,y,w){return[]}}]),c}();return l.\u0275fac=function(d){return new(d||l)(Wo(_u))},l.\u0275prov=In({token:l,factory:l.\u0275fac}),l}(),Df=function(){var l=function(){function c(){(0,M.Z)(this,c),this._applications=new Map,d_.addToWindow(this)}return(0,D.Z)(c,[{key:"registerApplication",value:function(h,y){this._applications.set(h,y)}},{key:"unregisterApplication",value:function(h){this._applications.delete(h)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(h){return this._applications.get(h)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(h){var y=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return d_.findTestabilityInTree(this,h,y)}}]),c}();return l.\u0275fac=function(d){return new(d||l)},l.\u0275prov=In({token:l,factory:l.\u0275fac}),l}();function oR(l){d_=l}var d_=new(function(){function l(){(0,M.Z)(this,l)}return(0,D.Z)(l,[{key:"addToWindow",value:function(d){}},{key:"findTestabilityInTree",value:function(d,h,y){return null}}]),l}()),bE=!0,CE=!1;function Sm(){return CE=!0,bE}function SE(){if(CE)throw new Error("Cannot enable prod mode after platform setup.");bE=!1}var Fl,aR=function(l,c,d){var h=new Jg(d);return Promise.resolve(h)},Tm=new Ro("AllowMultipleToken"),WC=function l(c,d){(0,M.Z)(this,l),this.name=c,this.token=d};function xm(l){if(Fl&&!Fl.destroyed&&!Fl.injector.get(Tm,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Fl=l.get(xE);var c=l.get(Qd,null);return c&&c.forEach(function(d){return d()}),Fl}function GC(l,c){var d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],h="Platform: ".concat(c),y=new Ro(h);return function(){var w=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],H=TE();if(!H||H.injector.get(Tm,!1))if(l)l(d.concat(w).concat({provide:y,useValue:!0}));else{var W=d.concat(w).concat({provide:y,useValue:!0},{provide:Bh,useValue:"platform"});xm(Za.create({providers:W,name:h}))}return dR(y)}}function dR(l){var c=TE();if(!c)throw new Error("No platform exists!");if(!c.injector.get(l,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return c}function TE(){return Fl&&!Fl.destroyed?Fl:null}var xE=function(){var l=function(){function c(d){(0,M.Z)(this,c),this._injector=d,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return(0,D.Z)(c,[{key:"bootstrapModuleFactory",value:function(h,y){var w=this,me=function(l,c){return"noop"===l?new jC:("zone.js"===l?void 0:l)||new _u({enableLongStackTrace:Sm(),shouldCoalesceEventChangeDetection:!!(null==c?void 0:c.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==c?void 0:c.ngZoneRunCoalescing)})}(y?y.ngZone:void 0,{ngZoneEventCoalescing:y&&y.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:y&&y.ngZoneRunCoalescing||!1}),De=[{provide:_u,useValue:me}];return me.run(function(){var Xe=Za.create({providers:De,parent:w.injector,name:h.moduleType.name}),Ke=h.create(Xe),mt=Ke.injector.get(Tc,null);if(!mt)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return me.runOutsideAngular(function(){var Mt=me.onError.subscribe({next:function(hn){mt.handleError(hn)}});Ke.onDestroy(function(){YC(w._modules,Ke),Mt.unsubscribe()})}),function(l,c,d){try{var h=((Mt=Ke.injector.get(wf)).runInitializers(),Mt.donePromise.then(function(){return Nw(Ke.injector.get(ym,F0)||F0),w._moduleDoBootstrap(Ke),Ke}));return Fc(h)?h.catch(function(y){throw c.runOutsideAngular(function(){return l.handleError(y)}),y}):h}catch(y){throw c.runOutsideAngular(function(){return l.handleError(y)}),y}var Mt}(mt,me)})}},{key:"bootstrapModule",value:function(h){var y=this,w=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],H=wE({},w);return aR(0,0,h).then(function(W){return y.bootstrapModuleFactory(W,H)})}},{key:"_moduleDoBootstrap",value:function(h){var y=h.injector.get(wm);if(h._bootstrapComponents.length>0)h._bootstrapComponents.forEach(function(w){return y.bootstrap(w)});else{if(!h.instance.ngDoBootstrap)throw new Error("The module ".concat(z(h.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. ')+"Please define one of these.");h.instance.ngDoBootstrap(y)}this._modules.push(h)}},{key:"onDestroy",value:function(h){this._destroyListeners.push(h)}},{key:"injector",get:function(){return this._injector}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(h){return h.destroy()}),this._destroyListeners.forEach(function(h){return h()}),this._destroyed=!0}},{key:"destroyed",get:function(){return this._destroyed}}]),c}();return l.\u0275fac=function(d){return new(d||l)(Wo(Za))},l.\u0275prov=In({token:l,factory:l.\u0275fac}),l}();function wE(l,c){return Array.isArray(c)?c.reduce(wE,l):Object.assign(Object.assign({},l),c)}var wm=function(){var l=function(){function c(d,h,y,w,H){var W=this;(0,M.Z)(this,c),this._zone=d,this._injector=h,this._exceptionHandler=y,this._componentFactoryResolver=w,this._initStatus=H,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){W._zone.run(function(){W.tick()})}});var X=new S.y(function(De){W._stable=W._zone.isStable&&!W._zone.hasPendingMacrotasks&&!W._zone.hasPendingMicrotasks,W._zone.runOutsideAngular(function(){De.next(W._stable),De.complete()})}),me=new S.y(function(De){var Xe;W._zone.runOutsideAngular(function(){Xe=W._zone.onStable.subscribe(function(){_u.assertNotInAngularZone(),HC(function(){!W._stable&&!W._zone.hasPendingMacrotasks&&!W._zone.hasPendingMicrotasks&&(W._stable=!0,De.next(!0))})})});var Ke=W._zone.onUnstable.subscribe(function(){_u.assertInAngularZone(),W._stable&&(W._stable=!1,W._zone.runOutsideAngular(function(){De.next(!1)}))});return function(){Xe.unsubscribe(),Ke.unsubscribe()}});this.isStable=(0,O.T)(X,me.pipe((0,L.B)()))}return(0,D.Z)(c,[{key:"bootstrap",value:function(h,y){var H,w=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");H=h instanceof tk?h:this._componentFactoryResolver.resolveComponentFactory(h),this.componentTypes.push(H.componentType);var W=function(l){return l.isBoundToModule}(H)?void 0:this._injector.get(Bc),me=H.create(Za.NULL,[],y||H.selector,W),De=me.location.nativeElement,Xe=me.injector.get(yE,null),Ke=Xe&&me.injector.get(Df);return Xe&&Ke&&Ke.registerApplication(De,Xe),me.onDestroy(function(){w.detachView(me.hostView),YC(w.components,me),Ke&&Ke.unregisterApplication(De)}),this._loadComponent(me),me}},{key:"tick",value:function(){var h=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var w,y=(0,C.Z)(this._views);try{for(y.s();!(w=y.n()).done;)w.value.detectChanges()}catch(De){y.e(De)}finally{y.f()}}catch(De){this._zone.runOutsideAngular(function(){return h._exceptionHandler.handleError(De)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(h){var y=h;this._views.push(y),y.attachToAppRef(this)}},{key:"detachView",value:function(h){var y=h;YC(this._views,y),y.detachFromAppRef()}},{key:"_loadComponent",value:function(h){this.attachView(h.hostView),this.tick(),this.components.push(h),this._injector.get(cE,[]).concat(this._bootstrapListeners).forEach(function(w){return w(h)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(h){return h.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}]),c}();return l.\u0275fac=function(d){return new(d||l)(Wo(_u),Wo(Za),Wo(Tc),Wo(Zg),Wo(wf))},l.\u0275prov=In({token:l,factory:l.\u0275fac}),l}();function YC(l,c){var d=l.indexOf(c);d>-1&&l.splice(d,1)}var EE=function l(){(0,M.Z)(this,l)},XC=function l(){(0,M.Z)(this,l)},km={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},hR=function(){var l=function(){function c(d,h){(0,M.Z)(this,c),this._compiler=d,this._config=h||km}return(0,D.Z)(c,[{key:"load",value:function(h){return this.loadAndCompile(h)}},{key:"loadAndCompile",value:function(h){var y=this,w=h.split("#"),H=(0,Z.Z)(w,2),W=H[0],X=H[1];return void 0===X&&(X="default"),f(98255)(W).then(function(me){return me[X]}).then(function(me){return ME(me,W,X)}).then(function(me){return y._compiler.compileModuleAsync(me)})}},{key:"loadFactory",value:function(h){var y=h.split("#"),w=(0,Z.Z)(y,2),H=w[0],W=w[1],X="NgFactory";return void 0===W&&(W="default",X=""),f(98255)(this._config.factoryPathPrefix+H+this._config.factoryPathSuffix).then(function(me){return me[W+X]}).then(function(me){return ME(me,H,W)})}}]),c}();return l.\u0275fac=function(d){return new(d||l)(Wo(Mf),Wo(XC,8))},l.\u0275prov=In({token:l,factory:l.\u0275fac}),l}();function ME(l,c,d){if(!l)throw new Error("Cannot find '".concat(d,"' in '").concat(c,"'"));return l}var mR=function(l){(0,A.Z)(d,l);var c=(0,_.Z)(d);function d(){return(0,M.Z)(this,d),c.apply(this,arguments)}return d}(function(l){(0,A.Z)(d,l);var c=(0,_.Z)(d);function d(){return(0,M.Z)(this,d),c.apply(this,arguments)}return d}(WI)),CR=function(l){return null},TR=GC(null,"core",[{provide:uE,useValue:"unknown"},{provide:xE,deps:[Za]},{provide:Df,deps:[]},{provide:dE,deps:[]}]),i1=[{provide:wm,useClass:wm,deps:[_u,Za,Tc,Zg,wf]},{provide:S3,deps:[_u],useFactory:function(l){var c=[];return l.onStable.subscribe(function(){for(;c.length;)c.pop()()}),function(d){c.push(d)}}},{provide:wf,useClass:wf,deps:[[new Ru,qu]]},{provide:Mf,useClass:Mf,deps:[]},_m,{provide:Lg,useFactory:function(){return YI},deps:[]},{provide:Fg,useFactory:function(){return PB},deps:[]},{provide:ym,useFactory:function(l){return Nw(l=l||"undefined"!=typeof $localize&&$localize.locale||F0),l},deps:[[new yh(ym),new Ru,new Nu]]},{provide:ZC,useValue:"USD"}],DR=function(){var l=function c(d){(0,M.Z)(this,c)};return l.\u0275fac=function(d){return new(d||l)(Wo(wm))},l.\u0275mod=yo({type:l}),l.\u0275inj=Rn({providers:i1}),l}()},19061:function(ue,q,f){"use strict";f.d(q,{Zs:function(){return Ui},Fj:function(){return L},qu:function(){return $e},NI:function(){return wi},u:function(){return ha},cw:function(){return ro},sg:function(){return Vo},u5:function(){return bl},Cf:function(){return z},JU:function(){return k},a5:function(){return kn},JJ:function(){return Rn},JL:function(){return wn},F:function(){return Uo},On:function(){return jn},wV:function(){return bi},UX:function(){return pe},kI:function(){return te},_Y:function(){return zn}});var U=f(88009),B=f(36683),V=f(10629),Z=f(10509),T=f(97154),R=f(18967),C=f(14105),v=f(65508),P=f(40098),D=f(61493),M=f(91925),A=f(85639),_=function(){var re=function(){function fe(_e,Ce){(0,R.Z)(this,fe),this._renderer=_e,this._elementRef=Ce,this.onChange=function(Re){},this.onTouched=function(){}}return(0,C.Z)(fe,[{key:"setProperty",value:function(Ce,Re){this._renderer.setProperty(this._elementRef.nativeElement,Ce,Re)}},{key:"registerOnTouched",value:function(Ce){this.onTouched=Ce}},{key:"registerOnChange",value:function(Ce){this.onChange=Ce}},{key:"setDisabledState",value:function(Ce){this.setProperty("disabled",Ce)}}]),fe}();return re.\u0275fac=function(_e){return new(_e||re)(v.Y36(v.Qsj),v.Y36(v.SBq))},re.\u0275dir=v.lG2({type:re}),re}(),g=function(){var re=function(fe){(0,Z.Z)(Ce,fe);var _e=(0,T.Z)(Ce);function Ce(){return(0,R.Z)(this,Ce),_e.apply(this,arguments)}return Ce}(_);return re.\u0275fac=function(){var fe;return function(Ce){return(fe||(fe=v.n5z(re)))(Ce||re)}}(),re.\u0275dir=v.lG2({type:re,features:[v.qOj]}),re}(),k=new v.OlP("NgValueAccessor"),x={provide:k,useExisting:(0,v.Gpc)(function(){return L}),multi:!0},O=new v.OlP("CompositionEventMode"),L=function(){var re=function(fe){(0,Z.Z)(Ce,fe);var _e=(0,T.Z)(Ce);function Ce(Re,Ge,St){var ft;return(0,R.Z)(this,Ce),(ft=_e.call(this,Re,Ge))._compositionMode=St,ft._composing=!1,null==ft._compositionMode&&(ft._compositionMode=!function(){var re=(0,P.q)()?(0,P.q)().getUserAgent():"";return/android (\d+)/.test(re.toLowerCase())}()),ft}return(0,C.Z)(Ce,[{key:"writeValue",value:function(Ge){this.setProperty("value",null==Ge?"":Ge)}},{key:"_handleInput",value:function(Ge){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(Ge)}},{key:"_compositionStart",value:function(){this._composing=!0}},{key:"_compositionEnd",value:function(Ge){this._composing=!1,this._compositionMode&&this.onChange(Ge)}}]),Ce}(_);return re.\u0275fac=function(_e){return new(_e||re)(v.Y36(v.Qsj),v.Y36(v.SBq),v.Y36(O,8))},re.\u0275dir=v.lG2({type:re,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(_e,Ce){1&_e&&v.NdJ("input",function(Ge){return Ce._handleInput(Ge.target.value)})("blur",function(){return Ce.onTouched()})("compositionstart",function(){return Ce._compositionStart()})("compositionend",function(Ge){return Ce._compositionEnd(Ge.target.value)})},features:[v._Bn([x]),v.qOj]}),re}();function j(re){return null==re||0===re.length}function K(re){return null!=re&&"number"==typeof re.length}var z=new v.OlP("NgValidators"),J=new v.OlP("NgAsyncValidators"),ie=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,te=function(){function re(){(0,R.Z)(this,re)}return(0,C.Z)(re,null,[{key:"min",value:function(_e){return function(re){return function(fe){if(j(fe.value)||j(re))return null;var _e=parseFloat(fe.value);return!isNaN(_e)&&_e<re?{min:{min:re,actual:fe.value}}:null}}(_e)}},{key:"max",value:function(_e){return function(re){return function(fe){if(j(fe.value)||j(re))return null;var _e=parseFloat(fe.value);return!isNaN(_e)&&_e>re?{max:{max:re,actual:fe.value}}:null}}(_e)}},{key:"required",value:function(_e){return ce(_e)}},{key:"requiredTrue",value:function(_e){return le(_e)}},{key:"email",value:function(_e){return function(re){return j(re.value)||ie.test(re.value)?null:{email:!0}}(_e)}},{key:"minLength",value:function(_e){return function(re){return function(fe){return j(fe.value)||!K(fe.value)?null:fe.value.length<re?{minlength:{requiredLength:re,actualLength:fe.value.length}}:null}}(_e)}},{key:"maxLength",value:function(_e){return function(re){return function(fe){return K(fe.value)&&fe.value.length>re?{maxlength:{requiredLength:re,actualLength:fe.value.length}}:null}}(_e)}},{key:"pattern",value:function(_e){return function(re){return re?("string"==typeof re?(_e="","^"!==re.charAt(0)&&(_e+="^"),_e+=re,"$"!==re.charAt(re.length-1)&&(_e+="$"),fe=new RegExp(_e)):(_e=re.toString(),fe=re),function(Ce){if(j(Ce.value))return null;var Re=Ce.value;return fe.test(Re)?null:{pattern:{requiredPattern:_e,actualValue:Re}}}):qe;var fe,_e}(_e)}},{key:"nullValidator",value:function(_e){return null}},{key:"compose",value:function(_e){return dt(_e)}},{key:"composeAsync",value:function(_e){return Bt(_e)}}]),re}();function ce(re){return j(re.value)?{required:!0}:null}function le(re){return!0===re.value?null:{required:!0}}function qe(re){return null}function _t(re){return null!=re}function yt(re){var fe=(0,v.QGY)(re)?(0,D.D)(re):re;return(0,v.CqO)(fe),fe}function Ft(re){var fe={};return re.forEach(function(_e){fe=null!=_e?Object.assign(Object.assign({},fe),_e):fe}),0===Object.keys(fe).length?null:fe}function xe(re,fe){return fe.map(function(_e){return _e(re)})}function je(re){return re.map(function(fe){return function(re){return!re.validate}(fe)?fe:function(_e){return fe.validate(_e)}})}function dt(re){if(!re)return null;var fe=re.filter(_t);return 0==fe.length?null:function(_e){return Ft(xe(_e,fe))}}function Qe(re){return null!=re?dt(je(re)):null}function Bt(re){if(!re)return null;var fe=re.filter(_t);return 0==fe.length?null:function(_e){var Ce=xe(_e,fe).map(yt);return(0,M.D)(Ce).pipe((0,A.U)(Ft))}}function xt(re){return null!=re?Bt(je(re)):null}function vt(re,fe){return null===re?[fe]:Array.isArray(re)?[].concat((0,V.Z)(re),[fe]):[re,fe]}function Qt(re){return re._rawValidators}function Ht(re){return re._rawAsyncValidators}function Ct(re){return re?Array.isArray(re)?re:[re]:[]}function Vt(re,fe){return Array.isArray(re)?re.includes(fe):re===fe}function bt(re,fe){var _e=Ct(fe);return Ct(re).forEach(function(Re){Vt(_e,Re)||_e.push(Re)}),_e}function en(re,fe){return Ct(fe).filter(function(_e){return!Vt(re,_e)})}var Nt=function(){var re=function(){function fe(){(0,R.Z)(this,fe),this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}return(0,C.Z)(fe,[{key:"value",get:function(){return this.control?this.control.value:null}},{key:"valid",get:function(){return this.control?this.control.valid:null}},{key:"invalid",get:function(){return this.control?this.control.invalid:null}},{key:"pending",get:function(){return this.control?this.control.pending:null}},{key:"disabled",get:function(){return this.control?this.control.disabled:null}},{key:"enabled",get:function(){return this.control?this.control.enabled:null}},{key:"errors",get:function(){return this.control?this.control.errors:null}},{key:"pristine",get:function(){return this.control?this.control.pristine:null}},{key:"dirty",get:function(){return this.control?this.control.dirty:null}},{key:"touched",get:function(){return this.control?this.control.touched:null}},{key:"status",get:function(){return this.control?this.control.status:null}},{key:"untouched",get:function(){return this.control?this.control.untouched:null}},{key:"statusChanges",get:function(){return this.control?this.control.statusChanges:null}},{key:"valueChanges",get:function(){return this.control?this.control.valueChanges:null}},{key:"path",get:function(){return null}},{key:"_setValidators",value:function(Ce){this._rawValidators=Ce||[],this._composedValidatorFn=Qe(this._rawValidators)}},{key:"_setAsyncValidators",value:function(Ce){this._rawAsyncValidators=Ce||[],this._composedAsyncValidatorFn=xt(this._rawAsyncValidators)}},{key:"validator",get:function(){return this._composedValidatorFn||null}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn||null}},{key:"_registerOnDestroy",value:function(Ce){this._onDestroyCallbacks.push(Ce)}},{key:"_invokeOnDestroyCallbacks",value:function(){this._onDestroyCallbacks.forEach(function(Ce){return Ce()}),this._onDestroyCallbacks=[]}},{key:"reset",value:function(){var Ce=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.control&&this.control.reset(Ce)}},{key:"hasError",value:function(Ce,Re){return!!this.control&&this.control.hasError(Ce,Re)}},{key:"getError",value:function(Ce,Re){return this.control?this.control.getError(Ce,Re):null}}]),fe}();return re.\u0275fac=function(_e){return new(_e||re)},re.\u0275dir=v.lG2({type:re}),re}(),rn=function(){var re=function(fe){(0,Z.Z)(Ce,fe);var _e=(0,T.Z)(Ce);function Ce(){return(0,R.Z)(this,Ce),_e.apply(this,arguments)}return(0,C.Z)(Ce,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),Ce}(Nt);return re.\u0275fac=function(){var fe;return function(Ce){return(fe||(fe=v.n5z(re)))(Ce||re)}}(),re.\u0275dir=v.lG2({type:re,features:[v.qOj]}),re}(),kn=function(re){(0,Z.Z)(_e,re);var fe=(0,T.Z)(_e);function _e(){var Ce;return(0,R.Z)(this,_e),(Ce=fe.apply(this,arguments))._parent=null,Ce.name=null,Ce.valueAccessor=null,Ce}return _e}(Nt),Nn=function(){function re(fe){(0,R.Z)(this,re),this._cd=fe}return(0,C.Z)(re,[{key:"is",value:function(_e){var Ce,Re,Ge;return"submitted"===_e?!!(null===(Ce=this._cd)||void 0===Ce?void 0:Ce.submitted):!!(null===(Ge=null===(Re=this._cd)||void 0===Re?void 0:Re.control)||void 0===Ge?void 0:Ge[_e])}}]),re}(),Rn=function(){var re=function(fe){(0,Z.Z)(Ce,fe);var _e=(0,T.Z)(Ce);function Ce(Re){return(0,R.Z)(this,Ce),_e.call(this,Re)}return Ce}(Nn);return re.\u0275fac=function(_e){return new(_e||re)(v.Y36(kn,2))},re.\u0275dir=v.lG2({type:re,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(_e,Ce){2&_e&&v.ekj("ng-untouched",Ce.is("untouched"))("ng-touched",Ce.is("touched"))("ng-pristine",Ce.is("pristine"))("ng-dirty",Ce.is("dirty"))("ng-valid",Ce.is("valid"))("ng-invalid",Ce.is("invalid"))("ng-pending",Ce.is("pending"))},features:[v.qOj]}),re}(),wn=function(){var re=function(fe){(0,Z.Z)(Ce,fe);var _e=(0,T.Z)(Ce);function Ce(Re){return(0,R.Z)(this,Ce),_e.call(this,Re)}return Ce}(Nn);return re.\u0275fac=function(_e){return new(_e||re)(v.Y36(rn,10))},re.\u0275dir=v.lG2({type:re,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(_e,Ce){2&_e&&v.ekj("ng-untouched",Ce.is("untouched"))("ng-touched",Ce.is("touched"))("ng-pristine",Ce.is("pristine"))("ng-dirty",Ce.is("dirty"))("ng-valid",Ce.is("valid"))("ng-invalid",Ce.is("invalid"))("ng-pending",Ce.is("pending"))("ng-submitted",Ce.is("submitted"))},features:[v.qOj]}),re}();function nn(re,fe){return[].concat((0,V.Z)(fe.path),[re])}function cn(re,fe){Yn(re,fe),fe.valueAccessor.writeValue(re.value),function(re,fe){fe.valueAccessor.registerOnChange(function(_e){re._pendingValue=_e,re._pendingChange=!0,re._pendingDirty=!0,"change"===re.updateOn&&cr(re,fe)})}(re,fe),function(re,fe){var _e=function(Re,Ge){fe.valueAccessor.writeValue(Re),Ge&&fe.viewToModelUpdate(Re)};re.registerOnChange(_e),fe._registerOnDestroy(function(){re._unregisterOnChange(_e)})}(re,fe),function(re,fe){fe.valueAccessor.registerOnTouched(function(){re._pendingTouched=!0,"blur"===re.updateOn&&re._pendingChange&&cr(re,fe),"submit"!==re.updateOn&&re.markAsTouched()})}(re,fe),function(re,fe){if(fe.valueAccessor.setDisabledState){var _e=function(Re){fe.valueAccessor.setDisabledState(Re)};re.registerOnDisabledChange(_e),fe._registerOnDestroy(function(){re._unregisterOnDisabledChange(_e)})}}(re,fe)}function yn(re,fe){var Ce=function(){};fe.valueAccessor&&(fe.valueAccessor.registerOnChange(Ce),fe.valueAccessor.registerOnTouched(Ce)),Cn(re,fe),re&&(fe._invokeOnDestroyCallbacks(),re._registerOnCollectionChange(function(){}))}function Tn(re,fe){re.forEach(function(_e){_e.registerOnValidatorChange&&_e.registerOnValidatorChange(fe)})}function Yn(re,fe){var _e=Qt(re);null!==fe.validator?re.setValidators(vt(_e,fe.validator)):"function"==typeof _e&&re.setValidators([_e]);var Ce=Ht(re);null!==fe.asyncValidator?re.setAsyncValidators(vt(Ce,fe.asyncValidator)):"function"==typeof Ce&&re.setAsyncValidators([Ce]);var Re=function(){return re.updateValueAndValidity()};Tn(fe._rawValidators,Re),Tn(fe._rawAsyncValidators,Re)}function Cn(re,fe){var _e=!1;if(null!==re){if(null!==fe.validator){var Ce=Qt(re);if(Array.isArray(Ce)&&Ce.length>0){var Re=Ce.filter(function(gt){return gt!==fe.validator});Re.length!==Ce.length&&(_e=!0,re.setValidators(Re))}}if(null!==fe.asyncValidator){var Ge=Ht(re);if(Array.isArray(Ge)&&Ge.length>0){var St=Ge.filter(function(gt){return gt!==fe.asyncValidator});St.length!==Ge.length&&(_e=!0,re.setAsyncValidators(St))}}}var ft=function(){};return Tn(fe._rawValidators,ft),Tn(fe._rawAsyncValidators,ft),_e}function cr(re,fe){re._pendingDirty&&re.markAsDirty(),re.setValue(re._pendingValue,{emitModelToViewChange:!1}),fe.viewToModelUpdate(re._pendingValue),re._pendingChange=!1}function Rt(re,fe){Yn(re,fe)}function he(re,fe){if(!re.hasOwnProperty("model"))return!1;var _e=re.model;return!!_e.isFirstChange()||!Object.is(fe,_e.currentValue)}function Ne(re,fe){re._syncPendingControls(),fe.forEach(function(_e){var Ce=_e.control;"submit"===Ce.updateOn&&Ce._pendingChange&&(_e.viewToModelUpdate(Ce._pendingValue),Ce._pendingChange=!1)})}function Le(re,fe){if(!fe)return null;Array.isArray(fe);var _e=void 0,Ce=void 0,Re=void 0;return fe.forEach(function(Ge){Ge.constructor===L?_e=Ge:function(re){return Object.getPrototypeOf(re.constructor)===g}(Ge)?Ce=Ge:Re=Ge}),Re||Ce||_e||null}function ze(re,fe){var _e=re.indexOf(fe);_e>-1&&re.splice(_e,1)}var an="VALID",qn="INVALID",Nr="PENDING",qr="DISABLED";function Qr(re){return(co(re)?re.validators:re)||null}function uo(re){return Array.isArray(re)?Qe(re):re||null}function Ni(re,fe){return(co(fe)?fe.asyncValidators:re)||null}function yo(re){return Array.isArray(re)?xt(re):re||null}function co(re){return null!=re&&!Array.isArray(re)&&"object"==typeof re}var Qo=function(){function re(fe,_e){(0,R.Z)(this,re),this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=function(){},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=fe,this._rawAsyncValidators=_e,this._composedValidatorFn=uo(this._rawValidators),this._composedAsyncValidatorFn=yo(this._rawAsyncValidators)}return(0,C.Z)(re,[{key:"validator",get:function(){return this._composedValidatorFn},set:function(_e){this._rawValidators=this._composedValidatorFn=_e}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn},set:function(_e){this._rawAsyncValidators=this._composedAsyncValidatorFn=_e}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return this.status===an}},{key:"invalid",get:function(){return this.status===qn}},{key:"pending",get:function(){return this.status==Nr}},{key:"disabled",get:function(){return this.status===qr}},{key:"enabled",get:function(){return this.status!==qr}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"setValidators",value:function(_e){this._rawValidators=_e,this._composedValidatorFn=uo(_e)}},{key:"setAsyncValidators",value:function(_e){this._rawAsyncValidators=_e,this._composedAsyncValidatorFn=yo(_e)}},{key:"addValidators",value:function(_e){this.setValidators(bt(_e,this._rawValidators))}},{key:"addAsyncValidators",value:function(_e){this.setAsyncValidators(bt(_e,this._rawAsyncValidators))}},{key:"removeValidators",value:function(_e){this.setValidators(en(_e,this._rawValidators))}},{key:"removeAsyncValidators",value:function(_e){this.setAsyncValidators(en(_e,this._rawAsyncValidators))}},{key:"hasValidator",value:function(_e){return Vt(this._rawValidators,_e)}},{key:"hasAsyncValidator",value:function(_e){return Vt(this._rawAsyncValidators,_e)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var _e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!_e.onlySelf&&this._parent.markAsTouched(_e)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild(function(_e){return _e.markAllAsTouched()})}},{key:"markAsUntouched",value:function(){var _e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(Ce){Ce.markAsUntouched({onlySelf:!0})}),this._parent&&!_e.onlySelf&&this._parent._updateTouched(_e)}},{key:"markAsDirty",value:function(){var _e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!_e.onlySelf&&this._parent.markAsDirty(_e)}},{key:"markAsPristine",value:function(){var _e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(Ce){Ce.markAsPristine({onlySelf:!0})}),this._parent&&!_e.onlySelf&&this._parent._updatePristine(_e)}},{key:"markAsPending",value:function(){var _e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status=Nr,!1!==_e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!_e.onlySelf&&this._parent.markAsPending(_e)}},{key:"disable",value:function(){var _e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},Ce=this._parentMarkedDirty(_e.onlySelf);this.status=qr,this.errors=null,this._forEachChild(function(Re){Re.disable(Object.assign(Object.assign({},_e),{onlySelf:!0}))}),this._updateValue(),!1!==_e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},_e),{skipPristineCheck:Ce})),this._onDisabledChange.forEach(function(Re){return Re(!0)})}},{key:"enable",value:function(){var _e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},Ce=this._parentMarkedDirty(_e.onlySelf);this.status=an,this._forEachChild(function(Re){Re.enable(Object.assign(Object.assign({},_e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:_e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},_e),{skipPristineCheck:Ce})),this._onDisabledChange.forEach(function(Re){return Re(!1)})}},{key:"_updateAncestors",value:function(_e){this._parent&&!_e.onlySelf&&(this._parent.updateValueAndValidity(_e),_e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(_e){this._parent=_e}},{key:"updateValueAndValidity",value:function(){var _e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===an||this.status===Nr)&&this._runAsyncValidator(_e.emitEvent)),!1!==_e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!_e.onlySelf&&this._parent.updateValueAndValidity(_e)}},{key:"_updateTreeValidity",value:function(){var _e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild(function(Ce){return Ce._updateTreeValidity(_e)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:_e.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?qr:an}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(_e){var Ce=this;if(this.asyncValidator){this.status=Nr,this._hasOwnPendingAsyncValidator=!0;var Re=yt(this.asyncValidator(this));this._asyncValidationSubscription=Re.subscribe(function(Ge){Ce._hasOwnPendingAsyncValidator=!1,Ce.setErrors(Ge,{emitEvent:_e})})}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}},{key:"setErrors",value:function(_e){var Ce=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=_e,this._updateControlsErrors(!1!==Ce.emitEvent)}},{key:"get",value:function(_e){return function(re,fe,_e){if(null==fe||(Array.isArray(fe)||(fe=fe.split(".")),Array.isArray(fe)&&0===fe.length))return null;var Ce=re;return fe.forEach(function(Re){Ce=Ce instanceof ro?Ce.controls.hasOwnProperty(Re)?Ce.controls[Re]:null:Ce instanceof yi&&Ce.at(Re)||null}),Ce}(this,_e)}},{key:"getError",value:function(_e,Ce){var Re=Ce?this.get(Ce):this;return Re&&Re.errors?Re.errors[_e]:null}},{key:"hasError",value:function(_e,Ce){return!!this.getError(_e,Ce)}},{key:"root",get:function(){for(var _e=this;_e._parent;)_e=_e._parent;return _e}},{key:"_updateControlsErrors",value:function(_e){this.status=this._calculateStatus(),_e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(_e)}},{key:"_initObservables",value:function(){this.valueChanges=new v.vpe,this.statusChanges=new v.vpe}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?qr:this.errors?qn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Nr)?Nr:this._anyControlsHaveStatus(qn)?qn:an}},{key:"_anyControlsHaveStatus",value:function(_e){return this._anyControls(function(Ce){return Ce.status===_e})}},{key:"_anyControlsDirty",value:function(){return this._anyControls(function(_e){return _e.dirty})}},{key:"_anyControlsTouched",value:function(){return this._anyControls(function(_e){return _e.touched})}},{key:"_updatePristine",value:function(){var _e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!_e.onlySelf&&this._parent._updatePristine(_e)}},{key:"_updateTouched",value:function(){var _e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!_e.onlySelf&&this._parent._updateTouched(_e)}},{key:"_isBoxedValue",value:function(_e){return"object"==typeof _e&&null!==_e&&2===Object.keys(_e).length&&"value"in _e&&"disabled"in _e}},{key:"_registerOnCollectionChange",value:function(_e){this._onCollectionChange=_e}},{key:"_setUpdateStrategy",value:function(_e){co(_e)&&null!=_e.updateOn&&(this._updateOn=_e.updateOn)}},{key:"_parentMarkedDirty",value:function(_e){return!_e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}]),re}(),wi=function(re){(0,Z.Z)(_e,re);var fe=(0,T.Z)(_e);function _e(){var Ce,Re=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,Ge=arguments.length>1?arguments[1]:void 0,St=arguments.length>2?arguments[2]:void 0;return(0,R.Z)(this,_e),(Ce=fe.call(this,Qr(Ge),Ni(St,Ge)))._onChange=[],Ce._applyFormState(Re),Ce._setUpdateStrategy(Ge),Ce._initObservables(),Ce.updateValueAndValidity({onlySelf:!0,emitEvent:!!Ce.asyncValidator}),Ce}return(0,C.Z)(_e,[{key:"setValue",value:function(Re){var Ge=this,St=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=Re,this._onChange.length&&!1!==St.emitModelToViewChange&&this._onChange.forEach(function(ft){return ft(Ge.value,!1!==St.emitViewToModelChange)}),this.updateValueAndValidity(St)}},{key:"patchValue",value:function(Re){var Ge=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(Re,Ge)}},{key:"reset",value:function(){var Re=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,Ge=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(Re),this.markAsPristine(Ge),this.markAsUntouched(Ge),this.setValue(this.value,Ge),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(Re){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(Re){this._onChange.push(Re)}},{key:"_unregisterOnChange",value:function(Re){ze(this._onChange,Re)}},{key:"registerOnDisabledChange",value:function(Re){this._onDisabledChange.push(Re)}},{key:"_unregisterOnDisabledChange",value:function(Re){ze(this._onDisabledChange,Re)}},{key:"_forEachChild",value:function(Re){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(Re){this._isBoxedValue(Re)?(this.value=this._pendingValue=Re.value,Re.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Re}}]),_e}(Qo),ro=function(re){(0,Z.Z)(_e,re);var fe=(0,T.Z)(_e);function _e(Ce,Re,Ge){var St;return(0,R.Z)(this,_e),(St=fe.call(this,Qr(Re),Ni(Ge,Re))).controls=Ce,St._initObservables(),St._setUpdateStrategy(Re),St._setUpControls(),St.updateValueAndValidity({onlySelf:!0,emitEvent:!!St.asyncValidator}),St}return(0,C.Z)(_e,[{key:"registerControl",value:function(Re,Ge){return this.controls[Re]?this.controls[Re]:(this.controls[Re]=Ge,Ge.setParent(this),Ge._registerOnCollectionChange(this._onCollectionChange),Ge)}},{key:"addControl",value:function(Re,Ge){var St=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.registerControl(Re,Ge),this.updateValueAndValidity({emitEvent:St.emitEvent}),this._onCollectionChange()}},{key:"removeControl",value:function(Re){var Ge=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[Re]&&this.controls[Re]._registerOnCollectionChange(function(){}),delete this.controls[Re],this.updateValueAndValidity({emitEvent:Ge.emitEvent}),this._onCollectionChange()}},{key:"setControl",value:function(Re,Ge){var St=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[Re]&&this.controls[Re]._registerOnCollectionChange(function(){}),delete this.controls[Re],Ge&&this.registerControl(Re,Ge),this.updateValueAndValidity({emitEvent:St.emitEvent}),this._onCollectionChange()}},{key:"contains",value:function(Re){return this.controls.hasOwnProperty(Re)&&this.controls[Re].enabled}},{key:"setValue",value:function(Re){var Ge=this,St=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(Re),Object.keys(Re).forEach(function(ft){Ge._throwIfControlMissing(ft),Ge.controls[ft].setValue(Re[ft],{onlySelf:!0,emitEvent:St.emitEvent})}),this.updateValueAndValidity(St)}},{key:"patchValue",value:function(Re){var Ge=this,St=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=Re&&(Object.keys(Re).forEach(function(ft){Ge.controls[ft]&&Ge.controls[ft].patchValue(Re[ft],{onlySelf:!0,emitEvent:St.emitEvent})}),this.updateValueAndValidity(St))}},{key:"reset",value:function(){var Re=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},Ge=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(St,ft){St.reset(Re[ft],{onlySelf:!0,emitEvent:Ge.emitEvent})}),this._updatePristine(Ge),this._updateTouched(Ge),this.updateValueAndValidity(Ge)}},{key:"getRawValue",value:function(){return this._reduceChildren({},function(Re,Ge,St){return Re[St]=Ge instanceof wi?Ge.value:Ge.getRawValue(),Re})}},{key:"_syncPendingControls",value:function(){var Re=this._reduceChildren(!1,function(Ge,St){return!!St._syncPendingControls()||Ge});return Re&&this.updateValueAndValidity({onlySelf:!0}),Re}},{key:"_throwIfControlMissing",value:function(Re){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[Re])throw new Error("Cannot find form control with name: ".concat(Re,"."))}},{key:"_forEachChild",value:function(Re){var Ge=this;Object.keys(this.controls).forEach(function(St){var ft=Ge.controls[St];ft&&Re(ft,St)})}},{key:"_setUpControls",value:function(){var Re=this;this._forEachChild(function(Ge){Ge.setParent(Re),Ge._registerOnCollectionChange(Re._onCollectionChange)})}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(Re){for(var Ge=0,St=Object.keys(this.controls);Ge<St.length;Ge++){var ft=St[Ge],gt=this.controls[ft];if(this.contains(ft)&&Re(gt))return!0}return!1}},{key:"_reduceValue",value:function(){var Re=this;return this._reduceChildren({},function(Ge,St,ft){return(St.enabled||Re.disabled)&&(Ge[ft]=St.value),Ge})}},{key:"_reduceChildren",value:function(Re,Ge){var St=Re;return this._forEachChild(function(ft,gt){St=Ge(St,ft,gt)}),St}},{key:"_allControlsDisabled",value:function(){for(var Re=0,Ge=Object.keys(this.controls);Re<Ge.length;Re++)if(this.controls[Ge[Re]].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}},{key:"_checkAllValuesPresent",value:function(Re){this._forEachChild(function(Ge,St){if(void 0===Re[St])throw new Error("Must supply a value for form control with name: '".concat(St,"'."))})}}]),_e}(Qo),yi=function(re){(0,Z.Z)(_e,re);var fe=(0,T.Z)(_e);function _e(Ce,Re,Ge){var St;return(0,R.Z)(this,_e),(St=fe.call(this,Qr(Re),Ni(Ge,Re))).controls=Ce,St._initObservables(),St._setUpdateStrategy(Re),St._setUpControls(),St.updateValueAndValidity({onlySelf:!0,emitEvent:!!St.asyncValidator}),St}return(0,C.Z)(_e,[{key:"at",value:function(Re){return this.controls[Re]}},{key:"push",value:function(Re){var Ge=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls.push(Re),this._registerControl(Re),this.updateValueAndValidity({emitEvent:Ge.emitEvent}),this._onCollectionChange()}},{key:"insert",value:function(Re,Ge){var St=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls.splice(Re,0,Ge),this._registerControl(Ge),this.updateValueAndValidity({emitEvent:St.emitEvent})}},{key:"removeAt",value:function(Re){var Ge=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[Re]&&this.controls[Re]._registerOnCollectionChange(function(){}),this.controls.splice(Re,1),this.updateValueAndValidity({emitEvent:Ge.emitEvent})}},{key:"setControl",value:function(Re,Ge){var St=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[Re]&&this.controls[Re]._registerOnCollectionChange(function(){}),this.controls.splice(Re,1),Ge&&(this.controls.splice(Re,0,Ge),this._registerControl(Ge)),this.updateValueAndValidity({emitEvent:St.emitEvent}),this._onCollectionChange()}},{key:"length",get:function(){return this.controls.length}},{key:"setValue",value:function(Re){var Ge=this,St=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(Re),Re.forEach(function(ft,gt){Ge._throwIfControlMissing(gt),Ge.at(gt).setValue(ft,{onlySelf:!0,emitEvent:St.emitEvent})}),this.updateValueAndValidity(St)}},{key:"patchValue",value:function(Re){var Ge=this,St=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=Re&&(Re.forEach(function(ft,gt){Ge.at(gt)&&Ge.at(gt).patchValue(ft,{onlySelf:!0,emitEvent:St.emitEvent})}),this.updateValueAndValidity(St))}},{key:"reset",value:function(){var Re=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],Ge=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(St,ft){St.reset(Re[ft],{onlySelf:!0,emitEvent:Ge.emitEvent})}),this._updatePristine(Ge),this._updateTouched(Ge),this.updateValueAndValidity(Ge)}},{key:"getRawValue",value:function(){return this.controls.map(function(Re){return Re instanceof wi?Re.value:Re.getRawValue()})}},{key:"clear",value:function(){var Re=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.controls.length<1||(this._forEachChild(function(Ge){return Ge._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Re.emitEvent}))}},{key:"_syncPendingControls",value:function(){var Re=this.controls.reduce(function(Ge,St){return!!St._syncPendingControls()||Ge},!1);return Re&&this.updateValueAndValidity({onlySelf:!0}),Re}},{key:"_throwIfControlMissing",value:function(Re){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(Re))throw new Error("Cannot find form control at index ".concat(Re))}},{key:"_forEachChild",value:function(Re){this.controls.forEach(function(Ge,St){Re(Ge,St)})}},{key:"_updateValue",value:function(){var Re=this;this.value=this.controls.filter(function(Ge){return Ge.enabled||Re.disabled}).map(function(Ge){return Ge.value})}},{key:"_anyControls",value:function(Re){return this.controls.some(function(Ge){return Ge.enabled&&Re(Ge)})}},{key:"_setUpControls",value:function(){var Re=this;this._forEachChild(function(Ge){return Re._registerControl(Ge)})}},{key:"_checkAllValuesPresent",value:function(Re){this._forEachChild(function(Ge,St){if(void 0===Re[St])throw new Error("Must supply a value for form control at index: ".concat(St,"."))})}},{key:"_allControlsDisabled",value:function(){var Ge,Re=(0,B.Z)(this.controls);try{for(Re.s();!(Ge=Re.n()).done;)if(Ge.value.enabled)return!1}catch(ft){Re.e(ft)}finally{Re.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(Re){Re.setParent(this),Re._registerOnCollectionChange(this._onCollectionChange)}}]),_e}(Qo),Gi={provide:rn,useExisting:(0,v.Gpc)(function(){return Uo})},fi=function(){return Promise.resolve(null)}(),Uo=function(){var re=function(fe){(0,Z.Z)(Ce,fe);var _e=(0,T.Z)(Ce);function Ce(Re,Ge){var St;return(0,R.Z)(this,Ce),(St=_e.call(this)).submitted=!1,St._directives=[],St.ngSubmit=new v.vpe,St.form=new ro({},Qe(Re),xt(Ge)),St}return(0,C.Z)(Ce,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}},{key:"addControl",value:function(Ge){var St=this;fi.then(function(){var ft=St._findContainer(Ge.path);Ge.control=ft.registerControl(Ge.name,Ge.control),cn(Ge.control,Ge),Ge.control.updateValueAndValidity({emitEvent:!1}),St._directives.push(Ge)})}},{key:"getControl",value:function(Ge){return this.form.get(Ge.path)}},{key:"removeControl",value:function(Ge){var St=this;fi.then(function(){var ft=St._findContainer(Ge.path);ft&&ft.removeControl(Ge.name),ze(St._directives,Ge)})}},{key:"addFormGroup",value:function(Ge){var St=this;fi.then(function(){var ft=St._findContainer(Ge.path),gt=new ro({});Rt(gt,Ge),ft.registerControl(Ge.name,gt),gt.updateValueAndValidity({emitEvent:!1})})}},{key:"removeFormGroup",value:function(Ge){var St=this;fi.then(function(){var ft=St._findContainer(Ge.path);ft&&ft.removeControl(Ge.name)})}},{key:"getFormGroup",value:function(Ge){return this.form.get(Ge.path)}},{key:"updateModel",value:function(Ge,St){var ft=this;fi.then(function(){ft.form.get(Ge.path).setValue(St)})}},{key:"setValue",value:function(Ge){this.control.setValue(Ge)}},{key:"onSubmit",value:function(Ge){return this.submitted=!0,Ne(this.form,this._directives),this.ngSubmit.emit(Ge),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){var Ge=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.form.reset(Ge),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(Ge){return Ge.pop(),Ge.length?this.form.get(Ge):this.form}}]),Ce}(rn);return re.\u0275fac=function(_e){return new(_e||re)(v.Y36(z,10),v.Y36(J,10))},re.\u0275dir=v.lG2({type:re,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(_e,Ce){1&_e&&v.NdJ("submit",function(Ge){return Ce.onSubmit(Ge)})("reset",function(){return Ce.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[v._Bn([Gi]),v.qOj]}),re}(),Xt={provide:kn,useExisting:(0,v.Gpc)(function(){return jn})},Gn=function(){return Promise.resolve(null)}(),jn=function(){var re=function(fe){(0,Z.Z)(Ce,fe);var _e=(0,T.Z)(Ce);function Ce(Re,Ge,St,ft){var gt;return(0,R.Z)(this,Ce),(gt=_e.call(this)).control=new wi,gt._registered=!1,gt.update=new v.vpe,gt._parent=Re,gt._setValidators(Ge),gt._setAsyncValidators(St),gt.valueAccessor=Le((0,U.Z)(gt),ft),gt}return(0,C.Z)(Ce,[{key:"ngOnChanges",value:function(Ge){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in Ge&&this._updateDisabled(Ge),he(Ge,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"path",get:function(){return this._parent?nn(this.name,this._parent):[this.name]}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"viewToModelUpdate",value:function(Ge){this.viewModel=Ge,this.update.emit(Ge)}},{key:"_setUpControl",value:function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}},{key:"_isStandalone",value:function(){return!this._parent||!(!this.options||!this.options.standalone)}},{key:"_setUpStandalone",value:function(){cn(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}},{key:"_checkForErrors",value:function(){this._isStandalone()||this._checkParentType(),this._checkName()}},{key:"_checkParentType",value:function(){}},{key:"_checkName",value:function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}},{key:"_updateValue",value:function(Ge){var St=this;Gn.then(function(){St.control.setValue(Ge,{emitViewToModelChange:!1})})}},{key:"_updateDisabled",value:function(Ge){var St=this,ft=Ge.isDisabled.currentValue,gt=""===ft||ft&&"false"!==ft;Gn.then(function(){gt&&!St.control.disabled?St.control.disable():!gt&&St.control.disabled&&St.control.enable()})}}]),Ce}(kn);return re.\u0275fac=function(_e){return new(_e||re)(v.Y36(rn,9),v.Y36(z,10),v.Y36(J,10),v.Y36(k,10))},re.\u0275dir=v.lG2({type:re,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[v._Bn([Xt]),v.qOj,v.TTD]}),re}(),zn=function(){var re=function fe(){(0,R.Z)(this,fe)};return re.\u0275fac=function(_e){return new(_e||re)},re.\u0275dir=v.lG2({type:re,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),re}(),si={provide:k,useExisting:(0,v.Gpc)(function(){return bi}),multi:!0},bi=function(){var re=function(fe){(0,Z.Z)(Ce,fe);var _e=(0,T.Z)(Ce);function Ce(){return(0,R.Z)(this,Ce),_e.apply(this,arguments)}return(0,C.Z)(Ce,[{key:"writeValue",value:function(Ge){this.setProperty("value",null==Ge?"":Ge)}},{key:"registerOnChange",value:function(Ge){this.onChange=function(St){Ge(""==St?null:parseFloat(St))}}}]),Ce}(g);return re.\u0275fac=function(){var fe;return function(Ce){return(fe||(fe=v.n5z(re)))(Ce||re)}}(),re.\u0275dir=v.lG2({type:re,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(_e,Ce){1&_e&&v.NdJ("input",function(Ge){return Ce.onChange(Ge.target.value)})("blur",function(){return Ce.onTouched()})},features:[v._Bn([si]),v.qOj]}),re}(),Fi=function(){var re=function fe(){(0,R.Z)(this,fe)};return re.\u0275fac=function(_e){return new(_e||re)},re.\u0275mod=v.oAB({type:re}),re.\u0275inj=v.cJS({}),re}(),Ho=new v.OlP("NgModelWithFormControlWarning"),Yi={provide:rn,useExisting:(0,v.Gpc)(function(){return Vo})},Vo=function(){var re=function(fe){(0,Z.Z)(Ce,fe);var _e=(0,T.Z)(Ce);function Ce(Re,Ge){var St;return(0,R.Z)(this,Ce),(St=_e.call(this)).validators=Re,St.asyncValidators=Ge,St.submitted=!1,St._onCollectionChange=function(){return St._updateDomValue()},St.directives=[],St.form=null,St.ngSubmit=new v.vpe,St._setValidators(Re),St._setAsyncValidators(Ge),St}return(0,C.Z)(Ce,[{key:"ngOnChanges",value:function(Ge){this._checkFormPresent(),Ge.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}},{key:"ngOnDestroy",value:function(){this.form&&(Cn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"addControl",value:function(Ge){var St=this.form.get(Ge.path);return cn(St,Ge),St.updateValueAndValidity({emitEvent:!1}),this.directives.push(Ge),St}},{key:"getControl",value:function(Ge){return this.form.get(Ge.path)}},{key:"removeControl",value:function(Ge){yn(Ge.control||null,Ge),ze(this.directives,Ge)}},{key:"addFormGroup",value:function(Ge){this._setUpFormContainer(Ge)}},{key:"removeFormGroup",value:function(Ge){this._cleanUpFormContainer(Ge)}},{key:"getFormGroup",value:function(Ge){return this.form.get(Ge.path)}},{key:"addFormArray",value:function(Ge){this._setUpFormContainer(Ge)}},{key:"removeFormArray",value:function(Ge){this._cleanUpFormContainer(Ge)}},{key:"getFormArray",value:function(Ge){return this.form.get(Ge.path)}},{key:"updateModel",value:function(Ge,St){this.form.get(Ge.path).setValue(St)}},{key:"onSubmit",value:function(Ge){return this.submitted=!0,Ne(this.form,this.directives),this.ngSubmit.emit(Ge),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){var Ge=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.form.reset(Ge),this.submitted=!1}},{key:"_updateDomValue",value:function(){var Ge=this;this.directives.forEach(function(St){var ft=St.control,gt=Ge.form.get(St.path);ft!==gt&&(yn(ft||null,St),gt instanceof wi&&(cn(gt,St),St.control=gt))}),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_setUpFormContainer",value:function(Ge){var St=this.form.get(Ge.path);Rt(St,Ge),St.updateValueAndValidity({emitEvent:!1})}},{key:"_cleanUpFormContainer",value:function(Ge){if(this.form){var St=this.form.get(Ge.path);St&&function(re,fe){return Cn(re,fe)}(St,Ge)&&St.updateValueAndValidity({emitEvent:!1})}}},{key:"_updateRegistrations",value:function(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})}},{key:"_updateValidators",value:function(){Yn(this.form,this),this._oldForm&&Cn(this._oldForm,this)}},{key:"_checkFormPresent",value:function(){}}]),Ce}(rn);return re.\u0275fac=function(_e){return new(_e||re)(v.Y36(z,10),v.Y36(J,10))},re.\u0275dir=v.lG2({type:re,selectors:[["","formGroup",""]],hostBindings:function(_e,Ce){1&_e&&v.NdJ("submit",function(Ge){return Ce.onSubmit(Ge)})("reset",function(){return Ce.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[v._Bn([Yi]),v.qOj,v.TTD]}),re}(),fo={provide:kn,useExisting:(0,v.Gpc)(function(){return ha})},ha=function(){var re=function(fe){(0,Z.Z)(Ce,fe);var _e=(0,T.Z)(Ce);function Ce(Re,Ge,St,ft,gt){var Xr;return(0,R.Z)(this,Ce),(Xr=_e.call(this))._ngModelWarningConfig=gt,Xr._added=!1,Xr.update=new v.vpe,Xr._ngModelWarningSent=!1,Xr._parent=Re,Xr._setValidators(Ge),Xr._setAsyncValidators(St),Xr.valueAccessor=Le((0,U.Z)(Xr),ft),Xr}return(0,C.Z)(Ce,[{key:"isDisabled",set:function(Ge){}},{key:"ngOnChanges",value:function(Ge){this._added||this._setUpControl(),he(Ge,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(Ge){this.viewModel=Ge,this.update.emit(Ge)}},{key:"path",get:function(){return nn(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"_checkParentType",value:function(){}},{key:"_setUpControl",value:function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}]),Ce}(kn);return re.\u0275fac=function(_e){return new(_e||re)(v.Y36(rn,13),v.Y36(z,10),v.Y36(J,10),v.Y36(k,10),v.Y36(Ho,8))},re.\u0275dir=v.lG2({type:re,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[v._Bn([fo]),v.qOj,v.TTD]}),re._ngModelWarningSentOnce=!1,re}(),_r={provide:z,useExisting:(0,v.Gpc)(function(){return Da}),multi:!0},Ln={provide:z,useExisting:(0,v.Gpc)(function(){return Ui}),multi:!0},Da=function(){var re=function(){function fe(){(0,R.Z)(this,fe),this._required=!1}return(0,C.Z)(fe,[{key:"required",get:function(){return this._required},set:function(Ce){this._required=null!=Ce&&!1!==Ce&&"false"!=="".concat(Ce),this._onChange&&this._onChange()}},{key:"validate",value:function(Ce){return this.required?ce(Ce):null}},{key:"registerOnValidatorChange",value:function(Ce){this._onChange=Ce}}]),fe}();return re.\u0275fac=function(_e){return new(_e||re)},re.\u0275dir=v.lG2({type:re,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(_e,Ce){2&_e&&v.uIk("required",Ce.required?"":null)},inputs:{required:"required"},features:[v._Bn([_r])]}),re}(),Ui=function(){var re=function(fe){(0,Z.Z)(Ce,fe);var _e=(0,T.Z)(Ce);function Ce(){return(0,R.Z)(this,Ce),_e.apply(this,arguments)}return(0,C.Z)(Ce,[{key:"validate",value:function(Ge){return this.required?le(Ge):null}}]),Ce}(Da);return re.\u0275fac=function(){var fe;return function(Ce){return(fe||(fe=v.n5z(re)))(Ce||re)}}(),re.\u0275dir=v.lG2({type:re,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(_e,Ce){2&_e&&v.uIk("required",Ce.required?"":null)},features:[v._Bn([Ln]),v.qOj]}),re}(),yl=function(){var re=function fe(){(0,R.Z)(this,fe)};return re.\u0275fac=function(_e){return new(_e||re)},re.\u0275mod=v.oAB({type:re}),re.\u0275inj=v.cJS({imports:[[Fi]]}),re}(),bl=function(){var re=function fe(){(0,R.Z)(this,fe)};return re.\u0275fac=function(_e){return new(_e||re)},re.\u0275mod=v.oAB({type:re}),re.\u0275inj=v.cJS({imports:[yl]}),re}(),pe=function(){var re=function(){function fe(){(0,R.Z)(this,fe)}return(0,C.Z)(fe,null,[{key:"withConfig",value:function(Ce){return{ngModule:fe,providers:[{provide:Ho,useValue:Ce.warnOnNgModelWithFormControl}]}}}]),fe}();return re.\u0275fac=function(_e){return new(_e||re)},re.\u0275mod=v.oAB({type:re}),re.\u0275inj=v.cJS({imports:[yl]}),re}();function Fe(re){return void 0!==re.asyncValidators||void 0!==re.validators||void 0!==re.updateOn}var $e=function(){var re=function(){function fe(){(0,R.Z)(this,fe)}return(0,C.Z)(fe,[{key:"group",value:function(Ce){var Re=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,Ge=this._reduceControls(Ce),St=null,ft=null,gt=void 0;return null!=Re&&(Fe(Re)?(St=null!=Re.validators?Re.validators:null,ft=null!=Re.asyncValidators?Re.asyncValidators:null,gt=null!=Re.updateOn?Re.updateOn:void 0):(St=null!=Re.validator?Re.validator:null,ft=null!=Re.asyncValidator?Re.asyncValidator:null)),new ro(Ge,{asyncValidators:ft,updateOn:gt,validators:St})}},{key:"control",value:function(Ce,Re,Ge){return new wi(Ce,Re,Ge)}},{key:"array",value:function(Ce,Re,Ge){var St=this,ft=Ce.map(function(gt){return St._createControl(gt)});return new yi(ft,Re,Ge)}},{key:"_reduceControls",value:function(Ce){var Re=this,Ge={};return Object.keys(Ce).forEach(function(St){Ge[St]=Re._createControl(Ce[St])}),Ge}},{key:"_createControl",value:function(Ce){return Ce instanceof wi||Ce instanceof ro||Ce instanceof yi?Ce:Array.isArray(Ce)?this.control(Ce[0],Ce.length>1?Ce[1]:null,Ce.length>2?Ce[2]:null):this.control(Ce)}}]),fe}();return re.\u0275fac=function(_e){return new(_e||re)},re.\u0275prov=(0,v.Yz7)({factory:function(){return new re},token:re,providedIn:pe}),re}()},59412:function(ue,q,f){"use strict";f.d(q,{yN:function(){return ie},mZ:function(){return te},rD:function(){return rn},K7:function(){return Pn},HF:function(){return nn},Y2:function(){return ct},BQ:function(){return le},X2:function(){return kn},uc:function(){return $n},Nv:function(){return Yn},ey:function(){return cr},Ng:function(){return Lt},nP:function(){return Kt},us:function(){return Yt},wG:function(){return ht},si:function(){return Jt},IR:function(){return ye},CB:function(){return Ut},jH:function(){return Rt},pj:function(){return Ae},Kr:function(){return be},Id:function(){return oe},FD:function(){return qe},dB:function(){return _t},sb:function(){return it},E0:function(){return Nn}}),f(88009),f(20901),f(89200);var Z=f(10509),T=f(97154),R=f(14105),C=f(18967),v=f(65508),P=f(6517),D=f(8392),M=new v.GfV("12.2.8"),A=f(40098),_=f(15427),g=f(78081),k=f(68707),N=f(89797),E=f(57682),x=f(38480),S=f(32819),O=["*",[["mat-option"],["ng-container"]]],L=["*","mat-option, ng-container"];function j(Pe,rt){if(1&Pe&&v._UZ(0,"mat-pseudo-checkbox",4),2&Pe){var he=v.oxw();v.Q6J("state",he.selected?"checked":"unchecked")("disabled",he.disabled)}}function K(Pe,rt){if(1&Pe&&(v.TgZ(0,"span",5),v._uU(1),v.qZA()),2&Pe){var he=v.oxw();v.xp6(1),v.hij("(",he.group.label,")")}}var z=["*"],ie=function(){var Pe=function rt(){(0,C.Z)(this,rt)};return Pe.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",Pe.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",Pe.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",Pe.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",Pe}(),te=function(){var Pe=function rt(){(0,C.Z)(this,rt)};return Pe.COMPLEX="375ms",Pe.ENTERING="225ms",Pe.EXITING="195ms",Pe}(),ae=new v.GfV("12.2.8"),ce=new v.OlP("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),le=function(){var Pe=function(){function rt(he,Ie,Ne){(0,C.Z)(this,rt),this._hasDoneGlobalChecks=!1,this._document=Ne,he._applyBodyHighContrastModeCssClasses(),this._sanityChecks=Ie,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return(0,R.Z)(rt,[{key:"_checkIsEnabled",value:function(Ie){return!(!(0,v.X6Q)()||(0,_.Oy)())&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[Ie])}},{key:"_checkDoctypeIsDefined",value:function(){this._checkIsEnabled("doctype")&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}},{key:"_checkThemeIsPresent",value:function(){if(this._checkIsEnabled("theme")&&this._document.body&&"function"==typeof getComputedStyle){var Ie=this._document.createElement("div");Ie.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(Ie);var Ne=getComputedStyle(Ie);Ne&&"none"!==Ne.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(Ie)}}},{key:"_checkCdkVersionMatch",value:function(){this._checkIsEnabled("version")&&ae.full!==M.full&&console.warn("The Angular Material version ("+ae.full+") does not match the Angular CDK version ("+M.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),rt}();return Pe.\u0275fac=function(he){return new(he||Pe)(v.LFG(P.qm),v.LFG(ce,8),v.LFG(A.K0))},Pe.\u0275mod=v.oAB({type:Pe}),Pe.\u0275inj=v.cJS({imports:[[D.vT],D.vT]}),Pe}();function oe(Pe){return function(rt){(0,Z.Z)(Ie,rt);var he=(0,T.Z)(Ie);function Ie(){var Ne;(0,C.Z)(this,Ie);for(var Le=arguments.length,ze=new Array(Le),At=0;At<Le;At++)ze[At]=arguments[At];return(Ne=he.call.apply(he,[this].concat(ze)))._disabled=!1,Ne}return(0,R.Z)(Ie,[{key:"disabled",get:function(){return this._disabled},set:function(Le){this._disabled=(0,g.Ig)(Le)}}]),Ie}(Pe)}function Ae(Pe,rt){return function(he){(0,Z.Z)(Ne,he);var Ie=(0,T.Z)(Ne);function Ne(){var Le;(0,C.Z)(this,Ne);for(var ze=arguments.length,At=new Array(ze),an=0;an<ze;an++)At[an]=arguments[an];return(Le=Ie.call.apply(Ie,[this].concat(At))).defaultColor=rt,Le.color=rt,Le}return(0,R.Z)(Ne,[{key:"color",get:function(){return this._color},set:function(ze){var At=ze||this.defaultColor;At!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-".concat(this._color)),At&&this._elementRef.nativeElement.classList.add("mat-".concat(At)),this._color=At)}}]),Ne}(Pe)}function be(Pe){return function(rt){(0,Z.Z)(Ie,rt);var he=(0,T.Z)(Ie);function Ie(){var Ne;(0,C.Z)(this,Ie);for(var Le=arguments.length,ze=new Array(Le),At=0;At<Le;At++)ze[At]=arguments[At];return(Ne=he.call.apply(he,[this].concat(ze)))._disableRipple=!1,Ne}return(0,R.Z)(Ie,[{key:"disableRipple",get:function(){return this._disableRipple},set:function(Le){this._disableRipple=(0,g.Ig)(Le)}}]),Ie}(Pe)}function it(Pe){var rt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(he){(0,Z.Z)(Ne,he);var Ie=(0,T.Z)(Ne);function Ne(){var Le;(0,C.Z)(this,Ne);for(var ze=arguments.length,At=new Array(ze),an=0;an<ze;an++)At[an]=arguments[an];return(Le=Ie.call.apply(Ie,[this].concat(At)))._tabIndex=rt,Le.defaultTabIndex=rt,Le}return(0,R.Z)(Ne,[{key:"tabIndex",get:function(){return this.disabled?-1:this._tabIndex},set:function(ze){this._tabIndex=null!=ze?(0,g.su)(ze):this.defaultTabIndex}}]),Ne}(Pe)}function qe(Pe){return function(rt){(0,Z.Z)(Ie,rt);var he=(0,T.Z)(Ie);function Ie(){var Ne;(0,C.Z)(this,Ie);for(var Le=arguments.length,ze=new Array(Le),At=0;At<Le;At++)ze[At]=arguments[At];return(Ne=he.call.apply(he,[this].concat(ze))).stateChanges=new k.xQ,Ne.errorState=!1,Ne}return(0,R.Z)(Ie,[{key:"updateErrorState",value:function(){var Le=this.errorState,qn=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);qn!==Le&&(this.errorState=qn,this.stateChanges.next())}}]),Ie}(Pe)}function _t(Pe){return function(rt){(0,Z.Z)(Ie,rt);var he=(0,T.Z)(Ie);function Ie(){var Ne;(0,C.Z)(this,Ie);for(var Le=arguments.length,ze=new Array(Le),At=0;At<Le;At++)ze[At]=arguments[At];return(Ne=he.call.apply(he,[this].concat(ze)))._isInitialized=!1,Ne._pendingSubscribers=[],Ne.initialized=new N.y(function(an){Ne._isInitialized?Ne._notifySubscriber(an):Ne._pendingSubscribers.push(an)}),Ne}return(0,R.Z)(Ie,[{key:"_markInitialized",value:function(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}},{key:"_notifySubscriber",value:function(Le){Le.next(),Le.complete()}}]),Ie}(Pe)}var rn=function(){var Pe=function(){function rt(){(0,C.Z)(this,rt)}return(0,R.Z)(rt,[{key:"isErrorState",value:function(Ie,Ne){return!!(Ie&&Ie.invalid&&(Ie.touched||Ne&&Ne.submitted))}}]),rt}();return Pe.\u0275fac=function(he){return new(he||Pe)},Pe.\u0275prov=v.Yz7({factory:function(){return new Pe},token:Pe,providedIn:"root"}),Pe}(),kn=function(){var Pe=function rt(){(0,C.Z)(this,rt)};return Pe.\u0275fac=function(he){return new(he||Pe)},Pe.\u0275dir=v.lG2({type:Pe,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),Pe}();function Nn(Pe,rt){var he=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat";Pe.changes.pipe((0,E.O)(Pe)).subscribe(function(Ie){var Ne=Ie.length;In(rt,"".concat(he,"-2-line"),!1),In(rt,"".concat(he,"-3-line"),!1),In(rt,"".concat(he,"-multi-line"),!1),2===Ne||3===Ne?In(rt,"".concat(he,"-").concat(Ne,"-line"),!0):Ne>3&&In(rt,"".concat(he,"-multi-line"),!0)})}function In(Pe,rt,he){var Ie=Pe.nativeElement.classList;he?Ie.add(rt):Ie.remove(rt)}var $n=function(){var Pe=function rt(){(0,C.Z)(this,rt)};return Pe.\u0275fac=function(he){return new(he||Pe)},Pe.\u0275mod=v.oAB({type:Pe}),Pe.\u0275inj=v.cJS({imports:[[le],le]}),Pe}(),Rn=function(){function Pe(rt,he,Ie){(0,C.Z)(this,Pe),this._renderer=rt,this.element=he,this.config=Ie,this.state=3}return(0,R.Z)(Pe,[{key:"fadeOut",value:function(){this._renderer.fadeOutRipple(this)}}]),Pe}(),wn={enterDuration:225,exitDuration:150},ut=(0,_.i$)({passive:!0}),He=["mousedown","touchstart"],ve=["mouseup","mouseleave","touchend","touchcancel"],ye=function(){function Pe(rt,he,Ie,Ne){(0,C.Z)(this,Pe),this._target=rt,this._ngZone=he,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,Ne.isBrowser&&(this._containerElement=(0,g.fI)(Ie))}return(0,R.Z)(Pe,[{key:"fadeInRipple",value:function(he,Ie){var Ne=this,Le=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},ze=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),At=Object.assign(Object.assign({},wn),Le.animation);Le.centered&&(he=ze.left+ze.width/2,Ie=ze.top+ze.height/2);var an=Le.radius||we(he,Ie,ze),qn=he-ze.left,Nr=Ie-ze.top,qr=At.enterDuration,br=document.createElement("div");br.classList.add("mat-ripple-element"),br.style.left="".concat(qn-an,"px"),br.style.top="".concat(Nr-an,"px"),br.style.height="".concat(2*an,"px"),br.style.width="".concat(2*an,"px"),null!=Le.color&&(br.style.backgroundColor=Le.color),br.style.transitionDuration="".concat(qr,"ms"),this._containerElement.appendChild(br),Te(br),br.style.transform="scale(1)";var Qr=new Rn(this,br,Le);return Qr.state=0,this._activeRipples.add(Qr),Le.persistent||(this._mostRecentTransientRipple=Qr),this._runTimeoutOutsideZone(function(){var uo=Qr===Ne._mostRecentTransientRipple;Qr.state=1,!Le.persistent&&(!uo||!Ne._isPointerDown)&&Qr.fadeOut()},qr),Qr}},{key:"fadeOutRipple",value:function(he){var Ie=this._activeRipples.delete(he);if(he===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),Ie){var Ne=he.element,Le=Object.assign(Object.assign({},wn),he.config.animation);Ne.style.transitionDuration="".concat(Le.exitDuration,"ms"),Ne.style.opacity="0",he.state=2,this._runTimeoutOutsideZone(function(){he.state=3,Ne.parentNode.removeChild(Ne)},Le.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach(function(he){return he.fadeOut()})}},{key:"fadeOutAllNonPersistent",value:function(){this._activeRipples.forEach(function(he){he.config.persistent||he.fadeOut()})}},{key:"setupTriggerEvents",value:function(he){var Ie=(0,g.fI)(he);!Ie||Ie===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Ie,this._registerEvents(He))}},{key:"handleEvent",value:function(he){"mousedown"===he.type?this._onMousedown(he):"touchstart"===he.type?this._onTouchStart(he):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(ve),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(he){var Ie=(0,P.X6)(he),Ne=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!Ie&&!Ne&&(this._isPointerDown=!0,this.fadeInRipple(he.clientX,he.clientY,this._target.rippleConfig))}},{key:"_onTouchStart",value:function(he){if(!this._target.rippleDisabled&&!(0,P.yG)(he)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;for(var Ie=he.changedTouches,Ne=0;Ne<Ie.length;Ne++)this.fadeInRipple(Ie[Ne].clientX,Ie[Ne].clientY,this._target.rippleConfig)}}},{key:"_onPointerUp",value:function(){!this._isPointerDown||(this._isPointerDown=!1,this._activeRipples.forEach(function(he){!he.config.persistent&&(1===he.state||he.config.terminateOnPointerUp&&0===he.state)&&he.fadeOut()}))}},{key:"_runTimeoutOutsideZone",value:function(he){var Ie=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular(function(){return setTimeout(he,Ie)})}},{key:"_registerEvents",value:function(he){var Ie=this;this._ngZone.runOutsideAngular(function(){he.forEach(function(Ne){Ie._triggerElement.addEventListener(Ne,Ie,ut)})})}},{key:"_removeTriggerEvents",value:function(){var he=this;this._triggerElement&&(He.forEach(function(Ie){he._triggerElement.removeEventListener(Ie,he,ut)}),this._pointerUpEventsRegistered&&ve.forEach(function(Ie){he._triggerElement.removeEventListener(Ie,he,ut)}))}}]),Pe}();function Te(Pe){window.getComputedStyle(Pe).getPropertyValue("opacity")}function we(Pe,rt,he){var Ie=Math.max(Math.abs(Pe-he.left),Math.abs(Pe-he.right)),Ne=Math.max(Math.abs(rt-he.top),Math.abs(rt-he.bottom));return Math.sqrt(Ie*Ie+Ne*Ne)}var ct=new v.OlP("mat-ripple-global-options"),ht=function(){var Pe=function(){function rt(he,Ie,Ne,Le,ze){(0,C.Z)(this,rt),this._elementRef=he,this._animationMode=ze,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Le||{},this._rippleRenderer=new ye(this,Ie,he,Ne)}return(0,R.Z)(rt,[{key:"disabled",get:function(){return this._disabled},set:function(Ie){Ie&&this.fadeOutAllNonPersistent(),this._disabled=Ie,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(Ie){this._trigger=Ie,this._setupTriggerEventsIfEnabled()}},{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"fadeOutAllNonPersistent",value:function(){this._rippleRenderer.fadeOutAllNonPersistent()}},{key:"rippleConfig",get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(Ie){var Ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,Le=arguments.length>2?arguments[2]:void 0;return"number"==typeof Ie?this._rippleRenderer.fadeInRipple(Ie,Ne,Object.assign(Object.assign({},this.rippleConfig),Le)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),Ie))}}]),rt}();return Pe.\u0275fac=function(he){return new(he||Pe)(v.Y36(v.SBq),v.Y36(v.R0b),v.Y36(_.t4),v.Y36(ct,8),v.Y36(x.Qb,8))},Pe.\u0275dir=v.lG2({type:Pe,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(he,Ie){2&he&&v.ekj("mat-ripple-unbounded",Ie.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),Pe}(),Jt=function(){var Pe=function rt(){(0,C.Z)(this,rt)};return Pe.\u0275fac=function(he){return new(he||Pe)},Pe.\u0275mod=v.oAB({type:Pe}),Pe.\u0275inj=v.cJS({imports:[[le,_.ud],le]}),Pe}(),Kt=function(){var Pe=function rt(he){(0,C.Z)(this,rt),this._animationMode=he,this.state="unchecked",this.disabled=!1};return Pe.\u0275fac=function(he){return new(he||Pe)(v.Y36(x.Qb,8))},Pe.\u0275cmp=v.Xpm({type:Pe,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(he,Ie){2&he&&v.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===Ie.state)("mat-pseudo-checkbox-checked","checked"===Ie.state)("mat-pseudo-checkbox-disabled",Ie.disabled)("_mat-animation-noopable","NoopAnimations"===Ie._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(he,Ie){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),Pe}(),Yt=function(){var Pe=function rt(){(0,C.Z)(this,rt)};return Pe.\u0275fac=function(he){return new(he||Pe)},Pe.\u0275mod=v.oAB({type:Pe}),Pe.\u0275inj=v.cJS({imports:[[le]]}),Pe}(),nn=new v.OlP("MAT_OPTION_PARENT_COMPONENT"),cn=oe(function(){return function Pe(){(0,C.Z)(this,Pe)}}()),yn=0,Tn=function(){var Pe=function(rt){(0,Z.Z)(Ie,rt);var he=(0,T.Z)(Ie);function Ie(Ne){var Le,ze;return(0,C.Z)(this,Ie),(Le=he.call(this))._labelId="mat-optgroup-label-".concat(yn++),Le._inert=null!==(ze=null==Ne?void 0:Ne.inertGroups)&&void 0!==ze&&ze,Le}return Ie}(cn);return Pe.\u0275fac=function(he){return new(he||Pe)(v.Y36(nn,8))},Pe.\u0275dir=v.lG2({type:Pe,inputs:{label:"label"},features:[v.qOj]}),Pe}(),Pn=new v.OlP("MatOptgroup"),Yn=function(){var Pe=function(rt){(0,Z.Z)(Ie,rt);var he=(0,T.Z)(Ie);function Ie(){return(0,C.Z)(this,Ie),he.apply(this,arguments)}return Ie}(Tn);return Pe.\u0275fac=function(){var rt;return function(Ie){return(rt||(rt=v.n5z(Pe)))(Ie||Pe)}}(),Pe.\u0275cmp=v.Xpm({type:Pe,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-optgroup"],hostVars:5,hostBindings:function(he,Ie){2&he&&(v.uIk("role",Ie._inert?null:"group")("aria-disabled",Ie._inert?null:Ie.disabled.toString())("aria-labelledby",Ie._inert?null:Ie._labelId),v.ekj("mat-optgroup-disabled",Ie.disabled))},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[v._Bn([{provide:Pn,useExisting:Pe}]),v.qOj],ngContentSelectors:L,decls:4,vars:2,consts:[["aria-hidden","true",1,"mat-optgroup-label",3,"id"]],template:function(he,Ie){1&he&&(v.F$t(O),v.TgZ(0,"span",0),v._uU(1),v.Hsn(2),v.qZA(),v.Hsn(3,1)),2&he&&(v.Q6J("id",Ie._labelId),v.xp6(1),v.hij("",Ie.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),Pe}(),Cn=0,Sn=function Pe(rt){var he=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(0,C.Z)(this,Pe),this.source=rt,this.isUserInput=he},tr=function(){var Pe=function(){function rt(he,Ie,Ne,Le){(0,C.Z)(this,rt),this._element=he,this._changeDetectorRef=Ie,this._parent=Ne,this.group=Le,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-".concat(Cn++),this.onSelectionChange=new v.vpe,this._stateChanges=new k.xQ}return(0,R.Z)(rt,[{key:"multiple",get:function(){return this._parent&&this._parent.multiple}},{key:"selected",get:function(){return this._selected}},{key:"disabled",get:function(){return this.group&&this.group.disabled||this._disabled},set:function(Ie){this._disabled=(0,g.Ig)(Ie)}},{key:"disableRipple",get:function(){return this._parent&&this._parent.disableRipple}},{key:"active",get:function(){return this._active}},{key:"viewValue",get:function(){return(this._getHostElement().textContent||"").trim()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"focus",value:function(Ie,Ne){var Le=this._getHostElement();"function"==typeof Le.focus&&Le.focus(Ne)}},{key:"setActiveStyles",value:function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}},{key:"setInactiveStyles",value:function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}},{key:"getLabel",value:function(){return this.viewValue}},{key:"_handleKeydown",value:function(Ie){(Ie.keyCode===S.K5||Ie.keyCode===S.L_)&&!(0,S.Vb)(Ie)&&(this._selectViaInteraction(),Ie.preventDefault())}},{key:"_selectViaInteraction",value:function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}},{key:"_getAriaSelected",value:function(){return this.selected||!this.multiple&&null}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"ngAfterViewChecked",value:function(){if(this._selected){var Ie=this.viewValue;Ie!==this._mostRecentViewValue&&(this._mostRecentViewValue=Ie,this._stateChanges.next())}}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_emitSelectionChangeEvent",value:function(){var Ie=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.onSelectionChange.emit(new Sn(this,Ie))}}]),rt}();return Pe.\u0275fac=function(he){return new(he||Pe)(v.Y36(v.SBq),v.Y36(v.sBO),v.Y36(void 0),v.Y36(Tn))},Pe.\u0275dir=v.lG2({type:Pe,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),Pe}(),cr=function(){var Pe=function(rt){(0,Z.Z)(Ie,rt);var he=(0,T.Z)(Ie);function Ie(Ne,Le,ze,At){return(0,C.Z)(this,Ie),he.call(this,Ne,Le,ze,At)}return Ie}(tr);return Pe.\u0275fac=function(he){return new(he||Pe)(v.Y36(v.SBq),v.Y36(v.sBO),v.Y36(nn,8),v.Y36(Pn,8))},Pe.\u0275cmp=v.Xpm({type:Pe,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(he,Ie){1&he&&v.NdJ("click",function(){return Ie._selectViaInteraction()})("keydown",function(Le){return Ie._handleKeydown(Le)}),2&he&&(v.Ikx("id",Ie.id),v.uIk("tabindex",Ie._getTabIndex())("aria-selected",Ie._getAriaSelected())("aria-disabled",Ie.disabled.toString()),v.ekj("mat-selected",Ie.selected)("mat-option-multiple",Ie.multiple)("mat-active",Ie.active)("mat-option-disabled",Ie.disabled))},exportAs:["matOption"],features:[v.qOj],ngContentSelectors:z,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(he,Ie){1&he&&(v.F$t(),v.YNc(0,j,1,2,"mat-pseudo-checkbox",0),v.TgZ(1,"span",1),v.Hsn(2),v.qZA(),v.YNc(3,K,2,1,"span",2),v._UZ(4,"div",3)),2&he&&(v.Q6J("ngIf",Ie.multiple),v.xp6(3),v.Q6J("ngIf",Ie.group&&Ie.group._inert),v.xp6(1),v.Q6J("matRippleTrigger",Ie._getHostElement())("matRippleDisabled",Ie.disabled||Ie.disableRipple))},directives:[A.O5,ht,Kt],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),Pe}();function Ut(Pe,rt,he){if(he.length){for(var Ie=rt.toArray(),Ne=he.toArray(),Le=0,ze=0;ze<Pe+1;ze++)Ie[ze].group&&Ie[ze].group===Ne[Le]&&Le++;return Le}return 0}function Rt(Pe,rt,he,Ie){return Pe<he?Pe:Pe+rt>he+Ie?Math.max(0,Pe-Ie+rt):he}var Lt=function(){var Pe=function rt(){(0,C.Z)(this,rt)};return Pe.\u0275fac=function(he){return new(he||Pe)},Pe.\u0275mod=v.oAB({type:Pe}),Pe.\u0275inj=v.cJS({imports:[[Jt,A.ez,le,Yt]]}),Pe}()},93386:function(ue,q,f){"use strict";f.d(q,{d:function(){return R},t:function(){return C}});var U=f(18967),B=f(14105),V=f(78081),Z=f(59412),T=f(65508),R=function(){var v=function(){function P(){(0,U.Z)(this,P),this._vertical=!1,this._inset=!1}return(0,B.Z)(P,[{key:"vertical",get:function(){return this._vertical},set:function(M){this._vertical=(0,V.Ig)(M)}},{key:"inset",get:function(){return this._inset},set:function(M){this._inset=(0,V.Ig)(M)}}]),P}();return v.\u0275fac=function(D){return new(D||v)},v.\u0275cmp=T.Xpm({type:v,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(D,M){2&D&&(T.uIk("aria-orientation",M.vertical?"vertical":"horizontal"),T.ekj("mat-divider-vertical",M.vertical)("mat-divider-horizontal",!M.vertical)("mat-divider-inset",M.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(D,M){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),v}(),C=function(){var v=function P(){(0,U.Z)(this,P)};return v.\u0275fac=function(D){return new(D||v)},v.\u0275mod=T.oAB({type:v}),v.\u0275inj=T.cJS({imports:[[Z.BQ],Z.BQ]}),v}()},36410:function(ue,q,f){"use strict";f.d(q,{G_:function(){return Rn},TO:function(){return xe},KE:function(){return wn},Eo:function(){return je},lN:function(){return yr},hX:function(){return Ht},R9:function(){return Nt}});var U=f(10629),B=f(14105),V=f(10509),Z=f(97154),T=f(18967),R=f(96798),C=f(40098),v=f(65508),P=f(59412),D=f(78081),M=f(68707),A=f(55371),_=f(33090),g=f(57682),k=f(44213),N=f(48359),E=f(739),x=f(38480),S=f(8392),O=f(15427),L=["underline"],j=["connectionContainer"],K=["inputContainer"],z=["label"];function J(ut,He){1&ut&&(v.ynx(0),v.TgZ(1,"div",14),v._UZ(2,"div",15),v._UZ(3,"div",16),v._UZ(4,"div",17),v.qZA(),v.TgZ(5,"div",18),v._UZ(6,"div",15),v._UZ(7,"div",16),v._UZ(8,"div",17),v.qZA(),v.BQk())}function ie(ut,He){1&ut&&(v.TgZ(0,"div",19),v.Hsn(1,1),v.qZA())}function te(ut,He){if(1&ut&&(v.ynx(0),v.Hsn(1,2),v.TgZ(2,"span"),v._uU(3),v.qZA(),v.BQk()),2&ut){var ve=v.oxw(2);v.xp6(3),v.Oqu(ve._control.placeholder)}}function ae(ut,He){1&ut&&v.Hsn(0,3,["*ngSwitchCase","true"])}function se(ut,He){1&ut&&(v.TgZ(0,"span",23),v._uU(1," *"),v.qZA())}function ce(ut,He){if(1&ut){var ve=v.EpF();v.TgZ(0,"label",20,21),v.NdJ("cdkObserveContent",function(){return v.CHM(ve),v.oxw().updateOutlineGap()}),v.YNc(2,te,4,1,"ng-container",12),v.YNc(3,ae,1,0,"ng-content",12),v.YNc(4,se,2,0,"span",22),v.qZA()}if(2&ut){var ye=v.oxw();v.ekj("mat-empty",ye._control.empty&&!ye._shouldAlwaysFloat())("mat-form-field-empty",ye._control.empty&&!ye._shouldAlwaysFloat())("mat-accent","accent"==ye.color)("mat-warn","warn"==ye.color),v.Q6J("cdkObserveContentDisabled","outline"!=ye.appearance)("id",ye._labelId)("ngSwitch",ye._hasLabel()),v.uIk("for",ye._control.id)("aria-owns",ye._control.id),v.xp6(2),v.Q6J("ngSwitchCase",!1),v.xp6(1),v.Q6J("ngSwitchCase",!0),v.xp6(1),v.Q6J("ngIf",!ye.hideRequiredMarker&&ye._control.required&&!ye._control.disabled)}}function le(ut,He){1&ut&&(v.TgZ(0,"div",24),v.Hsn(1,4),v.qZA())}function oe(ut,He){if(1&ut&&(v.TgZ(0,"div",25,26),v._UZ(2,"span",27),v.qZA()),2&ut){var ve=v.oxw();v.xp6(2),v.ekj("mat-accent","accent"==ve.color)("mat-warn","warn"==ve.color)}}function Ae(ut,He){if(1&ut&&(v.TgZ(0,"div"),v.Hsn(1,5),v.qZA()),2&ut){var ve=v.oxw();v.Q6J("@transitionMessages",ve._subscriptAnimationState)}}function be(ut,He){if(1&ut&&(v.TgZ(0,"div",31),v._uU(1),v.qZA()),2&ut){var ve=v.oxw(2);v.Q6J("id",ve._hintLabelId),v.xp6(1),v.Oqu(ve.hintLabel)}}function it(ut,He){if(1&ut&&(v.TgZ(0,"div",28),v.YNc(1,be,2,2,"div",29),v.Hsn(2,6),v._UZ(3,"div",30),v.Hsn(4,7),v.qZA()),2&ut){var ve=v.oxw();v.Q6J("@transitionMessages",ve._subscriptAnimationState),v.xp6(1),v.Q6J("ngIf",ve.hintLabel)}}var qe=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],_t=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],yt=0,Ft=new v.OlP("MatError"),xe=function(){var ut=function He(ve,ye){(0,T.Z)(this,He),this.id="mat-error-".concat(yt++),ve||ye.nativeElement.setAttribute("aria-live","polite")};return ut.\u0275fac=function(ve){return new(ve||ut)(v.$8M("aria-live"),v.Y36(v.SBq))},ut.\u0275dir=v.lG2({type:ut,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(ve,ye){2&ve&&v.uIk("id",ye.id)},inputs:{id:"id"},features:[v._Bn([{provide:Ft,useExisting:ut}])]}),ut}(),Oe={transitionMessages:(0,E.X$)("transitionMessages",[(0,E.SB)("enter",(0,E.oB)({opacity:1,transform:"translateY(0%)"})),(0,E.eR)("void => enter",[(0,E.oB)({opacity:0,transform:"translateY(-5px)"}),(0,E.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},je=function(){var ut=function He(){(0,T.Z)(this,He)};return ut.\u0275fac=function(ve){return new(ve||ut)},ut.\u0275dir=v.lG2({type:ut}),ut}(),vt=new v.OlP("MatHint"),Ht=function(){var ut=function He(){(0,T.Z)(this,He)};return ut.\u0275fac=function(ve){return new(ve||ut)},ut.\u0275dir=v.lG2({type:ut,selectors:[["mat-label"]]}),ut}(),Ct=function(){var ut=function He(){(0,T.Z)(this,He)};return ut.\u0275fac=function(ve){return new(ve||ut)},ut.\u0275dir=v.lG2({type:ut,selectors:[["mat-placeholder"]]}),ut}(),Vt=new v.OlP("MatPrefix"),en=new v.OlP("MatSuffix"),Nt=function(){var ut=function He(){(0,T.Z)(this,He)};return ut.\u0275fac=function(ve){return new(ve||ut)},ut.\u0275dir=v.lG2({type:ut,selectors:[["","matSuffix",""]],features:[v._Bn([{provide:en,useExisting:ut}])]}),ut}(),rn=0,In=(0,P.pj)(function(){return function ut(He){(0,T.Z)(this,ut),this._elementRef=He}}(),"primary"),$n=new v.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Rn=new v.OlP("MatFormField"),wn=function(){var ut=function(He){(0,V.Z)(ye,He);var ve=(0,Z.Z)(ye);function ye(Te,we,ct,ht,Jt,Kt,Yt,nn){var cn;return(0,T.Z)(this,ye),(cn=ve.call(this,Te))._changeDetectorRef=we,cn._dir=ht,cn._defaults=Jt,cn._platform=Kt,cn._ngZone=Yt,cn._outlineGapCalculationNeededImmediately=!1,cn._outlineGapCalculationNeededOnStable=!1,cn._destroyed=new M.xQ,cn._showAlwaysAnimate=!1,cn._subscriptAnimationState="",cn._hintLabel="",cn._hintLabelId="mat-hint-".concat(rn++),cn._labelId="mat-form-field-label-".concat(rn++),cn.floatLabel=cn._getDefaultFloatLabelState(),cn._animationsEnabled="NoopAnimations"!==nn,cn.appearance=Jt&&Jt.appearance?Jt.appearance:"legacy",cn._hideRequiredMarker=!(!Jt||null==Jt.hideRequiredMarker)&&Jt.hideRequiredMarker,cn}return(0,B.Z)(ye,[{key:"appearance",get:function(){return this._appearance},set:function(we){var ct=this._appearance;this._appearance=we||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&ct!==we&&(this._outlineGapCalculationNeededOnStable=!0)}},{key:"hideRequiredMarker",get:function(){return this._hideRequiredMarker},set:function(we){this._hideRequiredMarker=(0,D.Ig)(we)}},{key:"_shouldAlwaysFloat",value:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}},{key:"_canLabelFloat",value:function(){return"never"!==this.floatLabel}},{key:"hintLabel",get:function(){return this._hintLabel},set:function(we){this._hintLabel=we,this._processHints()}},{key:"floatLabel",get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(we){we!==this._floatLabel&&(this._floatLabel=we||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}},{key:"_control",get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(we){this._explicitFormFieldControl=we}},{key:"getLabelId",value:function(){return this._hasFloatingLabel()?this._labelId:null}},{key:"getConnectedOverlayOrigin",value:function(){return this._connectionContainerRef||this._elementRef}},{key:"ngAfterContentInit",value:function(){var we=this;this._validateControlChild();var ct=this._control;ct.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-".concat(ct.controlType)),ct.stateChanges.pipe((0,g.O)(null)).subscribe(function(){we._validatePlaceholders(),we._syncDescribedByIds(),we._changeDetectorRef.markForCheck()}),ct.ngControl&&ct.ngControl.valueChanges&&ct.ngControl.valueChanges.pipe((0,k.R)(this._destroyed)).subscribe(function(){return we._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){we._ngZone.onStable.pipe((0,k.R)(we._destroyed)).subscribe(function(){we._outlineGapCalculationNeededOnStable&&we.updateOutlineGap()})}),(0,A.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){we._outlineGapCalculationNeededOnStable=!0,we._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,g.O)(null)).subscribe(function(){we._processHints(),we._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,g.O)(null)).subscribe(function(){we._syncDescribedByIds(),we._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,k.R)(this._destroyed)).subscribe(function(){"function"==typeof requestAnimationFrame?we._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return we.updateOutlineGap()})}):we.updateOutlineGap()})}},{key:"ngAfterContentChecked",value:function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}},{key:"ngAfterViewInit",value:function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_shouldForward",value:function(we){var ct=this._control?this._control.ngControl:null;return ct&&ct[we]}},{key:"_hasPlaceholder",value:function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}},{key:"_hasLabel",value:function(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}},{key:"_hideControlPlaceholder",value:function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}},{key:"_hasFloatingLabel",value:function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}},{key:"_getDisplayedMessages",value:function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}},{key:"_animateAndLockLabel",value:function(){var we=this;this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,_.R)(this._label.nativeElement,"transitionend").pipe((0,N.q)(1)).subscribe(function(){we._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var we=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&we.push.apply(we,(0,U.Z)(this._control.userAriaDescribedBy.split(" "))),"hint"===this._getDisplayedMessages()){var ct=this._hintChildren?this._hintChildren.find(function(Jt){return"start"===Jt.align}):null,ht=this._hintChildren?this._hintChildren.find(function(Jt){return"end"===Jt.align}):null;ct?we.push(ct.id):this._hintLabel&&we.push(this._hintLabelId),ht&&we.push(ht.id)}else this._errorChildren&&we.push.apply(we,(0,U.Z)(this._errorChildren.map(function(Jt){return Jt.id})));this._control.setDescribedByIds(we)}}},{key:"_validateControlChild",value:function(){}},{key:"updateOutlineGap",value:function(){var we=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&we&&we.children.length&&we.textContent.trim()&&this._platform.isBrowser){if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);var ct=0,ht=0,Jt=this._connectionContainerRef.nativeElement,Kt=Jt.querySelectorAll(".mat-form-field-outline-start"),Yt=Jt.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var nn=Jt.getBoundingClientRect();if(0===nn.width&&0===nn.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var cn=this._getStartEnd(nn),yn=we.children,Tn=this._getStartEnd(yn[0].getBoundingClientRect()),Pn=0,Yn=0;Yn<yn.length;Yn++)Pn+=yn[Yn].offsetWidth;ct=Math.abs(Tn-cn)-5,ht=Pn>0?.75*Pn+10:0}for(var Cn=0;Cn<Kt.length;Cn++)Kt[Cn].style.width="".concat(ct,"px");for(var Sn=0;Sn<Yt.length;Sn++)Yt[Sn].style.width="".concat(ht,"px");this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}}},{key:"_getStartEnd",value:function(we){return this._dir&&"rtl"===this._dir.value?we.right:we.left}},{key:"_isAttachedToDOM",value:function(){var we=this._elementRef.nativeElement;if(we.getRootNode){var ct=we.getRootNode();return ct&&ct!==we}return document.documentElement.contains(we)}}]),ye}(In);return ut.\u0275fac=function(ve){return new(ve||ut)(v.Y36(v.SBq),v.Y36(v.sBO),v.Y36(v.SBq),v.Y36(S.Is,8),v.Y36($n,8),v.Y36(O.t4),v.Y36(v.R0b),v.Y36(x.Qb,8))},ut.\u0275cmp=v.Xpm({type:ut,selectors:[["mat-form-field"]],contentQueries:function(ve,ye,Te){var we;1&ve&&(v.Suo(Te,je,5),v.Suo(Te,je,7),v.Suo(Te,Ht,5),v.Suo(Te,Ht,7),v.Suo(Te,Ct,5),v.Suo(Te,Ft,5),v.Suo(Te,vt,5),v.Suo(Te,Vt,5),v.Suo(Te,en,5)),2&ve&&(v.iGM(we=v.CRH())&&(ye._controlNonStatic=we.first),v.iGM(we=v.CRH())&&(ye._controlStatic=we.first),v.iGM(we=v.CRH())&&(ye._labelChildNonStatic=we.first),v.iGM(we=v.CRH())&&(ye._labelChildStatic=we.first),v.iGM(we=v.CRH())&&(ye._placeholderChild=we.first),v.iGM(we=v.CRH())&&(ye._errorChildren=we),v.iGM(we=v.CRH())&&(ye._hintChildren=we),v.iGM(we=v.CRH())&&(ye._prefixChildren=we),v.iGM(we=v.CRH())&&(ye._suffixChildren=we))},viewQuery:function(ve,ye){var Te;1&ve&&(v.Gf(L,5),v.Gf(j,7),v.Gf(K,5),v.Gf(z,5)),2&ve&&(v.iGM(Te=v.CRH())&&(ye.underlineRef=Te.first),v.iGM(Te=v.CRH())&&(ye._connectionContainerRef=Te.first),v.iGM(Te=v.CRH())&&(ye._inputContainerRef=Te.first),v.iGM(Te=v.CRH())&&(ye._label=Te.first))},hostAttrs:[1,"mat-form-field"],hostVars:40,hostBindings:function(ve,ye){2&ve&&v.ekj("mat-form-field-appearance-standard","standard"==ye.appearance)("mat-form-field-appearance-fill","fill"==ye.appearance)("mat-form-field-appearance-outline","outline"==ye.appearance)("mat-form-field-appearance-legacy","legacy"==ye.appearance)("mat-form-field-invalid",ye._control.errorState)("mat-form-field-can-float",ye._canLabelFloat())("mat-form-field-should-float",ye._shouldLabelFloat())("mat-form-field-has-label",ye._hasFloatingLabel())("mat-form-field-hide-placeholder",ye._hideControlPlaceholder())("mat-form-field-disabled",ye._control.disabled)("mat-form-field-autofilled",ye._control.autofilled)("mat-focused",ye._control.focused)("ng-untouched",ye._shouldForward("untouched"))("ng-touched",ye._shouldForward("touched"))("ng-pristine",ye._shouldForward("pristine"))("ng-dirty",ye._shouldForward("dirty"))("ng-valid",ye._shouldForward("valid"))("ng-invalid",ye._shouldForward("invalid"))("ng-pending",ye._shouldForward("pending"))("_mat-animation-noopable",!ye._animationsEnabled)},inputs:{color:"color",floatLabel:"floatLabel",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[v._Bn([{provide:Rn,useExisting:ut}]),v.qOj],ngContentSelectors:_t,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],["underline",""],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(ve,ye){1&ve&&(v.F$t(qe),v.TgZ(0,"div",0),v.TgZ(1,"div",1,2),v.NdJ("click",function(we){return ye._control.onContainerClick&&ye._control.onContainerClick(we)}),v.YNc(3,J,9,0,"ng-container",3),v.YNc(4,ie,2,0,"div",4),v.TgZ(5,"div",5,6),v.Hsn(7),v.TgZ(8,"span",7),v.YNc(9,ce,5,16,"label",8),v.qZA(),v.qZA(),v.YNc(10,le,2,0,"div",9),v.qZA(),v.YNc(11,oe,3,4,"div",10),v.TgZ(12,"div",11),v.YNc(13,Ae,2,1,"div",12),v.YNc(14,it,5,2,"div",13),v.qZA(),v.qZA()),2&ve&&(v.xp6(3),v.Q6J("ngIf","outline"==ye.appearance),v.xp6(1),v.Q6J("ngIf",ye._prefixChildren.length),v.xp6(5),v.Q6J("ngIf",ye._hasFloatingLabel()),v.xp6(1),v.Q6J("ngIf",ye._suffixChildren.length),v.xp6(1),v.Q6J("ngIf","outline"!=ye.appearance),v.xp6(1),v.Q6J("ngSwitch",ye._getDisplayedMessages()),v.xp6(1),v.Q6J("ngSwitchCase","error"),v.xp6(1),v.Q6J("ngSwitchCase","hint"))},directives:[C.O5,C.RF,C.n9,R.wD],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:none}.mat-focused .cdk-high-contrast-active select.mat-input-element::-ms-value{color:inherit}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[Oe.transitionMessages]},changeDetection:0}),ut}(),yr=function(){var ut=function He(){(0,T.Z)(this,He)};return ut.\u0275fac=function(ve){return new(ve||ut)},ut.\u0275mod=v.oAB({type:ut}),ut.\u0275inj=v.cJS({imports:[[C.ez,P.BQ,R.Q8],P.BQ]}),ut}()},73044:function(ue,q,f){"use strict";f.d(q,{gD:function(){return wn},LD:function(){return yr}});var U=f(20901),B=f(89200),V=f(10629),Z=f(14105),T=f(88009),R=f(10509),C=f(97154),v=f(18967),P=f(93889),D=f(40098),M=f(65508),A=f(59412),_=f(36410),g=f(28722),k=f(6517),N=f(78081),E=f(37429),x=f(32819),S=f(68707),O=f(4499),L=f(55371),j=f(57682),K=f(34487),z=f(48359),J=f(58780),ie=f(85639),te=f(76161),ae=f(44213),se=f(739),ce=f(8392),le=f(19061),oe=["trigger"],Ae=["panel"];function be(ut,He){if(1&ut&&(M.TgZ(0,"span",8),M._uU(1),M.qZA()),2&ut){var ve=M.oxw();M.xp6(1),M.Oqu(ve.placeholder)}}function it(ut,He){if(1&ut&&(M.TgZ(0,"span",12),M._uU(1),M.qZA()),2&ut){var ve=M.oxw(2);M.xp6(1),M.Oqu(ve.triggerValue)}}function qe(ut,He){1&ut&&M.Hsn(0,0,["*ngSwitchCase","true"])}function _t(ut,He){if(1&ut&&(M.TgZ(0,"span",9),M.YNc(1,it,2,1,"span",10),M.YNc(2,qe,1,0,"ng-content",11),M.qZA()),2&ut){var ve=M.oxw();M.Q6J("ngSwitch",!!ve.customTrigger),M.xp6(2),M.Q6J("ngSwitchCase",!0)}}function yt(ut,He){if(1&ut){var ve=M.EpF();M.TgZ(0,"div",13),M.TgZ(1,"div",14,15),M.NdJ("@transformPanel.done",function(we){return M.CHM(ve),M.oxw()._panelDoneAnimatingStream.next(we.toState)})("keydown",function(we){return M.CHM(ve),M.oxw()._handleKeydown(we)}),M.Hsn(3,1),M.qZA(),M.qZA()}if(2&ut){var ye=M.oxw();M.Q6J("@transformPanelWrap",void 0),M.xp6(1),M.Gre("mat-select-panel ",ye._getPanelTheme(),""),M.Udp("transform-origin",ye._transformOrigin)("font-size",ye._triggerFontSize,"px"),M.Q6J("ngClass",ye.panelClass)("@transformPanel",ye.multiple?"showing-multiple":"showing"),M.uIk("id",ye.id+"-panel")("aria-multiselectable",ye.multiple)("aria-label",ye.ariaLabel||null)("aria-labelledby",ye._getPanelAriaLabelledby())}}var Ft=[[["mat-select-trigger"]],"*"],xe=["mat-select-trigger","*"],Oe={transformPanelWrap:(0,se.X$)("transformPanelWrap",[(0,se.eR)("* => void",(0,se.IO)("@transformPanel",[(0,se.pV)()],{optional:!0}))]),transformPanel:(0,se.X$)("transformPanel",[(0,se.SB)("void",(0,se.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,se.SB)("showing",(0,se.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,se.SB)("showing-multiple",(0,se.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,se.eR)("void => *",(0,se.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,se.eR)("* => void",(0,se.jt)("100ms 25ms linear",(0,se.oB)({opacity:0})))])},Bt=0,bt=new M.OlP("mat-select-scroll-strategy"),Nt=new M.OlP("MAT_SELECT_CONFIG"),rn={provide:bt,deps:[P.aV],useFactory:function(ut){return function(){return ut.scrollStrategies.reposition()}}},kn=function ut(He,ve){(0,v.Z)(this,ut),this.source=He,this.value=ve},Nn=(0,A.Kr)((0,A.sb)((0,A.Id)((0,A.FD)(function(){return function ut(He,ve,ye,Te,we){(0,v.Z)(this,ut),this._elementRef=He,this._defaultErrorStateMatcher=ve,this._parentForm=ye,this._parentFormGroup=Te,this.ngControl=we}}())))),In=new M.OlP("MatSelectTrigger"),Rn=function(){var ut=function(He){(0,R.Z)(ye,He);var ve=(0,C.Z)(ye);function ye(Te,we,ct,ht,Jt,Kt,Yt,nn,cn,yn,Tn,Pn,Yn,Cn){var Sn,tr,cr,Ut;return(0,v.Z)(this,ye),(Sn=ve.call(this,Jt,ht,Yt,nn,yn))._viewportRuler=Te,Sn._changeDetectorRef=we,Sn._ngZone=ct,Sn._dir=Kt,Sn._parentFormField=cn,Sn._liveAnnouncer=Yn,Sn._defaultOptions=Cn,Sn._panelOpen=!1,Sn._compareWith=function(Rt,Lt){return Rt===Lt},Sn._uid="mat-select-".concat(Bt++),Sn._triggerAriaLabelledBy=null,Sn._destroy=new S.xQ,Sn._onChange=function(){},Sn._onTouched=function(){},Sn._valueId="mat-select-value-".concat(Bt++),Sn._panelDoneAnimatingStream=new S.xQ,Sn._overlayPanelClass=(null===(tr=Sn._defaultOptions)||void 0===tr?void 0:tr.overlayPanelClass)||"",Sn._focused=!1,Sn.controlType="mat-select",Sn._required=!1,Sn._multiple=!1,Sn._disableOptionCentering=null!==(Ut=null===(cr=Sn._defaultOptions)||void 0===cr?void 0:cr.disableOptionCentering)&&void 0!==Ut&&Ut,Sn.ariaLabel="",Sn.optionSelectionChanges=(0,O.P)(function(){var Rt=Sn.options;return Rt?Rt.changes.pipe((0,j.O)(Rt),(0,K.w)(function(){return L.T.apply(void 0,(0,V.Z)(Rt.map(function(Lt){return Lt.onSelectionChange})))})):Sn._ngZone.onStable.pipe((0,z.q)(1),(0,K.w)(function(){return Sn.optionSelectionChanges}))}),Sn.openedChange=new M.vpe,Sn._openedStream=Sn.openedChange.pipe((0,J.h)(function(Rt){return Rt}),(0,ie.U)(function(){})),Sn._closedStream=Sn.openedChange.pipe((0,J.h)(function(Rt){return!Rt}),(0,ie.U)(function(){})),Sn.selectionChange=new M.vpe,Sn.valueChange=new M.vpe,Sn.ngControl&&(Sn.ngControl.valueAccessor=(0,T.Z)(Sn)),null!=(null==Cn?void 0:Cn.typeaheadDebounceInterval)&&(Sn._typeaheadDebounceInterval=Cn.typeaheadDebounceInterval),Sn._scrollStrategyFactory=Pn,Sn._scrollStrategy=Sn._scrollStrategyFactory(),Sn.tabIndex=parseInt(Tn)||0,Sn.id=Sn.id,Sn}return(0,Z.Z)(ye,[{key:"focused",get:function(){return this._focused||this._panelOpen}},{key:"placeholder",get:function(){return this._placeholder},set:function(we){this._placeholder=we,this.stateChanges.next()}},{key:"required",get:function(){return this._required},set:function(we){this._required=(0,N.Ig)(we),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(we){this._multiple=(0,N.Ig)(we)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(we){this._disableOptionCentering=(0,N.Ig)(we)}},{key:"compareWith",get:function(){return this._compareWith},set:function(we){this._compareWith=we,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(we){(we!==this._value||this._multiple&&Array.isArray(we))&&(this.options&&this._setSelectionByValue(we),this._value=we)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(we){this._typeaheadDebounceInterval=(0,N.su)(we)}},{key:"id",get:function(){return this._id},set:function(we){this._id=we||this._uid,this.stateChanges.next()}},{key:"ngOnInit",value:function(){var we=this;this._selectionModel=new E.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,te.x)(),(0,ae.R)(this._destroy)).subscribe(function(){return we._panelDoneAnimating(we.panelOpen)})}},{key:"ngAfterContentInit",value:function(){var we=this;this._initKeyManager(),this._selectionModel.changed.pipe((0,ae.R)(this._destroy)).subscribe(function(ct){ct.added.forEach(function(ht){return ht.select()}),ct.removed.forEach(function(ht){return ht.deselect()})}),this.options.changes.pipe((0,j.O)(null),(0,ae.R)(this._destroy)).subscribe(function(){we._resetOptions(),we._initializeSelection()})}},{key:"ngDoCheck",value:function(){var we=this._getTriggerAriaLabelledby();if(we!==this._triggerAriaLabelledBy){var ct=this._elementRef.nativeElement;this._triggerAriaLabelledBy=we,we?ct.setAttribute("aria-labelledby",we):ct.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}},{key:"ngOnChanges",value:function(we){we.disabled&&this.stateChanges.next(),we.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}},{key:"ngOnDestroy",value:function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}},{key:"toggle",value:function(){this.panelOpen?this.close():this.open()}},{key:"open",value:function(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}},{key:"close",value:function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}},{key:"writeValue",value:function(we){this.value=we}},{key:"registerOnChange",value:function(we){this._onChange=we}},{key:"registerOnTouched",value:function(we){this._onTouched=we}},{key:"setDisabledState",value:function(we){this.disabled=we,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"panelOpen",get:function(){return this._panelOpen}},{key:"selected",get:function(){var we,ct;return this.multiple?(null===(we=this._selectionModel)||void 0===we?void 0:we.selected)||[]:null===(ct=this._selectionModel)||void 0===ct?void 0:ct.selected[0]}},{key:"triggerValue",get:function(){if(this.empty)return"";if(this._multiple){var we=this._selectionModel.selected.map(function(ct){return ct.viewValue});return this._isRtl()&&we.reverse(),we.join(", ")}return this._selectionModel.selected[0].viewValue}},{key:"_isRtl",value:function(){return!!this._dir&&"rtl"===this._dir.value}},{key:"_handleKeydown",value:function(we){this.disabled||(this.panelOpen?this._handleOpenKeydown(we):this._handleClosedKeydown(we))}},{key:"_handleClosedKeydown",value:function(we){var ct=we.keyCode,ht=ct===x.JH||ct===x.LH||ct===x.oh||ct===x.SV,Jt=ct===x.K5||ct===x.L_,Kt=this._keyManager;if(!Kt.isTyping()&&Jt&&!(0,x.Vb)(we)||(this.multiple||we.altKey)&&ht)we.preventDefault(),this.open();else if(!this.multiple){var Yt=this.selected;Kt.onKeydown(we);var nn=this.selected;nn&&Yt!==nn&&this._liveAnnouncer.announce(nn.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(we){var ct=this._keyManager,ht=we.keyCode,Jt=ht===x.JH||ht===x.LH,Kt=ct.isTyping();if(Jt&&we.altKey)we.preventDefault(),this.close();else if(Kt||ht!==x.K5&&ht!==x.L_||!ct.activeItem||(0,x.Vb)(we))if(!Kt&&this._multiple&&ht===x.A&&we.ctrlKey){we.preventDefault();var Yt=this.options.some(function(cn){return!cn.disabled&&!cn.selected});this.options.forEach(function(cn){cn.disabled||(Yt?cn.select():cn.deselect())})}else{var nn=ct.activeItemIndex;ct.onKeydown(we),this._multiple&&Jt&&we.shiftKey&&ct.activeItem&&ct.activeItemIndex!==nn&&ct.activeItem._selectViaInteraction()}else we.preventDefault(),ct.activeItem._selectViaInteraction()}},{key:"_onFocus",value:function(){this.disabled||(this._focused=!0,this.stateChanges.next())}},{key:"_onBlur",value:function(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}},{key:"_onAttached",value:function(){var we=this;this._overlayDir.positionChange.pipe((0,z.q)(1)).subscribe(function(){we._changeDetectorRef.detectChanges(),we._positioningSettled()})}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-".concat(this._parentFormField.color):""}},{key:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"_initializeSelection",value:function(){var we=this;Promise.resolve().then(function(){we._setSelectionByValue(we.ngControl?we.ngControl.value:we._value),we.stateChanges.next()})}},{key:"_setSelectionByValue",value:function(we){var ct=this;if(this._selectionModel.selected.forEach(function(Jt){return Jt.setInactiveStyles()}),this._selectionModel.clear(),this.multiple&&we)Array.isArray(we),we.forEach(function(Jt){return ct._selectValue(Jt)}),this._sortValues();else{var ht=this._selectValue(we);ht?this._keyManager.updateActiveItem(ht):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(we){var ct=this,ht=this.options.find(function(Jt){if(ct._selectionModel.isSelected(Jt))return!1;try{return null!=Jt.value&&ct._compareWith(Jt.value,we)}catch(Kt){return!1}});return ht&&this._selectionModel.select(ht),ht}},{key:"_initKeyManager",value:function(){var we=this;this._keyManager=new k.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,ae.R)(this._destroy)).subscribe(function(){we.panelOpen&&(!we.multiple&&we._keyManager.activeItem&&we._keyManager.activeItem._selectViaInteraction(),we.focus(),we.close())}),this._keyManager.change.pipe((0,ae.R)(this._destroy)).subscribe(function(){we._panelOpen&&we.panel?we._scrollOptionIntoView(we._keyManager.activeItemIndex||0):!we._panelOpen&&!we.multiple&&we._keyManager.activeItem&&we._keyManager.activeItem._selectViaInteraction()})}},{key:"_resetOptions",value:function(){var we=this,ct=(0,L.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,ae.R)(ct)).subscribe(function(ht){we._onSelect(ht.source,ht.isUserInput),ht.isUserInput&&!we.multiple&&we._panelOpen&&(we.close(),we.focus())}),L.T.apply(void 0,(0,V.Z)(this.options.map(function(ht){return ht._stateChanges}))).pipe((0,ae.R)(ct)).subscribe(function(){we._changeDetectorRef.markForCheck(),we.stateChanges.next()})}},{key:"_onSelect",value:function(we,ct){var ht=this._selectionModel.isSelected(we);null!=we.value||this._multiple?(ht!==we.selected&&(we.selected?this._selectionModel.select(we):this._selectionModel.deselect(we)),ct&&this._keyManager.setActiveItem(we),this.multiple&&(this._sortValues(),ct&&this.focus())):(we.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(we.value)),ht!==this._selectionModel.isSelected(we)&&this._propagateChanges(),this.stateChanges.next()}},{key:"_sortValues",value:function(){var we=this;if(this.multiple){var ct=this.options.toArray();this._selectionModel.sort(function(ht,Jt){return we.sortComparator?we.sortComparator(ht,Jt,ct):ct.indexOf(ht)-ct.indexOf(Jt)}),this.stateChanges.next()}}},{key:"_propagateChanges",value:function(we){var ct;ct=this.multiple?this.selected.map(function(ht){return ht.value}):this.selected?this.selected.value:we,this._value=ct,this.valueChange.emit(ct),this._onChange(ct),this.selectionChange.emit(this._getChangeEvent(ct)),this._changeDetectorRef.markForCheck()}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_canOpen",value:function(){var we;return!this._panelOpen&&!this.disabled&&(null===(we=this.options)||void 0===we?void 0:we.length)>0}},{key:"focus",value:function(we){this._elementRef.nativeElement.focus(we)}},{key:"_getPanelAriaLabelledby",value:function(){var we;if(this.ariaLabel)return null;var ct=null===(we=this._parentFormField)||void 0===we?void 0:we.getLabelId();return this.ariaLabelledby?(ct?ct+" ":"")+this.ariaLabelledby:ct}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_getTriggerAriaLabelledby",value:function(){var we;if(this.ariaLabel)return null;var ct=null===(we=this._parentFormField)||void 0===we?void 0:we.getLabelId(),ht=(ct?ct+" ":"")+this._valueId;return this.ariaLabelledby&&(ht+=" "+this.ariaLabelledby),ht}},{key:"_panelDoneAnimating",value:function(we){this.openedChange.emit(we)}},{key:"setDescribedByIds",value:function(we){this._ariaDescribedby=we.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}]),ye}(Nn);return ut.\u0275fac=function(ve){return new(ve||ut)(M.Y36(g.rL),M.Y36(M.sBO),M.Y36(M.R0b),M.Y36(A.rD),M.Y36(M.SBq),M.Y36(ce.Is,8),M.Y36(le.F,8),M.Y36(le.sg,8),M.Y36(_.G_,8),M.Y36(le.a5,10),M.$8M("tabindex"),M.Y36(bt),M.Y36(k.Kd),M.Y36(Nt,8))},ut.\u0275dir=M.lG2({type:ut,viewQuery:function(ve,ye){var Te;1&ve&&(M.Gf(oe,5),M.Gf(Ae,5),M.Gf(P.pI,5)),2&ve&&(M.iGM(Te=M.CRH())&&(ye.trigger=Te.first),M.iGM(Te=M.CRH())&&(ye.panel=Te.first),M.iGM(Te=M.CRH())&&(ye._overlayDir=Te.first))},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[M.qOj,M.TTD]}),ut}(),wn=function(){var ut=function(He){(0,R.Z)(ye,He);var ve=(0,C.Z)(ye);function ye(){var Te;return(0,v.Z)(this,ye),(Te=ve.apply(this,arguments))._scrollTop=0,Te._triggerFontSize=0,Te._transformOrigin="top",Te._offsetY=0,Te._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],Te}return(0,Z.Z)(ye,[{key:"_calculateOverlayScroll",value:function(we,ct,ht){var Jt=this._getItemHeight();return Math.min(Math.max(0,Jt*we-ct+Jt/2),ht)}},{key:"ngOnInit",value:function(){var we=this;(0,U.Z)((0,B.Z)(ye.prototype),"ngOnInit",this).call(this),this._viewportRuler.change().pipe((0,ae.R)(this._destroy)).subscribe(function(){we.panelOpen&&(we._triggerRect=we.trigger.nativeElement.getBoundingClientRect(),we._changeDetectorRef.markForCheck())})}},{key:"open",value:function(){var we=this;(0,U.Z)((0,B.Z)(ye.prototype),"_canOpen",this).call(this)&&((0,U.Z)((0,B.Z)(ye.prototype),"open",this).call(this),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,z.q)(1)).subscribe(function(){we._triggerFontSize&&we._overlayDir.overlayRef&&we._overlayDir.overlayRef.overlayElement&&(we._overlayDir.overlayRef.overlayElement.style.fontSize="".concat(we._triggerFontSize,"px"))}))}},{key:"_scrollOptionIntoView",value:function(we){var ct=(0,A.CB)(we,this.options,this.optionGroups),ht=this._getItemHeight();this.panel.nativeElement.scrollTop=0===we&&1===ct?0:(0,A.jH)((we+ct)*ht,ht,this.panel.nativeElement.scrollTop,256)}},{key:"_positioningSettled",value:function(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}},{key:"_panelDoneAnimating",value:function(we){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),(0,U.Z)((0,B.Z)(ye.prototype),"_panelDoneAnimating",this).call(this,we)}},{key:"_getChangeEvent",value:function(we){return new kn(this,we)}},{key:"_calculateOverlayOffsetX",value:function(){var Kt,we=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),ct=this._viewportRuler.getViewportSize(),ht=this._isRtl(),Jt=this.multiple?56:32;if(this.multiple)Kt=40;else if(this.disableOptionCentering)Kt=16;else{var Yt=this._selectionModel.selected[0]||this.options.first;Kt=Yt&&Yt.group?32:16}ht||(Kt*=-1);var nn=0-(we.left+Kt-(ht?Jt:0)),cn=we.right+Kt-ct.width+(ht?0:Jt);nn>0?Kt+=nn+8:cn>0&&(Kt-=cn+8),this._overlayDir.offsetX=Math.round(Kt),this._overlayDir.overlayRef.updatePosition()}},{key:"_calculateOverlayOffsetY",value:function(we,ct,ht){var nn,Jt=this._getItemHeight(),Kt=(Jt-this._triggerRect.height)/2,Yt=Math.floor(256/Jt);return this.disableOptionCentering?0:(nn=0===this._scrollTop?we*Jt:this._scrollTop===ht?(we-(this._getItemCount()-Yt))*Jt+(Jt-(this._getItemCount()*Jt-256)%Jt):ct-Jt/2,Math.round(-1*nn-Kt))}},{key:"_checkOverlayWithinViewport",value:function(we){var ct=this._getItemHeight(),ht=this._viewportRuler.getViewportSize(),Jt=this._triggerRect.top-8,Kt=ht.height-this._triggerRect.bottom-8,Yt=Math.abs(this._offsetY),cn=Math.min(this._getItemCount()*ct,256)-Yt-this._triggerRect.height;cn>Kt?this._adjustPanelUp(cn,Kt):Yt>Jt?this._adjustPanelDown(Yt,Jt,we):this._transformOrigin=this._getOriginBasedOnOption()}},{key:"_adjustPanelUp",value:function(we,ct){var ht=Math.round(we-ct);this._scrollTop-=ht,this._offsetY-=ht,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}},{key:"_adjustPanelDown",value:function(we,ct,ht){var Jt=Math.round(we-ct);if(this._scrollTop+=Jt,this._offsetY+=Jt,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=ht)return this._scrollTop=ht,this._offsetY=0,void(this._transformOrigin="50% top 0px")}},{key:"_calculateOverlayPosition",value:function(){var Yt,we=this._getItemHeight(),ct=this._getItemCount(),ht=Math.min(ct*we,256),Kt=ct*we-ht;Yt=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),Yt+=(0,A.CB)(Yt,this.options,this.optionGroups);var nn=ht/2;this._scrollTop=this._calculateOverlayScroll(Yt,nn,Kt),this._offsetY=this._calculateOverlayOffsetY(Yt,nn,Kt),this._checkOverlayWithinViewport(Kt)}},{key:"_getOriginBasedOnOption",value:function(){var we=this._getItemHeight(),ct=(we-this._triggerRect.height)/2,ht=Math.abs(this._offsetY)-ct+we/2;return"50% ".concat(ht,"px 0px")}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}}]),ye}(Rn);return ut.\u0275fac=function(){var He;return function(ye){return(He||(He=M.n5z(ut)))(ye||ut)}}(),ut.\u0275cmp=M.Xpm({type:ut,selectors:[["mat-select"]],contentQueries:function(ve,ye,Te){var we;1&ve&&(M.Suo(Te,In,5),M.Suo(Te,A.ey,5),M.Suo(Te,A.K7,5)),2&ve&&(M.iGM(we=M.CRH())&&(ye.customTrigger=we.first),M.iGM(we=M.CRH())&&(ye.options=we),M.iGM(we=M.CRH())&&(ye.optionGroups=we))},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(ve,ye){1&ve&&M.NdJ("keydown",function(we){return ye._handleKeydown(we)})("focus",function(){return ye._onFocus()})("blur",function(){return ye._onBlur()}),2&ve&&(M.uIk("id",ye.id)("tabindex",ye.tabIndex)("aria-controls",ye.panelOpen?ye.id+"-panel":null)("aria-expanded",ye.panelOpen)("aria-label",ye.ariaLabel||null)("aria-required",ye.required.toString())("aria-disabled",ye.disabled.toString())("aria-invalid",ye.errorState)("aria-describedby",ye._ariaDescribedby||null)("aria-activedescendant",ye._getAriaActiveDescendant()),M.ekj("mat-select-disabled",ye.disabled)("mat-select-invalid",ye.errorState)("mat-select-required",ye.required)("mat-select-empty",ye.empty)("mat-select-multiple",ye.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[M._Bn([{provide:_.Eo,useExisting:ut},{provide:A.HF,useExisting:ut}]),M.qOj],ngContentSelectors:xe,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(ve,ye){if(1&ve&&(M.F$t(Ft),M.TgZ(0,"div",0,1),M.NdJ("click",function(){return ye.toggle()}),M.TgZ(3,"div",2),M.YNc(4,be,2,1,"span",3),M.YNc(5,_t,3,2,"span",4),M.qZA(),M.TgZ(6,"div",5),M._UZ(7,"div",6),M.qZA(),M.qZA(),M.YNc(8,yt,4,14,"ng-template",7),M.NdJ("backdropClick",function(){return ye.close()})("attach",function(){return ye._onAttached()})("detach",function(){return ye.close()})),2&ve){var Te=M.MAs(1);M.uIk("aria-owns",ye.panelOpen?ye.id+"-panel":null),M.xp6(3),M.Q6J("ngSwitch",ye.empty),M.uIk("id",ye._valueId),M.xp6(1),M.Q6J("ngSwitchCase",!0),M.xp6(1),M.Q6J("ngSwitchCase",!1),M.xp6(3),M.Q6J("cdkConnectedOverlayPanelClass",ye._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",ye._scrollStrategy)("cdkConnectedOverlayOrigin",Te)("cdkConnectedOverlayOpen",ye.panelOpen)("cdkConnectedOverlayPositions",ye._positions)("cdkConnectedOverlayMinWidth",null==ye._triggerRect?null:ye._triggerRect.width)("cdkConnectedOverlayOffsetY",ye._offsetY)}},directives:[P.xu,D.RF,D.n9,P.pI,D.ED,D.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;opacity:0}\n'],encapsulation:2,data:{animation:[Oe.transformPanelWrap,Oe.transformPanel]},changeDetection:0}),ut}(),yr=function(){var ut=function He(){(0,v.Z)(this,He)};return ut.\u0275fac=function(ve){return new(ve||ut)},ut.\u0275mod=M.oAB({type:ut}),ut.\u0275inj=M.cJS({providers:[rn],imports:[[D.ez,P.U8,A.Ng,A.BQ],g.ZD,_.lN,A.Ng,A.BQ]}),ut}()},88802:function(ue,q,f){"use strict";f.d(q,{uX:function(){return In},SP:function(){return we},uD:function(){return rn},Nh:function(){return cr}}),f(88009);var B=f(10629),V=f(20901),Z=f(89200),T=f(10509),R=f(97154),C=f(18967),v=f(14105),P=f(6517),D=f(96798),M=f(80785),A=f(40098),_=f(65508),g=f(59412),k=f(38480),N=f(68707),E=f(5051),x=f(55371),S=f(33090),O=f(43161),L=f(5041),j=f(739),K=f(57682),z=f(76161),J=f(44213),ie=f(78081),te=f(15427),ae=f(32819),se=f(8392),ce=f(28722);function le(Ut,Rt){1&Ut&&_.Hsn(0)}var oe=["*"];function Ae(Ut,Rt){}var be=function(Rt){return{animationDuration:Rt}},it=function(Rt,Lt){return{value:Rt,params:Lt}},qe=["tabBodyWrapper"],_t=["tabHeader"];function yt(Ut,Rt){}function Ft(Ut,Rt){if(1&Ut&&_.YNc(0,yt,0,0,"ng-template",9),2&Ut){var Lt=_.oxw().$implicit;_.Q6J("cdkPortalOutlet",Lt.templateLabel)}}function xe(Ut,Rt){if(1&Ut&&_._uU(0),2&Ut){var Lt=_.oxw().$implicit;_.Oqu(Lt.textLabel)}}function Oe(Ut,Rt){if(1&Ut){var Lt=_.EpF();_.TgZ(0,"div",6),_.NdJ("click",function(){var Ne=_.CHM(Lt),Le=Ne.$implicit,ze=Ne.index,At=_.oxw(),an=_.MAs(1);return At._handleClick(Le,an,ze)})("cdkFocusChange",function(Ne){var ze=_.CHM(Lt).index;return _.oxw()._tabFocusChanged(Ne,ze)}),_.TgZ(1,"div",7),_.YNc(2,Ft,1,1,"ng-template",8),_.YNc(3,xe,1,1,"ng-template",8),_.qZA(),_.qZA()}if(2&Ut){var Pe=Rt.$implicit,rt=Rt.index,he=_.oxw();_.ekj("mat-tab-label-active",he.selectedIndex==rt),_.Q6J("id",he._getTabLabelId(rt))("disabled",Pe.disabled)("matRippleDisabled",Pe.disabled||he.disableRipple),_.uIk("tabIndex",he._getTabIndex(Pe,rt))("aria-posinset",rt+1)("aria-setsize",he._tabs.length)("aria-controls",he._getTabContentId(rt))("aria-selected",he.selectedIndex==rt)("aria-label",Pe.ariaLabel||null)("aria-labelledby",!Pe.ariaLabel&&Pe.ariaLabelledby?Pe.ariaLabelledby:null),_.xp6(2),_.Q6J("ngIf",Pe.templateLabel),_.xp6(1),_.Q6J("ngIf",!Pe.templateLabel)}}function je(Ut,Rt){if(1&Ut){var Lt=_.EpF();_.TgZ(0,"mat-tab-body",10),_.NdJ("_onCentered",function(){return _.CHM(Lt),_.oxw()._removeTabBodyWrapperHeight()})("_onCentering",function(Ne){return _.CHM(Lt),_.oxw()._setTabBodyWrapperHeight(Ne)}),_.qZA()}if(2&Ut){var Pe=Rt.$implicit,rt=Rt.index,he=_.oxw();_.ekj("mat-tab-body-active",he.selectedIndex===rt),_.Q6J("id",he._getTabContentId(rt))("content",Pe.content)("position",Pe.position)("origin",Pe.origin)("animationDuration",he.animationDuration),_.uIk("tabindex",null!=he.contentTabIndex&&he.selectedIndex===rt?he.contentTabIndex:null)("aria-labelledby",he._getTabLabelId(rt))}}var dt=["tabListContainer"],Qe=["tabList"],Bt=["nextPaginator"],xt=["previousPaginator"],Qt=new _.OlP("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(Lt){return{left:Lt?(Lt.offsetLeft||0)+"px":"0",width:Lt?(Lt.offsetWidth||0)+"px":"0"}}}}),Ct=function(){var Ut=function(){function Rt(Lt,Pe,rt,he){(0,C.Z)(this,Rt),this._elementRef=Lt,this._ngZone=Pe,this._inkBarPositioner=rt,this._animationMode=he}return(0,v.Z)(Rt,[{key:"alignToElement",value:function(Pe){var rt=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return rt._setStyles(Pe)})}):this._setStyles(Pe)}},{key:"show",value:function(){this._elementRef.nativeElement.style.visibility="visible"}},{key:"hide",value:function(){this._elementRef.nativeElement.style.visibility="hidden"}},{key:"_setStyles",value:function(Pe){var rt=this._inkBarPositioner(Pe),he=this._elementRef.nativeElement;he.style.left=rt.left,he.style.width=rt.width}}]),Rt}();return Ut.\u0275fac=function(Lt){return new(Lt||Ut)(_.Y36(_.SBq),_.Y36(_.R0b),_.Y36(Qt),_.Y36(k.Qb,8))},Ut.\u0275dir=_.lG2({type:Ut,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(Lt,Pe){2&Lt&&_.ekj("_mat-animation-noopable","NoopAnimations"===Pe._animationMode)}}),Ut}(),Vt=new _.OlP("MatTabContent"),en=new _.OlP("MatTabLabel"),Nt=new _.OlP("MAT_TAB"),rn=function(){var Ut=function(Rt){(0,T.Z)(Pe,Rt);var Lt=(0,R.Z)(Pe);function Pe(rt,he,Ie){var Ne;return(0,C.Z)(this,Pe),(Ne=Lt.call(this,rt,he))._closestTab=Ie,Ne}return Pe}(M.ig);return Ut.\u0275fac=function(Lt){return new(Lt||Ut)(_.Y36(_.Rgc),_.Y36(_.s_b),_.Y36(Nt,8))},Ut.\u0275dir=_.lG2({type:Ut,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[_._Bn([{provide:en,useExisting:Ut}]),_.qOj]}),Ut}(),kn=(0,g.Id)(function(){return function Ut(){(0,C.Z)(this,Ut)}}()),Nn=new _.OlP("MAT_TAB_GROUP"),In=function(){var Ut=function(Rt){(0,T.Z)(Pe,Rt);var Lt=(0,R.Z)(Pe);function Pe(rt,he){var Ie;return(0,C.Z)(this,Pe),(Ie=Lt.call(this))._viewContainerRef=rt,Ie._closestTabGroup=he,Ie.textLabel="",Ie._contentPortal=null,Ie._stateChanges=new N.xQ,Ie.position=null,Ie.origin=null,Ie.isActive=!1,Ie}return(0,v.Z)(Pe,[{key:"templateLabel",get:function(){return this._templateLabel},set:function(he){this._setTemplateLabelInput(he)}},{key:"content",get:function(){return this._contentPortal}},{key:"ngOnChanges",value:function(he){(he.hasOwnProperty("textLabel")||he.hasOwnProperty("disabled"))&&this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"ngOnInit",value:function(){this._contentPortal=new M.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}},{key:"_setTemplateLabelInput",value:function(he){he&&he._closestTab===this&&(this._templateLabel=he)}}]),Pe}(kn);return Ut.\u0275fac=function(Lt){return new(Lt||Ut)(_.Y36(_.s_b),_.Y36(Nn,8))},Ut.\u0275cmp=_.Xpm({type:Ut,selectors:[["mat-tab"]],contentQueries:function(Lt,Pe,rt){var he;1&Lt&&(_.Suo(rt,en,5),_.Suo(rt,Vt,7,_.Rgc)),2&Lt&&(_.iGM(he=_.CRH())&&(Pe.templateLabel=he.first),_.iGM(he=_.CRH())&&(Pe._explicitContent=he.first))},viewQuery:function(Lt,Pe){var rt;1&Lt&&_.Gf(_.Rgc,7),2&Lt&&_.iGM(rt=_.CRH())&&(Pe._implicitContent=rt.first)},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[_._Bn([{provide:Nt,useExisting:Ut}]),_.qOj,_.TTD],ngContentSelectors:oe,decls:1,vars:0,template:function(Lt,Pe){1&Lt&&(_.F$t(),_.YNc(0,le,1,0,"ng-template"))},encapsulation:2}),Ut}(),$n={translateTab:(0,j.X$)("translateTab",[(0,j.SB)("center, void, left-origin-center, right-origin-center",(0,j.oB)({transform:"none"})),(0,j.SB)("left",(0,j.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),(0,j.SB)("right",(0,j.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),(0,j.eR)("* => left, * => right, left => center, right => center",(0,j.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,j.eR)("void => left-origin-center",[(0,j.oB)({transform:"translate3d(-100%, 0, 0)"}),(0,j.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,j.eR)("void => right-origin-center",[(0,j.oB)({transform:"translate3d(100%, 0, 0)"}),(0,j.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},Rn=function(){var Ut=function(Rt){(0,T.Z)(Pe,Rt);var Lt=(0,R.Z)(Pe);function Pe(rt,he,Ie,Ne){var Le;return(0,C.Z)(this,Pe),(Le=Lt.call(this,rt,he,Ne))._host=Ie,Le._centeringSub=E.w.EMPTY,Le._leavingSub=E.w.EMPTY,Le}return(0,v.Z)(Pe,[{key:"ngOnInit",value:function(){var he=this;(0,V.Z)((0,Z.Z)(Pe.prototype),"ngOnInit",this).call(this),this._centeringSub=this._host._beforeCentering.pipe((0,K.O)(this._host._isCenterPosition(this._host._position))).subscribe(function(Ie){Ie&&!he.hasAttached()&&he.attach(he._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(function(){he.detach()})}},{key:"ngOnDestroy",value:function(){(0,V.Z)((0,Z.Z)(Pe.prototype),"ngOnDestroy",this).call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}]),Pe}(M.Pl);return Ut.\u0275fac=function(Lt){return new(Lt||Ut)(_.Y36(_._Vd),_.Y36(_.s_b),_.Y36((0,_.Gpc)(function(){return yr})),_.Y36(A.K0))},Ut.\u0275dir=_.lG2({type:Ut,selectors:[["","matTabBodyHost",""]],features:[_.qOj]}),Ut}(),wn=function(){var Ut=function(){function Rt(Lt,Pe,rt){var he=this;(0,C.Z)(this,Rt),this._elementRef=Lt,this._dir=Pe,this._dirChangeSubscription=E.w.EMPTY,this._translateTabComplete=new N.xQ,this._onCentering=new _.vpe,this._beforeCentering=new _.vpe,this._afterLeavingCenter=new _.vpe,this._onCentered=new _.vpe(!0),this.animationDuration="500ms",Pe&&(this._dirChangeSubscription=Pe.change.subscribe(function(Ie){he._computePositionAnimationState(Ie),rt.markForCheck()})),this._translateTabComplete.pipe((0,z.x)(function(Ie,Ne){return Ie.fromState===Ne.fromState&&Ie.toState===Ne.toState})).subscribe(function(Ie){he._isCenterPosition(Ie.toState)&&he._isCenterPosition(he._position)&&he._onCentered.emit(),he._isCenterPosition(Ie.fromState)&&!he._isCenterPosition(he._position)&&he._afterLeavingCenter.emit()})}return(0,v.Z)(Rt,[{key:"position",set:function(Pe){this._positionIndex=Pe,this._computePositionAnimationState()}},{key:"ngOnInit",value:function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}},{key:"ngOnDestroy",value:function(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}},{key:"_onTranslateTabStarted",value:function(Pe){var rt=this._isCenterPosition(Pe.toState);this._beforeCentering.emit(rt),rt&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_isCenterPosition",value:function(Pe){return"center"==Pe||"left-origin-center"==Pe||"right-origin-center"==Pe}},{key:"_computePositionAnimationState",value:function(){var Pe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._getLayoutDirection();this._position=this._positionIndex<0?"ltr"==Pe?"left":"right":this._positionIndex>0?"ltr"==Pe?"right":"left":"center"}},{key:"_computePositionFromOrigin",value:function(Pe){var rt=this._getLayoutDirection();return"ltr"==rt&&Pe<=0||"rtl"==rt&&Pe>0?"left-origin-center":"right-origin-center"}}]),Rt}();return Ut.\u0275fac=function(Lt){return new(Lt||Ut)(_.Y36(_.SBq),_.Y36(se.Is,8),_.Y36(_.sBO))},Ut.\u0275dir=_.lG2({type:Ut,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),Ut}(),yr=function(){var Ut=function(Rt){(0,T.Z)(Pe,Rt);var Lt=(0,R.Z)(Pe);function Pe(rt,he,Ie){return(0,C.Z)(this,Pe),Lt.call(this,rt,he,Ie)}return Pe}(wn);return Ut.\u0275fac=function(Lt){return new(Lt||Ut)(_.Y36(_.SBq),_.Y36(se.Is,8),_.Y36(_.sBO))},Ut.\u0275cmp=_.Xpm({type:Ut,selectors:[["mat-tab-body"]],viewQuery:function(Lt,Pe){var rt;1&Lt&&_.Gf(M.Pl,5),2&Lt&&_.iGM(rt=_.CRH())&&(Pe._portalHost=rt.first)},hostAttrs:[1,"mat-tab-body"],features:[_.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(Lt,Pe){1&Lt&&(_.TgZ(0,"div",0,1),_.NdJ("@translateTab.start",function(he){return Pe._onTranslateTabStarted(he)})("@translateTab.done",function(he){return Pe._translateTabComplete.next(he)}),_.YNc(2,Ae,0,0,"ng-template",2),_.qZA()),2&Lt&&_.Q6J("@translateTab",_.WLB(3,it,Pe._position,_.VKq(1,be,Pe.animationDuration)))},directives:[Rn],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[$n.translateTab]}}),Ut}(),ut=new _.OlP("MAT_TABS_CONFIG"),He=0,ve=function Ut(){(0,C.Z)(this,Ut)},ye=(0,g.pj)((0,g.Kr)(function(){return function Ut(Rt){(0,C.Z)(this,Ut),this._elementRef=Rt}}()),"primary"),Te=function(){var Ut=function(Rt){(0,T.Z)(Pe,Rt);var Lt=(0,R.Z)(Pe);function Pe(rt,he,Ie,Ne){var Le,ze;return(0,C.Z)(this,Pe),(Le=Lt.call(this,rt))._changeDetectorRef=he,Le._animationMode=Ne,Le._tabs=new _.n_E,Le._indexToSelect=0,Le._tabBodyWrapperHeight=0,Le._tabsSubscription=E.w.EMPTY,Le._tabLabelSubscription=E.w.EMPTY,Le._selectedIndex=null,Le.headerPosition="above",Le.selectedIndexChange=new _.vpe,Le.focusChange=new _.vpe,Le.animationDone=new _.vpe,Le.selectedTabChange=new _.vpe(!0),Le._groupId=He++,Le.animationDuration=Ie&&Ie.animationDuration?Ie.animationDuration:"500ms",Le.disablePagination=!(!Ie||null==Ie.disablePagination)&&Ie.disablePagination,Le.dynamicHeight=!(!Ie||null==Ie.dynamicHeight)&&Ie.dynamicHeight,Le.contentTabIndex=null!==(ze=null==Ie?void 0:Ie.contentTabIndex)&&void 0!==ze?ze:null,Le}return(0,v.Z)(Pe,[{key:"dynamicHeight",get:function(){return this._dynamicHeight},set:function(he){this._dynamicHeight=(0,ie.Ig)(he)}},{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(he){this._indexToSelect=(0,ie.su)(he,null)}},{key:"animationDuration",get:function(){return this._animationDuration},set:function(he){this._animationDuration=/^\d+$/.test(he)?he+"ms":he}},{key:"contentTabIndex",get:function(){return this._contentTabIndex},set:function(he){this._contentTabIndex=(0,ie.su)(he,null)}},{key:"backgroundColor",get:function(){return this._backgroundColor},set:function(he){var Ie=this._elementRef.nativeElement;Ie.classList.remove("mat-background-".concat(this.backgroundColor)),he&&Ie.classList.add("mat-background-".concat(he)),this._backgroundColor=he}},{key:"ngAfterContentChecked",value:function(){var he=this,Ie=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=Ie){var Ne=null==this._selectedIndex;if(!Ne){this.selectedTabChange.emit(this._createChangeEvent(Ie));var Le=this._tabBodyWrapper.nativeElement;Le.style.minHeight=Le.clientHeight+"px"}Promise.resolve().then(function(){he._tabs.forEach(function(ze,At){return ze.isActive=At===Ie}),Ne||(he.selectedIndexChange.emit(Ie),he._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach(function(ze,At){ze.position=At-Ie,null!=he._selectedIndex&&0==ze.position&&!ze.origin&&(ze.origin=Ie-he._selectedIndex)}),this._selectedIndex!==Ie&&(this._selectedIndex=Ie,this._changeDetectorRef.markForCheck())}},{key:"ngAfterContentInit",value:function(){var he=this;this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(function(){if(he._clampTabIndex(he._indexToSelect)===he._selectedIndex)for(var Ne=he._tabs.toArray(),Le=0;Le<Ne.length;Le++)if(Ne[Le].isActive){he._indexToSelect=he._selectedIndex=Le;break}he._changeDetectorRef.markForCheck()})}},{key:"_subscribeToAllTabChanges",value:function(){var he=this;this._allTabs.changes.pipe((0,K.O)(this._allTabs)).subscribe(function(Ie){he._tabs.reset(Ie.filter(function(Ne){return Ne._closestTabGroup===he||!Ne._closestTabGroup})),he._tabs.notifyOnChanges()})}},{key:"ngOnDestroy",value:function(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}},{key:"realignInkBar",value:function(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}},{key:"focusTab",value:function(he){var Ie=this._tabHeader;Ie&&(Ie.focusIndex=he)}},{key:"_focusChanged",value:function(he){this.focusChange.emit(this._createChangeEvent(he))}},{key:"_createChangeEvent",value:function(he){var Ie=new ve;return Ie.index=he,this._tabs&&this._tabs.length&&(Ie.tab=this._tabs.toArray()[he]),Ie}},{key:"_subscribeToTabLabels",value:function(){var he=this;this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=x.T.apply(void 0,(0,B.Z)(this._tabs.map(function(Ie){return Ie._stateChanges}))).subscribe(function(){return he._changeDetectorRef.markForCheck()})}},{key:"_clampTabIndex",value:function(he){return Math.min(this._tabs.length-1,Math.max(he||0,0))}},{key:"_getTabLabelId",value:function(he){return"mat-tab-label-".concat(this._groupId,"-").concat(he)}},{key:"_getTabContentId",value:function(he){return"mat-tab-content-".concat(this._groupId,"-").concat(he)}},{key:"_setTabBodyWrapperHeight",value:function(he){if(this._dynamicHeight&&this._tabBodyWrapperHeight){var Ie=this._tabBodyWrapper.nativeElement;Ie.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(Ie.style.height=he+"px")}}},{key:"_removeTabBodyWrapperHeight",value:function(){var he=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=he.clientHeight,he.style.height="",this.animationDone.emit()}},{key:"_handleClick",value:function(he,Ie,Ne){he.disabled||(this.selectedIndex=Ie.focusIndex=Ne)}},{key:"_getTabIndex",value:function(he,Ie){return he.disabled?null:this.selectedIndex===Ie?0:-1}},{key:"_tabFocusChanged",value:function(he,Ie){he&&"mouse"!==he&&"touch"!==he&&(this._tabHeader.focusIndex=Ie)}}]),Pe}(ye);return Ut.\u0275fac=function(Lt){return new(Lt||Ut)(_.Y36(_.SBq),_.Y36(_.sBO),_.Y36(ut,8),_.Y36(k.Qb,8))},Ut.\u0275dir=_.lG2({type:Ut,inputs:{headerPosition:"headerPosition",animationDuration:"animationDuration",disablePagination:"disablePagination",dynamicHeight:"dynamicHeight",contentTabIndex:"contentTabIndex",selectedIndex:"selectedIndex",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[_.qOj]}),Ut}(),we=function(){var Ut=function(Rt){(0,T.Z)(Pe,Rt);var Lt=(0,R.Z)(Pe);function Pe(rt,he,Ie,Ne){return(0,C.Z)(this,Pe),Lt.call(this,rt,he,Ie,Ne)}return Pe}(Te);return Ut.\u0275fac=function(Lt){return new(Lt||Ut)(_.Y36(_.SBq),_.Y36(_.sBO),_.Y36(ut,8),_.Y36(k.Qb,8))},Ut.\u0275cmp=_.Xpm({type:Ut,selectors:[["mat-tab-group"]],contentQueries:function(Lt,Pe,rt){var he;1&Lt&&_.Suo(rt,In,5),2&Lt&&_.iGM(he=_.CRH())&&(Pe._allTabs=he)},viewQuery:function(Lt,Pe){var rt;1&Lt&&(_.Gf(qe,5),_.Gf(_t,5)),2&Lt&&(_.iGM(rt=_.CRH())&&(Pe._tabBodyWrapper=rt.first),_.iGM(rt=_.CRH())&&(Pe._tabHeader=rt.first))},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(Lt,Pe){2&Lt&&_.ekj("mat-tab-group-dynamic-height",Pe.dynamicHeight)("mat-tab-group-inverted-header","below"===Pe.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[_._Bn([{provide:Nn,useExisting:Ut}]),_.qOj],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(Lt,Pe){1&Lt&&(_.TgZ(0,"mat-tab-header",0,1),_.NdJ("indexFocused",function(he){return Pe._focusChanged(he)})("selectFocusedIndex",function(he){return Pe.selectedIndex=he}),_.YNc(2,Oe,4,14,"div",2),_.qZA(),_.TgZ(3,"div",3,4),_.YNc(5,je,1,9,"mat-tab-body",5),_.qZA()),2&Lt&&(_.Q6J("selectedIndex",Pe.selectedIndex||0)("disableRipple",Pe.disableRipple)("disablePagination",Pe.disablePagination),_.xp6(2),_.Q6J("ngForOf",Pe._tabs),_.xp6(1),_.ekj("_mat-animation-noopable","NoopAnimations"===Pe._animationMode),_.xp6(2),_.Q6J("ngForOf",Pe._tabs))},directives:function(){return[Tn,A.sg,ht,g.wG,P.kH,A.O5,M.Pl,yr]},styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),Ut}(),ct=(0,g.Id)(function(){return function Ut(){(0,C.Z)(this,Ut)}}()),ht=function(){var Ut=function(Rt){(0,T.Z)(Pe,Rt);var Lt=(0,R.Z)(Pe);function Pe(rt){var he;return(0,C.Z)(this,Pe),(he=Lt.call(this)).elementRef=rt,he}return(0,v.Z)(Pe,[{key:"focus",value:function(){this.elementRef.nativeElement.focus()}},{key:"getOffsetLeft",value:function(){return this.elementRef.nativeElement.offsetLeft}},{key:"getOffsetWidth",value:function(){return this.elementRef.nativeElement.offsetWidth}}]),Pe}(ct);return Ut.\u0275fac=function(Lt){return new(Lt||Ut)(_.Y36(_.SBq))},Ut.\u0275dir=_.lG2({type:Ut,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(Lt,Pe){2&Lt&&(_.uIk("aria-disabled",!!Pe.disabled),_.ekj("mat-tab-disabled",Pe.disabled))},inputs:{disabled:"disabled"},features:[_.qOj]}),Ut}(),Jt=(0,te.i$)({passive:!0}),cn=function(){var Ut=function(){function Rt(Lt,Pe,rt,he,Ie,Ne,Le){var ze=this;(0,C.Z)(this,Rt),this._elementRef=Lt,this._changeDetectorRef=Pe,this._viewportRuler=rt,this._dir=he,this._ngZone=Ie,this._platform=Ne,this._animationMode=Le,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new N.xQ,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new N.xQ,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new _.vpe,this.indexFocused=new _.vpe,Ie.runOutsideAngular(function(){(0,S.R)(Lt.nativeElement,"mouseleave").pipe((0,J.R)(ze._destroyed)).subscribe(function(){ze._stopInterval()})})}return(0,v.Z)(Rt,[{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(Pe){Pe=(0,ie.su)(Pe),this._selectedIndex!=Pe&&(this._selectedIndexChanged=!0,this._selectedIndex=Pe,this._keyManager&&this._keyManager.updateActiveItem(Pe))}},{key:"ngAfterViewInit",value:function(){var Pe=this;(0,S.R)(this._previousPaginator.nativeElement,"touchstart",Jt).pipe((0,J.R)(this._destroyed)).subscribe(function(){Pe._handlePaginatorPress("before")}),(0,S.R)(this._nextPaginator.nativeElement,"touchstart",Jt).pipe((0,J.R)(this._destroyed)).subscribe(function(){Pe._handlePaginatorPress("after")})}},{key:"ngAfterContentInit",value:function(){var Pe=this,rt=this._dir?this._dir.change:(0,O.of)("ltr"),he=this._viewportRuler.change(150),Ie=function(){Pe.updatePagination(),Pe._alignInkBarToSelectedTab()};this._keyManager=new P.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(Ie):Ie(),(0,x.T)(rt,he,this._items.changes).pipe((0,J.R)(this._destroyed)).subscribe(function(){Pe._ngZone.run(function(){return Promise.resolve().then(Ie)}),Pe._keyManager.withHorizontalOrientation(Pe._getLayoutDirection())}),this._keyManager.change.pipe((0,J.R)(this._destroyed)).subscribe(function(Ne){Pe.indexFocused.emit(Ne),Pe._setTabFocus(Ne)})}},{key:"ngAfterContentChecked",value:function(){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())}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}},{key:"_handleKeydown",value:function(Pe){if(!(0,ae.Vb)(Pe))switch(Pe.keyCode){case ae.K5:case ae.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(Pe));break;default:this._keyManager.onKeydown(Pe)}}},{key:"_onContentChanges",value:function(){var Pe=this,rt=this._elementRef.nativeElement.textContent;rt!==this._currentTextContent&&(this._currentTextContent=rt||"",this._ngZone.run(function(){Pe.updatePagination(),Pe._alignInkBarToSelectedTab(),Pe._changeDetectorRef.markForCheck()}))}},{key:"updatePagination",value:function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}},{key:"focusIndex",get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(Pe){!this._isValidIndex(Pe)||this.focusIndex===Pe||!this._keyManager||this._keyManager.setActiveItem(Pe)}},{key:"_isValidIndex",value:function(Pe){if(!this._items)return!0;var rt=this._items?this._items.toArray()[Pe]:null;return!!rt&&!rt.disabled}},{key:"_setTabFocus",value:function(Pe){if(this._showPaginationControls&&this._scrollToLabel(Pe),this._items&&this._items.length){this._items.toArray()[Pe].focus();var rt=this._tabListContainer.nativeElement,he=this._getLayoutDirection();rt.scrollLeft="ltr"==he?0:rt.scrollWidth-rt.offsetWidth}}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_updateTabScrollPosition",value:function(){if(!this.disablePagination){var Pe=this.scrollDistance,rt="ltr"===this._getLayoutDirection()?-Pe:Pe;this._tabList.nativeElement.style.transform="translateX(".concat(Math.round(rt),"px)"),(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}}},{key:"scrollDistance",get:function(){return this._scrollDistance},set:function(Pe){this._scrollTo(Pe)}},{key:"_scrollHeader",value:function(Pe){return this._scrollTo(this._scrollDistance+("before"==Pe?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}},{key:"_handlePaginatorClick",value:function(Pe){this._stopInterval(),this._scrollHeader(Pe)}},{key:"_scrollToLabel",value:function(Pe){if(!this.disablePagination){var rt=this._items?this._items.toArray()[Pe]:null;if(rt){var ze,At,he=this._tabListContainer.nativeElement.offsetWidth,Ie=rt.elementRef.nativeElement,Ne=Ie.offsetLeft,Le=Ie.offsetWidth;"ltr"==this._getLayoutDirection()?At=(ze=Ne)+Le:ze=(At=this._tabList.nativeElement.offsetWidth-Ne)-Le;var an=this.scrollDistance,qn=this.scrollDistance+he;ze<an?this.scrollDistance-=an-ze+60:At>qn&&(this.scrollDistance+=At-qn+60)}}}},{key:"_checkPaginationEnabled",value:function(){if(this.disablePagination)this._showPaginationControls=!1;else{var Pe=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;Pe||(this.scrollDistance=0),Pe!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=Pe}}},{key:"_checkScrollingControls",value:function(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}},{key:"_getMaxScrollDistance",value:function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}},{key:"_alignInkBarToSelectedTab",value:function(){var Pe=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,rt=Pe?Pe.elementRef.nativeElement:null;rt?this._inkBar.alignToElement(rt):this._inkBar.hide()}},{key:"_stopInterval",value:function(){this._stopScrolling.next()}},{key:"_handlePaginatorPress",value:function(Pe,rt){var he=this;rt&&null!=rt.button&&0!==rt.button||(this._stopInterval(),(0,L.H)(650,100).pipe((0,J.R)((0,x.T)(this._stopScrolling,this._destroyed))).subscribe(function(){var Ie=he._scrollHeader(Pe),Le=Ie.distance;(0===Le||Le>=Ie.maxScrollDistance)&&he._stopInterval()}))}},{key:"_scrollTo",value:function(Pe){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var rt=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(rt,Pe)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:rt,distance:this._scrollDistance}}}]),Rt}();return Ut.\u0275fac=function(Lt){return new(Lt||Ut)(_.Y36(_.SBq),_.Y36(_.sBO),_.Y36(ce.rL),_.Y36(se.Is,8),_.Y36(_.R0b),_.Y36(te.t4),_.Y36(k.Qb,8))},Ut.\u0275dir=_.lG2({type:Ut,inputs:{disablePagination:"disablePagination"}}),Ut}(),yn=function(){var Ut=function(Rt){(0,T.Z)(Pe,Rt);var Lt=(0,R.Z)(Pe);function Pe(rt,he,Ie,Ne,Le,ze,At){var an;return(0,C.Z)(this,Pe),(an=Lt.call(this,rt,he,Ie,Ne,Le,ze,At))._disableRipple=!1,an}return(0,v.Z)(Pe,[{key:"disableRipple",get:function(){return this._disableRipple},set:function(he){this._disableRipple=(0,ie.Ig)(he)}},{key:"_itemSelected",value:function(he){he.preventDefault()}}]),Pe}(cn);return Ut.\u0275fac=function(Lt){return new(Lt||Ut)(_.Y36(_.SBq),_.Y36(_.sBO),_.Y36(ce.rL),_.Y36(se.Is,8),_.Y36(_.R0b),_.Y36(te.t4),_.Y36(k.Qb,8))},Ut.\u0275dir=_.lG2({type:Ut,inputs:{disableRipple:"disableRipple"},features:[_.qOj]}),Ut}(),Tn=function(){var Ut=function(Rt){(0,T.Z)(Pe,Rt);var Lt=(0,R.Z)(Pe);function Pe(rt,he,Ie,Ne,Le,ze,At){return(0,C.Z)(this,Pe),Lt.call(this,rt,he,Ie,Ne,Le,ze,At)}return Pe}(yn);return Ut.\u0275fac=function(Lt){return new(Lt||Ut)(_.Y36(_.SBq),_.Y36(_.sBO),_.Y36(ce.rL),_.Y36(se.Is,8),_.Y36(_.R0b),_.Y36(te.t4),_.Y36(k.Qb,8))},Ut.\u0275cmp=_.Xpm({type:Ut,selectors:[["mat-tab-header"]],contentQueries:function(Lt,Pe,rt){var he;1&Lt&&_.Suo(rt,ht,4),2&Lt&&_.iGM(he=_.CRH())&&(Pe._items=he)},viewQuery:function(Lt,Pe){var rt;1&Lt&&(_.Gf(Ct,7),_.Gf(dt,7),_.Gf(Qe,7),_.Gf(Bt,5),_.Gf(xt,5)),2&Lt&&(_.iGM(rt=_.CRH())&&(Pe._inkBar=rt.first),_.iGM(rt=_.CRH())&&(Pe._tabListContainer=rt.first),_.iGM(rt=_.CRH())&&(Pe._tabList=rt.first),_.iGM(rt=_.CRH())&&(Pe._nextPaginator=rt.first),_.iGM(rt=_.CRH())&&(Pe._previousPaginator=rt.first))},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(Lt,Pe){2&Lt&&_.ekj("mat-tab-header-pagination-controls-enabled",Pe._showPaginationControls)("mat-tab-header-rtl","rtl"==Pe._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[_.qOj],ngContentSelectors:oe,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(Lt,Pe){1&Lt&&(_.F$t(),_.TgZ(0,"div",0,1),_.NdJ("click",function(){return Pe._handlePaginatorClick("before")})("mousedown",function(he){return Pe._handlePaginatorPress("before",he)})("touchend",function(){return Pe._stopInterval()}),_._UZ(2,"div",2),_.qZA(),_.TgZ(3,"div",3,4),_.NdJ("keydown",function(he){return Pe._handleKeydown(he)}),_.TgZ(5,"div",5,6),_.NdJ("cdkObserveContent",function(){return Pe._onContentChanges()}),_.TgZ(7,"div",7),_.Hsn(8),_.qZA(),_._UZ(9,"mat-ink-bar"),_.qZA(),_.qZA(),_.TgZ(10,"div",8,9),_.NdJ("mousedown",function(he){return Pe._handlePaginatorPress("after",he)})("click",function(){return Pe._handlePaginatorClick("after")})("touchend",function(){return Pe._stopInterval()}),_._UZ(12,"div",2),_.qZA()),2&Lt&&(_.ekj("mat-tab-header-pagination-disabled",Pe._disableScrollBefore),_.Q6J("matRippleDisabled",Pe._disableScrollBefore||Pe.disableRipple),_.xp6(5),_.ekj("_mat-animation-noopable","NoopAnimations"===Pe._animationMode),_.xp6(5),_.ekj("mat-tab-header-pagination-disabled",Pe._disableScrollAfter),_.Q6J("matRippleDisabled",Pe._disableScrollAfter||Pe.disableRipple))},directives:[g.wG,D.wD,Ct],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n'],encapsulation:2}),Ut}(),cr=function(){var Ut=function Rt(){(0,C.Z)(this,Rt)};return Ut.\u0275fac=function(Lt){return new(Lt||Ut)},Ut.\u0275mod=_.oAB({type:Ut}),Ut.\u0275inj=_.cJS({imports:[[A.ez,g.BQ,M.eL,g.si,D.Q8,P.rt],g.BQ]}),Ut}()},38480:function(ue,q,f){"use strict";f.d(q,{Qb:function(){return md},PW:function(){return tu}});var U=f(27235),B=f(18967),V=f(14105),Z=f(10509),T=f(97154),R=f(65508),C=f(29176),v=f(739),P=f(20901),D=f(89200),M=f(36683),A=f(10629);function _(){return"undefined"!=typeof window&&void 0!==window.document}function g(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function k(Se){switch(Se.length){case 0:return new v.ZN;case 1:return Se[0];default:return new v.ZE(Se)}}function N(Se,ge,Q,ee){var Ee=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},Ve=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},lt=[],wt=[],Zt=-1,$t=null;if(ee.forEach(function(An){var Bn=An.offset,Qn=Bn==Zt,hr=Qn&&$t||{};Object.keys(An).forEach(function(Ir){var Cr=Ir,Er=An[Ir];if("offset"!==Ir)switch(Cr=ge.normalizePropertyName(Cr,lt),Er){case v.k1:Er=Ee[Ir];break;case v.l3:Er=Ve[Ir];break;default:Er=ge.normalizeStyleValue(Ir,Cr,Er,lt)}hr[Cr]=Er}),Qn||wt.push(hr),$t=hr,Zt=Bn}),lt.length){var un="\n - ";throw new Error("Unable to animate due to the following errors:".concat(un).concat(lt.join(un)))}return wt}function E(Se,ge,Q,ee){switch(ge){case"start":Se.onStart(function(){return ee(Q&&x(Q,"start",Se))});break;case"done":Se.onDone(function(){return ee(Q&&x(Q,"done",Se))});break;case"destroy":Se.onDestroy(function(){return ee(Q&&x(Q,"destroy",Se))})}}function x(Se,ge,Q){var ee=Q.totalTime,Ve=S(Se.element,Se.triggerName,Se.fromState,Se.toState,ge||Se.phaseName,null==ee?Se.totalTime:ee,!!Q.disabled),lt=Se._data;return null!=lt&&(Ve._data=lt),Ve}function S(Se,ge,Q,ee){var Ee=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",Ve=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,lt=arguments.length>6?arguments[6]:void 0;return{element:Se,triggerName:ge,fromState:Q,toState:ee,phaseName:Ee,totalTime:Ve,disabled:!!lt}}function O(Se,ge,Q){var ee;return Se instanceof Map?(ee=Se.get(ge))||Se.set(ge,ee=Q):(ee=Se[ge])||(ee=Se[ge]=Q),ee}function L(Se){var ge=Se.indexOf(":");return[Se.substring(1,ge),Se.substr(ge+1)]}var j=function(ge,Q){return!1},z=function(ge,Q){return!1},ie=function(ge,Q,ee){return[]},ae=g();(ae||"undefined"!=typeof Element)&&(j=_()?function(ge,Q){for(;Q&&Q!==document.documentElement;){if(Q===ge)return!0;Q=Q.parentNode||Q.host}return!1}:function(ge,Q){return ge.contains(Q)},z=function(){if(ae||Element.prototype.matches)return function(Q,ee){return Q.matches(ee)};var Se=Element.prototype,ge=Se.matchesSelector||Se.mozMatchesSelector||Se.msMatchesSelector||Se.oMatchesSelector||Se.webkitMatchesSelector;return ge?function(Q,ee){return ge.apply(Q,[ee])}:z}(),ie=function(ge,Q,ee){var Ee=[];if(ee)for(var Ve=ge.querySelectorAll(Q),lt=0;lt<Ve.length;lt++)Ee.push(Ve[lt]);else{var wt=ge.querySelector(Q);wt&&Ee.push(wt)}return Ee});var ce=null,le=!1;function oe(Se){ce||(ce=("undefined"!=typeof document?document.body:null)||{},le=!!ce.style&&"WebkitAppearance"in ce.style);var ge=!0;return ce.style&&!function(Se){return"ebkit"==Se.substring(1,6)}(Se)&&!(ge=Se in ce.style)&&le&&(ge="Webkit"+Se.charAt(0).toUpperCase()+Se.substr(1)in ce.style),ge}var be=z,it=j,qe=ie;function _t(Se){var ge={};return Object.keys(Se).forEach(function(Q){var ee=Q.replace(/([a-z])([A-Z])/g,"$1-$2");ge[ee]=Se[Q]}),ge}var yt=function(){var Se=function(){function ge(){(0,B.Z)(this,ge)}return(0,V.Z)(ge,[{key:"validateStyleProperty",value:function(ee){return oe(ee)}},{key:"matchesElement",value:function(ee,Ee){return be(ee,Ee)}},{key:"containsElement",value:function(ee,Ee){return it(ee,Ee)}},{key:"query",value:function(ee,Ee,Ve){return qe(ee,Ee,Ve)}},{key:"computeStyle",value:function(ee,Ee,Ve){return Ve||""}},{key:"animate",value:function(ee,Ee,Ve,lt,wt){return new v.ZN(Ve,lt)}}]),ge}();return Se.\u0275fac=function(Q){return new(Q||Se)},Se.\u0275prov=R.Yz7({token:Se,factory:Se.\u0275fac}),Se}(),Ft=function(){var Se=function ge(){(0,B.Z)(this,ge)};return Se.NOOP=new yt,Se}(),dt="ng-enter",Qe="ng-leave",vt="ng-trigger",Qt=".ng-trigger",Ht="ng-animating",Ct=".ng-animating";function Vt(Se){if("number"==typeof Se)return Se;var ge=Se.match(/^(-?[\.\d]+)(m?s)/);return!ge||ge.length<2?0:bt(parseFloat(ge[1]),ge[2])}function bt(Se,ge){switch(ge){case"s":return 1e3*Se;default:return Se}}function en(Se,ge,Q){return Se.hasOwnProperty("duration")?Se:function(Se,ge,Q){var Ee,Ve=0,lt="";if("string"==typeof Se){var wt=Se.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===wt)return ge.push('The provided timing value "'.concat(Se,'" is invalid.')),{duration:0,delay:0,easing:""};Ee=bt(parseFloat(wt[1]),wt[2]);var Zt=wt[3];null!=Zt&&(Ve=bt(parseFloat(Zt),wt[4]));var $t=wt[5];$t&&(lt=$t)}else Ee=Se;if(!Q){var un=!1,An=ge.length;Ee<0&&(ge.push("Duration values below 0 are not allowed for this animation step."),un=!0),Ve<0&&(ge.push("Delay values below 0 are not allowed for this animation step."),un=!0),un&&ge.splice(An,0,'The provided timing value "'.concat(Se,'" is invalid.'))}return{duration:Ee,delay:Ve,easing:lt}}(Se,ge,Q)}function rn(Se){var ge=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(Se).forEach(function(Q){ge[Q]=Se[Q]}),ge}function Nn(Se,ge){var Q=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(ge)for(var ee in Se)Q[ee]=Se[ee];else rn(Se,Q);return Q}function In(Se,ge,Q){return Q?ge+":"+Q+";":""}function $n(Se){for(var ge="",Q=0;Q<Se.style.length;Q++){var ee=Se.style.item(Q);ge+=In(0,ee,Se.style.getPropertyValue(ee))}for(var Ee in Se.style)Se.style.hasOwnProperty(Ee)&&!Ee.startsWith("_")&&(ge+=In(0,ht(Ee),Se.style[Ee]));Se.setAttribute("style",ge)}function Rn(Se,ge,Q){Se.style&&(Object.keys(ge).forEach(function(ee){var Ee=ct(ee);Q&&!Q.hasOwnProperty(ee)&&(Q[ee]=Se.style[Ee]),Se.style[Ee]=ge[ee]}),g()&&$n(Se))}function wn(Se,ge){Se.style&&(Object.keys(ge).forEach(function(Q){var ee=ct(Q);Se.style[ee]=""}),g()&&$n(Se))}function yr(Se){return Array.isArray(Se)?1==Se.length?Se[0]:(0,v.vP)(Se):Se}var He=new RegExp("".concat("{{","\\s*(.+?)\\s*").concat("}}"),"g");function ve(Se){var ge=[];if("string"==typeof Se){for(var Q;Q=He.exec(Se);)ge.push(Q[1]);He.lastIndex=0}return ge}function ye(Se,ge,Q){var ee=Se.toString(),Ee=ee.replace(He,function(Ve,lt){var wt=ge[lt];return ge.hasOwnProperty(lt)||(Q.push("Please provide a value for the animation param ".concat(lt)),wt=""),wt.toString()});return Ee==ee?Se:Ee}function Te(Se){for(var ge=[],Q=Se.next();!Q.done;)ge.push(Q.value),Q=Se.next();return ge}var we=/-+([a-z0-9])/g;function ct(Se){return Se.replace(we,function(){for(var ge=arguments.length,Q=new Array(ge),ee=0;ee<ge;ee++)Q[ee]=arguments[ee];return Q[1].toUpperCase()})}function ht(Se){return Se.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Jt(Se,ge){return 0===Se||0===ge}function Kt(Se,ge,Q){var ee=Object.keys(Q);if(ee.length&&ge.length){var Ee=ge[0],Ve=[];if(ee.forEach(function(Zt){Ee.hasOwnProperty(Zt)||Ve.push(Zt),Ee[Zt]=Q[Zt]}),Ve.length)for(var lt=function(){var $t=ge[wt];Ve.forEach(function(un){$t[un]=nn(Se,un)})},wt=1;wt<ge.length;wt++)lt()}return ge}function Yt(Se,ge,Q){switch(ge.type){case 7:return Se.visitTrigger(ge,Q);case 0:return Se.visitState(ge,Q);case 1:return Se.visitTransition(ge,Q);case 2:return Se.visitSequence(ge,Q);case 3:return Se.visitGroup(ge,Q);case 4:return Se.visitAnimate(ge,Q);case 5:return Se.visitKeyframes(ge,Q);case 6:return Se.visitStyle(ge,Q);case 8:return Se.visitReference(ge,Q);case 9:return Se.visitAnimateChild(ge,Q);case 10:return Se.visitAnimateRef(ge,Q);case 11:return Se.visitQuery(ge,Q);case 12:return Se.visitStagger(ge,Q);default:throw new Error("Unable to resolve animation metadata node #".concat(ge.type))}}function nn(Se,ge){return window.getComputedStyle(Se)[ge]}function yn(Se,ge){var Q=[];return"string"==typeof Se?Se.split(/\s*,\s*/).forEach(function(ee){return function(Se,ge,Q){if(":"==Se[0]){var ee=function(Se,ge){switch(Se){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(Q,ee){return parseFloat(ee)>parseFloat(Q)};case":decrement":return function(Q,ee){return parseFloat(ee)<parseFloat(Q)};default:return ge.push('The transition alias value "'.concat(Se,'" is not supported')),"* => *"}}(Se,Q);if("function"==typeof ee)return void ge.push(ee);Se=ee}var Ee=Se.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==Ee||Ee.length<4)return Q.push('The provided transition expression "'.concat(Se,'" is not supported')),ge;var Ve=Ee[1],lt=Ee[2],wt=Ee[3];ge.push(Sn(Ve,wt)),"<"==lt[0]&&!("*"==Ve&&"*"==wt)&&ge.push(Sn(wt,Ve))}(ee,Q,ge)}):Q.push(Se),Q}var Yn=new Set(["true","1"]),Cn=new Set(["false","0"]);function Sn(Se,ge){var Q=Yn.has(Se)||Cn.has(Se),ee=Yn.has(ge)||Cn.has(ge);return function(Ee,Ve){var lt="*"==Se||Se==Ee,wt="*"==ge||ge==Ve;return!lt&&Q&&"boolean"==typeof Ee&&(lt=Ee?Yn.has(Se):Cn.has(Se)),!wt&&ee&&"boolean"==typeof Ve&&(wt=Ve?Yn.has(ge):Cn.has(ge)),lt&&wt}}var cr=new RegExp("s*".concat(":self","s*,?"),"g");function Ut(Se,ge,Q){return new Lt(Se).build(ge,Q)}var Lt=function(){function Se(ge){(0,B.Z)(this,Se),this._driver=ge}return(0,V.Z)(Se,[{key:"build",value:function(Q,ee){var Ee=new he(ee);return this._resetContextStyleTimingState(Ee),Yt(this,yr(Q),Ee)}},{key:"_resetContextStyleTimingState",value:function(Q){Q.currentQuerySelector="",Q.collectedStyles={},Q.collectedStyles[""]={},Q.currentTime=0}},{key:"visitTrigger",value:function(Q,ee){var Ee=this,Ve=ee.queryCount=0,lt=ee.depCount=0,wt=[],Zt=[];return"@"==Q.name.charAt(0)&&ee.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),Q.definitions.forEach(function($t){if(Ee._resetContextStyleTimingState(ee),0==$t.type){var un=$t,An=un.name;An.toString().split(/\s*,\s*/).forEach(function(Qn){un.name=Qn,wt.push(Ee.visitState(un,ee))}),un.name=An}else if(1==$t.type){var Bn=Ee.visitTransition($t,ee);Ve+=Bn.queryCount,lt+=Bn.depCount,Zt.push(Bn)}else ee.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:Q.name,states:wt,transitions:Zt,queryCount:Ve,depCount:lt,options:null}}},{key:"visitState",value:function(Q,ee){var Ee=this.visitStyle(Q.styles,ee),Ve=Q.options&&Q.options.params||null;if(Ee.containsDynamicStyles){var lt=new Set,wt=Ve||{};if(Ee.styles.forEach(function($t){if(Ne($t)){var un=$t;Object.keys(un).forEach(function(An){ve(un[An]).forEach(function(Bn){wt.hasOwnProperty(Bn)||lt.add(Bn)})})}}),lt.size){var Zt=Te(lt.values());ee.errors.push('state("'.concat(Q.name,'", ...) must define default values for all the following style substitutions: ').concat(Zt.join(", ")))}}return{type:0,name:Q.name,style:Ee,options:Ve?{params:Ve}:null}}},{key:"visitTransition",value:function(Q,ee){ee.queryCount=0,ee.depCount=0;var Ee=Yt(this,yr(Q.animation),ee);return{type:1,matchers:yn(Q.expr,ee.errors),animation:Ee,queryCount:ee.queryCount,depCount:ee.depCount,options:ze(Q.options)}}},{key:"visitSequence",value:function(Q,ee){var Ee=this;return{type:2,steps:Q.steps.map(function(Ve){return Yt(Ee,Ve,ee)}),options:ze(Q.options)}}},{key:"visitGroup",value:function(Q,ee){var Ee=this,Ve=ee.currentTime,lt=0,wt=Q.steps.map(function(Zt){ee.currentTime=Ve;var $t=Yt(Ee,Zt,ee);return lt=Math.max(lt,ee.currentTime),$t});return ee.currentTime=lt,{type:3,steps:wt,options:ze(Q.options)}}},{key:"visitAnimate",value:function(Q,ee){var Ee=function(Se,ge){var Q=null;if(Se.hasOwnProperty("duration"))Q=Se;else if("number"==typeof Se)return At(en(Se,ge).duration,0,"");var Ee=Se;if(Ee.split(/\s+/).some(function(wt){return"{"==wt.charAt(0)&&"{"==wt.charAt(1)})){var lt=At(0,0,"");return lt.dynamic=!0,lt.strValue=Ee,lt}return At((Q=Q||en(Ee,ge)).duration,Q.delay,Q.easing)}(Q.timings,ee.errors);ee.currentAnimateTimings=Ee;var Ve,lt=Q.styles?Q.styles:(0,v.oB)({});if(5==lt.type)Ve=this.visitKeyframes(lt,ee);else{var wt=Q.styles,Zt=!1;if(!wt){Zt=!0;var $t={};Ee.easing&&($t.easing=Ee.easing),wt=(0,v.oB)($t)}ee.currentTime+=Ee.duration+Ee.delay;var un=this.visitStyle(wt,ee);un.isEmptyStep=Zt,Ve=un}return ee.currentAnimateTimings=null,{type:4,timings:Ee,style:Ve,options:null}}},{key:"visitStyle",value:function(Q,ee){var Ee=this._makeStyleAst(Q,ee);return this._validateStyleAst(Ee,ee),Ee}},{key:"_makeStyleAst",value:function(Q,ee){var Ee=[];Array.isArray(Q.styles)?Q.styles.forEach(function(wt){"string"==typeof wt?wt==v.l3?Ee.push(wt):ee.errors.push("The provided style string value ".concat(wt," is not allowed.")):Ee.push(wt)}):Ee.push(Q.styles);var Ve=!1,lt=null;return Ee.forEach(function(wt){if(Ne(wt)){var Zt=wt,$t=Zt.easing;if($t&&(lt=$t,delete Zt.easing),!Ve)for(var un in Zt)if(Zt[un].toString().indexOf("{{")>=0){Ve=!0;break}}}),{type:6,styles:Ee,easing:lt,offset:Q.offset,containsDynamicStyles:Ve,options:null}}},{key:"_validateStyleAst",value:function(Q,ee){var Ee=this,Ve=ee.currentAnimateTimings,lt=ee.currentTime,wt=ee.currentTime;Ve&&wt>0&&(wt-=Ve.duration+Ve.delay),Q.styles.forEach(function(Zt){"string"!=typeof Zt&&Object.keys(Zt).forEach(function($t){if(Ee._driver.validateStyleProperty($t)){var un=ee.collectedStyles[ee.currentQuerySelector],An=un[$t],Bn=!0;An&&(wt!=lt&&wt>=An.startTime&&lt<=An.endTime&&(ee.errors.push('The CSS property "'.concat($t,'" that exists between the times of "').concat(An.startTime,'ms" and "').concat(An.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(wt,'ms" and "').concat(lt,'ms"')),Bn=!1),wt=An.startTime),Bn&&(un[$t]={startTime:wt,endTime:lt}),ee.options&&function(Se,ge,Q){var ee=ge.params||{},Ee=ve(Se);Ee.length&&Ee.forEach(function(Ve){ee.hasOwnProperty(Ve)||Q.push("Unable to resolve the local animation param ".concat(Ve," in the given list of values"))})}(Zt[$t],ee.options,ee.errors)}else ee.errors.push('The provided animation property "'.concat($t,'" is not a supported CSS property for animations'))})})}},{key:"visitKeyframes",value:function(Q,ee){var Ee=this,Ve={type:5,styles:[],options:null};if(!ee.currentAnimateTimings)return ee.errors.push("keyframes() must be placed inside of a call to animate()"),Ve;var wt=0,Zt=[],$t=!1,un=!1,An=0,Bn=Q.steps.map(function(hi){var oi=Ee._makeStyleAst(hi,ee),Mo=null!=oi.offset?oi.offset:function(Se){if("string"==typeof Se)return null;var ge=null;if(Array.isArray(Se))Se.forEach(function(ee){if(Ne(ee)&&ee.hasOwnProperty("offset")){var Ee=ee;ge=parseFloat(Ee.offset),delete Ee.offset}});else if(Ne(Se)&&Se.hasOwnProperty("offset")){var Q=Se;ge=parseFloat(Q.offset),delete Q.offset}return ge}(oi.styles),Be=0;return null!=Mo&&(wt++,Be=oi.offset=Mo),un=un||Be<0||Be>1,$t=$t||Be<An,An=Be,Zt.push(Be),oi});un&&ee.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),$t&&ee.errors.push("Please ensure that all keyframe offsets are in order");var Qn=Q.steps.length,hr=0;wt>0&&wt<Qn?ee.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==wt&&(hr=1/(Qn-1));var Ir=Qn-1,Cr=ee.currentTime,Er=ee.currentAnimateTimings,ui=Er.duration;return Bn.forEach(function(hi,oi){var Mo=hr>0?oi==Ir?1:hr*oi:Zt[oi],Be=Mo*ui;ee.currentTime=Cr+Er.delay+Be,Er.duration=Be,Ee._validateStyleAst(hi,ee),hi.offset=Mo,Ve.styles.push(hi)}),Ve}},{key:"visitReference",value:function(Q,ee){return{type:8,animation:Yt(this,yr(Q.animation),ee),options:ze(Q.options)}}},{key:"visitAnimateChild",value:function(Q,ee){return ee.depCount++,{type:9,options:ze(Q.options)}}},{key:"visitAnimateRef",value:function(Q,ee){return{type:10,animation:this.visitReference(Q.animation,ee),options:ze(Q.options)}}},{key:"visitQuery",value:function(Q,ee){var Ee=ee.currentQuerySelector,Ve=Q.options||{};ee.queryCount++,ee.currentQuery=Q;var lt=function(Se){var ge=!!Se.split(/\s*,\s*/).find(function(Q){return":self"==Q});return ge&&(Se=Se.replace(cr,"")),[Se=Se.replace(/@\*/g,Qt).replace(/@\w+/g,function(Q){return Qt+"-"+Q.substr(1)}).replace(/:animating/g,Ct),ge]}(Q.selector),wt=(0,U.Z)(lt,2),Zt=wt[0],$t=wt[1];ee.currentQuerySelector=Ee.length?Ee+" "+Zt:Zt,O(ee.collectedStyles,ee.currentQuerySelector,{});var un=Yt(this,yr(Q.animation),ee);return ee.currentQuery=null,ee.currentQuerySelector=Ee,{type:11,selector:Zt,limit:Ve.limit||0,optional:!!Ve.optional,includeSelf:$t,animation:un,originalSelector:Q.selector,options:ze(Q.options)}}},{key:"visitStagger",value:function(Q,ee){ee.currentQuery||ee.errors.push("stagger() can only be used inside of query()");var Ee="full"===Q.timings?{duration:0,delay:0,easing:"full"}:en(Q.timings,ee.errors,!0);return{type:12,animation:Yt(this,yr(Q.animation),ee),timings:Ee,options:null}}}]),Se}(),he=function Se(ge){(0,B.Z)(this,Se),this.errors=ge,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null};function Ne(Se){return!Array.isArray(Se)&&"object"==typeof Se}function ze(Se){return Se?(Se=rn(Se)).params&&(Se.params=function(Se){return Se?rn(Se):null}(Se.params)):Se={},Se}function At(Se,ge,Q){return{duration:Se,delay:ge,easing:Q}}function an(Se,ge,Q,ee,Ee,Ve){var lt=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,wt=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:Se,keyframes:ge,preStyleProps:Q,postStyleProps:ee,duration:Ee,delay:Ve,totalTime:Ee+Ve,easing:lt,subTimeline:wt}}var qn=function(){function Se(){(0,B.Z)(this,Se),this._map=new Map}return(0,V.Z)(Se,[{key:"consume",value:function(Q){var ee=this._map.get(Q);return ee?this._map.delete(Q):ee=[],ee}},{key:"append",value:function(Q,ee){var Ee,Ve=this._map.get(Q);Ve||this._map.set(Q,Ve=[]),(Ee=Ve).push.apply(Ee,(0,A.Z)(ee))}},{key:"has",value:function(Q){return this._map.has(Q)}},{key:"clear",value:function(){this._map.clear()}}]),Se}(),br=new RegExp(":enter","g"),uo=new RegExp(":leave","g");function Ni(Se,ge,Q,ee,Ee){var Ve=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},lt=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},wt=arguments.length>7?arguments[7]:void 0,Zt=arguments.length>8?arguments[8]:void 0,$t=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new yo).buildKeyframes(Se,ge,Q,ee,Ee,Ve,lt,wt,Zt,$t)}var yo=function(){function Se(){(0,B.Z)(this,Se)}return(0,V.Z)(Se,[{key:"buildKeyframes",value:function(Q,ee,Ee,Ve,lt,wt,Zt,$t,un){var An=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];un=un||new qn;var Bn=new Qo(Q,ee,un,Ve,lt,An,[]);Bn.options=$t,Bn.currentTimeline.setStyles([wt],null,Bn.errors,$t),Yt(this,Ee,Bn);var Qn=Bn.timelines.filter(function(Ir){return Ir.containsAnimation()});if(Qn.length&&Object.keys(Zt).length){var hr=Qn[Qn.length-1];hr.allowOnlyTimelineStyles()||hr.setStyles([Zt],null,Bn.errors,$t)}return Qn.length?Qn.map(function(Ir){return Ir.buildKeyframes()}):[an(ee,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(Q,ee){}},{key:"visitState",value:function(Q,ee){}},{key:"visitTransition",value:function(Q,ee){}},{key:"visitAnimateChild",value:function(Q,ee){var Ee=ee.subInstructions.consume(ee.element);if(Ee){var Ve=ee.createSubContext(Q.options),lt=ee.currentTimeline.currentTime,wt=this._visitSubInstructions(Ee,Ve,Ve.options);lt!=wt&&ee.transformIntoNewTimeline(wt)}ee.previousNode=Q}},{key:"visitAnimateRef",value:function(Q,ee){var Ee=ee.createSubContext(Q.options);Ee.transformIntoNewTimeline(),this.visitReference(Q.animation,Ee),ee.transformIntoNewTimeline(Ee.currentTimeline.currentTime),ee.previousNode=Q}},{key:"_visitSubInstructions",value:function(Q,ee,Ee){var lt=ee.currentTimeline.currentTime,wt=null!=Ee.duration?Vt(Ee.duration):null,Zt=null!=Ee.delay?Vt(Ee.delay):null;return 0!==wt&&Q.forEach(function($t){var un=ee.appendInstructionToTimeline($t,wt,Zt);lt=Math.max(lt,un.duration+un.delay)}),lt}},{key:"visitReference",value:function(Q,ee){ee.updateOptions(Q.options,!0),Yt(this,Q.animation,ee),ee.previousNode=Q}},{key:"visitSequence",value:function(Q,ee){var Ee=this,Ve=ee.subContextCount,lt=ee,wt=Q.options;if(wt&&(wt.params||wt.delay)&&((lt=ee.createSubContext(wt)).transformIntoNewTimeline(),null!=wt.delay)){6==lt.previousNode.type&&(lt.currentTimeline.snapshotCurrentStyles(),lt.previousNode=co);var Zt=Vt(wt.delay);lt.delayNextStep(Zt)}Q.steps.length&&(Q.steps.forEach(function($t){return Yt(Ee,$t,lt)}),lt.currentTimeline.applyStylesToKeyframe(),lt.subContextCount>Ve&&lt.transformIntoNewTimeline()),ee.previousNode=Q}},{key:"visitGroup",value:function(Q,ee){var Ee=this,Ve=[],lt=ee.currentTimeline.currentTime,wt=Q.options&&Q.options.delay?Vt(Q.options.delay):0;Q.steps.forEach(function(Zt){var $t=ee.createSubContext(Q.options);wt&&$t.delayNextStep(wt),Yt(Ee,Zt,$t),lt=Math.max(lt,$t.currentTimeline.currentTime),Ve.push($t.currentTimeline)}),Ve.forEach(function(Zt){return ee.currentTimeline.mergeTimelineCollectedStyles(Zt)}),ee.transformIntoNewTimeline(lt),ee.previousNode=Q}},{key:"_visitTiming",value:function(Q,ee){if(Q.dynamic){var Ee=Q.strValue;return en(ee.params?ye(Ee,ee.params,ee.errors):Ee,ee.errors)}return{duration:Q.duration,delay:Q.delay,easing:Q.easing}}},{key:"visitAnimate",value:function(Q,ee){var Ee=ee.currentAnimateTimings=this._visitTiming(Q.timings,ee),Ve=ee.currentTimeline;Ee.delay&&(ee.incrementTime(Ee.delay),Ve.snapshotCurrentStyles());var lt=Q.style;5==lt.type?this.visitKeyframes(lt,ee):(ee.incrementTime(Ee.duration),this.visitStyle(lt,ee),Ve.applyStylesToKeyframe()),ee.currentAnimateTimings=null,ee.previousNode=Q}},{key:"visitStyle",value:function(Q,ee){var Ee=ee.currentTimeline,Ve=ee.currentAnimateTimings;!Ve&&Ee.getCurrentStyleProperties().length&&Ee.forwardFrame();var lt=Ve&&Ve.easing||Q.easing;Q.isEmptyStep?Ee.applyEmptyStep(lt):Ee.setStyles(Q.styles,lt,ee.errors,ee.options),ee.previousNode=Q}},{key:"visitKeyframes",value:function(Q,ee){var Ee=ee.currentAnimateTimings,Ve=ee.currentTimeline.duration,lt=Ee.duration,Zt=ee.createSubContext().currentTimeline;Zt.easing=Ee.easing,Q.styles.forEach(function($t){Zt.forwardTime(($t.offset||0)*lt),Zt.setStyles($t.styles,$t.easing,ee.errors,ee.options),Zt.applyStylesToKeyframe()}),ee.currentTimeline.mergeTimelineCollectedStyles(Zt),ee.transformIntoNewTimeline(Ve+lt),ee.previousNode=Q}},{key:"visitQuery",value:function(Q,ee){var Ee=this,Ve=ee.currentTimeline.currentTime,lt=Q.options||{},wt=lt.delay?Vt(lt.delay):0;wt&&(6===ee.previousNode.type||0==Ve&&ee.currentTimeline.getCurrentStyleProperties().length)&&(ee.currentTimeline.snapshotCurrentStyles(),ee.previousNode=co);var Zt=Ve,$t=ee.invokeQuery(Q.selector,Q.originalSelector,Q.limit,Q.includeSelf,!!lt.optional,ee.errors);ee.currentQueryTotal=$t.length;var un=null;$t.forEach(function(An,Bn){ee.currentQueryIndex=Bn;var Qn=ee.createSubContext(Q.options,An);wt&&Qn.delayNextStep(wt),An===ee.element&&(un=Qn.currentTimeline),Yt(Ee,Q.animation,Qn),Qn.currentTimeline.applyStylesToKeyframe(),Zt=Math.max(Zt,Qn.currentTimeline.currentTime)}),ee.currentQueryIndex=0,ee.currentQueryTotal=0,ee.transformIntoNewTimeline(Zt),un&&(ee.currentTimeline.mergeTimelineCollectedStyles(un),ee.currentTimeline.snapshotCurrentStyles()),ee.previousNode=Q}},{key:"visitStagger",value:function(Q,ee){var Ee=ee.parentContext,Ve=ee.currentTimeline,lt=Q.timings,wt=Math.abs(lt.duration),Zt=wt*(ee.currentQueryTotal-1),$t=wt*ee.currentQueryIndex;switch(lt.duration<0?"reverse":lt.easing){case"reverse":$t=Zt-$t;break;case"full":$t=Ee.currentStaggerTime}var An=ee.currentTimeline;$t&&An.delayNextStep($t);var Bn=An.currentTime;Yt(this,Q.animation,ee),ee.previousNode=Q,Ee.currentStaggerTime=Ve.currentTime-Bn+(Ve.startTime-Ee.currentTimeline.startTime)}}]),Se}(),co={},Qo=function(){function Se(ge,Q,ee,Ee,Ve,lt,wt,Zt){(0,B.Z)(this,Se),this._driver=ge,this.element=Q,this.subInstructions=ee,this._enterClassName=Ee,this._leaveClassName=Ve,this.errors=lt,this.timelines=wt,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=co,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Zt||new wi(this._driver,Q,0),wt.push(this.currentTimeline)}return(0,V.Z)(Se,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(Q,ee){var Ee=this;if(Q){var Ve=Q,lt=this.options;null!=Ve.duration&&(lt.duration=Vt(Ve.duration)),null!=Ve.delay&&(lt.delay=Vt(Ve.delay));var wt=Ve.params;if(wt){var Zt=lt.params;Zt||(Zt=this.options.params={}),Object.keys(wt).forEach(function($t){(!ee||!Zt.hasOwnProperty($t))&&(Zt[$t]=ye(wt[$t],Zt,Ee.errors))})}}}},{key:"_copyOptions",value:function(){var Q={};if(this.options){var ee=this.options.params;if(ee){var Ee=Q.params={};Object.keys(ee).forEach(function(Ve){Ee[Ve]=ee[Ve]})}}return Q}},{key:"createSubContext",value:function(){var Q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,ee=arguments.length>1?arguments[1]:void 0,Ee=arguments.length>2?arguments[2]:void 0,Ve=ee||this.element,lt=new Se(this._driver,Ve,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(Ve,Ee||0));return lt.previousNode=this.previousNode,lt.currentAnimateTimings=this.currentAnimateTimings,lt.options=this._copyOptions(),lt.updateOptions(Q),lt.currentQueryIndex=this.currentQueryIndex,lt.currentQueryTotal=this.currentQueryTotal,lt.parentContext=this,this.subContextCount++,lt}},{key:"transformIntoNewTimeline",value:function(Q){return this.previousNode=co,this.currentTimeline=this.currentTimeline.fork(this.element,Q),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(Q,ee,Ee){var Ve={duration:null!=ee?ee:Q.duration,delay:this.currentTimeline.currentTime+(null!=Ee?Ee:0)+Q.delay,easing:""},lt=new ro(this._driver,Q.element,Q.keyframes,Q.preStyleProps,Q.postStyleProps,Ve,Q.stretchStartingKeyframe);return this.timelines.push(lt),Ve}},{key:"incrementTime",value:function(Q){this.currentTimeline.forwardTime(this.currentTimeline.duration+Q)}},{key:"delayNextStep",value:function(Q){Q>0&&this.currentTimeline.delayNextStep(Q)}},{key:"invokeQuery",value:function(Q,ee,Ee,Ve,lt,wt){var Zt=[];if(Ve&&Zt.push(this.element),Q.length>0){Q=(Q=Q.replace(br,"."+this._enterClassName)).replace(uo,"."+this._leaveClassName);var un=this._driver.query(this.element,Q,1!=Ee);0!==Ee&&(un=Ee<0?un.slice(un.length+Ee,un.length):un.slice(0,Ee)),Zt.push.apply(Zt,(0,A.Z)(un))}return!lt&&0==Zt.length&&wt.push('`query("'.concat(ee,'")` returned zero elements. (Use `query("').concat(ee,'", { optional: true })` if you wish to allow this.)')),Zt}}]),Se}(),wi=function(){function Se(ge,Q,ee,Ee){(0,B.Z)(this,Se),this._driver=ge,this.element=Q,this.startTime=ee,this._elementTimelineStylesLookup=Ee,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(Q),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(Q,this._localTimelineStyles)),this._loadKeyframe()}return(0,V.Z)(Se,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"delayNextStep",value:function(Q){var ee=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||ee?(this.forwardTime(this.currentTime+Q),ee&&this.snapshotCurrentStyles()):this.startTime+=Q}},{key:"fork",value:function(Q,ee){return this.applyStylesToKeyframe(),new Se(this._driver,Q,ee||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(Q){this.applyStylesToKeyframe(),this.duration=Q,this._loadKeyframe()}},{key:"_updateStyle",value:function(Q,ee){this._localTimelineStyles[Q]=ee,this._globalTimelineStyles[Q]=ee,this._styleSummary[Q]={time:this.currentTime,value:ee}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(Q){var ee=this;Q&&(this._previousKeyframe.easing=Q),Object.keys(this._globalTimelineStyles).forEach(function(Ee){ee._backFill[Ee]=ee._globalTimelineStyles[Ee]||v.l3,ee._currentKeyframe[Ee]=v.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(Q,ee,Ee,Ve){var lt=this;ee&&(this._previousKeyframe.easing=ee);var wt=Ve&&Ve.params||{},Zt=function(Se,ge){var ee,Q={};return Se.forEach(function(Ee){"*"===Ee?(ee=ee||Object.keys(ge)).forEach(function(Ve){Q[Ve]=v.l3}):Nn(Ee,!1,Q)}),Q}(Q,this._globalTimelineStyles);Object.keys(Zt).forEach(function($t){var un=ye(Zt[$t],wt,Ee);lt._pendingStyles[$t]=un,lt._localTimelineStyles.hasOwnProperty($t)||(lt._backFill[$t]=lt._globalTimelineStyles.hasOwnProperty($t)?lt._globalTimelineStyles[$t]:v.l3),lt._updateStyle($t,un)})}},{key:"applyStylesToKeyframe",value:function(){var Q=this,ee=this._pendingStyles,Ee=Object.keys(ee);0!=Ee.length&&(this._pendingStyles={},Ee.forEach(function(Ve){Q._currentKeyframe[Ve]=ee[Ve]}),Object.keys(this._localTimelineStyles).forEach(function(Ve){Q._currentKeyframe.hasOwnProperty(Ve)||(Q._currentKeyframe[Ve]=Q._localTimelineStyles[Ve])}))}},{key:"snapshotCurrentStyles",value:function(){var Q=this;Object.keys(this._localTimelineStyles).forEach(function(ee){var Ee=Q._localTimelineStyles[ee];Q._pendingStyles[ee]=Ee,Q._updateStyle(ee,Ee)})}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"properties",get:function(){var Q=[];for(var ee in this._currentKeyframe)Q.push(ee);return Q}},{key:"mergeTimelineCollectedStyles",value:function(Q){var ee=this;Object.keys(Q._styleSummary).forEach(function(Ee){var Ve=ee._styleSummary[Ee],lt=Q._styleSummary[Ee];(!Ve||lt.time>Ve.time)&&ee._updateStyle(Ee,lt.value)})}},{key:"buildKeyframes",value:function(){var Q=this;this.applyStylesToKeyframe();var ee=new Set,Ee=new Set,Ve=1===this._keyframes.size&&0===this.duration,lt=[];this._keyframes.forEach(function(An,Bn){var Qn=Nn(An,!0);Object.keys(Qn).forEach(function(hr){var Ir=Qn[hr];Ir==v.k1?ee.add(hr):Ir==v.l3&&Ee.add(hr)}),Ve||(Qn.offset=Bn/Q.duration),lt.push(Qn)});var wt=ee.size?Te(ee.values()):[],Zt=Ee.size?Te(Ee.values()):[];if(Ve){var $t=lt[0],un=rn($t);$t.offset=0,un.offset=1,lt=[$t,un]}return an(this.element,lt,wt,Zt,this.duration,this.startTime,this.easing,!1)}}]),Se}(),ro=function(Se){(0,Z.Z)(Q,Se);var ge=(0,T.Z)(Q);function Q(ee,Ee,Ve,lt,wt,Zt){var $t,un=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return(0,B.Z)(this,Q),($t=ge.call(this,ee,Ee,Zt.delay)).keyframes=Ve,$t.preStyleProps=lt,$t.postStyleProps=wt,$t._stretchStartingKeyframe=un,$t.timings={duration:Zt.duration,delay:Zt.delay,easing:Zt.easing},$t}return(0,V.Z)(Q,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var Ee=this.keyframes,Ve=this.timings,lt=Ve.delay,wt=Ve.duration,Zt=Ve.easing;if(this._stretchStartingKeyframe&&lt){var $t=[],un=wt+lt,An=lt/un,Bn=Nn(Ee[0],!1);Bn.offset=0,$t.push(Bn);var Qn=Nn(Ee[0],!1);Qn.offset=yi(An),$t.push(Qn);for(var hr=Ee.length-1,Ir=1;Ir<=hr;Ir++){var Cr=Nn(Ee[Ir],!1);Cr.offset=yi((lt+Cr.offset*wt)/un),$t.push(Cr)}wt=un,lt=0,Zt="",Ee=$t}return an(this.element,Ee,this.preStyleProps,this.postStyleProps,wt,lt,Zt,!0)}}]),Q}(wi);function yi(Se){var ge=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,Q=Math.pow(10,ge-1);return Math.round(Se*Q)/Q}var fi=function Se(){(0,B.Z)(this,Se)},ki=function(Se){(0,Z.Z)(Q,Se);var ge=(0,T.Z)(Q);function Q(){return(0,B.Z)(this,Q),ge.apply(this,arguments)}return(0,V.Z)(Q,[{key:"normalizePropertyName",value:function(Ee,Ve){return ct(Ee)}},{key:"normalizeStyleValue",value:function(Ee,Ve,lt,wt){var Zt="",$t=lt.toString().trim();if(Ot[Ve]&&0!==lt&&"0"!==lt)if("number"==typeof lt)Zt="px";else{var un=lt.match(/^[+-]?[\d\.]+([a-z]*)$/);un&&0==un[1].length&&wt.push("Please provide a CSS unit value for ".concat(Ee,":").concat(lt))}return $t+Zt}}]),Q}(fi),Ot=function(){return Se="width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","),ge={},Se.forEach(function(Q){return ge[Q]=!0}),ge;var Se,ge}();function Pt(Se,ge,Q,ee,Ee,Ve,lt,wt,Zt,$t,un,An,Bn){return{type:0,element:Se,triggerName:ge,isRemovalTransition:Ee,fromState:Q,fromStyles:Ve,toState:ee,toStyles:lt,timelines:wt,queriedElements:Zt,preStyleProps:$t,postStyleProps:un,totalTime:An,errors:Bn}}var qt={},Gt=function(){function Se(ge,Q,ee){(0,B.Z)(this,Se),this._triggerName=ge,this.ast=Q,this._stateStyles=ee}return(0,V.Z)(Se,[{key:"match",value:function(Q,ee,Ee,Ve){return function(Se,ge,Q,ee,Ee){return Se.some(function(Ve){return Ve(ge,Q,ee,Ee)})}(this.ast.matchers,Q,ee,Ee,Ve)}},{key:"buildStyles",value:function(Q,ee,Ee){var Ve=this._stateStyles["*"],lt=this._stateStyles[Q],wt=Ve?Ve.buildStyles(ee,Ee):{};return lt?lt.buildStyles(ee,Ee):wt}},{key:"build",value:function(Q,ee,Ee,Ve,lt,wt,Zt,$t,un,An){var Bn=[],Qn=this.ast.options&&this.ast.options.params||qt,Ir=this.buildStyles(Ee,Zt&&Zt.params||qt,Bn),Cr=$t&&$t.params||qt,Er=this.buildStyles(Ve,Cr,Bn),ui=new Set,hi=new Map,oi=new Map,Mo="void"===Ve,Be={params:Object.assign(Object.assign({},Qn),Cr)},Ye=An?[]:Ni(Q,ee,this.ast.animation,lt,wt,Ir,Er,Be,un,Bn),ke=0;if(Ye.forEach(function(Ze){ke=Math.max(Ze.duration+Ze.delay,ke)}),Bn.length)return Pt(ee,this._triggerName,Ee,Ve,Mo,Ir,Er,[],[],hi,oi,ke,Bn);Ye.forEach(function(Ze){var nt=Ze.element,Tt=O(hi,nt,{});Ze.preStyleProps.forEach(function(bn){return Tt[bn]=!0});var sn=O(oi,nt,{});Ze.postStyleProps.forEach(function(bn){return sn[bn]=!0}),nt!==ee&&ui.add(nt)});var Ue=Te(ui.values());return Pt(ee,this._triggerName,Ee,Ve,Mo,Ir,Er,Ye,Ue,hi,oi,ke)}}]),Se}(),gn=function(){function Se(ge,Q,ee){(0,B.Z)(this,Se),this.styles=ge,this.defaultParams=Q,this.normalizer=ee}return(0,V.Z)(Se,[{key:"buildStyles",value:function(Q,ee){var Ee=this,Ve={},lt=rn(this.defaultParams);return Object.keys(Q).forEach(function(wt){var Zt=Q[wt];null!=Zt&&(lt[wt]=Zt)}),this.styles.styles.forEach(function(wt){if("string"!=typeof wt){var Zt=wt;Object.keys(Zt).forEach(function($t){var un=Zt[$t];un.length>1&&(un=ye(un,lt,ee));var An=Ee.normalizer.normalizePropertyName($t,ee);un=Ee.normalizer.normalizeStyleValue($t,An,un,ee),Ve[An]=un})}}),Ve}}]),Se}(),jn=function(){function Se(ge,Q,ee){var Ee=this;(0,B.Z)(this,Se),this.name=ge,this.ast=Q,this._normalizer=ee,this.transitionFactories=[],this.states={},Q.states.forEach(function(Ve){Ee.states[Ve.name]=new gn(Ve.style,Ve.options&&Ve.options.params||{},ee)}),si(this.states,"true","1"),si(this.states,"false","0"),Q.transitions.forEach(function(Ve){Ee.transitionFactories.push(new Gt(ge,Ve,Ee.states))}),this.fallbackTransition=function(Se,ge,Q){return new Gt(Se,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(lt,wt){return!0}],options:null,queryCount:0,depCount:0},ge)}(ge,this.states)}return(0,V.Z)(Se,[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(Q,ee,Ee,Ve){return this.transitionFactories.find(function(wt){return wt.match(Q,ee,Ee,Ve)})||null}},{key:"matchStyles",value:function(Q,ee,Ee){return this.fallbackTransition.buildStyles(Q,ee,Ee)}}]),Se}();function si(Se,ge,Q){Se.hasOwnProperty(ge)?Se.hasOwnProperty(Q)||(Se[Q]=Se[ge]):Se.hasOwnProperty(Q)&&(Se[ge]=Se[Q])}var bi=new qn,io=function(){function Se(ge,Q,ee){(0,B.Z)(this,Se),this.bodyNode=ge,this._driver=Q,this._normalizer=ee,this._animations={},this._playersById={},this.players=[]}return(0,V.Z)(Se,[{key:"register",value:function(Q,ee){var Ee=[],Ve=Ut(this._driver,ee,Ee);if(Ee.length)throw new Error("Unable to build the animation due to the following errors: ".concat(Ee.join("\n")));this._animations[Q]=Ve}},{key:"_buildPlayer",value:function(Q,ee,Ee){var Ve=Q.element,lt=N(this._driver,this._normalizer,Ve,Q.keyframes,ee,Ee);return this._driver.animate(Ve,lt,Q.duration,Q.delay,Q.easing,[],!0)}},{key:"create",value:function(Q,ee){var Zt,Ee=this,Ve=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},lt=[],wt=this._animations[Q],$t=new Map;if(wt?(Zt=Ni(this._driver,ee,wt,dt,Qe,{},{},Ve,bi,lt)).forEach(function(Bn){var Qn=O($t,Bn.element,{});Bn.postStyleProps.forEach(function(hr){return Qn[hr]=null})}):(lt.push("The requested animation doesn't exist or has already been destroyed"),Zt=[]),lt.length)throw new Error("Unable to create the animation due to the following errors: ".concat(lt.join("\n")));$t.forEach(function(Bn,Qn){Object.keys(Bn).forEach(function(hr){Bn[hr]=Ee._driver.computeStyle(Qn,hr,v.l3)})});var un=Zt.map(function(Bn){var Qn=$t.get(Bn.element);return Ee._buildPlayer(Bn,{},Qn)}),An=k(un);return this._playersById[Q]=An,An.onDestroy(function(){return Ee.destroy(Q)}),this.players.push(An),An}},{key:"destroy",value:function(Q){var ee=this._getPlayer(Q);ee.destroy(),delete this._playersById[Q];var Ee=this.players.indexOf(ee);Ee>=0&&this.players.splice(Ee,1)}},{key:"_getPlayer",value:function(Q){var ee=this._playersById[Q];if(!ee)throw new Error("Unable to find the timeline player referenced by ".concat(Q));return ee}},{key:"listen",value:function(Q,ee,Ee,Ve){var lt=S(ee,"","","");return E(this._getPlayer(Q),Ee,lt,Ve),function(){}}},{key:"command",value:function(Q,ee,Ee,Ve){if("register"!=Ee)if("create"!=Ee){var wt=this._getPlayer(Q);switch(Ee){case"play":wt.play();break;case"pause":wt.pause();break;case"reset":wt.reset();break;case"restart":wt.restart();break;case"finish":wt.finish();break;case"init":wt.init();break;case"setPosition":wt.setPosition(parseFloat(Ve[0]));break;case"destroy":this.destroy(Q)}}else this.create(Q,ee,Ve[0]||{});else this.register(Q,Ve[0])}}]),Se}(),bo="ng-animate-queued",Po="ng-animate-disabled",Ko=".ng-animate-disabled",ko="ng-star-inserted",Ho=[],oo={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ji={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Yi="__ng_removed",Vo=function(){function Se(ge){var Q=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";(0,B.Z)(this,Se),this.namespaceId=Q;var ee=ge&&ge.hasOwnProperty("value"),Ee=ee?ge.value:ge;if(this.value=ha(Ee),ee){var Ve=rn(ge);delete Ve.value,this.options=Ve}else this.options={};this.options.params||(this.options.params={})}return(0,V.Z)(Se,[{key:"params",get:function(){return this.options.params}},{key:"absorbOptions",value:function(Q){var ee=Q.params;if(ee){var Ee=this.options.params;Object.keys(ee).forEach(function(Ve){null==Ee[Ve]&&(Ee[Ve]=ee[Ve])})}}}]),Se}(),Ci="void",Ji=new Vo(Ci),fn=function(){function Se(ge,Q,ee){(0,B.Z)(this,Se),this.id=ge,this.hostElement=Q,this._engine=ee,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+ge,So(Q,this._hostClassName)}return(0,V.Z)(Se,[{key:"listen",value:function(Q,ee,Ee,Ve){var lt=this;if(!this._triggers.hasOwnProperty(ee))throw new Error('Unable to listen on the animation trigger event "'.concat(Ee,'" because the animation trigger "').concat(ee,"\" doesn't exist!"));if(null==Ee||0==Ee.length)throw new Error('Unable to listen on the animation trigger "'.concat(ee,'" because the provided event is undefined!'));if(!function(Se){return"start"==Se||"done"==Se}(Ee))throw new Error('The provided animation trigger event "'.concat(Ee,'" for the animation trigger "').concat(ee,'" is not supported!'));var wt=O(this._elementListeners,Q,[]),Zt={name:ee,phase:Ee,callback:Ve};wt.push(Zt);var $t=O(this._engine.statesByElement,Q,{});return $t.hasOwnProperty(ee)||(So(Q,vt),So(Q,vt+"-"+ee),$t[ee]=Ji),function(){lt._engine.afterFlush(function(){var un=wt.indexOf(Zt);un>=0&&wt.splice(un,1),lt._triggers[ee]||delete $t[ee]})}}},{key:"register",value:function(Q,ee){return!this._triggers[Q]&&(this._triggers[Q]=ee,!0)}},{key:"_getTrigger",value:function(Q){var ee=this._triggers[Q];if(!ee)throw new Error('The provided animation trigger "'.concat(Q,'" has not been registered!'));return ee}},{key:"trigger",value:function(Q,ee,Ee){var Ve=this,lt=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],wt=this._getTrigger(ee),Zt=new fr(this.id,ee,Q),$t=this._engine.statesByElement.get(Q);$t||(So(Q,vt),So(Q,vt+"-"+ee),this._engine.statesByElement.set(Q,$t={}));var un=$t[ee],An=new Vo(Ee,this.id),Bn=Ee&&Ee.hasOwnProperty("value");!Bn&&un&&An.absorbOptions(un.options),$t[ee]=An,un||(un=Ji);var Qn=An.value===Ci;if(Qn||un.value!==An.value){var Er=O(this._engine.playersByElement,Q,[]);Er.forEach(function(oi){oi.namespaceId==Ve.id&&oi.triggerName==ee&&oi.queued&&oi.destroy()});var ui=wt.matchTransition(un.value,An.value,Q,An.params),hi=!1;if(!ui){if(!lt)return;ui=wt.fallbackTransition,hi=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:Q,triggerName:ee,transition:ui,fromState:un,toState:An,player:Zt,isFallbackTransition:hi}),hi||(So(Q,bo),Zt.onStart(function(){va(Q,bo)})),Zt.onDone(function(){var oi=Ve.players.indexOf(Zt);oi>=0&&Ve.players.splice(oi,1);var Mo=Ve._engine.playersByElement.get(Q);if(Mo){var Be=Mo.indexOf(Zt);Be>=0&&Mo.splice(Be,1)}}),this.players.push(Zt),Er.push(Zt),Zt}if(!Bi(un.params,An.params)){var hr=[],Ir=wt.matchStyles(un.value,un.params,hr),Cr=wt.matchStyles(An.value,An.params,hr);hr.length?this._engine.reportError(hr):this._engine.afterFlush(function(){wn(Q,Ir),Rn(Q,Cr)})}}},{key:"deregister",value:function(Q){var ee=this;delete this._triggers[Q],this._engine.statesByElement.forEach(function(Ee,Ve){delete Ee[Q]}),this._elementListeners.forEach(function(Ee,Ve){ee._elementListeners.set(Ve,Ee.filter(function(lt){return lt.name!=Q}))})}},{key:"clearElementCache",value:function(Q){this._engine.statesByElement.delete(Q),this._elementListeners.delete(Q);var ee=this._engine.playersByElement.get(Q);ee&&(ee.forEach(function(Ee){return Ee.destroy()}),this._engine.playersByElement.delete(Q))}},{key:"_signalRemovalForInnerTriggers",value:function(Q,ee){var Ee=this,Ve=this._engine.driver.query(Q,Qt,!0);Ve.forEach(function(lt){if(!lt[Yi]){var wt=Ee._engine.fetchNamespacesByElement(lt);wt.size?wt.forEach(function(Zt){return Zt.triggerLeaveAnimation(lt,ee,!1,!0)}):Ee.clearElementCache(lt)}}),this._engine.afterFlushAnimationsDone(function(){return Ve.forEach(function(lt){return Ee.clearElementCache(lt)})})}},{key:"triggerLeaveAnimation",value:function(Q,ee,Ee,Ve){var lt=this,wt=this._engine.statesByElement.get(Q);if(wt){var Zt=[];if(Object.keys(wt).forEach(function($t){if(lt._triggers[$t]){var un=lt.trigger(Q,$t,Ci,Ve);un&&Zt.push(un)}}),Zt.length)return this._engine.markElementAsRemoved(this.id,Q,!0,ee),Ee&&k(Zt).onDone(function(){return lt._engine.processLeaveNode(Q)}),!0}return!1}},{key:"prepareLeaveAnimationListeners",value:function(Q){var ee=this,Ee=this._elementListeners.get(Q),Ve=this._engine.statesByElement.get(Q);if(Ee&&Ve){var lt=new Set;Ee.forEach(function(wt){var Zt=wt.name;if(!lt.has(Zt)){lt.add(Zt);var un=ee._triggers[Zt].fallbackTransition,An=Ve[Zt]||Ji,Bn=new Vo(Ci),Qn=new fr(ee.id,Zt,Q);ee._engine.totalQueuedPlayers++,ee._queue.push({element:Q,triggerName:Zt,transition:un,fromState:An,toState:Bn,player:Qn,isFallbackTransition:!0})}})}}},{key:"removeNode",value:function(Q,ee){var Ee=this,Ve=this._engine;if(Q.childElementCount&&this._signalRemovalForInnerTriggers(Q,ee),!this.triggerLeaveAnimation(Q,ee,!0)){var lt=!1;if(Ve.totalAnimations){var wt=Ve.players.length?Ve.playersByQueriedElement.get(Q):[];if(wt&&wt.length)lt=!0;else for(var Zt=Q;Zt=Zt.parentNode;)if(Ve.statesByElement.get(Zt)){lt=!0;break}}if(this.prepareLeaveAnimationListeners(Q),lt)Ve.markElementAsRemoved(this.id,Q,!1,ee);else{var un=Q[Yi];(!un||un===oo)&&(Ve.afterFlush(function(){return Ee.clearElementCache(Q)}),Ve.destroyInnerAnimations(Q),Ve._onRemovalComplete(Q,ee))}}}},{key:"insertNode",value:function(Q,ee){So(Q,this._hostClassName)}},{key:"drainQueuedTransitions",value:function(Q){var ee=this,Ee=[];return this._queue.forEach(function(Ve){var lt=Ve.player;if(!lt.destroyed){var wt=Ve.element,Zt=ee._elementListeners.get(wt);Zt&&Zt.forEach(function($t){if($t.name==Ve.triggerName){var un=S(wt,Ve.triggerName,Ve.fromState.value,Ve.toState.value);un._data=Q,E(Ve.player,$t.phase,un,$t.callback)}}),lt.markedForDestroy?ee._engine.afterFlush(function(){lt.destroy()}):Ee.push(Ve)}}),this._queue=[],Ee.sort(function(Ve,lt){var wt=Ve.transition.ast.depCount,Zt=lt.transition.ast.depCount;return 0==wt||0==Zt?wt-Zt:ee._engine.driver.containsElement(Ve.element,lt.element)?1:-1})}},{key:"destroy",value:function(Q){this.players.forEach(function(ee){return ee.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,Q)}},{key:"elementContainsData",value:function(Q){var ee=!1;return this._elementListeners.has(Q)&&(ee=!0),!!this._queue.find(function(Ee){return Ee.element===Q})||ee}}]),Se}(),vn=function(){function Se(ge,Q,ee){(0,B.Z)(this,Se),this.bodyNode=ge,this.driver=Q,this._normalizer=ee,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(Ee,Ve){}}return(0,V.Z)(Se,[{key:"_onRemovalComplete",value:function(Q,ee){this.onRemovalComplete(Q,ee)}},{key:"queuedPlayers",get:function(){var Q=[];return this._namespaceList.forEach(function(ee){ee.players.forEach(function(Ee){Ee.queued&&Q.push(Ee)})}),Q}},{key:"createNamespace",value:function(Q,ee){var Ee=new fn(Q,ee,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,ee)?this._balanceNamespaceList(Ee,ee):(this.newHostElements.set(ee,Ee),this.collectEnterElement(ee)),this._namespaceLookup[Q]=Ee}},{key:"_balanceNamespaceList",value:function(Q,ee){var Ee=this._namespaceList.length-1;if(Ee>=0){for(var Ve=!1,lt=Ee;lt>=0;lt--)if(this.driver.containsElement(this._namespaceList[lt].hostElement,ee)){this._namespaceList.splice(lt+1,0,Q),Ve=!0;break}Ve||this._namespaceList.splice(0,0,Q)}else this._namespaceList.push(Q);return this.namespacesByHostElement.set(ee,Q),Q}},{key:"register",value:function(Q,ee){var Ee=this._namespaceLookup[Q];return Ee||(Ee=this.createNamespace(Q,ee)),Ee}},{key:"registerTrigger",value:function(Q,ee,Ee){var Ve=this._namespaceLookup[Q];Ve&&Ve.register(ee,Ee)&&this.totalAnimations++}},{key:"destroy",value:function(Q,ee){var Ee=this;if(Q){var Ve=this._fetchNamespace(Q);this.afterFlush(function(){Ee.namespacesByHostElement.delete(Ve.hostElement),delete Ee._namespaceLookup[Q];var lt=Ee._namespaceList.indexOf(Ve);lt>=0&&Ee._namespaceList.splice(lt,1)}),this.afterFlushAnimationsDone(function(){return Ve.destroy(ee)})}}},{key:"_fetchNamespace",value:function(Q){return this._namespaceLookup[Q]}},{key:"fetchNamespacesByElement",value:function(Q){var ee=new Set,Ee=this.statesByElement.get(Q);if(Ee)for(var Ve=Object.keys(Ee),lt=0;lt<Ve.length;lt++){var wt=Ee[Ve[lt]].namespaceId;if(wt){var Zt=this._fetchNamespace(wt);Zt&&ee.add(Zt)}}return ee}},{key:"trigger",value:function(Q,ee,Ee,Ve){if(Si(ee)){var lt=this._fetchNamespace(Q);if(lt)return lt.trigger(ee,Ee,Ve),!0}return!1}},{key:"insertNode",value:function(Q,ee,Ee,Ve){if(Si(ee)){var lt=ee[Yi];if(lt&&lt.setForRemoval){lt.setForRemoval=!1,lt.setForMove=!0;var wt=this.collectedLeaveElements.indexOf(ee);wt>=0&&this.collectedLeaveElements.splice(wt,1)}if(Q){var Zt=this._fetchNamespace(Q);Zt&&Zt.insertNode(ee,Ee)}Ve&&this.collectEnterElement(ee)}}},{key:"collectEnterElement",value:function(Q){this.collectedEnterElements.push(Q)}},{key:"markElementAsDisabled",value:function(Q,ee){ee?this.disabledNodes.has(Q)||(this.disabledNodes.add(Q),So(Q,Po)):this.disabledNodes.has(Q)&&(this.disabledNodes.delete(Q),va(Q,Po))}},{key:"removeNode",value:function(Q,ee,Ee,Ve){if(Si(ee)){var lt=Q?this._fetchNamespace(Q):null;if(lt?lt.removeNode(ee,Ve):this.markElementAsRemoved(Q,ee,!1,Ve),Ee){var wt=this.namespacesByHostElement.get(ee);wt&&wt.id!==Q&&wt.removeNode(ee,Ve)}}else this._onRemovalComplete(ee,Ve)}},{key:"markElementAsRemoved",value:function(Q,ee,Ee,Ve){this.collectedLeaveElements.push(ee),ee[Yi]={namespaceId:Q,setForRemoval:Ve,hasAnimation:Ee,removedBeforeQueried:!1}}},{key:"listen",value:function(Q,ee,Ee,Ve,lt){return Si(ee)?this._fetchNamespace(Q).listen(ee,Ee,Ve,lt):function(){}}},{key:"_buildInstruction",value:function(Q,ee,Ee,Ve,lt){return Q.transition.build(this.driver,Q.element,Q.fromState.value,Q.toState.value,Ee,Ve,Q.fromState.options,Q.toState.options,ee,lt)}},{key:"destroyInnerAnimations",value:function(Q){var ee=this,Ee=this.driver.query(Q,Qt,!0);Ee.forEach(function(Ve){return ee.destroyActiveAnimationsForElement(Ve)}),0!=this.playersByQueriedElement.size&&(Ee=this.driver.query(Q,Ct,!0)).forEach(function(Ve){return ee.finishActiveQueriedAnimationOnElement(Ve)})}},{key:"destroyActiveAnimationsForElement",value:function(Q){var ee=this.playersByElement.get(Q);ee&&ee.forEach(function(Ee){Ee.queued?Ee.markedForDestroy=!0:Ee.destroy()})}},{key:"finishActiveQueriedAnimationOnElement",value:function(Q){var ee=this.playersByQueriedElement.get(Q);ee&&ee.forEach(function(Ee){return Ee.finish()})}},{key:"whenRenderingDone",value:function(){var Q=this;return new Promise(function(ee){if(Q.players.length)return k(Q.players).onDone(function(){return ee()});ee()})}},{key:"processLeaveNode",value:function(Q){var ee=this,Ee=Q[Yi];if(Ee&&Ee.setForRemoval){if(Q[Yi]=oo,Ee.namespaceId){this.destroyInnerAnimations(Q);var Ve=this._fetchNamespace(Ee.namespaceId);Ve&&Ve.clearElementCache(Q)}this._onRemovalComplete(Q,Ee.setForRemoval)}this.driver.matchesElement(Q,Ko)&&this.markElementAsDisabled(Q,!1),this.driver.query(Q,Ko,!0).forEach(function(lt){ee.markElementAsDisabled(lt,!1)})}},{key:"flush",value:function(){var Q=this,ee=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,Ee=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(Bn,Qn){return Q._balanceNamespaceList(Bn,Qn)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var Ve=0;Ve<this.collectedEnterElements.length;Ve++){var lt=this.collectedEnterElements[Ve];So(lt,ko)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var wt=[];try{Ee=this._flushAnimations(wt,ee)}finally{for(var Zt=0;Zt<wt.length;Zt++)wt[Zt]()}}else for(var $t=0;$t<this.collectedLeaveElements.length;$t++){var un=this.collectedLeaveElements[$t];this.processLeaveNode(un)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(function(Bn){return Bn()}),this._flushFns=[],this._whenQuietFns.length){var An=this._whenQuietFns;this._whenQuietFns=[],Ee.length?k(Ee).onDone(function(){An.forEach(function(Bn){return Bn()})}):An.forEach(function(Bn){return Bn()})}}},{key:"reportError",value:function(Q){throw new Error("Unable to process animations due to the following failed trigger transitions\n ".concat(Q.join("\n")))}},{key:"_flushAnimations",value:function(Q,ee){var Ee=this,Ve=new qn,lt=[],wt=new Map,Zt=[],$t=new Map,un=new Map,An=new Map,Bn=new Set;this.disabledNodes.forEach(function(nr){Bn.add(nr);for(var Rr=Ee.driver.query(nr,".ng-animate-queued",!0),Mr=0;Mr<Rr.length;Mr++)Bn.add(Rr[Mr])});var Qn=this.bodyNode,hr=Array.from(this.statesByElement.keys()),Ir=Eo(hr,this.collectedEnterElements),Cr=new Map,Er=0;Ir.forEach(function(nr,Rr){var Mr=dt+Er++;Cr.set(Rr,Mr),nr.forEach(function(Xi){return So(Xi,Mr)})});for(var ui=[],hi=new Set,oi=new Set,Mo=0;Mo<this.collectedLeaveElements.length;Mo++){var Be=this.collectedLeaveElements[Mo],Ye=Be[Yi];Ye&&Ye.setForRemoval&&(ui.push(Be),hi.add(Be),Ye.hasAnimation?this.driver.query(Be,".ng-star-inserted",!0).forEach(function(nr){return hi.add(nr)}):oi.add(Be))}var ke=new Map,Ue=Eo(hr,Array.from(hi));Ue.forEach(function(nr,Rr){var Mr=Qe+Er++;ke.set(Rr,Mr),nr.forEach(function(Xi){return So(Xi,Mr)})}),Q.push(function(){Ir.forEach(function(nr,Rr){var Mr=Cr.get(Rr);nr.forEach(function(Xi){return va(Xi,Mr)})}),Ue.forEach(function(nr,Rr){var Mr=ke.get(Rr);nr.forEach(function(Xi){return va(Xi,Mr)})}),ui.forEach(function(nr){Ee.processLeaveNode(nr)})});for(var Ze=[],nt=[],Tt=this._namespaceList.length-1;Tt>=0;Tt--)this._namespaceList[Tt].drainQueuedTransitions(ee).forEach(function(nr){var Rr=nr.player,Mr=nr.element;if(Ze.push(Rr),Ee.collectedEnterElements.length){var Xi=Mr[Yi];if(Xi&&Xi.setForMove)return void Rr.destroy()}var $a=!Qn||!Ee.driver.containsElement(Qn,Mr),pc=ke.get(Mr),nu=Cr.get(Mr),$o=Ee._buildInstruction(nr,Ve,nu,pc,$a);if($o.errors&&$o.errors.length)nt.push($o);else{if($a)return Rr.onStart(function(){return wn(Mr,$o.fromStyles)}),Rr.onDestroy(function(){return Rn(Mr,$o.toStyles)}),void lt.push(Rr);if(nr.isFallbackTransition)return Rr.onStart(function(){return wn(Mr,$o.fromStyles)}),Rr.onDestroy(function(){return Rn(Mr,$o.toStyles)}),void lt.push(Rr);$o.timelines.forEach(function(Ms){return Ms.stretchStartingKeyframe=!0}),Ve.append(Mr,$o.timelines),Zt.push({instruction:$o,player:Rr,element:Mr}),$o.queriedElements.forEach(function(Ms){return O($t,Ms,[]).push(Rr)}),$o.preStyleProps.forEach(function(Ms,_d){var kv=Object.keys(Ms);if(kv.length){var Ks=un.get(_d);Ks||un.set(_d,Ks=new Set),kv.forEach(function(Mp){return Ks.add(Mp)})}}),$o.postStyleProps.forEach(function(Ms,_d){var kv=Object.keys(Ms),Ks=An.get(_d);Ks||An.set(_d,Ks=new Set),kv.forEach(function(Mp){return Ks.add(Mp)})})}});if(nt.length){var bn=[];nt.forEach(function(nr){bn.push("@".concat(nr.triggerName," has failed due to:\n")),nr.errors.forEach(function(Rr){return bn.push("- ".concat(Rr,"\n"))})}),Ze.forEach(function(nr){return nr.destroy()}),this.reportError(bn)}var xr=new Map,Ri=new Map;Zt.forEach(function(nr){var Rr=nr.element;Ve.has(Rr)&&(Ri.set(Rr,Rr),Ee._beforeAnimationBuild(nr.player.namespaceId,nr.instruction,xr))}),lt.forEach(function(nr){var Rr=nr.element;Ee._getPreviousPlayers(Rr,!1,nr.namespaceId,nr.triggerName,null).forEach(function(Xi){O(xr,Rr,[]).push(Xi),Xi.destroy()})});var Xo=ui.filter(function(nr){return ga(nr,un,An)}),Pa=new Map;ma(Pa,this.driver,oi,An,v.l3).forEach(function(nr){ga(nr,un,An)&&Xo.push(nr)});var Ao=new Map;Ir.forEach(function(nr,Rr){ma(Ao,Ee.driver,new Set(nr),un,v.k1)}),Xo.forEach(function(nr){var Rr=Pa.get(nr),Mr=Ao.get(nr);Pa.set(nr,Object.assign(Object.assign({},Rr),Mr))});var ms=[],ho=[],ch={};Zt.forEach(function(nr){var Rr=nr.element,Mr=nr.player,Xi=nr.instruction;if(Ve.has(Rr)){if(Bn.has(Rr))return Mr.onDestroy(function(){return Rn(Rr,Xi.toStyles)}),Mr.disabled=!0,Mr.overrideTotalTime(Xi.totalTime),void lt.push(Mr);var $a=ch;if(Ri.size>1){for(var pc=Rr,nu=[];pc=pc.parentNode;){var $o=Ri.get(pc);if($o){$a=$o;break}nu.push(pc)}nu.forEach(function(_d){return Ri.set(_d,$a)})}var Ep=Ee._buildAnimation(Mr.namespaceId,Xi,xr,wt,Ao,Pa);if(Mr.setRealPlayer(Ep),$a===ch)ms.push(Mr);else{var Ms=Ee.playersByElement.get($a);Ms&&Ms.length&&(Mr.parentPlayer=k(Ms)),lt.push(Mr)}}else wn(Rr,Xi.fromStyles),Mr.onDestroy(function(){return Rn(Rr,Xi.toStyles)}),ho.push(Mr),Bn.has(Rr)&&lt.push(Mr)}),ho.forEach(function(nr){var Rr=wt.get(nr.element);if(Rr&&Rr.length){var Mr=k(Rr);nr.setRealPlayer(Mr)}}),lt.forEach(function(nr){nr.parentPlayer?nr.syncPlayerEvents(nr.parentPlayer):nr.destroy()});for(var kp=0;kp<ui.length;kp++){var Du=ui[kp],dh=Du[Yi];if(va(Du,Qe),!dh||!dh.hasAnimation){var cc=[];if($t.size){var Qs=$t.get(Du);Qs&&Qs.length&&cc.push.apply(cc,(0,A.Z)(Qs));for(var jo=this.driver.query(Du,Ct,!0),Ou=0;Ou<jo.length;Ou++){var dc=$t.get(jo[Ou]);dc&&dc.length&&cc.push.apply(cc,(0,A.Z)(dc))}}var Do=cc.filter(function(nr){return!nr.destroyed});Do.length?Ma(this,Du,Do):this.processLeaveNode(Du)}}return ui.length=0,ms.forEach(function(nr){Ee.players.push(nr),nr.onDone(function(){nr.destroy();var Rr=Ee.players.indexOf(nr);Ee.players.splice(Rr,1)}),nr.play()}),ms}},{key:"elementContainsData",value:function(Q,ee){var Ee=!1,Ve=ee[Yi];return Ve&&Ve.setForRemoval&&(Ee=!0),this.playersByElement.has(ee)&&(Ee=!0),this.playersByQueriedElement.has(ee)&&(Ee=!0),this.statesByElement.has(ee)&&(Ee=!0),this._fetchNamespace(Q).elementContainsData(ee)||Ee}},{key:"afterFlush",value:function(Q){this._flushFns.push(Q)}},{key:"afterFlushAnimationsDone",value:function(Q){this._whenQuietFns.push(Q)}},{key:"_getPreviousPlayers",value:function(Q,ee,Ee,Ve,lt){var wt=[];if(ee){var Zt=this.playersByQueriedElement.get(Q);Zt&&(wt=Zt)}else{var $t=this.playersByElement.get(Q);if($t){var un=!lt||lt==Ci;$t.forEach(function(An){An.queued||!un&&An.triggerName!=Ve||wt.push(An)})}}return(Ee||Ve)&&(wt=wt.filter(function(An){return!(Ee&&Ee!=An.namespaceId||Ve&&Ve!=An.triggerName)})),wt}},{key:"_beforeAnimationBuild",value:function(Q,ee,Ee){var An,Ve=this,wt=ee.element,Zt=ee.isRemovalTransition?void 0:Q,$t=ee.isRemovalTransition?void 0:ee.triggerName,un=(0,M.Z)(ee.timelines);try{var Bn=function(){var Ir=An.value.element,Cr=Ir!==wt,Er=O(Ee,Ir,[]);Ve._getPreviousPlayers(Ir,Cr,Zt,$t,ee.toState).forEach(function(hi){var oi=hi.getRealPlayer();oi.beforeDestroy&&oi.beforeDestroy(),hi.destroy(),Er.push(hi)})};for(un.s();!(An=un.n()).done;)Bn()}catch(Qn){un.e(Qn)}finally{un.f()}wn(wt,ee.fromStyles)}},{key:"_buildAnimation",value:function(Q,ee,Ee,Ve,lt,wt){var Zt=this,$t=ee.triggerName,un=ee.element,An=[],Bn=new Set,Qn=new Set,hr=ee.timelines.map(function(Cr){var Er=Cr.element;Bn.add(Er);var ui=Er[Yi];if(ui&&ui.removedBeforeQueried)return new v.ZN(Cr.duration,Cr.delay);var hi=Er!==un,oi=function(Se){var ge=[];return To(Se,ge),ge}((Ee.get(Er)||Ho).map(function(Ze){return Ze.getRealPlayer()})).filter(function(Ze){return!!Ze.element&&Ze.element===Er}),Mo=lt.get(Er),Be=wt.get(Er),Ye=N(Zt.driver,Zt._normalizer,Er,Cr.keyframes,Mo,Be),ke=Zt._buildPlayer(Cr,Ye,oi);if(Cr.subTimeline&&Ve&&Qn.add(Er),hi){var Ue=new fr(Q,$t,Er);Ue.setRealPlayer(ke),An.push(Ue)}return ke});An.forEach(function(Cr){O(Zt.playersByQueriedElement,Cr.element,[]).push(Cr),Cr.onDone(function(){return function(Se,ge,Q){var ee;if(Se instanceof Map){if(ee=Se.get(ge)){if(ee.length){var Ee=ee.indexOf(Q);ee.splice(Ee,1)}0==ee.length&&Se.delete(ge)}}else if(ee=Se[ge]){if(ee.length){var Ve=ee.indexOf(Q);ee.splice(Ve,1)}0==ee.length&&delete Se[ge]}return ee}(Zt.playersByQueriedElement,Cr.element,Cr)})}),Bn.forEach(function(Cr){return So(Cr,Ht)});var Ir=k(hr);return Ir.onDestroy(function(){Bn.forEach(function(Cr){return va(Cr,Ht)}),Rn(un,ee.toStyles)}),Qn.forEach(function(Cr){O(Ve,Cr,[]).push(Ir)}),Ir}},{key:"_buildPlayer",value:function(Q,ee,Ee){return ee.length>0?this.driver.animate(Q.element,ee,Q.duration,Q.delay,Q.easing,Ee):new v.ZN(Q.duration,Q.delay)}}]),Se}(),fr=function(){function Se(ge,Q,ee){(0,B.Z)(this,Se),this.namespaceId=ge,this.triggerName=Q,this.element=ee,this._player=new v.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return(0,V.Z)(Se,[{key:"setRealPlayer",value:function(Q){var ee=this;this._containsRealPlayer||(this._player=Q,Object.keys(this._queuedCallbacks).forEach(function(Ee){ee._queuedCallbacks[Ee].forEach(function(Ve){return E(Q,Ee,void 0,Ve)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(Q.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(Q){this.totalTime=Q}},{key:"syncPlayerEvents",value:function(Q){var ee=this,Ee=this._player;Ee.triggerCallback&&Q.onStart(function(){return Ee.triggerCallback("start")}),Q.onDone(function(){return ee.finish()}),Q.onDestroy(function(){return ee.destroy()})}},{key:"_queueEvent",value:function(Q,ee){O(this._queuedCallbacks,Q,[]).push(ee)}},{key:"onDone",value:function(Q){this.queued&&this._queueEvent("done",Q),this._player.onDone(Q)}},{key:"onStart",value:function(Q){this.queued&&this._queueEvent("start",Q),this._player.onStart(Q)}},{key:"onDestroy",value:function(Q){this.queued&&this._queueEvent("destroy",Q),this._player.onDestroy(Q)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(Q){this.queued||this._player.setPosition(Q)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(Q){var ee=this._player;ee.triggerCallback&&ee.triggerCallback(Q)}}]),Se}();function ha(Se){return null!=Se?Se:null}function Si(Se){return Se&&1===Se.nodeType}function Zi(Se,ge){var Q=Se.style.display;return Se.style.display=null!=ge?ge:"none",Q}function ma(Se,ge,Q,ee,Ee){var Ve=[];Q.forEach(function(Zt){return Ve.push(Zi(Zt))});var lt=[];ee.forEach(function(Zt,$t){var un={};Zt.forEach(function(An){var Bn=un[An]=ge.computeStyle($t,An,Ee);(!Bn||0==Bn.length)&&($t[Yi]=ji,lt.push($t))}),Se.set($t,un)});var wt=0;return Q.forEach(function(Zt){return Zi(Zt,Ve[wt++])}),lt}function Eo(Se,ge){var Q=new Map;if(Se.forEach(function(wt){return Q.set(wt,[])}),0==ge.length)return Q;var Ee=new Set(ge),Ve=new Map;function lt(wt){if(!wt)return 1;var Zt=Ve.get(wt);if(Zt)return Zt;var $t=wt.parentNode;return Zt=Q.has($t)?$t:Ee.has($t)?1:lt($t),Ve.set(wt,Zt),Zt}return ge.forEach(function(wt){var Zt=lt(wt);1!==Zt&&Q.get(Zt).push(wt)}),Q}var Io="$$classes";function So(Se,ge){if(Se.classList)Se.classList.add(ge);else{var Q=Se[Io];Q||(Q=Se[Io]={}),Q[ge]=!0}}function va(Se,ge){if(Se.classList)Se.classList.remove(ge);else{var Q=Se[Io];Q&&delete Q[ge]}}function Ma(Se,ge,Q){k(Q).onDone(function(){return Se.processLeaveNode(ge)})}function To(Se,ge){for(var Q=0;Q<Se.length;Q++){var ee=Se[Q];ee instanceof v.ZE?To(ee.players,ge):ge.push(ee)}}function Bi(Se,ge){var Q=Object.keys(Se),ee=Object.keys(ge);if(Q.length!=ee.length)return!1;for(var Ee=0;Ee<Q.length;Ee++){var Ve=Q[Ee];if(!ge.hasOwnProperty(Ve)||Se[Ve]!==ge[Ve])return!1}return!0}function ga(Se,ge,Q){var ee=Q.get(Se);if(!ee)return!1;var Ee=ge.get(Se);return Ee?ee.forEach(function(Ve){return Ee.add(Ve)}):ge.set(Se,ee),Q.delete(Se),!0}var Qi=function(){function Se(ge,Q,ee){var Ee=this;(0,B.Z)(this,Se),this.bodyNode=ge,this._driver=Q,this._normalizer=ee,this._triggerCache={},this.onRemovalComplete=function(Ve,lt){},this._transitionEngine=new vn(ge,Q,ee),this._timelineEngine=new io(ge,Q,ee),this._transitionEngine.onRemovalComplete=function(Ve,lt){return Ee.onRemovalComplete(Ve,lt)}}return(0,V.Z)(Se,[{key:"registerTrigger",value:function(Q,ee,Ee,Ve,lt){var wt=Q+"-"+Ve,Zt=this._triggerCache[wt];if(!Zt){var $t=[],un=Ut(this._driver,lt,$t);if($t.length)throw new Error('The animation trigger "'.concat(Ve,'" has failed to build due to the following errors:\n - ').concat($t.join("\n - ")));Zt=function(Se,ge,Q){return new jn(Se,ge,Q)}(Ve,un,this._normalizer),this._triggerCache[wt]=Zt}this._transitionEngine.registerTrigger(ee,Ve,Zt)}},{key:"register",value:function(Q,ee){this._transitionEngine.register(Q,ee)}},{key:"destroy",value:function(Q,ee){this._transitionEngine.destroy(Q,ee)}},{key:"onInsert",value:function(Q,ee,Ee,Ve){this._transitionEngine.insertNode(Q,ee,Ee,Ve)}},{key:"onRemove",value:function(Q,ee,Ee,Ve){this._transitionEngine.removeNode(Q,ee,Ve||!1,Ee)}},{key:"disableAnimations",value:function(Q,ee){this._transitionEngine.markElementAsDisabled(Q,ee)}},{key:"process",value:function(Q,ee,Ee,Ve){if("@"==Ee.charAt(0)){var lt=L(Ee),wt=(0,U.Z)(lt,2);this._timelineEngine.command(wt[0],ee,wt[1],Ve)}else this._transitionEngine.trigger(Q,ee,Ee,Ve)}},{key:"listen",value:function(Q,ee,Ee,Ve,lt){if("@"==Ee.charAt(0)){var wt=L(Ee),Zt=(0,U.Z)(wt,2);return this._timelineEngine.listen(Zt[0],ee,Zt[1],lt)}return this._transitionEngine.listen(Q,ee,Ee,Ve,lt)}},{key:"flush",value:function(){var Q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(Q)}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}}]),Se}();function _a(Se,ge){var Q=null,ee=null;return Array.isArray(ge)&&ge.length?(Q=_r(ge[0]),ge.length>1&&(ee=_r(ge[ge.length-1]))):ge&&(Q=_r(ge)),Q||ee?new Aa(Se,Q,ee):null}var Aa=function(){var Se=function(){function ge(Q,ee,Ee){(0,B.Z)(this,ge),this._element=Q,this._startStyles=ee,this._endStyles=Ee,this._state=0;var Ve=ge.initialStylesByElement.get(Q);Ve||ge.initialStylesByElement.set(Q,Ve={}),this._initialStyles=Ve}return(0,V.Z)(ge,[{key:"start",value:function(){this._state<1&&(this._startStyles&&Rn(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(Rn(this._element,this._initialStyles),this._endStyles&&(Rn(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(ge.initialStylesByElement.delete(this._element),this._startStyles&&(wn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(wn(this._element,this._endStyles),this._endStyles=null),Rn(this._element,this._initialStyles),this._state=3)}}]),ge}();return Se.initialStylesByElement=new WeakMap,Se}();function _r(Se){for(var ge=null,Q=Object.keys(Se),ee=0;ee<Q.length;ee++){var Ee=Q[ee];Ln(Ee)&&((ge=ge||{})[Ee]=Se[Ee])}return ge}function Ln(Se){return"display"===Se||"position"===Se}var Ui="animation",Va="animationend",zi=function(){function Se(ge,Q,ee,Ee,Ve,lt,wt){var Zt=this;(0,B.Z)(this,Se),this._element=ge,this._name=Q,this._duration=ee,this._delay=Ee,this._easing=Ve,this._fillMode=lt,this._onDoneFn=wt,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function($t){return Zt._handleCallback($t)}}return(0,V.Z)(Se,[{key:"apply",value:function(){(function(Se,ge){var Q=eu(Se,"").trim();Q.length&&(function(Se,ge){for(var Q=0,ee=0;ee<Se.length;ee++)","===Se.charAt(ee)&&Q++;return Q}(Q)+1,ge="".concat(Q,", ").concat(ge)),tn(Se,"",ge)})(this._element,"".concat(this._duration,"ms ").concat(this._easing," ").concat(this._delay,"ms 1 normal ").concat(this._fillMode," ").concat(this._name)),_l(this._element,this._eventFn,!1),this._startTime=Date.now()}},{key:"pause",value:function(){qa(this._element,this._name,"paused")}},{key:"resume",value:function(){qa(this._element,this._name,"running")}},{key:"setPosition",value:function(Q){var ee=Ki(this._element,this._name);this._position=Q*this._duration,tn(this._element,"Delay","-".concat(this._position,"ms"),ee)}},{key:"getPosition",value:function(){return this._position}},{key:"_handleCallback",value:function(Q){var ee=Q._ngTestManualTimestamp||Date.now(),Ee=1e3*parseFloat(Q.elapsedTime.toFixed(3));Q.animationName==this._name&&Math.max(ee-this._startTime,0)>=this._delay&&Ee>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),_l(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.finish(),function(Se,ge){var ee=eu(Se,"").split(","),Ee=ja(ee,ge);Ee>=0&&(ee.splice(Ee,1),tn(Se,"",ee.join(",")))}(this._element,this._name))}}]),Se}();function qa(Se,ge,Q){tn(Se,"PlayState",Q,Ki(Se,ge))}function Ki(Se,ge){var Q=eu(Se,"");return Q.indexOf(",")>0?ja(Q.split(","),ge):ja([Q],ge)}function ja(Se,ge){for(var Q=0;Q<Se.length;Q++)if(Se[Q].indexOf(ge)>=0)return Q;return-1}function _l(Se,ge,Q){Q?Se.removeEventListener(Va,ge):Se.addEventListener(Va,ge)}function tn(Se,ge,Q,ee){var Ee=Ui+ge;if(null!=ee){var Ve=Se.style[Ee];if(Ve.length){var lt=Ve.split(",");lt[ee]=Q,Q=lt.join(",")}}Se.style[Ee]=Q}function eu(Se,ge){return Se.style[Ui+ge]||""}var Fe=function(){function Se(ge,Q,ee,Ee,Ve,lt,wt,Zt){(0,B.Z)(this,Se),this.element=ge,this.keyframes=Q,this.animationName=ee,this._duration=Ee,this._delay=Ve,this._finalStyles=wt,this._specialStyles=Zt,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=lt||"linear",this.totalTime=Ee+Ve,this._buildStyler()}return(0,V.Z)(Se,[{key:"onStart",value:function(Q){this._onStartFns.push(Q)}},{key:"onDone",value:function(Q){this._onDoneFns.push(Q)}},{key:"onDestroy",value:function(Q){this._onDestroyFns.push(Q)}},{key:"destroy",value:function(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(Q){return Q()}),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach(function(Q){return Q()}),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach(function(Q){return Q()}),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(Q){this._styler.setPosition(Q)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var Q=this;this._styler=new zi(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return Q.finish()})}},{key:"triggerCallback",value:function(Q){var ee="start"==Q?this._onStartFns:this._onDoneFns;ee.forEach(function(Ee){return Ee()}),ee.length=0}},{key:"beforeDestroy",value:function(){var Q=this;this.init();var ee={};if(this.hasStarted()){var Ee=this._state>=3;Object.keys(this._finalStyles).forEach(function(Ve){"offset"!=Ve&&(ee[Ve]=Ee?Q._finalStyles[Ve]:nn(Q.element,Ve))})}this.currentSnapshot=ee}}]),Se}(),$e=function(Se){(0,Z.Z)(Q,Se);var ge=(0,T.Z)(Q);function Q(ee,Ee){var Ve;return(0,B.Z)(this,Q),(Ve=ge.call(this)).element=ee,Ve._startingStyles={},Ve.__initialized=!1,Ve._styles=_t(Ee),Ve}return(0,V.Z)(Q,[{key:"init",value:function(){var Ee=this;this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(function(Ve){Ee._startingStyles[Ve]=Ee.element.style[Ve]}),(0,P.Z)((0,D.Z)(Q.prototype),"init",this).call(this))}},{key:"play",value:function(){var Ee=this;!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(function(Ve){return Ee.element.style.setProperty(Ve,Ee._styles[Ve])}),(0,P.Z)((0,D.Z)(Q.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var Ee=this;!this._startingStyles||(Object.keys(this._startingStyles).forEach(function(Ve){var lt=Ee._startingStyles[Ve];lt?Ee.element.style.setProperty(Ve,lt):Ee.element.style.removeProperty(Ve)}),this._startingStyles=null,(0,P.Z)((0,D.Z)(Q.prototype),"destroy",this).call(this))}}]),Q}(v.ZN),We="gen_css_kf_",fe=function(){function Se(){(0,B.Z)(this,Se),this._count=0}return(0,V.Z)(Se,[{key:"validateStyleProperty",value:function(Q){return oe(Q)}},{key:"matchesElement",value:function(Q,ee){return be(Q,ee)}},{key:"containsElement",value:function(Q,ee){return it(Q,ee)}},{key:"query",value:function(Q,ee,Ee){return qe(Q,ee,Ee)}},{key:"computeStyle",value:function(Q,ee,Ee){return window.getComputedStyle(Q)[ee]}},{key:"buildKeyframeElement",value:function(Q,ee,Ee){Ee=Ee.map(function(Zt){return _t(Zt)});var Ve="@keyframes ".concat(ee," {\n"),lt="";Ee.forEach(function(Zt){lt=" ";var $t=parseFloat(Zt.offset);Ve+="".concat(lt).concat(100*$t,"% {\n"),lt+=" ",Object.keys(Zt).forEach(function(un){var An=Zt[un];switch(un){case"offset":return;case"easing":return void(An&&(Ve+="".concat(lt,"animation-timing-function: ").concat(An,";\n")));default:return void(Ve+="".concat(lt).concat(un,": ").concat(An,";\n"))}}),Ve+="".concat(lt,"}\n")}),Ve+="}\n";var wt=document.createElement("style");return wt.textContent=Ve,wt}},{key:"animate",value:function(Q,ee,Ee,Ve,lt){var wt=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],$t=wt.filter(function(Er){return Er instanceof Fe}),un={};Jt(Ee,Ve)&&$t.forEach(function(Er){var ui=Er.currentSnapshot;Object.keys(ui).forEach(function(hi){return un[hi]=ui[hi]})});var An=Ce(ee=Kt(Q,ee,un));if(0==Ee)return new $e(Q,An);var Bn="".concat(We).concat(this._count++),Qn=this.buildKeyframeElement(Q,Bn,ee),hr=_e(Q);hr.appendChild(Qn);var Ir=_a(Q,ee),Cr=new Fe(Q,ee,Bn,Ee,Ve,lt,An,Ir);return Cr.onDestroy(function(){return Re(Qn)}),Cr}}]),Se}();function _e(Se){var ge,Q=null===(ge=Se.getRootNode)||void 0===ge?void 0:ge.call(Se);return"undefined"!=typeof ShadowRoot&&Q instanceof ShadowRoot?Q:document.head}function Ce(Se){var ge={};return Se&&(Array.isArray(Se)?Se:[Se]).forEach(function(ee){Object.keys(ee).forEach(function(Ee){"offset"==Ee||"easing"==Ee||(ge[Ee]=ee[Ee])})}),ge}function Re(Se){Se.parentNode.removeChild(Se)}var ft=function(){function Se(ge,Q,ee,Ee){(0,B.Z)(this,Se),this.element=ge,this.keyframes=Q,this.options=ee,this._specialStyles=Ee,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=ee.duration,this._delay=ee.delay||0,this.time=this._duration+this._delay}return(0,V.Z)(Se,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(Q){return Q()}),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var Q=this;if(!this._initialized){this._initialized=!0;var ee=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,ee,this.options),this._finalKeyframe=ee.length?ee[ee.length-1]:{},this.domPlayer.addEventListener("finish",function(){return Q._onFinish()})}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(Q,ee,Ee){return Q.animate(ee,Ee)}},{key:"onStart",value:function(Q){this._onStartFns.push(Q)}},{key:"onDone",value:function(Q){this._onDoneFns.push(Q)}},{key:"onDestroy",value:function(Q){this._onDestroyFns.push(Q)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(Q){return Q()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(Q){return Q()}),this._onDestroyFns=[])}},{key:"setPosition",value:function(Q){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=Q*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"totalTime",get:function(){return this._delay+this._duration}},{key:"beforeDestroy",value:function(){var Q=this,ee={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(Ee){"offset"!=Ee&&(ee[Ee]=Q._finished?Q._finalKeyframe[Ee]:nn(Q.element,Ee))}),this.currentSnapshot=ee}},{key:"triggerCallback",value:function(Q){var ee="start"==Q?this._onStartFns:this._onDoneFns;ee.forEach(function(Ee){return Ee()}),ee.length=0}}]),Se}(),gt=function(){function Se(){(0,B.Z)(this,Se),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(jr().toString()),this._cssKeyframesDriver=new fe}return(0,V.Z)(Se,[{key:"validateStyleProperty",value:function(Q){return oe(Q)}},{key:"matchesElement",value:function(Q,ee){return be(Q,ee)}},{key:"containsElement",value:function(Q,ee){return it(Q,ee)}},{key:"query",value:function(Q,ee,Ee){return qe(Q,ee,Ee)}},{key:"computeStyle",value:function(Q,ee,Ee){return window.getComputedStyle(Q)[ee]}},{key:"overrideWebAnimationsSupport",value:function(Q){this._isNativeImpl=Q}},{key:"animate",value:function(Q,ee,Ee,Ve,lt){var wt=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],Zt=arguments.length>6?arguments[6]:void 0,$t=!Zt&&!this._isNativeImpl;if($t)return this._cssKeyframesDriver.animate(Q,ee,Ee,Ve,lt,wt);var un=0==Ve?"both":"forwards",An={duration:Ee,delay:Ve,fill:un};lt&&(An.easing=lt);var Bn={},Qn=wt.filter(function(Ir){return Ir instanceof ft});Jt(Ee,Ve)&&Qn.forEach(function(Ir){var Cr=Ir.currentSnapshot;Object.keys(Cr).forEach(function(Er){return Bn[Er]=Cr[Er]})});var hr=_a(Q,ee=Kt(Q,ee=ee.map(function(Ir){return Nn(Ir,!1)}),Bn));return new ft(Q,ee,An,hr)}}]),Se}();function jr(){return _()&&Element.prototype.animate||{}}var Pi=f(40098),ya=function(){var Se=function(ge){(0,Z.Z)(ee,ge);var Q=(0,T.Z)(ee);function ee(Ee,Ve){var lt;return(0,B.Z)(this,ee),(lt=Q.call(this))._nextAnimationId=0,lt._renderer=Ee.createRenderer(Ve.body,{id:"0",encapsulation:R.ifc.None,styles:[],data:{animation:[]}}),lt}return(0,V.Z)(ee,[{key:"build",value:function(Ve){var lt=this._nextAnimationId.toString();this._nextAnimationId++;var wt=Array.isArray(Ve)?(0,v.vP)(Ve):Ve;return Cl(this._renderer,null,lt,"register",[wt]),new li(lt,this._renderer)}}]),ee}(v._j);return Se.\u0275fac=function(Q){return new(Q||Se)(R.LFG(R.FYo),R.LFG(Pi.K0))},Se.\u0275prov=R.Yz7({token:Se,factory:Se.\u0275fac}),Se}(),li=function(Se){(0,Z.Z)(Q,Se);var ge=(0,T.Z)(Q);function Q(ee,Ee){var Ve;return(0,B.Z)(this,Q),(Ve=ge.call(this))._id=ee,Ve._renderer=Ee,Ve}return(0,V.Z)(Q,[{key:"create",value:function(Ee,Ve){return new Ii(this._id,Ee,Ve||{},this._renderer)}}]),Q}(v.LC),Ii=function(){function Se(ge,Q,ee,Ee){(0,B.Z)(this,Se),this.id=ge,this.element=Q,this._renderer=Ee,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",ee)}return(0,V.Z)(Se,[{key:"_listen",value:function(Q,ee){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(Q),ee)}},{key:"_command",value:function(Q){for(var ee=arguments.length,Ee=new Array(ee>1?ee-1:0),Ve=1;Ve<ee;Ve++)Ee[Ve-1]=arguments[Ve];return Cl(this._renderer,this.element,this.id,Q,Ee)}},{key:"onDone",value:function(Q){this._listen("done",Q)}},{key:"onStart",value:function(Q){this._listen("start",Q)}},{key:"onDestroy",value:function(Q){this._listen("destroy",Q)}},{key:"init",value:function(){this._command("init")}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this._command("play"),this._started=!0}},{key:"pause",value:function(){this._command("pause")}},{key:"restart",value:function(){this._command("restart")}},{key:"finish",value:function(){this._command("finish")}},{key:"destroy",value:function(){this._command("destroy")}},{key:"reset",value:function(){this._command("reset"),this._started=!1}},{key:"setPosition",value:function(Q){this._command("setPosition",Q)}},{key:"getPosition",value:function(){var Q,ee;return null!==(ee=null===(Q=this._renderer.engine.players[+this.id])||void 0===Q?void 0:Q.getPosition())&&void 0!==ee?ee:0}}]),Se}();function Cl(Se,ge,Q,ee,Ee){return Se.setProperty(ge,"@@".concat(Q,":").concat(ee),Ee)}var Xa="@.disabled",ba=function(){var Se=function(){function ge(Q,ee,Ee){(0,B.Z)(this,ge),this.delegate=Q,this.engine=ee,this._zone=Ee,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),ee.onRemovalComplete=function(Ve,lt){lt&&lt.parentNode(Ve)&&lt.removeChild(Ve.parentNode,Ve)}}return(0,V.Z)(ge,[{key:"createRenderer",value:function(ee,Ee){var Ve=this,wt=this.delegate.createRenderer(ee,Ee);if(!(ee&&Ee&&Ee.data&&Ee.data.animation)){var Zt=this._rendererCache.get(wt);return Zt||(Zt=new Es("",wt,this.engine),this._rendererCache.set(wt,Zt)),Zt}var $t=Ee.id,un=Ee.id+"-"+this._currentId;return this._currentId++,this.engine.register(un,ee),Ee.data.animation.forEach(function Qn(hr){Array.isArray(hr)?hr.forEach(Qn):Ve.engine.registerTrigger($t,un,ee,hr.name,hr)}),new Cp(this,un,wt,this.engine)}},{key:"begin",value:function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}},{key:"_scheduleCountTask",value:function(){var ee=this;this.promise.then(function(){ee._microtaskId++})}},{key:"scheduleListenerCallback",value:function(ee,Ee,Ve){var lt=this;ee>=0&&ee<this._microtaskId?this._zone.run(function(){return Ee(Ve)}):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(function(){lt._zone.run(function(){lt._animationCallbacksBuffer.forEach(function(wt){var Zt=(0,U.Z)(wt,2);(0,Zt[0])(Zt[1])}),lt._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([Ee,Ve]))}},{key:"end",value:function(){var ee=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(function(){ee._scheduleCountTask(),ee.engine.flush(ee._microtaskId)}),this.delegate.end&&this.delegate.end()}},{key:"whenRenderingDone",value:function(){return this.engine.whenRenderingDone()}}]),ge}();return Se.\u0275fac=function(Q){return new(Q||Se)(R.LFG(R.FYo),R.LFG(Qi),R.LFG(R.R0b))},Se.\u0275prov=R.Yz7({token:Se,factory:Se.\u0275fac}),Se}(),Es=function(){function Se(ge,Q,ee){(0,B.Z)(this,Se),this.namespaceId=ge,this.delegate=Q,this.engine=ee,this.destroyNode=this.delegate.destroyNode?function(Ee){return Q.destroyNode(Ee)}:null}return(0,V.Z)(Se,[{key:"data",get:function(){return this.delegate.data}},{key:"destroy",value:function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}},{key:"createElement",value:function(Q,ee){return this.delegate.createElement(Q,ee)}},{key:"createComment",value:function(Q){return this.delegate.createComment(Q)}},{key:"createText",value:function(Q){return this.delegate.createText(Q)}},{key:"appendChild",value:function(Q,ee){this.delegate.appendChild(Q,ee),this.engine.onInsert(this.namespaceId,ee,Q,!1)}},{key:"insertBefore",value:function(Q,ee,Ee){var Ve=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(Q,ee,Ee),this.engine.onInsert(this.namespaceId,ee,Q,Ve)}},{key:"removeChild",value:function(Q,ee,Ee){this.engine.onRemove(this.namespaceId,ee,this.delegate,Ee)}},{key:"selectRootElement",value:function(Q,ee){return this.delegate.selectRootElement(Q,ee)}},{key:"parentNode",value:function(Q){return this.delegate.parentNode(Q)}},{key:"nextSibling",value:function(Q){return this.delegate.nextSibling(Q)}},{key:"setAttribute",value:function(Q,ee,Ee,Ve){this.delegate.setAttribute(Q,ee,Ee,Ve)}},{key:"removeAttribute",value:function(Q,ee,Ee){this.delegate.removeAttribute(Q,ee,Ee)}},{key:"addClass",value:function(Q,ee){this.delegate.addClass(Q,ee)}},{key:"removeClass",value:function(Q,ee){this.delegate.removeClass(Q,ee)}},{key:"setStyle",value:function(Q,ee,Ee,Ve){this.delegate.setStyle(Q,ee,Ee,Ve)}},{key:"removeStyle",value:function(Q,ee,Ee){this.delegate.removeStyle(Q,ee,Ee)}},{key:"setProperty",value:function(Q,ee,Ee){"@"==ee.charAt(0)&&ee==Xa?this.disableAnimations(Q,!!Ee):this.delegate.setProperty(Q,ee,Ee)}},{key:"setValue",value:function(Q,ee){this.delegate.setValue(Q,ee)}},{key:"listen",value:function(Q,ee,Ee){return this.delegate.listen(Q,ee,Ee)}},{key:"disableAnimations",value:function(Q,ee){this.engine.disableAnimations(Q,ee)}}]),Se}(),Cp=function(Se){(0,Z.Z)(Q,Se);var ge=(0,T.Z)(Q);function Q(ee,Ee,Ve,lt){var wt;return(0,B.Z)(this,Q),(wt=ge.call(this,Ee,Ve,lt)).factory=ee,wt.namespaceId=Ee,wt}return(0,V.Z)(Q,[{key:"setProperty",value:function(Ee,Ve,lt){"@"==Ve.charAt(0)?"."==Ve.charAt(1)&&Ve==Xa?this.disableAnimations(Ee,lt=void 0===lt||!!lt):this.engine.process(this.namespaceId,Ee,Ve.substr(1),lt):this.delegate.setProperty(Ee,Ve,lt)}},{key:"listen",value:function(Ee,Ve,lt){var wt=this;if("@"==Ve.charAt(0)){var Zt=function(Se){switch(Se){case"body":return document.body;case"document":return document;case"window":return window;default:return Se}}(Ee),$t=Ve.substr(1),un="";if("@"!=$t.charAt(0)){var An=function(Se){var ge=Se.indexOf(".");return[Se.substring(0,ge),Se.substr(ge+1)]}($t),Bn=(0,U.Z)(An,2);$t=Bn[0],un=Bn[1]}return this.engine.listen(this.namespaceId,Zt,$t,un,function(Qn){wt.factory.scheduleListenerCallback(Qn._data||-1,lt,Qn)})}return this.delegate.listen(Ee,Ve,lt)}}]),Q}(Es),uc=function(){var Se=function(ge){(0,Z.Z)(ee,ge);var Q=(0,T.Z)(ee);function ee(Ee,Ve,lt){return(0,B.Z)(this,ee),Q.call(this,Ee.body,Ve,lt)}return(0,V.Z)(ee,[{key:"ngOnDestroy",value:function(){this.flush()}}]),ee}(Qi);return Se.\u0275fac=function(Q){return new(Q||Se)(R.LFG(Pi.K0),R.LFG(Ft),R.LFG(fi))},Se.\u0275prov=R.Yz7({token:Se,factory:Se.\u0275fac}),Se}(),md=new R.OlP("AnimationModuleType"),xp=[{provide:v._j,useClass:ya},{provide:fi,useFactory:function(){return new ki}},{provide:Qi,useClass:uc},{provide:R.FYo,useFactory:function(Se,ge,Q){return new ba(Se,ge,Q)},deps:[C.se,Qi,R.R0b]}],wp=[{provide:Ft,useFactory:function(){return"function"==typeof jr()?new gt:new fe}},{provide:md,useValue:"BrowserAnimations"}].concat(xp),vd=[{provide:Ft,useClass:yt},{provide:md,useValue:"NoopAnimations"}].concat(xp),tu=function(){var Se=function(){function ge(){(0,B.Z)(this,ge)}return(0,V.Z)(ge,null,[{key:"withConfig",value:function(ee){return{ngModule:ge,providers:ee.disableAnimations?vd:wp}}}]),ge}();return Se.\u0275fac=function(Q){return new(Q||Se)},Se.\u0275mod=R.oAB({type:Se}),Se.\u0275inj=R.cJS({providers:wp,imports:[C.b2]}),Se}()},29176:function(ue,q,f){"use strict";f.d(q,{b2:function(){return ze},H7:function(){return Cn},Dx:function(){return qr},HJ:function(){return co},q6:function(){return Ne},se:function(){return bt}});var _,U=f(20901),B=f(89200),V=f(14105),Z=f(18967),T=f(10509),R=f(97154),C=f(40098),v=f(65508),D=function(Ot){(0,T.Z)(Pt,Ot);var jt=(0,R.Z)(Pt);function Pt(){return(0,Z.Z)(this,Pt),jt.apply(this,arguments)}return(0,V.Z)(Pt,[{key:"onAndCancel",value:function(Gt,Xt,gn){return Gt.addEventListener(Xt,gn,!1),function(){Gt.removeEventListener(Xt,gn,!1)}}},{key:"dispatchEvent",value:function(Gt,Xt){Gt.dispatchEvent(Xt)}},{key:"remove",value:function(Gt){Gt.parentNode&&Gt.parentNode.removeChild(Gt)}},{key:"createElement",value:function(Gt,Xt){return(Xt=Xt||this.getDefaultDocument()).createElement(Gt)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(Gt){return Gt.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(Gt){return Gt instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(Gt,Xt){return"window"===Xt?window:"document"===Xt?Gt:"body"===Xt?Gt.body:null}},{key:"getBaseHref",value:function(Gt){var Xt=(M=M||document.querySelector("base"))?M.getAttribute("href"):null;return null==Xt?null:function(Ot){(_=_||document.createElement("a")).setAttribute("href",Ot);var jt=_.pathname;return"/"===jt.charAt(0)?jt:"/".concat(jt)}(Xt)}},{key:"resetBaseElement",value:function(){M=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"getCookie",value:function(Gt){return(0,C.Mx)(document.cookie,Gt)}}],[{key:"makeCurrent",value:function(){(0,C.HT)(new Pt)}}]),Pt}(function(Ot){(0,T.Z)(Pt,Ot);var jt=(0,R.Z)(Pt);function Pt(){var qt;return(0,Z.Z)(this,Pt),(qt=jt.apply(this,arguments)).supportsDOMEvents=!0,qt}return Pt}(C.w_)),M=null,k=new v.OlP("TRANSITION_ID"),E=[{provide:v.ip1,useFactory:function(Ot,jt,Pt){return function(){Pt.get(v.CZH).donePromise.then(function(){for(var qt=(0,C.q)(),Gt=jt.querySelectorAll('style[ng-transition="'.concat(Ot,'"]')),Xt=0;Xt<Gt.length;Xt++)qt.remove(Gt[Xt])})}},deps:[k,C.K0,v.zs3],multi:!0}],x=function(){function Ot(){(0,Z.Z)(this,Ot)}return(0,V.Z)(Ot,[{key:"addToWindow",value:function(Pt){v.dqk.getAngularTestability=function(Gt){var Xt=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],gn=Pt.findTestabilityInTree(Gt,Xt);if(null==gn)throw new Error("Could not find testability for element.");return gn},v.dqk.getAllAngularTestabilities=function(){return Pt.getAllTestabilities()},v.dqk.getAllAngularRootElements=function(){return Pt.getAllRootElements()},v.dqk.frameworkStabilizers||(v.dqk.frameworkStabilizers=[]),v.dqk.frameworkStabilizers.push(function(Xt){var gn=v.dqk.getAllAngularTestabilities(),Gn=gn.length,jn=!1,zn=function(bi){jn=jn||bi,0==--Gn&&Xt(jn)};gn.forEach(function(si){si.whenStable(zn)})})}},{key:"findTestabilityInTree",value:function(Pt,qt,Gt){if(null==qt)return null;var Xt=Pt.getTestability(qt);return null!=Xt?Xt:Gt?(0,C.q)().isShadowRoot(qt)?this.findTestabilityInTree(Pt,qt.host,!0):this.findTestabilityInTree(Pt,qt.parentElement,!0):null}}],[{key:"init",value:function(){(0,v.VLi)(new Ot)}}]),Ot}(),S=function(){var Ot=function(){function jt(){(0,Z.Z)(this,jt)}return(0,V.Z)(jt,[{key:"build",value:function(){return new XMLHttpRequest}}]),jt}();return Ot.\u0275fac=function(Pt){return new(Pt||Ot)},Ot.\u0275prov=v.Yz7({token:Ot,factory:Ot.\u0275fac}),Ot}();var it=new v.OlP("EventManagerPlugins"),qe=function(){var Ot=function(){function jt(Pt,qt){var Gt=this;(0,Z.Z)(this,jt),this._zone=qt,this._eventNameToPlugin=new Map,Pt.forEach(function(Xt){return Xt.manager=Gt}),this._plugins=Pt.slice().reverse()}return(0,V.Z)(jt,[{key:"addEventListener",value:function(qt,Gt,Xt){return this._findPluginFor(Gt).addEventListener(qt,Gt,Xt)}},{key:"addGlobalEventListener",value:function(qt,Gt,Xt){return this._findPluginFor(Gt).addGlobalEventListener(qt,Gt,Xt)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(qt){var Gt=this._eventNameToPlugin.get(qt);if(Gt)return Gt;for(var Xt=this._plugins,gn=0;gn<Xt.length;gn++){var Gn=Xt[gn];if(Gn.supports(qt))return this._eventNameToPlugin.set(qt,Gn),Gn}throw new Error("No event manager plugin found for event ".concat(qt))}}]),jt}();return Ot.\u0275fac=function(Pt){return new(Pt||Ot)(v.LFG(it),v.LFG(v.R0b))},Ot.\u0275prov=v.Yz7({token:Ot,factory:Ot.\u0275fac}),Ot}(),_t=function(){function Ot(jt){(0,Z.Z)(this,Ot),this._doc=jt}return(0,V.Z)(Ot,[{key:"addGlobalEventListener",value:function(Pt,qt,Gt){var Xt=(0,C.q)().getGlobalEventTarget(this._doc,Pt);if(!Xt)throw new Error("Unsupported event target ".concat(Xt," for event ").concat(qt));return this.addEventListener(Xt,qt,Gt)}}]),Ot}(),yt=function(){var Ot=function(){function jt(){(0,Z.Z)(this,jt),this._stylesSet=new Set}return(0,V.Z)(jt,[{key:"addStyles",value:function(qt){var Gt=this,Xt=new Set;qt.forEach(function(gn){Gt._stylesSet.has(gn)||(Gt._stylesSet.add(gn),Xt.add(gn))}),this.onStylesAdded(Xt)}},{key:"onStylesAdded",value:function(qt){}},{key:"getAllStyles",value:function(){return Array.from(this._stylesSet)}}]),jt}();return Ot.\u0275fac=function(Pt){return new(Pt||Ot)},Ot.\u0275prov=v.Yz7({token:Ot,factory:Ot.\u0275fac}),Ot}(),Ft=function(){var Ot=function(jt){(0,T.Z)(qt,jt);var Pt=(0,R.Z)(qt);function qt(Gt){var Xt;return(0,Z.Z)(this,qt),(Xt=Pt.call(this))._doc=Gt,Xt._hostNodes=new Map,Xt._hostNodes.set(Gt.head,[]),Xt}return(0,V.Z)(qt,[{key:"_addStylesToHost",value:function(Xt,gn,Gn){var jn=this;Xt.forEach(function(zn){var si=jn._doc.createElement("style");si.textContent=zn,Gn.push(gn.appendChild(si))})}},{key:"addHost",value:function(Xt){var gn=[];this._addStylesToHost(this._stylesSet,Xt,gn),this._hostNodes.set(Xt,gn)}},{key:"removeHost",value:function(Xt){var gn=this._hostNodes.get(Xt);gn&&gn.forEach(xe),this._hostNodes.delete(Xt)}},{key:"onStylesAdded",value:function(Xt){var gn=this;this._hostNodes.forEach(function(Gn,jn){gn._addStylesToHost(Xt,jn,Gn)})}},{key:"ngOnDestroy",value:function(){this._hostNodes.forEach(function(Xt){return Xt.forEach(xe)})}}]),qt}(yt);return Ot.\u0275fac=function(Pt){return new(Pt||Ot)(v.LFG(C.K0))},Ot.\u0275prov=v.Yz7({token:Ot,factory:Ot.\u0275fac}),Ot}();function xe(Ot){(0,C.q)().remove(Ot)}var Oe={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},je=/%COMP%/g,Bt="_nghost-".concat("%COMP%"),xt="_ngcontent-".concat("%COMP%");function Ht(Ot,jt,Pt){for(var qt=0;qt<jt.length;qt++){var Gt=jt[qt];Array.isArray(Gt)?Ht(Ot,Gt,Pt):(Gt=Gt.replace(je,Ot),Pt.push(Gt))}return Pt}function Ct(Ot){return function(jt){if("__ngUnwrap__"===jt)return Ot;!1===Ot(jt)&&(jt.preventDefault(),jt.returnValue=!1)}}var bt=function(){var Ot=function(){function jt(Pt,qt,Gt){(0,Z.Z)(this,jt),this.eventManager=Pt,this.sharedStylesHost=qt,this.appId=Gt,this.rendererByCompId=new Map,this.defaultRenderer=new en(Pt)}return(0,V.Z)(jt,[{key:"createRenderer",value:function(qt,Gt){if(!qt||!Gt)return this.defaultRenderer;switch(Gt.encapsulation){case v.ifc.Emulated:var Xt=this.rendererByCompId.get(Gt.id);return Xt||(Xt=new Nn(this.eventManager,this.sharedStylesHost,Gt,this.appId),this.rendererByCompId.set(Gt.id,Xt)),Xt.applyToHost(qt),Xt;case 1:case v.ifc.ShadowDom:return new In(this.eventManager,this.sharedStylesHost,qt,Gt);default:if(!this.rendererByCompId.has(Gt.id)){var gn=Ht(Gt.id,Gt.styles,[]);this.sharedStylesHost.addStyles(gn),this.rendererByCompId.set(Gt.id,this.defaultRenderer)}return this.defaultRenderer}}},{key:"begin",value:function(){}},{key:"end",value:function(){}}]),jt}();return Ot.\u0275fac=function(Pt){return new(Pt||Ot)(v.LFG(qe),v.LFG(Ft),v.LFG(v.AFp))},Ot.\u0275prov=v.Yz7({token:Ot,factory:Ot.\u0275fac}),Ot}(),en=function(){function Ot(jt){(0,Z.Z)(this,Ot),this.eventManager=jt,this.data=Object.create(null)}return(0,V.Z)(Ot,[{key:"destroy",value:function(){}},{key:"createElement",value:function(Pt,qt){return qt?document.createElementNS(Oe[qt]||qt,Pt):document.createElement(Pt)}},{key:"createComment",value:function(Pt){return document.createComment(Pt)}},{key:"createText",value:function(Pt){return document.createTextNode(Pt)}},{key:"appendChild",value:function(Pt,qt){Pt.appendChild(qt)}},{key:"insertBefore",value:function(Pt,qt,Gt){Pt&&Pt.insertBefore(qt,Gt)}},{key:"removeChild",value:function(Pt,qt){Pt&&Pt.removeChild(qt)}},{key:"selectRootElement",value:function(Pt,qt){var Gt="string"==typeof Pt?document.querySelector(Pt):Pt;if(!Gt)throw new Error('The selector "'.concat(Pt,'" did not match any elements'));return qt||(Gt.textContent=""),Gt}},{key:"parentNode",value:function(Pt){return Pt.parentNode}},{key:"nextSibling",value:function(Pt){return Pt.nextSibling}},{key:"setAttribute",value:function(Pt,qt,Gt,Xt){if(Xt){qt=Xt+":"+qt;var gn=Oe[Xt];gn?Pt.setAttributeNS(gn,qt,Gt):Pt.setAttribute(qt,Gt)}else Pt.setAttribute(qt,Gt)}},{key:"removeAttribute",value:function(Pt,qt,Gt){if(Gt){var Xt=Oe[Gt];Xt?Pt.removeAttributeNS(Xt,qt):Pt.removeAttribute("".concat(Gt,":").concat(qt))}else Pt.removeAttribute(qt)}},{key:"addClass",value:function(Pt,qt){Pt.classList.add(qt)}},{key:"removeClass",value:function(Pt,qt){Pt.classList.remove(qt)}},{key:"setStyle",value:function(Pt,qt,Gt,Xt){Xt&(v.JOm.DashCase|v.JOm.Important)?Pt.style.setProperty(qt,Gt,Xt&v.JOm.Important?"important":""):Pt.style[qt]=Gt}},{key:"removeStyle",value:function(Pt,qt,Gt){Gt&v.JOm.DashCase?Pt.style.removeProperty(qt):Pt.style[qt]=""}},{key:"setProperty",value:function(Pt,qt,Gt){Pt[qt]=Gt}},{key:"setValue",value:function(Pt,qt){Pt.nodeValue=qt}},{key:"listen",value:function(Pt,qt,Gt){return"string"==typeof Pt?this.eventManager.addGlobalEventListener(Pt,qt,Ct(Gt)):this.eventManager.addEventListener(Pt,qt,Ct(Gt))}}]),Ot}(),Nn=function(Ot){(0,T.Z)(Pt,Ot);var jt=(0,R.Z)(Pt);function Pt(qt,Gt,Xt,gn){var Gn;(0,Z.Z)(this,Pt),(Gn=jt.call(this,qt)).component=Xt;var jn=Ht(gn+"-"+Xt.id,Xt.styles,[]);return Gt.addStyles(jn),Gn.contentAttr=function(Ot){return xt.replace(je,Ot)}(gn+"-"+Xt.id),Gn.hostAttr=function(Ot){return Bt.replace(je,Ot)}(gn+"-"+Xt.id),Gn}return(0,V.Z)(Pt,[{key:"applyToHost",value:function(Gt){(0,U.Z)((0,B.Z)(Pt.prototype),"setAttribute",this).call(this,Gt,this.hostAttr,"")}},{key:"createElement",value:function(Gt,Xt){var gn=(0,U.Z)((0,B.Z)(Pt.prototype),"createElement",this).call(this,Gt,Xt);return(0,U.Z)((0,B.Z)(Pt.prototype),"setAttribute",this).call(this,gn,this.contentAttr,""),gn}}]),Pt}(en),In=function(Ot){(0,T.Z)(Pt,Ot);var jt=(0,R.Z)(Pt);function Pt(qt,Gt,Xt,gn){var Gn;(0,Z.Z)(this,Pt),(Gn=jt.call(this,qt)).sharedStylesHost=Gt,Gn.hostEl=Xt,Gn.shadowRoot=Xt.attachShadow({mode:"open"}),Gn.sharedStylesHost.addHost(Gn.shadowRoot);for(var jn=Ht(gn.id,gn.styles,[]),zn=0;zn<jn.length;zn++){var si=document.createElement("style");si.textContent=jn[zn],Gn.shadowRoot.appendChild(si)}return Gn}return(0,V.Z)(Pt,[{key:"nodeOrShadowRoot",value:function(Gt){return Gt===this.hostEl?this.shadowRoot:Gt}},{key:"destroy",value:function(){this.sharedStylesHost.removeHost(this.shadowRoot)}},{key:"appendChild",value:function(Gt,Xt){return(0,U.Z)((0,B.Z)(Pt.prototype),"appendChild",this).call(this,this.nodeOrShadowRoot(Gt),Xt)}},{key:"insertBefore",value:function(Gt,Xt,gn){return(0,U.Z)((0,B.Z)(Pt.prototype),"insertBefore",this).call(this,this.nodeOrShadowRoot(Gt),Xt,gn)}},{key:"removeChild",value:function(Gt,Xt){return(0,U.Z)((0,B.Z)(Pt.prototype),"removeChild",this).call(this,this.nodeOrShadowRoot(Gt),Xt)}},{key:"parentNode",value:function(Gt){return this.nodeOrShadowRoot((0,U.Z)((0,B.Z)(Pt.prototype),"parentNode",this).call(this,this.nodeOrShadowRoot(Gt)))}}]),Pt}(en),$n=function(){var Ot=function(jt){(0,T.Z)(qt,jt);var Pt=(0,R.Z)(qt);function qt(Gt){return(0,Z.Z)(this,qt),Pt.call(this,Gt)}return(0,V.Z)(qt,[{key:"supports",value:function(Xt){return!0}},{key:"addEventListener",value:function(Xt,gn,Gn){var jn=this;return Xt.addEventListener(gn,Gn,!1),function(){return jn.removeEventListener(Xt,gn,Gn)}}},{key:"removeEventListener",value:function(Xt,gn,Gn){return Xt.removeEventListener(gn,Gn)}}]),qt}(_t);return Ot.\u0275fac=function(Pt){return new(Pt||Ot)(v.LFG(C.K0))},Ot.\u0275prov=v.Yz7({token:Ot,factory:Ot.\u0275fac}),Ot}(),ct=["alt","control","meta","shift"],Jt={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Kt={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Tn={alt:function(jt){return jt.altKey},control:function(jt){return jt.ctrlKey},meta:function(jt){return jt.metaKey},shift:function(jt){return jt.shiftKey}},Pn=function(){var Ot=function(jt){(0,T.Z)(qt,jt);var Pt=(0,R.Z)(qt);function qt(Gt){return(0,Z.Z)(this,qt),Pt.call(this,Gt)}return(0,V.Z)(qt,[{key:"supports",value:function(Xt){return null!=qt.parseEventName(Xt)}},{key:"addEventListener",value:function(Xt,gn,Gn){var jn=qt.parseEventName(gn),zn=qt.eventCallback(jn.fullKey,Gn,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return(0,C.q)().onAndCancel(Xt,jn.domEventName,zn)})}}],[{key:"parseEventName",value:function(Xt){var gn=Xt.toLowerCase().split("."),Gn=gn.shift();if(0===gn.length||"keydown"!==Gn&&"keyup"!==Gn)return null;var jn=qt._normalizeKey(gn.pop()),zn="";if(ct.forEach(function(bi){var io=gn.indexOf(bi);io>-1&&(gn.splice(io,1),zn+=bi+".")}),zn+=jn,0!=gn.length||0===jn.length)return null;var si={};return si.domEventName=Gn,si.fullKey=zn,si}},{key:"getEventFullKey",value:function(Xt){var gn="",Gn=function(Ot){var jt=Ot.key;if(null==jt){if(null==(jt=Ot.keyIdentifier))return"Unidentified";jt.startsWith("U+")&&(jt=String.fromCharCode(parseInt(jt.substring(2),16)),3===Ot.location&&Kt.hasOwnProperty(jt)&&(jt=Kt[jt]))}return Jt[jt]||jt}(Xt);return" "===(Gn=Gn.toLowerCase())?Gn="space":"."===Gn&&(Gn="dot"),ct.forEach(function(jn){jn!=Gn&&(0,Tn[jn])(Xt)&&(gn+=jn+".")}),gn+=Gn}},{key:"eventCallback",value:function(Xt,gn,Gn){return function(jn){qt.getEventFullKey(jn)===Xt&&Gn.runGuarded(function(){return gn(jn)})}}},{key:"_normalizeKey",value:function(Xt){switch(Xt){case"esc":return"escape";default:return Xt}}}]),qt}(_t);return Ot.\u0275fac=function(Pt){return new(Pt||Ot)(v.LFG(C.K0))},Ot.\u0275prov=v.Yz7({token:Ot,factory:Ot.\u0275fac}),Ot}(),Cn=function(){var Ot=function jt(){(0,Z.Z)(this,jt)};return Ot.\u0275fac=function(Pt){return new(Pt||Ot)},Ot.\u0275prov=(0,v.Yz7)({factory:function(){return(0,v.LFG)(tr)},token:Ot,providedIn:"root"}),Ot}(),tr=function(){var Ot=function(jt){(0,T.Z)(qt,jt);var Pt=(0,R.Z)(qt);function qt(Gt){var Xt;return(0,Z.Z)(this,qt),(Xt=Pt.call(this))._doc=Gt,Xt}return(0,V.Z)(qt,[{key:"sanitize",value:function(Xt,gn){if(null==gn)return null;switch(Xt){case v.q3G.NONE:return gn;case v.q3G.HTML:return(0,v.qzn)(gn,"HTML")?(0,v.z3N)(gn):(0,v.EiD)(this._doc,String(gn)).toString();case v.q3G.STYLE:return(0,v.qzn)(gn,"Style")?(0,v.z3N)(gn):gn;case v.q3G.SCRIPT:if((0,v.qzn)(gn,"Script"))return(0,v.z3N)(gn);throw new Error("unsafe value used in a script context");case v.q3G.URL:return(0,v.yhl)(gn),(0,v.qzn)(gn,"URL")?(0,v.z3N)(gn):(0,v.mCW)(String(gn));case v.q3G.RESOURCE_URL:if((0,v.qzn)(gn,"ResourceURL"))return(0,v.z3N)(gn);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(Xt," (see https://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(Xt){return(0,v.JVY)(Xt)}},{key:"bypassSecurityTrustStyle",value:function(Xt){return(0,v.L6k)(Xt)}},{key:"bypassSecurityTrustScript",value:function(Xt){return(0,v.eBb)(Xt)}},{key:"bypassSecurityTrustUrl",value:function(Xt){return(0,v.LAX)(Xt)}},{key:"bypassSecurityTrustResourceUrl",value:function(Xt){return(0,v.pB0)(Xt)}}]),qt}(Cn);return Ot.\u0275fac=function(Pt){return new(Pt||Ot)(v.LFG(C.K0))},Ot.\u0275prov=(0,v.Yz7)({factory:function(){return function(Ot){return new tr(Ot.get(C.K0))}((0,v.LFG)(v.gxx))},token:Ot,providedIn:"root"}),Ot}(),Ne=(0,v.eFA)(v._c5,"browser",[{provide:v.Lbi,useValue:C.bD},{provide:v.g9A,useValue:function(){D.makeCurrent(),x.init()},multi:!0},{provide:C.K0,useFactory:function(){return(0,v.RDi)(document),document},deps:[]}]),Le=[[],{provide:v.zSh,useValue:"root"},{provide:v.qLn,useFactory:function(){return new v.qLn},deps:[]},{provide:it,useClass:$n,multi:!0,deps:[C.K0,v.R0b,v.Lbi]},{provide:it,useClass:Pn,multi:!0,deps:[C.K0]},[],{provide:bt,useClass:bt,deps:[qe,Ft,v.AFp]},{provide:v.FYo,useExisting:bt},{provide:yt,useExisting:Ft},{provide:Ft,useClass:Ft,deps:[C.K0]},{provide:v.dDg,useClass:v.dDg,deps:[v.R0b]},{provide:qe,useClass:qe,deps:[it,v.R0b]},{provide:C.JF,useClass:S,deps:[]},[]],ze=function(){var Ot=function(){function jt(Pt){if((0,Z.Z)(this,jt),Pt)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return(0,V.Z)(jt,null,[{key:"withServerTransition",value:function(qt){return{ngModule:jt,providers:[{provide:v.AFp,useValue:qt.appId},{provide:k,useExisting:v.AFp},E]}}}]),jt}();return Ot.\u0275fac=function(Pt){return new(Pt||Ot)(v.LFG(Ot,12))},Ot.\u0275mod=v.oAB({type:Ot}),Ot.\u0275inj=v.cJS({providers:Le,imports:[C.ez,v.hGG]}),Ot}();function Nr(){return new qr((0,v.LFG)(C.K0))}var qr=function(){var Ot=function(){function jt(Pt){(0,Z.Z)(this,jt),this._doc=Pt}return(0,V.Z)(jt,[{key:"getTitle",value:function(){return this._doc.title}},{key:"setTitle",value:function(qt){this._doc.title=qt||""}}]),jt}();return Ot.\u0275fac=function(Pt){return new(Pt||Ot)(v.LFG(C.K0))},Ot.\u0275prov=(0,v.Yz7)({factory:Nr,token:Ot,providedIn:"root"}),Ot}(),br="undefined"!=typeof window&&window||{},Qr=function Ot(jt,Pt){(0,Z.Z)(this,Ot),this.msPerTick=jt,this.numTicks=Pt},uo=function(){function Ot(jt){(0,Z.Z)(this,Ot),this.appRef=jt.injector.get(v.z2F)}return(0,V.Z)(Ot,[{key:"timeChangeDetection",value:function(Pt){var qt=Pt&&Pt.record,Gt="Change Detection",Xt=null!=br.console.profile;qt&&Xt&&br.console.profile(Gt);for(var gn=Ni(),Gn=0;Gn<5||Ni()-gn<500;)this.appRef.tick(),Gn++;var jn=Ni();qt&&Xt&&br.console.profileEnd(Gt);var zn=(jn-gn)/Gn;return br.console.log("ran ".concat(Gn," change detection cycles")),br.console.log("".concat(zn.toFixed(2)," ms per check")),new Qr(zn,Gn)}}]),Ot}();function Ni(){return br.performance&&br.performance.now?br.performance.now():(new Date).getTime()}function co(Ot){return function(Ot,jt){"undefined"!=typeof COMPILED&&COMPILED||((v.dqk.ng=v.dqk.ng||{})[Ot]=jt)}("profiler",new uo(Ot)),Ot}},82605:function(ue,q,f){"use strict";f.d(q,{Rf:function(){return V},DM:function(){return Z},en:function(){return T},jH:function(){return R},Cf:function(){return C},Db:function(){return v},EG:function(){return P},l4:function(){return D},JY:function(){return g}});var U=f(4839),B={};function V(){return(0,U.KV)()?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:B}function Z(){var E=V(),x=E.crypto||E.msCrypto;if(void 0!==x&&x.getRandomValues){var S=new Uint16Array(8);x.getRandomValues(S),S[3]=4095&S[3]|16384,S[4]=16383&S[4]|32768;var O=function(j){for(var K=j.toString(16);K.length<4;)K="0"+K;return K};return O(S[0])+O(S[1])+O(S[2])+O(S[3])+O(S[4])+O(S[5])+O(S[6])+O(S[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(L){var j=16*Math.random()|0;return("x"===L?j:3&j|8).toString(16)})}function T(E){if(!E)return{};var x=E.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);return x?{host:x[4],path:x[5],protocol:x[2],relative:x[5]+(x[6]||"")+(x[8]||"")}:{}}function R(E){if(E.message)return E.message;if(E.exception&&E.exception.values&&E.exception.values[0]){var x=E.exception.values[0];return x.type&&x.value?x.type+": "+x.value:x.type||x.value||E.event_id||"<unknown>"}return E.event_id||"<unknown>"}function C(E){var x=V();if(!("console"in x))return E();var O=x.console,L={};["debug","info","warn","error","log","assert"].forEach(function(K){K in x.console&&O[K].__sentry_original__&&(L[K]=O[K],O[K]=O[K].__sentry_original__)});var j=E();return Object.keys(L).forEach(function(K){O[K]=L[K]}),j}function v(E,x,S){E.exception=E.exception||{},E.exception.values=E.exception.values||[],E.exception.values[0]=E.exception.values[0]||{},E.exception.values[0].value=E.exception.values[0].value||x||"",E.exception.values[0].type=E.exception.values[0].type||S||"Error"}function P(E,x){void 0===x&&(x={});try{E.exception.values[0].mechanism=E.exception.values[0].mechanism||{},Object.keys(x).forEach(function(S){E.exception.values[0].mechanism[S]=x[S]})}catch(S){}}function D(){var E=V();try{return E.document.location.href}catch(x){return""}}function g(E,x){if(!x)return 6e4;var S=parseInt(""+x,10);if(!isNaN(S))return 1e3*S;var O=Date.parse(""+x);return isNaN(O)?6e4:O-E}},4839:function(ue,q,f){"use strict";function U(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function B(Z,T){return Z.require(T)}f.d(q,{KV:function(){return U},l$:function(){return B}}),ue=f.hmd(ue)},46354:function(ue,q,f){"use strict";f.d(q,{yW:function(){return v},ph:function(){return P}});var U=f(82605),B=f(4839);ue=f.hmd(ue);var V={nowSeconds:function(){return Date.now()/1e3}},R=(0,B.KV)()?function(){try{return(0,B.l$)(ue,"perf_hooks").performance}catch(k){return}}():function(){var g=(0,U.Rf)().performance;if(g&&g.now)return{now:function(){return g.now()},timeOrigin:Date.now()-g.now()}}(),C=void 0===R?V:{nowSeconds:function(){return(R.timeOrigin+R.now())/1e3}},v=V.nowSeconds.bind(V),P=C.nowSeconds.bind(C);!function(){var g=(0,U.Rf)().performance;if(g&&g.now){var k=36e5,N=g.now(),E=Date.now(),x=g.timeOrigin?Math.abs(g.timeOrigin+N-E):k,S=x<k,O=g.timing&&g.timing.navigationStart,j="number"==typeof O?Math.abs(O+N-E):k}}()},39095:function(ue,q,f){"use strict";f.d(q,{E$:function(){return Ft},ym:function(){return je}});var U=f(27235),B=f(18967),V=f(14105),Z=f(40098),T=f(65508),R=f(68707),C=f(55371),v=f(93487),P=f(89797),M=(f(33090),f(59371)),A=f(16338),_=f(57682),g=f(85639),k=f(34487),N=f(54562),E=f(44213),x=f(35135),S=f(48359),O=f(4363),L=f(58780),j="undefined"!=typeof window&&("ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0);function K(dt,Qe){var Bt=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,xt=Math.abs(dt-Qe);return xt<Bt}function z(dt,Qe,Bt,xt){var vt={top:dt.top,bottom:dt.bottom,left:dt.left,right:dt.right};return Qe.top&&(vt.top+=xt),Qe.bottom&&(vt.bottom+=xt),Qe.left&&(vt.left+=Bt),Qe.right&&(vt.right+=Bt),vt.height=vt.bottom-vt.top,vt.width=vt.right-vt.left,vt}function ie(dt){var Qe=dt.clientY,Bt=dt.rect;return Qe>=Bt.top&&Qe<=Bt.bottom}function te(dt){var Qe=dt.clientX,Bt=dt.rect;return Qe>=Bt.left&&Qe<=Bt.right}function ae(dt){var Qe=dt.clientX,Bt=dt.clientY,vt=dt.allowedEdges,Qt=dt.cursorPrecision,Ht=dt.elm.nativeElement.getBoundingClientRect(),Ct={};return vt.left&&K(Qe,Ht.left,Qt)&&ie({clientY:Bt,rect:Ht})&&(Ct.left=!0),vt.right&&K(Qe,Ht.right,Qt)&&ie({clientY:Bt,rect:Ht})&&(Ct.right=!0),vt.top&&K(Bt,Ht.top,Qt)&&te({clientX:Qe,rect:Ht})&&(Ct.top=!0),vt.bottom&&K(Bt,Ht.bottom,Qt)&&te({clientX:Qe,rect:Ht})&&(Ct.bottom=!0),Ct}var se=Object.freeze({topLeft:"nw-resize",topRight:"ne-resize",bottomLeft:"sw-resize",bottomRight:"se-resize",leftOrRight:"col-resize",topOrBottom:"row-resize"});function ce(dt,Qe){return dt.left&&dt.top?Qe.topLeft:dt.right&&dt.top?Qe.topRight:dt.left&&dt.bottom?Qe.bottomLeft:dt.right&&dt.bottom?Qe.bottomRight:dt.left||dt.right?Qe.leftOrRight:dt.top||dt.bottom?Qe.topOrBottom:""}function le(dt){var Bt=dt.initialRectangle,xt=dt.newRectangle,vt={};return Object.keys(dt.edges).forEach(function(Qt){vt[Qt]=(xt[Qt]||0)-(Bt[Qt]||0)}),vt}var oe="resize-active",Ft=function(){var dt=function(){function Qe(Bt,xt,vt,Qt){(0,B.Z)(this,Qe),this.platformId=Bt,this.renderer=xt,this.elm=vt,this.zone=Qt,this.resizeEdges={},this.enableGhostResize=!1,this.resizeSnapGrid={},this.resizeCursors=se,this.resizeCursorPrecision=3,this.ghostElementPositioning="fixed",this.allowNegativeResizes=!1,this.mouseMoveThrottleMS=50,this.resizeStart=new T.vpe,this.resizing=new T.vpe,this.resizeEnd=new T.vpe,this.mouseup=new R.xQ,this.mousedown=new R.xQ,this.mousemove=new R.xQ,this.destroy$=new R.xQ,this.resizeEdges$=new R.xQ,this.pointerEventListeners=xe.getInstance(xt,Qt)}return(0,V.Z)(Qe,[{key:"ngOnInit",value:function(){var Ct,xt=this,vt=(0,C.T)(this.pointerEventListeners.pointerDown,this.mousedown),Qt=(0,C.T)(this.pointerEventListeners.pointerMove,this.mousemove).pipe((0,M.b)(function(Nt){var rn=Nt.event;if(Ct)try{rn.preventDefault()}catch(kn){}}),(0,A.B)()),Ht=(0,C.T)(this.pointerEventListeners.pointerUp,this.mouseup),Vt=function(){Ct&&Ct.clonedNode&&(xt.elm.nativeElement.parentElement.removeChild(Ct.clonedNode),xt.renderer.setStyle(xt.elm.nativeElement,"visibility","inherit"))},bt=function(){return Object.assign({},se,xt.resizeCursors)};this.resizeEdges$.pipe((0,_.O)(this.resizeEdges),(0,g.U)(function(){return xt.resizeEdges&&Object.keys(xt.resizeEdges).some(function(Nt){return!!xt.resizeEdges[Nt]})}),(0,k.w)(function(Nt){return Nt?Qt:v.E}),(0,N.e)(this.mouseMoveThrottleMS),(0,E.R)(this.destroy$)).subscribe(function(Nt){var Nn=ae({clientX:Nt.clientX,clientY:Nt.clientY,elm:xt.elm,allowedEdges:xt.resizeEdges,cursorPrecision:xt.resizeCursorPrecision}),In=bt();if(!Ct){var $n=ce(Nn,In);xt.renderer.setStyle(xt.elm.nativeElement,"cursor",$n)}xt.setElementClass(xt.elm,"resize-left-hover",!0===Nn.left),xt.setElementClass(xt.elm,"resize-right-hover",!0===Nn.right),xt.setElementClass(xt.elm,"resize-top-hover",!0===Nn.top),xt.setElementClass(xt.elm,"resize-bottom-hover",!0===Nn.bottom)}),vt.pipe((0,x.zg)(function(Nt){function rn(In){return{clientX:In.clientX-Nt.clientX,clientY:In.clientY-Nt.clientY}}var kn=function(){var $n={x:1,y:1};return Ct&&(xt.resizeSnapGrid.left&&Ct.edges.left?$n.x=+xt.resizeSnapGrid.left:xt.resizeSnapGrid.right&&Ct.edges.right&&($n.x=+xt.resizeSnapGrid.right),xt.resizeSnapGrid.top&&Ct.edges.top?$n.y=+xt.resizeSnapGrid.top:xt.resizeSnapGrid.bottom&&Ct.edges.bottom&&($n.y=+xt.resizeSnapGrid.bottom)),$n};function Nn(In,$n){return{x:Math.ceil(In.clientX/$n.x),y:Math.ceil(In.clientY/$n.y)}}return(0,C.T)(Qt.pipe((0,S.q)(1)).pipe((0,g.U)(function(In){return[,In]})),Qt.pipe((0,O.G)())).pipe((0,g.U)(function(In){var $n=(0,U.Z)(In,2),Rn=$n[0],wn=$n[1];return[Rn&&rn(Rn),rn(wn)]})).pipe((0,L.h)(function(In){var $n=(0,U.Z)(In,2),Rn=$n[0],wn=$n[1];if(!Rn)return!0;var yr=kn(),ut=Nn(Rn,yr),He=Nn(wn,yr);return ut.x!==He.x||ut.y!==He.y})).pipe((0,g.U)(function(In){var Rn=(0,U.Z)(In,2)[1],wn=kn();return{clientX:Math.round(Rn.clientX/wn.x)*wn.x,clientY:Math.round(Rn.clientY/wn.y)*wn.y}})).pipe((0,E.R)((0,C.T)(Ht,vt)))})).pipe((0,L.h)(function(){return!!Ct})).pipe((0,g.U)(function(Nt){return z(Ct.startingRect,Ct.edges,Nt.clientX,Nt.clientY)})).pipe((0,L.h)(function(Nt){return xt.allowNegativeResizes||!!(Nt.height&&Nt.width&&Nt.height>0&&Nt.width>0)})).pipe((0,L.h)(function(Nt){return!xt.validateResize||xt.validateResize({rectangle:Nt,edges:le({edges:Ct.edges,initialRectangle:Ct.startingRect,newRectangle:Nt})})}),(0,E.R)(this.destroy$)).subscribe(function(Nt){Ct&&Ct.clonedNode&&(xt.renderer.setStyle(Ct.clonedNode,"height","".concat(Nt.height,"px")),xt.renderer.setStyle(Ct.clonedNode,"width","".concat(Nt.width,"px")),xt.renderer.setStyle(Ct.clonedNode,"top","".concat(Nt.top,"px")),xt.renderer.setStyle(Ct.clonedNode,"left","".concat(Nt.left,"px"))),xt.resizing.observers.length>0&&xt.zone.run(function(){xt.resizing.emit({edges:le({edges:Ct.edges,initialRectangle:Ct.startingRect,newRectangle:Nt}),rectangle:Nt})}),Ct.currentRect=Nt}),vt.pipe((0,g.U)(function(Nt){return Nt.edges||ae({clientX:Nt.clientX,clientY:Nt.clientY,elm:xt.elm,allowedEdges:xt.resizeEdges,cursorPrecision:xt.resizeCursorPrecision})})).pipe((0,L.h)(function(Nt){return Object.keys(Nt).length>0}),(0,E.R)(this.destroy$)).subscribe(function(Nt){Ct&&Vt();var rn=function(dt,Qe){var Bt=0,xt=0,vt=dt.nativeElement.style,Ht=["transform","-ms-transform","-moz-transform","-o-transform"].map(function(Vt){return vt[Vt]}).find(function(Vt){return!!Vt});if(Ht&&Ht.includes("translate")&&(Bt=Ht.replace(/.*translate3?d?\((-?[0-9]*)px, (-?[0-9]*)px.*/,"$1"),xt=Ht.replace(/.*translate3?d?\((-?[0-9]*)px, (-?[0-9]*)px.*/,"$2")),"absolute"===Qe)return{height:dt.nativeElement.offsetHeight,width:dt.nativeElement.offsetWidth,top:dt.nativeElement.offsetTop-xt,bottom:dt.nativeElement.offsetHeight+dt.nativeElement.offsetTop-xt,left:dt.nativeElement.offsetLeft-Bt,right:dt.nativeElement.offsetWidth+dt.nativeElement.offsetLeft-Bt};var Ct=dt.nativeElement.getBoundingClientRect();return{height:Ct.height,width:Ct.width,top:Ct.top-xt,bottom:Ct.bottom-xt,left:Ct.left-Bt,right:Ct.right-Bt,scrollTop:dt.nativeElement.scrollTop,scrollLeft:dt.nativeElement.scrollLeft}}(xt.elm,xt.ghostElementPositioning);Ct={edges:Nt,startingRect:rn,currentRect:rn};var kn=bt(),Nn=ce(Ct.edges,kn);xt.renderer.setStyle(document.body,"cursor",Nn),xt.setElementClass(xt.elm,oe,!0),xt.enableGhostResize&&(Ct.clonedNode=xt.elm.nativeElement.cloneNode(!0),xt.elm.nativeElement.parentElement.appendChild(Ct.clonedNode),xt.renderer.setStyle(xt.elm.nativeElement,"visibility","hidden"),xt.renderer.setStyle(Ct.clonedNode,"position",xt.ghostElementPositioning),xt.renderer.setStyle(Ct.clonedNode,"left","".concat(Ct.startingRect.left,"px")),xt.renderer.setStyle(Ct.clonedNode,"top","".concat(Ct.startingRect.top,"px")),xt.renderer.setStyle(Ct.clonedNode,"height","".concat(Ct.startingRect.height,"px")),xt.renderer.setStyle(Ct.clonedNode,"width","".concat(Ct.startingRect.width,"px")),xt.renderer.setStyle(Ct.clonedNode,"cursor",ce(Ct.edges,kn)),xt.renderer.addClass(Ct.clonedNode,"resize-ghost-element"),Ct.clonedNode.scrollTop=Ct.startingRect.scrollTop,Ct.clonedNode.scrollLeft=Ct.startingRect.scrollLeft),xt.resizeStart.observers.length>0&&xt.zone.run(function(){xt.resizeStart.emit({edges:le({edges:Nt,initialRectangle:rn,newRectangle:rn}),rectangle:z(rn,{},0,0)})})}),Ht.pipe((0,E.R)(this.destroy$)).subscribe(function(){Ct&&(xt.renderer.removeClass(xt.elm.nativeElement,oe),xt.renderer.setStyle(document.body,"cursor",""),xt.renderer.setStyle(xt.elm.nativeElement,"cursor",""),xt.resizeEnd.observers.length>0&&xt.zone.run(function(){xt.resizeEnd.emit({edges:le({edges:Ct.edges,initialRectangle:Ct.startingRect,newRectangle:Ct.currentRect}),rectangle:Ct.currentRect})}),Vt(),Ct=null)})}},{key:"ngOnChanges",value:function(xt){xt.resizeEdges&&this.resizeEdges$.next(this.resizeEdges)}},{key:"ngOnDestroy",value:function(){(0,Z.NF)(this.platformId)&&this.renderer.setStyle(document.body,"cursor",""),this.mousedown.complete(),this.mouseup.complete(),this.mousemove.complete(),this.resizeEdges$.complete(),this.destroy$.next()}},{key:"setElementClass",value:function(xt,vt,Qt){Qt?this.renderer.addClass(xt.nativeElement,vt):this.renderer.removeClass(xt.nativeElement,vt)}}]),Qe}();return dt.\u0275fac=function(Bt){return new(Bt||dt)(T.Y36(T.Lbi),T.Y36(T.Qsj),T.Y36(T.SBq),T.Y36(T.R0b))},dt.\u0275dir=T.lG2({type:dt,selectors:[["","mwlResizable",""]],inputs:{resizeEdges:"resizeEdges",enableGhostResize:"enableGhostResize",resizeSnapGrid:"resizeSnapGrid",resizeCursors:"resizeCursors",resizeCursorPrecision:"resizeCursorPrecision",ghostElementPositioning:"ghostElementPositioning",allowNegativeResizes:"allowNegativeResizes",mouseMoveThrottleMS:"mouseMoveThrottleMS",validateResize:"validateResize"},outputs:{resizeStart:"resizeStart",resizing:"resizing",resizeEnd:"resizeEnd"},exportAs:["mwlResizable"],features:[T.TTD]}),dt}(),xe=function(){function dt(Qe,Bt){(0,B.Z)(this,dt),this.pointerDown=new P.y(function(xt){var vt,Qt;return Bt.runOutsideAngular(function(){vt=Qe.listen("document","mousedown",function(Ht){xt.next({clientX:Ht.clientX,clientY:Ht.clientY,event:Ht})}),j&&(Qt=Qe.listen("document","touchstart",function(Ht){xt.next({clientX:Ht.touches[0].clientX,clientY:Ht.touches[0].clientY,event:Ht})}))}),function(){vt(),j&&Qt()}}).pipe((0,A.B)()),this.pointerMove=new P.y(function(xt){var vt,Qt;return Bt.runOutsideAngular(function(){vt=Qe.listen("document","mousemove",function(Ht){xt.next({clientX:Ht.clientX,clientY:Ht.clientY,event:Ht})}),j&&(Qt=Qe.listen("document","touchmove",function(Ht){xt.next({clientX:Ht.targetTouches[0].clientX,clientY:Ht.targetTouches[0].clientY,event:Ht})}))}),function(){vt(),j&&Qt()}}).pipe((0,A.B)()),this.pointerUp=new P.y(function(xt){var vt,Qt,Ht;return Bt.runOutsideAngular(function(){vt=Qe.listen("document","mouseup",function(Ct){xt.next({clientX:Ct.clientX,clientY:Ct.clientY,event:Ct})}),j&&(Qt=Qe.listen("document","touchend",function(Ct){xt.next({clientX:Ct.changedTouches[0].clientX,clientY:Ct.changedTouches[0].clientY,event:Ct})}),Ht=Qe.listen("document","touchcancel",function(Ct){xt.next({clientX:Ct.changedTouches[0].clientX,clientY:Ct.changedTouches[0].clientY,event:Ct})}))}),function(){vt(),j&&(Qt(),Ht())}}).pipe((0,A.B)())}return(0,V.Z)(dt,null,[{key:"getInstance",value:function(Bt,xt){return dt.instance||(dt.instance=new dt(Bt,xt)),dt.instance}}]),dt}(),je=function(){var dt=function Qe(){(0,B.Z)(this,Qe)};return dt.\u0275fac=function(Bt){return new(Bt||dt)},dt.\u0275mod=T.oAB({type:dt}),dt.\u0275inj=T.cJS({}),dt}()},57695:function(ue,q,f){var U=f(94518),B=f(23050),V=f(99262),Z=f(44900),T=/^\s*\|\s*/;function C(D,M){var A={};for(var _ in D)A[_]=D[_].syntax||D[_];for(var g in M)g in D?M[g].syntax?A[g]=T.test(M[g].syntax)?A[g]+" "+M[g].syntax.trim():M[g].syntax:delete A[g]:M[g].syntax&&(A[g]=M[g].syntax.replace(T,""));return A}function v(D){var M={};for(var A in D)M[A]=D[A].syntax;return M}ue.exports={types:C(V,Z.syntaxes),atrules:function(D,M){var A={};for(var _ in D){var g=M[_]&&M[_].descriptors||null;A[_]={prelude:_ in M&&"prelude"in M[_]?M[_].prelude:D[_].prelude||null,descriptors:D[_].descriptors?C(D[_].descriptors,g||{}):g&&v(g)}}for(var k in M)hasOwnProperty.call(D,k)||(A[k]={prelude:M[k].prelude||null,descriptors:M[k].descriptors&&v(M[k].descriptors)});return A}(function(D){var M=Object.create(null);for(var A in D){var _=D[A],g=null;if(_.descriptors)for(var k in g=Object.create(null),_.descriptors)g[k]=_.descriptors[k].syntax;M[A.substr(1)]={prelude:_.syntax.trim().match(/^@\S+\s+([^;\{]*)/)[1].trim()||null,descriptors:g}}return M}(U),Z.atrules),properties:C(B,Z.properties)}},63335:function(ue){function q(Z){return{prev:null,next:null,data:Z}}function f(Z,T,R){var C;return null!==B?(C=B,B=B.cursor,C.prev=T,C.next=R,C.cursor=Z.cursor):C={prev:T,next:R,cursor:Z.cursor},Z.cursor=C,C}function U(Z){var T=Z.cursor;Z.cursor=T.cursor,T.prev=null,T.next=null,T.cursor=B,B=T}var B=null,V=function(){this.cursor=null,this.head=null,this.tail=null};V.createItem=q,V.prototype.createItem=q,V.prototype.updateCursors=function(Z,T,R,C){for(var v=this.cursor;null!==v;)v.prev===Z&&(v.prev=T),v.next===R&&(v.next=C),v=v.cursor},V.prototype.getSize=function(){for(var Z=0,T=this.head;T;)Z++,T=T.next;return Z},V.prototype.fromArray=function(Z){var T=null;this.head=null;for(var R=0;R<Z.length;R++){var C=q(Z[R]);null!==T?T.next=C:this.head=C,C.prev=T,T=C}return this.tail=T,this},V.prototype.toJSON=V.prototype.toArray=function(){for(var Z=this.head,T=[];Z;)T.push(Z.data),Z=Z.next;return T},V.prototype.isEmpty=function(){return null===this.head},V.prototype.first=function(){return this.head&&this.head.data},V.prototype.last=function(){return this.tail&&this.tail.data},V.prototype.forEach=V.prototype.each=function(Z,T){var R;void 0===T&&(T=this);for(var C=f(this,null,this.head);null!==C.next;)C.next=(R=C.next).next,Z.call(T,R.data,R,this);U(this)},V.prototype.forEachRight=V.prototype.eachRight=function(Z,T){var R;void 0===T&&(T=this);for(var C=f(this,this.tail,null);null!==C.prev;)C.prev=(R=C.prev).prev,Z.call(T,R.data,R,this);U(this)},V.prototype.reduce=function(Z,T,R){var C;void 0===R&&(R=this);for(var v=f(this,null,this.head),P=T;null!==v.next;)v.next=(C=v.next).next,P=Z.call(R,P,C.data,C,this);return U(this),P},V.prototype.reduceRight=function(Z,T,R){var C;void 0===R&&(R=this);for(var v=f(this,this.tail,null),P=T;null!==v.prev;)v.prev=(C=v.prev).prev,P=Z.call(R,P,C.data,C,this);return U(this),P},V.prototype.nextUntil=function(Z,T,R){if(null!==Z){var C;void 0===R&&(R=this);for(var v=f(this,null,Z);null!==v.next&&(v.next=(C=v.next).next,!T.call(R,C.data,C,this)););U(this)}},V.prototype.prevUntil=function(Z,T,R){if(null!==Z){var C;void 0===R&&(R=this);for(var v=f(this,Z,null);null!==v.prev&&(v.prev=(C=v.prev).prev,!T.call(R,C.data,C,this)););U(this)}},V.prototype.some=function(Z,T){var R=this.head;for(void 0===T&&(T=this);null!==R;){if(Z.call(T,R.data,R,this))return!0;R=R.next}return!1},V.prototype.map=function(Z,T){var R=new V,C=this.head;for(void 0===T&&(T=this);null!==C;)R.appendData(Z.call(T,C.data,C,this)),C=C.next;return R},V.prototype.filter=function(Z,T){var R=new V,C=this.head;for(void 0===T&&(T=this);null!==C;)Z.call(T,C.data,C,this)&&R.appendData(C.data),C=C.next;return R},V.prototype.clear=function(){this.head=null,this.tail=null},V.prototype.copy=function(){for(var Z=new V,T=this.head;null!==T;)Z.insert(q(T.data)),T=T.next;return Z},V.prototype.prepend=function(Z){return this.updateCursors(null,Z,this.head,Z),null!==this.head?(this.head.prev=Z,Z.next=this.head):this.tail=Z,this.head=Z,this},V.prototype.prependData=function(Z){return this.prepend(q(Z))},V.prototype.append=function(Z){return this.insert(Z)},V.prototype.appendData=function(Z){return this.insert(q(Z))},V.prototype.insert=function(Z,T){if(null!=T)if(this.updateCursors(T.prev,Z,T,Z),null===T.prev){if(this.head!==T)throw new Error("before doesn't belong to list");this.head=Z,T.prev=Z,Z.next=T,this.updateCursors(null,Z)}else T.prev.next=Z,Z.prev=T.prev,T.prev=Z,Z.next=T;else this.updateCursors(this.tail,Z,null,Z),null!==this.tail?(this.tail.next=Z,Z.prev=this.tail):this.head=Z,this.tail=Z;return this},V.prototype.insertData=function(Z,T){return this.insert(q(Z),T)},V.prototype.remove=function(Z){if(this.updateCursors(Z,Z.prev,Z,Z.next),null!==Z.prev)Z.prev.next=Z.next;else{if(this.head!==Z)throw new Error("item doesn't belong to list");this.head=Z.next}if(null!==Z.next)Z.next.prev=Z.prev;else{if(this.tail!==Z)throw new Error("item doesn't belong to list");this.tail=Z.prev}return Z.prev=null,Z.next=null,Z},V.prototype.push=function(Z){this.insert(q(Z))},V.prototype.pop=function(){if(null!==this.tail)return this.remove(this.tail)},V.prototype.unshift=function(Z){this.prepend(q(Z))},V.prototype.shift=function(){if(null!==this.head)return this.remove(this.head)},V.prototype.prependList=function(Z){return this.insertList(Z,this.head)},V.prototype.appendList=function(Z){return this.insertList(Z)},V.prototype.insertList=function(Z,T){return null===Z.head||(null!=T?(this.updateCursors(T.prev,Z.tail,T,Z.head),null!==T.prev?(T.prev.next=Z.head,Z.head.prev=T.prev):this.head=Z.head,T.prev=Z.tail,Z.tail.next=T):(this.updateCursors(this.tail,Z.tail,null,Z.head),null!==this.tail?(this.tail.next=Z.head,Z.head.prev=this.tail):this.head=Z.head,this.tail=Z.tail),Z.head=null,Z.tail=null),this},V.prototype.replace=function(Z,T){"head"in T?this.insertList(T,Z):this.insert(T,Z),this.remove(Z)},ue.exports=V},88373:function(ue,q,f){var U=f(62146),B=f(97555).isBOM,C=function(){this.lines=null,this.columns=null,this.linesAndColumnsComputed=!1};C.prototype={setSource:function(P,D,M,A){this.source=P,this.startOffset=void 0===D?0:D,this.startLine=void 0===M?1:M,this.startColumn=void 0===A?1:A,this.linesAndColumnsComputed=!1},ensureLinesAndColumnsComputed:function(){this.linesAndColumnsComputed||(function(v,P){for(var D=P.length,M=U(v.lines,D),A=v.startLine,_=U(v.columns,D),g=v.startColumn,N=P.length>0?B(P.charCodeAt(0)):0;N<D;N++){var E=P.charCodeAt(N);M[N]=A,_[N]=g++,(10===E||13===E||12===E)&&(13===E&&N+1<D&&10===P.charCodeAt(N+1)&&(M[++N]=A,_[N]=g),A++,g=1)}M[N]=A,_[N]=g,v.lines=M,v.columns=_}(this,this.source),this.linesAndColumnsComputed=!0)},getLocation:function(P,D){return this.ensureLinesAndColumnsComputed(),{source:D,offset:this.startOffset+P,line:this.lines[P],column:this.columns[P]}},getLocationRange:function(P,D,M){return this.ensureLinesAndColumnsComputed(),{source:M,start:{offset:this.startOffset+P,line:this.lines[P],column:this.columns[P]},end:{offset:this.startOffset+D,line:this.lines[D],column:this.columns[D]}}}},ue.exports=C},52556:function(ue,q,f){var U=f(92455),Z="    ";function T(C,v){function P(x,S){return D.slice(x,S).map(function(O,L){for(var j=String(x+L+1);j.length<k;)j=" "+j;return j+" |"+O}).join("\n")}var D=C.source.split(/\r\n?|\n|\f/),M=C.line,A=C.column,_=Math.max(1,M-v)-1,g=Math.min(M+v,D.length+1),k=Math.max(4,String(g).length)+1,N=0;(A+=(Z.length-1)*(D[M-1].substr(0,A-1).match(/\t/g)||[]).length)>100&&(N=A-60+3,A=58);for(var E=_;E<=g;E++)E>=0&&E<D.length&&(D[E]=D[E].replace(/\t/g,Z),D[E]=(N>0&&D[E].length>N?"\u2026":"")+D[E].substr(N,98)+(D[E].length>N+100-1?"\u2026":""));return[P(_,M),new Array(A+k+2).join("-")+"^",P(M,g)].filter(Boolean).join("\n")}ue.exports=function(v,P,D,M,A){var _=U("SyntaxError",v);return _.source=P,_.offset=D,_.line=M,_.column=A,_.sourceFragment=function(g){return T(_,isNaN(g)?0:g)},Object.defineProperty(_,"formattedMessage",{get:function(){return"Parse error: "+_.message+"\n"+T(_,2)}}),_.parseError={offset:D,line:M,column:A},_}},13146:function(ue,q,f){var U=f(97077),B=U.TYPE,V=U.NAME,T=f(74586).cmpStr,R=B.EOF,C=B.WhiteSpace,v=B.Comment,P=16777215,D=24,M=function(){this.offsetAndType=null,this.balance=null,this.reset()};M.prototype={reset:function(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset},lookupType:function(_){return(_+=this.tokenIndex)<this.tokenCount?this.offsetAndType[_]>>D:R},lookupOffset:function(_){return(_+=this.tokenIndex)<this.tokenCount?this.offsetAndType[_-1]&P:this.source.length},lookupValue:function(_,g){return(_+=this.tokenIndex)<this.tokenCount&&T(this.source,this.offsetAndType[_-1]&P,this.offsetAndType[_]&P,g)},getTokenStart:function(_){return _===this.tokenIndex?this.tokenStart:_>0?_<this.tokenCount?this.offsetAndType[_-1]&P:this.offsetAndType[this.tokenCount]&P:this.firstCharOffset},getRawLength:function(_,g){var N,k=_,E=this.offsetAndType[Math.max(k-1,0)]&P;e:for(;k<this.tokenCount&&!((N=this.balance[k])<_);k++)switch(g(this.offsetAndType[k]>>D,this.source,E)){case 1:break e;case 2:k++;break e;default:this.balance[N]===k&&(k=N),E=this.offsetAndType[k]&P}return k-this.tokenIndex},isBalanceEdge:function(_){return this.balance[this.tokenIndex]<_},isDelim:function(_,g){return g?this.lookupType(g)===B.Delim&&this.source.charCodeAt(this.lookupOffset(g))===_:this.tokenType===B.Delim&&this.source.charCodeAt(this.tokenStart)===_},getTokenValue:function(){return this.source.substring(this.tokenStart,this.tokenEnd)},getTokenLength:function(){return this.tokenEnd-this.tokenStart},substrToCursor:function(_){return this.source.substring(_,this.tokenStart)},skipWS:function(){for(var _=this.tokenIndex,g=0;_<this.tokenCount&&this.offsetAndType[_]>>D===C;_++,g++);g>0&&this.skip(g)},skipSC:function(){for(;this.tokenType===C||this.tokenType===v;)this.next()},skip:function(_){var g=this.tokenIndex+_;g<this.tokenCount?(this.tokenIndex=g,this.tokenStart=this.offsetAndType[g-1]&P,this.tokenType=(g=this.offsetAndType[g])>>D,this.tokenEnd=g&P):(this.tokenIndex=this.tokenCount,this.next())},next:function(){var _=this.tokenIndex+1;_<this.tokenCount?(this.tokenIndex=_,this.tokenStart=this.tokenEnd,this.tokenType=(_=this.offsetAndType[_])>>D,this.tokenEnd=_&P):(this.tokenIndex=this.tokenCount,this.eof=!0,this.tokenType=R,this.tokenStart=this.tokenEnd=this.source.length)},forEachToken:function(_){for(var g=0,k=this.firstCharOffset;g<this.tokenCount;g++){var N=k,E=this.offsetAndType[g],x=E&P;k=x,_(E>>D,N,x,g)}},dump:function(){var _=this,g=new Array(this.tokenCount);return this.forEachToken(function(k,N,E,x){g[x]={idx:x,type:V[k],chunk:_.source.substring(N,E),balance:_.balance[x]}}),g}},ue.exports=M},62146:function(ue){var f="undefined"!=typeof Uint32Array?Uint32Array:Array;ue.exports=function(B,V){return null===B||B.length<V?new f(Math.max(V+1024,16384)):B}},62139:function(ue,q,f){var U=f(63335);ue.exports=function(V){return{fromPlainObject:function(T){return V(T,{enter:function(C){C.children&&!(C.children instanceof U)&&(C.children=(new U).fromArray(C.children))}}),T},toPlainObject:function(T){return V(T,{leave:function(C){C.children&&C.children instanceof U&&(C.children=C.children.toArray())}}),T}}}},6063:function(ue,q,f){var U=f(92455);ue.exports=function(V,Z,T){var R=U("SyntaxError",V);return R.input=Z,R.offset=T,R.rawMessage=V,R.message=R.rawMessage+"\n  "+R.input+"\n--"+new Array((R.offset||R.input.length)+1).join("-")+"^",R}},58298:function(ue){function q(Z){return Z}function V(Z,T,R,C){var v;switch(Z.type){case"Group":v=function(Z,T,R,C){var v=" "===Z.combinator||C?Z.combinator:" "+Z.combinator+" ",P=Z.terms.map(function(D){return V(D,T,R,C)}).join(v);return(Z.explicit||R)&&(P=(C||","===P[0]?"[":"[ ")+P+(C?"]":" ]")),P}(Z,T,R,C)+(Z.disallowEmpty?"!":"");break;case"Multiplier":return V(Z.term,T,R,C)+T(function(Z){return 0===Z.min&&0===Z.max?"*":0===Z.min&&1===Z.max?"?":1===Z.min&&0===Z.max?Z.comma?"#":"+":1===Z.min&&1===Z.max?"":(Z.comma?"#":"")+(Z.min===Z.max?"{"+Z.min+"}":"{"+Z.min+","+(0!==Z.max?Z.max:"")+"}")}(Z),Z);case"Type":v="<"+Z.name+(Z.opts?T(function(Z){switch(Z.type){case"Range":return" ["+(null===Z.min?"-\u221e":Z.min)+","+(null===Z.max?"\u221e":Z.max)+"]";default:throw new Error("Unknown node type `"+Z.type+"`")}}(Z.opts),Z.opts):"")+">";break;case"Property":v="<'"+Z.name+"'>";break;case"Keyword":v=Z.name;break;case"AtKeyword":v="@"+Z.name;break;case"Function":v=Z.name+"(";break;case"String":case"Token":v=Z.value;break;case"Comma":v=",";break;default:throw new Error("Unknown node type `"+Z.type+"`")}return T(v,Z)}ue.exports=function(Z,T){var R=q,C=!1,v=!1;return"function"==typeof T?R=T:T&&(C=Boolean(T.forceBraces),v=Boolean(T.compact),"function"==typeof T.decorate&&(R=T.decorate)),V(Z,R,C,v)}},37149:function(ue,q,f){ue.exports={SyntaxError:f(6063),parse:f(11261),generate:f(58298),walk:f(37363)}},11261:function(ue,q,f){var U=f(57674),K=123,te=function(vt){for(var Qt="function"==typeof Uint32Array?new Uint32Array(128):new Array(128),Ht=0;Ht<128;Ht++)Qt[Ht]=vt(String.fromCharCode(Ht))?1:0;return Qt}(function(vt){return/[a-zA-Z0-9\-]/.test(vt)}),ae={" ":1,"&&":2,"||":3,"|":4};function ce(vt){return vt.substringToPos(vt.findWsEnd(vt.pos))}function le(vt){for(var Qt=vt.pos;Qt<vt.str.length;Qt++){var Ht=vt.str.charCodeAt(Qt);if(Ht>=128||0===te[Ht])break}return vt.pos===Qt&&vt.error("Expect a keyword"),vt.substringToPos(Qt)}function oe(vt){for(var Qt=vt.pos;Qt<vt.str.length;Qt++){var Ht=vt.str.charCodeAt(Qt);if(Ht<48||Ht>57)break}return vt.pos===Qt&&vt.error("Expect a number"),vt.substringToPos(Qt)}function Ae(vt){var Qt=vt.str.indexOf("'",vt.pos+1);return-1===Qt&&(vt.pos=vt.str.length,vt.error("Expect an apostrophe")),vt.substringToPos(Qt+1)}function be(vt){var Qt,Ht=null;return vt.eat(K),Qt=oe(vt),44===vt.charCode()?(vt.pos++,125!==vt.charCode()&&(Ht=oe(vt))):Ht=Qt,vt.eat(125),{min:Number(Qt),max:Ht?Number(Ht):0}}function qe(vt,Qt){var Ht=function(vt){var Qt=null,Ht=!1;switch(vt.charCode()){case 42:vt.pos++,Qt={min:0,max:0};break;case 43:vt.pos++,Qt={min:1,max:0};break;case 63:vt.pos++,Qt={min:0,max:1};break;case 35:vt.pos++,Ht=!0,Qt=vt.charCode()===K?be(vt):{min:1,max:0};break;case K:Qt=be(vt);break;default:return null}return{type:"Multiplier",comma:Ht,min:Qt.min,max:Qt.max,term:null}}(vt);return null!==Ht?(Ht.term=Qt,Ht):Qt}function _t(vt){var Qt=vt.peek();return""===Qt?null:{type:"Token",value:Qt}}function je(vt,Qt){function Ht(Nt,rn){return{type:"Group",terms:Nt,combinator:rn,disallowEmpty:!1,explicit:!1}}for(Qt=Object.keys(Qt).sort(function(Nt,rn){return ae[Nt]-ae[rn]});Qt.length>0;){for(var Ct=Qt.shift(),Vt=0,bt=0;Vt<vt.length;Vt++){var en=vt[Vt];"Combinator"===en.type&&(en.value===Ct?(-1===bt&&(bt=Vt-1),vt.splice(Vt,1),Vt--):(-1!==bt&&Vt-bt>1&&(vt.splice(bt,Vt-bt,Ht(vt.slice(bt,Vt),Ct)),Vt=bt+1),bt=-1))}-1!==bt&&Qt.length&&vt.splice(bt,Vt-bt,Ht(vt.slice(bt,Vt),Ct))}return Ct}function dt(vt){for(var Ct,Qt=[],Ht={},Vt=null,bt=vt.pos;Ct=Bt(vt);)"Spaces"!==Ct.type&&("Combinator"===Ct.type?((null===Vt||"Combinator"===Vt.type)&&(vt.pos=bt,vt.error("Unexpected combinator")),Ht[Ct.value]=!0):null!==Vt&&"Combinator"!==Vt.type&&(Ht[" "]=!0,Qt.push({type:"Combinator",value:" "})),Qt.push(Ct),Vt=Ct,bt=vt.pos);return null!==Vt&&"Combinator"===Vt.type&&(vt.pos-=bt,vt.error("Unexpected combinator")),{type:"Group",terms:Qt,combinator:je(Qt,Ht)||" ",disallowEmpty:!1,explicit:!1}}function Bt(vt){var Qt=vt.charCode();if(Qt<128&&1===te[Qt])return function(vt){var Qt;return Qt=le(vt),40===vt.charCode()?(vt.pos++,{type:"Function",name:Qt}):qe(vt,{type:"Keyword",name:Qt})}(vt);switch(Qt){case 93:break;case 91:return qe(vt,function(vt){var Qt;return vt.eat(91),Qt=dt(vt),vt.eat(93),Qt.explicit=!0,33===vt.charCode()&&(vt.pos++,Qt.disallowEmpty=!0),Qt}(vt));case 60:return 39===vt.nextCharCode()?function(vt){var Qt;return vt.eat(60),vt.eat(39),Qt=le(vt),vt.eat(39),vt.eat(62),qe(vt,{type:"Property",name:Qt})}(vt):function(vt){var Qt,Ht=null;return vt.eat(60),Qt=le(vt),40===vt.charCode()&&41===vt.nextCharCode()&&(vt.pos+=2,Qt+="()"),91===vt.charCodeAt(vt.findWsEnd(vt.pos))&&(ce(vt),Ht=function(vt){var Qt=null,Ht=null,Ct=1;return vt.eat(91),45===vt.charCode()&&(vt.peek(),Ct=-1),-1==Ct&&8734===vt.charCode()?vt.peek():Qt=Ct*Number(oe(vt)),ce(vt),vt.eat(44),ce(vt),8734===vt.charCode()?vt.peek():(Ct=1,45===vt.charCode()&&(vt.peek(),Ct=-1),Ht=Ct*Number(oe(vt))),vt.eat(93),null===Qt&&null===Ht?null:{type:"Range",min:Qt,max:Ht}}(vt)),vt.eat(62),qe(vt,{type:"Type",name:Qt,opts:Ht})}(vt);case 124:return{type:"Combinator",value:vt.substringToPos(124===vt.nextCharCode()?vt.pos+2:vt.pos+1)};case 38:return vt.pos++,vt.eat(38),{type:"Combinator",value:"&&"};case 44:return vt.pos++,{type:"Comma"};case 39:return qe(vt,{type:"String",value:Ae(vt)});case 32:case 9:case 10:case 13:case 12:return{type:"Spaces",value:ce(vt)};case 64:return(Qt=vt.nextCharCode())<128&&1===te[Qt]?(vt.pos++,{type:"AtKeyword",name:le(vt)}):_t(vt);case 42:case 43:case 63:case 35:case 33:break;case K:if((Qt=vt.nextCharCode())<48||Qt>57)return _t(vt);break;default:return _t(vt)}}function xt(vt){var Qt=new U(vt),Ht=dt(Qt);return Qt.pos!==vt.length&&Qt.error("Unexpected input"),1===Ht.terms.length&&"Group"===Ht.terms[0].type&&(Ht=Ht.terms[0]),Ht}xt("[a&&<b>#|<'c'>*||e() f{2} /,(% g#{1,2} h{2,})]!"),ue.exports=xt},57674:function(ue,q,f){var U=f(6063),C=function(P){this.str=P,this.pos=0};C.prototype={charCodeAt:function(P){return P<this.str.length?this.str.charCodeAt(P):0},charCode:function(){return this.charCodeAt(this.pos)},nextCharCode:function(){return this.charCodeAt(this.pos+1)},nextNonWsCode:function(P){return this.charCodeAt(this.findWsEnd(P))},findWsEnd:function(P){for(;P<this.str.length;P++){var D=this.str.charCodeAt(P);if(13!==D&&10!==D&&12!==D&&32!==D&&9!==D)break}return P},substringToPos:function(P){return this.str.substring(this.pos,this.pos=P)},eat:function(P){this.charCode()!==P&&this.error("Expect `"+String.fromCharCode(P)+"`"),this.pos++},peek:function(){return this.pos<this.str.length?this.str.charAt(this.pos++):""},error:function(P){throw new U(P,this.str,this.pos)}},ue.exports=C},37363:function(ue){var q=function(){};function f(U){return"function"==typeof U?U:q}ue.exports=function(U,B,V){var T=q,R=q;if("function"==typeof B?T=B:B&&(T=f(B.enter),R=f(B.leave)),T===q&&R===q)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");!function Z(C){switch(T.call(V,C),C.type){case"Group":C.terms.forEach(Z);break;case"Multiplier":Z(C.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+C.type)}R.call(V,C)}(U)}},9861:function(ue,q,f){var U=f(79274),B=Object.prototype.hasOwnProperty;function V(Z,T){var C=null;Z.children.forEach("function"!=typeof T?this.node:function(v){null!==C&&T.call(this,C),this.node(v),C=v},this)}ue.exports=function(T){function R(P){if(!B.call(C,P.type))throw new Error("Unknown node type: "+P.type);C[P.type].call(this,P)}var C={};if(T.node)for(var v in T.node)C[v]=T.node[v].generate;return function(P,D){var M="",A={children:V,node:R,chunk:function(g){M+=g},result:function(){return M}};return D&&("function"==typeof D.decorator&&(A=D.decorator(A)),D.sourceMap&&(A=U(A))),A.node(P),A.result()}}},79274:function(ue,q,f){var U=f(30673).h,B={Atrule:!0,Selector:!0,Declaration:!0};ue.exports=function(Z){var T=new U,R=1,C=0,v={line:1,column:0},P={line:0,column:0},D=!1,M={line:1,column:0},A={generated:M},_=Z.node;Z.node=function(N){if(N.loc&&N.loc.start&&B.hasOwnProperty(N.type)){var E=N.loc.start.line,x=N.loc.start.column-1;(P.line!==E||P.column!==x)&&(P.line=E,P.column=x,v.line=R,v.column=C,D&&(D=!1,(v.line!==M.line||v.column!==M.column)&&T.addMapping(A)),D=!0,T.addMapping({source:N.loc.source,original:P,generated:v}))}_.call(this,N),D&&B.hasOwnProperty(N.type)&&(M.line=R,M.column=C)};var g=Z.chunk;Z.chunk=function(N){for(var E=0;E<N.length;E++)10===N.charCodeAt(E)?(R++,C=0):C++;g(N)};var k=Z.result;return Z.result=function(){return D&&T.addMapping(A),{css:k(),map:T}},Z}},59473:function(ue,q,f){ue.exports=f(39158)},63539:function(ue,q,f){var U=f(6326).default,B=f(40533).SyntaxReferenceError,V=f(40533).SyntaxMatchError,Z=f(50643),T=f(71473),R=f(11261),C=f(58298),v=f(37363),P=f(73130),D=f(60997).buildMatchGraph,M=f(77569).matchAsTree,A=f(24988),_=f(62798),g=f(92363).getStructureFromConfig,k=D("inherit | initial | unset"),N=D("inherit | initial | unset | <-ms-legacy-expression>");function E(K,z,J){var ie={};for(var te in K)K[te].syntax&&(ie[te]=J?K[te].syntax:C(K[te].syntax,{compact:z}));return ie}function x(K,z,J){for(var ie={},te=0,ae=Object.entries(K);te<ae.length;te++){var se=U(ae[te],2),le=se[1];ie[se[0]]={prelude:le.prelude&&(J?le.prelude.syntax:C(le.prelude.syntax,{compact:z})),descriptors:le.descriptors&&E(le.descriptors,z,J)}}return ie}function O(K,z,J){return{matched:K,iterations:J,error:z,getTrace:A.getTrace,isType:A.isType,isProperty:A.isProperty,isKeyword:A.isKeyword}}function L(K,z,J,ie){var ae,te=P(J,K.syntax);return function(K){for(var z=0;z<K.length;z++)if("var("===K[z].value.toLowerCase())return!0;return!1}(te)?O(null,new Error("Matching for a tree with var() is not supported")):(ie&&(ae=M(te,K.valueCommonSyntax,K)),ie&&ae.match||(ae=M(te,z.match,K)).match?O(ae.match,null,ae.iterations):O(null,new V(ae.reason,z.syntax,J,ae),ae.iterations))}var j=function(z,J,ie){if(this.valueCommonSyntax=k,this.syntax=J,this.generic=!1,this.atrules={},this.properties={},this.types={},this.structure=ie||g(z),z){if(z.types)for(var te in z.types)this.addType_(te,z.types[te]);if(z.generic)for(var te in this.generic=!0,T)this.addType_(te,T[te]);if(z.atrules)for(var te in z.atrules)this.addAtrule_(te,z.atrules[te]);if(z.properties)for(var te in z.properties)this.addProperty_(te,z.properties[te])}};j.prototype={structure:{},checkStructure:function(z){function J(ae,se){te.push({node:ae,message:se})}var ie=this.structure,te=[];return this.syntax.walk(z,function(ae){ie.hasOwnProperty(ae.type)?ie[ae.type].check(ae,J):J(ae,"Unknown node type `"+ae.type+"`")}),!!te.length&&te},createDescriptor:function(z,J,ie){var te=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,ae={type:J,name:ie},se={type:J,name:ie,parent:te,syntax:null,match:null};return"function"==typeof z?se.match=D(z,ae):("string"==typeof z?Object.defineProperty(se,"syntax",{get:function(){return Object.defineProperty(se,"syntax",{value:R(z)}),se.syntax}}):se.syntax=z,Object.defineProperty(se,"match",{get:function(){return Object.defineProperty(se,"match",{value:D(se.syntax,ae)}),se.match}})),se},addAtrule_:function(z,J){var ie=this;!J||(this.atrules[z]={type:"Atrule",name:z,prelude:J.prelude?this.createDescriptor(J.prelude,"AtrulePrelude",z):null,descriptors:J.descriptors?Object.keys(J.descriptors).reduce(function(te,ae){return te[ae]=ie.createDescriptor(J.descriptors[ae],"AtruleDescriptor",ae,z),te},{}):null})},addProperty_:function(z,J){!J||(this.properties[z]=this.createDescriptor(J,"Property",z))},addType_:function(z,J){!J||(this.types[z]=this.createDescriptor(J,"Type",z),J===T["-ms-legacy-expression"]&&(this.valueCommonSyntax=N))},checkAtruleName:function(z){if(!this.getAtrule(z))return new B("Unknown at-rule","@"+z)},checkAtrulePrelude:function(z,J){var ie=this.checkAtruleName(z);if(ie)return ie;var te=this.getAtrule(z);return!te.prelude&&J?new SyntaxError("At-rule `@"+z+"` should not contain a prelude"):te.prelude&&!J?new SyntaxError("At-rule `@"+z+"` should contain a prelude"):void 0},checkAtruleDescriptorName:function(z,J){var ie=this.checkAtruleName(z);if(ie)return ie;var te=this.getAtrule(z),ae=Z.keyword(J);return te.descriptors?te.descriptors[ae.name]||te.descriptors[ae.basename]?void 0:new B("Unknown at-rule descriptor",J):new SyntaxError("At-rule `@"+z+"` has no known descriptors")},checkPropertyName:function(z){return Z.property(z).custom?new Error("Lexer matching doesn't applicable for custom properties"):this.getProperty(z)?void 0:new B("Unknown property",z)},matchAtrulePrelude:function(z,J){var ie=this.checkAtrulePrelude(z,J);return ie?O(null,ie):J?L(this,this.getAtrule(z).prelude,J,!1):O(null,null)},matchAtruleDescriptor:function(z,J,ie){var te=this.checkAtruleDescriptorName(z,J);if(te)return O(null,te);var ae=this.getAtrule(z),se=Z.keyword(J);return L(this,ae.descriptors[se.name]||ae.descriptors[se.basename],ie,!1)},matchDeclaration:function(z){return"Declaration"!==z.type?O(null,new Error("Not a Declaration node")):this.matchProperty(z.property,z.value)},matchProperty:function(z,J){var ie=this.checkPropertyName(z);return ie?O(null,ie):L(this,this.getProperty(z),J,!0)},matchType:function(z,J){var ie=this.getType(z);return ie?L(this,ie,J,!1):O(null,new B("Unknown type",z))},match:function(z,J){return"string"==typeof z||z&&z.type?(("string"==typeof z||!z.match)&&(z=this.createDescriptor(z,"Type","anonymous")),L(this,z,J,!1)):O(null,new B("Bad syntax"))},findValueFragments:function(z,J,ie,te){return _.matchFragments(this,J,this.matchProperty(z,J),ie,te)},findDeclarationValueFragments:function(z,J,ie){return _.matchFragments(this,z.value,this.matchDeclaration(z),J,ie)},findAllFragments:function(z,J,ie){var te=[];return this.syntax.walk(z,{visit:"Declaration",enter:function(ae){te.push.apply(te,this.findDeclarationValueFragments(ae,J,ie))}.bind(this)}),te},getAtrule:function(z){var J=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],ie=Z.keyword(z),te=ie.vendor&&J?this.atrules[ie.name]||this.atrules[ie.basename]:this.atrules[ie.name];return te||null},getAtrulePrelude:function(z){var J=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],ie=this.getAtrule(z,J);return ie&&ie.prelude||null},getAtruleDescriptor:function(z,J){return this.atrules.hasOwnProperty(z)&&this.atrules.declarators&&this.atrules[z].declarators[J]||null},getProperty:function(z){var J=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],ie=Z.property(z),te=ie.vendor&&J?this.properties[ie.name]||this.properties[ie.basename]:this.properties[ie.name];return te||null},getType:function(z){return this.types.hasOwnProperty(z)?this.types[z]:null},validate:function(){function z(ae,se,ce,le){if(ce.hasOwnProperty(se))return ce[se];ce[se]=!1,null!==le.syntax&&v(le.syntax,function(oe){if("Type"===oe.type||"Property"===oe.type){var Ae="Type"===oe.type?ae.types:ae.properties,be="Type"===oe.type?J:ie;(!Ae.hasOwnProperty(oe.name)||z(ae,oe.name,be,Ae[oe.name]))&&(ce[se]=!0)}},this)}var J={},ie={};for(var te in this.types)z(this,te,J,this.types[te]);for(var te in this.properties)z(this,te,ie,this.properties[te]);return J=Object.keys(J).filter(function(ae){return J[ae]}),ie=Object.keys(ie).filter(function(ae){return ie[ae]}),J.length||ie.length?{types:J,properties:ie}:null},dump:function(z,J){return{generic:this.generic,types:E(this.types,!J,z),properties:E(this.properties,!J,z),atrules:x(this.atrules,!J,z)}},toString:function(){return JSON.stringify(this.dump())}},ue.exports=j},40533:function(ue,q,f){var U=f(92455),B=f(58298),V={offset:0,line:1,column:1};function T(P,D){var M=P&&P.loc&&P.loc[D];return M?"line"in M?R(M):M:null}function R(P,D){var g={offset:P.offset,line:P.line,column:P.column};if(D){var k=D.split(/\n|\r\n?|\f/);g.offset+=D.length,g.line+=k.length-1,g.column=1===k.length?g.column+D.length:k.pop().length+1}return g}ue.exports={SyntaxReferenceError:function(D,M){var A=U("SyntaxReferenceError",D+(M?" `"+M+"`":""));return A.reference=M,A},SyntaxMatchError:function(D,M,A,_){var g=U("SyntaxMatchError",D),k=function(P,D){for(var S,O,M=P.tokens,A=P.longestMatch,_=A<M.length&&M[A].node||null,g=_!==D?_:null,k=0,N=0,E=0,x="",L=0;L<M.length;L++){var j=M[L].value;L===A&&(N=j.length,k=x.length),null!==g&&M[L].node===g&&(L<=A?E++:E=0),x+=j}return A===M.length||E>1?(S=T(g||D,"end")||R(V,x),O=R(S)):(S=T(g,"start")||R(T(D,"start")||V,x.slice(0,k)),O=T(g,"end")||R(S,x.substr(k,N))),{css:x,mismatchOffset:k,mismatchLength:N,start:S,end:O}}(_,A),N=k.css,E=k.mismatchOffset,x=k.mismatchLength,S=k.start,O=k.end;return g.rawMessage=D,g.syntax=M?B(M):"<generic>",g.css=N,g.mismatchOffset=E,g.mismatchLength=x,g.message=D+"\n  syntax: "+g.syntax+"\n   value: "+(N||"<empty string>")+"\n  --------"+new Array(g.mismatchOffset+1).join("-")+"^",Object.assign(g,S),g.loc={source:A&&A.loc&&A.loc.source||"<unknown>",start:S,end:O},g}}},25533:function(ue,q,f){var U=f(97555).isDigit,B=f(97555).cmpChar,V=f(97555).TYPE,Z=V.Delim,T=V.WhiteSpace,R=V.Comment,C=V.Ident,v=V.Number,P=V.Dimension,M=45,_=!0;function k(S,O){return null!==S&&S.type===Z&&S.value.charCodeAt(0)===O}function N(S,O,L){for(;null!==S&&(S.type===T||S.type===R);)S=L(++O);return O}function E(S,O,L,j){if(!S)return 0;var K=S.value.charCodeAt(O);if(43===K||K===M){if(L)return 0;O++}for(;O<S.value.length;O++)if(!U(S.value.charCodeAt(O)))return 0;return j+1}function x(S,O,L){var j=!1,K=N(S,O,L);if(null===(S=L(K)))return O;if(S.type!==v){if(!k(S,43)&&!k(S,M))return O;if(j=!0,K=N(L(++K),K,L),null===(S=L(K))&&S.type!==v)return 0}if(!j){var z=S.value.charCodeAt(0);if(43!==z&&z!==M)return 0}return E(S,j?0:1,j,K)}ue.exports=function(O,L){var j=0;if(!O)return 0;if(O.type===v)return E(O,0,!1,j);if(O.type===C&&O.value.charCodeAt(0)===M){if(!B(O.value,1,110))return 0;switch(O.value.length){case 2:return x(L(++j),j,L);case 3:return O.value.charCodeAt(2)!==M?0:(j=N(L(++j),j,L),E(O=L(j),0,_,j));default:return O.value.charCodeAt(2)!==M?0:E(O,3,_,j)}}else if(O.type===C||k(O,43)&&L(j+1).type===C){if(O.type!==C&&(O=L(++j)),null===O||!B(O.value,0,110))return 0;switch(O.value.length){case 1:return x(L(++j),j,L);case 2:return O.value.charCodeAt(1)!==M?0:(j=N(L(++j),j,L),E(O=L(j),0,_,j));default:return O.value.charCodeAt(1)!==M?0:E(O,2,_,j)}}else if(O.type===P){for(var K=O.value.charCodeAt(0),z=43===K||K===M?1:0,J=z;J<O.value.length&&U(O.value.charCodeAt(J));J++);return J!==z&&B(O.value,J,110)?J+1===O.value.length?x(L(++j),j,L):O.value.charCodeAt(J+1)!==M?0:J+2===O.value.length?(j=N(L(++j),j,L),E(O=L(j),0,_,j)):E(O,J+2,_,j):0}return 0}},70156:function(ue,q,f){var U=f(97555).isHexDigit,B=f(97555).cmpChar,V=f(97555).TYPE,Z=V.Ident,T=V.Delim,R=V.Number,C=V.Dimension;function A(N,E){return null!==N&&N.type===T&&N.value.charCodeAt(0)===E}function _(N,E){return N.value.charCodeAt(0)===E}function g(N,E,x){for(var S=E,O=0;S<N.value.length;S++){var L=N.value.charCodeAt(S);if(45===L&&x&&0!==O)return g(N,E+O+1,!1)>0?6:0;if(!U(L)||++O>6)return 0}return O}function k(N,E,x){if(!N)return 0;for(;A(x(E),63);){if(++N>6)return 0;E++}return E}ue.exports=function(E,x){var S=0;if(null===E||E.type!==Z||!B(E.value,0,117)||null===(E=x(++S)))return 0;if(A(E,43))return null===(E=x(++S))?0:E.type===Z?k(g(E,0,!0),++S,x):A(E,63)?k(1,++S,x):0;if(E.type===R){if(!_(E,43))return 0;var O=g(E,1,!0);return 0===O?0:null===(E=x(++S))?S:E.type===C||E.type===R?_(E,45)&&g(E,1,!1)?S+1:0:k(O,S,x)}return E.type===C&&_(E,43)?k(g(E,1,!0),++S,x):0}},71473:function(ue,q,f){var U=f(97555),B=U.isIdentifierStart,V=U.isHexDigit,Z=U.isDigit,T=U.cmpStr,R=U.consumeNumber,C=U.TYPE,v=f(25533),P=f(70156),D=["unset","initial","inherit"],M=["calc(","-moz-calc(","-webkit-calc("];function O(xe,Oe){return Oe<xe.length?xe.charCodeAt(Oe):0}function L(xe,Oe){return T(xe,0,xe.length,Oe)}function j(xe,Oe){for(var je=0;je<Oe.length;je++)if(L(xe,Oe[je]))return!0;return!1}function K(xe,Oe){return Oe===xe.length-2&&92===xe.charCodeAt(Oe)&&Z(xe.charCodeAt(Oe+1))}function z(xe,Oe,je){if(xe&&"Range"===xe.type){var dt=Number(void 0!==je&&je!==Oe.length?Oe.substr(0,je):Oe);if(isNaN(dt)||null!==xe.min&&dt<xe.min||null!==xe.max&&dt>xe.max)return!0}return!1}function J(xe,Oe){var je=xe.index,dt=0;do{if(dt++,xe.balance<=je)break}while(xe=Oe(dt));return dt}function ie(xe){return function(Oe,je,dt){return null===Oe?0:Oe.type===C.Function&&j(Oe.value,M)?J(Oe,je):xe(Oe,je,dt)}}function te(xe){return function(Oe){return null===Oe||Oe.type!==xe?0:1}}function it(xe){return function(Oe,je,dt){if(null===Oe||Oe.type!==C.Dimension)return 0;var Qe=R(Oe.value,0);if(null!==xe){var Bt=Oe.value.indexOf("\\",Qe),xt=-1!==Bt&&K(Oe.value,Bt)?Oe.value.substring(Qe,Bt):Oe.value.substr(Qe);if(!1===xe.hasOwnProperty(xt.toLowerCase()))return 0}return z(dt,Oe.value,Qe)?0:1}}function _t(xe){return"function"!=typeof xe&&(xe=function(){return 0}),function(Oe,je,dt){return null!==Oe&&Oe.type===C.Number&&0===Number(Oe.value)?1:xe(Oe,je,dt)}}ue.exports={"ident-token":te(C.Ident),"function-token":te(C.Function),"at-keyword-token":te(C.AtKeyword),"hash-token":te(C.Hash),"string-token":te(C.String),"bad-string-token":te(C.BadString),"url-token":te(C.Url),"bad-url-token":te(C.BadUrl),"delim-token":te(C.Delim),"number-token":te(C.Number),"percentage-token":te(C.Percentage),"dimension-token":te(C.Dimension),"whitespace-token":te(C.WhiteSpace),"CDO-token":te(C.CDO),"CDC-token":te(C.CDC),"colon-token":te(C.Colon),"semicolon-token":te(C.Semicolon),"comma-token":te(C.Comma),"[-token":te(C.LeftSquareBracket),"]-token":te(C.RightSquareBracket),"(-token":te(C.LeftParenthesis),")-token":te(C.RightParenthesis),"{-token":te(C.LeftCurlyBracket),"}-token":te(C.RightCurlyBracket),string:te(C.String),ident:te(C.Ident),"custom-ident":function(xe){if(null===xe||xe.type!==C.Ident)return 0;var Oe=xe.value.toLowerCase();return j(Oe,D)||L(Oe,"default")?0:1},"custom-property-name":function(xe){return null===xe||xe.type!==C.Ident||45!==O(xe.value,0)||45!==O(xe.value,1)?0:1},"hex-color":function(xe){if(null===xe||xe.type!==C.Hash)return 0;var Oe=xe.value.length;if(4!==Oe&&5!==Oe&&7!==Oe&&9!==Oe)return 0;for(var je=1;je<Oe;je++)if(!V(xe.value.charCodeAt(je)))return 0;return 1},"id-selector":function(xe){return null!==xe&&xe.type===C.Hash&&B(O(xe.value,1),O(xe.value,2),O(xe.value,3))?1:0},"an-plus-b":v,urange:P,"declaration-value":function(xe,Oe){if(!xe)return 0;var je=0,dt=0,Qe=xe.index;e:do{switch(xe.type){case C.BadString:case C.BadUrl:break e;case C.RightCurlyBracket:case C.RightParenthesis:case C.RightSquareBracket:if(xe.balance>xe.index||xe.balance<Qe)break e;dt--;break;case C.Semicolon:if(0===dt)break e;break;case C.Delim:if("!"===xe.value&&0===dt)break e;break;case C.Function:case C.LeftParenthesis:case C.LeftSquareBracket:case C.LeftCurlyBracket:dt++}if(je++,xe.balance<=Qe)break}while(xe=Oe(je));return je},"any-value":function(xe,Oe){if(!xe)return 0;var je=xe.index,dt=0;e:do{switch(xe.type){case C.BadString:case C.BadUrl:break e;case C.RightCurlyBracket:case C.RightParenthesis:case C.RightSquareBracket:if(xe.balance>xe.index||xe.balance<je)break e}if(dt++,xe.balance<=je)break}while(xe=Oe(dt));return dt},dimension:ie(it(null)),angle:ie(it({deg:!0,grad:!0,rad:!0,turn:!0})),decibel:ie(it({db:!0})),frequency:ie(it({hz:!0,khz:!0})),flex:ie(it({fr:!0})),length:ie(_t(it({px:!0,mm:!0,cm:!0,in:!0,pt:!0,pc:!0,q:!0,em:!0,ex:!0,ch:!0,rem:!0,vh:!0,vw:!0,vmin:!0,vmax:!0,vm:!0}))),resolution:ie(it({dpi:!0,dpcm:!0,dppx:!0,x:!0})),semitones:ie(it({st:!0})),time:ie(it({s:!0,ms:!0})),percentage:ie(function(xe,Oe,je){return null===xe||xe.type!==C.Percentage||z(je,xe.value,xe.value.length-1)?0:1}),zero:_t(),number:ie(function(xe,Oe,je){if(null===xe)return 0;var dt=R(xe.value,0);return dt!==xe.value.length&&!K(xe.value,dt)||z(je,xe.value,dt)?0:1}),integer:ie(function(xe,Oe,je){if(null===xe||xe.type!==C.Number)return 0;for(var dt=43===xe.value.charCodeAt(0)||45===xe.value.charCodeAt(0)?1:0;dt<xe.value.length;dt++)if(!Z(xe.value.charCodeAt(dt)))return 0;return z(je,xe.value,dt)?0:1}),"-ms-legacy-expression":("expression","(",function(Oe,je){return null!==Oe&&L(Oe.value,"expression(")?J(Oe,je):0})}},60997:function(ue,q,f){var U=f(11261),B={type:"Match"},V={type:"Mismatch"},Z={type:"DisallowEmpty"};function C(_,g,k){return g===B&&k===V||_===B&&g===B&&k===B?_:("If"===_.type&&_.else===V&&g===B&&(g=_.then,_=_.match),{type:"If",match:_,then:g,else:k})}function v(_){return _.length>2&&40===_.charCodeAt(_.length-2)&&41===_.charCodeAt(_.length-1)}function P(_){return"Keyword"===_.type||"AtKeyword"===_.type||"Function"===_.type||"Type"===_.type&&v(_.name)}function D(_,g,k){switch(_){case" ":for(var N=B,E=g.length-1;E>=0;E--)N=C(x=g[E],N,V);return N;case"|":N=V;var S=null;for(E=g.length-1;E>=0;E--){if(P(x=g[E])&&(null===S&&E>0&&P(g[E-1])&&(N=C({type:"Enum",map:S=Object.create(null)},B,N)),null!==S)){var O=(v(x.name)?x.name.slice(0,-1):x.name).toLowerCase();if(!(O in S)){S[O]=x;continue}}S=null,N=C(x,B,N)}return N;case"&&":if(g.length>5)return{type:"MatchOnce",terms:g,all:!0};for(N=V,E=g.length-1;E>=0;E--){var x=g[E];L=g.length>1?D(_,g.filter(function(z){return z!==x}),!1):B,N=C(x,L,N)}return N;case"||":if(g.length>5)return{type:"MatchOnce",terms:g,all:!1};for(N=k?B:V,E=g.length-1;E>=0;E--){var L;x=g[E],L=g.length>1?D(_,g.filter(function(J){return J!==x}),!0):B,N=C(x,L,N)}return N}}function A(_){if("function"==typeof _)return{type:"Generic",fn:_};switch(_.type){case"Group":var g=D(_.combinator,_.terms.map(A),!1);return _.disallowEmpty&&(g=C(g,Z,V)),g;case"Multiplier":return function(_){var g=B,k=A(_.term);if(0===_.max)k=C(k,Z,V),(g=C(k,null,V)).then=C(B,B,g),_.comma&&(g.then.else=C({type:"Comma",syntax:_},g,V));else for(var N=_.min||1;N<=_.max;N++)_.comma&&g!==B&&(g=C({type:"Comma",syntax:_},g,V)),g=C(k,C(B,B,g),V);if(0===_.min)g=C(B,B,g);else for(N=0;N<_.min-1;N++)_.comma&&g!==B&&(g=C({type:"Comma",syntax:_},g,V)),g=C(k,g,V);return g}(_);case"Type":case"Property":return{type:_.type,name:_.name,syntax:_};case"Keyword":return{type:_.type,name:_.name.toLowerCase(),syntax:_};case"AtKeyword":return{type:_.type,name:"@"+_.name.toLowerCase(),syntax:_};case"Function":return{type:_.type,name:_.name.toLowerCase()+"(",syntax:_};case"String":return 3===_.value.length?{type:"Token",value:_.value.charAt(1),syntax:_}:{type:_.type,value:_.value.substr(1,_.value.length-2).replace(/\\'/g,"'"),syntax:_};case"Token":return{type:_.type,value:_.value,syntax:_};case"Comma":return{type:_.type,syntax:_};default:throw new Error("Unknown node type:",_.type)}}ue.exports={MATCH:B,MISMATCH:V,DISALLOW_EMPTY:Z,buildMatchGraph:function(g,k){return"string"==typeof g&&(g=U(g)),{type:"MatchGraph",match:A(g),syntax:k||null,source:g}}}},77569:function(ue,q,f){var U=Object.prototype.hasOwnProperty,B=f(60997),V=B.MATCH,Z=B.MISMATCH,T=B.DISALLOW_EMPTY,R=f(97077).TYPE,M="Match",k=0;function N(z){for(var J=null,ie=null,te=z;null!==te;)ie=te.prev,te.prev=J,J=te,te=ie;return J}function E(z,J){if(z.length!==J.length)return!1;for(var ie=0;ie<z.length;ie++){var te=z.charCodeAt(ie);if(te>=65&&te<=90&&(te|=32),te!==J.charCodeAt(ie))return!1}return!0}function S(z){return null===z||z.type===R.Comma||z.type===R.Function||z.type===R.LeftParenthesis||z.type===R.LeftSquareBracket||z.type===R.LeftCurlyBracket||function(z){return z.type===R.Delim&&"?"!==z.value}(z)}function O(z){return null===z||z.type===R.RightParenthesis||z.type===R.RightSquareBracket||z.type===R.RightCurlyBracket||z.type===R.Delim}function L(z,J,ie){function te(){do{je++,Oe=je<z.length?z[je]:null}while(null!==Oe&&(Oe.type===R.WhiteSpace||Oe.type===R.Comment))}function ae(rn){var kn=je+rn;return kn<z.length?z[kn]:null}function se(rn,kn){return{nextState:rn,matchStack:Qe,syntaxStack:it,thenStack:qe,tokenIndex:je,prev:kn}}function ce(rn){qe={nextState:rn,matchStack:Qe,syntaxStack:it,prev:qe}}function le(rn){_t=se(rn,_t)}function oe(){Qe={type:1,syntax:J.syntax,token:Oe,prev:Qe},te(),yt=null,je>dt&&(dt=je)}function be(){Qe=2===Qe.type?Qe.prev:{type:3,syntax:it.syntax,token:Qe.token,prev:Qe},it=it.prev}var it=null,qe=null,_t=null,yt=null,Ft=0,xe=null,Oe=null,je=-1,dt=0,Qe={type:0,syntax:null,token:null,prev:null};for(te();null===xe&&++Ft<15e3;)switch(J.type){case"Match":if(null===qe){if(null!==Oe&&(je!==z.length-1||"\\0"!==Oe.value&&"\\9"!==Oe.value)){J=Z;break}xe=M;break}if((J=qe.nextState)===T){if(qe.matchStack===Qe){J=Z;break}J=V}for(;qe.syntaxStack!==it;)be();qe=qe.prev;break;case"Mismatch":if(null!==yt&&!1!==yt)(null===_t||je>_t.tokenIndex)&&(_t=yt,yt=!1);else if(null===_t){xe="Mismatch";break}J=_t.nextState,qe=_t.thenStack,it=_t.syntaxStack,Qe=_t.matchStack,Oe=(je=_t.tokenIndex)<z.length?z[je]:null,_t=_t.prev;break;case"MatchGraph":J=J.match;break;case"If":J.else!==Z&&le(J.else),J.then!==V&&ce(J.then),J=J.match;break;case"MatchOnce":J={type:"MatchOnceBuffer",syntax:J,index:0,mask:0};break;case"MatchOnceBuffer":var Bt=J.syntax.terms;if(J.index===Bt.length){if(0===J.mask||J.syntax.all){J=Z;break}J=V;break}if(J.mask===(1<<Bt.length)-1){J=V;break}for(;J.index<Bt.length;J.index++){var xt=1<<J.index;if(0==(J.mask&xt)){le(J),ce({type:"AddMatchOnce",syntax:J.syntax,mask:J.mask|xt}),J=Bt[J.index++];break}}break;case"AddMatchOnce":J={type:"MatchOnceBuffer",syntax:J.syntax,index:0,mask:J.mask};break;case"Enum":if(null!==Oe&&(-1!==(bt=Oe.value.toLowerCase()).indexOf("\\")&&(bt=bt.replace(/\\[09].*$/,"")),U.call(J.map,bt))){J=J.map[bt];break}J=Z;break;case"Generic":var Qt=je+Math.floor(J.fn(Oe,ae,null!==it?it.opts:null));if(!isNaN(Qt)&&Qt>je){for(;je<Qt;)oe();J=V}else J=Z;break;case"Type":case"Property":var Ht="Type"===J.type?"types":"properties",Ct=U.call(ie,Ht)?ie[Ht][J.name]:null;if(!Ct||!Ct.match)throw new Error("Bad syntax reference: "+("Type"===J.type?"<"+J.name+">":"<'"+J.name+"'>"));if(!1!==yt&&null!==Oe&&"Type"===J.type&&("custom-ident"===J.name&&Oe.type===R.Ident||"length"===J.name&&"0"===Oe.value)){null===yt&&(yt=se(J,_t)),J=Z;break}it={syntax:J.syntax,opts:J.syntax.opts||null!==it&&it.opts||null,prev:it},Qe={type:2,syntax:J.syntax,token:Qe.token,prev:Qe},J=Ct.match;break;case"Keyword":var bt=J.name;if(null!==Oe){var en=Oe.value;if(-1!==en.indexOf("\\")&&(en=en.replace(/\\[09].*$/,"")),E(en,bt)){oe(),J=V;break}}J=Z;break;case"AtKeyword":case"Function":if(null!==Oe&&E(Oe.value,J.name)){oe(),J=V;break}J=Z;break;case"Token":if(null!==Oe&&Oe.value===J.value){oe(),J=V;break}J=Z;break;case"Comma":null!==Oe&&Oe.type===R.Comma?S(Qe.token)?J=Z:(oe(),J=O(Oe)?Z:V):J=S(Qe.token)||O(Oe)?V:Z;break;case"String":var Nt="";for(Qt=je;Qt<z.length&&Nt.length<J.value.length;Qt++)Nt+=z[Qt].value;if(E(Nt,J.value)){for(;je<Qt;)oe();J=V}else J=Z;break;default:throw new Error("Unknown node type: "+J.type)}switch(k+=Ft,xe){case null:console.warn("[csstree-match] BREAK after 15000 iterations"),xe="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",Qe=null;break;case M:for(;null!==it;)be();break;default:Qe=null}return{tokens:z,reason:xe,iterations:Ft,match:Qe,longestMatch:dt}}ue.exports={matchAsList:function(z,J,ie){var te=L(z,J,ie||{});if(null!==te.match){var ae=N(te.match).prev;for(te.match=[];null!==ae;){switch(ae.type){case 0:break;case 2:case 3:te.match.push({type:ae.type,syntax:ae.syntax});break;default:te.match.push({token:ae.token.value,node:ae.token.node})}ae=ae.prev}}return te},matchAsTree:function(z,J,ie){var te=L(z,J,ie||{});if(null===te.match)return te;var ae=te.match,se=te.match={syntax:J.syntax||null,match:[]},ce=[se];for(ae=N(ae).prev;null!==ae;){switch(ae.type){case 2:se.match.push(se={syntax:ae.syntax,match:[]}),ce.push(se);break;case 3:ce.pop(),se=ce[ce.length-1];break;default:se.match.push({syntax:ae.syntax||null,token:ae.token.value,node:ae.token.node})}ae=ae.prev}return te},getTotalIterationCount:function(){return k}}},73130:function(ue,q,f){var U=f(97555),V=new(f(13146)),Z={decorator:function(C){var v=null,P={len:0,node:null},D=[P],M="";return{children:C.children,node:function(_){var g=v;v=_,C.node.call(this,_),v=g},chunk:function(_){M+=_,P.node!==v?D.push({len:_.length,node:v}):P.len+=_.length},result:function(){return T(M,D)}}}};function T(R,C){var v=[],P=0,D=0,M=C?C[D].node:null;for(U(R,V);!V.eof;){if(C)for(;D<C.length&&P+C[D].len<=V.tokenStart;)P+=C[D++].len,M=C[D].node;v.push({type:V.tokenType,value:V.getTokenValue(),index:V.tokenIndex,balance:V.balance[V.tokenIndex],node:M}),V.next()}return v}ue.exports=function(R,C){return"string"==typeof R?T(R,null):C.generate(R,Z)}},62798:function(ue,q,f){var U=f(63335);function B(T){return"node"in T?T.node:B(T.match[0])}function V(T){return"node"in T?T.node:V(T.match[T.match.length-1])}ue.exports={matchFragments:function(T,R,C,v,P){var M=[];return null!==C.matched&&function D(A){if(null!==A.syntax&&A.syntax.type===v&&A.syntax.name===P){var _=B(A),g=V(A);T.syntax.walk(R,function(k,N,E){if(k===_){var x=new U;do{if(x.appendData(N.data),N.data===g)break;N=N.next}while(null!==N);M.push({parent:E,nodes:x})}})}Array.isArray(A.match)&&A.match.forEach(D)}(C.matched),M}}},92363:function(ue,q,f){var U=f(63335),B=Object.prototype.hasOwnProperty;function V(C){return"number"==typeof C&&isFinite(C)&&Math.floor(C)===C&&C>=0}function Z(C){return Boolean(C)&&V(C.offset)&&V(C.line)&&V(C.column)}function T(C,v){return function(D,M){if(!D||D.constructor!==Object)return M(D,"Type of node should be an Object");for(var A in D){var _=!0;if(!1!==B.call(D,A)){if("type"===A)D.type!==C&&M(D,"Wrong node type `"+D.type+"`, expected `"+C+"`");else if("loc"===A){if(null===D.loc)continue;if(D.loc&&D.loc.constructor===Object)if("string"!=typeof D.loc.source)A+=".source";else if(Z(D.loc.start)){if(Z(D.loc.end))continue;A+=".end"}else A+=".start";_=!1}else if(v.hasOwnProperty(A)){var g=0;for(_=!1;!_&&g<v[A].length;g++){var k=v[A][g];switch(k){case String:_="string"==typeof D[A];break;case Boolean:_="boolean"==typeof D[A];break;case null:_=null===D[A];break;default:"string"==typeof k?_=D[A]&&D[A].type===k:Array.isArray(k)&&(_=D[A]instanceof U)}}}else M(D,"Unknown field `"+A+"` for "+C+" node type");_||M(D,"Bad value for `"+C+"."+A+"`")}}for(var A in v)B.call(v,A)&&!1===B.call(D,A)&&M(D,"Field `"+C+"."+A+"` is missed")}}function R(C,v){var P=v.structure,D={type:String,loc:!0},M={type:'"'+C+'"'};for(var A in P)if(!1!==B.call(P,A)){for(var _=[],g=D[A]=Array.isArray(P[A])?P[A].slice():[P[A]],k=0;k<g.length;k++){var N=g[k];if(N===String||N===Boolean)_.push(N.name);else if(null===N)_.push("null");else if("string"==typeof N)_.push("<"+N+">");else{if(!Array.isArray(N))throw new Error("Wrong value `"+N+"` in `"+C+"."+A+"` structure definition");_.push("List")}}M[A]=_.join(" | ")}return{docs:M,check:T(C,D)}}ue.exports={getStructureFromConfig:function(v){var P={};if(v.node)for(var D in v.node)if(B.call(v.node,D)){var M=v.node[D];if(!M.structure)throw new Error("Missed `structure` field in `"+D+"` node type definition");P[D]=R(D,M)}return P}}},24988:function(ue){function q(Z){function T(v){return null!==v&&("Type"===v.type||"Property"===v.type||"Keyword"===v.type)}var C=null;return null!==this.matched&&function R(v){if(Array.isArray(v.match)){for(var P=0;P<v.match.length;P++)if(R(v.match[P]))return T(v.syntax)&&C.unshift(v.syntax),!0}else if(v.node===Z)return C=T(v.syntax)?[v.syntax]:[],!0;return!1}(this.matched),C}function f(Z,T,R){var C=q.call(Z,T);return null!==C&&C.some(R)}ue.exports={getTrace:q,isType:function(Z,T){return f(this,Z,function(R){return"Type"===R.type&&R.name===T})},isProperty:function(Z,T){return f(this,Z,function(R){return"Property"===R.type&&R.name===T})},isKeyword:function(Z){return f(this,Z,function(T){return"Keyword"===T.type})}}},29365:function(ue,q,f){var U=f(88373),B=f(52556),V=f(13146),Z=f(63335),T=f(97555),R=f(97077),C=f(74586),v=C.findWhiteSpaceStart,P=C.cmpStr,D=f(15785),M=function(){},A=R.TYPE,_=R.NAME,g=A.WhiteSpace,k=A.Comment,N=A.Ident,E=A.Function,x=A.Url,S=A.Hash,O=A.Percentage,L=A.Number;function z(ie){return function(){return this[ie]()}}ue.exports=function(te){var ae={scanner:new V,locationMap:new U,filename:"<unknown>",needPositions:!1,onParseError:M,onParseErrorThrow:!1,parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:D,createList:function(){return new Z},createSingleNodeList:function(le){return(new Z).appendData(le)},getFirstListNode:function(le){return le&&le.first()},getLastListNode:function(le){return le.last()},parseWithFallback:function(le,oe){var Ae=this.scanner.tokenIndex;try{return le.call(this)}catch(it){if(this.onParseErrorThrow)throw it;var be=oe.call(this,Ae);return this.onParseErrorThrow=!0,this.onParseError(it,be),this.onParseErrorThrow=!1,be}},lookupNonWSType:function(le){do{var oe=this.scanner.lookupType(le++);if(oe!==g)return oe}while(0!==oe);return 0},eat:function(le){if(this.scanner.tokenType!==le){var oe=this.scanner.tokenStart,Ae=_[le]+" is expected";switch(le){case N:this.scanner.tokenType===E||this.scanner.tokenType===x?(oe=this.scanner.tokenEnd-1,Ae="Identifier is expected but function found"):Ae="Identifier is expected";break;case S:this.scanner.isDelim(35)&&(this.scanner.next(),oe++,Ae="Name is expected");break;case O:this.scanner.tokenType===L&&(oe=this.scanner.tokenEnd,Ae="Percent sign is expected");break;default:this.scanner.source.charCodeAt(this.scanner.tokenStart)===le&&(oe+=1)}this.error(Ae,oe)}this.scanner.next()},consume:function(le){var oe=this.scanner.getTokenValue();return this.eat(le),oe},consumeFunctionName:function(){var le=this.scanner.source.substring(this.scanner.tokenStart,this.scanner.tokenEnd-1);return this.eat(E),le},getLocation:function(le,oe){return this.needPositions?this.locationMap.getLocationRange(le,oe,this.filename):null},getLocationFromList:function(le){if(this.needPositions){var oe=this.getFirstListNode(le),Ae=this.getLastListNode(le);return this.locationMap.getLocationRange(null!==oe?oe.loc.start.offset-this.locationMap.startOffset:this.scanner.tokenStart,null!==Ae?Ae.loc.end.offset-this.locationMap.startOffset:this.scanner.tokenStart,this.filename)}return null},error:function(le,oe){var Ae=this.locationMap.getLocation(void 0!==oe&&oe<this.scanner.source.length?oe:this.scanner.eof?v(this.scanner.source,this.scanner.source.length-1):this.scanner.tokenStart);throw new B(le||"Unexpected input",this.scanner.source,Ae.offset,Ae.line,Ae.column)}};for(var se in te=function(ie){var te={context:{},scope:{},atrule:{},pseudo:{}};if(ie.parseContext)for(var ae in ie.parseContext)switch(typeof ie.parseContext[ae]){case"function":te.context[ae]=ie.parseContext[ae];break;case"string":te.context[ae]=z(ie.parseContext[ae])}if(ie.scope)for(var ae in ie.scope)te.scope[ae]=ie.scope[ae];if(ie.atrule)for(var ae in ie.atrule){var se=ie.atrule[ae];se.parse&&(te.atrule[ae]=se.parse)}if(ie.pseudo)for(var ae in ie.pseudo){var ce=ie.pseudo[ae];ce.parse&&(te.pseudo[ae]=ce.parse)}if(ie.node)for(var ae in ie.node)te[ae]=ie.node[ae].parse;return te}(te||{}))ae[se]=te[se];return function(ce,le){var be,oe=(le=le||{}).context||"default",Ae=le.onComment;if(T(ce,ae.scanner),ae.locationMap.setSource(ce,le.offset,le.line,le.column),ae.filename=le.filename||"<unknown>",ae.needPositions=Boolean(le.positions),ae.onParseError="function"==typeof le.onParseError?le.onParseError:M,ae.onParseErrorThrow=!1,ae.parseAtrulePrelude=!("parseAtrulePrelude"in le)||Boolean(le.parseAtrulePrelude),ae.parseRulePrelude=!("parseRulePrelude"in le)||Boolean(le.parseRulePrelude),ae.parseValue=!("parseValue"in le)||Boolean(le.parseValue),ae.parseCustomProperty="parseCustomProperty"in le&&Boolean(le.parseCustomProperty),!ae.context.hasOwnProperty(oe))throw new Error("Unknown context `"+oe+"`");return"function"==typeof Ae&&ae.scanner.forEachToken(function(it,qe,_t){if(it===k){var yt=ae.getLocation(qe,_t),Ft=P(ce,_t-2,_t,"*/")?ce.slice(qe+2,_t-2):ce.slice(qe+2,_t);Ae(Ft,yt)}}),be=ae.context[oe].call(ae,le),ae.scanner.eof||ae.error(),be}}},15785:function(ue,q,f){var U=f(97555).TYPE,B=U.WhiteSpace,V=U.Comment;ue.exports=function(T){var R=this.createList(),C=null,v={recognizer:T,space:null,ignoreWS:!1,ignoreWSAfter:!1};for(this.scanner.skipSC();!this.scanner.eof;){switch(this.scanner.tokenType){case V:this.scanner.next();continue;case B:v.ignoreWS?this.scanner.next():v.space=this.WhiteSpace();continue}if(void 0===(C=T.getNode.call(this,v)))break;null!==v.space&&(R.push(v.space),v.space=null),R.push(C),v.ignoreWSAfter?(v.ignoreWSAfter=!1,v.ignoreWS=!0):v.ignoreWS=!1}return R}},71713:function(ue){ue.exports={parse:{prelude:null,block:function(){return this.Block(!0)}}}},88208:function(ue,q,f){var U=f(97555).TYPE,B=U.String,V=U.Ident,Z=U.Url,T=U.Function,R=U.LeftParenthesis;ue.exports={parse:{prelude:function(){var v=this.createList();switch(this.scanner.skipSC(),this.scanner.tokenType){case B:v.push(this.String());break;case Z:case T:v.push(this.Url());break;default:this.error("String or url() is expected")}return(this.lookupNonWSType(0)===V||this.lookupNonWSType(0)===R)&&(v.push(this.WhiteSpace()),v.push(this.MediaQueryList())),v},block:null}}},55682:function(ue,q,f){ue.exports={"font-face":f(71713),import:f(88208),media:f(81706),page:f(93949),supports:f(46928)}},81706:function(ue){ue.exports={parse:{prelude:function(){return this.createSingleNodeList(this.MediaQueryList())},block:function(){return this.Block(!1)}}}},93949:function(ue){ue.exports={parse:{prelude:function(){return this.createSingleNodeList(this.SelectorList())},block:function(){return this.Block(!0)}}}},46928:function(ue,q,f){var U=f(97555).TYPE,B=U.WhiteSpace,V=U.Comment,Z=U.Ident,T=U.Function,R=U.Colon,C=U.LeftParenthesis;function v(){return this.createSingleNodeList(this.Raw(this.scanner.tokenIndex,null,!1))}function P(){return this.scanner.skipSC(),this.scanner.tokenType===Z&&this.lookupNonWSType(1)===R?this.createSingleNodeList(this.Declaration()):D.call(this)}function D(){var _,M=this.createList(),A=null;this.scanner.skipSC();e:for(;!this.scanner.eof;){switch(this.scanner.tokenType){case B:A=this.WhiteSpace();continue;case V:this.scanner.next();continue;case T:_=this.Function(v,this.scope.AtrulePrelude);break;case Z:_=this.Identifier();break;case C:_=this.Parentheses(P,this.scope.AtrulePrelude);break;default:break e}null!==A&&(M.push(A),A=null),M.push(_)}return M}ue.exports={parse:{prelude:function(){var A=D.call(this);return null===this.getFirstListNode(A)&&this.error("Condition is expected"),A},block:function(){return this.Block(!1)}}}},53901:function(ue,q,f){var U=f(57695);ue.exports={generic:!0,types:U.types,atrules:U.atrules,properties:U.properties,node:f(5678)}},15249:function(ue,q,f){var U=f(6326).default,B=Object.prototype.hasOwnProperty,V={generic:!0,types:P,atrules:{prelude:D,descriptors:D},properties:P,parseContext:function(A,_){return Object.assign(A,_)},scope:function C(A,_){for(var g in _)B.call(_,g)&&(Z(A[g])?C(A[g],T(_[g])):A[g]=T(_[g]));return A},atrule:["parse"],pseudo:["parse"],node:["name","structure","parse","generate","walkContext"]};function Z(A){return A&&A.constructor===Object}function T(A){return Z(A)?Object.assign({},A):A}function v(A,_){return"string"==typeof _&&/^\s*\|/.test(_)?"string"==typeof A?A+_:_.replace(/^\s*\|\s*/,""):_||null}function P(A,_){if("string"==typeof _)return v(A,_);var g=Object.assign({},A);for(var k in _)B.call(_,k)&&(g[k]=v(B.call(A,k)?A[k]:void 0,_[k]));return g}function D(A,_){var g=P(A,_);return!Z(g)||Object.keys(g).length?g:null}function M(A,_,g){for(var k in g)if(!1!==B.call(g,k))if(!0===g[k])k in _&&B.call(_,k)&&(A[k]=T(_[k]));else if(g[k])if("function"==typeof g[k]){var N=g[k];A[k]=N({},A[k]),A[k]=N(A[k]||{},_[k])}else if(Z(g[k])){var E={};for(var x in A[k])E[x]=M({},A[k][x],g[k]);for(var S in _[k])E[S]=M(E[S]||{},_[k][S],g[k]);A[k]=E}else if(Array.isArray(g[k])){for(var O={},L=g[k].reduce(function(ae,se){return ae[se]=!0,ae},{}),j=0,K=Object.entries(A[k]||{});j<K.length;j++){var z=U(K[j],2),J=z[0],ie=z[1];O[J]={},ie&&M(O[J],ie,L)}for(var te in _[k])B.call(_[k],te)&&(O[te]||(O[te]={}),_[k]&&_[k][te]&&M(O[te],_[k][te],L));A[k]=O}return A}ue.exports=function(A,_){return M(A,_,V)}},76816:function(ue,q,f){ue.exports={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude:function(B){return this.AtrulePrelude(B.atrule?String(B.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",rule:"Rule",selectorList:"SelectorList",selector:"Selector",block:function(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},scope:f(73241),atrule:f(55682),pseudo:f(31947),node:f(5678)}},29897:function(ue,q,f){ue.exports={node:f(5678)}},15067:function(ue,q,f){var U=f(63335),B=f(52556),V=f(13146),Z=f(63539),T=f(37149),R=f(97555),C=f(29365),v=f(9861),P=f(62139),D=f(24523),M=f(30714),A=f(50643),_=f(15249);function g(k){var N=C(k),E=D(k),x=v(k),S=P(E),O={List:U,SyntaxError:B,TokenStream:V,Lexer:Z,vendorPrefix:A.vendorPrefix,keyword:A.keyword,property:A.property,isCustomProperty:A.isCustomProperty,definitionSyntax:T,lexer:null,createLexer:function(j){return new Z(j,O,O.lexer.structure)},tokenize:R,parse:N,walk:E,generate:x,find:E.find,findLast:E.findLast,findAll:E.findAll,clone:M,fromPlainObject:S.fromPlainObject,toPlainObject:S.toPlainObject,createSyntax:function(j){return g(_({},j))},fork:function(j){var K=_({},k);return g("function"==typeof j?j(K,Object.assign):_(K,j))}};return O.lexer=new Z({generic:!0,types:k.types,atrules:k.atrules,properties:k.properties,node:k.node},O),O}q.create=function(k){return g(_({},k))}},36728:function(ue){ue.exports=function(){return this.createSingleNodeList(this.Raw(this.scanner.tokenIndex,null,!1))}},82418:function(ue,q,f){var U=f(97555).TYPE,B=f(89604).mode,V=U.Comma,Z=U.WhiteSpace;ue.exports=function(){var T=this.createList();if(this.scanner.skipSC(),T.push(this.Identifier()),this.scanner.skipSC(),this.scanner.tokenType===V){T.push(this.Operator());var R=this.scanner.tokenIndex,C=this.parseCustomProperty?this.Value(null):this.Raw(this.scanner.tokenIndex,B.exclamationMarkOrSemicolon,!1);if("Value"===C.type&&C.children.isEmpty())for(var v=R-this.scanner.tokenIndex;v<=0;v++)if(this.scanner.lookupType(v)===Z){C.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}T.push(C)}return T}},39158:function(ue,q,f){ue.exports=f(15067).create(function(){for(var B={},V=0;V<arguments.length;V++){var Z=arguments[V];for(var T in Z)B[T]=Z[T]}return B}(f(53901),f(76816),f(29897))),ue.exports.version=f(37151).version},34230:function(ue,q,f){var U=f(97555).cmpChar,B=f(97555).isDigit,V=f(97555).TYPE,Z=V.WhiteSpace,T=V.Comment,R=V.Ident,C=V.Number,v=V.Dimension,P=43,D=45,M=110,A=!0;function g(x,S){var O=this.scanner.tokenStart+x,L=this.scanner.source.charCodeAt(O);for((L===P||L===D)&&(S&&this.error("Number sign is not allowed"),O++);O<this.scanner.tokenEnd;O++)B(this.scanner.source.charCodeAt(O))||this.error("Integer is expected",O)}function k(x){return g.call(this,0,x)}function N(x,S){if(!U(this.scanner.source,this.scanner.tokenStart+x,S)){var O="";switch(S){case M:O="N is expected";break;case D:O="HyphenMinus is expected"}this.error(O,this.scanner.tokenStart+x)}}function E(){for(var x=0,S=0,O=this.scanner.tokenType;O===Z||O===T;)O=this.scanner.lookupType(++x);if(O!==C){if(!this.scanner.isDelim(P,x)&&!this.scanner.isDelim(D,x))return null;S=this.scanner.isDelim(P,x)?P:D;do{O=this.scanner.lookupType(++x)}while(O===Z||O===T);O!==C&&(this.scanner.skip(x),k.call(this,A))}return x>0&&this.scanner.skip(x),0===S&&(O=this.scanner.source.charCodeAt(this.scanner.tokenStart))!==P&&O!==D&&this.error("Number sign is expected"),k.call(this,0!==S),S===D?"-"+this.consume(C):this.consume(C)}ue.exports={name:"AnPlusB",structure:{a:[String,null],b:[String,null]},parse:function(){var S=this.scanner.tokenStart,O=null,L=null;if(this.scanner.tokenType===C)k.call(this,!1),L=this.consume(C);else if(this.scanner.tokenType===R&&U(this.scanner.source,this.scanner.tokenStart,D))switch(O="-1",N.call(this,1,M),this.scanner.getTokenLength()){case 2:this.scanner.next(),L=E.call(this);break;case 3:N.call(this,2,D),this.scanner.next(),this.scanner.skipSC(),k.call(this,A),L="-"+this.consume(C);break;default:N.call(this,2,D),g.call(this,3,A),this.scanner.next(),L=this.scanner.substrToCursor(S+2)}else if(this.scanner.tokenType===R||this.scanner.isDelim(P)&&this.scanner.lookupType(1)===R){var j=0;switch(O="1",this.scanner.isDelim(P)&&(j=1,this.scanner.next()),N.call(this,0,M),this.scanner.getTokenLength()){case 1:this.scanner.next(),L=E.call(this);break;case 2:N.call(this,1,D),this.scanner.next(),this.scanner.skipSC(),k.call(this,A),L="-"+this.consume(C);break;default:N.call(this,1,D),g.call(this,2,A),this.scanner.next(),L=this.scanner.substrToCursor(S+j+1)}}else if(this.scanner.tokenType===v){for(var K=this.scanner.source.charCodeAt(this.scanner.tokenStart),z=this.scanner.tokenStart+(j=K===P||K===D);z<this.scanner.tokenEnd&&B(this.scanner.source.charCodeAt(z));z++);z===this.scanner.tokenStart+j&&this.error("Integer is expected",this.scanner.tokenStart+j),N.call(this,z-this.scanner.tokenStart,M),O=this.scanner.source.substring(S,z),z+1===this.scanner.tokenEnd?(this.scanner.next(),L=E.call(this)):(N.call(this,z-this.scanner.tokenStart+1,D),z+2===this.scanner.tokenEnd?(this.scanner.next(),this.scanner.skipSC(),k.call(this,A),L="-"+this.consume(C)):(g.call(this,z-this.scanner.tokenStart+2,A),this.scanner.next(),L=this.scanner.substrToCursor(z+1)))}else this.error();return null!==O&&O.charCodeAt(0)===P&&(O=O.substr(1)),null!==L&&L.charCodeAt(0)===P&&(L=L.substr(1)),{type:"AnPlusB",loc:this.getLocation(S,this.scanner.tokenStart),a:O,b:L}},generate:function(S){var L=null!=S.b;null!=S.a?(this.chunk("+1"===S.a?"+n":"1"===S.a?"n":"-1"===S.a?"-n":S.a+"n"),L&&("-"===(L=String(S.b)).charAt(0)||"+"===L.charAt(0)?(this.chunk(L.charAt(0)),this.chunk(L.substr(1))):(this.chunk("+"),this.chunk(L)))):this.chunk(String(S.b))}}},24867:function(ue,q,f){var U=f(97555).TYPE,B=f(89604).mode,V=U.AtKeyword,Z=U.Semicolon,T=U.LeftCurlyBracket,R=U.RightCurlyBracket;function C(P){return this.Raw(P,B.leftCurlyBracketOrSemicolon,!0)}function v(){for(var D,P=1;D=this.scanner.lookupType(P);P++){if(D===R)return!0;if(D===T||D===V)return!1}return!1}ue.exports={name:"Atrule",structure:{name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]},parse:function(){var M,A,D=this.scanner.tokenStart,_=null,g=null;switch(this.eat(V),A=(M=this.scanner.substrToCursor(D+1)).toLowerCase(),this.scanner.skipSC(),!1===this.scanner.eof&&this.scanner.tokenType!==T&&this.scanner.tokenType!==Z&&(this.parseAtrulePrelude?"AtrulePrelude"===(_=this.parseWithFallback(this.AtrulePrelude.bind(this,M),C)).type&&null===_.children.head&&(_=null):_=C.call(this,this.scanner.tokenIndex),this.scanner.skipSC()),this.scanner.tokenType){case Z:this.scanner.next();break;case T:g=this.atrule.hasOwnProperty(A)&&"function"==typeof this.atrule[A].block?this.atrule[A].block.call(this):this.Block(v.call(this))}return{type:"Atrule",loc:this.getLocation(D,this.scanner.tokenStart),name:M,prelude:_,block:g}},generate:function(D){this.chunk("@"),this.chunk(D.name),null!==D.prelude&&(this.chunk(" "),this.node(D.prelude)),D.block?this.node(D.block):this.chunk(";")},walkContext:"atrule"}},19121:function(ue,q,f){var U=f(97555).TYPE,B=U.Semicolon,V=U.LeftCurlyBracket;ue.exports={name:"AtrulePrelude",structure:{children:[[]]},parse:function(T){var R=null;return null!==T&&(T=T.toLowerCase()),this.scanner.skipSC(),R=this.atrule.hasOwnProperty(T)&&"function"==typeof this.atrule[T].prelude?this.atrule[T].prelude.call(this):this.readSequence(this.scope.AtrulePrelude),this.scanner.skipSC(),!0!==this.scanner.eof&&this.scanner.tokenType!==V&&this.scanner.tokenType!==B&&this.error("Semicolon or block is expected"),null===R&&(R=this.createList()),{type:"AtrulePrelude",loc:this.getLocationFromList(R),children:R}},generate:function(T){this.children(T)},walkContext:"atrulePrelude"}},87446:function(ue,q,f){var U=f(97555).TYPE,B=U.Ident,V=U.String,Z=U.Colon,T=U.LeftSquareBracket,R=U.RightSquareBracket;function _(){this.scanner.eof&&this.error("Unexpected end of input");var k=this.scanner.tokenStart,N=!1,E=!0;return this.scanner.isDelim(42)?(N=!0,E=!1,this.scanner.next()):this.scanner.isDelim(124)||this.eat(B),this.scanner.isDelim(124)?61!==this.scanner.source.charCodeAt(this.scanner.tokenStart+1)?(this.scanner.next(),this.eat(B)):N&&this.error("Identifier is expected",this.scanner.tokenEnd):N&&this.error("Vertical line is expected"),E&&this.scanner.tokenType===Z&&(this.scanner.next(),this.eat(B)),{type:"Identifier",loc:this.getLocation(k,this.scanner.tokenStart),name:this.scanner.substrToCursor(k)}}function g(){var k=this.scanner.tokenStart,N=this.scanner.source.charCodeAt(k);return 61!==N&&126!==N&&94!==N&&36!==N&&42!==N&&124!==N&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.scanner.next(),61!==N&&(this.scanner.isDelim(61)||this.error("Equal sign is expected"),this.scanner.next()),this.scanner.substrToCursor(k)}ue.exports={name:"AttributeSelector",structure:{name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]},parse:function(){var E,N=this.scanner.tokenStart,x=null,S=null,O=null;return this.eat(T),this.scanner.skipSC(),E=_.call(this),this.scanner.skipSC(),this.scanner.tokenType!==R&&(this.scanner.tokenType!==B&&(x=g.call(this),this.scanner.skipSC(),S=this.scanner.tokenType===V?this.String():this.Identifier(),this.scanner.skipSC()),this.scanner.tokenType===B&&(O=this.scanner.getTokenValue(),this.scanner.next(),this.scanner.skipSC())),this.eat(R),{type:"AttributeSelector",loc:this.getLocation(N,this.scanner.tokenStart),name:E,matcher:x,value:S,flags:O}},generate:function(N){var E=" ";this.chunk("["),this.node(N.name),null!==N.matcher&&(this.chunk(N.matcher),null!==N.value&&(this.node(N.value),"String"===N.value.type&&(E=""))),null!==N.flags&&(this.chunk(E),this.chunk(N.flags)),this.chunk("]")}}},33570:function(ue,q,f){var U=f(97555).TYPE,B=f(89604).mode,V=U.WhiteSpace,Z=U.Comment,T=U.Semicolon,R=U.AtKeyword,C=U.LeftCurlyBracket,v=U.RightCurlyBracket;function P(_){return this.Raw(_,null,!0)}function D(){return this.parseWithFallback(this.Rule,P)}function M(_){return this.Raw(_,B.semicolonIncluded,!0)}function A(){if(this.scanner.tokenType===T)return M.call(this,this.scanner.tokenIndex);var _=this.parseWithFallback(this.Declaration,M);return this.scanner.tokenType===T&&this.scanner.next(),_}ue.exports={name:"Block",structure:{children:[["Atrule","Rule","Declaration"]]},parse:function(g){var k=g?A:D,N=this.scanner.tokenStart,E=this.createList();this.eat(C);e:for(;!this.scanner.eof;)switch(this.scanner.tokenType){case v:break e;case V:case Z:this.scanner.next();break;case R:E.push(this.parseWithFallback(this.Atrule,P));break;default:E.push(k.call(this))}return this.scanner.eof||this.eat(v),{type:"Block",loc:this.getLocation(N,this.scanner.tokenStart),children:E}},generate:function(g){this.chunk("{"),this.children(g,function(k){"Declaration"===k.type&&this.chunk(";")}),this.chunk("}")},walkContext:"block"}},8916:function(ue,q,f){var U=f(97555).TYPE,B=U.LeftSquareBracket,V=U.RightSquareBracket;ue.exports={name:"Brackets",structure:{children:[[]]},parse:function(T,R){var v,C=this.scanner.tokenStart;return this.eat(B),v=T.call(this,R),this.scanner.eof||this.eat(V),{type:"Brackets",loc:this.getLocation(C,this.scanner.tokenStart),children:v}},generate:function(T){this.chunk("["),this.children(T),this.chunk("]")}}},91485:function(ue,q,f){var U=f(97555).TYPE.CDC;ue.exports={name:"CDC",structure:[],parse:function(){var V=this.scanner.tokenStart;return this.eat(U),{type:"CDC",loc:this.getLocation(V,this.scanner.tokenStart)}},generate:function(){this.chunk("--\x3e")}}},59315:function(ue,q,f){var U=f(97555).TYPE.CDO;ue.exports={name:"CDO",structure:[],parse:function(){var V=this.scanner.tokenStart;return this.eat(U),{type:"CDO",loc:this.getLocation(V,this.scanner.tokenStart)}},generate:function(){this.chunk("\x3c!--")}}},37016:function(ue,q,f){var B=f(97555).TYPE.Ident;ue.exports={name:"ClassSelector",structure:{name:String},parse:function(){return this.scanner.isDelim(46)||this.error("Full stop is expected"),this.scanner.next(),{type:"ClassSelector",loc:this.getLocation(this.scanner.tokenStart-1,this.scanner.tokenEnd),name:this.consume(B)}},generate:function(T){this.chunk("."),this.chunk(T.name)}}},55136:function(ue,q,f){var B=f(97555).TYPE.Ident;ue.exports={name:"Combinator",structure:{name:String},parse:function(){var v=this.scanner.tokenStart;switch(this.scanner.source.charCodeAt(this.scanner.tokenStart)){case 62:case 43:case 126:this.scanner.next();break;case 47:this.scanner.next(),(this.scanner.tokenType!==B||!1===this.scanner.lookupValue(0,"deep"))&&this.error("Identifier `deep` is expected"),this.scanner.next(),this.scanner.isDelim(47)||this.error("Solidus is expected"),this.scanner.next();break;default:this.error("Combinator is expected")}return{type:"Combinator",loc:this.getLocation(v,this.scanner.tokenStart),name:this.scanner.substrToCursor(v)}},generate:function(v){this.chunk(v.name)}}},6875:function(ue,q,f){var B=f(97555).TYPE.Comment;ue.exports={name:"Comment",structure:{value:String},parse:function(){var R=this.scanner.tokenStart,C=this.scanner.tokenEnd;return this.eat(B),C-R+2>=2&&42===this.scanner.source.charCodeAt(C-2)&&47===this.scanner.source.charCodeAt(C-1)&&(C-=2),{type:"Comment",loc:this.getLocation(R,this.scanner.tokenStart),value:this.scanner.source.substring(R+2,C)}},generate:function(R){this.chunk("/*"),this.chunk(R.value),this.chunk("*/")}}},7217:function(ue,q,f){var U=f(50643).isCustomProperty,B=f(97555).TYPE,V=f(89604).mode,Z=B.Ident,T=B.Hash,R=B.Colon,C=B.Semicolon,v=B.Delim,P=B.WhiteSpace;function E(j){return this.Raw(j,V.exclamationMarkOrSemicolon,!0)}function x(j){return this.Raw(j,V.exclamationMarkOrSemicolon,!1)}function S(){var j=this.scanner.tokenIndex,K=this.Value();return"Raw"!==K.type&&!1===this.scanner.eof&&this.scanner.tokenType!==C&&!1===this.scanner.isDelim(33)&&!1===this.scanner.isBalanceEdge(j)&&this.error(),K}function O(){var j=this.scanner.tokenStart;if(this.scanner.tokenType===v)switch(this.scanner.source.charCodeAt(this.scanner.tokenStart)){case 42:case 36:case 43:case 35:case 38:this.scanner.next();break;case 47:this.scanner.next(),this.scanner.isDelim(47)&&this.scanner.next()}return this.eat(this.scanner.tokenType===T?T:Z),this.scanner.substrToCursor(j)}function L(){this.eat(v),this.scanner.skipSC();var j=this.consume(Z);return"important"===j||j}ue.exports={name:"Declaration",structure:{important:[Boolean,String],property:String,value:["Value","Raw"]},parse:function(){var ce,K=this.scanner.tokenStart,z=this.scanner.tokenIndex,J=O.call(this),ie=U(J),te=ie?this.parseCustomProperty:this.parseValue,ae=ie?x:E,se=!1;this.scanner.skipSC(),this.eat(R);var le=this.scanner.tokenIndex;if(ie||this.scanner.skipSC(),ce=te?this.parseWithFallback(S,ae):ae.call(this,this.scanner.tokenIndex),ie&&"Value"===ce.type&&ce.children.isEmpty())for(var oe=le-this.scanner.tokenIndex;oe<=0;oe++)if(this.scanner.lookupType(oe)===P){ce.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}return this.scanner.isDelim(33)&&(se=L.call(this),this.scanner.skipSC()),!1===this.scanner.eof&&this.scanner.tokenType!==C&&!1===this.scanner.isBalanceEdge(z)&&this.error(),{type:"Declaration",loc:this.getLocation(K,this.scanner.tokenStart),important:se,property:J,value:ce}},generate:function(K){this.chunk(K.property),this.chunk(":"),this.node(K.value),K.important&&this.chunk(!0===K.important?"!important":"!"+K.important)},walkContext:"declaration"}},69013:function(ue,q,f){var U=f(97555).TYPE,B=f(89604).mode,V=U.WhiteSpace,Z=U.Comment,T=U.Semicolon;function R(C){return this.Raw(C,B.semicolonIncluded,!0)}ue.exports={name:"DeclarationList",structure:{children:[["Declaration"]]},parse:function(){for(var v=this.createList();!this.scanner.eof;)switch(this.scanner.tokenType){case V:case Z:case T:this.scanner.next();break;default:v.push(this.parseWithFallback(this.Declaration,R))}return{type:"DeclarationList",loc:this.getLocationFromList(v),children:v}},generate:function(v){this.children(v,function(P){"Declaration"===P.type&&this.chunk(";")})}}},68241:function(ue,q,f){var U=f(74586).consumeNumber,V=f(97555).TYPE.Dimension;ue.exports={name:"Dimension",structure:{value:String,unit:String},parse:function(){var T=this.scanner.tokenStart,R=U(this.scanner.source,T);return this.eat(V),{type:"Dimension",loc:this.getLocation(T,this.scanner.tokenStart),value:this.scanner.source.substring(T,R),unit:this.scanner.source.substring(R,this.scanner.tokenStart)}},generate:function(T){this.chunk(T.value),this.chunk(T.unit)}}},60298:function(ue,q,f){var B=f(97555).TYPE.RightParenthesis;ue.exports={name:"Function",structure:{name:String,children:[[]]},parse:function(Z,T){var P,R=this.scanner.tokenStart,C=this.consumeFunctionName(),v=C.toLowerCase();return P=T.hasOwnProperty(v)?T[v].call(this,T):Z.call(this,T),this.scanner.eof||this.eat(B),{type:"Function",loc:this.getLocation(R,this.scanner.tokenStart),name:C,children:P}},generate:function(Z){this.chunk(Z.name),this.chunk("("),this.children(Z),this.chunk(")")},walkContext:"function"}},50759:function(ue,q,f){var B=f(97555).TYPE.Hash;ue.exports={name:"Hash",structure:{value:String},parse:function(){var Z=this.scanner.tokenStart;return this.eat(B),{type:"Hash",loc:this.getLocation(Z,this.scanner.tokenStart),value:this.scanner.substrToCursor(Z+1)}},generate:function(Z){this.chunk("#"),this.chunk(Z.value)}}},37701:function(ue,q,f){var B=f(97555).TYPE.Hash;ue.exports={name:"IdSelector",structure:{name:String},parse:function(){var Z=this.scanner.tokenStart;return this.eat(B),{type:"IdSelector",loc:this.getLocation(Z,this.scanner.tokenStart),name:this.scanner.substrToCursor(Z+1)}},generate:function(Z){this.chunk("#"),this.chunk(Z.name)}}},71392:function(ue,q,f){var B=f(97555).TYPE.Ident;ue.exports={name:"Identifier",structure:{name:String},parse:function(){return{type:"Identifier",loc:this.getLocation(this.scanner.tokenStart,this.scanner.tokenEnd),name:this.consume(B)}},generate:function(Z){this.chunk(Z.name)}}},94179:function(ue,q,f){var U=f(97555).TYPE,B=U.Ident,V=U.Number,Z=U.Dimension,T=U.LeftParenthesis,R=U.RightParenthesis,C=U.Colon,v=U.Delim;ue.exports={name:"MediaFeature",structure:{name:String,value:["Identifier","Number","Dimension","Ratio",null]},parse:function(){var M,D=this.scanner.tokenStart,A=null;if(this.eat(T),this.scanner.skipSC(),M=this.consume(B),this.scanner.skipSC(),this.scanner.tokenType!==R){switch(this.eat(C),this.scanner.skipSC(),this.scanner.tokenType){case V:A=this.lookupNonWSType(1)===v?this.Ratio():this.Number();break;case Z:A=this.Dimension();break;case B:A=this.Identifier();break;default:this.error("Number, dimension, ratio or identifier is expected")}this.scanner.skipSC()}return this.eat(R),{type:"MediaFeature",loc:this.getLocation(D,this.scanner.tokenStart),name:M,value:A}},generate:function(D){this.chunk("("),this.chunk(D.name),null!==D.value&&(this.chunk(":"),this.node(D.value)),this.chunk(")")}}},32107:function(ue,q,f){var U=f(97555).TYPE,B=U.WhiteSpace,V=U.Comment,Z=U.Ident,T=U.LeftParenthesis;ue.exports={name:"MediaQuery",structure:{children:[["Identifier","MediaFeature","WhiteSpace"]]},parse:function(){this.scanner.skipSC();var C=this.createList(),v=null,P=null;e:for(;!this.scanner.eof;){switch(this.scanner.tokenType){case V:this.scanner.next();continue;case B:P=this.WhiteSpace();continue;case Z:v=this.Identifier();break;case T:v=this.MediaFeature();break;default:break e}null!==P&&(C.push(P),P=null),C.push(v)}return null===v&&this.error("Identifier or parenthesis is expected"),{type:"MediaQuery",loc:this.getLocationFromList(C),children:C}},generate:function(C){this.children(C)}}},54459:function(ue,q,f){var U=f(97555).TYPE.Comma;ue.exports={name:"MediaQueryList",structure:{children:[["MediaQuery"]]},parse:function(V){var Z=this.createList();for(this.scanner.skipSC();!this.scanner.eof&&(Z.push(this.MediaQuery(V)),this.scanner.tokenType===U);)this.scanner.next();return{type:"MediaQueryList",loc:this.getLocationFromList(Z),children:Z}},generate:function(V){this.children(V,function(){this.chunk(",")})}}},61123:function(ue){ue.exports={name:"Nth",structure:{nth:["AnPlusB","Identifier"],selector:["SelectorList",null]},parse:function(f){this.scanner.skipSC();var Z,U=this.scanner.tokenStart,B=U,V=null;return Z=this.scanner.lookupValue(0,"odd")||this.scanner.lookupValue(0,"even")?this.Identifier():this.AnPlusB(),this.scanner.skipSC(),f&&this.scanner.lookupValue(0,"of")?(this.scanner.next(),V=this.SelectorList(),this.needPositions&&(B=this.getLastListNode(V.children).loc.end.offset)):this.needPositions&&(B=Z.loc.end.offset),{type:"Nth",loc:this.getLocation(U,B),nth:Z,selector:V}},generate:function(f){this.node(f.nth),null!==f.selector&&(this.chunk(" of "),this.node(f.selector))}}},63902:function(ue,q,f){var U=f(97555).TYPE.Number;ue.exports={name:"Number",structure:{value:String},parse:function(){return{type:"Number",loc:this.getLocation(this.scanner.tokenStart,this.scanner.tokenEnd),value:this.consume(U)}},generate:function(V){this.chunk(V.value)}}},7249:function(ue){ue.exports={name:"Operator",structure:{value:String},parse:function(){var f=this.scanner.tokenStart;return this.scanner.next(),{type:"Operator",loc:this.getLocation(f,this.scanner.tokenStart),value:this.scanner.substrToCursor(f)}},generate:function(f){this.chunk(f.value)}}},34875:function(ue,q,f){var U=f(97555).TYPE,B=U.LeftParenthesis,V=U.RightParenthesis;ue.exports={name:"Parentheses",structure:{children:[[]]},parse:function(T,R){var v,C=this.scanner.tokenStart;return this.eat(B),v=T.call(this,R),this.scanner.eof||this.eat(V),{type:"Parentheses",loc:this.getLocation(C,this.scanner.tokenStart),children:v}},generate:function(T){this.chunk("("),this.children(T),this.chunk(")")}}},62173:function(ue,q,f){var U=f(74586).consumeNumber,V=f(97555).TYPE.Percentage;ue.exports={name:"Percentage",structure:{value:String},parse:function(){var T=this.scanner.tokenStart,R=U(this.scanner.source,T);return this.eat(V),{type:"Percentage",loc:this.getLocation(T,this.scanner.tokenStart),value:this.scanner.source.substring(T,R)}},generate:function(T){this.chunk(T.value),this.chunk("%")}}},38887:function(ue,q,f){var U=f(97555).TYPE,B=U.Ident,V=U.Function,Z=U.Colon,T=U.RightParenthesis;ue.exports={name:"PseudoClassSelector",structure:{name:String,children:[["Raw"],null]},parse:function(){var P,D,C=this.scanner.tokenStart,v=null;return this.eat(Z),this.scanner.tokenType===V?(D=(P=this.consumeFunctionName()).toLowerCase(),this.pseudo.hasOwnProperty(D)?(this.scanner.skipSC(),v=this.pseudo[D].call(this),this.scanner.skipSC()):(v=this.createList()).push(this.Raw(this.scanner.tokenIndex,null,!1)),this.eat(T)):P=this.consume(B),{type:"PseudoClassSelector",loc:this.getLocation(C,this.scanner.tokenStart),name:P,children:v}},generate:function(C){this.chunk(":"),this.chunk(C.name),null!==C.children&&(this.chunk("("),this.children(C),this.chunk(")"))},walkContext:"function"}},78076:function(ue,q,f){var U=f(97555).TYPE,B=U.Ident,V=U.Function,Z=U.Colon,T=U.RightParenthesis;ue.exports={name:"PseudoElementSelector",structure:{name:String,children:[["Raw"],null]},parse:function(){var P,D,C=this.scanner.tokenStart,v=null;return this.eat(Z),this.eat(Z),this.scanner.tokenType===V?(D=(P=this.consumeFunctionName()).toLowerCase(),this.pseudo.hasOwnProperty(D)?(this.scanner.skipSC(),v=this.pseudo[D].call(this),this.scanner.skipSC()):(v=this.createList()).push(this.Raw(this.scanner.tokenIndex,null,!1)),this.eat(T)):P=this.consume(B),{type:"PseudoElementSelector",loc:this.getLocation(C,this.scanner.tokenStart),name:P,children:v}},generate:function(C){this.chunk("::"),this.chunk(C.name),null!==C.children&&(this.chunk("("),this.children(C),this.chunk(")"))},walkContext:"function"}},15482:function(ue,q,f){var U=f(97555).isDigit,B=f(97555).TYPE,V=B.Number,Z=B.Delim;function C(){this.scanner.skipWS();for(var v=this.consume(V),P=0;P<v.length;P++){var D=v.charCodeAt(P);!U(D)&&46!==D&&this.error("Unsigned number is expected",this.scanner.tokenStart-v.length+P)}return 0===Number(v)&&this.error("Zero number is not allowed",this.scanner.tokenStart-v.length),v}ue.exports={name:"Ratio",structure:{left:String,right:String},parse:function(){var M,P=this.scanner.tokenStart,D=C.call(this);return this.scanner.skipWS(),this.scanner.isDelim(47)||this.error("Solidus is expected"),this.eat(Z),M=C.call(this),{type:"Ratio",loc:this.getLocation(P,this.scanner.tokenStart),left:D,right:M}},generate:function(P){this.chunk(P.left),this.chunk("/"),this.chunk(P.right)}}},89604:function(ue,q,f){var B=f(97555).TYPE,V=B.WhiteSpace,Z=B.Semicolon,T=B.LeftCurlyBracket,R=B.Delim;function v(){return this.scanner.tokenIndex>0&&this.scanner.lookupType(-1)===V?this.scanner.tokenIndex>1?this.scanner.getTokenStart(this.scanner.tokenIndex-1):this.scanner.firstCharOffset:this.scanner.tokenStart}function P(){return 0}ue.exports={name:"Raw",structure:{value:String},parse:function(k,N,E){var S,x=this.scanner.getTokenStart(k);return this.scanner.skip(this.scanner.getRawLength(k,N||P)),S=E&&this.scanner.tokenStart>x?v.call(this):this.scanner.tokenStart,{type:"Raw",loc:this.getLocation(x,S),value:this.scanner.source.substring(x,S)}},generate:function(k){this.chunk(k.value)},mode:{default:P,leftCurlyBracket:function(g){return g===T?1:0},leftCurlyBracketOrSemicolon:function(g){return g===T||g===Z?1:0},exclamationMarkOrSemicolon:function(g,k,N){return g===R&&33===k.charCodeAt(N)||g===Z?1:0},semicolonIncluded:function(g){return g===Z?2:0}}}},56064:function(ue,q,f){var U=f(97555).TYPE,B=f(89604).mode,V=U.LeftCurlyBracket;function Z(R){return this.Raw(R,B.leftCurlyBracket,!0)}function T(){var R=this.SelectorList();return"Raw"!==R.type&&!1===this.scanner.eof&&this.scanner.tokenType!==V&&this.error(),R}ue.exports={name:"Rule",structure:{prelude:["SelectorList","Raw"],block:["Block"]},parse:function(){var P,D,C=this.scanner.tokenIndex,v=this.scanner.tokenStart;return P=this.parseRulePrelude?this.parseWithFallback(T,Z):Z.call(this,C),D=this.Block(!0),{type:"Rule",loc:this.getLocation(v,this.scanner.tokenStart),prelude:P,block:D}},generate:function(C){this.node(C.prelude),this.node(C.block)},walkContext:"rule"}},43042:function(ue){ue.exports={name:"Selector",structure:{children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator","WhiteSpace"]]},parse:function(){var f=this.readSequence(this.scope.Selector);return null===this.getFirstListNode(f)&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(f),children:f}},generate:function(f){this.children(f)}}},38444:function(ue,q,f){var B=f(97555).TYPE.Comma;ue.exports={name:"SelectorList",structure:{children:[["Selector","Raw"]]},parse:function(){for(var Z=this.createList();!this.scanner.eof&&(Z.push(this.Selector()),this.scanner.tokenType===B);)this.scanner.next();return{type:"SelectorList",loc:this.getLocationFromList(Z),children:Z}},generate:function(Z){this.children(Z,function(){this.chunk(",")})},walkContext:"selector"}},12565:function(ue,q,f){var U=f(97555).TYPE.String;ue.exports={name:"String",structure:{value:String},parse:function(){return{type:"String",loc:this.getLocation(this.scanner.tokenStart,this.scanner.tokenEnd),value:this.consume(U)}},generate:function(V){this.chunk(V.value)}}},91348:function(ue,q,f){var U=f(97555).TYPE,B=U.WhiteSpace,V=U.Comment,Z=U.AtKeyword,T=U.CDO,R=U.CDC;function v(P){return this.Raw(P,null,!1)}ue.exports={name:"StyleSheet",structure:{children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]},parse:function(){for(var A,D=this.scanner.tokenStart,M=this.createList();!this.scanner.eof;){switch(this.scanner.tokenType){case B:this.scanner.next();continue;case V:if(33!==this.scanner.source.charCodeAt(this.scanner.tokenStart+2)){this.scanner.next();continue}A=this.Comment();break;case T:A=this.CDO();break;case R:A=this.CDC();break;case Z:A=this.parseWithFallback(this.Atrule,v);break;default:A=this.parseWithFallback(this.Rule,v)}M.push(A)}return{type:"StyleSheet",loc:this.getLocation(D,this.scanner.tokenStart),children:M}},generate:function(D){this.children(D)},walkContext:"stylesheet"}},16983:function(ue,q,f){var B=f(97555).TYPE.Ident;function T(){this.scanner.tokenType!==B&&!1===this.scanner.isDelim(42)&&this.error("Identifier or asterisk is expected"),this.scanner.next()}ue.exports={name:"TypeSelector",structure:{name:String},parse:function(){var C=this.scanner.tokenStart;return this.scanner.isDelim(124)?(this.scanner.next(),T.call(this)):(T.call(this),this.scanner.isDelim(124)&&(this.scanner.next(),T.call(this))),{type:"TypeSelector",loc:this.getLocation(C,this.scanner.tokenStart),name:this.scanner.substrToCursor(C)}},generate:function(C){this.chunk(C.name)}}},95616:function(ue,q,f){var U=f(97555).isHexDigit,B=f(97555).cmpChar,V=f(97555).TYPE,Z=f(97555).NAME,T=V.Ident,R=V.Number,C=V.Dimension;function A(N,E){for(var x=this.scanner.tokenStart+N,S=0;x<this.scanner.tokenEnd;x++){var O=this.scanner.source.charCodeAt(x);if(45===O&&E&&0!==S)return 0===A.call(this,N+S+1,!1)&&this.error(),-1;U(O)||this.error(E&&0!==S?"HyphenMinus"+(S<6?" or hex digit":"")+" is expected":S<6?"Hex digit is expected":"Unexpected input",x),++S>6&&this.error("Too many hex digits",x)}return this.scanner.next(),S}function _(N){for(var E=0;this.scanner.isDelim(63);)++E>N&&this.error("Too many question marks"),this.scanner.next()}function g(N){this.scanner.source.charCodeAt(this.scanner.tokenStart)!==N&&this.error(Z[N]+" is expected")}function k(){var N=0;return this.scanner.isDelim(43)?(this.scanner.next(),this.scanner.tokenType===T?void((N=A.call(this,0,!0))>0&&_.call(this,6-N)):this.scanner.isDelim(63)?(this.scanner.next(),void _.call(this,5)):void this.error("Hex digit or question mark is expected")):this.scanner.tokenType===R?(g.call(this,43),N=A.call(this,1,!0),this.scanner.isDelim(63)?void _.call(this,6-N):this.scanner.tokenType===C||this.scanner.tokenType===R?(g.call(this,45),void A.call(this,1,!1)):void 0):this.scanner.tokenType===C?(g.call(this,43),void((N=A.call(this,1,!0))>0&&_.call(this,6-N))):void this.error()}ue.exports={name:"UnicodeRange",structure:{value:String},parse:function(){var E=this.scanner.tokenStart;return B(this.scanner.source,E,117)||this.error("U is expected"),B(this.scanner.source,E+1,43)||this.error("Plus sign is expected"),this.scanner.next(),k.call(this),{type:"UnicodeRange",loc:this.getLocation(E,this.scanner.tokenStart),value:this.scanner.substrToCursor(E)}},generate:function(E){this.chunk(E.value)}}},72796:function(ue,q,f){var U=f(97555).isWhiteSpace,B=f(97555).cmpStr,V=f(97555).TYPE,Z=V.Function,T=V.Url,R=V.RightParenthesis;ue.exports={name:"Url",structure:{value:["String","Raw"]},parse:function(){var P,v=this.scanner.tokenStart;switch(this.scanner.tokenType){case T:for(var D=v+4,M=this.scanner.tokenEnd-1;D<M&&U(this.scanner.source.charCodeAt(D));)D++;for(;D<M&&U(this.scanner.source.charCodeAt(M-1));)M--;P={type:"Raw",loc:this.getLocation(D,M),value:this.scanner.source.substring(D,M)},this.eat(T);break;case Z:B(this.scanner.source,this.scanner.tokenStart,this.scanner.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(Z),this.scanner.skipSC(),P=this.String(),this.scanner.skipSC(),this.eat(R);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(v,this.scanner.tokenStart),value:P}},generate:function(v){this.chunk("url"),this.chunk("("),this.node(v.value),this.chunk(")")}}},605:function(ue){ue.exports={name:"Value",structure:{children:[[]]},parse:function(){var f=this.scanner.tokenStart,U=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(f,this.scanner.tokenStart),children:U}},generate:function(f){this.children(f)}}},48360:function(ue,q,f){var U=f(97555).TYPE.WhiteSpace,B=Object.freeze({type:"WhiteSpace",loc:null,value:" "});ue.exports={name:"WhiteSpace",structure:{value:String},parse:function(){return this.eat(U),B},generate:function(Z){this.chunk(Z.value)}}},5678:function(ue,q,f){ue.exports={AnPlusB:f(34230),Atrule:f(24867),AtrulePrelude:f(19121),AttributeSelector:f(87446),Block:f(33570),Brackets:f(8916),CDC:f(91485),CDO:f(59315),ClassSelector:f(37016),Combinator:f(55136),Comment:f(6875),Declaration:f(7217),DeclarationList:f(69013),Dimension:f(68241),Function:f(60298),Hash:f(50759),Identifier:f(71392),IdSelector:f(37701),MediaFeature:f(94179),MediaQuery:f(32107),MediaQueryList:f(54459),Nth:f(61123),Number:f(63902),Operator:f(7249),Parentheses:f(34875),Percentage:f(62173),PseudoClassSelector:f(38887),PseudoElementSelector:f(78076),Ratio:f(15482),Raw:f(89604),Rule:f(56064),Selector:f(43042),SelectorList:f(38444),String:f(12565),StyleSheet:f(91348),TypeSelector:f(16983),UnicodeRange:f(95616),Url:f(72796),Value:f(605),WhiteSpace:f(48360)}},99281:function(ue){ue.exports={parse:function(){return this.createSingleNodeList(this.Nth(!1))}}},56849:function(ue){ue.exports={parse:function(){return this.createSingleNodeList(this.Nth(!0))}}},23317:function(ue){ue.exports={parse:function(){return this.createSingleNodeList(this.SelectorList())}}},41448:function(ue){ue.exports={parse:function(){return this.createSingleNodeList(this.Identifier())}}},12742:function(ue){ue.exports={parse:function(){return this.createSingleNodeList(this.SelectorList())}}},31947:function(ue,q,f){ue.exports={dir:f(41448),has:f(12742),lang:f(90367),matches:f(74468),not:f(13251),"nth-child":f(3198),"nth-last-child":f(78171),"nth-last-of-type":f(36963),"nth-of-type":f(91002),slotted:f(81307)}},90367:function(ue){ue.exports={parse:function(){return this.createSingleNodeList(this.Identifier())}}},74468:function(ue,q,f){ue.exports=f(23317)},13251:function(ue,q,f){ue.exports=f(23317)},3198:function(ue,q,f){ue.exports=f(56849)},78171:function(ue,q,f){ue.exports=f(56849)},36963:function(ue,q,f){ue.exports=f(99281)},91002:function(ue,q,f){ue.exports=f(99281)},81307:function(ue){ue.exports={parse:function(){return this.createSingleNodeList(this.Selector())}}},87714:function(ue,q,f){ue.exports={getNode:f(5495)}},5495:function(ue,q,f){var U=f(97555).cmpChar,B=f(97555).cmpStr,V=f(97555).TYPE,Z=V.Ident,T=V.String,R=V.Number,C=V.Function,v=V.Url,P=V.Hash,D=V.Dimension,M=V.Percentage,A=V.LeftParenthesis,_=V.LeftSquareBracket,g=V.Comma,k=V.Delim;ue.exports=function(K){switch(this.scanner.tokenType){case P:return this.Hash();case g:return K.space=null,K.ignoreWSAfter=!0,this.Operator();case A:return this.Parentheses(this.readSequence,K.recognizer);case _:return this.Brackets(this.readSequence,K.recognizer);case T:return this.String();case D:return this.Dimension();case M:return this.Percentage();case R:return this.Number();case C:return B(this.scanner.source,this.scanner.tokenStart,this.scanner.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,K.recognizer);case v:return this.Url();case Z:return U(this.scanner.source,this.scanner.tokenStart,117)&&U(this.scanner.source,this.scanner.tokenStart+1,43)?this.UnicodeRange():this.Identifier();case k:var z=this.scanner.source.charCodeAt(this.scanner.tokenStart);if(47===z||42===z||43===z||45===z)return this.Operator();35===z&&this.error("Hex or identifier is expected",this.scanner.tokenStart+1)}}},73241:function(ue,q,f){ue.exports={AtrulePrelude:f(87714),Selector:f(59604),Value:f(84761)}},59604:function(ue,q,f){var U=f(97555).TYPE,B=U.Delim,V=U.Ident,Z=U.Dimension,T=U.Percentage,R=U.Number,C=U.Hash,v=U.Colon,P=U.LeftSquareBracket;ue.exports={getNode:function(S){switch(this.scanner.tokenType){case P:return this.AttributeSelector();case C:return this.IdSelector();case v:return this.scanner.lookupType(1)===v?this.PseudoElementSelector():this.PseudoClassSelector();case V:return this.TypeSelector();case R:case T:return this.Percentage();case Z:46===this.scanner.source.charCodeAt(this.scanner.tokenStart)&&this.error("Identifier is expected",this.scanner.tokenStart+1);break;case B:switch(this.scanner.source.charCodeAt(this.scanner.tokenStart)){case 43:case 62:case 126:return S.space=null,S.ignoreWSAfter=!0,this.Combinator();case 47:return this.Combinator();case 46:return this.ClassSelector();case 42:case 124:return this.TypeSelector();case 35:return this.IdSelector()}}}}},84761:function(ue,q,f){ue.exports={getNode:f(5495),expression:f(36728),var:f(82418)}},88312:function(ue){function f(x){return x>=48&&x<=57}function B(x){return x>=65&&x<=90}function V(x){return x>=97&&x<=122}function Z(x){return B(x)||V(x)}function T(x){return x>=128}function R(x){return Z(x)||T(x)||95===x}function v(x){return x>=0&&x<=8||11===x||x>=14&&x<=31||127===x}function P(x){return 10===x||13===x||12===x}function D(x){return P(x)||32===x||9===x}function M(x,S){return!(92!==x||P(S)||0===S)}var k=new Array(128);E.Eof=128,E.WhiteSpace=130,E.Digit=131,E.NameStart=132,E.NonPrintable=133;for(var N=0;N<k.length;N++)switch(!0){case D(N):k[N]=E.WhiteSpace;break;case f(N):k[N]=E.Digit;break;case R(N):k[N]=E.NameStart;break;case v(N):k[N]=E.NonPrintable;break;default:k[N]=N||E.Eof}function E(x){return x<128?k[x]:E.NameStart}ue.exports={isDigit:f,isHexDigit:function(x){return f(x)||x>=65&&x<=70||x>=97&&x<=102},isUppercaseLetter:B,isLowercaseLetter:V,isLetter:Z,isNonAscii:T,isNameStart:R,isName:function(x){return R(x)||f(x)||45===x},isNonPrintable:v,isNewline:P,isWhiteSpace:D,isValidEscape:M,isIdentifierStart:function(x,S,O){return 45===x?R(S)||45===S||M(S,O):!!R(x)||92===x&&M(x,S)},isNumberStart:function(x,S,O){return 43===x||45===x?f(S)?2:46===S&&f(O)?3:0:46===x?f(S)?2:0:f(x)?1:0},isBOM:function(x){return 65279===x||65534===x?1:0},charCodeCategory:E}},97077:function(ue){var q={EOF:0,Ident:1,Function:2,AtKeyword:3,Hash:4,String:5,BadString:6,Url:7,BadUrl:8,Delim:9,Number:10,Percentage:11,Dimension:12,WhiteSpace:13,CDO:14,CDC:15,Colon:16,Semicolon:17,Comma:18,LeftSquareBracket:19,RightSquareBracket:20,LeftParenthesis:21,RightParenthesis:22,LeftCurlyBracket:23,RightCurlyBracket:24,Comment:25},f=Object.keys(q).reduce(function(U,B){return U[q[B]]=B,U},{});ue.exports={TYPE:q,NAME:f}},97555:function(ue,q,f){var U=f(13146),B=f(62146),V=f(97077),Z=V.TYPE,T=f(88312),R=T.isNewline,C=T.isName,v=T.isValidEscape,P=T.isNumberStart,D=T.isIdentifierStart,M=T.charCodeCategory,A=T.isBOM,_=f(74586),g=_.cmpStr,k=_.getNewlineLength,N=_.findWhiteSpaceEnd,E=_.consumeEscaped,x=_.consumeName,S=_.consumeNumber,O=_.consumeBadUrlRemnants,L=16777215,j=24;function K(z,J){function ie(je){return je<le?z.charCodeAt(je):0}function te(){return qe=S(z,qe),D(ie(qe),ie(qe+1),ie(qe+2))?(Oe=Z.Dimension,void(qe=x(z,qe))):37===ie(qe)?(Oe=Z.Percentage,void qe++):void(Oe=Z.Number)}function ae(){var je=qe;return qe=x(z,qe),g(z,je,qe,"url")&&40===ie(qe)?34===ie(qe=N(z,qe+1))||39===ie(qe)?(Oe=Z.Function,void(qe=je+4)):void function(){for(Oe=Z.Url,qe=N(z,qe);qe<z.length;qe++){var je=z.charCodeAt(qe);switch(M(je)){case 41:return void qe++;case M.Eof:return;case M.WhiteSpace:return 41===ie(qe=N(z,qe))||qe>=z.length?void(qe<z.length&&qe++):(qe=O(z,qe),void(Oe=Z.BadUrl));case 34:case 39:case 40:case M.NonPrintable:return qe=O(z,qe),void(Oe=Z.BadUrl);case 92:if(v(je,ie(qe+1))){qe=E(z,qe)-1;break}return qe=O(z,qe),void(Oe=Z.BadUrl)}}}():40===ie(qe)?(Oe=Z.Function,void qe++):void(Oe=Z.Ident)}function se(je){for(je||(je=ie(qe++)),Oe=Z.String;qe<z.length;qe++){var dt=z.charCodeAt(qe);switch(M(dt)){case je:return void qe++;case M.Eof:return;case M.WhiteSpace:if(R(dt))return qe+=k(z,qe,dt),void(Oe=Z.BadString);break;case 92:if(qe===z.length-1)break;var Qe=ie(qe+1);R(Qe)?qe+=k(z,qe+1,Qe):v(dt,Qe)&&(qe=E(z,qe)-1)}}}J||(J=new U);for(var le=(z=String(z||"")).length,oe=B(J.offsetAndType,le+1),Ae=B(J.balance,le+1),be=0,it=A(ie(0)),qe=it,_t=0,yt=0,Ft=0;qe<le;){var xe=z.charCodeAt(qe),Oe=0;switch(Ae[be]=le,M(xe)){case M.WhiteSpace:Oe=Z.WhiteSpace,qe=N(z,qe+1);break;case 34:se();break;case 35:C(ie(qe+1))||v(ie(qe+1),ie(qe+2))?(Oe=Z.Hash,qe=x(z,qe+1)):(Oe=Z.Delim,qe++);break;case 39:se();break;case 40:Oe=Z.LeftParenthesis,qe++;break;case 41:Oe=Z.RightParenthesis,qe++;break;case 43:P(xe,ie(qe+1),ie(qe+2))?te():(Oe=Z.Delim,qe++);break;case 44:Oe=Z.Comma,qe++;break;case 45:P(xe,ie(qe+1),ie(qe+2))?te():45===ie(qe+1)&&62===ie(qe+2)?(Oe=Z.CDC,qe+=3):D(xe,ie(qe+1),ie(qe+2))?ae():(Oe=Z.Delim,qe++);break;case 46:P(xe,ie(qe+1),ie(qe+2))?te():(Oe=Z.Delim,qe++);break;case 47:42===ie(qe+1)?(Oe=Z.Comment,1===(qe=z.indexOf("*/",qe+2)+2)&&(qe=z.length)):(Oe=Z.Delim,qe++);break;case 58:Oe=Z.Colon,qe++;break;case 59:Oe=Z.Semicolon,qe++;break;case 60:33===ie(qe+1)&&45===ie(qe+2)&&45===ie(qe+3)?(Oe=Z.CDO,qe+=4):(Oe=Z.Delim,qe++);break;case 64:D(ie(qe+1),ie(qe+2),ie(qe+3))?(Oe=Z.AtKeyword,qe=x(z,qe+1)):(Oe=Z.Delim,qe++);break;case 91:Oe=Z.LeftSquareBracket,qe++;break;case 92:v(xe,ie(qe+1))?ae():(Oe=Z.Delim,qe++);break;case 93:Oe=Z.RightSquareBracket,qe++;break;case 123:Oe=Z.LeftCurlyBracket,qe++;break;case 125:Oe=Z.RightCurlyBracket,qe++;break;case M.Digit:te();break;case M.NameStart:ae();break;case M.Eof:break;default:Oe=Z.Delim,qe++}switch(Oe){case _t:for(_t=(yt=Ae[Ft=yt&L])>>j,Ae[be]=Ft,Ae[Ft++]=be;Ft<be;Ft++)Ae[Ft]===le&&(Ae[Ft]=be);break;case Z.LeftParenthesis:case Z.Function:Ae[be]=yt,yt=(_t=Z.RightParenthesis)<<j|be;break;case Z.LeftSquareBracket:Ae[be]=yt,yt=(_t=Z.RightSquareBracket)<<j|be;break;case Z.LeftCurlyBracket:Ae[be]=yt,yt=(_t=Z.RightCurlyBracket)<<j|be}oe[be++]=Oe<<j|qe}for(oe[be]=Z.EOF<<j|qe,Ae[be]=le,Ae[le]=le;0!==yt;)yt=Ae[Ft=yt&L],Ae[Ft]=le;return J.source=z,J.firstCharOffset=it,J.offsetAndType=oe,J.tokenCount=be,J.balance=Ae,J.reset(),J.next(),J}Object.keys(V).forEach(function(z){K[z]=V[z]}),Object.keys(T).forEach(function(z){K[z]=T[z]}),Object.keys(_).forEach(function(z){K[z]=_[z]}),ue.exports=K},74586:function(ue,q,f){var U=f(88312),B=U.isDigit,V=U.isHexDigit,Z=U.isUppercaseLetter,T=U.isName,R=U.isWhiteSpace,C=U.isValidEscape;function v(S,O){return O<S.length?S.charCodeAt(O):0}function P(S,O,L){return 13===L&&10===v(S,O+1)?2:1}function D(S,O,L){var j=S.charCodeAt(O);return Z(j)&&(j|=32),j===L}function g(S,O){for(;O<S.length&&B(S.charCodeAt(O));O++);return O}function k(S,O){if(V(v(S,(O+=2)-1))){for(var L=Math.min(S.length,O+5);O<L&&V(v(S,O));O++);var j=v(S,O);R(j)&&(O+=P(S,O,j))}return O}ue.exports={consumeEscaped:k,consumeName:function(S,O){for(;O<S.length;O++){var L=S.charCodeAt(O);if(!T(L)){if(C(L,v(S,O+1))){O=k(S,O)-1;continue}break}}return O},consumeNumber:function(S,O){var L=S.charCodeAt(O);if((43===L||45===L)&&(L=S.charCodeAt(O+=1)),B(L)&&(O=g(S,O+1),L=S.charCodeAt(O)),46===L&&B(S.charCodeAt(O+1))&&(L=S.charCodeAt(O+=2),O=g(S,O)),D(S,O,101)){var j=0;(45===(L=S.charCodeAt(O+1))||43===L)&&(j=1,L=S.charCodeAt(O+2)),B(L)&&(O=g(S,O+1+j+1))}return O},consumeBadUrlRemnants:function(S,O){for(;O<S.length;O++){var L=S.charCodeAt(O);if(41===L){O++;break}C(L,v(S,O+1))&&(O=k(S,O))}return O},cmpChar:D,cmpStr:function(S,O,L,j){if(L-O!==j.length||O<0||L>S.length)return!1;for(var K=O;K<L;K++){var z=S.charCodeAt(K),J=j.charCodeAt(K-O);if(Z(z)&&(z|=32),z!==J)return!1}return!0},getNewlineLength:P,findWhiteSpaceStart:function(S,O){for(;O>=0&&R(S.charCodeAt(O));O--);return O+1},findWhiteSpaceEnd:function(S,O){for(;O<S.length&&R(S.charCodeAt(O));O++);return O}}},30714:function(ue,q,f){var U=f(63335);ue.exports=function B(V){var Z={};for(var T in V){var R=V[T];R&&(Array.isArray(R)||R instanceof U?R=R.map(B):R.constructor===Object&&(R=B(R))),Z[T]=R}return Z}},92455:function(ue){ue.exports=function(f,U){var B=Object.create(SyntaxError.prototype),V=new Error;return B.name=f,B.message=U,Object.defineProperty(B,"stack",{get:function(){return(V.stack||"").replace(/^(.+\n){1,3}/,f+": "+U+"\n")}}),B}},50643:function(ue){var q=Object.prototype.hasOwnProperty,f=Object.create(null),U=Object.create(null);function V(C,v){return C.length-(v=v||0)>=2&&45===C.charCodeAt(v)&&45===C.charCodeAt(v+1)}function Z(C,v){if(C.length-(v=v||0)>=3&&45===C.charCodeAt(v)&&45!==C.charCodeAt(v+1)){var P=C.indexOf("-",v+2);if(-1!==P)return C.substring(v,P+1)}return""}ue.exports={keyword:function(C){if(q.call(f,C))return f[C];var v=C.toLowerCase();if(q.call(f,v))return f[C]=f[v];var P=V(v,0),D=P?"":Z(v,0);return f[C]=Object.freeze({basename:v.substr(D.length),name:v,vendor:D,prefix:D,custom:P})},property:function(C){if(q.call(U,C))return U[C];var v=C,P=C[0];"/"===P?P="/"===C[1]?"//":"/":"_"!==P&&"*"!==P&&"$"!==P&&"#"!==P&&"+"!==P&&"&"!==P&&(P="");var D=V(v,P.length);if(!D&&(v=v.toLowerCase(),q.call(U,v)))return U[C]=U[v];var M=D?"":Z(v,P.length),A=v.substr(0,P.length+M.length);return U[C]=Object.freeze({basename:v.substr(A.length),name:v.substr(P.length),hack:P,vendor:M,prefix:A,custom:D})},isCustomProperty:V,vendorPrefix:Z}},24523:function(ue){var q=Object.prototype.hasOwnProperty,f=function(){};function U(C){return"function"==typeof C?C:f}function B(C,v){return function(P,D,M){P.type===v&&C.call(this,P,D,M)}}function V(C,v){var P=v.structure,D=[];for(var M in P)if(!1!==q.call(P,M)){var A=P[M],_={name:M,type:!1,nullable:!1};Array.isArray(P[M])||(A=[P[M]]);for(var g=0;g<A.length;g++){var k=A[g];null===k?_.nullable=!0:"string"==typeof k?_.type="node":Array.isArray(k)&&(_.type="list")}_.type&&D.push(_)}return D.length?{context:v.walkContext,fields:D}:null}function T(C,v){var P=C.fields.slice(),D=C.context,M="string"==typeof D;return v&&P.reverse(),function(A,_,g,k){var N;M&&(N=_[D],_[D]=A);for(var E=0;E<P.length;E++){var x=P[E],S=A[x.name];if(!x.nullable||S)if("list"===x.type){if(v?S.reduceRight(k,!1):S.reduce(k,!1))return!0}else if(g(S))return!0}M&&(_[D]=N)}}function R(C){return{Atrule:{StyleSheet:C.StyleSheet,Atrule:C.Atrule,Rule:C.Rule,Block:C.Block},Rule:{StyleSheet:C.StyleSheet,Atrule:C.Atrule,Rule:C.Rule,Block:C.Block},Declaration:{StyleSheet:C.StyleSheet,Atrule:C.Atrule,Rule:C.Rule,Block:C.Block,DeclarationList:C.DeclarationList}}}ue.exports=function(v){var P=function(C){var v={};for(var P in C.node)if(q.call(C.node,P)){var D=C.node[P];if(!D.structure)throw new Error("Missed `structure` field in `"+P+"` node type definition");v[P]=V(0,D)}return v}(v),D={},M={},A=Symbol("break-walk"),_=Symbol("skip-node");for(var g in P)q.call(P,g)&&null!==P[g]&&(D[g]=T(P[g],!1),M[g]=T(P[g],!0));var k=R(D),N=R(M),E=function(S,O){function L(te,ae,se){var ce=K.call(ie,te,ae,se);return ce===A||ce!==_&&!!(J.hasOwnProperty(te.type)&&J[te.type](te,ie,L,j)||z.call(ie,te,ae,se)===A)}var j=function(ae,se,ce,le){return ae||L(se,ce,le)},K=f,z=f,J=D,ie={break:A,skip:_,root:S,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if("function"==typeof O)K=O;else if(O&&(K=U(O.enter),z=U(O.leave),O.reverse&&(J=M),O.visit)){if(k.hasOwnProperty(O.visit))J=O.reverse?N[O.visit]:k[O.visit];else if(!P.hasOwnProperty(O.visit))throw new Error("Bad value `"+O.visit+"` for `visit` option (should be: "+Object.keys(P).join(", ")+")");K=B(K,O.visit),z=B(z,O.visit)}if(K===f&&z===f)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");L(S)};return E.break=A,E.skip=_,E.find=function(x,S){var O=null;return E(x,function(L,j,K){if(S.call(this,L,j,K))return O=L,A}),O},E.findLast=function(x,S){var O=null;return E(x,{reverse:!0,enter:function(j,K,z){if(S.call(this,j,K,z))return O=j,A}}),O},E.findAll=function(x,S){var O=[];return E(x,function(L,j,K){S.call(this,L,j,K)&&O.push(L)}),O},E}},33931:function(ue,q,f){var U;!function(B,V,Z){if(B){for(var P,T={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},R={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},C={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},v={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},D=1;D<20;++D)T[111+D]="f"+D;for(D=0;D<=9;++D)T[D+96]=D.toString();K.prototype.bind=function(z,J,ie){return this._bindMultiple.call(this,z=z instanceof Array?z:[z],J,ie),this},K.prototype.unbind=function(z,J){return this.bind.call(this,z,function(){},J)},K.prototype.trigger=function(z,J){return this._directMap[z+":"+J]&&this._directMap[z+":"+J]({},z),this},K.prototype.reset=function(){var z=this;return z._callbacks={},z._directMap={},z},K.prototype.stopCallback=function(z,J){if((" "+J.className+" ").indexOf(" mousetrap ")>-1||j(J,this.target))return!1;if("composedPath"in z&&"function"==typeof z.composedPath){var te=z.composedPath()[0];te!==z.target&&(J=te)}return"INPUT"==J.tagName||"SELECT"==J.tagName||"TEXTAREA"==J.tagName||J.isContentEditable},K.prototype.handleKey=function(){var z=this;return z._handleKey.apply(z,arguments)},K.addKeycodes=function(z){for(var J in z)z.hasOwnProperty(J)&&(T[J]=z[J]);P=null},K.init=function(){var z=K(V);for(var J in z)"_"!==J.charAt(0)&&(K[J]=function(ie){return function(){return z[ie].apply(z,arguments)}}(J))},K.init(),B.Mousetrap=K,ue.exports&&(ue.exports=K),void 0!==(U=function(){return K}.call(q,f,q,ue))&&(ue.exports=U)}function M(z,J,ie){z.addEventListener?z.addEventListener(J,ie,!1):z.attachEvent("on"+J,ie)}function A(z){if("keypress"==z.type){var J=String.fromCharCode(z.which);return z.shiftKey||(J=J.toLowerCase()),J}return T[z.which]?T[z.which]:R[z.which]?R[z.which]:String.fromCharCode(z.which).toLowerCase()}function _(z,J){return z.sort().join(",")===J.sort().join(",")}function E(z){return"shift"==z||"ctrl"==z||"alt"==z||"meta"==z}function S(z,J,ie){return ie||(ie=function(){if(!P)for(var z in P={},T)z>95&&z<112||T.hasOwnProperty(z)&&(P[T[z]]=z);return P}()[z]?"keydown":"keypress"),"keypress"==ie&&J.length&&(ie="keydown"),ie}function L(z,J){var ie,te,ae,se=[];for(ie=function(z){return"+"===z?["+"]:(z=z.replace(/\+{2}/g,"+plus")).split("+")}(z),ae=0;ae<ie.length;++ae)v[te=ie[ae]]&&(te=v[te]),J&&"keypress"!=J&&C[te]&&(te=C[te],se.push("shift")),E(te)&&se.push(te);return{key:te,modifiers:se,action:J=S(te,se,J)}}function j(z,J){return null!==z&&z!==V&&(z===J||j(z.parentNode,J))}function K(z){var J=this;if(z=z||V,!(J instanceof K))return new K(z);J.target=z,J._callbacks={},J._directMap={};var te,ie={},ae=!1,se=!1,ce=!1;function le(yt){yt=yt||{};var xe,Ft=!1;for(xe in ie)yt[xe]?Ft=!0:ie[xe]=0;Ft||(ce=!1)}function oe(yt,Ft,xe,Oe,je,dt){var Qe,Bt,xt=[],vt=xe.type;if(!J._callbacks[yt])return[];for("keyup"==vt&&E(yt)&&(Ft=[yt]),Qe=0;Qe<J._callbacks[yt].length;++Qe)Bt=J._callbacks[yt][Qe],!Oe&&Bt.seq&&ie[Bt.seq]!=Bt.level||vt!=Bt.action||("keypress"!=vt||xe.metaKey||xe.ctrlKey)&&!_(Ft,Bt.modifiers)||((!Oe&&Bt.combo==je||Oe&&Bt.seq==Oe&&Bt.level==dt)&&J._callbacks[yt].splice(Qe,1),xt.push(Bt));return xt}function Ae(yt,Ft,xe,Oe){J.stopCallback(Ft,Ft.target||Ft.srcElement,xe,Oe)||!1===yt(Ft,xe)&&(function(z){z.preventDefault?z.preventDefault():z.returnValue=!1}(Ft),function(z){z.stopPropagation?z.stopPropagation():z.cancelBubble=!0}(Ft))}function be(yt){"number"!=typeof yt.which&&(yt.which=yt.keyCode);var Ft=A(yt);if(Ft){if("keyup"==yt.type&&ae===Ft)return void(ae=!1);J.handleKey(Ft,function(z){var J=[];return z.shiftKey&&J.push("shift"),z.altKey&&J.push("alt"),z.ctrlKey&&J.push("ctrl"),z.metaKey&&J.push("meta"),J}(yt),yt)}}function _t(yt,Ft,xe,Oe,je){J._directMap[yt+":"+xe]=Ft;var Qe,dt=(yt=yt.replace(/\s+/g," ")).split(" ");dt.length>1?function(yt,Ft,xe,Oe){function je(vt){return function(){ce=vt,++ie[yt],clearTimeout(te),te=setTimeout(le,1e3)}}function dt(vt){Ae(xe,vt,yt),"keyup"!==Oe&&(ae=A(vt)),setTimeout(le,10)}ie[yt]=0;for(var Qe=0;Qe<Ft.length;++Qe){var xt=Qe+1===Ft.length?dt:je(Oe||L(Ft[Qe+1]).action);_t(Ft[Qe],xt,Oe,yt,Qe)}}(yt,dt,Ft,xe):(Qe=L(yt,xe),J._callbacks[Qe.key]=J._callbacks[Qe.key]||[],oe(Qe.key,Qe.modifiers,{type:Qe.action},Oe,yt,je),J._callbacks[Qe.key][Oe?"unshift":"push"]({callback:Ft,modifiers:Qe.modifiers,action:Qe.action,seq:Oe,level:je,combo:yt}))}J._handleKey=function(yt,Ft,xe){var je,Oe=oe(yt,Ft,xe),dt={},Qe=0,Bt=!1;for(je=0;je<Oe.length;++je)Oe[je].seq&&(Qe=Math.max(Qe,Oe[je].level));for(je=0;je<Oe.length;++je)if(Oe[je].seq){if(Oe[je].level!=Qe)continue;Bt=!0,dt[Oe[je].seq]=1,Ae(Oe[je].callback,xe,Oe[je].combo,Oe[je].seq)}else Bt||Ae(Oe[je].callback,xe,Oe[je].combo);var xt="keypress"==xe.type&&se;xe.type==ce&&!E(yt)&&!xt&&le(dt),se=Bt&&"keydown"==xe.type},J._bindMultiple=function(yt,Ft,xe){for(var Oe=0;Oe<yt.length;++Oe)_t(yt[Oe],Ft,xe)},M(z,"keypress",be),M(z,"keydown",be),M(z,"keyup",be)}}("undefined"!=typeof window?window:null,"undefined"!=typeof window?document:null)},55590:function(ue){var q=function(f){"use strict";var V,U=Object.prototype,B=U.hasOwnProperty,Z="function"==typeof Symbol?Symbol:{},T=Z.iterator||"@@iterator",R=Z.asyncIterator||"@@asyncIterator",C=Z.toStringTag||"@@toStringTag";function v(oe,Ae,be){return Object.defineProperty(oe,Ae,{value:be,enumerable:!0,configurable:!0,writable:!0}),oe[Ae]}try{v({},"")}catch(oe){v=function(be,it,qe){return be[it]=qe}}function P(oe,Ae,be,it){var _t=Object.create((Ae&&Ae.prototype instanceof N?Ae:N).prototype),yt=new se(it||[]);return _t._invoke=function(oe,Ae,be){var it=M;return function(_t,yt){if(it===_)throw new Error("Generator is already running");if(it===g){if("throw"===_t)throw yt;return le()}for(be.method=_t,be.arg=yt;;){var Ft=be.delegate;if(Ft){var xe=ie(Ft,be);if(xe){if(xe===k)continue;return xe}}if("next"===be.method)be.sent=be._sent=be.arg;else if("throw"===be.method){if(it===M)throw it=g,be.arg;be.dispatchException(be.arg)}else"return"===be.method&&be.abrupt("return",be.arg);it=_;var Oe=D(oe,Ae,be);if("normal"===Oe.type){if(it=be.done?g:A,Oe.arg===k)continue;return{value:Oe.arg,done:be.done}}"throw"===Oe.type&&(it=g,be.method="throw",be.arg=Oe.arg)}}}(oe,be,yt),_t}function D(oe,Ae,be){try{return{type:"normal",arg:oe.call(Ae,be)}}catch(it){return{type:"throw",arg:it}}}f.wrap=P;var M="suspendedStart",A="suspendedYield",_="executing",g="completed",k={};function N(){}function E(){}function x(){}var S={};S[T]=function(){return this};var O=Object.getPrototypeOf,L=O&&O(O(ce([])));L&&L!==U&&B.call(L,T)&&(S=L);var j=x.prototype=N.prototype=Object.create(S);function K(oe){["next","throw","return"].forEach(function(Ae){v(oe,Ae,function(be){return this._invoke(Ae,be)})})}function z(oe,Ae){function be(_t,yt,Ft,xe){var Oe=D(oe[_t],oe,yt);if("throw"!==Oe.type){var je=Oe.arg,dt=je.value;return dt&&"object"==typeof dt&&B.call(dt,"__await")?Ae.resolve(dt.__await).then(function(Qe){be("next",Qe,Ft,xe)},function(Qe){be("throw",Qe,Ft,xe)}):Ae.resolve(dt).then(function(Qe){je.value=Qe,Ft(je)},function(Qe){return be("throw",Qe,Ft,xe)})}xe(Oe.arg)}var it;this._invoke=function(_t,yt){function Ft(){return new Ae(function(xe,Oe){be(_t,yt,xe,Oe)})}return it=it?it.then(Ft,Ft):Ft()}}function ie(oe,Ae){var be=oe.iterator[Ae.method];if(be===V){if(Ae.delegate=null,"throw"===Ae.method){if(oe.iterator.return&&(Ae.method="return",Ae.arg=V,ie(oe,Ae),"throw"===Ae.method))return k;Ae.method="throw",Ae.arg=new TypeError("The iterator does not provide a 'throw' method")}return k}var it=D(be,oe.iterator,Ae.arg);if("throw"===it.type)return Ae.method="throw",Ae.arg=it.arg,Ae.delegate=null,k;var qe=it.arg;return qe?qe.done?(Ae[oe.resultName]=qe.value,Ae.next=oe.nextLoc,"return"!==Ae.method&&(Ae.method="next",Ae.arg=V),Ae.delegate=null,k):qe:(Ae.method="throw",Ae.arg=new TypeError("iterator result is not an object"),Ae.delegate=null,k)}function te(oe){var Ae={tryLoc:oe[0]};1 in oe&&(Ae.catchLoc=oe[1]),2 in oe&&(Ae.finallyLoc=oe[2],Ae.afterLoc=oe[3]),this.tryEntries.push(Ae)}function ae(oe){var Ae=oe.completion||{};Ae.type="normal",delete Ae.arg,oe.completion=Ae}function se(oe){this.tryEntries=[{tryLoc:"root"}],oe.forEach(te,this),this.reset(!0)}function ce(oe){if(oe){var Ae=oe[T];if(Ae)return Ae.call(oe);if("function"==typeof oe.next)return oe;if(!isNaN(oe.length)){var be=-1,it=function qe(){for(;++be<oe.length;)if(B.call(oe,be))return qe.value=oe[be],qe.done=!1,qe;return qe.value=V,qe.done=!0,qe};return it.next=it}}return{next:le}}function le(){return{value:V,done:!0}}return E.prototype=j.constructor=x,x.constructor=E,E.displayName=v(x,C,"GeneratorFunction"),f.isGeneratorFunction=function(oe){var Ae="function"==typeof oe&&oe.constructor;return!!Ae&&(Ae===E||"GeneratorFunction"===(Ae.displayName||Ae.name))},f.mark=function(oe){return Object.setPrototypeOf?Object.setPrototypeOf(oe,x):(oe.__proto__=x,v(oe,C,"GeneratorFunction")),oe.prototype=Object.create(j),oe},f.awrap=function(oe){return{__await:oe}},K(z.prototype),z.prototype[R]=function(){return this},f.AsyncIterator=z,f.async=function(oe,Ae,be,it,qe){void 0===qe&&(qe=Promise);var _t=new z(P(oe,Ae,be,it),qe);return f.isGeneratorFunction(Ae)?_t:_t.next().then(function(yt){return yt.done?yt.value:_t.next()})},K(j),v(j,C,"Generator"),j[T]=function(){return this},j.toString=function(){return"[object Generator]"},f.keys=function(oe){var Ae=[];for(var be in oe)Ae.push(be);return Ae.reverse(),function it(){for(;Ae.length;){var qe=Ae.pop();if(qe in oe)return it.value=qe,it.done=!1,it}return it.done=!0,it}},f.values=ce,se.prototype={constructor:se,reset:function(Ae){if(this.prev=0,this.next=0,this.sent=this._sent=V,this.done=!1,this.delegate=null,this.method="next",this.arg=V,this.tryEntries.forEach(ae),!Ae)for(var be in this)"t"===be.charAt(0)&&B.call(this,be)&&!isNaN(+be.slice(1))&&(this[be]=V)},stop:function(){this.done=!0;var be=this.tryEntries[0].completion;if("throw"===be.type)throw be.arg;return this.rval},dispatchException:function(Ae){if(this.done)throw Ae;var be=this;function it(Oe,je){return yt.type="throw",yt.arg=Ae,be.next=Oe,je&&(be.method="next",be.arg=V),!!je}for(var qe=this.tryEntries.length-1;qe>=0;--qe){var _t=this.tryEntries[qe],yt=_t.completion;if("root"===_t.tryLoc)return it("end");if(_t.tryLoc<=this.prev){var Ft=B.call(_t,"catchLoc"),xe=B.call(_t,"finallyLoc");if(Ft&&xe){if(this.prev<_t.catchLoc)return it(_t.catchLoc,!0);if(this.prev<_t.finallyLoc)return it(_t.finallyLoc)}else if(Ft){if(this.prev<_t.catchLoc)return it(_t.catchLoc,!0)}else{if(!xe)throw new Error("try statement without catch or finally");if(this.prev<_t.finallyLoc)return it(_t.finallyLoc)}}}},abrupt:function(Ae,be){for(var it=this.tryEntries.length-1;it>=0;--it){var qe=this.tryEntries[it];if(qe.tryLoc<=this.prev&&B.call(qe,"finallyLoc")&&this.prev<qe.finallyLoc){var _t=qe;break}}_t&&("break"===Ae||"continue"===Ae)&&_t.tryLoc<=be&&be<=_t.finallyLoc&&(_t=null);var yt=_t?_t.completion:{};return yt.type=Ae,yt.arg=be,_t?(this.method="next",this.next=_t.finallyLoc,k):this.complete(yt)},complete:function(Ae,be){if("throw"===Ae.type)throw Ae.arg;return"break"===Ae.type||"continue"===Ae.type?this.next=Ae.arg:"return"===Ae.type?(this.rval=this.arg=Ae.arg,this.method="return",this.next="end"):"normal"===Ae.type&&be&&(this.next=be),k},finish:function(Ae){for(var be=this.tryEntries.length-1;be>=0;--be){var it=this.tryEntries[be];if(it.finallyLoc===Ae)return this.complete(it.completion,it.afterLoc),ae(it),k}},catch:function(Ae){for(var be=this.tryEntries.length-1;be>=0;--be){var it=this.tryEntries[be];if(it.tryLoc===Ae){var qe=it.completion;if("throw"===qe.type){var _t=qe.arg;ae(it)}return _t}}throw new Error("illegal catch attempt")},delegateYield:function(Ae,be,it){return this.delegate={iterator:ce(Ae),resultName:be,nextLoc:it},"next"===this.method&&(this.arg=V),k}},f}(ue.exports);try{regeneratorRuntime=q}catch(f){Function("r","regeneratorRuntime = r")(q)}},56938:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117);q.Observable=U.Observable,q.Subject=U.Subject;var B=f(37294);q.AnonymousSubject=B.AnonymousSubject;var V=f(37294);q.config=V.config,f(26598),f(87663),f(95351),f(66981),f(31881),f(36800),f(52413),f(86376),f(41029),f(30918),f(79817),f(29023),f(48668),f(61975),f(92442),f(42697),f(63990),f(86230),f(61201),f(32171),f(40439),f(69079),f(9222),f(52357),f(36294),f(12782),f(94618),f(93231),f(96547),f(62374),f(35595),f(57540),f(97010),f(56518),f(59982),f(70198),f(3943),f(95297),f(53842),f(46085),f(46753),f(12452),f(51341),f(41575),f(42657),f(17109),f(89716),f(71255),f(75197),f(70992),f(3106),f(54506),f(16161),f(11405),f(37132),f(45396),f(41154),f(96986),f(67259),f(89015),f(57301),f(4993),f(77490),f(4533),f(42215),f(95564),f(61431),f(68663),f(63566),f(62729),f(48483),f(32979),f(78104),f(64259),f(30336),f(46315),f(60771),f(92700),f(43545),f(89242),f(70177),f(43800),f(33434),f(37179),f(97810),f(27430),f(44633),f(37953),f(58435),f(14234),f(98741),f(43263),f(57180),f(87700),f(34860),f(67751),f(63733),f(38596),f(20038),f(58186),f(77538),f(33866),f(1676),f(3018),f(58003),f(77394),f(92947),f(27971),f(33934),f(43126),f(6320),f(96813),f(20425),f(70140),f(32035),f(49421),f(9693),f(87276),f(63934),f(17360),f(37222),f(55214),f(22854),f(65259),f(84715),f(27798),f(98441),f(56238),f(42145);var Z=f(94117);q.Subscription=Z.Subscription,q.ReplaySubject=Z.ReplaySubject,q.BehaviorSubject=Z.BehaviorSubject,q.Notification=Z.Notification,q.EmptyError=Z.EmptyError,q.ArgumentOutOfRangeError=Z.ArgumentOutOfRangeError,q.ObjectUnsubscribedError=Z.ObjectUnsubscribedError,q.UnsubscriptionError=Z.UnsubscriptionError,q.pipe=Z.pipe;var T=f(53520);q.TestScheduler=T.TestScheduler;var R=f(94117);q.Subscriber=R.Subscriber,q.AsyncSubject=R.AsyncSubject,q.ConnectableObservable=R.ConnectableObservable,q.TimeoutError=R.TimeoutError,q.VirtualTimeScheduler=R.VirtualTimeScheduler;var C=f(55905);q.AjaxResponse=C.AjaxResponse,q.AjaxError=C.AjaxError,q.AjaxTimeoutError=C.AjaxTimeoutError;var v=f(94117),P=f(37294),D=f(37294);q.TimeInterval=D.TimeInterval,q.Timestamp=D.Timestamp;var M=f(73033);q.operators=M,q.Scheduler={asap:v.asapScheduler,queue:v.queueScheduler,animationFrame:v.animationFrameScheduler,async:v.asyncScheduler},q.Symbol={rxSubscriber:P.rxSubscriber,observable:P.observable,iterator:P.iterator}},26598:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117);U.Observable.bindCallback=U.bindCallback},87663:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117);U.Observable.bindNodeCallback=U.bindNodeCallback},95351:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117);U.Observable.combineLatest=U.combineLatest},66981:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117);U.Observable.concat=U.concat},31881:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117);U.Observable.defer=U.defer},12782:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(55905);U.Observable.ajax=B.ajax},94618:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(4194);U.Observable.webSocket=B.webSocket},36800:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117);U.Observable.empty=U.empty},52413:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117);U.Observable.forkJoin=U.forkJoin},86376:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117);U.Observable.from=U.from},41029:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117);U.Observable.fromEvent=U.fromEvent},30918:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117);U.Observable.fromEventPattern=U.fromEventPattern},79817:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117);U.Observable.fromPromise=U.from},29023:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117);U.Observable.generate=U.generate},48668:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117);U.Observable.if=U.iif},61975:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117);U.Observable.interval=U.interval},92442:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117);U.Observable.merge=U.merge},63990:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117);function B(){return U.NEVER}q.staticNever=B,U.Observable.never=B},86230:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117);U.Observable.of=U.of},61201:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117);U.Observable.onErrorResumeNext=U.onErrorResumeNext},32171:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117);U.Observable.pairs=U.pairs},42697:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117);U.Observable.race=U.race},40439:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117);U.Observable.range=U.range},9222:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117);U.Observable.throw=U.throwError,U.Observable.throwError=U.throwError},52357:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117);U.Observable.timer=U.timer},69079:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117);U.Observable.using=U.using},36294:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117);U.Observable.zip=U.zip},77490:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(20325);U.Observable.prototype.audit=B.audit},4533:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(55702);U.Observable.prototype.auditTime=B.auditTime},93231:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(19931);U.Observable.prototype.buffer=B.buffer},96547:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(38173);U.Observable.prototype.bufferCount=B.bufferCount},62374:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(93690);U.Observable.prototype.bufferTime=B.bufferTime},35595:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(79681);U.Observable.prototype.bufferToggle=B.bufferToggle},57540:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(75311);U.Observable.prototype.bufferWhen=B.bufferWhen},97010:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(26306);U.Observable.prototype.catch=B._catch,U.Observable.prototype._catch=B._catch},56518:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(15869);U.Observable.prototype.combineAll=B.combineAll},59982:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(23265);U.Observable.prototype.combineLatest=B.combineLatest},70198:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(31179);U.Observable.prototype.concat=B.concat},3943:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(16148);U.Observable.prototype.concatAll=B.concatAll},95297:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(28552);U.Observable.prototype.concatMap=B.concatMap},53842:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(91798);U.Observable.prototype.concatMapTo=B.concatMapTo},46085:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(93653);U.Observable.prototype.count=B.count},12452:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(36477);U.Observable.prototype.debounce=B.debounce},51341:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(61529);U.Observable.prototype.debounceTime=B.debounceTime},41575:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(64502);U.Observable.prototype.defaultIfEmpty=B.defaultIfEmpty},42657:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(33674);U.Observable.prototype.delay=B.delay},17109:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(49477);U.Observable.prototype.delayWhen=B.delayWhen},46753:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(21941);U.Observable.prototype.dematerialize=B.dematerialize},89716:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(18053);U.Observable.prototype.distinct=B.distinct},71255:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(13598);U.Observable.prototype.distinctUntilChanged=B.distinctUntilChanged},75197:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(94936);U.Observable.prototype.distinctUntilKeyChanged=B.distinctUntilKeyChanged},70992:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(21790);U.Observable.prototype.do=B._do,U.Observable.prototype._do=B._do},11405:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(2538);U.Observable.prototype.elementAt=B.elementAt},61431:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(58136);U.Observable.prototype.every=B.every},3106:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(26734);U.Observable.prototype.exhaust=B.exhaust},54506:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(2084);U.Observable.prototype.exhaustMap=B.exhaustMap},16161:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(2945);U.Observable.prototype.expand=B.expand},37132:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(3704);U.Observable.prototype.filter=B.filter},45396:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(58870);U.Observable.prototype.finally=B._finally,U.Observable.prototype._finally=B._finally},41154:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(16201);U.Observable.prototype.find=B.find},96986:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(95148);U.Observable.prototype.findIndex=B.findIndex},67259:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(96050);U.Observable.prototype.first=B.first},89015:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(16309);U.Observable.prototype.groupBy=B.groupBy},57301:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(3640);U.Observable.prototype.ignoreElements=B.ignoreElements},4993:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(87486);U.Observable.prototype.isEmpty=B.isEmpty},42215:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(30274);U.Observable.prototype.last=B.last},95564:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(11668);U.Observable.prototype.let=B.letProto,U.Observable.prototype.letBind=B.letProto},68663:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(23307);U.Observable.prototype.map=B.map},63566:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(3498);U.Observable.prototype.mapTo=B.mapTo},62729:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(70845);U.Observable.prototype.materialize=B.materialize},48483:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(96415);U.Observable.prototype.max=B.max},32979:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(33836);U.Observable.prototype.merge=B.merge},78104:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(58610);U.Observable.prototype.mergeAll=B.mergeAll},64259:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(36098);U.Observable.prototype.mergeMap=B.mergeMap,U.Observable.prototype.flatMap=B.mergeMap},30336:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(53033);U.Observable.prototype.flatMapTo=B.mergeMapTo,U.Observable.prototype.mergeMapTo=B.mergeMapTo},46315:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(11444);U.Observable.prototype.mergeScan=B.mergeScan},60771:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(6626);U.Observable.prototype.min=B.min},92700:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(4291);U.Observable.prototype.multicast=B.multicast},43545:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(37675);U.Observable.prototype.observeOn=B.observeOn},89242:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(92878);U.Observable.prototype.onErrorResumeNext=B.onErrorResumeNext},70177:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(94401);U.Observable.prototype.pairwise=B.pairwise},43800:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(93110);U.Observable.prototype.partition=B.partition},33434:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(53937);U.Observable.prototype.pluck=B.pluck},37179:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(81e3);U.Observable.prototype.publish=B.publish},97810:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(78665);U.Observable.prototype.publishBehavior=B.publishBehavior},44633:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(34696);U.Observable.prototype.publishLast=B.publishLast},27430:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(35543);U.Observable.prototype.publishReplay=B.publishReplay},37953:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(33963);U.Observable.prototype.race=B.race},58435:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(99216);U.Observable.prototype.reduce=B.reduce},14234:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(19613);U.Observable.prototype.repeat=B.repeat},98741:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(72798);U.Observable.prototype.repeatWhen=B.repeatWhen},43263:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(59813);U.Observable.prototype.retry=B.retry},57180:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(5419);U.Observable.prototype.retryWhen=B.retryWhen},87700:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(58693);U.Observable.prototype.sample=B.sample},34860:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(86803);U.Observable.prototype.sampleTime=B.sampleTime},67751:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(65036);U.Observable.prototype.scan=B.scan},63733:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(12201);U.Observable.prototype.sequenceEqual=B.sequenceEqual},38596:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(86892);U.Observable.prototype.share=B.share},20038:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(9050);U.Observable.prototype.shareReplay=B.shareReplay},58186:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(13533);U.Observable.prototype.single=B.single},77538:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(65846);U.Observable.prototype.skip=B.skip},33866:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(90955);U.Observable.prototype.skipLast=B.skipLast},1676:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(75479);U.Observable.prototype.skipUntil=B.skipUntil},3018:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(76841);U.Observable.prototype.skipWhile=B.skipWhile},58003:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(66560);U.Observable.prototype.startWith=B.startWith},77394:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(92265);U.Observable.prototype.subscribeOn=B.subscribeOn},92947:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(41428);U.Observable.prototype.switch=B._switch,U.Observable.prototype._switch=B._switch},27971:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(5193);U.Observable.prototype.switchMap=B.switchMap},33934:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(34022);U.Observable.prototype.switchMapTo=B.switchMapTo},43126:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(204);U.Observable.prototype.take=B.take},6320:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(62299);U.Observable.prototype.takeLast=B.takeLast},96813:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(93542);U.Observable.prototype.takeUntil=B.takeUntil},20425:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(79214);U.Observable.prototype.takeWhile=B.takeWhile},70140:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(35922);U.Observable.prototype.throttle=B.throttle},32035:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(41941);U.Observable.prototype.throttleTime=B.throttleTime},49421:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(99194);U.Observable.prototype.timeInterval=B.timeInterval},9693:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(53358);U.Observable.prototype.timeout=B.timeout},87276:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(41237);U.Observable.prototype.timeoutWith=B.timeoutWith},63934:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(84485);U.Observable.prototype.timestamp=B.timestamp},17360:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(23552);U.Observable.prototype.toArray=B.toArray},37222:function(){},55214:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(13977);U.Observable.prototype.window=B.window},22854:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(54052);U.Observable.prototype.windowCount=B.windowCount},65259:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(17884);U.Observable.prototype.windowTime=B.windowTime},84715:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(18835);U.Observable.prototype.windowToggle=B.windowToggle},27798:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(84220);U.Observable.prototype.windowWhen=B.windowWhen},98441:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(41603);U.Observable.prototype.withLatestFrom=B.withLatestFrom},56238:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(83313);U.Observable.prototype.zip=B.zipProto},42145:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(80396);U.Observable.prototype.zipAll=B.zipAll},20325:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.audit=function(V){return U.audit(V)(this)}},55702:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(73033);q.auditTime=function(Z,T){return void 0===T&&(T=U.asyncScheduler),B.auditTime(Z,T)(this)}},19931:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.buffer=function(V){return U.buffer(V)(this)}},38173:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.bufferCount=function(V,Z){return void 0===Z&&(Z=null),U.bufferCount(V,Z)(this)}},93690:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(37294),V=f(73033);q.bufferTime=function(T){var R=arguments.length,C=U.asyncScheduler;B.isScheduler(arguments[arguments.length-1])&&(C=arguments[arguments.length-1],R--);var v=null;R>=2&&(v=arguments[1]);var P=Number.POSITIVE_INFINITY;return R>=3&&(P=arguments[2]),V.bufferTime(T,v,P,C)(this)}},79681:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.bufferToggle=function(V,Z){return U.bufferToggle(V,Z)(this)}},75311:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.bufferWhen=function(V){return U.bufferWhen(V)(this)}},26306:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q._catch=function(V){return U.catchError(V)(this)}},15869:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.combineAll=function(V){return U.combineAll(V)(this)}},23265:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(37294);q.combineLatest=function(){for(var Z=[],T=0;T<arguments.length;T++)Z[T]=arguments[T];var R=null;return"function"==typeof Z[Z.length-1]&&(R=Z.pop()),1===Z.length&&B.isArray(Z[0])&&(Z=Z[0].slice()),this.lift.call(U.of.apply(void 0,[this].concat(Z)),new B.CombineLatestOperator(R))}},31179:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117);q.concat=function(){for(var V=[],Z=0;Z<arguments.length;Z++)V[Z]=arguments[Z];return this.lift.call(U.concat.apply(void 0,[this].concat(V)))}},16148:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.concatAll=function(){return U.concatAll()(this)}},28552:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.concatMap=function(V){return U.concatMap(V)(this)}},91798:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.concatMapTo=function(V){return U.concatMapTo(V)(this)}},93653:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.count=function(V){return U.count(V)(this)}},36477:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.debounce=function(V){return U.debounce(V)(this)}},61529:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(73033);q.debounceTime=function(Z,T){return void 0===T&&(T=U.asyncScheduler),B.debounceTime(Z,T)(this)}},64502:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.defaultIfEmpty=function(V){return void 0===V&&(V=null),U.defaultIfEmpty(V)(this)}},33674:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(73033);q.delay=function(Z,T){return void 0===T&&(T=U.asyncScheduler),B.delay(Z,T)(this)}},49477:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.delayWhen=function(V,Z){return U.delayWhen(V,Z)(this)}},21941:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.dematerialize=function(){return U.dematerialize()(this)}},18053:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.distinct=function(V,Z){return U.distinct(V,Z)(this)}},13598:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.distinctUntilChanged=function(V,Z){return U.distinctUntilChanged(V,Z)(this)}},94936:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.distinctUntilKeyChanged=function(V,Z){return U.distinctUntilKeyChanged(V,Z)(this)}},21790:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q._do=function(V,Z,T){return U.tap(V,Z,T)(this)}},2538:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.elementAt=function(V,Z){return U.elementAt.apply(void 0,arguments)(this)}},58136:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.every=function(V,Z){return U.every(V,Z)(this)}},26734:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.exhaust=function(){return U.exhaust()(this)}},2084:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.exhaustMap=function(V){return U.exhaustMap(V)(this)}},2945:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.expand=function(V,Z,T){return void 0===Z&&(Z=Number.POSITIVE_INFINITY),void 0===T&&(T=void 0),U.expand(V,Z=(Z||0)<1?Number.POSITIVE_INFINITY:Z,T)(this)}},3704:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.filter=function(V,Z){return U.filter(V,Z)(this)}},58870:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q._finally=function(V){return U.finalize(V)(this)}},16201:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.find=function(V,Z){return U.find(V,Z)(this)}},95148:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.findIndex=function(V,Z){return U.findIndex(V,Z)(this)}},96050:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.first=function(){for(var V=[],Z=0;Z<arguments.length;Z++)V[Z]=arguments[Z];return U.first.apply(void 0,V)(this)}},16309:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.groupBy=function(V,Z,T,R){return U.groupBy(V,Z,T,R)(this)}},3640:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.ignoreElements=function(){return U.ignoreElements()(this)}},87486:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.isEmpty=function(){return U.isEmpty()(this)}},30274:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.last=function(){for(var V=[],Z=0;Z<arguments.length;Z++)V[Z]=arguments[Z];return U.last.apply(void 0,V)(this)}},11668:function(ue,q){"use strict";Object.defineProperty(q,"__esModule",{value:!0}),q.letProto=function(U){return U(this)}},23307:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.map=function(V,Z){return U.map(V,Z)(this)}},3498:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.mapTo=function(V){return U.mapTo(V)(this)}},70845:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.materialize=function(){return U.materialize()(this)}},96415:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.max=function(V){return U.max(V)(this)}},33836:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117);q.merge=function(){for(var V=[],Z=0;Z<arguments.length;Z++)V[Z]=arguments[Z];return this.lift.call(U.merge.apply(void 0,[this].concat(V)))}},58610:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.mergeAll=function(V){return void 0===V&&(V=Number.POSITIVE_INFINITY),U.mergeAll(V)(this)}},36098:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.mergeMap=function(V,Z){return void 0===Z&&(Z=Number.POSITIVE_INFINITY),U.mergeMap(V,Z)(this)}},53033:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.mergeMapTo=function(V,Z){return void 0===Z&&(Z=Number.POSITIVE_INFINITY),U.mergeMapTo(V,Z)(this)}},11444:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.mergeScan=function(V,Z,T){return void 0===T&&(T=Number.POSITIVE_INFINITY),U.mergeScan(V,Z,T)(this)}},6626:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.min=function(V){return U.min(V)(this)}},4291:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.multicast=function(V,Z){return U.multicast(V,Z)(this)}},37675:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.observeOn=function(V,Z){return void 0===Z&&(Z=0),U.observeOn(V,Z)(this)}},92878:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.onErrorResumeNext=function(){for(var V=[],Z=0;Z<arguments.length;Z++)V[Z]=arguments[Z];return U.onErrorResumeNext.apply(void 0,V)(this)}},94401:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.pairwise=function(){return U.pairwise()(this)}},93110:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.partition=function(V,Z){return U.partition(V,Z)(this)}},53937:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.pluck=function(){for(var V=[],Z=0;Z<arguments.length;Z++)V[Z]=arguments[Z];return U.pluck.apply(void 0,V)(this)}},81e3:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.publish=function(V){return U.publish(V)(this)}},78665:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.publishBehavior=function(V){return U.publishBehavior(V)(this)}},34696:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.publishLast=function(){return U.publishLast()(this)}},35543:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.publishReplay=function(V,Z,T,R){return U.publishReplay(V,Z,T,R)(this)}},33963:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.race=function(){for(var V=[],Z=0;Z<arguments.length;Z++)V[Z]=arguments[Z];return U.race.apply(void 0,V)(this)}},99216:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.reduce=function(V,Z){return arguments.length>=2?U.reduce(V,Z)(this):U.reduce(V)(this)}},19613:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.repeat=function(V){return void 0===V&&(V=-1),U.repeat(V)(this)}},72798:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.repeatWhen=function(V){return U.repeatWhen(V)(this)}},59813:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.retry=function(V){return void 0===V&&(V=-1),U.retry(V)(this)}},5419:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.retryWhen=function(V){return U.retryWhen(V)(this)}},58693:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.sample=function(V){return U.sample(V)(this)}},86803:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(73033);q.sampleTime=function(Z,T){return void 0===T&&(T=U.asyncScheduler),B.sampleTime(Z,T)(this)}},65036:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.scan=function(V,Z){return arguments.length>=2?U.scan(V,Z)(this):U.scan(V)(this)}},12201:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.sequenceEqual=function(V,Z){return U.sequenceEqual(V,Z)(this)}},86892:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.share=function(){return U.share()(this)}},9050:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.shareReplay=function(V,Z,T){return V&&"object"==typeof V?U.shareReplay(V)(this):U.shareReplay(V,Z,T)(this)}},13533:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.single=function(V){return U.single(V)(this)}},65846:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.skip=function(V){return U.skip(V)(this)}},90955:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.skipLast=function(V){return U.skipLast(V)(this)}},75479:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.skipUntil=function(V){return U.skipUntil(V)(this)}},76841:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.skipWhile=function(V){return U.skipWhile(V)(this)}},66560:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.startWith=function(){for(var V=[],Z=0;Z<arguments.length;Z++)V[Z]=arguments[Z];return U.startWith.apply(void 0,V)(this)}},92265:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.subscribeOn=function(V,Z){return void 0===Z&&(Z=0),U.subscribeOn(V,Z)(this)}},41428:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q._switch=function(){return U.switchAll()(this)}},5193:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.switchMap=function(V){return U.switchMap(V)(this)}},34022:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.switchMapTo=function(V){return U.switchMapTo(V)(this)}},204:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.take=function(V){return U.take(V)(this)}},62299:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.takeLast=function(V){return U.takeLast(V)(this)}},93542:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.takeUntil=function(V){return U.takeUntil(V)(this)}},79214:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.takeWhile=function(V){return U.takeWhile(V)(this)}},35922:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033),B=f(37294);q.throttle=function(Z,T){return void 0===T&&(T=B.defaultThrottleConfig),U.throttle(Z,T)(this)}},41941:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(37294),V=f(73033);q.throttleTime=function(T,R,C){return void 0===R&&(R=U.asyncScheduler),void 0===C&&(C=B.defaultThrottleConfig),V.throttleTime(T,R,C)(this)}},99194:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(73033);q.timeInterval=function(Z){return void 0===Z&&(Z=U.asyncScheduler),B.timeInterval(Z)(this)}},53358:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(73033);q.timeout=function(Z,T){return void 0===T&&(T=U.asyncScheduler),B.timeout(Z,T)(this)}},41237:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(73033);q.timeoutWith=function(Z,T,R){return void 0===R&&(R=U.asyncScheduler),B.timeoutWith(Z,T,R)(this)}},84485:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(73033);q.timestamp=function(Z){return void 0===Z&&(Z=U.asyncScheduler),B.timestamp(Z)(this)}},23552:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.toArray=function(){return U.toArray()(this)}},13977:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.window=function(V){return U.window(V)(this)}},54052:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.windowCount=function(V,Z){return void 0===Z&&(Z=0),U.windowCount(V,Z)(this)}},17884:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117),B=f(37294),V=f(73033);q.windowTime=function(T){var R=U.asyncScheduler,C=null,v=Number.POSITIVE_INFINITY;return B.isScheduler(arguments[3])&&(R=arguments[3]),B.isScheduler(arguments[2])?R=arguments[2]:B.isNumeric(arguments[2])&&(v=Number(arguments[2])),B.isScheduler(arguments[1])?R=arguments[1]:B.isNumeric(arguments[1])&&(C=Number(arguments[1])),V.windowTime(T,C,v,R)(this)}},18835:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.windowToggle=function(V,Z){return U.windowToggle(V,Z)(this)}},84220:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.windowWhen=function(V){return U.windowWhen(V)(this)}},41603:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.withLatestFrom=function(){for(var V=[],Z=0;Z<arguments.length;Z++)V[Z]=arguments[Z];return U.withLatestFrom.apply(void 0,V)(this)}},83313:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(94117);q.zipProto=function(){for(var V=[],Z=0;Z<arguments.length;Z++)V[Z]=arguments[Z];return this.lift.call(U.zip.apply(void 0,[this].concat(V)))}},80396:function(ue,q,f){"use strict";Object.defineProperty(q,"__esModule",{value:!0});var U=f(73033);q.zipAll=function(V){return U.zipAll(V)(this)}},53628:function(ue,q,f){},55905:function(ue,q,f){"use strict";f.r(q),f.d(q,{ajax:function(){return U.h},AjaxResponse:function(){return B.vD},AjaxError:function(){return B.iM},AjaxTimeoutError:function(){return B.cw}});var U=f(30437),B=f(51361)},94117:function(ue,q,f){"use strict";f.r(q),f.d(q,{ArgumentOutOfRangeError:function(){return j.W},AsyncSubject:function(){return v.c},BehaviorSubject:function(){return R.X},ConnectableObservable:function(){return B.c},EMPTY:function(){return dt.E},EmptyError:function(){return K.K},GroupedObservable:function(){return V.T},NEVER:function(){return Nt},Notification:function(){return E.P},NotificationKind:function(){return E.W},ObjectUnsubscribedError:function(){return z.N},Observable:function(){return U.y},ReplaySubject:function(){return C.t},Scheduler:function(){return g.b},Subject:function(){return T.xQ},Subscriber:function(){return N.L},Subscription:function(){return k.w},TimeoutError:function(){return ie.W},UnsubscriptionError:function(){return J.B},VirtualAction:function(){return _.h},VirtualTimeScheduler:function(){return _.y},animationFrame:function(){return A.r},animationFrameScheduler:function(){return A.Z},asap:function(){return P.e},asapScheduler:function(){return P.E},async:function(){return D.P},asyncScheduler:function(){return D.z},bindCallback:function(){return oe},bindNodeCallback:function(){return qe},combineLatest:function(){return xe.aj},concat:function(){return Oe.z},config:function(){return Jt.v},defer:function(){return je.P},empty:function(){return dt.c},forkJoin:function(){return Qe.D},from:function(){return Bt.D},fromEvent:function(){return xt.R},fromEventPattern:function(){return Qt},generate:function(){return Ht},identity:function(){return O.y},iif:function(){return Vt},interval:function(){return bt.F},isObservable:function(){return L.b},merge:function(){return en.T},never:function(){return rn},noop:function(){return S.Z},observable:function(){return Z.L},of:function(){return kn.of},onErrorResumeNext:function(){return Nn},pairs:function(){return In},partition:function(){return ut},pipe:function(){return x.z},queue:function(){return M.c},queueScheduler:function(){return M.N},race:function(){return He.S3},range:function(){return ve.w},scheduled:function(){return ht.x},throwError:function(){return ye._},timer:function(){return Te.H},using:function(){return we},zip:function(){return ct.$R}});var U=f(89797),B=f(39887),V=f(86072),Z=f(57694),T=f(68707),R=f(90838),C=f(82667),v=f(3435),P=f(8285),D=f(46813),M=f(60641),A=f(58172),_=f(2296),g=f(67801),k=f(5051),N=f(39874),E=f(80286),x=f(96194),S=f(66029),O=f(57070),L=f(17504),j=f(9855),K=f(64646),z=f(1696),J=f(66351),ie=f(98691),te=f(10629),ae=f(85639),se=f(20006),ce=f(78985),le=f(91299);function oe(Kt,Yt,nn){if(Yt){if(!(0,le.K)(Yt))return function(){return oe(Kt,nn).apply(void 0,arguments).pipe((0,ae.U)(function(cn){return(0,ce.k)(cn)?Yt.apply(void 0,(0,te.Z)(cn)):Yt(cn)}))};nn=Yt}return function(){for(var cn=arguments.length,yn=new Array(cn),Tn=0;Tn<cn;Tn++)yn[Tn]=arguments[Tn];var Yn,Pn=this,Cn={context:Pn,subject:Yn,callbackFunc:Kt,scheduler:nn};return new U.y(function(Sn){if(nn)return nn.schedule(Ae,0,{args:yn,subscriber:Sn,params:Cn});if(!Yn){Yn=new v.c;try{Kt.apply(Pn,[].concat(yn,[function(){for(var Rt=arguments.length,Lt=new Array(Rt),Pe=0;Pe<Rt;Pe++)Lt[Pe]=arguments[Pe];Yn.next(Lt.length<=1?Lt[0]:Lt),Yn.complete()}]))}catch(Ut){(0,se._)(Yn)?Yn.error(Ut):console.warn(Ut)}}return Yn.subscribe(Sn)})}}function Ae(Kt){var Yt=this,cn=Kt.args,yn=Kt.subscriber,Tn=Kt.params,Pn=Tn.callbackFunc,Yn=Tn.context,Cn=Tn.scheduler,Sn=Tn.subject;if(!Sn){Sn=Tn.subject=new v.c;try{Pn.apply(Yn,[].concat((0,te.Z)(cn),[function(){for(var Ut=arguments.length,Rt=new Array(Ut),Lt=0;Lt<Ut;Lt++)Rt[Lt]=arguments[Lt];Yt.add(Cn.schedule(be,0,{value:Rt.length<=1?Rt[0]:Rt,subject:Sn}))}]))}catch(cr){Sn.error(cr)}}this.add(Sn.subscribe(yn))}function be(Kt){var nn=Kt.subject;nn.next(Kt.value),nn.complete()}function qe(Kt,Yt,nn){if(Yt){if(!(0,le.K)(Yt))return function(){return qe(Kt,nn).apply(void 0,arguments).pipe((0,ae.U)(function(cn){return(0,ce.k)(cn)?Yt.apply(void 0,(0,te.Z)(cn)):Yt(cn)}))};nn=Yt}return function(){for(var cn=arguments.length,yn=new Array(cn),Tn=0;Tn<cn;Tn++)yn[Tn]=arguments[Tn];var Pn={subject:void 0,args:yn,callbackFunc:Kt,scheduler:nn,context:this};return new U.y(function(Yn){var Cn=Pn.context,Sn=Pn.subject;if(nn)return nn.schedule(_t,0,{params:Pn,subscriber:Yn,context:Cn});if(!Sn){Sn=Pn.subject=new v.c;try{Kt.apply(Cn,[].concat(yn,[function(){for(var Ut=arguments.length,Rt=new Array(Ut),Lt=0;Lt<Ut;Lt++)Rt[Lt]=arguments[Lt];var Pe=Rt.shift();Pe?Sn.error(Pe):(Sn.next(Rt.length<=1?Rt[0]:Rt),Sn.complete())}]))}catch(cr){(0,se._)(Sn)?Sn.error(cr):console.warn(cr)}}return Sn.subscribe(Yn)})}}function _t(Kt){var Yt=this,nn=Kt.params,cn=Kt.subscriber,yn=Kt.context,Tn=nn.callbackFunc,Pn=nn.args,Yn=nn.scheduler,Cn=nn.subject;if(!Cn){Cn=nn.subject=new v.c;try{Tn.apply(yn,[].concat((0,te.Z)(Pn),[function(){for(var cr=arguments.length,Ut=new Array(cr),Rt=0;Rt<cr;Rt++)Ut[Rt]=arguments[Rt];var Lt=Ut.shift();Yt.add(Lt?Yn.schedule(Ft,0,{err:Lt,subject:Cn}):Yn.schedule(yt,0,{value:Ut.length<=1?Ut[0]:Ut,subject:Cn}))}]))}catch(tr){this.add(Yn.schedule(Ft,0,{err:tr,subject:Cn}))}}this.add(Cn.subscribe(cn))}function yt(Kt){var nn=Kt.subject;nn.next(Kt.value),nn.complete()}function Ft(Kt){Kt.subject.error(Kt.err)}var xe=f(81370),Oe=f(60131),je=f(4499),dt=f(93487),Qe=f(91925),Bt=f(61493),xt=f(33090),vt=f(20684);function Qt(Kt,Yt,nn){return nn?Qt(Kt,Yt).pipe((0,ae.U)(function(cn){return(0,ce.k)(cn)?nn.apply(void 0,(0,te.Z)(cn)):nn(cn)})):new U.y(function(cn){var Tn,yn=function(){for(var Yn=arguments.length,Cn=new Array(Yn),Sn=0;Sn<Yn;Sn++)Cn[Sn]=arguments[Sn];return cn.next(1===Cn.length?Cn[0]:Cn)};try{Tn=Kt(yn)}catch(Pn){return void cn.error(Pn)}if((0,vt.m)(Yt))return function(){return Yt(yn,Tn)}})}function Ht(Kt,Yt,nn,cn,yn){var Tn,Pn;return 1==arguments.length?(Pn=Kt.initialState,Yt=Kt.condition,nn=Kt.iterate,Tn=Kt.resultSelector||O.y,yn=Kt.scheduler):void 0===cn||(0,le.K)(cn)?(Pn=Kt,Tn=O.y,yn=cn):(Pn=Kt,Tn=cn),new U.y(function(Cn){var Sn=Pn;if(yn)return yn.schedule(Ct,0,{subscriber:Cn,iterate:nn,condition:Yt,resultSelector:Tn,state:Sn});for(;;){if(Yt){var tr=void 0;try{tr=Yt(Sn)}catch(Ut){return void Cn.error(Ut)}if(!tr){Cn.complete();break}}var cr=void 0;try{cr=Tn(Sn)}catch(Ut){return void Cn.error(Ut)}if(Cn.next(cr),Cn.closed)break;try{Sn=nn(Sn)}catch(Ut){return void Cn.error(Ut)}}})}function Ct(Kt){var Yt=Kt.subscriber,nn=Kt.condition;if(!Yt.closed){if(Kt.needIterate)try{Kt.state=Kt.iterate(Kt.state)}catch(Tn){return void Yt.error(Tn)}else Kt.needIterate=!0;if(nn){var cn;try{cn=nn(Kt.state)}catch(Tn){return void Yt.error(Tn)}if(!cn)return void Yt.complete();if(Yt.closed)return}var yn;try{yn=Kt.resultSelector(Kt.state)}catch(Tn){return void Yt.error(Tn)}if(!Yt.closed&&(Yt.next(yn),!Yt.closed))return this.schedule(Kt)}}function Vt(Kt){var Yt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:dt.E,nn=arguments.length>2&&void 0!==arguments[2]?arguments[2]:dt.E;return(0,je.P)(function(){return Kt()?Yt:nn})}var bt=f(57434),en=f(55371),Nt=new U.y(S.Z);function rn(){return Nt}var kn=f(43161);function Nn(){for(var Kt=arguments.length,Yt=new Array(Kt),nn=0;nn<Kt;nn++)Yt[nn]=arguments[nn];if(0===Yt.length)return dt.E;var cn=Yt[0],yn=Yt.slice(1);return 1===Yt.length&&(0,ce.k)(cn)?Nn.apply(void 0,(0,te.Z)(cn)):new U.y(function(Tn){var Pn=function(){return Tn.add(Nn.apply(void 0,(0,te.Z)(yn)).subscribe(Tn))};return(0,Bt.D)(cn).subscribe({next:function(Cn){Tn.next(Cn)},error:Pn,complete:Pn})})}function In(Kt,Yt){return new U.y(Yt?function(nn){var cn=Object.keys(Kt),yn=new k.w;return yn.add(Yt.schedule($n,0,{keys:cn,index:0,subscriber:nn,subscription:yn,obj:Kt})),yn}:function(nn){for(var cn=Object.keys(Kt),yn=0;yn<cn.length&&!nn.closed;yn++){var Tn=cn[yn];Kt.hasOwnProperty(Tn)&&nn.next([Tn,Kt[Tn]])}nn.complete()})}function $n(Kt){var Yt=Kt.keys,nn=Kt.index,cn=Kt.subscriber,yn=Kt.subscription,Tn=Kt.obj;if(!cn.closed)if(nn<Yt.length){var Pn=Yt[nn];cn.next([Pn,Tn[Pn]]),yn.add(this.schedule({keys:Yt,index:nn+1,subscriber:cn,subscription:yn,obj:Tn}))}else cn.complete()}var Rn=f(59849),wn=f(20735),yr=f(58780);function ut(Kt,Yt,nn){return[(0,yr.h)(Yt,nn)(new U.y((0,wn.s)(Kt))),(0,yr.h)((0,Rn.f)(Yt,nn))(new U.y((0,wn.s)(Kt)))]}var He=f(31695),ve=f(10961),ye=f(11363),Te=f(5041);function we(Kt,Yt){return new U.y(function(nn){var cn,yn;try{cn=Kt()}catch(Yn){return void nn.error(Yn)}try{yn=Yt(cn)}catch(Yn){return void nn.error(Yn)}var Pn=(yn?(0,Bt.D)(yn):dt.E).subscribe(nn);return function(){Pn.unsubscribe(),cn&&cn.unsubscribe()}})}var ct=f(43008),ht=f(77493),Jt=f(10817)},37294:function(ue,q,f){"use strict";f.r(q),f.d(q,{AjaxError:function(){return E.iM},AjaxObservable:function(){return E.i6},AjaxResponse:function(){return E.vD},AjaxSubscriber:function(){return E.de},AjaxTimeoutError:function(){return E.cw},AnonymousSubject:function(){return T.ug},ArgumentOutOfRangeError:function(){return se.W},CombineLatestOperator:function(){return S.Ms},EmptyError:function(){return ce.K},GroupedObservable:function(){return z.T},Immediate:function(){return le.H},InnerSubscriber:function(){return B.d},ObjectUnsubscribedError:function(){return oe.N},OuterSubscriber:function(){return V.L},Scheduler:function(){return Z.b},SubjectSubscription:function(){return R.W},SubscribeOnObservable:function(){return L.e},Subscriber:function(){return C.L},TimeInterval:function(){return K.R},TimeoutError:function(){return Ae.W},Timestamp:function(){return j.E},UnsubscriptionError:function(){return be.B},WebSocketSubject:function(){return x.p},ajax:function(){return k.h},ajaxDelete:function(){return E._c},ajaxGet:function(){return E.Ck},ajaxGetJSON:function(){return E.uX},ajaxPatch:function(){return E.YB},ajaxPost:function(){return E.tB},ajaxPut:function(){return E.Vk},applyMixins:function(){return it.e},config:function(){return U.v},defaultThrottleConfig:function(){return J.d},dispatch:function(){return O.W},errorObject:function(){return qe},fromIterable:function(){return g},fromPromise:function(){return M},hostReportError:function(){return _t.z},identity:function(){return yt.y},isArray:function(){return Ft.k},isArrayLike:function(){return xe.z},isDate:function(){return Oe.J},isFunction:function(){return je.m},isIterable:function(){return dt.T},isNumeric:function(){return Qe.k},isObject:function(){return Bt.K},isObservable:function(){return xt.c},isPromise:function(){return vt.t},isScheduler:function(){return Qt.K},iterator:function(){return te.hZ},noop:function(){return Ht.Z},not:function(){return Ct.f},observable:function(){return ae.L},pipe:function(){return Vt.z},root:function(){return bt.J},rxSubscriber:function(){return ie.b},subscribeTo:function(){return en.s},subscribeToArray:function(){return Nt.V},subscribeToIterable:function(){return A.u},subscribeToObservable:function(){return rn.h},subscribeToPromise:function(){return P.A},subscribeToResult:function(){return kn.D},toSubscriber:function(){return Nn.Y},tryCatch:function(){return Rn},webSocket:function(){return N.j}});var U=f(10817),B=f(22320),V=f(7283),Z=f(67801),T=f(68707),R=f(18480),C=f(39874),v=f(89797),P=f(56112),D=f(10498);function M(wn,yr){return yr?(0,D.c)(wn,yr):new v.y((0,P.A)(wn))}var A=f(49089),_=f(60612);function g(wn,yr){if(!wn)throw new Error("Iterable cannot be null");return yr?(0,_.Q)(wn,yr):new v.y((0,A.u)(wn))}var In,k=f(30437),N=f(99298),E=f(51361),x=f(46095),S=f(81370),O=f(10961),L=f(18613),j=f(63706),K=f(73445),z=f(86072),J=f(243),ie=f(79542),te=f(81695),ae=f(57694),se=f(9855),ce=f(64646),le=f(96421),oe=f(1696),Ae=f(98691),be=f(66351),it=f(2808),qe={e:{}},_t=f(82009),yt=f(57070),Ft=f(78985),xe=f(30621),Oe=f(88972),je=f(20684),dt=f(2762),Qe=f(11705),Bt=f(64902),xt=f(19104),vt=f(36514),Qt=f(91299),Ht=f(66029),Ct=f(59849),Vt=f(96194),bt=f(44962),en=f(20735),Nt=f(22312),rn=f(71414),kn=f(61454),Nn=f(3410);function $n(){qe.e=void 0;try{return In.apply(this,arguments)}catch(wn){return qe.e=wn,qe}finally{In=void 0}}function Rn(wn){return In=wn,$n}},3435:function(ue,q,f){"use strict";f.d(q,{c:function(){return P}});var U=f(18967),B=f(14105),V=f(20901),Z=f(89200),T=f(10509),R=f(97154),C=f(68707),v=f(5051),P=function(D){(0,T.Z)(A,D);var M=(0,R.Z)(A);function A(){var _;return(0,U.Z)(this,A),(_=M.apply(this,arguments)).value=null,_.hasNext=!1,_.hasCompleted=!1,_}return(0,B.Z)(A,[{key:"_subscribe",value:function(g){return this.hasError?(g.error(this.thrownError),v.w.EMPTY):this.hasCompleted&&this.hasNext?(g.next(this.value),g.complete(),v.w.EMPTY):(0,V.Z)((0,Z.Z)(A.prototype),"_subscribe",this).call(this,g)}},{key:"next",value:function(g){this.hasCompleted||(this.value=g,this.hasNext=!0)}},{key:"error",value:function(g){this.hasCompleted||(0,V.Z)((0,Z.Z)(A.prototype),"error",this).call(this,g)}},{key:"complete",value:function(){this.hasCompleted=!0,this.hasNext&&(0,V.Z)((0,Z.Z)(A.prototype),"next",this).call(this,this.value),(0,V.Z)((0,Z.Z)(A.prototype),"complete",this).call(this)}}]),A}(C.xQ)},90838:function(ue,q,f){"use strict";f.d(q,{X:function(){return P}});var U=f(18967),B=f(14105),V=f(20901),Z=f(89200),T=f(10509),R=f(97154),C=f(68707),v=f(1696),P=function(D){(0,T.Z)(A,D);var M=(0,R.Z)(A);function A(_){var g;return(0,U.Z)(this,A),(g=M.call(this))._value=_,g}return(0,B.Z)(A,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(g){var k=(0,V.Z)((0,Z.Z)(A.prototype),"_subscribe",this).call(this,g);return k&&!k.closed&&g.next(this._value),k}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new v.N;return this._value}},{key:"next",value:function(g){(0,V.Z)((0,Z.Z)(A.prototype),"next",this).call(this,this._value=g)}}]),A}(C.xQ)},22320:function(ue,q,f){"use strict";f.d(q,{d:function(){return R}});var U=f(18967),B=f(14105),V=f(10509),Z=f(97154),R=function(C){(0,V.Z)(P,C);var v=(0,Z.Z)(P);function P(D,M,A){var _;return(0,U.Z)(this,P),(_=v.call(this)).parent=D,_.outerValue=M,_.outerIndex=A,_.index=0,_}return(0,B.Z)(P,[{key:"_next",value:function(M){this.parent.notifyNext(this.outerValue,M,this.outerIndex,this.index++,this)}},{key:"_error",value:function(M){this.parent.notifyError(M,this),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(this),this.unsubscribe()}}]),P}(f(39874).L)},80286:function(ue,q,f){"use strict";f.d(q,{W:function(){return R},P:function(){return C}});var U=f(18967),B=f(14105),V=f(93487),Z=f(43161),T=f(11363),R=function(v){return v.NEXT="N",v.ERROR="E",v.COMPLETE="C",v}({}),C=function(){var v=function(){function P(D,M,A){(0,U.Z)(this,P),this.kind=D,this.value=M,this.error=A,this.hasValue="N"===D}return(0,B.Z)(P,[{key:"observe",value:function(M){switch(this.kind){case"N":return M.next&&M.next(this.value);case"E":return M.error&&M.error(this.error);case"C":return M.complete&&M.complete()}}},{key:"do",value:function(M,A,_){switch(this.kind){case"N":return M&&M(this.value);case"E":return A&&A(this.error);case"C":return _&&_()}}},{key:"accept",value:function(M,A,_){return M&&"function"==typeof M.next?this.observe(M):this.do(M,A,_)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return(0,Z.of)(this.value);case"E":return(0,T._)(this.error);case"C":return(0,V.c)()}throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(M){return void 0!==M?new P("N",M):P.undefinedValueNotification}},{key:"createError",value:function(M){return new P("E",void 0,M)}},{key:"createComplete",value:function(){return P.completeNotification}}]),P}();return v.completeNotification=new v("C"),v.undefinedValueNotification=new v("N",void 0),v}()},89797:function(ue,q,f){"use strict";f.d(q,{y:function(){return v}});var U=f(18967),B=f(14105),V=f(20006),Z=f(3410),T=f(57694),R=f(96194),C=f(10817),v=function(){var D=function(){function M(A){(0,U.Z)(this,M),this._isScalar=!1,A&&(this._subscribe=A)}return(0,B.Z)(M,[{key:"lift",value:function(_){var g=new M;return g.source=this,g.operator=_,g}},{key:"subscribe",value:function(_,g,k){var N=this.operator,E=(0,Z.Y)(_,g,k);if(E.add(N?N.call(E,this.source):this.source||C.v.useDeprecatedSynchronousErrorHandling&&!E.syncErrorThrowable?this._subscribe(E):this._trySubscribe(E)),C.v.useDeprecatedSynchronousErrorHandling&&E.syncErrorThrowable&&(E.syncErrorThrowable=!1,E.syncErrorThrown))throw E.syncErrorValue;return E}},{key:"_trySubscribe",value:function(_){try{return this._subscribe(_)}catch(g){C.v.useDeprecatedSynchronousErrorHandling&&(_.syncErrorThrown=!0,_.syncErrorValue=g),(0,V._)(_)?_.error(g):console.warn(g)}}},{key:"forEach",value:function(_,g){var k=this;return new(g=P(g))(function(N,E){var x;x=k.subscribe(function(S){try{_(S)}catch(O){E(O),x&&x.unsubscribe()}},E,N)})}},{key:"_subscribe",value:function(_){var g=this.source;return g&&g.subscribe(_)}},{key:T.L,value:function(){return this}},{key:"pipe",value:function(){for(var _=arguments.length,g=new Array(_),k=0;k<_;k++)g[k]=arguments[k];return 0===g.length?this:(0,R.U)(g)(this)}},{key:"toPromise",value:function(_){var g=this;return new(_=P(_))(function(k,N){var E;g.subscribe(function(x){return E=x},function(x){return N(x)},function(){return k(E)})})}}]),M}();return D.create=function(M){return new D(M)},D}();function P(D){if(D||(D=C.v.Promise||Promise),!D)throw new Error("no Promise impl found");return D}},88944:function(ue,q,f){"use strict";f.d(q,{c:function(){return V}});var U=f(10817),B=f(82009),V={closed:!0,next:function(T){},error:function(T){if(U.v.useDeprecatedSynchronousErrorHandling)throw T;(0,B.z)(T)},complete:function(){}}},7283:function(ue,q,f){"use strict";f.d(q,{L:function(){return R}});var U=f(18967),B=f(14105),V=f(10509),Z=f(97154),R=function(C){(0,V.Z)(P,C);var v=(0,Z.Z)(P);function P(){return(0,U.Z)(this,P),v.apply(this,arguments)}return(0,B.Z)(P,[{key:"notifyNext",value:function(M,A,_,g,k){this.destination.next(A)}},{key:"notifyError",value:function(M,A){this.destination.error(M)}},{key:"notifyComplete",value:function(M){this.destination.complete()}}]),P}(f(39874).L)},82667:function(ue,q,f){"use strict";f.d(q,{t:function(){return _}});var U=f(18967),B=f(14105),V=f(20901),Z=f(89200),T=f(10509),R=f(97154),C=f(68707),v=f(60641),P=f(5051),D=f(25110),M=f(1696),A=f(18480),_=function(k){(0,T.Z)(E,k);var N=(0,R.Z)(E);function E(){var x,S=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY,O=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,L=arguments.length>2?arguments[2]:void 0;return(0,U.Z)(this,E),(x=N.call(this)).scheduler=L,x._events=[],x._infiniteTimeWindow=!1,x._bufferSize=S<1?1:S,x._windowTime=O<1?1:O,O===Number.POSITIVE_INFINITY?(x._infiniteTimeWindow=!0,x.next=x.nextInfiniteTimeWindow):x.next=x.nextTimeWindow,x}return(0,B.Z)(E,[{key:"nextInfiniteTimeWindow",value:function(S){if(!this.isStopped){var O=this._events;O.push(S),O.length>this._bufferSize&&O.shift()}(0,V.Z)((0,Z.Z)(E.prototype),"next",this).call(this,S)}},{key:"nextTimeWindow",value:function(S){this.isStopped||(this._events.push(new g(this._getNow(),S)),this._trimBufferThenGetEvents()),(0,V.Z)((0,Z.Z)(E.prototype),"next",this).call(this,S)}},{key:"_subscribe",value:function(S){var z,O=this._infiniteTimeWindow,L=O?this._events:this._trimBufferThenGetEvents(),j=this.scheduler,K=L.length;if(this.closed)throw new M.N;if(this.isStopped||this.hasError?z=P.w.EMPTY:(this.observers.push(S),z=new A.W(this,S)),j&&S.add(S=new D.ht(S,j)),O)for(var J=0;J<K&&!S.closed;J++)S.next(L[J]);else for(var ie=0;ie<K&&!S.closed;ie++)S.next(L[ie].value);return this.hasError?S.error(this.thrownError):this.isStopped&&S.complete(),z}},{key:"_getNow",value:function(){return(this.scheduler||v.c).now()}},{key:"_trimBufferThenGetEvents",value:function(){for(var S=this._getNow(),O=this._bufferSize,L=this._windowTime,j=this._events,K=j.length,z=0;z<K&&!(S-j[z].time<L);)z++;return K>O&&(z=Math.max(z,K-O)),z>0&&j.splice(0,z),j}}]),E}(C.xQ),g=function k(N,E){(0,U.Z)(this,k),this.time=N,this.value=E}},67801:function(ue,q,f){"use strict";f.d(q,{b:function(){return V}});var U=f(18967),B=f(14105),V=function(){var Z=function(){function T(R){var C=arguments.length>1&&void 0!==arguments[1]?arguments[1]:T.now;(0,U.Z)(this,T),this.SchedulerAction=R,this.now=C}return(0,B.Z)(T,[{key:"schedule",value:function(C){var v=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,P=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,C).schedule(P,v)}}]),T}();return Z.now=function(){return Date.now()},Z}()},68707:function(ue,q,f){"use strict";f.d(q,{Yc:function(){return _},xQ:function(){return g},ug:function(){return k}});var U=f(14105),B=f(20901),V=f(89200),Z=f(18967),T=f(10509),R=f(97154),C=f(89797),v=f(39874),P=f(5051),D=f(1696),M=f(18480),A=f(79542),_=function(N){(0,T.Z)(x,N);var E=(0,R.Z)(x);function x(S){var O;return(0,Z.Z)(this,x),(O=E.call(this,S)).destination=S,O}return x}(v.L),g=function(){var N=function(E){(0,T.Z)(S,E);var x=(0,R.Z)(S);function S(){var O;return(0,Z.Z)(this,S),(O=x.call(this)).observers=[],O.closed=!1,O.isStopped=!1,O.hasError=!1,O.thrownError=null,O}return(0,U.Z)(S,[{key:A.b,value:function(){return new _(this)}},{key:"lift",value:function(L){var j=new k(this,this);return j.operator=L,j}},{key:"next",value:function(L){if(this.closed)throw new D.N;if(!this.isStopped)for(var j=this.observers,K=j.length,z=j.slice(),J=0;J<K;J++)z[J].next(L)}},{key:"error",value:function(L){if(this.closed)throw new D.N;this.hasError=!0,this.thrownError=L,this.isStopped=!0;for(var j=this.observers,K=j.length,z=j.slice(),J=0;J<K;J++)z[J].error(L);this.observers.length=0}},{key:"complete",value:function(){if(this.closed)throw new D.N;this.isStopped=!0;for(var L=this.observers,j=L.length,K=L.slice(),z=0;z<j;z++)K[z].complete();this.observers.length=0}},{key:"unsubscribe",value:function(){this.isStopped=!0,this.closed=!0,this.observers=null}},{key:"_trySubscribe",value:function(L){if(this.closed)throw new D.N;return(0,B.Z)((0,V.Z)(S.prototype),"_trySubscribe",this).call(this,L)}},{key:"_subscribe",value:function(L){if(this.closed)throw new D.N;return this.hasError?(L.error(this.thrownError),P.w.EMPTY):this.isStopped?(L.complete(),P.w.EMPTY):(this.observers.push(L),new M.W(this,L))}},{key:"asObservable",value:function(){var L=new C.y;return L.source=this,L}}]),S}(C.y);return N.create=function(E,x){return new k(E,x)},N}(),k=function(N){(0,T.Z)(x,N);var E=(0,R.Z)(x);function x(S,O){var L;return(0,Z.Z)(this,x),(L=E.call(this)).destination=S,L.source=O,L}return(0,U.Z)(x,[{key:"next",value:function(O){var L=this.destination;L&&L.next&&L.next(O)}},{key:"error",value:function(O){var L=this.destination;L&&L.error&&this.destination.error(O)}},{key:"complete",value:function(){var O=this.destination;O&&O.complete&&this.destination.complete()}},{key:"_subscribe",value:function(O){return this.source?this.source.subscribe(O):P.w.EMPTY}}]),x}(g)},18480:function(ue,q,f){"use strict";f.d(q,{W:function(){return R}});var U=f(18967),B=f(14105),V=f(10509),Z=f(97154),R=function(C){(0,V.Z)(P,C);var v=(0,Z.Z)(P);function P(D,M){var A;return(0,U.Z)(this,P),(A=v.call(this)).subject=D,A.subscriber=M,A.closed=!1,A}return(0,B.Z)(P,[{key:"unsubscribe",value:function(){if(!this.closed){this.closed=!0;var M=this.subject,A=M.observers;if(this.subject=null,A&&0!==A.length&&!M.isStopped&&!M.closed){var _=A.indexOf(this.subscriber);-1!==_&&A.splice(_,1)}}}}]),P}(f(5051).w)},39874:function(ue,q,f){"use strict";f.d(q,{L:function(){return g}});var U=f(18967),B=f(14105),V=f(88009),Z=f(20901),T=f(89200),R=f(10509),C=f(97154),v=f(20684),P=f(88944),D=f(5051),M=f(79542),A=f(10817),_=f(82009),g=function(N){(0,R.Z)(x,N);var E=(0,C.Z)(x);function x(S,O,L){var j;switch((0,U.Z)(this,x),(j=E.call(this)).syncErrorValue=null,j.syncErrorThrown=!1,j.syncErrorThrowable=!1,j.isStopped=!1,arguments.length){case 0:j.destination=P.c;break;case 1:if(!S){j.destination=P.c;break}if("object"==typeof S){S instanceof x?(j.syncErrorThrowable=S.syncErrorThrowable,j.destination=S,S.add((0,V.Z)(j))):(j.syncErrorThrowable=!0,j.destination=new k((0,V.Z)(j),S));break}default:j.syncErrorThrowable=!0,j.destination=new k((0,V.Z)(j),S,O,L)}return j}return(0,B.Z)(x,[{key:M.b,value:function(){return this}},{key:"next",value:function(O){this.isStopped||this._next(O)}},{key:"error",value:function(O){this.isStopped||(this.isStopped=!0,this._error(O))}},{key:"complete",value:function(){this.isStopped||(this.isStopped=!0,this._complete())}},{key:"unsubscribe",value:function(){this.closed||(this.isStopped=!0,(0,Z.Z)((0,T.Z)(x.prototype),"unsubscribe",this).call(this))}},{key:"_next",value:function(O){this.destination.next(O)}},{key:"_error",value:function(O){this.destination.error(O),this.unsubscribe()}},{key:"_complete",value:function(){this.destination.complete(),this.unsubscribe()}},{key:"_unsubscribeAndRecycle",value:function(){var O=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=O,this}}],[{key:"create",value:function(O,L,j){var K=new x(O,L,j);return K.syncErrorThrowable=!1,K}}]),x}(D.w),k=function(N){(0,R.Z)(x,N);var E=(0,C.Z)(x);function x(S,O,L,j){var K;(0,U.Z)(this,x),(K=E.call(this))._parentSubscriber=S;var z,J=(0,V.Z)(K);return(0,v.m)(O)?z=O:O&&(z=O.next,L=O.error,j=O.complete,O!==P.c&&(J=Object.create(O),(0,v.m)(J.unsubscribe)&&K.add(J.unsubscribe.bind(J)),J.unsubscribe=K.unsubscribe.bind((0,V.Z)(K)))),K._context=J,K._next=z,K._error=L,K._complete=j,K}return(0,B.Z)(x,[{key:"next",value:function(O){if(!this.isStopped&&this._next){var L=this._parentSubscriber;A.v.useDeprecatedSynchronousErrorHandling&&L.syncErrorThrowable?this.__tryOrSetError(L,this._next,O)&&this.unsubscribe():this.__tryOrUnsub(this._next,O)}}},{key:"error",value:function(O){if(!this.isStopped){var L=this._parentSubscriber,j=A.v.useDeprecatedSynchronousErrorHandling;if(this._error)j&&L.syncErrorThrowable?(this.__tryOrSetError(L,this._error,O),this.unsubscribe()):(this.__tryOrUnsub(this._error,O),this.unsubscribe());else if(L.syncErrorThrowable)j?(L.syncErrorValue=O,L.syncErrorThrown=!0):(0,_.z)(O),this.unsubscribe();else{if(this.unsubscribe(),j)throw O;(0,_.z)(O)}}}},{key:"complete",value:function(){var O=this;if(!this.isStopped){var L=this._parentSubscriber;if(this._complete){var j=function(){return O._complete.call(O._context)};A.v.useDeprecatedSynchronousErrorHandling&&L.syncErrorThrowable?(this.__tryOrSetError(L,j),this.unsubscribe()):(this.__tryOrUnsub(j),this.unsubscribe())}else this.unsubscribe()}}},{key:"__tryOrUnsub",value:function(O,L){try{O.call(this._context,L)}catch(j){if(this.unsubscribe(),A.v.useDeprecatedSynchronousErrorHandling)throw j;(0,_.z)(j)}}},{key:"__tryOrSetError",value:function(O,L,j){if(!A.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{L.call(this._context,j)}catch(K){return A.v.useDeprecatedSynchronousErrorHandling?(O.syncErrorValue=K,O.syncErrorThrown=!0,!0):((0,_.z)(K),!0)}return!1}},{key:"_unsubscribe",value:function(){var O=this._parentSubscriber;this._context=null,this._parentSubscriber=null,O.unsubscribe()}}]),x}(g)},5051:function(ue,q,f){"use strict";f.d(q,{w:function(){return C}});var U=f(18967),B=f(14105),V=f(78985),Z=f(64902),T=f(20684),R=f(66351),C=function(){var D,P=function(){function D(M){(0,U.Z)(this,D),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,M&&(this._ctorUnsubscribe=!0,this._unsubscribe=M)}return(0,B.Z)(D,[{key:"unsubscribe",value:function(){var A;if(!this.closed){var _=this._parentOrParents,g=this._ctorUnsubscribe,k=this._unsubscribe,N=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,_ instanceof D)_.remove(this);else if(null!==_)for(var E=0;E<_.length;++E)_[E].remove(this);if((0,T.m)(k)){g&&(this._unsubscribe=void 0);try{k.call(this)}catch(j){A=j instanceof R.B?v(j.errors):[j]}}if((0,V.k)(N))for(var S=-1,O=N.length;++S<O;){var L=N[S];if((0,Z.K)(L))try{L.unsubscribe()}catch(j){A=A||[],j instanceof R.B?A=A.concat(v(j.errors)):A.push(j)}}if(A)throw new R.B(A)}}},{key:"add",value:function(A){var _=A;if(!A)return D.EMPTY;switch(typeof A){case"function":_=new D(A);case"object":if(_===this||_.closed||"function"!=typeof _.unsubscribe)return _;if(this.closed)return _.unsubscribe(),_;if(!(_ instanceof D)){var g=_;(_=new D)._subscriptions=[g]}break;default:throw new Error("unrecognized teardown "+A+" added to Subscription.")}var N=_._parentOrParents;if(null===N)_._parentOrParents=this;else if(N instanceof D){if(N===this)return _;_._parentOrParents=[N,this]}else{if(-1!==N.indexOf(this))return _;N.push(this)}var E=this._subscriptions;return null===E?this._subscriptions=[_]:E.push(_),_}},{key:"remove",value:function(A){var _=this._subscriptions;if(_){var g=_.indexOf(A);-1!==g&&_.splice(g,1)}}}]),D}();return P.EMPTY=((D=new P).closed=!0,D),P}();function v(P){return P.reduce(function(D,M){return D.concat(M instanceof R.B?M.errors:M)},[])}},10817:function(ue,q,f){"use strict";f.d(q,{v:function(){return B}});var U=!1,B={Promise:void 0,set useDeprecatedSynchronousErrorHandling(V){if(V){var Z=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+Z.stack)}else U&&console.log("RxJS: Back to a better error behavior. Thank you. <3");U=V},get useDeprecatedSynchronousErrorHandling(){return U}}},32124:function(ue,q,f){"use strict";f.d(q,{IY:function(){return v},Ds:function(){return D},ft:function(){return A}});var U=f(18967),B=f(14105),V=f(10509),Z=f(97154),T=f(39874),R=f(89797),C=f(20735),v=function(_){(0,V.Z)(k,_);var g=(0,Z.Z)(k);function k(N){var E;return(0,U.Z)(this,k),(E=g.call(this)).parent=N,E}return(0,B.Z)(k,[{key:"_next",value:function(E){this.parent.notifyNext(E)}},{key:"_error",value:function(E){this.parent.notifyError(E),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(),this.unsubscribe()}}]),k}(T.L),D=function(_){(0,V.Z)(k,_);var g=(0,Z.Z)(k);function k(){return(0,U.Z)(this,k),g.apply(this,arguments)}return(0,B.Z)(k,[{key:"notifyNext",value:function(E){this.destination.next(E)}},{key:"notifyError",value:function(E){this.destination.error(E)}},{key:"notifyComplete",value:function(){this.destination.complete()}}]),k}(T.L);function A(_,g){if(!g.closed){if(_ instanceof R.y)return _.subscribe(g);var k;try{k=(0,C.s)(_)(g)}catch(N){g.error(N)}return k}}},39887:function(ue,q,f){"use strict";f.d(q,{c:function(){return A},N:function(){return _}});var U=f(20901),B=f(89200),V=f(18967),Z=f(14105),T=f(10509),R=f(97154),C=f(68707),v=f(89797),D=(f(39874),f(5051)),M=f(26575),A=function(E){(0,T.Z)(S,E);var x=(0,R.Z)(S);function S(O,L){var j;return(0,V.Z)(this,S),(j=x.call(this)).source=O,j.subjectFactory=L,j._refCount=0,j._isComplete=!1,j}return(0,Z.Z)(S,[{key:"_subscribe",value:function(L){return this.getSubject().subscribe(L)}},{key:"getSubject",value:function(){var L=this._subject;return(!L||L.isStopped)&&(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var L=this._connection;return L||(this._isComplete=!1,(L=this._connection=new D.w).add(this.source.subscribe(new g(this.getSubject(),this))),L.closed&&(this._connection=null,L=D.w.EMPTY)),L}},{key:"refCount",value:function(){return(0,M.x)()(this)}}]),S}(v.y),_=function(){var E=A.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:E._subscribe},_isComplete:{value:E._isComplete,writable:!0},getSubject:{value:E.getSubject},connect:{value:E.connect},refCount:{value:E.refCount}}}(),g=function(E){(0,T.Z)(S,E);var x=(0,R.Z)(S);function S(O,L){var j;return(0,V.Z)(this,S),(j=x.call(this,O)).connectable=L,j}return(0,Z.Z)(S,[{key:"_error",value:function(L){this._unsubscribe(),(0,U.Z)((0,B.Z)(S.prototype),"_error",this).call(this,L)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),(0,U.Z)((0,B.Z)(S.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var L=this.connectable;if(L){this.connectable=null;var j=L._connection;L._refCount=0,L._subject=null,L._connection=null,j&&j.unsubscribe()}}}]),S}(C.Yc)},18613:function(ue,q,f){"use strict";f.d(q,{e:function(){return v}});var U=f(18967),B=f(14105),V=f(10509),Z=f(97154),T=f(89797),R=f(8285),C=f(11705),v=function(P){(0,V.Z)(M,P);var D=(0,Z.Z)(M);function M(A){var _,g=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,k=arguments.length>2&&void 0!==arguments[2]?arguments[2]:R.e;return(0,U.Z)(this,M),(_=D.call(this)).source=A,_.delayTime=g,_.scheduler=k,(!(0,C.k)(g)||g<0)&&(_.delayTime=0),(!k||"function"!=typeof k.schedule)&&(_.scheduler=R.e),_}return(0,B.Z)(M,[{key:"_subscribe",value:function(_){return this.scheduler.schedule(M.dispatch,this.delayTime,{source:this.source,subscriber:_})}}],[{key:"create",value:function(_){var g=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,k=arguments.length>2&&void 0!==arguments[2]?arguments[2]:R.e;return new M(_,g,k)}},{key:"dispatch",value:function(_){return this.add(_.source.subscribe(_.subscriber))}}]),M}(T.y)},81370:function(ue,q,f){"use strict";f.d(q,{aj:function(){return M},Ms:function(){return A}});var U=f(10509),B=f(97154),V=f(18967),Z=f(14105),T=f(91299),R=f(78985),C=f(7283),v=f(61454),P=f(80503),D={};function M(){for(var g=arguments.length,k=new Array(g),N=0;N<g;N++)k[N]=arguments[N];var E=void 0,x=void 0;return(0,T.K)(k[k.length-1])&&(x=k.pop()),"function"==typeof k[k.length-1]&&(E=k.pop()),1===k.length&&(0,R.k)(k[0])&&(k=k[0]),(0,P.n)(k,x).lift(new A(E))}var A=function(){function g(k){(0,V.Z)(this,g),this.resultSelector=k}return(0,Z.Z)(g,[{key:"call",value:function(N,E){return E.subscribe(new _(N,this.resultSelector))}}]),g}(),_=function(g){(0,U.Z)(N,g);var k=(0,B.Z)(N);function N(E,x){var S;return(0,V.Z)(this,N),(S=k.call(this,E)).resultSelector=x,S.active=0,S.values=[],S.observables=[],S}return(0,Z.Z)(N,[{key:"_next",value:function(x){this.values.push(D),this.observables.push(x)}},{key:"_complete",value:function(){var x=this.observables,S=x.length;if(0===S)this.destination.complete();else{this.active=S,this.toRespond=S;for(var O=0;O<S;O++)this.add((0,v.D)(this,x[O],void 0,O))}}},{key:"notifyComplete",value:function(x){0==(this.active-=1)&&this.destination.complete()}},{key:"notifyNext",value:function(x,S,O){var L=this.values,K=this.toRespond?L[O]===D?--this.toRespond:this.toRespond:0;L[O]=S,0===K&&(this.resultSelector?this._tryResultSelector(L):this.destination.next(L.slice()))}},{key:"_tryResultSelector",value:function(x){var S;try{S=this.resultSelector.apply(this,x)}catch(O){return void this.destination.error(O)}this.destination.next(S)}}]),N}(C.L)},60131:function(ue,q,f){"use strict";f.d(q,{z:function(){return V}});var U=f(43161),B=f(95416);function V(){return(0,B.u)()(U.of.apply(void 0,arguments))}},4499:function(ue,q,f){"use strict";f.d(q,{P:function(){return Z}});var U=f(89797),B=f(61493),V=f(93487);function Z(T){return new U.y(function(R){var C;try{C=T()}catch(P){return void R.error(P)}return(C?(0,B.D)(C):(0,V.c)()).subscribe(R)})}},51361:function(ue,q,f){"use strict";f.d(q,{Ck:function(){return _},tB:function(){return g},_c:function(){return k},Vk:function(){return N},YB:function(){return E},uX:function(){return S},i6:function(){return O},de:function(){return L},vD:function(){return j},iM:function(){return z},cw:function(){return ae}});var U=f(20901),B=f(89200),V=f(18967),Z=f(14105),T=f(10509),R=f(97154),C=f(44962),v=f(89797),P=f(39874);function _(se){var ce=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return new O({method:"GET",url:se,headers:ce})}function g(se,ce,le){return new O({method:"POST",url:se,body:ce,headers:le})}function k(se,ce){return new O({method:"DELETE",url:se,headers:ce})}function N(se,ce,le){return new O({method:"PUT",url:se,body:ce,headers:le})}function E(se,ce,le){return new O({method:"PATCH",url:se,body:ce,headers:le})}var x=(0,f(85639).U)(function(se,ce){return se.response});function S(se,ce){return x(new O({method:"GET",url:se,responseType:"json",headers:ce}))}var O=function(){var se=function(ce){(0,T.Z)(oe,ce);var le=(0,R.Z)(oe);function oe(Ae){var be;(0,V.Z)(this,oe),be=le.call(this);var it={async:!0,createXHR:function(){return this.crossDomain?function(){if(C.J.XMLHttpRequest)return new C.J.XMLHttpRequest;if(C.J.XDomainRequest)return new C.J.XDomainRequest;throw new Error("CORS is not supported by your browser")}():function(){if(C.J.XMLHttpRequest)return new C.J.XMLHttpRequest;var se;try{for(var ce=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],le=0;le<3;le++)try{if(new C.J.ActiveXObject(se=ce[le]))break}catch(oe){}return new C.J.ActiveXObject(se)}catch(oe){throw new Error("XMLHttpRequest is not supported by your browser")}}()},crossDomain:!0,withCredentials:!1,headers:{},method:"GET",responseType:"json",timeout:0};if("string"==typeof Ae)it.url=Ae;else for(var qe in Ae)Ae.hasOwnProperty(qe)&&(it[qe]=Ae[qe]);return be.request=it,be}return(0,Z.Z)(oe,[{key:"_subscribe",value:function(be){return new L(be,this.request)}}]),oe}(v.y);return se.create=function(){var ce=function(oe){return new se(oe)};return ce.get=_,ce.post=g,ce.delete=k,ce.put=N,ce.patch=E,ce.getJSON=S,ce}(),se}(),L=function(se){(0,T.Z)(le,se);var ce=(0,R.Z)(le);function le(oe,Ae){var be;(0,V.Z)(this,le),(be=ce.call(this,oe)).request=Ae,be.done=!1;var it=Ae.headers=Ae.headers||{};return!Ae.crossDomain&&!be.getHeader(it,"X-Requested-With")&&(it["X-Requested-With"]="XMLHttpRequest"),!be.getHeader(it,"Content-Type")&&!(C.J.FormData&&Ae.body instanceof C.J.FormData)&&void 0!==Ae.body&&(it["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),Ae.body=be.serializeBody(Ae.body,be.getHeader(Ae.headers,"Content-Type")),be.send(),be}return(0,Z.Z)(le,[{key:"next",value:function(Ae){this.done=!0;var _t,be=this.xhr,it=this.request,qe=this.destination;try{_t=new j(Ae,be,it)}catch(yt){return qe.error(yt)}qe.next(_t)}},{key:"send",value:function(){var Ae=this.request,be=this.request,it=be.user,qe=be.method,_t=be.url,yt=be.async,Ft=be.password,xe=be.headers,Oe=be.body;try{var je=this.xhr=Ae.createXHR();this.setupEvents(je,Ae),it?je.open(qe,_t,yt,it,Ft):je.open(qe,_t,yt),yt&&(je.timeout=Ae.timeout,je.responseType=Ae.responseType),"withCredentials"in je&&(je.withCredentials=!!Ae.withCredentials),this.setHeaders(je,xe),Oe?je.send(Oe):je.send()}catch(dt){this.error(dt)}}},{key:"serializeBody",value:function(Ae,be){if(!Ae||"string"==typeof Ae)return Ae;if(C.J.FormData&&Ae instanceof C.J.FormData)return Ae;if(be){var it=be.indexOf(";");-1!==it&&(be=be.substring(0,it))}switch(be){case"application/x-www-form-urlencoded":return Object.keys(Ae).map(function(qe){return"".concat(encodeURIComponent(qe),"=").concat(encodeURIComponent(Ae[qe]))}).join("&");case"application/json":return JSON.stringify(Ae);default:return Ae}}},{key:"setHeaders",value:function(Ae,be){for(var it in be)be.hasOwnProperty(it)&&Ae.setRequestHeader(it,be[it])}},{key:"getHeader",value:function(Ae,be){for(var it in Ae)if(it.toLowerCase()===be.toLowerCase())return Ae[it]}},{key:"setupEvents",value:function(Ae,be){var _t,yt,it=be.progressSubscriber;function qe(Oe){var Bt,je=qe.subscriber,dt=qe.progressSubscriber,Qe=qe.request;dt&&dt.error(Oe);try{Bt=new ae(this,Qe)}catch(xt){Bt=xt}je.error(Bt)}(Ae.ontimeout=qe,qe.request=be,qe.subscriber=this,qe.progressSubscriber=it,Ae.upload&&"withCredentials"in Ae)&&(it&&(_t=function(je){_t.progressSubscriber.next(je)},C.J.XDomainRequest?Ae.onprogress=_t:Ae.upload.onprogress=_t,_t.progressSubscriber=it),Ae.onerror=yt=function(je){var vt,Qe=yt.progressSubscriber,Bt=yt.subscriber,xt=yt.request;Qe&&Qe.error(je);try{vt=new z("ajax error",this,xt)}catch(Qt){vt=Qt}Bt.error(vt)},yt.request=be,yt.subscriber=this,yt.progressSubscriber=it);function Ft(Oe){}function xe(Oe){var je=xe.subscriber,dt=xe.progressSubscriber,Qe=xe.request;if(4===this.readyState){var Bt=1223===this.status?204:this.status;if(0===Bt&&(Bt=("text"===this.responseType?this.response||this.responseText:this.response)?200:0),Bt<400)dt&&dt.complete(),je.next(Oe),je.complete();else{var vt;dt&&dt.error(Oe);try{vt=new z("ajax error "+Bt,this,Qe)}catch(Qt){vt=Qt}je.error(vt)}}}Ae.onreadystatechange=Ft,Ft.subscriber=this,Ft.progressSubscriber=it,Ft.request=be,Ae.onload=xe,xe.subscriber=this,xe.progressSubscriber=it,xe.request=be}},{key:"unsubscribe",value:function(){var be=this.xhr;!this.done&&be&&4!==be.readyState&&"function"==typeof be.abort&&be.abort(),(0,U.Z)((0,B.Z)(le.prototype),"unsubscribe",this).call(this)}}]),le}(P.L),j=function se(ce,le,oe){(0,V.Z)(this,se),this.originalEvent=ce,this.xhr=le,this.request=oe,this.status=le.status,this.responseType=le.responseType||oe.responseType,this.response=ie(this.responseType,le)},z=function(){function se(ce,le,oe){return Error.call(this),this.message=ce,this.name="AjaxError",this.xhr=le,this.request=oe,this.status=le.status,this.responseType=le.responseType||oe.responseType,this.response=ie(this.responseType,le),this}return se.prototype=Object.create(Error.prototype),se}();function ie(se,ce){switch(se){case"json":return function(se){return"response"in se?se.responseType?se.response:JSON.parse(se.response||se.responseText||"null"):JSON.parse(se.responseText||"null")}(ce);case"xml":return ce.responseXML;case"text":default:return"response"in ce?ce.response:ce.responseText}}var ae=function(se,ce){return z.call(this,"ajax timeout",se,ce),this.name="AjaxTimeoutError",this}},46095:function(ue,q,f){"use strict";f.d(q,{p:function(){return g}});var U=f(18967),B=f(14105),V=f(20901),Z=f(89200),T=f(10509),R=f(97154),C=f(68707),v=f(39874),P=f(89797),D=f(5051),M=f(82667),A={url:"",deserializer:function(N){return JSON.parse(N.data)},serializer:function(N){return JSON.stringify(N)}},g=function(k){(0,T.Z)(E,k);var N=(0,R.Z)(E);function E(x,S){var O;if((0,U.Z)(this,E),O=N.call(this),x instanceof P.y)O.destination=S,O.source=x;else{var L=O._config=Object.assign({},A);if(O._output=new C.xQ,"string"==typeof x)L.url=x;else for(var j in x)x.hasOwnProperty(j)&&(L[j]=x[j]);if(!L.WebSocketCtor&&WebSocket)L.WebSocketCtor=WebSocket;else if(!L.WebSocketCtor)throw new Error("no WebSocket constructor can be found");O.destination=new M.t}return O}return(0,B.Z)(E,[{key:"lift",value:function(S){var O=new E(this._config,this.destination);return O.operator=S,O.source=this,O}},{key:"_resetState",value:function(){this._socket=null,this.source||(this.destination=new M.t),this._output=new C.xQ}},{key:"multiplex",value:function(S,O,L){var j=this;return new P.y(function(K){try{j.next(S())}catch(J){K.error(J)}var z=j.subscribe(function(J){try{L(J)&&K.next(J)}catch(ie){K.error(ie)}},function(J){return K.error(J)},function(){return K.complete()});return function(){try{j.next(O())}catch(J){K.error(J)}z.unsubscribe()}})}},{key:"_connectSocket",value:function(){var S=this,O=this._config,L=O.WebSocketCtor,j=O.protocol,K=O.url,z=O.binaryType,J=this._output,ie=null;try{ie=j?new L(K,j):new L(K),this._socket=ie,z&&(this._socket.binaryType=z)}catch(ae){return void J.error(ae)}var te=new D.w(function(){S._socket=null,ie&&1===ie.readyState&&ie.close()});ie.onopen=function(ae){if(!S._socket)return ie.close(),void S._resetState();var ce=S._config.openObserver;ce&&ce.next(ae);var le=S.destination;S.destination=v.L.create(function(oe){if(1===ie.readyState)try{ie.send((0,S._config.serializer)(oe))}catch(be){S.destination.error(be)}},function(oe){var Ae=S._config.closingObserver;Ae&&Ae.next(void 0),oe&&oe.code?ie.close(oe.code,oe.reason):J.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),S._resetState()},function(){var oe=S._config.closingObserver;oe&&oe.next(void 0),ie.close(),S._resetState()}),le&&le instanceof M.t&&te.add(le.subscribe(S.destination))},ie.onerror=function(ae){S._resetState(),J.error(ae)},ie.onclose=function(ae){S._resetState();var se=S._config.closeObserver;se&&se.next(ae),ae.wasClean?J.complete():J.error(ae)},ie.onmessage=function(ae){try{J.next((0,S._config.deserializer)(ae))}catch(ce){J.error(ce)}}}},{key:"_subscribe",value:function(S){var O=this,L=this.source;return L?L.subscribe(S):(this._socket||this._connectSocket(),this._output.subscribe(S),S.add(function(){var j=O._socket;0===O._output.observers.length&&(j&&1===j.readyState&&j.close(),O._resetState())}),S)}},{key:"unsubscribe",value:function(){var S=this._socket;S&&1===S.readyState&&S.close(),this._resetState(),(0,V.Z)((0,Z.Z)(E.prototype),"unsubscribe",this).call(this)}}]),E}(C.ug)},30437:function(ue,q,f){"use strict";f.d(q,{h:function(){return B}});var U=f(51361),B=function(){return U.i6.create}()},99298:function(ue,q,f){"use strict";f.d(q,{j:function(){return B}});var U=f(46095);function B(V){return new U.p(V)}},93487:function(ue,q,f){"use strict";f.d(q,{E:function(){return B},c:function(){return V}});var U=f(89797),B=new U.y(function(T){return T.complete()});function V(T){return T?function(T){return new U.y(function(R){return T.schedule(function(){return R.complete()})})}(T):B}},91925:function(ue,q,f){"use strict";f.d(q,{D:function(){return C}});var U=f(10629),B=f(89797),V=f(78985),Z=f(85639),T=f(64902),R=f(61493);function C(){for(var P=arguments.length,D=new Array(P),M=0;M<P;M++)D[M]=arguments[M];if(1===D.length){var A=D[0];if((0,V.k)(A))return v(A,null);if((0,T.K)(A)&&Object.getPrototypeOf(A)===Object.prototype){var _=Object.keys(A);return v(_.map(function(k){return A[k]}),_)}}if("function"==typeof D[D.length-1]){var g=D.pop();return v(D=1===D.length&&(0,V.k)(D[0])?D[0]:D,null).pipe((0,Z.U)(function(k){return g.apply(void 0,(0,U.Z)(k))}))}return v(D,null)}function v(P,D){return new B.y(function(M){var A=P.length;if(0!==A)for(var _=new Array(A),g=0,k=0,N=function(S){var O=(0,R.D)(P[S]),L=!1;M.add(O.subscribe({next:function(K){L||(L=!0,k++),_[S]=K},error:function(K){return M.error(K)},complete:function(){(++g===A||!L)&&(k===A&&M.next(D?D.reduce(function(K,z,J){return K[z]=_[J],K},{}):_),M.complete())}}))},E=0;E<A;E++)N(E);else M.complete()})}},61493:function(ue,q,f){"use strict";f.d(q,{D:function(){return Z}});var U=f(89797),B=f(20735),V=f(77493);function Z(T,R){return R?(0,V.x)(T,R):T instanceof U.y?T:new U.y((0,B.s)(T))}},80503:function(ue,q,f){"use strict";f.d(q,{n:function(){return Z}});var U=f(89797),B=f(22312),V=f(55835);function Z(T,R){return R?(0,V.r)(T,R):new U.y((0,B.V)(T))}},33090:function(ue,q,f){"use strict";f.d(q,{R:function(){return C}});var U=f(10629),B=f(89797),V=f(78985),Z=f(20684),T=f(85639);function C(A,_,g,k){return(0,Z.m)(g)&&(k=g,g=void 0),k?C(A,_,g).pipe((0,T.U)(function(N){return(0,V.k)(N)?k.apply(void 0,(0,U.Z)(N)):k(N)})):new B.y(function(N){v(A,_,function(x){N.next(arguments.length>1?Array.prototype.slice.call(arguments):x)},N,g)})}function v(A,_,g,k,N){var E;if(function(A){return A&&"function"==typeof A.addEventListener&&"function"==typeof A.removeEventListener}(A)){var x=A;A.addEventListener(_,g,N),E=function(){return x.removeEventListener(_,g,N)}}else if(function(A){return A&&"function"==typeof A.on&&"function"==typeof A.off}(A)){var S=A;A.on(_,g),E=function(){return S.off(_,g)}}else if(function(A){return A&&"function"==typeof A.addListener&&"function"==typeof A.removeListener}(A)){var O=A;A.addListener(_,g),E=function(){return O.removeListener(_,g)}}else{if(!A||!A.length)throw new TypeError("Invalid event target");for(var L=0,j=A.length;L<j;L++)v(A[L],_,g,k,N)}k.add(E)}},57434:function(ue,q,f){"use strict";f.d(q,{F:function(){return Z}});var U=f(89797),B=f(46813),V=f(11705);function Z(){var R=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,C=arguments.length>1&&void 0!==arguments[1]?arguments[1]:B.P;return(!(0,V.k)(R)||R<0)&&(R=0),(!C||"function"!=typeof C.schedule)&&(C=B.P),new U.y(function(v){return v.add(C.schedule(T,R,{subscriber:v,counter:0,period:R})),v})}function T(R){var C=R.subscriber,v=R.counter,P=R.period;C.next(v),this.schedule({subscriber:C,counter:v+1,period:P},P)}},55371:function(ue,q,f){"use strict";f.d(q,{T:function(){return T}});var U=f(89797),B=f(91299),V=f(65890),Z=f(80503);function T(){for(var R=Number.POSITIVE_INFINITY,C=null,v=arguments.length,P=new Array(v),D=0;D<v;D++)P[D]=arguments[D];var M=P[P.length-1];return(0,B.K)(M)?(C=P.pop(),P.length>1&&"number"==typeof P[P.length-1]&&(R=P.pop())):"number"==typeof M&&(R=P.pop()),null===C&&1===P.length&&P[0]instanceof U.y?P[0]:(0,V.J)(R)((0,Z.n)(P,C))}},43161:function(ue,q,f){"use strict";f.d(q,{of:function(){return Z}});var U=f(91299),B=f(80503),V=f(55835);function Z(){for(var T=arguments.length,R=new Array(T),C=0;C<T;C++)R[C]=arguments[C];var v=R[R.length-1];return(0,U.K)(v)?(R.pop(),(0,V.r)(R,v)):(0,B.n)(R)}},31695:function(ue,q,f){"use strict";f.d(q,{S3:function(){return P}});var U=f(10509),B=f(97154),V=f(18967),Z=f(14105),T=f(78985),R=f(80503),C=f(7283),v=f(61454);function P(){for(var A=arguments.length,_=new Array(A),g=0;g<A;g++)_[g]=arguments[g];if(1===_.length){if(!(0,T.k)(_[0]))return _[0];_=_[0]}return(0,R.n)(_,void 0).lift(new D)}var D=function(){function A(){(0,V.Z)(this,A)}return(0,Z.Z)(A,[{key:"call",value:function(g,k){return k.subscribe(new M(g))}}]),A}(),M=function(A){(0,U.Z)(g,A);var _=(0,B.Z)(g);function g(k){var N;return(0,V.Z)(this,g),(N=_.call(this,k)).hasFirst=!1,N.observables=[],N.subscriptions=[],N}return(0,Z.Z)(g,[{key:"_next",value:function(N){this.observables.push(N)}},{key:"_complete",value:function(){var N=this.observables,E=N.length;if(0===E)this.destination.complete();else{for(var x=0;x<E&&!this.hasFirst;x++){var O=(0,v.D)(this,N[x],void 0,x);this.subscriptions&&this.subscriptions.push(O),this.add(O)}this.observables=null}}},{key:"notifyNext",value:function(N,E,x){if(!this.hasFirst){this.hasFirst=!0;for(var S=0;S<this.subscriptions.length;S++)if(S!==x){var O=this.subscriptions[S];O.unsubscribe(),this.remove(O)}this.subscriptions=null}this.destination.next(E)}}]),g}(C.L)},10961:function(ue,q,f){"use strict";f.d(q,{w:function(){return B},W:function(){return V}});var U=f(89797);function B(){var Z=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,T=arguments.length>1?arguments[1]:void 0,R=arguments.length>2?arguments[2]:void 0;return new U.y(function(C){void 0===T&&(T=Z,Z=0);var v=0,P=Z;if(R)return R.schedule(V,0,{index:v,count:T,start:Z,subscriber:C});for(;;){if(v++>=T){C.complete();break}if(C.next(P++),C.closed)break}})}function V(Z){var T=Z.start,R=Z.index,v=Z.subscriber;R>=Z.count?v.complete():(v.next(T),!v.closed&&(Z.index=R+1,Z.start=T+1,this.schedule(Z)))}},11363:function(ue,q,f){"use strict";f.d(q,{_:function(){return B}});var U=f(89797);function B(Z,T){return new U.y(T?function(R){return T.schedule(V,0,{error:Z,subscriber:R})}:function(R){return R.error(Z)})}function V(Z){Z.subscriber.error(Z.error)}},5041:function(ue,q,f){"use strict";f.d(q,{H:function(){return T}});var U=f(89797),B=f(46813),V=f(11705),Z=f(91299);function T(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,v=arguments.length>1?arguments[1]:void 0,P=arguments.length>2?arguments[2]:void 0,D=-1;return(0,V.k)(v)?D=Number(v)<1?1:Number(v):(0,Z.K)(v)&&(P=v),(0,Z.K)(P)||(P=B.P),new U.y(function(M){var A=(0,V.k)(C)?C:+C-P.now();return P.schedule(R,A,{index:0,period:D,subscriber:M})})}function R(C){var v=C.index,P=C.period,D=C.subscriber;if(D.next(v),!D.closed){if(-1===P)return D.complete();C.index=v+1,this.schedule(C,P)}}},43008:function(ue,q,f){"use strict";f.d(q,{$R:function(){return D},mx:function(){return M}});var U=f(10509),B=f(97154),V=f(18967),Z=f(14105),T=f(80503),R=f(78985),C=f(39874),v=f(81695),P=f(32124);function D(){for(var N=arguments.length,E=new Array(N),x=0;x<N;x++)E[x]=arguments[x];var S=E[E.length-1];return"function"==typeof S&&E.pop(),(0,T.n)(E,void 0).lift(new M(S))}var M=function(){function N(E){(0,V.Z)(this,N),this.resultSelector=E}return(0,Z.Z)(N,[{key:"call",value:function(x,S){return S.subscribe(new A(x,this.resultSelector))}}]),N}(),A=function(N){(0,U.Z)(x,N);var E=(0,B.Z)(x);function x(S,O){var L;return arguments.length>2&&void 0!==arguments[2]||Object.create(null),(0,V.Z)(this,x),(L=E.call(this,S)).resultSelector=O,L.iterators=[],L.active=0,L.resultSelector="function"==typeof O?O:void 0,L}return(0,Z.Z)(x,[{key:"_next",value:function(O){var L=this.iterators;(0,R.k)(O)?L.push(new g(O)):L.push("function"==typeof O[v.hZ]?new _(O[v.hZ]()):new k(this.destination,this,O))}},{key:"_complete",value:function(){var O=this.iterators,L=O.length;if(this.unsubscribe(),0!==L){this.active=L;for(var j=0;j<L;j++){var K=O[j];K.stillUnsubscribed?this.destination.add(K.subscribe()):this.active--}}else this.destination.complete()}},{key:"notifyInactive",value:function(){this.active--,0===this.active&&this.destination.complete()}},{key:"checkIterators",value:function(){for(var O=this.iterators,L=O.length,j=this.destination,K=0;K<L;K++){var z=O[K];if("function"==typeof z.hasValue&&!z.hasValue())return}for(var J=!1,ie=[],te=0;te<L;te++){var ae=O[te],se=ae.next();if(ae.hasCompleted()&&(J=!0),se.done)return void j.complete();ie.push(se.value)}this.resultSelector?this._tryresultSelector(ie):j.next(ie),J&&j.complete()}},{key:"_tryresultSelector",value:function(O){var L;try{L=this.resultSelector.apply(this,O)}catch(j){return void this.destination.error(j)}this.destination.next(L)}}]),x}(C.L),_=function(){function N(E){(0,V.Z)(this,N),this.iterator=E,this.nextResult=E.next()}return(0,Z.Z)(N,[{key:"hasValue",value:function(){return!0}},{key:"next",value:function(){var x=this.nextResult;return this.nextResult=this.iterator.next(),x}},{key:"hasCompleted",value:function(){var x=this.nextResult;return Boolean(x&&x.done)}}]),N}(),g=function(){function N(E){(0,V.Z)(this,N),this.array=E,this.index=0,this.length=0,this.length=E.length}return(0,Z.Z)(N,[{key:v.hZ,value:function(){return this}},{key:"next",value:function(x){var S=this.index++;return S<this.length?{value:this.array[S],done:!1}:{value:null,done:!0}}},{key:"hasValue",value:function(){return this.array.length>this.index}},{key:"hasCompleted",value:function(){return this.array.length===this.index}}]),N}(),k=function(N){(0,U.Z)(x,N);var E=(0,B.Z)(x);function x(S,O,L){var j;return(0,V.Z)(this,x),(j=E.call(this,S)).parent=O,j.observable=L,j.stillUnsubscribed=!0,j.buffer=[],j.isComplete=!1,j}return(0,Z.Z)(x,[{key:v.hZ,value:function(){return this}},{key:"next",value:function(){var O=this.buffer;return 0===O.length&&this.isComplete?{value:null,done:!0}:{value:O.shift(),done:!1}}},{key:"hasValue",value:function(){return this.buffer.length>0}},{key:"hasCompleted",value:function(){return 0===this.buffer.length&&this.isComplete}},{key:"notifyComplete",value:function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}},{key:"notifyNext",value:function(O){this.buffer.push(O),this.parent.checkIterators()}},{key:"subscribe",value:function(){return(0,P.ft)(this.observable,new P.IY(this))}}]),x}(P.Ds)},67494:function(ue,q,f){"use strict";f.d(q,{U:function(){return R}});var U=f(10509),B=f(97154),V=f(18967),Z=f(14105),T=f(32124);function R(P){return function(M){return M.lift(new C(P))}}var C=function(){function P(D){(0,V.Z)(this,P),this.durationSelector=D}return(0,Z.Z)(P,[{key:"call",value:function(M,A){return A.subscribe(new v(M,this.durationSelector))}}]),P}(),v=function(P){(0,U.Z)(M,P);var D=(0,B.Z)(M);function M(A,_){var g;return(0,V.Z)(this,M),(g=D.call(this,A)).durationSelector=_,g.hasValue=!1,g}return(0,Z.Z)(M,[{key:"_next",value:function(_){if(this.value=_,this.hasValue=!0,!this.throttled){var g;try{g=(0,this.durationSelector)(_)}catch(E){return this.destination.error(E)}var N=(0,T.ft)(g,new T.IY(this));!N||N.closed?this.clearThrottle():this.add(this.throttled=N)}}},{key:"clearThrottle",value:function(){var _=this.value,g=this.hasValue,k=this.throttled;k&&(this.remove(k),this.throttled=void 0,k.unsubscribe()),g&&(this.value=void 0,this.hasValue=!1,this.destination.next(_))}},{key:"notifyNext",value:function(){this.clearThrottle()}},{key:"notifyComplete",value:function(){this.clearThrottle()}}]),M}(T.Ds)},54562:function(ue,q,f){"use strict";f.d(q,{e:function(){return Z}});var U=f(46813),B=f(67494),V=f(5041);function Z(T){var R=arguments.length>1&&void 0!==arguments[1]?arguments[1]:U.P;return(0,B.U)(function(){return(0,V.H)(T,R)})}},13426:function(ue,q,f){"use strict";f.d(q,{K:function(){return v}});var U=f(20901),B=f(89200),V=f(10509),Z=f(97154),T=f(18967),R=f(14105),C=f(32124);function v(M){return function(_){var g=new P(M),k=_.lift(g);return g.caught=k}}var P=function(){function M(A){(0,T.Z)(this,M),this.selector=A}return(0,R.Z)(M,[{key:"call",value:function(_,g){return g.subscribe(new D(_,this.selector,this.caught))}}]),M}(),D=function(M){(0,V.Z)(_,M);var A=(0,Z.Z)(_);function _(g,k,N){var E;return(0,T.Z)(this,_),(E=A.call(this,g)).selector=k,E.caught=N,E}return(0,R.Z)(_,[{key:"error",value:function(k){if(!this.isStopped){var N;try{N=this.selector(k,this.caught)}catch(S){return void(0,U.Z)((0,B.Z)(_.prototype),"error",this).call(this,S)}this._unsubscribeAndRecycle();var E=new C.IY(this);this.add(E);var x=(0,C.ft)(N,E);x!==E&&this.add(x)}}}]),_}(C.Ds)},95416:function(ue,q,f){"use strict";f.d(q,{u:function(){return B}});var U=f(65890);function B(){return(0,U.J)(1)}},38575:function(ue,q,f){"use strict";f.d(q,{b:function(){return B}});var U=f(35135);function B(V,Z){return(0,U.zg)(V,Z,1)}},75398:function(ue,q,f){"use strict";f.d(q,{Q:function(){return R}});var U=f(10509),B=f(97154),V=f(18967),Z=f(14105),T=f(39874);function R(P){return function(D){return D.lift(new C(P,D))}}var C=function(){function P(D,M){(0,V.Z)(this,P),this.predicate=D,this.source=M}return(0,Z.Z)(P,[{key:"call",value:function(M,A){return A.subscribe(new v(M,this.predicate,this.source))}}]),P}(),v=function(P){(0,U.Z)(M,P);var D=(0,B.Z)(M);function M(A,_,g){var k;return(0,V.Z)(this,M),(k=D.call(this,A)).predicate=_,k.source=g,k.count=0,k.index=0,k}return(0,Z.Z)(M,[{key:"_next",value:function(_){this.predicate?this._tryPredicate(_):this.count++}},{key:"_tryPredicate",value:function(_){var g;try{g=this.predicate(_,this.index++,this.source)}catch(k){return void this.destination.error(k)}g&&this.count++}},{key:"_complete",value:function(){this.destination.next(this.count),this.destination.complete()}}]),M}(T.L)},57263:function(ue,q,f){"use strict";f.d(q,{b:function(){return C}});var U=f(10509),B=f(97154),V=f(18967),Z=f(14105),T=f(39874),R=f(46813);function C(M){var A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:R.P;return function(_){return _.lift(new v(M,A))}}var v=function(){function M(A,_){(0,V.Z)(this,M),this.dueTime=A,this.scheduler=_}return(0,Z.Z)(M,[{key:"call",value:function(_,g){return g.subscribe(new P(_,this.dueTime,this.scheduler))}}]),M}(),P=function(M){(0,U.Z)(_,M);var A=(0,B.Z)(_);function _(g,k,N){var E;return(0,V.Z)(this,_),(E=A.call(this,g)).dueTime=k,E.scheduler=N,E.debouncedSubscription=null,E.lastValue=null,E.hasValue=!1,E}return(0,Z.Z)(_,[{key:"_next",value:function(k){this.clearDebounce(),this.lastValue=k,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(D,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var k=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(k)}}},{key:"clearDebounce",value:function(){var k=this.debouncedSubscription;null!==k&&(this.remove(k),k.unsubscribe(),this.debouncedSubscription=null)}}]),_}(T.L);function D(M){M.debouncedNext()}},34235:function(ue,q,f){"use strict";f.d(q,{d:function(){return R}});var U=f(10509),B=f(97154),V=f(18967),Z=f(14105),T=f(39874);function R(){var P=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(D){return D.lift(new C(P))}}var C=function(){function P(D){(0,V.Z)(this,P),this.defaultValue=D}return(0,Z.Z)(P,[{key:"call",value:function(M,A){return A.subscribe(new v(M,this.defaultValue))}}]),P}(),v=function(P){(0,U.Z)(M,P);var D=(0,B.Z)(M);function M(A,_){var g;return(0,V.Z)(this,M),(g=D.call(this,A)).defaultValue=_,g.isEmpty=!0,g}return(0,Z.Z)(M,[{key:"_next",value:function(_){this.isEmpty=!1,this.destination.next(_)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),M}(T.L)},86004:function(ue,q,f){"use strict";f.d(q,{g:function(){return P}});var U=f(10509),B=f(97154),V=f(18967),Z=f(14105),T=f(46813),R=f(88972),C=f(39874),v=f(80286);function P(_){var g=arguments.length>1&&void 0!==arguments[1]?arguments[1]:T.P,k=(0,R.J)(_),N=k?+_-g.now():Math.abs(_);return function(E){return E.lift(new D(N,g))}}var D=function(){function _(g,k){(0,V.Z)(this,_),this.delay=g,this.scheduler=k}return(0,Z.Z)(_,[{key:"call",value:function(k,N){return N.subscribe(new M(k,this.delay,this.scheduler))}}]),_}(),M=function(_){(0,U.Z)(k,_);var g=(0,B.Z)(k);function k(N,E,x){var S;return(0,V.Z)(this,k),(S=g.call(this,N)).delay=E,S.scheduler=x,S.queue=[],S.active=!1,S.errored=!1,S}return(0,Z.Z)(k,[{key:"_schedule",value:function(E){this.active=!0,this.destination.add(E.schedule(k.dispatch,this.delay,{source:this,destination:this.destination,scheduler:E}))}},{key:"scheduleNotification",value:function(E){if(!0!==this.errored){var x=this.scheduler,S=new A(x.now()+this.delay,E);this.queue.push(S),!1===this.active&&this._schedule(x)}}},{key:"_next",value:function(E){this.scheduleNotification(v.P.createNext(E))}},{key:"_error",value:function(E){this.errored=!0,this.queue=[],this.destination.error(E),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(v.P.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(E){for(var x=E.source,S=x.queue,O=E.scheduler,L=E.destination;S.length>0&&S[0].time-O.now()<=0;)S.shift().notification.observe(L);if(S.length>0){var j=Math.max(0,S[0].time-O.now());this.schedule(E,j)}else this.unsubscribe(),x.active=!1}}]),k}(C.L),A=function _(g,k){(0,V.Z)(this,_),this.time=g,this.notification=k}},76161:function(ue,q,f){"use strict";f.d(q,{x:function(){return R}});var U=f(10509),B=f(97154),V=f(18967),Z=f(14105),T=f(39874);function R(P,D){return function(M){return M.lift(new C(P,D))}}var C=function(){function P(D,M){(0,V.Z)(this,P),this.compare=D,this.keySelector=M}return(0,Z.Z)(P,[{key:"call",value:function(M,A){return A.subscribe(new v(M,this.compare,this.keySelector))}}]),P}(),v=function(P){(0,U.Z)(M,P);var D=(0,B.Z)(M);function M(A,_,g){var k;return(0,V.Z)(this,M),(k=D.call(this,A)).keySelector=g,k.hasKey=!1,"function"==typeof _&&(k.compare=_),k}return(0,Z.Z)(M,[{key:"compare",value:function(_,g){return _===g}},{key:"_next",value:function(_){var g;try{var k=this.keySelector;g=k?k(_):_}catch(x){return this.destination.error(x)}var N=!1;if(this.hasKey)try{N=(0,this.compare)(this.key,g)}catch(x){return this.destination.error(x)}else this.hasKey=!0;N||(this.key=g,this.destination.next(_))}}]),M}(T.L)},58780:function(ue,q,f){"use strict";f.d(q,{h:function(){return R}});var U=f(10509),B=f(97154),V=f(18967),Z=f(14105),T=f(39874);function R(P,D){return function(A){return A.lift(new C(P,D))}}var C=function(){function P(D,M){(0,V.Z)(this,P),this.predicate=D,this.thisArg=M}return(0,Z.Z)(P,[{key:"call",value:function(M,A){return A.subscribe(new v(M,this.predicate,this.thisArg))}}]),P}(),v=function(P){(0,U.Z)(M,P);var D=(0,B.Z)(M);function M(A,_,g){var k;return(0,V.Z)(this,M),(k=D.call(this,A)).predicate=_,k.thisArg=g,k.count=0,k}return(0,Z.Z)(M,[{key:"_next",value:function(_){var g;try{g=this.predicate.call(this.thisArg,_,this.count++)}catch(k){return void this.destination.error(k)}g&&this.destination.next(_)}}]),M}(T.L)},59803:function(ue,q,f){"use strict";f.d(q,{x:function(){return C}});var U=f(10509),B=f(97154),V=f(18967),Z=f(14105),T=f(39874),R=f(5051);function C(D){return function(M){return M.lift(new v(D))}}var v=function(){function D(M){(0,V.Z)(this,D),this.callback=M}return(0,Z.Z)(D,[{key:"call",value:function(A,_){return _.subscribe(new P(A,this.callback))}}]),D}(),P=function(D){(0,U.Z)(A,D);var M=(0,B.Z)(A);function A(_,g){var k;return(0,V.Z)(this,A),(k=M.call(this,_)).add(new R.w(g)),k}return A}(T.L)},64233:function(ue,q,f){"use strict";f.d(q,{P:function(){return C}});var U=f(64646),B=f(58780),V=f(48359),Z=f(34235),T=f(88942),R=f(57070);function C(v,P){var D=arguments.length>=2;return function(M){return M.pipe(v?(0,B.h)(function(A,_){return v(A,_,M)}):R.y,(0,V.q)(1),D?(0,Z.d)(P):(0,T.T)(function(){return new U.K}))}}},86072:function(ue,q,f){"use strict";f.d(q,{v:function(){return M},T:function(){return k}});var U=f(20901),B=f(89200),V=f(10509),Z=f(97154),T=f(18967),R=f(14105),C=f(39874),v=f(5051),P=f(89797),D=f(68707);function M(E,x,S,O){return function(L){return L.lift(new A(E,x,S,O))}}var A=function(){function E(x,S,O,L){(0,T.Z)(this,E),this.keySelector=x,this.elementSelector=S,this.durationSelector=O,this.subjectSelector=L}return(0,R.Z)(E,[{key:"call",value:function(S,O){return O.subscribe(new _(S,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))}}]),E}(),_=function(E){(0,V.Z)(S,E);var x=(0,Z.Z)(S);function S(O,L,j,K,z){var J;return(0,T.Z)(this,S),(J=x.call(this,O)).keySelector=L,J.elementSelector=j,J.durationSelector=K,J.subjectSelector=z,J.groups=null,J.attemptedToUnsubscribe=!1,J.count=0,J}return(0,R.Z)(S,[{key:"_next",value:function(L){var j;try{j=this.keySelector(L)}catch(K){return void this.error(K)}this._group(L,j)}},{key:"_group",value:function(L,j){var K=this.groups;K||(K=this.groups=new Map);var J,z=K.get(j);if(this.elementSelector)try{J=this.elementSelector(L)}catch(ae){this.error(ae)}else J=L;if(!z){z=this.subjectSelector?this.subjectSelector():new D.xQ,K.set(j,z);var ie=new k(j,z,this);if(this.destination.next(ie),this.durationSelector){var te;try{te=this.durationSelector(new k(j,z))}catch(ae){return void this.error(ae)}this.add(te.subscribe(new g(j,z,this)))}}z.closed||z.next(J)}},{key:"_error",value:function(L){var j=this.groups;j&&(j.forEach(function(K,z){K.error(L)}),j.clear()),this.destination.error(L)}},{key:"_complete",value:function(){var L=this.groups;L&&(L.forEach(function(j,K){j.complete()}),L.clear()),this.destination.complete()}},{key:"removeGroup",value:function(L){this.groups.delete(L)}},{key:"unsubscribe",value:function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&(0,U.Z)((0,B.Z)(S.prototype),"unsubscribe",this).call(this))}}]),S}(C.L),g=function(E){(0,V.Z)(S,E);var x=(0,Z.Z)(S);function S(O,L,j){var K;return(0,T.Z)(this,S),(K=x.call(this,L)).key=O,K.group=L,K.parent=j,K}return(0,R.Z)(S,[{key:"_next",value:function(L){this.complete()}},{key:"_unsubscribe",value:function(){var L=this.parent,j=this.key;this.key=this.parent=null,L&&L.removeGroup(j)}}]),S}(C.L),k=function(E){(0,V.Z)(S,E);var x=(0,Z.Z)(S);function S(O,L,j){var K;return(0,T.Z)(this,S),(K=x.call(this)).key=O,K.groupSubject=L,K.refCountSubscription=j,K}return(0,R.Z)(S,[{key:"_subscribe",value:function(L){var j=new v.w,K=this.refCountSubscription,z=this.groupSubject;return K&&!K.closed&&j.add(new N(K)),j.add(z.subscribe(L)),j}}]),S}(P.y),N=function(E){(0,V.Z)(S,E);var x=(0,Z.Z)(S);function S(O){var L;return(0,T.Z)(this,S),(L=x.call(this)).parent=O,O.count++,L}return(0,R.Z)(S,[{key:"unsubscribe",value:function(){var L=this.parent;!L.closed&&!this.closed&&((0,U.Z)((0,B.Z)(S.prototype),"unsubscribe",this).call(this),L.count-=1,0===L.count&&L.attemptedToUnsubscribe&&L.unsubscribe())}}]),S}(v.w)},99583:function(ue,q,f){"use strict";f.d(q,{Z:function(){return C}});var U=f(64646),B=f(58780),V=f(64397),Z=f(88942),T=f(34235),R=f(57070);function C(v,P){var D=arguments.length>=2;return function(M){return M.pipe(v?(0,B.h)(function(A,_){return v(A,_,M)}):R.y,(0,V.h)(1),D?(0,T.d)(P):(0,Z.T)(function(){return new U.K}))}}},85639:function(ue,q,f){"use strict";f.d(q,{U:function(){return C}});var U=f(88009),B=f(10509),V=f(97154),Z=f(18967),T=f(14105),R=f(39874);function C(D,M){return function(_){if("function"!=typeof D)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return _.lift(new v(D,M))}}var v=function(){function D(M,A){(0,Z.Z)(this,D),this.project=M,this.thisArg=A}return(0,T.Z)(D,[{key:"call",value:function(A,_){return _.subscribe(new P(A,this.project,this.thisArg))}}]),D}(),P=function(D){(0,B.Z)(A,D);var M=(0,V.Z)(A);function A(_,g,k){var N;return(0,Z.Z)(this,A),(N=M.call(this,_)).project=g,N.count=0,N.thisArg=k||(0,U.Z)(N),N}return(0,T.Z)(A,[{key:"_next",value:function(g){var k;try{k=this.project.call(this.thisArg,g,this.count++)}catch(N){return void this.destination.error(N)}this.destination.next(k)}}]),A}(R.L)},12698:function(ue,q,f){"use strict";f.d(q,{h:function(){return R}});var U=f(10509),B=f(97154),V=f(18967),Z=f(14105),T=f(39874);function R(P){return function(D){return D.lift(new C(P))}}var C=function(){function P(D){(0,V.Z)(this,P),this.value=D}return(0,Z.Z)(P,[{key:"call",value:function(M,A){return A.subscribe(new v(M,this.value))}}]),P}(),v=function(P){(0,U.Z)(M,P);var D=(0,B.Z)(M);function M(A,_){var g;return(0,V.Z)(this,M),(g=D.call(this,A)).value=_,g}return(0,Z.Z)(M,[{key:"_next",value:function(_){this.destination.next(this.value)}}]),M}(T.L)},65890:function(ue,q,f){"use strict";f.d(q,{J:function(){return V}});var U=f(35135),B=f(57070);function V(){var Z=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return(0,U.zg)(B.y,Z)}},35135:function(ue,q,f){"use strict";f.d(q,{zg:function(){return v},VS:function(){return M}});var U=f(10509),B=f(97154),V=f(18967),Z=f(14105),T=f(85639),R=f(61493),C=f(32124);function v(A,_){var g=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof _?function(k){return k.pipe(v(function(N,E){return(0,R.D)(A(N,E)).pipe((0,T.U)(function(x,S){return _(N,x,E,S)}))},g))}:("number"==typeof _&&(g=_),function(k){return k.lift(new P(A,g))})}var P=function(){function A(_){var g=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;(0,V.Z)(this,A),this.project=_,this.concurrent=g}return(0,Z.Z)(A,[{key:"call",value:function(g,k){return k.subscribe(new D(g,this.project,this.concurrent))}}]),A}(),D=function(A){(0,U.Z)(g,A);var _=(0,B.Z)(g);function g(k,N){var E,x=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return(0,V.Z)(this,g),(E=_.call(this,k)).project=N,E.concurrent=x,E.hasCompleted=!1,E.buffer=[],E.active=0,E.index=0,E}return(0,Z.Z)(g,[{key:"_next",value:function(N){this.active<this.concurrent?this._tryNext(N):this.buffer.push(N)}},{key:"_tryNext",value:function(N){var E,x=this.index++;try{E=this.project(N,x)}catch(S){return void this.destination.error(S)}this.active++,this._innerSub(E)}},{key:"_innerSub",value:function(N){var E=new C.IY(this),x=this.destination;x.add(E);var S=(0,C.ft)(N,E);S!==E&&x.add(S)}},{key:"_complete",value:function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(N){this.destination.next(N)}},{key:"notifyComplete",value:function(){var N=this.buffer;this.active--,N.length>0?this._next(N.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),g}(C.Ds),M=v},4981:function(ue,q,f){"use strict";f.d(q,{O:function(){return Z}});var U=f(18967),B=f(14105),V=f(39887);function Z(R,C){return function(P){var D;if(D="function"==typeof R?R:function(){return R},"function"==typeof C)return P.lift(new T(D,C));var M=Object.create(P,V.N);return M.source=P,M.subjectFactory=D,M}}var T=function(){function R(C,v){(0,U.Z)(this,R),this.subjectFactory=C,this.selector=v}return(0,B.Z)(R,[{key:"call",value:function(v,P){var D=this.selector,M=this.subjectFactory(),A=D(M).subscribe(v);return A.add(P.subscribe(M)),A}}]),R}()},25110:function(ue,q,f){"use strict";f.d(q,{QV:function(){return C},ht:function(){return P}});var U=f(10509),B=f(97154),V=f(18967),Z=f(14105),T=f(39874),R=f(80286);function C(M){var A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(g){return g.lift(new v(M,A))}}var v=function(){function M(A){var _=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;(0,V.Z)(this,M),this.scheduler=A,this.delay=_}return(0,Z.Z)(M,[{key:"call",value:function(_,g){return g.subscribe(new P(_,this.scheduler,this.delay))}}]),M}(),P=function(M){(0,U.Z)(_,M);var A=(0,B.Z)(_);function _(g,k){var N,E=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return(0,V.Z)(this,_),(N=A.call(this,g)).scheduler=k,N.delay=E,N}return(0,Z.Z)(_,[{key:"scheduleMessage",value:function(k){this.destination.add(this.scheduler.schedule(_.dispatch,this.delay,new D(k,this.destination)))}},{key:"_next",value:function(k){this.scheduleMessage(R.P.createNext(k))}},{key:"_error",value:function(k){this.scheduleMessage(R.P.createError(k)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage(R.P.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(k){k.notification.observe(k.destination),this.unsubscribe()}}]),_}(T.L),D=function M(A,_){(0,V.Z)(this,M),this.notification=A,this.destination=_}},4363:function(ue,q,f){"use strict";f.d(q,{G:function(){return R}});var U=f(10509),B=f(97154),V=f(18967),Z=f(14105),T=f(39874);function R(){return function(P){return P.lift(new C)}}var C=function(){function P(){(0,V.Z)(this,P)}return(0,Z.Z)(P,[{key:"call",value:function(M,A){return A.subscribe(new v(M))}}]),P}(),v=function(P){(0,U.Z)(M,P);var D=(0,B.Z)(M);function M(A){var _;return(0,V.Z)(this,M),(_=D.call(this,A)).hasPrev=!1,_}return(0,Z.Z)(M,[{key:"_next",value:function(_){var g;this.hasPrev?g=[this.prev,_]:this.hasPrev=!0,this.prev=_,g&&this.destination.next(g)}}]),M}(T.L)},26575:function(ue,q,f){"use strict";f.d(q,{x:function(){return R}});var U=f(10509),B=f(97154),V=f(18967),Z=f(14105),T=f(39874);function R(){return function(D){return D.lift(new C(D))}}var C=function(){function P(D){(0,V.Z)(this,P),this.connectable=D}return(0,Z.Z)(P,[{key:"call",value:function(M,A){var _=this.connectable;_._refCount++;var g=new v(M,_),k=A.subscribe(g);return g.closed||(g.connection=_.connect()),k}}]),P}(),v=function(P){(0,U.Z)(M,P);var D=(0,B.Z)(M);function M(A,_){var g;return(0,V.Z)(this,M),(g=D.call(this,A)).connectable=_,g}return(0,Z.Z)(M,[{key:"_unsubscribe",value:function(){var _=this.connectable;if(_){this.connectable=null;var g=_._refCount;if(g<=0)this.connection=null;else if(_._refCount=g-1,g>1)this.connection=null;else{var k=this.connection,N=_._connection;this.connection=null,N&&(!k||N===k)&&N.unsubscribe()}}else this.connection=null}}]),M}(T.L)},31927:function(ue,q,f){"use strict";f.d(q,{R:function(){return R}});var U=f(10509),B=f(97154),V=f(18967),Z=f(14105),T=f(39874);function R(P,D){var M=!1;return arguments.length>=2&&(M=!0),function(_){return _.lift(new C(P,D,M))}}var C=function(){function P(D,M){var A=arguments.length>2&&void 0!==arguments[2]&&arguments[2];(0,V.Z)(this,P),this.accumulator=D,this.seed=M,this.hasSeed=A}return(0,Z.Z)(P,[{key:"call",value:function(M,A){return A.subscribe(new v(M,this.accumulator,this.seed,this.hasSeed))}}]),P}(),v=function(P){(0,U.Z)(M,P);var D=(0,B.Z)(M);function M(A,_,g,k){var N;return(0,V.Z)(this,M),(N=D.call(this,A)).accumulator=_,N._seed=g,N.hasSeed=k,N.index=0,N}return(0,Z.Z)(M,[{key:"seed",get:function(){return this._seed},set:function(_){this.hasSeed=!0,this._seed=_}},{key:"_next",value:function(_){if(this.hasSeed)return this._tryNext(_);this.seed=_,this.destination.next(_)}},{key:"_tryNext",value:function(_){var k,g=this.index++;try{k=this.accumulator(this.seed,_,g)}catch(N){this.destination.error(N)}this.seed=k,this.destination.next(k)}}]),M}(T.L)},16338:function(ue,q,f){"use strict";f.d(q,{B:function(){return T}});var U=f(4981),B=f(26575),V=f(68707);function Z(){return new V.xQ}function T(){return function(R){return(0,B.x)()((0,U.O)(Z)(R))}}},61106:function(ue,q,f){"use strict";f.d(q,{d:function(){return B}});var U=f(82667);function B(Z,T,R){var C;return C=Z&&"object"==typeof Z?Z:{bufferSize:Z,windowTime:T,refCount:!1,scheduler:R},function(v){return v.lift(function(Z){var M,_,T=Z.bufferSize,R=void 0===T?Number.POSITIVE_INFINITY:T,C=Z.windowTime,v=void 0===C?Number.POSITIVE_INFINITY:C,P=Z.refCount,D=Z.scheduler,A=0,g=!1,k=!1;return function(E){var x;A++,!M||g?(g=!1,M=new U.t(R,v,D),x=M.subscribe(this),_=E.subscribe({next:function(O){M.next(O)},error:function(O){g=!0,M.error(O)},complete:function(){k=!0,_=void 0,M.complete()}}),k&&(_=void 0)):x=M.subscribe(this),this.add(function(){A--,x.unsubscribe(),x=void 0,_&&!k&&P&&0===A&&(_.unsubscribe(),_=void 0,M=void 0)})}}(C))}}},18756:function(ue,q,f){"use strict";f.d(q,{T:function(){return R}});var U=f(10509),B=f(97154),V=f(18967),Z=f(14105),T=f(39874);function R(P){return function(D){return D.lift(new C(P))}}var C=function(){function P(D){(0,V.Z)(this,P),this.total=D}return(0,Z.Z)(P,[{key:"call",value:function(M,A){return A.subscribe(new v(M,this.total))}}]),P}(),v=function(P){(0,U.Z)(M,P);var D=(0,B.Z)(M);function M(A,_){var g;return(0,V.Z)(this,M),(g=D.call(this,A)).total=_,g.count=0,g}return(0,Z.Z)(M,[{key:"_next",value:function(_){++this.count>this.total&&this.destination.next(_)}}]),M}(T.L)},57682:function(ue,q,f){"use strict";f.d(q,{O:function(){return V}});var U=f(60131),B=f(91299);function V(){for(var Z=arguments.length,T=new Array(Z),R=0;R<Z;R++)T[R]=arguments[R];var C=T[T.length-1];return(0,B.K)(C)?(T.pop(),function(v){return(0,U.z)(T,v,C)}):function(v){return(0,U.z)(T,v)}}},34487:function(ue,q,f){"use strict";f.d(q,{w:function(){return D}});var U=f(20901),B=f(89200),V=f(10509),Z=f(97154),T=f(18967),R=f(14105),C=f(85639),v=f(61493),P=f(32124);function D(_,g){return"function"==typeof g?function(k){return k.pipe(D(function(N,E){return(0,v.D)(_(N,E)).pipe((0,C.U)(function(x,S){return g(N,x,E,S)}))}))}:function(k){return k.lift(new M(_))}}var M=function(){function _(g){(0,T.Z)(this,_),this.project=g}return(0,R.Z)(_,[{key:"call",value:function(k,N){return N.subscribe(new A(k,this.project))}}]),_}(),A=function(_){(0,V.Z)(k,_);var g=(0,Z.Z)(k);function k(N,E){var x;return(0,T.Z)(this,k),(x=g.call(this,N)).project=E,x.index=0,x}return(0,R.Z)(k,[{key:"_next",value:function(E){var x,S=this.index++;try{x=this.project(E,S)}catch(O){return void this.destination.error(O)}this._innerSub(x)}},{key:"_innerSub",value:function(E){var x=this.innerSubscription;x&&x.unsubscribe();var S=new P.IY(this),O=this.destination;O.add(S),this.innerSubscription=(0,P.ft)(E,S),this.innerSubscription!==S&&O.add(this.innerSubscription)}},{key:"_complete",value:function(){var E=this.innerSubscription;(!E||E.closed)&&(0,U.Z)((0,B.Z)(k.prototype),"_complete",this).call(this),this.unsubscribe()}},{key:"_unsubscribe",value:function(){this.innerSubscription=void 0}},{key:"notifyComplete",value:function(){this.innerSubscription=void 0,this.isStopped&&(0,U.Z)((0,B.Z)(k.prototype),"_complete",this).call(this)}},{key:"notifyNext",value:function(E){this.destination.next(E)}}]),k}(P.Ds)},48359:function(ue,q,f){"use strict";f.d(q,{q:function(){return v}});var U=f(10509),B=f(97154),V=f(18967),Z=f(14105),T=f(39874),R=f(9855),C=f(93487);function v(M){return function(A){return 0===M?(0,C.c)():A.lift(new P(M))}}var P=function(){function M(A){if((0,V.Z)(this,M),this.total=A,this.total<0)throw new R.W}return(0,Z.Z)(M,[{key:"call",value:function(_,g){return g.subscribe(new D(_,this.total))}}]),M}(),D=function(M){(0,U.Z)(_,M);var A=(0,B.Z)(_);function _(g,k){var N;return(0,V.Z)(this,_),(N=A.call(this,g)).total=k,N.count=0,N}return(0,Z.Z)(_,[{key:"_next",value:function(k){var N=this.total,E=++this.count;E<=N&&(this.destination.next(k),E===N&&(this.destination.complete(),this.unsubscribe()))}}]),_}(T.L)},64397:function(ue,q,f){"use strict";f.d(q,{h:function(){return v}});var U=f(10509),B=f(97154),V=f(18967),Z=f(14105),T=f(39874),R=f(9855),C=f(93487);function v(M){return function(_){return 0===M?(0,C.c)():_.lift(new P(M))}}var P=function(){function M(A){if((0,V.Z)(this,M),this.total=A,this.total<0)throw new R.W}return(0,Z.Z)(M,[{key:"call",value:function(_,g){return g.subscribe(new D(_,this.total))}}]),M}(),D=function(M){(0,U.Z)(_,M);var A=(0,B.Z)(_);function _(g,k){var N;return(0,V.Z)(this,_),(N=A.call(this,g)).total=k,N.ring=new Array,N.count=0,N}return(0,Z.Z)(_,[{key:"_next",value:function(k){var N=this.ring,E=this.total,x=this.count++;N.length<E?N.push(k):N[x%E]=k}},{key:"_complete",value:function(){var k=this.destination,N=this.count;if(N>0)for(var E=this.count>=this.total?this.total:this.count,x=this.ring,S=0;S<E;S++){var O=N++%E;k.next(x[O])}k.complete()}}]),_}(T.L)},44213:function(ue,q,f){"use strict";f.d(q,{R:function(){return R}});var U=f(10509),B=f(97154),V=f(18967),Z=f(14105),T=f(32124);function R(P){return function(D){return D.lift(new C(P))}}var C=function(){function P(D){(0,V.Z)(this,P),this.notifier=D}return(0,Z.Z)(P,[{key:"call",value:function(M,A){var _=new v(M),g=(0,T.ft)(this.notifier,new T.IY(_));return g&&!_.seenValue?(_.add(g),A.subscribe(_)):_}}]),P}(),v=function(P){(0,U.Z)(M,P);var D=(0,B.Z)(M);function M(A){var _;return(0,V.Z)(this,M),(_=D.call(this,A)).seenValue=!1,_}return(0,Z.Z)(M,[{key:"notifyNext",value:function(){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),M}(T.Ds)},49196:function(ue,q,f){"use strict";f.d(q,{o:function(){return R}});var U=f(10509),B=f(97154),V=f(18967),Z=f(14105),T=f(39874);function R(P){var D=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(M){return M.lift(new C(P,D))}}var C=function(){function P(D,M){(0,V.Z)(this,P),this.predicate=D,this.inclusive=M}return(0,Z.Z)(P,[{key:"call",value:function(M,A){return A.subscribe(new v(M,this.predicate,this.inclusive))}}]),P}(),v=function(P){(0,U.Z)(M,P);var D=(0,B.Z)(M);function M(A,_,g){var k;return(0,V.Z)(this,M),(k=D.call(this,A)).predicate=_,k.inclusive=g,k.index=0,k}return(0,Z.Z)(M,[{key:"_next",value:function(_){var k,g=this.destination;try{k=this.predicate(_,this.index++)}catch(N){return void g.error(N)}this.nextOrComplete(_,k)}},{key:"nextOrComplete",value:function(_,g){var k=this.destination;Boolean(g)?k.next(_):(this.inclusive&&k.next(_),k.complete())}}]),M}(T.L)},59371:function(ue,q,f){"use strict";f.d(q,{b:function(){return P}});var U=f(88009),B=f(10509),V=f(97154),Z=f(18967),T=f(14105),R=f(39874),C=f(66029),v=f(20684);function P(A,_,g){return function(N){return N.lift(new D(A,_,g))}}var D=function(){function A(_,g,k){(0,Z.Z)(this,A),this.nextOrObserver=_,this.error=g,this.complete=k}return(0,T.Z)(A,[{key:"call",value:function(g,k){return k.subscribe(new M(g,this.nextOrObserver,this.error,this.complete))}}]),A}(),M=function(A){(0,B.Z)(g,A);var _=(0,V.Z)(g);function g(k,N,E,x){var S;return(0,Z.Z)(this,g),(S=_.call(this,k))._tapNext=C.Z,S._tapError=C.Z,S._tapComplete=C.Z,S._tapError=E||C.Z,S._tapComplete=x||C.Z,(0,v.m)(N)?(S._context=(0,U.Z)(S),S._tapNext=N):N&&(S._context=N,S._tapNext=N.next||C.Z,S._tapError=N.error||C.Z,S._tapComplete=N.complete||C.Z),S}return(0,T.Z)(g,[{key:"_next",value:function(N){try{this._tapNext.call(this._context,N)}catch(E){return void this.destination.error(E)}this.destination.next(N)}},{key:"_error",value:function(N){try{this._tapError.call(this._context,N)}catch(E){return void this.destination.error(E)}this.destination.error(N)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(N){return void this.destination.error(N)}return this.destination.complete()}}]),g}(R.L)},243:function(ue,q,f){"use strict";f.d(q,{d:function(){return R},P:function(){return C}});var U=f(10509),B=f(97154),V=f(18967),Z=f(14105),T=f(32124),R={leading:!0,trailing:!1};function C(D){var M=arguments.length>1&&void 0!==arguments[1]?arguments[1]:R;return function(A){return A.lift(new v(D,!!M.leading,!!M.trailing))}}var v=function(){function D(M,A,_){(0,V.Z)(this,D),this.durationSelector=M,this.leading=A,this.trailing=_}return(0,Z.Z)(D,[{key:"call",value:function(A,_){return _.subscribe(new P(A,this.durationSelector,this.leading,this.trailing))}}]),D}(),P=function(D){(0,U.Z)(A,D);var M=(0,B.Z)(A);function A(_,g,k,N){var E;return(0,V.Z)(this,A),(E=M.call(this,_)).destination=_,E.durationSelector=g,E._leading=k,E._trailing=N,E._hasValue=!1,E}return(0,Z.Z)(A,[{key:"_next",value:function(g){this._hasValue=!0,this._sendValue=g,this._throttled||(this._leading?this.send():this.throttle(g))}},{key:"send",value:function(){var k=this._sendValue;this._hasValue&&(this.destination.next(k),this.throttle(k)),this._hasValue=!1,this._sendValue=void 0}},{key:"throttle",value:function(g){var k=this.tryDurationSelector(g);k&&this.add(this._throttled=(0,T.ft)(k,new T.IY(this)))}},{key:"tryDurationSelector",value:function(g){try{return this.durationSelector(g)}catch(k){return this.destination.error(k),null}}},{key:"throttlingDone",value:function(){var g=this._throttled,k=this._trailing;g&&g.unsubscribe(),this._throttled=void 0,k&&this.send()}},{key:"notifyNext",value:function(){this.throttlingDone()}},{key:"notifyComplete",value:function(){this.throttlingDone()}}]),A}(T.Ds)},88942:function(ue,q,f){"use strict";f.d(q,{T:function(){return C}});var U=f(10509),B=f(97154),V=f(18967),Z=f(14105),T=f(64646),R=f(39874);function C(){var M=arguments.length>0&&void 0!==arguments[0]?arguments[0]:D;return function(A){return A.lift(new v(M))}}var v=function(){function M(A){(0,V.Z)(this,M),this.errorFactory=A}return(0,Z.Z)(M,[{key:"call",value:function(_,g){return g.subscribe(new P(_,this.errorFactory))}}]),M}(),P=function(M){(0,U.Z)(_,M);var A=(0,B.Z)(_);function _(g,k){var N;return(0,V.Z)(this,_),(N=A.call(this,g)).errorFactory=k,N.hasValue=!1,N}return(0,Z.Z)(_,[{key:"_next",value:function(k){this.hasValue=!0,this.destination.next(k)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var k;try{k=this.errorFactory()}catch(N){k=N}this.destination.error(k)}}]),_}(R.L);function D(){return new T.K}},73445:function(ue,q,f){"use strict";f.d(q,{J:function(){return R},R:function(){return C}});var U=f(18967),B=f(46813),V=f(31927),Z=f(4499),T=f(85639);function R(){var v=arguments.length>0&&void 0!==arguments[0]?arguments[0]:B.P;return function(P){return(0,Z.P)(function(){return P.pipe((0,V.R)(function(D,M){var A=D.current;return{value:M,current:v.now(),last:A}},{current:v.now(),value:void 0,last:void 0}),(0,T.U)(function(D){return new C(D.value,D.current-D.last)}))})}}var C=function v(P,D){(0,U.Z)(this,v),this.value=P,this.interval=D}},63706:function(ue,q,f){"use strict";f.d(q,{A:function(){return Z},E:function(){return T}});var U=f(18967),B=f(46813),V=f(85639);function Z(){var R=arguments.length>0&&void 0!==arguments[0]?arguments[0]:B.P;return(0,V.U)(function(C){return new T(C,R.now())})}var T=function R(C,v){(0,U.Z)(this,R),this.value=C,this.timestamp=v}},55835:function(ue,q,f){"use strict";f.d(q,{r:function(){return V}});var U=f(89797),B=f(5051);function V(Z,T){return new U.y(function(R){var C=new B.w,v=0;return C.add(T.schedule(function(){v!==Z.length?(R.next(Z[v++]),R.closed||C.add(this.schedule())):R.complete()})),C})}},60612:function(ue,q,f){"use strict";f.d(q,{Q:function(){return Z}});var U=f(89797),B=f(5051),V=f(81695);function Z(T,R){if(!T)throw new Error("Iterable cannot be null");return new U.y(function(C){var P,v=new B.w;return v.add(function(){P&&"function"==typeof P.return&&P.return()}),v.add(R.schedule(function(){P=T[V.hZ](),v.add(R.schedule(function(){if(!C.closed){var D,M;try{var A=P.next();D=A.value,M=A.done}catch(_){return void C.error(_)}M?C.complete():(C.next(D),this.schedule())}}))})),v})}},10498:function(ue,q,f){"use strict";f.d(q,{c:function(){return V}});var U=f(89797),B=f(5051);function V(Z,T){return new U.y(function(R){var C=new B.w;return C.add(T.schedule(function(){return Z.then(function(v){C.add(T.schedule(function(){R.next(v),C.add(T.schedule(function(){return R.complete()}))}))},function(v){C.add(T.schedule(function(){return R.error(v)}))})})),C})}},77493:function(ue,q,f){"use strict";f.d(q,{x:function(){return A}});var U=f(89797),B=f(5051),V=f(57694),T=f(10498),R=f(55835),C=f(60612),v=f(19104),P=f(36514),D=f(30621),M=f(2762);function A(_,g){if(null!=_){if((0,v.c)(_))return function(_,g){return new U.y(function(k){var N=new B.w;return N.add(g.schedule(function(){var E=_[V.L]();N.add(E.subscribe({next:function(S){N.add(g.schedule(function(){return k.next(S)}))},error:function(S){N.add(g.schedule(function(){return k.error(S)}))},complete:function(){N.add(g.schedule(function(){return k.complete()}))}}))})),N})}(_,g);if((0,P.t)(_))return(0,T.c)(_,g);if((0,D.z)(_))return(0,R.r)(_,g);if((0,M.T)(_)||"string"==typeof _)return(0,C.Q)(_,g)}throw new TypeError((null!==_&&typeof _||_)+" is not observable")}},4065:function(ue,q,f){"use strict";f.d(q,{o:function(){return C}});var U=f(18967),B=f(14105),V=f(10509),Z=f(97154),C=function(v){(0,V.Z)(D,v);var P=(0,Z.Z)(D);function D(M,A){var _;return(0,U.Z)(this,D),(_=P.call(this,M,A)).scheduler=M,_.work=A,_.pending=!1,_}return(0,B.Z)(D,[{key:"schedule",value:function(A){var _=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=A;var g=this.id,k=this.scheduler;return null!=g&&(this.id=this.recycleAsyncId(k,g,_)),this.pending=!0,this.delay=_,this.id=this.id||this.requestAsyncId(k,this.id,_),this}},{key:"requestAsyncId",value:function(A,_){var g=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(A.flush.bind(A,this),g)}},{key:"recycleAsyncId",value:function(A,_){var g=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==g&&this.delay===g&&!1===this.pending)return _;clearInterval(_)}},{key:"execute",value:function(A,_){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var g=this._execute(A,_);if(g)return g;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(A,_){var g=!1,k=void 0;try{this.work(A)}catch(N){g=!0,k=!!N&&N||new Error(N)}if(g)return this.unsubscribe(),k}},{key:"_unsubscribe",value:function(){var A=this.id,_=this.scheduler,g=_.actions,k=g.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==k&&g.splice(k,1),null!=A&&(this.id=this.recycleAsyncId(_,A,null)),this.delay=null}}]),D}(function(v){(0,V.Z)(D,v);var P=(0,Z.Z)(D);function D(M,A){return(0,U.Z)(this,D),P.call(this)}return(0,B.Z)(D,[{key:"schedule",value:function(A){return this}}]),D}(f(5051).w))},81572:function(ue,q,f){"use strict";f.d(q,{v:function(){return P}});var U=f(18967),B=f(14105),V=f(88009),Z=f(20901),T=f(89200),R=f(10509),C=f(97154),v=f(67801),P=function(D){(0,R.Z)(A,D);var M=(0,C.Z)(A);function A(_){var g,k=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v.b.now;return(0,U.Z)(this,A),(g=M.call(this,_,function(){return A.delegate&&A.delegate!==(0,V.Z)(g)?A.delegate.now():k()})).actions=[],g.active=!1,g.scheduled=void 0,g}return(0,B.Z)(A,[{key:"schedule",value:function(g){var k=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,N=arguments.length>2?arguments[2]:void 0;return A.delegate&&A.delegate!==this?A.delegate.schedule(g,k,N):(0,Z.Z)((0,T.Z)(A.prototype),"schedule",this).call(this,g,k,N)}},{key:"flush",value:function(g){var k=this.actions;if(this.active)k.push(g);else{var N;this.active=!0;do{if(N=g.execute(g.state,g.delay))break}while(g=k.shift());if(this.active=!1,N){for(;g=k.shift();)g.unsubscribe();throw N}}}}]),A}(v.b)},2296:function(ue,q,f){"use strict";f.d(q,{y:function(){return P},h:function(){return D}});var U=f(20901),B=f(89200),V=f(18967),Z=f(14105),T=f(10509),R=f(97154),C=f(4065),v=f(81572),P=function(){var M=function(A){(0,T.Z)(g,A);var _=(0,R.Z)(g);function g(){var k,N=arguments.length>0&&void 0!==arguments[0]?arguments[0]:D,E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;return(0,V.Z)(this,g),(k=_.call(this,N,function(){return k.frame})).maxFrames=E,k.frame=0,k.index=-1,k}return(0,Z.Z)(g,[{key:"flush",value:function(){for(var x,S,N=this.actions,E=this.maxFrames;(S=N[0])&&S.delay<=E&&(N.shift(),this.frame=S.delay,!(x=S.execute(S.state,S.delay))););if(x){for(;S=N.shift();)S.unsubscribe();throw x}}}]),g}(v.v);return M.frameTimeFactor=10,M}(),D=function(M){(0,T.Z)(_,M);var A=(0,R.Z)(_);function _(g,k){var N,E=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g.index+=1;return(0,V.Z)(this,_),(N=A.call(this,g,k)).scheduler=g,N.work=k,N.index=E,N.active=!0,N.index=g.index=E,N}return(0,Z.Z)(_,[{key:"schedule",value:function(k){var N=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!this.id)return(0,U.Z)((0,B.Z)(_.prototype),"schedule",this).call(this,k,N);this.active=!1;var E=new _(this.scheduler,this.work);return this.add(E),E.schedule(k,N)}},{key:"requestAsyncId",value:function(k,N){var E=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;this.delay=k.frame+E;var x=k.actions;return x.push(this),x.sort(_.sortActions),!0}},{key:"recycleAsyncId",value:function(k,N){}},{key:"_execute",value:function(k,N){if(!0===this.active)return(0,U.Z)((0,B.Z)(_.prototype),"_execute",this).call(this,k,N)}}],[{key:"sortActions",value:function(k,N){return k.delay===N.delay?k.index===N.index?0:k.index>N.index?1:-1:k.delay>N.delay?1:-1}}]),_}(C.o)},58172:function(ue,q,f){"use strict";f.d(q,{r:function(){return A},Z:function(){return M}});var U=f(18967),B=f(14105),V=f(20901),Z=f(89200),T=f(10509),R=f(97154),v=function(_){(0,T.Z)(k,_);var g=(0,R.Z)(k);function k(N,E){var x;return(0,U.Z)(this,k),(x=g.call(this,N,E)).scheduler=N,x.work=E,x}return(0,B.Z)(k,[{key:"requestAsyncId",value:function(E,x){var S=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==S&&S>0?(0,V.Z)((0,Z.Z)(k.prototype),"requestAsyncId",this).call(this,E,x,S):(E.actions.push(this),E.scheduled||(E.scheduled=requestAnimationFrame(function(){return E.flush(null)})))}},{key:"recycleAsyncId",value:function(E,x){var S=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==S&&S>0||null===S&&this.delay>0)return(0,V.Z)((0,Z.Z)(k.prototype),"recycleAsyncId",this).call(this,E,x,S);0===E.actions.length&&(cancelAnimationFrame(x),E.scheduled=void 0)}}]),k}(f(4065).o),M=new(function(_){(0,T.Z)(k,_);var g=(0,R.Z)(k);function k(){return(0,U.Z)(this,k),g.apply(this,arguments)}return(0,B.Z)(k,[{key:"flush",value:function(E){this.active=!0,this.scheduled=void 0;var S,x=this.actions,O=-1,L=x.length;E=E||x.shift();do{if(S=E.execute(E.state,E.delay))break}while(++O<L&&(E=x.shift()));if(this.active=!1,S){for(;++O<L&&(E=x.shift());)E.unsubscribe();throw S}}}]),k}(f(81572).v))(v),A=M},8285:function(ue,q,f){"use strict";f.d(q,{e:function(){return _},E:function(){return A}});var U=f(18967),B=f(14105),V=f(20901),Z=f(89200),T=f(10509),R=f(97154),C=f(96421),P=function(g){(0,T.Z)(N,g);var k=(0,R.Z)(N);function N(E,x){var S;return(0,U.Z)(this,N),(S=k.call(this,E,x)).scheduler=E,S.work=x,S}return(0,B.Z)(N,[{key:"requestAsyncId",value:function(x,S){var O=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==O&&O>0?(0,V.Z)((0,Z.Z)(N.prototype),"requestAsyncId",this).call(this,x,S,O):(x.actions.push(this),x.scheduled||(x.scheduled=C.H.setImmediate(x.flush.bind(x,null))))}},{key:"recycleAsyncId",value:function(x,S){var O=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==O&&O>0||null===O&&this.delay>0)return(0,V.Z)((0,Z.Z)(N.prototype),"recycleAsyncId",this).call(this,x,S,O);0===x.actions.length&&(C.H.clearImmediate(S),x.scheduled=void 0)}}]),N}(f(4065).o),A=new(function(g){(0,T.Z)(N,g);var k=(0,R.Z)(N);function N(){return(0,U.Z)(this,N),k.apply(this,arguments)}return(0,B.Z)(N,[{key:"flush",value:function(x){this.active=!0,this.scheduled=void 0;var O,S=this.actions,L=-1,j=S.length;x=x||S.shift();do{if(O=x.execute(x.state,x.delay))break}while(++L<j&&(x=S.shift()));if(this.active=!1,O){for(;++L<j&&(x=S.shift());)x.unsubscribe();throw O}}}]),N}(f(81572).v))(P),_=A},46813:function(ue,q,f){"use strict";f.d(q,{z:function(){return V},P:function(){return Z}});var U=f(4065),V=new(f(81572).v)(U.o),Z=V},60641:function(ue,q,f){"use strict";f.d(q,{c:function(){return A},N:function(){return M}});var U=f(18967),B=f(14105),V=f(20901),Z=f(89200),T=f(10509),R=f(97154),v=function(_){(0,T.Z)(k,_);var g=(0,R.Z)(k);function k(N,E){var x;return(0,U.Z)(this,k),(x=g.call(this,N,E)).scheduler=N,x.work=E,x}return(0,B.Z)(k,[{key:"schedule",value:function(E){var x=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return x>0?(0,V.Z)((0,Z.Z)(k.prototype),"schedule",this).call(this,E,x):(this.delay=x,this.state=E,this.scheduler.flush(this),this)}},{key:"execute",value:function(E,x){return x>0||this.closed?(0,V.Z)((0,Z.Z)(k.prototype),"execute",this).call(this,E,x):this._execute(E,x)}},{key:"requestAsyncId",value:function(E,x){var S=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==S&&S>0||null===S&&this.delay>0?(0,V.Z)((0,Z.Z)(k.prototype),"requestAsyncId",this).call(this,E,x,S):E.flush(this)}}]),k}(f(4065).o),M=new(function(_){(0,T.Z)(k,_);var g=(0,R.Z)(k);function k(){return(0,U.Z)(this,k),g.apply(this,arguments)}return k}(f(81572).v))(v),A=M},81695:function(ue,q,f){"use strict";function U(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}f.d(q,{hZ:function(){return B}});var B=U()},57694:function(ue,q,f){"use strict";f.d(q,{L:function(){return U}});var U=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}()},79542:function(ue,q,f){"use strict";f.d(q,{b:function(){return U}});var U=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}()},9855:function(ue,q,f){"use strict";f.d(q,{W:function(){return B}});var B=function(){function V(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return V.prototype=Object.create(Error.prototype),V}()},64646:function(ue,q,f){"use strict";f.d(q,{K:function(){return B}});var B=function(){function V(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return V.prototype=Object.create(Error.prototype),V}()},96421:function(ue,q,f){"use strict";f.d(q,{H:function(){return T}});var U=1,B=function(){return Promise.resolve()}(),V={};function Z(C){return C in V&&(delete V[C],!0)}var T={setImmediate:function(v){var P=U++;return V[P]=!0,B.then(function(){return Z(P)&&v()}),P},clearImmediate:function(v){Z(v)}}},1696:function(ue,q,f){"use strict";f.d(q,{N:function(){return B}});var B=function(){function V(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return V.prototype=Object.create(Error.prototype),V}()},98691:function(ue,q,f){"use strict";f.d(q,{W:function(){return B}});var B=function(){function V(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return V.prototype=Object.create(Error.prototype),V}()},66351:function(ue,q,f){"use strict";f.d(q,{B:function(){return B}});var B=function(){function V(Z){return Error.call(this),this.message=Z?"".concat(Z.length," errors occurred during unsubscription:\n").concat(Z.map(function(T,R){return"".concat(R+1,") ").concat(T.toString())}).join("\n  ")):"",this.name="UnsubscriptionError",this.errors=Z,this}return V.prototype=Object.create(Error.prototype),V}()},2808:function(ue,q,f){"use strict";function U(B,V){for(var Z=0,T=V.length;Z<T;Z++)for(var R=V[Z],C=Object.getOwnPropertyNames(R.prototype),v=0,P=C.length;v<P;v++){var D=C[v];B.prototype[D]=R.prototype[D]}}f.d(q,{e:function(){return U}})},20006:function(ue,q,f){"use strict";f.d(q,{_:function(){return B}});var U=f(39874);function B(V){for(;V;){var R=V.destination;if(V.closed||V.isStopped)return!1;V=R&&R instanceof U.L?R:null}return!0}},82009:function(ue,q,f){"use strict";function U(B){setTimeout(function(){throw B},0)}f.d(q,{z:function(){return U}})},57070:function(ue,q,f){"use strict";function U(B){return B}f.d(q,{y:function(){return U}})},78985:function(ue,q,f){"use strict";f.d(q,{k:function(){return U}});var U=function(){return Array.isArray||function(B){return B&&"number"==typeof B.length}}()},30621:function(ue,q,f){"use strict";f.d(q,{z:function(){return U}});var U=function(V){return V&&"number"==typeof V.length&&"function"!=typeof V}},88972:function(ue,q,f){"use strict";function U(B){return B instanceof Date&&!isNaN(+B)}f.d(q,{J:function(){return U}})},20684:function(ue,q,f){"use strict";function U(B){return"function"==typeof B}f.d(q,{m:function(){return U}})},19104:function(ue,q,f){"use strict";f.d(q,{c:function(){return B}});var U=f(57694);function B(V){return V&&"function"==typeof V[U.L]}},2762:function(ue,q,f){"use strict";f.d(q,{T:function(){return B}});var U=f(81695);function B(V){return V&&"function"==typeof V[U.hZ]}},11705:function(ue,q,f){"use strict";f.d(q,{k:function(){return B}});var U=f(78985);function B(V){return!(0,U.k)(V)&&V-parseFloat(V)+1>=0}},64902:function(ue,q,f){"use strict";function U(B){return null!==B&&"object"==typeof B}f.d(q,{K:function(){return U}})},17504:function(ue,q,f){"use strict";f.d(q,{b:function(){return B}});var U=f(89797);function B(V){return!!V&&(V instanceof U.y||"function"==typeof V.lift&&"function"==typeof V.subscribe)}},36514:function(ue,q,f){"use strict";function U(B){return!!B&&"function"!=typeof B.subscribe&&"function"==typeof B.then}f.d(q,{t:function(){return U}})},91299:function(ue,q,f){"use strict";function U(B){return B&&"function"==typeof B.schedule}f.d(q,{K:function(){return U}})},66029:function(ue,q,f){"use strict";function U(){}f.d(q,{Z:function(){return U}})},59849:function(ue,q,f){"use strict";function U(B,V){function Z(){return!Z.pred.apply(Z.thisArg,arguments)}return Z.pred=B,Z.thisArg=V,Z}f.d(q,{f:function(){return U}})},96194:function(ue,q,f){"use strict";f.d(q,{z:function(){return B},U:function(){return V}});var U=f(57070);function B(){for(var Z=arguments.length,T=new Array(Z),R=0;R<Z;R++)T[R]=arguments[R];return V(T)}function V(Z){return 0===Z.length?U.y:1===Z.length?Z[0]:function(R){return Z.reduce(function(C,v){return v(C)},R)}}},44962:function(ue,q,f){"use strict";f.d(q,{J:function(){return Z}});var U="undefined"!=typeof window&&window,B="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,V="undefined"!=typeof global&&global,Z=U||V||B},20735:function(ue,q,f){"use strict";f.d(q,{s:function(){return D}});var U=f(22312),B=f(56112),V=f(49089),Z=f(71414),T=f(30621),R=f(36514),C=f(64902),v=f(81695),P=f(57694),D=function(A){if(A&&"function"==typeof A[P.L])return(0,Z.h)(A);if((0,T.z)(A))return(0,U.V)(A);if((0,R.t)(A))return(0,B.A)(A);if(A&&"function"==typeof A[v.hZ])return(0,V.u)(A);var _=(0,C.K)(A)?"an invalid object":"'".concat(A,"'"),g="You provided ".concat(_," where a stream was expected.")+" You can provide an Observable, Promise, Array, or Iterable.";throw new TypeError(g)}},22312:function(ue,q,f){"use strict";f.d(q,{V:function(){return U}});var U=function(V){return function(Z){for(var T=0,R=V.length;T<R&&!Z.closed;T++)Z.next(V[T]);Z.complete()}}},49089:function(ue,q,f){"use strict";f.d(q,{u:function(){return B}});var U=f(81695),B=function(Z){return function(T){for(var R=Z[U.hZ]();;){var C=void 0;try{C=R.next()}catch(v){return T.error(v),T}if(C.done){T.complete();break}if(T.next(C.value),T.closed)break}return"function"==typeof R.return&&T.add(function(){R.return&&R.return()}),T}}},71414:function(ue,q,f){"use strict";f.d(q,{h:function(){return B}});var U=f(57694),B=function(Z){return function(T){var R=Z[U.L]();if("function"!=typeof R.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return R.subscribe(T)}}},56112:function(ue,q,f){"use strict";f.d(q,{A:function(){return B}});var U=f(82009),B=function(Z){return function(T){return Z.then(function(R){T.closed||(T.next(R),T.complete())},function(R){return T.error(R)}).then(null,U.z),T}}},61454:function(ue,q,f){"use strict";f.d(q,{D:function(){return Z}});var U=f(22320),B=f(20735),V=f(89797);function Z(T,R,C,v){var P=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new U.d(T,C,v);if(!P.closed)return R instanceof V.y?R.subscribe(P):(0,B.s)(R)(P)}},3410:function(ue,q,f){"use strict";f.d(q,{Y:function(){return Z}});var U=f(39874),B=f(79542),V=f(88944);function Z(T,R,C){if(T){if(T instanceof U.L)return T;if(T[B.b])return T[B.b]()}return T||R||C?new U.L(T,R,C):new U.L(V.c)}},73033:function(ue,q,f){"use strict";f.r(q),f.d(q,{audit:function(){return U.U},auditTime:function(){return B.e},buffer:function(){return P},bufferCount:function(){return k},bufferTime:function(){return L},bufferToggle:function(){return le},bufferWhen:function(){return be},catchError:function(){return _t.K},combineAll:function(){return Ft},combineLatest:function(){return Qe},concat:function(){return xt},concatAll:function(){return vt.u},concatMap:function(){return Qt.b},concatMapTo:function(){return Ht},count:function(){return Ct.Q},debounce:function(){return Vt},debounceTime:function(){return Nt.b},defaultIfEmpty:function(){return rn.d},delay:function(){return kn.g},delayWhen:function(){return In},dematerialize:function(){return ut},distinct:function(){return ye},distinctUntilChanged:function(){return ct.x},distinctUntilKeyChanged:function(){return ht},elementAt:function(){return cn},endWith:function(){return Tn},every:function(){return Pn},exhaust:function(){return Sn},exhaustMap:function(){return Rt},expand:function(){return rt},filter:function(){return Kt.h},finalize:function(){return Ne.x},find:function(){return Le},findIndex:function(){return an},first:function(){return qn.P},flatMap:function(){return qt.VS},groupBy:function(){return Nr.v},ignoreElements:function(){return qr},isEmpty:function(){return uo},last:function(){return co.Z},map:function(){return Ut.U},mapTo:function(){return Qo.h},materialize:function(){return ro},max:function(){return Wn},merge:function(){return jt},mergeAll:function(){return Pt.J},mergeMap:function(){return qt.zg},mergeMapTo:function(){return Gt},mergeScan:function(){return Xt},min:function(){return jn},multicast:function(){return zn.O},observeOn:function(){return si.QV},onErrorResumeNext:function(){return bi},pairwise:function(){return Po.G},partition:function(){return ko},pluck:function(){return ii},publish:function(){return ji},publishBehavior:function(){return Vo},publishLast:function(){return Ji},publishReplay:function(){return vn},race:function(){return fo},reduce:function(){return ki},refCount:function(){return Bi.x},repeat:function(){return Si},repeatWhen:function(){return ma},retry:function(){return hs},retryWhen:function(){return Ma},sample:function(){return ga},sampleTime:function(){return Aa},scan:function(){return po.R},sequenceEqual:function(){return Ui},share:function(){return qa.B},shareReplay:function(){return Au.d},single:function(){return Ki},skip:function(){return tn.T},skipLast:function(){return eu},skipUntil:function(){return pe},skipWhile:function(){return We},startWith:function(){return _e.O},subscribeOn:function(){return Re},switchAll:function(){return gt},switchMap:function(){return St.w},switchMapTo:function(){return Xr},take:function(){return nn.q},takeLast:function(){return fi.h},takeUntil:function(){return jr.R},takeWhile:function(){return Pi.o},tap:function(){return ya.b},throttle:function(){return li.P},throttleTime:function(){return Ii},throwIfEmpty:function(){return Yt.T},timeInterval:function(){return ba.J},timeout:function(){return Ar},timeoutWith:function(){return Sp},timestamp:function(){return Tp.A},toArray:function(){return xp},window:function(){return wp},windowCount:function(){return wv},windowTime:function(){return ee},windowToggle:function(){return un},windowWhen:function(){return Qn},withLatestFrom:function(){return Cr},zip:function(){return oi},zipAll:function(){return Mo}});var U=f(67494),B=f(54562),V=f(88009),Z=f(10509),T=f(97154),R=f(18967),C=f(14105),v=f(32124);function P(Be){return function(ke){return ke.lift(new D(Be))}}var D=function(){function Be(Ye){(0,R.Z)(this,Be),this.closingNotifier=Ye}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new M(ke,this.closingNotifier))}}]),Be}(),M=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze){var nt;return(0,R.Z)(this,ke),(nt=Ye.call(this,Ue)).buffer=[],nt.add((0,v.ft)(Ze,new v.IY((0,V.Z)(nt)))),nt}return(0,C.Z)(ke,[{key:"_next",value:function(Ze){this.buffer.push(Ze)}},{key:"notifyNext",value:function(){var Ze=this.buffer;this.buffer=[],this.destination.next(Ze)}}]),ke}(v.Ds),A=f(20901),_=f(89200),g=f(39874);function k(Be){var Ye=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(Ue){return Ue.lift(new N(Be,Ye))}}var N=function(){function Be(Ye,ke){(0,R.Z)(this,Be),this.bufferSize=Ye,this.startBufferEvery=ke,this.subscriberClass=ke&&Ye!==ke?x:E}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new this.subscriberClass(ke,this.bufferSize,this.startBufferEvery))}}]),Be}(),E=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze){var nt;return(0,R.Z)(this,ke),(nt=Ye.call(this,Ue)).bufferSize=Ze,nt.buffer=[],nt}return(0,C.Z)(ke,[{key:"_next",value:function(Ze){var nt=this.buffer;nt.push(Ze),nt.length==this.bufferSize&&(this.destination.next(nt),this.buffer=[])}},{key:"_complete",value:function(){var Ze=this.buffer;Ze.length>0&&this.destination.next(Ze),(0,A.Z)((0,_.Z)(ke.prototype),"_complete",this).call(this)}}]),ke}(g.L),x=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze,nt){var Tt;return(0,R.Z)(this,ke),(Tt=Ye.call(this,Ue)).bufferSize=Ze,Tt.startBufferEvery=nt,Tt.buffers=[],Tt.count=0,Tt}return(0,C.Z)(ke,[{key:"_next",value:function(Ze){var nt=this.bufferSize,Tt=this.startBufferEvery,sn=this.buffers,bn=this.count;this.count++,bn%Tt==0&&sn.push([]);for(var xr=sn.length;xr--;){var Ri=sn[xr];Ri.push(Ze),Ri.length===nt&&(sn.splice(xr,1),this.destination.next(Ri))}}},{key:"_complete",value:function(){for(var Ze=this.buffers,nt=this.destination;Ze.length>0;){var Tt=Ze.shift();Tt.length>0&&nt.next(Tt)}(0,A.Z)((0,_.Z)(ke.prototype),"_complete",this).call(this)}}]),ke}(g.L),S=f(46813),O=f(91299);function L(Be){var Ye=arguments.length,ke=S.P;(0,O.K)(arguments[arguments.length-1])&&(ke=arguments[arguments.length-1],Ye--);var Ue=null;Ye>=2&&(Ue=arguments[1]);var Ze=Number.POSITIVE_INFINITY;return Ye>=3&&(Ze=arguments[2]),function(Tt){return Tt.lift(new j(Be,Ue,Ze,ke))}}var j=function(){function Be(Ye,ke,Ue,Ze){(0,R.Z)(this,Be),this.bufferTimeSpan=Ye,this.bufferCreationInterval=ke,this.maxBufferSize=Ue,this.scheduler=Ze}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new z(ke,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))}}]),Be}(),K=function Be(){(0,R.Z)(this,Be),this.buffer=[]},z=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze,nt,Tt,sn){var bn;(0,R.Z)(this,ke),(bn=Ye.call(this,Ue)).bufferTimeSpan=Ze,bn.bufferCreationInterval=nt,bn.maxBufferSize=Tt,bn.scheduler=sn,bn.contexts=[];var xr=bn.openContext();if(bn.timespanOnly=null==nt||nt<0,bn.timespanOnly){var Ri={subscriber:(0,V.Z)(bn),context:xr,bufferTimeSpan:Ze};bn.add(xr.closeAction=sn.schedule(J,Ze,Ri))}else{var Xo={subscriber:(0,V.Z)(bn),context:xr},Pa={bufferTimeSpan:Ze,bufferCreationInterval:nt,subscriber:(0,V.Z)(bn),scheduler:sn};bn.add(xr.closeAction=sn.schedule(te,Ze,Xo)),bn.add(sn.schedule(ie,nt,Pa))}return bn}return(0,C.Z)(ke,[{key:"_next",value:function(Ze){for(var sn,nt=this.contexts,Tt=nt.length,bn=0;bn<Tt;bn++){var xr=nt[bn],Ri=xr.buffer;Ri.push(Ze),Ri.length==this.maxBufferSize&&(sn=xr)}sn&&this.onBufferFull(sn)}},{key:"_error",value:function(Ze){this.contexts.length=0,(0,A.Z)((0,_.Z)(ke.prototype),"_error",this).call(this,Ze)}},{key:"_complete",value:function(){for(var Ze=this.contexts,nt=this.destination;Ze.length>0;){var Tt=Ze.shift();nt.next(Tt.buffer)}(0,A.Z)((0,_.Z)(ke.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){this.contexts=null}},{key:"onBufferFull",value:function(Ze){this.closeContext(Ze);var nt=Ze.closeAction;if(nt.unsubscribe(),this.remove(nt),!this.closed&&this.timespanOnly){Ze=this.openContext();var Tt=this.bufferTimeSpan;this.add(Ze.closeAction=this.scheduler.schedule(J,Tt,{subscriber:this,context:Ze,bufferTimeSpan:Tt}))}}},{key:"openContext",value:function(){var Ze=new K;return this.contexts.push(Ze),Ze}},{key:"closeContext",value:function(Ze){this.destination.next(Ze.buffer);var nt=this.contexts;(nt?nt.indexOf(Ze):-1)>=0&&nt.splice(nt.indexOf(Ze),1)}}]),ke}(g.L);function J(Be){var Ye=Be.subscriber,ke=Be.context;ke&&Ye.closeContext(ke),Ye.closed||(Be.context=Ye.openContext(),Be.context.closeAction=this.schedule(Be,Be.bufferTimeSpan))}function ie(Be){var Ye=Be.bufferCreationInterval,ke=Be.bufferTimeSpan,Ue=Be.subscriber,Ze=Be.scheduler,nt=Ue.openContext();Ue.closed||(Ue.add(nt.closeAction=Ze.schedule(te,ke,{subscriber:Ue,context:nt})),this.schedule(Be,Ye))}function te(Be){Be.subscriber.closeContext(Be.context)}var ae=f(5051),se=f(61454),ce=f(7283);function le(Be,Ye){return function(Ue){return Ue.lift(new oe(Be,Ye))}}var oe=function(){function Be(Ye,ke){(0,R.Z)(this,Be),this.openings=Ye,this.closingSelector=ke}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new Ae(ke,this.openings,this.closingSelector))}}]),Be}(),Ae=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze,nt){var Tt;return(0,R.Z)(this,ke),(Tt=Ye.call(this,Ue)).closingSelector=nt,Tt.contexts=[],Tt.add((0,se.D)((0,V.Z)(Tt),Ze)),Tt}return(0,C.Z)(ke,[{key:"_next",value:function(Ze){for(var nt=this.contexts,Tt=nt.length,sn=0;sn<Tt;sn++)nt[sn].buffer.push(Ze)}},{key:"_error",value:function(Ze){for(var nt=this.contexts;nt.length>0;){var Tt=nt.shift();Tt.subscription.unsubscribe(),Tt.buffer=null,Tt.subscription=null}this.contexts=null,(0,A.Z)((0,_.Z)(ke.prototype),"_error",this).call(this,Ze)}},{key:"_complete",value:function(){for(var Ze=this.contexts;Ze.length>0;){var nt=Ze.shift();this.destination.next(nt.buffer),nt.subscription.unsubscribe(),nt.buffer=null,nt.subscription=null}this.contexts=null,(0,A.Z)((0,_.Z)(ke.prototype),"_complete",this).call(this)}},{key:"notifyNext",value:function(Ze,nt){Ze?this.closeBuffer(Ze):this.openBuffer(nt)}},{key:"notifyComplete",value:function(Ze){this.closeBuffer(Ze.context)}},{key:"openBuffer",value:function(Ze){try{var Tt=this.closingSelector.call(this,Ze);Tt&&this.trySubscribe(Tt)}catch(sn){this._error(sn)}}},{key:"closeBuffer",value:function(Ze){var nt=this.contexts;if(nt&&Ze){var sn=Ze.subscription;this.destination.next(Ze.buffer),nt.splice(nt.indexOf(Ze),1),this.remove(sn),sn.unsubscribe()}}},{key:"trySubscribe",value:function(Ze){var nt=this.contexts,sn=new ae.w,bn={buffer:[],subscription:sn};nt.push(bn);var xr=(0,se.D)(this,Ze,bn);!xr||xr.closed?this.closeBuffer(bn):(xr.context=bn,this.add(xr),sn.add(xr))}}]),ke}(ce.L);function be(Be){return function(Ye){return Ye.lift(new it(Be))}}var it=function(){function Be(Ye){(0,R.Z)(this,Be),this.closingSelector=Ye}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new qe(ke,this.closingSelector))}}]),Be}(),qe=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze){var nt;return(0,R.Z)(this,ke),(nt=Ye.call(this,Ue)).closingSelector=Ze,nt.subscribing=!1,nt.openBuffer(),nt}return(0,C.Z)(ke,[{key:"_next",value:function(Ze){this.buffer.push(Ze)}},{key:"_complete",value:function(){var Ze=this.buffer;Ze&&this.destination.next(Ze),(0,A.Z)((0,_.Z)(ke.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){this.buffer=void 0,this.subscribing=!1}},{key:"notifyNext",value:function(){this.openBuffer()}},{key:"notifyComplete",value:function(){this.subscribing?this.complete():this.openBuffer()}},{key:"openBuffer",value:function(){var Tt,Ze=this.closingSubscription;Ze&&(this.remove(Ze),Ze.unsubscribe()),this.buffer&&this.destination.next(this.buffer),this.buffer=[];try{Tt=(0,this.closingSelector)()}catch(bn){return this.error(bn)}Ze=new ae.w,this.closingSubscription=Ze,this.add(Ze),this.subscribing=!0,Ze.add((0,v.ft)(Tt,new v.IY(this))),this.subscribing=!1}}]),ke}(v.Ds),_t=f(13426),yt=f(81370);function Ft(Be){return function(Ye){return Ye.lift(new yt.Ms(Be))}}var xe=f(10629),Oe=f(78985),je=f(61493);function Qe(){for(var Be=arguments.length,Ye=new Array(Be),ke=0;ke<Be;ke++)Ye[ke]=arguments[ke];var Ue=null;return"function"==typeof Ye[Ye.length-1]&&(Ue=Ye.pop()),1===Ye.length&&(0,Oe.k)(Ye[0])&&(Ye=Ye[0].slice()),function(Ze){return Ze.lift.call((0,je.D)([Ze].concat((0,xe.Z)(Ye))),new yt.Ms(Ue))}}var Bt=f(60131);function xt(){for(var Be=arguments.length,Ye=new Array(Be),ke=0;ke<Be;ke++)Ye[ke]=arguments[ke];return function(Ue){return Ue.lift.call(Bt.z.apply(void 0,[Ue].concat(Ye)))}}var vt=f(95416),Qt=f(38575);function Ht(Be,Ye){return(0,Qt.b)(function(){return Be},Ye)}var Ct=f(75398);function Vt(Be){return function(Ye){return Ye.lift(new bt(Be))}}var bt=function(){function Be(Ye){(0,R.Z)(this,Be),this.durationSelector=Ye}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new en(ke,this.durationSelector))}}]),Be}(),en=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze){var nt;return(0,R.Z)(this,ke),(nt=Ye.call(this,Ue)).durationSelector=Ze,nt.hasValue=!1,nt}return(0,C.Z)(ke,[{key:"_next",value:function(Ze){try{var nt=this.durationSelector.call(this,Ze);nt&&this._tryNext(Ze,nt)}catch(Tt){this.destination.error(Tt)}}},{key:"_complete",value:function(){this.emitValue(),this.destination.complete()}},{key:"_tryNext",value:function(Ze,nt){var Tt=this.durationSubscription;this.value=Ze,this.hasValue=!0,Tt&&(Tt.unsubscribe(),this.remove(Tt)),(Tt=(0,v.ft)(nt,new v.IY(this)))&&!Tt.closed&&this.add(this.durationSubscription=Tt)}},{key:"notifyNext",value:function(){this.emitValue()}},{key:"notifyComplete",value:function(){this.emitValue()}},{key:"emitValue",value:function(){if(this.hasValue){var Ze=this.value,nt=this.durationSubscription;nt&&(this.durationSubscription=void 0,nt.unsubscribe(),this.remove(nt)),this.value=void 0,this.hasValue=!1,(0,A.Z)((0,_.Z)(ke.prototype),"_next",this).call(this,Ze)}}}]),ke}(v.Ds),Nt=f(57263),rn=f(34235),kn=f(86004),Nn=f(89797);function In(Be,Ye){return Ye?function(ke){return new wn(ke,Ye).lift(new $n(Be))}:function(ke){return ke.lift(new $n(Be))}}var $n=function(){function Be(Ye){(0,R.Z)(this,Be),this.delayDurationSelector=Ye}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new Rn(ke,this.delayDurationSelector))}}]),Be}(),Rn=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze){var nt;return(0,R.Z)(this,ke),(nt=Ye.call(this,Ue)).delayDurationSelector=Ze,nt.completed=!1,nt.delayNotifierSubscriptions=[],nt.index=0,nt}return(0,C.Z)(ke,[{key:"notifyNext",value:function(Ze,nt,Tt,sn,bn){this.destination.next(Ze),this.removeSubscription(bn),this.tryComplete()}},{key:"notifyError",value:function(Ze,nt){this._error(Ze)}},{key:"notifyComplete",value:function(Ze){var nt=this.removeSubscription(Ze);nt&&this.destination.next(nt),this.tryComplete()}},{key:"_next",value:function(Ze){var nt=this.index++;try{var Tt=this.delayDurationSelector(Ze,nt);Tt&&this.tryDelay(Tt,Ze)}catch(sn){this.destination.error(sn)}}},{key:"_complete",value:function(){this.completed=!0,this.tryComplete(),this.unsubscribe()}},{key:"removeSubscription",value:function(Ze){Ze.unsubscribe();var nt=this.delayNotifierSubscriptions.indexOf(Ze);return-1!==nt&&this.delayNotifierSubscriptions.splice(nt,1),Ze.outerValue}},{key:"tryDelay",value:function(Ze,nt){var Tt=(0,se.D)(this,Ze,nt);Tt&&!Tt.closed&&(this.destination.add(Tt),this.delayNotifierSubscriptions.push(Tt))}},{key:"tryComplete",value:function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()}}]),ke}(ce.L),wn=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze){var nt;return(0,R.Z)(this,ke),(nt=Ye.call(this)).source=Ue,nt.subscriptionDelay=Ze,nt}return(0,C.Z)(ke,[{key:"_subscribe",value:function(Ze){this.subscriptionDelay.subscribe(new yr(Ze,this.source))}}]),ke}(Nn.y),yr=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze){var nt;return(0,R.Z)(this,ke),(nt=Ye.call(this)).parent=Ue,nt.source=Ze,nt.sourceSubscribed=!1,nt}return(0,C.Z)(ke,[{key:"_next",value:function(Ze){this.subscribeToSource()}},{key:"_error",value:function(Ze){this.unsubscribe(),this.parent.error(Ze)}},{key:"_complete",value:function(){this.unsubscribe(),this.subscribeToSource()}},{key:"subscribeToSource",value:function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))}}]),ke}(g.L);function ut(){return function(Ye){return Ye.lift(new He)}}var He=function(){function Be(){(0,R.Z)(this,Be)}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new ve(ke))}}]),Be}(),ve=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue){return(0,R.Z)(this,ke),Ye.call(this,Ue)}return(0,C.Z)(ke,[{key:"_next",value:function(Ze){Ze.observe(this.destination)}}]),ke}(g.L);function ye(Be,Ye){return function(ke){return ke.lift(new Te(Be,Ye))}}var Te=function(){function Be(Ye,ke){(0,R.Z)(this,Be),this.keySelector=Ye,this.flushes=ke}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new we(ke,this.keySelector,this.flushes))}}]),Be}(),we=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze,nt){var Tt;return(0,R.Z)(this,ke),(Tt=Ye.call(this,Ue)).keySelector=Ze,Tt.values=new Set,nt&&Tt.add((0,v.ft)(nt,new v.IY((0,V.Z)(Tt)))),Tt}return(0,C.Z)(ke,[{key:"notifyNext",value:function(){this.values.clear()}},{key:"notifyError",value:function(Ze){this._error(Ze)}},{key:"_next",value:function(Ze){this.keySelector?this._useKeySelector(Ze):this._finalizeNext(Ze,Ze)}},{key:"_useKeySelector",value:function(Ze){var nt,Tt=this.destination;try{nt=this.keySelector(Ze)}catch(sn){return void Tt.error(sn)}this._finalizeNext(nt,Ze)}},{key:"_finalizeNext",value:function(Ze,nt){var Tt=this.values;Tt.has(Ze)||(Tt.add(Ze),this.destination.next(nt))}}]),ke}(v.Ds),ct=f(76161);function ht(Be,Ye){return(0,ct.x)(function(ke,Ue){return Ye?Ye(ke[Be],Ue[Be]):ke[Be]===Ue[Be]})}var Jt=f(9855),Kt=f(58780),Yt=f(88942),nn=f(48359);function cn(Be,Ye){if(Be<0)throw new Jt.W;var ke=arguments.length>=2;return function(Ue){return Ue.pipe((0,Kt.h)(function(Ze,nt){return nt===Be}),(0,nn.q)(1),ke?(0,rn.d)(Ye):(0,Yt.T)(function(){return new Jt.W}))}}var yn=f(43161);function Tn(){for(var Be=arguments.length,Ye=new Array(Be),ke=0;ke<Be;ke++)Ye[ke]=arguments[ke];return function(Ue){return(0,Bt.z)(Ue,yn.of.apply(void 0,Ye))}}function Pn(Be,Ye){return function(ke){return ke.lift(new Yn(Be,Ye,ke))}}var Yn=function(){function Be(Ye,ke,Ue){(0,R.Z)(this,Be),this.predicate=Ye,this.thisArg=ke,this.source=Ue}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new Cn(ke,this.predicate,this.thisArg,this.source))}}]),Be}(),Cn=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze,nt,Tt){var sn;return(0,R.Z)(this,ke),(sn=Ye.call(this,Ue)).predicate=Ze,sn.thisArg=nt,sn.source=Tt,sn.index=0,sn.thisArg=nt||(0,V.Z)(sn),sn}return(0,C.Z)(ke,[{key:"notifyComplete",value:function(Ze){this.destination.next(Ze),this.destination.complete()}},{key:"_next",value:function(Ze){var nt=!1;try{nt=this.predicate.call(this.thisArg,Ze,this.index++,this.source)}catch(Tt){return void this.destination.error(Tt)}nt||this.notifyComplete(!1)}},{key:"_complete",value:function(){this.notifyComplete(!0)}}]),ke}(g.L);function Sn(){return function(Be){return Be.lift(new tr)}}var tr=function(){function Be(){(0,R.Z)(this,Be)}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new cr(ke))}}]),Be}(),cr=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue){var Ze;return(0,R.Z)(this,ke),(Ze=Ye.call(this,Ue)).hasCompleted=!1,Ze.hasSubscription=!1,Ze}return(0,C.Z)(ke,[{key:"_next",value:function(Ze){this.hasSubscription||(this.hasSubscription=!0,this.add((0,v.ft)(Ze,new v.IY(this))))}},{key:"_complete",value:function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()}},{key:"notifyComplete",value:function(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}]),ke}(v.Ds),Ut=f(85639);function Rt(Be,Ye){return Ye?function(ke){return ke.pipe(Rt(function(Ue,Ze){return(0,je.D)(Be(Ue,Ze)).pipe((0,Ut.U)(function(nt,Tt){return Ye(Ue,nt,Ze,Tt)}))}))}:function(ke){return ke.lift(new Lt(Be))}}var Lt=function(){function Be(Ye){(0,R.Z)(this,Be),this.project=Ye}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new Pe(ke,this.project))}}]),Be}(),Pe=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze){var nt;return(0,R.Z)(this,ke),(nt=Ye.call(this,Ue)).project=Ze,nt.hasSubscription=!1,nt.hasCompleted=!1,nt.index=0,nt}return(0,C.Z)(ke,[{key:"_next",value:function(Ze){this.hasSubscription||this.tryNext(Ze)}},{key:"tryNext",value:function(Ze){var nt,Tt=this.index++;try{nt=this.project(Ze,Tt)}catch(sn){return void this.destination.error(sn)}this.hasSubscription=!0,this._innerSub(nt)}},{key:"_innerSub",value:function(Ze){var nt=new v.IY(this),Tt=this.destination;Tt.add(nt);var sn=(0,v.ft)(Ze,nt);sn!==nt&&Tt.add(sn)}},{key:"_complete",value:function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(Ze){this.destination.next(Ze)}},{key:"notifyError",value:function(Ze){this.destination.error(Ze)}},{key:"notifyComplete",value:function(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}]),ke}(v.Ds);function rt(Be){var Ye=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,ke=arguments.length>2?arguments[2]:void 0;return Ye=(Ye||0)<1?Number.POSITIVE_INFINITY:Ye,function(Ue){return Ue.lift(new he(Be,Ye,ke))}}var he=function(){function Be(Ye,ke,Ue){(0,R.Z)(this,Be),this.project=Ye,this.concurrent=ke,this.scheduler=Ue}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new Ie(ke,this.project,this.concurrent,this.scheduler))}}]),Be}(),Ie=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze,nt,Tt){var sn;return(0,R.Z)(this,ke),(sn=Ye.call(this,Ue)).project=Ze,sn.concurrent=nt,sn.scheduler=Tt,sn.index=0,sn.active=0,sn.hasCompleted=!1,nt<Number.POSITIVE_INFINITY&&(sn.buffer=[]),sn}return(0,C.Z)(ke,[{key:"_next",value:function(Ze){var nt=this.destination;if(nt.closed)this._complete();else{var Tt=this.index++;if(this.active<this.concurrent){nt.next(Ze);try{var bn=(0,this.project)(Ze,Tt);this.scheduler?this.destination.add(this.scheduler.schedule(ke.dispatch,0,{subscriber:this,result:bn,value:Ze,index:Tt})):this.subscribeToProjection(bn,Ze,Tt)}catch(Xo){nt.error(Xo)}}else this.buffer.push(Ze)}}},{key:"subscribeToProjection",value:function(Ze,nt,Tt){this.active++,this.destination.add((0,v.ft)(Ze,new v.IY(this)))}},{key:"_complete",value:function(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(Ze){this._next(Ze)}},{key:"notifyComplete",value:function(){var Ze=this.buffer;this.active--,Ze&&Ze.length>0&&this._next(Ze.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()}}],[{key:"dispatch",value:function(Ze){Ze.subscriber.subscribeToProjection(Ze.result,Ze.value,Ze.index)}}]),ke}(v.Ds),Ne=f(59803);function Le(Be,Ye){if("function"!=typeof Be)throw new TypeError("predicate is not a function");return function(ke){return ke.lift(new ze(Be,ke,!1,Ye))}}var ze=function(){function Be(Ye,ke,Ue,Ze){(0,R.Z)(this,Be),this.predicate=Ye,this.source=ke,this.yieldIndex=Ue,this.thisArg=Ze}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new At(ke,this.predicate,this.source,this.yieldIndex,this.thisArg))}}]),Be}(),At=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze,nt,Tt,sn){var bn;return(0,R.Z)(this,ke),(bn=Ye.call(this,Ue)).predicate=Ze,bn.source=nt,bn.yieldIndex=Tt,bn.thisArg=sn,bn.index=0,bn}return(0,C.Z)(ke,[{key:"notifyComplete",value:function(Ze){var nt=this.destination;nt.next(Ze),nt.complete(),this.unsubscribe()}},{key:"_next",value:function(Ze){var nt=this.predicate,Tt=this.thisArg,sn=this.index++;try{nt.call(Tt||this,Ze,sn,this.source)&&this.notifyComplete(this.yieldIndex?sn:Ze)}catch(xr){this.destination.error(xr)}}},{key:"_complete",value:function(){this.notifyComplete(this.yieldIndex?-1:void 0)}}]),ke}(g.L);function an(Be,Ye){return function(ke){return ke.lift(new ze(Be,ke,!0,Ye))}}var qn=f(64233),Nr=f(86072);function qr(){return function(Ye){return Ye.lift(new br)}}var br=function(){function Be(){(0,R.Z)(this,Be)}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new Qr(ke))}}]),Be}(),Qr=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(){return(0,R.Z)(this,ke),Ye.apply(this,arguments)}return(0,C.Z)(ke,[{key:"_next",value:function(Ze){}}]),ke}(g.L);function uo(){return function(Be){return Be.lift(new Ni)}}var Ni=function(){function Be(){(0,R.Z)(this,Be)}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new yo(ke))}}]),Be}(),yo=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue){return(0,R.Z)(this,ke),Ye.call(this,Ue)}return(0,C.Z)(ke,[{key:"notifyComplete",value:function(Ze){var nt=this.destination;nt.next(Ze),nt.complete()}},{key:"_next",value:function(Ze){this.notifyComplete(!1)}},{key:"_complete",value:function(){this.notifyComplete(!0)}}]),ke}(g.L),co=f(99583),Qo=f(12698),wi=f(80286);function ro(){return function(Ye){return Ye.lift(new yi)}}var yi=function(){function Be(){(0,R.Z)(this,Be)}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new Gi(ke))}}]),Be}(),Gi=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue){return(0,R.Z)(this,ke),Ye.call(this,Ue)}return(0,C.Z)(ke,[{key:"_next",value:function(Ze){this.destination.next(wi.P.createNext(Ze))}},{key:"_error",value:function(Ze){var nt=this.destination;nt.next(wi.P.createError(Ze)),nt.complete()}},{key:"_complete",value:function(){var Ze=this.destination;Ze.next(wi.P.createComplete()),Ze.complete()}}]),ke}(g.L),po=f(31927),fi=f(64397),Uo=f(96194);function ki(Be,Ye){return arguments.length>=2?function(Ue){return(0,Uo.z)((0,po.R)(Be,Ye),(0,fi.h)(1),(0,rn.d)(Ye))(Ue)}:function(Ue){return(0,Uo.z)((0,po.R)(function(Ze,nt,Tt){return Be(Ze,nt,Tt+1)}),(0,fi.h)(1))(Ue)}}function Wn(Be){return ki("function"==typeof Be?function(ke,Ue){return Be(ke,Ue)>0?ke:Ue}:function(ke,Ue){return ke>Ue?ke:Ue})}var Ot=f(55371);function jt(){for(var Be=arguments.length,Ye=new Array(Be),ke=0;ke<Be;ke++)Ye[ke]=arguments[ke];return function(Ue){return Ue.lift.call(Ot.T.apply(void 0,[Ue].concat(Ye)))}}var Pt=f(65890),qt=f(35135);function Gt(Be,Ye){var ke=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof Ye?(0,qt.zg)(function(){return Be},Ye,ke):("number"==typeof Ye&&(ke=Ye),(0,qt.zg)(function(){return Be},ke))}function Xt(Be,Ye){var ke=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return function(Ue){return Ue.lift(new gn(Be,Ye,ke))}}var gn=function(){function Be(Ye,ke,Ue){(0,R.Z)(this,Be),this.accumulator=Ye,this.seed=ke,this.concurrent=Ue}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new Gn(ke,this.accumulator,this.seed,this.concurrent))}}]),Be}(),Gn=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze,nt,Tt){var sn;return(0,R.Z)(this,ke),(sn=Ye.call(this,Ue)).accumulator=Ze,sn.acc=nt,sn.concurrent=Tt,sn.hasValue=!1,sn.hasCompleted=!1,sn.buffer=[],sn.active=0,sn.index=0,sn}return(0,C.Z)(ke,[{key:"_next",value:function(Ze){if(this.active<this.concurrent){var sn,nt=this.index++,Tt=this.destination;try{sn=(0,this.accumulator)(this.acc,Ze,nt)}catch(xr){return Tt.error(xr)}this.active++,this._innerSub(sn)}else this.buffer.push(Ze)}},{key:"_innerSub",value:function(Ze){var nt=new v.IY(this),Tt=this.destination;Tt.add(nt);var sn=(0,v.ft)(Ze,nt);sn!==nt&&Tt.add(sn)}},{key:"_complete",value:function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete()),this.unsubscribe()}},{key:"notifyNext",value:function(Ze){var nt=this.destination;this.acc=Ze,this.hasValue=!0,nt.next(Ze)}},{key:"notifyComplete",value:function(){var Ze=this.buffer;this.active--,Ze.length>0?this._next(Ze.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())}}]),ke}(v.Ds);function jn(Be){return ki("function"==typeof Be?function(ke,Ue){return Be(ke,Ue)<0?ke:Ue}:function(ke,Ue){return ke<Ue?ke:Ue})}var zn=f(4981),si=f(25110);function bi(){for(var Be=arguments.length,Ye=new Array(Be),ke=0;ke<Be;ke++)Ye[ke]=arguments[ke];return 1===Ye.length&&(0,Oe.k)(Ye[0])&&(Ye=Ye[0]),function(Ue){return Ue.lift(new bo(Ye))}}var bo=function(){function Be(Ye){(0,R.Z)(this,Be),this.nextSources=Ye}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new Fi(ke,this.nextSources))}}]),Be}(),Fi=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze){var nt;return(0,R.Z)(this,ke),(nt=Ye.call(this,Ue)).destination=Ue,nt.nextSources=Ze,nt}return(0,C.Z)(ke,[{key:"notifyError",value:function(){this.subscribeToNextSource()}},{key:"notifyComplete",value:function(){this.subscribeToNextSource()}},{key:"_error",value:function(Ze){this.subscribeToNextSource(),this.unsubscribe()}},{key:"_complete",value:function(){this.subscribeToNextSource(),this.unsubscribe()}},{key:"subscribeToNextSource",value:function(){var Ze=this.nextSources.shift();if(Ze){var nt=new v.IY(this),Tt=this.destination;Tt.add(nt);var sn=(0,v.ft)(Ze,nt);sn!==nt&&Tt.add(sn)}else this.destination.complete()}}]),ke}(v.Ds),Po=f(4363),Ko=f(59849);function ko(Be,Ye){return function(ke){return[(0,Kt.h)(Be,Ye)(ke),(0,Kt.h)((0,Ko.f)(Be,Ye))(ke)]}}function ii(){for(var Be=arguments.length,Ye=new Array(Be),ke=0;ke<Be;ke++)Ye[ke]=arguments[ke];var Ue=Ye.length;if(0===Ue)throw new Error("list of properties cannot be empty.");return function(Ze){return(0,Ut.U)(Ho(Ye,Ue))(Ze)}}function Ho(Be,Ye){return function(Ze){for(var nt=Ze,Tt=0;Tt<Ye;Tt++){var sn=null!=nt?nt[Be[Tt]]:void 0;if(void 0===sn)return;nt=sn}return nt}}var oo=f(68707);function ji(Be){return Be?(0,zn.O)(function(){return new oo.xQ},Be):(0,zn.O)(new oo.xQ)}var Yi=f(90838);function Vo(Be){return function(Ye){return(0,zn.O)(new Yi.X(Be))(Ye)}}var Ci=f(3435);function Ji(){return function(Be){return(0,zn.O)(new Ci.c)(Be)}}var fn=f(82667);function vn(Be,Ye,ke,Ue){ke&&"function"!=typeof ke&&(Ue=ke);var Ze="function"==typeof ke?ke:void 0,nt=new fn.t(Be,Ye,Ue);return function(Tt){return(0,zn.O)(function(){return nt},Ze)(Tt)}}var fr=f(31695);function fo(){for(var Be=arguments.length,Ye=new Array(Be),ke=0;ke<Be;ke++)Ye[ke]=arguments[ke];return function(Ze){return 1===Ye.length&&(0,Oe.k)(Ye[0])&&(Ye=Ye[0]),Ze.lift.call(fr.S3.apply(void 0,[Ze].concat((0,xe.Z)(Ye))))}}var ha=f(93487);function Si(){var Be=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;return function(Ye){return 0===Be?(0,ha.c)():Ye.lift(new Co(Be<0?-1:Be-1,Ye))}}var Co=function(){function Be(Ye,ke){(0,R.Z)(this,Be),this.count=Ye,this.source=ke}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new Zi(ke,this.count,this.source))}}]),Be}(),Zi=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze,nt){var Tt;return(0,R.Z)(this,ke),(Tt=Ye.call(this,Ue)).count=Ze,Tt.source=nt,Tt}return(0,C.Z)(ke,[{key:"complete",value:function(){if(!this.isStopped){var Ze=this.source,nt=this.count;if(0===nt)return(0,A.Z)((0,_.Z)(ke.prototype),"complete",this).call(this);nt>-1&&(this.count=nt-1),Ze.subscribe(this._unsubscribeAndRecycle())}}}]),ke}(g.L);function ma(Be){return function(Ye){return Ye.lift(new Eo(Be))}}var Eo=function(){function Be(Ye){(0,R.Z)(this,Be),this.notifier=Ye}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new Io(ke,this.notifier,Ue))}}]),Be}(),Io=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze,nt){var Tt;return(0,R.Z)(this,ke),(Tt=Ye.call(this,Ue)).notifier=Ze,Tt.source=nt,Tt.sourceIsBeingSubscribedTo=!0,Tt}return(0,C.Z)(ke,[{key:"notifyNext",value:function(){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)}},{key:"notifyComplete",value:function(){if(!1===this.sourceIsBeingSubscribedTo)return(0,A.Z)((0,_.Z)(ke.prototype),"complete",this).call(this)}},{key:"complete",value:function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return(0,A.Z)((0,_.Z)(ke.prototype),"complete",this).call(this);this._unsubscribeAndRecycle(),this.notifications.next(void 0)}}},{key:"_unsubscribe",value:function(){var Ze=this.notifications,nt=this.retriesSubscription;Ze&&(Ze.unsubscribe(),this.notifications=void 0),nt&&(nt.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}},{key:"_unsubscribeAndRecycle",value:function(){var Ze=this._unsubscribe;return this._unsubscribe=null,(0,A.Z)((0,_.Z)(ke.prototype),"_unsubscribeAndRecycle",this).call(this),this._unsubscribe=Ze,this}},{key:"subscribeToRetries",value:function(){var Ze;this.notifications=new oo.xQ;try{Ze=(0,this.notifier)(this.notifications)}catch(Tt){return(0,A.Z)((0,_.Z)(ke.prototype),"complete",this).call(this)}this.retries=Ze,this.retriesSubscription=(0,v.ft)(Ze,new v.IY(this))}}]),ke}(v.Ds);function hs(){var Be=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;return function(Ye){return Ye.lift(new So(Be,Ye))}}var So=function(){function Be(Ye,ke){(0,R.Z)(this,Be),this.count=Ye,this.source=ke}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new va(ke,this.count,this.source))}}]),Be}(),va=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze,nt){var Tt;return(0,R.Z)(this,ke),(Tt=Ye.call(this,Ue)).count=Ze,Tt.source=nt,Tt}return(0,C.Z)(ke,[{key:"error",value:function(Ze){if(!this.isStopped){var nt=this.source,Tt=this.count;if(0===Tt)return(0,A.Z)((0,_.Z)(ke.prototype),"error",this).call(this,Ze);Tt>-1&&(this.count=Tt-1),nt.subscribe(this._unsubscribeAndRecycle())}}}]),ke}(g.L);function Ma(Be){return function(Ye){return Ye.lift(new qo(Be,Ye))}}var qo=function(){function Be(Ye,ke){(0,R.Z)(this,Be),this.notifier=Ye,this.source=ke}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new To(ke,this.notifier,this.source))}}]),Be}(),To=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze,nt){var Tt;return(0,R.Z)(this,ke),(Tt=Ye.call(this,Ue)).notifier=Ze,Tt.source=nt,Tt}return(0,C.Z)(ke,[{key:"error",value:function(Ze){if(!this.isStopped){var nt=this.errors,Tt=this.retries,sn=this.retriesSubscription;if(Tt)this.errors=void 0,this.retriesSubscription=void 0;else{nt=new oo.xQ;try{Tt=(0,this.notifier)(nt)}catch(xr){return(0,A.Z)((0,_.Z)(ke.prototype),"error",this).call(this,xr)}sn=(0,v.ft)(Tt,new v.IY(this))}this._unsubscribeAndRecycle(),this.errors=nt,this.retries=Tt,this.retriesSubscription=sn,nt.next(Ze)}}},{key:"_unsubscribe",value:function(){var Ze=this.errors,nt=this.retriesSubscription;Ze&&(Ze.unsubscribe(),this.errors=void 0),nt&&(nt.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}},{key:"notifyNext",value:function(){var Ze=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=Ze,this.source.subscribe(this)}}]),ke}(v.Ds),Bi=f(26575);function ga(Be){return function(Ye){return Ye.lift(new Qi(Be))}}var Qi=function(){function Be(Ye){(0,R.Z)(this,Be),this.notifier=Ye}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){var Ze=new _a(ke),nt=Ue.subscribe(Ze);return nt.add((0,v.ft)(this.notifier,new v.IY(Ze))),nt}}]),Be}(),_a=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(){var Ue;return(0,R.Z)(this,ke),(Ue=Ye.apply(this,arguments)).hasValue=!1,Ue}return(0,C.Z)(ke,[{key:"_next",value:function(Ze){this.value=Ze,this.hasValue=!0}},{key:"notifyNext",value:function(){this.emitValue()}},{key:"notifyComplete",value:function(){this.emitValue()}},{key:"emitValue",value:function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))}}]),ke}(v.Ds);function Aa(Be){var Ye=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.P;return function(ke){return ke.lift(new _r(Be,Ye))}}var _r=function(){function Be(Ye,ke){(0,R.Z)(this,Be),this.period=Ye,this.scheduler=ke}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new Ln(ke,this.period,this.scheduler))}}]),Be}(),Ln=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze,nt){var Tt;return(0,R.Z)(this,ke),(Tt=Ye.call(this,Ue)).period=Ze,Tt.scheduler=nt,Tt.hasValue=!1,Tt.add(nt.schedule(Da,Ze,{subscriber:(0,V.Z)(Tt),period:Ze})),Tt}return(0,C.Z)(ke,[{key:"_next",value:function(Ze){this.lastValue=Ze,this.hasValue=!0}},{key:"notifyNext",value:function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))}}]),ke}(g.L);function Da(Be){var ke=Be.period;Be.subscriber.notifyNext(),this.schedule(Be,ke)}function Ui(Be,Ye){return function(ke){return ke.lift(new Va(Be,Ye))}}var Va=function(){function Be(Ye,ke){(0,R.Z)(this,Be),this.compareTo=Ye,this.comparator=ke}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new ar(ke,this.compareTo,this.comparator))}}]),Be}(),ar=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze,nt){var Tt;return(0,R.Z)(this,ke),(Tt=Ye.call(this,Ue)).compareTo=Ze,Tt.comparator=nt,Tt._a=[],Tt._b=[],Tt._oneComplete=!1,Tt.destination.add(Ze.subscribe(new zi(Ue,(0,V.Z)(Tt)))),Tt}return(0,C.Z)(ke,[{key:"_next",value:function(Ze){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(Ze),this.checkValues())}},{key:"_complete",value:function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0,this.unsubscribe()}},{key:"checkValues",value:function(){for(var Ze=this._a,nt=this._b,Tt=this.comparator;Ze.length>0&&nt.length>0;){var sn=Ze.shift(),bn=nt.shift(),xr=!1;try{xr=Tt?Tt(sn,bn):sn===bn}catch(Ri){this.destination.error(Ri)}xr||this.emit(!1)}}},{key:"emit",value:function(Ze){var nt=this.destination;nt.next(Ze),nt.complete()}},{key:"nextB",value:function(Ze){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(Ze),this.checkValues())}},{key:"completeB",value:function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0}}]),ke}(g.L),zi=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze){var nt;return(0,R.Z)(this,ke),(nt=Ye.call(this,Ue)).parent=Ze,nt}return(0,C.Z)(ke,[{key:"_next",value:function(Ze){this.parent.nextB(Ze)}},{key:"_error",value:function(Ze){this.parent.error(Ze),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.completeB(),this.unsubscribe()}}]),ke}(g.L),qa=f(16338),Au=f(61106),Ka=f(64646);function Ki(Be){return function(Ye){return Ye.lift(new ja(Be,Ye))}}var ja=function(){function Be(Ye,ke){(0,R.Z)(this,Be),this.predicate=Ye,this.source=ke}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new _l(ke,this.predicate,this.source))}}]),Be}(),_l=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze,nt){var Tt;return(0,R.Z)(this,ke),(Tt=Ye.call(this,Ue)).predicate=Ze,Tt.source=nt,Tt.seenValue=!1,Tt.index=0,Tt}return(0,C.Z)(ke,[{key:"applySingleValue",value:function(Ze){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=Ze)}},{key:"_next",value:function(Ze){var nt=this.index++;this.predicate?this.tryNext(Ze,nt):this.applySingleValue(Ze)}},{key:"tryNext",value:function(Ze,nt){try{this.predicate(Ze,nt,this.source)&&this.applySingleValue(Ze)}catch(Tt){this.destination.error(Tt)}}},{key:"_complete",value:function(){var Ze=this.destination;this.index>0?(Ze.next(this.seenValue?this.singleValue:void 0),Ze.complete()):Ze.error(new Ka.K)}}]),ke}(g.L),tn=f(18756);function eu(Be){return function(Ye){return Ye.lift(new yl(Be))}}var yl=function(){function Be(Ye){if((0,R.Z)(this,Be),this._skipCount=Ye,this._skipCount<0)throw new Jt.W}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(0===this._skipCount?new g.L(ke):new bl(ke,this._skipCount))}}]),Be}(),bl=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze){var nt;return(0,R.Z)(this,ke),(nt=Ye.call(this,Ue))._skipCount=Ze,nt._count=0,nt._ring=new Array(Ze),nt}return(0,C.Z)(ke,[{key:"_next",value:function(Ze){var nt=this._skipCount,Tt=this._count++;if(Tt<nt)this._ring[Tt]=Ze;else{var sn=Tt%nt,bn=this._ring,xr=bn[sn];bn[sn]=Ze,this.destination.next(xr)}}}]),ke}(g.L);function pe(Be){return function(Ye){return Ye.lift(new Fe(Be))}}var Fe=function(){function Be(Ye){(0,R.Z)(this,Be),this.notifier=Ye}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new $e(ke,this.notifier))}}]),Be}(),$e=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze){var nt;(0,R.Z)(this,ke),(nt=Ye.call(this,Ue)).hasValue=!1;var Tt=new v.IY((0,V.Z)(nt));nt.add(Tt),nt.innerSubscription=Tt;var sn=(0,v.ft)(Ze,Tt);return sn!==Tt&&(nt.add(sn),nt.innerSubscription=sn),nt}return(0,C.Z)(ke,[{key:"_next",value:function(Ze){this.hasValue&&(0,A.Z)((0,_.Z)(ke.prototype),"_next",this).call(this,Ze)}},{key:"notifyNext",value:function(){this.hasValue=!0,this.innerSubscription&&this.innerSubscription.unsubscribe()}},{key:"notifyComplete",value:function(){}}]),ke}(v.Ds);function We(Be){return function(Ye){return Ye.lift(new re(Be))}}var re=function(){function Be(Ye){(0,R.Z)(this,Be),this.predicate=Ye}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new fe(ke,this.predicate))}}]),Be}(),fe=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze){var nt;return(0,R.Z)(this,ke),(nt=Ye.call(this,Ue)).predicate=Ze,nt.skipping=!0,nt.index=0,nt}return(0,C.Z)(ke,[{key:"_next",value:function(Ze){var nt=this.destination;this.skipping&&this.tryCallPredicate(Ze),this.skipping||nt.next(Ze)}},{key:"tryCallPredicate",value:function(Ze){try{var nt=this.predicate(Ze,this.index++);this.skipping=Boolean(nt)}catch(Tt){this.destination.error(Tt)}}}]),ke}(g.L),_e=f(57682),Ce=f(18613);function Re(Be){var Ye=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(Ue){return Ue.lift(new Ge(Be,Ye))}}var Ge=function(){function Be(Ye,ke){(0,R.Z)(this,Be),this.scheduler=Ye,this.delay=ke}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return new Ce.e(Ue,this.delay,this.scheduler).subscribe(ke)}}]),Be}(),St=f(34487),ft=f(57070);function gt(){return(0,St.w)(ft.y)}function Xr(Be,Ye){return Ye?(0,St.w)(function(){return Be},Ye):(0,St.w)(function(){return Be})}var jr=f(44213),Pi=f(49196),ya=f(59371),li=f(243);function Ii(Be){var Ye=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.P,ke=arguments.length>2&&void 0!==arguments[2]?arguments[2]:li.d;return function(Ue){return Ue.lift(new Cl(Be,Ye,ke.leading,ke.trailing))}}var Cl=function(){function Be(Ye,ke,Ue,Ze){(0,R.Z)(this,Be),this.duration=Ye,this.scheduler=ke,this.leading=Ue,this.trailing=Ze}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new Oa(ke,this.duration,this.scheduler,this.leading,this.trailing))}}]),Be}(),Oa=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze,nt,Tt,sn){var bn;return(0,R.Z)(this,ke),(bn=Ye.call(this,Ue)).duration=Ze,bn.scheduler=nt,bn.leading=Tt,bn.trailing=sn,bn._hasTrailingValue=!1,bn._trailingValue=null,bn}return(0,C.Z)(ke,[{key:"_next",value:function(Ze){this.throttled?this.trailing&&(this._trailingValue=Ze,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(Xa,this.duration,{subscriber:this})),this.leading?this.destination.next(Ze):this.trailing&&(this._trailingValue=Ze,this._hasTrailingValue=!0))}},{key:"_complete",value:function(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()}},{key:"clearThrottle",value:function(){var Ze=this.throttled;Ze&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),Ze.unsubscribe(),this.remove(Ze),this.throttled=null)}}]),ke}(g.L);function Xa(Be){Be.subscriber.clearThrottle()}var ba=f(73445),Es=f(98691),Cp=f(88972);function Sp(Be,Ye){var ke=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S.P;return function(Ue){var Ze=(0,Cp.J)(Be),nt=Ze?+Be-ke.now():Math.abs(Be);return Ue.lift(new Js(nt,Ze,Ye,ke))}}var Js=function(){function Be(Ye,ke,Ue,Ze){(0,R.Z)(this,Be),this.waitFor=Ye,this.absoluteTimeout=ke,this.withObservable=Ue,this.scheduler=Ze}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new uc(ke,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}]),Be}(),uc=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze,nt,Tt,sn){var bn;return(0,R.Z)(this,ke),(bn=Ye.call(this,Ue)).absoluteTimeout=Ze,bn.waitFor=nt,bn.withObservable=Tt,bn.scheduler=sn,bn.scheduleTimeout(),bn}return(0,C.Z)(ke,[{key:"scheduleTimeout",value:function(){var Ze=this.action;Ze?this.action=Ze.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(ke.dispatchTimeout,this.waitFor,this))}},{key:"_next",value:function(Ze){this.absoluteTimeout||this.scheduleTimeout(),(0,A.Z)((0,_.Z)(ke.prototype),"_next",this).call(this,Ze)}},{key:"_unsubscribe",value:function(){this.action=void 0,this.scheduler=null,this.withObservable=null}}],[{key:"dispatchTimeout",value:function(Ze){var nt=Ze.withObservable;Ze._unsubscribeAndRecycle(),Ze.add((0,v.ft)(nt,new v.IY(Ze)))}}]),ke}(v.Ds),Sl=f(11363);function Ar(Be){var Ye=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.P;return Sp(Be,(0,Sl._)(new Es.W),Ye)}var Tp=f(63706);function md(Be,Ye,ke){return 0===ke?[Ye]:(Be.push(Ye),Be)}function xp(){return ki(md,[])}function wp(Be){return function(ke){return ke.lift(new vd(Be))}}var vd=function(){function Be(Ye){(0,R.Z)(this,Be),this.windowBoundaries=Ye}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){var Ze=new tu(ke),nt=Ue.subscribe(Ze);return nt.closed||Ze.add((0,v.ft)(this.windowBoundaries,new v.IY(Ze))),nt}}]),Be}(),tu=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue){var Ze;return(0,R.Z)(this,ke),(Ze=Ye.call(this,Ue)).window=new oo.xQ,Ue.next(Ze.window),Ze}return(0,C.Z)(ke,[{key:"notifyNext",value:function(){this.openWindow()}},{key:"notifyError",value:function(Ze){this._error(Ze)}},{key:"notifyComplete",value:function(){this._complete()}},{key:"_next",value:function(Ze){this.window.next(Ze)}},{key:"_error",value:function(Ze){this.window.error(Ze),this.destination.error(Ze)}},{key:"_complete",value:function(){this.window.complete(),this.destination.complete()}},{key:"_unsubscribe",value:function(){this.window=null}},{key:"openWindow",value:function(){var Ze=this.window;Ze&&Ze.complete();var nt=this.destination,Tt=this.window=new oo.xQ;nt.next(Tt)}}]),ke}(v.Ds);function wv(Be){var Ye=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(Ue){return Ue.lift(new Se(Be,Ye))}}var Se=function(){function Be(Ye,ke){(0,R.Z)(this,Be),this.windowSize=Ye,this.startWindowEvery=ke}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new ge(ke,this.windowSize,this.startWindowEvery))}}]),Be}(),ge=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze,nt){var Tt;return(0,R.Z)(this,ke),(Tt=Ye.call(this,Ue)).destination=Ue,Tt.windowSize=Ze,Tt.startWindowEvery=nt,Tt.windows=[new oo.xQ],Tt.count=0,Ue.next(Tt.windows[0]),Tt}return(0,C.Z)(ke,[{key:"_next",value:function(Ze){for(var nt=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,Tt=this.destination,sn=this.windowSize,bn=this.windows,xr=bn.length,Ri=0;Ri<xr&&!this.closed;Ri++)bn[Ri].next(Ze);var Xo=this.count-sn+1;if(Xo>=0&&Xo%nt==0&&!this.closed&&bn.shift().complete(),++this.count%nt==0&&!this.closed){var Pa=new oo.xQ;bn.push(Pa),Tt.next(Pa)}}},{key:"_error",value:function(Ze){var nt=this.windows;if(nt)for(;nt.length>0&&!this.closed;)nt.shift().error(Ze);this.destination.error(Ze)}},{key:"_complete",value:function(){var Ze=this.windows;if(Ze)for(;Ze.length>0&&!this.closed;)Ze.shift().complete();this.destination.complete()}},{key:"_unsubscribe",value:function(){this.count=0,this.windows=null}}]),ke}(g.L),Q=f(11705);function ee(Be){var Ye=S.P,ke=null,Ue=Number.POSITIVE_INFINITY;return(0,O.K)(arguments[3])&&(Ye=arguments[3]),(0,O.K)(arguments[2])?Ye=arguments[2]:(0,Q.k)(arguments[2])&&(Ue=Number(arguments[2])),(0,O.K)(arguments[1])?Ye=arguments[1]:(0,Q.k)(arguments[1])&&(ke=Number(arguments[1])),function(nt){return nt.lift(new Ee(Be,ke,Ue,Ye))}}var Ee=function(){function Be(Ye,ke,Ue,Ze){(0,R.Z)(this,Be),this.windowTimeSpan=Ye,this.windowCreationInterval=ke,this.maxWindowSize=Ue,this.scheduler=Ze}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new lt(ke,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))}}]),Be}(),Ve=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(){var Ue;return(0,R.Z)(this,ke),(Ue=Ye.apply(this,arguments))._numberOfNextedValues=0,Ue}return(0,C.Z)(ke,[{key:"next",value:function(Ze){this._numberOfNextedValues++,(0,A.Z)((0,_.Z)(ke.prototype),"next",this).call(this,Ze)}},{key:"numberOfNextedValues",get:function(){return this._numberOfNextedValues}}]),ke}(oo.xQ),lt=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze,nt,Tt,sn){var bn;(0,R.Z)(this,ke),(bn=Ye.call(this,Ue)).destination=Ue,bn.windowTimeSpan=Ze,bn.windowCreationInterval=nt,bn.maxWindowSize=Tt,bn.scheduler=sn,bn.windows=[];var xr=bn.openWindow();if(null!==nt&&nt>=0){var Ri={subscriber:(0,V.Z)(bn),window:xr,context:null},Xo={windowTimeSpan:Ze,windowCreationInterval:nt,subscriber:(0,V.Z)(bn),scheduler:sn};bn.add(sn.schedule($t,Ze,Ri)),bn.add(sn.schedule(Zt,nt,Xo))}else{var Pa={subscriber:(0,V.Z)(bn),window:xr,windowTimeSpan:Ze};bn.add(sn.schedule(wt,Ze,Pa))}return bn}return(0,C.Z)(ke,[{key:"_next",value:function(Ze){for(var nt=this.windows,Tt=nt.length,sn=0;sn<Tt;sn++){var bn=nt[sn];bn.closed||(bn.next(Ze),bn.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(bn))}}},{key:"_error",value:function(Ze){for(var nt=this.windows;nt.length>0;)nt.shift().error(Ze);this.destination.error(Ze)}},{key:"_complete",value:function(){for(var Ze=this.windows;Ze.length>0;){var nt=Ze.shift();nt.closed||nt.complete()}this.destination.complete()}},{key:"openWindow",value:function(){var Ze=new Ve;return this.windows.push(Ze),this.destination.next(Ze),Ze}},{key:"closeWindow",value:function(Ze){Ze.complete();var nt=this.windows;nt.splice(nt.indexOf(Ze),1)}}]),ke}(g.L);function wt(Be){var Ye=Be.subscriber,ke=Be.windowTimeSpan,Ue=Be.window;Ue&&Ye.closeWindow(Ue),Be.window=Ye.openWindow(),this.schedule(Be,ke)}function Zt(Be){var Ye=Be.windowTimeSpan,ke=Be.subscriber,Ue=Be.scheduler,Ze=Be.windowCreationInterval,nt=ke.openWindow(),sn={action:this,subscription:null};sn.subscription=Ue.schedule($t,Ye,{subscriber:ke,window:nt,context:sn}),this.add(sn.subscription),this.schedule(Be,Ze)}function $t(Be){var Ye=Be.subscriber,ke=Be.window,Ue=Be.context;Ue&&Ue.action&&Ue.subscription&&Ue.action.remove(Ue.subscription),Ye.closeWindow(ke)}function un(Be,Ye){return function(ke){return ke.lift(new An(Be,Ye))}}var An=function(){function Be(Ye,ke){(0,R.Z)(this,Be),this.openings=Ye,this.closingSelector=ke}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new Bn(ke,this.openings,this.closingSelector))}}]),Be}(),Bn=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze,nt){var Tt;return(0,R.Z)(this,ke),(Tt=Ye.call(this,Ue)).openings=Ze,Tt.closingSelector=nt,Tt.contexts=[],Tt.add(Tt.openSubscription=(0,se.D)((0,V.Z)(Tt),Ze,Ze)),Tt}return(0,C.Z)(ke,[{key:"_next",value:function(Ze){var nt=this.contexts;if(nt)for(var Tt=nt.length,sn=0;sn<Tt;sn++)nt[sn].window.next(Ze)}},{key:"_error",value:function(Ze){var nt=this.contexts;if(this.contexts=null,nt)for(var Tt=nt.length,sn=-1;++sn<Tt;){var bn=nt[sn];bn.window.error(Ze),bn.subscription.unsubscribe()}(0,A.Z)((0,_.Z)(ke.prototype),"_error",this).call(this,Ze)}},{key:"_complete",value:function(){var Ze=this.contexts;if(this.contexts=null,Ze)for(var nt=Ze.length,Tt=-1;++Tt<nt;){var sn=Ze[Tt];sn.window.complete(),sn.subscription.unsubscribe()}(0,A.Z)((0,_.Z)(ke.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var Ze=this.contexts;if(this.contexts=null,Ze)for(var nt=Ze.length,Tt=-1;++Tt<nt;){var sn=Ze[Tt];sn.window.unsubscribe(),sn.subscription.unsubscribe()}}},{key:"notifyNext",value:function(Ze,nt,Tt,sn,bn){if(Ze===this.openings){var xr;try{xr=(0,this.closingSelector)(nt)}catch(ms){return this.error(ms)}var Xo=new oo.xQ,Pa=new ae.w,gd={window:Xo,subscription:Pa};this.contexts.push(gd);var Ao=(0,se.D)(this,xr,gd);Ao.closed?this.closeWindow(this.contexts.length-1):(Ao.context=gd,Pa.add(Ao)),this.destination.next(Xo)}else this.closeWindow(this.contexts.indexOf(Ze))}},{key:"notifyError",value:function(Ze){this.error(Ze)}},{key:"notifyComplete",value:function(Ze){Ze!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(Ze.context))}},{key:"closeWindow",value:function(Ze){if(-1!==Ze){var nt=this.contexts,Tt=nt[Ze],sn=Tt.window,bn=Tt.subscription;nt.splice(Ze,1),sn.complete(),bn.unsubscribe()}}}]),ke}(ce.L);function Qn(Be){return function(ke){return ke.lift(new hr(Be))}}var hr=function(){function Be(Ye){(0,R.Z)(this,Be),this.closingSelector=Ye}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new Ir(ke,this.closingSelector))}}]),Be}(),Ir=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze){var nt;return(0,R.Z)(this,ke),(nt=Ye.call(this,Ue)).destination=Ue,nt.closingSelector=Ze,nt.openWindow(),nt}return(0,C.Z)(ke,[{key:"notifyNext",value:function(Ze,nt,Tt,sn,bn){this.openWindow(bn)}},{key:"notifyError",value:function(Ze){this._error(Ze)}},{key:"notifyComplete",value:function(Ze){this.openWindow(Ze)}},{key:"_next",value:function(Ze){this.window.next(Ze)}},{key:"_error",value:function(Ze){this.window.error(Ze),this.destination.error(Ze),this.unsubscribeClosingNotification()}},{key:"_complete",value:function(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()}},{key:"unsubscribeClosingNotification",value:function(){this.closingNotification&&this.closingNotification.unsubscribe()}},{key:"openWindow",value:function(){var Ze=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;Ze&&(this.remove(Ze),Ze.unsubscribe());var nt=this.window;nt&&nt.complete();var sn,Tt=this.window=new oo.xQ;this.destination.next(Tt);try{var bn=this.closingSelector;sn=bn()}catch(xr){return this.destination.error(xr),void this.window.error(xr)}this.add(this.closingNotification=(0,se.D)(this,sn))}}]),ke}(ce.L);function Cr(){for(var Be=arguments.length,Ye=new Array(Be),ke=0;ke<Be;ke++)Ye[ke]=arguments[ke];return function(Ue){var Ze;return"function"==typeof Ye[Ye.length-1]&&(Ze=Ye.pop()),Ue.lift(new Er(Ye,Ze))}}var Er=function(){function Be(Ye,ke){(0,R.Z)(this,Be),this.observables=Ye,this.project=ke}return(0,C.Z)(Be,[{key:"call",value:function(ke,Ue){return Ue.subscribe(new ui(ke,this.observables,this.project))}}]),Be}(),ui=function(Be){(0,Z.Z)(ke,Be);var Ye=(0,T.Z)(ke);function ke(Ue,Ze,nt){var Tt;(0,R.Z)(this,ke),(Tt=Ye.call(this,Ue)).observables=Ze,Tt.project=nt,Tt.toRespond=[];var sn=Ze.length;Tt.values=new Array(sn);for(var bn=0;bn<sn;bn++)Tt.toRespond.push(bn);for(var xr=0;xr<sn;xr++){var Ri=Ze[xr];Tt.add((0,se.D)((0,V.Z)(Tt),Ri,void 0,xr))}return Tt}return(0,C.Z)(ke,[{key:"notifyNext",value:function(Ze,nt,Tt){this.values[Tt]=nt;var sn=this.toRespond;if(sn.length>0){var bn=sn.indexOf(Tt);-1!==bn&&sn.splice(bn,1)}}},{key:"notifyComplete",value:function(){}},{key:"_next",value:function(Ze){if(0===this.toRespond.length){var nt=[Ze].concat((0,xe.Z)(this.values));this.project?this._tryProject(nt):this.destination.next(nt)}}},{key:"_tryProject",value:function(Ze){var nt;try{nt=this.project.apply(this,Ze)}catch(Tt){return void this.destination.error(Tt)}this.destination.next(nt)}}]),ke}(ce.L),hi=f(43008);function oi(){for(var Be=arguments.length,Ye=new Array(Be),ke=0;ke<Be;ke++)Ye[ke]=arguments[ke];return function(Ze){return Ze.lift.call(hi.$R.apply(void 0,[Ze].concat(Ye)))}}function Mo(Be){return function(Ye){return Ye.lift(new hi.mx(Be))}}},53520:function(ue,q,f){"use strict";f.r(q),f.d(q,{TestScheduler:function(){return S}});var U=f(18967),B=f(14105),V=f(20901),Z=f(89200),T=f(10509),R=f(97154),C=f(89797),v=f(80286),P=f(5051),D=function O(L){var j=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;(0,U.Z)(this,O),this.subscribedFrame=L,this.unsubscribedFrame=j},_=(f(2808),function(O){(0,T.Z)(j,O);var L=(0,R.Z)(j);function j(K,z){var J;return(0,U.Z)(this,j),(J=L.call(this,function(ie){var te=this,ae=te.logSubscribedFrame(),se=new P.w;return se.add(new P.w(function(){te.logUnsubscribedFrame(ae)})),te.scheduleMessages(ie),se})).messages=K,J.subscriptions=[],J.scheduler=z,J}return(0,B.Z)(j,[{key:"scheduleMessages",value:function(z){for(var J=this.messages.length,ie=0;ie<J;ie++){var te=this.messages[ie];z.add(this.scheduler.schedule(function(ae){ae.message.notification.observe(ae.subscriber)},te.frame,{message:te,subscriber:z}))}}}]),j}(C.y)),k=function(O){(0,T.Z)(j,O);var L=(0,R.Z)(j);function j(K,z){var J;return(0,U.Z)(this,j),(J=L.call(this)).messages=K,J.subscriptions=[],J.scheduler=z,J}return(0,B.Z)(j,[{key:"_subscribe",value:function(z){var J=this,ie=J.logSubscribedFrame(),te=new P.w;return te.add(new P.w(function(){J.logUnsubscribedFrame(ie)})),te.add((0,V.Z)((0,Z.Z)(j.prototype),"_subscribe",this).call(this,z)),te}},{key:"setup",value:function(){for(var z=this,J=z.messages.length,ie=0;ie<J;ie++)!function(){var te=z.messages[ie];z.scheduler.schedule(function(){te.notification.observe(z)},te.frame)}()}}]),j}(f(68707).xQ),N=f(2296),E=f(81572),S=function(O){(0,T.Z)(j,O);var L=(0,R.Z)(j);function j(K){var z;return(0,U.Z)(this,j),(z=L.call(this,N.h,750)).assertDeepEqual=K,z.hotObservables=[],z.coldObservables=[],z.flushTests=[],z.runMode=!1,z}return(0,B.Z)(j,[{key:"createTime",value:function(z){var J=z.indexOf("|");if(-1===J)throw new Error('marble diagram for time should have a completion marker "|"');return J*j.frameTimeFactor}},{key:"createColdObservable",value:function(z,J,ie){if(-1!==z.indexOf("^"))throw new Error('cold observable cannot have subscription offset "^"');if(-1!==z.indexOf("!"))throw new Error('cold observable cannot have unsubscription marker "!"');var te=j.parseMarbles(z,J,ie,void 0,this.runMode),ae=new _(te,this);return this.coldObservables.push(ae),ae}},{key:"createHotObservable",value:function(z,J,ie){if(-1!==z.indexOf("!"))throw new Error('hot observable cannot have unsubscription marker "!"');var te=j.parseMarbles(z,J,ie,void 0,this.runMode),ae=new k(te,this);return this.hotObservables.push(ae),ae}},{key:"materializeInnerObservable",value:function(z,J){var ie=this,te=[];return z.subscribe(function(ae){te.push({frame:ie.frame-J,notification:v.P.createNext(ae)})},function(ae){te.push({frame:ie.frame-J,notification:v.P.createError(ae)})},function(){te.push({frame:ie.frame-J,notification:v.P.createComplete()})}),te}},{key:"expectObservable",value:function(z){var oe,J=this,ie=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,te=[],ae={actual:te,ready:!1},se=j.parseMarblesAsSubscriptions(ie,this.runMode),ce=se.subscribedFrame===Number.POSITIVE_INFINITY?0:se.subscribedFrame,le=se.unsubscribedFrame;this.schedule(function(){oe=z.subscribe(function(be){var it=be;be instanceof C.y&&(it=J.materializeInnerObservable(it,J.frame)),te.push({frame:J.frame,notification:v.P.createNext(it)})},function(be){te.push({frame:J.frame,notification:v.P.createError(be)})},function(){te.push({frame:J.frame,notification:v.P.createComplete()})})},ce),le!==Number.POSITIVE_INFINITY&&this.schedule(function(){return oe.unsubscribe()},le),this.flushTests.push(ae);var Ae=this.runMode;return{toBe:function(it,qe,_t){ae.ready=!0,ae.expected=j.parseMarbles(it,qe,_t,!0,Ae)}}}},{key:"expectSubscriptions",value:function(z){var J={actual:z,ready:!1};this.flushTests.push(J);var ie=this.runMode;return{toBe:function(ae){var se="string"==typeof ae?[ae]:ae;J.ready=!0,J.expected=se.map(function(ce){return j.parseMarblesAsSubscriptions(ce,ie)})}}}},{key:"flush",value:function(){for(var z=this,J=this.hotObservables;J.length>0;)J.shift().setup();(0,V.Z)((0,Z.Z)(j.prototype),"flush",this).call(this),this.flushTests=this.flushTests.filter(function(ie){return!ie.ready||(z.assertDeepEqual(ie.actual,ie.expected),!1)})}},{key:"run",value:function(z){var J=j.frameTimeFactor,ie=this.maxFrames;j.frameTimeFactor=1,this.maxFrames=Number.POSITIVE_INFINITY,this.runMode=!0,E.v.delegate=this;var te={cold:this.createColdObservable.bind(this),hot:this.createHotObservable.bind(this),flush:this.flush.bind(this),expectObservable:this.expectObservable.bind(this),expectSubscriptions:this.expectSubscriptions.bind(this)};try{var ae=z(te);return this.flush(),ae}finally{j.frameTimeFactor=J,this.maxFrames=ie,this.runMode=!1,E.v.delegate=void 0}}}],[{key:"parseMarblesAsSubscriptions",value:function(z){var J=this,ie=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("string"!=typeof z)return new D(Number.POSITIVE_INFINITY);for(var te=z.length,ae=-1,se=Number.POSITIVE_INFINITY,ce=Number.POSITIVE_INFINITY,le=0,oe=0;oe<te;oe++){var Ae=le,be=function(je){Ae+=je*J.frameTimeFactor},it=z[oe];switch(it){case" ":ie||be(1);break;case"-":be(1);break;case"(":ae=le,be(1);break;case")":ae=-1,be(1);break;case"^":if(se!==Number.POSITIVE_INFINITY)throw new Error("found a second subscription point '^' in a subscription marble diagram. There can only be one.");se=ae>-1?ae:le,be(1);break;case"!":if(ce!==Number.POSITIVE_INFINITY)throw new Error("found a second subscription point '^' in a subscription marble diagram. There can only be one.");ce=ae>-1?ae:le;break;default:if(ie&&it.match(/^[0-9]$/)&&(0===oe||" "===z[oe-1])){var qe=z.slice(oe),_t=qe.match(/^([0-9]+(?:\.[0-9]+)?)(ms|s|m) /);if(_t){oe+=_t[0].length-1;var yt=parseFloat(_t[1]),Ft=_t[2],xe=void 0;switch(Ft){case"ms":xe=yt;break;case"s":xe=1e3*yt;break;case"m":xe=1e3*yt*60}be(xe/this.frameTimeFactor);break}}throw new Error("there can only be '^' and '!' markers in a subscription marble diagram. Found instead '"+it+"'.")}le=Ae}return ce<0?new D(se):new D(se,ce)}},{key:"parseMarbles",value:function(z,J,ie){var te=this,ae=arguments.length>3&&void 0!==arguments[3]&&arguments[3],se=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(-1!==z.indexOf("!"))throw new Error('conventional marble diagrams cannot have the unsubscription marker "!"');for(var ce=z.length,le=[],oe=se?z.replace(/^[ ]+/,"").indexOf("^"):z.indexOf("^"),Ae=-1===oe?0:oe*-this.frameTimeFactor,be="object"!=typeof J?function(xt){return xt}:function(xt){return ae&&J[xt]instanceof _?J[xt].messages:J[xt]},it=-1,qe=0;qe<ce;qe++){var _t=Ae,yt=function(vt){_t+=vt*te.frameTimeFactor},Ft=void 0,xe=z[qe];switch(xe){case" ":se||yt(1);break;case"-":yt(1);break;case"(":it=Ae,yt(1);break;case")":it=-1,yt(1);break;case"|":Ft=v.P.createComplete(),yt(1);break;case"^":yt(1);break;case"#":Ft=v.P.createError(ie||"error"),yt(1);break;default:if(se&&xe.match(/^[0-9]$/)&&(0===qe||" "===z[qe-1])){var Oe=z.slice(qe),je=Oe.match(/^([0-9]+(?:\.[0-9]+)?)(ms|s|m) /);if(je){qe+=je[0].length-1;var dt=parseFloat(je[1]),Qe=je[2],Bt=void 0;switch(Qe){case"ms":Bt=dt;break;case"s":Bt=1e3*dt;break;case"m":Bt=1e3*dt*60}yt(Bt/this.frameTimeFactor);break}}Ft=v.P.createNext(be(xe)),yt(1)}Ft&&le.push({frame:it>-1?it:Ae,notification:Ft}),Ae=_t}return le}}]),j}(N.y)},4194:function(ue,q,f){"use strict";f.r(q),f.d(q,{webSocket:function(){return U.j},WebSocketSubject:function(){return B.p}});var U=f(99298),B=f(46095)},26918:function(ue,q,f){"use strict";f(68663)},56205:function(ue,q){"use strict";var U;!function(){var B=q||{};void 0!==(U=function(){return B}.apply(q,[]))&&(ue.exports=U),B.default=B;var V="http://www.w3.org/2000/xmlns/",T="http://www.w3.org/2000/svg",C=/url\(["']?(.+?)["']?\)/,v={woff2:"font/woff2",woff:"font/woff",otf:"application/x-font-opentype",ttf:"application/x-font-ttf",eot:"application/vnd.ms-fontobject",sfnt:"application/font-sfnt",svg:"image/svg+xml"},P=function(se){return se instanceof HTMLElement||se instanceof SVGElement},D=function(se){if(!P(se))throw new Error("an HTMLElement or SVGElement is required; got "+se)},M=function(se){return new Promise(function(ce,le){P(se)?ce(se):le(new Error("an HTMLElement or SVGElement is required; got "+se))})},_=function(se){var ce=Object.keys(v).filter(function(le){return se.indexOf("."+le)>0}).map(function(le){return v[le]});return ce?ce[0]:(console.error("Unknown font format for "+se+". Fonts may not be working correctly."),"application/octet-stream")},k=function(se,ce,le){var oe=se.viewBox&&se.viewBox.baseVal&&se.viewBox.baseVal[le]||null!==ce.getAttribute(le)&&!ce.getAttribute(le).match(/%$/)&&parseInt(ce.getAttribute(le))||se.getBoundingClientRect()[le]||parseInt(ce.style[le])||parseInt(window.getComputedStyle(se).getPropertyValue(le));return null==oe||isNaN(parseFloat(oe))?0:oe},x=function(se){for(var ce=window.atob(se.split(",")[1]),le=se.split(",")[0].split(":")[1].split(";")[0],oe=new ArrayBuffer(ce.length),Ae=new Uint8Array(oe),be=0;be<ce.length;be++)Ae[be]=ce.charCodeAt(be);return new Blob([oe],{type:le})},j={},z=null,ie=function(se,ce){var le=ce||{},oe=le.selectorRemap,Ae=le.modifyStyle,it=le.fonts,qe=le.excludeUnusedCss,_t=le.modifyCss||function(Oe,je){return(oe?oe(Oe):Oe)+"{"+(Ae?Ae(je):je)+"}\n"},yt=[],Ft=void 0===it,xe=it||[];return(z||(z=Array.from(document.styleSheets).map(function(se){try{return{rules:se.cssRules,href:se.href}}catch(ce){return console.warn("Stylesheet could not be loaded: "+se.href,ce),{}}}))).forEach(function(Oe){var je=Oe.rules,dt=Oe.href;!je||Array.from(je).forEach(function(Qe){if(void 0!==Qe.style)if(function(se,ce){if(ce)try{return se.querySelector(ce)||se.parentNode&&se.parentNode.querySelector(ce)}catch(le){console.warn('Invalid CSS selector "'+ce+'"',le)}}(se,Qe.selectorText))yt.push(_t(Qe.selectorText,Qe.style.cssText));else if(Ft&&Qe.cssText.match(/^@font-face/)){var Bt=function(se,ce){var le=se.cssText.match(C),oe=le&&le[1]||"";if(oe&&!oe.match(/^data:/)&&"about:blank"!==oe){var Ae=oe.startsWith("../")?ce+"/../"+oe:oe.startsWith("./")?ce+"/."+oe:oe;return{text:se.cssText,format:_(Ae),url:Ae}}}(Qe,dt);Bt&&xe.push(Bt)}else qe||yt.push(Qe.cssText)})}),function(se){return Promise.all(se.map(function(ce){return new Promise(function(le,oe){if(j[ce.url])return le(j[ce.url]);var Ae=new XMLHttpRequest;Ae.addEventListener("load",function(){var be=function(se){for(var ce="",le=new Uint8Array(se),oe=0;oe<le.byteLength;oe++)ce+=String.fromCharCode(le[oe]);return window.btoa(ce)}(Ae.response),it=ce.text.replace(C,'url("data:'+ce.format+";base64,"+be+'")')+"\n";j[ce.url]=it,le(it)}),Ae.addEventListener("error",function(be){console.warn("Failed to load font from: "+ce.url,be),j[ce.url]=null,le(null)}),Ae.addEventListener("abort",function(be){console.warn("Aborted loading font from: "+ce.url,be),le(null)}),Ae.open("GET",ce.url),Ae.responseType="arraybuffer",Ae.send()})})).then(function(ce){return ce.filter(function(le){return le}).join("")})}(xe).then(function(Oe){return yt.join("\n")+Oe})},te=function(){if(!navigator.msSaveOrOpenBlob&&!("download"in document.createElement("a")))return{popup:window.open()}};B.prepareSvg=function(ae,se,ce){D(ae);var le=se||{},oe=le.left,Ae=void 0===oe?0:oe,be=le.top,it=void 0===be?0:be,qe=le.width,_t=le.height,yt=le.scale,Ft=void 0===yt?1:yt,xe=le.responsive,Oe=void 0!==xe&&xe,je=le.excludeCss,dt=void 0!==je&&je;return function(se){return Promise.all(Array.from(se.querySelectorAll("image")).map(function(ce){var le=ce.getAttributeNS("http://www.w3.org/1999/xlink","href")||ce.getAttribute("href");return le?(function(se){return se&&0===se.lastIndexOf("http",0)&&-1===se.lastIndexOf(window.location.host)}(le)&&(le+=(-1===le.indexOf("?")?"?":"&")+"t="+(new Date).valueOf()),new Promise(function(oe,Ae){var be=document.createElement("canvas"),it=new Image;it.crossOrigin="anonymous",it.src=le,it.onerror=function(){return Ae(new Error("Could not load "+le))},it.onload=function(){be.width=it.width,be.height=it.height,be.getContext("2d").drawImage(it,0,0),ce.setAttributeNS("http://www.w3.org/1999/xlink","href",be.toDataURL("image/png")),oe(!0)}})):Promise.resolve(null)}))}(ae).then(function(){var Qe=ae.cloneNode(!0);Qe.style.backgroundColor=(se||{}).backgroundColor||ae.style.backgroundColor;var Bt=function(se,ce,le,oe){if("svg"===se.tagName)return{width:le||k(se,ce,"width"),height:oe||k(se,ce,"height")};if(se.getBBox){var Ae=se.getBBox();return{width:Ae.x+Ae.width,height:Ae.y+Ae.height}}}(ae,Qe,qe,_t),xt=Bt.width,vt=Bt.height;if("svg"!==ae.tagName){if(!ae.getBBox)return void console.error("Attempted to render non-SVG element",ae);null!=Qe.getAttribute("transform")&&Qe.setAttribute("transform",Qe.getAttribute("transform").replace(/translate\(.*?\)/,""));var Qt=document.createElementNS("http://www.w3.org/2000/svg","svg");Qt.appendChild(Qe),Qe=Qt}if(Qe.setAttribute("version","1.1"),Qe.setAttribute("viewBox",[Ae,it,xt,vt].join(" ")),Qe.getAttribute("xmlns")||Qe.setAttributeNS(V,"xmlns",T),Qe.getAttribute("xmlns:xlink")||Qe.setAttributeNS(V,"xmlns:xlink","http://www.w3.org/1999/xlink"),Oe?(Qe.removeAttribute("width"),Qe.removeAttribute("height"),Qe.setAttribute("preserveAspectRatio","xMinYMin meet")):(Qe.setAttribute("width",xt*Ft),Qe.setAttribute("height",vt*Ft)),Array.from(Qe.querySelectorAll("foreignObject > *")).forEach(function(Vt){Vt.setAttributeNS(V,"xmlns","svg"===Vt.tagName?T:"http://www.w3.org/1999/xhtml")}),!dt)return ie(ae,se).then(function(Vt){var bt=document.createElement("style");bt.setAttribute("type","text/css"),bt.innerHTML="<![CDATA[\n"+Vt+"\n]]>";var en=document.createElement("defs");en.appendChild(bt),Qe.insertBefore(en,Qe.firstChild);var Nt=document.createElement("div");Nt.appendChild(Qe);var rn=Nt.innerHTML.replace(/NS\d+:href/gi,'xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href');if("function"!=typeof ce)return{src:rn,width:xt,height:vt};ce(rn,xt,vt)});var Ht=document.createElement("div");Ht.appendChild(Qe);var Ct=Ht.innerHTML;if("function"!=typeof ce)return{src:Ct,width:xt,height:vt};ce(Ct,xt,vt)})},B.svgAsDataUri=function(ae,se,ce){return D(ae),B.prepareSvg(ae,se).then(function(le){var Ae=le.width,be=le.height,it="data:image/svg+xml;base64,"+window.btoa(function(se){return decodeURIComponent(encodeURIComponent(se).replace(/%([0-9A-F]{2})/g,function(ce,le){var oe=String.fromCharCode("0x"+le);return"%"===oe?"%25":oe}))}('<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [<!ENTITY nbsp "&#160;">]>'+le.src));return"function"==typeof ce&&ce(it,Ae,be),it})},B.svgAsPngUri=function(ae,se,ce){D(ae);var le=se||{},oe=le.encoderType,Ae=void 0===oe?"image/png":oe,be=le.encoderOptions,it=void 0===be?.8:be,qe=le.canvg,_t=function(Ft){var xe=Ft.src,Oe=Ft.width,je=Ft.height,dt=document.createElement("canvas"),Qe=dt.getContext("2d"),Bt=window.devicePixelRatio||1;dt.width=Oe*Bt,dt.height=je*Bt,dt.style.width=dt.width+"px",dt.style.height=dt.height+"px",Qe.setTransform(Bt,0,0,Bt,0,0),qe?qe(dt,xe):Qe.drawImage(xe,0,0);var xt=void 0;try{xt=dt.toDataURL(Ae,it)}catch(vt){if("undefined"!=typeof SecurityError&&vt instanceof SecurityError||"SecurityError"===vt.name)return void console.error("Rendered SVG images cannot be downloaded in this browser.");throw vt}return"function"==typeof ce&&ce(xt,dt.width,dt.height),Promise.resolve(xt)};return qe?B.prepareSvg(ae,se).then(_t):B.svgAsDataUri(ae,se).then(function(yt){return new Promise(function(Ft,xe){var Oe=new Image;Oe.onload=function(){return Ft(_t({src:Oe,width:Oe.width,height:Oe.height}))},Oe.onerror=function(){xe("There was an error loading the data URI as an image on the following SVG\n"+window.atob(yt.slice(26))+"Open the following link to see browser's diagnosis\n"+yt)},Oe.src=yt})})},B.download=function(ae,se,ce){if(navigator.msSaveOrOpenBlob)navigator.msSaveOrOpenBlob(x(se),ae);else{var le=document.createElement("a");if("download"in le){le.download=ae,le.style.display="none",document.body.appendChild(le);try{var oe=x(se),Ae=URL.createObjectURL(oe);le.href=Ae,le.onclick=function(){return requestAnimationFrame(function(){return URL.revokeObjectURL(Ae)})}}catch(be){console.error(be),console.warn("Error while getting object URL. Falling back to string URL."),le.href=se}le.click(),document.body.removeChild(le)}else ce&&ce.popup&&(ce.popup.document.title=ae,ce.popup.location.replace(se))}},B.saveSvg=function(ae,se,ce){var le=te();return M(ae).then(function(oe){return B.svgAsDataUri(oe,ce||{})}).then(function(oe){return B.download(se,oe,le)})},B.saveSvgAsPng=function(ae,se,ce){var le=te();return M(ae).then(function(oe){return B.svgAsPngUri(oe,ce||{})}).then(function(oe){return B.download(se,oe,le)})}}()},5042:function(ue,q,f){var U=f(25523),B=Object.prototype.hasOwnProperty,V="undefined"!=typeof Map;function Z(){this._array=[],this._set=V?new Map:Object.create(null)}Z.fromArray=function(R,C){for(var v=new Z,P=0,D=R.length;P<D;P++)v.add(R[P],C);return v},Z.prototype.size=function(){return V?this._set.size:Object.getOwnPropertyNames(this._set).length},Z.prototype.add=function(R,C){var v=V?R:U.toSetString(R),P=V?this.has(R):B.call(this._set,v),D=this._array.length;(!P||C)&&this._array.push(R),P||(V?this._set.set(R,D):this._set[v]=D)},Z.prototype.has=function(R){if(V)return this._set.has(R);var C=U.toSetString(R);return B.call(this._set,C)},Z.prototype.indexOf=function(R){if(V){var C=this._set.get(R);if(C>=0)return C}else{var v=U.toSetString(R);if(B.call(this._set,v))return this._set[v]}throw new Error('"'+R+'" is not in the set.')},Z.prototype.at=function(R){if(R>=0&&R<this._array.length)return this._array[R];throw new Error("No element indexed by "+R)},Z.prototype.toArray=function(){return this._array.slice()},q.I=Z},78619:function(ue,q,f){var U=f(7698);q.encode=function(P){var M,v,D="",A=(v=P)<0?1+(-v<<1):0+(v<<1);do{M=31&A,(A>>>=5)>0&&(M|=32),D+=U.encode(M)}while(A>0);return D},q.decode=function(P,D,M){var k,N,A=P.length,_=0,g=0;do{if(D>=A)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(N=U.decode(P.charCodeAt(D++))))throw new Error("Invalid base64 digit: "+P.charAt(D-1));k=!!(32&N),_+=(N&=31)<<g,g+=5}while(k);M.value=function(v){var D=v>>1;return 1==(1&v)?-D:D}(_),M.rest=D}},7698:function(ue,q){var f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");q.encode=function(U){if(0<=U&&U<f.length)return f[U];throw new TypeError("Must be between 0 and 63: "+U)},q.decode=function(U){return 65<=U&&U<=90?U-65:97<=U&&U<=122?U-97+26:48<=U&&U<=57?U-48+52:43==U?62:47==U?63:-1}},66306:function(ue,q,f){var U=f(25523);function V(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}V.prototype.unsortedForEach=function(T,R){this._array.forEach(T,R)},V.prototype.add=function(T){!function(Z,T){var R=Z.generatedLine,C=T.generatedLine;return C>R||C==R&&T.generatedColumn>=Z.generatedColumn||U.compareByGeneratedPositionsInflated(Z,T)<=0}(this._last,T)?(this._sorted=!1,this._array.push(T)):(this._last=T,this._array.push(T))},V.prototype.toArray=function(){return this._sorted||(this._array.sort(U.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},q.H=V},30673:function(ue,q,f){var U=f(78619),B=f(25523),V=f(5042).I,Z=f(66306).H;function T(R){R||(R={}),this._file=B.getArg(R,"file",null),this._sourceRoot=B.getArg(R,"sourceRoot",null),this._skipValidation=B.getArg(R,"skipValidation",!1),this._sources=new V,this._names=new V,this._mappings=new Z,this._sourcesContents=null}T.prototype._version=3,T.fromSourceMap=function(C){var v=C.sourceRoot,P=new T({file:C.file,sourceRoot:v});return C.eachMapping(function(D){var M={generated:{line:D.generatedLine,column:D.generatedColumn}};null!=D.source&&(M.source=D.source,null!=v&&(M.source=B.relative(v,M.source)),M.original={line:D.originalLine,column:D.originalColumn},null!=D.name&&(M.name=D.name)),P.addMapping(M)}),C.sources.forEach(function(D){var M=D;null!==v&&(M=B.relative(v,D)),P._sources.has(M)||P._sources.add(M);var A=C.sourceContentFor(D);null!=A&&P.setSourceContent(D,A)}),P},T.prototype.addMapping=function(C){var v=B.getArg(C,"generated"),P=B.getArg(C,"original",null),D=B.getArg(C,"source",null),M=B.getArg(C,"name",null);this._skipValidation||this._validateMapping(v,P,D,M),null!=D&&(D=String(D),this._sources.has(D)||this._sources.add(D)),null!=M&&(M=String(M),this._names.has(M)||this._names.add(M)),this._mappings.add({generatedLine:v.line,generatedColumn:v.column,originalLine:null!=P&&P.line,originalColumn:null!=P&&P.column,source:D,name:M})},T.prototype.setSourceContent=function(C,v){var P=C;null!=this._sourceRoot&&(P=B.relative(this._sourceRoot,P)),null!=v?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[B.toSetString(P)]=v):this._sourcesContents&&(delete this._sourcesContents[B.toSetString(P)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},T.prototype.applySourceMap=function(C,v,P){var D=v;if(null==v){if(null==C.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');D=C.file}var M=this._sourceRoot;null!=M&&(D=B.relative(M,D));var A=new V,_=new V;this._mappings.unsortedForEach(function(g){if(g.source===D&&null!=g.originalLine){var k=C.originalPositionFor({line:g.originalLine,column:g.originalColumn});null!=k.source&&(g.source=k.source,null!=P&&(g.source=B.join(P,g.source)),null!=M&&(g.source=B.relative(M,g.source)),g.originalLine=k.line,g.originalColumn=k.column,null!=k.name&&(g.name=k.name))}var N=g.source;null!=N&&!A.has(N)&&A.add(N);var E=g.name;null!=E&&!_.has(E)&&_.add(E)},this),this._sources=A,this._names=_,C.sources.forEach(function(g){var k=C.sourceContentFor(g);null!=k&&(null!=P&&(g=B.join(P,g)),null!=M&&(g=B.relative(M,g)),this.setSourceContent(g,k))},this)},T.prototype._validateMapping=function(C,v,P,D){if(v&&"number"!=typeof v.line&&"number"!=typeof v.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(C&&"line"in C&&"column"in C&&C.line>0&&C.column>=0)||v||P||D){if(C&&"line"in C&&"column"in C&&v&&"line"in v&&"column"in v&&C.line>0&&C.column>=0&&v.line>0&&v.column>=0&&P)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:C,source:P,original:v,name:D}))}},T.prototype._serializeMappings=function(){for(var g,k,N,E,C=0,v=1,P=0,D=0,M=0,A=0,_="",x=this._mappings.toArray(),S=0,O=x.length;S<O;S++){if(g="",(k=x[S]).generatedLine!==v)for(C=0;k.generatedLine!==v;)g+=";",v++;else if(S>0){if(!B.compareByGeneratedPositionsInflated(k,x[S-1]))continue;g+=","}g+=U.encode(k.generatedColumn-C),C=k.generatedColumn,null!=k.source&&(E=this._sources.indexOf(k.source),g+=U.encode(E-A),A=E,g+=U.encode(k.originalLine-1-D),D=k.originalLine-1,g+=U.encode(k.originalColumn-P),P=k.originalColumn,null!=k.name&&(N=this._names.indexOf(k.name),g+=U.encode(N-M),M=N)),_+=g}return _},T.prototype._generateSourcesContent=function(C,v){return C.map(function(P){if(!this._sourcesContents)return null;null!=v&&(P=B.relative(v,P));var D=B.toSetString(P);return Object.prototype.hasOwnProperty.call(this._sourcesContents,D)?this._sourcesContents[D]:null},this)},T.prototype.toJSON=function(){var C={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(C.file=this._file),null!=this._sourceRoot&&(C.sourceRoot=this._sourceRoot),this._sourcesContents&&(C.sourcesContent=this._generateSourcesContent(C.sources,C.sourceRoot)),C},T.prototype.toString=function(){return JSON.stringify(this.toJSON())},q.h=T},25523:function(ue,q){q.getArg=function(S,O,L){if(O in S)return S[O];if(3===arguments.length)return L;throw new Error('"'+O+'" is a required argument.')};var U=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,B=/^data:.+\,.+$/;function V(S){var O=S.match(U);return O?{scheme:O[1],auth:O[2],host:O[3],port:O[4],path:O[5]}:null}function Z(S){var O="";return S.scheme&&(O+=S.scheme+":"),O+="//",S.auth&&(O+=S.auth+"@"),S.host&&(O+=S.host),S.port&&(O+=":"+S.port),S.path&&(O+=S.path),O}function T(S){var O=S,L=V(S);if(L){if(!L.path)return S;O=L.path}for(var z,j=q.isAbsolute(O),K=O.split(/\/+/),J=0,ie=K.length-1;ie>=0;ie--)"."===(z=K[ie])?K.splice(ie,1):".."===z?J++:J>0&&(""===z?(K.splice(ie+1,J),J=0):(K.splice(ie,2),J--));return""===(O=K.join("/"))&&(O=j?"/":"."),L?(L.path=O,Z(L)):O}function R(S,O){""===S&&(S="."),""===O&&(O=".");var L=V(O),j=V(S);if(j&&(S=j.path||"/"),L&&!L.scheme)return j&&(L.scheme=j.scheme),Z(L);if(L||O.match(B))return O;if(j&&!j.host&&!j.path)return j.host=O,Z(j);var K="/"===O.charAt(0)?O:T(S.replace(/\/+$/,"")+"/"+O);return j?(j.path=K,Z(j)):K}q.urlParse=V,q.urlGenerate=Z,q.normalize=T,q.join=R,q.isAbsolute=function(S){return"/"===S.charAt(0)||U.test(S)},q.relative=function(S,O){""===S&&(S="."),S=S.replace(/\/$/,"");for(var L=0;0!==O.indexOf(S+"/");){var j=S.lastIndexOf("/");if(j<0||(S=S.slice(0,j)).match(/^([^\/]+:\/)?\/*$/))return O;++L}return Array(L+1).join("../")+O.substr(S.length+1)};var v=!("__proto__"in Object.create(null));function P(S){return S}function A(S){if(!S)return!1;var O=S.length;if(O<9||95!==S.charCodeAt(O-1)||95!==S.charCodeAt(O-2)||111!==S.charCodeAt(O-3)||116!==S.charCodeAt(O-4)||111!==S.charCodeAt(O-5)||114!==S.charCodeAt(O-6)||112!==S.charCodeAt(O-7)||95!==S.charCodeAt(O-8)||95!==S.charCodeAt(O-9))return!1;for(var L=O-10;L>=0;L--)if(36!==S.charCodeAt(L))return!1;return!0}function k(S,O){return S===O?0:null===S?1:null===O?-1:S>O?1:-1}q.toSetString=v?P:function(S){return A(S)?"$"+S:S},q.fromSetString=v?P:function(S){return A(S)?S.slice(1):S},q.compareByOriginalPositions=function(S,O,L){var j=k(S.source,O.source);return 0!==j||0!=(j=S.originalLine-O.originalLine)||0!=(j=S.originalColumn-O.originalColumn)||L||0!=(j=S.generatedColumn-O.generatedColumn)||0!=(j=S.generatedLine-O.generatedLine)?j:k(S.name,O.name)},q.compareByGeneratedPositionsDeflated=function(S,O,L){var j=S.generatedLine-O.generatedLine;return 0!==j||0!=(j=S.generatedColumn-O.generatedColumn)||L||0!==(j=k(S.source,O.source))||0!=(j=S.originalLine-O.originalLine)||0!=(j=S.originalColumn-O.originalColumn)?j:k(S.name,O.name)},q.compareByGeneratedPositionsInflated=function(S,O){var L=S.generatedLine-O.generatedLine;return 0!==L||0!=(L=S.generatedColumn-O.generatedColumn)||0!==(L=k(S.source,O.source))||0!=(L=S.originalLine-O.originalLine)||0!=(L=S.originalColumn-O.originalColumn)?L:k(S.name,O.name)},q.parseSourceMapInput=function(S){return JSON.parse(S.replace(/^\)]}'[^\n]*\n/,""))},q.computeSourceURL=function(S,O,L){if(O=O||"",S&&("/"!==S[S.length-1]&&"/"!==O[0]&&(S+="/"),O=S+O),L){var j=V(L);if(!j)throw new Error("sourceMapURL could not be parsed");if(j.path){var K=j.path.lastIndexOf("/");K>=0&&(j.path=j.path.substring(0,K+1))}O=R(Z(j),O)}return T(O)}},52402:function(ue){ue.exports=function(q){"use strict";var U=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function V(N,E){var x=N[0],S=N[1],O=N[2],L=N[3];S=((S+=((O=((O+=((L=((L+=((x=((x+=(S&O|~S&L)+E[0]-680876936|0)<<7|x>>>25)+S|0)&S|~x&O)+E[1]-389564586|0)<<12|L>>>20)+x|0)&x|~L&S)+E[2]+606105819|0)<<17|O>>>15)+L|0)&L|~O&x)+E[3]-1044525330|0)<<22|S>>>10)+O|0,S=((S+=((O=((O+=((L=((L+=((x=((x+=(S&O|~S&L)+E[4]-176418897|0)<<7|x>>>25)+S|0)&S|~x&O)+E[5]+1200080426|0)<<12|L>>>20)+x|0)&x|~L&S)+E[6]-1473231341|0)<<17|O>>>15)+L|0)&L|~O&x)+E[7]-45705983|0)<<22|S>>>10)+O|0,S=((S+=((O=((O+=((L=((L+=((x=((x+=(S&O|~S&L)+E[8]+1770035416|0)<<7|x>>>25)+S|0)&S|~x&O)+E[9]-1958414417|0)<<12|L>>>20)+x|0)&x|~L&S)+E[10]-42063|0)<<17|O>>>15)+L|0)&L|~O&x)+E[11]-1990404162|0)<<22|S>>>10)+O|0,S=((S+=((O=((O+=((L=((L+=((x=((x+=(S&O|~S&L)+E[12]+1804603682|0)<<7|x>>>25)+S|0)&S|~x&O)+E[13]-40341101|0)<<12|L>>>20)+x|0)&x|~L&S)+E[14]-1502002290|0)<<17|O>>>15)+L|0)&L|~O&x)+E[15]+1236535329|0)<<22|S>>>10)+O|0,S=((S+=((O=((O+=((L=((L+=((x=((x+=(S&L|O&~L)+E[1]-165796510|0)<<5|x>>>27)+S|0)&O|S&~O)+E[6]-1069501632|0)<<9|L>>>23)+x|0)&S|x&~S)+E[11]+643717713|0)<<14|O>>>18)+L|0)&x|L&~x)+E[0]-373897302|0)<<20|S>>>12)+O|0,S=((S+=((O=((O+=((L=((L+=((x=((x+=(S&L|O&~L)+E[5]-701558691|0)<<5|x>>>27)+S|0)&O|S&~O)+E[10]+38016083|0)<<9|L>>>23)+x|0)&S|x&~S)+E[15]-660478335|0)<<14|O>>>18)+L|0)&x|L&~x)+E[4]-405537848|0)<<20|S>>>12)+O|0,S=((S+=((O=((O+=((L=((L+=((x=((x+=(S&L|O&~L)+E[9]+568446438|0)<<5|x>>>27)+S|0)&O|S&~O)+E[14]-1019803690|0)<<9|L>>>23)+x|0)&S|x&~S)+E[3]-187363961|0)<<14|O>>>18)+L|0)&x|L&~x)+E[8]+1163531501|0)<<20|S>>>12)+O|0,S=((S+=((O=((O+=((L=((L+=((x=((x+=(S&L|O&~L)+E[13]-1444681467|0)<<5|x>>>27)+S|0)&O|S&~O)+E[2]-51403784|0)<<9|L>>>23)+x|0)&S|x&~S)+E[7]+1735328473|0)<<14|O>>>18)+L|0)&x|L&~x)+E[12]-1926607734|0)<<20|S>>>12)+O|0,S=((S+=((O=((O+=((L=((L+=((x=((x+=(S^O^L)+E[5]-378558|0)<<4|x>>>28)+S|0)^S^O)+E[8]-2022574463|0)<<11|L>>>21)+x|0)^x^S)+E[11]+1839030562|0)<<16|O>>>16)+L|0)^L^x)+E[14]-35309556|0)<<23|S>>>9)+O|0,S=((S+=((O=((O+=((L=((L+=((x=((x+=(S^O^L)+E[1]-1530992060|0)<<4|x>>>28)+S|0)^S^O)+E[4]+1272893353|0)<<11|L>>>21)+x|0)^x^S)+E[7]-155497632|0)<<16|O>>>16)+L|0)^L^x)+E[10]-1094730640|0)<<23|S>>>9)+O|0,S=((S+=((O=((O+=((L=((L+=((x=((x+=(S^O^L)+E[13]+681279174|0)<<4|x>>>28)+S|0)^S^O)+E[0]-358537222|0)<<11|L>>>21)+x|0)^x^S)+E[3]-722521979|0)<<16|O>>>16)+L|0)^L^x)+E[6]+76029189|0)<<23|S>>>9)+O|0,S=((S+=((O=((O+=((L=((L+=((x=((x+=(S^O^L)+E[9]-640364487|0)<<4|x>>>28)+S|0)^S^O)+E[12]-421815835|0)<<11|L>>>21)+x|0)^x^S)+E[15]+530742520|0)<<16|O>>>16)+L|0)^L^x)+E[2]-995338651|0)<<23|S>>>9)+O|0,S=((S+=((L=((L+=(S^((x=((x+=(O^(S|~L))+E[0]-198630844|0)<<6|x>>>26)+S|0)|~O))+E[7]+1126891415|0)<<10|L>>>22)+x|0)^((O=((O+=(x^(L|~S))+E[14]-1416354905|0)<<15|O>>>17)+L|0)|~x))+E[5]-57434055|0)<<21|S>>>11)+O|0,S=((S+=((L=((L+=(S^((x=((x+=(O^(S|~L))+E[12]+1700485571|0)<<6|x>>>26)+S|0)|~O))+E[3]-1894986606|0)<<10|L>>>22)+x|0)^((O=((O+=(x^(L|~S))+E[10]-1051523|0)<<15|O>>>17)+L|0)|~x))+E[1]-2054922799|0)<<21|S>>>11)+O|0,S=((S+=((L=((L+=(S^((x=((x+=(O^(S|~L))+E[8]+1873313359|0)<<6|x>>>26)+S|0)|~O))+E[15]-30611744|0)<<10|L>>>22)+x|0)^((O=((O+=(x^(L|~S))+E[6]-1560198380|0)<<15|O>>>17)+L|0)|~x))+E[13]+1309151649|0)<<21|S>>>11)+O|0,S=((S+=((L=((L+=(S^((x=((x+=(O^(S|~L))+E[4]-145523070|0)<<6|x>>>26)+S|0)|~O))+E[11]-1120210379|0)<<10|L>>>22)+x|0)^((O=((O+=(x^(L|~S))+E[2]+718787259|0)<<15|O>>>17)+L|0)|~x))+E[9]-343485551|0)<<21|S>>>11)+O|0,N[0]=x+N[0]|0,N[1]=S+N[1]|0,N[2]=O+N[2]|0,N[3]=L+N[3]|0}function Z(N){var x,E=[];for(x=0;x<64;x+=4)E[x>>2]=N.charCodeAt(x)+(N.charCodeAt(x+1)<<8)+(N.charCodeAt(x+2)<<16)+(N.charCodeAt(x+3)<<24);return E}function T(N){var x,E=[];for(x=0;x<64;x+=4)E[x>>2]=N[x]+(N[x+1]<<8)+(N[x+2]<<16)+(N[x+3]<<24);return E}function R(N){var S,O,L,j,K,z,E=N.length,x=[1732584193,-271733879,-1732584194,271733878];for(S=64;S<=E;S+=64)V(x,Z(N.substring(S-64,S)));for(O=(N=N.substring(S-64)).length,L=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],S=0;S<O;S+=1)L[S>>2]|=N.charCodeAt(S)<<(S%4<<3);if(L[S>>2]|=128<<(S%4<<3),S>55)for(V(x,L),S=0;S<16;S+=1)L[S]=0;return j=(j=8*E).toString(16).match(/(.*?)(.{0,8})$/),K=parseInt(j[2],16),z=parseInt(j[1],16)||0,L[14]=K,L[15]=z,V(x,L),x}function v(N){var x,E="";for(x=0;x<4;x+=1)E+=U[N>>8*x+4&15]+U[N>>8*x&15];return E}function P(N){var E;for(E=0;E<N.length;E+=1)N[E]=v(N[E]);return N.join("")}function D(N){return/[\u0080-\uFFFF]/.test(N)&&(N=unescape(encodeURIComponent(N))),N}function g(N){var S,E=[],x=N.length;for(S=0;S<x-1;S+=2)E.push(parseInt(N.substr(S,2),16));return String.fromCharCode.apply(String,E)}function k(){this.reset()}return P(R("hello")),"undefined"!=typeof ArrayBuffer&&!ArrayBuffer.prototype.slice&&function(){function N(E,x){return(E=0|E||0)<0?Math.max(E+x,0):Math.min(E,x)}ArrayBuffer.prototype.slice=function(E,x){var j,K,z,J,S=this.byteLength,O=N(E,S),L=S;return undefined!==x&&(L=N(x,S)),O>L?new ArrayBuffer(0):(j=L-O,K=new ArrayBuffer(j),z=new Uint8Array(K),J=new Uint8Array(this,O,j),z.set(J),K)}}(),k.prototype.append=function(N){return this.appendBinary(D(N)),this},k.prototype.appendBinary=function(N){this._buff+=N,this._length+=N.length;var x,E=this._buff.length;for(x=64;x<=E;x+=64)V(this._hash,Z(this._buff.substring(x-64,x)));return this._buff=this._buff.substring(x-64),this},k.prototype.end=function(N){var S,L,E=this._buff,x=E.length,O=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(S=0;S<x;S+=1)O[S>>2]|=E.charCodeAt(S)<<(S%4<<3);return this._finish(O,x),L=P(this._hash),N&&(L=g(L)),this.reset(),L},k.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},k.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},k.prototype.setState=function(N){return this._buff=N.buff,this._length=N.length,this._hash=N.hash,this},k.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},k.prototype._finish=function(N,E){var S,O,L,x=E;if(N[x>>2]|=128<<(x%4<<3),x>55)for(V(this._hash,N),x=0;x<16;x+=1)N[x]=0;S=(S=8*this._length).toString(16).match(/(.*?)(.{0,8})$/),O=parseInt(S[2],16),L=parseInt(S[1],16)||0,N[14]=O,N[15]=L,V(this._hash,N)},k.hash=function(N,E){return k.hashBinary(D(N),E)},k.hashBinary=function(N,E){var S=P(R(N));return E?g(S):S},(k.ArrayBuffer=function(){this.reset()}).prototype.append=function(N){var S,E=function(N,E,x){var S=new Uint8Array(N.byteLength+E.byteLength);return S.set(new Uint8Array(N)),S.set(new Uint8Array(E),N.byteLength),x?S:S.buffer}(this._buff.buffer,N,!0),x=E.length;for(this._length+=N.byteLength,S=64;S<=x;S+=64)V(this._hash,T(E.subarray(S-64,S)));return this._buff=S-64<x?new Uint8Array(E.buffer.slice(S-64)):new Uint8Array(0),this},k.ArrayBuffer.prototype.end=function(N){var O,L,E=this._buff,x=E.length,S=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(O=0;O<x;O+=1)S[O>>2]|=E[O]<<(O%4<<3);return this._finish(S,x),L=P(this._hash),N&&(L=g(L)),this.reset(),L},k.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},k.ArrayBuffer.prototype.getState=function(){var N=k.prototype.getState.call(this);return N.buff=function(N){return String.fromCharCode.apply(null,new Uint8Array(N))}(N.buff),N},k.ArrayBuffer.prototype.setState=function(N){return N.buff=function(N,E){var L,x=N.length,S=new ArrayBuffer(x),O=new Uint8Array(S);for(L=0;L<x;L+=1)O[L]=N.charCodeAt(L);return E?O:S}(N.buff,!0),k.prototype.setState.call(this,N)},k.ArrayBuffer.prototype.destroy=k.prototype.destroy,k.ArrayBuffer.prototype._finish=k.prototype._finish,k.ArrayBuffer.hash=function(N,E){var S=P(function(N){var S,O,L,j,K,z,E=N.length,x=[1732584193,-271733879,-1732584194,271733878];for(S=64;S<=E;S+=64)V(x,T(N.subarray(S-64,S)));for(O=(N=S-64<E?N.subarray(S-64):new Uint8Array(0)).length,L=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],S=0;S<O;S+=1)L[S>>2]|=N[S]<<(S%4<<3);if(L[S>>2]|=128<<(S%4<<3),S>55)for(V(x,L),S=0;S<16;S+=1)L[S]=0;return j=(j=8*E).toString(16).match(/(.*?)(.{0,8})$/),K=parseInt(j[2],16),z=parseInt(j[1],16)||0,L[14]=K,L[15]=z,V(x,L),x}(new Uint8Array(N)));return E?g(S):S},k}()},49940:function(ue,q,f){var U=f(33499),B=f(54968),V=B;V.v1=U,V.v4=B,ue.exports=V},83702:function(ue){for(var q=[],f=0;f<256;++f)q[f]=(f+256).toString(16).substr(1);ue.exports=function(B,V){var Z=V||0;return[q[B[Z++]],q[B[Z++]],q[B[Z++]],q[B[Z++]],"-",q[B[Z++]],q[B[Z++]],"-",q[B[Z++]],q[B[Z++]],"-",q[B[Z++]],q[B[Z++]],"-",q[B[Z++]],q[B[Z++]],q[B[Z++]],q[B[Z++]],q[B[Z++]],q[B[Z++]]].join("")}},1942:function(ue){var q="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(q){var f=new Uint8Array(16);ue.exports=function(){return q(f),f}}else{var U=new Array(16);ue.exports=function(){for(var Z,V=0;V<16;V++)0==(3&V)&&(Z=4294967296*Math.random()),U[V]=Z>>>((3&V)<<3)&255;return U}}},33499:function(ue,q,f){var V,Z,U=f(1942),B=f(83702),T=0,R=0;ue.exports=function(v,P,D){var M=P&&D||0,A=P||[],_=(v=v||{}).node||V,g=void 0!==v.clockseq?v.clockseq:Z;if(null==_||null==g){var k=U();null==_&&(_=V=[1|k[0],k[1],k[2],k[3],k[4],k[5]]),null==g&&(g=Z=16383&(k[6]<<8|k[7]))}var N=void 0!==v.msecs?v.msecs:(new Date).getTime(),E=void 0!==v.nsecs?v.nsecs:R+1,x=N-T+(E-R)/1e4;if(x<0&&void 0===v.clockseq&&(g=g+1&16383),(x<0||N>T)&&void 0===v.nsecs&&(E=0),E>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");T=N,R=E,Z=g;var S=(1e4*(268435455&(N+=122192928e5))+E)%4294967296;A[M++]=S>>>24&255,A[M++]=S>>>16&255,A[M++]=S>>>8&255,A[M++]=255&S;var O=N/4294967296*1e4&268435455;A[M++]=O>>>8&255,A[M++]=255&O,A[M++]=O>>>24&15|16,A[M++]=O>>>16&255,A[M++]=g>>>8|128,A[M++]=255&g;for(var L=0;L<6;++L)A[M+L]=_[L];return P||B(A)}},54968:function(ue,q,f){var U=f(1942),B=f(83702);ue.exports=function(Z,T,R){var C=T&&R||0;"string"==typeof Z&&(T="binary"===Z?new Array(16):null,Z=null);var v=(Z=Z||{}).random||(Z.rng||U)();if(v[6]=15&v[6]|64,v[8]=63&v[8]|128,T)for(var P=0;P<16;++P)T[C+P]=v[P];return T||B(v)}},3397:function(ue){window,ue.exports=function(q){var f={};function U(B){if(f[B])return f[B].exports;var V=f[B]={i:B,l:!1,exports:{}};return q[B].call(V.exports,V,V.exports,U),V.l=!0,V.exports}return U.m=q,U.c=f,U.d=function(B,V,Z){U.o(B,V)||Object.defineProperty(B,V,{enumerable:!0,get:Z})},U.r=function(B){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(B,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(B,"__esModule",{value:!0})},U.t=function(B,V){if(1&V&&(B=U(B)),8&V||4&V&&"object"==typeof B&&B&&B.__esModule)return B;var Z=Object.create(null);if(U.r(Z),Object.defineProperty(Z,"default",{enumerable:!0,value:B}),2&V&&"string"!=typeof B)for(var T in B)U.d(Z,T,function(R){return B[R]}.bind(null,T));return Z},U.n=function(B){var V=B&&B.__esModule?function(){return B.default}:function(){return B};return U.d(V,"a",V),V},U.o=function(B,V){return Object.prototype.hasOwnProperty.call(B,V)},U.p="",U(U.s=0)}([function(q,f,U){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AttachAddon=void 0;var B=function(){function Z(T,R){this._disposables=[],this._socket=T,this._socket.binaryType="arraybuffer",this._bidirectional=!R||!1!==R.bidirectional}return Z.prototype.activate=function(T){var R=this;this._disposables.push(V(this._socket,"message",function(C){var v=C.data;T.write("string"==typeof v?v:new Uint8Array(v))})),this._bidirectional&&(this._disposables.push(T.onData(function(C){return R._sendData(C)})),this._disposables.push(T.onBinary(function(C){return R._sendBinary(C)}))),this._disposables.push(V(this._socket,"close",function(){return R.dispose()})),this._disposables.push(V(this._socket,"error",function(){return R.dispose()}))},Z.prototype.dispose=function(){this._disposables.forEach(function(T){return T.dispose()})},Z.prototype._sendData=function(T){1===this._socket.readyState&&this._socket.send(T)},Z.prototype._sendBinary=function(T){if(1===this._socket.readyState){for(var R=new Uint8Array(T.length),C=0;C<T.length;++C)R[C]=255&T.charCodeAt(C);this._socket.send(R)}},Z}();function V(Z,T,R){return Z.addEventListener(T,R),{dispose:function(){R&&Z.removeEventListener(T,R)}}}f.AttachAddon=B}])},97916:function(ue){self,ue.exports=function(){"use strict";var q={775:function(B,V){Object.defineProperty(V,"__esModule",{value:!0}),V.FitAddon=void 0;var Z=function(){function T(){}return T.prototype.activate=function(R){this._terminal=R},T.prototype.dispose=function(){},T.prototype.fit=function(){var R=this.proposeDimensions();R&&this._terminal&&(this._terminal.rows===R.rows&&this._terminal.cols===R.cols||(this._terminal._core._renderService.clear(),this._terminal.resize(R.cols,R.rows)))},T.prototype.proposeDimensions=function(){if(this._terminal&&this._terminal.element&&this._terminal.element.parentElement){var R=this._terminal._core;if(0!==R._renderService.dimensions.actualCellWidth&&0!==R._renderService.dimensions.actualCellHeight){var C=window.getComputedStyle(this._terminal.element.parentElement),v=parseInt(C.getPropertyValue("height")),P=Math.max(0,parseInt(C.getPropertyValue("width"))),D=window.getComputedStyle(this._terminal.element),M=v-(parseInt(D.getPropertyValue("padding-top"))+parseInt(D.getPropertyValue("padding-bottom"))),A=P-(parseInt(D.getPropertyValue("padding-right"))+parseInt(D.getPropertyValue("padding-left")))-R.viewport.scrollBarWidth;return{cols:Math.max(2,Math.floor(A/R._renderService.dimensions.actualCellWidth)),rows:Math.max(1,Math.floor(M/R._renderService.dimensions.actualCellHeight))}}}},T}();V.FitAddon=Z}},f={};return function U(B){if(f[B])return f[B].exports;var V=f[B]={exports:{}};return q[B](V,V.exports,U),V.exports}(775)}()},20039:function(ue){self,ue.exports=function(){"use strict";var q={4567:function(Z,T,R){var C,v=this&&this.__extends||(C=function(x,S){return(C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(O,L){O.__proto__=L}||function(O,L){for(var j in L)Object.prototype.hasOwnProperty.call(L,j)&&(O[j]=L[j])})(x,S)},function(E,x){if("function"!=typeof x&&null!==x)throw new TypeError("Class extends value "+String(x)+" is not a constructor or null");function S(){this.constructor=E}C(E,x),E.prototype=null===x?Object.create(x):(S.prototype=x.prototype,new S)});Object.defineProperty(T,"__esModule",{value:!0}),T.AccessibilityManager=void 0;var P=R(9042),D=R(6114),M=R(9924),A=R(3656),_=R(844),g=R(5596),k=R(9631),N=function(E){function x(S,O){var L=E.call(this)||this;L._terminal=S,L._renderService=O,L._liveRegionLineCount=0,L._charsToConsume=[],L._charsToAnnounce="",L._accessibilityTreeRoot=document.createElement("div"),L._accessibilityTreeRoot.classList.add("xterm-accessibility"),L._rowContainer=document.createElement("div"),L._rowContainer.setAttribute("role","list"),L._rowContainer.classList.add("xterm-accessibility-tree"),L._rowElements=[];for(var j=0;j<L._terminal.rows;j++)L._rowElements[j]=L._createAccessibilityTreeNode(),L._rowContainer.appendChild(L._rowElements[j]);if(L._topBoundaryFocusListener=function(K){return L._onBoundaryFocus(K,0)},L._bottomBoundaryFocusListener=function(K){return L._onBoundaryFocus(K,1)},L._rowElements[0].addEventListener("focus",L._topBoundaryFocusListener),L._rowElements[L._rowElements.length-1].addEventListener("focus",L._bottomBoundaryFocusListener),L._refreshRowsDimensions(),L._accessibilityTreeRoot.appendChild(L._rowContainer),L._renderRowsDebouncer=new M.TimeBasedDebouncer(L._renderRows.bind(L)),L._refreshRows(),L._liveRegion=document.createElement("div"),L._liveRegion.classList.add("live-region"),L._liveRegion.setAttribute("aria-live","assertive"),L._accessibilityTreeRoot.appendChild(L._liveRegion),!L._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");return L._terminal.element.insertAdjacentElement("afterbegin",L._accessibilityTreeRoot),L.register(L._renderRowsDebouncer),L.register(L._terminal.onResize(function(K){return L._onResize(K.rows)})),L.register(L._terminal.onRender(function(K){return L._refreshRows(K.start,K.end)})),L.register(L._terminal.onScroll(function(){return L._refreshRows()})),L.register(L._terminal.onA11yChar(function(K){return L._onChar(K)})),L.register(L._terminal.onLineFeed(function(){return L._onChar("\n")})),L.register(L._terminal.onA11yTab(function(K){return L._onTab(K)})),L.register(L._terminal.onKey(function(K){return L._onKey(K.key)})),L.register(L._terminal.onBlur(function(){return L._clearLiveRegion()})),L.register(L._renderService.onDimensionsChange(function(){return L._refreshRowsDimensions()})),L._screenDprMonitor=new g.ScreenDprMonitor,L.register(L._screenDprMonitor),L._screenDprMonitor.setListener(function(){return L._refreshRowsDimensions()}),L.register(A.addDisposableDomListener(window,"resize",function(){return L._refreshRowsDimensions()})),L}return v(x,E),x.prototype.dispose=function(){E.prototype.dispose.call(this),k.removeElementFromParent(this._accessibilityTreeRoot),this._rowElements.length=0},x.prototype._onBoundaryFocus=function(S,O){var L=S.target,j=this._rowElements[0===O?1:this._rowElements.length-2];if(L.getAttribute("aria-posinset")!==(0===O?"1":""+this._terminal.buffer.lines.length)&&S.relatedTarget===j){var K,z;if(0===O?(K=L,z=this._rowElements.pop(),this._rowContainer.removeChild(z)):(K=this._rowElements.shift(),z=L,this._rowContainer.removeChild(K)),K.removeEventListener("focus",this._topBoundaryFocusListener),z.removeEventListener("focus",this._bottomBoundaryFocusListener),0===O){var J=this._createAccessibilityTreeNode();this._rowElements.unshift(J),this._rowContainer.insertAdjacentElement("afterbegin",J)}else J=this._createAccessibilityTreeNode(),this._rowElements.push(J),this._rowContainer.appendChild(J);this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(0===O?-1:1),this._rowElements[0===O?1:this._rowElements.length-2].focus(),S.preventDefault(),S.stopImmediatePropagation()}},x.prototype._onResize=function(S){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(var O=this._rowContainer.children.length;O<this._terminal.rows;O++)this._rowElements[O]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[O]);for(;this._rowElements.length>S;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},x.prototype._createAccessibilityTreeNode=function(){var S=document.createElement("div");return S.setAttribute("role","listitem"),S.tabIndex=-1,this._refreshRowDimensions(S),S},x.prototype._onTab=function(S){for(var O=0;O<S;O++)this._onChar(" ")},x.prototype._onChar=function(S){var O=this;this._liveRegionLineCount<21&&(this._charsToConsume.length>0?this._charsToConsume.shift()!==S&&(this._charsToAnnounce+=S):this._charsToAnnounce+=S,"\n"===S&&(this._liveRegionLineCount++,21===this._liveRegionLineCount&&(this._liveRegion.textContent+=P.tooMuchOutput)),D.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){O._accessibilityTreeRoot.appendChild(O._liveRegion)},0))},x.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,D.isMac&&k.removeElementFromParent(this._liveRegion)},x.prototype._onKey=function(S){this._clearLiveRegion(),this._charsToConsume.push(S)},x.prototype._refreshRows=function(S,O){this._renderRowsDebouncer.refresh(S,O,this._terminal.rows)},x.prototype._renderRows=function(S,O){for(var L=this._terminal.buffer,j=L.lines.length.toString(),K=S;K<=O;K++){var z=L.translateBufferLineToString(L.ydisp+K,!0),J=(L.ydisp+K+1).toString(),ie=this._rowElements[K];ie&&(0===z.length?ie.innerText="\xa0":ie.textContent=z,ie.setAttribute("aria-posinset",J),ie.setAttribute("aria-setsize",j))}this._announceCharacters()},x.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var S=0;S<this._terminal.rows;S++)this._refreshRowDimensions(this._rowElements[S])}},x.prototype._refreshRowDimensions=function(S){S.style.height=this._renderService.dimensions.actualCellHeight+"px"},x.prototype._announceCharacters=function(){0!==this._charsToAnnounce.length&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")},x}(_.Disposable);T.AccessibilityManager=N},3614:function(Z,T){function R(D){return D.replace(/\r?\n/g,"\r")}function C(D,M){return M?"\x1b[200~"+D+"\x1b[201~":D}function v(D,M,A){D=C(D=R(D),A.decPrivateModes.bracketedPasteMode),A.triggerDataEvent(D,!0),M.value=""}function P(D,M,A){var _=A.getBoundingClientRect(),g=D.clientX-_.left-10,k=D.clientY-_.top-10;M.style.width="20px",M.style.height="20px",M.style.left=g+"px",M.style.top=k+"px",M.style.zIndex="1000",M.focus()}Object.defineProperty(T,"__esModule",{value:!0}),T.rightClickHandler=T.moveTextAreaUnderMouseCursor=T.paste=T.handlePasteEvent=T.copyHandler=T.bracketTextForPaste=T.prepareTextForTerminal=void 0,T.prepareTextForTerminal=R,T.bracketTextForPaste=C,T.copyHandler=function(D,M){D.clipboardData&&D.clipboardData.setData("text/plain",M.selectionText),D.preventDefault()},T.handlePasteEvent=function(D,M,A){D.stopPropagation(),D.clipboardData&&v(D.clipboardData.getData("text/plain"),M,A)},T.paste=v,T.moveTextAreaUnderMouseCursor=P,T.rightClickHandler=function(D,M,A,_,g){P(D,M,A),g&&_.rightClickSelect(D),M.value=_.selectionText,M.select()}},4774:function(Z,T){var R,C,v,P,A;function D(A){var _=A.toString(16);return _.length<2?"0"+_:_}function M(A,_){return A<_?(_+.05)/(A+.05):(A+.05)/(_+.05)}Object.defineProperty(T,"__esModule",{value:!0}),T.contrastRatio=T.toPaddedHex=T.rgba=T.rgb=T.css=T.color=T.channels=void 0,(A=R=T.channels||(T.channels={})).toCss=function(_,g,k,N){return void 0!==N?"#"+D(_)+D(g)+D(k)+D(N):"#"+D(_)+D(g)+D(k)},A.toRgba=function(_,g,k,N){return void 0===N&&(N=255),(_<<24|g<<16|k<<8|N)>>>0},(C=T.color||(T.color={})).blend=function(A,_){var g=(255&_.rgba)/255;if(1===g)return{css:_.css,rgba:_.rgba};var N=_.rgba>>16&255,E=_.rgba>>8&255,x=A.rgba>>24&255,S=A.rgba>>16&255,O=A.rgba>>8&255,L=x+Math.round(((_.rgba>>24&255)-x)*g),j=S+Math.round((N-S)*g),K=O+Math.round((E-O)*g);return{css:R.toCss(L,j,K),rgba:R.toRgba(L,j,K)}},C.isOpaque=function(A){return 255==(255&A.rgba)},C.ensureContrastRatio=function(A,_,g){var k=P.ensureContrastRatio(A.rgba,_.rgba,g);if(k)return P.toColor(k>>24&255,k>>16&255,k>>8&255)},C.opaque=function(A){var _=(255|A.rgba)>>>0,g=P.toChannels(_);return{css:R.toCss(g[0],g[1],g[2]),rgba:_}},C.opacity=function(A,_){var g=Math.round(255*_),k=P.toChannels(A.rgba),N=k[0],E=k[1],x=k[2];return{css:R.toCss(N,E,x,g),rgba:R.toRgba(N,E,x,g)}},(T.css||(T.css={})).toColor=function(A){switch(A.length){case 7:return{css:A,rgba:(parseInt(A.slice(1),16)<<8|255)>>>0};case 9:return{css:A,rgba:parseInt(A.slice(1),16)>>>0}}throw new Error("css.toColor: Unsupported css format")},function(A){function _(g,k,N){var E=g/255,x=k/255,S=N/255;return.2126*(E<=.03928?E/12.92:Math.pow((E+.055)/1.055,2.4))+.7152*(x<=.03928?x/12.92:Math.pow((x+.055)/1.055,2.4))+.0722*(S<=.03928?S/12.92:Math.pow((S+.055)/1.055,2.4))}A.relativeLuminance=function(g){return _(g>>16&255,g>>8&255,255&g)},A.relativeLuminance2=_}(v=T.rgb||(T.rgb={})),function(A){function _(k,N,E){for(var x=k>>24&255,S=k>>16&255,O=k>>8&255,L=N>>24&255,j=N>>16&255,K=N>>8&255,z=M(v.relativeLuminance2(L,K,j),v.relativeLuminance2(x,S,O));z<E&&(L>0||j>0||K>0);)L-=Math.max(0,Math.ceil(.1*L)),j-=Math.max(0,Math.ceil(.1*j)),K-=Math.max(0,Math.ceil(.1*K)),z=M(v.relativeLuminance2(L,K,j),v.relativeLuminance2(x,S,O));return(L<<24|j<<16|K<<8|255)>>>0}function g(k,N,E){for(var x=k>>24&255,S=k>>16&255,O=k>>8&255,L=N>>24&255,j=N>>16&255,K=N>>8&255,z=M(v.relativeLuminance2(L,K,j),v.relativeLuminance2(x,S,O));z<E&&(L<255||j<255||K<255);)L=Math.min(255,L+Math.ceil(.1*(255-L))),j=Math.min(255,j+Math.ceil(.1*(255-j))),K=Math.min(255,K+Math.ceil(.1*(255-K))),z=M(v.relativeLuminance2(L,K,j),v.relativeLuminance2(x,S,O));return(L<<24|j<<16|K<<8|255)>>>0}A.ensureContrastRatio=function(k,N,E){var x=v.relativeLuminance(k>>8),S=v.relativeLuminance(N>>8);if(M(x,S)<E)return S<x?_(k,N,E):g(k,N,E)},A.reduceLuminance=_,A.increaseLuminance=g,A.toChannels=function(k){return[k>>24&255,k>>16&255,k>>8&255,255&k]},A.toColor=function(k,N,E){return{css:R.toCss(k,N,E),rgba:R.toRgba(k,N,E)}}}(P=T.rgba||(T.rgba={})),T.toPaddedHex=D,T.contrastRatio=M},7239:function(Z,T){Object.defineProperty(T,"__esModule",{value:!0}),T.ColorContrastCache=void 0;var R=function(){function C(){this._color={},this._rgba={}}return C.prototype.clear=function(){this._color={},this._rgba={}},C.prototype.setCss=function(v,P,D){this._rgba[v]||(this._rgba[v]={}),this._rgba[v][P]=D},C.prototype.getCss=function(v,P){return this._rgba[v]?this._rgba[v][P]:void 0},C.prototype.setColor=function(v,P,D){this._color[v]||(this._color[v]={}),this._color[v][P]=D},C.prototype.getColor=function(v,P){return this._color[v]?this._color[v][P]:void 0},C}();T.ColorContrastCache=R},5680:function(Z,T,R){Object.defineProperty(T,"__esModule",{value:!0}),T.ColorManager=T.DEFAULT_ANSI_COLORS=void 0;var C=R(4774),v=R(7239),P=C.css.toColor("#ffffff"),D=C.css.toColor("#000000"),M=C.css.toColor("#ffffff"),A=C.css.toColor("#000000"),_={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};T.DEFAULT_ANSI_COLORS=Object.freeze(function(){for(var k=[C.css.toColor("#2e3436"),C.css.toColor("#cc0000"),C.css.toColor("#4e9a06"),C.css.toColor("#c4a000"),C.css.toColor("#3465a4"),C.css.toColor("#75507b"),C.css.toColor("#06989a"),C.css.toColor("#d3d7cf"),C.css.toColor("#555753"),C.css.toColor("#ef2929"),C.css.toColor("#8ae234"),C.css.toColor("#fce94f"),C.css.toColor("#729fcf"),C.css.toColor("#ad7fa8"),C.css.toColor("#34e2e2"),C.css.toColor("#eeeeec")],N=[0,95,135,175,215,255],E=0;E<216;E++){var x=N[E/36%6|0],S=N[E/6%6|0],O=N[E%6];k.push({css:C.channels.toCss(x,S,O),rgba:C.channels.toRgba(x,S,O)})}for(E=0;E<24;E++){var L=8+10*E;k.push({css:C.channels.toCss(L,L,L),rgba:C.channels.toRgba(L,L,L)})}return k}());var g=function(){function k(N,E){this.allowTransparency=E;var x=N.createElement("canvas");x.width=1,x.height=1;var S=x.getContext("2d");if(!S)throw new Error("Could not get rendering context");this._ctx=S,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new v.ColorContrastCache,this.colors={foreground:P,background:D,cursor:M,cursorAccent:A,selectionTransparent:_,selectionOpaque:C.color.blend(D,_),ansi:T.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}return k.prototype.onOptionsChange=function(N){"minimumContrastRatio"===N&&this._contrastCache.clear()},k.prototype.setTheme=function(N){void 0===N&&(N={}),this.colors.foreground=this._parseColor(N.foreground,P),this.colors.background=this._parseColor(N.background,D),this.colors.cursor=this._parseColor(N.cursor,M,!0),this.colors.cursorAccent=this._parseColor(N.cursorAccent,A,!0),this.colors.selectionTransparent=this._parseColor(N.selection,_,!0),this.colors.selectionOpaque=C.color.blend(this.colors.background,this.colors.selectionTransparent),C.color.isOpaque(this.colors.selectionTransparent)&&(this.colors.selectionTransparent=C.color.opacity(this.colors.selectionTransparent,.3)),this.colors.ansi[0]=this._parseColor(N.black,T.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(N.red,T.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(N.green,T.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(N.yellow,T.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(N.blue,T.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(N.magenta,T.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(N.cyan,T.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(N.white,T.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(N.brightBlack,T.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(N.brightRed,T.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(N.brightGreen,T.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(N.brightYellow,T.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(N.brightBlue,T.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(N.brightMagenta,T.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(N.brightCyan,T.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(N.brightWhite,T.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},k.prototype._parseColor=function(N,E,x){if(void 0===x&&(x=this.allowTransparency),void 0===N)return E;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=N,"string"!=typeof this._ctx.fillStyle)return console.warn("Color: "+N+" is invalid using fallback "+E.css),E;this._ctx.fillRect(0,0,1,1);var S=this._ctx.getImageData(0,0,1,1).data;if(255!==S[3]){if(!x)return console.warn("Color: "+N+" is using transparency, but allowTransparency is false. Using fallback "+E.css+"."),E;var O=this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map(function(ie){return Number(ie)}),L=O[0],j=O[1],K=O[2],J=Math.round(255*O[3]);return{rgba:C.channels.toRgba(L,j,K,J),css:N}}return{css:this._ctx.fillStyle,rgba:C.channels.toRgba(S[0],S[1],S[2],S[3])}},k}();T.ColorManager=g},9631:function(Z,T){Object.defineProperty(T,"__esModule",{value:!0}),T.removeElementFromParent=void 0,T.removeElementFromParent=function(){for(var R,C=[],v=0;v<arguments.length;v++)C[v]=arguments[v];for(var P=0,D=C;P<D.length;P++){var M=D[P];null===(R=null==M?void 0:M.parentElement)||void 0===R||R.removeChild(M)}}},3656:function(Z,T){Object.defineProperty(T,"__esModule",{value:!0}),T.addDisposableDomListener=void 0,T.addDisposableDomListener=function(R,C,v,P){R.addEventListener(C,v,P);var D=!1;return{dispose:function(){D||(D=!0,R.removeEventListener(C,v,P))}}}},3551:function(Z,T,R){var C=this&&this.__decorate||function(_,g,k,N){var E,x=arguments.length,S=x<3?g:null===N?N=Object.getOwnPropertyDescriptor(g,k):N;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)S=Reflect.decorate(_,g,k,N);else for(var O=_.length-1;O>=0;O--)(E=_[O])&&(S=(x<3?E(S):x>3?E(g,k,S):E(g,k))||S);return x>3&&S&&Object.defineProperty(g,k,S),S},v=this&&this.__param||function(_,g){return function(k,N){g(k,N,_)}};Object.defineProperty(T,"__esModule",{value:!0}),T.MouseZone=T.Linkifier=void 0;var P=R(8460),D=R(2585),M=function(){function _(g,k,N){this._bufferService=g,this._logService=k,this._unicodeService=N,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new P.EventEmitter,this._onHideLinkUnderline=new P.EventEmitter,this._onLinkTooltip=new P.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(_.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),_.prototype.attachToDom=function(g,k){this._element=g,this._mouseZoneManager=k},_.prototype.linkifyRows=function(g,k){var N=this;this._mouseZoneManager&&(void 0===this._rowsToLinkify.start||void 0===this._rowsToLinkify.end?(this._rowsToLinkify.start=g,this._rowsToLinkify.end=k):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,g),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,k)),this._mouseZoneManager.clearAll(g,k),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return N._linkifyRows()},_._timeBeforeLatency))},_.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var g=this._bufferService.buffer;if(void 0!==this._rowsToLinkify.start&&void 0!==this._rowsToLinkify.end){var k=g.ydisp+this._rowsToLinkify.start;if(!(k>=g.lines.length)){for(var N=g.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,E=Math.ceil(2e3/this._bufferService.cols),x=this._bufferService.buffer.iterator(!1,k,N,E,E);x.hasNext();)for(var S=x.next(),O=0;O<this._linkMatchers.length;O++)this._doLinkifyRow(S.range.first,S.content,this._linkMatchers[O]);this._rowsToLinkify.start=void 0,this._rowsToLinkify.end=void 0}}else this._logService.debug("_rowToLinkify was unset before _linkifyRows was called")},_.prototype.registerLinkMatcher=function(g,k,N){if(void 0===N&&(N={}),!k)throw new Error("handler must be defined");var E={id:this._nextLinkMatcherId++,regex:g,handler:k,matchIndex:N.matchIndex,validationCallback:N.validationCallback,hoverTooltipCallback:N.tooltipCallback,hoverLeaveCallback:N.leaveCallback,willLinkActivate:N.willLinkActivate,priority:N.priority||0};return this._addLinkMatcherToList(E),E.id},_.prototype._addLinkMatcherToList=function(g){if(0!==this._linkMatchers.length){for(var k=this._linkMatchers.length-1;k>=0;k--)if(g.priority<=this._linkMatchers[k].priority)return void this._linkMatchers.splice(k+1,0,g);this._linkMatchers.splice(0,0,g)}else this._linkMatchers.push(g)},_.prototype.deregisterLinkMatcher=function(g){for(var k=0;k<this._linkMatchers.length;k++)if(this._linkMatchers[k].id===g)return this._linkMatchers.splice(k,1),!0;return!1},_.prototype._doLinkifyRow=function(g,k,N){for(var E,x=this,S=new RegExp(N.regex.source,(N.regex.flags||"")+"g"),O=-1,L=function(){var z=E["number"!=typeof N.matchIndex?0:N.matchIndex];if(!z)return j._logService.debug("match found without corresponding matchIndex",E,N),"break";if(O=k.indexOf(z,O+1),S.lastIndex=O+z.length,O<0)return"break";var J=j._bufferService.buffer.stringIndexToBufferIndex(g,O);if(J[0]<0)return"break";var ie=j._bufferService.buffer.lines.get(J[0]);if(!ie)return"break";var te=ie.getFg(J[1]),ae=te?te>>9&511:void 0;N.validationCallback?N.validationCallback(z,function(se){x._rowsTimeoutId||se&&x._addLink(J[1],J[0]-x._bufferService.buffer.ydisp,z,N,ae)}):j._addLink(J[1],J[0]-j._bufferService.buffer.ydisp,z,N,ae)},j=this;null!==(E=S.exec(k))&&"break"!==L(););},_.prototype._addLink=function(g,k,N,E,x){var S=this;if(this._mouseZoneManager&&this._element){var O=this._unicodeService.getStringCellWidth(N),L=g%this._bufferService.cols,j=k+Math.floor(g/this._bufferService.cols),K=(L+O)%this._bufferService.cols,z=j+Math.floor((L+O)/this._bufferService.cols);0===K&&(K=this._bufferService.cols,z--),this._mouseZoneManager.add(new A(L+1,j+1,K+1,z+1,function(J){if(E.handler)return E.handler(J,N);var ie=window.open();ie?(ie.opener=null,ie.location.href=N):console.warn("Opening link blocked as opener could not be cleared")},function(){S._onShowLinkUnderline.fire(S._createLinkHoverEvent(L,j,K,z,x)),S._element.classList.add("xterm-cursor-pointer")},function(J){S._onLinkTooltip.fire(S._createLinkHoverEvent(L,j,K,z,x)),E.hoverTooltipCallback&&E.hoverTooltipCallback(J,N,{start:{x:L,y:j},end:{x:K,y:z}})},function(){S._onHideLinkUnderline.fire(S._createLinkHoverEvent(L,j,K,z,x)),S._element.classList.remove("xterm-cursor-pointer"),E.hoverLeaveCallback&&E.hoverLeaveCallback()},function(J){return!E.willLinkActivate||E.willLinkActivate(J,N)}))}},_.prototype._createLinkHoverEvent=function(g,k,N,E,x){return{x1:g,y1:k,x2:N,y2:E,cols:this._bufferService.cols,fg:x}},_._timeBeforeLatency=200,_=C([v(0,D.IBufferService),v(1,D.ILogService),v(2,D.IUnicodeService)],_)}();T.Linkifier=M;var A=function(g,k,N,E,x,S,O,L,j){this.x1=g,this.y1=k,this.x2=N,this.y2=E,this.clickCallback=x,this.hoverCallback=S,this.tooltipCallback=O,this.leaveCallback=L,this.willLinkActivate=j};T.MouseZone=A},6465:function(Z,T,R){var C,v=this&&this.__extends||(C=function(E,x){return(C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,O){S.__proto__=O}||function(S,O){for(var L in O)Object.prototype.hasOwnProperty.call(O,L)&&(S[L]=O[L])})(E,x)},function(N,E){if("function"!=typeof E&&null!==E)throw new TypeError("Class extends value "+String(E)+" is not a constructor or null");function x(){this.constructor=N}C(N,E),N.prototype=null===E?Object.create(E):(x.prototype=E.prototype,new x)}),P=this&&this.__decorate||function(N,E,x,S){var O,L=arguments.length,j=L<3?E:null===S?S=Object.getOwnPropertyDescriptor(E,x):S;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)j=Reflect.decorate(N,E,x,S);else for(var K=N.length-1;K>=0;K--)(O=N[K])&&(j=(L<3?O(j):L>3?O(E,x,j):O(E,x))||j);return L>3&&j&&Object.defineProperty(E,x,j),j},D=this&&this.__param||function(N,E){return function(x,S){E(x,S,N)}};Object.defineProperty(T,"__esModule",{value:!0}),T.Linkifier2=void 0;var M=R(2585),A=R(8460),_=R(844),g=R(3656),k=function(N){function E(x){var S=N.call(this)||this;return S._bufferService=x,S._linkProviders=[],S._linkCacheDisposables=[],S._isMouseOut=!0,S._activeLine=-1,S._onShowLinkUnderline=S.register(new A.EventEmitter),S._onHideLinkUnderline=S.register(new A.EventEmitter),S.register(_.getDisposeArrayDisposable(S._linkCacheDisposables)),S}return v(E,N),Object.defineProperty(E.prototype,"currentLink",{get:function(){return this._currentLink},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),E.prototype.registerLinkProvider=function(x){var S=this;return this._linkProviders.push(x),{dispose:function(){var L=S._linkProviders.indexOf(x);-1!==L&&S._linkProviders.splice(L,1)}}},E.prototype.attachToDom=function(x,S,O){var L=this;this._element=x,this._mouseService=S,this._renderService=O,this.register(g.addDisposableDomListener(this._element,"mouseleave",function(){L._isMouseOut=!0,L._clearCurrentLink()})),this.register(g.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(g.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},E.prototype._onMouseMove=function(x){if(this._lastMouseEvent=x,this._element&&this._mouseService){var S=this._positionFromMouseEvent(x,this._element,this._mouseService);if(S){this._isMouseOut=!1;for(var O=x.composedPath(),L=0;L<O.length;L++){var j=O[L];if(j.classList.contains("xterm"))break;if(j.classList.contains("xterm-hover"))return}this._lastBufferCell&&S.x===this._lastBufferCell.x&&S.y===this._lastBufferCell.y||(this._onHover(S),this._lastBufferCell=S)}}},E.prototype._onHover=function(x){if(this._activeLine!==x.y)return this._clearCurrentLink(),void this._askForLink(x,!1);this._currentLink&&this._linkAtPosition(this._currentLink.link,x)||(this._clearCurrentLink(),this._askForLink(x,!0))},E.prototype._askForLink=function(x,S){var O,L=this;this._activeProviderReplies&&S||(null===(O=this._activeProviderReplies)||void 0===O||O.forEach(function(K){null==K||K.forEach(function(z){z.link.dispose&&z.link.dispose()})}),this._activeProviderReplies=new Map,this._activeLine=x.y);var j=!1;this._linkProviders.forEach(function(K,z){var J;S?(null===(J=L._activeProviderReplies)||void 0===J?void 0:J.get(z))&&(j=L._checkLinkProviderResult(z,x,j)):K.provideLinks(x.y,function(ie){var te,ae;if(!L._isMouseOut){var se=null==ie?void 0:ie.map(function(ce){return{link:ce}});null===(te=L._activeProviderReplies)||void 0===te||te.set(z,se),j=L._checkLinkProviderResult(z,x,j),(null===(ae=L._activeProviderReplies)||void 0===ae?void 0:ae.size)===L._linkProviders.length&&L._removeIntersectingLinks(x.y,L._activeProviderReplies)}})})},E.prototype._removeIntersectingLinks=function(x,S){for(var O=new Set,L=0;L<S.size;L++){var j=S.get(L);if(j)for(var K=0;K<j.length;K++)for(var z=j[K],ie=z.link.range.end.y>x?this._bufferService.cols:z.link.range.end.x,te=z.link.range.start.y<x?0:z.link.range.start.x;te<=ie;te++){if(O.has(te)){j.splice(K--,1);break}O.add(te)}}},E.prototype._checkLinkProviderResult=function(x,S,O){var L,j=this;if(!this._activeProviderReplies)return O;for(var K=this._activeProviderReplies.get(x),z=!1,J=0;J<x;J++)this._activeProviderReplies.has(J)&&!this._activeProviderReplies.get(J)||(z=!0);if(!z&&K){var ie=K.find(function(ae){return j._linkAtPosition(ae.link,S)});ie&&(O=!0,this._handleNewLink(ie))}if(this._activeProviderReplies.size===this._linkProviders.length&&!O)for(J=0;J<this._activeProviderReplies.size;J++){var te=null===(L=this._activeProviderReplies.get(J))||void 0===L?void 0:L.find(function(ae){return j._linkAtPosition(ae.link,S)});if(te){O=!0,this._handleNewLink(te);break}}return O},E.prototype._onClick=function(x){if(this._element&&this._mouseService&&this._currentLink){var S=this._positionFromMouseEvent(x,this._element,this._mouseService);S&&this._linkAtPosition(this._currentLink.link,S)&&this._currentLink.link.activate(x,this._currentLink.link.text)}},E.prototype._clearCurrentLink=function(x,S){this._element&&this._currentLink&&this._lastMouseEvent&&(!x||!S||this._currentLink.link.range.start.y>=x&&this._currentLink.link.range.end.y<=S)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,_.disposeArray(this._linkCacheDisposables))},E.prototype._handleNewLink=function(x){var S=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var O=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);O&&this._linkAtPosition(x.link,O)&&(this._currentLink=x,this._currentLink.state={decorations:{underline:void 0===x.link.decorations||x.link.decorations.underline,pointerCursor:void 0===x.link.decorations||x.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,x.link,this._lastMouseEvent),x.link.decorations={},Object.defineProperties(x.link.decorations,{pointerCursor:{get:function(){var j,K;return null===(K=null===(j=S._currentLink)||void 0===j?void 0:j.state)||void 0===K?void 0:K.decorations.pointerCursor},set:function(j){var K,z;(null===(K=S._currentLink)||void 0===K?void 0:K.state)&&S._currentLink.state.decorations.pointerCursor!==j&&(S._currentLink.state.decorations.pointerCursor=j,S._currentLink.state.isHovered&&(null===(z=S._element)||void 0===z||z.classList.toggle("xterm-cursor-pointer",j)))}},underline:{get:function(){var j,K;return null===(K=null===(j=S._currentLink)||void 0===j?void 0:j.state)||void 0===K?void 0:K.decorations.underline},set:function(j){var K,z,J;(null===(K=S._currentLink)||void 0===K?void 0:K.state)&&(null===(J=null===(z=S._currentLink)||void 0===z?void 0:z.state)||void 0===J?void 0:J.decorations.underline)!==j&&(S._currentLink.state.decorations.underline=j,S._currentLink.state.isHovered&&S._fireUnderlineEvent(x.link,j))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(L){S._clearCurrentLink(0===L.start?0:L.start+1+S._bufferService.buffer.ydisp,L.end+1+S._bufferService.buffer.ydisp)})))}},E.prototype._linkHover=function(x,S,O){var L;(null===(L=this._currentLink)||void 0===L?void 0:L.state)&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(S,!0),this._currentLink.state.decorations.pointerCursor&&x.classList.add("xterm-cursor-pointer")),S.hover&&S.hover(O,S.text)},E.prototype._fireUnderlineEvent=function(x,S){var O=x.range,L=this._bufferService.buffer.ydisp,j=this._createLinkUnderlineEvent(O.start.x-1,O.start.y-L-1,O.end.x,O.end.y-L-1,void 0);(S?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(j)},E.prototype._linkLeave=function(x,S,O){var L;(null===(L=this._currentLink)||void 0===L?void 0:L.state)&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(S,!1),this._currentLink.state.decorations.pointerCursor&&x.classList.remove("xterm-cursor-pointer")),S.leave&&S.leave(O,S.text)},E.prototype._linkAtPosition=function(x,S){var L=x.range.start.y<S.y,j=x.range.end.y>S.y;return(x.range.start.y===x.range.end.y&&x.range.start.x<=S.x&&x.range.end.x>=S.x||L&&x.range.end.x>=S.x||j&&x.range.start.x<=S.x||L&&j)&&x.range.start.y<=S.y&&x.range.end.y>=S.y},E.prototype._positionFromMouseEvent=function(x,S,O){var L=O.getCoords(x,S,this._bufferService.cols,this._bufferService.rows);if(L)return{x:L[0],y:L[1]+this._bufferService.buffer.ydisp}},E.prototype._createLinkUnderlineEvent=function(x,S,O,L,j){return{x1:x,y1:S,x2:O,y2:L,cols:this._bufferService.cols,fg:j}},P([D(0,M.IBufferService)],E)}(_.Disposable);T.Linkifier2=k},9042:function(Z,T){Object.defineProperty(T,"__esModule",{value:!0}),T.tooMuchOutput=T.promptLabel=void 0,T.promptLabel="Terminal input",T.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},6954:function(Z,T,R){var C,v=this&&this.__extends||(C=function(E,x){return(C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,O){S.__proto__=O}||function(S,O){for(var L in O)Object.prototype.hasOwnProperty.call(O,L)&&(S[L]=O[L])})(E,x)},function(N,E){if("function"!=typeof E&&null!==E)throw new TypeError("Class extends value "+String(E)+" is not a constructor or null");function x(){this.constructor=N}C(N,E),N.prototype=null===E?Object.create(E):(x.prototype=E.prototype,new x)}),P=this&&this.__decorate||function(N,E,x,S){var O,L=arguments.length,j=L<3?E:null===S?S=Object.getOwnPropertyDescriptor(E,x):S;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)j=Reflect.decorate(N,E,x,S);else for(var K=N.length-1;K>=0;K--)(O=N[K])&&(j=(L<3?O(j):L>3?O(E,x,j):O(E,x))||j);return L>3&&j&&Object.defineProperty(E,x,j),j},D=this&&this.__param||function(N,E){return function(x,S){E(x,S,N)}};Object.defineProperty(T,"__esModule",{value:!0}),T.MouseZoneManager=void 0;var M=R(844),A=R(3656),_=R(4725),g=R(2585),k=function(N){function E(x,S,O,L,j,K){var z=N.call(this)||this;return z._element=x,z._screenElement=S,z._bufferService=O,z._mouseService=L,z._selectionService=j,z._optionsService=K,z._zones=[],z._areZonesActive=!1,z._lastHoverCoords=[void 0,void 0],z._initialSelectionLength=0,z.register(A.addDisposableDomListener(z._element,"mousedown",function(J){return z._onMouseDown(J)})),z._mouseMoveListener=function(J){return z._onMouseMove(J)},z._mouseLeaveListener=function(J){return z._onMouseLeave(J)},z._clickListener=function(J){return z._onClick(J)},z}return v(E,N),E.prototype.dispose=function(){N.prototype.dispose.call(this),this._deactivate()},E.prototype.add=function(x){this._zones.push(x),1===this._zones.length&&this._activate()},E.prototype.clearAll=function(x,S){if(0!==this._zones.length){x&&S||(x=0,S=this._bufferService.rows-1);for(var O=0;O<this._zones.length;O++){var L=this._zones[O];(L.y1>x&&L.y1<=S+1||L.y2>x&&L.y2<=S+1||L.y1<x&&L.y2>S+1)&&(this._currentZone&&this._currentZone===L&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(O--,1))}0===this._zones.length&&this._deactivate()}},E.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},E.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},E.prototype._onMouseMove=function(x){this._lastHoverCoords[0]===x.pageX&&this._lastHoverCoords[1]===x.pageY||(this._onHover(x),this._lastHoverCoords=[x.pageX,x.pageY])},E.prototype._onHover=function(x){var S=this,O=this._findZoneEventAt(x);O!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),O&&(this._currentZone=O,O.hoverCallback&&O.hoverCallback(x),this._tooltipTimeout=window.setTimeout(function(){return S._onTooltip(x)},this._optionsService.options.linkTooltipHoverDuration)))},E.prototype._onTooltip=function(x){this._tooltipTimeout=void 0;var S=this._findZoneEventAt(x);null==S||S.tooltipCallback(x)},E.prototype._onMouseDown=function(x){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var S=this._findZoneEventAt(x);(null==S?void 0:S.willLinkActivate(x))&&(x.preventDefault(),x.stopImmediatePropagation())}},E.prototype._onMouseLeave=function(x){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},E.prototype._onClick=function(x){var S=this._findZoneEventAt(x),O=this._getSelectionLength();S&&O===this._initialSelectionLength&&(S.clickCallback(x),x.preventDefault(),x.stopImmediatePropagation())},E.prototype._getSelectionLength=function(){var x=this._selectionService.selectionText;return x?x.length:0},E.prototype._findZoneEventAt=function(x){var S=this._mouseService.getCoords(x,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(S)for(var O=S[0],L=S[1],j=0;j<this._zones.length;j++){var K=this._zones[j];if(K.y1===K.y2){if(L===K.y1&&O>=K.x1&&O<K.x2)return K}else if(L===K.y1&&O>=K.x1||L===K.y2&&O<K.x2||L>K.y1&&L<K.y2)return K}},P([D(2,g.IBufferService),D(3,_.IMouseService),D(4,_.ISelectionService),D(5,g.IOptionsService)],E)}(M.Disposable);T.MouseZoneManager=k},6193:function(Z,T){Object.defineProperty(T,"__esModule",{value:!0}),T.RenderDebouncer=void 0;var R=function(){function C(v){this._renderCallback=v}return C.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},C.prototype.refresh=function(v,P,D){var M=this;this._rowCount=D,v=void 0!==v?v:0,P=void 0!==P?P:this._rowCount-1,this._rowStart=void 0!==this._rowStart?Math.min(this._rowStart,v):v,this._rowEnd=void 0!==this._rowEnd?Math.max(this._rowEnd,P):P,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return M._innerRefresh()}))},C.prototype._innerRefresh=function(){if(void 0!==this._rowStart&&void 0!==this._rowEnd&&void 0!==this._rowCount){var v=Math.max(this._rowStart,0),P=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0,this._renderCallback(v,P)}},C}();T.RenderDebouncer=R},5596:function(Z,T,R){var C,v=this&&this.__extends||(C=function(M,A){return(C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,g){_.__proto__=g}||function(_,g){for(var k in g)Object.prototype.hasOwnProperty.call(g,k)&&(_[k]=g[k])})(M,A)},function(D,M){if("function"!=typeof M&&null!==M)throw new TypeError("Class extends value "+String(M)+" is not a constructor or null");function A(){this.constructor=D}C(D,M),D.prototype=null===M?Object.create(M):(A.prototype=M.prototype,new A)});Object.defineProperty(T,"__esModule",{value:!0}),T.ScreenDprMonitor=void 0;var P=function(D){function M(){var A=null!==D&&D.apply(this,arguments)||this;return A._currentDevicePixelRatio=window.devicePixelRatio,A}return v(M,D),M.prototype.setListener=function(A){var _=this;this._listener&&this.clearListener(),this._listener=A,this._outerListener=function(){_._listener&&(_._listener(window.devicePixelRatio,_._currentDevicePixelRatio),_._updateDpr())},this._updateDpr()},M.prototype.dispose=function(){D.prototype.dispose.call(this),this.clearListener()},M.prototype._updateDpr=function(){var A;this._outerListener&&(null===(A=this._resolutionMediaMatchList)||void 0===A||A.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},M.prototype.clearListener=function(){this._resolutionMediaMatchList&&this._listener&&this._outerListener&&(this._resolutionMediaMatchList.removeListener(this._outerListener),this._resolutionMediaMatchList=void 0,this._listener=void 0,this._outerListener=void 0)},M}(R(844).Disposable);T.ScreenDprMonitor=P},3236:function(Z,T,R){var C,v=this&&this.__extends||(C=function(xe,Oe){return(C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(je,dt){je.__proto__=dt}||function(je,dt){for(var Qe in dt)Object.prototype.hasOwnProperty.call(dt,Qe)&&(je[Qe]=dt[Qe])})(xe,Oe)},function(Ft,xe){if("function"!=typeof xe&&null!==xe)throw new TypeError("Class extends value "+String(xe)+" is not a constructor or null");function Oe(){this.constructor=Ft}C(Ft,xe),Ft.prototype=null===xe?Object.create(xe):(Oe.prototype=xe.prototype,new Oe)});Object.defineProperty(T,"__esModule",{value:!0}),T.Terminal=void 0;var P=R(2950),D=R(1680),M=R(3614),A=R(2584),_=R(5435),g=R(3525),k=R(3551),N=R(9312),E=R(6114),x=R(3656),S=R(9042),O=R(357),L=R(6954),j=R(4567),K=R(1296),z=R(7399),J=R(8460),ie=R(8437),te=R(5680),ae=R(3230),se=R(4725),ce=R(428),le=R(8934),oe=R(6465),Ae=R(5114),be=R(8969),it=R(4774),qe=R(4269),_t="undefined"!=typeof window?window.document:null,yt=function(Ft){function xe(Oe){void 0===Oe&&(Oe={});var je=Ft.call(this,Oe)||this;return je.browser=E,je._keyDownHandled=!1,je._keyPressHandled=!1,je._unprocessedDeadKey=!1,je._onCursorMove=new J.EventEmitter,je._onKey=new J.EventEmitter,je._onRender=new J.EventEmitter,je._onSelectionChange=new J.EventEmitter,je._onTitleChange=new J.EventEmitter,je._onBell=new J.EventEmitter,je._onFocus=new J.EventEmitter,je._onBlur=new J.EventEmitter,je._onA11yCharEmitter=new J.EventEmitter,je._onA11yTabEmitter=new J.EventEmitter,je._setup(),je.linkifier=je._instantiationService.createInstance(k.Linkifier),je.linkifier2=je.register(je._instantiationService.createInstance(oe.Linkifier2)),je.register(je._inputHandler.onRequestBell(function(){return je.bell()})),je.register(je._inputHandler.onRequestRefreshRows(function(dt,Qe){return je.refresh(dt,Qe)})),je.register(je._inputHandler.onRequestReset(function(){return je.reset()})),je.register(je._inputHandler.onRequestWindowsOptionsReport(function(dt){return je._reportWindowsOptions(dt)})),je.register(je._inputHandler.onAnsiColorChange(function(dt){return je._changeAnsiColor(dt)})),je.register(J.forwardEvent(je._inputHandler.onCursorMove,je._onCursorMove)),je.register(J.forwardEvent(je._inputHandler.onTitleChange,je._onTitleChange)),je.register(J.forwardEvent(je._inputHandler.onA11yChar,je._onA11yCharEmitter)),je.register(J.forwardEvent(je._inputHandler.onA11yTab,je._onA11yTabEmitter)),je.register(je._bufferService.onResize(function(dt){return je._afterResize(dt.cols,dt.rows)})),je}return v(xe,Ft),Object.defineProperty(xe.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(xe.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(xe.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(xe.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(xe.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(xe.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(xe.prototype,"onBell",{get:function(){return this._onBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(xe.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(xe.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(xe.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(xe.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),xe.prototype._changeAnsiColor=function(Oe){var je,dt;if(this._colorManager){for(var Qe=0,Bt=Oe.colors;Qe<Bt.length;Qe++){var xt=Bt[Qe],vt=it.rgba.toColor(xt.red,xt.green,xt.blue);this._colorManager.colors.ansi[xt.colorIndex]=vt}null===(je=this._renderService)||void 0===je||je.setColors(this._colorManager.colors),null===(dt=this.viewport)||void 0===dt||dt.onThemeChange(this._colorManager.colors)}},xe.prototype.dispose=function(){var Oe,je,dt;this._isDisposed||(Ft.prototype.dispose.call(this),null===(Oe=this._renderService)||void 0===Oe||Oe.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},null===(dt=null===(je=this.element)||void 0===je?void 0:je.parentNode)||void 0===dt||dt.removeChild(this.element))},xe.prototype._setup=function(){Ft.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(xe.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),xe.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},xe.prototype._updateOptions=function(Oe){var je,dt,Qe,Bt;switch(Ft.prototype._updateOptions.call(this,Oe),Oe){case"fontFamily":case"fontSize":null===(je=this._renderService)||void 0===je||je.clear(),null===(dt=this._charSizeService)||void 0===dt||dt.measure();break;case"cursorBlink":case"cursorStyle":this.refresh(this.buffer.y,this.buffer.y);break;case"customGlyphs":case"drawBoldTextInBrightColors":case"letterSpacing":case"lineHeight":case"fontWeight":case"fontWeightBold":case"minimumContrastRatio":this._renderService&&(this._renderService.clear(),this._renderService.onResize(this.cols,this.rows),this.refresh(0,this.rows-1));break;case"rendererType":this._renderService&&(this._renderService.setRenderer(this._createRenderer()),this._renderService.onResize(this.cols,this.rows));break;case"scrollback":null===(Qe=this.viewport)||void 0===Qe||Qe.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new j.AccessibilityManager(this,this._renderService)):(null===(Bt=this._accessibilityManager)||void 0===Bt||Bt.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},xe.prototype._onTextAreaFocus=function(Oe){this.coreService.decPrivateModes.sendFocus&&this.coreService.triggerDataEvent(A.C0.ESC+"[I"),this.updateCursorStyle(Oe),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},xe.prototype.blur=function(){var Oe;return null===(Oe=this.textarea)||void 0===Oe?void 0:Oe.blur()},xe.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this.coreService.decPrivateModes.sendFocus&&this.coreService.triggerDataEvent(A.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},xe.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing&&this._renderService){var je=this.buffer.lines.get(this.buffer.ybase+this.buffer.y);if(je){var dt=Math.min(this.buffer.x,this.cols-1),Qe=this._renderService.dimensions.actualCellHeight,Bt=je.getWidth(dt),xt=this._renderService.dimensions.actualCellWidth*Bt,vt=this.buffer.y*this._renderService.dimensions.actualCellHeight;this.textarea.style.left=dt*this._renderService.dimensions.actualCellWidth+"px",this.textarea.style.top=vt+"px",this.textarea.style.width=xt+"px",this.textarea.style.height=Qe+"px",this.textarea.style.lineHeight=Qe+"px",this.textarea.style.zIndex="-5"}}},xe.prototype._initGlobal=function(){var Oe=this;this._bindKeys(),this.register(x.addDisposableDomListener(this.element,"copy",function(dt){Oe.hasSelection()&&M.copyHandler(dt,Oe._selectionService)}));var je=function(Qe){return M.handlePasteEvent(Qe,Oe.textarea,Oe.coreService)};this.register(x.addDisposableDomListener(this.textarea,"paste",je)),this.register(x.addDisposableDomListener(this.element,"paste",je)),this.register(E.isFirefox?x.addDisposableDomListener(this.element,"mousedown",function(dt){2===dt.button&&M.rightClickHandler(dt,Oe.textarea,Oe.screenElement,Oe._selectionService,Oe.options.rightClickSelectsWord)}):x.addDisposableDomListener(this.element,"contextmenu",function(dt){M.rightClickHandler(dt,Oe.textarea,Oe.screenElement,Oe._selectionService,Oe.options.rightClickSelectsWord)})),E.isLinux&&this.register(x.addDisposableDomListener(this.element,"auxclick",function(dt){1===dt.button&&M.moveTextAreaUnderMouseCursor(dt,Oe.textarea,Oe.screenElement)}))},xe.prototype._bindKeys=function(){var Oe=this;this.register(x.addDisposableDomListener(this.textarea,"keyup",function(je){return Oe._keyUp(je)},!0)),this.register(x.addDisposableDomListener(this.textarea,"keydown",function(je){return Oe._keyDown(je)},!0)),this.register(x.addDisposableDomListener(this.textarea,"keypress",function(je){return Oe._keyPress(je)},!0)),this.register(x.addDisposableDomListener(this.textarea,"compositionstart",function(){return Oe._compositionHelper.compositionstart()})),this.register(x.addDisposableDomListener(this.textarea,"compositionupdate",function(je){return Oe._compositionHelper.compositionupdate(je)})),this.register(x.addDisposableDomListener(this.textarea,"compositionend",function(){return Oe._compositionHelper.compositionend()})),this.register(x.addDisposableDomListener(this.textarea,"input",function(je){return Oe._inputEvent(je)},!0)),this.register(this.onRender(function(){return Oe._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(je){return Oe._queueLinkification(je.start,je.end)}))},xe.prototype.open=function(Oe){var je=this;if(!Oe)throw new Error("Terminal requires a parent element.");Oe.isConnected||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=Oe.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),this.element.setAttribute("tabindex","0"),Oe.appendChild(this.element);var dt=_t.createDocumentFragment();this._viewportElement=_t.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),dt.appendChild(this._viewportElement),this._viewportScrollArea=_t.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=_t.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=_t.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),dt.appendChild(this.screenElement),this.textarea=_t.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",S.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register(x.addDisposableDomListener(this.textarea,"focus",function(xt){return je._onTextAreaFocus(xt)})),this.register(x.addDisposableDomListener(this.textarea,"blur",function(){return je._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var Qe=this._instantiationService.createInstance(Ae.CoreBrowserService,this.textarea);this._instantiationService.setService(se.ICoreBrowserService,Qe),this._charSizeService=this._instantiationService.createInstance(ce.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(se.ICharSizeService,this._charSizeService),this._theme=this.options.theme||this._theme,this._colorManager=new te.ColorManager(_t,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(xt){return je._colorManager.onOptionsChange(xt)})),this._colorManager.setTheme(this._theme),this._characterJoinerService=this._instantiationService.createInstance(qe.CharacterJoinerService),this._instantiationService.setService(se.ICharacterJoinerService,this._characterJoinerService);var Bt=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(ae.RenderService,Bt,this.rows,this.screenElement)),this._instantiationService.setService(se.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(xt){return je._onRender.fire(xt)})),this.onResize(function(xt){return je._renderService.resize(xt.cols,xt.rows)}),this._compositionView=_t.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(P.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(dt),this._soundService=this._instantiationService.createInstance(O.SoundService),this._instantiationService.setService(se.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(le.MouseService),this._instantiationService.setService(se.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(D.Viewport,function(xt){return je.scrollLines(xt,!0,1)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return je.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){je._renderService.onCursorMove(),je._syncTextArea()})),this.register(this.onResize(function(){return je._renderService.onResize(je.cols,je.rows)})),this.register(this.onBlur(function(){return je._renderService.onBlur()})),this.register(this.onFocus(function(){return je._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return je.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(N.SelectionService,this.element,this.screenElement,this.linkifier2)),this._instantiationService.setService(se.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(xt){return je.scrollLines(xt.amount,xt.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return je._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(xt){return je._renderService.onSelectionChanged(xt.start,xt.end,xt.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(xt){je.textarea.value=xt,je.textarea.focus(),je.textarea.select()})),this.register(this._onScroll.event(function(xt){je.viewport.syncScrollArea(),je._selectionService.refresh()})),this.register(x.addDisposableDomListener(this._viewportElement,"scroll",function(){return je._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(L.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return je._mouseZoneManager.clearAll()})),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.element,this._mouseService,this._renderService),this.register(x.addDisposableDomListener(this.element,"mousedown",function(xt){return je._selectionService.onMouseDown(xt)})),this.coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new j.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},xe.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(g.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(K.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},xe.prototype._setTheme=function(Oe){var je,dt,Qe;this._theme=Oe,null===(je=this._colorManager)||void 0===je||je.setTheme(Oe),null===(dt=this._renderService)||void 0===dt||dt.setColors(this._colorManager.colors),null===(Qe=this.viewport)||void 0===Qe||Qe.onThemeChange(this._colorManager.colors)},xe.prototype.bindMouse=function(){var Oe=this,je=this,dt=this.element;function Qe(Ct){var Vt,bt,en=je._mouseService.getRawByteCoords(Ct,je.screenElement,je.cols,je.rows);if(!en)return!1;switch(Ct.overrideType||Ct.type){case"mousemove":bt=32,void 0===Ct.buttons?(Vt=3,void 0!==Ct.button&&(Vt=Ct.button<3?Ct.button:3)):Vt=1&Ct.buttons?0:4&Ct.buttons?1:2&Ct.buttons?2:3;break;case"mouseup":bt=0,Vt=Ct.button<3?Ct.button:3;break;case"mousedown":bt=1,Vt=Ct.button<3?Ct.button:3;break;case"wheel":0!==Ct.deltaY&&(bt=Ct.deltaY<0?0:1),Vt=4;break;default:return!1}return!(void 0===bt||void 0===Vt||Vt>4)&&je.coreMouseService.triggerMouseEvent({col:en.x-33,row:en.y-33,button:Vt,action:bt,ctrl:Ct.ctrlKey,alt:Ct.altKey,shift:Ct.shiftKey})}var Bt={mouseup:null,wheel:null,mousedrag:null,mousemove:null},xt=function(Vt){return Qe(Vt),Vt.buttons||(Oe._document.removeEventListener("mouseup",Bt.mouseup),Bt.mousedrag&&Oe._document.removeEventListener("mousemove",Bt.mousedrag)),Oe.cancel(Vt)},vt=function(Vt){return Qe(Vt),Vt.preventDefault(),Oe.cancel(Vt)},Qt=function(Vt){Vt.buttons&&Qe(Vt)},Ht=function(Vt){Vt.buttons||Qe(Vt)};this.register(this.coreMouseService.onProtocolChange(function(Ct){Ct?("debug"===Oe.optionsService.options.logLevel&&Oe._logService.debug("Binding to mouse events:",Oe.coreMouseService.explainEvents(Ct)),Oe.element.classList.add("enable-mouse-events"),Oe._selectionService.disable()):(Oe._logService.debug("Unbinding from mouse events."),Oe.element.classList.remove("enable-mouse-events"),Oe._selectionService.enable()),8&Ct?Bt.mousemove||(dt.addEventListener("mousemove",Ht),Bt.mousemove=Ht):(dt.removeEventListener("mousemove",Bt.mousemove),Bt.mousemove=null),16&Ct?Bt.wheel||(dt.addEventListener("wheel",vt,{passive:!1}),Bt.wheel=vt):(dt.removeEventListener("wheel",Bt.wheel),Bt.wheel=null),2&Ct?Bt.mouseup||(Bt.mouseup=xt):(Oe._document.removeEventListener("mouseup",Bt.mouseup),Bt.mouseup=null),4&Ct?Bt.mousedrag||(Bt.mousedrag=Qt):(Oe._document.removeEventListener("mousemove",Bt.mousedrag),Bt.mousedrag=null)})),this.coreMouseService.activeProtocol=this.coreMouseService.activeProtocol,this.register(x.addDisposableDomListener(dt,"mousedown",function(Ct){if(Ct.preventDefault(),Oe.focus(),Oe.coreMouseService.areMouseEventsActive&&!Oe._selectionService.shouldForceSelection(Ct))return Qe(Ct),Bt.mouseup&&Oe._document.addEventListener("mouseup",Bt.mouseup),Bt.mousedrag&&Oe._document.addEventListener("mousemove",Bt.mousedrag),Oe.cancel(Ct)})),this.register(x.addDisposableDomListener(dt,"wheel",function(Ct){if(!Bt.wheel&&!Oe.buffer.hasScrollback){var Vt=Oe.viewport.getLinesScrolled(Ct);if(0===Vt)return;for(var bt=A.C0.ESC+(Oe.coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(Ct.deltaY<0?"A":"B"),en="",Nt=0;Nt<Math.abs(Vt);Nt++)en+=bt;Oe.coreService.triggerDataEvent(en,!0)}},{passive:!0})),this.register(x.addDisposableDomListener(dt,"wheel",function(Ct){if(!Bt.wheel)return Oe.viewport.onWheel(Ct)?void 0:Oe.cancel(Ct)},{passive:!1})),this.register(x.addDisposableDomListener(dt,"touchstart",function(Ct){if(!Oe.coreMouseService.areMouseEventsActive)return Oe.viewport.onTouchStart(Ct),Oe.cancel(Ct)},{passive:!0})),this.register(x.addDisposableDomListener(dt,"touchmove",function(Ct){if(!Oe.coreMouseService.areMouseEventsActive)return Oe.viewport.onTouchMove(Ct)?void 0:Oe.cancel(Ct)},{passive:!1}))},xe.prototype.refresh=function(Oe,je){var dt;null===(dt=this._renderService)||void 0===dt||dt.refreshRows(Oe,je)},xe.prototype._queueLinkification=function(Oe,je){var dt;null===(dt=this.linkifier)||void 0===dt||dt.linkifyRows(Oe,je)},xe.prototype.updateCursorStyle=function(Oe){var je;(null===(je=this._selectionService)||void 0===je?void 0:je.shouldColumnSelect(Oe))?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},xe.prototype._showCursor=function(){this.coreService.isCursorInitialized||(this.coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},xe.prototype.scrollLines=function(Oe,je,dt){void 0===dt&&(dt=0),Ft.prototype.scrollLines.call(this,Oe,je,dt),this.refresh(0,this.rows-1)},xe.prototype.paste=function(Oe){M.paste(Oe,this.textarea,this.coreService)},xe.prototype.attachCustomKeyEventHandler=function(Oe){this._customKeyEventHandler=Oe},xe.prototype.registerLinkMatcher=function(Oe,je,dt){var Qe=this.linkifier.registerLinkMatcher(Oe,je,dt);return this.refresh(0,this.rows-1),Qe},xe.prototype.deregisterLinkMatcher=function(Oe){this.linkifier.deregisterLinkMatcher(Oe)&&this.refresh(0,this.rows-1)},xe.prototype.registerLinkProvider=function(Oe){return this.linkifier2.registerLinkProvider(Oe)},xe.prototype.registerCharacterJoiner=function(Oe){if(!this._characterJoinerService)throw new Error("Terminal must be opened first");var je=this._characterJoinerService.register(Oe);return this.refresh(0,this.rows-1),je},xe.prototype.deregisterCharacterJoiner=function(Oe){if(!this._characterJoinerService)throw new Error("Terminal must be opened first");this._characterJoinerService.deregister(Oe)&&this.refresh(0,this.rows-1)},Object.defineProperty(xe.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),xe.prototype.addMarker=function(Oe){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+Oe)},xe.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},xe.prototype.select=function(Oe,je,dt){this._selectionService.setSelection(Oe,je,dt)},xe.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},xe.prototype.getSelectionPosition=function(){if(this._selectionService&&this._selectionService.hasSelection)return{startColumn:this._selectionService.selectionStart[0],startRow:this._selectionService.selectionStart[1],endColumn:this._selectionService.selectionEnd[0],endRow:this._selectionService.selectionEnd[1]}},xe.prototype.clearSelection=function(){var Oe;null===(Oe=this._selectionService)||void 0===Oe||Oe.clearSelection()},xe.prototype.selectAll=function(){var Oe;null===(Oe=this._selectionService)||void 0===Oe||Oe.selectAll()},xe.prototype.selectLines=function(Oe,je){var dt;null===(dt=this._selectionService)||void 0===dt||dt.selectLines(Oe,je)},xe.prototype._keyDown=function(Oe){if(this._keyDownHandled=!1,this._customKeyEventHandler&&!1===this._customKeyEventHandler(Oe))return!1;if(!this._compositionHelper.keydown(Oe))return this.buffer.ybase!==this.buffer.ydisp&&this._bufferService.scrollToBottom(),!1;"Dead"!==Oe.key&&"AltGraph"!==Oe.key||(this._unprocessedDeadKey=!0);var je=z.evaluateKeyboardEvent(Oe,this.coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(Oe),3===je.type||2===je.type){var dt=this.rows-1;return this.scrollLines(2===je.type?-dt:dt),this.cancel(Oe,!0)}return 1===je.type&&this.selectAll(),!!this._isThirdLevelShift(this.browser,Oe)||(je.cancel&&this.cancel(Oe,!0),!je.key||(this._unprocessedDeadKey?(this._unprocessedDeadKey=!1,!0):(je.key!==A.C0.ETX&&je.key!==A.C0.CR||(this.textarea.value=""),this._onKey.fire({key:je.key,domEvent:Oe}),this._showCursor(),this.coreService.triggerDataEvent(je.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(Oe,!0))))},xe.prototype._isThirdLevelShift=function(Oe,je){var dt=Oe.isMac&&!this.options.macOptionIsMeta&&je.altKey&&!je.ctrlKey&&!je.metaKey||Oe.isWindows&&je.altKey&&je.ctrlKey&&!je.metaKey||Oe.isWindows&&je.getModifierState("AltGraph");return"keypress"===je.type?dt:dt&&(!je.keyCode||je.keyCode>47)},xe.prototype._keyUp=function(Oe){var je;this._customKeyEventHandler&&!1===this._customKeyEventHandler(Oe)||(16===(je=Oe).keyCode||17===je.keyCode||18===je.keyCode||this.focus(),this.updateCursorStyle(Oe),this._keyPressHandled=!1)},xe.prototype._keyPress=function(Oe){var je;if(this._keyPressHandled=!1,this._keyDownHandled||this._customKeyEventHandler&&!1===this._customKeyEventHandler(Oe))return!1;if(this.cancel(Oe),Oe.charCode)je=Oe.charCode;else if(null==Oe.which)je=Oe.keyCode;else{if(0===Oe.which||0===Oe.charCode)return!1;je=Oe.which}return!(!je||(Oe.altKey||Oe.ctrlKey||Oe.metaKey)&&!this._isThirdLevelShift(this.browser,Oe)||(je=String.fromCharCode(je),this._onKey.fire({key:je,domEvent:Oe}),this._showCursor(),this.coreService.triggerDataEvent(je,!0),this._keyPressHandled=!0,0))},xe.prototype._inputEvent=function(Oe){return!(!Oe.data||"insertText"!==Oe.inputType||this.optionsService.options.screenReaderMode||this._keyPressHandled||(this.coreService.triggerDataEvent(Oe.data,!0),this.cancel(Oe),0))},xe.prototype.bell=function(){var Oe;this._soundBell()&&(null===(Oe=this._soundService)||void 0===Oe||Oe.playBellSound()),this._onBell.fire()},xe.prototype.resize=function(Oe,je){Oe!==this.cols||je!==this.rows?Ft.prototype.resize.call(this,Oe,je):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},xe.prototype._afterResize=function(Oe,je){var dt,Qe;null===(dt=this._charSizeService)||void 0===dt||dt.measure(),null===(Qe=this.viewport)||void 0===Qe||Qe.syncScrollArea(!0)},xe.prototype.clear=function(){if(0!==this.buffer.ybase||0!==this.buffer.y){this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var Oe=1;Oe<this.rows;Oe++)this.buffer.lines.push(this.buffer.getBlankLine(ie.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire({position:this.buffer.ydisp,source:0})}},xe.prototype.reset=function(){var Oe,je;this.options.rows=this.rows,this.options.cols=this.cols;var dt=this._customKeyEventHandler;this._setup(),Ft.prototype.reset.call(this),null===(Oe=this._selectionService)||void 0===Oe||Oe.reset(),this._customKeyEventHandler=dt,this.refresh(0,this.rows-1),null===(je=this.viewport)||void 0===je||je.syncScrollArea()},xe.prototype._reportWindowsOptions=function(Oe){if(this._renderService)switch(Oe){case _.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var je=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),dt=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this.coreService.triggerDataEvent(A.C0.ESC+"[4;"+dt+";"+je+"t");break;case _.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var Qe=this._renderService.dimensions.scaledCellWidth.toFixed(0),Bt=this._renderService.dimensions.scaledCellHeight.toFixed(0);this.coreService.triggerDataEvent(A.C0.ESC+"[6;"+Bt+";"+Qe+"t")}},xe.prototype.cancel=function(Oe,je){if(this.options.cancelEvents||je)return Oe.preventDefault(),Oe.stopPropagation(),!1},xe.prototype._visualBell=function(){return!1},xe.prototype._soundBell=function(){return"sound"===this.options.bellStyle},xe}(be.CoreTerminal);T.Terminal=yt},9924:function(Z,T){Object.defineProperty(T,"__esModule",{value:!0}),T.TimeBasedDebouncer=void 0;var R=function(){function C(v,P){void 0===P&&(P=1e3),this._renderCallback=v,this._debounceThresholdMS=P,this._lastRefreshMs=0,this._additionalRefreshRequested=!1}return C.prototype.dispose=function(){this._refreshTimeoutID&&clearTimeout(this._refreshTimeoutID)},C.prototype.refresh=function(v,P,D){var M=this;this._rowCount=D,v=void 0!==v?v:0,P=void 0!==P?P:this._rowCount-1,this._rowStart=void 0!==this._rowStart?Math.min(this._rowStart,v):v,this._rowEnd=void 0!==this._rowEnd?Math.max(this._rowEnd,P):P;var A=Date.now();if(A-this._lastRefreshMs>=this._debounceThresholdMS)this._lastRefreshMs=A,this._innerRefresh();else if(!this._additionalRefreshRequested){var g=this._debounceThresholdMS-(A-this._lastRefreshMs);this._additionalRefreshRequested=!0,this._refreshTimeoutID=window.setTimeout(function(){M._lastRefreshMs=Date.now(),M._innerRefresh(),M._additionalRefreshRequested=!1,M._refreshTimeoutID=void 0},g)}},C.prototype._innerRefresh=function(){if(void 0!==this._rowStart&&void 0!==this._rowEnd&&void 0!==this._rowCount){var v=Math.max(this._rowStart,0),P=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._renderCallback(v,P)}},C}();T.TimeBasedDebouncer=R},1680:function(Z,T,R){var C,v=this&&this.__extends||(C=function(E,x){return(C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,O){S.__proto__=O}||function(S,O){for(var L in O)Object.prototype.hasOwnProperty.call(O,L)&&(S[L]=O[L])})(E,x)},function(N,E){if("function"!=typeof E&&null!==E)throw new TypeError("Class extends value "+String(E)+" is not a constructor or null");function x(){this.constructor=N}C(N,E),N.prototype=null===E?Object.create(E):(x.prototype=E.prototype,new x)}),P=this&&this.__decorate||function(N,E,x,S){var O,L=arguments.length,j=L<3?E:null===S?S=Object.getOwnPropertyDescriptor(E,x):S;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)j=Reflect.decorate(N,E,x,S);else for(var K=N.length-1;K>=0;K--)(O=N[K])&&(j=(L<3?O(j):L>3?O(E,x,j):O(E,x))||j);return L>3&&j&&Object.defineProperty(E,x,j),j},D=this&&this.__param||function(N,E){return function(x,S){E(x,S,N)}};Object.defineProperty(T,"__esModule",{value:!0}),T.Viewport=void 0;var M=R(844),A=R(3656),_=R(4725),g=R(2585),k=function(N){function E(x,S,O,L,j,K,z){var J=N.call(this)||this;return J._scrollLines=x,J._viewportElement=S,J._scrollArea=O,J._bufferService=L,J._optionsService=j,J._charSizeService=K,J._renderService=z,J.scrollBarWidth=0,J._currentRowHeight=0,J._currentScaledCellHeight=0,J._lastRecordedBufferLength=0,J._lastRecordedViewportHeight=0,J._lastRecordedBufferHeight=0,J._lastTouchY=0,J._lastScrollTop=0,J._lastHadScrollBar=!1,J._wheelPartialScroll=0,J._refreshAnimationFrame=null,J._ignoreNextScrollEvent=!1,J.scrollBarWidth=J._viewportElement.offsetWidth-J._scrollArea.offsetWidth||15,J._lastHadScrollBar=!0,J.register(A.addDisposableDomListener(J._viewportElement,"scroll",J._onScroll.bind(J))),J._activeBuffer=J._bufferService.buffer,J.register(J._bufferService.buffers.onBufferActivate(function(ie){return J._activeBuffer=ie.activeBuffer})),J._renderDimensions=J._renderService.dimensions,J.register(J._renderService.onDimensionsChange(function(ie){return J._renderDimensions=ie})),setTimeout(function(){return J.syncScrollArea()},0),J}return v(E,N),E.prototype.onThemeChange=function(x){this._viewportElement.style.backgroundColor=x.background.css},E.prototype._refresh=function(x){var S=this;if(x)return this._innerRefresh(),void(null!==this._refreshAnimationFrame&&cancelAnimationFrame(this._refreshAnimationFrame));null===this._refreshAnimationFrame&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return S._innerRefresh()}))},E.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._currentScaledCellHeight=this._renderService.dimensions.scaledCellHeight,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var x=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==x&&(this._lastRecordedBufferHeight=x,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var S=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==S&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=S),this.scrollBarWidth=0===this._optionsService.options.scrollback?0:this._viewportElement.offsetWidth-this._scrollArea.offsetWidth||15,this._lastHadScrollBar=this.scrollBarWidth>0,this._viewportElement.style.width=(this._renderService.dimensions.actualCellWidth*this._bufferService.cols+this.scrollBarWidth).toString()+"px",this._refreshAnimationFrame=null},E.prototype.syncScrollArea=function(x){if(void 0===x&&(x=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(x);this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight&&this._lastScrollTop===this._activeBuffer.ydisp*this._currentRowHeight&&this._renderDimensions.scaledCellHeight===this._currentScaledCellHeight?this._lastHadScrollBar!==this._optionsService.options.scrollback>0&&this._refresh(x):this._refresh(x)},E.prototype._onScroll=function(x){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent){if(this._ignoreNextScrollEvent)return this._ignoreNextScrollEvent=!1,void this._scrollLines(0);var S=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(S)}},E.prototype._bubbleScroll=function(x,S){return!(S<0&&0!==this._viewportElement.scrollTop||S>0&&this._viewportElement.scrollTop+this._lastRecordedViewportHeight<this._lastRecordedBufferHeight)||(x.cancelable&&x.preventDefault(),!1)},E.prototype.onWheel=function(x){var S=this._getPixelsScrolled(x);return 0!==S&&(this._viewportElement.scrollTop+=S,this._bubbleScroll(x,S))},E.prototype._getPixelsScrolled=function(x){if(0===x.deltaY)return 0;var S=this._applyScrollModifier(x.deltaY,x);return x.deltaMode===WheelEvent.DOM_DELTA_LINE?S*=this._currentRowHeight:x.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(S*=this._currentRowHeight*this._bufferService.rows),S},E.prototype.getLinesScrolled=function(x){if(0===x.deltaY)return 0;var S=this._applyScrollModifier(x.deltaY,x);return x.deltaMode===WheelEvent.DOM_DELTA_PIXEL?(this._wheelPartialScroll+=S/=this._currentRowHeight+0,S=Math.floor(Math.abs(this._wheelPartialScroll))*(this._wheelPartialScroll>0?1:-1),this._wheelPartialScroll%=1):x.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(S*=this._bufferService.rows),S},E.prototype._applyScrollModifier=function(x,S){var O=this._optionsService.options.fastScrollModifier;return"alt"===O&&S.altKey||"ctrl"===O&&S.ctrlKey||"shift"===O&&S.shiftKey?x*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:x*this._optionsService.options.scrollSensitivity},E.prototype.onTouchStart=function(x){this._lastTouchY=x.touches[0].pageY},E.prototype.onTouchMove=function(x){var S=this._lastTouchY-x.touches[0].pageY;return this._lastTouchY=x.touches[0].pageY,0!==S&&(this._viewportElement.scrollTop+=S,this._bubbleScroll(x,S))},P([D(3,g.IBufferService),D(4,g.IOptionsService),D(5,_.ICharSizeService),D(6,_.IRenderService)],E)}(M.Disposable);T.Viewport=k},2950:function(Z,T,R){var C=this&&this.__decorate||function(A,_,g,k){var N,E=arguments.length,x=E<3?_:null===k?k=Object.getOwnPropertyDescriptor(_,g):k;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)x=Reflect.decorate(A,_,g,k);else for(var S=A.length-1;S>=0;S--)(N=A[S])&&(x=(E<3?N(x):E>3?N(_,g,x):N(_,g))||x);return E>3&&x&&Object.defineProperty(_,g,x),x},v=this&&this.__param||function(A,_){return function(g,k){_(g,k,A)}};Object.defineProperty(T,"__esModule",{value:!0}),T.CompositionHelper=void 0;var P=R(4725),D=R(2585),M=function(){function A(_,g,k,N,E,x){this._textarea=_,this._compositionView=g,this._bufferService=k,this._optionsService=N,this._coreService=E,this._renderService=x,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0},this._dataAlreadySent=""}return Object.defineProperty(A.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),A.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._dataAlreadySent="",this._compositionView.classList.add("active")},A.prototype.compositionupdate=function(_){var g=this;this._compositionView.textContent=_.data,this.updateCompositionElements(),setTimeout(function(){g._compositionPosition.end=g._textarea.value.length},0)},A.prototype.compositionend=function(){this._finalizeComposition(!0)},A.prototype.keydown=function(_){if(this._isComposing||this._isSendingComposition){if(229===_.keyCode||16===_.keyCode||17===_.keyCode||18===_.keyCode)return!1;this._finalizeComposition(!1)}return 229!==_.keyCode||(this._handleAnyTextareaChanges(),!1)},A.prototype._finalizeComposition=function(_){var g=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,_){var k={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){var E;g._isSendingComposition&&(g._isSendingComposition=!1,k.start+=g._dataAlreadySent.length,(E=g._isComposing?g._textarea.value.substring(k.start,k.end):g._textarea.value.substring(k.start)).length>0&&g._coreService.triggerDataEvent(E,!0))},0)}else{this._isSendingComposition=!1;var N=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(N,!0)}},A.prototype._handleAnyTextareaChanges=function(){var _=this,g=this._textarea.value;setTimeout(function(){if(!_._isComposing){var k=_._textarea.value.replace(g,"");k.length>0&&(_._dataAlreadySent=k,_._coreService.triggerDataEvent(k,!0))}},0)},A.prototype.updateCompositionElements=function(_){var g=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var k=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),N=this._renderService.dimensions.actualCellHeight,E=this._bufferService.buffer.y*this._renderService.dimensions.actualCellHeight,x=k*this._renderService.dimensions.actualCellWidth;this._compositionView.style.left=x+"px",this._compositionView.style.top=E+"px",this._compositionView.style.height=N+"px",this._compositionView.style.lineHeight=N+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var S=this._compositionView.getBoundingClientRect();this._textarea.style.left=x+"px",this._textarea.style.top=E+"px",this._textarea.style.width=Math.max(S.width,1)+"px",this._textarea.style.height=Math.max(S.height,1)+"px",this._textarea.style.lineHeight=S.height+"px"}_||setTimeout(function(){return g.updateCompositionElements(!0)},0)}},C([v(2,D.IBufferService),v(3,D.IOptionsService),v(4,D.ICoreService),v(5,P.IRenderService)],A)}();T.CompositionHelper=M},9806:function(Z,T){function R(C,v){var P=v.getBoundingClientRect();return[C.clientX-P.left,C.clientY-P.top]}Object.defineProperty(T,"__esModule",{value:!0}),T.getRawByteCoords=T.getCoords=T.getCoordsRelativeToElement=void 0,T.getCoordsRelativeToElement=R,T.getCoords=function(C,v,P,D,M,A,_,g){if(M){var k=R(C,v);if(k)return k[0]=Math.ceil((k[0]+(g?A/2:0))/A),k[1]=Math.ceil(k[1]/_),k[0]=Math.min(Math.max(k[0],1),P+(g?1:0)),k[1]=Math.min(Math.max(k[1],1),D),k}},T.getRawByteCoords=function(C){if(C)return{x:C[0]+32,y:C[1]+32}}},9504:function(Z,T,R){Object.defineProperty(T,"__esModule",{value:!0}),T.moveToCellSequence=void 0;var C=R(2584);function v(g,k,N,E){var x=g-P(N,g),S=k-P(N,k);return _(Math.abs(x-S)-function(O,L,j){for(var K=0,z=O-P(j,O),J=L-P(j,L),ie=0;ie<Math.abs(z-J);ie++){var te="A"===D(O,L)?-1:1,ae=j.buffer.lines.get(z+te*ie);ae&&ae.isWrapped&&K++}return K}(g,k,N),A(D(g,k),E))}function P(g,k){for(var N=0,E=g.buffer.lines.get(k),x=E&&E.isWrapped;x&&k>=0&&k<g.rows;)N++,x=(E=g.buffer.lines.get(--k))&&E.isWrapped;return N}function D(g,k){return g>k?"A":"B"}function M(g,k,N,E,x,S){for(var O=g,L=k,j="";O!==N||L!==E;)O+=x?1:-1,x&&O>S.cols-1?(j+=S.buffer.translateBufferLineToString(L,!1,g,O),O=0,g=0,L++):!x&&O<0&&(j+=S.buffer.translateBufferLineToString(L,!1,0,g+1),g=O=S.cols-1,L--);return j+S.buffer.translateBufferLineToString(L,!1,g,O)}function A(g,k){return C.C0.ESC+(k?"O":"[")+g}function _(g,k){g=Math.floor(g);for(var N="",E=0;E<g;E++)N+=k;return N}T.moveToCellSequence=function(g,k,N,E){var x,j,K,ie,te,S=N.buffer.x,O=N.buffer.y;if(!N.buffer.hasScrollback)return j=S,(0===v(K=O,k,ie=N,te=E).length?"":_(M(j,K,j,K-P(ie,K),!1,ie).length,A("D",te)))+v(O,k,N,E)+function(j,K,z,J,ie,te){var ae;ae=v(K,J,ie,te).length>0?J-P(ie,J):K;var le,oe,Ae,be,it,_t,se=J,ce=(le=j,oe=K,_t=v(Ae=z,be=J,it=ie,te).length>0?be-P(it,be):oe,le<Ae&&_t<=be||le>=Ae&&_t<be?"C":"D");return _(M(j,ae,z,se,"C"===ce,ie).length,A(ce,te))}(S,O,g,k,N,E);if(O===k)return x=S>g?"D":"C",_(Math.abs(S-g),A(x,E));x=O>k?"D":"C";var L=Math.abs(O-k);return _(function(j,K){return K.cols-j}(O>k?g:S,N)+(L-1)*N.cols+1+((O>k?S:g)-1),A(x,E))}},1546:function(Z,T,R){Object.defineProperty(T,"__esModule",{value:!0}),T.BaseRenderLayer=void 0;var C=R(643),v=R(8803),P=R(1420),D=R(3734),M=R(1752),A=R(4774),_=R(9631),g=R(8978),k=function(){function N(E,x,S,O,L,j,K,z){this._container=E,this._alpha=O,this._colors=L,this._rendererId=j,this._bufferService=K,this._optionsService=z,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+x+"-layer"),this._canvas.style.zIndex=S.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return N.prototype.dispose=function(){var E;_.removeElementFromParent(this._canvas),null===(E=this._charAtlas)||void 0===E||E.dispose()},N.prototype._initCanvas=function(){this._ctx=M.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},N.prototype.onOptionsChanged=function(){},N.prototype.onBlur=function(){},N.prototype.onFocus=function(){},N.prototype.onCursorMove=function(){},N.prototype.onGridChanged=function(E,x){},N.prototype.onSelectionChanged=function(E,x,S){void 0===S&&(S=!1)},N.prototype.setColors=function(E){this._refreshCharAtlas(E)},N.prototype._setTransparency=function(E){if(E!==this._alpha){var x=this._canvas;this._alpha=E,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,x),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},N.prototype._refreshCharAtlas=function(E){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=P.acquireCharAtlas(this._optionsService.options,this._rendererId,E,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},N.prototype.resize=function(E){this._scaledCellWidth=E.scaledCellWidth,this._scaledCellHeight=E.scaledCellHeight,this._scaledCharWidth=E.scaledCharWidth,this._scaledCharHeight=E.scaledCharHeight,this._scaledCharLeft=E.scaledCharLeft,this._scaledCharTop=E.scaledCharTop,this._canvas.width=E.scaledCanvasWidth,this._canvas.height=E.scaledCanvasHeight,this._canvas.style.width=E.canvasWidth+"px",this._canvas.style.height=E.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},N.prototype._fillCells=function(E,x,S,O){this._ctx.fillRect(E*this._scaledCellWidth,x*this._scaledCellHeight,S*this._scaledCellWidth,O*this._scaledCellHeight)},N.prototype._fillMiddleLineAtCells=function(E,x,S){void 0===S&&(S=1);var O=Math.ceil(.5*this._scaledCellHeight);this._ctx.fillRect(E*this._scaledCellWidth,(x+1)*this._scaledCellHeight-O-window.devicePixelRatio,S*this._scaledCellWidth,window.devicePixelRatio)},N.prototype._fillBottomLineAtCells=function(E,x,S){void 0===S&&(S=1),this._ctx.fillRect(E*this._scaledCellWidth,(x+1)*this._scaledCellHeight-window.devicePixelRatio-1,S*this._scaledCellWidth,window.devicePixelRatio)},N.prototype._fillLeftLineAtCell=function(E,x,S){this._ctx.fillRect(E*this._scaledCellWidth,x*this._scaledCellHeight,window.devicePixelRatio*S,this._scaledCellHeight)},N.prototype._strokeRectAtCell=function(E,x,S,O){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(E*this._scaledCellWidth+window.devicePixelRatio/2,x*this._scaledCellHeight+window.devicePixelRatio/2,S*this._scaledCellWidth-window.devicePixelRatio,O*this._scaledCellHeight-window.devicePixelRatio)},N.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},N.prototype._clearCells=function(E,x,S,O){this._alpha?this._ctx.clearRect(E*this._scaledCellWidth,x*this._scaledCellHeight,S*this._scaledCellWidth,O*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(E*this._scaledCellWidth,x*this._scaledCellHeight,S*this._scaledCellWidth,O*this._scaledCellHeight))},N.prototype._fillCharTrueColor=function(E,x,S){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="ideographic",this._clipRow(S);var O=!1;!1!==this._optionsService.options.customGlyphs&&(O=g.tryDrawCustomChar(this._ctx,E.getChars(),x*this._scaledCellWidth,S*this._scaledCellHeight,this._scaledCellWidth,this._scaledCellHeight)),O||this._ctx.fillText(E.getChars(),x*this._scaledCellWidth+this._scaledCharLeft,S*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight)},N.prototype._drawChars=function(E,x,S){var O,L,j=this._getContrastColor(E);j||E.isFgRGB()||E.isBgRGB()?this._drawUncachedChars(E,x,S,j):(E.isInverse()?(O=E.isBgDefault()?v.INVERTED_DEFAULT_COLOR:E.getBgColor(),L=E.isFgDefault()?v.INVERTED_DEFAULT_COLOR:E.getFgColor()):(L=E.isBgDefault()?C.DEFAULT_COLOR:E.getBgColor(),O=E.isFgDefault()?C.DEFAULT_COLOR:E.getFgColor()),O+=this._optionsService.options.drawBoldTextInBrightColors&&E.isBold()&&O<8?8:0,this._currentGlyphIdentifier.chars=E.getChars()||C.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=E.getCode()||C.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=L,this._currentGlyphIdentifier.fg=O,this._currentGlyphIdentifier.bold=!!E.isBold(),this._currentGlyphIdentifier.dim=!!E.isDim(),this._currentGlyphIdentifier.italic=!!E.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,x*this._scaledCellWidth+this._scaledCharLeft,S*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(E,x,S))},N.prototype._drawUncachedChars=function(E,x,S,O){if(this._ctx.save(),this._ctx.font=this._getFont(!!E.isBold(),!!E.isItalic()),this._ctx.textBaseline="ideographic",E.isInverse())if(O)this._ctx.fillStyle=O.css;else if(E.isBgDefault())this._ctx.fillStyle=A.color.opaque(this._colors.background).css;else if(E.isBgRGB())this._ctx.fillStyle="rgb("+D.AttributeData.toColorRGB(E.getBgColor()).join(",")+")";else{var L=E.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&E.isBold()&&L<8&&(L+=8),this._ctx.fillStyle=this._colors.ansi[L].css}else if(O)this._ctx.fillStyle=O.css;else if(E.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(E.isFgRGB())this._ctx.fillStyle="rgb("+D.AttributeData.toColorRGB(E.getFgColor()).join(",")+")";else{var j=E.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&E.isBold()&&j<8&&(j+=8),this._ctx.fillStyle=this._colors.ansi[j].css}this._clipRow(S),E.isDim()&&(this._ctx.globalAlpha=v.DIM_OPACITY);var K=!1;!1!==this._optionsService.options.customGlyphs&&(K=g.tryDrawCustomChar(this._ctx,E.getChars(),x*this._scaledCellWidth,S*this._scaledCellHeight,this._scaledCellWidth,this._scaledCellHeight)),K||this._ctx.fillText(E.getChars(),x*this._scaledCellWidth+this._scaledCharLeft,S*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight),this._ctx.restore()},N.prototype._clipRow=function(E){this._ctx.beginPath(),this._ctx.rect(0,E*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},N.prototype._getFont=function(E,x){return(x?"italic":"")+" "+(E?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},N.prototype._getContrastColor=function(E){if(1!==this._optionsService.options.minimumContrastRatio){var x=this._colors.contrastCache.getColor(E.bg,E.fg);if(void 0!==x)return x||void 0;var S=E.getFgColor(),O=E.getFgColorMode(),L=E.getBgColor(),j=E.getBgColorMode(),K=!!E.isInverse(),z=!!E.isInverse();if(K){var J=S;S=L,L=J;var ie=O;O=j,j=ie}var te=this._resolveBackgroundRgba(j,L,K),ae=this._resolveForegroundRgba(O,S,K,z),se=A.rgba.ensureContrastRatio(te,ae,this._optionsService.options.minimumContrastRatio);if(se){var ce={css:A.channels.toCss(se>>24&255,se>>16&255,se>>8&255),rgba:se};return this._colors.contrastCache.setColor(E.bg,E.fg,ce),ce}this._colors.contrastCache.setColor(E.bg,E.fg,null)}},N.prototype._resolveBackgroundRgba=function(E,x,S){switch(E){case 16777216:case 33554432:return this._colors.ansi[x].rgba;case 50331648:return x<<8;case 0:default:return S?this._colors.foreground.rgba:this._colors.background.rgba}},N.prototype._resolveForegroundRgba=function(E,x,S,O){switch(E){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&O&&x<8&&(x+=8),this._colors.ansi[x].rgba;case 50331648:return x<<8;case 0:default:return S?this._colors.background.rgba:this._colors.foreground.rgba}},N}();T.BaseRenderLayer=k},2512:function(Z,T,R){var C,v=this&&this.__extends||(C=function(S,O){return(C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L,j){L.__proto__=j}||function(L,j){for(var K in j)Object.prototype.hasOwnProperty.call(j,K)&&(L[K]=j[K])})(S,O)},function(x,S){if("function"!=typeof S&&null!==S)throw new TypeError("Class extends value "+String(S)+" is not a constructor or null");function O(){this.constructor=x}C(x,S),x.prototype=null===S?Object.create(S):(O.prototype=S.prototype,new O)}),P=this&&this.__decorate||function(x,S,O,L){var j,K=arguments.length,z=K<3?S:null===L?L=Object.getOwnPropertyDescriptor(S,O):L;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)z=Reflect.decorate(x,S,O,L);else for(var J=x.length-1;J>=0;J--)(j=x[J])&&(z=(K<3?j(z):K>3?j(S,O,z):j(S,O))||z);return K>3&&z&&Object.defineProperty(S,O,z),z},D=this&&this.__param||function(x,S){return function(O,L){S(O,L,x)}};Object.defineProperty(T,"__esModule",{value:!0}),T.CursorRenderLayer=void 0;var M=R(1546),A=R(511),_=R(2585),g=R(4725),k=600,N=function(x){function S(O,L,j,K,z,J,ie,te,ae){var se=x.call(this,O,"cursor",L,!0,j,K,J,ie)||this;return se._onRequestRedraw=z,se._coreService=te,se._coreBrowserService=ae,se._cell=new A.CellData,se._state={x:0,y:0,isFocused:!1,style:"",width:0},se._cursorRenderers={bar:se._renderBarCursor.bind(se),block:se._renderBlockCursor.bind(se),underline:se._renderUnderlineCursor.bind(se)},se}return v(S,x),S.prototype.dispose=function(){this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0),x.prototype.dispose.call(this)},S.prototype.resize=function(O){x.prototype.resize.call(this,O),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},S.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},S.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},S.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},S.prototype.onOptionsChanged=function(){var O,L=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new E(this._coreBrowserService.isFocused,function(){L._render(!0)})):(null===(O=this._cursorBlinkStateManager)||void 0===O||O.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},S.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},S.prototype.onGridChanged=function(O,L){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},S.prototype._render=function(O){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var L=this._bufferService.buffer.ybase+this._bufferService.buffer.y,j=L-this._bufferService.buffer.ydisp;if(j<0||j>=this._bufferService.rows)this._clearCursor();else{var K=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(L).loadCell(K,this._cell),void 0!==this._cell.content){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var z=this._optionsService.options.cursorStyle;return z&&"block"!==z?this._cursorRenderers[z](K,j,this._cell):this._renderBlurCursor(K,j,this._cell),this._ctx.restore(),this._state.x=K,this._state.y=j,this._state.isFocused=!1,this._state.style=z,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===K&&this._state.y===j&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](K,j,this._cell),this._ctx.restore(),this._state.x=K,this._state.y=j,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},S.prototype._clearCursor=function(){this._state&&(window.devicePixelRatio<1?this._clearAll():this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})},S.prototype._renderBarCursor=function(O,L,j){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(O,L,this._optionsService.options.cursorWidth),this._ctx.restore()},S.prototype._renderBlockCursor=function(O,L,j){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(O,L,j.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(j,O,L),this._ctx.restore()},S.prototype._renderUnderlineCursor=function(O,L,j){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(O,L),this._ctx.restore()},S.prototype._renderBlurCursor=function(O,L,j){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(O,L,j.getWidth(),1),this._ctx.restore()},P([D(5,_.IBufferService),D(6,_.IOptionsService),D(7,_.ICoreService),D(8,g.ICoreBrowserService)],S)}(M.BaseRenderLayer);T.CursorRenderLayer=N;var E=function(){function x(S,O){this._renderCallback=O,this.isCursorVisible=!0,S&&this._restartInterval()}return Object.defineProperty(x.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),x.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},x.prototype.restartBlinkAnimation=function(){var S=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){S._renderCallback(),S._animationFrame=void 0})))},x.prototype._restartInterval=function(S){var O=this;void 0===S&&(S=k),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout(function(){if(O._animationTimeRestarted){var L=k-(Date.now()-O._animationTimeRestarted);if(O._animationTimeRestarted=void 0,L>0)return void O._restartInterval(L)}O.isCursorVisible=!1,O._animationFrame=window.requestAnimationFrame(function(){O._renderCallback(),O._animationFrame=void 0}),O._blinkInterval=window.setInterval(function(){if(O._animationTimeRestarted){var j=k-(Date.now()-O._animationTimeRestarted);return O._animationTimeRestarted=void 0,void O._restartInterval(j)}O.isCursorVisible=!O.isCursorVisible,O._animationFrame=window.requestAnimationFrame(function(){O._renderCallback(),O._animationFrame=void 0})},k)},S)},x.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},x.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},x}()},8978:function(Z,T,R){var C,v,P,D,M,A,_,g,k,N,E,x,S,O,L,j,K,z,J,ie,te,ae,se,ce,le,oe,Ae,be,it,qe,_t,yt,Ft,xe,Oe,je,dt,Qe,Bt,xt,vt,Qt,Ht,Ct,Vt,bt,en,Nt,rn,kn,Nn,In,$n,Rn,wn,yr,ut,He,ve,ye,Te,we,ct,ht,Jt,Kt,Yt,nn,cn,yn,Tn,Pn,Yn,Cn,Sn,tr,cr,Ut,Rt,Lt,Pe,rt,he,Ie,Ne,Le,ze,At,an,qn,Nr,qr,br,Qr,uo,Ni,yo,co,Qo,wi,ro,yi,Gi,po,fi,Uo,ki,Wn,Ot,jt,Pt,qt,Gt,Xt,gn,Gn,jn,zn,si,bi,io,bo,Fi,Po,Ko,ko,ii,Ho;Object.defineProperty(T,"__esModule",{value:!0}),T.tryDrawCustomChar=T.boxDrawingDefinitions=T.blockElementDefinitions=void 0;var oo=R(1752);T.blockElementDefinitions={"\u2580":[{x:0,y:0,w:8,h:4}],"\u2581":[{x:0,y:7,w:8,h:1}],"\u2582":[{x:0,y:6,w:8,h:2}],"\u2583":[{x:0,y:5,w:8,h:3}],"\u2584":[{x:0,y:4,w:8,h:4}],"\u2585":[{x:0,y:3,w:8,h:5}],"\u2586":[{x:0,y:2,w:8,h:6}],"\u2587":[{x:0,y:1,w:8,h:7}],"\u2588":[{x:0,y:0,w:8,h:8}],"\u2589":[{x:0,y:0,w:7,h:8}],"\u258a":[{x:0,y:0,w:6,h:8}],"\u258b":[{x:0,y:0,w:5,h:8}],"\u258c":[{x:0,y:0,w:4,h:8}],"\u258d":[{x:0,y:0,w:3,h:8}],"\u258e":[{x:0,y:0,w:2,h:8}],"\u258f":[{x:0,y:0,w:1,h:8}],"\u2590":[{x:4,y:0,w:4,h:8}],"\u2594":[{x:0,y:0,w:9,h:1}],"\u2595":[{x:7,y:0,w:1,h:8}],"\u2596":[{x:0,y:4,w:4,h:4}],"\u2597":[{x:4,y:4,w:4,h:4}],"\u2598":[{x:0,y:0,w:4,h:4}],"\u2599":[{x:0,y:0,w:4,h:8},{x:0,y:4,w:8,h:4}],"\u259a":[{x:0,y:0,w:4,h:4},{x:4,y:4,w:4,h:4}],"\u259b":[{x:0,y:0,w:4,h:8},{x:0,y:0,w:4,h:8}],"\u259c":[{x:0,y:0,w:8,h:4},{x:4,y:0,w:4,h:8}],"\u259d":[{x:4,y:0,w:4,h:4}],"\u259e":[{x:4,y:0,w:4,h:4},{x:0,y:4,w:4,h:4}],"\u259f":[{x:4,y:0,w:4,h:8},{x:0,y:4,w:8,h:4}],"\ud83e\udf70":[{x:1,y:0,w:1,h:8}],"\ud83e\udf71":[{x:2,y:0,w:1,h:8}],"\ud83e\udf72":[{x:3,y:0,w:1,h:8}],"\ud83e\udf73":[{x:4,y:0,w:1,h:8}],"\ud83e\udf74":[{x:5,y:0,w:1,h:8}],"\ud83e\udf75":[{x:6,y:0,w:1,h:8}],"\ud83e\udf76":[{x:0,y:1,w:8,h:1}],"\ud83e\udf77":[{x:0,y:2,w:8,h:1}],"\ud83e\udf78":[{x:0,y:3,w:8,h:1}],"\ud83e\udf79":[{x:0,y:4,w:8,h:1}],"\ud83e\udf7a":[{x:0,y:5,w:8,h:1}],"\ud83e\udf7b":[{x:0,y:6,w:8,h:1}],"\ud83e\udf7c":[{x:0,y:0,w:1,h:8},{x:0,y:7,w:8,h:1}],"\ud83e\udf7d":[{x:0,y:0,w:1,h:8},{x:0,y:0,w:8,h:1}],"\ud83e\udf7e":[{x:7,y:0,w:1,h:8},{x:0,y:0,w:8,h:1}],"\ud83e\udf7f":[{x:7,y:0,w:1,h:8},{x:0,y:7,w:8,h:1}],"\ud83e\udf80":[{x:0,y:0,w:8,h:1},{x:0,y:7,w:8,h:1}],"\ud83e\udf81":[{x:0,y:0,w:8,h:1},{x:0,y:2,w:8,h:1},{x:0,y:4,w:8,h:1},{x:0,y:7,w:8,h:1}],"\ud83e\udf82":[{x:0,y:0,w:8,h:2}],"\ud83e\udf83":[{x:0,y:0,w:8,h:3}],"\ud83e\udf84":[{x:0,y:0,w:8,h:5}],"\ud83e\udf85":[{x:0,y:0,w:8,h:6}],"\ud83e\udf86":[{x:0,y:0,w:8,h:7}],"\ud83e\udf87":[{x:6,y:0,w:2,h:8}],"\ud83e\udf88":[{x:5,y:0,w:3,h:8}],"\ud83e\udf89":[{x:3,y:0,w:5,h:8}],"\ud83e\udf8a":[{x:2,y:0,w:6,h:8}],"\ud83e\udf8b":[{x:1,y:0,w:7,h:8}],"\ud83e\udf95":[{x:0,y:0,w:2,h:2},{x:4,y:0,w:2,h:2},{x:2,y:2,w:2,h:2},{x:6,y:2,w:2,h:2},{x:0,y:4,w:2,h:2},{x:4,y:4,w:2,h:2},{x:2,y:6,w:2,h:2},{x:6,y:6,w:2,h:2}],"\ud83e\udf96":[{x:2,y:0,w:2,h:2},{x:6,y:0,w:2,h:2},{x:0,y:2,w:2,h:2},{x:4,y:2,w:2,h:2},{x:2,y:4,w:2,h:2},{x:6,y:4,w:2,h:2},{x:0,y:6,w:2,h:2},{x:4,y:6,w:2,h:2}],"\ud83e\udf97":[{x:0,y:2,w:8,h:2},{x:0,y:6,w:8,h:2}]};var ji={"\u2591":[[1,0,0,0],[0,0,0,0],[0,0,1,0],[0,0,0,0]],"\u2592":[[1,0],[0,0],[0,1],[0,0]],"\u2593":[[0,1],[1,1],[1,0],[1,1]]};T.boxDrawingDefinitions={"\u2500":(C={},C[1]="M0,.5 L1,.5",C),"\u2501":(v={},v[3]="M0,.5 L1,.5",v),"\u2502":(P={},P[1]="M.5,0 L.5,1",P),"\u2503":(D={},D[3]="M.5,0 L.5,1",D),"\u250c":(M={},M[1]="M0.5,1 L.5,.5 L1,.5",M),"\u250f":(A={},A[3]="M0.5,1 L.5,.5 L1,.5",A),"\u2510":(_={},_[1]="M0,.5 L.5,.5 L.5,1",_),"\u2513":(g={},g[3]="M0,.5 L.5,.5 L.5,1",g),"\u2514":(k={},k[1]="M.5,0 L.5,.5 L1,.5",k),"\u2517":(N={},N[3]="M.5,0 L.5,.5 L1,.5",N),"\u2518":(E={},E[1]="M.5,0 L.5,.5 L0,.5",E),"\u251b":(x={},x[3]="M.5,0 L.5,.5 L0,.5",x),"\u251c":(S={},S[1]="M.5,0 L.5,1 M.5,.5 L1,.5",S),"\u2523":(O={},O[3]="M.5,0 L.5,1 M.5,.5 L1,.5",O),"\u2524":(L={},L[1]="M.5,0 L.5,1 M.5,.5 L0,.5",L),"\u252b":(j={},j[3]="M.5,0 L.5,1 M.5,.5 L0,.5",j),"\u252c":(K={},K[1]="M0,.5 L1,.5 M.5,.5 L.5,1",K),"\u2533":(z={},z[3]="M0,.5 L1,.5 M.5,.5 L.5,1",z),"\u2534":(J={},J[1]="M0,.5 L1,.5 M.5,.5 L.5,0",J),"\u253b":(ie={},ie[3]="M0,.5 L1,.5 M.5,.5 L.5,0",ie),"\u253c":(te={},te[1]="M0,.5 L1,.5 M.5,0 L.5,1",te),"\u254b":(ae={},ae[3]="M0,.5 L1,.5 M.5,0 L.5,1",ae),"\u2574":(se={},se[1]="M.5,.5 L0,.5",se),"\u2578":(ce={},ce[3]="M.5,.5 L0,.5",ce),"\u2575":(le={},le[1]="M.5,.5 L.5,0",le),"\u2579":(oe={},oe[3]="M.5,.5 L.5,0",oe),"\u2576":(Ae={},Ae[1]="M.5,.5 L1,.5",Ae),"\u257a":(be={},be[3]="M.5,.5 L1,.5",be),"\u2577":(it={},it[1]="M.5,.5 L.5,1",it),"\u257b":(qe={},qe[3]="M.5,.5 L.5,1",qe),"\u2550":(_t={},_t[1]=function(fn,vn){return"M0,"+(.5-vn)+" L1,"+(.5-vn)+" M0,"+(.5+vn)+" L1,"+(.5+vn)},_t),"\u2551":(yt={},yt[1]=function(fn,vn){return"M"+(.5-fn)+",0 L"+(.5-fn)+",1 M"+(.5+fn)+",0 L"+(.5+fn)+",1"},yt),"\u2552":(Ft={},Ft[1]=function(fn,vn){return"M.5,1 L.5,"+(.5-vn)+" L1,"+(.5-vn)+" M.5,"+(.5+vn)+" L1,"+(.5+vn)},Ft),"\u2553":(xe={},xe[1]=function(fn,vn){return"M"+(.5-fn)+",1 L"+(.5-fn)+",.5 L1,.5 M"+(.5+fn)+",.5 L"+(.5+fn)+",1"},xe),"\u2554":(Oe={},Oe[1]=function(fn,vn){return"M1,"+(.5-vn)+" L"+(.5-fn)+","+(.5-vn)+" L"+(.5-fn)+",1 M1,"+(.5+vn)+" L"+(.5+fn)+","+(.5+vn)+" L"+(.5+fn)+",1"},Oe),"\u2555":(je={},je[1]=function(fn,vn){return"M0,"+(.5-vn)+" L.5,"+(.5-vn)+" L.5,1 M0,"+(.5+vn)+" L.5,"+(.5+vn)},je),"\u2556":(dt={},dt[1]=function(fn,vn){return"M"+(.5+fn)+",1 L"+(.5+fn)+",.5 L0,.5 M"+(.5-fn)+",.5 L"+(.5-fn)+",1"},dt),"\u2557":(Qe={},Qe[1]=function(fn,vn){return"M0,"+(.5+vn)+" L"+(.5-fn)+","+(.5+vn)+" L"+(.5-fn)+",1 M0,"+(.5-vn)+" L"+(.5+fn)+","+(.5-vn)+" L"+(.5+fn)+",1"},Qe),"\u2558":(Bt={},Bt[1]=function(fn,vn){return"M.5,0 L.5,"+(.5+vn)+" L1,"+(.5+vn)+" M.5,"+(.5-vn)+" L1,"+(.5-vn)},Bt),"\u2559":(xt={},xt[1]=function(fn,vn){return"M1,.5 L"+(.5-fn)+",.5 L"+(.5-fn)+",0 M"+(.5+fn)+",.5 L"+(.5+fn)+",0"},xt),"\u255a":(vt={},vt[1]=function(fn,vn){return"M1,"+(.5-vn)+" L"+(.5+fn)+","+(.5-vn)+" L"+(.5+fn)+",0 M1,"+(.5+vn)+" L"+(.5-fn)+","+(.5+vn)+" L"+(.5-fn)+",0"},vt),"\u255b":(Qt={},Qt[1]=function(fn,vn){return"M0,"+(.5+vn)+" L.5,"+(.5+vn)+" L.5,0 M0,"+(.5-vn)+" L.5,"+(.5-vn)},Qt),"\u255c":(Ht={},Ht[1]=function(fn,vn){return"M0,.5 L"+(.5+fn)+",.5 L"+(.5+fn)+",0 M"+(.5-fn)+",.5 L"+(.5-fn)+",0"},Ht),"\u255d":(Ct={},Ct[1]=function(fn,vn){return"M0,"+(.5-vn)+" L"+(.5-fn)+","+(.5-vn)+" L"+(.5-fn)+",0 M0,"+(.5+vn)+" L"+(.5+fn)+","+(.5+vn)+" L"+(.5+fn)+",0"},Ct),"\u255e":(Vt={},Vt[1]=function(fn,vn){return"M.5,0 L.5,1 M.5,"+(.5-vn)+" L1,"+(.5-vn)+" M.5,"+(.5+vn)+" L1,"+(.5+vn)},Vt),"\u255f":(bt={},bt[1]=function(fn,vn){return"M"+(.5-fn)+",0 L"+(.5-fn)+",1 M"+(.5+fn)+",0 L"+(.5+fn)+",1 M"+(.5+fn)+",.5 L1,.5"},bt),"\u2560":(en={},en[1]=function(fn,vn){return"M"+(.5-fn)+",0 L"+(.5-fn)+",1 M1,"+(.5+vn)+" L"+(.5+fn)+","+(.5+vn)+" L"+(.5+fn)+",1 M1,"+(.5-vn)+" L"+(.5+fn)+","+(.5-vn)+" L"+(.5+fn)+",0"},en),"\u2561":(Nt={},Nt[1]=function(fn,vn){return"M.5,0 L.5,1 M0,"+(.5-vn)+" L.5,"+(.5-vn)+" M0,"+(.5+vn)+" L.5,"+(.5+vn)},Nt),"\u2562":(rn={},rn[1]=function(fn,vn){return"M0,.5 L"+(.5-fn)+",.5 M"+(.5-fn)+",0 L"+(.5-fn)+",1 M"+(.5+fn)+",0 L"+(.5+fn)+",1"},rn),"\u2563":(kn={},kn[1]=function(fn,vn){return"M"+(.5+fn)+",0 L"+(.5+fn)+",1 M0,"+(.5+vn)+" L"+(.5-fn)+","+(.5+vn)+" L"+(.5-fn)+",1 M0,"+(.5-vn)+" L"+(.5-fn)+","+(.5-vn)+" L"+(.5-fn)+",0"},kn),"\u2564":(Nn={},Nn[1]=function(fn,vn){return"M0,"+(.5-vn)+" L1,"+(.5-vn)+" M0,"+(.5+vn)+" L1,"+(.5+vn)+" M.5,"+(.5+vn)+" L.5,1"},Nn),"\u2565":(In={},In[1]=function(fn,vn){return"M0,.5 L1,.5 M"+(.5-fn)+",.5 L"+(.5-fn)+",1 M"+(.5+fn)+",.5 L"+(.5+fn)+",1"},In),"\u2566":($n={},$n[1]=function(fn,vn){return"M0,"+(.5-vn)+" L1,"+(.5-vn)+" M0,"+(.5+vn)+" L"+(.5-fn)+","+(.5+vn)+" L"+(.5-fn)+",1 M1,"+(.5+vn)+" L"+(.5+fn)+","+(.5+vn)+" L"+(.5+fn)+",1"},$n),"\u2567":(Rn={},Rn[1]=function(fn,vn){return"M.5,0 L.5,"+(.5-vn)+" M0,"+(.5-vn)+" L1,"+(.5-vn)+" M0,"+(.5+vn)+" L1,"+(.5+vn)},Rn),"\u2568":(wn={},wn[1]=function(fn,vn){return"M0,.5 L1,.5 M"+(.5-fn)+",.5 L"+(.5-fn)+",0 M"+(.5+fn)+",.5 L"+(.5+fn)+",0"},wn),"\u2569":(yr={},yr[1]=function(fn,vn){return"M0,"+(.5+vn)+" L1,"+(.5+vn)+" M0,"+(.5-vn)+" L"+(.5-fn)+","+(.5-vn)+" L"+(.5-fn)+",0 M1,"+(.5-vn)+" L"+(.5+fn)+","+(.5-vn)+" L"+(.5+fn)+",0"},yr),"\u256a":(ut={},ut[1]=function(fn,vn){return"M.5,0 L.5,1 M0,"+(.5-vn)+" L1,"+(.5-vn)+" M0,"+(.5+vn)+" L1,"+(.5+vn)},ut),"\u256b":(He={},He[1]=function(fn,vn){return"M0,.5 L1,.5 M"+(.5-fn)+",0 L"+(.5-fn)+",1 M"+(.5+fn)+",0 L"+(.5+fn)+",1"},He),"\u256c":(ve={},ve[1]=function(fn,vn){return"M0,"+(.5+vn)+" L"+(.5-fn)+","+(.5+vn)+" L"+(.5-fn)+",1 M1,"+(.5+vn)+" L"+(.5+fn)+","+(.5+vn)+" L"+(.5+fn)+",1 M0,"+(.5-vn)+" L"+(.5-fn)+","+(.5-vn)+" L"+(.5-fn)+",0 M1,"+(.5-vn)+" L"+(.5+fn)+","+(.5-vn)+" L"+(.5+fn)+",0"},ve),"\u2571":(ye={},ye[1]="M1,0 L0,1",ye),"\u2572":(Te={},Te[1]="M0,0 L1,1",Te),"\u2573":(we={},we[1]="M1,0 L0,1 M0,0 L1,1",we),"\u257c":(ct={},ct[1]="M.5,.5 L0,.5",ct[3]="M.5,.5 L1,.5",ct),"\u257d":(ht={},ht[1]="M.5,.5 L.5,0",ht[3]="M.5,.5 L.5,1",ht),"\u257e":(Jt={},Jt[1]="M.5,.5 L1,.5",Jt[3]="M.5,.5 L0,.5",Jt),"\u257f":(Kt={},Kt[1]="M.5,.5 L.5,1",Kt[3]="M.5,.5 L.5,0",Kt),"\u250d":(Yt={},Yt[1]="M.5,.5 L.5,1",Yt[3]="M.5,.5 L1,.5",Yt),"\u250e":(nn={},nn[1]="M.5,.5 L1,.5",nn[3]="M.5,.5 L.5,1",nn),"\u2511":(cn={},cn[1]="M.5,.5 L.5,1",cn[3]="M.5,.5 L0,.5",cn),"\u2512":(yn={},yn[1]="M.5,.5 L0,.5",yn[3]="M.5,.5 L.5,1",yn),"\u2515":(Tn={},Tn[1]="M.5,.5 L.5,0",Tn[3]="M.5,.5 L1,.5",Tn),"\u2516":(Pn={},Pn[1]="M.5,.5 L1,.5",Pn[3]="M.5,.5 L.5,0",Pn),"\u2519":(Yn={},Yn[1]="M.5,.5 L.5,0",Yn[3]="M.5,.5 L0,.5",Yn),"\u251a":(Cn={},Cn[1]="M.5,.5 L0,.5",Cn[3]="M.5,.5 L.5,0",Cn),"\u251d":(Sn={},Sn[1]="M.5,0 L.5,1",Sn[3]="M.5,.5 L1,.5",Sn),"\u251e":(tr={},tr[1]="M0.5,1 L.5,.5 L1,.5",tr[3]="M.5,.5 L.5,0",tr),"\u251f":(cr={},cr[1]="M.5,0 L.5,.5 L1,.5",cr[3]="M.5,.5 L.5,1",cr),"\u2520":(Ut={},Ut[1]="M.5,.5 L1,.5",Ut[3]="M.5,0 L.5,1",Ut),"\u2521":(Rt={},Rt[1]="M.5,.5 L.5,1",Rt[3]="M.5,0 L.5,.5 L1,.5",Rt),"\u2522":(Lt={},Lt[1]="M.5,.5 L.5,0",Lt[3]="M0.5,1 L.5,.5 L1,.5",Lt),"\u2525":(Pe={},Pe[1]="M.5,0 L.5,1",Pe[3]="M.5,.5 L0,.5",Pe),"\u2526":(rt={},rt[1]="M0,.5 L.5,.5 L.5,1",rt[3]="M.5,.5 L.5,0",rt),"\u2527":(he={},he[1]="M.5,0 L.5,.5 L0,.5",he[3]="M.5,.5 L.5,1",he),"\u2528":(Ie={},Ie[1]="M.5,.5 L0,.5",Ie[3]="M.5,0 L.5,1",Ie),"\u2529":(Ne={},Ne[1]="M.5,.5 L.5,1",Ne[3]="M.5,0 L.5,.5 L0,.5",Ne),"\u252a":(Le={},Le[1]="M.5,.5 L.5,0",Le[3]="M0,.5 L.5,.5 L.5,1",Le),"\u252d":(ze={},ze[1]="M0.5,1 L.5,.5 L1,.5",ze[3]="M.5,.5 L0,.5",ze),"\u252e":(At={},At[1]="M0,.5 L.5,.5 L.5,1",At[3]="M.5,.5 L1,.5",At),"\u252f":(an={},an[1]="M.5,.5 L.5,1",an[3]="M0,.5 L1,.5",an),"\u2530":(qn={},qn[1]="M0,.5 L1,.5",qn[3]="M.5,.5 L.5,1",qn),"\u2531":(Nr={},Nr[1]="M.5,.5 L1,.5",Nr[3]="M0,.5 L.5,.5 L.5,1",Nr),"\u2532":(qr={},qr[1]="M.5,.5 L0,.5",qr[3]="M0.5,1 L.5,.5 L1,.5",qr),"\u2535":(br={},br[1]="M.5,0 L.5,.5 L1,.5",br[3]="M.5,.5 L0,.5",br),"\u2536":(Qr={},Qr[1]="M.5,0 L.5,.5 L0,.5",Qr[3]="M.5,.5 L1,.5",Qr),"\u2537":(uo={},uo[1]="M.5,.5 L.5,0",uo[3]="M0,.5 L1,.5",uo),"\u2538":(Ni={},Ni[1]="M0,.5 L1,.5",Ni[3]="M.5,.5 L.5,0",Ni),"\u2539":(yo={},yo[1]="M.5,.5 L1,.5",yo[3]="M.5,0 L.5,.5 L0,.5",yo),"\u253a":(co={},co[1]="M.5,.5 L0,.5",co[3]="M.5,0 L.5,.5 L1,.5",co),"\u253d":(Qo={},Qo[1]="M.5,0 L.5,1 M.5,.5 L1,.5",Qo[3]="M.5,.5 L0,.5",Qo),"\u253e":(wi={},wi[1]="M.5,0 L.5,1 M.5,.5 L0,.5",wi[3]="M.5,.5 L1,.5",wi),"\u253f":(ro={},ro[1]="M.5,0 L.5,1",ro[3]="M0,.5 L1,.5",ro),"\u2540":(yi={},yi[1]="M0,.5 L1,.5 M.5,.5 L.5,1",yi[3]="M.5,.5 L.5,0",yi),"\u2541":(Gi={},Gi[1]="M.5,.5 L.5,0 M0,.5 L1,.5",Gi[3]="M.5,.5 L.5,1",Gi),"\u2542":(po={},po[1]="M0,.5 L1,.5",po[3]="M.5,0 L.5,1",po),"\u2543":(fi={},fi[1]="M0.5,1 L.5,.5 L1,.5",fi[3]="M.5,0 L.5,.5 L0,.5",fi),"\u2544":(Uo={},Uo[1]="M0,.5 L.5,.5 L.5,1",Uo[3]="M.5,0 L.5,.5 L1,.5",Uo),"\u2545":(ki={},ki[1]="M.5,0 L.5,.5 L1,.5",ki[3]="M0,.5 L.5,.5 L.5,1",ki),"\u2546":(Wn={},Wn[1]="M.5,0 L.5,.5 L0,.5",Wn[3]="M0.5,1 L.5,.5 L1,.5",Wn),"\u2547":(Ot={},Ot[1]="M.5,.5 L.5,1",Ot[3]="M.5,.5 L.5,0 M0,.5 L1,.5",Ot),"\u2548":(jt={},jt[1]="M.5,.5 L.5,0",jt[3]="M0,.5 L1,.5 M.5,.5 L.5,1",jt),"\u2549":(Pt={},Pt[1]="M.5,.5 L1,.5",Pt[3]="M.5,0 L.5,1 M.5,.5 L0,.5",Pt),"\u254a":(qt={},qt[1]="M.5,.5 L0,.5",qt[3]="M.5,0 L.5,1 M.5,.5 L1,.5",qt),"\u254c":(Gt={},Gt[1]="M.1,.5 L.4,.5 M.6,.5 L.9,.5",Gt),"\u254d":(Xt={},Xt[3]="M.1,.5 L.4,.5 M.6,.5 L.9,.5",Xt),"\u2504":(gn={},gn[1]="M.0667,.5 L.2667,.5 M.4,.5 L.6,.5 M.7333,.5 L.9333,.5",gn),"\u2505":(Gn={},Gn[3]="M.0667,.5 L.2667,.5 M.4,.5 L.6,.5 M.7333,.5 L.9333,.5",Gn),"\u2508":(jn={},jn[1]="M.05,.5 L.2,.5 M.3,.5 L.45,.5 M.55,.5 L.7,.5 M.8,.5 L.95,.5",jn),"\u2509":(zn={},zn[3]="M.05,.5 L.2,.5 M.3,.5 L.45,.5 M.55,.5 L.7,.5 M.8,.5 L.95,.5",zn),"\u254e":(si={},si[1]="M.5,.1 L.5,.4 M.5,.6 L.5,.9",si),"\u254f":(bi={},bi[3]="M.5,.1 L.5,.4 M.5,.6 L.5,.9",bi),"\u2506":(io={},io[1]="M.5,.0667 L.5,.2667 M.5,.4 L.5,.6 M.5,.7333 L.5,.9333",io),"\u2507":(bo={},bo[3]="M.5,.0667 L.5,.2667 M.5,.4 L.5,.6 M.5,.7333 L.5,.9333",bo),"\u250a":(Fi={},Fi[1]="M.5,.05 L.5,.2 M.5,.3 L.5,.45 L.5,.55 M.5,.7 L.5,.95",Fi),"\u250b":(Po={},Po[3]="M.5,.05 L.5,.2 M.5,.3 L.5,.45 L.5,.55 M.5,.7 L.5,.95",Po),"\u256d":(Ko={},Ko[1]="C.5,1,.5,.5,1,.5",Ko),"\u256e":(ko={},ko[1]="C.5,1,.5,.5,0,.5",ko),"\u256f":(ii={},ii[1]="C.5,0,.5,.5,0,.5",ii),"\u2570":(Ho={},Ho[1]="C.5,0,.5,.5,1,.5",Ho)},T.tryDrawCustomChar=function(fn,vn,fr,fo,ha,Si){var Co=T.blockElementDefinitions[vn];if(Co)return function(Eo,Io,hs,So,va,Ma){for(var qo=0;qo<Io.length;qo++){var To=Io[qo],Bi=va/8,ga=Ma/8;Eo.fillRect(hs+To.x*Bi,So+To.y*ga,To.w*Bi,To.h*ga)}}(fn,Co,fr,fo,ha,Si),!0;var Zi=ji[vn];if(Zi)return function(Eo,Io,hs,So,va,Ma){var qo,To=Yi.get(Io);To||(To=new Map,Yi.set(Io,To));var Bi=Eo.fillStyle;if("string"!=typeof Bi)throw new Error('Unexpected fillStyle type "'+Bi+'"');var ga=To.get(Bi);if(!ga){var Qi=Io[0].length,_a=Io.length,Aa=document.createElement("canvas");Aa.width=Qi,Aa.height=_a;var _r=oo.throwIfFalsy(Aa.getContext("2d")),Ln=new ImageData(Qi,_a),Da=void 0,Ui=void 0,Va=void 0,ar=void 0;if(Bi.startsWith("#"))Da=parseInt(Bi.substr(1,2),16),Ui=parseInt(Bi.substr(3,2),16),Va=parseInt(Bi.substr(5,2),16),ar=Bi.length>7&&parseInt(Bi.substr(7,2),16)||1;else{if(!Bi.startsWith("rgba"))throw new Error('Unexpected fillStyle color format "'+Bi+'" when drawing pattern glyph');Da=(qo=Bi.substring(5,Bi.length-1).split(",").map(function(Au){return parseFloat(Au)}))[0],Ui=qo[1],Va=qo[2],ar=qo[3]}for(var zi=0;zi<_a;zi++)for(var qa=0;qa<Qi;qa++)Ln.data[4*(zi*Qi+qa)]=Da,Ln.data[4*(zi*Qi+qa)+1]=Ui,Ln.data[4*(zi*Qi+qa)+2]=Va,Ln.data[4*(zi*Qi+qa)+3]=Io[zi][qa]*(255*ar);_r.putImageData(Ln,0,0),ga=oo.throwIfFalsy(Eo.createPattern(Aa,null)),To.set(Bi,ga)}Eo.fillStyle=ga,Eo.fillRect(hs,So,va,Ma)}(fn,Zi,fr,fo,ha,Si),!0;var ma=T.boxDrawingDefinitions[vn];return!!ma&&(function(Eo,Io,hs,So,va,Ma){Eo.strokeStyle=Eo.fillStyle;for(var qo=0,To=Object.entries(Io);qo<To.length;qo++){var Bi=To[qo],ga=Bi[0],Qi=Bi[1];Eo.beginPath(),Eo.lineWidth=window.devicePixelRatio*Number.parseInt(ga);for(var _a=0,Aa=("function"==typeof Qi?Qi(.15,.15/Ma*va):Qi).split(" ");_a<Aa.length;_a++){var _r=Aa[_a],Ln=_r[0],Da=Ci[Ln];if(Da){var Ui=_r.substring(1).split(",");Ui[0]&&Ui[1]&&Da(Eo,Ji(Ui,va,Ma,hs,So))}else console.error('Could not find drawing instructions for "'+Ln+'"')}Eo.stroke(),Eo.closePath()}}(fn,ma,fr,fo,ha,Si),!0)};var Yi=new Map;function Vo(fn,vn,fr){return void 0===fr&&(fr=0),Math.max(Math.min(fn,vn),fr)}var Ci={C:function(vn,fr){return vn.bezierCurveTo(fr[0],fr[1],fr[2],fr[3],fr[4],fr[5])},L:function(vn,fr){return vn.lineTo(fr[0],fr[1])},M:function(vn,fr){return vn.moveTo(fr[0],fr[1])}};function Ji(fn,vn,fr,fo,ha){var Si=fn.map(function(ma){return parseFloat(ma)||parseInt(ma)});if(Si.length<2)throw new Error("Too few arguments for instruction");for(var Co=0;Co<Si.length;Co+=2)Si[Co]*=vn,0!==Si[Co]&&(Si[Co]=Vo(Math.round(Si[Co]+.5)-.5,vn,0)),Si[Co]+=fo;for(var Zi=1;Zi<Si.length;Zi+=2)Si[Zi]*=fr,0!==Si[Zi]&&(Si[Zi]=Vo(Math.round(Si[Zi]+.5)-.5,fr,0)),Si[Zi]+=ha;return Si}},3700:function(Z,T){Object.defineProperty(T,"__esModule",{value:!0}),T.GridCache=void 0;var R=function(){function C(){this.cache=[]}return C.prototype.resize=function(v,P){for(var D=0;D<v;D++){this.cache.length<=D&&this.cache.push([]);for(var M=this.cache[D].length;M<P;M++)this.cache[D].push(void 0);this.cache[D].length=P}this.cache.length=v},C.prototype.clear=function(){for(var v=0;v<this.cache.length;v++)for(var P=0;P<this.cache[v].length;P++)this.cache[v][P]=void 0},C}();T.GridCache=R},5098:function(Z,T,R){var C,v=this&&this.__extends||(C=function(E,x){return(C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,O){S.__proto__=O}||function(S,O){for(var L in O)Object.prototype.hasOwnProperty.call(O,L)&&(S[L]=O[L])})(E,x)},function(N,E){if("function"!=typeof E&&null!==E)throw new TypeError("Class extends value "+String(E)+" is not a constructor or null");function x(){this.constructor=N}C(N,E),N.prototype=null===E?Object.create(E):(x.prototype=E.prototype,new x)}),P=this&&this.__decorate||function(N,E,x,S){var O,L=arguments.length,j=L<3?E:null===S?S=Object.getOwnPropertyDescriptor(E,x):S;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)j=Reflect.decorate(N,E,x,S);else for(var K=N.length-1;K>=0;K--)(O=N[K])&&(j=(L<3?O(j):L>3?O(E,x,j):O(E,x))||j);return L>3&&j&&Object.defineProperty(E,x,j),j},D=this&&this.__param||function(N,E){return function(x,S){E(x,S,N)}};Object.defineProperty(T,"__esModule",{value:!0}),T.LinkRenderLayer=void 0;var M=R(1546),A=R(8803),_=R(2040),g=R(2585),k=function(N){function E(x,S,O,L,j,K,z,J){var ie=N.call(this,x,"link",S,!0,O,L,z,J)||this;return j.onShowLinkUnderline(function(te){return ie._onShowLinkUnderline(te)}),j.onHideLinkUnderline(function(te){return ie._onHideLinkUnderline(te)}),K.onShowLinkUnderline(function(te){return ie._onShowLinkUnderline(te)}),K.onHideLinkUnderline(function(te){return ie._onHideLinkUnderline(te)}),ie}return v(E,N),E.prototype.resize=function(x){N.prototype.resize.call(this,x),this._state=void 0},E.prototype.reset=function(){this._clearCurrentLink()},E.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var x=this._state.y2-this._state.y1-1;x>0&&this._clearCells(0,this._state.y1+1,this._state.cols,x),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},E.prototype._onShowLinkUnderline=function(x){if(this._ctx.fillStyle=x.fg===A.INVERTED_DEFAULT_COLOR?this._colors.background.css:x.fg&&_.is256Color(x.fg)?this._colors.ansi[x.fg].css:this._colors.foreground.css,x.y1===x.y2)this._fillBottomLineAtCells(x.x1,x.y1,x.x2-x.x1);else{this._fillBottomLineAtCells(x.x1,x.y1,x.cols-x.x1);for(var S=x.y1+1;S<x.y2;S++)this._fillBottomLineAtCells(0,S,x.cols);this._fillBottomLineAtCells(0,x.y2,x.x2)}this._state=x},E.prototype._onHideLinkUnderline=function(x){this._clearCurrentLink()},P([D(6,g.IBufferService),D(7,g.IOptionsService)],E)}(M.BaseRenderLayer);T.LinkRenderLayer=k},3525:function(Z,T,R){var C,v=this&&this.__extends||(C=function(K,z){return(C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(J,ie){J.__proto__=ie}||function(J,ie){for(var te in ie)Object.prototype.hasOwnProperty.call(ie,te)&&(J[te]=ie[te])})(K,z)},function(j,K){if("function"!=typeof K&&null!==K)throw new TypeError("Class extends value "+String(K)+" is not a constructor or null");function z(){this.constructor=j}C(j,K),j.prototype=null===K?Object.create(K):(z.prototype=K.prototype,new z)}),P=this&&this.__decorate||function(j,K,z,J){var ie,te=arguments.length,ae=te<3?K:null===J?J=Object.getOwnPropertyDescriptor(K,z):J;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ae=Reflect.decorate(j,K,z,J);else for(var se=j.length-1;se>=0;se--)(ie=j[se])&&(ae=(te<3?ie(ae):te>3?ie(K,z,ae):ie(K,z))||ae);return te>3&&ae&&Object.defineProperty(K,z,ae),ae},D=this&&this.__param||function(j,K){return function(z,J){K(z,J,j)}};Object.defineProperty(T,"__esModule",{value:!0}),T.Renderer=void 0;var M=R(9596),A=R(4149),_=R(2512),g=R(5098),k=R(844),N=R(4725),E=R(2585),x=R(1420),S=R(8460),O=1,L=function(j){function K(z,J,ie,te,ae,se,ce,le){var oe=j.call(this)||this;return oe._colors=z,oe._screenElement=J,oe._bufferService=se,oe._charSizeService=ce,oe._optionsService=le,oe._id=O++,oe._onRequestRedraw=new S.EventEmitter,oe._renderLayers=[ae.createInstance(M.TextRenderLayer,oe._screenElement,0,oe._colors,oe._optionsService.options.allowTransparency,oe._id),ae.createInstance(A.SelectionRenderLayer,oe._screenElement,1,oe._colors,oe._id),ae.createInstance(g.LinkRenderLayer,oe._screenElement,2,oe._colors,oe._id,ie,te),ae.createInstance(_.CursorRenderLayer,oe._screenElement,3,oe._colors,oe._id,oe._onRequestRedraw)],oe.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},oe._devicePixelRatio=window.devicePixelRatio,oe._updateDimensions(),oe.onOptionsChanged(),oe}return v(K,j),Object.defineProperty(K.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),K.prototype.dispose=function(){for(var z=0,J=this._renderLayers;z<J.length;z++)J[z].dispose();j.prototype.dispose.call(this),x.removeTerminalFromCache(this._id)},K.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},K.prototype.setColors=function(z){this._colors=z;for(var J=0,ie=this._renderLayers;J<ie.length;J++){var te=ie[J];te.setColors(this._colors),te.reset()}},K.prototype.onResize=function(z,J){this._updateDimensions();for(var ie=0,te=this._renderLayers;ie<te.length;ie++)te[ie].resize(this.dimensions);this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},K.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},K.prototype.onBlur=function(){this._runOperation(function(z){return z.onBlur()})},K.prototype.onFocus=function(){this._runOperation(function(z){return z.onFocus()})},K.prototype.onSelectionChanged=function(z,J,ie){void 0===ie&&(ie=!1),this._runOperation(function(te){return te.onSelectionChanged(z,J,ie)})},K.prototype.onCursorMove=function(){this._runOperation(function(z){return z.onCursorMove()})},K.prototype.onOptionsChanged=function(){this._runOperation(function(z){return z.onOptionsChanged()})},K.prototype.clear=function(){this._runOperation(function(z){return z.reset()})},K.prototype._runOperation=function(z){for(var J=0,ie=this._renderLayers;J<ie.length;J++)z(ie[J])},K.prototype.renderRows=function(z,J){for(var ie=0,te=this._renderLayers;ie<te.length;ie++)te[ie].onGridChanged(z,J)},K.prototype._updateDimensions=function(){this._charSizeService.hasValidSize&&(this.dimensions.scaledCharWidth=Math.floor(this._charSizeService.width*window.devicePixelRatio),this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharTop=1===this._optionsService.options.lineHeight?0:Math.round((this.dimensions.scaledCellHeight-this.dimensions.scaledCharHeight)/2),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCharLeft=Math.floor(this._optionsService.options.letterSpacing/2),this.dimensions.scaledCanvasHeight=this._bufferService.rows*this.dimensions.scaledCellHeight,this.dimensions.scaledCanvasWidth=this._bufferService.cols*this.dimensions.scaledCellWidth,this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols)},P([D(4,E.IInstantiationService),D(5,E.IBufferService),D(6,N.ICharSizeService),D(7,E.IOptionsService)],K)}(k.Disposable);T.Renderer=L},1752:function(Z,T){Object.defineProperty(T,"__esModule",{value:!0}),T.throwIfFalsy=void 0,T.throwIfFalsy=function(R){if(!R)throw new Error("value must not be falsy");return R}},4149:function(Z,T,R){var C,v=this&&this.__extends||(C=function(k,N){return(C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,x){E.__proto__=x}||function(E,x){for(var S in x)Object.prototype.hasOwnProperty.call(x,S)&&(E[S]=x[S])})(k,N)},function(g,k){if("function"!=typeof k&&null!==k)throw new TypeError("Class extends value "+String(k)+" is not a constructor or null");function N(){this.constructor=g}C(g,k),g.prototype=null===k?Object.create(k):(N.prototype=k.prototype,new N)}),P=this&&this.__decorate||function(g,k,N,E){var x,S=arguments.length,O=S<3?k:null===E?E=Object.getOwnPropertyDescriptor(k,N):E;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)O=Reflect.decorate(g,k,N,E);else for(var L=g.length-1;L>=0;L--)(x=g[L])&&(O=(S<3?x(O):S>3?x(k,N,O):x(k,N))||O);return S>3&&O&&Object.defineProperty(k,N,O),O},D=this&&this.__param||function(g,k){return function(N,E){k(N,E,g)}};Object.defineProperty(T,"__esModule",{value:!0}),T.SelectionRenderLayer=void 0;var M=R(1546),A=R(2585),_=function(g){function k(N,E,x,S,O,L){var j=g.call(this,N,"selection",E,!0,x,S,O,L)||this;return j._clearState(),j}return v(k,g),k.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},k.prototype.resize=function(N){g.prototype.resize.call(this,N),this._clearState()},k.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},k.prototype.onSelectionChanged=function(N,E,x){if(this._didStateChange(N,E,x,this._bufferService.buffer.ydisp))if(this._clearAll(),N&&E){var S=N[1]-this._bufferService.buffer.ydisp,O=E[1]-this._bufferService.buffer.ydisp,L=Math.max(S,0),j=Math.min(O,this._bufferService.rows-1);if(L>=this._bufferService.rows||j<0)this._state.ydisp=this._bufferService.buffer.ydisp;else{if(this._ctx.fillStyle=this._colors.selectionTransparent.css,x){var K=N[0];this._fillCells(K,L,E[0]-K,j-L+1)}else{this._fillCells(K=S===L?N[0]:0,L,(L===O?E[0]:this._bufferService.cols)-K,1);var te=Math.max(j-L-1,0);this._fillCells(0,L+1,this._bufferService.cols,te),L!==j&&this._fillCells(0,j,O===j?E[0]:this._bufferService.cols,1)}this._state.start=[N[0],N[1]],this._state.end=[E[0],E[1]],this._state.columnSelectMode=x,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},k.prototype._didStateChange=function(N,E,x,S){return!this._areCoordinatesEqual(N,this._state.start)||!this._areCoordinatesEqual(E,this._state.end)||x!==this._state.columnSelectMode||S!==this._state.ydisp},k.prototype._areCoordinatesEqual=function(N,E){return!(!N||!E)&&N[0]===E[0]&&N[1]===E[1]},P([D(4,A.IBufferService),D(5,A.IOptionsService)],k)}(M.BaseRenderLayer);T.SelectionRenderLayer=_},9596:function(Z,T,R){var C,v=this&&this.__extends||(C=function(L,j){return(C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(K,z){K.__proto__=z}||function(K,z){for(var J in z)Object.prototype.hasOwnProperty.call(z,J)&&(K[J]=z[J])})(L,j)},function(O,L){if("function"!=typeof L&&null!==L)throw new TypeError("Class extends value "+String(L)+" is not a constructor or null");function j(){this.constructor=O}C(O,L),O.prototype=null===L?Object.create(L):(j.prototype=L.prototype,new j)}),P=this&&this.__decorate||function(O,L,j,K){var z,J=arguments.length,ie=J<3?L:null===K?K=Object.getOwnPropertyDescriptor(L,j):K;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ie=Reflect.decorate(O,L,j,K);else for(var te=O.length-1;te>=0;te--)(z=O[te])&&(ie=(J<3?z(ie):J>3?z(L,j,ie):z(L,j))||ie);return J>3&&ie&&Object.defineProperty(L,j,ie),ie},D=this&&this.__param||function(O,L){return function(j,K){L(j,K,O)}};Object.defineProperty(T,"__esModule",{value:!0}),T.TextRenderLayer=void 0;var M=R(3700),A=R(1546),_=R(3734),g=R(643),k=R(511),N=R(2585),E=R(4725),x=R(4269),S=function(O){function L(j,K,z,J,ie,te,ae,se){var ce=O.call(this,j,"text",K,J,z,ie,te,ae)||this;return ce._characterJoinerService=se,ce._characterWidth=0,ce._characterFont="",ce._characterOverlapCache={},ce._workCell=new k.CellData,ce._state=new M.GridCache,ce}return v(L,O),L.prototype.resize=function(j){O.prototype.resize.call(this,j);var K=this._getFont(!1,!1);this._characterWidth===j.scaledCharWidth&&this._characterFont===K||(this._characterWidth=j.scaledCharWidth,this._characterFont=K,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},L.prototype.reset=function(){this._state.clear(),this._clearAll()},L.prototype._forEachCell=function(j,K,z){for(var J=j;J<=K;J++)for(var ie=J+this._bufferService.buffer.ydisp,te=this._bufferService.buffer.lines.get(ie),ae=this._characterJoinerService.getJoinedCharacters(ie),se=0;se<this._bufferService.cols;se++){te.loadCell(se,this._workCell);var ce=this._workCell,le=!1,oe=se;if(0!==ce.getWidth()){if(ae.length>0&&se===ae[0][0]){le=!0;var Ae=ae.shift();ce=new x.JoinedCellData(this._workCell,te.translateToString(!0,Ae[0],Ae[1]),Ae[1]-Ae[0]),oe=Ae[1]-1}!le&&this._isOverlapping(ce)&&oe<te.length-1&&te.getCodePoint(oe+1)===g.NULL_CELL_CODE&&(ce.content&=-12582913,ce.content|=2<<22),z(ce,se,J),se=oe}}},L.prototype._drawBackground=function(j,K){var z=this,J=this._ctx,ie=this._bufferService.cols,te=0,ae=0,se=null;J.save(),this._forEachCell(j,K,function(ce,le,oe){var Ae=null;ce.isInverse()?Ae=ce.isFgDefault()?z._colors.foreground.css:ce.isFgRGB()?"rgb("+_.AttributeData.toColorRGB(ce.getFgColor()).join(",")+")":z._colors.ansi[ce.getFgColor()].css:ce.isBgRGB()?Ae="rgb("+_.AttributeData.toColorRGB(ce.getBgColor()).join(",")+")":ce.isBgPalette()&&(Ae=z._colors.ansi[ce.getBgColor()].css),null===se&&(te=le,ae=oe),oe!==ae?(J.fillStyle=se||"",z._fillCells(te,ae,ie-te,1),te=le,ae=oe):se!==Ae&&(J.fillStyle=se||"",z._fillCells(te,ae,le-te,1),te=le,ae=oe),se=Ae}),null!==se&&(J.fillStyle=se,this._fillCells(te,ae,ie-te,1)),J.restore()},L.prototype._drawForeground=function(j,K){var z=this;this._forEachCell(j,K,function(J,ie,te){if(!J.isInvisible()&&(z._drawChars(J,ie,te),J.isUnderline()||J.isStrikethrough())){if(z._ctx.save(),J.isInverse())if(J.isBgDefault())z._ctx.fillStyle=z._colors.background.css;else if(J.isBgRGB())z._ctx.fillStyle="rgb("+_.AttributeData.toColorRGB(J.getBgColor()).join(",")+")";else{var ae=J.getBgColor();z._optionsService.options.drawBoldTextInBrightColors&&J.isBold()&&ae<8&&(ae+=8),z._ctx.fillStyle=z._colors.ansi[ae].css}else if(J.isFgDefault())z._ctx.fillStyle=z._colors.foreground.css;else if(J.isFgRGB())z._ctx.fillStyle="rgb("+_.AttributeData.toColorRGB(J.getFgColor()).join(",")+")";else{var se=J.getFgColor();z._optionsService.options.drawBoldTextInBrightColors&&J.isBold()&&se<8&&(se+=8),z._ctx.fillStyle=z._colors.ansi[se].css}J.isStrikethrough()&&z._fillMiddleLineAtCells(ie,te,J.getWidth()),J.isUnderline()&&z._fillBottomLineAtCells(ie,te,J.getWidth()),z._ctx.restore()}})},L.prototype.onGridChanged=function(j,K){0!==this._state.cache.length&&(this._charAtlas&&this._charAtlas.beginFrame(),this._clearCells(0,j,this._bufferService.cols,K-j+1),this._drawBackground(j,K),this._drawForeground(j,K))},L.prototype.onOptionsChanged=function(){this._setTransparency(this._optionsService.options.allowTransparency)},L.prototype._isOverlapping=function(j){if(1!==j.getWidth()||j.getCode()<256)return!1;var K=j.getChars();if(this._characterOverlapCache.hasOwnProperty(K))return this._characterOverlapCache[K];this._ctx.save(),this._ctx.font=this._characterFont;var z=Math.floor(this._ctx.measureText(K).width)>this._characterWidth;return this._ctx.restore(),this._characterOverlapCache[K]=z,z},P([D(5,N.IBufferService),D(6,N.IOptionsService),D(7,E.ICharacterJoinerService)],L)}(A.BaseRenderLayer);T.TextRenderLayer=S},9616:function(Z,T){Object.defineProperty(T,"__esModule",{value:!0}),T.BaseCharAtlas=void 0;var R=function(){function C(){this._didWarmUp=!1}return C.prototype.dispose=function(){},C.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},C.prototype._doWarmUp=function(){},C.prototype.beginFrame=function(){},C}();T.BaseCharAtlas=R},1420:function(Z,T,R){Object.defineProperty(T,"__esModule",{value:!0}),T.removeTerminalFromCache=T.acquireCharAtlas=void 0;var C=R(2040),v=R(1906),P=[];T.acquireCharAtlas=function(D,M,A,_,g){for(var k=C.generateConfig(_,g,D,A),N=0;N<P.length;N++){var E=(x=P[N]).ownedBy.indexOf(M);if(E>=0){if(C.configEquals(x.config,k))return x.atlas;1===x.ownedBy.length?(x.atlas.dispose(),P.splice(N,1)):x.ownedBy.splice(E,1);break}}for(N=0;N<P.length;N++){var x=P[N];if(C.configEquals(x.config,k))return x.ownedBy.push(M),x.atlas}var S={atlas:new v.DynamicCharAtlas(document,k),config:k,ownedBy:[M]};return P.push(S),S.atlas},T.removeTerminalFromCache=function(D){for(var M=0;M<P.length;M++){var A=P[M].ownedBy.indexOf(D);if(-1!==A){1===P[M].ownedBy.length?(P[M].atlas.dispose(),P.splice(M,1)):P[M].ownedBy.splice(A,1);break}}}},2040:function(Z,T,R){Object.defineProperty(T,"__esModule",{value:!0}),T.is256Color=T.configEquals=T.generateConfig=void 0;var C=R(643);T.generateConfig=function(v,P,D,M){return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:v,scaledCharHeight:P,fontFamily:D.fontFamily,fontSize:D.fontSize,fontWeight:D.fontWeight,fontWeightBold:D.fontWeightBold,allowTransparency:D.allowTransparency,colors:{foreground:M.foreground,background:M.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:M.ansi}}},T.configEquals=function(v,P){for(var D=0;D<v.colors.ansi.length;D++)if(v.colors.ansi[D].rgba!==P.colors.ansi[D].rgba)return!1;return v.devicePixelRatio===P.devicePixelRatio&&v.fontFamily===P.fontFamily&&v.fontSize===P.fontSize&&v.fontWeight===P.fontWeight&&v.fontWeightBold===P.fontWeightBold&&v.allowTransparency===P.allowTransparency&&v.scaledCharWidth===P.scaledCharWidth&&v.scaledCharHeight===P.scaledCharHeight&&v.colors.foreground===P.colors.foreground&&v.colors.background===P.colors.background},T.is256Color=function(v){return v<C.DEFAULT_COLOR}},8803:function(Z,T){Object.defineProperty(T,"__esModule",{value:!0}),T.CHAR_ATLAS_CELL_SPACING=T.DIM_OPACITY=T.INVERTED_DEFAULT_COLOR=void 0,T.INVERTED_DEFAULT_COLOR=257,T.DIM_OPACITY=.5,T.CHAR_ATLAS_CELL_SPACING=1},1906:function(Z,T,R){var C,v=this&&this.__extends||(C=function(j,K){return(C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(z,J){z.__proto__=J}||function(z,J){for(var ie in J)Object.prototype.hasOwnProperty.call(J,ie)&&(z[ie]=J[ie])})(j,K)},function(L,j){if("function"!=typeof j&&null!==j)throw new TypeError("Class extends value "+String(j)+" is not a constructor or null");function K(){this.constructor=L}C(L,j),L.prototype=null===j?Object.create(j):(K.prototype=j.prototype,new K)});Object.defineProperty(T,"__esModule",{value:!0}),T.NoneCharAtlas=T.DynamicCharAtlas=T.getGlyphCacheKey=void 0;var P=R(8803),D=R(9616),M=R(5680),A=R(7001),_=R(6114),g=R(1752),k=R(4774),N={css:"rgba(0, 0, 0, 0)",rgba:0};function E(L){return L.code<<21|L.bg<<12|L.fg<<3|(L.bold?0:4)+(L.dim?0:2)+(L.italic?0:1)}T.getGlyphCacheKey=E;var x=function(L){function j(K,z){var J=L.call(this)||this;J._config=z,J._drawToCacheCount=0,J._glyphsWaitingOnBitmap=[],J._bitmapCommitTimeout=null,J._bitmap=null,J._cacheCanvas=K.createElement("canvas"),J._cacheCanvas.width=1024,J._cacheCanvas.height=1024,J._cacheCtx=g.throwIfFalsy(J._cacheCanvas.getContext("2d",{alpha:!0}));var ie=K.createElement("canvas");ie.width=J._config.scaledCharWidth,ie.height=J._config.scaledCharHeight,J._tmpCtx=g.throwIfFalsy(ie.getContext("2d",{alpha:J._config.allowTransparency})),J._width=Math.floor(1024/J._config.scaledCharWidth),J._height=Math.floor(1024/J._config.scaledCharHeight);var te=J._width*J._height;return J._cacheMap=new A.LRUMap(te),J._cacheMap.prealloc(te),J}return v(j,L),j.prototype.dispose=function(){null!==this._bitmapCommitTimeout&&(window.clearTimeout(this._bitmapCommitTimeout),this._bitmapCommitTimeout=null)},j.prototype.beginFrame=function(){this._drawToCacheCount=0},j.prototype.draw=function(K,z,J,ie){if(32===z.code)return!0;if(!this._canCache(z))return!1;var te=E(z),ae=this._cacheMap.get(te);if(null!=ae)return this._drawFromCache(K,ae,J,ie),!0;if(this._drawToCacheCount<100){var se;se=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var ce=this._drawToCache(z,se);return this._cacheMap.set(te,ce),this._drawFromCache(K,ce,J,ie),!0}return!1},j.prototype._canCache=function(K){return K.code<256},j.prototype._toCoordinateX=function(K){return K%this._width*this._config.scaledCharWidth},j.prototype._toCoordinateY=function(K){return Math.floor(K/this._width)*this._config.scaledCharHeight},j.prototype._drawFromCache=function(K,z,J,ie){if(!z.isEmpty){var te=this._toCoordinateX(z.index),ae=this._toCoordinateY(z.index);K.drawImage(z.inBitmap?this._bitmap:this._cacheCanvas,te,ae,this._config.scaledCharWidth,this._config.scaledCharHeight,J,ie,this._config.scaledCharWidth,this._config.scaledCharHeight)}},j.prototype._getColorFromAnsiIndex=function(K){return K<this._config.colors.ansi.length?this._config.colors.ansi[K]:M.DEFAULT_ANSI_COLORS[K]},j.prototype._getBackgroundColor=function(K){return this._config.allowTransparency?N:K.bg===P.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:K.bg<256?this._getColorFromAnsiIndex(K.bg):this._config.colors.background},j.prototype._getForegroundColor=function(K){return K.fg===P.INVERTED_DEFAULT_COLOR?k.color.opaque(this._config.colors.background):K.fg<256?this._getColorFromAnsiIndex(K.fg):this._config.colors.foreground},j.prototype._drawToCache=function(K,z){this._drawToCacheCount++,this._tmpCtx.save();var J=this._getBackgroundColor(K);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=J.css,this._tmpCtx.fillRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),this._tmpCtx.globalCompositeOperation="source-over",this._tmpCtx.font=(K.italic?"italic":"")+" "+(K.bold?this._config.fontWeightBold:this._config.fontWeight)+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline="ideographic",this._tmpCtx.fillStyle=this._getForegroundColor(K).css,K.dim&&(this._tmpCtx.globalAlpha=P.DIM_OPACITY),this._tmpCtx.fillText(K.chars,0,this._config.scaledCharHeight);var ae=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),se=!1;if(this._config.allowTransparency||(se=O(ae,J)),se&&"_"===K.chars&&!this._config.allowTransparency)for(var ce=1;ce<=5&&(this._tmpCtx.fillText(K.chars,0,this._config.scaledCharHeight-ce),se=O(ae=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),J));ce++);this._tmpCtx.restore();var le=this._toCoordinateX(z),oe=this._toCoordinateY(z);this._cacheCtx.putImageData(ae,le,oe);var Ae={index:z,isEmpty:se,inBitmap:!1};return this._addGlyphToBitmap(Ae),Ae},j.prototype._addGlyphToBitmap=function(K){var z=this;!("createImageBitmap"in window)||_.isFirefox||_.isSafari||(this._glyphsWaitingOnBitmap.push(K),null===this._bitmapCommitTimeout&&(this._bitmapCommitTimeout=window.setTimeout(function(){return z._generateBitmap()},100)))},j.prototype._generateBitmap=function(){var K=this,z=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then(function(J){K._bitmap=J;for(var ie=0;ie<z.length;ie++)z[ie].inBitmap=!0}),this._bitmapCommitTimeout=null},j}(D.BaseCharAtlas);T.DynamicCharAtlas=x;var S=function(L){function j(K,z){return L.call(this)||this}return v(j,L),j.prototype.draw=function(K,z,J,ie){return!1},j}(D.BaseCharAtlas);function O(L,j){for(var K=!0,z=j.rgba>>>24,J=j.rgba>>>16&255,ie=j.rgba>>>8&255,te=0;te<L.data.length;te+=4)L.data[te]===z&&L.data[te+1]===J&&L.data[te+2]===ie?L.data[te+3]=0:K=!1;return K}T.NoneCharAtlas=S},7001:function(Z,T){Object.defineProperty(T,"__esModule",{value:!0}),T.LRUMap=void 0;var R=function(){function C(v){this.capacity=v,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return C.prototype._unlinkNode=function(v){var P=v.prev,D=v.next;v===this._head&&(this._head=D),v===this._tail&&(this._tail=P),null!==P&&(P.next=D),null!==D&&(D.prev=P)},C.prototype._appendNode=function(v){var P=this._tail;null!==P&&(P.next=v),v.prev=P,v.next=null,this._tail=v,null===this._head&&(this._head=v)},C.prototype.prealloc=function(v){for(var P=this._nodePool,D=0;D<v;D++)P.push({prev:null,next:null,key:null,value:null})},C.prototype.get=function(v){var P=this._map[v];return void 0!==P?(this._unlinkNode(P),this._appendNode(P),P.value):null},C.prototype.peekValue=function(v){var P=this._map[v];return void 0!==P?P.value:null},C.prototype.peek=function(){var v=this._head;return null===v?null:v.value},C.prototype.set=function(v,P){var D=this._map[v];if(void 0!==D)this._unlinkNode(D=this._map[v]),D.value=P;else if(this.size>=this.capacity)this._unlinkNode(D=this._head),delete this._map[D.key],D.key=v,D.value=P,this._map[v]=D;else{var M=this._nodePool;M.length>0?((D=M.pop()).key=v,D.value=P):D={prev:null,next:null,key:v,value:P},this._map[v]=D,this.size++}this._appendNode(D)},C}();T.LRUMap=R},1296:function(Z,T,R){var C,v=this&&this.__extends||(C=function(ie,te){return(C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ae,se){ae.__proto__=se}||function(ae,se){for(var ce in se)Object.prototype.hasOwnProperty.call(se,ce)&&(ae[ce]=se[ce])})(ie,te)},function(J,ie){if("function"!=typeof ie&&null!==ie)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");function te(){this.constructor=J}C(J,ie),J.prototype=null===ie?Object.create(ie):(te.prototype=ie.prototype,new te)}),P=this&&this.__decorate||function(J,ie,te,ae){var se,ce=arguments.length,le=ce<3?ie:null===ae?ae=Object.getOwnPropertyDescriptor(ie,te):ae;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)le=Reflect.decorate(J,ie,te,ae);else for(var oe=J.length-1;oe>=0;oe--)(se=J[oe])&&(le=(ce<3?se(le):ce>3?se(ie,te,le):se(ie,te))||le);return ce>3&&le&&Object.defineProperty(ie,te,le),le},D=this&&this.__param||function(J,ie){return function(te,ae){ie(te,ae,J)}};Object.defineProperty(T,"__esModule",{value:!0}),T.DomRenderer=void 0;var M=R(3787),A=R(8803),_=R(844),g=R(4725),k=R(2585),N=R(8460),E=R(4774),x=R(9631),S="xterm-dom-renderer-owner-",O="xterm-fg-",L="xterm-bg-",j="xterm-focus",K=1,z=function(J){function ie(te,ae,se,ce,le,oe,Ae,be,it,qe){var _t=J.call(this)||this;return _t._colors=te,_t._element=ae,_t._screenElement=se,_t._viewportElement=ce,_t._linkifier=le,_t._linkifier2=oe,_t._charSizeService=be,_t._optionsService=it,_t._bufferService=qe,_t._terminalClass=K++,_t._rowElements=[],_t._rowContainer=document.createElement("div"),_t._rowContainer.classList.add("xterm-rows"),_t._rowContainer.style.lineHeight="normal",_t._rowContainer.setAttribute("aria-hidden","true"),_t._refreshRowElements(_t._bufferService.cols,_t._bufferService.rows),_t._selectionContainer=document.createElement("div"),_t._selectionContainer.classList.add("xterm-selection"),_t._selectionContainer.setAttribute("aria-hidden","true"),_t.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},_t._updateDimensions(),_t._injectCss(),_t._rowFactory=Ae.createInstance(M.DomRendererRowFactory,document,_t._colors),_t._element.classList.add(S+_t._terminalClass),_t._screenElement.appendChild(_t._rowContainer),_t._screenElement.appendChild(_t._selectionContainer),_t._linkifier.onShowLinkUnderline(function(yt){return _t._onLinkHover(yt)}),_t._linkifier.onHideLinkUnderline(function(yt){return _t._onLinkLeave(yt)}),_t._linkifier2.onShowLinkUnderline(function(yt){return _t._onLinkHover(yt)}),_t._linkifier2.onHideLinkUnderline(function(yt){return _t._onLinkLeave(yt)}),_t}return v(ie,J),Object.defineProperty(ie.prototype,"onRequestRedraw",{get:function(){return(new N.EventEmitter).event},enumerable:!1,configurable:!0}),ie.prototype.dispose=function(){this._element.classList.remove(S+this._terminalClass),x.removeElementFromParent(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),J.prototype.dispose.call(this)},ie.prototype._updateDimensions=function(){this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows;for(var te=0,ae=this._rowElements;te<ae.length;te++){var se=ae[te];se.style.width=this.dimensions.canvasWidth+"px",se.style.height=this.dimensions.actualCellHeight+"px",se.style.lineHeight=this.dimensions.actualCellHeight+"px",se.style.overflow="hidden"}this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement)),this._dimensionsStyleElement.textContent=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}",this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},ie.prototype.setColors=function(te){this._colors=te,this._injectCss()},ie.prototype._injectCss=function(){var te=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var ae=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";ae+=this._terminalSelector+" span:not(."+M.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+M.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+M.ITALIC_CLASS+" { font-style: italic;}",ae+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% {  box-shadow: none; }}",ae+="@keyframes blink_block_"+this._terminalClass+" { 0% {  background-color: "+this._colors.cursor.css+";  color: "+this._colors.cursorAccent.css+"; } 50% {  background-color: "+this._colors.cursorAccent.css+";  color: "+this._colors.cursor.css+"; }}",ae+=this._terminalSelector+" .xterm-rows:not(.xterm-focus) ."+M.CURSOR_CLASS+"."+M.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+M.CURSOR_CLASS+"."+M.CURSOR_BLINK_CLASS+":not(."+M.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+M.CURSOR_CLASS+"."+M.CURSOR_BLINK_CLASS+"."+M.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+M.CURSOR_CLASS+"."+M.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+M.CURSOR_CLASS+"."+M.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+M.CURSOR_CLASS+"."+M.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",ae+=this._terminalSelector+" .xterm-selection { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}"+this._terminalSelector+" .xterm-selection div { position: absolute; background-color: "+this._colors.selectionTransparent.css+";}",this._colors.ansi.forEach(function(se,ce){ae+=te._terminalSelector+" ."+O+ce+" { color: "+se.css+"; }"+te._terminalSelector+" ."+L+ce+" { background-color: "+se.css+"; }"}),ae+=this._terminalSelector+" ."+O+A.INVERTED_DEFAULT_COLOR+" { color: "+E.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" ."+L+A.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.textContent=ae},ie.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},ie.prototype._refreshRowElements=function(te,ae){for(var se=this._rowElements.length;se<=ae;se++){var ce=document.createElement("div");this._rowContainer.appendChild(ce),this._rowElements.push(ce)}for(;this._rowElements.length>ae;)this._rowContainer.removeChild(this._rowElements.pop())},ie.prototype.onResize=function(te,ae){this._refreshRowElements(te,ae),this._updateDimensions()},ie.prototype.onCharSizeChanged=function(){this._updateDimensions()},ie.prototype.onBlur=function(){this._rowContainer.classList.remove(j)},ie.prototype.onFocus=function(){this._rowContainer.classList.add(j)},ie.prototype.onSelectionChanged=function(te,ae,se){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(te&&ae){var ce=te[1]-this._bufferService.buffer.ydisp,le=ae[1]-this._bufferService.buffer.ydisp,oe=Math.max(ce,0),Ae=Math.min(le,this._bufferService.rows-1);if(!(oe>=this._bufferService.rows||Ae<0)){var be=document.createDocumentFragment();se?be.appendChild(this._createSelectionElement(oe,te[0],ae[0],Ae-oe+1)):(be.appendChild(this._createSelectionElement(oe,ce===oe?te[0]:0,oe===le?ae[0]:this._bufferService.cols)),be.appendChild(this._createSelectionElement(oe+1,0,this._bufferService.cols,Ae-oe-1)),oe!==Ae&&be.appendChild(this._createSelectionElement(Ae,0,le===Ae?ae[0]:this._bufferService.cols))),this._selectionContainer.appendChild(be)}}},ie.prototype._createSelectionElement=function(te,ae,se,ce){void 0===ce&&(ce=1);var le=document.createElement("div");return le.style.height=ce*this.dimensions.actualCellHeight+"px",le.style.top=te*this.dimensions.actualCellHeight+"px",le.style.left=ae*this.dimensions.actualCellWidth+"px",le.style.width=this.dimensions.actualCellWidth*(se-ae)+"px",le},ie.prototype.onCursorMove=function(){},ie.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},ie.prototype.clear=function(){for(var te=0,ae=this._rowElements;te<ae.length;te++)ae[te].innerText=""},ie.prototype.renderRows=function(te,ae){for(var se=this._bufferService.buffer.ybase+this._bufferService.buffer.y,ce=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),le=this._optionsService.options.cursorBlink,oe=te;oe<=ae;oe++){var Ae=this._rowElements[oe];Ae.innerText="";var be=oe+this._bufferService.buffer.ydisp,it=this._bufferService.buffer.lines.get(be);Ae.appendChild(this._rowFactory.createRow(it,be,be===se,this._optionsService.options.cursorStyle,ce,le,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(ie.prototype,"_terminalSelector",{get:function(){return"."+S+this._terminalClass},enumerable:!1,configurable:!0}),ie.prototype._onLinkHover=function(te){this._setCellUnderline(te.x1,te.x2,te.y1,te.y2,te.cols,!0)},ie.prototype._onLinkLeave=function(te){this._setCellUnderline(te.x1,te.x2,te.y1,te.y2,te.cols,!1)},ie.prototype._setCellUnderline=function(te,ae,se,ce,le,oe){for(;te!==ae||se!==ce;){var Ae=this._rowElements[se];if(!Ae)return;var be=Ae.children[te];be&&(be.style.textDecoration=oe?"underline":"none"),++te>=le&&(te=0,se++)}},P([D(6,k.IInstantiationService),D(7,g.ICharSizeService),D(8,k.IOptionsService),D(9,k.IBufferService)],ie)}(_.Disposable);T.DomRenderer=z},3787:function(Z,T,R){var C=this&&this.__decorate||function(x,S,O,L){var j,K=arguments.length,z=K<3?S:null===L?L=Object.getOwnPropertyDescriptor(S,O):L;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)z=Reflect.decorate(x,S,O,L);else for(var J=x.length-1;J>=0;J--)(j=x[J])&&(z=(K<3?j(z):K>3?j(S,O,z):j(S,O))||z);return K>3&&z&&Object.defineProperty(S,O,z),z},v=this&&this.__param||function(x,S){return function(O,L){S(O,L,x)}};Object.defineProperty(T,"__esModule",{value:!0}),T.DomRendererRowFactory=T.CURSOR_STYLE_UNDERLINE_CLASS=T.CURSOR_STYLE_BAR_CLASS=T.CURSOR_STYLE_BLOCK_CLASS=T.CURSOR_BLINK_CLASS=T.CURSOR_CLASS=T.STRIKETHROUGH_CLASS=T.UNDERLINE_CLASS=T.ITALIC_CLASS=T.DIM_CLASS=T.BOLD_CLASS=void 0;var P=R(8803),D=R(643),M=R(511),A=R(2585),_=R(4774),g=R(4725),k=R(4269);T.BOLD_CLASS="xterm-bold",T.DIM_CLASS="xterm-dim",T.ITALIC_CLASS="xterm-italic",T.UNDERLINE_CLASS="xterm-underline",T.STRIKETHROUGH_CLASS="xterm-strikethrough",T.CURSOR_CLASS="xterm-cursor",T.CURSOR_BLINK_CLASS="xterm-cursor-blink",T.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",T.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",T.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var N=function(){function x(S,O,L,j){this._document=S,this._colors=O,this._characterJoinerService=L,this._optionsService=j,this._workCell=new M.CellData}return x.prototype.setColors=function(S){this._colors=S},x.prototype.createRow=function(S,O,L,j,K,z,J,ie){for(var te=this._document.createDocumentFragment(),ae=this._characterJoinerService.getJoinedCharacters(O),se=0,ce=Math.min(S.length,ie)-1;ce>=0;ce--)if(S.loadCell(ce,this._workCell).getCode()!==D.NULL_CELL_CODE||L&&ce===K){se=ce+1;break}for(ce=0;ce<se;ce++){S.loadCell(ce,this._workCell);var le=this._workCell.getWidth();if(0!==le){var oe=!1,Ae=ce,be=this._workCell;if(ae.length>0&&ce===ae[0][0]){oe=!0;var it=ae.shift();be=new k.JoinedCellData(this._workCell,S.translateToString(!0,it[0],it[1]),it[1]-it[0]),Ae=it[1]-1,le=be.getWidth()}var qe=this._document.createElement("span");if(le>1&&(qe.style.width=J*le+"px"),oe&&(qe.style.display="inline",K>=ce&&K<=Ae&&(K=ce)),L&&ce===K)switch(qe.classList.add(T.CURSOR_CLASS),z&&qe.classList.add(T.CURSOR_BLINK_CLASS),j){case"bar":qe.classList.add(T.CURSOR_STYLE_BAR_CLASS);break;case"underline":qe.classList.add(T.CURSOR_STYLE_UNDERLINE_CLASS);break;default:qe.classList.add(T.CURSOR_STYLE_BLOCK_CLASS)}be.isBold()&&qe.classList.add(T.BOLD_CLASS),be.isItalic()&&qe.classList.add(T.ITALIC_CLASS),be.isDim()&&qe.classList.add(T.DIM_CLASS),be.isUnderline()&&qe.classList.add(T.UNDERLINE_CLASS),qe.textContent=be.isInvisible()?D.WHITESPACE_CELL_CHAR:be.getChars()||D.WHITESPACE_CELL_CHAR,be.isStrikethrough()&&qe.classList.add(T.STRIKETHROUGH_CLASS);var _t=be.getFgColor(),yt=be.getFgColorMode(),Ft=be.getBgColor(),xe=be.getBgColorMode(),Oe=!!be.isInverse();if(Oe){var je=_t;_t=Ft,Ft=je;var dt=yt;yt=xe,xe=dt}switch(yt){case 16777216:case 33554432:be.isBold()&&_t<8&&this._optionsService.options.drawBoldTextInBrightColors&&(_t+=8),this._applyMinimumContrast(qe,this._colors.background,this._colors.ansi[_t])||qe.classList.add("xterm-fg-"+_t);break;case 50331648:var Qe=_.rgba.toColor(_t>>16&255,_t>>8&255,255&_t);this._applyMinimumContrast(qe,this._colors.background,Qe)||this._addStyle(qe,"color:#"+E(_t.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(qe,this._colors.background,this._colors.foreground)||Oe&&qe.classList.add("xterm-fg-"+P.INVERTED_DEFAULT_COLOR)}switch(xe){case 16777216:case 33554432:qe.classList.add("xterm-bg-"+Ft);break;case 50331648:this._addStyle(qe,"background-color:#"+E(Ft.toString(16),"0",6));break;case 0:default:Oe&&qe.classList.add("xterm-bg-"+P.INVERTED_DEFAULT_COLOR)}te.appendChild(qe),ce=Ae}}return te},x.prototype._applyMinimumContrast=function(S,O,L){if(1===this._optionsService.options.minimumContrastRatio)return!1;var j=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return void 0===j&&(j=_.color.ensureContrastRatio(O,L,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,null!=j?j:null)),!!j&&(this._addStyle(S,"color:"+j.css),!0)},x.prototype._addStyle=function(S,O){S.setAttribute("style",""+(S.getAttribute("style")||"")+O+";")},C([v(2,g.ICharacterJoinerService),v(3,A.IOptionsService)],x)}();function E(x,S,O){for(;x.length<O;)x=S+x;return x}T.DomRendererRowFactory=N},456:function(Z,T){Object.defineProperty(T,"__esModule",{value:!0}),T.SelectionModel=void 0;var R=function(){function C(v){this._bufferService=v,this.isSelectAllActive=!1,this.selectionStartLength=0}return C.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(C.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var P=this.selectionStart[0]+this.selectionStartLength;return P>this._bufferService.cols?[P%this._bufferService.cols,this.selectionStart[1]+Math.floor(P/this._bufferService.cols)]:[P,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!1,configurable:!0}),C.prototype.areSelectionValuesReversed=function(){var v=this.selectionStart,P=this.selectionEnd;return!(!v||!P)&&(v[1]>P[1]||v[1]===P[1]&&v[0]>P[0])},C.prototype.onTrim=function(v){return this.selectionStart&&(this.selectionStart[1]-=v),this.selectionEnd&&(this.selectionEnd[1]-=v),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},C}();T.SelectionModel=R},428:function(Z,T,R){var C=this&&this.__decorate||function(_,g,k,N){var E,x=arguments.length,S=x<3?g:null===N?N=Object.getOwnPropertyDescriptor(g,k):N;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)S=Reflect.decorate(_,g,k,N);else for(var O=_.length-1;O>=0;O--)(E=_[O])&&(S=(x<3?E(S):x>3?E(g,k,S):E(g,k))||S);return x>3&&S&&Object.defineProperty(g,k,S),S},v=this&&this.__param||function(_,g){return function(k,N){g(k,N,_)}};Object.defineProperty(T,"__esModule",{value:!0}),T.CharSizeService=void 0;var P=R(2585),D=R(8460),M=function(){function _(g,k,N){this._optionsService=N,this.width=0,this.height=0,this._onCharSizeChange=new D.EventEmitter,this._measureStrategy=new A(g,k,this._optionsService)}return Object.defineProperty(_.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),_.prototype.measure=function(){var g=this._measureStrategy.measure();g.width===this.width&&g.height===this.height||(this.width=g.width,this.height=g.height,this._onCharSizeChange.fire())},C([v(2,P.IOptionsService)],_)}();T.CharSizeService=M;var A=function(){function _(g,k,N){this._document=g,this._parentElement=k,this._optionsService=N,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return _.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var g=this._measureElement.getBoundingClientRect();return 0!==g.width&&0!==g.height&&(this._result.width=g.width,this._result.height=Math.ceil(g.height)),this._result},_}()},4269:function(Z,T,R){var C,v=this&&this.__extends||(C=function(x,S){return(C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(O,L){O.__proto__=L}||function(O,L){for(var j in L)Object.prototype.hasOwnProperty.call(L,j)&&(O[j]=L[j])})(x,S)},function(E,x){if("function"!=typeof x&&null!==x)throw new TypeError("Class extends value "+String(x)+" is not a constructor or null");function S(){this.constructor=E}C(E,x),E.prototype=null===x?Object.create(x):(S.prototype=x.prototype,new S)}),P=this&&this.__decorate||function(E,x,S,O){var L,j=arguments.length,K=j<3?x:null===O?O=Object.getOwnPropertyDescriptor(x,S):O;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)K=Reflect.decorate(E,x,S,O);else for(var z=E.length-1;z>=0;z--)(L=E[z])&&(K=(j<3?L(K):j>3?L(x,S,K):L(x,S))||K);return j>3&&K&&Object.defineProperty(x,S,K),K},D=this&&this.__param||function(E,x){return function(S,O){x(S,O,E)}};Object.defineProperty(T,"__esModule",{value:!0}),T.CharacterJoinerService=T.JoinedCellData=void 0;var M=R(3734),A=R(643),_=R(511),g=R(2585),k=function(E){function x(S,O,L){var j=E.call(this)||this;return j.content=0,j.combinedData="",j.fg=S.fg,j.bg=S.bg,j.combinedData=O,j._width=L,j}return v(x,E),x.prototype.isCombined=function(){return 2097152},x.prototype.getWidth=function(){return this._width},x.prototype.getChars=function(){return this.combinedData},x.prototype.getCode=function(){return 2097151},x.prototype.setFromCharData=function(S){throw new Error("not implemented")},x.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},x}(M.AttributeData);T.JoinedCellData=k;var N=function(){function E(x){this._bufferService=x,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new _.CellData}return E.prototype.register=function(x){var S={id:this._nextCharacterJoinerId++,handler:x};return this._characterJoiners.push(S),S.id},E.prototype.deregister=function(x){for(var S=0;S<this._characterJoiners.length;S++)if(this._characterJoiners[S].id===x)return this._characterJoiners.splice(S,1),!0;return!1},E.prototype.getJoinedCharacters=function(x){if(0===this._characterJoiners.length)return[];var S=this._bufferService.buffer.lines.get(x);if(!S||0===S.length)return[];for(var O=[],L=S.translateToString(!0),j=0,K=0,z=0,J=S.getFg(0),ie=S.getBg(0),te=0;te<S.getTrimmedLength();te++)if(S.loadCell(te,this._workCell),0!==this._workCell.getWidth()){if(this._workCell.fg!==J||this._workCell.bg!==ie){if(te-j>1)for(var ae=this._getJoinedRanges(L,z,K,S,j),se=0;se<ae.length;se++)O.push(ae[se]);j=te,z=K,J=this._workCell.fg,ie=this._workCell.bg}K+=this._workCell.getChars().length||A.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-j>1)for(ae=this._getJoinedRanges(L,z,K,S,j),se=0;se<ae.length;se++)O.push(ae[se]);return O},E.prototype._getJoinedRanges=function(x,S,O,L,j){for(var K=x.substring(S,O),z=this._characterJoiners[0].handler(K),J=1;J<this._characterJoiners.length;J++)for(var ie=this._characterJoiners[J].handler(K),te=0;te<ie.length;te++)E._mergeRanges(z,ie[te]);return this._stringRangesToCellRanges(z,L,j),z},E.prototype._stringRangesToCellRanges=function(x,S,O){var L=0,j=!1,K=0,z=x[L];if(z){for(var J=O;J<this._bufferService.cols;J++){var ie=S.getWidth(J),te=S.getString(J).length||A.WHITESPACE_CELL_CHAR.length;if(0!==ie){if(!j&&z[0]<=K&&(z[0]=J,j=!0),z[1]<=K){if(z[1]=J,!(z=x[++L]))break;z[0]<=K?(z[0]=J,j=!0):j=!1}K+=te}}z&&(z[1]=this._bufferService.cols)}},E._mergeRanges=function(x,S){for(var O=!1,L=0;L<x.length;L++){var j=x[L];if(O){if(S[1]<=j[0])return x[L-1][1]=S[1],x;if(S[1]<=j[1])return x[L-1][1]=Math.max(S[1],j[1]),x.splice(L,1),x;x.splice(L,1),L--}else{if(S[1]<=j[0])return x.splice(L,0,S),x;if(S[1]<=j[1])return j[0]=Math.min(S[0],j[0]),x;S[0]<j[1]&&(j[0]=Math.min(S[0],j[0]),O=!0)}}return O?x[x.length-1][1]=S[1]:x.push(S),x},E=P([D(0,g.IBufferService)],E)}();T.CharacterJoinerService=N},5114:function(Z,T){Object.defineProperty(T,"__esModule",{value:!0}),T.CoreBrowserService=void 0;var R=function(){function C(v){this._textarea=v}return Object.defineProperty(C.prototype,"isFocused",{get:function(){return(this._textarea.getRootNode?this._textarea.getRootNode():document).activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),C}();T.CoreBrowserService=R},8934:function(Z,T,R){var C=this&&this.__decorate||function(A,_,g,k){var N,E=arguments.length,x=E<3?_:null===k?k=Object.getOwnPropertyDescriptor(_,g):k;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)x=Reflect.decorate(A,_,g,k);else for(var S=A.length-1;S>=0;S--)(N=A[S])&&(x=(E<3?N(x):E>3?N(_,g,x):N(_,g))||x);return E>3&&x&&Object.defineProperty(_,g,x),x},v=this&&this.__param||function(A,_){return function(g,k){_(g,k,A)}};Object.defineProperty(T,"__esModule",{value:!0}),T.MouseService=void 0;var P=R(4725),D=R(9806),M=function(){function A(_,g){this._renderService=_,this._charSizeService=g}return A.prototype.getCoords=function(_,g,k,N,E){return D.getCoords(_,g,k,N,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,E)},A.prototype.getRawByteCoords=function(_,g,k,N){var E=this.getCoords(_,g,k,N);return D.getRawByteCoords(E)},C([v(0,P.IRenderService),v(1,P.ICharSizeService)],A)}();T.MouseService=M},3230:function(Z,T,R){var C,v=this&&this.__extends||(C=function(O,L){return(C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(j,K){j.__proto__=K}||function(j,K){for(var z in K)Object.prototype.hasOwnProperty.call(K,z)&&(j[z]=K[z])})(O,L)},function(S,O){if("function"!=typeof O&&null!==O)throw new TypeError("Class extends value "+String(O)+" is not a constructor or null");function L(){this.constructor=S}C(S,O),S.prototype=null===O?Object.create(O):(L.prototype=O.prototype,new L)}),P=this&&this.__decorate||function(S,O,L,j){var K,z=arguments.length,J=z<3?O:null===j?j=Object.getOwnPropertyDescriptor(O,L):j;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)J=Reflect.decorate(S,O,L,j);else for(var ie=S.length-1;ie>=0;ie--)(K=S[ie])&&(J=(z<3?K(J):z>3?K(O,L,J):K(O,L))||J);return z>3&&J&&Object.defineProperty(O,L,J),J},D=this&&this.__param||function(S,O){return function(L,j){O(L,j,S)}};Object.defineProperty(T,"__esModule",{value:!0}),T.RenderService=void 0;var M=R(6193),A=R(8460),_=R(844),g=R(5596),k=R(3656),N=R(2585),E=R(4725),x=function(S){function O(L,j,K,z,J,ie){var te=S.call(this)||this;if(te._renderer=L,te._rowCount=j,te._charSizeService=J,te._isPaused=!1,te._needsFullRefresh=!1,te._isNextRenderRedrawOnly=!0,te._needsSelectionRefresh=!1,te._canvasWidth=0,te._canvasHeight=0,te._selectionState={start:void 0,end:void 0,columnSelectMode:!1},te._onDimensionsChange=new A.EventEmitter,te._onRender=new A.EventEmitter,te._onRefreshRequest=new A.EventEmitter,te.register({dispose:function(){return te._renderer.dispose()}}),te._renderDebouncer=new M.RenderDebouncer(function(se,ce){return te._renderRows(se,ce)}),te.register(te._renderDebouncer),te._screenDprMonitor=new g.ScreenDprMonitor,te._screenDprMonitor.setListener(function(){return te.onDevicePixelRatioChange()}),te.register(te._screenDprMonitor),te.register(ie.onResize(function(se){return te._fullRefresh()})),te.register(z.onOptionChange(function(){return te._renderer.onOptionsChanged()})),te.register(te._charSizeService.onCharSizeChange(function(){return te.onCharSizeChanged()})),te._renderer.onRequestRedraw(function(se){return te.refreshRows(se.start,se.end,!0)}),te.register(k.addDisposableDomListener(window,"resize",function(){return te.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var ae=new IntersectionObserver(function(se){return te._onIntersectionChange(se[se.length-1])},{threshold:0});ae.observe(K),te.register({dispose:function(){return ae.disconnect()}})}return te}return v(O,S),Object.defineProperty(O.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),O.prototype._onIntersectionChange=function(L){this._isPaused=void 0===L.isIntersecting?0===L.intersectionRatio:!L.isIntersecting,this._isPaused||this._charSizeService.hasValidSize||this._charSizeService.measure(),!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},O.prototype.refreshRows=function(L,j,K){void 0===K&&(K=!1),this._isPaused?this._needsFullRefresh=!0:(K||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(L,j,this._rowCount))},O.prototype._renderRows=function(L,j){this._renderer.renderRows(L,j),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRender.fire({start:L,end:j}),this._isNextRenderRedrawOnly=!0},O.prototype.resize=function(L,j){this._rowCount=j,this._fireOnCanvasResize()},O.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},O.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},O.prototype.dispose=function(){S.prototype.dispose.call(this)},O.prototype.setRenderer=function(L){var j=this;this._renderer.dispose(),this._renderer=L,this._renderer.onRequestRedraw(function(K){return j.refreshRows(K.start,K.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},O.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},O.prototype.setColors=function(L){this._renderer.setColors(L),this._fullRefresh()},O.prototype.onDevicePixelRatioChange=function(){this._charSizeService.measure(),this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},O.prototype.onResize=function(L,j){this._renderer.onResize(L,j),this._fullRefresh()},O.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},O.prototype.onBlur=function(){this._renderer.onBlur()},O.prototype.onFocus=function(){this._renderer.onFocus()},O.prototype.onSelectionChanged=function(L,j,K){this._selectionState.start=L,this._selectionState.end=j,this._selectionState.columnSelectMode=K,this._renderer.onSelectionChanged(L,j,K)},O.prototype.onCursorMove=function(){this._renderer.onCursorMove()},O.prototype.clear=function(){this._renderer.clear()},P([D(3,N.IOptionsService),D(4,E.ICharSizeService),D(5,N.IBufferService)],O)}(_.Disposable);T.RenderService=x},9312:function(Z,T,R){var C,v=this&&this.__extends||(C=function(J,ie){return(C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(te,ae){te.__proto__=ae}||function(te,ae){for(var se in ae)Object.prototype.hasOwnProperty.call(ae,se)&&(te[se]=ae[se])})(J,ie)},function(z,J){if("function"!=typeof J&&null!==J)throw new TypeError("Class extends value "+String(J)+" is not a constructor or null");function ie(){this.constructor=z}C(z,J),z.prototype=null===J?Object.create(J):(ie.prototype=J.prototype,new ie)}),P=this&&this.__decorate||function(z,J,ie,te){var ae,se=arguments.length,ce=se<3?J:null===te?te=Object.getOwnPropertyDescriptor(J,ie):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ce=Reflect.decorate(z,J,ie,te);else for(var le=z.length-1;le>=0;le--)(ae=z[le])&&(ce=(se<3?ae(ce):se>3?ae(J,ie,ce):ae(J,ie))||ce);return se>3&&ce&&Object.defineProperty(J,ie,ce),ce},D=this&&this.__param||function(z,J){return function(ie,te){J(ie,te,z)}};Object.defineProperty(T,"__esModule",{value:!0}),T.SelectionService=void 0;var M=R(6114),A=R(456),_=R(511),g=R(8460),k=R(4725),N=R(2585),E=R(9806),x=R(9504),S=R(844),O=R(4841),L=String.fromCharCode(160),j=new RegExp(L,"g"),K=function(z){function J(ie,te,ae,se,ce,le,oe,Ae){var be=z.call(this)||this;return be._element=ie,be._screenElement=te,be._linkifier=ae,be._bufferService=se,be._coreService=ce,be._mouseService=le,be._optionsService=oe,be._renderService=Ae,be._dragScrollAmount=0,be._enabled=!0,be._workCell=new _.CellData,be._mouseDownTimeStamp=0,be._oldHasSelection=!1,be._oldSelectionStart=void 0,be._oldSelectionEnd=void 0,be._onLinuxMouseSelection=be.register(new g.EventEmitter),be._onRedrawRequest=be.register(new g.EventEmitter),be._onSelectionChange=be.register(new g.EventEmitter),be._onRequestScrollLines=be.register(new g.EventEmitter),be._mouseMoveListener=function(it){return be._onMouseMove(it)},be._mouseUpListener=function(it){return be._onMouseUp(it)},be._coreService.onUserInput(function(){be.hasSelection&&be.clearSelection()}),be._trimListener=be._bufferService.buffer.lines.onTrim(function(it){return be._onTrim(it)}),be.register(be._bufferService.buffers.onBufferActivate(function(it){return be._onBufferActivate(it)})),be.enable(),be._model=new A.SelectionModel(be._bufferService),be._activeSelectionMode=0,be}return v(J,z),Object.defineProperty(J.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(J.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(J.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(J.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),J.prototype.dispose=function(){this._removeMouseDownListeners()},J.prototype.reset=function(){this.clearSelection()},J.prototype.disable=function(){this.clearSelection(),this._enabled=!1},J.prototype.enable=function(){this._enabled=!0},Object.defineProperty(J.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(J.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(J.prototype,"hasSelection",{get:function(){var te=this._model.finalSelectionStart,ae=this._model.finalSelectionEnd;return!(!te||!ae||te[0]===ae[0]&&te[1]===ae[1])},enumerable:!1,configurable:!0}),Object.defineProperty(J.prototype,"selectionText",{get:function(){var te=this._model.finalSelectionStart,ae=this._model.finalSelectionEnd;if(!te||!ae)return"";var se=this._bufferService.buffer,ce=[];if(3===this._activeSelectionMode){if(te[0]===ae[0])return"";for(var le=te[1];le<=ae[1];le++){var oe=se.translateBufferLineToString(le,!0,te[0],ae[0]);ce.push(oe)}}else{for(ce.push(se.translateBufferLineToString(te[1],!0,te[0],te[1]===ae[1]?ae[0]:void 0)),le=te[1]+1;le<=ae[1]-1;le++){var be=se.lines.get(le);oe=se.translateBufferLineToString(le,!0),be&&be.isWrapped?ce[ce.length-1]+=oe:ce.push(oe)}te[1]!==ae[1]&&(be=se.lines.get(ae[1]),oe=se.translateBufferLineToString(ae[1],!0,0,ae[0]),be&&be.isWrapped?ce[ce.length-1]+=oe:ce.push(oe))}return ce.map(function(it){return it.replace(j," ")}).join(M.isWindows?"\r\n":"\n")},enumerable:!1,configurable:!0}),J.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},J.prototype.refresh=function(ie){var te=this;this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return te._refresh()})),M.isLinux&&ie&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},J.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:3===this._activeSelectionMode})},J.prototype._isClickInSelection=function(ie){var te=this._getMouseBufferCoords(ie),ae=this._model.finalSelectionStart,se=this._model.finalSelectionEnd;return!!(ae&&se&&te)&&this._areCoordsInSelection(te,ae,se)},J.prototype._areCoordsInSelection=function(ie,te,ae){return ie[1]>te[1]&&ie[1]<ae[1]||te[1]===ae[1]&&ie[1]===te[1]&&ie[0]>=te[0]&&ie[0]<ae[0]||te[1]<ae[1]&&ie[1]===ae[1]&&ie[0]<ae[0]||te[1]<ae[1]&&ie[1]===te[1]&&ie[0]>=te[0]},J.prototype._selectWordAtCursor=function(ie,te){var ae,se,ce=null===(se=null===(ae=this._linkifier.currentLink)||void 0===ae?void 0:ae.link)||void 0===se?void 0:se.range;if(ce)return this._model.selectionStart=[ce.start.x-1,ce.start.y-1],this._model.selectionStartLength=O.getRangeLength(ce,this._bufferService.cols),this._model.selectionEnd=void 0,!0;var le=this._getMouseBufferCoords(ie);return!!le&&(this._selectWordAt(le,te),this._model.selectionEnd=void 0,!0)},J.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},J.prototype.selectLines=function(ie,te){this._model.clearSelection(),ie=Math.max(ie,0),te=Math.min(te,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,ie],this._model.selectionEnd=[this._bufferService.cols,te],this.refresh(),this._onSelectionChange.fire()},J.prototype._onTrim=function(ie){this._model.onTrim(ie)&&this.refresh()},J.prototype._getMouseBufferCoords=function(ie){var te=this._mouseService.getCoords(ie,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(te)return te[0]--,te[1]--,te[1]+=this._bufferService.buffer.ydisp,te},J.prototype._getMouseEventScrollAmount=function(ie){var te=E.getCoordsRelativeToElement(ie,this._screenElement)[1],ae=this._renderService.dimensions.canvasHeight;return te>=0&&te<=ae?0:(te>ae&&(te-=ae),te=Math.min(Math.max(te,-50),50),(te/=50)/Math.abs(te)+Math.round(14*te))},J.prototype.shouldForceSelection=function(ie){return M.isMac?ie.altKey&&this._optionsService.options.macOptionClickForcesSelection:ie.shiftKey},J.prototype.onMouseDown=function(ie){if(this._mouseDownTimeStamp=ie.timeStamp,(2!==ie.button||!this.hasSelection)&&0===ie.button){if(!this._enabled){if(!this.shouldForceSelection(ie))return;ie.stopPropagation()}ie.preventDefault(),this._dragScrollAmount=0,this._enabled&&ie.shiftKey?this._onIncrementalClick(ie):1===ie.detail?this._onSingleClick(ie):2===ie.detail?this._onDoubleClick(ie):3===ie.detail&&this._onTripleClick(ie),this._addMouseDownListeners(),this.refresh(!0)}},J.prototype._addMouseDownListeners=function(){var ie=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return ie._dragScroll()},50)},J.prototype._removeMouseDownListeners=function(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0},J.prototype._onIncrementalClick=function(ie){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(ie))},J.prototype._onSingleClick=function(ie){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(ie)?3:0,this._model.selectionStart=this._getMouseBufferCoords(ie),this._model.selectionStart){this._model.selectionEnd=void 0;var te=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);te&&te.length!==this._model.selectionStart[0]&&0===te.hasWidth(this._model.selectionStart[0])&&this._model.selectionStart[0]++}},J.prototype._onDoubleClick=function(ie){this._selectWordAtCursor(ie,!0)&&(this._activeSelectionMode=1)},J.prototype._onTripleClick=function(ie){var te=this._getMouseBufferCoords(ie);te&&(this._activeSelectionMode=2,this._selectLineAt(te[1]))},J.prototype.shouldColumnSelect=function(ie){return ie.altKey&&!(M.isMac&&this._optionsService.options.macOptionClickForcesSelection)},J.prototype._onMouseMove=function(ie){if(ie.stopImmediatePropagation(),this._model.selectionStart){var te=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(ie),this._model.selectionEnd){2===this._activeSelectionMode?this._model.selectionEnd[0]=this._model.selectionEnd[1]<this._model.selectionStart[1]?0:this._bufferService.cols:1===this._activeSelectionMode&&this._selectToWordAt(this._model.selectionEnd),this._dragScrollAmount=this._getMouseEventScrollAmount(ie),3!==this._activeSelectionMode&&(this._dragScrollAmount>0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var ae=this._bufferService.buffer;if(this._model.selectionEnd[1]<ae.lines.length){var se=ae.lines.get(this._model.selectionEnd[1]);se&&0===se.hasWidth(this._model.selectionEnd[0])&&this._model.selectionEnd[0]++}te&&te[0]===this._model.selectionEnd[0]&&te[1]===this._model.selectionEnd[1]||this.refresh(!0)}else this.refresh(!0)}},J.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});var ie=this._bufferService.buffer;this._dragScrollAmount>0?(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(ie.ydisp+this._bufferService.rows,ie.lines.length-1)):(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=ie.ydisp),this.refresh()}},J.prototype._onMouseUp=function(ie){var te=ie.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&te<500&&ie.altKey&&this._optionsService.getOption("altClickMovesCursor")){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var ae=this._mouseService.getCoords(ie,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(ae&&void 0!==ae[0]&&void 0!==ae[1]){var se=x.moveToCellSequence(ae[0]-1,ae[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(se,!0)}}}else this._fireEventIfSelectionChanged()},J.prototype._fireEventIfSelectionChanged=function(){var ie=this._model.finalSelectionStart,te=this._model.finalSelectionEnd,ae=!(!ie||!te||ie[0]===te[0]&&ie[1]===te[1]);ae?ie&&te&&(this._oldSelectionStart&&this._oldSelectionEnd&&ie[0]===this._oldSelectionStart[0]&&ie[1]===this._oldSelectionStart[1]&&te[0]===this._oldSelectionEnd[0]&&te[1]===this._oldSelectionEnd[1]||this._fireOnSelectionChange(ie,te,ae)):this._oldHasSelection&&this._fireOnSelectionChange(ie,te,ae)},J.prototype._fireOnSelectionChange=function(ie,te,ae){this._oldSelectionStart=ie,this._oldSelectionEnd=te,this._oldHasSelection=ae,this._onSelectionChange.fire()},J.prototype._onBufferActivate=function(ie){var te=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=ie.activeBuffer.lines.onTrim(function(ae){return te._onTrim(ae)})},J.prototype._convertViewportColToCharacterIndex=function(ie,te){for(var ae=te[0],se=0;te[0]>=se;se++){var ce=ie.loadCell(se,this._workCell).getChars().length;0===this._workCell.getWidth()?ae--:ce>1&&te[0]!==se&&(ae+=ce-1)}return ae},J.prototype.setSelection=function(ie,te,ae){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[ie,te],this._model.selectionStartLength=ae,this.refresh()},J.prototype.rightClickSelect=function(ie){this._isClickInSelection(ie)||(this._selectWordAtCursor(ie,!1)&&this.refresh(!0),this._fireEventIfSelectionChanged())},J.prototype._getWordAt=function(ie,te,ae,se){if(void 0===ae&&(ae=!0),void 0===se&&(se=!0),!(ie[0]>=this._bufferService.cols)){var ce=this._bufferService.buffer,le=ce.lines.get(ie[1]);if(le){var oe=ce.translateBufferLineToString(ie[1],!1),Ae=this._convertViewportColToCharacterIndex(le,ie),be=Ae,it=ie[0]-Ae,qe=0,_t=0,yt=0,Ft=0;if(" "===oe.charAt(Ae)){for(;Ae>0&&" "===oe.charAt(Ae-1);)Ae--;for(;be<oe.length&&" "===oe.charAt(be+1);)be++}else{var xe=ie[0],Oe=ie[0];0===le.getWidth(xe)&&(qe++,xe--),2===le.getWidth(Oe)&&(_t++,Oe++);var je=le.getString(Oe).length;for(je>1&&(Ft+=je-1,be+=je-1);xe>0&&Ae>0&&!this._isCharWordSeparator(le.loadCell(xe-1,this._workCell));){le.loadCell(xe-1,this._workCell);var dt=this._workCell.getChars().length;0===this._workCell.getWidth()?(qe++,xe--):dt>1&&(yt+=dt-1,Ae-=dt-1),Ae--,xe--}for(;Oe<le.length&&be+1<oe.length&&!this._isCharWordSeparator(le.loadCell(Oe+1,this._workCell));){le.loadCell(Oe+1,this._workCell);var Qe=this._workCell.getChars().length;2===this._workCell.getWidth()?(_t++,Oe++):Qe>1&&(Ft+=Qe-1,be+=Qe-1),be++,Oe++}}be++;var Bt=Ae+it-qe+yt,xt=Math.min(this._bufferService.cols,be-Ae+qe+_t-yt-Ft);if(te||""!==oe.slice(Ae,be).trim()){if(ae&&0===Bt&&32!==le.getCodePoint(0)){var vt=ce.lines.get(ie[1]-1);if(vt&&le.isWrapped&&32!==vt.getCodePoint(this._bufferService.cols-1)){var Qt=this._getWordAt([this._bufferService.cols-1,ie[1]-1],!1,!0,!1);if(Qt){var Ht=this._bufferService.cols-Qt.start;Bt-=Ht,xt+=Ht}}}if(se&&Bt+xt===this._bufferService.cols&&32!==le.getCodePoint(this._bufferService.cols-1)){var Ct=ce.lines.get(ie[1]+1);if(Ct&&Ct.isWrapped&&32!==Ct.getCodePoint(0)){var Vt=this._getWordAt([0,ie[1]+1],!1,!1,!0);Vt&&(xt+=Vt.length)}}return{start:Bt,length:xt}}}}},J.prototype._selectWordAt=function(ie,te){var ae=this._getWordAt(ie,te);if(ae){for(;ae.start<0;)ae.start+=this._bufferService.cols,ie[1]--;this._model.selectionStart=[ae.start,ie[1]],this._model.selectionStartLength=ae.length}},J.prototype._selectToWordAt=function(ie){var te=this._getWordAt(ie,!0);if(te){for(var ae=ie[1];te.start<0;)te.start+=this._bufferService.cols,ae--;if(!this._model.areSelectionValuesReversed())for(;te.start+te.length>this._bufferService.cols;)te.length-=this._bufferService.cols,ae++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?te.start:te.start+te.length,ae]}},J.prototype._isCharWordSeparator=function(ie){return 0!==ie.getWidth()&&this._optionsService.options.wordSeparator.indexOf(ie.getChars())>=0},J.prototype._selectLineAt=function(ie){var te=this._bufferService.buffer.getWrappedRangeForLine(ie);this._model.selectionStart=[0,te.first],this._model.selectionEnd=[this._bufferService.cols,te.last],this._model.selectionStartLength=0},P([D(3,N.IBufferService),D(4,N.ICoreService),D(5,k.IMouseService),D(6,N.IOptionsService),D(7,k.IRenderService)],J)}(S.Disposable);T.SelectionService=K},4725:function(Z,T,R){Object.defineProperty(T,"__esModule",{value:!0}),T.ICharacterJoinerService=T.ISoundService=T.ISelectionService=T.IRenderService=T.IMouseService=T.ICoreBrowserService=T.ICharSizeService=void 0;var C=R(8343);T.ICharSizeService=C.createDecorator("CharSizeService"),T.ICoreBrowserService=C.createDecorator("CoreBrowserService"),T.IMouseService=C.createDecorator("MouseService"),T.IRenderService=C.createDecorator("RenderService"),T.ISelectionService=C.createDecorator("SelectionService"),T.ISoundService=C.createDecorator("SoundService"),T.ICharacterJoinerService=C.createDecorator("CharacterJoinerService")},357:function(Z,T,R){var C=this&&this.__decorate||function(M,A,_,g){var k,N=arguments.length,E=N<3?A:null===g?g=Object.getOwnPropertyDescriptor(A,_):g;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)E=Reflect.decorate(M,A,_,g);else for(var x=M.length-1;x>=0;x--)(k=M[x])&&(E=(N<3?k(E):N>3?k(A,_,E):k(A,_))||E);return N>3&&E&&Object.defineProperty(A,_,E),E},v=this&&this.__param||function(M,A){return function(_,g){A(_,g,M)}};Object.defineProperty(T,"__esModule",{value:!0}),T.SoundService=void 0;var P=R(2585),D=function(){function M(A){this._optionsService=A}return Object.defineProperty(M,"audioContext",{get:function(){if(!M._audioContext){var _=window.AudioContext||window.webkitAudioContext;if(!_)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;M._audioContext=new _}return M._audioContext},enumerable:!1,configurable:!0}),M.prototype.playBellSound=function(){var A=M.audioContext;if(A){var _=A.createBufferSource();A.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(g){_.buffer=g,_.connect(A.destination),_.start(0)})}},M.prototype._base64ToArrayBuffer=function(A){for(var _=window.atob(A),g=_.length,k=new Uint8Array(g),N=0;N<g;N++)k[N]=_.charCodeAt(N);return k.buffer},M.prototype._removeMimeType=function(A){return A.split(",")[1]},M=C([v(0,P.IOptionsService)],M)}();T.SoundService=D},6349:function(Z,T,R){Object.defineProperty(T,"__esModule",{value:!0}),T.CircularList=void 0;var C=R(8460),v=function(){function P(D){this._maxLength=D,this.onDeleteEmitter=new C.EventEmitter,this.onInsertEmitter=new C.EventEmitter,this.onTrimEmitter=new C.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(P.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"maxLength",{get:function(){return this._maxLength},set:function(M){if(this._maxLength!==M){for(var A=new Array(M),_=0;_<Math.min(M,this.length);_++)A[_]=this._array[this._getCyclicIndex(_)];this._array=A,this._maxLength=M,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"length",{get:function(){return this._length},set:function(M){if(M>this._length)for(var A=this._length;A<M;A++)this._array[A]=void 0;this._length=M},enumerable:!1,configurable:!0}),P.prototype.get=function(D){return this._array[this._getCyclicIndex(D)]},P.prototype.set=function(D,M){this._array[this._getCyclicIndex(D)]=M},P.prototype.push=function(D){this._array[this._getCyclicIndex(this._length)]=D,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1)):this._length++},P.prototype.recycle=function(){if(this._length!==this._maxLength)throw new Error("Can only recycle when the buffer is full");return this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1),this._array[this._getCyclicIndex(this._length-1)]},Object.defineProperty(P.prototype,"isFull",{get:function(){return this._length===this._maxLength},enumerable:!1,configurable:!0}),P.prototype.pop=function(){return this._array[this._getCyclicIndex(this._length---1)]},P.prototype.splice=function(D,M){for(var A=[],_=2;_<arguments.length;_++)A[_-2]=arguments[_];if(M){for(var g=D;g<this._length-M;g++)this._array[this._getCyclicIndex(g)]=this._array[this._getCyclicIndex(g+M)];this._length-=M,this.onDeleteEmitter.fire({index:D,amount:M})}for(g=this._length-1;g>=D;g--)this._array[this._getCyclicIndex(g+A.length)]=this._array[this._getCyclicIndex(g)];for(g=0;g<A.length;g++)this._array[this._getCyclicIndex(D+g)]=A[g];if(A.length&&this.onInsertEmitter.fire({index:D,amount:A.length}),this._length+A.length>this._maxLength){var k=this._length+A.length-this._maxLength;this._startIndex+=k,this._length=this._maxLength,this.onTrimEmitter.fire(k)}else this._length+=A.length},P.prototype.trimStart=function(D){D>this._length&&(D=this._length),this._startIndex+=D,this._length-=D,this.onTrimEmitter.fire(D)},P.prototype.shiftElements=function(D,M,A){if(!(M<=0)){if(D<0||D>=this._length)throw new Error("start argument out of range");if(D+A<0)throw new Error("Cannot shift elements in list beyond index 0");if(A>0){for(var _=M-1;_>=0;_--)this.set(D+_+A,this.get(D+_));var g=D+M+A-this._length;if(g>0)for(this._length+=g;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(_=0;_<M;_++)this.set(D+_+A,this.get(D+_))}},P.prototype._getCyclicIndex=function(D){return(this._startIndex+D)%this._maxLength},P}();T.CircularList=v},1439:function(Z,T){Object.defineProperty(T,"__esModule",{value:!0}),T.clone=void 0,T.clone=function R(C,v){if(void 0===v&&(v=5),"object"!=typeof C)return C;var P=Array.isArray(C)?[]:{};for(var D in C)P[D]=v<=1?C[D]:C[D]&&R(C[D],v-1);return P}},8969:function(Z,T,R){var C,v=this&&this.__extends||(C=function(te,ae){return(C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(se,ce){se.__proto__=ce}||function(se,ce){for(var le in ce)Object.prototype.hasOwnProperty.call(ce,le)&&(se[le]=ce[le])})(te,ae)},function(ie,te){if("function"!=typeof te&&null!==te)throw new TypeError("Class extends value "+String(te)+" is not a constructor or null");function ae(){this.constructor=ie}C(ie,te),ie.prototype=null===te?Object.create(te):(ae.prototype=te.prototype,new ae)});Object.defineProperty(T,"__esModule",{value:!0}),T.CoreTerminal=void 0;var P=R(844),D=R(2585),M=R(4348),A=R(7866),_=R(744),g=R(7302),k=R(6975),N=R(8460),E=R(1753),x=R(3730),S=R(1480),O=R(7994),L=R(9282),j=R(5435),K=R(5981),z=!1,J=function(ie){function te(ae){var se=ie.call(this)||this;return se._onBinary=new N.EventEmitter,se._onData=new N.EventEmitter,se._onLineFeed=new N.EventEmitter,se._onResize=new N.EventEmitter,se._onScroll=new N.EventEmitter,se._instantiationService=new M.InstantiationService,se.optionsService=new g.OptionsService(ae),se._instantiationService.setService(D.IOptionsService,se.optionsService),se._bufferService=se.register(se._instantiationService.createInstance(_.BufferService)),se._instantiationService.setService(D.IBufferService,se._bufferService),se._logService=se._instantiationService.createInstance(A.LogService),se._instantiationService.setService(D.ILogService,se._logService),se.coreService=se.register(se._instantiationService.createInstance(k.CoreService,function(){return se.scrollToBottom()})),se._instantiationService.setService(D.ICoreService,se.coreService),se.coreMouseService=se._instantiationService.createInstance(E.CoreMouseService),se._instantiationService.setService(D.ICoreMouseService,se.coreMouseService),se._dirtyRowService=se._instantiationService.createInstance(x.DirtyRowService),se._instantiationService.setService(D.IDirtyRowService,se._dirtyRowService),se.unicodeService=se._instantiationService.createInstance(S.UnicodeService),se._instantiationService.setService(D.IUnicodeService,se.unicodeService),se._charsetService=se._instantiationService.createInstance(O.CharsetService),se._instantiationService.setService(D.ICharsetService,se._charsetService),se._inputHandler=new j.InputHandler(se._bufferService,se._charsetService,se.coreService,se._dirtyRowService,se._logService,se.optionsService,se.coreMouseService,se.unicodeService),se.register(N.forwardEvent(se._inputHandler.onLineFeed,se._onLineFeed)),se.register(se._inputHandler),se.register(N.forwardEvent(se._bufferService.onResize,se._onResize)),se.register(N.forwardEvent(se.coreService.onData,se._onData)),se.register(N.forwardEvent(se.coreService.onBinary,se._onBinary)),se.register(se.optionsService.onOptionChange(function(ce){return se._updateOptions(ce)})),se.register(se._bufferService.onScroll(function(ce){se._onScroll.fire({position:se._bufferService.buffer.ydisp,source:0}),se._dirtyRowService.markRangeDirty(se._bufferService.buffer.scrollTop,se._bufferService.buffer.scrollBottom)})),se.register(se._inputHandler.onScroll(function(ce){se._onScroll.fire({position:se._bufferService.buffer.ydisp,source:0}),se._dirtyRowService.markRangeDirty(se._bufferService.buffer.scrollTop,se._bufferService.buffer.scrollBottom)})),se._writeBuffer=new K.WriteBuffer(function(ce,le){return se._inputHandler.parse(ce,le)}),se}return v(te,ie),Object.defineProperty(te.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"onScroll",{get:function(){var se=this;return this._onScrollApi||(this._onScrollApi=new N.EventEmitter,this.register(this._onScroll.event(function(ce){var le;null===(le=se._onScrollApi)||void 0===le||le.fire(ce.position)}))),this._onScrollApi.event},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),te.prototype.dispose=function(){var ae;this._isDisposed||(ie.prototype.dispose.call(this),null===(ae=this._windowsMode)||void 0===ae||ae.dispose(),this._windowsMode=void 0)},te.prototype.write=function(ae,se){this._writeBuffer.write(ae,se)},te.prototype.writeSync=function(ae,se){this._logService.logLevel<=D.LogLevelEnum.WARN&&!z&&(this._logService.warn("writeSync is unreliable and will be removed soon."),z=!0),this._writeBuffer.writeSync(ae,se)},te.prototype.resize=function(ae,se){isNaN(ae)||isNaN(se)||(ae=Math.max(ae,_.MINIMUM_COLS),se=Math.max(se,_.MINIMUM_ROWS),this._bufferService.resize(ae,se))},te.prototype.scroll=function(ae,se){void 0===se&&(se=!1),this._bufferService.scroll(ae,se)},te.prototype.scrollLines=function(ae,se,ce){this._bufferService.scrollLines(ae,se,ce)},te.prototype.scrollPages=function(ae){this._bufferService.scrollPages(ae)},te.prototype.scrollToTop=function(){this._bufferService.scrollToTop()},te.prototype.scrollToBottom=function(){this._bufferService.scrollToBottom()},te.prototype.scrollToLine=function(ae){this._bufferService.scrollToLine(ae)},te.prototype.registerEscHandler=function(ae,se){return this._inputHandler.registerEscHandler(ae,se)},te.prototype.registerDcsHandler=function(ae,se){return this._inputHandler.registerDcsHandler(ae,se)},te.prototype.registerCsiHandler=function(ae,se){return this._inputHandler.registerCsiHandler(ae,se)},te.prototype.registerOscHandler=function(ae,se){return this._inputHandler.registerOscHandler(ae,se)},te.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},te.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this.coreService.reset(),this.coreMouseService.reset()},te.prototype._updateOptions=function(ae){var se;switch(ae){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():(null===(se=this._windowsMode)||void 0===se||se.dispose(),this._windowsMode=void 0)}},te.prototype._enableWindowsMode=function(){var ae=this;if(!this._windowsMode){var se=[];se.push(this.onLineFeed(L.updateWindowsModeWrappedState.bind(null,this._bufferService))),se.push(this.registerCsiHandler({final:"H"},function(){return L.updateWindowsModeWrappedState(ae._bufferService),!1})),this._windowsMode={dispose:function(){for(var le=0,oe=se;le<oe.length;le++)oe[le].dispose()}}}},te}(P.Disposable);T.CoreTerminal=J},8460:function(Z,T){Object.defineProperty(T,"__esModule",{value:!0}),T.forwardEvent=T.EventEmitter=void 0;var R=function(){function C(){this._listeners=[],this._disposed=!1}return Object.defineProperty(C.prototype,"event",{get:function(){var P=this;return this._event||(this._event=function(D){return P._listeners.push(D),{dispose:function(){if(!P._disposed)for(var A=0;A<P._listeners.length;A++)if(P._listeners[A]===D)return void P._listeners.splice(A,1)}}}),this._event},enumerable:!1,configurable:!0}),C.prototype.fire=function(v,P){for(var D=[],M=0;M<this._listeners.length;M++)D.push(this._listeners[M]);for(M=0;M<D.length;M++)D[M].call(void 0,v,P)},C.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},C}();T.EventEmitter=R,T.forwardEvent=function(C,v){return C(function(P){return v.fire(P)})}},5435:function(Z,T,R){var C,v=this&&this.__extends||(C=function(ce,le){return(C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(oe,Ae){oe.__proto__=Ae}||function(oe,Ae){for(var be in Ae)Object.prototype.hasOwnProperty.call(Ae,be)&&(oe[be]=Ae[be])})(ce,le)},function(se,ce){if("function"!=typeof ce&&null!==ce)throw new TypeError("Class extends value "+String(ce)+" is not a constructor or null");function le(){this.constructor=se}C(se,ce),se.prototype=null===ce?Object.create(ce):(le.prototype=ce.prototype,new le)});Object.defineProperty(T,"__esModule",{value:!0}),T.InputHandler=T.WindowsOptionsReportType=void 0;var P,se,D=R(2584),M=R(7116),A=R(2015),_=R(844),g=R(8273),k=R(482),N=R(8437),E=R(8460),x=R(643),S=R(511),O=R(3734),L=R(2585),j=R(6242),K=R(6351),z={"(":0,")":1,"*":2,"+":3,"-":1,".":2},J=131072;function ie(se,ce){if(se>24)return ce.setWinLines||!1;switch(se){case 1:return!!ce.restoreWin;case 2:return!!ce.minimizeWin;case 3:return!!ce.setWinPosition;case 4:return!!ce.setWinSizePixels;case 5:return!!ce.raiseWin;case 6:return!!ce.lowerWin;case 7:return!!ce.refreshWin;case 8:return!!ce.setWinSizeChars;case 9:return!!ce.maximizeWin;case 10:return!!ce.fullscreenWin;case 11:return!!ce.getWinState;case 13:return!!ce.getWinPosition;case 14:return!!ce.getWinSizePixels;case 15:return!!ce.getScreenSizePixels;case 16:return!!ce.getCellSizePixels;case 18:return!!ce.getWinSizeChars;case 19:return!!ce.getScreenSizeChars;case 20:return!!ce.getIconTitle;case 21:return!!ce.getWinTitle;case 22:return!!ce.pushTitle;case 23:return!!ce.popTitle;case 24:return!!ce.setWinLines}return!1}(se=P=T.WindowsOptionsReportType||(T.WindowsOptionsReportType={}))[se.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",se[se.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS";var te=function(){function se(ce,le,oe,Ae){this._bufferService=ce,this._coreService=le,this._logService=oe,this._optionsService=Ae,this._data=new Uint32Array(0)}return se.prototype.hook=function(ce){this._data=new Uint32Array(0)},se.prototype.put=function(ce,le,oe){this._data=g.concat(this._data,ce.subarray(le,oe))},se.prototype.unhook=function(ce){if(!ce)return this._data=new Uint32Array(0),!0;var le=k.utf32ToString(this._data);switch(this._data=new Uint32Array(0),le){case'"q':this._coreService.triggerDataEvent(D.C0.ESC+'P1$r0"q'+D.C0.ESC+"\\");break;case'"p':this._coreService.triggerDataEvent(D.C0.ESC+'P1$r61;1"p'+D.C0.ESC+"\\");break;case"r":this._coreService.triggerDataEvent(D.C0.ESC+"P1$r"+(this._bufferService.buffer.scrollTop+1)+";"+(this._bufferService.buffer.scrollBottom+1)+"r"+D.C0.ESC+"\\");break;case"m":this._coreService.triggerDataEvent(D.C0.ESC+"P1$r0m"+D.C0.ESC+"\\");break;case" q":var Ae={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];this._coreService.triggerDataEvent(D.C0.ESC+"P1$r"+(Ae-=this._optionsService.options.cursorBlink?1:0)+" q"+D.C0.ESC+"\\");break;default:this._logService.debug("Unknown DCS $q %s",le),this._coreService.triggerDataEvent(D.C0.ESC+"P0$r"+D.C0.ESC+"\\")}return!0},se}(),ae=function(se){function ce(le,oe,Ae,be,it,qe,_t,yt,Ft){void 0===Ft&&(Ft=new A.EscapeSequenceParser);var xe=se.call(this)||this;xe._bufferService=le,xe._charsetService=oe,xe._coreService=Ae,xe._dirtyRowService=be,xe._logService=it,xe._optionsService=qe,xe._coreMouseService=_t,xe._unicodeService=yt,xe._parser=Ft,xe._parseBuffer=new Uint32Array(4096),xe._stringDecoder=new k.StringToUtf32,xe._utf8Decoder=new k.Utf8ToUtf32,xe._workCell=new S.CellData,xe._windowTitle="",xe._iconName="",xe._windowTitleStack=[],xe._iconNameStack=[],xe._curAttrData=N.DEFAULT_ATTR_DATA.clone(),xe._eraseAttrDataInternal=N.DEFAULT_ATTR_DATA.clone(),xe._onRequestBell=new E.EventEmitter,xe._onRequestRefreshRows=new E.EventEmitter,xe._onRequestReset=new E.EventEmitter,xe._onRequestSyncScrollBar=new E.EventEmitter,xe._onRequestWindowsOptionsReport=new E.EventEmitter,xe._onA11yChar=new E.EventEmitter,xe._onA11yTab=new E.EventEmitter,xe._onCursorMove=new E.EventEmitter,xe._onLineFeed=new E.EventEmitter,xe._onScroll=new E.EventEmitter,xe._onTitleChange=new E.EventEmitter,xe._onAnsiColorChange=new E.EventEmitter,xe._parseStack={paused:!1,cursorStartX:0,cursorStartY:0,decodedLength:0,position:0},xe.register(xe._parser),xe._activeBuffer=xe._bufferService.buffer,xe.register(xe._bufferService.buffers.onBufferActivate(function(Qe){return xe._activeBuffer=Qe.activeBuffer})),xe._parser.setCsiHandlerFallback(function(Qe,Bt){xe._logService.debug("Unknown CSI code: ",{identifier:xe._parser.identToString(Qe),params:Bt.toArray()})}),xe._parser.setEscHandlerFallback(function(Qe){xe._logService.debug("Unknown ESC code: ",{identifier:xe._parser.identToString(Qe)})}),xe._parser.setExecuteHandlerFallback(function(Qe){xe._logService.debug("Unknown EXECUTE code: ",{code:Qe})}),xe._parser.setOscHandlerFallback(function(Qe,Bt,xt){xe._logService.debug("Unknown OSC code: ",{identifier:Qe,action:Bt,data:xt})}),xe._parser.setDcsHandlerFallback(function(Qe,Bt,xt){"HOOK"===Bt&&(xt=xt.toArray()),xe._logService.debug("Unknown DCS code: ",{identifier:xe._parser.identToString(Qe),action:Bt,payload:xt})}),xe._parser.setPrintHandler(function(Qe,Bt,xt){return xe.print(Qe,Bt,xt)}),xe._parser.registerCsiHandler({final:"@"},function(Qe){return xe.insertChars(Qe)}),xe._parser.registerCsiHandler({intermediates:" ",final:"@"},function(Qe){return xe.scrollLeft(Qe)}),xe._parser.registerCsiHandler({final:"A"},function(Qe){return xe.cursorUp(Qe)}),xe._parser.registerCsiHandler({intermediates:" ",final:"A"},function(Qe){return xe.scrollRight(Qe)}),xe._parser.registerCsiHandler({final:"B"},function(Qe){return xe.cursorDown(Qe)}),xe._parser.registerCsiHandler({final:"C"},function(Qe){return xe.cursorForward(Qe)}),xe._parser.registerCsiHandler({final:"D"},function(Qe){return xe.cursorBackward(Qe)}),xe._parser.registerCsiHandler({final:"E"},function(Qe){return xe.cursorNextLine(Qe)}),xe._parser.registerCsiHandler({final:"F"},function(Qe){return xe.cursorPrecedingLine(Qe)}),xe._parser.registerCsiHandler({final:"G"},function(Qe){return xe.cursorCharAbsolute(Qe)}),xe._parser.registerCsiHandler({final:"H"},function(Qe){return xe.cursorPosition(Qe)}),xe._parser.registerCsiHandler({final:"I"},function(Qe){return xe.cursorForwardTab(Qe)}),xe._parser.registerCsiHandler({final:"J"},function(Qe){return xe.eraseInDisplay(Qe)}),xe._parser.registerCsiHandler({prefix:"?",final:"J"},function(Qe){return xe.eraseInDisplay(Qe)}),xe._parser.registerCsiHandler({final:"K"},function(Qe){return xe.eraseInLine(Qe)}),xe._parser.registerCsiHandler({prefix:"?",final:"K"},function(Qe){return xe.eraseInLine(Qe)}),xe._parser.registerCsiHandler({final:"L"},function(Qe){return xe.insertLines(Qe)}),xe._parser.registerCsiHandler({final:"M"},function(Qe){return xe.deleteLines(Qe)}),xe._parser.registerCsiHandler({final:"P"},function(Qe){return xe.deleteChars(Qe)}),xe._parser.registerCsiHandler({final:"S"},function(Qe){return xe.scrollUp(Qe)}),xe._parser.registerCsiHandler({final:"T"},function(Qe){return xe.scrollDown(Qe)}),xe._parser.registerCsiHandler({final:"X"},function(Qe){return xe.eraseChars(Qe)}),xe._parser.registerCsiHandler({final:"Z"},function(Qe){return xe.cursorBackwardTab(Qe)}),xe._parser.registerCsiHandler({final:"`"},function(Qe){return xe.charPosAbsolute(Qe)}),xe._parser.registerCsiHandler({final:"a"},function(Qe){return xe.hPositionRelative(Qe)}),xe._parser.registerCsiHandler({final:"b"},function(Qe){return xe.repeatPrecedingCharacter(Qe)}),xe._parser.registerCsiHandler({final:"c"},function(Qe){return xe.sendDeviceAttributesPrimary(Qe)}),xe._parser.registerCsiHandler({prefix:">",final:"c"},function(Qe){return xe.sendDeviceAttributesSecondary(Qe)}),xe._parser.registerCsiHandler({final:"d"},function(Qe){return xe.linePosAbsolute(Qe)}),xe._parser.registerCsiHandler({final:"e"},function(Qe){return xe.vPositionRelative(Qe)}),xe._parser.registerCsiHandler({final:"f"},function(Qe){return xe.hVPosition(Qe)}),xe._parser.registerCsiHandler({final:"g"},function(Qe){return xe.tabClear(Qe)}),xe._parser.registerCsiHandler({final:"h"},function(Qe){return xe.setMode(Qe)}),xe._parser.registerCsiHandler({prefix:"?",final:"h"},function(Qe){return xe.setModePrivate(Qe)}),xe._parser.registerCsiHandler({final:"l"},function(Qe){return xe.resetMode(Qe)}),xe._parser.registerCsiHandler({prefix:"?",final:"l"},function(Qe){return xe.resetModePrivate(Qe)}),xe._parser.registerCsiHandler({final:"m"},function(Qe){return xe.charAttributes(Qe)}),xe._parser.registerCsiHandler({final:"n"},function(Qe){return xe.deviceStatus(Qe)}),xe._parser.registerCsiHandler({prefix:"?",final:"n"},function(Qe){return xe.deviceStatusPrivate(Qe)}),xe._parser.registerCsiHandler({intermediates:"!",final:"p"},function(Qe){return xe.softReset(Qe)}),xe._parser.registerCsiHandler({intermediates:" ",final:"q"},function(Qe){return xe.setCursorStyle(Qe)}),xe._parser.registerCsiHandler({final:"r"},function(Qe){return xe.setScrollRegion(Qe)}),xe._parser.registerCsiHandler({final:"s"},function(Qe){return xe.saveCursor(Qe)}),xe._parser.registerCsiHandler({final:"t"},function(Qe){return xe.windowOptions(Qe)}),xe._parser.registerCsiHandler({final:"u"},function(Qe){return xe.restoreCursor(Qe)}),xe._parser.registerCsiHandler({intermediates:"'",final:"}"},function(Qe){return xe.insertColumns(Qe)}),xe._parser.registerCsiHandler({intermediates:"'",final:"~"},function(Qe){return xe.deleteColumns(Qe)}),xe._parser.setExecuteHandler(D.C0.BEL,function(){return xe.bell()}),xe._parser.setExecuteHandler(D.C0.LF,function(){return xe.lineFeed()}),xe._parser.setExecuteHandler(D.C0.VT,function(){return xe.lineFeed()}),xe._parser.setExecuteHandler(D.C0.FF,function(){return xe.lineFeed()}),xe._parser.setExecuteHandler(D.C0.CR,function(){return xe.carriageReturn()}),xe._parser.setExecuteHandler(D.C0.BS,function(){return xe.backspace()}),xe._parser.setExecuteHandler(D.C0.HT,function(){return xe.tab()}),xe._parser.setExecuteHandler(D.C0.SO,function(){return xe.shiftOut()}),xe._parser.setExecuteHandler(D.C0.SI,function(){return xe.shiftIn()}),xe._parser.setExecuteHandler(D.C1.IND,function(){return xe.index()}),xe._parser.setExecuteHandler(D.C1.NEL,function(){return xe.nextLine()}),xe._parser.setExecuteHandler(D.C1.HTS,function(){return xe.tabSet()}),xe._parser.registerOscHandler(0,new j.OscHandler(function(Qe){return xe.setTitle(Qe),xe.setIconName(Qe),!0})),xe._parser.registerOscHandler(1,new j.OscHandler(function(Qe){return xe.setIconName(Qe)})),xe._parser.registerOscHandler(2,new j.OscHandler(function(Qe){return xe.setTitle(Qe)})),xe._parser.registerOscHandler(4,new j.OscHandler(function(Qe){return xe.setAnsiColor(Qe)})),xe._parser.registerEscHandler({final:"7"},function(){return xe.saveCursor()}),xe._parser.registerEscHandler({final:"8"},function(){return xe.restoreCursor()}),xe._parser.registerEscHandler({final:"D"},function(){return xe.index()}),xe._parser.registerEscHandler({final:"E"},function(){return xe.nextLine()}),xe._parser.registerEscHandler({final:"H"},function(){return xe.tabSet()}),xe._parser.registerEscHandler({final:"M"},function(){return xe.reverseIndex()}),xe._parser.registerEscHandler({final:"="},function(){return xe.keypadApplicationMode()}),xe._parser.registerEscHandler({final:">"},function(){return xe.keypadNumericMode()}),xe._parser.registerEscHandler({final:"c"},function(){return xe.fullReset()}),xe._parser.registerEscHandler({final:"n"},function(){return xe.setgLevel(2)}),xe._parser.registerEscHandler({final:"o"},function(){return xe.setgLevel(3)}),xe._parser.registerEscHandler({final:"|"},function(){return xe.setgLevel(3)}),xe._parser.registerEscHandler({final:"}"},function(){return xe.setgLevel(2)}),xe._parser.registerEscHandler({final:"~"},function(){return xe.setgLevel(1)}),xe._parser.registerEscHandler({intermediates:"%",final:"@"},function(){return xe.selectDefaultCharset()}),xe._parser.registerEscHandler({intermediates:"%",final:"G"},function(){return xe.selectDefaultCharset()});var Oe=function(Bt){je._parser.registerEscHandler({intermediates:"(",final:Bt},function(){return xe.selectCharset("("+Bt)}),je._parser.registerEscHandler({intermediates:")",final:Bt},function(){return xe.selectCharset(")"+Bt)}),je._parser.registerEscHandler({intermediates:"*",final:Bt},function(){return xe.selectCharset("*"+Bt)}),je._parser.registerEscHandler({intermediates:"+",final:Bt},function(){return xe.selectCharset("+"+Bt)}),je._parser.registerEscHandler({intermediates:"-",final:Bt},function(){return xe.selectCharset("-"+Bt)}),je._parser.registerEscHandler({intermediates:".",final:Bt},function(){return xe.selectCharset("."+Bt)}),je._parser.registerEscHandler({intermediates:"/",final:Bt},function(){return xe.selectCharset("/"+Bt)})},je=this;for(var dt in M.CHARSETS)Oe(dt);return xe._parser.registerEscHandler({intermediates:"#",final:"8"},function(){return xe.screenAlignmentPattern()}),xe._parser.setErrorHandler(function(Qe){return xe._logService.error("Parsing error: ",Qe),Qe}),xe._parser.registerDcsHandler({intermediates:"$",final:"q"},new te(xe._bufferService,xe._coreService,xe._logService,xe._optionsService)),xe}return v(ce,se),Object.defineProperty(ce.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"onAnsiColorChange",{get:function(){return this._onAnsiColorChange.event},enumerable:!1,configurable:!0}),ce.prototype.dispose=function(){se.prototype.dispose.call(this)},ce.prototype._preserveStack=function(le,oe,Ae,be){this._parseStack.paused=!0,this._parseStack.cursorStartX=le,this._parseStack.cursorStartY=oe,this._parseStack.decodedLength=Ae,this._parseStack.position=be},ce.prototype._logSlowResolvingAsync=function(le){this._logService.logLevel<=L.LogLevelEnum.WARN&&Promise.race([le,new Promise(function(oe,Ae){return setTimeout(function(){return Ae("#SLOW_TIMEOUT")},5e3)})]).catch(function(oe){if("#SLOW_TIMEOUT"!==oe)throw oe;console.warn("async parser handler taking longer than 5000 ms")})},ce.prototype.parse=function(le,oe){var Ae,be=this._activeBuffer.x,it=this._activeBuffer.y,qe=0,_t=this._parseStack.paused;if(_t){if(Ae=this._parser.parse(this._parseBuffer,this._parseStack.decodedLength,oe))return this._logSlowResolvingAsync(Ae),Ae;be=this._parseStack.cursorStartX,it=this._parseStack.cursorStartY,this._parseStack.paused=!1,le.length>J&&(qe=this._parseStack.position+J)}if(this._logService.debug("parsing data",le),this._parseBuffer.length<le.length&&this._parseBuffer.length<J&&(this._parseBuffer=new Uint32Array(Math.min(le.length,J))),_t||this._dirtyRowService.clearRange(),le.length>J)for(var yt=qe;yt<le.length;yt+=J){var Ft=yt+J<le.length?yt+J:le.length,xe="string"==typeof le?this._stringDecoder.decode(le.substring(yt,Ft),this._parseBuffer):this._utf8Decoder.decode(le.subarray(yt,Ft),this._parseBuffer);if(Ae=this._parser.parse(this._parseBuffer,xe))return this._preserveStack(be,it,xe,yt),this._logSlowResolvingAsync(Ae),Ae}else if(!_t&&(xe="string"==typeof le?this._stringDecoder.decode(le,this._parseBuffer):this._utf8Decoder.decode(le,this._parseBuffer),Ae=this._parser.parse(this._parseBuffer,xe)))return this._preserveStack(be,it,xe,0),this._logSlowResolvingAsync(Ae),Ae;this._activeBuffer.x===be&&this._activeBuffer.y===it||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},ce.prototype.print=function(le,oe,Ae){var be,it,qe=this._charsetService.charset,_t=this._optionsService.options.screenReaderMode,yt=this._bufferService.cols,Ft=this._coreService.decPrivateModes.wraparound,xe=this._coreService.modes.insertMode,Oe=this._curAttrData,je=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);this._dirtyRowService.markDirty(this._activeBuffer.y),this._activeBuffer.x&&Ae-oe>0&&2===je.getWidth(this._activeBuffer.x-1)&&je.setCellFromCodePoint(this._activeBuffer.x-1,0,1,Oe.fg,Oe.bg,Oe.extended);for(var dt=oe;dt<Ae;++dt){if(it=this._unicodeService.wcwidth(be=le[dt]),be<127&&qe){var Qe=qe[String.fromCharCode(be)];Qe&&(be=Qe.charCodeAt(0))}if(_t&&this._onA11yChar.fire(k.stringFromCodePoint(be)),it||!this._activeBuffer.x){if(this._activeBuffer.x+it-1>=yt)if(Ft){for(;this._activeBuffer.x<yt;)je.setCellFromCodePoint(this._activeBuffer.x++,0,1,Oe.fg,Oe.bg,Oe.extended);this._activeBuffer.x=0,this._activeBuffer.y++,this._activeBuffer.y===this._activeBuffer.scrollBottom+1?(this._activeBuffer.y--,this._bufferService.scroll(this._eraseAttrData(),!0)):(this._activeBuffer.y>=this._bufferService.rows&&(this._activeBuffer.y=this._bufferService.rows-1),this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y).isWrapped=!0),je=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y)}else if(this._activeBuffer.x=yt-1,2===it)continue;if(xe&&(je.insertCells(this._activeBuffer.x,it,this._activeBuffer.getNullCell(Oe),Oe),2===je.getWidth(yt-1)&&je.setCellFromCodePoint(yt-1,x.NULL_CELL_CODE,x.NULL_CELL_WIDTH,Oe.fg,Oe.bg,Oe.extended)),je.setCellFromCodePoint(this._activeBuffer.x++,be,it,Oe.fg,Oe.bg,Oe.extended),it>0)for(;--it;)je.setCellFromCodePoint(this._activeBuffer.x++,0,0,Oe.fg,Oe.bg,Oe.extended)}else je.getWidth(this._activeBuffer.x-1)?je.addCodepointToCell(this._activeBuffer.x-1,be):je.addCodepointToCell(this._activeBuffer.x-2,be)}Ae-oe>0&&(je.loadCell(this._activeBuffer.x-1,this._workCell),this._parser.precedingCodepoint=2===this._workCell.getWidth()||this._workCell.getCode()>65535?0:this._workCell.isCombined()?this._workCell.getChars().charCodeAt(0):this._workCell.content),this._activeBuffer.x<yt&&Ae-oe>0&&0===je.getWidth(this._activeBuffer.x)&&!je.hasContent(this._activeBuffer.x)&&je.setCellFromCodePoint(this._activeBuffer.x,0,1,Oe.fg,Oe.bg,Oe.extended),this._dirtyRowService.markDirty(this._activeBuffer.y)},ce.prototype.registerCsiHandler=function(le,oe){var Ae=this;return this._parser.registerCsiHandler(le,"t"!==le.final||le.prefix||le.intermediates?oe:function(be){return!ie(be.params[0],Ae._optionsService.options.windowOptions)||oe(be)})},ce.prototype.registerDcsHandler=function(le,oe){return this._parser.registerDcsHandler(le,new K.DcsHandler(oe))},ce.prototype.registerEscHandler=function(le,oe){return this._parser.registerEscHandler(le,oe)},ce.prototype.registerOscHandler=function(le,oe){return this._parser.registerOscHandler(le,new j.OscHandler(oe))},ce.prototype.bell=function(){return this._onRequestBell.fire(),!0},ce.prototype.lineFeed=function(){return this._dirtyRowService.markDirty(this._activeBuffer.y),this._optionsService.options.convertEol&&(this._activeBuffer.x=0),this._activeBuffer.y++,this._activeBuffer.y===this._activeBuffer.scrollBottom+1?(this._activeBuffer.y--,this._bufferService.scroll(this._eraseAttrData())):this._activeBuffer.y>=this._bufferService.rows&&(this._activeBuffer.y=this._bufferService.rows-1),this._activeBuffer.x>=this._bufferService.cols&&this._activeBuffer.x--,this._dirtyRowService.markDirty(this._activeBuffer.y),this._onLineFeed.fire(),!0},ce.prototype.carriageReturn=function(){return this._activeBuffer.x=0,!0},ce.prototype.backspace=function(){var le;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),this._activeBuffer.x>0&&this._activeBuffer.x--,!0;if(this._restrictCursor(this._bufferService.cols),this._activeBuffer.x>0)this._activeBuffer.x--;else if(0===this._activeBuffer.x&&this._activeBuffer.y>this._activeBuffer.scrollTop&&this._activeBuffer.y<=this._activeBuffer.scrollBottom&&(null===(le=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y))||void 0===le?void 0:le.isWrapped)){this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y).isWrapped=!1,this._activeBuffer.y--,this._activeBuffer.x=this._bufferService.cols-1;var oe=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);oe.hasWidth(this._activeBuffer.x)&&!oe.hasContent(this._activeBuffer.x)&&this._activeBuffer.x--}return this._restrictCursor(),!0},ce.prototype.tab=function(){if(this._activeBuffer.x>=this._bufferService.cols)return!0;var le=this._activeBuffer.x;return this._activeBuffer.x=this._activeBuffer.nextStop(),this._optionsService.options.screenReaderMode&&this._onA11yTab.fire(this._activeBuffer.x-le),!0},ce.prototype.shiftOut=function(){return this._charsetService.setgLevel(1),!0},ce.prototype.shiftIn=function(){return this._charsetService.setgLevel(0),!0},ce.prototype._restrictCursor=function(le){void 0===le&&(le=this._bufferService.cols-1),this._activeBuffer.x=Math.min(le,Math.max(0,this._activeBuffer.x)),this._activeBuffer.y=this._coreService.decPrivateModes.origin?Math.min(this._activeBuffer.scrollBottom,Math.max(this._activeBuffer.scrollTop,this._activeBuffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._activeBuffer.y)),this._dirtyRowService.markDirty(this._activeBuffer.y)},ce.prototype._setCursor=function(le,oe){this._dirtyRowService.markDirty(this._activeBuffer.y),this._coreService.decPrivateModes.origin?(this._activeBuffer.x=le,this._activeBuffer.y=this._activeBuffer.scrollTop+oe):(this._activeBuffer.x=le,this._activeBuffer.y=oe),this._restrictCursor(),this._dirtyRowService.markDirty(this._activeBuffer.y)},ce.prototype._moveCursor=function(le,oe){this._restrictCursor(),this._setCursor(this._activeBuffer.x+le,this._activeBuffer.y+oe)},ce.prototype.cursorUp=function(le){var oe=this._activeBuffer.y-this._activeBuffer.scrollTop;return this._moveCursor(0,oe>=0?-Math.min(oe,le.params[0]||1):-(le.params[0]||1)),!0},ce.prototype.cursorDown=function(le){var oe=this._activeBuffer.scrollBottom-this._activeBuffer.y;return this._moveCursor(0,oe>=0?Math.min(oe,le.params[0]||1):le.params[0]||1),!0},ce.prototype.cursorForward=function(le){return this._moveCursor(le.params[0]||1,0),!0},ce.prototype.cursorBackward=function(le){return this._moveCursor(-(le.params[0]||1),0),!0},ce.prototype.cursorNextLine=function(le){return this.cursorDown(le),this._activeBuffer.x=0,!0},ce.prototype.cursorPrecedingLine=function(le){return this.cursorUp(le),this._activeBuffer.x=0,!0},ce.prototype.cursorCharAbsolute=function(le){return this._setCursor((le.params[0]||1)-1,this._activeBuffer.y),!0},ce.prototype.cursorPosition=function(le){return this._setCursor(le.length>=2?(le.params[1]||1)-1:0,(le.params[0]||1)-1),!0},ce.prototype.charPosAbsolute=function(le){return this._setCursor((le.params[0]||1)-1,this._activeBuffer.y),!0},ce.prototype.hPositionRelative=function(le){return this._moveCursor(le.params[0]||1,0),!0},ce.prototype.linePosAbsolute=function(le){return this._setCursor(this._activeBuffer.x,(le.params[0]||1)-1),!0},ce.prototype.vPositionRelative=function(le){return this._moveCursor(0,le.params[0]||1),!0},ce.prototype.hVPosition=function(le){return this.cursorPosition(le),!0},ce.prototype.tabClear=function(le){var oe=le.params[0];return 0===oe?delete this._activeBuffer.tabs[this._activeBuffer.x]:3===oe&&(this._activeBuffer.tabs={}),!0},ce.prototype.cursorForwardTab=function(le){if(this._activeBuffer.x>=this._bufferService.cols)return!0;for(var oe=le.params[0]||1;oe--;)this._activeBuffer.x=this._activeBuffer.nextStop();return!0},ce.prototype.cursorBackwardTab=function(le){if(this._activeBuffer.x>=this._bufferService.cols)return!0;for(var oe=le.params[0]||1;oe--;)this._activeBuffer.x=this._activeBuffer.prevStop();return!0},ce.prototype._eraseInBufferLine=function(le,oe,Ae,be){void 0===be&&(be=!1);var it=this._activeBuffer.lines.get(this._activeBuffer.ybase+le);it.replaceCells(oe,Ae,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),be&&(it.isWrapped=!1)},ce.prototype._resetBufferLine=function(le){var oe=this._activeBuffer.lines.get(this._activeBuffer.ybase+le);oe.fill(this._activeBuffer.getNullCell(this._eraseAttrData())),oe.isWrapped=!1},ce.prototype.eraseInDisplay=function(le){var oe;switch(this._restrictCursor(this._bufferService.cols),le.params[0]){case 0:for(this._dirtyRowService.markDirty(oe=this._activeBuffer.y),this._eraseInBufferLine(oe++,this._activeBuffer.x,this._bufferService.cols,0===this._activeBuffer.x);oe<this._bufferService.rows;oe++)this._resetBufferLine(oe);this._dirtyRowService.markDirty(oe);break;case 1:for(this._dirtyRowService.markDirty(oe=this._activeBuffer.y),this._eraseInBufferLine(oe,0,this._activeBuffer.x+1,!0),this._activeBuffer.x+1>=this._bufferService.cols&&(this._activeBuffer.lines.get(oe+1).isWrapped=!1);oe--;)this._resetBufferLine(oe);this._dirtyRowService.markDirty(0);break;case 2:for(this._dirtyRowService.markDirty((oe=this._bufferService.rows)-1);oe--;)this._resetBufferLine(oe);this._dirtyRowService.markDirty(0);break;case 3:var Ae=this._activeBuffer.lines.length-this._bufferService.rows;Ae>0&&(this._activeBuffer.lines.trimStart(Ae),this._activeBuffer.ybase=Math.max(this._activeBuffer.ybase-Ae,0),this._activeBuffer.ydisp=Math.max(this._activeBuffer.ydisp-Ae,0),this._onScroll.fire(0))}return!0},ce.prototype.eraseInLine=function(le){switch(this._restrictCursor(this._bufferService.cols),le.params[0]){case 0:this._eraseInBufferLine(this._activeBuffer.y,this._activeBuffer.x,this._bufferService.cols);break;case 1:this._eraseInBufferLine(this._activeBuffer.y,0,this._activeBuffer.x+1);break;case 2:this._eraseInBufferLine(this._activeBuffer.y,0,this._bufferService.cols)}return this._dirtyRowService.markDirty(this._activeBuffer.y),!0},ce.prototype.insertLines=function(le){this._restrictCursor();var oe=le.params[0]||1;if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;for(var Ae=this._activeBuffer.ybase+this._activeBuffer.y,it=this._bufferService.rows-1+this._activeBuffer.ybase-(this._bufferService.rows-1-this._activeBuffer.scrollBottom)+1;oe--;)this._activeBuffer.lines.splice(it-1,1),this._activeBuffer.lines.splice(Ae,0,this._activeBuffer.getBlankLine(this._eraseAttrData()));return this._dirtyRowService.markRangeDirty(this._activeBuffer.y,this._activeBuffer.scrollBottom),this._activeBuffer.x=0,!0},ce.prototype.deleteLines=function(le){this._restrictCursor();var oe=le.params[0]||1;if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;var Ae,be=this._activeBuffer.ybase+this._activeBuffer.y;for(Ae=this._bufferService.rows-1+this._activeBuffer.ybase-(Ae=this._bufferService.rows-1-this._activeBuffer.scrollBottom);oe--;)this._activeBuffer.lines.splice(be,1),this._activeBuffer.lines.splice(Ae,0,this._activeBuffer.getBlankLine(this._eraseAttrData()));return this._dirtyRowService.markRangeDirty(this._activeBuffer.y,this._activeBuffer.scrollBottom),this._activeBuffer.x=0,!0},ce.prototype.insertChars=function(le){this._restrictCursor();var oe=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);return oe&&(oe.insertCells(this._activeBuffer.x,le.params[0]||1,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._activeBuffer.y)),!0},ce.prototype.deleteChars=function(le){this._restrictCursor();var oe=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);return oe&&(oe.deleteCells(this._activeBuffer.x,le.params[0]||1,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._activeBuffer.y)),!0},ce.prototype.scrollUp=function(le){for(var oe=le.params[0]||1;oe--;)this._activeBuffer.lines.splice(this._activeBuffer.ybase+this._activeBuffer.scrollTop,1),this._activeBuffer.lines.splice(this._activeBuffer.ybase+this._activeBuffer.scrollBottom,0,this._activeBuffer.getBlankLine(this._eraseAttrData()));return this._dirtyRowService.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0},ce.prototype.scrollDown=function(le){for(var oe=le.params[0]||1;oe--;)this._activeBuffer.lines.splice(this._activeBuffer.ybase+this._activeBuffer.scrollBottom,1),this._activeBuffer.lines.splice(this._activeBuffer.ybase+this._activeBuffer.scrollTop,0,this._activeBuffer.getBlankLine(N.DEFAULT_ATTR_DATA));return this._dirtyRowService.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0},ce.prototype.scrollLeft=function(le){if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;for(var oe=le.params[0]||1,Ae=this._activeBuffer.scrollTop;Ae<=this._activeBuffer.scrollBottom;++Ae){var be=this._activeBuffer.lines.get(this._activeBuffer.ybase+Ae);be.deleteCells(0,oe,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),be.isWrapped=!1}return this._dirtyRowService.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0},ce.prototype.scrollRight=function(le){if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;for(var oe=le.params[0]||1,Ae=this._activeBuffer.scrollTop;Ae<=this._activeBuffer.scrollBottom;++Ae){var be=this._activeBuffer.lines.get(this._activeBuffer.ybase+Ae);be.insertCells(0,oe,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),be.isWrapped=!1}return this._dirtyRowService.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0},ce.prototype.insertColumns=function(le){if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;for(var oe=le.params[0]||1,Ae=this._activeBuffer.scrollTop;Ae<=this._activeBuffer.scrollBottom;++Ae){var be=this._activeBuffer.lines.get(this._activeBuffer.ybase+Ae);be.insertCells(this._activeBuffer.x,oe,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),be.isWrapped=!1}return this._dirtyRowService.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0},ce.prototype.deleteColumns=function(le){if(this._activeBuffer.y>this._activeBuffer.scrollBottom||this._activeBuffer.y<this._activeBuffer.scrollTop)return!0;for(var oe=le.params[0]||1,Ae=this._activeBuffer.scrollTop;Ae<=this._activeBuffer.scrollBottom;++Ae){var be=this._activeBuffer.lines.get(this._activeBuffer.ybase+Ae);be.deleteCells(this._activeBuffer.x,oe,this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),be.isWrapped=!1}return this._dirtyRowService.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom),!0},ce.prototype.eraseChars=function(le){this._restrictCursor();var oe=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y);return oe&&(oe.replaceCells(this._activeBuffer.x,this._activeBuffer.x+(le.params[0]||1),this._activeBuffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._activeBuffer.y)),!0},ce.prototype.repeatPrecedingCharacter=function(le){if(!this._parser.precedingCodepoint)return!0;for(var oe=le.params[0]||1,Ae=new Uint32Array(oe),be=0;be<oe;++be)Ae[be]=this._parser.precedingCodepoint;return this.print(Ae,0,Ae.length),!0},ce.prototype.sendDeviceAttributesPrimary=function(le){return le.params[0]>0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(D.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(D.C0.ESC+"[?6c")),!0},ce.prototype.sendDeviceAttributesSecondary=function(le){return le.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(D.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(D.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(le.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(D.C0.ESC+"[>83;40003;0c")),!0},ce.prototype._is=function(le){return 0===(this._optionsService.options.termName+"").indexOf(le)},ce.prototype.setMode=function(le){for(var oe=0;oe<le.length;oe++)switch(le.params[oe]){case 4:this._coreService.modes.insertMode=!0}return!0},ce.prototype.setModePrivate=function(le){for(var oe=0;oe<le.length;oe++)switch(le.params[oe]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,M.DEFAULT_CHARSET),this._charsetService.setgCharset(1,M.DEFAULT_CHARSET),this._charsetService.setgCharset(2,M.DEFAULT_CHARSET),this._charsetService.setgCharset(3,M.DEFAULT_CHARSET);break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._bufferService.resize(132,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!0,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!0;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!0;break;case 66:this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire();break;case 9:this._coreMouseService.activeProtocol="X10";break;case 1e3:this._coreMouseService.activeProtocol="VT200";break;case 1002:this._coreMouseService.activeProtocol="DRAG";break;case 1003:this._coreMouseService.activeProtocol="ANY";break;case 1004:this._coreService.decPrivateModes.sendFocus=!0;break;case 1005:this._logService.debug("DECSET 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="SGR";break;case 1015:this._logService.debug("DECSET 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!1;break;case 1048:this.saveCursor();break;case 1049:this.saveCursor();case 47:case 1047:this._bufferService.buffers.activateAltBuffer(this._eraseAttrData()),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!0}return!0},ce.prototype.resetMode=function(le){for(var oe=0;oe<le.length;oe++)switch(le.params[oe]){case 4:this._coreService.modes.insertMode=!1}return!0},ce.prototype.resetModePrivate=function(le){for(var oe=0;oe<le.length;oe++)switch(le.params[oe]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!1;break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._bufferService.resize(80,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!1,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!1;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!1;break;case 66:this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire();break;case 9:case 1e3:case 1002:case 1003:this._coreMouseService.activeProtocol="NONE";break;case 1004:this._coreService.decPrivateModes.sendFocus=!1;break;case 1005:this._logService.debug("DECRST 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="DEFAULT";break;case 1015:this._logService.debug("DECRST 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!0;break;case 1048:this.restoreCursor();break;case 1049:case 47:case 1047:this._bufferService.buffers.activateNormalBuffer(),1049===le.params[oe]&&this.restoreCursor(),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!1}return!0},ce.prototype._updateAttrColor=function(le,oe,Ae,be,it){return 2===oe?(le|=50331648,le&=-16777216,le|=O.AttributeData.fromColorRGB([Ae,be,it])):5===oe&&(le&=-50331904,le|=33554432|255&Ae),le},ce.prototype._extractColor=function(le,oe,Ae){var be=[0,0,-1,0,0,0],it=0,qe=0;do{if(be[qe+it]=le.params[oe+qe],le.hasSubParams(oe+qe)){var _t=le.getSubParams(oe+qe),yt=0;do{5===be[1]&&(it=1),be[qe+yt+1+it]=_t[yt]}while(++yt<_t.length&&yt+qe+1+it<be.length);break}if(5===be[1]&&qe+it>=2||2===be[1]&&qe+it>=5)break;be[1]&&(it=1)}while(++qe+oe<le.length&&qe+it<be.length);for(yt=2;yt<be.length;++yt)-1===be[yt]&&(be[yt]=0);switch(be[0]){case 38:Ae.fg=this._updateAttrColor(Ae.fg,be[1],be[3],be[4],be[5]);break;case 48:Ae.bg=this._updateAttrColor(Ae.bg,be[1],be[3],be[4],be[5]);break;case 58:Ae.extended=Ae.extended.clone(),Ae.extended.underlineColor=this._updateAttrColor(Ae.extended.underlineColor,be[1],be[3],be[4],be[5])}return qe},ce.prototype._processUnderline=function(le,oe){oe.extended=oe.extended.clone(),(!~le||le>5)&&(le=1),oe.extended.underlineStyle=le,oe.fg|=268435456,0===le&&(oe.fg&=-268435457),oe.updateExtended()},ce.prototype.charAttributes=function(le){if(1===le.length&&0===le.params[0])return this._curAttrData.fg=N.DEFAULT_ATTR_DATA.fg,this._curAttrData.bg=N.DEFAULT_ATTR_DATA.bg,!0;for(var oe,Ae=le.length,be=this._curAttrData,it=0;it<Ae;it++)(oe=le.params[it])>=30&&oe<=37?(be.fg&=-50331904,be.fg|=16777216|oe-30):oe>=40&&oe<=47?(be.bg&=-50331904,be.bg|=16777216|oe-40):oe>=90&&oe<=97?(be.fg&=-50331904,be.fg|=16777224|oe-90):oe>=100&&oe<=107?(be.bg&=-50331904,be.bg|=16777224|oe-100):0===oe?(be.fg=N.DEFAULT_ATTR_DATA.fg,be.bg=N.DEFAULT_ATTR_DATA.bg):1===oe?be.fg|=134217728:3===oe?be.bg|=67108864:4===oe?(be.fg|=268435456,this._processUnderline(le.hasSubParams(it)?le.getSubParams(it)[0]:1,be)):5===oe?be.fg|=536870912:7===oe?be.fg|=67108864:8===oe?be.fg|=1073741824:9===oe?be.fg|=2147483648:2===oe?be.bg|=134217728:21===oe?this._processUnderline(2,be):22===oe?(be.fg&=-134217729,be.bg&=-134217729):23===oe?be.bg&=-67108865:24===oe?be.fg&=-268435457:25===oe?be.fg&=-536870913:27===oe?be.fg&=-67108865:28===oe?be.fg&=-1073741825:29===oe?be.fg&=2147483647:39===oe?(be.fg&=-67108864,be.fg|=16777215&N.DEFAULT_ATTR_DATA.fg):49===oe?(be.bg&=-67108864,be.bg|=16777215&N.DEFAULT_ATTR_DATA.bg):38===oe||48===oe||58===oe?it+=this._extractColor(le,it,be):59===oe?(be.extended=be.extended.clone(),be.extended.underlineColor=-1,be.updateExtended()):100===oe?(be.fg&=-67108864,be.fg|=16777215&N.DEFAULT_ATTR_DATA.fg,be.bg&=-67108864,be.bg|=16777215&N.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",oe);return!0},ce.prototype.deviceStatus=function(le){switch(le.params[0]){case 5:this._coreService.triggerDataEvent(D.C0.ESC+"[0n");break;case 6:this._coreService.triggerDataEvent(D.C0.ESC+"["+(this._activeBuffer.y+1)+";"+(this._activeBuffer.x+1)+"R")}return!0},ce.prototype.deviceStatusPrivate=function(le){switch(le.params[0]){case 6:this._coreService.triggerDataEvent(D.C0.ESC+"[?"+(this._activeBuffer.y+1)+";"+(this._activeBuffer.x+1)+"R")}return!0},ce.prototype.softReset=function(le){return this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._activeBuffer.scrollTop=0,this._activeBuffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=N.DEFAULT_ATTR_DATA.clone(),this._coreService.reset(),this._charsetService.reset(),this._activeBuffer.savedX=0,this._activeBuffer.savedY=this._activeBuffer.ybase,this._activeBuffer.savedCurAttrData.fg=this._curAttrData.fg,this._activeBuffer.savedCurAttrData.bg=this._curAttrData.bg,this._activeBuffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1,!0},ce.prototype.setCursorStyle=function(le){var oe=le.params[0]||1;switch(oe){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}return this._optionsService.options.cursorBlink=oe%2==1,!0},ce.prototype.setScrollRegion=function(le){var oe,Ae=le.params[0]||1;return(le.length<2||(oe=le.params[1])>this._bufferService.rows||0===oe)&&(oe=this._bufferService.rows),oe>Ae&&(this._activeBuffer.scrollTop=Ae-1,this._activeBuffer.scrollBottom=oe-1,this._setCursor(0,0)),!0},ce.prototype.windowOptions=function(le){if(!ie(le.params[0],this._optionsService.options.windowOptions))return!0;var oe=le.length>1?le.params[1]:0;switch(le.params[0]){case 14:2!==oe&&this._onRequestWindowsOptionsReport.fire(P.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(P.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(D.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:0!==oe&&2!==oe||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),0!==oe&&1!==oe||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:0!==oe&&2!==oe||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),0!==oe&&1!==oe||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}return!0},ce.prototype.saveCursor=function(le){return this._activeBuffer.savedX=this._activeBuffer.x,this._activeBuffer.savedY=this._activeBuffer.ybase+this._activeBuffer.y,this._activeBuffer.savedCurAttrData.fg=this._curAttrData.fg,this._activeBuffer.savedCurAttrData.bg=this._curAttrData.bg,this._activeBuffer.savedCharset=this._charsetService.charset,!0},ce.prototype.restoreCursor=function(le){return this._activeBuffer.x=this._activeBuffer.savedX||0,this._activeBuffer.y=Math.max(this._activeBuffer.savedY-this._activeBuffer.ybase,0),this._curAttrData.fg=this._activeBuffer.savedCurAttrData.fg,this._curAttrData.bg=this._activeBuffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._activeBuffer.savedCharset&&(this._charsetService.charset=this._activeBuffer.savedCharset),this._restrictCursor(),!0},ce.prototype.setTitle=function(le){return this._windowTitle=le,this._onTitleChange.fire(le),!0},ce.prototype.setIconName=function(le){return this._iconName=le,!0},ce.prototype._parseAnsiColorChange=function(le){for(var oe,Ae={colors:[]},be=/(\d+);rgb:([\da-f]{2})\/([\da-f]{2})\/([\da-f]{2})/gi;null!==(oe=be.exec(le));)Ae.colors.push({colorIndex:parseInt(oe[1]),red:parseInt(oe[2],16),green:parseInt(oe[3],16),blue:parseInt(oe[4],16)});return 0===Ae.colors.length?null:Ae},ce.prototype.setAnsiColor=function(le){var oe=this._parseAnsiColorChange(le);return oe?this._onAnsiColorChange.fire(oe):this._logService.warn("Expected format <num>;rgb:<rr>/<gg>/<bb> but got data: "+le),!0},ce.prototype.nextLine=function(){return this._activeBuffer.x=0,this.index(),!0},ce.prototype.keypadApplicationMode=function(){return this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire(),!0},ce.prototype.keypadNumericMode=function(){return this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire(),!0},ce.prototype.selectDefaultCharset=function(){return this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,M.DEFAULT_CHARSET),!0},ce.prototype.selectCharset=function(le){return 2!==le.length?(this.selectDefaultCharset(),!0):("/"===le[0]||this._charsetService.setgCharset(z[le[0]],M.CHARSETS[le[1]]||M.DEFAULT_CHARSET),!0)},ce.prototype.index=function(){return this._restrictCursor(),this._activeBuffer.y++,this._activeBuffer.y===this._activeBuffer.scrollBottom+1?(this._activeBuffer.y--,this._bufferService.scroll(this._eraseAttrData())):this._activeBuffer.y>=this._bufferService.rows&&(this._activeBuffer.y=this._bufferService.rows-1),this._restrictCursor(),!0},ce.prototype.tabSet=function(){return this._activeBuffer.tabs[this._activeBuffer.x]=!0,!0},ce.prototype.reverseIndex=function(){return this._restrictCursor(),this._activeBuffer.y===this._activeBuffer.scrollTop?(this._activeBuffer.lines.shiftElements(this._activeBuffer.ybase+this._activeBuffer.y,this._activeBuffer.scrollBottom-this._activeBuffer.scrollTop,1),this._activeBuffer.lines.set(this._activeBuffer.ybase+this._activeBuffer.y,this._activeBuffer.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(this._activeBuffer.scrollTop,this._activeBuffer.scrollBottom)):(this._activeBuffer.y--,this._restrictCursor()),!0},ce.prototype.fullReset=function(){return this._parser.reset(),this._onRequestReset.fire(),!0},ce.prototype.reset=function(){this._curAttrData=N.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=N.DEFAULT_ATTR_DATA.clone()},ce.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},ce.prototype.setgLevel=function(le){return this._charsetService.setgLevel(le),!0},ce.prototype.screenAlignmentPattern=function(){var le=new S.CellData;le.content=1<<22|"E".charCodeAt(0),le.fg=this._curAttrData.fg,le.bg=this._curAttrData.bg,this._setCursor(0,0);for(var oe=0;oe<this._bufferService.rows;++oe){var be=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y+oe);be&&(be.fill(le),be.isWrapped=!1)}return this._dirtyRowService.markAllDirty(),this._setCursor(0,0),!0},ce}(_.Disposable);T.InputHandler=ae},844:function(Z,T){Object.defineProperty(T,"__esModule",{value:!0}),T.getDisposeArrayDisposable=T.disposeArray=T.Disposable=void 0;var R=function(){function v(){this._disposables=[],this._isDisposed=!1}return v.prototype.dispose=function(){this._isDisposed=!0;for(var P=0,D=this._disposables;P<D.length;P++)D[P].dispose();this._disposables.length=0},v.prototype.register=function(P){return this._disposables.push(P),P},v.prototype.unregister=function(P){var D=this._disposables.indexOf(P);-1!==D&&this._disposables.splice(D,1)},v}();function C(v){for(var P=0,D=v;P<D.length;P++)D[P].dispose();v.length=0}T.Disposable=R,T.disposeArray=C,T.getDisposeArrayDisposable=function(v){return{dispose:function(){return C(v)}}}},6114:function(Z,T){Object.defineProperty(T,"__esModule",{value:!0}),T.isLinux=T.isWindows=T.isIphone=T.isIpad=T.isMac=T.isSafari=T.isFirefox=void 0;var R="undefined"==typeof navigator,C=R?"node":navigator.userAgent,v=R?"node":navigator.platform;T.isFirefox=C.includes("Firefox"),T.isSafari=/^((?!chrome|android).)*safari/i.test(C),T.isMac=["Macintosh","MacIntel","MacPPC","Mac68K"].includes(v),T.isIpad="iPad"===v,T.isIphone="iPhone"===v,T.isWindows=["Windows","Win16","Win32","WinCE"].includes(v),T.isLinux=v.indexOf("Linux")>=0},8273:function(Z,T){function R(C,v,P,D){if(void 0===P&&(P=0),void 0===D&&(D=C.length),P>=C.length)return C;D=D>=C.length?C.length:(C.length+D)%C.length;for(var M=P=(C.length+P)%C.length;M<D;++M)C[M]=v;return C}Object.defineProperty(T,"__esModule",{value:!0}),T.concat=T.fillFallback=T.fill=void 0,T.fill=function(C,v,P,D){return C.fill?C.fill(v,P,D):R(C,v,P,D)},T.fillFallback=R,T.concat=function(C,v){var P=new C.constructor(C.length+v.length);return P.set(C),P.set(v,C.length),P}},9282:function(Z,T,R){Object.defineProperty(T,"__esModule",{value:!0}),T.updateWindowsModeWrappedState=void 0;var C=R(643);T.updateWindowsModeWrappedState=function(v){var P=v.buffer.lines.get(v.buffer.ybase+v.buffer.y-1),D=null==P?void 0:P.get(v.cols-1),M=v.buffer.lines.get(v.buffer.ybase+v.buffer.y);M&&D&&(M.isWrapped=D[C.CHAR_DATA_CODE_INDEX]!==C.NULL_CELL_CODE&&D[C.CHAR_DATA_CODE_INDEX]!==C.WHITESPACE_CELL_CODE)}},3734:function(Z,T){Object.defineProperty(T,"__esModule",{value:!0}),T.ExtendedAttrs=T.AttributeData=void 0;var R=function(){function v(){this.fg=0,this.bg=0,this.extended=new C}return v.toColorRGB=function(P){return[P>>>16&255,P>>>8&255,255&P]},v.fromColorRGB=function(P){return(255&P[0])<<16|(255&P[1])<<8|255&P[2]},v.prototype.clone=function(){var P=new v;return P.fg=this.fg,P.bg=this.bg,P.extended=this.extended.clone(),P},v.prototype.isInverse=function(){return 67108864&this.fg},v.prototype.isBold=function(){return 134217728&this.fg},v.prototype.isUnderline=function(){return 268435456&this.fg},v.prototype.isBlink=function(){return 536870912&this.fg},v.prototype.isInvisible=function(){return 1073741824&this.fg},v.prototype.isItalic=function(){return 67108864&this.bg},v.prototype.isDim=function(){return 134217728&this.bg},v.prototype.isStrikethrough=function(){return 2147483648&this.fg},v.prototype.getFgColorMode=function(){return 50331648&this.fg},v.prototype.getBgColorMode=function(){return 50331648&this.bg},v.prototype.isFgRGB=function(){return 50331648==(50331648&this.fg)},v.prototype.isBgRGB=function(){return 50331648==(50331648&this.bg)},v.prototype.isFgPalette=function(){return 16777216==(50331648&this.fg)||33554432==(50331648&this.fg)},v.prototype.isBgPalette=function(){return 16777216==(50331648&this.bg)||33554432==(50331648&this.bg)},v.prototype.isFgDefault=function(){return 0==(50331648&this.fg)},v.prototype.isBgDefault=function(){return 0==(50331648&this.bg)},v.prototype.isAttributeDefault=function(){return 0===this.fg&&0===this.bg},v.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},v.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},v.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},v.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},v.prototype.getUnderlineColor=function(){if(268435456&this.bg&&~this.extended.underlineColor)switch(50331648&this.extended.underlineColor){case 16777216:case 33554432:return 255&this.extended.underlineColor;case 50331648:return 16777215&this.extended.underlineColor;default:return this.getFgColor()}return this.getFgColor()},v.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},v.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648==(50331648&this.extended.underlineColor):this.isFgRGB()},v.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?16777216==(50331648&this.extended.underlineColor)||33554432==(50331648&this.extended.underlineColor):this.isFgPalette()},v.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?0==(50331648&this.extended.underlineColor):this.isFgDefault()},v.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},v}();T.AttributeData=R;var C=function(){function v(P,D){void 0===P&&(P=0),void 0===D&&(D=-1),this.underlineStyle=P,this.underlineColor=D}return v.prototype.clone=function(){return new v(this.underlineStyle,this.underlineColor)},v.prototype.isEmpty=function(){return 0===this.underlineStyle},v}();T.ExtendedAttrs=C},9092:function(Z,T,R){Object.defineProperty(T,"__esModule",{value:!0}),T.BufferStringIterator=T.Buffer=T.MAX_BUFFER_SIZE=void 0;var C=R(6349),v=R(8437),P=R(511),D=R(643),M=R(4634),A=R(4863),_=R(7116),g=R(3734);T.MAX_BUFFER_SIZE=4294967295;var k=function(){function E(x,S,O){this._hasScrollback=x,this._optionsService=S,this._bufferService=O,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=v.DEFAULT_ATTR_DATA.clone(),this.savedCharset=_.DEFAULT_CHARSET,this.markers=[],this._nullCell=P.CellData.fromCharData([0,D.NULL_CELL_CHAR,D.NULL_CELL_WIDTH,D.NULL_CELL_CODE]),this._whitespaceCell=P.CellData.fromCharData([0,D.WHITESPACE_CELL_CHAR,D.WHITESPACE_CELL_WIDTH,D.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new C.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return E.prototype.getNullCell=function(x){return x?(this._nullCell.fg=x.fg,this._nullCell.bg=x.bg,this._nullCell.extended=x.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new g.ExtendedAttrs),this._nullCell},E.prototype.getWhitespaceCell=function(x){return x?(this._whitespaceCell.fg=x.fg,this._whitespaceCell.bg=x.bg,this._whitespaceCell.extended=x.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new g.ExtendedAttrs),this._whitespaceCell},E.prototype.getBlankLine=function(x,S){return new v.BufferLine(this._bufferService.cols,this.getNullCell(x),S)},Object.defineProperty(E.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"isCursorInViewport",{get:function(){var S=this.ybase+this.y-this.ydisp;return S>=0&&S<this._rows},enumerable:!1,configurable:!0}),E.prototype._getCorrectBufferLength=function(x){if(!this._hasScrollback)return x;var S=x+this._optionsService.options.scrollback;return S>T.MAX_BUFFER_SIZE?T.MAX_BUFFER_SIZE:S},E.prototype.fillViewportRows=function(x){if(0===this.lines.length){void 0===x&&(x=v.DEFAULT_ATTR_DATA);for(var S=this._rows;S--;)this.lines.push(this.getBlankLine(x))}},E.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new C.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},E.prototype.resize=function(x,S){var O=this.getNullCell(v.DEFAULT_ATTR_DATA),L=this._getCorrectBufferLength(S);if(L>this.lines.maxLength&&(this.lines.maxLength=L),this.lines.length>0){if(this._cols<x)for(var j=0;j<this.lines.length;j++)this.lines.get(j).resize(x,O);var K=0;if(this._rows<S)for(var z=this._rows;z<S;z++)this.lines.length<S+this.ybase&&(this._optionsService.options.windowsMode?this.lines.push(new v.BufferLine(x,O)):this.ybase>0&&this.lines.length<=this.ybase+this.y+K+1?(this.ybase--,K++,this.ydisp>0&&this.ydisp--):this.lines.push(new v.BufferLine(x,O)));else for(z=this._rows;z>S;z--)this.lines.length>S+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(L<this.lines.maxLength){var J=this.lines.length-L;J>0&&(this.lines.trimStart(J),this.ybase=Math.max(this.ybase-J,0),this.ydisp=Math.max(this.ydisp-J,0),this.savedY=Math.max(this.savedY-J,0)),this.lines.maxLength=L}this.x=Math.min(this.x,x-1),this.y=Math.min(this.y,S-1),K&&(this.y+=K),this.savedX=Math.min(this.savedX,x-1),this.scrollTop=0}if(this.scrollBottom=S-1,this._isReflowEnabled&&(this._reflow(x,S),this._cols>x))for(j=0;j<this.lines.length;j++)this.lines.get(j).resize(x,O);this._cols=x,this._rows=S},Object.defineProperty(E.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.options.windowsMode},enumerable:!1,configurable:!0}),E.prototype._reflow=function(x,S){this._cols!==x&&(x>this._cols?this._reflowLarger(x,S):this._reflowSmaller(x,S))},E.prototype._reflowLarger=function(x,S){var O=M.reflowLargerGetLinesToRemove(this.lines,this._cols,x,this.ybase+this.y,this.getNullCell(v.DEFAULT_ATTR_DATA));if(O.length>0){var L=M.reflowLargerCreateNewLayout(this.lines,O);M.reflowLargerApplyNewLayout(this.lines,L.layout),this._reflowLargerAdjustViewport(x,S,L.countRemoved)}},E.prototype._reflowLargerAdjustViewport=function(x,S,O){for(var L=this.getNullCell(v.DEFAULT_ATTR_DATA),j=O;j-- >0;)0===this.ybase?(this.y>0&&this.y--,this.lines.length<S&&this.lines.push(new v.BufferLine(x,L))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-O,0)},E.prototype._reflowSmaller=function(x,S){for(var O=this.getNullCell(v.DEFAULT_ATTR_DATA),L=[],j=0,K=this.lines.length-1;K>=0;K--){var z=this.lines.get(K);if(!(!z||!z.isWrapped&&z.getTrimmedLength()<=x)){for(var J=[z];z.isWrapped&&K>0;)z=this.lines.get(--K),J.unshift(z);var ie=this.ybase+this.y;if(!(ie>=K&&ie<K+J.length)){var te,ae=J[J.length-1].getTrimmedLength(),se=M.reflowSmallerGetNewLineLengths(J,this._cols,x),ce=se.length-J.length;te=0===this.ybase&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+ce):Math.max(0,this.lines.length-this.lines.maxLength+ce);for(var le=[],oe=0;oe<ce;oe++){var Ae=this.getBlankLine(v.DEFAULT_ATTR_DATA,!0);le.push(Ae)}le.length>0&&(L.push({start:K+J.length+j,newLines:le}),j+=le.length),J.push.apply(J,le);var be=se.length-1,it=se[be];0===it&&(it=se[--be]);for(var qe=J.length-ce-1,_t=ae;qe>=0;){var yt=Math.min(_t,it);if(J[be].copyCellsFrom(J[qe],_t-yt,it-yt,yt,!0),0==(it-=yt)&&(it=se[--be]),0==(_t-=yt)){qe--;var Ft=Math.max(qe,0);_t=M.getWrappedLineTrimmedLength(J,Ft,this._cols)}}for(oe=0;oe<J.length;oe++)se[oe]<x&&J[oe].setCell(se[oe],O);for(var xe=ce-te;xe-- >0;)0===this.ybase?this.y<S-1?(this.y++,this.lines.pop()):(this.ybase++,this.ydisp++):this.ybase<Math.min(this.lines.maxLength,this.lines.length+j)-S&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+ce,this.ybase+S-1)}}}if(L.length>0){var Oe=[],je=[];for(oe=0;oe<this.lines.length;oe++)je.push(this.lines.get(oe));var dt=this.lines.length,Qe=dt-1,Bt=0,xt=L[Bt];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+j);var vt=0;for(oe=Math.min(this.lines.maxLength-1,dt+j-1);oe>=0;oe--)if(xt&&xt.start>Qe+vt){for(var Qt=xt.newLines.length-1;Qt>=0;Qt--)this.lines.set(oe--,xt.newLines[Qt]);oe++,Oe.push({index:Qe+1,amount:xt.newLines.length}),vt+=xt.newLines.length,xt=L[++Bt]}else this.lines.set(oe,je[Qe--]);var Ht=0;for(oe=Oe.length-1;oe>=0;oe--)Oe[oe].index+=Ht,this.lines.onInsertEmitter.fire(Oe[oe]),Ht+=Oe[oe].amount;var Ct=Math.max(0,dt+j-this.lines.maxLength);Ct>0&&this.lines.onTrimEmitter.fire(Ct)}},E.prototype.stringIndexToBufferIndex=function(x,S,O){for(void 0===O&&(O=!1);S;){var L=this.lines.get(x);if(!L)return[-1,-1];for(var j=O?L.getTrimmedLength():L.length,K=0;K<j;++K)if(L.get(K)[D.CHAR_DATA_WIDTH_INDEX]&&(S-=L.get(K)[D.CHAR_DATA_CHAR_INDEX].length||1),S<0)return[x,K];x++}return[x,0]},E.prototype.translateBufferLineToString=function(x,S,O,L){void 0===O&&(O=0);var j=this.lines.get(x);return j?j.translateToString(S,O,L):""},E.prototype.getWrappedRangeForLine=function(x){for(var S=x,O=x;S>0&&this.lines.get(S).isWrapped;)S--;for(;O+1<this.lines.length&&this.lines.get(O+1).isWrapped;)O++;return{first:S,last:O}},E.prototype.setupTabStops=function(x){for(null!=x?this.tabs[x]||(x=this.prevStop(x)):(this.tabs={},x=0);x<this._cols;x+=this._optionsService.options.tabStopWidth)this.tabs[x]=!0},E.prototype.prevStop=function(x){for(null==x&&(x=this.x);!this.tabs[--x]&&x>0;);return x>=this._cols?this._cols-1:x<0?0:x},E.prototype.nextStop=function(x){for(null==x&&(x=this.x);!this.tabs[++x]&&x<this._cols;);return x>=this._cols?this._cols-1:x<0?0:x},E.prototype.addMarker=function(x){var S=this,O=new A.Marker(x);return this.markers.push(O),O.register(this.lines.onTrim(function(L){O.line-=L,O.line<0&&O.dispose()})),O.register(this.lines.onInsert(function(L){O.line>=L.index&&(O.line+=L.amount)})),O.register(this.lines.onDelete(function(L){O.line>=L.index&&O.line<L.index+L.amount&&O.dispose(),O.line>L.index&&(O.line-=L.amount)})),O.register(O.onDispose(function(){return S._removeMarker(O)})),O},E.prototype._removeMarker=function(x){this.markers.splice(this.markers.indexOf(x),1)},E.prototype.iterator=function(x,S,O,L,j){return new N(this,x,S,O,L,j)},E}();T.Buffer=k;var N=function(){function E(x,S,O,L,j,K){void 0===O&&(O=0),void 0===L&&(L=x.lines.length),void 0===j&&(j=0),void 0===K&&(K=0),this._buffer=x,this._trimRight=S,this._startIndex=O,this._endIndex=L,this._startOverscan=j,this._endOverscan=K,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return E.prototype.hasNext=function(){return this._current<this._endIndex},E.prototype.next=function(){var x=this._buffer.getWrappedRangeForLine(this._current);x.first<this._startIndex-this._startOverscan&&(x.first=this._startIndex-this._startOverscan),x.last>this._endIndex+this._endOverscan&&(x.last=this._endIndex+this._endOverscan),x.first=Math.max(x.first,0),x.last=Math.min(x.last,this._buffer.lines.length);for(var S="",O=x.first;O<=x.last;++O)S+=this._buffer.translateBufferLineToString(O,this._trimRight);return this._current=x.last+1,{range:x,content:S}},E}();T.BufferStringIterator=N},8437:function(Z,T,R){Object.defineProperty(T,"__esModule",{value:!0}),T.BufferLine=T.DEFAULT_ATTR_DATA=void 0;var C=R(482),v=R(643),P=R(511),D=R(3734);T.DEFAULT_ATTR_DATA=Object.freeze(new D.AttributeData);var M=function(){function A(_,g,k){void 0===k&&(k=!1),this.isWrapped=k,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*_);for(var N=g||P.CellData.fromCharData([0,v.NULL_CELL_CHAR,v.NULL_CELL_WIDTH,v.NULL_CELL_CODE]),E=0;E<_;++E)this.setCell(E,N);this.length=_}return A.prototype.get=function(_){var g=this._data[3*_+0],k=2097151&g;return[this._data[3*_+1],2097152&g?this._combined[_]:k?C.stringFromCodePoint(k):"",g>>22,2097152&g?this._combined[_].charCodeAt(this._combined[_].length-1):k]},A.prototype.set=function(_,g){this._data[3*_+1]=g[v.CHAR_DATA_ATTR_INDEX],g[v.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[_]=g[1],this._data[3*_+0]=2097152|_|g[v.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*_+0]=g[v.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|g[v.CHAR_DATA_WIDTH_INDEX]<<22},A.prototype.getWidth=function(_){return this._data[3*_+0]>>22},A.prototype.hasWidth=function(_){return 12582912&this._data[3*_+0]},A.prototype.getFg=function(_){return this._data[3*_+1]},A.prototype.getBg=function(_){return this._data[3*_+2]},A.prototype.hasContent=function(_){return 4194303&this._data[3*_+0]},A.prototype.getCodePoint=function(_){var g=this._data[3*_+0];return 2097152&g?this._combined[_].charCodeAt(this._combined[_].length-1):2097151&g},A.prototype.isCombined=function(_){return 2097152&this._data[3*_+0]},A.prototype.getString=function(_){var g=this._data[3*_+0];return 2097152&g?this._combined[_]:2097151&g?C.stringFromCodePoint(2097151&g):""},A.prototype.loadCell=function(_,g){var k=3*_;return g.content=this._data[k+0],g.fg=this._data[k+1],g.bg=this._data[k+2],2097152&g.content&&(g.combinedData=this._combined[_]),268435456&g.bg&&(g.extended=this._extendedAttrs[_]),g},A.prototype.setCell=function(_,g){2097152&g.content&&(this._combined[_]=g.combinedData),268435456&g.bg&&(this._extendedAttrs[_]=g.extended),this._data[3*_+0]=g.content,this._data[3*_+1]=g.fg,this._data[3*_+2]=g.bg},A.prototype.setCellFromCodePoint=function(_,g,k,N,E,x){268435456&E&&(this._extendedAttrs[_]=x),this._data[3*_+0]=g|k<<22,this._data[3*_+1]=N,this._data[3*_+2]=E},A.prototype.addCodepointToCell=function(_,g){var k=this._data[3*_+0];2097152&k?this._combined[_]+=C.stringFromCodePoint(g):(2097151&k?(this._combined[_]=C.stringFromCodePoint(2097151&k)+C.stringFromCodePoint(g),k&=-2097152,k|=2097152):k=g|1<<22,this._data[3*_+0]=k)},A.prototype.insertCells=function(_,g,k,N){if((_%=this.length)&&2===this.getWidth(_-1)&&this.setCellFromCodePoint(_-1,0,1,(null==N?void 0:N.fg)||0,(null==N?void 0:N.bg)||0,(null==N?void 0:N.extended)||new D.ExtendedAttrs),g<this.length-_){for(var E=new P.CellData,x=this.length-_-g-1;x>=0;--x)this.setCell(_+g+x,this.loadCell(_+x,E));for(x=0;x<g;++x)this.setCell(_+x,k)}else for(x=_;x<this.length;++x)this.setCell(x,k);2===this.getWidth(this.length-1)&&this.setCellFromCodePoint(this.length-1,0,1,(null==N?void 0:N.fg)||0,(null==N?void 0:N.bg)||0,(null==N?void 0:N.extended)||new D.ExtendedAttrs)},A.prototype.deleteCells=function(_,g,k,N){if(g<this.length-(_%=this.length)){for(var E=new P.CellData,x=0;x<this.length-_-g;++x)this.setCell(_+x,this.loadCell(_+g+x,E));for(x=this.length-g;x<this.length;++x)this.setCell(x,k)}else for(x=_;x<this.length;++x)this.setCell(x,k);_&&2===this.getWidth(_-1)&&this.setCellFromCodePoint(_-1,0,1,(null==N?void 0:N.fg)||0,(null==N?void 0:N.bg)||0,(null==N?void 0:N.extended)||new D.ExtendedAttrs),0!==this.getWidth(_)||this.hasContent(_)||this.setCellFromCodePoint(_,0,1,(null==N?void 0:N.fg)||0,(null==N?void 0:N.bg)||0,(null==N?void 0:N.extended)||new D.ExtendedAttrs)},A.prototype.replaceCells=function(_,g,k,N){for(_&&2===this.getWidth(_-1)&&this.setCellFromCodePoint(_-1,0,1,(null==N?void 0:N.fg)||0,(null==N?void 0:N.bg)||0,(null==N?void 0:N.extended)||new D.ExtendedAttrs),g<this.length&&2===this.getWidth(g-1)&&this.setCellFromCodePoint(g,0,1,(null==N?void 0:N.fg)||0,(null==N?void 0:N.bg)||0,(null==N?void 0:N.extended)||new D.ExtendedAttrs);_<g&&_<this.length;)this.setCell(_++,k)},A.prototype.resize=function(_,g){if(_!==this.length){if(_>this.length){var k=new Uint32Array(3*_);this.length&&k.set(3*_<this._data.length?this._data.subarray(0,3*_):this._data),this._data=k;for(var N=this.length;N<_;++N)this.setCell(N,g)}else if(_){(k=new Uint32Array(3*_)).set(this._data.subarray(0,3*_)),this._data=k;var E=Object.keys(this._combined);for(N=0;N<E.length;N++){var x=parseInt(E[N],10);x>=_&&delete this._combined[x]}}else this._data=new Uint32Array(0),this._combined={};this.length=_}},A.prototype.fill=function(_){this._combined={},this._extendedAttrs={};for(var g=0;g<this.length;++g)this.setCell(g,_)},A.prototype.copyFrom=function(_){for(var g in this.length!==_.length?this._data=new Uint32Array(_._data):this._data.set(_._data),this.length=_.length,this._combined={},_._combined)this._combined[g]=_._combined[g];for(var g in this._extendedAttrs={},_._extendedAttrs)this._extendedAttrs[g]=_._extendedAttrs[g];this.isWrapped=_.isWrapped},A.prototype.clone=function(){var _=new A(0);for(var g in _._data=new Uint32Array(this._data),_.length=this.length,this._combined)_._combined[g]=this._combined[g];for(var g in this._extendedAttrs)_._extendedAttrs[g]=this._extendedAttrs[g];return _.isWrapped=this.isWrapped,_},A.prototype.getTrimmedLength=function(){for(var _=this.length-1;_>=0;--_)if(4194303&this._data[3*_+0])return _+(this._data[3*_+0]>>22);return 0},A.prototype.copyCellsFrom=function(_,g,k,N,E){var x=_._data;if(E)for(var S=N-1;S>=0;S--)for(var O=0;O<3;O++)this._data[3*(k+S)+O]=x[3*(g+S)+O];else for(S=0;S<N;S++)for(O=0;O<3;O++)this._data[3*(k+S)+O]=x[3*(g+S)+O];var L=Object.keys(_._combined);for(O=0;O<L.length;O++){var j=parseInt(L[O],10);j>=g&&(this._combined[j-g+k]=_._combined[j])}},A.prototype.translateToString=function(_,g,k){void 0===_&&(_=!1),void 0===g&&(g=0),void 0===k&&(k=this.length),_&&(k=Math.min(k,this.getTrimmedLength()));for(var N="";g<k;){var E=this._data[3*g+0],x=2097151&E;N+=2097152&E?this._combined[g]:x?C.stringFromCodePoint(x):v.WHITESPACE_CELL_CHAR,g+=E>>22||1}return N},A}();T.BufferLine=M},4841:function(Z,T){Object.defineProperty(T,"__esModule",{value:!0}),T.getRangeLength=void 0,T.getRangeLength=function(R,C){if(R.start.y>R.end.y)throw new Error("Buffer range end ("+R.end.x+", "+R.end.y+") cannot be before start ("+R.start.x+", "+R.start.y+")");return C*(R.end.y-R.start.y)+(R.end.x-R.start.x+1)}},4634:function(Z,T){function R(C,v,P){if(v===C.length-1)return C[v].getTrimmedLength();var D=!C[v].hasContent(P-1)&&1===C[v].getWidth(P-1),M=2===C[v+1].getWidth(0);return D&&M?P-1:P}Object.defineProperty(T,"__esModule",{value:!0}),T.getWrappedLineTrimmedLength=T.reflowSmallerGetNewLineLengths=T.reflowLargerApplyNewLayout=T.reflowLargerCreateNewLayout=T.reflowLargerGetLinesToRemove=void 0,T.reflowLargerGetLinesToRemove=function(C,v,P,D,M){for(var A=[],_=0;_<C.length-1;_++){var g=_,k=C.get(++g);if(k.isWrapped){for(var N=[C.get(_)];g<C.length&&k.isWrapped;)N.push(k),k=C.get(++g);if(D>=_&&D<g)_+=N.length-1;else{for(var E=0,x=R(N,E,v),S=1,O=0;S<N.length;){var L=R(N,S,v),z=Math.min(L-O,P-x);N[E].copyCellsFrom(N[S],O,x,z,!1),(x+=z)===P&&(E++,x=0),(O+=z)===L&&(S++,O=0),0===x&&0!==E&&2===N[E-1].getWidth(P-1)&&(N[E].copyCellsFrom(N[E-1],P-1,x++,1,!1),N[E-1].setCell(P-1,M))}N[E].replaceCells(x,P,M);for(var J=0,ie=N.length-1;ie>0&&(ie>E||0===N[ie].getTrimmedLength());ie--)J++;J>0&&(A.push(_+N.length-J),A.push(J)),_+=N.length-1}}}return A},T.reflowLargerCreateNewLayout=function(C,v){for(var P=[],D=0,M=v[D],A=0,_=0;_<C.length;_++)if(M===_){var g=v[++D];C.onDeleteEmitter.fire({index:_-A,amount:g}),_+=g-1,A+=g,M=v[++D]}else P.push(_);return{layout:P,countRemoved:A}},T.reflowLargerApplyNewLayout=function(C,v){for(var P=[],D=0;D<v.length;D++)P.push(C.get(v[D]));for(D=0;D<P.length;D++)C.set(D,P[D]);C.length=v.length},T.reflowSmallerGetNewLineLengths=function(C,v,P){for(var D=[],M=C.map(function(x,S){return R(C,S,v)}).reduce(function(x,S){return x+S}),A=0,_=0,g=0;g<M;){if(M-g<P){D.push(M-g);break}A+=P;var k=R(C,_,v);A>k&&(A-=k,_++);var N=2===C[_].getWidth(A-1);N&&A--;var E=N?P-1:P;D.push(E),g+=E}return D},T.getWrappedLineTrimmedLength=R},5295:function(Z,T,R){var C,v=this&&this.__extends||(C=function(_,g){return(C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(k,N){k.__proto__=N}||function(k,N){for(var E in N)Object.prototype.hasOwnProperty.call(N,E)&&(k[E]=N[E])})(_,g)},function(A,_){if("function"!=typeof _&&null!==_)throw new TypeError("Class extends value "+String(_)+" is not a constructor or null");function g(){this.constructor=A}C(A,_),A.prototype=null===_?Object.create(_):(g.prototype=_.prototype,new g)});Object.defineProperty(T,"__esModule",{value:!0}),T.BufferSet=void 0;var P=R(9092),D=R(8460),M=function(A){function _(g,k){var N=A.call(this)||this;return N._optionsService=g,N._bufferService=k,N._onBufferActivate=N.register(new D.EventEmitter),N.reset(),N}return v(_,A),Object.defineProperty(_.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),_.prototype.reset=function(){this._normal=new P.Buffer(!0,this._optionsService,this._bufferService),this._normal.fillViewportRows(),this._alt=new P.Buffer(!1,this._optionsService,this._bufferService),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}),this.setupTabStops()},Object.defineProperty(_.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),_.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},_.prototype.activateAltBuffer=function(g){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(g),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},_.prototype.resize=function(g,k){this._normal.resize(g,k),this._alt.resize(g,k)},_.prototype.setupTabStops=function(g){this._normal.setupTabStops(g),this._alt.setupTabStops(g)},_}(R(844).Disposable);T.BufferSet=M},511:function(Z,T,R){var C,v=this&&this.__extends||(C=function(g,k){return(C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(N,E){N.__proto__=E}||function(N,E){for(var x in E)Object.prototype.hasOwnProperty.call(E,x)&&(N[x]=E[x])})(g,k)},function(_,g){if("function"!=typeof g&&null!==g)throw new TypeError("Class extends value "+String(g)+" is not a constructor or null");function k(){this.constructor=_}C(_,g),_.prototype=null===g?Object.create(g):(k.prototype=g.prototype,new k)});Object.defineProperty(T,"__esModule",{value:!0}),T.CellData=void 0;var P=R(482),D=R(643),M=R(3734),A=function(_){function g(){var k=null!==_&&_.apply(this,arguments)||this;return k.content=0,k.fg=0,k.bg=0,k.extended=new M.ExtendedAttrs,k.combinedData="",k}return v(g,_),g.fromCharData=function(k){var N=new g;return N.setFromCharData(k),N},g.prototype.isCombined=function(){return 2097152&this.content},g.prototype.getWidth=function(){return this.content>>22},g.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?P.stringFromCodePoint(2097151&this.content):""},g.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},g.prototype.setFromCharData=function(k){this.fg=k[D.CHAR_DATA_ATTR_INDEX],this.bg=0;var N=!1;if(k[D.CHAR_DATA_CHAR_INDEX].length>2)N=!0;else if(2===k[D.CHAR_DATA_CHAR_INDEX].length){var E=k[D.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=E&&E<=56319){var x=k[D.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=x&&x<=57343?this.content=1024*(E-55296)+x-56320+65536|k[D.CHAR_DATA_WIDTH_INDEX]<<22:N=!0}else N=!0}else this.content=k[D.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|k[D.CHAR_DATA_WIDTH_INDEX]<<22;N&&(this.combinedData=k[D.CHAR_DATA_CHAR_INDEX],this.content=2097152|k[D.CHAR_DATA_WIDTH_INDEX]<<22)},g.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},g}(M.AttributeData);T.CellData=A},643:function(Z,T){Object.defineProperty(T,"__esModule",{value:!0}),T.WHITESPACE_CELL_CODE=T.WHITESPACE_CELL_WIDTH=T.WHITESPACE_CELL_CHAR=T.NULL_CELL_CODE=T.NULL_CELL_WIDTH=T.NULL_CELL_CHAR=T.CHAR_DATA_CODE_INDEX=T.CHAR_DATA_WIDTH_INDEX=T.CHAR_DATA_CHAR_INDEX=T.CHAR_DATA_ATTR_INDEX=T.DEFAULT_ATTR=T.DEFAULT_COLOR=void 0,T.DEFAULT_COLOR=256,T.DEFAULT_ATTR=256|T.DEFAULT_COLOR<<9,T.CHAR_DATA_ATTR_INDEX=0,T.CHAR_DATA_CHAR_INDEX=1,T.CHAR_DATA_WIDTH_INDEX=2,T.CHAR_DATA_CODE_INDEX=3,T.NULL_CELL_CHAR="",T.NULL_CELL_WIDTH=1,T.NULL_CELL_CODE=0,T.WHITESPACE_CELL_CHAR=" ",T.WHITESPACE_CELL_WIDTH=1,T.WHITESPACE_CELL_CODE=32},4863:function(Z,T,R){var C,v=this&&this.__extends||(C=function(A,_){return(C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,k){g.__proto__=k}||function(g,k){for(var N in k)Object.prototype.hasOwnProperty.call(k,N)&&(g[N]=k[N])})(A,_)},function(M,A){if("function"!=typeof A&&null!==A)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");function _(){this.constructor=M}C(M,A),M.prototype=null===A?Object.create(A):(_.prototype=A.prototype,new _)});Object.defineProperty(T,"__esModule",{value:!0}),T.Marker=void 0;var P=R(8460),D=function(M){function A(_){var g=M.call(this)||this;return g.line=_,g._id=A._nextId++,g.isDisposed=!1,g._onDispose=new P.EventEmitter,g}return v(A,M),Object.defineProperty(A.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),A.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire(),M.prototype.dispose.call(this))},A._nextId=1,A}(R(844).Disposable);T.Marker=D},7116:function(Z,T){Object.defineProperty(T,"__esModule",{value:!0}),T.DEFAULT_CHARSET=T.CHARSETS=void 0,T.CHARSETS={},T.DEFAULT_CHARSET=T.CHARSETS.B,T.CHARSETS[0]={"`":"\u25c6",a:"\u2592",b:"\u2409",c:"\u240c",d:"\u240d",e:"\u240a",f:"\xb0",g:"\xb1",h:"\u2424",i:"\u240b",j:"\u2518",k:"\u2510",l:"\u250c",m:"\u2514",n:"\u253c",o:"\u23ba",p:"\u23bb",q:"\u2500",r:"\u23bc",s:"\u23bd",t:"\u251c",u:"\u2524",v:"\u2534",w:"\u252c",x:"\u2502",y:"\u2264",z:"\u2265","{":"\u03c0","|":"\u2260","}":"\xa3","~":"\xb7"},T.CHARSETS.A={"#":"\xa3"},T.CHARSETS.B=void 0,T.CHARSETS[4]={"#":"\xa3","@":"\xbe","[":"ij","\\":"\xbd","]":"|","{":"\xa8","|":"f","}":"\xbc","~":"\xb4"},T.CHARSETS.C=T.CHARSETS[5]={"[":"\xc4","\\":"\xd6","]":"\xc5","^":"\xdc","`":"\xe9","{":"\xe4","|":"\xf6","}":"\xe5","~":"\xfc"},T.CHARSETS.R={"#":"\xa3","@":"\xe0","[":"\xb0","\\":"\xe7","]":"\xa7","{":"\xe9","|":"\xf9","}":"\xe8","~":"\xa8"},T.CHARSETS.Q={"@":"\xe0","[":"\xe2","\\":"\xe7","]":"\xea","^":"\xee","`":"\xf4","{":"\xe9","|":"\xf9","}":"\xe8","~":"\xfb"},T.CHARSETS.K={"@":"\xa7","[":"\xc4","\\":"\xd6","]":"\xdc","{":"\xe4","|":"\xf6","}":"\xfc","~":"\xdf"},T.CHARSETS.Y={"#":"\xa3","@":"\xa7","[":"\xb0","\\":"\xe7","]":"\xe9","`":"\xf9","{":"\xe0","|":"\xf2","}":"\xe8","~":"\xec"},T.CHARSETS.E=T.CHARSETS[6]={"@":"\xc4","[":"\xc6","\\":"\xd8","]":"\xc5","^":"\xdc","`":"\xe4","{":"\xe6","|":"\xf8","}":"\xe5","~":"\xfc"},T.CHARSETS.Z={"#":"\xa3","@":"\xa7","[":"\xa1","\\":"\xd1","]":"\xbf","{":"\xb0","|":"\xf1","}":"\xe7"},T.CHARSETS.H=T.CHARSETS[7]={"@":"\xc9","[":"\xc4","\\":"\xd6","]":"\xc5","^":"\xdc","`":"\xe9","{":"\xe4","|":"\xf6","}":"\xe5","~":"\xfc"},T.CHARSETS["="]={"#":"\xf9","@":"\xe0","[":"\xe9","\\":"\xe7","]":"\xea","^":"\xee",_:"\xe8","`":"\xf4","{":"\xe4","|":"\xf6","}":"\xfc","~":"\xfb"}},2584:function(Z,T){var R,C;Object.defineProperty(T,"__esModule",{value:!0}),T.C1=T.C0=void 0,(C=T.C0||(T.C0={})).NUL="\0",C.SOH="\x01",C.STX="\x02",C.ETX="\x03",C.EOT="\x04",C.ENQ="\x05",C.ACK="\x06",C.BEL="\x07",C.BS="\b",C.HT="\t",C.LF="\n",C.VT="\v",C.FF="\f",C.CR="\r",C.SO="\x0e",C.SI="\x0f",C.DLE="\x10",C.DC1="\x11",C.DC2="\x12",C.DC3="\x13",C.DC4="\x14",C.NAK="\x15",C.SYN="\x16",C.ETB="\x17",C.CAN="\x18",C.EM="\x19",C.SUB="\x1a",C.ESC="\x1b",C.FS="\x1c",C.GS="\x1d",C.RS="\x1e",C.US="\x1f",C.SP=" ",C.DEL="\x7f",(R=T.C1||(T.C1={})).PAD="\x80",R.HOP="\x81",R.BPH="\x82",R.NBH="\x83",R.IND="\x84",R.NEL="\x85",R.SSA="\x86",R.ESA="\x87",R.HTS="\x88",R.HTJ="\x89",R.VTS="\x8a",R.PLD="\x8b",R.PLU="\x8c",R.RI="\x8d",R.SS2="\x8e",R.SS3="\x8f",R.DCS="\x90",R.PU1="\x91",R.PU2="\x92",R.STS="\x93",R.CCH="\x94",R.MW="\x95",R.SPA="\x96",R.EPA="\x97",R.SOS="\x98",R.SGCI="\x99",R.SCI="\x9a",R.CSI="\x9b",R.ST="\x9c",R.OSC="\x9d",R.PM="\x9e",R.APC="\x9f"},7399:function(Z,T,R){Object.defineProperty(T,"__esModule",{value:!0}),T.evaluateKeyboardEvent=void 0;var C=R(2584),v={48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};T.evaluateKeyboardEvent=function(P,D,M,A){var _={type:0,cancel:!1,key:void 0},g=(P.shiftKey?1:0)|(P.altKey?2:0)|(P.ctrlKey?4:0)|(P.metaKey?8:0);switch(P.keyCode){case 0:"UIKeyInputUpArrow"===P.key?_.key=D?C.C0.ESC+"OA":C.C0.ESC+"[A":"UIKeyInputLeftArrow"===P.key?_.key=D?C.C0.ESC+"OD":C.C0.ESC+"[D":"UIKeyInputRightArrow"===P.key?_.key=D?C.C0.ESC+"OC":C.C0.ESC+"[C":"UIKeyInputDownArrow"===P.key&&(_.key=D?C.C0.ESC+"OB":C.C0.ESC+"[B");break;case 8:if(P.shiftKey){_.key=C.C0.BS;break}if(P.altKey){_.key=C.C0.ESC+C.C0.DEL;break}_.key=C.C0.DEL;break;case 9:if(P.shiftKey){_.key=C.C0.ESC+"[Z";break}_.key=C.C0.HT,_.cancel=!0;break;case 13:_.key=P.altKey?C.C0.ESC+C.C0.CR:C.C0.CR,_.cancel=!0;break;case 27:_.key=C.C0.ESC,P.altKey&&(_.key=C.C0.ESC+C.C0.ESC),_.cancel=!0;break;case 37:if(P.metaKey)break;g?(_.key=C.C0.ESC+"[1;"+(g+1)+"D",_.key===C.C0.ESC+"[1;3D"&&(_.key=C.C0.ESC+(M?"b":"[1;5D"))):_.key=D?C.C0.ESC+"OD":C.C0.ESC+"[D";break;case 39:if(P.metaKey)break;g?(_.key=C.C0.ESC+"[1;"+(g+1)+"C",_.key===C.C0.ESC+"[1;3C"&&(_.key=C.C0.ESC+(M?"f":"[1;5C"))):_.key=D?C.C0.ESC+"OC":C.C0.ESC+"[C";break;case 38:if(P.metaKey)break;g?(_.key=C.C0.ESC+"[1;"+(g+1)+"A",M||_.key!==C.C0.ESC+"[1;3A"||(_.key=C.C0.ESC+"[1;5A")):_.key=D?C.C0.ESC+"OA":C.C0.ESC+"[A";break;case 40:if(P.metaKey)break;g?(_.key=C.C0.ESC+"[1;"+(g+1)+"B",M||_.key!==C.C0.ESC+"[1;3B"||(_.key=C.C0.ESC+"[1;5B")):_.key=D?C.C0.ESC+"OB":C.C0.ESC+"[B";break;case 45:P.shiftKey||P.ctrlKey||(_.key=C.C0.ESC+"[2~");break;case 46:_.key=g?C.C0.ESC+"[3;"+(g+1)+"~":C.C0.ESC+"[3~";break;case 36:_.key=g?C.C0.ESC+"[1;"+(g+1)+"H":D?C.C0.ESC+"OH":C.C0.ESC+"[H";break;case 35:_.key=g?C.C0.ESC+"[1;"+(g+1)+"F":D?C.C0.ESC+"OF":C.C0.ESC+"[F";break;case 33:P.shiftKey?_.type=2:_.key=C.C0.ESC+"[5~";break;case 34:P.shiftKey?_.type=3:_.key=C.C0.ESC+"[6~";break;case 112:_.key=g?C.C0.ESC+"[1;"+(g+1)+"P":C.C0.ESC+"OP";break;case 113:_.key=g?C.C0.ESC+"[1;"+(g+1)+"Q":C.C0.ESC+"OQ";break;case 114:_.key=g?C.C0.ESC+"[1;"+(g+1)+"R":C.C0.ESC+"OR";break;case 115:_.key=g?C.C0.ESC+"[1;"+(g+1)+"S":C.C0.ESC+"OS";break;case 116:_.key=g?C.C0.ESC+"[15;"+(g+1)+"~":C.C0.ESC+"[15~";break;case 117:_.key=g?C.C0.ESC+"[17;"+(g+1)+"~":C.C0.ESC+"[17~";break;case 118:_.key=g?C.C0.ESC+"[18;"+(g+1)+"~":C.C0.ESC+"[18~";break;case 119:_.key=g?C.C0.ESC+"[19;"+(g+1)+"~":C.C0.ESC+"[19~";break;case 120:_.key=g?C.C0.ESC+"[20;"+(g+1)+"~":C.C0.ESC+"[20~";break;case 121:_.key=g?C.C0.ESC+"[21;"+(g+1)+"~":C.C0.ESC+"[21~";break;case 122:_.key=g?C.C0.ESC+"[23;"+(g+1)+"~":C.C0.ESC+"[23~";break;case 123:_.key=g?C.C0.ESC+"[24;"+(g+1)+"~":C.C0.ESC+"[24~";break;default:if(!P.ctrlKey||P.shiftKey||P.altKey||P.metaKey)if(M&&!A||!P.altKey||P.metaKey)!M||P.altKey||P.ctrlKey||P.shiftKey||!P.metaKey?P.key&&!P.ctrlKey&&!P.altKey&&!P.metaKey&&P.keyCode>=48&&1===P.key.length?_.key=P.key:P.key&&P.ctrlKey&&"_"===P.key&&(_.key=C.C0.US):65===P.keyCode&&(_.type=1);else{var k=v[P.keyCode],N=k&&k[P.shiftKey?1:0];N?_.key=C.C0.ESC+N:P.keyCode>=65&&P.keyCode<=90&&(_.key=C.C0.ESC+String.fromCharCode(P.ctrlKey?P.keyCode-64:P.keyCode+32))}else P.keyCode>=65&&P.keyCode<=90?_.key=String.fromCharCode(P.keyCode-64):32===P.keyCode?_.key=C.C0.NUL:P.keyCode>=51&&P.keyCode<=55?_.key=String.fromCharCode(P.keyCode-51+27):56===P.keyCode?_.key=C.C0.DEL:219===P.keyCode?_.key=C.C0.ESC:220===P.keyCode?_.key=C.C0.FS:221===P.keyCode&&(_.key=C.C0.GS)}return _}},482:function(Z,T){Object.defineProperty(T,"__esModule",{value:!0}),T.Utf8ToUtf32=T.StringToUtf32=T.utf32ToString=T.stringFromCodePoint=void 0,T.stringFromCodePoint=function(v){return v>65535?(v-=65536,String.fromCharCode(55296+(v>>10))+String.fromCharCode(v%1024+56320)):String.fromCharCode(v)},T.utf32ToString=function(v,P,D){void 0===P&&(P=0),void 0===D&&(D=v.length);for(var M="",A=P;A<D;++A){var _=v[A];_>65535?(_-=65536,M+=String.fromCharCode(55296+(_>>10))+String.fromCharCode(_%1024+56320)):M+=String.fromCharCode(_)}return M};var R=function(){function v(){this._interim=0}return v.prototype.clear=function(){this._interim=0},v.prototype.decode=function(P,D){var M=P.length;if(!M)return 0;var A=0,_=0;this._interim&&(56320<=(N=P.charCodeAt(_++))&&N<=57343?D[A++]=1024*(this._interim-55296)+N-56320+65536:(D[A++]=this._interim,D[A++]=N),this._interim=0);for(var g=_;g<M;++g){var k=P.charCodeAt(g);if(55296<=k&&k<=56319){if(++g>=M)return this._interim=k,A;var N;56320<=(N=P.charCodeAt(g))&&N<=57343?D[A++]=1024*(k-55296)+N-56320+65536:(D[A++]=k,D[A++]=N)}else 65279!==k&&(D[A++]=k)}return A},v}();T.StringToUtf32=R;var C=function(){function v(){this.interim=new Uint8Array(3)}return v.prototype.clear=function(){this.interim.fill(0)},v.prototype.decode=function(P,D){var M=P.length;if(!M)return 0;var A,_,g,k,N=0,E=0,x=0;if(this.interim[0]){var S=!1,O=this.interim[0];O&=192==(224&O)?31:224==(240&O)?15:7;for(var L=0,j=void 0;(j=63&this.interim[++L])&&L<4;)O<<=6,O|=j;for(var K=192==(224&this.interim[0])?2:224==(240&this.interim[0])?3:4,z=K-L;x<z;){if(x>=M)return 0;if(128!=(192&(j=P[x++]))){x--,S=!0;break}this.interim[L++]=j,O<<=6,O|=63&j}S||(2===K?O<128?x--:D[N++]=O:3===K?O<2048||O>=55296&&O<=57343||65279===O||(D[N++]=O):O<65536||O>1114111||(D[N++]=O)),this.interim.fill(0)}for(var J=M-4,ie=x;ie<M;){for(;!(!(ie<J)||128&(A=P[ie])||128&(_=P[ie+1])||128&(g=P[ie+2])||128&(k=P[ie+3]));)D[N++]=A,D[N++]=_,D[N++]=g,D[N++]=k,ie+=4;if((A=P[ie++])<128)D[N++]=A;else if(192==(224&A)){if(ie>=M)return this.interim[0]=A,N;if(128!=(192&(_=P[ie++]))){ie--;continue}if((E=(31&A)<<6|63&_)<128){ie--;continue}D[N++]=E}else if(224==(240&A)){if(ie>=M)return this.interim[0]=A,N;if(128!=(192&(_=P[ie++]))){ie--;continue}if(ie>=M)return this.interim[0]=A,this.interim[1]=_,N;if(128!=(192&(g=P[ie++]))){ie--;continue}if((E=(15&A)<<12|(63&_)<<6|63&g)<2048||E>=55296&&E<=57343||65279===E)continue;D[N++]=E}else if(240==(248&A)){if(ie>=M)return this.interim[0]=A,N;if(128!=(192&(_=P[ie++]))){ie--;continue}if(ie>=M)return this.interim[0]=A,this.interim[1]=_,N;if(128!=(192&(g=P[ie++]))){ie--;continue}if(ie>=M)return this.interim[0]=A,this.interim[1]=_,this.interim[2]=g,N;if(128!=(192&(k=P[ie++]))){ie--;continue}if((E=(7&A)<<18|(63&_)<<12|(63&g)<<6|63&k)<65536||E>1114111)continue;D[N++]=E}}return N},v}();T.Utf8ToUtf32=C},225:function(Z,T,R){Object.defineProperty(T,"__esModule",{value:!0}),T.UnicodeV6=void 0;var C,v=R(8273),P=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],D=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],M=function(){function A(){if(this.version="6",!C){C=new Uint8Array(65536),v.fill(C,1),C[0]=0,v.fill(C,0,1,32),v.fill(C,0,127,160),v.fill(C,2,4352,4448),C[9001]=2,C[9002]=2,v.fill(C,2,11904,42192),C[12351]=1,v.fill(C,2,44032,55204),v.fill(C,2,63744,64256),v.fill(C,2,65040,65050),v.fill(C,2,65072,65136),v.fill(C,2,65280,65377),v.fill(C,2,65504,65511);for(var _=0;_<P.length;++_)v.fill(C,0,P[_][0],P[_][1]+1)}}return A.prototype.wcwidth=function(_){return _<32?0:_<127?1:_<65536?C[_]:function(g,k){var N,E=0,x=k.length-1;if(g<k[0][0]||g>k[x][1])return!1;for(;x>=E;)if(g>k[N=E+x>>1][1])E=N+1;else{if(!(g<k[N][0]))return!0;x=N-1}return!1}(_,D)?0:_>=131072&&_<=196605||_>=196608&&_<=262141?2:1},A}();T.UnicodeV6=M},5981:function(Z,T){Object.defineProperty(T,"__esModule",{value:!0}),T.WriteBuffer=void 0;var R="undefined"==typeof queueMicrotask?function(v){Promise.resolve().then(v)}:queueMicrotask,C=function(){function v(P){this._action=P,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0,this._isSyncWriting=!1,this._syncCalls=0}return v.prototype.writeSync=function(P,D){if(void 0!==D&&this._syncCalls>D)this._syncCalls=0;else if(this._pendingData+=P.length,this._writeBuffer.push(P),this._callbacks.push(void 0),this._syncCalls++,!this._isSyncWriting){var M;for(this._isSyncWriting=!0;M=this._writeBuffer.shift();){this._action(M);var A=this._callbacks.shift();A&&A()}this._pendingData=0,this._bufferOffset=2147483647,this._isSyncWriting=!1,this._syncCalls=0}},v.prototype.write=function(P,D){var M=this;if(this._pendingData>5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout(function(){return M._innerWrite()})),this._pendingData+=P.length,this._writeBuffer.push(P),this._callbacks.push(D)},v.prototype._innerWrite=function(P,D){var M=this;void 0===P&&(P=0),void 0===D&&(D=!0);for(var A=P||Date.now();this._writeBuffer.length>this._bufferOffset;){var _=this._writeBuffer[this._bufferOffset],g=this._action(_,D);if(g)return void g.catch(function(N){return R(function(){throw N}),Promise.resolve(!1)}).then(function(N){return Date.now()-A>=12?setTimeout(function(){return M._innerWrite(0,N)}):M._innerWrite(A,N)});var k=this._callbacks[this._bufferOffset];if(k&&k(),this._bufferOffset++,this._pendingData-=_.length,Date.now()-A>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout(function(){return M._innerWrite()})):(this._writeBuffer.length=0,this._callbacks.length=0,this._pendingData=0,this._bufferOffset=0)},v}();T.WriteBuffer=C},5770:function(Z,T){Object.defineProperty(T,"__esModule",{value:!0}),T.PAYLOAD_LIMIT=void 0,T.PAYLOAD_LIMIT=1e7},6351:function(Z,T,R){Object.defineProperty(T,"__esModule",{value:!0}),T.DcsHandler=T.DcsParser=void 0;var C=R(482),v=R(8742),P=R(5770),D=[],M=function(){function g(){this._handlers=Object.create(null),this._active=D,this._ident=0,this._handlerFb=function(){},this._stack={paused:!1,loopPosition:0,fallThrough:!1}}return g.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){},this._active=D},g.prototype.registerHandler=function(k,N){void 0===this._handlers[k]&&(this._handlers[k]=[]);var E=this._handlers[k];return E.push(N),{dispose:function(){var S=E.indexOf(N);-1!==S&&E.splice(S,1)}}},g.prototype.clearHandler=function(k){this._handlers[k]&&delete this._handlers[k]},g.prototype.setHandlerFallback=function(k){this._handlerFb=k},g.prototype.reset=function(){if(this._active.length)for(var k=this._stack.paused?this._stack.loopPosition-1:this._active.length-1;k>=0;--k)this._active[k].unhook(!1);this._stack.paused=!1,this._active=D,this._ident=0},g.prototype.hook=function(k,N){if(this.reset(),this._ident=k,this._active=this._handlers[k]||D,this._active.length)for(var E=this._active.length-1;E>=0;E--)this._active[E].hook(N);else this._handlerFb(this._ident,"HOOK",N)},g.prototype.put=function(k,N,E){if(this._active.length)for(var x=this._active.length-1;x>=0;x--)this._active[x].put(k,N,E);else this._handlerFb(this._ident,"PUT",C.utf32ToString(k,N,E))},g.prototype.unhook=function(k,N){if(void 0===N&&(N=!0),this._active.length){var E=!1,x=this._active.length-1,S=!1;if(this._stack.paused&&(x=this._stack.loopPosition-1,E=N,S=this._stack.fallThrough,this._stack.paused=!1),!S&&!1===E){for(;x>=0&&!0!==(E=this._active[x].unhook(k));x--)if(E instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=x,this._stack.fallThrough=!1,E;x--}for(;x>=0;x--)if((E=this._active[x].unhook(!1))instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=x,this._stack.fallThrough=!0,E}else this._handlerFb(this._ident,"UNHOOK",k);this._active=D,this._ident=0},g}();T.DcsParser=M;var A=new v.Params;A.addParam(0);var _=function(){function g(k){this._handler=k,this._data="",this._params=A,this._hitLimit=!1}return g.prototype.hook=function(k){this._params=k.length>1||k.params[0]?k.clone():A,this._data="",this._hitLimit=!1},g.prototype.put=function(k,N,E){this._hitLimit||(this._data+=C.utf32ToString(k,N,E),this._data.length>P.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},g.prototype.unhook=function(k){var N=this,E=!1;if(this._hitLimit)E=!1;else if(k&&(E=this._handler(this._data,this._params))instanceof Promise)return E.then(function(x){return N._params=A,N._data="",N._hitLimit=!1,x});return this._params=A,this._data="",this._hitLimit=!1,E},g}();T.DcsHandler=_},2015:function(Z,T,R){var C,v=this&&this.__extends||(C=function(x,S){return(C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(O,L){O.__proto__=L}||function(O,L){for(var j in L)Object.prototype.hasOwnProperty.call(L,j)&&(O[j]=L[j])})(x,S)},function(E,x){if("function"!=typeof x&&null!==x)throw new TypeError("Class extends value "+String(x)+" is not a constructor or null");function S(){this.constructor=E}C(E,x),E.prototype=null===x?Object.create(x):(S.prototype=x.prototype,new S)});Object.defineProperty(T,"__esModule",{value:!0}),T.EscapeSequenceParser=T.VT500_TRANSITION_TABLE=T.TransitionTable=void 0;var P=R(844),D=R(8273),M=R(8742),A=R(6242),_=R(6351),g=function(){function E(x){this.table=new Uint8Array(x)}return E.prototype.setDefault=function(x,S){D.fill(this.table,x<<4|S)},E.prototype.add=function(x,S,O,L){this.table[S<<8|x]=O<<4|L},E.prototype.addMany=function(x,S,O,L){for(var j=0;j<x.length;j++)this.table[S<<8|x[j]]=O<<4|L},E}();T.TransitionTable=g;var k=160;T.VT500_TRANSITION_TABLE=function(){var E=new g(4095),x=Array.apply(null,Array(256)).map(function(z,J){return J}),S=function(J,ie){return x.slice(J,ie)},O=S(32,127),L=S(0,24);L.push(25),L.push.apply(L,S(28,32));var j,K=S(0,14);for(j in E.setDefault(1,0),E.addMany(O,0,2,0),K)E.addMany([24,26,153,154],j,3,0),E.addMany(S(128,144),j,3,0),E.addMany(S(144,152),j,3,0),E.add(156,j,0,0),E.add(27,j,11,1),E.add(157,j,4,8),E.addMany([152,158,159],j,0,7),E.add(155,j,11,3),E.add(144,j,11,9);return E.addMany(L,0,3,0),E.addMany(L,1,3,1),E.add(127,1,0,1),E.addMany(L,8,0,8),E.addMany(L,3,3,3),E.add(127,3,0,3),E.addMany(L,4,3,4),E.add(127,4,0,4),E.addMany(L,6,3,6),E.addMany(L,5,3,5),E.add(127,5,0,5),E.addMany(L,2,3,2),E.add(127,2,0,2),E.add(93,1,4,8),E.addMany(O,8,5,8),E.add(127,8,5,8),E.addMany([156,27,24,26,7],8,6,0),E.addMany(S(28,32),8,0,8),E.addMany([88,94,95],1,0,7),E.addMany(O,7,0,7),E.addMany(L,7,0,7),E.add(156,7,0,0),E.add(127,7,0,7),E.add(91,1,11,3),E.addMany(S(64,127),3,7,0),E.addMany(S(48,60),3,8,4),E.addMany([60,61,62,63],3,9,4),E.addMany(S(48,60),4,8,4),E.addMany(S(64,127),4,7,0),E.addMany([60,61,62,63],4,0,6),E.addMany(S(32,64),6,0,6),E.add(127,6,0,6),E.addMany(S(64,127),6,0,0),E.addMany(S(32,48),3,9,5),E.addMany(S(32,48),5,9,5),E.addMany(S(48,64),5,0,6),E.addMany(S(64,127),5,7,0),E.addMany(S(32,48),4,9,5),E.addMany(S(32,48),1,9,2),E.addMany(S(32,48),2,9,2),E.addMany(S(48,127),2,10,0),E.addMany(S(48,80),1,10,0),E.addMany(S(81,88),1,10,0),E.addMany([89,90,92],1,10,0),E.addMany(S(96,127),1,10,0),E.add(80,1,11,9),E.addMany(L,9,0,9),E.add(127,9,0,9),E.addMany(S(28,32),9,0,9),E.addMany(S(32,48),9,9,12),E.addMany(S(48,60),9,8,10),E.addMany([60,61,62,63],9,9,10),E.addMany(L,11,0,11),E.addMany(S(32,128),11,0,11),E.addMany(S(28,32),11,0,11),E.addMany(L,10,0,10),E.add(127,10,0,10),E.addMany(S(28,32),10,0,10),E.addMany(S(48,60),10,8,10),E.addMany([60,61,62,63],10,0,11),E.addMany(S(32,48),10,9,12),E.addMany(L,12,0,12),E.add(127,12,0,12),E.addMany(S(28,32),12,0,12),E.addMany(S(32,48),12,9,12),E.addMany(S(48,64),12,0,11),E.addMany(S(64,127),12,12,13),E.addMany(S(64,127),10,12,13),E.addMany(S(64,127),9,12,13),E.addMany(L,13,13,13),E.addMany(O,13,13,13),E.add(127,13,0,13),E.addMany([27,156,24,26],13,14,0),E.add(k,0,2,0),E.add(k,8,5,8),E.add(k,6,0,6),E.add(k,11,0,11),E.add(k,13,13,13),E}();var N=function(E){function x(S){void 0===S&&(S=T.VT500_TRANSITION_TABLE);var O=E.call(this)||this;return O._transitions=S,O._parseStack={state:0,handlers:[],handlerPos:0,transition:0,chunkPos:0},O.initialState=0,O.currentState=O.initialState,O._params=new M.Params,O._params.addParam(0),O._collect=0,O.precedingCodepoint=0,O._printHandlerFb=function(L,j,K){},O._executeHandlerFb=function(L){},O._csiHandlerFb=function(L,j){},O._escHandlerFb=function(L){},O._errorHandlerFb=function(L){return L},O._printHandler=O._printHandlerFb,O._executeHandlers=Object.create(null),O._csiHandlers=Object.create(null),O._escHandlers=Object.create(null),O._oscParser=new A.OscParser,O._dcsParser=new _.DcsParser,O._errorHandler=O._errorHandlerFb,O.registerEscHandler({final:"\\"},function(){return!0}),O}return v(x,E),x.prototype._identifier=function(S,O){void 0===O&&(O=[64,126]);var L=0;if(S.prefix){if(S.prefix.length>1)throw new Error("only one byte as prefix supported");if((L=S.prefix.charCodeAt(0))&&60>L||L>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(S.intermediates){if(S.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var j=0;j<S.intermediates.length;++j){var K=S.intermediates.charCodeAt(j);if(32>K||K>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");L<<=8,L|=K}}if(1!==S.final.length)throw new Error("final must be a single byte");var z=S.final.charCodeAt(0);if(O[0]>z||z>O[1])throw new Error("final must be in range "+O[0]+" .. "+O[1]);return(L<<=8)|z},x.prototype.identToString=function(S){for(var O=[];S;)O.push(String.fromCharCode(255&S)),S>>=8;return O.reverse().join("")},x.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},x.prototype.setPrintHandler=function(S){this._printHandler=S},x.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},x.prototype.registerEscHandler=function(S,O){var L=this._identifier(S,[48,126]);void 0===this._escHandlers[L]&&(this._escHandlers[L]=[]);var j=this._escHandlers[L];return j.push(O),{dispose:function(){var z=j.indexOf(O);-1!==z&&j.splice(z,1)}}},x.prototype.clearEscHandler=function(S){this._escHandlers[this._identifier(S,[48,126])]&&delete this._escHandlers[this._identifier(S,[48,126])]},x.prototype.setEscHandlerFallback=function(S){this._escHandlerFb=S},x.prototype.setExecuteHandler=function(S,O){this._executeHandlers[S.charCodeAt(0)]=O},x.prototype.clearExecuteHandler=function(S){this._executeHandlers[S.charCodeAt(0)]&&delete this._executeHandlers[S.charCodeAt(0)]},x.prototype.setExecuteHandlerFallback=function(S){this._executeHandlerFb=S},x.prototype.registerCsiHandler=function(S,O){var L=this._identifier(S);void 0===this._csiHandlers[L]&&(this._csiHandlers[L]=[]);var j=this._csiHandlers[L];return j.push(O),{dispose:function(){var z=j.indexOf(O);-1!==z&&j.splice(z,1)}}},x.prototype.clearCsiHandler=function(S){this._csiHandlers[this._identifier(S)]&&delete this._csiHandlers[this._identifier(S)]},x.prototype.setCsiHandlerFallback=function(S){this._csiHandlerFb=S},x.prototype.registerDcsHandler=function(S,O){return this._dcsParser.registerHandler(this._identifier(S),O)},x.prototype.clearDcsHandler=function(S){this._dcsParser.clearHandler(this._identifier(S))},x.prototype.setDcsHandlerFallback=function(S){this._dcsParser.setHandlerFallback(S)},x.prototype.registerOscHandler=function(S,O){return this._oscParser.registerHandler(S,O)},x.prototype.clearOscHandler=function(S){this._oscParser.clearHandler(S)},x.prototype.setOscHandlerFallback=function(S){this._oscParser.setHandlerFallback(S)},x.prototype.setErrorHandler=function(S){this._errorHandler=S},x.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},x.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0,0!==this._parseStack.state&&(this._parseStack.state=2,this._parseStack.handlers=[])},x.prototype._preserveStack=function(S,O,L,j,K){this._parseStack.state=S,this._parseStack.handlers=O,this._parseStack.handlerPos=L,this._parseStack.transition=j,this._parseStack.chunkPos=K},x.prototype.parse=function(S,O,L){var j,K=0,z=0,J=0;if(this._parseStack.state)if(2===this._parseStack.state)this._parseStack.state=0,J=this._parseStack.chunkPos+1;else{if(void 0===L||1===this._parseStack.state)throw this._parseStack.state=1,new Error("improper continuation due to previous async handler, giving up parsing");var ie=this._parseStack.handlers,te=this._parseStack.handlerPos-1;switch(this._parseStack.state){case 3:if(!1===L&&te>-1)for(;te>=0&&!0!==(j=ie[te](this._params));te--)if(j instanceof Promise)return this._parseStack.handlerPos=te,j;this._parseStack.handlers=[];break;case 4:if(!1===L&&te>-1)for(;te>=0&&!0!==(j=ie[te]());te--)if(j instanceof Promise)return this._parseStack.handlerPos=te,j;this._parseStack.handlers=[];break;case 6:if(j=this._dcsParser.unhook(24!==(K=S[this._parseStack.chunkPos])&&26!==K,L))return j;27===K&&(this._parseStack.transition|=1),this._params.reset(),this._params.addParam(0),this._collect=0;break;case 5:if(j=this._oscParser.end(24!==(K=S[this._parseStack.chunkPos])&&26!==K,L))return j;27===K&&(this._parseStack.transition|=1),this._params.reset(),this._params.addParam(0),this._collect=0}this._parseStack.state=0,J=this._parseStack.chunkPos+1,this.precedingCodepoint=0,this.currentState=15&this._parseStack.transition}for(var ae=J;ae<O;++ae){switch((z=this._transitions.table[this.currentState<<8|((K=S[ae])<160?K:k)])>>4){case 2:for(var se=ae+1;;++se){if(se>=O||(K=S[se])<32||K>126&&K<k){this._printHandler(S,ae,se),ae=se-1;break}if(++se>=O||(K=S[se])<32||K>126&&K<k){this._printHandler(S,ae,se),ae=se-1;break}if(++se>=O||(K=S[se])<32||K>126&&K<k){this._printHandler(S,ae,se),ae=se-1;break}if(++se>=O||(K=S[se])<32||K>126&&K<k){this._printHandler(S,ae,se),ae=se-1;break}}break;case 3:this._executeHandlers[K]?this._executeHandlers[K]():this._executeHandlerFb(K),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:ae,code:K,currentState:this.currentState,collect:this._collect,params:this._params,abort:!1}).abort)return;break;case 7:for(var ce=(ie=this._csiHandlers[this._collect<<8|K])?ie.length-1:-1;ce>=0&&!0!==(j=ie[ce](this._params));ce--)if(j instanceof Promise)return this._preserveStack(3,ie,ce,z,ae),j;ce<0&&this._csiHandlerFb(this._collect<<8|K,this._params),this.precedingCodepoint=0;break;case 8:do{switch(K){case 59:this._params.addParam(0);break;case 58:this._params.addSubParam(-1);break;default:this._params.addDigit(K-48)}}while(++ae<O&&(K=S[ae])>47&&K<60);ae--;break;case 9:this._collect<<=8,this._collect|=K;break;case 10:for(var le=this._escHandlers[this._collect<<8|K],oe=le?le.length-1:-1;oe>=0&&!0!==(j=le[oe]());oe--)if(j instanceof Promise)return this._preserveStack(4,le,oe,z,ae),j;oe<0&&this._escHandlerFb(this._collect<<8|K),this.precedingCodepoint=0;break;case 11:this._params.reset(),this._params.addParam(0),this._collect=0;break;case 12:this._dcsParser.hook(this._collect<<8|K,this._params);break;case 13:for(var Ae=ae+1;;++Ae)if(Ae>=O||24===(K=S[Ae])||26===K||27===K||K>127&&K<k){this._dcsParser.put(S,ae,Ae),ae=Ae-1;break}break;case 14:if(j=this._dcsParser.unhook(24!==K&&26!==K))return this._preserveStack(6,[],0,z,ae),j;27===K&&(z|=1),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0;break;case 4:this._oscParser.start();break;case 5:for(var be=ae+1;;be++)if(be>=O||(K=S[be])<32||K>127&&K<k){this._oscParser.put(S,ae,be),ae=be-1;break}break;case 6:if(j=this._oscParser.end(24!==K&&26!==K))return this._preserveStack(5,[],0,z,ae),j;27===K&&(z|=1),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0}this.currentState=15&z}},x}(P.Disposable);T.EscapeSequenceParser=N},6242:function(Z,T,R){Object.defineProperty(T,"__esModule",{value:!0}),T.OscHandler=T.OscParser=void 0;var C=R(5770),v=R(482),P=[],D=function(){function A(){this._state=0,this._active=P,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){},this._stack={paused:!1,loopPosition:0,fallThrough:!1}}return A.prototype.registerHandler=function(_,g){void 0===this._handlers[_]&&(this._handlers[_]=[]);var k=this._handlers[_];return k.push(g),{dispose:function(){var E=k.indexOf(g);-1!==E&&k.splice(E,1)}}},A.prototype.clearHandler=function(_){this._handlers[_]&&delete this._handlers[_]},A.prototype.setHandlerFallback=function(_){this._handlerFb=_},A.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){},this._active=P},A.prototype.reset=function(){if(2===this._state)for(var _=this._stack.paused?this._stack.loopPosition-1:this._active.length-1;_>=0;--_)this._active[_].end(!1);this._stack.paused=!1,this._active=P,this._id=-1,this._state=0},A.prototype._start=function(){if(this._active=this._handlers[this._id]||P,this._active.length)for(var _=this._active.length-1;_>=0;_--)this._active[_].start();else this._handlerFb(this._id,"START")},A.prototype._put=function(_,g,k){if(this._active.length)for(var N=this._active.length-1;N>=0;N--)this._active[N].put(_,g,k);else this._handlerFb(this._id,"PUT",v.utf32ToString(_,g,k))},A.prototype.start=function(){this.reset(),this._state=1},A.prototype.put=function(_,g,k){if(3!==this._state){if(1===this._state)for(;g<k;){var N=_[g++];if(59===N){this._state=2,this._start();break}if(N<48||57<N)return void(this._state=3);-1===this._id&&(this._id=0),this._id=10*this._id+N-48}2===this._state&&k-g>0&&this._put(_,g,k)}},A.prototype.end=function(_,g){if(void 0===g&&(g=!0),0!==this._state){if(3!==this._state)if(1===this._state&&this._start(),this._active.length){var k=!1,N=this._active.length-1,E=!1;if(this._stack.paused&&(N=this._stack.loopPosition-1,k=g,E=this._stack.fallThrough,this._stack.paused=!1),!E&&!1===k){for(;N>=0&&!0!==(k=this._active[N].end(_));N--)if(k instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=N,this._stack.fallThrough=!1,k;N--}for(;N>=0;N--)if((k=this._active[N].end(!1))instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=N,this._stack.fallThrough=!0,k}else this._handlerFb(this._id,"END",_);this._active=P,this._id=-1,this._state=0}},A}();T.OscParser=D;var M=function(){function A(_){this._handler=_,this._data="",this._hitLimit=!1}return A.prototype.start=function(){this._data="",this._hitLimit=!1},A.prototype.put=function(_,g,k){this._hitLimit||(this._data+=v.utf32ToString(_,g,k),this._data.length>C.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},A.prototype.end=function(_){var g=this,k=!1;if(this._hitLimit)k=!1;else if(_&&(k=this._handler(this._data))instanceof Promise)return k.then(function(N){return g._data="",g._hitLimit=!1,N});return this._data="",this._hitLimit=!1,k},A}();T.OscHandler=M},8742:function(Z,T){Object.defineProperty(T,"__esModule",{value:!0}),T.Params=void 0;var R=2147483647,C=function(){function v(P,D){if(void 0===P&&(P=32),void 0===D&&(D=32),this.maxLength=P,this.maxSubParamsLength=D,D>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(P),this.length=0,this._subParams=new Int32Array(D),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(P),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return v.fromArray=function(P){var D=new v;if(!P.length)return D;for(var M=P[0]instanceof Array?1:0;M<P.length;++M){var A=P[M];if(A instanceof Array)for(var _=0;_<A.length;++_)D.addSubParam(A[_]);else D.addParam(A)}return D},v.prototype.clone=function(){var P=new v(this.maxLength,this.maxSubParamsLength);return P.params.set(this.params),P.length=this.length,P._subParams.set(this._subParams),P._subParamsLength=this._subParamsLength,P._subParamsIdx.set(this._subParamsIdx),P._rejectDigits=this._rejectDigits,P._rejectSubDigits=this._rejectSubDigits,P._digitIsSub=this._digitIsSub,P},v.prototype.toArray=function(){for(var P=[],D=0;D<this.length;++D){P.push(this.params[D]);var M=this._subParamsIdx[D]>>8,A=255&this._subParamsIdx[D];A-M>0&&P.push(Array.prototype.slice.call(this._subParams,M,A))}return P},v.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},v.prototype.addParam=function(P){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(P<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=P>R?R:P}},v.prototype.addSubParam=function(P){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(P<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=P>R?R:P,this._subParamsIdx[this.length-1]++}},v.prototype.hasSubParams=function(P){return(255&this._subParamsIdx[P])-(this._subParamsIdx[P]>>8)>0},v.prototype.getSubParams=function(P){var D=this._subParamsIdx[P]>>8,M=255&this._subParamsIdx[P];return M-D>0?this._subParams.subarray(D,M):null},v.prototype.getSubParamsAll=function(){for(var P={},D=0;D<this.length;++D){var M=this._subParamsIdx[D]>>8,A=255&this._subParamsIdx[D];A-M>0&&(P[D]=this._subParams.slice(M,A))}return P},v.prototype.addDigit=function(P){var D;if(!(this._rejectDigits||!(D=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var M=this._digitIsSub?this._subParams:this.params,A=M[D-1];M[D-1]=~A?Math.min(10*A+P,R):P}},v}();T.Params=C},5741:function(Z,T){Object.defineProperty(T,"__esModule",{value:!0}),T.AddonManager=void 0;var R=function(){function C(){this._addons=[]}return C.prototype.dispose=function(){for(var v=this._addons.length-1;v>=0;v--)this._addons[v].instance.dispose()},C.prototype.loadAddon=function(v,P){var D=this,M={instance:P,dispose:P.dispose,isDisposed:!1};this._addons.push(M),P.dispose=function(){return D._wrappedAddonDispose(M)},P.activate(v)},C.prototype._wrappedAddonDispose=function(v){if(!v.isDisposed){for(var P=-1,D=0;D<this._addons.length;D++)if(this._addons[D]===v){P=D;break}if(-1===P)throw new Error("Could not dispose an addon that has not been loaded");v.isDisposed=!0,v.dispose.apply(v.instance),this._addons.splice(P,1)}},C}();T.AddonManager=R},8771:function(Z,T,R){Object.defineProperty(T,"__esModule",{value:!0}),T.BufferApiView=void 0;var C=R(3785),v=R(511),P=function(){function D(M,A){this._buffer=M,this.type=A}return D.prototype.init=function(M){return this._buffer=M,this},Object.defineProperty(D.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!1,configurable:!0}),D.prototype.getLine=function(M){var A=this._buffer.lines.get(M);if(A)return new C.BufferLineApiView(A)},D.prototype.getNullCell=function(){return new v.CellData},D}();T.BufferApiView=P},3785:function(Z,T,R){Object.defineProperty(T,"__esModule",{value:!0}),T.BufferLineApiView=void 0;var C=R(511),v=function(){function P(D){this._line=D}return Object.defineProperty(P.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"length",{get:function(){return this._line.length},enumerable:!1,configurable:!0}),P.prototype.getCell=function(D,M){if(!(D<0||D>=this._line.length))return M?(this._line.loadCell(D,M),M):this._line.loadCell(D,new C.CellData)},P.prototype.translateToString=function(D,M,A){return this._line.translateToString(D,M,A)},P}();T.BufferLineApiView=v},8285:function(Z,T,R){Object.defineProperty(T,"__esModule",{value:!0}),T.BufferNamespaceApi=void 0;var C=R(8771),v=R(8460),P=function(){function D(M){var A=this;this._core=M,this._onBufferChange=new v.EventEmitter,this._normal=new C.BufferApiView(this._core.buffers.normal,"normal"),this._alternate=new C.BufferApiView(this._core.buffers.alt,"alternate"),this._core.buffers.onBufferActivate(function(){return A._onBufferChange.fire(A.active)})}return Object.defineProperty(D.prototype,"onBufferChange",{get:function(){return this._onBufferChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"active",{get:function(){if(this._core.buffers.active===this._core.buffers.normal)return this.normal;if(this._core.buffers.active===this._core.buffers.alt)return this.alternate;throw new Error("Active buffer is neither normal nor alternate")},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"normal",{get:function(){return this._normal.init(this._core.buffers.normal)},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"alternate",{get:function(){return this._alternate.init(this._core.buffers.alt)},enumerable:!1,configurable:!0}),D}();T.BufferNamespaceApi=P},7975:function(Z,T){Object.defineProperty(T,"__esModule",{value:!0}),T.ParserApi=void 0;var R=function(){function C(v){this._core=v}return C.prototype.registerCsiHandler=function(v,P){return this._core.registerCsiHandler(v,function(D){return P(D.toArray())})},C.prototype.addCsiHandler=function(v,P){return this.registerCsiHandler(v,P)},C.prototype.registerDcsHandler=function(v,P){return this._core.registerDcsHandler(v,function(D,M){return P(D,M.toArray())})},C.prototype.addDcsHandler=function(v,P){return this.registerDcsHandler(v,P)},C.prototype.registerEscHandler=function(v,P){return this._core.registerEscHandler(v,P)},C.prototype.addEscHandler=function(v,P){return this.registerEscHandler(v,P)},C.prototype.registerOscHandler=function(v,P){return this._core.registerOscHandler(v,P)},C.prototype.addOscHandler=function(v,P){return this.registerOscHandler(v,P)},C}();T.ParserApi=R},7090:function(Z,T){Object.defineProperty(T,"__esModule",{value:!0}),T.UnicodeApi=void 0;var R=function(){function C(v){this._core=v}return C.prototype.register=function(v){this._core.unicodeService.register(v)},Object.defineProperty(C.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(P){this._core.unicodeService.activeVersion=P},enumerable:!1,configurable:!0}),C}();T.UnicodeApi=R},744:function(Z,T,R){var C,v=this&&this.__extends||(C=function(E,x){return(C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,O){S.__proto__=O}||function(S,O){for(var L in O)Object.prototype.hasOwnProperty.call(O,L)&&(S[L]=O[L])})(E,x)},function(N,E){if("function"!=typeof E&&null!==E)throw new TypeError("Class extends value "+String(E)+" is not a constructor or null");function x(){this.constructor=N}C(N,E),N.prototype=null===E?Object.create(E):(x.prototype=E.prototype,new x)}),P=this&&this.__decorate||function(N,E,x,S){var O,L=arguments.length,j=L<3?E:null===S?S=Object.getOwnPropertyDescriptor(E,x):S;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)j=Reflect.decorate(N,E,x,S);else for(var K=N.length-1;K>=0;K--)(O=N[K])&&(j=(L<3?O(j):L>3?O(E,x,j):O(E,x))||j);return L>3&&j&&Object.defineProperty(E,x,j),j},D=this&&this.__param||function(N,E){return function(x,S){E(x,S,N)}};Object.defineProperty(T,"__esModule",{value:!0}),T.BufferService=T.MINIMUM_ROWS=T.MINIMUM_COLS=void 0;var M=R(2585),A=R(5295),_=R(8460),g=R(844);T.MINIMUM_COLS=2,T.MINIMUM_ROWS=1;var k=function(N){function E(x){var S=N.call(this)||this;return S._optionsService=x,S.isUserScrolling=!1,S._onResize=new _.EventEmitter,S._onScroll=new _.EventEmitter,S.cols=Math.max(x.options.cols||0,T.MINIMUM_COLS),S.rows=Math.max(x.options.rows||0,T.MINIMUM_ROWS),S.buffers=new A.BufferSet(x,S),S}return v(E,N),Object.defineProperty(E.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),E.prototype.dispose=function(){N.prototype.dispose.call(this),this.buffers.dispose()},E.prototype.resize=function(x,S){this.cols=x,this.rows=S,this.buffers.resize(x,S),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:x,rows:S})},E.prototype.reset=function(){this.buffers.reset(),this.isUserScrolling=!1},E.prototype.scroll=function(x,S){void 0===S&&(S=!1);var O,L=this.buffer;(O=this._cachedBlankLine)&&O.length===this.cols&&O.getFg(0)===x.fg&&O.getBg(0)===x.bg||(O=L.getBlankLine(x,S),this._cachedBlankLine=O),O.isWrapped=S;var j=L.ybase+L.scrollTop,K=L.ybase+L.scrollBottom;if(0===L.scrollTop){var z=L.lines.isFull;K===L.lines.length-1?z?L.lines.recycle().copyFrom(O):L.lines.push(O.clone()):L.lines.splice(K+1,0,O.clone()),z?this.isUserScrolling&&(L.ydisp=Math.max(L.ydisp-1,0)):(L.ybase++,this.isUserScrolling||L.ydisp++)}else L.lines.shiftElements(j+1,K-j+1-1,-1),L.lines.set(K,O.clone());this.isUserScrolling||(L.ydisp=L.ybase),this._onScroll.fire(L.ydisp)},E.prototype.scrollLines=function(x,S,O){var L=this.buffer;if(x<0){if(0===L.ydisp)return;this.isUserScrolling=!0}else x+L.ydisp>=L.ybase&&(this.isUserScrolling=!1);var j=L.ydisp;L.ydisp=Math.max(Math.min(L.ydisp+x,L.ybase),0),j!==L.ydisp&&(S||this._onScroll.fire(L.ydisp))},E.prototype.scrollPages=function(x){this.scrollLines(x*(this.rows-1))},E.prototype.scrollToTop=function(){this.scrollLines(-this.buffer.ydisp)},E.prototype.scrollToBottom=function(){this.scrollLines(this.buffer.ybase-this.buffer.ydisp)},E.prototype.scrollToLine=function(x){var S=x-this.buffer.ydisp;0!==S&&this.scrollLines(S)},P([D(0,M.IOptionsService)],E)}(g.Disposable);T.BufferService=k},7994:function(Z,T){Object.defineProperty(T,"__esModule",{value:!0}),T.CharsetService=void 0;var R=function(){function C(){this.glevel=0,this._charsets=[]}return C.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},C.prototype.setgLevel=function(v){this.glevel=v,this.charset=this._charsets[v]},C.prototype.setgCharset=function(v,P){this._charsets[v]=P,this.glevel===v&&(this.charset=P)},C}();T.CharsetService=R},1753:function(Z,T,R){var C=this&&this.__decorate||function(N,E,x,S){var O,L=arguments.length,j=L<3?E:null===S?S=Object.getOwnPropertyDescriptor(E,x):S;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)j=Reflect.decorate(N,E,x,S);else for(var K=N.length-1;K>=0;K--)(O=N[K])&&(j=(L<3?O(j):L>3?O(E,x,j):O(E,x))||j);return L>3&&j&&Object.defineProperty(E,x,j),j},v=this&&this.__param||function(N,E){return function(x,S){E(x,S,N)}};Object.defineProperty(T,"__esModule",{value:!0}),T.CoreMouseService=void 0;var P=R(2585),D=R(8460),M={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(E){return 4!==E.button&&1===E.action&&(E.ctrl=!1,E.alt=!1,E.shift=!1,!0)}},VT200:{events:19,restrict:function(E){return 32!==E.action}},DRAG:{events:23,restrict:function(E){return 32!==E.action||3!==E.button}},ANY:{events:31,restrict:function(E){return!0}}};function A(N,E){var x=(N.ctrl?16:0)|(N.shift?4:0)|(N.alt?8:0);return 4===N.button?(x|=64,x|=N.action):(x|=3&N.button,4&N.button&&(x|=64),8&N.button&&(x|=128),32===N.action?x|=32:0!==N.action||E||(x|=3)),x}var _=String.fromCharCode,g={DEFAULT:function(E){var x=[A(E,!1)+32,E.col+32,E.row+32];return x[0]>255||x[1]>255||x[2]>255?"":"\x1b[M"+_(x[0])+_(x[1])+_(x[2])},SGR:function(E){var x=0===E.action&&4!==E.button?"m":"M";return"\x1b[<"+A(E,!0)+";"+E.col+";"+E.row+x}},k=function(){function N(E,x){this._bufferService=E,this._coreService=x,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new D.EventEmitter,this._lastEvent=null;for(var S=0,O=Object.keys(M);S<O.length;S++){var L=O[S];this.addProtocol(L,M[L])}for(var j=0,K=Object.keys(g);j<K.length;j++){var z=K[j];this.addEncoding(z,g[z])}this.reset()}return N.prototype.addProtocol=function(E,x){this._protocols[E]=x},N.prototype.addEncoding=function(E,x){this._encodings[E]=x},Object.defineProperty(N.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(x){if(!this._protocols[x])throw new Error('unknown protocol "'+x+'"');this._activeProtocol=x,this._onProtocolChange.fire(this._protocols[x].events)},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"areMouseEventsActive",{get:function(){return 0!==this._protocols[this._activeProtocol].events},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(x){if(!this._encodings[x])throw new Error('unknown encoding "'+x+'"');this._activeEncoding=x},enumerable:!1,configurable:!0}),N.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(N.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!1,configurable:!0}),N.prototype.triggerMouseEvent=function(E){if(E.col<0||E.col>=this._bufferService.cols||E.row<0||E.row>=this._bufferService.rows||4===E.button&&32===E.action||3===E.button&&32!==E.action||4!==E.button&&(2===E.action||3===E.action)||(E.col++,E.row++,32===E.action&&this._lastEvent&&this._compareEvents(this._lastEvent,E))||!this._protocols[this._activeProtocol].restrict(E))return!1;var x=this._encodings[this._activeEncoding](E);return x&&("DEFAULT"===this._activeEncoding?this._coreService.triggerBinaryEvent(x):this._coreService.triggerDataEvent(x,!0)),this._lastEvent=E,!0},N.prototype.explainEvents=function(E){return{down:!!(1&E),up:!!(2&E),drag:!!(4&E),move:!!(8&E),wheel:!!(16&E)}},N.prototype._compareEvents=function(E,x){return E.col===x.col&&E.row===x.row&&E.button===x.button&&E.action===x.action&&E.ctrl===x.ctrl&&E.alt===x.alt&&E.shift===x.shift},C([v(0,P.IBufferService),v(1,P.ICoreService)],N)}();T.CoreMouseService=k},6975:function(Z,T,R){var C,v=this&&this.__extends||(C=function(S,O){return(C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L,j){L.__proto__=j}||function(L,j){for(var K in j)Object.prototype.hasOwnProperty.call(j,K)&&(L[K]=j[K])})(S,O)},function(x,S){if("function"!=typeof S&&null!==S)throw new TypeError("Class extends value "+String(S)+" is not a constructor or null");function O(){this.constructor=x}C(x,S),x.prototype=null===S?Object.create(S):(O.prototype=S.prototype,new O)}),P=this&&this.__decorate||function(x,S,O,L){var j,K=arguments.length,z=K<3?S:null===L?L=Object.getOwnPropertyDescriptor(S,O):L;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)z=Reflect.decorate(x,S,O,L);else for(var J=x.length-1;J>=0;J--)(j=x[J])&&(z=(K<3?j(z):K>3?j(S,O,z):j(S,O))||z);return K>3&&z&&Object.defineProperty(S,O,z),z},D=this&&this.__param||function(x,S){return function(O,L){S(O,L,x)}};Object.defineProperty(T,"__esModule",{value:!0}),T.CoreService=void 0;var M=R(2585),A=R(8460),_=R(1439),g=R(844),k=Object.freeze({insertMode:!1}),N=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),E=function(x){function S(O,L,j,K){var z=x.call(this)||this;return z._bufferService=L,z._logService=j,z._optionsService=K,z.isCursorInitialized=!1,z.isCursorHidden=!1,z._onData=z.register(new A.EventEmitter),z._onUserInput=z.register(new A.EventEmitter),z._onBinary=z.register(new A.EventEmitter),z._scrollToBottom=O,z.register({dispose:function(){return z._scrollToBottom=void 0}}),z.modes=_.clone(k),z.decPrivateModes=_.clone(N),z}return v(S,x),Object.defineProperty(S.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),S.prototype.reset=function(){this.modes=_.clone(k),this.decPrivateModes=_.clone(N)},S.prototype.triggerDataEvent=function(O,L){if(void 0===L&&(L=!1),!this._optionsService.options.disableStdin){var j=this._bufferService.buffer;j.ybase!==j.ydisp&&this._scrollToBottom(),L&&this._onUserInput.fire(),this._logService.debug('sending data "'+O+'"',function(){return O.split("").map(function(K){return K.charCodeAt(0)})}),this._onData.fire(O)}},S.prototype.triggerBinaryEvent=function(O){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+O+'"',function(){return O.split("").map(function(L){return L.charCodeAt(0)})}),this._onBinary.fire(O))},P([D(1,M.IBufferService),D(2,M.ILogService),D(3,M.IOptionsService)],S)}(g.Disposable);T.CoreService=E},3730:function(Z,T,R){var C=this&&this.__decorate||function(M,A,_,g){var k,N=arguments.length,E=N<3?A:null===g?g=Object.getOwnPropertyDescriptor(A,_):g;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)E=Reflect.decorate(M,A,_,g);else for(var x=M.length-1;x>=0;x--)(k=M[x])&&(E=(N<3?k(E):N>3?k(A,_,E):k(A,_))||E);return N>3&&E&&Object.defineProperty(A,_,E),E},v=this&&this.__param||function(M,A){return function(_,g){A(_,g,M)}};Object.defineProperty(T,"__esModule",{value:!0}),T.DirtyRowService=void 0;var P=R(2585),D=function(){function M(A){this._bufferService=A,this.clearRange()}return Object.defineProperty(M.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),M.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},M.prototype.markDirty=function(A){A<this._start?this._start=A:A>this._end&&(this._end=A)},M.prototype.markRangeDirty=function(A,_){if(A>_){var g=A;A=_,_=g}A<this._start&&(this._start=A),_>this._end&&(this._end=_)},M.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},C([v(0,P.IBufferService)],M)}();T.DirtyRowService=D},4348:function(Z,T,R){var C=this&&this.__spreadArray||function(A,_){for(var g=0,k=_.length,N=A.length;g<k;g++,N++)A[N]=_[g];return A};Object.defineProperty(T,"__esModule",{value:!0}),T.InstantiationService=T.ServiceCollection=void 0;var v=R(2585),P=R(8343),D=function(){function A(){for(var _=[],g=0;g<arguments.length;g++)_[g]=arguments[g];this._entries=new Map;for(var k=0,N=_;k<N.length;k++){var E=N[k];this.set(E[0],E[1])}}return A.prototype.set=function(_,g){var k=this._entries.get(_);return this._entries.set(_,g),k},A.prototype.forEach=function(_){this._entries.forEach(function(g,k){return _(k,g)})},A.prototype.has=function(_){return this._entries.has(_)},A.prototype.get=function(_){return this._entries.get(_)},A}();T.ServiceCollection=D;var M=function(){function A(){this._services=new D,this._services.set(v.IInstantiationService,this)}return A.prototype.setService=function(_,g){this._services.set(_,g)},A.prototype.getService=function(_){return this._services.get(_)},A.prototype.createInstance=function(_){for(var g=[],k=1;k<arguments.length;k++)g[k-1]=arguments[k];for(var N=P.getServiceDependencies(_).sort(function(K,z){return K.index-z.index}),E=[],x=0,S=N;x<S.length;x++){var O=S[x],L=this._services.get(O.id);if(!L)throw new Error("[createInstance] "+_.name+" depends on UNKNOWN service "+O.id+".");E.push(L)}var j=N.length>0?N[0].index:g.length;if(g.length!==j)throw new Error("[createInstance] First service dependency of "+_.name+" at position "+(j+1)+" conflicts with "+g.length+" static arguments");return new(_.bind.apply(_,C([void 0],C(C([],g),E))))},A}();T.InstantiationService=M},7866:function(Z,T,R){var C=this&&this.__decorate||function(_,g,k,N){var E,x=arguments.length,S=x<3?g:null===N?N=Object.getOwnPropertyDescriptor(g,k):N;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)S=Reflect.decorate(_,g,k,N);else for(var O=_.length-1;O>=0;O--)(E=_[O])&&(S=(x<3?E(S):x>3?E(g,k,S):E(g,k))||S);return x>3&&S&&Object.defineProperty(g,k,S),S},v=this&&this.__param||function(_,g){return function(k,N){g(k,N,_)}},P=this&&this.__spreadArray||function(_,g){for(var k=0,N=g.length,E=_.length;k<N;k++,E++)_[E]=g[k];return _};Object.defineProperty(T,"__esModule",{value:!0}),T.LogService=void 0;var D=R(2585),M={debug:D.LogLevelEnum.DEBUG,info:D.LogLevelEnum.INFO,warn:D.LogLevelEnum.WARN,error:D.LogLevelEnum.ERROR,off:D.LogLevelEnum.OFF},A=function(){function _(g){var k=this;this._optionsService=g,this.logLevel=D.LogLevelEnum.OFF,this._updateLogLevel(),this._optionsService.onOptionChange(function(N){"logLevel"===N&&k._updateLogLevel()})}return _.prototype._updateLogLevel=function(){this.logLevel=M[this._optionsService.options.logLevel]},_.prototype._evalLazyOptionalParams=function(g){for(var k=0;k<g.length;k++)"function"==typeof g[k]&&(g[k]=g[k]())},_.prototype._log=function(g,k,N){this._evalLazyOptionalParams(N),g.call.apply(g,P([console,"xterm.js: "+k],N))},_.prototype.debug=function(g){for(var k=[],N=1;N<arguments.length;N++)k[N-1]=arguments[N];this.logLevel<=D.LogLevelEnum.DEBUG&&this._log(console.log,g,k)},_.prototype.info=function(g){for(var k=[],N=1;N<arguments.length;N++)k[N-1]=arguments[N];this.logLevel<=D.LogLevelEnum.INFO&&this._log(console.info,g,k)},_.prototype.warn=function(g){for(var k=[],N=1;N<arguments.length;N++)k[N-1]=arguments[N];this.logLevel<=D.LogLevelEnum.WARN&&this._log(console.warn,g,k)},_.prototype.error=function(g){for(var k=[],N=1;N<arguments.length;N++)k[N-1]=arguments[N];this.logLevel<=D.LogLevelEnum.ERROR&&this._log(console.error,g,k)},C([v(0,D.IOptionsService)],_)}();T.LogService=A},7302:function(Z,T,R){Object.defineProperty(T,"__esModule",{value:!0}),T.OptionsService=T.DEFAULT_OPTIONS=T.DEFAULT_BELL_SOUND=void 0;var C=R(8460),v=R(6114),P=R(1439);T.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",T.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,customGlyphs:!0,bellSound:T.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,linkTooltipHoverDuration:500,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowProposedApi:!0,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:v.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",altClickMovesCursor:!0,convertEol:!1,termName:"xterm",cancelEvents:!1});var D=["normal","bold","100","200","300","400","500","600","700","800","900"],M=["cols","rows"],A=function(){function _(g){this._onOptionChange=new C.EventEmitter,this.options=P.clone(T.DEFAULT_OPTIONS);for(var k=0,N=Object.keys(g);k<N.length;k++){var E=N[k];if(E in this.options)try{this.options[E]=this._sanitizeAndValidateOption(E,g[E])}catch(S){console.error(S)}}}return Object.defineProperty(_.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!1,configurable:!0}),_.prototype.setOption=function(g,k){if(!(g in T.DEFAULT_OPTIONS))throw new Error('No option with key "'+g+'"');if(M.includes(g))throw new Error('Option "'+g+'" can only be set in the constructor');this.options[g]!==k&&(k=this._sanitizeAndValidateOption(g,k),this.options[g]!==k&&(this.options[g]=k,this._onOptionChange.fire(g)))},_.prototype._sanitizeAndValidateOption=function(g,k){switch(g){case"bellStyle":case"cursorStyle":case"rendererType":case"wordSeparator":k||(k=T.DEFAULT_OPTIONS[g]);break;case"fontWeight":case"fontWeightBold":if("number"==typeof k&&1<=k&&k<=1e3)break;k=D.includes(k)?k:T.DEFAULT_OPTIONS[g];break;case"cursorWidth":k=Math.floor(k);case"lineHeight":case"tabStopWidth":if(k<1)throw new Error(g+" cannot be less than 1, value: "+k);break;case"minimumContrastRatio":k=Math.max(1,Math.min(21,Math.round(10*k)/10));break;case"scrollback":if((k=Math.min(k,4294967295))<0)throw new Error(g+" cannot be less than 0, value: "+k);break;case"fastScrollSensitivity":case"scrollSensitivity":if(k<=0)throw new Error(g+" cannot be less than or equal to 0, value: "+k);case"rows":case"cols":if(!k&&0!==k)throw new Error(g+" must be numeric, value: "+k)}return k},_.prototype.getOption=function(g){if(!(g in T.DEFAULT_OPTIONS))throw new Error('No option with key "'+g+'"');return this.options[g]},_}();T.OptionsService=A},8343:function(Z,T){function R(C,v,P){v.di$target===v?v.di$dependencies.push({id:C,index:P}):(v.di$dependencies=[{id:C,index:P}],v.di$target=v)}Object.defineProperty(T,"__esModule",{value:!0}),T.createDecorator=T.getServiceDependencies=T.serviceRegistry=void 0,T.serviceRegistry=new Map,T.getServiceDependencies=function(C){return C.di$dependencies||[]},T.createDecorator=function(C){if(T.serviceRegistry.has(C))return T.serviceRegistry.get(C);var v=function P(D,M,A){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");R(P,D,A)};return v.toString=function(){return C},T.serviceRegistry.set(C,v),v}},2585:function(Z,T,R){Object.defineProperty(T,"__esModule",{value:!0}),T.IUnicodeService=T.LogLevelEnum=T.IOptionsService=T.ILogService=T.IInstantiationService=T.IDirtyRowService=T.ICharsetService=T.ICoreService=T.ICoreMouseService=T.IBufferService=void 0;var C,v=R(8343);T.IBufferService=v.createDecorator("BufferService"),T.ICoreMouseService=v.createDecorator("CoreMouseService"),T.ICoreService=v.createDecorator("CoreService"),T.ICharsetService=v.createDecorator("CharsetService"),T.IDirtyRowService=v.createDecorator("DirtyRowService"),T.IInstantiationService=v.createDecorator("InstantiationService"),T.ILogService=v.createDecorator("LogService"),T.IOptionsService=v.createDecorator("OptionsService"),(C=T.LogLevelEnum||(T.LogLevelEnum={}))[C.DEBUG=0]="DEBUG",C[C.INFO=1]="INFO",C[C.WARN=2]="WARN",C[C.ERROR=3]="ERROR",C[C.OFF=4]="OFF",T.IUnicodeService=v.createDecorator("UnicodeService")},1480:function(Z,T,R){Object.defineProperty(T,"__esModule",{value:!0}),T.UnicodeService=void 0;var C=R(8460),v=R(225),P=function(){function D(){this._providers=Object.create(null),this._active="",this._onChange=new C.EventEmitter;var M=new v.UnicodeV6;this.register(M),this._active=M.version,this._activeProvider=M}return Object.defineProperty(D.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"activeVersion",{get:function(){return this._active},set:function(A){if(!this._providers[A])throw new Error('unknown Unicode version "'+A+'"');this._active=A,this._activeProvider=this._providers[A],this._onChange.fire(A)},enumerable:!1,configurable:!0}),D.prototype.register=function(M){this._providers[M.version]=M},D.prototype.wcwidth=function(M){return this._activeProvider.wcwidth(M)},D.prototype.getStringCellWidth=function(M){for(var A=0,_=M.length,g=0;g<_;++g){var k=M.charCodeAt(g);if(55296<=k&&k<=56319){if(++g>=_)return A+this.wcwidth(k);var N=M.charCodeAt(g);56320<=N&&N<=57343?k=1024*(k-55296)+N-56320+65536:A+=this.wcwidth(N)}A+=this.wcwidth(k)}return A},D}();T.UnicodeService=P}},f={};function U(V){var Z=f[V];if(void 0!==Z)return Z.exports;var T=f[V]={exports:{}};return q[V].call(T.exports,T,T.exports,U),T.exports}var B={};return function(){var V=B;Object.defineProperty(V,"__esModule",{value:!0}),V.Terminal=void 0;var Z=U(3236),T=U(9042),R=U(7975),C=U(7090),v=U(5741),P=U(8285),D=function(){function M(A){this._core=new Z.Terminal(A),this._addonManager=new v.AddonManager}return M.prototype._checkProposedApi=function(){if(!this._core.optionsService.options.allowProposedApi)throw new Error("You must set the allowProposedApi option to true to use proposed API")},Object.defineProperty(M.prototype,"onBell",{get:function(){return this._core.onBell},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onData",{get:function(){return this._core.onData},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"element",{get:function(){return this._core.element},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"parser",{get:function(){return this._checkProposedApi(),this._parser||(this._parser=new R.ParserApi(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"unicode",{get:function(){return this._checkProposedApi(),new C.UnicodeApi(this._core)},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"rows",{get:function(){return this._core.rows},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"cols",{get:function(){return this._core.cols},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"buffer",{get:function(){return this._checkProposedApi(),this._buffer||(this._buffer=new P.BufferNamespaceApi(this._core)),this._buffer},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"markers",{get:function(){return this._checkProposedApi(),this._core.markers},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"modes",{get:function(){var _=this._core.coreService.decPrivateModes,g="none";switch(this._core.coreMouseService.activeProtocol){case"X10":g="x10";break;case"VT200":g="vt200";break;case"DRAG":g="drag";break;case"ANY":g="any"}return{applicationCursorKeysMode:_.applicationCursorKeys,applicationKeypadMode:_.applicationKeypad,bracketedPasteMode:_.bracketedPasteMode,insertMode:this._core.coreService.modes.insertMode,mouseTrackingMode:g,originMode:_.origin,reverseWraparoundMode:_.reverseWraparound,sendFocusMode:_.sendFocus,wraparoundMode:_.wraparound}},enumerable:!1,configurable:!0}),M.prototype.blur=function(){this._core.blur()},M.prototype.focus=function(){this._core.focus()},M.prototype.resize=function(A,_){this._verifyIntegers(A,_),this._core.resize(A,_)},M.prototype.open=function(A){this._core.open(A)},M.prototype.attachCustomKeyEventHandler=function(A){this._core.attachCustomKeyEventHandler(A)},M.prototype.registerLinkMatcher=function(A,_,g){return this._checkProposedApi(),this._core.registerLinkMatcher(A,_,g)},M.prototype.deregisterLinkMatcher=function(A){this._checkProposedApi(),this._core.deregisterLinkMatcher(A)},M.prototype.registerLinkProvider=function(A){return this._checkProposedApi(),this._core.registerLinkProvider(A)},M.prototype.registerCharacterJoiner=function(A){return this._checkProposedApi(),this._core.registerCharacterJoiner(A)},M.prototype.deregisterCharacterJoiner=function(A){this._checkProposedApi(),this._core.deregisterCharacterJoiner(A)},M.prototype.registerMarker=function(A){return this._checkProposedApi(),this._verifyIntegers(A),this._core.addMarker(A)},M.prototype.addMarker=function(A){return this.registerMarker(A)},M.prototype.hasSelection=function(){return this._core.hasSelection()},M.prototype.select=function(A,_,g){this._verifyIntegers(A,_,g),this._core.select(A,_,g)},M.prototype.getSelection=function(){return this._core.getSelection()},M.prototype.getSelectionPosition=function(){return this._core.getSelectionPosition()},M.prototype.clearSelection=function(){this._core.clearSelection()},M.prototype.selectAll=function(){this._core.selectAll()},M.prototype.selectLines=function(A,_){this._verifyIntegers(A,_),this._core.selectLines(A,_)},M.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},M.prototype.scrollLines=function(A){this._verifyIntegers(A),this._core.scrollLines(A)},M.prototype.scrollPages=function(A){this._verifyIntegers(A),this._core.scrollPages(A)},M.prototype.scrollToTop=function(){this._core.scrollToTop()},M.prototype.scrollToBottom=function(){this._core.scrollToBottom()},M.prototype.scrollToLine=function(A){this._verifyIntegers(A),this._core.scrollToLine(A)},M.prototype.clear=function(){this._core.clear()},M.prototype.write=function(A,_){this._core.write(A,_)},M.prototype.writeUtf8=function(A,_){this._core.write(A,_)},M.prototype.writeln=function(A,_){this._core.write(A),this._core.write("\r\n",_)},M.prototype.paste=function(A){this._core.paste(A)},M.prototype.getOption=function(A){return this._core.optionsService.getOption(A)},M.prototype.setOption=function(A,_){this._core.optionsService.setOption(A,_)},M.prototype.refresh=function(A,_){this._verifyIntegers(A,_),this._core.refresh(A,_)},M.prototype.reset=function(){this._core.reset()},M.prototype.loadAddon=function(A){return this._addonManager.loadAddon(this,A)},Object.defineProperty(M,"strings",{get:function(){return T},enumerable:!1,configurable:!0}),M.prototype._verifyIntegers=function(){for(var A=[],_=0;_<arguments.length;_++)A[_]=arguments[_];for(var g=0,k=A;g<k.length;g++){var N=k[g];if(N===1/0||isNaN(N)||N%1!=0)throw new Error("This API only accepts integers")}},M}();V.Terminal=D}(),B}()},18419:function(ue,q,f){"use strict";f.d(q,{o:function(){return V}});var U=f(90838),B=f(68707),V=function(){function Z(){this.data=[],this.dataChange=new U.X([]),this.itemUpdated=new B.xQ}return Z.prototype.getItems=function(){return this.data},Z.prototype.add=function(T){this.findIndex(T)>=0?this.update(T):(this.data.push(T),this.dataChange.next(this.data))},Z.prototype.set=function(T){var R=this;T.forEach(function(v){var P=R.findIndex(v);if(P>=0){var D=Object.assign(R.data[P],v);R.data[P]=D}else R.data.push(v)}),this.data.filter(function(v){return 0===T.filter(function(P){return R.getItemKey(P)===R.getItemKey(v)}).length}).forEach(function(v){return R.remove(v)}),this.dataChange.next(this.data)},Z.prototype.get=function(T){var R=this,C=this.data.findIndex(function(v){return R.getItemKey(v)===T});if(C>=0)return this.data[C]},Z.prototype.update=function(T){var R=this.findIndex(T);if(R>=0){var C=Object.assign(this.data[R],T);this.data[R]=C,this.dataChange.next(this.data),this.itemUpdated.next(C)}},Z.prototype.remove=function(T){var R=this.findIndex(T);R>=0&&(this.data.splice(R,1),this.dataChange.next(this.data))},Object.defineProperty(Z.prototype,"changes",{get:function(){return this.dataChange},enumerable:!1,configurable:!0}),Object.defineProperty(Z.prototype,"itemChanged",{get:function(){return this.itemUpdated},enumerable:!1,configurable:!0}),Z.prototype.clear=function(){this.data=[],this.dataChange.next(this.data)},Z.prototype.findIndex=function(T){var R=this;return this.data.findIndex(function(C){return R.getItemKey(C)===R.getItemKey(T)})},Z}()},3941:function(ue,q,f){"use strict";f.d(q,{F:function(){return Z}});var U=f(61855),B=f(18419),V=f(65508),Z=function(T){function R(){return null!==T&&T.apply(this,arguments)||this}return(0,U.ZT)(R,T),R.prototype.getItemKey=function(C){return C.link_id},R.\u0275fac=function(){var C;return function(P){return(C||(C=V.n5z(R)))(P||R)}}(),R.\u0275prov=V.Yz7({token:R,factory:R.\u0275fac}),R}(B.o)},96852:function(ue,q,f){"use strict";f.d(q,{G:function(){return Z}});var U=f(61855),B=f(18419),V=f(65508),Z=function(T){function R(){return null!==T&&T.apply(this,arguments)||this}return(0,U.ZT)(R,T),R.prototype.getItemKey=function(C){return C.node_id},R.\u0275fac=function(){var C;return function(P){return(C||(C=V.n5z(R)))(P||R)}}(),R.\u0275prov=V.Yz7({token:R,factory:R.\u0275fac}),R}(B.o)},36889:function(ue,q,f){"use strict";f.d(q,{X:function(){return V}});var U=f(65508),B=f(96153),V=function(){function Z(T){this.httpServer=T}return Z.prototype.getComputes=function(T){return this.httpServer.get(T,"/computes")},Z.prototype.getUploadPath=function(T,R,C){return T.protocol+"//"+T.host+":"+T.port+"/v2/"+R+"/images/"+C},Z.prototype.getStatistics=function(T){return this.httpServer.get(T,"/statistics")},Z.\u0275fac=function(R){return new(R||Z)(U.LFG(B.wh))},Z.\u0275prov=U.Yz7({token:Z,factory:Z.\u0275fac}),Z}()},96153:function(ue,q,f){"use strict";f.d(q,{gc:function(){return C},wh:function(){return v}});var U=f(61855),B=f(65508),V=f(11363),Z=f(13426),T=f(75472),R=function(P){function D(M){return P.call(this,M)||this}return(0,U.ZT)(D,P),D.fromError=function(M,A){var _=new D(M);return _.originalError=A,_},D}(Error),C=function(){function P(){}return P.prototype.handleError=function(D){var M=D;return"HttpErrorResponse"===D.name&&0===D.status&&(M=R.fromError("Server is unreachable",D)),(0,V._)(M)},P.\u0275prov=B.Yz7({token:P,factory:P.\u0275fac=function(M){return new(M||P)}}),P}(),v=function(){function P(D,M){this.http=D,this.errorHandler=M,this.requestsNotificationEmitter=new B.vpe}return P.prototype.get=function(D,M,A){A=this.getJsonOptions(A);var _=this.getOptionsForServer(D,M,A);return this.requestsNotificationEmitter.emit("GET "+_.url),this.http.get(_.url,_.options).pipe((0,Z.K)(this.errorHandler.handleError))},P.prototype.getText=function(D,M,A){A=this.getTextOptions(A);var _=this.getOptionsForServer(D,M,A);return this.requestsNotificationEmitter.emit("GET "+_.url),this.http.get(_.url,_.options).pipe((0,Z.K)(this.errorHandler.handleError))},P.prototype.post=function(D,M,A,_){_=this.getJsonOptions(_);var g=this.getOptionsForServer(D,M,_);return this.requestsNotificationEmitter.emit("POST "+g.url),this.http.post(g.url,A,g.options).pipe((0,Z.K)(this.errorHandler.handleError))},P.prototype.put=function(D,M,A,_){_=this.getJsonOptions(_);var g=this.getOptionsForServer(D,M,_);return this.requestsNotificationEmitter.emit("PUT "+g.url),this.http.put(g.url,A,g.options).pipe((0,Z.K)(this.errorHandler.handleError))},P.prototype.delete=function(D,M,A){A=this.getJsonOptions(A);var _=this.getOptionsForServer(D,M,A);return this.requestsNotificationEmitter.emit("DELETE "+_.url),this.http.delete(_.url,_.options).pipe((0,Z.K)(this.errorHandler.handleError))},P.prototype.patch=function(D,M,A,_){_=this.getJsonOptions(_);var g=this.getOptionsForServer(D,M,_);return this.http.patch(g.url,A,g.options).pipe((0,Z.K)(this.errorHandler.handleError))},P.prototype.head=function(D,M,A){A=this.getJsonOptions(A);var _=this.getOptionsForServer(D,M,A);return this.http.head(_.url,_.options).pipe((0,Z.K)(this.errorHandler.handleError))},P.prototype.options=function(D,M,A){A=this.getJsonOptions(A);var _=this.getOptionsForServer(D,M,A);return this.http.options(_.url,_.options).pipe((0,Z.K)(this.errorHandler.handleError))},P.prototype.getJsonOptions=function(D){return D||{responseType:"json"}},P.prototype.getTextOptions=function(D){return D||{responseType:"text"}},P.prototype.getOptionsForServer=function(D,M,A){if(D.host&&D.port?(D.protocol||(D.protocol=location.protocol),M=D.protocol+"//"+D.host+":"+D.port+"/v2"+M):M="/v2"+M,A.headers||(A.headers={}),"basic"===D.authorization){var _=btoa(D.login+":"+D.password);A.headers.Authorization="Basic "+_}return{url:M,options:A}},P.\u0275fac=function(M){return new(M||P)(B.LFG(T.eN),B.LFG(C))},P.\u0275prov=B.Yz7({token:P,factory:P.\u0275fac}),P}()},14200:function(ue,q,f){"use strict";f.d(q,{Y:function(){return R}});var U=f(68707),B=f(65508),V=f(96153),Z=f(10503),T=f(2094),R=function(){function C(v,P,D){this.httpServer=v,this.settingsService=P,this.recentlyOpenedProjectService=D,this.projectListSubject=new U.xQ}return C.prototype.projectListUpdated=function(){this.projectListSubject.next(!0)},C.prototype.get=function(v,P){return this.httpServer.get(v,"/projects/"+P)},C.prototype.open=function(v,P){return this.httpServer.post(v,"/projects/"+P+"/open",{})},C.prototype.close=function(v,P){return this.recentlyOpenedProjectService.removeData(),this.httpServer.post(v,"/projects/"+P+"/close",{})},C.prototype.list=function(v){return this.httpServer.get(v,"/projects")},C.prototype.nodes=function(v,P){return this.httpServer.get(v,"/projects/"+P+"/nodes")},C.prototype.links=function(v,P){return this.httpServer.get(v,"/projects/"+P+"/links")},C.prototype.drawings=function(v,P){return this.httpServer.get(v,"/projects/"+P+"/drawings")},C.prototype.add=function(v,P,D){return this.httpServer.post(v,"/projects",{name:P,project_id:D})},C.prototype.update=function(v,P){return this.httpServer.put(v,"/projects/"+P.project_id,{auto_close:P.auto_close,auto_open:P.auto_open,auto_start:P.auto_start,drawing_grid_size:P.drawing_grid_size,grid_size:P.grid_size,name:P.name,scene_width:P.scene_width,scene_height:P.scene_height,show_interface_labels:P.show_interface_labels})},C.prototype.delete=function(v,P){return this.httpServer.delete(v,"/projects/"+P)},C.prototype.getUploadPath=function(v,P,D){return v.protocol+"//"+v.host+":"+v.port+"/v2/projects/"+P+"/import?name="+D},C.prototype.getExportPath=function(v,P){return v.protocol+"//"+v.host+":"+v.port+"/v2/projects/"+P.project_id+"/export"},C.prototype.export=function(v,P){return this.httpServer.get(v,"/projects/"+P+"/export")},C.prototype.getStatistics=function(v,P){return this.httpServer.get(v,"/projects/"+P+"/stats")},C.prototype.duplicate=function(v,P,D){return this.httpServer.post(v,"/projects/"+P+"/duplicate",{name:D})},C.prototype.isReadOnly=function(v){return!!v.readonly&&v.readonly},C.\u0275fac=function(P){return new(P||C)(B.LFG(V.wh),B.LFG(Z.g),B.LFG(T.p))},C.\u0275prov=B.Yz7({token:C,factory:C.\u0275fac}),C}()},2094:function(ue,q,f){"use strict";f.d(q,{p:function(){return B}});var U=f(65508),B=function(){function V(){}return V.prototype.setServerId=function(Z){this.serverId=Z},V.prototype.setProjectId=function(Z){this.projectId=Z},V.prototype.setServerIdProjectList=function(Z){this.serverIdProjectList=Z},V.prototype.getServerId=function(){return this.serverId},V.prototype.getProjectId=function(){return this.projectId},V.prototype.getServerIdProjectList=function(){return this.serverIdProjectList},V.prototype.removeData=function(){this.serverId="",this.projectId=""},V.\u0275prov=U.Yz7({token:V,factory:V.\u0275fac=function(T){return new(T||V)}}),V}()},10503:function(ue,q,f){"use strict";f.d(q,{g:function(){return B}});var U=f(65508),B=function(){function V(){this.settings={crash_reports:!0,console_command:void 0,anonymous_statistics:!0},this.reportsSettings="crash_reports",this.consoleSettings="console_command",this.statisticsSettings="statistics_command",this.getItem(this.reportsSettings)&&(this.settings.crash_reports="true"===this.getItem(this.reportsSettings)),this.getItem(this.consoleSettings)&&(this.settings.console_command=this.getItem(this.consoleSettings)),this.getItem(this.statisticsSettings)&&(this.settings.anonymous_statistics="true"===this.getItem(this.statisticsSettings))}return V.prototype.setReportsSettings=function(Z){this.settings.crash_reports=Z,this.removeItem(this.reportsSettings),this.setItem(this.reportsSettings,Z?"true":"false")},V.prototype.setStatisticsSettings=function(Z){this.settings.anonymous_statistics=Z,this.removeItem(this.statisticsSettings),this.setItem(this.statisticsSettings,Z?"true":"false")},V.prototype.getReportsSettings=function(){return"true"===this.getItem(this.reportsSettings)},V.prototype.getStatisticsSettings=function(){return"true"===this.getItem(this.statisticsSettings)},V.prototype.setConsoleSettings=function(Z){this.settings.console_command=Z,this.removeItem(this.consoleSettings),this.setItem(this.consoleSettings,Z)},V.prototype.getConsoleSettings=function(){return this.getItem(this.consoleSettings)},V.prototype.removeItem=function(Z){localStorage.removeItem(Z)},V.prototype.setItem=function(Z,T){localStorage.setItem(Z,T)},V.prototype.getItem=function(Z){return localStorage.getItem(Z)},V.prototype.getAll=function(){return this.settings},V.prototype.setAll=function(Z){this.settings=Z,this.setConsoleSettings(Z.console_command),this.setReportsSettings(Z.crash_reports),this.setStatisticsSettings(Z.anonymous_statistics)},V.\u0275prov=U.Yz7({token:V,factory:V.\u0275fac=function(T){return new(T||V)},providedIn:"root"}),V}()},15132:function(ue,q,f){"use strict";f.d(q,{f:function(){return V}});var U=f(65508),B=f(90838),V=function(){function Z(){this._darkMode$=new B.X(!1),this.darkMode$=this._darkMode$.asObservable(),this.themeChanged=new U.vpe,this.savedTheme="dark",localStorage.getItem("theme")||localStorage.setItem("theme","dark"),this.savedTheme=localStorage.getItem("theme")}return Z.prototype.getActualTheme=function(){return this.savedTheme},Z.prototype.setDarkMode=function(T){T?(this.savedTheme="dark",this.themeChanged.emit("dark-theme"),localStorage.setItem("theme","dark")):(this.savedTheme="light",this.themeChanged.emit("light-theme"),localStorage.setItem("theme","light"))},Z.\u0275prov=U.Yz7({token:Z,factory:Z.\u0275fac=function(R){return new(R||Z)},providedIn:"root"}),Z}()},55699:function(ue,q,f){"use strict";var U={};f.r(U),f.d(U,{active:function(){return sY},arc:function(){return Ate},area:function(){return sH},areaRadial:function(){return dH},ascending:function(){return kf},axisBottom:function(){return YC},axisLeft:function(){return kE},axisRight:function(){return wm},axisTop:function(){return wE},bisect:function(){return Ef},bisectLeft:function(){return tR},bisectRight:function(){return eR},bisector:function(){return mE},brush:function(){return gY},brushSelection:function(){return hY},brushX:function(){return mY},brushY:function(){return vY},chord:function(){return yY},clientPoint:function(){return C_},cluster:function(){return PK},color:function(){return Gc},contourDensity:function(){return WY},contours:function(){return y8},create:function(){return VE},creator:function(){return h_},cross:function(){return nR},csvFormat:function(){return tJ},csvFormatRows:function(){return nJ},csvParse:function(){return $Y},csvParseRows:function(){return eJ},cubehelix:function(){return De},curveBasis:function(){return Yte},curveBasisClosed:function(){return Jte},curveBasisOpen:function(){return Qte},curveBundle:function(){return Kte},curveCardinal:function(){return Xte},curveCardinalClosed:function(){return $te},curveCardinalOpen:function(){return ene},curveCatmullRom:function(){return tne},curveCatmullRomClosed:function(){return nne},curveCatmullRomOpen:function(){return rne},curveLinear:function(){return DA},curveLinearClosed:function(){return ine},curveMonotoneX:function(){return one},curveMonotoneY:function(){return ane},curveNatural:function(){return sne},curveStep:function(){return lne},curveStepAfter:function(){return cne},curveStepBefore:function(){return une},customEvent:function(){return Om},descending:function(){return v4},deviation:function(){return Mf},dispatch:function(){return Kd},drag:function(){return Uf},dragDisable:function(){return T_},dragEnable:function(){return Ul},dsvFormat:function(){return ON},easeBack:function(){return A8},easeBackIn:function(){return MJ},easeBackInOut:function(){return A8},easeBackOut:function(){return AJ},easeBounce:function(){return M1},easeBounceIn:function(){return kJ},easeBounceInOut:function(){return EJ},easeBounceOut:function(){return M1},easeCircle:function(){return M8},easeCircleIn:function(){return vJ},easeCircleInOut:function(){return M8},easeCircleOut:function(){return gJ},easeCubic:function(){return mN},easeCubicIn:function(){return nY},easeCubicInOut:function(){return mN},easeCubicOut:function(){return rY},easeElastic:function(){return D8},easeElasticIn:function(){return DJ},easeElasticInOut:function(){return OJ},easeElasticOut:function(){return D8},easeExp:function(){return E8},easeExpIn:function(){return hJ},easeExpInOut:function(){return E8},easeExpOut:function(){return mJ},easeLinear:function(){return sJ},easePoly:function(){return T8},easePolyIn:function(){return cJ},easePolyInOut:function(){return T8},easePolyOut:function(){return dJ},easeQuad:function(){return S8},easeQuadIn:function(){return lJ},easeQuadInOut:function(){return S8},easeQuadOut:function(){return uJ},easeSin:function(){return k8},easeSinIn:function(){return pJ},easeSinInOut:function(){return k8},easeSinOut:function(){return fJ},entries:function(){return RY},event:function(){return En},extent:function(){return UC},forceCenter:function(){return PJ},forceCollide:function(){return KJ},forceLink:function(){return $J},forceManyBody:function(){return oQ},forceRadial:function(){return aQ},forceSimulation:function(){return iQ},forceX:function(){return sQ},forceY:function(){return lQ},format:function(){return EM},formatDefaultLocale:function(){return U8},formatLocale:function(){return B8},formatPrefix:function(){return BN},formatSpecifier:function(){return A1},geoAlbers:function(){return nU},geoAlbersUsa:function(){return pK},geoArea:function(){return gQ},geoAzimuthalEqualArea:function(){return fK},geoAzimuthalEqualAreaRaw:function(){return T6},geoAzimuthalEquidistant:function(){return hK},geoAzimuthalEquidistantRaw:function(){return x6},geoBounds:function(){return CQ},geoCentroid:function(){return EQ},geoCircle:function(){return MQ},geoClipAntimeridian:function(){return n6},geoClipCircle:function(){return x7},geoClipExtent:function(){return NQ},geoClipRectangle:function(){return QM},geoConicConformal:function(){return vK},geoConicConformalRaw:function(){return oU},geoConicEqualArea:function(){return sA},geoConicEqualAreaRaw:function(){return tU},geoConicEquidistant:function(){return _K},geoConicEquidistantRaw:function(){return aU},geoContains:function(){return VQ},geoDistance:function(){return N1},geoEquirectangular:function(){return gK},geoEquirectangularRaw:function(){return j1},geoGnomonic:function(){return yK},geoGnomonicRaw:function(){return w6},geoGraticule:function(){return R7},geoGraticule10:function(){return qQ},geoIdentity:function(){return bK},geoInterpolate:function(){return jQ},geoLength:function(){return w7},geoMercator:function(){return mK},geoMercatorRaw:function(){return q1},geoNaturalEarth1:function(){return CK},geoNaturalEarth1Raw:function(){return k6},geoOrthographic:function(){return SK},geoOrthographicRaw:function(){return E6},geoPath:function(){return nK},geoProjection:function(){return sp},geoProjectionMutator:function(){return C6},geoRotation:function(){return v7},geoStereographic:function(){return TK},geoStereographicRaw:function(){return M6},geoStream:function(){return Ju},geoTransform:function(){return rK},geoTransverseMercator:function(){return xK},geoTransverseMercatorRaw:function(){return A6},hcl:function(){return g1},hierarchy:function(){return D6},histogram:function(){return yE},hsl:function(){return h1},interpolate:function(){return Lf},interpolateArray:function(){return da},interpolateBasis:function(){return mt},interpolateBasisClosed:function(){return Mt},interpolateBlues:function(){return Wee},interpolateBrBG:function(){return wee},interpolateBuGn:function(){return Ree},interpolateBuPu:function(){return Nee},interpolateCool:function(){return ete},interpolateCubehelix:function(){return rG},interpolateCubehelixDefault:function(){return Xee},interpolateCubehelixLong:function(){return oM},interpolateDate:function(){return Vl},interpolateGnBu:function(){return Zee},interpolateGreens:function(){return Gee},interpolateGreys:function(){return Yee},interpolateHcl:function(){return tG},interpolateHclLong:function(){return nG},interpolateHsl:function(){return XW},interpolateHslLong:function(){return $W},interpolateInferno:function(){return ite},interpolateLab:function(){return eG},interpolateMagma:function(){return rte},interpolateNumber:function(){return ia},interpolateObject:function(){return Jc},interpolateOrRd:function(){return Lee},interpolateOranges:function(){return Kee},interpolatePRGn:function(){return kee},interpolatePiYG:function(){return Eee},interpolatePlasma:function(){return ote},interpolatePuBu:function(){return Bee},interpolatePuBuGn:function(){return Fee},interpolatePuOr:function(){return Mee},interpolatePuRd:function(){return Uee},interpolatePurples:function(){return Jee},interpolateRainbow:function(){return tte},interpolateRdBu:function(){return Aee},interpolateRdGy:function(){return Dee},interpolateRdPu:function(){return Hee},interpolateRdYlBu:function(){return Oee},interpolateRdYlGn:function(){return Pee},interpolateReds:function(){return Qee},interpolateRgb:function(){return Wr},interpolateRgbBasis:function(){return go},interpolateRgbBasisClosed:function(){return ca},interpolateRound:function(){return $E},interpolateSpectral:function(){return Iee},interpolateString:function(){return Zf},interpolateTransformCss:function(){return H4},interpolateTransformSvg:function(){return V4},interpolateViridis:function(){return nte},interpolateWarm:function(){return $ee},interpolateYlGn:function(){return qee},interpolateYlGnBu:function(){return Vee},interpolateYlOrBr:function(){return jee},interpolateYlOrRd:function(){return zee},interpolateZoom:function(){return z4},interrupt:function(){return Bm},interval:function(){return bne},isoFormat:function(){return see},isoParse:function(){return cee},keys:function(){return PY},lab:function(){return m1},line:function(){return OA},lineRadial:function(){return cH},linkHorizontal:function(){return Fte},linkRadial:function(){return Ute},linkVertical:function(){return Bte},local:function(){return y_},map:function(){return Bf},matcher:function(){return OE},max:function(){return d_},mean:function(){return bE},median:function(){return CE},merge:function(){return Sm},min:function(){return SE},mouse:function(){return al},namespace:function(){return km},namespaces:function(){return XC},nest:function(){return MY},now:function(){return A_},pack:function(){return rX},packEnclose:function(){return lU},packSiblings:function(){return eX},pairs:function(){return m4},partition:function(){return iX},path:function(){return Yu},permute:function(){return Fl},pie:function(){return Pte},pointRadial:function(){return lS},polygonArea:function(){return yX},polygonCentroid:function(){return bX},polygonContains:function(){return xX},polygonHull:function(){return TX},polygonLength:function(){return wX},precisionFixed:function(){return H8},precisionPrefix:function(){return V8},precisionRound:function(){return q8},quadtree:function(){return xM},quantile:function(){return Df},quantize:function(){return iG},radialArea:function(){return dH},radialLine:function(){return cH},randomBates:function(){return MX},randomExponential:function(){return AX},randomIrwinHall:function(){return wU},randomLogNormal:function(){return EX},randomNormal:function(){return xU},randomUniform:function(){return kX},range:function(){return Hs},rgb:function(){return Rf},ribbon:function(){return EY},scaleBand:function(){return F6},scaleIdentity:function(){return OU},scaleImplicit:function(){return Z6},scaleLinear:function(){return DU},scaleLog:function(){return ZU},scaleOrdinal:function(){return L6},scalePoint:function(){return DX},scalePow:function(){return H6},scaleQuantile:function(){return LU},scaleQuantize:function(){return FU},scaleSequential:function(){return D9},scaleSqrt:function(){return BX},scaleThreshold:function(){return BU},scaleTime:function(){return hee},scaleUtc:function(){return mee},scan:function(){return aR},schemeAccent:function(){return gee},schemeBlues:function(){return X9},schemeBrBG:function(){return O9},schemeBuGn:function(){return U9},schemeBuPu:function(){return H9},schemeCategory10:function(){return vee},schemeDark2:function(){return _ee},schemeGnBu:function(){return V9},schemeGreens:function(){return $9},schemeGreys:function(){return eH},schemeOrRd:function(){return q9},schemeOranges:function(){return rH},schemePRGn:function(){return P9},schemePaired:function(){return yee},schemePastel1:function(){return bee},schemePastel2:function(){return Cee},schemePiYG:function(){return I9},schemePuBu:function(){return z9},schemePuBuGn:function(){return j9},schemePuOr:function(){return R9},schemePuRd:function(){return W9},schemePurples:function(){return tH},schemeRdBu:function(){return N9},schemeRdGy:function(){return Z9},schemeRdPu:function(){return G9},schemeRdYlBu:function(){return L9},schemeRdYlGn:function(){return F9},schemeReds:function(){return nH},schemeSet1:function(){return See},schemeSet2:function(){return Tee},schemeSet3:function(){return xee},schemeSpectral:function(){return B9},schemeYlGn:function(){return J9},schemeYlGnBu:function(){return Y9},schemeYlOrBr:function(){return Q9},schemeYlOrRd:function(){return K9},select:function(){return Kr},selectAll:function(){return QR},selection:function(){return Vs},selector:function(){return $C},selectorAll:function(){return AE},set:function(){return OY},shuffle:function(){return g4},stack:function(){return pne},stackOffsetDiverging:function(){return hne},stackOffsetExpand:function(){return fne},stackOffsetNone:function(){return Y_},stackOffsetSilhouette:function(){return mne},stackOffsetWiggle:function(){return vne},stackOrderAscending:function(){return RH},stackOrderDescending:function(){return gne},stackOrderInsideOut:function(){return _ne},stackOrderNone:function(){return J_},stackOrderReverse:function(){return yne},stratify:function(){return lX},style:function(){return $d},sum:function(){return sR},symbol:function(){return Gte},symbolCircle:function(){return nZ},symbolCross:function(){return pH},symbolDiamond:function(){return hH},symbolSquare:function(){return gH},symbolStar:function(){return vH},symbolTriangle:function(){return _H},symbolWye:function(){return yH},symbols:function(){return Wte},thresholdFreedmanDiaconis:function(){return iR},thresholdScott:function(){return oR},thresholdSturges:function(){return jC},tickIncrement:function(){return Af},tickStep:function(){return jc},ticks:function(){return Cm},timeDay:function(){return SA},timeDays:function(){return VX},timeFormat:function(){return W6},timeFormatDefaultLocale:function(){return E9},timeFormatLocale:function(){return m9},timeFriday:function(){return XU},timeFridays:function(){return GX},timeHour:function(){return YU},timeHours:function(){return HX},timeInterval:function(){return Ha},timeMillisecond:function(){return _A},timeMilliseconds:function(){return UU},timeMinute:function(){return WU},timeMinutes:function(){return UX},timeMonday:function(){return J1},timeMondays:function(){return qX},timeMonth:function(){return n9},timeMonths:function(){return JX},timeParse:function(){return k9},timeSaturday:function(){return $U},timeSaturdays:function(){return YX},timeSecond:function(){return CA},timeSeconds:function(){return jU},timeSunday:function(){return Y1},timeSundays:function(){return e9},timeThursday:function(){return Q1},timeThursdays:function(){return WX},timeTuesday:function(){return QU},timeTuesdays:function(){return jX},timeWednesday:function(){return KU},timeWednesdays:function(){return zX},timeWeek:function(){return Y1},timeWeeks:function(){return e9},timeYear:function(){return Qm},timeYears:function(){return QX},timeout:function(){return uN},timer:function(){return uM},timerFlush:function(){return K4},touch:function(){return S_},touches:function(){return qE},transition:function(){return fM},transpose:function(){return lR},tree:function(){return hX},treemap:function(){return mX},treemapBinary:function(){return vX},treemapDice:function(){return W1},treemapResquarify:function(){return _X},treemapSlice:function(){return hA},treemapSliceDice:function(){return gX},treemapSquarify:function(){return SU},tsvFormat:function(){return oJ},tsvFormatRows:function(){return aJ},tsvParse:function(){return rJ},tsvParseRows:function(){return iJ},utcDay:function(){return TA},utcDays:function(){return $X},utcFormat:function(){return wA},utcFriday:function(){return c9},utcFridays:function(){return i$},utcHour:function(){return a9},utcHours:function(){return XX},utcMillisecond:function(){return _A},utcMilliseconds:function(){return UU},utcMinute:function(){return i9},utcMinutes:function(){return KX},utcMonday:function(){return X1},utcMondays:function(){return e$},utcMonth:function(){return h9},utcMonths:function(){return a$},utcParse:function(){return G6},utcSaturday:function(){return d9},utcSaturdays:function(){return o$},utcSecond:function(){return CA},utcSeconds:function(){return jU},utcSunday:function(){return K1},utcSundays:function(){return p9},utcThursday:function(){return $1},utcThursdays:function(){return r$},utcTuesday:function(){return l9},utcTuesdays:function(){return t$},utcWednesday:function(){return u9},utcWednesdays:function(){return n$},utcWeek:function(){return K1},utcWeeks:function(){return p9},utcYear:function(){return Xm},utcYears:function(){return s$},values:function(){return IY},variance:function(){return gE},voronoi:function(){return Bne},window:function(){return i1},zip:function(){return cR},zoom:function(){return WH},zoomIdentity:function(){return UA},zoomTransform:function(){return jH}});var x,B=f(29176),V=f(42515),C=(f(70455),f(99890),f(99740),f(27235)),v=f(36683),P=f(20901),D=f(89200),M=f(10509),A=f(97154),_=f(10629),g=f(18967),k=f(14105);f(26552);"undefined"!=typeof window&&window,"undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self;"undefined"!=typeof global&&global,"_nghost-".concat("%COMP%"),"_ngcontent-".concat("%COMP%");var Ub=" \f\n\r\t\v\u1680\u180e\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff";"[^".concat(Ub,"]"),"[".concat(Ub,"]{2,}"),(0,V.Z)(x={},4,4),(0,V.Z)(x,1,1),(0,V.Z)(x,2,2),(0,V.Z)(x,0,0),(0,V.Z)(x,3,3),Object.keys({useClass:null}),Object.keys({useFactory:null}),Object.keys({useValue:null}),Object.keys({useExisting:null});var e=f(65508),Et=f(40098),Sa=f(28722),$r=f(15427),Dn=f(78081),Ti=f(6517),On=f(68707),as=f(5051),KB=f(57434),m3=f(58172),ta=f(89797),vo=f(55371),Fr=f(44213),na=f(57682),wr=f(85639),$i=f(48359),La=f(59371),Us=f(34487),Fa=f(8392);function oC(n,r,t){for(var i in r)if(r.hasOwnProperty(i)){var o=r[i];o?n.setProperty(i,o,(null==t?void 0:t.has(i))?"important":""):n.removeProperty(i)}return n}function om(n,r){var t=r?"":"none";oC(n.style,{"touch-action":r?"":"none","-webkit-user-drag":r?"":"none","-webkit-tap-highlight-color":r?"":"transparent","user-select":t,"-ms-user-select":t,"-webkit-user-select":t,"-moz-user-select":t})}function aC(n,r,t){oC(n.style,{position:r?"":"fixed",top:r?"":"0",opacity:r?"":"0",left:r?"":"-999em"},t)}function Wg(n,r){return r&&"none"!=r?n+" "+r:n}function xk(n){var r=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*r}function sC(n,r){return n.getPropertyValue(r).split(",").map(function(i){return i.trim()})}function lC(n){var r=n.getBoundingClientRect();return{top:r.top,right:r.right,bottom:r.bottom,left:r.left,width:r.width,height:r.height}}function Gg(n,r,t){return t>=n.top&&t<=n.bottom&&r>=n.left&&r<=n.right}function am(n,r,t){n.top+=r,n.bottom=n.top+n.height,n.left+=t,n.right=n.left+n.width}function wk(n,r,t,i){var b=n.width*r,I=n.height*r;return i>n.top-I&&i<n.bottom+I&&t>n.left-b&&t<n.right+b}var g3=function(){function n(r,t){(0,g.Z)(this,n),this._document=r,this._viewportRuler=t,this.positions=new Map}return(0,k.Z)(n,[{key:"clear",value:function(){this.positions.clear()}},{key:"cache",value:function(t){var i=this;this.clear(),this.positions.set(this._document,{scrollPosition:this._viewportRuler.getViewportScrollPosition()}),t.forEach(function(o){i.positions.set(o,{scrollPosition:{top:o.scrollTop,left:o.scrollLeft},clientRect:lC(o)})})}},{key:"handleScroll",value:function(t){var i=(0,$r.sA)(t),o=this.positions.get(i);if(!o)return null;var u,p,a=i===this._document?i.documentElement:i,s=o.scrollPosition;if(i===this._document){var m=this._viewportRuler.getViewportScrollPosition();u=m.top,p=m.left}else u=i.scrollTop,p=i.scrollLeft;var b=s.top-u,I=s.left-p;return this.positions.forEach(function(F,G){F.clientRect&&i!==G&&a.contains(G)&&am(F.clientRect,b,I)}),s.top=u,s.left=p,{top:b,left:I}}}]),n}();function _3(n){var r=n.cloneNode(!0),t=r.querySelectorAll("[id]"),i=n.nodeName.toLowerCase();r.removeAttribute("id");for(var o=0;o<t.length;o++)t[o].removeAttribute("id");return"canvas"===i?Ek(n,r):("input"===i||"select"===i||"textarea"===i)&&kk(n,r),y3("canvas",n,r,Ek),y3("input, textarea, select",n,r,kk),r}function y3(n,r,t,i){var o=r.querySelectorAll(n);if(o.length)for(var a=t.querySelectorAll(n),s=0;s<o.length;s++)i(o[s],a[s])}var uC=0;function kk(n,r){"file"!==r.type&&(r.value=n.value),"radio"===r.type&&r.name&&(r.name="mat-clone-".concat(r.name,"-").concat(uC++))}function Ek(n,r){var t=r.getContext("2d");if(t)try{t.drawImage(n,0,0)}catch(i){}}var Mk=(0,$r.i$)({passive:!0}),Ak=(0,$r.i$)({passive:!1}),cC=new Set(["position"]),Dk=function(){function n(r,t,i,o,a,s){var u=this;(0,g.Z)(this,n),this._config=t,this._document=i,this._ngZone=o,this._viewportRuler=a,this._dragDropRegistry=s,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new On.xQ,this._pointerMoveSubscription=as.w.EMPTY,this._pointerUpSubscription=as.w.EMPTY,this._scrollSubscription=as.w.EMPTY,this._resizeSubscription=as.w.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new On.xQ,this.started=new On.xQ,this.released=new On.xQ,this.ended=new On.xQ,this.entered=new On.xQ,this.exited=new On.xQ,this.dropped=new On.xQ,this.moved=this._moveEvents,this._pointerDown=function(p){if(u.beforeStarted.next(),u._handles.length){var m=u._handles.find(function(b){var I=(0,$r.sA)(p);return!!I&&(I===b||b.contains(I))});m&&!u._disabledHandles.has(m)&&!u.disabled&&u._initializeDragSequence(m,p)}else u.disabled||u._initializeDragSequence(u._rootElement,p)},this._pointerMove=function(p){var m=u._getPointerPositionOnPage(p);if(u._hasStartedDragging){u._boundaryElement&&(!u._previewRect||!u._previewRect.width&&!u._previewRect.height)&&(u._previewRect=(u._preview||u._rootElement).getBoundingClientRect()),p.preventDefault();var $=u._getConstrainedPointerPosition(m);if(u._hasMoved=!0,u._lastKnownPointerPosition=m,u._updatePointerDirectionDelta($),u._dropContainer)u._updateActiveDropContainer($,m);else{var de=u._activeTransform;if(de.x=$.x-u._pickupPositionOnPage.x+u._passiveTransform.x,de.y=$.y-u._pickupPositionOnPage.y+u._passiveTransform.y,u._applyRootElementTransform(de.x,de.y),"undefined"!=typeof SVGElement&&u._rootElement instanceof SVGElement){var Me="translate(".concat(de.x," ").concat(de.y,")");u._rootElement.setAttribute("transform",Me)}}u._moveEvents.observers.length&&u._ngZone.run(function(){u._moveEvents.next({source:u,pointerPosition:$,event:p,distance:u._getDragDistance($),delta:u._pointerDirectionDelta})})}else if(Math.abs(m.x-u._pickupPositionOnPage.x)+Math.abs(m.y-u._pickupPositionOnPage.y)>=u._config.dragStartThreshold){var G=Date.now()>=u._dragStartTime+u._getDragStartDelay(p),Y=u._dropContainer;if(!G)return void u._endDragSequence(p);(!Y||!Y.isDragging()&&!Y.isReceiving())&&(p.preventDefault(),u._hasStartedDragging=!0,u._ngZone.run(function(){return u._startDragSequence(p)}))}},this._pointerUp=function(p){u._endDragSequence(p)},this.withRootElement(r).withParent(t.parentDragRef||null),this._parentPositions=new g3(i,a),s.registerDragItem(this)}return(0,k.Z)(n,[{key:"disabled",get:function(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)},set:function(t){var i=(0,Dn.Ig)(t);i!==this._disabled&&(this._disabled=i,this._toggleNativeDragInteractions(),this._handles.forEach(function(o){return om(o,i)}))}},{key:"getPlaceholderElement",value:function(){return this._placeholder}},{key:"getRootElement",value:function(){return this._rootElement}},{key:"getVisibleElement",value:function(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}},{key:"withHandles",value:function(t){var i=this;this._handles=t.map(function(a){return(0,Dn.fI)(a)}),this._handles.forEach(function(a){return om(a,i.disabled)}),this._toggleNativeDragInteractions();var o=new Set;return this._disabledHandles.forEach(function(a){i._handles.indexOf(a)>-1&&o.add(a)}),this._disabledHandles=o,this}},{key:"withPreviewTemplate",value:function(t){return this._previewTemplate=t,this}},{key:"withPlaceholderTemplate",value:function(t){return this._placeholderTemplate=t,this}},{key:"withRootElement",value:function(t){var i=this,o=(0,Dn.fI)(t);return o!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(function(){o.addEventListener("mousedown",i._pointerDown,Ak),o.addEventListener("touchstart",i._pointerDown,Mk)}),this._initialTransform=void 0,this._rootElement=o),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}},{key:"withBoundaryElement",value:function(t){var i=this;return this._boundaryElement=t?(0,Dn.fI)(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(function(){return i._containInsideBoundaryOnResize()})),this}},{key:"withParent",value:function(t){return this._parentDragRef=t,this}},{key:"dispose",value:function(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&Uu(this._rootElement),Uu(this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}},{key:"isDragging",value:function(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}},{key:"reset",value:function(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}},{key:"disableHandle",value:function(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),om(t,!0))}},{key:"enableHandle",value:function(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),om(t,this.disabled))}},{key:"withDirection",value:function(t){return this._direction=t,this}},{key:"_withDropContainer",value:function(t){this._dropContainer=t}},{key:"getFreeDragPosition",value:function(){var t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}},{key:"setFreeDragPosition",value:function(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}},{key:"withPreviewContainer",value:function(t){return this._previewContainer=t,this}},{key:"_sortFromLastPointerPosition",value:function(){var t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}},{key:"_removeSubscriptions",value:function(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}},{key:"_destroyPreview",value:function(){this._preview&&Uu(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}},{key:"_destroyPlaceholder",value:function(){this._placeholder&&Uu(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}},{key:"_endDragSequence",value:function(t){var i=this;if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(function(){i._cleanupDragArtifacts(t),i._cleanupCachedDimensions(),i._dragDropRegistry.stopDragging(i)});else{this._passiveTransform.x=this._activeTransform.x;var o=this._getPointerPositionOnPage(t);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(function(){i.ended.next({source:i,distance:i._getDragDistance(o),dropPoint:o})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}},{key:"_startDragSequence",value:function(t){ra(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();var i=this._dropContainer;if(i){var o=this._rootElement,a=o.parentNode,s=this._placeholder=this._createPlaceholderElement(),u=this._anchor=this._anchor||this._document.createComment(""),p=this._getShadowRoot();a.insertBefore(u,o),this._initialTransform=o.style.transform||"",this._preview=this._createPreviewElement(),aC(o,!1,cC),this._document.body.appendChild(a.replaceChild(s,o)),this._getPreviewInsertionPoint(a,p).appendChild(this._preview),this.started.next({source:this}),i.start(),this._initialContainer=i,this._initialIndex=i.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(i?i.getScrollableParents():[])}},{key:"_initializeDragSequence",value:function(t,i){var o=this;this._parentDragRef&&i.stopPropagation();var a=this.isDragging(),s=ra(i),u=!s&&0!==i.button,p=this._rootElement,m=(0,$r.sA)(i),b=!s&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),I=s?(0,Ti.yG)(i):(0,Ti.X6)(i);if(m&&m.draggable&&"mousedown"===i.type&&i.preventDefault(),!(a||u||b||I)){this._handles.length&&(this._rootElementTapHighlight=p.style.webkitTapHighlightColor||"",p.style.webkitTapHighlightColor="transparent"),this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(function(Y){return o._updateOnScroll(Y)}),this._boundaryElement&&(this._boundaryRect=lC(this._boundaryElement));var F=this._previewTemplate;this._pickupPositionInElement=F&&F.template&&!F.matchSize?{x:0,y:0}:this._getPointerPositionInElement(t,i);var G=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(i);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:G.x,y:G.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,i)}}},{key:"_cleanupDragArtifacts",value:function(t){var i=this;aC(this._rootElement,!0,cC),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(function(){var o=i._dropContainer,a=o.getItemIndex(i),s=i._getPointerPositionOnPage(t),u=i._getDragDistance(s),p=o._isOverContainer(s.x,s.y);i.ended.next({source:i,distance:u,dropPoint:s}),i.dropped.next({item:i,currentIndex:a,previousIndex:i._initialIndex,container:o,previousContainer:i._initialContainer,isPointerOverContainer:p,distance:u,dropPoint:s}),o.drop(i,a,i._initialIndex,i._initialContainer,p,u,s),i._dropContainer=i._initialContainer})}},{key:"_updateActiveDropContainer",value:function(t,i){var o=this,a=t.x,s=t.y,u=i.x,p=i.y,m=this._initialContainer._getSiblingContainerFromPosition(this,a,s);!m&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(a,s)&&(m=this._initialContainer),m&&m!==this._dropContainer&&this._ngZone.run(function(){o.exited.next({item:o,container:o._dropContainer}),o._dropContainer.exit(o),o._dropContainer=m,o._dropContainer.enter(o,a,s,m===o._initialContainer&&m.sortingDisabled?o._initialIndex:void 0),o.entered.next({item:o,container:m,currentIndex:m.getItemIndex(o)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(u,p),this._dropContainer._sortItem(this,a,s,this._pointerDirectionDelta),this._applyPreviewTransform(a-this._pickupPositionInElement.x,s-this._pickupPositionInElement.y))}},{key:"_createPreviewElement",value:function(){var a,t=this._previewTemplate,i=this.previewClass,o=t?t.template:null;if(o&&t){var s=t.matchSize?this._rootElement.getBoundingClientRect():null,u=t.viewContainer.createEmbeddedView(o,t.context);u.detectChanges(),a=dC(u,this._document),this._previewRef=u,t.matchSize?il(a,s):a.style.transform=yf(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{var p=this._rootElement;il(a=_3(p),p.getBoundingClientRect()),this._initialTransform&&(a.style.transform=this._initialTransform)}return oC(a.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":"".concat(this._config.zIndex||1e3)},cC),om(a,!1),a.classList.add("cdk-drag-preview"),a.setAttribute("dir",this._direction),i&&(Array.isArray(i)?i.forEach(function(m){return a.classList.add(m)}):a.classList.add(i)),a}},{key:"_animatePreviewToPlaceholder",value:function(){var t=this;if(!this._hasMoved)return Promise.resolve();var i=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(i.left,i.top);var o=function(n){var r=getComputedStyle(n),t=sC(r,"transition-property"),i=t.find(function(u){return"transform"===u||"all"===u});if(!i)return 0;var o=t.indexOf(i),a=sC(r,"transition-duration"),s=sC(r,"transition-delay");return xk(a[o])+xk(s[o])}(this._preview);return 0===o?Promise.resolve():this._ngZone.runOutsideAngular(function(){return new Promise(function(a){var s=function p(m){(!m||(0,$r.sA)(m)===t._preview&&"transform"===m.propertyName)&&(t._preview.removeEventListener("transitionend",p),a(),clearTimeout(u))},u=setTimeout(s,1.5*o);t._preview.addEventListener("transitionend",s)})})}},{key:"_createPlaceholderElement",value:function(){var o,t=this._placeholderTemplate,i=t?t.template:null;return i?(this._placeholderRef=t.viewContainer.createEmbeddedView(i,t.context),this._placeholderRef.detectChanges(),o=dC(this._placeholderRef,this._document)):o=_3(this._rootElement),o.classList.add("cdk-drag-placeholder"),o}},{key:"_getPointerPositionInElement",value:function(t,i){var o=this._rootElement.getBoundingClientRect(),a=t===this._rootElement?null:t,s=a?a.getBoundingClientRect():o,u=ra(i)?i.targetTouches[0]:i,p=this._getViewportScrollPosition();return{x:s.left-o.left+(u.pageX-s.left-p.left),y:s.top-o.top+(u.pageY-s.top-p.top)}}},{key:"_getPointerPositionOnPage",value:function(t){var i=this._getViewportScrollPosition(),o=ra(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,a=o.pageX-i.left,s=o.pageY-i.top;if(this._ownerSVGElement){var u=this._ownerSVGElement.getScreenCTM();if(u){var p=this._ownerSVGElement.createSVGPoint();return p.x=a,p.y=s,p.matrixTransform(u.inverse())}}return{x:a,y:s}}},{key:"_getConstrainedPointerPosition",value:function(t){var i=this._dropContainer?this._dropContainer.lockAxis:null,o=this.constrainPosition?this.constrainPosition(t,this):t,a=o.x,s=o.y;if("x"===this.lockAxis||"x"===i?s=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===i)&&(a=this._pickupPositionOnPage.x),this._boundaryRect){var u=this._pickupPositionInElement,p=u.x,m=u.y,b=this._boundaryRect,I=this._previewRect,F=b.top+m,G=b.bottom-(I.height-m);a=Ok(a,b.left+p,b.right-(I.width-p)),s=Ok(s,F,G)}return{x:a,y:s}}},{key:"_updatePointerDirectionDelta",value:function(t){var i=t.x,o=t.y,a=this._pointerDirectionDelta,s=this._pointerPositionAtLastDirectionChange,u=Math.abs(i-s.x),p=Math.abs(o-s.y);return u>this._config.pointerDirectionChangeThreshold&&(a.x=i>s.x?1:-1,s.x=i),p>this._config.pointerDirectionChangeThreshold&&(a.y=o>s.y?1:-1,s.y=o),a}},{key:"_toggleNativeDragInteractions",value:function(){if(this._rootElement&&this._handles){var t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,om(this._rootElement,t))}}},{key:"_removeRootElementListeners",value:function(t){t.removeEventListener("mousedown",this._pointerDown,Ak),t.removeEventListener("touchstart",this._pointerDown,Mk)}},{key:"_applyRootElementTransform",value:function(t,i){var o=yf(t,i);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform&&"none"!=this._rootElement.style.transform?this._rootElement.style.transform:""),this._rootElement.style.transform=Wg(o,this._initialTransform)}},{key:"_applyPreviewTransform",value:function(t,i){var o,a=(null===(o=this._previewTemplate)||void 0===o?void 0:o.template)?void 0:this._initialTransform,s=yf(t,i);this._preview.style.transform=Wg(s,a)}},{key:"_getDragDistance",value:function(t){var i=this._pickupPositionOnPage;return i?{x:t.x-i.x,y:t.y-i.y}:{x:0,y:0}}},{key:"_cleanupCachedDimensions",value:function(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}},{key:"_containInsideBoundaryOnResize",value:function(){var t=this._passiveTransform,i=t.x,o=t.y;if(!(0===i&&0===o||this.isDragging())&&this._boundaryElement){var a=this._boundaryElement.getBoundingClientRect(),s=this._rootElement.getBoundingClientRect();if(!(0===a.width&&0===a.height||0===s.width&&0===s.height)){var u=a.left-s.left,p=s.right-a.right,m=a.top-s.top,b=s.bottom-a.bottom;a.width>s.width?(u>0&&(i+=u),p>0&&(i-=p)):i=0,a.height>s.height?(m>0&&(o+=m),b>0&&(o-=b)):o=0,(i!==this._passiveTransform.x||o!==this._passiveTransform.y)&&this.setFreeDragPosition({y:o,x:i})}}}},{key:"_getDragStartDelay",value:function(t){var i=this.dragStartDelay;return"number"==typeof i?i:ra(t)?i.touch:i?i.mouse:0}},{key:"_updateOnScroll",value:function(t){var i=this._parentPositions.handleScroll(t);if(i){var o=(0,$r.sA)(t);this._boundaryRect&&(o===this._document||o!==this._boundaryElement&&o.contains(this._boundaryElement))&&am(this._boundaryRect,i.top,i.left),this._pickupPositionOnPage.x+=i.left,this._pickupPositionOnPage.y+=i.top,this._dropContainer||(this._activeTransform.x-=i.left,this._activeTransform.y-=i.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}},{key:"_getViewportScrollPosition",value:function(){var t=this._parentPositions.positions.get(this._document);return t?t.scrollPosition:this._viewportRuler.getViewportScrollPosition()}},{key:"_getShadowRoot",value:function(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,$r.kV)(this._rootElement)),this._cachedShadowRoot}},{key:"_getPreviewInsertionPoint",value:function(t,i){var o=this._previewContainer||"global";if("parent"===o)return t;if("global"===o){var a=this._document;return i||a.fullscreenElement||a.webkitFullscreenElement||a.mozFullScreenElement||a.msFullscreenElement||a.body}return(0,Dn.fI)(o)}}]),n}();function yf(n,r){return"translate3d(".concat(Math.round(n),"px, ").concat(Math.round(r),"px, 0)")}function Ok(n,r,t){return Math.max(r,Math.min(t,n))}function Uu(n){n&&n.parentNode&&n.parentNode.removeChild(n)}function ra(n){return"t"===n.type[0]}function dC(n,r){var t=n.rootNodes;if(1===t.length&&t[0].nodeType===r.ELEMENT_NODE)return t[0];var i=r.createElement("div");return t.forEach(function(o){return i.appendChild(o)}),i}function il(n,r){n.style.width="".concat(r.width,"px"),n.style.height="".concat(r.height,"px"),n.style.transform=yf(r.left,r.top)}function bf(n,r){return Math.max(0,Math.min(r,n))}var S3=function(){function n(r,t,i,o,a){var s=this;(0,g.Z)(this,n),this._dragDropRegistry=t,this._ngZone=o,this._viewportRuler=a,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=function(){return!0},this.sortPredicate=function(){return!0},this.beforeStarted=new On.xQ,this.entered=new On.xQ,this.exited=new On.xQ,this.dropped=new On.xQ,this.sorted=new On.xQ,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=as.w.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new On.xQ,this._cachedShadowRoot=null,this._startScrollInterval=function(){s._stopScrolling(),(0,KB.F)(0,m3.Z).pipe((0,Fr.R)(s._stopScrollTimers)).subscribe(function(){var u=s._scrollNode,p=s.autoScrollStep;1===s._verticalScrollDirection?mC(u,-p):2===s._verticalScrollDirection&&mC(u,p),1===s._horizontalScrollDirection?Ik(u,-p):2===s._horizontalScrollDirection&&Ik(u,p)})},this.element=(0,Dn.fI)(r),this._document=i,this.withScrollableParents([this.element]),t.registerDropContainer(this),this._parentPositions=new g3(i,a)}return(0,k.Z)(n,[{key:"dispose",value:function(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}},{key:"isDragging",value:function(){return this._isDragging}},{key:"start",value:function(){this._draggingStarted(),this._notifyReceivingSiblings()}},{key:"enter",value:function(t,i,o,a){var s;this._draggingStarted(),null==a?-1===(s=this.sortingDisabled?this._draggables.indexOf(t):-1)&&(s=this._getItemIndexFromPointerPosition(t,i,o)):s=a;var u=this._activeDraggables,p=u.indexOf(t),m=t.getPlaceholderElement(),b=u[s];if(b===t&&(b=u[s+1]),p>-1&&u.splice(p,1),b&&!this._dragDropRegistry.isDragging(b)){var I=b.getRootElement();I.parentElement.insertBefore(m,I),u.splice(s,0,t)}else if(this._shouldEnterAsFirstChild(i,o)){var F=u[0].getRootElement();F.parentNode.insertBefore(m,F),u.unshift(t)}else(0,Dn.fI)(this.element).appendChild(m),u.push(t);m.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}},{key:"exit",value:function(t){this._reset(),this.exited.next({item:t,container:this})}},{key:"drop",value:function(t,i,o,a,s,u,p){this._reset(),this.dropped.next({item:t,currentIndex:i,previousIndex:o,container:this,previousContainer:a,isPointerOverContainer:s,distance:u,dropPoint:p})}},{key:"withItems",value:function(t){var i=this,o=this._draggables;return this._draggables=t,t.forEach(function(s){return s._withDropContainer(i)}),this.isDragging()&&(o.filter(function(s){return s.isDragging()}).every(function(s){return-1===t.indexOf(s)})?this._reset():this._cacheItems()),this}},{key:"withDirection",value:function(t){return this._direction=t,this}},{key:"connectedTo",value:function(t){return this._siblings=t.slice(),this}},{key:"withOrientation",value:function(t){return this._orientation=t,this}},{key:"withScrollableParents",value:function(t){var i=(0,Dn.fI)(this.element);return this._scrollableElements=-1===t.indexOf(i)?[i].concat((0,_.Z)(t)):t.slice(),this}},{key:"getScrollableParents",value:function(){return this._scrollableElements}},{key:"getItemIndex",value:function(t){return this._isDragging?hC("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,function(o){return o.drag===t}):this._draggables.indexOf(t)}},{key:"isReceiving",value:function(){return this._activeSiblings.size>0}},{key:"_sortItem",value:function(t,i,o,a){if(!this.sortingDisabled&&this._clientRect&&wk(this._clientRect,.05,i,o)){var s=this._itemPositions,u=this._getItemIndexFromPointerPosition(t,i,o,a);if(!(-1===u&&s.length>0)){var p="horizontal"===this._orientation,m=hC(s,function(Me){return Me.drag===t}),b=s[u],F=b.clientRect,G=m>u?1:-1,Y=this._getItemOffsetPx(s[m].clientRect,F,G),$=this._getSiblingOffsetPx(m,s,G),de=s.slice();(function(n,r,t){var i=bf(r,n.length-1),o=bf(t,n.length-1);if(i!==o){for(var a=n[i],s=o<i?-1:1,u=i;u!==o;u+=s)n[u]=n[u+s];n[o]=a}})(s,m,u),this.sorted.next({previousIndex:m,currentIndex:u,container:this,item:t}),s.forEach(function(Me,st){if(de[st]!==Me){var tt=Me.drag===t,at=tt?Y:$,pt=tt?t.getPlaceholderElement():Me.drag.getRootElement();Me.offset+=at,p?(pt.style.transform=Wg("translate3d(".concat(Math.round(Me.offset),"px, 0, 0)"),Me.initialTransform),am(Me.clientRect,0,at)):(pt.style.transform=Wg("translate3d(0, ".concat(Math.round(Me.offset),"px, 0)"),Me.initialTransform),am(Me.clientRect,at,0))}}),this._previousSwap.overlaps=Gg(F,i,o),this._previousSwap.drag=b.drag,this._previousSwap.delta=p?a.x:a.y}}}},{key:"_startScrollingIfNecessary",value:function(t,i){var o=this;if(!this.autoScrollDisabled){var a,s=0,u=0;if(this._parentPositions.positions.forEach(function(F,G){if(G!==o._document&&F.clientRect&&!a&&wk(F.clientRect,.05,t,i)){var Y=function(n,r,t,i){var o=T3(r,i),a=Rk(r,t),s=0,u=0;if(o){var p=n.scrollTop;1===o?p>0&&(s=1):n.scrollHeight-p>n.clientHeight&&(s=2)}if(a){var m=n.scrollLeft;1===a?m>0&&(u=1):n.scrollWidth-m>n.clientWidth&&(u=2)}return[s,u]}(G,F.clientRect,t,i),$=(0,C.Z)(Y,2);u=$[1],((s=$[0])||u)&&(a=G)}}),!s&&!u){var p=this._viewportRuler.getViewportSize(),m=p.width,b=p.height,I={width:m,height:b,top:0,right:m,bottom:b,left:0};s=T3(I,i),u=Rk(I,t),a=window}a&&(s!==this._verticalScrollDirection||u!==this._horizontalScrollDirection||a!==this._scrollNode)&&(this._verticalScrollDirection=s,this._horizontalScrollDirection=u,this._scrollNode=a,(s||u)&&a?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}}},{key:"_stopScrolling",value:function(){this._stopScrollTimers.next()}},{key:"_draggingStarted",value:function(){var t=(0,Dn.fI)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}},{key:"_cacheParentPositions",value:function(){var t=(0,Dn.fI)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}},{key:"_cacheItemPositions",value:function(){var t="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(function(i){var o=i.getVisibleElement();return{drag:i,offset:0,initialTransform:o.style.transform||"",clientRect:lC(o)}}).sort(function(i,o){return t?i.clientRect.left-o.clientRect.left:i.clientRect.top-o.clientRect.top})}},{key:"_reset",value:function(){var t=this;this._isDragging=!1;var i=(0,Dn.fI)(this.element).style;i.scrollSnapType=i.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(function(o){var a,s=o.getRootElement();if(s){var u=null===(a=t._itemPositions.find(function(p){return p.drag===o}))||void 0===a?void 0:a.initialTransform;s.style.transform=u||""}}),this._siblings.forEach(function(o){return o._stopReceiving(t)}),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}},{key:"_getSiblingOffsetPx",value:function(t,i,o){var a="horizontal"===this._orientation,s=i[t].clientRect,u=i[t+-1*o],p=s[a?"width":"height"]*o;if(u){var m=a?"left":"top",b=a?"right":"bottom";-1===o?p-=u.clientRect[m]-s[b]:p+=s[m]-u.clientRect[b]}return p}},{key:"_getItemOffsetPx",value:function(t,i,o){var a="horizontal"===this._orientation,s=a?i.left-t.left:i.top-t.top;return-1===o&&(s+=a?i.width-t.width:i.height-t.height),s}},{key:"_shouldEnterAsFirstChild",value:function(t,i){if(!this._activeDraggables.length)return!1;var o=this._itemPositions,a="horizontal"===this._orientation;if(o[0].drag!==this._activeDraggables[0]){var u=o[o.length-1].clientRect;return a?t>=u.right:i>=u.bottom}var p=o[0].clientRect;return a?t<=p.left:i<=p.top}},{key:"_getItemIndexFromPointerPosition",value:function(t,i,o,a){var s=this,u="horizontal"===this._orientation,p=hC(this._itemPositions,function(m,b,I){var F=m.drag,G=m.clientRect;return F===t?I.length<2:(!a||F!==s._previousSwap.drag||!s._previousSwap.overlaps||(u?a.x:a.y)!==s._previousSwap.delta)&&(u?i>=Math.floor(G.left)&&i<Math.floor(G.right):o>=Math.floor(G.top)&&o<Math.floor(G.bottom))});return-1!==p&&this.sortPredicate(p,t,this)?p:-1}},{key:"_cacheItems",value:function(){this._activeDraggables=this._draggables.slice(),this._cacheItemPositions(),this._cacheParentPositions()}},{key:"_isOverContainer",value:function(t,i){return null!=this._clientRect&&Gg(this._clientRect,t,i)}},{key:"_getSiblingContainerFromPosition",value:function(t,i,o){return this._siblings.find(function(a){return a._canReceive(t,i,o)})}},{key:"_canReceive",value:function(t,i,o){if(!this._clientRect||!Gg(this._clientRect,i,o)||!this.enterPredicate(t,this))return!1;var a=this._getShadowRoot().elementFromPoint(i,o);if(!a)return!1;var s=(0,Dn.fI)(this.element);return a===s||s.contains(a)}},{key:"_startReceiving",value:function(t,i){var o=this,a=this._activeSiblings;!a.has(t)&&i.every(function(s){return o.enterPredicate(s,o)||o._draggables.indexOf(s)>-1})&&(a.add(t),this._cacheParentPositions(),this._listenToScrollEvents())}},{key:"_stopReceiving",value:function(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe()}},{key:"_listenToScrollEvents",value:function(){var t=this;this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(function(i){if(t.isDragging()){var o=t._parentPositions.handleScroll(i);o&&(t._itemPositions.forEach(function(a){am(a.clientRect,o.top,o.left)}),t._itemPositions.forEach(function(a){var s=a.drag;t._dragDropRegistry.isDragging(s)&&s._sortFromLastPointerPosition()}))}else t.isReceiving()&&t._cacheParentPositions()})}},{key:"_getShadowRoot",value:function(){if(!this._cachedShadowRoot){var t=(0,$r.kV)((0,Dn.fI)(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}},{key:"_notifyReceivingSiblings",value:function(){var t=this,i=this._activeDraggables.filter(function(o){return o.isDragging()});this._siblings.forEach(function(o){return o._startReceiving(t,i)})}}]),n}();function hC(n,r){for(var t=0;t<n.length;t++)if(r(n[t],t,n))return t;return-1}function mC(n,r){n===window?n.scrollBy(0,r):n.scrollTop+=r}function Ik(n,r){n===window?n.scrollBy(r,0):n.scrollLeft+=r}function T3(n,r){var t=n.top,i=n.bottom,a=.05*n.height;return r>=t-a&&r<=t+a?1:r>=i-a&&r<=i+a?2:0}function Rk(n,r){var t=n.left,i=n.right,a=.05*n.width;return r>=t-a&&r<=t+a?1:r>=i-a&&r<=i+a?2:0}var Hu=(0,$r.i$)({passive:!1,capture:!0}),w3=function(){var n=function(){function r(t,i){var o=this;(0,g.Z)(this,r),this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=function(a){return a.isDragging()},this.pointerMove=new On.xQ,this.pointerUp=new On.xQ,this.scroll=new On.xQ,this._preventDefaultWhileDragging=function(a){o._activeDragInstances.length>0&&a.preventDefault()},this._persistentTouchmoveListener=function(a){o._activeDragInstances.length>0&&(o._activeDragInstances.some(o._draggingPredicate)&&a.preventDefault(),o.pointerMove.next(a))},this._document=i}return(0,k.Z)(r,[{key:"registerDropContainer",value:function(i){this._dropInstances.has(i)||this._dropInstances.add(i)}},{key:"registerDragItem",value:function(i){var o=this;this._dragInstances.add(i),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(function(){o._document.addEventListener("touchmove",o._persistentTouchmoveListener,Hu)})}},{key:"removeDropContainer",value:function(i){this._dropInstances.delete(i)}},{key:"removeDragItem",value:function(i){this._dragInstances.delete(i),this.stopDragging(i),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,Hu)}},{key:"startDragging",value:function(i,o){var a=this;if(!(this._activeDragInstances.indexOf(i)>-1)&&(this._activeDragInstances.push(i),1===this._activeDragInstances.length)){var s=o.type.startsWith("touch");this._globalListeners.set(s?"touchend":"mouseup",{handler:function(p){return a.pointerUp.next(p)},options:!0}).set("scroll",{handler:function(p){return a.scroll.next(p)},options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:Hu}),s||this._globalListeners.set("mousemove",{handler:function(p){return a.pointerMove.next(p)},options:Hu}),this._ngZone.runOutsideAngular(function(){a._globalListeners.forEach(function(u,p){a._document.addEventListener(p,u.handler,u.options)})})}}},{key:"stopDragging",value:function(i){var o=this._activeDragInstances.indexOf(i);o>-1&&(this._activeDragInstances.splice(o,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}},{key:"isDragging",value:function(i){return this._activeDragInstances.indexOf(i)>-1}},{key:"scrolled",value:function(i){var o=this,a=[this.scroll];return i&&i!==this._document&&a.push(new ta.y(function(s){return o._ngZone.runOutsideAngular(function(){var p=function(b){o._activeDragInstances.length&&s.next(b)};return i.addEventListener("scroll",p,!0),function(){i.removeEventListener("scroll",p,!0)}})})),vo.T.apply(void 0,a)}},{key:"ngOnDestroy",value:function(){var i=this;this._dragInstances.forEach(function(o){return i.removeDragItem(o)}),this._dropInstances.forEach(function(o){return i.removeDropContainer(o)}),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}},{key:"_clearGlobalListeners",value:function(){var i=this;this._globalListeners.forEach(function(o,a){i._document.removeEventListener(a,o.handler,o.options)}),this._globalListeners.clear()}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.LFG(e.R0b),e.LFG(Et.K0))},n.\u0275prov=e.Yz7({factory:function(){return new n(e.LFG(e.R0b),e.LFG(Et.K0))},token:n,providedIn:"root"}),n}(),Nk={dragStartThreshold:5,pointerDirectionChangeThreshold:5},vC=function(){var n=function(){function r(t,i,o,a){(0,g.Z)(this,r),this._document=t,this._ngZone=i,this._viewportRuler=o,this._dragDropRegistry=a}return(0,k.Z)(r,[{key:"createDrag",value:function(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Nk;return new Dk(i,o,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}},{key:"createDropList",value:function(i){return new S3(i,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.LFG(Et.K0),e.LFG(e.R0b),e.LFG(Sa.rL),e.LFG(w3))},n.\u0275prov=e.Yz7({factory:function(){return new n(e.LFG(Et.K0),e.LFG(e.R0b),e.LFG(Sa.rL),e.LFG(w3))},token:n,providedIn:"root"}),n}(),Hk=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[vC],imports:[Sa.ZD]}),n}(),eo=f(93889),Wi=f(37429),ss=f(61493),to=f(90838),Kg=f(17504),rr=f(43161),A3=[[["caption"]],[["colgroup"],["col"]]],D3=["caption","colgroup, col"];function bC(n){return function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(){var o;(0,g.Z)(this,i);for(var a=arguments.length,s=new Array(a),u=0;u<a;u++)s[u]=arguments[u];return(o=t.call.apply(t,[this].concat(s)))._sticky=!1,o._hasStickyChanged=!1,o}return(0,k.Z)(i,[{key:"sticky",get:function(){return this._sticky},set:function(a){var s=this._sticky;this._sticky=(0,Dn.Ig)(a),this._hasStickyChanged=s!==this._sticky}},{key:"hasStickyChanged",value:function(){var a=this._hasStickyChanged;return this._hasStickyChanged=!1,a}},{key:"resetStickyChanged",value:function(){this._hasStickyChanged=!1}}]),i}(n)}var Uc=new e.OlP("CDK_TABLE"),Cf=function(){var n=function r(t){(0,g.Z)(this,r),this.template=t};return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkCellDef",""]]}),n}(),Hc=function(){var n=function r(t){(0,g.Z)(this,r),this.template=t};return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkHeaderCellDef",""]]}),n}(),Xg=function(){var n=function r(t){(0,g.Z)(this,r),this.template=t};return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkFooterCellDef",""]]}),n}(),r4=bC(function n(){(0,g.Z)(this,n)}),Vu=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o){var a;return(0,g.Z)(this,i),(a=t.call(this))._table=o,a._stickyEnd=!1,a}return(0,k.Z)(i,[{key:"name",get:function(){return this._name},set:function(a){this._setNameInput(a)}},{key:"stickyEnd",get:function(){return this._stickyEnd},set:function(a){var s=this._stickyEnd;this._stickyEnd=(0,Dn.Ig)(a),this._hasStickyChanged=s!==this._stickyEnd}},{key:"_updateColumnCssClassName",value:function(){this._columnCssClassName=["cdk-column-".concat(this.cssClassFriendlyName)]}},{key:"_setNameInput",value:function(a){a&&(this._name=a,this.cssClassFriendlyName=a.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}]),i}(r4);return n.\u0275fac=function(t){return new(t||n)(e.Y36(Uc,8))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,i,o){var a;1&t&&(e.Suo(o,Cf,5),e.Suo(o,Hc,5),e.Suo(o,Xg,5)),2&t&&(e.iGM(a=e.CRH())&&(i.cell=a.first),e.iGM(a=e.CRH())&&(i.headerCell=a.first),e.iGM(a=e.CRH())&&(i.footerCell=a.first))},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[e._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),e.qOj]}),n}(),CC=function n(r,t){(0,g.Z)(this,n);var a,i=t.nativeElement.classList,o=(0,v.Z)(r._columnCssClassName);try{for(o.s();!(a=o.n()).done;)i.add(a.value)}catch(u){o.e(u)}finally{o.f()}},$g=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a){return(0,g.Z)(this,i),t.call(this,o,a)}return i}(CC);return n.\u0275fac=function(t){return new(t||n)(e.Y36(Vu),e.Y36(e.SBq))},n.\u0275dir=e.lG2({type:n,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[e.qOj]}),n}(),SC=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a){var s,u;if((0,g.Z)(this,i),s=t.call(this,o,a),1===(null===(u=o._table)||void 0===u?void 0:u._elementRef.nativeElement.nodeType)){var p=o._table._elementRef.nativeElement.getAttribute("role");a.nativeElement.setAttribute("role","grid"===p||"treegrid"===p?"gridcell":"cell")}return s}return i}(CC);return n.\u0275fac=function(t){return new(t||n)(e.Y36(Vu),e.Y36(e.SBq))},n.\u0275dir=e.lG2({type:n,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[e.qOj]}),n}(),qk=function n(){(0,g.Z)(this,n),this.tasks=[],this.endTasks=[]},TC=new e.OlP("_COALESCED_STYLE_SCHEDULER"),jk=function(){var n=function(){function r(t){(0,g.Z)(this,r),this._ngZone=t,this._currentSchedule=null,this._destroyed=new On.xQ}return(0,k.Z)(r,[{key:"schedule",value:function(i){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(i)}},{key:"scheduleEnd",value:function(i){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(i)}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_createScheduleIfNeeded",value:function(){var i=this;this._currentSchedule||(this._currentSchedule=new qk,this._getScheduleObservable().pipe((0,Fr.R)(this._destroyed)).subscribe(function(){for(;i._currentSchedule.tasks.length||i._currentSchedule.endTasks.length;){var o=i._currentSchedule;i._currentSchedule=new qk;var s,a=(0,v.Z)(o.tasks);try{for(a.s();!(s=a.n()).done;)(0,s.value)()}catch(I){a.e(I)}finally{a.f()}var m,p=(0,v.Z)(o.endTasks);try{for(p.s();!(m=p.n()).done;)(0,m.value)()}catch(I){p.e(I)}finally{p.f()}}i._currentSchedule=null}))}},{key:"_getScheduleObservable",value:function(){return this._ngZone.isStable?(0,ss.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,$i.q)(1))}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.LFG(e.R0b))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),e_=function(){var n=function(){function r(t,i){(0,g.Z)(this,r),this.template=t,this._differs=i}return(0,k.Z)(r,[{key:"ngOnChanges",value:function(i){if(!this._columnsDiffer){var o=i.columns&&i.columns.currentValue||[];this._columnsDiffer=this._differs.find(o).create(),this._columnsDiffer.diff(o)}}},{key:"getColumnsDiff",value:function(){return this._columnsDiffer.diff(this.columns)}},{key:"extractCellTemplate",value:function(i){return this instanceof Sf?i.headerCell.template:this instanceof um?i.footerCell.template:i.cell.template}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc),e.Y36(e.ZZ4))},n.\u0275dir=e.lG2({type:n,features:[e.TTD]}),n}(),zk=bC(function(n){(0,M.Z)(t,n);var r=(0,A.Z)(t);function t(){return(0,g.Z)(this,t),r.apply(this,arguments)}return t}(e_)),Sf=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s){var u;return(0,g.Z)(this,i),(u=t.call(this,o,a))._table=s,u}return(0,k.Z)(i,[{key:"ngOnChanges",value:function(a){(0,P.Z)((0,D.Z)(i.prototype),"ngOnChanges",this).call(this,a)}}]),i}(zk);return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(Uc,8))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[e.qOj,e.TTD]}),n}(),Gk=bC(function(n){(0,M.Z)(t,n);var r=(0,A.Z)(t);function t(){return(0,g.Z)(this,t),r.apply(this,arguments)}return t}(e_)),um=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s){var u;return(0,g.Z)(this,i),(u=t.call(this,o,a))._table=s,u}return(0,k.Z)(i,[{key:"ngOnChanges",value:function(a){(0,P.Z)((0,D.Z)(i.prototype),"ngOnChanges",this).call(this,a)}}]),i}(Gk);return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(Uc,8))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[e.qOj,e.TTD]}),n}(),cm=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s){var u;return(0,g.Z)(this,i),(u=t.call(this,o,a))._table=s,u}return i}(e_);return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(Uc,8))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[e.qOj]}),n}(),gu=function(){var n=function(){function r(t){(0,g.Z)(this,r),this._viewContainer=t,r.mostRecentCellOutlet=this}return(0,k.Z)(r,[{key:"ngOnDestroy",value:function(){r.mostRecentCellOutlet===this&&(r.mostRecentCellOutlet=null)}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.s_b))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkCellOutlet",""]]}),n.mostRecentCellOutlet=null,n}(),wC=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,i){1&t&&e.GkF(0,0)},directives:[gu],encapsulation:2}),n}(),n_=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,i){1&t&&e.GkF(0,0)},directives:[gu],encapsulation:2}),n}(),r_=function(){var n=function r(t){(0,g.Z)(this,r),this.templateRef=t};return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc))},n.\u0275dir=e.lG2({type:n,selectors:[["ng-template","cdkNoDataRow",""]]}),n}(),Ga=["top","bottom","left","right"],Tf=function(){function n(r,t,i,o){var a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],u=arguments.length>6?arguments[6]:void 0;(0,g.Z)(this,n),this._isNativeHtmlTable=r,this._stickCellCss=t,this.direction=i,this._coalescedStyleScheduler=o,this._isBrowser=a,this._needsPositionStickyOnElement=s,this._positionListener=u,this._cachedCellWidths=[],this._borderCellCss={top:"".concat(t,"-border-elem-top"),bottom:"".concat(t,"-border-elem-bottom"),left:"".concat(t,"-border-elem-left"),right:"".concat(t,"-border-elem-right")}}return(0,k.Z)(n,[{key:"clearStickyPositioning",value:function(t,i){var u,o=this,a=[],s=(0,v.Z)(t);try{for(s.s();!(u=s.n()).done;){var p=u.value;if(p.nodeType===p.ELEMENT_NODE){a.push(p);for(var m=0;m<p.children.length;m++)a.push(p.children[m])}}}catch(b){s.e(b)}finally{s.f()}this._coalescedStyleScheduler.schedule(function(){var I,b=(0,v.Z)(a);try{for(b.s();!(I=b.n()).done;)o._removeStickyStyle(I.value,i)}catch(G){b.e(G)}finally{b.f()}})}},{key:"updateStickyColumns",value:function(t,i,o){var a=this,s=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(t.length&&this._isBrowser&&(i.some(function(Y){return Y})||o.some(function(Y){return Y}))){var u=t[0],p=u.children.length,m=this._getCellWidths(u,s),b=this._getStickyStartColumnPositions(m,i),I=this._getStickyEndColumnPositions(m,o),F=i.lastIndexOf(!0),G=o.indexOf(!0);this._coalescedStyleScheduler.schedule(function(){var st,Y="rtl"===a.direction,$=Y?"right":"left",de=Y?"left":"right",Me=(0,v.Z)(t);try{for(Me.s();!(st=Me.n()).done;)for(var tt=st.value,at=0;at<p;at++){var pt=tt.children[at];i[at]&&a._addStickyStyle(pt,$,b[at],at===F),o[at]&&a._addStickyStyle(pt,de,I[at],at===G)}}catch(Je){Me.e(Je)}finally{Me.f()}a._positionListener&&(a._positionListener.stickyColumnsUpdated({sizes:-1===F?[]:m.slice(0,F+1).map(function(Je,et){return i[et]?Je:null})}),a._positionListener.stickyEndColumnsUpdated({sizes:-1===G?[]:m.slice(G).map(function(Je,et){return o[et+G]?Je:null}).reverse()}))})}else this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}))}},{key:"stickRows",value:function(t,i,o){var a=this;if(this._isBrowser){for(var s="bottom"===o?t.slice().reverse():t,u="bottom"===o?i.slice().reverse():i,p=[],m=[],b=[],I=0,F=0;I<s.length;I++)if(u[I]){p[I]=F;var G=s[I];b[I]=this._isNativeHtmlTable?Array.from(G.children):[G];var Y=G.getBoundingClientRect().height;F+=Y,m[I]=Y}var $=u.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(function(){for(var de,Me,st=0;st<s.length;st++)if(u[st]){var Je,tt=p[st],at=st===$,pt=(0,v.Z)(b[st]);try{for(pt.s();!(Je=pt.n()).done;)a._addStickyStyle(Je.value,o,tt,at)}catch(It){pt.e(It)}finally{pt.f()}}"top"===o?null===(de=a._positionListener)||void 0===de||de.stickyHeaderRowsUpdated({sizes:m,offsets:p,elements:b}):null===(Me=a._positionListener)||void 0===Me||Me.stickyFooterRowsUpdated({sizes:m,offsets:p,elements:b})})}}},{key:"updateStickyFooterContainer",value:function(t,i){var o=this;if(this._isNativeHtmlTable){var a=t.querySelector("tfoot");this._coalescedStyleScheduler.schedule(function(){i.some(function(s){return!s})?o._removeStickyStyle(a,["bottom"]):o._addStickyStyle(a,"bottom",0,!1)})}}},{key:"_removeStickyStyle",value:function(t,i){var a,o=(0,v.Z)(i);try{for(o.s();!(a=o.n()).done;){var s=a.value;t.style[s]="",t.classList.remove(this._borderCellCss[s])}}catch(p){o.e(p)}finally{o.f()}Ga.some(function(p){return-1===i.indexOf(p)&&t.style[p]})?t.style.zIndex=this._getCalculatedZIndex(t):(t.style.zIndex="",this._needsPositionStickyOnElement&&(t.style.position=""),t.classList.remove(this._stickCellCss))}},{key:"_addStickyStyle",value:function(t,i,o,a){t.classList.add(this._stickCellCss),a&&t.classList.add(this._borderCellCss[i]),t.style[i]="".concat(o,"px"),t.style.zIndex=this._getCalculatedZIndex(t),this._needsPositionStickyOnElement&&(t.style.cssText+="position: -webkit-sticky; position: sticky; ")}},{key:"_getCalculatedZIndex",value:function(t){var s,i={top:100,bottom:10,left:1,right:1},o=0,a=(0,v.Z)(Ga);try{for(a.s();!(s=a.n()).done;){var u=s.value;t.style[u]&&(o+=i[u])}}catch(p){a.e(p)}finally{a.f()}return o?"".concat(o):""}},{key:"_getCellWidths",value:function(t){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!i&&this._cachedCellWidths.length)return this._cachedCellWidths;for(var o=[],a=t.children,s=0;s<a.length;s++){var u=a[s];o.push(u.getBoundingClientRect().width)}return this._cachedCellWidths=o,o}},{key:"_getStickyStartColumnPositions",value:function(t,i){for(var o=[],a=0,s=0;s<t.length;s++)i[s]&&(o[s]=a,a+=t[s]);return o}},{key:"_getStickyEndColumnPositions",value:function(t,i){for(var o=[],a=0,s=t.length;s>0;s--)i[s]&&(o[s]=a,a+=t[s]);return o}}]),n}(),kC=new e.OlP("CDK_SPL"),xf=function(){var n=function r(t,i){(0,g.Z)(this,r),this.viewContainer=t,this.elementRef=i};return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.s_b),e.Y36(e.SBq))},n.\u0275dir=e.lG2({type:n,selectors:[["","rowOutlet",""]]}),n}(),dm=function(){var n=function r(t,i){(0,g.Z)(this,r),this.viewContainer=t,this.elementRef=i};return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.s_b),e.Y36(e.SBq))},n.\u0275dir=e.lG2({type:n,selectors:[["","headerRowOutlet",""]]}),n}(),pm=function(){var n=function r(t,i){(0,g.Z)(this,r),this.viewContainer=t,this.elementRef=i};return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.s_b),e.Y36(e.SBq))},n.\u0275dir=e.lG2({type:n,selectors:[["","footerRowOutlet",""]]}),n}(),Yd=function(){var n=function r(t,i){(0,g.Z)(this,r),this.viewContainer=t,this.elementRef=i};return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.s_b),e.Y36(e.SBq))},n.\u0275dir=e.lG2({type:n,selectors:[["","noDataRowOutlet",""]]}),n}(),fm=function(){var n=function(){function r(t,i,o,a,s,u,p,m,b,I,F){(0,g.Z)(this,r),this._differs=t,this._changeDetectorRef=i,this._elementRef=o,this._dir=s,this._platform=p,this._viewRepeater=m,this._coalescedStyleScheduler=b,this._viewportRuler=I,this._stickyPositioningListener=F,this._onDestroy=new On.xQ,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new e.vpe,this.viewChange=new to.X({start:0,end:Number.MAX_VALUE}),a||this._elementRef.nativeElement.setAttribute("role","table"),this._document=u,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}return(0,k.Z)(r,[{key:"trackBy",get:function(){return this._trackByFn},set:function(i){this._trackByFn=i}},{key:"dataSource",get:function(){return this._dataSource},set:function(i){this._dataSource!==i&&this._switchDataSource(i)}},{key:"multiTemplateDataRows",get:function(){return this._multiTemplateDataRows},set:function(i){this._multiTemplateDataRows=(0,Dn.Ig)(i),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}},{key:"fixedLayout",get:function(){return this._fixedLayout},set:function(i){this._fixedLayout=(0,Dn.Ig)(i),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}},{key:"ngOnInit",value:function(){var i=this;this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create(function(o,a){return i.trackBy?i.trackBy(a.dataIndex,a.data):a}),this._viewportRuler.change().pipe((0,Fr.R)(this._onDestroy)).subscribe(function(){i._forceRecalculateCellWidths=!0})}},{key:"ngAfterContentChecked",value:function(){this._cacheRowDefs(),this._cacheColumnDefs();var o=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||o,this._forceRecalculateCellWidths=o,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}},{key:"ngOnDestroy",value:function(){this._rowOutlet.viewContainer.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),(0,Wi.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}},{key:"renderRows",value:function(){var i=this;this._renderRows=this._getAllRenderRows();var o=this._dataDiffer.diff(this._renderRows);if(!o)return this._updateNoDataRow(),void this.contentChanged.next();var a=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(o,a,function(s,u,p){return i._getEmbeddedViewArgs(s.item,p)},function(s){return s.item.data},function(s){1===s.operation&&s.context&&i._renderCellTemplateForItem(s.record.item.rowDef,s.context)}),this._updateRowIndexContext(),o.forEachIdentityChange(function(s){a.get(s.currentIndex).context.$implicit=s.item.data}),this._updateNoDataRow(),this.updateStickyColumnStyles(),this.contentChanged.next()}},{key:"addColumnDef",value:function(i){this._customColumnDefs.add(i)}},{key:"removeColumnDef",value:function(i){this._customColumnDefs.delete(i)}},{key:"addRowDef",value:function(i){this._customRowDefs.add(i)}},{key:"removeRowDef",value:function(i){this._customRowDefs.delete(i)}},{key:"addHeaderRowDef",value:function(i){this._customHeaderRowDefs.add(i),this._headerRowDefChanged=!0}},{key:"removeHeaderRowDef",value:function(i){this._customHeaderRowDefs.delete(i),this._headerRowDefChanged=!0}},{key:"addFooterRowDef",value:function(i){this._customFooterRowDefs.add(i),this._footerRowDefChanged=!0}},{key:"removeFooterRowDef",value:function(i){this._customFooterRowDefs.delete(i),this._footerRowDefChanged=!0}},{key:"setNoDataRow",value:function(i){this._customNoDataRow=i}},{key:"updateStickyHeaderRowStyles",value:function(){var i=this._getRenderedRows(this._headerRowOutlet),a=this._elementRef.nativeElement.querySelector("thead");a&&(a.style.display=i.length?"":"none");var s=this._headerRowDefs.map(function(u){return u.sticky});this._stickyStyler.clearStickyPositioning(i,["top"]),this._stickyStyler.stickRows(i,s,"top"),this._headerRowDefs.forEach(function(u){return u.resetStickyChanged()})}},{key:"updateStickyFooterRowStyles",value:function(){var i=this._getRenderedRows(this._footerRowOutlet),a=this._elementRef.nativeElement.querySelector("tfoot");a&&(a.style.display=i.length?"":"none");var s=this._footerRowDefs.map(function(u){return u.sticky});this._stickyStyler.clearStickyPositioning(i,["bottom"]),this._stickyStyler.stickRows(i,s,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,s),this._footerRowDefs.forEach(function(u){return u.resetStickyChanged()})}},{key:"updateStickyColumnStyles",value:function(){var i=this,o=this._getRenderedRows(this._headerRowOutlet),a=this._getRenderedRows(this._rowOutlet),s=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([].concat((0,_.Z)(o),(0,_.Z)(a),(0,_.Z)(s)),["left","right"]),this._stickyColumnStylesNeedReset=!1),o.forEach(function(u,p){i._addStickyColumnStyles([u],i._headerRowDefs[p])}),this._rowDefs.forEach(function(u){for(var p=[],m=0;m<a.length;m++)i._renderRows[m].rowDef===u&&p.push(a[m]);i._addStickyColumnStyles(p,u)}),s.forEach(function(u,p){i._addStickyColumnStyles([u],i._footerRowDefs[p])}),Array.from(this._columnDefsByName.values()).forEach(function(u){return u.resetStickyChanged()})}},{key:"_getAllRenderRows",value:function(){var i=[],o=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(var a=0;a<this._data.length;a++){var s=this._data[a],u=this._getRenderRowsForData(s,a,o.get(s));this._cachedRenderRowsMap.has(s)||this._cachedRenderRowsMap.set(s,new WeakMap);for(var p=0;p<u.length;p++){var m=u[p],b=this._cachedRenderRowsMap.get(m.data);b.has(m.rowDef)?b.get(m.rowDef).push(m):b.set(m.rowDef,[m]),i.push(m)}}return i}},{key:"_getRenderRowsForData",value:function(i,o,a){return this._getRowDefs(i,o).map(function(u){var p=a&&a.has(u)?a.get(u):[];if(p.length){var m=p.shift();return m.dataIndex=o,m}return{data:i,rowDef:u,dataIndex:o}})}},{key:"_cacheColumnDefs",value:function(){var i=this;this._columnDefsByName.clear(),o_(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(function(a){i._columnDefsByName.has(a.name),i._columnDefsByName.set(a.name,a)})}},{key:"_cacheRowDefs",value:function(){this._headerRowDefs=o_(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=o_(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=o_(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);var i=this._rowDefs.filter(function(o){return!o.when});this._defaultRowDef=i[0]}},{key:"_renderUpdatedColumns",value:function(){var i=function(p,m){return p||!!m.getColumnsDiff()},o=this._rowDefs.reduce(i,!1);o&&this._forceRenderDataRows();var a=this._headerRowDefs.reduce(i,!1);a&&this._forceRenderHeaderRows();var s=this._footerRowDefs.reduce(i,!1);return s&&this._forceRenderFooterRows(),o||a||s}},{key:"_switchDataSource",value:function(i){this._data=[],(0,Wi.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),i||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=i}},{key:"_observeRenderChanges",value:function(){var o,i=this;this.dataSource&&((0,Wi.Z9)(this.dataSource)?o=this.dataSource.connect(this):(0,Kg.b)(this.dataSource)?o=this.dataSource:Array.isArray(this.dataSource)&&(o=(0,rr.of)(this.dataSource)),this._renderChangeSubscription=o.pipe((0,Fr.R)(this._onDestroy)).subscribe(function(a){i._data=a||[],i.renderRows()}))}},{key:"_forceRenderHeaderRows",value:function(){var i=this;this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach(function(o,a){return i._renderRow(i._headerRowOutlet,o,a)}),this.updateStickyHeaderRowStyles()}},{key:"_forceRenderFooterRows",value:function(){var i=this;this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach(function(o,a){return i._renderRow(i._footerRowOutlet,o,a)}),this.updateStickyFooterRowStyles()}},{key:"_addStickyColumnStyles",value:function(i,o){var a=this,s=Array.from(o.columns||[]).map(function(m){return a._columnDefsByName.get(m)}),u=s.map(function(m){return m.sticky}),p=s.map(function(m){return m.stickyEnd});this._stickyStyler.updateStickyColumns(i,u,p,!this._fixedLayout||this._forceRecalculateCellWidths)}},{key:"_getRenderedRows",value:function(i){for(var o=[],a=0;a<i.viewContainer.length;a++){var s=i.viewContainer.get(a);o.push(s.rootNodes[0])}return o}},{key:"_getRowDefs",value:function(i,o){if(1==this._rowDefs.length)return[this._rowDefs[0]];var a=[];if(this.multiTemplateDataRows)a=this._rowDefs.filter(function(u){return!u.when||u.when(o,i)});else{var s=this._rowDefs.find(function(u){return u.when&&u.when(o,i)})||this._defaultRowDef;s&&a.push(s)}return a}},{key:"_getEmbeddedViewArgs",value:function(i,o){return{templateRef:i.rowDef.template,context:{$implicit:i.data},index:o}}},{key:"_renderRow",value:function(i,o,a){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},u=i.viewContainer.createEmbeddedView(o.template,s,a);return this._renderCellTemplateForItem(o,s),u}},{key:"_renderCellTemplateForItem",value:function(i,o){var s,a=(0,v.Z)(this._getCellTemplates(i));try{for(a.s();!(s=a.n()).done;)gu.mostRecentCellOutlet&&gu.mostRecentCellOutlet._viewContainer.createEmbeddedView(s.value,o)}catch(p){a.e(p)}finally{a.f()}this._changeDetectorRef.markForCheck()}},{key:"_updateRowIndexContext",value:function(){for(var i=this._rowOutlet.viewContainer,o=0,a=i.length;o<a;o++){var u=i.get(o).context;u.count=a,u.first=0===o,u.last=o===a-1,u.even=o%2==0,u.odd=!u.even,this.multiTemplateDataRows?(u.dataIndex=this._renderRows[o].dataIndex,u.renderIndex=o):u.index=this._renderRows[o].dataIndex}}},{key:"_getCellTemplates",value:function(i){var o=this;return i&&i.columns?Array.from(i.columns,function(a){var s=o._columnDefsByName.get(a);return i.extractCellTemplate(s)}):[]}},{key:"_applyNativeTableSections",value:function(){for(var i=this._document.createDocumentFragment(),a=0,s=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];a<s.length;a++){var u=s[a],p=this._document.createElement(u.tag);p.setAttribute("role","rowgroup");var b,m=(0,v.Z)(u.outlets);try{for(m.s();!(b=m.n()).done;)p.appendChild(b.value.elementRef.nativeElement)}catch(F){m.e(F)}finally{m.f()}i.appendChild(p)}this._elementRef.nativeElement.appendChild(i)}},{key:"_forceRenderDataRows",value:function(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}},{key:"_checkStickyStates",value:function(){var i=function(a,s){return a||s.hasStickyChanged()};this._headerRowDefs.reduce(i,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(i,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(i,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}},{key:"_setupStickyStyler",value:function(){var i=this;this._stickyStyler=new Tf(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,rr.of)()).pipe((0,Fr.R)(this._onDestroy)).subscribe(function(a){i._stickyStyler.direction=a,i.updateStickyColumnStyles()})}},{key:"_getOwnDefs",value:function(i){var o=this;return i.filter(function(a){return!a._table||a._table===o})}},{key:"_updateNoDataRow",value:function(){var i=this._customNoDataRow||this._noDataRow;if(i){var o=0===this._rowOutlet.viewContainer.length;if(o!==this._isShowingNoDataRow){var a=this._noDataRowOutlet.viewContainer;o?a.createEmbeddedView(i.templateRef):a.clear(),this._isShowingNoDataRow=o}}}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.ZZ4),e.Y36(e.sBO),e.Y36(e.SBq),e.$8M("role"),e.Y36(Fa.Is,8),e.Y36(Et.K0),e.Y36($r.t4),e.Y36(Wi.k),e.Y36(TC),e.Y36(Sa.rL),e.Y36(kC,12))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,i,o){var a;1&t&&(e.Suo(o,r_,5),e.Suo(o,Vu,5),e.Suo(o,cm,5),e.Suo(o,Sf,5),e.Suo(o,um,5)),2&t&&(e.iGM(a=e.CRH())&&(i._noDataRow=a.first),e.iGM(a=e.CRH())&&(i._contentColumnDefs=a),e.iGM(a=e.CRH())&&(i._contentRowDefs=a),e.iGM(a=e.CRH())&&(i._contentHeaderRowDefs=a),e.iGM(a=e.CRH())&&(i._contentFooterRowDefs=a))},viewQuery:function(t,i){var o;1&t&&(e.Gf(xf,7),e.Gf(dm,7),e.Gf(pm,7),e.Gf(Yd,7)),2&t&&(e.iGM(o=e.CRH())&&(i._rowOutlet=o.first),e.iGM(o=e.CRH())&&(i._headerRowOutlet=o.first),e.iGM(o=e.CRH())&&(i._footerRowOutlet=o.first),e.iGM(o=e.CRH())&&(i._noDataRowOutlet=o.first))},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,i){2&t&&e.ekj("cdk-table-fixed-layout",i.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[e._Bn([{provide:Uc,useExisting:n},{provide:Wi.k,useClass:Wi.yy},{provide:TC,useClass:jk},{provide:kC,useValue:null}])],ngContentSelectors:D3,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,i){1&t&&(e.F$t(A3),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0),e.GkF(3,1),e.GkF(4,2),e.GkF(5,3))},directives:[dm,xf,Yd,pm],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),n}();function o_(n,r){return n.concat(Array.from(r))}var AC=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[Sa.Cl]]}),n}(),Vc=f(75472),ne=f(19061),ln=f(59412),Gr=f(32819),hm=f(33090),vi=f(58780),mm=(f(12698),f(76161)),Qk=f(57263),on=f(739),_s=f(38480),c4=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[Et.ez,ln.BQ,$r.ud,Sa.ZD],Sa.ZD,ln.BQ]}),n}(),d4=f(82667),vm=f(81370),ua=f(35135),gm=f(16338),aE=f(64397),p4=f(75398),V3=f(4363);function PC(n,r){return"function"==typeof(n=function(n,r){return void 0===n?void 0===r?n:r:n}(n,r))?function(){for(var i=arguments,o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=i[s];return!!n.apply(this,a)}:n?function(){return!0}:function(){return!1}}var IC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol?"symbol":typeof n},j3=function(r){return null!=r&&"object"===(void 0===r?"undefined":IC(r))&&1===r.nodeType&&"object"===IC(r.style)&&"object"===IC(r.ownerDocument)};function z3(n,r){if(r=RC(r,!0),!j3(r))return-1;for(var t=0;t<n.length;t++)if(n[t]===r)return t;return-1}function sE(n,r){return-1!==z3(n,r)}function W3(n,r){for(var t=0;t<r.length;t++)sE(n,r[t])||n.push(r[t]);return r}function G3(n){for(var r=arguments,t=[],i=arguments.length-1;i-- >0;)t[i]=r[i+1];return W3(n,t=t.map(RC))}function Y3(n){for(var r=arguments,t=[],i=arguments.length-1;i-- >0;)t[i]=r[i+1];return t.map(RC).reduce(function(o,a){var s=z3(n,a);return-1!==s?o.concat(n.splice(s,1)):o},[])}function RC(n,r){if("string"==typeof n)try{return document.querySelector(n)}catch(t){throw t}if(!j3(n)&&!r)throw new TypeError(n+" is not a DOM element.");return n}function Q3(n){if(n===window)return function(){var n={top:{value:0,enumerable:!0},left:{value:0,enumerable:!0},right:{value:window.innerWidth,enumerable:!0},bottom:{value:window.innerHeight,enumerable:!0},width:{value:window.innerWidth,enumerable:!0},height:{value:window.innerHeight,enumerable:!0},x:{value:0,enumerable:!0},y:{value:0,enumerable:!0}};if(Object.create)return Object.create({},n);var r={};return Object.defineProperties(r,n),r}();try{var r=n.getBoundingClientRect();return void 0===r.x&&(r.x=r.left,r.y=r.top),r}catch(t){throw new TypeError("Can't call getBoundingClientRect on "+n)}}var r,lE=void 0;"function"!=typeof Object.create?(r=function(){},lE=function(t,i){if(t!==Object(t)&&null!==t)throw TypeError("Argument must be an object, or null");r.prototype=t||{};var o=new r;return r.prototype=null,void 0!==i&&Object.defineProperties(o,i),null===t&&(o.__proto__=null),o}):lE=Object.create;var X3=lE,qu=["altKey","button","buttons","clientX","clientY","ctrlKey","metaKey","movementX","movementY","offsetX","offsetY","pageX","pageY","region","relatedTarget","screenX","screenY","shiftKey","which","x","y"];function l_(n,r){r=r||{};for(var t=X3(n),i=0;i<qu.length;i++)void 0!==r[qu[i]]&&(t[qu[i]]=r[qu[i]]);return t}function NC(n,r){console.log("data ",r),n.data=r||{},n.dispatched="mousemove"}var _m=["webkit","moz","ms","o"],Jd=function(){if("undefined"==typeof window)return function(){};for(var n=0,r=_m.length;n<r&&!window.requestAnimationFrame;++n)window.requestAnimationFrame=window[_m[n]+"RequestAnimationFrame"];if(!window.requestAnimationFrame){var t=0;window.requestAnimationFrame=function(i){var o=(new Date).getTime(),a=Math.max(0,16-o-t),s=window.setTimeout(function(){return i(o+a)},a);return t=o+a,s}}return window.requestAnimationFrame.bind(window)}(),Qd=function(){if("undefined"==typeof window)return function(){};for(var n=0,r=_m.length;n<r&&!window.cancelAnimationFrame;++n)window.cancelAnimationFrame=window[_m[n]+"CancelAnimationFrame"]||window[_m[n]+"CancelRequestAnimationFrame"];return window.cancelAnimationFrame||(window.cancelAnimationFrame=function(t){window.clearTimeout(t)}),window.cancelAnimationFrame.bind(window)}();function uE(n,r){void 0===r&&(r={});var t=this,i=4,o=!1;if("object"!=typeof r.margin){var a=r.margin||-1;this.margin={left:a,right:a,top:a,bottom:a}}else this.margin=r.margin;this.scrollWhenOutside=r.scrollWhenOutside||!1;var s={},u=function(n,r){var t=PC((r=r||{}).allowUpdate,!0);return function(o){if(o=o||window.event,n.target=o.target||o.srcElement||o.originalTarget,n.element=this,n.type=o.type,t(o)){if(o.targetTouches)n.x=o.targetTouches[0].clientX,n.y=o.targetTouches[0].clientY,n.pageX=o.targetTouches[0].pageX,n.pageY=o.targetTouches[0].pageY,n.screenX=o.targetTouches[0].screenX,n.screenY=o.targetTouches[0].screenY;else{if(null===o.pageX&&null!==o.clientX){var a=o.target&&o.target.ownerDocument||document,s=a.documentElement,u=a.body;n.pageX=o.clientX+(s&&s.scrollLeft||u&&u.scrollLeft||0)-(s&&s.clientLeft||u&&u.clientLeft||0),n.pageY=o.clientY+(s&&s.scrollTop||u&&u.scrollTop||0)-(s&&s.clientTop||u&&u.clientTop||0)}else n.pageX=o.pageX,n.pageY=o.pageY;n.x=o.clientX,n.y=o.clientY,n.screenX=o.screenX,n.screenY=o.screenY}n.clientX=n.x,n.clientY=n.y}}}(s),p=function(n){var r={screenX:0,screenY:0,clientX:0,clientY:0,ctrlKey:!1,shiftKey:!1,altKey:!1,metaKey:!1,button:0,buttons:1,relatedTarget:null,region:null};return{destroy:function(){r=null},dispatch:MouseEvent?function(s,u,p){var m=new MouseEvent("mousemove",l_(r,u));return NC(m,p),s.dispatchEvent(m)}:"function"==typeof document.createEvent?function(s,u,p){var m=l_(r,u),b=document.createEvent("MouseEvents");return b.initMouseEvent("mousemove",!0,!0,window,0,m.screenX,m.screenY,m.clientX,m.clientY,m.ctrlKey,m.altKey,m.shiftKey,m.metaKey,m.button,m.relatedTarget),NC(b,p),s.dispatchEvent(b)}:"function"==typeof document.createEventObject?function(s,u,p){var m=document.createEventObject(),b=l_(r,u);for(var I in b)m[I]=b[I];return NC(m,p),s.dispatchEvent(m)}:void 0}}(),m=!1;window.addEventListener("mousemove",u,!1),window.addEventListener("touchmove",u,!1),isNaN(r.maxSpeed)||(i=r.maxSpeed),"object"!=typeof i&&(i={left:i,right:i,top:i,bottom:i}),this.autoScroll=PC(r.autoScroll),this.syncMove=PC(r.syncMove,!1),this.destroy=function(Wt){window.removeEventListener("mousemove",u,!1),window.removeEventListener("touchmove",u,!1),window.removeEventListener("mousedown",$,!1),window.removeEventListener("touchstart",$,!1),window.removeEventListener("mouseup",de,!1),window.removeEventListener("touchend",de,!1),window.removeEventListener("pointerup",de,!1),window.removeEventListener("mouseleave",st,!1),window.removeEventListener("mousemove",pt,!1),window.removeEventListener("touchmove",pt,!1),window.removeEventListener("scroll",Y,!0),n=[],Wt&&Me()},this.add=function(){for(var Wt=[],ot=arguments.length;ot--;)Wt[ot]=arguments[ot];return G3.apply(void 0,[n].concat(Wt)),this},this.remove=function(){for(var Wt=[],ot=arguments.length;ot--;)Wt[ot]=arguments[ot];return Y3.apply(void 0,[n].concat(Wt))};var I,Wt,b=null;"[object Array]"!==Object.prototype.toString.call(n)&&(n=[n]),Wt=n,n=[],Wt.forEach(function(ot){ot===window?b=window:t.add(ot)}),Object.defineProperties(this,{down:{get:function(){return m}},maxSpeed:{get:function(){return i}},point:{get:function(){return s}},scrolling:{get:function(){return o}}});var G,F=null;function Y(Wt){for(var ot=0;ot<n.length;ot++)if(n[ot]===Wt.target){o=!0;break}o&&Jd(function(){return o=!1})}function $(){m=!0}function de(){m=!1,Me()}function Me(){Qd(G),Qd(I)}function st(){m=!1}function at(){for(var Wt=null,ot=0;ot<n.length;ot++)$3(s,n[ot])&&(Wt=n[ot]);return Wt}function pt(Wt){if(t.autoScroll()&&!Wt.dispatched){var ot=Wt.target,Dt=document.body;F&&!$3(s,F)&&(t.scrollWhenOutside||(F=null)),ot&&ot.parentNode===Dt?ot=at():(ot=function(Wt){if(!Wt)return null;if(F===Wt||sE(n,Wt))return Wt;for(;Wt=Wt.parentNode;)if(sE(n,Wt))return Wt;return null}(ot))||(ot=at()),ot&&ot!==F&&(F=ot),b&&(Qd(I),I=Jd(Je)),F&&(Qd(G),G=Jd(et))}}function Je(){It(b),Qd(I),I=Jd(Je)}function et(){!F||(It(F),Qd(G),G=Jd(et))}function It(Wt){var Dt,mn,ot=Q3(Wt);Dt=s.x<ot.left+t.margin.left?Math.floor(Math.max(-1,(s.x-ot.left)/t.margin.left-1)*t.maxSpeed.left):s.x>ot.right-t.margin.right?Math.ceil(Math.min(1,(s.x-ot.right)/t.margin.right+1)*t.maxSpeed.right):0,mn=s.y<ot.top+t.margin.top?Math.floor(Math.max(-1,(s.y-ot.top)/t.margin.top-1)*t.maxSpeed.top):s.y>ot.bottom-t.margin.bottom?Math.ceil(Math.min(1,(s.y-ot.bottom)/t.margin.bottom+1)*t.maxSpeed.bottom):0,t.syncMove()&&p.dispatch(Wt,{pageX:s.pageX+Dt,pageY:s.pageY+mn,clientX:s.x+Dt,clientY:s.y+mn}),setTimeout(function(){mn&&function(Wt,ot){Wt===window?window.scrollTo(Wt.pageXOffset,Wt.pageYOffset+ot):Wt.scrollTop+=ot}(Wt,mn),Dt&&function(Wt,ot){Wt===window?window.scrollTo(Wt.pageXOffset+ot,Wt.pageYOffset):Wt.scrollLeft+=ot}(Wt,Dt)})}window.addEventListener("mousedown",$,!1),window.addEventListener("touchstart",$,!1),window.addEventListener("mouseup",de,!1),window.addEventListener("touchend",de,!1),window.addEventListener("pointerup",de,!1),window.addEventListener("mousemove",pt,!1),window.addEventListener("touchmove",pt,!1),window.addEventListener("mouseleave",st,!1),window.addEventListener("scroll",Y,!0)}function $3(n,r,t){return t?n.y>t.top&&n.y<t.bottom&&n.x>t.left&&n.x<t.right:function(n,r){var t=Q3(r);return n.y>t.top&&n.y<t.bottom&&n.x>t.left&&n.x<t.right}(n,r)}var ym=function(){var n=function r(){(0,g.Z)(this,r),this.currentDrag=new On.xQ};return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=e.Yz7({factory:function(){return new n},token:n,providedIn:"root"}),n}(),ZC=function(){var n=function r(t){(0,g.Z)(this,r),this.elementRef=t};return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq))},n.\u0275dir=e.lG2({type:n,selectors:[["","mwlDraggableScrollContainer",""]]}),n}();var h4=function(){var n=function(){function r(t,i,o,a,s,u,p){(0,g.Z)(this,r),this.element=t,this.renderer=i,this.draggableHelper=o,this.zone=a,this.vcr=s,this.scrollContainer=u,this.document=p,this.dragAxis={x:!0,y:!0},this.dragSnapGrid={},this.ghostDragEnabled=!0,this.showOriginalElementWhileDragging=!1,this.dragCursor="",this.autoScroll={margin:20},this.dragPointerDown=new e.vpe,this.dragStart=new e.vpe,this.ghostElementCreated=new e.vpe,this.dragging=new e.vpe,this.dragEnd=new e.vpe,this.pointerDown$=new On.xQ,this.pointerMove$=new On.xQ,this.pointerUp$=new On.xQ,this.eventListenerSubscriptions={},this.destroy$=new On.xQ,this.timeLongPress={timerBegin:0,timerEnd:0}}return(0,k.Z)(r,[{key:"ngOnInit",value:function(){var i=this;this.checkEventListeners();var o=this.pointerDown$.pipe((0,vi.h)(function(){return i.canDrag()}),(0,ua.zg)(function(a){a.event.stopPropagation&&!i.scrollContainer&&a.event.stopPropagation();var s=i.renderer.createElement("style");i.renderer.setAttribute(s,"type","text/css"),i.renderer.appendChild(s,i.renderer.createText("\n          body * {\n           -moz-user-select: none;\n           -ms-user-select: none;\n           -webkit-user-select: none;\n           user-select: none;\n          }\n        ")),requestAnimationFrame(function(){i.document.head.appendChild(s)});var u=i.getScrollPosition(),p=new ta.y(function($){return i.renderer.listen(i.scrollContainer?i.scrollContainer.elementRef.nativeElement:"window","scroll",function(Me){return $.next(Me)})}).pipe((0,na.O)(u),(0,wr.U)(function(){return i.getScrollPosition()})),m=new On.xQ,b=new d4.t;i.zone.run(function(){i.dragPointerDown.next({x:0,y:0})});var I=(0,vo.T)(i.pointerUp$,i.pointerDown$,b,i.destroy$).pipe((0,gm.B)()),F=(0,vm.aj)([i.pointerMove$,p]).pipe((0,wr.U)(function($){var de=(0,C.Z)($,2),Me=de[0],st=de[1];return{currentDrag$:m,transformX:Me.clientX-a.clientX,transformY:Me.clientY-a.clientY,clientX:Me.clientX,clientY:Me.clientY,scrollLeft:st.left,scrollTop:st.top,target:Me.event.target}}),(0,wr.U)(function($){return i.dragSnapGrid.x&&($.transformX=Math.round($.transformX/i.dragSnapGrid.x)*i.dragSnapGrid.x),i.dragSnapGrid.y&&($.transformY=Math.round($.transformY/i.dragSnapGrid.y)*i.dragSnapGrid.y),$}),(0,wr.U)(function($){return i.dragAxis.x||($.transformX=0),i.dragAxis.y||($.transformY=0),$}),(0,wr.U)(function($){var de=$.scrollLeft-u.left,Me=$.scrollTop-u.top;return Object.assign(Object.assign({},$),{x:$.transformX+de,y:$.transformY+Me})}),(0,vi.h)(function($){return!i.validateDrag||i.validateDrag({x:$.x,y:$.y,transform:{x:$.transformX,y:$.transformY}})}),(0,Fr.R)(I),(0,gm.B)()),G=F.pipe((0,$i.q)(1),(0,gm.B)()),Y=F.pipe((0,aE.h)(1),(0,gm.B)());return G.subscribe(function($){var de=$.clientX,Me=$.clientY,st=$.x,tt=$.y;if(i.zone.run(function(){i.dragStart.next({cancelDrag$:b})}),i.scroller=function(n,r){return new uE(n,r)}([i.scrollContainer?i.scrollContainer.elementRef.nativeElement:i.document.defaultView],Object.assign(Object.assign({},i.autoScroll),{autoScroll:function(){return!0}})),function(n,r,t){t&&t.split(" ").forEach(function(i){return n.addClass(r.nativeElement,i)})}(i.renderer,i.element,i.dragActiveClass),i.ghostDragEnabled){var at=i.element.nativeElement.getBoundingClientRect(),pt=i.element.nativeElement.cloneNode(!0);if(i.showOriginalElementWhileDragging||i.renderer.setStyle(i.element.nativeElement,"visibility","hidden"),i.ghostElementAppendTo?i.ghostElementAppendTo.appendChild(pt):i.element.nativeElement.parentNode.insertBefore(pt,i.element.nativeElement.nextSibling),i.ghostElement=pt,i.document.body.style.cursor=i.dragCursor,i.setElementStyles(pt,{position:"fixed",top:"".concat(at.top,"px"),left:"".concat(at.left,"px"),width:"".concat(at.width,"px"),height:"".concat(at.height,"px"),cursor:i.dragCursor,margin:"0",willChange:"transform",pointerEvents:"none"}),i.ghostElementTemplate){var Je=i.vcr.createEmbeddedView(i.ghostElementTemplate);pt.innerHTML="",Je.rootNodes.filter(function(et){return et instanceof Node}).forEach(function(et){pt.appendChild(et)}),Y.subscribe(function(){i.vcr.remove(i.vcr.indexOf(Je))})}i.zone.run(function(){i.ghostElementCreated.emit({clientX:de-st,clientY:Me-tt,element:pt})}),Y.subscribe(function(){pt.parentElement.removeChild(pt),i.ghostElement=null,i.renderer.setStyle(i.element.nativeElement,"visibility","")})}i.draggableHelper.currentDrag.next(m)}),Y.pipe((0,ua.zg)(function($){var de=b.pipe((0,p4.Q)(),(0,$i.q)(1),(0,wr.U)(function(Me){return Object.assign(Object.assign({},$),{dragCancelled:Me>0})}));return b.complete(),de})).subscribe(function($){var de=$.x,Me=$.y,st=$.dragCancelled;i.scroller.destroy(),i.zone.run(function(){i.dragEnd.next({x:de,y:Me,dragCancelled:st})}),function(n,r,t){t&&t.split(" ").forEach(function(i){return n.removeClass(r.nativeElement,i)})}(i.renderer,i.element,i.dragActiveClass),m.complete()}),(0,vo.T)(I,Y).pipe((0,$i.q)(1)).subscribe(function(){requestAnimationFrame(function(){i.document.head.removeChild(s)})}),F}),(0,gm.B)());(0,vo.T)(o.pipe((0,$i.q)(1),(0,wr.U)(function(a){return[,a]})),o.pipe((0,V3.G)())).pipe((0,vi.h)(function(a){var s=(0,C.Z)(a,2),u=s[0],p=s[1];return!u||u.x!==p.x||u.y!==p.y}),(0,wr.U)(function(a){return(0,C.Z)(a,2)[1]})).subscribe(function(a){var s=a.x,u=a.y,p=a.currentDrag$,m=a.clientX,b=a.clientY,I=a.transformX,F=a.transformY,G=a.target;i.zone.run(function(){i.dragging.next({x:s,y:u})}),requestAnimationFrame(function(){if(i.ghostElement){var Y="translate3d(".concat(I,"px, ").concat(F,"px, 0px)");i.setElementStyles(i.ghostElement,{transform:Y,"-webkit-transform":Y,"-ms-transform":Y,"-moz-transform":Y,"-o-transform":Y})}}),p.next({clientX:m,clientY:b,dropData:i.dropData,target:G})})}},{key:"ngOnChanges",value:function(i){i.dragAxis&&this.checkEventListeners()}},{key:"ngOnDestroy",value:function(){this.unsubscribeEventListeners(),this.pointerDown$.complete(),this.pointerMove$.complete(),this.pointerUp$.complete(),this.destroy$.next()}},{key:"checkEventListeners",value:function(){var i=this,o=this.canDrag(),a=Object.keys(this.eventListenerSubscriptions).length>0;o&&!a?this.zone.runOutsideAngular(function(){i.eventListenerSubscriptions.mousedown=i.renderer.listen(i.element.nativeElement,"mousedown",function(s){i.onMouseDown(s)}),i.eventListenerSubscriptions.mouseup=i.renderer.listen("document","mouseup",function(s){i.onMouseUp(s)}),i.eventListenerSubscriptions.touchstart=i.renderer.listen(i.element.nativeElement,"touchstart",function(s){i.onTouchStart(s)}),i.eventListenerSubscriptions.touchend=i.renderer.listen("document","touchend",function(s){i.onTouchEnd(s)}),i.eventListenerSubscriptions.touchcancel=i.renderer.listen("document","touchcancel",function(s){i.onTouchEnd(s)}),i.eventListenerSubscriptions.mouseenter=i.renderer.listen(i.element.nativeElement,"mouseenter",function(){i.onMouseEnter()}),i.eventListenerSubscriptions.mouseleave=i.renderer.listen(i.element.nativeElement,"mouseleave",function(){i.onMouseLeave()})}):!o&&a&&this.unsubscribeEventListeners()}},{key:"onMouseDown",value:function(i){var o=this;0===i.button&&(this.eventListenerSubscriptions.mousemove||(this.eventListenerSubscriptions.mousemove=this.renderer.listen("document","mousemove",function(a){o.pointerMove$.next({event:a,clientX:a.clientX,clientY:a.clientY})})),this.pointerDown$.next({event:i,clientX:i.clientX,clientY:i.clientY}))}},{key:"onMouseUp",value:function(i){0===i.button&&(this.eventListenerSubscriptions.mousemove&&(this.eventListenerSubscriptions.mousemove(),delete this.eventListenerSubscriptions.mousemove),this.pointerUp$.next({event:i,clientX:i.clientX,clientY:i.clientY}))}},{key:"onTouchStart",value:function(i){var a,s,u,o=this;if(this.touchStartLongPress&&(this.timeLongPress.timerBegin=Date.now(),s=!1,u=this.hasScrollbar(),a=this.getScrollPosition()),!this.eventListenerSubscriptions.touchmove){var p=(0,hm.R)(this.document,"contextmenu").subscribe(function(b){b.preventDefault()}),m=(0,hm.R)(this.document,"touchmove",{passive:!1}).subscribe(function(b){o.touchStartLongPress&&!s&&u&&(s=o.shouldBeginDrag(i,b,a)),(!o.touchStartLongPress||!u||s)&&(b.preventDefault(),o.pointerMove$.next({event:b,clientX:b.targetTouches[0].clientX,clientY:b.targetTouches[0].clientY}))});this.eventListenerSubscriptions.touchmove=function(){p.unsubscribe(),m.unsubscribe()}}this.pointerDown$.next({event:i,clientX:i.touches[0].clientX,clientY:i.touches[0].clientY})}},{key:"onTouchEnd",value:function(i){this.eventListenerSubscriptions.touchmove&&(this.eventListenerSubscriptions.touchmove(),delete this.eventListenerSubscriptions.touchmove,this.touchStartLongPress&&this.enableScroll()),this.pointerUp$.next({event:i,clientX:i.changedTouches[0].clientX,clientY:i.changedTouches[0].clientY})}},{key:"onMouseEnter",value:function(){this.setCursor(this.dragCursor)}},{key:"onMouseLeave",value:function(){this.setCursor("")}},{key:"canDrag",value:function(){return this.dragAxis.x||this.dragAxis.y}},{key:"setCursor",value:function(i){this.eventListenerSubscriptions.mousemove||this.renderer.setStyle(this.element.nativeElement,"cursor",i)}},{key:"unsubscribeEventListeners",value:function(){var i=this;Object.keys(this.eventListenerSubscriptions).forEach(function(o){i.eventListenerSubscriptions[o](),delete i.eventListenerSubscriptions[o]})}},{key:"setElementStyles",value:function(i,o){var a=this;Object.keys(o).forEach(function(s){a.renderer.setStyle(i,s,o[s])})}},{key:"getScrollElement",value:function(){return this.scrollContainer?this.scrollContainer.elementRef.nativeElement:this.document.body}},{key:"getScrollPosition",value:function(){return this.scrollContainer?{top:this.scrollContainer.elementRef.nativeElement.scrollTop,left:this.scrollContainer.elementRef.nativeElement.scrollLeft}:{top:window.pageYOffset||this.document.documentElement.scrollTop,left:window.pageXOffset||this.document.documentElement.scrollLeft}}},{key:"shouldBeginDrag",value:function(i,o,a){var s=this.getScrollPosition(),u_top=Math.abs(s.top-a.top),u_left=Math.abs(s.left-a.left),p=Math.abs(o.targetTouches[0].clientX-i.touches[0].clientX)-u_left,m=Math.abs(o.targetTouches[0].clientY-i.touches[0].clientY)-u_top,I=this.touchStartLongPress;return(p+m>I.delta||u_top>0||u_left>0)&&(this.timeLongPress.timerBegin=Date.now()),this.timeLongPress.timerEnd=Date.now(),this.timeLongPress.timerEnd-this.timeLongPress.timerBegin>=I.delay&&(this.disableScroll(),!0)}},{key:"enableScroll",value:function(){this.scrollContainer&&this.renderer.setStyle(this.scrollContainer.elementRef.nativeElement,"overflow",""),this.renderer.setStyle(this.document.body,"overflow","")}},{key:"disableScroll",value:function(){this.scrollContainer&&this.renderer.setStyle(this.scrollContainer.elementRef.nativeElement,"overflow","hidden"),this.renderer.setStyle(this.document.body,"overflow","hidden")}},{key:"hasScrollbar",value:function(){var i=this.getScrollElement();return i.scrollWidth>i.clientWidth||i.scrollHeight>i.clientHeight}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(ym),e.Y36(e.R0b),e.Y36(e.s_b),e.Y36(ZC,8),e.Y36(Et.K0))},n.\u0275dir=e.lG2({type:n,selectors:[["","mwlDraggable",""]],inputs:{dragAxis:"dragAxis",dragSnapGrid:"dragSnapGrid",ghostDragEnabled:"ghostDragEnabled",showOriginalElementWhileDragging:"showOriginalElementWhileDragging",dragCursor:"dragCursor",autoScroll:"autoScroll",dropData:"dropData",validateDrag:"validateDrag",dragActiveClass:"dragActiveClass",ghostElementAppendTo:"ghostElementAppendTo",ghostElementTemplate:"ghostElementTemplate",touchStartLongPress:"touchStartLongPress"},outputs:{dragPointerDown:"dragPointerDown",dragStart:"dragStart",ghostElementCreated:"ghostElementCreated",dragging:"dragging",dragEnd:"dragEnd"},features:[e.TTD]}),n}(),u_=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({}),n}(),hE=f(39095);function kf(n,r){return n<r?-1:n>r?1:n>=r?0:NaN}function mE(n){return 1===n.length&&(n=function(n){return function(r,t){return kf(n(r),t)}}(n)),{left:function(t,i,o,a){for(null==o&&(o=0),null==a&&(a=t.length);o<a;){var s=o+a>>>1;n(t[s],i)<0?o=s+1:a=s}return o},right:function(t,i,o,a){for(null==o&&(o=0),null==a&&(a=t.length);o<a;){var s=o+a>>>1;n(t[s],i)>0?a=s:o=s+1}return o}}}var vE=mE(kf),eR=vE.right,tR=vE.left,Ef=eR;function m4(n,r){null==r&&(r=BC);for(var t=0,i=n.length-1,o=n[0],a=new Array(i<0?0:i);t<i;)a[t]=r(o,o=n[++t]);return a}function BC(n,r){return[n,r]}function nR(n,r,t){var s,u,p,m,i=n.length,o=r.length,a=new Array(i*o);for(null==t&&(t=BC),s=p=0;s<i;++s)for(m=n[s],u=0;u<o;++u,++p)a[p]=t(m,r[u]);return a}function v4(n,r){return r<n?-1:r>n?1:r>=n?0:NaN}function qc(n){return null===n?NaN:+n}function gE(n,r){var s,u,t=n.length,i=0,o=-1,a=0,p=0;if(null==r)for(;++o<t;)isNaN(s=qc(n[o]))||(p+=(u=s-a)*(s-(a+=u/++i)));else for(;++o<t;)isNaN(s=qc(r(n[o],o,n)))||(p+=(u=s-a)*(s-(a+=u/++i)));if(i>1)return p/(i-1)}function Mf(n,r){var t=gE(n,r);return t&&Math.sqrt(t)}function UC(n,r){var o,a,s,t=n.length,i=-1;if(null==r){for(;++i<t;)if(null!=(o=n[i])&&o>=o)for(a=s=o;++i<t;)null!=(o=n[i])&&(a>o&&(a=o),s<o&&(s=o))}else for(;++i<t;)if(null!=(o=r(n[i],i,n))&&o>=o)for(a=s=o;++i<t;)null!=(o=r(n[i],i,n))&&(a>o&&(a=o),s<o&&(s=o));return[a,s]}var _E=Array.prototype,rR=_E.slice,HC=_E.map;function c_(n){return function(){return n}}function _u(n){return n}function Hs(n,r,t){n=+n,r=+r,t=(o=arguments.length)<2?(r=n,n=0,1):o<3?1:+t;for(var i=-1,o=0|Math.max(0,Math.ceil((r-n)/t)),a=new Array(o);++i<o;)a[i]=n+i*t;return a}var bm=Math.sqrt(50),VC=Math.sqrt(10),qC=Math.sqrt(2);function Cm(n,r,t){var i,a,s,u,o=-1;if(t=+t,(n=+n)==(r=+r)&&t>0)return[n];if((i=r<n)&&(a=n,n=r,r=a),0===(u=Af(n,r,t))||!isFinite(u))return[];if(u>0)for(n=Math.ceil(n/u),r=Math.floor(r/u),s=new Array(a=Math.ceil(r-n+1));++o<a;)s[o]=(n+o)*u;else for(n=Math.floor(n*u),r=Math.ceil(r*u),s=new Array(a=Math.ceil(n-r+1));++o<a;)s[o]=(n-o)/u;return i&&s.reverse(),s}function Af(n,r,t){var i=(r-n)/Math.max(0,t),o=Math.floor(Math.log(i)/Math.LN10),a=i/Math.pow(10,o);return o>=0?(a>=bm?10:a>=VC?5:a>=qC?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(a>=bm?10:a>=VC?5:a>=qC?2:1)}function jc(n,r,t){var i=Math.abs(r-n)/Math.max(0,t),o=Math.pow(10,Math.floor(Math.log(i)/Math.LN10)),a=i/o;return a>=bm?o*=10:a>=VC?o*=5:a>=qC&&(o*=2),r<n?-o:o}function jC(n){return Math.ceil(Math.log(n.length)/Math.LN2)+1}function yE(){var n=_u,r=UC,t=jC;function i(o){var a,u,s=o.length,p=new Array(s);for(a=0;a<s;++a)p[a]=n(o[a],a,o);var m=r(p),b=m[0],I=m[1],F=t(p,b,I);Array.isArray(F)||(F=jc(b,I,F),F=Hs(Math.ceil(b/F)*F,I,F));for(var G=F.length;F[0]<=b;)F.shift(),--G;for(;F[G-1]>I;)F.pop(),--G;var $,Y=new Array(G+1);for(a=0;a<=G;++a)($=Y[a]=[]).x0=a>0?F[a-1]:b,$.x1=a<G?F[a]:I;for(a=0;a<s;++a)b<=(u=p[a])&&u<=I&&Y[Ef(F,u,0,G)].push(o[a]);return Y}return i.value=function(o){return arguments.length?(n="function"==typeof o?o:c_(o),i):n},i.domain=function(o){return arguments.length?(r="function"==typeof o?o:c_([o[0],o[1]]),i):r},i.thresholds=function(o){return arguments.length?(t="function"==typeof o?o:Array.isArray(o)?c_(rR.call(o)):c_(o),i):t},i}function Df(n,r,t){if(null==t&&(t=qc),i=n.length){if((r=+r)<=0||i<2)return+t(n[0],0,n);if(r>=1)return+t(n[i-1],i-1,n);var i,o=(i-1)*r,a=Math.floor(o),s=+t(n[a],a,n);return s+(+t(n[a+1],a+1,n)-s)*(o-a)}}function iR(n,r,t){return n=HC.call(n,qc).sort(kf),Math.ceil((t-r)/(2*(Df(n,.75)-Df(n,.25))*Math.pow(n.length,-1/3)))}function oR(n,r,t){return Math.ceil((t-r)/(3.5*Mf(n)*Math.pow(n.length,-1/3)))}function d_(n,r){var o,a,t=n.length,i=-1;if(null==r){for(;++i<t;)if(null!=(o=n[i])&&o>=o)for(a=o;++i<t;)null!=(o=n[i])&&o>a&&(a=o)}else for(;++i<t;)if(null!=(o=r(n[i],i,n))&&o>=o)for(a=o;++i<t;)null!=(o=r(n[i],i,n))&&o>a&&(a=o);return a}function bE(n,r){var a,t=n.length,i=t,o=-1,s=0;if(null==r)for(;++o<t;)isNaN(a=qc(n[o]))?--i:s+=a;else for(;++o<t;)isNaN(a=qc(r(n[o],o,n)))?--i:s+=a;if(i)return s/i}function CE(n,r){var o,t=n.length,i=-1,a=[];if(null==r)for(;++i<t;)isNaN(o=qc(n[i]))||a.push(o);else for(;++i<t;)isNaN(o=qc(r(n[i],i,n)))||a.push(o);return Df(a.sort(kf),.5)}function Sm(n){for(var t,a,s,r=n.length,i=-1,o=0;++i<r;)o+=n[i].length;for(a=new Array(o);--r>=0;)for(t=(s=n[r]).length;--t>=0;)a[--o]=s[t];return a}function SE(n,r){var o,a,t=n.length,i=-1;if(null==r){for(;++i<t;)if(null!=(o=n[i])&&o>=o)for(a=o;++i<t;)null!=(o=n[i])&&a>o&&(a=o)}else for(;++i<t;)if(null!=(o=r(n[i],i,n))&&o>=o)for(a=o;++i<t;)null!=(o=r(n[i],i,n))&&a>o&&(a=o);return a}function Fl(n,r){for(var t=r.length,i=new Array(t);t--;)i[t]=n[r[t]];return i}function aR(n,r){if(t=n.length){var t,a,i=0,o=0,s=n[o];for(null==r&&(r=kf);++i<t;)(r(a=n[i],s)<0||0!==r(s,s))&&(s=a,o=i);if(0===r(s,s))return o}}function g4(n,r,t){for(var o,a,i=(null==t?n.length:t)-(r=null==r?0:+r);i;)a=Math.random()*i--|0,o=n[i+r],n[i+r]=n[a+r],n[a+r]=o;return n}function sR(n,r){var o,t=n.length,i=-1,a=0;if(null==r)for(;++i<t;)(o=+n[i])&&(a+=o);else for(;++i<t;)(o=+r(n[i],i,n))&&(a+=o);return a}function lR(n){if(!(a=n.length))return[];for(var r=-1,t=SE(n,uR),i=new Array(t);++r<t;)for(var a,o=-1,s=i[r]=new Array(a);++o<a;)s[o]=n[o][r];return i}function uR(n){return n.length}function cR(){return lR(arguments)}var zC=Array.prototype.slice;function _4(n){return n}function dR(n){return"translate("+(n+.5)+",0)"}function y4(n){return"translate(0,"+(n+.5)+")"}function TE(n){return function(r){return+n(r)}}function xE(n){var r=Math.max(0,n.bandwidth()-1)/2;return n.round()&&(r=Math.round(r)),function(t){return+n(t)+r}}function pR(){return!this.__axis}function f_(n,r){var t=[],i=null,o=null,a=6,s=6,u=3,p=1===n||4===n?-1:1,m=4===n||2===n?"x":"y",b=1===n||3===n?dR:y4;function I(F){var G=null==i?r.ticks?r.ticks.apply(r,t):r.domain():i,Y=null==o?r.tickFormat?r.tickFormat.apply(r,t):_4:o,$=Math.max(a,0)+u,de=r.range(),Me=+de[0]+.5,st=+de[de.length-1]+.5,tt=(r.bandwidth?xE:TE)(r.copy()),at=F.selection?F.selection():F,pt=at.selectAll(".domain").data([null]),Je=at.selectAll(".tick").data(G,r).order(),et=Je.exit(),It=Je.enter().append("g").attr("class","tick"),kt=Je.select("line"),pn=Je.select("text");pt=pt.merge(pt.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),Je=Je.merge(It),kt=kt.merge(It.append("line").attr("stroke","currentColor").attr(m+"2",p*a)),pn=pn.merge(It.append("text").attr("fill","currentColor").attr(m,p*$).attr("dy",1===n?"0em":3===n?"0.71em":"0.32em")),F!==at&&(pt=pt.transition(F),Je=Je.transition(F),kt=kt.transition(F),pn=pn.transition(F),et=et.transition(F).attr("opacity",1e-6).attr("transform",function(Wt){return isFinite(Wt=tt(Wt))?b(Wt):this.getAttribute("transform")}),It.attr("opacity",1e-6).attr("transform",function(Wt){var ot=this.parentNode.__axis;return b(ot&&isFinite(ot=ot(Wt))?ot:tt(Wt))})),et.remove(),pt.attr("d",4===n||2==n?s?"M"+p*s+","+Me+"H0.5V"+st+"H"+p*s:"M0.5,"+Me+"V"+st:s?"M"+Me+","+p*s+"V0.5H"+st+"V"+p*s:"M"+Me+",0.5H"+st),Je.attr("opacity",1).attr("transform",function(Wt){return b(tt(Wt))}),kt.attr(m+"2",p*a),pn.attr(m,p*$).text(Y),at.filter(pR).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===n?"start":4===n?"end":"middle"),at.each(function(){this.__axis=tt})}return I.scale=function(F){return arguments.length?(r=F,I):r},I.ticks=function(){return t=zC.call(arguments),I},I.tickArguments=function(F){return arguments.length?(t=null==F?[]:zC.call(F),I):t.slice()},I.tickValues=function(F){return arguments.length?(i=null==F?null:zC.call(F),I):i&&i.slice()},I.tickFormat=function(F){return arguments.length?(o=F,I):o},I.tickSize=function(F){return arguments.length?(a=s=+F,I):a},I.tickSizeInner=function(F){return arguments.length?(a=+F,I):a},I.tickSizeOuter=function(F){return arguments.length?(s=+F,I):s},I.tickPadding=function(F){return arguments.length?(u=+F,I):u},I}function wE(n){return f_(1,n)}function wm(n){return f_(2,n)}function YC(n){return f_(3,n)}function kE(n){return f_(4,n)}var fR={value:function(){}};function EE(){for(var i,n=0,r=arguments.length,t={};n<r;++n){if(!(i=arguments[n]+"")||i in t||/[\s.]/.test(i))throw new Error("illegal type: "+i);t[i]=[]}return new JC(t)}function JC(n){this._=n}function b4(n,r){return n.trim().split(/^|\s+/).map(function(t){var i="",o=t.indexOf(".");if(o>=0&&(i=t.slice(o+1),t=t.slice(0,o)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:i}})}function C4(n,r){for(var o,t=0,i=n.length;t<i;++t)if((o=n[t]).name===r)return o.value}function QC(n,r,t){for(var i=0,o=n.length;i<o;++i)if(n[i].name===r){n[i]=fR,n=n.slice(0,i).concat(n.slice(i+1));break}return null!=t&&n.push({name:r,value:t}),n}JC.prototype=EE.prototype={constructor:JC,on:function(r,t){var a,i=this._,o=b4(r+"",i),s=-1,u=o.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++s<u;)if(a=(r=o[s]).type)i[a]=QC(i[a],r.name,t);else if(null==t)for(a in i)i[a]=QC(i[a],r.name,null);return this}for(;++s<u;)if((a=(r=o[s]).type)&&(a=C4(i[a],r.name)))return a},copy:function(){var r={},t=this._;for(var i in t)r[i]=t[i].slice();return new JC(r)},call:function(r,t){if((a=arguments.length-2)>0)for(var a,s,i=new Array(a),o=0;o<a;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(r))throw new Error("unknown type: "+r);for(o=0,a=(s=this._[r]).length;o<a;++o)s[o].value.apply(t,i)},apply:function(r,t,i){if(!this._.hasOwnProperty(r))throw new Error("unknown type: "+r);for(var o=this._[r],a=0,s=o.length;a<s;++a)o[a].value.apply(t,i)}};var Kd=EE,KC="http://www.w3.org/1999/xhtml",XC={svg:"http://www.w3.org/2000/svg",xhtml:KC,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function km(n){var r=n+="",t=r.indexOf(":");return t>=0&&"xmlns"!==(r=n.slice(0,t))&&(n=n.slice(t+1)),XC.hasOwnProperty(r)?{space:XC[r],local:n}:n}function hR(n){return function(){var r=this.ownerDocument,t=this.namespaceURI;return t===KC&&r.documentElement.namespaceURI===KC?r.createElement(n):r.createElementNS(t,n)}}function ME(n){return function(){return this.ownerDocument.createElementNS(n.space,n.local)}}function h_(n){var r=km(n);return(r.local?ME:hR)(r)}function mR(){}function $C(n){return null==n?mR:function(){return this.querySelector(n)}}function e1(){return[]}function AE(n){return null==n?e1:function(){return this.querySelectorAll(n)}}var DE=function(r){return function(){return this.matches(r)}};if("undefined"!=typeof document){var Em=document.documentElement;if(!Em.matches){var t1=Em.webkitMatchesSelector||Em.msMatchesSelector||Em.mozMatchesSelector||Em.oMatchesSelector;DE=function(r){return function(){return t1.call(this,r)}}}}var OE=DE;function _R(n){return new Array(n.length)}function Mm(n,r){this.ownerDocument=n.ownerDocument,this.namespaceURI=n.namespaceURI,this._next=null,this._parent=n,this.__data__=r}function T4(n,r,t,i,o,a){for(var u,s=0,p=r.length,m=a.length;s<m;++s)(u=r[s])?(u.__data__=a[s],i[s]=u):t[s]=new Mm(n,a[s]);for(;s<p;++s)(u=r[s])&&(o[s]=u)}function v_(n,r,t,i,o,a,s){var u,p,G,m={},b=r.length,I=a.length,F=new Array(b);for(u=0;u<b;++u)(p=r[u])&&(F[u]=G="$"+s.call(p,p.__data__,u,r),G in m?o[u]=p:m[G]=p);for(u=0;u<I;++u)(p=m[G="$"+s.call(n,a[u],u,a)])?(i[u]=p,p.__data__=a[u],m[G]=null):t[u]=new Mm(n,a[u]);for(u=0;u<b;++u)(p=r[u])&&m[F[u]]===p&&(o[u]=p)}function bR(n,r){return n<r?-1:n>r?1:n>=r?0:NaN}function SR(n){return function(){this.removeAttribute(n)}}function TR(n){return function(){this.removeAttributeNS(n.space,n.local)}}function xR(n,r){return function(){this.setAttribute(n,r)}}function wR(n,r){return function(){this.setAttributeNS(n.space,n.local,r)}}function kR(n,r){return function(){var t=r.apply(this,arguments);null==t?this.removeAttribute(n):this.setAttribute(n,t)}}function ER(n,r){return function(){var t=r.apply(this,arguments);null==t?this.removeAttributeNS(n.space,n.local):this.setAttributeNS(n.space,n.local,t)}}function i1(n){return n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView}function AR(n){return function(){this.style.removeProperty(n)}}function DR(n,r,t){return function(){this.style.setProperty(n,r,t)}}function O4(n,r,t){return function(){var i=r.apply(this,arguments);null==i?this.style.removeProperty(n):this.style.setProperty(n,i,t)}}function $d(n,r){return n.style.getPropertyValue(r)||i1(n).getComputedStyle(n,null).getPropertyValue(r)}function OR(n){return function(){delete this[n]}}function PR(n,r){return function(){this[n]=r}}function IR(n,r){return function(){var t=r.apply(this,arguments);null==t?delete this[n]:this[n]=t}}function ol(n){return n.trim().split(/^|\s+/)}function o1(n){return n.classList||new IE(n)}function IE(n){this._node=n,this._names=ol(n.getAttribute("class")||"")}function RE(n,r){for(var t=o1(n),i=-1,o=r.length;++i<o;)t.add(r[i])}function NE(n,r){for(var t=o1(n),i=-1,o=r.length;++i<o;)t.remove(r[i])}function I4(n){return function(){RE(this,n)}}function NR(n){return function(){NE(this,n)}}function ZR(n,r){return function(){(r.apply(this,arguments)?RE:NE)(this,n)}}function Am(){this.textContent=""}function ZE(n){return function(){this.textContent=n}}function R4(n){return function(){var r=n.apply(this,arguments);this.textContent=null==r?"":r}}function N4(){this.innerHTML=""}function Z4(n){return function(){this.innerHTML=n}}function L4(n){return function(){var r=n.apply(this,arguments);this.innerHTML=null==r?"":r}}function BR(){this.nextSibling&&this.parentNode.appendChild(this)}function HR(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function qR(){return null}function Bl(){var n=this.parentNode;n&&n.removeChild(this)}function LE(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function zR(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}Mm.prototype={constructor:Mm,appendChild:function(r){return this._parent.insertBefore(r,this._next)},insertBefore:function(r,t){return this._parent.insertBefore(r,t)},querySelector:function(r){return this._parent.querySelector(r)},querySelectorAll:function(r){return this._parent.querySelectorAll(r)}},IE.prototype={add:function(r){this._names.indexOf(r)<0&&(this._names.push(r),this._node.setAttribute("class",this._names.join(" ")))},remove:function(r){var t=this._names.indexOf(r);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(r){return this._names.indexOf(r)>=0}};var s1={},En=null;function u1(n,r,t){return n=Dm(n,r,t),function(i){var o=i.relatedTarget;(!o||o!==this&&!(8&o.compareDocumentPosition(this)))&&n.call(this,i)}}function Dm(n,r,t){return function(i){var o=En;En=i;try{n.call(this,this.__data__,r,t)}finally{En=o}}}function g_(n){return n.trim().split(/^|\s+/).map(function(r){var t="",i=r.indexOf(".");return i>=0&&(t=r.slice(i+1),r=r.slice(0,i)),{type:r,name:t}})}function UE(n){return function(){var r=this.__on;if(r){for(var a,t=0,i=-1,o=r.length;t<o;++t)a=r[t],n.type&&a.type!==n.type||a.name!==n.name?r[++i]=a:this.removeEventListener(a.type,a.listener,a.capture);++i?r.length=i:delete this.__on}}}function HE(n,r,t){var i=s1.hasOwnProperty(n.type)?u1:Dm;return function(o,a,s){var p,u=this.__on,m=i(r,a,s);if(u)for(var b=0,I=u.length;b<I;++b)if((p=u[b]).type===n.type&&p.name===n.name)return this.removeEventListener(p.type,p.listener,p.capture),this.addEventListener(p.type,p.listener=m,p.capture=t),void(p.value=r);this.addEventListener(n.type,m,t),p={type:n.type,name:n.name,value:r,listener:m,capture:t},u?u.push(p):this.__on=[p]}}function Om(n,r,t,i){var o=En;n.sourceEvent=En,En=n;try{return r.apply(t,i)}finally{En=o}}function c1(n,r,t){var i=i1(n),o=i.CustomEvent;"function"==typeof o?o=new o(r,t):(o=i.document.createEvent("Event"),t?(o.initEvent(r,t.bubbles,t.cancelable),o.detail=t.detail):o.initEvent(r,!1,!1)),n.dispatchEvent(o)}function GR(n,r){return function(){return c1(this,n,r)}}function YR(n,r){return function(){return c1(this,n,r.apply(this,arguments))}}"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(s1={mouseenter:"mouseover",mouseleave:"mouseout"}));var Pm=[null];function ls(n,r){this._groups=n,this._parents=r}function Ya(){return new ls([[document.documentElement]],Pm)}ls.prototype=Ya.prototype={constructor:ls,select:function(n){"function"!=typeof n&&(n=$C(n));for(var r=this._groups,t=r.length,i=new Array(t),o=0;o<t;++o)for(var p,m,a=r[o],s=a.length,u=i[o]=new Array(s),b=0;b<s;++b)(p=a[b])&&(m=n.call(p,p.__data__,b,a))&&("__data__"in p&&(m.__data__=p.__data__),u[b]=m);return new ls(i,this._parents)},selectAll:function(n){"function"!=typeof n&&(n=AE(n));for(var r=this._groups,t=r.length,i=[],o=[],a=0;a<t;++a)for(var p,s=r[a],u=s.length,m=0;m<u;++m)(p=s[m])&&(i.push(n.call(p,p.__data__,m,s)),o.push(p));return new ls(i,o)},filter:function(n){"function"!=typeof n&&(n=OE(n));for(var r=this._groups,t=r.length,i=new Array(t),o=0;o<t;++o)for(var p,a=r[o],s=a.length,u=i[o]=[],m=0;m<s;++m)(p=a[m])&&n.call(p,p.__data__,m,a)&&u.push(p);return new ls(i,this._parents)},data:function(n,r){if(!n)return G=new Array(this.size()),m=-1,this.each(function(Je){G[++m]=Je}),G;var t=r?v_:T4,i=this._parents,o=this._groups;"function"!=typeof n&&(n=function(n){return function(){return n}}(n));for(var a=o.length,s=new Array(a),u=new Array(a),p=new Array(a),m=0;m<a;++m){var b=i[m],I=o[m],F=I.length,G=n.call(b,b&&b.__data__,m,i),Y=G.length,$=u[m]=new Array(Y),de=s[m]=new Array(Y);t(b,I,$,de,p[m]=new Array(F),G,r);for(var at,pt,st=0,tt=0;st<Y;++st)if(at=$[st]){for(st>=tt&&(tt=st+1);!(pt=de[tt])&&++tt<Y;);at._next=pt||null}}return(s=new ls(s,i))._enter=u,s._exit=p,s},enter:function(){return new ls(this._enter||this._groups.map(_R),this._parents)},exit:function(){return new ls(this._exit||this._groups.map(_R),this._parents)},merge:function(n){for(var r=this._groups,t=n._groups,i=r.length,a=Math.min(i,t.length),s=new Array(i),u=0;u<a;++u)for(var F,p=r[u],m=t[u],b=p.length,I=s[u]=new Array(b),G=0;G<b;++G)(F=p[G]||m[G])&&(I[G]=F);for(;u<i;++u)s[u]=r[u];return new ls(s,this._parents)},order:function(){for(var n=this._groups,r=-1,t=n.length;++r<t;)for(var s,i=n[r],o=i.length-1,a=i[o];--o>=0;)(s=i[o])&&(a&&a!==s.nextSibling&&a.parentNode.insertBefore(s,a),a=s);return this},sort:function(n){function r(I,F){return I&&F?n(I.__data__,F.__data__):!I-!F}n||(n=bR);for(var t=this._groups,i=t.length,o=new Array(i),a=0;a<i;++a){for(var m,s=t[a],u=s.length,p=o[a]=new Array(u),b=0;b<u;++b)(m=s[b])&&(p[b]=m);p.sort(r)}return new ls(o,this._parents).order()},call:function(){var n=arguments[0];return arguments[0]=this,n.apply(null,arguments),this},nodes:function(){var n=new Array(this.size()),r=-1;return this.each(function(){n[++r]=this}),n},node:function(){for(var n=this._groups,r=0,t=n.length;r<t;++r)for(var i=n[r],o=0,a=i.length;o<a;++o){var s=i[o];if(s)return s}return null},size:function(){var n=0;return this.each(function(){++n}),n},empty:function(){return!this.node()},each:function(n){for(var r=this._groups,t=0,i=r.length;t<i;++t)for(var u,o=r[t],a=0,s=o.length;a<s;++a)(u=o[a])&&n.call(u,u.__data__,a,o);return this},attr:function(n,r){var t=km(n);if(arguments.length<2){var i=this.node();return t.local?i.getAttributeNS(t.space,t.local):i.getAttribute(t)}return this.each((null==r?t.local?TR:SR:"function"==typeof r?t.local?ER:kR:t.local?wR:xR)(t,r))},style:function(n,r,t){return arguments.length>1?this.each((null==r?AR:"function"==typeof r?O4:DR)(n,r,null==t?"":t)):$d(this.node(),n)},property:function(n,r){return arguments.length>1?this.each((null==r?OR:"function"==typeof r?IR:PR)(n,r)):this.node()[n]},classed:function(n,r){var t=ol(n+"");if(arguments.length<2){for(var i=o1(this.node()),o=-1,a=t.length;++o<a;)if(!i.contains(t[o]))return!1;return!0}return this.each(("function"==typeof r?ZR:r?I4:NR)(t,r))},text:function(n){return arguments.length?this.each(null==n?Am:("function"==typeof n?R4:ZE)(n)):this.node().textContent},html:function(n){return arguments.length?this.each(null==n?N4:("function"==typeof n?L4:Z4)(n)):this.node().innerHTML},raise:function(){return this.each(BR)},lower:function(){return this.each(HR)},append:function(n){var r="function"==typeof n?n:h_(n);return this.select(function(){return this.appendChild(r.apply(this,arguments))})},insert:function(n,r){var t="function"==typeof n?n:h_(n),i=null==r?qR:"function"==typeof r?r:$C(r);return this.select(function(){return this.insertBefore(t.apply(this,arguments),i.apply(this,arguments)||null)})},remove:function(){return this.each(Bl)},clone:function(n){return this.select(n?zR:LE)},datum:function(n){return arguments.length?this.property("__data__",n):this.node().__data__},on:function(n,r,t){var o,s,i=g_(n+""),a=i.length;if(!(arguments.length<2)){for(u=r?HE:UE,null==t&&(t=!1),o=0;o<a;++o)this.each(u(i[o],r,t));return this}var u=this.node().__on;if(u)for(var b,p=0,m=u.length;p<m;++p)for(o=0,b=u[p];o<a;++o)if((s=i[o]).type===b.type&&s.name===b.name)return b.value},dispatch:function(n,r){return this.each(("function"==typeof r?YR:GR)(n,r))}};var Vs=Ya;function Kr(n){return"string"==typeof n?new ls([[document.querySelector(n)]],[document.documentElement]):new ls([[n]],Pm)}function VE(n){return Kr(h_(n).call(document.documentElement))}var __=0;function y_(){return new b_}function b_(){this._="@"+(++__).toString(36)}function Im(){for(var r,n=En;r=n.sourceEvent;)n=r;return n}function C_(n,r){var t=n.ownerSVGElement||n;if(t.createSVGPoint){var i=t.createSVGPoint();return i.x=r.clientX,i.y=r.clientY,[(i=i.matrixTransform(n.getScreenCTM().inverse())).x,i.y]}var o=n.getBoundingClientRect();return[r.clientX-o.left-n.clientLeft,r.clientY-o.top-n.clientTop]}function al(n){var r=Im();return r.changedTouches&&(r=r.changedTouches[0]),C_(n,r)}function QR(n){return"string"==typeof n?new ls([document.querySelectorAll(n)],[document.documentElement]):new ls([null==n?[]:n],Pm)}function S_(n,r,t){arguments.length<3&&(t=r,r=Im().changedTouches);for(var a,i=0,o=r?r.length:0;i<o;++i)if((a=r[i]).identifier===t)return C_(n,a);return null}function qE(n,r){null==r&&(r=Im().touches);for(var t=0,i=r?r.length:0,o=new Array(i);t<i;++t)o[t]=C_(n,r[t]);return o}function d1(){En.stopImmediatePropagation()}function Of(){En.preventDefault(),En.stopImmediatePropagation()}function T_(n){var r=n.document.documentElement,t=Kr(n).on("dragstart.drag",Of,!0);"onselectstart"in r?t.on("selectstart.drag",Of,!0):(r.__noselect=r.style.MozUserSelect,r.style.MozUserSelect="none")}function Ul(n,r){var t=n.document.documentElement,i=Kr(n).on("dragstart.drag",null);r&&(i.on("click.drag",Of,!0),setTimeout(function(){i.on("click.drag",null)},0)),"onselectstart"in t?i.on("selectstart.drag",null):(t.style.MozUserSelect=t.__noselect,delete t.__noselect)}function yu(n,r,t){n.prototype=r.prototype=t,t.constructor=n}function ep(n,r){var t=Object.create(n.prototype);for(var i in r)t[i]=r[i];return t}function zc(){}b_.prototype=y_.prototype={constructor:b_,get:function(r){for(var t=this._;!(t in r);)if(!(r=r.parentNode))return;return r[t]},set:function(r,t){return r[this._]=t},remove:function(r){return this._ in r&&delete r[this._]},toString:function(){return this._}};var Pf=1/.7,Wc="\\s*([+-]?\\d+)\\s*",Rm="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Hl="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",jE=/^#([0-9a-f]{3})$/,KR=/^#([0-9a-f]{6})$/,XR=new RegExp("^rgb\\("+[Wc,Wc,Wc]+"\\)$"),$R=new RegExp("^rgb\\("+[Hl,Hl,Hl]+"\\)$"),ju=new RegExp("^rgba\\("+[Wc,Wc,Wc,Rm]+"\\)$"),Nm=new RegExp("^rgba\\("+[Hl,Hl,Hl,Rm]+"\\)$"),If=new RegExp("^hsl\\("+[Rm,Hl,Hl]+"\\)$"),x_=new RegExp("^hsla\\("+[Rm,Hl,Hl,Rm]+"\\)$"),np={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Gc(n){var r;return n=(n+"").trim().toLowerCase(),(r=jE.exec(n))?new Ta((r=parseInt(r[1],16))>>8&15|r>>4&240,r>>4&15|240&r,(15&r)<<4|15&r,1):(r=KR.exec(n))?zE(parseInt(r[1],16)):(r=XR.exec(n))?new Ta(r[1],r[2],r[3],1):(r=$R.exec(n))?new Ta(255*r[1]/100,255*r[2]/100,255*r[3]/100,1):(r=ju.exec(n))?WE(r[1],r[2],r[3],r[4]):(r=Nm.exec(n))?WE(255*r[1]/100,255*r[2]/100,255*r[3]/100,r[4]):(r=If.exec(n))?p1(r[1],r[2]/100,r[3]/100,1):(r=x_.exec(n))?p1(r[1],r[2]/100,r[3]/100,r[4]):np.hasOwnProperty(n)?zE(np[n]):"transparent"===n?new Ta(NaN,NaN,NaN,0):null}function zE(n){return new Ta(n>>16&255,n>>8&255,255&n,1)}function WE(n,r,t,i){return i<=0&&(n=r=t=NaN),new Ta(n,r,t,i)}function w_(n){return n instanceof zc||(n=Gc(n)),n?new Ta((n=n.rgb()).r,n.g,n.b,n.opacity):new Ta}function Rf(n,r,t,i){return 1===arguments.length?w_(n):new Ta(n,r,t,null==i?1:i)}function Ta(n,r,t,i){this.r=+n,this.g=+r,this.b=+t,this.opacity=+i}function p1(n,r,t,i){return i<=0?n=r=t=NaN:t<=0||t>=1?n=r=NaN:r<=0&&(n=NaN),new zu(n,r,t,i)}function f1(n){if(n instanceof zu)return new zu(n.h,n.s,n.l,n.opacity);if(n instanceof zc||(n=Gc(n)),!n)return new zu;if(n instanceof zu)return n;var r=(n=n.rgb()).r/255,t=n.g/255,i=n.b/255,o=Math.min(r,t,i),a=Math.max(r,t,i),s=NaN,u=a-o,p=(a+o)/2;return u?(s=r===a?(t-i)/u+6*(t<i):t===a?(i-r)/u+2:(r-t)/u+4,u/=p<.5?a+o:2-a-o,s*=60):u=p>0&&p<1?0:s,new zu(s,u,p,n.opacity)}function h1(n,r,t,i){return 1===arguments.length?f1(n):new zu(n,r,t,null==i?1:i)}function zu(n,r,t,i){this.h=+n,this.s=+r,this.l=+t,this.opacity=+i}function GE(n,r,t){return 255*(n<60?r+(t-r)*n/60:n<180?t:n<240?r+(t-r)*(240-n)/60:r)}yu(zc,Gc,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),yu(Ta,Rf,ep(zc,{brighter:function(r){return r=null==r?Pf:Math.pow(Pf,r),new Ta(this.r*r,this.g*r,this.b*r,this.opacity)},darker:function(r){return r=null==r?.7:Math.pow(.7,r),new Ta(this.r*r,this.g*r,this.b*r,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var r=this.opacity;return(1===(r=isNaN(r)?1:Math.max(0,Math.min(1,r)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===r?")":", "+r+")")}})),yu(zu,h1,ep(zc,{brighter:function(r){return r=null==r?Pf:Math.pow(Pf,r),new zu(this.h,this.s,this.l*r,this.opacity)},darker:function(r){return r=null==r?.7:Math.pow(.7,r),new zu(this.h,this.s,this.l*r,this.opacity)},rgb:function(){var r=this.h%360+360*(this.h<0),t=isNaN(r)||isNaN(this.s)?0:this.s,i=this.l,o=i+(i<.5?i:1-i)*t,a=2*i-o;return new Ta(GE(r>=240?r-240:r+120,a,o),GE(r,a,o),GE(r<120?r+240:r-120,a,o),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var Yc=Math.PI/180,YE=180/Math.PI,rN=4/29,Zm=6/29,iN=3*Zm*Zm;function JE(n){if(n instanceof Wu)return new Wu(n.l,n.a,n.b,n.opacity);if(n instanceof l){if(isNaN(n.h))return new Wu(n.l,0,0,n.opacity);var r=n.h*Yc;return new Wu(n.l,Math.cos(r)*n.c,Math.sin(r)*n.c,n.opacity)}n instanceof Ta||(n=w_(n));var s,u,t=XE(n.r),i=XE(n.g),o=XE(n.b),a=QE((.2225045*t+.7168786*i+.0606169*o)/1);return t===i&&i===o?s=u=a:(s=QE((.4360747*t+.3850649*i+.1430804*o)/.96422),u=QE((.0139322*t+.0971045*i+.7141733*o)/.82521)),new Wu(116*a-16,500*(s-a),200*(a-u),n.opacity)}function m1(n,r,t,i){return 1===arguments.length?JE(n):new Wu(n,r,t,null==i?1:i)}function Wu(n,r,t,i){this.l=+n,this.a=+r,this.b=+t,this.opacity=+i}function QE(n){return n>.008856451679035631?Math.pow(n,1/3):n/iN+rN}function v1(n){return n>Zm?n*n*n:iN*(n-rN)}function KE(n){return 255*(n<=.0031308?12.92*n:1.055*Math.pow(n,1/2.4)-.055)}function XE(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function U4(n){if(n instanceof l)return new l(n.h,n.c,n.l,n.opacity);if(n instanceof Wu||(n=JE(n)),0===n.a&&0===n.b)return new l(NaN,0,n.l,n.opacity);var r=Math.atan2(n.b,n.a)*YE;return new l(r<0?r+360:r,Math.sqrt(n.a*n.a+n.b*n.b),n.l,n.opacity)}function g1(n,r,t,i){return 1===arguments.length?U4(n):new l(n,r,t,null==i?1:i)}function l(n,r,t,i){this.h=+n,this.c=+r,this.l=+t,this.opacity=+i}yu(Wu,m1,ep(zc,{brighter:function(r){return new Wu(this.l+18*(null==r?1:r),this.a,this.b,this.opacity)},darker:function(r){return new Wu(this.l-18*(null==r?1:r),this.a,this.b,this.opacity)},rgb:function(){var r=(this.l+16)/116,t=isNaN(this.a)?r:r+this.a/500,i=isNaN(this.b)?r:r-this.b/200;return new Ta(KE(3.1338561*(t=.96422*v1(t))-1.6168667*(r=1*v1(r))-.4906146*(i=.82521*v1(i))),KE(-.9787684*t+1.9161415*r+.033454*i),KE(.0719453*t-.2289914*r+1.4052427*i),this.opacity)}})),yu(l,g1,ep(zc,{brighter:function(r){return new l(this.h,this.c,this.l+18*(null==r?1:r),this.opacity)},darker:function(r){return new l(this.h,this.c,this.l-18*(null==r?1:r),this.opacity)},rgb:function(){return JE(this).rgb()}}));var c=-.14861,d=1.78277,h=-.29227,y=-.90649,w=1.97294,H=w*y,W=w*d,X=d*h-y*c;function me(n){if(n instanceof Xe)return new Xe(n.h,n.s,n.l,n.opacity);n instanceof Ta||(n=w_(n));var t=n.g/255,i=n.b/255,o=(X*i+H*(n.r/255)-W*t)/(X+H-W),a=i-o,s=(w*(t-o)-h*a)/y,u=Math.sqrt(s*s+a*a)/(w*o*(1-o)),p=u?Math.atan2(s,a)*YE-120:NaN;return new Xe(p<0?p+360:p,u,o,n.opacity)}function De(n,r,t,i){return 1===arguments.length?me(n):new Xe(n,r,t,null==i?1:i)}function Xe(n,r,t,i){this.h=+n,this.s=+r,this.l=+t,this.opacity=+i}function Ke(n,r,t,i,o){var a=n*n,s=a*n;return((1-3*n+3*a-s)*r+(4-6*a+3*s)*t+(1+3*n+3*a-3*s)*i+s*o)/6}function mt(n){var r=n.length-1;return function(t){var i=t<=0?t=0:t>=1?(t=1,r-1):Math.floor(t*r),o=n[i],a=n[i+1];return Ke((t-i/r)*r,i>0?n[i-1]:2*o-a,o,a,i<r-1?n[i+2]:2*a-o)}}function Mt(n){var r=n.length;return function(t){var i=Math.floor(((t%=1)<0?++t:t)*r);return Ke((t-i/r)*r,n[(i+r-1)%r],n[i%r],n[(i+1)%r],n[(i+2)%r])}}function zt(n){return function(){return n}}function hn(n,r){return function(t){return n+t*r}}function _n(n,r){var t=r-n;return t?hn(n,t>180||t<-180?t-360*Math.round(t/360):t):zt(isNaN(n)?r:n)}function lr(n,r){var t=r-n;return t?hn(n,t):zt(isNaN(n)?r:n)}yu(Xe,De,ep(zc,{brighter:function(r){return r=null==r?Pf:Math.pow(Pf,r),new Xe(this.h,this.s,this.l*r,this.opacity)},darker:function(r){return r=null==r?.7:Math.pow(.7,r),new Xe(this.h,this.s,this.l*r,this.opacity)},rgb:function(){var r=isNaN(this.h)?0:(this.h+120)*Yc,t=+this.l,i=isNaN(this.s)?0:this.s*t*(1-t),o=Math.cos(r),a=Math.sin(r);return new Ta(255*(t+i*(c*o+d*a)),255*(t+i*(h*o+y*a)),255*(t+i*(w*o)),this.opacity)}}));var Wr=function n(r){var t=function(n){return 1==(n=+n)?lr:function(r,t){return t-r?function(n,r,t){return n=Math.pow(n,t),r=Math.pow(r,t)-n,t=1/t,function(i){return Math.pow(n+i*r,t)}}(r,t,n):zt(isNaN(r)?t:r)}}(r);function i(o,a){var s=t((o=Rf(o)).r,(a=Rf(a)).r),u=t(o.g,a.g),p=t(o.b,a.b),m=lr(o.opacity,a.opacity);return function(b){return o.r=s(b),o.g=u(b),o.b=p(b),o.opacity=m(b),o+""}}return i.gamma=n,i}(1);function Mi(n){return function(r){var s,u,t=r.length,i=new Array(t),o=new Array(t),a=new Array(t);for(s=0;s<t;++s)u=Rf(r[s]),i[s]=u.r||0,o[s]=u.g||0,a[s]=u.b||0;return i=n(i),o=n(o),a=n(a),u.opacity=1,function(p){return u.r=i(p),u.g=o(p),u.b=a(p),u+""}}}var go=Mi(mt),ca=Mi(Mt);function da(n,r){var s,t=r?r.length:0,i=n?Math.min(t,n.length):0,o=new Array(i),a=new Array(t);for(s=0;s<i;++s)o[s]=Lf(n[s],r[s]);for(;s<t;++s)a[s]=r[s];return function(u){for(s=0;s<i;++s)a[s]=o[s](u);return a}}function Vl(n,r){var t=new Date;return r-=n=+n,function(i){return t.setTime(n+r*i),t}}function ia(n,r){return r-=n=+n,function(t){return n+r*t}}function Jc(n,r){var o,t={},i={};for(o in(null===n||"object"!=typeof n)&&(n={}),(null===r||"object"!=typeof r)&&(r={}),r)o in n?t[o]=Lf(n[o],r[o]):i[o]=r[o];return function(a){for(o in t)i[o]=t[o](a);return i}}var bu=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,ql=new RegExp(bu.source,"g");function Zf(n,r){var i,o,a,t=bu.lastIndex=ql.lastIndex=0,s=-1,u=[],p=[];for(n+="",r+="";(i=bu.exec(n))&&(o=ql.exec(r));)(a=o.index)>t&&(a=r.slice(t,a),u[s]?u[s]+=a:u[++s]=a),(i=i[0])===(o=o[0])?u[s]?u[s]+=o:u[++s]=o:(u[++s]=null,p.push({i:s,x:ia(i,o)})),t=ql.lastIndex;return t<r.length&&(a=r.slice(t),u[s]?u[s]+=a:u[++s]=a),u.length<2?p[0]?function(n){return function(r){return n(r)+""}}(p[0].x):function(n){return function(){return n}}(r):(r=p.length,function(m){for(var I,b=0;b<r;++b)u[(I=p[b]).i]=I.x(m);return u.join("")})}function Lf(n,r){var i,t=typeof r;return null==r||"boolean"===t?zt(r):("number"===t?ia:"string"===t?(i=Gc(r))?(r=i,Wr):Zf:r instanceof Gc?Wr:r instanceof Date?Vl:Array.isArray(r)?da:"function"!=typeof r.valueOf&&"function"!=typeof r.toString||isNaN(r)?Jc:ia)(n,r)}function $E(n,r){return r-=n=+n,function(t){return Math.round(n+r*t)}}var Ff,y1,nM,E_,eM=180/Math.PI,_1={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function tM(n,r,t,i,o,a){var s,u,p;return(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s),(p=n*t+r*i)&&(t-=n*p,i-=r*p),(u=Math.sqrt(t*t+i*i))&&(t/=u,i/=u,p/=u),n*i<r*t&&(n=-n,r=-r,p=-p,s=-s),{translateX:o,translateY:a,rotate:Math.atan2(r,n)*eM,skewX:Math.atan(p)*eM,scaleX:s,scaleY:u}}function iM(n,r,t,i){function o(m){return m.length?m.pop()+" ":""}return function(m,b){var I=[],F=[];return m=n(m),b=n(b),function(m,b,I,F,G,Y){if(m!==I||b!==F){var $=G.push("translate(",null,r,null,t);Y.push({i:$-4,x:ia(m,I)},{i:$-2,x:ia(b,F)})}else(I||F)&&G.push("translate("+I+r+F+t)}(m.translateX,m.translateY,b.translateX,b.translateY,I,F),function(m,b,I,F){m!==b?(m-b>180?b+=360:b-m>180&&(m+=360),F.push({i:I.push(o(I)+"rotate(",null,i)-2,x:ia(m,b)})):b&&I.push(o(I)+"rotate("+b+i)}(m.rotate,b.rotate,I,F),function(m,b,I,F){m!==b?F.push({i:I.push(o(I)+"skewX(",null,i)-2,x:ia(m,b)}):b&&I.push(o(I)+"skewX("+b+i)}(m.skewX,b.skewX,I,F),function(m,b,I,F,G,Y){if(m!==I||b!==F){var $=G.push(o(G)+"scale(",null,",",null,")");Y.push({i:$-4,x:ia(m,I)},{i:$-2,x:ia(b,F)})}else(1!==I||1!==F)&&G.push(o(G)+"scale("+I+","+F+")")}(m.scaleX,m.scaleY,b.scaleX,b.scaleY,I,F),m=b=null,function(G){for(var de,Y=-1,$=F.length;++Y<$;)I[(de=F[Y]).i]=de.x(G);return I.join("")}}}var H4=iM(function(n){return"none"===n?_1:(Ff||(Ff=document.createElement("DIV"),y1=document.documentElement,nM=document.defaultView),Ff.style.transform=n,n=nM.getComputedStyle(y1.appendChild(Ff),null).getPropertyValue("transform"),y1.removeChild(Ff),tM(+(n=n.slice(7,-1).split(","))[0],+n[1],+n[2],+n[3],+n[4],+n[5]))},"px, ","px)","deg)"),V4=iM(function(n){return null!=n&&(E_||(E_=document.createElementNS("http://www.w3.org/2000/svg","g")),E_.setAttribute("transform",n),n=E_.transform.baseVal.consolidate())?tM((n=n.matrix).a,n.b,n.c,n.d,n.e,n.f):_1},", ",")",")"),b1=Math.SQRT2;function j4(n){return((n=Math.exp(n))+1/n)/2}function z4(n,r){var I,F,t=n[0],i=n[1],o=n[2],u=r[2],p=r[0]-t,m=r[1]-i,b=p*p+m*m;if(b<1e-12)F=Math.log(u/o)/b1,I=function(tt){return[t+tt*p,i+tt*m,o*Math.exp(b1*tt*F)]};else{var G=Math.sqrt(b),Y=(u*u-o*o+4*b)/(2*o*2*G),$=(u*u-o*o-4*b)/(2*u*2*G),de=Math.log(Math.sqrt(Y*Y+1)-Y),Me=Math.log(Math.sqrt($*$+1)-$);F=(Me-de)/b1,I=function(tt){var at=tt*F,pt=j4(de),Je=o/(2*G)*(pt*function(n){return((n=Math.exp(2*n))-1)/(n+1)}(b1*at+de)-function(n){return((n=Math.exp(n))-1/n)/2}(de));return[t+Je*p,i+Je*m,o*pt/j4(b1*at+de)]}}return I.duration=1e3*F,I}function W4(n){return function(r,t){var i=n((r=h1(r)).h,(t=h1(t)).h),o=lr(r.s,t.s),a=lr(r.l,t.l),s=lr(r.opacity,t.opacity);return function(u){return r.h=i(u),r.s=o(u),r.l=a(u),r.opacity=s(u),r+""}}}var XW=W4(_n),$W=W4(lr);function eG(n,r){var t=lr((n=m1(n)).l,(r=m1(r)).l),i=lr(n.a,r.a),o=lr(n.b,r.b),a=lr(n.opacity,r.opacity);return function(s){return n.l=t(s),n.a=i(s),n.b=o(s),n.opacity=a(s),n+""}}function G4(n){return function(r,t){var i=n((r=g1(r)).h,(t=g1(t)).h),o=lr(r.c,t.c),a=lr(r.l,t.l),s=lr(r.opacity,t.opacity);return function(u){return r.h=i(u),r.c=o(u),r.l=a(u),r.opacity=s(u),r+""}}}var tG=G4(_n),nG=G4(lr);function Y4(n){return function r(t){function i(o,a){var s=n((o=De(o)).h,(a=De(a)).h),u=lr(o.s,a.s),p=lr(o.l,a.l),m=lr(o.opacity,a.opacity);return function(b){return o.h=s(b),o.s=u(b),o.l=p(Math.pow(b,t)),o.opacity=m(b),o+""}}return t=+t,i.gamma=r,i}(1)}var rG=Y4(_n),oM=Y4(lr);function iG(n,r){for(var t=new Array(r),i=0;i<r;++i)t[i]=n(i/(r-1));return t}var aM,T1,M_=0,C1=0,S1=0,sM=0,Lm=0,lM=0,x1="object"==typeof performance&&performance.now?performance:Date,Q4="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(n){setTimeout(n,17)};function A_(){return Lm||(Q4(oG),Lm=x1.now()+lM)}function oG(){Lm=0}function w1(){this._call=this._time=this._next=null}function uM(n,r,t){var i=new w1;return i.restart(n,r,t),i}function K4(){A_(),++M_;for(var r,n=aM;n;)(r=Lm-n._time)>=0&&n._call.call(null,r),n=n._next;--M_}function X4(){Lm=(sM=x1.now())+lM,M_=C1=0;try{K4()}finally{M_=0,function(){for(var n,t,r=aM,i=1/0;r;)r._call?(i>r._time&&(i=r._time),n=r,r=r._next):(t=r._next,r._next=null,r=n?n._next=t:aM=t);T1=n,lN(i)}(),Lm=0}}function aG(){var n=x1.now(),r=n-sM;r>1e3&&(lM-=r,sM=n)}function lN(n){M_||(C1&&(C1=clearTimeout(C1)),n-Lm>24?(n<1/0&&(C1=setTimeout(X4,n-x1.now()-lM)),S1&&(S1=clearInterval(S1))):(S1||(sM=x1.now(),S1=setInterval(aG,1e3)),M_=1,Q4(X4)))}function uN(n,r,t){var i=new w1;return i.restart(function(o){i.stop(),n(o+r)},r=null==r?0:+r,t),i}w1.prototype=uM.prototype={constructor:w1,restart:function(r,t,i){if("function"!=typeof r)throw new TypeError("callback is not a function");i=(null==i?A_():+i)+(null==t?0:+t),!this._next&&T1!==this&&(T1?T1._next=this:aM=this,T1=this),this._call=r,this._time=i,lN()},stop:function(){this._call&&(this._call=null,this._time=1/0,lN())}};var lG=Kd("start","end","interrupt"),uG=[];function pM(n,r,t,i,o,a){var s=n.__transition;if(s){if(t in s)return}else n.__transition={};!function(n,r,t){var o,i=n.__transition;function s(m){var b,I,F,G;if(1!==t.state)return p();for(b in i)if((G=i[b]).name===t.name){if(3===G.state)return uN(s);4===G.state?(G.state=6,G.timer.stop(),G.on.call("interrupt",n,n.__data__,G.index,G.group),delete i[b]):+b<r&&(G.state=6,G.timer.stop(),delete i[b])}if(uN(function(){3===t.state&&(t.state=4,t.timer.restart(u,t.delay,t.time),u(m))}),t.state=2,t.on.call("start",n,n.__data__,t.index,t.group),2===t.state){for(t.state=3,o=new Array(F=t.tween.length),b=0,I=-1;b<F;++b)(G=t.tween[b].value.call(n,n.__data__,t.index,t.group))&&(o[++I]=G);o.length=I+1}}function u(m){for(var b=m<t.duration?t.ease.call(null,m/t.duration):(t.timer.restart(p),t.state=5,1),I=-1,F=o.length;++I<F;)o[I].call(null,b);5===t.state&&(t.on.call("end",n,n.__data__,t.index,t.group),p())}function p(){for(var m in t.state=6,t.timer.stop(),delete i[r],i)return;delete n.__transition}i[r]=t,t.timer=uM(function(m){t.state=1,t.timer.restart(s,t.delay,t.time),t.delay<=m&&s(m-t.delay)},0,t.time)}(n,t,{name:r,index:i,group:o,on:lG,tween:uG,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:0})}function fN(n,r){var t=Gu(n,r);if(t.state>0)throw new Error("too late; already scheduled");return t}function Fm(n,r){var t=Gu(n,r);if(t.state>2)throw new Error("too late; already started");return t}function Gu(n,r){var t=n.__transition;if(!t||!(t=t[r]))throw new Error("transition not found");return t}function Bm(n,r){var i,o,s,t=n.__transition,a=!0;if(t){for(s in r=null==r?null:r+"",t)(i=t[s]).name===r?(o=i.state>2&&i.state<5,i.state=6,i.timer.stop(),o&&i.on.call("interrupt",n,n.__data__,i.index,i.group),delete t[s]):a=!1;a&&delete n.__transition}}function pG(n,r){var t,i;return function(){var o=Fm(this,n),a=o.tween;if(a!==t)for(var s=0,u=(i=t=a).length;s<u;++s)if(i[s].name===r){(i=i.slice()).splice(s,1);break}o.tween=i}}function fG(n,r,t){var i,o;if("function"!=typeof t)throw new Error;return function(){var a=Fm(this,n),s=a.tween;if(s!==i){o=(i=s).slice();for(var u={name:r,value:t},p=0,m=o.length;p<m;++p)if(o[p].name===r){o[p]=u;break}p===m&&o.push(u)}a.tween=o}}function hN(n,r,t){var i=n._id;return n.each(function(){var o=Fm(this,i);(o.value||(o.value={}))[r]=t.apply(this,arguments)}),function(o){return Gu(o,i).value[r]}}function t8(n,r){var t;return("number"==typeof r?ia:r instanceof Gc?Wr:(t=Gc(r))?(r=t,Wr):Zf)(n,r)}function mG(n){return function(){this.removeAttribute(n)}}function vG(n){return function(){this.removeAttributeNS(n.space,n.local)}}function gG(n,r,t){var i,o;return function(){var a=this.getAttribute(n);return a===t?null:a===i?o:o=r(i=a,t)}}function _G(n,r,t){var i,o;return function(){var a=this.getAttributeNS(n.space,n.local);return a===t?null:a===i?o:o=r(i=a,t)}}function yG(n,r,t){var i,o,a;return function(){var s,u=t(this);return null==u?void this.removeAttribute(n):(s=this.getAttribute(n))===u?null:s===i&&u===o?a:a=r(i=s,o=u)}}function bG(n,r,t){var i,o,a;return function(){var s,u=t(this);return null==u?void this.removeAttributeNS(n.space,n.local):(s=this.getAttributeNS(n.space,n.local))===u?null:s===i&&u===o?a:a=r(i=s,o=u)}}function SG(n,r){function t(){var i=this,o=r.apply(i,arguments);return o&&function(a){i.setAttributeNS(n.space,n.local,o(a))}}return t._value=r,t}function TG(n,r){function t(){var i=this,o=r.apply(i,arguments);return o&&function(a){i.setAttribute(n,o(a))}}return t._value=r,t}function wG(n,r){return function(){fN(this,n).delay=+r.apply(this,arguments)}}function kG(n,r){return r=+r,function(){fN(this,n).delay=r}}function MG(n,r){return function(){Fm(this,n).duration=+r.apply(this,arguments)}}function AG(n,r){return r=+r,function(){Fm(this,n).duration=r}}function OG(n,r){if("function"!=typeof r)throw new Error;return function(){Fm(this,n).ease=r}}function ZG(n,r,t){var i,o,a=function(n){return(n+"").trim().split(/^|\s+/).every(function(r){var t=r.indexOf(".");return t>=0&&(r=r.slice(0,t)),!r||"start"===r})}(r)?fN:Fm;return function(){var s=a(this,n),u=s.on;u!==i&&(o=(i=u).copy()).on(r,t),s.on=o}}var VG=Vs.prototype.constructor;function JG(n,r,t){function i(){var o=this,a=r.apply(o,arguments);return a&&function(s){o.style.setProperty(n,a(s),t)}}return i._value=r,i}var tY=0;function Kc(n,r,t,i){this._groups=n,this._parents=r,this._name=t,this._id=i}function fM(n){return Vs().transition(n)}function n8(){return++tY}var D_=Vs.prototype;function nY(n){return n*n*n}function rY(n){return--n*n*n+1}function mN(n){return((n*=2)<=1?n*n*n:(n-=2)*n*n+2)/2}Kc.prototype=fM.prototype={constructor:Kc,select:function(n){var r=this._name,t=this._id;"function"!=typeof n&&(n=$C(n));for(var i=this._groups,o=i.length,a=new Array(o),s=0;s<o;++s)for(var b,I,u=i[s],p=u.length,m=a[s]=new Array(p),F=0;F<p;++F)(b=u[F])&&(I=n.call(b,b.__data__,F,u))&&("__data__"in b&&(I.__data__=b.__data__),m[F]=I,pM(m[F],r,t,F,m,Gu(b,t)));return new Kc(a,this._parents,r,t)},selectAll:function(n){var r=this._name,t=this._id;"function"!=typeof n&&(n=AE(n));for(var i=this._groups,o=i.length,a=[],s=[],u=0;u<o;++u)for(var b,p=i[u],m=p.length,I=0;I<m;++I)if(b=p[I]){for(var G,F=n.call(b,b.__data__,I,p),Y=Gu(b,t),$=0,de=F.length;$<de;++$)(G=F[$])&&pM(G,r,t,$,F,Y);a.push(F),s.push(b)}return new Kc(a,s,r,t)},filter:function(n){"function"!=typeof n&&(n=OE(n));for(var r=this._groups,t=r.length,i=new Array(t),o=0;o<t;++o)for(var p,a=r[o],s=a.length,u=i[o]=[],m=0;m<s;++m)(p=a[m])&&n.call(p,p.__data__,m,a)&&u.push(p);return new Kc(i,this._parents,this._name,this._id)},merge:function(n){if(n._id!==this._id)throw new Error;for(var r=this._groups,t=n._groups,i=r.length,a=Math.min(i,t.length),s=new Array(i),u=0;u<a;++u)for(var F,p=r[u],m=t[u],b=p.length,I=s[u]=new Array(b),G=0;G<b;++G)(F=p[G]||m[G])&&(I[G]=F);for(;u<i;++u)s[u]=r[u];return new Kc(s,this._parents,this._name,this._id)},selection:function(){return new VG(this._groups,this._parents)},transition:function(){for(var n=this._name,r=this._id,t=n8(),i=this._groups,o=i.length,a=0;a<o;++a)for(var p,s=i[a],u=s.length,m=0;m<u;++m)if(p=s[m]){var b=Gu(p,r);pM(p,n,t,m,s,{time:b.time+b.delay+b.duration,delay:0,duration:b.duration,ease:b.ease})}return new Kc(i,this._parents,n,t)},call:D_.call,nodes:D_.nodes,node:D_.node,size:D_.size,empty:D_.empty,each:D_.each,on:function(n,r){var t=this._id;return arguments.length<2?Gu(this.node(),t).on.on(n):this.each(ZG(t,n,r))},attr:function(n,r){var t=km(n),i="transform"===t?V4:t8;return this.attrTween(n,"function"==typeof r?(t.local?bG:yG)(t,i,hN(this,"attr."+n,r)):null==r?(t.local?vG:mG)(t):(t.local?_G:gG)(t,i,r+""))},attrTween:function(n,r){var t="attr."+n;if(arguments.length<2)return(t=this.tween(t))&&t._value;if(null==r)return this.tween(t,null);if("function"!=typeof r)throw new Error;var i=km(n);return this.tween(t,(i.local?SG:TG)(i,r))},style:function(n,r,t){var i="transform"==(n+="")?H4:t8;return null==r?this.styleTween(n,function(n,r){var t,i,o;return function(){var a=$d(this,n),s=(this.style.removeProperty(n),$d(this,n));return a===s?null:a===t&&s===i?o:o=r(t=a,i=s)}}(n,i)).on("end.style."+n,function(n){return function(){this.style.removeProperty(n)}}(n)):this.styleTween(n,"function"==typeof r?function(n,r,t){var i,o,a;return function(){var s=$d(this,n),u=t(this);return null==u&&(this.style.removeProperty(n),u=$d(this,n)),s===u?null:s===i&&u===o?a:a=r(i=s,o=u)}}(n,i,hN(this,"style."+n,r)):function(n,r,t){var i,o;return function(){var a=$d(this,n);return a===t?null:a===i?o:o=r(i=a,t)}}(n,i,r+""),t)},styleTween:function(n,r,t){var i="style."+(n+="");if(arguments.length<2)return(i=this.tween(i))&&i._value;if(null==r)return this.tween(i,null);if("function"!=typeof r)throw new Error;return this.tween(i,JG(n,r,null==t?"":t))},text:function(n){return this.tween("text","function"==typeof n?function(n){return function(){var r=n(this);this.textContent=null==r?"":r}}(hN(this,"text",n)):function(n){return function(){this.textContent=n}}(null==n?"":n+""))},remove:function(){return this.on("end.remove",(n=this._id,function(){var r=this.parentNode;for(var t in this.__transition)if(+t!==n)return;r&&r.removeChild(this)}));var n},tween:function(n,r){var t=this._id;if(n+="",arguments.length<2){for(var s,i=Gu(this.node(),t).tween,o=0,a=i.length;o<a;++o)if((s=i[o]).name===n)return s.value;return null}return this.each((null==r?pG:fG)(t,n,r))},delay:function(n){var r=this._id;return arguments.length?this.each(("function"==typeof n?wG:kG)(r,n)):Gu(this.node(),r).delay},duration:function(n){var r=this._id;return arguments.length?this.each(("function"==typeof n?MG:AG)(r,n)):Gu(this.node(),r).duration},ease:function(n){var r=this._id;return arguments.length?this.each(OG(r,n)):Gu(this.node(),r).ease}};var vN={time:null,delay:0,duration:250,ease:mN};function iY(n,r){for(var t;!(t=n.__transition)||!(t=t[r]);)if(!(n=n.parentNode))return vN.time=A_(),vN;return t}Vs.prototype.interrupt=function(n){return this.each(function(){Bm(this,n)})},Vs.prototype.transition=function(n){var r,t;n instanceof Kc?(r=n._id,n=n._name):(r=n8(),(t=vN).time=A_(),n=null==n?null:n+"");for(var i=this._groups,o=i.length,a=0;a<o;++a)for(var p,s=i[a],u=s.length,m=0;m<u;++m)(p=s[m])&&pM(p,n,r,m,s,t||iY(p,r));return new Kc(i,this._parents,n,r)};var aY=[null];function sY(n,r){var i,o,t=n.__transition;if(t)for(o in r=null==r?null:r+"",t)if((i=t[o]).state>1&&i.name===r)return new Kc([[n]],aY,r,+o);return null}function r8(n){return function(){return n}}function lY(n,r,t){this.target=n,this.type=r,this.selection=t}function i8(){En.stopImmediatePropagation()}function hM(){En.preventDefault(),En.stopImmediatePropagation()}var o8={name:"drag"},gN={name:"space"},O_={name:"handle"},P_={name:"center"},mM={name:"x",handles:["e","w"].map(k1),input:function(r,t){return r&&[[r[0],t[0][1]],[r[1],t[1][1]]]},output:function(r){return r&&[r[0][0],r[1][0]]}},vM={name:"y",handles:["n","s"].map(k1),input:function(r,t){return r&&[[t[0][0],r[0]],[t[1][0],r[1]]]},output:function(r){return r&&[r[0][1],r[1][1]]}},uY={name:"xy",handles:["n","e","s","w","nw","ne","se","sw"].map(k1),input:function(r){return r},output:function(r){return r}},rp={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},a8={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},s8={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},cY={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},dY={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function k1(n){return{type:n}}function pY(){return!En.button}function fY(){var n=this.ownerSVGElement||this;return[[0,0],[n.width.baseVal.value,n.height.baseVal.value]]}function _N(n){for(;!n.__brush;)if(!(n=n.parentNode))return;return n.__brush}function yN(n){return n[0][0]===n[1][0]||n[0][1]===n[1][1]}function hY(n){var r=n.__brush;return r?r.dim.output(r.selection):null}function mY(){return bN(mM)}function vY(){return bN(vM)}function gY(){return bN(uY)}function bN(n){var a,r=fY,t=pY,i=Kd(s,"start","brush","end"),o=6;function s(F){var G=F.property("__brush",I).selectAll(".overlay").data([k1("overlay")]);G.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",rp.overlay).merge(G).each(function(){var $=_N(this).extent;Kr(this).attr("x",$[0][0]).attr("y",$[0][1]).attr("width",$[1][0]-$[0][0]).attr("height",$[1][1]-$[0][1])}),F.selectAll(".selection").data([k1("selection")]).enter().append("rect").attr("class","selection").attr("cursor",rp.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var Y=F.selectAll(".handle").data(n.handles,function($){return $.type});Y.exit().remove(),Y.enter().append("rect").attr("class",function($){return"handle handle--"+$.type}).attr("cursor",function($){return rp[$.type]}),F.each(u).attr("fill","none").attr("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush touchstart.brush",b)}function u(){var F=Kr(this),G=_N(this).selection;G?(F.selectAll(".selection").style("display",null).attr("x",G[0][0]).attr("y",G[0][1]).attr("width",G[1][0]-G[0][0]).attr("height",G[1][1]-G[0][1]),F.selectAll(".handle").style("display",null).attr("x",function(Y){return"e"===Y.type[Y.type.length-1]?G[1][0]-o/2:G[0][0]-o/2}).attr("y",function(Y){return"s"===Y.type[0]?G[1][1]-o/2:G[0][1]-o/2}).attr("width",function(Y){return"n"===Y.type||"s"===Y.type?G[1][0]-G[0][0]+o:o}).attr("height",function(Y){return"e"===Y.type||"w"===Y.type?G[1][1]-G[0][1]+o:o})):F.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function p(F,G){return F.__brush.emitter||new m(F,G)}function m(F,G){this.that=F,this.args=G,this.state=F.__brush,this.active=0}function b(){if(En.touches){if(En.changedTouches.length<En.touches.length)return hM()}else if(a)return;if(t.apply(this,arguments)){var pt,Je,It,kt,Wt,ot,mn,dn,xn,Zn,er,zr,ir,F=this,G=En.target.__data__.type,Y="selection"===(En.metaKey?G="overlay":G)?o8:En.altKey?P_:O_,$=n===vM?null:cY[G],de=n===mM?null:dY[G],Me=_N(F),st=Me.extent,tt=Me.selection,at=st[0][0],et=st[0][1],pn=st[1][0],Dt=st[1][1],vr=$&&de&&En.shiftKey,Jr=al(F),ai=Jr,gr=p(F,arguments).beforestart();"overlay"===G?Me.selection=tt=[[pt=n===vM?at:Jr[0],It=n===mM?et:Jr[1]],[Wt=n===vM?pn:pt,mn=n===mM?Dt:It]]:(pt=tt[0][0],It=tt[0][1],Wt=tt[1][0],mn=tt[1][1]),Je=pt,kt=It,ot=Wt,dn=mn;var Li=Kr(F).attr("pointer-events","none"),Bo=Li.selectAll(".overlay").attr("cursor",rp[G]);if(En.touches)Li.on("touchmove.brush",pr,!0).on("touchend.brush touchcancel.brush",Vn,!0);else{var mr=Kr(En.view).on("keydown.brush",Jo,!0).on("keyup.brush",xi,!0).on("mousemove.brush",pr,!0).on("mouseup.brush",Vn,!0);T_(En.view)}i8(),Bm(F),u.call(F),gr.start()}function pr(){var Oi=al(F);vr&&!zr&&!ir&&(Math.abs(Oi[0]-ai[0])>Math.abs(Oi[1]-ai[1])?ir=!0:zr=!0),ai=Oi,er=!0,hM(),or()}function or(){var Oi;switch(xn=ai[0]-Jr[0],Zn=ai[1]-Jr[1],Y){case gN:case o8:$&&(xn=Math.max(at-pt,Math.min(pn-Wt,xn)),Je=pt+xn,ot=Wt+xn),de&&(Zn=Math.max(et-It,Math.min(Dt-mn,Zn)),kt=It+Zn,dn=mn+Zn);break;case O_:$<0?(xn=Math.max(at-pt,Math.min(pn-pt,xn)),Je=pt+xn,ot=Wt):$>0&&(xn=Math.max(at-Wt,Math.min(pn-Wt,xn)),Je=pt,ot=Wt+xn),de<0?(Zn=Math.max(et-It,Math.min(Dt-It,Zn)),kt=It+Zn,dn=mn):de>0&&(Zn=Math.max(et-mn,Math.min(Dt-mn,Zn)),kt=It,dn=mn+Zn);break;case P_:$&&(Je=Math.max(at,Math.min(pn,pt-xn*$)),ot=Math.max(at,Math.min(pn,Wt+xn*$))),de&&(kt=Math.max(et,Math.min(Dt,It-Zn*de)),dn=Math.max(et,Math.min(Dt,mn+Zn*de)))}ot<Je&&($*=-1,Oi=pt,pt=Wt,Wt=Oi,Oi=Je,Je=ot,ot=Oi,G in a8&&Bo.attr("cursor",rp[G=a8[G]])),dn<kt&&(de*=-1,Oi=It,It=mn,mn=Oi,Oi=kt,kt=dn,dn=Oi,G in s8&&Bo.attr("cursor",rp[G=s8[G]])),Me.selection&&(tt=Me.selection),zr&&(Je=tt[0][0],ot=tt[1][0]),ir&&(kt=tt[0][1],dn=tt[1][1]),(tt[0][0]!==Je||tt[0][1]!==kt||tt[1][0]!==ot||tt[1][1]!==dn)&&(Me.selection=[[Je,kt],[ot,dn]],u.call(F),gr.brush())}function Vn(){if(i8(),En.touches){if(En.touches.length)return;a&&clearTimeout(a),a=setTimeout(function(){a=null},500),Li.on("touchmove.brush touchend.brush touchcancel.brush",null)}else Ul(En.view,er),mr.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);Li.attr("pointer-events","all"),Bo.attr("cursor",rp.overlay),Me.selection&&(tt=Me.selection),yN(tt)&&(Me.selection=null,u.call(F)),gr.end()}function Jo(){switch(En.keyCode){case 16:vr=$&&de;break;case 18:Y===O_&&($&&(Wt=ot-xn*$,pt=Je+xn*$),de&&(mn=dn-Zn*de,It=kt+Zn*de),Y=P_,or());break;case 32:(Y===O_||Y===P_)&&($<0?Wt=ot-xn:$>0&&(pt=Je-xn),de<0?mn=dn-Zn:de>0&&(It=kt-Zn),Y=gN,Bo.attr("cursor",rp.selection),or());break;default:return}hM()}function xi(){switch(En.keyCode){case 16:vr&&(zr=ir=vr=!1,or());break;case 18:Y===P_&&($<0?Wt=ot:$>0&&(pt=Je),de<0?mn=dn:de>0&&(It=kt),Y=O_,or());break;case 32:Y===gN&&(En.altKey?($&&(Wt=ot-xn*$,pt=Je+xn*$),de&&(mn=dn-Zn*de,It=kt+Zn*de),Y=P_):($<0?Wt=ot:$>0&&(pt=Je),de<0?mn=dn:de>0&&(It=kt),Y=O_),Bo.attr("cursor",rp[G]),or());break;default:return}hM()}}function I(){var F=this.__brush||{selection:null};return F.extent=r.apply(this,arguments),F.dim=n,F}return s.move=function(F,G){F.selection?F.on("start.brush",function(){p(this,arguments).beforestart().start()}).on("interrupt.brush end.brush",function(){p(this,arguments).end()}).tween("brush",function(){var Y=this,$=Y.__brush,de=p(Y,arguments),Me=$.selection,st=n.input("function"==typeof G?G.apply(this,arguments):G,$.extent),tt=Lf(Me,st);function at(pt){$.selection=1===pt&&yN(st)?null:tt(pt),u.call(Y),de.brush()}return Me&&st?at:at(1)}):F.each(function(){var Y=this,$=arguments,de=Y.__brush,Me=n.input("function"==typeof G?G.apply(Y,$):G,de.extent),st=p(Y,$).beforestart();Bm(Y),de.selection=null==Me||yN(Me)?null:Me,u.call(Y),st.start().brush().end()})},m.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting&&(this.starting=!1,this.emit("start")),this},brush:function(){return this.emit("brush"),this},end:function(){return 0==--this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(G){Om(new lY(s,G,n.output(this.state.selection)),i.apply,i,[G,this.that,this.args])}},s.extent=function(F){return arguments.length?(r="function"==typeof F?F:r8([[+F[0][0],+F[0][1]],[+F[1][0],+F[1][1]]]),s):r},s.filter=function(F){return arguments.length?(t="function"==typeof F?F:r8(!!F),s):t},s.handleSize=function(F){return arguments.length?(o=+F,s):o},s.on=function(){var F=i.on.apply(i,arguments);return F===i?s:F},s}var l8=Math.cos,u8=Math.sin,c8=Math.PI,gM=c8/2,d8=2*c8,p8=Math.max;function _Y(n){return function(r,t){return n(r.source.value+r.target.value,t.source.value+t.target.value)}}function yY(){var n=0,r=null,t=null,i=null;function o(a){var G,Y,$,de,Me,st,s=a.length,u=[],p=Hs(s),m=[],b=[],I=b.groups=new Array(s),F=new Array(s*s);for(G=0,Me=-1;++Me<s;){for(Y=0,st=-1;++st<s;)Y+=a[Me][st];u.push(Y),m.push(Hs(s)),G+=Y}for(r&&p.sort(function(pn,Wt){return r(u[pn],u[Wt])}),t&&m.forEach(function(pn,Wt){pn.sort(function(ot,Dt){return t(a[Wt][ot],a[Wt][Dt])})}),de=(G=p8(0,d8-n*s)/G)?n:d8/s,Y=0,Me=-1;++Me<s;){for($=Y,st=-1;++st<s;){var tt=p[Me],at=m[tt][st],pt=a[tt][at],Je=Y,et=Y+=pt*G;F[at*s+tt]={index:tt,subindex:at,startAngle:Je,endAngle:et,value:pt}}I[tt]={index:tt,startAngle:$,endAngle:Y,value:u[tt]},Y+=de}for(Me=-1;++Me<s;)for(st=Me-1;++st<s;){var It=F[st*s+Me],kt=F[Me*s+st];(It.value||kt.value)&&b.push(It.value<kt.value?{source:kt,target:It}:{source:It,target:kt})}return i?b.sort(i):b}return o.padAngle=function(a){return arguments.length?(n=p8(0,a),o):n},o.sortGroups=function(a){return arguments.length?(r=a,o):r},o.sortSubgroups=function(a){return arguments.length?(t=a,o):t},o.sortChords=function(a){return arguments.length?(null==a?i=null:(i=_Y(a))._=a,o):i&&i._},o}var bY=Array.prototype.slice;function CN(n){return function(){return n}}var SN=Math.PI,TN=2*SN,Um=1e-6,CY=TN-Um;function xN(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function f8(){return new xN}xN.prototype=f8.prototype={constructor:xN,moveTo:function(r,t){this._+="M"+(this._x0=this._x1=+r)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(r,t){this._+="L"+(this._x1=+r)+","+(this._y1=+t)},quadraticCurveTo:function(r,t,i,o){this._+="Q"+ +r+","+ +t+","+(this._x1=+i)+","+(this._y1=+o)},bezierCurveTo:function(r,t,i,o,a,s){this._+="C"+ +r+","+ +t+","+ +i+","+ +o+","+(this._x1=+a)+","+(this._y1=+s)},arcTo:function(r,t,i,o,a){var s=this._x1,u=this._y1,p=(i=+i)-(r=+r),m=(o=+o)-(t=+t),b=s-r,I=u-t,F=b*b+I*I;if((a=+a)<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=r)+","+(this._y1=t);else if(F>Um)if(Math.abs(I*p-m*b)>Um&&a){var G=i-s,Y=o-u,$=p*p+m*m,de=G*G+Y*Y,Me=Math.sqrt($),st=Math.sqrt(F),tt=a*Math.tan((SN-Math.acos(($+F-de)/(2*Me*st)))/2),at=tt/st,pt=tt/Me;Math.abs(at-1)>Um&&(this._+="L"+(r+at*b)+","+(t+at*I)),this._+="A"+a+","+a+",0,0,"+ +(I*G>b*Y)+","+(this._x1=r+pt*p)+","+(this._y1=t+pt*m)}else this._+="L"+(this._x1=r)+","+(this._y1=t)},arc:function(r,t,i,o,a,s){r=+r,t=+t,s=!!s;var u=(i=+i)*Math.cos(o),p=i*Math.sin(o),m=r+u,b=t+p,I=1^s,F=s?o-a:a-o;if(i<0)throw new Error("negative radius: "+i);null===this._x1?this._+="M"+m+","+b:(Math.abs(this._x1-m)>Um||Math.abs(this._y1-b)>Um)&&(this._+="L"+m+","+b),i&&(F<0&&(F=F%TN+TN),F>CY?this._+="A"+i+","+i+",0,1,"+I+","+(r-u)+","+(t-p)+"A"+i+","+i+",0,1,"+I+","+(this._x1=m)+","+(this._y1=b):F>Um&&(this._+="A"+i+","+i+",0,"+ +(F>=SN)+","+I+","+(this._x1=r+i*Math.cos(a))+","+(this._y1=t+i*Math.sin(a))))},rect:function(r,t,i,o){this._+="M"+(this._x0=this._x1=+r)+","+(this._y0=this._y1=+t)+"h"+ +i+"v"+ +o+"h"+-i+"Z"},toString:function(){return this._}};var Yu=f8;function SY(n){return n.source}function TY(n){return n.target}function xY(n){return n.radius}function wY(n){return n.startAngle}function kY(n){return n.endAngle}function EY(){var n=SY,r=TY,t=xY,i=wY,o=kY,a=null;function s(){var u,p=bY.call(arguments),m=n.apply(this,p),b=r.apply(this,p),I=+t.apply(this,(p[0]=m,p)),F=i.apply(this,p)-gM,G=o.apply(this,p)-gM,Y=I*l8(F),$=I*u8(F),de=+t.apply(this,(p[0]=b,p)),Me=i.apply(this,p)-gM,st=o.apply(this,p)-gM;if(a||(a=u=Yu()),a.moveTo(Y,$),a.arc(0,0,I,F,G),(F!==Me||G!==st)&&(a.quadraticCurveTo(0,0,de*l8(Me),de*u8(Me)),a.arc(0,0,de,Me,st)),a.quadraticCurveTo(0,0,Y,$),a.closePath(),u)return a=null,u+""||null}return s.radius=function(u){return arguments.length?(t="function"==typeof u?u:CN(+u),s):t},s.startAngle=function(u){return arguments.length?(i="function"==typeof u?u:CN(+u),s):i},s.endAngle=function(u){return arguments.length?(o="function"==typeof u?u:CN(+u),s):o},s.source=function(u){return arguments.length?(n=u,s):n},s.target=function(u){return arguments.length?(r=u,s):r},s.context=function(u){return arguments.length?(a=null==u?null:u,s):a},s}var Cu="$";function _M(){}function h8(n,r){var t=new _M;if(n instanceof _M)n.each(function(u,p){t.set(p,u)});else if(Array.isArray(n)){var a,i=-1,o=n.length;if(null==r)for(;++i<o;)t.set(i,n[i]);else for(;++i<o;)t.set(r(a=n[i],i,n),a)}else if(n)for(var s in n)t.set(s,n[s]);return t}_M.prototype=h8.prototype={constructor:_M,has:function(r){return Cu+r in this},get:function(r){return this[Cu+r]},set:function(r,t){return this[Cu+r]=t,this},remove:function(r){var t=Cu+r;return t in this&&delete this[t]},clear:function(){for(var r in this)r[0]===Cu&&delete this[r]},keys:function(){var r=[];for(var t in this)t[0]===Cu&&r.push(t.slice(1));return r},values:function(){var r=[];for(var t in this)t[0]===Cu&&r.push(this[t]);return r},entries:function(){var r=[];for(var t in this)t[0]===Cu&&r.push({key:t.slice(1),value:this[t]});return r},size:function(){var r=0;for(var t in this)t[0]===Cu&&++r;return r},empty:function(){for(var r in this)if(r[0]===Cu)return!1;return!0},each:function(r){for(var t in this)t[0]===Cu&&r(this[t],t.slice(1),this)}};var Bf=h8;function MY(){var t,i,o,n=[],r=[];function a(u,p,m,b){if(p>=n.length)return null!=t&&u.sort(t),null!=i?i(u):u;for(var Y,$,Me,I=-1,F=u.length,G=n[p++],de=Bf(),st=m();++I<F;)(Me=de.get(Y=G($=u[I])+""))?Me.push($):de.set(Y,[$]);return de.each(function(tt,at){b(st,at,a(tt,p,m,b))}),st}function s(u,p){if(++p>n.length)return u;var m,b=r[p-1];return null!=i&&p>=n.length?m=u.entries():(m=[],u.each(function(I,F){m.push({key:F,values:s(I,p)})})),null!=b?m.sort(function(I,F){return b(I.key,F.key)}):m}return o={object:function(p){return a(p,0,AY,DY)},map:function(p){return a(p,0,m8,v8)},entries:function(p){return s(a(p,0,m8,v8),0)},key:function(p){return n.push(p),o},sortKeys:function(p){return r[n.length-1]=p,o},sortValues:function(p){return t=p,o},rollup:function(p){return i=p,o}}}function AY(){return{}}function DY(n,r,t){n[r]=t}function m8(){return Bf()}function v8(n,r,t){n.set(r,t)}function yM(){}var Hm=Bf.prototype;function g8(n,r){var t=new yM;if(n instanceof yM)n.each(function(a){t.add(a)});else if(n){var i=-1,o=n.length;if(null==r)for(;++i<o;)t.add(n[i]);else for(;++i<o;)t.add(r(n[i],i,n))}return t}yM.prototype=g8.prototype={constructor:yM,has:Hm.has,add:function(r){return this[Cu+(r+="")]=r,this},remove:Hm.remove,clear:Hm.clear,values:Hm.keys,size:Hm.size,empty:Hm.empty,each:Hm.each};var OY=g8;function PY(n){var r=[];for(var t in n)r.push(t);return r}function IY(n){var r=[];for(var t in n)r.push(n[t]);return r}function RY(n){var r=[];for(var t in n)r.push({key:t,value:n[t]});return r}var _8=Array.prototype.slice;function ZY(n,r){return n-r}function Vm(n){return function(){return n}}function FY(n,r){for(var o,t=-1,i=r.length;++t<i;)if(o=BY(n,r[t]))return o;return 0}function BY(n,r){for(var t=r[0],i=r[1],o=-1,a=0,s=n.length,u=s-1;a<s;u=a++){var p=n[a],m=p[0],b=p[1],I=n[u],F=I[0],G=I[1];if(UY(p,I,r))return 0;b>i!=G>i&&t<(F-m)*(i-b)/(G-b)+m&&(o=-o)}return o}function UY(n,r,t){var i;return function(n,r,t){return(r[0]-n[0])*(t[1]-n[1])==(t[0]-n[0])*(r[1]-n[1])}(n,r,t)&&function(n,r,t){return n<=r&&r<=t||t<=r&&r<=n}(n[i=+(n[0]===r[0])],t[i],r[i])}function qY(){}var ip=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]];function y8(){var n=1,r=1,t=jC,i=p;function o(m){var b=t(m);if(Array.isArray(b))b=b.slice().sort(ZY);else{var I=UC(m),F=I[0],G=I[1];b=jc(F,G,b),b=Hs(Math.floor(F/b)*b,Math.floor(G/b)*b,b)}return b.map(function(Y){return a(m,Y)})}function a(m,b){var I=[],F=[];return function(m,b,I){var Y,$,Me,st,tt,F=new Array,G=new Array;for(Y=$=-1,ip[(Me=m[0]>=b)<<1].forEach(at);++Y<n-1;)ip[Me|(Me=m[Y+1]>=b)<<1].forEach(at);for(ip[Me<<0].forEach(at);++$<r-1;){for(Y=-1,ip[(Me=m[$*n+n]>=b)<<1|(st=m[$*n]>=b)<<2].forEach(at);++Y<n-1;)tt=st,ip[Me|(Me=m[$*n+n+Y+1]>=b)<<1|(st=m[$*n+Y+1]>=b)<<2|tt<<3].forEach(at);ip[Me|st<<3].forEach(at)}for(Y=-1,ip[(st=m[$*n]>=b)<<2].forEach(at);++Y<n-1;)tt=st,ip[(st=m[$*n+Y+1]>=b)<<2|tt<<3].forEach(at);function at(pt){var pn,Wt,Je=[pt[0][0]+Y,pt[0][1]+$],et=[pt[1][0]+Y,pt[1][1]+$],It=u(Je),kt=u(et);(pn=G[It])?(Wt=F[kt])?(delete G[pn.end],delete F[Wt.start],pn===Wt?(pn.ring.push(et),I(pn.ring)):F[pn.start]=G[Wt.end]={start:pn.start,end:Wt.end,ring:pn.ring.concat(Wt.ring)}):(delete G[pn.end],pn.ring.push(et),G[pn.end=kt]=pn):(pn=F[kt])?(Wt=G[It])?(delete F[pn.start],delete G[Wt.end],pn===Wt?(pn.ring.push(et),I(pn.ring)):F[Wt.start]=G[pn.end]={start:Wt.start,end:pn.end,ring:Wt.ring.concat(pn.ring)}):(delete F[pn.start],pn.ring.unshift(Je),F[pn.start=It]=pn):F[It]=G[kt]={start:It,end:kt,ring:[Je,et]}}ip[st<<3].forEach(at)}(m,b,function(G){i(G,m,b),function(n){for(var r=0,t=n.length,i=n[t-1][1]*n[0][0]-n[t-1][0]*n[0][1];++r<t;)i+=n[r-1][1]*n[r][0]-n[r-1][0]*n[r][1];return i}(G)>0?I.push([G]):F.push(G)}),F.forEach(function(G){for(var de,Y=0,$=I.length;Y<$;++Y)if(-1!==FY((de=I[Y])[0],G))return void de.push(G)}),{type:"MultiPolygon",value:b,coordinates:I}}function u(m){return 2*m[0]+m[1]*(n+1)*4}function p(m,b,I){m.forEach(function(F){var Me,G=F[0],Y=F[1],$=0|G,de=0|Y,st=b[de*n+$];G>0&&G<n&&$===G&&(F[0]=G+(I-(Me=b[de*n+$-1]))/(st-Me)-.5),Y>0&&Y<r&&de===Y&&(F[1]=Y+(I-(Me=b[(de-1)*n+$]))/(st-Me)-.5)})}return o.contour=a,o.size=function(m){if(!arguments.length)return[n,r];var b=Math.ceil(m[0]),I=Math.ceil(m[1]);if(!(b>0&&I>0))throw new Error("invalid size");return n=b,r=I,o},o.thresholds=function(m){return arguments.length?(t="function"==typeof m?m:Array.isArray(m)?Vm(_8.call(m)):Vm(m),o):t},o.smooth=function(m){return arguments.length?(i=m?p:qY,o):i===p},o}function wN(n,r,t){for(var i=n.width,o=n.height,a=1+(t<<1),s=0;s<o;++s)for(var u=0,p=0;u<i+t;++u)u<i&&(p+=n.data[u+s*i]),u>=t&&(u>=a&&(p-=n.data[u-a+s*i]),r.data[u-t+s*i]=p/Math.min(u+1,i-1+a-u,a))}function kN(n,r,t){for(var i=n.width,o=n.height,a=1+(t<<1),s=0;s<i;++s)for(var u=0,p=0;u<o+t;++u)u<o&&(p+=n.data[s+u*i]),u>=t&&(u>=a&&(p-=n.data[s+(u-a)*i]),r.data[s+(u-t)*i]=p/Math.min(u+1,o-1+a-u,a))}function jY(n){return n[0]}function zY(n){return n[1]}function WY(){var n=jY,r=zY,t=960,i=500,o=20,a=2,s=3*o,u=t+2*s>>a,p=i+2*s>>a,m=Vm(20);function b(de){var Me=new Float32Array(u*p),st=new Float32Array(u*p);de.forEach(function(pt,Je,et){var It=n(pt,Je,et)+s>>a,kt=r(pt,Je,et)+s>>a;It>=0&&It<u&&kt>=0&&kt<p&&++Me[It+kt*u]}),wN({width:u,height:p,data:Me},{width:u,height:p,data:st},o>>a),kN({width:u,height:p,data:st},{width:u,height:p,data:Me},o>>a),wN({width:u,height:p,data:Me},{width:u,height:p,data:st},o>>a),kN({width:u,height:p,data:st},{width:u,height:p,data:Me},o>>a),wN({width:u,height:p,data:Me},{width:u,height:p,data:st},o>>a),kN({width:u,height:p,data:st},{width:u,height:p,data:Me},o>>a);var tt=m(Me);if(!Array.isArray(tt)){var at=d_(Me);tt=jc(0,at,tt),(tt=Hs(0,Math.floor(at/tt)*tt,tt)).shift()}return y8().thresholds(tt).size([u,p])(Me).map(I)}function I(de){return de.value*=Math.pow(2,-2*a),de.coordinates.forEach(F),de}function F(de){de.forEach(G)}function G(de){de.forEach(Y)}function Y(de){de[0]=de[0]*Math.pow(2,a)-s,de[1]=de[1]*Math.pow(2,a)-s}function $(){return u=t+2*(s=3*o)>>a,p=i+2*s>>a,b}return b.x=function(de){return arguments.length?(n="function"==typeof de?de:Vm(+de),b):n},b.y=function(de){return arguments.length?(r="function"==typeof de?de:Vm(+de),b):r},b.size=function(de){if(!arguments.length)return[t,i];var Me=Math.ceil(de[0]),st=Math.ceil(de[1]);if(!(Me>=0||Me>=0))throw new Error("invalid size");return t=Me,i=st,$()},b.cellSize=function(de){if(!arguments.length)return 1<<a;if(!((de=+de)>=1))throw new Error("invalid cell size");return a=Math.floor(Math.log(de)/Math.LN2),$()},b.thresholds=function(de){return arguments.length?(m="function"==typeof de?de:Array.isArray(de)?Vm(_8.call(de)):Vm(de),b):m},b.bandwidth=function(de){if(!arguments.length)return Math.sqrt(o*(o+1));if(!((de=+de)>=0))throw new Error("invalid bandwidth");return o=Math.round((Math.sqrt(4*de*de+1)-1)/2),$()},b}function bM(n){return function(){return n}}function EN(n,r,t,i,o,a,s,u,p,m){this.target=n,this.type=r,this.subject=t,this.identifier=i,this.active=o,this.x=a,this.y=s,this.dx=u,this.dy=p,this._=m}function GY(){return!En.ctrlKey&&!En.button}function YY(){return this.parentNode}function JY(n){return null==n?{x:En.x,y:En.y}:n}function QY(){return navigator.maxTouchPoints||"ontouchstart"in this}function Uf(){var u,p,m,b,n=GY,r=YY,t=JY,i=QY,o={},a=Kd("start","drag","end"),s=0,I=0;function F(at){at.on("mousedown.drag",G).filter(i).on("touchstart.drag",de).on("touchmove.drag",Me).on("touchend.drag touchcancel.drag",st).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function G(){if(!b&&n.apply(this,arguments)){var at=tt("mouse",r.apply(this,arguments),al,this,arguments);!at||(Kr(En.view).on("mousemove.drag",Y,!0).on("mouseup.drag",$,!0),T_(En.view),d1(),m=!1,u=En.clientX,p=En.clientY,at("start"))}}function Y(){if(Of(),!m){var at=En.clientX-u,pt=En.clientY-p;m=at*at+pt*pt>I}o.mouse("drag")}function $(){Kr(En.view).on("mousemove.drag mouseup.drag",null),Ul(En.view,m),Of(),o.mouse("end")}function de(){if(n.apply(this,arguments)){var et,It,at=En.changedTouches,pt=r.apply(this,arguments),Je=at.length;for(et=0;et<Je;++et)(It=tt(at[et].identifier,pt,S_,this,arguments))&&(d1(),It("start"))}}function Me(){var Je,et,at=En.changedTouches,pt=at.length;for(Je=0;Je<pt;++Je)(et=o[at[Je].identifier])&&(Of(),et("drag"))}function st(){var Je,et,at=En.changedTouches,pt=at.length;for(b&&clearTimeout(b),b=setTimeout(function(){b=null},500),Je=0;Je<pt;++Je)(et=o[at[Je].identifier])&&(d1(),et("end"))}function tt(at,pt,Je,et,It){var pn,Wt,ot,kt=Je(pt,at),Dt=a.copy();if(Om(new EN(F,"beforestart",pn,at,s,kt[0],kt[1],0,0,Dt),function(){return null!=(En.subject=pn=t.apply(et,It))&&(Wt=pn.x-kt[0]||0,ot=pn.y-kt[1]||0,!0)}))return function mn(dn){var Zn,xn=kt;switch(dn){case"start":o[at]=mn,Zn=s++;break;case"end":delete o[at],--s;case"drag":kt=Je(pt,at),Zn=s}Om(new EN(F,dn,pn,at,Zn,kt[0]+Wt,kt[1]+ot,kt[0]-xn[0],kt[1]-xn[1],Dt),Dt.apply,Dt,[dn,et,It])}}return F.filter=function(at){return arguments.length?(n="function"==typeof at?at:bM(!!at),F):n},F.container=function(at){return arguments.length?(r="function"==typeof at?at:bM(at),F):r},F.subject=function(at){return arguments.length?(t="function"==typeof at?at:bM(at),F):t},F.touchable=function(at){return arguments.length?(i="function"==typeof at?at:bM(!!at),F):i},F.on=function(){var at=a.on.apply(a,arguments);return at===a?F:at},F.clickDistance=function(at){return arguments.length?(I=(at=+at)*at,F):Math.sqrt(I)},F}EN.prototype.on=function(){var n=this._.on.apply(this._,arguments);return n===this._?this:n};var b8={},MN={};function C8(n){return new Function("d","return {"+n.map(function(r,t){return JSON.stringify(r)+": d["+t+"]"}).join(",")+"}")}function ON(n){var r=new RegExp('["'+n+"\n\r]"),t=n.charCodeAt(0);function o(m,b){var $,I=[],F=m.length,G=0,Y=0,de=F<=0,Me=!1;function st(){if(de)return MN;if(Me)return Me=!1,b8;var at,Je,pt=G;if(34===m.charCodeAt(pt)){for(;G++<F&&34!==m.charCodeAt(G)||34===m.charCodeAt(++G););return(at=G)>=F?de=!0:10===(Je=m.charCodeAt(G++))?Me=!0:13===Je&&(Me=!0,10===m.charCodeAt(G)&&++G),m.slice(pt+1,at-1).replace(/""/g,'"')}for(;G<F;){if(10===(Je=m.charCodeAt(at=G++)))Me=!0;else if(13===Je)Me=!0,10===m.charCodeAt(G)&&++G;else if(Je!==t)continue;return m.slice(pt,at)}return de=!0,m.slice(pt,F)}for(10===m.charCodeAt(F-1)&&--F,13===m.charCodeAt(F-1)&&--F;($=st())!==MN;){for(var tt=[];$!==b8&&$!==MN;)tt.push($),$=st();b&&null==(tt=b(tt,Y++))||I.push(tt)}return I}function u(m){return m.map(p).join(n)}function p(m){return null==m?"":r.test(m+="")?'"'+m.replace(/"/g,'""')+'"':m}return{parse:function(m,b){var I,F,G=o(m,function(Y,$){if(I)return I(Y,$-1);F=Y,I=b?function(n,r){var t=C8(n);return function(i,o){return r(t(i),o,n)}}(Y,b):C8(Y)});return G.columns=F||[],G},parseRows:o,format:function(m,b){return null==b&&(b=function(n){var r=Object.create(null),t=[];return n.forEach(function(i){for(var o in i)o in r||t.push(r[o]=o)}),t}(m)),[b.map(p).join(n)].concat(m.map(function(I){return b.map(function(F){return p(I[F])}).join(n)})).join("\n")},formatRows:function(m){return m.map(u).join("\n")}}}var CM=ON(","),$Y=CM.parse,eJ=CM.parseRows,tJ=CM.format,nJ=CM.formatRows,SM=ON("\t"),rJ=SM.parse,iJ=SM.parseRows,oJ=SM.format,aJ=SM.formatRows;function sJ(n){return+n}function lJ(n){return n*n}function uJ(n){return n*(2-n)}function S8(n){return((n*=2)<=1?n*n:--n*(2-n)+1)/2}var cJ=function n(r){function t(i){return Math.pow(i,r)}return r=+r,t.exponent=n,t}(3),dJ=function n(r){function t(i){return 1-Math.pow(1-i,r)}return r=+r,t.exponent=n,t}(3),T8=function n(r){function t(i){return((i*=2)<=1?Math.pow(i,r):2-Math.pow(2-i,r))/2}return r=+r,t.exponent=n,t}(3),x8=Math.PI,w8=x8/2;function pJ(n){return 1==+n?1:1-Math.cos(n*w8)}function fJ(n){return Math.sin(n*w8)}function k8(n){return(1-Math.cos(x8*n))/2}function Hf(n){return 1.0009775171065494*(Math.pow(2,-10*n)-.0009765625)}function hJ(n){return Hf(1-+n)}function mJ(n){return 1-Hf(n)}function E8(n){return((n*=2)<=1?Hf(1-n):2-Hf(n-1))/2}function vJ(n){return 1-Math.sqrt(1-n*n)}function gJ(n){return Math.sqrt(1- --n*n)}function M8(n){return((n*=2)<=1?1-Math.sqrt(1-n*n):Math.sqrt(1-(n-=2)*n)+1)/2}var TM=7.5625;function kJ(n){return 1-M1(1-n)}function M1(n){return(n=+n)<.36363636363636365?TM*n*n:n<.7272727272727273?TM*(n-=.5454545454545454)*n+.75:n<.9090909090909091?TM*(n-=.8181818181818182)*n+.9375:TM*(n-=.9545454545454546)*n+.984375}function EJ(n){return((n*=2)<=1?1-M1(1-n):M1(n-1)+1)/2}var RN=1.70158,MJ=function n(r){function t(i){return(i=+i)*i*(r*(i-1)+i)}return r=+r,t.overshoot=n,t}(RN),AJ=function n(r){function t(i){return--i*i*((i+1)*r+i)+1}return r=+r,t.overshoot=n,t}(RN),A8=function n(r){function t(i){return((i*=2)<1?i*i*((r+1)*i-r):(i-=2)*i*((r+1)*i+r)+2)/2}return r=+r,t.overshoot=n,t}(RN),I_=2*Math.PI,DJ=function n(r,t){var i=Math.asin(1/(r=Math.max(1,r)))*(t/=I_);function o(a){return r*Hf(- --a)*Math.sin((i-a)/t)}return o.amplitude=function(a){return n(a,t*I_)},o.period=function(a){return n(r,a)},o}(1,.3),D8=function n(r,t){var i=Math.asin(1/(r=Math.max(1,r)))*(t/=I_);function o(a){return 1-r*Hf(a=+a)*Math.sin((a+i)/t)}return o.amplitude=function(a){return n(a,t*I_)},o.period=function(a){return n(r,a)},o}(1,.3),OJ=function n(r,t){var i=Math.asin(1/(r=Math.max(1,r)))*(t/=I_);function o(a){return((a=2*a-1)<0?r*Hf(-a)*Math.sin((i-a)/t):2-r*Hf(a)*Math.sin((i+a)/t))/2}return o.amplitude=function(a){return n(a,t*I_)},o.period=function(a){return n(r,a)},o}(1,.3);function PJ(n,r){var t;function i(){var o,s,a=t.length,u=0,p=0;for(o=0;o<a;++o)u+=(s=t[o]).x,p+=s.y;for(u=u/a-n,p=p/a-r,o=0;o<a;++o)(s=t[o]).x-=u,s.y-=p}return null==n&&(n=0),null==r&&(r=0),i.initialize=function(o){t=o},i.x=function(o){return arguments.length?(n=+o,i):n},i.y=function(o){return arguments.length?(r=+o,i):r},i}function Ba(n){return function(){return n}}function Vf(){return 1e-6*(Math.random()-.5)}function O8(n,r,t,i){if(isNaN(r)||isNaN(t))return n;var o,I,F,G,Y,$,de,Me,st,a=n._root,s={data:i},u=n._x0,p=n._y0,m=n._x1,b=n._y1;if(!a)return n._root=s,n;for(;a.length;)if(($=r>=(I=(u+m)/2))?u=I:m=I,(de=t>=(F=(p+b)/2))?p=F:b=F,o=a,!(a=a[Me=de<<1|$]))return o[Me]=s,n;if(G=+n._x.call(null,a.data),Y=+n._y.call(null,a.data),r===G&&t===Y)return s.next=a,o?o[Me]=s:n._root=s,n;do{o=o?o[Me]=new Array(4):n._root=new Array(4),($=r>=(I=(u+m)/2))?u=I:m=I,(de=t>=(F=(p+b)/2))?p=F:b=F}while((Me=de<<1|$)==(st=(Y>=F)<<1|G>=I));return o[st]=a,o[Me]=s,n}function qs(n,r,t,i,o){this.node=n,this.x0=r,this.y0=t,this.x1=i,this.y1=o}function zJ(n){return n[0]}function GJ(n){return n[1]}function xM(n,r,t){var i=new LN(null==r?zJ:r,null==t?GJ:t,NaN,NaN,NaN,NaN);return null==n?i:i.addAll(n)}function LN(n,r,t,i,o,a){this._x=n,this._y=r,this._x0=t,this._y0=i,this._x1=o,this._y1=a,this._root=void 0}function P8(n){for(var r={data:n.data},t=r;n=n.next;)t=t.next={data:n.data};return r}var js=xM.prototype=LN.prototype;function JJ(n){return n.x+n.vx}function QJ(n){return n.y+n.vy}function KJ(n){var r,t,i=1,o=1;function a(){for(var p,b,I,F,G,Y,$,m=r.length,de=0;de<o;++de)for(b=xM(r,JJ,QJ).visitAfter(s),p=0;p<m;++p)$=(Y=t[(I=r[p]).index])*Y,F=I.x+I.vx,G=I.y+I.vy,b.visit(Me);function Me(st,tt,at,pt,Je){var et=st.data,It=st.r,kt=Y+It;if(!et)return tt>F+kt||pt<F-kt||at>G+kt||Je<G-kt;if(et.index>I.index){var pn=F-et.x-et.vx,Wt=G-et.y-et.vy,ot=pn*pn+Wt*Wt;ot<kt*kt&&(0===pn&&(ot+=(pn=Vf())*pn),0===Wt&&(ot+=(Wt=Vf())*Wt),ot=(kt-(ot=Math.sqrt(ot)))/ot*i,I.vx+=(pn*=ot)*(kt=(It*=It)/($+It)),I.vy+=(Wt*=ot)*kt,et.vx-=pn*(kt=1-kt),et.vy-=Wt*kt)}}}function s(p){if(p.data)return p.r=t[p.data.index];for(var m=p.r=0;m<4;++m)p[m]&&p[m].r>p.r&&(p.r=p[m].r)}function u(){if(r){var p,b,m=r.length;for(t=new Array(m),p=0;p<m;++p)t[(b=r[p]).index]=+n(b,p,r)}}return"function"!=typeof n&&(n=Ba(null==n?1:+n)),a.initialize=function(p){r=p,u()},a.iterations=function(p){return arguments.length?(o=+p,a):o},a.strength=function(p){return arguments.length?(i=+p,a):i},a.radius=function(p){return arguments.length?(n="function"==typeof p?p:Ba(+p),u(),a):n},a}function XJ(n){return n.index}function I8(n,r){var t=n.get(r);if(!t)throw new Error("missing: "+r);return t}function $J(n){var i,a,s,u,p,r=XJ,t=function($){return 1/Math.min(u[$.source.index],u[$.target.index])},o=Ba(30),m=1;function I($){for(var de=0,Me=n.length;de<m;++de)for(var tt,at,pt,Je,et,It,kt,st=0;st<Me;++st)Je=(pt=(tt=n[st]).target).x+pt.vx-(at=tt.source).x-at.vx||Vf(),et=pt.y+pt.vy-at.y-at.vy||Vf(),et*=It=((It=Math.sqrt(Je*Je+et*et))-a[st])/It*$*i[st],pt.vx-=(Je*=It)*(kt=p[st]),pt.vy-=et*kt,at.vx+=Je*(kt=1-kt),at.vy+=et*kt}function F(){if(s){var $,tt,de=s.length,Me=n.length,st=Bf(s,r);for($=0,u=new Array(de);$<Me;++$)(tt=n[$]).index=$,"object"!=typeof tt.source&&(tt.source=I8(st,tt.source)),"object"!=typeof tt.target&&(tt.target=I8(st,tt.target)),u[tt.source.index]=(u[tt.source.index]||0)+1,u[tt.target.index]=(u[tt.target.index]||0)+1;for($=0,p=new Array(Me);$<Me;++$)p[$]=u[(tt=n[$]).source.index]/(u[tt.source.index]+u[tt.target.index]);i=new Array(Me),G(),a=new Array(Me),Y()}}function G(){if(s)for(var $=0,de=n.length;$<de;++$)i[$]=+t(n[$],$,n)}function Y(){if(s)for(var $=0,de=n.length;$<de;++$)a[$]=+o(n[$],$,n)}return null==n&&(n=[]),I.initialize=function($){s=$,F()},I.links=function($){return arguments.length?(n=$,F(),I):n},I.id=function($){return arguments.length?(r=$,I):r},I.iterations=function($){return arguments.length?(m=+$,I):m},I.strength=function($){return arguments.length?(t="function"==typeof $?$:Ba(+$),G(),I):t},I.distance=function($){return arguments.length?(o="function"==typeof $?$:Ba(+$),Y(),I):o},I}function eQ(n){return n.x}function tQ(n){return n.y}js.copy=function(){var t,i,n=new LN(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=P8(r),n;for(t=[{source:r,target:n._root=new Array(4)}];r=t.pop();)for(var o=0;o<4;++o)(i=r.source[o])&&(i.length?t.push({source:i,target:r.target[o]=new Array(4)}):r.target[o]=P8(i));return n},js.add=function(n){var r=+this._x.call(null,n),t=+this._y.call(null,n);return O8(this.cover(r,t),r,t,n)},js.addAll=function(n){var r,t,o,a,i=n.length,s=new Array(i),u=new Array(i),p=1/0,m=1/0,b=-1/0,I=-1/0;for(t=0;t<i;++t)isNaN(o=+this._x.call(null,r=n[t]))||isNaN(a=+this._y.call(null,r))||(s[t]=o,u[t]=a,o<p&&(p=o),o>b&&(b=o),a<m&&(m=a),a>I&&(I=a));if(p>b||m>I)return this;for(this.cover(p,m).cover(b,I),t=0;t<i;++t)O8(this,s[t],u[t],n[t]);return this},js.cover=function(n,r){if(isNaN(n=+n)||isNaN(r=+r))return this;var t=this._x0,i=this._y0,o=this._x1,a=this._y1;if(isNaN(t))o=(t=Math.floor(n))+1,a=(i=Math.floor(r))+1;else{for(var p,m,s=o-t,u=this._root;t>n||n>=o||i>r||r>=a;)switch(m=(r<i)<<1|n<t,p=new Array(4),p[m]=u,u=p,s*=2,m){case 0:o=t+s,a=i+s;break;case 1:t=o-s,a=i+s;break;case 2:o=t+s,i=a-s;break;case 3:t=o-s,i=a-s}this._root&&this._root.length&&(this._root=u)}return this._x0=t,this._y0=i,this._x1=o,this._y1=a,this},js.data=function(){var n=[];return this.visit(function(r){if(!r.length)do{n.push(r.data)}while(r=r.next)}),n},js.extent=function(n){return arguments.length?this.cover(+n[0][0],+n[0][1]).cover(+n[1][0],+n[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},js.find=function(n,r,t){var i,s,u,p,m,Y,$,o=this._x0,a=this._y0,b=this._x1,I=this._y1,F=[],G=this._root;for(G&&F.push(new qs(G,o,a,b,I)),null==t?t=1/0:(o=n-t,a=r-t,b=n+t,I=r+t,t*=t);Y=F.pop();)if(!(!(G=Y.node)||(s=Y.x0)>b||(u=Y.y0)>I||(p=Y.x1)<o||(m=Y.y1)<a))if(G.length){var de=(s+p)/2,Me=(u+m)/2;F.push(new qs(G[3],de,Me,p,m),new qs(G[2],s,Me,de,m),new qs(G[1],de,u,p,Me),new qs(G[0],s,u,de,Me)),($=(r>=Me)<<1|n>=de)&&(Y=F[F.length-1],F[F.length-1]=F[F.length-1-$],F[F.length-1-$]=Y)}else{var st=n-+this._x.call(null,G.data),tt=r-+this._y.call(null,G.data),at=st*st+tt*tt;if(at<t){var pt=Math.sqrt(t=at);o=n-pt,a=r-pt,b=n+pt,I=r+pt,i=G.data}}return i},js.remove=function(n){if(isNaN(b=+this._x.call(null,n))||isNaN(I=+this._y.call(null,n)))return this;var r,i,o,a,b,I,F,G,Y,$,de,Me,t=this._root,s=this._x0,u=this._y0,p=this._x1,m=this._y1;if(!t)return this;if(t.length)for(;;){if((Y=b>=(F=(s+p)/2))?s=F:p=F,($=I>=(G=(u+m)/2))?u=G:m=G,r=t,!(t=t[de=$<<1|Y]))return this;if(!t.length)break;(r[de+1&3]||r[de+2&3]||r[de+3&3])&&(i=r,Me=de)}for(;t.data!==n;)if(o=t,!(t=t.next))return this;return(a=t.next)&&delete t.next,o?(a?o.next=a:delete o.next,this):r?(a?r[de]=a:delete r[de],(t=r[0]||r[1]||r[2]||r[3])&&t===(r[3]||r[2]||r[1]||r[0])&&!t.length&&(i?i[Me]=t:this._root=t),this):(this._root=a,this)},js.removeAll=function(n){for(var r=0,t=n.length;r<t;++r)this.remove(n[r]);return this},js.root=function(){return this._root},js.size=function(){var n=0;return this.visit(function(r){if(!r.length)do{++n}while(r=r.next)}),n},js.visit=function(n){var t,o,a,s,u,p,r=[],i=this._root;for(i&&r.push(new qs(i,this._x0,this._y0,this._x1,this._y1));t=r.pop();)if(!n(i=t.node,a=t.x0,s=t.y0,u=t.x1,p=t.y1)&&i.length){var m=(a+u)/2,b=(s+p)/2;(o=i[3])&&r.push(new qs(o,m,b,u,p)),(o=i[2])&&r.push(new qs(o,a,b,m,p)),(o=i[1])&&r.push(new qs(o,m,s,u,b)),(o=i[0])&&r.push(new qs(o,a,s,m,b))}return this},js.visitAfter=function(n){var i,r=[],t=[];for(this._root&&r.push(new qs(this._root,this._x0,this._y0,this._x1,this._y1));i=r.pop();){var o=i.node;if(o.length){var a,s=i.x0,u=i.y0,p=i.x1,m=i.y1,b=(s+p)/2,I=(u+m)/2;(a=o[0])&&r.push(new qs(a,s,u,b,I)),(a=o[1])&&r.push(new qs(a,b,u,p,I)),(a=o[2])&&r.push(new qs(a,s,I,b,m)),(a=o[3])&&r.push(new qs(a,b,I,p,m))}t.push(i)}for(;i=t.pop();)n(i.node,i.x0,i.y0,i.x1,i.y1);return this},js.x=function(n){return arguments.length?(this._x=n,this):this._x},js.y=function(n){return arguments.length?(this._y=n,this):this._y};var R8,rQ=Math.PI*(3-Math.sqrt(5));function iQ(n){var r,t=1,i=.001,o=1-Math.pow(i,1/300),a=0,s=.6,u=Bf(),p=uM(b),m=Kd("tick","end");function b(){I(),m.call("tick",r),t<i&&(p.stop(),m.call("end",r))}function I(){var Y,de,$=n.length;for(t+=(a-t)*o,u.each(function(Me){Me(t)}),Y=0;Y<$;++Y)null==(de=n[Y]).fx?de.x+=de.vx*=s:(de.x=de.fx,de.vx=0),null==de.fy?de.y+=de.vy*=s:(de.y=de.fy,de.vy=0)}function F(){for(var de,Y=0,$=n.length;Y<$;++Y){if((de=n[Y]).index=Y,isNaN(de.x)||isNaN(de.y)){var Me=10*Math.sqrt(Y),st=Y*rQ;de.x=Me*Math.cos(st),de.y=Me*Math.sin(st)}(isNaN(de.vx)||isNaN(de.vy))&&(de.vx=de.vy=0)}}function G(Y){return Y.initialize&&Y.initialize(n),Y}return null==n&&(n=[]),F(),r={tick:I,restart:function(){return p.restart(b),r},stop:function(){return p.stop(),r},nodes:function($){return arguments.length?(n=$,F(),u.each(G),r):n},alpha:function($){return arguments.length?(t=+$,r):t},alphaMin:function($){return arguments.length?(i=+$,r):i},alphaDecay:function($){return arguments.length?(o=+$,r):+o},alphaTarget:function($){return arguments.length?(a=+$,r):a},velocityDecay:function($){return arguments.length?(s=1-$,r):1-s},force:function($,de){return arguments.length>1?(null==de?u.remove($):u.set($,G(de)),r):u.get($)},find:function($,de,Me){var at,pt,Je,et,It,st=0,tt=n.length;for(null==Me?Me=1/0:Me*=Me,st=0;st<tt;++st)(Je=(at=$-(et=n[st]).x)*at+(pt=de-et.y)*pt)<Me&&(It=et,Me=Je);return It},on:function($,de){return arguments.length>1?(m.on($,de),r):m.on($)}}}function oQ(){var n,r,t,o,i=Ba(-30),a=1,s=1/0,u=.81;function p(F){var G,Y=n.length,$=xM(n,eQ,tQ).visitAfter(b);for(t=F,G=0;G<Y;++G)r=n[G],$.visit(I)}function m(){if(n){var F,Y,G=n.length;for(o=new Array(G),F=0;F<G;++F)o[(Y=n[F]).index]=+i(Y,F,n)}}function b(F){var Y,$,Me,st,tt,G=0,de=0;if(F.length){for(Me=st=tt=0;tt<4;++tt)(Y=F[tt])&&($=Math.abs(Y.value))&&(G+=Y.value,de+=$,Me+=$*Y.x,st+=$*Y.y);F.x=Me/de,F.y=st/de}else{(Y=F).x=Y.data.x,Y.y=Y.data.y;do{G+=o[Y.data.index]}while(Y=Y.next)}F.value=G}function I(F,G,Y,$){if(!F.value)return!0;var de=F.x-r.x,Me=F.y-r.y,st=$-G,tt=de*de+Me*Me;if(st*st/u<tt)return tt<s&&(0===de&&(tt+=(de=Vf())*de),0===Me&&(tt+=(Me=Vf())*Me),tt<a&&(tt=Math.sqrt(a*tt)),r.vx+=de*F.value*t/tt,r.vy+=Me*F.value*t/tt),!0;if(!(F.length||tt>=s)){(F.data!==r||F.next)&&(0===de&&(tt+=(de=Vf())*de),0===Me&&(tt+=(Me=Vf())*Me),tt<a&&(tt=Math.sqrt(a*tt)));do{F.data!==r&&(r.vx+=de*(st=o[F.data.index]*t/tt),r.vy+=Me*st)}while(F=F.next)}}return p.initialize=function(F){n=F,m()},p.strength=function(F){return arguments.length?(i="function"==typeof F?F:Ba(+F),m(),p):i},p.distanceMin=function(F){return arguments.length?(a=F*F,p):Math.sqrt(a)},p.distanceMax=function(F){return arguments.length?(s=F*F,p):Math.sqrt(s)},p.theta=function(F){return arguments.length?(u=F*F,p):Math.sqrt(u)},p}function aQ(n,r,t){var i,a,s,o=Ba(.1);function u(m){for(var b=0,I=i.length;b<I;++b){var F=i[b],G=F.x-r||1e-6,Y=F.y-t||1e-6,$=Math.sqrt(G*G+Y*Y),de=(s[b]-$)*a[b]*m/$;F.vx+=G*de,F.vy+=Y*de}}function p(){if(i){var m,b=i.length;for(a=new Array(b),s=new Array(b),m=0;m<b;++m)s[m]=+n(i[m],m,i),a[m]=isNaN(s[m])?0:+o(i[m],m,i)}}return"function"!=typeof n&&(n=Ba(+n)),null==r&&(r=0),null==t&&(t=0),u.initialize=function(m){i=m,p()},u.strength=function(m){return arguments.length?(o="function"==typeof m?m:Ba(+m),p(),u):o},u.radius=function(m){return arguments.length?(n="function"==typeof m?m:Ba(+m),p(),u):n},u.x=function(m){return arguments.length?(r=+m,u):r},u.y=function(m){return arguments.length?(t=+m,u):t},u}function sQ(n){var t,i,o,r=Ba(.1);function a(u){for(var b,p=0,m=t.length;p<m;++p)(b=t[p]).vx+=(o[p]-b.x)*i[p]*u}function s(){if(t){var u,p=t.length;for(i=new Array(p),o=new Array(p),u=0;u<p;++u)i[u]=isNaN(o[u]=+n(t[u],u,t))?0:+r(t[u],u,t)}}return"function"!=typeof n&&(n=Ba(null==n?0:+n)),a.initialize=function(u){t=u,s()},a.strength=function(u){return arguments.length?(r="function"==typeof u?u:Ba(+u),s(),a):r},a.x=function(u){return arguments.length?(n="function"==typeof u?u:Ba(+u),s(),a):n},a}function lQ(n){var t,i,o,r=Ba(.1);function a(u){for(var b,p=0,m=t.length;p<m;++p)(b=t[p]).vy+=(o[p]-b.y)*i[p]*u}function s(){if(t){var u,p=t.length;for(i=new Array(p),o=new Array(p),u=0;u<p;++u)i[u]=isNaN(o[u]=+n(t[u],u,t))?0:+r(t[u],u,t)}}return"function"!=typeof n&&(n=Ba(null==n?0:+n)),a.initialize=function(u){t=u,s()},a.strength=function(u){return arguments.length?(r="function"==typeof u?u:Ba(+u),s(),a):r},a.y=function(u){return arguments.length?(n="function"==typeof u?u:Ba(+u),s(),a):n},a}function wM(n,r){if((t=(n=r?n.toExponential(r-1):n.toExponential()).indexOf("e"))<0)return null;var t,i=n.slice(0,t);return[i.length>1?i[0]+i.slice(2):i,+n.slice(t+1)]}function R_(n){return(n=wM(Math.abs(n)))?n[1]:NaN}function N8(n,r){var t=wM(n,r);if(!t)return n+"";var i=t[0],o=t[1];return o<0?"0."+new Array(-o).join("0")+i:i.length>o+1?i.slice(0,o+1)+"."+i.slice(o+1):i+new Array(o-i.length+2).join("0")}var Z8={"":function(n,r){e:for(var a,t=(n=n.toPrecision(r)).length,i=1,o=-1;i<t;++i)switch(n[i]){case".":o=a=i;break;case"0":0===o&&(o=i),a=i;break;case"e":break e;default:o>0&&(o=0)}return o>0?n.slice(0,o)+n.slice(a+1):n},"%":function(r,t){return(100*r).toFixed(t)},b:function(r){return Math.round(r).toString(2)},c:function(r){return r+""},d:function(r){return Math.round(r).toString(10)},e:function(r,t){return r.toExponential(t)},f:function(r,t){return r.toFixed(t)},g:function(r,t){return r.toPrecision(t)},o:function(r){return Math.round(r).toString(8)},p:function(r,t){return N8(100*r,t)},r:N8,s:function(n,r){var t=wM(n,r);if(!t)return n+"";var i=t[0],o=t[1],a=o-(R8=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,s=i.length;return a===s?i:a>s?i+new Array(a-s+1).join("0"):a>0?i.slice(0,a)+"."+i.slice(a):"0."+new Array(1-a).join("0")+wM(n,Math.max(0,r+a-1))[0]},X:function(r){return Math.round(r).toString(16).toUpperCase()},x:function(r){return Math.round(r).toString(16)}},fQ=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function A1(n){return new FN(n)}function FN(n){if(!(r=fQ.exec(n)))throw new Error("invalid format: "+n);var r,t=r[1]||" ",i=r[2]||">",o=r[3]||"-",a=r[4]||"",s=!!r[5],u=r[6]&&+r[6],p=!!r[7],m=r[8]&&+r[8].slice(1),b=r[9]||"";"n"===b?(p=!0,b="g"):Z8[b]||(b=""),(s||"0"===t&&"="===i)&&(s=!0,t="0",i="="),this.fill=t,this.align=i,this.sign=o,this.symbol=a,this.zero=s,this.width=u,this.comma=p,this.precision=m,this.type=b}function L8(n){return n}A1.prototype=FN.prototype,FN.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type};var kM,EM,BN,F8=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function B8(n){var r=n.grouping&&n.thousands?function(n,r){return function(t,i){for(var o=t.length,a=[],s=0,u=n[0],p=0;o>0&&u>0&&(p+u+1>i&&(u=Math.max(1,i-p)),a.push(t.substring(o-=u,o+u)),!((p+=u+1)>i));)u=n[s=(s+1)%n.length];return a.reverse().join(r)}}(n.grouping,n.thousands):L8,t=n.currency,i=n.decimal,o=n.numerals?function(n){return function(r){return r.replace(/[0-9]/g,function(t){return n[+t]})}}(n.numerals):L8,a=n.percent||"%";function s(p){var m=(p=A1(p)).fill,b=p.align,I=p.sign,F=p.symbol,G=p.zero,Y=p.width,$=p.comma,de=p.precision,Me=p.type,st="$"===F?t[0]:"#"===F&&/[boxX]/.test(Me)?"0"+Me.toLowerCase():"",tt="$"===F?t[1]:/[%p]/.test(Me)?a:"",at=Z8[Me],pt=!Me||/[defgprs%]/.test(Me);function Je(et){var pn,Wt,ot,It=st,kt=tt;if("c"===Me)kt=at(et)+kt,et="";else{var Dt=(et=+et)<0;if(et=at(Math.abs(et),de),Dt&&0==+et&&(Dt=!1),It=(Dt?"("===I?I:"-":"-"===I||"("===I?"":I)+It,kt=("s"===Me?F8[8+R8/3]:"")+kt+(Dt&&"("===I?")":""),pt)for(pn=-1,Wt=et.length;++pn<Wt;)if(48>(ot=et.charCodeAt(pn))||ot>57){kt=(46===ot?i+et.slice(pn+1):et.slice(pn))+kt,et=et.slice(0,pn);break}}$&&!G&&(et=r(et,1/0));var mn=It.length+et.length+kt.length,dn=mn<Y?new Array(Y-mn+1).join(m):"";switch($&&G&&(et=r(dn+et,dn.length?Y-kt.length:1/0),dn=""),b){case"<":et=It+et+kt+dn;break;case"=":et=It+dn+et+kt;break;case"^":et=dn.slice(0,mn=dn.length>>1)+It+et+kt+dn.slice(mn);break;default:et=dn+It+et+kt}return o(et)}return de=null==de?Me?6:12:/[gprs]/.test(Me)?Math.max(1,Math.min(21,de)):Math.max(0,Math.min(20,de)),Je.toString=function(){return p+""},Je}return{format:s,formatPrefix:function(p,m){var b=s(((p=A1(p)).type="f",p)),I=3*Math.max(-8,Math.min(8,Math.floor(R_(m)/3))),F=Math.pow(10,-I),G=F8[8+I/3];return function(Y){return b(F*Y)+G}}}}function U8(n){return kM=B8(n),EM=kM.format,BN=kM.formatPrefix,kM}function H8(n){return Math.max(0,-R_(Math.abs(n)))}function V8(n,r){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(R_(r)/3)))-R_(Math.abs(n)))}function q8(n,r){return n=Math.abs(n),r=Math.abs(r)-n,Math.max(0,R_(r)-R_(n))+1}function qf(){return new MM}function MM(){this.reset()}U8({decimal:".",thousands:",",grouping:[3],currency:["$",""]}),MM.prototype={constructor:MM,reset:function(){this.s=this.t=0},add:function(r){j8(AM,r,this.t),j8(this,AM.s,this.s),this.s?this.t+=AM.t:this.s=AM.t},valueOf:function(){return this.s}};var AM=new MM;function j8(n,r,t){var i=n.s=r+t,o=i-r;n.t=r-(i-o)+(t-o)}var Sr=1e-6,Ai=Math.PI,oa=Ai/2,DM=Ai/4,sl=2*Ai,xo=180/Ai,Or=Ai/180,Vi=Math.abs,N_=Math.atan,zs=Math.atan2,Tr=Math.cos,OM=Math.ceil,W8=Math.exp,PM=(Math,Math.log),UN=Math.pow,dr=Math.sin,D1=Math.sign||function(n){return n>0?1:n<0?-1:0},Ua=Math.sqrt,HN=Math.tan;function G8(n){return n>1?0:n<-1?Ai:Math.acos(n)}function jl(n){return n>1?oa:n<-1?-oa:Math.asin(n)}function Y8(n){return(n=dr(n/2))*n}function Go(){}function IM(n,r){n&&Q8.hasOwnProperty(n.type)&&Q8[n.type](n,r)}var J8={Feature:function(r,t){IM(r.geometry,t)},FeatureCollection:function(r,t){for(var i=r.features,o=-1,a=i.length;++o<a;)IM(i[o].geometry,t)}},Q8={Sphere:function(r,t){t.sphere()},Point:function(r,t){t.point((r=r.coordinates)[0],r[1],r[2])},MultiPoint:function(r,t){for(var i=r.coordinates,o=-1,a=i.length;++o<a;)t.point((r=i[o])[0],r[1],r[2])},LineString:function(r,t){VN(r.coordinates,t,0)},MultiLineString:function(r,t){for(var i=r.coordinates,o=-1,a=i.length;++o<a;)VN(i[o],t,0)},Polygon:function(r,t){K8(r.coordinates,t)},MultiPolygon:function(r,t){for(var i=r.coordinates,o=-1,a=i.length;++o<a;)K8(i[o],t)},GeometryCollection:function(r,t){for(var i=r.geometries,o=-1,a=i.length;++o<a;)IM(i[o],t)}};function VN(n,r,t){var a,i=-1,o=n.length-t;for(r.lineStart();++i<o;)r.point((a=n[i])[0],a[1],a[2]);r.lineEnd()}function K8(n,r){var t=-1,i=n.length;for(r.polygonStart();++t<i;)VN(n[t],r,1);r.polygonEnd()}function Ju(n,r){n&&J8.hasOwnProperty(n.type)?J8[n.type](n,r):IM(n,r)}var X8,$8,qN,jN,zN,RM=qf(),NM=qf(),Xc={point:Go,lineStart:Go,lineEnd:Go,polygonStart:function(){RM.reset(),Xc.lineStart=hQ,Xc.lineEnd=mQ},polygonEnd:function(){var r=+RM;NM.add(r<0?sl+r:r),this.lineStart=this.lineEnd=this.point=Go},sphere:function(){NM.add(sl)}};function hQ(){Xc.point=vQ}function mQ(){e7(X8,$8)}function vQ(n,r){Xc.point=e7,X8=n,$8=r,qN=n*=Or,jN=Tr(r=(r*=Or)/2+DM),zN=dr(r)}function e7(n,r){var t=(n*=Or)-qN,i=t>=0?1:-1,o=i*t,a=Tr(r=(r*=Or)/2+DM),s=dr(r),u=zN*s,p=jN*a+u*Tr(o),m=u*i*dr(o);RM.add(zs(m,p)),qN=n,jN=a,zN=s}function gQ(n){return NM.reset(),Ju(n,Xc),2*NM}function ZM(n){return[zs(n[1],n[0]),jl(n[2])]}function qm(n){var r=n[0],t=n[1],i=Tr(t);return[i*Tr(r),i*dr(r),dr(t)]}function LM(n,r){return n[0]*r[0]+n[1]*r[1]+n[2]*r[2]}function Z_(n,r){return[n[1]*r[2]-n[2]*r[1],n[2]*r[0]-n[0]*r[2],n[0]*r[1]-n[1]*r[0]]}function WN(n,r){n[0]+=r[0],n[1]+=r[1],n[2]+=r[2]}function FM(n,r){return[n[0]*r,n[1]*r,n[2]*r]}function BM(n){var r=Ua(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=r,n[1]/=r,n[2]/=r}var aa,zl,pa,Su,jm,t7,n7,L_,jf,op,O1=qf(),ap={point:GN,lineStart:i7,lineEnd:o7,polygonStart:function(){ap.point=a7,ap.lineStart=_Q,ap.lineEnd=yQ,O1.reset(),Xc.polygonStart()},polygonEnd:function(){Xc.polygonEnd(),ap.point=GN,ap.lineStart=i7,ap.lineEnd=o7,RM<0?(aa=-(pa=180),zl=-(Su=90)):O1>Sr?Su=90:O1<-Sr&&(zl=-90),op[0]=aa,op[1]=pa}};function GN(n,r){jf.push(op=[aa=n,pa=n]),r<zl&&(zl=r),r>Su&&(Su=r)}function r7(n,r){var t=qm([n*Or,r*Or]);if(L_){var i=Z_(L_,t),a=Z_([i[1],-i[0],0],i);BM(a),a=ZM(a);var m,s=n-jm,u=s>0?1:-1,p=a[0]*xo*u,b=Vi(s)>180;b^(u*jm<p&&p<u*n)?(m=a[1]*xo)>Su&&(Su=m):b^(u*jm<(p=(p+360)%360-180)&&p<u*n)?(m=-a[1]*xo)<zl&&(zl=m):(r<zl&&(zl=r),r>Su&&(Su=r)),b?n<jm?Wl(aa,n)>Wl(aa,pa)&&(pa=n):Wl(n,pa)>Wl(aa,pa)&&(aa=n):pa>=aa?(n<aa&&(aa=n),n>pa&&(pa=n)):n>jm?Wl(aa,n)>Wl(aa,pa)&&(pa=n):Wl(n,pa)>Wl(aa,pa)&&(aa=n)}else jf.push(op=[aa=n,pa=n]);r<zl&&(zl=r),r>Su&&(Su=r),L_=t,jm=n}function i7(){ap.point=r7}function o7(){op[0]=aa,op[1]=pa,ap.point=GN,L_=null}function a7(n,r){if(L_){var t=n-jm;O1.add(Vi(t)>180?t+(t>0?360:-360):t)}else t7=n,n7=r;Xc.point(n,r),r7(n,r)}function _Q(){Xc.lineStart()}function yQ(){a7(t7,n7),Xc.lineEnd(),Vi(O1)>Sr&&(aa=-(pa=180)),op[0]=aa,op[1]=pa,L_=null}function Wl(n,r){return(r-=n)<0?r+360:r}function bQ(n,r){return n[0]-r[0]}function s7(n,r){return n[0]<=n[1]?n[0]<=r&&r<=n[1]:r<n[0]||n[1]<r}function CQ(n){var r,t,i,o,a,s,u;if(Su=pa=-(aa=zl=1/0),jf=[],Ju(n,ap),t=jf.length){for(jf.sort(bQ),r=1,a=[i=jf[0]];r<t;++r)s7(i,(o=jf[r])[0])||s7(i,o[1])?(Wl(i[0],o[1])>Wl(i[0],i[1])&&(i[1]=o[1]),Wl(o[0],i[1])>Wl(i[0],i[1])&&(i[0]=o[0])):a.push(i=o);for(s=-1/0,r=0,i=a[t=a.length-1];r<=t;i=o,++r)(u=Wl(i[1],(o=a[r])[0]))>s&&(s=u,aa=o[0],pa=i[1])}return jf=op=null,aa===1/0||zl===1/0?[[NaN,NaN],[NaN,NaN]]:[[aa,zl],[pa,Su]]}var P1,UM,HM,VM,qM,jM,zM,WM,YN,JN,QN,l7,u7,Ws,Gs,Ys,Qu={sphere:Go,point:KN,lineStart:c7,lineEnd:d7,polygonStart:function(){Qu.lineStart=xQ,Qu.lineEnd=wQ},polygonEnd:function(){Qu.lineStart=c7,Qu.lineEnd=d7}};function KN(n,r){n*=Or;var t=Tr(r*=Or);I1(t*Tr(n),t*dr(n),dr(r))}function I1(n,r,t){++P1,HM+=(n-HM)/P1,VM+=(r-VM)/P1,qM+=(t-qM)/P1}function c7(){Qu.point=SQ}function SQ(n,r){n*=Or;var t=Tr(r*=Or);Ws=t*Tr(n),Gs=t*dr(n),Ys=dr(r),Qu.point=TQ,I1(Ws,Gs,Ys)}function TQ(n,r){n*=Or;var t=Tr(r*=Or),i=t*Tr(n),o=t*dr(n),a=dr(r),s=zs(Ua((s=Gs*a-Ys*o)*s+(s=Ys*i-Ws*a)*s+(s=Ws*o-Gs*i)*s),Ws*i+Gs*o+Ys*a);UM+=s,jM+=s*(Ws+(Ws=i)),zM+=s*(Gs+(Gs=o)),WM+=s*(Ys+(Ys=a)),I1(Ws,Gs,Ys)}function d7(){Qu.point=KN}function xQ(){Qu.point=kQ}function wQ(){p7(l7,u7),Qu.point=KN}function kQ(n,r){l7=n,u7=r,n*=Or,r*=Or,Qu.point=p7;var t=Tr(r);Ws=t*Tr(n),Gs=t*dr(n),Ys=dr(r),I1(Ws,Gs,Ys)}function p7(n,r){n*=Or;var t=Tr(r*=Or),i=t*Tr(n),o=t*dr(n),a=dr(r),s=Gs*a-Ys*o,u=Ys*i-Ws*a,p=Ws*o-Gs*i,m=Ua(s*s+u*u+p*p),b=jl(m),I=m&&-b/m;YN+=I*s,JN+=I*u,QN+=I*p,UM+=b,jM+=b*(Ws+(Ws=i)),zM+=b*(Gs+(Gs=o)),WM+=b*(Ys+(Ys=a)),I1(Ws,Gs,Ys)}function EQ(n){P1=UM=HM=VM=qM=jM=zM=WM=YN=JN=QN=0,Ju(n,Qu);var r=YN,t=JN,i=QN,o=r*r+t*t+i*i;return o<1e-12&&(r=jM,t=zM,i=WM,UM<Sr&&(r=HM,t=VM,i=qM),(o=r*r+t*t+i*i)<1e-12)?[NaN,NaN]:[zs(t,r)*xo,jl(i/Ua(o))*xo]}function F_(n){return function(){return n}}function XN(n,r){function t(i,o){return i=n(i,o),r(i[0],i[1])}return n.invert&&r.invert&&(t.invert=function(i,o){return(i=r.invert(i,o))&&n.invert(i[0],i[1])}),t}function $N(n,r){return[n>Ai?n-sl:n<-Ai?n+sl:n,r]}function e6(n,r,t){return(n%=sl)?r||t?XN(h7(n),m7(r,t)):h7(n):r||t?m7(r,t):$N}function f7(n){return function(r,t){return[(r+=n)>Ai?r-sl:r<-Ai?r+sl:r,t]}}function h7(n){var r=f7(n);return r.invert=f7(-n),r}function m7(n,r){var t=Tr(n),i=dr(n),o=Tr(r),a=dr(r);function s(u,p){var m=Tr(p),b=Tr(u)*m,I=dr(u)*m,F=dr(p),G=F*t+b*i;return[zs(I*o-G*a,b*t-F*i),jl(G*o+I*a)]}return s.invert=function(u,p){var m=Tr(p),b=Tr(u)*m,I=dr(u)*m,F=dr(p),G=F*o-I*a;return[zs(I*o+F*a,b*t+G*i),jl(G*t-b*i)]},s}function v7(n){function r(t){return(t=n(t[0]*Or,t[1]*Or))[0]*=xo,t[1]*=xo,t}return n=e6(n[0]*Or,n[1]*Or,n.length>2?n[2]*Or:0),r.invert=function(t){return(t=n.invert(t[0]*Or,t[1]*Or))[0]*=xo,t[1]*=xo,t},r}function g7(n,r,t,i,o,a){if(t){var s=Tr(r),u=dr(r),p=i*t;null==o?(o=r+i*sl,a=r-p/2):(o=_7(s,o),a=_7(s,a),(i>0?o<a:o>a)&&(o+=i*sl));for(var m,b=o;i>0?b>a:b<a;b-=p)m=ZM([s,-u*Tr(b),-u*dr(b)]),n.point(m[0],m[1])}}function _7(n,r){(r=qm(r))[0]-=n,BM(r);var t=G8(-r[1]);return((-r[2]<0?-t:t)+sl-Sr)%sl}function MQ(){var i,o,n=F_([0,0]),r=F_(90),t=F_(6),a={point:function(p,m){i.push(p=o(p,m)),p[0]*=xo,p[1]*=xo}};function u(){var p=n.apply(this,arguments),m=r.apply(this,arguments)*Or,b=t.apply(this,arguments)*Or;return i=[],o=e6(-p[0]*Or,-p[1]*Or,0).invert,g7(a,m,b,1),p={type:"Polygon",coordinates:[i]},i=o=null,p}return u.center=function(p){return arguments.length?(n="function"==typeof p?p:F_([+p[0],+p[1]]),u):n},u.radius=function(p){return arguments.length?(r="function"==typeof p?p:F_(+p),u):r},u.precision=function(p){return arguments.length?(t="function"==typeof p?p:F_(+p),u):t},u}function y7(){var r,n=[];return{point:function(i,o){r.push([i,o])},lineStart:function(){n.push(r=[])},lineEnd:Go,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var i=n;return n=[],r=null,i}}}function GM(n,r){return Vi(n[0]-r[0])<Sr&&Vi(n[1]-r[1])<Sr}function YM(n,r,t,i){this.x=n,this.z=r,this.o=t,this.e=i,this.v=!1,this.n=this.p=null}function b7(n,r,t,i,o){var u,p,a=[],s=[];if(n.forEach(function(Y){if(!(($=Y.length-1)<=0)){var $,st,de=Y[0],Me=Y[$];if(GM(de,Me)){for(o.lineStart(),u=0;u<$;++u)o.point((de=Y[u])[0],de[1]);return void o.lineEnd()}a.push(st=new YM(de,Y,null,!0)),s.push(st.o=new YM(de,null,st,!1)),a.push(st=new YM(Me,Y,null,!1)),s.push(st.o=new YM(Me,null,st,!0))}}),a.length){for(s.sort(r),C7(a),C7(s),u=0,p=s.length;u<p;++u)s[u].e=t=!t;for(var b,I,m=a[0];;){for(var F=m,G=!0;F.v;)if((F=F.n)===m)return;b=F.z,o.lineStart();do{if(F.v=F.o.v=!0,F.e){if(G)for(u=0,p=b.length;u<p;++u)o.point((I=b[u])[0],I[1]);else i(F.x,F.n.x,1,o);F=F.n}else{if(G)for(u=(b=F.p.z).length-1;u>=0;--u)o.point((I=b[u])[0],I[1]);else i(F.x,F.p.x,-1,o);F=F.p}b=(F=F.o).z,G=!G}while(!F.v);o.lineEnd()}}}function C7(n){if(r=n.length){for(var r,o,t=0,i=n[0];++t<r;)i.n=o=n[t],o.p=i,i=o;i.n=o=n[0],o.p=i}}$N.invert=$N;var t6=qf();function S7(n,r){var t=r[0],i=r[1],o=dr(i),a=[dr(t),-Tr(t),0],s=0,u=0;t6.reset(),1===o?i=oa+Sr:-1===o&&(i=-oa-Sr);for(var p=0,m=n.length;p<m;++p)if(I=(b=n[p]).length)for(var b,I,F=b[I-1],G=F[0],Y=F[1]/2+DM,$=dr(Y),de=Tr(Y),Me=0;Me<I;++Me,G=tt,$=pt,de=Je,F=st){var st=b[Me],tt=st[0],at=st[1]/2+DM,pt=dr(at),Je=Tr(at),et=tt-G,It=et>=0?1:-1,kt=It*et,pn=kt>Ai,Wt=$*pt;if(t6.add(zs(Wt*It*dr(kt),de*Je+Wt*Tr(kt))),s+=pn?et+It*sl:et,pn^G>=t^tt>=t){var ot=Z_(qm(F),qm(st));BM(ot);var Dt=Z_(a,ot);BM(Dt);var mn=(pn^et>=0?-1:1)*jl(Dt[2]);(i>mn||i===mn&&(ot[0]||ot[1]))&&(u+=pn^et>=0?1:-1)}}return(s<-Sr||s<Sr&&t6<-Sr)^1&u}function T7(n,r,t,i){return function(o){var m,b,I,a=r(o),s=y7(),u=r(s),p=!1,F={point:G,lineStart:$,lineEnd:de,polygonStart:function(){F.point=Me,F.lineStart=st,F.lineEnd=tt,b=[],m=[]},polygonEnd:function(){F.point=G,F.lineStart=$,F.lineEnd=de,b=Sm(b);var pt=S7(m,i);b.length?(p||(o.polygonStart(),p=!0),b7(b,DQ,pt,t,o)):pt&&(p||(o.polygonStart(),p=!0),o.lineStart(),t(null,null,1,o),o.lineEnd()),p&&(o.polygonEnd(),p=!1),b=m=null},sphere:function(){o.polygonStart(),o.lineStart(),t(null,null,1,o),o.lineEnd(),o.polygonEnd()}};function G(at,pt){n(at,pt)&&o.point(at,pt)}function Y(at,pt){a.point(at,pt)}function $(){F.point=Y,a.lineStart()}function de(){F.point=G,a.lineEnd()}function Me(at,pt){I.push([at,pt]),u.point(at,pt)}function st(){u.lineStart(),I=[]}function tt(){Me(I[0][0],I[0][1]),u.lineEnd();var Je,It,kt,pn,at=u.clean(),pt=s.result(),et=pt.length;if(I.pop(),m.push(I),I=null,et){if(1&at){if((It=(kt=pt[0]).length-1)>0){for(p||(o.polygonStart(),p=!0),o.lineStart(),Je=0;Je<It;++Je)o.point((pn=kt[Je])[0],pn[1]);o.lineEnd()}return}et>1&&2&at&&pt.push(pt.pop().concat(pt.shift())),b.push(pt.filter(AQ))}}return F}}function AQ(n){return n.length>1}function DQ(n,r){return((n=n.x)[0]<0?n[1]-oa-Sr:oa-n[1])-((r=r.x)[0]<0?r[1]-oa-Sr:oa-r[1])}var n6=T7(function(){return!0},function(n){var o,r=NaN,t=NaN,i=NaN;return{lineStart:function(){n.lineStart(),o=1},point:function(s,u){var p=s>0?Ai:-Ai,m=Vi(s-r);Vi(m-Ai)<Sr?(n.point(r,t=(t+u)/2>0?oa:-oa),n.point(i,t),n.lineEnd(),n.lineStart(),n.point(p,t),n.point(s,t),o=0):i!==p&&m>=Ai&&(Vi(r-i)<Sr&&(r-=i*Sr),Vi(s-p)<Sr&&(s-=p*Sr),t=function(n,r,t,i){var o,a,s=dr(n-t);return Vi(s)>Sr?N_((dr(r)*(a=Tr(i))*dr(t)-dr(i)*(o=Tr(r))*dr(n))/(o*a*s)):(r+i)/2}(r,t,s,u),n.point(i,t),n.lineEnd(),n.lineStart(),n.point(p,t),o=0),n.point(r=s,t=u),i=p},lineEnd:function(){n.lineEnd(),r=t=NaN},clean:function(){return 2-o}}},function(n,r,t,i){var o;if(null==n)i.point(-Ai,o=t*oa),i.point(0,o),i.point(Ai,o),i.point(Ai,0),i.point(Ai,-o),i.point(0,-o),i.point(-Ai,-o),i.point(-Ai,0),i.point(-Ai,o);else if(Vi(n[0]-r[0])>Sr){var a=n[0]<r[0]?Ai:-Ai;i.point(-a,o=t*a/2),i.point(0,o),i.point(a,o)}else i.point(r[0],r[1])},[-Ai,-oa]);function x7(n){var r=Tr(n),t=6*Or,i=r>0,o=Vi(r)>Sr;function s(b,I){return Tr(b)*Tr(I)>r}function p(b,I,F){var $=[1,0,0],de=Z_(qm(b),qm(I)),Me=LM(de,de),st=de[0],tt=Me-st*st;if(!tt)return!F&&b;var at=r*Me/tt,pt=-r*st/tt,Je=Z_($,de),et=FM($,at);WN(et,FM(de,pt));var kt=Je,pn=LM(et,kt),Wt=LM(kt,kt),ot=pn*pn-Wt*(LM(et,et)-1);if(!(ot<0)){var Dt=Ua(ot),mn=FM(kt,(-pn-Dt)/Wt);if(WN(mn,et),mn=ZM(mn),!F)return mn;var vr,dn=b[0],xn=I[0],Zn=b[1],er=I[1];xn<dn&&(vr=dn,dn=xn,xn=vr);var zr=xn-dn,ir=Vi(zr-Ai)<Sr;if(!ir&&er<Zn&&(vr=Zn,Zn=er,er=vr),ir||zr<Sr?ir?Zn+er>0^mn[1]<(Vi(mn[0]-dn)<Sr?Zn:er):Zn<=mn[1]&&mn[1]<=er:zr>Ai^(dn<=mn[0]&&mn[0]<=xn)){var ai=FM(kt,(-pn+Dt)/Wt);return WN(ai,et),[mn,ZM(ai)]}}}function m(b,I){var F=i?n:Ai-n,G=0;return b<-F?G|=1:b>F&&(G|=2),I<-F?G|=4:I>F&&(G|=8),G}return T7(s,function(b){var I,F,G,Y,$;return{lineStart:function(){Y=G=!1,$=1},point:function(Me,st){var at,tt=[Me,st],pt=s(Me,st),Je=i?pt?0:m(Me,st):pt?m(Me+(Me<0?Ai:-Ai),st):0;if(!I&&(Y=G=pt)&&b.lineStart(),pt!==G&&(!(at=p(I,tt))||GM(I,at)||GM(tt,at))&&(tt[0]+=Sr,tt[1]+=Sr,pt=s(tt[0],tt[1])),pt!==G)$=0,pt?(b.lineStart(),at=p(tt,I),b.point(at[0],at[1])):(at=p(I,tt),b.point(at[0],at[1]),b.lineEnd()),I=at;else if(o&&I&&i^pt){var et;!(Je&F)&&(et=p(tt,I,!0))&&($=0,i?(b.lineStart(),b.point(et[0][0],et[0][1]),b.point(et[1][0],et[1][1]),b.lineEnd()):(b.point(et[1][0],et[1][1]),b.lineEnd(),b.lineStart(),b.point(et[0][0],et[0][1])))}pt&&(!I||!GM(I,tt))&&b.point(tt[0],tt[1]),I=tt,G=pt,F=Je},lineEnd:function(){G&&b.lineEnd(),I=null},clean:function(){return $|(Y&&G)<<1}}},function(b,I,F,G){g7(G,n,t,F,b,I)},i?[0,-n]:[-Ai,n-Ai])}var R1=1e9,JM=-R1;function QM(n,r,t,i){function o(m,b){return n<=m&&m<=t&&r<=b&&b<=i}function a(m,b,I,F){var G=0,Y=0;if(null==m||(G=s(m,I))!==(Y=s(b,I))||p(m,b)<0^I>0)do{F.point(0===G||3===G?n:t,G>1?i:r)}while((G=(G+I+4)%4)!==Y);else F.point(b[0],b[1])}function s(m,b){return Vi(m[0]-n)<Sr?b>0?0:3:Vi(m[0]-t)<Sr?b>0?2:1:Vi(m[1]-r)<Sr?b>0?1:0:b>0?3:2}function u(m,b){return p(m.x,b.x)}function p(m,b){var I=s(m,1),F=s(b,1);return I!==F?I-F:0===I?b[1]-m[1]:1===I?m[0]-b[0]:2===I?m[1]-b[1]:b[0]-m[0]}return function(m){var F,G,Y,$,de,Me,st,tt,at,pt,Je,b=m,I=y7(),et={point:It,lineStart:function(){et.point=mn,G&&G.push(Y=[]),pt=!0,at=!1,st=tt=NaN},lineEnd:function(){F&&(mn($,de),Me&&at&&I.rejoin(),F.push(I.result())),et.point=It,at&&b.lineEnd()},polygonStart:function(){b=I,F=[],G=[],Je=!0},polygonEnd:function(){var dn=function(){for(var dn=0,xn=0,Zn=G.length;xn<Zn;++xn)for(var Jr,ai,er=G[xn],vr=1,zr=er.length,ir=er[0],gr=ir[0],Li=ir[1];vr<zr;++vr)Jr=gr,ai=Li,gr=(ir=er[vr])[0],Li=ir[1],ai<=i?Li>i&&(gr-Jr)*(i-ai)>(Li-ai)*(n-Jr)&&++dn:Li<=i&&(gr-Jr)*(i-ai)<(Li-ai)*(n-Jr)&&--dn;return dn}(),xn=Je&&dn,Zn=(F=Sm(F)).length;(xn||Zn)&&(m.polygonStart(),xn&&(m.lineStart(),a(null,null,1,m),m.lineEnd()),Zn&&b7(F,u,dn,a,m),m.polygonEnd()),b=m,F=G=Y=null}};function It(dn,xn){o(dn,xn)&&b.point(dn,xn)}function mn(dn,xn){var Zn=o(dn,xn);if(G&&Y.push([dn,xn]),pt)$=dn,de=xn,Me=Zn,pt=!1,Zn&&(b.lineStart(),b.point(dn,xn));else if(Zn&&at)b.point(dn,xn);else{var er=[st=Math.max(JM,Math.min(R1,st)),tt=Math.max(JM,Math.min(R1,tt))],vr=[dn=Math.max(JM,Math.min(R1,dn)),xn=Math.max(JM,Math.min(R1,xn))];!function(n,r,t,i,o,a){var Y,s=n[0],u=n[1],b=0,I=1,F=r[0]-s,G=r[1]-u;if(Y=t-s,F||!(Y>0)){if(Y/=F,F<0){if(Y<b)return;Y<I&&(I=Y)}else if(F>0){if(Y>I)return;Y>b&&(b=Y)}if(Y=o-s,F||!(Y<0)){if(Y/=F,F<0){if(Y>I)return;Y>b&&(b=Y)}else if(F>0){if(Y<b)return;Y<I&&(I=Y)}if(Y=i-u,G||!(Y>0)){if(Y/=G,G<0){if(Y<b)return;Y<I&&(I=Y)}else if(G>0){if(Y>I)return;Y>b&&(b=Y)}if(Y=a-u,G||!(Y<0)){if(Y/=G,G<0){if(Y>I)return;Y>b&&(b=Y)}else if(G>0){if(Y<b)return;Y<I&&(I=Y)}return b>0&&(n[0]=s+b*F,n[1]=u+b*G),I<1&&(r[0]=s+I*F,r[1]=u+I*G),!0}}}}}(er,vr,n,r,t,i)?Zn&&(b.lineStart(),b.point(dn,xn),Je=!1):(at||(b.lineStart(),b.point(er[0],er[1])),b.point(vr[0],vr[1]),Zn||b.lineEnd(),Je=!1)}st=dn,tt=xn,at=Zn}return et}}function NQ(){var o,a,s,n=0,r=0,t=960,i=500;return s={stream:function(p){return o&&a===p?o:o=QM(n,r,t,i)(a=p)},extent:function(p){return arguments.length?(n=+p[0][0],r=+p[0][1],t=+p[1][0],i=+p[1][1],o=a=null,s):[[n,r],[t,i]]}}}var i6,KM,XM,r6=qf(),B_={sphere:Go,point:Go,lineStart:function(){B_.point=FQ,B_.lineEnd=LQ},lineEnd:Go,polygonStart:Go,polygonEnd:Go};function LQ(){B_.point=B_.lineEnd=Go}function FQ(n,r){i6=n*=Or,KM=dr(r*=Or),XM=Tr(r),B_.point=BQ}function BQ(n,r){n*=Or;var t=dr(r*=Or),i=Tr(r),o=Vi(n-i6),a=Tr(o),u=i*dr(o),p=XM*t-KM*i*a,m=KM*t+XM*i*a;r6.add(zs(Ua(u*u+p*p),m)),i6=n,KM=t,XM=i}function w7(n){return r6.reset(),Ju(n,B_),+r6}var o6=[null,null],UQ={type:"LineString",coordinates:o6};function N1(n,r){return o6[0]=n,o6[1]=r,w7(UQ)}var k7={Feature:function(r,t){return $M(r.geometry,t)},FeatureCollection:function(r,t){for(var i=r.features,o=-1,a=i.length;++o<a;)if($M(i[o].geometry,t))return!0;return!1}},E7={Sphere:function(){return!0},Point:function(r,t){return M7(r.coordinates,t)},MultiPoint:function(r,t){for(var i=r.coordinates,o=-1,a=i.length;++o<a;)if(M7(i[o],t))return!0;return!1},LineString:function(r,t){return A7(r.coordinates,t)},MultiLineString:function(r,t){for(var i=r.coordinates,o=-1,a=i.length;++o<a;)if(A7(i[o],t))return!0;return!1},Polygon:function(r,t){return D7(r.coordinates,t)},MultiPolygon:function(r,t){for(var i=r.coordinates,o=-1,a=i.length;++o<a;)if(D7(i[o],t))return!0;return!1},GeometryCollection:function(r,t){for(var i=r.geometries,o=-1,a=i.length;++o<a;)if($M(i[o],t))return!0;return!1}};function $M(n,r){return!(!n||!E7.hasOwnProperty(n.type))&&E7[n.type](n,r)}function M7(n,r){return 0===N1(n,r)}function A7(n,r){var t=N1(n[0],n[1]);return N1(n[0],r)+N1(r,n[1])<=t+Sr}function D7(n,r){return!!S7(n.map(HQ),O7(r))}function HQ(n){return(n=n.map(O7)).pop(),n}function O7(n){return[n[0]*Or,n[1]*Or]}function VQ(n,r){return(n&&k7.hasOwnProperty(n.type)?k7[n.type]:$M)(n,r)}function P7(n,r,t){var i=Hs(n,r-Sr,t).concat(r);return function(o){return i.map(function(a){return[o,a]})}}function I7(n,r,t){var i=Hs(n,r-Sr,t).concat(r);return function(o){return i.map(function(a){return[a,o]})}}function R7(){var n,r,t,i,o,a,s,u,F,G,Y,$,p=10,m=p,b=90,I=360,de=2.5;function Me(){return{type:"MultiLineString",coordinates:st()}}function st(){return Hs(OM(i/b)*b,t,b).map(Y).concat(Hs(OM(u/I)*I,s,I).map($)).concat(Hs(OM(r/p)*p,n,p).filter(function(tt){return Vi(tt%b)>Sr}).map(F)).concat(Hs(OM(a/m)*m,o,m).filter(function(tt){return Vi(tt%I)>Sr}).map(G))}return Me.lines=function(){return st().map(function(tt){return{type:"LineString",coordinates:tt}})},Me.outline=function(){return{type:"Polygon",coordinates:[Y(i).concat($(s).slice(1),Y(t).reverse().slice(1),$(u).reverse().slice(1))]}},Me.extent=function(tt){return arguments.length?Me.extentMajor(tt).extentMinor(tt):Me.extentMinor()},Me.extentMajor=function(tt){return arguments.length?(u=+tt[0][1],s=+tt[1][1],(i=+tt[0][0])>(t=+tt[1][0])&&(tt=i,i=t,t=tt),u>s&&(tt=u,u=s,s=tt),Me.precision(de)):[[i,u],[t,s]]},Me.extentMinor=function(tt){return arguments.length?(a=+tt[0][1],o=+tt[1][1],(r=+tt[0][0])>(n=+tt[1][0])&&(tt=r,r=n,n=tt),a>o&&(tt=a,a=o,o=tt),Me.precision(de)):[[r,a],[n,o]]},Me.step=function(tt){return arguments.length?Me.stepMajor(tt).stepMinor(tt):Me.stepMinor()},Me.stepMajor=function(tt){return arguments.length?(b=+tt[0],I=+tt[1],Me):[b,I]},Me.stepMinor=function(tt){return arguments.length?(p=+tt[0],m=+tt[1],Me):[p,m]},Me.precision=function(tt){return arguments.length?(de=+tt,F=P7(a,o,90),G=I7(r,n,de),Y=P7(u,s,90),$=I7(i,t,de),Me):de},Me.extentMajor([[-180,-90+Sr],[180,90-Sr]]).extentMinor([[-180,-80-Sr],[180,80+Sr]])}function qQ(){return R7()()}function jQ(n,r){var t=n[0]*Or,i=n[1]*Or,o=r[0]*Or,a=r[1]*Or,s=Tr(i),u=dr(i),p=Tr(a),m=dr(a),b=s*Tr(t),I=s*dr(t),F=p*Tr(o),G=p*dr(o),Y=2*jl(Ua(Y8(a-i)+s*p*Y8(o-t))),$=dr(Y),de=Y?function(Me){var st=dr(Me*=Y)/$,tt=dr(Y-Me)/$,at=tt*b+st*F,pt=tt*I+st*G,Je=tt*u+st*m;return[zs(pt,at)*xo,zs(Je,Ua(at*at+pt*pt))*xo]}:function(){return[t*xo,i*xo]};return de.distance=Y,de}function zm(n){return n}var N7,Z7,l6,u6,a6=qf(),s6=qf(),zf={point:Go,lineStart:Go,lineEnd:Go,polygonStart:function(){zf.lineStart=zQ,zf.lineEnd=GQ},polygonEnd:function(){zf.lineStart=zf.lineEnd=zf.point=Go,a6.add(Vi(s6)),s6.reset()},result:function(){var r=a6/2;return a6.reset(),r}};function zQ(){zf.point=WQ}function WQ(n,r){zf.point=L7,N7=l6=n,Z7=u6=r}function L7(n,r){s6.add(u6*n-l6*r),l6=n,u6=r}function GQ(){L7(N7,Z7)}var B7,U7,$c,ed,F7=zf,U_=1/0,eA=U_,Z1=-U_,tA=Z1,nA={point:function(n,r){n<U_&&(U_=n),n>Z1&&(Z1=n),r<eA&&(eA=r),r>tA&&(tA=r)},lineStart:Go,lineEnd:Go,polygonStart:Go,polygonEnd:Go,result:function(){var r=[[U_,eA],[Z1,tA]];return Z1=tA=-(eA=U_=1/0),r}},c6=0,d6=0,L1=0,rA=0,iA=0,H_=0,p6=0,f6=0,F1=0,Ku={point:Wm,lineStart:H7,lineEnd:V7,polygonStart:function(){Ku.lineStart=XQ,Ku.lineEnd=$Q},polygonEnd:function(){Ku.point=Wm,Ku.lineStart=H7,Ku.lineEnd=V7},result:function(){var r=F1?[p6/F1,f6/F1]:H_?[rA/H_,iA/H_]:L1?[c6/L1,d6/L1]:[NaN,NaN];return c6=d6=L1=rA=iA=H_=p6=f6=F1=0,r}};function Wm(n,r){c6+=n,d6+=r,++L1}function H7(){Ku.point=QQ}function QQ(n,r){Ku.point=KQ,Wm($c=n,ed=r)}function KQ(n,r){var t=n-$c,i=r-ed,o=Ua(t*t+i*i);rA+=o*($c+n)/2,iA+=o*(ed+r)/2,H_+=o,Wm($c=n,ed=r)}function V7(){Ku.point=Wm}function XQ(){Ku.point=eK}function $Q(){q7(B7,U7)}function eK(n,r){Ku.point=q7,Wm(B7=$c=n,U7=ed=r)}function q7(n,r){var t=n-$c,i=r-ed,o=Ua(t*t+i*i);rA+=o*($c+n)/2,iA+=o*(ed+r)/2,H_+=o,p6+=(o=ed*n-$c*r)*($c+n),f6+=o*(ed+r),F1+=3*o,Wm($c=n,ed=r)}var j7=Ku;function z7(n){this._context=n}z7.prototype={_radius:4.5,pointRadius:function(r){return this._radius=r,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(r,t){switch(this._point){case 0:this._context.moveTo(r,t),this._point=1;break;case 1:this._context.lineTo(r,t);break;default:this._context.moveTo(r+this._radius,t),this._context.arc(r,t,this._radius,0,sl)}},result:Go};var m6,W7,G7,B1,U1,h6=qf(),oA={point:Go,lineStart:function(){oA.point=tK},lineEnd:function(){m6&&Y7(W7,G7),oA.point=Go},polygonStart:function(){m6=!0},polygonEnd:function(){m6=null},result:function(){var r=+h6;return h6.reset(),r}};function tK(n,r){oA.point=Y7,W7=B1=n,G7=U1=r}function Y7(n,r){h6.add(Ua((B1-=n)*B1+(U1-=r)*U1)),B1=n,U1=r}var J7=oA;function Q7(){this._string=[]}function K7(n){return"m0,"+n+"a"+n+","+n+" 0 1,1 0,"+-2*n+"a"+n+","+n+" 0 1,1 0,"+2*n+"z"}function nK(n,r){var i,o,t=4.5;function a(s){return s&&("function"==typeof t&&o.pointRadius(+t.apply(this,arguments)),Ju(s,i(o))),o.result()}return a.area=function(s){return Ju(s,i(F7)),F7.result()},a.measure=function(s){return Ju(s,i(J7)),J7.result()},a.bounds=function(s){return Ju(s,i(nA)),nA.result()},a.centroid=function(s){return Ju(s,i(j7)),j7.result()},a.projection=function(s){return arguments.length?(i=null==s?(n=null,zm):(n=s).stream,a):n},a.context=function(s){return arguments.length?(o=null==s?(r=null,new Q7):new z7(r=s),"function"!=typeof t&&o.pointRadius(t),a):r},a.pointRadius=function(s){return arguments.length?(t="function"==typeof s?s:(o.pointRadius(+s),+s),a):t},a.projection(n).context(r)}function rK(n){return{stream:H1(n)}}function H1(n){return function(r){var t=new v6;for(var i in n)t[i]=n[i];return t.stream=r,t}}function v6(){}function g6(n,r,t){var i=n.clipExtent&&n.clipExtent();return n.scale(150).translate([0,0]),null!=i&&n.clipExtent(null),Ju(t,n.stream(nA)),r(nA.result()),null!=i&&n.clipExtent(i),n}function aA(n,r,t){return g6(n,function(i){var o=r[1][0]-r[0][0],a=r[1][1]-r[0][1],s=Math.min(o/(i[1][0]-i[0][0]),a/(i[1][1]-i[0][1])),u=+r[0][0]+(o-s*(i[1][0]+i[0][0]))/2,p=+r[0][1]+(a-s*(i[1][1]+i[0][1]))/2;n.scale(150*s).translate([u,p])},t)}function _6(n,r,t){return aA(n,[[0,0],r],t)}function y6(n,r,t){return g6(n,function(i){var o=+r,a=o/(i[1][0]-i[0][0]),s=(o-a*(i[1][0]+i[0][0]))/2,u=-a*i[0][1];n.scale(150*a).translate([s,u])},t)}function b6(n,r,t){return g6(n,function(i){var o=+r,a=o/(i[1][1]-i[0][1]),s=-a*i[0][0],u=(o-a*(i[1][1]+i[0][1]))/2;n.scale(150*a).translate([s,u])},t)}Q7.prototype={_radius:4.5,_circle:K7(4.5),pointRadius:function(r){return(r=+r)!==this._radius&&(this._radius=r,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(r,t){switch(this._point){case 0:this._string.push("M",r,",",t),this._point=1;break;case 1:this._string.push("L",r,",",t);break;default:null==this._circle&&(this._circle=K7(this._radius)),this._string.push("M",r,",",t,this._circle)}},result:function(){if(this._string.length){var r=this._string.join("");return this._string=[],r}return null}},v6.prototype={constructor:v6,point:function(r,t){this.stream.point(r,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var iK=Tr(30*Or);function $7(n,r){return+r?function(n,r){function t(i,o,a,s,u,p,m,b,I,F,G,Y,$,de){var Me=m-i,st=b-o,tt=Me*Me+st*st;if(tt>4*r&&$--){var at=s+F,pt=u+G,Je=p+Y,et=Ua(at*at+pt*pt+Je*Je),It=jl(Je/=et),kt=Vi(Vi(Je)-1)<Sr||Vi(a-I)<Sr?(a+I)/2:zs(pt,at),pn=n(kt,It),Wt=pn[0],ot=pn[1],Dt=Wt-i,mn=ot-o,dn=st*Dt-Me*mn;(dn*dn/tt>r||Vi((Me*Dt+st*mn)/tt-.5)>.3||s*F+u*G+p*Y<iK)&&(t(i,o,a,s,u,p,Wt,ot,kt,at/=et,pt/=et,Je,$,de),de.point(Wt,ot),t(Wt,ot,kt,at,pt,Je,m,b,I,F,G,Y,$,de))}}return function(i){var o,a,s,u,p,m,b,I,F,G,Y,$,de={point:Me,lineStart:st,lineEnd:at,polygonStart:function(){i.polygonStart(),de.lineStart=pt},polygonEnd:function(){i.polygonEnd(),de.lineStart=st}};function Me(It,kt){It=n(It,kt),i.point(It[0],It[1])}function st(){I=NaN,de.point=tt,i.lineStart()}function tt(It,kt){var pn=qm([It,kt]),Wt=n(It,kt);t(I,F,b,G,Y,$,I=Wt[0],F=Wt[1],b=It,G=pn[0],Y=pn[1],$=pn[2],16,i),i.point(I,F)}function at(){de.point=Me,i.lineEnd()}function pt(){st(),de.point=Je,de.lineEnd=et}function Je(It,kt){tt(o=It,kt),a=I,s=F,u=G,p=Y,m=$,de.point=tt}function et(){t(I,F,b,G,Y,$,a,s,o,u,p,m,16,i),de.lineEnd=at,at()}return de}}(n,r):function(n){return H1({point:function(t,i){t=n(t,i),this.stream.point(t[0],t[1])}})}(n)}var sK=H1({point:function(r,t){this.stream.point(r*Or,t*Or)}});function uK(n,r,t){function i(o,a){return[r+n*o,t-n*a]}return i.invert=function(o,a){return[(o-r)/n,(t-a)/n]},i}function eU(n,r,t,i){var o=Tr(i),a=dr(i),s=o*n,u=a*n,p=o/n,m=a/n,b=(a*t-o*r)/n,I=(a*r+o*t)/n;function F(G,Y){return[s*G-u*Y+r,t-u*G-s*Y]}return F.invert=function(G,Y){return[p*G-m*Y+b,I-m*G-p*Y]},F}function sp(n){return C6(function(){return n})()}function C6(n){var r,b,$,de,Me,at,pt,Je,et,It,t=150,i=480,o=250,a=0,s=0,u=0,p=0,m=0,I=0,F=null,G=n6,Y=null,st=zm,tt=.5;function kt(Dt){return Je(Dt[0]*Or,Dt[1]*Or)}function pn(Dt){return(Dt=Je.invert(Dt[0],Dt[1]))&&[Dt[0]*xo,Dt[1]*xo]}function Wt(){var Dt=eU(t,0,0,I).apply(null,r(a,s)),mn=(I?eU:uK)(t,i-Dt[0],o-Dt[1],I);return b=e6(u,p,m),pt=XN(r,mn),Je=XN(b,pt),at=$7(pt,tt),ot()}function ot(){return et=It=null,kt}return kt.stream=function(Dt){return et&&It===Dt?et:et=sK(function(n){return H1({point:function(t,i){var o=n(t,i);return this.stream.point(o[0],o[1])}})}(b)(G(at(st(It=Dt)))))},kt.preclip=function(Dt){return arguments.length?(G=Dt,F=void 0,ot()):G},kt.postclip=function(Dt){return arguments.length?(st=Dt,Y=$=de=Me=null,ot()):st},kt.clipAngle=function(Dt){return arguments.length?(G=+Dt?x7(F=Dt*Or):(F=null,n6),ot()):F*xo},kt.clipExtent=function(Dt){return arguments.length?(st=null==Dt?(Y=$=de=Me=null,zm):QM(Y=+Dt[0][0],$=+Dt[0][1],de=+Dt[1][0],Me=+Dt[1][1]),ot()):null==Y?null:[[Y,$],[de,Me]]},kt.scale=function(Dt){return arguments.length?(t=+Dt,Wt()):t},kt.translate=function(Dt){return arguments.length?(i=+Dt[0],o=+Dt[1],Wt()):[i,o]},kt.center=function(Dt){return arguments.length?(a=Dt[0]%360*Or,s=Dt[1]%360*Or,Wt()):[a*xo,s*xo]},kt.rotate=function(Dt){return arguments.length?(u=Dt[0]%360*Or,p=Dt[1]%360*Or,m=Dt.length>2?Dt[2]%360*Or:0,Wt()):[u*xo,p*xo,m*xo]},kt.angle=function(Dt){return arguments.length?(I=Dt%360*Or,Wt()):I*xo},kt.precision=function(Dt){return arguments.length?(at=$7(pt,tt=Dt*Dt),ot()):Ua(tt)},kt.fitExtent=function(Dt,mn){return aA(kt,Dt,mn)},kt.fitSize=function(Dt,mn){return _6(kt,Dt,mn)},kt.fitWidth=function(Dt,mn){return y6(kt,Dt,mn)},kt.fitHeight=function(Dt,mn){return b6(kt,Dt,mn)},function(){return r=n.apply(this,arguments),kt.invert=r.invert&&pn,Wt()}}function S6(n){var r=0,t=Ai/3,i=C6(n),o=i(r,t);return o.parallels=function(a){return arguments.length?i(r=a[0]*Or,t=a[1]*Or):[r*xo,t*xo]},o}function tU(n,r){var t=dr(n),i=(t+dr(r))/2;if(Vi(i)<Sr)return function(n){var r=Tr(n);function t(i,o){return[i*r,dr(o)/r]}return t.invert=function(i,o){return[i/r,jl(o*r)]},t}(n);var o=1+t*(2*i-t),a=Ua(o)/i;function s(u,p){var m=Ua(o-2*i*dr(p))/i;return[m*dr(u*=i),a-m*Tr(u)]}return s.invert=function(u,p){var m=a-p;return[zs(u,Vi(m))/i*D1(m),jl((o-(u*u+m*m)*i*i)/(2*i))]},s}function sA(){return S6(tU).scale(155.424).center([0,33.6442])}function nU(){return sA().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function pK(){var n,r,i,a,u,p,t=nU(),o=sA().rotate([154,0]).center([-2,58.5]).parallels([55,65]),s=sA().rotate([157,0]).center([-3,19.9]).parallels([8,18]),m={point:function(G,Y){p=[G,Y]}};function b(F){var G=F[0],Y=F[1];return p=null,i.point(G,Y),p||(a.point(G,Y),p)||(u.point(G,Y),p)}function I(){return n=r=null,b}return b.invert=function(F){var G=t.scale(),Y=t.translate(),$=(F[0]-Y[0])/G,de=(F[1]-Y[1])/G;return(de>=.12&&de<.234&&$>=-.425&&$<-.214?o:de>=.166&&de<.234&&$>=-.214&&$<-.115?s:t).invert(F)},b.stream=function(F){return n&&r===F?n:n=function(n){var r=n.length;return{point:function(i,o){for(var a=-1;++a<r;)n[a].point(i,o)},sphere:function(){for(var i=-1;++i<r;)n[i].sphere()},lineStart:function(){for(var i=-1;++i<r;)n[i].lineStart()},lineEnd:function(){for(var i=-1;++i<r;)n[i].lineEnd()},polygonStart:function(){for(var i=-1;++i<r;)n[i].polygonStart()},polygonEnd:function(){for(var i=-1;++i<r;)n[i].polygonEnd()}}}([t.stream(r=F),o.stream(F),s.stream(F)])},b.precision=function(F){return arguments.length?(t.precision(F),o.precision(F),s.precision(F),I()):t.precision()},b.scale=function(F){return arguments.length?(t.scale(F),o.scale(.35*F),s.scale(F),b.translate(t.translate())):t.scale()},b.translate=function(F){if(!arguments.length)return t.translate();var G=t.scale(),Y=+F[0],$=+F[1];return i=t.translate(F).clipExtent([[Y-.455*G,$-.238*G],[Y+.455*G,$+.238*G]]).stream(m),a=o.translate([Y-.307*G,$+.201*G]).clipExtent([[Y-.425*G+Sr,$+.12*G+Sr],[Y-.214*G-Sr,$+.234*G-Sr]]).stream(m),u=s.translate([Y-.205*G,$+.212*G]).clipExtent([[Y-.214*G+Sr,$+.166*G+Sr],[Y-.115*G-Sr,$+.234*G-Sr]]).stream(m),I()},b.fitExtent=function(F,G){return aA(b,F,G)},b.fitSize=function(F,G){return _6(b,F,G)},b.fitWidth=function(F,G){return y6(b,F,G)},b.fitHeight=function(F,G){return b6(b,F,G)},b.scale(1070)}function rU(n){return function(r,t){var i=Tr(r),o=Tr(t),a=n(i*o);return[a*o*dr(r),a*dr(t)]}}function V1(n){return function(r,t){var i=Ua(r*r+t*t),o=n(i),a=dr(o),s=Tr(o);return[zs(r*a,i*s),jl(i&&t*a/i)]}}var T6=rU(function(n){return Ua(2/(1+n))});function fK(){return sp(T6).scale(124.75).clipAngle(179.999)}T6.invert=V1(function(n){return 2*jl(n/2)});var x6=rU(function(n){return(n=G8(n))&&n/dr(n)});function hK(){return sp(x6).scale(79.4188).clipAngle(179.999)}function q1(n,r){return[n,PM(HN((oa+r)/2))]}function mK(){return iU(q1).scale(961/sl)}function iU(n){var u,p,m,r=sp(n),t=r.center,i=r.scale,o=r.translate,a=r.clipExtent,s=null;function b(){var I=Ai*i(),F=r(v7(r.rotate()).invert([0,0]));return a(null==s?[[F[0]-I,F[1]-I],[F[0]+I,F[1]+I]]:n===q1?[[Math.max(F[0]-I,s),u],[Math.min(F[0]+I,p),m]]:[[s,Math.max(F[1]-I,u)],[p,Math.min(F[1]+I,m)]])}return r.scale=function(I){return arguments.length?(i(I),b()):i()},r.translate=function(I){return arguments.length?(o(I),b()):o()},r.center=function(I){return arguments.length?(t(I),b()):t()},r.clipExtent=function(I){return arguments.length?(null==I?s=u=p=m=null:(s=+I[0][0],u=+I[0][1],p=+I[1][0],m=+I[1][1]),b()):null==s?null:[[s,u],[p,m]]},b()}function lA(n){return HN((oa+n)/2)}function oU(n,r){var t=Tr(n),i=n===r?dr(n):PM(t/Tr(r))/PM(lA(r)/lA(n)),o=t*UN(lA(n),i)/i;if(!i)return q1;function a(s,u){o>0?u<-oa+Sr&&(u=-oa+Sr):u>oa-Sr&&(u=oa-Sr);var p=o/UN(lA(u),i);return[p*dr(i*s),o-p*Tr(i*s)]}return a.invert=function(s,u){var p=o-u,m=D1(i)*Ua(s*s+p*p);return[zs(s,Vi(p))/i*D1(p),2*N_(UN(o/m,1/i))-oa]},a}function vK(){return S6(oU).scale(109.5).parallels([30,30])}function j1(n,r){return[n,r]}function gK(){return sp(j1).scale(152.63)}function aU(n,r){var t=Tr(n),i=n===r?dr(n):(t-Tr(r))/(r-n),o=t/i+n;if(Vi(i)<Sr)return j1;function a(s,u){var p=o-u,m=i*s;return[p*dr(m),o-p*Tr(m)]}return a.invert=function(s,u){var p=o-u;return[zs(s,Vi(p))/i*D1(p),o-D1(i)*Ua(s*s+p*p)]},a}function _K(){return S6(aU).scale(131.154).center([0,13.9389])}function w6(n,r){var t=Tr(r),i=Tr(n)*t;return[t*dr(n)/i,dr(r)/i]}function yK(){return sp(w6).scale(144.049).clipAngle(60)}function uA(n,r,t,i){return 1===n&&1===r&&0===t&&0===i?zm:H1({point:function(a,s){this.stream.point(a*n+t,s*r+i)}})}function bK(){var u,p,m,I,F,G,n=1,r=0,t=0,i=1,o=1,a=zm,s=null,b=zm;function Y(){return I=F=null,G}return G={stream:function(de){return I&&F===de?I:I=a(b(F=de))},postclip:function(de){return arguments.length?(b=de,s=u=p=m=null,Y()):b},clipExtent:function(de){return arguments.length?(b=null==de?(s=u=p=m=null,zm):QM(s=+de[0][0],u=+de[0][1],p=+de[1][0],m=+de[1][1]),Y()):null==s?null:[[s,u],[p,m]]},scale:function(de){return arguments.length?(a=uA((n=+de)*i,n*o,r,t),Y()):n},translate:function(de){return arguments.length?(a=uA(n*i,n*o,r=+de[0],t=+de[1]),Y()):[r,t]},reflectX:function(de){return arguments.length?(a=uA(n*(i=de?-1:1),n*o,r,t),Y()):i<0},reflectY:function(de){return arguments.length?(a=uA(n*i,n*(o=de?-1:1),r,t),Y()):o<0},fitExtent:function(de,Me){return aA(G,de,Me)},fitSize:function(de,Me){return _6(G,de,Me)},fitWidth:function(de,Me){return y6(G,de,Me)},fitHeight:function(de,Me){return b6(G,de,Me)}}}function k6(n,r){var t=r*r,i=t*t;return[n*(.8707-.131979*t+i*(i*(.003971*t-.001529*i)-.013791)),r*(1.007226+t*(.015085+i*(.028874*t-.044475-.005916*i)))]}function CK(){return sp(k6).scale(175.295)}function E6(n,r){return[Tr(r)*dr(n),dr(r)]}function SK(){return sp(E6).scale(249.5).clipAngle(90+Sr)}function M6(n,r){var t=Tr(r),i=1+Tr(n)*t;return[t*dr(n)/i,dr(r)/i]}function TK(){return sp(M6).scale(250).clipAngle(142)}function A6(n,r){return[PM(HN((oa+r)/2)),-n]}function xK(){var n=iU(A6),r=n.center,t=n.rotate;return n.center=function(i){return arguments.length?r([-i[1],i[0]]):[(i=r())[1],-i[0]]},n.rotate=function(i){return arguments.length?t([i[0],i[1],i.length>2?i[2]+90:90]):[(i=t())[0],i[1],i[2]-90]},t([0,0,90]).scale(159.155)}function wK(n,r){return n.parent===r.parent?1:2}function EK(n,r){return n+r.x}function AK(n,r){return Math.max(n,r.y)}function PK(){var n=wK,r=1,t=1,i=!1;function o(a){var s,u=0;a.eachAfter(function(F){var G=F.children;G?(F.x=function(n){return n.reduce(EK,0)/n.length}(G),F.y=function(n){return 1+n.reduce(AK,0)}(G)):(F.x=s?u+=n(F,s):0,F.y=0,s=F)});var p=function(n){for(var r;r=n.children;)n=r[0];return n}(a),m=function(n){for(var r;r=n.children;)n=r[r.length-1];return n}(a),b=p.x-n(p,m)/2,I=m.x+n(m,p)/2;return a.eachAfter(i?function(F){F.x=(F.x-a.x)*r,F.y=(a.y-F.y)*t}:function(F){F.x=(F.x-b)/(I-b)*r,F.y=(1-(a.y?F.y/a.y:1))*t})}return o.separation=function(a){return arguments.length?(n=a,o):n},o.size=function(a){return arguments.length?(i=!1,r=+a[0],t=+a[1],o):i?null:[r,t]},o.nodeSize=function(a){return arguments.length?(i=!0,r=+a[0],t=+a[1],o):i?[r,t]:null},o}function IK(n){var r=0,t=n.children,i=t&&t.length;if(i)for(;--i>=0;)r+=t[i].value;else r=1;n.value=r}function D6(n,r){var o,s,u,p,m,t=new V_(n),i=+n.value&&(t.value=n.value),a=[t];for(null==r&&(r=GK);o=a.pop();)if(i&&(o.value=+o.data.value),(u=r(o.data))&&(m=u.length))for(o.children=new Array(m),p=m-1;p>=0;--p)a.push(s=o.children[p]=new V_(u[p])),s.parent=o,s.depth=o.depth+1;return t.eachBefore(sU)}function GK(n){return n.children}function YK(n){n.data=n.data.data}function sU(n){var r=0;do{n.height=r}while((n=n.parent)&&n.height<++r)}function V_(n){this.data=n,this.depth=this.height=0,this.parent=null}x6.invert=V1(function(n){return n}),q1.invert=function(n,r){return[n,2*N_(W8(r))-oa]},j1.invert=j1,w6.invert=V1(N_),k6.invert=function(n,r){var o,t=r,i=25;do{var a=t*t,s=a*a;t-=o=(t*(1.007226+a*(.015085+s*(.028874*a-.044475-.005916*s)))-r)/(1.007226+a*(.045255+s*(.259866*a-.311325-.005916*11*s)))}while(Vi(o)>Sr&&--i>0);return[n/(.8707+(a=t*t)*(a*(a*a*a*(.003971-.001529*a)-.013791)-.131979)),t]},E6.invert=V1(jl),M6.invert=V1(function(n){return 2*N_(n)}),A6.invert=function(n,r){return[-r,2*N_(W8(n))-oa]},V_.prototype=D6.prototype={constructor:V_,count:function(){return this.eachAfter(IK)},each:function(n){var t,o,a,s,r=this,i=[r];do{for(t=i.reverse(),i=[];r=t.pop();)if(n(r),o=r.children)for(a=0,s=o.length;a<s;++a)i.push(o[a])}while(i.length);return this},eachAfter:function(n){for(var o,a,s,r=this,t=[r],i=[];r=t.pop();)if(i.push(r),o=r.children)for(a=0,s=o.length;a<s;++a)t.push(o[a]);for(;r=i.pop();)n(r);return this},eachBefore:function(n){for(var i,o,r=this,t=[r];r=t.pop();)if(n(r),i=r.children)for(o=i.length-1;o>=0;--o)t.push(i[o]);return this},sum:function(n){return this.eachAfter(function(r){for(var t=+n(r.data)||0,i=r.children,o=i&&i.length;--o>=0;)t+=i[o].value;r.value=t})},sort:function(n){return this.eachBefore(function(r){r.children&&r.children.sort(n)})},path:function(n){for(var r=this,t=function(n,r){if(n===r)return n;var t=n.ancestors(),i=r.ancestors(),o=null;for(n=t.pop(),r=i.pop();n===r;)o=n,n=t.pop(),r=i.pop();return o}(r,n),i=[r];r!==t;)i.push(r=r.parent);for(var o=i.length;n!==t;)i.splice(o,0,n),n=n.parent;return i},ancestors:function(){for(var n=this,r=[n];n=n.parent;)r.push(n);return r},descendants:function(){var n=[];return this.each(function(r){n.push(r)}),n},leaves:function(){var n=[];return this.eachBefore(function(r){r.children||n.push(r)}),n},links:function(){var n=this,r=[];return n.each(function(t){t!==n&&r.push({source:t.parent,target:t})}),r},copy:function(){return D6(this).eachBefore(YK)}};var JK=Array.prototype.slice;function lU(n){for(var o,a,r=0,t=(n=function(n){for(var t,i,r=n.length;r;)i=Math.random()*r--|0,t=n[r],n[r]=n[i],n[i]=t;return n}(JK.call(n))).length,i=[];r<t;)o=n[r],a&&uU(a,o)?++r:(a=XK(i=KK(i,o)),r=0);return a}function KK(n,r){var t,i;if(O6(r,n))return[r];for(t=0;t<n.length;++t)if(cA(r,n[t])&&O6(z1(n[t],r),n))return[n[t],r];for(t=0;t<n.length-1;++t)for(i=t+1;i<n.length;++i)if(cA(z1(n[t],n[i]),r)&&cA(z1(n[t],r),n[i])&&cA(z1(n[i],r),n[t])&&O6(cU(n[t],n[i],r),n))return[n[t],n[i],r];throw new Error}function cA(n,r){var t=n.r-r.r,i=r.x-n.x,o=r.y-n.y;return t<0||t*t<i*i+o*o}function uU(n,r){var t=n.r-r.r+1e-6,i=r.x-n.x,o=r.y-n.y;return t>0&&t*t>i*i+o*o}function O6(n,r){for(var t=0;t<r.length;++t)if(!uU(n,r[t]))return!1;return!0}function XK(n){switch(n.length){case 1:return function(n){return{x:n.x,y:n.y,r:n.r}}(n[0]);case 2:return z1(n[0],n[1]);case 3:return cU(n[0],n[1],n[2])}}function z1(n,r){var t=n.x,i=n.y,o=n.r,a=r.x,s=r.y,u=r.r,p=a-t,m=s-i,b=u-o,I=Math.sqrt(p*p+m*m);return{x:(t+a+p/I*b)/2,y:(i+s+m/I*b)/2,r:(I+o+u)/2}}function cU(n,r,t){var i=n.x,o=n.y,a=n.r,s=r.x,u=r.y,p=r.r,m=t.x,b=t.y,I=t.r,F=i-s,G=i-m,Y=o-u,$=o-b,de=p-a,Me=I-a,st=i*i+o*o-a*a,tt=st-s*s-u*u+p*p,at=st-m*m-b*b+I*I,pt=G*Y-F*$,Je=(Y*at-$*tt)/(2*pt)-i,et=($*de-Y*Me)/pt,It=(G*tt-F*at)/(2*pt)-o,kt=(F*Me-G*de)/pt,pn=et*et+kt*kt-1,Wt=2*(a+Je*et+It*kt),ot=Je*Je+It*It-a*a,Dt=-(pn?(Wt+Math.sqrt(Wt*Wt-4*pn*ot))/(2*pn):ot/Wt);return{x:i+Je+et*Dt,y:o+It+kt*Dt,r:Dt}}function dU(n,r,t){var o,a,u,p,i=n.x-r.x,s=n.y-r.y,m=i*i+s*s;m?(a=r.r+t.r,p=n.r+t.r,(a*=a)>(p*=p)?(o=(m+p-a)/(2*m),u=Math.sqrt(Math.max(0,p/m-o*o)),t.x=n.x-o*i-u*s,t.y=n.y-o*s+u*i):(o=(m+a-p)/(2*m),u=Math.sqrt(Math.max(0,a/m-o*o)),t.x=r.x+o*i-u*s,t.y=r.y+o*s+u*i)):(t.x=r.x+t.r,t.y=r.y)}function pU(n,r){var t=n.r+r.r-1e-6,i=r.x-n.x,o=r.y-n.y;return t>0&&t*t>i*i+o*o}function fU(n){var r=n._,t=n.next._,i=r.r+t.r,o=(r.x*t.r+t.x*r.r)/i,a=(r.y*t.r+t.y*r.r)/i;return o*o+a*a}function dA(n){this._=n,this.next=null,this.previous=null}function hU(n){if(!(o=n.length))return 0;var r,t,i,o,a,s,u,p,m,b,I;if((r=n[0]).x=0,r.y=0,!(o>1))return r.r;if(r.x=-(t=n[1]).r,t.x=r.r,t.y=0,!(o>2))return r.r+t.r;dU(t,r,i=n[2]),r=new dA(r),t=new dA(t),i=new dA(i),r.next=i.previous=t,t.next=r.previous=i,i.next=t.previous=r;e:for(u=3;u<o;++u){dU(r._,t._,i=n[u]),i=new dA(i),p=t.next,m=r.previous,b=t._.r,I=r._.r;do{if(b<=I){if(pU(p._,i._)){r.next=t=p,t.previous=r,--u;continue e}b+=p._.r,p=p.next}else{if(pU(m._,i._)){(r=m).next=t,t.previous=r,--u;continue e}I+=m._.r,m=m.previous}}while(p!==m.next);for(i.previous=r,i.next=t,r.next=t.previous=t=i,a=fU(r);(i=i.next)!==t;)(s=fU(i))<a&&(r=i,a=s);t=r.next}for(r=[t._],i=t;(i=i.next)!==t;)r.push(i._);for(i=lU(r),u=0;u<o;++u)(r=n[u]).x-=i.x,r.y-=i.y;return i.r}function eX(n){return hU(n),n}function tX(n){return null==n?null:pA(n)}function pA(n){if("function"!=typeof n)throw new Error;return n}function Gm(){return 0}function q_(n){return function(){return n}}function nX(n){return Math.sqrt(n.value)}function rX(){var n=null,r=1,t=1,i=Gm;function o(a){return a.x=r/2,a.y=t/2,n?a.eachBefore(mU(n)).eachAfter(P6(i,.5)).eachBefore(vU(1)):a.eachBefore(mU(nX)).eachAfter(P6(Gm,1)).eachAfter(P6(i,a.r/Math.min(r,t))).eachBefore(vU(Math.min(r,t)/(2*a.r))),a}return o.radius=function(a){return arguments.length?(n=tX(a),o):n},o.size=function(a){return arguments.length?(r=+a[0],t=+a[1],o):[r,t]},o.padding=function(a){return arguments.length?(i="function"==typeof a?a:q_(+a),o):i},o}function mU(n){return function(r){r.children||(r.r=Math.max(0,+n(r)||0))}}function P6(n,r){return function(t){if(i=t.children){var i,o,u,a=i.length,s=n(t)*r||0;if(s)for(o=0;o<a;++o)i[o].r+=s;if(u=hU(i),s)for(o=0;o<a;++o)i[o].r-=s;t.r=u+s}}}function vU(n){return function(r){var t=r.parent;r.r*=n,t&&(r.x=t.x+n*r.x,r.y=t.y+n*r.y)}}function gU(n){n.x0=Math.round(n.x0),n.y0=Math.round(n.y0),n.x1=Math.round(n.x1),n.y1=Math.round(n.y1)}function W1(n,r,t,i,o){for(var s,a=n.children,u=-1,p=a.length,m=n.value&&(i-r)/n.value;++u<p;)(s=a[u]).y0=t,s.y1=o,s.x0=r,s.x1=r+=s.value*m}function iX(){var n=1,r=1,t=0,i=!1;function o(s){var u=s.height+1;return s.x0=s.y0=t,s.x1=n,s.y1=r/u,s.eachBefore(function(s,u){return function(p){p.children&&W1(p,p.x0,s*(p.depth+1)/u,p.x1,s*(p.depth+2)/u);var m=p.x0,b=p.y0,I=p.x1-t,F=p.y1-t;I<m&&(m=I=(m+I)/2),F<b&&(b=F=(b+F)/2),p.x0=m,p.y0=b,p.x1=I,p.y1=F}}(r,u)),i&&s.eachBefore(gU),s}return o.round=function(s){return arguments.length?(i=!!s,o):i},o.size=function(s){return arguments.length?(n=+s[0],r=+s[1],o):[n,r]},o.padding=function(s){return arguments.length?(t=+s,o):t},o}var oX={depth:-1},yU={};function aX(n){return n.id}function sX(n){return n.parentId}function lX(){var n=aX,r=sX;function t(i){var o,a,u,p,m,I,F,s=i.length,b=new Array(s),G={};for(a=0;a<s;++a)m=b[a]=new V_(o=i[a]),null!=(I=n(o,a,i))&&(I+="")&&(G[F="$"+(m.id=I)]=F in G?yU:m);for(a=0;a<s;++a)if(m=b[a],null!=(I=r(i[a],a,i))&&(I+="")){if(!(p=G["$"+I]))throw new Error("missing: "+I);if(p===yU)throw new Error("ambiguous: "+I);p.children?p.children.push(m):p.children=[m],m.parent=p}else{if(u)throw new Error("multiple roots");u=m}if(!u)throw new Error("no root");if(u.parent=oX,u.eachBefore(function(Y){Y.depth=Y.parent.depth+1,--s}).eachBefore(sU),u.parent=null,s>0)throw new Error("cycle");return u}return t.id=function(i){return arguments.length?(n=pA(i),t):n},t.parentId=function(i){return arguments.length?(r=pA(i),t):r},t}function uX(n,r){return n.parent===r.parent?1:2}function I6(n){var r=n.children;return r?r[0]:n.t}function R6(n){var r=n.children;return r?r[r.length-1]:n.t}function cX(n,r,t){var i=t/(r.i-n.i);r.c-=i,r.s+=t,n.c+=i,r.z+=t,r.m+=t}function pX(n,r,t){return n.a.parent===r.parent?n.a:t}function fA(n,r){this._=n,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=r}function hX(){var n=uX,r=1,t=1,i=null;function o(m){var b=function(n){for(var t,o,a,s,u,r=new fA(n,0),i=[r];t=i.pop();)if(a=t._.children)for(t.children=new Array(u=a.length),s=u-1;s>=0;--s)i.push(o=t.children[s]=new fA(a[s],s)),o.parent=t;return(r.parent=new fA(null,0)).children=[r],r}(m);if(b.eachAfter(a),b.parent.m=-b.z,b.eachBefore(s),i)m.eachBefore(p);else{var I=m,F=m,G=m;m.eachBefore(function(st){st.x<I.x&&(I=st),st.x>F.x&&(F=st),st.depth>G.depth&&(G=st)});var Y=I===F?1:n(I,F)/2,$=Y-I.x,de=r/(F.x+Y+$),Me=t/(G.depth||1);m.eachBefore(function(st){st.x=(st.x+$)*de,st.y=st.depth*Me})}return m}function a(m){var b=m.children,I=m.parent.children,F=m.i?I[m.i-1]:null;if(b){!function(n){for(var a,r=0,t=0,i=n.children,o=i.length;--o>=0;)(a=i[o]).z+=r,a.m+=r,r+=a.s+(t+=a.c)}(m);var G=(b[0].z+b[b.length-1].z)/2;F?(m.z=F.z+n(m._,F._),m.m=m.z-G):m.z=G}else F&&(m.z=F.z+n(m._,F._));m.parent.A=function(m,b,I){if(b){for(var at,F=m,G=m,Y=b,$=F.parent.children[0],de=F.m,Me=G.m,st=Y.m,tt=$.m;Y=R6(Y),F=I6(F),Y&&F;)$=I6($),(G=R6(G)).a=m,(at=Y.z+st-F.z-de+n(Y._,F._))>0&&(cX(pX(Y,m,I),m,at),de+=at,Me+=at),st+=Y.m,de+=F.m,tt+=$.m,Me+=G.m;Y&&!R6(G)&&(G.t=Y,G.m+=st-Me),F&&!I6($)&&($.t=F,$.m+=de-tt,I=m)}return I}(m,F,m.parent.A||I[0])}function s(m){m._.x=m.z+m.parent.m,m.m+=m.parent.m}function p(m){m.x*=r,m.y=m.depth*t}return o.separation=function(m){return arguments.length?(n=m,o):n},o.size=function(m){return arguments.length?(i=!1,r=+m[0],t=+m[1],o):i?null:[r,t]},o.nodeSize=function(m){return arguments.length?(i=!0,r=+m[0],t=+m[1],o):i?[r,t]:null},o}function hA(n,r,t,i,o){for(var s,a=n.children,u=-1,p=a.length,m=n.value&&(o-t)/n.value;++u<p;)(s=a[u]).x0=r,s.x1=i,s.y0=t,s.y1=t+=s.value*m}fA.prototype=Object.create(V_.prototype);var bU=(1+Math.sqrt(5))/2;function CU(n,r,t,i,o,a){for(var p,m,G,Y,de,Me,st,tt,at,pt,Je,s=[],u=r.children,b=0,I=0,F=u.length,$=r.value;b<F;){G=o-t,Y=a-i;do{de=u[I++].value}while(!de&&I<F);for(Me=st=de,Je=de*de*(pt=Math.max(Y/G,G/Y)/($*n)),at=Math.max(st/Je,Je/Me);I<F;++I){if(de+=m=u[I].value,m<Me&&(Me=m),m>st&&(st=m),Je=de*de*pt,(tt=Math.max(st/Je,Je/Me))>at){de-=m;break}at=tt}s.push(p={value:de,dice:G<Y,children:u.slice(b,I)}),p.dice?W1(p,t,i,o,$?i+=Y*de/$:a):hA(p,t,i,$?t+=G*de/$:o,a),$-=de,b=I}return s}var SU=function n(r){function t(i,o,a,s,u){CU(r,i,o,a,s,u)}return t.ratio=function(i){return n((i=+i)>1?i:1)},t}(bU);function mX(){var n=SU,r=!1,t=1,i=1,o=[0],a=Gm,s=Gm,u=Gm,p=Gm,m=Gm;function b(F){return F.x0=F.y0=0,F.x1=t,F.y1=i,F.eachBefore(I),o=[0],r&&F.eachBefore(gU),F}function I(F){var G=o[F.depth],Y=F.x0+G,$=F.y0+G,de=F.x1-G,Me=F.y1-G;de<Y&&(Y=de=(Y+de)/2),Me<$&&($=Me=($+Me)/2),F.x0=Y,F.y0=$,F.x1=de,F.y1=Me,F.children&&(G=o[F.depth+1]=a(F)/2,Y+=m(F)-G,$+=s(F)-G,(de-=u(F)-G)<Y&&(Y=de=(Y+de)/2),(Me-=p(F)-G)<$&&($=Me=($+Me)/2),n(F,Y,$,de,Me))}return b.round=function(F){return arguments.length?(r=!!F,b):r},b.size=function(F){return arguments.length?(t=+F[0],i=+F[1],b):[t,i]},b.tile=function(F){return arguments.length?(n=pA(F),b):n},b.padding=function(F){return arguments.length?b.paddingInner(F).paddingOuter(F):b.paddingInner()},b.paddingInner=function(F){return arguments.length?(a="function"==typeof F?F:q_(+F),b):a},b.paddingOuter=function(F){return arguments.length?b.paddingTop(F).paddingRight(F).paddingBottom(F).paddingLeft(F):b.paddingTop()},b.paddingTop=function(F){return arguments.length?(s="function"==typeof F?F:q_(+F),b):s},b.paddingRight=function(F){return arguments.length?(u="function"==typeof F?F:q_(+F),b):u},b.paddingBottom=function(F){return arguments.length?(p="function"==typeof F?F:q_(+F),b):p},b.paddingLeft=function(F){return arguments.length?(m="function"==typeof F?F:q_(+F),b):m},b}function vX(n,r,t,i,o){var s,p,a=n.children,u=a.length,m=new Array(u+1);for(m[0]=p=s=0;s<u;++s)m[s+1]=p+=a[s].value;!function b(I,F,G,Y,$,de,Me){if(I>=F-1){var st=a[I];return st.x0=Y,st.y0=$,st.x1=de,void(st.y1=Me)}for(var tt=m[I],at=G/2+tt,pt=I+1,Je=F-1;pt<Je;){var et=pt+Je>>>1;m[et]<at?pt=et+1:Je=et}at-m[pt-1]<m[pt]-at&&I+1<pt&&--pt;var It=m[pt]-tt,kt=G-It;if(de-Y>Me-$){var pn=(Y*kt+de*It)/G;b(I,pt,It,Y,$,pn,Me),b(pt,F,kt,pn,$,de,Me)}else{var Wt=($*kt+Me*It)/G;b(I,pt,It,Y,$,de,Wt),b(pt,F,kt,Y,Wt,de,Me)}}(0,u,n.value,r,t,i,o)}function gX(n,r,t,i,o){(1&n.depth?hA:W1)(n,r,t,i,o)}var _X=function n(r){function t(i,o,a,s,u){if((p=i._squarify)&&p.ratio===r)for(var p,m,b,I,G,F=-1,Y=p.length,$=i.value;++F<Y;){for(b=(m=p[F]).children,I=m.value=0,G=b.length;I<G;++I)m.value+=b[I].value;m.dice?W1(m,o,a,s,a+=(u-a)*m.value/$):hA(m,o,a,o+=(s-o)*m.value/$,u),$-=m.value}else i._squarify=p=CU(r,i,o,a,s,u),p.ratio=r}return t.ratio=function(i){return n((i=+i)>1?i:1)},t}(bU);function yX(n){for(var i,r=-1,t=n.length,o=n[t-1],a=0;++r<t;)a+=(i=o)[1]*(o=n[r])[0]-i[0]*o[1];return a/2}function bX(n){for(var a,u,r=-1,t=n.length,i=0,o=0,s=n[t-1],p=0;++r<t;)p+=u=(a=s)[0]*(s=n[r])[1]-s[0]*a[1],i+=(a[0]+s[0])*u,o+=(a[1]+s[1])*u;return[i/(p*=3),o/p]}function CX(n,r,t){return(r[0]-n[0])*(t[1]-n[1])-(r[1]-n[1])*(t[0]-n[0])}function SX(n,r){return n[0]-r[0]||n[1]-r[1]}function TU(n){for(var r=n.length,t=[0,1],i=2,o=2;o<r;++o){for(;i>1&&CX(n[t[i-2]],n[t[i-1]],n[o])<=0;)--i;t[i++]=o}return t.slice(0,i)}function TX(n){if((t=n.length)<3)return null;var r,t,i=new Array(t),o=new Array(t);for(r=0;r<t;++r)i[r]=[+n[r][0],+n[r][1],r];for(i.sort(SX),r=0;r<t;++r)o[r]=[i[r][0],-i[r][1]];var a=TU(i),s=TU(o),u=s[0]===a[0],p=s[s.length-1]===a[a.length-1],m=[];for(r=a.length-1;r>=0;--r)m.push(n[i[a[r]][2]]);for(r=+u;r<s.length-p;++r)m.push(n[i[s[r]][2]]);return m}function xX(n,r){for(var p,m,t=n.length,i=n[t-1],o=r[0],a=r[1],s=i[0],u=i[1],b=!1,I=0;I<t;++I)p=(i=n[I])[0],(m=i[1])>a!=u>a&&o<(s-p)*(a-m)/(u-m)+p&&(b=!b),s=p,u=m;return b}function wX(n){for(var o,a,r=-1,t=n.length,i=n[t-1],s=i[0],u=i[1],p=0;++r<t;)o=s,a=u,o-=s=(i=n[r])[0],a-=u=i[1],p+=Math.sqrt(o*o+a*a);return p}function j_(){return Math.random()}var kX=function n(r){function t(i,o){return i=null==i?0:+i,o=null==o?1:+o,1===arguments.length?(o=i,i=0):o-=i,function(){return r()*o+i}}return t.source=n,t}(j_),xU=function n(r){function t(i,o){var a,s;return i=null==i?0:+i,o=null==o?1:+o,function(){var u;if(null!=a)u=a,a=null;else do{a=2*r()-1,u=2*r()-1,s=a*a+u*u}while(!s||s>1);return i+o*u*Math.sqrt(-2*Math.log(s)/s)}}return t.source=n,t}(j_),EX=function n(r){function t(){var i=xU.source(r).apply(this,arguments);return function(){return Math.exp(i())}}return t.source=n,t}(j_),wU=function n(r){function t(i){return function(){for(var o=0,a=0;a<i;++a)o+=r();return o}}return t.source=n,t}(j_),MX=function n(r){function t(i){var o=wU.source(r)(i);return function(){return o()/i}}return t.source=n,t}(j_),AX=function n(r){function t(i){return function(){return-Math.log(1-r())/i}}return t.source=n,t}(j_),kU=Array.prototype,N6=kU.map,Wf=kU.slice,Z6={name:"implicit"};function L6(n){var r=Bf(),t=[],i=Z6;function o(a){var s=a+"",u=r.get(s);if(!u){if(i!==Z6)return i;r.set(s,u=t.push(a))}return n[(u-1)%n.length]}return n=null==n?[]:Wf.call(n),o.domain=function(a){if(!arguments.length)return t.slice();t=[],r=Bf();for(var p,m,s=-1,u=a.length;++s<u;)r.has(m=(p=a[s])+"")||r.set(m,t.push(p));return o},o.range=function(a){return arguments.length?(n=Wf.call(a),o):n.slice()},o.unknown=function(a){return arguments.length?(i=a,o):i},o.copy=function(){return L6().domain(t).range(n).unknown(i)},o}function F6(){var o,a,n=L6().unknown(void 0),r=n.domain,t=n.range,i=[0,1],s=!1,u=0,p=0,m=.5;function b(){var I=r().length,F=i[1]<i[0],G=i[F-0],Y=i[1-F];o=(Y-G)/Math.max(1,I-u+2*p),s&&(o=Math.floor(o)),G+=(Y-G-o*(I-u))*m,a=o*(1-u),s&&(G=Math.round(G),a=Math.round(a));var $=Hs(I).map(function(de){return G+o*de});return t(F?$.reverse():$)}return delete n.unknown,n.domain=function(I){return arguments.length?(r(I),b()):r()},n.range=function(I){return arguments.length?(i=[+I[0],+I[1]],b()):i.slice()},n.rangeRound=function(I){return i=[+I[0],+I[1]],s=!0,b()},n.bandwidth=function(){return a},n.step=function(){return o},n.round=function(I){return arguments.length?(s=!!I,b()):s},n.padding=function(I){return arguments.length?(u=p=Math.max(0,Math.min(1,I)),b()):u},n.paddingInner=function(I){return arguments.length?(u=Math.max(0,Math.min(1,I)),b()):u},n.paddingOuter=function(I){return arguments.length?(p=Math.max(0,Math.min(1,I)),b()):p},n.align=function(I){return arguments.length?(m=Math.max(0,Math.min(1,I)),b()):m},n.copy=function(){return F6().domain(r()).range(i).round(s).paddingInner(u).paddingOuter(p).align(m)},b()}function EU(n){var r=n.copy;return n.padding=n.paddingOuter,delete n.paddingInner,delete n.paddingOuter,n.copy=function(){return EU(r())},n}function DX(){return EU(F6().paddingInner(1))}function B6(n){return function(){return n}}function MU(n){return+n}var AU=[0,1];function U6(n,r){return(r-=n=+n)?function(t){return(t-n)/r}:B6(r)}function IX(n,r,t,i){var o=n[0],a=n[1],s=r[0],u=r[1];return a<o?(o=t(a,o),s=i(u,s)):(o=t(o,a),s=i(s,u)),function(p){return s(o(p))}}function RX(n,r,t,i){var o=Math.min(n.length,r.length)-1,a=new Array(o),s=new Array(o),u=-1;for(n[o]<n[0]&&(n=n.slice().reverse(),r=r.slice().reverse());++u<o;)a[u]=t(n[u],n[u+1]),s[u]=i(r[u],r[u+1]);return function(p){var m=Ef(n,p,1,o)-1;return s[m](a[m](p))}}function mA(n,r){return r.domain(n.domain()).range(n.range()).interpolate(n.interpolate()).clamp(n.clamp())}function vA(n,r){var s,u,p,t=AU,i=AU,o=Lf,a=!1;function m(){return s=Math.min(t.length,i.length)>2?RX:IX,u=p=null,b}function b(I){return(u||(u=s(t,i,a?function(n){return function(r,t){var i=n(r=+r,t=+t);return function(o){return o<=r?0:o>=t?1:i(o)}}}(n):n,o)))(+I)}return b.invert=function(I){return(p||(p=s(i,t,U6,a?function(n){return function(r,t){var i=n(r=+r,t=+t);return function(o){return o<=0?r:o>=1?t:i(o)}}}(r):r)))(+I)},b.domain=function(I){return arguments.length?(t=N6.call(I,MU),m()):t.slice()},b.range=function(I){return arguments.length?(i=Wf.call(I),m()):i.slice()},b.rangeRound=function(I){return i=Wf.call(I),o=$E,m()},b.clamp=function(I){return arguments.length?(a=!!I,m()):a},b.interpolate=function(I){return arguments.length?(o=I,m()):o},m()}function G1(n){var r=n.domain;return n.ticks=function(t){var i=r();return Cm(i[0],i[i.length-1],null==t?10:t)},n.tickFormat=function(t,i){return function(n,r,t){var s,i=n[0],o=n[n.length-1],a=jc(i,o,null==r?10:r);switch((t=A1(null==t?",f":t)).type){case"s":var u=Math.max(Math.abs(i),Math.abs(o));return null==t.precision&&!isNaN(s=V8(a,u))&&(t.precision=s),BN(t,u);case"":case"e":case"g":case"p":case"r":null==t.precision&&!isNaN(s=q8(a,Math.max(Math.abs(i),Math.abs(o))))&&(t.precision=s-("e"===t.type));break;case"f":case"%":null==t.precision&&!isNaN(s=H8(a))&&(t.precision=s-2*("%"===t.type))}return EM(t)}(r(),t,i)},n.nice=function(t){null==t&&(t=10);var p,i=r(),o=0,a=i.length-1,s=i[o],u=i[a];return u<s&&(p=s,s=u,u=p,p=o,o=a,a=p),(p=Af(s,u,t))>0?p=Af(s=Math.floor(s/p)*p,u=Math.ceil(u/p)*p,t):p<0&&(p=Af(s=Math.ceil(s*p)/p,u=Math.floor(u*p)/p,t)),p>0?(i[o]=Math.floor(s/p)*p,i[a]=Math.ceil(u/p)*p,r(i)):p<0&&(i[o]=Math.ceil(s*p)/p,i[a]=Math.floor(u*p)/p,r(i)),n},n}function DU(){var n=vA(U6,ia);return n.copy=function(){return mA(n,DU())},G1(n)}function OU(){var n=[0,1];function r(t){return+t}return r.invert=r,r.domain=r.range=function(t){return arguments.length?(n=N6.call(t,MU),r):n.slice()},r.copy=function(){return OU().domain(n)},G1(r)}function PU(n,r){var s,t=0,i=(n=n.slice()).length-1,o=n[t],a=n[i];return a<o&&(s=t,t=i,i=s,s=o,o=a,a=s),n[t]=r.floor(o),n[i]=r.ceil(a),n}function ZX(n,r){return(r=Math.log(r/n))?function(t){return Math.log(t/n)/r}:B6(r)}function LX(n,r){return n<0?function(t){return-Math.pow(-r,t)*Math.pow(-n,1-t)}:function(t){return Math.pow(r,t)*Math.pow(n,1-t)}}function FX(n){return isFinite(n)?+("1e"+n):n<0?0:n}function IU(n){return 10===n?FX:n===Math.E?Math.exp:function(r){return Math.pow(n,r)}}function RU(n){return n===Math.E?Math.log:10===n&&Math.log10||2===n&&Math.log2||(n=Math.log(n),function(r){return Math.log(r)/n})}function NU(n){return function(r){return-n(-r)}}function ZU(){var n=vA(ZX,LX).domain([1,10]),r=n.domain,t=10,i=RU(10),o=IU(10);function a(){return i=RU(t),o=IU(t),r()[0]<0&&(i=NU(i),o=NU(o)),n}return n.base=function(s){return arguments.length?(t=+s,a()):t},n.domain=function(s){return arguments.length?(r(s),a()):r()},n.ticks=function(s){var b,u=r(),p=u[0],m=u[u.length-1];(b=m<p)&&(I=p,p=m,m=I);var G,Y,$,I=i(p),F=i(m),de=null==s?10:+s,Me=[];if(!(t%1)&&F-I<de){if(I=Math.round(I)-1,F=Math.round(F)+1,p>0){for(;I<F;++I)for(Y=1,G=o(I);Y<t;++Y)if(!(($=G*Y)<p)){if($>m)break;Me.push($)}}else for(;I<F;++I)for(Y=t-1,G=o(I);Y>=1;--Y)if(!(($=G*Y)<p)){if($>m)break;Me.push($)}}else Me=Cm(I,F,Math.min(F-I,de)).map(o);return b?Me.reverse():Me},n.tickFormat=function(s,u){if(null==u&&(u=10===t?".0e":","),"function"!=typeof u&&(u=EM(u)),s===1/0)return u;null==s&&(s=10);var p=Math.max(1,t*s/n.ticks().length);return function(m){var b=m/o(Math.round(i(m)));return b*t<t-.5&&(b*=t),b<=p?u(m):""}},n.nice=function(){return r(PU(r(),{floor:function(u){return o(Math.floor(i(u)))},ceil:function(u){return o(Math.ceil(i(u)))}}))},n.copy=function(){return mA(n,ZU().base(t))},n}function z_(n,r){return n<0?-Math.pow(-n,r):Math.pow(n,r)}function H6(){var n=1,r=vA(function(a,s){return(s=z_(s,n)-(a=z_(a,n)))?function(u){return(z_(u,n)-a)/s}:B6(s)},function(a,s){return s=z_(s,n)-(a=z_(a,n)),function(u){return z_(a+s*u,1/n)}}),t=r.domain;return r.exponent=function(a){return arguments.length?(n=+a,t(t())):n},r.copy=function(){return mA(r,H6().exponent(n))},G1(r)}function BX(){return H6().exponent(.5)}function LU(){var n=[],r=[],t=[];function i(){var a=0,s=Math.max(1,r.length);for(t=new Array(s-1);++a<s;)t[a-1]=Df(n,a/s);return o}function o(a){if(!isNaN(a=+a))return r[Ef(t,a)]}return o.invertExtent=function(a){var s=r.indexOf(a);return s<0?[NaN,NaN]:[s>0?t[s-1]:n[0],s<t.length?t[s]:n[n.length-1]]},o.domain=function(a){if(!arguments.length)return n.slice();n=[];for(var p,s=0,u=a.length;s<u;++s)null!=(p=a[s])&&!isNaN(p=+p)&&n.push(p);return n.sort(kf),i()},o.range=function(a){return arguments.length?(r=Wf.call(a),i()):r.slice()},o.quantiles=function(){return t.slice()},o.copy=function(){return LU().domain(n).range(r)},o}function FU(){var n=0,r=1,t=1,i=[.5],o=[0,1];function a(u){if(u<=u)return o[Ef(i,u,0,t)]}function s(){var u=-1;for(i=new Array(t);++u<t;)i[u]=((u+1)*r-(u-t)*n)/(t+1);return a}return a.domain=function(u){return arguments.length?(n=+u[0],r=+u[1],s()):[n,r]},a.range=function(u){return arguments.length?(t=(o=Wf.call(u)).length-1,s()):o.slice()},a.invertExtent=function(u){var p=o.indexOf(u);return p<0?[NaN,NaN]:p<1?[n,i[0]]:p>=t?[i[t-1],r]:[i[p-1],i[p]]},a.copy=function(){return FU().domain([n,r]).range(o)},G1(a)}function BU(){var n=[.5],r=[0,1],t=1;function i(o){if(o<=o)return r[Ef(n,o,0,t)]}return i.domain=function(o){return arguments.length?(n=Wf.call(o),t=Math.min(n.length,r.length-1),i):n.slice()},i.range=function(o){return arguments.length?(r=Wf.call(o),t=Math.min(n.length,r.length-1),i):r.slice()},i.invertExtent=function(o){var a=r.indexOf(o);return[n[a-1],n[a]]},i.copy=function(){return BU().domain(n).range(r)},i}var V6=new Date,q6=new Date;function Ha(n,r,t,i){function o(a){return n(a=new Date(+a)),a}return o.floor=o,o.ceil=function(a){return n(a=new Date(a-1)),r(a,1),n(a),a},o.round=function(a){var s=o(a),u=o.ceil(a);return a-s<u-a?s:u},o.offset=function(a,s){return r(a=new Date(+a),null==s?1:Math.floor(s)),a},o.range=function(a,s,u){var m,p=[];if(a=o.ceil(a),u=null==u?1:Math.floor(u),!(a<s&&u>0))return p;do{p.push(m=new Date(+a)),r(a,u),n(a)}while(m<a&&a<s);return p},o.filter=function(a){return Ha(function(s){if(s>=s)for(;n(s),!a(s);)s.setTime(s-1)},function(s,u){if(s>=s)if(u<0)for(;++u<=0;)for(;r(s,-1),!a(s););else for(;--u>=0;)for(;r(s,1),!a(s););})},t&&(o.count=function(a,s){return V6.setTime(+a),q6.setTime(+s),n(V6),n(q6),Math.floor(t(V6,q6))},o.every=function(a){return a=Math.floor(a),isFinite(a)&&a>0?a>1?o.filter(i?function(s){return i(s)%a==0}:function(s){return o.count(0,s)%a==0}):o:null}),o}var gA=Ha(function(){},function(n,r){n.setTime(+n+r)},function(n,r){return r-n});gA.every=function(n){return n=Math.floor(n),isFinite(n)&&n>0?n>1?Ha(function(r){r.setTime(Math.floor(r/n)*n)},function(r,t){r.setTime(+r+t*n)},function(r,t){return(t-r)/n}):gA:null};var _A=gA,UU=gA.range,Ym=6e4,bA=36e5,VU=6048e5,qU=Ha(function(n){n.setTime(n-n.getMilliseconds())},function(n,r){n.setTime(+n+1e3*r)},function(n,r){return(r-n)/1e3},function(n){return n.getUTCSeconds()}),CA=qU,jU=qU.range,zU=Ha(function(n){n.setTime(n-n.getMilliseconds()-1e3*n.getSeconds())},function(n,r){n.setTime(+n+r*Ym)},function(n,r){return(r-n)/Ym},function(n){return n.getMinutes()}),WU=zU,UX=zU.range,GU=Ha(function(n){n.setTime(n-n.getMilliseconds()-1e3*n.getSeconds()-n.getMinutes()*Ym)},function(n,r){n.setTime(+n+r*bA)},function(n,r){return(r-n)/bA},function(n){return n.getHours()}),YU=GU,HX=GU.range,JU=Ha(function(n){n.setHours(0,0,0,0)},function(n,r){n.setDate(n.getDate()+r)},function(n,r){return(r-n-(r.getTimezoneOffset()-n.getTimezoneOffset())*Ym)/864e5},function(n){return n.getDate()-1}),SA=JU,VX=JU.range;function Jm(n){return Ha(function(r){r.setDate(r.getDate()-(r.getDay()+7-n)%7),r.setHours(0,0,0,0)},function(r,t){r.setDate(r.getDate()+7*t)},function(r,t){return(t-r-(t.getTimezoneOffset()-r.getTimezoneOffset())*Ym)/VU})}var Y1=Jm(0),J1=Jm(1),QU=Jm(2),KU=Jm(3),Q1=Jm(4),XU=Jm(5),$U=Jm(6),e9=Y1.range,qX=J1.range,jX=QU.range,zX=KU.range,WX=Q1.range,GX=XU.range,YX=$U.range,t9=Ha(function(n){n.setDate(1),n.setHours(0,0,0,0)},function(n,r){n.setMonth(n.getMonth()+r)},function(n,r){return r.getMonth()-n.getMonth()+12*(r.getFullYear()-n.getFullYear())},function(n){return n.getMonth()}),n9=t9,JX=t9.range,j6=Ha(function(n){n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,r){n.setFullYear(n.getFullYear()+r)},function(n,r){return r.getFullYear()-n.getFullYear()},function(n){return n.getFullYear()});j6.every=function(n){return isFinite(n=Math.floor(n))&&n>0?Ha(function(r){r.setFullYear(Math.floor(r.getFullYear()/n)*n),r.setMonth(0,1),r.setHours(0,0,0,0)},function(r,t){r.setFullYear(r.getFullYear()+t*n)}):null};var Qm=j6,QX=j6.range,r9=Ha(function(n){n.setUTCSeconds(0,0)},function(n,r){n.setTime(+n+r*Ym)},function(n,r){return(r-n)/Ym},function(n){return n.getUTCMinutes()}),i9=r9,KX=r9.range,o9=Ha(function(n){n.setUTCMinutes(0,0,0)},function(n,r){n.setTime(+n+r*bA)},function(n,r){return(r-n)/bA},function(n){return n.getUTCHours()}),a9=o9,XX=o9.range,s9=Ha(function(n){n.setUTCHours(0,0,0,0)},function(n,r){n.setUTCDate(n.getUTCDate()+r)},function(n,r){return(r-n)/864e5},function(n){return n.getUTCDate()-1}),TA=s9,$X=s9.range;function Km(n){return Ha(function(r){r.setUTCDate(r.getUTCDate()-(r.getUTCDay()+7-n)%7),r.setUTCHours(0,0,0,0)},function(r,t){r.setUTCDate(r.getUTCDate()+7*t)},function(r,t){return(t-r)/VU})}var K1=Km(0),X1=Km(1),l9=Km(2),u9=Km(3),$1=Km(4),c9=Km(5),d9=Km(6),p9=K1.range,e$=X1.range,t$=l9.range,n$=u9.range,r$=$1.range,i$=c9.range,o$=d9.range,f9=Ha(function(n){n.setUTCDate(1),n.setUTCHours(0,0,0,0)},function(n,r){n.setUTCMonth(n.getUTCMonth()+r)},function(n,r){return r.getUTCMonth()-n.getUTCMonth()+12*(r.getUTCFullYear()-n.getUTCFullYear())},function(n){return n.getUTCMonth()}),h9=f9,a$=f9.range,z6=Ha(function(n){n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,r){n.setUTCFullYear(n.getUTCFullYear()+r)},function(n,r){return r.getUTCFullYear()-n.getUTCFullYear()},function(n){return n.getUTCFullYear()});z6.every=function(n){return isFinite(n=Math.floor(n))&&n>0?Ha(function(r){r.setUTCFullYear(Math.floor(r.getUTCFullYear()/n)*n),r.setUTCMonth(0,1),r.setUTCHours(0,0,0,0)},function(r,t){r.setUTCFullYear(r.getUTCFullYear()+t*n)}):null};var Xm=z6,s$=z6.range;function l$(n){if(0<=n.y&&n.y<100){var r=new Date(-1,n.m,n.d,n.H,n.M,n.S,n.L);return r.setFullYear(n.y),r}return new Date(n.y,n.m,n.d,n.H,n.M,n.S,n.L)}function xA(n){if(0<=n.y&&n.y<100){var r=new Date(Date.UTC(-1,n.m,n.d,n.H,n.M,n.S,n.L));return r.setUTCFullYear(n.y),r}return new Date(Date.UTC(n.y,n.m,n.d,n.H,n.M,n.S,n.L))}function eS(n){return{y:n,m:0,d:1,H:0,M:0,S:0,L:0}}function m9(n){var r=n.dateTime,t=n.date,i=n.time,o=n.periods,a=n.days,s=n.shortDays,u=n.months,p=n.shortMonths,m=tS(o),b=nS(o),I=tS(a),F=nS(a),G=tS(s),Y=nS(s),$=tS(u),de=nS(u),Me=tS(p),st=nS(p),tt={a:function(mr){return s[mr.getDay()]},A:function(mr){return a[mr.getDay()]},b:function(mr){return p[mr.getMonth()]},B:function(mr){return u[mr.getMonth()]},c:null,d:y9,e:y9,f:P$,H:A$,I:D$,j:O$,L:b9,m:I$,M:R$,p:function(mr){return o[+(mr.getHours()>=12)]},Q:x9,s:w9,S:N$,u:Z$,U:L$,V:F$,w:B$,W:U$,x:null,X:null,y:H$,Y:V$,Z:q$,"%":T9},at={a:function(mr){return s[mr.getUTCDay()]},A:function(mr){return a[mr.getUTCDay()]},b:function(mr){return p[mr.getUTCMonth()]},B:function(mr){return u[mr.getUTCMonth()]},c:null,d:C9,e:C9,f:G$,H:j$,I:z$,j:W$,L:S9,m:Y$,M:J$,p:function(mr){return o[+(mr.getUTCHours()>=12)]},Q:x9,s:w9,S:Q$,u:K$,U:X$,V:$$,w:eee,W:tee,x:null,X:null,y:nee,Y:ree,Z:iee,"%":T9},pt={a:function(mr,pr,or){var Vn=G.exec(pr.slice(or));return Vn?(mr.w=Y[Vn[0].toLowerCase()],or+Vn[0].length):-1},A:function(mr,pr,or){var Vn=I.exec(pr.slice(or));return Vn?(mr.w=F[Vn[0].toLowerCase()],or+Vn[0].length):-1},b:function(mr,pr,or){var Vn=Me.exec(pr.slice(or));return Vn?(mr.m=st[Vn[0].toLowerCase()],or+Vn[0].length):-1},B:function(mr,pr,or){var Vn=$.exec(pr.slice(or));return Vn?(mr.m=de[Vn[0].toLowerCase()],or+Vn[0].length):-1},c:function(mr,pr,or){return It(mr,r,pr,or)},d:g9,e:g9,f:w$,H:_9,I:_9,j:C$,L:x$,m:b$,M:S$,p:function(mr,pr,or){var Vn=m.exec(pr.slice(or));return Vn?(mr.p=b[Vn[0].toLowerCase()],or+Vn[0].length):-1},Q:E$,s:M$,S:T$,u:f$,U:h$,V:m$,w:p$,W:v$,x:function(mr,pr,or){return It(mr,t,pr,or)},X:function(mr,pr,or){return It(mr,i,pr,or)},y:_$,Y:g$,Z:y$,"%":k$};function Je(mr,pr){return function(or){var fs,gl,lc,Vn=[],Jo=-1,xi=0,Oi=mr.length;for(or instanceof Date||(or=new Date(+or));++Jo<Oi;)37===mr.charCodeAt(Jo)&&(Vn.push(mr.slice(xi,Jo)),null!=(gl=v9[fs=mr.charAt(++Jo)])?fs=mr.charAt(++Jo):gl="e"===fs?" ":"0",(lc=pr[fs])&&(fs=lc(or,gl)),Vn.push(fs),xi=Jo+1);return Vn.push(mr.slice(xi,Jo)),Vn.join("")}}function et(mr,pr){return function(or){var xi,Oi,Vn=eS(1900);if(It(Vn,mr,or+="",0)!=or.length)return null;if("Q"in Vn)return new Date(Vn.Q);if("p"in Vn&&(Vn.H=Vn.H%12+12*Vn.p),"V"in Vn){if(Vn.V<1||Vn.V>53)return null;"w"in Vn||(Vn.w=1),"Z"in Vn?(Oi=(xi=xA(eS(Vn.y))).getUTCDay(),xi=Oi>4||0===Oi?X1.ceil(xi):X1(xi),xi=TA.offset(xi,7*(Vn.V-1)),Vn.y=xi.getUTCFullYear(),Vn.m=xi.getUTCMonth(),Vn.d=xi.getUTCDate()+(Vn.w+6)%7):(Oi=(xi=pr(eS(Vn.y))).getDay(),xi=Oi>4||0===Oi?J1.ceil(xi):J1(xi),xi=SA.offset(xi,7*(Vn.V-1)),Vn.y=xi.getFullYear(),Vn.m=xi.getMonth(),Vn.d=xi.getDate()+(Vn.w+6)%7)}else("W"in Vn||"U"in Vn)&&("w"in Vn||(Vn.w="u"in Vn?Vn.u%7:"W"in Vn?1:0),Oi="Z"in Vn?xA(eS(Vn.y)).getUTCDay():pr(eS(Vn.y)).getDay(),Vn.m=0,Vn.d="W"in Vn?(Vn.w+6)%7+7*Vn.W-(Oi+5)%7:Vn.w+7*Vn.U-(Oi+6)%7);return"Z"in Vn?(Vn.H+=Vn.Z/100|0,Vn.M+=Vn.Z%100,xA(Vn)):pr(Vn)}}function It(mr,pr,or,Vn){for(var fs,gl,Jo=0,xi=pr.length,Oi=or.length;Jo<xi;){if(Vn>=Oi)return-1;if(37===(fs=pr.charCodeAt(Jo++))){if(fs=pr.charAt(Jo++),!(gl=pt[fs in v9?pr.charAt(Jo++):fs])||(Vn=gl(mr,or,Vn))<0)return-1}else if(fs!=or.charCodeAt(Vn++))return-1}return Vn}return tt.x=Je(t,tt),tt.X=Je(i,tt),tt.c=Je(r,tt),at.x=Je(t,at),at.X=Je(i,at),at.c=Je(r,at),{format:function(pr){var or=Je(pr+="",tt);return or.toString=function(){return pr},or},parse:function(pr){var or=et(pr+="",l$);return or.toString=function(){return pr},or},utcFormat:function(pr){var or=Je(pr+="",at);return or.toString=function(){return pr},or},utcParse:function(pr){var or=et(pr,xA);return or.toString=function(){return pr},or}}}var W_,W6,k9,wA,G6,v9={"-":"",_:" ",0:"0"},us=/^\s*\d+/,u$=/^%/,c$=/[\\^$*+?|[\]().{}]/g;function so(n,r,t){var i=n<0?"-":"",o=(i?-n:n)+"",a=o.length;return i+(a<t?new Array(t-a+1).join(r)+o:o)}function d$(n){return n.replace(c$,"\\$&")}function tS(n){return new RegExp("^(?:"+n.map(d$).join("|")+")","i")}function nS(n){for(var r={},t=-1,i=n.length;++t<i;)r[n[t].toLowerCase()]=t;return r}function p$(n,r,t){var i=us.exec(r.slice(t,t+1));return i?(n.w=+i[0],t+i[0].length):-1}function f$(n,r,t){var i=us.exec(r.slice(t,t+1));return i?(n.u=+i[0],t+i[0].length):-1}function h$(n,r,t){var i=us.exec(r.slice(t,t+2));return i?(n.U=+i[0],t+i[0].length):-1}function m$(n,r,t){var i=us.exec(r.slice(t,t+2));return i?(n.V=+i[0],t+i[0].length):-1}function v$(n,r,t){var i=us.exec(r.slice(t,t+2));return i?(n.W=+i[0],t+i[0].length):-1}function g$(n,r,t){var i=us.exec(r.slice(t,t+4));return i?(n.y=+i[0],t+i[0].length):-1}function _$(n,r,t){var i=us.exec(r.slice(t,t+2));return i?(n.y=+i[0]+(+i[0]>68?1900:2e3),t+i[0].length):-1}function y$(n,r,t){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(r.slice(t,t+6));return i?(n.Z=i[1]?0:-(i[2]+(i[3]||"00")),t+i[0].length):-1}function b$(n,r,t){var i=us.exec(r.slice(t,t+2));return i?(n.m=i[0]-1,t+i[0].length):-1}function g9(n,r,t){var i=us.exec(r.slice(t,t+2));return i?(n.d=+i[0],t+i[0].length):-1}function C$(n,r,t){var i=us.exec(r.slice(t,t+3));return i?(n.m=0,n.d=+i[0],t+i[0].length):-1}function _9(n,r,t){var i=us.exec(r.slice(t,t+2));return i?(n.H=+i[0],t+i[0].length):-1}function S$(n,r,t){var i=us.exec(r.slice(t,t+2));return i?(n.M=+i[0],t+i[0].length):-1}function T$(n,r,t){var i=us.exec(r.slice(t,t+2));return i?(n.S=+i[0],t+i[0].length):-1}function x$(n,r,t){var i=us.exec(r.slice(t,t+3));return i?(n.L=+i[0],t+i[0].length):-1}function w$(n,r,t){var i=us.exec(r.slice(t,t+6));return i?(n.L=Math.floor(i[0]/1e3),t+i[0].length):-1}function k$(n,r,t){var i=u$.exec(r.slice(t,t+1));return i?t+i[0].length:-1}function E$(n,r,t){var i=us.exec(r.slice(t));return i?(n.Q=+i[0],t+i[0].length):-1}function M$(n,r,t){var i=us.exec(r.slice(t));return i?(n.Q=1e3*+i[0],t+i[0].length):-1}function y9(n,r){return so(n.getDate(),r,2)}function A$(n,r){return so(n.getHours(),r,2)}function D$(n,r){return so(n.getHours()%12||12,r,2)}function O$(n,r){return so(1+SA.count(Qm(n),n),r,3)}function b9(n,r){return so(n.getMilliseconds(),r,3)}function P$(n,r){return b9(n,r)+"000"}function I$(n,r){return so(n.getMonth()+1,r,2)}function R$(n,r){return so(n.getMinutes(),r,2)}function N$(n,r){return so(n.getSeconds(),r,2)}function Z$(n){var r=n.getDay();return 0===r?7:r}function L$(n,r){return so(Y1.count(Qm(n),n),r,2)}function F$(n,r){var t=n.getDay();return n=t>=4||0===t?Q1(n):Q1.ceil(n),so(Q1.count(Qm(n),n)+(4===Qm(n).getDay()),r,2)}function B$(n){return n.getDay()}function U$(n,r){return so(J1.count(Qm(n),n),r,2)}function H$(n,r){return so(n.getFullYear()%100,r,2)}function V$(n,r){return so(n.getFullYear()%1e4,r,4)}function q$(n){var r=n.getTimezoneOffset();return(r>0?"-":(r*=-1,"+"))+so(r/60|0,"0",2)+so(r%60,"0",2)}function C9(n,r){return so(n.getUTCDate(),r,2)}function j$(n,r){return so(n.getUTCHours(),r,2)}function z$(n,r){return so(n.getUTCHours()%12||12,r,2)}function W$(n,r){return so(1+TA.count(Xm(n),n),r,3)}function S9(n,r){return so(n.getUTCMilliseconds(),r,3)}function G$(n,r){return S9(n,r)+"000"}function Y$(n,r){return so(n.getUTCMonth()+1,r,2)}function J$(n,r){return so(n.getUTCMinutes(),r,2)}function Q$(n,r){return so(n.getUTCSeconds(),r,2)}function K$(n){var r=n.getUTCDay();return 0===r?7:r}function X$(n,r){return so(K1.count(Xm(n),n),r,2)}function $$(n,r){var t=n.getUTCDay();return n=t>=4||0===t?$1(n):$1.ceil(n),so($1.count(Xm(n),n)+(4===Xm(n).getUTCDay()),r,2)}function eee(n){return n.getUTCDay()}function tee(n,r){return so(X1.count(Xm(n),n),r,2)}function nee(n,r){return so(n.getUTCFullYear()%100,r,2)}function ree(n,r){return so(n.getUTCFullYear()%1e4,r,4)}function iee(){return"+0000"}function T9(){return"%"}function x9(n){return+n}function w9(n){return Math.floor(+n/1e3)}function E9(n){return W_=m9(n),W6=W_.format,k9=W_.parse,wA=W_.utcFormat,G6=W_.utcParse,W_}E9({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var M9="%Y-%m-%dT%H:%M:%S.%LZ",see=Date.prototype.toISOString?function(n){return n.toISOString()}:wA(M9),cee=+new Date("2000-01-01T00:00:00.000Z")?function(n){var r=new Date(n);return isNaN(r)?null:r}:G6(M9),iS=6e4,oS=60*iS,aS=24*oS,A9=30*aS,Y6=365*aS;function pee(n){return new Date(n)}function fee(n){return n instanceof Date?+n:+new Date(+n)}function J6(n,r,t,i,o,a,s,u,p){var m=vA(U6,ia),b=m.invert,I=m.domain,F=p(".%L"),G=p(":%S"),Y=p("%I:%M"),$=p("%I %p"),de=p("%a %d"),Me=p("%b %d"),st=p("%B"),tt=p("%Y"),at=[[s,1,1e3],[s,5,5e3],[s,15,15e3],[s,30,3e4],[a,1,iS],[a,5,5*iS],[a,15,15*iS],[a,30,30*iS],[o,1,oS],[o,3,3*oS],[o,6,6*oS],[o,12,12*oS],[i,1,aS],[i,2,2*aS],[t,1,6048e5],[r,1,A9],[r,3,3*A9],[n,1,Y6]];function pt(et){return(s(et)<et?F:a(et)<et?G:o(et)<et?Y:i(et)<et?$:r(et)<et?t(et)<et?de:Me:n(et)<et?st:tt)(et)}function Je(et,It,kt,pn){if(null==et&&(et=10),"number"==typeof et){var Wt=Math.abs(kt-It)/et,ot=mE(function(Dt){return Dt[2]}).right(at,Wt);ot===at.length?(pn=jc(It/Y6,kt/Y6,et),et=n):ot?(pn=(ot=at[Wt/at[ot-1][2]<at[ot][2]/Wt?ot-1:ot])[1],et=ot[0]):(pn=Math.max(jc(It,kt,et),1),et=u)}return null==pn?et:et.every(pn)}return m.invert=function(et){return new Date(b(et))},m.domain=function(et){return arguments.length?I(N6.call(et,fee)):I().map(pee)},m.ticks=function(et,It){var Dt,kt=I(),pn=kt[0],Wt=kt[kt.length-1],ot=Wt<pn;return ot&&(Dt=pn,pn=Wt,Wt=Dt),Dt=(Dt=Je(et,pn,Wt,It))?Dt.range(pn,Wt+1):[],ot?Dt.reverse():Dt},m.tickFormat=function(et,It){return null==It?pt:p(It)},m.nice=function(et,It){var kt=I();return(et=Je(et,kt[0],kt[kt.length-1],It))?I(PU(kt,et)):m},m.copy=function(){return mA(m,J6(n,r,t,i,o,a,s,u,p))},m}function hee(){return J6(Qm,n9,Y1,SA,YU,WU,CA,_A,W6).domain([new Date(2e3,0,1),new Date(2e3,0,2)])}function mee(){return J6(Xm,h9,K1,TA,a9,i9,CA,_A,wA).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}function D9(n){var r=0,t=1,i=!1;function o(a){var s=(a-r)/(t-r);return n(i?Math.max(0,Math.min(1,s)):s)}return o.domain=function(a){return arguments.length?(r=+a[0],t=+a[1],o):[r,t]},o.clamp=function(a){return arguments.length?(i=!!a,o):i},o.interpolator=function(a){return arguments.length?(n=a,o):n},o.copy=function(){return D9(n).domain([r,t]).clamp(i)},G1(o)}function ri(n){for(var r=n.length/6|0,t=new Array(r),i=0;i<r;)t[i]="#"+n.slice(6*i,6*++i);return t}var vee=ri("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),gee=ri("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),_ee=ri("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),yee=ri("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),bee=ri("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),Cee=ri("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),See=ri("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),Tee=ri("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),xee=ri("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f");function _o(n){return go(n[n.length-1])}var O9=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(ri),wee=_o(O9),P9=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(ri),kee=_o(P9),I9=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(ri),Eee=_o(I9),R9=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(ri),Mee=_o(R9),N9=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(ri),Aee=_o(N9),Z9=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(ri),Dee=_o(Z9),L9=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(ri),Oee=_o(L9),F9=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(ri),Pee=_o(F9),B9=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(ri),Iee=_o(B9),U9=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(ri),Ree=_o(U9),H9=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(ri),Nee=_o(H9),V9=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(ri),Zee=_o(V9),q9=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(ri),Lee=_o(q9),j9=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(ri),Fee=_o(j9),z9=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(ri),Bee=_o(z9),W9=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(ri),Uee=_o(W9),G9=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(ri),Hee=_o(G9),Y9=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(ri),Vee=_o(Y9),J9=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(ri),qee=_o(J9),Q9=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(ri),jee=_o(Q9),K9=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(ri),zee=_o(K9),X9=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(ri),Wee=_o(X9),$9=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(ri),Gee=_o($9),eH=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(ri),Yee=_o(eH),tH=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(ri),Jee=_o(tH),nH=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(ri),Qee=_o(nH),rH=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(ri),Kee=_o(rH),Xee=oM(De(300,.5,0),De(-240,.5,1)),$ee=oM(De(-100,.75,.35),De(80,1.5,.8)),ete=oM(De(260,.75,.35),De(80,1.5,.8)),kA=De();function tte(n){(n<0||n>1)&&(n-=Math.floor(n));var r=Math.abs(n-.5);return kA.h=360*n-100,kA.s=1.5-1.5*r,kA.l=.8-.9*r,kA+""}function EA(n){var r=n.length;return function(t){return n[Math.max(0,Math.min(r-1,Math.floor(t*r)))]}}var nte=EA(ri("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),rte=EA(ri("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),ite=EA(ri("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),ote=EA(ri("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function ate(n,r){return n.each(function(){var t=r.apply(this,arguments),i=Kr(this);for(var o in t)i.attr(o,t[o])})}function ste(n,r){for(var t in r)n.attr(t,r[t]);return n}function ute(n,r,t){return n.each(function(){var i=r.apply(this,arguments),o=Kr(this);for(var a in i)o.style(a,i[a],t)})}function cte(n,r,t){for(var i in r)n.style(i,r[i],t);return n}function pte(n,r){return n.each(function(){var t=r.apply(this,arguments),i=Kr(this);for(var o in t)i.property(o,t[o])})}function fte(n,r){for(var t in r)n.property(t,r[t]);return n}function mte(n,r){return n.each(function(){var t=r.apply(this,arguments),i=Kr(this).transition(n);for(var o in t)i.attr(o,t[o])})}function vte(n,r){for(var t in r)n.attr(t,r[t]);return n}function _te(n,r,t){return n.each(function(){var i=r.apply(this,arguments),o=Kr(this).transition(n);for(var a in i)o.style(a,i[a],t)})}function yte(n,r,t){for(var i in r)n.style(i,r[i],t);return n}function ci(n){return function(){return n}}Vs.prototype.attrs=function(n){return("function"==typeof n?ate:ste)(this,n)},Vs.prototype.styles=function(n,r){return("function"==typeof n?ute:cte)(this,n,null==r?"":r)},Vs.prototype.properties=function(n){return("function"==typeof n?pte:fte)(this,n)},fM.prototype.attrs=function(n){return("function"==typeof n?mte:vte)(this,n)},fM.prototype.styles=function(n,r){return("function"==typeof n?_te:yte)(this,n,null==r?"":r)};var iH=Math.abs,ys=Math.atan2,$m=Math.cos,Cte=Math.max,Q6=Math.min,td=Math.sin,G_=Math.sqrt,cs=1e-12,ev=Math.PI,MA=ev/2,lp=2*ev;function Ste(n){return n>1?0:n<-1?ev:Math.acos(n)}function oH(n){return n>=1?MA:n<=-1?-MA:Math.asin(n)}function Tte(n){return n.innerRadius}function xte(n){return n.outerRadius}function wte(n){return n.startAngle}function kte(n){return n.endAngle}function Ete(n){return n&&n.padAngle}function Mte(n,r,t,i,o,a,s,u){var p=t-n,m=i-r,b=s-o,I=u-a,F=I*p-b*m;if(!(F*F<cs))return[n+(F=(b*(r-a)-I*(n-o))/F)*p,r+F*m]}function AA(n,r,t,i,o,a,s){var u=n-t,p=r-i,m=(s?a:-a)/G_(u*u+p*p),b=m*p,I=-m*u,F=n+b,G=r+I,Y=t+b,$=i+I,de=(F+Y)/2,Me=(G+$)/2,st=Y-F,tt=$-G,at=st*st+tt*tt,pt=o-a,Je=F*$-Y*G,et=(tt<0?-1:1)*G_(Cte(0,pt*pt*at-Je*Je)),It=(Je*tt-st*et)/at,kt=(-Je*st-tt*et)/at,pn=(Je*tt+st*et)/at,Wt=(-Je*st+tt*et)/at,ot=It-de,Dt=kt-Me,mn=pn-de,dn=Wt-Me;return ot*ot+Dt*Dt>mn*mn+dn*dn&&(It=pn,kt=Wt),{cx:It,cy:kt,x01:-b,y01:-I,x11:It*(o/pt-1),y11:kt*(o/pt-1)}}function Ate(){var n=Tte,r=xte,t=ci(0),i=null,o=wte,a=kte,s=Ete,u=null;function p(){var m,b,I=+n.apply(this,arguments),F=+r.apply(this,arguments),G=o.apply(this,arguments)-MA,Y=a.apply(this,arguments)-MA,$=iH(Y-G),de=Y>G;if(u||(u=m=Yu()),F<I&&(b=F,F=I,I=b),F>cs)if($>lp-cs)u.moveTo(F*$m(G),F*td(G)),u.arc(0,0,F,G,Y,!de),I>cs&&(u.moveTo(I*$m(Y),I*td(Y)),u.arc(0,0,I,Y,G,de));else{var ot,Dt,Me=G,st=Y,tt=G,at=Y,pt=$,Je=$,et=s.apply(this,arguments)/2,It=et>cs&&(i?+i.apply(this,arguments):G_(I*I+F*F)),kt=Q6(iH(F-I)/2,+t.apply(this,arguments)),pn=kt,Wt=kt;if(It>cs){var mn=oH(It/I*td(et)),dn=oH(It/F*td(et));(pt-=2*mn)>cs?(tt+=mn*=de?1:-1,at-=mn):(pt=0,tt=at=(G+Y)/2),(Je-=2*dn)>cs?(Me+=dn*=de?1:-1,st-=dn):(Je=0,Me=st=(G+Y)/2)}var xn=F*$m(Me),Zn=F*td(Me),er=I*$m(at),vr=I*td(at);if(kt>cs){var gr,zr=F*$m(st),ir=F*td(st),Jr=I*$m(tt),ai=I*td(tt);if($<=lp-cs&&(gr=Mte(xn,Zn,Jr,ai,zr,ir,er,vr))){var Li=xn-gr[0],Bo=Zn-gr[1],mr=zr-gr[0],pr=ir-gr[1],or=1/td(Ste((Li*mr+Bo*pr)/(G_(Li*Li+Bo*Bo)*G_(mr*mr+pr*pr)))/2),Vn=G_(gr[0]*gr[0]+gr[1]*gr[1]);pn=Q6(kt,(I-Vn)/(or-1)),Wt=Q6(kt,(F-Vn)/(or+1))}}Je>cs?Wt>cs?(ot=AA(Jr,ai,xn,Zn,F,Wt,de),Dt=AA(zr,ir,er,vr,F,Wt,de),u.moveTo(ot.cx+ot.x01,ot.cy+ot.y01),Wt<kt?u.arc(ot.cx,ot.cy,Wt,ys(ot.y01,ot.x01),ys(Dt.y01,Dt.x01),!de):(u.arc(ot.cx,ot.cy,Wt,ys(ot.y01,ot.x01),ys(ot.y11,ot.x11),!de),u.arc(0,0,F,ys(ot.cy+ot.y11,ot.cx+ot.x11),ys(Dt.cy+Dt.y11,Dt.cx+Dt.x11),!de),u.arc(Dt.cx,Dt.cy,Wt,ys(Dt.y11,Dt.x11),ys(Dt.y01,Dt.x01),!de))):(u.moveTo(xn,Zn),u.arc(0,0,F,Me,st,!de)):u.moveTo(xn,Zn),I>cs&&pt>cs?pn>cs?(ot=AA(er,vr,zr,ir,I,-pn,de),Dt=AA(xn,Zn,Jr,ai,I,-pn,de),u.lineTo(ot.cx+ot.x01,ot.cy+ot.y01),pn<kt?u.arc(ot.cx,ot.cy,pn,ys(ot.y01,ot.x01),ys(Dt.y01,Dt.x01),!de):(u.arc(ot.cx,ot.cy,pn,ys(ot.y01,ot.x01),ys(ot.y11,ot.x11),!de),u.arc(0,0,I,ys(ot.cy+ot.y11,ot.cx+ot.x11),ys(Dt.cy+Dt.y11,Dt.cx+Dt.x11),de),u.arc(Dt.cx,Dt.cy,pn,ys(Dt.y11,Dt.x11),ys(Dt.y01,Dt.x01),!de))):u.arc(0,0,I,at,tt,de):u.lineTo(er,vr)}else u.moveTo(0,0);if(u.closePath(),m)return u=null,m+""||null}return p.centroid=function(){var m=(+n.apply(this,arguments)+ +r.apply(this,arguments))/2,b=(+o.apply(this,arguments)+ +a.apply(this,arguments))/2-ev/2;return[$m(b)*m,td(b)*m]},p.innerRadius=function(m){return arguments.length?(n="function"==typeof m?m:ci(+m),p):n},p.outerRadius=function(m){return arguments.length?(r="function"==typeof m?m:ci(+m),p):r},p.cornerRadius=function(m){return arguments.length?(t="function"==typeof m?m:ci(+m),p):t},p.padRadius=function(m){return arguments.length?(i=null==m?null:"function"==typeof m?m:ci(+m),p):i},p.startAngle=function(m){return arguments.length?(o="function"==typeof m?m:ci(+m),p):o},p.endAngle=function(m){return arguments.length?(a="function"==typeof m?m:ci(+m),p):a},p.padAngle=function(m){return arguments.length?(s="function"==typeof m?m:ci(+m),p):s},p.context=function(m){return arguments.length?(u=null==m?null:m,p):u},p}function aH(n){this._context=n}function DA(n){return new aH(n)}function K6(n){return n[0]}function X6(n){return n[1]}function OA(){var n=K6,r=X6,t=ci(!0),i=null,o=DA,a=null;function s(u){var p,b,F,m=u.length,I=!1;for(null==i&&(a=o(F=Yu())),p=0;p<=m;++p)!(p<m&&t(b=u[p],p,u))===I&&((I=!I)?a.lineStart():a.lineEnd()),I&&a.point(+n(b,p,u),+r(b,p,u));if(F)return a=null,F+""||null}return s.x=function(u){return arguments.length?(n="function"==typeof u?u:ci(+u),s):n},s.y=function(u){return arguments.length?(r="function"==typeof u?u:ci(+u),s):r},s.defined=function(u){return arguments.length?(t="function"==typeof u?u:ci(!!u),s):t},s.curve=function(u){return arguments.length?(o=u,null!=i&&(a=o(i)),s):o},s.context=function(u){return arguments.length?(null==u?i=a=null:a=o(i=u),s):i},s}function sH(){var n=K6,r=null,t=ci(0),i=X6,o=ci(!0),a=null,s=DA,u=null;function p(b){var I,F,G,$,Me,Y=b.length,de=!1,st=new Array(Y),tt=new Array(Y);for(null==a&&(u=s(Me=Yu())),I=0;I<=Y;++I){if(!(I<Y&&o($=b[I],I,b))===de)if(de=!de)F=I,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),G=I-1;G>=F;--G)u.point(st[G],tt[G]);u.lineEnd(),u.areaEnd()}de&&(st[I]=+n($,I,b),tt[I]=+t($,I,b),u.point(r?+r($,I,b):st[I],i?+i($,I,b):tt[I]))}if(Me)return u=null,Me+""||null}function m(){return OA().defined(o).curve(s).context(a)}return p.x=function(b){return arguments.length?(n="function"==typeof b?b:ci(+b),r=null,p):n},p.x0=function(b){return arguments.length?(n="function"==typeof b?b:ci(+b),p):n},p.x1=function(b){return arguments.length?(r=null==b?null:"function"==typeof b?b:ci(+b),p):r},p.y=function(b){return arguments.length?(t="function"==typeof b?b:ci(+b),i=null,p):t},p.y0=function(b){return arguments.length?(t="function"==typeof b?b:ci(+b),p):t},p.y1=function(b){return arguments.length?(i=null==b?null:"function"==typeof b?b:ci(+b),p):i},p.lineX0=p.lineY0=function(){return m().x(n).y(t)},p.lineY1=function(){return m().x(n).y(i)},p.lineX1=function(){return m().x(r).y(t)},p.defined=function(b){return arguments.length?(o="function"==typeof b?b:ci(!!b),p):o},p.curve=function(b){return arguments.length?(s=b,null!=a&&(u=s(a)),p):s},p.context=function(b){return arguments.length?(null==b?a=u=null:u=s(a=b),p):a},p}function Dte(n,r){return r<n?-1:r>n?1:r>=n?0:NaN}function Ote(n){return n}function Pte(){var n=Ote,r=Dte,t=null,i=ci(0),o=ci(lp),a=ci(0);function s(u){var p,b,I,Me,at,m=u.length,F=0,G=new Array(m),Y=new Array(m),$=+i.apply(this,arguments),de=Math.min(lp,Math.max(-lp,o.apply(this,arguments)-$)),st=Math.min(Math.abs(de)/m,a.apply(this,arguments)),tt=st*(de<0?-1:1);for(p=0;p<m;++p)(at=Y[G[p]=p]=+n(u[p],p,u))>0&&(F+=at);for(null!=r?G.sort(function(pt,Je){return r(Y[pt],Y[Je])}):null!=t&&G.sort(function(pt,Je){return t(u[pt],u[Je])}),p=0,I=F?(de-m*tt)/F:0;p<m;++p,$=Me)Y[b=G[p]]={data:u[b],index:p,value:at=Y[b],startAngle:$,endAngle:Me=$+(at>0?at*I:0)+tt,padAngle:st};return Y}return s.value=function(u){return arguments.length?(n="function"==typeof u?u:ci(+u),s):n},s.sortValues=function(u){return arguments.length?(r=u,t=null,s):r},s.sort=function(u){return arguments.length?(t=u,r=null,s):t},s.startAngle=function(u){return arguments.length?(i="function"==typeof u?u:ci(+u),s):i},s.endAngle=function(u){return arguments.length?(o="function"==typeof u?u:ci(+u),s):o},s.padAngle=function(u){return arguments.length?(a="function"==typeof u?u:ci(+u),s):a},s}aH.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(r,t){switch(r=+r,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(r,t):this._context.moveTo(r,t);break;case 1:this._point=2;default:this._context.lineTo(r,t)}}};var lH=$6(DA);function uH(n){this._curve=n}function $6(n){function r(t){return new uH(n(t))}return r._curve=n,r}function sS(n){var r=n.curve;return n.angle=n.x,delete n.x,n.radius=n.y,delete n.y,n.curve=function(t){return arguments.length?r($6(t)):r()._curve},n}function cH(){return sS(OA().curve(lH))}function dH(){var n=sH().curve(lH),r=n.curve,t=n.lineX0,i=n.lineX1,o=n.lineY0,a=n.lineY1;return n.angle=n.x,delete n.x,n.startAngle=n.x0,delete n.x0,n.endAngle=n.x1,delete n.x1,n.radius=n.y,delete n.y,n.innerRadius=n.y0,delete n.y0,n.outerRadius=n.y1,delete n.y1,n.lineStartAngle=function(){return sS(t())},delete n.lineX0,n.lineEndAngle=function(){return sS(i())},delete n.lineX1,n.lineInnerRadius=function(){return sS(o())},delete n.lineY0,n.lineOuterRadius=function(){return sS(a())},delete n.lineY1,n.curve=function(s){return arguments.length?r($6(s)):r()._curve},n}function lS(n,r){return[(r=+r)*Math.cos(n-=Math.PI/2),r*Math.sin(n)]}uH.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(r,t){this._curve.point(t*Math.sin(r),t*-Math.cos(r))}};var eZ=Array.prototype.slice;function Ite(n){return n.source}function Rte(n){return n.target}function tZ(n){var r=Ite,t=Rte,i=K6,o=X6,a=null;function s(){var u,p=eZ.call(arguments),m=r.apply(this,p),b=t.apply(this,p);if(a||(a=u=Yu()),n(a,+i.apply(this,(p[0]=m,p)),+o.apply(this,p),+i.apply(this,(p[0]=b,p)),+o.apply(this,p)),u)return a=null,u+""||null}return s.source=function(u){return arguments.length?(r=u,s):r},s.target=function(u){return arguments.length?(t=u,s):t},s.x=function(u){return arguments.length?(i="function"==typeof u?u:ci(+u),s):i},s.y=function(u){return arguments.length?(o="function"==typeof u?u:ci(+u),s):o},s.context=function(u){return arguments.length?(a=null==u?null:u,s):a},s}function Nte(n,r,t,i,o){n.moveTo(r,t),n.bezierCurveTo(r=(r+i)/2,t,r,o,i,o)}function Zte(n,r,t,i,o){n.moveTo(r,t),n.bezierCurveTo(r,t=(t+o)/2,i,t,i,o)}function Lte(n,r,t,i,o){var a=lS(r,t),s=lS(r,t=(t+o)/2),u=lS(i,t),p=lS(i,o);n.moveTo(a[0],a[1]),n.bezierCurveTo(s[0],s[1],u[0],u[1],p[0],p[1])}function Fte(){return tZ(Nte)}function Bte(){return tZ(Zte)}function Ute(){var n=tZ(Lte);return n.angle=n.x,delete n.x,n.radius=n.y,delete n.y,n}var nZ={draw:function(r,t){var i=Math.sqrt(t/ev);r.moveTo(i,0),r.arc(0,0,i,0,lp)}},pH={draw:function(r,t){var i=Math.sqrt(t/5)/2;r.moveTo(-3*i,-i),r.lineTo(-i,-i),r.lineTo(-i,-3*i),r.lineTo(i,-3*i),r.lineTo(i,-i),r.lineTo(3*i,-i),r.lineTo(3*i,i),r.lineTo(i,i),r.lineTo(i,3*i),r.lineTo(-i,3*i),r.lineTo(-i,i),r.lineTo(-3*i,i),r.closePath()}},fH=Math.sqrt(1/3),Hte=2*fH,hH={draw:function(r,t){var i=Math.sqrt(t/Hte),o=i*fH;r.moveTo(0,-i),r.lineTo(o,0),r.lineTo(0,i),r.lineTo(-o,0),r.closePath()}},mH=Math.sin(ev/10)/Math.sin(7*ev/10),qte=Math.sin(lp/10)*mH,jte=-Math.cos(lp/10)*mH,vH={draw:function(r,t){var i=Math.sqrt(.8908130915292852*t),o=qte*i,a=jte*i;r.moveTo(0,-i),r.lineTo(o,a);for(var s=1;s<5;++s){var u=lp*s/5,p=Math.cos(u),m=Math.sin(u);r.lineTo(m*i,-p*i),r.lineTo(p*o-m*a,m*o+p*a)}r.closePath()}},gH={draw:function(r,t){var i=Math.sqrt(t),o=-i/2;r.rect(o,o,i,i)}},rZ=Math.sqrt(3),_H={draw:function(r,t){var i=-Math.sqrt(t/(3*rZ));r.moveTo(0,2*i),r.lineTo(-rZ*i,-i),r.lineTo(rZ*i,-i),r.closePath()}},Tu=-.5,xu=Math.sqrt(3)/2,iZ=1/Math.sqrt(12),zte=3*(iZ/2+1),yH={draw:function(r,t){var i=Math.sqrt(t/zte),o=i/2,a=i*iZ,s=o,u=i*iZ+i,p=-s,m=u;r.moveTo(o,a),r.lineTo(s,u),r.lineTo(p,m),r.lineTo(Tu*o-xu*a,xu*o+Tu*a),r.lineTo(Tu*s-xu*u,xu*s+Tu*u),r.lineTo(Tu*p-xu*m,xu*p+Tu*m),r.lineTo(Tu*o+xu*a,Tu*a-xu*o),r.lineTo(Tu*s+xu*u,Tu*u-xu*s),r.lineTo(Tu*p+xu*m,Tu*m-xu*p),r.closePath()}},Wte=[nZ,pH,hH,gH,vH,_H,yH];function Gte(){var n=ci(nZ),r=ci(64),t=null;function i(){var o;if(t||(t=o=Yu()),n.apply(this,arguments).draw(t,+r.apply(this,arguments)),o)return t=null,o+""||null}return i.type=function(o){return arguments.length?(n="function"==typeof o?o:ci(o),i):n},i.size=function(o){return arguments.length?(r="function"==typeof o?o:ci(+o),i):r},i.context=function(o){return arguments.length?(t=null==o?null:o,i):t},i}function Gf(){}function PA(n,r,t){n._context.bezierCurveTo((2*n._x0+n._x1)/3,(2*n._y0+n._y1)/3,(n._x0+2*n._x1)/3,(n._y0+2*n._y1)/3,(n._x0+4*n._x1+r)/6,(n._y0+4*n._y1+t)/6)}function IA(n){this._context=n}function Yte(n){return new IA(n)}function bH(n){this._context=n}function Jte(n){return new bH(n)}function CH(n){this._context=n}function Qte(n){return new CH(n)}function SH(n,r){this._basis=new IA(n),this._beta=r}IA.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:PA(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(r,t){switch(r=+r,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(r,t):this._context.moveTo(r,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:PA(this,r,t)}this._x0=this._x1,this._x1=r,this._y0=this._y1,this._y1=t}},bH.prototype={areaStart:Gf,areaEnd:Gf,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(r,t){switch(r=+r,t=+t,this._point){case 0:this._point=1,this._x2=r,this._y2=t;break;case 1:this._point=2,this._x3=r,this._y3=t;break;case 2:this._point=3,this._x4=r,this._y4=t,this._context.moveTo((this._x0+4*this._x1+r)/6,(this._y0+4*this._y1+t)/6);break;default:PA(this,r,t)}this._x0=this._x1,this._x1=r,this._y0=this._y1,this._y1=t}},CH.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(r,t){switch(r=+r,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var i=(this._x0+4*this._x1+r)/6,o=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(i,o):this._context.moveTo(i,o);break;case 3:this._point=4;default:PA(this,r,t)}this._x0=this._x1,this._x1=r,this._y0=this._y1,this._y1=t}},SH.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var r=this._x,t=this._y,i=r.length-1;if(i>0)for(var m,o=r[0],a=t[0],s=r[i]-o,u=t[i]-a,p=-1;++p<=i;)this._basis.point(this._beta*r[p]+(1-this._beta)*(o+(m=p/i)*s),this._beta*t[p]+(1-this._beta)*(a+m*u));this._x=this._y=null,this._basis.lineEnd()},point:function(r,t){this._x.push(+r),this._y.push(+t)}};var Kte=function n(r){function t(i){return 1===r?new IA(i):new SH(i,r)}return t.beta=function(i){return n(+i)},t}(.85);function RA(n,r,t){n._context.bezierCurveTo(n._x1+n._k*(n._x2-n._x0),n._y1+n._k*(n._y2-n._y0),n._x2+n._k*(n._x1-r),n._y2+n._k*(n._y1-t),n._x2,n._y2)}function oZ(n,r){this._context=n,this._k=(1-r)/6}oZ.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:RA(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(r,t){switch(r=+r,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(r,t):this._context.moveTo(r,t);break;case 1:this._point=2,this._x1=r,this._y1=t;break;case 2:this._point=3;default:RA(this,r,t)}this._x0=this._x1,this._x1=this._x2,this._x2=r,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Xte=function n(r){function t(i){return new oZ(i,r)}return t.tension=function(i){return n(+i)},t}(0);function aZ(n,r){this._context=n,this._k=(1-r)/6}aZ.prototype={areaStart:Gf,areaEnd:Gf,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(r,t){switch(r=+r,t=+t,this._point){case 0:this._point=1,this._x3=r,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=r,this._y4=t);break;case 2:this._point=3,this._x5=r,this._y5=t;break;default:RA(this,r,t)}this._x0=this._x1,this._x1=this._x2,this._x2=r,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var $te=function n(r){function t(i){return new aZ(i,r)}return t.tension=function(i){return n(+i)},t}(0);function sZ(n,r){this._context=n,this._k=(1-r)/6}sZ.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(r,t){switch(r=+r,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:RA(this,r,t)}this._x0=this._x1,this._x1=this._x2,this._x2=r,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var ene=function n(r){function t(i){return new sZ(i,r)}return t.tension=function(i){return n(+i)},t}(0);function lZ(n,r,t){var i=n._x1,o=n._y1,a=n._x2,s=n._y2;if(n._l01_a>cs){var u=2*n._l01_2a+3*n._l01_a*n._l12_a+n._l12_2a,p=3*n._l01_a*(n._l01_a+n._l12_a);i=(i*u-n._x0*n._l12_2a+n._x2*n._l01_2a)/p,o=(o*u-n._y0*n._l12_2a+n._y2*n._l01_2a)/p}if(n._l23_a>cs){var m=2*n._l23_2a+3*n._l23_a*n._l12_a+n._l12_2a,b=3*n._l23_a*(n._l23_a+n._l12_a);a=(a*m+n._x1*n._l23_2a-r*n._l12_2a)/b,s=(s*m+n._y1*n._l23_2a-t*n._l12_2a)/b}n._context.bezierCurveTo(i,o,a,s,n._x2,n._y2)}function TH(n,r){this._context=n,this._alpha=r}TH.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(r,t){if(r=+r,t=+t,this._point){var i=this._x2-r,o=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+o*o,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(r,t):this._context.moveTo(r,t);break;case 1:this._point=2;break;case 2:this._point=3;default:lZ(this,r,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=r,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var tne=function n(r){function t(i){return r?new TH(i,r):new oZ(i,0)}return t.alpha=function(i){return n(+i)},t}(.5);function xH(n,r){this._context=n,this._alpha=r}xH.prototype={areaStart:Gf,areaEnd:Gf,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(r,t){if(r=+r,t=+t,this._point){var i=this._x2-r,o=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+o*o,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=r,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=r,this._y4=t);break;case 2:this._point=3,this._x5=r,this._y5=t;break;default:lZ(this,r,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=r,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var nne=function n(r){function t(i){return r?new xH(i,r):new aZ(i,0)}return t.alpha=function(i){return n(+i)},t}(.5);function wH(n,r){this._context=n,this._alpha=r}wH.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(r,t){if(r=+r,t=+t,this._point){var i=this._x2-r,o=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+o*o,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:lZ(this,r,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=r,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var rne=function n(r){function t(i){return r?new wH(i,r):new sZ(i,0)}return t.alpha=function(i){return n(+i)},t}(.5);function kH(n){this._context=n}function ine(n){return new kH(n)}function EH(n){return n<0?-1:1}function MH(n,r,t){var i=n._x1-n._x0,o=r-n._x1,a=(n._y1-n._y0)/(i||o<0&&-0),s=(t-n._y1)/(o||i<0&&-0),u=(a*o+s*i)/(i+o);return(EH(a)+EH(s))*Math.min(Math.abs(a),Math.abs(s),.5*Math.abs(u))||0}function AH(n,r){var t=n._x1-n._x0;return t?(3*(n._y1-n._y0)/t-r)/2:r}function uZ(n,r,t){var i=n._x0,a=n._x1,s=n._y1,u=(a-i)/3;n._context.bezierCurveTo(i+u,n._y0+u*r,a-u,s-u*t,a,s)}function NA(n){this._context=n}function DH(n){this._context=new OH(n)}function OH(n){this._context=n}function one(n){return new NA(n)}function ane(n){return new DH(n)}function PH(n){this._context=n}function IH(n){var r,i,t=n.length-1,o=new Array(t),a=new Array(t),s=new Array(t);for(o[0]=0,a[0]=2,s[0]=n[0]+2*n[1],r=1;r<t-1;++r)o[r]=1,a[r]=4,s[r]=4*n[r]+2*n[r+1];for(o[t-1]=2,a[t-1]=7,s[t-1]=8*n[t-1]+n[t],r=1;r<t;++r)a[r]-=i=o[r]/a[r-1],s[r]-=i*s[r-1];for(o[t-1]=s[t-1]/a[t-1],r=t-2;r>=0;--r)o[r]=(s[r]-o[r+1])/a[r];for(a[t-1]=(n[t]+o[t-1])/2,r=0;r<t-1;++r)a[r]=2*n[r+1]-o[r+1];return[o,a]}function sne(n){return new PH(n)}function ZA(n,r){this._context=n,this._t=r}function lne(n){return new ZA(n,.5)}function une(n){return new ZA(n,0)}function cne(n){return new ZA(n,1)}function Y_(n,r){if((s=n.length)>1)for(var i,o,s,t=1,a=n[r[0]],u=a.length;t<s;++t)for(o=a,a=n[r[t]],i=0;i<u;++i)a[i][1]+=a[i][0]=isNaN(o[i][1])?o[i][0]:o[i][1]}function J_(n){for(var r=n.length,t=new Array(r);--r>=0;)t[r]=r;return t}function dne(n,r){return n[r]}function pne(){var n=ci([]),r=J_,t=Y_,i=dne;function o(a){var u,I,s=n.apply(this,arguments),p=a.length,m=s.length,b=new Array(m);for(u=0;u<m;++u){for(var $,F=s[u],G=b[u]=new Array(p),Y=0;Y<p;++Y)G[Y]=$=[0,+i(a[Y],F,Y,a)],$.data=a[Y];G.key=F}for(u=0,I=r(b);u<m;++u)b[I[u]].index=u;return t(b,I),b}return o.keys=function(a){return arguments.length?(n="function"==typeof a?a:ci(eZ.call(a)),o):n},o.value=function(a){return arguments.length?(i="function"==typeof a?a:ci(+a),o):i},o.order=function(a){return arguments.length?(r=null==a?J_:"function"==typeof a?a:ci(eZ.call(a)),o):r},o.offset=function(a){return arguments.length?(t=null==a?Y_:a,o):t},o}function fne(n,r){if((i=n.length)>0){for(var t,i,s,o=0,a=n[0].length;o<a;++o){for(s=t=0;t<i;++t)s+=n[t][o][1]||0;if(s)for(t=0;t<i;++t)n[t][o][1]/=s}Y_(n,r)}}function hne(n,r){if((p=n.length)>1)for(var t,o,a,s,u,p,i=0,m=n[r[0]].length;i<m;++i)for(s=u=0,t=0;t<p;++t)(a=(o=n[r[t]][i])[1]-o[0])>=0?(o[0]=s,o[1]=s+=a):a<0?(o[1]=u,o[0]=u+=a):o[0]=s}function mne(n,r){if((o=n.length)>0){for(var o,t=0,i=n[r[0]],a=i.length;t<a;++t){for(var s=0,u=0;s<o;++s)u+=n[s][t][1]||0;i[t][1]+=i[t][0]=-u/2}Y_(n,r)}}function vne(n,r){if((s=n.length)>0&&(a=(o=n[r[0]]).length)>0){for(var o,a,s,t=0,i=1;i<a;++i){for(var u=0,p=0,m=0;u<s;++u){for(var b=n[r[u]],I=b[i][1]||0,G=(I-(b[i-1][1]||0))/2,Y=0;Y<u;++Y){var $=n[r[Y]];G+=($[i][1]||0)-($[i-1][1]||0)}p+=I,m+=G*I}o[i-1][1]+=o[i-1][0]=t,p&&(t-=m/p)}o[i-1][1]+=o[i-1][0]=t,Y_(n,r)}}function RH(n){var r=n.map(NH);return J_(n).sort(function(t,i){return r[t]-r[i]})}function NH(n){for(var o,r=0,t=-1,i=n.length;++t<i;)(o=+n[t][1])&&(r+=o);return r}function gne(n){return RH(n).reverse()}function _ne(n){var t,i,r=n.length,o=n.map(NH),a=J_(n).sort(function(b,I){return o[I]-o[b]}),s=0,u=0,p=[],m=[];for(t=0;t<r;++t)i=a[t],s<u?(s+=o[i],p.push(i)):(u+=o[i],m.push(i));return m.reverse().concat(p)}function yne(n){return J_(n).reverse()}function bne(n,r,t){var i=new w1,o=r;return null==r?(i.restart(n,r,t),i):(r=+r,t=null==t?A_():+t,i.restart(function a(s){s+=o,i.restart(a,o+=r,t),n(s)},r,t),i)}function ZH(n){return function(){return n}}function Cne(n){return n[0]}function Sne(n){return n[1]}function cZ(){this._=null}function LA(n){n.U=n.C=n.L=n.R=n.P=n.N=null}function uS(n,r){var t=r,i=r.R,o=t.U;o?o.L===t?o.L=i:o.R=i:n._=i,i.U=o,t.U=i,t.R=i.L,t.R&&(t.R.U=t),i.L=t}function cS(n,r){var t=r,i=r.L,o=t.U;o?o.L===t?o.L=i:o.R=i:n._=i,i.U=o,t.U=i,t.L=i.R,t.L&&(t.L.U=t),i.R=t}function LH(n){for(;n.L;)n=n.L;return n}kH.prototype={areaStart:Gf,areaEnd:Gf,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(r,t){r=+r,t=+t,this._point?this._context.lineTo(r,t):(this._point=1,this._context.moveTo(r,t))}},NA.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:uZ(this,this._t0,AH(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(r,t){var i=NaN;if(t=+t,(r=+r)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(r,t):this._context.moveTo(r,t);break;case 1:this._point=2;break;case 2:this._point=3,uZ(this,AH(this,i=MH(this,r,t)),i);break;default:uZ(this,this._t0,i=MH(this,r,t))}this._x0=this._x1,this._x1=r,this._y0=this._y1,this._y1=t,this._t0=i}}},(DH.prototype=Object.create(NA.prototype)).point=function(n,r){NA.prototype.point.call(this,r,n)},OH.prototype={moveTo:function(r,t){this._context.moveTo(t,r)},closePath:function(){this._context.closePath()},lineTo:function(r,t){this._context.lineTo(t,r)},bezierCurveTo:function(r,t,i,o,a,s){this._context.bezierCurveTo(t,r,o,i,s,a)}},PH.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var r=this._x,t=this._y,i=r.length;if(i)if(this._line?this._context.lineTo(r[0],t[0]):this._context.moveTo(r[0],t[0]),2===i)this._context.lineTo(r[1],t[1]);else for(var o=IH(r),a=IH(t),s=0,u=1;u<i;++s,++u)this._context.bezierCurveTo(o[0][s],a[0][s],o[1][s],a[1][s],r[u],t[u]);(this._line||0!==this._line&&1===i)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(r,t){this._x.push(+r),this._y.push(+t)}},ZA.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(r,t){switch(r=+r,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(r,t):this._context.moveTo(r,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(r,t);else{var i=this._x*(1-this._t)+r*this._t;this._context.lineTo(i,this._y),this._context.lineTo(i,t)}}this._x=r,this._y=t}},cZ.prototype={constructor:cZ,insert:function(r,t){var i,o,a;if(r){if(t.P=r,t.N=r.N,r.N&&(r.N.P=t),r.N=t,r.R){for(r=r.R;r.L;)r=r.L;r.L=t}else r.R=t;i=r}else this._?(r=LH(this._),t.P=null,t.N=r,r.P=r.L=t,i=r):(t.P=t.N=null,this._=t,i=null);for(t.L=t.R=null,t.U=i,t.C=!0,r=t;i&&i.C;)i===(o=i.U).L?(a=o.R)&&a.C?(i.C=a.C=!1,o.C=!0,r=o):(r===i.R&&(uS(this,i),i=(r=i).U),i.C=!1,o.C=!0,cS(this,o)):(a=o.L)&&a.C?(i.C=a.C=!1,o.C=!0,r=o):(r===i.L&&(cS(this,i),i=(r=i).U),i.C=!1,o.C=!0,uS(this,o)),i=r.U;this._.C=!1},remove:function(r){r.N&&(r.N.P=r.P),r.P&&(r.P.N=r.N),r.N=r.P=null;var i,s,u,t=r.U,o=r.L,a=r.R;if(s=o?a?LH(a):o:a,t?t.L===r?t.L=s:t.R=s:this._=s,o&&a?(u=s.C,s.C=r.C,s.L=o,o.U=s,s!==a?(t=s.U,s.U=r.U,t.L=r=s.R,s.R=a,a.U=s):(s.U=t,t=s,r=s.R)):(u=r.C,r=s),r&&(r.U=t),!u){if(r&&r.C)return void(r.C=!1);do{if(r===this._)break;if(r===t.L){if((i=t.R).C&&(i.C=!1,t.C=!0,uS(this,t),i=t.R),i.L&&i.L.C||i.R&&i.R.C){(!i.R||!i.R.C)&&(i.L.C=!1,i.C=!0,cS(this,i),i=t.R),i.C=t.C,t.C=i.R.C=!1,uS(this,t),r=this._;break}}else if((i=t.L).C&&(i.C=!1,t.C=!0,cS(this,t),i=t.L),i.L&&i.L.C||i.R&&i.R.C){(!i.L||!i.L.C)&&(i.R.C=!1,i.C=!0,uS(this,i),i=t.L),i.C=t.C,t.C=i.L.C=!1,cS(this,t),r=this._;break}i.C=!0,r=t,t=t.U}while(!r.C);r&&(r.C=!1)}}};var FH=cZ;function dS(n,r,t,i){var o=[null,null],a=bs.push(o)-1;return o.left=n,o.right=r,t&&FA(o,n,r,t),i&&FA(o,r,n,i),Gl[n.index].halfedges.push(a),Gl[r.index].halfedges.push(a),o}function pS(n,r,t){var i=[r,t];return i.left=n,i}function FA(n,r,t,i){n[0]||n[1]?n.left===t?n[1]=i:n[0]=i:(n[0]=i,n.left=r,n.right=t)}function Tne(n,r,t,i,o){var $,a=n[0],s=n[1],u=a[0],p=a[1],I=0,F=1,G=s[0]-u,Y=s[1]-p;if($=r-u,G||!($>0)){if($/=G,G<0){if($<I)return;$<F&&(F=$)}else if(G>0){if($>F)return;$>I&&(I=$)}if($=i-u,G||!($<0)){if($/=G,G<0){if($>F)return;$>I&&(I=$)}else if(G>0){if($<I)return;$<F&&(F=$)}if($=t-p,Y||!($>0)){if($/=Y,Y<0){if($<I)return;$<F&&(F=$)}else if(Y>0){if($>F)return;$>I&&(I=$)}if($=o-p,Y||!($<0)){if($/=Y,Y<0){if($>F)return;$>I&&(I=$)}else if(Y>0){if($<I)return;$<F&&(F=$)}return!(I>0)&&!(F<1)||(I>0&&(n[0]=[u+I*G,p+I*Y]),F<1&&(n[1]=[u+F*G,p+F*Y])),!0}}}}}function xne(n,r,t,i,o){var a=n[1];if(a)return!0;var $,de,s=n[0],u=n.left,p=n.right,m=u[0],b=u[1],I=p[0],F=p[1],G=(m+I)/2;if(F===b){if(G<r||G>=i)return;if(m>I){if(s){if(s[1]>=o)return}else s=[G,t];a=[G,o]}else{if(s){if(s[1]<t)return}else s=[G,o];a=[G,t]}}else if(de=(b+F)/2-($=(m-I)/(F-b))*G,$<-1||$>1)if(m>I){if(s){if(s[1]>=o)return}else s=[(t-de)/$,t];a=[(o-de)/$,o]}else{if(s){if(s[1]<t)return}else s=[(o-de)/$,o];a=[(t-de)/$,t]}else if(b<F){if(s){if(s[0]>=i)return}else s=[r,$*r+de];a=[i,$*i+de]}else{if(s){if(s[0]<r)return}else s=[i,$*i+de];a=[r,$*r+de]}return n[0]=s,n[1]=a,!0}function Ene(n,r){var t=n.site,i=r.left,o=r.right;return t===o&&(o=i,i=t),o?Math.atan2(o[1]-i[1],o[0]-i[0]):(t===i?(i=r[1],o=r[0]):(i=r[0],o=r[1]),Math.atan2(i[0]-o[0],o[1]-i[1]))}function BH(n,r){return r[+(r.left!==n.site)]}function Mne(n,r){return r[+(r.left===n.site)]}var dZ,UH=[];function One(){LA(this),this.x=this.y=this.arc=this.site=this.cy=null}function Q_(n){var r=n.P,t=n.N;if(r&&t){var i=r.site,o=n.site,a=t.site;if(i!==a){var s=o[0],u=o[1],p=i[0]-s,m=i[1]-u,b=a[0]-s,I=a[1]-u,F=2*(p*I-m*b);if(!(F>=-Zne)){var G=p*p+m*m,Y=b*b+I*I,$=(I*G-m*Y)/F,de=(p*Y-b*G)/F,Me=UH.pop()||new One;Me.arc=n,Me.site=o,Me.x=$+s,Me.y=(Me.cy=de+u)+Math.sqrt($*$+de*de),n.circle=Me;for(var st=null,tt=fS._;tt;)if(Me.y<tt.y||Me.y===tt.y&&Me.x<=tt.x){if(!tt.L){st=tt.P;break}tt=tt.L}else{if(!tt.R){st=tt;break}tt=tt.R}fS.insert(st,Me),st||(dZ=Me)}}}}function K_(n){var r=n.circle;r&&(r.P||(dZ=r.N),fS.remove(r),UH.push(r),LA(r),n.circle=null)}var HH=[];function Pne(){LA(this),this.edge=this.site=this.circle=null}function VH(n){var r=HH.pop()||new Pne;return r.site=n,r}function pZ(n){K_(n),X_.remove(n),HH.push(n),LA(n)}function Ine(n){var r=n.circle,t=r.x,i=r.cy,o=[t,i],a=n.P,s=n.N,u=[n];pZ(n);for(var p=a;p.circle&&Math.abs(t-p.circle.x)<lo&&Math.abs(i-p.circle.cy)<lo;)a=p.P,u.unshift(p),pZ(p),p=a;u.unshift(p),K_(p);for(var m=s;m.circle&&Math.abs(t-m.circle.x)<lo&&Math.abs(i-m.circle.cy)<lo;)s=m.N,u.push(m),pZ(m),m=s;u.push(m),K_(m);var I,b=u.length;for(I=1;I<b;++I)FA((m=u[I]).edge,(p=u[I-1]).site,m.site,o);(m=u[b-1]).edge=dS((p=u[0]).site,m.site,null,o),Q_(p),Q_(m)}function Rne(n){for(var i,o,a,s,r=n[0],t=n[1],u=X_._;u;)if((a=qH(u,t)-r)>lo)u=u.L;else{if(!((s=r-Nne(u,t))>lo)){a>-lo?(i=u.P,o=u):s>-lo?(i=u,o=u.N):i=o=u;break}if(!u.R){i=u;break}u=u.R}!function(n){Gl[n.index]={site:n,halfedges:[]}}(n);var p=VH(n);if(X_.insert(i,p),i||o){if(i===o)return K_(i),o=VH(i.site),X_.insert(p,o),p.edge=o.edge=dS(i.site,p.site),Q_(i),void Q_(o);if(!o)return void(p.edge=dS(i.site,p.site));K_(i),K_(o);var m=i.site,b=m[0],I=m[1],F=n[0]-b,G=n[1]-I,Y=o.site,$=Y[0]-b,de=Y[1]-I,Me=2*(F*de-G*$),st=F*F+G*G,tt=$*$+de*de,at=[(de*st-G*tt)/Me+b,(F*tt-$*st)/Me+I];FA(o.edge,m,Y,at),p.edge=dS(m,n,null,at),o.edge=dS(n,Y,null,at),Q_(i),Q_(o)}}function qH(n,r){var t=n.site,i=t[0],o=t[1],a=o-r;if(!a)return i;var s=n.P;if(!s)return-1/0;var u=(t=s.site)[0],p=t[1],m=p-r;if(!m)return u;var b=u-i,I=1/a-1/m,F=b/m;return I?(-F+Math.sqrt(F*F-2*I*(b*b/(-2*m)-p+m/2+o-a/2)))/I+i:(i+u)/2}function Nne(n,r){var t=n.N;if(t)return qH(t,r);var i=n.site;return i[1]===r?i[0]:1/0}var X_,Gl,fS,bs,lo=1e-6,Zne=1e-12;function Lne(n,r,t){return(n[0]-t[0])*(r[1]-n[1])-(n[0]-r[0])*(t[1]-n[1])}function Fne(n,r){return r[1]-n[1]||r[0]-n[0]}function fZ(n,r){var i,o,a,t=n.sort(Fne).pop();for(bs=[],Gl=new Array(n.length),X_=new FH,fS=new FH;;)if(a=dZ,t&&(!a||t[1]<a.y||t[1]===a.y&&t[0]<a.x))(t[0]!==i||t[1]!==o)&&(Rne(t),i=t[0],o=t[1]),t=n.pop();else{if(!a)break;Ine(a.arc)}if(function(){for(var t,i,o,a,n=0,r=Gl.length;n<r;++n)if((t=Gl[n])&&(a=(i=t.halfedges).length)){var s=new Array(a),u=new Array(a);for(o=0;o<a;++o)s[o]=o,u[o]=Ene(t,bs[i[o]]);for(s.sort(function(p,m){return u[m]-u[p]}),o=0;o<a;++o)u[o]=i[s[o]];for(o=0;o<a;++o)i[o]=u[o]}}(),r){var s=+r[0][0],u=+r[0][1],p=+r[1][0],m=+r[1][1];(function(n,r,t,i){for(var a,o=bs.length;o--;)xne(a=bs[o],n,r,t,i)&&Tne(a,n,r,t,i)&&(Math.abs(a[0][0]-a[1][0])>lo||Math.abs(a[0][1]-a[1][1])>lo)||delete bs[o]})(s,u,p,m),function(n,r,t,i){var a,s,u,p,m,b,I,F,G,Y,$,de,o=Gl.length,Me=!0;for(a=0;a<o;++a)if(s=Gl[a]){for(u=s.site,p=(m=s.halfedges).length;p--;)bs[m[p]]||m.splice(p,1);for(p=0,b=m.length;p<b;)$=(Y=Mne(s,bs[m[p]]))[0],de=Y[1],F=(I=BH(s,bs[m[++p%b]]))[0],G=I[1],(Math.abs($-F)>lo||Math.abs(de-G)>lo)&&(m.splice(p,0,bs.push(pS(u,Y,Math.abs($-n)<lo&&i-de>lo?[n,Math.abs(F-n)<lo?G:i]:Math.abs(de-i)<lo&&t-$>lo?[Math.abs(G-i)<lo?F:t,i]:Math.abs($-t)<lo&&de-r>lo?[t,Math.abs(F-t)<lo?G:r]:Math.abs(de-r)<lo&&$-n>lo?[Math.abs(G-r)<lo?F:n,r]:null))-1),++b);b&&(Me=!1)}if(Me){var st,tt,at,pt=1/0;for(a=0,Me=null;a<o;++a)(s=Gl[a])&&(at=(st=(u=s.site)[0]-n)*st+(tt=u[1]-r)*tt)<pt&&(pt=at,Me=s);if(Me){var Je=[n,r],et=[n,i],It=[t,i],kt=[t,r];Me.halfedges.push(bs.push(pS(u=Me.site,Je,et))-1,bs.push(pS(u,et,It))-1,bs.push(pS(u,It,kt))-1,bs.push(pS(u,kt,Je))-1)}}for(a=0;a<o;++a)(s=Gl[a])&&(s.halfedges.length||delete Gl[a])}(s,u,p,m)}this.edges=bs,this.cells=Gl,X_=fS=bs=Gl=null}function Bne(){var n=Cne,r=Sne,t=null;function i(o){return new fZ(o.map(function(a,s){var u=[Math.round(n(a,s,o)/lo)*lo,Math.round(r(a,s,o)/lo)*lo];return u.index=s,u.data=a,u}),t)}return i.polygons=function(o){return i(o).polygons()},i.links=function(o){return i(o).links()},i.triangles=function(o){return i(o).triangles()},i.x=function(o){return arguments.length?(n="function"==typeof o?o:ZH(+o),i):n},i.y=function(o){return arguments.length?(r="function"==typeof o?o:ZH(+o),i):r},i.extent=function(o){return arguments.length?(t=null==o?null:[[+o[0][0],+o[0][1]],[+o[1][0],+o[1][1]]],i):t&&[[t[0][0],t[0][1]],[t[1][0],t[1][1]]]},i.size=function(o){return arguments.length?(t=null==o?null:[[0,0],[+o[0],+o[1]]],i):t&&[t[1][0]-t[0][0],t[1][1]-t[0][1]]},i}function BA(n){return function(){return n}}function Une(n,r,t){this.target=n,this.type=r,this.transform=t}function up(n,r,t){this.k=n,this.x=r,this.y=t}fZ.prototype={constructor:fZ,polygons:function(){var r=this.edges;return this.cells.map(function(t){var i=t.halfedges.map(function(o){return BH(t,r[o])});return i.data=t.site.data,i})},triangles:function(){var r=[],t=this.edges;return this.cells.forEach(function(i,o){if(p=(s=i.halfedges).length)for(var s,p,m,a=i.site,u=-1,b=t[s[p-1]],I=b.left===a?b.right:b.left;++u<p;)m=I,I=(b=t[s[u]]).left===a?b.right:b.left,m&&I&&o<m.index&&o<I.index&&Lne(a,m,I)<0&&r.push([a.data,m.data,I.data])}),r},links:function(){return this.edges.filter(function(r){return r.right}).map(function(r){return{source:r.left.data,target:r.right.data}})},find:function(r,t,i){for(var a,p,o=this,s=o._found||0,u=o.cells.length;!(p=o.cells[s]);)if(++s>=u)return null;var m=r-p.site[0],b=t-p.site[1],I=m*m+b*b;do{p=o.cells[a=s],s=null,p.halfedges.forEach(function(F){var G=o.edges[F],Y=G.left;if(Y!==p.site&&Y||(Y=G.right)){var $=r-Y[0],de=t-Y[1],Me=$*$+de*de;Me<I&&(I=Me,s=Y.index)}})}while(null!==s);return o._found=a,null==i||I<=i*i?p.site:null}},up.prototype={constructor:up,scale:function(r){return 1===r?this:new up(this.k*r,this.x,this.y)},translate:function(r,t){return 0===r&0===t?this:new up(this.k,this.x+this.k*r,this.y+this.k*t)},apply:function(r){return[r[0]*this.k+this.x,r[1]*this.k+this.y]},applyX:function(r){return r*this.k+this.x},applyY:function(r){return r*this.k+this.y},invert:function(r){return[(r[0]-this.x)/this.k,(r[1]-this.y)/this.k]},invertX:function(r){return(r-this.x)/this.k},invertY:function(r){return(r-this.y)/this.k},rescaleX:function(r){return r.copy().domain(r.range().map(this.invertX,this).map(r.invert,r))},rescaleY:function(r){return r.copy().domain(r.range().map(this.invertY,this).map(r.invert,r))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var UA=new up(1,0,0);function jH(n){return n.__zoom||UA}function hZ(){En.stopImmediatePropagation()}function hS(){En.preventDefault(),En.stopImmediatePropagation()}function Hne(){return!En.ctrlKey&&!En.button}function Vne(){var n=this;return n instanceof SVGElement?(n=n.ownerSVGElement||n).hasAttribute("viewBox")?[[(n=n.viewBox.baseVal).x,n.y],[n.x+n.width,n.y+n.height]]:[[0,0],[n.width.baseVal.value,n.height.baseVal.value]]:[[0,0],[n.clientWidth,n.clientHeight]]}function zH(){return this.__zoom||UA}function qne(){return-En.deltaY*(1===En.deltaMode?.05:En.deltaMode?1:.002)}function jne(){return navigator.maxTouchPoints||"ontouchstart"in this}function zne(n,r,t){var i=n.invertX(r[0][0])-t[0][0],o=n.invertX(r[1][0])-t[1][0],a=n.invertY(r[0][1])-t[0][1],s=n.invertY(r[1][1])-t[1][1];return n.translate(o>i?(i+o)/2:Math.min(0,i)||Math.max(0,o),s>a?(a+s)/2:Math.min(0,a)||Math.max(0,s))}function WH(){var b,I,n=Hne,r=Vne,t=zne,i=qne,o=jne,a=[0,1/0],s=[[-1/0,-1/0],[1/0,1/0]],u=250,p=z4,m=Kd("start","zoom","end"),F=500,Y=0;function $(ot){ot.property("__zoom",zH).on("wheel.zoom",Je).on("mousedown.zoom",et).on("dblclick.zoom",It).filter(o).on("touchstart.zoom",kt).on("touchmove.zoom",pn).on("touchend.zoom touchcancel.zoom",Wt).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function de(ot,Dt){return(Dt=Math.max(a[0],Math.min(a[1],Dt)))===ot.k?ot:new up(Dt,ot.x,ot.y)}function Me(ot,Dt,mn){var dn=Dt[0]-mn[0]*ot.k,xn=Dt[1]-mn[1]*ot.k;return dn===ot.x&&xn===ot.y?ot:new up(ot.k,dn,xn)}function st(ot){return[(+ot[0][0]+ +ot[1][0])/2,(+ot[0][1]+ +ot[1][1])/2]}function tt(ot,Dt,mn){ot.on("start.zoom",function(){at(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){at(this,arguments).end()}).tween("zoom",function(){var dn=this,xn=arguments,Zn=at(dn,xn),er=r.apply(dn,xn),vr=mn||st(er),zr=Math.max(er[1][0]-er[0][0],er[1][1]-er[0][1]),ir=dn.__zoom,Jr="function"==typeof Dt?Dt.apply(dn,xn):Dt,ai=p(ir.invert(vr).concat(zr/ir.k),Jr.invert(vr).concat(zr/Jr.k));return function(gr){if(1===gr)gr=Jr;else{var Li=ai(gr),Bo=zr/Li[2];gr=new up(Bo,vr[0]-Li[0]*Bo,vr[1]-Li[1]*Bo)}Zn.zoom(null,gr)}})}function at(ot,Dt,mn){return!mn&&ot.__zooming||new pt(ot,Dt)}function pt(ot,Dt){this.that=ot,this.args=Dt,this.active=0,this.extent=r.apply(ot,Dt),this.taps=0}function Je(){if(n.apply(this,arguments)){var ot=at(this,arguments),Dt=this.__zoom,mn=Math.max(a[0],Math.min(a[1],Dt.k*Math.pow(2,i.apply(this,arguments)))),dn=al(this);Dt.k!==mn&&(ot.wheel?((ot.mouse[0][0]!==dn[0]||ot.mouse[0][1]!==dn[1])&&(ot.mouse[1]=Dt.invert(ot.mouse[0]=dn)),clearTimeout(ot.wheel)):(ot.mouse=[dn,Dt.invert(dn)],Bm(this),ot.start()),hS(),ot.wheel=setTimeout(xn,150),ot.zoom("mouse",t(Me(de(Dt,mn),ot.mouse[0],ot.mouse[1]),ot.extent,s)))}function xn(){ot.wheel=null,ot.end()}}function et(){if(!I&&n.apply(this,arguments)){var ot=at(this,arguments,!0),Dt=Kr(En.view).on("mousemove.zoom",Zn,!0).on("mouseup.zoom",er,!0),mn=al(this),dn=En.clientX,xn=En.clientY;T_(En.view),hZ(),ot.mouse=[mn,this.__zoom.invert(mn)],Bm(this),ot.start()}function Zn(){if(hS(),!ot.moved){var vr=En.clientX-dn,zr=En.clientY-xn;ot.moved=vr*vr+zr*zr>Y}ot.zoom("mouse",t(Me(ot.that.__zoom,ot.mouse[0]=al(ot.that),ot.mouse[1]),ot.extent,s))}function er(){Dt.on("mousemove.zoom mouseup.zoom",null),Ul(En.view,ot.moved),hS(),ot.end()}}function It(){if(n.apply(this,arguments)){var ot=this.__zoom,Dt=al(this),mn=ot.invert(Dt),dn=ot.k*(En.shiftKey?.5:2),xn=t(Me(de(ot,dn),Dt,mn),r.apply(this,arguments),s);hS(),u>0?Kr(this).transition().duration(u).call(tt,xn,Dt):Kr(this).call($.transform,xn)}}function kt(){if(n.apply(this,arguments)){var dn,xn,Zn,er,ot=En.touches,Dt=ot.length,mn=at(this,arguments,En.changedTouches.length===Dt);for(hZ(),xn=0;xn<Dt;++xn)er=[er=S_(this,ot,(Zn=ot[xn]).identifier),this.__zoom.invert(er),Zn.identifier],mn.touch0?mn.touch1||(mn.touch1=er,mn.taps=0):(mn.touch0=er,dn=!0,mn.taps=1+!!b);b&&(b=clearTimeout(b)),dn&&(mn.taps<2&&(b=setTimeout(function(){b=null},F)),Bm(this),mn.start())}}function pn(){if(this.__zooming){var dn,xn,Zn,er,ot=at(this,arguments),Dt=En.changedTouches,mn=Dt.length;for(hS(),b&&(b=clearTimeout(b)),ot.taps=0,dn=0;dn<mn;++dn)Zn=S_(this,Dt,(xn=Dt[dn]).identifier),ot.touch0&&ot.touch0[2]===xn.identifier?ot.touch0[0]=Zn:ot.touch1&&ot.touch1[2]===xn.identifier&&(ot.touch1[0]=Zn);if(xn=ot.that.__zoom,ot.touch1){var vr=ot.touch0[0],zr=ot.touch0[1],ir=ot.touch1[0],Jr=ot.touch1[1],ai=(ai=ir[0]-vr[0])*ai+(ai=ir[1]-vr[1])*ai,gr=(gr=Jr[0]-zr[0])*gr+(gr=Jr[1]-zr[1])*gr;xn=de(xn,Math.sqrt(ai/gr)),Zn=[(vr[0]+ir[0])/2,(vr[1]+ir[1])/2],er=[(zr[0]+Jr[0])/2,(zr[1]+Jr[1])/2]}else{if(!ot.touch0)return;Zn=ot.touch0[0],er=ot.touch0[1]}ot.zoom("touch",t(Me(xn,Zn,er),ot.extent,s))}}function Wt(){if(this.__zooming){var dn,xn,ot=at(this,arguments),Dt=En.changedTouches,mn=Dt.length;for(hZ(),I&&clearTimeout(I),I=setTimeout(function(){I=null},F),dn=0;dn<mn;++dn)xn=Dt[dn],ot.touch0&&ot.touch0[2]===xn.identifier?delete ot.touch0:ot.touch1&&ot.touch1[2]===xn.identifier&&delete ot.touch1;if(ot.touch1&&!ot.touch0&&(ot.touch0=ot.touch1,delete ot.touch1),ot.touch0)ot.touch0[1]=this.__zoom.invert(ot.touch0[0]);else if(ot.end(),2===ot.taps){var Zn=Kr(this).on("dblclick.zoom");Zn&&Zn.apply(this,arguments)}}}return $.transform=function(ot,Dt){var mn=ot.selection?ot.selection():ot;mn.property("__zoom",zH),ot!==mn?tt(ot,Dt):mn.interrupt().each(function(){at(this,arguments).start().zoom(null,"function"==typeof Dt?Dt.apply(this,arguments):Dt).end()})},$.scaleBy=function(ot,Dt){$.scaleTo(ot,function(){var mn=this.__zoom.k,dn="function"==typeof Dt?Dt.apply(this,arguments):Dt;return mn*dn})},$.scaleTo=function(ot,Dt){$.transform(ot,function(){var mn=r.apply(this,arguments),dn=this.__zoom,xn=st(mn),Zn=dn.invert(xn),er="function"==typeof Dt?Dt.apply(this,arguments):Dt;return t(Me(de(dn,er),xn,Zn),mn,s)})},$.translateBy=function(ot,Dt,mn){$.transform(ot,function(){return t(this.__zoom.translate("function"==typeof Dt?Dt.apply(this,arguments):Dt,"function"==typeof mn?mn.apply(this,arguments):mn),r.apply(this,arguments),s)})},$.translateTo=function(ot,Dt,mn){$.transform(ot,function(){var dn=r.apply(this,arguments),xn=this.__zoom,Zn=st(dn);return t(UA.translate(Zn[0],Zn[1]).scale(xn.k).translate("function"==typeof Dt?-Dt.apply(this,arguments):-Dt,"function"==typeof mn?-mn.apply(this,arguments):-mn),dn,s)})},pt.prototype={start:function(){return 1==++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(Dt,mn){return this.mouse&&"mouse"!==Dt&&(this.mouse[1]=mn.invert(this.mouse[0])),this.touch0&&"touch"!==Dt&&(this.touch0[1]=mn.invert(this.touch0[0])),this.touch1&&"touch"!==Dt&&(this.touch1[1]=mn.invert(this.touch1[0])),this.that.__zoom=mn,this.emit("zoom"),this},end:function(){return 0==--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(Dt){Om(new Une($,Dt,this.that.__zoom),m.apply,m,[Dt,this.that,this.args])}},$.wheelDelta=function(ot){return arguments.length?(i="function"==typeof ot?ot:BA(+ot),$):i},$.filter=function(ot){return arguments.length?(n="function"==typeof ot?ot:BA(!!ot),$):n},$.touchable=function(ot){return arguments.length?(o="function"==typeof ot?ot:BA(!!ot),$):o},$.extent=function(ot){return arguments.length?(r="function"==typeof ot?ot:BA([[+ot[0][0],+ot[0][1]],[+ot[1][0],+ot[1][1]]]),$):r},$.scaleExtent=function(ot){return arguments.length?(a[0]=+ot[0],a[1]=+ot[1],$):[a[0],a[1]]},$.translateExtent=function(ot){return arguments.length?(s[0][0]=+ot[0][0],s[1][0]=+ot[1][0],s[0][1]=+ot[0][1],s[1][1]=+ot[1][1],$):[[s[0][0],s[0][1]],[s[1][0],s[1][1]]]},$.constrain=function(ot){return arguments.length?(t=ot,$):t},$.duration=function(ot){return arguments.length?(u=+ot,$):u},$.interpolate=function(ot){return arguments.length?(p=ot,$):p},$.on=function(){var ot=m.on.apply(m,arguments);return ot===m?$:ot},$.clickDistance=function(ot){return arguments.length?(Y=(ot=+ot)*ot,$):Math.sqrt(Y)},$}jH.prototype=up.prototype;var Wne=function(){function n(){(0,g.Z)(this,n)}return(0,k.Z)(n,[{key:"getD3",value:function(){return U}}]),n}(),mS=f(5041);function Gne(n,r){if(1&n&&(e.O4$(),e.TgZ(0,"linearGradient"),e._UZ(1,"stop",5),e._UZ(2,"stop",6),e.qZA()),2&n){var t=e.oxw(2);e.uIk("id",t.svg.outerLinearGradient.id),e.xp6(1),e.uIk("stop-color",t.svg.outerLinearGradient.colorStop1)("stop-opacity",1),e.xp6(1),e.uIk("stop-color",t.svg.outerLinearGradient.colorStop2)("stop-opacity",1)}}function Yne(n,r){if(1&n&&(e.O4$(),e.TgZ(0,"radialGradient"),e._UZ(1,"stop",5),e._UZ(2,"stop",6),e.qZA()),2&n){var t=e.oxw(2);e.uIk("id",t.svg.radialGradient.id),e.xp6(1),e.uIk("stop-color",t.svg.radialGradient.colorStop1)("stop-opacity",1),e.xp6(1),e.uIk("stop-color",t.svg.radialGradient.colorStop2)("stop-opacity",1)}}function Jne(n,r){if(1&n&&(e.O4$(),e._UZ(0,"circle")),2&n){var t=e.oxw(3);e.uIk("cx",t.svg.backgroundCircle.cx)("cy",t.svg.backgroundCircle.cy)("r",t.svg.backgroundCircle.r)("fill",t.svg.backgroundCircle.fill)("fill-opacity",t.svg.backgroundCircle.fillOpacity)("stroke",t.svg.backgroundCircle.stroke)("stroke-width",t.svg.backgroundCircle.strokeWidth)}}function Qne(n,r){if(1&n&&(e.O4$(),e._UZ(0,"circle")),2&n){var t=e.oxw(3);e.Q2q("fill","url(#",t.svg.radialGradient.id,")"),e.uIk("cx",t.svg.backgroundCircle.cx)("cy",t.svg.backgroundCircle.cy)("r",t.svg.backgroundCircle.r)("fill-opacity",t.svg.backgroundCircle.fillOpacity)("stroke",t.svg.backgroundCircle.stroke)("stroke-width",t.svg.backgroundCircle.strokeWidth)}}function Kne(n,r){if(1&n&&(e.O4$(),e.ynx(0),e.YNc(1,Jne,1,7,"circle",2),e.YNc(2,Qne,1,7,"circle",2),e.BQk()),2&n){var t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!t.options.backgroundGradient),e.xp6(1),e.Q6J("ngIf",t.options.backgroundGradient)}}function Xne(n,r){if(1&n&&(e.O4$(),e._UZ(0,"circle")),2&n){var t=e.oxw(2);e.uIk("cx",t.svg.circle.cx)("cy",t.svg.circle.cy)("r",t.svg.circle.r)("fill",t.svg.circle.fill)("stroke",t.svg.circle.stroke)("stroke-width",t.svg.circle.strokeWidth)}}function $ne(n,r){if(1&n&&(e.O4$(),e._UZ(0,"path")),2&n){var t=e.oxw(3);e.uIk("d",t.svg.path.d)("stroke",t.svg.path.stroke)("stroke-width",t.svg.path.strokeWidth)("stroke-linecap",t.svg.path.strokeLinecap)("fill",t.svg.path.fill)}}function ere(n,r){if(1&n&&(e.O4$(),e._UZ(0,"path")),2&n){var t=e.oxw(3);e.Q2q("stroke","url(#",t.svg.outerLinearGradient.id,")"),e.uIk("d",t.svg.path.d)("stroke-width",t.svg.path.strokeWidth)("stroke-linecap",t.svg.path.strokeLinecap)("fill",t.svg.path.fill)}}function tre(n,r){if(1&n&&(e.O4$(),e.ynx(0),e.YNc(1,$ne,1,5,"path",2),e.YNc(2,ere,1,5,"path",2),e.BQk()),2&n){var t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!t.options.outerStrokeGradient),e.xp6(1),e.Q6J("ngIf",t.options.outerStrokeGradient)}}function nre(n,r){if(1&n&&(e.O4$(),e.TgZ(0,"tspan"),e._uU(1),e.qZA()),2&n){var t=r.$implicit,i=e.oxw(4);e.uIk("x",i.svg.title.x)("y",i.svg.title.y)("dy",t.dy)("font-size",i.svg.title.fontSize)("font-weight",i.svg.title.fontWeight)("fill",i.svg.title.color),e.xp6(1),e.Oqu(t.span)}}function rre(n,r){if(1&n&&(e.O4$(),e.ynx(0),e.YNc(1,nre,2,7,"tspan",8),e.BQk()),2&n){var t=e.oxw(3);e.xp6(1),e.Q6J("ngForOf",t.svg.title.tspans)}}function ire(n,r){if(1&n&&(e.O4$(),e.TgZ(0,"tspan"),e._uU(1),e.qZA()),2&n){var t=e.oxw(3);e.uIk("font-size",t.svg.units.fontSize)("font-weight",t.svg.units.fontWeight)("fill",t.svg.units.color),e.xp6(1),e.Oqu(t.svg.units.text)}}function ore(n,r){if(1&n&&(e.O4$(),e.TgZ(0,"tspan"),e._uU(1),e.qZA()),2&n){var t=r.$implicit,i=e.oxw(4);e.uIk("x",i.svg.subtitle.x)("y",i.svg.subtitle.y)("dy",t.dy)("font-size",i.svg.subtitle.fontSize)("font-weight",i.svg.subtitle.fontWeight)("fill",i.svg.subtitle.color),e.xp6(1),e.Oqu(t.span)}}function are(n,r){if(1&n&&(e.O4$(),e.ynx(0),e.YNc(1,ore,2,7,"tspan",8),e.BQk()),2&n){var t=e.oxw(3);e.xp6(1),e.Q6J("ngForOf",t.svg.subtitle.tspans)}}function sre(n,r){if(1&n&&(e.O4$(),e.TgZ(0,"text",7),e.YNc(1,rre,2,1,"ng-container",2),e.YNc(2,ire,2,4,"tspan",2),e.YNc(3,are,2,1,"ng-container",2),e.qZA()),2&n){var t=e.oxw(2);e.uIk("x",t.svg.circle.cx)("y",t.svg.circle.cy)("text-anchor",t.svg.title.textAnchor),e.xp6(1),e.Q6J("ngIf",t.options.showTitle),e.xp6(1),e.Q6J("ngIf",t.options.showUnits),e.xp6(1),e.Q6J("ngIf",t.options.showSubtitle)}}function lre(n,r){if(1&n&&(e.O4$(),e._UZ(0,"image",9)),2&n){var t=e.oxw(2);e.uIk("height",t.svg.image.height)("width",t.svg.image.width)("href",t.svg.image.src,null,"xlink")("x",t.svg.image.x)("y",t.svg.image.y)}}function ure(n,r){if(1&n){var t=e.EpF();e.O4$(),e.TgZ(0,"svg",1),e.NdJ("click",function(a){return e.CHM(t),e.oxw().emitClickEvent(a)}),e.TgZ(1,"defs"),e.YNc(2,Gne,3,5,"linearGradient",2),e.YNc(3,Yne,3,5,"radialGradient",2),e.qZA(),e.YNc(4,Kne,3,2,"ng-container",2),e.YNc(5,Xne,1,6,"circle",2),e.YNc(6,tre,3,2,"ng-container",2),e.YNc(7,sre,4,6,"text",3),e.YNc(8,lre,1,5,"image",4),e.qZA()}if(2&n){var i=e.oxw();e.uIk("viewBox",i.svg.viewBox)("height",i.svg.height)("width",i.svg.width)("class",i.options.class),e.xp6(2),e.Q6J("ngIf",i.options.outerStrokeGradient),e.xp6(1),e.Q6J("ngIf",i.options.backgroundGradient),e.xp6(1),e.Q6J("ngIf",i.options.showBackground),e.xp6(1),e.Q6J("ngIf",i.options.showInnerStroke),e.xp6(1),e.Q6J("ngIf",0!=+i.options.percent||i.options.showZeroOuterStroke),e.xp6(1),e.Q6J("ngIf",!i.options.showImage&&(i.options.showTitle||i.options.showUnits||i.options.showSubtitle)),e.xp6(1),e.Q6J("ngIf",i.options.showImage)}}var n,HA=function n(){(0,g.Z)(this,n),this.class="",this.backgroundGradient=!1,this.backgroundColor="transparent",this.backgroundGradientStopColor="transparent",this.backgroundOpacity=1,this.backgroundStroke="transparent",this.backgroundStrokeWidth=0,this.backgroundPadding=5,this.percent=0,this.radius=90,this.space=4,this.toFixed=0,this.maxPercent=1e3,this.renderOnClick=!0,this.units="%",this.unitsFontSize="10",this.unitsFontWeight="normal",this.unitsColor="#444444",this.outerStrokeGradient=!1,this.outerStrokeWidth=8,this.outerStrokeColor="#78C000",this.outerStrokeGradientStopColor="transparent",this.outerStrokeLinecap="round",this.innerStrokeColor="#C7E596",this.innerStrokeWidth=4,this.titleFormat=void 0,this.title="auto",this.titleColor="#444444",this.titleFontSize="20",this.titleFontWeight="normal",this.subtitleFormat=void 0,this.subtitle="progress",this.subtitleColor="#A9A9A9",this.subtitleFontSize="10",this.subtitleFontWeight="normal",this.imageSrc=void 0,this.imageHeight=void 0,this.imageWidth=void 0,this.animation=!0,this.animateTitle=!0,this.animateSubtitle=!1,this.animationDuration=500,this.showTitle=!0,this.showSubtitle=!0,this.showUnits=!0,this.showImage=!1,this.showBackground=!0,this.showInnerStroke=!0,this.clockwise=!0,this.responsive=!1,this.startFromZero=!0,this.showZeroOuterStroke=!0,this.lazy=!1},cre=function(){var n=function(){function r(t,i,o){var a=this;(0,g.Z)(this,r),this.elRef=i,this.document=o,this.onClick=new e.vpe,this.svgElement=null,this.isInViewport=!1,this.onViewportChanged=new e.vpe,this._viewportChangedSubscriber=null,this.options=new HA,this.defaultOptions=new HA,this._lastPercent=0,this._gradientUUID=null,this.render=function(){a.applyOptions(),a.options.lazy?(null===a.svgElement&&a.draw(a._lastPercent),a.isInViewport&&(a.options.animation&&a.options.animationDuration>0?a.animate(a._lastPercent,a.options.percent):a.draw(a.options.percent),a._lastPercent=a.options.percent)):(a.options.animation&&a.options.animationDuration>0?a.animate(a._lastPercent,a.options.percent):a.draw(a.options.percent),a._lastPercent=a.options.percent)},this.polarToCartesian=function(s,u,p,m){var b=m*Math.PI/180;return{x:s+Math.sin(b)*p,y:u-Math.cos(b)*p}},this.draw=function(s){var u=(s=void 0===s?a.options.percent:Math.abs(s))>100?100:s,p=2*a.options.radius+2*a.options.outerStrokeWidth;a.options.showBackground&&(p+=2*a.options.backgroundStrokeWidth+a.max(0,2*a.options.backgroundPadding));var F,G,m={x:p/2,y:p/2},b={x:m.x,y:m.y-a.options.radius},I=a.polarToCartesian(m.x,m.y,a.options.radius,360*(a.options.clockwise?u:100-u)/100);if(100===u&&(I.x=I.x+(a.options.clockwise?-.01:.01)),u>50){var $=(0,C.Z)(a.options.clockwise?[1,1]:[1,0],2);F=$[0],G=$[1]}else{var Me=(0,C.Z)(a.options.clockwise?[0,1]:[0,0],2);F=Me[0],G=Me[1]}var st=a.options.animateTitle?s:a.options.percent,tt=st>a.options.maxPercent?"".concat(a.options.maxPercent.toFixed(a.options.toFixed),"+"):st.toFixed(a.options.toFixed),at=a.options.animateSubtitle?s:a.options.percent,pt={x:m.x,y:m.y,textAnchor:"middle",color:a.options.titleColor,fontSize:a.options.titleFontSize,fontWeight:a.options.titleFontWeight,texts:[],tspans:[]};if(void 0!==a.options.titleFormat&&"Function"===a.options.titleFormat.constructor.name){var Je=a.options.titleFormat(st);Je instanceof Array?pt.texts=(0,_.Z)(Je):pt.texts.push(Je.toString())}else"auto"===a.options.title?pt.texts.push(tt):a.options.title instanceof Array?pt.texts=(0,_.Z)(a.options.title):pt.texts.push(a.options.title.toString());var et={x:m.x,y:m.y,textAnchor:"middle",color:a.options.subtitleColor,fontSize:a.options.subtitleFontSize,fontWeight:a.options.subtitleFontWeight,texts:[],tspans:[]};if(void 0!==a.options.subtitleFormat&&"Function"===a.options.subtitleFormat.constructor.name){var It=a.options.subtitleFormat(at);It instanceof Array?et.texts=(0,_.Z)(It):et.texts.push(It.toString())}else a.options.subtitle instanceof Array?et.texts=(0,_.Z)(a.options.subtitle):et.texts.push(a.options.subtitle.toString());var kt={text:"".concat(a.options.units),fontSize:a.options.unitsFontSize,fontWeight:a.options.unitsFontWeight,color:a.options.unitsColor},pn=0,Wt=1;if(a.options.showTitle&&(pn+=pt.texts.length),a.options.showSubtitle&&(pn+=et.texts.length),a.options.showTitle){var Dt,ot=(0,v.Z)(pt.texts);try{for(ot.s();!(Dt=ot.n()).done;)pt.tspans.push({span:Dt.value,dy:a.getRelativeY(Wt,pn)}),Wt++}catch(er){ot.e(er)}finally{ot.f()}}if(a.options.showSubtitle){var xn,dn=(0,v.Z)(et.texts);try{for(dn.s();!(xn=dn.n()).done;)et.tspans.push({span:xn.value,dy:a.getRelativeY(Wt,pn)}),Wt++}catch(er){dn.e(er)}finally{dn.f()}}null===a._gradientUUID&&(a._gradientUUID=a.uuid()),a.svg={viewBox:"0 0 ".concat(p," ").concat(p),width:a.options.responsive?"100%":p,height:a.options.responsive?"100%":p,backgroundCircle:{cx:m.x,cy:m.y,r:a.options.radius+a.options.outerStrokeWidth/2+a.options.backgroundPadding,fill:a.options.backgroundColor,fillOpacity:a.options.backgroundOpacity,stroke:a.options.backgroundStroke,strokeWidth:a.options.backgroundStrokeWidth},path:{d:"M ".concat(b.x," ").concat(b.y,"\n        A ").concat(a.options.radius," ").concat(a.options.radius," 0 ").concat(F," ").concat(G," ").concat(I.x," ").concat(I.y),stroke:a.options.outerStrokeColor,strokeWidth:a.options.outerStrokeWidth,strokeLinecap:a.options.outerStrokeLinecap,fill:"none"},circle:{cx:m.x,cy:m.y,r:a.options.radius-a.options.space-a.options.outerStrokeWidth/2-a.options.innerStrokeWidth/2,fill:"none",stroke:a.options.innerStrokeColor,strokeWidth:a.options.innerStrokeWidth},title:pt,units:kt,subtitle:et,image:{x:m.x-a.options.imageWidth/2,y:m.y-a.options.imageHeight/2,src:a.options.imageSrc,width:a.options.imageWidth,height:a.options.imageHeight},outerLinearGradient:{id:"outer-linear-"+a._gradientUUID,colorStop1:a.options.outerStrokeColor,colorStop2:"transparent"===a.options.outerStrokeGradientStopColor?"#FFF":a.options.outerStrokeGradientStopColor},radialGradient:{id:"radial-"+a._gradientUUID,colorStop1:a.options.backgroundColor,colorStop2:"transparent"===a.options.backgroundGradientStopColor?"#FFF":a.options.backgroundGradientStopColor}}},this.getAnimationParameters=function(s,u){var m,b,I,F=a.options.startFromZero||s<0?0:s,G=u<0?0:a.min(u,a.options.maxPercent),Y=Math.abs(Math.round(G-F));return Y>=100?(m=100,b=a.options.animateTitle||a.options.animateSubtitle?Math.round(Y/m):1):(m=Y,b=1),(I=Math.round(a.options.animationDuration/m))<10&&(m=a.options.animationDuration/(I=10),b=!a.options.animateTitle&&!a.options.animateSubtitle&&Y>100?Math.round(100/m):Math.round(Y/m)),b<1&&(b=1),{times:m,step:b,interval:I}},this.animate=function(s,u){a._timerSubscription&&!a._timerSubscription.closed&&a._timerSubscription.unsubscribe();var p=a.options.startFromZero?0:s,m=u,b=a.getAnimationParameters(p,m),I=b.step,F=b.interval,G=p;a._timerSubscription=p<m?(0,mS.H)(0,F).subscribe(function(){(G+=I)<=m?!a.options.animateTitle&&!a.options.animateSubtitle&&G>=100?(a.draw(m),a._timerSubscription.unsubscribe()):a.draw(G):(a.draw(m),a._timerSubscription.unsubscribe())}):(0,mS.H)(0,F).subscribe(function(){(G-=I)>=m?!a.options.animateTitle&&!a.options.animateSubtitle&&m>=100?(a.draw(m),a._timerSubscription.unsubscribe()):a.draw(G):(a.draw(m),a._timerSubscription.unsubscribe())})},this.emitClickEvent=function(s){a.options.renderOnClick&&a.animate(0,a.options.percent),a.onClick.emit(s)},this.applyOptions=function(){for(var s=0,u=Object.keys(a.options);s<u.length;s++){var p=u[s];a.hasOwnProperty(p)&&void 0!==a[p]?a.options[p]=a[p]:a.templateOptions&&void 0!==a.templateOptions[p]&&(a.options[p]=a.templateOptions[p])}a.options.radius=Math.abs(+a.options.radius),a.options.space=+a.options.space,a.options.percent=+a.options.percent>0?+a.options.percent:0,a.options.maxPercent=Math.abs(+a.options.maxPercent),a.options.animationDuration=Math.abs(a.options.animationDuration),a.options.outerStrokeWidth=Math.abs(+a.options.outerStrokeWidth),a.options.innerStrokeWidth=Math.abs(+a.options.innerStrokeWidth),a.options.backgroundPadding=+a.options.backgroundPadding},this.getRelativeY=function(s,u){return(1*(s-u/2)-.18).toFixed(2)+"em"},this.min=function(s,u){return s<u?s:u},this.max=function(s,u){return s>u?s:u},this.uuid=function(){var s=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(p){var m=(s+16*Math.random())%16|0;return s=Math.floor(s/16),("x"==p?m:3&m|8).toString(16)})},this.findSvgElement=function(){if(null===this.svgElement){var s=this.elRef.nativeElement.getElementsByTagName("svg");s.length>0&&(this.svgElement=s[0])}},this.checkViewport=function(){a.findSvgElement();var s=a.isInViewport;a.isInViewport=a.isElementInViewport(a.svgElement),s!==a.isInViewport&&a.onViewportChanged.emit({oldValue:s,newValue:a.isInViewport})},this.onScroll=function(s){a.checkViewport()},this.loadEventsForLazyMode=function(){if(a.options.lazy){a.document.addEventListener("scroll",a.onScroll,!0),a.window.addEventListener("resize",a.onScroll,!0),null===a._viewportChangedSubscriber&&(a._viewportChangedSubscriber=a.onViewportChanged.subscribe(function(u){u.newValue&&a.render()}));var s=(0,mS.H)(0,50).subscribe(function(){null===a.svgElement?a.checkViewport():s.unsubscribe()})}},this.unloadEventsForLazyMode=function(){a.document.removeEventListener("scroll",a.onScroll,!0),a.window.removeEventListener("resize",a.onScroll,!0),null!==a._viewportChangedSubscriber&&(a._viewportChangedSubscriber.unsubscribe(),a._viewportChangedSubscriber=null)},this.document=o,this.window=this.document.defaultView,Object.assign(this.options,t),Object.assign(this.defaultOptions,t)}return(0,k.Z)(r,[{key:"isDrawing",value:function(){return this._timerSubscription&&!this._timerSubscription.closed}},{key:"isElementInViewport",value:function(i){if(null==i)return!1;var s,o=i.getBoundingClientRect(),a=i.parentNode;do{if(s=a.getBoundingClientRect(),o.top>=s.bottom||o.bottom<=s.top||o.left>=s.right||o.right<=s.left)return!1;a=a.parentNode}while(a!=this.document.body);return!(o.top>=(this.window.innerHeight||this.document.documentElement.clientHeight)||o.bottom<=0||o.left>=(this.window.innerWidth||this.document.documentElement.clientWidth)||o.right<=0)}},{key:"ngOnInit",value:function(){this.loadEventsForLazyMode()}},{key:"ngOnDestroy",value:function(){this.unloadEventsForLazyMode()}},{key:"ngOnChanges",value:function(i){this.render(),"lazy"in i&&(i.lazy.currentValue?this.loadEventsForLazyMode():this.unloadEventsForLazyMode())}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.Y36(HA),e.Y36(e.SBq),e.Y36(Et.K0))},n.\u0275cmp=e.Xpm({type:n,selectors:[["circle-progress"]],inputs:{name:"name",class:"class",backgroundGradient:"backgroundGradient",backgroundColor:"backgroundColor",backgroundGradientStopColor:"backgroundGradientStopColor",backgroundOpacity:"backgroundOpacity",backgroundStroke:"backgroundStroke",backgroundStrokeWidth:"backgroundStrokeWidth",backgroundPadding:"backgroundPadding",radius:"radius",space:"space",percent:"percent",toFixed:"toFixed",maxPercent:"maxPercent",renderOnClick:"renderOnClick",units:"units",unitsFontSize:"unitsFontSize",unitsFontWeight:"unitsFontWeight",unitsColor:"unitsColor",outerStrokeGradient:"outerStrokeGradient",outerStrokeWidth:"outerStrokeWidth",outerStrokeColor:"outerStrokeColor",outerStrokeGradientStopColor:"outerStrokeGradientStopColor",outerStrokeLinecap:"outerStrokeLinecap",innerStrokeColor:"innerStrokeColor",innerStrokeWidth:"innerStrokeWidth",titleFormat:"titleFormat",title:"title",titleColor:"titleColor",titleFontSize:"titleFontSize",titleFontWeight:"titleFontWeight",subtitleFormat:"subtitleFormat",subtitle:"subtitle",subtitleColor:"subtitleColor",subtitleFontSize:"subtitleFontSize",subtitleFontWeight:"subtitleFontWeight",imageSrc:"imageSrc",imageHeight:"imageHeight",imageWidth:"imageWidth",animation:"animation",animateTitle:"animateTitle",animateSubtitle:"animateSubtitle",animationDuration:"animationDuration",showTitle:"showTitle",showSubtitle:"showSubtitle",showUnits:"showUnits",showImage:"showImage",showBackground:"showBackground",showInnerStroke:"showInnerStroke",clockwise:"clockwise",responsive:"responsive",startFromZero:"startFromZero",showZeroOuterStroke:"showZeroOuterStroke",lazy:"lazy",templateOptions:["options","templateOptions"]},outputs:{onClick:"onClick"},features:[e.TTD],decls:1,vars:1,consts:[["xmlns","http://www.w3.org/2000/svg","preserveAspectRatio","xMidYMid meet",3,"click",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","preserveAspectRatio","xMidYMid meet",3,"click"],[4,"ngIf"],["alignment-baseline","baseline",4,"ngIf"],["preserveAspectRatio","none",4,"ngIf"],["offset","5%"],["offset","95%"],["alignment-baseline","baseline"],[4,"ngFor","ngForOf"],["preserveAspectRatio","none"]],template:function(t,i){1&t&&e.YNc(0,ure,9,11,"svg",0),2&t&&e.Q6J("ngIf",i.svg)},directives:[Et.O5,Et.sg],encapsulation:2}),n}(),dre=function(){var n=function(){function r(){(0,g.Z)(this,r)}return(0,k.Z)(r,null,[{key:"forRoot",value:function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:r,providers:[{provide:HA,useValue:i}]}}}]),r}();return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[Et.ez]]}),n}(),mZ=function(){function n(r){(0,g.Z)(this,n),this.rawFile=r;var i=function(n){return!(!n||!(n.nodeName||n.prop&&n.attr&&n.find))}(r)?r.value:r;this["_createFrom"+("string"==typeof i?"FakePath":"Object")](i)}return(0,k.Z)(n,[{key:"_createFromFakePath",value:function(t){this.lastModifiedDate=void 0,this.size=void 0,this.type="like/"+t.slice(t.lastIndexOf(".")+1).toLowerCase(),this.name=t.slice(t.lastIndexOf("/")+t.lastIndexOf("\\")+2)}},{key:"_createFromObject",value:function(t){this.size=t.size,this.type=t.type,this.name=t.name}}]),n}(),fre=function(){function n(r,t,i){(0,g.Z)(this,n),this.url="/",this.headers=[],this.withCredentials=!0,this.formData=[],this.isReady=!1,this.isUploading=!1,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!1,this.isError=!1,this.progress=0,this.index=void 0,this.uploader=r,this.some=t,this.options=i,this.file=new mZ(t),this._file=t,r.options&&(this.method=r.options.method||"POST",this.alias=r.options.itemAlias||"file"),this.url=r.options.url}return(0,k.Z)(n,[{key:"upload",value:function(){try{this.uploader.uploadItem(this)}catch(t){this.uploader._onCompleteItem(this,"",0,{}),this.uploader._onErrorItem(this,"",0,{})}}},{key:"cancel",value:function(){this.uploader.cancelItem(this)}},{key:"remove",value:function(){this.uploader.removeFromQueue(this)}},{key:"onBeforeUpload",value:function(){}},{key:"onBuildForm",value:function(t){return{form:t}}},{key:"onProgress",value:function(t){return{progress:t}}},{key:"onSuccess",value:function(t,i,o){return{response:t,status:i,headers:o}}},{key:"onError",value:function(t,i,o){return{response:t,status:i,headers:o}}},{key:"onCancel",value:function(t,i,o){return{response:t,status:i,headers:o}}},{key:"onComplete",value:function(t,i,o){return{response:t,status:i,headers:o}}},{key:"_onBeforeUpload",value:function(){this.isReady=!0,this.isUploading=!0,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!1,this.isError=!1,this.progress=0,this.onBeforeUpload()}},{key:"_onBuildForm",value:function(t){this.onBuildForm(t)}},{key:"_onProgress",value:function(t){this.progress=t,this.onProgress(t)}},{key:"_onSuccess",value:function(t,i,o){this.isReady=!1,this.isUploading=!1,this.isUploaded=!0,this.isSuccess=!0,this.isCancel=!1,this.isError=!1,this.progress=100,this.index=void 0,this.onSuccess(t,i,o)}},{key:"_onError",value:function(t,i,o){this.isReady=!1,this.isUploading=!1,this.isUploaded=!0,this.isSuccess=!1,this.isCancel=!1,this.isError=!0,this.progress=0,this.index=void 0,this.onError(t,i,o)}},{key:"_onCancel",value:function(t,i,o){this.isReady=!1,this.isUploading=!1,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!0,this.isError=!1,this.progress=0,this.index=void 0,this.onCancel(t,i,o)}},{key:"_onComplete",value:function(t,i,o){this.onComplete(t,i,o),this.uploader.options.removeAfterUpload&&this.remove()}},{key:"_prepareToUploading",value:function(){this.index=this.index||++this.uploader._nextIndex,this.isReady=!0}}]),n}(),hre=function(){var n=function(){function r(){(0,g.Z)(this,r)}return(0,k.Z)(r,null,[{key:"getMimeClass",value:function(i){var o="application";return-1!==this.mime_psd.indexOf(i.type)||i.type.match("image.*")?o="image":i.type.match("video.*")?o="video":i.type.match("audio.*")?o="audio":"application/pdf"===i.type?o="pdf":-1!==this.mime_compress.indexOf(i.type)?o="compress":-1!==this.mime_doc.indexOf(i.type)?o="doc":-1!==this.mime_xsl.indexOf(i.type)?o="xls":-1!==this.mime_ppt.indexOf(i.type)&&(o="ppt"),"application"===o&&(o=this.fileTypeDetection(i.name)),o}},{key:"fileTypeDetection",value:function(i){var o={jpg:"image",jpeg:"image",tif:"image",psd:"image",bmp:"image",png:"image",nef:"image",tiff:"image",cr2:"image",dwg:"image",cdr:"image",ai:"image",indd:"image",pin:"image",cdp:"image",skp:"image",stp:"image","3dm":"image",mp3:"audio",wav:"audio",wma:"audio",mod:"audio",m4a:"audio",compress:"compress",zip:"compress",rar:"compress","7z":"compress",lz:"compress",z01:"compress",bz2:"compress",gz:"compress",pdf:"pdf",xls:"xls",xlsx:"xls",ods:"xls",mp4:"video",avi:"video",wmv:"video",mpg:"video",mts:"video",flv:"video","3gp":"video",vob:"video",m4v:"video",mpeg:"video",m2ts:"video",mov:"video",doc:"doc",docx:"doc",eps:"doc",txt:"doc",odt:"doc",rtf:"doc",ppt:"ppt",pptx:"ppt",pps:"ppt",ppsx:"ppt",odp:"ppt"},a=i.split(".");if(a.length<2)return"application";var s=a[a.length-1].toLowerCase();return void 0===o[s]?"application":o[s]}}]),r}();return n.mime_doc=["application/msword","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/vnd.ms-word.document.macroEnabled.12","application/vnd.ms-word.template.macroEnabled.12"],n.mime_xsl=["application/vnd.ms-excel","application/vnd.ms-excel","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/vnd.ms-excel.sheet.macroEnabled.12","application/vnd.ms-excel.template.macroEnabled.12","application/vnd.ms-excel.addin.macroEnabled.12","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],n.mime_ppt=["application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/vnd.openxmlformats-officedocument.presentationml.template","application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/vnd.ms-powerpoint.addin.macroEnabled.12","application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],n.mime_psd=["image/photoshop","image/x-photoshop","image/psd","application/photoshop","application/psd","zz-application/zz-winassoc-psd"],n.mime_compress=["application/x-gtar","application/x-gcompress","application/compress","application/x-tar","application/x-rar-compressed","application/octet-stream","application/x-zip-compressed","application/zip-compressed","application/x-7z-compressed","application/gzip","application/x-bzip2"],n}(),tv=function(){function n(r){(0,g.Z)(this,n),this.isUploading=!1,this.queue=[],this.progress=0,this._nextIndex=0,this.options={autoUpload:!1,isHTML5:!0,filters:[],removeAfterUpload:!1,disableMultipart:!1,formatDataFunction:function(i){return i._file},formatDataFunctionIsAsync:!1},this.setOptions(r),this.response=new e.vpe}return(0,k.Z)(n,[{key:"setOptions",value:function(t){this.options=Object.assign(this.options,t),this.authToken=this.options.authToken,this.authTokenHeader=this.options.authTokenHeader||"Authorization",this.autoUpload=this.options.autoUpload,this.options.filters.unshift({name:"queueLimit",fn:this._queueLimitFilter}),this.options.maxFileSize&&this.options.filters.unshift({name:"fileSize",fn:this._fileSizeFilter}),this.options.allowedFileType&&this.options.filters.unshift({name:"fileType",fn:this._fileTypeFilter}),this.options.allowedMimeType&&this.options.filters.unshift({name:"mimeType",fn:this._mimeTypeFilter});for(var i=0;i<this.queue.length;i++)this.queue[i].url=this.options.url}},{key:"addToQueue",value:function(t,i,o){var p,a=this,s=[],u=(0,v.Z)(t);try{for(u.s();!(p=u.n()).done;)s.push(p.value)}catch(G){u.e(G)}finally{u.f()}var b=this._getFilters(o),I=this.queue.length,F=[];s.map(function(G){i||(i=a.options);var Y=new mZ(G);if(a._isValidFile(Y,b,i)){var $=new fre(a,G,i);F.push($),a.queue.push($),a._onAfterAddingFile($)}else a._onWhenAddingFileFailed(Y,b[a._failFilterIndex],i)}),this.queue.length!==I&&(this._onAfterAddingAll(F),this.progress=this._getTotalProgress()),this._render(),this.options.autoUpload&&this.uploadAll()}},{key:"removeFromQueue",value:function(t){var i=this.getIndexOfItem(t),o=this.queue[i];o.isUploading&&o.cancel(),this.queue.splice(i,1),this.progress=this._getTotalProgress()}},{key:"clearQueue",value:function(){for(;this.queue.length;)this.queue[0].remove();this.progress=0}},{key:"uploadItem",value:function(t){var i=this.getIndexOfItem(t),o=this.queue[i],a=this.options.isHTML5?"_xhrTransport":"_iframeTransport";o._prepareToUploading(),!this.isUploading&&(this.isUploading=!0,this[a](o))}},{key:"cancelItem",value:function(t){var i=this.getIndexOfItem(t),o=this.queue[i];o&&o.isUploading&&(this.options.isHTML5?o._xhr:o._form).abort()}},{key:"uploadAll",value:function(){var t=this.getNotUploadedItems().filter(function(i){return!i.isUploading});!t.length||(t.map(function(i){return i._prepareToUploading()}),t[0].upload())}},{key:"cancelAll",value:function(){this.getNotUploadedItems().map(function(i){return i.cancel()})}},{key:"isFile",value:function(t){return function(n){return File&&n instanceof File}(t)}},{key:"isFileLikeObject",value:function(t){return t instanceof mZ}},{key:"getIndexOfItem",value:function(t){return"number"==typeof t?t:this.queue.indexOf(t)}},{key:"getNotUploadedItems",value:function(){return this.queue.filter(function(t){return!t.isUploaded})}},{key:"getReadyItems",value:function(){return this.queue.filter(function(t){return t.isReady&&!t.isUploading}).sort(function(t,i){return t.index-i.index})}},{key:"destroy",value:function(){}},{key:"onAfterAddingAll",value:function(t){return{fileItems:t}}},{key:"onBuildItemForm",value:function(t,i){return{fileItem:t,form:i}}},{key:"onAfterAddingFile",value:function(t){return{fileItem:t}}},{key:"onWhenAddingFileFailed",value:function(t,i,o){return{item:t,filter:i,options:o}}},{key:"onBeforeUploadItem",value:function(t){return{fileItem:t}}},{key:"onProgressItem",value:function(t,i){return{fileItem:t,progress:i}}},{key:"onProgressAll",value:function(t){return{progress:t}}},{key:"onSuccessItem",value:function(t,i,o,a){return{item:t,response:i,status:o,headers:a}}},{key:"onErrorItem",value:function(t,i,o,a){return{item:t,response:i,status:o,headers:a}}},{key:"onCancelItem",value:function(t,i,o,a){return{item:t,response:i,status:o,headers:a}}},{key:"onCompleteItem",value:function(t,i,o,a){return{item:t,response:i,status:o,headers:a}}},{key:"onCompleteAll",value:function(){}},{key:"_mimeTypeFilter",value:function(t){return!(this.options.allowedMimeType&&-1===this.options.allowedMimeType.indexOf(t.type))}},{key:"_fileSizeFilter",value:function(t){return!(this.options.maxFileSize&&t.size>this.options.maxFileSize)}},{key:"_fileTypeFilter",value:function(t){return!(this.options.allowedFileType&&-1===this.options.allowedFileType.indexOf(hre.getMimeClass(t)))}},{key:"_onErrorItem",value:function(t,i,o,a){t._onError(i,o,a),this.onErrorItem(t,i,o,a)}},{key:"_onCompleteItem",value:function(t,i,o,a){t._onComplete(i,o,a),this.onCompleteItem(t,i,o,a);var s=this.getReadyItems()[0];this.isUploading=!1,s?s.upload():(this.onCompleteAll(),this.progress=this._getTotalProgress(),this._render())}},{key:"_headersGetter",value:function(t){return function(i){return i?t[i.toLowerCase()]||void 0:t}}},{key:"_xhrTransport",value:function(t){var s,i=this,o=this,a=t._xhr=new XMLHttpRequest;if(this._onBeforeUploadItem(t),"number"!=typeof t._file.size)throw new TypeError("The file specified is no longer valid");if(this.options.disableMultipart)s=this.options.formatDataFunction(t);else{s=new FormData,this._onBuildItemForm(t,s);var u=function(){return s.append(t.alias,t._file,t.file.name)};this.options.parametersBeforeFiles||u(),void 0!==this.options.additionalParameter&&Object.keys(this.options.additionalParameter).forEach(function(Y){var $=i.options.additionalParameter[Y];"string"==typeof $&&$.indexOf("{{file_name}}")>=0&&($=$.replace("{{file_name}}",t.file.name)),s.append(Y,$)}),this.options.parametersBeforeFiles&&u()}if(a.upload.onprogress=function(Y){var $=Math.round(Y.lengthComputable?100*Y.loaded/Y.total:0);i._onProgressItem(t,$)},a.onload=function(){var Y=i._parseHeaders(a.getAllResponseHeaders()),$=i._transformResponse(a.response,Y),de=i._isSuccessCode(a.status)?"Success":"Error";i["_on"+de+"Item"](t,$,a.status,Y),i._onCompleteItem(t,$,a.status,Y)},a.onerror=function(){var Y=i._parseHeaders(a.getAllResponseHeaders()),$=i._transformResponse(a.response,Y);i._onErrorItem(t,$,a.status,Y),i._onCompleteItem(t,$,a.status,Y)},a.onabort=function(){var Y=i._parseHeaders(a.getAllResponseHeaders()),$=i._transformResponse(a.response,Y);i._onCancelItem(t,$,a.status,Y),i._onCompleteItem(t,$,a.status,Y)},a.open(t.method,t.url,!0),a.withCredentials=t.withCredentials,this.options.headers){var m,p=(0,v.Z)(this.options.headers);try{for(p.s();!(m=p.n()).done;){var b=m.value;a.setRequestHeader(b.name,b.value)}}catch(Y){p.e(Y)}finally{p.f()}}if(t.headers.length){var F,I=(0,v.Z)(t.headers);try{for(I.s();!(F=I.n()).done;){var G=F.value;a.setRequestHeader(G.name,G.value)}}catch(Y){I.e(Y)}finally{I.f()}}this.authToken&&a.setRequestHeader(this.authTokenHeader,this.authToken),a.onreadystatechange=function(){a.readyState==XMLHttpRequest.DONE&&o.response.emit(a.responseText)},this.options.formatDataFunctionIsAsync?s.then(function(Y){return a.send(JSON.stringify(Y))}):a.send(s),this._render()}},{key:"_getTotalProgress",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(this.options.removeAfterUpload)return t;var i=this.getNotUploadedItems().length,o=i?this.queue.length-i:this.queue.length,a=100/this.queue.length,s=t*a/100;return Math.round(o*a+s)}},{key:"_getFilters",value:function(t){if(!t)return this.options.filters;if(Array.isArray(t))return t;if("string"==typeof t){var i=t.match(/[^\s,]+/g);return this.options.filters.filter(function(o){return-1!==i.indexOf(o.name)})}return this.options.filters}},{key:"_render",value:function(){}},{key:"_queueLimitFilter",value:function(){return void 0===this.options.queueLimit||this.queue.length<this.options.queueLimit}},{key:"_isValidFile",value:function(t,i,o){var a=this;return this._failFilterIndex=-1,!i.length||i.every(function(s){return a._failFilterIndex++,s.fn.call(a,t,o)})}},{key:"_isSuccessCode",value:function(t){return t>=200&&t<300||304===t}},{key:"_transformResponse",value:function(t,i){return t}},{key:"_parseHeaders",value:function(t){var o,a,s,i={};return t&&t.split("\n").map(function(u){s=u.indexOf(":"),o=u.slice(0,s).trim().toLowerCase(),a=u.slice(s+1).trim(),o&&(i[o]=i[o]?i[o]+", "+a:a)}),i}},{key:"_onWhenAddingFileFailed",value:function(t,i,o){this.onWhenAddingFileFailed(t,i,o)}},{key:"_onAfterAddingFile",value:function(t){this.onAfterAddingFile(t)}},{key:"_onAfterAddingAll",value:function(t){this.onAfterAddingAll(t)}},{key:"_onBeforeUploadItem",value:function(t){t._onBeforeUpload(),this.onBeforeUploadItem(t)}},{key:"_onBuildItemForm",value:function(t,i){t._onBuildForm(i),this.onBuildItemForm(t,i)}},{key:"_onProgressItem",value:function(t,i){var o=this._getTotalProgress(i);this.progress=o,t._onProgress(i),this.onProgressItem(t,i),this.onProgressAll(o),this._render()}},{key:"_onSuccessItem",value:function(t,i,o,a){t._onSuccess(i,o,a),this.onSuccessItem(t,i,o,a)}},{key:"_onCancelItem",value:function(t,i,o,a){t._onCancel(i,o,a),this.onCancelItem(t,i,o,a)}}]),n}(),vS=function(){var n=function(){function r(t){(0,g.Z)(this,r),this.onFileSelected=new e.vpe,this.element=t}return(0,k.Z)(r,[{key:"getOptions",value:function(){return this.uploader.options}},{key:"getFilters",value:function(){return{}}},{key:"isEmptyAfterSelection",value:function(){return!!this.element.nativeElement.attributes.multiple}},{key:"onChange",value:function(){var i=this.element.nativeElement.files,o=this.getOptions(),a=this.getFilters();this.uploader.addToQueue(i,o,a),this.onFileSelected.emit(i),this.isEmptyAfterSelection()&&(this.element.nativeElement.value="")}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq))},n.\u0275dir=e.lG2({type:n,selectors:[["","ng2FileSelect",""]],hostBindings:function(t,i){1&t&&e.NdJ("change",function(){return i.onChange()})},inputs:{uploader:"uploader"},outputs:{onFileSelected:"onFileSelected"}}),n}(),vre=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[Et.ez]]}),n}(),vZ=function(){function n(){}return Object.defineProperty(n.prototype,"child_process",{get:function(){return this._child_process||(this._child_process=window.require?window.require("child_process"):null),this._child_process},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"isElectronApp",{get:function(){return!!window.navigator.userAgent.match(/Electron/)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"childProcess",{get:function(){return this.child_process?this.child_process:null},enumerable:!0,configurable:!0}),n}(),gre=(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,t){r.__proto__=t}||function(r,t){for(var i in t)t.hasOwnProperty(i)&&(r[i]=t[i])},function(r,t){function i(){this.constructor=r}n(r,t),r.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),_re=function(n){function r(){return n.call(this)||this}return gre(r,n),r.\u0275fac=function(i){return new(i||r)},r.\u0275prov=e.Yz7({token:r,factory:function(i){return r.\u0275fac(i)}}),r}(vZ),yre=function(){function n(){}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[{provide:vZ,useClass:_re}]}),n}(),ds=function(){function n(){(0,g.Z)(this,n)}return(0,k.Z)(n,[{key:"electron",get:function(){return this._electron?this._electron:window&&window.require?(this._electron=window.require("electron"),this._electron):null}},{key:"isElectronApp",get:function(){return!!window.navigator.userAgent.match(/Electron/)}},{key:"isMacOS",get:function(){return this.isElectronApp&&"darwin"===process.platform}},{key:"isWindows",get:function(){return this.isElectronApp&&"win32"===process.platform}},{key:"isLinux",get:function(){return this.isElectronApp&&"linux"===process.platform}},{key:"isX86",get:function(){return this.isElectronApp&&"ia32"===process.arch}},{key:"isX64",get:function(){return this.isElectronApp&&"x64"===process.arch}},{key:"isArm",get:function(){return this.isElectronApp&&"arm"===process.arch}},{key:"desktopCapturer",get:function(){return this.electron?this.electron.desktopCapturer:null}},{key:"ipcRenderer",get:function(){return this.electron?this.electron.ipcRenderer:null}},{key:"remote",get:function(){return this.electron?this.electron.remote:null}},{key:"webFrame",get:function(){return this.electron?this.electron.webFrame:null}},{key:"clipboard",get:function(){return this.electron?this.electron.clipboard:null}},{key:"crashReporter",get:function(){return this.electron?this.electron.crashReporter:null}},{key:"process",get:function(){return this.remote?this.remote.process:null}},{key:"nativeImage",get:function(){return this.electron?this.electron.nativeImage:null}},{key:"screen",get:function(){return this.electron?this.remote.screen:null}},{key:"shell",get:function(){return this.electron?this.electron.shell:null}}]),n}(),bre=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(){return(0,g.Z)(this,i),t.call(this)}return i}(ds);return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),Cre=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[{provide:ds,useClass:bre}]}),n}(),gS=f(88009),Sre=f(64646),GH=f(60131),gZ=f(4499),nv=f(93487),Tre=f(39887),YH=f(31927),Yf=f(13426),_S=f(38575),xre=f(99583),$_=f(64233),wre=f(26575),JH=f(59803),_Z=f(65890),cp=function n(r,t){(0,g.Z)(this,n),this.id=r,this.url=t},VA=function(n){(0,M.Z)(t,n);var r=(0,A.Z)(t);function t(i,o){var a,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return(0,g.Z)(this,t),(a=r.call(this,i,o)).navigationTrigger=s,a.restoredState=u,a}return(0,k.Z)(t,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),t}(cp),rv=function(n){(0,M.Z)(t,n);var r=(0,A.Z)(t);function t(i,o,a){var s;return(0,g.Z)(this,t),(s=r.call(this,i,o)).urlAfterRedirects=a,s}return(0,k.Z)(t,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),t}(cp),yZ=function(n){(0,M.Z)(t,n);var r=(0,A.Z)(t);function t(i,o,a){var s;return(0,g.Z)(this,t),(s=r.call(this,i,o)).reason=a,s}return(0,k.Z)(t,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),t}(cp),QH=function(n){(0,M.Z)(t,n);var r=(0,A.Z)(t);function t(i,o,a){var s;return(0,g.Z)(this,t),(s=r.call(this,i,o)).error=a,s}return(0,k.Z)(t,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),t}(cp),kre=function(n){(0,M.Z)(t,n);var r=(0,A.Z)(t);function t(i,o,a,s){var u;return(0,g.Z)(this,t),(u=r.call(this,i,o)).urlAfterRedirects=a,u.state=s,u}return(0,k.Z)(t,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(cp),Ere=function(n){(0,M.Z)(t,n);var r=(0,A.Z)(t);function t(i,o,a,s){var u;return(0,g.Z)(this,t),(u=r.call(this,i,o)).urlAfterRedirects=a,u.state=s,u}return(0,k.Z)(t,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(cp),Mre=function(n){(0,M.Z)(t,n);var r=(0,A.Z)(t);function t(i,o,a,s,u){var p;return(0,g.Z)(this,t),(p=r.call(this,i,o)).urlAfterRedirects=a,p.state=s,p.shouldActivate=u,p}return(0,k.Z)(t,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),t}(cp),Are=function(n){(0,M.Z)(t,n);var r=(0,A.Z)(t);function t(i,o,a,s){var u;return(0,g.Z)(this,t),(u=r.call(this,i,o)).urlAfterRedirects=a,u.state=s,u}return(0,k.Z)(t,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(cp),Dre=function(n){(0,M.Z)(t,n);var r=(0,A.Z)(t);function t(i,o,a,s){var u;return(0,g.Z)(this,t),(u=r.call(this,i,o)).urlAfterRedirects=a,u.state=s,u}return(0,k.Z)(t,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(cp),KH=function(){function n(r){(0,g.Z)(this,n),this.route=r}return(0,k.Z)(n,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),n}(),XH=function(){function n(r){(0,g.Z)(this,n),this.route=r}return(0,k.Z)(n,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),n}(),Ore=function(){function n(r){(0,g.Z)(this,n),this.snapshot=r}return(0,k.Z)(n,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),n}(),Pre=function(){function n(r){(0,g.Z)(this,n),this.snapshot=r}return(0,k.Z)(n,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),n}(),Ire=function(){function n(r){(0,g.Z)(this,n),this.snapshot=r}return(0,k.Z)(n,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),n}(),Rre=function(){function n(r){(0,g.Z)(this,n),this.snapshot=r}return(0,k.Z)(n,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),n}(),$H=function(){function n(r,t,i){(0,g.Z)(this,n),this.routerEvent=r,this.position=t,this.anchor=i}return(0,k.Z)(n,[{key:"toString",value:function(){var t=this.position?"".concat(this.position[0],", ").concat(this.position[1]):null;return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(t,"')")}}]),n}(),di="primary",Nre=function(){function n(r){(0,g.Z)(this,n),this.params=r||{}}return(0,k.Z)(n,[{key:"has",value:function(t){return Object.prototype.hasOwnProperty.call(this.params,t)}},{key:"get",value:function(t){if(this.has(t)){var i=this.params[t];return Array.isArray(i)?i[0]:i}return null}},{key:"getAll",value:function(t){if(this.has(t)){var i=this.params[t];return Array.isArray(i)?i:[i]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),n}();function ey(n){return new Nre(n)}var eV="ngNavigationCancelingError";function bZ(n){var r=Error("NavigationCancelingError: "+n);return r[eV]=!0,r}function Lre(n,r,t){var i=t.path.split("/");if(i.length>n.length||"full"===t.pathMatch&&(r.hasChildren()||i.length<n.length))return null;for(var o={},a=0;a<i.length;a++){var s=i[a],u=n[a];if(s.startsWith(":"))o[s.substring(1)]=u;else if(s!==u.path)return null}return{consumed:n.slice(0,i.length),posParams:o}}function nd(n,r){var t=n?Object.keys(n):void 0,i=r?Object.keys(r):void 0;if(!t||!i||t.length!=i.length)return!1;for(var o,a=0;a<t.length;a++)if(!tV(n[o=t[a]],r[o]))return!1;return!0}function tV(n,r){if(Array.isArray(n)&&Array.isArray(r)){if(n.length!==r.length)return!1;var t=(0,_.Z)(n).sort(),i=(0,_.Z)(r).sort();return t.every(function(o,a){return i[a]===o})}return n===r}function nV(n){return Array.prototype.concat.apply([],n)}function rV(n){return n.length>0?n[n.length-1]:null}function ps(n,r){for(var t in n)n.hasOwnProperty(t)&&r(n[t],t)}function rd(n){return(0,e.CqO)(n)?n:(0,e.QGY)(n)?(0,ss.D)(Promise.resolve(n)):(0,rr.of)(n)}var Ure={exact:function aV(n,r,t){if(!ov(n.segments,r.segments)||!qA(n.segments,r.segments,t)||n.numberOfChildren!==r.numberOfChildren)return!1;for(var i in r.children)if(!n.children[i]||!aV(n.children[i],r.children[i],t))return!1;return!0},subset:sV},iV={exact:function(n,r){return nd(n,r)},subset:function(n,r){return Object.keys(r).length<=Object.keys(n).length&&Object.keys(r).every(function(t){return tV(n[t],r[t])})},ignored:function(){return!0}};function oV(n,r,t){return Ure[t.paths](n.root,r.root,t.matrixParams)&&iV[t.queryParams](n.queryParams,r.queryParams)&&!("exact"===t.fragment&&n.fragment!==r.fragment)}function sV(n,r,t){return lV(n,r,r.segments,t)}function lV(n,r,t,i){if(n.segments.length>t.length){var o=n.segments.slice(0,t.length);return!(!ov(o,t)||r.hasChildren()||!qA(o,t,i))}if(n.segments.length===t.length){if(!ov(n.segments,t)||!qA(n.segments,t,i))return!1;for(var a in r.children)if(!n.children[a]||!sV(n.children[a],r.children[a],i))return!1;return!0}var s=t.slice(0,n.segments.length),u=t.slice(n.segments.length);return!!(ov(n.segments,s)&&qA(n.segments,s,i)&&n.children[di])&&lV(n.children[di],r,u,i)}function qA(n,r,t){return r.every(function(i,o){return iV[t](n[o].parameters,i.parameters)})}var iv=function(){function n(r,t,i){(0,g.Z)(this,n),this.root=r,this.queryParams=t,this.fragment=i}return(0,k.Z)(n,[{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=ey(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return zre.serialize(this)}}]),n}(),gi=function(){function n(r,t){var i=this;(0,g.Z)(this,n),this.segments=r,this.children=t,this.parent=null,ps(t,function(o,a){return o.parent=i})}return(0,k.Z)(n,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}},{key:"toString",value:function(){return jA(this)}}]),n}(),yS=function(){function n(r,t){(0,g.Z)(this,n),this.path=r,this.parameters=t}return(0,k.Z)(n,[{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=ey(this.parameters)),this._parameterMap}},{key:"toString",value:function(){return pV(this)}}]),n}();function ov(n,r){return n.length===r.length&&n.every(function(t,i){return t.path===r[i].path})}var CZ=function n(){(0,g.Z)(this,n)},uV=function(){function n(){(0,g.Z)(this,n)}return(0,k.Z)(n,[{key:"parse",value:function(t){var i=new eie(t);return new iv(i.parseRootSegment(),i.parseQueryParams(),i.parseFragment())}},{key:"serialize",value:function(t){var i="/".concat(bS(t.root,!0)),o=function(n){var r=Object.keys(n).map(function(t){var i=n[t];return Array.isArray(i)?i.map(function(o){return"".concat(zA(t),"=").concat(zA(o))}).join("&"):"".concat(zA(t),"=").concat(zA(i))}).filter(function(t){return!!t});return r.length?"?".concat(r.join("&")):""}(t.queryParams),a="string"==typeof t.fragment?"#".concat(function(n){return encodeURI(n)}(t.fragment)):"";return"".concat(i).concat(o).concat(a)}}]),n}(),zre=new uV;function jA(n){return n.segments.map(function(r){return pV(r)}).join("/")}function bS(n,r){if(!n.hasChildren())return jA(n);if(r){var t=n.children[di]?bS(n.children[di],!1):"",i=[];return ps(n.children,function(a,s){s!==di&&i.push("".concat(s,":").concat(bS(a,!1)))}),i.length>0?"".concat(t,"(").concat(i.join("//"),")"):t}var o=function(n,r){var t=[];return ps(n.children,function(i,o){o===di&&(t=t.concat(r(i,o)))}),ps(n.children,function(i,o){o!==di&&(t=t.concat(r(i,o)))}),t}(n,function(a,s){return s===di?[bS(n.children[di],!1)]:["".concat(s,":").concat(bS(a,!1))]});return 1===Object.keys(n.children).length&&null!=n.children[di]?"".concat(jA(n),"/").concat(o[0]):"".concat(jA(n),"/(").concat(o.join("//"),")")}function cV(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function zA(n){return cV(n).replace(/%3B/gi,";")}function SZ(n){return cV(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function WA(n){return decodeURIComponent(n)}function dV(n){return WA(n.replace(/\+/g,"%20"))}function pV(n){return"".concat(SZ(n.path)).concat(function(n){return Object.keys(n).map(function(r){return";".concat(SZ(r),"=").concat(SZ(n[r]))}).join("")}(n.parameters))}var Jre=/^[^\/()?;=#]+/;function GA(n){var r=n.match(Jre);return r?r[0]:""}var Qre=/^[^=?&#]+/,Xre=/^[^?&#]+/,eie=function(){function n(r){(0,g.Z)(this,n),this.url=r,this.remaining=r}return(0,k.Z)(n,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new gi([],{}):new gi([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0));var o={};return this.peekStartsWith("(")&&(o=this.parseParens(!1)),(t.length>0||Object.keys(i).length>0)&&(o[di]=new gi(t,i)),o}},{key:"parseSegment",value:function(){var t=GA(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(t),new yS(WA(t),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t}},{key:"parseParam",value:function(t){var i=GA(this.remaining);if(i){this.capture(i);var o="";if(this.consumeOptional("=")){var a=GA(this.remaining);a&&this.capture(o=a)}t[WA(i)]=WA(o)}}},{key:"parseQueryParam",value:function(t){var i=function(n){var r=n.match(Qre);return r?r[0]:""}(this.remaining);if(i){this.capture(i);var o="";if(this.consumeOptional("=")){var a=function(n){var r=n.match(Xre);return r?r[0]:""}(this.remaining);a&&this.capture(o=a)}var s=dV(i),u=dV(o);if(t.hasOwnProperty(s)){var p=t[s];Array.isArray(p)||(t[s]=p=[p]),p.push(u)}else t[s]=u}}},{key:"parseParens",value:function(t){var i={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var o=GA(this.remaining),a=this.remaining[o.length];if("/"!==a&&")"!==a&&";"!==a)throw new Error("Cannot parse url '".concat(this.url,"'"));var s=void 0;o.indexOf(":")>-1?(s=o.substr(0,o.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=di);var u=this.parseChildren();i[s]=1===Object.keys(u).length?u[di]:new gi([],u),this.consumeOptional("//")}return i}},{key:"peekStartsWith",value:function(t){return this.remaining.startsWith(t)}},{key:"consumeOptional",value:function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}},{key:"capture",value:function(t){if(!this.consumeOptional(t))throw new Error('Expected "'.concat(t,'".'))}}]),n}(),fV=function(){function n(r){(0,g.Z)(this,n),this._root=r}return(0,k.Z)(n,[{key:"root",get:function(){return this._root.value}},{key:"parent",value:function(t){var i=this.pathFromRoot(t);return i.length>1?i[i.length-2]:null}},{key:"children",value:function(t){var i=TZ(t,this._root);return i?i.children.map(function(o){return o.value}):[]}},{key:"firstChild",value:function(t){var i=TZ(t,this._root);return i&&i.children.length>0?i.children[0].value:null}},{key:"siblings",value:function(t){var i=xZ(t,this._root);return i.length<2?[]:i[i.length-2].children.map(function(a){return a.value}).filter(function(a){return a!==t})}},{key:"pathFromRoot",value:function(t){return xZ(t,this._root).map(function(i){return i.value})}}]),n}();function TZ(n,r){if(n===r.value)return r;var i,t=(0,v.Z)(r.children);try{for(t.s();!(i=t.n()).done;){var a=TZ(n,i.value);if(a)return a}}catch(s){t.e(s)}finally{t.f()}return null}function xZ(n,r){if(n===r.value)return[r];var i,t=(0,v.Z)(r.children);try{for(t.s();!(i=t.n()).done;){var a=xZ(n,i.value);if(a.length)return a.unshift(r),a}}catch(s){t.e(s)}finally{t.f()}return[]}var dp=function(){function n(r,t){(0,g.Z)(this,n),this.value=r,this.children=t}return(0,k.Z)(n,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),n}();function CS(n){var r={};return n&&n.children.forEach(function(t){return r[t.value.outlet]=t}),r}var hV=function(n){(0,M.Z)(t,n);var r=(0,A.Z)(t);function t(i,o){var a;return(0,g.Z)(this,t),(a=r.call(this,i)).snapshot=o,wZ((0,gS.Z)(a),i),a}return(0,k.Z)(t,[{key:"toString",value:function(){return this.snapshot.toString()}}]),t}(fV);function mV(n,r){var t=function(n,r){var s=new YA([],{},{},"",{},di,r,null,n.root,-1,{});return new gV("",new dp(s,[]))}(n,r),i=new to.X([new yS("",{})]),o=new to.X({}),a=new to.X({}),s=new to.X({}),u=new to.X(""),p=new Pr(i,o,s,u,a,di,r,t.root);return p.snapshot=t.root,new hV(new dp(p,[]),t)}var Pr=function(){function n(r,t,i,o,a,s,u,p){(0,g.Z)(this,n),this.url=r,this.params=t,this.queryParams=i,this.fragment=o,this.data=a,this.outlet=s,this.component=u,this._futureSnapshot=p}return(0,k.Z)(n,[{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe((0,wr.U)(function(t){return ey(t)}))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,wr.U)(function(t){return ey(t)}))),this._queryParamMap}},{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}]),n}();function vV(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",t=n.pathFromRoot,i=0;if("always"!==r)for(i=t.length-1;i>=1;){var o=t[i],a=t[i-1];if(o.routeConfig&&""===o.routeConfig.path)i--;else{if(a.component)break;i--}}return nie(t.slice(i))}function nie(n){return n.reduce(function(r,t){return{params:Object.assign(Object.assign({},r.params),t.params),data:Object.assign(Object.assign({},r.data),t.data),resolve:Object.assign(Object.assign({},r.resolve),t._resolvedData)}},{params:{},data:{},resolve:{}})}var YA=function(){function n(r,t,i,o,a,s,u,p,m,b,I){(0,g.Z)(this,n),this.url=r,this.params=t,this.queryParams=i,this.fragment=o,this.data=a,this.outlet=s,this.component=u,this.routeConfig=p,this._urlSegment=m,this._lastPathIndex=b,this._resolve=I}return(0,k.Z)(n,[{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=ey(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=ey(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){var t=this.url.map(function(o){return o.toString()}).join("/"),i=this.routeConfig?this.routeConfig.path:"";return"Route(url:'".concat(t,"', path:'").concat(i,"')")}}]),n}(),gV=function(n){(0,M.Z)(t,n);var r=(0,A.Z)(t);function t(i,o){var a;return(0,g.Z)(this,t),(a=r.call(this,o)).url=i,wZ((0,gS.Z)(a),o),a}return(0,k.Z)(t,[{key:"toString",value:function(){return _V(this._root)}}]),t}(fV);function wZ(n,r){r.value._routerState=n,r.children.forEach(function(t){return wZ(n,t)})}function _V(n){var r=n.children.length>0?" { ".concat(n.children.map(_V).join(", ")," } "):"";return"".concat(n.value).concat(r)}function kZ(n){if(n.snapshot){var r=n.snapshot,t=n._futureSnapshot;n.snapshot=t,nd(r.queryParams,t.queryParams)||n.queryParams.next(t.queryParams),r.fragment!==t.fragment&&n.fragment.next(t.fragment),nd(r.params,t.params)||n.params.next(t.params),function(n,r){if(n.length!==r.length)return!1;for(var t=0;t<n.length;++t)if(!nd(n[t],r[t]))return!1;return!0}(r.url,t.url)||n.url.next(t.url),nd(r.data,t.data)||n.data.next(t.data)}else n.snapshot=n._futureSnapshot,n.data.next(n._futureSnapshot.data)}function EZ(n,r){return nd(n.params,r.params)&&function(n,r){return ov(n,r)&&n.every(function(t,i){return nd(t.parameters,r[i].parameters)})}(n.url,r.url)&&!(!n.parent!=!r.parent)&&(!n.parent||EZ(n.parent,r.parent))}function JA(n,r,t){if(t&&n.shouldReuseRoute(r.value,t.value.snapshot)){var i=t.value;i._futureSnapshot=r.value;var o=function(n,r,t){return r.children.map(function(i){var a,o=(0,v.Z)(t.children);try{for(o.s();!(a=o.n()).done;){var s=a.value;if(n.shouldReuseRoute(i.value,s.value.snapshot))return JA(n,i,s)}}catch(u){o.e(u)}finally{o.f()}return JA(n,i)})}(n,r,t);return new dp(i,o)}if(n.shouldAttach(r.value)){var a=n.retrieve(r.value);if(null!==a){var s=a.route;return yV(r,s),s}}var u=function(n){return new Pr(new to.X(n.url),new to.X(n.params),new to.X(n.queryParams),new to.X(n.fragment),new to.X(n.data),n.outlet,n.component,n)}(r.value),p=r.children.map(function(m){return JA(n,m)});return new dp(u,p)}function yV(n,r){if(n.value.routeConfig!==r.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(n.children.length!==r.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");r.value._futureSnapshot=n.value;for(var t=0;t<n.children.length;++t)yV(n.children[t],r.children[t])}function aie(n,r,t,i,o){if(0===t.length)return MZ(r.root,r.root,r,i,o);var a=function(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new CV(!0,0,n);var r=0,t=!1,i=n.reduce(function(o,a,s){if("object"==typeof a&&null!=a){if(a.outlets){var u={};return ps(a.outlets,function(p,m){u[m]="string"==typeof p?p.split("/"):p}),[].concat((0,_.Z)(o),[{outlets:u}])}if(a.segmentPath)return[].concat((0,_.Z)(o),[a.segmentPath])}return"string"!=typeof a?[].concat((0,_.Z)(o),[a]):0===s?(a.split("/").forEach(function(p,m){0==m&&"."===p||(0==m&&""===p?t=!0:".."===p?r++:""!=p&&o.push(p))}),o):[].concat((0,_.Z)(o),[a])},[]);return new CV(t,r,i)}(t);if(a.toRoot())return MZ(r.root,new gi([],{}),r,i,o);var s=function(n,r,t){if(n.isAbsolute)return new AZ(r.root,!0,0);if(-1===t.snapshot._lastPathIndex){var i=t.snapshot._urlSegment;return new AZ(i,i===r.root,0)}var a=QA(n.commands[0])?0:1;return function(n,r,t){for(var i=n,o=r,a=t;a>o;){if(a-=o,!(i=i.parent))throw new Error("Invalid number of '../'");o=i.segments.length}return new AZ(i,!1,o-a)}(t.snapshot._urlSegment,t.snapshot._lastPathIndex+a,n.numberOfDoubleDots)}(a,r,n),u=s.processChildren?KA(s.segmentGroup,s.index,a.commands):SV(s.segmentGroup,s.index,a.commands);return MZ(s.segmentGroup,u,r,i,o)}function QA(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function SS(n){return"object"==typeof n&&null!=n&&n.outlets}function MZ(n,r,t,i,o){var a={};return i&&ps(i,function(s,u){a[u]=Array.isArray(s)?s.map(function(p){return"".concat(p)}):"".concat(s)}),new iv(t.root===n?r:bV(t.root,n,r),a,o)}function bV(n,r,t){var i={};return ps(n.children,function(o,a){i[a]=o===r?t:bV(o,r,t)}),new gi(n.segments,i)}var CV=function(){function n(r,t,i){if((0,g.Z)(this,n),this.isAbsolute=r,this.numberOfDoubleDots=t,this.commands=i,r&&i.length>0&&QA(i[0]))throw new Error("Root segment cannot have matrix parameters");var o=i.find(SS);if(o&&o!==rV(i))throw new Error("{outlets:{}} has to be the last command")}return(0,k.Z)(n,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),n}(),AZ=function n(r,t,i){(0,g.Z)(this,n),this.segmentGroup=r,this.processChildren=t,this.index=i};function SV(n,r,t){if(n||(n=new gi([],{})),0===n.segments.length&&n.hasChildren())return KA(n,r,t);var i=function(n,r,t){for(var i=0,o=r,a={match:!1,pathIndex:0,commandIndex:0};o<n.segments.length;){if(i>=t.length)return a;var s=n.segments[o],u=t[i];if(SS(u))break;var p="".concat(u),m=i<t.length-1?t[i+1]:null;if(o>0&&void 0===p)break;if(p&&m&&"object"==typeof m&&void 0===m.outlets){if(!xV(p,m,s))return a;i+=2}else{if(!xV(p,{},s))return a;i++}o++}return{match:!0,pathIndex:o,commandIndex:i}}(n,r,t),o=t.slice(i.commandIndex);if(i.match&&i.pathIndex<n.segments.length){var a=new gi(n.segments.slice(0,i.pathIndex),{});return a.children[di]=new gi(n.segments.slice(i.pathIndex),n.children),KA(a,0,o)}return i.match&&0===o.length?new gi(n.segments,{}):i.match&&!n.hasChildren()?DZ(n,r,t):i.match?KA(n,0,o):DZ(n,r,t)}function KA(n,r,t){if(0===t.length)return new gi(n.segments,{});var i=function(n){return SS(n[0])?n[0].outlets:(0,V.Z)({},di,n)}(t),o={};return ps(i,function(a,s){"string"==typeof a&&(a=[a]),null!==a&&(o[s]=SV(n.children[s],r,a))}),ps(n.children,function(a,s){void 0===i[s]&&(o[s]=a)}),new gi(n.segments,o)}function DZ(n,r,t){for(var i=n.segments.slice(0,r),o=0;o<t.length;){var a=t[o];if(SS(a)){var s=pie(a.outlets);return new gi(i,s)}if(0===o&&QA(t[0]))i.push(new yS(n.segments[r].path,TV(t[0]))),o++;else{var p=SS(a)?a.outlets[di]:"".concat(a),m=o<t.length-1?t[o+1]:null;p&&m&&QA(m)?(i.push(new yS(p,TV(m))),o+=2):(i.push(new yS(p,{})),o++)}}return new gi(i,{})}function pie(n){var r={};return ps(n,function(t,i){"string"==typeof t&&(t=[t]),null!==t&&(r[i]=DZ(new gi([],{}),0,t))}),r}function TV(n){var r={};return ps(n,function(t,i){return r[i]="".concat(t)}),r}function xV(n,r,t){return n==t.path&&nd(r,t.parameters)}var hie=function(){function n(r,t,i,o){(0,g.Z)(this,n),this.routeReuseStrategy=r,this.futureState=t,this.currState=i,this.forwardEvent=o}return(0,k.Z)(n,[{key:"activate",value:function(t){var i=this.futureState._root,o=this.currState?this.currState._root:null;this.deactivateChildRoutes(i,o,t),kZ(this.futureState.root),this.activateChildRoutes(i,o,t)}},{key:"deactivateChildRoutes",value:function(t,i,o){var a=this,s=CS(i);t.children.forEach(function(u){var p=u.value.outlet;a.deactivateRoutes(u,s[p],o),delete s[p]}),ps(s,function(u,p){a.deactivateRouteAndItsChildren(u,o)})}},{key:"deactivateRoutes",value:function(t,i,o){var a=t.value,s=i?i.value:null;if(a===s)if(a.component){var u=o.getContext(a.outlet);u&&this.deactivateChildRoutes(t,i,u.children)}else this.deactivateChildRoutes(t,i,o);else s&&this.deactivateRouteAndItsChildren(i,o)}},{key:"deactivateRouteAndItsChildren",value:function(t,i){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,i):this.deactivateRouteAndOutlet(t,i)}},{key:"detachAndStoreRouteSubtree",value:function(t,i){var o=i.getContext(t.value.outlet);if(o&&o.outlet){var a=o.outlet.detach(),s=o.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:a,route:t,contexts:s})}}},{key:"deactivateRouteAndOutlet",value:function(t,i){for(var o=i.getContext(t.value.outlet),a=o&&t.value.component?o.children:i,s=CS(t),u=0,p=Object.keys(s);u<p.length;u++)this.deactivateRouteAndItsChildren(s[p[u]],a);o&&o.outlet&&(o.outlet.deactivate(),o.children.onOutletDeactivated(),o.attachRef=null,o.resolver=null,o.route=null)}},{key:"activateChildRoutes",value:function(t,i,o){var a=this,s=CS(i);t.children.forEach(function(u){a.activateRoutes(u,s[u.value.outlet],o),a.forwardEvent(new Rre(u.value.snapshot))}),t.children.length&&this.forwardEvent(new Pre(t.value.snapshot))}},{key:"activateRoutes",value:function(t,i,o){var a=t.value,s=i?i.value:null;if(kZ(a),a===s)if(a.component){var u=o.getOrCreateContext(a.outlet);this.activateChildRoutes(t,i,u.children)}else this.activateChildRoutes(t,i,o);else if(a.component){var p=o.getOrCreateContext(a.outlet);if(this.routeReuseStrategy.shouldAttach(a.snapshot)){var m=this.routeReuseStrategy.retrieve(a.snapshot);this.routeReuseStrategy.store(a.snapshot,null),p.children.onOutletReAttached(m.contexts),p.attachRef=m.componentRef,p.route=m.route.value,p.outlet&&p.outlet.attach(m.componentRef,m.route.value),wV(m.route)}else{var b=function(n){for(var r=n.parent;r;r=r.parent){var t=r.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(a.snapshot),I=b?b.module.componentFactoryResolver:null;p.attachRef=null,p.route=a,p.resolver=I,p.outlet&&p.outlet.activateWith(a,I),this.activateChildRoutes(t,null,p.children)}}else this.activateChildRoutes(t,null,o)}}]),n}();function wV(n){kZ(n.value),n.children.forEach(wV)}var OZ=function n(r,t){(0,g.Z)(this,n),this.routes=r,this.module=t};function Jf(n){return"function"==typeof n}function av(n){return n instanceof iv}var TS=Symbol("INITIAL_VALUE");function xS(){return(0,Us.w)(function(n){return(0,vm.aj)(n.map(function(r){return r.pipe((0,$i.q)(1),(0,na.O)(TS))})).pipe((0,YH.R)(function(r,t){var i=!1;return t.reduce(function(o,a,s){return o!==TS?o:(a===TS&&(i=!0),i||!1!==a&&s!==t.length-1&&!av(a)?o:a)},r)},TS),(0,vi.h)(function(r){return r!==TS}),(0,wr.U)(function(r){return av(r)?r:!0===r}),(0,$i.q)(1))})}var kV=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,i){1&t&&e._UZ(0,"router-outlet")},directives:function(){return[a2]},encapsulation:2}),n}();function EV(n){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=0;t<n.length;t++){var i=n[t],o=Sie(r,i);Cie(i,o)}}function Cie(n,r){n.children&&EV(n.children,r)}function Sie(n,r){return r?n||r.path?n&&!r.path?"".concat(n,"/"):!n&&r.path?r.path:"".concat(n,"/").concat(r.path):"":n}function PZ(n){var r=n.children&&n.children.map(PZ),t=r?Object.assign(Object.assign({},n),{children:r}):Object.assign({},n);return!t.component&&(r||t.loadChildren)&&t.outlet&&t.outlet!==di&&(t.component=kV),t}function wu(n){return n.outlet||di}function MV(n,r){var t=n.filter(function(i){return wu(i)===r});return t.push.apply(t,(0,_.Z)(n.filter(function(i){return wu(i)!==r}))),t}var AV={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function XA(n,r,t){var i;if(""===r.path)return"full"===r.pathMatch&&(n.hasChildren()||t.length>0)?Object.assign({},AV):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};var a=(r.matcher||Lre)(t,n,r);if(!a)return Object.assign({},AV);var s={};ps(a.posParams,function(p,m){s[m]=p.path});var u=a.consumed.length>0?Object.assign(Object.assign({},s),a.consumed[a.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:a.consumed,lastChild:a.consumed.length,parameters:u,positionalParamSegments:null!==(i=a.posParams)&&void 0!==i?i:{}}}function $A(n,r,t,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"corrected";if(t.length>0&&wie(n,t,i)){var a=new gi(r,xie(n,r,i,new gi(t,n.children)));return a._sourceSegment=n,a._segmentIndexShift=r.length,{segmentGroup:a,slicedSegments:[]}}if(0===t.length&&kie(n,t,i)){var s=new gi(n.segments,Tie(n,r,t,i,n.children,o));return s._sourceSegment=n,s._segmentIndexShift=r.length,{segmentGroup:s,slicedSegments:t}}var u=new gi(n.segments,n.children);return u._sourceSegment=n,u._segmentIndexShift=r.length,{segmentGroup:u,slicedSegments:t}}function Tie(n,r,t,i,o,a){var p,s={},u=(0,v.Z)(i);try{for(u.s();!(p=u.n()).done;){var m=p.value;if(e2(n,t,m)&&!o[wu(m)]){var b=new gi([],{});b._sourceSegment=n,b._segmentIndexShift="legacy"===a?n.segments.length:r.length,s[wu(m)]=b}}}catch(I){u.e(I)}finally{u.f()}return Object.assign(Object.assign({},o),s)}function xie(n,r,t,i){var o={};o[di]=i,i._sourceSegment=n,i._segmentIndexShift=r.length;var s,a=(0,v.Z)(t);try{for(a.s();!(s=a.n()).done;){var u=s.value;if(""===u.path&&wu(u)!==di){var p=new gi([],{});p._sourceSegment=n,p._segmentIndexShift=r.length,o[wu(u)]=p}}}catch(m){a.e(m)}finally{a.f()}return o}function wie(n,r,t){return t.some(function(i){return e2(n,r,i)&&wu(i)!==di})}function kie(n,r,t){return t.some(function(i){return e2(n,r,i)})}function e2(n,r,t){return(!(n.hasChildren()||r.length>0)||"full"!==t.pathMatch)&&""===t.path}function DV(n,r,t,i){return!!(wu(n)===i||i!==di&&e2(r,t,n))&&("**"===n.path||XA(r,n,t).matched)}function OV(n,r,t){return 0===r.length&&!n.children[t]}var wS=function n(r){(0,g.Z)(this,n),this.segmentGroup=r||null},PV=function n(r){(0,g.Z)(this,n),this.urlTree=r};function t2(n){return new ta.y(function(r){return r.error(new wS(n))})}function IV(n){return new ta.y(function(r){return r.error(new PV(n))})}function Eie(n){return new ta.y(function(r){return r.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(n,"'")))})}var Die=function(){function n(r,t,i,o,a){(0,g.Z)(this,n),this.configLoader=t,this.urlSerializer=i,this.urlTree=o,this.config=a,this.allowRedirects=!0,this.ngModule=r.get(e.h0i)}return(0,k.Z)(n,[{key:"apply",value:function(){var t=this,i=$A(this.urlTree.root,[],[],this.config).segmentGroup,o=new gi(i.segments,i.children);return this.expandSegmentGroup(this.ngModule,this.config,o,di).pipe((0,wr.U)(function(u){return t.createUrlTree(IZ(u),t.urlTree.queryParams,t.urlTree.fragment)})).pipe((0,Yf.K)(function(u){if(u instanceof PV)return t.allowRedirects=!1,t.match(u.urlTree);throw u instanceof wS?t.noMatchError(u):u}))}},{key:"match",value:function(t){var i=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,di).pipe((0,wr.U)(function(s){return i.createUrlTree(IZ(s),t.queryParams,t.fragment)})).pipe((0,Yf.K)(function(s){throw s instanceof wS?i.noMatchError(s):s}))}},{key:"noMatchError",value:function(t){return new Error("Cannot match any routes. URL Segment: '".concat(t.segmentGroup,"'"))}},{key:"createUrlTree",value:function(t,i,o){var a=t.segments.length>0?new gi([],(0,V.Z)({},di,t)):t;return new iv(a,i,o)}},{key:"expandSegmentGroup",value:function(t,i,o,a){return 0===o.segments.length&&o.hasChildren()?this.expandChildren(t,i,o).pipe((0,wr.U)(function(s){return new gi([],s)})):this.expandSegment(t,o,i,o.segments,a,!0)}},{key:"expandChildren",value:function(t,i,o){for(var a=this,s=[],u=0,p=Object.keys(o.children);u<p.length;u++){var m=p[u];"primary"===m?s.unshift(m):s.push(m)}return(0,ss.D)(s).pipe((0,_S.b)(function(b){var I=o.children[b],F=MV(i,b);return a.expandSegmentGroup(t,F,I,b).pipe((0,wr.U)(function(G){return{segment:G,outlet:b}}))}),(0,YH.R)(function(b,I){return b[I.outlet]=I.segment,b},{}),(0,xre.Z)())}},{key:"expandSegment",value:function(t,i,o,a,s,u){var p=this;return(0,ss.D)(o).pipe((0,_S.b)(function(m){return p.expandSegmentAgainstRoute(t,i,o,m,a,s,u).pipe((0,Yf.K)(function(I){if(I instanceof wS)return(0,rr.of)(null);throw I}))}),(0,$_.P)(function(m){return!!m}),(0,Yf.K)(function(m,b){if(m instanceof Sre.K||"EmptyError"===m.name){if(OV(i,a,s))return(0,rr.of)(new gi([],{}));throw new wS(i)}throw m}))}},{key:"expandSegmentAgainstRoute",value:function(t,i,o,a,s,u,p){return DV(a,i,s,u)?void 0===a.redirectTo?this.matchSegmentAgainstRoute(t,i,a,s,u):p&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,i,o,a,s,u):t2(i):t2(i)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(t,i,o,a,s,u){return"**"===a.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,o,a,u):this.expandRegularSegmentAgainstRouteUsingRedirect(t,i,o,a,s,u)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(t,i,o,a){var s=this,u=this.applyRedirectCommands([],o.redirectTo,{});return o.redirectTo.startsWith("/")?IV(u):this.lineralizeSegments(o,u).pipe((0,ua.zg)(function(p){var m=new gi(p,{});return s.expandSegment(t,m,i,p,a,!1)}))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(t,i,o,a,s,u){var p=this,m=XA(i,a,s),I=m.consumedSegments,F=m.lastChild,G=m.positionalParamSegments;if(!m.matched)return t2(i);var Y=this.applyRedirectCommands(I,a.redirectTo,G);return a.redirectTo.startsWith("/")?IV(Y):this.lineralizeSegments(a,Y).pipe((0,ua.zg)(function($){return p.expandSegment(t,i,o,$.concat(s.slice(F)),u,!1)}))}},{key:"matchSegmentAgainstRoute",value:function(t,i,o,a,s){var u=this;if("**"===o.path)return o.loadChildren?(o._loadedConfig?(0,rr.of)(o._loadedConfig):this.configLoader.load(t.injector,o)).pipe((0,wr.U)(function($){return o._loadedConfig=$,new gi(a,{})})):(0,rr.of)(new gi(a,{}));var m=XA(i,o,a),I=m.consumedSegments,F=m.lastChild;if(!m.matched)return t2(i);var G=a.slice(F);return this.getChildConfig(t,o,a).pipe((0,ua.zg)(function($){var de=$.module,Me=$.routes,st=$A(i,I,G,Me),tt=st.segmentGroup,at=st.slicedSegments,pt=new gi(tt.segments,tt.children);if(0===at.length&&pt.hasChildren())return u.expandChildren(de,Me,pt).pipe((0,wr.U)(function(kt){return new gi(I,kt)}));if(0===Me.length&&0===at.length)return(0,rr.of)(new gi(I,{}));var et=wu(o)===s;return u.expandSegment(de,pt,Me,at,et?di:s,!0).pipe((0,wr.U)(function(kt){return new gi(I.concat(kt.segments),kt.children)}))}))}},{key:"getChildConfig",value:function(t,i,o){var a=this;return i.children?(0,rr.of)(new OZ(i.children,t)):i.loadChildren?void 0!==i._loadedConfig?(0,rr.of)(i._loadedConfig):this.runCanLoadGuards(t.injector,i,o).pipe((0,ua.zg)(function(s){return s?a.configLoader.load(t.injector,i).pipe((0,wr.U)(function(u){return i._loadedConfig=u,u})):function(n){return new ta.y(function(r){return r.error(bZ("Cannot load children because the guard of the route \"path: '".concat(n.path,"'\" returned false")))})}(i)})):(0,rr.of)(new OZ([],t))}},{key:"runCanLoadGuards",value:function(t,i,o){var a=this,s=i.canLoad;if(!s||0===s.length)return(0,rr.of)(!0);var u=s.map(function(p){var b,m=t.get(p);if(function(n){return n&&Jf(n.canLoad)}(m))b=m.canLoad(i,o);else{if(!Jf(m))throw new Error("Invalid CanLoad guard");b=m(i,o)}return rd(b)});return(0,rr.of)(u).pipe(xS(),(0,La.b)(function(p){if(av(p)){var m=bZ('Redirecting to "'.concat(a.urlSerializer.serialize(p),'"'));throw m.url=p,m}}),(0,wr.U)(function(p){return!0===p}))}},{key:"lineralizeSegments",value:function(t,i){for(var o=[],a=i.root;;){if(o=o.concat(a.segments),0===a.numberOfChildren)return(0,rr.of)(o);if(a.numberOfChildren>1||!a.children[di])return Eie(t.redirectTo);a=a.children[di]}}},{key:"applyRedirectCommands",value:function(t,i,o){return this.applyRedirectCreatreUrlTree(i,this.urlSerializer.parse(i),t,o)}},{key:"applyRedirectCreatreUrlTree",value:function(t,i,o,a){var s=this.createSegmentGroup(t,i.root,o,a);return new iv(s,this.createQueryParams(i.queryParams,this.urlTree.queryParams),i.fragment)}},{key:"createQueryParams",value:function(t,i){var o={};return ps(t,function(a,s){if("string"==typeof a&&a.startsWith(":")){var p=a.substring(1);o[s]=i[p]}else o[s]=a}),o}},{key:"createSegmentGroup",value:function(t,i,o,a){var s=this,u=this.createSegments(t,i.segments,o,a),p={};return ps(i.children,function(m,b){p[b]=s.createSegmentGroup(t,m,o,a)}),new gi(u,p)}},{key:"createSegments",value:function(t,i,o,a){var s=this;return i.map(function(u){return u.path.startsWith(":")?s.findPosParam(t,u,a):s.findOrReturn(u,o)})}},{key:"findPosParam",value:function(t,i,o){var a=o[i.path.substring(1)];if(!a)throw new Error("Cannot redirect to '".concat(t,"'. Cannot find '").concat(i.path,"'."));return a}},{key:"findOrReturn",value:function(t,i){var s,o=0,a=(0,v.Z)(i);try{for(a.s();!(s=a.n()).done;){var u=s.value;if(u.path===t.path)return i.splice(o),u;o++}}catch(p){a.e(p)}finally{a.f()}return t}}]),n}();function IZ(n){for(var r={},t=0,i=Object.keys(n.children);t<i.length;t++){var o=i[t],s=IZ(n.children[o]);(s.segments.length>0||s.hasChildren())&&(r[o]=s)}return function(n){if(1===n.numberOfChildren&&n.children[di]){var r=n.children[di];return new gi(n.segments.concat(r.segments),r.children)}return n}(new gi(n.segments,r))}var RV=function n(r){(0,g.Z)(this,n),this.path=r,this.route=this.path[this.path.length-1]},n2=function n(r,t){(0,g.Z)(this,n),this.component=r,this.route=t};function Iie(n,r,t){var i=n._root;return kS(i,r?r._root:null,t,[i.value])}function r2(n,r,t){var i=function(n){if(!n)return null;for(var r=n.parent;r;r=r.parent){var t=r.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(r);return(i?i.module.injector:t).get(n)}function kS(n,r,t,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},a=CS(r);return n.children.forEach(function(s){Zie(s,a[s.value.outlet],t,i.concat([s.value]),o),delete a[s.value.outlet]}),ps(a,function(s,u){return ES(s,t.getContext(u),o)}),o}function Zie(n,r,t,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},a=n.value,s=r?r.value:null,u=t?t.getContext(n.value.outlet):null;if(s&&a.routeConfig===s.routeConfig){var p=Lie(s,a,a.routeConfig.runGuardsAndResolvers);p?o.canActivateChecks.push(new RV(i)):(a.data=s.data,a._resolvedData=s._resolvedData),kS(n,r,a.component?u?u.children:null:t,i,o),p&&u&&u.outlet&&u.outlet.isActivated&&o.canDeactivateChecks.push(new n2(u.outlet.component,s))}else s&&ES(r,u,o),o.canActivateChecks.push(new RV(i)),kS(n,null,a.component?u?u.children:null:t,i,o);return o}function Lie(n,r,t){if("function"==typeof t)return t(n,r);switch(t){case"pathParamsChange":return!ov(n.url,r.url);case"pathParamsOrQueryParamsChange":return!ov(n.url,r.url)||!nd(n.queryParams,r.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!EZ(n,r)||!nd(n.queryParams,r.queryParams);case"paramsChange":default:return!EZ(n,r)}}function ES(n,r,t){var i=CS(n),o=n.value;ps(i,function(a,s){ES(a,o.component?r?r.children.getContext(s):null:r,t)}),t.canDeactivateChecks.push(new n2(o.component&&r&&r.outlet&&r.outlet.isActivated?r.outlet.component:null,o))}var Wie=function n(){(0,g.Z)(this,n)};function NV(n){return new ta.y(function(r){return r.error(n)})}var Yie=function(){function n(r,t,i,o,a,s){(0,g.Z)(this,n),this.rootComponentType=r,this.config=t,this.urlTree=i,this.url=o,this.paramsInheritanceStrategy=a,this.relativeLinkResolution=s}return(0,k.Z)(n,[{key:"recognize",value:function(){var t=$A(this.urlTree.root,[],[],this.config.filter(function(u){return void 0===u.redirectTo}),this.relativeLinkResolution).segmentGroup,i=this.processSegmentGroup(this.config,t,di);if(null===i)return null;var o=new YA([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},di,this.rootComponentType,null,this.urlTree.root,-1,{}),a=new dp(o,i),s=new gV(this.url,a);return this.inheritParamsAndData(s._root),s}},{key:"inheritParamsAndData",value:function(t){var i=this,o=t.value,a=vV(o,this.paramsInheritanceStrategy);o.params=Object.freeze(a.params),o.data=Object.freeze(a.data),t.children.forEach(function(s){return i.inheritParamsAndData(s)})}},{key:"processSegmentGroup",value:function(t,i,o){return 0===i.segments.length&&i.hasChildren()?this.processChildren(t,i):this.processSegment(t,i,i.segments,o)}},{key:"processChildren",value:function(t,i){for(var o=[],a=0,s=Object.keys(i.children);a<s.length;a++){var u=s[a],p=i.children[u],m=MV(t,u),b=this.processSegmentGroup(m,p,u);if(null===b)return null;o.push.apply(o,(0,_.Z)(b))}var I=ZV(o);return function(n){n.sort(function(r,t){return r.value.outlet===di?-1:t.value.outlet===di?1:r.value.outlet.localeCompare(t.value.outlet)})}(I),I}},{key:"processSegment",value:function(t,i,o,a){var u,s=(0,v.Z)(t);try{for(s.s();!(u=s.n()).done;){var m=this.processSegmentAgainstRoute(u.value,i,o,a);if(null!==m)return m}}catch(b){s.e(b)}finally{s.f()}return OV(i,o,a)?[]:null}},{key:"processSegmentAgainstRoute",value:function(t,i,o,a){if(t.redirectTo||!DV(t,i,o,a))return null;var s,u=[],p=[];if("**"===t.path){var m=o.length>0?rV(o).parameters:{};s=new YA(o,m,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,BV(t),wu(t),t.component,t,LV(i),FV(i)+o.length,UV(t))}else{var b=XA(i,t,o);if(!b.matched)return null;u=b.consumedSegments,p=o.slice(b.lastChild),s=new YA(u,b.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,BV(t),wu(t),t.component,t,LV(i),FV(i)+u.length,UV(t))}var I=function(n){return n.children?n.children:n.loadChildren?n._loadedConfig.routes:[]}(t),F=$A(i,u,p,I.filter(function(st){return void 0===st.redirectTo}),this.relativeLinkResolution),G=F.segmentGroup,Y=F.slicedSegments;if(0===Y.length&&G.hasChildren()){var $=this.processChildren(I,G);return null===$?null:[new dp(s,$)]}if(0===I.length&&0===Y.length)return[new dp(s,[])];var de=wu(t)===a,Me=this.processSegment(I,G,Y,de?di:a);return null===Me?null:[new dp(s,Me)]}}]),n}();function ZV(n){var o,r=[],t=new Set,i=(0,v.Z)(n);try{var a=function(){var F=o.value;if(!function(n){var r=n.value.routeConfig;return r&&""===r.path&&void 0===r.redirectTo}(F))return r.push(F),"continue";var Y,G=r.find(function($){return F.value.routeConfig===$.value.routeConfig});void 0!==G?((Y=G.children).push.apply(Y,(0,_.Z)(F.children)),t.add(G)):r.push(F)};for(i.s();!(o=i.n()).done;)a()}catch(I){i.e(I)}finally{i.f()}var p,u=(0,v.Z)(t);try{for(u.s();!(p=u.n()).done;){var m=p.value,b=ZV(m.children);r.push(new dp(m.value,b))}}catch(I){u.e(I)}finally{u.f()}return r.filter(function(I){return!t.has(I)})}function LV(n){for(var r=n;r._sourceSegment;)r=r._sourceSegment;return r}function FV(n){for(var r=n,t=r._segmentIndexShift?r._segmentIndexShift:0;r._sourceSegment;)t+=(r=r._sourceSegment)._segmentIndexShift?r._segmentIndexShift:0;return t-1}function BV(n){return n.data||{}}function UV(n){return n.resolve||{}}function RZ(n){return(0,Us.w)(function(r){var t=n(r);return t?(0,ss.D)(t).pipe((0,wr.U)(function(){return r})):(0,rr.of)(r)})}var ooe=function(n){(0,M.Z)(t,n);var r=(0,A.Z)(t);function t(){return(0,g.Z)(this,t),r.apply(this,arguments)}return t}(function(){function n(){(0,g.Z)(this,n)}return(0,k.Z)(n,[{key:"shouldDetach",value:function(t){return!1}},{key:"store",value:function(t,i){}},{key:"shouldAttach",value:function(t){return!1}},{key:"retrieve",value:function(t){return null}},{key:"shouldReuseRoute",value:function(t,i){return t.routeConfig===i.routeConfig}}]),n}()),NZ=new e.OlP("ROUTES"),HV=function(){function n(r,t,i,o){(0,g.Z)(this,n),this.loader=r,this.compiler=t,this.onLoadStartListener=i,this.onLoadEndListener=o}return(0,k.Z)(n,[{key:"load",value:function(t,i){var o=this;if(i._loader$)return i._loader$;this.onLoadStartListener&&this.onLoadStartListener(i);var s=this.loadModuleFactory(i.loadChildren).pipe((0,wr.U)(function(u){o.onLoadEndListener&&o.onLoadEndListener(i);var p=u.create(t);return new OZ(nV(p.injector.get(NZ,void 0,e.XFs.Self|e.XFs.Optional)).map(PZ),p)}),(0,Yf.K)(function(u){throw i._loader$=void 0,u}));return i._loader$=new Tre.c(s,function(){return new On.xQ}).pipe((0,wre.x)()),i._loader$}},{key:"loadModuleFactory",value:function(t){var i=this;return"string"==typeof t?(0,ss.D)(this.loader.load(t)):rd(t()).pipe((0,ua.zg)(function(o){return o instanceof e.YKP?(0,rr.of)(o):(0,ss.D)(i.compiler.compileModuleAsync(o))}))}}]),n}(),aoe=function n(){(0,g.Z)(this,n),this.outlet=null,this.route=null,this.resolver=null,this.children=new ty,this.attachRef=null},ty=function(){function n(){(0,g.Z)(this,n),this.contexts=new Map}return(0,k.Z)(n,[{key:"onChildOutletCreated",value:function(t,i){var o=this.getOrCreateContext(t);o.outlet=i,this.contexts.set(t,o)}},{key:"onChildOutletDestroyed",value:function(t){var i=this.getContext(t);i&&(i.outlet=null)}},{key:"onOutletDeactivated",value:function(){var t=this.contexts;return this.contexts=new Map,t}},{key:"onOutletReAttached",value:function(t){this.contexts=t}},{key:"getOrCreateContext",value:function(t){var i=this.getContext(t);return i||(i=new aoe,this.contexts.set(t,i)),i}},{key:"getContext",value:function(t){return this.contexts.get(t)||null}}]),n}(),loe=function(){function n(){(0,g.Z)(this,n)}return(0,k.Z)(n,[{key:"shouldProcessUrl",value:function(t){return!0}},{key:"extract",value:function(t){return t}},{key:"merge",value:function(t,i){return t}}]),n}();function uoe(n){throw n}function coe(n,r,t){return r.parse("/")}function VV(n,r){return(0,rr.of)(null)}var doe={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},poe={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},kr=function(){var n=function(){function r(t,i,o,a,s,u,p,m){var b=this;(0,g.Z)(this,r),this.rootComponentType=t,this.urlSerializer=i,this.rootContexts=o,this.location=a,this.config=m,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new On.xQ,this.errorHandler=uoe,this.malformedUriErrorHandler=coe,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:VV,afterPreactivation:VV},this.urlHandlingStrategy=new loe,this.routeReuseStrategy=new ooe,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=s.get(e.h0i),this.console=s.get(e.c2e);var G=s.get(e.R0b);this.isNgZoneEnabled=G instanceof e.R0b&&e.R0b.isInAngularZone(),this.resetConfig(m),this.currentUrlTree=new iv(new gi([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new HV(u,p,function($){return b.triggerEvent(new KH($))},function($){return b.triggerEvent(new XH($))}),this.routerState=mV(this.currentUrlTree,this.rootComponentType),this.transitions=new to.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return(0,k.Z)(r,[{key:"browserPageId",get:function(){var i;return null===(i=this.location.getState())||void 0===i?void 0:i.\u0275routerPageId}},{key:"setupNavigations",value:function(i){var o=this,a=this.events;return i.pipe((0,vi.h)(function(s){return 0!==s.id}),(0,wr.U)(function(s){return Object.assign(Object.assign({},s),{extractedUrl:o.urlHandlingStrategy.extract(s.rawUrl)})}),(0,Us.w)(function(s){var u=!1,p=!1;return(0,rr.of)(s).pipe((0,La.b)(function(m){o.currentNavigation={id:m.id,initialUrl:m.currentRawUrl,extractedUrl:m.extractedUrl,trigger:m.source,extras:m.extras,previousNavigation:o.lastSuccessfulNavigation?Object.assign(Object.assign({},o.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,Us.w)(function(m){var b=o.browserUrlTree.toString(),I=!o.navigated||m.extractedUrl.toString()!==b||b!==o.currentUrlTree.toString();if(("reload"===o.onSameUrlNavigation||I)&&o.urlHandlingStrategy.shouldProcessUrl(m.rawUrl))return o2(m.source)&&(o.browserUrlTree=m.extractedUrl),(0,rr.of)(m).pipe((0,Us.w)(function(pt){var Je=o.transitions.getValue();return a.next(new VA(pt.id,o.serializeUrl(pt.extractedUrl),pt.source,pt.restoredState)),Je!==o.transitions.getValue()?nv.E:Promise.resolve(pt)}),function(n,r,t,i){return(0,Us.w)(function(o){return function(n,r,t,i,o){return new Die(n,r,t,i,o).apply()}(n,r,t,o.extractedUrl,i).pipe((0,wr.U)(function(a){return Object.assign(Object.assign({},o),{urlAfterRedirects:a})}))})}(o.ngModule.injector,o.configLoader,o.urlSerializer,o.config),(0,La.b)(function(pt){o.currentNavigation=Object.assign(Object.assign({},o.currentNavigation),{finalUrl:pt.urlAfterRedirects})}),function(n,r,t,i,o){return(0,ua.zg)(function(a){return function(n,r,t,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";try{var s=new Yie(n,r,t,i,o,a).recognize();return null===s?NV(new Wie):(0,rr.of)(s)}catch(u){return NV(u)}}(n,r,a.urlAfterRedirects,t(a.urlAfterRedirects),i,o).pipe((0,wr.U)(function(s){return Object.assign(Object.assign({},a),{targetSnapshot:s})}))})}(o.rootComponentType,o.config,function(pt){return o.serializeUrl(pt)},o.paramsInheritanceStrategy,o.relativeLinkResolution),(0,La.b)(function(pt){"eager"===o.urlUpdateStrategy&&(pt.extras.skipLocationChange||o.setBrowserUrl(pt.urlAfterRedirects,pt),o.browserUrlTree=pt.urlAfterRedirects);var Je=new kre(pt.id,o.serializeUrl(pt.extractedUrl),o.serializeUrl(pt.urlAfterRedirects),pt.targetSnapshot);a.next(Je)}));if(I&&o.rawUrlTree&&o.urlHandlingStrategy.shouldProcessUrl(o.rawUrlTree)){var $=m.extractedUrl,de=m.source,Me=m.restoredState,st=m.extras,tt=new VA(m.id,o.serializeUrl($),de,Me);a.next(tt);var at=mV($,o.rootComponentType).snapshot;return(0,rr.of)(Object.assign(Object.assign({},m),{targetSnapshot:at,urlAfterRedirects:$,extras:Object.assign(Object.assign({},st),{skipLocationChange:!1,replaceUrl:!1})}))}return o.rawUrlTree=m.rawUrl,o.browserUrlTree=m.urlAfterRedirects,m.resolve(null),nv.E}),RZ(function(m){var Y=m.extras;return o.hooks.beforePreactivation(m.targetSnapshot,{navigationId:m.id,appliedUrlTree:m.extractedUrl,rawUrlTree:m.rawUrl,skipLocationChange:!!Y.skipLocationChange,replaceUrl:!!Y.replaceUrl})}),(0,La.b)(function(m){var b=new Ere(m.id,o.serializeUrl(m.extractedUrl),o.serializeUrl(m.urlAfterRedirects),m.targetSnapshot);o.triggerEvent(b)}),(0,wr.U)(function(m){return Object.assign(Object.assign({},m),{guards:Iie(m.targetSnapshot,m.currentSnapshot,o.rootContexts)})}),function(n,r){return(0,ua.zg)(function(t){var i=t.targetSnapshot,o=t.currentSnapshot,a=t.guards,s=a.canActivateChecks,u=a.canDeactivateChecks;return 0===u.length&&0===s.length?(0,rr.of)(Object.assign(Object.assign({},t),{guardsResult:!0})):function(n,r,t,i){return(0,ss.D)(n).pipe((0,ua.zg)(function(o){return function(n,r,t,i,o){var a=r&&r.routeConfig?r.routeConfig.canDeactivate:null;if(!a||0===a.length)return(0,rr.of)(!0);var s=a.map(function(u){var m,p=r2(u,r,o);if(function(n){return n&&Jf(n.canDeactivate)}(p))m=rd(p.canDeactivate(n,r,t,i));else{if(!Jf(p))throw new Error("Invalid CanDeactivate guard");m=rd(p(n,r,t,i))}return m.pipe((0,$_.P)())});return(0,rr.of)(s).pipe(xS())}(o.component,o.route,t,r,i)}),(0,$_.P)(function(o){return!0!==o},!0))}(u,i,o,n).pipe((0,ua.zg)(function(p){return p&&function(n){return"boolean"==typeof n}(p)?function(n,r,t,i){return(0,ss.D)(r).pipe((0,_S.b)(function(o){return(0,GH.z)(function(n,r){return null!==n&&r&&r(new Ore(n)),(0,rr.of)(!0)}(o.route.parent,i),function(n,r){return null!==n&&r&&r(new Ire(n)),(0,rr.of)(!0)}(o.route,i),function(n,r,t){var i=r[r.length-1],a=r.slice(0,r.length-1).reverse().map(function(s){return function(n){var r=n.routeConfig?n.routeConfig.canActivateChild:null;return r&&0!==r.length?{node:n,guards:r}:null}(s)}).filter(function(s){return null!==s}).map(function(s){return(0,gZ.P)(function(){var u=s.guards.map(function(p){var b,m=r2(p,s.node,t);if(function(n){return n&&Jf(n.canActivateChild)}(m))b=rd(m.canActivateChild(i,n));else{if(!Jf(m))throw new Error("Invalid CanActivateChild guard");b=rd(m(i,n))}return b.pipe((0,$_.P)())});return(0,rr.of)(u).pipe(xS())})});return(0,rr.of)(a).pipe(xS())}(n,o.path,t),function(n,r,t){var i=r.routeConfig?r.routeConfig.canActivate:null;if(!i||0===i.length)return(0,rr.of)(!0);var o=i.map(function(a){return(0,gZ.P)(function(){var u,s=r2(a,r,t);if(function(n){return n&&Jf(n.canActivate)}(s))u=rd(s.canActivate(r,n));else{if(!Jf(s))throw new Error("Invalid CanActivate guard");u=rd(s(r,n))}return u.pipe((0,$_.P)())})});return(0,rr.of)(o).pipe(xS())}(n,o.route,t))}),(0,$_.P)(function(o){return!0!==o},!0))}(i,s,n,r):(0,rr.of)(p)}),(0,wr.U)(function(p){return Object.assign(Object.assign({},t),{guardsResult:p})}))})}(o.ngModule.injector,function(m){return o.triggerEvent(m)}),(0,La.b)(function(m){if(av(m.guardsResult)){var b=bZ('Redirecting to "'.concat(o.serializeUrl(m.guardsResult),'"'));throw b.url=m.guardsResult,b}var I=new Mre(m.id,o.serializeUrl(m.extractedUrl),o.serializeUrl(m.urlAfterRedirects),m.targetSnapshot,!!m.guardsResult);o.triggerEvent(I)}),(0,vi.h)(function(m){return!!m.guardsResult||(o.restoreHistory(m),o.cancelNavigationTransition(m,""),!1)}),RZ(function(m){if(m.guards.canActivateChecks.length)return(0,rr.of)(m).pipe((0,La.b)(function(b){var I=new Are(b.id,o.serializeUrl(b.extractedUrl),o.serializeUrl(b.urlAfterRedirects),b.targetSnapshot);o.triggerEvent(I)}),(0,Us.w)(function(b){var I=!1;return(0,rr.of)(b).pipe(function(n,r){return(0,ua.zg)(function(t){var i=t.targetSnapshot,o=t.guards.canActivateChecks;if(!o.length)return(0,rr.of)(t);var a=0;return(0,ss.D)(o).pipe((0,_S.b)(function(s){return function(n,r,t,i){return function(n,r,t,i){var o=Object.keys(n);if(0===o.length)return(0,rr.of)({});var a={};return(0,ss.D)(o).pipe((0,ua.zg)(function(s){return function(n,r,t,i){var o=r2(n,r,i);return rd(o.resolve?o.resolve(r,t):o(r,t))}(n[s],r,t,i).pipe((0,La.b)(function(u){a[s]=u}))}),(0,aE.h)(1),(0,ua.zg)(function(){return Object.keys(a).length===o.length?(0,rr.of)(a):nv.E}))}(n._resolve,n,r,i).pipe((0,wr.U)(function(a){return n._resolvedData=a,n.data=Object.assign(Object.assign({},n.data),vV(n,t).resolve),null}))}(s.route,i,n,r)}),(0,La.b)(function(){return a++}),(0,aE.h)(1),(0,ua.zg)(function(s){return a===o.length?(0,rr.of)(t):nv.E}))})}(o.paramsInheritanceStrategy,o.ngModule.injector),(0,La.b)({next:function(){return I=!0},complete:function(){I||(o.restoreHistory(b),o.cancelNavigationTransition(b,"At least one route resolver didn't emit any value."))}}))}),(0,La.b)(function(b){var I=new Dre(b.id,o.serializeUrl(b.extractedUrl),o.serializeUrl(b.urlAfterRedirects),b.targetSnapshot);o.triggerEvent(I)}))}),RZ(function(m){var Y=m.extras;return o.hooks.afterPreactivation(m.targetSnapshot,{navigationId:m.id,appliedUrlTree:m.extractedUrl,rawUrlTree:m.rawUrl,skipLocationChange:!!Y.skipLocationChange,replaceUrl:!!Y.replaceUrl})}),(0,wr.U)(function(m){var b=function(n,r,t){var i=JA(n,r._root,t?t._root:void 0);return new hV(i,r)}(o.routeReuseStrategy,m.targetSnapshot,m.currentRouterState);return Object.assign(Object.assign({},m),{targetRouterState:b})}),(0,La.b)(function(m){o.currentUrlTree=m.urlAfterRedirects,o.rawUrlTree=o.urlHandlingStrategy.merge(m.urlAfterRedirects,m.rawUrl),o.routerState=m.targetRouterState,"deferred"===o.urlUpdateStrategy&&(m.extras.skipLocationChange||o.setBrowserUrl(o.rawUrlTree,m),o.browserUrlTree=m.urlAfterRedirects)}),function(r,t,i){return(0,wr.U)(function(o){return new hie(t,o.targetRouterState,o.currentRouterState,i).activate(r),o})}(o.rootContexts,o.routeReuseStrategy,function(m){return o.triggerEvent(m)}),(0,La.b)({next:function(){u=!0},complete:function(){u=!0}}),(0,JH.x)(function(){if(!u&&!p){var m="Navigation ID ".concat(s.id," is not equal to the current navigation id ").concat(o.navigationId);"replace"===o.canceledNavigationResolution&&o.restoreHistory(s),o.cancelNavigationTransition(s,m)}o.currentNavigation=null}),(0,Yf.K)(function(m){if(p=!0,function(n){return n&&n[eV]}(m)){var b=av(m.url);b||(o.navigated=!0,o.restoreHistory(s,!0));var I=new yZ(s.id,o.serializeUrl(s.extractedUrl),m.message);a.next(I),b?setTimeout(function(){var G=o.urlHandlingStrategy.merge(m.url,o.rawUrlTree),Y={skipLocationChange:s.extras.skipLocationChange,replaceUrl:"eager"===o.urlUpdateStrategy||o2(s.source)};o.scheduleNavigation(G,"imperative",null,Y,{resolve:s.resolve,reject:s.reject,promise:s.promise})},0):s.resolve(!1)}else{o.restoreHistory(s,!0);var F=new QH(s.id,o.serializeUrl(s.extractedUrl),m);a.next(F);try{s.resolve(o.errorHandler(m))}catch(G){s.reject(G)}}return nv.E}))}))}},{key:"resetRootComponentType",value:function(i){this.rootComponentType=i,this.routerState.root.component=this.rootComponentType}},{key:"getTransition",value:function(){var i=this.transitions.value;return i.urlAfterRedirects=this.browserUrlTree,i}},{key:"setTransition",value:function(i){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),i))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var i=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(o){var a=i.extractLocationChangeInfoFromEvent(o);i.shouldScheduleNavigation(i.lastLocationChangeInfo,a)&&setTimeout(function(){var s=a.source,u=a.state,p=a.urlTree,m={replaceUrl:!0};if(u){var b=Object.assign({},u);delete b.navigationId,delete b.\u0275routerPageId,0!==Object.keys(b).length&&(m.state=b)}i.scheduleNavigation(p,s,u,m)},0),i.lastLocationChangeInfo=a}))}},{key:"extractLocationChangeInfoFromEvent",value:function(i){var o;return{source:"popstate"===i.type?"popstate":"hashchange",urlTree:this.parseUrl(i.url),state:(null===(o=i.state)||void 0===o?void 0:o.navigationId)?i.state:null,transitionId:this.getTransition().id}}},{key:"shouldScheduleNavigation",value:function(i,o){if(!i)return!0;var a=o.urlTree.toString()===i.urlTree.toString();return!(o.transitionId===i.transitionId&&a&&("hashchange"===o.source&&"popstate"===i.source||"popstate"===o.source&&"hashchange"===i.source))}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(i){this.events.next(i)}},{key:"resetConfig",value:function(i){EV(i),this.config=i.map(PZ),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}},{key:"createUrlTree",value:function(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=o.relativeTo,s=o.queryParams,u=o.fragment,p=o.queryParamsHandling,m=o.preserveFragment,b=a||this.routerState.root,I=m?this.currentUrlTree.fragment:u,F=null;switch(p){case"merge":F=Object.assign(Object.assign({},this.currentUrlTree.queryParams),s);break;case"preserve":F=this.currentUrlTree.queryParams;break;default:F=s||null}return null!==F&&(F=this.removeEmptyProps(F)),aie(b,this.currentUrlTree,i,F,null!=I?I:null)}},{key:"navigateByUrl",value:function(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1},a=av(i)?i:this.parseUrl(i),s=this.urlHandlingStrategy.merge(a,this.rawUrlTree);return this.scheduleNavigation(s,"imperative",null,o)}},{key:"navigate",value:function(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return foe(i),this.navigateByUrl(this.createUrlTree(i,o),o)}},{key:"serializeUrl",value:function(i){return this.urlSerializer.serialize(i)}},{key:"parseUrl",value:function(i){var o;try{o=this.urlSerializer.parse(i)}catch(a){o=this.malformedUriErrorHandler(a,this.urlSerializer,i)}return o}},{key:"isActive",value:function(i,o){var a;if(a=!0===o?Object.assign({},doe):!1===o?Object.assign({},poe):o,av(i))return oV(this.currentUrlTree,i,a);var s=this.parseUrl(i);return oV(this.currentUrlTree,s,a)}},{key:"removeEmptyProps",value:function(i){return Object.keys(i).reduce(function(o,a){var s=i[a];return null!=s&&(o[a]=s),o},{})}},{key:"processNavigations",value:function(){var i=this;this.navigations.subscribe(function(o){i.navigated=!0,i.lastSuccessfulId=o.id,i.currentPageId=o.targetPageId,i.events.next(new rv(o.id,i.serializeUrl(o.extractedUrl),i.serializeUrl(i.currentUrlTree))),i.lastSuccessfulNavigation=i.currentNavigation,o.resolve(!0)},function(o){i.console.warn("Unhandled Navigation Error: ".concat(o))})}},{key:"scheduleNavigation",value:function(i,o,a,s,u){var p,m;if(this.disposed)return Promise.resolve(!1);var $,de,Me,b=this.getTransition(),I=o2(o)&&b&&!o2(b.source),Y=(this.lastSuccessfulId===b.id||this.currentNavigation?b.rawUrl:b.urlAfterRedirects).toString()===i.toString();if(I&&Y)return Promise.resolve(!0);u?($=u.resolve,de=u.reject,Me=u.promise):Me=new Promise(function(pt,Je){$=pt,de=Je});var tt,st=++this.navigationId;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(a=this.location.getState()),tt=a&&a.\u0275routerPageId?a.\u0275routerPageId:s.replaceUrl||s.skipLocationChange?null!==(p=this.browserPageId)&&void 0!==p?p:0:(null!==(m=this.browserPageId)&&void 0!==m?m:0)+1):tt=0,this.setTransition({id:st,targetPageId:tt,source:o,restoredState:a,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:i,extras:s,resolve:$,reject:de,promise:Me,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Me.catch(function(pt){return Promise.reject(pt)})}},{key:"setBrowserUrl",value:function(i,o){var a=this.urlSerializer.serialize(i),s=Object.assign(Object.assign({},o.extras.state),this.generateNgRouterState(o.id,o.targetPageId));this.location.isCurrentPathEqualTo(a)||o.extras.replaceUrl?this.location.replaceState(a,"",s):this.location.go(a,"",s)}},{key:"restoreHistory",value:function(i){var a,s,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("computed"===this.canceledNavigationResolution){var u=this.currentPageId-i.targetPageId,p="popstate"===i.source||"eager"===this.urlUpdateStrategy||this.currentUrlTree===(null===(a=this.currentNavigation)||void 0===a?void 0:a.finalUrl);p&&0!==u?this.location.historyGo(u):this.currentUrlTree===(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)&&0===u&&(this.resetState(i),this.browserUrlTree=i.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(o&&this.resetState(i),this.resetUrlToCurrentUrlTree())}},{key:"resetState",value:function(i){this.routerState=i.currentRouterState,this.currentUrlTree=i.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,i.rawUrl)}},{key:"resetUrlToCurrentUrlTree",value:function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}},{key:"cancelNavigationTransition",value:function(i,o){var a=new yZ(i.id,this.serializeUrl(i.extractedUrl),o);this.triggerEvent(a),i.resolve(!1)}},{key:"generateNgRouterState",value:function(i,o){return"computed"===this.canceledNavigationResolution?{navigationId:i,"\u0275routerPageId":o}:{navigationId:i}}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.LFG(e.DyG),e.LFG(CZ),e.LFG(ty),e.LFG(Et.Ye),e.LFG(e.zs3),e.LFG(e.v3s),e.LFG(e.Sil),e.LFG(void 0))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}();function foe(n){for(var r=0;r<n.length;r++){var t=n[r];if(null==t)throw new Error("The requested path contains ".concat(t," segment at index ").concat(r))}}function o2(n){return"imperative"!==n}var fa=function(){var n=function(){function r(t,i,o,a,s){(0,g.Z)(this,r),this.router=t,this.route=i,this.commands=[],this.onChanges=new On.xQ,null==o&&a.setAttribute(s.nativeElement,"tabindex","0")}return(0,k.Z)(r,[{key:"ngOnChanges",value:function(i){this.onChanges.next(this)}},{key:"routerLink",set:function(i){this.commands=null!=i?Array.isArray(i)?i:[i]:[]}},{key:"onClick",value:function(){var i={skipLocationChange:ry(this.skipLocationChange),replaceUrl:ry(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,i),!0}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:ry(this.preserveFragment)})}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.Y36(kr),e.Y36(Pr),e.$8M("tabindex"),e.Y36(e.Qsj),e.Y36(e.SBq))},n.\u0275dir=e.lG2({type:n,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,i){1&t&&e.NdJ("click",function(){return i.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[e.TTD]}),n}(),ny=function(){var n=function(){function r(t,i,o){var a=this;(0,g.Z)(this,r),this.router=t,this.route=i,this.locationStrategy=o,this.commands=[],this.onChanges=new On.xQ,this.subscription=t.events.subscribe(function(s){s instanceof rv&&a.updateTargetUrlAndHref()})}return(0,k.Z)(r,[{key:"routerLink",set:function(i){this.commands=null!=i?Array.isArray(i)?i:[i]:[]}},{key:"ngOnChanges",value:function(i){this.updateTargetUrlAndHref(),this.onChanges.next(this)}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"onClick",value:function(i,o,a,s,u){if(0!==i||o||a||s||u||"string"==typeof this.target&&"_self"!=this.target)return!0;var p={skipLocationChange:ry(this.skipLocationChange),replaceUrl:ry(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,p),!1}},{key:"updateTargetUrlAndHref",value:function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:ry(this.preserveFragment)})}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.Y36(kr),e.Y36(Pr),e.Y36(Et.S$))},n.\u0275dir=e.lG2({type:n,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,i){1&t&&e.NdJ("click",function(a){return i.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),2&t&&(e.Ikx("href",i.href,e.LSH),e.uIk("target",i.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[e.TTD]}),n}();function ry(n){return""===n||!!n}var a2=function(){var n=function(){function r(t,i,o,a,s){(0,g.Z)(this,r),this.parentContexts=t,this.location=i,this.resolver=o,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new e.vpe,this.deactivateEvents=new e.vpe,this.name=a||di,t.onChildOutletCreated(this.name,this)}return(0,k.Z)(r,[{key:"ngOnDestroy",value:function(){this.parentContexts.onChildOutletDestroyed(this.name)}},{key:"ngOnInit",value:function(){if(!this.activated){var i=this.parentContexts.getContext(this.name);i&&i.route&&(i.attachRef?this.attach(i.attachRef,i.route):this.activateWith(i.route,i.resolver||null))}}},{key:"isActivated",get:function(){return!!this.activated}},{key:"component",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}},{key:"activatedRoute",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}},{key:"activatedRouteData",get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}},{key:"detach",value:function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var i=this.activated;return this.activated=null,this._activatedRoute=null,i}},{key:"attach",value:function(i,o){this.activated=i,this._activatedRoute=o,this.location.insert(i.hostView)}},{key:"deactivate",value:function(){if(this.activated){var i=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(i)}}},{key:"activateWith",value:function(i,o){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=i;var u=(o=o||this.resolver).resolveComponentFactory(i._futureSnapshot.routeConfig.component),p=this.parentContexts.getOrCreateContext(this.name).children,m=new voe(i,p,this.location.injector);this.activated=this.location.createComponent(u,this.location.length,m),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.Y36(ty),e.Y36(e.s_b),e.Y36(e._Vd),e.$8M("name"),e.Y36(e.sBO))},n.\u0275dir=e.lG2({type:n,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),n}(),voe=function(){function n(r,t,i){(0,g.Z)(this,n),this.route=r,this.childContexts=t,this.parent=i}return(0,k.Z)(n,[{key:"get",value:function(t,i){return t===Pr?this.route:t===ty?this.childContexts:this.parent.get(t,i)}}]),n}(),qV=function n(){(0,g.Z)(this,n)},goe=function(){function n(){(0,g.Z)(this,n)}return(0,k.Z)(n,[{key:"preload",value:function(t,i){return i().pipe((0,Yf.K)(function(){return(0,rr.of)(null)}))}}]),n}(),jV=function(){function n(){(0,g.Z)(this,n)}return(0,k.Z)(n,[{key:"preload",value:function(t,i){return(0,rr.of)(null)}}]),n}(),zV=function(){var n=function(){function r(t,i,o,a,s){(0,g.Z)(this,r),this.router=t,this.injector=a,this.preloadingStrategy=s,this.loader=new HV(i,o,function(b){return t.triggerEvent(new KH(b))},function(b){return t.triggerEvent(new XH(b))})}return(0,k.Z)(r,[{key:"setUpPreloading",value:function(){var i=this;this.subscription=this.router.events.pipe((0,vi.h)(function(o){return o instanceof rv}),(0,_S.b)(function(){return i.preload()})).subscribe(function(){})}},{key:"preload",value:function(){var i=this.injector.get(e.h0i);return this.processRoutes(i,this.router.config)}},{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe()}},{key:"processRoutes",value:function(i,o){var u,a=[],s=(0,v.Z)(o);try{for(s.s();!(u=s.n()).done;){var p=u.value;if(p.loadChildren&&!p.canLoad&&p._loadedConfig){var m=p._loadedConfig;a.push(this.processRoutes(m.module,m.routes))}else p.loadChildren&&!p.canLoad?a.push(this.preloadConfig(i,p)):p.children&&a.push(this.processRoutes(i,p.children))}}catch(b){s.e(b)}finally{s.f()}return(0,ss.D)(a).pipe((0,_Z.J)(),(0,wr.U)(function(b){}))}},{key:"preloadConfig",value:function(i,o){var a=this;return this.preloadingStrategy.preload(o,function(){return(o._loadedConfig?(0,rr.of)(o._loadedConfig):a.loader.load(i.injector,o)).pipe((0,ua.zg)(function(u){return o._loadedConfig=u,a.processRoutes(u.module,u.routes)}))})}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.LFG(kr),e.LFG(e.v3s),e.LFG(e.Sil),e.LFG(e.zs3),e.LFG(qV))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),ZZ=function(){var n=function(){function r(t,i){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,g.Z)(this,r),this.router=t,this.viewportScroller=i,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},o.scrollPositionRestoration=o.scrollPositionRestoration||"disabled",o.anchorScrolling=o.anchorScrolling||"disabled"}return(0,k.Z)(r,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var i=this;return this.router.events.subscribe(function(o){o instanceof VA?(i.store[i.lastId]=i.viewportScroller.getScrollPosition(),i.lastSource=o.navigationTrigger,i.restoredId=o.restoredState?o.restoredState.navigationId:0):o instanceof rv&&(i.lastId=o.id,i.scheduleScrollEvent(o,i.router.parseUrl(o.urlAfterRedirects).fragment))})}},{key:"consumeScrollEvents",value:function(){var i=this;return this.router.events.subscribe(function(o){o instanceof $H&&(o.position?"top"===i.options.scrollPositionRestoration?i.viewportScroller.scrollToPosition([0,0]):"enabled"===i.options.scrollPositionRestoration&&i.viewportScroller.scrollToPosition(o.position):o.anchor&&"enabled"===i.options.anchorScrolling?i.viewportScroller.scrollToAnchor(o.anchor):"disabled"!==i.options.scrollPositionRestoration&&i.viewportScroller.scrollToPosition([0,0]))})}},{key:"scheduleScrollEvent",value:function(i,o){this.router.triggerEvent(new $H(i,"popstate"===this.lastSource?this.store[this.restoredId]:null,o))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.LFG(kr),e.LFG(Et.EM),e.LFG(void 0))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),sv=new e.OlP("ROUTER_CONFIGURATION"),WV=new e.OlP("ROUTER_FORROOT_GUARD"),yoe=[Et.Ye,{provide:CZ,useClass:uV},{provide:kr,useFactory:function(n,r,t,i,o,a,s){var u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},p=arguments.length>8?arguments[8]:void 0,m=arguments.length>9?arguments[9]:void 0,b=new kr(null,n,r,t,i,o,a,nV(s));return p&&(b.urlHandlingStrategy=p),m&&(b.routeReuseStrategy=m),woe(u,b),u.enableTracing&&b.events.subscribe(function(I){var F,G;null===(F=console.group)||void 0===F||F.call(console,"Router Event: ".concat(I.constructor.name)),console.log(I.toString()),console.log(I),null===(G=console.groupEnd)||void 0===G||G.call(console)}),b},deps:[CZ,ty,Et.Ye,e.zs3,e.v3s,e.Sil,NZ,sv,[function n(){(0,g.Z)(this,n)},new e.FiY],[function n(){(0,g.Z)(this,n)},new e.FiY]]},ty,{provide:Pr,useFactory:function(n){return n.routerState.root},deps:[kr]},{provide:e.v3s,useClass:e.EAV},zV,jV,goe,{provide:sv,useValue:{enableTracing:!1}}];function boe(){return new e.PXZ("Router",kr)}var GV=function(){var n=function(){function r(t,i){(0,g.Z)(this,r)}return(0,k.Z)(r,null,[{key:"forRoot",value:function(i,o){return{ngModule:r,providers:[yoe,YV(i),{provide:WV,useFactory:Toe,deps:[[kr,new e.FiY,new e.tp0]]},{provide:sv,useValue:o||{}},{provide:Et.S$,useFactory:Soe,deps:[Et.lw,[new e.tBr(Et.mr),new e.FiY],sv]},{provide:ZZ,useFactory:Coe,deps:[kr,Et.EM,sv]},{provide:qV,useExisting:o&&o.preloadingStrategy?o.preloadingStrategy:jV},{provide:e.PXZ,multi:!0,useFactory:boe},[LZ,{provide:e.ip1,multi:!0,useFactory:Eoe,deps:[LZ]},{provide:JV,useFactory:Moe,deps:[LZ]},{provide:e.tb,multi:!0,useExisting:JV}]]}}},{key:"forChild",value:function(i){return{ngModule:r,providers:[YV(i)]}}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.LFG(WV,8),e.LFG(kr,8))},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({}),n}();function Coe(n,r,t){return t.scrollOffset&&r.setOffset(t.scrollOffset),new ZZ(n,r,t)}function Soe(n,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.useHash?new Et.Do(n,r):new Et.b0(n,r)}function Toe(n){return"guarded"}function YV(n){return[{provide:e.deG,multi:!0,useValue:n},{provide:NZ,multi:!0,useValue:n}]}function woe(n,r){n.errorHandler&&(r.errorHandler=n.errorHandler),n.malformedUriErrorHandler&&(r.malformedUriErrorHandler=n.malformedUriErrorHandler),n.onSameUrlNavigation&&(r.onSameUrlNavigation=n.onSameUrlNavigation),n.paramsInheritanceStrategy&&(r.paramsInheritanceStrategy=n.paramsInheritanceStrategy),n.relativeLinkResolution&&(r.relativeLinkResolution=n.relativeLinkResolution),n.urlUpdateStrategy&&(r.urlUpdateStrategy=n.urlUpdateStrategy)}var LZ=function(){var n=function(){function r(t){(0,g.Z)(this,r),this.injector=t,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new On.xQ}return(0,k.Z)(r,[{key:"appInitializer",value:function(){var i=this;return this.injector.get(Et.V_,Promise.resolve(null)).then(function(){if(i.destroyed)return Promise.resolve(!0);var a=null,s=new Promise(function(m){return a=m}),u=i.injector.get(kr),p=i.injector.get(sv);return"disabled"===p.initialNavigation?(u.setUpLocationChangeListener(),a(!0)):"enabled"===p.initialNavigation||"enabledBlocking"===p.initialNavigation?(u.hooks.afterPreactivation=function(){return i.initNavigation?(0,rr.of)(null):(i.initNavigation=!0,a(!0),i.resultOfPreactivationDone)},u.initialNavigation()):a(!0),s})}},{key:"bootstrapListener",value:function(i){var o=this.injector.get(sv),a=this.injector.get(zV),s=this.injector.get(ZZ),u=this.injector.get(kr),p=this.injector.get(e.z2F);i===p.components[0]&&(("enabledNonBlocking"===o.initialNavigation||void 0===o.initialNavigation)&&u.initialNavigation(),a.setUpPreloading(),s.init(),u.resetRootComponentType(p.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"ngOnDestroy",value:function(){this.destroyed=!0}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.LFG(e.zs3))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}();function Eoe(n){return n.appInitializer.bind(n)}function Moe(n){return n.bootstrapListener.bind(n)}var JV=new e.OlP("Router Initializer"),s2=function(){return function(){}}(),Yo=f(96153),Hr=function(){function n(r){this.httpServer=r,this.serverIds=[],this.serviceInitialized=new On.xQ,this.serverIds=this.getServerIds(),this.isServiceInitialized=!0,this.serviceInitialized.next(this.isServiceInitialized)}return n.prototype.getServerIds=function(){var r=localStorage.getItem("serverIds");return(null==r?void 0:r.length)>0?r.split(","):[]},n.prototype.updateServerIds=function(){localStorage.removeItem("serverIds"),localStorage.setItem("serverIds",this.serverIds.toString())},n.prototype.get=function(r){var t=JSON.parse(localStorage.getItem("server-"+r));return new Promise(function(o){o(t)})},n.prototype.create=function(r){return r.id=this.serverIds.length+1,localStorage.setItem("server-"+r.id,JSON.stringify(r)),this.serverIds.push("server-"+r.id),this.updateServerIds(),new Promise(function(i){i(r)})},n.prototype.update=function(r){return localStorage.removeItem("server-"+r.id),localStorage.setItem("server-"+r.id,JSON.stringify(r)),new Promise(function(i){i(r)})},n.prototype.findAll=function(){var r=this;return new Promise(function(i){var o=[];r.serverIds.forEach(function(a){var s=JSON.parse(localStorage.getItem(a));o.push(s)}),i(o)})},n.prototype.delete=function(r){return localStorage.removeItem("server-"+r.id),this.serverIds=this.serverIds.filter(function(i){return i!=="server-"+r.id}),this.updateServerIds(),new Promise(function(i){i(r.id)})},n.prototype.getServerUrl=function(r){return r.protocol+"//"+r.host+":"+r.port+"/"},n.prototype.checkServerVersion=function(r){return this.httpServer.get(r,"/version")},n.prototype.getLocalServer=function(r,t){var i=this;return new Promise(function(a,s){i.findAll().then(function(u){var p=u.find(function(b){return"bundled"===b.location});if(p)p.host=r,p.port=t,p.protocol=location.protocol,i.update(p).then(function(b){a(b)},s);else{var m=new s2;m.name="local",m.host=r,m.port=t,m.location="bundled",m.protocol=location.protocol,i.create(m).then(function(b){a(b)},s)}},s)})},n.\u0275fac=function(t){return new(t||n)(e.LFG(Yo.wh))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),MS=function(){return function(r,t,i){void 0===i&&(i=!1),this.visible=r,this.error=t,this.clear=i}}(),Qf=function(){function n(){this.state=new to.X(new MS(!1))}return n.prototype.setError=function(r){this.state.next(new MS(!1,r.error))},n.prototype.clear=function(){this.state.next(new MS(!1,null,!0))},n.prototype.activate=function(){this.state.next(new MS(!0))},n.prototype.deactivate=function(){this.state.next(new MS(!1))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}();function Doe(n,r){if(1&n&&(e.O4$(),e._UZ(0,"circle",3)),2&n){var t=e.oxw();e.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),e.uIk("r",t._getCircleRadius())}}function Ooe(n,r){if(1&n&&(e.O4$(),e._UZ(0,"circle",3)),2&n){var t=e.oxw();e.Udp("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),e.uIk("r",t._getCircleRadius())}}function Poe(n,r){if(1&n&&(e.O4$(),e._UZ(0,"circle",3)),2&n){var t=e.oxw();e.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),e.uIk("r",t._getCircleRadius())}}function Ioe(n,r){if(1&n&&(e.O4$(),e._UZ(0,"circle",3)),2&n){var t=e.oxw();e.Udp("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),e.uIk("r",t._getCircleRadius())}}var QV=".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:currentColor;stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{animation:mat-progress-spinner-stroke-rotate-fallback 10000ms cubic-bezier(0.87, 0.03, 0.33, 1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0deg)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}\n",Noe=(0,ln.pj)(function(){return function n(r){(0,g.Z)(this,n),this._elementRef=r}}(),"primary"),KV=new e.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}}),Foe=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s,u,p){var m;(0,g.Z)(this,i),(m=t.call(this,o))._document=s,m._diameter=100,m._value=0,m._fallbackAnimation=!1,m.mode="determinate";var b=i._diameters;return m._spinnerAnimationLabel=m._getSpinnerAnimationLabel(),b.has(s.head)||b.set(s.head,new Set([100])),m._fallbackAnimation=a.EDGE||a.TRIDENT,m._noopAnimations="NoopAnimations"===u&&!!p&&!p._forceAnimations,p&&(p.diameter&&(m.diameter=p.diameter),p.strokeWidth&&(m.strokeWidth=p.strokeWidth)),m}return(0,k.Z)(i,[{key:"diameter",get:function(){return this._diameter},set:function(a){this._diameter=(0,Dn.su)(a),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}},{key:"strokeWidth",get:function(){return this._strokeWidth||this.diameter/10},set:function(a){this._strokeWidth=(0,Dn.su)(a)}},{key:"value",get:function(){return"determinate"===this.mode?this._value:0},set:function(a){this._value=Math.max(0,Math.min(100,(0,Dn.su)(a)))}},{key:"ngOnInit",value:function(){var a=this._elementRef.nativeElement;this._styleRoot=(0,$r.kV)(a)||this._document.head,this._attachStyleNode();var s="mat-progress-spinner-indeterminate".concat(this._fallbackAnimation?"-fallback":"","-animation");a.classList.add(s)}},{key:"_getCircleRadius",value:function(){return(this.diameter-10)/2}},{key:"_getViewBox",value:function(){var a=2*this._getCircleRadius()+this.strokeWidth;return"0 0 ".concat(a," ").concat(a)}},{key:"_getStrokeCircumference",value:function(){return 2*Math.PI*this._getCircleRadius()}},{key:"_getStrokeDashOffset",value:function(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._getStrokeCircumference():null}},{key:"_getCircleStrokeWidth",value:function(){return this.strokeWidth/this.diameter*100}},{key:"_attachStyleNode",value:function(){var a=this._styleRoot,s=this._diameter,u=i._diameters,p=u.get(a);if(!p||!p.has(s)){var m=this._document.createElement("style");m.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),m.textContent=this._getAnimationText(),a.appendChild(m),p||(p=new Set,u.set(a,p)),p.add(s)}}},{key:"_getAnimationText",value:function(){var a=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n    0%      { stroke-dashoffset: START_VALUE;  transform: rotate(0); }\n    12.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(0); }\n    12.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(72.5deg); }\n    25%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(72.5deg); }\n\n    25.0001%   { stroke-dashoffset: START_VALUE;  transform: rotate(270deg); }\n    37.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(270deg); }\n    37.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(161.5deg); }\n    50%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(161.5deg); }\n\n    50.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(180deg); }\n    62.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(180deg); }\n    62.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(251.5deg); }\n    75%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(251.5deg); }\n\n    75.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(90deg); }\n    87.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(90deg); }\n    87.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(341.5deg); }\n    100%    { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(341.5deg); }\n  }\n".replace(/START_VALUE/g,"".concat(.95*a)).replace(/END_VALUE/g,"".concat(.2*a)).replace(/DIAMETER/g,"".concat(this._spinnerAnimationLabel))}},{key:"_getSpinnerAnimationLabel",value:function(){return this.diameter.toString().replace(".","_")}}]),i}(Noe);return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36($r.t4),e.Y36(Et.K0,8),e.Y36(_s.Qb,8),e.Y36(KV))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(t,i){2&t&&(e.uIk("aria-valuemin","determinate"===i.mode?0:null)("aria-valuemax","determinate"===i.mode?100:null)("aria-valuenow","determinate"===i.mode?i.value:null)("mode",i.mode),e.Udp("width",i.diameter,"px")("height",i.diameter,"px"),e.ekj("_mat-animation-noopable",i._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[e.qOj],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,i){1&t&&(e.O4$(),e.TgZ(0,"svg",0),e.YNc(1,Doe,1,9,"circle",1),e.YNc(2,Ooe,1,7,"circle",2),e.qZA()),2&t&&(e.Udp("width",i.diameter,"px")("height",i.diameter,"px"),e.Q6J("ngSwitch","indeterminate"===i.mode),e.uIk("viewBox",i._getViewBox()),e.xp6(1),e.Q6J("ngSwitchCase",!0),e.xp6(1),e.Q6J("ngSwitchCase",!1))},directives:[Et.RF,Et.n9],styles:[QV],encapsulation:2,changeDetection:0}),n._diameters=new WeakMap,n}(),XV=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s,u,p){var m;return(0,g.Z)(this,i),(m=t.call(this,o,a,s,u,p)).mode="indeterminate",m}return i}(Foe);return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36($r.t4),e.Y36(Et.K0,8),e.Y36(_s.Qb,8),e.Y36(KV))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(t,i){2&t&&(e.Udp("width",i.diameter,"px")("height",i.diameter,"px"),e.ekj("_mat-animation-noopable",i._noopAnimations))},inputs:{color:"color"},features:[e.qOj],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,i){1&t&&(e.O4$(),e.TgZ(0,"svg",0),e.YNc(1,Poe,1,9,"circle",1),e.YNc(2,Ioe,1,7,"circle",2),e.qZA()),2&t&&(e.Udp("width",i.diameter,"px")("height",i.diameter,"px"),e.Q6J("ngSwitch","indeterminate"===i.mode),e.uIk("viewBox",i._getViewBox()),e.xp6(1),e.Q6J("ngSwitchCase",!0),e.xp6(1),e.Q6J("ngSwitchCase",!1))},directives:[Et.RF,Et.n9],styles:[QV],encapsulation:2,changeDetection:0}),n}(),Boe=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[ln.BQ,Et.ez],ln.BQ]}),n}(),Uoe=f(11363),BZ=f(91925),Hoe=["*"];function $V(n){return Error('Unable to find icon with the name "'.concat(n,'"'))}function eq(n){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL "+"via Angular's DomSanitizer. Attempted URL was \"".concat(n,'".'))}function tq(n){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by "+"Angular's DomSanitizer. Attempted literal was \"".concat(n,'".'))}var lv=function n(r,t,i){(0,g.Z)(this,n),this.url=r,this.svgText=t,this.options=i},AS=function(){var n=function(){function r(t,i,o,a){(0,g.Z)(this,r),this._httpClient=t,this._sanitizer=i,this._errorHandler=a,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",this._document=o}return(0,k.Z)(r,[{key:"addSvgIcon",value:function(i,o,a){return this.addSvgIconInNamespace("",i,o,a)}},{key:"addSvgIconLiteral",value:function(i,o,a){return this.addSvgIconLiteralInNamespace("",i,o,a)}},{key:"addSvgIconInNamespace",value:function(i,o,a,s){return this._addSvgIconConfig(i,o,new lv(a,null,s))}},{key:"addSvgIconResolver",value:function(i){return this._resolvers.push(i),this}},{key:"addSvgIconLiteralInNamespace",value:function(i,o,a,s){var u=this._sanitizer.sanitize(e.q3G.HTML,a);if(!u)throw tq(a);return this._addSvgIconConfig(i,o,new lv("",u,s))}},{key:"addSvgIconSet",value:function(i,o){return this.addSvgIconSetInNamespace("",i,o)}},{key:"addSvgIconSetLiteral",value:function(i,o){return this.addSvgIconSetLiteralInNamespace("",i,o)}},{key:"addSvgIconSetInNamespace",value:function(i,o,a){return this._addSvgIconSetConfig(i,new lv(o,null,a))}},{key:"addSvgIconSetLiteralInNamespace",value:function(i,o,a){var s=this._sanitizer.sanitize(e.q3G.HTML,o);if(!s)throw tq(o);return this._addSvgIconSetConfig(i,new lv("",s,a))}},{key:"registerFontClassAlias",value:function(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return this._fontCssClassesByAlias.set(i,o),this}},{key:"classNameForFontAlias",value:function(i){return this._fontCssClassesByAlias.get(i)||i}},{key:"setDefaultFontSetClass",value:function(i){return this._defaultFontSetClass=i,this}},{key:"getDefaultFontSetClass",value:function(){return this._defaultFontSetClass}},{key:"getSvgIconFromUrl",value:function(i){var o=this,a=this._sanitizer.sanitize(e.q3G.RESOURCE_URL,i);if(!a)throw eq(i);var s=this._cachedIconsByUrl.get(a);return s?(0,rr.of)(l2(s)):this._loadSvgIconFromConfig(new lv(i,null)).pipe((0,La.b)(function(u){return o._cachedIconsByUrl.set(a,u)}),(0,wr.U)(function(u){return l2(u)}))}},{key:"getNamedSvgIcon",value:function(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=nq(o,i),s=this._svgIconConfigs.get(a);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(o,i))return this._svgIconConfigs.set(a,s),this._getSvgFromConfig(s);var u=this._iconSetConfigs.get(o);return u?this._getSvgFromIconSetConfigs(i,u):(0,Uoe._)($V(a))}},{key:"ngOnDestroy",value:function(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(i){return i.svgText?(0,rr.of)(l2(this._svgElementFromConfig(i))):this._loadSvgIconFromConfig(i).pipe((0,wr.U)(function(o){return l2(o)}))}},{key:"_getSvgFromIconSetConfigs",value:function(i,o){var a=this,s=this._extractIconWithNameFromAnySet(i,o);if(s)return(0,rr.of)(s);var u=o.filter(function(p){return!p.svgText}).map(function(p){return a._loadSvgIconSetFromConfig(p).pipe((0,Yf.K)(function(m){var b=a._sanitizer.sanitize(e.q3G.RESOURCE_URL,p.url),I="Loading icon set URL: ".concat(b," failed: ").concat(m.message);return a._errorHandler.handleError(new Error(I)),(0,rr.of)(null)}))});return(0,BZ.D)(u).pipe((0,wr.U)(function(){var p=a._extractIconWithNameFromAnySet(i,o);if(!p)throw $V(i);return p}))}},{key:"_extractIconWithNameFromAnySet",value:function(i,o){for(var a=o.length-1;a>=0;a--){var s=o[a];if(s.svgText&&s.svgText.indexOf(i)>-1){var u=this._svgElementFromConfig(s),p=this._extractSvgIconFromSet(u,i,s.options);if(p)return p}}return null}},{key:"_loadSvgIconFromConfig",value:function(i){var o=this;return this._fetchIcon(i).pipe((0,La.b)(function(a){return i.svgText=a}),(0,wr.U)(function(){return o._svgElementFromConfig(i)}))}},{key:"_loadSvgIconSetFromConfig",value:function(i){return i.svgText?(0,rr.of)(null):this._fetchIcon(i).pipe((0,La.b)(function(o){return i.svgText=o}))}},{key:"_extractSvgIconFromSet",value:function(i,o,a){var s=i.querySelector('[id="'.concat(o,'"]'));if(!s)return null;var u=s.cloneNode(!0);if(u.removeAttribute("id"),"svg"===u.nodeName.toLowerCase())return this._setSvgAttributes(u,a);if("symbol"===u.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(u),a);var p=this._svgElementFromString("<svg></svg>");return p.appendChild(u),this._setSvgAttributes(p,a)}},{key:"_svgElementFromString",value:function(i){var o=this._document.createElement("DIV");o.innerHTML=i;var a=o.querySelector("svg");if(!a)throw Error("<svg> tag not found");return a}},{key:"_toSvgElement",value:function(i){for(var o=this._svgElementFromString("<svg></svg>"),a=i.attributes,s=0;s<a.length;s++){var u=a[s],p=u.name;"id"!==p&&o.setAttribute(p,u.value)}for(var b=0;b<i.childNodes.length;b++)i.childNodes[b].nodeType===this._document.ELEMENT_NODE&&o.appendChild(i.childNodes[b].cloneNode(!0));return o}},{key:"_setSvgAttributes",value:function(i,o){return i.setAttribute("fit",""),i.setAttribute("height","100%"),i.setAttribute("width","100%"),i.setAttribute("preserveAspectRatio","xMidYMid meet"),i.setAttribute("focusable","false"),o&&o.viewBox&&i.setAttribute("viewBox",o.viewBox),i}},{key:"_fetchIcon",value:function(i){var a,o=this,s=i.url,u=i.options,p=null!==(a=null==u?void 0:u.withCredentials)&&void 0!==a&&a;if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==s)throw Error('Cannot fetch icon from URL "'.concat(s,'".'));var m=this._sanitizer.sanitize(e.q3G.RESOURCE_URL,s);if(!m)throw eq(s);var b=this._inProgressUrlFetches.get(m);if(b)return b;var I=this._httpClient.get(m,{responseType:"text",withCredentials:p}).pipe((0,JH.x)(function(){return o._inProgressUrlFetches.delete(m)}),(0,gm.B)());return this._inProgressUrlFetches.set(m,I),I}},{key:"_addSvgIconConfig",value:function(i,o,a){return this._svgIconConfigs.set(nq(i,o),a),this}},{key:"_addSvgIconSetConfig",value:function(i,o){var a=this._iconSetConfigs.get(i);return a?a.push(o):this._iconSetConfigs.set(i,[o]),this}},{key:"_svgElementFromConfig",value:function(i){if(!i.svgElement){var o=this._svgElementFromString(i.svgText);this._setSvgAttributes(o,i.options),i.svgElement=o}return i.svgElement}},{key:"_getIconConfigFromResolvers",value:function(i,o){for(var a=0;a<this._resolvers.length;a++){var s=this._resolvers[a](o,i);if(s)return joe(s)?new lv(s.url,null,s.options):new lv(s,null)}}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.LFG(Vc.eN,8),e.LFG(B.H7),e.LFG(Et.K0,8),e.LFG(e.qLn))},n.\u0275prov=e.Yz7({factory:function(){return new n(e.LFG(Vc.eN,8),e.LFG(B.H7),e.LFG(Et.K0,8),e.LFG(e.qLn))},token:n,providedIn:"root"}),n}();function l2(n){return n.cloneNode(!0)}function nq(n,r){return n+":"+r}function joe(n){return!(!n.url||!n.options)}var iy,zoe=(0,ln.pj)(function(){return function n(r){(0,g.Z)(this,n),this._elementRef=r}}()),Woe=new e.OlP("mat-icon-location",{providedIn:"root",factory:function(){var n=(0,e.f3M)(Et.K0),r=n?n.location:null;return{getPathname:function(){return r?r.pathname+r.search:""}}}}),rq=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Joe=rq.map(function(r){return"[".concat(r,"]")}).join(", "),Qoe=/^url\(['"]?#(.*?)['"]?\)$/,sr=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s,u,p){var m;return(0,g.Z)(this,i),(m=t.call(this,o))._iconRegistry=a,m._location=u,m._errorHandler=p,m._inline=!1,m._currentIconFetch=as.w.EMPTY,s||o.nativeElement.setAttribute("aria-hidden","true"),m}return(0,k.Z)(i,[{key:"inline",get:function(){return this._inline},set:function(a){this._inline=(0,Dn.Ig)(a)}},{key:"svgIcon",get:function(){return this._svgIcon},set:function(a){a!==this._svgIcon&&(a?this._updateSvgIcon(a):this._svgIcon&&this._clearSvgElement(),this._svgIcon=a)}},{key:"fontSet",get:function(){return this._fontSet},set:function(a){var s=this._cleanupFontValue(a);s!==this._fontSet&&(this._fontSet=s,this._updateFontIconClasses())}},{key:"fontIcon",get:function(){return this._fontIcon},set:function(a){var s=this._cleanupFontValue(a);s!==this._fontIcon&&(this._fontIcon=s,this._updateFontIconClasses())}},{key:"_splitIconName",value:function(a){if(!a)return["",""];var s=a.split(":");switch(s.length){case 1:return["",s[0]];case 2:return s;default:throw Error('Invalid icon name: "'.concat(a,'"'))}}},{key:"ngOnInit",value:function(){this._updateFontIconClasses()}},{key:"ngAfterViewChecked",value:function(){var a=this._elementsWithExternalReferences;if(a&&a.size){var s=this._location.getPathname();s!==this._previousPath&&(this._previousPath=s,this._prependPathToReferences(s))}}},{key:"ngOnDestroy",value:function(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}},{key:"_usingFontIcon",value:function(){return!this.svgIcon}},{key:"_setSvgElement",value:function(a){this._clearSvgElement();for(var s=a.querySelectorAll("style"),u=0;u<s.length;u++)s[u].textContent+=" ";var p=this._location.getPathname();this._previousPath=p,this._cacheChildrenWithExternalReferences(a),this._prependPathToReferences(p),this._elementRef.nativeElement.appendChild(a)}},{key:"_clearSvgElement",value:function(){var a=this._elementRef.nativeElement,s=a.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();s--;){var u=a.childNodes[s];(1!==u.nodeType||"svg"===u.nodeName.toLowerCase())&&a.removeChild(u)}}},{key:"_updateFontIconClasses",value:function(){if(this._usingFontIcon()){var a=this._elementRef.nativeElement,s=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();s!=this._previousFontSetClass&&(this._previousFontSetClass&&a.classList.remove(this._previousFontSetClass),s&&a.classList.add(s),this._previousFontSetClass=s),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&a.classList.remove(this._previousFontIconClass),this.fontIcon&&a.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}}},{key:"_cleanupFontValue",value:function(a){return"string"==typeof a?a.trim().split(" ")[0]:a}},{key:"_prependPathToReferences",value:function(a){var s=this._elementsWithExternalReferences;s&&s.forEach(function(u,p){u.forEach(function(m){p.setAttribute(m.name,"url('".concat(a,"#").concat(m.value,"')"))})})}},{key:"_cacheChildrenWithExternalReferences",value:function(a){for(var s=a.querySelectorAll(Joe),u=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map,p=function(I){rq.forEach(function(F){var G=s[I],Y=G.getAttribute(F),$=Y?Y.match(Qoe):null;if($){var de=u.get(G);de||u.set(G,de=[]),de.push({name:F,value:$[1]})}})},m=0;m<s.length;m++)p(m)}},{key:"_updateSvgIcon",value:function(a){var s=this;if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),a){var u=this._splitIconName(a),p=(0,C.Z)(u,2),m=p[0],b=p[1];m&&(this._svgNamespace=m),b&&(this._svgName=b),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(b,m).pipe((0,$i.q)(1)).subscribe(function(I){return s._setSvgElement(I)},function(I){var F="Error retrieving icon ".concat(m,":").concat(b,"! ").concat(I.message);s._errorHandler.handleError(new Error(F))})}}}]),i}(zoe);return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(AS),e.$8M("aria-hidden"),e.Y36(Woe),e.Y36(e.qLn))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(t,i){2&t&&(e.uIk("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet),e.ekj("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[e.qOj],ngContentSelectors:Hoe,decls:1,vars:0,template:function(t,i){1&t&&(e.F$t(),e.Hsn(0))},styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[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}\n"],encapsulation:2,changeDetection:0}),n}(),UZ=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[ln.BQ],ln.BQ]}),n}(),iq=["mat-button",""],oq=["*"],aq=".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n",Xoe=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],$oe=(0,ln.pj)((0,ln.Id)((0,ln.Kr)(function(){return function n(r){(0,g.Z)(this,n),this._elementRef=r}}()))),Mn=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s){var u;(0,g.Z)(this,i),(u=t.call(this,o))._focusMonitor=a,u._animationMode=s,u.isRoundButton=u._hasHostAttributes("mat-fab","mat-mini-fab"),u.isIconButton=u._hasHostAttributes("mat-icon-button");var m,p=(0,v.Z)(Xoe);try{for(p.s();!(m=p.n()).done;){var b=m.value;u._hasHostAttributes(b)&&u._getHostElement().classList.add(b)}}catch(I){p.e(I)}finally{p.f()}return o.nativeElement.classList.add("mat-button-base"),u.isRoundButton&&(u.color="accent"),u}return(0,k.Z)(i,[{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this._elementRef,!0)}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(a,s){a?this._focusMonitor.focusVia(this._getHostElement(),a,s):this._getHostElement().focus(s)}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_hasHostAttributes",value:function(){for(var a=this,s=arguments.length,u=new Array(s),p=0;p<s;p++)u[p]=arguments[p];return u.some(function(m){return a._getHostElement().hasAttribute(m)})}}]),i}($oe);return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(Ti.tE),e.Y36(_s.Qb,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(t,i){var o;1&t&&e.Gf(ln.wG,5),2&t&&e.iGM(o=e.CRH())&&(i.ripple=o.first)},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,i){2&t&&(e.uIk("disabled",i.disabled||null),e.ekj("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-button-disabled",i.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[e.qOj],attrs:iq,ngContentSelectors:oq,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,i){1&t&&(e.F$t(),e.TgZ(0,"span",0),e.Hsn(1),e.qZA(),e._UZ(2,"span",1),e._UZ(3,"span",2)),2&t&&(e.xp6(2),e.ekj("mat-button-ripple-round",i.isRoundButton||i.isIconButton),e.Q6J("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i.isIconButton)("matRippleTrigger",i._getHostElement()))},directives:[ln.wG],styles:[aq],encapsulation:2,changeDetection:0}),n}(),eae=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s){return(0,g.Z)(this,i),t.call(this,a,o,s)}return(0,k.Z)(i,[{key:"_haltDisabledEvents",value:function(a){this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}}]),i}(Mn);return n.\u0275fac=function(t){return new(t||n)(e.Y36(Ti.tE),e.Y36(e.SBq),e.Y36(_s.Qb,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(t,i){1&t&&e.NdJ("click",function(a){return i._haltDisabledEvents(a)}),2&t&&(e.uIk("tabindex",i.disabled?-1:i.tabIndex||0)("disabled",i.disabled||null)("aria-disabled",i.disabled.toString()),e.ekj("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-button-disabled",i.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[e.qOj],attrs:iq,ngContentSelectors:oq,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,i){1&t&&(e.F$t(),e.TgZ(0,"span",0),e.Hsn(1),e.qZA(),e._UZ(2,"span",1),e._UZ(3,"span",2)),2&t&&(e.xp6(2),e.ekj("mat-button-ripple-round",i.isRoundButton||i.isIconButton),e.Q6J("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i.isIconButton)("matRippleTrigger",i._getHostElement()))},directives:[ln.wG],styles:[aq],encapsulation:2,changeDetection:0}),n}(),u2=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[ln.si,ln.BQ],ln.BQ]}),n}(),tae=f(18756),sq=new Set,lq=function(){var n=function(){function r(t){(0,g.Z)(this,r),this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):rae}return(0,k.Z)(r,[{key:"matchMedia",value:function(i){return(this._platform.WEBKIT||this._platform.BLINK)&&function(n){if(!sq.has(n))try{iy||((iy=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(iy)),iy.sheet&&(iy.sheet.insertRule("@media ".concat(n," {body{ }}"),0),sq.add(n))}catch(r){console.error(r)}}(i),this._matchMedia(i)}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.LFG($r.t4))},n.\u0275prov=e.Yz7({factory:function(){return new n(e.LFG($r.t4))},token:n,providedIn:"root"}),n}();function rae(n){return{matches:"all"===n||""===n,media:n,addListener:function(){},removeListener:function(){}}}var c2=function(){var n=function(){function r(t,i){(0,g.Z)(this,r),this._mediaMatcher=t,this._zone=i,this._queries=new Map,this._destroySubject=new On.xQ}return(0,k.Z)(r,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(i){var o=this;return uq((0,Dn.Eq)(i)).some(function(s){return o._registerQuery(s).mql.matches})}},{key:"observe",value:function(i){var o=this,s=uq((0,Dn.Eq)(i)).map(function(p){return o._registerQuery(p).observable}),u=(0,vm.aj)(s);return(u=(0,GH.z)(u.pipe((0,$i.q)(1)),u.pipe((0,tae.T)(1),(0,Qk.b)(0)))).pipe((0,wr.U)(function(p){var m={matches:!1,breakpoints:{}};return p.forEach(function(b){var I=b.matches,F=b.query;m.matches=m.matches||I,m.breakpoints[F]=I}),m}))}},{key:"_registerQuery",value:function(i){var o=this;if(this._queries.has(i))return this._queries.get(i);var a=this._mediaMatcher.matchMedia(i),u={observable:new ta.y(function(p){var m=function(I){return o._zone.run(function(){return p.next(I)})};return a.addListener(m),function(){a.removeListener(m)}}).pipe((0,na.O)(a),(0,wr.U)(function(p){return{query:i,matches:p.matches}}),(0,Fr.R)(this._destroySubject)),mql:a};return this._queries.set(i,u),u}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.LFG(lq),e.LFG(e.R0b))},n.\u0275prov=e.Yz7({factory:function(){return new n(e.LFG(lq),e.LFG(e.R0b))},token:n,providedIn:"root"}),n}();function uq(n){return n.map(function(r){return r.split(",")}).reduce(function(r,t){return r.concat(t)}).map(function(r){return r.trim()})}var Kf_Medium="(min-width: 960px) and (max-width: 1279.98px)",Kf_Large="(min-width: 1280px) and (max-width: 1919.98px)",qi=f(80785),iae={tooltipState:(0,on.X$)("state",[(0,on.SB)("initial, void, hidden",(0,on.oB)({opacity:0,transform:"scale(0)"})),(0,on.SB)("visible",(0,on.oB)({transform:"scale(1)"})),(0,on.eR)("* => visible",(0,on.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,on.F4)([(0,on.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,on.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,on.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,on.eR)("* => hidden",(0,on.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,on.oB)({opacity:0})))])},cq="tooltip-panel",dq=(0,$r.i$)({passive:!0}),pq=new e.OlP("mat-tooltip-scroll-strategy"),lae={provide:pq,deps:[eo.aV],useFactory:function(n){return function(){return n.scrollStrategies.reposition({scrollThrottle:20})}}},uae=new e.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),dae=function(){var n=function(){function r(t,i,o,a,s,u,p,m,b,I,F,G){var Y=this;(0,g.Z)(this,r),this._overlay=t,this._elementRef=i,this._scrollDispatcher=o,this._viewContainerRef=a,this._ngZone=s,this._platform=u,this._ariaDescriber=p,this._focusMonitor=m,this._dir=I,this._defaultOptions=F,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new On.xQ,this._handleKeydown=function($){Y._isTooltipVisible()&&$.keyCode===Gr.hY&&!(0,Gr.Vb)($)&&($.preventDefault(),$.stopPropagation(),Y._ngZone.run(function(){return Y.hide(0)}))},this._scrollStrategy=b,this._document=G,F&&(F.position&&(this.position=F.position),F.touchGestures&&(this.touchGestures=F.touchGestures)),I.change.pipe((0,Fr.R)(this._destroyed)).subscribe(function(){Y._overlayRef&&Y._updatePosition(Y._overlayRef)}),s.runOutsideAngular(function(){i.nativeElement.addEventListener("keydown",Y._handleKeydown)})}return(0,k.Z)(r,[{key:"position",get:function(){return this._position},set:function(i){var o;i!==this._position&&(this._position=i,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(o=this._tooltipInstance)||void 0===o||o.show(0),this._overlayRef.updatePosition()))}},{key:"disabled",get:function(){return this._disabled},set:function(i){this._disabled=(0,Dn.Ig)(i),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},{key:"message",get:function(){return this._message},set:function(i){var o=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=i?String(i).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(function(){Promise.resolve().then(function(){o._ariaDescriber.describe(o._elementRef.nativeElement,o.message,"tooltip")})}))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(i){this._tooltipClass=i,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}},{key:"ngAfterViewInit",value:function(){var i=this;this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,Fr.R)(this._destroyed)).subscribe(function(o){o?"keyboard"===o&&i._ngZone.run(function(){return i.show()}):i._ngZone.run(function(){return i.hide(0)})})}},{key:"ngOnDestroy",value:function(){var i=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),i.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(function(o){var a=(0,C.Z)(o,2);i.removeEventListener(a[0],a[1],dq)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(i,this.message,"tooltip"),this._focusMonitor.stopMonitoring(i)}},{key:"show",value:function(){var i=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showDelay;if(!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var a=this._createOverlay();this._detach(),this._portal=this._portal||new qi.C5(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=a.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe((0,Fr.R)(this._destroyed)).subscribe(function(){return i._detach()}),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(o)}}},{key:"hide",value:function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hideDelay;this._tooltipInstance&&this._tooltipInstance.hide(i)}},{key:"toggle",value:function(){this._isTooltipVisible()?this.hide():this.show()}},{key:"_isTooltipVisible",value:function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}},{key:"_createOverlay",value:function(){var i=this;if(this._overlayRef)return this._overlayRef;var o=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),a=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".".concat(this._cssClassPrefix,"-tooltip")).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(o);return a.positionChanges.pipe((0,Fr.R)(this._destroyed)).subscribe(function(s){i._updateCurrentPositionClass(s.connectionPair),i._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&i._tooltipInstance.isVisible()&&i._ngZone.run(function(){return i.hide(0)})}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:a,panelClass:"".concat(this._cssClassPrefix,"-").concat(cq),scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,Fr.R)(this._destroyed)).subscribe(function(){return i._detach()}),this._overlayRef.outsidePointerEvents().pipe((0,Fr.R)(this._destroyed)).subscribe(function(){var s;return null===(s=i._tooltipInstance)||void 0===s?void 0:s._handleBodyInteraction()}),this._overlayRef}},{key:"_detach",value:function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}},{key:"_updatePosition",value:function(i){var o=i.getConfig().positionStrategy,a=this._getOrigin(),s=this._getOverlayPosition();o.withPositions([this._addOffset(Object.assign(Object.assign({},a.main),s.main)),this._addOffset(Object.assign(Object.assign({},a.fallback),s.fallback))])}},{key:"_addOffset",value:function(i){return i}},{key:"_getOrigin",value:function(){var a,i=!this._dir||"ltr"==this._dir.value,o=this.position;"above"==o||"below"==o?a={originX:"center",originY:"above"==o?"top":"bottom"}:"before"==o||"left"==o&&i||"right"==o&&!i?a={originX:"start",originY:"center"}:("after"==o||"right"==o&&i||"left"==o&&!i)&&(a={originX:"end",originY:"center"});var s=this._invertPosition(a.originX,a.originY);return{main:a,fallback:{originX:s.x,originY:s.y}}}},{key:"_getOverlayPosition",value:function(){var a,i=!this._dir||"ltr"==this._dir.value,o=this.position;"above"==o?a={overlayX:"center",overlayY:"bottom"}:"below"==o?a={overlayX:"center",overlayY:"top"}:"before"==o||"left"==o&&i||"right"==o&&!i?a={overlayX:"end",overlayY:"center"}:("after"==o||"right"==o&&i||"left"==o&&!i)&&(a={overlayX:"start",overlayY:"center"});var s=this._invertPosition(a.overlayX,a.overlayY);return{main:a,fallback:{overlayX:s.x,overlayY:s.y}}}},{key:"_updateTooltipMessage",value:function(){var i=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,$i.q)(1),(0,Fr.R)(this._destroyed)).subscribe(function(){i._tooltipInstance&&i._overlayRef.updatePosition()}))}},{key:"_setTooltipClass",value:function(i){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=i,this._tooltipInstance._markForCheck())}},{key:"_invertPosition",value:function(i,o){return"above"===this.position||"below"===this.position?"top"===o?o="bottom":"bottom"===o&&(o="top"):"end"===i?i="start":"start"===i&&(i="end"),{x:i,y:o}}},{key:"_updateCurrentPositionClass",value:function(i){var u,o=i.overlayY,a=i.originX;if((u="center"===o?this._dir&&"rtl"===this._dir.value?"end"===a?"left":"right":"start"===a?"left":"right":"bottom"===o&&"top"===i.originY?"above":"below")!==this._currentPosition){var p=this._overlayRef;if(p){var m="".concat(this._cssClassPrefix,"-").concat(cq,"-");p.removePanelClass(m+this._currentPosition),p.addPanelClass(m+u)}this._currentPosition=u}}},{key:"_setupPointerEnterEventsIfNeeded",value:function(){var i=this;this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(){i._setupPointerExitEventsIfNeeded(),i.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(){i._setupPointerExitEventsIfNeeded(),clearTimeout(i._touchstartTimeout),i._touchstartTimeout=setTimeout(function(){return i.show()},500)}])),this._addListeners(this._passiveListeners))}},{key:"_setupPointerExitEventsIfNeeded",value:function(){var o,i=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var a=[];if(this._platformSupportsMouseEvents())a.push(["mouseleave",function(){return i.hide()}],["wheel",function(u){return i._wheelListener(u)}]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var s=function(){clearTimeout(i._touchstartTimeout),i.hide(i._defaultOptions.touchendHideDelay)};a.push(["touchend",s],["touchcancel",s])}this._addListeners(a),(o=this._passiveListeners).push.apply(o,a)}}},{key:"_addListeners",value:function(i){var o=this;i.forEach(function(a){var s=(0,C.Z)(a,2);o._elementRef.nativeElement.addEventListener(s[0],s[1],dq)})}},{key:"_platformSupportsMouseEvents",value:function(){return!this._platform.IOS&&!this._platform.ANDROID}},{key:"_wheelListener",value:function(i){if(this._isTooltipVisible()){var o=this._document.elementFromPoint(i.clientX,i.clientY),a=this._elementRef.nativeElement;o!==a&&!a.contains(o)&&this.hide()}}},{key:"_disableNativeGesturesIfNecessary",value:function(){var i=this.touchGestures;if("off"!==i){var o=this._elementRef.nativeElement,a=o.style;("on"===i||"INPUT"!==o.nodeName&&"TEXTAREA"!==o.nodeName)&&(a.userSelect=a.msUserSelect=a.webkitUserSelect=a.MozUserSelect="none"),("on"===i||!o.draggable)&&(a.webkitUserDrag="none"),a.touchAction="none",a.webkitTapHighlightColor="transparent"}}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.Y36(eo.aV),e.Y36(e.SBq),e.Y36(Sa.mF),e.Y36(e.s_b),e.Y36(e.R0b),e.Y36($r.t4),e.Y36(Ti.$s),e.Y36(Ti.tE),e.Y36(void 0),e.Y36(Fa.Is),e.Y36(void 0),e.Y36(Et.K0))},n.\u0275dir=e.lG2({type:n,inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),n}(),Ja=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s,u,p,m,b,I,F,G,Y,$){var de;return(0,g.Z)(this,i),(de=t.call(this,o,a,s,u,p,m,b,I,F,G,Y,$))._tooltipComponent=fae,de}return i}(dae);return n.\u0275fac=function(t){return new(t||n)(e.Y36(eo.aV),e.Y36(e.SBq),e.Y36(Sa.mF),e.Y36(e.s_b),e.Y36(e.R0b),e.Y36($r.t4),e.Y36(Ti.$s),e.Y36(Ti.tE),e.Y36(pq),e.Y36(Fa.Is,8),e.Y36(uae,8),e.Y36(Et.K0))},n.\u0275dir=e.lG2({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[e.qOj]}),n}(),pae=function(){var n=function(){function r(t){(0,g.Z)(this,r),this._changeDetectorRef=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new On.xQ}return(0,k.Z)(r,[{key:"show",value:function(i){var o=this;clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(function(){o._visibility="visible",o._showTimeoutId=void 0,o._onShow(),o._markForCheck()},i)}},{key:"hide",value:function(i){var o=this;clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(function(){o._visibility="hidden",o._hideTimeoutId=void 0,o._markForCheck()},i)}},{key:"afterHidden",value:function(){return this._onHide}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}},{key:"_animationStart",value:function(){this._closeOnInteraction=!1}},{key:"_animationDone",value:function(i){var o=i.toState;"hidden"===o&&!this.isVisible()&&this._onHide.next(),("visible"===o||"hidden"===o)&&(this._closeOnInteraction=!0)}},{key:"_handleBodyInteraction",value:function(){this._closeOnInteraction&&this.hide(0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}},{key:"_onShow",value:function(){}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.sBO))},n.\u0275dir=e.lG2({type:n}),n}(),fae=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a){var s;return(0,g.Z)(this,i),(s=t.call(this,o))._breakpointObserver=a,s._isHandset=s._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),s}return i}(pae);return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.sBO),e.Y36(c2))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,i){2&t&&e.Udp("zoom","visible"===i._visibility?1:null)},features:[e.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,i){var o;1&t&&(e.TgZ(0,"div",0),e.NdJ("@state.start",function(){return i._animationStart()})("@state.done",function(s){return i._animationDone(s)}),e.ALo(1,"async"),e._uU(2),e.qZA()),2&t&&(e.ekj("mat-tooltip-handset",null==(o=e.lcZ(1,5,i._isHandset))?null:o.matches),e.Q6J("ngClass",i.tooltipClass)("@state",i._visibility),e.xp6(2),e.Oqu(i.message))},directives:[Et.mk],pipes:[Et.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[iae.tooltipState]},changeDetection:0}),n}(),fq=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[lae],imports:[[Ti.rt,Et.ez,eo.U8,ln.BQ],ln.BQ,Sa.ZD]}),n}();function hae(n,r){1&n&&(e.TgZ(0,"div",4),e._UZ(1,"mat-spinner",5),e.qZA())}function mae(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",6),e.TgZ(1,"div",7),e.TgZ(2,"mat-icon"),e._uU(3,"error_outline"),e.qZA(),e.qZA(),e.TgZ(4,"div"),e._uU(5),e.qZA(),e.TgZ(6,"div"),e.TgZ(7,"button",8),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).refresh()}),e.TgZ(8,"mat-icon"),e._uU(9,"refresh"),e.qZA(),e.qZA(),e.TgZ(10,"button",9),e.TgZ(11,"mat-icon"),e._uU(12,"home"),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw(2);e.xp6(5),e.hij("Error occurred: ",i.error.message,"")}}function vae(n,r){if(1&n&&(e.TgZ(0,"div",1),e.YNc(1,hae,2,0,"div",2),e.YNc(2,mae,13,1,"div",3),e.qZA()),2&n){var t=e.oxw();e.xp6(1),e.Q6J("ngIf",t.visible&&!t.error),e.xp6(1),e.Q6J("ngIf",t.error)}}var HZ=function(){function n(r,t){this.progressService=r,this.router=t,this.visible=!1}return n.prototype.ngOnInit=function(){var r=this;this.progressService.state.subscribe(function(t){r.visible=t.visible,t.error&&!r.error&&(r.error=t.error),t.clear&&(r.error=null)}),this.routerSubscription=this.router.events.subscribe(function(){r.progressService.clear()})},n.prototype.refresh=function(){this.router.navigateByUrl(this.router.url)},n.prototype.ngOnDestroy=function(){this.routerSubscription.unsubscribe()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Qf),e.Y36(kr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-progress"]],decls:1,vars:1,consts:[["class","overlay",4,"ngIf"],[1,"overlay"],["class","loading-spinner",4,"ngIf"],["class","error-state",4,"ngIf"],[1,"loading-spinner"],["color","primary"],[1,"error-state"],[1,"error-icon"],["mat-button","","matTooltip","Refresh page","matTooltipClass","custom-tooltip",3,"click"],["mat-button","","routerLink","/","matTooltip","Go to home","matTooltipClass","custom-tooltip"]],template:function(t,i){1&t&&e.YNc(0,vae,3,2,"div",0),2&t&&e.Q6J("ngIf",i.visible||i.error)},directives:[Et.O5,XV,sr,Mn,Ja,fa],styles:[".overlay[_ngcontent-%COMP%]{position:fixed;width:100%;height:100%;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.502);z-index:2000}.loading-spinner[_ngcontent-%COMP%], .error-state[_ngcontent-%COMP%]{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.error-state[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{text-align:center}.error-icon[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:64px;width:64px;height:64px}"]}),n}(),gae=function(){function n(r,t,i,o){this.router=r,this.serverService=t,this.progressService=i,this.document=o}return n.prototype.ngOnInit=function(){var r=this;this.progressService.activate(),setTimeout(function(){var t;t=parseInt(r.document.location.port,10)?parseInt(r.document.location.port,10):"https:"==r.document.location.protocol?443:80,r.serverService.getLocalServer(r.document.location.hostname,t).then(function(i){r.progressService.deactivate(),r.router.navigate(["/server",i.id,"projects"])})},100)},n.\u0275fac=function(t){return new(t||n)(e.Y36(kr),e.Y36(Hr),e.Y36(Qf),e.Y36(Et.K0))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-bundled-server-finder"]],decls:1,vars:0,template:function(t,i){1&t&&e._UZ(0,"app-progress")},directives:[HZ],styles:[""]}),n}(),Jn=f(61855),d2=function(){function n(){this.dataChange=new to.X([])}return Object.defineProperty(n.prototype,"data",{get:function(){return this.dataChange.value},enumerable:!1,configurable:!0}),n.prototype.addServer=function(r){var t=this.data.slice();t.push(r),this.dataChange.next(t)},n.prototype.addServers=function(r){this.dataChange.next(r)},n.prototype.remove=function(r){var t=this.data.indexOf(r);t>=0&&(this.data.splice(t,1),this.dataChange.next(this.data.slice()))},n.prototype.find=function(r){return this.data.find(function(t){return t.name===r})},n.prototype.findIndex=function(r){return this.data.findIndex(function(t){return t.name===r})},n.prototype.update=function(r){var t=this.findIndex(r.name);t>=0&&(this.data[t]=r,this.dataChange.next(this.data.slice()))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}();function _ae(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",1),e.TgZ(1,"button",2),e.NdJ("click",function(){return e.CHM(t),e.oxw().action()}),e._uU(2),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(2),e.Oqu(i.data.action)}}function yae(n,r){}var hq=new e.OlP("MatSnackBarData"),p2=function n(){(0,g.Z)(this,n),this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"},bae=Math.pow(2,31)-1,VZ=function(){function n(r,t){var i=this;(0,g.Z)(this,n),this._overlayRef=t,this._afterDismissed=new On.xQ,this._afterOpened=new On.xQ,this._onAction=new On.xQ,this._dismissedByAction=!1,this.containerInstance=r,this.onAction().subscribe(function(){return i.dismiss()}),r._onExit.subscribe(function(){return i._finishDismiss()})}return(0,k.Z)(n,[{key:"dismiss",value:function(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}},{key:"dismissWithAction",value:function(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete()),clearTimeout(this._durationTimeoutId)}},{key:"closeWithAction",value:function(){this.dismissWithAction()}},{key:"_dismissAfter",value:function(t){var i=this;this._durationTimeoutId=setTimeout(function(){return i.dismiss()},Math.min(t,bae))}},{key:"_open",value:function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}},{key:"_finishDismiss",value:function(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}},{key:"afterDismissed",value:function(){return this._afterDismissed}},{key:"afterOpened",value:function(){return this.containerInstance._onEnter}},{key:"onAction",value:function(){return this._onAction}}]),n}(),Cae=function(){var n=function(){function r(t,i){(0,g.Z)(this,r),this.snackBarRef=t,this.data=i}return(0,k.Z)(r,[{key:"action",value:function(){this.snackBarRef.dismissWithAction()}},{key:"hasAction",get:function(){return!!this.data.action}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.Y36(VZ),e.Y36(hq))},n.\u0275cmp=e.Xpm({type:n,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"span"),e._uU(1),e.qZA(),e.YNc(2,_ae,3,1,"div",0)),2&t&&(e.xp6(1),e.Oqu(i.data.message),e.xp6(1),e.Q6J("ngIf",i.hasAction))},directives:[Et.O5,Mn],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}\n"],encapsulation:2,changeDetection:0}),n}(),Sae={snackBarState:(0,on.X$)("state",[(0,on.SB)("void, hidden",(0,on.oB)({transform:"scale(0.8)",opacity:0})),(0,on.SB)("visible",(0,on.oB)({transform:"scale(1)",opacity:1})),(0,on.eR)("* => visible",(0,on.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,on.eR)("* => void, * => hidden",(0,on.jt)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,on.oB)({opacity:0})))])},Tae=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s,u,p){var m;return(0,g.Z)(this,i),(m=t.call(this))._ngZone=o,m._elementRef=a,m._changeDetectorRef=s,m._platform=u,m.snackBarConfig=p,m._announceDelay=150,m._destroyed=!1,m._onAnnounce=new On.xQ,m._onExit=new On.xQ,m._onEnter=new On.xQ,m._animationState="void",m.attachDomPortal=function(b){return m._assertNotAttached(),m._applySnackBarClasses(),m._portalOutlet.attachDomPortal(b)},m._live="assertive"!==p.politeness||p.announcementMessage?"off"===p.politeness?"off":"polite":"assertive",m._platform.FIREFOX&&("polite"===m._live&&(m._role="status"),"assertive"===m._live&&(m._role="alert")),m}return(0,k.Z)(i,[{key:"attachComponentPortal",value:function(a){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(a)}},{key:"attachTemplatePortal",value:function(a){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(a)}},{key:"onAnimationEnd",value:function(a){var u=a.toState;if(("void"===u&&"void"!==a.fromState||"hidden"===u)&&this._completeExit(),"visible"===u){var p=this._onEnter;this._ngZone.run(function(){p.next(),p.complete()})}}},{key:"enter",value:function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}},{key:"exit",value:function(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._onExit}},{key:"ngOnDestroy",value:function(){this._destroyed=!0,this._completeExit()}},{key:"_completeExit",value:function(){var a=this;this._ngZone.onMicrotaskEmpty.pipe((0,$i.q)(1)).subscribe(function(){a._onExit.next(),a._onExit.complete()})}},{key:"_applySnackBarClasses",value:function(){var a=this._elementRef.nativeElement,s=this.snackBarConfig.panelClass;s&&(Array.isArray(s)?s.forEach(function(u){return a.classList.add(u)}):a.classList.add(s)),"center"===this.snackBarConfig.horizontalPosition&&a.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&a.classList.add("mat-snack-bar-top")}},{key:"_assertNotAttached",value:function(){this._portalOutlet.hasAttached()}},{key:"_screenReaderAnnounce",value:function(){var a=this;this._announceTimeoutId||this._ngZone.runOutsideAngular(function(){a._announceTimeoutId=setTimeout(function(){var s=a._elementRef.nativeElement.querySelector("[aria-hidden]"),u=a._elementRef.nativeElement.querySelector("[aria-live]");if(s&&u){var p=null;a._platform.isBrowser&&document.activeElement instanceof HTMLElement&&s.contains(document.activeElement)&&(p=document.activeElement),s.removeAttribute("aria-hidden"),u.appendChild(s),null==p||p.focus(),a._onAnnounce.next(),a._onAnnounce.complete()}},a._announceDelay)})}}]),i}(qi.en);return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36($r.t4),e.Y36(p2))},n.\u0275cmp=e.Xpm({type:n,selectors:[["snack-bar-container"]],viewQuery:function(t,i){var o;1&t&&e.Gf(qi.Pl,7),2&t&&e.iGM(o=e.CRH())&&(i._portalOutlet=o.first)},hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(t,i){1&t&&e.WFA("@state.done",function(a){return i.onAnimationEnd(a)}),2&t&&e.d8E("@state",i._animationState)},features:[e.qOj],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.YNc(1,yae,0,0,"ng-template",1),e.qZA(),e._UZ(2,"div")),2&t&&(e.xp6(2),e.uIk("aria-live",i._live)("role",i._role))},directives:[qi.Pl],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[Sae.snackBarState]}}),n}(),mq=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[eo.U8,qi.eL,Et.ez,u2,ln.BQ],ln.BQ]}),n}(),vq=new e.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new p2}}),wae=function(){var n=function(){function r(t,i,o,a,s,u){(0,g.Z)(this,r),this._overlay=t,this._live=i,this._injector=o,this._breakpointObserver=a,this._parentSnackBar=s,this._defaultConfig=u,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=Cae,this.snackBarContainerComponent=Tae,this.handsetCssClass="mat-snack-bar-handset"}return(0,k.Z)(r,[{key:"_openedSnackBarRef",get:function(){var i=this._parentSnackBar;return i?i._openedSnackBarRef:this._snackBarRefAtThisLevel},set:function(i){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=i:this._snackBarRefAtThisLevel=i}},{key:"openFromComponent",value:function(i,o){return this._attach(i,o)}},{key:"openFromTemplate",value:function(i,o){return this._attach(i,o)}},{key:"open",value:function(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2?arguments[2]:void 0,s=Object.assign(Object.assign({},this._defaultConfig),a);return s.data={message:i,action:o},s.announcementMessage===i&&(s.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,s)}},{key:"dismiss",value:function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}},{key:"ngOnDestroy",value:function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}},{key:"_attachSnackBarContainer",value:function(i,o){var s=e.zs3.create({parent:o&&o.viewContainerRef&&o.viewContainerRef.injector||this._injector,providers:[{provide:p2,useValue:o}]}),u=new qi.C5(this.snackBarContainerComponent,o.viewContainerRef,s),p=i.attach(u);return p.instance.snackBarConfig=o,p.instance}},{key:"_attach",value:function(i,o){var a=this,s=Object.assign(Object.assign(Object.assign({},new p2),this._defaultConfig),o),u=this._createOverlay(s),p=this._attachSnackBarContainer(u,s),m=new VZ(p,u);if(i instanceof e.Rgc){var b=new qi.UE(i,null,{$implicit:s.data,snackBarRef:m});m.instance=p.attachTemplatePortal(b)}else{var I=this._createInjector(s,m),F=new qi.C5(i,void 0,I),G=p.attachComponentPortal(F);m.instance=G.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe((0,Fr.R)(u.detachments())).subscribe(function(Y){var $=u.overlayElement.classList;Y.matches?$.add(a.handsetCssClass):$.remove(a.handsetCssClass)}),s.announcementMessage&&p._onAnnounce.subscribe(function(){a._live.announce(s.announcementMessage,s.politeness)}),this._animateSnackBar(m,s),this._openedSnackBarRef=m,this._openedSnackBarRef}},{key:"_animateSnackBar",value:function(i,o){var a=this;i.afterDismissed().subscribe(function(){a._openedSnackBarRef==i&&(a._openedSnackBarRef=null),o.announcementMessage&&a._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(function(){i.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):i.containerInstance.enter(),o.duration&&o.duration>0&&i.afterOpened().subscribe(function(){return i._dismissAfter(o.duration)})}},{key:"_createOverlay",value:function(i){var o=new eo.X_;o.direction=i.direction;var a=this._overlay.position().global(),s="rtl"===i.direction,u="left"===i.horizontalPosition||"start"===i.horizontalPosition&&!s||"end"===i.horizontalPosition&&s,p=!u&&"center"!==i.horizontalPosition;return u?a.left("0"):p?a.right("0"):a.centerHorizontally(),"top"===i.verticalPosition?a.top("0"):a.bottom("0"),o.positionStrategy=a,this._overlay.create(o)}},{key:"_createInjector",value:function(i,o){return e.zs3.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:VZ,useValue:o},{provide:hq,useValue:i.data}]})}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.LFG(eo.aV),e.LFG(Ti.Kd),e.LFG(e.zs3),e.LFG(c2),e.LFG(n,12),e.LFG(vq))},n.\u0275prov=e.Yz7({factory:function(){return new n(e.LFG(eo.aV),e.LFG(Ti.Kd),e.LFG(e.gxx),e.LFG(c2),e.LFG(n,12),e.LFG(vq))},token:n,providedIn:mq}),n}(),Xn=function(){function n(r,t){this.snackbar=r,this.zone=t,this.snackBarConfigForSuccess={duration:4e3,panelClass:["snackabar-success"],MatSnackBarHorizontalPosition:"center",MatSnackBarVerticalPosition:"bottom"},this.snackBarConfigForWarning={duration:4e3,panelClass:["snackabar-warning"],MatSnackBarHorizontalPosition:"center",MatSnackBarVerticalPosition:"bottom"},this.snackBarConfigForError={duration:1e4,panelClass:["snackabar-error"],MatSnackBarHorizontalPosition:"center",MatSnackBarVerticalPosition:"bottom"}}return n.prototype.error=function(r){var t=this;this.zone.run(function(){t.snackbar.open(r,"Close",t.snackBarConfigForError)})},n.prototype.warning=function(r){var t=this;this.zone.run(function(){t.snackbar.open(r,"Close",t.snackBarConfigForWarning)})},n.prototype.success=function(r){var t=this;this.zone.run(function(){t.snackbar.open(r,"Close",t.snackBarConfigForSuccess)})},n.\u0275fac=function(t){return new(t||n)(e.LFG(wae),e.LFG(e.R0b))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),kae=["*",[["mat-card-footer"]]],Eae=["*","mat-card-footer"],qZ=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),n}(),gq=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),n}(),_q=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),n}(),Pae=function(){var n=function r(){(0,g.Z)(this,r),this.align="start"};return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(t,i){2&t&&e.ekj("mat-card-actions-align-end","end"===i.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),n}(),_i=function(){var n=function r(t){(0,g.Z)(this,r),this._animationMode=t};return n.\u0275fac=function(t){return new(t||n)(e.Y36(_s.Qb,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(t,i){2&t&&e.ekj("_mat-animation-noopable","NoopAnimations"===i._animationMode)},exportAs:["matCard"],ngContentSelectors:Eae,decls:2,vars:0,template:function(t,i){1&t&&(e.F$t(kae),e.Hsn(0),e.Hsn(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),n}(),Iae=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[ln.BQ],ln.BQ]}),n}(),Un=f(36410),yq=(f(54562),(0,$r.i$)({passive:!0})),bq=function(){var n=function(){function r(t,i){(0,g.Z)(this,r),this._platform=t,this._ngZone=i,this._monitoredElements=new Map}return(0,k.Z)(r,[{key:"monitor",value:function(i){var o=this;if(!this._platform.isBrowser)return nv.E;var a=(0,Dn.fI)(i),s=this._monitoredElements.get(a);if(s)return s.subject;var u=new On.xQ,p="cdk-text-field-autofilled",m=function(I){"cdk-text-field-autofill-start"!==I.animationName||a.classList.contains(p)?"cdk-text-field-autofill-end"===I.animationName&&a.classList.contains(p)&&(a.classList.remove(p),o._ngZone.run(function(){return u.next({target:I.target,isAutofilled:!1})})):(a.classList.add(p),o._ngZone.run(function(){return u.next({target:I.target,isAutofilled:!0})}))};return this._ngZone.runOutsideAngular(function(){a.addEventListener("animationstart",m,yq),a.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(a,{subject:u,unlisten:function(){a.removeEventListener("animationstart",m,yq)}}),u}},{key:"stopMonitoring",value:function(i){var o=(0,Dn.fI)(i),a=this._monitoredElements.get(o);a&&(a.unlisten(),a.subject.complete(),o.classList.remove("cdk-text-field-autofill-monitored"),o.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(o))}},{key:"ngOnDestroy",value:function(){var i=this;this._monitoredElements.forEach(function(o,a){return i.stopMonitoring(a)})}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.LFG($r.t4),e.LFG(e.R0b))},n.\u0275prov=e.Yz7({factory:function(){return new n(e.LFG($r.t4),e.LFG(e.R0b))},token:n,providedIn:"root"}),n}(),Cq=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[$r.ud]]}),n}(),Zae=new e.OlP("MAT_INPUT_VALUE_ACCESSOR"),Lae=["button","checkbox","file","hidden","image","radio","range","reset","submit"],Fae=0,Bae=(0,ln.FD)(function(){return function n(r,t,i,o){(0,g.Z)(this,n),this._defaultErrorStateMatcher=r,this._parentForm=t,this._parentFormGroup=i,this.ngControl=o}}()),ur=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s,u,p,m,b,I,F,G){var Y;(0,g.Z)(this,i),(Y=t.call(this,m,u,p,s))._elementRef=o,Y._platform=a,Y._autofillMonitor=I,Y._formField=G,Y._uid="mat-input-".concat(Fae++),Y.focused=!1,Y.stateChanges=new On.xQ,Y.controlType="mat-input",Y.autofilled=!1,Y._disabled=!1,Y._required=!1,Y._type="text",Y._readonly=!1,Y._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(function(Me){return(0,$r.qK)().has(Me)});var $=Y._elementRef.nativeElement,de=$.nodeName.toLowerCase();return Y._inputValueAccessor=b||$,Y._previousNativeValue=Y.value,Y.id=Y.id,a.IOS&&F.runOutsideAngular(function(){o.nativeElement.addEventListener("keyup",function(Me){var st=Me.target;!st.value&&0===st.selectionStart&&0===st.selectionEnd&&(st.setSelectionRange(1,1),st.setSelectionRange(0,0))})}),Y._isServer=!Y._platform.isBrowser,Y._isNativeSelect="select"===de,Y._isTextarea="textarea"===de,Y._isInFormField=!!G,Y._isNativeSelect&&(Y.controlType=$.multiple?"mat-native-select-multiple":"mat-native-select"),Y}return(0,k.Z)(i,[{key:"disabled",get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(a){this._disabled=(0,Dn.Ig)(a),this.focused&&(this.focused=!1,this.stateChanges.next())}},{key:"id",get:function(){return this._id},set:function(a){this._id=a||this._uid}},{key:"required",get:function(){return this._required},set:function(a){this._required=(0,Dn.Ig)(a)}},{key:"type",get:function(){return this._type},set:function(a){this._type=a||"text",this._validateType(),!this._isTextarea&&(0,$r.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}},{key:"value",get:function(){return this._inputValueAccessor.value},set:function(a){a!==this.value&&(this._inputValueAccessor.value=a,this.stateChanges.next())}},{key:"readonly",get:function(){return this._readonly},set:function(a){this._readonly=(0,Dn.Ig)(a)}},{key:"ngAfterViewInit",value:function(){var a=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(function(s){a.autofilled=s.isAutofilled,a.stateChanges.next()})}},{key:"ngOnChanges",value:function(){this.stateChanges.next()}},{key:"ngOnDestroy",value:function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}},{key:"ngDoCheck",value:function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}},{key:"focus",value:function(a){this._elementRef.nativeElement.focus(a)}},{key:"_focusChanged",value:function(a){a!==this.focused&&(this.focused=a,this.stateChanges.next())}},{key:"_onInput",value:function(){}},{key:"_dirtyCheckPlaceholder",value:function(){var a,s,u=(null===(s=null===(a=this._formField)||void 0===a?void 0:a._hideControlPlaceholder)||void 0===s?void 0:s.call(a))?null:this.placeholder;if(u!==this._previousPlaceholder){var p=this._elementRef.nativeElement;this._previousPlaceholder=u,u?p.setAttribute("placeholder",u):p.removeAttribute("placeholder")}}},{key:"_dirtyCheckNativeValue",value:function(){var a=this._elementRef.nativeElement.value;this._previousNativeValue!==a&&(this._previousNativeValue=a,this.stateChanges.next())}},{key:"_validateType",value:function(){Lae.indexOf(this._type)}},{key:"_isNeverEmpty",value:function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}},{key:"_isBadInput",value:function(){var a=this._elementRef.nativeElement.validity;return a&&a.badInput}},{key:"empty",get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}},{key:"shouldLabelFloat",get:function(){if(this._isNativeSelect){var a=this._elementRef.nativeElement,s=a.options[0];return this.focused||a.multiple||!this.empty||!!(a.selectedIndex>-1&&s&&s.label)}return this.focused||!this.empty}},{key:"setDescribedByIds",value:function(a){a.length?this._elementRef.nativeElement.setAttribute("aria-describedby",a.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}},{key:"onContainerClick",value:function(){this.focused||this.focus()}}]),i}(Bae);return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36($r.t4),e.Y36(ne.a5,10),e.Y36(ne.F,8),e.Y36(ne.sg,8),e.Y36(ln.rD),e.Y36(Zae,10),e.Y36(bq),e.Y36(e.R0b),e.Y36(Un.G_,8))},n.\u0275dir=e.lG2({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(t,i){1&t&&e.NdJ("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&t&&(e.Ikx("disabled",i.disabled)("required",i.required),e.uIk("id",i.id)("data-placeholder",i.placeholder)("readonly",i.readonly&&!i._isNativeSelect||null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required),e.ekj("mat-input-server",i._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[e._Bn([{provide:Un.Eo,useExisting:n}]),e.qOj,e.TTD]}),n}(),Uae=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[ln.rD],imports:[[Cq,Un.lN,ln.BQ],Cq,Un.lN]}),n}(),pi=f(73044);function Hae(n,r){1&n&&(e.TgZ(0,"mat-error"),e._uU(1,"You must enter a value"),e.qZA())}function Vae(n,r){if(1&n&&(e.TgZ(0,"mat-option",14),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t.key),e.xp6(1),e.hij(" ",t.name," ")}}function qae(n,r){if(1&n&&(e.TgZ(0,"mat-option",14),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t.key),e.xp6(1),e.hij(" ",t.name," ")}}function jae(n,r){if(1&n&&(e.TgZ(0,"mat-option",14),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t.key),e.xp6(1),e.hij(" ",t.name," ")}}function zae(n,r){if(1&n&&(e.TgZ(0,"mat-form-field"),e.TgZ(1,"mat-select",15),e.YNc(2,jae,2,2,"mat-option",10),e.qZA(),e.qZA()),2&n){var t=e.oxw();e.xp6(2),e.Q6J("ngForOf",t.authorizations)}}function Wae(n,r){1&n&&(e.TgZ(0,"mat-form-field"),e._UZ(1,"input",16),e.qZA())}function Gae(n,r){1&n&&(e.TgZ(0,"mat-form-field"),e._UZ(1,"input",17),e.qZA())}var Yae=function(){function n(r,t,i,o,a){this.serverService=r,this.serverDatabase=t,this.route=i,this.router=o,this.toasterService=a,this.serverOptionsVisibility=!1,this.authorizations=[{key:"none",name:"No authorization"},{key:"basic",name:"Basic authorization"}],this.protocols=[{key:"http:",name:"HTTP"},{key:"https:",name:"HTTPS"}],this.locations=[{key:"local",name:"Local"},{key:"remote",name:"Remote"}],this.serverForm=new ne.cw({name:new ne.NI("",[ne.kI.required]),location:new ne.NI(""),protocol:new ne.NI("http:"),authorization:new ne.NI("none"),login:new ne.NI(""),password:new ne.NI("")})}return n.prototype.ngOnInit=function(){return(0,Jn.mG)(this,void 0,void 0,function(){var r=this;return(0,Jn.Jh)(this,function(t){return this.serverService.isServiceInitialized&&this.getServers(),this.serverService.serviceInitialized.subscribe(function(i){return(0,Jn.mG)(r,void 0,void 0,function(){return(0,Jn.Jh)(this,function(o){return i&&this.getServers(),[2]})})}),[2]})})},n.prototype.getServers=function(){return(0,Jn.mG)(this,void 0,void 0,function(){var r,t,i=this;return(0,Jn.Jh)(this,function(o){switch(o.label){case 0:return this.serverIp=this.route.snapshot.paramMap.get("server_ip"),this.serverPort=+this.route.snapshot.paramMap.get("server_port"),this.projectId=this.route.snapshot.paramMap.get("project_id"),[4,this.serverService.findAll()];case 1:return r=o.sent(),(t=r.filter(function(a){return a.host===i.serverIp&&a.port===i.serverPort})[0])?this.router.navigate(["/server",t.id,"project",this.projectId]):this.serverOptionsVisibility=!0,[2]}})})},n.prototype.createServer=function(){var r=this;if(this.serverForm.get("name").hasError||this.serverForm.get("location").hasError||this.serverForm.get("protocol").hasError)if("basic"!==this.serverForm.get("authorization").value||this.serverForm.get("login").value||this.serverForm.get("password").value){var t=new s2;t.host=this.serverIp,t.port=this.serverPort,t.name=this.serverForm.get("name").value,t.location=this.serverForm.get("location").value,t.protocol=this.serverForm.get("protocol").value,t.authorization=this.serverForm.get("authorization").value,t.login=this.serverForm.get("login").value,t.password=this.serverForm.get("password").value,this.serverService.create(t).then(function(i){r.router.navigate(["/server",i.id,"project",r.projectId])})}else this.toasterService.error("Please use correct values");else this.toasterService.error("Please use correct values")},n.\u0275fac=function(t){return new(t||n)(e.Y36(Hr),e.Y36(d2),e.Y36(Pr),e.Y36(kr),e.Y36(Xn))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-direct-link"]],decls:23,vars:8,consts:[[1,"content",3,"hidden"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[1,"matCard"],[3,"formGroup"],["matInput","","tabindex","1","formControlName","name","placeholder","Name"],[4,"ngIf"],["placeholder","Location","formControlName","location"],[3,"value",4,"ngFor","ngForOf"],["placeholder","Protocol","formControlName","protocol"],[1,"buttons-bar"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],["placeholder","Authorization","formControlName","authorization"],["matInput","","tabindex","1","formControlName","login","placeholder","Login"],["matInput","","type","password","tabindex","1","formControlName","password","placeholder","Password"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Add new server"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"mat-card",5),e.TgZ(7,"form",6),e.TgZ(8,"mat-form-field"),e._UZ(9,"input",7),e.YNc(10,Hae,2,0,"mat-error",8),e.qZA(),e.TgZ(11,"mat-form-field"),e.TgZ(12,"mat-select",9),e.YNc(13,Vae,2,2,"mat-option",10),e.qZA(),e.qZA(),e.TgZ(14,"mat-form-field"),e.TgZ(15,"mat-select",11),e.YNc(16,qae,2,2,"mat-option",10),e.qZA(),e.qZA(),e.YNc(17,zae,3,1,"mat-form-field",8),e.YNc(18,Wae,2,0,"mat-form-field",8),e.YNc(19,Gae,2,0,"mat-form-field",8),e.qZA(),e.qZA(),e.TgZ(20,"div",12),e.TgZ(21,"button",13),e.NdJ("click",function(){return i.createServer()}),e._uU(22,"Add server"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.Q6J("hidden",!i.serverOptionsVisibility),e.xp6(7),e.Q6J("formGroup",i.serverForm),e.xp6(3),e.Q6J("ngIf",i.serverForm.get("name").hasError("required")),e.xp6(3),e.Q6J("ngForOf",i.locations),e.xp6(3),e.Q6J("ngForOf",i.protocols),e.xp6(1),e.Q6J("ngIf","remote"===i.serverForm.get("location").value),e.xp6(1),e.Q6J("ngIf","basic"===i.serverForm.get("authorization").value),e.xp6(1),e.Q6J("ngIf","basic"===i.serverForm.get("authorization").value))},directives:[_i,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,Et.O5,pi.gD,Et.sg,Mn,Un.TO,ln.ey],styles:["mat-form-field{width:100%}\n"],encapsulation:2}),n}(),Jae=0,jZ=new e.OlP("CdkAccordion"),Qae=function(){var n=function(){function r(){(0,g.Z)(this,r),this._stateChanges=new On.xQ,this._openCloseAllActions=new On.xQ,this.id="cdk-accordion-".concat(Jae++),this._multi=!1}return(0,k.Z)(r,[{key:"multi",get:function(){return this._multi},set:function(i){this._multi=(0,Dn.Ig)(i)}},{key:"openAll",value:function(){this._multi&&this._openCloseAllActions.next(!0)}},{key:"closeAll",value:function(){this._openCloseAllActions.next(!1)}},{key:"ngOnChanges",value:function(i){this._stateChanges.next(i)}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}]),r}();return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[e._Bn([{provide:jZ,useExisting:n}]),e.TTD]}),n}(),Kae=0,$ae=function(){var n=function(){function r(t,i,o){var a=this;(0,g.Z)(this,r),this.accordion=t,this._changeDetectorRef=i,this._expansionDispatcher=o,this._openCloseAllSubscription=as.w.EMPTY,this.closed=new e.vpe,this.opened=new e.vpe,this.destroyed=new e.vpe,this.expandedChange=new e.vpe,this.id="cdk-accordion-child-".concat(Kae++),this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=function(){},this._removeUniqueSelectionListener=o.listen(function(s,u){a.accordion&&!a.accordion.multi&&a.accordion.id===u&&a.id!==s&&(a.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}return(0,k.Z)(r,[{key:"expanded",get:function(){return this._expanded},set:function(i){i=(0,Dn.Ig)(i),this._expanded!==i&&(this._expanded=i,this.expandedChange.emit(i),i?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(i){this._disabled=(0,Dn.Ig)(i)}},{key:"ngOnDestroy",value:function(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}},{key:"toggle",value:function(){this.disabled||(this.expanded=!this.expanded)}},{key:"close",value:function(){this.disabled||(this.expanded=!1)}},{key:"open",value:function(){this.disabled||(this.expanded=!0)}},{key:"_subscribeToOpenCloseAllActions",value:function(){var i=this;return this.accordion._openCloseAllActions.subscribe(function(o){i.disabled||(i.expanded=o)})}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.Y36(jZ,12),e.Y36(e.sBO),e.Y36(Wi.A8))},n.\u0275dir=e.lG2({type:n,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[e._Bn([{provide:jZ,useValue:void 0}])]}),n}(),ese=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({}),n}(),tse=["body"];function nse(n,r){}var rse=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],ise=["mat-expansion-panel-header","*","mat-action-row"];function ose(n,r){if(1&n&&e._UZ(0,"span",2),2&n){var t=e.oxw();e.Q6J("@indicatorRotate",t._getExpandedState())}}var ase=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],sse=["mat-panel-title","mat-panel-description","*"],zZ=new e.OlP("MAT_ACCORDION"),Sq="225ms cubic-bezier(0.4,0.0,0.2,1)",Tq={indicatorRotate:(0,on.X$)("indicatorRotate",[(0,on.SB)("collapsed, void",(0,on.oB)({transform:"rotate(0deg)"})),(0,on.SB)("expanded",(0,on.oB)({transform:"rotate(180deg)"})),(0,on.eR)("expanded <=> collapsed, void => collapsed",(0,on.jt)(Sq))]),bodyExpansion:(0,on.X$)("bodyExpansion",[(0,on.SB)("collapsed, void",(0,on.oB)({height:"0px",visibility:"hidden"})),(0,on.SB)("expanded",(0,on.oB)({height:"*",visibility:"visible"})),(0,on.eR)("expanded <=> collapsed, void => collapsed",(0,on.jt)(Sq))])},lse=function(){var n=function r(t){(0,g.Z)(this,r),this._template=t};return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc))},n.\u0275dir=e.lG2({type:n,selectors:[["ng-template","matExpansionPanelContent",""]]}),n}(),use=0,xq=new e.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),Xu=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s,u,p,m,b){var I;return(0,g.Z)(this,i),(I=t.call(this,o,a,s))._viewContainerRef=u,I._animationMode=m,I._hideToggle=!1,I.afterExpand=new e.vpe,I.afterCollapse=new e.vpe,I._inputChanges=new On.xQ,I._headerId="mat-expansion-panel-header-".concat(use++),I._bodyAnimationDone=new On.xQ,I.accordion=o,I._document=p,I._bodyAnimationDone.pipe((0,mm.x)(function(F,G){return F.fromState===G.fromState&&F.toState===G.toState})).subscribe(function(F){"void"!==F.fromState&&("expanded"===F.toState?I.afterExpand.emit():"collapsed"===F.toState&&I.afterCollapse.emit())}),b&&(I.hideToggle=b.hideToggle),I}return(0,k.Z)(i,[{key:"hideToggle",get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(a){this._hideToggle=(0,Dn.Ig)(a)}},{key:"togglePosition",get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(a){this._togglePosition=a}},{key:"_hasSpacing",value:function(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}},{key:"_getExpandedState",value:function(){return this.expanded?"expanded":"collapsed"}},{key:"toggle",value:function(){this.expanded=!this.expanded}},{key:"close",value:function(){this.expanded=!1}},{key:"open",value:function(){this.expanded=!0}},{key:"ngAfterContentInit",value:function(){var a=this;this._lazyContent&&this.opened.pipe((0,na.O)(null),(0,vi.h)(function(){return a.expanded&&!a._portal}),(0,$i.q)(1)).subscribe(function(){a._portal=new qi.UE(a._lazyContent._template,a._viewContainerRef)})}},{key:"ngOnChanges",value:function(a){this._inputChanges.next(a)}},{key:"ngOnDestroy",value:function(){(0,P.Z)((0,D.Z)(i.prototype),"ngOnDestroy",this).call(this),this._bodyAnimationDone.complete(),this._inputChanges.complete()}},{key:"_containsFocus",value:function(){if(this._body){var a=this._document.activeElement,s=this._body.nativeElement;return a===s||s.contains(a)}return!1}}]),i}($ae);return n.\u0275fac=function(t){return new(t||n)(e.Y36(zZ,12),e.Y36(e.sBO),e.Y36(Wi.A8),e.Y36(e.s_b),e.Y36(Et.K0),e.Y36(_s.Qb,8),e.Y36(xq,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-expansion-panel"]],contentQueries:function(t,i,o){var a;1&t&&e.Suo(o,lse,5),2&t&&e.iGM(a=e.CRH())&&(i._lazyContent=a.first)},viewQuery:function(t,i){var o;1&t&&e.Gf(tse,5),2&t&&e.iGM(o=e.CRH())&&(i._body=o.first)},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(t,i){2&t&&e.ekj("mat-expanded",i.expanded)("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-expansion-panel-spacing",i._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[e._Bn([{provide:zZ,useValue:void 0}]),e.qOj,e.TTD],ngContentSelectors:ise,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(t,i){1&t&&(e.F$t(rse),e.Hsn(0),e.TgZ(1,"div",0,1),e.NdJ("@bodyExpansion.done",function(a){return i._bodyAnimationDone.next(a)}),e.TgZ(3,"div",2),e.Hsn(4,1),e.YNc(5,nse,0,0,"ng-template",3),e.qZA(),e.Hsn(6,2),e.qZA()),2&t&&(e.xp6(1),e.Q6J("@bodyExpansion",i._getExpandedState())("id",i.id),e.uIk("aria-labelledby",i._headerId),e.xp6(4),e.Q6J("cdkPortalOutlet",i._portal))},directives:[qi.Pl],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[Tq.bodyExpansion]},changeDetection:0}),n}(),pse=(0,ln.sb)(function n(){(0,g.Z)(this,n)}),$u=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s,u,p,m,b){var I;(0,g.Z)(this,i),(I=t.call(this)).panel=o,I._element=a,I._focusMonitor=s,I._changeDetectorRef=u,I._animationMode=m,I._parentChangeSubscription=as.w.EMPTY;var F=o.accordion?o.accordion._stateChanges.pipe((0,vi.h)(function(G){return!(!G.hideToggle&&!G.togglePosition)})):nv.E;return I.tabIndex=parseInt(b||"")||0,I._parentChangeSubscription=(0,vo.T)(o.opened,o.closed,F,o._inputChanges.pipe((0,vi.h)(function(G){return!!(G.hideToggle||G.disabled||G.togglePosition)}))).subscribe(function(){return I._changeDetectorRef.markForCheck()}),o.closed.pipe((0,vi.h)(function(){return o._containsFocus()})).subscribe(function(){return s.focusVia(a,"program")}),p&&(I.expandedHeight=p.expandedHeight,I.collapsedHeight=p.collapsedHeight),I}return(0,k.Z)(i,[{key:"disabled",get:function(){return this.panel.disabled}},{key:"_toggle",value:function(){this.disabled||this.panel.toggle()}},{key:"_isExpanded",value:function(){return this.panel.expanded}},{key:"_getExpandedState",value:function(){return this.panel._getExpandedState()}},{key:"_getPanelId",value:function(){return this.panel.id}},{key:"_getTogglePosition",value:function(){return this.panel.togglePosition}},{key:"_showToggle",value:function(){return!this.panel.hideToggle&&!this.panel.disabled}},{key:"_getHeaderHeight",value:function(){var a=this._isExpanded();return a&&this.expandedHeight?this.expandedHeight:!a&&this.collapsedHeight?this.collapsedHeight:null}},{key:"_keydown",value:function(a){switch(a.keyCode){case Gr.L_:case Gr.K5:(0,Gr.Vb)(a)||(a.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(a))}}},{key:"focus",value:function(a,s){a?this._focusMonitor.focusVia(this._element,a,s):this._element.nativeElement.focus(s)}},{key:"ngAfterViewInit",value:function(){var a=this;this._focusMonitor.monitor(this._element).subscribe(function(s){s&&a.panel.accordion&&a.panel.accordion._handleHeaderFocus(a)})}},{key:"ngOnDestroy",value:function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}]),i}(pse);return n.\u0275fac=function(t){return new(t||n)(e.Y36(Xu,1),e.Y36(e.SBq),e.Y36(Ti.tE),e.Y36(e.sBO),e.Y36(xq,8),e.Y36(_s.Qb,8),e.$8M("tabindex"))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(t,i){1&t&&e.NdJ("click",function(){return i._toggle()})("keydown",function(a){return i._keydown(a)}),2&t&&(e.uIk("id",i.panel._headerId)("tabindex",i.tabIndex)("aria-controls",i._getPanelId())("aria-expanded",i._isExpanded())("aria-disabled",i.panel.disabled),e.Udp("height",i._getHeaderHeight()),e.ekj("mat-expanded",i._isExpanded())("mat-expansion-toggle-indicator-after","after"===i._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===i._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===i._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[e.qOj],ngContentSelectors:sse,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(t,i){1&t&&(e.F$t(ase),e.TgZ(0,"span",0),e.Hsn(1),e.Hsn(2,1),e.Hsn(3,2),e.qZA(),e.YNc(4,ose,1,1,"span",1)),2&t&&(e.xp6(4),e.Q6J("ngIf",i._showToggle()))},directives:[Et.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}\n'],encapsulation:2,data:{animation:[Tq.indicatorRotate]},changeDetection:0}),n}(),fse=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),n}(),id=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),n}(),od=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(){var o;return(0,g.Z)(this,i),(o=t.apply(this,arguments))._ownHeaders=new e.n_E,o._hideToggle=!1,o.displayMode="default",o.togglePosition="after",o}return(0,k.Z)(i,[{key:"hideToggle",get:function(){return this._hideToggle},set:function(a){this._hideToggle=(0,Dn.Ig)(a)}},{key:"ngAfterContentInit",value:function(){var a=this;this._headers.changes.pipe((0,na.O)(this._headers)).subscribe(function(s){a._ownHeaders.reset(s.filter(function(u){return u.panel.accordion===a})),a._ownHeaders.notifyOnChanges()}),this._keyManager=new Ti.Em(this._ownHeaders).withWrap().withHomeAndEnd()}},{key:"_handleHeaderKeydown",value:function(a){this._keyManager.onKeydown(a)}},{key:"_handleHeaderFocus",value:function(a){this._keyManager.updateActiveItem(a)}},{key:"ngOnDestroy",value:function(){(0,P.Z)((0,D.Z)(i.prototype),"ngOnDestroy",this).call(this),this._ownHeaders.destroy()}}]),i}(Qae);return n.\u0275fac=function(){var r;return function(i){return(r||(r=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["mat-accordion"]],contentQueries:function(t,i,o){var a;1&t&&e.Suo(o,$u,5),2&t&&e.iGM(a=e.CRH())&&(i._headers=a)},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(t,i){2&t&&e.ekj("mat-accordion-multi",i.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[e._Bn([{provide:zZ,useExisting:n}]),e.qOj]}),n}(),hse=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[Et.ez,ln.BQ,ese,qi.eL]]}),n}(),wq=f(93386),WZ=["*"],GZ='.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n',mse=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],vse=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],kq=(0,ln.Id)((0,ln.Kr)(function(){return function n(){(0,g.Z)(this,n)}}())),Cse=(0,ln.Kr)(function(){return function n(){(0,g.Z)(this,n)}}()),Eq=new e.OlP("MatList"),Mq=new e.OlP("MatNavList"),ku=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(){var o;return(0,g.Z)(this,i),(o=t.apply(this,arguments))._stateChanges=new On.xQ,o}return(0,k.Z)(i,[{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),i}(kq);return n.\u0275fac=function(){var r;return function(i){return(r||(r=e.n5z(n)))(i||n)}}(),n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[e._Bn([{provide:Mq,useExisting:n}]),e.qOj,e.TTD],ngContentSelectors:WZ,decls:1,vars:0,template:function(t,i){1&t&&(e.F$t(),e.Hsn(0))},styles:[GZ],encapsulation:2,changeDetection:0}),n}(),YZ=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o){var a;return(0,g.Z)(this,i),(a=t.call(this))._elementRef=o,a._stateChanges=new On.xQ,"action-list"===a._getListType()&&o.nativeElement.classList.add("mat-action-list"),a}return(0,k.Z)(i,[{key:"_getListType",value:function(){var a=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===a?"list":"mat-action-list"===a?"action-list":null}},{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),i}(kq);return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[e._Bn([{provide:Eq,useExisting:n}]),e.qOj,e.TTD],ngContentSelectors:WZ,decls:1,vars:0,template:function(t,i){1&t&&(e.F$t(),e.Hsn(0))},styles:[GZ],encapsulation:2,changeDetection:0}),n}(),Aq=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),n}(),Dq=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),n}(),Cs=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s,u){var p;(0,g.Z)(this,i),(p=t.call(this))._element=o,p._isInteractiveList=!1,p._destroyed=new On.xQ,p._disabled=!1,p._isInteractiveList=!!(s||u&&"action-list"===u._getListType()),p._list=s||u;var m=p._getHostElement();return"button"===m.nodeName.toLowerCase()&&!m.hasAttribute("type")&&m.setAttribute("type","button"),p._list&&p._list._stateChanges.pipe((0,Fr.R)(p._destroyed)).subscribe(function(){a.markForCheck()}),p}return(0,k.Z)(i,[{key:"disabled",get:function(){return this._disabled||!(!this._list||!this._list.disabled)},set:function(a){this._disabled=(0,Dn.Ig)(a)}},{key:"ngAfterContentInit",value:function(){(0,ln.E0)(this._lines,this._element)}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_isRippleDisabled",value:function(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}},{key:"_getHostElement",value:function(){return this._element.nativeElement}}]),i}(Cse);return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(Mq,8),e.Y36(Eq,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(t,i,o){var a;1&t&&(e.Suo(o,Aq,5),e.Suo(o,Dq,5),e.Suo(o,ln.X2,5)),2&t&&(e.iGM(a=e.CRH())&&(i._avatar=a.first),e.iGM(a=e.CRH())&&(i._icon=a.first),e.iGM(a=e.CRH())&&(i._lines=a))},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(t,i){2&t&&e.ekj("mat-list-item-disabled",i.disabled)("mat-list-item-avatar",i._avatar||i._icon)("mat-list-item-with-avatar",i._avatar||i._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[e.qOj],ngContentSelectors:vse,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(t,i){1&t&&(e.F$t(mse),e.TgZ(0,"div",0),e._UZ(1,"div",1),e.Hsn(2),e.TgZ(3,"div",2),e.Hsn(4,1),e.qZA(),e.Hsn(5,2),e.qZA()),2&t&&(e.xp6(1),e.Q6J("matRippleTrigger",i._getHostElement())("matRippleDisabled",i._isRippleDisabled()))},directives:[ln.wG],encapsulation:2,changeDetection:0}),n}(),Ese=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[ln.uc,ln.si,ln.BQ,ln.us,Et.ez],ln.uc,ln.BQ,ln.us,wq.t]}),n}(),Mse=function(){function n(r){this.httpClient=r,this.thirdpartylicenses="",this.releasenotes=""}return n.prototype.ngOnInit=function(){var r=this;this.httpClient.get(window.location.href+"/3rdpartylicenses.txt",{responseType:"text"}).subscribe(function(t){r.thirdpartylicenses=t.replace(new RegExp("\n","g"),"<br />")},function(t){404===t.status&&(r.thirdpartylicenses="File not found")}),this.httpClient.get("ReleaseNotes.txt",{responseType:"text"}).subscribe(function(t){r.releasenotes=t.replace(new RegExp("\n","g"),"<br />")})},n.prototype.goToDocumentation=function(){window.location.href="https://docs.gns3.com/docs/"},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vc.eN))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-help"]],decls:38,vars:2,consts:[[1,"content"],[1,"default-header"],[1,"default-content"],[1,"container","mat-elevation-z8"],[3,"innerHTML"],["mat-button","","color","primary",1,"full-width",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"h1"),e._uU(3,"Help"),e.qZA(),e.qZA(),e.TgZ(4,"div",2),e.TgZ(5,"div",3),e.TgZ(6,"mat-accordion"),e.TgZ(7,"mat-expansion-panel"),e.TgZ(8,"mat-expansion-panel-header"),e.TgZ(9,"mat-panel-title"),e._uU(10," Useful shortcuts "),e.qZA(),e.qZA(),e.TgZ(11,"mat-list"),e.TgZ(12,"mat-list-item"),e._uU(13," ctrl + + to zoom in "),e.qZA(),e.TgZ(14,"mat-list-item"),e._uU(15," ctrl + - to zoom out "),e.qZA(),e.TgZ(16,"mat-list-item"),e._uU(17," ctrl + 0 to reset zoom "),e.qZA(),e.TgZ(18,"mat-list-item"),e._uU(19," ctrl + h to hide toolbar "),e.qZA(),e.TgZ(20,"mat-list-item"),e._uU(21," ctrl + a to select all items on map "),e.qZA(),e.TgZ(22,"mat-list-item"),e._uU(23," ctrl + shift + a to deselect all items on map "),e.qZA(),e.TgZ(24,"mat-list-item"),e._uU(25," ctrl + shift + s to go to preferences "),e.qZA(),e.qZA(),e.qZA(),e.TgZ(26,"mat-expansion-panel"),e.TgZ(27,"mat-expansion-panel-header"),e.TgZ(28,"mat-panel-title"),e._uU(29," Third party components "),e.qZA(),e.qZA(),e._UZ(30,"div",4),e.qZA(),e.TgZ(31,"mat-expansion-panel"),e.TgZ(32,"mat-expansion-panel-header"),e.TgZ(33,"mat-panel-title"),e._uU(34," Release notes "),e.qZA(),e.qZA(),e._UZ(35,"div",4),e.qZA(),e.qZA(),e.qZA(),e.TgZ(36,"button",5),e.NdJ("click",function(){return i.goToDocumentation()}),e._uU(37,"Go to documentation"),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(30),e.Q6J("innerHTML",i.thirdpartylicenses,e.oJD),e.xp6(5),e.Q6J("innerHTML",i.releasenotes,e.oJD))},directives:[od,Xu,$u,id,YZ,Cs,Mn],styles:[".full-width[_ngcontent-%COMP%]{width:100%;margin-top:20px}"]}),n}(),Pq=function(){function n(r){this.electronService=r}return n.prototype.isWindows=function(){return"win32"===this.electronService.process.platform},n.prototype.isLinux=function(){return"linux"===this.electronService.process.platform},n.prototype.isDarwin=function(){return"darwin"===this.electronService.process.platform},n.\u0275fac=function(t){return new(t||n)(e.LFG(ds))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),Iq=function(){function n(r){this.platformService=r}return n.prototype.get=function(){return this.platformService.isWindows()?this.getForWindows():this.platformService.isDarwin()?this.getForDarwin():this.getForLinux()},n.prototype.getForWindows=function(){var r=[{name:"Wireshark",locations:["C:\\Program Files\\Wireshark\\Wireshark.exe"],type:"web",resource:"https://1.na.dl.wireshark.org/win64/all-versions/Wireshark-win64-2.6.3.exe",binary:"Wireshark.exe",sudo:!0,installation_arguments:[],installed:!1,installer:!0}];return r},n.prototype.getForLinux=function(){return[]},n.prototype.getForDarwin=function(){return[]},n.\u0275fac=function(t){return new(t||n)(e.LFG(Pq))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),Rq=function(){function n(r,t){this.electronService=r,this.externalSoftwareDefinition=t}return n.prototype.list=function(){var r=this.externalSoftwareDefinition.get(),t=this.electronService.remote.require("./installed-software.js").getInstalledSoftware(r);return r.map(function(i){return i.installed=t[i.name].length>0,i})},n.\u0275fac=function(t){return new(t||n)(e.LFG(ds),e.LFG(Iq))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),Ase=[[["caption"]],[["colgroup"],["col"]]],Dse=["caption","colgroup, col"],Yl=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(){var o;return(0,g.Z)(this,i),(o=t.apply(this,arguments)).stickyCssClass="mat-table-sticky",o.needsPositionStickyOnElement=!1,o}return i}(fm);return n.\u0275fac=function(){var r;return function(i){return(r||(r=e.n5z(n)))(i||n)}}(),n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(t,i){2&t&&e.ekj("mat-table-fixed-layout",i.fixedLayout)},exportAs:["matTable"],features:[e._Bn([{provide:Wi.k,useClass:Wi.yy},{provide:fm,useExisting:n},{provide:Uc,useExisting:n},{provide:TC,useClass:jk},{provide:kC,useValue:null}]),e.qOj],ngContentSelectors:Dse,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,i){1&t&&(e.F$t(Ase),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0),e.GkF(3,1),e.GkF(4,2),e.GkF(5,3))},directives:[dm,xf,Yd,pm],styles:['mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n'],encapsulation:2}),n}(),ll=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(){return(0,g.Z)(this,i),t.apply(this,arguments)}return i}(Cf);return n.\u0275fac=function(){var r;return function(i){return(r||(r=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["","matCellDef",""]],features:[e._Bn([{provide:Cf,useExisting:n}]),e.qOj]}),n}(),ul=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(){return(0,g.Z)(this,i),t.apply(this,arguments)}return i}(Hc);return n.\u0275fac=function(){var r;return function(i){return(r||(r=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["","matHeaderCellDef",""]],features:[e._Bn([{provide:Hc,useExisting:n}]),e.qOj]}),n}(),cl=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(){return(0,g.Z)(this,i),t.apply(this,arguments)}return(0,k.Z)(i,[{key:"name",get:function(){return this._name},set:function(a){this._setNameInput(a)}},{key:"_updateColumnCssClassName",value:function(){(0,P.Z)((0,D.Z)(i.prototype),"_updateColumnCssClassName",this).call(this),this._columnCssClassName.push("mat-column-".concat(this.cssClassFriendlyName))}}]),i}(Vu);return n.\u0275fac=function(){var r;return function(i){return(r||(r=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[e._Bn([{provide:Vu,useExisting:n},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),e.qOj]}),n}(),dl=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(){return(0,g.Z)(this,i),t.apply(this,arguments)}return i}($g);return n.\u0275fac=function(){var r;return function(i){return(r||(r=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[e.qOj]}),n}(),pl=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(){return(0,g.Z)(this,i),t.apply(this,arguments)}return i}(SC);return n.\u0275fac=function(){var r;return function(i){return(r||(r=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[e.qOj]}),n}(),Jl=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(){return(0,g.Z)(this,i),t.apply(this,arguments)}return i}(Sf);return n.\u0275fac=function(){var r;return function(i){return(r||(r=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[e._Bn([{provide:Sf,useExisting:n}]),e.qOj]}),n}(),Ql=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(){return(0,g.Z)(this,i),t.apply(this,arguments)}return i}(cm);return n.\u0275fac=function(){var r;return function(i){return(r||(r=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[e._Bn([{provide:cm,useExisting:n}]),e.qOj]}),n}(),Kl=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(){return(0,g.Z)(this,i),t.apply(this,arguments)}return i}(wC);return n.\u0275fac=function(){var r;return function(i){return(r||(r=e.n5z(n)))(i||n)}}(),n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[e._Bn([{provide:wC,useExisting:n}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,i){1&t&&e.GkF(0,0)},directives:[gu],encapsulation:2}),n}(),Xl=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(){return(0,g.Z)(this,i),t.apply(this,arguments)}return i}(n_);return n.\u0275fac=function(){var r;return function(i){return(r||(r=e.n5z(n)))(i||n)}}(),n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[e._Bn([{provide:n_,useExisting:n}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,i){1&t&&e.GkF(0,0)},directives:[gu],encapsulation:2}),n}(),Use=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[AC,ln.BQ],ln.BQ]}),n}(),Hse=9007199254740991,Nq=function(n){(0,M.Z)(t,n);var r=(0,A.Z)(t);function t(){return(0,g.Z)(this,t),r.apply(this,arguments)}return t}(function(n){(0,M.Z)(t,n);var r=(0,A.Z)(t);function t(){var i,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return(0,g.Z)(this,t),(i=r.call(this))._renderData=new to.X([]),i._filter=new to.X(""),i._internalPageChanges=new On.xQ,i._renderChangesSubscription=null,i.sortingDataAccessor=function(a,s){var u=a[s];if((0,Dn.t6)(u)){var p=Number(u);return p<Hse?p:u}return u},i.sortData=function(a,s){var u=s.active,p=s.direction;return u&&""!=p?a.sort(function(m,b){var I=i.sortingDataAccessor(m,u),F=i.sortingDataAccessor(b,u),G=typeof I,Y=typeof F;G!==Y&&("number"===G&&(I+=""),"number"===Y&&(F+=""));var $=0;return null!=I&&null!=F?I>F?$=1:I<F&&($=-1):null!=I?$=1:null!=F&&($=-1),$*("asc"==p?1:-1)}):a},i.filterPredicate=function(a,s){var u=Object.keys(a).reduce(function(m,b){return m+a[b]+"\u25ec"},"").toLowerCase(),p=s.trim().toLowerCase();return-1!=u.indexOf(p)},i._data=new to.X(o),i._updateChangeSubscription(),i}return(0,k.Z)(t,[{key:"data",get:function(){return this._data.value},set:function(o){this._data.next(o),this._renderChangesSubscription||this._filterData(o)}},{key:"filter",get:function(){return this._filter.value},set:function(o){this._filter.next(o),this._renderChangesSubscription||this._filterData(this.data)}},{key:"sort",get:function(){return this._sort},set:function(o){this._sort=o,this._updateChangeSubscription()}},{key:"paginator",get:function(){return this._paginator},set:function(o){this._paginator=o,this._updateChangeSubscription()}},{key:"_updateChangeSubscription",value:function(){var a,o=this,s=this._sort?(0,vo.T)(this._sort.sortChange,this._sort.initialized):(0,rr.of)(null),u=this._paginator?(0,vo.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,rr.of)(null),m=(0,vm.aj)([this._data,this._filter]).pipe((0,wr.U)(function(F){var G=(0,C.Z)(F,1);return o._filterData(G[0])})),b=(0,vm.aj)([m,s]).pipe((0,wr.U)(function(F){var G=(0,C.Z)(F,1);return o._orderData(G[0])})),I=(0,vm.aj)([b,u]).pipe((0,wr.U)(function(F){var G=(0,C.Z)(F,1);return o._pageData(G[0])}));null===(a=this._renderChangesSubscription)||void 0===a||a.unsubscribe(),this._renderChangesSubscription=I.subscribe(function(F){return o._renderData.next(F)})}},{key:"_filterData",value:function(o){var a=this;return this.filteredData=null==this.filter||""===this.filter?o:o.filter(function(s){return a.filterPredicate(s,a.filter)}),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}},{key:"_orderData",value:function(o){return this.sort?this.sortData(o.slice(),this.sort):o}},{key:"_pageData",value:function(o){if(!this.paginator)return o;var a=this.paginator.pageIndex*this.paginator.pageSize;return o.slice(a,a+this.paginator.pageSize)}},{key:"_updatePaginator",value:function(o){var a=this;Promise.resolve().then(function(){var s=a.paginator;if(s&&(s.length=o,s.pageIndex>0)){var u=Math.ceil(s.length/s.pageSize)-1||0,p=Math.min(s.pageIndex,u);p!==s.pageIndex&&(s.pageIndex=p,a._internalPageChanges.next())}})}},{key:"connect",value:function(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}},{key:"disconnect",value:function(){var o;null===(o=this._renderChangesSubscription)||void 0===o||o.unsubscribe(),this._renderChangesSubscription=null}}]),t}(Wi.o2)),Eu=f(15132),qse=function(n,r){return{hidden:n,lightTheme:r}},jse=/<a href="(.*)">(.*)<\/a><br\/>(.*)<br\/>\s*<button><a .*>(.*)<\/a>\s*<\/button>/i,Zq=function(){function n(r,t,i){this.httpClient=r,this.themeService=t,this.location=i,this.isVisible=!1,this.isLightThemeEnabled=!1,this.adUrl="https://try.solarwinds.com/gns3-free-toolset-giveaway?CMP=LEC-HAD-GNS3-SW_NA_X_NP_X_X_EN_STSGA_SW-ST-20200901_ST_OF1_TRY-NWSLTR",this.adBody="Network Config Generator makes it easy configure network devices, including VLANs without opening the CLI",this.buttonLabel="Check it out!"}return n.prototype.hide=function(){this.isVisible=!1},n.prototype.ngOnInit=function(){var r=this;this.location.path().includes("nodes")||(this.httpClient.get("https://servedbyadbutler.com/adserve/;ID=165803;size=0x0;setID=371476;type=json;").subscribe(function(t){var i,o;if(null===(o=null===(i=null==t?void 0:t.placements)||void 0===i?void 0:i.placement_1)||void 0===o?void 0:o.body)try{var a=t.placements.placement_1.body.replace(/(\r\n|\n|\r)/gm,""),s=jse.exec(a);r.adUrl=s[1].trim(),r.adBody=s[3].trim(),r.buttonLabel=s[4].trim()}catch(u){}r.isVisible=!0},function(t){}),this.isLightThemeEnabled="light"===this.themeService.getActualTheme(),this.themeService.themeChanged.subscribe(function(){r.isLightThemeEnabled="light"===r.themeService.getActualTheme()}))},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vc.eN),e.Y36(Eu.f),e.Y36(Et.Ye))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-adbutler"]],decls:10,vars:8,consts:[[1,"ad",3,"ngClass"],[1,"adInnerContainer"],[1,"adBody"],["target","_blank",3,"href"],[1,"close-button",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"span",2),e.TgZ(3,"a",3),e._uU(4),e.qZA(),e.qZA(),e.TgZ(5,"button"),e.TgZ(6,"a",3),e._uU(7),e.qZA(),e.qZA(),e.qZA(),e.TgZ(8,"mat-icon",4),e.NdJ("click",function(){return i.hide()}),e._uU(9,"close"),e.qZA(),e.qZA()),2&t&&(e.Q6J("ngClass",e.WLB(5,qse,!i.isVisible,i.isLightThemeEnabled)),e.xp6(3),e.Q6J("href",i.adUrl,e.LSH),e.xp6(1),e.Oqu(i.adBody),e.xp6(2),e.Q6J("href",i.adUrl,e.LSH),e.xp6(1),e.Oqu(i.buttonLabel))},directives:[Et.mk,sr],styles:[".ad[_ngcontent-%COMP%]{position:fixed;left:0;right:0;bottom:0;background-color:#a8ecff;padding-top:10px;padding-bottom:10px;font-size:12px;font-weight:bold;opacity:.8}.adInnerContainer[_ngcontent-%COMP%]{margin:auto;text-align:center}.adBody[_ngcontent-%COMP%]{padding-right:16px}.close-button[_ngcontent-%COMP%]{position:absolute;top:15px;right:15px;color:#000!important}.lightTheme[_ngcontent-%COMP%]{background-color:#ddf9ff}.hidden[_ngcontent-%COMP%]{visibility:hidden}button[_ngcontent-%COMP%]{background-color:#01d4ff;margin-top:2px;border:none;outline:none;color:#fff;font-weight:bold;font-size:11px;padding:5px 15px;border-radius:6px}button[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fff}a[_ngcontent-%COMP%]{color:#122124}"]}),n}();function zse(n,r){if(1&n&&(e.ynx(0),e._uU(1),e.BQk()),2&n){var t=e.oxw();e.xp6(1),e.Oqu(t.buttonText)}}var Wse=function(){function n(r){this.electronService=r,this.installedChanged=new e.vpe,this.disabled=!1,this.readyToInstall=!0}return n.prototype.ngOnInit=function(){var r=this;this.electronService.ipcRenderer.on(this.responseChannel,function(t,i){r.updateButton(),r.installedChanged.emit(i)})},n.prototype.ngOnDestroy=function(){this.electronService.ipcRenderer.removeAllListeners(this.responseChannel)},n.prototype.ngOnChanges=function(){this.updateButton()},n.prototype.install=function(){this.disabled=!0,this.buttonText="Installing",this.electronService.ipcRenderer.send("installed-software-install",this.software)},Object.defineProperty(n.prototype,"responseChannel",{get:function(){return"installed-software-installed-"+this.software.name},enumerable:!1,configurable:!0}),n.prototype.updateButton=function(){this.disabled=this.software.installed,this.buttonText=this.software.installed?"Installed":"Install"},n.\u0275fac=function(t){return new(t||n)(e.Y36(ds))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-install-software"]],inputs:{software:"software"},outputs:{installedChanged:"installedChanged"},features:[e.TTD],decls:2,vars:2,consts:[["mat-button","","color","primary",3,"disabled","click"],[4,"ngIf"]],template:function(t,i){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return i.install()}),e.YNc(1,zse,2,1,"ng-container",1),e.qZA()),2&t&&(e.Q6J("disabled",i.disabled),e.xp6(1),e.Q6J("ngIf",i.readyToInstall))},directives:[Mn,Et.O5],styles:[""]}),n}();function Gse(n,r){1&n&&(e.TgZ(0,"mat-header-cell"),e._uU(1," Name "),e.qZA())}function Yse(n,r){if(1&n&&(e.ynx(0),e._uU(1),e.BQk()),2&n){var t=e.oxw().$implicit;e.xp6(1),e.hij(" ",t.name," ")}}function Jse(n,r){1&n&&(e.ynx(0),e._UZ(1,"app-adbutler",14),e.BQk())}function Qse(n,r){if(1&n&&(e.TgZ(0,"mat-cell"),e.YNc(1,Yse,2,1,"ng-container",13),e.YNc(2,Jse,2,0,"ng-container",13),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.Q6J("ngIf","adbutler"!==t.type),e.xp6(1),e.Q6J("ngIf","adbutler"===t.type)}}function Kse(n,r){1&n&&e._UZ(0,"mat-header-cell")}function Xse(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"app-install-software",17),e.NdJ("installedChanged",function(a){return e.CHM(t),e.oxw(2).onInstalled(a)}),e.qZA()}if(2&n){var i=e.oxw().$implicit;e.Q6J("software",i)}}function $se(n,r){if(1&n&&(e.TgZ(0,"mat-cell",15),e.YNc(1,Xse,1,1,"app-install-software",16),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.Q6J("ngIf","adbutler"!==t.type)}}function ele(n,r){1&n&&e._UZ(0,"mat-header-row")}function tle(n,r){1&n&&e._UZ(0,"mat-row")}var nle=function(){function n(r,t){this.installedSoftwareService=r,this.changeDetectorRef=t,this.displayedColumns=["name","actions"]}return n.prototype.ngOnInit=function(){this.dataSource=new rle(this.installedSoftwareService)},n.prototype.onInstalled=function(r){this.dataSource.refresh(),this.changeDetectorRef.detectChanges()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Rq),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-installed-software"]],decls:16,vars:3,consts:[[1,"content"],[1,"default-header"],[1,"default-content"],[1,"container","mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","name"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","actions"],["style","text-align: right",4,"matCellDef"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[4,"ngIf"],["theme","dark"],[2,"text-align","right"],[3,"software","installedChanged",4,"ngIf"],[3,"software","installedChanged"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"h1"),e._uU(3,"Installed software"),e.qZA(),e.qZA(),e.TgZ(4,"div",2),e.TgZ(5,"div",3),e.TgZ(6,"mat-table",4,5),e.ynx(8,6),e.YNc(9,Gse,2,0,"mat-header-cell",7),e.YNc(10,Qse,3,2,"mat-cell",8),e.BQk(),e.ynx(11,9),e.YNc(12,Kse,1,0,"mat-header-cell",7),e.YNc(13,$se,2,1,"mat-cell",10),e.BQk(),e.YNc(14,ele,1,0,"mat-header-row",11),e.YNc(15,tle,1,0,"mat-row",12),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(6),e.Q6J("dataSource",i.dataSource),e.xp6(8),e.Q6J("matHeaderRowDef",i.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",i.displayedColumns))},directives:[Yl,cl,ul,ll,Jl,Ql,dl,pl,Et.O5,Zq,Wse,Kl,Xl],styles:[""]}),n}(),rle=function(n){function r(t){var i=n.call(this)||this;return i.installedSoftwareService=t,i.installed=new to.X([]),i}return(0,Jn.ZT)(r,n),r.prototype.connect=function(){return this.refresh(),this.installed},r.prototype.disconnect=function(){},r.prototype.refresh=function(){var t=this.installedSoftwareService.list();t.push({type:"adbutler"}),this.installed.next(t)},r}(Wi.o2),ile=function(){function n(){}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-page-not-found"]],decls:7,vars:0,consts:[[1,"content"],[1,"default-header"],["mat-button","","routerLink","/servers"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e._UZ(2,"br"),e.TgZ(3,"h1"),e._uU(4,"404 Page not found"),e.qZA(),e.TgZ(5,"button",2),e._uU(6,"Navigate to homepage"),e.qZA(),e.qZA(),e.qZA())},directives:[Mn,fa],styles:["div[_ngcontent-%COMP%]{text-align:center}"]}),n}(),ole=function(){function n(r){this.route=r,this.serverId=""}return n.prototype.ngOnInit=function(){this.serverId=this.route.snapshot.paramMap.get("server_id")},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-built-in-preferences"]],decls:16,vars:4,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],["mat-button","",1,"cancel-button",3,"routerLink"],[1,"default-content"],[1,"listcontainer","mat-elevation-z8"],[3,"routerLink"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Built-in preferences"),e.qZA(),e.TgZ(5,"button",4),e._uU(6," Back "),e.qZA(),e.qZA(),e.qZA(),e.TgZ(7,"div",5),e.TgZ(8,"div",6),e.TgZ(9,"mat-nav-list"),e.TgZ(10,"mat-list-item",7),e._uU(11," Ethernet hubs "),e.qZA(),e.TgZ(12,"mat-list-item",7),e._uU(13," Ethernet switches "),e.qZA(),e.TgZ(14,"mat-list-item",7),e._uU(15," Cloud nodes "),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(5),e.MGl("routerLink","/server/",i.serverId,"/preferences"),e.xp6(5),e.MGl("routerLink","/server/",i.serverId,"/preferences/builtin/ethernet-hubs"),e.xp6(2),e.MGl("routerLink","/server/",i.serverId,"/preferences/builtin/ethernet-switches"),e.xp6(2),e.MGl("routerLink","/server/",i.serverId,"/preferences/builtin/cloud-nodes"))},directives:[Mn,fa,ku,Cs],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}(),xa=f(49940),ad=function(){function n(r){this.httpServer=r}return n.prototype.getTemplates=function(r){return this.httpServer.get(r,"/templates")},n.prototype.getTemplate=function(r,t){return this.httpServer.get(r,"/templates/"+t)},n.prototype.addTemplate=function(r,t){return this.httpServer.post(r,"/templates",t)},n.prototype.saveTemplate=function(r,t){return this.httpServer.put(r,"/templates/"+t.template_id,t)},n.\u0275fac=function(t){return new(t||n)(e.LFG(Yo.wh))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),ec=function(){function n(){}return n.prototype.getTracengTemplate=function(){return{builtin:!1,category:"guest",compute_id:"local",console_type:"none",default_name_format:"TraceNG{0}",ip_address:"",name:"",symbol:":/symbols/classic/traceng.svg",template_id:"",template_type:"traceng"}},n.prototype.getQemuTemplate=function(){return(0,rr.of)({adapter_type:"e1000",adapters:4,bios_image:"",boot_priority:"c",builtin:!1,category:"guest",cdrom_image:"",compute_id:"local",console_auto_start:!1,console_type:"telnet",cpu_throttling:0,cpus:1,custom_adapters:[],default_name_format:"{name}-{0}",first_port_name:"",hda_disk_image:"",hda_disk_interface:"ide",hdb_disk_image:"",hdb_disk_interface:"ide",hdc_disk_image:"",hdc_disk_interface:"ide",hdd_disk_image:"",hdd_disk_interface:"ide",initrd:"",kernel_command_line:"",kernel_image:"",legacy_networking:!1,linked_clone:!0,mac_address:"",name:"",on_close:"power_off",options:"-nographic",platform:"",port_name_format:"Ethernet{0}",port_segment_size:0,process_priority:"normal",qemu_path:"",ram:256,symbol:":/symbols/qemu_guest.svg",template_id:"",template_type:"qemu",usage:""})},n.prototype.getVpcsTemplate=function(){return(0,rr.of)({base_script_file:"vpcs_base_config.txt",builtin:!1,category:"guest",compute_id:"local",console_auto_start:!1,console_type:"telnet",default_name_format:"PC{0}",name:"",symbol:":/symbols/vpcs_guest.svg",template_id:"",template_type:"vpcs"})},n.prototype.getVirtualBoxTemplate=function(){return(0,rr.of)({adapter_type:"Intel PRO/1000 MT Desktop (82540EM)",adapters:1,builtin:!1,category:"guest",compute_id:"local",console_auto_start:!1,console_type:"none",custom_adapters:[],default_name_format:"{name}-{0}",first_port_name:"",headless:!1,linked_clone:!1,name:"",on_close:"power_off",port_name_format:"Ethernet{0}",port_segment_size:0,ram:0,symbol:":/symbols/vbox_guest.svg",template_id:"",template_type:"virtualbox",usage:"",use_any_adapter:!1,vmname:""})},n.prototype.getCloudNodeTemplate=function(){return(0,rr.of)({builtin:!1,category:"guest",compute_id:"local",default_name_format:"Cloud{0}",name:"",ports_mapping:[],remote_console_type:"none",symbol:":/symbols/cloud.svg",template_id:"",template_type:"cloud"})},n.prototype.getEthernetHubTemplate=function(){return(0,rr.of)({builtin:!1,category:"switch",compute_id:"local",default_name_format:"Hub{0}",name:"",ports_mapping:[],symbol:":/symbols/hub.svg",template_id:"",template_type:"ethernet_hub"})},n.prototype.getEthernetSwitchTemplate=function(){return(0,rr.of)({builtin:!1,category:"switch",compute_id:"local",console_type:"telnet",default_name_format:"Switch{0}",name:"",ports_mapping:[],symbol:":/symbols/ethernet_switch.svg",template_id:"",template_type:"ethernet_switch"})},n.prototype.getIosTemplate=function(){return(0,rr.of)({auto_delete_disks:!0,builtin:!1,category:"router",compute_id:"local",console_auto_start:!1,console_type:"telnet",default_name_format:"R{0}",disk0:0,disk1:0,exec_area:64,idlemax:500,idlepc:"",idlesleep:30,image:"",mac_addr:"",mmap:!0,name:"",nvram:128,platform:"",private_config:"",ram:128,sparsemem:!0,startup_config:"",symbol:":/symbols/router.svg",system_id:"FTX0945W0MY",template_id:"",template_type:"dynamips",usage:""})},n.prototype.getVmwareTemplate=function(){return(0,rr.of)({adapter_type:"e1000",adapters:1,builtin:!1,category:"guest",compute_id:"local",console_auto_start:!1,console_type:"none",custom_adapters:[],default_name_format:"{name}-{0}",first_port_name:"",headless:!1,linked_clone:!1,name:"",on_close:"power_off",port_name_format:"Ethernet{0}",port_segment_size:0,symbol:":/symbols/vmware_guest.svg",template_id:"",template_type:"vmware",usage:"",use_any_adapter:!1,vmx_path:""})},n.prototype.getDockerTemplate=function(){return(0,rr.of)({adapters:1,builtin:!1,category:"guest",compute_id:"vm",console_auto_start:!1,console_http_path:"/",console_http_port:80,console_resolution:"1024x768",console_type:"telnet",custom_adapters:[],default_name_format:"{name}-{0}",environment:"",extra_hosts:"",image:"",name:"",start_command:"",symbol:":/symbols/docker_guest.svg",template_id:"",template_type:"docker",usage:""})},n.prototype.getIouTemplate=function(){return(0,rr.of)({builtin:!1,category:"switch",compute_id:"vm",console_auto_start:!1,console_type:"telnet",default_name_format:"IOU{0}",ethernet_adapters:1,l1_keepalives:!1,name:"",nvram:128,path:"",private_config:"",ram:256,serial_adapters:0,startup_config:"iou_l2_base_startup-config.txt",symbol:":/symbols/multilayer_switch.svg",template_id:"",template_type:"iou",usage:"",use_default_iou_values:!0})},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),tc=f(36889),ale=["input"],sle=function(r){return{enterDuration:r}},lle=["*"],ule=new e.OlP("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}}),Lq=0,dle={provide:ne.JU,useExisting:(0,e.Gpc)(function(){return fl}),multi:!0},Fq=function n(r,t){(0,g.Z)(this,n),this.source=r,this.value=t},Bq=new e.OlP("MatRadioGroup"),Uq=function(){var n=function(){function r(t){(0,g.Z)(this,r),this._changeDetector=t,this._value=null,this._name="mat-radio-group-".concat(Lq++),this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=function(){},this.onTouched=function(){},this.change=new e.vpe}return(0,k.Z)(r,[{key:"name",get:function(){return this._name},set:function(i){this._name=i,this._updateRadioButtonNames()}},{key:"labelPosition",get:function(){return this._labelPosition},set:function(i){this._labelPosition="before"===i?"before":"after",this._markRadiosForCheck()}},{key:"value",get:function(){return this._value},set:function(i){this._value!==i&&(this._value=i,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}},{key:"_checkSelectedRadioButton",value:function(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}},{key:"selected",get:function(){return this._selected},set:function(i){this._selected=i,this.value=i?i.value:null,this._checkSelectedRadioButton()}},{key:"disabled",get:function(){return this._disabled},set:function(i){this._disabled=(0,Dn.Ig)(i),this._markRadiosForCheck()}},{key:"required",get:function(){return this._required},set:function(i){this._required=(0,Dn.Ig)(i),this._markRadiosForCheck()}},{key:"ngAfterContentInit",value:function(){this._isInitialized=!0}},{key:"_touch",value:function(){this.onTouched&&this.onTouched()}},{key:"_updateRadioButtonNames",value:function(){var i=this;this._radios&&this._radios.forEach(function(o){o.name=i.name,o._markForCheck()})}},{key:"_updateSelectedRadioFromValue",value:function(){var i=this;this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(function(a){a.checked=i.value===a.value,a.checked&&(i._selected=a)}))}},{key:"_emitChangeEvent",value:function(){this._isInitialized&&this.change.emit(new Fq(this._selected,this._value))}},{key:"_markRadiosForCheck",value:function(){this._radios&&this._radios.forEach(function(i){return i._markForCheck()})}},{key:"writeValue",value:function(i){this.value=i,this._changeDetector.markForCheck()}},{key:"registerOnChange",value:function(i){this._controlValueAccessorChangeFn=i}},{key:"registerOnTouched",value:function(i){this.onTouched=i}},{key:"setDisabledState",value:function(i){this.disabled=i,this._changeDetector.markForCheck()}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.sBO))},n.\u0275dir=e.lG2({type:n,inputs:{name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"}}),n}(),fl=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(){return(0,g.Z)(this,i),t.apply(this,arguments)}return i}(Uq);return n.\u0275fac=function(){var r;return function(i){return(r||(r=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["mat-radio-group"]],contentQueries:function(t,i,o){var a;1&t&&e.Suo(o,hl,5),2&t&&e.iGM(a=e.CRH())&&(i._radios=a)},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[e._Bn([dle,{provide:Bq,useExisting:n}]),e.qOj]}),n}(),fle=(0,ln.Kr)((0,ln.sb)(function n(r){(0,g.Z)(this,n),this._elementRef=r})),hle=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s,u,p,m,b,I){var F;return(0,g.Z)(this,i),(F=t.call(this,a))._changeDetector=s,F._focusMonitor=u,F._radioDispatcher=p,F._providerOverride=b,F._uniqueId="mat-radio-".concat(++Lq),F.id=F._uniqueId,F.change=new e.vpe,F._checked=!1,F._value=null,F._removeUniqueSelectionListener=function(){},F.radioGroup=o,F._noopAnimations="NoopAnimations"===m,I&&(F.tabIndex=(0,Dn.su)(I,0)),F._removeUniqueSelectionListener=p.listen(function(G,Y){G!==F.id&&Y===F.name&&(F.checked=!1)}),F}return(0,k.Z)(i,[{key:"checked",get:function(){return this._checked},set:function(a){var s=(0,Dn.Ig)(a);this._checked!==s&&(this._checked=s,s&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!s&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),s&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}},{key:"value",get:function(){return this._value},set:function(a){this._value!==a&&(this._value=a,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===a),this.checked&&(this.radioGroup.selected=this)))}},{key:"labelPosition",get:function(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"},set:function(a){this._labelPosition=a}},{key:"disabled",get:function(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled},set:function(a){this._setDisabled((0,Dn.Ig)(a))}},{key:"required",get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(a){this._required=(0,Dn.Ig)(a)}},{key:"color",get:function(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"},set:function(a){this._color=a}},{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"focus",value:function(a,s){s?this._focusMonitor.focusVia(this._inputElement,s,a):this._inputElement.nativeElement.focus(a)}},{key:"_markForCheck",value:function(){this._changeDetector.markForCheck()}},{key:"ngOnInit",value:function(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}},{key:"ngAfterViewInit",value:function(){var a=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(s){!s&&a.radioGroup&&a.radioGroup._touch()})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}},{key:"_emitChangeEvent",value:function(){this.change.emit(new Fq(this,this._value))}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onInputClick",value:function(a){a.stopPropagation()}},{key:"_onInputInteraction",value:function(a){if(a.stopPropagation(),!this.checked&&!this.disabled){var s=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),s&&this.radioGroup._emitChangeEvent())}}},{key:"_setDisabled",value:function(a){this._disabled!==a&&(this._disabled=a,this._changeDetector.markForCheck())}}]),i}(fle);return n.\u0275fac=function(t){return new(t||n)(e.Y36(Uq),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(Ti.tE),e.Y36(Wi.A8),e.Y36(String),e.Y36(void 0),e.Y36(String))},n.\u0275dir=e.lG2({type:n,viewQuery:function(t,i){var o;1&t&&e.Gf(ale,5),2&t&&e.iGM(o=e.CRH())&&(i._inputElement=o.first)},inputs:{id:"id",checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{change:"change"},features:[e.qOj]}),n}(),hl=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s,u,p,m,b,I){return(0,g.Z)(this,i),t.call(this,o,a,s,u,p,m,b,I)}return i}(hle);return n.\u0275fac=function(t){return new(t||n)(e.Y36(Bq,8),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(Ti.tE),e.Y36(Wi.A8),e.Y36(_s.Qb,8),e.Y36(ule,8),e.$8M("tabindex"))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(t,i){1&t&&e.NdJ("focus",function(){return i._inputElement.nativeElement.focus()}),2&t&&(e.uIk("tabindex",null)("id",i.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),e.ekj("mat-radio-checked",i.checked)("mat-radio-disabled",i.disabled)("_mat-animation-noopable",i._noopAnimations)("mat-primary","primary"===i.color)("mat-accent","accent"===i.color)("mat-warn","warn"===i.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[e.qOj],ngContentSelectors:lle,decls:13,vars:20,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(t,i){if(1&t&&(e.F$t(),e.TgZ(0,"label",0,1),e.TgZ(2,"span",2),e._UZ(3,"span",3),e._UZ(4,"span",4),e.TgZ(5,"input",5,6),e.NdJ("change",function(s){return i._onInputInteraction(s)})("click",function(s){return i._onInputClick(s)}),e.qZA(),e.TgZ(7,"span",7),e._UZ(8,"span",8),e.qZA(),e.qZA(),e.TgZ(9,"span",9),e.TgZ(10,"span",10),e._uU(11,"\xa0"),e.qZA(),e.Hsn(12),e.qZA(),e.qZA()),2&t){var o=e.MAs(1);e.uIk("for",i.inputId),e.xp6(5),e.Q6J("id",i.inputId)("checked",i.checked)("disabled",i.disabled)("tabIndex",i.tabIndex)("required",i.required),e.uIk("name",i.name)("value",i.value)("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby),e.xp6(2),e.Q6J("matRippleTrigger",o)("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",e.VKq(18,sle,i._noopAnimations?0:150)),e.xp6(2),e.ekj("mat-radio-label-before","before"==i.labelPosition)}},directives:[ln.wG],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-ripple,.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-ripple{outline:solid 3px}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),n}(),mle=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[ln.si,ln.BQ],ln.BQ]}),n}(),vle=function(){function n(r,t,i,o,a,s,u,p){this.route=r,this.serverService=t,this.builtInTemplatesService=i,this.router=o,this.toasterService=a,this.templateMocksService=s,this.formBuilder=u,this.computeService=p,this.templateName="",this.isGns3VmAvailable=!1,this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0,this.formGroup=this.formBuilder.group({templateName:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(t,10)).then(function(i){r.server=i,r.computeService.getComputes(i).subscribe(function(o){o.filter(function(a){return"vm"===a.compute_id}).length>0&&(r.isGns3VmAvailable=!0)})})},n.prototype.setServerType=function(r){"gns3 vm"===r&&this.isGns3VmAvailable?(this.isGns3VmChosen=!0,this.isLocalComputerChosen=!1):(this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0)},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","builtin","cloud-nodes"])},n.prototype.addTemplate=function(){var t,r=this;this.formGroup.invalid?this.toasterService.error("Fill all required fields"):(this.templateMocksService.getCloudNodeTemplate().subscribe(function(i){t=i}),t.template_id=(0,xa.v4)(),t.name=this.formGroup.get("templateName").value,t.compute_id=this.isGns3VmChosen?"vm":"local",this.builtInTemplatesService.addTemplate(this.server,t).subscribe(function(i){r.goBack()}))},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(ad),e.Y36(kr),e.Y36(Xn),e.Y36(ec),e.Y36(ne.qu),e.Y36(tc.X))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-cloud-nodes-add-template"]],decls:20,vars:2,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[1,"matCard"],[1,"radio-group"],["value","1","checked","",1,"radio-button",3,"click"],["value","2",1,"radio-button",3,"disabled","click"],[3,"formGroup"],[1,"form-field"],["formControlName","templateName","matInput","","type","text","placeholder","Template name"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"New cloud node template"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"mat-card",5),e.TgZ(7,"mat-radio-group",6),e.TgZ(8,"mat-radio-button",7),e.NdJ("click",function(){return i.setServerType("local")}),e._uU(9,"Run the cloud node locally"),e.qZA(),e.TgZ(10,"mat-radio-button",8),e.NdJ("click",function(){return i.setServerType("gns3 vm")}),e._uU(11,"Run the cloud node on the GNS3 VM"),e.qZA(),e.qZA(),e.TgZ(12,"form",9),e.TgZ(13,"mat-form-field",10),e._UZ(14,"input",11),e.qZA(),e.qZA(),e.qZA(),e.TgZ(15,"div",12),e.TgZ(16,"button",13),e.NdJ("click",function(){return i.goBack()}),e._uU(17,"Cancel"),e.qZA(),e.TgZ(18,"button",14),e.NdJ("click",function(){return i.addTemplate()}),e._uU(19,"Add template"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(10),e.Q6J("disabled",!i.isGns3VmAvailable),e.xp6(2),e.Q6J("formGroup",i.formGroup))},directives:[_i,fl,hl,ne._Y,ne.JL,ne.sg,Un.KE,ne.Fj,ur,ne.JJ,ne.u,Mn],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}(),Xf=function(){function n(){}return n.prototype.getCategoriesForCloudNodes=function(){return[["Default","guest"],["Routers","router"],["Switches","switch"],["End devices","guest"],["Security devices","firewall"]]},n.prototype.getConsoleTypesForCloudNodes=function(){return["telnet","vnc","spice","http","https","none"]},n.prototype.getCategoriesForEthernetHubs=function(){return[["Default","guest"],["Routers","router"],["Switches","switch"],["End devices","guest"],["Security devices","firewall"]]},n.prototype.getCategoriesForEthernetSwitches=function(){return[["Default","guest"],["Routers","router"],["Switches","switch"],["End devices","guest"],["Security devices","firewall"]]},n.prototype.getConsoleTypesForEthernetSwitches=function(){return["telnet","none"]},n.prototype.getPortTypesForEthernetSwitches=function(){return["access","dot1q","qinq"]},n.prototype.getEtherTypesForEthernetSwitches=function(){return["0x8100","0x88A8","0x9100","0x9200"]},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),gle=f(61106),OS=function(){function n(r){this.httpServer=r,this.symbols=new to.X([]),this.maximumSymbolSize=80}return n.prototype.getMaximumSymbolSize=function(){return this.maximumSymbolSize},n.prototype.get=function(r){return this.symbols.getValue().find(function(t){return t.symbol_id===r})},n.prototype.getDimensions=function(r,t){var i=encodeURI(t);return this.httpServer.get(r,"/symbols/"+i+"/dimensions")},n.prototype.scaleDimensionsForNode=function(r){var t=r.width>r.height?this.maximumSymbolSize/r.width:this.maximumSymbolSize/r.height;return{width:r.width*t,height:r.height*t}},n.prototype.getByFilename=function(r){return this.symbols.getValue().find(function(t){return t.filename===r})},n.prototype.add=function(r,t,i){return this.cache=null,this.httpServer.post(r,"/symbols/"+t+"/raw",i)},n.prototype.load=function(r){return this.httpServer.get(r,"/symbols")},n.prototype.list=function(r){return this.cache||(this.cache=this.load(r).pipe((0,gle.d)(1))),this.cache},n.prototype.raw=function(r,t){var i=encodeURI(t);return this.httpServer.getText(r,"/symbols/"+i+"/raw")},n.\u0275fac=function(t){return new(t||n)(e.LFG(Yo.wh))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),yle=function(){function n(){}return n.prototype.transform=function(r,t){return r?t?(t=t.toLowerCase(),r.filter(function(i){return i.filename.toLowerCase().includes(t)})):r:[]},n.\u0275fac=function(t){return new(t||n)},n.\u0275pipe=e.Yjl({name:"filenamefilter",type:n,pure:!0}),n}(),ble=function(n){return{buttonSelected:n}},Cle=function(n){return{imageSelected:n}};function Sle(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",12),e.TgZ(1,"button",13),e.NdJ("click",function(){var u=e.CHM(t).$implicit;return e.oxw().setSelected(u.symbol_id)}),e._UZ(2,"img",14),e.qZA(),e.qZA()}if(2&n){var i=r.$implicit,o=e.oxw();e.xp6(1),e.Q6J("ngClass",e.VKq(3,ble,o.isSelected===i.symbol_id)),e.xp6(1),e.Q6J("ngClass",e.VKq(5,Cle,o.isSelected===i.symbol_id))("src",o.getImageSourceForTemplate(i.symbol_id),e.LSH)}}var Tle=function(){return{standalone:!0}},Hq=function(){function n(r){this.symbolService=r,this.symbolChanged=new e.vpe,this.symbols=[],this.filteredSymbols=[],this.isSelected="",this.searchText=""}return n.prototype.ngOnInit=function(){this.isSelected=this.symbol,this.loadSymbols()},n.prototype.setFilter=function(r){this.filteredSymbols="all"===r?this.symbols:this.symbols.filter("builtin"===r?function(t){return t.builtin}:function(t){return!t.builtin})},n.prototype.setSelected=function(r){this.isSelected=r,this.symbolChanged.emit(this.isSelected)},n.prototype.loadSymbols=function(){var r=this;this.symbolService.list(this.server).subscribe(function(t){r.symbols=t,r.filteredSymbols=t})},n.prototype.uploadSymbolFile=function(r){this.readSymbolFile(r.target)},n.prototype.readSymbolFile=function(r){var t=this,i=r.files[0],o=r.files[0].name,a=new FileReader,s=new Image;a.onloadend=function(){var p=t.createSvgFileForImage(a.result,s);t.symbolService.add(t.server,o,p).subscribe(function(){t.loadSymbols()})},s.onload=function(){a.readAsDataURL(i)},s.src=window.URL.createObjectURL(i)},n.prototype.createSvgFileForImage=function(r,t){return'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="'+t.height+'" \n                width="'+t.width+'">\n<image height="'+t.height+'" width="'+t.width+'" xlink:href="'+r+'"/>\n</svg>'},n.prototype.getImageSourceForTemplate=function(r){return this.server.protocol+"//"+this.server.host+":"+this.server.port+"/v2/symbols/"+r+"/raw"},n.\u0275fac=function(t){return new(t||n)(e.Y36(OS))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-symbols"]],inputs:{server:"server",symbol:"symbol"},outputs:{symbolChanged:"symbolChanged"},decls:20,vars:7,consts:[[1,"menu"],["aria-label","Select an option",1,"radio-selection"],["value","1","checked","",3,"click"],["value","2",3,"click"],["value","3",3,"click"],["type","file","accept",".svg, .bmp, .jpeg, .jpg, .gif, .png",1,"non-visible",3,"change"],["file",""],["mat-button","",3,"click"],[1,"example-full-width"],["matInput","","placeholder","Search by filename",3,"ngModel","ngModelOptions","ngModelChange"],[1,"wrapper"],["class","buttonWrapper",4,"ngFor","ngForOf"],[1,"buttonWrapper"],[1,"button",3,"ngClass","click"],["lazyimg","",1,"image",3,"ngClass","src"]],template:function(t,i){if(1&t){var o=e.EpF();e.TgZ(0,"div",0),e.TgZ(1,"mat-radio-group",1),e.TgZ(2,"mat-radio-button",2),e.NdJ("click",function(){return i.setFilter("all")}),e._uU(3,"All symbols"),e.qZA(),e.TgZ(4,"mat-radio-button",3),e.NdJ("click",function(){return i.setFilter("builtin")}),e._uU(5,"Built-in symbols"),e.qZA(),e.TgZ(6,"mat-radio-button",4),e.NdJ("click",function(){return i.setFilter("custom")}),e._uU(7,"Custom symbols"),e.qZA(),e.qZA(),e.TgZ(8,"input",5,6),e.NdJ("change",function(s){return i.uploadSymbolFile(s)}),e.qZA(),e.TgZ(10,"button",7),e.NdJ("click",function(){return e.CHM(o),e.MAs(9).click()}),e.TgZ(11,"mat-icon"),e._uU(12,"add"),e.qZA(),e._uU(13," Add symbol "),e.qZA(),e.qZA(),e.TgZ(14,"form"),e.TgZ(15,"mat-form-field",8),e.TgZ(16,"input",9),e.NdJ("ngModelChange",function(s){return i.searchText=s}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(17,"div",10),e.YNc(18,Sle,3,7,"div",11),e.ALo(19,"filenamefilter"),e.qZA()}2&t&&(e.xp6(16),e.Q6J("ngModel",i.searchText)("ngModelOptions",e.DdM(6,Tle)),e.xp6(2),e.Q6J("ngForOf",e.xi3(19,3,i.filteredSymbols,i.searchText)))},directives:[fl,hl,Mn,sr,ne._Y,ne.JL,ne.F,Un.KE,ur,ne.Fj,ne.JJ,ne.On,Et.sg,Et.mk],pipes:[yle],styles:[".buttonWrapper[_ngcontent-%COMP%]{width:85px;height:85px;display:flex;align-items:center;margin-left:auto;margin-right:auto;outline:none}.menu[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.button[_ngcontent-%COMP%]{background:border-box;border-width:0px;outline:none}.buttonSelected[_ngcontent-%COMP%]{border-width:3px;background:#0097a7!important}.image[_ngcontent-%COMP%]{width:65px;height:65px;filter:invert(0);--webkit-filter: invert(0) !important}.imageSelected[_ngcontent-%COMP%]{margin-left:0}.wrapper[_ngcontent-%COMP%]{display:grid;grid-template-rows:auto;grid-template-columns:repeat(7,1fr);grid-row-gap:3em;grid-column-gap:1em}.radio-selection[_ngcontent-%COMP%]{width:90%}.mat-radio-button[_ngcontent-%COMP%] ~ .mat-radio-button[_ngcontent-%COMP%]{margin-left:16px}.non-visible[_ngcontent-%COMP%]{display:none}.example-full-width[_ngcontent-%COMP%]{width:100%}"]}),n}(),sd=function(){function n(){this.symbolChangedEmitter=new e.vpe,this.chosenSymbol=""}return n.prototype.symbolChanged=function(r){this.chosenSymbol=r},n.prototype.chooseSymbol=function(){this.symbolChangedEmitter.emit(this.chosenSymbol)},n.prototype.cancelChooseSymbol=function(){this.symbolChangedEmitter.emit(this.symbol)},n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-symbols-menu"]],inputs:{server:"server",symbol:"symbol"},outputs:{symbolChangedEmitter:"symbolChangedEmitter"},decls:11,vars:2,consts:[[1,"configurator"],[1,"default-header"],[1,"row"],[1,"col"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",1,"top-button",3,"click"],[1,"default-content"],[3,"server","symbol","symbolChanged"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Symbol selection"),e.qZA(),e.TgZ(5,"button",4),e.NdJ("click",function(){return i.cancelChooseSymbol()}),e._uU(6,"Cancel"),e.qZA(),e.TgZ(7,"button",5),e.NdJ("click",function(){return i.chooseSymbol()}),e._uU(8,"Choose symbol"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(9,"div",6),e.TgZ(10,"app-symbols",7),e.NdJ("symbolChanged",function(a){return i.symbolChanged(a)}),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(10),e.Q6J("server",i.server)("symbol",i.symbol))},directives:[Mn,Hq],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}();function xle(n,r){if(1&n&&(e.TgZ(0,"mat-option",32),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}function wle(n,r){if(1&n&&(e.TgZ(0,"mat-option",32),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function kle(n,r){if(1&n&&(e.TgZ(0,"div",7),e.TgZ(1,"div",7),e._uU(2),e.qZA(),e._UZ(3,"br"),e._UZ(4,"br"),e.qZA()),2&n){var t=r.$implicit;e.xp6(2),e.Oqu(t.name)}}function Ele(n,r){if(1&n&&(e.TgZ(0,"mat-option",32),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Mle(n,r){if(1&n&&(e.TgZ(0,"div",7),e.TgZ(1,"div",7),e._uU(2),e.qZA(),e._UZ(3,"br"),e._UZ(4,"br"),e.qZA()),2&n){var t=r.$implicit;e.xp6(2),e.Oqu(t.name)}}function Ale(n,r){1&n&&(e.TgZ(0,"th",42),e._uU(1,"Name"),e.qZA())}function Dle(n,r){if(1&n&&(e.TgZ(0,"td",43),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.Oqu(t.name)}}function Ole(n,r){1&n&&(e.TgZ(0,"th",42),e._uU(1,"Local port"),e.qZA())}function Ple(n,r){if(1&n&&(e.TgZ(0,"td",43),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.Oqu(t.rport)}}function Ile(n,r){1&n&&(e.TgZ(0,"th",42),e._uU(1,"Type"),e.qZA())}function Rle(n,r){if(1&n&&(e.TgZ(0,"td",43),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.Oqu(t.rhost)}}function Nle(n,r){1&n&&(e.TgZ(0,"th",42),e._uU(1,"Remote port"),e.qZA())}function Zle(n,r){if(1&n&&(e.TgZ(0,"td",43),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.Oqu(t.lport)}}function Lle(n,r){1&n&&e._UZ(0,"tr",44)}function Fle(n,r){1&n&&e._UZ(0,"tr",45)}function Ble(n,r){if(1&n&&(e.TgZ(0,"table",33),e.ynx(1,34),e.YNc(2,Ale,2,0,"th",35),e.YNc(3,Dle,2,1,"td",36),e.BQk(),e.ynx(4,37),e.YNc(5,Ole,2,0,"th",35),e.YNc(6,Ple,2,1,"td",36),e.BQk(),e.ynx(7,38),e.YNc(8,Ile,2,0,"th",35),e.YNc(9,Rle,2,1,"td",36),e.BQk(),e.ynx(10,39),e.YNc(11,Nle,2,0,"th",35),e.YNc(12,Zle,2,1,"td",36),e.BQk(),e.YNc(13,Lle,1,0,"tr",40),e.YNc(14,Fle,1,0,"tr",41),e.qZA()),2&n){var t=e.oxw(2);e.Q6J("dataSource",t.dataSourceUdp),e.xp6(13),e.Q6J("matHeaderRowDef",t.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",t.displayedColumns)}}function Ule(n,r){1&n&&e._UZ(0,"br")}var Hle=function(){return{standalone:!0}};function Vle(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",6),e.TgZ(1,"mat-accordion"),e.TgZ(2,"mat-expansion-panel"),e.TgZ(3,"mat-expansion-panel-header"),e.TgZ(4,"mat-panel-title"),e._uU(5," General "),e.qZA(),e.qZA(),e.TgZ(6,"mat-form-field",7),e.TgZ(7,"input",8),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().cloudNodeTemplate.name=a}),e.qZA(),e.qZA(),e.TgZ(8,"mat-form-field",7),e.TgZ(9,"input",9),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().cloudNodeTemplate.default_name_format=a}),e.qZA(),e.qZA(),e.TgZ(10,"mat-form-field",7),e.TgZ(11,"input",10),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().cloudNodeTemplate.symbol=a}),e.qZA(),e.qZA(),e.TgZ(12,"button",11),e.NdJ("click",function(){return e.CHM(t),e.oxw().chooseSymbol()}),e._uU(13,"Choose symbol"),e.qZA(),e._UZ(14,"br"),e._UZ(15,"br"),e.TgZ(16,"mat-form-field",7),e.TgZ(17,"mat-select",12),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().cloudNodeTemplate.category=a}),e.YNc(18,xle,2,2,"mat-option",13),e.qZA(),e.qZA(),e.TgZ(19,"mat-form-field",14),e.TgZ(20,"mat-select",15),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().cloudNodeTemplate.console_type=a}),e.YNc(21,wle,2,2,"mat-option",13),e.qZA(),e.qZA(),e.TgZ(22,"mat-form-field",7),e.TgZ(23,"input",16),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().cloudNodeTemplate.remote_console_host=a}),e.qZA(),e.qZA(),e.TgZ(24,"mat-form-field",7),e.TgZ(25,"input",17),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().cloudNodeTemplate.remote_console_port=a}),e.qZA(),e.qZA(),e.TgZ(26,"mat-form-field",7),e.TgZ(27,"input",18),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().cloudNodeTemplate.remote_console_http_path=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(28,"mat-expansion-panel"),e.TgZ(29,"mat-expansion-panel-header"),e.TgZ(30,"mat-panel-title"),e._uU(31," Ethernet interfaces "),e.qZA(),e.qZA(),e.YNc(32,kle,5,1,"div",19),e.TgZ(33,"mat-form-field",14),e.TgZ(34,"mat-select",20),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().ethernetInterface=a}),e.YNc(35,Ele,2,2,"mat-option",13),e.qZA(),e.qZA(),e.TgZ(36,"button",21),e.NdJ("click",function(){return e.CHM(t),e.oxw().onAddEthernetInterface()}),e._uU(37,"Add"),e.qZA(),e.qZA(),e.TgZ(38,"mat-expansion-panel"),e.TgZ(39,"mat-expansion-panel-header"),e.TgZ(40,"mat-panel-title"),e._uU(41," TAP interfaces "),e.qZA(),e.qZA(),e.YNc(42,Mle,5,1,"div",19),e.TgZ(43,"mat-form-field",7),e.TgZ(44,"input",22),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().tapInterface=a}),e.qZA(),e.qZA(),e.TgZ(45,"button",21),e.NdJ("click",function(){return e.CHM(t),e.oxw().onAddTapInterface()}),e._uU(46,"Add"),e.qZA(),e.qZA(),e.TgZ(47,"mat-expansion-panel"),e.TgZ(48,"mat-expansion-panel-header"),e.TgZ(49,"mat-panel-title"),e._uU(50," UDP tunnels "),e.qZA(),e.qZA(),e.YNc(51,Ble,15,3,"table",23),e.YNc(52,Ule,1,0,"br",24),e.TgZ(53,"mat-form-field",7),e.TgZ(54,"input",25),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().newPort.name=a}),e.qZA(),e.qZA(),e.TgZ(55,"mat-form-field",7),e.TgZ(56,"input",26),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().newPort.lport=a}),e.qZA(),e.qZA(),e.TgZ(57,"mat-form-field",7),e.TgZ(58,"input",27),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().newPort.rhost=a}),e.qZA(),e.qZA(),e.TgZ(59,"mat-form-field",7),e.TgZ(60,"input",28),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().newPort.rport=a}),e.qZA(),e.qZA(),e.TgZ(61,"button",21),e.NdJ("click",function(){return e.CHM(t),e.oxw().onAddUdpInterface()}),e._uU(62,"Add"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(63,"div",29),e.TgZ(64,"button",30),e.NdJ("click",function(){return e.CHM(t),e.oxw().goBack()}),e._uU(65,"Cancel"),e.qZA(),e.TgZ(66,"button",31),e.NdJ("click",function(){return e.CHM(t),e.oxw().onSave()}),e._uU(67,"Save"),e.qZA(),e._UZ(68,"br"),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(7),e.Q6J("ngModel",i.cloudNodeTemplate.name),e.xp6(2),e.Q6J("ngModel",i.cloudNodeTemplate.default_name_format),e.xp6(2),e.Q6J("ngModel",i.cloudNodeTemplate.symbol),e.xp6(6),e.Q6J("ngModel",i.cloudNodeTemplate.category),e.xp6(1),e.Q6J("ngForOf",i.categories),e.xp6(2),e.Q6J("ngModel",i.cloudNodeTemplate.console_type),e.xp6(1),e.Q6J("ngForOf",i.consoleTypes),e.xp6(2),e.Q6J("ngModel",i.cloudNodeTemplate.remote_console_host),e.xp6(2),e.Q6J("ngModel",i.cloudNodeTemplate.remote_console_port),e.xp6(2),e.Q6J("ngModel",i.cloudNodeTemplate.remote_console_http_path),e.xp6(5),e.Q6J("ngForOf",i.portsMappingEthernet),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(22,Hle))("ngModel",i.ethernetInterface),e.xp6(1),e.Q6J("ngForOf",i.ethernetInterfaces),e.xp6(7),e.Q6J("ngForOf",i.portsMappingTap),e.xp6(2),e.Q6J("ngModel",i.tapInterface),e.xp6(7),e.Q6J("ngIf",i.dataSourceUdp.length),e.xp6(1),e.Q6J("ngIf",i.dataSourceUdp.length),e.xp6(2),e.Q6J("ngModel",i.newPort.name),e.xp6(2),e.Q6J("ngModel",i.newPort.lport),e.xp6(2),e.Q6J("ngModel",i.newPort.rhost),e.xp6(2),e.Q6J("ngModel",i.newPort.rport)}}function qle(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"app-symbols-menu",46),e.NdJ("symbolChangedEmitter",function(a){return e.CHM(t),e.oxw().symbolChanged(a)}),e.qZA()}if(2&n){var i=e.oxw();e.Q6J("server",i.server)("symbol",i.cloudNodeTemplate.symbol)}}var jle=function(n){return{shadowed:n}},zle=function(){function n(r,t,i,o,a,s){this.route=r,this.serverService=t,this.builtInTemplatesService=i,this.toasterService=o,this.builtInTemplatesConfigurationService=a,this.router=s,this.isSymbolSelectionOpened=!1,this.categories=[],this.consoleTypes=[],this.tapInterface="",this.ethernetInterface="",this.ethernetInterfaces=["Ethernet 2","Ethernet 3"],this.portsMappingEthernet=[],this.portsMappingTap=[],this.portsMappingUdp=[],this.displayedColumns=["name","lport","rhost","rport"],this.dataSourceUdp=[],this.newPort={name:"",port_number:0}}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id"),i=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(t,10)).then(function(o){r.server=o,r.getConfiguration(),r.builtInTemplatesService.getTemplate(r.server,i).subscribe(function(a){r.cloudNodeTemplate=a,r.portsMappingEthernet=r.cloudNodeTemplate.ports_mapping.filter(function(s){return"ethernet"===s.type}),r.portsMappingTap=r.cloudNodeTemplate.ports_mapping.filter(function(s){return"tap"===s.type}),r.portsMappingUdp=r.cloudNodeTemplate.ports_mapping.filter(function(s){return"udp"===s.type}),r.dataSourceUdp=r.portsMappingUdp})})},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","builtin","cloud-nodes"])},n.prototype.getConfiguration=function(){this.categories=this.builtInTemplatesConfigurationService.getCategoriesForCloudNodes(),this.consoleTypes=this.builtInTemplatesConfigurationService.getConsoleTypesForCloudNodes()},n.prototype.onAddEthernetInterface=function(){this.ethernetInterface&&this.portsMappingEthernet.push({interface:this.ethernetInterface,name:this.ethernetInterface,port_number:0,type:"ethernet"})},n.prototype.onAddTapInterface=function(){this.tapInterface&&this.portsMappingTap.push({interface:this.tapInterface,name:this.tapInterface,port_number:0,type:"tap"})},n.prototype.onAddUdpInterface=function(){this.portsMappingUdp.push(this.newPort),this.dataSourceUdp=(0,Jn.ev)([],this.portsMappingUdp),this.newPort={name:"",port_number:0}},n.prototype.onSave=function(){var r=this;this.cloudNodeTemplate.ports_mapping=(0,Jn.ev)((0,Jn.ev)([],this.portsMappingEthernet),this.portsMappingTap),this.builtInTemplatesService.saveTemplate(this.server,this.cloudNodeTemplate).subscribe(function(t){r.toasterService.success("Changes saved")})},n.prototype.chooseSymbol=function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened},n.prototype.symbolChanged=function(r){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.cloudNodeTemplate.symbol=r},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(ad),e.Y36(Xn),e.Y36(Xf),e.Y36(kr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-cloud-nodes-template-details"]],decls:7,vars:5,consts:[[1,"content",3,"ngClass"],[1,"default-header"],[1,"row"],[1,"col"],["class","default-content",4,"ngIf"],[3,"server","symbol","symbolChangedEmitter",4,"ngIf"],[1,"default-content"],[1,"form-field"],["matInput","","type","text","placeholder","Template name",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Default name format",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Symbol",3,"ngModel","ngModelChange"],["mat-button","",1,"symbolSelectionButton",3,"click"],["placeholder","Category",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"select"],["placeholder","Console type",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Console host",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Console port",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Console HTTP path",3,"ngModel","ngModelChange"],["class","form-field",4,"ngFor","ngForOf"],["placeholder","Ethernet interface",3,"ngModelOptions","ngModel","ngModelChange"],["mat-button","",1,"form-field",3,"click"],["matInput","","type","text","placeholder","TAP interface",3,"ngModel","ngModelChange"],["class","table","mat-table","",3,"dataSource",4,"ngIf"],[4,"ngIf"],["matInput","","type","text","placeholder","Name",3,"ngModel","ngModelChange"],["matInput","","type","number","placeholder","Local port",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Remote host",3,"ngModel","ngModelChange"],["matInput","","type","number","placeholder","Remote port",3,"ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],["mat-table","",1,"table",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","rport"],["matColumnDef","rhost"],["matColumnDef","lport"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row",""],[3,"server","symbol","symbolChangedEmitter"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Cloud configuration"),e.qZA(),e.qZA(),e.qZA(),e.YNc(5,Vle,69,23,"div",4),e.qZA(),e.YNc(6,qle,1,2,"app-symbols-menu",5)),2&t&&(e.Q6J("ngClass",e.VKq(3,jle,i.isSymbolSelectionOpened)),e.xp6(5),e.Q6J("ngIf",i.cloudNodeTemplate),e.xp6(1),e.Q6J("ngIf",i.isSymbolSelectionOpened&&i.cloudNodeTemplate))},directives:[Et.mk,Et.O5,od,Xu,$u,id,Un.KE,ur,ne.Fj,ne.JJ,ne.On,Mn,pi.gD,Et.sg,ne.wV,ln.ey,Yl,cl,ul,ll,Jl,Ql,dl,pl,Kl,Xl,sd],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}();function Wle(n,r){}var JZ=function n(){(0,g.Z)(this,n),this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0},Gle={dialogContainer:(0,on.X$)("dialogContainer",[(0,on.SB)("void, exit",(0,on.oB)({opacity:0,transform:"scale(0.7)"})),(0,on.SB)("enter",(0,on.oB)({transform:"none"})),(0,on.eR)("* => enter",(0,on.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,on.oB)({transform:"none",opacity:1}))),(0,on.eR)("* => void, * => exit",(0,on.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,on.oB)({opacity:0})))])},Yle=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s,u,p,m){var b;return(0,g.Z)(this,i),(b=t.call(this))._elementRef=o,b._focusTrapFactory=a,b._changeDetectorRef=s,b._config=p,b._focusMonitor=m,b._animationStateChanged=new e.vpe,b._elementFocusedBeforeDialogWasOpened=null,b._closeInteractionType=null,b.attachDomPortal=function(I){return b._portalOutlet.hasAttached(),b._portalOutlet.attachDomPortal(I)},b._ariaLabelledBy=p.ariaLabelledBy||null,b._document=u,b}return(0,k.Z)(i,[{key:"_initializeWithAttachedContent",value:function(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}},{key:"attachComponentPortal",value:function(a){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(a)}},{key:"attachTemplatePortal",value:function(a){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(a)}},{key:"_recaptureFocus",value:function(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}},{key:"_trapFocus",value:function(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}},{key:"_restoreFocus",value:function(){var a=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&a&&"function"==typeof a.focus){var s=(0,$r.ht)(),u=this._elementRef.nativeElement;(!s||s===this._document.body||s===u||u.contains(s))&&(this._focusMonitor?(this._focusMonitor.focusVia(a,this._closeInteractionType),this._closeInteractionType=null):a.focus())}this._focusTrap&&this._focusTrap.destroy()}},{key:"_setupFocusTrap",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}},{key:"_capturePreviouslyFocusedElement",value:function(){this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,$r.ht)())}},{key:"_focusDialogContainer",value:function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}},{key:"_containsFocus",value:function(){var a=this._elementRef.nativeElement,s=(0,$r.ht)();return a===s||a.contains(s)}}]),i}(qi.en);return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(Ti.qV),e.Y36(e.sBO),e.Y36(Et.K0,8),e.Y36(JZ),e.Y36(Ti.tE))},n.\u0275dir=e.lG2({type:n,viewQuery:function(t,i){var o;1&t&&e.Gf(qi.Pl,7),2&t&&e.iGM(o=e.CRH())&&(i._portalOutlet=o.first)},features:[e.qOj]}),n}(),Jle=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(){var o;return(0,g.Z)(this,i),(o=t.apply(this,arguments))._state="enter",o}return(0,k.Z)(i,[{key:"_onAnimationDone",value:function(a){var s=a.toState,u=a.totalTime;"enter"===s?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:u})):"exit"===s&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:u}))}},{key:"_onAnimationStart",value:function(a){var s=a.toState,u=a.totalTime;"enter"===s?this._animationStateChanged.next({state:"opening",totalTime:u}):("exit"===s||"void"===s)&&this._animationStateChanged.next({state:"closing",totalTime:u})}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}]),i}(Yle);return n.\u0275fac=function(){var r;return function(i){return(r||(r=e.n5z(n)))(i||n)}}(),n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,i){1&t&&e.WFA("@dialogContainer.start",function(a){return i._onAnimationStart(a)})("@dialogContainer.done",function(a){return i._onAnimationDone(a)}),2&t&&(e.Ikx("id",i._id),e.uIk("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),e.d8E("@dialogContainer",i._state))},features:[e.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,i){1&t&&e.YNc(0,Wle,0,0,"ng-template",0)},directives:[qi.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[Gle.dialogContainer]}}),n}(),Qle=0,Vr=function(){function n(r,t){var i=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-".concat(Qle++);(0,g.Z)(this,n),this._overlayRef=r,this._containerInstance=t,this.id=o,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new On.xQ,this._afterClosed=new On.xQ,this._beforeClosed=new On.xQ,this._state=0,t._id=o,t._animationStateChanged.pipe((0,vi.h)(function(a){return"opened"===a.state}),(0,$i.q)(1)).subscribe(function(){i._afterOpened.next(),i._afterOpened.complete()}),t._animationStateChanged.pipe((0,vi.h)(function(a){return"closed"===a.state}),(0,$i.q)(1)).subscribe(function(){clearTimeout(i._closeFallbackTimeout),i._finishDialogClose()}),r.detachments().subscribe(function(){i._beforeClosed.next(i._result),i._beforeClosed.complete(),i._afterClosed.next(i._result),i._afterClosed.complete(),i.componentInstance=null,i._overlayRef.dispose()}),r.keydownEvents().pipe((0,vi.h)(function(a){return a.keyCode===Gr.hY&&!i.disableClose&&!(0,Gr.Vb)(a)})).subscribe(function(a){a.preventDefault(),QZ(i,"keyboard")}),r.backdropClick().subscribe(function(){i.disableClose?i._containerInstance._recaptureFocus():QZ(i,"mouse")})}return(0,k.Z)(n,[{key:"close",value:function(t){var i=this;this._result=t,this._containerInstance._animationStateChanged.pipe((0,vi.h)(function(o){return"closing"===o.state}),(0,$i.q)(1)).subscribe(function(o){i._beforeClosed.next(t),i._beforeClosed.complete(),i._overlayRef.detachBackdrop(),i._closeFallbackTimeout=setTimeout(function(){return i._finishDialogClose()},o.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}},{key:"afterOpened",value:function(){return this._afterOpened}},{key:"afterClosed",value:function(){return this._afterClosed}},{key:"beforeClosed",value:function(){return this._beforeClosed}},{key:"backdropClick",value:function(){return this._overlayRef.backdropClick()}},{key:"keydownEvents",value:function(){return this._overlayRef.keydownEvents()}},{key:"updatePosition",value:function(t){var i=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?i.left(t.left):i.right(t.right):i.centerHorizontally(),t&&(t.top||t.bottom)?t.top?i.top(t.top):i.bottom(t.bottom):i.centerVertically(),this._overlayRef.updatePosition(),this}},{key:"updateSize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this._overlayRef.updateSize({width:t,height:i}),this._overlayRef.updatePosition(),this}},{key:"addPanelClass",value:function(t){return this._overlayRef.addPanelClass(t),this}},{key:"removePanelClass",value:function(t){return this._overlayRef.removePanelClass(t),this}},{key:"getState",value:function(){return this._state}},{key:"_finishDialogClose",value:function(){this._state=2,this._overlayRef.dispose()}},{key:"_getPositionStrategy",value:function(){return this._overlayRef.getConfig().positionStrategy}}]),n}();function QZ(n,r,t){return void 0!==n._containerInstance&&(n._containerInstance._closeInteractionType=r),n.close(t)}var ld=new e.OlP("MatDialogData"),Kle=new e.OlP("mat-dialog-default-options"),Vq=new e.OlP("mat-dialog-scroll-strategy"),$le={provide:Vq,deps:[eo.aV],useFactory:function(n){return function(){return n.scrollStrategies.block()}}},eue=function(){var n=function(){function r(t,i,o,a,s,u,p,m,b){var I=this;(0,g.Z)(this,r),this._overlay=t,this._injector=i,this._defaultOptions=o,this._parentDialog=a,this._overlayContainer=s,this._dialogRefConstructor=p,this._dialogContainerType=m,this._dialogDataToken=b,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new On.xQ,this._afterOpenedAtThisLevel=new On.xQ,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,gZ.P)(function(){return I.openDialogs.length?I._getAfterAllClosed():I._getAfterAllClosed().pipe((0,na.O)(void 0))}),this._scrollStrategy=u}return(0,k.Z)(r,[{key:"openDialogs",get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},{key:"afterOpened",get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}},{key:"_getAfterAllClosed",value:function(){var i=this._parentDialog;return i?i._getAfterAllClosed():this._afterAllClosedAtThisLevel}},{key:"open",value:function(i,o){var a=this;(o=function(n,r){return Object.assign(Object.assign({},r),n)}(o,this._defaultOptions||new JZ)).id&&this.getDialogById(o.id);var s=this._createOverlay(o),u=this._attachDialogContainer(s,o),p=this._attachDialogContent(i,u,s,o);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(p),p.afterClosed().subscribe(function(){return a._removeOpenDialog(p)}),this.afterOpened.next(p),u._initializeWithAttachedContent(),p}},{key:"closeAll",value:function(){this._closeDialogs(this.openDialogs)}},{key:"getDialogById",value:function(i){return this.openDialogs.find(function(o){return o.id===i})}},{key:"ngOnDestroy",value:function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}},{key:"_createOverlay",value:function(i){var o=this._getOverlayConfig(i);return this._overlay.create(o)}},{key:"_getOverlayConfig",value:function(i){var o=new eo.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:i.scrollStrategy||this._scrollStrategy(),panelClass:i.panelClass,hasBackdrop:i.hasBackdrop,direction:i.direction,minWidth:i.minWidth,minHeight:i.minHeight,maxWidth:i.maxWidth,maxHeight:i.maxHeight,disposeOnNavigation:i.closeOnNavigation});return i.backdropClass&&(o.backdropClass=i.backdropClass),o}},{key:"_attachDialogContainer",value:function(i,o){var s=e.zs3.create({parent:o&&o.viewContainerRef&&o.viewContainerRef.injector||this._injector,providers:[{provide:JZ,useValue:o}]}),u=new qi.C5(this._dialogContainerType,o.viewContainerRef,s,o.componentFactoryResolver);return i.attach(u).instance}},{key:"_attachDialogContent",value:function(i,o,a,s){var u=new this._dialogRefConstructor(a,o,s.id);if(i instanceof e.Rgc)o.attachTemplatePortal(new qi.UE(i,null,{$implicit:s.data,dialogRef:u}));else{var p=this._createInjector(s,u,o),m=o.attachComponentPortal(new qi.C5(i,s.viewContainerRef,p));u.componentInstance=m.instance}return u.updateSize(s.width,s.height).updatePosition(s.position),u}},{key:"_createInjector",value:function(i,o,a){var s=i&&i.viewContainerRef&&i.viewContainerRef.injector,u=[{provide:this._dialogContainerType,useValue:a},{provide:this._dialogDataToken,useValue:i.data},{provide:this._dialogRefConstructor,useValue:o}];return i.direction&&(!s||!s.get(Fa.Is,null,e.XFs.Optional))&&u.push({provide:Fa.Is,useValue:{value:i.direction,change:(0,rr.of)()}}),e.zs3.create({parent:s||this._injector,providers:u})}},{key:"_removeOpenDialog",value:function(i){var o=this.openDialogs.indexOf(i);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(a,s){a?s.setAttribute("aria-hidden",a):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}},{key:"_hideNonDialogContentFromAssistiveTechnology",value:function(){var i=this._overlayContainer.getContainerElement();if(i.parentElement)for(var o=i.parentElement.children,a=o.length-1;a>-1;a--){var s=o[a];s!==i&&"SCRIPT"!==s.nodeName&&"STYLE"!==s.nodeName&&!s.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}}},{key:"_closeDialogs",value:function(i){for(var o=i.length;o--;)i[o].close()}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.Y36(eo.aV),e.Y36(e.zs3),e.Y36(void 0),e.Y36(void 0),e.Y36(eo.Xj),e.Y36(void 0),e.Y36(e.DyG),e.Y36(e.DyG),e.Y36(e.OlP))},n.\u0275dir=e.lG2({type:n}),n}(),no=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s,u,p,m,b){return(0,g.Z)(this,i),t.call(this,o,a,u,m,b,p,Vr,Jle,ld)}return i}(eue);return n.\u0275fac=function(t){return new(t||n)(e.LFG(eo.aV),e.LFG(e.zs3),e.LFG(Et.Ye,8),e.LFG(Kle,8),e.LFG(Vq),e.LFG(n,12),e.LFG(eo.Xj))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),nue=0,ni=function(){var n=function(){function r(t,i,o){(0,g.Z)(this,r),this._dialogRef=t,this._elementRef=i,this._dialog=o,this.id="mat-dialog-title-".concat(nue++)}return(0,k.Z)(r,[{key:"ngOnInit",value:function(){var i=this;this._dialogRef||(this._dialogRef=function(n,r){for(var t=n.nativeElement.parentElement;t&&!t.classList.contains("mat-dialog-container");)t=t.parentElement;return t?r.find(function(i){return i.id===t.id}):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(function(){var o=i._dialogRef._containerInstance;o&&!o._ariaLabelledBy&&(o._ariaLabelledBy=i.id)})}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr,8),e.Y36(e.SBq),e.Y36(no))},n.\u0275dir=e.lG2({type:n,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,i){2&t&&e.Ikx("id",i.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),n}(),oy=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),n}(),ei=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),n}();var rue=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[no,$le],imports:[[eo.U8,qi.eL,ln.BQ],ln.BQ]}),n}(),iue=function(){function n(r,t){this.dialogRef=r,this.data=t,this.templateName="",this.templateName=t.templateName}return n.prototype.ngOnInit=function(){},n.prototype.onNoClick=function(){this.dialogRef.close(!1)},n.prototype.onYesClick=function(){this.dialogRef.close(!0)},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(ld))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-delete-confirmation-dialog"]],decls:11,vars:1,consts:[[1,"dialogcontainer"],["mat-dialog-title",""],["mat-dialog-content",""],[1,"spacer"],["mat-dialog-actions",""],["mat-button","","color","accent",1,"cancelButton",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",1,"confirmButton",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"h1",1),e._uU(2,"Delete template"),e.qZA(),e.TgZ(3,"div",2),e._uU(4),e.qZA(),e._UZ(5,"div",3),e.TgZ(6,"div",4),e.TgZ(7,"button",5),e.NdJ("click",function(){return i.onNoClick()}),e._uU(8,"No"),e.qZA(),e.TgZ(9,"button",6),e.NdJ("click",function(){return i.onYesClick()}),e._uU(10," Yes "),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(4),e.hij("Are you sure you want to delete template ",i.templateName,"?"))},directives:[ni,oy,ei,Mn],styles:[".dialogcontainer[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column}.spacer[_ngcontent-%COMP%]{flex-grow:1}"]}),n}(),ay=(f(26918),function(){function n(r){this.httpServer=r,this.newTemplateCreated=new On.xQ}return n.prototype.list=function(r){return this.httpServer.get(r,"/templates")},n.prototype.deleteTemplate=function(r,t){return this.httpServer.delete(r,"/templates/"+t,{observe:"body"})},n.\u0275fac=function(t){return new(t||n)(e.LFG(Yo.wh))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}()),wa=function(){function n(r,t,i){this.templateService=r,this.dialog=t,this.toasterService=i,this.deleteEvent=new e.vpe}return n.prototype.deleteItem=function(r,t){var i=this;this.dialog.open(iue,{width:"300px",height:"250px",data:{templateName:r},autoFocus:!1,disableClose:!0}).afterClosed().subscribe(function(a){a&&i.templateService.deleteTemplate(i.server,t).subscribe(function(s){i.deleteEvent.emit(t),i.toasterService.success("Template "+r+" deleted.")})})},n.\u0275fac=function(t){return new(t||n)(e.Y36(ay),e.Y36(no),e.Y36(Xn))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-delete-template"]],inputs:{server:"server"},outputs:{deleteEvent:"deleteEvent"},decls:0,vars:0,template:function(t,i){},styles:[""]}),n}(),ud=function(){function n(){this.emptyTemplatesListMessage="Empty templates list",this.textMessage&&(this.emptyTemplatesListMessage=this.textMessage)}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-empty-templates-list"]],inputs:{textMessage:"textMessage"},decls:4,vars:1,consts:[[1,"default-content"],[1,"matCard"],[1,"header"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"mat-card",1),e.TgZ(2,"h6",2),e._uU(3),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(3),e.hij(" ",i.emptyTemplatesListMessage," "))},directives:[_i],styles:[".header[_ngcontent-%COMP%]{text-align:center;color:#a9a9a9}"]}),n}(),jq=f(8285),zq=f(86004),oue=["mat-menu-item",""];function aue(n,r){1&n&&(e.O4$(),e.TgZ(0,"svg",2),e._UZ(1,"polygon",3),e.qZA())}var Wq=["*"];function sue(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",0),e.NdJ("keydown",function(a){return e.CHM(t),e.oxw()._handleKeydown(a)})("click",function(){return e.CHM(t),e.oxw().closed.emit("click")})("@transformMenu.start",function(a){return e.CHM(t),e.oxw()._onAnimationStart(a)})("@transformMenu.done",function(a){return e.CHM(t),e.oxw()._onAnimationDone(a)}),e.TgZ(1,"div",1),e.Hsn(2),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.Q6J("id",i.panelId)("ngClass",i._classList)("@transformMenu",i._panelAnimationState),e.uIk("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby||null)("aria-describedby",i.ariaDescribedby||null)}}var f2={transformMenu:(0,on.X$)("transformMenu",[(0,on.SB)("void",(0,on.oB)({opacity:0,transform:"scale(0.8)"})),(0,on.eR)("void => enter",(0,on.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,on.oB)({opacity:1,transform:"scale(1)"}))),(0,on.eR)("* => void",(0,on.jt)("100ms 25ms linear",(0,on.oB)({opacity:0})))]),fadeInItems:(0,on.X$)("fadeInItems",[(0,on.SB)("showing",(0,on.oB)({opacity:1})),(0,on.eR)("void => *",[(0,on.oB)({opacity:0}),(0,on.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Gq=new e.OlP("MatMenuContent"),KZ=new e.OlP("MAT_MENU_PANEL"),uue=(0,ln.Kr)((0,ln.Id)(function(){return function n(){(0,g.Z)(this,n)}}())),Zr=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s,u,p){var m;return(0,g.Z)(this,i),(m=t.call(this))._elementRef=o,m._focusMonitor=s,m._parentMenu=u,m._changeDetectorRef=p,m.role="menuitem",m._hovered=new On.xQ,m._focused=new On.xQ,m._highlighted=!1,m._triggersSubmenu=!1,u&&u.addItem&&u.addItem((0,gS.Z)(m)),m}return(0,k.Z)(i,[{key:"focus",value:function(a,s){this._focusMonitor&&a?this._focusMonitor.focusVia(this._getHostElement(),a,s):this._getHostElement().focus(s),this._focused.next(this)}},{key:"ngAfterViewInit",value:function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}},{key:"ngOnDestroy",value:function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_checkDisabled",value:function(a){this.disabled&&(a.preventDefault(),a.stopPropagation())}},{key:"_handleMouseEnter",value:function(){this._hovered.next(this)}},{key:"getLabel",value:function(){for(var a,s,u=this._elementRef.nativeElement.cloneNode(!0),p=u.querySelectorAll("mat-icon, .material-icons"),m=0;m<p.length;m++){var b=p[m];null===(a=b.parentNode)||void 0===a||a.removeChild(b)}return(null===(s=u.textContent)||void 0===s?void 0:s.trim())||""}},{key:"_setHighlighted",value:function(a){var s;this._highlighted=a,null===(s=this._changeDetectorRef)||void 0===s||s.markForCheck()}}]),i}(uue);return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(Et.K0),e.Y36(Ti.tE),e.Y36(KZ,8),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(t,i){1&t&&e.NdJ("click",function(a){return i._checkDisabled(a)})("mouseenter",function(){return i._handleMouseEnter()}),2&t&&(e.uIk("role",i.role)("tabindex",i._getTabIndex())("aria-disabled",i.disabled.toString())("disabled",i.disabled||null),e.ekj("mat-menu-item",!0)("mat-menu-item-highlighted",i._highlighted)("mat-menu-item-submenu-trigger",i._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[e.qOj],attrs:oue,ngContentSelectors:Wq,decls:3,vars:3,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-menu-submenu-icon","viewBox","0 0 5 10","focusable","false",4,"ngIf"],["viewBox","0 0 5 10","focusable","false",1,"mat-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(t,i){1&t&&(e.F$t(),e.Hsn(0),e._UZ(1,"div",0),e.YNc(2,aue,2,0,"svg",1)),2&t&&(e.xp6(1),e.Q6J("matRippleDisabled",i.disableRipple||i.disabled)("matRippleTrigger",i._getHostElement()),e.xp6(1),e.Q6J("ngIf",i._triggersSubmenu))},directives:[ln.wG,Et.O5],encapsulation:2,changeDetection:0}),n}(),Yq=new e.OlP("mat-menu-default-options",{providedIn:"root",factory:function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}}),due=0,PS=function(){var n=function(){function r(t,i,o){(0,g.Z)(this,r),this._elementRef=t,this._ngZone=i,this._defaultOptions=o,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new e.n_E,this._tabSubscription=as.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new On.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new e.vpe,this.close=this.closed,this.panelId="mat-menu-panel-".concat(due++)}return(0,k.Z)(r,[{key:"xPosition",get:function(){return this._xPosition},set:function(i){this._xPosition=i,this.setPositionClasses()}},{key:"yPosition",get:function(){return this._yPosition},set:function(i){this._yPosition=i,this.setPositionClasses()}},{key:"overlapTrigger",get:function(){return this._overlapTrigger},set:function(i){this._overlapTrigger=(0,Dn.Ig)(i)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(i){this._hasBackdrop=(0,Dn.Ig)(i)}},{key:"panelClass",set:function(i){var o=this,a=this._previousPanelClass;a&&a.length&&a.split(" ").forEach(function(s){o._classList[s]=!1}),this._previousPanelClass=i,i&&i.length&&(i.split(" ").forEach(function(s){o._classList[s]=!0}),this._elementRef.nativeElement.className="")}},{key:"classList",get:function(){return this.panelClass},set:function(i){this.panelClass=i}},{key:"ngOnInit",value:function(){this.setPositionClasses()}},{key:"ngAfterContentInit",value:function(){var i=this;this._updateDirectDescendants(),this._keyManager=new Ti.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(function(){return i.closed.emit("tab")}),this._directDescendantItems.changes.pipe((0,na.O)(this._directDescendantItems),(0,Us.w)(function(o){return vo.T.apply(void 0,(0,_.Z)(o.map(function(a){return a._focused})))})).subscribe(function(o){return i._keyManager.updateActiveItem(o)})}},{key:"ngOnDestroy",value:function(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}},{key:"_hovered",value:function(){return this._directDescendantItems.changes.pipe((0,na.O)(this._directDescendantItems),(0,Us.w)(function(o){return vo.T.apply(void 0,(0,_.Z)(o.map(function(a){return a._hovered})))}))}},{key:"addItem",value:function(i){}},{key:"removeItem",value:function(i){}},{key:"_handleKeydown",value:function(i){var o=i.keyCode,a=this._keyManager;switch(o){case Gr.hY:(0,Gr.Vb)(i)||(i.preventDefault(),this.closed.emit("keydown"));break;case Gr.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case Gr.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:(o===Gr.LH||o===Gr.JH)&&a.setFocusOrigin("keyboard"),a.onKeydown(i)}}},{key:"focusFirstItem",value:function(){var i=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program";this.lazyContent?this._ngZone.onStable.pipe((0,$i.q)(1)).subscribe(function(){return i._focusFirstItem(o)}):this._focusFirstItem(o)}},{key:"_focusFirstItem",value:function(i){var o=this._keyManager;if(o.setFocusOrigin(i).setFirstItemActive(),!o.activeItem&&this._directDescendantItems.length)for(var a=this._directDescendantItems.first._getHostElement().parentElement;a;){if("menu"===a.getAttribute("role")){a.focus();break}a=a.parentElement}}},{key:"resetActiveItem",value:function(){this._keyManager.setActiveItem(-1)}},{key:"setElevation",value:function(i){var o=this,a=Math.min(this._baseElevation+i,24),s="".concat(this._elevationPrefix).concat(a),u=Object.keys(this._classList).find(function(p){return p.startsWith(o._elevationPrefix)});(!u||u===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[s]=!0,this._previousElevation=s)}},{key:"setPositionClasses",value:function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.xPosition,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.yPosition,a=this._classList;a["mat-menu-before"]="before"===i,a["mat-menu-after"]="after"===i,a["mat-menu-above"]="above"===o,a["mat-menu-below"]="below"===o}},{key:"_startAnimation",value:function(){this._panelAnimationState="enter"}},{key:"_resetAnimation",value:function(){this._panelAnimationState="void"}},{key:"_onAnimationDone",value:function(i){this._animationDone.next(i),this._isAnimating=!1}},{key:"_onAnimationStart",value:function(i){this._isAnimating=!0,"enter"===i.toState&&0===this._keyManager.activeItemIndex&&(i.element.scrollTop=0)}},{key:"_updateDirectDescendants",value:function(){var i=this;this._allItems.changes.pipe((0,na.O)(this._allItems)).subscribe(function(o){i._directDescendantItems.reset(o.filter(function(a){return a._parentMenu===i})),i._directDescendantItems.notifyOnChanges()})}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(Yq))},n.\u0275dir=e.lG2({type:n,contentQueries:function(t,i,o){var a;1&t&&(e.Suo(o,Gq,5),e.Suo(o,Zr,5),e.Suo(o,Zr,4)),2&t&&(e.iGM(a=e.CRH())&&(i.lazyContent=a.first),e.iGM(a=e.CRH())&&(i._allItems=a),e.iGM(a=e.CRH())&&(i.items=a))},viewQuery:function(t,i){var o;1&t&&e.Gf(e.Rgc,5),2&t&&e.iGM(o=e.CRH())&&(i.templateRef=o.first)},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),n}(),Ss=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s){var u;return(0,g.Z)(this,i),(u=t.call(this,o,a,s))._elevationPrefix="mat-elevation-z",u._baseElevation=4,u}return i}(PS);return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(Yq))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(t,i){2&t&&e.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[e._Bn([{provide:KZ,useExisting:n}]),e.qOj],ngContentSelectors:Wq,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,i){1&t&&(e.F$t(),e.YNc(0,sue,3,6,"ng-template"))},directives:[Et.mk],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[f2.transformMenu,f2.fadeInItems]},changeDetection:0}),n}(),Jq=new e.OlP("mat-menu-scroll-strategy"),fue={provide:Jq,deps:[eo.aV],useFactory:function(n){return function(){return n.scrollStrategies.reposition()}}},Kq=(0,$r.i$)({passive:!0}),hue=function(){var n=function(){function r(t,i,o,a,s,u,p,m){var b=this;(0,g.Z)(this,r),this._overlay=t,this._element=i,this._viewContainerRef=o,this._menuItemInstance=u,this._dir=p,this._focusMonitor=m,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=as.w.EMPTY,this._hoverSubscription=as.w.EMPTY,this._menuCloseSubscription=as.w.EMPTY,this._handleTouchStart=function(I){(0,Ti.yG)(I)||(b._openedBy="touch")},this._openedBy=void 0,this._ariaHaspopup=!0,this.restoreFocus=!0,this.menuOpened=new e.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new e.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=a,this._parentMaterialMenu=s instanceof PS?s:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,Kq),u&&(u._triggersSubmenu=this.triggersSubmenu())}return(0,k.Z)(r,[{key:"_ariaExpanded",get:function(){return this.menuOpen||null}},{key:"_ariaControl",get:function(){return this.menuOpen?this.menu.panelId:null}},{key:"_deprecatedMatMenuTriggerFor",get:function(){return this.menu},set:function(i){this.menu=i}},{key:"menu",get:function(){return this._menu},set:function(i){var o=this;i!==this._menu&&(this._menu=i,this._menuCloseSubscription.unsubscribe(),i&&(this._menuCloseSubscription=i.close.subscribe(function(a){o._destroyMenu(a),("click"===a||"tab"===a)&&o._parentMaterialMenu&&o._parentMaterialMenu.closed.emit(a)})))}},{key:"ngAfterContentInit",value:function(){this._checkMenu(),this._handleHover()}},{key:"ngOnDestroy",value:function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Kq),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}},{key:"menuOpen",get:function(){return this._menuOpen}},{key:"dir",get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"triggersSubmenu",value:function(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}},{key:"toggleMenu",value:function(){return this._menuOpen?this.closeMenu():this.openMenu()}},{key:"openMenu",value:function(){var i=this;if(!this._menuOpen){this._checkMenu();var o=this._createOverlay(),a=o.getConfig();this._setPosition(a.positionStrategy),a.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,o.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(function(){return i.closeMenu()}),this._initMenu(),this.menu instanceof PS&&this.menu._startAnimation()}}},{key:"closeMenu",value:function(){this.menu.close.emit()}},{key:"focus",value:function(i,o){this._focusMonitor&&i?this._focusMonitor.focusVia(this._element,i,o):this._element.nativeElement.focus(o)}},{key:"updatePosition",value:function(){var i;null===(i=this._overlayRef)||void 0===i||i.updatePosition()}},{key:"_destroyMenu",value:function(i){var o=this;if(this._overlayRef&&this.menuOpen){var a=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===i||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,a instanceof PS?(a._resetAnimation(),a.lazyContent?a._animationDone.pipe((0,vi.h)(function(s){return"void"===s.toState}),(0,$i.q)(1),(0,Fr.R)(a.lazyContent._attached)).subscribe({next:function(){return a.lazyContent.detach()},complete:function(){return o._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),a.lazyContent&&a.lazyContent.detach())}}},{key:"_initMenu",value:function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}},{key:"_setMenuElevation",value:function(){if(this.menu.setElevation){for(var i=0,o=this.menu.parentMenu;o;)i++,o=o.parentMenu;this.menu.setElevation(i)}}},{key:"_setIsMenuOpen",value:function(i){this._menuOpen=i,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(i)}},{key:"_checkMenu",value:function(){}},{key:"_createOverlay",value:function(){if(!this._overlayRef){var i=this._getOverlayConfig();this._subscribeToPositions(i.positionStrategy),this._overlayRef=this._overlay.create(i),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}},{key:"_getOverlayConfig",value:function(){return new eo.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}},{key:"_subscribeToPositions",value:function(i){var o=this;this.menu.setPositionClasses&&i.positionChanges.subscribe(function(a){o.menu.setPositionClasses("start"===a.connectionPair.overlayX?"after":"before","top"===a.connectionPair.overlayY?"below":"above")})}},{key:"_setPosition",value:function(i){var a=(0,C.Z)("before"===this.menu.xPosition?["end","start"]:["start","end"],2),s=a[0],u=a[1],m=(0,C.Z)("above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],2),b=m[0],I=m[1],F=b,G=I,Y=s,$=u,de=0;this.triggersSubmenu()?($=s="before"===this.menu.xPosition?"start":"end",u=Y="end"===s?"start":"end",de="bottom"===b?8:-8):this.menu.overlapTrigger||(F="top"===b?"bottom":"top",G="top"===I?"bottom":"top"),i.withPositions([{originX:s,originY:F,overlayX:Y,overlayY:b,offsetY:de},{originX:u,originY:F,overlayX:$,overlayY:b,offsetY:de},{originX:s,originY:G,overlayX:Y,overlayY:I,offsetY:-de},{originX:u,originY:G,overlayX:$,overlayY:I,offsetY:-de}])}},{key:"_menuClosingActions",value:function(){var i=this,o=this._overlayRef.backdropClick(),a=this._overlayRef.detachments(),s=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,rr.of)(),u=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,vi.h)(function(p){return p!==i._menuItemInstance}),(0,vi.h)(function(){return i._menuOpen})):(0,rr.of)();return(0,vo.T)(o,s,u,a)}},{key:"_handleMousedown",value:function(i){(0,Ti.X6)(i)||(this._openedBy=0===i.button?"mouse":void 0,this.triggersSubmenu()&&i.preventDefault())}},{key:"_handleKeydown",value:function(i){var o=i.keyCode;(o===Gr.K5||o===Gr.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(o===Gr.SV&&"ltr"===this.dir||o===Gr.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}},{key:"_handleClick",value:function(i){this.triggersSubmenu()?(i.stopPropagation(),this.openMenu()):this.toggleMenu()}},{key:"_handleHover",value:function(){var i=this;!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,vi.h)(function(o){return o===i._menuItemInstance&&!o.disabled}),(0,zq.g)(0,jq.E)).subscribe(function(){i._openedBy="mouse",i.menu instanceof PS&&i.menu._isAnimating?i.menu._animationDone.pipe((0,$i.q)(1),(0,zq.g)(0,jq.E),(0,Fr.R)(i._parentMaterialMenu._hovered())).subscribe(function(){return i.openMenu()}):i.openMenu()}))}},{key:"_getPortal",value:function(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new qi.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.Y36(eo.aV),e.Y36(e.SBq),e.Y36(e.s_b),e.Y36(Jq),e.Y36(KZ,8),e.Y36(Zr,10),e.Y36(Fa.Is,8),e.Y36(Ti.tE))},n.\u0275dir=e.lG2({type:n,hostVars:3,hostBindings:function(t,i){1&t&&e.NdJ("mousedown",function(a){return i._handleMousedown(a)})("keydown",function(a){return i._handleKeydown(a)})("click",function(a){return i._handleClick(a)}),2&t&&e.uIk("aria-haspopup",i._ariaHaspopup)("aria-expanded",i._ariaExpanded)("aria-controls",i._ariaControl)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),n}(),Qa=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(){return(0,g.Z)(this,i),t.apply(this,arguments)}return i}(hue);return n.\u0275fac=function(){var r;return function(i){return(r||(r=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[e.qOj]}),n}(),Xq=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[fue],imports:[[Et.ez,ln.BQ,ln.si,eo.U8],Sa.ZD,ln.BQ]}),n}();function mue(n,r){if(1&n&&(e.TgZ(0,"button",10),e._uU(1," Back "),e.qZA()),2&n){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences/builtin")}}function vue(n,r){if(1&n&&(e.TgZ(0,"button",11),e._uU(1," Add cloud node template "),e.qZA()),2&n){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences/builtin/cloud-nodes/addtemplate")}}function gue(n,r){1&n&&e._UZ(0,"app-empty-templates-list")}function _ue(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",15),e.TgZ(1,"mat-list-item",16),e._uU(2),e.qZA(),e.TgZ(3,"button",17),e.TgZ(4,"mat-icon"),e._uU(5,"more_vert"),e.qZA(),e.qZA(),e.TgZ(6,"mat-menu",null,18),e.TgZ(8,"button",19),e.NdJ("click",function(){var u=e.CHM(t).$implicit;return e.oxw(3).deleteTemplate(u)}),e.TgZ(9,"mat-icon"),e._uU(10,"delete"),e.qZA(),e.TgZ(11,"span"),e._uU(12,"Delete"),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=r.$implicit,o=e.MAs(7);e.xp6(1),e.s9C("routerLink",i.template_id),e.xp6(1),e.Oqu(i.name),e.xp6(1),e.Q6J("matMenuTriggerFor",o)}}function yue(n,r){if(1&n&&(e.TgZ(0,"mat-nav-list"),e.YNc(1,_ue,13,3,"div",14),e.qZA()),2&n){var t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.cloudNodesTemplates)}}function bue(n,r){if(1&n&&(e.TgZ(0,"div",12),e.TgZ(1,"div",13),e.YNc(2,yue,2,1,"mat-nav-list",6),e.qZA(),e.qZA()),2&n){var t=e.oxw();e.xp6(2),e.Q6J("ngIf",t.server)}}var Cue=function(){function n(r,t,i){this.route=r,this.serverService=t,this.builtInTemplatesService=i,this.cloudNodesTemplates=[]}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(t,10)).then(function(i){r.server=i,r.getTemplates()})},n.prototype.getTemplates=function(){var r=this;this.builtInTemplatesService.getTemplates(this.server).subscribe(function(t){r.cloudNodesTemplates=t.filter(function(i){return"cloud"===i.template_type&&!i.builtin})})},n.prototype.deleteTemplate=function(r){this.deleteComponent.deleteItem(r.name,r.template_id)},n.prototype.onDeleteEvent=function(){this.getTemplates()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(ad))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-cloud-nodes-templates"]],viewQuery:function(t,i){var o;(1&t&&e.Gf(wa,5),2&t)&&(e.iGM(o=e.CRH())&&(i.deleteComponent=o.first))},decls:11,vars:5,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],["class","top-button","class","cancel-button","mat-button","",3,"routerLink",4,"ngIf"],["class","top-button","mat-raised-button","","color","primary",3,"routerLink",4,"ngIf"],[4,"ngIf"],["class","default-content",4,"ngIf"],[3,"server","deleteEvent"],["deleteComponent",""],["mat-button","",1,"cancel-button",3,"routerLink"],["mat-raised-button","","color","primary",1,"top-button",3,"routerLink"],[1,"default-content"],[1,"listcontainer","mat-elevation-z8"],["class","list-item",4,"ngFor","ngForOf"],[1,"list-item"],[1,"template-name",3,"routerLink"],["mat-button","",1,"menu-button",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Cloud nodes templates"),e.qZA(),e.YNc(5,mue,2,1,"button",4),e.YNc(6,vue,2,1,"button",5),e.qZA(),e.qZA(),e.YNc(7,gue,1,0,"app-empty-templates-list",6),e.YNc(8,bue,3,1,"div",7),e.qZA(),e.TgZ(9,"app-delete-template",8,9),e.NdJ("deleteEvent",function(){return i.onDeleteEvent()}),e.qZA()),2&t&&(e.xp6(5),e.Q6J("ngIf",i.server),e.xp6(1),e.Q6J("ngIf",i.server),e.xp6(1),e.Q6J("ngIf",!i.cloudNodesTemplates.length),e.xp6(1),e.Q6J("ngIf",i.cloudNodesTemplates.length),e.xp6(1),e.Q6J("server",i.server))},directives:[Et.O5,wa,Mn,fa,ud,ku,Et.sg,Cs,Qa,sr,Ss,Zr],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}(),Sue=function(){function n(r,t,i,o,a,s,u,p){this.route=r,this.serverService=t,this.builtInTemplatesService=i,this.router=o,this.toasterService=a,this.templateMocksService=s,this.formBuilder=u,this.computeService=p,this.templateName="",this.isGns3VmAvailable=!1,this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0,this.formGroup=this.formBuilder.group({templateName:new ne.NI("",ne.kI.required),numberOfPorts:new ne.NI(8,ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(t,10)).then(function(i){r.server=i,r.computeService.getComputes(i).subscribe(function(o){o.filter(function(a){return"vm"===a.compute_id}).length>0&&(r.isGns3VmAvailable=!0)})})},n.prototype.setServerType=function(r){"gns3 vm"===r&&this.isGns3VmAvailable?(this.isGns3VmChosen=!0,this.isLocalComputerChosen=!1):(this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0)},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","builtin","ethernet-hubs"])},n.prototype.addTemplate=function(){var r=this;if(this.formGroup.invalid)this.toasterService.error("Fill all required fields");else{var t;this.templateMocksService.getEthernetHubTemplate().subscribe(function(o){t=o}),t.template_id=(0,xa.v4)(),t.name=this.formGroup.get("templateName").value,t.compute_id=this.isGns3VmChosen?"vm":"local";for(var i=0;i<this.formGroup.get("numberOfPorts").value;i++)t.ports_mapping.push({name:"Ethernet"+i,port_number:i});this.builtInTemplatesService.addTemplate(this.server,t).subscribe(function(){r.goBack()})}},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(ad),e.Y36(kr),e.Y36(Xn),e.Y36(ec),e.Y36(ne.qu),e.Y36(tc.X))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-ethernet-hubs-add-template"]],decls:22,vars:2,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[1,"matCard"],[1,"radio-group"],["value","1","checked","",1,"radio-button",3,"click"],["value","2",1,"radio-button",3,"disabled","click"],[3,"formGroup"],[1,"form-field"],["formControlName","templateName","matInput","","type","text","placeholder","Template name"],["formControlName","numberOfPorts","matInput","","type","number","placeholder","Number of ports"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"New Ethernet hub template"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"mat-card",5),e.TgZ(7,"mat-radio-group",6),e.TgZ(8,"mat-radio-button",7),e.NdJ("click",function(){return i.setServerType("local")}),e._uU(9,"Run the Ethernet Hub locally"),e.qZA(),e.TgZ(10,"mat-radio-button",8),e.NdJ("click",function(){return i.setServerType("gns3 vm")}),e._uU(11,"Run the Ethernet Hub on the GNS3 VM"),e.qZA(),e.qZA(),e.TgZ(12,"form",9),e.TgZ(13,"mat-form-field",10),e._UZ(14,"input",11),e.qZA(),e.TgZ(15,"mat-form-field",10),e._UZ(16,"input",12),e.qZA(),e.qZA(),e.qZA(),e.TgZ(17,"div",13),e.TgZ(18,"button",14),e.NdJ("click",function(){return i.goBack()}),e._uU(19,"Cancel"),e.qZA(),e.TgZ(20,"button",15),e.NdJ("click",function(){return i.addTemplate()}),e._uU(21,"Add template"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(10),e.Q6J("disabled",!i.isGns3VmAvailable),e.xp6(2),e.Q6J("formGroup",i.formGroup))},directives:[_i,fl,hl,ne._Y,ne.JL,ne.sg,Un.KE,ne.Fj,ur,ne.JJ,ne.u,ne.wV,Mn],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}();function Tue(n,r){if(1&n&&(e.TgZ(0,"mat-option",19),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}var $q=function(){return{standalone:!0}};function xue(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",6),e.TgZ(1,"mat-card"),e.TgZ(2,"form",7),e.TgZ(3,"mat-form-field",8),e.TgZ(4,"input",9),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().ethernetHubTemplate.name=a}),e.qZA(),e.qZA(),e.TgZ(5,"mat-form-field",8),e.TgZ(6,"input",10),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().ethernetHubTemplate.default_name_format=a}),e.qZA(),e.qZA(),e.TgZ(7,"mat-form-field",8),e.TgZ(8,"input",11),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().ethernetHubTemplate.symbol=a}),e.qZA(),e.qZA(),e.TgZ(9,"button",12),e.NdJ("click",function(){return e.CHM(t),e.oxw().chooseSymbol()}),e._uU(10,"Choose symbol"),e.qZA(),e._UZ(11,"br"),e._UZ(12,"br"),e.TgZ(13,"mat-form-field",8),e.TgZ(14,"mat-select",13),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().ethernetHubTemplate.category=a}),e.YNc(15,Tue,2,2,"mat-option",14),e.qZA(),e.qZA(),e.TgZ(16,"mat-form-field",8),e.TgZ(17,"input",15),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().numberOfPorts=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(18,"div",16),e.TgZ(19,"button",17),e.NdJ("click",function(){return e.CHM(t),e.oxw().goBack()}),e._uU(20,"Cancel"),e.qZA(),e.TgZ(21,"button",18),e.NdJ("click",function(){return e.CHM(t),e.oxw().onSave()}),e._uU(22,"Save"),e.qZA(),e._UZ(23,"br"),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(2),e.Q6J("formGroup",i.inputForm),e.xp6(2),e.Q6J("ngModel",i.ethernetHubTemplate.name),e.xp6(2),e.Q6J("ngModel",i.ethernetHubTemplate.default_name_format),e.xp6(2),e.Q6J("ngModel",i.ethernetHubTemplate.symbol),e.xp6(6),e.Q6J("ngModelOptions",e.DdM(9,$q))("ngModel",i.ethernetHubTemplate.category),e.xp6(1),e.Q6J("ngForOf",i.categories),e.xp6(2),e.Q6J("ngModel",i.numberOfPorts)("ngModelOptions",e.DdM(10,$q))}}function wue(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"app-symbols-menu",20),e.NdJ("symbolChangedEmitter",function(a){return e.CHM(t),e.oxw().symbolChanged(a)}),e.qZA()}if(2&n){var i=e.oxw();e.Q6J("server",i.server)("symbol",i.ethernetHubTemplate.symbol)}}var kue=function(n){return{shadowed:n}},Eue=function(){function n(r,t,i,o,a,s,u){this.route=r,this.serverService=t,this.builtInTemplatesService=i,this.toasterService=o,this.formBuilder=a,this.builtInTemplatesConfigurationService=s,this.router=u,this.isSymbolSelectionOpened=!1,this.categories=[],this.inputForm=this.formBuilder.group({templateName:new ne.NI("",ne.kI.required),defaultName:new ne.NI("",ne.kI.required),symbol:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id"),i=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(t,10)).then(function(o){r.server=o,r.categories=r.builtInTemplatesConfigurationService.getCategoriesForEthernetHubs(),r.builtInTemplatesService.getTemplate(r.server,i).subscribe(function(a){r.ethernetHubTemplate=a,r.numberOfPorts=r.ethernetHubTemplate.ports_mapping.length})})},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","builtin","ethernet-hubs"])},n.prototype.onSave=function(){var r=this;if(this.inputForm.invalid||!this.numberOfPorts)this.toasterService.error("Fill all required fields");else{this.ethernetHubTemplate.ports_mapping=[];for(var t=0;t<this.numberOfPorts;t++)this.ethernetHubTemplate.ports_mapping.push({name:"Ethernet"+t,port_number:t});this.builtInTemplatesService.saveTemplate(this.server,this.ethernetHubTemplate).subscribe(function(i){r.toasterService.success("Changes saved")})}},n.prototype.chooseSymbol=function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened},n.prototype.symbolChanged=function(r){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.ethernetHubTemplate.symbol=r},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(ad),e.Y36(Xn),e.Y36(ne.qu),e.Y36(Xf),e.Y36(kr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-ethernet-hubs-template-details"]],decls:7,vars:5,consts:[[1,"content",3,"ngClass"],[1,"default-header"],[1,"row"],[1,"col"],["class","default-content",4,"ngIf"],[3,"server","symbol","symbolChangedEmitter",4,"ngIf"],[1,"default-content"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","templateName","placeholder","Template name",3,"ngModel","ngModelChange"],["matInput","","type","text","formControlName","defaultName","placeholder","Default name format",3,"ngModel","ngModelChange"],["matInput","","type","text","formControlName","symbol","placeholder","Symbol",3,"ngModel","ngModelChange"],["mat-button","",1,"symbolSelectionButton",3,"click"],["placeholder","Category",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["matInput","","type","number","placeholder","Number of ports",3,"ngModel","ngModelOptions","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[3,"server","symbol","symbolChangedEmitter"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Ethernet hub settings"),e.qZA(),e.qZA(),e.qZA(),e.YNc(5,xue,24,11,"div",4),e.qZA(),e.YNc(6,wue,1,2,"app-symbols-menu",5)),2&t&&(e.Q6J("ngClass",e.VKq(3,kue,i.isSymbolSelectionOpened)),e.xp6(5),e.Q6J("ngIf",i.ethernetHubTemplate),e.xp6(1),e.Q6J("ngIf",i.isSymbolSelectionOpened&&i.ethernetHubTemplate))},directives:[Et.mk,Et.O5,_i,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,Mn,pi.gD,ne.On,Et.sg,ne.wV,ln.ey,sd],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}();function Mue(n,r){if(1&n&&(e.TgZ(0,"button",10),e._uU(1," Back "),e.qZA()),2&n){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences/builtin")}}function Aue(n,r){if(1&n&&(e.TgZ(0,"button",11),e._uU(1," Add Ethernet hub template "),e.qZA()),2&n){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences/builtin/ethernet-hubs/addtemplate")}}function Due(n,r){1&n&&e._UZ(0,"app-empty-templates-list")}function Oue(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",15),e.TgZ(1,"mat-list-item",16),e._uU(2),e.qZA(),e.TgZ(3,"button",17),e.TgZ(4,"mat-icon"),e._uU(5,"more_vert"),e.qZA(),e.qZA(),e.TgZ(6,"mat-menu",null,18),e.TgZ(8,"button",19),e.NdJ("click",function(){var u=e.CHM(t).$implicit;return e.oxw(3).deleteTemplate(u)}),e.TgZ(9,"mat-icon"),e._uU(10,"delete"),e.qZA(),e.TgZ(11,"span"),e._uU(12,"Delete"),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=r.$implicit,o=e.MAs(7);e.xp6(1),e.s9C("routerLink",i.template_id),e.xp6(1),e.Oqu(i.name),e.xp6(1),e.Q6J("matMenuTriggerFor",o)}}function Pue(n,r){if(1&n&&(e.TgZ(0,"mat-nav-list"),e.YNc(1,Oue,13,3,"div",14),e.qZA()),2&n){var t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.ethernetHubsTemplates)}}function Iue(n,r){if(1&n&&(e.TgZ(0,"div",12),e.TgZ(1,"div",13),e.YNc(2,Pue,2,1,"mat-nav-list",6),e.qZA(),e.qZA()),2&n){var t=e.oxw();e.xp6(2),e.Q6J("ngIf",t.server)}}var Rue=function(){function n(r,t,i){this.route=r,this.serverService=t,this.builtInTemplatesService=i,this.ethernetHubsTemplates=[]}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(t,10)).then(function(i){r.server=i,r.getTemplates()})},n.prototype.getTemplates=function(){var r=this;this.builtInTemplatesService.getTemplates(this.server).subscribe(function(t){r.ethernetHubsTemplates=t.filter(function(i){return"ethernet_hub"===i.template_type&&!i.builtin})})},n.prototype.deleteTemplate=function(r){this.deleteComponent.deleteItem(r.name,r.template_id)},n.prototype.onDeleteEvent=function(){this.getTemplates()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(ad))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-ethernet-hubs-templates"]],viewQuery:function(t,i){var o;(1&t&&e.Gf(wa,5),2&t)&&(e.iGM(o=e.CRH())&&(i.deleteComponent=o.first))},decls:11,vars:5,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],["class","top-button","class","cancel-button","mat-button","",3,"routerLink",4,"ngIf"],["class","top-button","mat-raised-button","","color","primary",3,"routerLink",4,"ngIf"],[4,"ngIf"],["class","default-content",4,"ngIf"],[3,"server","deleteEvent"],["deleteComponent",""],["mat-button","",1,"cancel-button",3,"routerLink"],["mat-raised-button","","color","primary",1,"top-button",3,"routerLink"],[1,"default-content"],[1,"listcontainer","mat-elevation-z8"],["class","list-item",4,"ngFor","ngForOf"],[1,"list-item"],[1,"template-name",3,"routerLink"],["mat-button","",1,"menu-button",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Ethernet hubs templates"),e.qZA(),e.YNc(5,Mue,2,1,"button",4),e.YNc(6,Aue,2,1,"button",5),e.qZA(),e.qZA(),e.YNc(7,Due,1,0,"app-empty-templates-list",6),e.YNc(8,Iue,3,1,"div",7),e.qZA(),e.TgZ(9,"app-delete-template",8,9),e.NdJ("deleteEvent",function(){return i.onDeleteEvent()}),e.qZA()),2&t&&(e.xp6(5),e.Q6J("ngIf",i.server),e.xp6(1),e.Q6J("ngIf",i.server),e.xp6(1),e.Q6J("ngIf",!i.ethernetHubsTemplates.length),e.xp6(1),e.Q6J("ngIf",i.ethernetHubsTemplates.length),e.xp6(1),e.Q6J("server",i.server))},directives:[Et.O5,wa,Mn,fa,ud,ku,Et.sg,Cs,Qa,sr,Ss,Zr],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}(),Nue=function(){function n(r,t,i,o,a,s,u,p){this.route=r,this.serverService=t,this.builtInTemplatesService=i,this.router=o,this.toasterService=a,this.templateMocksService=s,this.formBuilder=u,this.computeService=p,this.templateName="",this.isGns3VmAvailable=!1,this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0,this.formGroup=this.formBuilder.group({templateName:new ne.NI("",ne.kI.required),numberOfPorts:new ne.NI(8,ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(t,10)).then(function(i){r.server=i,r.computeService.getComputes(i).subscribe(function(o){o.filter(function(a){return"vm"===a.compute_id}).length>0&&(r.isGns3VmAvailable=!0)})})},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","builtin","ethernet-switches"])},n.prototype.setServerType=function(r){"gns3 vm"===r&&this.isGns3VmAvailable?(this.isGns3VmChosen=!0,this.isLocalComputerChosen=!1):(this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0)},n.prototype.addTemplate=function(){var r=this;if(this.formGroup.invalid)this.toasterService.error("Fill all required fields");else{var t;this.templateMocksService.getEthernetSwitchTemplate().subscribe(function(o){t=o}),t.template_id=(0,xa.v4)(),t.name=this.formGroup.get("templateName").value,t.compute_id=this.isGns3VmChosen?"vm":"local";for(var i=0;i<this.formGroup.get("numberOfPorts").value;i++)t.ports_mapping.push({ethertype:"",name:"Ethernet"+i,port_number:i,type:"access",vlan:1});this.builtInTemplatesService.addTemplate(this.server,t).subscribe(function(o){r.goBack()})}},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(ad),e.Y36(kr),e.Y36(Xn),e.Y36(ec),e.Y36(ne.qu),e.Y36(tc.X))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-ethernet-switches-add-template"]],decls:22,vars:2,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[1,"matCard"],[1,"radio-group"],["value","1","checked","",1,"radio-button",3,"click"],["value","2",1,"radio-button",3,"disabled","click"],[3,"formGroup"],[1,"form-field"],["formControlName","templateName","matInput","","type","text","placeholder","Template name"],["formControlName","numberOfPorts","matInput","","type","number","placeholder","Number of ports"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"New Ethernet switch template"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"mat-card",5),e.TgZ(7,"mat-radio-group",6),e.TgZ(8,"mat-radio-button",7),e.NdJ("click",function(){return i.setServerType("local")}),e._uU(9,"Run the Ethernet switch locally"),e.qZA(),e.TgZ(10,"mat-radio-button",8),e.NdJ("click",function(){return i.setServerType("gns3 vm")}),e._uU(11,"Run the Ethernet switch on the GNS3 VM"),e.qZA(),e.qZA(),e.TgZ(12,"form",9),e.TgZ(13,"mat-form-field",10),e._UZ(14,"input",11),e.qZA(),e.TgZ(15,"mat-form-field",10),e._UZ(16,"input",12),e.qZA(),e.qZA(),e.qZA(),e.TgZ(17,"div",13),e.TgZ(18,"button",14),e.NdJ("click",function(){return i.goBack()}),e._uU(19,"Cancel"),e.qZA(),e.TgZ(20,"button",15),e.NdJ("click",function(){return i.addTemplate()}),e._uU(21,"Add template"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(10),e.Q6J("disabled",!i.isGns3VmAvailable),e.xp6(2),e.Q6J("formGroup",i.formGroup))},directives:[_i,fl,hl,ne._Y,ne.JL,ne.sg,Un.KE,ne.Fj,ur,ne.JJ,ne.u,ne.wV,Mn],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}();function Zue(n,r){1&n&&(e.TgZ(0,"th",18),e._uU(1,"Port number"),e.qZA())}function Lue(n,r){if(1&n&&(e.TgZ(0,"td",19),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.Oqu(t.port_number)}}function Fue(n,r){1&n&&(e.TgZ(0,"th",18),e._uU(1,"VLAN"),e.qZA())}function Bue(n,r){if(1&n&&(e.TgZ(0,"td",19),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.Oqu(t.vlan)}}function Uue(n,r){1&n&&(e.TgZ(0,"th",18),e._uU(1,"Type"),e.qZA())}function Hue(n,r){if(1&n&&(e.TgZ(0,"td",19),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.Oqu(t.type)}}function Vue(n,r){1&n&&(e.TgZ(0,"th",18),e._uU(1,"EtherType"),e.qZA())}function que(n,r){if(1&n&&(e.TgZ(0,"td",19),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.Oqu(t.ethertype)}}function jue(n,r){1&n&&(e.TgZ(0,"th",18),e._uU(1,"Actions"),e.qZA())}function zue(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"td",19),e.TgZ(1,"button",20),e.NdJ("click",function(){var a=e.CHM(t).$implicit;return e.oxw().delete(a)}),e.TgZ(2,"mat-icon",21),e._uU(3,"delete"),e.qZA(),e.qZA(),e.qZA()}}function Wue(n,r){1&n&&e._UZ(0,"tr",22)}function Gue(n,r){1&n&&e._UZ(0,"tr",23)}function Yue(n,r){if(1&n&&(e.TgZ(0,"mat-option",24),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Jue(n,r){if(1&n&&(e.TgZ(0,"mat-option",24),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}var ej=function(){return{standalone:!0}},h2=function(){function n(r){this.builtInTemplatesConfigurationService=r,this.ethernetPorts=[],this.newPort={name:"",port_number:0},this.portTypes=[],this.etherTypes=[],this.displayedColumns=["port_number","vlan","type","ethertype","action"]}return n.prototype.ngOnInit=function(){this.getConfiguration()},n.prototype.getConfiguration=function(){this.etherTypes=this.builtInTemplatesConfigurationService.getEtherTypesForEthernetSwitches(),this.portTypes=this.builtInTemplatesConfigurationService.getPortTypesForEthernetSwitches()},n.prototype.onAdd=function(){this.ethernetPorts.push(this.newPort),this.newPort={name:"",port_number:0}},n.prototype.delete=function(r){this.ethernetPorts=this.ethernetPorts.filter(function(t){return t!==r})},n.\u0275fac=function(t){return new(t||n)(e.Y36(Xf))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-ports"]],inputs:{ethernetPorts:"ethernetPorts"},decls:31,vars:13,consts:[["mat-table","",1,"table",3,"dataSource"],["matColumnDef","port_number"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","vlan"],["matColumnDef","type"],["matColumnDef","ethertype"],["matColumnDef","action"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"form-field"],["matInput","","type","number","placeholder","Port",3,"ngModel","ngModelChange"],["matInput","","type","number","placeholder","VLAN",3,"ngModel","ngModelChange"],[1,"select"],["placeholder","Type",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["placeholder","EtherType",3,"ngModelOptions","ngModel","ngModelChange"],["mat-button","",1,"form-field",3,"click"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","","matTooltip","Delete port","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Delete port"],["mat-header-row",""],["mat-row",""],[3,"value"]],template:function(t,i){1&t&&(e.TgZ(0,"table",0),e.ynx(1,1),e.YNc(2,Zue,2,0,"th",2),e.YNc(3,Lue,2,1,"td",3),e.BQk(),e.ynx(4,4),e.YNc(5,Fue,2,0,"th",2),e.YNc(6,Bue,2,1,"td",3),e.BQk(),e.ynx(7,5),e.YNc(8,Uue,2,0,"th",2),e.YNc(9,Hue,2,1,"td",3),e.BQk(),e.ynx(10,6),e.YNc(11,Vue,2,0,"th",2),e.YNc(12,que,2,1,"td",3),e.BQk(),e.ynx(13,7),e.YNc(14,jue,2,0,"th",2),e.YNc(15,zue,4,0,"td",3),e.BQk(),e.YNc(16,Wue,1,0,"tr",8),e.YNc(17,Gue,1,0,"tr",9),e.qZA(),e._UZ(18,"br"),e.TgZ(19,"mat-form-field",10),e.TgZ(20,"input",11),e.NdJ("ngModelChange",function(a){return i.newPort.port_number=a}),e.qZA(),e.qZA(),e.TgZ(21,"mat-form-field",10),e.TgZ(22,"input",12),e.NdJ("ngModelChange",function(a){return i.newPort.vlan=a}),e.qZA(),e.qZA(),e.TgZ(23,"mat-form-field",13),e.TgZ(24,"mat-select",14),e.NdJ("ngModelChange",function(a){return i.newPort.type=a}),e.YNc(25,Yue,2,2,"mat-option",15),e.qZA(),e.qZA(),e.TgZ(26,"mat-form-field",13),e.TgZ(27,"mat-select",16),e.NdJ("ngModelChange",function(a){return i.newPort.ethertype=a}),e.YNc(28,Jue,2,2,"mat-option",15),e.qZA(),e.qZA(),e.TgZ(29,"button",17),e.NdJ("click",function(){return i.onAdd()}),e._uU(30,"Add"),e.qZA()),2&t&&(e.Q6J("dataSource",i.ethernetPorts),e.xp6(16),e.Q6J("matHeaderRowDef",i.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",i.displayedColumns),e.xp6(3),e.Q6J("ngModel",i.newPort.port_number),e.xp6(2),e.Q6J("ngModel",i.newPort.vlan),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(11,ej))("ngModel",i.newPort.type),e.xp6(1),e.Q6J("ngForOf",i.portTypes),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(12,ej))("ngModel",i.newPort.ethertype),e.xp6(1),e.Q6J("ngForOf",i.etherTypes))},directives:[Yl,cl,ul,ll,Jl,Ql,Un.KE,ur,ne.wV,ne.Fj,ne.JJ,ne.On,pi.gD,Et.sg,Mn,dl,pl,Ja,sr,Kl,Xl,ln.ey],styles:[".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}();function Que(n,r){if(1&n&&(e.TgZ(0,"mat-option",22),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}function Kue(n,r){if(1&n&&(e.TgZ(0,"mat-option",22),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}var tj=function(){return{standalone:!0}};function Xue(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",6),e.TgZ(1,"mat-accordion"),e.TgZ(2,"mat-expansion-panel"),e.TgZ(3,"mat-expansion-panel-header"),e.TgZ(4,"mat-panel-title"),e._uU(5," General settings "),e.qZA(),e.qZA(),e.TgZ(6,"form",7),e.TgZ(7,"mat-form-field",8),e.TgZ(8,"input",9),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().ethernetSwitchTemplate.name=a}),e.qZA(),e.qZA(),e.TgZ(9,"mat-form-field",8),e.TgZ(10,"input",10),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().ethernetSwitchTemplate.default_name_format=a}),e.qZA(),e.qZA(),e.TgZ(11,"mat-form-field",8),e.TgZ(12,"input",11),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().ethernetSwitchTemplate.symbol=a}),e.qZA(),e.qZA(),e.TgZ(13,"button",12),e.NdJ("click",function(){return e.CHM(t),e.oxw().chooseSymbol()}),e._uU(14,"Choose symbol"),e.qZA(),e._UZ(15,"br"),e._UZ(16,"br"),e.TgZ(17,"mat-form-field",8),e.TgZ(18,"mat-select",13),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().ethernetSwitchTemplate.category=a}),e.YNc(19,Que,2,2,"mat-option",14),e.qZA(),e.qZA(),e.TgZ(20,"mat-form-field",15),e.TgZ(21,"mat-select",16),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().ethernetSwitchTemplate.console_type=a}),e.YNc(22,Kue,2,2,"mat-option",14),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(23,"mat-expansion-panel"),e.TgZ(24,"mat-expansion-panel-header"),e.TgZ(25,"mat-panel-title"),e._uU(26," Port settings "),e.qZA(),e.qZA(),e._UZ(27,"app-ports",17,18),e.qZA(),e.qZA(),e.TgZ(29,"div",19),e.TgZ(30,"button",20),e.NdJ("click",function(){return e.CHM(t),e.oxw().goBack()}),e._uU(31,"Cancel"),e.qZA(),e.TgZ(32,"button",21),e.NdJ("click",function(){return e.CHM(t),e.oxw().onSave()}),e._uU(33,"Save"),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(6),e.Q6J("formGroup",i.inputForm),e.xp6(2),e.Q6J("ngModel",i.ethernetSwitchTemplate.name),e.xp6(2),e.Q6J("ngModel",i.ethernetSwitchTemplate.default_name_format),e.xp6(2),e.Q6J("ngModel",i.ethernetSwitchTemplate.symbol),e.xp6(6),e.Q6J("ngModelOptions",e.DdM(11,tj))("ngModel",i.ethernetSwitchTemplate.category),e.xp6(1),e.Q6J("ngForOf",i.categories),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(12,tj))("ngModel",i.ethernetSwitchTemplate.console_type),e.xp6(1),e.Q6J("ngForOf",i.consoleTypes),e.xp6(5),e.Q6J("ethernetPorts",i.ethernetSwitchTemplate.ports_mapping)}}function $ue(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"app-symbols-menu",23),e.NdJ("symbolChangedEmitter",function(a){return e.CHM(t),e.oxw().symbolChanged(a)}),e.qZA()}if(2&n){var i=e.oxw();e.Q6J("server",i.server)("symbol",i.ethernetSwitchTemplate.symbol)}}var ece=function(n){return{shadowed:n}},tce=function(){function n(r,t,i,o,a,s,u){this.route=r,this.serverService=t,this.builtInTemplatesService=i,this.toasterService=o,this.formBuilder=a,this.builtInTemplatesConfigurationService=s,this.router=u,this.isSymbolSelectionOpened=!1,this.categories=[],this.consoleTypes=[],this.inputForm=this.formBuilder.group({templateName:new ne.NI("",ne.kI.required),defaultName:new ne.NI("",ne.kI.required),symbol:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id"),i=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(t,10)).then(function(o){r.server=o,r.getConfiguration(),r.builtInTemplatesService.getTemplate(r.server,i).subscribe(function(a){r.ethernetSwitchTemplate=a})})},n.prototype.getConfiguration=function(){this.categories=this.builtInTemplatesConfigurationService.getCategoriesForEthernetSwitches(),this.consoleTypes=this.builtInTemplatesConfigurationService.getConsoleTypesForEthernetSwitches()},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","builtin","ethernet-switches"])},n.prototype.onSave=function(){var r=this;this.inputForm.invalid?this.toasterService.error("Fill all required fields"):(this.ethernetSwitchTemplate.ports_mapping=this.portsComponent.ethernetPorts,this.builtInTemplatesService.saveTemplate(this.server,this.ethernetSwitchTemplate).subscribe(function(t){r.toasterService.success("Changes saved")}))},n.prototype.chooseSymbol=function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened},n.prototype.symbolChanged=function(r){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.ethernetSwitchTemplate.symbol=r},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(ad),e.Y36(Xn),e.Y36(ne.qu),e.Y36(Xf),e.Y36(kr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-ethernet-switches-template-details"]],viewQuery:function(t,i){var o;(1&t&&e.Gf(h2,5),2&t)&&(e.iGM(o=e.CRH())&&(i.portsComponent=o.first))},decls:7,vars:5,consts:[[1,"content",3,"ngClass"],[1,"default-header"],[1,"row"],[1,"col"],["class","default-content",4,"ngIf"],[3,"server","symbol","symbolChangedEmitter",4,"ngIf"],[1,"default-content"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","templateName","placeholder","Template name",3,"ngModel","ngModelChange"],["matInput","","type","text","formControlName","defaultName","placeholder","Default name format",3,"ngModel","ngModelChange"],["matInput","","type","text","formControlName","symbol","placeholder","Symbol",3,"ngModel","ngModelChange"],["mat-button","",1,"symbolSelectionButton",3,"click"],["placeholder","Category",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"select"],["placeholder","Console type",3,"ngModelOptions","ngModel","ngModelChange"],[3,"ethernetPorts"],["ports",""],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[3,"server","symbol","symbolChangedEmitter"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Ethernet switch configuration"),e.qZA(),e.qZA(),e.qZA(),e.YNc(5,Xue,34,13,"div",4),e.qZA(),e.YNc(6,$ue,1,2,"app-symbols-menu",5)),2&t&&(e.Q6J("ngClass",e.VKq(3,ece,i.isSymbolSelectionOpened)),e.xp6(5),e.Q6J("ngIf",i.ethernetSwitchTemplate),e.xp6(1),e.Q6J("ngIf",i.isSymbolSelectionOpened&&i.ethernetSwitchTemplate))},directives:[Et.mk,Et.O5,od,Xu,$u,id,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,Mn,pi.gD,ne.On,Et.sg,h2,ln.ey,sd],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}();function nce(n,r){if(1&n&&(e.TgZ(0,"button",10),e._uU(1," Back "),e.qZA()),2&n){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences/builtin")}}function rce(n,r){if(1&n&&(e.TgZ(0,"button",11),e._uU(1," Add Ethernet switch template "),e.qZA()),2&n){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences/builtin/ethernet-switches/addtemplate")}}function ice(n,r){1&n&&e._UZ(0,"app-empty-templates-list")}function oce(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",15),e.TgZ(1,"mat-list-item",16),e._uU(2),e.qZA(),e.TgZ(3,"button",17),e.TgZ(4,"mat-icon"),e._uU(5,"more_vert"),e.qZA(),e.qZA(),e.TgZ(6,"mat-menu",null,18),e.TgZ(8,"button",19),e.NdJ("click",function(){var u=e.CHM(t).$implicit;return e.oxw(3).deleteTemplate(u)}),e.TgZ(9,"mat-icon"),e._uU(10,"delete"),e.qZA(),e.TgZ(11,"span"),e._uU(12,"Delete"),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=r.$implicit,o=e.MAs(7);e.xp6(1),e.s9C("routerLink",i.template_id),e.xp6(1),e.Oqu(i.name),e.xp6(1),e.Q6J("matMenuTriggerFor",o)}}function ace(n,r){if(1&n&&(e.TgZ(0,"mat-nav-list"),e.YNc(1,oce,13,3,"div",14),e.qZA()),2&n){var t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.ethernetSwitchesTemplates)}}function sce(n,r){if(1&n&&(e.TgZ(0,"div",12),e.TgZ(1,"div",13),e.YNc(2,ace,2,1,"mat-nav-list",6),e.qZA(),e.qZA()),2&n){var t=e.oxw();e.xp6(2),e.Q6J("ngIf",t.server)}}var lce=function(){function n(r,t,i){this.route=r,this.serverService=t,this.builtInTemplatesService=i,this.ethernetSwitchesTemplates=[]}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(t,10)).then(function(i){r.server=i,r.getTemplates()})},n.prototype.getTemplates=function(){var r=this;this.builtInTemplatesService.getTemplates(this.server).subscribe(function(t){r.ethernetSwitchesTemplates=t.filter(function(i){return"ethernet_switch"===i.template_type&&!i.builtin})})},n.prototype.deleteTemplate=function(r){this.deleteComponent.deleteItem(r.name,r.template_id)},n.prototype.onDeleteEvent=function(){this.getTemplates()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(ad))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-ethernet-switches-templates"]],viewQuery:function(t,i){var o;(1&t&&e.Gf(wa,5),2&t)&&(e.iGM(o=e.CRH())&&(i.deleteComponent=o.first))},decls:11,vars:5,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],["class","top-button","class","cancel-button","mat-button","",3,"routerLink",4,"ngIf"],["class","top-button","mat-raised-button","","color","primary",3,"routerLink",4,"ngIf"],[4,"ngIf"],["class","default-content",4,"ngIf"],[3,"server","deleteEvent"],["deleteComponent",""],["mat-button","",1,"cancel-button",3,"routerLink"],["mat-raised-button","","color","primary",1,"top-button",3,"routerLink"],[1,"default-content"],[1,"listcontainer","mat-elevation-z8"],["class","list-item",4,"ngFor","ngForOf"],[1,"list-item"],[1,"template-name",3,"routerLink"],["mat-button","",1,"menu-button",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Ethernet switches templates"),e.qZA(),e.YNc(5,nce,2,1,"button",4),e.YNc(6,rce,2,1,"button",5),e.qZA(),e.qZA(),e.YNc(7,ice,1,0,"app-empty-templates-list",6),e.YNc(8,sce,3,1,"div",7),e.qZA(),e.TgZ(9,"app-delete-template",8,9),e.NdJ("deleteEvent",function(){return i.onDeleteEvent()}),e.qZA()),2&t&&(e.xp6(5),e.Q6J("ngIf",i.server),e.xp6(1),e.Q6J("ngIf",i.server),e.xp6(1),e.Q6J("ngIf",!i.ethernetSwitchesTemplates.length),e.xp6(1),e.Q6J("ngIf",i.ethernetSwitchesTemplates.length),e.xp6(1),e.Q6J("server",i.server))},directives:[Et.O5,wa,Mn,fa,ud,ku,Et.sg,Cs,Qa,sr,Ss,Zr],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}(),XZ=function(){return function(){}}(),uv=function(){function n(r){this.httpServer=r}return n.prototype.getTemplates=function(r){return this.httpServer.get(r,"/templates")},n.prototype.getTemplate=function(r,t){return this.httpServer.get(r,"/templates/"+t)},n.prototype.getImages=function(r){return this.httpServer.get(r,"/compute/docker/images")},n.prototype.addTemplate=function(r,t){return this.httpServer.post(r,"/templates",t)},n.prototype.saveTemplate=function(r,t){return this.httpServer.put(r,"/templates/"+t.template_id,t)},n.\u0275fac=function(t){return new(t||n)(e.LFG(Yo.wh))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),IS=function(){function n(){}return n.prototype.getConsoleTypes=function(){return["telnet","vnc","http","https","none"]},n.prototype.getCategories=function(){return[["Default","guest"],["Routers","router"],["Switches","switch"],["End devices","guest"],["Security devices","firewall"]]},n.prototype.getConsoleResolutions=function(){return["1920x1080","1366x768","1280x1024","1280x800","1024x768","800x600","640x480"]},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}();function uce(n,r){1&n&&e.Hsn(0)}var cce=["*"],nj=function(){var n=function(){function r(t){(0,g.Z)(this,r),this._elementRef=t}return(0,k.Z)(r,[{key:"focus",value:function(){this._elementRef.nativeElement.focus()}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),n}(),rj=function(){var n=function r(t){(0,g.Z)(this,r),this.template=t};return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkStepLabel",""]]}),n}(),dce=0,ij=new e.OlP("STEPPER_GLOBAL_OPTIONS"),$Z=function(){var n=function(){function r(t,i){(0,g.Z)(this,r),this._stepper=t,this.interacted=!1,this.interactedStream=new e.vpe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=i||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}return(0,k.Z)(r,[{key:"editable",get:function(){return this._editable},set:function(i){this._editable=(0,Dn.Ig)(i)}},{key:"optional",get:function(){return this._optional},set:function(i){this._optional=(0,Dn.Ig)(i)}},{key:"completed",get:function(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride},set:function(i){this._completedOverride=(0,Dn.Ig)(i)}},{key:"_getDefaultCompleted",value:function(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}},{key:"hasError",get:function(){return null==this._customError?this._getDefaultError():this._customError},set:function(i){this._customError=(0,Dn.Ig)(i)}},{key:"_getDefaultError",value:function(){return this.stepControl&&this.stepControl.invalid&&this.interacted}},{key:"select",value:function(){this._stepper.selected=this}},{key:"reset",value:function(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}},{key:"ngOnChanges",value:function(){this._stepper._stateChanged()}},{key:"_markAsInteracted",value:function(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}},{key:"_showError",value:function(){var i;return null!==(i=this._stepperOptions.showError)&&void 0!==i?i:null!=this._customError}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.Y36((0,e.Gpc)(function(){return sy})),e.Y36(ij,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cdk-step"]],contentQueries:function(t,i,o){var a;1&t&&e.Suo(o,rj,5),2&t&&e.iGM(a=e.CRH())&&(i.stepLabel=a.first)},viewQuery:function(t,i){var o;1&t&&e.Gf(e.Rgc,7),2&t&&e.iGM(o=e.CRH())&&(i.content=o.first)},inputs:{editable:"editable",optional:"optional",completed:"completed",hasError:"hasError",stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[e.TTD],ngContentSelectors:cce,decls:1,vars:0,template:function(t,i){1&t&&(e.F$t(),e.YNc(0,uce,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),n}(),sy=function(){var n=function(){function r(t,i,o,a){(0,g.Z)(this,r),this._dir=t,this._changeDetectorRef=i,this._elementRef=o,this._destroyed=new On.xQ,this.steps=new e.n_E,this._sortedHeaders=new e.n_E,this._linear=!1,this._selectedIndex=0,this.selectionChange=new e.vpe,this._orientation="horizontal",this._groupId=dce++}return(0,k.Z)(r,[{key:"linear",get:function(){return this._linear},set:function(i){this._linear=(0,Dn.Ig)(i)}},{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(i){var o,a=(0,Dn.su)(i);this.steps&&this._steps?(this._isValidIndex(i),null===(o=this.selected)||void 0===o||o._markAsInteracted(),this._selectedIndex!==a&&!this._anyControlsInvalidOrPending(a)&&(a>=this._selectedIndex||this.steps.toArray()[a].editable)&&this._updateSelectedItemIndex(i)):this._selectedIndex=a}},{key:"selected",get:function(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0},set:function(i){this.selectedIndex=i&&this.steps?this.steps.toArray().indexOf(i):-1}},{key:"orientation",get:function(){return this._orientation},set:function(i){this._orientation=i,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===i)}},{key:"ngAfterContentInit",value:function(){var i=this;this._steps.changes.pipe((0,na.O)(this._steps),(0,Fr.R)(this._destroyed)).subscribe(function(o){i.steps.reset(o.filter(function(a){return a._stepper===i})),i.steps.notifyOnChanges()})}},{key:"ngAfterViewInit",value:function(){var i=this;this._stepHeader.changes.pipe((0,na.O)(this._stepHeader),(0,Fr.R)(this._destroyed)).subscribe(function(o){i._sortedHeaders.reset(o.toArray().sort(function(a,s){return a._elementRef.nativeElement.compareDocumentPosition(s._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1})),i._sortedHeaders.notifyOnChanges()}),this._keyManager=new Ti.Em(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,rr.of)()).pipe((0,na.O)(this._layoutDirection()),(0,Fr.R)(this._destroyed)).subscribe(function(o){return i._keyManager.withHorizontalOrientation(o)}),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(function(){i.selected||(i._selectedIndex=Math.max(i._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}},{key:"ngOnDestroy",value:function(){this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}},{key:"next",value:function(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}},{key:"previous",value:function(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}},{key:"reset",value:function(){this._updateSelectedItemIndex(0),this.steps.forEach(function(i){return i.reset()}),this._stateChanged()}},{key:"_getStepLabelId",value:function(i){return"cdk-step-label-".concat(this._groupId,"-").concat(i)}},{key:"_getStepContentId",value:function(i){return"cdk-step-content-".concat(this._groupId,"-").concat(i)}},{key:"_stateChanged",value:function(){this._changeDetectorRef.markForCheck()}},{key:"_getAnimationDirection",value:function(i){var o=i-this._selectedIndex;return o<0?"rtl"===this._layoutDirection()?"next":"previous":o>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}},{key:"_getIndicatorType",value:function(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"number",a=this.steps.toArray()[i],s=this._isCurrentStep(i);return a._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(a,s):this._getGuidelineLogic(a,s,o)}},{key:"_getDefaultIndicatorLogic",value:function(i,o){return i._showError()&&i.hasError&&!o?"error":!i.completed||o?"number":i.editable?"edit":"done"}},{key:"_getGuidelineLogic",value:function(i,o){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"number";return i._showError()&&i.hasError&&!o?"error":i.completed&&!o?"done":i.completed&&o?a:i.editable&&o?"edit":a}},{key:"_isCurrentStep",value:function(i){return this._selectedIndex===i}},{key:"_getFocusIndex",value:function(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}},{key:"_updateSelectedItemIndex",value:function(i){var o=this.steps.toArray();this.selectionChange.emit({selectedIndex:i,previouslySelectedIndex:this._selectedIndex,selectedStep:o[i],previouslySelectedStep:o[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(i):this._keyManager.updateActiveItem(i),this._selectedIndex=i,this._stateChanged()}},{key:"_onKeydown",value:function(i){var o=(0,Gr.Vb)(i),a=i.keyCode,s=this._keyManager;null==s.activeItemIndex||o||a!==Gr.L_&&a!==Gr.K5?s.onKeydown(i):(this.selectedIndex=s.activeItemIndex,i.preventDefault())}},{key:"_anyControlsInvalidOrPending",value:function(i){return!!(this._linear&&i>=0)&&this.steps.toArray().slice(0,i).some(function(o){var a=o.stepControl;return(a?a.invalid||a.pending||!o.interacted:!o.completed)&&!o.optional&&!o._completedOverride})}},{key:"_layoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_containsFocus",value:function(){var i=this._elementRef.nativeElement,o=(0,$r.ht)();return i===o||i.contains(o)}},{key:"_isValidIndex",value:function(i){return i>-1&&(!this.steps||i<this.steps.length)}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.Y36(Fa.Is,8),e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(Et.K0))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkStepper",""]],contentQueries:function(t,i,o){var a;1&t&&(e.Suo(o,$Z,5),e.Suo(o,nj,5)),2&t&&(e.iGM(a=e.CRH())&&(i._steps=a),e.iGM(a=e.CRH())&&(i._stepHeader=a))},inputs:{linear:"linear",selectedIndex:"selectedIndex",selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange"},exportAs:["cdkStepper"]}),n}(),pce=function(){var n=function(){function r(t){(0,g.Z)(this,r),this._stepper=t,this.type="submit"}return(0,k.Z)(r,[{key:"_handleClick",value:function(){this._stepper.next()}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.Y36(sy))},n.\u0275dir=e.lG2({type:n,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(t,i){1&t&&e.NdJ("click",function(){return i._handleClick()}),2&t&&e.Ikx("type",i.type)},inputs:{type:"type"}}),n}(),fce=function(){var n=function(){function r(t){(0,g.Z)(this,r),this._stepper=t,this.type="button"}return(0,k.Z)(r,[{key:"_handleClick",value:function(){this._stepper.previous()}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.Y36(sy))},n.\u0275dir=e.lG2({type:n,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(t,i){1&t&&e.NdJ("click",function(){return i._handleClick()}),2&t&&e.Ikx("type",i.type)},inputs:{type:"type"}}),n}(),hce=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[Fa.vT]]}),n}();function mce(n,r){if(1&n&&e.GkF(0,8),2&n){var t=e.oxw();e.Q6J("ngTemplateOutlet",t.iconOverrides[t.state])("ngTemplateOutletContext",t._getIconContext())}}function vce(n,r){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){var t=e.oxw(2);e.xp6(1),e.Oqu(t._getDefaultTextForState(t.state))}}function gce(n,r){if(1&n&&(e.TgZ(0,"mat-icon"),e._uU(1),e.qZA()),2&n){var t=e.oxw(2);e.xp6(1),e.Oqu(t._getDefaultTextForState(t.state))}}function _ce(n,r){if(1&n&&(e.ynx(0,9),e.YNc(1,vce,2,1,"span",10),e.YNc(2,gce,2,1,"mat-icon",11),e.BQk()),2&n){var t=e.oxw();e.Q6J("ngSwitch",t.state),e.xp6(1),e.Q6J("ngSwitchCase","number")}}function yce(n,r){if(1&n&&(e.TgZ(0,"div",12),e.GkF(1,13),e.qZA()),2&n){var t=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",t._templateLabel().template)}}function bce(n,r){if(1&n&&(e.TgZ(0,"div",12),e._uU(1),e.qZA()),2&n){var t=e.oxw();e.xp6(1),e.Oqu(t.label)}}function Cce(n,r){if(1&n&&(e.TgZ(0,"div",14),e._uU(1),e.qZA()),2&n){var t=e.oxw();e.xp6(1),e.Oqu(t._intl.optionalLabel)}}function Sce(n,r){if(1&n&&(e.TgZ(0,"div",15),e._uU(1),e.qZA()),2&n){var t=e.oxw();e.xp6(1),e.Oqu(t.errorMessage)}}function Tce(n,r){}function xce(n,r){if(1&n&&(e.Hsn(0),e.YNc(1,Tce,0,0,"ng-template",0)),2&n){var t=e.oxw();e.xp6(1),e.Q6J("cdkPortalOutlet",t._portal)}}var wce=["*"];function kce(n,r){1&n&&e._UZ(0,"div",9)}var oj=function(r,t){return{step:r,i:t}};function Ece(n,r){if(1&n&&(e.ynx(0),e.GkF(1,7),e.YNc(2,kce,1,0,"div",8),e.BQk()),2&n){var t=r.$implicit,i=r.index,o=r.last;e.oxw(2);var a=e.MAs(4);e.xp6(1),e.Q6J("ngTemplateOutlet",a)("ngTemplateOutletContext",e.WLB(3,oj,t,i)),e.xp6(1),e.Q6J("ngIf",!o)}}function Mce(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",10),e.NdJ("@horizontalStepTransition.done",function(u){return e.CHM(t),e.oxw(2)._animationDone.next(u)}),e.GkF(1,11),e.qZA()}if(2&n){var i=r.$implicit,o=r.index,a=e.oxw(2);e.Q6J("@horizontalStepTransition",a._getAnimationDirection(o))("id",a._getStepContentId(o)),e.uIk("aria-labelledby",a._getStepLabelId(o))("aria-expanded",a.selectedIndex===o),e.xp6(1),e.Q6J("ngTemplateOutlet",i.content)}}function Ace(n,r){if(1&n&&(e.ynx(0),e.TgZ(1,"div",3),e.YNc(2,Ece,3,6,"ng-container",4),e.qZA(),e.TgZ(3,"div",5),e.YNc(4,Mce,2,5,"div",6),e.qZA(),e.BQk()),2&n){var t=e.oxw();e.xp6(2),e.Q6J("ngForOf",t.steps),e.xp6(2),e.Q6J("ngForOf",t.steps)}}function Dce(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",13),e.GkF(1,7),e.TgZ(2,"div",14),e.TgZ(3,"div",15),e.NdJ("@verticalStepTransition.done",function(m){return e.CHM(t),e.oxw(2)._animationDone.next(m)}),e.TgZ(4,"div",16),e.GkF(5,11),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=r.$implicit,o=r.index,a=r.last,s=e.oxw(2),u=e.MAs(4);e.xp6(1),e.Q6J("ngTemplateOutlet",u)("ngTemplateOutletContext",e.WLB(9,oj,i,o)),e.xp6(1),e.ekj("mat-stepper-vertical-line",!a),e.xp6(1),e.Q6J("@verticalStepTransition",s._getAnimationDirection(o))("id",s._getStepContentId(o)),e.uIk("aria-labelledby",s._getStepLabelId(o))("aria-expanded",s.selectedIndex===o),e.xp6(2),e.Q6J("ngTemplateOutlet",i.content)}}function Oce(n,r){if(1&n&&(e.ynx(0),e.YNc(1,Dce,6,12,"div",12),e.BQk()),2&n){var t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.steps)}}function Pce(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-step-header",17),e.NdJ("click",function(){return e.CHM(t).step.select()})("keydown",function(u){return e.CHM(t),e.oxw()._onKeydown(u)}),e.qZA()}if(2&n){var i=r.step,o=r.i,a=e.oxw();e.ekj("mat-horizontal-stepper-header","horizontal"===a.orientation)("mat-vertical-stepper-header","vertical"===a.orientation),e.Q6J("tabIndex",a._getFocusIndex()===o?0:-1)("id",a._getStepLabelId(o))("index",o)("state",a._getIndicatorType(o,i.state))("label",i.stepLabel||i.label)("selected",a.selectedIndex===o)("active",a._stepIsNavigable(o,i))("optional",i.optional)("errorMessage",i.errorMessage)("iconOverrides",a._iconOverrides)("disableRipple",a.disableRipple||!a._stepIsNavigable(o,i))("color",i.color||a.color),e.uIk("aria-posinset",o+1)("aria-setsize",a.steps.length)("aria-controls",a._getStepContentId(o))("aria-selected",a.selectedIndex==o)("aria-label",i.ariaLabel||null)("aria-labelledby",!i.ariaLabel&&i.ariaLabelledby?i.ariaLabelledby:null)("aria-disabled",!a._stepIsNavigable(o,i)||null)}}var m2=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(){return(0,g.Z)(this,i),t.apply(this,arguments)}return i}(rj);return n.\u0275fac=function(){var r;return function(i){return(r||(r=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["","matStepLabel",""]],features:[e.qOj]}),n}(),v2=function(){var n=function r(){(0,g.Z)(this,r),this.changes=new On.xQ,this.optionalLabel="Optional"};return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=e.Yz7({factory:function(){return new n},token:n,providedIn:"root"}),n}(),Rce={provide:v2,deps:[[new e.FiY,new e.tp0,v2]],useFactory:function(n){return n||new v2}},Nce=(0,ln.pj)(function(n){(0,M.Z)(t,n);var r=(0,A.Z)(t);function t(i){return(0,g.Z)(this,t),r.call(this,i)}return t}(nj),"primary"),aj=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s,u){var p;return(0,g.Z)(this,i),(p=t.call(this,s))._intl=o,p._focusMonitor=a,p._intlSubscription=o.changes.subscribe(function(){return u.markForCheck()}),p}return(0,k.Z)(i,[{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this._elementRef,!0)}},{key:"ngOnDestroy",value:function(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(a,s){a?this._focusMonitor.focusVia(this._elementRef,a,s):this._elementRef.nativeElement.focus(s)}},{key:"_stringLabel",value:function(){return this.label instanceof m2?null:this.label}},{key:"_templateLabel",value:function(){return this.label instanceof m2?this.label:null}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_getIconContext",value:function(){return{index:this.index,active:this.active,optional:this.optional}}},{key:"_getDefaultTextForState",value:function(a){return"number"==a?"".concat(this.index+1):"edit"==a?"create":"error"==a?"warning":a}}]),i}(Nce);return n.\u0275fac=function(t){return new(t||n)(e.Y36(v2),e.Y36(Ti.tE),e.Y36(e.SBq),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[e.qOj],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],["class","mat-step-text-label",4,"ngIf"],["class","mat-step-optional",4,"ngIf"],["class","mat-step-sub-label-error",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(t,i){1&t&&(e._UZ(0,"div",0),e.TgZ(1,"div"),e.TgZ(2,"div",1),e.YNc(3,mce,1,2,"ng-container",2),e.YNc(4,_ce,3,2,"ng-container",3),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.YNc(6,yce,2,1,"div",5),e.YNc(7,bce,2,1,"div",5),e.YNc(8,Cce,2,1,"div",6),e.YNc(9,Sce,2,1,"div",7),e.qZA()),2&t&&(e.Q6J("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disableRipple),e.xp6(1),e.Gre("mat-step-icon-state-",i.state," mat-step-icon"),e.ekj("mat-step-icon-selected",i.selected),e.xp6(1),e.Q6J("ngSwitch",!(!i.iconOverrides||!i.iconOverrides[i.state])),e.xp6(1),e.Q6J("ngSwitchCase",!0),e.xp6(2),e.ekj("mat-step-label-active",i.active)("mat-step-label-selected",i.selected)("mat-step-label-error","error"==i.state),e.xp6(1),e.Q6J("ngIf",i._templateLabel()),e.xp6(1),e.Q6J("ngIf",i._stringLabel()),e.xp6(1),e.Q6J("ngIf",i.optional&&"error"!=i.state),e.xp6(1),e.Q6J("ngIf","error"==i.state))},directives:[ln.wG,Et.RF,Et.n9,Et.ED,Et.O5,Et.tP,sr],styles:[".mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:transparent}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header.cdk-keyboard-focused,.cdk-high-contrast-active .mat-step-header.cdk-program-focused{outline:solid 3px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.mat-step-optional,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.mat-step-icon-content,.mat-step-icon .mat-icon{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),n}(),sj={horizontalStepTransition:(0,on.X$)("horizontalStepTransition",[(0,on.SB)("previous",(0,on.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,on.SB)("current",(0,on.oB)({transform:"none",visibility:"inherit"})),(0,on.SB)("next",(0,on.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,on.eR)("* => *",(0,on.jt)("500ms cubic-bezier(0.35, 0, 0.25, 1)"))]),verticalStepTransition:(0,on.X$)("verticalStepTransition",[(0,on.SB)("previous",(0,on.oB)({height:"0px",visibility:"hidden"})),(0,on.SB)("next",(0,on.oB)({height:"0px",visibility:"hidden"})),(0,on.SB)("current",(0,on.oB)({height:"*",visibility:"inherit"})),(0,on.eR)("* <=> current",(0,on.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])},Zce=function(){var n=function r(t){(0,g.Z)(this,r),this.templateRef=t};return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc))},n.\u0275dir=e.lG2({type:n,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),n}(),Lce=function(){var n=function r(t){(0,g.Z)(this,r),this._template=t};return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc))},n.\u0275dir=e.lG2({type:n,selectors:[["ng-template","matStepContent",""]]}),n}(),ly=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s,u){var p;return(0,g.Z)(this,i),(p=t.call(this,o,u))._errorStateMatcher=a,p._viewContainerRef=s,p._isSelected=as.w.EMPTY,p}return(0,k.Z)(i,[{key:"ngAfterContentInit",value:function(){var a=this;this._isSelected=this._stepper.steps.changes.pipe((0,Us.w)(function(){return a._stepper.selectionChange.pipe((0,wr.U)(function(s){return s.selectedStep===a}),(0,na.O)(a._stepper.selected===a))})).subscribe(function(s){s&&a._lazyContent&&!a._portal&&(a._portal=new qi.UE(a._lazyContent._template,a._viewContainerRef))})}},{key:"ngOnDestroy",value:function(){this._isSelected.unsubscribe()}},{key:"isErrorState",value:function(a,s){return this._errorStateMatcher.isErrorState(a,s)||!!(a&&a.invalid&&this.interacted)}}]),i}($Z);return n.\u0275fac=function(t){return new(t||n)(e.Y36((0,e.Gpc)(function(){return uy})),e.Y36(ln.rD,4),e.Y36(e.s_b),e.Y36(ij,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-step"]],contentQueries:function(t,i,o){var a;1&t&&(e.Suo(o,m2,5),e.Suo(o,Lce,5)),2&t&&(e.iGM(a=e.CRH())&&(i.stepLabel=a.first),e.iGM(a=e.CRH())&&(i._lazyContent=a.first))},inputs:{color:"color"},exportAs:["matStep"],features:[e._Bn([{provide:ln.rD,useExisting:n},{provide:$Z,useExisting:n}]),e.qOj],ngContentSelectors:wce,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(t,i){1&t&&(e.F$t(),e.YNc(0,xce,2,1,"ng-template"))},directives:[qi.Pl],encapsulation:2,changeDetection:0}),n}(),lj=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(){return(0,g.Z)(this,i),t.apply(this,arguments)}return i}(sy);return n.\u0275fac=function(){var r;return function(i){return(r||(r=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,features:[e.qOj]}),n}(),Fce=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(){return(0,g.Z)(this,i),t.apply(this,arguments)}return i}(lj);return n.\u0275fac=function(){var r;return function(i){return(r||(r=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["mat-horizontal-stepper"]],features:[e.qOj]}),n}(),Bce=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(){return(0,g.Z)(this,i),t.apply(this,arguments)}return i}(lj);return n.\u0275fac=function(){var r;return function(i){return(r||(r=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["mat-vertical-stepper"]],features:[e.qOj]}),n}(),uy=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s,u){var p;(0,g.Z)(this,i),(p=t.call(this,o,a,s,u)).steps=new e.n_E,p.animationDone=new e.vpe,p.labelPosition="end",p._iconOverrides={},p._animationDone=new On.xQ;var m=s.nativeElement.nodeName.toLowerCase();return p.orientation="mat-vertical-stepper"===m?"vertical":"horizontal",p}return(0,k.Z)(i,[{key:"ngAfterContentInit",value:function(){var a=this;(0,P.Z)((0,D.Z)(i.prototype),"ngAfterContentInit",this).call(this),this._icons.forEach(function(s){return a._iconOverrides[s.name]=s.templateRef}),this.steps.changes.pipe((0,Fr.R)(this._destroyed)).subscribe(function(){a._stateChanged()}),this._animationDone.pipe((0,mm.x)(function(s,u){return s.fromState===u.fromState&&s.toState===u.toState}),(0,Fr.R)(this._destroyed)).subscribe(function(s){"current"===s.toState&&a.animationDone.emit()})}},{key:"_stepIsNavigable",value:function(a,s){return s.completed||this.selectedIndex===a||!this.linear}}]),i}(sy);return n.\u0275fac=function(t){return new(t||n)(e.Y36(Fa.Is,8),e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(Et.K0))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(t,i,o){var a;1&t&&(e.Suo(o,ly,5),e.Suo(o,Zce,5)),2&t&&(e.iGM(a=e.CRH())&&(i._steps=a),e.iGM(a=e.CRH())&&(i._icons=a))},viewQuery:function(t,i){var o;1&t&&e.Gf(aj,5),2&t&&e.iGM(o=e.CRH())&&(i._stepHeader=o)},hostAttrs:["role","tablist"],hostVars:9,hostBindings:function(t,i){2&t&&(e.uIk("aria-orientation",i.orientation),e.ekj("mat-stepper-horizontal","horizontal"===i.orientation)("mat-stepper-vertical","vertical"===i.orientation)("mat-stepper-label-position-end","horizontal"===i.orientation&&"end"==i.labelPosition)("mat-stepper-label-position-bottom","horizontal"===i.orientation&&"bottom"==i.labelPosition))},inputs:{selectedIndex:"selectedIndex",labelPosition:"labelPosition",disableRipple:"disableRipple",color:"color"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[e._Bn([{provide:sy,useExisting:n},{provide:Fce,useExisting:n},{provide:Bce,useExisting:n}]),e.qOj],decls:5,vars:3,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],["stepTemplate",""],[1,"mat-horizontal-stepper-header-container"],[4,"ngFor","ngForOf"],[1,"mat-horizontal-content-container"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"]],template:function(t,i){1&t&&(e.ynx(0,0),e.YNc(1,Ace,5,2,"ng-container",1),e.YNc(2,Oce,2,1,"ng-container",1),e.BQk(),e.YNc(3,Pce,1,23,"ng-template",null,2,e.W1O)),2&t&&(e.Q6J("ngSwitch",i.orientation),e.xp6(1),e.Q6J("ngSwitchCase","horizontal"),e.xp6(1),e.Q6J("ngSwitchCase","vertical"))},directives:[Et.RF,Et.n9,Et.sg,Et.tP,Et.O5,aj],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content[aria-expanded=false]{height:0;overflow:hidden}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}\n'],encapsulation:2,data:{animation:[sj.horizontalStepTransition,sj.verticalStepTransition]},changeDetection:0}),n}(),Uce=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(){return(0,g.Z)(this,i),t.apply(this,arguments)}return i}(pce);return n.\u0275fac=function(){var r;return function(i){return(r||(r=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(t,i){2&t&&e.Ikx("type",i.type)},inputs:{type:"type"},features:[e.qOj]}),n}(),Hce=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(){return(0,g.Z)(this,i),t.apply(this,arguments)}return i}(fce);return n.\u0275fac=function(){var r;return function(i){return(r||(r=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(t,i){2&t&&e.Ikx("type",i.type)},inputs:{type:"type"},features:[e.qOj]}),n}(),Vce=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[Rce,ln.rD],imports:[[ln.BQ,Et.ez,qi.eL,u2,hce,UZ,ln.si],ln.BQ]}),n}();function qce(n,r){if(1&n&&(e.TgZ(0,"mat-option",32),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t.image," ")}}var uj=function(){return{standalone:!0}};function jce(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-select",31),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().selectedImage=a}),e.YNc(1,qce,2,2,"mat-option",25),e.qZA()}if(2&n){var i=e.oxw();e.Q6J("ngModelOptions",e.DdM(3,uj))("ngModel",i.selectedImage),e.xp6(1),e.Q6J("ngForOf",i.dockerImages)}}function zce(n,r){1&n&&(e.TgZ(0,"div"),e.TgZ(1,"mat-form-field",17),e._UZ(2,"input",33),e.qZA(),e.qZA())}function Wce(n,r){if(1&n&&(e.TgZ(0,"mat-option",32),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}var Gce=function(){function n(r,t,i,o,a,s,u,p,m){this.route=r,this.serverService=t,this.dockerService=i,this.toasterService=o,this.router=a,this.formBuilder=s,this.templateMocksService=u,this.configurationService=p,this.computeService=m,this.consoleTypes=[],this.isRemoteComputerChosen=!1,this.dockerImages=[],this.newImageSelected=!1,this.isGns3VmAvailable=!1,this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0,this.dockerTemplate=new XZ,this.virtualMachineForm=this.formBuilder.group({filename:new ne.NI(null,ne.kI.required)}),this.containerNameForm=this.formBuilder.group({templateName:new ne.NI(null,ne.kI.required)}),this.networkAdaptersForm=this.formBuilder.group({adapters:new ne.NI("1",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(t,10)).then(function(i){r.server=i,r.consoleTypes=r.configurationService.getConsoleTypes(),r.templateMocksService.getDockerTemplate().subscribe(function(o){r.dockerTemplate=o}),r.computeService.getComputes(i).subscribe(function(o){o.filter(function(a){return"vm"===a.compute_id}).length>0&&(r.isGns3VmAvailable=!0)}),r.dockerService.getImages(i).subscribe(function(o){r.dockerImages=o})})},n.prototype.setServerType=function(r){"gns3 vm"===r&&this.isGns3VmAvailable?(this.isGns3VmChosen=!0,this.isLocalComputerChosen=!1):(this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0)},n.prototype.setDiskImage=function(r){this.newImageSelected="newImage"===r},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","docker","templates"])},n.prototype.addTemplate=function(){var r=this;this.virtualMachineForm.invalid&&(this.newImageSelected||!this.selectedImage)||this.containerNameForm.invalid||this.networkAdaptersForm.invalid?this.toasterService.error("Fill all required fields"):(this.dockerTemplate.template_id=(0,xa.v4)(),this.dockerTemplate.image=this.newImageSelected?this.virtualMachineForm.get("filename").value:this.selectedImage.image,this.dockerTemplate.name=this.containerNameForm.get("templateName").value,this.dockerTemplate.adapters=+this.networkAdaptersForm.get("adapters").value,this.dockerTemplate.compute_id=this.isGns3VmChosen?"vm":"local",this.dockerService.addTemplate(this.server,this.dockerTemplate).subscribe(function(t){r.goBack()}))},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(uv),e.Y36(Xn),e.Y36(kr),e.Y36(ne.qu),e.Y36(ec),e.Y36(IS),e.Y36(tc.X))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-add-docker-template"]],decls:45,vars:19,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[1,"container","mat-elevation-z8"],[3,"linear"],["label","Server type",3,"completed"],[1,"radio-group"],["value","1","checked","",1,"radio-button",3,"click"],["value","2",1,"radio-button",3,"disabled","click"],["label","Docker Virtual Machine",3,"completed"],[3,"formGroup"],["value","2",1,"radio-button",3,"click"],["placeholder","Image list",3,"ngModelOptions","ngModel","ngModelChange",4,"ngIf"],[4,"ngIf"],["label","Container name",3,"completed"],[1,"form-field"],["matInput","","type","text","formControlName","templateName","placeholder","Container name",1,"templatename"],["label","Network adapters",3,"completed"],["matInput","","type","number","formControlName","adapters","placeholder","Adapters",1,"networkadapter"],["label","Start command",3,"completed"],["matInput","","type","text","placeholder","Start command",3,"ngModel","ngModelChange"],["label","Console type",3,"completed"],["placeholder","Console type",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["label","Environment"],["matInput","","type","text",3,"ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",1,"add-button",3,"click"],["placeholder","Image list",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value"],["matInput","","type","text","formControlName","filename","placeholder","Image name",1,"filename"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"New Docker container template"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"div",5),e.TgZ(7,"mat-vertical-stepper",6),e.TgZ(8,"mat-step",7),e.TgZ(9,"mat-radio-group",8),e.TgZ(10,"mat-radio-button",9),e.NdJ("click",function(){return i.setServerType("local")}),e._uU(11,"Run this Docker container locally"),e.qZA(),e.TgZ(12,"mat-radio-button",10),e.NdJ("click",function(){return i.setServerType("gns3 vm")}),e._uU(13,"Run this Docker container on the GNS3 VM"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(14,"mat-step",11),e.TgZ(15,"form",12),e.TgZ(16,"mat-radio-group",8),e.TgZ(17,"mat-radio-button",9),e.NdJ("click",function(){return i.setDiskImage("existingImage")}),e._uU(18,"Existing image"),e.qZA(),e.TgZ(19,"mat-radio-button",13),e.NdJ("click",function(){return i.setDiskImage("newImage")}),e._uU(20,"New image"),e.qZA(),e.qZA(),e.YNc(21,jce,2,4,"mat-select",14),e.YNc(22,zce,3,0,"div",15),e.qZA(),e.qZA(),e.TgZ(23,"mat-step",16),e.TgZ(24,"form",12),e.TgZ(25,"mat-form-field",17),e._UZ(26,"input",18),e.qZA(),e.qZA(),e.qZA(),e.TgZ(27,"mat-step",19),e.TgZ(28,"form",12),e.TgZ(29,"mat-form-field",17),e._UZ(30,"input",20),e.qZA(),e.qZA(),e.qZA(),e.TgZ(31,"mat-step",21),e.TgZ(32,"mat-form-field",17),e.TgZ(33,"input",22),e.NdJ("ngModelChange",function(a){return i.dockerTemplate.start_command=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(34,"mat-step",23),e.TgZ(35,"mat-select",24),e.NdJ("ngModelChange",function(a){return i.dockerTemplate.console_type=a}),e.YNc(36,Wce,2,2,"mat-option",25),e.qZA(),e.qZA(),e.TgZ(37,"mat-step",26),e.TgZ(38,"mat-form-field",17),e.TgZ(39,"textarea",27),e.NdJ("ngModelChange",function(a){return i.dockerTemplate.environment=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(40,"div",28),e.TgZ(41,"button",29),e.NdJ("click",function(){return i.goBack()}),e._uU(42,"Cancel"),e.qZA(),e.TgZ(43,"button",30),e.NdJ("click",function(){return i.addTemplate()}),e._uU(44,"Add template"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(7),e.Q6J("linear",!0),e.xp6(1),e.Q6J("completed",i.isGns3VmChosen||i.isLocalComputerChosen),e.xp6(4),e.Q6J("disabled",!i.isGns3VmAvailable),e.xp6(2),e.Q6J("completed",i.selectedImage||i.virtualMachineForm.get("filename").value),e.xp6(1),e.Q6J("formGroup",i.virtualMachineForm),e.xp6(6),e.Q6J("ngIf",!i.newImageSelected),e.xp6(1),e.Q6J("ngIf",i.newImageSelected),e.xp6(1),e.Q6J("completed",i.containerNameForm.get("templateName").value),e.xp6(1),e.Q6J("formGroup",i.containerNameForm),e.xp6(3),e.Q6J("completed",i.networkAdaptersForm.get("adapters").value),e.xp6(1),e.Q6J("formGroup",i.networkAdaptersForm),e.xp6(3),e.Q6J("completed",i.dockerTemplate.start_command),e.xp6(2),e.Q6J("ngModel",i.dockerTemplate.start_command),e.xp6(1),e.Q6J("completed",i.dockerTemplate.console_type),e.xp6(1),e.Q6J("ngModelOptions",e.DdM(18,uj))("ngModel",i.dockerTemplate.console_type),e.xp6(1),e.Q6J("ngForOf",i.consoleTypes),e.xp6(3),e.Q6J("ngModel",i.dockerTemplate.environment))},directives:[uy,ly,fl,hl,ne._Y,ne.JL,ne.sg,Et.O5,Un.KE,ur,ne.Fj,ne.JJ,ne.u,ne.wV,ne.On,pi.gD,Et.sg,Mn,ln.ey],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}(),Yce=function(){function n(r,t,i,o,a,s){this.route=r,this.serverService=t,this.dockerService=i,this.toasterService=o,this.router=a,this.formBuilder=s,this.templateName="",this.templateNameForm=this.formBuilder.group({templateName:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id"),i=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(t,10)).then(function(o){r.server=o,r.dockerService.getTemplate(r.server,i).subscribe(function(a){r.dockerTemplate=a,r.templateName="Copy of "+r.dockerTemplate.name})})},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","docker","templates"])},n.prototype.addTemplate=function(){var r=this;this.templateNameForm.invalid?this.toasterService.error("Fill all required fields"):(this.dockerTemplate.template_id=(0,xa.v4)(),this.dockerTemplate.name=this.templateName,this.dockerService.addTemplate(this.server,this.dockerTemplate).subscribe(function(t){r.goBack()}))},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(uv),e.Y36(Xn),e.Y36(kr),e.Y36(ne.qu))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-copy-docker-template"]],decls:15,vars:2,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[1,"container","mat-elevation-z8"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","placeholder","Name","formControlName","templateName",3,"ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Copy Docker container template"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"div",5),e.TgZ(7,"form",6),e.TgZ(8,"mat-form-field",7),e.TgZ(9,"input",8),e.NdJ("ngModelChange",function(a){return i.templateName=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(10,"div",9),e.TgZ(11,"button",10),e.NdJ("click",function(){return i.goBack()}),e._uU(12,"Cancel"),e.qZA(),e.TgZ(13,"button",11),e.NdJ("click",function(){return i.addTemplate()}),e._uU(14,"Copy template"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(7),e.Q6J("formGroup",i.templateNameForm),e.xp6(2),e.Q6J("ngModel",i.templateName))},directives:[ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,Mn],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}(),cj=f(96798),Jce=["input"],Qce=function(r){return{enterDuration:r}},Kce=["*"],Xce=new e.OlP("mat-checkbox-default-options",{providedIn:"root",factory:dj});function dj(){return{color:"accent",clickAction:"check-indeterminate"}}var $ce=0,pj=dj(),ede={provide:ne.JU,useExisting:(0,e.Gpc)(function(){return Zo}),multi:!0},tde=function n(){(0,g.Z)(this,n)},nde=(0,ln.sb)((0,ln.pj)((0,ln.Kr)((0,ln.Id)(function(){return function n(r){(0,g.Z)(this,n),this._elementRef=r}}())))),Zo=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s,u,p,m,b){var I;return(0,g.Z)(this,i),(I=t.call(this,o))._changeDetectorRef=a,I._focusMonitor=s,I._ngZone=u,I._animationMode=m,I._options=b,I.ariaLabel="",I.ariaLabelledby=null,I._uniqueId="mat-checkbox-".concat(++$ce),I.id=I._uniqueId,I.labelPosition="after",I.name=null,I.change=new e.vpe,I.indeterminateChange=new e.vpe,I._onTouched=function(){},I._currentAnimationClass="",I._currentCheckState=0,I._controlValueAccessorChangeFn=function(){},I._checked=!1,I._disabled=!1,I._indeterminate=!1,I._options=I._options||pj,I.color=I.defaultColor=I._options.color||pj.color,I.tabIndex=parseInt(p)||0,I}return(0,k.Z)(i,[{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"required",get:function(){return this._required},set:function(a){this._required=(0,Dn.Ig)(a)}},{key:"ngAfterViewInit",value:function(){var a=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(s){s||Promise.resolve().then(function(){a._onTouched(),a._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}},{key:"ngAfterViewChecked",value:function(){}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"checked",get:function(){return this._checked},set:function(a){a!=this.checked&&(this._checked=a,this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(a){var s=(0,Dn.Ig)(a);s!==this.disabled&&(this._disabled=s,this._changeDetectorRef.markForCheck())}},{key:"indeterminate",get:function(){return this._indeterminate},set:function(a){var s=a!=this._indeterminate;this._indeterminate=(0,Dn.Ig)(a),s&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onLabelTextChange",value:function(){this._changeDetectorRef.detectChanges()}},{key:"writeValue",value:function(a){this.checked=!!a}},{key:"registerOnChange",value:function(a){this._controlValueAccessorChangeFn=a}},{key:"registerOnTouched",value:function(a){this._onTouched=a}},{key:"setDisabledState",value:function(a){this.disabled=a}},{key:"_getAriaChecked",value:function(){return this.checked?"true":this.indeterminate?"mixed":"false"}},{key:"_transitionCheckState",value:function(a){var s=this._currentCheckState,u=this._elementRef.nativeElement;if(s!==a&&(this._currentAnimationClass.length>0&&u.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(s,a),this._currentCheckState=a,this._currentAnimationClass.length>0)){u.classList.add(this._currentAnimationClass);var p=this._currentAnimationClass;this._ngZone.runOutsideAngular(function(){setTimeout(function(){u.classList.remove(p)},1e3)})}}},{key:"_emitChangeEvent",value:function(){var a=new tde;a.source=this,a.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(a),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}},{key:"toggle",value:function(){this.checked=!this.checked}},{key:"_onInputClick",value:function(a){var u,s=this,p=null===(u=this._options)||void 0===u?void 0:u.clickAction;a.stopPropagation(),this.disabled||"noop"===p?!this.disabled&&"noop"===p&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==p&&Promise.resolve().then(function(){s._indeterminate=!1,s.indeterminateChange.emit(s._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}},{key:"focus",value:function(a,s){a?this._focusMonitor.focusVia(this._inputElement,a,s):this._inputElement.nativeElement.focus(s)}},{key:"_onInteractionEvent",value:function(a){a.stopPropagation()}},{key:"_getAnimationClassForCheckStateTransition",value:function(a,s){if("NoopAnimations"===this._animationMode)return"";var u="";switch(a){case 0:if(1===s)u="unchecked-checked";else{if(3!=s)return"";u="unchecked-indeterminate"}break;case 2:u=1===s?"unchecked-checked":"unchecked-indeterminate";break;case 1:u=2===s?"checked-unchecked":"checked-indeterminate";break;case 3:u=1===s?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-".concat(u)}},{key:"_syncIndeterminate",value:function(a){var s=this._inputElement;s&&(s.nativeElement.indeterminate=a)}}]),i}(nde);return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(Ti.tE),e.Y36(e.R0b),e.$8M("tabindex"),e.Y36(_s.Qb,8),e.Y36(Xce,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-checkbox"]],viewQuery:function(t,i){var o;1&t&&(e.Gf(Jce,5),e.Gf(ln.wG,5)),2&t&&(e.iGM(o=e.CRH())&&(i._inputElement=o.first),e.iGM(o=e.CRH())&&(i.ripple=o.first))},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,i){2&t&&(e.Ikx("id",i.id),e.uIk("tabindex",null),e.ekj("mat-checkbox-indeterminate",i.indeterminate)("mat-checkbox-checked",i.checked)("mat-checkbox-disabled",i.disabled)("mat-checkbox-label-before","before"==i.labelPosition)("_mat-animation-noopable","NoopAnimations"===i._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[e._Bn([ede]),e.qOj],ngContentSelectors:Kce,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(t,i){if(1&t&&(e.F$t(),e.TgZ(0,"label",0,1),e.TgZ(2,"span",2),e.TgZ(3,"input",3,4),e.NdJ("change",function(u){return i._onInteractionEvent(u)})("click",function(u){return i._onInputClick(u)}),e.qZA(),e.TgZ(5,"span",5),e._UZ(6,"span",6),e.qZA(),e._UZ(7,"span",7),e.TgZ(8,"span",8),e.O4$(),e.TgZ(9,"svg",9),e._UZ(10,"path",10),e.qZA(),e.kcU(),e._UZ(11,"span",11),e.qZA(),e.qZA(),e.TgZ(12,"span",12,13),e.NdJ("cdkObserveContent",function(){return i._onLabelTextChange()}),e.TgZ(14,"span",14),e._uU(15,"\xa0"),e.qZA(),e.Hsn(16),e.qZA(),e.qZA()),2&t){var o=e.MAs(1),a=e.MAs(13);e.uIk("for",i.inputId),e.xp6(2),e.ekj("mat-checkbox-inner-container-no-side-margin",!a.textContent||!a.textContent.trim()),e.xp6(1),e.Q6J("id",i.inputId)("required",i.required)("checked",i.checked)("disabled",i.disabled)("tabIndex",i.tabIndex),e.uIk("value",i.value)("name",i.name)("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby)("aria-checked",i._getAriaChecked())("aria-describedby",i.ariaDescribedby),e.xp6(2),e.Q6J("matRippleTrigger",o)("matRippleDisabled",i._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",e.VKq(19,Qce,"NoopAnimations"===i._animationMode?0:150))}},directives:[ln.wG,cj.wD],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}\n"],encapsulation:2,changeDetection:0}),n}(),fj=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({}),n}(),ode=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[ln.si,ln.BQ,cj.Q8,fj],ln.BQ,fj]}),n}();function ade(n,r){if(1&n&&(e.TgZ(0,"mat-option",27),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}function sde(n,r){if(1&n&&(e.TgZ(0,"mat-option",27),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function lde(n,r){if(1&n&&(e.TgZ(0,"mat-option",27),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}var cv=function(){return{standalone:!0}};function ude(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",6),e.TgZ(1,"mat-accordion"),e.TgZ(2,"mat-expansion-panel"),e.TgZ(3,"mat-expansion-panel-header"),e.TgZ(4,"mat-panel-title"),e._uU(5," General settings "),e.qZA(),e.qZA(),e.TgZ(6,"form",7),e.TgZ(7,"mat-form-field",8),e.TgZ(8,"input",9),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().dockerTemplate.name=a}),e.qZA(),e.qZA(),e.TgZ(9,"mat-form-field",8),e.TgZ(10,"input",10),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().dockerTemplate.default_name_format=a}),e.qZA(),e.qZA(),e.TgZ(11,"mat-form-field",8),e.TgZ(12,"mat-select",11),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().dockerTemplate.category=a}),e.YNc(13,ade,2,2,"mat-option",12),e.qZA(),e.qZA(),e.TgZ(14,"mat-form-field",8),e.TgZ(15,"input",13),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().dockerTemplate.symbol=a}),e.qZA(),e.qZA(),e.TgZ(16,"button",14),e.NdJ("click",function(){return e.CHM(t),e.oxw().chooseSymbol()}),e._uU(17,"Choose symbol"),e.qZA(),e._UZ(18,"br"),e._UZ(19,"br"),e.TgZ(20,"mat-form-field",8),e.TgZ(21,"input",15),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().dockerTemplate.start_command=a}),e.qZA(),e.qZA(),e.TgZ(22,"mat-form-field",8),e.TgZ(23,"input",16),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().dockerTemplate.adapters=a}),e.qZA(),e.qZA(),e.TgZ(24,"mat-form-field",17),e.TgZ(25,"mat-select",18),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().dockerTemplate.console_type=a}),e.YNc(26,sde,2,2,"mat-option",12),e.qZA(),e.qZA(),e.TgZ(27,"mat-checkbox",19),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().dockerTemplate.console_auto_start=a}),e._uU(28," Auto start console "),e.qZA(),e.TgZ(29,"mat-form-field",17),e.TgZ(30,"mat-select",20),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().dockerTemplate.console_resolution=a}),e.YNc(31,lde,2,2,"mat-option",12),e.qZA(),e.qZA(),e.TgZ(32,"mat-form-field",8),e.TgZ(33,"input",21),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().dockerTemplate.console_http_port=a}),e.qZA(),e.qZA(),e.TgZ(34,"mat-form-field",8),e.TgZ(35,"input",22),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().dockerTemplate.console_http_path=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(36,"h6"),e._uU(37,"Environment"),e.qZA(),e.TgZ(38,"mat-form-field",8),e.TgZ(39,"textarea",23),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().dockerTemplate.environment=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(40,"mat-expansion-panel"),e.TgZ(41,"mat-expansion-panel-header"),e.TgZ(42,"mat-panel-title"),e._uU(43," Advanced "),e.qZA(),e.qZA(),e.TgZ(44,"h6"),e._uU(45,"Extra hosts"),e.qZA(),e.TgZ(46,"mat-form-field",8),e.TgZ(47,"textarea",23),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().dockerTemplate.extra_hosts=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(48,"mat-expansion-panel"),e.TgZ(49,"mat-expansion-panel-header"),e.TgZ(50,"mat-panel-title"),e._uU(51," Usage "),e.qZA(),e.qZA(),e.TgZ(52,"mat-form-field",8),e.TgZ(53,"textarea",23),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().dockerTemplate.usage=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(54,"div",24),e.TgZ(55,"button",25),e.NdJ("click",function(){return e.CHM(t),e.oxw().goBack()}),e._uU(56,"Cancel"),e.qZA(),e.TgZ(57,"button",26),e.NdJ("click",function(){return e.CHM(t),e.oxw().onSave()}),e._uU(58,"Save"),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(6),e.Q6J("formGroup",i.generalSettingsForm),e.xp6(2),e.Q6J("ngModel",i.dockerTemplate.name),e.xp6(2),e.Q6J("ngModel",i.dockerTemplate.default_name_format),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(25,cv))("ngModel",i.dockerTemplate.category),e.xp6(1),e.Q6J("ngForOf",i.categories),e.xp6(2),e.Q6J("ngModel",i.dockerTemplate.symbol),e.xp6(6),e.Q6J("ngModelOptions",e.DdM(26,cv))("ngModel",i.dockerTemplate.start_command),e.xp6(2),e.Q6J("ngModel",i.dockerTemplate.adapters),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(27,cv))("ngModel",i.dockerTemplate.console_type),e.xp6(1),e.Q6J("ngForOf",i.consoleTypes),e.xp6(1),e.Q6J("ngModelOptions",e.DdM(28,cv))("ngModel",i.dockerTemplate.console_auto_start),e.xp6(3),e.Q6J("ngModelOptions",e.DdM(29,cv))("ngModel",i.dockerTemplate.console_resolution),e.xp6(1),e.Q6J("ngForOf",i.consoleResolutions),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(30,cv))("ngModel",i.dockerTemplate.console_http_port),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(31,cv))("ngModel",i.dockerTemplate.console_http_path),e.xp6(4),e.Q6J("ngModel",i.dockerTemplate.environment),e.xp6(8),e.Q6J("ngModel",i.dockerTemplate.extra_hosts),e.xp6(6),e.Q6J("ngModel",i.dockerTemplate.usage)}}function cde(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"app-symbols-menu",28),e.NdJ("symbolChangedEmitter",function(a){return e.CHM(t),e.oxw().symbolChanged(a)}),e.qZA()}if(2&n){var i=e.oxw();e.Q6J("server",i.server)("symbol",i.dockerTemplate.symbol)}}var dde=function(n){return{shadowed:n}},pde=function(){function n(r,t,i,o,a,s,u){this.route=r,this.serverService=t,this.dockerService=i,this.toasterService=o,this.configurationService=a,this.formBuilder=s,this.router=u,this.isSymbolSelectionOpened=!1,this.consoleTypes=[],this.consoleResolutions=[],this.categories=[],this.adapters=[],this.displayedColumns=["adapter_number","port_name"],this.generalSettingsForm=this.formBuilder.group({templateName:new ne.NI("",ne.kI.required),defaultName:new ne.NI("",ne.kI.required),adapter:new ne.NI("",ne.kI.required),symbol:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id"),i=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(t,10)).then(function(o){r.server=o,r.getConfiguration(),r.dockerService.getTemplate(r.server,i).subscribe(function(a){r.dockerTemplate=a})})},n.prototype.getConfiguration=function(){this.consoleTypes=this.configurationService.getConsoleTypes(),this.categories=this.configurationService.getCategories(),this.consoleResolutions=this.configurationService.getConsoleResolutions()},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","docker","templates"])},n.prototype.onSave=function(){var r=this;this.generalSettingsForm.invalid?this.toasterService.error("Fill all required fields"):this.dockerService.saveTemplate(this.server,this.dockerTemplate).subscribe(function(t){r.toasterService.success("Changes saved")})},n.prototype.chooseSymbol=function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened},n.prototype.symbolChanged=function(r){this.dockerTemplate.symbol=r},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(uv),e.Y36(Xn),e.Y36(IS),e.Y36(ne.qu),e.Y36(kr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-docker-template-details"]],decls:7,vars:5,consts:[[1,"content",3,"ngClass"],[1,"default-header"],[1,"row"],[1,"col"],["class","default-content",4,"ngIf"],[3,"server","symbol","symbolChangedEmitter",4,"ngIf"],[1,"default-content"],[3,"formGroup"],[1,"form-field"],["formControlName","templateName","matInput","","type","text","placeholder","Template name",3,"ngModel","ngModelChange"],["formControlName","defaultName","matInput","","type","text","placeholder","Default name format",3,"ngModel","ngModelChange"],["placeholder","Category",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["formControlName","symbol","matInput","","type","text","placeholder","Symbol",3,"ngModel","ngModelChange"],["mat-button","",1,"symbolSelectionButton",3,"click"],["matInput","","type","text","placeholder","Start command",3,"ngModelOptions","ngModel","ngModelChange"],["formControlName","adapter","matInput","","type","number","placeholder","Adapters",3,"ngModel","ngModelChange"],[1,"select"],["placeholder","Console type",3,"ngModelOptions","ngModel","ngModelChange"],[3,"ngModelOptions","ngModel","ngModelChange"],["placeholder","VNC console resolution",3,"ngModelOptions","ngModel","ngModelChange"],["matInput","","type","number","placeholder","HTTP port in the container",3,"ngModelOptions","ngModel","ngModelChange"],["matInput","","type","text","placeholder","HTTP path",3,"ngModelOptions","ngModel","ngModelChange"],["matInput","","type","text",3,"ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[3,"server","symbol","symbolChangedEmitter"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Docker image configuration"),e.qZA(),e.qZA(),e.qZA(),e.YNc(5,ude,59,32,"div",4),e.qZA(),e.YNc(6,cde,1,2,"app-symbols-menu",5)),2&t&&(e.Q6J("ngClass",e.VKq(3,dde,i.isSymbolSelectionOpened)),e.xp6(5),e.Q6J("ngIf",i.dockerTemplate),e.xp6(1),e.Q6J("ngIf",i.isSymbolSelectionOpened&&i.dockerTemplate))},directives:[Et.mk,Et.O5,od,Xu,$u,id,ne._Y,ne.JL,ne.sg,Un.KE,ne.Fj,ur,ne.JJ,ne.u,pi.gD,ne.On,Et.sg,Mn,ne.wV,Zo,ln.ey,sd],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}();function fde(n,r){if(1&n&&(e.TgZ(0,"button",10),e._uU(1," Back "),e.qZA()),2&n){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences")}}function hde(n,r){if(1&n&&(e.TgZ(0,"button",11),e._uU(1," Add Docker container template "),e.qZA()),2&n){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences/docker/addtemplate")}}function mde(n,r){1&n&&e._UZ(0,"app-empty-templates-list")}function vde(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",15),e.TgZ(1,"mat-list-item",16),e._uU(2),e.qZA(),e.TgZ(3,"button",17),e.TgZ(4,"mat-icon"),e._uU(5,"more_vert"),e.qZA(),e.qZA(),e.TgZ(6,"mat-menu",null,18),e.TgZ(8,"button",19),e.NdJ("click",function(){var u=e.CHM(t).$implicit;return e.oxw(3).deleteTemplate(u)}),e.TgZ(9,"mat-icon"),e._uU(10,"delete"),e.qZA(),e.TgZ(11,"span"),e._uU(12,"Delete"),e.qZA(),e.qZA(),e.TgZ(13,"button",19),e.NdJ("click",function(){var u=e.CHM(t).$implicit;return e.oxw(3).copyTemplate(u)}),e.TgZ(14,"mat-icon"),e._uU(15,"content_copy"),e.qZA(),e.TgZ(16,"span"),e._uU(17,"Copy"),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=r.$implicit,o=e.MAs(7);e.xp6(1),e.s9C("routerLink",i.template_id),e.xp6(1),e.Oqu(i.name),e.xp6(1),e.Q6J("matMenuTriggerFor",o)}}function gde(n,r){if(1&n&&(e.TgZ(0,"mat-nav-list"),e.YNc(1,vde,18,3,"div",14),e.qZA()),2&n){var t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.dockerTemplates)}}function _de(n,r){if(1&n&&(e.TgZ(0,"div",12),e.TgZ(1,"div",13),e.YNc(2,gde,2,1,"mat-nav-list",6),e.qZA(),e.qZA()),2&n){var t=e.oxw();e.xp6(2),e.Q6J("ngIf",t.server)}}var yde=function(){function n(r,t,i,o){this.route=r,this.serverService=t,this.dockerService=i,this.router=o,this.dockerTemplates=[]}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(t,10)).then(function(i){r.server=i,r.getTemplates()})},n.prototype.getTemplates=function(){var r=this;this.dockerService.getTemplates(this.server).subscribe(function(t){r.dockerTemplates=t.filter(function(i){return"docker"===i.template_type&&!i.builtin})})},n.prototype.deleteTemplate=function(r){this.deleteComponent.deleteItem(r.name,r.template_id)},n.prototype.onDeleteEvent=function(){this.getTemplates()},n.prototype.copyTemplate=function(r){this.router.navigate(["/server",this.server.id,"preferences","docker","templates",r.template_id,"copy"])},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(uv),e.Y36(kr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-docker-templates"]],viewQuery:function(t,i){var o;(1&t&&e.Gf(wa,5),2&t)&&(e.iGM(o=e.CRH())&&(i.deleteComponent=o.first))},decls:11,vars:5,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],["class","top-button","class","cancel-button","mat-button","",3,"routerLink",4,"ngIf"],["class","top-button","mat-raised-button","","color","primary",3,"routerLink",4,"ngIf"],[4,"ngIf"],["class","default-content",4,"ngIf"],[3,"server","deleteEvent"],["deleteComponent",""],["mat-button","",1,"cancel-button",3,"routerLink"],["mat-raised-button","","color","primary",1,"top-button",3,"routerLink"],[1,"default-content"],[1,"listcontainer","mat-elevation-z8"],["class","list-item",4,"ngFor","ngForOf"],[1,"list-item"],[1,"template-name",3,"routerLink"],["mat-button","",1,"menu-button",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Docker container templates"),e.qZA(),e.YNc(5,fde,2,1,"button",4),e.YNc(6,hde,2,1,"button",5),e.qZA(),e.qZA(),e.YNc(7,mde,1,0,"app-empty-templates-list",6),e.YNc(8,_de,3,1,"div",7),e.qZA(),e.TgZ(9,"app-delete-template",8,9),e.NdJ("deleteEvent",function(){return i.onDeleteEvent()}),e.qZA()),2&t&&(e.xp6(5),e.Q6J("ngIf",i.server),e.xp6(1),e.Q6J("ngIf",i.server),e.xp6(1),e.Q6J("ngIf",!i.dockerTemplates.length),e.xp6(1),e.Q6J("ngIf",i.dockerTemplates.length),e.xp6(1),e.Q6J("server",i.server))},directives:[Et.O5,wa,Mn,fa,ud,ku,Et.sg,Cs,Qa,sr,Ss,Zr],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}(),eL=function(){return function(){}}(),dv=function(){function n(r){this.httpServer=r}return n.prototype.getImages=function(r){return this.httpServer.get(r,"/compute/dynamips/images")},n.prototype.getImagePath=function(r,t){return r.protocol+"//"+r.host+":"+r.port+"/v2/compute/dynamips/images/"+t},n.prototype.getTemplates=function(r){return this.httpServer.get(r,"/templates")},n.prototype.getTemplate=function(r,t){return this.httpServer.get(r,"/templates/"+t)},n.prototype.addTemplate=function(r,t){return this.httpServer.post(r,"/templates",t)},n.prototype.saveTemplate=function(r,t){return this.httpServer.put(r,"/templates/"+t.template_id,t)},n.\u0275fac=function(t){return new(t||n)(e.LFG(Yo.wh))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),g2=function(){function n(){this.c1700_wics=["WIC-1T","WIC-2T","WIC-1ENET"],this.c2600_wics=["WIC-1T","WIC-2T"],this.c3700_wics=["WIC-1T","WIC-2T"],this.c2600_nms=["NM-1FE-TX","NM-1E","NM-4E","NM-16ESW"],this.c3600_nms=["NM-1FE-TX","NM-1E","NM-4E","NM-16ESW","NM-4T"],this.c3700_nms=["NM-1FE-TX","NM-4T","NM-16ESW"],this.c7200_pas=["PA-A1","PA-FE-TX","PA-2FE-TX","PA-GE","PA-4T+","PA-8T","PA-4E","PA-8E","PA-POS-OC3"],this.c7200_io=["C7200-IO-FE","C7200-IO-2FE","C7200-IO-GE-E"]}return n.prototype.getConsoleTypes=function(){return["telnet","none"]},n.prototype.getDefaultRamSettings=function(){return{c1700:160,c2600:160,c2691:192,c3600:192,c3725:128,c3745:256,c7200:512}},n.prototype.getDefaultNvRamSettings=function(){return{c1700:128,c2600:128,c2691:256,c3600:192,c3620:192,c3640:192,c3660:192,c3725:256,c3745:256,c7200:512}},n.prototype.getAvailablePlatforms=function(){return["c1700","c2600","c2691","c3725","c3745","c3600","c7200"]},n.prototype.getPlatformsWithEtherSwitchRouterOption=function(){return{c1700:!1,c2600:!0,c2691:!0,c3725:!0,c3745:!0,c3600:!0,c7200:!1}},n.prototype.getPlatformsWithChassis=function(){return{c1700:!0,c2600:!0,c2691:!1,c3725:!1,c3745:!1,c3600:!0,c7200:!1}},n.prototype.getChassis=function(){return{c1700:["1720","1721","1750","1751","1760"],c2600:["2610","2611","2620","2621","2610XM","2611XM","2620XM","2621XM","2650XM","2651XM"],c3600:["3620","3640","3660"]}},n.prototype.getNetworkModules=function(){return{c1700:{0:this.c1700_wics,1:this.c1700_wics},c2600:{0:this.c2600_wics,1:this.c2600_wics,2:this.c2600_wics},c2691:{0:this.c3700_wics,1:this.c3700_wics,2:this.c3700_wics},c3725:{0:this.c3700_wics,1:this.c3700_wics,2:this.c3700_wics},c3745:{0:this.c3700_wics,1:this.c3700_wics,2:this.c3700_wics}}},n.prototype.getNetworkAdapters=function(){return{1720:{0:["C1700-MB-1FE"]},1721:{0:["C1700-MB-1FE"]},1750:{0:["C1700-MB-1FE"]},1751:{0:["C1700-MB-1FE"],1:["C1700-MB-WIC1"]},1760:{0:["C1700-MB-1FE"],1:["C1700-MB-WIC1"]},2610:{0:["C2600-MB-1E"],1:this.c2600_nms},2611:{0:["C2600-MB-2E"],1:this.c2600_nms},2620:{0:["C2600-MB-1FE"],1:this.c2600_nms},2621:{0:["C2600-MB-2FE"],1:this.c2600_nms},"2610XM":{0:["C2600-MB-1FE"],1:this.c2600_nms},"2611XM":{0:["C2600-MB-2FE"],1:this.c2600_nms},"2620XM":{0:["C2600-MB-1FE"],1:this.c2600_nms},"2621XM":{0:["C2600-MB-2FE"],1:this.c2600_nms},"2650XM":{0:["C2600-MB-1FE"],1:this.c2600_nms},"2651XM":{0:["C2600-MB-2FE"],1:this.c2600_nms},3620:{0:this.c3600_nms,1:this.c3600_nms},3640:{0:this.c3600_nms,1:this.c3600_nms,2:this.c3600_nms,3:this.c3600_nms},3660:{0:["Leopard-2FE"],1:this.c3600_nms,2:this.c3600_nms,3:this.c3600_nms,4:this.c3600_nms,5:this.c3600_nms,6:this.c3600_nms}}},n.prototype.getNetworkAdaptersForPlatform=function(){var r={};return r.c2691={0:["GT96100-FE"],1:this.c3700_nms},r.c3725={0:["GT96100-FE"],1:this.c3700_nms,2:this.c3700_nms},r.c3745={0:["GT96100-FE"],1:this.c3700_nms,2:this.c3700_nms,3:this.c3700_nms,4:this.c3700_nms},r.c7200={0:this.c7200_io,1:this.c7200_pas,2:this.c7200_pas,3:this.c7200_pas,4:this.c7200_pas,5:this.c7200_pas,6:this.c7200_pas},{c2691:{0:["GT96100-FE"],1:this.c3700_nms},c3725:{0:["GT96100-FE"],1:this.c3700_nms,2:this.c3700_nms},c3745:{0:["GT96100-FE"],1:this.c3700_nms,2:this.c3700_nms,3:this.c3700_nms,4:this.c3700_nms},c7200:{0:this.c7200_io,1:this.c7200_pas,2:this.c7200_pas,3:this.c7200_pas,4:this.c7200_pas,5:this.c7200_pas,6:this.c7200_pas}}},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}();function bde(n,r){if(1&n&&(e.TgZ(0,"mat-option",36),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t.filename),e.xp6(1),e.hij(" ",t.filename," ")}}function Cde(n,r){if(1&n&&(e.TgZ(0,"mat-option",36),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Sde(n,r){if(1&n&&(e.TgZ(0,"mat-option",36),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Tde(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-form-field",17),e.TgZ(1,"mat-select",37),e.NdJ("selectionChange",function(a){return e.CHM(t),e.oxw(2).onChassisChosen(a)}),e.YNc(2,Sde,2,2,"mat-option",19),e.qZA(),e.qZA()}if(2&n){var i=e.oxw(2);e.xp6(2),e.Q6J("ngForOf",i.chassis[i.iosNameForm.get("platform").value])}}function xde(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-checkbox",38),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw(2).isEtherSwitchRouter=a}),e._uU(1," This is an EtherSwitch router "),e.qZA()}if(2&n){var i=e.oxw(2);e.Q6J("ngModel",i.isEtherSwitchRouter)}}function wde(n,r){if(1&n&&(e.TgZ(0,"mat-option",36),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}var hj=function(){return{standalone:!0}};function kde(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-select",41),e.NdJ("ngModelChange",function(s){e.CHM(t);var u=e.oxw().$implicit;return e.oxw(3).networkAdaptersForTemplate[u]=s}),e.YNc(1,wde,2,2,"mat-option",19),e.qZA()}if(2&n){var i=e.oxw().$implicit,o=e.oxw(3);e.MGl("placeholder","Slot ",i,""),e.Q6J("ngModel",o.networkAdaptersForTemplate[i])("ngModelOptions",e.DdM(4,hj)),e.xp6(1),e.Q6J("ngForOf",o.networkAdaptersForPlatform[o.iosNameForm.get("platform").value][i])}}function Ede(n,r){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,kde,2,5,"mat-select",40),e.qZA()),2&n){var t=r.$implicit,i=e.oxw(3);e.xp6(1),e.Q6J("ngIf",i.networkAdaptersForPlatform[i.iosNameForm.get("platform").value]&&i.networkAdaptersForPlatform[i.iosNameForm.get("platform").value][t])}}var Mde=function(){return[0,1,2,3,4,5,6,7]};function Ade(n,r){1&n&&(e.TgZ(0,"div"),e.YNc(1,Ede,2,1,"div",39),e.qZA()),2&n&&(e.xp6(1),e.Q6J("ngForOf",e.DdM(1,Mde)))}function Dde(n,r){if(1&n&&(e.TgZ(0,"mat-option",36),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Ode(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-select",41),e.NdJ("ngModelChange",function(s){e.CHM(t);var u=e.oxw().$implicit;return e.oxw(3).networkModulesForTemplate[u]=s}),e.YNc(1,Dde,2,2,"mat-option",19),e.qZA()}if(2&n){var i=e.oxw().$implicit,o=e.oxw(3);e.MGl("placeholder","WIC ",i,""),e.Q6J("ngModel",o.networkModulesForTemplate[i])("ngModelOptions",e.DdM(4,hj)),e.xp6(1),e.Q6J("ngForOf",o.networkModules[o.iosNameForm.get("platform").value][i])}}function Pde(n,r){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,Ode,2,5,"mat-select",40),e.qZA()),2&n){var t=r.$implicit,i=e.oxw(3);e.xp6(1),e.Q6J("ngIf",i.networkModules[i.iosNameForm.get("platform").value]&&i.networkModules[i.iosNameForm.get("platform").value][t])}}var Ide=function(){return[0,1,2,3]};function Rde(n,r){1&n&&(e.TgZ(0,"div"),e.YNc(1,Pde,2,1,"div",39),e.qZA()),2&n&&(e.xp6(1),e.Q6J("ngForOf",e.DdM(1,Ide)))}function Nde(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",5),e.TgZ(1,"div",6),e.TgZ(2,"mat-vertical-stepper",7),e.TgZ(3,"mat-step",8),e.TgZ(4,"mat-radio-group",9),e.TgZ(5,"mat-radio-button",10),e.NdJ("click",function(){return e.CHM(t),e.oxw().setServerType("local")}),e._uU(6,"Run this IOS router locally"),e.qZA(),e.TgZ(7,"mat-radio-button",11),e.NdJ("click",function(){return e.CHM(t),e.oxw().setServerType("gns3 vm")}),e._uU(8,"Run this IOS router on the GNS3 VM"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(9,"mat-step",12),e.TgZ(10,"input",13,14),e.NdJ("change",function(a){return e.CHM(t),e.oxw().addImage(a)}),e.qZA(),e.TgZ(12,"button",15),e.NdJ("click",function(){return e.CHM(t),e.MAs(11).click()}),e._uU(13,"Click to add image"),e.qZA(),e._uU(14," or create from existing one "),e.TgZ(15,"form",16),e.TgZ(16,"mat-form-field",17),e.TgZ(17,"mat-select",18),e.NdJ("selectionChange",function(a){return e.CHM(t),e.oxw().onImageChosen(a)}),e.YNc(18,bde,2,2,"mat-option",19),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(19,"mat-step",20),e.TgZ(20,"form",16),e.TgZ(21,"mat-form-field",17),e._UZ(22,"input",21),e.qZA(),e.TgZ(23,"mat-form-field",17),e.TgZ(24,"mat-select",22),e.NdJ("selectionChange",function(a){return e.CHM(t),e.oxw().onPlatformChosen(a)}),e.YNc(25,Cde,2,2,"mat-option",19),e.qZA(),e.qZA(),e.YNc(26,Tde,3,1,"mat-form-field",23),e.qZA(),e.YNc(27,xde,2,1,"mat-checkbox",24),e.qZA(),e.TgZ(28,"mat-step",25),e.TgZ(29,"form",16),e.TgZ(30,"mat-form-field",17),e._UZ(31,"input",26),e.TgZ(32,"span",27),e._uU(33,"MB"),e.qZA(),e.qZA(),e.TgZ(34,"mat-label"),e.TgZ(35,"a",28),e._uU(36,"Check for minimum and maximum RAM requirement"),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(37,"mat-step",29),e.YNc(38,Ade,2,2,"div",30),e.qZA(),e.TgZ(39,"mat-step",31),e.YNc(40,Rde,2,2,"div",30),e.qZA(),e.TgZ(41,"mat-step",32),e.TgZ(42,"mat-form-field",17),e.TgZ(43,"input",33),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iosTemplate.idlepc=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(44,"div",34),e.TgZ(45,"button",35),e.NdJ("click",function(){return e.CHM(t),e.oxw().goBack()}),e._uU(46,"Cancel"),e.qZA(),e.TgZ(47,"button",15),e.NdJ("click",function(){return e.CHM(t),e.oxw().addTemplate()}),e._uU(48,"Add template"),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(2),e.Q6J("linear",!0),e.xp6(1),e.Q6J("completed",i.isGns3VmChosen||i.isLocalComputerChosen),e.xp6(4),e.Q6J("disabled",!i.isGns3VmAvailable),e.xp6(2),e.Q6J("completed",i.iosImageForm.get("imageName").value),e.xp6(1),e.Q6J("uploader",i.uploader),e.xp6(5),e.Q6J("formGroup",i.iosImageForm),e.xp6(3),e.Q6J("ngForOf",i.iosImages),e.xp6(1),e.Q6J("completed",i.iosNameForm.get("templateName").value&&i.iosNameForm.get("platform").value&&i.iosNameForm.get("chassis").value),e.xp6(1),e.Q6J("formGroup",i.iosNameForm),e.xp6(5),e.Q6J("ngForOf",i.platforms),e.xp6(1),e.Q6J("ngIf",i.chassis[i.iosNameForm.get("platform").value]),e.xp6(1),e.Q6J("ngIf",i.platformsWithEtherSwitchRouterOption[i.iosTemplate.platform]),e.xp6(1),e.Q6J("completed",i.iosMemoryForm.get("memory").value),e.xp6(1),e.Q6J("formGroup",i.iosMemoryForm),e.xp6(6),e.s9C("href",i.ciscoUrl,e.LSH),e.xp6(3),e.Q6J("ngIf",i.selectedPlatform),e.xp6(2),e.Q6J("ngIf",i.iosNameForm.get("platform").value),e.xp6(3),e.Q6J("ngModel",i.iosTemplate.idlepc)}}var Zde=function(){function n(r,t,i,o,a,s,u,p,m){this.route=r,this.serverService=t,this.iosService=i,this.toasterService=o,this.formBuilder=a,this.router=s,this.templateMocksService=u,this.iosConfigurationService=p,this.computeService=m,this.isEtherSwitchRouter=!1,this.networkAdaptersForTemplate=[],this.networkModulesForTemplate=[],this.iosImages=[],this.platforms=[],this.platformsWithEtherSwitchRouterOption={},this.platformsWithChassis={},this.chassis={},this.defaultRam={},this.defaultNvram={},this.networkAdapters={},this.networkAdaptersForPlatform={},this.networkModules={},this.ciscoUrl="https://cfn.cloudapps.cisco.com/ITDIT/CFN/jsp/SearchBySoftware.jsp",this.isGns3VmAvailable=!1,this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0,this.iosTemplate=new eL,this.iosImageForm=this.formBuilder.group({imageName:new ne.NI(null,[ne.kI.required])}),this.iosNameForm=this.formBuilder.group({templateName:new ne.NI(null,[ne.kI.required]),platform:new ne.NI(null,[ne.kI.required]),chassis:new ne.NI(null,[ne.kI.required])}),this.iosMemoryForm=this.formBuilder.group({memory:new ne.NI(null,[ne.kI.required])})}return n.prototype.ngOnInit=function(){var r=this;this.uploader=new tv({}),this.uploader.onAfterAddingFile=function(i){i.withCredentials=!1},this.uploader.onErrorItem=function(i,o,a,s){r.toasterService.error("An error occured: "+o)},this.uploader.onSuccessItem=function(i,o,a,s){r.getImages(),r.toasterService.success("Image uploaded")};var t=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(t,10)).then(function(i){r.server=i,r.getImages(),r.templateMocksService.getIosTemplate().subscribe(function(o){r.iosTemplate=o,r.networkModules=r.iosConfigurationService.getNetworkModules(),r.networkAdaptersForPlatform=r.iosConfigurationService.getNetworkAdaptersForPlatform(),r.networkAdapters=r.iosConfigurationService.getNetworkAdapters(),r.platforms=r.iosConfigurationService.getAvailablePlatforms(),r.platformsWithEtherSwitchRouterOption=r.iosConfigurationService.getPlatformsWithEtherSwitchRouterOption(),r.platformsWithChassis=r.iosConfigurationService.getPlatformsWithChassis(),r.chassis=r.iosConfigurationService.getChassis(),r.defaultRam=r.iosConfigurationService.getDefaultRamSettings()}),r.computeService.getComputes(i).subscribe(function(o){o.filter(function(a){return"vm"===a.compute_id}).length>0&&(r.isGns3VmAvailable=!0)})})},n.prototype.setServerType=function(r){"gns3 vm"===r&&this.isGns3VmAvailable?(this.isGns3VmChosen=!0,this.isLocalComputerChosen=!1):(this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0)},n.prototype.getImages=function(){var r=this;this.iosService.getImages(this.server).subscribe(function(t){r.iosImages=t})},n.prototype.addImage=function(r){var t=r.target.files[0].name.split("-")[0];this.iosNameForm.controls.templateName.setValue(t);var o=this.iosService.getImagePath(this.server,r.target.files[0].name);this.uploader.queue.forEach(function(s){return s.url=o});var a=this.uploader.queue[0];a.options.disableMultipart=!0,this.uploader.uploadItem(a)},n.prototype.addTemplate=function(){var r=this;!this.iosImageForm.invalid&&!this.iosMemoryForm.invalid&&this.iosNameForm.get("templateName").value&&this.iosNameForm.get("platform").value?(this.iosTemplate.template_id=(0,xa.v4)(),this.iosTemplate.image=this.iosImageForm.get("imageName").value,this.iosTemplate.name=this.iosNameForm.get("templateName").value,this.iosTemplate.platform=this.iosNameForm.get("platform").value,this.chassis[this.iosNameForm.get("platform").value]&&(this.iosTemplate.chassis=this.iosNameForm.get("chassis").value),this.iosTemplate.ram=this.iosMemoryForm.get("memory").value,this.isEtherSwitchRouter&&(this.iosTemplate.symbol=":/symbols/multilayer_switch.svg",this.iosTemplate.category="switch"),this.networkAdaptersForTemplate.length>0&&this.completeAdaptersData(),this.networkModulesForTemplate.length>0&&this.completeModulesData(),this.iosTemplate.compute_id=this.isGns3VmChosen?"vm":"local",this.iosService.addTemplate(this.server,this.iosTemplate).subscribe(function(t){r.goBack()})):this.toasterService.error("Fill all required fields")},n.prototype.completeAdaptersData=function(){if(this.chassis[this.iosTemplate.platform]){if(Object.keys(this.networkAdapters[this.iosTemplate.chassis]))for(var r=0;r<Object.keys(this.networkAdapters[this.iosTemplate.chassis]).length;r++)this.networkAdaptersForTemplate[r]||(this.networkAdaptersForTemplate[r]="")}else if(this.networkAdaptersForPlatform[this.iosNameForm.get("platform").value])for(r=0;r<Object.keys(this.networkAdaptersForPlatform[this.iosNameForm.get("platform").value]).length;r++)this.networkAdaptersForTemplate[r]||(this.networkAdaptersForTemplate[r]="");this.networkAdaptersForTemplate[0]&&(this.iosTemplate.slot0=this.networkAdaptersForTemplate[0]),this.networkAdaptersForTemplate[1]&&(this.iosTemplate.slot1=this.networkAdaptersForTemplate[1]),this.networkAdaptersForTemplate[2]&&(this.iosTemplate.slot2=this.networkAdaptersForTemplate[2]),this.networkAdaptersForTemplate[3]&&(this.iosTemplate.slot3=this.networkAdaptersForTemplate[3]),this.networkAdaptersForTemplate[4]&&(this.iosTemplate.slot4=this.networkAdaptersForTemplate[4]),this.networkAdaptersForTemplate[5]&&(this.iosTemplate.slot5=this.networkAdaptersForTemplate[5]),this.networkAdaptersForTemplate[6]&&(this.iosTemplate.slot6=this.networkAdaptersForTemplate[6]),this.networkAdaptersForTemplate[7]&&(this.iosTemplate.slot7=this.networkAdaptersForTemplate[7])},n.prototype.completeModulesData=function(){if(Object.keys(this.networkModules[this.iosTemplate.platform]))for(var r=0;r<Object.keys(this.networkModules[this.iosTemplate.platform]).length;r++)this.networkModulesForTemplate[r]||(this.networkModulesForTemplate[r]="");this.networkModulesForTemplate[0]&&(this.iosTemplate.wic0=this.networkModulesForTemplate[0]),this.networkModulesForTemplate[1]&&(this.iosTemplate.wic1=this.networkModulesForTemplate[1]),this.networkModulesForTemplate[2]&&(this.iosTemplate.wic2=this.networkModulesForTemplate[2])},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","dynamips","templates"])},n.prototype.onImageChosen=function(){var r=this.iosImageForm.get("imageName").value.split("-")[0];this.iosNameForm.controls.templateName.setValue(r),"c3620"===r||"c3640"===r||"c3660"===r?(this.iosNameForm.controls.platform.setValue("c3600"),this.selectedPlatform="c3600"):(this.iosNameForm.controls.platform.setValue(r),this.selectedPlatform=r),this.iosNameForm.controls.chassis.setValue("c1700"===r?"1720":"c2600"===r?"2610":""),this.iosMemoryForm.controls.memory.setValue(this.defaultRam[r])},n.prototype.onPlatformChosen=function(){this.iosTemplate.chassis="",this.networkAdaptersForTemplate=[],this.networkModulesForTemplate=[]},n.prototype.onChassisChosen=function(){this.networkAdaptersForTemplate=[]},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(dv),e.Y36(Xn),e.Y36(ne.qu),e.Y36(kr),e.Y36(ec),e.Y36(g2),e.Y36(tc.X))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-add-ios-template"]],decls:6,vars:1,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],["class","default-content",4,"ngIf"],[1,"default-content"],[1,"container","mat-elevation-z8"],[3,"linear"],["label","Server type",3,"completed"],[1,"radio-group"],["value","1","checked","",1,"radio-button",3,"click"],["value","2",1,"radio-button",3,"disabled","click"],["label","IOS image",3,"completed"],["type","file","accept",".bin, .image","ng2FileSelect","",1,"non-visible",3,"uploader","change"],["file",""],["mat-raised-button","","color","primary",3,"click"],[3,"formGroup"],[1,"form-field"],["placeholder","Image","formControlName","imageName",3,"selectionChange"],[3,"value",4,"ngFor","ngForOf"],["label","Name and platform",3,"completed"],["matInput","","type","text","formControlName","templateName","placeholder","Name"],["placeholder","Platform","formControlName","platform",3,"selectionChange"],["class","form-field",4,"ngIf"],[3,"ngModel","ngModelChange",4,"ngIf"],["label","Memory",3,"completed"],["matInput","","type","number","formControlName","memory","value","defaultRam[iosNameForm.get('platform').value]","placeholder","Default RAM"],["matSuffix",""],[3,"href"],["label","Network adapters"],[4,"ngIf"],["label","WIC modules"],["label","Idle-PC"],["matInput","","type","text","placeholder","Idle-PC",3,"ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],[3,"value"],["placeholder","Chassis","formControlName","chassis",3,"selectionChange"],[3,"ngModel","ngModelChange"],[4,"ngFor","ngForOf"],[3,"placeholder","ngModel","ngModelOptions","ngModelChange",4,"ngIf"],[3,"placeholder","ngModel","ngModelOptions","ngModelChange"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"New IOS router template"),e.qZA(),e.qZA(),e.qZA(),e.YNc(5,Nde,49,18,"div",4),e.qZA()),2&t&&(e.xp6(5),e.Q6J("ngIf",i.iosTemplate))},directives:[Et.O5,uy,ly,fl,hl,vS,Mn,ne._Y,ne.JL,ne.sg,Un.KE,pi.gD,ne.JJ,ne.u,Et.sg,ur,ne.Fj,ne.wV,Un.R9,Un.hX,ne.On,ln.ey,Zo],styles:[".non-visible[_ngcontent-%COMP%]{display:none}",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}(),Lde=function(){function n(r,t,i,o,a,s){this.route=r,this.serverService=t,this.iosService=i,this.toasterService=o,this.router=a,this.formBuilder=s,this.templateName="",this.formGroup=this.formBuilder.group({templateName:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id"),i=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(t,10)).then(function(o){r.server=o,r.iosService.getTemplate(r.server,i).subscribe(function(a){r.iosTemplate=a,r.templateName="Copy of "+r.iosTemplate.name})})},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","dynamips","templates"])},n.prototype.addTemplate=function(){var r=this;this.formGroup.invalid?this.toasterService.error("Fill all required fields"):(this.iosTemplate.template_id=(0,xa.v4)(),this.iosTemplate.name=this.templateName,this.iosService.addTemplate(this.server,this.iosTemplate).subscribe(function(t){r.goBack()}))},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(dv),e.Y36(Xn),e.Y36(kr),e.Y36(ne.qu))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-copy-ios-template"]],decls:15,vars:2,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[1,"matCard"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","placeholder","Name","formControlName","templateName",3,"ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Copy IOS router template"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"mat-card",5),e.TgZ(7,"form",6),e.TgZ(8,"mat-form-field",7),e.TgZ(9,"input",8),e.NdJ("ngModelChange",function(a){return i.templateName=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(10,"div",9),e.TgZ(11,"button",10),e.NdJ("click",function(){return i.goBack()}),e._uU(12,"Cancel"),e.qZA(),e.TgZ(13,"button",11),e.NdJ("click",function(){return i.addTemplate()}),e._uU(14,"Copy template"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(7),e.Q6J("formGroup",i.formGroup),e.xp6(2),e.Q6J("ngModel",i.templateName))},directives:[_i,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,Mn],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}();function Fde(n,r){if(1&n&&(e.TgZ(0,"mat-option",38),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}function Bde(n,r){if(1&n&&(e.TgZ(0,"mat-option",38),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Ude(n,r){if(1&n&&(e.TgZ(0,"mat-option",38),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}var fp=function(){return{standalone:!0}};function Hde(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-select",41),e.NdJ("ngModelChange",function(s){e.CHM(t);var u=e.oxw().$implicit;return e.oxw(3).networkAdaptersForTemplate[u]=s}),e.YNc(1,Ude,2,2,"mat-option",14),e.qZA()}if(2&n){var i=e.oxw().$implicit,o=e.oxw(3);e.MGl("placeholder","Slot ",i,""),e.Q6J("ngModel",o.networkAdaptersForTemplate[i])("ngModelOptions",e.DdM(4,fp)),e.xp6(1),e.Q6J("ngForOf",o.networkAdapters[o.iosTemplate.chassis][i])}}function Vde(n,r){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,Hde,2,5,"mat-select",40),e.qZA()),2&n){var t=r.$implicit,i=e.oxw(3);e.xp6(1),e.Q6J("ngIf",i.networkAdapters[i.iosTemplate.chassis][t])}}var mj=function(){return[0,1,2,3,4,5,6,7]};function qde(n,r){1&n&&(e.TgZ(0,"div"),e.YNc(1,Vde,2,1,"div",39),e.qZA()),2&n&&(e.xp6(1),e.Q6J("ngForOf",e.DdM(1,mj)))}function jde(n,r){if(1&n&&(e.TgZ(0,"mat-option",38),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function zde(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-select",41),e.NdJ("ngModelChange",function(s){e.CHM(t);var u=e.oxw().$implicit;return e.oxw(3).networkAdaptersForTemplate[u]=s}),e.YNc(1,jde,2,2,"mat-option",14),e.qZA()}if(2&n){var i=e.oxw().$implicit,o=e.oxw(3);e.MGl("placeholder","Slot ",i,""),e.Q6J("ngModel",o.networkAdaptersForTemplate[i])("ngModelOptions",e.DdM(4,fp)),e.xp6(1),e.Q6J("ngForOf",o.networkAdaptersForPlatform[o.iosTemplate.platform][i])}}function Wde(n,r){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,zde,2,5,"mat-select",40),e.qZA()),2&n){var t=r.$implicit,i=e.oxw(3);e.xp6(1),e.Q6J("ngIf",i.networkAdaptersForPlatform[i.iosTemplate.platform][t])}}function Gde(n,r){1&n&&(e.TgZ(0,"div"),e.YNc(1,Wde,2,1,"div",39),e.qZA()),2&n&&(e.xp6(1),e.Q6J("ngForOf",e.DdM(1,mj)))}function Yde(n,r){if(1&n&&(e.TgZ(0,"mat-option",38),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Jde(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"mat-select",42),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw(2).iosTemplate.wic0=a}),e.YNc(2,Yde,2,2,"mat-option",14),e.qZA(),e.qZA()}if(2&n){var i=e.oxw(2);e.xp6(1),e.Q6J("ngModel",i.iosTemplate.wic0)("ngModelOptions",e.DdM(3,fp)),e.xp6(1),e.Q6J("ngForOf",i.networkModules[i.iosTemplate.platform][0])}}function Qde(n,r){if(1&n&&(e.TgZ(0,"mat-option",38),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Kde(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"mat-select",43),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw(2).iosTemplate.wic1=a}),e.YNc(2,Qde,2,2,"mat-option",14),e.qZA(),e.qZA()}if(2&n){var i=e.oxw(2);e.xp6(1),e.Q6J("ngModel",i.iosTemplate.wic1)("ngModelOptions",e.DdM(3,fp)),e.xp6(1),e.Q6J("ngForOf",i.networkModules[i.iosTemplate.platform][1])}}function Xde(n,r){if(1&n&&(e.TgZ(0,"mat-option",38),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function $de(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"mat-select",44),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw(2).iosTemplate.wic2=a}),e.YNc(2,Xde,2,2,"mat-option",14),e.qZA(),e.qZA()}if(2&n){var i=e.oxw(2);e.xp6(1),e.Q6J("ngModel",i.iosTemplate.wic2)("ngModelOptions",e.DdM(3,fp)),e.xp6(1),e.Q6J("ngForOf",i.networkModules[i.iosTemplate.platform][2])}}function epe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",6),e.TgZ(1,"mat-accordion"),e.TgZ(2,"mat-expansion-panel"),e.TgZ(3,"mat-expansion-panel-header"),e.TgZ(4,"mat-panel-title"),e._uU(5," General settings "),e.qZA(),e.qZA(),e.TgZ(6,"form",7),e.TgZ(7,"mat-form-field",8),e.TgZ(8,"input",9),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iosTemplate.name=a}),e.qZA(),e.qZA(),e.TgZ(9,"mat-form-field",8),e.TgZ(10,"input",10),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iosTemplate.default_name_format=a}),e.qZA(),e.qZA(),e.TgZ(11,"mat-label"),e._uU(12),e.qZA(),e._UZ(13,"br"),e._UZ(14,"br"),e.TgZ(15,"mat-label"),e._uU(16),e.qZA(),e._UZ(17,"br"),e._UZ(18,"br"),e.TgZ(19,"mat-form-field",8),e.TgZ(20,"input",11),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iosTemplate.symbol=a}),e.qZA(),e.qZA(),e.TgZ(21,"button",12),e.NdJ("click",function(){return e.CHM(t),e.oxw().chooseSymbol()}),e._uU(22,"Choose symbol"),e.qZA(),e._UZ(23,"br"),e._UZ(24,"br"),e.TgZ(25,"mat-form-field",8),e.TgZ(26,"mat-select",13),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iosTemplate.category=a}),e.YNc(27,Fde,2,2,"mat-option",14),e.qZA(),e.qZA(),e.TgZ(28,"mat-form-field",8),e.TgZ(29,"input",15),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iosTemplate.image=a}),e.qZA(),e.qZA(),e.TgZ(30,"mat-form-field",8),e.TgZ(31,"input",16),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iosTemplate.startup_config=a}),e.qZA(),e.qZA(),e.TgZ(32,"mat-form-field",8),e.TgZ(33,"input",17),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iosTemplate.private_config=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(34,"mat-form-field",18),e.TgZ(35,"mat-select",19),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iosTemplate.console_type=a}),e.YNc(36,Bde,2,2,"mat-option",14),e.qZA(),e.qZA(),e.TgZ(37,"mat-checkbox",20),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iosTemplate.console_auto_start=a}),e._uU(38," Auto start console "),e.qZA(),e.qZA(),e.TgZ(39,"mat-expansion-panel"),e.TgZ(40,"mat-expansion-panel-header"),e.TgZ(41,"mat-panel-title"),e._uU(42," Memories and disks "),e.qZA(),e.qZA(),e.TgZ(43,"form",7),e.TgZ(44,"mat-form-field",8),e.TgZ(45,"input",21),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iosTemplate.ram=a}),e.qZA(),e.TgZ(46,"span",22),e._uU(47,"MB"),e.qZA(),e.qZA(),e.TgZ(48,"mat-form-field",8),e.TgZ(49,"input",23),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iosTemplate.nvram=a}),e.qZA(),e.TgZ(50,"span",22),e._uU(51,"MB"),e.qZA(),e.qZA(),e.TgZ(52,"mat-form-field",8),e.TgZ(53,"input",24),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iosTemplate.iomem=a}),e.qZA(),e.qZA(),e.TgZ(54,"mat-form-field",8),e.TgZ(55,"input",25),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iosTemplate.disk0=a}),e.qZA(),e.qZA(),e.TgZ(56,"mat-form-field",8),e.TgZ(57,"input",26),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iosTemplate.disk1=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(58,"mat-checkbox",20),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iosTemplate.auto_delete_disks=a}),e._uU(59," Automatically delete NVRAM and disk files "),e.qZA(),e.qZA(),e.TgZ(60,"mat-expansion-panel"),e.TgZ(61,"mat-expansion-panel-header"),e.TgZ(62,"mat-panel-title"),e._uU(63," Slots "),e.qZA(),e.qZA(),e.TgZ(64,"h6"),e._uU(65,"Adapters"),e.qZA(),e.YNc(66,qde,2,2,"div",27),e.YNc(67,Gde,2,2,"div",27),e._UZ(68,"br"),e._UZ(69,"br"),e.TgZ(70,"h6"),e._uU(71,"WICs"),e.qZA(),e.YNc(72,Jde,3,4,"div",27),e.YNc(73,Kde,3,4,"div",27),e.YNc(74,$de,3,4,"div",27),e.qZA(),e.TgZ(75,"mat-expansion-panel"),e.TgZ(76,"mat-expansion-panel-header"),e.TgZ(77,"mat-panel-title"),e._uU(78," Advanced "),e.qZA(),e.qZA(),e.TgZ(79,"form",7),e.TgZ(80,"mat-form-field",8),e.TgZ(81,"input",28),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iosTemplate.system_id=a}),e.qZA(),e.qZA(),e.TgZ(82,"mat-form-field",8),e.TgZ(83,"input",29),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iosTemplate.mac_addr=a}),e.qZA(),e.qZA(),e.TgZ(84,"mat-form-field",8),e.TgZ(85,"input",30),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iosTemplate.idlepc=a}),e.qZA(),e.qZA(),e.TgZ(86,"mat-form-field",8),e.TgZ(87,"input",31),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iosTemplate.idlemax=a}),e.qZA(),e.qZA(),e.TgZ(88,"mat-form-field",8),e.TgZ(89,"input",32),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iosTemplate.idlesleep=a}),e.qZA(),e.qZA(),e.TgZ(90,"mat-form-field",8),e.TgZ(91,"input",33),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iosTemplate.exec_area=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(92,"mat-checkbox",20),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iosTemplate.mmap=a}),e._uU(93," Enable mmap support "),e.qZA(),e._UZ(94,"br"),e._UZ(95,"br"),e.TgZ(96,"mat-checkbox",20),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iosTemplate.sparsemem=a}),e._uU(97," Enable sparse memory supoport "),e.qZA(),e.qZA(),e.TgZ(98,"mat-expansion-panel"),e.TgZ(99,"mat-expansion-panel-header"),e.TgZ(100,"mat-panel-title"),e._uU(101," Usage "),e.qZA(),e.qZA(),e.TgZ(102,"mat-form-field",8),e.TgZ(103,"textarea",34),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iosTemplate.usage=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(104,"div",35),e.TgZ(105,"button",36),e.NdJ("click",function(){return e.CHM(t),e.oxw().goBack()}),e._uU(106,"Cancel"),e.qZA(),e.TgZ(107,"button",37),e.NdJ("click",function(){return e.CHM(t),e.oxw().onSave()}),e._uU(108,"Save"),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(6),e.Q6J("formGroup",i.generalSettingsForm),e.xp6(2),e.Q6J("ngModel",i.iosTemplate.name),e.xp6(2),e.Q6J("ngModel",i.iosTemplate.default_name_format),e.xp6(2),e.hij("Platform - ",i.iosTemplate.platform,""),e.xp6(4),e.hij("Chassis - ",i.iosTemplate.chassis,""),e.xp6(4),e.Q6J("ngModel",i.iosTemplate.symbol),e.xp6(6),e.Q6J("ngModelOptions",e.DdM(40,fp))("ngModel",i.iosTemplate.category),e.xp6(1),e.Q6J("ngForOf",i.categories),e.xp6(2),e.Q6J("ngModel",i.iosTemplate.image),e.xp6(2),e.Q6J("ngModel",i.iosTemplate.startup_config),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(41,fp))("ngModel",i.iosTemplate.private_config),e.xp6(2),e.Q6J("ngModel",i.iosTemplate.console_type),e.xp6(1),e.Q6J("ngForOf",i.consoleTypes),e.xp6(1),e.Q6J("ngModel",i.iosTemplate.console_auto_start),e.xp6(6),e.Q6J("formGroup",i.memoryForm),e.xp6(2),e.Q6J("ngModel",i.iosTemplate.ram),e.xp6(4),e.Q6J("ngModel",i.iosTemplate.nvram),e.xp6(4),e.Q6J("ngModel",i.iosTemplate.iomem),e.xp6(2),e.Q6J("ngModel",i.iosTemplate.disk0),e.xp6(2),e.Q6J("ngModel",i.iosTemplate.disk1),e.xp6(1),e.Q6J("ngModel",i.iosTemplate.auto_delete_disks),e.xp6(8),e.Q6J("ngIf",i.iosTemplate.chassis&&i.chassis[i.iosTemplate.platform]),e.xp6(1),e.Q6J("ngIf",i.iosTemplate.platform&&!i.chassis[i.iosTemplate.platform]),e.xp6(5),e.Q6J("ngIf",i.iosTemplate.wic0||""===i.iosTemplate.wic0),e.xp6(1),e.Q6J("ngIf",i.iosTemplate.wic1||""===i.iosTemplate.wic1),e.xp6(1),e.Q6J("ngIf",i.iosTemplate.wic2||""===i.iosTemplate.wic2),e.xp6(5),e.Q6J("formGroup",i.advancedForm),e.xp6(2),e.Q6J("ngModel",i.iosTemplate.system_id),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(42,fp))("ngModel",i.iosTemplate.mac_addr),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(43,fp))("ngModel",i.iosTemplate.idlepc),e.xp6(2),e.Q6J("ngModel",i.iosTemplate.idlemax),e.xp6(2),e.Q6J("ngModel",i.iosTemplate.idlesleep),e.xp6(2),e.Q6J("ngModel",i.iosTemplate.exec_area),e.xp6(1),e.Q6J("ngModel",i.iosTemplate.mmap),e.xp6(4),e.Q6J("ngModel",i.iosTemplate.sparsemem),e.xp6(7),e.Q6J("ngModel",i.iosTemplate.usage)}}function tpe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"app-symbols-menu",45),e.NdJ("symbolChangedEmitter",function(a){return e.CHM(t),e.oxw().symbolChanged(a)}),e.qZA()}if(2&n){var i=e.oxw();e.Q6J("server",i.server)("symbol",i.iosTemplate.symbol)}}var npe=function(n){return{shadowed:n}},rpe=function(){function n(r,t,i,o,a,s,u){this.route=r,this.serverService=t,this.iosService=i,this.toasterService=o,this.formBuilder=a,this.iosConfigurationService=s,this.router=u,this.isSymbolSelectionOpened=!1,this.networkAdaptersForTemplate=[],this.platforms=[],this.consoleTypes=[],this.platformsWithEtherSwitchRouterOption={},this.platformsWithChassis={},this.chassis={},this.defaultRam={},this.defaultNvram={},this.networkAdapters={},this.networkAdaptersForPlatform={},this.networkModules={},this.generalSettingsForm=this.formBuilder.group({templateName:new ne.NI("",ne.kI.required),defaultName:new ne.NI("",ne.kI.required),symbol:new ne.NI("",ne.kI.required),path:new ne.NI("",ne.kI.required),initialConfig:new ne.NI("",ne.kI.required)}),this.memoryForm=this.formBuilder.group({ram:new ne.NI("",ne.kI.required),nvram:new ne.NI("",ne.kI.required),iomemory:new ne.NI("",ne.kI.required),disk0:new ne.NI("",ne.kI.required),disk1:new ne.NI("",ne.kI.required)}),this.advancedForm=this.formBuilder.group({systemId:new ne.NI("",ne.kI.required),idlemax:new ne.NI("",ne.kI.required),idlesleep:new ne.NI("",ne.kI.required),execarea:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id"),i=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(t,10)).then(function(o){r.server=o,r.getConfiguration(),r.iosService.getTemplate(r.server,i).subscribe(function(a){r.iosTemplate=a,r.fillAdaptersData()})})},n.prototype.getConfiguration=function(){this.networkModules=this.iosConfigurationService.getNetworkModules(),this.networkAdaptersForPlatform=this.iosConfigurationService.getNetworkAdaptersForPlatform(),this.networkAdapters=this.iosConfigurationService.getNetworkAdapters(),this.platforms=this.iosConfigurationService.getAvailablePlatforms(),this.platformsWithEtherSwitchRouterOption=this.iosConfigurationService.getPlatformsWithEtherSwitchRouterOption(),this.platformsWithChassis=this.iosConfigurationService.getPlatformsWithChassis(),this.chassis=this.iosConfigurationService.getChassis(),this.defaultRam=this.iosConfigurationService.getDefaultRamSettings(),this.consoleTypes=this.iosConfigurationService.getConsoleTypes()},n.prototype.fillAdaptersData=function(){this.iosTemplate.slot0&&(this.networkAdaptersForTemplate[0]=this.iosTemplate.slot0),this.iosTemplate.slot1&&(this.networkAdaptersForTemplate[1]=this.iosTemplate.slot1),this.iosTemplate.slot2&&(this.networkAdaptersForTemplate[2]=this.iosTemplate.slot2),this.iosTemplate.slot3&&(this.networkAdaptersForTemplate[3]=this.iosTemplate.slot3),this.iosTemplate.slot4&&(this.networkAdaptersForTemplate[4]=this.iosTemplate.slot4),this.iosTemplate.slot5&&(this.networkAdaptersForTemplate[5]=this.iosTemplate.slot5),this.iosTemplate.slot6&&(this.networkAdaptersForTemplate[6]=this.iosTemplate.slot6),this.iosTemplate.slot7&&(this.networkAdaptersForTemplate[7]=this.iosTemplate.slot7)},n.prototype.completeAdaptersData=function(){this.networkAdaptersForTemplate[0]&&(this.iosTemplate.slot0=this.networkAdaptersForTemplate[0]),this.networkAdaptersForTemplate[1]&&(this.iosTemplate.slot1=this.networkAdaptersForTemplate[1]),this.networkAdaptersForTemplate[2]&&(this.iosTemplate.slot2=this.networkAdaptersForTemplate[2]),this.networkAdaptersForTemplate[3]&&(this.iosTemplate.slot3=this.networkAdaptersForTemplate[3]),this.networkAdaptersForTemplate[4]&&(this.iosTemplate.slot4=this.networkAdaptersForTemplate[4]),this.networkAdaptersForTemplate[5]&&(this.iosTemplate.slot5=this.networkAdaptersForTemplate[5]),this.networkAdaptersForTemplate[6]&&(this.iosTemplate.slot6=this.networkAdaptersForTemplate[6]),this.networkAdaptersForTemplate[7]&&(this.iosTemplate.slot7=this.networkAdaptersForTemplate[7])},n.prototype.onSave=function(){var r=this;this.generalSettingsForm.invalid||this.memoryForm.invalid||this.advancedForm.invalid?this.toasterService.error("Fill all required fields"):(this.completeAdaptersData(),this.iosService.saveTemplate(this.server,this.iosTemplate).subscribe(function(t){r.toasterService.success("Changes saved")}))},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","dynamips","templates"])},n.prototype.chooseSymbol=function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened},n.prototype.symbolChanged=function(r){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.iosTemplate.symbol=r},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(dv),e.Y36(Xn),e.Y36(ne.qu),e.Y36(g2),e.Y36(kr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-ios-template-details"]],decls:7,vars:5,consts:[[1,"content",3,"ngClass"],[1,"default-header"],[1,"row"],[1,"col"],["class","default-content",4,"ngIf"],[3,"server","symbol","symbolChangedEmitter",4,"ngIf"],[1,"default-content"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","templateName","placeholder","Template name",3,"ngModel","ngModelChange"],["matInput","","type","text","formControlName","defaultName","placeholder","Default name format",3,"ngModel","ngModelChange"],["matInput","","type","text","formControlName","symbol","placeholder","Symbol",3,"ngModel","ngModelChange"],["mat-button","",1,"symbolSelectionButton",3,"click"],["placeholder","Category",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["matInput","","type","text","formControlName","path","placeholder","IOS image path",3,"ngModel","ngModelChange"],["matInput","","type","text","formControlName","initialConfig","placeholder","Initial startup-config",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Initial private-config",3,"ngModelOptions","ngModel","ngModelChange"],[1,"select"],["placeholder","Console type",3,"ngModel","ngModelChange"],[3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","ram","placeholder","RAM size",3,"ngModel","ngModelChange"],["matSuffix",""],["matInput","","type","number","formControlName","nvram","placeholder","NVRAM size",3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","iomemory","placeholder","I/O memory",3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","disk0","placeholder","PCMCIA disk0",3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","disk1","placeholder","PCMCIA disk1",3,"ngModel","ngModelChange"],[4,"ngIf"],["matInput","","formControlName","systemId","type","text","placeholder","System ID",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Base MAC",3,"ngModelOptions","ngModel","ngModelChange"],["matInput","","type","text","placeholder","Idle-PC",3,"ngModelOptions","ngModel","ngModelChange"],["matInput","","formControlName","idlemax","type","number","placeholder","Idlemax",3,"ngModel","ngModelChange"],["matInput","","formControlName","idlesleep","type","number","placeholder","Idlesleep",3,"ngModel","ngModelChange"],["matInput","","formControlName","execarea","type","number","placeholder","Exec area",3,"ngModel","ngModelChange"],["matInput","","type","text",3,"ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[4,"ngFor","ngForOf"],[3,"placeholder","ngModel","ngModelOptions","ngModelChange",4,"ngIf"],[3,"placeholder","ngModel","ngModelOptions","ngModelChange"],["placeholder","WIC 0",3,"ngModel","ngModelOptions","ngModelChange"],["placeholder","WIC 1",3,"ngModel","ngModelOptions","ngModelChange"],["placeholder","WIC 2",3,"ngModel","ngModelOptions","ngModelChange"],[3,"server","symbol","symbolChangedEmitter"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Dynamips IOS Router configuration"),e.qZA(),e.qZA(),e.qZA(),e.YNc(5,epe,109,44,"div",4),e.qZA(),e.YNc(6,tpe,1,2,"app-symbols-menu",5)),2&t&&(e.Q6J("ngClass",e.VKq(3,npe,i.isSymbolSelectionOpened)),e.xp6(5),e.Q6J("ngIf",i.iosTemplate),e.xp6(1),e.Q6J("ngIf",i.isSymbolSelectionOpened&&i.iosTemplate))},directives:[Et.mk,Et.O5,od,Xu,$u,id,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,Un.hX,Mn,pi.gD,ne.On,Et.sg,Zo,ne.wV,Un.R9,ln.ey,sd],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}();function ipe(n,r){if(1&n&&(e.TgZ(0,"button",10),e._uU(1," Back "),e.qZA()),2&n){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences")}}function ope(n,r){if(1&n&&(e.TgZ(0,"button",11),e._uU(1," Add IOS router template "),e.qZA()),2&n){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences/dynamips/templates/addtemplate")}}function ape(n,r){1&n&&e._UZ(0,"app-empty-templates-list")}function spe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",15),e.TgZ(1,"mat-list-item",16),e._uU(2),e.qZA(),e.TgZ(3,"button",17),e.TgZ(4,"mat-icon"),e._uU(5,"more_vert"),e.qZA(),e.qZA(),e.TgZ(6,"mat-menu",null,18),e.TgZ(8,"button",19),e.NdJ("click",function(){var u=e.CHM(t).$implicit;return e.oxw(3).deleteTemplate(u)}),e.TgZ(9,"mat-icon"),e._uU(10,"delete"),e.qZA(),e.TgZ(11,"span"),e._uU(12,"Delete"),e.qZA(),e.qZA(),e.TgZ(13,"button",19),e.NdJ("click",function(){var u=e.CHM(t).$implicit;return e.oxw(3).copyTemplate(u)}),e.TgZ(14,"mat-icon"),e._uU(15,"content_copy"),e.qZA(),e.TgZ(16,"span"),e._uU(17,"Copy"),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=r.$implicit,o=e.MAs(7);e.xp6(1),e.s9C("routerLink",i.template_id),e.xp6(1),e.Oqu(i.name),e.xp6(1),e.Q6J("matMenuTriggerFor",o)}}function lpe(n,r){if(1&n&&(e.TgZ(0,"mat-nav-list"),e.YNc(1,spe,18,3,"div",14),e.qZA()),2&n){var t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.iosTemplates)}}function upe(n,r){if(1&n&&(e.TgZ(0,"div",12),e.TgZ(1,"div",13),e.YNc(2,lpe,2,1,"mat-nav-list",6),e.qZA(),e.qZA()),2&n){var t=e.oxw();e.xp6(2),e.Q6J("ngIf",t.server)}}var cpe=function(){function n(r,t,i,o){this.route=r,this.serverService=t,this.iosService=i,this.router=o,this.iosTemplates=[]}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(t,10)).then(function(i){r.server=i,r.getTemplates()})},n.prototype.getTemplates=function(){var r=this;this.iosService.getTemplates(this.server).subscribe(function(t){r.iosTemplates=t.filter(function(i){return"dynamips"===i.template_type&&!i.builtin})})},n.prototype.deleteTemplate=function(r){this.deleteComponent.deleteItem(r.name,r.template_id)},n.prototype.onDeleteEvent=function(){this.getTemplates()},n.prototype.copyTemplate=function(r){this.router.navigate(["/server",this.server.id,"preferences","dynamips","templates",r.template_id,"copy"])},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(dv),e.Y36(kr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-ios-templates"]],viewQuery:function(t,i){var o;(1&t&&e.Gf(wa,5),2&t)&&(e.iGM(o=e.CRH())&&(i.deleteComponent=o.first))},decls:11,vars:5,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],["class","top-button","class","cancel-button","mat-button","",3,"routerLink",4,"ngIf"],["class","top-button","mat-raised-button","","color","primary",3,"routerLink",4,"ngIf"],[4,"ngIf"],["class","default-content",4,"ngIf"],[3,"server","deleteEvent"],["deleteComponent",""],["mat-button","",1,"cancel-button",3,"routerLink"],["mat-raised-button","","color","primary",1,"top-button",3,"routerLink"],[1,"default-content"],[1,"listcontainer","mat-elevation-z8"],["class","list-item",4,"ngFor","ngForOf"],[1,"list-item"],[1,"template-name",3,"routerLink"],["mat-button","",1,"menu-button",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"IOS router templates"),e.qZA(),e.YNc(5,ipe,2,1,"button",4),e.YNc(6,ope,2,1,"button",5),e.qZA(),e.qZA(),e.YNc(7,ape,1,0,"app-empty-templates-list",6),e.YNc(8,upe,3,1,"div",7),e.qZA(),e.TgZ(9,"app-delete-template",8,9),e.NdJ("deleteEvent",function(){return i.onDeleteEvent()}),e.qZA()),2&t&&(e.xp6(5),e.Q6J("ngIf",i.server),e.xp6(1),e.Q6J("ngIf",i.server),e.xp6(1),e.Q6J("ngIf",!i.iosTemplates.length),e.xp6(1),e.Q6J("ngIf",i.iosTemplates.length),e.xp6(1),e.Q6J("server",i.server))},directives:[Et.O5,wa,Mn,fa,ud,ku,Et.sg,Cs,Qa,sr,Ss,Zr],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}(),vj=function(){function n(r){this.httpServer=r}return n.prototype.getGns3vm=function(r){return this.httpServer.get(r,"/gns3vm")},n.prototype.updateGns3vm=function(r,t){return this.httpServer.put(r,"/gns3vm",t)},n.prototype.getGns3vmEngines=function(r){return this.httpServer.get(r,"/gns3vm/engines")},n.prototype.getVms=function(r,t){return this.httpServer.get(r,"/gns3vm/engines/"+t+"/vms")},n.\u0275fac=function(t){return new(t||n)(e.LFG(Yo.wh))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}();function dpe(n,r){if(1&n&&(e.TgZ(0,"mat-option",18),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t.engine_id),e.xp6(1),e.hij(" ",t.name," ")}}function ppe(n,r){if(1&n&&(e.TgZ(0,"mat-option",18),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t.vmname),e.xp6(1),e.hij(" ",t.vmname," ")}}var RS=function(){return{standalone:!0}};function fpe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-checkbox",10),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw(2).gns3vm.headless=a}),e._uU(1," Run the VM in headless mode "),e.qZA()}if(2&n){var i=e.oxw(2);e.Q6J("ngModelOptions",e.DdM(2,RS))("ngModel",i.gns3vm.headless)}}function hpe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-form-field",21),e.TgZ(1,"input",25),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw(3).port=a}),e.qZA(),e.qZA()}if(2&n){var i=e.oxw(3);e.xp6(1),e.Q6J("ngModelOptions",e.DdM(2,RS))("ngModel",i.port)}}function mpe(n,r){if(1&n&&(e.TgZ(0,"form",19),e.YNc(1,hpe,2,3,"mat-form-field",20),e.TgZ(2,"mat-form-field",21),e._UZ(3,"input",22),e.TgZ(4,"span",23),e._uU(5,"MB"),e.qZA(),e.qZA(),e.TgZ(6,"mat-form-field",21),e._UZ(7,"input",24),e.qZA(),e.qZA()),2&n){var t=e.oxw(2);e.Q6J("formGroup",t.vmForm),e.xp6(1),e.Q6J("ngIf","virtualbox"===t.gns3vm.engine||"vmware"===t.gns3vm.engine)}}function vpe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-radio-group",26),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw(2).gns3vm.when_exit=a}),e.TgZ(1,"mat-radio-button",27),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).setCloseAction("keep")}),e._uU(2,"keep the GNS3 VM running"),e.qZA(),e.TgZ(3,"mat-radio-button",28),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).setCloseAction("suspend")}),e._uU(4,"suspend the GNS3 VM"),e.qZA(),e.TgZ(5,"mat-radio-button",29),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).setCloseAction("stop")}),e._uU(6,"stop the GNS3 VM"),e.qZA(),e.qZA()}if(2&n){var i=e.oxw(2);e.Q6J("ngModel",i.gns3vm.when_exit)}}function gpe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-card",9),e.TgZ(1,"mat-checkbox",10),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().gns3vm.enable=a}),e._uU(2," Enable the GNS3 VM "),e.qZA(),e.TgZ(3,"mat-form-field",11),e.TgZ(4,"mat-select",12),e.NdJ("selectionChange",function(a){return e.CHM(t),e.oxw().changeVmEngine(a)})("ngModelChange",function(a){return e.CHM(t),e.oxw().gns3vm.engine=a}),e.YNc(5,dpe,2,2,"mat-option",13),e.qZA(),e.qZA(),e.TgZ(6,"mat-form-field",11),e.TgZ(7,"mat-select",14),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().gns3vm.vmname=a}),e.YNc(8,ppe,2,2,"mat-option",13),e.qZA(),e.qZA(),e.YNc(9,fpe,2,3,"mat-checkbox",15),e.YNc(10,mpe,8,2,"form",16),e.YNc(11,vpe,7,1,"mat-radio-group",17),e.qZA()}if(2&n){var i=e.oxw();e.xp6(1),e.Q6J("ngModelOptions",e.DdM(11,RS))("ngModel",i.gns3vm.enable),e.xp6(3),e.Q6J("ngModelOptions",e.DdM(12,RS))("ngModel",i.gns3vm.engine),e.xp6(1),e.Q6J("ngForOf",i.vmEngines),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(13,RS))("ngModel",i.gns3vm.vmname),e.xp6(1),e.Q6J("ngForOf",i.vms),e.xp6(1),e.Q6J("ngIf","virtualbox"===i.gns3vm.engine||"vmware"===i.gns3vm.engine),e.xp6(1),e.Q6J("ngIf","remote"!==i.gns3vm.engine),e.xp6(1),e.Q6J("ngIf","remote"!==i.gns3vm.engine)}}var _pe=function(){function n(r,t,i,o,a,s){this.route=r,this.serverService=t,this.gns3vmService=i,this.router=o,this.formBuilder=a,this.toasterService=s,this.vms=[],this.vmForm=this.formBuilder.group({ram:new ne.NI(null,[ne.kI.required]),vcpus:new ne.NI(null,[ne.kI.required])})}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(t,10)).then(function(i){r.server=i,r.gns3vmService.getGns3vm(r.server).subscribe(function(o){r.gns3vm=o,r.vmForm.controls.ram.setValue(r.gns3vm.ram),r.vmForm.controls.vcpus.setValue(r.gns3vm.vcpus),r.gns3vm.port&&(r.port=r.gns3vm.port),r.gns3vmService.getGns3vmEngines(r.server).subscribe(function(a){r.vmEngines=a}),r.gns3vmService.getVms(r.server,r.gns3vm.engine).subscribe(function(a){r.vms=a})})})},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences"])},n.prototype.setCloseAction=function(r){this.gns3vm.when_exit=r},n.prototype.changeVmEngine=function(r){var t=this;this.gns3vmService.getVms(this.server,r.value).subscribe(function(i){t.vms=i},function(i){})},n.prototype.save=function(){var r=this;this.vmForm.valid&&this.gns3vm.vmname||"remote"===this.gns3vm.engine&&this.gns3vm.vmname?(this.gns3vm.ram=this.vmForm.get("ram").value,this.gns3vm.vcpus=this.vmForm.get("vcpus").value,this.port&&(this.gns3vm.port=this.port),this.gns3vmService.updateGns3vm(this.server,this.gns3vm).subscribe(function(){r.toasterService.success("GNS3 VM updated.")}),this.goBack()):this.toasterService.error("Fill all required fields with correct values.")},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(vj),e.Y36(kr),e.Y36(ne.qu),e.Y36(Xn))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-gns3vm"]],decls:12,vars:1,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],["class","matCard",4,"ngIf"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"],[1,"matCard"],[3,"ngModelOptions","ngModel","ngModelChange"],[1,"select"],["placeholder","Virtualization engine",3,"ngModelOptions","ngModel","selectionChange","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["placeholder","VM name",3,"ngModelOptions","ngModel","ngModelChange"],[3,"ngModelOptions","ngModel","ngModelChange",4,"ngIf"],[3,"formGroup",4,"ngIf"],["aria-label","Actions when closing GNS3","class","radio-selection",3,"ngModel","ngModelChange",4,"ngIf"],[3,"value"],[3,"formGroup"],["class","form-field",4,"ngIf"],[1,"form-field"],["matInput","","formControlName","ram","type","number","placeholder","RAM"],["matSuffix",""],["matInput","","formControlName","vcpus","type","number","placeholder","vCPUs"],["matInput","","type","number","placeholder","Port",3,"ngModelOptions","ngModel","ngModelChange"],["aria-label","Actions when closing GNS3",1,"radio-selection",3,"ngModel","ngModelChange"],["value","keep",3,"click"],["value","suspend",3,"click"],["value","stop",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"GNS3 VM preferences"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.YNc(6,gpe,12,14,"mat-card",5),e.TgZ(7,"div",6),e.TgZ(8,"button",7),e.NdJ("click",function(){return i.goBack()}),e._uU(9,"Cancel"),e.qZA(),e.TgZ(10,"button",8),e.NdJ("click",function(){return i.save()}),e._uU(11,"Save"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(6),e.Q6J("ngIf",i.gns3vm))},directives:[Et.O5,Mn,_i,Zo,ne.JJ,ne.On,Un.KE,pi.gD,Et.sg,ln.ey,ne._Y,ne.JL,ne.sg,ur,ne.Fj,ne.wV,ne.u,Un.R9,fl,hl],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.radio-selection[_ngcontent-%COMP%]{display:flex;justify-content:space-between}"]}),n}(),tL=function(){return function(){}}(),pv=function(){function n(r){this.httpServer=r}return n.prototype.getTemplates=function(r){return this.httpServer.get(r,"/templates")},n.prototype.getTemplate=function(r,t){return this.httpServer.get(r,"/templates/"+t)},n.prototype.getImages=function(r){return this.httpServer.get(r,"/compute/iou/images")},n.prototype.getImagePath=function(r,t){return r.protocol+"//"+r.host+":"+r.port+"/v2/compute/iou/images/"+t},n.prototype.addTemplate=function(r,t){return this.httpServer.post(r,"/templates",t)},n.prototype.saveTemplate=function(r,t){return this.httpServer.put(r,"/templates/"+t.template_id,t)},n.\u0275fac=function(t){return new(t||n)(e.LFG(Yo.wh))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}();function ype(n,r){if(1&n&&(e.TgZ(0,"mat-option",24),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function bpe(n,r){if(1&n&&(e.TgZ(0,"mat-option",24),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t.path),e.xp6(1),e.hij(" ",t.path," ")}}var gj=function(){return{standalone:!0}};function Cpe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-form-field",13),e.TgZ(1,"mat-select",25),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iouTemplate.path=a}),e.YNc(2,bpe,2,2,"mat-option",18),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(1),e.Q6J("ngModel",i.iouTemplate.path)("ngModelOptions",e.DdM(3,gj)),e.xp6(1),e.Q6J("ngForOf",i.iouImages)}}function Spe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"input",26,27),e.NdJ("change",function(a){return e.CHM(t),e.oxw().uploadImageFile(a)}),e.qZA(),e.TgZ(3,"button",28),e.NdJ("click",function(){return e.CHM(t),e.MAs(2).click()}),e._uU(4,"Browse"),e.qZA(),e.TgZ(5,"mat-form-field",29),e._UZ(6,"input",30),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(1),e.Q6J("uploader",i.uploader)}}var Tpe=function(){function n(r,t,i,o,a,s,u,p){this.route=r,this.serverService=t,this.iouService=i,this.toasterService=o,this.router=a,this.formBuilder=s,this.templateMocksService=u,this.computeService=p,this.isRemoteComputerChosen=!1,this.newImageSelected=!1,this.types=["L2 image","L3 image"],this.iouImages=[],this.isGns3VmAvailable=!1,this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0,this.iouTemplate=new tL,this.templateNameForm=this.formBuilder.group({templateName:new ne.NI(null,ne.kI.required)}),this.imageForm=this.formBuilder.group({imageName:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this;this.uploader=new tv({}),this.uploader.onAfterAddingFile=function(i){i.withCredentials=!1},this.uploader.onErrorItem=function(i,o,a,s){r.toasterService.error("An error occured: "+o)},this.uploader.onSuccessItem=function(i,o,a,s){r.getImages(),r.toasterService.success("Image uploaded")};var t=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(t,10)).then(function(i){r.server=i,r.getImages(),r.templateMocksService.getIouTemplate().subscribe(function(o){r.iouTemplate=o}),r.computeService.getComputes(i).subscribe(function(o){o.filter(function(a){return"vm"===a.compute_id}).length>0&&(r.isGns3VmAvailable=!0)})})},n.prototype.getImages=function(){var r=this;this.iouService.getImages(this.server).subscribe(function(t){r.iouImages=t})},n.prototype.setServerType=function(r){"gns3 vm"===r&&this.isGns3VmAvailable?(this.isGns3VmChosen=!0,this.isLocalComputerChosen=!1):(this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0)},n.prototype.setDiskImage=function(r){this.newImageSelected="newImage"===r},n.prototype.uploadImageFile=function(r){var t=r.target.files[0].name;this.imageForm.controls.imageName.setValue(t);var i=this.iouService.getImagePath(this.server,t);this.uploader.queue.forEach(function(a){return a.url=i});var o=this.uploader.queue[0];o.options.disableMultipart=!0,this.uploader.uploadItem(o)},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","iou","templates"])},n.prototype.addTemplate=function(){var r=this;!this.templateNameForm.invalid&&(this.newImageSelected&&!this.imageForm.invalid||!this.newImageSelected&&this.iouTemplate.path)?(this.iouTemplate.template_id=(0,xa.v4)(),this.iouTemplate.name=this.templateNameForm.get("templateName").value,this.newImageSelected&&(this.iouTemplate.path=this.imageForm.get("imageName").value),this.iouTemplate.compute_id=this.isGns3VmChosen?"vm":"local","L2 image"===this.selectedType?(this.iouTemplate.ethernet_adapters=4,this.iouTemplate.serial_adapters=0):"L3 image"===this.selectedType&&(this.iouTemplate.ethernet_adapters=2,this.iouTemplate.serial_adapters=2),this.iouService.addTemplate(this.server,this.iouTemplate).subscribe(function(t){r.goBack()})):this.toasterService.error("Fill all required fields")},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(pv),e.Y36(Xn),e.Y36(kr),e.Y36(ne.qu),e.Y36(ec),e.Y36(tc.X))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-add-iou-template"]],decls:35,vars:12,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[1,"container","mat-elevation-z8"],[3,"linear"],["label","Server type",3,"completed"],[1,"radio-group"],["value","1","checked","",1,"radio-button",3,"click"],["value","2",1,"radio-button",3,"disabled","click"],["label","Name",3,"completed"],[3,"formGroup"],[1,"form-field"],["matInput","","placeholder","Name","type","text","formControlName","templateName"],["label","Image"],["value","2",1,"radio-button",3,"click"],["placeholder","Type",3,"ngModel","ngModelOptions","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["class","form-field",4,"ngIf"],[4,"ngIf"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],["placeholder","IOU image",3,"ngModel","ngModelOptions","ngModelChange"],["type","file","accept",".bin","ng2FileSelect","",1,"nonvisible",3,"uploader","change"],["file",""],["mat-raised-button","","color","primary",1,"file-button",3,"click"],[1,"file-name-form-field"],["matInput","","type","text","formControlName","imageName","placeholder","IOU image"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"New IOU device template"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"div",5),e.TgZ(7,"mat-vertical-stepper",6),e.TgZ(8,"mat-step",7),e.TgZ(9,"mat-radio-group",8),e.TgZ(10,"mat-radio-button",9),e.NdJ("click",function(){return i.setServerType("local")}),e._uU(11,"Run this IOU device locally"),e.qZA(),e.TgZ(12,"mat-radio-button",10),e.NdJ("click",function(){return i.setServerType("gns3 vm")}),e._uU(13,"Run this IOU device on the GNS3 VM"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(14,"mat-step",11),e.TgZ(15,"form",12),e.TgZ(16,"mat-form-field",13),e._UZ(17,"input",14),e.qZA(),e.qZA(),e.qZA(),e.TgZ(18,"mat-step",15),e.TgZ(19,"form",12),e.TgZ(20,"mat-radio-group",8),e.TgZ(21,"mat-radio-button",9),e.NdJ("click",function(){return i.setDiskImage("existingImage")}),e._uU(22,"Existing image"),e.qZA(),e.TgZ(23,"mat-radio-button",16),e.NdJ("click",function(){return i.setDiskImage("newImage")}),e._uU(24,"New image"),e.qZA(),e.qZA(),e.TgZ(25,"mat-form-field",13),e.TgZ(26,"mat-select",17),e.NdJ("ngModelChange",function(a){return i.selectedType=a}),e.YNc(27,ype,2,2,"mat-option",18),e.qZA(),e.qZA(),e.YNc(28,Cpe,3,4,"mat-form-field",19),e.YNc(29,Spe,7,1,"div",20),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(30,"div",21),e.TgZ(31,"button",22),e.NdJ("click",function(){return i.goBack()}),e._uU(32,"Cancel"),e.qZA(),e.TgZ(33,"button",23),e.NdJ("click",function(){return i.addTemplate()}),e._uU(34,"Add template"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(7),e.Q6J("linear",!0),e.xp6(1),e.Q6J("completed",i.isGns3VmChosen||i.isLocalComputerChosen),e.xp6(4),e.Q6J("disabled",!i.isGns3VmAvailable),e.xp6(2),e.Q6J("completed",i.templateNameForm.get("templateName").value),e.xp6(1),e.Q6J("formGroup",i.templateNameForm),e.xp6(4),e.Q6J("formGroup",i.imageForm),e.xp6(7),e.Q6J("ngModel",i.selectedType)("ngModelOptions",e.DdM(11,gj)),e.xp6(1),e.Q6J("ngForOf",i.types),e.xp6(1),e.Q6J("ngIf",!i.newImageSelected),e.xp6(1),e.Q6J("ngIf",i.newImageSelected))},directives:[uy,ly,fl,hl,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,pi.gD,ne.On,Et.sg,Et.O5,Mn,ln.ey,vS],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}(),xpe=function(){function n(r,t,i,o,a,s){this.route=r,this.serverService=t,this.qemuService=i,this.toasterService=o,this.router=a,this.formBuilder=s,this.templateName="",this.templateNameForm=this.formBuilder.group({templateName:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id"),i=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(t,10)).then(function(o){r.server=o,r.qemuService.getTemplate(r.server,i).subscribe(function(a){r.iouTemplate=a,r.templateName="Copy of "+r.iouTemplate.name})})},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","iou","templates"])},n.prototype.addTemplate=function(){var r=this;this.templateNameForm.invalid?this.toasterService.error("Fill all required fields"):(this.iouTemplate.template_id=(0,xa.v4)(),this.iouTemplate.name=this.templateName,this.qemuService.addTemplate(this.server,this.iouTemplate).subscribe(function(t){r.goBack()}))},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(pv),e.Y36(Xn),e.Y36(kr),e.Y36(ne.qu))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-copy-iou-template"]],decls:15,vars:2,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[1,"matCard"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","placeholder","Name","formControlName","templateName",3,"ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Copy IOU device template"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"mat-card",5),e.TgZ(7,"form",6),e.TgZ(8,"mat-form-field",7),e.TgZ(9,"input",8),e.NdJ("ngModelChange",function(a){return i.templateName=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(10,"div",9),e.TgZ(11,"button",10),e.NdJ("click",function(){return i.goBack()}),e._uU(12,"Cancel"),e.qZA(),e.TgZ(13,"button",11),e.NdJ("click",function(){return i.addTemplate()}),e._uU(14,"Copy template"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(7),e.Q6J("formGroup",i.templateNameForm),e.xp6(2),e.Q6J("ngModel",i.templateName))},directives:[_i,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,Mn],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}(),nL=function(){function n(){}return n.prototype.getConsoleTypes=function(){return["telnet","none"]},n.prototype.getCategories=function(){return[["Default","guest"],["Routers","router"],["Switches","switch"],["End devices","guest"],["Security devices","firewall"]]},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}();function wpe(n,r){if(1&n&&(e.TgZ(0,"mat-option",31),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}function kpe(n,r){if(1&n&&(e.TgZ(0,"mat-option",31),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Epe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-form-field",2),e.TgZ(1,"input",32),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw(2).iouTemplate.ram=a}),e.qZA(),e.TgZ(2,"span",33),e._uU(3,"MB"),e.qZA(),e.qZA()}if(2&n){var i=e.oxw(2);e.xp6(1),e.Q6J("ngModel",i.iouTemplate.ram)}}function Mpe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-form-field",2),e.TgZ(1,"input",34),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw(2).iouTemplate.nvram=a}),e.qZA(),e.TgZ(2,"span",33),e._uU(3,"MB"),e.qZA(),e.qZA()}if(2&n){var i=e.oxw(2);e.xp6(1),e.Q6J("ngModel",i.iouTemplate.nvram)}}var _j=function(){return{standalone:!0}};function Ape(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",6),e.TgZ(1,"mat-accordion"),e.TgZ(2,"mat-expansion-panel"),e.TgZ(3,"mat-expansion-panel-header"),e.TgZ(4,"mat-panel-title"),e._uU(5," General settings "),e.qZA(),e.qZA(),e.TgZ(6,"form",7),e.TgZ(7,"mat-form-field",2),e.TgZ(8,"input",8),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iouTemplate.name=a}),e.qZA(),e.qZA(),e.TgZ(9,"mat-form-field",2),e.TgZ(10,"input",9),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iouTemplate.default_name_format=a}),e.qZA(),e.qZA(),e.TgZ(11,"mat-form-field",2),e.TgZ(12,"input",10),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iouTemplate.symbol=a}),e.qZA(),e.qZA(),e.TgZ(13,"button",11),e.NdJ("click",function(){return e.CHM(t),e.oxw().chooseSymbol()}),e._uU(14,"Choose symbol"),e.qZA(),e._UZ(15,"br"),e._UZ(16,"br"),e.TgZ(17,"mat-form-field",2),e.TgZ(18,"mat-select",12),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iouTemplate.category=a}),e.YNc(19,wpe,2,2,"mat-option",13),e.qZA(),e.qZA(),e.TgZ(20,"input",14,15),e.NdJ("change",function(a){return e.CHM(t),e.oxw().uploadImageFile(a)}),e.qZA(),e.TgZ(22,"button",16),e.NdJ("click",function(){return e.CHM(t),e.MAs(21).click()}),e._uU(23,"Browse"),e.qZA(),e.TgZ(24,"mat-form-field",17),e.TgZ(25,"input",18),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iouTemplate.path=a}),e.qZA(),e.qZA(),e.TgZ(26,"mat-form-field",2),e.TgZ(27,"input",19),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iouTemplate.startup_config=a}),e.qZA(),e.qZA(),e.TgZ(28,"mat-form-field",2),e.TgZ(29,"input",20),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iouTemplate.private_config=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(30,"mat-form-field",21),e.TgZ(31,"mat-select",22),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iouTemplate.console_type=a}),e.YNc(32,kpe,2,2,"mat-option",13),e.qZA(),e.qZA(),e.TgZ(33,"mat-checkbox",23),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iouTemplate.console_auto_start=a}),e._uU(34," Auto start console "),e.qZA(),e._UZ(35,"br"),e.TgZ(36,"mat-checkbox",23),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iouTemplate.l1_keepalives=a}),e._uU(37," Enable layer 1 keepalive messages (non-functional) "),e.qZA(),e._UZ(38,"br"),e.TgZ(39,"mat-checkbox",23),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().defaultSettings=a}),e._uU(40," Use default IOU values for memories "),e.qZA(),e.YNc(41,Epe,4,1,"mat-form-field",24),e.YNc(42,Mpe,4,1,"mat-form-field",24),e.qZA(),e.TgZ(43,"mat-expansion-panel"),e.TgZ(44,"mat-expansion-panel-header"),e.TgZ(45,"mat-panel-title"),e._uU(46," Network "),e.qZA(),e.qZA(),e.TgZ(47,"form",7),e.TgZ(48,"mat-form-field",2),e.TgZ(49,"input",25),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iouTemplate.ethernet_adapters=a}),e.qZA(),e.qZA(),e.TgZ(50,"mat-form-field",2),e.TgZ(51,"input",26),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iouTemplate.serial_adapters=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(52,"mat-expansion-panel"),e.TgZ(53,"mat-expansion-panel-header"),e.TgZ(54,"mat-panel-title"),e._uU(55," Usage "),e.qZA(),e.qZA(),e.TgZ(56,"mat-form-field",2),e.TgZ(57,"textarea",27),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().iouTemplate.usage=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(58,"div",28),e.TgZ(59,"button",29),e.NdJ("click",function(){return e.CHM(t),e.oxw().goBack()}),e._uU(60,"Cancel"),e.qZA(),e.TgZ(61,"button",30),e.NdJ("click",function(){return e.CHM(t),e.oxw().onSave()}),e._uU(62,"Save"),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(6),e.Q6J("formGroup",i.generalSettingsForm),e.xp6(2),e.Q6J("ngModel",i.iouTemplate.name),e.xp6(2),e.Q6J("ngModel",i.iouTemplate.default_name_format),e.xp6(2),e.Q6J("ngModel",i.iouTemplate.symbol),e.xp6(6),e.Q6J("ngModelOptions",e.DdM(22,_j))("ngModel",i.iouTemplate.category),e.xp6(1),e.Q6J("ngForOf",i.categories),e.xp6(6),e.Q6J("ngModel",i.iouTemplate.path),e.xp6(2),e.Q6J("ngModel",i.iouTemplate.startup_config),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(23,_j))("ngModel",i.iouTemplate.private_config),e.xp6(2),e.Q6J("ngModel",i.iouTemplate.console_type),e.xp6(1),e.Q6J("ngForOf",i.consoleTypes),e.xp6(1),e.Q6J("ngModel",i.iouTemplate.console_auto_start),e.xp6(3),e.Q6J("ngModel",i.iouTemplate.l1_keepalives),e.xp6(3),e.Q6J("ngModel",i.defaultSettings),e.xp6(2),e.Q6J("ngIf",!i.defaultSettings),e.xp6(1),e.Q6J("ngIf",!i.defaultSettings),e.xp6(5),e.Q6J("formGroup",i.networkForm),e.xp6(2),e.Q6J("ngModel",i.iouTemplate.ethernet_adapters),e.xp6(2),e.Q6J("ngModel",i.iouTemplate.serial_adapters),e.xp6(6),e.Q6J("ngModel",i.iouTemplate.usage)}}function Dpe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"app-symbols-menu",35),e.NdJ("symbolChangedEmitter",function(a){return e.CHM(t),e.oxw().symbolChanged(a)}),e.qZA()}if(2&n){var i=e.oxw();e.Q6J("server",i.server)("symbol",i.iouTemplate.symbol)}}var Ope=function(n){return{shadowed:n}},Ppe=function(){function n(r,t,i,o,a,s,u){this.route=r,this.serverService=t,this.iouService=i,this.toasterService=o,this.configurationService=a,this.router=s,this.formBuilder=u,this.isSymbolSelectionOpened=!1,this.defaultSettings=!0,this.consoleTypes=[],this.consoleResolutions=[],this.categories=[],this.generalSettingsForm=this.formBuilder.group({templateName:new ne.NI("",ne.kI.required),defaultName:new ne.NI("",ne.kI.required),symbol:new ne.NI("",ne.kI.required),path:new ne.NI("",ne.kI.required),initialConfig:new ne.NI("",ne.kI.required)}),this.networkForm=this.formBuilder.group({ethernetAdapters:new ne.NI("",ne.kI.required),serialAdapters:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id"),i=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(t,10)).then(function(o){r.server=o,r.getConfiguration(),r.iouService.getTemplate(r.server,i).subscribe(function(a){r.iouTemplate=a})})},n.prototype.getConfiguration=function(){this.consoleTypes=this.configurationService.getConsoleTypes(),this.categories=this.configurationService.getCategories()},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","iou","templates"])},n.prototype.onSave=function(){var r=this;this.generalSettingsForm.invalid||this.networkForm.invalid?this.toasterService.error("Fill all required fields"):this.iouService.saveTemplate(this.server,this.iouTemplate).subscribe(function(){r.toasterService.success("Changes saved")})},n.prototype.uploadImageFile=function(r){this.iouTemplate.path=r.target.files[0].name},n.prototype.chooseSymbol=function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened},n.prototype.symbolChanged=function(r){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.iouTemplate.symbol=r},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(pv),e.Y36(Xn),e.Y36(nL),e.Y36(kr),e.Y36(ne.qu))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-iou-template-details"]],decls:7,vars:5,consts:[[1,"content",3,"ngClass"],[1,"default-header"],[1,"form-field"],[1,"col"],["class","default-content",4,"ngIf"],[3,"server","symbol","symbolChangedEmitter",4,"ngIf"],[1,"default-content"],[3,"formGroup"],["matInput","","formControlName","templateName","type","text","placeholder","Template name",3,"ngModel","ngModelChange"],["matInput","","formControlName","defaultName","type","text","placeholder","Default name format",3,"ngModel","ngModelChange"],["matInput","","formControlName","symbol","type","text","placeholder","Symbol",3,"ngModel","ngModelChange"],["mat-button","",1,"symbolSelectionButton",3,"click"],["placeholder","Category",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["type","file","accept",".bin","ngDefaultControl","",1,"nonvisible",3,"change"],["file",""],["mat-raised-button","","color","primary",1,"file-button",3,"click"],[1,"file-name-form-field"],["matInput","","formControlName","path","type","text","placeholder","IOU image path",3,"ngModel","ngModelChange"],["matInput","","formControlName","initialConfig","type","text","placeholder","Startup config",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Private config",3,"ngModelOptions","ngModel","ngModelChange"],[1,"select"],["placeholder","Console type",3,"ngModel","ngModelChange"],[3,"ngModel","ngModelChange"],["class","form-field",4,"ngIf"],["matInput","","formControlName","ethernetAdapters","type","number","placeholder","Ethernet adapters",3,"ngModel","ngModelChange"],["matInput","","formControlName","serialAdapters","type","number","placeholder","Serial adapters",3,"ngModel","ngModelChange"],["matInput","","type","text",3,"ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],["matInput","","type","number","placeholder","RAM size",3,"ngModel","ngModelChange"],["matSuffix",""],["matInput","","type","number","placeholder","NVRAM size",3,"ngModel","ngModelChange"],[3,"server","symbol","symbolChangedEmitter"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"IOU device configuration"),e.qZA(),e.qZA(),e.qZA(),e.YNc(5,Ape,63,24,"div",4),e.qZA(),e.YNc(6,Dpe,1,2,"app-symbols-menu",5)),2&t&&(e.Q6J("ngClass",e.VKq(3,Ope,i.isSymbolSelectionOpened)),e.xp6(5),e.Q6J("ngIf",i.iouTemplate),e.xp6(1),e.Q6J("ngIf",i.isSymbolSelectionOpened&&i.iouTemplate))},directives:[Et.mk,Et.O5,od,Xu,$u,id,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,Mn,pi.gD,ne.On,Et.sg,Zo,ne.wV,ln.ey,Un.R9,sd],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}();function Ipe(n,r){if(1&n&&(e.TgZ(0,"button",10),e._uU(1," Back "),e.qZA()),2&n){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences")}}function Rpe(n,r){if(1&n&&(e.TgZ(0,"button",11),e._uU(1," Add IOU device template "),e.qZA()),2&n){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences/iou/addtemplate")}}function Npe(n,r){1&n&&e._UZ(0,"app-empty-templates-list")}function Zpe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",15),e.TgZ(1,"mat-list-item",16),e._uU(2),e.qZA(),e.TgZ(3,"button",17),e.TgZ(4,"mat-icon"),e._uU(5,"more_vert"),e.qZA(),e.qZA(),e.TgZ(6,"mat-menu",null,18),e.TgZ(8,"button",19),e.NdJ("click",function(){var u=e.CHM(t).$implicit;return e.oxw(3).deleteTemplate(u)}),e.TgZ(9,"mat-icon"),e._uU(10,"delete"),e.qZA(),e.TgZ(11,"span"),e._uU(12,"Delete"),e.qZA(),e.qZA(),e.TgZ(13,"button",19),e.NdJ("click",function(){var u=e.CHM(t).$implicit;return e.oxw(3).copyTemplate(u)}),e.TgZ(14,"mat-icon"),e._uU(15,"content_copy"),e.qZA(),e.TgZ(16,"span"),e._uU(17,"Copy"),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=r.$implicit,o=e.MAs(7);e.xp6(1),e.s9C("routerLink",i.template_id),e.xp6(1),e.Oqu(i.name),e.xp6(1),e.Q6J("matMenuTriggerFor",o)}}function Lpe(n,r){if(1&n&&(e.TgZ(0,"mat-nav-list"),e.YNc(1,Zpe,18,3,"div",14),e.qZA()),2&n){var t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.iouTemplates)}}function Fpe(n,r){if(1&n&&(e.TgZ(0,"div",12),e.TgZ(1,"div",13),e.YNc(2,Lpe,2,1,"mat-nav-list",6),e.qZA(),e.qZA()),2&n){var t=e.oxw();e.xp6(2),e.Q6J("ngIf",t.server)}}var Bpe=function(){function n(r,t,i,o){this.route=r,this.serverService=t,this.iouService=i,this.router=o,this.iouTemplates=[]}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(t,10)).then(function(i){r.server=i,r.getTemplates()})},n.prototype.getTemplates=function(){var r=this;this.iouService.getTemplates(this.server).subscribe(function(t){r.iouTemplates=t.filter(function(i){return"iou"===i.template_type&&!i.builtin})})},n.prototype.deleteTemplate=function(r){this.deleteComponent.deleteItem(r.name,r.template_id)},n.prototype.onDeleteEvent=function(){this.getTemplates()},n.prototype.copyTemplate=function(r){this.router.navigate(["/server",this.server.id,"preferences","iou","templates",r.template_id,"copy"])},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(pv),e.Y36(kr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-iou-templates"]],viewQuery:function(t,i){var o;(1&t&&e.Gf(wa,5),2&t)&&(e.iGM(o=e.CRH())&&(i.deleteComponent=o.first))},decls:11,vars:5,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],["class","top-button","class","cancel-button","mat-button","",3,"routerLink",4,"ngIf"],["class","top-button","mat-raised-button","","color","primary",3,"routerLink",4,"ngIf"],[4,"ngIf"],["class","default-content",4,"ngIf"],[3,"server","deleteEvent"],["deleteComponent",""],["mat-button","",1,"cancel-button",3,"routerLink"],["mat-raised-button","","color","primary",1,"top-button",3,"routerLink"],[1,"default-content"],[1,"listcontainer","mat-elevation-z8"],["class","list-item",4,"ngFor","ngForOf"],[1,"list-item"],[1,"template-name",3,"routerLink"],["mat-button","",1,"menu-button",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"IOU device templates"),e.qZA(),e.YNc(5,Ipe,2,1,"button",4),e.YNc(6,Rpe,2,1,"button",5),e.qZA(),e.qZA(),e.YNc(7,Npe,1,0,"app-empty-templates-list",6),e.YNc(8,Fpe,3,1,"div",7),e.qZA(),e.TgZ(9,"app-delete-template",8,9),e.NdJ("deleteEvent",function(){return i.onDeleteEvent()}),e.qZA()),2&t&&(e.xp6(5),e.Q6J("ngIf",i.server),e.xp6(1),e.Q6J("ngIf",i.server),e.xp6(1),e.Q6J("ngIf",!i.iouTemplates.length),e.xp6(1),e.Q6J("ngIf",i.iouTemplates.length),e.xp6(1),e.Q6J("server",i.server))},directives:[Et.O5,wa,Mn,fa,ud,ku,Et.sg,Cs,Qa,sr,Ss,Zr],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}(),Upe=function(){function n(r){this.route=r,this.serverId=""}return n.prototype.ngOnInit=function(){this.serverId=this.route.snapshot.paramMap.get("server_id")},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-preferences"]],decls:26,vars:9,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[1,"listcontainer","mat-elevation-z8"],[3,"routerLink"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Preferences"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"div",5),e.TgZ(7,"mat-nav-list"),e.TgZ(8,"mat-list-item",6),e._uU(9," GNS3 VM "),e.qZA(),e.TgZ(10,"mat-list-item",6),e._uU(11," Built-in "),e.qZA(),e.TgZ(12,"mat-list-item",6),e._uU(13," Dynamips "),e.qZA(),e.TgZ(14,"mat-list-item",6),e._uU(15," IOS on Unix "),e.qZA(),e.TgZ(16,"mat-list-item",6),e._uU(17," VPCS "),e.qZA(),e.TgZ(18,"mat-list-item",6),e._uU(19," QEMU "),e.qZA(),e.TgZ(20,"mat-list-item",6),e._uU(21," VirtualBox "),e.qZA(),e.TgZ(22,"mat-list-item",6),e._uU(23," VMware "),e.qZA(),e.TgZ(24,"mat-list-item",6),e._uU(25," Docker "),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(8),e.MGl("routerLink","/server/",i.serverId,"/preferences/gns3vm"),e.xp6(2),e.MGl("routerLink","/server/",i.serverId,"/preferences/builtin"),e.xp6(2),e.MGl("routerLink","/server/",i.serverId,"/preferences/dynamips/templates"),e.xp6(2),e.MGl("routerLink","/server/",i.serverId,"/preferences/iou/templates"),e.xp6(2),e.MGl("routerLink","/server/",i.serverId,"/preferences/vpcs/templates"),e.xp6(2),e.MGl("routerLink","/server/",i.serverId,"/preferences/qemu/templates"),e.xp6(2),e.MGl("routerLink","/server/",i.serverId,"/preferences/virtualbox/templates"),e.xp6(2),e.MGl("routerLink","/server/",i.serverId,"/preferences/vmware/templates"),e.xp6(2),e.MGl("routerLink","/server/",i.serverId,"/preferences/docker/templates"))},directives:[ku,Cs,fa],styles:[".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}(),rL=function(){return function(){}}(),hp=function(){function n(r){this.httpServer=r}return n.prototype.getTemplates=function(r){return this.httpServer.get(r,"/templates")},n.prototype.getTemplate=function(r,t){return this.httpServer.get(r,"/templates/"+t)},n.prototype.getImagePath=function(r,t){return r.protocol+"//"+r.host+":"+r.port+"/v2/compute/qemu/images/"+t},n.prototype.getBinaries=function(r){return this.httpServer.get(r,"/computes/local/qemu/binaries")},n.prototype.getImages=function(r){return this.httpServer.get(r,"/compute/qemu/images")},n.prototype.addImage=function(r,t){return this.httpServer.post(r,"/compute/qemu/img",t)},n.prototype.addTemplate=function(r,t){return this.httpServer.post(r,"/templates",t)},n.prototype.saveTemplate=function(r,t){return this.httpServer.put(r,"/templates/"+t.template_id,t)},n.\u0275fac=function(t){return new(t||n)(e.LFG(Yo.wh))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),_2=function(){function n(){}return n.prototype.getConsoleTypes=function(){return["telnet","vnc","spice","spice+agent","none"]},n.prototype.getDiskInterfaces=function(){return["ide","sata","scsi","sd","mtd","floppy","pflash","virtio","nvme","none"]},n.prototype.getNetworkTypes=function(){return["e1000","e1000-82544gc","e1000-82545em","e1000e","rocker","Intel Gigabit Ethernet","i82550","i82551","i82557a","i82557b","i82557c","i82558a","i82558b","i82559a","i82559b","i82559c","i82559er","i82562","i82801","ne2k_pci","pcnet","rtl8139","virtio","virtio-net-pci","vmxnet3"]},n.prototype.getBootPriorities=function(){return[["HDD","c"],["CD/DVD-ROM","d"],["Network","n"],["HDD or Network","cn"],["HDD or CD/DVD-ROM","cd"]]},n.prototype.getOnCloseOptions=function(){return[["Power off the VM","power_off"],["Send the shutdown signal (ACPI)","shutdown_signal"],["Save the VM state","save_vm_state"]]},n.prototype.getCategories=function(){return[["Default","guest"],["Routers","router"],["Switches","switch"],["End devices","guest"],["Security devices","firewall"]]},n.prototype.getPriorities=function(){return["realtime","very high","high","normal","low","very low"]},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}();function Hpe(n,r){if(1&n&&(e.TgZ(0,"mat-option",29),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t.path," ")}}function Vpe(n,r){if(1&n&&(e.TgZ(0,"mat-option",29),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function qpe(n,r){if(1&n&&(e.TgZ(0,"mat-option",29),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t.filename," ")}}var iL=function(){return{standalone:!0}};function jpe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-select",30),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().selectedImage=a}),e.YNc(1,qpe,2,2,"mat-option",17),e.qZA()}if(2&n){var i=e.oxw();e.Q6J("ngModelOptions",e.DdM(3,iL))("ngModel",i.selectedImage),e.xp6(1),e.Q6J("ngForOf",i.qemuImages)}}function zpe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"input",31,32),e.NdJ("change",function(a){return e.CHM(t),e.oxw().uploadImageFile(a)}),e.qZA(),e.TgZ(3,"button",33),e.NdJ("click",function(){return e.CHM(t),e.MAs(2).click()}),e._uU(4,"Browse"),e.qZA(),e.TgZ(5,"mat-form-field",34),e.TgZ(6,"input",35),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().chosenImage=a}),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(1),e.Q6J("uploader",i.uploader),e.xp6(5),e.Q6J("ngModel",i.chosenImage)}}var Wpe=function(){function n(r,t,i,o,a,s,u,p,m){this.route=r,this.serverService=t,this.qemuService=i,this.toasterService=o,this.router=a,this.formBuilder=s,this.templateMocksService=u,this.configurationService=p,this.computeService=m,this.qemuBinaries=[],this.consoleTypes=[],this.newImageSelected=!1,this.qemuImages=[],this.chosenImage="",this.isGns3VmAvailable=!1,this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0,this.qemuTemplate=new rL,this.nameForm=this.formBuilder.group({templateName:new ne.NI(null,ne.kI.required)}),this.memoryForm=this.formBuilder.group({ramMemory:new ne.NI("256",ne.kI.required)}),this.diskForm=this.formBuilder.group({fileName:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this;this.uploader=new tv({}),this.uploader.onAfterAddingFile=function(i){i.withCredentials=!1},this.uploader.onErrorItem=function(i,o,a,s){r.toasterService.error("An error occured: "+o)},this.uploader.onSuccessItem=function(i,o,a,s){r.qemuService.getImages(r.server).subscribe(function(u){r.qemuImages=u}),r.toasterService.success("Image uploaded")};var t=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(t,10)).then(function(i){r.server=i,r.templateMocksService.getQemuTemplate().subscribe(function(o){r.qemuTemplate=o}),r.qemuService.getBinaries(i).subscribe(function(o){r.qemuBinaries=o,r.qemuBinaries[0]&&(r.selectedBinary=r.qemuBinaries[0])}),r.qemuService.getImages(i).subscribe(function(o){r.qemuImages=o}),r.consoleTypes=r.configurationService.getConsoleTypes(),r.computeService.getComputes(i).subscribe(function(o){o.filter(function(a){return"vm"===a.compute_id}).length>0&&(r.isGns3VmAvailable=!0)})})},n.prototype.setServerType=function(r){"gns3 vm"===r&&this.isGns3VmAvailable?(this.isGns3VmChosen=!0,this.isLocalComputerChosen=!1):(this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0)},n.prototype.setDiskImage=function(r){this.newImageSelected="newImage"===r},n.prototype.uploadImageFile=function(r){var t=r.target.files[0].name;this.diskForm.controls.fileName.setValue(t);var i=this.qemuService.getImagePath(this.server,t);this.uploader.queue.forEach(function(a){return a.url=i});var o=this.uploader.queue[0];o.options&&(o.options.disableMultipart=!0),this.uploader.uploadItem(o)},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","qemu","templates"])},n.prototype.addTemplate=function(){var r=this;this.nameForm.invalid||this.memoryForm.invalid||!this.selectedImage&&!this.chosenImage?this.toasterService.error("Fill all required fields"):(this.qemuTemplate.ram=+this.memoryForm.get("ramMemory").value,this.qemuTemplate.qemu_path=this.selectedBinary.path,this.qemuTemplate.hda_disk_image=this.newImageSelected?this.diskForm.get("fileName").value:this.selectedImage.path,this.qemuTemplate.template_id=(0,xa.v4)(),this.qemuTemplate.name=this.nameForm.get("templateName").value,this.qemuTemplate.compute_id=this.isGns3VmChosen?"vm":"local",this.qemuService.addTemplate(this.server,this.qemuTemplate).subscribe(function(t){r.goBack()}))},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(hp),e.Y36(Xn),e.Y36(kr),e.Y36(ne.qu),e.Y36(ec),e.Y36(_2),e.Y36(tc.X))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-add-qemu-virtual-machine-template"]],decls:49,vars:19,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[1,"container","mat-elevation-z8"],[3,"linear"],["label","Server type",3,"completed"],[1,"radio-group"],["value","1","checked","",1,"radio-button",3,"click"],["value","2",1,"radio-button",3,"disabled","click"],["label","QEMU VM Name",3,"completed"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","templateName","placeholder","Please choose a descriptive name for your new QEMU virtual machine","ngDefaultContro",""],["label","QEMU binary and memory",3,"completed"],["placeholder","Qemu binary",3,"ngModel","ngModelOptions","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["matInput","","type","number","placeholder","RAM","formControlName","ramMemory","ngDefaultControl",""],["matSuffix",""],["label","Console type",3,"completed"],["placeholder","Console type",3,"ngModel","ngModelOptions","ngModelChange"],["label","Disk image"],["value","2",1,"radio-button",3,"click"],["placeholder","Disk image (hda)",3,"ngModelOptions","ngModel","ngModelChange",4,"ngIf"],[4,"ngIf"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],["placeholder","Disk image (hda)",3,"ngModelOptions","ngModel","ngModelChange"],["type","file","accept",".qcow2","ng2FileSelect","",1,"nonvisible",3,"uploader","change"],["file",""],["mat-raised-button","","color","primary",1,"file-button",3,"click"],[1,"file-name-form-field"],["matInput","","type","text","formControlName","fileName","placeholder","Please enter name",3,"ngModel","ngModelChange"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"New QEMU VM template"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"div",5),e.TgZ(7,"mat-vertical-stepper",6),e.TgZ(8,"mat-step",7),e.TgZ(9,"mat-radio-group",8),e.TgZ(10,"mat-radio-button",9),e.NdJ("click",function(){return i.setServerType("local")}),e._uU(11,"Run this QEMU VM locally"),e.qZA(),e.TgZ(12,"mat-radio-button",10),e.NdJ("click",function(){return i.setServerType("gns3 vm")}),e._uU(13,"Run this QEMU VM on the GNS3 VM"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(14,"mat-step",11),e.TgZ(15,"form",12),e.TgZ(16,"mat-form-field",13),e._UZ(17,"input",14),e.qZA(),e._UZ(18,"br"),e.qZA(),e.qZA(),e.TgZ(19,"mat-step",15),e.TgZ(20,"form",12),e.TgZ(21,"mat-form-field",13),e.TgZ(22,"mat-select",16),e.NdJ("ngModelChange",function(a){return i.selectedBinary=a}),e.YNc(23,Hpe,2,2,"mat-option",17),e.qZA(),e.qZA(),e._UZ(24,"br"),e.TgZ(25,"mat-form-field",13),e._UZ(26,"input",18),e.TgZ(27,"span",19),e._uU(28,"MB"),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(29,"mat-step",20),e.TgZ(30,"mat-form-field",13),e.TgZ(31,"mat-select",21),e.NdJ("ngModelChange",function(a){return i.qemuTemplate.console_type=a}),e.YNc(32,Vpe,2,2,"mat-option",17),e.qZA(),e.qZA(),e.qZA(),e.TgZ(33,"mat-step",22),e.TgZ(34,"form",12),e.TgZ(35,"mat-radio-group",8),e.TgZ(36,"mat-radio-button",9),e.NdJ("click",function(){return i.setDiskImage("existingImage")}),e._uU(37,"Existing image"),e.qZA(),e.TgZ(38,"mat-radio-button",23),e.NdJ("click",function(){return i.setDiskImage("newImage")}),e._uU(39,"New image"),e.qZA(),e.qZA(),e._UZ(40,"br"),e._UZ(41,"br"),e.YNc(42,jpe,2,4,"mat-select",24),e.YNc(43,zpe,7,2,"div",25),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(44,"div",26),e.TgZ(45,"button",27),e.NdJ("click",function(){return i.goBack()}),e._uU(46,"Cancel"),e.qZA(),e.TgZ(47,"button",28),e.NdJ("click",function(){return i.addTemplate()}),e._uU(48,"Add template"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(7),e.Q6J("linear",!0),e.xp6(1),e.Q6J("completed",i.isGns3VmChosen||i.isLocalComputerChosen),e.xp6(4),e.Q6J("disabled",!i.isGns3VmAvailable),e.xp6(2),e.Q6J("completed",i.nameForm.get("templateName").value),e.xp6(1),e.Q6J("formGroup",i.nameForm),e.xp6(4),e.Q6J("completed",i.memoryForm.get("ramMemory").value&&i.selectedBinary),e.xp6(1),e.Q6J("formGroup",i.memoryForm),e.xp6(2),e.Q6J("ngModel",i.selectedBinary)("ngModelOptions",e.DdM(17,iL)),e.xp6(1),e.Q6J("ngForOf",i.qemuBinaries),e.xp6(6),e.Q6J("completed",i.qemuTemplate.console_type),e.xp6(2),e.Q6J("ngModel",i.qemuTemplate.console_type)("ngModelOptions",e.DdM(18,iL)),e.xp6(1),e.Q6J("ngForOf",i.consoleTypes),e.xp6(2),e.Q6J("formGroup",i.diskForm),e.xp6(8),e.Q6J("ngIf",!i.newImageSelected),e.xp6(1),e.Q6J("ngIf",i.newImageSelected))},directives:[uy,ly,fl,hl,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,pi.gD,ne.On,Et.sg,ne.wV,Un.R9,Et.O5,Mn,ln.ey,vS],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}(),Gpe=function(){function n(r,t,i,o,a,s){this.route=r,this.serverService=t,this.qemuService=i,this.toasterService=o,this.router=a,this.formBuilder=s,this.qemuBinaries=[],this.templateName="",this.nameForm=this.formBuilder.group({templateName:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id"),i=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(t,10)).then(function(o){r.server=o,r.qemuService.getTemplate(r.server,i).subscribe(function(a){r.qemuTemplate=a,r.templateName="Copy of "+r.qemuTemplate.name})})},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","qemu","templates"])},n.prototype.addTemplate=function(){var r=this;this.nameForm.invalid?this.toasterService.error("Fill all required fields"):(this.qemuTemplate.template_id=(0,xa.v4)(),this.qemuTemplate.name=this.templateName,this.qemuService.addTemplate(this.server,this.qemuTemplate).subscribe(function(t){r.goBack()}))},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(hp),e.Y36(Xn),e.Y36(kr),e.Y36(ne.qu))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-copy-qemu-virtual-machine-template"]],decls:15,vars:2,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[1,"matCard"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","placeholder","Name","formControlName","templateName",3,"ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Copy QEMU VM template"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"mat-card",5),e.TgZ(7,"form",6),e.TgZ(8,"mat-form-field",7),e.TgZ(9,"input",8),e.NdJ("ngModelChange",function(a){return i.templateName=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(10,"div",9),e.TgZ(11,"button",10),e.NdJ("click",function(){return i.goBack()}),e._uU(12,"Cancel"),e.qZA(),e.TgZ(13,"button",11),e.NdJ("click",function(){return i.addTemplate()}),e._uU(14,"Copy template"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(7),e.Q6J("formGroup",i.nameForm),e.xp6(2),e.Q6J("ngModel",i.templateName))},directives:[_i,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,Mn],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}();function Ype(n,r){1&n&&(e.TgZ(0,"th",10),e._uU(1,"Adapter number"),e.qZA())}function Jpe(n,r){if(1&n&&(e.TgZ(0,"td",11),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.hij("Adapter ",t.adapter_number,"")}}function Qpe(n,r){1&n&&(e.TgZ(0,"th",10),e._uU(1,"Port name"),e.qZA())}function Kpe(n,r){if(1&n&&(e.TgZ(0,"td",11),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.hij("Ethernet ",t.adapter_number,"")}}function Xpe(n,r){1&n&&(e.TgZ(0,"th",10),e._uU(1,"Adapter type"),e.qZA())}function $pe(n,r){if(1&n&&(e.TgZ(0,"mat-option",14),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function efe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"td",11),e.TgZ(1,"mat-select",12),e.NdJ("ngModelChange",function(s){return e.CHM(t).$implicit.adapter_type=s}),e.YNc(2,$pe,2,2,"mat-option",13),e.qZA(),e.qZA()}if(2&n){var i=r.$implicit,o=e.oxw();e.xp6(1),e.Q6J("ngModel",i.adapter_type),e.xp6(1),e.Q6J("ngForOf",o.networkTypes)}}function tfe(n,r){1&n&&(e.TgZ(0,"th",10),e._uU(1,"Actions"),e.qZA())}function nfe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"td",11),e.TgZ(1,"button",15),e.NdJ("click",function(){var a=e.CHM(t).$implicit;return e.oxw().delete(a)}),e.TgZ(2,"mat-icon",16),e._uU(3,"delete"),e.qZA(),e.qZA(),e.qZA()}}function rfe(n,r){1&n&&e._UZ(0,"tr",17)}function ife(n,r){1&n&&e._UZ(0,"tr",18)}var y2=function(){function n(){this.networkTypes=[],this.displayedColumns=[],this.adapters=[]}return n.prototype.onAdd=function(){this.adapters=this.adapters.concat([{adapter_number:this.adapters.length,adapter_type:this.networkTypes[0]}])},n.prototype.delete=function(r){this.adapters=this.adapters.filter(function(t){return t!==r})},n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-custom-adapters-table"]],inputs:{networkTypes:"networkTypes",displayedColumns:"displayedColumns",adapters:"adapters"},decls:17,vars:3,consts:[["mat-table","",1,"table",3,"dataSource"],["matColumnDef","adapter_number"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","port_name"],["matColumnDef","adapter_type"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-button","",1,"form-field",3,"click"],["mat-header-cell",""],["mat-cell",""],["placeholder","Type",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["mat-icon-button","","matTooltip","Delete adapter","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Delete adapter"],["mat-header-row",""],["mat-row",""]],template:function(t,i){1&t&&(e.TgZ(0,"table",0),e.ynx(1,1),e.YNc(2,Ype,2,0,"th",2),e.YNc(3,Jpe,2,1,"td",3),e.BQk(),e.ynx(4,4),e.YNc(5,Qpe,2,0,"th",2),e.YNc(6,Kpe,2,1,"td",3),e.BQk(),e.ynx(7,5),e.YNc(8,Xpe,2,0,"th",2),e.YNc(9,efe,3,2,"td",3),e.BQk(),e.ynx(10,6),e.YNc(11,tfe,2,0,"th",2),e.YNc(12,nfe,4,0,"td",3),e.BQk(),e.YNc(13,rfe,1,0,"tr",7),e.YNc(14,ife,1,0,"tr",8),e.qZA(),e.TgZ(15,"button",9),e.NdJ("click",function(){return i.onAdd()}),e._uU(16,"Add"),e.qZA()),2&t&&(e.Q6J("dataSource",i.adapters),e.xp6(13),e.Q6J("matHeaderRowDef",i.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",i.displayedColumns))},directives:[Yl,cl,ul,ll,Jl,Ql,Mn,dl,pl,pi.gD,ne.JJ,ne.On,Et.sg,ln.ey,Ja,sr,Kl,Xl],styles:[".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}(),ofe=["customAdapters"],oL=function(){function n(){this.networkTypes=[],this.displayedColumns=[],this.closeConfiguratorEmitter=new e.vpe,this.saveConfigurationEmitter=new e.vpe}return n.prototype.cancelConfigureCustomAdapters=function(){this.closeConfiguratorEmitter.emit(!1)},n.prototype.configureCustomAdapters=function(){var r=this;this.adapters=[],this.customAdapters.adapters.forEach(function(t){r.adapters.push({adapter_number:t.adapter_number,adapter_type:t.adapter_type})}),this.saveConfigurationEmitter.emit(this.adapters)},n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-custom-adapters"]],viewQuery:function(t,i){var o;(1&t&&e.Gf(ofe,5),2&t)&&(e.iGM(o=e.CRH())&&(i.customAdapters=o.first))},inputs:{networkTypes:"networkTypes",displayedColumns:"displayedColumns"},outputs:{closeConfiguratorEmitter:"closeConfiguratorEmitter",saveConfigurationEmitter:"saveConfigurationEmitter"},decls:15,vars:3,consts:[[1,"configurator"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[1,"container","mat-elevation-z8"],[3,"networkTypes","displayedColumns","adapters"],["customAdapters",""],[1,"buttons-bar"],["mat-button","",3,"click"],["mat-raised-button","","color","primary",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Custom adapters configuration"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"div",5),e._UZ(7,"app-custom-adapters-table",6,7),e.qZA(),e.TgZ(9,"div",8),e.TgZ(10,"button",9),e.NdJ("click",function(){return i.cancelConfigureCustomAdapters()}),e._uU(11,"Cancel"),e.qZA(),e.TgZ(12,"button",10),e.NdJ("click",function(){return i.configureCustomAdapters()}),e._uU(13,"Apply"),e.qZA(),e._UZ(14,"br"),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(7),e.Q6J("networkTypes",i.networkTypes)("displayedColumns",i.displayedColumns)("adapters",i.adapters))},directives:[y2,Mn],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}(),afe=["customAdaptersConfigurator"];function sfe(n,r){if(1&n&&(e.TgZ(0,"mat-option",54),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}function lfe(n,r){if(1&n&&(e.TgZ(0,"mat-option",54),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t.path),e.xp6(1),e.hij(" ",t.path," ")}}function ufe(n,r){if(1&n&&(e.TgZ(0,"mat-option",54),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}function cfe(n,r){if(1&n&&(e.TgZ(0,"mat-option",54),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}function dfe(n,r){if(1&n&&(e.TgZ(0,"mat-option",54),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function pfe(n,r){if(1&n&&(e.TgZ(0,"mat-option",54),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function ffe(n,r){if(1&n&&(e.TgZ(0,"mat-option",54),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function hfe(n,r){if(1&n&&(e.TgZ(0,"mat-option",54),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function mfe(n,r){if(1&n&&(e.TgZ(0,"mat-option",54),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function vfe(n,r){if(1&n&&(e.TgZ(0,"mat-option",54),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t[0]),e.xp6(1),e.AsE(" ",t[1]," (",t[0],") ")}}function gfe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-form-field",10),e.TgZ(1,"input",55),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw(2).qemuTemplate.cpu_throttling=a}),e.qZA(),e.qZA()}if(2&n){var i=e.oxw(2);e.xp6(1),e.Q6J("ngModel",i.qemuTemplate.cpu_throttling)}}function _fe(n,r){if(1&n&&(e.TgZ(0,"mat-option",54),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function yfe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",8),e.TgZ(1,"mat-accordion"),e.TgZ(2,"mat-expansion-panel"),e.TgZ(3,"mat-expansion-panel-header"),e.TgZ(4,"mat-panel-title"),e._uU(5," General settings "),e.qZA(),e.qZA(),e.TgZ(6,"form",9),e.TgZ(7,"mat-form-field",10),e.TgZ(8,"input",11),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.name=a}),e.qZA(),e.qZA(),e.TgZ(9,"mat-form-field",10),e.TgZ(10,"input",12),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.default_name_format=a}),e.qZA(),e.qZA(),e.TgZ(11,"mat-form-field",10),e.TgZ(12,"input",13),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.symbol=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(13,"button",14),e.NdJ("click",function(){return e.CHM(t),e.oxw().chooseSymbol()}),e._uU(14,"Choose symbol"),e.qZA(),e._UZ(15,"br"),e._UZ(16,"br"),e.TgZ(17,"mat-form-field",10),e.TgZ(18,"mat-select",15),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.category=a}),e.YNc(19,sfe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.TgZ(20,"mat-form-field",10),e.TgZ(21,"input",17),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.ram=a}),e.qZA(),e.TgZ(22,"span",18),e._uU(23,"MB"),e.qZA(),e.qZA(),e.TgZ(24,"mat-form-field",10),e.TgZ(25,"input",19),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.cpus=a}),e.qZA(),e.qZA(),e.TgZ(26,"mat-form-field",10),e.TgZ(27,"mat-select",20),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.qemu_path=a}),e.YNc(28,lfe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.TgZ(29,"mat-form-field",10),e.TgZ(30,"mat-select",21),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.boot_priority=a}),e.YNc(31,ufe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.TgZ(32,"mat-form-field",10),e.TgZ(33,"mat-select",22),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.on_close=a}),e.YNc(34,cfe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.TgZ(35,"mat-form-field",23),e.TgZ(36,"mat-select",24),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.console_type=a}),e.YNc(37,dfe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.TgZ(38,"mat-checkbox",25),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.console_auto_start=a}),e._uU(39," Auto start console "),e.qZA(),e.qZA(),e.TgZ(40,"mat-expansion-panel"),e.TgZ(41,"mat-expansion-panel-header"),e.TgZ(42,"mat-panel-title"),e._uU(43," HDD "),e.qZA(),e.qZA(),e.TgZ(44,"mat-card"),e._UZ(45,"mat-card-title"),e.TgZ(46,"mat-card-subtitle"),e._uU(47," HDA (Primary Master) "),e.qZA(),e.TgZ(48,"mat-card-content"),e.TgZ(49,"mat-form-field",10),e.TgZ(50,"input",26),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.hda_disk_image=a}),e.qZA(),e.qZA(),e.TgZ(51,"mat-form-field",10),e.TgZ(52,"mat-select",27),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.hda_disk_interface=a}),e.YNc(53,pfe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(54,"mat-card"),e._UZ(55,"mat-card-title"),e.TgZ(56,"mat-card-subtitle"),e._uU(57," HDB (Primary Slave) "),e.qZA(),e.TgZ(58,"mat-card-content"),e.TgZ(59,"mat-form-field",10),e.TgZ(60,"input",26),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.hdb_disk_image=a}),e.qZA(),e.qZA(),e.TgZ(61,"mat-form-field",10),e.TgZ(62,"mat-select",27),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.hdb_disk_interface=a}),e.YNc(63,ffe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(64,"mat-card"),e._UZ(65,"mat-card-title"),e.TgZ(66,"mat-card-subtitle"),e._uU(67," HDC (Secondary Master) "),e.qZA(),e.TgZ(68,"mat-card-content"),e.TgZ(69,"mat-form-field",10),e.TgZ(70,"input",26),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.hdc_disk_image=a}),e.qZA(),e.qZA(),e.TgZ(71,"mat-form-field",10),e.TgZ(72,"mat-select",27),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.hdc_disk_interface=a}),e.YNc(73,hfe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(74,"mat-card"),e._UZ(75,"mat-card-title"),e.TgZ(76,"mat-card-subtitle"),e._uU(77," HDD (Secondary Slave) "),e.qZA(),e.TgZ(78,"mat-card-content"),e.TgZ(79,"mat-form-field",10),e.TgZ(80,"input",26),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.hdd_disk_image=a}),e.qZA(),e.qZA(),e.TgZ(81,"mat-form-field",10),e.TgZ(82,"mat-select",27),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.hdd_disk_interface=a}),e.YNc(83,mfe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(84,"mat-expansion-panel"),e.TgZ(85,"mat-expansion-panel-header"),e.TgZ(86,"mat-panel-title"),e._uU(87," CD/DVD "),e.qZA(),e.qZA(),e.TgZ(88,"div"),e.TgZ(89,"button",28),e.NdJ("click",function(){return e.CHM(t),e.MAs(92).click()}),e._uU(90,"Browse"),e.qZA(),e.TgZ(91,"input",29,30),e.NdJ("change",function(a){return e.CHM(t),e.oxw().uploadCdromImageFile(a)}),e.qZA(),e.TgZ(93,"mat-form-field",31),e.TgZ(94,"input",32),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.cdrom_image=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(95,"mat-expansion-panel"),e.TgZ(96,"mat-expansion-panel-header"),e.TgZ(97,"mat-panel-title"),e._uU(98," Network "),e.qZA(),e.qZA(),e.TgZ(99,"mat-form-field",10),e.TgZ(100,"input",33),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.adapters=a}),e.qZA(),e.qZA(),e.TgZ(101,"mat-form-field",10),e.TgZ(102,"input",34),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.first_port_name=a}),e.qZA(),e.qZA(),e.TgZ(103,"mat-form-field",10),e.TgZ(104,"input",35),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.port_name_format=a}),e.qZA(),e.qZA(),e.TgZ(105,"mat-form-field",10),e.TgZ(106,"input",36),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.port_segment_size=a}),e.qZA(),e.qZA(),e.TgZ(107,"mat-form-field",10),e.TgZ(108,"input",37),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.mac_address=a}),e.qZA(),e.qZA(),e.TgZ(109,"mat-form-field",10),e.TgZ(110,"mat-select",38),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.adapter_type=a}),e.YNc(111,vfe,2,3,"mat-option",16),e.qZA(),e.qZA(),e.TgZ(112,"button",39),e.NdJ("click",function(){return e.CHM(t),e.oxw().setCustomAdaptersConfiguratorState(!0)}),e._uU(113," Configure custom adapters"),e.qZA(),e._UZ(114,"br"),e.TgZ(115,"mat-checkbox",25),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.legacy_networking=a}),e._uU(116," Use the legacy networking mode "),e.qZA(),e.qZA(),e.TgZ(117,"mat-expansion-panel"),e.TgZ(118,"mat-expansion-panel-header"),e.TgZ(119,"mat-panel-title"),e._uU(120," Advanced "),e.qZA(),e.qZA(),e.TgZ(121,"mat-card"),e._UZ(122,"mat-card-title"),e.TgZ(123,"mat-card-subtitle"),e._uU(124," Linux boot specific settings "),e.qZA(),e.TgZ(125,"mat-card-content"),e.TgZ(126,"div"),e.TgZ(127,"button",28),e.NdJ("click",function(){return e.CHM(t),e.MAs(130).click()}),e._uU(128,"Browse"),e.qZA(),e.TgZ(129,"input",29,40),e.NdJ("change",function(a){return e.CHM(t),e.oxw().uploadInitrdFile(a)}),e.qZA(),e.TgZ(131,"mat-form-field",31),e.TgZ(132,"input",41),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.initrd=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(133,"div"),e.TgZ(134,"button",28),e.NdJ("click",function(){return e.CHM(t),e.oxw().filekerenelimage.click()}),e._uU(135," Browse "),e.qZA(),e.TgZ(136,"input",29,42),e.NdJ("change",function(a){return e.CHM(t),e.oxw().uploadKernelImageFile(a)}),e.qZA(),e.TgZ(138,"mat-form-field",31),e.TgZ(139,"input",43),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.kernel_image=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(140,"mat-form-field",10),e.TgZ(141,"input",44),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.kernel_command_line=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(142,"mat-card"),e._UZ(143,"mat-card-title"),e.TgZ(144,"mat-card-subtitle"),e._uU(145," Bios "),e.qZA(),e.TgZ(146,"mat-card-content"),e.TgZ(147,"div"),e.TgZ(148,"button",28),e.NdJ("click",function(){return e.CHM(t),e.MAs(151).click()}),e._uU(149,"Browse"),e.qZA(),e.TgZ(150,"input",29,45),e.NdJ("change",function(a){return e.CHM(t),e.oxw().uploadBiosFile(a)}),e.qZA(),e.TgZ(152,"mat-form-field",31),e.TgZ(153,"input",46),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.bios_image=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(154,"mat-card"),e._UZ(155,"mat-card-title"),e.TgZ(156,"mat-card-subtitle"),e._uU(157," Optimization "),e.qZA(),e.TgZ(158,"mat-card-content"),e.TgZ(159,"mat-checkbox",25),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().activateCpuThrottling=a}),e._uU(160," Activate CPU throttling "),e.qZA(),e.YNc(161,gfe,2,1,"mat-form-field",47),e.TgZ(162,"mat-form-field",10),e.TgZ(163,"mat-select",48),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.process_priority=a}),e.YNc(164,_fe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(165,"mat-card"),e._UZ(166,"mat-card-title"),e.TgZ(167,"mat-card-subtitle"),e._uU(168," Additional settings "),e.qZA(),e.TgZ(169,"mat-card-content"),e.TgZ(170,"mat-form-field",10),e.TgZ(171,"input",49),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.options=a}),e.qZA(),e.qZA(),e.TgZ(172,"mat-checkbox",25),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.linked_clone=a}),e._uU(173," Use as a linked base VM "),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(174,"mat-expansion-panel"),e.TgZ(175,"mat-expansion-panel-header"),e.TgZ(176,"mat-panel-title"),e._uU(177," Usage "),e.qZA(),e.qZA(),e.TgZ(178,"mat-form-field",10),e.TgZ(179,"textarea",50),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuTemplate.usage=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(180,"div",51),e.TgZ(181,"button",52),e.NdJ("click",function(){return e.CHM(t),e.oxw().goBack()}),e._uU(182,"Cancel"),e.qZA(),e.TgZ(183,"button",53),e.NdJ("click",function(){return e.CHM(t),e.oxw().onSave()}),e._uU(184,"Save"),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(6),e.Q6J("formGroup",i.generalSettingsForm),e.xp6(2),e.Q6J("ngModel",i.qemuTemplate.name),e.xp6(2),e.Q6J("ngModel",i.qemuTemplate.default_name_format),e.xp6(2),e.Q6J("ngModel",i.qemuTemplate.symbol),e.xp6(6),e.Q6J("ngModel",i.qemuTemplate.category),e.xp6(1),e.Q6J("ngForOf",i.categories),e.xp6(2),e.Q6J("ngModel",i.qemuTemplate.ram),e.xp6(4),e.Q6J("ngModel",i.qemuTemplate.cpus),e.xp6(2),e.Q6J("ngModel",i.qemuTemplate.qemu_path),e.xp6(1),e.Q6J("ngForOf",i.binaries),e.xp6(2),e.Q6J("ngModel",i.qemuTemplate.boot_priority),e.xp6(1),e.Q6J("ngForOf",i.bootPriorities),e.xp6(2),e.Q6J("ngModel",i.qemuTemplate.on_close),e.xp6(1),e.Q6J("ngForOf",i.onCloseOptions),e.xp6(2),e.Q6J("ngModel",i.qemuTemplate.console_type),e.xp6(1),e.Q6J("ngForOf",i.consoleTypes),e.xp6(1),e.Q6J("ngModel",i.qemuTemplate.console_auto_start),e.xp6(12),e.Q6J("ngModel",i.qemuTemplate.hda_disk_image),e.xp6(2),e.Q6J("ngModel",i.qemuTemplate.hda_disk_interface),e.xp6(1),e.Q6J("ngForOf",i.diskInterfaces),e.xp6(7),e.Q6J("ngModel",i.qemuTemplate.hdb_disk_image),e.xp6(2),e.Q6J("ngModel",i.qemuTemplate.hdb_disk_interface),e.xp6(1),e.Q6J("ngForOf",i.diskInterfaces),e.xp6(7),e.Q6J("ngModel",i.qemuTemplate.hdc_disk_image),e.xp6(2),e.Q6J("ngModel",i.qemuTemplate.hdc_disk_interface),e.xp6(1),e.Q6J("ngForOf",i.diskInterfaces),e.xp6(7),e.Q6J("ngModel",i.qemuTemplate.hdd_disk_image),e.xp6(2),e.Q6J("ngModel",i.qemuTemplate.hdd_disk_interface),e.xp6(1),e.Q6J("ngForOf",i.diskInterfaces),e.xp6(11),e.Q6J("ngModel",i.qemuTemplate.cdrom_image),e.xp6(6),e.Q6J("ngModel",i.qemuTemplate.adapters),e.xp6(2),e.Q6J("ngModel",i.qemuTemplate.first_port_name),e.xp6(2),e.Q6J("ngModel",i.qemuTemplate.port_name_format),e.xp6(2),e.Q6J("ngModel",i.qemuTemplate.port_segment_size),e.xp6(2),e.Q6J("ngModel",i.qemuTemplate.mac_address),e.xp6(2),e.Q6J("ngModel",i.qemuTemplate.adapter_type),e.xp6(1),e.Q6J("ngForOf",i.networkTypes),e.xp6(4),e.Q6J("ngModel",i.qemuTemplate.legacy_networking),e.xp6(17),e.Q6J("ngModel",i.qemuTemplate.initrd),e.xp6(7),e.Q6J("ngModel",i.qemuTemplate.kernel_image),e.xp6(2),e.Q6J("ngModel",i.qemuTemplate.kernel_command_line),e.xp6(12),e.Q6J("ngModel",i.qemuTemplate.bios_image),e.xp6(6),e.Q6J("ngModel",i.activateCpuThrottling),e.xp6(2),e.Q6J("ngIf",i.activateCpuThrottling),e.xp6(2),e.Q6J("ngModel",i.qemuTemplate.process_priority),e.xp6(1),e.Q6J("ngForOf",i.priorities),e.xp6(7),e.Q6J("ngModel",i.qemuTemplate.options),e.xp6(1),e.Q6J("ngModel",i.qemuTemplate.linked_clone),e.xp6(7),e.Q6J("ngModel",i.qemuTemplate.usage)}}function bfe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"app-symbols-menu",56),e.NdJ("symbolChangedEmitter",function(a){return e.CHM(t),e.oxw().symbolChanged(a)}),e.qZA()}if(2&n){var i=e.oxw();e.Q6J("server",i.server)("symbol",i.qemuTemplate.symbol)}}var Cfe=function(n){return{shadowed:n}},Sfe=function(){function n(r,t,i,o,a,s,u){this.route=r,this.serverService=t,this.qemuService=i,this.toasterService=o,this.configurationService=a,this.formBuilder=s,this.router=u,this.isSymbolSelectionOpened=!1,this.consoleTypes=[],this.diskInterfaces=[],this.networkTypes=[],this.bootPriorities=[],this.onCloseOptions=[],this.categories=[],this.priorities=[],this.binaries=[],this.activateCpuThrottling=!0,this.isConfiguratorOpened=!1,this.displayedColumns=["adapter_number","port_name","adapter_type","actions"],this.generalSettingsForm=this.formBuilder.group({templateName:new ne.NI("",ne.kI.required),defaultName:new ne.NI("",ne.kI.required),symbol:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id"),i=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(t,10)).then(function(o){r.server=o,r.getConfiguration(),r.qemuService.getTemplate(r.server,i).subscribe(function(a){r.qemuTemplate=a,r.fillCustomAdapters(),r.qemuService.getBinaries(o).subscribe(function(s){r.binaries=s})})})},n.prototype.getConfiguration=function(){this.consoleTypes=this.configurationService.getConsoleTypes(),this.diskInterfaces=this.configurationService.getDiskInterfaces(),this.networkTypes=this.configurationService.getNetworkTypes(),this.bootPriorities=this.configurationService.getBootPriorities(),this.onCloseOptions=this.configurationService.getOnCloseOptions(),this.categories=this.configurationService.getCategories(),this.priorities=this.configurationService.getPriorities()},n.prototype.uploadCdromImageFile=function(r){this.qemuTemplate.cdrom_image=r.target.files[0].name},n.prototype.uploadInitrdFile=function(r){this.qemuTemplate.initrd=r.target.files[0].name},n.prototype.uploadKernelImageFile=function(r){this.qemuTemplate.kernel_image=r.target.files[0].name},n.prototype.uploadBiosFile=function(r){this.qemuTemplate.bios_image=r.target.files[0].name},n.prototype.setCustomAdaptersConfiguratorState=function(r){var t=this;this.isConfiguratorOpened=r,r&&(this.fillCustomAdapters(),this.customAdaptersConfigurator.numberOfAdapters=this.qemuTemplate.adapters,this.customAdaptersConfigurator.adapters=[],this.qemuTemplate.custom_adapters.forEach(function(i){t.customAdaptersConfigurator.adapters.push({adapter_number:i.adapter_number,adapter_type:i.adapter_type})}))},n.prototype.saveCustomAdapters=function(r){this.setCustomAdaptersConfiguratorState(!1),this.qemuTemplate.custom_adapters=r},n.prototype.fillCustomAdapters=function(){var r=this.qemuTemplate.custom_adapters?this.qemuTemplate.custom_adapters:[];this.qemuTemplate.custom_adapters=[];for(var t=0;t<this.qemuTemplate.adapters;t++)this.qemuTemplate.custom_adapters.push(r[t]?r[t]:{adapter_number:t,adapter_type:"e1000"})},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","qemu","templates"])},n.prototype.onSave=function(){var r=this;this.generalSettingsForm.invalid?this.toasterService.error("Fill all required fields"):(this.activateCpuThrottling||(this.qemuTemplate.cpu_throttling=0),this.fillCustomAdapters(),this.qemuService.saveTemplate(this.server,this.qemuTemplate).subscribe(function(t){r.toasterService.success("Changes saved")}))},n.prototype.chooseSymbol=function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened},n.prototype.symbolChanged=function(r){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.qemuTemplate.symbol=r},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(hp),e.Y36(Xn),e.Y36(_2),e.Y36(ne.qu),e.Y36(kr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-qemu-virtual-machine-template-details"]],viewQuery:function(t,i){var o;(1&t&&e.Gf(afe,5),2&t)&&(e.iGM(o=e.CRH())&&(i.customAdaptersConfigurator=o.first))},decls:9,vars:8,consts:[[1,"content",3,"ngClass"],[1,"default-header"],[1,"row"],[1,"col"],["class","default-content",4,"ngIf"],[3,"hidden","networkTypes","displayedColumns","closeConfiguratorEmitter","saveConfigurationEmitter"],["customAdaptersConfigurator",""],[3,"server","symbol","symbolChangedEmitter",4,"ngIf"],[1,"default-content"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","templateName","placeholder","Template name",3,"ngModel","ngModelChange"],["matInput","","type","text","formControlName","defaultName","placeholder","Default name format",3,"ngModel","ngModelChange"],["matInput","","type","text","formControlName","symbol","placeholder","Symbol",3,"ngModel","ngModelChange"],["mat-button","",1,"symbolSelectionButton",3,"click"],["placeholder","Category",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["matInput","","type","number","placeholder","RAM",3,"ngModel","ngModelChange"],["matSuffix",""],["matInput","","type","number","placeholder","vCPUs",3,"ngModel","ngModelChange"],["placeholder","Qemu binary",3,"ngModel","ngModelChange"],["placeholder","Boot priority",3,"ngModel","ngModelChange"],["placeholder","On close",3,"ngModel","ngModelChange"],[1,"select"],["placeholder","Console type",3,"ngModel","ngModelChange"],[3,"ngModel","ngModelChange"],["matInput","","placeholder","Disk image",3,"ngModel","ngModelChange"],["placeholder","Disk interface",3,"ngModel","ngModelChange"],["mat-raised-button","","color","primary",1,"file-button",3,"click"],["type","file",1,"nonvisible",3,"change"],["filecdrom",""],[1,"file-name-form-field"],["matInput","","type","text","placeholder","Image",3,"ngModel","ngModelChange"],["matInput","","type","number","placeholder","Adapters",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","First port name",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Name format",3,"ngModel","ngModelChange"],["matInput","","type","number","placeholder","Segment size",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Base MAC",3,"ngModel","ngModelChange"],["placeholder","Type",3,"ngModel","ngModelChange"],["mat-button","",1,"configButton",3,"click"],["fileinitrd",""],["matInput","","type","text","placeholder","Initial RAM disk (initrd)",3,"ngModel","ngModelChange"],["filekernelimage",""],["matInput","","type","text","placeholder","Kernel image",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Kernel command line",3,"ngModel","ngModelChange"],["filebios",""],["matInput","","type","text","placeholder","Bios image",3,"ngModel","ngModelChange"],["class","form-field",4,"ngIf"],["placeholder","Process priority",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Options",3,"ngModel","ngModelChange"],["matInput","","type","text",3,"ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],["matInput","","type","number","placeholder","Perecentage of CPU allowed",3,"ngModel","ngModelChange"],[3,"server","symbol","symbolChangedEmitter"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"QEMU VM configuration"),e.qZA(),e.qZA(),e.qZA(),e.YNc(5,yfe,185,49,"div",4),e.qZA(),e.TgZ(6,"app-custom-adapters",5,6),e.NdJ("closeConfiguratorEmitter",function(a){return i.setCustomAdaptersConfiguratorState(a)})("saveConfigurationEmitter",function(a){return i.saveCustomAdapters(a)}),e.qZA(),e.YNc(8,bfe,1,2,"app-symbols-menu",7)),2&t&&(e.Q6J("ngClass",e.VKq(6,Cfe,i.isConfiguratorOpened||i.isSymbolSelectionOpened)),e.xp6(5),e.Q6J("ngIf",i.qemuTemplate),e.xp6(1),e.Q6J("hidden",!(i.isConfiguratorOpened&&i.qemuTemplate))("networkTypes",i.networkTypes)("displayedColumns",i.displayedColumns),e.xp6(2),e.Q6J("ngIf",i.isSymbolSelectionOpened&&i.qemuTemplate))},directives:[Et.mk,Et.O5,oL,od,Xu,$u,id,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,Mn,pi.gD,ne.On,Et.sg,ne.wV,Un.R9,Zo,_i,gq,_q,qZ,ln.ey,sd],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}();function Tfe(n,r){if(1&n&&(e.TgZ(0,"button",10),e._uU(1," Back "),e.qZA()),2&n){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences")}}function xfe(n,r){if(1&n&&(e.TgZ(0,"button",11),e._uU(1," Add QEMU VM template "),e.qZA()),2&n){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences/qemu/addtemplate")}}function wfe(n,r){1&n&&e._UZ(0,"app-empty-templates-list")}function kfe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",15),e.TgZ(1,"mat-list-item",16),e._uU(2),e.qZA(),e.TgZ(3,"button",17),e.TgZ(4,"mat-icon"),e._uU(5,"more_vert"),e.qZA(),e.qZA(),e.TgZ(6,"mat-menu",null,18),e.TgZ(8,"button",19),e.NdJ("click",function(){var u=e.CHM(t).$implicit;return e.oxw(3).deleteTemplate(u)}),e.TgZ(9,"mat-icon"),e._uU(10,"delete"),e.qZA(),e.TgZ(11,"span"),e._uU(12,"Delete"),e.qZA(),e.qZA(),e.TgZ(13,"button",19),e.NdJ("click",function(){var u=e.CHM(t).$implicit;return e.oxw(3).copyTemplate(u)}),e.TgZ(14,"mat-icon"),e._uU(15,"content_copy"),e.qZA(),e.TgZ(16,"span"),e._uU(17,"Copy"),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=r.$implicit,o=e.MAs(7);e.xp6(1),e.s9C("routerLink",i.template_id),e.xp6(1),e.Oqu(i.name),e.xp6(1),e.Q6J("matMenuTriggerFor",o)}}function Efe(n,r){if(1&n&&(e.TgZ(0,"mat-nav-list"),e.YNc(1,kfe,18,3,"div",14),e.qZA()),2&n){var t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.qemuTemplates)}}function Mfe(n,r){if(1&n&&(e.TgZ(0,"div",12),e.TgZ(1,"div",13),e.YNc(2,Efe,2,1,"mat-nav-list",6),e.qZA(),e.qZA()),2&n){var t=e.oxw();e.xp6(2),e.Q6J("ngIf",t.server)}}var Afe=function(){function n(r,t,i,o){this.route=r,this.serverService=t,this.qemuService=i,this.router=o,this.qemuTemplates=[]}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(t,10)).then(function(i){r.server=i,r.getTemplates()})},n.prototype.getTemplates=function(){var r=this;this.qemuService.getTemplates(this.server).subscribe(function(t){r.qemuTemplates=t.filter(function(i){return"qemu"===i.template_type&&!i.builtin})})},n.prototype.deleteTemplate=function(r){this.deleteComponent.deleteItem(r.name,r.template_id)},n.prototype.onDeleteEvent=function(){this.getTemplates()},n.prototype.copyTemplate=function(r){this.router.navigate(["/server",this.server.id,"preferences","qemu","templates",r.template_id,"copy"])},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(hp),e.Y36(kr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-qemu-virtual-machines-templates"]],viewQuery:function(t,i){var o;(1&t&&e.Gf(wa,5),2&t)&&(e.iGM(o=e.CRH())&&(i.deleteComponent=o.first))},decls:11,vars:5,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],["class","top-button","class","cancel-button","mat-button","",3,"routerLink",4,"ngIf"],["class","top-button","mat-raised-button","","color","primary",3,"routerLink",4,"ngIf"],[4,"ngIf"],["class","default-content",4,"ngIf"],[3,"server","deleteEvent"],["deleteComponent",""],["mat-button","",1,"cancel-button",3,"routerLink"],["mat-raised-button","","color","primary",1,"top-button",3,"routerLink"],[1,"default-content"],[1,"listcontainer","mat-elevation-z8"],["class","list-item",4,"ngFor","ngForOf"],[1,"list-item"],[1,"template-name",3,"routerLink"],["mat-button","",1,"menu-button",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"QEMU VM templates"),e.qZA(),e.YNc(5,Tfe,2,1,"button",4),e.YNc(6,xfe,2,1,"button",5),e.qZA(),e.qZA(),e.YNc(7,wfe,1,0,"app-empty-templates-list",6),e.YNc(8,Mfe,3,1,"div",7),e.qZA(),e.TgZ(9,"app-delete-template",8,9),e.NdJ("deleteEvent",function(){return i.onDeleteEvent()}),e.qZA()),2&t&&(e.xp6(5),e.Q6J("ngIf",i.server),e.xp6(1),e.Q6J("ngIf",i.server),e.xp6(1),e.Q6J("ngIf",!i.qemuTemplates.length),e.xp6(1),e.Q6J("ngIf",i.qemuTemplates.length),e.xp6(1),e.Q6J("server",i.server))},directives:[Et.O5,wa,Mn,fa,ud,ku,Et.sg,Cs,Qa,sr,Ss,Zr],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}(),b2=function(){function n(r){this.httpServer=r}return n.prototype.getTemplates=function(r){return this.httpServer.get(r,"/templates")},n.prototype.getTemplate=function(r,t){return this.httpServer.get(r,"/templates/"+t)},n.prototype.addTemplate=function(r,t){return this.httpServer.post(r,"/templates",t)},n.prototype.saveTemplate=function(r,t){return this.httpServer.put(r,"/templates/"+t.template_id,t)},n.prototype.getVirtualMachines=function(r){return this.httpServer.get(r,"/compute/virtualbox/vms")},n.\u0275fac=function(t){return new(t||n)(e.LFG(Yo.wh))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}();function Dfe(n,r){if(1&n&&(e.TgZ(0,"mat-option",15),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t.vmname," ")}}function Ofe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",5),e.TgZ(1,"mat-card",6),e.TgZ(2,"form",7),e.TgZ(3,"mat-form-field",8),e.TgZ(4,"mat-select",9),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().selectedVM=a}),e.YNc(5,Dfe,2,2,"mat-option",10),e.qZA(),e.qZA(),e.qZA(),e.TgZ(6,"mat-checkbox",11),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().virtualBoxTemplate.linked_clone=a}),e._uU(7," Use as a linked base VM (experimental) "),e.qZA(),e.qZA(),e.TgZ(8,"div",12),e.TgZ(9,"button",13),e.NdJ("click",function(){return e.CHM(t),e.oxw().goBack()}),e._uU(10,"Cancel"),e.qZA(),e.TgZ(11,"button",14),e.NdJ("click",function(){return e.CHM(t),e.oxw().addTemplate()}),e._uU(12,"Add template"),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(2),e.Q6J("formGroup",i.vmForm),e.xp6(2),e.Q6J("ngModel",i.selectedVM),e.xp6(1),e.Q6J("ngForOf",i.virtualMachines),e.xp6(1),e.Q6J("ngModel",i.virtualBoxTemplate.linked_clone)}}var Pfe=function(){function n(r,t,i,o,a,s,u){this.route=r,this.serverService=t,this.virtualBoxService=i,this.toasterService=o,this.templateMocksService=a,this.router=s,this.formBuilder=u,this.vmForm=this.formBuilder.group({vm:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(t,10)).then(function(i){r.server=i,r.virtualBoxService.getVirtualMachines(r.server).subscribe(function(o){r.virtualMachines=o,r.templateMocksService.getVirtualBoxTemplate().subscribe(function(a){r.virtualBoxTemplate=a})})})},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","virtualbox","templates"])},n.prototype.addTemplate=function(){var r=this;this.vmForm.invalid?this.toasterService.error("Fill all required fields"):(this.virtualBoxTemplate.name=this.selectedVM.vmname,this.virtualBoxTemplate.vmname=this.selectedVM.vmname,this.virtualBoxTemplate.ram=this.selectedVM.ram,this.virtualBoxTemplate.template_id=(0,xa.v4)(),this.virtualBoxService.addTemplate(this.server,this.virtualBoxTemplate).subscribe(function(){r.goBack()}))},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(b2),e.Y36(Xn),e.Y36(ec),e.Y36(kr),e.Y36(ne.qu))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-add-virtual-box-template"]],decls:6,vars:1,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],["class","default-content",4,"ngIf"],[1,"default-content"],[1,"matCard"],[3,"formGroup"],[1,"form-field"],["placeholder","VM list","formControlName","vm",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"New VirtualBox VM template"),e.qZA(),e.qZA(),e.qZA(),e.YNc(5,Ofe,13,4,"div",4),e.qZA()),2&t&&(e.xp6(5),e.Q6J("ngIf",i.virtualBoxTemplate))},directives:[Et.O5,_i,ne._Y,ne.JL,ne.sg,Un.KE,pi.gD,ne.JJ,ne.u,Et.sg,Zo,ne.On,Mn,ln.ey],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}(),aL=function(){function n(){}return n.prototype.getConsoleTypes=function(){return["telnet","none"]},n.prototype.getOnCloseoptions=function(){return[["Power off the VM","power_off"],["Send the shutdown signal (ACPI)","shutdown_signal"],["Save the VM state","save_vm_state"]]},n.prototype.getCategories=function(){return[["Default","guest"],["Routers","router"],["Switches","switch"],["End devices","guest"],["Security devices","firewall"]]},n.prototype.getNetworkTypes=function(){return["PCnet-PCI II (Am79C970A)","PCNet-FAST III (Am79C973)","Intel PRO/1000 MT Desktop (82540EM)","Intel PRO/1000 T Server (82543GC)","Intel PRO/1000 MT Server (82545EM)","Paravirtualized Network (virtio-net)"]},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),Ife=["customAdaptersConfigurator"];function Rfe(n,r){if(1&n&&(e.TgZ(0,"mat-option",34),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}function Nfe(n,r){if(1&n&&(e.TgZ(0,"mat-option",34),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Zfe(n,r){if(1&n&&(e.TgZ(0,"mat-option",34),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}function Lfe(n,r){if(1&n&&(e.TgZ(0,"mat-option",34),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}var cy=function(){return{standalone:!0}};function Ffe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",8),e.TgZ(1,"mat-accordion"),e.TgZ(2,"mat-expansion-panel"),e.TgZ(3,"mat-expansion-panel-header"),e.TgZ(4,"mat-panel-title"),e._uU(5," General settings "),e.qZA(),e.qZA(),e.TgZ(6,"form",9),e.TgZ(7,"mat-form-field",10),e.TgZ(8,"input",11),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().virtualBoxTemplate.name=a}),e.qZA(),e.qZA(),e.TgZ(9,"mat-form-field",10),e.TgZ(10,"input",12),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().virtualBoxTemplate.default_name_format=a}),e.qZA(),e.qZA(),e.TgZ(11,"mat-form-field",10),e.TgZ(12,"input",13),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().virtualBoxTemplate.symbol=a}),e.qZA(),e.qZA(),e.TgZ(13,"button",14),e.NdJ("click",function(){return e.CHM(t),e.oxw().chooseSymbol()}),e._uU(14,"Choose symbol"),e.qZA(),e._UZ(15,"br"),e._UZ(16,"br"),e.TgZ(17,"mat-form-field",10),e.TgZ(18,"mat-select",15),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().virtualBoxTemplate.category=a}),e.YNc(19,Rfe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.TgZ(20,"mat-form-field",17),e.TgZ(21,"mat-select",18),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().virtualBoxTemplate.console_type=a}),e.YNc(22,Nfe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.TgZ(23,"mat-checkbox",19),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().virtualBoxTemplate.console_auto_start=a}),e._uU(24," Auto start console "),e.qZA(),e.TgZ(25,"mat-form-field",10),e.TgZ(26,"input",20),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().virtualBoxTemplate.ram=a}),e.qZA(),e.TgZ(27,"span",21),e._uU(28,"MB"),e.qZA(),e.qZA(),e.TgZ(29,"mat-form-field",10),e.TgZ(30,"mat-select",22),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().virtualBoxTemplate.on_close=a}),e.YNc(31,Zfe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.qZA(),e.TgZ(32,"mat-checkbox",23),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().virtualBoxTemplate.headless=a}),e._uU(33," Start VM in headless mode "),e.qZA(),e._UZ(34,"br"),e.TgZ(35,"mat-checkbox",23),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().virtualBoxTemplate.linked_clone=a}),e._uU(36," Use as a linked base VM (experimental) "),e.qZA(),e.qZA(),e.TgZ(37,"mat-expansion-panel"),e.TgZ(38,"mat-expansion-panel-header"),e.TgZ(39,"mat-panel-title"),e._uU(40," Network "),e.qZA(),e.qZA(),e.TgZ(41,"form",9),e.TgZ(42,"mat-form-field",10),e.TgZ(43,"input",24),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().virtualBoxTemplate.adapters=a}),e.qZA(),e.qZA(),e.TgZ(44,"mat-form-field",10),e.TgZ(45,"input",25),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().virtualBoxTemplate.first_port_name=a}),e.qZA(),e.qZA(),e.TgZ(46,"mat-form-field",10),e.TgZ(47,"input",26),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().virtualBoxTemplate.port_name_format=a}),e.qZA(),e.qZA(),e.TgZ(48,"mat-form-field",10),e.TgZ(49,"input",27),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().virtualBoxTemplate.port_segment_size=a}),e.qZA(),e.qZA(),e.TgZ(50,"mat-form-field",10),e.TgZ(51,"mat-select",28),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().virtualBoxTemplate.adapter_type=a}),e.YNc(52,Lfe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.qZA(),e.TgZ(53,"button",29),e.NdJ("click",function(){return e.CHM(t),e.oxw().setCustomAdaptersConfiguratorState(!0)}),e._uU(54," Configure custom adapters"),e.qZA(),e._UZ(55,"br"),e.TgZ(56,"mat-checkbox",23),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().virtualBoxTemplate.use_any_adapter=a}),e._uU(57," Allow GNS3 to use any configured VirtualBox adapter "),e.qZA(),e.qZA(),e.TgZ(58,"mat-expansion-panel"),e.TgZ(59,"mat-expansion-panel-header"),e.TgZ(60,"mat-panel-title"),e._uU(61," Usage "),e.qZA(),e.qZA(),e.TgZ(62,"mat-form-field",10),e.TgZ(63,"textarea",30),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().virtualBoxTemplate.usage=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(64,"div",31),e.TgZ(65,"button",32),e.NdJ("click",function(){return e.CHM(t),e.oxw().goBack()}),e._uU(66,"Cancel"),e.qZA(),e.TgZ(67,"button",33),e.NdJ("click",function(){return e.CHM(t),e.oxw().onSave()}),e._uU(68,"Save"),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(6),e.Q6J("formGroup",i.generalSettingsForm),e.xp6(2),e.Q6J("ngModel",i.virtualBoxTemplate.name),e.xp6(2),e.Q6J("ngModel",i.virtualBoxTemplate.default_name_format),e.xp6(2),e.Q6J("ngModel",i.virtualBoxTemplate.symbol),e.xp6(6),e.Q6J("ngModelOptions",e.DdM(29,cy))("ngModel",i.virtualBoxTemplate.category),e.xp6(1),e.Q6J("ngForOf",i.categories),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(30,cy))("ngModel",i.virtualBoxTemplate.console_type),e.xp6(1),e.Q6J("ngForOf",i.consoleTypes),e.xp6(1),e.Q6J("ngModelOptions",e.DdM(31,cy))("ngModel",i.virtualBoxTemplate.console_auto_start),e.xp6(3),e.Q6J("ngModel",i.virtualBoxTemplate.ram),e.xp6(4),e.Q6J("ngModelOptions",e.DdM(32,cy))("ngModel",i.virtualBoxTemplate.on_close),e.xp6(1),e.Q6J("ngForOf",i.onCloseOptions),e.xp6(1),e.Q6J("ngModel",i.virtualBoxTemplate.headless),e.xp6(3),e.Q6J("ngModel",i.virtualBoxTemplate.linked_clone),e.xp6(6),e.Q6J("formGroup",i.networkForm),e.xp6(2),e.Q6J("ngModel",i.virtualBoxTemplate.adapters),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(33,cy))("ngModel",i.virtualBoxTemplate.first_port_name),e.xp6(2),e.Q6J("ngModel",i.virtualBoxTemplate.port_name_format),e.xp6(2),e.Q6J("ngModel",i.virtualBoxTemplate.port_segment_size),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(34,cy))("ngModel",i.virtualBoxTemplate.adapter_type),e.xp6(1),e.Q6J("ngForOf",i.networkTypes),e.xp6(4),e.Q6J("ngModel",i.virtualBoxTemplate.use_any_adapter),e.xp6(7),e.Q6J("ngModel",i.virtualBoxTemplate.usage)}}function Bfe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"app-symbols-menu",35),e.NdJ("symbolChangedEmitter",function(a){return e.CHM(t),e.oxw().symbolChanged(a)}),e.qZA()}if(2&n){var i=e.oxw();e.Q6J("server",i.server)("symbol",i.virtualBoxTemplate.symbol)}}var Ufe=function(n){return{shadowed:n}},Hfe=function(){function n(r,t,i,o,a,s,u){this.route=r,this.serverService=t,this.virtualBoxService=i,this.toasterService=o,this.formBuilder=a,this.virtualBoxConfigurationService=s,this.router=u,this.isSymbolSelectionOpened=!1,this.consoleTypes=[],this.onCloseOptions=[],this.categories=[],this.networkTypes=[],this.displayedColumns=["adapter_number","port_name","adapter_type","actions"],this.isConfiguratorOpened=!1,this.generalSettingsForm=this.formBuilder.group({templateName:new ne.NI("",ne.kI.required),defaultName:new ne.NI("",ne.kI.required),symbol:new ne.NI("",ne.kI.required),ram:new ne.NI("",ne.kI.required)}),this.networkForm=this.formBuilder.group({adapters:new ne.NI("",ne.kI.required),nameFormat:new ne.NI("",ne.kI.required),size:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id"),i=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(t,10)).then(function(o){r.server=o,r.getConfiguration(),r.virtualBoxService.getTemplate(r.server,i).subscribe(function(a){r.virtualBoxTemplate=a,r.fillCustomAdapters()})})},n.prototype.getConfiguration=function(){this.consoleTypes=this.virtualBoxConfigurationService.getConsoleTypes(),this.onCloseOptions=this.virtualBoxConfigurationService.getOnCloseoptions(),this.categories=this.virtualBoxConfigurationService.getCategories(),this.networkTypes=this.virtualBoxConfigurationService.getNetworkTypes()},n.prototype.setCustomAdaptersConfiguratorState=function(r){var t=this;this.isConfiguratorOpened=r,r&&(this.fillCustomAdapters(),this.customAdaptersConfigurator.numberOfAdapters=this.virtualBoxTemplate.adapters,this.customAdaptersConfigurator.adapters=[],this.virtualBoxTemplate.custom_adapters.forEach(function(i){t.customAdaptersConfigurator.adapters.push({adapter_number:i.adapter_number,adapter_type:i.adapter_type})}))},n.prototype.saveCustomAdapters=function(r){this.setCustomAdaptersConfiguratorState(!1),this.virtualBoxTemplate.custom_adapters=r},n.prototype.fillCustomAdapters=function(){var r=this.virtualBoxTemplate.custom_adapters?this.virtualBoxTemplate.custom_adapters:[];this.virtualBoxTemplate.custom_adapters=[];for(var t=0;t<this.virtualBoxTemplate.adapters;t++)this.virtualBoxTemplate.custom_adapters.push(r[t]?r[t]:{adapter_number:t,adapter_type:"e1000"})},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","virtualbox","templates"])},n.prototype.onSave=function(){var r=this;this.generalSettingsForm.invalid||this.networkForm.invalid?this.toasterService.error("Fill all required fields"):(this.fillCustomAdapters(),this.virtualBoxService.saveTemplate(this.server,this.virtualBoxTemplate).subscribe(function(t){r.toasterService.success("Changes saved")}))},n.prototype.chooseSymbol=function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened},n.prototype.symbolChanged=function(r){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.virtualBoxTemplate.symbol=r},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(b2),e.Y36(Xn),e.Y36(ne.qu),e.Y36(aL),e.Y36(kr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-virtual-box-template-details"]],viewQuery:function(t,i){var o;(1&t&&e.Gf(Ife,5),2&t)&&(e.iGM(o=e.CRH())&&(i.customAdaptersConfigurator=o.first))},decls:9,vars:8,consts:[[1,"content",3,"ngClass"],[1,"default-header"],[1,"row"],[1,"col"],["class","default-content",4,"ngIf"],[3,"hidden","networkTypes","displayedColumns","closeConfiguratorEmitter","saveConfigurationEmitter"],["customAdaptersConfigurator",""],[3,"server","symbol","symbolChangedEmitter",4,"ngIf"],[1,"default-content"],[3,"formGroup"],[1,"form-field"],["matInput","","formControlName","templateName","type","text","placeholder","Template name",3,"ngModel","ngModelChange"],["matInput","","formControlName","defaultName","type","text","placeholder","Default name format",3,"ngModel","ngModelChange"],["matInput","","formControlName","symbol","type","text","placeholder","Symbol",3,"ngModel","ngModelChange"],["mat-button","",1,"symbolSelectionButton",3,"click"],["placeholder","Category",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"select"],["placeholder","Console type",3,"ngModelOptions","ngModel","ngModelChange"],[3,"ngModelOptions","ngModel","ngModelChange"],["matInput","","formControlName","ram","type","number","placeholder","RAM",3,"ngModel","ngModelChange"],["matSuffix",""],["placeholder","On close",3,"ngModelOptions","ngModel","ngModelChange"],[3,"ngModel","ngModelChange"],["formControlName","adapters","matInput","","type","number","placeholder","Adapters",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","First port name",3,"ngModelOptions","ngModel","ngModelChange"],["formControlName","nameFormat","matInput","","type","text","placeholder","Name format",3,"ngModel","ngModelChange"],["formControlName","size","matInput","","type","number","placeholder","Segment size",3,"ngModel","ngModelChange"],["placeholder","Type",3,"ngModelOptions","ngModel","ngModelChange"],["mat-button","",1,"configButton",3,"click"],["matInput","","type","text",3,"ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[3,"server","symbol","symbolChangedEmitter"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"VirtualBox VM configuration"),e.qZA(),e.qZA(),e.qZA(),e.YNc(5,Ffe,69,35,"div",4),e.qZA(),e.TgZ(6,"app-custom-adapters",5,6),e.NdJ("closeConfiguratorEmitter",function(a){return i.setCustomAdaptersConfiguratorState(a)})("saveConfigurationEmitter",function(a){return i.saveCustomAdapters(a)}),e.qZA(),e.YNc(8,Bfe,1,2,"app-symbols-menu",7)),2&t&&(e.Q6J("ngClass",e.VKq(6,Ufe,i.isConfiguratorOpened||i.isSymbolSelectionOpened)),e.xp6(5),e.Q6J("ngIf",i.virtualBoxTemplate),e.xp6(1),e.Q6J("hidden",!(i.isConfiguratorOpened&&i.virtualBoxTemplate))("networkTypes",i.networkTypes)("displayedColumns",i.displayedColumns),e.xp6(2),e.Q6J("ngIf",i.isSymbolSelectionOpened&&i.virtualBoxTemplate))},directives:[Et.mk,Et.O5,oL,od,Xu,$u,id,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,Mn,pi.gD,ne.On,Et.sg,Zo,ne.wV,Un.R9,ln.ey,sd],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}();function Vfe(n,r){if(1&n&&(e.TgZ(0,"button",10),e._uU(1," Back "),e.qZA()),2&n){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences")}}function qfe(n,r){if(1&n&&(e.TgZ(0,"button",11),e._uU(1," Add Virtual Box VM template "),e.qZA()),2&n){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences/virtualbox/addtemplate")}}function jfe(n,r){1&n&&e._UZ(0,"app-empty-templates-list")}function zfe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",15),e.TgZ(1,"mat-list-item",16),e._uU(2),e.qZA(),e.TgZ(3,"button",17),e.TgZ(4,"mat-icon"),e._uU(5,"more_vert"),e.qZA(),e.qZA(),e.TgZ(6,"mat-menu",null,18),e.TgZ(8,"button",19),e.NdJ("click",function(){var u=e.CHM(t).$implicit;return e.oxw(3).deleteTemplate(u)}),e.TgZ(9,"mat-icon"),e._uU(10,"delete"),e.qZA(),e.TgZ(11,"span"),e._uU(12,"Delete"),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=r.$implicit,o=e.MAs(7);e.xp6(1),e.s9C("routerLink",i.template_id),e.xp6(1),e.Oqu(i.name),e.xp6(1),e.Q6J("matMenuTriggerFor",o)}}function Wfe(n,r){if(1&n&&(e.TgZ(0,"mat-nav-list"),e.YNc(1,zfe,13,3,"div",14),e.qZA()),2&n){var t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.virtualBoxTemplates)}}function Gfe(n,r){if(1&n&&(e.TgZ(0,"div",12),e.TgZ(1,"div",13),e.YNc(2,Wfe,2,1,"mat-nav-list",6),e.qZA(),e.qZA()),2&n){var t=e.oxw();e.xp6(2),e.Q6J("ngIf",t.server)}}var Yfe=function(){function n(r,t,i){this.route=r,this.serverService=t,this.virtualBoxService=i,this.virtualBoxTemplates=[]}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(t,10)).then(function(i){r.server=i,r.getTemplates()})},n.prototype.getTemplates=function(){var r=this;this.virtualBoxService.getTemplates(this.server).subscribe(function(t){r.virtualBoxTemplates=t.filter(function(i){return"virtualbox"===i.template_type&&!i.builtin})})},n.prototype.deleteTemplate=function(r){this.deleteComponent.deleteItem(r.name,r.template_id)},n.prototype.onDeleteEvent=function(){this.getTemplates()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(b2))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-virtual-box-templates"]],viewQuery:function(t,i){var o;(1&t&&e.Gf(wa,5),2&t)&&(e.iGM(o=e.CRH())&&(i.deleteComponent=o.first))},decls:11,vars:5,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],["class","top-button","class","cancel-button","mat-button","",3,"routerLink",4,"ngIf"],["class","top-button","mat-raised-button","","color","primary",3,"routerLink",4,"ngIf"],[4,"ngIf"],["class","default-content",4,"ngIf"],[3,"server","deleteEvent"],["deleteComponent",""],["mat-button","",1,"cancel-button",3,"routerLink"],["mat-raised-button","","color","primary",1,"top-button",3,"routerLink"],[1,"default-content"],[1,"listcontainer","mat-elevation-z8"],["class","list-item",4,"ngFor","ngForOf"],[1,"list-item"],[1,"template-name",3,"routerLink"],["mat-button","",1,"menu-button",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"VirtualBox VM templates"),e.qZA(),e.YNc(5,Vfe,2,1,"button",4),e.YNc(6,qfe,2,1,"button",5),e.qZA(),e.qZA(),e.YNc(7,jfe,1,0,"app-empty-templates-list",6),e.YNc(8,Gfe,3,1,"div",7),e.qZA(),e.TgZ(9,"app-delete-template",8,9),e.NdJ("deleteEvent",function(){return i.onDeleteEvent()}),e.qZA()),2&t&&(e.xp6(5),e.Q6J("ngIf",i.server),e.xp6(1),e.Q6J("ngIf",i.server),e.xp6(1),e.Q6J("ngIf",!i.virtualBoxTemplates.length),e.xp6(1),e.Q6J("ngIf",i.virtualBoxTemplates.length),e.xp6(1),e.Q6J("server",i.server))},directives:[Et.O5,wa,Mn,fa,ud,ku,Et.sg,Cs,Qa,sr,Ss,Zr],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}(),C2=function(){function n(r){this.httpServer=r}return n.prototype.getTemplates=function(r){return this.httpServer.get(r,"/templates")},n.prototype.getTemplate=function(r,t){return this.httpServer.get(r,"/templates/"+t)},n.prototype.addTemplate=function(r,t){return this.httpServer.post(r,"/templates",t)},n.prototype.saveTemplate=function(r,t){return this.httpServer.put(r,"/templates/"+t.template_id,t)},n.prototype.getVirtualMachines=function(r){return this.httpServer.get(r,"/compute/vmware/vms")},n.\u0275fac=function(t){return new(t||n)(e.LFG(Yo.wh))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}();function Jfe(n,r){if(1&n&&(e.TgZ(0,"mat-option",15),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t.vmname," ")}}var Qfe=function(){return{standalone:!0}};function Kfe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",5),e.TgZ(1,"mat-card",6),e.TgZ(2,"form",7),e.TgZ(3,"mat-form-field",8),e.TgZ(4,"mat-select",9),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().selectedVM=a}),e.YNc(5,Jfe,2,2,"mat-option",10),e.qZA(),e.qZA(),e._UZ(6,"br"),e.TgZ(7,"mat-checkbox",11),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().vmwareTemplate.linked_clone=a}),e._uU(8," Use as a linked base VM (experimental) "),e.qZA(),e.qZA(),e.qZA(),e.TgZ(9,"div",12),e.TgZ(10,"button",13),e.NdJ("click",function(){return e.CHM(t),e.oxw().goBack()}),e._uU(11,"Cancel"),e.qZA(),e.TgZ(12,"button",14),e.NdJ("click",function(){return e.CHM(t),e.oxw().addTemplate()}),e._uU(13,"Add template"),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(2),e.Q6J("formGroup",i.templateNameForm),e.xp6(2),e.Q6J("ngModel",i.selectedVM),e.xp6(1),e.Q6J("ngForOf",i.virtualMachines),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(5,Qfe))("ngModel",i.vmwareTemplate.linked_clone)}}var Xfe=function(){function n(r,t,i,o,a,s,u){this.route=r,this.serverService=t,this.vmwareService=i,this.toasterService=o,this.templateMocksService=a,this.router=s,this.formBuilder=u,this.templateNameForm=this.formBuilder.group({templateName:new ne.NI(null,[ne.kI.required])})}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(t,10)).then(function(i){r.server=i,r.vmwareService.getVirtualMachines(r.server).subscribe(function(o){r.virtualMachines=o,r.templateMocksService.getVmwareTemplate().subscribe(function(a){r.vmwareTemplate=a})})})},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","vmware","templates"])},n.prototype.addTemplate=function(){var r=this;this.templateNameForm.invalid?this.toasterService.error("Fill all required fields"):(this.vmwareTemplate.name=this.selectedVM.vmname,this.vmwareTemplate.vmx_path=this.selectedVM.vmx_path,this.vmwareTemplate.template_id=(0,xa.v4)(),this.vmwareService.addTemplate(this.server,this.vmwareTemplate).subscribe(function(){r.goBack()}))},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(C2),e.Y36(Xn),e.Y36(ec),e.Y36(kr),e.Y36(ne.qu))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-add-vmware-template"]],decls:6,vars:1,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],["class","default-content",4,"ngIf"],[1,"default-content"],[1,"matCard"],[3,"formGroup"],[1,"form-field"],["placeholder","VM list","formControlName","templateName",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModelOptions","ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"New VMware VM template"),e.qZA(),e.qZA(),e.qZA(),e.YNc(5,Kfe,14,6,"div",4),e.qZA()),2&t&&(e.xp6(5),e.Q6J("ngIf",i.vmwareTemplate))},directives:[Et.O5,_i,ne._Y,ne.JL,ne.sg,Un.KE,pi.gD,ne.JJ,ne.u,Et.sg,Zo,ne.On,Mn,ln.ey],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}(),sL=function(){function n(){}return n.prototype.getConsoleTypes=function(){return["telnet","none"]},n.prototype.getOnCloseoptions=function(){return[["Power off the VM","power_off"],["Send the shutdown signal (ACPI)","shutdown_signal"],["Save the VM state","save_vm_state"]]},n.prototype.getCategories=function(){return[["Default","guest"],["Routers","router"],["Switches","switch"],["End devices","guest"],["Security devices","firewall"]]},n.prototype.getNetworkTypes=function(){return["default","e1000","e1000e","flexible","vlance","vmxnet","vmxnet2","vmxnet3"]},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),$fe=["customAdaptersConfigurator"];function ehe(n,r){if(1&n&&(e.TgZ(0,"mat-option",32),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}function the(n,r){if(1&n&&(e.TgZ(0,"mat-option",32),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function nhe(n,r){if(1&n&&(e.TgZ(0,"mat-option",32),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}function rhe(n,r){if(1&n&&(e.TgZ(0,"mat-option",32),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}var dy=function(){return{standalone:!0}};function ihe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",8),e.TgZ(1,"mat-accordion"),e.TgZ(2,"mat-expansion-panel"),e.TgZ(3,"mat-expansion-panel-header"),e.TgZ(4,"mat-panel-title"),e._uU(5," General settings "),e.qZA(),e.qZA(),e.TgZ(6,"form",9),e.TgZ(7,"mat-form-field",10),e.TgZ(8,"input",11),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().vmwareTemplate.name=a}),e.qZA(),e.qZA(),e.TgZ(9,"mat-form-field",10),e.TgZ(10,"input",12),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().vmwareTemplate.default_name_format=a}),e.qZA(),e.qZA(),e.TgZ(11,"mat-form-field",10),e.TgZ(12,"input",13),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().vmwareTemplate.symbol=a}),e.qZA(),e.qZA(),e.TgZ(13,"button",14),e.NdJ("click",function(){return e.CHM(t),e.oxw().chooseSymbol()}),e._uU(14,"Choose symbol"),e.qZA(),e._UZ(15,"br"),e._UZ(16,"br"),e.TgZ(17,"mat-form-field",10),e.TgZ(18,"mat-select",15),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().vmwareTemplate.category=a}),e.YNc(19,ehe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.TgZ(20,"mat-form-field",17),e.TgZ(21,"mat-select",18),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().vmwareTemplate.console_type=a}),e.YNc(22,the,2,2,"mat-option",16),e.qZA(),e.qZA(),e.TgZ(23,"mat-checkbox",19),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().vmwareTemplate.console_auto_start=a}),e._uU(24," Auto start console "),e.qZA(),e.TgZ(25,"mat-form-field",10),e.TgZ(26,"mat-select",20),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().vmwareTemplate.on_close=a}),e.YNc(27,nhe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.TgZ(28,"mat-checkbox",19),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().vmwareTemplate.headless=a}),e._uU(29," Start VM in headless mode "),e.qZA(),e._UZ(30,"br"),e._UZ(31,"br"),e.TgZ(32,"mat-checkbox",19),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().vmwareTemplate.linked_clone=a}),e._uU(33," Use as a linked base VM (experimental) "),e.qZA(),e.qZA(),e.qZA(),e.TgZ(34,"mat-expansion-panel"),e.TgZ(35,"mat-expansion-panel-header"),e.TgZ(36,"mat-panel-title"),e._uU(37," Network "),e.qZA(),e.qZA(),e.TgZ(38,"mat-form-field",10),e.TgZ(39,"input",21),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().vmwareTemplate.adapters=a}),e.qZA(),e.qZA(),e.TgZ(40,"mat-form-field",10),e.TgZ(41,"input",22),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().vmwareTemplate.first_port_name=a}),e.qZA(),e.qZA(),e.TgZ(42,"mat-form-field",10),e.TgZ(43,"input",23),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().vmwareTemplate.port_name_format=a}),e.qZA(),e.qZA(),e.TgZ(44,"mat-form-field",10),e.TgZ(45,"input",24),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().vmwareTemplate.port_segment_size=a}),e.qZA(),e.qZA(),e.TgZ(46,"mat-form-field",10),e.TgZ(47,"mat-select",25),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().vmwareTemplate.adapter_type=a}),e.YNc(48,rhe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.TgZ(49,"button",26),e.NdJ("click",function(){return e.CHM(t),e.oxw().setCustomAdaptersConfiguratorState(!0)}),e._uU(50," Configure custom adapters"),e.qZA(),e._UZ(51,"br"),e.TgZ(52,"mat-checkbox",27),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().vmwareTemplate.use_any_adapter=a}),e._uU(53," Allow GNS3 to override non custom VMware adapter "),e.qZA(),e.qZA(),e.TgZ(54,"mat-expansion-panel"),e.TgZ(55,"mat-expansion-panel-header"),e.TgZ(56,"mat-panel-title"),e._uU(57," Usage "),e.qZA(),e.qZA(),e.TgZ(58,"mat-form-field",10),e.TgZ(59,"textarea",28),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().vmwareTemplate.usage=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(60,"div",29),e.TgZ(61,"button",30),e.NdJ("click",function(){return e.CHM(t),e.oxw().goBack()}),e._uU(62,"Cancel"),e.qZA(),e.TgZ(63,"button",31),e.NdJ("click",function(){return e.CHM(t),e.oxw().onSave()}),e._uU(64,"Save"),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(6),e.Q6J("formGroup",i.generalSettingsForm),e.xp6(2),e.Q6J("ngModel",i.vmwareTemplate.name),e.xp6(2),e.Q6J("ngModel",i.vmwareTemplate.default_name_format),e.xp6(2),e.Q6J("ngModel",i.vmwareTemplate.symbol),e.xp6(6),e.Q6J("ngModelOptions",e.DdM(27,dy))("ngModel",i.vmwareTemplate.category),e.xp6(1),e.Q6J("ngForOf",i.categories),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(28,dy))("ngModel",i.vmwareTemplate.console_type),e.xp6(1),e.Q6J("ngForOf",i.consoleTypes),e.xp6(1),e.Q6J("ngModelOptions",e.DdM(29,dy))("ngModel",i.vmwareTemplate.console_auto_start),e.xp6(3),e.Q6J("ngModelOptions",e.DdM(30,dy))("ngModel",i.vmwareTemplate.on_close),e.xp6(1),e.Q6J("ngForOf",i.onCloseOptions),e.xp6(1),e.Q6J("ngModelOptions",e.DdM(31,dy))("ngModel",i.vmwareTemplate.headless),e.xp6(4),e.Q6J("ngModelOptions",e.DdM(32,dy))("ngModel",i.vmwareTemplate.linked_clone),e.xp6(7),e.Q6J("ngModel",i.vmwareTemplate.adapters),e.xp6(2),e.Q6J("ngModel",i.vmwareTemplate.first_port_name),e.xp6(2),e.Q6J("ngModel",i.vmwareTemplate.port_name_format),e.xp6(2),e.Q6J("ngModel",i.vmwareTemplate.port_segment_size),e.xp6(2),e.Q6J("ngModel",i.vmwareTemplate.adapter_type),e.xp6(1),e.Q6J("ngForOf",i.networkTypes),e.xp6(4),e.Q6J("ngModel",i.vmwareTemplate.use_any_adapter),e.xp6(7),e.Q6J("ngModel",i.vmwareTemplate.usage)}}function ohe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"app-symbols-menu",33),e.NdJ("symbolChangedEmitter",function(a){return e.CHM(t),e.oxw().symbolChanged(a)}),e.qZA()}if(2&n){var i=e.oxw();e.Q6J("server",i.server)("symbol",i.vmwareTemplate.symbol)}}var ahe=function(n){return{shadowed:n}},she=function(){function n(r,t,i,o,a,s,u){this.route=r,this.serverService=t,this.vmwareService=i,this.toasterService=o,this.formBuilder=a,this.vmwareConfigurationService=s,this.router=u,this.displayedColumns=["adapter_number","port_name","adapter_type","actions"],this.isConfiguratorOpened=!1,this.isSymbolSelectionOpened=!1,this.consoleTypes=[],this.categories=[],this.onCloseOptions=[],this.networkTypes=[],this.generalSettingsForm=this.formBuilder.group({templateName:new ne.NI("",ne.kI.required),defaultName:new ne.NI("",ne.kI.required),symbol:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id"),i=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(t,10)).then(function(o){r.server=o,r.getConfiguration(),r.vmwareService.getTemplate(r.server,i).subscribe(function(a){r.vmwareTemplate=a,r.fillCustomAdapters()})})},n.prototype.getConfiguration=function(){this.consoleTypes=this.vmwareConfigurationService.getConsoleTypes(),this.categories=this.vmwareConfigurationService.getCategories(),this.onCloseOptions=this.vmwareConfigurationService.getOnCloseoptions(),this.networkTypes=this.vmwareConfigurationService.getNetworkTypes()},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","vmware","templates"])},n.prototype.onSave=function(){var r=this;this.generalSettingsForm.invalid?this.toasterService.error("Fill all required fields"):(this.fillCustomAdapters(),this.vmwareService.saveTemplate(this.server,this.vmwareTemplate).subscribe(function(t){r.toasterService.success("Changes saved")}))},n.prototype.setCustomAdaptersConfiguratorState=function(r){var t=this;this.isConfiguratorOpened=r,r&&(this.fillCustomAdapters(),this.customAdaptersConfigurator.numberOfAdapters=this.vmwareTemplate.adapters,this.customAdaptersConfigurator.adapters=[],this.vmwareTemplate.custom_adapters.forEach(function(i){t.customAdaptersConfigurator.adapters.push({adapter_number:i.adapter_number,adapter_type:i.adapter_type})}))},n.prototype.saveCustomAdapters=function(r){this.setCustomAdaptersConfiguratorState(!1),this.vmwareTemplate.custom_adapters=r},n.prototype.fillCustomAdapters=function(){var r=this.vmwareTemplate.custom_adapters?this.vmwareTemplate.custom_adapters:[];this.vmwareTemplate.custom_adapters=[];for(var t=0;t<this.vmwareTemplate.adapters;t++)this.vmwareTemplate.custom_adapters.push(r[t]?r[t]:{adapter_number:t,adapter_type:"e1000"})},n.prototype.chooseSymbol=function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened},n.prototype.symbolChanged=function(r){this.vmwareTemplate.symbol=r},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(C2),e.Y36(Xn),e.Y36(ne.qu),e.Y36(sL),e.Y36(kr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-vmware-template-details"]],viewQuery:function(t,i){var o;(1&t&&e.Gf($fe,5),2&t)&&(e.iGM(o=e.CRH())&&(i.customAdaptersConfigurator=o.first))},decls:9,vars:8,consts:[[1,"content",3,"ngClass"],[1,"default-header"],[1,"row"],[1,"col"],["class","default-content",4,"ngIf"],[3,"hidden","networkTypes","displayedColumns","closeConfiguratorEmitter","saveConfigurationEmitter"],["customAdaptersConfigurator",""],[3,"server","symbol","symbolChangedEmitter",4,"ngIf"],[1,"default-content"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","templateName","placeholder","Template name",3,"ngModel","ngModelChange"],["matInput","","type","text","formControlName","defaultName","placeholder","Default name format",3,"ngModel","ngModelChange"],["matInput","","type","text","formControlName","symbol","placeholder","Symbol",3,"ngModel","ngModelChange"],["mat-button","",1,"symbolSelectionButton",3,"click"],["placeholder","Category",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"select"],["placeholder","Console type",3,"ngModelOptions","ngModel","ngModelChange"],[3,"ngModelOptions","ngModel","ngModelChange"],["placeholder","On close",3,"ngModelOptions","ngModel","ngModelChange"],["matInput","","type","number","placeholder","Adapters",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","First port name",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Name format",3,"ngModel","ngModelChange"],["matInput","","type","number","placeholder","Segment size",3,"ngModel","ngModelChange"],["placeholder","Type",3,"ngModel","ngModelChange"],["mat-button","",1,"configButton",3,"click"],[3,"ngModel","ngModelChange"],["matInput","","type","text",3,"ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[3,"server","symbol","symbolChangedEmitter"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"VMware VM configuration"),e.qZA(),e.qZA(),e.qZA(),e.YNc(5,ihe,65,33,"div",4),e.qZA(),e.TgZ(6,"app-custom-adapters",5,6),e.NdJ("closeConfiguratorEmitter",function(a){return i.setCustomAdaptersConfiguratorState(a)})("saveConfigurationEmitter",function(a){return i.saveCustomAdapters(a)}),e.qZA(),e.YNc(8,ohe,1,2,"app-symbols-menu",7)),2&t&&(e.Q6J("ngClass",e.VKq(6,ahe,i.isSymbolSelectionOpened||i.isConfiguratorOpened)),e.xp6(5),e.Q6J("ngIf",i.vmwareTemplate),e.xp6(1),e.Q6J("hidden",!(i.isConfiguratorOpened&&i.vmwareTemplate))("networkTypes",i.networkTypes)("displayedColumns",i.displayedColumns),e.xp6(2),e.Q6J("ngIf",i.isSymbolSelectionOpened&&i.vmwareTemplate))},directives:[Et.mk,Et.O5,oL,od,Xu,$u,id,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,Mn,pi.gD,ne.On,Et.sg,Zo,ne.wV,ln.ey,sd],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}();function lhe(n,r){if(1&n&&(e.TgZ(0,"button",10),e._uU(1," Back "),e.qZA()),2&n){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences")}}function uhe(n,r){if(1&n&&(e.TgZ(0,"button",11),e._uU(1," Add VMware template "),e.qZA()),2&n){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences/vmware/addtemplate")}}function che(n,r){1&n&&e._UZ(0,"app-empty-templates-list")}function dhe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",15),e.TgZ(1,"mat-list-item",16),e._uU(2),e.qZA(),e.TgZ(3,"button",17),e.TgZ(4,"mat-icon"),e._uU(5,"more_vert"),e.qZA(),e.qZA(),e.TgZ(6,"mat-menu",null,18),e.TgZ(8,"button",19),e.NdJ("click",function(){var u=e.CHM(t).$implicit;return e.oxw(3).deleteTemplate(u)}),e.TgZ(9,"mat-icon"),e._uU(10,"delete"),e.qZA(),e.TgZ(11,"span"),e._uU(12,"Delete"),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=r.$implicit,o=e.MAs(7);e.xp6(1),e.s9C("routerLink",i.template_id),e.xp6(1),e.Oqu(i.name),e.xp6(1),e.Q6J("matMenuTriggerFor",o)}}function phe(n,r){if(1&n&&(e.TgZ(0,"mat-nav-list"),e.YNc(1,dhe,13,3,"div",14),e.qZA()),2&n){var t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.vmwareTemplates)}}function fhe(n,r){if(1&n&&(e.TgZ(0,"div",12),e.TgZ(1,"div",13),e.YNc(2,phe,2,1,"mat-nav-list",6),e.qZA(),e.qZA()),2&n){var t=e.oxw();e.xp6(2),e.Q6J("ngIf",t.server)}}var hhe=function(){function n(r,t,i){this.route=r,this.serverService=t,this.vmwareService=i,this.vmwareTemplates=[]}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(t,10)).then(function(i){r.server=i,r.getTemplates()})},n.prototype.getTemplates=function(){var r=this;this.vmwareService.getTemplates(this.server).subscribe(function(t){r.vmwareTemplates=t.filter(function(i){return"vmware"===i.template_type&&!i.builtin})})},n.prototype.deleteTemplate=function(r){this.deleteComponent.deleteItem(r.name,r.template_id)},n.prototype.onDeleteEvent=function(){this.getTemplates()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(C2))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-vmware-templates"]],viewQuery:function(t,i){var o;(1&t&&e.Gf(wa,5),2&t)&&(e.iGM(o=e.CRH())&&(i.deleteComponent=o.first))},decls:11,vars:5,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],["class","top-button","class","cancel-button","mat-button","",3,"routerLink",4,"ngIf"],["class","top-button","mat-raised-button","","color","primary",3,"routerLink",4,"ngIf"],[4,"ngIf"],["class","default-content",4,"ngIf"],[3,"server","deleteEvent"],["deleteComponent",""],["mat-button","",1,"cancel-button",3,"routerLink"],["mat-raised-button","","color","primary",1,"top-button",3,"routerLink"],[1,"default-content"],[1,"listcontainer","mat-elevation-z8"],["class","list-item",4,"ngFor","ngForOf"],[1,"list-item"],[1,"template-name",3,"routerLink"],["mat-button","",1,"menu-button",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"VMware VM templates"),e.qZA(),e.YNc(5,lhe,2,1,"button",4),e.YNc(6,uhe,2,1,"button",5),e.qZA(),e.qZA(),e.YNc(7,che,1,0,"app-empty-templates-list",6),e.YNc(8,fhe,3,1,"div",7),e.qZA(),e.TgZ(9,"app-delete-template",8,9),e.NdJ("deleteEvent",function(){return i.onDeleteEvent()}),e.qZA()),2&t&&(e.xp6(5),e.Q6J("ngIf",i.server),e.xp6(1),e.Q6J("ngIf",i.server),e.xp6(1),e.Q6J("ngIf",!i.vmwareTemplates.length),e.xp6(1),e.Q6J("ngIf",i.vmwareTemplates.length),e.xp6(1),e.Q6J("server",i.server))},directives:[Et.O5,wa,Mn,fa,ud,ku,Et.sg,Cs,Qa,sr,Ss,Zr],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}(),S2=function(){function n(r){this.httpServer=r}return n.prototype.getTemplates=function(r){return this.httpServer.get(r,"/templates")},n.prototype.getTemplate=function(r,t){return this.httpServer.get(r,"/templates/"+t)},n.prototype.addTemplate=function(r,t){return this.httpServer.post(r,"/templates",t)},n.prototype.saveTemplate=function(r,t){return this.httpServer.put(r,"/templates/"+t.template_id,t)},n.\u0275fac=function(t){return new(t||n)(e.LFG(Yo.wh))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),mhe=function(){function n(r,t,i,o,a,s,u,p){this.route=r,this.serverService=t,this.vpcsService=i,this.router=o,this.toasterService=a,this.templateMocksService=s,this.formBuilder=u,this.computeService=p,this.templateName="",this.isGns3VmAvailable=!1,this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0,this.templateNameForm=this.formBuilder.group({templateName:new ne.NI(null,[ne.kI.required])})}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(t,10)).then(function(i){r.server=i,r.computeService.getComputes(i).subscribe(function(o){o.filter(function(a){return"vm"===a.compute_id}).length>0&&(r.isGns3VmAvailable=!0)})})},n.prototype.setServerType=function(r){"gns3 vm"===r&&this.isGns3VmAvailable?(this.isGns3VmChosen=!0,this.isLocalComputerChosen=!1):(this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0)},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","vpcs","templates"])},n.prototype.addTemplate=function(){var t,r=this;this.templateNameForm.invalid?this.toasterService.error("Fill all required fields"):(this.templateName=this.templateNameForm.get("templateName").value,this.templateMocksService.getVpcsTemplate().subscribe(function(i){t=i}),t.template_id=(0,xa.v4)(),t.name=this.templateName,t.compute_id=this.isGns3VmChosen?"vm":"local",this.vpcsService.addTemplate(this.server,t).subscribe(function(){r.goBack()}))},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(S2),e.Y36(kr),e.Y36(Xn),e.Y36(ec),e.Y36(ne.qu),e.Y36(tc.X))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-add-vpcs-template"]],decls:20,vars:2,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[1,"matCard"],[1,"radio-group"],["value","1","checked","",1,"radio-button",3,"click"],["value","2",1,"radio-button",3,"disabled","click"],[3,"formGroup"],[1,"form-field"],["matInput","","formControlName","templateName","type","text","placeholder","Template name"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"New VPCS node template"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"mat-card",5),e.TgZ(7,"mat-radio-group",6),e.TgZ(8,"mat-radio-button",7),e.NdJ("click",function(){return i.setServerType("local")}),e._uU(9,"Run the VPCS node locally"),e.qZA(),e.TgZ(10,"mat-radio-button",8),e.NdJ("click",function(){return i.setServerType("gns3 vm")}),e._uU(11,"Run the VPCS node on the GNS3 VM"),e.qZA(),e.qZA(),e.TgZ(12,"form",9),e.TgZ(13,"mat-form-field",10),e._UZ(14,"input",11),e.qZA(),e.qZA(),e.qZA(),e.TgZ(15,"div",12),e.TgZ(16,"button",13),e.NdJ("click",function(){return i.goBack()}),e._uU(17,"Cancel"),e.qZA(),e.TgZ(18,"button",14),e.NdJ("click",function(){return i.addTemplate()}),e._uU(19,"Add template"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(10),e.Q6J("disabled",!i.isGns3VmAvailable),e.xp6(2),e.Q6J("formGroup",i.templateNameForm))},directives:[_i,fl,hl,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,Mn],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}(),T2=function(){function n(){}return n.prototype.getConsoleTypes=function(){return["telnet","none"]},n.prototype.getCategories=function(){return[["Default","guest"],["Routers","router"],["Switches","switch"],["End devices","guest"],["Security devices","firewall"]]},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}();function vhe(n,r){if(1&n&&(e.TgZ(0,"mat-option",23),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}function ghe(n,r){if(1&n&&(e.TgZ(0,"mat-option",23),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}var lL=function(){return{standalone:!0}};function _he(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",6),e.TgZ(1,"mat-card",7),e.TgZ(2,"form",8),e.TgZ(3,"mat-form-field",9),e.TgZ(4,"input",10),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().vpcsTemplate.name=a}),e.qZA(),e.qZA(),e.TgZ(5,"mat-form-field",9),e.TgZ(6,"input",11),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().vpcsTemplate.default_name_format=a}),e.qZA(),e.qZA(),e.TgZ(7,"mat-form-field",9),e.TgZ(8,"input",12),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().vpcsTemplate.base_script_file=a}),e.qZA(),e.qZA(),e.TgZ(9,"mat-form-field",9),e.TgZ(10,"input",13),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().vpcsTemplate.symbol=a}),e.qZA(),e.qZA(),e.TgZ(11,"button",14),e.NdJ("click",function(){return e.CHM(t),e.oxw().chooseSymbol()}),e._uU(12,"Choose symbol"),e.qZA(),e._UZ(13,"br"),e._UZ(14,"br"),e.TgZ(15,"mat-form-field",9),e.TgZ(16,"mat-select",15),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().vpcsTemplate.category=a}),e.YNc(17,vhe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.TgZ(18,"mat-form-field",17),e.TgZ(19,"mat-select",18),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().vpcsTemplate.console_type=a}),e.YNc(20,ghe,2,2,"mat-option",16),e.qZA(),e.qZA(),e.TgZ(21,"mat-checkbox",19),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().vpcsTemplate.console_auto_start=a}),e._uU(22," Auto start console "),e.qZA(),e.qZA(),e.qZA(),e.TgZ(23,"div",20),e.TgZ(24,"button",21),e.NdJ("click",function(){return e.CHM(t),e.oxw().goBack()}),e._uU(25,"Cancel"),e.qZA(),e.TgZ(26,"button",22),e.NdJ("click",function(){return e.CHM(t),e.oxw().onSave()}),e._uU(27,"Save"),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(2),e.Q6J("formGroup",i.inputForm),e.xp6(2),e.Q6J("ngModel",i.vpcsTemplate.name),e.xp6(2),e.Q6J("ngModel",i.vpcsTemplate.default_name_format),e.xp6(2),e.Q6J("ngModel",i.vpcsTemplate.base_script_file),e.xp6(2),e.Q6J("ngModel",i.vpcsTemplate.symbol),e.xp6(6),e.Q6J("ngModelOptions",e.DdM(13,lL))("ngModel",i.vpcsTemplate.category),e.xp6(1),e.Q6J("ngForOf",i.categories),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(14,lL))("ngModel",i.vpcsTemplate.console_type),e.xp6(1),e.Q6J("ngForOf",i.consoleTypes),e.xp6(1),e.Q6J("ngModelOptions",e.DdM(15,lL))("ngModel",i.vpcsTemplate.console_auto_start)}}function yhe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"app-symbols-menu",24),e.NdJ("symbolChangedEmitter",function(a){return e.CHM(t),e.oxw().symbolChanged(a)}),e.qZA()}if(2&n){var i=e.oxw();e.Q6J("server",i.server)("symbol",i.vpcsTemplate.symbol)}}var bhe=function(n){return{shadowed:n}},Che=function(){function n(r,t,i,o,a,s,u){this.route=r,this.serverService=t,this.vpcsService=i,this.toasterService=o,this.formBuilder=a,this.vpcsConfigurationService=s,this.router=u,this.isSymbolSelectionOpened=!1,this.consoleTypes=[],this.categories=[],this.inputForm=this.formBuilder.group({templateName:new ne.NI("",ne.kI.required),defaultName:new ne.NI("",ne.kI.required),scriptFile:new ne.NI("",ne.kI.required),symbol:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id"),i=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(t,10)).then(function(o){r.server=o,r.getConfiguration(),r.vpcsService.getTemplate(r.server,i).subscribe(function(a){r.vpcsTemplate=a})})},n.prototype.getConfiguration=function(){this.consoleTypes=this.vpcsConfigurationService.getConsoleTypes(),this.categories=this.vpcsConfigurationService.getCategories()},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","vpcs","templates"])},n.prototype.onSave=function(){var r=this;this.inputForm.invalid?this.toasterService.error("Fill all required fields"):this.vpcsService.saveTemplate(this.server,this.vpcsTemplate).subscribe(function(t){r.toasterService.success("Changes saved")})},n.prototype.chooseSymbol=function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened},n.prototype.symbolChanged=function(r){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.vpcsTemplate.symbol=r},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(S2),e.Y36(Xn),e.Y36(ne.qu),e.Y36(T2),e.Y36(kr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-vpcs-template-details"]],decls:7,vars:5,consts:[[1,"content",3,"ngClass"],[1,"default-header"],[1,"row"],[1,"col"],["class","default-content",4,"ngIf"],[3,"server","symbol","symbolChangedEmitter",4,"ngIf"],[1,"default-content"],[1,"matCard"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","templateName","placeholder","Template name",3,"ngModel","ngModelChange"],["matInput","","type","text","formControlName","defaultName","placeholder","Default name format",3,"ngModel","ngModelChange"],["matInput","","type","text","formControlName","scriptFile","placeholder","Base script file",3,"ngModel","ngModelChange"],["matInput","","type","text","formControlName","symbol","placeholder","Symbol",3,"ngModel","ngModelChange"],["mat-button","",1,"symbolSelectionButton",3,"click"],["placeholder","Category",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"select"],["placeholder","Console type",3,"ngModelOptions","ngModel","ngModelChange"],[3,"ngModelOptions","ngModel","ngModelChange"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[3,"server","symbol","symbolChangedEmitter"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"VPCS device configuration"),e.qZA(),e.qZA(),e.qZA(),e.YNc(5,_he,28,16,"div",4),e.qZA(),e.YNc(6,yhe,1,2,"app-symbols-menu",5)),2&t&&(e.Q6J("ngClass",e.VKq(3,bhe,i.isSymbolSelectionOpened)),e.xp6(5),e.Q6J("ngIf",i.vpcsTemplate),e.xp6(1),e.Q6J("ngIf",i.isSymbolSelectionOpened&&i.vpcsTemplate))},directives:[Et.mk,Et.O5,_i,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,Mn,pi.gD,ne.On,Et.sg,Zo,ln.ey,sd],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}();function She(n,r){if(1&n&&(e.TgZ(0,"button",10),e._uU(1," Back "),e.qZA()),2&n){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences")}}function The(n,r){if(1&n&&(e.TgZ(0,"button",11),e._uU(1," Add VPCS template "),e.qZA()),2&n){var t=e.oxw();e.MGl("routerLink","/server/",t.server.id,"/preferences/vpcs/addtemplate")}}function xhe(n,r){1&n&&e._UZ(0,"app-empty-templates-list")}function whe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",15),e.TgZ(1,"mat-list-item",16),e._uU(2),e.qZA(),e.TgZ(3,"button",17),e.TgZ(4,"mat-icon"),e._uU(5,"more_vert"),e.qZA(),e.qZA(),e.TgZ(6,"mat-menu",null,18),e.TgZ(8,"button",19),e.NdJ("click",function(){var u=e.CHM(t).$implicit;return e.oxw(3).deleteTemplate(u)}),e.TgZ(9,"mat-icon"),e._uU(10,"delete"),e.qZA(),e.TgZ(11,"span"),e._uU(12,"Delete"),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=r.$implicit,o=e.MAs(7);e.xp6(1),e.s9C("routerLink",i.template_id),e.xp6(1),e.Oqu(i.name),e.xp6(1),e.Q6J("matMenuTriggerFor",o)}}function khe(n,r){if(1&n&&(e.TgZ(0,"mat-nav-list"),e.YNc(1,whe,13,3,"div",14),e.qZA()),2&n){var t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.vpcsTemplates)}}function Ehe(n,r){if(1&n&&(e.TgZ(0,"div",12),e.TgZ(1,"div",13),e.YNc(2,khe,2,1,"mat-nav-list",6),e.qZA(),e.qZA()),2&n){var t=e.oxw();e.xp6(2),e.Q6J("ngIf",t.server)}}var Mhe=function(){function n(r,t,i){this.route=r,this.serverService=t,this.vpcsService=i,this.vpcsTemplates=[]}return n.prototype.ngOnInit=function(){var r=this,t=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(t,10)).then(function(i){r.server=i,r.getTemplates()})},n.prototype.getTemplates=function(){var r=this;this.vpcsService.getTemplates(this.server).subscribe(function(t){r.vpcsTemplates=t.filter(function(i){return"vpcs"===i.template_type&&!i.builtin})})},n.prototype.deleteTemplate=function(r){this.deleteComponent.deleteItem(r.name,r.template_id)},n.prototype.onDeleteEvent=function(){this.getTemplates()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(S2))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-vpcs-templates"]],viewQuery:function(t,i){var o;(1&t&&e.Gf(wa,5),2&t)&&(e.iGM(o=e.CRH())&&(i.deleteComponent=o.first))},decls:11,vars:5,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],["class","top-button","class","cancel-button","mat-button","",3,"routerLink",4,"ngIf"],["class","top-button","mat-raised-button","","color","primary",3,"routerLink",4,"ngIf"],[4,"ngIf"],["class","default-content",4,"ngIf"],[3,"server","deleteEvent"],["deleteComponent",""],["mat-button","",1,"cancel-button",3,"routerLink"],["mat-raised-button","","color","primary",1,"top-button",3,"routerLink"],[1,"default-content"],[1,"listcontainer","mat-elevation-z8"],["class","list-item",4,"ngFor","ngForOf"],[1,"list-item"],[1,"template-name",3,"routerLink"],["mat-button","",1,"menu-button",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"VPCS node templates"),e.qZA(),e.YNc(5,She,2,1,"button",4),e.YNc(6,The,2,1,"button",5),e.qZA(),e.qZA(),e.YNc(7,xhe,1,0,"app-empty-templates-list",6),e.YNc(8,Ehe,3,1,"div",7),e.qZA(),e.TgZ(9,"app-delete-template",8,9),e.NdJ("deleteEvent",function(){return i.onDeleteEvent()}),e.qZA()),2&t&&(e.xp6(5),e.Q6J("ngIf",i.server),e.xp6(1),e.Q6J("ngIf",i.server),e.xp6(1),e.Q6J("ngIf",!i.vpcsTemplates.length),e.xp6(1),e.Q6J("ngIf",i.vpcsTemplates.length),e.xp6(1),e.Q6J("server",i.server))},directives:[Et.O5,wa,Mn,fa,ud,ku,Et.sg,Cs,Qa,sr,Ss,Zr],styles:["",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}(),$f=f(33931),x2=f(18419),w2=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return(0,Jn.ZT)(r,n),r.prototype.getItemKey=function(t){return t.id},r}(x2.o),uL=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return(0,Jn.ZT)(r,n),r.\u0275fac=function(){var t;return function(o){return(t||(t=e.n5z(r)))(o||r)}}(),r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(w2),cL=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return(0,Jn.ZT)(r,n),r.\u0275fac=function(){var t;return function(o){return(t||(t=e.n5z(r)))(o||r)}}(),r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(w2),dL=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return(0,Jn.ZT)(r,n),r.\u0275fac=function(){var t;return function(o){return(t||(t=e.n5z(r)))(o||r)}}(),r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(w2),pL=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return(0,Jn.ZT)(r,n),r.\u0275fac=function(){var t;return function(o){return(t||(t=e.n5z(r)))(o||r)}}(),r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(w2),fv=function(){return function(){}}(),py=function(){return function(){}}(),NS=function(){function n(){}return n.prototype.calculate=function(r,t){var i=document.createElement("text");i.innerText=r,i.setAttribute("fill","#00000"),i.setAttribute("fill-opacity","0"),i.setAttribute("style",t),document.documentElement.appendChild(i);var o=i.getBoundingClientRect();return document.documentElement.removeChild(i),{width:o.width,height:o.height}},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),ZS=f(59473),eh=function(){function n(){}return n.prototype.fix=function(r){var t=ZS.parse(r,{context:"declarationList"});return t.children.forEach(function(i){"font-size"===i.property&&i.value&&i.value.children&&i.value.children.forEach(function(o){if("Number"===o.type){var a=o.value.toString();a.indexOf("pt")>=0||a.indexOf("px")>=0||(o.value=a+"pt")}})}),ZS.generate(t)},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),nc=function(){function n(){}return n.prototype.fix=function(r){return r.font_family===n.DEFAULT_FONT&&r.font_size===n.DEFAULT_SIZE&&(r.font_family=n.REPLACE_BY_FONT,r.font_size=n.REPLACE_BY_SIZE),r},n.prototype.fixStyles=function(r){var t=ZS.parse(r,{context:"declarationList"}),i=null,o=null,a=!0;if(t.children.forEach(function(m){"font-family"===m.property&&m.value&&m.value.children&&m.value.children.forEach(function(b){"Identifier"===b.type&&(i=b),"String"===b.type&&(i=b,a=!1)}),"font-size"===m.property&&m.value&&m.value.children&&m.value.children.forEach(function(b){"Dimension"===b.type&&(o=b)})}),o&&i){var u=o.value,p=this.fix({font_family:(a?i.name:i.value).split('"').join(""),font_size:parseInt(u,10)});a?i.name=p.font_family:i.value=p.font_family,o.value=p.font_size}return ZS.generate(t)},n.DEFAULT_FONT="TypeWriter",n.DEFAULT_SIZE=10,n.REPLACE_BY_FONT="Noto Sans",n.REPLACE_BY_SIZE=11,n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),fL=function(){function n(r,t,i){this.fontBBoxCalculator=r,this.cssFixer=t,this.fontFixer=i}return n.prototype.convert=function(r,t){var i=new py;i.rotation=r.rotation,i.style=r.style,i.text=r.text,i.x=r.x,i.y=r.y,i.originalX=r.x,i.originalY=r.y,void 0!==t&&(i.id=t.node_id,i.nodeId=t.node_id);var o=this.cssFixer.fix(i.style),a=this.fontFixer.fixStyles(o),s=this.fontBBoxCalculator.calculate(i.text,a);return null!==i.x&&(i.x+=3),null!==i.y&&(i.y+=s.height),i},n.\u0275fac=function(t){return new(t||n)(e.LFG(NS),e.LFG(eh),e.LFG(nc))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),Ahe=function(){return function(){}}(),hL=function(){function n(){}return n.prototype.convert=function(r){var t=new Ahe;return t.adapterNumber=r.adapter_number,t.linkType=r.link_type,t.name=r.name,t.portNumber=r.port_number,t.shortName=r.short_name,t},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),mL=function(){function n(r,t,i,o,a){this.labelToMapLabel=r,this.portToMapPort=t,this.fontBBoxCalculator=i,this.cssFixer=o,this.fontFixer=a}return n.prototype.convert=function(r){var t=this,i=new fv;if(i.id=r.node_id,i.commandLine=r.command_line,i.computeId=r.compute_id,i.console=r.console,i.consoleHost=r.console_host,i.consoleType=r.console_type,i.firstPortName=r.first_port_name,i.height=r.height,i.label=this.labelToMapLabel?this.labelToMapLabel.convert(r.label,{node_id:r.node_id}):void 0,i.locked=r.locked,i.name=r.name,i.nodeDirectory=r.node_directory,i.nodeType=r.node_type,i.portNameFormat=r.port_name_format,i.portSegmentSize=r.port_segment_size,i.ports=r.ports?r.ports.map(function(u){return t.portToMapPort.convert(u)}):[],i.projectId=r.project_id,i.status=r.status,i.symbol=r.symbol,i.symbolUrl=r.symbol_url,i.usage=r.usage,i.width=r.width,i.x=r.x,i.y=r.y,i.z=r.z,void 0!==i.label){var o=this.cssFixer.fix(i.label.style),a=this.fontFixer.fixStyles(o),s=this.fontBBoxCalculator.calculate(i.label.text,a);(null===r.label.x||null===r.label.y)&&(i.label.x=r.width/2-s.width/2+3,i.label.y=-8)}return i},n.\u0275fac=function(t){return new(t||n)(e.LFG(fL),e.LFG(hL),e.LFG(NS),e.LFG(eh),e.LFG(nc))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),yj=function(){return function(){this.isSelected=!1,this.isMultiplied=!1}}(),LS=function(){return function(){}}(),bj=function(){function n(r){this.labelToMapLabel=r}return n.prototype.convert=function(r,t){var i=new LS;return i.nodeId=r.node_id,i.adapterNumber=r.adapter_number,i.portNumber=r.port_number,i.label=this.labelToMapLabel.convert(r.label),void 0!==t&&(i.linkId=t.link_id,i.id=i.nodeId+"-"+i.linkId),i},n.\u0275fac=function(t){return new(t||n)(e.LFG(fL))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),Cj=function(){function n(r){this.linkNodeToMapLinkNode=r}return n.prototype.convert=function(r){var t=this,i=new yj;return i.id=r.link_id,i.captureFileName=r.capture_file_name,i.captureFilePath=r.capture_file_path,i.capturing=r.capturing,i.filters=r.filters,i.linkType=r.link_type,i.nodes=r.nodes.map(function(o){return t.linkNodeToMapLinkNode.convert(o,{link_id:r.link_id})}),i.projectId=r.project_id,i.suspend=r.suspend,i},n.\u0275fac=function(t){return new(t||n)(e.LFG(bj))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),th=function(){return function(){}}(),k2=function(){function n(){}return n.prototype.convert=function(r){var t=new th;return t.id=r.drawing_id,t.projectId=r.project_id,t.rotation=r.rotation,t.svg=r.svg,t.locked=r.locked,t.x=r.x,t.y=r.y,t.z=r.z,t},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),Dhe=function(){return function(){}}(),Sj=function(){function n(){}return n.prototype.convert=function(r){var t=new Dhe;return t.id=r.symbol_id,t.builtin=r.builtin,t.filename=r.filename,t.raw=r.raw,t},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),Ohe=function(){return function(r,t,i,o){void 0===t&&(t=[]),void 0===i&&(i=[]),void 0===o&&(o=[]),this.index=r,this.nodes=t,this.drawings=i,this.links=o}}(),E2=function(){function n(){this.layers={}}return n.prototype.getLayersList=function(){var r=this;return Object.keys(this.layers).sort(function(t,i){return Number(t)-Number(i)}).map(function(t){return r.layers[t]})},n.prototype.setNodes=function(r){var t=this;r.forEach(function(i){t.getLayerForKey(i.z.toString()).nodes.push(i)})},n.prototype.setDrawings=function(r){var t=this;r.forEach(function(i){t.getLayerForKey(i.z.toString()).drawings.push(i)})},n.prototype.setLinks=function(r){var t=this;r.filter(function(i){return i.source&&i.target}).forEach(function(i){var o=Math.min(i.source.z,i.target.z).toString();t.getLayerForKey(o).links.push(i)})},n.prototype.clear=function(){this.layers={}},n.prototype.getLayerForKey=function(r){return r in this.layers||(this.layers[r]=new Ohe,this.layers[r].index=Number(r)),this.layers[r]},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),FS=function(){function n(){this.LINK_WIDTH=2}return n.prototype.linkTranslation=function(r,t,i){var s,u,a=i.y-t.y;if(0===a)s=0,u=r;else{var p=Math.atan((i.x-t.x)/a);s=-r*Math.cos(p),u=r*Math.sin(p)}return{dx:s,dy:u}},n.prototype.assignDataToLinks=function(r){var t=this,i={};r.forEach(function(o,a){var s=o.source.id,u=o.target.id,p=s<u?s+","+u:u+","+s,m=1;p in i?m=i[p].push(a):i[p]=[a],o.distance=m%2==0?m*t.LINK_WIDTH:(1-m)*t.LINK_WIDTH})},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),fy=function(){function n(r,t,i,o,a,s,u,p,m,b){this.mapNodesDataSource=r,this.mapLinksDataSource=t,this.mapDrawingsDataSource=i,this.mapSymbolsDataSource=o,this.nodeToMapNode=a,this.linkToMapLink=s,this.drawingToMapDrawing=u,this.symbolToMapSymbol=p,this.layersManager=m,this.multiLinkCalculator=b}return n.prototype.setNodes=function(r){var t=this;if(r){var i=r.map(function(o){return t.nodeToMapNode.convert(o)});this.mapNodesDataSource.set(i),this.assignDataToLinks(),this.onDataUpdate()}},n.prototype.setLinks=function(r){var t=this;if(r){var i=r.map(function(o){return t.linkToMapLink.convert(o)});this.mapLinksDataSource.set(i),this.assignDataToLinks(),this.onDataUpdate()}},n.prototype.setDrawings=function(r){var t=this;if(r){var i=r.map(function(o){return t.drawingToMapDrawing.convert(o)});this.mapDrawingsDataSource.set(i),this.onDataUpdate()}},n.prototype.setSymbols=function(r){var t=this;if(r){var i=r.map(function(o){return t.symbolToMapSymbol.convert(o)});this.mapSymbolsDataSource.set(i)}},n.prototype.getNodes=function(){return this.mapNodesDataSource.getItems()},n.prototype.getLinks=function(){return this.mapLinksDataSource.getItems()},n.prototype.getDrawings=function(){return this.mapDrawingsDataSource.getItems()},n.prototype.getSymbols=function(){return this.mapSymbolsDataSource.getItems()},n.prototype.onDataUpdate=function(){this.layersManager.clear(),this.layersManager.setNodes(this.getNodes()),this.layersManager.setLinks(this.getLinks()),this.layersManager.setDrawings(this.getDrawings())},n.prototype.assignDataToLinks=function(){var r={};this.getNodes().forEach(function(t){r[t.id]=t}),this.getLinks().forEach(function(t){var i=t.nodes[0].nodeId,o=t.nodes[1].nodeId;i in r&&(t.source=r[i]),o in r&&(t.target=r[o]),t.source&&t.target&&(t.x=t.source.x+.5*(t.target.x-t.source.x),t.y=t.source.y+.5*(t.target.y-t.source.y))}),this.multiLinkCalculator.assignDataToLinks(this.getLinks())},n.\u0275fac=function(t){return new(t||n)(e.LFG(uL),e.LFG(cL),e.LFG(dL),e.LFG(pL),e.LFG(mL),e.LFG(Cj),e.LFG(k2),e.LFG(Sj),e.LFG(E2),e.LFG(FS))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),M2=function(){return function(r,t){this.x=r,this.y=t}}(),Tj=function(){return function(r,t){this.width=r,this.height=t}}(),Phe=function(){return function(r,t,i){this.x=r,this.y=t,this.k=i}}(),$l=function(){function n(){this.centerZeroZeroPoint=!0,this.size=new Tj(0,0),this.transformation=new Phe(0,0,1)}return n.prototype.getZeroZeroTransformationPoint=function(){return this.centerZeroZeroPoint?new M2(this.size.width/2,this.size.height/2):new M2(0,0)},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),BS=function(){function n(){this.changesDetected=new e.vpe,this.hasBeenDrawn=!1}return n.prototype.detectChanges=function(){this.changesDetected.emit(!0)},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),vL=function(){function n(){}return n.prototype.getOptimalSize=function(r,t){var i=document.documentElement.clientWidth,o=document.documentElement.clientHeight;return r>i&&(i=r),t>o&&(o=t),new Tj(i,o)},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),hy=function(){function n(){this.isReadOnly=!1}return n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),gL=function(){return function(){}}(),Ihe=function(n){function r(t){var i=n.call(this)||this;return i.datum=t,i}return(0,Jn.ZT)(r,n),r}(gL),Rhe=function(n){function r(t){var i=n.call(this)||this;return i.datum=t,i}return(0,Jn.ZT)(r,n),r}(gL),Nhe=function(n){function r(t){var i=n.call(this)||this;return i.datum=t,i}return(0,Jn.ZT)(r,n),r}(gL),A2=function(){function n(){this.start=new e.vpe,this.drag=new e.vpe,this.end=new e.vpe}return n.prototype.call=function(r){r.call(this.behaviour())},n.prototype.behaviour=function(){var t,i,o,r=this;return Uf().on("start",function(a){i=En.sourceEvent.clientX,o=En.sourceEvent.clientY,(t=new Ihe(a)).dx=En.dx,t.dy=En.dy,t.x=En.x,t.y=En.y,r.start.emit(t)}).on("drag",function(a){var s=new Rhe(a);s.dx=En.sourceEvent.clientX-i,s.dy=En.sourceEvent.clientY-o,i=En.sourceEvent.clientX,o=En.sourceEvent.clientY,r.drag.emit(s)}).on("end",function(a){var s=new Nhe(a);s.dx=En.x-t.x,s.dy=En.y-t.y,r.end.emit(s)})},n}(),my=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return(0,Jn.ZT)(r,n),r}(function(){return function(r,t,i){this.datum=r,this.dx=t,this.dy=i}}()),Lhe=function(){return function(r,t,i,o,a){this.datum=r,this.x=t,this.y=i,this.width=o,this.height=a}}(),Fhe=function(){return function(r,t){this.x=r,this.y=t}}(),Bhe=function(){return function(r,t,i){this.datum=r,this.x=t,this.y=i}}(),Uhe=function(){return function(r,t,i){this.savedText=r,this.x=t,this.y=i}}(),Hhe=function(){return function(r,t,i){this.textDrawingId=r,this.editedText=t,this.textElement=i}}(),Vhe=function(){return function(r,t){this.event=r,this.drawing=t}}(),hv=function(){return function(r,t){this.event=r,this.link=t}}(),qhe=function(){return function(r,t){this.event=r,this.interfaceLabel=t}}(),jhe=function(){return function(r,t){this.event=r,this.label=t}}(),rc=function(){function n(){this.selection={},this.selected=new e.vpe,this.unselected=new e.vpe}return n.prototype.setSelected=function(r){var t=this,i=this.convertToKeyDict(r),o=Object.keys(i).filter(function(s){return!t.isSelectedByKey(s)}).map(function(s){return i[s]}),a=Object.keys(this.selection).filter(function(s){return!(s in i)}).map(function(s){return t.selection[s]});this.selection=i,o.length>0&&this.selected.emit(o),a.length>0&&this.unselected.emit(a)},n.prototype.getSelected=function(){var r=this;return Object.keys(this.selection).map(function(t){return r.selection[t]})},n.prototype.isSelected=function(r){var t=this.getKey(r);return this.isSelectedByKey(t)},n.prototype.isSelectedByKey=function(r){return r in this.selection},n.prototype.getKey=function(r){return r.constructor.name+"-"+r.id},n.prototype.convertToKeyDict=function(r){var t=this,i={};return r.forEach(function(o){i[t.getKey(o)]=o}),i},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),US=function(){function n(r,t,i,o){this.cssFixer=r,this.fontFixer=t,this.selectionManager=i,this.mapSettings=o,this.onContextMenu=new e.vpe,this.draggable=new A2,this.enabled=!0}return n.prototype.setEnabled=function(r){this.enabled=r},n.prototype.draw=function(r){var t=this,i=this,o=r.selectAll("g.link_node_position").data(function(b){return[[b.source,b.nodes[0]],[b.target,b.nodes[1]]]}),a=o.enter().append("g").classed("link_node_position",!0),s=o.merge(a);s.attr("transform",function(b){return"translate("+b[0].x+", "+b[0].y+")"});var u=s.selectAll("g.interface_label_container").data(function(b){return t.enabled?[b[1]]:[]}),p=u.enter().append("g").classed("interface_label_container",!0);p.append("rect").attr("class","interface_label_selection"),p.append("text").attr("class","interface_label noselect").attr("interface_label_id",function(b){return""+b.id});var m=u.merge(p).on("contextmenu",function(b,I){event.preventDefault(),i.onContextMenu.emit(new qhe(event,b))});m.select("text.interface_label").text(function(b){return b.label.text}).attr("style",function(b){var I=t.cssFixer.fix(b.label.style);return t.fontFixer.fixStyles(I)}).attr("x",function(b){return b.label.x}).attr("y",function(b){return b.label.y}).attr("transform",function(b){return"rotate("+b.label.rotation+", "+b.label.x+", "+b.label.y+")"}),m.select("rect.interface_label_selection").attr("visibility",function(b){return t.selectionManager.isSelected(b)?"visible":"hidden"}).attr("stroke","black").attr("stroke-dasharray","3,3").attr("stroke-width","0.5").attr("fill","none").each(function(b){var I=Kr(this),G=m.select('text[interface_label_id="'+b.id+'"]').node().getBBox();I.attr("width",G.width+4),I.attr("height",G.height+4),I.attr("x",G.x-2),I.attr("y",G.y-2),I.attr("transform","rotate("+b.label.rotation+", "+(G.x-2)+", "+(G.y-2)+")")}),u.exit().remove(),this.mapSettings.isReadOnly||this.draggable.call(m)},n.SURROUNDING_TEXT_BORDER=5,n.\u0275fac=function(t){return new(t||n)(e.LFG(eh),e.LFG(nc),e.LFG(rc),e.LFG(hy))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),xj=function(){return function(r,t,i,o){this.x=r,this.y=t,this.width=i,this.height=o}}(),_L=function(){function n(){this.selected=new On.xQ}return n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),D2=function(){function n(r,t){this.context=r,this.selectionEventSource=t,this.rectangleSelected=new On.xQ,this.contextMenuOpened=new e.vpe,this.enabled=!1}return n.prototype.disableContextMenu=function(){},n.prototype.setEnabled=function(r){this.enabled=r,this.contextMenuOpened.emit(!0)},n.prototype.activate=function(r){var t=this;r.on("mousedown",function(){if(2==En.button)return r.on("contextmenu",function(){En.preventDefault()}),void t.contextMenuOpened.emit(En);var i=Kr(window),o=this.parentElement,a=t.transformation(al(o));t.startSelection(a),r.selectAll(n.SELECTABLE_CLASS).classed("selected",!1),i.on("mousemove.selection",function(){var s=t.transformation(al(o));t.moveSelection(a,s)}).on("mouseup.selection",function(){var s=t.transformation(al(o));t.endSelection(a,s),i.on("mousemove.selection",null).on("mouseup.selection",null)})})},n.prototype.deactivate=function(r){r.on("mousedown",null)},n.prototype.draw=function(r,t){var i=r.select("g.canvas");if(!i.select("g.selection-line-tool").node()){var o=i.append("g");o.attr("class","selection-line-tool"),this.path=o.append("path"),this.path.attr("class","selection").attr("visibility","hidden")}var a=i.select("g.selection-line-tool"),s=a.attr("status");"activated"!==s&&this.enabled&&(this.activate(r),a.attr("activated")),"deactivated"!==s&&!this.enabled&&(this.deactivate(r),a.attr("deactivated"))},n.prototype.startSelection=function(r){this.path.attr("d",this.rect(r[0],r[1],0,0)).attr("visibility","visible")},n.prototype.moveSelection=function(r,t){var i=r[0]/this.context.transformation.k,o=r[1]/this.context.transformation.k;this.path.attr("d",this.rect(i,o,t[0]/this.context.transformation.k-i,t[1]/this.context.transformation.k-o)),this.selectedEvent(r,t)},n.prototype.endSelection=function(r,t){this.path.attr("visibility","hidden"),this.selectedEvent(r,t)},n.prototype.selectedEvent=function(r,t){var i=Math.min(r[0],t[0]),o=Math.min(r[1],t[1]),a=Math.abs(r[0]-t[0]),s=Math.abs(r[1]-t[1]);this.selectionEventSource.selected.next(new xj(i,o,a,s))},n.prototype.rect=function(r,t,i,o){return"M"+[r,t]+" l"+[i,0]+" l"+[0,o]+" l"+[-i,0]+"z"},n.prototype.transformation=function(r){var t=this.context.getZeroZeroTransformationPoint();return[r[0]-t.x-this.context.transformation.x,r[1]-t.y-this.context.transformation.y]},n.SELECTABLE_CLASS=".selectable",n.\u0275fac=function(t){return new(t||n)(e.LFG($l),e.LFG(_L))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),yL=function(){function n(r){this.context=r,this.enabled=!1,this.needsDeactivate=!1,this.needsActivate=!1,this.zoom=WH().scaleExtent([.5,8])}return n.prototype.setEnabled=function(r){this.enabled!=r&&(r?this.needsActivate=!0:this.needsDeactivate=!0),this.enabled=r},n.prototype.draw=function(r,t){this.needsActivate&&(this.activate(r),this.needsActivate=!1),this.needsDeactivate&&(this.deactivate(r),this.needsDeactivate=!1)},n.prototype.activate=function(r){var t=this;this.zoom.filter(function(){return"mousedown"===En.type}),this.zoom.on("zoom",function(){var o=r.select("g.canvas"),a=En;o.attr("transform",function(){return t.context.transformation.x=a.transform.x,t.context.transformation.y=a.transform.y,t.context.transformation.k=a.transform.k,"translate("+(t.context.getZeroZeroTransformationPoint().x+t.context.transformation.x)+", "+(t.context.getZeroZeroTransformationPoint().y+t.context.transformation.y)+") scale("+t.context.transformation.k+")"})}),r.call(this.zoom)},n.prototype.deactivate=function(r){r.on("mousedown.zoom",null),this.zoom.on("zoom",null)},n.\u0275fac=function(t){return new(t||n)(e.LFG($l))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),wj=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return(0,Jn.ZT)(r,n),r}(function(){return function(r,t){this.event=r,this.node=t}}()),O2=function(){function n(r,t,i,o){this.cssFixer=r,this.fontFixer=t,this.selectionManager=i,this.mapSettings=o,this.onContextMenu=new e.vpe,this.draggable=new A2}return n.prototype.redrawLabel=function(r,t){this.drawLabel(this.selectLabel(r,t))},n.prototype.draw=function(r){var t=this,i=r.selectAll("g.label_container").data(function(s){return[s.label]}),o=i.enter().append("g").attr("class","label_container").attr("label_id",function(s){return s.id}),a=i.merge(o).on("contextmenu",function(s,u){event.preventDefault(),t.onContextMenu.emit(new jhe(event,s))});this.drawLabel(a),i.exit().remove(),this.mapSettings.isReadOnly||this.draggable.call(i)},n.prototype.drawLabel=function(r){var t=this,i=r.selectAll("g.label_body").data(function(s){return[s]}),o=i.enter().append("g").attr("class","label_body");o.append("text").attr("class","label"),o.append("rect").attr("class","label_selection");var a=i.merge(o);a.select("text.label").attr("label_id",function(s){return s.id}).attr("style",function(s){var u=t.cssFixer.fix(s.style);return t.fontFixer.fixStyles(u)}).text(function(s){return s.text}).attr("x",function(s){return s.x}).attr("y",function(s){return s.y}).attr("transform",function(s){return"rotate("+s.rotation+", "+s.x+", "+s.y+")"}),a.select("rect.label_selection").attr("visibility",function(s){return t.selectionManager.isSelected(s)?"visible":"hidden"}).attr("stroke","black").attr("stroke-dasharray","3,3").attr("stroke-width","0.5").attr("fill","none").each(function(s){var u=Kr(this),m=a.select('text[label_id="'+s.id+'"]').node().getBBox();u.attr("width",m.width+4),u.attr("height",m.height+4),u.attr("x",m.x-2),u.attr("y",m.y-2),u.attr("transform","rotate("+s.rotation+",  "+s.x+", "+s.y+")")})},n.prototype.selectLabel=function(r,t){return r.selectAll('g.label_container[label_id="'+t.id+'"]')},n.NODE_LABEL_MARGIN=3,n.\u0275fac=function(t){return new(t||n)(e.LFG(eh),e.LFG(nc),e.LFG(rc),e.LFG(hy))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),mv=function(){function n(){this.dragged=new e.vpe,this.labelDragged=new e.vpe,this.clicked=new e.vpe}return n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),Mu=function(){function n(){this.symbolScalingSubject=new On.xQ,this.isScrollDisabled=new On.xQ,this.isMapLocked=new On.xQ,this.isTopologySummaryVisible=!0,this.isLogConsoleVisible=!1,this.isLayerNumberVisible=!1,this.logConsoleSubject=new On.xQ,this.mapRenderedEmitter=new e.vpe,this.showInterfaceLabels=!0,this.integrateLinkLabelsToLinks=!0,this.openConsolesInWidget=!1,this.isLayerNumberVisible="true"===localStorage.getItem("layersVisibility"),localStorage.getItem("integrateLinkLabelsToLinks")&&(this.integrateLinkLabelsToLinks="true"===localStorage.getItem("integrateLinkLabelsToLinks")),localStorage.getItem("openConsolesInWidget")&&(this.openConsolesInWidget="true"===localStorage.getItem("openConsolesInWidget")),localStorage.getItem("symbolScaling")?localStorage.getItem("symbolScaling"):localStorage.setItem("symbolScaling","true")}return n.prototype.getSymbolScaling=function(){return"true"===localStorage.getItem("symbolScaling")},n.prototype.setSymbolScaling=function(r){r?localStorage.setItem("symbolScaling","true"):localStorage.setItem("symbolScaling","false"),this.symbolScalingSubject.next(r)},n.prototype.changeMapLockValue=function(r){this.isMapLocked.next(r)},n.prototype.setConsoleContextMenuAction=function(r){localStorage.setItem("consoleContextMenu",r)},n.prototype.getConsoleContextManuAction=function(){return localStorage.getItem("consoleContextMenu")},n.prototype.toggleTopologySummary=function(r){this.isTopologySummaryVisible=r},n.prototype.toggleLogConsole=function(r){this.isLogConsoleVisible=r},n.prototype.toggleLayers=function(r){this.isLayerNumberVisible=r},n.prototype.toggleShowInterfaceLabels=function(r){this.showInterfaceLabels=r},n.prototype.toggleIntegrateInterfaceLabels=function(r){this.integrateLinkLabelsToLinks=r,localStorage.removeItem("integrateLinkLabelsToLinks"),r?localStorage.setItem("integrateLinkLabelsToLinks","true"):localStorage.setItem("integrateLinkLabelsToLinks","false")},n.prototype.toggleOpenConsolesInWidget=function(r){this.openConsolesInWidget=r,localStorage.removeItem("openConsolesInWidget"),r?localStorage.setItem("openConsolesInWidget","true"):localStorage.setItem("openConsolesInWidget","false")},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)},providedIn:"root"}),n}(),bL=function(){function n(r,t,i,o,a){this.graphDataManager=r,this.selectionManager=t,this.labelWidget=i,this.nodesEventSource=o,this.mapSettingsService=a,this.onContextMenu=new e.vpe,this.onContextConsoleMenu=new e.vpe,this.onNodeClicked=new e.vpe}return n.prototype.draw=function(r){var t=this,i=this,o=r.selectAll("g.node_body").data(function(u){return[u]}),a=o.enter().append("g").attr("class","node_body");a.append("image");var s=o.merge(a).classed("selected",function(u){return t.selectionManager.isSelected(u)}).on("click",function(u){t.nodesEventSource.clicked.emit(new Bhe(u,En.pageX,En.pageY))});s.select(".layer_label_wrapper").remove(),this.mapSettingsService.isLayerNumberVisible&&s.append("rect").attr("class","layer_label_wrapper").attr("width","26").attr("height","26").attr("x",function(u){return u.width/2-13}).attr("y",function(u){return u.height/2-13}).attr("fill","red"),s.select(".layer_label").remove(),this.mapSettingsService.isLayerNumberVisible&&s.append("text").attr("class","layer_label").text(function(u){return u.z}).attr("x",function(u){return u.z>=100?u.width/2-13:u.z>=10?u.width/2-9:u.width/2-5}).attr("y",function(u){return u.height/2+5}).attr("style",function(){var u=[];return u.push('font-family: "Noto Sans"'),u.push("font-size: 11pt"),u.push("font-weight: bold"),u.join("; ")}).attr("fill","#ffffff"),s.select("image").on("contextmenu",function(u,p){En.preventDefault(),i.onContextMenu.emit(new wj(En,u))}).on("dblclick",function(u,p){En.preventDefault(),i.onContextConsoleMenu.emit(new wj(En,u))}).attr("xnode:href",function(u){return u.symbolUrl}).attr("width",function(u){return u.width?u.width:60}).attr("height",function(u){return u.height?u.height:60}).attr("x",function(u){return 0}).attr("y",function(u){return 0}).on("mouseover",function(u){Kr(this).attr("class","over")}).on("mouseout",function(u){Kr(this).attr("class","")}),s.attr("transform",function(u){return u.width?"translate("+u.x+","+u.y+")":"translate("+(u.x-30)+","+(u.y-30)+")"}),this.labelWidget.draw(s)},n.\u0275fac=function(t){return new(t||n)(e.LFG(fy),e.LFG(rc),e.LFG(O2),e.LFG(mv),e.LFG(Mu))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),P2=function(){function n(r,t){this.nodeWidget=r,this.mapSettings=t,this.draggable=new A2}return n.prototype.redrawNode=function(r,t){this.nodeWidget.draw(this.selectNode(r,t))},n.prototype.draw=function(r){var t=r.selectAll("g.node").data(function(a){return a.nodes?a.nodes:[]},function(a){return a.id}),i=t.enter().append("g").attr("class","node").attr("node_id",function(a){return a.id}),o=t.merge(i);this.nodeWidget.draw(o),t.exit().remove(),this.mapSettings.isReadOnly||this.draggable.call(o)},n.prototype.selectNode=function(r,t){return r.selectAll('g.node[node_id="'+t.id+'"]')},n.NODE_LABEL_MARGIN=3,n.\u0275fac=function(t){return new(t||n)(e.LFG(bL),e.LFG(hy))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),Whe=function(){return function(){}}(),CL=function(){function n(){this.drawingLine=new Whe,this.drawing=!1,this.data={}}return n.prototype.start=function(r,t,i){var o=this;this.drawing=!0,this.data=i,this.drawingLine.start=new M2(r,t),this.drawingLine.end=new M2(r,t),this.selection.on("mousemove",function(s,u){var m=al(o.selection.select("g.canvas").node());o.drawingLine.end.x=m[0],o.drawingLine.end.y=m[1],o.draw(null,null)}),this.draw(null,null)},n.prototype.isDrawing=function(){return this.drawing},n.prototype.stop=function(){return this.drawing=!1,this.selection.on("mousemove",null),this.draw(null,null),this.data},n.prototype.connect=function(r,t){this.selection=r},n.prototype.draw=function(r,t){var i=this.selection.select("g.canvas");i.select("g.drawing-line-tool").node()||i.append("g").attr("class","drawing-line-tool");var o=[];this.drawing&&(o=[[[this.drawingLine.start.x,this.drawingLine.start.y],[this.drawingLine.end.x,this.drawingLine.end.y]]]);var a=OA(),u=this.selection.select("g.drawing-line-tool").selectAll("path").data(o),p=u.enter().append("path");u.merge(p).attr("d",a).attr("stroke","#000").attr("stroke-width","2"),u.exit().remove()},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),kj=function(){return function(r,t,i,o){this.x=r,this.y=t,this.status=i,this.port=o}}(),Ej=function(){function n(r){this._mapSettingsService=r,this.mapSettingsService=r}return n.prototype.draw=function(r){var t=this,i=[];r.each(function(o){i.push(o)}),i.forEach(function(o){i.forEach(function(a){a.nodes[0].linkId!==o.nodes[0].linkId&&(o.nodes[0].nodeId===a.nodes[0].nodeId&&o.nodes[1].nodeId===a.nodes[1].nodeId||o.nodes[0].nodeId===a.nodes[1].nodeId&&o.nodes[1].nodeId===a.nodes[0].nodeId||o.nodes[1].nodeId===a.nodes[0].nodeId&&o.nodes[0].nodeId===a.nodes[1].nodeId)&&(o.isMultiplied=!0)})}),r.each(function(o){var a=Kr(this),s=a.select("path"),u=[];if(s.node()){var p=s.node().getPointAtLength(80),m=s.node().getPointAtLength(s.node().getTotalLength()-80);if(s.node().getTotalLength()>220&&o.source&&o.target){var b=o.nodes.find(function(kt){return kt.nodeId===o.source.id}).label.text,I=o.nodes.find(function(kt){return kt.nodeId===o.target.id}).label.text;u=[new kj(p.x,p.y,o.capturing&&o.suspend?"suspended":o.source.status,b),new kj(m.x,m.y,o.capturing&&o.suspend?"suspended":o.target.status,I)]}}if(a.selectAll("circle.status_started").remove(),a.selectAll("circle.status_stopped").remove(),a.selectAll("circle.status_suspended").remove(),a.selectAll("rect.status_started").remove(),a.selectAll("text.status_started_label").remove(),a.selectAll("rect.status_stopped").remove(),a.selectAll("text.status_stopped_label").remove(),a.selectAll("rect.status_suspended").remove(),a.selectAll("text.status_suspended_label").remove(),t.mapSettingsService.showInterfaceLabels&&t.mapSettingsService.integrateLinkLabelsToLinks&&!o.isMultiplied){var G=(F=a.selectAll("rect.status_started").data(u.filter(function(kt){return"started"===kt.status}))).enter().append("rect");F.merge(G).attr("class","status_started").attr("width",function(kt){return 8*kt.port.length+10}).attr("height",20).attr("x",function(kt){return kt.x-30}).attr("y",function(kt){return kt.y-10}).attr("rx",8).attr("ry",8).style("fill","white").attr("stroke","#2ecc71").attr("stroke-width",3),F.exit().remove();var Y=a.selectAll("text.status_started_label").data(u.filter(function(kt){return"started"===kt.status})),$=Y.enter().append("text");Y.merge($).attr("class","status_started_label").text(function(kt){return kt.port}).attr("x",function(kt){return kt.x-25}).attr("y",function(kt){return kt.y+5}).attr("fill","black"),Y.exit().remove();var Me=(de=a.selectAll("rect.status_stopped").data(u.filter(function(kt){return"stopped"===kt.status}))).enter().append("rect");de.merge(Me).attr("class","status_stopped").attr("width",function(kt){return 8*kt.port.length+10}).attr("height",20).attr("x",function(kt){return kt.x-30}).attr("y",function(kt){return kt.y-10}).attr("rx",8).attr("ry",8).style("fill","white").attr("stroke","red").attr("stroke-width",3),de.exit().remove();var st=a.selectAll("text.status_stopped_label").data(u.filter(function(kt){return"stopped"===kt.status})),tt=st.enter().append("text");st.merge(tt).attr("class","status_stopped_label").text(function(kt){return kt.port}).attr("x",function(kt){return kt.x-25}).attr("y",function(kt){return kt.y+5}).attr("fill","black"),st.exit().remove();var pt=(at=a.selectAll("rect.status_suspended").data(u.filter(function(kt){return"suspended"===kt.status}))).enter().append("rect");at.merge(pt).attr("class","status_suspended").attr("width",function(kt){return 8*kt.port.length+10}).attr("height",20).attr("x",function(kt){return kt.x-30}).attr("y",function(kt){return kt.y-10}).attr("rx",8).attr("ry",8).style("fill","white").attr("stroke","#FFFF00").attr("stroke-width",3),at.exit().remove();var Je=a.selectAll("text.status_suspended_label").data(u.filter(function(kt){return"suspended"===kt.status})),et=Je.enter().append("text");Je.merge(et).attr("class","status_suspended_label").text(function(kt){return kt.port}).attr("x",function(kt){return kt.x-25}).attr("y",function(kt){return kt.y+5}).attr("fill","black"),Je.exit().remove()}else{var F,de,at;G=(F=a.selectAll("circle.status_started").data(u.filter(function(dn){return"started"===dn.status}))).enter().append("circle"),F.merge(G).attr("class","status_started").attr("cx",function(dn){return dn.x}).attr("cy",function(dn){return dn.y}).attr("r",6).attr("text",function(dn){return dn.port}).attr("fill","#2ecc71"),F.exit().remove(),Me=(de=a.selectAll("rect.status_stopped").data(u.filter(function(dn){return"stopped"===dn.status}))).enter().append("rect"),de.merge(Me).attr("class","status_stopped").attr("x",function(dn){return dn.x-5}).attr("y",function(dn){return dn.y-5}).attr("width",10).attr("height",10).attr("fill","red"),de.exit().remove(),pt=(at=a.selectAll("circle.status_suspended").data(u.filter(function(dn){return"suspended"===dn.status}))).enter().append("circle"),at.merge(pt).attr("class","status_suspended").attr("cx",function(dn){return dn.x}).attr("cy",function(dn){return dn.y}).attr("r",6).attr("fill","#FFFF00"),at.exit().remove()}})},n.\u0275fac=function(t){return new(t||n)(e.LFG(Mu))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),Ghe=function(){return function(r,t){this.source=r,this.target=t}}(),SL=function(){function n(){this.onContextMenu=new e.vpe}return n.prototype.linktoEthernetLink=function(r){return new Ghe([r.source.x+r.source.width/2,r.source.y+r.source.height/2],[r.target.x+r.target.width/2,r.target.y+r.target.height/2])},n.prototype.draw=function(r){var t=this,i=r.selectAll("path.ethernet_link").data(function(s){return"ethernet"===s.linkType?[t.linktoEthernetLink(s)]:[]}),o=i.enter().append("path").attr("class","ethernet_link").on("contextmenu",function(s){var p=event;t.onContextMenu.emit(new hv(p,s))});o.attr("stroke","#000").attr("stroke-width","2").on("contextmenu",function(s){var p=event;t.onContextMenu.emit(new hv(p,s))}),i.merge(o).attr("d",function(s){var u=Yu();return u.moveTo(s.source[0],s.source[1]),u.lineTo(s.target[0],s.target[1]),u.toString()})},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),Yhe=function(){return function(r,t,i,o){this.source=r,this.source_angle=t,this.target_angle=i,this.target=o}}(),TL=function(){function n(){this.onContextMenu=new e.vpe}return n.prototype.linkToSerialLink=function(r){var t={x:r.source.x+r.source.width/2,y:r.source.y+r.source.height/2},i={x:r.target.x+r.target.width/2,y:r.target.y+r.target.height/2},o=i.x-t.x,a=i.y-t.y,s=Math.atan2(a,o),u=-Math.PI/4,p=[Math.cos(s+u),Math.sin(s+u)];return new Yhe([t.x,t.y],[t.x+o/2+15*p[0],t.y+a/2+15*p[1]],[i.x-o/2-15*p[0],i.y-a/2-15*p[1]],[i.x,i.y])},n.prototype.draw=function(r){var t=this,i=r.selectAll("path.serial_link").data(function(s){return"serial"===s.linkType?[t.linkToSerialLink(s)]:[]}),o=i.enter().append("path").attr("class","serial_link").on("contextmenu",function(s){var p=event;t.onContextMenu.emit(new hv(p,s))});o.attr("stroke","#B22222").attr("fill","none").attr("stroke-width","2"),i.merge(o).attr("d",function(s){var u=Yu();return u.moveTo(s.source[0],s.source[1]),u.lineTo(s.source_angle[0],s.source_angle[1]),u.lineTo(s.target_angle[0],s.target_angle[1]),u.lineTo(s.target[0],s.target[1]),u.toString()})},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),xL=function(){function n(r,t,i,o,a,s){this.multiLinkCalculatorHelper=r,this.interfaceLabelWidget=t,this.interfaceStatusWidget=i,this.selectionManager=o,this.ethernetLinkWidget=a,this.serialLinkWidget=s,this.onContextMenu=new e.vpe}return n.prototype.draw=function(r){var t=this,i=r.selectAll("g.link_body").data(function(s){return[s]}),o=i.enter().append("g").attr("class","link_body"),a=i.merge(o).attr("transform",function(s){var u=t.multiLinkCalculatorHelper.linkTranslation(s.distance,s.source,s.target);return"translate ("+u.dx+", "+u.dy+")"});i.select(".capture-icon").remove(),i.filter(function(s){return s.capturing&&!s.suspend&&!(s.filters.bpf||s.filters.corrupt||s.filters.delay||s.filters.frequency_drop||s.filters.packet_loss)}).append("g").on("contextmenu",function(s){t.onContextMenu.emit(new hv(En,s))}).attr("class","capture-icon").attr("transform",function(s){return"translate ("+((s.source.x+s.target.x)/2+24)+", "+((s.source.y+s.target.y)/2+24)+") scale(0.5)"}).attr("viewBox","0 0 20 20").append("image").attr("xlink:href","assets/resources/images/inspect.svg"),i.select(".filter-capture-icon").remove(),i.filter(function(s){return s.capturing&&!s.suspend&&(s.filters.bpf||s.filters.corrupt||s.filters.delay||s.filters.frequency_drop||s.filters.packet_loss)}).append("g").on("contextmenu",function(s){t.onContextMenu.emit(new hv(En,s))}).attr("class","filter-capture-icon").attr("transform",function(s){return"translate ("+((s.source.x+s.target.x)/2+24)+", "+((s.source.y+s.target.y)/2+24)+") scale(0.5)"}).attr("viewBox","0 0 20 20").append("image").attr("xlink:href","assets/resources/images/filter-capture.svg"),i.select(".filter-icon").remove(),i.filter(function(s){return!s.capturing&&(s.filters.bpf||s.filters.corrupt||s.filters.delay||s.filters.frequency_drop||s.filters.packet_loss)}).append("g").on("contextmenu",function(s){t.onContextMenu.emit(new hv(En,s))}).attr("class","filter-icon").attr("width","48px").attr("height","48px").attr("transform",function(s){return"translate ("+((s.source.x+s.target.x)/2+24)+", "+((s.source.y+s.target.y)/2+24)+") scale(0.5)"}).attr("viewBox","0 0 20 20").append("image").attr("width","48px").attr("height","48px").attr("xlink:href","assets/resources/images/filter.svg"),i.select(".pause-icon").remove(),i.filter(function(s){return s.capturing&&s.suspend&&!(s.filters.bpf||s.filters.corrupt||s.filters.delay||s.filters.frequency_drop||s.filters.packet_loss)}).append("g").on("contextmenu",function(s){t.onContextMenu.emit(new hv(En,s))}).attr("class","pause-icon").attr("transform",function(s){return"translate ("+((s.source.x+s.target.x)/2+24)+", "+((s.source.y+s.target.y)/2+24)+") scale(0.5)"}).attr("viewBox","0 0 20 20").append("image").attr("xlink:href","assets/resources/images/pause.svg"),this.serialLinkWidget.draw(a),this.ethernetLinkWidget.draw(a),a.select("path").classed("selected",function(s){return t.selectionManager.isSelected(s)}),this.interfaceLabelWidget.draw(a),this.interfaceStatusWidget.draw(a)},n.\u0275fac=function(t){return new(t||n)(e.LFG(FS),e.LFG(US),e.LFG(Ej),e.LFG(rc),e.LFG(SL),e.LFG(TL))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),wL=function(){function n(r,t){this.multiLinkCalculatorHelper=r,this.linkWidget=t}return n.prototype.redrawLink=function(r,t){this.linkWidget.draw(this.selectLink(r,t))},n.prototype.draw=function(r){var t=this,i=r.selectAll("g.link").data(function(s){if(s.links){var u=s.links.filter(function(p){return p.target&&p.source});return t.multiLinkCalculatorHelper.assignDataToLinks(u),u}return[]},function(s){return s.id}),o=i.enter().append("g").attr("class","link").attr("link_id",function(s){return s.id}).attr("map-source",function(s){return s.source.id}).attr("map-target",function(s){return s.target.id}),a=i.merge(o);this.linkWidget.draw(a),i.exit().remove()},n.prototype.selectLink=function(r,t){return r.selectAll('g.link[link_id="'+t.id+'"]')},n.\u0275fac=function(t){return new(t||n)(e.LFG(FS),e.LFG(xL))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),Jhe=function(){return function(){}}(),Oo=function(){return function(){}}(),Qhe=function(){function n(){}return n.prototype.convert=function(r){var t=new Oo,i=r.attributes.getNamedItem("fill");i&&(t.fill=i.value);var o=r.attributes.getNamedItem("fill-opacity");i&&(t.fill_opacity=parseFloat(o.value));var a=r.attributes.getNamedItem("stroke");a&&(t.stroke=a.value);var s=r.attributes.getNamedItem("stroke-width");a&&(t.stroke_width=parseInt(s.value,10));var u=r.attributes.getNamedItem("stroke-dasharray");u&&(t.stroke_dasharray=u.value);var p=r.attributes.getNamedItem("cx");p&&(t.cx=parseInt(p.value,10));var m=r.attributes.getNamedItem("cy");m&&(t.cy=parseInt(m.value,10));var b=r.attributes.getNamedItem("rx");b&&(t.rx=parseInt(b.value,10));var I=r.attributes.getNamedItem("ry");return I&&(t.ry=parseInt(I.value,10)),t},n}(),I2=function(){return function(){}}(),Khe=function(){function n(){}return n.prototype.convert=function(r){var t=new I2,i=r.attributes.getNamedItem("xlink:href");i&&(t.data=i.value);var o=r.attributes.getNamedItem("width");o&&(t.width=parseInt(o.value,10));var a=r.attributes.getNamedItem("height");return a&&(t.height=parseInt(a.value,10)),t},n}(),vv=function(){return function(){}}(),Xhe=function(){function n(){}return n.prototype.convert=function(r){var t=new vv,i=r.attributes.getNamedItem("stroke");i&&(t.stroke=i.value);var o=r.attributes.getNamedItem("stroke-width");i&&(t.stroke_width=parseInt(o.value,10));var a=r.attributes.getNamedItem("stroke-dasharray");a&&(t.stroke_dasharray=a.value);var s=r.attributes.getNamedItem("x1");s&&(t.x1=parseInt(s.value,10));var u=r.attributes.getNamedItem("x2");u&&(t.x2=parseInt(u.value,10));var p=r.attributes.getNamedItem("y1");p&&(t.y1=parseInt(p.value,10));var m=r.attributes.getNamedItem("y2");return m&&(t.y2=parseInt(m.value,10)),t},n}(),mp=function(){return function(){}}(),$he=function(){function n(){}return n.prototype.convert=function(r){var t=new mp,i=r.attributes.getNamedItem("fill");i&&(t.fill=i.value);var o=r.attributes.getNamedItem("fill-opacity");i&&(t.fill_opacity=parseFloat(o.value));var a=r.attributes.getNamedItem("stroke");a&&(t.stroke=a.value);var s=r.attributes.getNamedItem("stroke-width");a&&(t.stroke_width=parseInt(s.value,10));var u=r.attributes.getNamedItem("stroke-dasharray");u&&(t.stroke_dasharray=u.value);var p=r.attributes.getNamedItem("width");p&&(t.width=parseInt(p.value,10));var m=r.attributes.getNamedItem("height");return m&&(t.height=parseInt(m.value,10)),t},n}(),gv=function(){return function(){}}(),eme=function(){function n(){}return n.prototype.convert=function(r){var t=new gv;t.text=r.textContent;var i=r.attributes.getNamedItem("fill");i&&(t.fill=i.value);var o=r.attributes.getNamedItem("fill-opacity");o&&(t.fill_opacity=parseFloat(o.value));var a=r.attributes.getNamedItem("font-family");a&&(t.font_family=a.value);var s=r.attributes.getNamedItem("font-size");s&&(t.font_size=+s.value);var u=r.attributes.getNamedItem("font-weight");u&&(t.font_weight=u.value);var p=r.attributes.getNamedItem("text-decoration");return p&&(t.text_decoration=p.value),t},n}(),HS=function(){function n(){this.parser=new DOMParser,this.elementParsers={text:new eme,image:new Khe,rect:new $he,line:new Xhe,ellipse:new Qhe}}return n.prototype.supportedTags=function(){return Object.keys(this.elementParsers)},n.prototype.convert=function(r){var i=this.parser.parseFromString(r,"text/xml").getElementsByTagName("svg");if(1!==i.length)throw new Error("Cannot locate svg element root in '"+r+"'");var o=i[0],a=null,s=null;for(var u in o.children){var p=(s=o.children[u]).nodeName;if(p in this.elementParsers){a=this.elementParsers[p];break}}if(null===a)throw new Error("Cannot find parser for '"+r+"'");var m=a.convert(s);return m.width=+o.getAttribute("width"),m.height=+o.getAttribute("height"),m},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),Mj=function(){function n(r){this.fontFixer=r}return n.prototype.draw=function(r){var t=this,i=r.selectAll("text.text_element").data(function(m){return m.element&&m.element instanceof gv?[m.element]:[]}),o=i.enter().append("text").attr("class","text_element noselect"),a=i.merge(o);a.attr("style",function(m){var b=t.fontFixer.fix(m),I=[];return b.font_family&&I.push('font-family: "'+m.font_family+'"'),b.font_size&&I.push("font-size: "+m.font_size+"pt"),b.font_weight&&I.push("font-weight: "+m.font_weight),I.join("; ")}).attr("fill",function(m){return m.fill}).attr("text-decoration",function(m){return m.text_decoration});var s=a.selectAll("tspan").data(function(m){return m.text.split(/\r?\n/)}),u=s.enter().append("tspan");s.merge(u).text(function(m){return m}).attr("xml:space","preserve").attr("x",0).attr("dy",function(m,b){return 0===b?"0em":"1.4em"}),s.exit().remove(),a.attr("transform",function(){var m=Kr(this).selectAll("tspan"),b=this.getBBox().height/m.size();return"translate("+n.MARGIN+", "+(b-n.MARGIN)+")"}),i.exit().remove()},n.MARGIN=4,n.\u0275fac=function(t){return new(t||n)(e.LFG(nc))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),Aj=function(){function n(){}return n.prototype.draw=function(r){var t=r.selectAll("image.image_element").data(function(a){return a.element&&a.element instanceof I2?[a.element]:[]}),i=t.enter().append("image").attr("class","image_element noselect");t.merge(i).attr("xlink:href",function(a){return a.data}).attr("width",function(a){return a.width}).attr("height",function(a){return a.height}),t.exit().remove()},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),_v=function(){function n(){}return n.prototype.fix=function(r){return r in n.MAPPING?n.MAPPING[r]:r},n.MAPPING={"25, 25":"10, 2","5, 25":"4, 2","5, 25, 25":"5, 5, 1, 5","25, 25, 5, 25, 5":"5, 2, 5, 2, 5"},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),Dj=function(){function n(r){this.qtDasharrayFixer=r}return n.prototype.draw=function(r){var t=this,i=r.selectAll("rect.rect_element").data(function(s){return s.element&&s.element instanceof mp?[s.element]:[]});i.enter().append("line").attr("class","top"),i.enter().append("line").attr("class","bottom"),i.enter().append("line").attr("class","right"),i.enter().append("line").attr("class","left");var o=i.enter().append("rect").attr("class","rect_element noselect");i.merge(o).attr("fill",function(s){return s.fill}).attr("fill-opacity",function(s){return s.fill_opacity}).attr("stroke",function(s){return s.stroke}).attr("stroke-width",function(s){return s.stroke_width}).attr("stroke-dasharray",function(s){return t.qtDasharrayFixer.fix(s.stroke_dasharray)}).attr("width",function(s){return s.width}).attr("height",function(s){return s.height}),i.exit().remove()},n.\u0275fac=function(t){return new(t||n)(e.LFG(_v))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),Oj=function(){function n(r){this.qtDasharrayFixer=r}return n.prototype.draw=function(r){var t=this,i=r.selectAll("line.line_element").data(function(s){return s.element&&s.element instanceof vv?[s.element]:[]});i.enter().append("circle").attr("class","right"),i.enter().append("circle").attr("class","left");var o=i.enter().append("line").attr("class","line_element noselect");i.merge(o).attr("stroke",function(s){return s.stroke}).attr("stroke-width",function(s){return s.stroke_width}).attr("stroke-dasharray",function(s){return t.qtDasharrayFixer.fix(s.stroke_dasharray)}).attr("x1",function(s){return s.x1}).attr("x2",function(s){return s.x2}).attr("y1",function(s){return s.y1}).attr("y2",function(s){return s.y2}),i.exit().remove()},n.\u0275fac=function(t){return new(t||n)(e.LFG(_v))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),Pj=function(){function n(r){this.qtDasharrayFixer=r}return n.prototype.draw=function(r){var t=this,i=r.selectAll("ellipse.ellipse_element").data(function(s){return s.element&&s.element instanceof Oo?[s.element]:[]});i.enter().append("line").attr("class","top"),i.enter().append("line").attr("class","bottom"),i.enter().append("line").attr("class","right"),i.enter().append("line").attr("class","left");var o=i.enter().append("ellipse").attr("class","ellipse_element noselect");i.merge(o).attr("fill",function(s){return s.fill}).attr("fill-opacity",function(s){return s.fill_opacity}).attr("stroke",function(s){return s.stroke}).attr("stroke-width",function(s){return s.stroke_width}).attr("stroke-dasharray",function(s){return t.qtDasharrayFixer.fix(s.stroke_dasharray)}).attr("cx",function(s){return s.cx}).attr("cy",function(s){return s.cy}).attr("rx",function(s){return s.rx}).attr("ry",function(s){return s.ry}),i.exit().remove()},n.\u0275fac=function(t){return new(t||n)(e.LFG(_v))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),Ij=function(){function n(r,t,i,o,a,s,u){this.textDrawingWidget=r,this.imageDrawingWidget=t,this.rectDrawingWidget=i,this.lineDrawingWidget=o,this.ellipseDrawingWidget=a,this.selectionManager=s,this.mapSettingsService=u,this.drawingWidgets=[],this.drawingWidgets=[this.textDrawingWidget,this.imageDrawingWidget,this.rectDrawingWidget,this.lineDrawingWidget,this.ellipseDrawingWidget]}return n.prototype.draw=function(r){var t=this,i=r.selectAll("g.drawing_body").data(function(s){return[s]}),o=i.enter().append("g").attr("class","drawing_body"),a=i.merge(o).attr("transform",function(s){return"translate("+s.x+","+s.y+") rotate("+s.rotation+")"});this.drawingWidgets.forEach(function(s){s.draw(a)}),a.select(".layer_label_wrapper").remove(),this.mapSettingsService.isLayerNumberVisible&&a.filter(function(s){return s.element instanceof mp||s.element instanceof Oo}).append("rect").attr("class","layer_label_wrapper").attr("width","26").attr("height","26").attr("x",function(s){return s.element?s.element.width/2-13:0}).attr("y",function(s){return s.element?s.element.height/2-13:0}).attr("fill","red"),a.select(".layer_label").remove(),this.mapSettingsService.isLayerNumberVisible&&a.filter(function(s){return s.element instanceof mp||s.element instanceof Oo}).append("text").attr("class","layer_label").text(function(s){return s.z}).attr("x",function(s){return s.z>=100?s.element?s.element.width/2-13:0:s.z>=10?s.element?s.element.width/2-9:0:s.element.width/2-5}).attr("y",function(s){return s.element?s.element.height/2+5:0}).attr("style",function(){var s=[];return s.push('font-family: "Noto Sans"'),s.push("font-size: 11pt"),s.push("font-weight: bold"),s.join("; ")}).attr("fill","#ffffff"),a.select("line.top").attr("stroke","transparent").attr("stroke-width","8px").attr("x1",function(s){return s.element instanceof Oo?s.element.cx-s.element.width/10:"0"}).attr("x2",function(s){return s.element instanceof Oo?s.element.cx+s.element.width/10:s.element.width}).attr("y1","0").attr("y2","0").attr("draggable","true").attr("cursor","ns-resize"),a.select("line.bottom").attr("stroke","transparent").attr("stroke-width","8px").attr("x1",function(s){return s.element instanceof Oo?s.element.cx-s.element.width/10:"0"}).attr("x2",function(s){return s.element instanceof Oo?s.element.cx+s.element.width/10:s.element.width}).attr("y1",function(s){return s.element.height}).attr("y2",function(s){return s.element.height}).attr("draggable","true").attr("cursor","ns-resize"),a.select("line.right").attr("stroke","transparent").attr("stroke-width","8px").attr("x1","0").attr("x2","0").attr("y1",function(s){return s.element instanceof Oo?s.element.cy-s.element.height/10:"0"}).attr("y2",function(s){return s.element instanceof Oo?s.element.cy+s.element.height/10:s.element.height}).attr("draggable","true").attr("cursor","ew-resize"),a.select("line.left").attr("stroke","transparent").attr("stroke-width","8px").attr("x1",function(s){return s.element.width}).attr("x2",function(s){return s.element.width}).attr("y1",function(s){return s.element instanceof Oo?s.element.cy-s.element.height/10:"0"}).attr("y2",function(s){return s.element instanceof Oo?s.element.cy+s.element.height/10:s.element.height}).attr("draggable","true").attr("cursor","ew-resize"),a.select("circle.left").attr("draggable","true").attr("fill","transparent").attr("stroke","transparent").attr("cx",function(s){return s.element.x1}).attr("cy",function(s){return s.element.y1}).attr("r",10).attr("cursor","move"),a.select("circle.right").attr("draggable","true").attr("fill","transparent").attr("stroke","transparent").attr("cx",function(s){return s.element.x2}).attr("cy",function(s){return s.element.y2}).attr("r",10).attr("cursor","move"),a.classed("drawing_selected",function(s){return t.selectionManager.isSelected(s)})},n.\u0275fac=function(t){return new(t||n)(e.LFG(Mj),e.LFG(Aj),e.LFG(Dj),e.LFG(Oj),e.LFG(Pj),e.LFG(rc),e.LFG(Mu))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),VS=function(){function n(r,t,i,o){this.drawingWidget=r,this.svgToDrawingConverter=t,this.context=i,this.mapSettings=o,this.draggable=new A2,this.draggingEnabled=!1,this.resizingFinished=new e.vpe,this.onContextMenu=new e.vpe,this.svgToDrawingConverter=new HS}return n.prototype.redrawDrawing=function(r,t){this.drawingWidget.draw(this.selectDrawing(r,t))},n.prototype.draw=function(r){var t=this,i=r.selectAll("g.drawing").data(function(Je){return Je.drawings.forEach(function(et){try{et.element=t.svgToDrawingConverter.convert(et.svg)}catch(It){}}),Je.drawings},function(Je){return Je.id}),o=i.enter().append("g").attr("class","drawing").attr("drawing_id",function(Je){return Je.id}).on("contextmenu",function(Je){En.preventDefault(),t.onContextMenu.emit(new Vhe(En,Je))}),a=i.merge(o);this.drawingWidget.draw(a),i.exit().remove(),this.mapSettings.isReadOnly||this.draggable.call(a);var s,u,p,m,G,Y,$,de,b=!1,I=Uf().on("start",function(Je){document.body.style.cursor="ns-resize",p=Je.y}).on("drag",function(Je){var et=En;b?(u=s-(et.sourceEvent.pageY-(t.context.getZeroZeroTransformationPoint().y+t.context.transformation.y)),s=et.sourceEvent.pageY-(t.context.getZeroZeroTransformationPoint().y+t.context.transformation.y),Je.element.height+u<0?(b=!1,s=p,Je.element.height=Math.abs(Je.element.height+et.dy)):(Je.y=et.sourceEvent.pageY-(t.context.getZeroZeroTransformationPoint().y+t.context.transformation.y),Je.element.height+=u,Je.element instanceof Oo&&(Je.element.cy=Je.element.cy+u/2<0?1:Je.element.cy+=u/2,Je.element.ry=Je.element.ry+u/2<0?1:Je.element.ry+=u/2))):Je.element.height+et.dy<0?(b=!0,s=p,Je.element.height=Math.abs(Je.element.height+et.dy)):(Je.element.height+=et.dy,Je.element instanceof Oo&&(Je.element.cy=Je.element.cy+et.dy/2<0?1:Je.element.cy+=et.dy/2,Je.element.ry=Je.element.ry+et.dy/2<0?1:Je.element.ry+=et.dy/2)),t.redrawDrawing(r,Je)}).on("end",function(Je){document.body.style.cursor="initial",t.resizingFinished.emit(t.createResizingEvent(Je))}),F=Uf().on("start",function(Je){s=En.sourceEvent.pageY-(t.context.getZeroZeroTransformationPoint().y+t.context.transformation.y),m=s+Je.element.height,document.body.style.cursor="ns-resize"}).on("drag",function(Je){var et=En;b?Je.element.height+et.dy<0?(b=!1,s=m,Je.element.height=Math.abs(Je.element.height+et.dy)):(Je.element.height+=et.dy,Je.element instanceof Oo&&(Je.element.cy=Je.element.cy+et.dy/2<0?1:Je.element.cy+=et.dy/2,Je.element.ry=Je.element.ry+et.dy/2<0?1:Je.element.ry+=et.dy/2)):(u=s-(et.sourceEvent.pageY-(t.context.getZeroZeroTransformationPoint().y+t.context.transformation.y)),s=et.sourceEvent.pageY-(t.context.getZeroZeroTransformationPoint().y+t.context.transformation.y),Je.element.height+u<0?(s=m,b=!0,Je.element.height=Math.abs(Je.element.height+et.dy)):(Je.y=et.sourceEvent.pageY-(t.context.getZeroZeroTransformationPoint().y+t.context.transformation.y),Je.element.height+=u,Je.element instanceof Oo&&(Je.element.cy=Je.element.cy+u/2<0?1:Je.element.cy+=u/2,Je.element.ry=Je.element.ry+u/2<0?1:Je.element.ry+=u/2))),t.redrawDrawing(r,Je)}).on("end",function(Je){document.body.style.cursor="initial",t.resizingFinished.emit(t.createResizingEvent(Je))}),Me=!1,st=Uf().on("start",function(Je){G=En.sourceEvent.pageX-(t.context.getZeroZeroTransformationPoint().x+t.context.transformation.x),de=G+Je.element.width,document.body.style.cursor="ew-resize"}).on("drag",function(Je){var et=En;Me?Je.element.width+et.dx<0?(G=de,Me=!1,Je.element.width=Math.abs(Je.element.width+et.dx)):(Je.element instanceof Oo&&(Je.element.cx=Je.element.cx+et.dx/2<0?1:Je.element.cx+=et.dx/2,Je.element.rx=Je.element.rx+et.dx/2<0?1:Je.element.rx+=et.dx/2),Je.element.width=Je.element.width+et.dx<0?1:Je.element.width+=et.dx):(Y=G-(et.sourceEvent.pageX-(t.context.getZeroZeroTransformationPoint().x+t.context.transformation.x)),G=et.sourceEvent.pageX-(t.context.getZeroZeroTransformationPoint().x+t.context.transformation.x),Je.element.width+Y<0?(G=de,Me=!0,Je.element.width=Math.abs(Je.element.width+et.dx)):(Je.x=et.sourceEvent.pageX-(t.context.getZeroZeroTransformationPoint().x+t.context.transformation.x),Je.element.width+=Y,Je.element instanceof Oo&&(Je.element.cx=Je.element.cx+Y/2<0?1:Je.element.cx+=Y/2,Je.element.rx=Je.element.rx+Y/2<0?1:Je.element.rx+=Y/2))),t.redrawDrawing(r,Je)}).on("end",function(Je){document.body.style.cursor="initial",t.resizingFinished.emit(t.createResizingEvent(Je))}),tt=Uf().on("start",function(Je){document.body.style.cursor="ew-resize",$=Je.x}).on("drag",function(Je){var et=En;Me?(Y=G-(et.sourceEvent.pageX-(t.context.getZeroZeroTransformationPoint().x+t.context.transformation.x)),G=et.sourceEvent.pageX-(t.context.getZeroZeroTransformationPoint().x+t.context.transformation.x),Je.element.width+Y<0?(G=$,Me=!1,Je.element.width=Math.abs(Je.element.width+et.dx)):(Je.x=et.sourceEvent.pageX-(t.context.getZeroZeroTransformationPoint().x+t.context.transformation.x),Je.element.width+=Y,Je.element instanceof Oo&&(Je.element.cx=Je.element.cx+Y/2<0?1:Je.element.cx+=Y/2,Je.element.rx=Je.element.rx+Y/2<0?1:Je.element.rx+=Y/2))):Je.element.width+et.dx<0?(G=$,Me=!0,Je.element.width=Math.abs(Je.element.width+et.dx)):(Je.element instanceof Oo&&(Je.element.cx=Je.element.cx+et.dx/2<0?1:Je.element.cx+=et.dx/2,Je.element.rx=Je.element.rx+et.dx/2<0?1:Je.element.rx+=et.dx/2),Je.element.width=Je.element.width+et.dx<0?1:Je.element.width+=et.dx),t.redrawDrawing(r,Je)}).on("end",function(Je){document.body.style.cursor="initial",t.resizingFinished.emit(t.createResizingEvent(Je))}),at=Uf().on("start",function(){document.body.style.cursor="move"}).on("drag",function(Je){var et=En;Je.element.width+=et.dx,Je.element.height+=et.dy,Je.element.x2+=et.dx,Je.element.y2+=et.dy,t.redrawDrawing(r,Je)}).on("end",function(Je){document.body.style.cursor="initial",t.resizingFinished.emit(t.createResizingEvent(Je))}),pt=Uf().on("start",function(){document.body.style.cursor="move"}).on("drag",function(Je){var et=En;Je.element.width+=et.dx,Je.element.height+=et.dy,Je.element.x1+=et.dx,Je.element.y1+=et.dy,t.redrawDrawing(r,Je)}).on("end",function(Je){document.body.style.cursor="initial",t.resizingFinished.emit(t.createResizingEvent(Je))});a.select("line.bottom").call(I),a.select("line.top").call(F),a.select("line.right").call(st),a.select("line.left").call(tt),a.select("circle.right").call(at),a.select("circle.left").call(pt)},n.prototype.createResizingEvent=function(r){var t=new Jhe;return t.x=r.x,t.y=r.y,t.width=r.element.width,t.height=r.element.height,t.datum=r,t},n.prototype.selectDrawing=function(r,t){return r.selectAll('g.drawing[drawing_id="'+t.id+'"]')},n.\u0275fac=function(t){return new(t||n)(e.LFG(Ij),e.LFG(HS),e.LFG($l),e.LFG(hy))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),Rj=function(){function n(r,t,i){this.linksWidget=r,this.nodesWidget=t,this.drawingsWidget=i}return n.prototype.draw=function(r,t){var i=r.selectAll("g.layer").data(t,function(m){return m.index.toString()}),o=i.enter().append("g").attr("class","layer");o.append("g").attr("class","links"),o.append("g").attr("class","nodes"),o.append("g").attr("class","drawings");var a=i.merge(o);a.attr("data-index",function(m){return m.index});var s=a.select("g.links"),u=a.select("g.nodes"),p=a.select("g.drawings");i.exit().remove(),this.linksWidget.draw(s),this.nodesWidget.draw(u),this.drawingsWidget.draw(p)},n.\u0275fac=function(t){return new(t||n)(e.LFG(wL),e.LFG(P2),e.LFG(VS))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),kL=function(){function n(r,t,i,o,a,s){this.nodesWidget=r,this.drawingLineTool=t,this.selectionTool=i,this.movingTool=o,this.layersWidget=a,this.layersManager=s}return n.prototype.getNodesWidget=function(){return this.nodesWidget},n.prototype.getDrawingLineTool=function(){return this.drawingLineTool},n.prototype.getSelectionTool=function(){return this.selectionTool},n.prototype.connect=function(r,t){this.drawingLineTool.connect(r,t)},n.prototype.draw=function(r,t){r.attr("width",t.size.width).attr("height",t.size.height);var i=r.selectAll("g.canvas").data([t]),o=i.enter().append("g").attr("class","canvas");i.merge(o).attr("transform",function(a){return"translate("+(a.getZeroZeroTransformationPoint().x+a.transformation.x)+", "+(a.getZeroZeroTransformationPoint().y+a.transformation.y)+") scale("+a.transformation.k+")"}),this.layersWidget.draw(i,this.layersManager.getLayersList()),this.drawingLineTool.draw(r,t),this.selectionTool.draw(r,t),this.movingTool.draw(r,t)},n.prototype.disconnect=function(r){r.empty&&!r.empty()&&r.selectAll("*").remove()},n.\u0275fac=function(t){return new(t||n)(e.LFG(P2),e.LFG(CL),e.LFG(D2),e.LFG(yL),e.LFG(Rj),e.LFG(E2))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),qS=function(){function n(){this.isSelectionToolActivated=new On.xQ,this.isMovingToolActivated=new On.xQ,this.isTextEditingToolActivated=new On.xQ,this.isTextAddingToolActivated=new On.xQ,this.isDrawLinkToolActivated=new On.xQ}return n.prototype.selectionToolActivation=function(r){this.isSelectionToolActivated.next(r)},n.prototype.movingToolActivation=function(r){this.isMovingToolActivated.next(r)},n.prototype.textEditingToolActivation=function(r){this.isTextEditingToolActivated.next(r)},n.prototype.textAddingToolActivation=function(r){this.isTextAddingToolActivated.next(r)},n.prototype.drawLinkToolActivation=function(r){this.isDrawLinkToolActivated.next(r)},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),vy=function(){function n(r){this.context=r,this.scaleChangeEmitter=new e.vpe,this.currentScale=1}return n.prototype.getScale=function(){return this.currentScale},n.prototype.setScale=function(r){this.currentScale=r,this.context.transformation.k=this.currentScale,this.scaleChangeEmitter.emit(this.currentScale)},n.prototype.resetToDefault=function(){this.currentScale=1,this.context.transformation.k=this.currentScale,this.scaleChangeEmitter.emit(this.currentScale)},n.\u0275fac=function(t){return new(t||n)(e.LFG($l))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),R2=function(){function n(){this.movingModeState=new e.vpe}return n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),tme=function(){function n(r,t,i){this.element=r,this.movingEventSource=t,this.context=i,this.activated=!1}return n.prototype.ngOnInit=function(){var r=this;this.movingModeState=this.movingEventSource.movingModeState.subscribe(function(t){r.activated=t,t||r.removelisteners()})},n.prototype.ngOnDestroy=function(){this.movingModeState.unsubscribe()},n.prototype.onMouseDown=function(r){var t=this;this.activated&&(this.mousemoveListener=function(i){Kr(t.element.nativeElement).selectAll("g.canvas").data([t.context]).attr("transform",function(){return t.context.transformation.x=t.context.transformation.x+i.movementX,t.context.transformation.y=t.context.transformation.y+i.movementY,"translate("+(t.context.getZeroZeroTransformationPoint().x+t.context.transformation.x)+", "+(t.context.getZeroZeroTransformationPoint().y+t.context.transformation.y)+") scale("+t.context.transformation.k+")"})},this.mouseupListener=function(i){t.removelisteners()},this.element.nativeElement.addEventListener("mouseup",this.mouseupListener),this.element.nativeElement.addEventListener("mousemove",this.mousemoveListener))},n.prototype.removelisteners=function(){this.element.nativeElement.removeEventListener("mouseup",this.mouseupListener),this.element.nativeElement.removeEventListener("mousemove",this.mousemoveListener)},n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(R2),e.Y36($l))},n.\u0275dir=e.lG2({type:n,selectors:[["","movingCanvas",""]],hostBindings:function(t,i){1&t&&e.NdJ("mousedown",function(a){return i.onMouseDown(a)})}}),n}(),nme=function(){function n(r,t,i,o){this.element=r,this.movingEventSource=t,this.context=i,this.mapsScaleService=o}return n.prototype.ngOnInit=function(){var r=this;this.movingModeState=this.movingEventSource.movingModeState.subscribe(function(t){t?r.addListener():r.removeListener()})},n.prototype.ngOnDestroy=function(){this.movingModeState.unsubscribe()},n.prototype.addListener=function(){var r=this;this.wheelListener=function(t){t.stopPropagation(),t.preventDefault();var i=t.deltaY;i=0===t.deltaMode?i/100:i/3,Kr(r.element.nativeElement).selectAll("g.canvas").data([r.context]).attr("transform",function(){r.context.transformation.k=r.context.transformation.k-i/10;var s=r.context.getZeroZeroTransformationPoint().x+r.context.transformation.x,u=r.context.getZeroZeroTransformationPoint().y+r.context.transformation.y,p=r.context.transformation.k;return r.mapsScaleService.setScale(p),"translate("+s+", "+u+") scale("+p+")"})},this.element.nativeElement.addEventListener("wheel",this.wheelListener,{passive:!1})},n.prototype.removeListener=function(){this.element.nativeElement.removeEventListener("wheel",this.wheelListener)},n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(R2),e.Y36($l),e.Y36(vy))},n.\u0275dir=e.lG2({type:n,selectors:[["","zoomingCanvas",""]]}),n}(),ic=function(){function n(){this.dragged=new e.vpe,this.resized=new e.vpe,this.selected=new e.vpe,this.pointToAddSelected=new e.vpe,this.saved=new e.vpe,this.textAdded=new e.vpe,this.textEdited=new e.vpe,this.textSaved=new e.vpe}return n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),rme=function(){function n(r,t){this.drawingsEventSource=r,this.context=t}return n.prototype.ngOnInit=function(){var r=this;this.drawingSelected=this.drawingsEventSource.selected.subscribe(function(t){""===t?r.deactivate():r.activate()})},n.prototype.activate=function(){var r=this;this.deactivate(),this.mapListener=function(i){var o=(i.pageX-(r.context.getZeroZeroTransformationPoint().x+r.context.transformation.x))/r.context.transformation.k,a=(i.pageY-(r.context.getZeroZeroTransformationPoint().y+r.context.transformation.y))/r.context.transformation.k;r.drawingsEventSource.pointToAddSelected.emit(new Fhe(o,a)),r.deactivate()},this.svg.addEventListener("click",this.mapListener)},n.prototype.deactivate=function(){this.svg.removeEventListener("click",this.mapListener)},n.prototype.ngOnDestroy=function(){this.drawingSelected.unsubscribe()},n.\u0275fac=function(t){return new(t||n)(e.Y36(ic),e.Y36($l))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-drawing-adding"]],inputs:{svg:"svg"},decls:0,vars:0,template:function(t,i){},styles:[""]}),n}(),ime=["*"],ome=function(){function n(r,t){this.drawingsWidget=r,this.drawingsEventSource=t}return n.prototype.ngOnInit=function(){var r=this;this.resizingFinished=this.drawingsWidget.resizingFinished.subscribe(function(t){r.drawingsEventSource.resized.emit(new Lhe(t.datum,t.x,t.y,t.width,t.height))})},n.prototype.ngOnDestroy=function(){this.resizingFinished.unsubscribe()},n.\u0275fac=function(t){return new(t||n)(e.Y36(VS),e.Y36(ic))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-drawing-resizing"]],ngContentSelectors:ime,decls:1,vars:0,template:function(t,i){1&t&&(e.F$t(),e.Hsn(0))},styles:[""]}),n}(),Nj=function(){function n(){}return n.prototype.inRectangle=function(r,t,i){return r.x<=t&&t<r.x+r.width&&r.y<=i&&i<r.y+r.height},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),ame=function(){function n(r,t,i,o){this.selectionEventSource=r,this.graphDataManager=t,this.inRectangleHelper=i,this.selectionManager=o}return n.prototype.ngOnInit=function(){var r=this;this.onSelection=this.selectionEventSource.selected.subscribe(function(t){var i=r.graphDataManager.getNodes().filter(function(I){return r.inRectangleHelper.inRectangle(t,I.x,I.y)}),o=r.graphDataManager.getLinks().filter(function(I){return r.inRectangleHelper.inRectangle(t,I.x,I.y)}),a=r.graphDataManager.getDrawings().filter(function(I){return r.inRectangleHelper.inRectangle(t,I.x,I.y)}),s=r.graphDataManager.getNodes().filter(function(I){return void 0!==I.label&&r.inRectangleHelper.inRectangle(t,I.x+I.label.x,I.y+I.label.y)}).map(function(I){return I.label}),u=r.graphDataManager.getLinks().filter(function(I){return void 0!==I.source&&2==I.nodes.length&&void 0!==I.nodes[0].label&&r.inRectangleHelper.inRectangle(t,I.source.x+I.nodes[0].label.x,I.source.y+I.nodes[0].label.y)}).map(function(I){return I.nodes[0]}),p=r.graphDataManager.getLinks().filter(function(I){return void 0!==I.target&&2==I.nodes.length&&void 0!==I.nodes[1].label&&r.inRectangleHelper.inRectangle(t,I.target.x+I.nodes[1].label.x,I.target.y+I.nodes[1].label.y)}).map(function(I){return I.nodes[1]}),m=(0,Jn.ev)((0,Jn.ev)([],u),p),b=(0,Jn.ev)((0,Jn.ev)((0,Jn.ev)((0,Jn.ev)((0,Jn.ev)([],i),o),a),s),m);r.selectionManager.setSelected(b)})},n.prototype.ngOnDestroy=function(){this.onSelection.unsubscribe()},n.\u0275fac=function(t){return new(t||n)(e.Y36(_L),e.Y36(fy),e.Y36(Nj),e.Y36(rc))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-selection-control"]],decls:0,vars:0,template:function(t,i){},styles:[""]}),n}(),sme=function(){function n(r,t){this.selectionManager=r,this.mapChangeDetectorRef=t}return n.prototype.ngOnInit=function(){var r=this;this.onSelected=this.selectionManager.selected.subscribe(function(){r.mapChangeDetectorRef.detectChanges()}),this.onUnselected=this.selectionManager.unselected.subscribe(function(){r.mapChangeDetectorRef.detectChanges()})},n.prototype.ngOnDestroy=function(){this.onSelected.unsubscribe(),this.onUnselected.unsubscribe()},n.\u0275fac=function(t){return new(t||n)(e.Y36(rc),e.Y36(BS))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-selection-select"]],decls:0,vars:0,template:function(t,i){},styles:[""]}),n}(),oc=function(){function n(r){this.httpServer=r}return n.prototype.createLink=function(r,t,i,o,a,s,u,p,m){return this.httpServer.post(r,"/projects/"+t.project_id+"/links",{nodes:[{node_id:t.node_id,port_number:i.port_number,adapter_number:i.adapter_number,label:{rotation:0,style:"font-size: 10; font-style: Verdana",text:i.short_name,x:s,y:u}},{node_id:o.node_id,port_number:a.port_number,adapter_number:a.adapter_number,label:{rotation:0,style:"font-size: 10; font-style: Verdana",text:a.short_name,x:p,y:m}}]})},n.prototype.getLink=function(r,t,i){return this.httpServer.get(r,"/projects/"+t+"/links/"+i)},n.prototype.deleteLink=function(r,t){return this.httpServer.delete(r,"/projects/"+t.project_id+"/links/"+t.link_id)},n.prototype.updateLink=function(r,t){return t.x=Math.round(t.x),t.y=Math.round(t.y),this.httpServer.put(r,"/projects/"+t.project_id+"/links/"+t.link_id,t)},n.prototype.getAvailableFilters=function(r,t){return this.httpServer.get(r,"/projects/"+t.project_id+"/links/"+t.link_id+"/available_filters")},n.prototype.updateNodes=function(r,t,i){var o=i.map(function(a){return{node_id:a.node_id,port_number:a.port_number,adapter_number:a.adapter_number,label:{rotation:a.label.rotation,style:a.label.style,text:a.label.text,x:a.label.x,y:a.label.y}}});return this.httpServer.put(r,"/projects/"+t.project_id+"/links/"+t.link_id,{nodes:o})},n.prototype.startCaptureOnLink=function(r,t,i){return this.httpServer.post(r,"/projects/"+t.project_id+"/links/"+t.link_id+"/start_capture",i)},n.prototype.stopCaptureOnLink=function(r,t){return this.httpServer.post(r,"/projects/"+t.project_id+"/links/"+t.link_id+"/stop_capture",{})},n.prototype.streamPcap=function(r,t){return this.httpServer.get(r,"/projects/"+t.project_id+"/links/"+t.link_id+"/pcap")},n.\u0275fac=function(t){return new(t||n)(e.LFG(Yo.wh))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),nh=f(3941),ka=f(96852),lme=["temporaryTextElement"],ume=function(){function n(r,t,i,o,a,s,u,p,m,b,I){this.drawingsEventSource=r,this.toolsService=t,this.context=i,this.renderer=o,this.mapScaleService=a,this.linkService=s,this.linksDataSource=u,this.nodesDataSource=p,this.selectionManager=m,this.fontFixer=b,this.ngZone=I,this.leftPosition="0px",this.topPosition="0px",this.innerText="",this.addingFinished=new e.vpe}return n.prototype.ngOnInit=function(){var r=this;this.textAddingSubscription=this.toolsService.isTextAddingToolActivated.subscribe(function(t){t?r.activateTextAdding():r.deactivateTextAdding()}),this.ngZone.runOutsideAngular(this.activateTextEditingForDrawings.bind(this)),this.ngZone.runOutsideAngular(this.activateTextEditingForNodeLabels.bind(this))},n.prototype.activateTextAdding=function(){var r=this;this.deactivateTextAdding(),this.mapListener=function(i){r.leftPosition=i.pageX.toString()+"px",r.topPosition=i.pageY.toString()+"px",r.renderer.setStyle(r.temporaryTextElement.nativeElement,"display","initial"),r.renderer.setStyle(r.temporaryTextElement.nativeElement,"transform","scale("+r.mapScaleService.getScale()+")"),r.temporaryTextElement.nativeElement.focus(),r.textListener=function(){r.drawingsEventSource.textAdded.emit(new Uhe(r.temporaryTextElement.nativeElement.innerText.replace(/\n$/,""),i.pageX,i.pageY)),r.deactivateTextAdding(),r.innerText="",r.temporaryTextElement.nativeElement.innerText="",r.temporaryTextElement.nativeElement.removeEventListener("focusout",r.textListener),r.renderer.setStyle(r.temporaryTextElement.nativeElement,"display","none")},r.temporaryTextElement.nativeElement.addEventListener("focusout",r.textListener)},this.svg.addEventListener("click",this.mapListener)},n.prototype.deactivateTextAdding=function(){this.svg.removeEventListener("click",this.mapListener)},n.prototype.activateTextEditingForNodeLabels=function(){var r=this,t=Kr(this.svg);t.selectAll("g.interface_label_container").select("text.interface_label").on("dblclick",function(i,o,a){r.selectionManager.setSelected([]),r.renderer.setStyle(r.temporaryTextElement.nativeElement,"display","initial"),r.renderer.setStyle(r.temporaryTextElement.nativeElement,"transform","scale("+r.mapScaleService.getScale()+")"),r.editedLink=i,Kr(a[o]).attr("visibility","hidden"),Kr(a[o]).classed("editingMode",!0),r.editedNode=r.nodesDataSource.get(i.nodeId),r.editedLink=i;var s=(i.label.originalX+r.editedNode.x-1)*r.context.transformation.k+r.context.getZeroZeroTransformationPoint().x+r.context.transformation.x,u=(i.label.originalY+r.editedNode.y+4)*r.context.transformation.k+r.context.getZeroZeroTransformationPoint().y+r.context.transformation.y;r.leftPosition=s.toString()+"px",r.topPosition=u.toString()+"px",r.temporaryTextElement.nativeElement.innerText=i.label.text;for(var p=[],m=0,b=i.label.style.split(";");m<b.length;m++){var I=b[m];p.push({property:I.split(": ")[0],value:I.split(": ")[1]})}var F={font_family:p.find(function(Y){return"font-family"===Y.property})?p.find(function(Y){return"font-family"===Y.property}).value:"TypeWriter",font_size:p.find(function(Y){return"font-size"===Y.property})?Number(p.find(function(Y){return"font-size"===Y.property}).value):10,font_weight:p.find(function(Y){return"font-weight"===Y.property})?p.find(function(Y){return"font-weight"===Y.property}).value:"normal"};F=r.fontFixer.fix(F),r.renderer.setStyle(r.temporaryTextElement.nativeElement,"color",p.find(function(Y){return"fill"===Y.property})?p.find(function(Y){return"fill"===Y.property}).value:"#000000"),r.renderer.setStyle(r.temporaryTextElement.nativeElement,"font-family",F.font_family),r.renderer.setStyle(r.temporaryTextElement.nativeElement,"font-size",F.font_size+"pt"),r.renderer.setStyle(r.temporaryTextElement.nativeElement,"font-weight",F.font_weight),r.textListener=function(){var Y=r.temporaryTextElement.nativeElement.innerText,$=r.linksDataSource.get(r.editedLink.linkId);$.nodes.find(function(de){return de.node_id===r.editedNode.node_id}).label.text=Y,r.linkService.updateLink(r.server,$).subscribe(function(de){t.selectAll("text.editingMode").attr("visibility","visible").classed("editingMode",!1),r.innerText="",r.temporaryTextElement.nativeElement.innerText="",r.temporaryTextElement.nativeElement.removeEventListener("focusout",r.textListener),r.clearStyle(),r.renderer.setStyle(r.temporaryTextElement.nativeElement,"display","none")})},r.temporaryTextElement.nativeElement.addEventListener("focusout",r.textListener),r.temporaryTextElement.nativeElement.focus()})},n.prototype.activateTextEditingForDrawings=function(){var r=this,t=Kr(this.svg);t.selectAll("text.text_element").on("dblclick",function(i,o,a){r.renderer.setStyle(r.temporaryTextElement.nativeElement,"display","initial"),r.renderer.setStyle(r.temporaryTextElement.nativeElement,"transform","scale("+r.mapScaleService.getScale()+")"),r.editedElement=i,Kr(a[o]).attr("visibility","hidden"),Kr(a[o]).classed("editingMode",!0),r.editingDrawingId=a[o].parentElement.parentElement.getAttribute("drawing_id");var s=a[o].parentElement.getAttribute("transform").split(/\(|\)/),u=Number(s[1].split(/,/)[0])*r.context.transformation.k+r.context.getZeroZeroTransformationPoint().x+r.context.transformation.x,p=Number(s[1].split(/,/)[1])*r.context.transformation.k+r.context.getZeroZeroTransformationPoint().y+r.context.transformation.y;r.leftPosition=u.toString()+"px",r.topPosition=p.toString()+"px",r.temporaryTextElement.nativeElement.innerText=i.text,r.renderer.setStyle(r.temporaryTextElement.nativeElement,"color",i.fill),r.renderer.setStyle(r.temporaryTextElement.nativeElement,"font-family",i.font_family),r.renderer.setStyle(r.temporaryTextElement.nativeElement,"font-size",i.font_size+"pt"),r.renderer.setStyle(r.temporaryTextElement.nativeElement,"font-weight",i.font_weight),r.textListener=function(){r.drawingsEventSource.textEdited.emit(new Hhe(r.editingDrawingId,r.temporaryTextElement.nativeElement.innerText.replace(/\n$/,""),r.editedElement)),t.selectAll("text.editingMode").attr("visibility","visible").classed("editingMode",!1),r.innerText="",r.temporaryTextElement.nativeElement.innerText="",r.temporaryTextElement.nativeElement.removeEventListener("focusout",r.textListener),r.clearStyle(),r.renderer.setStyle(r.temporaryTextElement.nativeElement,"display","none")},r.temporaryTextElement.nativeElement.addEventListener("focusout",r.textListener),r.temporaryTextElement.nativeElement.focus()})},n.prototype.ngOnDestroy=function(){this.textAddingSubscription.unsubscribe()},n.prototype.clearStyle=function(){this.renderer.setStyle(this.temporaryTextElement.nativeElement,"color","#000000"),this.renderer.setStyle(this.temporaryTextElement.nativeElement,"font-family","Noto Sans"),this.renderer.setStyle(this.temporaryTextElement.nativeElement,"font-size","11pt"),this.renderer.setStyle(this.temporaryTextElement.nativeElement,"font-weight","bold")},n.\u0275fac=function(t){return new(t||n)(e.Y36(ic),e.Y36(qS),e.Y36($l),e.Y36(e.Qsj),e.Y36(vy),e.Y36(oc),e.Y36(nh.F),e.Y36(ka.G),e.Y36(rc),e.Y36(nc),e.Y36(e.R0b))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-text-editor"]],viewQuery:function(t,i){var o;(1&t&&e.Gf(lme,5),2&t)&&(e.iGM(o=e.CRH())&&(i.temporaryTextElement=o.first))},inputs:{svg:"svg",server:"server"},decls:3,vars:5,consts:[["id","temporaryElement","contenteditable","true",1,"temporaryElement"],["temporaryTextElement",""]],template:function(t,i){1&t&&(e.TgZ(0,"div",0,1),e._uU(2),e.qZA()),2&t&&(e.Udp("top",i.topPosition)("left",i.leftPosition),e.xp6(2),e.hij(" ",i.innerText,"\n"))},styles:['.temporaryElement[_ngcontent-%COMP%]{padding-left:4px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;position:absolute;z-index:99;font-family:"Noto Sans";font-size:11pt;font-weight:bold;color:#000}']}),n}(),jS=function(){function n(){this.created=new e.vpe,this.interfaceDragged=new e.vpe}return n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),cme=function(){function n(r,t,i,o,a,s,u,p,m,b,I){this.nodesWidget=r,this.drawingsWidget=t,this.linksWidget=i,this.labelWidget=o,this.interfaceWidget=a,this.selectionManager=s,this.nodesEventSource=u,this.drawingsEventSource=p,this.graphDataManager=m,this.linksEventSource=b,this.mapSettingsService=I,this.isMapLocked=!1}return n.prototype.ngOnInit=function(){var r=this,t=Kr(this.svg);this.mapSettingsSubscription=this.mapSettingsService.isMapLocked.subscribe(function(i){r.isMapLocked=i}),this.start=(0,vo.T)(this.nodesWidget.draggable.start,this.drawingsWidget.draggable.start,this.labelWidget.draggable.start,this.interfaceWidget.draggable.start).subscribe(function(i){var o=r.selectionManager.getSelected();i.datum instanceof fv&&0===o.filter(function(a){return a instanceof fv&&a.id===i.datum.id}).length&&r.selectionManager.setSelected([i.datum]),i.datum instanceof th&&0===o.filter(function(a){return a instanceof th&&a.id===i.datum.id}).length&&r.selectionManager.setSelected([i.datum]),i.datum instanceof py&&0===o.filter(function(a){return a instanceof py&&a.id===i.datum.id}).length&&r.selectionManager.setSelected([i.datum]),i.datum instanceof LS&&0===o.filter(function(a){return a instanceof LS&&a.id===i.datum.id}).length&&r.selectionManager.setSelected([i.datum])}),this.drag=(0,vo.T)(this.nodesWidget.draggable.drag,this.drawingsWidget.draggable.drag,this.labelWidget.draggable.drag,this.interfaceWidget.draggable.drag).subscribe(function(i){if(!r.isMapLocked){var o=r.selectionManager.getSelected(),a=o.filter(function(Y){return Y instanceof fv}),s=a.filter(function(Y){return Y.locked}),u=a.filter(function(Y){return!Y.locked});u.forEach(function(Y){Y.x+=i.dx,Y.y+=i.dy,r.nodesWidget.redrawNode(t,Y),r.graphDataManager.getLinks().filter(function(de){return void 0!==de.target&&de.target.id===Y.id||void 0!==de.source&&de.source.id===Y.id}).forEach(function(de){r.linksWidget.redrawLink(t,de)})}),o.filter(function(Y){return Y instanceof th}).filter(function(Y){return!Y.locked}).forEach(function(Y){Y.x+=i.dx,Y.y+=i.dy,r.drawingsWidget.redrawDrawing(t,Y)}),o.filter(function(Y){return Y instanceof py}).filter(function(Y){return 0===s.filter(function($){return $.id===Y.nodeId}).length}).forEach(function(Y){if(!(u.filter(function(Me){return Me.id===Y.nodeId}).length>0)){var de=r.graphDataManager.getNodes().filter(function(Me){return Me.id===Y.nodeId})[0];de.label.x+=i.dx,de.label.y+=i.dy,r.labelWidget.redrawLabel(t,Y)}}),o.filter(function(Y){return Y instanceof LS}).filter(function(Y){return 0===s.filter(function($){return $.id===Y.nodeId}).length}).forEach(function(Y){if(!(u.filter(function(Me){return Me.id===Y.nodeId}).length>0)){var de=r.graphDataManager.getLinks().filter(function(Me){return Me.nodes[0].id===Y.id||Me.nodes[1].id===Y.id})[0];de.nodes[0].id===Y.id&&(de.nodes[0].label.x+=i.dx,de.nodes[0].label.y+=i.dy),de.nodes[1].id===Y.id&&(de.nodes[1].label.x+=i.dx,de.nodes[1].label.y+=i.dy),r.linksWidget.redrawLink(t,de)}})}}),this.end=(0,vo.T)(this.nodesWidget.draggable.end,this.drawingsWidget.draggable.end,this.labelWidget.draggable.end,this.interfaceWidget.draggable.end).subscribe(function(i){if(!r.isMapLocked){var o=r.selectionManager.getSelected(),a=o.filter(function(Y){return Y instanceof fv}),s=a.filter(function(Y){return Y.locked}),u=a.filter(function(Y){return!Y.locked});u.forEach(function(Y){r.nodesEventSource.dragged.emit(new my(Y,i.dx,i.dy))}),o.filter(function(Y){return Y instanceof th}).filter(function(Y){return!Y.locked}).forEach(function(Y){r.drawingsEventSource.dragged.emit(new my(Y,i.dx,i.dy))}),o.filter(function(Y){return Y instanceof py}).filter(function(Y){return 0===s.filter(function($){return $.id===Y.nodeId}).length}).forEach(function(Y){u.filter(function(de){return de.id===Y.nodeId}).length>0||r.nodesEventSource.labelDragged.emit(new my(Y,i.dx,i.dy))}),o.filter(function(Y){return Y instanceof LS}).filter(function(Y){return 0===s.filter(function($){return $.id===Y.nodeId}).length}).forEach(function(Y){u.filter(function(de){return de.id===Y.nodeId}).length>0||r.linksEventSource.interfaceDragged.emit(new my(Y,i.dx,i.dy))})}})},n.prototype.ngOnDestroy=function(){this.start.unsubscribe(),this.drag.unsubscribe(),this.end.unsubscribe(),this.mapSettingsSubscription.unsubscribe()},n.\u0275fac=function(t){return new(t||n)(e.Y36(P2),e.Y36(VS),e.Y36(wL),e.Y36(O2),e.Y36(US),e.Y36(rc),e.Y36(mv),e.Y36(ic),e.Y36(fy),e.Y36(jS),e.Y36(Mu))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-draggable-selection"]],inputs:{svg:"svg"},decls:0,vars:0,template:function(t,i){},styles:[""]}),n}(),dme=["svg"],pme=["textEditor"],Zj=function(){function n(r,t,i,o,a,s,u,p,m,b,I,F,G){this.graphDataManager=r,this.context=t,this.mapChangeDetectorRef=i,this.canvasSizeDetector=o,this.mapSettings=a,this.element=s,this.interfaceLabelWidget=u,this.selectionToolWidget=p,this.movingToolWidget=m,this.graphLayout=b,this.toolsService=I,this.mapScaleService=F,this.mapSettingsService=G,this.nodes=[],this.links=[],this.drawings=[],this.symbols=[],this.width=1500,this.height=600,this.subscriptions=[],this.settings={show_interface_labels:!0},this.gridVisibility=0,this.nodeGridX=0,this.nodeGridY=0,this.drawingGridX=0,this.drawingGridY=0,this.parentNativeElement=s.nativeElement}return Object.defineProperty(n.prototype,"showInterfaceLabels",{set:function(r){r&&!this.mapSettingsService.integrateLinkLabelsToLinks?(this.settings.show_interface_labels=!0,this.interfaceLabelWidget.setEnabled(!0)):(this.settings.show_interface_labels=!1,this.interfaceLabelWidget.setEnabled(!1)),this.mapChangeDetectorRef.detectChanges()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"readonly",{set:function(r){this.mapSettings.isReadOnly=r},enumerable:!1,configurable:!0}),n.prototype.resize=function(r){if(r)this.svg.attr("height",window.innerHeight+window.scrollY-16);else{var t=window.innerHeight-16;this.svg.attr("height",this.height>t?this.height:t)}},n.prototype.ngOnChanges=function(r){(r.width&&!r.width.isFirstChange()||r.height&&!r.height.isFirstChange()||r.drawings&&!r.drawings.isFirstChange()||r.nodes&&!r.nodes.isFirstChange()||r.links&&!r.links.isFirstChange()||r.symbols&&!r.symbols.isFirstChange())&&this.svg.empty&&!this.svg.empty()&&(r.symbols&&this.onSymbolsChange(r.symbols),this.changeLayout())},n.prototype.ngOnInit=function(){var r=this;null!==this.parentNativeElement&&this.createGraph(this.parentNativeElement),this.context.size=this.getSize(),this.onChangesDetected=this.mapChangeDetectorRef.changesDetected.subscribe(function(){r.mapChangeDetectorRef.hasBeenDrawn&&r.redraw()}),this.subscriptions.push(this.mapScaleService.scaleChangeEmitter.subscribe(function(t){return r.redraw()})),this.subscriptions.push(this.toolsService.isMovingToolActivated.subscribe(function(t){r.mapChangeDetectorRef.detectChanges()})),this.subscriptions.push(this.toolsService.isSelectionToolActivated.subscribe(function(t){r.selectionToolWidget.setEnabled(t),r.mapChangeDetectorRef.detectChanges()})),this.subscriptions.push(this.toolsService.isDrawLinkToolActivated.subscribe(function(t){r.drawLinkTool=t})),this.gridVisibility="true"===localStorage.getItem("gridVisibility")?1:0,this.mapSettingsService.isScrollDisabled.subscribe(function(t){return r.resize(t)})},n.prototype.ngOnDestroy=function(){this.graphLayout.disconnect(this.svg),this.onChangesDetected.unsubscribe(),this.subscriptions.forEach(function(r){r.unsubscribe()})},n.prototype.applyMapSettingsChanges=function(){this.redraw()},n.prototype.createGraph=function(r){var t=Kr(r);this.svg=t.select("svg"),this.graphLayout.connect(this.svg,this.context),this.graphLayout.draw(this.svg,this.context),this.mapChangeDetectorRef.hasBeenDrawn=!0},n.prototype.getSize=function(){return this.canvasSizeDetector.getOptimalSize(this.width,this.height)},n.prototype.changeLayout=function(){null!=this.parentNativeElement&&(this.context.size=this.getSize()),this.redraw()},n.prototype.onSymbolsChange=function(r){this.graphDataManager.setSymbols(this.symbols)},n.prototype.redraw=function(){this.updateGrid(),this.graphDataManager.setNodes(this.nodes),this.graphDataManager.setLinks(this.links),this.graphDataManager.setDrawings(this.drawings),this.graphLayout.draw(this.svg,this.context),this.textEditor.activateTextEditingForDrawings(),this.textEditor.activateTextEditingForNodeLabels(),this.mapSettingsService.mapRenderedEmitter.emit(!0)},n.prototype.updateGrid=function(){this.project.grid_size&&this.project.grid_size>0&&(this.nodeGridX=this.project.scene_width/2-Math.floor(this.project.scene_width/2/this.project.grid_size)*this.project.grid_size),this.project.grid_size&&this.project.grid_size>0&&(this.nodeGridY=this.project.scene_height/2-Math.floor(this.project.scene_height/2/this.project.grid_size)*this.project.grid_size),this.project.drawing_grid_size&&this.project.drawing_grid_size>0&&(this.drawingGridX=this.project.scene_width/2-Math.floor(this.project.scene_width/2/this.project.drawing_grid_size)*this.project.drawing_grid_size),this.project.drawing_grid_size&&this.project.drawing_grid_size>0&&(this.drawingGridY=this.project.scene_height/2-Math.floor(this.project.scene_height/2/this.project.drawing_grid_size)*this.project.drawing_grid_size)},n.prototype.onResize=function(r){this.changeLayout()},n.\u0275fac=function(t){return new(t||n)(e.Y36(fy),e.Y36($l),e.Y36(BS),e.Y36(vL),e.Y36(hy),e.Y36(e.SBq),e.Y36(US),e.Y36(D2),e.Y36(yL),e.Y36(kL),e.Y36(qS),e.Y36(vy),e.Y36(Mu))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-d3-map"]],viewQuery:function(t,i){if(1&t&&(e.Gf(dme,5),e.Gf(pme,5)),2&t){var o=void 0;e.iGM(o=e.CRH())&&(i.svgRef=o.first),e.iGM(o=e.CRH())&&(i.textEditor=o.first)}},hostBindings:function(t,i){1&t&&e.NdJ("resize",function(a){return i.onResize(a)},!1,e.Jf7)},inputs:{nodes:"nodes",links:"links",drawings:"drawings",symbols:"symbols",project:"project",server:"server",width:"width",height:"height",showInterfaceLabels:["show-interface-labels","showInterfaceLabels"],readonly:"readonly"},features:[e.TTD],decls:19,vars:18,consts:[["id","map","preserveAspectRatio","none","movingCanvas","","zoomingCanvas","",1,"map"],["svg",""],["id","grayscale"],["id","feGrayscale","type","saturate","values","0"],["id","gridDrawing","patternUnits","userSpaceOnUse"],["fill","none","stroke","silver"],["id","gridNode","patternUnits","userSpaceOnUse"],["fill","none","stroke","DarkSlateGray"],["width","100%","height","100%","fill","url(#gridDrawing)"],["width","100%","height","100%","fill","url(#gridNode)"],[3,"svg"],[3,"server","svg"],["textEditor",""]],template:function(t,i){if(1&t&&(e.O4$(),e.TgZ(0,"svg",0,1),e.TgZ(2,"filter",2),e._UZ(3,"feColorMatrix",3),e.qZA(),e.TgZ(4,"defs"),e.TgZ(5,"pattern",4),e._UZ(6,"path",5),e.qZA(),e.qZA(),e.TgZ(7,"defs"),e.TgZ(8,"pattern",6),e._UZ(9,"path",7),e.qZA(),e.qZA(),e._UZ(10,"rect",8),e._UZ(11,"rect",9),e.qZA(),e.kcU(),e._UZ(12,"app-drawing-adding",10),e._UZ(13,"app-drawing-resizing"),e._UZ(14,"app-selection-control"),e._UZ(15,"app-selection-select"),e._UZ(16,"app-text-editor",11,12),e._UZ(18,"app-draggable-selection",10)),2&t){var o=e.MAs(1);e.xp6(5),e.uIk("x",i.drawingGridX)("y",i.drawingGridY)("width",i.project.drawing_grid_size)("height",i.project.drawing_grid_size),e.xp6(1),e.zWS("d","M ",i.project.drawing_grid_size," 0 L 0 0 0 ",i.project.drawing_grid_size,""),e.uIk("stroke-width",i.gridVisibility),e.xp6(2),e.uIk("x",i.nodeGridX)("y",i.nodeGridY)("width",i.project.grid_size)("height",i.project.grid_size),e.xp6(1),e.zWS("d","M ",i.project.grid_size," 0 L 0 0 0 ",i.project.grid_size,""),e.uIk("stroke-width",i.gridVisibility),e.xp6(3),e.Q6J("svg",o),e.xp6(4),e.Q6J("server",i.server)("svg",o),e.xp6(2),e.Q6J("svg",o)}},directives:[tme,nme,rme,ome,ame,sme,ume,cme],styles:["svg[_ngcontent-%COMP%]{display:block}"]}),n}(),fme=function(n,r){return function(t){return(0,mS.H)(500).pipe((0,Us.w)(function(){return r.list(n)}),(0,wr.U)(function(i){return i.find(function(o){return o.name===t.value})?{projectExist:!0}:null}))}};function hme(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",1),e.TgZ(1,"button",2),e.NdJ("click",function(){return e.CHM(t),e.oxw().onNoClick()}),e._uU(2,"No"),e.qZA(),e.TgZ(3,"button",3),e.NdJ("click",function(){return e.CHM(t),e.oxw().onYesClick()}),e._uU(4," Yes "),e.qZA(),e.qZA()}}function mme(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",1),e.TgZ(1,"button",4),e.NdJ("click",function(){return e.CHM(t),e.oxw().onNoClick()}),e._uU(2,"Ok"),e.qZA(),e.qZA()}}var Lj=function(){function n(r,t){this.dialogRef=r,this.data=t,this.existingProject=t.existingProject}return n.prototype.ngOnInit=function(){"opened"===this.existingProject.status?(this.confirmationMessage="Project "+this.existingProject.name+" is open. You can not overwrite it.",this.isOpen=!0):this.confirmationMessage="Project "+this.existingProject.name+" already exist, overwrite it?"},n.prototype.onNoClick=function(){this.dialogRef.close(!1)},n.prototype.onYesClick=function(){this.dialogRef.close(!0)},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(ld))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-import-project-dialog"]],decls:4,vars:3,consts:[["mat-dialog-actions","",4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",1,"cancelButton",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",1,"confirmButton",3,"click"],["mat-button","","color","accent",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"span"),e._uU(1),e.qZA(),e.YNc(2,hme,5,0,"div",0),e.YNc(3,mme,3,0,"div",0)),2&t&&(e.xp6(1),e.Oqu(i.confirmationMessage),e.xp6(1),e.Q6J("ngIf",!i.isOpen),e.xp6(1),e.Q6J("ngIf",i.isOpen))},directives:[Et.O5,ei,Mn],styles:[""]}),n}(),vp=function(){function n(){}return n.prototype.get=function(r){return new RegExp(/[~`!#$%\^&*+=\[\]\\';,/{}|\\":<>\?]/).test(r.value)?{invalidName:!0}:null},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),cd=f(14200);function vme(n,r){1&n&&(e.TgZ(0,"mat-error"),e._uU(1,"Project name is required"),e.qZA())}function gme(n,r){1&n&&(e.TgZ(0,"mat-error"),e._uU(1,"Project name is incorrect"),e.qZA())}function _me(n,r){1&n&&(e.TgZ(0,"mat-error"),e._uU(1,"Project with this name exists"),e.qZA())}var yme=function(n){return{"is-invalid":n}},Fj=function(){function n(r,t,i,o,a,s,u){this.dialogRef=r,this.router=t,this.dialog=i,this.projectService=o,this.toasterService=a,this.formBuilder=s,this.projectNameValidator=u,this.onAddProject=new e.vpe}return n.prototype.ngOnInit=function(){this.projectNameForm=this.formBuilder.group({projectName:new ne.NI(null,[ne.kI.required,this.projectNameValidator.get],[fme(this.server,this.projectService)])})},Object.defineProperty(n.prototype,"form",{get:function(){return this.projectNameForm.controls},enumerable:!1,configurable:!0}),n.prototype.onAddClick=function(){var r=this;this.projectNameForm.invalid||this.projectService.list(this.server).subscribe(function(t){var i=r.projectNameForm.controls.projectName.value,o=t.find(function(a){return a.name===i});o?r.openConfirmationDialog(o):r.addProject()})},n.prototype.onNoClick=function(){this.dialogRef.close()},n.prototype.addProject=function(){var r=this;this.uuid=(0,xa.v4)(),this.projectService.add(this.server,this.projectNameForm.controls.projectName.value,this.uuid).subscribe(function(t){r.dialogRef.close(),r.toasterService.success("Project "+t.name+" added"),r.router.navigate(["/server",r.server.id,"project",t.project_id])})},n.prototype.onKeyDown=function(r){"Enter"===r.key&&this.onAddClick()},n.prototype.openConfirmationDialog=function(r){var t=this;this.dialog.open(Lj,{width:"300px",height:"150px",data:{existingProject:r},autoFocus:!1,disableClose:!0}).afterClosed().subscribe(function(o){o&&t.projectService.close(t.server,r.project_id).subscribe(function(){t.projectService.delete(t.server,r.project_id).subscribe(function(){t.addProject()})})})},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(kr),e.Y36(no),e.Y36(cd.Y),e.Y36(Xn),e.Y36(ne.qu),e.Y36(vp))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-add-blank-project-dialog"]],features:[e._Bn([vp])],decls:13,vars:7,consts:[["mat-dialog-title",""],[1,"file-name-form",3,"formGroup"],[1,"file-name-form-field"],["matInput","","type","text","formControlName","projectName","placeholder","Please enter name",3,"ngClass","keydown"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",1,"add-project-button",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1,"Create new project"),e.qZA(),e.TgZ(2,"form",1),e.TgZ(3,"mat-form-field",2),e.TgZ(4,"input",3),e.NdJ("keydown",function(a){return i.onKeyDown(a)}),e.qZA(),e.YNc(5,vme,2,0,"mat-error",4),e.YNc(6,gme,2,0,"mat-error",4),e.YNc(7,_me,2,0,"mat-error",4),e.qZA(),e.TgZ(8,"div",5),e.TgZ(9,"button",6),e.NdJ("click",function(){return i.onNoClick()}),e._uU(10,"Cancel"),e.qZA(),e.TgZ(11,"button",7),e.NdJ("click",function(){return i.onAddClick()}),e._uU(12," Add project "),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(2),e.Q6J("formGroup",i.projectNameForm),e.xp6(2),e.Q6J("ngClass",e.VKq(5,yme,null==i.form.projectName?null:i.form.projectName.errors)),e.xp6(1),e.Q6J("ngIf",(null==i.form.projectName?null:i.form.projectName.touched)&&(null==i.form.projectName?null:i.form.projectName.errors)&&(null==i.form.projectName?null:i.form.projectName.errors.required)),e.xp6(1),e.Q6J("ngIf",(null==i.form.projectName?null:i.form.projectName.errors)&&(null==i.form.projectName?null:i.form.projectName.errors.invalidName)),e.xp6(1),e.Q6J("ngIf",(null==i.form.projectName?null:i.form.projectName.errors)&&(null==i.form.projectName?null:i.form.projectName.errors.projectExist)))},directives:[ni,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,Et.mk,Et.O5,ei,Mn,Un.TO],styles:[".file-name-form-field[_ngcontent-%COMP%]{width:100%}.project-snackbar[_ngcontent-%COMP%]{background:#2196f3}"]}),n}();function bme(n,r){}var Cme=new e.OlP("MatBottomSheetData"),EL=function n(){(0,g.Z)(this,n),this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.closeOnNavigation=!0,this.autoFocus=!1,this.restoreFocus=!0},Sme={bottomSheetState:(0,on.X$)("state",[(0,on.SB)("void, hidden",(0,on.oB)({transform:"translateY(100%)"})),(0,on.SB)("visible",(0,on.oB)({transform:"translateY(0%)"})),(0,on.eR)("visible => void, visible => hidden",(0,on.jt)("".concat(ln.mZ.COMPLEX," ").concat(ln.yN.ACCELERATION_CURVE))),(0,on.eR)("void => visible",(0,on.jt)("".concat(ln.mZ.EXITING," ").concat(ln.yN.DECELERATION_CURVE)))])},Tme=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s,u,p,m){var b;return(0,g.Z)(this,i),(b=t.call(this))._elementRef=o,b._changeDetectorRef=a,b._focusTrapFactory=s,b.bottomSheetConfig=m,b._animationState="void",b._animationStateChanged=new e.vpe,b._elementFocusedBeforeOpened=null,b.attachDomPortal=function(I){return b._validatePortalAttached(),b._setPanelClass(),b._savePreviouslyFocusedElement(),b._portalOutlet.attachDomPortal(I)},b._document=p,b._breakpointSubscription=u.observe([Kf_Medium,Kf_Large,"(min-width: 1920px)"]).subscribe(function(){b._toggleClass("mat-bottom-sheet-container-medium",u.isMatched(Kf_Medium)),b._toggleClass("mat-bottom-sheet-container-large",u.isMatched(Kf_Large)),b._toggleClass("mat-bottom-sheet-container-xlarge",u.isMatched("(min-width: 1920px)"))}),b}return(0,k.Z)(i,[{key:"attachComponentPortal",value:function(a){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(a)}},{key:"attachTemplatePortal",value:function(a){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(a)}},{key:"enter",value:function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}},{key:"exit",value:function(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}},{key:"ngOnDestroy",value:function(){this._breakpointSubscription.unsubscribe(),this._destroyed=!0}},{key:"_onAnimationDone",value:function(a){"hidden"===a.toState?this._restoreFocus():"visible"===a.toState&&this._trapFocus(),this._animationStateChanged.emit(a)}},{key:"_onAnimationStart",value:function(a){this._animationStateChanged.emit(a)}},{key:"_toggleClass",value:function(a,s){var u=this._elementRef.nativeElement.classList;s?u.add(a):u.remove(a)}},{key:"_validatePortalAttached",value:function(){this._portalOutlet.hasAttached()}},{key:"_setPanelClass",value:function(){var a=this._elementRef.nativeElement,s=this.bottomSheetConfig.panelClass;Array.isArray(s)?s.forEach(function(u){return a.classList.add(u)}):s&&a.classList.add(s)}},{key:"_trapFocus",value:function(){var a=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(a)),this.bottomSheetConfig.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{var s=(0,$r.ht)();s!==a&&!a.contains(s)&&a.focus()}}},{key:"_restoreFocus",value:function(){var a=this._elementFocusedBeforeOpened;if(this.bottomSheetConfig.restoreFocus&&a&&"function"==typeof a.focus){var s=(0,$r.ht)(),u=this._elementRef.nativeElement;(!s||s===this._document.body||s===u||u.contains(s))&&a.focus()}this._focusTrap&&this._focusTrap.destroy()}},{key:"_savePreviouslyFocusedElement",value:function(){var a=this;this._elementFocusedBeforeOpened=(0,$r.ht)(),this._elementRef.nativeElement.focus&&Promise.resolve().then(function(){return a._elementRef.nativeElement.focus()})}}]),i}(qi.en);return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(Ti.qV),e.Y36(c2),e.Y36(Et.K0,8),e.Y36(EL))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-bottom-sheet-container"]],viewQuery:function(t,i){var o;1&t&&e.Gf(qi.Pl,7),2&t&&e.iGM(o=e.CRH())&&(i._portalOutlet=o.first)},hostAttrs:["tabindex","-1","role","dialog","aria-modal","true",1,"mat-bottom-sheet-container"],hostVars:2,hostBindings:function(t,i){1&t&&e.WFA("@state.start",function(a){return i._onAnimationStart(a)})("@state.done",function(a){return i._onAnimationDone(a)}),2&t&&(e.uIk("aria-label",null==i.bottomSheetConfig?null:i.bottomSheetConfig.ariaLabel),e.d8E("@state",i._animationState))},features:[e.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,i){1&t&&e.YNc(0,bme,0,0,"ng-template",0)},directives:[qi.Pl],styles:[".mat-bottom-sheet-container{padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:4px;border-top-right-radius:4px}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}\n"],encapsulation:2,data:{animation:[Sme.bottomSheetState]}}),n}(),Bj=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[eo.U8,ln.BQ,qi.eL],ln.BQ]}),n}(),N2=function(){function n(r,t){var i=this;(0,g.Z)(this,n),this._overlayRef=t,this._afterDismissed=new On.xQ,this._afterOpened=new On.xQ,this.containerInstance=r,this.disableClose=r.bottomSheetConfig.disableClose,r._animationStateChanged.pipe((0,vi.h)(function(o){return"done"===o.phaseName&&"visible"===o.toState}),(0,$i.q)(1)).subscribe(function(){i._afterOpened.next(),i._afterOpened.complete()}),r._animationStateChanged.pipe((0,vi.h)(function(o){return"done"===o.phaseName&&"hidden"===o.toState}),(0,$i.q)(1)).subscribe(function(){clearTimeout(i._closeFallbackTimeout),t.dispose()}),t.detachments().pipe((0,$i.q)(1)).subscribe(function(){i._afterDismissed.next(i._result),i._afterDismissed.complete()}),(0,vo.T)(t.backdropClick(),t.keydownEvents().pipe((0,vi.h)(function(o){return o.keyCode===Gr.hY}))).subscribe(function(o){!i.disableClose&&("keydown"!==o.type||!(0,Gr.Vb)(o))&&(o.preventDefault(),i.dismiss())})}return(0,k.Z)(n,[{key:"dismiss",value:function(t){var i=this;this._afterDismissed.closed||(this.containerInstance._animationStateChanged.pipe((0,vi.h)(function(o){return"start"===o.phaseName}),(0,$i.q)(1)).subscribe(function(o){i._closeFallbackTimeout=setTimeout(function(){i._overlayRef.dispose()},o.totalTime+100),i._overlayRef.detachBackdrop()}),this._result=t,this.containerInstance.exit())}},{key:"afterDismissed",value:function(){return this._afterDismissed}},{key:"afterOpened",value:function(){return this._afterOpened}},{key:"backdropClick",value:function(){return this._overlayRef.backdropClick()}},{key:"keydownEvents",value:function(){return this._overlayRef.keydownEvents()}}]),n}(),Uj=new e.OlP("mat-bottom-sheet-default-options"),zS=function(){var n=function(){function r(t,i,o,a){(0,g.Z)(this,r),this._overlay=t,this._injector=i,this._parentBottomSheet=o,this._defaultOptions=a,this._bottomSheetRefAtThisLevel=null}return(0,k.Z)(r,[{key:"_openedBottomSheetRef",get:function(){var i=this._parentBottomSheet;return i?i._openedBottomSheetRef:this._bottomSheetRefAtThisLevel},set:function(i){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=i:this._bottomSheetRefAtThisLevel=i}},{key:"open",value:function(i,o){var a=this,s=function(n,r){return Object.assign(Object.assign({},n),r)}(this._defaultOptions||new EL,o),u=this._createOverlay(s),p=this._attachContainer(u,s),m=new N2(p,u);if(i instanceof e.Rgc)p.attachTemplatePortal(new qi.UE(i,null,{$implicit:s.data,bottomSheetRef:m}));else{var b=new qi.C5(i,void 0,this._createInjector(s,m)),I=p.attachComponentPortal(b);m.instance=I.instance}return m.afterDismissed().subscribe(function(){a._openedBottomSheetRef==m&&(a._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(function(){return m.containerInstance.enter()}),this._openedBottomSheetRef.dismiss()):m.containerInstance.enter(),this._openedBottomSheetRef=m,m}},{key:"dismiss",value:function(i){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(i)}},{key:"ngOnDestroy",value:function(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}},{key:"_attachContainer",value:function(i,o){var s=e.zs3.create({parent:o&&o.viewContainerRef&&o.viewContainerRef.injector||this._injector,providers:[{provide:EL,useValue:o}]}),u=new qi.C5(Tme,o.viewContainerRef,s);return i.attach(u).instance}},{key:"_createOverlay",value:function(i){var o=new eo.X_({direction:i.direction,hasBackdrop:i.hasBackdrop,disposeOnNavigation:i.closeOnNavigation,maxWidth:"100%",scrollStrategy:i.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0")});return i.backdropClass&&(o.backdropClass=i.backdropClass),this._overlay.create(o)}},{key:"_createInjector",value:function(i,o){var a=i&&i.viewContainerRef&&i.viewContainerRef.injector,s=[{provide:N2,useValue:o},{provide:Cme,useValue:i.data}];return i.direction&&(!a||!a.get(Fa.Is,null,e.XFs.Optional))&&s.push({provide:Fa.Is,useValue:{value:i.direction,change:(0,rr.of)()}}),e.zs3.create({parent:a||this._injector,providers:s})}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.LFG(eo.aV),e.LFG(e.zs3),e.LFG(n,12),e.LFG(Uj,8))},n.\u0275prov=e.Yz7({factory:function(){return new n(e.LFG(eo.aV),e.LFG(e.gxx),e.LFG(n,12),e.LFG(Uj,8))},token:n,providedIn:Bj}),n}(),wme=function(n){return{lightTheme:n}},rh=function(){function n(r,t){this.bottomSheetRef=r,this.themeService=t,this.message="",this.isLightThemeEnabled=!1}return n.prototype.ngOnInit=function(){this.isLightThemeEnabled="light"===this.themeService.getActualTheme()},n.prototype.onNoClick=function(){this.bottomSheetRef.dismiss(!1)},n.prototype.onYesClick=function(){this.bottomSheetRef.dismiss(!0)},n.\u0275fac=function(t){return new(t||n)(e.Y36(N2),e.Y36(Eu.f))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-confirmation-bottomsheet"]],decls:8,vars:4,consts:[[1,"dialogWrapper",3,"ngClass"],[1,"title"],["mat-button","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e._uU(2),e.qZA(),e.TgZ(3,"div"),e.TgZ(4,"button",2),e.NdJ("click",function(){return i.onNoClick()}),e._uU(5,"No"),e.qZA(),e.TgZ(6,"button",2),e.NdJ("click",function(){return i.onYesClick()}),e._uU(7,"Yes"),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.Q6J("ngClass",e.VKq(2,wme,i.isLightThemeEnabled)),e.xp6(2),e.Oqu(i.message))},directives:[Et.mk,Mn],styles:[".dialogWrapper[_ngcontent-%COMP%]{background-color:#263238;padding:10px 20px;margin-bottom:-8px;display:flex;justify-content:space-between;align-items:center}.lightTheme[_ngcontent-%COMP%]{background-color:#fff!important}.title[_ngcontent-%COMP%]{margin-right:10px;margin-left:10px}"]}),n}(),Z2=function(){function n(){}return n.prototype.get=function(r){return+r.value>=0?null:{negativeValue:!0}},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),wo=f(88802);function kme(n,r){1&n&&(e.TgZ(0,"th",26),e._uU(1,"Name"),e.qZA())}function Eme(n,r){if(1&n&&(e.TgZ(0,"td",27),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.Oqu(t.name)}}function Mme(n,r){1&n&&(e.TgZ(0,"th",26),e._uU(1,"Value"),e.qZA())}function Ame(n,r){if(1&n&&(e.TgZ(0,"td",27),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.Oqu(t.value)}}function Dme(n,r){1&n&&(e.TgZ(0,"th",26),e._uU(1,"Actions"),e.qZA())}function Ome(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"td",27),e.TgZ(1,"button",28),e.NdJ("click",function(){var a=e.CHM(t).$implicit;return e.oxw().deleteVariable(a)}),e.TgZ(2,"mat-icon",29),e._uU(3,"delete"),e.qZA(),e.qZA(),e.qZA()}}function Pme(n,r){1&n&&e._UZ(0,"tr",30)}function Ime(n,r){1&n&&e._UZ(0,"tr",31)}var L2=function(){return{standalone:!0}},Rme=function(){function n(r,t,i,o,a){this.dialogRef=r,this.formBuilder=t,this.projectService=i,this.toasterService=o,this.nonNegativeValidator=a,this.displayedColumns=["name","value","actions"],this.variables=[],this.formGroup=this.formBuilder.group({projectName:new ne.NI("",[ne.kI.required]),width:new ne.NI("",[ne.kI.required,a.get]),height:new ne.NI("",[ne.kI.required,a.get]),nodeGridSize:new ne.NI("",[ne.kI.required,a.get]),drawingGridSize:new ne.NI("",[ne.kI.required,a.get])}),this.variableFormGroup=this.formBuilder.group({name:new ne.NI("",[ne.kI.required]),value:new ne.NI("",[ne.kI.required])})}return n.prototype.ngOnInit=function(){var r=this;this.formGroup.controls.projectName.setValue(this.project.name),this.formGroup.controls.width.setValue(this.project.scene_width),this.formGroup.controls.height.setValue(this.project.scene_height),this.formGroup.controls.nodeGridSize.setValue(this.project.grid_size),this.formGroup.controls.drawingGridSize.setValue(this.project.drawing_grid_size),this.project.variables&&this.project.variables.forEach(function(t){return r.variables.push(t)}),this.auto_close=!this.project.auto_close},n.prototype.addVariable=function(){if(this.variableFormGroup.valid){var r={name:this.variableFormGroup.get("name").value,value:this.variableFormGroup.get("value").value};this.variables=this.variables.concat([r])}else this.toasterService.error("Fill all required fields with correct values.")},n.prototype.deleteVariable=function(r){this.variables=this.variables.filter(function(t){return t!==r})},n.prototype.onNoClick=function(){this.dialogRef.close()},n.prototype.onYesClick=function(){var r=this;this.formGroup.valid?(this.project.name=this.formGroup.get("projectName").value,this.project.scene_width=this.formGroup.get("width").value,this.project.scene_height=this.formGroup.get("height").value,this.project.drawing_grid_size=this.formGroup.get("drawingGridSize").value,this.project.grid_size=this.formGroup.get("nodeGridSize").value,this.project.variables=this.variables,this.project.auto_close=!this.auto_close,this.projectService.update(this.server,this.project).subscribe(function(t){r.toasterService.success("Project "+t.name+" updated."),r.onNoClick()})):this.toasterService.error("Fill all required fields with correct values.")},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(ne.qu),e.Y36(cd.Y),e.Y36(Xn),e.Y36(Z2))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-edit-project-dialog"]],decls:49,vars:17,consts:[["mat-dialog-title",""],[1,"modal-form-container"],["label","General"],[3,"formGroup"],[1,"form-field"],["matInput","","formControlName","projectName","placeholder","Project name","type","text"],["matInput","","formControlName","width","placeholder","Scene width (px)","type","number"],["matInput","","formControlName","height","placeholder","Scene height (px)","type","number"],["matInput","","formControlName","nodeGridSize","placeholder","Node grid size","type","number"],["matInput","","formControlName","drawingGridSize","placeholder","Drawing grid size","type","number"],[3,"ngModelOptions","ngModel","ngModelChange"],["label","Global variables"],["matInput","","formControlName","name","placeholder","Name","type","text"],["matInput","","formControlName","value","placeholder","Value","type","text"],["mat-button","","mat-raised-button","","color","primary",1,"form-field",3,"click"],["mat-table","",1,"table",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","value"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","","matTooltip","Delete variable","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Delete adapter"],["mat-header-row",""],["mat-row",""]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1,"Edit project"),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"mat-tab-group"),e.TgZ(4,"mat-tab",2),e.TgZ(5,"form",3),e.TgZ(6,"mat-form-field",4),e._UZ(7,"input",5),e.qZA(),e.TgZ(8,"mat-form-field",4),e._UZ(9,"input",6),e.qZA(),e.TgZ(10,"mat-form-field",4),e._UZ(11,"input",7),e.qZA(),e.TgZ(12,"mat-form-field",4),e._UZ(13,"input",8),e.qZA(),e.TgZ(14,"mat-form-field",4),e._UZ(15,"input",9),e.qZA(),e.qZA(),e.TgZ(16,"mat-checkbox",10),e.NdJ("ngModelChange",function(a){return i.project.auto_open=a}),e._uU(17," Open this project in the background when GNS3 server starts "),e.qZA(),e.TgZ(18,"mat-checkbox",10),e.NdJ("ngModelChange",function(a){return i.project.auto_start=a}),e._uU(19," Start all nodes when this project is opened "),e.qZA(),e.TgZ(20,"mat-checkbox",10),e.NdJ("ngModelChange",function(a){return i.auto_close=a}),e._uU(21," Leave this project running in the background after closing "),e.qZA(),e.TgZ(22,"mat-checkbox",10),e.NdJ("ngModelChange",function(a){return i.project.show_interface_labels=a}),e._uU(23," Show interface labels at start "),e.qZA(),e.qZA(),e.TgZ(24,"mat-tab",11),e.TgZ(25,"form",3),e.TgZ(26,"mat-form-field",4),e._UZ(27,"input",12),e.qZA(),e.TgZ(28,"mat-form-field",4),e._UZ(29,"input",13),e.qZA(),e.qZA(),e.TgZ(30,"button",14),e.NdJ("click",function(){return i.addVariable()}),e._uU(31," Add variable "),e.qZA(),e.TgZ(32,"table",15),e.ynx(33,16),e.YNc(34,kme,2,0,"th",17),e.YNc(35,Eme,2,1,"td",18),e.BQk(),e.ynx(36,19),e.YNc(37,Mme,2,0,"th",17),e.YNc(38,Ame,2,1,"td",18),e.BQk(),e.ynx(39,20),e.YNc(40,Dme,2,0,"th",17),e.YNc(41,Ome,4,0,"td",18),e.BQk(),e.YNc(42,Pme,1,0,"tr",21),e.YNc(43,Ime,1,0,"tr",22),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(44,"div",23),e.TgZ(45,"button",24),e.NdJ("click",function(){return i.onNoClick()}),e._uU(46,"Cancel"),e.qZA(),e.TgZ(47,"button",25),e.NdJ("click",function(){return i.onYesClick()}),e._uU(48,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(5),e.Q6J("formGroup",i.formGroup),e.xp6(11),e.Q6J("ngModelOptions",e.DdM(13,L2))("ngModel",i.project.auto_open),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(14,L2))("ngModel",i.project.auto_start),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(15,L2))("ngModel",i.auto_close),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(16,L2))("ngModel",i.project.show_interface_labels),e.xp6(3),e.Q6J("formGroup",i.variableFormGroup),e.xp6(7),e.Q6J("dataSource",i.variables),e.xp6(10),e.Q6J("matHeaderRowDef",i.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",i.displayedColumns))},directives:[ni,wo.SP,wo.uX,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,ne.wV,Zo,ne.On,Mn,Yl,cl,ul,ll,Jl,Ql,ei,dl,pl,Ja,sr,Kl,Xl],styles:[".form-field[_ngcontent-%COMP%]{width:100%}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}"]}),n}();function Nme(n,r){1&n&&(e.TgZ(0,"mat-error"),e._uU(1,"Project name is required"),e.qZA())}function Zme(n,r){1&n&&(e.TgZ(0,"mat-error"),e._uU(1,"Project name is incorrect"),e.qZA())}var Lme=function(n){return{empty:n}},Fme=function(n){return{"is-invalid":n}},Bme=function(n){return{width:n}},Hj=function(){function n(r,t,i,o,a,s){this.dialog=r,this.dialogRef=t,this.data=i,this.formBuilder=o,this.projectService=a,this.projectNameValidator=s,this.isImportEnabled=!1,this.isFinishEnabled=!1,this.isDeleteVisible=!1,this.resultMessage="The project is being imported... Please wait",this.submitted=!1,this.isFirstStepCompleted=!1,this.onImportProject=new e.vpe,this.projectNameForm=this.formBuilder.group({projectName:new ne.NI(null,[ne.kI.required,s.get])})}return n.prototype.ngOnInit=function(){var r=this;this.uploader=new tv({}),this.uploader.onAfterAddingFile=function(t){t.withCredentials=!1},this.uploader.onErrorItem=function(t,i,o,a){var s=JSON.parse(i);r.resultMessage="An error occured: "+s.message,r.isFinishEnabled=!0},this.uploader.onCompleteItem=function(t,i,o,a){r.onImportProject.emit(r.uuid),r.resultMessage="Project was imported succesfully!",r.isFinishEnabled=!0}},Object.defineProperty(n.prototype,"form",{get:function(){return this.projectNameForm.controls},enumerable:!1,configurable:!0}),n.prototype.uploadProjectFile=function(r){this.projectNameForm.controls.projectName.setValue(r.target.files[0].name.split(".")[0]),this.isImportEnabled=!0,this.isDeleteVisible=!0},n.prototype.onImportClick=function(){var r=this;this.projectNameForm.invalid?this.submitted=!0:this.projectService.list(this.server).subscribe(function(t){var i=r.projectNameForm.controls.projectName.value,o=t.find(function(a){return a.name===i});o?r.openConfirmationDialog(o):r.importProject()})},n.prototype.importProject=function(){var r=this.prepareUploadPath();this.uploader.queue.forEach(function(i){return i.url=r}),this.isFirstStepCompleted=!0,this.uploader.uploadItem(this.uploader.queue[0])},n.prototype.openConfirmationDialog=function(r){var t=this;this.dialog.open(Lj,{width:"300px",height:"150px",data:{existingProject:r},autoFocus:!1,disableClose:!0}).afterClosed().subscribe(function(o){o&&t.projectService.close(t.server,r.project_id).subscribe(function(){t.projectService.delete(t.server,r.project_id).subscribe(function(){t.importProject()})})})},n.prototype.onNoClick=function(){this.uploader.cancelAll(),this.dialogRef.close()},n.prototype.onFinishClick=function(){this.dialogRef.close()},n.prototype.onDeleteClick=function(){this.uploader.queue.pop(),this.isImportEnabled=!1,this.isDeleteVisible=!1,this.projectNameForm.controls.projectName.setValue("")},n.prototype.prepareUploadPath=function(){return this.uuid=(0,xa.v4)(),this.projectService.getUploadPath(this.server,this.uuid,this.projectNameForm.controls.projectName.value)},n.\u0275fac=function(t){return new(t||n)(e.Y36(no),e.Y36(Vr),e.Y36(ld),e.Y36(ne.qu),e.Y36(cd.Y),e.Y36(vp))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-import-project-dialog"]],features:[e._Bn([vp])],decls:29,vars:19,consts:[["mat-dialog-title",""],[3,"hidden"],[1,"file-name-form",3,"formGroup"],["type","file","accept",".gns3project, .gns3p","ng2FileSelect","",1,"non-visible",3,"uploader","change"],["file",""],["mat-raised-button","","color","primary","matTooltip","Import your .gns3p or .gns3project file","matTooltipClass","custom-tooltip",1,"file-button",3,"click"],[1,"file-name-form-field",3,"ngClass"],["matInput","","type","text","formControlName","projectName","placeholder","Please enter name",3,"ngClass"],[4,"ngIf"],[1,"delete-button",3,"hidden"],["color","primary",1,"delete-icon",3,"click"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"disabled","click"],[1,"progress"],["role","progressbar",1,"progress-bar",3,"ngStyle"],[1,"result-message-box"]],template:function(t,i){if(1&t){var o=e.EpF();e.TgZ(0,"h1",0),e._uU(1,"Import project"),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"form",2),e.TgZ(4,"input",3,4),e.NdJ("change",function(s){return i.uploadProjectFile(s)}),e.qZA(),e.TgZ(6,"button",5),e.NdJ("click",function(){return e.CHM(o),e.MAs(5).click()}),e._uU(7," Choose file "),e.qZA(),e.TgZ(8,"mat-form-field",6),e._UZ(9,"input",7),e.YNc(10,Nme,2,0,"mat-error",8),e.YNc(11,Zme,2,0,"mat-error",8),e.qZA(),e.TgZ(12,"button",9),e.TgZ(13,"mat-icon",10),e.NdJ("click",function(){return i.onDeleteClick()}),e._uU(14,"clear"),e.qZA(),e.qZA(),e.TgZ(15,"div",11),e.TgZ(16,"button",12),e.NdJ("click",function(){return i.onNoClick()}),e._uU(17,"Cancel"),e.qZA(),e.TgZ(18,"button",13),e.NdJ("click",function(){return i.onImportClick()}),e._uU(19," Import "),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(20,"div",1),e.TgZ(21,"div",14),e._UZ(22,"div",15),e.qZA(),e.TgZ(23,"div",16),e.TgZ(24,"span"),e._uU(25),e.qZA(),e.qZA(),e.TgZ(26,"div",11),e.TgZ(27,"button",13),e.NdJ("click",function(){return i.onNoClick()}),e._uU(28," Finish "),e.qZA(),e.qZA(),e.qZA()}2&t&&(e.xp6(2),e.Q6J("hidden",i.isFirstStepCompleted),e.xp6(1),e.Q6J("formGroup",i.projectNameForm),e.xp6(1),e.Q6J("uploader",i.uploader),e.xp6(4),e.Q6J("ngClass",e.VKq(13,Lme,!i.isDeleteVisible)),e.xp6(1),e.Q6J("ngClass",e.VKq(15,Fme,i.form.projectName.errors)),e.xp6(1),e.Q6J("ngIf",i.form.projectName.errors&&i.form.projectName.errors.required),e.xp6(1),e.Q6J("ngIf",i.form.projectName.errors&&i.form.projectName.errors.invalidName),e.xp6(1),e.Q6J("hidden",!i.isDeleteVisible),e.xp6(6),e.Q6J("disabled",!i.isImportEnabled),e.xp6(2),e.Q6J("hidden",!i.isFirstStepCompleted),e.xp6(2),e.Q6J("ngStyle",e.VKq(17,Bme,i.uploader.progress+"%")),e.xp6(3),e.Oqu(i.resultMessage),e.xp6(2),e.Q6J("disabled",!i.isFinishEnabled))},directives:[ni,ne._Y,ne.JL,ne.sg,vS,Mn,Ja,Un.KE,Et.mk,ur,ne.Fj,ne.JJ,ne.u,Et.O5,sr,ei,Et.PC,Un.TO],styles:['.non-visible[_ngcontent-%COMP%]{display:none}.file-button[_ngcontent-%COMP%]{width:100%;margin-top:5px;margin-bottom:10px;padding:0}.file-name-form[_ngcontent-%COMP%]{float:right;width:100%}.file-name-form-field[_ngcontent-%COMP%]{width:90%}.empty[_ngcontent-%COMP%]{width:100%}.delete-button[_ngcontent-%COMP%]{background:transparent;border:none;outline:0;width:10%}.delete-icon[_ngcontent-%COMP%]{vertical-align:"middle"}.result-message-box[_ngcontent-%COMP%]{margin-top:10px;text-align:center}.progress-bar[_ngcontent-%COMP%]{background-color:#0097a7}']}),n}(),Ume=function(n){return{lightTheme:n}},Vj=function(){function n(r,t){this.bottomSheetRef=r,this.themeService=t,this.projectMessage="",this.isLightThemeEnabled=!1}return n.prototype.ngOnInit=function(){this.isLightThemeEnabled="light"===this.themeService.getActualTheme()},n.prototype.onNoClick=function(){this.bottomSheetRef.dismiss(!1)},n.prototype.onYesClick=function(){this.bottomSheetRef.dismiss(!0)},n.\u0275fac=function(t){return new(t||n)(e.Y36(N2),e.Y36(Eu.f))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-navigation-dialog"]],decls:8,vars:4,consts:[[1,"dialogWrapper",3,"ngClass"],[1,"title"],["mat-button","",3,"click"],["mat-button","",1,"confirmButton",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e._uU(2),e.qZA(),e.TgZ(3,"div"),e.TgZ(4,"button",2),e.NdJ("click",function(){return i.onNoClick()}),e._uU(5,"No"),e.qZA(),e.TgZ(6,"button",3),e.NdJ("click",function(){return i.onYesClick()}),e._uU(7,"Yes"),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.Q6J("ngClass",e.VKq(2,Ume,i.isLightThemeEnabled)),e.xp6(2),e.hij("Do you want to navigate to ",i.projectMessage,"?"))},directives:[Et.mk,Mn],styles:[".dialogWrapper[_ngcontent-%COMP%]{background-color:#263238;padding:10px 20px;margin-bottom:-8px;display:flex;justify-content:space-between;align-items:center}.lightTheme[_ngcontent-%COMP%]{background-color:#fff!important}.title[_ngcontent-%COMP%]{margin-right:10px;margin-left:10px}"]}),n}();function Hme(n,r){1&n&&(e.TgZ(0,"mat-error"),e._uU(1,"Project name is required"),e.qZA())}function Vme(n,r){1&n&&(e.TgZ(0,"mat-error"),e._uU(1,"Project name is incorrect"),e.qZA())}var qme=function(n){return{"is-invalid":n}},jme=function(){function n(r,t,i,o,a,s){this.dialogRef=r,this.projectService=t,this.nodesDataSource=i,this.toasterService=o,this.formBuilder=a,this.projectNameValidator=s,this.onAddProject=new e.vpe,this.projectNameForm=this.formBuilder.group({projectName:new ne.NI(null,[ne.kI.required,s.get])})}return n.prototype.ngOnInit=function(){},Object.defineProperty(n.prototype,"form",{get:function(){return this.projectNameForm.controls},enumerable:!1,configurable:!0}),n.prototype.onAddClick=function(){var r=this;this.projectNameForm.invalid||this.projectService.list(this.server).subscribe(function(t){var i=r.projectNameForm.controls.projectName.value;t.find(function(a){return a.name===i})?r.toasterService.error("Project with this name already exists."):r.nodesDataSource.getItems().filter(function(a){return"started"===a.status&&"vpcs"===a.node_type||"started"===a.status&&"virtualbox"===a.node_type||"started"===a.status&&"vmware"===a.node_type}).length>0?r.toasterService.error("Please stop all nodes in order to save project."):r.addProject()})},n.prototype.onNoClick=function(){this.dialogRef.close()},n.prototype.addProject=function(){var r=this;this.projectService.duplicate(this.server,this.project.project_id,this.projectNameForm.controls.projectName.value).subscribe(function(t){r.dialogRef.close(),r.toasterService.success("Project "+t.name+" added")})},n.prototype.onKeyDown=function(r){"Enter"===r.key&&this.onAddClick()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(cd.Y),e.Y36(ka.G),e.Y36(Xn),e.Y36(ne.qu),e.Y36(vp))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-save-project-dialog"]],features:[e._Bn([vp])],decls:12,vars:6,consts:[["mat-dialog-title",""],[1,"file-name-form",3,"formGroup"],[1,"file-name-form-field"],["matInput","","type","text","formControlName","projectName","placeholder","Please enter name",3,"ngClass","keydown"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1,"Save project as"),e.qZA(),e.TgZ(2,"form",1),e.TgZ(3,"mat-form-field",2),e.TgZ(4,"input",3),e.NdJ("keydown",function(a){return i.onKeyDown(a)}),e.qZA(),e.YNc(5,Hme,2,0,"mat-error",4),e.YNc(6,Vme,2,0,"mat-error",4),e.qZA(),e.TgZ(7,"div",5),e.TgZ(8,"button",6),e.NdJ("click",function(){return i.onNoClick()}),e._uU(9,"Cancel"),e.qZA(),e.TgZ(10,"button",7),e.NdJ("click",function(){return i.onAddClick()}),e._uU(11,"Save project"),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(2),e.Q6J("formGroup",i.projectNameForm),e.xp6(2),e.Q6J("ngClass",e.VKq(4,qme,null==i.form.projectName?null:i.form.projectName.errors)),e.xp6(1),e.Q6J("ngIf",(null==i.form.projectName?null:i.form.projectName.touched)&&(null==i.form.projectName?null:i.form.projectName.errors)&&(null==i.form.projectName?null:i.form.projectName.errors.required)),e.xp6(1),e.Q6J("ngIf",(null==i.form.projectName?null:i.form.projectName.touched)&&(null==i.form.projectName?null:i.form.projectName.errors)&&(null==i.form.projectName?null:i.form.projectName.errors.invalidName)))},directives:[ni,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,Et.mk,Et.O5,ei,Mn,Un.TO],styles:[".file-name-form-field[_ngcontent-%COMP%]{width:100%}.project-snackbar[_ngcontent-%COMP%]{background:#2196f3}"]}),n}(),qj=function(){function n(){}return n.prototype.getInfoAboutNode=function(r,t){var i=[];return"cloud"===r.node_type?i.push("Cloud "+r.name+" is always on."):"nat"===r.node_type?i.push("NAT "+r.name+" is always on."):"ethernet-hub"===r.node_type?i.push("Ethernet hub "+r.name+" is always on."):"ethernet_switch"===r.node_type?i.push("Ethernet switch "+r.name+" is always on."):"frame_relay_switch"===r.node_type?i.push("Frame relay switch "+r.name+" is always on."):"atm_switch"===r.node_type?i.push("ATM switch "+r.name+" is always on."):"docker"===r.node_type?i.push("Docker "+r.name+" is "+r.status+"."):"dynamips"===r.node_type?i.push("Dynamips "+r.name+" is always on."):"traceng"===r.node_type?i.push("TraceNG "+r.name+" is always on."):"virtualbox"===r.node_type?i.push("VirtualBox VM "+r.name+" is "+r.status+"."):"vmware"===r.node_type?i.push("VMware VM "+r.name+" is "+r.status+"."):"qemu"===r.node_type?i.push("QEMU VM "+r.name+" is "+r.status+"."):"iou"===r.node_type?i.push("IOU "+r.name+" is always on."):"vpcs"===r.node_type&&i.push("Node "+r.name+" is "+r.status+"."),i.push("Running on server "+t.name+" with port "+t.port+"."),i.push("Server ID is "+t.id+"."),"none"!==r.console_type&&"null"!==r.console_type&&i.push("Console is on port "+r.console+" and type is "+r.console_type+"."),i.concat(this.getInfoAboutPorts(r.ports))},n.prototype.getInfoAboutPorts=function(r){var t="Ports: ";return r.forEach(function(i){t+="link_type: "+i.link_type+", \n                        name: "+i.name+"; "}),t=t.substring(0,t.length-2)},n.prototype.getCommandLine=function(r){return"cloud"===r.node_type||"nat"===r.node_type||"ethernet_hub"===r.node_type||"ethernet_switch"===r.node_type||"frame_relay_switch"===r.node_type||"atm_switch"===r.node_type||"dynamips"===r.node_type||"traceng"===r.node_type||"iou"===r.node_type?"Command line information is not supported for this type of node.":r.command_line?r.command_line:"Please start the node in order to get the command line information."},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}();function zme(n,r){if(1&n&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.hij(" ",t," ")}}var Wme=function(){function n(r,t){this.dialogRef=r,this.infoService=t,this.infoList=[],this.usage="",this.commandLine=""}return n.prototype.ngOnInit=function(){this.infoList=this.infoService.getInfoAboutNode(this.node,this.server),this.commandLine=this.infoService.getCommandLine(this.node),this.usage=this.node.usage?this.node.usage:"No usage information has been provided for this node."},n.prototype.onCloseClick=function(){this.dialogRef.close()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(qj))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-info-dialog"]],inputs:{server:"server",node:"node"},decls:16,vars:4,consts:[["mat-dialog-title",""],[1,"modal-form-container"],["animationDuration","0ms"],["label","General information"],[1,"textBox"],[4,"ngFor","ngForOf"],["label","Usage instructions"],["label","Command line"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"mat-tab-group",2),e.TgZ(4,"mat-tab",3),e.TgZ(5,"div",4),e.YNc(6,zme,2,1,"div",5),e.qZA(),e.qZA(),e.TgZ(7,"mat-tab",6),e.TgZ(8,"div",4),e._uU(9),e.qZA(),e.qZA(),e.TgZ(10,"mat-tab",7),e.TgZ(11,"div",4),e._uU(12),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(13,"div",8),e.TgZ(14,"button",9),e.NdJ("click",function(){return i.onCloseClick()}),e._uU(15,"Close"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.Oqu(i.node.name),e.xp6(5),e.Q6J("ngForOf",i.infoList),e.xp6(3),e.hij(" ",i.usage," "),e.xp6(3),e.hij(" ",i.commandLine," "))},directives:[ni,wo.SP,wo.uX,Et.sg,ei,Mn],styles:[".textBox[_ngcontent-%COMP%]{margin-top:10px}"]}),n}(),Gme=function(){function n(r){this.dialog=r}return n.prototype.showNode=function(){var t=this.dialog.open(Wme,{width:"600px",maxHeight:"600px",autoFocus:!1,disableClose:!0}).componentInstance;t.node=this.node,t.server=this.server},n.\u0275fac=function(t){return new(t||n)(e.Y36(no))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-show-node-action"]],inputs:{node:"node",server:"server"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return i.showNode()}),e.TgZ(1,"mat-icon"),e._uU(2,"info"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Show node information"),e.qZA(),e.qZA())},directives:[Zr,sr],encapsulation:2}),n}(),Yr=function(){function n(r){this.httpServer=r}return n.prototype.getNodeById=function(r,t,i){return this.httpServer.get(r,"/projects/"+t+"/nodes/"+i)},n.prototype.start=function(r,t){return this.httpServer.post(r,"/projects/"+t.project_id+"/nodes/"+t.node_id+"/start",{})},n.prototype.startAll=function(r,t){return this.httpServer.post(r,"/projects/"+t.project_id+"/nodes/start",{})},n.prototype.stop=function(r,t){return this.httpServer.post(r,"/projects/"+t.project_id+"/nodes/"+t.node_id+"/stop",{})},n.prototype.stopAll=function(r,t){return this.httpServer.post(r,"/projects/"+t.project_id+"/nodes/stop",{})},n.prototype.suspend=function(r,t){return this.httpServer.post(r,"/projects/"+t.project_id+"/nodes/"+t.node_id+"/suspend",{})},n.prototype.suspendAll=function(r,t){return this.httpServer.post(r,"/projects/"+t.project_id+"/nodes/suspend",{})},n.prototype.reload=function(r,t){return this.httpServer.post(r,"/projects/"+t.project_id+"/nodes/"+t.node_id+"/reload",{})},n.prototype.reloadAll=function(r,t){return this.httpServer.post(r,"/projects/"+t.project_id+"/nodes/reload",{})},n.prototype.createFromTemplate=function(r,t,i,o,a,s){return this.httpServer.post(r,"/projects/"+t.project_id+"/templates/"+i.template_id,s?{x:Math.round(o),y:Math.round(a),compute_id:s}:{x:Math.round(o),y:Math.round(a),compute_id:"local"})},n.prototype.updatePosition=function(r,t,i,o,a){var s=Math.round(o),u=Math.round(a);return t.snap_to_grid&&(s=Math.round((s+i.width/2)/t.grid_size)*t.grid_size,u=Math.round((u+i.height/2)/t.grid_size)*t.grid_size,s=Math.round(s-i.width/2),u=Math.round(u-i.height/2)),this.httpServer.put(r,"/projects/"+i.project_id+"/nodes/"+i.node_id,{x:s,y:u})},n.prototype.updateLabel=function(r,t,i){return this.httpServer.put(r,"/projects/"+t.project_id+"/nodes/"+t.node_id,{label:{rotation:i.rotation,style:i.style,text:i.text,x:Math.round(i.x),y:Math.round(i.y)}})},n.prototype.updateSymbol=function(r,t,i){return this.httpServer.put(r,"/projects/"+t.project_id+"/nodes/"+t.node_id,{symbol:i})},n.prototype.update=function(r,t){return this.httpServer.put(r,"/projects/"+t.project_id+"/nodes/"+t.node_id,{x:Math.round(t.x),y:Math.round(t.y),z:t.z})},n.prototype.updateNode=function(r,t){return this.httpServer.put(r,"/projects/"+t.project_id+"/nodes/"+t.node_id,{console_type:t.console_type,console_auto_start:t.console_auto_start,locked:t.locked,name:t.name,properties:t.properties})},n.prototype.updateNodeWithCustomAdapters=function(r,t){return this.httpServer.put(r,"/projects/"+t.project_id+"/nodes/"+t.node_id,{console_type:t.console_type,console_auto_start:t.console_auto_start,custom_adapters:t.custom_adapters,name:t.name,properties:t.properties})},n.prototype.delete=function(r,t){return this.httpServer.delete(r,"/projects/"+t.project_id+"/nodes/"+t.node_id)},n.prototype.duplicate=function(r,t){return this.httpServer.post(r,"/projects/"+t.project_id+"/nodes/"+t.node_id+"/duplicate",{x:t.x+10,y:t.y+10,z:t.z})},n.prototype.getNode=function(r,t){return this.httpServer.get(r,"/projects/"+t.project_id+"/nodes/"+t.node_id)},n.prototype.getDefaultCommand=function(){return'putty.exe -telnet %h %p -wt "%d" -gns3 5 -skin 4'},n.prototype.getNetworkConfiguration=function(r,t){return this.httpServer.get(r,"/projects/"+t.project_id+"/nodes/"+t.node_id+"/files/etc/network/interfaces",{responseType:"text"})},n.prototype.saveNetworkConfiguration=function(r,t,i){return this.httpServer.post(r,"/projects/"+t.project_id+"/nodes/"+t.node_id+"/files/etc/network/interfaces",i)},n.prototype.getStartupConfiguration=function(r,t){var i="/projects/"+t.project_id+"/nodes/"+t.node_id;return"vpcs"===t.node_type?i+="/files/startup.vpc":"iou"===t.node_type?i+="/files/startup-config.cfg":"dynamips"===t.node_type&&(i+="/files/configs/i"+t.node_id+"_startup-config.cfg"),this.httpServer.get(r,i,{responseType:"text"})},n.prototype.getPrivateConfiguration=function(r,t){var i="/projects/"+t.project_id+"/nodes/"+t.node_id;return"iou"===t.node_type?i+="/files/private-config.cfg":"dynamips"===t.node_type&&(i+="/files/configs/i"+t.node_id+"_private-config.cfg"),this.httpServer.get(r,i,{responseType:"text"})},n.prototype.saveConfiguration=function(r,t,i){var o="/projects/"+t.project_id+"/nodes/"+t.node_id;return"vpcs"===t.node_type?o+="/files/startup.vpc":"iou"===t.node_type?o+="/files/startup-config.cfg":"dynamips"===t.node_type&&(o+="/files/configs/i"+t.node_id+"_startup-config.cfg"),this.httpServer.post(r,o,i)},n.prototype.savePrivateConfiguration=function(r,t,i){var o="/projects/"+t.project_id+"/nodes/"+t.node_id;return"iou"===t.node_type?o+="/files/private-config.cfg":"dynamips"===t.node_type&&(o+="/files/configs/i"+t.node_id+"_private-config.cfg"),this.httpServer.post(r,o,i)},n.\u0275fac=function(t){return new(t||n)(e.LFG(Yo.wh))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}();function Yme(n,r){1&n&&(e.TgZ(0,"th",27),e._uU(1,"Port : VPI : VCI"),e.qZA())}function Jme(n,r){if(1&n&&(e.TgZ(0,"td",28),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.Oqu(t.portIn)}}function Qme(n,r){1&n&&(e.TgZ(0,"th",27),e._uU(1,"Port : VPI : VCI"),e.qZA())}function Kme(n,r){if(1&n&&(e.TgZ(0,"td",28),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.Oqu(t.portOut)}}function Xme(n,r){1&n&&(e.TgZ(0,"th",27),e._uU(1,"Actions"),e.qZA())}function $me(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"td",28),e.TgZ(1,"button",29),e.NdJ("click",function(){var a=e.CHM(t).$implicit;return e.oxw(2).delete(a)}),e.TgZ(2,"mat-icon",30),e._uU(3,"delete"),e.qZA(),e.qZA(),e.qZA()}}function eve(n,r){1&n&&e._UZ(0,"tr",31)}function tve(n,r){1&n&&e._UZ(0,"tr",32)}function nve(n,r){if(1&n&&(e.TgZ(0,"table",19),e.ynx(1,20),e.YNc(2,Yme,2,0,"th",21),e.YNc(3,Jme,2,1,"td",22),e.BQk(),e.ynx(4,23),e.YNc(5,Qme,2,0,"th",21),e.YNc(6,Kme,2,1,"td",22),e.BQk(),e.ynx(7,24),e.YNc(8,Xme,2,0,"th",21),e.YNc(9,$me,4,0,"td",22),e.BQk(),e.YNc(10,eve,1,0,"tr",25),e.YNc(11,tve,1,0,"tr",26),e.qZA()),2&n){var t=e.oxw();e.Q6J("dataSource",t.nodeMappingsDataSource),e.xp6(10),e.Q6J("matHeaderRowDef",t.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",t.displayedColumns)}}var rve=function(){function n(r,t,i,o){this.dialogRef=r,this.nodeService=t,this.toasterService=i,this.formBuilder=o,this.consoleTypes=[],this.nodeMappings=new Map,this.nodeMappingsDataSource=[],this.dataSource=[],this.displayedColumns=["portIn","portOut","actions"],this.sourcePort="",this.sourceVpi="",this.sourceVci="",this.destinationPort="",this.destinationVpi="",this.destinationVci="",this.useVpiOnly=!1,this.nameForm=this.formBuilder.group({name:new ne.NI("",ne.kI.required)}),this.inputForm=this.formBuilder.group({sourcePort:new ne.NI("",ne.kI.required),sourceVci:new ne.NI("",ne.kI.required),destinationPort:new ne.NI("",ne.kI.required),destinationVci:new ne.NI("",ne.kI.required)}),this.abstractForm=this.formBuilder.group({sourceVpi:new ne.NI("",ne.kI.required),destinationVpi:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this;this.nodeService.getNode(this.server,this.node).subscribe(function(t){r.node=t,r.name=t.name;var i=t.properties.mappings;Object.keys(i).forEach(function(o){r.nodeMappings.set(o,i[o])}),r.nodeMappings.forEach(function(o,a){r.nodeMappingsDataSource.push({portIn:a,portOut:o})})})},n.prototype.delete=function(r){this.nodeMappingsDataSource=this.nodeMappingsDataSource.filter(function(t){return t!==r})},n.prototype.add=function(){var r;this.inputForm.valid?this.useVpiOnly?(r={portIn:this.sourcePort+":"+this.sourceVci,portOut:this.destinationPort+":"+this.destinationVci},this.nodeMappingsDataSource.filter(function(t){return t.portIn===r.portIn}).length>0?this.toasterService.error("Mapping already defined."):(this.nodeMappingsDataSource=this.nodeMappingsDataSource.concat([r]),this.clearUserInput())):this.abstractForm.valid?(r={portIn:this.sourcePort+":"+this.sourceVpi+":"+this.sourceVci,portOut:this.destinationPort+":"+this.destinationVpi+":"+this.destinationVci},this.nodeMappingsDataSource.filter(function(t){return t.portIn===r.portIn}).length>0?this.toasterService.error("Mapping already defined."):(this.nodeMappingsDataSource=this.nodeMappingsDataSource.concat([r]),this.clearUserInput())):this.toasterService.error("Fill all required fields."):this.toasterService.error("Fill all required fields.")},n.prototype.clearUserInput=function(){this.sourcePort="0",this.sourceVpi="0",this.sourceVci="0",this.destinationPort="0",this.destinationVpi="0",this.sourceVci="0"},n.prototype.strMapToObj=function(r){for(var t=Object.create(null),i=0,o=r;i<o.length;i++){var a=o[i];t[a[0]]=a[1]}return t},n.prototype.onSaveClick=function(){var r=this;this.nameForm.valid?(this.nodeMappings.clear(),this.nodeMappingsDataSource.forEach(function(t){r.nodeMappings.set(t.portIn,t.portOut)}),this.node.properties.mappings=Array.from(this.nodeMappings).reduce(function(t,i){var o;return Object.assign(t,((o={})[i[0]]=i[1],o))},{}),this.nodeService.updateNode(this.server,this.node).subscribe(function(){r.toasterService.success("Node "+r.node.name+" updated."),r.onCancelClick()})):this.toasterService.error("Fill all required fields.")},n.prototype.onCancelClick=function(){this.dialogRef.close()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(Yr),e.Y36(Xn),e.Y36(ne.qu))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-configurator-atm-switch"]],decls:39,vars:16,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],[1,"default-content"],["class","table","mat-table","",3,"dataSource",4,"ngIf"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","name","placeholder","Name",3,"ngModel","ngModelChange"],[3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","sourcePort","placeholder","Port",3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","sourceVpi","placeholder","VPI",3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","sourceVci","placeholder","VCI",3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","destinationPort","placeholder","Port",3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","destinationVpi","placeholder","VPI",3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","destinationVci","placeholder","VCI",3,"ngModel","ngModelChange"],["mat-button","",1,"form-field",3,"click"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],["mat-table","",1,"table",3,"dataSource"],["matColumnDef","portIn"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","portOut"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","","matTooltip","Delete port","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Delete port"],["mat-header-row",""],["mat-row",""]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div",3),e.TgZ(5,"mat-card"),e.YNc(6,nve,12,3,"table",4),e._UZ(7,"br"),e.TgZ(8,"form",5),e.TgZ(9,"mat-form-field",6),e.TgZ(10,"input",7),e.NdJ("ngModelChange",function(a){return i.node.name=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(11,"mat-checkbox",8),e.NdJ("ngModelChange",function(a){return i.useVpiOnly=a}),e._uU(12," Use VPI only (VP tunnel) "),e.qZA(),e.TgZ(13,"form",5),e._uU(14," Source "),e.TgZ(15,"mat-form-field",6),e.TgZ(16,"input",9),e.NdJ("ngModelChange",function(a){return i.sourcePort=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(17,"form",5),e.TgZ(18,"mat-form-field",6),e.TgZ(19,"input",10),e.NdJ("ngModelChange",function(a){return i.sourceVpi=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(20,"form",5),e.TgZ(21,"mat-form-field",6),e.TgZ(22,"input",11),e.NdJ("ngModelChange",function(a){return i.sourceVci=a}),e.qZA(),e.qZA(),e._uU(23," Destination "),e.TgZ(24,"mat-form-field",6),e.TgZ(25,"input",12),e.NdJ("ngModelChange",function(a){return i.destinationPort=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(26,"form",5),e.TgZ(27,"mat-form-field",6),e.TgZ(28,"input",13),e.NdJ("ngModelChange",function(a){return i.destinationVpi=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(29,"form",5),e.TgZ(30,"mat-form-field",6),e.TgZ(31,"input",14),e.NdJ("ngModelChange",function(a){return i.destinationVci=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(32,"button",15),e.NdJ("click",function(){return i.add()}),e._uU(33,"Add"),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(34,"div",16),e.TgZ(35,"button",17),e.NdJ("click",function(){return i.onCancelClick()}),e._uU(36,"Cancel"),e.qZA(),e.TgZ(37,"button",18),e.NdJ("click",function(){return i.onSaveClick()}),e._uU(38,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configurator for node ",i.name,""),e.xp6(5),e.Q6J("ngIf",i.nodeMappingsDataSource.length),e.xp6(2),e.Q6J("formGroup",i.nameForm),e.xp6(2),e.Q6J("ngModel",i.node.name),e.xp6(1),e.Q6J("ngModel",i.useVpiOnly),e.xp6(2),e.Q6J("formGroup",i.inputForm),e.xp6(3),e.Q6J("ngModel",i.sourcePort),e.xp6(1),e.Q6J("formGroup",i.abstractForm),e.xp6(2),e.Q6J("ngModel",i.sourceVpi),e.xp6(1),e.Q6J("formGroup",i.inputForm),e.xp6(2),e.Q6J("ngModel",i.sourceVci),e.xp6(3),e.Q6J("ngModel",i.destinationPort),e.xp6(1),e.Q6J("formGroup",i.abstractForm),e.xp6(2),e.Q6J("ngModel",i.destinationVpi),e.xp6(1),e.Q6J("formGroup",i.inputForm),e.xp6(2),e.Q6J("ngModel",i.destinationVci))},directives:[ni,_i,Et.O5,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,Zo,ne.On,ne.wV,Mn,ei,Yl,cl,ul,ll,Jl,Ql,dl,pl,Ja,sr,Kl,Xl],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.configButton[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.default-content[_ngcontent-%COMP%]{max-height:400px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.file-button[_ngcontent-%COMP%]{width:18%}.create-button[_ngcontent-%COMP%]{width:100%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}.nonvisible[_ngcontent-%COMP%]{display:none}mat-radio-button[_ngcontent-%COMP%]{margin-right:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}();function ive(n,r){1&n&&(e.TgZ(0,"th",18),e._uU(1,"Name"),e.qZA())}function ove(n,r){if(1&n&&(e.TgZ(0,"td",19),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.Oqu(t.name)}}function ave(n,r){1&n&&(e.TgZ(0,"th",18),e._uU(1,"Local port"),e.qZA())}function sve(n,r){if(1&n&&(e.TgZ(0,"td",19),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.Oqu(t.rport)}}function lve(n,r){1&n&&(e.TgZ(0,"th",18),e._uU(1,"Type"),e.qZA())}function uve(n,r){if(1&n&&(e.TgZ(0,"td",19),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.Oqu(t.rhost)}}function cve(n,r){1&n&&(e.TgZ(0,"th",18),e._uU(1,"Remote port"),e.qZA())}function dve(n,r){if(1&n&&(e.TgZ(0,"td",19),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.Oqu(t.lport)}}function pve(n,r){1&n&&(e.TgZ(0,"th",18),e._uU(1,"Actions"),e.qZA())}function fve(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"td",19),e.TgZ(1,"button",20),e.NdJ("click",function(){var a=e.CHM(t).$implicit;return e.oxw(2).delete(a)}),e.TgZ(2,"mat-icon",21),e._uU(3,"delete"),e.qZA(),e.qZA(),e.qZA()}}function hve(n,r){1&n&&e._UZ(0,"tr",22)}function mve(n,r){1&n&&e._UZ(0,"tr",23)}function vve(n,r){if(1&n&&(e.TgZ(0,"table",8),e.ynx(1,9),e.YNc(2,ive,2,0,"th",10),e.YNc(3,ove,2,1,"td",11),e.BQk(),e.ynx(4,12),e.YNc(5,ave,2,0,"th",10),e.YNc(6,sve,2,1,"td",11),e.BQk(),e.ynx(7,13),e.YNc(8,lve,2,0,"th",10),e.YNc(9,uve,2,1,"td",11),e.BQk(),e.ynx(10,14),e.YNc(11,cve,2,0,"th",10),e.YNc(12,dve,2,1,"td",11),e.BQk(),e.ynx(13,15),e.YNc(14,pve,2,0,"th",10),e.YNc(15,fve,4,0,"td",11),e.BQk(),e.YNc(16,hve,1,0,"tr",16),e.YNc(17,mve,1,0,"tr",17),e.qZA()),2&n){var t=e.oxw();e.Q6J("dataSource",t.dataSourceUdp),e.xp6(16),e.Q6J("matHeaderRowDef",t.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",t.displayedColumns)}}function gve(n,r){1&n&&e._UZ(0,"br")}var _ve=function(){function n(r){this.builtInTemplatesConfigurationService=r,this.dataSourceUdp=[],this.displayedColumns=["name","lport","rhost","rport","action"],this.newPort={name:"",port_number:0},this.portTypes=[],this.etherTypes=[]}return n.prototype.ngOnInit=function(){this.getConfiguration()},n.prototype.getConfiguration=function(){this.etherTypes=this.builtInTemplatesConfigurationService.getEtherTypesForEthernetSwitches(),this.portTypes=this.builtInTemplatesConfigurationService.getPortTypesForEthernetSwitches()},n.prototype.onAddUdpInterface=function(){this.dataSourceUdp=this.dataSourceUdp.concat([this.newPort]),this.newPort={name:"",port_number:0}},n.prototype.delete=function(r){this.dataSourceUdp=this.dataSourceUdp.filter(function(t){return t!==r})},n.\u0275fac=function(t){return new(t||n)(e.Y36(Xf))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-udp-tunnels"]],inputs:{dataSourceUdp:"dataSourceUdp"},decls:12,vars:6,consts:[["class","table","mat-table","",3,"dataSource",4,"ngIf"],[4,"ngIf"],[1,"form-field"],["matInput","","type","text","placeholder","Name",3,"ngModel","ngModelChange"],["matInput","","type","number","placeholder","Local port",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Remote host",3,"ngModel","ngModelChange"],["matInput","","type","number","placeholder","Remote port",3,"ngModel","ngModelChange"],["mat-button","",1,"form-field",3,"click"],["mat-table","",1,"table",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","rport"],["matColumnDef","rhost"],["matColumnDef","lport"],["matColumnDef","action"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","","matTooltip","Delete port","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Delete port"],["mat-header-row",""],["mat-row",""]],template:function(t,i){1&t&&(e.YNc(0,vve,18,3,"table",0),e.YNc(1,gve,1,0,"br",1),e.TgZ(2,"mat-form-field",2),e.TgZ(3,"input",3),e.NdJ("ngModelChange",function(a){return i.newPort.name=a}),e.qZA(),e.qZA(),e.TgZ(4,"mat-form-field",2),e.TgZ(5,"input",4),e.NdJ("ngModelChange",function(a){return i.newPort.lport=a}),e.qZA(),e.qZA(),e.TgZ(6,"mat-form-field",2),e.TgZ(7,"input",5),e.NdJ("ngModelChange",function(a){return i.newPort.rhost=a}),e.qZA(),e.qZA(),e.TgZ(8,"mat-form-field",2),e.TgZ(9,"input",6),e.NdJ("ngModelChange",function(a){return i.newPort.rport=a}),e.qZA(),e.qZA(),e.TgZ(10,"button",7),e.NdJ("click",function(){return i.onAddUdpInterface()}),e._uU(11,"Add"),e.qZA()),2&t&&(e.Q6J("ngIf",i.dataSourceUdp.length),e.xp6(1),e.Q6J("ngIf",i.dataSourceUdp.length),e.xp6(2),e.Q6J("ngModel",i.newPort.name),e.xp6(2),e.Q6J("ngModel",i.newPort.lport),e.xp6(2),e.Q6J("ngModel",i.newPort.rhost),e.xp6(2),e.Q6J("ngModel",i.newPort.rport))},directives:[Et.O5,Un.KE,ur,ne.Fj,ne.JJ,ne.On,ne.wV,Mn,Yl,cl,ul,ll,Jl,Ql,dl,pl,Ja,sr,Kl,Xl],styles:[".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}(),yve=["udpTunnels"];function bve(n,r){if(1&n&&(e.TgZ(0,"div",16),e.TgZ(1,"div",16),e._uU(2),e.qZA(),e._UZ(3,"br"),e._UZ(4,"br"),e.qZA()),2&n){var t=r.$implicit;e.xp6(2),e.Oqu(t.name)}}function Cve(n,r){if(1&n&&(e.TgZ(0,"mat-option",28),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Sve(n,r){if(1&n&&(e.TgZ(0,"div",16),e.TgZ(1,"div",16),e._uU(2),e.qZA(),e._UZ(3,"br"),e._UZ(4,"br"),e.qZA()),2&n){var t=r.$implicit;e.xp6(2),e.Oqu(t.name)}}function Tve(n,r){if(1&n&&(e.TgZ(0,"mat-option",28),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}var xve=function(){return{standalone:!0}};function wve(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-tab-group"),e.TgZ(1,"mat-tab",9),e.YNc(2,bve,5,1,"div",10),e.TgZ(3,"mat-form-field",11),e.TgZ(4,"mat-select",12),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().ethernetInterface=a}),e.YNc(5,Cve,2,2,"mat-option",13),e.qZA(),e.qZA(),e.TgZ(6,"button",14),e.NdJ("click",function(){return e.CHM(t),e.oxw().onAddEthernetInterface()}),e._uU(7,"Add"),e.qZA(),e.qZA(),e.TgZ(8,"mat-tab",15),e.YNc(9,Sve,5,1,"div",10),e.TgZ(10,"mat-form-field",16),e.TgZ(11,"input",17),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().tapInterface=a}),e.qZA(),e.qZA(),e.TgZ(12,"button",14),e.NdJ("click",function(){return e.CHM(t),e.oxw().onAddTapInterface()}),e._uU(13,"Add"),e.qZA(),e.qZA(),e.TgZ(14,"mat-tab",18),e._UZ(15,"app-udp-tunnels",19,20),e.qZA(),e.TgZ(17,"mat-tab",21),e.TgZ(18,"form",22),e.TgZ(19,"mat-form-field",16),e.TgZ(20,"input",23),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.name=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(21,"mat-form-field",11),e.TgZ(22,"mat-select",24),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.console_type=a}),e.YNc(23,Tve,2,2,"mat-option",13),e.qZA(),e.qZA(),e.TgZ(24,"mat-form-field",16),e.TgZ(25,"input",25),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.remote_console_host=a}),e.qZA(),e.qZA(),e.TgZ(26,"mat-form-field",16),e.TgZ(27,"input",26),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.remote_console_port=a}),e.qZA(),e.qZA(),e.TgZ(28,"mat-form-field",16),e.TgZ(29,"input",27),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.remote_console_http_path=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(2),e.Q6J("ngForOf",i.portsMappingEthernet),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(14,xve))("ngModel",i.ethernetInterface),e.xp6(1),e.Q6J("ngForOf",i.ethernetInterfaces),e.xp6(4),e.Q6J("ngForOf",i.portsMappingTap),e.xp6(2),e.Q6J("ngModel",i.tapInterface),e.xp6(4),e.Q6J("dataSourceUdp",i.portsMappingUdp),e.xp6(3),e.Q6J("formGroup",i.generalSettingsForm),e.xp6(2),e.Q6J("ngModel",i.node.name),e.xp6(2),e.Q6J("ngModel",i.node.console_type),e.xp6(1),e.Q6J("ngForOf",i.consoleTypes),e.xp6(2),e.Q6J("ngModel",i.node.properties.remote_console_host),e.xp6(2),e.Q6J("ngModel",i.node.properties.remote_console_port),e.xp6(2),e.Q6J("ngModel",i.node.properties.remote_console_http_path)}}var kve=function(){function n(r,t,i,o,a){this.dialogRef=r,this.nodeService=t,this.toasterService=i,this.formBuilder=o,this.builtInTemplatesConfigurationService=a,this.consoleTypes=[],this.binaries=[],this.onCloseOptions=[],this.bootPriorities=[],this.diskInterfaces=[],this.portsMappingEthernet=[],this.portsMappingTap=[],this.portsMappingUdp=[],this.displayedColumns=["adapter_number","port_name","adapter_type","actions"],this.networkTypes=[],this.tapInterface="",this.ethernetInterface="",this.ethernetInterfaces=["Ethernet 2","Ethernet 3"],this.generalSettingsForm=this.formBuilder.group({name:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this;this.nodeService.getNode(this.server,this.node).subscribe(function(t){r.node=t,r.name=t.name,r.getConfiguration(),r.portsMappingEthernet=r.node.properties.ports_mapping.filter(function(i){return"ethernet"===i.type}),r.portsMappingTap=r.node.properties.ports_mapping.filter(function(i){return"tap"===i.type}),r.portsMappingUdp=r.node.properties.ports_mapping.filter(function(i){return"udp"===i.type})})},n.prototype.getConfiguration=function(){this.consoleTypes=this.builtInTemplatesConfigurationService.getConsoleTypesForCloudNodes()},n.prototype.onAddEthernetInterface=function(){this.ethernetInterface&&this.portsMappingEthernet.push({interface:this.ethernetInterface,name:this.ethernetInterface,port_number:0,type:"ethernet"})},n.prototype.onAddTapInterface=function(){this.tapInterface&&this.portsMappingTap.push({interface:this.tapInterface,name:this.tapInterface,port_number:0,type:"tap"})},n.prototype.onSaveClick=function(){var r=this;this.generalSettingsForm.valid?(this.portsMappingUdp=this.udpTunnels.dataSourceUdp,this.node.properties.ports_mapping=this.portsMappingUdp.concat(this.portsMappingEthernet).concat(this.portsMappingTap),this.nodeService.updateNode(this.server,this.node).subscribe(function(){r.toasterService.success("Node "+r.node.name+" updated."),r.onCancelClick()})):this.toasterService.error("Fill all required fields.")},n.prototype.onCancelClick=function(){this.dialogRef.close()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(Yr),e.Y36(Xn),e.Y36(ne.qu),e.Y36(Xf))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-configurator-cloud"]],viewQuery:function(t,i){var o;(1&t&&e.Gf(yve,5),2&t)&&(e.iGM(o=e.CRH())&&(i.udpTunnels=o.first))},decls:12,vars:2,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],[1,"default-content"],[1,"matCard"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],["label","Ethernet interfaces"],["class","form-field",4,"ngFor","ngForOf"],[1,"select"],["placeholder","Ethernet interface",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["mat-button","",1,"form-field",3,"click"],["label","TAP interfaces"],[1,"form-field"],["matInput","","type","text","placeholder","TAP interface",3,"ngModel","ngModelChange"],["label","UDP tunnels"],[3,"dataSourceUdp"],["udpTunnels",""],["label","Miscellaneous"],[3,"formGroup"],["matInput","","type","text","formControlName","name","placeholder","Name",3,"ngModel","ngModelChange"],["placeholder","Console type",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Console host",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Console port",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Console HTTP path",3,"ngModel","ngModelChange"],[3,"value"]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div",3),e.TgZ(5,"mat-card",4),e.YNc(6,wve,30,15,"mat-tab-group",5),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(7,"div",6),e.TgZ(8,"button",7),e.NdJ("click",function(){return i.onCancelClick()}),e._uU(9,"Cancel"),e.qZA(),e.TgZ(10,"button",8),e.NdJ("click",function(){return i.onSaveClick()}),e._uU(11,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configurator for node ",i.name,""),e.xp6(5),e.Q6J("ngIf",i.name))},directives:[ni,_i,Et.O5,ei,Mn,wo.SP,wo.uX,Et.sg,Un.KE,pi.gD,ne.JJ,ne.On,ur,ne.Fj,_ve,ne._Y,ne.JL,ne.sg,ne.u,ln.ey],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.configButton[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.default-content[_ngcontent-%COMP%]{max-height:400px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.file-button[_ngcontent-%COMP%]{width:18%}.create-button[_ngcontent-%COMP%]{width:100%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}.nonvisible[_ngcontent-%COMP%]{display:none}mat-radio-button[_ngcontent-%COMP%]{margin-right:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}"]}),n}();function Eve(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-list-item"),e.TgZ(1,"div",6),e.TgZ(2,"span",7),e._uU(3),e.qZA(),e.TgZ(4,"span",7),e.TgZ(5,"input",9),e.NdJ("ngModelChange",function(a){return e.CHM(t).$implicit.port_name=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=r.$implicit;e.xp6(3),e.hij(" Adapter ",i.adapter_number," "),e.xp6(2),e.Q6J("ngModel",i.port_name)}}function Mve(n,r){if(1&n&&(e.TgZ(0,"div",5),e.TgZ(1,"div",6),e.TgZ(2,"span",7),e._uU(3," Adapter number "),e.qZA(),e.TgZ(4,"span",7),e._uU(5," Port name "),e.qZA(),e.qZA(),e.TgZ(6,"div"),e.TgZ(7,"mat-list"),e.YNc(8,Eve,6,2,"mat-list-item",8),e.qZA(),e.qZA(),e.qZA()),2&n){var t=e.oxw();e.xp6(8),e.Q6J("ngForOf",t.adapters)}}var Ave=function(){function n(r,t,i,o,a){this.dialogRef=r,this.nodeService=t,this.toasterService=i,this.formBuilder=o,this.dockerConfigurationService=a,this.displayedColumns=["adapter_number","port_name"],this.adapters=[]}return n.prototype.ngOnInit=function(){var r=this;this.node.custom_adapters?this.adapters=this.node.custom_adapters:this.node.ports.forEach(function(i){r.adapters.push({adapter_number:0,port_name:""})})},n.prototype.onSaveClick=function(){var r=this;this.node.custom_adapters=this.adapters,this.nodeService.updateNodeWithCustomAdapters(this.server,this.node).subscribe(function(){r.onCancelClick(),r.toasterService.success("Configuration saved for node "+r.node.name)})},n.prototype.onCancelClick=function(){this.dialogRef.close()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(Yr),e.Y36(Xn),e.Y36(ne.qu),e.Y36(IS))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-configure-custom-adapters"]],decls:8,vars:2,consts:[["mat-dialog-title",""],["class","modal-form-container",4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],[1,"modal-form-container"],[1,"header"],[1,"column"],[4,"ngFor","ngForOf"],["matInput","","type","text","placeholder","Edit port name",3,"ngModel","ngModelChange"]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.YNc(2,Mve,9,1,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"button",3),e.NdJ("click",function(){return i.onCancelClick()}),e._uU(5,"Cancel"),e.qZA(),e.TgZ(6,"button",4),e.NdJ("click",function(){return i.onSaveClick()}),e._uU(7,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configure custom adapters for node ",i.node.name,""),e.xp6(1),e.Q6J("ngIf",i.node))},directives:[ni,Et.O5,ei,Mn,YZ,Et.sg,Cs,ur,ne.Fj,ne.JJ,ne.On],styles:["th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:100%}.column[_ngcontent-%COMP%]{width:50%}"]}),n}();function Dve(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",5),e.TgZ(1,"textarea",6),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().configuration=a}),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(1),e.Q6J("ngModel",i.configuration)}}var Ove=function(){function n(r,t,i){this.dialogRef=r,this.nodeService=t,this.toasterService=i}return n.prototype.ngOnInit=function(){var r=this;this.nodeService.getNetworkConfiguration(this.server,this.node).subscribe(function(t){r.configuration=t})},n.prototype.onSaveClick=function(){var r=this;this.nodeService.saveNetworkConfiguration(this.server,this.node,this.configuration).subscribe(function(t){r.onCancelClick(),r.toasterService.success("Configuration for node "+r.node.name+" saved.")})},n.prototype.onCancelClick=function(){this.dialogRef.close()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(Yr),e.Y36(Xn))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-edit-network-configuration"]],decls:8,vars:2,consts:[["mat-dialog-title",""],["class","modal-form-container",4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],[1,"modal-form-container"],["matInput","","type","text",1,"textArea",3,"ngModel","ngModelChange"]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.YNc(2,Dve,2,1,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"button",3),e.NdJ("click",function(){return i.onCancelClick()}),e._uU(5,"Cancel"),e.qZA(),e.TgZ(6,"button",4),e.NdJ("click",function(){return i.onSaveClick()}),e._uU(7,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Edit network configuration for node ",i.node.name,""),e.xp6(1),e.Q6J("ngIf",i.node))},directives:[ni,Et.O5,ei,Mn,ur,ne.Fj,ne.JJ,ne.On],styles:[".textArea[_ngcontent-%COMP%]{width:100%;height:350px}"]}),n}();function Pve(n,r){if(1&n&&(e.TgZ(0,"mat-option",26),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Ive(n,r){if(1&n&&(e.TgZ(0,"mat-option",26),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}var ML=function(){return{standalone:!0}};function Rve(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-tab-group"),e.TgZ(1,"mat-tab",9),e._UZ(2,"br"),e.TgZ(3,"form",10),e.TgZ(4,"mat-form-field",11),e.TgZ(5,"input",12),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.name=a}),e.qZA(),e.qZA(),e.TgZ(6,"mat-form-field",11),e.TgZ(7,"input",13),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.start_command=a}),e.qZA(),e.qZA(),e.TgZ(8,"mat-form-field",11),e.TgZ(9,"input",14),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.adapters=a}),e.qZA(),e.qZA(),e.TgZ(10,"button",15),e.NdJ("click",function(){return e.CHM(t),e.oxw().configureCustomAdapters()}),e._uU(11," Configure custom adapters "),e.qZA(),e.TgZ(12,"mat-form-field",16),e.TgZ(13,"mat-select",17),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.console_type=a}),e.YNc(14,Pve,2,2,"mat-option",18),e.qZA(),e.qZA(),e.TgZ(15,"mat-checkbox",19),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.console_auto_start=a}),e._uU(16," Auto start console "),e.qZA(),e.TgZ(17,"mat-form-field",11),e.TgZ(18,"mat-select",20),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.console_resolution=a}),e.YNc(19,Ive,2,2,"mat-option",18),e.qZA(),e.qZA(),e.TgZ(20,"mat-form-field",11),e.TgZ(21,"input",21),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.console_http_port=a}),e.qZA(),e.qZA(),e.TgZ(22,"mat-form-field",11),e.TgZ(23,"input",22),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.console_http_path=a}),e.qZA(),e.qZA(),e.TgZ(24,"button",15),e.NdJ("click",function(){return e.CHM(t),e.oxw().editNetworkConfiguration()}),e._uU(25," Edit network configuration "),e.qZA(),e.qZA(),e.TgZ(26,"h6"),e._uU(27,"Environment"),e.qZA(),e.TgZ(28,"mat-form-field",11),e.TgZ(29,"textarea",23),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.environment=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(30,"mat-tab",24),e.TgZ(31,"h6"),e._uU(32,"Extra hosts"),e.qZA(),e.TgZ(33,"mat-form-field",11),e.TgZ(34,"textarea",23),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.extra_hosts=a}),e.qZA(),e.qZA(),e._UZ(35,"br"),e.TgZ(36,"h6"),e._uU(37,"Additional directories"),e.qZA(),e.TgZ(38,"mat-form-field",11),e.TgZ(39,"textarea",23),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.extra_volumes=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(40,"mat-tab",25),e.TgZ(41,"mat-form-field",11),e.TgZ(42,"textarea",23),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.usage=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(3),e.Q6J("formGroup",i.generalSettingsForm),e.xp6(2),e.Q6J("ngModel",i.node.name),e.xp6(2),e.Q6J("ngModel",i.node.properties.start_command),e.xp6(2),e.Q6J("ngModel",i.node.properties.adapters),e.xp6(4),e.Q6J("ngModelOptions",e.DdM(18,ML))("ngModel",i.node.console_type),e.xp6(1),e.Q6J("ngForOf",i.consoleTypes),e.xp6(1),e.Q6J("ngModelOptions",e.DdM(19,ML))("ngModel",i.node.console_auto_start),e.xp6(3),e.Q6J("ngModelOptions",e.DdM(20,ML))("ngModel",i.node.properties.console_resolution),e.xp6(1),e.Q6J("ngForOf",i.consoleResolutions),e.xp6(2),e.Q6J("ngModel",i.node.properties.console_http_port),e.xp6(2),e.Q6J("ngModel",i.node.properties.console_http_path),e.xp6(6),e.Q6J("ngModel",i.node.properties.environment),e.xp6(5),e.Q6J("ngModel",i.node.properties.extra_hosts),e.xp6(5),e.Q6J("ngModel",i.node.properties.extra_volumes),e.xp6(3),e.Q6J("ngModel",i.node.properties.usage)}}var Nve=function(){function n(r,t,i,o,a,s){this.dialogReference=r,this.nodeService=t,this.toasterService=i,this.formBuilder=o,this.dockerConfigurationService=a,this.dialog=s,this.consoleTypes=[],this.consoleResolutions=["640x480","800x600","1024x768","1280x800","1280x1024","1366x768","1920x1080"],this.conf={autoFocus:!1,width:"800px",disableClose:!0},this.generalSettingsForm=this.formBuilder.group({name:new ne.NI("",ne.kI.required),adapter:new ne.NI("",ne.kI.required),startCommand:new ne.NI("",ne.kI.required),consoleHttpPort:new ne.NI("",ne.kI.required),consoleHttpPath:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this;this.nodeService.getNode(this.server,this.node).subscribe(function(t){r.node=t,r.name=t.name,r.getConfiguration()})},n.prototype.getConfiguration=function(){this.consoleTypes=this.dockerConfigurationService.getConsoleTypes()},n.prototype.configureCustomAdapters=function(){this.dialogRef=this.dialog.open(Ave,this.conf);var r=this.dialogRef.componentInstance;r.server=this.server,r.node=this.node},n.prototype.editNetworkConfiguration=function(){this.dialogRef=this.dialog.open(Ove,this.conf);var r=this.dialogRef.componentInstance;r.server=this.server,r.node=this.node},n.prototype.onSaveClick=function(){var r=this;this.generalSettingsForm.valid?this.nodeService.updateNode(this.server,this.node).subscribe(function(){r.toasterService.success("Node "+r.node.name+" updated."),r.onCancelClick()}):this.toasterService.error("Fill all required fields.")},n.prototype.onCancelClick=function(){this.dialogReference.close()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(Yr),e.Y36(Xn),e.Y36(ne.qu),e.Y36(IS),e.Y36(no))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-configurator-docker"]],decls:12,vars:2,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],[1,"default-content"],[1,"matCard"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],["label","General settings"],[3,"formGroup"],[1,"form-field"],["matInput","","formControlName","name","type","text","placeholder","Name",3,"ngModel","ngModelChange"],["matInput","","formControlName","startCommand","type","text","placeholder","Start command",3,"ngModel","ngModelChange"],["formControlName","adapter","matInput","","type","number","placeholder","Adapters",3,"ngModel","ngModelChange"],["mat-button","",1,"form-field",3,"click"],[1,"select"],["placeholder","Console type",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModelOptions","ngModel","ngModelChange"],["placeholder","VNC console resolution",3,"ngModelOptions","ngModel","ngModelChange"],["formControlName","consoleHttpPort","matInput","","type","number","placeholder","HTTP port in the container",3,"ngModel","ngModelChange"],["matInput","","formControlName","consoleHttpPath","type","text","placeholder","HTTP path",3,"ngModel","ngModelChange"],["matInput","","type","text",3,"ngModel","ngModelChange"],["label","Advanced"],["label","Usage"],[3,"value"]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div",3),e.TgZ(5,"mat-card",4),e.YNc(6,Rve,43,21,"mat-tab-group",5),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(7,"div",6),e.TgZ(8,"button",7),e.NdJ("click",function(){return i.onCancelClick()}),e._uU(9,"Cancel"),e.qZA(),e.TgZ(10,"button",8),e.NdJ("click",function(){return i.onSaveClick()}),e._uU(11,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configurator for node ",i.name,""),e.xp6(5),e.Q6J("ngIf",i.name))},directives:[ni,_i,Et.O5,ei,Mn,wo.SP,wo.uX,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,ne.wV,pi.gD,ne.On,Et.sg,Zo,ln.ey],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.configButton[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.default-content[_ngcontent-%COMP%]{max-height:400px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.file-button[_ngcontent-%COMP%]{width:18%}.create-button[_ngcontent-%COMP%]{width:100%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}.nonvisible[_ngcontent-%COMP%]{display:none}mat-radio-button[_ngcontent-%COMP%]{margin-right:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}"]}),n}();function Zve(n,r){if(1&n&&(e.TgZ(0,"mat-option",16),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Lve(n,r){if(1&n&&e._UZ(0,"app-ports",17,18),2&n){var t=e.oxw(2);e.Q6J("ethernetPorts",t.node.properties.ports_mapping)}}var Fve=function(){return{standalone:!0}};function Bve(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",7),e.TgZ(1,"mat-card",8),e.TgZ(2,"form",9),e.TgZ(3,"mat-form-field",10),e.TgZ(4,"input",11),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.name=a}),e.qZA(),e.qZA(),e.TgZ(5,"mat-form-field",12),e.TgZ(6,"mat-select",13),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.console_type=a}),e.YNc(7,Zve,2,2,"mat-option",14),e.qZA(),e.qZA(),e.qZA(),e.YNc(8,Lve,2,1,"app-ports",15),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(2),e.Q6J("formGroup",i.inputForm),e.xp6(2),e.Q6J("ngModel",i.node.name),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(6,Fve))("ngModel",i.node.console_type),e.xp6(1),e.Q6J("ngForOf",i.consoleTypes),e.xp6(1),e.Q6J("ngIf",i.node.properties)}}var Uve=function(){function n(r,t,i,o,a){this.dialogRef=r,this.nodeService=t,this.toasterService=i,this.formBuilder=o,this.ethernetSwitchesConfigurationService=a,this.consoleTypes=[],this.inputForm=this.formBuilder.group({name:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this;this.nodeService.getNode(this.server,this.node).subscribe(function(t){r.node=t,r.name=r.node.name,r.getConfiguration()})},n.prototype.getConfiguration=function(){this.consoleTypes=this.ethernetSwitchesConfigurationService.getConsoleTypesForEthernetSwitches()},n.prototype.onSaveClick=function(){var r=this;this.inputForm.valid?(this.node.properties.ports_mapping=this.portsComponent.ethernetPorts,this.nodeService.updateNode(this.server,this.node).subscribe(function(){r.toasterService.success("Node "+r.node.name+" updated."),r.onCancelClick()})):this.toasterService.error("Fill all required fields.")},n.prototype.onCancelClick=function(){this.dialogRef.close()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(Yr),e.Y36(Xn),e.Y36(ne.qu),e.Y36(Xf))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-configurator-ethernet-switch"]],viewQuery:function(t,i){var o;(1&t&&e.Gf(h2,5),2&t)&&(e.iGM(o=e.CRH())&&(i.portsComponent=o.first))},decls:10,vars:2,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],["class","default-content",4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],[1,"default-content"],[1,"matCard"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","name","placeholder","Name",3,"ngModel","ngModelChange"],[1,"select"],["placeholder","Console type",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"ethernetPorts",4,"ngIf"],[3,"value"],[3,"ethernetPorts"],["ports",""]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.YNc(4,Bve,9,7,"div",3),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"button",5),e.NdJ("click",function(){return i.onCancelClick()}),e._uU(7,"Cancel"),e.qZA(),e.TgZ(8,"button",6),e.NdJ("click",function(){return i.onSaveClick()}),e._uU(9,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configurator for node ",i.name,""),e.xp6(3),e.Q6J("ngIf",i.node))},directives:[ni,Et.O5,ei,Mn,_i,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,pi.gD,ne.On,Et.sg,ln.ey,h2],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.configButton[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.default-content[_ngcontent-%COMP%]{max-height:400px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.file-button[_ngcontent-%COMP%]{width:18%}.create-button[_ngcontent-%COMP%]{width:100%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}.nonvisible[_ngcontent-%COMP%]{display:none}mat-radio-button[_ngcontent-%COMP%]{margin-right:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}"]}),n}(),Hve=function(){return{standalone:!0}},Vve=function(){function n(r,t,i,o,a){this.dialogRef=r,this.nodeService=t,this.toasterService=i,this.formBuilder=o,this.vpcsConfigurationService=a,this.consoleTypes=[],this.categories=[],this.inputForm=this.formBuilder.group({name:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this;this.nodeService.getNode(this.server,this.node).subscribe(function(t){r.node=t,r.name=r.node.name,r.numberOfPorts=r.node.ports.length,r.getConfiguration()})},n.prototype.getConfiguration=function(){this.consoleTypes=this.vpcsConfigurationService.getConsoleTypes(),this.categories=this.vpcsConfigurationService.getCategories()},n.prototype.onSaveClick=function(){var r=this;if(this.inputForm.valid){this.node.properties.ports_mapping=[];for(var t=0;t<this.numberOfPorts;t++)this.node.properties.ports_mapping.push({name:"Ethernet"+t,port_number:t});this.nodeService.updateNode(this.server,this.node).subscribe(function(){r.toasterService.success("Node "+r.node.name+" updated."),r.onCancelClick()})}else this.toasterService.error("Fill all required fields.")},n.prototype.onCancelClick=function(){this.dialogRef.close()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(Yr),e.Y36(Xn),e.Y36(ne.qu),e.Y36(T2))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-configurator-ethernet-hub"]],decls:16,vars:6,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],[1,"default-content"],[1,"matCard"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","name","placeholder","Name",3,"ngModel","ngModelChange"],["matInput","","type","number","placeholder","Number of ports",3,"ngModel","ngModelOptions","ngModelChange"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div",3),e.TgZ(5,"mat-card",4),e.TgZ(6,"form",5),e.TgZ(7,"mat-form-field",6),e.TgZ(8,"input",7),e.NdJ("ngModelChange",function(a){return i.node.name=a}),e.qZA(),e.qZA(),e.TgZ(9,"mat-form-field",6),e.TgZ(10,"input",8),e.NdJ("ngModelChange",function(a){return i.numberOfPorts=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(11,"div",9),e.TgZ(12,"button",10),e.NdJ("click",function(){return i.onCancelClick()}),e._uU(13,"Cancel"),e.qZA(),e.TgZ(14,"button",11),e.NdJ("click",function(){return i.onSaveClick()}),e._uU(15,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configurator for node ",i.name,""),e.xp6(5),e.Q6J("formGroup",i.inputForm),e.xp6(2),e.Q6J("ngModel",i.node.name),e.xp6(2),e.Q6J("ngModel",i.numberOfPorts)("ngModelOptions",e.DdM(5,Hve)))},directives:[ni,_i,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,ne.wV,ne.On,ei,Mn],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.configButton[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.default-content[_ngcontent-%COMP%]{max-height:400px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.file-button[_ngcontent-%COMP%]{width:18%}.create-button[_ngcontent-%COMP%]{width:100%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}.nonvisible[_ngcontent-%COMP%]{display:none}mat-radio-button[_ngcontent-%COMP%]{margin-right:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}"]}),n}();function qve(n,r){if(1&n&&(e.TgZ(0,"mat-option",23),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function jve(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-tab-group"),e.TgZ(1,"mat-tab",9),e._UZ(2,"br"),e.TgZ(3,"form",10),e.TgZ(4,"mat-form-field",11),e.TgZ(5,"input",12),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.name=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(6,"mat-form-field",13),e.TgZ(7,"mat-select",14),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.console_type=a}),e.YNc(8,qve,2,2,"mat-option",15),e.qZA(),e.qZA(),e.TgZ(9,"mat-checkbox",16),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.console_auto_start=a}),e._uU(10," Auto start console "),e.qZA(),e._UZ(11,"br"),e.qZA(),e.TgZ(12,"mat-tab",17),e._UZ(13,"br"),e.TgZ(14,"form",10),e.TgZ(15,"mat-form-field",11),e.TgZ(16,"input",18),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.ram=a}),e.qZA(),e.TgZ(17,"span",19),e._uU(18,"MB"),e.qZA(),e.qZA(),e.TgZ(19,"mat-form-field",11),e.TgZ(20,"input",20),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.nvram=a}),e.qZA(),e.TgZ(21,"span",19),e._uU(22,"MB"),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(23,"mat-tab",21),e.TgZ(24,"mat-form-field",11),e.TgZ(25,"textarea",22),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.usage=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(3),e.Q6J("formGroup",i.generalSettingsForm),e.xp6(2),e.Q6J("ngModel",i.node.name),e.xp6(2),e.Q6J("ngModel",i.node.console_type),e.xp6(1),e.Q6J("ngForOf",i.consoleTypes),e.xp6(1),e.Q6J("ngModel",i.node.console_auto_start),e.xp6(5),e.Q6J("formGroup",i.memoryForm),e.xp6(2),e.Q6J("ngModel",i.node.properties.ram),e.xp6(4),e.Q6J("ngModel",i.node.properties.nvram),e.xp6(5),e.Q6J("ngModel",i.node.properties.usage)}}var zve=function(){function n(r,t,i,o,a){this.dialogRef=r,this.nodeService=t,this.toasterService=i,this.formBuilder=o,this.configurationService=a,this.consoleTypes=[],this.generalSettingsForm=this.formBuilder.group({name:new ne.NI("",ne.kI.required)}),this.memoryForm=this.formBuilder.group({ram:new ne.NI("",ne.kI.required),nvram:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this;this.nodeService.getNode(this.server,this.node).subscribe(function(t){r.node=t,r.name=t.name,r.getConfiguration()})},n.prototype.getConfiguration=function(){this.consoleTypes=this.configurationService.getConsoleTypes()},n.prototype.onSaveClick=function(){var r=this;this.generalSettingsForm.valid&&this.memoryForm.valid?this.nodeService.updateNode(this.server,this.node).subscribe(function(){r.toasterService.success("Node "+r.node.name+" updated."),r.onCancelClick()}):this.toasterService.error("Fill all required fields.")},n.prototype.onCancelClick=function(){this.dialogRef.close()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(Yr),e.Y36(Xn),e.Y36(ne.qu),e.Y36(g2))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-configurator-ios"]],decls:12,vars:2,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],[1,"default-content"],[1,"matCard"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],["label","General settings"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","name","placeholder","Name",3,"ngModel","ngModelChange"],[1,"select"],["placeholder","Console type",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModel","ngModelChange"],["label","Memories and disks"],["matInput","","type","number","formControlName","ram","placeholder","RAM size",3,"ngModel","ngModelChange"],["matSuffix",""],["matInput","","type","number","formControlName","nvram","placeholder","NVRAM size",3,"ngModel","ngModelChange"],["label","Usage"],["matInput","","type","text",3,"ngModel","ngModelChange"],[3,"value"]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div",3),e.TgZ(5,"mat-card",4),e.YNc(6,jve,26,9,"mat-tab-group",5),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(7,"div",6),e.TgZ(8,"button",7),e.NdJ("click",function(){return i.onCancelClick()}),e._uU(9,"Cancel"),e.qZA(),e.TgZ(10,"button",8),e.NdJ("click",function(){return i.onSaveClick()}),e._uU(11,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configurator for node ",i.name,""),e.xp6(5),e.Q6J("ngIf",i.name))},directives:[ni,_i,Et.O5,ei,Mn,wo.SP,wo.uX,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,pi.gD,ne.On,Et.sg,Zo,ne.wV,Un.R9,ln.ey],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.configButton[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.default-content[_ngcontent-%COMP%]{max-height:400px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.file-button[_ngcontent-%COMP%]{width:18%}.create-button[_ngcontent-%COMP%]{width:100%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}.nonvisible[_ngcontent-%COMP%]{display:none}mat-radio-button[_ngcontent-%COMP%]{margin-right:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}"]}),n}();function Wve(n,r){if(1&n&&(e.TgZ(0,"mat-option",25),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Gve(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-tab-group"),e.TgZ(1,"mat-tab",9),e._UZ(2,"br"),e.TgZ(3,"form",10),e.TgZ(4,"mat-form-field",11),e.TgZ(5,"input",12),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.name=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(6,"mat-form-field",13),e.TgZ(7,"mat-select",14),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.console_type=a}),e.YNc(8,Wve,2,2,"mat-option",15),e.qZA(),e.qZA(),e.TgZ(9,"mat-checkbox",16),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.console_auto_start=a}),e._uU(10," Auto start console "),e.qZA(),e._UZ(11,"br"),e.TgZ(12,"mat-form-field",11),e.TgZ(13,"input",17),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.ram=a}),e.qZA(),e.TgZ(14,"span",18),e._uU(15,"MB"),e.qZA(),e.qZA(),e.TgZ(16,"mat-form-field",11),e.TgZ(17,"input",19),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.nvram=a}),e.qZA(),e.TgZ(18,"span",18),e._uU(19,"MB"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(20,"mat-tab",20),e._UZ(21,"br"),e.TgZ(22,"form",10),e.TgZ(23,"mat-form-field",11),e.TgZ(24,"input",21),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.ethernet_adapters=a}),e.qZA(),e.qZA(),e.TgZ(25,"mat-form-field",11),e.TgZ(26,"input",22),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.serial_adapters=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(27,"mat-tab",23),e.TgZ(28,"mat-form-field",11),e.TgZ(29,"textarea",24),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.usage=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(3),e.Q6J("formGroup",i.generalSettingsForm),e.xp6(2),e.Q6J("ngModel",i.node.name),e.xp6(2),e.Q6J("ngModel",i.node.console_type),e.xp6(1),e.Q6J("ngForOf",i.consoleTypes),e.xp6(1),e.Q6J("ngModel",i.node.console_auto_start),e.xp6(4),e.Q6J("ngModel",i.node.properties.ram),e.xp6(4),e.Q6J("ngModel",i.node.properties.nvram),e.xp6(5),e.Q6J("formGroup",i.networkForm),e.xp6(2),e.Q6J("ngModel",i.node.ethernet_adapters),e.xp6(2),e.Q6J("ngModel",i.node.serial_adapters),e.xp6(3),e.Q6J("ngModel",i.node.properties.usage)}}var Yve=function(){function n(r,t,i,o,a){this.dialogRef=r,this.nodeService=t,this.toasterService=i,this.formBuilder=o,this.configurationService=a,this.consoleTypes=[],this.generalSettingsForm=this.formBuilder.group({name:new ne.NI("",ne.kI.required)}),this.networkForm=this.formBuilder.group({ethernetAdapters:new ne.NI("",ne.kI.required),serialAdapters:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this;this.nodeService.getNode(this.server,this.node).subscribe(function(t){r.node=t,r.name=t.name,r.getConfiguration()})},n.prototype.getConfiguration=function(){this.consoleTypes=this.configurationService.getConsoleTypes()},n.prototype.onSaveClick=function(){var r=this;this.generalSettingsForm.valid&&this.networkForm.valid?this.nodeService.updateNode(this.server,this.node).subscribe(function(){r.toasterService.success("Node "+r.node.name+" updated."),r.onCancelClick()}):this.toasterService.error("Fill all required fields.")},n.prototype.onCancelClick=function(){this.dialogRef.close()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(Yr),e.Y36(Xn),e.Y36(ne.qu),e.Y36(nL))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-configurator-iou"]],decls:12,vars:2,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],[1,"default-content"],[1,"matCard"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],["label","General settings"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","name","placeholder","Name",3,"ngModel","ngModelChange"],[1,"select"],["placeholder","Console type",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModel","ngModelChange"],["matInput","","type","number","placeholder","RAM size",3,"ngModel","ngModelChange"],["matSuffix",""],["matInput","","type","number","placeholder","NVRAM size",3,"ngModel","ngModelChange"],["label","Network"],["matInput","","formControlName","ethernetAdapters","type","number","placeholder","Ethernet adapters",3,"ngModel","ngModelChange"],["matInput","","formControlName","serialAdapters","type","number","placeholder","Serial adapters",3,"ngModel","ngModelChange"],["label","Usage"],["matInput","","type","text",3,"ngModel","ngModelChange"],[3,"value"]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div",3),e.TgZ(5,"mat-card",4),e.YNc(6,Gve,30,11,"mat-tab-group",5),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(7,"div",6),e.TgZ(8,"button",7),e.NdJ("click",function(){return i.onCancelClick()}),e._uU(9,"Cancel"),e.qZA(),e.TgZ(10,"button",8),e.NdJ("click",function(){return i.onSaveClick()}),e._uU(11,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configurator for node ",i.name,""),e.xp6(5),e.Q6J("ngIf",i.name))},directives:[ni,_i,Et.O5,ei,Mn,wo.SP,wo.uX,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,pi.gD,ne.On,Et.sg,Zo,ne.wV,Un.R9,ln.ey],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.configButton[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.default-content[_ngcontent-%COMP%]{max-height:400px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.file-button[_ngcontent-%COMP%]{width:18%}.create-button[_ngcontent-%COMP%]{width:100%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}.nonvisible[_ngcontent-%COMP%]{display:none}mat-radio-button[_ngcontent-%COMP%]{margin-right:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}"]}),n}(),Jve=function(){function n(r,t,i,o){this.dialogRef=r,this.nodeService=t,this.toasterService=i,this.formBuilder=o,this.generalSettingsForm=this.formBuilder.group({name:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this;this.nodeService.getNode(this.server,this.node).subscribe(function(t){r.node=t,r.name=t.name})},n.prototype.onSaveClick=function(){var r=this;this.generalSettingsForm.valid?this.nodeService.updateNode(this.server,this.node).subscribe(function(){r.toasterService.success("Node "+r.node.name+" updated."),r.onCancelClick()}):this.toasterService.error("Fill all required fields.")},n.prototype.onCancelClick=function(){this.dialogRef.close()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(Yr),e.Y36(Xn),e.Y36(ne.qu))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-configurator-nat"]],decls:14,vars:3,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],[1,"default-content"],[1,"matCard"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","name","placeholder","Name",3,"ngModel","ngModelChange"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div",3),e.TgZ(5,"mat-card",4),e.TgZ(6,"form",5),e.TgZ(7,"mat-form-field",6),e.TgZ(8,"input",7),e.NdJ("ngModelChange",function(a){return i.node.name=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(9,"div",8),e.TgZ(10,"button",9),e.NdJ("click",function(){return i.onCancelClick()}),e._uU(11,"Cancel"),e.qZA(),e.TgZ(12,"button",10),e.NdJ("click",function(){return i.onSaveClick()}),e._uU(13,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configurator for node ",i.name,""),e.xp6(5),e.Q6J("formGroup",i.generalSettingsForm),e.xp6(2),e.Q6J("ngModel",i.node.name))},directives:[ni,_i,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,ei,Mn],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.configButton[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.default-content[_ngcontent-%COMP%]{max-height:400px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.file-button[_ngcontent-%COMP%]{width:18%}.create-button[_ngcontent-%COMP%]{width:100%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}.nonvisible[_ngcontent-%COMP%]{display:none}mat-radio-button[_ngcontent-%COMP%]{margin-right:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}"]}),n}();function Qve(n,r){if(1&n&&(e.TgZ(0,"mat-option",16),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Kve(n,r){if(1&n&&(e.TgZ(0,"mat-option",16),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Xve(n,r){if(1&n&&(e.TgZ(0,"mat-option",16),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t.value),e.xp6(1),e.hij(" ",t.name," ")}}function $ve(n,r){if(1&n&&(e.TgZ(0,"mat-option",16),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function ege(n,r){if(1&n&&(e.TgZ(0,"mat-option",16),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t.value),e.xp6(1),e.hij(" ",t.name," ")}}function tge(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div"),e._uU(1," Size options "),e.TgZ(2,"mat-form-field",6),e.TgZ(3,"mat-select",8),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuImg.preallocation=a}),e.YNc(4,Kve,2,2,"mat-option",9),e.qZA(),e.qZA(),e.TgZ(5,"mat-form-field",6),e.TgZ(6,"mat-select",17),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuImg.cluster_size=a}),e.YNc(7,Xve,2,2,"mat-option",9),e.qZA(),e.qZA(),e._uU(8," Refcounts "),e.TgZ(9,"mat-form-field",6),e.TgZ(10,"mat-select",18),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuImg.lazy_refcounts=a}),e.YNc(11,$ve,2,2,"mat-option",9),e.qZA(),e.qZA(),e.TgZ(12,"mat-form-field",6),e.TgZ(13,"mat-select",19),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuImg.refcount_bits=a}),e.YNc(14,ege,2,2,"mat-option",9),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(3),e.Q6J("ngModel",i.qemuImg.preallocation),e.xp6(1),e.Q6J("ngForOf",i.preallocationsOptions),e.xp6(2),e.Q6J("ngModel",i.qemuImg.cluster_size),e.xp6(1),e.Q6J("ngForOf",i.clusterSizeOptions),e.xp6(3),e.Q6J("ngModel",i.qemuImg.lazy_refcounts),e.xp6(1),e.Q6J("ngForOf",i.lazyRefcountsOptions),e.xp6(2),e.Q6J("ngModel",i.qemuImg.refcount_bits),e.xp6(1),e.Q6J("ngForOf",i.clusterSizeOptions)}}function nge(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"mat-radio-group",20),e.TgZ(2,"mat-radio-button",21),e.NdJ("click",function(){return e.CHM(t),e.oxw().setSubformat("dynamic")}),e._uU(3,"Dynamic"),e.qZA(),e.TgZ(4,"mat-radio-button",22),e.NdJ("click",function(){return e.CHM(t),e.oxw().setSubformat("fixed")}),e._uU(5,"Fixed"),e.qZA(),e.qZA(),e.qZA()}}function rge(n,r){if(1&n&&(e.TgZ(0,"mat-option",16),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function ige(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div"),e._uU(1," Adapter type"),e._UZ(2,"br"),e.TgZ(3,"mat-radio-group",23),e.TgZ(4,"mat-radio-button",21),e.NdJ("click",function(){return e.CHM(t),e.oxw().setAdapterType("ide")}),e._uU(5,"IDE"),e.qZA(),e.TgZ(6,"mat-radio-button",22),e.NdJ("click",function(){return e.CHM(t),e.oxw().setAdapterType("lsilogic")}),e._uU(7,"LSI Logic"),e.qZA(),e.TgZ(8,"mat-radio-button",24),e.NdJ("click",function(){return e.CHM(t),e.oxw().setAdapterType("buslogic")}),e._uU(9,"BusLogic"),e.qZA(),e.TgZ(10,"mat-radio-button",25),e.NdJ("click",function(){return e.CHM(t),e.oxw().setAdapterType("legacyESX")}),e._uU(11,"Legacy (ESX)"),e.qZA(),e.qZA(),e._UZ(12,"br"),e._UZ(13,"br"),e._uU(14," Image file sizing mode"),e._UZ(15,"br"),e.TgZ(16,"mat-radio-group",20),e.TgZ(17,"mat-radio-button",21),e.NdJ("click",function(){return e.CHM(t),e.oxw().setSubformat("streamOptimized")}),e._uU(18,"Stream optimized"),e.qZA(),e.TgZ(19,"mat-radio-button",22),e.NdJ("click",function(){return e.CHM(t),e.oxw().setSubformat("twoGbMaxExtentSparse")}),e._uU(20,"Split every 2GB (sparse)"),e.qZA(),e.TgZ(21,"mat-radio-button",24),e.NdJ("click",function(){return e.CHM(t),e.oxw().setSubformat("twoGbMaxExtentFlat")}),e._uU(22,"Split every 2GB (flat)"),e.qZA(),e.TgZ(23,"mat-radio-button",25),e.NdJ("click",function(){return e.CHM(t),e.oxw().setSubformat("monolithicSparse")}),e._uU(24,"Monolithic sparse"),e.qZA(),e.TgZ(25,"mat-radio-button",26),e.NdJ("click",function(){return e.CHM(t),e.oxw().setSubformat("monolithicFlat")}),e._uU(26,"Monolithic flat"),e.qZA(),e.qZA(),e._UZ(27,"br"),e._UZ(28,"br"),e.TgZ(29,"mat-select",27),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().qemuImg.zeroed_grain=a}),e.YNc(30,rge,2,2,"mat-option",9),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(29),e.Q6J("ngModel",i.qemuImg.zeroed_grain),e.xp6(1),e.Q6J("ngForOf",i.zeroedGrainOptions)}}var oge=function(){function n(r,t,i,o,a){this.dialogRef=r,this.nodeService=t,this.toasterService=i,this.formBuilder=o,this.qemuService=a,this.formatOptions=["qcow2","qcow","vhd","vdi","vmdk","raw"],this.preallocationsOptions=["off","metadata","falloc","full"],this.clusterSizeOptions=[{name:"512",value:512},{name:"1k",value:1024},{name:"2k",value:2048},{name:"4k",value:4096},{name:"8k",value:8192},{name:"16k",value:16384},{name:"32k",value:32768},{name:"64k",value:65536},{name:"128k",value:131072},{name:"256k",value:262144},{name:"512k",value:524288},{name:"1024k",value:1048576},{name:"2048k",value:2097152}],this.lazyRefcountsOptions=["off","on"],this.refcountBitsOptions=[1,2,4,8,16,32,64],this.zeroedGrainOptions=["on","off"],this.inputForm=this.formBuilder.group({qemu_img:new ne.NI("",ne.kI.required),path:new ne.NI("",ne.kI.required),size:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){this.qemuImg={}},n.prototype.setSubformat=function(r){this.qemuImg.subformat=r},n.prototype.onSaveClick=function(){var r=this;this.inputForm.valid&&this.qemuImg.format?this.qemuService.addImage(this.server,this.qemuImg).subscribe(function(){r.dialogRef.close()}):this.toasterService.error("Fill all required fields.")},n.prototype.onCancelClick=function(){this.dialogRef.close()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(Yr),e.Y36(Xn),e.Y36(ne.qu),e.Y36(hp))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-qemu-image-creator"]],decls:25,vars:10,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],[1,"default-content"],[1,"matCard"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","qemu_img","placeholder","Qemu image path",3,"ngModel","ngModelChange"],["placeholder","Image format",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["matInput","","type","text","formControlName","path","placeholder","File location",3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","size","placeholder","Disk size",3,"ngModel","ngModelChange"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],[3,"value"],["placeholder","Cluster size",3,"ngModel","ngModelChange"],["placeholder","Lazy refcounts",3,"ngModel","ngModelChange"],["placeholder","Refcount entry size",3,"ngModel","ngModelChange"],["aria-label","Image file sizing mode",1,"radio-selection"],["value","1","checked","",3,"click"],["value","2",3,"click"],["aria-label","Adapter type",1,"radio-selection"],["value","3",3,"click"],["value","4",3,"click"],["value","5",3,"click"],["placeholder","Zeroed grain",3,"ngModel","ngModelChange"]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1,"Qemu image configurator"),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div",3),e.TgZ(5,"mat-card",4),e.TgZ(6,"form",5),e.TgZ(7,"mat-form-field",6),e.TgZ(8,"input",7),e.NdJ("ngModelChange",function(a){return i.qemuImg.qemu_img=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(9,"mat-form-field",6),e.TgZ(10,"mat-select",8),e.NdJ("ngModelChange",function(a){return i.qemuImg.format=a}),e.YNc(11,Qve,2,2,"mat-option",9),e.qZA(),e.qZA(),e.YNc(12,tge,15,8,"div",10),e.YNc(13,nge,6,0,"div",10),e.YNc(14,ige,31,2,"div",10),e.TgZ(15,"form",5),e.TgZ(16,"mat-form-field",6),e.TgZ(17,"input",11),e.NdJ("ngModelChange",function(a){return i.qemuImg.path=a}),e.qZA(),e.qZA(),e.TgZ(18,"mat-form-field",6),e.TgZ(19,"input",12),e.NdJ("ngModelChange",function(a){return i.qemuImg.size=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(20,"div",13),e.TgZ(21,"button",14),e.NdJ("click",function(){return i.onCancelClick()}),e._uU(22,"Cancel"),e.qZA(),e.TgZ(23,"button",15),e.NdJ("click",function(){return i.onSaveClick()}),e._uU(24,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(6),e.Q6J("formGroup",i.inputForm),e.xp6(2),e.Q6J("ngModel",i.qemuImg.qemu_img),e.xp6(2),e.Q6J("ngModel",i.qemuImg.format),e.xp6(1),e.Q6J("ngForOf",i.formatOptions),e.xp6(1),e.Q6J("ngIf","qcow2"===i.qemuImg.format),e.xp6(1),e.Q6J("ngIf","vhd"===i.qemuImg.format||"vdi"===i.qemuImg.format),e.xp6(1),e.Q6J("ngIf","vmdk"===i.qemuImg.format),e.xp6(1),e.Q6J("formGroup",i.inputForm),e.xp6(2),e.Q6J("ngModel",i.qemuImg.path),e.xp6(2),e.Q6J("ngModel",i.qemuImg.size))},directives:[ni,_i,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,pi.gD,ne.On,Et.sg,Et.O5,ne.wV,ei,Mn,ln.ey,fl,hl],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.configButton[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.default-content[_ngcontent-%COMP%]{max-height:400px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.file-button[_ngcontent-%COMP%]{width:18%}.create-button[_ngcontent-%COMP%]{width:100%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}.nonvisible[_ngcontent-%COMP%]{display:none}mat-radio-button[_ngcontent-%COMP%]{margin-right:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}"]}),n}(),age=["customAdapters"];function sge(n,r){if(1&n&&(e.TgZ(0,"mat-option",49),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t.path),e.xp6(1),e.hij(" ",t.path," ")}}function lge(n,r){if(1&n&&(e.TgZ(0,"mat-option",49),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}function uge(n,r){if(1&n&&(e.TgZ(0,"mat-option",49),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}function cge(n,r){if(1&n&&(e.TgZ(0,"mat-option",49),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function dge(n,r){if(1&n&&(e.TgZ(0,"mat-option",49),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t.filename),e.xp6(1),e.hij(" ",t.filename," ")}}function pge(n,r){if(1&n&&(e.TgZ(0,"mat-option",49),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function fge(n,r){if(1&n&&(e.TgZ(0,"mat-option",49),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t.filename),e.xp6(1),e.hij(" ",t.filename," ")}}function hge(n,r){if(1&n&&(e.TgZ(0,"mat-option",49),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function mge(n,r){if(1&n&&(e.TgZ(0,"mat-option",49),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t.filename),e.xp6(1),e.hij(" ",t.filename," ")}}function vge(n,r){if(1&n&&(e.TgZ(0,"mat-option",49),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function gge(n,r){if(1&n&&(e.TgZ(0,"mat-option",49),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t.filename),e.xp6(1),e.hij(" ",t.filename," ")}}function _ge(n,r){if(1&n&&(e.TgZ(0,"mat-option",49),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function yge(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-form-field",11),e.TgZ(1,"input",50),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw(2).node.properties.cpu_throttling=a}),e.qZA(),e.qZA()}if(2&n){var i=e.oxw(2);e.xp6(1),e.Q6J("ngModel",i.node.properties.cpu_throttling)}}function bge(n,r){if(1&n&&(e.TgZ(0,"mat-option",49),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Cge(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-tab-group"),e.TgZ(1,"mat-tab",9),e._UZ(2,"br"),e.TgZ(3,"form",10),e.TgZ(4,"mat-form-field",11),e.TgZ(5,"input",12),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.name=a}),e.qZA(),e.qZA(),e.TgZ(6,"mat-form-field",11),e.TgZ(7,"input",13),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.ram=a}),e.qZA(),e.TgZ(8,"span",14),e._uU(9,"MB"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(10,"mat-form-field",11),e.TgZ(11,"input",15),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.cpus=a}),e.qZA(),e.qZA(),e.TgZ(12,"mat-form-field",11),e.TgZ(13,"mat-select",16),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.qemu_path=a}),e.YNc(14,sge,2,2,"mat-option",17),e.qZA(),e.qZA(),e.TgZ(15,"mat-form-field",11),e.TgZ(16,"mat-select",18),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.boot_priority=a}),e.YNc(17,lge,2,2,"mat-option",17),e.qZA(),e.qZA(),e.TgZ(18,"mat-form-field",11),e.TgZ(19,"mat-select",19),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.on_close=a}),e.YNc(20,uge,2,2,"mat-option",17),e.qZA(),e.qZA(),e.TgZ(21,"mat-form-field",20),e.TgZ(22,"mat-select",21),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.console_type=a}),e.YNc(23,cge,2,2,"mat-option",17),e.qZA(),e.qZA(),e.TgZ(24,"mat-checkbox",22),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.console_auto_start=a}),e._uU(25," Auto start console "),e.qZA(),e.qZA(),e.TgZ(26,"mat-tab",23),e.TgZ(27,"mat-card"),e.TgZ(28,"button",24),e.NdJ("click",function(){return e.CHM(t),e.oxw().openQemuImageCreator()}),e._uU(29," Create Qemu image "),e.qZA(),e._UZ(30,"mat-card-title"),e.TgZ(31,"mat-card-subtitle"),e._uU(32," HDA (Primary Master) "),e.qZA(),e.TgZ(33,"mat-card-content"),e.TgZ(34,"mat-select",25),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.hda_disk_image=a}),e.YNc(35,dge,2,2,"mat-option",17),e.qZA(),e.TgZ(36,"mat-form-field",11),e.TgZ(37,"mat-select",26),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.hda_disk_interface=a}),e.YNc(38,pge,2,2,"mat-option",17),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(39,"mat-card"),e._UZ(40,"mat-card-title"),e.TgZ(41,"mat-card-subtitle"),e._uU(42," HDB (Primary Slave) "),e.qZA(),e.TgZ(43,"mat-card-content"),e.TgZ(44,"mat-select",25),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.hdb_disk_image=a}),e.YNc(45,fge,2,2,"mat-option",17),e.qZA(),e.TgZ(46,"mat-form-field",11),e.TgZ(47,"mat-select",26),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.hdb_disk_interface=a}),e.YNc(48,hge,2,2,"mat-option",17),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(49,"mat-card"),e._UZ(50,"mat-card-title"),e.TgZ(51,"mat-card-subtitle"),e._uU(52," HDC (Secondary Master) "),e.qZA(),e.TgZ(53,"mat-card-content"),e.TgZ(54,"mat-select",25),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.hdc_disk_image=a}),e.YNc(55,mge,2,2,"mat-option",17),e.qZA(),e.TgZ(56,"mat-form-field",11),e.TgZ(57,"mat-select",26),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.hdc_disk_interface=a}),e.YNc(58,vge,2,2,"mat-option",17),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(59,"mat-card"),e._UZ(60,"mat-card-title"),e.TgZ(61,"mat-card-subtitle"),e._uU(62," HDD (Secondary Slave) "),e.qZA(),e.TgZ(63,"mat-card-content"),e.TgZ(64,"mat-select",25),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.hdd_disk_image=a}),e.YNc(65,gge,2,2,"mat-option",17),e.qZA(),e.TgZ(66,"mat-form-field",11),e.TgZ(67,"mat-select",26),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.hdd_disk_interface=a}),e.YNc(68,_ge,2,2,"mat-option",17),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(69,"mat-tab",27),e.TgZ(70,"div"),e.TgZ(71,"button",28),e.NdJ("click",function(){return e.CHM(t),e.MAs(74).click()}),e._uU(72,"Browse"),e.qZA(),e.TgZ(73,"input",29,30),e.NdJ("change",function(a){return e.CHM(t),e.oxw().uploadCdromImageFile(a)}),e.qZA(),e.TgZ(75,"mat-form-field",31),e.TgZ(76,"input",32),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.cdrom_image=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(77,"mat-tab",33),e._UZ(78,"br"),e.TgZ(79,"mat-checkbox",22),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.legacy_networking=a}),e._uU(80," Use the legacy networking mode "),e.qZA(),e._UZ(81,"br"),e.TgZ(82,"mat-checkbox",22),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.replicate_network_connection_state=a}),e._uU(83," Replicate network connection state "),e.qZA(),e._UZ(84,"app-custom-adapters-table",34,35),e.qZA(),e.TgZ(86,"mat-tab",36),e.TgZ(87,"mat-card"),e._UZ(88,"mat-card-title"),e.TgZ(89,"mat-card-subtitle"),e._uU(90," Linux boot specific settings "),e.qZA(),e.TgZ(91,"mat-card-content"),e.TgZ(92,"div"),e.TgZ(93,"button",28),e.NdJ("click",function(){return e.CHM(t),e.MAs(96).click()}),e._uU(94," Browse "),e.qZA(),e.TgZ(95,"input",29,37),e.NdJ("change",function(a){return e.CHM(t),e.oxw().uploadInitrdFile(a)}),e.qZA(),e.TgZ(97,"mat-form-field",31),e.TgZ(98,"input",38),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.initrd=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(99,"div"),e.TgZ(100,"button",28),e.NdJ("click",function(){return e.CHM(t),e.oxw().filekerenelimage.click()}),e._uU(101," Browse "),e.qZA(),e.TgZ(102,"input",29,39),e.NdJ("change",function(a){return e.CHM(t),e.oxw().uploadKernelImageFile(a)}),e.qZA(),e.TgZ(104,"mat-form-field",31),e.TgZ(105,"input",40),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.kernel_image=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(106,"mat-form-field",11),e.TgZ(107,"input",41),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.kernel_command_line=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(108,"mat-card"),e._UZ(109,"mat-card-title"),e.TgZ(110,"mat-card-subtitle"),e._uU(111," Bios "),e.qZA(),e.TgZ(112,"mat-card-content"),e.TgZ(113,"div"),e.TgZ(114,"button",28),e.NdJ("click",function(){return e.CHM(t),e.MAs(117).click()}),e._uU(115," Browse "),e.qZA(),e.TgZ(116,"input",29,42),e.NdJ("change",function(a){return e.CHM(t),e.oxw().uploadBiosFile(a)}),e.qZA(),e.TgZ(118,"mat-form-field",31),e.TgZ(119,"input",43),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.bios_image=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(120,"mat-card"),e._UZ(121,"mat-card-title"),e.TgZ(122,"mat-card-subtitle"),e._uU(123," Optimization "),e.qZA(),e.TgZ(124,"mat-card-content"),e.TgZ(125,"mat-checkbox",22),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().activateCpuThrottling=a}),e._uU(126," Activate CPU throttling "),e.qZA(),e.YNc(127,yge,2,1,"mat-form-field",44),e.TgZ(128,"mat-form-field",11),e.TgZ(129,"mat-select",45),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.process_priority=a}),e.YNc(130,bge,2,2,"mat-option",17),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(131,"mat-card"),e._UZ(132,"mat-card-title"),e.TgZ(133,"mat-card-subtitle"),e._uU(134," Additional settings "),e.qZA(),e.TgZ(135,"mat-card-content"),e.TgZ(136,"mat-form-field",11),e.TgZ(137,"input",46),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.options=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(138,"mat-tab",47),e.TgZ(139,"mat-form-field",11),e.TgZ(140,"textarea",48),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.usage=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(3),e.Q6J("formGroup",i.generalSettingsForm),e.xp6(2),e.Q6J("ngModel",i.node.name),e.xp6(2),e.Q6J("ngModel",i.node.properties.ram),e.xp6(4),e.Q6J("ngModel",i.node.properties.cpus),e.xp6(2),e.Q6J("ngModel",i.node.properties.qemu_path),e.xp6(1),e.Q6J("ngForOf",i.binaries),e.xp6(2),e.Q6J("ngModel",i.node.properties.boot_priority),e.xp6(1),e.Q6J("ngForOf",i.bootPriorities),e.xp6(2),e.Q6J("ngModel",i.node.properties.on_close),e.xp6(1),e.Q6J("ngForOf",i.onCloseOptions),e.xp6(2),e.Q6J("ngModel",i.node.console_type),e.xp6(1),e.Q6J("ngForOf",i.consoleTypes),e.xp6(1),e.Q6J("ngModel",i.node.properties.console_auto_start),e.xp6(10),e.Q6J("ngModel",i.node.properties.hda_disk_image),e.xp6(1),e.Q6J("ngForOf",i.qemuImages),e.xp6(2),e.Q6J("ngModel",i.node.properties.hda_disk_interface),e.xp6(1),e.Q6J("ngForOf",i.diskInterfaces),e.xp6(6),e.Q6J("ngModel",i.node.properties.hdb_disk_image),e.xp6(1),e.Q6J("ngForOf",i.qemuImages),e.xp6(2),e.Q6J("ngModel",i.node.properties.hdb_disk_interface),e.xp6(1),e.Q6J("ngForOf",i.diskInterfaces),e.xp6(6),e.Q6J("ngModel",i.node.properties.hdc_disk_image),e.xp6(1),e.Q6J("ngForOf",i.qemuImages),e.xp6(2),e.Q6J("ngModel",i.node.properties.hdc_disk_interface),e.xp6(1),e.Q6J("ngForOf",i.diskInterfaces),e.xp6(6),e.Q6J("ngModel",i.node.properties.hdd_disk_image),e.xp6(1),e.Q6J("ngForOf",i.qemuImages),e.xp6(2),e.Q6J("ngModel",i.node.properties.hdd_disk_interface),e.xp6(1),e.Q6J("ngForOf",i.diskInterfaces),e.xp6(8),e.Q6J("ngModel",i.node.properties.cdrom_image),e.xp6(3),e.Q6J("ngModel",i.node.properties.legacy_networking),e.xp6(3),e.Q6J("ngModel",i.node.properties.replicate_network_connection_state),e.xp6(2),e.Q6J("networkTypes",i.networkTypes)("displayedColumns",i.displayedColumns)("adapters",i.node.ports),e.xp6(14),e.Q6J("ngModel",i.node.properties.initrd),e.xp6(7),e.Q6J("ngModel",i.node.properties.kernel_image),e.xp6(2),e.Q6J("ngModel",i.node.properties.kernel_command_line),e.xp6(12),e.Q6J("ngModel",i.node.properties.bios_image),e.xp6(6),e.Q6J("ngModel",i.activateCpuThrottling),e.xp6(2),e.Q6J("ngIf",i.activateCpuThrottling),e.xp6(2),e.Q6J("ngModel",i.node.properties.process_priority),e.xp6(1),e.Q6J("ngForOf",i.priorities),e.xp6(7),e.Q6J("ngModel",i.node.properties.options),e.xp6(3),e.Q6J("ngModel",i.node.properties.usage)}}var Sge=function(){function n(r,t,i,o,a,s,u){this.dialog=r,this.dialogRef=t,this.nodeService=i,this.toasterService=o,this.formBuilder=a,this.qemuService=s,this.qemuConfigurationService=u,this.consoleTypes=[],this.binaries=[],this.onCloseOptions=[],this.bootPriorities=[],this.diskInterfaces=[],this.displayedColumns=["adapter_number","port_name","adapter_type","actions"],this.networkTypes=[],this.qemuImages=[],this.conf={autoFocus:!1,width:"800px",disableClose:!0},this.generalSettingsForm=this.formBuilder.group({name:new ne.NI("",ne.kI.required),ram:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this;this.nodeService.getNode(this.server,this.node).subscribe(function(t){r.node=t,r.name=t.name,r.getConfiguration()}),this.qemuService.getBinaries(this.server).subscribe(function(t){r.binaries=t}),this.qemuService.getImages(this.server).subscribe(function(t){r.qemuImages=t})},n.prototype.openQemuImageCreator=function(){this.dialogRefQemuImageCreator=this.dialog.open(oge,this.conf),this.dialogRefQemuImageCreator.componentInstance.server=this.server},n.prototype.uploadCdromImageFile=function(r){this.node.properties.cdrom_image=r.target.files[0].name},n.prototype.uploadInitrdFile=function(r){this.node.properties.initrd=r.target.files[0].name},n.prototype.uploadKernelImageFile=function(r){this.node.properties.kernel_image=r.target.files[0].name},n.prototype.uploadBiosFile=function(r){this.node.properties.bios_image=r.target.files[0].name},n.prototype.getConfiguration=function(){var r=this;this.consoleTypes=this.qemuConfigurationService.getConsoleTypes(),this.onCloseOptions=this.qemuConfigurationService.getOnCloseOptions(),this.qemuConfigurationService.getNetworkTypes().forEach(function(t){r.networkTypes.push(t)}),this.bootPriorities=this.qemuConfigurationService.getBootPriorities(),this.diskInterfaces=this.qemuConfigurationService.getDiskInterfaces()},n.prototype.onSaveClick=function(){var r=this;this.generalSettingsForm.valid?(this.node.custom_adapters=[],this.customAdapters.adapters.forEach(function(t){r.node.custom_adapters.push({adapter_number:t.adapter_number,adapter_type:t.adapter_type})}),this.node.properties.adapters=this.node.custom_adapters.length,this.nodeService.updateNodeWithCustomAdapters(this.server,this.node).subscribe(function(){r.toasterService.success("Node "+r.node.name+" updated."),r.onCancelClick()})):this.toasterService.error("Fill all required fields.")},n.prototype.onCancelClick=function(){this.dialogRef.close()},n.\u0275fac=function(t){return new(t||n)(e.Y36(no),e.Y36(Vr),e.Y36(Yr),e.Y36(Xn),e.Y36(ne.qu),e.Y36(hp),e.Y36(_2))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-configurator-qemu"]],viewQuery:function(t,i){var o;(1&t&&e.Gf(age,5),2&t)&&(e.iGM(o=e.CRH())&&(i.customAdapters=o.first))},decls:12,vars:2,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],[1,"default-content"],[1,"matCard"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],["label","General settings"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","name","placeholder","Name",3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","ram","placeholder","RAM",3,"ngModel","ngModelChange"],["matSuffix",""],["matInput","","type","number","placeholder","vCPUs",3,"ngModel","ngModelChange"],["placeholder","Qemu binary",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["placeholder","Boot priority",3,"ngModel","ngModelChange"],["placeholder","On close",3,"ngModel","ngModelChange"],[1,"select"],["placeholder","Console type",3,"ngModel","ngModelChange"],[3,"ngModel","ngModelChange"],["label","HDD"],["mat-raised-button","","color","primary",1,"create-button",3,"click"],["placeholder","Disk image",3,"ngModel","ngModelChange"],["placeholder","Disk interface",3,"ngModel","ngModelChange"],["label","CD/DVD"],["mat-raised-button","","color","primary",1,"file-button",3,"click"],["type","file",1,"nonvisible",3,"change"],["filecdrom",""],[1,"file-name-form-field"],["matInput","","type","text","placeholder","Image",3,"ngModel","ngModelChange"],["label","Network"],[3,"networkTypes","displayedColumns","adapters"],["customAdapters",""],["label","Advanced"],["fileinitrd",""],["matInput","","type","text","placeholder","Initial RAM disk (initrd)",3,"ngModel","ngModelChange"],["filekernelimage",""],["matInput","","type","text","placeholder","Kernel image",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Kernel command line",3,"ngModel","ngModelChange"],["filebios",""],["matInput","","type","text","placeholder","Bios image",3,"ngModel","ngModelChange"],["class","form-field",4,"ngIf"],["placeholder","Process priority",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Options",3,"ngModel","ngModelChange"],["label","Usage"],["matInput","","type","text",3,"ngModel","ngModelChange"],[3,"value"],["matInput","","type","number","placeholder","Perecentage of CPU allowed",3,"ngModel","ngModelChange"]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div",3),e.TgZ(5,"mat-card",4),e.YNc(6,Cge,141,45,"mat-tab-group",5),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(7,"div",6),e.TgZ(8,"button",7),e.NdJ("click",function(){return i.onCancelClick()}),e._uU(9,"Cancel"),e.qZA(),e.TgZ(10,"button",8),e.NdJ("click",function(){return i.onSaveClick()}),e._uU(11,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configurator for node ",i.name,""),e.xp6(5),e.Q6J("ngIf",i.name))},directives:[ni,_i,Et.O5,ei,Mn,wo.SP,wo.uX,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,ne.wV,Un.R9,ne.On,pi.gD,Et.sg,Zo,gq,_q,qZ,y2,ln.ey],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.configButton[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.default-content[_ngcontent-%COMP%]{max-height:400px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.file-button[_ngcontent-%COMP%]{width:18%}.create-button[_ngcontent-%COMP%]{width:100%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}.nonvisible[_ngcontent-%COMP%]{display:none}mat-radio-button[_ngcontent-%COMP%]{margin-right:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}"]}),n}();function Tge(n,r){1&n&&(e.TgZ(0,"th",24),e._uU(1,"Port : DLCI"),e.qZA())}function xge(n,r){if(1&n&&(e.TgZ(0,"td",25),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.Oqu(t.portIn)}}function wge(n,r){1&n&&(e.TgZ(0,"th",24),e._uU(1,"Port : DLCI"),e.qZA())}function kge(n,r){if(1&n&&(e.TgZ(0,"td",25),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.Oqu(t.portOut)}}function Ege(n,r){1&n&&(e.TgZ(0,"th",24),e._uU(1,"Actions"),e.qZA())}function Mge(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"td",25),e.TgZ(1,"button",26),e.NdJ("click",function(){var a=e.CHM(t).$implicit;return e.oxw(2).delete(a)}),e.TgZ(2,"mat-icon",27),e._uU(3,"delete"),e.qZA(),e.qZA(),e.qZA()}}function Age(n,r){1&n&&e._UZ(0,"tr",28)}function Dge(n,r){1&n&&e._UZ(0,"tr",29)}function Oge(n,r){if(1&n&&(e.TgZ(0,"table",16),e.ynx(1,17),e.YNc(2,Tge,2,0,"th",18),e.YNc(3,xge,2,1,"td",19),e.BQk(),e.ynx(4,20),e.YNc(5,wge,2,0,"th",18),e.YNc(6,kge,2,1,"td",19),e.BQk(),e.ynx(7,21),e.YNc(8,Ege,2,0,"th",18),e.YNc(9,Mge,4,0,"td",19),e.BQk(),e.YNc(10,Age,1,0,"tr",22),e.YNc(11,Dge,1,0,"tr",23),e.qZA()),2&n){var t=e.oxw();e.Q6J("dataSource",t.nodeMappingsDataSource),e.xp6(10),e.Q6J("matHeaderRowDef",t.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",t.displayedColumns)}}var Pge=function(){function n(r,t,i,o){this.dialogRef=r,this.nodeService=t,this.toasterService=i,this.formBuilder=o,this.consoleTypes=[],this.nodeMappings=new Map,this.nodeMappingsDataSource=[],this.dataSource=[],this.displayedColumns=["portIn","portOut","actions"],this.sourcePort="",this.sourceDlci="",this.destinationPort="",this.destinationDlci="",this.nameForm=this.formBuilder.group({name:new ne.NI("",ne.kI.required)}),this.inputForm=this.formBuilder.group({sourcePort:new ne.NI("",ne.kI.required),sourceDlci:new ne.NI("",ne.kI.required),destinationPort:new ne.NI("",ne.kI.required),destinationDlci:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this;this.nodeService.getNode(this.server,this.node).subscribe(function(t){r.node=t,r.name=t.name;var i=t.properties.mappings;Object.keys(i).forEach(function(o){r.nodeMappings.set(o,i[o])}),r.nodeMappings.forEach(function(o,a){r.nodeMappingsDataSource.push({portIn:a,portOut:o})})})},n.prototype.delete=function(r){this.nodeMappingsDataSource=this.nodeMappingsDataSource.filter(function(t){return t!==r})},n.prototype.add=function(){if(this.inputForm.valid){var r={portIn:this.sourcePort+":"+this.sourceDlci,portOut:this.destinationPort+":"+this.destinationDlci};this.nodeMappingsDataSource.filter(function(t){return t.portIn===r.portIn}).length>0?this.toasterService.error("Mapping already defined."):(this.nodeMappingsDataSource=this.nodeMappingsDataSource.concat([r]),this.clearUserInput())}else this.toasterService.error("Fill all required fields.")},n.prototype.clearUserInput=function(){this.sourcePort="0",this.sourceDlci="0",this.destinationPort="0",this.destinationDlci="0"},n.prototype.strMapToObj=function(r){for(var t=Object.create(null),i=0,o=r;i<o.length;i++){var a=o[i];t[a[0]]=a[1]}return t},n.prototype.onSaveClick=function(){var r=this;this.nameForm.valid?(this.nodeMappings.clear(),this.nodeMappingsDataSource.forEach(function(t){r.nodeMappings.set(t.portIn,t.portOut)}),this.node.properties.mappings=Array.from(this.nodeMappings).reduce(function(t,i){var o;return Object.assign(t,((o={})[i[0]]=i[1],o))},{}),this.nodeService.updateNode(this.server,this.node).subscribe(function(){r.toasterService.success("Node "+r.node.name+" updated."),r.onCancelClick()})):this.toasterService.error("Fill all required fields.")},n.prototype.onCancelClick=function(){this.dialogRef.close()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(Yr),e.Y36(Xn),e.Y36(ne.qu))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-configurator-switch"]],decls:29,vars:9,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],[1,"default-content"],["class","table","mat-table","",3,"dataSource",4,"ngIf"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","name","placeholder","Name",3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","sourcePort","placeholder","Port",3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","sourceDlci","placeholder","DLCI",3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","destinationPort","placeholder","Port",3,"ngModel","ngModelChange"],["matInput","","type","number","formControlName","destinationDlci","placeholder","DLCI",3,"ngModel","ngModelChange"],["mat-button","",1,"form-field",3,"click"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],["mat-table","",1,"table",3,"dataSource"],["matColumnDef","portIn"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","portOut"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","","matTooltip","Delete port","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Delete port"],["mat-header-row",""],["mat-row",""]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div",3),e.TgZ(5,"mat-card"),e.YNc(6,Oge,12,3,"table",4),e._UZ(7,"br"),e.TgZ(8,"form",5),e.TgZ(9,"mat-form-field",6),e.TgZ(10,"input",7),e.NdJ("ngModelChange",function(a){return i.node.name=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(11,"form",5),e._uU(12," Source "),e.TgZ(13,"mat-form-field",6),e.TgZ(14,"input",8),e.NdJ("ngModelChange",function(a){return i.sourcePort=a}),e.qZA(),e.qZA(),e.TgZ(15,"mat-form-field",6),e.TgZ(16,"input",9),e.NdJ("ngModelChange",function(a){return i.sourceDlci=a}),e.qZA(),e.qZA(),e._uU(17," Destination "),e.TgZ(18,"mat-form-field",6),e.TgZ(19,"input",10),e.NdJ("ngModelChange",function(a){return i.destinationPort=a}),e.qZA(),e.qZA(),e.TgZ(20,"mat-form-field",6),e.TgZ(21,"input",11),e.NdJ("ngModelChange",function(a){return i.destinationDlci=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(22,"button",12),e.NdJ("click",function(){return i.add()}),e._uU(23,"Add"),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(24,"div",13),e.TgZ(25,"button",14),e.NdJ("click",function(){return i.onCancelClick()}),e._uU(26,"Cancel"),e.qZA(),e.TgZ(27,"button",15),e.NdJ("click",function(){return i.onSaveClick()}),e._uU(28,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configurator for node ",i.name,""),e.xp6(5),e.Q6J("ngIf",i.nodeMappingsDataSource.length),e.xp6(2),e.Q6J("formGroup",i.nameForm),e.xp6(2),e.Q6J("ngModel",i.node.name),e.xp6(1),e.Q6J("formGroup",i.inputForm),e.xp6(3),e.Q6J("ngModel",i.sourcePort),e.xp6(2),e.Q6J("ngModel",i.sourceDlci),e.xp6(3),e.Q6J("ngModel",i.destinationPort),e.xp6(2),e.Q6J("ngModel",i.destinationDlci))},directives:[ni,_i,Et.O5,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,ne.wV,Mn,ei,Yl,cl,ul,ll,Jl,Ql,dl,pl,Ja,sr,Kl,Xl],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.configButton[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.default-content[_ngcontent-%COMP%]{max-height:400px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.file-button[_ngcontent-%COMP%]{width:18%}.create-button[_ngcontent-%COMP%]{width:100%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}.nonvisible[_ngcontent-%COMP%]{display:none}mat-radio-button[_ngcontent-%COMP%]{margin-right:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}",".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.choose-symbol-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:none}.menu-button[_ngcontent-%COMP%]{width:5%;outline:none!important}th[_ngcontent-%COMP%]{border:0px!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"]}),n}(),Ige=function(){function n(r,t,i,o){this.dialogRef=r,this.nodeService=t,this.toasterService=i,this.formBuilder=o,this.generalSettingsForm=this.formBuilder.group({name:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this;this.nodeService.getNode(this.server,this.node).subscribe(function(t){r.node=t,r.name=t.name})},n.prototype.onSaveClick=function(){var r=this;this.generalSettingsForm.valid?this.nodeService.updateNode(this.server,this.node).subscribe(function(){r.toasterService.success("Node "+r.node.name+" updated."),r.onCancelClick()}):this.toasterService.error("Fill all required fields.")},n.prototype.onCancelClick=function(){this.dialogRef.close()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(Yr),e.Y36(Xn),e.Y36(ne.qu))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-configurator-traceng"]],decls:14,vars:3,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],[1,"default-content"],[1,"matCard"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","name","placeholder","Name",3,"ngModel","ngModelChange"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div",3),e.TgZ(5,"mat-card",4),e.TgZ(6,"form",5),e.TgZ(7,"mat-form-field",6),e.TgZ(8,"input",7),e.NdJ("ngModelChange",function(a){return i.node.name=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(9,"div",8),e.TgZ(10,"button",9),e.NdJ("click",function(){return i.onCancelClick()}),e._uU(11,"Cancel"),e.qZA(),e.TgZ(12,"button",10),e.NdJ("click",function(){return i.onSaveClick()}),e._uU(13,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configurator for node ",i.name,""),e.xp6(5),e.Q6J("formGroup",i.generalSettingsForm),e.xp6(2),e.Q6J("ngModel",i.node.name))},directives:[ni,_i,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,ei,Mn],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.configButton[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.default-content[_ngcontent-%COMP%]{max-height:400px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.file-button[_ngcontent-%COMP%]{width:18%}.create-button[_ngcontent-%COMP%]{width:100%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}.nonvisible[_ngcontent-%COMP%]{display:none}mat-radio-button[_ngcontent-%COMP%]{margin-right:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}"]}),n}(),Rge=["customAdapters"];function Nge(n,r){if(1&n&&(e.TgZ(0,"mat-option",26),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Zge(n,r){if(1&n&&(e.TgZ(0,"mat-option",26),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}var AL=function(){return{standalone:!0}};function Lge(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-tab-group"),e.TgZ(1,"mat-tab",9),e._UZ(2,"br"),e.TgZ(3,"form",10),e.TgZ(4,"mat-form-field",11),e.TgZ(5,"input",12),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.name=a}),e.qZA(),e.qZA(),e.TgZ(6,"mat-form-field",13),e.TgZ(7,"mat-select",14),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.console_type=a}),e.YNc(8,Nge,2,2,"mat-option",15),e.qZA(),e.qZA(),e.TgZ(9,"mat-checkbox",16),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.console_auto_start=a}),e._uU(10," Auto start console "),e.qZA(),e.TgZ(11,"mat-form-field",11),e.TgZ(12,"input",17),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.ram=a}),e.qZA(),e.TgZ(13,"span",18),e._uU(14,"MB"),e.qZA(),e.qZA(),e.TgZ(15,"mat-form-field",11),e.TgZ(16,"mat-select",19),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.on_close=a}),e.YNc(17,Zge,2,2,"mat-option",15),e.qZA(),e.qZA(),e.qZA(),e.TgZ(18,"mat-checkbox",20),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.headless=a}),e._uU(19," Start VM in headless mode "),e.qZA(),e.qZA(),e.TgZ(20,"mat-tab",21),e._UZ(21,"br"),e.TgZ(22,"mat-checkbox",20),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.use_any_adapter=a}),e._uU(23," Allow GNS3 to use any configured VirtualBox adapter "),e.qZA(),e._UZ(24,"app-custom-adapters-table",22,23),e.qZA(),e.TgZ(26,"mat-tab",24),e.TgZ(27,"mat-form-field",11),e.TgZ(28,"textarea",25),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.usage=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(3),e.Q6J("formGroup",i.generalSettingsForm),e.xp6(2),e.Q6J("ngModel",i.node.name),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(17,AL))("ngModel",i.node.console_type),e.xp6(1),e.Q6J("ngForOf",i.consoleTypes),e.xp6(1),e.Q6J("ngModelOptions",e.DdM(18,AL))("ngModel",i.node.console_auto_start),e.xp6(3),e.Q6J("ngModel",i.node.properties.ram),e.xp6(4),e.Q6J("ngModelOptions",e.DdM(19,AL))("ngModel",i.node.properties.on_close),e.xp6(1),e.Q6J("ngForOf",i.onCloseOptions),e.xp6(1),e.Q6J("ngModel",i.node.properties.headless),e.xp6(4),e.Q6J("ngModel",i.node.properties.use_any_adapter),e.xp6(2),e.Q6J("networkTypes",i.networkTypes)("displayedColumns",i.displayedColumns)("adapters",i.node.ports),e.xp6(4),e.Q6J("ngModel",i.node.properties.usage)}}var Fge=function(){function n(r,t,i,o,a){this.dialogRef=r,this.nodeService=t,this.toasterService=i,this.formBuilder=o,this.virtualBoxConfigurationService=a,this.consoleTypes=[],this.onCloseOptions=[],this.displayedColumns=["adapter_number","port_name","adapter_type","actions"],this.networkTypes=[],this.generalSettingsForm=this.formBuilder.group({name:new ne.NI("",ne.kI.required),ram:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this;this.nodeService.getNode(this.server,this.node).subscribe(function(t){r.node=t,r.name=t.name,r.getConfiguration()})},n.prototype.getConfiguration=function(){this.consoleTypes=this.virtualBoxConfigurationService.getConsoleTypes(),this.onCloseOptions=this.virtualBoxConfigurationService.getOnCloseoptions(),this.networkTypes=this.virtualBoxConfigurationService.getNetworkTypes()},n.prototype.onSaveClick=function(){var r=this;this.generalSettingsForm.valid?(this.node.custom_adapters=[],this.customAdapters.adapters.forEach(function(t){r.node.custom_adapters.push({adapter_number:t.adapter_number,adapter_type:t.adapter_type})}),this.node.properties.adapters=this.node.custom_adapters.length,this.nodeService.updateNodeWithCustomAdapters(this.server,this.node).subscribe(function(){r.toasterService.success("Node "+r.node.name+" updated."),r.onCancelClick()})):this.toasterService.error("Fill all required fields.")},n.prototype.onCancelClick=function(){this.dialogRef.close()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(Yr),e.Y36(Xn),e.Y36(ne.qu),e.Y36(aL))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-configurator-virtualbox"]],viewQuery:function(t,i){var o;(1&t&&e.Gf(Rge,5),2&t)&&(e.iGM(o=e.CRH())&&(i.customAdapters=o.first))},decls:12,vars:2,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],[1,"default-content"],[1,"matCard"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],["label","General settings"],[3,"formGroup"],[1,"form-field"],["matInput","","formControlName","name","type","text","placeholder","Name",3,"ngModel","ngModelChange"],[1,"select"],["placeholder","Console type",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModelOptions","ngModel","ngModelChange"],["matInput","","formControlName","ram","type","number","placeholder","RAM",3,"ngModel","ngModelChange"],["matSuffix",""],["placeholder","On close",3,"ngModelOptions","ngModel","ngModelChange"],[3,"ngModel","ngModelChange"],["label","Network"],[3,"networkTypes","displayedColumns","adapters"],["customAdapters",""],["label","Usage"],["matInput","","type","text",3,"ngModel","ngModelChange"],[3,"value"]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div",3),e.TgZ(5,"mat-card",4),e.YNc(6,Lge,29,20,"mat-tab-group",5),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(7,"div",6),e.TgZ(8,"button",7),e.NdJ("click",function(){return i.onCancelClick()}),e._uU(9,"Cancel"),e.qZA(),e.TgZ(10,"button",8),e.NdJ("click",function(){return i.onSaveClick()}),e._uU(11,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configurator for node ",i.name,""),e.xp6(5),e.Q6J("ngIf",i.name))},directives:[ni,_i,Et.O5,ei,Mn,wo.SP,wo.uX,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,pi.gD,ne.On,Et.sg,Zo,ne.wV,Un.R9,y2,ln.ey],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.configButton[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.default-content[_ngcontent-%COMP%]{max-height:400px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.file-button[_ngcontent-%COMP%]{width:18%}.create-button[_ngcontent-%COMP%]{width:100%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}.nonvisible[_ngcontent-%COMP%]{display:none}mat-radio-button[_ngcontent-%COMP%]{margin-right:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}"]}),n}(),Bge=["customAdapters"];function Uge(n,r){if(1&n&&(e.TgZ(0,"mat-option",24),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Hge(n,r){if(1&n&&(e.TgZ(0,"mat-option",24),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}var DL=function(){return{standalone:!0}};function Vge(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-tab-group"),e.TgZ(1,"mat-tab",9),e._UZ(2,"br"),e.TgZ(3,"form",10),e.TgZ(4,"mat-form-field",11),e.TgZ(5,"input",12),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.name=a}),e.qZA(),e.qZA(),e.TgZ(6,"mat-form-field",13),e.TgZ(7,"mat-select",14),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.console_type=a}),e.YNc(8,Uge,2,2,"mat-option",15),e.qZA(),e.qZA(),e.TgZ(9,"mat-checkbox",16),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.console_auto_start=a}),e._uU(10," Auto start console "),e.qZA(),e.TgZ(11,"mat-form-field",11),e.TgZ(12,"mat-select",17),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.on_close=a}),e.YNc(13,Hge,2,2,"mat-option",15),e.qZA(),e.qZA(),e.qZA(),e.TgZ(14,"mat-checkbox",18),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.headless=a}),e._uU(15," Start VM in headless mode "),e.qZA(),e._UZ(16,"br"),e.TgZ(17,"mat-checkbox",18),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.linked_clone=a}),e._uU(18," Use a linked base VM (experimental) "),e.qZA(),e.qZA(),e.TgZ(19,"mat-tab",19),e._UZ(20,"br"),e.TgZ(21,"mat-checkbox",18),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.use_any_adapter=a}),e._uU(22," Allow GNS3 to override non custom VMware adapter "),e.qZA(),e._UZ(23,"app-custom-adapters-table",20,21),e.qZA(),e.TgZ(25,"mat-tab",22),e.TgZ(26,"mat-form-field",11),e.TgZ(27,"textarea",23),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().node.properties.usage=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(3),e.Q6J("formGroup",i.generalSettingsForm),e.xp6(2),e.Q6J("ngModel",i.node.name),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(17,DL))("ngModel",i.node.console_type),e.xp6(1),e.Q6J("ngForOf",i.consoleTypes),e.xp6(1),e.Q6J("ngModelOptions",e.DdM(18,DL))("ngModel",i.node.console_auto_start),e.xp6(3),e.Q6J("ngModelOptions",e.DdM(19,DL))("ngModel",i.node.properties.on_close),e.xp6(1),e.Q6J("ngForOf",i.onCloseOptions),e.xp6(1),e.Q6J("ngModel",i.node.properties.headless),e.xp6(3),e.Q6J("ngModel",i.node.properties.linked_clone),e.xp6(4),e.Q6J("ngModel",i.node.properties.use_any_adapter),e.xp6(2),e.Q6J("networkTypes",i.networkTypes)("displayedColumns",i.displayedColumns)("adapters",i.node.ports),e.xp6(4),e.Q6J("ngModel",i.node.properties.usage)}}var qge=function(){function n(r,t,i,o,a){this.dialogRef=r,this.nodeService=t,this.toasterService=i,this.formBuilder=o,this.vmwareConfigurationService=a,this.consoleTypes=[],this.onCloseOptions=[],this.displayedColumns=["adapter_number","port_name","adapter_type","actions"],this.networkTypes=[],this.generalSettingsForm=this.formBuilder.group({name:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this;this.nodeService.getNode(this.server,this.node).subscribe(function(t){r.node=t,r.name=t.name,r.getConfiguration()})},n.prototype.getConfiguration=function(){this.consoleTypes=this.vmwareConfigurationService.getConsoleTypes(),this.onCloseOptions=this.vmwareConfigurationService.getOnCloseoptions(),this.networkTypes=this.vmwareConfigurationService.getNetworkTypes()},n.prototype.onSaveClick=function(){var r=this;this.generalSettingsForm.valid?(this.node.custom_adapters=[],this.customAdapters.adapters.forEach(function(t){r.node.custom_adapters.push({adapter_number:t.adapter_number,adapter_type:t.adapter_type})}),this.node.properties.adapters=this.node.custom_adapters.length,this.nodeService.updateNodeWithCustomAdapters(this.server,this.node).subscribe(function(){r.toasterService.success("Node "+r.node.name+" updated."),r.onCancelClick()})):this.toasterService.error("Fill all required fields.")},n.prototype.onCancelClick=function(){this.dialogRef.close()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(Yr),e.Y36(Xn),e.Y36(ne.qu),e.Y36(sL))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-configurator-vmware"]],viewQuery:function(t,i){var o;(1&t&&e.Gf(Bge,5),2&t)&&(e.iGM(o=e.CRH())&&(i.customAdapters=o.first))},decls:12,vars:2,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],[1,"default-content"],[1,"matCard"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],["label","General settings"],[3,"formGroup"],[1,"form-field"],["matInput","","formControlName","name","type","text","placeholder","Name",3,"ngModel","ngModelChange"],[1,"select"],["placeholder","Console type",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModelOptions","ngModel","ngModelChange"],["placeholder","On close",3,"ngModelOptions","ngModel","ngModelChange"],[3,"ngModel","ngModelChange"],["label","Network"],[3,"networkTypes","displayedColumns","adapters"],["customAdapters",""],["label","Usage"],["matInput","","type","text",3,"ngModel","ngModelChange"],[3,"value"]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div",3),e.TgZ(5,"mat-card",4),e.YNc(6,Vge,28,20,"mat-tab-group",5),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(7,"div",6),e.TgZ(8,"button",7),e.NdJ("click",function(){return i.onCancelClick()}),e._uU(9,"Cancel"),e.qZA(),e.TgZ(10,"button",8),e.NdJ("click",function(){return i.onSaveClick()}),e._uU(11,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configurator for node ",i.name,""),e.xp6(5),e.Q6J("ngIf",i.name))},directives:[ni,_i,Et.O5,ei,Mn,wo.SP,wo.uX,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,pi.gD,ne.On,Et.sg,Zo,y2,ln.ey],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.configButton[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.default-content[_ngcontent-%COMP%]{max-height:400px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.file-button[_ngcontent-%COMP%]{width:18%}.create-button[_ngcontent-%COMP%]{width:100%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}.nonvisible[_ngcontent-%COMP%]{display:none}mat-radio-button[_ngcontent-%COMP%]{margin-right:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}"]}),n}();function jge(n,r){if(1&n&&(e.TgZ(0,"mat-option",15),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}var jj=function(){return{standalone:!0}},zge=function(){function n(r,t,i,o,a){this.dialogRef=r,this.nodeService=t,this.toasterService=i,this.formBuilder=o,this.vpcsConfigurationService=a,this.consoleTypes=[],this.inputForm=this.formBuilder.group({name:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this;this.nodeService.getNode(this.server,this.node).subscribe(function(t){r.node=t,r.name=t.name,r.getConfiguration()})},n.prototype.getConfiguration=function(){this.consoleTypes=this.vpcsConfigurationService.getConsoleTypes()},n.prototype.onSaveClick=function(){var r=this;this.inputForm.valid?this.nodeService.updateNode(this.server,this.node).subscribe(function(){r.toasterService.success("Node "+r.node.name+" updated."),r.onCancelClick()}):this.toasterService.error("Fill all required fields.")},n.prototype.onCancelClick=function(){this.dialogRef.close()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(Yr),e.Y36(Xn),e.Y36(ne.qu),e.Y36(T2))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-configurator-vpcs"]],decls:19,vars:10,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],[1,"default-content"],[1,"matCard"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","name","placeholder","Name",3,"ngModel","ngModelChange"],[1,"select"],["placeholder","Console type",3,"ngModelOptions","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModelOptions","ngModel","ngModelChange"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],[3,"value"]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div",3),e.TgZ(5,"mat-card",4),e.TgZ(6,"form",5),e.TgZ(7,"mat-form-field",6),e.TgZ(8,"input",7),e.NdJ("ngModelChange",function(a){return i.node.name=a}),e.qZA(),e.qZA(),e.TgZ(9,"mat-form-field",8),e.TgZ(10,"mat-select",9),e.NdJ("ngModelChange",function(a){return i.node.console_type=a}),e.YNc(11,jge,2,2,"mat-option",10),e.qZA(),e.qZA(),e.TgZ(12,"mat-checkbox",11),e.NdJ("ngModelChange",function(a){return i.node.console_auto_start=a}),e._uU(13," Auto start console "),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(14,"div",12),e.TgZ(15,"button",13),e.NdJ("click",function(){return i.onCancelClick()}),e._uU(16,"Cancel"),e.qZA(),e.TgZ(17,"button",14),e.NdJ("click",function(){return i.onSaveClick()}),e._uU(18,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configurator for node ",i.name,""),e.xp6(5),e.Q6J("formGroup",i.inputForm),e.xp6(2),e.Q6J("ngModel",i.node.name),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(8,jj))("ngModel",i.node.console_type),e.xp6(1),e.Q6J("ngForOf",i.consoleTypes),e.xp6(1),e.Q6J("ngModelOptions",e.DdM(9,jj))("ngModel",i.node.console_auto_start))},directives:[ni,_i,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,pi.gD,ne.On,Et.sg,Zo,ei,Mn,ln.ey],styles:[".form-field[_ngcontent-%COMP%]{width:100%}.configButton[_ngcontent-%COMP%]{width:100%}.select[_ngcontent-%COMP%]{width:100%}.default-content[_ngcontent-%COMP%]{max-height:400px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.file-button[_ngcontent-%COMP%]{width:18%}.create-button[_ngcontent-%COMP%]{width:100%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}.nonvisible[_ngcontent-%COMP%]{display:none}mat-radio-button[_ngcontent-%COMP%]{margin-right:10px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}"]}),n}(),Wge=function(){function n(r){this.dialog=r,this.conf={autoFocus:!1,width:"800px",disableClose:!0}}return n.prototype.configureNode=function(){"vpcs"===this.node.node_type?this.dialogRef=this.dialog.open(zge,this.conf):"ethernet_hub"===this.node.node_type?this.dialogRef=this.dialog.open(Vve,this.conf):"ethernet_switch"===this.node.node_type?this.dialogRef=this.dialog.open(Uve,this.conf):"cloud"===this.node.node_type?this.dialogRef=this.dialog.open(kve,this.conf):"dynamips"===this.node.node_type?this.dialogRef=this.dialog.open(zve,this.conf):"iou"===this.node.node_type?this.dialogRef=this.dialog.open(Yve,this.conf):"qemu"===this.node.node_type?this.dialogRef=this.dialog.open(Sge,this.conf):"virtualbox"===this.node.node_type?this.dialogRef=this.dialog.open(Fge,this.conf):"vmware"===this.node.node_type?this.dialogRef=this.dialog.open(qge,this.conf):"docker"===this.node.node_type?this.dialogRef=this.dialog.open(Nve,this.conf):"nat"===this.node.node_type?this.dialogRef=this.dialog.open(Jve,this.conf):"frame_relay_switch"===this.node.node_type?this.dialogRef=this.dialog.open(Pge,this.conf):"atm_switch"===this.node.node_type?this.dialogRef=this.dialog.open(rve,this.conf):"traceng"===this.node.node_type&&(this.dialogRef=this.dialog.open(Ige,this.conf));var r=this.dialogRef.componentInstance;r.server=this.server,r.node=this.node},n.\u0275fac=function(t){return new(t||n)(e.Y36(no))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-config-node-action"]],inputs:{server:"server",node:"node"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return i.configureNode()}),e.TgZ(1,"mat-icon"),e._uU(2,"settings_applications"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Configure"),e.qZA(),e.qZA())},directives:[Zr,sr],encapsulation:2}),n}();function Gge(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"button",1),e.NdJ("click",function(){return e.CHM(t),e.oxw().startNodes()}),e.TgZ(1,"mat-icon"),e._uU(2,"play_arrow"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Start"),e.qZA(),e.qZA()}}var Yge=function(){function n(r,t){this.nodeService=r,this.toasterService=t}return n.prototype.ngOnInit=function(){},n.prototype.ngOnChanges=function(r){var t=this;r.nodes&&(this.isNodeWithStoppedStatus=!1,this.nodes.forEach(function(i){("stopped"===i.status||"suspended"===i.status)&&(t.isNodeWithStoppedStatus=!0)}))},n.prototype.startNodes=function(){var r=this;this.nodes.forEach(function(t){r.nodeService.start(r.server,t).subscribe(function(i){},function(i){r.toasterService.error(i.error.message)})})},n.\u0275fac=function(t){return new(t||n)(e.Y36(Yr),e.Y36(Xn))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-start-node-action"]],inputs:{server:"server",nodes:"nodes"},features:[e.TTD],decls:1,vars:1,consts:[["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&e.YNc(0,Gge,5,0,"button",0),2&t&&e.Q6J("ngIf",i.isNodeWithStoppedStatus)},directives:[Et.O5,Zr,sr],encapsulation:2}),n}();function Jge(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"button",1),e.NdJ("click",function(){return e.CHM(t),e.oxw().suspendNodes()}),e.TgZ(1,"mat-icon"),e._uU(2,"pause"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Suspend"),e.qZA(),e.qZA()}}var Qge=function(){function n(r){this.nodeService=r}return n.prototype.ngOnInit=function(){},n.prototype.ngOnChanges=function(r){var t=this;r.nodes&&(this.isNodeWithStartedStatus=!1,this.nodes.forEach(function(i){"started"===i.status&&(t.isNodeWithStartedStatus=!0)}))},n.prototype.suspendNodes=function(){var r=this;this.nodes.forEach(function(t){r.nodeService.suspend(r.server,t).subscribe(function(i){})})},n.\u0275fac=function(t){return new(t||n)(e.Y36(Yr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-suspend-node-action"]],inputs:{server:"server",nodes:"nodes"},features:[e.TTD],decls:1,vars:1,consts:[["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&e.YNc(0,Jge,5,0,"button",0),2&t&&e.Q6J("ngIf",i.isNodeWithStartedStatus)},directives:[Et.O5,Zr,sr],encapsulation:2}),n}();function Kge(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"button",1),e.NdJ("click",function(){return e.CHM(t),e.oxw().stopNodes()}),e.TgZ(1,"mat-icon"),e._uU(2,"stop"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Stop"),e.qZA(),e.qZA()}}var Xge=function(){function n(r){this.nodeService=r}return n.prototype.ngOnInit=function(){},n.prototype.ngOnChanges=function(r){var t=this;r.nodes&&(this.isNodeWithStartedStatus=!1,this.nodes.forEach(function(i){"started"===i.status&&(t.isNodeWithStartedStatus=!0)}))},n.prototype.stopNodes=function(){var r=this;this.nodes.forEach(function(t){r.nodeService.stop(r.server,t).subscribe(function(i){})})},n.\u0275fac=function(t){return new(t||n)(e.Y36(Yr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-stop-node-action"]],inputs:{server:"server",nodes:"nodes"},features:[e.TTD],decls:1,vars:1,consts:[["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&e.YNc(0,Kge,5,0,"button",0),2&t&&e.Q6J("ngIf",i.isNodeWithStartedStatus)},directives:[Et.O5,Zr,sr],encapsulation:2}),n}();function $ge(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"button",1),e.NdJ("click",function(){return e.CHM(t),e.oxw().reloadNodes()}),e.TgZ(1,"mat-icon"),e._uU(2,"refresh"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Reload"),e.qZA(),e.qZA()}}var e_e=function(){function n(r){this.nodeService=r,this.filteredNodes=[]}return n.prototype.ngOnInit=function(){var r=this;this.nodes.forEach(function(t){("vpcs"===t.node_type||"qemu"===t.node_type||"virtualbox"===t.node_type||"vmware"===t.node_type)&&r.filteredNodes.push(t)})},n.prototype.reloadNodes=function(){var r=this;this.filteredNodes.forEach(function(t){r.nodeService.reload(r.server,t).subscribe(function(i){})})},n.\u0275fac=function(t){return new(t||n)(e.Y36(Yr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-reload-node-action"]],inputs:{server:"server",nodes:"nodes"},decls:1,vars:1,consts:[["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&e.YNc(0,$ge,5,0,"button",0),2&t&&e.Q6J("ngIf",i.filteredNodes.length>0)},directives:[Et.O5,Zr,sr],encapsulation:2}),n}(),dd=function(){function n(r,t,i){this.router=r,this.toasterService=t,this.mapSettingsService=i,this.nodeConsoleTrigger=new e.vpe,this.closeNodeConsoleTrigger=new On.xQ,this.consoleResized=new On.xQ,this.openConsoles=0,this.defaultConsoleWidth=720,this.defaultConsoleHeight=408,this.defaultNumberOfColumns=80,this.defaultNumberOfRows=24}return n.prototype.getNumberOfColumns=function(){return this.lastNumberOfColumns},n.prototype.getNumberOfRows=function(){return this.lastNumberOfRows},n.prototype.setNumberOfColumns=function(r){this.lastNumberOfColumns=r},n.prototype.setNumberOfRows=function(r){this.lastNumberOfRows=r},n.prototype.openConsoleForNode=function(r){this.nodeConsoleTrigger.emit(r)},n.prototype.closeConsoleForNode=function(r){this.closeNodeConsoleTrigger.next(r)},n.prototype.resizeTerminal=function(r){this.consoleResized.next(r)},n.prototype.getLineWidth=function(){return this.defaultConsoleWidth/this.defaultNumberOfColumns},n.prototype.getLineHeight=function(){return this.defaultConsoleHeight/this.defaultNumberOfRows},n.prototype.getUrl=function(r,t){var i="ws";return"https:"===r.protocol&&(i="wss"),i+"://"+r.host+":"+r.port+"/v2/projects/"+t.project_id+"/nodes/"+t.node_id+"/console/ws"},n.prototype.openConsolesForAllNodesInWidget=function(r){var t=this,i="Please start the following nodes if you want to open consoles for them: ",o=0;r.forEach(function(a){"started"===a.status?(t.mapSettingsService.logConsoleSubject.next(!0),setTimeout(function(){t.openConsoleForNode(a)},500)):(o++,i+=a.name+" ")}),o>0&&this.toasterService.error(i)},n.prototype.openConsolesForAllNodesInNewTabs=function(r){var t=this,i="Please start the following nodes if you want to open consoles for them: ",o=0;r.forEach(function(a){if("started"===a.status){var s=t.router.url.split("/");window.open("/static/web-ui/"+s[1]+"/"+s[2]+"/"+s[3]+"/"+s[4]+"/nodes/"+a.node_id)}else o++,i+=a.name+" "}),o>0&&this.toasterService.error(i)},n.\u0275fac=function(t){return new(t||n)(e.LFG(kr),e.LFG(Xn),e.LFG(Mu))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),t_e=function(){function n(r){this.nodeConsoleService=r}return n.prototype.ngOnInit=function(){},n.prototype.openConsole=function(){this.nodeConsoleService.openConsolesForAllNodesInWidget(this.nodes)},n.\u0275fac=function(t){return new(t||n)(e.Y36(dd))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-http-console-action"]],inputs:{server:"server",nodes:"nodes"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return i.openConsole()}),e.TgZ(1,"mat-icon"),e._uU(2,"http"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Web console"),e.qZA(),e.qZA())},directives:[Zr,sr],encapsulation:2}),n}(),n_e=function(){function n(r){this.nodeConsoleService=r}return n.prototype.ngOnInit=function(){},n.prototype.openConsole=function(){this.nodeConsoleService.openConsolesForAllNodesInNewTabs(this.nodes)},n.\u0275fac=function(t){return new(t||n)(e.Y36(dd))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-http-console-new-tab-action"]],inputs:{server:"server",nodes:"nodes"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return i.openConsole()}),e.TgZ(1,"mat-icon"),e._uU(2,"http"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Web console in new tab"),e.qZA(),e.qZA())},directives:[Zr,sr],encapsulation:2}),n}(),gp=f(10503),r_e=function(){function n(r,t,i,o,a){this.electronService=r,this.serverService=t,this.settingsService=i,this.toasterService=o,this.nodeService=a}return n.prototype.ngOnInit=function(){},n.prototype.console=function(){return(0,Jn.mG)(this,void 0,void 0,function(){var r,i,o,a,s;return(0,Jn.Jh)(this,function(u){switch(u.label){case 0:if(r=this.settingsService.getConsoleSettings()?this.settingsService.getConsoleSettings():this.nodeService.getDefaultCommand(),0===this.nodes.filter(function(p){return"started"===p.status}).length)return this.toasterService.error("Device needs to be started in order to console to it."),[2];i=0,o=this.nodes,u.label=1;case 1:return i<o.length?"started"!==(a=o[i]).status?[3,3]:(s={command:r,type:a.console_type,host:a.console_host,port:a.console,name:a.name,project_id:a.project_id,node_id:a.node_id,server_url:this.serverService.getServerUrl(this.server)},[4,this.openConsole(s)]):[3,4];case 2:u.sent(),u.label=3;case 3:return i++,[3,1];case 4:return[2]}})})},n.prototype.openConsole=function(r){return(0,Jn.mG)(this,void 0,void 0,function(){return(0,Jn.Jh)(this,function(t){switch(t.label){case 0:return[4,this.electronService.remote.require("./console-executor.js").openConsole(r)];case 1:return[2,t.sent()]}})})},n.\u0275fac=function(t){return new(t||n)(e.Y36(ds),e.Y36(Hr),e.Y36(gp.g),e.Y36(Xn),e.Y36(Yr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-console-device-action"]],inputs:{server:"server",nodes:"nodes"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return i.console()}),e.TgZ(1,"mat-icon"),e._uU(2,"web_asset"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Console"),e.qZA(),e.qZA())},directives:[Zr,sr],encapsulation:2}),n}(),i_e=function(){function n(r,t){this.toasterService=r,this.nodeService=t}return n.prototype.openConsole=function(){var r=this;this.nodeService.getNode(this.server,this.node).subscribe(function(t){r.node=t,r.startConsole()})},n.prototype.startConsole=function(){if("started"!==this.node.status)this.toasterService.error("This node must be started before a console can be opened");else if(("0.0.0.0"===this.node.console_host||"0:0:0:0:0:0:0:0"===this.node.console_host||"::"===this.node.console_host)&&(this.node.console_host=this.server.host),"telnet"===this.node.console_type||"vnc"===this.node.console_type||"spice"===this.node.console_type)try{location.assign("gns3+"+this.node.console_type+"://"+this.node.console_host+":"+this.node.console+"?name="+this.node.name+"&project_id="+this.node.project_id+"&node_id="+this.node.node_id)}catch(r){this.toasterService.error(r)}else this.toasterService.error("Supported console types: telnet, vnc, spice.")},n.\u0275fac=function(t){return new(t||n)(e.Y36(Xn),e.Y36(Yr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-console-device-action-browser"]],inputs:{server:"server",node:"node"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return i.openConsole()}),e.TgZ(1,"mat-icon"),e._uU(2,"web_asset"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Console"),e.qZA(),e.qZA())},directives:[Zr,sr],encapsulation:2}),n}(),o_e=function(){function n(r){this.electronService=r}return n.prototype.ngOnInit=function(){},n.prototype.open=function(){this.electronService.shell.openPath(this.node.node_directory)},n.\u0275fac=function(t){return new(t||n)(e.Y36(ds))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-open-file-explorer-action"]],inputs:{server:"server",node:"node"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return i.open()}),e.TgZ(1,"mat-icon"),e._uU(2,"tab"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Open file explorer"),e.qZA(),e.qZA())},directives:[Zr,sr],encapsulation:2}),n}(),a_e=function(){function n(r,t,i,o){this.dialogRef=r,this.nodeService=t,this.toasterService=i,this.formBuilder=o,this.inputForm=this.formBuilder.group({name:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this;this.nodeService.getNode(this.server,this.node).subscribe(function(t){r.node=t,r.name=r.node.name})},n.prototype.onSaveClick=function(){var r=this;this.inputForm.valid?this.nodeService.updateNode(this.server,this.node).subscribe(function(){r.toasterService.success("Node "+r.node.name+" updated."),r.onCancelClick()}):this.toasterService.error("Fill all required fields.")},n.prototype.onCancelClick=function(){this.dialogRef.close()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(Yr),e.Y36(Xn),e.Y36(ne.qu))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-change-hostname-dialog-component"]],decls:14,vars:3,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"content"],[1,"default-content"],[1,"matCard"],[3,"formGroup"],[1,"form-field"],["matInput","","type","text","formControlName","name","placeholder","Name",3,"ngModel","ngModelChange"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div",3),e.TgZ(5,"mat-card",4),e.TgZ(6,"form",5),e.TgZ(7,"mat-form-field",6),e.TgZ(8,"input",7),e.NdJ("ngModelChange",function(a){return i.node.name=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(9,"div",8),e.TgZ(10,"button",9),e.NdJ("click",function(){return i.onCancelClick()}),e._uU(11,"Cancel"),e.qZA(),e.TgZ(12,"button",10),e.NdJ("click",function(){return i.onSaveClick()}),e._uU(13,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Change hostname for node ",i.name,""),e.xp6(5),e.Q6J("formGroup",i.inputForm),e.xp6(2),e.Q6J("ngModel",i.node.name))},directives:[ni,_i,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,ei,Mn],styles:[".form-field[_ngcontent-%COMP%]{width:100%}"]}),n}(),s_e=function(){function n(r){this.dialog=r}return n.prototype.ngOnInit=function(){},n.prototype.changeHostname=function(){var t=this.dialog.open(a_e,{autoFocus:!1,disableClose:!0}).componentInstance;t.server=this.server,t.node=this.node},n.\u0275fac=function(t){return new(t||n)(e.Y36(no))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-change-hostname-action"]],inputs:{server:"server",node:"node"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return i.changeHostname()}),e.TgZ(1,"mat-icon"),e._uU(2,"edit"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Change hostname"),e.qZA(),e.qZA())},directives:[Zr,sr],encapsulation:2}),n}(),l_e=function(){function n(r,t){this.dialogRef=r,this.nodeService=t}return n.prototype.ngOnInit=function(){this.symbol=this.node.symbol},n.prototype.symbolChanged=function(r){this.symbol=r},n.prototype.onCloseClick=function(){this.dialogRef.close()},n.prototype.onSelectClick=function(){var r=this;this.nodeService.updateSymbol(this.server,this.node,this.symbol).subscribe(function(){r.onCloseClick()})},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(Yr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-change-symbol-dialog"]],inputs:{server:"server",node:"node"},decls:10,vars:3,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"symbolsWrapper"],[3,"server","symbol","symbolChanged"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"app-symbols",3),e.NdJ("symbolChanged",function(a){return i.symbolChanged(a)}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"button",5),e.NdJ("click",function(){return i.onCloseClick()}),e._uU(7,"Cancel"),e.qZA(),e.TgZ(8,"button",6),e.NdJ("click",function(){return i.onSelectClick()}),e._uU(9,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Change symbol for node: ",i.node.name,""),e.xp6(3),e.Q6J("server",i.server)("symbol",i.symbol))},directives:[ni,Hq,ei,Mn],styles:[".symbolsWrapper[_ngcontent-%COMP%]{height:350px;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}"]}),n}(),u_e=function(){function n(r){this.dialog=r}return n.prototype.ngOnInit=function(){},n.prototype.changeSymbol=function(){var t=this.dialog.open(l_e,{width:"1000px",height:"500px",autoFocus:!1,disableClose:!0}).componentInstance;t.server=this.server,t.node=this.node},n.\u0275fac=function(t){return new(t||n)(e.Y36(no))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-change-symbol-action"]],inputs:{server:"server",node:"node"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return i.changeSymbol()}),e.TgZ(1,"mat-icon"),e._uU(2,"find_replace"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Change symbol"),e.qZA(),e.qZA())},directives:[Zr,sr],encapsulation:2}),n}(),Ts=function(){function n(r,t){this.httpServer=r,this.svgToDrawingConverter=t}return n.prototype.add=function(r,t,i,o,a){return this.httpServer.post(r,"/projects/"+t+"/drawings",{svg:a,x:Math.round(i),y:Math.round(o),z:1})},n.prototype.duplicate=function(r,t,i){return this.httpServer.post(r,"/projects/"+t+"/drawings",{svg:i.svg,rotation:i.rotation,x:i.x+10,y:i.y+10,z:i.z})},n.prototype.updatePosition=function(r,t,i,o,a){var s=Math.round(o),u=Math.round(a);return t.snap_to_grid&&(i.element=this.svgToDrawingConverter.convert(i.svg),s=Math.round((s+i.element.width/2)/t.drawing_grid_size)*t.drawing_grid_size,u=Math.round((u+i.element.width/2)/t.drawing_grid_size)*t.drawing_grid_size,s=Math.round(s-i.element.width/2),u=Math.round(u-i.element.height/2)),this.httpServer.put(r,"/projects/"+i.project_id+"/drawings/"+i.drawing_id,{x:s,y:u})},n.prototype.updateSizeAndPosition=function(r,t,i,o,a){return this.httpServer.put(r,"/projects/"+t.project_id+"/drawings/"+t.drawing_id,{svg:a,x:Math.round(i),y:Math.round(o)})},n.prototype.updateText=function(r,t,i){return this.httpServer.put(r,"/projects/"+t.project_id+"/drawings/"+t.drawing_id,{svg:i,x:Math.round(t.x),y:Math.round(t.y),z:t.z})},n.prototype.update=function(r,t){return this.httpServer.put(r,"/projects/"+t.project_id+"/drawings/"+t.drawing_id,{locked:t.locked,svg:t.svg,rotation:t.rotation,x:Math.round(t.x),y:Math.round(t.y),z:t.z})},n.prototype.delete=function(r,t){return this.httpServer.delete(r,"/projects/"+t.project_id+"/drawings/"+t.drawing_id)},n.\u0275fac=function(t){return new(t||n)(e.LFG(Yo.wh),e.LFG(HS))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),xs=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return(0,Jn.ZT)(r,n),r.prototype.getItemKey=function(t){return t.drawing_id},r.\u0275fac=function(){var t;return function(o){return(t||(t=e.n5z(r)))(o||r)}}(),r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(x2.o),c_e=function(){function n(r,t,i,o,a){this.nodeService=r,this.nodesDataSource=t,this.drawingService=i,this.drawingsDataSource=o,this.toasterService=a}return n.prototype.duplicate=function(){for(var r=this,t="",i=0,o=this.nodes;i<o.length;i++){var a=o[i];"stopped"===a.status?this.nodeService.duplicate(this.server,a).subscribe(function(m){r.nodesDataSource.add(m)}):t+=a.name+", "}for(var s=0,u=this.drawings;s<u.length;s++){var p=u[s];this.drawingService.duplicate(this.server,p.project_id,p).subscribe(function(m){r.drawingsDataSource.add(m)})}t.length>0&&(t=t.substring(0,t.length-2),this.toasterService.error("Cannot duplicate node data for nodes: "+t))},n.\u0275fac=function(t){return new(t||n)(e.Y36(Yr),e.Y36(ka.G),e.Y36(Ts),e.Y36(xs),e.Y36(Xn))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-duplicate-action"]],inputs:{server:"server",project:"project",drawings:"drawings",nodes:"nodes"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return i.duplicate()}),e.TgZ(1,"mat-icon"),e._uU(2,"filter_none"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Duplicate"),e.qZA(),e.qZA())},directives:[Zr,sr],encapsulation:2}),n}(),yv=function(){function n(){}return n.prototype.convert=function(r){var t="";if(r.element instanceof mp)t='<rect fill="'+r.element.fill+'" fill-opacity="'+r.element.fill_opacity+'" height="'+r.element.height+'" width="'+r.element.width+'" stroke="'+r.element.stroke+'" stroke-width="'+r.element.stroke_width+'" />';else if(r.element instanceof Oo)t='<ellipse fill="'+r.element.fill+'" fill-opacity="'+r.element.fill_opacity+'" cx="'+r.element.cx+'" cy="'+r.element.cy+'" rx="'+r.element.rx+'" ry="'+r.element.ry+'" stroke="'+r.element.stroke+'" stroke-width="'+r.element.stroke_width+'" />';else if(r.element instanceof vv)t='<line stroke="'+r.element.stroke+'" stroke-width="'+r.element.stroke_width+'" x1="'+r.element.x1+'" x2="'+r.element.x2+'" y1="'+r.element.y1+'" y2="'+r.element.y2+'" />';else{if(!(r.element instanceof gv))return"";t='<text fill="'+r.element.fill+'" fill-opacity="1.0" font-family="'+r.element.font_family+'" font-size="'+r.element.font_size+'" font-weight="'+r.element.font_weight+'">'+r.element.text+"</text>"}return'<svg height="'+r.element.height+'" width="'+r.element.width+'">'+t+"</svg>"},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),OL=function(){function n(){}return n.prototype.get=function(r){return+r.value>-360&&+r.value<=360?null:{negativeValue:!0}},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),PL=function(){return{standalone:!0}};function d_e(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-form-field",3),e.TgZ(1,"input",12),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().element.stroke_dasharray=a}),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(1),e.Q6J("ngModelOptions",e.DdM(2,PL))("ngModel",i.element.stroke_dasharray)}}var p_e=function(){function n(r,t,i,o,a,s,u,p,m){this.dialogRef=r,this.drawingToMapDrawingConverter=t,this.mapDrawingToSvgConverter=i,this.drawingService=o,this.drawingsDataSource=a,this.formBuilder=s,this.toasterService=u,this.nonNegativeValidator=p,this.rotationValidator=m,this.formGroup=this.formBuilder.group({borderWidth:new ne.NI("",[ne.kI.required,p.get]),rotation:new ne.NI("",[ne.kI.required,m.get])})}return n.prototype.ngOnInit=function(){this.element=new f_e,this.drawing.element instanceof mp||this.drawing.element instanceof Oo?(this.element.fill=this.drawing.element.fill,this.element.stroke=this.drawing.element.stroke,this.element.stroke_dasharray=this.drawing.element.stroke_dasharray,this.element.stroke_width=this.drawing.element.stroke_width):this.drawing.element instanceof vv&&(this.element.stroke=this.drawing.element.stroke,this.element.stroke_dasharray=this.drawing.element.stroke_dasharray,this.element.stroke_width=this.drawing.element.stroke_width),void 0===this.element.stroke_width&&(this.element.stroke_width=0),this.formGroup.controls.borderWidth.setValue(this.element.stroke_width),this.formGroup.controls.rotation.setValue(this.drawing.rotation)},n.prototype.onNoClick=function(){this.dialogRef.close()},n.prototype.onYesClick=function(){var r=this;if(this.formGroup.valid){this.element.stroke_width=this.formGroup.get("borderWidth").value,this.drawing.rotation=this.formGroup.get("rotation").value,this.drawing.element instanceof mp||this.drawing.element instanceof Oo?(this.drawing.element.fill=this.element.fill,this.drawing.element.stroke=this.element.stroke,this.drawing.element.stroke_dasharray=this.element.stroke_dasharray,this.drawing.element.stroke_width=this.element.stroke_width):this.drawing.element instanceof vv&&(this.drawing.element.stroke=this.element.stroke,this.drawing.element.stroke_dasharray=this.element.stroke_dasharray,this.drawing.element.stroke_width=this.element.stroke_width);var t=this.drawingToMapDrawingConverter.convert(this.drawing);t.element=this.drawing.element,this.drawing.svg=this.mapDrawingToSvgConverter.convert(t),this.drawingService.update(this.server,this.drawing).subscribe(function(i){r.drawingsDataSource.update(i),r.dialogRef.close()})}else this.toasterService.error("Entered data is incorrect")},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(k2),e.Y36(yv),e.Y36(Ts),e.Y36(xs),e.Y36(ne.qu),e.Y36(Xn),e.Y36(Z2),e.Y36(OL))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-style-editor"]],decls:18,vars:8,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[3,"formGroup"],[1,"form-field"],["matInput","","placeholder","Fill color","type","color",3,"ngModelOptions","ngModel","ngModelChange"],["matInput","","placeholder","Border color","type","color",3,"ngModelOptions","ngModel","ngModelChange"],["matInput","","formControlName","borderWidth","placeholder","Border width","type","number"],["class","form-field",4,"ngIf"],["matInput","","formControlName","rotation","placeholder","Rotation","type","number"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],["matInput","","placeholder","Border style","type","text",3,"ngModelOptions","ngModel","ngModelChange"]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1,"Style editor"),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"form",2),e.TgZ(4,"mat-form-field",3),e.TgZ(5,"input",4),e.NdJ("ngModelChange",function(a){return i.element.fill=a}),e.qZA(),e.qZA(),e.TgZ(6,"mat-form-field",3),e.TgZ(7,"input",5),e.NdJ("ngModelChange",function(a){return i.element.stroke=a}),e.qZA(),e.qZA(),e.TgZ(8,"mat-form-field",3),e._UZ(9,"input",6),e.qZA(),e.YNc(10,d_e,2,3,"mat-form-field",7),e.TgZ(11,"mat-form-field",3),e._UZ(12,"input",8),e.qZA(),e.qZA(),e.qZA(),e.TgZ(13,"div",9),e.TgZ(14,"button",10),e.NdJ("click",function(){return i.onNoClick()}),e._uU(15,"Cancel"),e.qZA(),e.TgZ(16,"button",11),e.NdJ("click",function(){return i.onYesClick()}),e._uU(17,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(3),e.Q6J("formGroup",i.formGroup),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(6,PL))("ngModel",i.element.fill),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(7,PL))("ngModel",i.element.stroke),e.xp6(3),e.Q6J("ngIf",i.element.stroke_dasharray))},directives:[ni,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.On,ne.wV,ne.u,Et.O5,ei,Mn],styles:[".item[_ngcontent-%COMP%]{height:25px;font-size:10pt;margin-bottom:10px}.item-name[_ngcontent-%COMP%]{margin-bottom:10px}.item-value[_ngcontent-%COMP%]{width:100%;margin-bottom:10px}.input-color[_ngcontent-%COMP%]{padding:0;border-width:0px;width:100%;background-color:transparent;outline:none}input[_ngcontent-%COMP%]:focus{outline:none}input[type=color][_ngcontent-%COMP%]{-webkit-appearance:none;border:none;height:25px}input[type=color][_ngcontent-%COMP%]::-webkit-color-swatch-wrapper{padding:0}input[type=color][_ngcontent-%COMP%]::-webkit-color-swatch{border:none}.modal-form-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.modal-form-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:100%}.form-field[_ngcontent-%COMP%]{width:100%}"]}),n}(),f_e=function(){return function(){}}();function h_e(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"button",1),e.NdJ("click",function(){return e.CHM(t),e.oxw().editStyle()}),e.TgZ(1,"mat-icon"),e._uU(2,"style"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Edit style"),e.qZA(),e.qZA()}}var m_e=function(){function n(r){this.dialog=r,this.isImageDrawing=!1}return n.prototype.ngOnChanges=function(){this.isImageDrawing=this.drawing.element instanceof I2},n.prototype.editStyle=function(){var t=this.dialog.open(p_e,{width:"800px",autoFocus:!1,disableClose:!0}).componentInstance;t.server=this.server,t.project=this.project,t.drawing=this.drawing},n.\u0275fac=function(t){return new(t||n)(e.Y36(no))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-edit-style-action"]],inputs:{server:"server",project:"project",drawing:"drawing"},features:[e.TTD],decls:1,vars:1,consts:[["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&e.YNc(0,h_e,5,0,"button",0),2&t&&e.Q6J("ngIf",!i.isImageDrawing)},directives:[Et.O5,Zr,sr],encapsulation:2}),n}(),v_e=["textArea"],g_e=function(){function n(r,t,i,o,a,s,u,p,m,b,I,F,G,Y){this.dialogRef=r,this.drawingToMapDrawingConverter=t,this.mapDrawingToSvgConverter=i,this.drawingService=o,this.drawingsDataSource=a,this.renderer=s,this.nodeService=u,this.nodesDataSource=p,this.linkService=m,this.linksDataSource=b,this.formBuilder=I,this.toasterService=F,this.rotationValidator=G,this.fontFixer=Y}return n.prototype.ngOnInit=function(){var r=this;this.formGroup=this.formBuilder.group({rotation:new ne.NI("",[ne.kI.required,this.rotationValidator.get])}),this.label&&this.node?(this.isTextEditable=!1,this.rotation=this.label.rotation.toString(),this.element=this.getTextElementFromLabel()):this.linkNode&&this.link?(this.isTextEditable=!0,this.label=this.link.nodes.find(function(i){return i.node_id===r.linkNode.node_id}).label,this.rotation=this.label.rotation.toString(),this.element=this.getTextElementFromLabel()):this.drawing&&(this.isTextEditable=!0,this.rotation=this.drawing.rotation.toString(),this.element=this.drawing.element);var t={font_family:this.element.font_family,font_size:this.element.font_size,font_weight:this.element.font_weight};t=this.fontFixer.fix(t),this.formGroup.controls.rotation.setValue(this.rotation),this.renderer.setStyle(this.textArea.nativeElement,"color",this.element.fill),this.renderer.setStyle(this.textArea.nativeElement,"font-family",t.font_family),this.renderer.setStyle(this.textArea.nativeElement,"font-size",t.font_size+"pt"),this.renderer.setStyle(this.textArea.nativeElement,"font-weight",t.font_weight)},n.prototype.getTextElementFromLabel=function(){for(var r=[],t=new gv,i=0,o=this.label.style.split(";");i<o.length;i++){var a=o[i];r.push({property:a.split(": ")[0],value:a.split(": ")[1]})}return t.text=this.label.text?this.label.text:"",t.font_family=r.find(function(s){return"font-family"===s.property})?r.find(function(s){return"font-family"===s.property}).value:"TypeWriter",t.font_size=r.find(function(s){return"font-size"===s.property})?+r.find(function(s){return"font-size"===s.property}).value:10,t.font_weight=r.find(function(s){return"font-weight"===s.property})?r.find(function(s){return"font-weight"===s.property}).value:"normal",t.fill=r.find(function(s){return"fill"===s.property})?r.find(function(s){return"fill"===s.property}).value:"#000000",t.fill_opacity=r.find(function(s){return"fill-opacity"===s.property})?+r.find(function(s){return"fill-opacity"===s.property}).value:1,t},n.prototype.getStyleFromTextElement=function(){return"font-family: "+this.element.font_family+";font-size: "+this.element.font_size+";font-weight: "+this.element.font_weight+";fill: "+this.element.fill+";fill-opacity: "+this.element.fill_opacity+";"},n.prototype.onNoClick=function(){this.dialogRef.close()},n.prototype.onYesClick=function(){var r=this;if(this.formGroup.valid){if(this.rotation=this.formGroup.get("rotation").value,this.label&&this.node)this.node.label.style=this.getStyleFromTextElement(),this.node.label.rotation=+this.rotation,this.nodeService.updateLabel(this.server,this.node,this.node.label).subscribe(function(i){r.nodesDataSource.update(i),r.dialogRef.close()});else if(this.linkNode&&this.link)this.label.style=this.getStyleFromTextElement(),this.label.rotation=+this.rotation,this.label.text=this.element.text,this.linkService.updateLink(this.server,this.link).subscribe(function(i){r.linksDataSource.update(i),r.dialogRef.close()});else if(this.drawing){this.drawing.rotation=+this.rotation,this.drawing.element=this.element;var t=this.drawingToMapDrawingConverter.convert(this.drawing);t.element=this.drawing.element,this.drawing.svg=this.mapDrawingToSvgConverter.convert(t),this.drawingService.update(this.server,this.drawing).subscribe(function(i){r.drawingsDataSource.update(i),r.dialogRef.close()})}}else this.toasterService.error("Entered data is incorrect")},n.prototype.changeTextColor=function(r){this.renderer.setStyle(this.textArea.nativeElement,"color",r)},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(k2),e.Y36(yv),e.Y36(Ts),e.Y36(xs),e.Y36(e.Qsj),e.Y36(Yr),e.Y36(ka.G),e.Y36(oc),e.Y36(nh.F),e.Y36(ne.qu),e.Y36(Xn),e.Y36(OL),e.Y36(nc))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-text-editor"]],viewQuery:function(t,i){var o;(1&t&&e.Gf(v_e,7),2&t)&&(e.iGM(o=e.CRH())&&(i.textArea=o.first))},decls:15,vars:4,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"form-field"],["matInput","","placeholder","Fill color","type","color",3,"ngModel","ngModelChange"],[3,"formGroup"],["formControlName","rotation","matInput","","placeholder","Rotation","type","text"],["id","textArea",1,"text",3,"ngModel","readonly","ngModelChange"],["textArea",""],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1,"Text editor"),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"mat-form-field",2),e.TgZ(4,"input",3),e.NdJ("ngModelChange",function(a){return i.changeTextColor(a)})("ngModelChange",function(a){return i.element.fill=a}),e.qZA(),e.qZA(),e.TgZ(5,"form",4),e.TgZ(6,"mat-form-field",2),e._UZ(7,"input",5),e.qZA(),e.qZA(),e.TgZ(8,"textarea",6,7),e.NdJ("ngModelChange",function(a){return i.element.text=a}),e.qZA(),e.qZA(),e.TgZ(10,"div",8),e.TgZ(11,"button",9),e.NdJ("click",function(){return i.onNoClick()}),e._uU(12,"Cancel"),e.qZA(),e.TgZ(13,"button",10),e.NdJ("click",function(){return i.onYesClick()}),e._uU(14,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(4),e.Q6J("ngModel",i.element.fill),e.xp6(1),e.Q6J("formGroup",i.formGroup),e.xp6(3),e.Q6J("ngModel",i.element.text)("readonly",!i.isTextEditable))},directives:[ni,Un.KE,ur,ne.Fj,ne.JJ,ne.On,ne._Y,ne.JL,ne.sg,ne.u,ei,Mn],styles:[".item[_ngcontent-%COMP%]{height:25px;font-size:10pt;margin-bottom:10px}.item-name[_ngcontent-%COMP%]{margin-bottom:10px}.item-value[_ngcontent-%COMP%]{width:100%;margin-bottom:10px}.input-color[_ngcontent-%COMP%]{padding:0;border-width:0px;width:100%;background-color:transparent;outline:none}input[_ngcontent-%COMP%]:focus{outline:none}input[type=color][_ngcontent-%COMP%]{-webkit-appearance:none;border:none;height:25px}input[type=color][_ngcontent-%COMP%]::-webkit-color-swatch-wrapper{padding:0}input[type=color][_ngcontent-%COMP%]::-webkit-color-swatch{border:none}.text[_ngcontent-%COMP%]{width:100%;height:150px}.modal-form-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.modal-form-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:100%}.form-field[_ngcontent-%COMP%]{width:100%}"]}),n}(),__e=function(){function n(r){this.dialog=r}return n.prototype.ngOnInit=function(){},n.prototype.editText=function(){var t=this.dialog.open(g_e,{width:"300px",autoFocus:!1,disableClose:!0}).componentInstance;t.server=this.server,t.project=this.project,t.drawing=this.drawing,t.node=this.node,t.label=this.label,t.link=this.link,t.linkNode=this.linkNode},n.\u0275fac=function(t){return new(t||n)(e.Y36(no))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-edit-text-action"]],inputs:{server:"server",project:"project",drawing:"drawing",node:"node",label:"label",link:"link",linkNode:"linkNode"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return i.editText()}),e.TgZ(1,"mat-icon"),e._uU(2,"text_format"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Edit text"),e.qZA(),e.qZA())},directives:[Zr,sr],encapsulation:2}),n}();function y_e(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",6),e.TgZ(1,"textarea",7,8),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().config=a}),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(1),e.Q6J("ngModel",i.config)}}function b_e(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-tab-group"),e.TgZ(1,"mat-tab",9),e.TgZ(2,"textarea",10,8),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().config=a}),e.qZA(),e.qZA(),e.TgZ(4,"mat-tab",11),e.TgZ(5,"textarea",10,8),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().privateConfig=a}),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(2),e.Q6J("ngModel",i.config),e.xp6(3),e.Q6J("ngModel",i.privateConfig)}}var C_e=function(){function n(r,t,i){this.dialogRef=r,this.nodeService=t,this.toasterService=i}return n.prototype.ngOnInit=function(){var r=this;this.nodeService.getStartupConfiguration(this.server,this.node).subscribe(function(t){r.config=t}),("iou"===this.node.node_type||"dynamips"===this.node.node_type)&&this.nodeService.getPrivateConfiguration(this.server,this.node).subscribe(function(t){r.privateConfig=t})},n.prototype.onSaveClick=function(){var r=this;this.nodeService.saveConfiguration(this.server,this.node,this.config).subscribe(function(t){"iou"===r.node.node_type||"dynamips"===r.node.node_type?r.nodeService.savePrivateConfiguration(r.server,r.node,r.privateConfig).subscribe(function(i){r.dialogRef.close(),r.toasterService.success("Configuration for node "+r.node.name+" saved.")}):(r.dialogRef.close(),r.toasterService.success("Configuration for node "+r.node.name+" saved."))})},n.prototype.onCancelClick=function(){this.dialogRef.close()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(Yr),e.Y36(Xn))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-config-editor"]],decls:9,vars:3,consts:[["mat-dialog-title",""],["class","modal-form-container",4,"ngIf"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],[1,"modal-form-container"],["id","textArea",1,"textArea",3,"ngModel","ngModelChange"],["textArea",""],["label","Startup config"],["id","textArea",1,"textAreaTab",3,"ngModel","ngModelChange"],["label","Private config"]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.YNc(2,y_e,3,1,"div",1),e.YNc(3,b_e,7,2,"mat-tab-group",2),e.TgZ(4,"div",3),e.TgZ(5,"button",4),e.NdJ("click",function(){return i.onCancelClick()}),e._uU(6,"Cancel"),e.qZA(),e.TgZ(7,"button",5),e.NdJ("click",function(){return i.onSaveClick()}),e._uU(8,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.hij("Configuration for node ",i.node.name,""),e.xp6(1),e.Q6J("ngIf","vpcs"===i.node.node_type),e.xp6(1),e.Q6J("ngIf","iou"===i.node.node_type||"dynamips"===i.node.node_type))},directives:[ni,Et.O5,ei,Mn,ne.Fj,ne.JJ,ne.On,wo.SP,wo.uX],styles:[".textArea[_ngcontent-%COMP%]{width:100%;height:350px}.textAreaTab[_ngcontent-%COMP%]{width:100%;height:300px}"]}),n}();function S_e(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"button",1),e.NdJ("click",function(){return e.CHM(t),e.oxw().editConfig()}),e.TgZ(1,"mat-icon"),e._uU(2,"settings"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Edit config"),e.qZA(),e.qZA()}}var T_e=function(){function n(r){this.dialog=r}return n.prototype.editConfig=function(){var t=this.dialog.open(C_e,{width:"600px",height:"500px",autoFocus:!1,disableClose:!0}).componentInstance;t.server=this.server,t.project=this.project,t.node=this.node},n.\u0275fac=function(t){return new(t||n)(e.Y36(no))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-edit-config-action"]],inputs:{server:"server",project:"project",node:"node"},decls:1,vars:1,consts:[["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&e.YNc(0,S_e,5,0,"button",0),2&t&&e.Q6J("ngIf","vpcs"===i.node.node_type||"iou"===i.node.node_type||"dynamips"===i.node.node_type)},directives:[Et.O5,Zr,sr],encapsulation:2}),n}(),zj=function(){function n(r){this.dialogRef=r}return n.prototype.close=function(r){this.dialogRef.close(r)},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-config-dialog"]],decls:10,vars:0,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"container"],["mat-raised-button","","color","primary",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1,"Choose configuration file"),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"div",2),e.TgZ(4,"div"),e.TgZ(5,"button",3),e.NdJ("click",function(){return i.close("startup-config")}),e._uU(6,"startup configuration"),e.qZA(),e.qZA(),e.TgZ(7,"div"),e.TgZ(8,"button",3),e.NdJ("click",function(){return i.close("private-config")}),e._uU(9,"private configuration"),e.qZA(),e.qZA(),e.qZA(),e.qZA())},directives:[ni,Mn],styles:[".container[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between}"]}),n}();function x_e(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"button",1),e.NdJ("click",function(){return e.CHM(t),e.oxw().exportConfig()}),e.TgZ(1,"mat-icon"),e._uU(2,"call_made"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Export config"),e.qZA(),e.qZA()}}var w_e=function(){function n(r,t){this.nodeService=r,this.dialog=t}return n.prototype.exportConfig=function(){var r=this;"vpcs"===this.node.node_type?this.nodeService.getStartupConfiguration(this.server,this.node).subscribe(function(o){r.downloadByHtmlTag(o)}):this.dialog.open(zj,{width:"500px",autoFocus:!1,disableClose:!0}).afterClosed().subscribe(function(o){"startup-config"===o?r.nodeService.getStartupConfiguration(r.server,r.node).subscribe(function(a){r.downloadByHtmlTag(a)}):"private-config"===o&&r.nodeService.getPrivateConfiguration(r.server,r.node).subscribe(function(a){r.downloadByHtmlTag(a)})})},n.prototype.downloadByHtmlTag=function(r){var t=document.createElement("a");t.setAttribute("href","data:text/plain;charset=utf-8,"+encodeURIComponent(r)),"vpcs"===this.node.node_type?t.setAttribute("download",this.node.name+"_startup.vpc"):("iou"===this.node.node_type||"dynamips"===this.node.node_type)&&t.setAttribute("download",this.node.name+"_startup.cfg");var o=new MouseEvent("click");t.dispatchEvent(o)},n.\u0275fac=function(t){return new(t||n)(e.Y36(Yr),e.Y36(no))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-export-config-action"]],inputs:{server:"server",node:"node"},decls:1,vars:1,consts:[["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&e.YNc(0,x_e,5,0,"button",0),2&t&&e.Q6J("ngIf","vpcs"===i.node.node_type||"dynamips"===i.node.node_type||"iou"===i.node.node_type)},directives:[Et.O5,Zr,sr],encapsulation:2}),n}(),k_e=["fileInput"],E_e=function(){function n(r,t,i){this.nodeService=r,this.toasterService=t,this.dialog=i}return n.prototype.triggerClick=function(){var r=this;"vpcs"!==this.node.node_type?this.dialog.open(zj,{width:"500px",autoFocus:!1,disableClose:!0}).afterClosed().subscribe(function(o){r.configType=o,r.fileInput.nativeElement.click()}):(this.configType="startup-config",this.fileInput.nativeElement.click())},n.prototype.importConfig=function(r){var t=this,i=r.target.files[0],o=new FileReader;o.onload=function(a){var s=o.result;"string"!=typeof s&&(s=s.toString()),"startup-config"===t.configType?t.nodeService.saveConfiguration(t.server,t.node,s).subscribe(function(){t.toasterService.success("Configuration for node "+t.node.name+" imported.")}):"private-config"===t.configType&&t.nodeService.savePrivateConfiguration(t.server,t.node,s).subscribe(function(){t.toasterService.success("Configuration for node "+t.node.name+" imported.")})},o.readAsText(i)},n.\u0275fac=function(t){return new(t||n)(e.Y36(Yr),e.Y36(Xn),e.Y36(no))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-import-config-action"]],viewQuery:function(t,i){var o;(1&t&&e.Gf(k_e,5),2&t)&&(e.iGM(o=e.CRH())&&(i.fileInput=o.first))},inputs:{server:"server",node:"node"},decls:7,vars:0,consts:[["type","file","accept",".txt, .vpc",1,"non-visible",3,"change"],["fileInput",""],["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"input",0,1),e.NdJ("change",function(a){return i.importConfig(a)}),e.qZA(),e.TgZ(2,"button",2),e.NdJ("click",function(){return i.triggerClick()}),e.TgZ(3,"mat-icon"),e._uU(4,"call_received"),e.qZA(),e.TgZ(5,"span"),e._uU(6,"Import config"),e.qZA(),e.qZA())},directives:[Zr,sr],styles:[".non-visible[_ngcontent-%COMP%]{display:none}"]}),n}(),M_e=function(){function n(r,t,i,o){this.nodesDataSource=r,this.drawingsDataSource=t,this.nodeService=i,this.drawingService=o}return n.prototype.ngOnInit=function(){},n.prototype.moveLayerUp=function(){var r=this;this.nodes.forEach(function(t){t.z++,r.nodesDataSource.update(t),r.nodeService.update(r.server,t).subscribe(function(i){})}),this.drawings.forEach(function(t){t.z++,r.drawingsDataSource.update(t),r.drawingService.update(r.server,t).subscribe(function(i){})})},n.\u0275fac=function(t){return new(t||n)(e.Y36(ka.G),e.Y36(xs),e.Y36(Yr),e.Y36(Ts))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-move-layer-up-action"]],inputs:{server:"server",nodes:"nodes",drawings:"drawings"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return i.moveLayerUp()}),e.TgZ(1,"mat-icon"),e._uU(2,"keyboard_arrow_up"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Move layer up"),e.qZA(),e.qZA())},directives:[Zr,sr],encapsulation:2}),n}(),A_e=function(){function n(r,t,i,o){this.nodesDataSource=r,this.drawingsDataSource=t,this.nodeService=i,this.drawingService=o}return n.prototype.ngOnInit=function(){},n.prototype.moveLayerDown=function(){var r=this;this.nodes.forEach(function(t){t.z--,r.nodesDataSource.update(t),r.nodeService.update(r.server,t).subscribe(function(i){})}),this.drawings.forEach(function(t){t.z--,r.drawingsDataSource.update(t),r.drawingService.update(r.server,t).subscribe(function(i){})})},n.\u0275fac=function(t){return new(t||n)(e.Y36(ka.G),e.Y36(xs),e.Y36(Yr),e.Y36(Ts))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-move-layer-down-action"]],inputs:{server:"server",nodes:"nodes",drawings:"drawings"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return i.moveLayerDown()}),e.TgZ(1,"mat-icon"),e._uU(2,"keyboard_arrow_down"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Move layer down"),e.qZA(),e.qZA())},directives:[Zr,sr],encapsulation:2}),n}(),D_e=function(){function n(r,t,i,o){this.nodesDataSource=r,this.drawingsDataSource=t,this.nodeService=i,this.drawingService=o}return n.prototype.ngOnInit=function(){},n.prototype.bringToFront=function(){var r=this,t=Math.max.apply(Math,this.nodes.map(function(a){return a.z})),i=Math.max.apply(Math,this.drawings.map(function(a){return a.z})),o=Math.max(t,i);o<100&&o++,this.nodes.forEach(function(a){a.z=o,r.nodesDataSource.update(a),r.nodeService.update(r.server,a).subscribe(function(s){})}),this.drawings.forEach(function(a){a.z=o,r.drawingsDataSource.update(a),r.drawingService.update(r.server,a).subscribe(function(s){})})},n.\u0275fac=function(t){return new(t||n)(e.Y36(ka.G),e.Y36(xs),e.Y36(Yr),e.Y36(Ts))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-bring-to-front-action"]],inputs:{server:"server",nodes:"nodes",drawings:"drawings"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return i.bringToFront()}),e.TgZ(1,"mat-icon"),e._uU(2,"vertical_align_top"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Bring to front"),e.qZA(),e.qZA())},directives:[Zr,sr],encapsulation:2}),n}(),IL=function(){function n(){}return n.prototype.startCapture=function(r,t,i,o){location.assign("gns3+pcap://"+r.host+":"+r.port+"?project_id="+t.project_id+"&link_id="+i.link_id+"&name="+o)},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}();function O_e(n,r){if(1&n&&(e.TgZ(0,"mat-option",11),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t[1]),e.xp6(1),e.hij(" ",t[0]," ")}}var P_e=function(){return{standalone:!0}},I_e=function(){function n(r,t,i,o,a,s){this.dialogRef=r,this.linkService=t,this.formBuilder=i,this.toasterService=o,this.nodesDataSource=a,this.packetCaptureService=s,this.linkTypes=[],this.inputForm=this.formBuilder.group({linkType:new ne.NI("",ne.kI.required),fileName:new ne.NI("",ne.kI.required)})}return n.prototype.ngOnInit=function(){this.linkTypes="ethernet"===this.link.link_type?[["Ethernet","DLT_EN10MB"]]:[["Cisco HDLC","DLT_C_HDLC"],["Cisco PPP","DLT_PPP_SERIAL"],["Frame Relay","DLT_FRELAY"],["ATM","DLT_ATM_RFC1483"]];var r=this.nodesDataSource.get(this.link.nodes[0].node_id),t=this.nodesDataSource.get(this.link.nodes[1].node_id);this.inputForm.controls.fileName.setValue(r.name+"_"+r.ports[this.link.nodes[0].port_number].name+"_to_"+t.name+"_"+t.ports[this.link.nodes[1].port_number].name)},n.prototype.onYesClick=function(){var r=this,t=!1;if(this.link.nodes.forEach(function(o){"started"===r.nodesDataSource.get(o.node_id).status&&(t=!0)}),t)if(this.inputForm.invalid)this.toasterService.error("Fill all required fields");else{var i={capture_file_name:this.inputForm.get("fileName").value,data_link_type:this.inputForm.get("linkType").value};this.startProgram&&this.packetCaptureService.startCapture(this.server,this.project,this.link,i.capture_file_name),this.linkService.startCaptureOnLink(this.server,this.link,i).subscribe(function(){r.dialogRef.close()})}else this.toasterService.error("Cannot capture because there is no running device on this link")},n.prototype.onNoClick=function(){this.dialogRef.close()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(oc),e.Y36(ne.qu),e.Y36(Xn),e.Y36(ka.G),e.Y36(IL))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-start-capture"]],decls:16,vars:5,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[3,"formGroup"],[1,"input-field"],["placeholder","Link type","formControlName","linkType","ngDefaultControl",""],[3,"value",4,"ngFor","ngForOf"],["placeholder","File name","formControlName","fileName","matInput","","type","text"],[3,"ngModelOptions","ngModel","ngModelChange"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],[3,"value"]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1,"Packet capture"),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"form",2),e.TgZ(4,"mat-form-field",3),e.TgZ(5,"mat-select",4),e.YNc(6,O_e,2,2,"mat-option",5),e.qZA(),e.qZA(),e.TgZ(7,"mat-form-field",3),e._UZ(8,"input",6),e.qZA(),e.TgZ(9,"mat-checkbox",7),e.NdJ("ngModelChange",function(a){return i.startProgram=a}),e._uU(10," Start the capture visualization program "),e.qZA(),e.qZA(),e.qZA(),e.TgZ(11,"div",8),e.TgZ(12,"button",9),e.NdJ("click",function(){return i.onNoClick()}),e._uU(13,"Cancel"),e.qZA(),e.TgZ(14,"button",10),e.NdJ("click",function(){return i.onYesClick()}),e._uU(15,"Ok"),e.qZA(),e.qZA()),2&t&&(e.xp6(3),e.Q6J("formGroup",i.inputForm),e.xp6(3),e.Q6J("ngForOf",i.linkTypes),e.xp6(3),e.Q6J("ngModelOptions",e.DdM(4,P_e))("ngModel",i.startProgram))},directives:[ni,ne._Y,ne.JL,ne.sg,Un.KE,pi.gD,ne.JJ,ne.u,ne.Fj,Et.sg,ur,Zo,ne.On,ei,Mn,ln.ey],styles:[".input-field[_ngcontent-%COMP%]{width:100%}"]}),n}();function R_e(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"button",1),e.NdJ("click",function(){return e.CHM(t),e.oxw().startCapture()}),e.TgZ(1,"mat-icon"),e._uU(2,"loupe"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Start capture"),e.qZA(),e.qZA()}}var N_e=function(){function n(r){this.dialog=r}return n.prototype.startCapture=function(){var t=this.dialog.open(I_e,{width:"400px",autoFocus:!1,disableClose:!0}).componentInstance;t.server=this.server,t.project=this.project,t.link=this.link},n.\u0275fac=function(t){return new(t||n)(e.Y36(no))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-start-capture-action"]],inputs:{server:"server",project:"project",link:"link"},decls:1,vars:1,consts:[["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&e.YNc(0,R_e,5,0,"button",0),2&t&&e.Q6J("ngIf",!i.link.capturing)},directives:[Et.O5,Zr,sr],encapsulation:2}),n}();function Z_e(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"button",1),e.NdJ("click",function(){return e.CHM(t),e.oxw().stopCapture()}),e.TgZ(1,"mat-icon"),e._uU(2,"pause_circle_filled"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Stop capture"),e.qZA(),e.qZA()}}var L_e=function(){function n(r){this.linkService=r}return n.prototype.stopCapture=function(){this.linkService.stopCaptureOnLink(this.server,this.link).subscribe(function(){})},n.\u0275fac=function(t){return new(t||n)(e.Y36(oc))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-stop-capture-action"]],inputs:{server:"server",link:"link"},decls:1,vars:1,consts:[["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&e.YNc(0,Z_e,5,0,"button",0),2&t&&e.Q6J("ngIf",i.link.capturing)},directives:[Et.O5,Zr,sr],encapsulation:2}),n}();function F_e(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"button",1),e.NdJ("click",function(){return e.CHM(t),e.oxw().startCapture()}),e.TgZ(1,"mat-icon"),e._uU(2,"search"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Start Wireshark"),e.qZA(),e.qZA()}}var B_e=function(){function n(r){this.packetCaptureService=r}return n.prototype.startCapture=function(){var r=this.link.capture_file_name.split(".");this.packetCaptureService.startCapture(this.server,this.project,this.link,r[0])},n.\u0275fac=function(t){return new(t||n)(e.Y36(IL))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-start-capture-on-started-link-action"]],inputs:{server:"server",project:"project",link:"link"},decls:1,vars:1,consts:[["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&e.YNc(0,F_e,5,0,"button",0),2&t&&e.Q6J("ngIf",i.link.capturing)},directives:[Et.O5,Zr,sr],encapsulation:2}),n}();function U_e(n,r){if(1&n&&(e.TgZ(0,"div",5),e.TgZ(1,"h6"),e._uU(2),e.qZA(),e.TgZ(3,"span",6),e._uU(4),e.qZA(),e.qZA()),2&n){var t=r.$implicit;e.xp6(2),e.hij(" ",t.name," "),e.xp6(2),e.hij(" ",t.description," ")}}var H_e=function(){function n(r){this.dialogRef=r}return n.prototype.onCloseClick=function(){this.dialogRef.close()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-help-dialog"]],inputs:{title:"title",messages:"messages"},decls:7,vars:2,consts:[["mat-dialog-title",""],[1,"modal-form-container"],["class","message",4,"ngFor","ngForOf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],[1,"message"],[1,"description"]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.YNc(3,U_e,5,2,"div",2),e.qZA(),e.TgZ(4,"div",3),e.TgZ(5,"button",4),e.NdJ("click",function(){return i.onCloseClick()}),e._uU(6,"Close"),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.Oqu(i.title),e.xp6(2),e.Q6J("ngForOf",i.messages))},directives:[ni,Et.sg,ei,Mn],styles:[".message[_ngcontent-%COMP%]{margin-bottom:10px}.description[_ngcontent-%COMP%]{color:#b0bec5}"]}),n}();function V_e(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-tab-group"),e.TgZ(1,"mat-tab",9),e.TgZ(2,"mat-form-field",10),e.TgZ(3,"input",11),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().filters.frequency_drop[0]=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(4,"mat-tab",12),e.TgZ(5,"mat-form-field",10),e.TgZ(6,"input",13),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().filters.packet_loss[0]=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(7,"mat-tab",14),e.TgZ(8,"mat-form-field",10),e.TgZ(9,"input",15),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().filters.delay[0]=a}),e.qZA(),e.qZA(),e.TgZ(10,"mat-form-field",10),e.TgZ(11,"input",16),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().filters.delay[1]=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(12,"mat-tab",17),e.TgZ(13,"mat-form-field",10),e.TgZ(14,"input",15),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().filters.corrupt[0]=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(15,"mat-tab",18),e.TgZ(16,"mat-form-field",10),e.TgZ(17,"textarea",19),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().filters.bpf[0]=a}),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(3),e.Q6J("ngModel",i.filters.frequency_drop[0]),e.xp6(3),e.Q6J("ngModel",i.filters.packet_loss[0]),e.xp6(3),e.Q6J("ngModel",i.filters.delay[0]),e.xp6(2),e.Q6J("ngModel",i.filters.delay[1]),e.xp6(3),e.Q6J("ngModel",i.filters.corrupt[0]),e.xp6(3),e.Q6J("ngModel",i.filters.bpf[0])}}var q_e=function(){function n(r,t,i){this.dialogRef=r,this.linkService=t,this.dialog=i}return n.prototype.ngOnInit=function(){var r=this;this.linkService.getLink(this.server,this.link.project_id,this.link.link_id).subscribe(function(t){r.link=t,r.filters={bpf:[],corrupt:[0],delay:[0,0],frequency_drop:[0],packet_loss:[0]},r.link.filters&&(r.filters.bpf=r.link.filters.bpf?r.link.filters.bpf:[],r.filters.corrupt=r.link.filters.corrupt?r.link.filters.corrupt:[0],r.filters.delay=r.link.filters.delay?r.link.filters.delay:[0,0],r.filters.frequency_drop=r.link.filters.frequency_drop?r.link.filters.frequency_drop:[0],r.filters.packet_loss=r.link.filters.packet_loss?r.link.filters.packet_loss:[0])}),this.linkService.getAvailableFilters(this.server,this.link).subscribe(function(t){r.availableFilters=t})},n.prototype.onNoClick=function(){this.dialogRef.close()},n.prototype.onResetClick=function(){var r=this;this.link.filters={bpf:[],corrupt:[0],delay:[0,0],frequency_drop:[0],packet_loss:[0]},this.linkService.updateLink(this.server,this.link).subscribe(function(t){r.dialogRef.close()})},n.prototype.onYesClick=function(){var r=this;this.link.filters=this.filters,this.linkService.updateLink(this.server,this.link).subscribe(function(t){r.dialogRef.close()})},n.prototype.onHelpClick=function(){var t=this.dialog.open(H_e,{width:"500px",autoFocus:!1,disableClose:!0}).componentInstance;t.title="Help for filters";var i=[];this.availableFilters.forEach(function(o){i.push({name:o.name,description:o.description})}),t.messages=i},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(oc),e.Y36(no))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-packet-filters"]],decls:16,vars:1,consts:[["mat-dialog-title",""],[1,"content"],[4,"ngIf"],[1,"bottom-bar"],[1,"spacer"],["mat-dialog-actions","","layout","row",1,"dialog-actions"],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],[1,"divider"],["label","Frequency drop"],[1,"input-field"],["matInput","","placeholder","Frequency","type","number",3,"ngModel","ngModelChange"],["label","Packet loss"],["matInput","","placeholder","Chance","type","number",3,"ngModel","ngModelChange"],["label","Delay"],["matInput","","placeholder","Latency","type","number",3,"ngModel","ngModelChange"],["matInput","","placeholder","Jitter","type","number",3,"ngModel","ngModelChange"],["label","Corrupt"],["label","Berkeley Packet Filter (BPF)"],["matInput","","type","text",3,"ngModel","ngModelChange"]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1,"Packet filters"),e.qZA(),e.TgZ(2,"div",1),e.YNc(3,V_e,18,6,"mat-tab-group",2),e.qZA(),e.TgZ(4,"div",3),e._UZ(5,"div",4),e.TgZ(6,"div",5),e.TgZ(7,"button",6),e.NdJ("click",function(){return i.onNoClick()}),e._uU(8,"Cancel"),e.qZA(),e.TgZ(9,"button",6),e.NdJ("click",function(){return i.onResetClick()}),e._uU(10,"Reset"),e.qZA(),e.TgZ(11,"button",7),e.NdJ("click",function(){return i.onYesClick()}),e._uU(12,"Apply"),e.qZA(),e._UZ(13,"div",8),e.TgZ(14,"button",6),e.NdJ("click",function(){return i.onHelpClick()}),e._uU(15,"Help"),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(3),e.Q6J("ngIf",i.filters))},directives:[ni,Et.O5,ei,Mn,wo.SP,wo.uX,Un.KE,ur,ne.wV,ne.Fj,ne.JJ,ne.On],styles:[".spacer[_ngcontent-%COMP%]{flex-grow:1}.content[_ngcontent-%COMP%]{height:260px}.item[_ngcontent-%COMP%]{height:25px;font-size:10pt;margin-bottom:10px}.item-name[_ngcontent-%COMP%]{margin-bottom:10px}.item-value[_ngcontent-%COMP%]{width:100%;margin-bottom:10px}.input-field[_ngcontent-%COMP%]{width:100%;margin-top:10px}.divider[_ngcontent-%COMP%]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;flex:1 1 auto}.input-color[_ngcontent-%COMP%]{padding:0;border-width:0px;width:100%;background-color:transparent;outline:none}input[_ngcontent-%COMP%]:focus{outline:none}input[type=color][_ngcontent-%COMP%]{-webkit-appearance:none;border:none;height:25px}input[type=color][_ngcontent-%COMP%]::-webkit-color-swatch-wrapper{padding:0}input[type=color][_ngcontent-%COMP%]::-webkit-color-swatch{border:none}.modal-form-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.modal-form-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:100%}"]}),n}(),j_e=function(){function n(r){this.dialog=r}return n.prototype.openPacketFilters=function(){var t=this.dialog.open(q_e,{width:"900px",height:"400px",autoFocus:!1,disableClose:!0}).componentInstance;t.server=this.server,t.project=this.project,t.link=this.link},n.\u0275fac=function(t){return new(t||n)(e.Y36(no))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-packet-filters-action"]],inputs:{server:"server",project:"project",link:"link"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return i.openPacketFilters()}),e.TgZ(1,"mat-icon"),e._uU(2,"filter_list"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Packet filters"),e.qZA(),e.qZA())},directives:[Zr,sr],encapsulation:2}),n}();function z_e(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"button",1),e.NdJ("click",function(){return e.CHM(t),e.oxw().resumeLink()}),e.TgZ(1,"mat-icon"),e._uU(2,"play_arrow"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Resume"),e.qZA(),e.qZA()}}var W_e=function(){function n(r){this.linkService=r}return n.prototype.resumeLink=function(){this.link.suspend=!1,this.linkService.updateLink(this.server,this.link).subscribe(function(){})},n.\u0275fac=function(t){return new(t||n)(e.Y36(oc))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-resume-link-action"]],inputs:{server:"server",link:"link"},decls:1,vars:1,consts:[["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&e.YNc(0,z_e,5,0,"button",0),2&t&&e.Q6J("ngIf",i.link.suspend)},directives:[Et.O5,Zr,sr],encapsulation:2}),n}();function G_e(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"button",1),e.NdJ("click",function(){return e.CHM(t),e.oxw().suspendLink()}),e.TgZ(1,"mat-icon"),e._uU(2,"pause"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Suspend"),e.qZA(),e.qZA()}}var Y_e=function(){function n(r){this.linkService=r}return n.prototype.suspendLink=function(){this.link.suspend=!0,this.linkService.updateLink(this.server,this.link).subscribe(function(){})},n.\u0275fac=function(t){return new(t||n)(e.Y36(oc))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-suspend-link-action"]],inputs:{server:"server",link:"link"},decls:1,vars:1,consts:[["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&e.YNc(0,G_e,5,0,"button",0),2&t&&e.Q6J("ngIf",!i.link.suspend)},directives:[Et.O5,Zr,sr],encapsulation:2}),n}(),J_e=function(){function n(r,t,i,o){this.nodesDataSource=r,this.drawingsDataSource=t,this.nodeService=i,this.drawingService=o}return n.prototype.ngOnChanges=function(){this.command=1===this.nodes.length&&0===this.drawings.length?this.nodes[0].locked?"Unlock item":"Lock item":0===this.nodes.length&&1===this.drawings.length?this.drawings[0].locked?"Unlock item":"Lock item":"Lock/unlock items"},n.prototype.lock=function(){var r=this;this.nodes.forEach(function(t){t.locked=!t.locked,r.nodeService.updateNode(r.server,t).subscribe(function(i){r.nodesDataSource.update(i)})}),this.drawings.forEach(function(t){t.locked=!t.locked,r.drawingService.update(r.server,t).subscribe(function(i){r.drawingsDataSource.update(i)})})},n.\u0275fac=function(t){return new(t||n)(e.Y36(ka.G),e.Y36(xs),e.Y36(Yr),e.Y36(Ts))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-lock-action"]],inputs:{server:"server",nodes:"nodes",drawings:"drawings"},features:[e.TTD],decls:5,vars:1,consts:[["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return i.lock()}),e.TgZ(1,"mat-icon"),e._uU(2,"lock"),e.qZA(),e.TgZ(3,"span"),e._uU(4),e.qZA(),e.qZA()),2&t&&(e.xp6(4),e.Oqu(i.command))},directives:[Zr,sr],encapsulation:2}),n}(),Q_e=function(){function n(r,t,i,o,a,s,u){this.nodesDataSource=r,this.drawingsDataSource=t,this.linksDataSource=i,this.nodeService=o,this.drawingService=a,this.linkService=s,this.bottomSheet=u}return n.prototype.ngOnInit=function(){},n.prototype.confirmDelete=function(){var r=this;this.bottomSheet.open(rh);var t=this.bottomSheet._openedBottomSheetRef;t.instance.message="Do you want to delete all selected objects?",t.afterDismissed().subscribe(function(o){o&&r.delete()})},n.prototype.delete=function(){var r=this;this.nodes.forEach(function(t){r.nodesDataSource.remove(t),r.nodeService.delete(r.server,t).subscribe(function(i){})}),this.drawings.forEach(function(t){r.drawingsDataSource.remove(t),r.drawingService.delete(r.server,t).subscribe(function(i){})}),this.links.forEach(function(t){r.linksDataSource.remove(t),r.linkService.deleteLink(r.server,t).subscribe(function(){})})},n.\u0275fac=function(t){return new(t||n)(e.Y36(ka.G),e.Y36(xs),e.Y36(nh.F),e.Y36(Yr),e.Y36(Ts),e.Y36(oc),e.Y36(zS))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-delete-action"]],inputs:{server:"server",nodes:"nodes",drawings:"drawings",links:"links"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return i.confirmDelete()}),e.TgZ(1,"mat-icon"),e._uU(2,"delete"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Delete"),e.qZA(),e.qZA())},directives:[Zr,sr],encapsulation:2}),n}(),K_e=function(){function n(r,t){this.nodesDataSource=r,this.nodeService=t}return n.prototype.ngOnInit=function(){},n.prototype.alignHorizontally=function(){var r=this,t=0;this.nodes.forEach(function(i){t+=i.y}),t/=this.nodes.length,this.nodes.forEach(function(i){i.y=t,r.nodesDataSource.update(i),r.nodeService.update(r.server,i).subscribe(function(o){})})},n.\u0275fac=function(t){return new(t||n)(e.Y36(ka.G),e.Y36(Yr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-align-horizontally-action"]],inputs:{server:"server",nodes:"nodes"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return i.alignHorizontally()}),e.TgZ(1,"mat-icon"),e._uU(2,"more_horiz"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Align horizontally"),e.qZA(),e.qZA())},directives:[Zr,sr],encapsulation:2}),n}(),X_e=function(){function n(r,t){this.nodesDataSource=r,this.nodeService=t}return n.prototype.ngOnInit=function(){},n.prototype.alignVertically=function(){var r=this,t=0;this.nodes.forEach(function(i){t+=i.x}),t/=this.nodes.length,this.nodes.forEach(function(i){i.x=t,r.nodesDataSource.update(i),r.nodeService.update(r.server,i).subscribe(function(o){})})},n.\u0275fac=function(t){return new(t||n)(e.Y36(ka.G),e.Y36(Yr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-align-vertically-action"]],inputs:{server:"server",nodes:"nodes"},decls:5,vars:0,consts:[["mat-menu-item","",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return i.alignVertically()}),e.TgZ(1,"mat-icon"),e._uU(2,"more_vert"),e.qZA(),e.TgZ(3,"span"),e._uU(4,"Align vertically"),e.qZA(),e.qZA())},directives:[Zr,sr],encapsulation:2}),n}();function $_e(n,r){if(1&n&&e._UZ(0,"app-show-node-action",14),2&n){var t=e.oxw();e.Q6J("server",t.server)("node",t.nodes[0])}}function eye(n,r){if(1&n&&e._UZ(0,"app-config-node-action",14),2&n){var t=e.oxw();e.Q6J("server",t.server)("node",t.nodes[0])}}function tye(n,r){if(1&n&&e._UZ(0,"app-start-node-action",15),2&n){var t=e.oxw();e.Q6J("server",t.server)("nodes",t.nodes)}}function nye(n,r){if(1&n&&e._UZ(0,"app-suspend-node-action",15),2&n){var t=e.oxw();e.Q6J("server",t.server)("nodes",t.nodes)}}function rye(n,r){if(1&n&&e._UZ(0,"app-stop-node-action",15),2&n){var t=e.oxw();e.Q6J("server",t.server)("nodes",t.nodes)}}function iye(n,r){if(1&n&&e._UZ(0,"app-reload-node-action",15),2&n){var t=e.oxw();e.Q6J("server",t.server)("nodes",t.nodes)}}function oye(n,r){if(1&n&&e._UZ(0,"app-http-console-action",15),2&n){var t=e.oxw();e.Q6J("server",t.server)("nodes",t.nodes)}}function aye(n,r){if(1&n&&e._UZ(0,"app-http-console-new-tab-action",15),2&n){var t=e.oxw();e.Q6J("server",t.server)("nodes",t.nodes)}}function sye(n,r){if(1&n&&e._UZ(0,"app-console-device-action",15),2&n){var t=e.oxw();e.Q6J("server",t.server)("nodes",t.nodes)}}function lye(n,r){if(1&n&&e._UZ(0,"app-console-device-action-browser",14),2&n){var t=e.oxw();e.Q6J("server",t.server)("node",t.nodes[0])}}function uye(n,r){if(1&n&&e._UZ(0,"app-open-file-explorer-action",14),2&n){var t=e.oxw();e.Q6J("server",t.server)("node",t.nodes[0])}}function cye(n,r){if(1&n&&e._UZ(0,"app-change-hostname-action",14),2&n){var t=e.oxw();e.Q6J("server",t.server)("node",t.nodes[0])}}function dye(n,r){if(1&n&&e._UZ(0,"app-change-symbol-action",14),2&n){var t=e.oxw();e.Q6J("server",t.server)("node",t.nodes[0])}}function pye(n,r){if(1&n&&e._UZ(0,"app-duplicate-action",16),2&n){var t=e.oxw();e.Q6J("server",t.server)("project",t.project)("nodes",t.nodes)("drawings",t.drawings)}}function fye(n,r){if(1&n&&e._UZ(0,"app-edit-style-action",17),2&n){var t=e.oxw();e.Q6J("server",t.server)("project",t.project)("drawing",t.drawings[0])}}function hye(n,r){if(1&n&&e._UZ(0,"app-edit-text-action",18),2&n){var t=e.oxw();e.Q6J("server",t.server)("project",t.project)("drawing",t.drawings[0])("node",t.nodes[0])("label",t.labels[0])("link",t.links[0])("linkNode",t.linkNodes[0])}}function mye(n,r){if(1&n&&e._UZ(0,"app-edit-config-action",19),2&n){var t=e.oxw();e.Q6J("server",t.server)("project",t.project)("node",t.nodes[0])}}function vye(n,r){if(1&n&&e._UZ(0,"app-export-config-action",14),2&n){var t=e.oxw();e.Q6J("server",t.server)("node",t.nodes[0])}}function gye(n,r){if(1&n&&e._UZ(0,"app-import-config-action",14),2&n){var t=e.oxw();e.Q6J("server",t.server)("node",t.nodes[0])}}function _ye(n,r){if(1&n&&e._UZ(0,"app-move-layer-up-action",20),2&n){var t=e.oxw();e.Q6J("server",t.server)("nodes",t.nodes)("drawings",t.drawings)}}function yye(n,r){if(1&n&&e._UZ(0,"app-move-layer-down-action",20),2&n){var t=e.oxw();e.Q6J("server",t.server)("nodes",t.nodes)("drawings",t.drawings)}}function bye(n,r){if(1&n&&e._UZ(0,"app-bring-to-front-action",20),2&n){var t=e.oxw();e.Q6J("server",t.server)("nodes",t.nodes)("drawings",t.drawings)}}function Cye(n,r){if(1&n&&e._UZ(0,"app-start-capture-action",21),2&n){var t=e.oxw();e.Q6J("server",t.server)("project",t.project)("link",t.links[0])}}function Sye(n,r){if(1&n&&e._UZ(0,"app-stop-capture-action",22),2&n){var t=e.oxw();e.Q6J("server",t.server)("link",t.links[0])}}function Tye(n,r){if(1&n&&e._UZ(0,"app-start-capture-on-started-link-action",21),2&n){var t=e.oxw();e.Q6J("server",t.server)("project",t.project)("link",t.links[0])}}function xye(n,r){if(1&n&&e._UZ(0,"app-packet-filters-action",21),2&n){var t=e.oxw();e.Q6J("server",t.server)("project",t.project)("link",t.links[0])}}function wye(n,r){if(1&n&&e._UZ(0,"app-resume-link-action",22),2&n){var t=e.oxw();e.Q6J("server",t.server)("link",t.links[0])}}function kye(n,r){if(1&n&&e._UZ(0,"app-suspend-link-action",22),2&n){var t=e.oxw();e.Q6J("server",t.server)("link",t.links[0])}}function Eye(n,r){if(1&n&&e._UZ(0,"app-lock-action",20),2&n){var t=e.oxw();e.Q6J("server",t.server)("nodes",t.nodes)("drawings",t.drawings)}}function Mye(n,r){if(1&n&&e._UZ(0,"app-delete-action",23),2&n){var t=e.oxw();e.Q6J("server",t.server)("nodes",t.nodes)("drawings",t.drawings)("links",t.links)}}function Aye(n,r){if(1&n&&e._UZ(0,"app-align-horizontally-action",15),2&n){var t=e.oxw();e.Q6J("server",t.server)("nodes",t.nodes)}}function Dye(n,r){if(1&n&&e._UZ(0,"app-align-vertically-action",15),2&n){var t=e.oxw();e.Q6J("server",t.server)("nodes",t.nodes)}}var Wj=function(){function n(r,t,i,o){this.sanitizer=r,this.changeDetector=t,this.electronService=i,this.projectService=o,this.drawings=[],this.nodes=[],this.labels=[],this.links=[],this.linkNodes=[],this.hasTextCapabilities=!1,this.isElectronApp=!1,this.isBundledServer=!1}return n.prototype.ngOnInit=function(){this.setPosition(0,0),this.isElectronApp=this.electronService.isElectronApp,this.isBundledServer="bundled"===this.server.location},n.prototype.setPosition=function(r,t){this.topPosition=this.sanitizer.bypassSecurityTrustStyle(r+"px"),this.leftPosition=this.sanitizer.bypassSecurityTrustStyle(t+"px"),this.changeDetector.detectChanges()},n.prototype.openMenuForDrawing=function(r,t,i){this.resetCapabilities(),this.hasTextCapabilities=r.element instanceof gv,this.drawings=[r],this.setPosition(t,i),this.contextMenu.openMenu()},n.prototype.openMenuForNode=function(r,t,i){this.resetCapabilities(),this.nodes=[r],this.setPosition(t,i),this.contextMenu.openMenu()},n.prototype.openMenuForLabel=function(r,t,i,o){this.resetCapabilities(),this.labels=[r],this.nodes=[t],this.setPosition(i,o),this.contextMenu.openMenu()},n.prototype.openMenuForInterfaceLabel=function(r,t,i,o){this.resetCapabilities(),this.linkNodes=[r],this.links=[t],this.setPosition(i,o),this.contextMenu.openMenu()},n.prototype.openMenuForListOfElements=function(r,t,i,o,a,s){this.resetCapabilities(),this.drawings=r,this.nodes=t,this.labels=i,this.links=o,this.setPosition(a,s),this.contextMenu.openMenu()},n.prototype.resetCapabilities=function(){this.drawings=[],this.nodes=[],this.labels=[],this.linkNodes=[],this.links=[],this.hasTextCapabilities=!1},n.\u0275fac=function(t){return new(t||n)(e.Y36(B.H7),e.Y36(e.sBO),e.Y36(ds),e.Y36(cd.Y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-context-menu"]],viewQuery:function(t,i){var o;(1&t&&e.Gf(Qa,5),2&t)&&(e.iGM(o=e.CRH())&&(i.contextMenu=o.first))},inputs:{project:"project",server:"server"},decls:36,vars:37,consts:[[1,"context-menu"],[3,"matMenuTriggerFor"],[1,"context-menu-items"],["contextMenu","matMenu"],[3,"server","node",4,"ngIf"],[3,"server","nodes",4,"ngIf"],[3,"server","project","nodes","drawings",4,"ngIf"],[3,"server","project","drawing",4,"ngIf"],[3,"server","project","drawing","node","label","link","linkNode",4,"ngIf"],[3,"server","project","node",4,"ngIf"],[3,"server","nodes","drawings",4,"ngIf"],[3,"server","project","link",4,"ngIf"],[3,"server","link",4,"ngIf"],[3,"server","nodes","drawings","links",4,"ngIf"],[3,"server","node"],[3,"server","nodes"],[3,"server","project","nodes","drawings"],[3,"server","project","drawing"],[3,"server","project","drawing","node","label","link","linkNode"],[3,"server","project","node"],[3,"server","nodes","drawings"],[3,"server","project","link"],[3,"server","link"],[3,"server","nodes","drawings","links"]],template:function(t,i){if(1&t&&(e.TgZ(0,"div",0),e._UZ(1,"span",1),e.TgZ(2,"mat-menu",2,3),e.YNc(4,$_e,1,2,"app-show-node-action",4),e.YNc(5,eye,1,2,"app-config-node-action",4),e.YNc(6,tye,1,2,"app-start-node-action",5),e.YNc(7,nye,1,2,"app-suspend-node-action",5),e.YNc(8,rye,1,2,"app-stop-node-action",5),e.YNc(9,iye,1,2,"app-reload-node-action",5),e.YNc(10,oye,1,2,"app-http-console-action",5),e.YNc(11,aye,1,2,"app-http-console-new-tab-action",5),e.YNc(12,sye,1,2,"app-console-device-action",5),e.YNc(13,lye,1,2,"app-console-device-action-browser",4),e.YNc(14,uye,1,2,"app-open-file-explorer-action",4),e.YNc(15,cye,1,2,"app-change-hostname-action",4),e.YNc(16,dye,1,2,"app-change-symbol-action",4),e.YNc(17,pye,1,4,"app-duplicate-action",6),e.YNc(18,fye,1,3,"app-edit-style-action",7),e.YNc(19,hye,1,7,"app-edit-text-action",8),e.YNc(20,mye,1,3,"app-edit-config-action",9),e.YNc(21,vye,1,2,"app-export-config-action",4),e.YNc(22,gye,1,2,"app-import-config-action",4),e.YNc(23,_ye,1,3,"app-move-layer-up-action",10),e.YNc(24,yye,1,3,"app-move-layer-down-action",10),e.YNc(25,bye,1,3,"app-bring-to-front-action",10),e.YNc(26,Cye,1,3,"app-start-capture-action",11),e.YNc(27,Sye,1,2,"app-stop-capture-action",12),e.YNc(28,Tye,1,3,"app-start-capture-on-started-link-action",11),e.YNc(29,xye,1,3,"app-packet-filters-action",11),e.YNc(30,wye,1,2,"app-resume-link-action",12),e.YNc(31,kye,1,2,"app-suspend-link-action",12),e.YNc(32,Eye,1,3,"app-lock-action",10),e.YNc(33,Mye,1,4,"app-delete-action",13),e.YNc(34,Aye,1,2,"app-align-horizontally-action",5),e.YNc(35,Dye,1,2,"app-align-vertically-action",5),e.qZA(),e.qZA()),2&t){var o=e.MAs(3);e.Udp("left",i.leftPosition)("top",i.topPosition),e.xp6(1),e.Q6J("matMenuTriggerFor",o),e.xp6(3),e.Q6J("ngIf",1===i.nodes.length),e.xp6(1),e.Q6J("ngIf",1===i.nodes.length),e.xp6(1),e.Q6J("ngIf",i.nodes.length),e.xp6(1),e.Q6J("ngIf",i.nodes.length),e.xp6(1),e.Q6J("ngIf",i.nodes.length),e.xp6(1),e.Q6J("ngIf",i.nodes.length),e.xp6(1),e.Q6J("ngIf",!i.projectService.isReadOnly(i.project)&&i.nodes.length>0),e.xp6(1),e.Q6J("ngIf",!i.projectService.isReadOnly(i.project)&&i.nodes.length>0),e.xp6(1),e.Q6J("ngIf",!i.projectService.isReadOnly(i.project)&&i.nodes.length&&i.isElectronApp),e.xp6(1),e.Q6J("ngIf",!i.projectService.isReadOnly(i.project)&&1===i.nodes.length&&!i.isElectronApp),e.xp6(1),e.Q6J("ngIf",!i.projectService.isReadOnly(i.project)&&1===i.nodes.length&&i.isElectronApp),e.xp6(1),e.Q6J("ngIf",!i.projectService.isReadOnly(i.project)&&1===i.nodes.length),e.xp6(1),e.Q6J("ngIf",!i.projectService.isReadOnly(i.project)&&1===i.nodes.length),e.xp6(1),e.Q6J("ngIf",i.drawings.length>0||i.nodes.length>0),e.xp6(1),e.Q6J("ngIf",!i.projectService.isReadOnly(i.project)&&1===i.drawings.length&&!i.hasTextCapabilities),e.xp6(1),e.Q6J("ngIf",!i.projectService.isReadOnly(i.project)&&(1===i.drawings.length&&i.hasTextCapabilities&&0===i.labels.length&&0===i.linkNodes.length||1===i.labels.length&&0===i.linkNodes.length&&0===i.drawings.length||1===i.linkNodes.length&&0===i.labels.length&&0===i.drawings.length)),e.xp6(1),e.Q6J("ngIf",1===i.nodes.length&&"vpcs"===i.nodes[0].node_type),e.xp6(1),e.Q6J("ngIf",1===i.nodes.length&&("vpcs"===i.nodes[0].node_type||"iou"===i.nodes[0].node_type||"dynamips"===i.nodes[0].node_type)),e.xp6(1),e.Q6J("ngIf",1===i.nodes.length&&("vpcs"===i.nodes[0].node_type||"iou"===i.nodes[0].node_type||"dynamips"===i.nodes[0].node_type)),e.xp6(1),e.Q6J("ngIf",!i.projectService.isReadOnly(i.project)&&(i.drawings.length||i.nodes.length)),e.xp6(1),e.Q6J("ngIf",!i.projectService.isReadOnly(i.project)&&(i.drawings.length||i.nodes.length)),e.xp6(1),e.Q6J("ngIf",!i.projectService.isReadOnly(i.project)&&(i.drawings.length||i.nodes.length)),e.xp6(1),e.Q6J("ngIf",!i.projectService.isReadOnly(i.project)&&0===i.drawings.length&&0===i.nodes.length&&1===i.links.length),e.xp6(1),e.Q6J("ngIf",!i.projectService.isReadOnly(i.project)&&0===i.drawings.length&&0===i.nodes.length&&1===i.links.length&&0===i.linkNodes.length),e.xp6(1),e.Q6J("ngIf",!i.projectService.isReadOnly(i.project)&&0===i.drawings.length&&0===i.nodes.length&&1===i.links.length&&0===i.linkNodes.length),e.xp6(1),e.Q6J("ngIf",!i.projectService.isReadOnly(i.project)&&0===i.drawings.length&&0===i.nodes.length&&1===i.links.length&&0===i.linkNodes.length),e.xp6(1),e.Q6J("ngIf",!i.projectService.isReadOnly(i.project)&&0===i.drawings.length&&0===i.nodes.length&&1===i.links.length&&0===i.linkNodes.length),e.xp6(1),e.Q6J("ngIf",!i.projectService.isReadOnly(i.project)&&0===i.drawings.length&&0===i.nodes.length&&1===i.links.length&&0===i.linkNodes.length),e.xp6(1),e.Q6J("ngIf",!i.projectService.isReadOnly(i.project)&&(i.drawings.length>0||i.nodes.length>0)),e.xp6(1),e.Q6J("ngIf",!i.projectService.isReadOnly(i.project)&&(i.drawings.length>0||i.nodes.length>0||i.links.length>0)&&0===i.linkNodes.length),e.xp6(1),e.Q6J("ngIf",!i.projectService.isReadOnly(i.project)&&i.nodes.length>1),e.xp6(1),e.Q6J("ngIf",!i.projectService.isReadOnly(i.project)&&i.nodes.length>1)}},directives:[Qa,Ss,Et.O5,Gme,Wge,Yge,Qge,Xge,e_e,t_e,n_e,r_e,i_e,o_e,s_e,u_e,c_e,m_e,__e,T_e,w_e,E_e,M_e,A_e,D_e,N_e,L_e,B_e,j_e,W_e,Y_e,J_e,Q_e,K_e,X_e],styles:[".context-menu[_ngcontent-%COMP%]{position:absolute;min-height:0px}.mat-menu-panel[_ngcontent-%COMP%]   ng-trigger[_ngcontent-%COMP%]   ng-trigger-transformMenu[_ngcontent-%COMP%]   ng-tns-c7-5[_ngcontent-%COMP%]   context-menu-items[_ngcontent-%COMP%]   mat-menu-after[_ngcontent-%COMP%]   mat-menu-below[_ngcontent-%COMP%]   ng-star-inserted[_ngcontent-%COMP%]   mat-elevation-z4[_ngcontent-%COMP%]{min-height:0px!important}"]}),n}();function Oye(n,r){if(1&n&&(e.TgZ(0,"mat-option",19),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Pye(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-form-field",16),e.TgZ(1,"mat-select",17),e.NdJ("selectionChange",function(a){return e.CHM(t),e.oxw(2)._changePageSize(a.value)}),e.YNc(2,Oye,2,2,"mat-option",18),e.qZA(),e.qZA()}if(2&n){var i=e.oxw(2);e.Q6J("appearance",i._formFieldAppearance)("color",i.color),e.xp6(1),e.Q6J("value",i.pageSize)("disabled",i.disabled)("aria-label",i._intl.itemsPerPageLabel),e.xp6(1),e.Q6J("ngForOf",i._displayedPageSizeOptions)}}function Iye(n,r){if(1&n&&(e.TgZ(0,"div",20),e._uU(1),e.qZA()),2&n){var t=e.oxw(2);e.xp6(1),e.Oqu(t.pageSize)}}function Rye(n,r){if(1&n&&(e.TgZ(0,"div",12),e.TgZ(1,"div",13),e._uU(2),e.qZA(),e.YNc(3,Pye,3,6,"mat-form-field",14),e.YNc(4,Iye,2,1,"div",15),e.qZA()),2&n){var t=e.oxw();e.xp6(2),e.hij(" ",t._intl.itemsPerPageLabel," "),e.xp6(1),e.Q6J("ngIf",t._displayedPageSizeOptions.length>1),e.xp6(1),e.Q6J("ngIf",t._displayedPageSizeOptions.length<=1)}}function Nye(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"button",21),e.NdJ("click",function(){return e.CHM(t),e.oxw().firstPage()}),e.O4$(),e.TgZ(1,"svg",7),e._UZ(2,"path",22),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.Q6J("matTooltip",i._intl.firstPageLabel)("matTooltipDisabled",i._previousButtonsDisabled())("matTooltipPosition","above")("disabled",i._previousButtonsDisabled()),e.uIk("aria-label",i._intl.firstPageLabel)}}function Zye(n,r){if(1&n){var t=e.EpF();e.O4$(),e.kcU(),e.TgZ(0,"button",23),e.NdJ("click",function(){return e.CHM(t),e.oxw().lastPage()}),e.O4$(),e.TgZ(1,"svg",7),e._UZ(2,"path",24),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.Q6J("matTooltip",i._intl.lastPageLabel)("matTooltipDisabled",i._nextButtonsDisabled())("matTooltipPosition","above")("disabled",i._nextButtonsDisabled()),e.uIk("aria-label",i._intl.lastPageLabel)}}var WS=function(){var n=function r(){(0,g.Z)(this,r),this.changes=new On.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=function(t,i,o){if(0==o||0==i)return"0 of ".concat(o);var a=t*i,s=a<(o=Math.max(o,0))?Math.min(a+i,o):a+i;return"".concat(a+1," \u2013 ").concat(s," of ").concat(o)}};return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=e.Yz7({factory:function(){return new n},token:n,providedIn:"root"}),n}(),Fye={provide:WS,deps:[[new e.FiY,new e.tp0,WS]],useFactory:function(n){return n||new WS}},Uye=new e.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),Hye=(0,ln.Id)((0,ln.dB)(function(){return function n(){(0,g.Z)(this,n)}}())),Vye=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s){var u;if((0,g.Z)(this,i),(u=t.call(this))._intl=o,u._changeDetectorRef=a,u._pageIndex=0,u._length=0,u._pageSizeOptions=[],u._hidePageSize=!1,u._showFirstLastButtons=!1,u.page=new e.vpe,u._intlChanges=o.changes.subscribe(function(){return u._changeDetectorRef.markForCheck()}),s){var p=s.pageSize,m=s.pageSizeOptions,b=s.hidePageSize,I=s.showFirstLastButtons;null!=p&&(u._pageSize=p),null!=m&&(u._pageSizeOptions=m),null!=b&&(u._hidePageSize=b),null!=I&&(u._showFirstLastButtons=I)}return u}return(0,k.Z)(i,[{key:"pageIndex",get:function(){return this._pageIndex},set:function(a){this._pageIndex=Math.max((0,Dn.su)(a),0),this._changeDetectorRef.markForCheck()}},{key:"length",get:function(){return this._length},set:function(a){this._length=(0,Dn.su)(a),this._changeDetectorRef.markForCheck()}},{key:"pageSize",get:function(){return this._pageSize},set:function(a){this._pageSize=Math.max((0,Dn.su)(a),0),this._updateDisplayedPageSizeOptions()}},{key:"pageSizeOptions",get:function(){return this._pageSizeOptions},set:function(a){this._pageSizeOptions=(a||[]).map(function(s){return(0,Dn.su)(s)}),this._updateDisplayedPageSizeOptions()}},{key:"hidePageSize",get:function(){return this._hidePageSize},set:function(a){this._hidePageSize=(0,Dn.Ig)(a)}},{key:"showFirstLastButtons",get:function(){return this._showFirstLastButtons},set:function(a){this._showFirstLastButtons=(0,Dn.Ig)(a)}},{key:"ngOnInit",value:function(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}},{key:"ngOnDestroy",value:function(){this._intlChanges.unsubscribe()}},{key:"nextPage",value:function(){if(this.hasNextPage()){var a=this.pageIndex;this.pageIndex++,this._emitPageEvent(a)}}},{key:"previousPage",value:function(){if(this.hasPreviousPage()){var a=this.pageIndex;this.pageIndex--,this._emitPageEvent(a)}}},{key:"firstPage",value:function(){if(this.hasPreviousPage()){var a=this.pageIndex;this.pageIndex=0,this._emitPageEvent(a)}}},{key:"lastPage",value:function(){if(this.hasNextPage()){var a=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(a)}}},{key:"hasPreviousPage",value:function(){return this.pageIndex>=1&&0!=this.pageSize}},{key:"hasNextPage",value:function(){var a=this.getNumberOfPages()-1;return this.pageIndex<a&&0!=this.pageSize}},{key:"getNumberOfPages",value:function(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}},{key:"_changePageSize",value:function(a){var u=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/a)||0,this.pageSize=a,this._emitPageEvent(u)}},{key:"_nextButtonsDisabled",value:function(){return this.disabled||!this.hasNextPage()}},{key:"_previousButtonsDisabled",value:function(){return this.disabled||!this.hasPreviousPage()}},{key:"_updateDisplayedPageSizeOptions",value:function(){!this._initialized||(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort(function(a,s){return a-s}),this._changeDetectorRef.markForCheck())}},{key:"_emitPageEvent",value:function(a){this.page.emit({previousPageIndex:a,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}]),i}(Hye);return n.\u0275fac=function(t){return new(t||n)(e.Y36(WS),e.Y36(e.sBO),e.Y36(void 0))},n.\u0275dir=e.lG2({type:n,inputs:{pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",color:"color"},outputs:{page:"page"},features:[e.qOj]}),n}(),Gj=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s){var u;return(0,g.Z)(this,i),u=t.call(this,o,a,s),s&&null!=s.formFieldAppearance&&(u._formFieldAppearance=s.formFieldAppearance),u}return i}(Vye);return n.\u0275fac=function(t){return new(t||n)(e.Y36(WS),e.Y36(e.sBO),e.Y36(Uye,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[e.qOj],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.YNc(2,Rye,5,3,"div",2),e.TgZ(3,"div",3),e.TgZ(4,"div",4),e._uU(5),e.qZA(),e.YNc(6,Nye,3,5,"button",5),e.TgZ(7,"button",6),e.NdJ("click",function(){return i.previousPage()}),e.O4$(),e.TgZ(8,"svg",7),e._UZ(9,"path",8),e.qZA(),e.qZA(),e.kcU(),e.TgZ(10,"button",9),e.NdJ("click",function(){return i.nextPage()}),e.O4$(),e.TgZ(11,"svg",7),e._UZ(12,"path",10),e.qZA(),e.qZA(),e.YNc(13,Zye,3,5,"button",11),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(2),e.Q6J("ngIf",!i.hidePageSize),e.xp6(3),e.hij(" ",i._intl.getRangeLabel(i.pageIndex,i.pageSize,i.length)," "),e.xp6(1),e.Q6J("ngIf",i.showFirstLastButtons),e.xp6(1),e.Q6J("matTooltip",i._intl.previousPageLabel)("matTooltipDisabled",i._previousButtonsDisabled())("matTooltipPosition","above")("disabled",i._previousButtonsDisabled()),e.uIk("aria-label",i._intl.previousPageLabel),e.xp6(3),e.Q6J("matTooltip",i._intl.nextPageLabel)("matTooltipDisabled",i._nextButtonsDisabled())("matTooltipPosition","above")("disabled",i._nextButtonsDisabled()),e.uIk("aria-label",i._intl.nextPageLabel),e.xp6(3),e.Q6J("ngIf",i.showFirstLastButtons))},directives:[Et.O5,Mn,Ja,Un.KE,pi.gD,Et.sg,ln.ey],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}\n"],encapsulation:2,changeDetection:0}),n}(),qye=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[Fye],imports:[[Et.ez,u2,pi.LD,fq,ln.BQ]]}),n}(),jye=f(52402),Yj=function(){function n(r){this.dialogRef=r}return n.prototype.ngOnInit=function(){},n.prototype.onNoClick=function(){this.dialogRef.close(!1)},n.prototype.onYesClick=function(){this.dialogRef.close(!0)},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-information-dialog"]],decls:7,vars:1,consts:[["mat-dialog-actions",""],["mat-button","","color","accent",1,"cancelButton",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",1,"confirmButton",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"span"),e._uU(1),e.qZA(),e.TgZ(2,"div",0),e.TgZ(3,"button",1),e.NdJ("click",function(){return i.onNoClick()}),e._uU(4,"No"),e.qZA(),e.TgZ(5,"button",2),e.NdJ("click",function(){return i.onYesClick()}),e._uU(6," Yes "),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.Oqu(i.confirmationMessage))},directives:[ei,Mn],styles:[""]}),n}();function zye(n,r){if(1&n&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&n){var t=e.oxw();e.xp6(1),e.hij("Adapters: ",t.appliance.qemu.adapters,"")}}function Wye(n,r){if(1&n&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&n){var t=e.oxw();e.xp6(1),e.hij("Console type: ",t.appliance.qemu.console_type,"")}}var Gye=function(){function n(r,t){this.dialogRef=r,this.data=t}return n.prototype.onNoClick=function(){this.dialogRef.close()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(ld))},n.\u0275cmp=e.Xpm({type:n,selectors:[["appliance-info-dialog"]],decls:15,vars:6,consts:[[1,"title-container"],["mat-dialog-title",""],["mat-dialog-content",""],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","tabindex","-1","color","accent",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"h1",1),e._uU(2),e.qZA(),e.qZA(),e.TgZ(3,"div",2),e.TgZ(4,"div"),e._uU(5),e.qZA(),e.TgZ(6,"div"),e._uU(7),e.qZA(),e.TgZ(8,"div"),e._uU(9),e.qZA(),e.YNc(10,zye,2,1,"div",3),e.YNc(11,Wye,2,1,"div",3),e.qZA(),e.TgZ(12,"div",4),e.TgZ(13,"button",5),e.NdJ("click",function(){return i.onNoClick()}),e._uU(14,"Close"),e.qZA(),e.qZA()),2&t&&(e.xp6(2),e.Oqu(i.appliance.name),e.xp6(3),e.hij("Vendor: ",i.appliance.vendor_name,""),e.xp6(2),e.hij("Status: ",i.appliance.status,""),e.xp6(2),e.hij("Maintainer: ",i.appliance.maintainer,""),e.xp6(1),e.Q6J("ngIf",i.appliance.qemu),e.xp6(1),e.Q6J("ngIf",i.appliance.qemu))},directives:[ni,oy,Et.O5,ei,Mn],encapsulation:2}),n}(),Yye=function(n,r){return function(t){return(0,mS.H)(500).pipe((0,Us.w)(function(){return r.list(n)}),(0,wr.U)(function(i){return i.find(function(o){return o.name===t.value})?{templateExist:!0}:null}))}};function Jye(n,r){1&n&&(e.TgZ(0,"mat-error"),e._uU(1,"Template name is required"),e.qZA())}function Qye(n,r){1&n&&(e.TgZ(0,"mat-error"),e._uU(1,"Template name is incorrect"),e.qZA())}function Kye(n,r){1&n&&(e.TgZ(0,"mat-error"),e._uU(1,"Template with this name exists"),e.qZA())}var Xye=function(n){return{"is-invalid":n}},F2=function(){function n(r,t,i,o,a,s,u,p){this.dialogRef=r,this.router=t,this.dialog=i,this.toasterService=o,this.formBuilder=a,this.templateNameValidator=s,this.templateService=u,this.data=p}return n.prototype.ngOnInit=function(){var r=this;this.templateNameForm=this.formBuilder.group({templateName:new ne.NI(this.data.name,[ne.kI.required,this.templateNameValidator.get],[Yye(this.server,this.templateService)])}),setTimeout(function(){r.templateNameForm.controls.templateName.markAsTouched()},100)},Object.defineProperty(n.prototype,"form",{get:function(){return this.templateNameForm.controls},enumerable:!1,configurable:!0}),n.prototype.onAddClick=function(){var r=this;this.templateNameForm.invalid?this.toasterService.error("Please enter correct name for new template"):this.templateService.list(this.server).subscribe(function(t){var i=r.templateNameForm.controls.templateName.value;t.find(function(a){return a.name===i})?r.toasterService.error("Template with this name exists"):r.dialogRef.close(r.templateNameForm.controls.templateName.value)})},n.prototype.onNoClick=function(){this.dialogRef.close()},n.prototype.onKeyDown=function(r){"Enter"===r.key&&this.onAddClick()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(kr),e.Y36(no),e.Y36(Xn),e.Y36(ne.qu),e.Y36(vp),e.Y36(ay),e.Y36(ld))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-template-name-dialog"]],features:[e._Bn([vp])],decls:13,vars:7,consts:[["mat-dialog-title",""],[1,"file-name-form",3,"formGroup"],[1,"file-name-form-field"],["matInput","","type","text","formControlName","templateName","placeholder","Template name",3,"ngClass","keydown"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",1,"add-project-button",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1,"Please enter name for the new template"),e.qZA(),e.TgZ(2,"form",1),e.TgZ(3,"mat-form-field",2),e.TgZ(4,"input",3),e.NdJ("keydown",function(a){return i.onKeyDown(a)}),e.qZA(),e.YNc(5,Jye,2,0,"mat-error",4),e.YNc(6,Qye,2,0,"mat-error",4),e.YNc(7,Kye,2,0,"mat-error",4),e.qZA(),e.TgZ(8,"div",5),e.TgZ(9,"button",6),e.NdJ("click",function(){return i.onNoClick()}),e._uU(10,"Cancel"),e.qZA(),e.TgZ(11,"button",7),e.NdJ("click",function(){return i.onAddClick()}),e._uU(12," Add template "),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(2),e.Q6J("formGroup",i.templateNameForm),e.xp6(2),e.Q6J("ngClass",e.VKq(5,Xye,null==i.form.templateName?null:i.form.templateName.errors)),e.xp6(1),e.Q6J("ngIf",(null==i.form.templateName?null:i.form.templateName.touched)&&(null==i.form.templateName?null:i.form.templateName.errors)&&(null==i.form.templateName?null:i.form.templateName.errors.required)),e.xp6(1),e.Q6J("ngIf",(null==i.form.templateName?null:i.form.templateName.errors)&&(null==i.form.templateName?null:i.form.templateName.errors.invalidName)),e.xp6(1),e.Q6J("ngIf",(null==i.form.templateName?null:i.form.templateName.errors)&&(null==i.form.templateName?null:i.form.templateName.errors.templateExist)))},directives:[ni,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,Et.mk,Et.O5,ei,Mn,Un.TO],styles:[".file-name-form-field[_ngcontent-%COMP%]{width:100%}.project-snackbar[_ngcontent-%COMP%]{background:#2196f3}"]}),n}(),Jj=function(){function n(r){this.httpServer=r}return n.prototype.getAppliances=function(r){return this.httpServer.get(r,"/appliances")},n.prototype.getAppliance=function(r,t){return this.httpServer.get(r,t)},n.prototype.getUploadPath=function(r,t,i){return r.protocol+"//"+r.host+":"+r.port+"/v2/compute/"+t+"/images/"+i},n.prototype.updateAppliances=function(r){return this.httpServer.get(r,"/appliances?update=yes")},n.\u0275fac=function(t){return new(t||n)(e.LFG(Yo.wh))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),$ye=["mat-sort-header",""];function ebe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",3),e.NdJ("@arrowPosition.start",function(){return e.CHM(t),e.oxw()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return e.CHM(t),e.oxw()._disableViewStateAnimation=!1}),e._UZ(1,"div",4),e.TgZ(2,"div",5),e._UZ(3,"div",6),e._UZ(4,"div",7),e._UZ(5,"div",8),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.Q6J("@arrowOpacity",i._getArrowViewState())("@arrowPosition",i._getArrowViewState())("@allowChildren",i._getArrowDirectionState()),e.xp6(2),e.Q6J("@indicator",i._getArrowDirectionState()),e.xp6(1),e.Q6J("@leftPointer",i._getArrowDirectionState()),e.xp6(1),e.Q6J("@rightPointer",i._getArrowDirectionState())}}var tbe=["*"],nbe=new e.OlP("MAT_SORT_DEFAULT_OPTIONS"),rbe=(0,ln.dB)((0,ln.Id)(function(){return function n(){(0,g.Z)(this,n)}}())),GS=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o){var a;return(0,g.Z)(this,i),(a=t.call(this))._defaultOptions=o,a.sortables=new Map,a._stateChanges=new On.xQ,a.start="asc",a._direction="",a.sortChange=new e.vpe,a}return(0,k.Z)(i,[{key:"direction",get:function(){return this._direction},set:function(a){this._direction=a}},{key:"disableClear",get:function(){return this._disableClear},set:function(a){this._disableClear=(0,Dn.Ig)(a)}},{key:"register",value:function(a){this.sortables.set(a.id,a)}},{key:"deregister",value:function(a){this.sortables.delete(a.id)}},{key:"sort",value:function(a){this.active!=a.id?(this.active=a.id,this.direction=a.start?a.start:this.start):this.direction=this.getNextSortDirection(a),this.sortChange.emit({active:this.active,direction:this.direction})}},{key:"getNextSortDirection",value:function(a){var s,u,p;if(!a)return"";var m=null!==(u=null!==(s=null==a?void 0:a.disableClear)&&void 0!==s?s:this.disableClear)&&void 0!==u?u:!!(null===(p=this._defaultOptions)||void 0===p?void 0:p.disableClear),b=function(n,r){var t=["asc","desc"];return"desc"==n&&t.reverse(),r||t.push(""),t}(a.start||this.start,m),I=b.indexOf(this.direction)+1;return I>=b.length&&(I=0),b[I]}},{key:"ngOnInit",value:function(){this._markInitialized()}},{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),i}(rbe);return n.\u0275fac=function(t){return new(t||n)(e.Y36(nbe,8))},n.\u0275dir=e.lG2({type:n,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"],active:["matSortActive","active"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[e.qOj,e.TTD]}),n}(),ih=ln.mZ.ENTERING+" "+ln.yN.STANDARD_CURVE,gy={indicator:(0,on.X$)("indicator",[(0,on.SB)("active-asc, asc",(0,on.oB)({transform:"translateY(0px)"})),(0,on.SB)("active-desc, desc",(0,on.oB)({transform:"translateY(10px)"})),(0,on.eR)("active-asc <=> active-desc",(0,on.jt)(ih))]),leftPointer:(0,on.X$)("leftPointer",[(0,on.SB)("active-asc, asc",(0,on.oB)({transform:"rotate(-45deg)"})),(0,on.SB)("active-desc, desc",(0,on.oB)({transform:"rotate(45deg)"})),(0,on.eR)("active-asc <=> active-desc",(0,on.jt)(ih))]),rightPointer:(0,on.X$)("rightPointer",[(0,on.SB)("active-asc, asc",(0,on.oB)({transform:"rotate(45deg)"})),(0,on.SB)("active-desc, desc",(0,on.oB)({transform:"rotate(-45deg)"})),(0,on.eR)("active-asc <=> active-desc",(0,on.jt)(ih))]),arrowOpacity:(0,on.X$)("arrowOpacity",[(0,on.SB)("desc-to-active, asc-to-active, active",(0,on.oB)({opacity:1})),(0,on.SB)("desc-to-hint, asc-to-hint, hint",(0,on.oB)({opacity:.54})),(0,on.SB)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,on.oB)({opacity:0})),(0,on.eR)("* => asc, * => desc, * => active, * => hint, * => void",(0,on.jt)("0ms")),(0,on.eR)("* <=> *",(0,on.jt)(ih))]),arrowPosition:(0,on.X$)("arrowPosition",[(0,on.eR)("* => desc-to-hint, * => desc-to-active",(0,on.jt)(ih,(0,on.F4)([(0,on.oB)({transform:"translateY(-25%)"}),(0,on.oB)({transform:"translateY(0)"})]))),(0,on.eR)("* => hint-to-desc, * => active-to-desc",(0,on.jt)(ih,(0,on.F4)([(0,on.oB)({transform:"translateY(0)"}),(0,on.oB)({transform:"translateY(25%)"})]))),(0,on.eR)("* => asc-to-hint, * => asc-to-active",(0,on.jt)(ih,(0,on.F4)([(0,on.oB)({transform:"translateY(25%)"}),(0,on.oB)({transform:"translateY(0)"})]))),(0,on.eR)("* => hint-to-asc, * => active-to-asc",(0,on.jt)(ih,(0,on.F4)([(0,on.oB)({transform:"translateY(0)"}),(0,on.oB)({transform:"translateY(-25%)"})]))),(0,on.SB)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,on.oB)({transform:"translateY(0)"})),(0,on.SB)("hint-to-desc, active-to-desc, desc",(0,on.oB)({transform:"translateY(-25%)"})),(0,on.SB)("hint-to-asc, active-to-asc, asc",(0,on.oB)({transform:"translateY(25%)"}))]),allowChildren:(0,on.X$)("allowChildren",[(0,on.eR)("* <=> *",[(0,on.IO)("@*",(0,on.pV)(),{optional:!0})])])},B2=function(){var n=function r(){(0,g.Z)(this,r),this.changes=new On.xQ};return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=e.Yz7({factory:function(){return new n},token:n,providedIn:"root"}),n}(),abe={provide:B2,deps:[[new e.FiY,new e.tp0,B2]],useFactory:function(n){return n||new B2}},sbe=(0,ln.Id)(function(){return function n(){(0,g.Z)(this,n)}}()),Qj=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s,u,p,m){var b;return(0,g.Z)(this,i),(b=t.call(this))._intl=o,b._changeDetectorRef=a,b._sort=s,b._columnDef=u,b._focusMonitor=p,b._elementRef=m,b._showIndicatorHint=!1,b._viewState={},b._arrowDirection="",b._disableViewStateAnimation=!1,b.arrowPosition="after",b._handleStateChanges(),b}return(0,k.Z)(i,[{key:"disableClear",get:function(){return this._disableClear},set:function(a){this._disableClear=(0,Dn.Ig)(a)}},{key:"ngOnInit",value:function(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)}},{key:"ngAfterViewInit",value:function(){var a=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(s){var u=!!s;u!==a._showIndicatorHint&&(a._setIndicatorHintVisible(u),a._changeDetectorRef.markForCheck())})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}},{key:"_setIndicatorHintVisible",value:function(a){this._isDisabled()&&a||(this._showIndicatorHint=a,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}},{key:"_setAnimationTransitionState",value:function(a){this._viewState=a||{},this._disableViewStateAnimation&&(this._viewState={toState:a.toState})}},{key:"_toggleOnInteraction",value:function(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}},{key:"_handleClick",value:function(){this._isDisabled()||this._sort.sort(this)}},{key:"_handleKeydown",value:function(a){!this._isDisabled()&&(a.keyCode===Gr.L_||a.keyCode===Gr.K5)&&(a.preventDefault(),this._toggleOnInteraction())}},{key:"_isSorted",value:function(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}},{key:"_getArrowDirectionState",value:function(){return"".concat(this._isSorted()?"active-":"").concat(this._arrowDirection)}},{key:"_getArrowViewState",value:function(){var a=this._viewState.fromState;return(a?"".concat(a,"-to-"):"")+this._viewState.toState}},{key:"_updateArrowDirection",value:function(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}},{key:"_isDisabled",value:function(){return this._sort.disabled||this.disabled}},{key:"_getAriaSortAttribute",value:function(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}},{key:"_renderArrow",value:function(){return!this._isDisabled()||this._isSorted()}},{key:"_handleStateChanges",value:function(){var a=this;this._rerenderSubscription=(0,vo.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(function(){a._isSorted()&&(a._updateArrowDirection(),("hint"===a._viewState.toState||"active"===a._viewState.toState)&&(a._disableViewStateAnimation=!0),a._setAnimationTransitionState({fromState:a._arrowDirection,toState:"active"}),a._showIndicatorHint=!1),!a._isSorted()&&a._viewState&&"active"===a._viewState.toState&&(a._disableViewStateAnimation=!1,a._setAnimationTransitionState({fromState:"active",toState:a._arrowDirection})),a._changeDetectorRef.markForCheck()})}}]),i}(sbe);return n.\u0275fac=function(t){return new(t||n)(e.Y36(B2),e.Y36(e.sBO),e.Y36(GS,8),e.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),e.Y36(Ti.tE),e.Y36(e.SBq))},n.\u0275cmp=e.Xpm({type:n,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(t,i){1&t&&e.NdJ("click",function(){return i._handleClick()})("keydown",function(a){return i._handleKeydown(a)})("mouseenter",function(){return i._setIndicatorHintVisible(!0)})("mouseleave",function(){return i._setIndicatorHintVisible(!1)}),2&t&&(e.uIk("aria-sort",i._getAriaSortAttribute()),e.ekj("mat-sort-header-disabled",i._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[e.qOj],attrs:$ye,ngContentSelectors:tbe,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(t,i){1&t&&(e.F$t(),e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.Hsn(2),e.qZA(),e.YNc(3,ebe,6,6,"div",2),e.qZA()),2&t&&(e.ekj("mat-sort-header-sorted",i._isSorted())("mat-sort-header-position-before","before"==i.arrowPosition),e.uIk("tabindex",i._isDisabled()?null:0),e.xp6(3),e.Q6J("ngIf",i._renderArrow()))},directives:[Et.O5],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[gy.indicator,gy.leftPointer,gy.rightPointer,gy.arrowOpacity,gy.arrowPosition,gy.allowChildren]},changeDetection:0}),n}(),lbe=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[abe],imports:[[Et.ez,ln.BQ]]}),n}(),ube=function(){function n(){}return n.prototype.transform=function(r,t){return r?t?(t=t.toLowerCase(),r.filteredData.filter(function(i){return i.name.toLowerCase().includes(t)})):r:[]},n.\u0275fac=function(t){return new(t||n)},n.\u0275pipe=e.Yjl({name:"datasourcefilter",type:n,pure:!0}),n}(),cbe=["stepper"];function dbe(n,r){1&n&&e._uU(0,"Please select how you want to create new template")}function pbe(n,r){if(1&n&&e._uU(0),2&n){var t=e.oxw();e.Oqu(t.actionTitle)}}function fbe(n,r){if(1&n&&(e.TgZ(0,"mat-option",33),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function hbe(n,r){1&n&&(e.TgZ(0,"mat-header-cell"),e._uU(1," Name "),e.qZA())}function mbe(n,r){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.hij(" ",t.name," ")}}function vbe(n,r){1&n&&(e.TgZ(0,"mat-header-cell"),e._uU(1," Emulator "),e.qZA())}function gbe(n,r){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.hij(" ",t.emulator," ")}}function _be(n,r){1&n&&(e.TgZ(0,"mat-header-cell"),e._uU(1," Vendor "),e.qZA())}function ybe(n,r){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.hij(" ",t.vendor_name," ")}}function bbe(n,r){1&n&&(e.TgZ(0,"mat-header-cell"),e._uU(1," Actions "),e.qZA())}function Cbe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-cell",34),e.TgZ(1,"button",35),e.NdJ("click",function(){var a=e.CHM(t).$implicit;return e.oxw().install(a)}),e.TgZ(2,"mat-icon",36),e._uU(3,"archive"),e.qZA(),e.qZA(),e.TgZ(4,"button",37),e.NdJ("click",function(){var a=e.CHM(t).$implicit;return e.oxw().showInfo(a)}),e.TgZ(5,"mat-icon",38),e._uU(6,"info"),e.qZA(),e.qZA(),e.qZA()}}function Sbe(n,r){1&n&&e._UZ(0,"mat-header-row")}function Tbe(n,r){1&n&&e._UZ(0,"mat-row")}function xbe(n,r){if(1&n&&e._uU(0),2&n){var t=e.oxw(2);e.Oqu(t.secondActionTitle)}}function wbe(n,r){if(1&n&&(e.TgZ(0,"mat-option",33),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t.path," ")}}function kbe(n,r){1&n&&(e.TgZ(0,"span"),e.TgZ(1,"mat-icon",52),e._uU(2,"check"),e.qZA(),e.qZA())}function Ebe(n,r){1&n&&(e.TgZ(0,"span"),e.TgZ(1,"mat-icon",53),e._uU(2,"close"),e.qZA(),e.qZA())}function Mbe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",48),e.TgZ(1,"span"),e._uU(2),e.qZA(),e.TgZ(3,"div"),e.YNc(4,kbe,3,0,"span",32),e.YNc(5,Ebe,3,0,"span",32),e.TgZ(6,"input",49,50),e.NdJ("change",function(s){e.CHM(t);var u=e.oxw().$implicit;return e.oxw(3).importImage(s,u.images.hda_disk_image)}),e.qZA(),e.TgZ(8,"button",51),e.NdJ("click",function(){return e.CHM(t),e.MAs(7).click()}),e._uU(9,"Import"),e.qZA(),e.TgZ(10,"button",51),e.NdJ("click",function(){e.CHM(t);var s=e.oxw().$implicit;return e.oxw(3).downloadImageFromVersion(s.images.hda_disk_image)}),e._uU(11," Download "),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw().$implicit,o=e.oxw(3);e.xp6(2),e.hij(" ",i.images.hda_disk_image," "),e.xp6(2),e.Q6J("ngIf",o.checkImageFromVersion(i.images.hda_disk_image)),e.xp6(1),e.Q6J("ngIf",!o.checkImageFromVersion(i.images.hda_disk_image)),e.xp6(1),e.Q6J("uploader",o.uploaderImage)}}function Abe(n,r){1&n&&(e.TgZ(0,"span"),e.TgZ(1,"mat-icon",52),e._uU(2,"check"),e.qZA(),e.qZA())}function Dbe(n,r){1&n&&(e.TgZ(0,"span"),e.TgZ(1,"mat-icon",53),e._uU(2,"close"),e.qZA(),e.qZA())}function Obe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",48),e.TgZ(1,"span"),e._uU(2),e.qZA(),e.TgZ(3,"div"),e.YNc(4,Abe,3,0,"span",32),e.YNc(5,Dbe,3,0,"span",32),e.TgZ(6,"input",49,54),e.NdJ("change",function(s){e.CHM(t);var u=e.oxw().$implicit;return e.oxw(3).importImage(s,u.images.hdb_disk_image)}),e.qZA(),e.TgZ(8,"button",51),e.NdJ("click",function(){return e.CHM(t),e.MAs(7).click()}),e._uU(9,"Import"),e.qZA(),e.TgZ(10,"button",51),e.NdJ("click",function(){e.CHM(t);var s=e.oxw().$implicit;return e.oxw(3).downloadImageFromVersion(s.images.hdb_disk_image)}),e._uU(11," Download "),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw().$implicit,o=e.oxw(3);e.xp6(2),e.hij(" ",i.images.hdb_disk_image," "),e.xp6(2),e.Q6J("ngIf",o.checkImageFromVersion(i.images.hdb_disk_image)),e.xp6(1),e.Q6J("ngIf",!o.checkImageFromVersion(i.images.hdb_disk_image)),e.xp6(1),e.Q6J("uploader",o.uploaderImage)}}function Pbe(n,r){1&n&&(e.TgZ(0,"span"),e.TgZ(1,"mat-icon",52),e._uU(2,"check"),e.qZA(),e.qZA())}function Ibe(n,r){1&n&&(e.TgZ(0,"span"),e.TgZ(1,"mat-icon",53),e._uU(2,"close"),e.qZA(),e.qZA())}function Rbe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",48),e.TgZ(1,"span"),e._uU(2),e.qZA(),e.TgZ(3,"div"),e.YNc(4,Pbe,3,0,"span",32),e.YNc(5,Ibe,3,0,"span",32),e.TgZ(6,"input",49,55),e.NdJ("change",function(s){e.CHM(t);var u=e.oxw().$implicit;return e.oxw(3).importImage(s,u.images.cdrom_image)}),e.qZA(),e.TgZ(8,"button",51),e.NdJ("click",function(){return e.CHM(t),e.MAs(7).click()}),e._uU(9,"Import"),e.qZA(),e.TgZ(10,"button",51),e.NdJ("click",function(){e.CHM(t);var s=e.oxw().$implicit;return e.oxw(3).downloadImageFromVersion(s.images.cdrom_image)}),e._uU(11," Download "),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw().$implicit,o=e.oxw(3);e.xp6(2),e.hij(" ",i.images.cdrom_image," "),e.xp6(2),e.Q6J("ngIf",o.checkImageFromVersion(i.images.cdrom_image)),e.xp6(1),e.Q6J("ngIf",!o.checkImageFromVersion(i.images.cdrom_image)),e.xp6(1),e.Q6J("uploader",o.uploaderImage)}}function Nbe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"div",45),e.TgZ(2,"span"),e._uU(3),e.qZA(),e.TgZ(4,"div"),e.TgZ(5,"button",46),e.NdJ("click",function(){var u=e.CHM(t).$implicit;return e.oxw(3).createQemuTemplateFromVersion(u)}),e._uU(6," Create "),e.qZA(),e.qZA(),e.qZA(),e.YNc(7,Mbe,12,4,"div",47),e.YNc(8,Obe,12,4,"div",47),e.YNc(9,Rbe,12,4,"div",47),e.qZA()}if(2&n){var i=r.$implicit,o=e.oxw(3);e.xp6(3),e.AsE("",o.applianceToInstall.name," version ",i.name,""),e.xp6(4),e.Q6J("ngIf",i.images.hda_disk_image),e.xp6(1),e.Q6J("ngIf",i.images.hdb_disk_image),e.xp6(1),e.Q6J("ngIf",i.images.cdrom_image)}}var Kj=function(){return{standalone:!0}};function Zbe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"div"),e._uU(2," Server type"),e._UZ(3,"br"),e.TgZ(4,"mat-radio-group",4),e.TgZ(5,"mat-radio-button",39),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).setServerType("local")}),e._uU(6,"Install the appliance locally"),e.qZA(),e.TgZ(7,"mat-radio-button",40),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).setServerType("gns3 vm")}),e._uU(8,"Install the appliance on the GNS3 VM"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(9,"div"),e._uU(10," Qemu binary"),e._UZ(11,"br"),e.TgZ(12,"mat-select",41),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw(2).selectedBinary=a}),e.YNc(13,wbe,2,2,"mat-option",14),e.qZA(),e.qZA(),e.TgZ(14,"div"),e._uU(15," Install required files "),e.TgZ(16,"button",42),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).refreshImages()}),e.TgZ(17,"mat-icon",43),e._uU(18,"refresh"),e.qZA(),e.qZA(),e._UZ(19,"br"),e.TgZ(20,"div"),e.YNc(21,Nbe,10,5,"div",44),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw(2);e.xp6(5),e.Q6J("disabled",!i.isLinuxPlatform)("checked",!i.isGns3VmChosen),e.xp6(2),e.Q6J("disabled",!i.isGns3VmAvailable)("checked",i.isGns3VmChosen),e.xp6(5),e.Q6J("ngModel",i.selectedBinary)("ngModelOptions",e.DdM(8,Kj)),e.xp6(1),e.Q6J("ngForOf",i.qemuBinaries),e.xp6(8),e.Q6J("ngForOf",i.applianceToInstall.versions)}}function Lbe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"div"),e._uU(2," Server type"),e._UZ(3,"br"),e.TgZ(4,"mat-radio-group",4),e.TgZ(5,"mat-radio-button",39),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).setServerType("local")}),e._uU(6,"Install the appliance locally"),e.qZA(),e.TgZ(7,"mat-radio-button",40),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).setServerType("gns3 vm")}),e._uU(8,"Install the appliance on the GNS3 VM"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(9,"button",29),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).createDockerTemplate()}),e._uU(10," Create docker template "),e.qZA(),e.qZA()}if(2&n){var i=e.oxw(2);e.xp6(5),e.Q6J("disabled",!i.isLinuxPlatform)("checked",!i.isGns3VmChosen),e.xp6(2),e.Q6J("disabled",!i.isGns3VmAvailable)("checked",i.isGns3VmChosen)}}function Fbe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-list-item"),e.TgZ(1,"div",45),e.TgZ(2,"div"),e._uU(3),e.qZA(),e.TgZ(4,"div"),e.TgZ(5,"input",49,50),e.NdJ("change",function(s){var p=e.CHM(t).$implicit;return e.oxw(3).importImage(s,p.filename)}),e.qZA(),e.TgZ(7,"button",51),e.NdJ("click",function(){return e.CHM(t),e.MAs(6).click()}),e._uU(8,"Import"),e.qZA(),e.TgZ(9,"button",46),e.NdJ("click",function(){var u=e.CHM(t).$implicit;return e.oxw(3).createIosTemplate(u)}),e._uU(10," Create "),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=r.$implicit,o=e.oxw(3);e.xp6(3),e.hij(" ",i.filename," "),e.xp6(2),e.Q6J("uploader",o.uploaderImage)}}function Bbe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"div"),e._uU(2," Server type"),e._UZ(3,"br"),e.TgZ(4,"mat-radio-group",4),e.TgZ(5,"mat-radio-button",56),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).setServerType("local")}),e._uU(6,"Install the appliance locally"),e.qZA(),e.TgZ(7,"mat-radio-button",40),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).setServerType("gns3 vm")}),e._uU(8,"Install the appliance on the GNS3 VM"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(9,"div"),e._uU(10," Install required files "),e.TgZ(11,"button",42),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).refreshImages()}),e.TgZ(12,"mat-icon",43),e._uU(13,"refresh"),e.qZA(),e.qZA(),e._UZ(14,"br"),e.TgZ(15,"mat-list"),e.YNc(16,Fbe,11,2,"mat-list-item",44),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw(2);e.xp6(5),e.Q6J("checked",!i.isGns3VmChosen),e.xp6(2),e.Q6J("disabled",!i.isGns3VmAvailable)("checked",i.isGns3VmChosen),e.xp6(9),e.Q6J("ngForOf",i.applianceToInstall.images)}}function Ube(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-list-item"),e.TgZ(1,"div",45),e.TgZ(2,"div"),e._uU(3),e.qZA(),e.TgZ(4,"div"),e.TgZ(5,"input",49,50),e.NdJ("change",function(){var u=e.CHM(t).$implicit,p=e.oxw(3);return p.importImage(p.$,u.filename)}),e.qZA(),e.TgZ(7,"button",51),e.NdJ("click",function(){return e.CHM(t),e.MAs(6).click()}),e._uU(8,"Import"),e.qZA(),e.TgZ(9,"button",46),e.NdJ("click",function(){var u=e.CHM(t).$implicit;return e.oxw(3).createIouTemplate(u)}),e._uU(10," Create "),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=r.$implicit,o=e.oxw(3);e.xp6(3),e.hij(" ",i.filename," "),e.xp6(2),e.Q6J("uploader",o.uploaderImage)}}function Hbe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"div"),e._uU(2," Server type"),e._UZ(3,"br"),e.TgZ(4,"mat-radio-group",4),e.TgZ(5,"mat-radio-button",39),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).setServerType("local")}),e._uU(6,"Install the appliance locally"),e.qZA(),e.TgZ(7,"mat-radio-button",40),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).setServerType("gns3 vm")}),e._uU(8,"Install the appliance on the GNS3 VM"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(9,"div"),e._uU(10," Install required files "),e.TgZ(11,"button",42),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).refreshImages()}),e.TgZ(12,"mat-icon",43),e._uU(13,"refresh"),e.qZA(),e.qZA(),e._UZ(14,"br"),e.TgZ(15,"mat-list"),e.YNc(16,Ube,11,2,"mat-list-item",44),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw(2);e.xp6(5),e.Q6J("disabled",!i.isLinuxPlatform)("checked",!i.isGns3VmChosen),e.xp6(2),e.Q6J("disabled",!i.isGns3VmAvailable)("checked",i.isGns3VmChosen),e.xp6(9),e.Q6J("ngForOf",i.applianceToInstall.images)}}function Vbe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-step"),e.YNc(1,xbe,1,1,"ng-template",3),e.TgZ(2,"mat-card",9),e._uU(3," Please configure GNS3 VM to install selected appliance "),e.qZA(),e.TgZ(4,"mat-card",9),e.YNc(5,Zbe,22,9,"div",32),e.YNc(6,Lbe,11,4,"div",32),e.YNc(7,Bbe,17,4,"div",32),e.YNc(8,Hbe,17,5,"div",32),e.qZA(),e.TgZ(9,"div"),e.TgZ(10,"button",30),e._uU(11,"Back"),e.qZA(),e.TgZ(12,"button",8),e.NdJ("click",function(){return e.CHM(t),e.oxw().onCloseClick()}),e._uU(13,"Cancel"),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(2),e.Q6J("hidden",!(!i.isLinuxPlatform&&!i.isGns3VmAvailable&&!i.applianceToInstall.dynamips)),e.xp6(2),e.Q6J("hidden",!(i.isLinuxPlatform||i.isGns3VmAvailable||i.applianceToInstall.dynamips)),e.xp6(1),e.Q6J("ngIf",i.applianceToInstall.qemu),e.xp6(1),e.Q6J("ngIf",i.applianceToInstall.docker),e.xp6(1),e.Q6J("ngIf",i.applianceToInstall.dynamips),e.xp6(1),e.Q6J("ngIf",i.applianceToInstall.iou)}}var qbe=function(){return[5,10,20,50,100]},jbe=function(){function n(r,t,i,o,a,s,u,p,m,b,I,F,G){this.dialogRef=r,this.applianceService=t,this.changeDetector=i,this.toasterService=o,this.qemuService=a,this.dockerService=s,this.iosService=u,this.iouService=p,this.templateService=m,this.dialog=b,this.computeService=I,this.changeDetectorRef=F,this.progressService=G,this.action="install",this.actionTitle="Install appliance from server",this.secondActionTitle="Appliance settings",this.searchText="",this.allAppliances=[],this.appliances=[],this.isGns3VmAvailable=!1,this.isLinuxPlatform=!1,this.isGns3VmChosen=!1,this.isLocalComputerChosen=!1,this.qemuBinaries=[],this.categories=["all categories","router","multilayer_switch","guest","firewall"],this.category="all categories",this.displayedColumns=["name","emulator","vendor","actions"],this.qemuImages=[],this.iosImages=[],this.iouImages=[],this.templates=[]}return n.prototype.ngOnInit=function(){var r=this;this.templateService.list(this.server).subscribe(function(t){r.templates=t}),this.computeService.getComputes(this.server).subscribe(function(t){t.forEach(function(i){"vm"===i.compute_id&&(r.isGns3VmAvailable=!0,r.isGns3VmChosen=!0),"linux"===i.capabilities.platform&&(r.isLinuxPlatform=!0)})}),this.qemuService.getImages(this.server).subscribe(function(t){r.qemuImages=t}),this.iosService.getImages(this.server).subscribe(function(t){r.iosImages=t}),this.iouService.getImages(this.server).subscribe(function(t){r.iouImages=t}),this.applianceService.getAppliances(this.server).subscribe(function(t){r.appliances=t,r.appliances.forEach(function(i){i.docker&&(i.emulator="Docker"),i.dynamips&&(i.emulator="Dynamips"),i.iou&&(i.emulator="Iou"),i.qemu&&(i.emulator="Qemu")}),r.allAppliances=t,r.dataSource=new Nq(r.allAppliances),r.dataSource.paginator=r.paginator}),this.qemuService.getBinaries(this.server).subscribe(function(t){r.qemuBinaries=t}),this.uploader=new tv({}),this.uploader.onAfterAddingFile=function(t){t.withCredentials=!1},this.uploader.onErrorItem=function(t,i,o,a){r.toasterService.error("An error has occured")},this.uploader.onSuccessItem=function(t,i,o,a){r.toasterService.success("Appliance imported succesfully"),r.getAppliance(t.url)},this.uploaderImage=new tv({}),this.uploaderImage.onAfterAddingFile=function(t){t.withCredentials=!1},this.uploaderImage.onErrorItem=function(t,i,o,a){r.toasterService.error("An error has occured"),r.progressService.deactivate(),r.uploaderImage.clearQueue()},this.uploaderImage.onSuccessItem=function(t,i,o,a){r.toasterService.success("Image imported succesfully"),r.refreshImages(),r.progressService.deactivate(),r.uploaderImage.clearQueue()}},n.prototype.updateAppliances=function(){var r=this;this.progressService.activate(),this.applianceService.updateAppliances(this.server).subscribe(function(t){r.appliances=t,r.progressService.deactivate(),r.toasterService.success("Appliances are up-to-date.")},function(t){r.progressService.deactivate(),r.toasterService.error("Appliances were not updated correctly.")})},n.prototype.refreshImages=function(){var r=this;this.qemuService.getImages(this.server).subscribe(function(t){r.qemuImages=t}),this.iosService.getImages(this.server).subscribe(function(t){r.iosImages=t}),this.iouService.getImages(this.server).subscribe(function(t){r.iouImages=t})},n.prototype.getAppliance=function(r){var t=this,i=r.split("/v2");this.applianceService.getAppliance(this.server,i[i.length-1]).subscribe(function(a){t.applianceToInstall=a,setTimeout(function(){t.stepper.next()},100)})},n.prototype.addAppliance=function(r){var u,t=this,o=(r.target.files[0].name.split("-"),r.target.files[0].name),a=r.target.files[0],s=new FileReader;s.onloadend=function(){var p=JSON.parse(s.result);p.docker&&(u="docker"),p.dynamips&&(u="dynamips"),p.iou&&(u="iou"),p.qemu&&(u="qemu");var m=t.applianceService.getUploadPath(t.server,u,o);t.uploader.queue.forEach(function(I){return I.url=m});var b=t.uploader.queue[0];b.options.disableMultipart=!0,t.uploader.uploadItem(b)},s.readAsText(a)},n.prototype.filterAppliances=function(r){var t=this,i=this.allAppliances.filter(function(o){return o.name.toLowerCase().includes(t.searchText.toLowerCase())});this.appliances="all categories"!==this.category&&this.category?i.filter(function(o){return o.category===t.category}):i,this.dataSource=new Nq(this.appliances),this.dataSource.paginator=this.paginator},n.prototype.setAction=function(r){this.action=r,"install"===r?this.actionTitle="Install appliance from server":"import"===r&&(this.actionTitle="Import an appliance file")},n.prototype.setServerType=function(r){"gns3 vm"===r?(this.isGns3VmChosen=!0,this.isLocalComputerChosen=!1):(this.isGns3VmChosen=!1,this.isLocalComputerChosen=!0)},n.prototype.sortData=function(r){if(r.active&&""!==r.direction){var t=this.appliances.slice();this.appliances=t.sort(function(i,o){var a="asc"===r.direction;return"name"===r.active?RL(i.name,o.name,a):"emulator"===r.active?RL(i.emulator,o.emulator,a):"vendor"===r.active?RL(i.vendor_name,o.vendor_name,a):0})}},n.prototype.onCloseClick=function(){this.dialogRef.close()},n.prototype.install=function(r){var t=this;this.applianceToInstall=r,setTimeout(function(){t.stepper.next(),t.applianceToInstall.qemu&&setTimeout(function(){if(t.qemuBinaries.length)if("x86_64"===t.applianceToInstall.qemu.arch)(i=t.qemuBinaries.filter(function(o){return o.path.includes("qemu-system-x86_64")})).length&&(t.selectedBinary=i[0]);else if("i386"===t.applianceToInstall.qemu.arch)(i=t.qemuBinaries.filter(function(a){return a.path.includes("qemu-system-i386")})).length&&(t.selectedBinary=i[0]);else if("x86_64"===t.applianceToInstall.qemu.arch){var i;(i=t.qemuBinaries.filter(function(a){return a.path.includes("qemu-system-arm")})).length&&(t.selectedBinary=i[0])}else t.selectedBinary=t.qemuBinaries[0]},100)},100)},n.prototype.showInfo=function(r){this.dialog.open(Gye,{width:"250px",data:{appliance:r}}).componentInstance.appliance=r},n.prototype.importImage=function(r,t){var i=this;this.progressService.activate(),this.computeChecksumMd5(r.target.files[0],!1).then(function(o){var a=i.applianceToInstall.images.filter(function(u){return u.filename===t})[0];if(a.md5sum!==o){i.progressService.deactivate();var s=i.dialog.open(Yj,{width:"400px",height:"200px",autoFocus:!1,disableClose:!0});s.componentInstance.confirmationMessage="This is not the correct file. \n                    The MD5 sum is "+o+" and should be "+a.md5sum+". Do you want to accept it at your own risks?",s.afterClosed().subscribe(function(u){u?i.importImageFile(r):i.uploaderImage.clearQueue()})}else i.importImageFile(r)})},n.prototype.importImageFile=function(r){var u,t=this,o=(r.target.files[0].name.split("-"),r.target.files[0].name),a=r.target.files[0],s=new FileReader;s.onloadend=function(){t.applianceToInstall.qemu&&(u="qemu"),t.applianceToInstall.dynamips&&(u="dynamips"),t.applianceToInstall.iou&&(u="iou");var p=t.applianceService.getUploadPath(t.server,u,o);t.uploaderImage.queue.forEach(function(b){return b.url=p});var m=t.uploaderImage.queue[0];m.options.disableMultipart=!0,t.uploaderImage.uploadItem(m),t.progressService.activate()},s.readAsText(a)},n.prototype.checkImageFromVersion=function(r){var t=this.applianceToInstall.images.filter(function(i){return i.filename===r})[0];if(this.applianceToInstall.qemu){if(this.qemuImages.filter(function(i){return i.md5sum===t.md5sum}).length>0)return!0}else if(this.applianceToInstall.dynamips){if(this.iosImages.filter(function(i){return i.md5sum===t.md5sum}).length>0)return!0}else if(this.applianceToInstall.iou&&this.iouImages.filter(function(i){return i.md5sum===t.md5sum}).length>0)return!0;return!1},n.prototype.checkImages=function(r){return r.images.hdb_disk_image?!(!this.checkImageFromVersion(r.images.hda_disk_image)||!this.checkImageFromVersion(r.images.hdb_disk_image)):!!this.checkImageFromVersion(r.images.hda_disk_image)},n.prototype.openConfirmationDialog=function(r,t){var i=this.dialog.open(Yj,{width:"400px",height:"200px",autoFocus:!1,disableClose:!0});i.componentInstance.confirmationMessage=r,i.afterClosed().subscribe(function(o){o&&window.open(t)})},n.prototype.downloadImage=function(r){r.direct_download_url?r.compression?this.openConfirmationDialog("The file is compressed with "+r.compression+", it must be uncompressed first.",r.direct_download_url):window.open(r.direct_download_url):this.openConfirmationDialog("Download will redirect you where the required file can be downloaded, you may have to be registered with the vendor in order to download the file.",r.download_url)},n.prototype.downloadImageFromVersion=function(r){var t=this;this.applianceToInstall.images.forEach(function(i){i.filename===r&&t.downloadImage(i)})},n.prototype.getCategory=function(){return"multilayer_switch"===this.applianceToInstall.category?"switch":this.applianceToInstall.category},n.prototype.createIouTemplate=function(r){var t=this,i=new tL;i.nvram=this.applianceToInstall.iou.nvram,i.ram=this.applianceToInstall.iou.ram,i.ethernet_adapters=this.applianceToInstall.iou.ethernet_adapters,i.serial_adapters=this.applianceToInstall.iou.serial_adapters,i.startup_config=this.applianceToInstall.iou.startup_config,i.builtin=this.applianceToInstall.builtin,i.category=this.getCategory(),i.default_name_format=this.applianceToInstall.port_name_format,i.symbol=this.applianceToInstall.symbol,i.compute_id=this.isGns3VmChosen?"vm":"local",i.template_id=(0,xa.v4)(),i.path=r.filename,i.template_type="iou";var o=this.dialog.open(F2,{width:"400px",height:"250px",autoFocus:!1,disableClose:!0,data:{name:this.applianceToInstall.name}});o.componentInstance.server=this.server,o.afterClosed().subscribe(function(a){if(!a)return!1;i.name=a,t.iouService.addTemplate(t.server,i).subscribe(function(s){t.templateService.newTemplateCreated.next(s),t.toasterService.success("Template added"),t.dialogRef.close()})})},n.prototype.createIosTemplate=function(r){var t=this,i=new eL;i.chassis=this.applianceToInstall.dynamips.chassis,i.nvram=this.applianceToInstall.dynamips.nvram,i.platform=this.applianceToInstall.dynamips.platform,i.ram=this.applianceToInstall.dynamips.ram,i.startup_config=this.applianceToInstall.dynamips.startup_config,i.slot0=this.applianceToInstall.dynamips.slot0,i.slot1=this.applianceToInstall.dynamips.slot1,i.slot2=this.applianceToInstall.dynamips.slot2,i.slot3=this.applianceToInstall.dynamips.slot3,i.slot4=this.applianceToInstall.dynamips.slot4,i.slot5=this.applianceToInstall.dynamips.slot5,i.slot6=this.applianceToInstall.dynamips.slot6,i.slot7=this.applianceToInstall.dynamips.slot7,i.builtin=this.applianceToInstall.builtin,i.category=this.getCategory(),i.default_name_format=this.applianceToInstall.port_name_format,i.symbol=this.applianceToInstall.symbol,i.compute_id=this.isGns3VmChosen?"vm":"local",i.template_id=(0,xa.v4)(),i.image=r.filename,i.template_type="dynamips";var o=this.dialog.open(F2,{width:"400px",height:"250px",autoFocus:!1,disableClose:!0,data:{name:this.applianceToInstall.name}});o.componentInstance.server=this.server,o.afterClosed().subscribe(function(a){if(!a)return!1;i.name=a,t.iosService.addTemplate(t.server,i).subscribe(function(s){t.templateService.newTemplateCreated.next(s),t.toasterService.success("Template added"),t.dialogRef.close()})})},n.prototype.createDockerTemplate=function(){var r=this,t=new XZ;t.adapters=this.applianceToInstall.docker.adapters,t.console_type=this.applianceToInstall.docker.console_type,t.builtin=this.applianceToInstall.builtin,t.category=this.getCategory(),t.default_name_format=this.applianceToInstall.port_name_format,t.symbol=this.applianceToInstall.symbol,t.compute_id=this.isGns3VmChosen?"vm":"local",t.template_id=(0,xa.v4)(),t.image=this.applianceToInstall.docker.image,t.template_type="docker";var i=this.dialog.open(F2,{width:"400px",height:"250px",autoFocus:!1,disableClose:!0,data:{name:this.applianceToInstall.name}});i.componentInstance.server=this.server,i.afterClosed().subscribe(function(o){if(!o)return!1;t.name=o,r.dockerService.addTemplate(r.server,t).subscribe(function(a){r.templateService.newTemplateCreated.next(a),r.toasterService.success("Template added"),r.dialogRef.close()})})},n.prototype.createQemuTemplateFromVersion=function(r){var t=this;if(this.checkImages(r))if(this.selectedBinary){var i=new rL;i.ram=this.applianceToInstall.qemu.ram,i.adapters=this.applianceToInstall.qemu.adapters,i.adapter_type=this.applianceToInstall.qemu.adapter_type,i.boot_priority=this.applianceToInstall.qemu.boot_priority,i.console_type=this.applianceToInstall.qemu.console_type,i.hda_disk_interface=this.applianceToInstall.qemu.hda_disk_interface,i.hdb_disk_interface=this.applianceToInstall.qemu.hdb_disk_interface,i.hdc_disk_interface=this.applianceToInstall.qemu.hdc_disk_interface,i.hdd_disk_interface=this.applianceToInstall.qemu.hdd_disk_interface,i.builtin=this.applianceToInstall.builtin,i.category=this.getCategory(),i.first_port_name=this.applianceToInstall.first_port_name,i.port_name_format=this.applianceToInstall.port_name_format,i.symbol=this.applianceToInstall.symbol,i.qemu_path=this.selectedBinary.path,i.compute_id=this.isGns3VmChosen?"vm":"local",i.template_id=(0,xa.v4)(),i.hda_disk_image=r.images.hda_disk_image,i.hdb_disk_image=r.images.hdb_disk_image,i.template_type="qemu",i.usage=this.applianceToInstall.usage;var o=this.dialog.open(F2,{width:"400px",height:"250px",autoFocus:!1,disableClose:!0,data:{name:this.applianceToInstall.name}});o.componentInstance.server=this.server,o.afterClosed().subscribe(function(a){if(!a)return!1;i.name=a,t.qemuService.addTemplate(t.server,i).subscribe(function(s){t.templateService.newTemplateCreated.next(s),t.toasterService.success("Template added"),t.dialogRef.close()})})}else this.toasterService.error("Please select QEMU binary first");else this.toasterService.error("Please install required images first")},n.prototype.computeChecksumMd5=function(r,t){return void 0===t&&(t=!1),new Promise(function(i,o){var a=2097152,s=new jye.ArrayBuffer,u=new FileReader,p=0;function m(b){var I=Math.min(r.size,b+a);u.readAsArrayBuffer(r.slice(b,I))}u.onerror=function(){o("MD5 computation failed - error reading the file")},u.onload=function(b){s.append(b.target.result),(p+=a)<r.size?m(p):i(s.end(t))},m(0)})},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(Jj),e.Y36(e.sBO),e.Y36(Xn),e.Y36(hp),e.Y36(uv),e.Y36(dv),e.Y36(pv),e.Y36(ay),e.Y36(no),e.Y36(tc.X),e.Y36(e.sBO),e.Y36(Qf))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-new-template-dialog"]],viewQuery:function(t,i){if(1&t&&(e.Gf(Gj,7),e.Gf(cbe,7)),2&t){var o=void 0;e.iGM(o=e.CRH())&&(i.paginator=o.first),e.iGM(o=e.CRH())&&(i.stepper=o.first)}},inputs:{server:"server",project:"project"},decls:56,vars:19,consts:[["mat-dialog-title",""],[3,"linear"],["stepper",""],["matStepLabel",""],[1,"radio-group"],["value","1","checked","",1,"radio-button",3,"click"],["value","2",1,"radio-button",3,"click"],["mat-button","","matStepperNext",""],["mat-button","",3,"click"],[3,"hidden"],[1,"tableHeader"],[1,"filter-field"],["matInput","","placeholder","Filter",3,"ngModel","ngModelChange"],["placeholder","Category",3,"ngModelOptions","ngModel","selectionChange","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["matSort","","multiTemplateDataRows","",1,"mat-table",3,"dataSource","matSortChange"],["table",""],["matColumnDef","name"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","emulator"],["matColumnDef","vendor"],["matColumnDef","actions"],["style","text-align: right",4,"matCellDef"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"pageSizeOptions"],["type","file","accept",".gns3appliance, .gns3a","ng2FileSelect","",1,"non-visible",3,"uploader","change"],["file",""],["mat-raised-button","","color","primary",1,"create-button",3,"click"],["mat-button","","matStepperPrevious",""],["mat-button","",3,"hidden","click"],[4,"ngIf"],[3,"value"],[2,"text-align","right"],["mat-icon-button","","matTooltip","Install","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Install"],["mat-icon-button","","matTooltip","Show info","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Show info"],["value","1",1,"radio-button",3,"disabled","checked","click"],["value","2",1,"radio-button",3,"disabled","checked","click"],["placeholder","Qemu binary",1,"selection-group",3,"ngModel","ngModelOptions","ngModelChange"],["mat-icon-button","","matTooltip","Refresh list of images","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Refresh list of images"],[4,"ngFor","ngForOf"],[1,"list-item"],["mat-raised-button","","color","primary",1,"button",3,"click"],["class","list-item-inside",4,"ngIf"],[1,"list-item-inside"],["type","file","ng2FileSelect","",1,"non-visible",3,"uploader","change"],["file2",""],["mat-raised-button","",1,"button",3,"click"],["matTooltip","Ready to install","matTooltipClass","custom-tooltip"],["matTooltip","Missing","matTooltipClass","custom-tooltip"],["file3",""],["file4",""],["value","1",1,"radio-button",3,"checked","click"]],template:function(t,i){if(1&t){var o=e.EpF();e.TgZ(0,"h1",0),e._uU(1,"Add new template"),e.qZA(),e.TgZ(2,"mat-horizontal-stepper",1,2),e.TgZ(4,"mat-step"),e.YNc(5,dbe,1,0,"ng-template",3),e.TgZ(6,"mat-radio-group",4),e.TgZ(7,"mat-radio-button",5),e.NdJ("click",function(){return i.setAction("install")}),e._uU(8,"Install new appliance from the GNS server"),e.qZA(),e._UZ(9,"br"),e.TgZ(10,"mat-radio-button",6),e.NdJ("click",function(){return i.setAction("import")}),e._uU(11,"Import an appliance file"),e.qZA(),e.qZA(),e.TgZ(12,"div"),e.TgZ(13,"button",7),e._uU(14,"Next"),e.qZA(),e.TgZ(15,"button",8),e.NdJ("click",function(){return i.onCloseClick()}),e._uU(16,"Cancel"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(17,"mat-step"),e.YNc(18,pbe,1,1,"ng-template",3),e.TgZ(19,"mat-card",9),e.TgZ(20,"div",10),e.TgZ(21,"mat-form-field",11),e.TgZ(22,"input",12),e.NdJ("ngModelChange",function(s){return i.searchText=s}),e.qZA(),e.qZA(),e.TgZ(23,"mat-select",13),e.NdJ("selectionChange",function(s){return i.filterAppliances(s)})("ngModelChange",function(s){return i.category=s}),e.YNc(24,fbe,2,2,"mat-option",14),e.qZA(),e.qZA(),e.TgZ(25,"mat-table",15,16),e.NdJ("matSortChange",function(s){return i.sortData(s)}),e.ALo(27,"datasourcefilter"),e.ynx(28,17),e.YNc(29,hbe,2,0,"mat-header-cell",18),e.YNc(30,mbe,2,1,"mat-cell",19),e.BQk(),e.ynx(31,20),e.YNc(32,vbe,2,0,"mat-header-cell",18),e.YNc(33,gbe,2,1,"mat-cell",19),e.BQk(),e.ynx(34,21),e.YNc(35,_be,2,0,"mat-header-cell",18),e.YNc(36,ybe,2,1,"mat-cell",19),e.BQk(),e.ynx(37,22),e.YNc(38,bbe,2,0,"mat-header-cell",18),e.YNc(39,Cbe,7,0,"mat-cell",23),e.BQk(),e.YNc(40,Sbe,1,0,"mat-header-row",24),e.YNc(41,Tbe,1,0,"mat-row",25),e.qZA(),e._UZ(42,"mat-paginator",26),e.qZA(),e.TgZ(43,"mat-card",9),e.TgZ(44,"input",27,28),e.NdJ("change",function(s){return i.addAppliance(s)}),e.qZA(),e.TgZ(46,"button",29),e.NdJ("click",function(){return e.CHM(o),e.MAs(45).click()}),e._uU(47," Click to import appliance "),e.qZA(),e.qZA(),e.TgZ(48,"div"),e.TgZ(49,"button",30),e._uU(50,"Back"),e.qZA(),e.TgZ(51,"button",31),e.NdJ("click",function(){return i.updateAppliances()}),e._uU(52," Update from online registry "),e.qZA(),e.TgZ(53,"button",8),e.NdJ("click",function(){return i.onCloseClick()}),e._uU(54,"Cancel"),e.qZA(),e.qZA(),e.qZA(),e.YNc(55,Vbe,14,6,"mat-step",32),e.qZA()}2&t&&(e.xp6(2),e.Q6J("linear",!1),e.xp6(17),e.Q6J("hidden","install"!==i.action),e.xp6(3),e.Q6J("ngModel",i.searchText),e.xp6(1),e.Q6J("ngModelOptions",e.DdM(17,Kj))("ngModel",i.category),e.xp6(1),e.Q6J("ngForOf",i.categories),e.xp6(1),e.Q6J("dataSource",e.xi3(27,14,i.dataSource,i.searchText)),e.xp6(15),e.Q6J("matHeaderRowDef",i.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",i.displayedColumns),e.xp6(1),e.Q6J("pageSizeOptions",e.DdM(18,qbe)),e.xp6(1),e.Q6J("hidden","install"===i.action),e.xp6(1),e.Q6J("uploader",i.uploader),e.xp6(7),e.Q6J("hidden","install"!==i.action),e.xp6(4),e.Q6J("ngIf",i.applianceToInstall))},directives:[ni,uy,ly,m2,fl,hl,Mn,Uce,_i,Un.KE,ur,ne.Fj,ne.JJ,ne.On,pi.gD,Et.sg,Yl,GS,cl,ul,ll,Jl,Ql,Gj,vS,Hce,Et.O5,ln.ey,dl,pl,Ja,sr,Kl,Xl,YZ,Cs],pipes:[ube],styles:[".radio-button[_ngcontent-%COMP%]{margin-bottom:30px}.tableHeader[_ngcontent-%COMP%]{width:100%}.filter-field[_ngcontent-%COMP%]{width:100%}.example-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;max-height:500px;min-width:300px}.mat-table[_ngcontent-%COMP%]{overflow:auto;max-height:500px}.element-row[_ngcontent-%COMP%]{position:relative}.element-row[_ngcontent-%COMP%]:not(.expanded){cursor:pointer}.element-row[_ngcontent-%COMP%]:not(.expanded):hover{background:#f5f5f5}.element-row.expanded[_ngcontent-%COMP%]{border-bottom-color:transparent}.list-item[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:100%;margin-bottom:15px}.list-item-inside[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:100%;padding-left:30px;margin-bottom:15px}.button[_ngcontent-%COMP%]{margin-left:10px}.create-button[_ngcontent-%COMP%]{width:100%;margin-top:10px;margin-bottom:10px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.selection-group[_ngcontent-%COMP%]{padding-bottom:20px}"],data:{animation:[(0,on.X$)("detailExpand",[(0,on.SB)("collapsed",(0,on.oB)({height:"0px",minHeight:"0",visibility:"hidden"})),(0,on.SB)("expanded",(0,on.oB)({height:"*",visibility:"visible"})),(0,on.eR)("expanded <=> collapsed",(0,on.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}}),n}();function RL(n,r,t){return((n=n.toLowerCase())<(r=r.toLowerCase())?-1:1)*(t?1:-1)}var zbe=f(56205),Wbe='<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">',bv_xmlns="http://www.w3.org/2000/xmlns/",bv_xlink="http://www.w3.org/1999/xlink",bv_svg="http://www.w3.org/2000/svg",Xj="untitled";function Ybe(){var n=document.createElementNS(bv_svg,"svg");document.body.appendChild(n),n.style.all="initial";var r=getComputedStyle(n);return document.body.removeChild(n),n=null,r}function Qbe(n,r){function t(s){for(var p,m,u=getComputedStyle(s),b="",I=0,F=u.length;I<F;I++)(m=u.getPropertyValue(p=u[I]))!==r.getPropertyValue(p)&&(b+="".concat(p,":").concat(m,";"));s.setAttribute("style",b)}for(var o=(u=void 0,(u=[]).push(s=n),function p(m){if(m&&m.hasChildNodes())for(var b=m.firstChild;b;)1===b.nodeType&&"SCRIPT"!==b.nodeName&&(u.push(b),p(b)),b=b.nextSibling}(s),u),a=o.length;a--;)t(o[a]);var s,u}function Kbe(n){var r=document.createElement("style");r.innerHTML=Array.from(document.styleSheets).filter(function(t){return!t.href||t.href.startsWith(document.location.origin)}).map(function(t){return Array.from(t.cssRules).map(function(i){return i.cssText}).join(" ")}).join(" "),n.prepend(r)}function e0e(n,r,t){var i=document.createElement("a");document.body.appendChild(i),i.setAttribute("class","svg-crowbar"),i.setAttribute("download",n),i.setAttribute("href",r),i.style.display="none",i.click(),setTimeout(function(){t&&t(),document.body.removeChild(i)},10)}var o0e=function(r,t,i){return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Xj,t=URL.createObjectURL(new Blob([n.source],{type:"text/xml"}));e0e("".concat(r,".svg"),t,function(){return URL.revokeObjectURL(t)})}(function(n){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).css,i=void 0===t?"inline":t;if(!(n instanceof SVGElement))throw new Error("SVG element is required");n.setAttribute("version","1.1"),n.removeAttribute("xmlns"),n.removeAttribute("xlink"),n.hasAttributeNS(bv_xmlns,"xmlns")||n.setAttributeNS(bv_xmlns,"xmlns",bv_svg),n.hasAttributeNS(bv_xmlns,"xmlns:xlink")||n.setAttributeNS(bv_xmlns,"xmlns:xlink",bv_xlink),"inline"===i?Qbe(n,Ybe()):"internal"===i&&Kbe(n);var o=(new XMLSerializer).serializeToString(n),a=n.getBoundingClientRect();return{top:a.top,left:a.left,width:a.width,height:a.height,class:n.getAttribute("class"),id:n.getAttribute("id"),name:n.getAttribute("name"),childElementCount:n.childElementCount,source:Wbe+o}}(r,i),t||function(n){if(!(n instanceof SVGElement))throw new Error("SVG Element is required");return n.getAttribute("id")||n.getAttribute("class")||document.title.replace(/[^a-z0-9]/gi,"-").toLowerCase()||Xj}(r))},_y={UKNOWN:"Unknown"},NL={CHROME:"Chrome",FIREFOX:"Firefox",SAFARI:"Safari",OPERA:"Opera",IE:"IE",MS_EDGE:"MS-Edge",MS_EDGE_CHROMIUM:"MS-Edge-Chromium",FB_MESSANGER:"FB-Messanger",SAMSUNG:"Samsung",UCBROWSER:"UC-Browser",UNKNOWN:_y.UKNOWN},H2={HTC:/HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\bEVO\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel/,NEXUS_PHONE:/Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6/,DELL:/Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\b001DL\b|\b101DL\b|\bGS01\b/,MOTOROLA:new RegExp("Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|\n      A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|\n      MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|\n      ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|\n      WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|\n      XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|\n      XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b|XT1068|XT1092|XT1052"),SAMSUNG:new RegExp("\\bSamsung\\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|\n      GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|\n      GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|\n      GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|\n      GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|\n      GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|\n      GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|\n      GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|\n      GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|\n      GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|\n      GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|\n      GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|\n      GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|\n      GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|\n      GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|\n      GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|\n      GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|\n      GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|\n      SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|\n      SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|\n      SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|\n      SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|\n      SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|\n      SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|\n      SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|\n      SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|\n      SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|\n      SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|\n      SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|\n      SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|\n      SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|\n      SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|\n      SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|\n      SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|\n      SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|\n      SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|\n      SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|\n      SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|\n      SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|\n      SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|\n      SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|\n      SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|\n      SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|\n      SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|\n      SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|\n      SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|\n      SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|\n      SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|\n      SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|\n      GT-N7105|SCH-I535|SM-N900A|SM-N900T|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|\n      GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|\n      GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|\n      SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|\n      SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|\n      SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F"),LG:new RegExp("\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|\n      LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|\n      C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|\n      LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|\n      VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|\n      MS323|M257)"),SONY:/SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533/,ASUS:/Asus.*Galaxy|PadFone.*Mobile/,NOKIA_LUMIA:/Lumia [0-9]{3,4}/,MICROMAX:/Micromax.*\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\b/,PALM:/PalmSource|Palm/,VERTU:/Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature/,PANTECH:new RegExp("PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|\n        IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|\n        IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|\n        CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|\n        P2000|P7040|P7000|C790"),FLY:/IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250/,WIKO:new RegExp("KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|\n        SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|\n        CINK KING|CINK PEAX|CINK SLIM|SUBLIM"),I_MOBILE:/i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)/,SIMVALLEY:/\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\b/,WOLFGANG:/AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q/,ALCATEL:/Alcatel|Mobile; rv:49.0|Mobile; ALCATEL 4052R; rv:48.0/,NINTENDO:/Nintendo (3DS|Switch)/,AMOI:/Amoi/,INQ:/INQ/,VITA:/\bVita\b/,BLACKBERRY:/\bBlackBerry\b|\bBB10\b|rim[0-9]+/,FIREFOX_OS:/\bFirefox-OS\b/,IPHONE:/\biPhone\b/,iPod:/\biPod\b/,ANDROID:/\bAndroid\b/,WINDOWS_PHONE:/\bWindows-Phone\b/,GENERIC_PHONE:new RegExp("Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|\n        up.link|vodafone|\\bwap\\b|nokia|Nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser")},yy={iPad:/iPad|iPad.*Mobile/,NexusTablet:/Android.*Nexus[\s]+(7|9|10)/,GoogleTablet:/Android.*Pixel C/,SamsungTablet:new RegExp("SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|\n        GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|\n        SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|\n        GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|\n        SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|\n        GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|\n        SHV-E230S|SHW-M180K|SHW-M180L|SM-T865|SM-T290|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|\n        SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|\n        GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T385M|SM-P585M|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|\n        SM-P601|SM-P605|SM-P615|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|\n        GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|\n        SM-T510|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|\n        SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T500|SM-T330|\n        SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|\n        SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|\n        SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|\n        SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|\n        SM-T719|SM-T813|SM-T819|SM-T580|SM-T590|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|\n        SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835|SM-P585Y"),Kindle:new RegExp("Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|\n        KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome        /[0-9.]+ (?!Mobile)"),SurfaceTablet:/Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)/,HPTablet:/HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10/,AsusTablet:new RegExp("^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|\n        TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|\n        Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|\n        ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|\n        ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b|\\bP024\\b|\\bP00C\\b"),BlackBerryTablet:/PlayBook|RIM Tablet/,HTCtablet:/HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410/,MotorolaTablet:/xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617/,NookTablet:/Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2/,AcerTablet:new RegExp("Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|\n        W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\n        \\bA3-A20\\b|\\bA3-A30"),ToshibaTablet:/Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO/,LGTablet:/\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\b/,FujitsuTablet:/Android.*\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\b/,PrestigioTablet:new RegExp("PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|\n        PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|\n        PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|\n        PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|\n        PMT5887|PMT5001|PMT5002"),LenovoTablet:new RegExp("Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|\n        YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|\n        B8000|B8080)(-|)(FL|F|HV|H|)|TB-X606F|TB-X103F|TB-X304F|TB-X304L|TB-X704F|TB-8703F|Tab2A7-10F|TB2-X30L|TB-8504F"),DellTablet:/Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7/,YarvikTablet:new RegExp("Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|\n        TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|\n        TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|\n        TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|\n        TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b"),MedionTablet:/Android.*\bOYO\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB/,ArnovaTablet:/97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2/,IntensoTablet:/INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004/,IRUTablet:/M702pro/,MegafonTablet:/MegaFon V9|\bZTE V9\b|Android.*\bMT7A\b/,EbodaTablet:/E-Boda (Supreme|Impresspeed|Izzycomm|Essential)/,AllViewTablet:/Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)/,ArchosTablet:new RegExp("\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10|\n         Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b"),AinolTablet:/NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark/,NokiaLumiaTablet:/Lumia 2520/,SonyTablet:new RegExp("Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|\n        SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|\n        EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP641|SGP612|SOT31|SGP771|SGP611|\n        SGP612|SGP712"),PhilipsTablet:/\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\b/,CubeTablet:/Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT/,CobyTablet:new RegExp("MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|\n        MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010"),MIDTablet:new RegExp("M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|\n        MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|\n        MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10"),MSITablet:new RegExp("MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|\n        Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b"),SMiTTablet:/Android.*(\bMID\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)/,RockChipTablet:/Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A/,FlyTablet:/IQ310|Fly Vision/,bqTablet:new RegExp("Android.*(bq)?.*(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|\n        Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))|Maxwell.*Lite|Maxwell.*Plus"),HuaweiTablet:new RegExp("MediaPad|MediaPad 7 Youth|MediaPad T3 10|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|\n        S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09|AGS-W09"),NecTablet:/\bN-06D|\bN-08D/,PantechTablet:/Pantech.*P4100/,BronchoTablet:/Broncho.*(N701|N708|N802|a710)/,VersusTablet:/TOUCHPAD.*[78910]|\bTOUCHTAB\b/,ZyncTablet:/z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900/,PositivoTablet:/TB07STA|TB10STA|TB07FTA|TB10FTA/,NabiTablet:/Android.*\bNabi/,KoboTablet:/Kobo Touch|\bK080\b|\bVox\b Build|\bArc\b Build/,DanewTablet:/DSlide.*\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\b/,TexetTablet:new RegExp("NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|\n        TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|\n        TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|\n        TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|\n        TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|\n        TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|\n        TB-436|TB-416|TB-146SE|TB-126SE"),PlaystationTablet:/Playstation.*(Portable|Vita)/,TrekstorTablet:/ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab/,PyleAudioTablet:/\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\b/,AdvanTablet:new RegExp("Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|\n        T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b"),DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|\n        Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:/Android.*\bG1\b(?!\))/,MicromaxTablet:/Funbook|Micromax.*\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\b/,KarbonnTablet:/Android.*\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\b/,AllFineTablet:/Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide/,PROSCANTablet:new RegExp("\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|\n        PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|\n        PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|\n        PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b"),YONESTablet:/BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026/,ChangJiaTablet:new RegExp("TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|\n        TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|\n        TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|\n        TPC10111|TPC10203|TPC10205|TPC10503"),GUTablet:/TX-A1301|TX-M9002|Q702|kf026/,PointOfViewTablet:new RegExp("TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|\n        TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|\n        TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|\n        TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10"),OvermaxTablet:new RegExp("OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|\n        MagicTab|Stream|TB-08|TB-09)|Qualcore 1027"),HCLTablet:/HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync/,DPSTablet:/DPS Dream 9|DPS Dual 7/,VistureTablet:/V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10/,CrestaTablet:/CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989/,MediatekTablet:/\bMT8125|MT8389|MT8135|MT8377\b/,ConcordeTablet:/Concorde([ ]+)?Tab|ConCorde ReadMan/,GoCleverTablet:new RegExp("GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|\n        TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|\n        GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|\n        TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|\n        TAB R104|TAB R83.3|TAB A1042"),ModecomTablet:new RegExp("FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|\n        FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|\n        FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003"),VoninoTablet:new RegExp("\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|\n        Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|\n        Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b"),ECSTablet:/V07OT2|TM105A|S10OT1|TR10CS1/,StorexTablet:/eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab/,VodafoneTablet:/SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497/,EssentielBTablet:/Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2/,RossMoorTablet:/RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711/,iMobileTablet:/i-mobile i-note/,TolinoTablet:/tolino tab [0-9.]+|tolino shine/,AudioSonicTablet:/\bC-22Q|T7-QC|T-17B|T-17P\b/,AMPETablet:/Android.* A78 /,SkkTablet:/Android.* (SKYPAD|PHOENIX|CYCLOPS)/,TecnoTablet:/TECNO P9|TECNO DP8D/,JXDTablet:new RegExp("Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|\n        S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|\n        P1000|P300|S18|S6600|S9100)\\b"),iJoyTablet:new RegExp("Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|\n        Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|\n        Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|\n        Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|\n        Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)"),FX2Tablet:/FX2 PAD7|FX2 PAD10/,XoroTablet:new RegExp("KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|\n        PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|\n        PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|\n        TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151"),ViewsonicTablet:/ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a/,VerizonTablet:/QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1/,OdysTablet:/LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\bXELIO\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10/,CaptivaTablet:/CAPTIVA PAD/,IconbitTablet:new RegExp("NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|\n        NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S"),TeclastTablet:new RegExp("T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\n        \\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\n        \\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\n        \\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\n        \\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\n        \\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\n        \\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\n        \\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\n        \\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi"),OndaTablet:new RegExp("\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|\n        V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|\n        V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|\n        Vi40)\\b[s]+|V10 \\b4G\\b"),JaytechTablet:/TPC-PA762/,BlaupunktTablet:/Endeavour 800NG|Endeavour 1010/,DigmaTablet:/\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\b/,EvolioTablet:/ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\bEvotab\b|\bNeura\b/,LavaTablet:/QPAD E704|\bIvoryS\b|E-TAB IVORY|\bE-TAB\b/,AocTablet:/MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712/,MpmanTablet:new RegExp("MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\n        \\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|\n        MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010"),CelkonTablet:/CT695|CT888|CT[\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\bCT-1\b/,WolderTablet:new RegExp("miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|\n        POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|\n        FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b"),MediacomTablet:"M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA",MiTablet:/\bMI PAD\b|\bHM NOTE 1W\b/,NibiruTablet:/Nibiru M1|Nibiru Jupiter One/,NexoTablet:/NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI/,LeaderTablet:new RegExp("TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|\n        TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100"),UbislateTablet:/UbiSlate[\s]?7C/,PocketBookTablet:/Pocketbook/,KocasoTablet:/\b(TB-1207)\b/,HisenseTablet:/\b(F5281|E2371)\b/,Hudl:/Hudl HT7S3|Hudl 2/,TelstraTablet:/T-Hub2/,Honeywell:/RT10A/,GenericTablet:new RegExp("Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|\n        A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|\n        Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b|\\bQTAQZ3\\b|WVT101|TM1088|KT107")},oh={BLACKBERRY:"Blackberry",FIREFOX_OS:"Firefox-OS",CHROME_BOOK:"Chrome-Book",WINDOWS_PHONE:"Windows-Phone",VITA:"Vita",PS4:"PS4",MAC:"Macintosh",CHROMECAST:"Chromecast",APPLE_TV:"Apple-TV",GOOGLE_TV:"Google-TV",ANDROID:"Android",Tesla:"Tesla",iPad:"iPad",IPHONE:"iPhone",iPod:"iPod",UNKNOWN:_y.UKNOWN,HTC:"HTC",NEXUS_PHONE:"Nexus Phone",NexusTablet:"Nexus Tablet",DELL:"Dell",MOTOROLA:"Motorola",SAMSUNG:"Samsung",LG:"LG",SONY:"Sony",ASUS:"Asus",NOKIA_LUMIA:"Nokia Lumia",MICROMAX:"Micromax",PALM:"Palm",VERTU:"Vertu",PANTECH:"PANTECH",FLY:"Fly",WIKO:"WIKO",I_MOBILE:"i-mobile",SIMVALLEY:"Simvalley",WOLFGANG:"Wolfgang",ALCATEL:"Alcatel",HONEYWELL:"Honeywell",NINTENDO:"Nintendo",AMOI:"Amoi",INQ:"INQ",GENERIC_PHONE:"Generic Phone",MI_SE_9:"Mi SE 9"},$j=[oh.PS4,oh.CHROME_BOOK,oh.MAC,oh.DELL,oh.ASUS,oh.UNKNOWN],a0e={WINDOWS:"Windows",MAC:"Mac",IOS:"iOS",ANDROID:"Android",LINUX:"Linux",UNIX:"Unix",FIREFOX_OS:"Firefox-OS",CHROME_OS:"Chrome-OS",WINDOWS_PHONE:"Windows-Phone",UNKNOWN:_y.UKNOWN},s0e={WINDOWS_3_11:"windows-3-11",WINDOWS_95:"windows-95",WINDOWS_ME:"windows-me",WINDOWS_98:"windows-98",WINDOWS_CE:"windows-ce",WINDOWS_2000:"windows-2000",WINDOWS_XP:"windows-xp",WINDOWS_SERVER_2003:"windows-server-2003",WINDOWS_VISTA:"windows-vista",WINDOWS_7:"windows-7",WINDOWS_8_1:"windows-8-1",WINDOWS_8:"windows-8",WINDOWS_10:"windows-10",WINDOWS_PHONE_7_5:"windows-phone-7-5",WINDOWS_PHONE_8_1:"windows-phone-8-1",WINDOWS_PHONE_10:"windows-phone-10",WINDOWS_NT_4_0:"windows-nt-4-0",MACOSX_11_0:"mac-os-x-11-0",MACOSX_16:"mac-os-x-16",MACOSX_15:"mac-os-x-15",MACOSX_14:"mac-os-x-14",MACOSX_13:"mac-os-x-13",MACOSX_12:"mac-os-x-12",MACOSX_11:"mac-os-x-11",MACOSX_10:"mac-os-x-10",MACOSX_9:"mac-os-x-9",MACOSX_8:"mac-os-x-8",MACOSX_7:"mac-os-x-7",MACOSX_6:"mac-os-x-6",MACOSX_5:"mac-os-x-5",MACOSX_4:"mac-os-x-4",MACOSX_3:"mac-os-x-3",MACOSX_2:"mac-os-x-2",MACOSX:"mac-os-x",iOS:"iOS",ANDROID_9:"android-9",UNKNOWN:_y.UKNOWN.toLowerCase()},ez={WINDOWS:{and:[{or:[/\bWindows|(Win\d\d)\b/,/\bWin 9x\b/]},{not:/\bWindows Phone\b/}]},MAC:{and:[/\bMac OS\b/,{not:{or:[/\biPhone\b/,/\biPad\b/,/\biPod\b/,/\bWindows Phone\b/]}}]},IOS:{and:[{or:[/\biPad\b/,/\biPhone\b/,/\biPod\b/]},{not:/\bWindows Phone\b/}]},ANDROID:{and:[/\bAndroid\b/,{not:/\bWindows Phone\b/}]},LINUX:/\bLinux\b/,UNIX:/\bUNIX\b/,FIREFOX_OS:{and:[/\bFirefox\b/,/Mobile\b/]},CHROME_OS:/\bCrOS\b/,WINDOWS_PHONE:{or:[/\bIEMobile\b/,/\bWindows Phone\b/]},PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,VITA:/\bMozilla\/5.0 \(Play(S|s)tation Vita\b/},u0e=Object.assign(Object.assign(Object.assign(Object.assign({},H2),yy),ez),{FIREFOX_OS:{and:[/\bFirefox\b/,/\bMobile\b/]},CHROME_BOOK:/\bCrOS\b/,PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,CHROMECAST:/\bCrKey\b/,APPLE_TV:/^iTunes-AppleTV\/4.1$/,GOOGLE_TV:/\bGoogleTV\b/,Tesla:/Tesla\/([0-9]{4}.[0-9]{1,2}.?[0-9]{0,2}.?[0-9]{0,2})-(.{7})/,MI_SE_9:/\bXiaomi\b/,MAC:{and:[/\bMac OS\b/,{not:{or:[/\biPhone\b/,/\biPad\b/,/\biPod\b/,/\bWindows Phone\b/]}}]}}),ZL={WINDOWS_3_11:/Win16/,WINDOWS_95:/(Windows 95|Win95|Windows_95)/,WINDOWS_ME:/(Win 9x 4.90|Windows ME)/,WINDOWS_98:/(Windows 98|Win98)/,WINDOWS_CE:/Windows CE/,WINDOWS_2000:/(Windows NT 5.0|Windows 2000)/,WINDOWS_XP:/(Windows NT 5.1|Windows XP)/,WINDOWS_SERVER_2003:/Windows NT 5.2/,WINDOWS_VISTA:/Windows NT 6.0/,WINDOWS_7:/(Windows 7|Windows NT 6.1)/,WINDOWS_8_1:/(Windows 8.1|Windows NT 6.3)/,WINDOWS_8:/(Windows 8|Windows NT 6.2)/,WINDOWS_10:/(Windows NT 10.0)/,WINDOWS_PHONE_7_5:/(Windows Phone OS 7.5)/,WINDOWS_PHONE_8_1:/(Windows Phone 8.1)/,WINDOWS_PHONE_10:/(Windows Phone 10)/,WINDOWS_NT_4_0:{and:[/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/,{not:/Windows NT 10.0/}]},MACOSX:/(MAC OS X\s*[^ 0-9])/,MACOSX_3:/(Darwin 10.3|Mac OS X 10.3)/,MACOSX_4:/(Darwin 10.4|Mac OS X 10.4)/,MACOSX_5:/(Mac OS X 10.5)/,MACOSX_6:/(Mac OS X 10.6)/,MACOSX_7:/(Mac OS X 10.7)/,MACOSX_8:/(Mac OS X 10.8)/,MACOSX_9:/(Mac OS X 10.9)/,MACOSX_10:/(Mac OS X 10.10)/,MACOSX_11:/(Mac OS X 10.11)/,MACOSX_12:/(Mac OS X 10.12)/,MACOSX_13:/(Mac OS X 10.13)/,MACOSX_14:/(Mac OS X 10.14)/,MACOSX_15:/(Mac OS X 10.15)/,MACOSX_16:/(Mac OS X 10.16)/,MACOSX_11_0:{or:[/11_0 like Mac OS X/,/Mac OS X 11/]},iOS:/(iPhone OS\s*[0-9_]+)/,ANDROID_9:/(Android 9)/},LL={CHROME:[/\bChrome\/([\d\.]+)\b/,/\bCriOS\/([\d\.]+)\b/,/\bHeadlessChrome\/([\d\.]+)\b/],FIREFOX:[/\bFirefox\/([\d\.]+)\b/,/\bFxiOS\/([\d\.]+)\b/],SAFARI:[/\bVersion\/([\d\.]+)\b/,/\bSafari\/([\d\.]+)\b/],OPERA:[/\bVersion\/([\d\.]+)\b/,/\bOPR\/([\d\.]+)\b/],IE:[/\bMSIE ([\d\.]+\w?)\b/,/\brv:([\d\.]+\w?)\b/],MS_EDGE:/\bEdg(?:e|A|iOS)\/([\d\.]+)\b/,MS_EDGE_CHROMIUM:/\bEdg\/([\d\.]+)\b/,SAMSUNG:/\bSamsungBrowser\/([\d\.]+)\b/,UCBROWSER:/\bUCBrowser\/([\d\.]+)\b/},tz=function(r,t){return r[t]=ZL[t],r},c0e=Object.keys(ZL).reduce(tz,{}),nz=function(r,t){return r[NL[t]]=LL[t],r},rz=Object.keys(LL).reduce(nz,{}),pd=Object.freeze({__proto__:null,GENERAL:_y,BROWSERS:NL,MOBILES_RE:H2,TABLETS_RE:yy,DEVICES:oh,DESKTOP_DEVICES:$j,OS:a0e,OS_VERSIONS:s0e,OS_RE:ez,BROWSERS_RE:{CHROME:{and:[{or:[/\bChrome\b/,/\bCriOS\b/,/\bHeadlessChrome\b/]},{not:{or:[/\bOPR\b/,/\bEdg(e|A|iOS)\b/,/\bEdg\/\b/,/\bSamsungBrowser\b/,/\bUCBrowser\b/]}}]},FIREFOX:{or:[/\bFirefox\b/,/\bFxiOS\b/]},SAFARI:{and:[/^((?!CriOS).)*\Safari\b.*$/,{not:{or:[/\bOPR\b/,/\bEdg(e|A|iOS)\b/,/\bEdg\/\b/,/\bWindows Phone\b/,/\bSamsungBrowser\b/,/\bUCBrowser\b/]}}]},OPERA:{or:[/Opera\b/,/\bOPR\b/]},IE:{or:[/\bMSIE\b/,/\bTrident\b/,/^Mozilla\/5\.0 \(Windows NT 10\.0; Win64; x64\)$/]},MS_EDGE:{or:[/\bEdg(e|A|iOS)\b/]},MS_EDGE_CHROMIUM:/\bEdg\/\b/,PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,VITA:/\bMozilla\/5.0 \(Play(S|s)tation Vita\b/,FB_MESSANGER:/\bFBAN\/MessengerForiOS\b/,SAMSUNG:/\bSamsungBrowser\b/,UCBROWSER:/\bUCBrowser\b/},DEVICES_RE:u0e,OS_VERSIONS_RE_MAP:ZL,BROWSER_VERSIONS_RE_MAP:LL,OS_VERSIONS_RE:c0e,BROWSER_VERSIONS_RE:rz,"\u02750":tz,"\u02751":nz}),d0e=function(){function n(){(0,g.Z)(this,n)}return(0,k.Z)(n,[{key:"test",value:function(t,i){var o=this;return"string"==typeof i&&(i=new RegExp(i)),i instanceof RegExp?i.test(t):i&&Array.isArray(i.and)?i.and.every(function(a){return o.test(t,a)}):i&&Array.isArray(i.or)?i.or.some(function(a){return o.test(t,a)}):!(!i||!i.not||this.test(t,i.not))}},{key:"exec",value:function(t,i){var o=this;return"string"==typeof i&&(i=new RegExp(i)),i instanceof RegExp?i.exec(t):i&&Array.isArray(i)?i.reduce(function(a,s){return a||o.exec(t,s)},null):null}}]),n}(),V2=function(n){return n.Mobile="mobile",n.Tablet="tablet",n.Desktop="desktop",n.Unknown="unknown",n}({}),iz=function(n){return n.Portrait="portrait",n.Landscape="landscape",n}({}),FL="iPad",p0e=function(){var n=function(){function r(t){(0,g.Z)(this,r),this.platformId=t,this.ua="",this.userAgent="",this.os="",this.browser="",this.device="",this.os_version="",this.browser_version="",this.reTree=new d0e,this.deviceType="",this.orientation="",(0,Et.NF)(this.platformId)&&"undefined"!=typeof window&&(this.userAgent=window.navigator.userAgent),this.setDeviceInfo(this.userAgent)}return(0,k.Z)(r,[{key:"setDeviceInfo",value:function(){var i=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.userAgent;o!==this.userAgent&&(this.userAgent=o);var a=[{const:"OS",prop:"os"},{const:"BROWSERS",prop:"browser"},{const:"DEVICES",prop:"device"},{const:"OS_VERSIONS",prop:"os_version"}];if(a.forEach(function(p){i[p.prop]=Object.keys(pd[p.const]).reduce(function(m,b){return"device"===pd[p.const][b]&&(0,Et.NF)(i.platformId)&&(i.reTree.test(i.userAgent,yy[FL])||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)?(m[pd[p.const][b]]=FL,Object):(m[pd[p.const][b]]=i.reTree.test(o,pd["".concat(p.const,"_RE")][b]),m)},{})}),a.forEach(function(p){i[p.prop]=Object.keys(pd[p.const]).map(function(m){return pd[p.const][m]}).reduce(function(m,b){return"device"===p.prop&&m===pd[p.const].ANDROID?i[p.prop][b]?b:m:m===pd[p.const].UNKNOWN&&i[p.prop][b]?b:m},pd[p.const].UNKNOWN)}),this.browser_version="0",this.browser!==NL.UNKNOWN){var s=rz[this.browser],u=this.reTree.exec(o,s);u&&(this.browser_version=u[1])}this.orientation="undefined"!=typeof window&&window.matchMedia?window.matchMedia("(orientation: landscape)").matches?iz.Landscape:iz.Portrait:_y.UKNOWN,this.deviceType=this.isTablet()?V2.Tablet:this.isMobile(this.userAgent)?V2.Mobile:this.isDesktop(this.userAgent)?V2.Desktop:V2.Unknown}},{key:"getDeviceInfo",value:function(){return{userAgent:this.userAgent,os:this.os,browser:this.browser,device:this.device,os_version:this.os_version,browser_version:this.browser_version,deviceType:this.deviceType,orientation:this.orientation}}},{key:"isMobile",value:function(){var i=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.userAgent;if(this.isTablet(o))return!1;var a=Object.keys(H2).find(function(s){return i.reTree.test(o,H2[s])});return!!a}},{key:"isTablet",value:function(){var i=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.userAgent;if((0,Et.NF)(this.platformId)&&(this.reTree.test(this.userAgent,yy[FL])||"undefined"!=typeof navigator&&"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1))return!0;var a=Object.keys(yy).find(function(s){return!!i.reTree.test(o,yy[s])});return!!a}},{key:"isDesktop",value:function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.userAgent;return(this.device!==oh.UNKNOWN||!this.isMobile(i)&&!this.isTablet(i))&&$j.indexOf(this.device)>-1}}]),r}();return n.\u0275fac=function(t){return new(t||n)(e.LFG(e.Lbi))},n.\u0275prov=e.Yz7({factory:function(){return new n(e.LFG(e.Lbi))},token:n,providedIn:"root"}),n}();function f0e(n,r){1&n&&(e.TgZ(0,"mat-error"),e._uU(1,"Name for screenshot is required"),e.qZA())}function h0e(n,r){1&n&&(e.TgZ(0,"mat-error"),e._uU(1,"Entered name is incorrect"),e.qZA())}var m0e=function(n){return{"is-invalid":n}},v0e=function(){function n(r,t,i,o,a){this.dialogRef=r,this.toasterService=t,this.formBuilder=i,this.electronService=o,this.deviceService=a,this.filetype="svg",this.nameForm=this.formBuilder.group({screenshotName:new ne.NI("screenshot-"+Date.now(),[ne.kI.required])}),this.isPngAvailable=this.electronService.isWindows||"Windows"===this.deviceService.getDeviceInfo().os}return n.prototype.ngOnInit=function(){},Object.defineProperty(n.prototype,"form",{get:function(){return this.nameForm.controls},enumerable:!1,configurable:!0}),n.prototype.onAddClick=function(){if(!this.nameForm.invalid){var r={name:this.nameForm.get("screenshotName").value,filetype:this.filetype};this.dialogRef.close(r)}},n.prototype.onNoClick=function(){this.dialogRef.close()},n.prototype.onKeyDown=function(r){"Enter"===r.key&&this.onAddClick()},n.prototype.setFiletype=function(r){this.isPngAvailable&&(this.filetype=r)},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(Xn),e.Y36(ne.qu),e.Y36(ds),e.Y36(p0e))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-screenshot-dialog"]],decls:17,vars:7,consts:[["mat-dialog-title",""],["aria-label","Sorting",1,"radio-group"],["value","1","checked","",3,"click"],["value","2",3,"disabled","click"],[1,"name-form",3,"formGroup"],[1,"name-form"],["matInput","","type","text","formControlName","screenshotName","placeholder","Please enter name",3,"ngClass","keydown"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1,"Take a screenshot"),e.qZA(),e.TgZ(2,"mat-radio-group",1),e.TgZ(3,"mat-radio-button",2),e.NdJ("click",function(){return i.setFiletype("svg")}),e._uU(4,"SVG"),e.qZA(),e.TgZ(5,"mat-radio-button",3),e.NdJ("click",function(){return i.setFiletype("png")}),e._uU(6,"PNG"),e.qZA(),e.qZA(),e.TgZ(7,"form",4),e.TgZ(8,"mat-form-field",5),e.TgZ(9,"input",6),e.NdJ("keydown",function(a){return i.onKeyDown(a)}),e.qZA(),e.YNc(10,f0e,2,0,"mat-error",7),e.YNc(11,h0e,2,0,"mat-error",7),e.qZA(),e.TgZ(12,"div",8),e.TgZ(13,"button",9),e.NdJ("click",function(){return i.onNoClick()}),e._uU(14,"Cancel"),e.qZA(),e.TgZ(15,"button",10),e.NdJ("click",function(){return i.onAddClick()}),e._uU(16,"Take a screenshot"),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(5),e.Q6J("disabled",!i.isPngAvailable),e.xp6(2),e.Q6J("formGroup",i.nameForm),e.xp6(2),e.Q6J("ngClass",e.VKq(5,m0e,null==i.form.acreenshotName?null:i.form.acreenshotName.errors)),e.xp6(1),e.Q6J("ngIf",(null==i.form.screenshotName?null:i.form.screenshotName.touched)&&(null==i.form.screenshotName?null:i.form.screenshotName.errors)&&(null==i.form.screenshotName?null:i.form.screenshotName.errors.required)),e.xp6(1),e.Q6J("ngIf",(null==i.form.screenshotName?null:i.form.screenshotName.touched)&&(null==i.form.screenshotName?null:i.form.screenshotName.errors)&&(null==i.form.acreenshotName?null:i.form.acreenshotName.errors.invalidName)))},directives:[ni,fl,hl,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,Et.mk,Et.O5,ei,Mn,Un.TO],styles:[".name-form[_ngcontent-%COMP%]{width:100%}.radio-group[_ngcontent-%COMP%]{display:flex;justify-content:space-between}"]}),n}(),oz=function(){function n(){}return n.prototype.getDrawingElement=function(){var r=new gv;return r.height=100,r.width=100,r.fill="#000000",r.fill_opacity=0,r.font_family="Noto Sans",r.font_size=11,r.font_weight="bold",r},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),az=function(){function n(){}return n.prototype.getDrawingElement=function(){var r=new Oo;return r.fill="#ffffff",r.fill_opacity=1,r.stroke="#000000",r.stroke_width=2,r.cx=100,r.cy=100,r.rx=100,r.ry=100,r.width=200,r.height=200,r},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),sz=function(){function n(){}return n.prototype.getDrawingElement=function(){var r=new mp;return r.fill="#ffffff",r.fill_opacity=1,r.stroke="#000000",r.stroke_width=2,r.width=200,r.height=100,r},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),lz=function(){function n(){}return n.prototype.getDrawingElement=function(){var r=new vv;return r.stroke="#000000",r.stroke_width=2,r.x1=0,r.x2=200,r.y1=0,r.y2=0,r.width=100,r.height=0,r},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),BL=function(){function n(r,t,i,o){this.textElementFactory=r,this.ellipseElementFactory=t,this.rectangleElementFactory=i,this.lineElementFactory=o,this.availableFactories={text:this.textElementFactory,ellipse:this.ellipseElementFactory,rectangle:this.rectangleElementFactory,line:this.lineElementFactory}}return n.prototype.getDrawingMock=function(r){this.factory=this.availableFactories[r];var t=new th;return t.element=this.factory.getDrawingElement(),t},n.\u0275fac=function(t){return new(t||n)(e.LFG(oz),e.LFG(az),e.LFG(sz),e.LFG(lz))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),g0e=function(){function n(r,t,i,o,a){this.drawingService=r,this.drawingsDataSource=t,this.drawingsEventSource=i,this.drawingsFactory=o,this.mapDrawingToSvgConverter=a,this.drawingSaved=new e.vpe}return n.prototype.ngOnInit=function(){var r=this;this.pointToAddSelected=this.drawingsEventSource.pointToAddSelected.subscribe(function(t){return r.onDrawingSaved(t)})},n.prototype.ngOnChanges=function(r){r.selectedDrawing&&!r.selectedDrawing.isFirstChange()&&(this.selectedDrawing=r.selectedDrawing.currentValue,"text"!==this.selectedDrawing&&this.drawingsEventSource.selected.emit(this.selectedDrawing))},n.prototype.onDrawingSaved=function(r){var t=this,i=this.drawingsFactory.getDrawingMock(this.selectedDrawing),o=this.mapDrawingToSvgConverter.convert(i);this.drawingService.add(this.server,this.project.project_id,r.x,r.y,o).subscribe(function(a){t.drawingsDataSource.add(a),t.drawingSaved.emit(!0)})},n.prototype.ngOnDestroy=function(){this.pointToAddSelected.unsubscribe()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Ts),e.Y36(xs),e.Y36(ic),e.Y36(BL),e.Y36(yv))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-drawing-added"]],inputs:{server:"server",project:"project",selectedDrawing:"selectedDrawing"},outputs:{drawingSaved:"drawingSaved"},features:[e.TTD],decls:0,vars:0,template:function(t,i){},styles:[""]}),n}(),uz=function(n){return{selected:n}};function _0e(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"button",12),e.NdJ("click",function(){return e.CHM(t),e.oxw().addDrawing("line")}),e.O4$(),e.TgZ(1,"svg",13),e._UZ(2,"line",14),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(2),e.Q6J("ngClass",e.VKq(1,uz,i.drawTools.isLineChosen))}}function y0e(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"button",12),e.NdJ("click",function(){return e.CHM(t),e.oxw().addDrawing("line")}),e.O4$(),e.TgZ(1,"svg",13),e._UZ(2,"line",15),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(2),e.Q6J("ngClass",e.VKq(1,uz,i.drawTools.isLineChosen))}}var b0e=function(n,r){return{unmarkedLight:n,marked:r}},C0e=function(n){return{unmarkedLight:n}},cz=function(){function n(r,t,i,o,a,s){this.toolsService=r,this.mapSettingsService=t,this.drawingService=i,this.symbolService=o,this.dialog=a,this.themeService=s,this.drawTools={isRectangleChosen:!1,isEllipseChosen:!1,isLineChosen:!1,isTextChosen:!1},this.isLocked=!1,this.isLightThemeEnabled=!1}return n.prototype.ngOnInit=function(){this.isLightThemeEnabled="light"===this.themeService.getActualTheme()},n.prototype.getCssClassForIcon=function(r){return"text"===r?{unmarkedLight:!this.drawTools.isTextChosen&&this.isLightThemeEnabled,marked:this.drawTools.isTextChosen}:"rectangle"===r?{unmarkedLight:!this.drawTools.isRectangleChosen&&this.isLightThemeEnabled,marked:this.drawTools.isRectangleChosen}:{unmarkedLight:!this.drawTools.isEllipseChosen&&this.isLightThemeEnabled,marked:this.drawTools.isEllipseChosen}},n.prototype.takeScreenshot=function(){var r=this;this.dialog.open(v0e,{width:"400px",autoFocus:!1,disableClose:!0}).afterClosed().subscribe(function(i){i&&r.saveImage(i)})},n.prototype.saveImage=function(r){return(0,Jn.mG)(this,void 0,void 0,function(){var t,i,o,a,s,u,p,m;return(0,Jn.Jh)(this,function(F){switch(F.label){case 0:if("png"!==r.filetype)return[3,4];t=document.getElementsByTagName("svg")[0].outerHTML.split("image"),i=1,F.label=1;case 1:return i<t.length?(o=t[i].split('"'),a=o[1].split("/"),[4,this.symbolService.raw(this.server,a[7]).toPromise()]):[3,3];case 2:return s=F.sent(),u=s.split("--\x3e"),t[i]=u[1].substring(2),i+=2,[3,1];case 3:return p=t.join(),(m=document.createElement("div")).innerHTML=p,zbe.saveSvgAsPng(m.firstChild,r.name+".png"),[3,5];case 4:Kr("svg").attr("version",1.1).attr("xmlns","http://www.w3.org/2000/svg").node(),o0e(Kr("svg").node(),""+r.name),F.label=5;case 5:return[2]}})})},n.prototype.addDrawing=function(r){switch(r){case"rectangle":this.drawTools.isTextChosen=!1,this.drawTools.isEllipseChosen=!1,this.drawTools.isRectangleChosen=!this.drawTools.isRectangleChosen,this.drawTools.isLineChosen=!1;break;case"ellipse":this.drawTools.isTextChosen=!1,this.drawTools.isEllipseChosen=!this.drawTools.isEllipseChosen,this.drawTools.isRectangleChosen=!1,this.drawTools.isLineChosen=!1;break;case"line":this.drawTools.isTextChosen=!1,this.drawTools.isEllipseChosen=!1,this.drawTools.isRectangleChosen=!1,this.drawTools.isLineChosen=!this.drawTools.isLineChosen;break;case"text":this.drawTools.isTextChosen=!this.drawTools.isTextChosen,this.drawTools.isEllipseChosen=!1,this.drawTools.isRectangleChosen=!1,this.drawTools.isLineChosen=!1,this.toolsService.textAddingToolActivation(this.drawTools.isTextChosen)}this.selectedDrawing=this.selectedDrawing===r?"":r},n.prototype.onDrawingSaved=function(){this.resetDrawToolChoice()},n.prototype.resetDrawToolChoice=function(){this.drawTools.isRectangleChosen=!1,this.drawTools.isEllipseChosen=!1,this.drawTools.isLineChosen=!1,this.drawTools.isTextChosen=!1,this.selectedDrawing="",this.toolsService.textAddingToolActivation(this.drawTools.isTextChosen)},n.prototype.changeLockValue=function(){this.isLocked=!this.isLocked,this.mapSettingsService.changeMapLockValue(this.isLocked)},n.prototype.uploadImageFile=function(r){this.readImageFile(r.target)},n.prototype.readImageFile=function(r){var t=this,i=r.files[0],o=new FileReader,a=new Image;o.onloadend=function(){var u=t.createSvgFileForImage(o.result,a);t.drawingService.add(t.server,t.project.project_id,-a.width/2,-a.height/2,u).subscribe(function(){})},a.onload=function(){o.readAsDataURL(i)},a.src=window.URL.createObjectURL(i)},n.prototype.createSvgFileForImage=function(r,t){return'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="'+t.height+'" \n                width="'+t.width+'">\n<image height="'+t.height+'" width="'+t.width+'" xlink:href="'+r+'"/>\n</svg>'},n.prototype.ngOnDestroy=function(){},n.\u0275fac=function(t){return new(t||n)(e.Y36(qS),e.Y36(Mu),e.Y36(Ts),e.Y36(OS),e.Y36(no),e.Y36(Eu.f))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-project-map-menu"]],inputs:{project:"project",server:"server"},decls:24,vars:15,consts:[["matTooltip","Add a note","matTooltipClass","custom-tooltip","mat-icon-button","",1,"menu-button",3,"click"],[3,"ngClass"],["type","file","accept",".svg, .bmp, .jpeg, .jpg, .gif, .png",1,"non-visible",3,"change"],["file",""],["matTooltip","Insert a picture","matTooltipClass","custom-tooltip","mat-icon-button","",1,"menu-button",3,"click"],["matTooltip","Draw a rectangle","matTooltipClass","custom-tooltip","mat-icon-button","",1,"menu-button",3,"click"],["matTooltip","Draw an ellipse","matTooltipClass","custom-tooltip","mat-icon-button","",1,"menu-button",3,"click"],["matTooltip","Draw a line","matTooltipClass","custom-tooltip","mat-icon-button","","class","menu-button",3,"click",4,"ngIf"],["matTooltip","Lock or unlock all items","matTooltipClass","custom-tooltip","mat-icon-button","",1,"menu-button",3,"click"],["matTooltip","Take a screenshot","matTooltipClass","custom-tooltip","mat-icon-button","",1,"menu-button",3,"click"],[3,"server","project","selectedDrawing","drawingSaved"],["id","crowbar-workspace"],["matTooltip","Draw a line","matTooltipClass","custom-tooltip","mat-icon-button","",1,"menu-button",3,"click"],["height","40","width","40"],["x1","30","y1","10","x2","10","y2","30",2,"stroke","white","stroke-width","2",3,"ngClass"],["x1","30","y1","10","x2","10","y2","30",2,"stroke","black","stroke-width","2",3,"ngClass"]],template:function(t,i){if(1&t){var o=e.EpF();e.TgZ(0,"button",0),e.NdJ("click",function(){return i.addDrawing("text")}),e.TgZ(1,"mat-icon",1),e._uU(2,"create"),e.qZA(),e.qZA(),e.TgZ(3,"input",2,3),e.NdJ("change",function(s){return i.uploadImageFile(s)}),e.qZA(),e.TgZ(5,"button",4),e.NdJ("click",function(){return e.CHM(o),e.MAs(4).click()}),e.TgZ(6,"mat-icon"),e._uU(7,"image"),e.qZA(),e.qZA(),e.TgZ(8,"button",5),e.NdJ("click",function(){return i.addDrawing("rectangle")}),e.TgZ(9,"mat-icon",1),e._uU(10,"crop_3_2"),e.qZA(),e.qZA(),e.TgZ(11,"button",6),e.NdJ("click",function(){return i.addDrawing("ellipse")}),e.TgZ(12,"mat-icon",1),e._uU(13,"panorama_fish_eye"),e.qZA(),e.qZA(),e.YNc(14,_0e,3,3,"button",7),e.YNc(15,y0e,3,3,"button",7),e.TgZ(16,"button",8),e.NdJ("click",function(){return i.changeLockValue()}),e.TgZ(17,"mat-icon",1),e._uU(18,"lock"),e.qZA(),e.qZA(),e.TgZ(19,"button",9),e.NdJ("click",function(){return i.takeScreenshot()}),e.TgZ(20,"mat-icon",1),e._uU(21,"photo_camera"),e.qZA(),e.qZA(),e.TgZ(22,"app-drawing-added",10),e.NdJ("drawingSaved",function(){return i.onDrawingSaved()}),e.qZA(),e._UZ(23,"div",11)}2&t&&(e.xp6(1),e.Q6J("ngClass",i.getCssClassForIcon("text")),e.xp6(8),e.Q6J("ngClass",i.getCssClassForIcon("rectangle")),e.xp6(3),e.Q6J("ngClass",i.getCssClassForIcon("ellipse")),e.xp6(2),e.Q6J("ngIf",!i.isLightThemeEnabled),e.xp6(1),e.Q6J("ngIf",i.isLightThemeEnabled),e.xp6(2),e.Q6J("ngClass",e.WLB(10,b0e,!i.isLocked&&i.isLightThemeEnabled,i.isLocked)),e.xp6(3),e.Q6J("ngClass",e.VKq(13,C0e,!i.isLocked&&i.isLightThemeEnabled)),e.xp6(2),e.Q6J("server",i.server)("project",i.project)("selectedDrawing",i.selectedDrawing))},directives:[Mn,Ja,sr,Et.mk,Et.O5,g0e],styles:[".non-visible[_ngcontent-%COMP%]{display:none}.unmarked[_ngcontent-%COMP%]{color:#fff!important}.unmarkedLight[_ngcontent-%COMP%]{color:#000!important}.marked[_ngcontent-%COMP%]{color:#0097a7!important}"],changeDetection:0}),n}(),UL=function(){function n(r,t,i){this.nodesDataSource=r,this.linksDataSource=t,this.drawingsDataSource=i,this.nodeNotificationEmitter=new e.vpe,this.linkNotificationEmitter=new e.vpe,this.drawingNotificationEmitter=new e.vpe,this.infoNotificationEmitter=new e.vpe,this.warningNotificationEmitter=new e.vpe,this.errorNotificationEmitter=new e.vpe}return n.prototype.handleMessage=function(r){"node.updated"===r.action&&(this.nodesDataSource.update(r.event),this.nodeNotificationEmitter.emit(r)),"node.created"===r.action&&(this.nodesDataSource.add(r.event),this.nodeNotificationEmitter.emit(r)),"node.deleted"===r.action&&(this.nodesDataSource.remove(r.event),this.nodeNotificationEmitter.emit(r)),"link.created"===r.action&&(this.linksDataSource.add(r.event),this.linkNotificationEmitter.emit(r)),"link.updated"===r.action&&(this.linksDataSource.update(r.event),this.linkNotificationEmitter.emit(r)),"link.deleted"===r.action&&(this.linksDataSource.remove(r.event),this.linkNotificationEmitter.emit(r)),"drawing.created"===r.action&&(this.drawingsDataSource.add(r.event),this.drawingNotificationEmitter.emit(r)),"drawing.updated"===r.action&&(this.drawingsDataSource.update(r.event),this.drawingNotificationEmitter.emit(r)),"drawing.deleted"===r.action&&(this.drawingsDataSource.remove(r.event),this.drawingNotificationEmitter.emit(r)),"log.error"===r.action&&this.errorNotificationEmitter.emit(r.event.message),"log.warning"===r.action&&this.warningNotificationEmitter.emit(r.event.message),"log.info"===r.action&&this.infoNotificationEmitter.emit(r.event.message)},n.\u0275fac=function(t){return new(t||n)(e.LFG(ka.G),e.LFG(nh.F),e.LFG(xs))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),S0e=function(){return function(){}}(),T0e=function(){return function(){}}(),YS=function(){function n(r,t,i){this.fontBBoxCalculator=r,this.cssFixer=t,this.fontFixer=i}return n.prototype.convert=function(r){var t=this.cssFixer.fix(r.style),i=this.fontFixer.fixStyles(t),o=this.fontBBoxCalculator.calculate(r.text,i),a=new T0e;return a.rotation=r.rotation,a.style=r.style,a.text=r.text,a.x=r.x,a.y=r.y,null!==a.x&&(a.x-=3),null!==a.y&&(a.y-=o.height),a},n.\u0275fac=function(t){return new(t||n)(e.LFG(NS),e.LFG(eh),e.LFG(nc))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),x0e=function(){return function(){}}(),HL=function(){function n(){}return n.prototype.convert=function(r){var t=new x0e;return t.adapter_number=r.adapterNumber,t.link_type=r.linkType,t.name=r.name,t.port_number=r.portNumber,t.short_name=r.shortName,t},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),q2=function(){function n(r,t){this.mapLabelToLabel=r,this.mapPortToPort=t}return n.prototype.convert=function(r){var t=this,i=new S0e;return i.node_id=r.id,i.command_line=r.commandLine,i.compute_id=r.computeId,i.console=r.console,i.console_host=r.consoleHost,i.console_type=r.consoleType,i.first_port_name=r.firstPortName,i.height=r.height,i.label=r.label?this.mapLabelToLabel.convert(r.label):void 0,i.locked=r.locked,i.name=r.name,i.node_directory=r.nodeDirectory,i.node_type=r.nodeType,i.port_name_format=r.portNameFormat,i.port_segment_size=r.portSegmentSize,i.ports=r.ports?r.ports.map(function(o){return t.mapPortToPort.convert(o)}):[],i.project_id=r.projectId,i.status=r.status,i.symbol=r.symbol,i.symbol_url=r.symbolUrl,i.usage=r.usage,i.width=r.width,i.x=r.x,i.y=r.y,i.z=r.z,i},n.\u0275fac=function(t){return new(t||n)(e.LFG(YS),e.LFG(HL))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),w0e=function(){return function(){}}(),dz=function(){function n(){}return n.prototype.convert=function(r){var t=new w0e;return t.drawing_id=r.id,t.project_id=r.projectId,t.rotation=r.rotation,t.svg=r.svg,t.locked=r.locked,t.x=r.x,t.y=r.y,t.z=r.z,t.element=r.element,t},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),k0e=function(){return function(){}}(),E0e=function(){return function(){}}(),VL=function(){function n(r){this.mapLabelToLabel=r}return n.prototype.convert=function(r){var t=new E0e;return t.node_id=r.nodeId,t.adapter_number=r.adapterNumber,t.port_number=r.portNumber,t.label=this.mapLabelToLabel.convert(r.label),t},n.\u0275fac=function(t){return new(t||n)(e.LFG(YS))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),pz=function(){function n(r){this.mapLinkNodeToMapLinkNode=r}return n.prototype.convert=function(r){var t=this,i=new k0e;return i.link_id=r.id,i.capture_file_name=r.captureFileName,i.capture_file_path=r.captureFilePath,i.capturing=r.capturing,i.filters=r.filters,i.link_type=r.linkType,i.nodes=r.nodes.map(function(o){return t.mapLinkNodeToMapLinkNode.convert(o)}),i.project_id=r.projectId,i.suspend=r.suspend,i},n.\u0275fac=function(t){return new(t||n)(e.LFG(VL))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),j2=f(2094),fz=function(){function n(r){this.fontBBCalculator=r,this.MARGIN_BETWEEN_NODE_AND_LABEL=8}return n.prototype.fix=function(r){r.label.style="font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;";var t=this.fontBBCalculator.calculate(r.label.text,r.label.style);return r.label.x=r.width/2-t.width/2,r.label.y=-t.height-this.MARGIN_BETWEEN_NODE_AND_LABEL,r},n.\u0275fac=function(t){return new(t||n)(e.LFG(NS))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),hz=function(){function n(){}return n.prototype.notificationsPath=function(r){var t="ws";return"https:"===r.protocol&&(t="wss"),t+"://"+r.host+":"+r.port+"/v2/notifications/ws"},n.prototype.projectNotificationsPath=function(r,t){var i="ws";return"https:"===r.protocol&&(i="wss"),i+"://"+r.host+":"+r.port+"/v2/projects/"+t+"/notifications/ws"},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),M0e=function(){function n(r,t,i,o,a,s,u,p){this.nodeService=r,this.nodeConsoleService=t,this.nodesDataSource=i,this.toasterService=o,this.serverService=a,this.settingsService=s,this.mapSettingsService=u,this.electronService=p}return n.prototype.startConsoleForAllNodes=function(){return(0,Jn.mG)(this,void 0,void 0,function(){var r,t,i,o,a,s;return(0,Jn.Jh)(this,function(u){switch(u.label){case 0:if(!this.electronService.isElectronApp)return[3,5];r=this.settingsService.getConsoleSettings()?this.settingsService.getConsoleSettings():this.nodeService.getDefaultCommand(),t=this.nodesDataSource.getItems(),i=0,o=t,u.label=1;case 1:return i<o.length?(s={command:r,type:(a=o[i]).console_type,host:a.console_host,port:a.console,name:a.name,project_id:a.project_id,node_id:a.node_id,server_url:this.serverService.getServerUrl(this.server)},[4,this.electronService.remote.require("./console-executor.js").openConsole(s)]):[3,4];case 2:u.sent(),u.label=3;case 3:return i++,[3,1];case 4:return[3,6];case 5:this.mapSettingsService.openConsolesInWidget?this.nodeConsoleService.openConsolesForAllNodesInWidget(this.nodesDataSource.getItems()):this.nodeConsoleService.openConsolesForAllNodesInNewTabs(this.nodesDataSource.getItems()),u.label=6;case 6:return[2]}})})},n.prototype.startNodes=function(){var r=this;this.nodeService.startAll(this.server,this.project).subscribe(function(){r.toasterService.success("All nodes successfully started")})},n.prototype.stopNodes=function(){var r=this;this.nodeService.stopAll(this.server,this.project).subscribe(function(){r.toasterService.success("All nodes successfully stopped")})},n.prototype.suspendNodes=function(){var r=this;this.nodeService.suspendAll(this.server,this.project).subscribe(function(){r.toasterService.success("All nodes successfully suspended")})},n.prototype.reloadNodes=function(){var r=this;this.nodeService.reloadAll(this.server,this.project).subscribe(function(){r.toasterService.success("All nodes successfully reloaded")})},n.\u0275fac=function(t){return new(t||n)(e.Y36(Yr),e.Y36(dd),e.Y36(ka.G),e.Y36(Xn),e.Y36(Hr),e.Y36(gp.g),e.Y36(Mu),e.Y36(ds))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-nodes-menu"]],inputs:{project:"project",server:"server"},decls:16,vars:0,consts:[[1,"menu-button-group"],["matTooltip","Console connect to all nodes","matTooltipClass","custom-tooltip","mat-icon-button","",1,"menu-button",3,"click"],["matTooltip","Start/Resume all nodes","matTooltipClass","custom-tooltip","mat-icon-button","",1,"menu-button",3,"click"],["matTooltip","Suspend all nodes","matTooltipClass","custom-tooltip","mat-icon-button","",1,"menu-button",3,"click"],["matTooltip","Stop all nodes","matTooltipClass","custom-tooltip","mat-icon-button","",1,"menu-button",3,"click"],["matTooltip","Reload all nodes","matTooltipClass","custom-tooltip","mat-icon-button","",1,"menu-button",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"button",1),e.NdJ("click",function(){return i.startConsoleForAllNodes()}),e.TgZ(2,"mat-icon"),e._uU(3,"web_asset"),e.qZA(),e.qZA(),e.TgZ(4,"button",2),e.NdJ("click",function(){return i.startNodes()}),e.TgZ(5,"mat-icon"),e._uU(6,"play_arrow"),e.qZA(),e.qZA(),e.TgZ(7,"button",3),e.NdJ("click",function(){return i.suspendNodes()}),e.TgZ(8,"mat-icon"),e._uU(9,"pause"),e.qZA(),e.qZA(),e.TgZ(10,"button",4),e.NdJ("click",function(){return i.stopNodes()}),e.TgZ(11,"mat-icon"),e._uU(12,"stop"),e.qZA(),e.qZA(),e.TgZ(13,"button",5),e.NdJ("click",function(){return i.reloadNodes()}),e.TgZ(14,"mat-icon"),e._uU(15,"replay"),e.qZA(),e.qZA(),e.qZA())},directives:[Mn,Ja,sr],styles:[".menu-button[_ngcontent-%COMP%]{margin:0 5px!important}.marked[_ngcontent-%COMP%]{color:#0097a7!important}"],changeDetection:0}),n}(),A0e=function(){function n(r,t,i,o,a){this.toasterService=r,this.dockerService=t,this.qemuService=i,this.iouService=o,this.iosService=a}return n.prototype.ngOnInit=function(){var r=this;this.uploader=new tv({}),this.uploader.onAfterAddingFile=function(t){t.withCredentials=!1},this.uploader.onErrorItem=function(t,i,o,a){r.toasterService.error("An error has occured")},this.uploader.onCompleteItem=function(t,i,o,a){"qemu"===r.template.template_type?r.qemuService.addTemplate(r.server,r.template).subscribe(function(){return r.onUploadComplete()}):"iou"===r.template.template_type?r.iouService.addTemplate(r.server,r.template).subscribe(function(){return r.onUploadComplete()}):"dynamips"===r.template.template_type?r.iosService.addTemplate(r.server,r.template).subscribe(function(){return r.onUploadComplete()}):"docker"===r.template.template_type&&r.dockerService.addTemplate(r.server,r.template).subscribe(function(){return r.onUploadComplete()})}},n.prototype.onUploadComplete=function(){this.toasterService.success("Appliance imported successfully"),this.uploader.queue=[]},n.prototype.uploadAppliance=function(r){var s,t=this,i=r.target.files[0],o=i.name,a=new FileReader;a.onloadend=function(){var u=JSON.parse(a.result);if(u.qemu)(s=new rL).template_type="qemu",s.adapter_type=u.qemu.adapter_type,s.adapters=u.qemu.adapters,s.ram=u.qemu.ram,s.options=u.qemu.options,s.console_type=u.qemu.console_type;else if(u.iou)(s=new tL).template_type="iou",s.console_type=u.iou.console_type,s.console_auto_start=u.iou.console_auto_start,s.ethernet_adapters=u.iou.ethernet_adapters,s.l1_keepalives=u.iou.l1_keepalives,s.nvram=u.iou.nvram,s.ram=u.iou.ram,s.serial_adapters=u.iou.serial_adapters;else if(u.dynamips)(s=new eL).template_type="dynamips",s.platform=u.dynamips.platform,s.ram=u.dynamips.ram,s.nvram=u.dynamips.nvram,s.startup_config=u.dynamips.startup_config,s.wic0=u.dynamips.wic0,s.wic1=u.dynamips.wic1,s.wic2=u.dynamips.wic2,s.slot0=u.dynamips.slot0,s.slot1=u.dynamips.slot1,s.slot2=u.dynamips.slot2,s.slot3=u.dynamips.slot3,s.slot4=u.dynamips.slot4,s.slot5=u.dynamips.slot5,s.slot6=u.dynamips.slot6,s.slot7=u.dynamips.slot7;else{if(!u.docker)return void t.toasterService.error("Template type not supported");(s=new XZ).template_type="docker",s.adapters=u.docker.adapters,s.console_type=u.docker.console_type,s.image=u.docker.image}s.name=u.name,s.category=u.category,s.builtin=!1,s.default_name_format="{name}-{0}",s.compute_id="vm",s.symbol="guest"===s.category?":/symbols/computer.svg":":/symbols/"+s.category+"_guest.svg",t.template=s;var m=t.getUploadPath(t.server,s.template_type,o);t.uploader.queue.forEach(function(I){return I.url=m}),t.uploader.uploadItem(t.uploader.queue[0])},a.readAsText(i)},n.prototype.getUploadPath=function(r,t,i){return r.protocol+"//"+r.host+":"+r.port+"/v2/"+t+"/images/"+i},n.\u0275fac=function(t){return new(t||n)(e.Y36(Xn),e.Y36(uv),e.Y36(hp),e.Y36(pv),e.Y36(dv))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-import-appliance"]],inputs:{project:"project",server:"server"},decls:0,vars:0,template:function(t,i){},styles:[""]}),n}(),D0e=function(){function n(r,t,i){this.drawingService=r,this.drawingsDataSource=t,this.drawingsEventSource=i}return n.prototype.ngOnInit=function(){var r=this;this.drawingDragged=this.drawingsEventSource.dragged.subscribe(function(t){return r.onDrawingDragged(t)})},n.prototype.onDrawingDragged=function(r){var t=this,i=this.drawingsDataSource.get(r.datum.id);i.x+=r.dx,i.y+=r.dy,this.drawingService.updatePosition(this.server,this.project,i,i.x,i.y).subscribe(function(o){t.drawingsDataSource.update(o)})},n.prototype.ngOnDestroy=function(){this.drawingDragged.unsubscribe()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Ts),e.Y36(xs),e.Y36(ic))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-drawing-dragged"]],inputs:{server:"server",project:"project"},decls:0,vars:0,template:function(t,i){},styles:[""]}),n}(),O0e=function(){function n(r,t,i,o){this.drawingService=r,this.drawingsDataSource=t,this.drawingsEventSource=i,this.mapDrawingToSvgConverter=o}return n.prototype.ngOnInit=function(){var r=this;this.drawingResized=this.drawingsEventSource.resized.subscribe(function(t){return r.onDrawingResized(t)})},n.prototype.onDrawingResized=function(r){var t=this,i=this.drawingsDataSource.get(r.datum.id),o=this.mapDrawingToSvgConverter.convert(r.datum);this.drawingService.updateSizeAndPosition(this.server,i,r.x,r.y,o).subscribe(function(a){t.drawingsDataSource.update(a)})},n.prototype.ngOnDestroy=function(){this.drawingResized.unsubscribe()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Ts),e.Y36(xs),e.Y36(ic),e.Y36(yv))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-drawing-resized"]],inputs:{server:"server"},decls:0,vars:0,template:function(t,i){},styles:[""]}),n}(),P0e=function(){function n(r,t,i){this.linkService=r,this.linksDataSource=t,this.linksEventSource=i}return n.prototype.ngOnInit=function(){var r=this;this.interfaceDragged=this.linksEventSource.interfaceDragged.subscribe(function(t){return r.onInterfaceLabelDragged(t)})},n.prototype.onInterfaceLabelDragged=function(r){var t=this,i=this.linksDataSource.get(r.datum.linkId);i.nodes[0].node_id===r.datum.nodeId&&(i.nodes[0].label.x+=r.dx,i.nodes[0].label.y+=r.dy),i.nodes[1].node_id===r.datum.nodeId&&(i.nodes[1].label.x+=r.dx,i.nodes[1].label.y+=r.dy),this.linkService.updateNodes(this.server,i,i.nodes).subscribe(function(o){t.linksDataSource.update(o)})},n.prototype.ngOnDestroy=function(){this.interfaceDragged.unsubscribe()},n.\u0275fac=function(t){return new(t||n)(e.Y36(oc),e.Y36(nh.F),e.Y36(jS))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-interface-label-dragged"]],inputs:{server:"server"},decls:0,vars:0,template:function(t,i){},styles:[""]}),n}(),I0e=function(){function n(r,t,i,o,a,s){this.projectService=r,this.linkService=t,this.linksDataSource=i,this.linksEventSource=o,this.mapNodeToNode=a,this.mapPortToPort=s}return n.prototype.ngOnInit=function(){var r=this;this.linkCreated=this.linksEventSource.created.subscribe(function(t){return r.onLinkCreated(t)})},n.prototype.onLinkCreated=function(r){var t=this,i=Math.abs(r.sourceNode.x-r.targetNode.x),o=Math.abs(r.sourceNode.y-r.targetNode.y),a=Math.sqrt(Math.pow(i,2)+Math.pow(o,2)),s=o/a,u=45/a*i,p=45/a*o,m=0,b=0,I=0,F=0;r.sourceNode.x<=r.targetNode.x&&r.sourceNode.y<=r.targetNode.y?(m=Math.floor(r.sourceNode.width/2)+Math.round(u)+5,b=Math.floor(r.sourceNode.height/2)+Math.round(p)+5,I=Math.floor(r.targetNode.width/2)-Math.round(u)-5-Math.round(20*s),F=Math.floor(r.targetNode.height/2)-Math.round(p)+5-Math.round(20*s)):r.sourceNode.x>r.targetNode.x&&r.sourceNode.y<r.targetNode.y?(m=Math.floor(r.sourceNode.width/2)-Math.round(u)-5-Math.round(20*s),b=Math.floor(r.sourceNode.height/2)+Math.round(p)+5-Math.round(20*s),I=Math.floor(r.targetNode.width/2)+Math.round(u)+5,F=Math.floor(r.targetNode.height/2)-Math.round(p)-5):r.sourceNode.x<r.targetNode.x&&r.sourceNode.y>r.targetNode.y?(m=Math.floor(r.sourceNode.width/2)+Math.round(u)+5-Math.round(20*s),b=Math.floor(r.sourceNode.height/2)-Math.round(p)-5-Math.round(20*s),I=Math.floor(r.targetNode.width/2)-Math.round(u)-5,F=Math.floor(r.targetNode.height/2)+Math.round(p)+5):r.sourceNode.x>=r.targetNode.x&&r.sourceNode.y>=r.targetNode.y&&(m=Math.floor(r.sourceNode.width/2)-Math.round(u)-5-Math.round(20*s),b=Math.floor(r.sourceNode.height/2)-Math.round(p)+5-Math.round(20*s),I=Math.floor(r.targetNode.width/2)+Math.round(u)+5,F=Math.floor(r.targetNode.height/2)+Math.round(p)+5);var G=this.mapNodeToNode.convert(r.sourceNode),Y=this.mapPortToPort.convert(r.sourcePort),$=this.mapNodeToNode.convert(r.targetNode),de=this.mapPortToPort.convert(r.targetPort);this.linkService.createLink(this.server,G,Y,$,de,m,b,I,F).subscribe(function(){t.projectService.links(t.server,t.project.project_id).subscribe(function(Me){t.linksDataSource.set(Me)})})},n.prototype.ngOnDestroy=function(){this.linkCreated.unsubscribe()},n.\u0275fac=function(t){return new(t||n)(e.Y36(cd.Y),e.Y36(oc),e.Y36(nh.F),e.Y36(jS),e.Y36(q2),e.Y36(HL))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-link-created"]],inputs:{server:"server",project:"project"},decls:0,vars:0,template:function(t,i){},styles:[""]}),n}(),R0e=function(){function n(r,t,i){this.nodesDataSource=r,this.nodeService=t,this.nodesEventSource=i}return n.prototype.ngOnInit=function(){var r=this;this.nodeDragged=this.nodesEventSource.dragged.subscribe(function(t){return r.onNodeDragged(t)})},n.prototype.onNodeDragged=function(r){var t=this,i=this.nodesDataSource.get(r.datum.id);i.x+=r.dx,i.y+=r.dy,this.nodeService.updatePosition(this.server,this.project,i,i.x,i.y).subscribe(function(o){t.nodesDataSource.update(o)})},n.prototype.ngOnDestroy=function(){this.nodeDragged.unsubscribe()},n.\u0275fac=function(t){return new(t||n)(e.Y36(ka.G),e.Y36(Yr),e.Y36(mv))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-node-dragged"]],inputs:{server:"server",project:"project"},decls:0,vars:0,template:function(t,i){},styles:[""]}),n}(),N0e=function(){function n(r,t,i,o){this.nodesDataSource=r,this.nodeService=t,this.nodesEventSource=i,this.mapLabelToLabel=o}return n.prototype.ngOnInit=function(){var r=this;this.nodeLabelDragged=this.nodesEventSource.labelDragged.subscribe(function(t){return r.onNodeLabelDragged(t)})},n.prototype.onNodeLabelDragged=function(r){var t=this,i=this.nodesDataSource.get(r.datum.nodeId),o=r.datum;o.x+=r.dx,o.y+=r.dy;var a=this.mapLabelToLabel.convert(o);i.label=a,this.nodeService.updateLabel(this.server,i,i.label).subscribe(function(s){t.nodesDataSource.update(s)})},n.prototype.ngOnDestroy=function(){this.nodeLabelDragged.unsubscribe()},n.\u0275fac=function(t){return new(t||n)(e.Y36(ka.G),e.Y36(Yr),e.Y36(mv),e.Y36(YS))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-node-label-dragged"]],inputs:{server:"server"},decls:0,vars:0,template:function(t,i){},styles:[""]}),n}(),Z0e=function(){function n(r,t,i,o,a,s){this.drawingService=r,this.drawingsDataSource=t,this.drawingsEventSource=i,this.drawingsFactory=o,this.mapDrawingToSvgConverter=a,this.context=s,this.drawingSaved=new e.vpe}return n.prototype.ngOnInit=function(){var r=this;this.textAdded=this.drawingsEventSource.textAdded.subscribe(function(t){return r.onTextAdded(t)})},n.prototype.onTextAdded=function(r){var t=this,i=this.drawingsFactory.getDrawingMock("text");i.element.text=r.savedText;var o=this.mapDrawingToSvgConverter.convert(i);this.drawingService.add(this.server,this.project.project_id,(r.x-(this.context.getZeroZeroTransformationPoint().x+this.context.transformation.x))/this.context.transformation.k,(r.y-(this.context.getZeroZeroTransformationPoint().y+this.context.transformation.y))/this.context.transformation.k,o).subscribe(function(a){t.drawingsDataSource.add(a),t.drawingSaved.emit(!0)})},n.prototype.ngOnDestroy=function(){this.textAdded.unsubscribe()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Ts),e.Y36(xs),e.Y36(ic),e.Y36(BL),e.Y36(yv),e.Y36($l))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-text-added"]],inputs:{server:"server",project:"project"},outputs:{drawingSaved:"drawingSaved"},decls:0,vars:0,template:function(t,i){},styles:[""]}),n}(),L0e=function(){function n(r,t,i,o){this.drawingService=r,this.drawingsDataSource=t,this.drawingsEventSource=i,this.mapDrawingToSvgConverter=o}return n.prototype.ngOnInit=function(){var r=this;this.textEdited=this.drawingsEventSource.textEdited.subscribe(function(t){return r.onTextEdited(t)})},n.prototype.onTextEdited=function(r){var t=this,i=new th;i.element=r.textElement,i.element.text=r.editedText;var o=this.mapDrawingToSvgConverter.convert(i),a=this.drawingsDataSource.get(r.textDrawingId);this.drawingService.updateText(this.server,a,o).subscribe(function(s){t.drawingsDataSource.update(s),t.drawingsEventSource.textSaved.emit(!0)})},n.prototype.ngOnDestroy=function(){this.textEdited.unsubscribe()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Ts),e.Y36(xs),e.Y36(ic),e.Y36(yv))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-text-edited"]],inputs:{server:"server"},decls:0,vars:0,template:function(t,i){},styles:[""]}),n}(),F0e=["app-selection",""];function B0e(n,r){if(1&n&&(e.O4$(),e._UZ(0,"path",2)),2&n){var t=e.oxw();e.uIk("d",t.d)}}var U0e=function(){function n(r){this.ref=r,this.started=!1,this.visible=!1,this.rectangleSelected=new e.vpe}return n.prototype.ngOnInit=function(){},n.prototype.ngAfterViewInit=function(){var r=this,t=ta.y.fromEvent(this.svg,"mousedown").do(function(p){return p.preventDefault()});t.subscribe(function(p){p.target===r.svg&&(r.started=!0,r.startX=p.clientX+window.scrollX,r.startY=p.clientY+window.scrollY,r.width=0,r.height=0,r.visible=!0,r.ref.detectChanges())});var i=ta.y.fromEvent(document,"mouseup").do(function(p){p.preventDefault()}),o=ta.y.fromEvent(document,"mousemove").do(function(p){return p.stopPropagation()}),a=ta.y.fromEvent(document,"scroll").startWith({}),s=ta.y.combineLatest(o,a),u=t.mergeMap(function(p){return s.map(function(m){return m[0]}).do(function(m){!r.started||(r.visible=!0,r.width=m.clientX-r.startX+window.scrollX,r.height=m.clientY-r.startY+window.scrollY,r.ref.detectChanges(),r.selectedEvent([r.startX,r.startY],[r.width,r.height]))}).skipUntil(i.take(1).do(function(m){!r.started||(r.visible=!1,r.started=!1,r.width=m.clientX-r.startX+window.scrollX,r.height=m.clientY-r.startY+window.scrollY,r.ref.detectChanges(),r.selectedEvent([r.startX,r.startY],[r.width,r.height]))})).take(1)});this.draggable=u.subscribe(function(p){})},n.prototype.ngOnDestroy=function(){this.draggable.unsubscribe()},Object.defineProperty(n.prototype,"d",{get:function(){return this.rect(this.startX,this.startY,this.width,this.height)},enumerable:!1,configurable:!0}),n.prototype.rect=function(r,t,i,o){return"M"+[r,t]+" l"+[i,0]+" l"+[0,o]+" l"+[-i,0]+"z"},n.prototype.selectedEvent=function(r,t){var i=Math.min(r[0],t[0]),o=Math.min(r[1],t[1]),a=Math.abs(r[0]-t[0]),s=Math.abs(r[1]-t[1]);this.rectangleSelected.emit(new xj(i,o,a,s))},n.\u0275fac=function(t){return new(t||n)(e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["","app-selection",""]],inputs:{svg:["app-selection","svg"]},outputs:{rectangleSelected:"selected"},attrs:F0e,decls:2,vars:1,consts:[[1,"selection-line-tool"],["class","selection",4,"ngIf"],[1,"selection"]],template:function(t,i){1&t&&(e.O4$(),e.TgZ(0,"g",0),e.YNc(1,B0e,1,1,"path",1),e.qZA()),2&t&&(e.xp6(1),e.Q6J("ngIf",i.visible))},directives:[Et.O5],styles:[""]}),n}(),H0e=function(){function n(){}return n.prototype.d=function(r){var t=[[r.source.x+r.source.width/2,r.source.y+r.source.height/2],[r.target.x+r.target.width/2,r.target.y+r.target.height/2]],i=Yu();return i.moveTo(t[0][0],t[0][1]),i.lineTo(t[1][0],t[1][1]),i.toString()},n}(),V0e=function(){function n(){}return n.prototype.linkToPoints=function(r){var t={x:r.source.x+r.source.width/2,y:r.source.y+r.source.height/2},i={x:r.target.x+r.target.width/2,y:r.target.y+r.target.height/2},o=i.x-t.x,a=i.y-t.y,s=Math.atan2(a,o),u=-Math.PI/4,p=[Math.cos(s+u),Math.sin(s+u)];return[[t.x,t.y],[t.x+o/2+15*p[0],t.y+a/2+15*p[1]],[i.x-o/2-15*p[0],i.y-a/2-15*p[1]],[i.x,i.y]]},n.prototype.d=function(r){var t=this.linkToPoints(r),i=Yu();return i.moveTo(t[0][0],t[0][1]),i.lineTo(t[1][0],t[1][1]),i.lineTo(t[2][0],t[2][1]),i.lineTo(t[3][0],t[3][1]),i.toString()},n}(),q0e=["app-status",""];function j0e(n,r){if(1&n&&(e.O4$(),e._UZ(0,"circle",3)),2&n){var t=e.oxw(2);e.uIk("cx",t.point.x)("cy",t.point.y)}}function z0e(n,r){if(1&n&&(e.O4$(),e._UZ(0,"rect",4)),2&n){var t=e.oxw(2);e.uIk("x",t.point.x-5)("y",t.point.y-5)}}function W0e(n,r){if(1&n&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,j0e,1,2,"circle",1),e.YNc(2,z0e,1,2,"rect",2),e.qZA()),2&n){var t=e.oxw();e.xp6(1),e.Q6J("ngIf","started"==t.status),e.xp6(1),e.Q6J("ngIf","stopped"==t.status)}}var G0e=function(){function n(r,t){this.element=r,this.ref=t,this.data={status:"",path:null,direction:null,d:null}}return Object.defineProperty(n.prototype,"status",{get:function(){return this.data.status},set:function(r){this.data.status=r,this.ref.markForCheck()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"path",{get:function(){return this.data.path},set:function(r){this.data.path=r,this.ref.markForCheck()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"direction",{get:function(){return this.data.direction},set:function(r){this.data.direction=r,this.ref.markForCheck()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d",{set:function(r){this.data.d!==r&&(this.data.d=r,this.ref.markForCheck())},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"sourceStatusPoint",{get:function(){return this.path?this.path.nativeElement.getPointAtLength(45):null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"targetStatusPoint",{get:function(){return this.path?this.path.nativeElement.getPointAtLength(this.path.nativeElement.getTotalLength()-45):null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"point",{get:function(){return"source"===this.direction?this.sourceStatusPoint:this.targetStatusPoint},enumerable:!1,configurable:!0}),n.STOPPED_STATUS_RECT_WIDTH=10,n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["","app-status",""]],inputs:{status:["app-status","status"],path:"path",direction:"direction",d:"d"},attrs:q0e,decls:1,vars:1,consts:[[4,"ngIf"],["class","status_started","r","6","fill","#2ecc71",4,"ngIf"],["class","status_stopped","width","10","height","10","r","6","fill","red",4,"ngIf"],["r","6","fill","#2ecc71",1,"status_started"],["width","10","height","10","r","6","fill","red",1,"status_stopped"]],template:function(t,i){1&t&&e.YNc(0,W0e,3,2,"g",0),2&t&&e.Q6J("ngIf",i.status&&i.point&&i.direction)},directives:[Et.O5],styles:[""]}),n}(),Y0e=["textSvg"],J0e=["app-interface-label",""],Q0e=function(){function n(r,t,i,o){this.elementRef=r,this.ref=t,this.sanitizer=i,this.cssFixer=o,this.label={x:0,y:0,text:"",style:"",rotation:0},this.borderSize=5,this.textWidth=0,this.textHeight=0}return n.prototype.ngOnInit=function(){},Object.defineProperty(n.prototype,"x",{set:function(r){this.label.x=r,this.ref.detectChanges()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"y",{set:function(r){this.label.y=r,this.ref.detectChanges()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"text",{get:function(){return this.label.text},set:function(r){this.label.text=r,this.ref.detectChanges()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"style",{set:function(r){this.label.style=this.cssFixer.fix(r),this.ref.detectChanges()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rotation",{set:function(r){this.label.rotation=r,this.ref.detectChanges()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"sanitizedStyle",{get:function(){return this.sanitizer.bypassSecurityTrustStyle(this.label.style)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rectX",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rectY",{get:function(){return-this.textRef.nativeElement.getBBox().height-this.borderSize},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rectWidth",{get:function(){return this.textRef.nativeElement.getBBox().width+2*this.borderSize},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rectHeight",{get:function(){return this.textRef.nativeElement.getBBox().height+this.borderSize},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"transform",{get:function(){var r=this.elementRef.nativeElement.getBBox(),t=this.label.x,i=this.label.y+r.height;return"translate("+t+", "+i+") rotate("+this.label.rotation+", "+t+", "+i+")"},enumerable:!1,configurable:!0}),n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(B.H7),e.Y36(eh))},n.\u0275cmp=e.Xpm({type:n,selectors:[["","app-interface-label",""]],viewQuery:function(t,i){var o;(1&t&&e.Gf(Y0e,5),2&t)&&(e.iGM(o=e.CRH())&&(i.textRef=o.first))},inputs:{ignore:["app-interface-label","ignore"],x:"x",y:"y",text:"text",style:"style",rotation:"rotation"},attrs:J0e,decls:5,vars:9,consts:[["width","100","height","100",1,"text_container"],["stroke-dasharray","3,3","stroke-width","0.5","fill","none","stroke","black"],[1,"interface_label"],["textSvg",""]],template:function(t,i){1&t&&(e.O4$(),e.TgZ(0,"g",0),e._UZ(1,"rect",1),e.TgZ(2,"text",2,3),e._uU(4),e.qZA(),e.qZA()),2&t&&(e.uIk("transform",i.transform),e.xp6(1),e.uIk("x",i.rectX)("y",i.rectY)("width",i.rectWidth)("height",i.rectHeight),e.xp6(1),e.uIk("style",i.sanitizedStyle,e.Ckj)("x",i.borderSize)("y",-i.borderSize),e.xp6(2),e.hij(" ",i.text," "))},styles:[""]}),n}(),K0e=["path"],X0e=["app-link",""];function $0e(n,r){if(1&n&&(e.O4$(),e._UZ(0,"path",5,6)),2&n){var t=e.oxw();e.uIk("d",t.d)}}function eCe(n,r){if(1&n&&(e.O4$(),e._UZ(0,"path",7,6)),2&n){var t=e.oxw();e.uIk("d",t.d)}}function tCe(n,r){if(1&n&&(e.O4$(),e._UZ(0,"g",8)),2&n){var t=e.oxw();e.Akn(t.link.nodes[0].label.style),e.Q6J("x",t.link.source.x+t.link.nodes[0].label.x)("y",t.link.source.y+t.link.nodes[0].label.y)("text",t.link.nodes[0].label.text)("rotation",t.link.nodes[0].label.rotation)}}function nCe(n,r){if(1&n&&(e.O4$(),e._UZ(0,"g",8)),2&n){var t=e.oxw();e.Akn(t.link.nodes[1].label.style),e.Q6J("x",t.link.target.x+t.link.nodes[1].label.x)("y",t.link.target.y+t.link.nodes[1].label.y)("text",t.link.nodes[1].label.text)("rotation",t.link.nodes[1].label.rotation)}}var rCe=function(){function n(r,t){this.multiLinkCalculatorHelper=r,this.ref=t,this.ethernetLinkStrategy=new H0e,this.serialLinkStrategy=new V0e}return n.prototype.ngOnInit=function(){this.ref.detectChanges()},n.prototype.ngOnDestroy=function(){},Object.defineProperty(n.prototype,"strategy",{get:function(){return"serial"===this.link.linkType?this.serialLinkStrategy:this.ethernetLinkStrategy},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"transform",{get:function(){var r=this.multiLinkCalculatorHelper.linkTranslation(this.link.distance,this.link.source,this.link.target);return"translate ("+r.dx+", "+r.dy+")"},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d",{get:function(){return this.strategy.d(this.link)},enumerable:!1,configurable:!0}),n.\u0275fac=function(t){return new(t||n)(e.Y36(FS),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["","app-link",""]],viewQuery:function(t,i){var o;(1&t&&e.Gf(K0e,5),2&t)&&(e.iGM(o=e.CRH())&&(i.path=o.first))},inputs:{link:["app-link","link"],nodeChanged:["node-changed","nodeChanged"],showInterfaceLabels:["show-interface-labels","showInterfaceLabels"]},attrs:X0e,decls:7,vars:16,consts:[[1,"link"],["class","ethernet_link","stroke","#000","stroke-width","2",4,"ngIf"],["class","serial_link","stroke","#B22222","fill","none","stroke-width","2",4,"ngIf"],[3,"app-status","direction","path","d"],[3,"app-interface-label","x","y","text","style","rotation",4,"ngIf"],["stroke","#000","stroke-width","2",1,"ethernet_link"],["path",""],["stroke","#B22222","fill","none","stroke-width","2",1,"serial_link"],[3,"app-interface-label","x","y","text","rotation"]],template:function(t,i){1&t&&(e.O4$(),e.TgZ(0,"g",0),e.YNc(1,$0e,2,1,"path",1),e.YNc(2,eCe,2,1,"path",2),e._UZ(3,"g",3),e._UZ(4,"g",3),e.YNc(5,tCe,1,6,"g",4),e.YNc(6,nCe,1,6,"g",4),e.qZA()),2&t&&(e.uIk("link_id",i.link.id)("map-source",i.link.source.id)("map-target",i.link.target.id)("transform",i.transform),e.xp6(1),e.Q6J("ngIf","ethernet"==i.link.linkType),e.xp6(1),e.Q6J("ngIf","serial"==i.link.linkType),e.xp6(1),e.Q6J("app-status",i.link.source.status)("direction","source")("path",i.path)("d",i.d),e.xp6(1),e.Q6J("app-status",i.link.target.status)("direction","target")("path",i.path)("d",i.d),e.xp6(1),e.Q6J("ngIf",i.showInterfaceLabels),e.xp6(1),e.Q6J("ngIf",i.showInterfaceLabels))},directives:[Et.O5,G0e,Q0e],styles:[""]}),n}(),iCe=["app-draggable",""],oCe=["*"],mz=function(){return function(r,t,i,o){this.x=r,this.y=t,this.dx=i,this.dy=o}}(),vz=function(){function n(r){this.elementRef=r,this.dragging=new e.vpe,this.dragged=new e.vpe}return n.prototype.ngOnInit=function(){},n.prototype.ngAfterViewInit=function(){var r=this,t=ta.y.fromEvent(this.elementRef.nativeElement,"mousedown").do(function(p){return p.preventDefault()});t.subscribe(function(p){r.posX=r.item.x,r.posY=r.item.y,r.startX=p.clientX,r.startY=p.clientY});var i=ta.y.fromEvent(document,"mouseup").do(function(p){p.preventDefault()}),o=ta.y.fromEvent(document,"mousemove").do(function(p){return p.stopPropagation()}),a=ta.y.fromEvent(document,"scroll").startWith({}),s=ta.y.combineLatest(o,a),u=t.mergeMap(function(p){return s.map(function(m){return m[0]}).do(function(m){var b=r.startX-m.clientX,I=r.startY-m.clientY;r.item.x=Math.round(r.posX-b),r.item.y=Math.round(r.posY-I),r.dragging.emit(new mz(r.item.x,r.item.y,-b,-I))}).skipUntil(i.take(1).do(function(m){var b=r.startX-m.clientX,I=r.startY-m.clientY;r.item.x=Math.round(r.posX-b),r.item.y=Math.round(r.posY-I),r.dragged.emit(new mz(r.item.x,r.item.y,-b,-I))})).take(1)});this.draggable=u.subscribe(function(p){})},n.prototype.ngOnDestroy=function(){this.draggable.unsubscribe()},n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq))},n.\u0275cmp=e.Xpm({type:n,selectors:[["","app-draggable",""]],inputs:{item:["app-draggable","item"]},outputs:{dragging:"dragging",dragged:"dragged"},attrs:iCe,ngContentSelectors:oCe,decls:1,vars:0,template:function(t,i){1&t&&(e.F$t(),e.Hsn(0))},styles:[""]}),n}(),aCe=["label"],sCe=["image"],lCe=["app-node",""],uCe=function(){function n(r,t,i,o,a,s){this.cssFixer=r,this.fontFixer=t,this.sanitizer=i,this.element=o,this.cd=a,this.nodesEventSource=s,this.labelHeight=0}return n.prototype.ngOnInit=function(){},n.prototype.ngOnDestroy=function(){},n.prototype.ngOnChanges=function(r){this.cd.detectChanges()},n.prototype.ngAfterViewInit=function(){this.labelHeight=this.getLabelHeight(),this.cd.detectChanges()},n.prototype.OnDragging=function(r){this.node.x=r.x,this.node.y=r.y,this.cd.detectChanges()},n.prototype.OnDragged=function(r){this.cd.detectChanges(),this.nodesEventSource.dragged.emit(new my(this.node,r.dx,r.dy))},Object.defineProperty(n.prototype,"symbol",{get:function(){var r=this,t=this.symbols.find(function(i){return i.symbol_id===r.node.symbol});return t?"data:image/svg+xml;base64,"+btoa(t.raw):"data:image/svg+xml;base64,none"},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"label_style",{get:function(){var r=this.cssFixer.fix(this.node.label.style);return r=this.fontFixer.fixStyles(r),this.sanitizer.bypassSecurityTrustStyle(r)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"label_x",{get:function(){return null===this.node.label.x?-this.label.nativeElement.getBBox().width/2:this.node.label.x+n.NODE_LABEL_MARGIN},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"label_y",{get:function(){return this.labelHeight=this.getLabelHeight(),null===this.node.label.x?-this.node.height/2-this.labelHeight:this.node.label.y+this.labelHeight-n.NODE_LABEL_MARGIN},enumerable:!1,configurable:!0}),n.prototype.getLabelHeight=function(){return this.label.nativeElement.getBBox().height},n.NODE_LABEL_MARGIN=3,n.\u0275fac=function(t){return new(t||n)(e.Y36(eh),e.Y36(nc),e.Y36(B.H7),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(mv))},n.\u0275cmp=e.Xpm({type:n,selectors:[["","app-node",""]],viewQuery:function(t,i){if(1&t&&(e.Gf(aCe,5),e.Gf(sCe,5)),2&t){var o=void 0;e.iGM(o=e.CRH())&&(i.label=o.first),e.iGM(o=e.CRH())&&(i.imageRef=o.first)}},inputs:{node:["app-node","node"],symbols:"symbols",nodeChanged:["node-changed","nodeChanged"]},features:[e.TTD],attrs:lCe,decls:6,vars:11,consts:[[1,"node"],[3,"app-draggable","dragging","dragged"],["image",""],[1,"label"],["label",""]],template:function(t,i){1&t&&(e.O4$(),e.TgZ(0,"g",0),e.TgZ(1,"image",1,2),e.NdJ("dragging",function(a){return i.OnDragging(a)})("dragged",function(a){return i.OnDragged(a)}),e.qZA(),e.TgZ(3,"text",3,4),e._uU(5),e.qZA(),e.qZA()),2&t&&(e.uIk("transform","translate("+i.node.x+","+i.node.y+")"),e.xp6(1),e.Q6J("app-draggable",i.node),e.uIk("width",i.node.width)("height",i.node.height)("x",0)("y",0)("href",i.symbol,null,"xlink"),e.xp6(2),e.uIk("style",i.label_style,e.Ckj)("x",i.label_x)("y",i.label_y),e.xp6(2),e.hij(" ",i.node.label.text," "))},directives:[vz],styles:[""],changeDetection:0}),n}(),cCe=["app-ellipse",""],dCe=function(){function n(r){this.qtDasharrayFixer=r}return n.prototype.ngOnInit=function(){},Object.defineProperty(n.prototype,"fill_opacity",{get:function(){return isFinite(this.ellipse.fill_opacity)?this.ellipse.fill_opacity:null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"stroke_width",{get:function(){return isFinite(this.ellipse.stroke_width)?this.ellipse.stroke_width:null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"stroke_dasharray",{get:function(){return this.ellipse.stroke_dasharray?this.qtDasharrayFixer.fix(this.ellipse.stroke_dasharray):null},enumerable:!1,configurable:!0}),n.\u0275fac=function(t){return new(t||n)(e.Y36(_v))},n.\u0275cmp=e.Xpm({type:n,selectors:[["","app-ellipse",""]],inputs:{ellipse:["app-ellipse","ellipse"]},attrs:cCe,decls:1,vars:9,consts:[[1,"ellipse_element","noselect"]],template:function(t,i){1&t&&(e.O4$(),e._UZ(0,"ellipse",0)),2&t&&e.uIk("fill",i.ellipse.fill)("fill-opacity",i.fill_opacity)("stroke",i.ellipse.stroke)("stroke-width",i.stroke_width)("stroke-dasharray",i.stroke_dasharray)("cx",i.ellipse.cx)("cy",i.ellipse.cy)("rx",i.ellipse.rx)("ry",i.ellipse.ry)},styles:[""]}),n}(),pCe=["app-image",""],fCe=function(){function n(){}return n.prototype.ngOnInit=function(){},n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["","app-image",""]],inputs:{image:["app-image","image"]},attrs:pCe,decls:1,vars:3,consts:[[1,"image_element","noselect"]],template:function(t,i){1&t&&(e.O4$(),e._UZ(0,"image",0)),2&t&&e.uIk("href",i.image.data,null,"xlink")("width",i.image.width)("height",i.image.height)},styles:[""]}),n}(),hCe=["app-line",""],mCe=function(){function n(r){this.qtDasharrayFixer=r}return n.prototype.ngOnInit=function(){},Object.defineProperty(n.prototype,"stroke_width",{get:function(){return isFinite(this.line.stroke_width)?this.line.stroke_width:null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"stroke_dasharray",{get:function(){return this.line.stroke_dasharray?this.qtDasharrayFixer.fix(this.line.stroke_dasharray):null},enumerable:!1,configurable:!0}),n.\u0275fac=function(t){return new(t||n)(e.Y36(_v))},n.\u0275cmp=e.Xpm({type:n,selectors:[["","app-line",""]],inputs:{line:["app-line","line"]},attrs:hCe,decls:1,vars:7,consts:[[1,"line_element","noselect"]],template:function(t,i){1&t&&(e.O4$(),e._UZ(0,"line",0)),2&t&&e.uIk("stroke",i.line.stroke)("stroke-width",i.stroke_width)("stroke-dasharray",i.stroke_dasharray)("x1",i.line.x1)("x2",i.line.x2)("y1",i.line.y1)("y2",i.line.y2)},styles:[""]}),n}(),vCe=["app-rect",""],gCe=function(){function n(r){this.qtDasharrayFixer=r}return n.prototype.ngOnInit=function(){},Object.defineProperty(n.prototype,"fill_opacity",{get:function(){return isFinite(this.rect.fill_opacity)?this.rect.fill_opacity:null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"stroke_width",{get:function(){return isFinite(this.rect.stroke_width)?this.rect.stroke_width:null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"stroke_dasharray",{get:function(){return this.rect.stroke_dasharray?this.qtDasharrayFixer.fix(this.rect.stroke_dasharray):null},enumerable:!1,configurable:!0}),n.\u0275fac=function(t){return new(t||n)(e.Y36(_v))},n.\u0275cmp=e.Xpm({type:n,selectors:[["","app-rect",""]],inputs:{rect:["app-rect","rect"]},attrs:vCe,decls:1,vars:7,consts:[[1,"rect_element","noselect"]],template:function(t,i){1&t&&(e.O4$(),e._UZ(0,"rect",0)),2&t&&e.uIk("fill",i.rect.fill)("fill-opacity",i.fill_opacity)("stroke",i.rect.stroke)("stroke-width",i.stroke_width)("stroke-dasharray",i.stroke_dasharray)("width",i.rect.width)("height",i.rect.height)},styles:[""]}),n}(),_Ce=["text"],yCe=["app-text",""];function bCe(n,r){if(1&n&&(e.O4$(),e.TgZ(0,"tspan",3),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.uIk("dy",0==r.index?"0em":"1.4em"),e.xp6(1),e.hij(" ",t," ")}}var CCe=function(){function n(r,t){this.fontFixer=r,this.sanitizer=t,this.lines=[],this.transformation=""}return n.prototype.ngOnInit=function(){this.lines=this.getLines(this.text.text)},n.prototype.ngDoCheck=function(){this.transformation=this.calculateTransformation()},Object.defineProperty(n.prototype,"style",{get:function(){var r=this.fontFixer.fix(this.text),t=[];return r.font_family&&t.push('font-family: "'+this.text.font_family+'"'),r.font_size&&t.push("font-size: "+this.text.font_size+"pt"),r.font_weight&&t.push("font-weight: "+this.text.font_weight),this.sanitizer.bypassSecurityTrustStyle(t.join("; "))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textDecoration",{get:function(){return this.text.text_decoration},enumerable:!1,configurable:!0}),n.prototype.calculateTransformation=function(){var r=this.textRef.nativeElement.getElementsByTagName("tspan");if(r.length>0){var t=this.textRef.nativeElement.getBBox().height/r.length;return"translate("+n.MARGIN+", "+(t-n.MARGIN)+")"}return""},n.prototype.getLines=function(r){return r.split(/\r?\n/)},n.MARGIN=4,n.\u0275fac=function(t){return new(t||n)(e.Y36(nc),e.Y36(B.H7))},n.\u0275cmp=e.Xpm({type:n,selectors:[["","app-text",""]],viewQuery:function(t,i){var o;(1&t&&e.Gf(_Ce,5),2&t)&&(e.iGM(o=e.CRH())&&(i.textRef=o.first))},inputs:{text:["app-text","text"]},attrs:yCe,decls:3,vars:5,consts:[[1,"text_element","noselect"],["text",""],[0,"xml","space","preserve","x","0",4,"ngFor","ngForOf"],[0,"xml","space","preserve","x","0"]],template:function(t,i){if(1&t&&(e.O4$(),e.TgZ(0,"text",0,1),e.YNc(2,bCe,2,2,"tspan",2),e.qZA()),2&t){var o=e.MAs(1);e.uIk("style",i.style,e.Ckj)("text-decoration",i.textDecoration)("fill",o.fill)("transform",i.transformation),e.xp6(2),e.Q6J("ngForOf",i.lines)}},directives:[Et.sg],styles:[""]}),n}(),SCe=["app-drawing",""];function TCe(n,r){if(1&n&&(e.O4$(),e._UZ(0,"g",6)),2&n){var t=e.oxw();e.Q6J("app-ellipse",t.drawing.element)}}function xCe(n,r){if(1&n&&(e.O4$(),e._UZ(0,"g",7)),2&n){var t=e.oxw();e.Q6J("app-image",t.drawing.element)}}function wCe(n,r){if(1&n&&(e.O4$(),e._UZ(0,"g",8)),2&n){var t=e.oxw();e.Q6J("app-line",t.drawing.element)}}function kCe(n,r){if(1&n&&(e.O4$(),e._UZ(0,"g",9)),2&n){var t=e.oxw();e.Q6J("app-rect",t.drawing.element)}}function ECe(n,r){if(1&n&&(e.O4$(),e._UZ(0,"g",10)),2&n){var t=e.oxw();e.Q6J("app-text",t.drawing.element)}}var MCe=function(){function n(r,t,i){this.svgToDrawingConverter=r,this.drawingsEventSource=t,this.cd=i}return n.prototype.ngOnInit=function(){try{this.drawing.element=this.svgToDrawingConverter.convert(this.drawing.svg)}catch(r){}},n.prototype.OnDragging=function(r){this.drawing.x=r.x,this.drawing.y=r.y,this.cd.detectChanges()},n.prototype.OnDragged=function(r){this.cd.detectChanges(),this.drawingsEventSource.dragged.emit(new my(this.drawing,r.dx,r.dy))},n.prototype.is=function(r,t){return!!r&&("ellipse"===t?r instanceof Oo:"image"===t?r instanceof I2:"line"===t?r instanceof vv:"rect"===t?r instanceof mp:"text"===t&&r instanceof gv)},Object.defineProperty(n.prototype,"transformation",{get:function(){return"translate("+this.drawing.x+","+this.drawing.y+") rotate("+this.drawing.rotation+")"},enumerable:!1,configurable:!0}),n.\u0275fac=function(t){return new(t||n)(e.Y36(HS),e.Y36(ic),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["","app-drawing",""]],inputs:{drawing:["app-drawing","drawing"]},attrs:SCe,decls:6,vars:7,consts:[[1,"drawing",3,"app-draggable","dragging","dragged"],[3,"app-ellipse",4,"ngIf"],[3,"app-image",4,"ngIf"],[3,"app-line",4,"ngIf"],[3,"app-rect",4,"ngIf"],[3,"app-text",4,"ngIf"],[3,"app-ellipse"],[3,"app-image"],[3,"app-line"],[3,"app-rect"],[3,"app-text"]],template:function(t,i){1&t&&(e.O4$(),e.TgZ(0,"g",0),e.NdJ("dragging",function(a){return i.OnDragging(a)})("dragged",function(a){return i.OnDragged(a)}),e.YNc(1,TCe,1,1,"g",1),e.YNc(2,xCe,1,1,"g",2),e.YNc(3,wCe,1,1,"g",3),e.YNc(4,kCe,1,1,"g",4),e.YNc(5,ECe,1,1,"g",5),e.qZA()),2&t&&(e.Q6J("app-draggable",i.drawing),e.uIk("transform",i.transformation),e.xp6(1),e.Q6J("ngIf",i.is(i.drawing.element,"ellipse")),e.xp6(1),e.Q6J("ngIf",i.is(i.drawing.element,"image")),e.xp6(1),e.Q6J("ngIf",i.is(i.drawing.element,"line")),e.xp6(1),e.Q6J("ngIf",i.is(i.drawing.element,"rect")),e.xp6(1),e.Q6J("ngIf",i.is(i.drawing.element,"text")))},directives:[vz,Et.O5,dCe,fCe,mCe,gCe,CCe],styles:[""]}),n}(),ACe=["svg"];function DCe(n,r){if(1&n&&(e.O4$(),e._UZ(0,"g",12)),2&n){var t=r.$implicit,i=e.oxw(2);e.Q6J("app-link",t)("show-interface-labels",i.settings.show_interface_labels)}}function OCe(n,r){if(1&n&&(e.O4$(),e._UZ(0,"g",13)),2&n){var t=r.$implicit,i=e.oxw(2);e.Q6J("app-node",t)("symbols",i.symbols)}}function PCe(n,r){1&n&&(e.O4$(),e._UZ(0,"g",14)),2&n&&e.Q6J("app-drawing",r.$implicit)}function ICe(n,r){if(1&n&&(e.O4$(),e.TgZ(0,"g"),e.TgZ(1,"g",6),e.YNc(2,DCe,1,2,"g",7),e.qZA(),e.TgZ(3,"g",8),e.YNc(4,OCe,1,2,"g",9),e.qZA(),e.TgZ(5,"g",10),e.YNc(6,PCe,1,1,"g",11),e.qZA(),e.qZA()),2&n){var t=r.$implicit;e.xp6(2),e.Q6J("ngForOf",t.links),e.xp6(2),e.Q6J("ngForOf",t.nodes),e.xp6(2),e.Q6J("ngForOf",t.drawings)}}var RCe=function(){function n(r,t,i,o,a,s,u){this.graphDataManager=r,this.context=t,this.mapChangeDetectorRef=i,this.canvasSizeDetector=o,this.changeDetectorRef=a,this.layersManger=s,this.graphLayout=u,this.nodes=[],this.links=[],this.drawings=[],this.symbols=[],this.width=1500,this.height=600,this.settings={show_interface_labels:!0}}return Object.defineProperty(n.prototype,"showInterfaceLabels",{set:function(r){this.settings.show_interface_labels=r,this.mapChangeDetectorRef.detectChanges()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"movingTool",{set:function(r){this.mapChangeDetectorRef.detectChanges()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectionTool",{set:function(r){this.mapChangeDetectorRef.detectChanges()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"readonly",{set:function(r){},enumerable:!1,configurable:!0}),n.prototype.ngOnChanges=function(r){},n.prototype.ngOnInit=function(){var r=this;this.changesDetected=this.mapChangeDetectorRef.changesDetected.subscribe(function(){r.graphDataManager.setNodes(r.nodes),r.graphDataManager.setLinks(r.links),r.graphDataManager.setDrawings(r.drawings),r.graphDataManager.setSymbols(r.symbols),r.changeDetectorRef.detectChanges()})},n.prototype.ngOnDestroy=function(){this.changesDetected.unsubscribe()},n.prototype.getSize=function(){return this.canvasSizeDetector.getOptimalSize(this.width,this.height)},Object.defineProperty(n.prototype,"layers",{get:function(){return this.layersManger.getLayersList()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"transform",{get:function(){var r=new $l;return r.size=this.getSize(),"translate("+(r.getZeroZeroTransformationPoint().x+r.transformation.x)+", "+(r.getZeroZeroTransformationPoint().y+r.transformation.y)+") scale("+r.transformation.k+")"},enumerable:!1,configurable:!0}),n.prototype.onResize=function(r){},n.\u0275fac=function(t){return new(t||n)(e.Y36(fy),e.Y36($l),e.Y36(BS),e.Y36(vL),e.Y36(e.sBO),e.Y36(E2),e.Y36(kL))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-experimental-map"]],viewQuery:function(t,i){var o;(1&t&&e.Gf(ACe,5),2&t)&&(e.iGM(o=e.CRH())&&(i.svg=o.first))},hostBindings:function(t,i){1&t&&e.NdJ("resize",function(a){return i.onResize(a)},!1,e.Jf7)},inputs:{nodes:"nodes",links:"links",drawings:"drawings",symbols:"symbols",width:"width",height:"height",showInterfaceLabels:["show-interface-labels","showInterfaceLabels"],movingTool:["moving-tool","movingTool"],selectionTool:["selection-tool","selectionTool"],drawLinkTool:["draw-link-tool","drawLinkTool"],readonly:"readonly"},features:[e.TTD],decls:7,vars:5,consts:[["preserveAspectRatio","none",1,"map"],["svg",""],[4,"ngFor","ngForOf"],[3,"app-selection"],["id","grayscale"],["id","feGrayscale","type","saturate","values","0"],[1,"links"],[3,"app-link","show-interface-labels",4,"ngFor","ngForOf"],[1,"nodes"],[3,"app-node","symbols",4,"ngFor","ngForOf"],[1,"drawings"],[3,"app-drawing",4,"ngFor","ngForOf"],[3,"app-link","show-interface-labels"],[3,"app-node","symbols"],[3,"app-drawing"]],template:function(t,i){if(1&t&&(e.O4$(),e.TgZ(0,"svg",0,1),e.TgZ(2,"g"),e.YNc(3,ICe,7,3,"g",2),e.qZA(),e._UZ(4,"g",3),e.TgZ(5,"filter",4),e._UZ(6,"feColorMatrix",5),e.qZA(),e.qZA()),2&t){var o=e.MAs(1);e.uIk("width",i.width)("height",i.height),e.xp6(2),e.uIk("transform",i.transform),e.xp6(1),e.Q6J("ngForOf",i.layers),e.xp6(1),e.Q6J("app-selection",o)}},directives:[Et.sg,U0e,rCe,uCe,MCe],styles:["svg[_ngcontent-%COMP%]{display:block}"],changeDetection:0}),n}(),NCe=function(){function n(){}return n.prototype.transform=function(r,t){return r?t?(t=t.toLowerCase(),r.filter(function(i){return i.name.toLowerCase().includes(t)})):r:[]},n.\u0275fac=function(t){return new(t||n)},n.\u0275pipe=e.Yjl({name:"templatefilter",type:n,pure:!0}),n}();function ZCe(n,r){if(1&n&&(e.TgZ(0,"mat-option",18),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function LCe(n,r){if(1&n&&(e.TgZ(0,"mat-option",18),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t.name," ")}}function FCe(n,r){if(1&n&&(e.TgZ(0,"mat-option",18),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function BCe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-select",19),e.NdJ("valueChange",function(a){return e.CHM(t),e.oxw().selectedTemplate.compute_id=a}),e.YNc(1,FCe,2,2,"mat-option",8),e.qZA()}if(2&n){var i=e.oxw();e.Q6J("value",i.selectedTemplate.compute_id),e.xp6(1),e.Q6J("ngForOf",i.nodeServers)}}var qL=function(){return{standalone:!0}},UCe=function(){function n(r,t,i,o,a,s){this.dialogRef=r,this.templateService=t,this.formBuilder=i,this.data=o,this.toasterService=a,this.nonNegativeValidator=s,this.templateTypes=["cloud","ethernet_hub","ethernet_switch","docker","dynamips","vpcs","traceng","virtualbox","vmware","iou","qemu"],this.searchText="",this.nodeServers=["local","vm"],this.server=o.server,this.project=o.project,this.configurationForm=this.formBuilder.group({numberOfNodes:new ne.NI(1,[ne.kI.required,s.get])}),this.positionForm=this.formBuilder.group({top:new ne.NI(0,ne.kI.required),left:new ne.NI(0,ne.kI.required)})}return n.prototype.ngOnInit=function(){var r=this;this.templateService.list(this.server).subscribe(function(t){r.filteredTemplates=t,r.templates=t})},n.prototype.onNoClick=function(){this.dialogRef.close()},n.prototype.filterTemplates=function(r){var t=this,i=this.templates.filter(function(o){return o.name.toLowerCase().includes(t.searchText.toLowerCase())});this.filteredTemplates=i.filter(function(o){return o.template_type===r.value.toString()})},n.prototype.chooseTemplate=function(r){this.selectedTemplate=r.value,("cloud"===this.selectedTemplate.template_type||"ethernet_hub"===this.selectedTemplate.template_type||"ethernet_switch"===this.selectedTemplate.template_type)&&(this.selectedTemplate.compute_id="local")},n.prototype.onAddClick=function(){if(this.selectedTemplate&&0!==this.filteredTemplates.length)if(this.positionForm.valid&&this.configurationForm.valid&&this.selectedTemplate.compute_id){var r=this.positionForm.get("left").value,t=this.positionForm.get("top").value;if(r>this.project.scene_width/2||r<-this.project.scene_width/2||t>this.project.scene_height/2||t<-this.project.scene_height)this.toasterService.error("Please set correct position values.");else{var i={template:this.selectedTemplate,server:this.selectedTemplate.compute_id,numberOfNodes:this.configurationForm.get("numberOfNodes").value,x:r,y:t};this.dialogRef.close(i)}}else this.toasterService.error("Please fill all required fields.");else this.toasterService.error("Please firstly choose template.")},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(ay),e.Y36(ne.qu),e.Y36(ld),e.Y36(Xn),e.Y36(Z2))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-template-list-dialog"]],decls:40,vars:18,consts:[[1,"title-container"],["mat-dialog-title",""],["mat-button","","color","accent",1,"top-button",3,"routerLink","click"],["mat-dialog-content","",1,"content"],["floatPlaceholder","never",1,"form-field"],["matInput","","placeholder","Search by name",3,"ngModel","ngModelOptions","ngModelChange"],[1,"form-field"],["placeholder","Filter templates by type",3,"ngModelOptions","ngModel","selectionChange","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["placeholder","Choose template",3,"ngModelOptions","ngModel","selectionChange","ngModelChange"],[3,"formGroup"],["type","number","matInput","","formControlName","numberOfNodes","placeholder","Enter number of nodes (default value is 1)"],["placeholder","Choose server for node",3,"value","valueChange",4,"ngIf"],["matInput","","type","number","formControlName","left"],["matInput","","type","number","formControlName","top"],["mat-dialog-actions","","align","end"],["mat-button","","tabindex","-1","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",1,"addButton",3,"click"],[3,"value"],["placeholder","Choose server for node",3,"value","valueChange"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"h1",1),e._uU(2,"Add a node"),e.qZA(),e.TgZ(3,"button",2),e.NdJ("click",function(){return i.onNoClick()}),e._uU(4," Go to template preferences "),e.qZA(),e.qZA(),e.TgZ(5,"div",3),e.TgZ(6,"div",0),e.TgZ(7,"h6"),e._uU(8,"Template"),e.qZA(),e.qZA(),e.TgZ(9,"mat-form-field",4),e.TgZ(10,"input",5),e.NdJ("ngModelChange",function(a){return i.searchText=a}),e.qZA(),e.qZA(),e.TgZ(11,"mat-form-field",6),e.TgZ(12,"mat-select",7),e.NdJ("selectionChange",function(a){return i.filterTemplates(a)})("ngModelChange",function(a){return i.selectedType=a}),e.YNc(13,ZCe,2,2,"mat-option",8),e.qZA(),e.qZA(),e.TgZ(14,"mat-form-field",6),e.TgZ(15,"mat-select",9),e.NdJ("selectionChange",function(a){return i.chooseTemplate(a)})("ngModelChange",function(a){return i.selectedTemplate=a}),e.YNc(16,LCe,2,2,"mat-option",8),e.ALo(17,"templatefilter"),e.qZA(),e.qZA(),e.TgZ(18,"div",0),e.TgZ(19,"h6"),e._uU(20,"Configuration"),e.qZA(),e.qZA(),e.TgZ(21,"form",10),e.TgZ(22,"mat-form-field",6),e._UZ(23,"input",11),e.qZA(),e.qZA(),e.YNc(24,BCe,2,2,"mat-select",12),e.TgZ(25,"div",0),e.TgZ(26,"h6"),e._uU(27,"Position"),e.qZA(),e.qZA(),e.TgZ(28,"form",10),e._uU(29," Left:\xa0 "),e.TgZ(30,"mat-form-field"),e._UZ(31,"input",13),e.qZA(),e._uU(32," Top:\xa0 "),e.TgZ(33,"mat-form-field"),e._UZ(34,"input",14),e.qZA(),e.qZA(),e.qZA(),e.TgZ(35,"div",15),e.TgZ(36,"button",16),e.NdJ("click",function(){return i.onNoClick()}),e._uU(37,"Close"),e.qZA(),e.TgZ(38,"button",17),e.NdJ("click",function(){return i.onAddClick()}),e._uU(39," Add "),e.qZA(),e.qZA()),2&t&&(e.xp6(3),e.MGl("routerLink","/server/",i.server.id,"/preferences"),e.xp6(7),e.Q6J("ngModel",i.searchText)("ngModelOptions",e.DdM(15,qL)),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(16,qL))("ngModel",i.selectedType),e.xp6(1),e.Q6J("ngForOf",i.templateTypes),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(17,qL))("ngModel",i.selectedTemplate),e.xp6(1),e.Q6J("ngForOf",e.xi3(17,12,i.filteredTemplates,i.searchText)),e.xp6(5),e.Q6J("formGroup",i.configurationForm),e.xp6(3),e.Q6J("ngIf",i.selectedTemplate),e.xp6(4),e.Q6J("formGroup",i.positionForm))},directives:[ni,Mn,fa,oy,Un.KE,ur,ne.Fj,ne.JJ,ne.On,pi.gD,Et.sg,ne._Y,ne.JL,ne.sg,ne.wV,ne.u,Et.O5,ei,ln.ey],pipes:[NCe],styles:[".header[_ngcontent-%COMP%]{min-height:64px;display:flex;align-items:baseline;padding:8px 24px 0;font-size:20px;justify-content:space-between}.mat-table[_ngcontent-%COMP%]{height:200px;overflow:scroll}.mat-form-field[_ngcontent-%COMP%]{font-size:16px;flex-grow:1}.form-field[_ngcontent-%COMP%]{width:100%}div[_ngcontent-%COMP%]{scrollbar-color:darkgrey #263238;scrollbar-width:thin}h6[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:10px;color:#0097a7}mat-table[_ngcontent-%COMP%]{scrollbar-color:darkgrey #263238;scrollbar-width:thin}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}.filterBox[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.title-container[_ngcontent-%COMP%]{display:flex;align-items:baseline;justify-content:space-between}"]}),n}();function HCe(n,r){if(1&n&&(e.TgZ(0,"mat-option",11),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}var z2=function(n,r){return{templateText:n,lightTemplateText:r}};function VCe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"span",14),e.TgZ(1,"div",15),e.NdJ("dragStart",function(s){return e.CHM(t),e.oxw(3).dragStart(s)})("dragEnd",function(s){e.CHM(t);var u=e.oxw(2).index,p=e.oxw();return p.dragEnd(s,p.filteredTemplates[u+1])}),e._UZ(2,"img",16),e.qZA(),e.TgZ(3,"div",17),e._uU(4),e.qZA(),e.qZA()}if(2&n){var i=e.oxw(2).index,o=e.oxw();e.xp6(2),e.Q6J("src",o.getImageSourceForTemplate(o.filteredTemplates[i+1]),e.LSH),e.xp6(1),e.Q6J("ngClass",e.WLB(3,z2,!o.isLightThemeEnabled,o.isLightThemeEnabled)),e.xp6(1),e.Oqu(o.filteredTemplates[i+1].name)}}function qCe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"span",14),e.TgZ(1,"div",15),e.NdJ("dragStart",function(s){return e.CHM(t),e.oxw(3).dragStart(s)})("dragEnd",function(s){e.CHM(t);var u=e.oxw(2).index,p=e.oxw();return p.dragEnd(s,p.filteredTemplates[u+2])}),e._UZ(2,"img",16),e.qZA(),e.TgZ(3,"div",17),e._uU(4),e.qZA(),e.qZA()}if(2&n){var i=e.oxw(2).index,o=e.oxw();e.xp6(2),e.Q6J("src",o.getImageSourceForTemplate(o.filteredTemplates[i+2]),e.LSH),e.xp6(1),e.Q6J("ngClass",e.WLB(3,z2,!o.isLightThemeEnabled,o.isLightThemeEnabled)),e.xp6(1),e.Oqu(o.filteredTemplates[i+2].name)}}function jCe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"span",14),e.TgZ(1,"div",15),e.NdJ("dragStart",function(s){return e.CHM(t),e.oxw(3).dragStart(s)})("dragEnd",function(s){e.CHM(t);var u=e.oxw(2).index,p=e.oxw();return p.dragEnd(s,p.filteredTemplates[u+3])}),e._UZ(2,"img",16),e.qZA(),e.TgZ(3,"div",17),e._uU(4),e.qZA(),e.qZA()}if(2&n){var i=e.oxw(2).index,o=e.oxw();e.xp6(2),e.Q6J("src",o.getImageSourceForTemplate(o.filteredTemplates[i+3]),e.LSH),e.xp6(1),e.Q6J("ngClass",e.WLB(3,z2,!o.isLightThemeEnabled,o.isLightThemeEnabled)),e.xp6(1),e.Oqu(o.filteredTemplates[i+3].name)}}function zCe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"span",13),e.TgZ(1,"span",14),e.TgZ(2,"div",15),e.NdJ("dragStart",function(s){return e.CHM(t),e.oxw(2).dragStart(s)})("dragEnd",function(s){e.CHM(t);var u=e.oxw().index,p=e.oxw();return p.dragEnd(s,p.filteredTemplates[u])}),e._UZ(3,"img",16),e.qZA(),e.TgZ(4,"div",17),e._uU(5),e.qZA(),e.qZA(),e.YNc(6,VCe,5,6,"span",18),e.YNc(7,qCe,5,6,"span",18),e.YNc(8,jCe,5,6,"span",18),e.qZA()}if(2&n){var i=e.oxw().index,o=e.oxw();e.xp6(3),e.Q6J("src",o.getImageSourceForTemplate(o.filteredTemplates[i]),e.LSH),e.xp6(1),e.Q6J("ngClass",e.WLB(6,z2,!o.isLightThemeEnabled,o.isLightThemeEnabled)),e.xp6(1),e.Oqu(o.filteredTemplates[i].name),e.xp6(1),e.Q6J("ngIf",o.filteredTemplates[i+1]),e.xp6(1),e.Q6J("ngIf",o.filteredTemplates[i+2]),e.xp6(1),e.Q6J("ngIf",o.filteredTemplates[i+3])}}function WCe(n,r){if(1&n&&(e.TgZ(0,"mat-list-item"),e.YNc(1,zCe,9,9,"span",12),e.qZA()),2&n){var t=r.index;e.xp6(1),e.Q6J("ngIf",t%4==0)}}var gz=function(){return{standalone:!0}},GCe=function(){function n(r,t,i,o,a,s){this.dialog=r,this.templateService=t,this.scaleService=i,this.symbolService=o,this.themeService=a,this.overlayContainer=s,this.onNodeCreation=new e.vpe,this.templates=[],this.filteredTemplates=[],this.searchText="",this.templateTypes=["all","cloud","ethernet_hub","ethernet_switch","docker","dynamips","vpcs","traceng","virtualbox","vmware","iou","qemu"],this.isLightThemeEnabled=!1,this.overlay=s.getContainerElement()}return n.prototype.ngOnInit=function(){var r=this;this.subscription=this.templateService.newTemplateCreated.subscribe(function(t){r.templates.push(t)}),this.templateService.list(this.server).subscribe(function(t){r.filteredTemplates=t,r.sortTemplates(),r.templates=t}),this.symbolService.list(this.server),"light"===this.themeService.getActualTheme()&&(this.isLightThemeEnabled=!0),this.themeSubscription=this.themeService.themeChanged.subscribe(function(t){"light-theme"===t&&(r.isLightThemeEnabled=!0),r.toggleTheme()})},n.prototype.toggleTheme=function(){this.overlay.classList.contains("dark-theme")?(this.overlay.classList.remove("dark-theme"),this.overlay.classList.add("light-theme")):this.overlay.classList.contains("light-theme")?(this.overlay.classList.remove("light-theme"),this.overlay.classList.add("dark-theme")):this.overlay.classList.add("light-theme")},n.prototype.sortTemplates=function(){this.filteredTemplates=this.filteredTemplates.sort(function(r,t){return r.name<t.name?-1:1})},n.prototype.filterTemplates=function(r){var t=this,i=this.templates.filter(function(o){return o.name.toLowerCase().includes(t.searchText.toLowerCase())});this.filteredTemplates="all"!==this.selectedType&&this.selectedType?i.filter(function(o){return o.template_type===t.selectedType}):i,this.sortTemplates()},n.prototype.dragStart=function(r){var t=event.target.getBoundingClientRect();this.startX=event.clientX,this.startY=event.clientY,this.movementY=t.top-event.clientY,this.movementX=t.left-event.clientX},n.prototype.dragEnd=function(r,t){var i=this;this.symbolService.raw(this.server,t.symbol.substring(1)).subscribe(function(o){var a=+o.split('width="')[1].split('"')[0]?+o.split('width="')[1].split('"')[0]:0,s=i.scaleService.getScale(),u={template:t,server:"local",numberOfNodes:1,x:(i.startX+r.x-i.project.scene_width/2-a/2)*s+window.scrollX,y:(i.startY+r.y-i.project.scene_height/2)*s+window.scrollY};i.onNodeCreation.emit(u)})},n.prototype.openDialog=function(){var r=this;this.dialog.open(UCe,{width:"600px",data:{server:this.server,project:this.project},autoFocus:!1,disableClose:!0}).afterClosed().subscribe(function(i){null!==i&&r.onNodeCreation.emit(i)})},n.prototype.getImageSourceForTemplate=function(r){return this.server.protocol+"//"+this.server.host+":"+this.server.port+"/v2/symbols/"+r.symbol+"/raw"},n.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},n.\u0275fac=function(t){return new(t||n)(e.Y36(no),e.Y36(ay),e.Y36(vy),e.Y36(OS),e.Y36(Eu.f),e.Y36(eo.Xj))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-template"]],inputs:{server:"server",project:"project"},outputs:{onNodeCreation:"onNodeCreation"},decls:18,vars:9,consts:[["matTooltip","Add a node","matTooltipClass","custom-tooltip","mat-icon-button","",1,"menu-button","add-menu-button",3,"matMenuTriggerFor"],["mainMenu","matMenu"],["mat-menu-item","",3,"click"],["floatPlaceholder","never",1,"form-field",3,"click"],["matInput","","placeholder","Search by name",3,"ngModel","ngModelOptions","keyup","ngModelChange"],[1,"form-field",3,"click"],["placeholder","Filter templates by type",3,"ngModelOptions","ngModel","selectionChange","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"menu"],[1,"templateList"],[4,"ngFor","ngForOf"],[3,"value"],["class","templateRow",4,"ngIf"],[1,"templateRow"],[1,"templateIcon"],["mwlDraggable","",3,"dragStart","dragEnd"],[1,"image",3,"src"],[3,"ngClass"],["class","templateIcon",4,"ngIf"]],template:function(t,i){if(1&t&&(e.TgZ(0,"button",0),e.TgZ(1,"mat-icon"),e._uU(2,"add"),e.qZA(),e.qZA(),e.TgZ(3,"mat-menu",null,1),e.TgZ(5,"button",2),e.NdJ("click",function(){return i.openDialog()}),e.TgZ(6,"mat-icon"),e._uU(7,"add_to_queue"),e.qZA(),e.TgZ(8,"span"),e._uU(9,"Open dialog to configure"),e.qZA(),e.qZA(),e.TgZ(10,"mat-form-field",3),e.NdJ("click",function(s){return s.stopPropagation()}),e.TgZ(11,"input",4),e.NdJ("keyup",function(s){return i.filterTemplates(s)})("ngModelChange",function(s){return i.searchText=s}),e.qZA(),e.qZA(),e.TgZ(12,"mat-form-field",5),e.NdJ("click",function(s){return s.stopPropagation()}),e.TgZ(13,"mat-select",6),e.NdJ("selectionChange",function(s){return i.filterTemplates(s)})("ngModelChange",function(s){return i.selectedType=s}),e.YNc(14,HCe,2,2,"mat-option",7),e.qZA(),e.qZA(),e.TgZ(15,"div",8),e.TgZ(16,"div",9),e.YNc(17,WCe,2,1,"mat-list-item",10),e.qZA(),e.qZA(),e.qZA()),2&t){var o=e.MAs(4);e.Q6J("matMenuTriggerFor",o),e.xp6(11),e.Q6J("ngModel",i.searchText)("ngModelOptions",e.DdM(7,gz)),e.xp6(2),e.Q6J("ngModelOptions",e.DdM(8,gz))("ngModel",i.selectedType),e.xp6(1),e.Q6J("ngForOf",i.templateTypes),e.xp6(3),e.Q6J("ngForOf",i.filteredTemplates)}},directives:[Mn,Ja,Qa,sr,Ss,Zr,Un.KE,ur,ne.Fj,ne.JJ,ne.On,pi.gD,Et.sg,ln.ey,Cs,Et.O5,h4,Et.mk],styles:[".mat-menu-panel{max-width:400px;max-height:500px}.menu[_ngcontent-%COMP%]{width:100%;overflow-y:scroll;scrollbar-color:darkgrey #263238;scrollbar-width:thin}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}.form-field[_ngcontent-%COMP%]{width:90%;margin-left:5%;margin-right:5%}.image[_ngcontent-%COMP%]{width:65px;height:65px;filter:invert(0);--webkit-filter: invert(0) !important}.templateList[_ngcontent-%COMP%]{width:100%}.templateRow[_ngcontent-%COMP%]{display:flex;margin-bottom:10px}.templateText[_ngcontent-%COMP%]{word-wrap:break-word}.lightTemplateText[_ngcontent-%COMP%]{word-wrap:break-word;color:#000}.templateIcon[_ngcontent-%COMP%]{width:80px!important;padding:10px}"]}),n}(),YCe=["primaryValueBar"],JCe=(0,ln.pj)(function(){return function n(r){(0,g.Z)(this,n),this._elementRef=r}}(),"primary"),QCe=new e.OlP("mat-progress-bar-location",{providedIn:"root",factory:function(){var n=(0,e.f3M)(Et.K0),r=n?n.location:null;return{getPathname:function(){return r?r.pathname+r.search:""}}}}),XCe=0,$Ce=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s,u){var p;(0,g.Z)(this,i),(p=t.call(this,o))._ngZone=a,p._animationMode=s,p._isNoopAnimation=!1,p._value=0,p._bufferValue=0,p.animationEnd=new e.vpe,p._animationEndSubscription=as.w.EMPTY,p.mode="determinate",p.progressbarId="mat-progress-bar-".concat(XCe++);var m=u?u.getPathname().split("#")[0]:"";return p._rectangleFillValue="url('".concat(m,"#").concat(p.progressbarId,"')"),p._isNoopAnimation="NoopAnimations"===s,p}return(0,k.Z)(i,[{key:"value",get:function(){return this._value},set:function(a){this._value=_z((0,Dn.su)(a)||0)}},{key:"bufferValue",get:function(){return this._bufferValue},set:function(a){this._bufferValue=_z(a||0)}},{key:"_primaryTransform",value:function(){return{transform:"scale3d(".concat(this.value/100,", 1, 1)")}}},{key:"_bufferTransform",value:function(){return"buffer"===this.mode?{transform:"scale3d(".concat(this.bufferValue/100,", 1, 1)")}:null}},{key:"ngAfterViewInit",value:function(){var a=this;this._ngZone.runOutsideAngular(function(){var s=a._primaryValueBar.nativeElement;a._animationEndSubscription=(0,hm.R)(s,"transitionend").pipe((0,vi.h)(function(u){return u.target===s})).subscribe(function(){("determinate"===a.mode||"buffer"===a.mode)&&a._ngZone.run(function(){return a.animationEnd.next({value:a.value})})})})}},{key:"ngOnDestroy",value:function(){this._animationEndSubscription.unsubscribe()}}]),i}(JCe);return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(_s.Qb,8),e.Y36(QCe,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-progress-bar"]],viewQuery:function(t,i){var o;1&t&&e.Gf(YCe,5),2&t&&e.iGM(o=e.CRH())&&(i._primaryValueBar=o.first)},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-progress-bar"],hostVars:4,hostBindings:function(t,i){2&t&&(e.uIk("aria-valuenow","indeterminate"===i.mode||"query"===i.mode?null:i.value)("mode",i.mode),e.ekj("_mat-animation-noopable",i._isNoopAnimation))},inputs:{color:"color",mode:"mode",value:"value",bufferValue:"bufferValue"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[e.qOj],decls:10,vars:4,consts:[["aria-hidden","true"],["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.O4$(),e.TgZ(1,"svg",1),e.TgZ(2,"defs"),e.TgZ(3,"pattern",2),e._UZ(4,"circle",3),e.qZA(),e.qZA(),e._UZ(5,"rect",4),e.qZA(),e.kcU(),e._UZ(6,"div",5),e._UZ(7,"div",6,7),e._UZ(9,"div",8),e.qZA()),2&t&&(e.xp6(3),e.Q6J("id",i.progressbarId),e.xp6(2),e.uIk("fill",i._rectangleFillValue),e.xp6(1),e.Q6J("ngStyle",i._bufferTransform()),e.xp6(1),e.Q6J("ngStyle",i._primaryTransform()))},directives:[Et.PC],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\n'],encapsulation:2,changeDetection:0}),n}();function _z(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;return Math.max(r,Math.min(t,n))}var e1e=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[Et.ez,ln.BQ],ln.BQ]}),n}(),jL=function(){function n(r,t){this.dialogRef=r,this.data=t}return n.prototype.onCancelClick=function(){this.dialogRef.close(n.CANCELLED)},n.prototype.ngOnInit=function(){},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(ld))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-progress-dialog"]],decls:7,vars:1,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["color","primary","mode","determinate",3,"value"],["mat-dialog-actions",""],["mat-button","","tabindex","-1","color","accent",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1,"Operation in progress"),e.qZA(),e.TgZ(2,"div",1),e._UZ(3,"mat-progress-bar",2),e.qZA(),e.TgZ(4,"div",3),e.TgZ(5,"button",4),e.NdJ("click",function(){return i.onCancelClick()}),e._uU(6,"Cancel"),e.qZA(),e.qZA()),2&t&&(e.xp6(3),e.Q6J("value",i.value))},directives:[ni,oy,$Ce,ei,Mn],styles:[""]}),n}(),t1e=function(){return function(){}}(),W2=function(){function n(r){this.httpServer=r}return n.prototype.create=function(r,t,i){return this.httpServer.post(r,"/projects/"+t+"/snapshots",i)},n.prototype.delete=function(r,t,i){return this.httpServer.delete(r,"/projects/"+t+"/snapshots/"+i)},n.prototype.list=function(r,t){return this.httpServer.get(r,"/projects/"+t+"/snapshots")},n.prototype.restore=function(r,t,i){return this.httpServer.post(r,"/projects/"+t+"/snapshots/"+i+"/restore",{})},n.\u0275fac=function(t){return new(t||n)(e.LFG(Yo.wh))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),n1e=function(){function n(r,t,i,o,a,s){var u=this;this.dialogRef=r,this.formBuilder=t,this.toasterService=i,this.snapshotService=o,this.nodesDataSource=a,this.data=s,this.snapshot=new t1e,this.snapshots=[],this.server=s.server,this.project=s.project,this.inputForm=this.formBuilder.group({snapshotName:new ne.NI("",ne.kI.required)}),this.snapshotService.list(this.server,this.project.project_id).subscribe(function(p){p.forEach(function(m){u.snapshots.push(m.name)})}),this.nodesDataSource.getItems().forEach(function(p){"stopped"!==p.status&&!u.isAlwaysRunningNode(p.node_type)&&(u.isInRunningState=!0)})}return n.prototype.isAlwaysRunningNode=function(r){return!["qemu","docker","dynamips","vpcs","vmware","virtualbox","iou","traceng"].includes(r)},n.prototype.onAddClick=function(){this.inputForm.invalid?this.toasterService.error("Fill all required fields"):this.snapshots.includes(this.inputForm.get("snapshotName").value)?this.toasterService.error("Snapshot with this name already exists"):this.isInRunningState?this.toasterService.error("Project must be stopped in order to export it"):(this.snapshot.name=this.inputForm.get("snapshotName").value,this.dialogRef.close(this.snapshot))},n.prototype.onNoClick=function(){this.dialogRef.close()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(ne.qu),e.Y36(Xn),e.Y36(W2),e.Y36(ka.G),e.Y36(ld))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-create-snapshot-dialog"]],decls:14,vars:3,consts:[[1,"title-container"],["mat-dialog-title",""],["mat-button","","color","accent",1,"top-button",3,"routerLink","click"],["mat-dialog-content",""],[3,"formGroup"],[1,"name-input"],["matInput","","tabindex","1","formControlName","snapshotName","placeholder","Name"],["mat-dialog-actions",""],["mat-button","","tabindex","-1","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"h1",1),e._uU(2,"Create snapshot"),e.qZA(),e.TgZ(3,"button",2),e.NdJ("click",function(){return i.onNoClick()}),e._uU(4," Go to snapshots "),e.qZA(),e.qZA(),e.TgZ(5,"div",3),e.TgZ(6,"form",4),e.TgZ(7,"mat-form-field",5),e._UZ(8,"input",6),e.qZA(),e.qZA(),e.qZA(),e.TgZ(9,"div",7),e.TgZ(10,"button",8),e.NdJ("click",function(){return i.onNoClick()}),e._uU(11,"Cancel"),e.qZA(),e.TgZ(12,"button",9),e.NdJ("click",function(){return i.onAddClick()}),e._uU(13,"Add"),e.qZA(),e.qZA()),2&t&&(e.xp6(3),e.hYB("routerLink","/server/",i.server.id,"/project/",i.project.project_id,"/snapshots"),e.xp6(3),e.Q6J("formGroup",i.inputForm))},directives:[ni,Mn,fa,oy,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,ei],styles:[".title-container[_ngcontent-%COMP%]{display:flex;align-items:baseline;justify-content:space-between}.name-input[_ngcontent-%COMP%]{width:100%}.top-button[_ngcontent-%COMP%]{outline:none;box-shadow:none!important;background:transparent!important}button[_ngcontent-%COMP%]:focus{outline:0!important;border:0!important;box-shadow:none!important}"]}),n}(),zL=function(){function n(r){this.dialog=r}return n.prototype.open=function(){return this.dialog.open(jL,{width:"250px",autoFocus:!1,disableClose:!0})},n.\u0275fac=function(t){return new(t||n)(e.LFG(no))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),r1e=function(){function n(r,t,i,o){this.dialog=r,this.snapshotService=t,this.progressDialogService=i,this.toaster=o}return n.prototype.ngOnInit=function(){},n.prototype.createSnapshotModal=function(){var r=this;this.dialog.open(n1e,{width:"450px",data:{server:this.server,project:this.project},autoFocus:!1,disableClose:!0}).afterClosed().subscribe(function(i){if(i){var o=r.snapshotService.create(r.server,r.project.project_id,i),a=r.progressDialogService.open(),s=o.subscribe(function(u){r.toaster.success("Snapshot '"+i.name+"' has been created."),a.close()});a.afterClosed().subscribe(function(u){u===jL.CANCELLED&&s.unsubscribe()})}})},n.\u0275fac=function(t){return new(t||n)(e.Y36(no),e.Y36(W2),e.Y36(zL),e.Y36(Xn))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-snapshot-menu-item"]],inputs:{project:"project",server:"server"},decls:3,vars:0,consts:[["matTooltip","Manage snapshots","matTooltipClass","custom-tooltip","mat-icon-button","",1,"snapshot-button","menu-button",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return i.createSnapshotModal()}),e.TgZ(1,"mat-icon"),e._uU(2,"filter_none"),e.qZA(),e.qZA())},directives:[Mn,Ja,sr],styles:[""]}),n}(),i1e=function(){return function(r,t,i,o){this.sourceNode=r,this.sourcePort=t,this.targetNode=i,this.targetPort=o}}();function o1e(n,r){1&n&&(e.O4$(),e.TgZ(0,"svg",9),e._UZ(1,"rect",10),e.qZA())}function a1e(n,r){1&n&&(e.O4$(),e.TgZ(0,"svg",9),e._UZ(1,"rect",11),e.qZA())}function s1e(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"button",6),e.NdJ("click",function(){var s=e.CHM(t).$implicit;return e.oxw(2).chooseInterface(s)}),e.YNc(1,o1e,2,0,"svg",7),e.YNc(2,a1e,2,0,"svg",7),e.TgZ(3,"span",8),e._uU(4),e.qZA(),e.qZA()}if(2&n){var i=r.$implicit;e.Q6J("disabled",!i.available),e.xp6(1),e.Q6J("ngIf",i.available),e.xp6(1),e.Q6J("ngIf",!i.available),e.xp6(2),e.Oqu(i.name)}}function l1e(n,r){if(1&n&&(e.TgZ(0,"div",1),e._UZ(1,"span",2),e.TgZ(2,"mat-menu",3,4),e.YNc(4,s1e,5,4,"button",5),e.qZA(),e.qZA()),2&n){var t=e.MAs(3),i=e.oxw();e.Udp("left",i.leftPosition)("top",i.topPosition),e.xp6(1),e.Q6J("matMenuTriggerFor",t),e.xp6(1),e.Udp("min-height",0),e.xp6(2),e.Q6J("ngForOf",i.ports)}}var yz=function(){function n(r,t){this.sanitizer=r,this.changeDetector=t,this.onChooseInterface=new e.vpe}return n.prototype.ngOnInit=function(){this.setPosition(0,0)},n.prototype.setPosition=function(r,t){this.topPosition=this.sanitizer.bypassSecurityTrustStyle(r+"px"),this.leftPosition=this.sanitizer.bypassSecurityTrustStyle(t+"px"),this.changeDetector.detectChanges()},n.prototype.open=function(r,t,i){this.node=r,this.filterNodePorts(),this.setPosition(t,i),this.contextMenu.openMenu()},n.prototype.filterNodePorts=function(){var r=this,t=[];this.links.forEach(function(i){i.nodes.forEach(function(o){o.node_id===r.node.node_id&&t.push(o)})}),this.ports=[],this.node.ports.forEach(function(i){var o=t.filter(function(a){return a.adapter_number===i.adapter_number});i.available=0===o.length||0===o.filter(function(a){return a.port_number===i.port_number}).length,r.ports.push(i)})},n.prototype.chooseInterface=function(r){this.onChooseInterface.emit({node:this.node,port:r})},n.\u0275fac=function(t){return new(t||n)(e.Y36(B.H7),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-node-select-interface"]],viewQuery:function(t,i){var o;(1&t&&e.Gf(Qa,5),2&t)&&(e.iGM(o=e.CRH())&&(i.contextMenu=o.first))},inputs:{links:"links"},outputs:{onChooseInterface:"onChooseInterface"},decls:1,vars:1,consts:[["class","context-menu",3,"left","top",4,"ngIf"],[1,"context-menu"],[3,"matMenuTriggerFor"],[1,"context-menu-items"],["selectInterfaceMenu","matMenu"],["mat-menu-item","",3,"disabled","click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"disabled","click"],["width","10","height","10",4,"ngIf"],[1,"port"],["width","10","height","10"],["x","0","y","0","width","10","height","10","fill","green",1,"status"],["x","0","y","0","width","10","height","10","fill","red",1,"status"]],template:function(t,i){1&t&&e.YNc(0,l1e,5,8,"div",0),2&t&&e.Q6J("ngIf",i.node)},directives:[Et.O5,Qa,Ss,Et.sg,Zr],styles:[".context-menu[_ngcontent-%COMP%]{position:absolute}.context-menu-items[_ngcontent-%COMP%]{min-height:0px!important}.status[_ngcontent-%COMP%]{margin-right:10px}.port[_ngcontent-%COMP%]{margin-left:10px}"]}),n}(),u1e=function(){function n(r,t,i,o,a,s){this.drawingLineTool=r,this.nodesEventSource=t,this.linksEventSource=i,this.mapNodeToNode=o,this.nodeToMapNode=a,this.portToMapPort=s}return n.prototype.ngOnInit=function(){var r=this;this.nodeClicked$=this.nodesEventSource.clicked.subscribe(function(t){var i=r.mapNodeToNode.convert(t.datum);r.nodeSelectInterfaceMenu.open(i,t.y,t.x)})},n.prototype.ngOnDestroy=function(){this.drawingLineTool.isDrawing()&&this.drawingLineTool.stop(),this.nodeClicked$.unsubscribe()},n.prototype.onChooseInterface=function(r){var t=this.nodeToMapNode.convert(r.node),i=this.portToMapPort.convert(r.port);if(this.drawingLineTool.isDrawing()){var o=this.drawingLineTool.stop();this.linksEventSource.created.emit(new i1e(o.node,o.port,t,i))}else this.drawingLineTool.start(t.x+t.width/2,t.y+t.height/2,{node:t,port:i})},n.\u0275fac=function(t){return new(t||n)(e.Y36(CL),e.Y36(mv),e.Y36(jS),e.Y36(q2),e.Y36(mL),e.Y36(hL))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-draw-link-tool"]],viewQuery:function(t,i){var o;(1&t&&e.Gf(yz,5),2&t)&&(e.iGM(o=e.CRH())&&(i.nodeSelectInterfaceMenu=o.first))},inputs:{links:"links"},decls:1,vars:1,consts:[[3,"links","onChooseInterface"]],template:function(t,i){1&t&&(e.TgZ(0,"app-node-select-interface",0),e.NdJ("onChooseInterface",function(a){return i.onChooseInterface(a)}),e.qZA()),2&t&&e.Q6J("links",i.links)},directives:[yz],styles:[""]}),n}(),bz=f(4147).i8,Cz=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return(0,Jn.ZT)(r,n),r.prototype.getItemKey=function(t){return t},r.\u0275fac=function(){var t;return function(o){return(t||(t=e.n5z(r)))(o||r)}}(),r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(x2.o),c1e=["console"];function d1e(n,r){if(1&n&&(e.TgZ(0,"span",12),e._uU(1),e._UZ(2,"br"),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.hij(" ",t.message," ")}}var G2=function(n){return{lightTheme:n}},p1e=function(){function n(r,t,i,o,a,s,u,p,m){this.projectWebServiceHandler=r,this.nodeService=t,this.nodesDataSource=i,this.logEventsDataSource=o,this.httpService=a,this.themeService=s,this.cd=u,this.nodeConsoleService=p,this.changeDetectorRef=m,this.version=bz,this.command="",this.filters=["all","errors","warnings","info","map updates","server requests"],this.selectedFilter="all",this.filteredEvents=[],this.regexStart=/^start (.*?)$/,this.regexStop=/^stop (.*?)$/,this.regexSuspend=/^suspend (.*?)$/,this.regexReload=/^reload (.*?)$/,this.regexShow=/^show (.*?)$/,this.regexConsole=/^console (.*?)$/,this.style={},this.isDraggingEnabled=!1,this.isLightThemeEnabled=!1,this.selected=new ne.NI(0)}return n.prototype.ngOnInit=function(){var r=this;this.nodeConsoleService.consoleResized.subscribe(function(t){r.style={bottom:"20px",left:"20px",width:t.width+"px",height:t.height-70+"px"},r.changeDetectorRef.detectChanges()}),this.isLightThemeEnabled="light"===this.themeService.getActualTheme(),this.style={bottom:"20px",left:"20px",width:"720px",height:"340px"},this.nodeSubscription=this.projectWebServiceHandler.nodeNotificationEmitter.subscribe(function(t){var o,i=t.event;o=i.label?"Event received: "+t.action+" - "+r.printNode(i)+".":"Event received: "+t.action+" - "+i.name+".",r.showMessage({type:"map update",message:o})}),this.linkSubscription=this.projectWebServiceHandler.linkNotificationEmitter.subscribe(function(t){var o="Event received: "+t.action+" - "+r.printLink(t.event)+".";r.showMessage({type:"map update",message:o})}),this.drawingSubscription=this.projectWebServiceHandler.drawingNotificationEmitter.subscribe(function(t){var o="Event received: "+t.action+" - "+r.printDrawing(t.event)+".";r.showMessage({type:"map update",message:o})}),this.serverRequestsSubscription=this.httpService.requestsNotificationEmitter.subscribe(function(t){r.showMessage({type:"server request",message:t})}),this.errorSubscription=this.projectWebServiceHandler.errorNotificationEmitter.subscribe(function(t){r.showMessage({type:"error",message:t})}),this.warningSubscription=this.projectWebServiceHandler.warningNotificationEmitter.subscribe(function(t){r.showMessage({type:"warning",message:t})}),this.infoSubscription=this.projectWebServiceHandler.infoNotificationEmitter.subscribe(function(t){r.showMessage({type:"info",message:t})})},n.prototype.ngAfterViewInit=function(){this.console.nativeElement&&(this.console.nativeElement.scrollTop=this.console.nativeElement.scrollHeight)},n.prototype.ngOnDestroy=function(){this.nodeSubscription.unsubscribe(),this.linkSubscription.unsubscribe(),this.drawingSubscription.unsubscribe(),this.serverRequestsSubscription.unsubscribe(),this.errorSubscription.unsubscribe(),this.warningSubscription.unsubscribe(),this.infoSubscription.unsubscribe()},n.prototype.applyFilter=function(r){this.selectedFilter=r,this.filteredEvents=this.getFilteredEvents(),this.cd.detectChanges()},n.prototype.onKeyDown=function(r){"Enter"===r.key&&this.handleCommand()},n.prototype.handleCommand=function(){var r=this;if("help"===this.command||""===this.command)this.showCommand("Available commands: help, version, console {node name}, start all, start {node name}, stop all, stop {node name}, suspend all, suspend {node name}, reload all, reload {node name}, show {node name}.");else if("version"===this.command)this.showCommand("Current version: "+this.version);else if("start all"===this.command)this.showCommand("Starting all nodes..."),this.nodeService.startAll(this.server,this.project).subscribe(function(){r.showCommand("All nodes started.")});else if("stop all"===this.command)this.showCommand("Stopping all nodes..."),this.nodeService.stopAll(this.server,this.project).subscribe(function(){r.showCommand("All nodes stopped.")});else if("suspend all"===this.command)this.showCommand("Suspending all nodes..."),this.nodeService.suspendAll(this.server,this.project).subscribe(function(){r.showCommand("All nodes suspended.")});else if("reload all"===this.command)this.showCommand("Reloading all nodes..."),this.nodeService.reloadAll(this.server,this.project).subscribe(function(){r.showCommand("All nodes reloaded.")});else if(this.regexStart.test(this.command)||this.regexStop.test(this.command)||this.regexSuspend.test(this.command)||this.regexReload.test(this.command)||this.regexShow.test(this.command)||this.regexConsole.test(this.command)){var t=this.command.split(/[ ,]+/),i=this.nodesDataSource.getItems().find(function(o){return o.name.valueOf()===t[1].valueOf()});i?this.regexStart.test(this.command)?(this.showCommand("Starting node "+t[1]+"..."),this.nodeService.start(this.server,i).subscribe(function(){return r.showCommand("Node "+i.name+" started.")})):this.regexStop.test(this.command)?(this.showCommand("Stopping node "+t[1]+"..."),this.nodeService.stop(this.server,i).subscribe(function(){return r.showCommand("Node "+i.name+" stopped.")})):this.regexSuspend.test(this.command)?(this.showCommand("Suspending node "+t[1]+"..."),this.nodeService.suspend(this.server,i).subscribe(function(){return r.showCommand("Node "+i.name+" suspended.")})):this.regexReload.test(this.command)?(this.showCommand("Reloading node "+t[1]+"..."),this.nodeService.reload(this.server,i).subscribe(function(){return r.showCommand("Node "+i.name+" reloaded.")})):this.regexConsole.test(this.command)?"started"===i.status?(this.showCommand("Launching console for node "+t[1]+"..."),"telnet"===i.console_type?location.assign("gns3+telnet://"+i.console_host+":"+i.console+"?name="+i.name+"&project_id="+i.project_id+"&node_id="+i.node_id):"vnc"===i.console_type?location.assign("gns3+vnc://"+i.console_host+":"+i.console+"?name="+i.name+"&project_id="+i.project_id+"&node_id="+i.node_id):"spice"===i.console_type?location.assign("gns3+spice://"+i.console_host+":"+i.console+"?name="+i.name+"&project_id="+i.project_id+"&node_id="+i.node_id):this.showCommand("Supported console types: telnet, vnc, spice.")):this.showCommand("This node must be started before a console can be opened."):this.regexShow.test(this.command)&&(this.showCommand("Information about node "+i.name+":"),this.showCommand(this.printNode(i))):this.showCommand("Node with "+t[1]+" name was not found.")}else this.showCommand("Unknown syntax: "+this.command);this.command="",this.cd.detectChanges()},n.prototype.clearConsole=function(){this.filteredEvents=[],this.console.nativeElement.scrollTop=this.console.nativeElement.scrollHeight},n.prototype.showCommand=function(r){this.showMessage({type:"command",message:r})},n.prototype.showMessage=function(r){var t=this;this.logEventsDataSource.add(r),this.filteredEvents=this.getFilteredEvents(),this.console.nativeElement.scrollTop=this.console.nativeElement.scrollHeight,setTimeout(function(){t.console.nativeElement.scrollTop=t.console.nativeElement.scrollHeight},100),this.cd.detectChanges()},n.prototype.getFilteredEvents=function(){return"server requests"===this.selectedFilter?this.logEventsDataSource.getItems().filter(function(r){return"server request"===r.type}):"errors"===this.selectedFilter?this.logEventsDataSource.getItems().filter(function(r){return"error"===r.type}):"warnings"===this.selectedFilter?this.logEventsDataSource.getItems().filter(function(r){return"warning"===r.type}):"info"===this.selectedFilter?this.logEventsDataSource.getItems().filter(function(r){return"info"===r.type}):"map updates"===this.selectedFilter?this.logEventsDataSource.getItems().filter(function(r){return"map update"===r.type||"command"===r.type}):this.logEventsDataSource.getItems()},n.prototype.printNode=function(r){return"command_line: "+r.command_line+", \n            compute_id: "+r.compute_id+", \n            console: "+r.console+", \n            console_host: "+r.console_host+", \n            console_type: "+r.console_type+", \n            first_port_name: "+r.first_port_name+", \n            height: "+r.height+", \n            label: "+r.label.text+", \n            name: "+r.name+", \n            node_directory: "+r.node_directory+", \n            node_id: "+r.node_id+", \n            node_type: "+r.node_type+", \n            port_name_format: "+r.port_name_format+", \n            port_segment_size: "+r.port_segment_size+", "+this.printPorts(r.ports)+"project_id: "+r.project_id+", \n            status: "+r.status+", \n            symbol: "+r.symbol+", \n            symbol_url: "+r.symbol_url+", \n            width: "+r.width+", \n            x: "+r.x+", \n            y: "+r.y+", \n            z: "+r.z},n.prototype.printPorts=function(r){var t="ports: ";return r.forEach(function(i){t=t+"adapter_number: "+i.adapter_number+", \n            link_type: "+i.link_type+", \n            name: "+i.name+", \n            port_number: "+i.port_number+", \n            short_name: "+i.short_name+", "}),t},n.prototype.printLink=function(r){return"capture_file_name: "+r.capture_file_name+", \n            capture_file_path: "+r.capture_file_path+", \n            capturing: "+r.capturing+", \n            link_id: "+r.link_id+", \n            link_type: "+r.link_type+", \n            project_id: "+r.project_id+", \n            suspend: "+r.suspend+", "},n.prototype.printDrawing=function(r){return"drawing_id: "+r.drawing_id+", \n            project_id: "+r.project_id+", \n            rotation: "+r.rotation+", \n            x: "+r.x+", \n            y: "+r.y+", \n            z: "+r.z},n.\u0275fac=function(t){return new(t||n)(e.Y36(UL),e.Y36(Yr),e.Y36(ka.G),e.Y36(Cz),e.Y36(Yo.wh),e.Y36(Eu.f),e.Y36(e.sBO),e.Y36(dd),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-log-console"]],viewQuery:function(t,i){var o;(1&t&&e.Gf(c1e,5),2&t)&&(e.iGM(o=e.CRH())&&(i.console=o.first))},inputs:{server:"server",project:"project"},decls:25,vars:16,consts:[[1,"consoleHeader"],[1,"consoleFiltering"],[1,"filterButton",3,"ngClass","matMenuTriggerFor"],["xPosition","after"],["filterMenu","matMenu"],["mat-menu-item","",3,"click"],[1,"console",3,"ngClass","ngStyle"],["console",""],["class","console-item",4,"ngFor","ngForOf"],[1,"consoleInput",3,"ngClass"],[1,"inputIcon"],["autofocus","","type","text",1,"commandLine",3,"ngClass","ngModel","keydown","ngModelChange"],[1,"console-item"]],template:function(t,i){if(1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"button",2),e._uU(3," Apply filter "),e.qZA(),e.TgZ(4,"mat-menu",3,4),e.TgZ(6,"button",5),e.NdJ("click",function(){return i.applyFilter("all")}),e._uU(7,"all"),e.qZA(),e.TgZ(8,"button",5),e.NdJ("click",function(){return i.applyFilter("errors")}),e._uU(9,"errors"),e.qZA(),e.TgZ(10,"button",5),e.NdJ("click",function(){return i.applyFilter("warnings")}),e._uU(11,"warnings"),e.qZA(),e.TgZ(12,"button",5),e.NdJ("click",function(){return i.applyFilter("info")}),e._uU(13,"info"),e.qZA(),e.TgZ(14,"button",5),e.NdJ("click",function(){return i.applyFilter("map updates")}),e._uU(15,"map updates"),e.qZA(),e.TgZ(16,"button",5),e.NdJ("click",function(){return i.applyFilter("server requests")}),e._uU(17,"server requests"),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(18,"div",6,7),e.YNc(20,d1e,3,1,"span",8),e.qZA(),e.TgZ(21,"div",9),e.TgZ(22,"mat-icon",10),e._uU(23,"keyboard_arrow_right"),e.qZA(),e.TgZ(24,"input",11),e.NdJ("keydown",function(s){return i.onKeyDown(s)})("ngModelChange",function(s){return i.command=s}),e.qZA(),e.qZA()),2&t){var o=e.MAs(5);e.xp6(2),e.Q6J("ngClass",e.VKq(8,G2,i.isLightThemeEnabled))("matMenuTriggerFor",o),e.xp6(16),e.Q6J("ngClass",e.VKq(10,G2,i.isLightThemeEnabled))("ngStyle",i.style),e.xp6(2),e.Q6J("ngForOf",i.filteredEvents),e.xp6(1),e.Q6J("ngClass",e.VKq(12,G2,i.isLightThemeEnabled)),e.xp6(3),e.Q6J("ngClass",e.VKq(14,G2,i.isLightThemeEnabled))("ngModel",i.command)}},directives:[Et.mk,Qa,Ss,Zr,Et.PC,Et.sg,sr,ne.Fj,ne.JJ,ne.On],styles:[".consoleWrapper[_ngcontent-%COMP%]{box-shadow:0 4px 8px rgba(0,0,0,.2),0 6px 20px rgba(0,0,0,.188);position:fixed;bottom:20px;left:20px;height:180px;width:600px;background:#263238;color:#fff;overflow:hidden;font-size:12px}.lightTheme[_ngcontent-%COMP%]{background:white!important;color:#000}.filterButton[_ngcontent-%COMP%]{background:transparent;color:#fff;border:none;margin-top:0;outline:none;color:#dbd5d5;font-weight:bold;padding:0}.consoleFiltering[_ngcontent-%COMP%]{display:flex}.consoleHeader[_ngcontent-%COMP%]{width:100%;height:40px;font-size:12px;overflow:hidden;display:flex;padding:2px;justify-content:space-between}.console[_ngcontent-%COMP%]{width:596px;height:120px;overflow-y:scroll;padding:2px;color:#dbd5d5;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.consoleInput[_ngcontent-%COMP%]{width:100%;height:30px;padding:2px;display:flex}.commandLine[_ngcontent-%COMP%]{background-color:transparent;color:#fff;border:none}.inputIcon[_ngcontent-%COMP%]{margin-top:2px}mat-icon[_ngcontent-%COMP%]{font-size:20px;width:20px;height:20px}input[_ngcontent-%COMP%]:focus{outline:none}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}.closeButton[_ngcontent-%COMP%]{cursor:pointer}"],changeDetection:0}),n}(),Sz=f(20039),Tz=f(3397),xz=f(97916),f1e=["terminal"],h1e=function(){function n(r,t){this.consoleService=r,this.themeService=t,this.term=new Sz.Terminal,this.fitAddon=new xz.FitAddon,this.isLightThemeEnabled=!1,this.copiedText=""}return n.prototype.ngOnInit=function(){var r=this;this.isLightThemeEnabled="light"===this.themeService.getActualTheme(),this.consoleService.consoleResized.subscribe(function(t){var i=Math.floor(t.width/9),o=Math.floor(t.height/17);r.consoleService.setNumberOfColumns(i),r.consoleService.setNumberOfRows(o),r.term.resize(i,o)}),this.consoleService.getNumberOfColumns()&&this.consoleService.getNumberOfRows()&&this.term.resize(this.consoleService.getNumberOfColumns(),this.consoleService.getNumberOfRows())},n.prototype.ngAfterViewInit=function(){var r=this;this.term.open(this.terminal.nativeElement),this.isLightThemeEnabled&&this.term.setOption("theme",{background:"white",foreground:"black",cursor:"black"});var t=new WebSocket(this.consoleService.getUrl(this.server,this.node));t.onerror=function(o){r.term.write("Connection lost")},t.onclose=function(o){r.consoleService.closeConsoleForNode(r.node)};var i=new Tz.AttachAddon(t);this.term.loadAddon(i),this.term.setOption("cursorBlink",!0),this.term.loadAddon(this.fitAddon),this.fitAddon.activate(this.term),this.term.focus(),this.term.attachCustomKeyEventHandler(function(o){return!(("KeyC"===o.code||"KeyV"===o.code)&&o.ctrlKey&&o.shiftKey)})},n.\u0275fac=function(t){return new(t||n)(e.Y36(dd),e.Y36(Eu.f))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-web-console"]],viewQuery:function(t,i){var o;(1&t&&e.Gf(f1e,5),2&t)&&(e.iGM(o=e.CRH())&&(i.terminal=o.first))},inputs:{server:"server",project:"project",node:"node"},decls:2,vars:0,consts:[["id","terminal",1,"lightTheme"],["terminal",""]],template:function(t,i){1&t&&e._UZ(0,"div",0,1)},styles:[".xterm{position:relative;-moz-user-select:none;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm{cursor:text}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility,.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:.5}.xterm-underline{text-decoration:underline}.xterm-strikethrough{text-decoration:line-through}\n",".lightTheme{background:white!important;color:#000!important}\n"],encapsulation:2}),n}();function m1e(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",10),e.NdJ("mousemove",function(o){return e.CHM(t),e.oxw().dragWidget(o)},!1,e.evT)("mouseup",function(){return e.CHM(t),e.oxw().toggleDragging(!1)},!1,e.evT),e.qZA()}}function v1e(n,r){1&n&&(e.TgZ(0,"div",11),e._uU(1,"GNS3 console"),e.qZA())}var JS=function(n){return{lightThemeConsoleHeader:n}};function g1e(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",11),e._uU(1),e.qZA(),e.TgZ(2,"button",7),e.NdJ("click",function(){e.CHM(t);var s=e.oxw().index;return e.oxw().removeTab(s)}),e.TgZ(3,"mat-icon"),e._uU(4,"close"),e.qZA(),e.qZA()}if(2&n){var i=e.oxw().$implicit,o=e.oxw();e.xp6(1),e.Oqu(i.name),e.xp6(1),e.Q6J("ngClass",e.VKq(2,JS,o.isLightThemeEnabled))}}function _1e(n,r){if(1&n&&(e.TgZ(0,"mat-tab",12),e.YNc(1,g1e,5,4,"ng-template",4),e.qZA()),2&n){var t=e.oxw();e.Q6J("label",t.tab)}}function y1e(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"button",7),e.NdJ("click",function(){return e.CHM(t),e.oxw().minimize(!0)}),e.TgZ(1,"mat-icon"),e._uU(2,"remove"),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.Q6J("ngClass",e.VKq(1,JS,i.isLightThemeEnabled))}}function b1e(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"button",7),e.NdJ("click",function(){return e.CHM(t),e.oxw().minimize(!1)}),e.TgZ(1,"mat-icon"),e._uU(2,"web_asset"),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.Q6J("ngClass",e.VKq(1,JS,i.isLightThemeEnabled))}}function C1e(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",13),e.NdJ("mouseover",function(s){return e.CHM(t),e.oxw().disableScroll(s)})("mouseout",function(s){return e.CHM(t),e.oxw().enableScroll(s)}),e._UZ(1,"app-web-console",14),e.qZA()}if(2&n){var i=r.index,o=e.oxw();e.Q6J("hidden",o.isMinimized),e.xp6(1),e.Q6J("hidden",o.selected.value!==i+1)("server",o.server)("node",o.nodes[i])}}var S1e=function(n){return{lightTheme:n}},T1e=function(){return{right:!0,left:!0,bottom:!0,top:!0}},x1e=function(){function n(r,t,i){this.consoleService=r,this.themeService=t,this.mapSettingsService=i,this.closeConsole=new e.vpe,this.filters=["all","errors","warnings","info","map updates","server requests"],this.selectedFilter="all",this.style={},this.styleInside={height:"120px"},this.isDraggingEnabled=!1,this.isLightThemeEnabled=!1,this.isMinimized=!1,this.resizedWidth=720,this.resizedHeight=480,this.nodes=[],this.selected=new ne.NI(0)}return n.prototype.ngOnInit=function(){var r=this;this.isLightThemeEnabled="light"===this.themeService.getActualTheme(),this.style={bottom:"20px",left:"80px",width:"720px",height:"460px"},this.consoleService.nodeConsoleTrigger.subscribe(function(t){r.addTab(t,!0)}),this.consoleService.closeNodeConsoleTrigger.subscribe(function(t){var i=r.nodes.findIndex(function(o){return o.node_id===t.node_id});r.removeTab(i)})},n.prototype.minimize=function(r){this.isMinimized=r,this.style=r?{bottom:"20px",left:"20px",width:this.resizedWidth+"px",height:"56px"}:{bottom:"20px",left:"80px",width:this.resizedWidth+"px",height:this.resizedHeight+"px"}},n.prototype.addTab=function(r,t){this.minimize(!1),this.nodes.push(r),t&&this.selected.setValue(this.nodes.length),this.consoleService.openConsoles++},n.prototype.removeTab=function(r){this.nodes.splice(r,1),this.consoleService.openConsoles--},n.prototype.toggleDragging=function(r){this.isDraggingEnabled=r},n.prototype.dragWidget=function(r){var t=Number(r.movementX),i=Number(r.movementY),o=Number(this.style.width.split("px")[0]),a=Number(this.style.height.split("px")[0]),s=Number(this.style.left.split("px")[0])+t;if(this.style.top){var u=Number(this.style.top.split("px")[0])+i;this.style={position:"fixed",left:s+"px",top:u+"px",width:o+"px",height:a+"px"}}else{var p=Number(this.style.bottom.split("px")[0])-i;this.style={position:"fixed",left:s+"px",bottom:p+"px",width:o+"px",height:a+"px"}}},n.prototype.validate=function(r){return!(r.rectangle.width&&r.rectangle.height&&(r.rectangle.width<500||r.rectangle.height<100))},n.prototype.onResizeEnd=function(r){this.style={position:"fixed",left:r.rectangle.left+"px",top:r.rectangle.top+"px",width:r.rectangle.width+"px",height:r.rectangle.height+"px"},this.styleInside={height:r.rectangle.height-60+"px",width:r.rectangle.width+"px"},this.consoleService.consoleResized.next({width:r.rectangle.width,height:r.rectangle.height-53}),this.resizedWidth=r.rectangle.width,this.resizedHeight=r.rectangle.height},n.prototype.close=function(){this.closeConsole.emit(!1)},n.prototype.enableScroll=function(r){this.mapSettingsService.isScrollDisabled.next(!1)},n.prototype.disableScroll=function(r){this.mapSettingsService.isScrollDisabled.next(!0)},n.\u0275fac=function(t){return new(t||n)(e.Y36(dd),e.Y36(Eu.f),e.Y36(Mu))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-console-wrapper"]],inputs:{server:"server",project:"project"},outputs:{closeConsole:"closeConsole"},decls:14,vars:23,consts:[[3,"mousemove","mouseup",4,"ngIf"],["mwlResizable","",1,"consoleWrapper",3,"ngClass","ngStyle","validateResize","resizeEdges","enableGhostResize","mousedown","resizeStart","resizeEnd"],[1,"consoleHeader",3,"ngClass"],[1,"tabs",3,"selectedIndex","selectedIndexChange"],["mat-tab-label",""],[3,"label",4,"ngFor","ngForOf"],["style","color: white","mat-icon-button","",3,"ngClass","click",4,"ngIf"],["mat-icon-button","",2,"color","white",3,"ngClass","click"],[3,"hidden","server","project"],["class","xterm-console",3,"hidden","mouseover","mouseout",4,"ngFor","ngForOf"],[3,"mousemove","mouseup"],[1,"col",2,"margin-left","20px"],[3,"label"],[1,"xterm-console",3,"hidden","mouseover","mouseout"],[3,"hidden","server","node"]],template:function(t,i){1&t&&(e.YNc(0,m1e,1,0,"div",0),e.TgZ(1,"div",1),e.NdJ("mousedown",function(){return i.toggleDragging(!0)})("resizeStart",function(){return i.toggleDragging(!1)})("resizeEnd",function(a){return i.onResizeEnd(a)}),e.TgZ(2,"div",2),e.TgZ(3,"mat-tab-group",3),e.NdJ("selectedIndexChange",function(a){return i.selected.setValue(a)}),e.TgZ(4,"mat-tab"),e.YNc(5,v1e,2,0,"ng-template",4),e.qZA(),e.YNc(6,_1e,2,1,"mat-tab",5),e.qZA(),e.YNc(7,y1e,3,3,"button",6),e.YNc(8,b1e,3,3,"button",6),e.TgZ(9,"button",7),e.NdJ("click",function(){return i.close()}),e.TgZ(10,"mat-icon"),e._uU(11,"close"),e.qZA(),e.qZA(),e.qZA(),e._UZ(12,"app-log-console",8),e.YNc(13,C1e,2,4,"div",9),e.qZA()),2&t&&(e.Q6J("ngIf",i.isDraggingEnabled),e.xp6(1),e.Q6J("ngClass",e.VKq(16,S1e,i.isLightThemeEnabled))("ngStyle",i.style)("validateResize",i.validate)("resizeEdges",e.DdM(18,T1e))("enableGhostResize",!0),e.xp6(1),e.Q6J("ngClass",e.VKq(19,JS,i.isLightThemeEnabled)),e.xp6(1),e.Q6J("selectedIndex",i.selected.value),e.xp6(3),e.Q6J("ngForOf",i.nodes),e.xp6(1),e.Q6J("ngIf",!i.isMinimized),e.xp6(1),e.Q6J("ngIf",i.isMinimized),e.xp6(1),e.Q6J("ngClass",e.VKq(21,JS,i.isLightThemeEnabled)),e.xp6(3),e.Q6J("hidden",0!==i.selected.value||i.isMinimized)("server",i.server)("project",i.project),e.xp6(1),e.Q6J("ngForOf",i.nodes))},directives:[Et.O5,hE.E$,Et.mk,Et.PC,wo.SP,wo.uX,wo.uD,Et.sg,Mn,sr,p1e,h1e],styles:["@media screen and (max-width: 700px){.consoleWrapper[_ngcontent-%COMP%]{visibility:hidden}}.consoleWrapper[_ngcontent-%COMP%]{box-shadow:0 4px 8px rgba(0,0,0,.2),0 6px 20px rgba(0,0,0,.188);position:fixed;bottom:40px;left:80px;height:180px;width:600px;background:#000000!important;color:#fff;overflow:hidden;font-size:12px;border-radius:8px}.lightTheme[_ngcontent-%COMP%]{background:white!important;color:#000}.filterButton[_ngcontent-%COMP%]{background:transparent;color:#fff;border:none;margin-top:0;outline:none;color:#dbd5d5;font-weight:bold;padding:0}.consoleFiltering[_ngcontent-%COMP%]{display:flex}.consoleHeader[_ngcontent-%COMP%]{width:100%;font-size:12px;overflow:hidden;display:flex;padding:2px;justify-content:space-between;background:#263238!important}.lightThemeConsoleHeader[_ngcontent-%COMP%]{background:white!important;color:#000!important}[_nghost-%COMP%]     .mat-tab-label{height:3rem!important;min-width:8rem!important}[_nghost-%COMP%]     .mat-tab-label.mat-tab-label-active{border-bottom:2px solid #0097a7;box-sizing:border-box;font-weight:1200}[_nghost-%COMP%]     .mat-ink-bar{display:none!important}.tabs[_ngcontent-%COMP%]{width:80%}.console[_ngcontent-%COMP%]{width:596px;height:120px;overflow-y:scroll;padding:2px;color:#dbd5d5;scrollbar-color:darkgrey #263238;scrollbar-width:thin}.xterm-console[_ngcontent-%COMP%]{background:black}.consoleInput[_ngcontent-%COMP%]{width:100%;height:30px;padding:2px;display:flex}.commandLine[_ngcontent-%COMP%]{background-color:transparent;color:#fff;border:none}.inputIcon[_ngcontent-%COMP%]{margin-top:2px}mat-icon[_ngcontent-%COMP%]{font-size:20px;width:20px;height:20px}input[_ngcontent-%COMP%]:focus{outline:none}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #263238}.closeButton[_ngcontent-%COMP%]{cursor:pointer}"]}),n}(),w1e=["topologySummaryContainer"];function k1e(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"app-d3-map",38),e.NdJ("nodeDragged",function(a){return e.CHM(t),e.oxw(2).onNodeDragged(a)})("drawingDragged",function(a){return e.CHM(t),e.oxw(2).onDrawingDragged(a)})("onLinkCreated",function(a){return e.CHM(t),e.oxw(2).onLinkCreated(a)})("onDrawingResized",function(a){return e.CHM(t),e.oxw(2).onDrawingResized(a)}),e.qZA()}if(2&n){var i=e.oxw(2);e.Q6J("server",i.server)("project",i.project)("symbols",i.symbols)("nodes",i.nodes)("links",i.links)("drawings",i.drawings)("width",i.project.scene_width)("height",i.project.scene_height)("show-interface-labels",i.isInterfaceLabelVisible)("readonly",i.inReadOnlyMode)}}function E1e(n,r){if(1&n&&e._UZ(0,"app-experimental-map",39),2&n){var t=e.oxw(2);e.Q6J("symbols",t.symbols)("nodes",t.nodes)("links",t.links)("drawings",t.drawings)("width",t.project.scene_width)("height",t.project.scene_height)("show-interface-labels",t.isInterfaceLabelVisible)("selection-tool",t.tools.selection)("moving-tool",t.tools.moving)("draw-link-tool",t.tools.draw_link)("readonly",t.inReadOnlyMode)}}function M1e(n,r){1&n&&e._UZ(0,"mat-icon",40)}function A1e(n,r){1&n&&e._UZ(0,"mat-icon",41)}var Y2=function(n){return{lightTheme:n}},D1e=function(n){return{selected:n}};function O1e(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",42),e.TgZ(1,"app-template",43),e.NdJ("onNodeCreation",function(a){return e.CHM(t),e.oxw(2).onNodeCreation(a)}),e.qZA(),e.TgZ(2,"button",44),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).toggleDrawLineMode()}),e.TgZ(3,"mat-icon"),e._uU(4,"timeline"),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw(2);e.Q6J("ngClass",e.VKq(5,Y2,i.isLightThemeEnabled)),e.xp6(1),e.Q6J("server",i.server)("project",i.project),e.xp6(1),e.Q6J("ngClass",e.VKq(7,D1e,i.tools.draw_link))("color",i.tools.draw_link?"primary":"basic")}}function P1e(n,r){if(1&n&&(e.TgZ(0,"div",26),e._UZ(1,"app-snapshot-menu-item",12),e.qZA()),2&n){var t=e.oxw(2);e.xp6(1),e.Q6J("server",t.server)("project",t.project)}}function I1e(n,r){if(1&n&&e._UZ(0,"app-draw-link-tool",45),2&n){var t=e.oxw(2);e.Q6J("links",t.links)}}function R1e(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"app-console-wrapper",46),e.NdJ("closeConsole",function(a){return e.CHM(t),e.oxw(2).toggleShowConsole(a)}),e.qZA()}if(2&n){var i=e.oxw(2);e.Q6J("server",i.server)("project",i.project)}}var N1e=function(n,r){return{unmarkedLight:n,marked:r}},Z1e=function(n){return["/server",n,"projects"]},L1e=function(){return["/servers"]},F1e=function(n){return{visible:n}};function B1e(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"div",2),e.YNc(1,k1e,1,10,"app-d3-map",3),e.YNc(2,E1e,1,11,"app-experimental-map",4),e.TgZ(3,"div",5),e.TgZ(4,"button",6),e.YNc(5,M1e,1,0,"mat-icon",7),e.YNc(6,A1e,1,0,"mat-icon",8),e.qZA(),e.TgZ(7,"div",9),e.YNc(8,O1e,5,9,"div",10),e.TgZ(9,"div",11),e._UZ(10,"app-nodes-menu",12),e._UZ(11,"app-context-menu",13),e.qZA(),e.qZA(),e.TgZ(12,"div"),e.TgZ(13,"button",14),e.NdJ("click",function(){e.CHM(t);var p=e.oxw();return p.toggleShowTopologySummary(!p.isTopologySummaryVisible)}),e.TgZ(14,"mat-icon"),e._uU(15,"toc"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(16,"mat-menu",15,16),e.TgZ(18,"button",17),e.TgZ(19,"mat-icon"),e._uU(20,"work"),e.qZA(),e.TgZ(21,"span"),e._uU(22,"Go to projects"),e.qZA(),e.qZA(),e.TgZ(23,"button",17),e.TgZ(24,"mat-icon"),e._uU(25,"developer_board"),e.qZA(),e.TgZ(26,"span"),e._uU(27,"Go to servers"),e.qZA(),e.qZA(),e.TgZ(28,"button",17),e.TgZ(29,"mat-icon"),e._uU(30,"settings_applications"),e.qZA(),e.TgZ(31,"span"),e._uU(32,"Go to preferences"),e.qZA(),e.qZA(),e.TgZ(33,"button",17),e.TgZ(34,"mat-icon"),e._uU(35,"info"),e.qZA(),e.TgZ(36,"span"),e._uU(37,"Go to system status"),e.qZA(),e.qZA(),e.TgZ(38,"button",18),e.TgZ(39,"mat-icon"),e._uU(40,"settings"),e.qZA(),e.TgZ(41,"span"),e._uU(42,"Go to settings"),e.qZA(),e.qZA(),e.TgZ(43,"button",19),e.NdJ("click",function(){return e.CHM(t),e.oxw().addNewTemplate()}),e.TgZ(44,"mat-icon"),e._uU(45,"control_point"),e.qZA(),e.TgZ(46,"span"),e._uU(47,"New template"),e.qZA(),e.qZA(),e._UZ(48,"app-import-appliance",12),e.TgZ(49,"button",20),e.TgZ(50,"mat-icon"),e._uU(51,"settings"),e.qZA(),e.TgZ(52,"span"),e._uU(53,"Project settings"),e.qZA(),e.qZA(),e.TgZ(54,"button",20),e.TgZ(55,"mat-icon"),e._uU(56,"view_module"),e.qZA(),e.TgZ(57,"span"),e._uU(58,"Map settings"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(59,"mat-menu",15,21),e.TgZ(61,"div"),e.TgZ(62,"button",19),e.NdJ("click",function(){return e.CHM(t),e.oxw().addNewProject()}),e.TgZ(63,"mat-icon"),e._uU(64,"add"),e.qZA(),e.TgZ(65,"span"),e._uU(66,"Add new blank project"),e.qZA(),e.qZA(),e.TgZ(67,"button",19),e.NdJ("click",function(){return e.CHM(t),e.oxw().saveProject()}),e.TgZ(68,"mat-icon"),e._uU(69,"save"),e.qZA(),e.TgZ(70,"span"),e._uU(71,"Save project as"),e.qZA(),e.qZA(),e.TgZ(72,"button",19),e.NdJ("click",function(){return e.CHM(t),e.oxw().editProject()}),e.TgZ(73,"mat-icon"),e._uU(74,"edit"),e.qZA(),e.TgZ(75,"span"),e._uU(76,"Edit project"),e.qZA(),e.qZA(),e.TgZ(77,"button",19),e.NdJ("click",function(){return e.CHM(t),e.oxw().exportProject()}),e.TgZ(78,"mat-icon"),e._uU(79,"call_made"),e.qZA(),e.TgZ(80,"span"),e._uU(81,"Export portable project"),e.qZA(),e.qZA(),e.TgZ(82,"button",19),e.NdJ("click",function(){return e.CHM(t),e.oxw().importProject()}),e.TgZ(83,"mat-icon"),e._uU(84,"call_received"),e.qZA(),e.TgZ(85,"span"),e._uU(86,"Import portable project"),e.qZA(),e.qZA(),e.TgZ(87,"button",19),e.NdJ("click",function(){return e.CHM(t),e.oxw().closeProject()}),e.TgZ(88,"mat-icon"),e._uU(89,"close"),e.qZA(),e.TgZ(90,"span"),e._uU(91,"Close project"),e.qZA(),e.qZA(),e.TgZ(92,"button",19),e.NdJ("click",function(){return e.CHM(t),e.oxw().deleteProject()}),e.TgZ(93,"mat-icon"),e._uU(94,"delete"),e.qZA(),e.TgZ(95,"span"),e._uU(96,"Delete project"),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(97,"mat-menu",15,22),e.TgZ(99,"div",23),e.TgZ(100,"mat-checkbox",24),e.NdJ("change",function(p){return e.CHM(t),e.oxw().toggleShowInterfaceLabels(p.checked)}),e._uU(101," Show interface labels "),e.qZA(),e._UZ(102,"br"),e.TgZ(103,"mat-checkbox",24),e.NdJ("change",function(p){return e.CHM(t),e.oxw().toggleShowConsole(p.checked)}),e._uU(104," Show console "),e.qZA(),e._UZ(105,"br"),e.TgZ(106,"mat-checkbox",24),e.NdJ("change",function(p){return e.CHM(t),e.oxw().toggleShowTopologySummary(p.checked)}),e._uU(107," Show topology/servers summary "),e.qZA(),e._UZ(108,"br"),e.TgZ(109,"mat-checkbox",24),e.NdJ("change",function(p){return e.CHM(t),e.oxw().toggleNotifications(p.checked)}),e._uU(110," Show notifications "),e.qZA(),e._UZ(111,"br"),e.TgZ(112,"mat-checkbox",24),e.NdJ("change",function(p){return e.CHM(t),e.oxw().toggleLayers(p.checked)}),e._uU(113," Show layers "),e.qZA(),e._UZ(114,"br"),e.TgZ(115,"mat-checkbox",24),e.NdJ("change",function(p){return e.CHM(t),e.oxw().toggleGrid(p.checked)}),e._uU(116," Show grid "),e.qZA(),e._UZ(117,"br"),e.TgZ(118,"mat-checkbox",24),e.NdJ("change",function(p){return e.CHM(t),e.oxw().toggleSnapToGrid(p.checked)}),e._uU(119," Snap to grid "),e.qZA(),e._UZ(120,"br"),e.TgZ(121,"mat-checkbox",24),e.NdJ("change",function(p){return e.CHM(t),e.oxw().toggleSymbolScaling(p.checked)}),e._uU(122," Scale symbols "),e.qZA(),e._UZ(123,"br"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(124,"div",25),e.TgZ(125,"div",26),e.TgZ(126,"button",27),e.NdJ("click",function(){return e.CHM(t),e.oxw().toggleMovingMode()}),e.TgZ(127,"mat-icon"),e._uU(128,"near_me"),e.qZA(),e.qZA(),e.TgZ(129,"button",28),e.NdJ("click",function(){return e.CHM(t),e.oxw().toggleMovingMode()}),e.TgZ(130,"mat-icon"),e._uU(131,"zoom_out_map"),e.qZA(),e.qZA(),e.TgZ(132,"button",29),e.NdJ("click",function(){return e.CHM(t),e.oxw().zoomIn()}),e.TgZ(133,"mat-icon"),e._uU(134,"zoom_in"),e.qZA(),e.qZA(),e.TgZ(135,"button",30),e.NdJ("click",function(){return e.CHM(t),e.oxw().resetZoom()}),e.TgZ(136,"mat-icon"),e._uU(137,"adjust"),e.qZA(),e.qZA(),e.TgZ(138,"button",31),e.NdJ("click",function(){return e.CHM(t),e.oxw().zoomOut()}),e.TgZ(139,"mat-icon"),e._uU(140,"zoom_out"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(141,"div",26),e._UZ(142,"app-project-map-menu",12),e.qZA(),e.YNc(143,P1e,2,2,"div",32),e.qZA(),e._UZ(144,"app-progress"),e.YNc(145,I1e,1,1,"app-draw-link-tool",33),e._UZ(146,"app-drawing-dragged",12),e._UZ(147,"app-drawing-resized",34),e._UZ(148,"app-interface-label-dragged",34),e._UZ(149,"app-link-created",12),e._UZ(150,"app-node-dragged",12),e._UZ(151,"app-node-label-dragged",34),e.TgZ(152,"app-text-added",35),e.NdJ("drawingSaved",function(){return e.CHM(t),e.oxw().onDrawingSaved()}),e.qZA(),e._UZ(153,"app-text-edited",34),e.TgZ(154,"div",36),e.YNc(155,R1e,1,2,"app-console-wrapper",37),e.qZA(),e.qZA()}if(2&n){var i=e.MAs(17),o=e.MAs(60),a=e.MAs(98),s=e.oxw();e.Q6J("ngClass",e.VKq(53,Y2,s.isLightThemeEnabled)),e.xp6(1),e.Q6J("ngIf",!s.settings.angular_map),e.xp6(1),e.Q6J("ngIf",s.settings.angular_map),e.xp6(1),e.Q6J("ngClass",e.VKq(55,Y2,s.isLightThemeEnabled)),e.xp6(1),e.Q6J("matMenuTriggerFor",i),e.xp6(1),e.Q6J("ngIf",!s.isLightThemeEnabled),e.xp6(1),e.Q6J("ngIf",s.isLightThemeEnabled),e.xp6(2),e.Q6J("ngIf",!s.readonly),e.xp6(2),e.Q6J("server",s.server)("project",s.project),e.xp6(1),e.Q6J("project",s.project)("server",s.server),e.xp6(2),e.Q6J("ngClass",e.WLB(57,N1e,!s.isTopologySummaryVisible&&s.isLightThemeEnabled,s.isTopologySummaryVisible)),e.xp6(3),e.Q6J("overlapTrigger",!1),e.xp6(2),e.Q6J("routerLink",e.VKq(60,Z1e,s.server.id)),e.xp6(5),e.Q6J("routerLink",e.DdM(62,L1e)),e.xp6(5),e.MGl("routerLink","/server/",s.server.id,"/preferences"),e.xp6(5),e.MGl("routerLink","/server/",s.server.id,"/systemstatus"),e.xp6(15),e.Q6J("server",s.server)("project",s.project),e.xp6(1),e.Q6J("matMenuTriggerFor",o),e.xp6(5),e.Q6J("matMenuTriggerFor",a),e.xp6(5),e.Q6J("overlapTrigger",!1),e.xp6(38),e.Q6J("overlapTrigger",!1),e.xp6(3),e.Q6J("ngModel",s.isInterfaceLabelVisible),e.xp6(3),e.Q6J("ngModel",s.isConsoleVisible),e.xp6(3),e.Q6J("ngModel",s.isTopologySummaryVisible),e.xp6(3),e.Q6J("ngModel",s.notificationsVisibility),e.xp6(3),e.Q6J("ngModel",s.layersVisibility),e.xp6(3),e.Q6J("ngModel",s.gridVisibility),e.xp6(3),e.Q6J("ngModel",s.project.snap_to_grid),e.xp6(3),e.Q6J("ngModel",s.symbolScaling),e.xp6(3),e.Q6J("ngClass",e.VKq(63,Y2,s.isLightThemeEnabled)),e.xp6(2),e.Q6J("color",s.tools.moving?"basic":"primary"),e.xp6(3),e.Q6J("color",s.tools.moving?"primary":"basic"),e.xp6(13),e.Q6J("server",s.server)("project",s.project),e.xp6(1),e.Q6J("ngIf",!s.readonly),e.xp6(2),e.Q6J("ngIf",s.tools.draw_link),e.xp6(1),e.Q6J("server",s.server)("project",s.project),e.xp6(1),e.Q6J("server",s.server),e.xp6(1),e.Q6J("server",s.server),e.xp6(1),e.Q6J("server",s.server)("project",s.project),e.xp6(1),e.Q6J("server",s.server)("project",s.project),e.xp6(1),e.Q6J("server",s.server),e.xp6(1),e.Q6J("server",s.server)("project",s.project),e.xp6(1),e.Q6J("server",s.server),e.xp6(1),e.Q6J("ngClass",e.VKq(65,F1e,!s.isConsoleVisible)),e.xp6(1),e.Q6J("ngIf",s.project)}}function U1e(n,r){}var H1e=function(){function n(r,t,i,o,a,s,u,p,m,b,I,F,G,Y,$,de,Me,st,tt,at,pt,Je,et,It,kt,pn,Wt,ot,Dt,mn,dn,xn,Zn,er,vr,zr,ir,Jr,ai,gr,Li,Bo,mr,pr,or,Vn,Jo,xi){this.route=r,this.serverService=t,this.projectService=i,this.nodeService=o,this.drawingService=a,this.progressService=s,this.projectWebServiceHandler=u,this.mapChangeDetectorRef=p,this.nodeWidget=m,this.drawingsWidget=b,this.linkWidget=I,this.labelWidget=F,this.interfaceLabelWidget=G,this.mapNodeToNode=Y,this.mapDrawingToDrawing=$,this.mapLabelToLabel=de,this.mapLinkToLink=Me,this.mapLinkNodeToLinkNode=st,this.nodesDataSource=tt,this.linksDataSource=at,this.drawingsDataSource=pt,this.settingsService=Je,this.toolsService=et,this.selectionManager=It,this.selectionTool=kt,this.recentlyOpenedProjectService=pn,this.movingEventSource=Wt,this.mapScaleService=ot,this.nodeCreatedLabelStylesFixer=Dt,this.toasterService=mn,this.dialog=dn,this.router=xn,this.mapNodesDataSource=Zn,this.mapLinksDataSource=er,this.mapDrawingsDataSource=vr,this.mapSymbolsDataSource=zr,this.mapSettingsService=ir,this.ethernetLinkWidget=Jr,this.serialLinkWidget=ai,this.bottomSheet=gr,this.notificationService=Li,this.themeService=Bo,this.title=mr,this.nodeConsoleService=pr,this.symbolService=or,this.cd=Vn,this.cfr=Jo,this.injector=xi,this.nodes=[],this.links=[],this.drawings=[],this.symbols=[],this.isProjectMapMenuVisible=!1,this.isConsoleVisible=!0,this.isTopologySummaryVisible=!0,this.isInterfaceLabelVisible=!1,this.notificationsVisibility=!1,this.layersVisibility=!1,this.gridVisibility=!1,this.toolbarVisibility=!0,this.symbolScaling=!0,this.tools={selection:!0,moving:!1,draw_link:!1,text_editing:!0},this.inReadOnlyMode=!1,this.scrollX=0,this.scrollY=0,this.scrollEnabled=!1,this.isLightThemeEnabled=!1,this.projectMapSubscription=new as.w}return n.prototype.ngOnInit=function(){var r=this;this.getSettings(),this.progressService.activate(),this.serverService.isServiceInitialized?this.getData():this.projectMapSubscription.add(this.serverService.serviceInitialized.subscribe(function(t){t&&r.getData()})),this.addSubscriptions(),this.addKeyboardListeners(),this.themeService.themeChanged.subscribe(function(t){r.isLightThemeEnabled="light"===r.themeService.getActualTheme()})},n.prototype.getSettings=function(){var r=this;this.isLightThemeEnabled="light"===this.themeService.getActualTheme(),this.cd.detectChanges(),this.settings=this.settingsService.getAll(),this.symbolScaling=this.mapSettingsService.getSymbolScaling(),this.isConsoleVisible=this.mapSettingsService.isLogConsoleVisible,this.mapSettingsService.logConsoleSubject.subscribe(function(t){return r.isConsoleVisible=t}),this.notificationsVisibility="true"===localStorage.getItem("notificationsVisibility"),this.layersVisibility="true"===localStorage.getItem("layersVisibility"),this.gridVisibility="true"===localStorage.getItem("gridVisibility")},n.prototype.lazyLoadTopologySummary=function(){return(0,Jn.mG)(this,void 0,void 0,function(){var r,t;return(0,Jn.Jh)(this,function(i){switch(i.label){case 0:return this.isTopologySummaryVisible?[4,f.e(26).then(f.bind(f,91026))]:[3,2];case 1:return r=i.sent().TopologySummaryComponent,t=this.cfr.resolveComponentFactory(r),this.instance=this.topologySummaryContainer.createComponent(t,null,this.injector),this.instance.instance.server=this.server,this.instance.instance.project=this.project,[3,3];case 2:this.instance&&this.instance.instance&&(this.instance.instance.ngOnDestroy(),this.instance.destroy()),i.label=3;case 3:return[2]}})})},n.prototype.addSubscriptions=function(){var r=this;this.projectMapSubscription.add(this.mapSettingsService.mapRenderedEmitter.subscribe(function(t){r.scrollEnabled&&r.centerCanvas()})),this.projectMapSubscription.add(this.drawingsDataSource.changes.subscribe(function(t){r.drawings=t,r.mapChangeDetectorRef.detectChanges()})),this.projectMapSubscription.add(this.nodesDataSource.changes.subscribe(function(t){!r.server||(t.forEach(function(i){return(0,Jn.mG)(r,void 0,void 0,function(){return(0,Jn.Jh)(this,function(o){return i.symbol_url=this.server.protocol+"//"+this.server.host+":"+this.server.port+"/v2/symbols/"+i.symbol+"/raw",[2]})})}),r.nodes=t,r.mapSettingsService.getSymbolScaling()&&r.applyScalingOfNodeSymbols(),r.mapChangeDetectorRef.detectChanges())})),this.projectMapSubscription.add(this.linksDataSource.changes.subscribe(function(t){r.links=t,r.mapChangeDetectorRef.detectChanges()})),this.projectMapSubscription.add(this.projectWebServiceHandler.errorNotificationEmitter.subscribe(function(t){r.showMessage({type:"error",message:t})})),this.projectMapSubscription.add(this.projectWebServiceHandler.warningNotificationEmitter.subscribe(function(t){r.showMessage({type:"warning",message:t})})),this.projectMapSubscription.add(this.mapSettingsService.symbolScalingSubject.subscribe(function(t){t&&r.applyScalingOfNodeSymbols()}))},n.prototype.applyScalingOfNodeSymbols=function(){var r=this;this.nodesDataSource.getItems().forEach(function(t){if(t.height>r.symbolService.getMaximumSymbolSize()){var i=r.symbolService.scaleDimensionsForNode(t);t.width=i.width,t.height=i.height}})},n.prototype.getData=function(){var r=this,t=this.route.paramMap.subscribe(function(i){var o=parseInt(i.get("server_id"),10);(0,ss.D)(r.serverService.get(o)).pipe((0,ua.zg)(function(a){return a||r.router.navigate(["/servers"]),r.server=a,r.projectService.get(a,i.get("project_id")).pipe((0,wr.U)(function(s){return s}))}),(0,ua.zg)(function(a){return r.project=a,a||r.router.navigate(["/servers"]),r.projectService.open(r.server,r.project.project_id),r.title.setTitle(r.project.name),r.isInterfaceLabelVisible=r.mapSettingsService.showInterfaceLabels,r.toggleShowTopologySummary(r.mapSettingsService.isTopologySummaryVisible),r.recentlyOpenedProjectService.setServerId(r.server.id.toString()),r.recentlyOpenedProjectService.setProjectId(r.project.project_id),"opened"===r.project.status?new ta.y(function(s){s.next(r.project)}):r.projectService.open(r.server,r.project.project_id)})).subscribe(function(a){r.onProjectLoad(a)},function(a){r.progressService.setError(a)},function(){r.progressService.deactivate()})});this.projectMapSubscription.add(t)},n.prototype.addKeyboardListeners=function(){var r=this;$f.bind("ctrl++",function(t){t.preventDefault(),r.zoomIn()}),$f.bind("ctrl+-",function(t){t.preventDefault(),r.zoomOut()}),$f.bind("ctrl+0",function(t){t.preventDefault(),r.resetZoom()}),$f.bind("ctrl+a",function(t){t.preventDefault();var i=r.mapNodesDataSource.getItems(),o=r.mapDrawingsDataSource.getItems(),a=r.mapLinksDataSource.getItems(),s=r.mapSymbolsDataSource.getItems();r.selectionManager.setSelected(i.concat(o).concat(a).concat(s))}),$f.bind("ctrl+h",function(t){t.preventDefault(),r.toolbarVisibility=!r.toolbarVisibility}),$f.bind("ctrl+shift+a",function(t){t.preventDefault(),r.selectionManager.setSelected([])}),$f.bind("ctrl+shift+s",function(t){t.preventDefault(),r.router.navigate(["/server",r.server.id,"preferences"])}),$f.bind("del",function(t){t.preventDefault(),r.deleteItems()})},n.prototype.deleteItems=function(){var r=this;this.bottomSheet.open(rh);var t=this.bottomSheet._openedBottomSheetRef;t.instance.message="Do you want to delete all selected objects?",t.afterDismissed().subscribe(function(o){o&&r.selectionManager.getSelected().filter(function(s){return s instanceof fv}).forEach(function(s){var u=r.mapNodeToNode.convert(s);r.nodeService.delete(r.server,u).subscribe(function(p){r.toasterService.success("Node has been deleted")})})})},n.prototype.onProjectLoad=function(r){var t=this;this.readonly=this.projectService.isReadOnly(r);var i=this.projectService.nodes(this.server,r.project_id).pipe((0,ua.zg)(function(o){return t.nodesDataSource.set(o),t.projectService.links(t.server,r.project_id)}),(0,ua.zg)(function(o){return t.linksDataSource.set(o),t.projectService.drawings(t.server,r.project_id)})).subscribe(function(o){t.drawingsDataSource.set(o),t.setUpMapCallbacks(),t.setUpProjectWS(r),t.progressService.deactivate()});this.projectMapSubscription.add(i)},n.prototype.setUpProjectWS=function(r){var t=this;this.projectws=new WebSocket(this.notificationService.projectNotificationsPath(this.server,r.project_id)),this.projectws.onmessage=function(i){t.projectWebServiceHandler.handleMessage(JSON.parse(i.data))},this.projectws.onerror=function(i){t.toasterService.error("Connection to host lost. Error: "+i.data)}},n.prototype.setUpWS=function(){this.ws=new WebSocket(this.notificationService.notificationsPath(this.server))},n.prototype.setUpMapCallbacks=function(){var r=this;this.readonly||this.toolsService.selectionToolActivation(!0);var t=this.linkWidget.onContextMenu.subscribe(function(b){var I=r.mapLinkToLink.convert(b.link);r.contextMenu.openMenuForListOfElements([],[],[],[I],b.event.pageY,b.event.pageX)}),i=this.ethernetLinkWidget.onContextMenu.subscribe(function(b){var I=r.mapLinkToLink.convert(b.link);r.contextMenu.openMenuForListOfElements([],[],[],[I],b.event.pageY,b.event.pageX)}),o=this.serialLinkWidget.onContextMenu.subscribe(function(b){var I=r.mapLinkToLink.convert(b.link);r.contextMenu.openMenuForListOfElements([],[],[],[I],b.event.pageY,b.event.pageX)}),a=this.nodeWidget.onContextMenu.subscribe(function(b){var I=r.mapNodeToNode.convert(b.node);r.contextMenu.openMenuForNode(I,b.event.pageY,b.event.pageX)}),s=this.drawingsWidget.onContextMenu.subscribe(function(b){var I=r.mapDrawingToDrawing.convert(b.drawing);r.contextMenu.openMenuForDrawing(I,b.event.pageY,b.event.pageX)}),u=this.labelWidget.onContextMenu.subscribe(function(b){var I=r.mapLabelToLabel.convert(b.label),F=r.nodes.find(function(G){return G.node_id===b.label.nodeId});r.contextMenu.openMenuForLabel(I,F,b.event.screenY-60,b.event.screenX)}),p=this.interfaceLabelWidget.onContextMenu.subscribe(function(b){var I=r.mapLinkNodeToLinkNode.convert(b.interfaceLabel),F=r.links.find(function(G){return G.link_id===b.interfaceLabel.linkId});r.contextMenu.openMenuForInterfaceLabel(I,F,b.event.pageY,b.event.pageX)}),m=this.selectionTool.contextMenuOpened.subscribe(function(b){var I=r.selectionManager.getSelected();if(!(I.length<2)&&b instanceof MouseEvent){var F=[],G=[],Y=[],$=[];I.forEach(function(de){de instanceof th?F.push(r.mapDrawingToDrawing.convert(de)):de instanceof fv?G.push(r.mapNodeToNode.convert(de)):de instanceof py?Y.push(r.mapLabelToLabel.convert(de)):de instanceof yj&&$.push(r.mapLinkToLink.convert(de))}),r.contextMenu.openMenuForListOfElements(F,G,Y,$,b.pageY,b.pageX)}});this.projectMapSubscription.add(t),this.projectMapSubscription.add(i),this.projectMapSubscription.add(o),this.projectMapSubscription.add(a),this.projectMapSubscription.add(s),this.projectMapSubscription.add(m),this.projectMapSubscription.add(u),this.projectMapSubscription.add(p),this.mapChangeDetectorRef.detectChanges()},n.prototype.onNodeCreation=function(r){var t=this;!r||(r.x=r.x/this.mapScaleService.getScale(),r.y=r.y/this.mapScaleService.getScale(),this.progressService.activate(),this.nodeService.createFromTemplate(this.server,this.project,r.template,r.x,r.y,r.server).subscribe(function(i){t.projectService.nodes(t.server,t.project.project_id).subscribe(function(o){o.filter(function(a){return null===a.label.style}).forEach(function(a){var s=t.nodeCreatedLabelStylesFixer.fix(a);t.nodeService.updateLabel(t.server,a,s.label).subscribe()}),t.nodesDataSource.set(o),r.numberOfNodes--,r.numberOfNodes>0?(r.x=r.x+50<t.project.scene_width/2?r.x+50:r.x,r.y=r.y+50<t.project.scene_height/2?r.y+50:r.y,t.onNodeCreation(r)):t.progressService.deactivate()})},function(i){t.toasterService.error(i.error.message),t.progressService.deactivate()}))},n.prototype.fitInView=function(){if(this.drawings.forEach(function(et){var It=et.svg.split('"'),kt=parseInt(It[1],10),pn=parseInt(It[3],10);et.element={width:pn,height:kt}}),0!==this.nodes.length||0!==this.drawings.length){var r,t,i,o,a=[];this.nodes.forEach(function(et){var It=new V1e;It.node=et,It.top=et.y,It.left=et.x,It.bottom=et.y+et.height,It.right=et.x+et.width,et.y+et.label.y<It.top&&(It.top=et.y+et.label.y),et.x+et.label.x<It.left&&(It.left=et.x+et.label.x),et.y+et.label.y>It.bottom&&(It.bottom=et.y+et.label.y),et.x+et.label.x>It.right&&(It.right=et.x+et.label.x),a.push(It)});var s=a.sort(function(et,It){return et.left-It.left})[0],u=a.sort(function(et,It){return et.right-It.right})[a.length-1],p=a.sort(function(et,It){return et.top-It.top})[0],m=a.sort(function(et,It){return et.bottom-It.bottom})[a.length-1],b=[];this.drawings.forEach(function(et){var It=new q1e;It.drawing=et,It.top=et.y,It.left=et.x,It.bottom=et.y+et.element.height,It.right=et.x+et.element.width,b.push(It)});var I=b.sort(function(et,It){return et.left-It.left})[0],F=b.sort(function(et,It){return et.right-It.right})[b.length-1],G=b.sort(function(et,It){return et.top-It.top})[0],Y=b.sort(function(et,It){return et.bottom-It.bottom})[b.length-1];I&&s?(r=s.left<I.left?s.left:I.left,t=u.right>F.right?u.right:F.right,i=p.top<G.top?p.top:G.top,o=m.bottom>Y.bottom?m.bottom:Y.bottom):s&&!I?(r=s.left,t=u.right,i=p.top,o=m.bottom):I&&!s?(r=I.left,t=F.right,i=G.top,o=Y.bottom):(r=0,t=0,i=0,o=0),r-=20,t+=20,i-=20,o+=20;var de=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,Me=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,st=t-r,tt=o-i,pt=tt/Me,Je=1/Math.max(st/de,pt);Je!==this.mapScaleService.currentScale?(this.mapScaleService.setScale(Je),this.project.scene_width=this.project.scene_width*Je,this.project.scene_height=this.project.scene_height*Je,pt<st?(this.scrollX=r*Je-(de-st*Je)/2+this.project.scene_width/2,this.scrollY=i*Je+this.project.scene_height/2):(this.scrollX=r*Je+this.project.scene_width/2,this.scrollY=i*Je-(Me-tt*Je)/2+this.project.scene_height/2)):(this.scrollX=r*Je+this.project.scene_width/2,this.scrollY=i*Je+this.project.scene_height/2),this.scrollEnabled=!0}},n.prototype.centerCanvas=function(){window.scrollTo(this.scrollX,this.scrollY),this.scrollEnabled=!1},n.prototype.centerView=function(){if(this.project){var r=this.project.scene_width-document.documentElement.clientWidth>0?(this.project.scene_width-document.documentElement.clientWidth)/2:0,t=this.project.scene_height-document.documentElement.clientHeight>0?(this.project.scene_height-document.documentElement.clientHeight)/2:0;window.scrollTo(r,t)}else this.toasterService.error("Please wait until all components are loaded.")},n.prototype.onDrawingSaved=function(){this.projectMapMenuComponent.resetDrawToolChoice()},Object.defineProperty(n.prototype,"readonly",{get:function(){return this.inReadOnlyMode},set:function(r){this.inReadOnlyMode=r,r?(this.tools.selection=!1,this.toolsService.selectionToolActivation(!1)):(this.tools.selection=!0,this.toolsService.selectionToolActivation(!0))},enumerable:!1,configurable:!0}),n.prototype.toggleSymbolScaling=function(r){this.symbolScaling=r,this.mapSettingsService.setSymbolScaling(r)},n.prototype.toggleMovingMode=function(){this.tools.moving=!this.tools.moving,this.movingEventSource.movingModeState.emit(this.tools.moving),this.readonly||(this.tools.selection=!this.tools.moving,this.toolsService.selectionToolActivation(this.tools.selection))},n.prototype.toggleDrawLineMode=function(){this.tools.draw_link=!this.tools.draw_link,this.toolsService.drawLinkToolActivation(this.tools.draw_link)},n.prototype.toggleShowInterfaceLabels=function(r){this.isInterfaceLabelVisible=r,this.mapSettingsService.toggleShowInterfaceLabels(this.isInterfaceLabelVisible),this.mapSettingsService.mapRenderedEmitter.emit(!0)},n.prototype.toggleShowConsole=function(r){this.isConsoleVisible=r,this.mapSettingsService.toggleLogConsole(this.isConsoleVisible)},n.prototype.toggleShowTopologySummary=function(r){this.isTopologySummaryVisible=r,this.mapSettingsService.toggleTopologySummary(this.isTopologySummaryVisible),this.lazyLoadTopologySummary()},n.prototype.toggleNotifications=function(r){this.notificationsVisibility=r,this.notificationsVisibility?localStorage.setItem("notificationsVisibility","true"):localStorage.removeItem("notificationsVisibility")},n.prototype.toggleLayers=function(r){this.layersVisibility=r,this.mapSettingsService.toggleLayers(r),this.layersVisibility?localStorage.setItem("layersVisibility","true"):localStorage.removeItem("layersVisibility"),this.mapChild.applyMapSettingsChanges()},n.prototype.toggleGrid=function(r){this.gridVisibility=r,this.gridVisibility?localStorage.setItem("gridVisibility","true"):localStorage.removeItem("gridVisibility"),this.mapChild.gridVisibility=this.gridVisibility?1:0},n.prototype.toggleSnapToGrid=function(r){this.project.snap_to_grid=r},n.prototype.showMessage=function(r){this.notificationsVisibility&&("error"===r.type&&this.toasterService.error(r.message),"warning"===r.type&&this.toasterService.warning(r.message))},n.prototype.hideMenu=function(){this.projectMapMenuComponent.resetDrawToolChoice(),this.isProjectMapMenuVisible=!1},n.prototype.showMenu=function(){this.isProjectMapMenuVisible=!0},n.prototype.zoomIn=function(){this.mapScaleService.setScale(this.mapScaleService.getScale()+.1)},n.prototype.zoomOut=function(){var r=this.mapScaleService.getScale();r-.1>0&&this.mapScaleService.setScale(r-.1)},n.prototype.resetZoom=function(){this.mapScaleService.resetToDefault()},n.prototype.addNewProject=function(){this.dialog.open(Fj,{width:"400px",autoFocus:!1,disableClose:!0}).componentInstance.server=this.server},n.prototype.saveProject=function(){var t=this.dialog.open(jme,{width:"400px",autoFocus:!1,disableClose:!0}).componentInstance;t.server=this.server,t.project=this.project},n.prototype.editProject=function(){var t=this.dialog.open(Rme,{width:"600px",autoFocus:!1,disableClose:!0}).componentInstance;t.server=this.server,t.project=this.project},n.prototype.importProject=function(){var r=this,t="",i=this.dialog.open(Hj,{width:"400px",autoFocus:!1,disableClose:!0});i.componentInstance.server=this.server;var a=i.componentInstance.onImportProject.subscribe(function(s){t=s});i.afterClosed().subscribe(function(){if(a.unsubscribe(),t){r.bottomSheet.open(Vj);var s=r.bottomSheet._openedBottomSheetRef;s.instance.projectMessage="imported project",s.afterDismissed().subscribe(function(p){p&&r.projectService.open(r.server,t).subscribe(function(){r.router.navigate(["/server",r.server.id,"project",t])})})}})},n.prototype.exportProject=function(){this.nodes.filter(function(r){return"virtualbox"===r.node_type}).length>0?this.toasterService.error("Map with VirtualBox machines cannot be exported."):this.nodes.filter(function(r){return"started"===r.status&&"vpcs"===r.node_type||"started"===r.status&&"virtualbox"===r.node_type||"started"===r.status&&"vmware"===r.node_type}).length>0?this.toasterService.error("Project with running nodes cannot be exported."):location.assign(this.projectService.getExportPath(this.server,this.project))},n.prototype.uploadImageFile=function(r){this.readImageFile(r.target)},n.prototype.readImageFile=function(r){var t=this,i=r.files[0],o=new FileReader,a=new Image;o.onloadend=function(){t.drawingService.add(t.server,t.project.project_id,-a.width/2,-a.height/2,'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" \n                height="'+a.height+'" width="'+a.width+'">\n<image height="'+a.height+'" width="'+a.width+'" \n                xlink:href="'+o.result+'"/>\n</svg>').subscribe(function(){})},a.onload=function(){o.readAsDataURL(i)},a.src=window.URL.createObjectURL(i)},n.prototype.closeProject=function(){var r=this;this.bottomSheet.open(rh);var t=this.bottomSheet._openedBottomSheetRef;t.instance.message="Do you want to close the project?",t.afterDismissed().subscribe(function(o){o&&r.projectService.close(r.server,r.project.project_id).subscribe(function(){r.router.navigate(["/server",r.server.id,"projects"])})})},n.prototype.deleteProject=function(){var r=this;this.bottomSheet.open(rh);var t=this.bottomSheet._openedBottomSheetRef;t.instance.message="Do you want to delete the project?",t.afterDismissed().subscribe(function(o){o&&r.projectService.delete(r.server,r.project.project_id).subscribe(function(){r.router.navigate(["/server",r.server.id,"projects"])})})},n.prototype.addNewTemplate=function(){var t=this.dialog.open(jbe,{width:"1000px",maxHeight:"700px",autoFocus:!1,disableClose:!0}).componentInstance;t.server=this.server,t.project=this.project},n.prototype.ngOnDestroy=function(){this.nodeConsoleService.openConsoles=0,this.title.setTitle("GNS3 Web UI"),this.drawingsDataSource.clear(),this.nodesDataSource.clear(),this.linksDataSource.clear(),this.projectws&&this.projectws.OPEN&&this.projectws.close(),this.ws&&this.ws.OPEN&&this.ws.close(),this.projectMapSubscription.unsubscribe()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(Hr),e.Y36(cd.Y),e.Y36(Yr),e.Y36(Ts),e.Y36(Qf),e.Y36(UL),e.Y36(BS),e.Y36(bL),e.Y36(VS),e.Y36(xL),e.Y36(O2),e.Y36(US),e.Y36(q2),e.Y36(dz),e.Y36(YS),e.Y36(pz),e.Y36(VL),e.Y36(ka.G),e.Y36(nh.F),e.Y36(xs),e.Y36(gp.g),e.Y36(qS),e.Y36(rc),e.Y36(D2),e.Y36(j2.p),e.Y36(R2),e.Y36(vy),e.Y36(fz),e.Y36(Xn),e.Y36(no),e.Y36(kr),e.Y36(uL),e.Y36(cL),e.Y36(dL),e.Y36(pL),e.Y36(Mu),e.Y36(SL),e.Y36(TL),e.Y36(zS),e.Y36(hz),e.Y36(Eu.f),e.Y36(B.Dx),e.Y36(dd),e.Y36(OS),e.Y36(e.sBO),e.Y36(e._Vd),e.Y36(e.zs3))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-project-map"]],viewQuery:function(t,i){if(1&t&&(e.Gf(Wj,5),e.Gf(Zj,5),e.Gf(cz,5),e.Gf(w1e,5,e.s_b)),2&t){var o=void 0;e.iGM(o=e.CRH())&&(i.contextMenu=o.first),e.iGM(o=e.CRH())&&(i.mapChild=o.first),e.iGM(o=e.CRH())&&(i.projectMapMenuComponent=o.first),e.iGM(o=e.CRH())&&(i.topologySummaryContainer=o.first)}},decls:3,vars:1,consts:[["class","project-map",3,"ngClass",4,"ngIf"],["topologySummaryContainer",""],[1,"project-map",3,"ngClass"],[3,"server","project","symbols","nodes","links","drawings","width","height","show-interface-labels","readonly","nodeDragged","drawingDragged","onLinkCreated","onDrawingResized",4,"ngIf"],[3,"symbols","nodes","links","drawings","width","height","show-interface-labels","selection-tool","moving-tool","draw-link-tool","readonly",4,"ngIf"],["id","project-titlebar",3,"ngClass"],["matTooltip","Open menu","matTooltipClass","custom-tooltip","mat-icon-button","",1,"gns3-button","menu-button",3,"matMenuTriggerFor"],["svgIcon","gns3",4,"ngIf"],["svgIcon","gns3black",4,"ngIf"],[1,"project-titlebar-controls"],["class","menu-button-group primary-controls",3,"ngClass",4,"ngIf"],[1,"menu-button-group"],[3,"server","project"],[3,"project","server"],["matTooltip","Toggle topology/servers summary","matTooltipClass","custom-tooltip","mat-icon-button","",3,"ngClass","click"],[3,"overlapTrigger"],["mainMenu","matMenu"],["mat-menu-item","",3,"routerLink"],["mat-menu-item","","routerLink","/settings"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"matMenuTriggerFor"],["projectMenu","matMenu"],["viewMenu","matMenu"],[1,"options-item"],[3,"ngModel","change"],["id","project-toolbar",3,"ngClass"],[1,"section"],["matTooltip","Selection mode","matTooltipClass","custom-tooltip","mat-icon-button","",1,"selection-button","menu-button",3,"color","click"],["matTooltip","Pan workspace","matTooltipClass","custom-tooltip","mat-icon-button","",1,"pan-button","menu-button",3,"color","click"],["matTooltip","Zoom in","matTooltipClass","custom-tooltip","mat-icon-button","",1,"zoom-button",3,"click"],["matTooltip","Reset zoom","matTooltipClass","custom-tooltip","mat-icon-button","",1,"reset-zoom-button",3,"click"],["matTooltip","Zoom out","matTooltipClass","custom-tooltip","mat-icon-button","",1,"zoom-button",3,"click"],["class","section",4,"ngIf"],[3,"links",4,"ngIf"],[3,"server"],[3,"server","project","drawingSaved"],[3,"ngClass"],[3,"server","project","closeConsole",4,"ngIf"],[3,"server","project","symbols","nodes","links","drawings","width","height","show-interface-labels","readonly","nodeDragged","drawingDragged","onLinkCreated","onDrawingResized"],[3,"symbols","nodes","links","drawings","width","height","show-interface-labels","selection-tool","moving-tool","draw-link-tool","readonly"],["svgIcon","gns3"],["svgIcon","gns3black"],[1,"menu-button-group","primary-controls",3,"ngClass"],[3,"server","project","onNodeCreation"],["matTooltip","Add a link","matTooltipClass","custom-tooltip","mat-icon-button","",1,"menu-button",3,"ngClass","color","click"],[3,"links"],[3,"server","project","closeConsole"]],template:function(t,i){1&t&&(e.YNc(0,B1e,156,67,"div",0),e.YNc(1,U1e,0,0,"ng-template",null,1,e.W1O)),2&t&&e.Q6J("ngIf",i.project)},directives:[Et.O5,Et.mk,Mn,Ja,Qa,M0e,Wj,sr,Ss,Zr,fa,A0e,Zo,ne.JJ,ne.On,cz,HZ,D0e,O0e,P0e,I0e,R0e,N0e,Z0e,L0e,Zj,RCe,GCe,r1e,u1e,x1e],styles:[".wrapper{height:600px}app-root,app-project-map,.project-map,app-map{width:auto}g.node:hover{background-color:#0097a7}.project-map{background-color:#e8ecef}#project-titlebar{position:fixed;top:0px;left:0px;right:0px;height:60px;padding:0 20px;background-color:#20313b;display:flex;justify-content:space-between;align-items:center;box-shadow:3px 3px 10px rgba(0,0,0,.2);z-index:2}#project-titlebar .gns3-button{position:relative;top:-2px}#project-titlebar .gns3-button mat-icon{width:30px!important;height:30px!important}#project-titlebar .primary-controls{border-right:1px solid rgba(255,255,255,.3);padding-right:15px;margin-right:15px}#project-titlebar .primary-controls.lightTheme{border-right:1px solid black}#project-titlebar .menu-button-group{display:flex;align-items:center;height:24px}#project-titlebar .menu-button{display:flex;justify-content:center;align-items:center;height:36px;width:36px;margin:0 8px;border-radius:18px;background:none;font-size:20px}#project-titlebar .add-menu-button mat-icon{font-size:28px!important}#project-titlebar .selected{background:rgba(0,151,167,.1)}#project-titlebar .selected mat-icon{color:#0097a7!important}#project-titlebar .project-titlebar-controls{display:flex;align-items:center}#project-titlebar.lightTheme{background-color:#fff!important}#project-titlebar.lightTheme .selected mat-icon{color:#0097a7!important}#project-toolbar{position:fixed;top:60px;left:0px;width:50px;margin:20px;background-color:#20313b;border-radius:6px;box-shadow:1px 1px 10px rgba(0,0,0,.2);z-index:2}#project-toolbar mat-icon{font-size:20px}#project-toolbar .menu-button{display:flex;justify-content:center;align-items:center;height:36px;width:36px;border-radius:18px;background:none;margin:2px 0}#project-toolbar .zoom-button{display:flex;justify-content:center;align-items:center;height:36px;width:36px;border-radius:18px;background:none;margin:2px 0;color:#fff}#project-toolbar .zoom-button mat-icon{font-size:24px!important}#project-toolbar .reset-zoom-button{display:flex;justify-content:center;align-items:center;height:36px;width:36px;border-radius:18px;background:none;margin:2px 0;color:#fff}#project-toolbar .reset-zoom-button mat-icon{font-size:18px!important}#project-toolbar .selection-button{margin-bottom:0!important}#project-toolbar .snapshot-button mat-icon{font-size:16px}#project-toolbar .section{display:flex;flex-direction:column;justify-content:center;align-items:center;border-top:1px solid rgba(255,255,255,.3);padding:5px 0}#project-toolbar .section:first-child{border:none}#project-toolbar.lightTheme{background-color:rgba(244,248,252,.949)!important}#project-toolbar.lightTheme .zoom-button{opacity:.7;color:#000}#project-toolbar.lightTheme .reset-zoom-button{opacity:.7;color:#000}#project-toolbar.lightTheme .section{border-top:1px solid rgba(0,0,0,.1)}#project-toolbar.lightTheme .section:first-child{border:none}img{filter:invert(1)}.lightTheme{color:#000!important}.darkTheme{color:#fff!important}#show-menu-wrapper{position:fixed;background:transparent;top:0px;left:92px;background:#263238;height:72px;padding-top:16px}#show-menu-wrapper .arrow-button{outline:0!important}.shadowed{box-shadow:0 4px 8px -4px rgba(0,0,0,.2),0 6px 20px -20px rgba(0,0,0,.188)}.non-visible{display:none}#menu-wrapper{position:fixed;background:transparent;top:0px;left:92px;right:0px;background:#263238;height:72px;padding-top:16px;padding-bottom:16px;transition:35s;width:0;overflow:hidden;transition:.15s;box-shadow:0 4px 8px rgba(0,0,0,.2),0 6px 20px rgba(0,0,0,.188);display:flex}#menu-wrapper .menu-button{outline:0!important;transition:.5s;margin-bottom:16px;width:40px;margin-right:12px!important;margin-left:12px!important;background:transparent;padding:0;border:none;background-color:transparent}#menu-wrapper .arrow-button{outline:0!important;transition:.5s;margin-bottom:16px}.extended{width:830px!important;height:100%;overflow:hidden}mat-divider.divider{height:40px;margin-left:1px;margin-right:7px;width:10px;color:gray}@-moz-document url-prefix(){.mat-drawer-content{display:inline!important}}.shadow{box-shadow:0 4px 8px rgba(0,0,0,.2),0 6px 20px rgba(0,0,0,.188)}.mat-drawer-backdrop.mat-drawer-shown{background-color:transparent}.project-toolbar .mat-toolbar-multiple-rows{width:auto!important}.loading-spinner{position:absolute;top:50%;width:100px;margin-left:-50px;margin-top:-50px;left:50%}line.selected{stroke:#0097a7!important}svg.map image:hover,svg.map image.chosen,g.selected{-moz-filter:grayscale(100%);-ms-filter:grayscale(100%);-o-filter:grayscale(100%);filter:grayscale(100%);filter:gray;filter:url(#grayscale)}path.selected{stroke:#8b0000}.selected>.interface_label_border{stroke:#000;fill:none}.selection-line-tool .selection{fill:#7ccbe1;stroke:#66aec2;fill-opacity:.3;stroke-opacity:.7;stroke-width:1;stroke-dasharray:5,5}g.node text,.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.project-toolbar button{outline:0;border:none;-moz-outline-style:none}.options-item{padding-left:15px;padding-right:15px}.context-menu-items .mat-menu-item{line-height:24px!important;height:24px!important;font-size:13px!important;padding:0 6px;outline:none!important}.context-menu-items .mat-menu-item .mat-icon{margin-right:3px}.context-menu-items .mat-menu-item:focus{background:none}.visible{display:none}mat-menu-panel{min-height:0px}.unmarked{color:#fff!important}.unmarkedLight{color:#000!important}.marked{color:#0097a7!important}\n"],encapsulation:2}),n}(),V1e=function(){return function(){}}(),q1e=function(){return function(){}}(),j1e=function(){function n(r){this.dialogRef=r,this.message="Do you want to configure GNS3 VM?"}return n.prototype.ngOnInit=function(){},n.prototype.onNoClick=function(){this.dialogRef.close(!1)},n.prototype.onYesClick=function(){this.dialogRef.close(!0)},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-configure-gns3-vm-dialog"]],decls:7,vars:1,consts:[[1,"message"],["mat-dialog-actions",""],["mat-button","","color","accent",1,"cancelButton",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",1,"confirmButton",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"span",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"button",2),e.NdJ("click",function(){return i.onNoClick()}),e._uU(4,"No"),e.qZA(),e.TgZ(5,"button",3),e.NdJ("click",function(){return i.onYesClick()}),e._uU(6," Yes "),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.Oqu(i.message))},directives:[ei,Mn],styles:[""]}),n}(),z1e=function(){function n(r,t){this.dialogRef=r,this.projectService=t}return n.prototype.ngOnInit=function(){this.name=this.project.name},n.prototype.onCloseClick=function(){this.dialogRef.close()},n.prototype.onSaveClick=function(){var r=this;this.projectService.duplicate(this.server,this.project.project_id,this.name).subscribe(function(){r.dialogRef.close()})},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(cd.Y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-choose-name-dialog"]],inputs:{server:"server",project:"project"},decls:10,vars:1,consts:[["mat-dialog-title",""],[1,"modal-form-container"],[1,"form-field"],["matInput","","placeholder","Project name","type","text",3,"ngModel","ngModelChange"],["mat-dialog-actions",""],["mat-button","","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1,"Please choose name for exporting project"),e.qZA(),e.TgZ(2,"div",1),e.TgZ(3,"mat-form-field",2),e.TgZ(4,"input",3),e.NdJ("ngModelChange",function(a){return i.name=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"button",5),e.NdJ("click",function(){return i.onCloseClick()}),e._uU(7,"Cancel"),e.qZA(),e.TgZ(8,"button",6),e.NdJ("click",function(){return i.onSaveClick()}),e._uU(9,"Apply"),e.qZA(),e.qZA()),2&t&&(e.xp6(4),e.Q6J("ngModel",i.name))},directives:[ni,Un.KE,ur,ne.Fj,ne.JJ,ne.On,ei,Mn],styles:[".form-field[_ngcontent-%COMP%]{width:100%}"]}),n}();function W1e(n,r){1&n&&(e.TgZ(0,"mat-header-cell",21),e._uU(1," Name "),e.qZA())}var G1e=function(n,r){return["/server",n,"project",r]};function Y1e(n,r){if(1&n&&(e.TgZ(0,"mat-cell"),e.TgZ(1,"a",22),e._uU(2),e.qZA(),e.qZA()),2&n){var t=r.$implicit,i=e.oxw();e.xp6(1),e.Q6J("routerLink",e.WLB(2,G1e,i.server.id,t.project_id)),e.xp6(1),e.Oqu(t.name)}}function J1e(n,r){1&n&&(e.TgZ(0,"mat-header-cell"),e._uU(1," Actions "),e.qZA())}function Q1e(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"button",28),e.NdJ("click",function(){e.CHM(t);var o=e.oxw().$implicit;return e.oxw().open(o)}),e.TgZ(1,"mat-icon",29),e._uU(2,"play_arrow"),e.qZA(),e.qZA()}}function K1e(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"button",30),e.NdJ("click",function(){e.CHM(t);var o=e.oxw().$implicit;return e.oxw().close(o)}),e.TgZ(1,"mat-icon",31),e._uU(2,"pause"),e.qZA(),e.qZA()}}function X1e(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"button",32),e.NdJ("click",function(){e.CHM(t);var o=e.oxw().$implicit;return e.oxw().duplicate(o)}),e.TgZ(1,"mat-icon",33),e._uU(2,"filter_2"),e.qZA(),e.qZA()}}function $1e(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"button",34),e.NdJ("click",function(){e.CHM(t);var o=e.oxw().$implicit;return e.oxw().delete(o)}),e.TgZ(1,"mat-icon",35),e._uU(2,"delete"),e.qZA(),e.qZA()}}function eSe(n,r){if(1&n&&(e.TgZ(0,"mat-cell",23),e.YNc(1,Q1e,3,0,"button",24),e.YNc(2,K1e,3,0,"button",25),e.YNc(3,X1e,3,0,"button",26),e.YNc(4,$1e,3,0,"button",27),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.Q6J("ngIf","closed"==t.status),e.xp6(1),e.Q6J("ngIf","opened"==t.status),e.xp6(1),e.Q6J("ngIf","closed"==t.status),e.xp6(1),e.Q6J("ngIf","closed"==t.status)}}function tSe(n,r){1&n&&e._UZ(0,"mat-header-row")}function nSe(n,r){1&n&&e._UZ(0,"mat-row")}var rSe=function(){return{standalone:!0}},wz=function(){function n(r,t,i,o,a,s,u,p,m,b){this.route=r,this.projectService=t,this.settingsService=i,this.progressService=o,this.dialog=a,this.router=s,this.bottomSheet=u,this.toasterService=p,this.electronService=m,this.recentlyOpenedProjectService=b,this.projectDatabase=new iSe,this.displayedColumns=["name","actions"],this.searchText=""}return n.prototype.ngOnInit=function(){var r=this;this.server=this.route.snapshot.data.server,this.server||this.router.navigate(["/servers"]),this.recentlyOpenedProjectService.setServerIdProjectList(this.server.id.toString()),this.refresh(),this.sort.sort({id:"name",start:"asc"}),this.dataSource=new oSe(this.projectDatabase,this.sort),this.settings=this.settingsService.getAll(),this.projectService.projectListSubject.subscribe(function(){return r.refresh()});var t=localStorage.getItem("gns3vmConfig");this.electronService.isElectronApp&&"configured"!==t&&this.dialog.open(j1e,{width:"350px",height:"120px",autoFocus:!1,disableClose:!0}).afterClosed().subscribe(function(o){o&&(localStorage.setItem("gns3vmConfig","configured"),r.router.navigate(["/server",r.server.id,"preferences","gns3vm"]))})},n.prototype.goToPreferences=function(){var r=this;this.router.navigate(["/server",this.server.id,"preferences"]).catch(function(t){return r.toasterService.error("Cannot navigate to the preferences")})},n.prototype.goToSystemStatus=function(){var r=this;this.router.navigate(["/server",this.server.id,"systemstatus"]).catch(function(t){return r.toasterService.error("Cannot navigate to the system status")})},n.prototype.refresh=function(){var r=this;this.projectService.list(this.server).subscribe(function(t){r.projectDatabase.addProjects(t)},function(t){r.progressService.setError(t)})},n.prototype.delete=function(r){var t=this;this.bottomSheet.open(rh);var i=this.bottomSheet._openedBottomSheetRef;i.instance.message="Do you want to delete the project?",i.afterDismissed().subscribe(function(a){a&&t.projectService.delete(t.server,r.project_id).subscribe(function(){t.refresh()})})},n.prototype.open=function(r){var t=this;this.progressService.activate(),this.projectService.open(this.server,r.project_id).subscribe(function(){t.refresh()},function(){t.refresh(),t.progressService.deactivate(),t.toasterService.error("Project was deleted.")},function(){t.progressService.deactivate()})},n.prototype.close=function(r){var t=this;this.bottomSheet.open(rh);var i=this.bottomSheet._openedBottomSheetRef;i.instance.message="Do you want to close the project?",i.afterDismissed().subscribe(function(a){a&&t.projectService.close(t.server,r.project_id).subscribe(function(){t.refresh(),t.progressService.deactivate()})})},n.prototype.duplicate=function(r){var t=this,i=this.dialog.open(z1e,{width:"400px",autoFocus:!1,disableClose:!0}),o=i.componentInstance;o.server=this.server,o.project=r,i.afterClosed().subscribe(function(){t.refresh()})},n.prototype.addBlankProject=function(){this.dialog.open(Fj,{width:"400px",autoFocus:!1,disableClose:!0}).componentInstance.server=this.server},n.prototype.importProject=function(){var r=this,t="",i=this.dialog.open(Hj,{width:"400px",autoFocus:!1,disableClose:!0});i.componentInstance.server=this.server;var a=i.componentInstance.onImportProject.subscribe(function(s){t=s});i.afterClosed().subscribe(function(){if(r.refresh(),a.unsubscribe(),t){r.bottomSheet.open(Vj);var s=r.bottomSheet._openedBottomSheetRef;s.instance.projectMessage="imported project",s.afterDismissed().subscribe(function(p){p&&r.projectService.open(r.server,t).subscribe(function(){r.router.navigate(["/server",r.server.id,"project",t])})})}})},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(cd.Y),e.Y36(gp.g),e.Y36(Qf),e.Y36(no),e.Y36(kr),e.Y36(zS),e.Y36(Xn),e.Y36(ds),e.Y36(j2.p))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-projects"]],viewQuery:function(t,i){var o;(1&t&&e.Gf(GS,7),2&t)&&(e.iGM(o=e.CRH())&&(i.sort=o.first))},decls:29,vars:9,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],["mat-raised-button","",1,"add-button",3,"click"],["mat-raised-button","","color","primary",1,"add-button",3,"click"],["mat-raised-button","","color","primary",1,"import-button",3,"click"],[1,"full-width"],["matInput","","placeholder","Search by name",3,"ngModel","ngModelOptions","ngModelChange"],[1,"default-content"],[1,"mat-elevation-z8"],["matSort","",3,"dataSource"],["table",""],["matColumnDef","name"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","actions"],[4,"matHeaderCellDef"],["style","text-align: right",4,"matCellDef"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],["mat-sort-header",""],[1,"table-link",3,"routerLink"],[2,"text-align","right"],["mat-icon-button","","matTooltip","Open project","matTooltipClass","custom-tooltip",3,"click",4,"ngIf"],["mat-icon-button","","matTooltip","Close project","matTooltipClass","custom-tooltip",3,"click",4,"ngIf"],["mat-icon-button","","matTooltip","Duplicate project","matTooltipClass","custom-tooltip",3,"click",4,"ngIf"],["mat-icon-button","","matTooltip","Delete project","matTooltipClass","custom-tooltip",3,"click",4,"ngIf"],["mat-icon-button","","matTooltip","Open project","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Open project"],["mat-icon-button","","matTooltip","Close project","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Close project"],["mat-icon-button","","matTooltip","Duplicate project","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Duplicate project"],["mat-icon-button","","matTooltip","Delete project","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Delete project"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Projects"),e.qZA(),e.TgZ(5,"button",4),e.NdJ("click",function(){return i.goToSystemStatus()}),e._uU(6,"Go to system status"),e.qZA(),e.TgZ(7,"button",4),e.NdJ("click",function(){return i.goToPreferences()}),e._uU(8,"Go to preferences"),e.qZA(),e.TgZ(9,"button",5),e.NdJ("click",function(){return i.addBlankProject()}),e._uU(10," Add blank project "),e.qZA(),e.TgZ(11,"button",6),e.NdJ("click",function(){return i.importProject()}),e._uU(12," Import project "),e.qZA(),e.qZA(),e.qZA(),e.TgZ(13,"form"),e.TgZ(14,"mat-form-field",7),e.TgZ(15,"input",8),e.NdJ("ngModelChange",function(a){return i.searchText=a}),e.qZA(),e.qZA(),e.qZA(),e.TgZ(16,"div",9),e.TgZ(17,"div",10),e.TgZ(18,"mat-table",11,12),e.ALo(20,"projectsfilter"),e.ynx(21,13),e.YNc(22,W1e,2,0,"mat-header-cell",14),e.YNc(23,Y1e,3,5,"mat-cell",15),e.BQk(),e.ynx(24,16),e.YNc(25,J1e,2,0,"mat-header-cell",17),e.YNc(26,eSe,5,4,"mat-cell",18),e.BQk(),e.YNc(27,tSe,1,0,"mat-header-row",19),e.YNc(28,nSe,1,0,"mat-row",20),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(15),e.Q6J("ngModel",i.searchText)("ngModelOptions",e.DdM(8,rSe)),e.xp6(3),e.Q6J("dataSource",e.xi3(20,5,i.dataSource,i.searchText)),e.xp6(9),e.Q6J("matHeaderRowDef",i.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",i.displayedColumns))},styles:[".import-button[_ngcontent-%COMP%]{height:40px;width:160px;margin:20px}.add-button[_ngcontent-%COMP%]{height:40px;width:160px;margin:20px}.full-width[_ngcontent-%COMP%]{width:940px;margin-left:-470px;left:50%}.row[_ngcontent-%COMP%]{display:flex}"]}),n}(),iSe=function(){function n(){this.dataChange=new to.X([])}return Object.defineProperty(n.prototype,"data",{get:function(){return this.dataChange.value},enumerable:!1,configurable:!0}),n.prototype.addProjects=function(r){this.dataChange.next(r)},n.prototype.remove=function(r){var t=this.data.indexOf(r);t>=0&&(this.data.splice(t,1),this.dataChange.next(this.data.slice()))},n}(),oSe=function(n){function r(t,i){var o=n.call(this)||this;return o.projectDatabase=t,o.sort=i,o}return(0,Jn.ZT)(r,n),r.prototype.connect=function(){var t=this;return vo.T.apply(void 0,[this.projectDatabase.dataChange,this.sort.sortChange]).pipe((0,wr.U)(function(){return t.sort.active&&""!==t.sort.direction?t.projectDatabase.data.sort(function(o,a){var s=o[t.sort.active],u=a[t.sort.active];return((isNaN(+s)?s:+s)<(isNaN(+u)?u:+u)?-1:1)*("asc"===t.sort.direction?1:-1)}):t.projectDatabase.data}))},r.prototype.disconnect=function(){},r}(Wi.o2);function aSe(n,r){1&n&&(e.TgZ(0,"mat-error"),e._uU(1,"You must enter a value"),e.qZA())}function sSe(n,r){if(1&n&&(e.TgZ(0,"mat-option",13),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t.key),e.xp6(1),e.hij(" ",t.name," ")}}function lSe(n,r){1&n&&(e.TgZ(0,"mat-form-field"),e._UZ(1,"input",14),e.qZA())}function uSe(n,r){1&n&&(e.TgZ(0,"mat-form-field"),e._UZ(1,"input",15),e.qZA())}function cSe(n,r){if(1&n&&(e.TgZ(0,"mat-option",13),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t.key),e.xp6(1),e.hij(" ",t.name," ")}}function dSe(n,r){if(1&n&&(e.TgZ(0,"mat-option",13),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.Q6J("value",t.key),e.xp6(1),e.hij(" ",t.name," ")}}function pSe(n,r){if(1&n&&(e.TgZ(0,"mat-form-field"),e.TgZ(1,"mat-select",16),e.YNc(2,dSe,2,2,"mat-option",6),e.qZA(),e.qZA()),2&n){var t=e.oxw();e.xp6(2),e.Q6J("ngForOf",t.authorizations)}}function fSe(n,r){1&n&&(e.TgZ(0,"mat-form-field"),e._UZ(1,"input",17),e.qZA())}function hSe(n,r){1&n&&(e.TgZ(0,"mat-form-field"),e._UZ(1,"input",18),e.qZA())}var mSe=function(){function n(r,t,i,o,a){this.dialogRef=r,this.electronService=t,this.serverService=i,this.toasterService=o,this.data=a,this.authorizations=[{key:"none",name:"No authorization"},{key:"basic",name:"Basic authorization"}],this.protocols=[{key:"http:",name:"HTTP"},{key:"https:",name:"HTTPS"}],this.locations=[],this.serverForm=new ne.cw({name:new ne.NI("",[ne.kI.required]),location:new ne.NI(""),path:new ne.NI(""),ubridge_path:new ne.NI(""),host:new ne.NI("",[ne.kI.required]),port:new ne.NI("",[ne.kI.required,ne.kI.min(1)]),protocol:new ne.NI("http:"),authorization:new ne.NI("none"),login:new ne.NI(""),password:new ne.NI("")})}return n.prototype.getLocations=function(){return(0,Jn.mG)(this,void 0,void 0,function(){var r,t;return(0,Jn.Jh)(this,function(i){switch(i.label){case 0:return[4,this.numberOfLocalServers()];case 1:return r=i.sent(),t=[],this.electronService.isElectronApp&&0===r&&t.push({key:"local",name:"Local"}),t.push({key:"remote",name:"Remote"}),[2,t]}})})},n.prototype.getDefaultLocation=function(){return(0,Jn.mG)(this,void 0,void 0,function(){var r;return(0,Jn.Jh)(this,function(t){switch(t.label){case 0:return[4,this.numberOfLocalServers()];case 1:return r=t.sent(),this.electronService.isElectronApp&&0===r?[2,"local"]:[2,"remote"]}})})},n.prototype.numberOfLocalServers=function(){return(0,Jn.mG)(this,void 0,void 0,function(){return(0,Jn.Jh)(this,function(t){switch(t.label){case 0:return[4,this.serverService.findAll()];case 1:return[2,t.sent().filter(function(i){return"local"===i.location}).length]}})})},n.prototype.getDefaultHost=function(){return"127.0.0.1"},n.prototype.getDefaultPort=function(){return 3080},n.prototype.getDefaultLocalServerPath=function(){return(0,Jn.mG)(this,void 0,void 0,function(){return(0,Jn.Jh)(this,function(r){switch(r.label){case 0:return this.electronService.isElectronApp?[4,this.electronService.remote.require("./local-server.js").getLocalServerPath()]:[3,2];case 1:return[2,r.sent()];case 2:return[2]}})})},n.prototype.getDefaultUbridgePath=function(){return(0,Jn.mG)(this,void 0,void 0,function(){return(0,Jn.Jh)(this,function(r){switch(r.label){case 0:return this.electronService.isElectronApp?[4,this.electronService.remote.require("./local-server.js").getUbridgePath()]:[3,2];case 1:return[2,r.sent()];case 2:return[2]}})})},n.prototype.ngOnInit=function(){return(0,Jn.mG)(this,void 0,void 0,function(){var r,t,i,o,a=this;return(0,Jn.Jh)(this,function(s){switch(s.label){case 0:return r=this,[4,this.getLocations()];case 1:return r.locations=s.sent(),[4,this.getDefaultLocalServerPath()];case 2:return t=s.sent(),[4,this.getDefaultUbridgePath()];case 3:return i=s.sent(),this.serverForm.get("location").valueChanges.subscribe(function(u){var p=a.serverForm.get("path"),m=a.serverForm.get("ubridge_path");"local"===u?(p.setValue(t),p.setValidators([ne.kI.required]),m.setValue(i),m.setValidators([ne.kI.required])):(p.setValue(""),p.clearValidators(),m.setValue(""),m.clearValidators()),[p,m].forEach(function(b){b.updateValueAndValidity({onlySelf:!0})})}),this.serverForm.get("authorization").valueChanges.subscribe(function(u){var p=a.serverForm.get("login"),m=a.serverForm.get("password");"none"===u?(p.clearValidators(),m.clearValidators()):(p.setValidators([ne.kI.required]),m.setValidators([ne.kI.required])),[p,m].forEach(function(b){b.updateValueAndValidity({onlySelf:!0})})}),[4,this.getDefaultLocation()];case 4:return o=s.sent(),this.serverForm.get("location").setValue(o),this.serverForm.get("host").setValue(this.getDefaultHost()),this.serverForm.get("port").setValue(this.getDefaultPort()),this.serverForm.get("authorization").setValue("none"),[2]}})})},n.prototype.onAddClick=function(){var r=this;if(this.serverForm.valid){var t=Object.assign({},this.serverForm.value);this.serverService.checkServerVersion(t).subscribe(function(i){i.version.split(".")[1]>=2&&i.version.split(".")[0]>=2?(r.dialogRef.close(t),r.toasterService.success("Server "+t.name+" added.")):(r.dialogRef.close(),r.toasterService.error("Server version is not supported."))},function(i){r.toasterService.error("Cannot connect to the server: "+i)})}},n.prototype.onNoClick=function(){this.dialogRef.close()},n.\u0275fac=function(t){return new(t||n)(e.Y36(Vr),e.Y36(ds),e.Y36(Hr),e.Y36(Xn),e.Y36(ld))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-add-server-dialog"]],decls:27,vars:9,consts:[["mat-dialog-title",""],[3,"formGroup"],["mat-dialog-content",""],["matInput","","tabindex","1","formControlName","name","placeholder","Name"],[4,"ngIf"],["placeholder","Location","formControlName","location"],[3,"value",4,"ngFor","ngForOf"],["matInput","","tabindex","1","formControlName","host","placeholder","Host"],["matInput","","tabindex","1","formControlName","port","placeholder","Port"],["placeholder","Protocol","formControlName","protocol"],["mat-dialog-actions",""],["mat-button","","tabindex","-1","color","accent",3,"click"],["mat-button","","tabindex","2","mat-raised-button","","color","primary",3,"click"],[3,"value"],["matInput","","tabindex","1","formControlName","path","placeholder","Local server path"],["matInput","","tabindex","1","formControlName","ubridge_path","placeholder","Ubridge path"],["placeholder","Authorization","formControlName","authorization"],["matInput","","tabindex","1","formControlName","login","placeholder","Login"],["matInput","","type","password","tabindex","1","formControlName","password","placeholder","Password"]],template:function(t,i){1&t&&(e.TgZ(0,"h1",0),e._uU(1,"Add server"),e.qZA(),e.TgZ(2,"form",1),e.TgZ(3,"div",2),e.TgZ(4,"mat-form-field"),e._UZ(5,"input",3),e.YNc(6,aSe,2,0,"mat-error",4),e.qZA(),e.TgZ(7,"mat-form-field"),e.TgZ(8,"mat-select",5),e.YNc(9,sSe,2,2,"mat-option",6),e.qZA(),e.qZA(),e.YNc(10,lSe,2,0,"mat-form-field",4),e.YNc(11,uSe,2,0,"mat-form-field",4),e.TgZ(12,"mat-form-field"),e._UZ(13,"input",7),e.qZA(),e.TgZ(14,"mat-form-field"),e._UZ(15,"input",8),e.qZA(),e.TgZ(16,"mat-form-field"),e.TgZ(17,"mat-select",9),e.YNc(18,cSe,2,2,"mat-option",6),e.qZA(),e.qZA(),e.YNc(19,pSe,3,1,"mat-form-field",4),e.YNc(20,fSe,2,0,"mat-form-field",4),e.YNc(21,hSe,2,0,"mat-form-field",4),e.qZA(),e.TgZ(22,"div",10),e.TgZ(23,"button",11),e.NdJ("click",function(){return i.onNoClick()}),e._uU(24,"Cancel"),e.qZA(),e.TgZ(25,"button",12),e.NdJ("click",function(){return i.onAddClick()}),e._uU(26,"Add"),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(2),e.Q6J("formGroup",i.serverForm),e.xp6(4),e.Q6J("ngIf",i.serverForm.get("name").hasError("required")),e.xp6(3),e.Q6J("ngForOf",i.locations),e.xp6(1),e.Q6J("ngIf","local"===i.serverForm.get("location").value),e.xp6(1),e.Q6J("ngIf","local"===i.serverForm.get("location").value),e.xp6(7),e.Q6J("ngForOf",i.protocols),e.xp6(1),e.Q6J("ngIf","remote"===i.serverForm.get("location").value),e.xp6(1),e.Q6J("ngIf","basic"===i.serverForm.get("authorization").value),e.xp6(1),e.Q6J("ngIf","basic"===i.serverForm.get("authorization").value))},directives:[ni,ne._Y,ne.JL,ne.sg,oy,Un.KE,ur,ne.Fj,ne.JJ,ne.u,Et.O5,pi.gD,Et.sg,ei,Mn,Un.TO,ln.ey],encapsulation:2}),n}(),WL=function(){function n(r){var t=this;this.electronService=r,this.serverStatusChanged=new On.xQ,this.electronService.isElectronApp&&this.electronService.ipcRenderer.on(this.statusChannel,function(i,o){t.serverStatusChanged.next(o)})}return Object.defineProperty(n.prototype,"statusChannel",{get:function(){return"local-server-status-events"},enumerable:!1,configurable:!0}),n.prototype.start=function(r){return(0,Jn.mG)(this,void 0,void 0,function(){return(0,Jn.Jh)(this,function(i){switch(i.label){case 0:return this.serverStatusChanged.next({serverName:r.name,status:"starting",message:""}),[4,this.electronService.remote.require("./local-server.js").startLocalServer(r)];case 1:return[2,i.sent()]}})})},n.prototype.stop=function(r){return(0,Jn.mG)(this,void 0,void 0,function(){return(0,Jn.Jh)(this,function(t){switch(t.label){case 0:return[4,this.electronService.remote.require("./local-server.js").stopLocalServer(r)];case 1:return[2,t.sent()]}})})},n.prototype.stopAll=function(){return(0,Jn.mG)(this,void 0,void 0,function(){return(0,Jn.Jh)(this,function(r){switch(r.label){case 0:return[4,this.electronService.remote.require("./local-server.js").stopAllLocalServers()];case 1:return[2,r.sent()]}})})},n.prototype.getRunningServers=function(){return this.electronService.isElectronApp?this.electronService.remote.require("./local-server.js").getRunningServers():[]},n.prototype.ngOnDestroy=function(){this.electronService.isElectronApp&&this.electronService.ipcRenderer.removeAllListeners(this.statusChannel)},n.\u0275fac=function(t){return new(t||n)(e.LFG(ds))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),GL=f(53628),kz=function(){function n(r){this.httpServer=r}return n.prototype.get=function(r){return this.httpServer.get(r,"/version")},n.\u0275fac=function(t){return new(t||n)(e.LFG(Yo.wh))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}();function vSe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-card",2),e.TgZ(1,"mat-card-content",3),e._uU(2," We've discovered GNS3 server on "),e.TgZ(3,"b"),e._uU(4),e.qZA(),e._uU(5,", would you like to add to the list? "),e.qZA(),e.TgZ(6,"mat-card-actions",4),e.TgZ(7,"button",5),e.NdJ("click",function(){e.CHM(t);var a=e.oxw();return a.ignore(a.discoveredServer)}),e._uU(8,"NO"),e.qZA(),e.TgZ(9,"button",6),e.NdJ("click",function(){e.CHM(t);var a=e.oxw();return a.accept(a.discoveredServer)}),e._uU(10,"YES"),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=e.oxw();e.xp6(4),e.AsE("",i.discoveredServer.host,":",i.discoveredServer.port,"")}}function gSe(n,r){1&n&&e._UZ(0,"mat-divider")}var _Se=function(){function n(r,t,i,o){this.versionService=r,this.serverService=t,this.serverDatabase=i,this.route=o,this.defaultServers=[{host:"127.0.0.1",port:3080}]}return n.prototype.ngOnInit=function(){var r=this;this.serverService.isServiceInitialized&&this.discoverFirstServer(),this.serverService.serviceInitialized.subscribe(function(t){return(0,Jn.mG)(r,void 0,void 0,function(){return(0,Jn.Jh)(this,function(i){return t&&this.discoverFirstServer(),[2]})})})},n.prototype.discoverFirstServer=function(){return(0,Jn.mG)(this,void 0,void 0,function(){var r;return(0,Jn.Jh)(this,function(i){switch(i.label){case 0:return[4,this.discoverServers()];case 1:return r=i.sent(),[4,this.serverService.findAll()];case 2:return i.sent().forEach(function(o){r=r.filter(function(a){return!(a.host==o.host&&a.port==o.port)})}),r.length>0&&(this.discoveredServer=r.shift()),[2]}})})},n.prototype.discoverServers=function(){return(0,Jn.mG)(this,void 0,void 0,function(){var r,t=this;return(0,Jn.Jh)(this,function(i){return r=[],this.defaultServers.forEach(function(o){return(0,Jn.mG)(t,void 0,void 0,function(){var a;return(0,Jn.Jh)(this,function(u){switch(u.label){case 0:return(a=new s2).host=o.host,a.port=o.port,[4,this.versionService.get(a).toPromise().catch(function(p){return null})];case 1:return u.sent()&&r.push(a),[2]}})})}),[2,r]})})},n.prototype.discoverFirstAvailableServer=function(){var r=this;(0,BZ.D)([(0,ss.D)(this.serverService.findAll()).pipe((0,wr.U)(function(t){return t})),this.discovery()]).subscribe(function(t){var o=t[1];t[0].forEach(function(a){o=o.filter(function(s){return!(s.host==a.host&&s.port==a.port)})}),o.length>0&&(r.discoveredServer=o.shift())},function(t){})},n.prototype.discovery=function(){var r=this,t=[];return this.defaultServers.forEach(function(i){t.push(r.isServerAvailable(i.host,i.port).catch(function(o){return GL.Observable.of(null)}))}),new GL.Observable(function(i){(0,BZ.D)(t).subscribe(function(o){i.next(o.filter(function(a){return null!=a})),i.complete()})})},n.prototype.isServerAvailable=function(r,t){var i=new s2;return i.host=r,i.port=t,this.versionService.get(i).flatMap(function(o){return GL.Observable.of(i)})},n.prototype.ignore=function(r){this.discoveredServer=null},n.prototype.accept=function(r){var t=this;null==r.name&&(r.name=r.host),r.location="remote",r.protocol=location.protocol,this.serverService.create(r).then(function(i){t.serverDatabase.addServer(i),t.discoveredServer=null})},n.\u0275fac=function(t){return new(t||n)(e.Y36(kz),e.Y36(Hr),e.Y36(d2),e.Y36(Pr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-server-discovery"]],decls:2,vars:2,consts:[["class","info",4,"ngIf"],[4,"ngIf"],[1,"info"],["align","center"],["align","right"],["mat-button","","color","accent",3,"click"],["mat-button","",3,"click"]],template:function(t,i){1&t&&(e.YNc(0,vSe,11,2,"mat-card",0),e.YNc(1,gSe,1,0,"mat-divider",1)),2&t&&(e.Q6J("ngIf",i.discoveredServer),e.xp6(1),e.Q6J("ngIf",i.discoveredServer))},directives:[Et.O5,_i,qZ,Pae,Mn,wq.d],styles:[""]}),n}();function ySe(n,r){1&n&&(e.TgZ(0,"mat-header-cell"),e._uU(1," ID "),e.qZA())}function bSe(n,r){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.hij(" ",t.id," ")}}function CSe(n,r){1&n&&(e.TgZ(0,"mat-header-cell"),e._uU(1," Name "),e.qZA())}var SSe=function(n){return["/server",n,"projects"]};function TSe(n,r){if(1&n&&(e.TgZ(0,"a",22),e._uU(1),e.qZA()),2&n){var t=e.oxw().$implicit;e.Q6J("routerLink",e.VKq(2,SSe,t.id)),e.xp6(1),e.Oqu(t.name)}}function xSe(n,r){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){var t=e.oxw().$implicit;e.xp6(1),e.Oqu(t.name)}}function wSe(n,r){if(1&n&&(e.TgZ(0,"mat-cell"),e.YNc(1,TSe,2,4,"a",20),e.YNc(2,xSe,2,1,"span",21),e.qZA()),2&n){var t=r.$implicit,i=e.oxw();e.xp6(1),e.Q6J("ngIf","running"===i.getServerStatus(t)||"remote"===t.location||"bundled"===t.location),e.xp6(1),e.Q6J("ngIf","running"!=i.getServerStatus(t)&&"remote"!==t.location&&"bundled"!==t.location)}}function kSe(n,r){1&n&&(e.TgZ(0,"mat-header-cell"),e._uU(1," Location "),e.qZA())}function ESe(n,r){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.hij(" ",t.location," ")}}function MSe(n,r){1&n&&(e.TgZ(0,"mat-header-cell"),e._uU(1," Host "),e.qZA())}function ASe(n,r){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.hij(" ",t.host," ")}}function DSe(n,r){1&n&&(e.TgZ(0,"mat-header-cell"),e._uU(1," Port "),e.qZA())}function OSe(n,r){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.hij(" ",t.port," ")}}function PSe(n,r){1&n&&(e.TgZ(0,"mat-header-cell"),e._uU(1," Actions "),e.qZA())}function ISe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"button",30),e.NdJ("click",function(){e.CHM(t);var o=e.oxw().$implicit;return e.oxw().openProjects(o)}),e.TgZ(1,"mat-icon",31),e._uU(2,"arrow_forward"),e.qZA(),e.qZA()}}function RSe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"button",32),e.NdJ("click",function(){e.CHM(t);var o=e.oxw().$implicit;return e.oxw().startServer(o)}),e.TgZ(1,"mat-icon",33),e._uU(2,"play_arrow"),e.qZA(),e.qZA()}}function NSe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"button",34),e.NdJ("click",function(){e.CHM(t);var o=e.oxw().$implicit;return e.oxw().stopServer(o)}),e.TgZ(1,"mat-icon",35),e._uU(2,"stop"),e.qZA(),e.qZA()}}function ZSe(n,r){1&n&&e._UZ(0,"mat-spinner",36),2&n&&e.Q6J("diameter",24)}function LSe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-cell",23),e.YNc(1,ISe,3,0,"button",24),e.YNc(2,RSe,3,0,"button",25),e.YNc(3,NSe,3,0,"button",26),e.YNc(4,ZSe,1,1,"mat-spinner",27),e.TgZ(5,"button",28),e.NdJ("click",function(){var u=e.CHM(t).$implicit;return e.oxw().deleteServer(u)}),e.TgZ(6,"mat-icon",29),e._uU(7,"delete"),e.qZA(),e.qZA(),e.qZA()}if(2&n){var i=r.$implicit,o=e.oxw();e.xp6(1),e.Q6J("ngIf","running"===o.getServerStatus(i)||"remote"===i.location||"bundled"===i.location),e.xp6(1),e.Q6J("ngIf","local"===i.location&&"stopped"===o.getServerStatus(i)),e.xp6(1),e.Q6J("ngIf","local"===i.location&&"running"===o.getServerStatus(i)),e.xp6(1),e.Q6J("ngIf","local"===i.location&&"starting"===o.getServerStatus(i))}}function FSe(n,r){1&n&&e._UZ(0,"mat-header-row")}function BSe(n,r){1&n&&e._UZ(0,"mat-row")}function USe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"button",37),e.NdJ("click",function(){return e.CHM(t),e.oxw().startLocalServer()}),e._uU(1," Start local server "),e.qZA()}}var HSe=function(){function n(r,t,i,o,a,s,u,p,m,b){this.dialog=r,this.serverService=t,this.serverDatabase=i,this.serverManagement=o,this.changeDetector=a,this.electronService=s,this.childProcessService=u,this.bottomSheet=p,this.route=m,this.router=b,this.displayedColumns=["id","name","location","ip","port","actions"],this.isElectronApp=!1}return n.prototype.getServers=function(){var r=this,t=this.serverManagement.getRunningServers();this.serverService.findAll().then(function(i){i.forEach(function(o){t.findIndex(function(s){return o.name===s})>=0&&(o.status="running")}),i.forEach(function(o){r.serverService.checkServerVersion(o).subscribe(function(a){a.version.split(".")[1]>=2&&a.version.split(".")[0]>=2&&(o.protocol||(o.protocol=location.protocol),r.serverDatabase.find(o.name)||r.serverDatabase.addServer(o))},function(a){})})})},n.prototype.ngOnInit=function(){var r=this;this.isElectronApp=this.electronService.isElectronApp,this.serverService.isServiceInitialized&&this.getServers(),this.serverService.serviceInitialized.subscribe(function(t){return(0,Jn.mG)(r,void 0,void 0,function(){return(0,Jn.Jh)(this,function(i){return t&&this.getServers(),[2]})})}),this.dataSource=new VSe(this.serverDatabase),this.serverStatusSubscription=this.serverManagement.serverStatusChanged.subscribe(function(t){var i=r.serverDatabase.find(t.serverName);!i||("starting"===t.status&&(i.status="starting"),"stopped"===t.status&&(i.status="stopped"),"errored"===t.status&&(i.status="stopped"),"started"===t.status&&(i.status="running"),r.serverDatabase.update(i),r.changeDetector.detectChanges())})},n.prototype.ngOnDestroy=function(){this.serverStatusSubscription.unsubscribe()},n.prototype.startLocalServer=function(){var r=this.serverDatabase.data.find(function(t){return"bundled"===t.location||"local"});this.startServer(r)},n.prototype.openProjects=function(r){this.router.navigate(["/server",r.id,"projects"])},n.prototype.createModal=function(){var r=this;this.dialog.open(mSe,{width:"350px",autoFocus:!1,disableClose:!0}).afterClosed().subscribe(function(i){i&&r.serverService.create(i).then(function(o){r.serverDatabase.addServer(o)})})},n.prototype.getServerStatus=function(r){if("local"===r.location)return void 0===r.status?"stopped":r.status},n.prototype.deleteServer=function(r){var t=this;this.bottomSheet.open(rh);var i=this.bottomSheet._openedBottomSheetRef;i.instance.message="Do you want to delete the server?",i.afterDismissed().subscribe(function(a){a&&t.serverService.delete(r).then(function(){t.serverDatabase.remove(r)})})},n.prototype.startServer=function(r){return(0,Jn.mG)(this,void 0,void 0,function(){return(0,Jn.Jh)(this,function(t){switch(t.label){case 0:return[4,this.serverManagement.start(r)];case 1:return t.sent(),[2]}})})},n.prototype.stopServer=function(r){return(0,Jn.mG)(this,void 0,void 0,function(){return(0,Jn.Jh)(this,function(t){switch(t.label){case 0:return[4,this.serverManagement.stop(r)];case 1:return t.sent(),[2]}})})},n.\u0275fac=function(t){return new(t||n)(e.Y36(no),e.Y36(Hr),e.Y36(d2),e.Y36(WL),e.Y36(e.sBO),e.Y36(ds),e.Y36(vZ),e.Y36(zS),e.Y36(Pr),e.Y36(kr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-server-list"]],decls:33,vars:4,consts:[[1,"content"],[1,"default-header"],[1,"default-content"],[1,"mat-elevation-z8"],[3,"dataSource"],["table",""],["matColumnDef","id"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","name"],["matColumnDef","location"],["matColumnDef","ip"],["matColumnDef","port"],["matColumnDef","actions"],["style","text-align: right",4,"matCellDef"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[1,"buttons-bar"],["mat-raised-button","","class","button",3,"click",4,"ngIf"],["mat-raised-button","","color","primary",1,"button",3,"click"],["class","table-link",3,"routerLink",4,"ngIf"],[4,"ngIf"],[1,"table-link",3,"routerLink"],[2,"text-align","right"],["mat-icon-button","","matTooltip","Go to projects","matTooltipClass","custom-tooltip",3,"click",4,"ngIf"],["mat-icon-button","","matTooltip","Start server","matTooltipClass","custom-tooltip",3,"click",4,"ngIf"],["mat-icon-button","","matTooltip","Stop server","matTooltipClass","custom-tooltip",3,"click",4,"ngIf"],[3,"diameter",4,"ngIf"],["mat-icon-button","","matTooltip","Remove server","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Remove server"],["mat-icon-button","","matTooltip","Go to projects","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Go to projects"],["mat-icon-button","","matTooltip","Start server","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Start server"],["mat-icon-button","","matTooltip","Stop server","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Stop server"],[3,"diameter"],["mat-raised-button","",1,"button",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"h1"),e._uU(3,"Servers"),e.qZA(),e.qZA(),e.TgZ(4,"div",2),e._UZ(5,"app-server-discovery"),e.TgZ(6,"div",3),e.TgZ(7,"mat-table",4,5),e.ynx(9,6),e.YNc(10,ySe,2,0,"mat-header-cell",7),e.YNc(11,bSe,2,1,"mat-cell",8),e.BQk(),e.ynx(12,9),e.YNc(13,CSe,2,0,"mat-header-cell",7),e.YNc(14,wSe,3,2,"mat-cell",8),e.BQk(),e.ynx(15,10),e.YNc(16,kSe,2,0,"mat-header-cell",7),e.YNc(17,ESe,2,1,"mat-cell",8),e.BQk(),e.ynx(18,11),e.YNc(19,MSe,2,0,"mat-header-cell",7),e.YNc(20,ASe,2,1,"mat-cell",8),e.BQk(),e.ynx(21,12),e.YNc(22,DSe,2,0,"mat-header-cell",7),e.YNc(23,OSe,2,1,"mat-cell",8),e.BQk(),e.ynx(24,13),e.YNc(25,PSe,2,0,"mat-header-cell",7),e.YNc(26,LSe,8,4,"mat-cell",14),e.BQk(),e.YNc(27,FSe,1,0,"mat-header-row",15),e.YNc(28,BSe,1,0,"mat-row",16),e.qZA(),e.qZA(),e.TgZ(29,"div",17),e.YNc(30,USe,2,0,"button",18),e.TgZ(31,"button",19),e.NdJ("click",function(){return i.createModal()}),e._uU(32,"Add server"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(7),e.Q6J("dataSource",i.dataSource),e.xp6(20),e.Q6J("matHeaderRowDef",i.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",i.displayedColumns),e.xp6(2),e.Q6J("ngIf",i.isElectronApp))},directives:[_Se,Yl,cl,ul,ll,Jl,Ql,Et.O5,Mn,dl,pl,ny,Ja,sr,XV,Kl,Xl],styles:[".buttons-bar[_ngcontent-%COMP%]{padding-top:0}.button[_ngcontent-%COMP%]{margin:20px!important}"]}),n}(),VSe=function(n){function r(t){var i=n.call(this)||this;return i.serverDatabase=t,i}return(0,Jn.ZT)(r,n),r.prototype.connect=function(){var t=this;return(0,vo.T)(this.serverDatabase.dataChange).pipe((0,wr.U)(function(){return t.serverDatabase.data}))},r.prototype.disconnect=function(){},r}(Wi.o2),Ez=function(){function n(r){this.electronService=r}return n.prototype.get=function(){if(this.electronService.isElectronApp){if(this.electronService.isLinux)return'xfce4-terminal --tab -T "%d" -e "telnet %h %p"';if(this.electronService.isWindows)return'putty.exe -telnet %h %p -loghost "%d"'}},n.\u0275fac=function(t){return new(t||n)(e.LFG(ds))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),YL=function(){function n(r,t){this.defaultConsoleService=r,this.settingsService=t}return Object.defineProperty(n.prototype,"command",{get:function(){var r=this.settingsService.getConsoleSettings();return void 0===r?this.defaultConsoleService.get():r},set:function(r){this.settingsService.setConsoleSettings(r)},enumerable:!1,configurable:!0}),n.\u0275fac=function(t){return new(t||n)(e.LFG(Ez),e.LFG(gp.g))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),qSe=function(){function n(r,t,i){this.router=r,this.consoleService=t,this.toasterService=i,this.consoleForm=new ne.cw({command:new ne.NI("")})}return n.prototype.ngOnInit=function(){this.consoleForm.get("command").setValue(this.consoleService.command)},n.prototype.goBack=function(){this.router.navigate(["/settings"])},n.prototype.save=function(){this.consoleService.command=this.consoleForm.value.command,this.toasterService.success("Console command has been updated."),this.goBack()},n.\u0275fac=function(t){return new(t||n)(e.Y36(kr),e.Y36(YL),e.Y36(Xn))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-console"]],decls:30,vars:1,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[3,"formGroup"],[1,"form-field","full-width-field"],["matInput","","formControlName","command","placeholder","Command"],[1,"help"],[1,"buttons-bar"],["mat-button","",1,"cancel-button",3,"click"],["mat-raised-button","","color","primary",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Console settings"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"mat-card"),e.TgZ(7,"form",5),e.TgZ(8,"mat-form-field",6),e._UZ(9,"textarea",7),e.qZA(),e.TgZ(10,"div",8),e._uU(11," The following variables are replaced by GNS3:"),e._UZ(12,"br"),e._uU(13," %h: console IP or hostname"),e._UZ(14,"br"),e._uU(15," %p: console port"),e._UZ(16,"br"),e._uU(17," %s: path of the serial connection"),e._UZ(18,"br"),e._uU(19," %d: title of the console"),e._UZ(20,"br"),e._uU(21," %i: Project UUID"),e._UZ(22,"br"),e._uU(23," %c: server URL (http://user:password@server:port) "),e.qZA(),e.qZA(),e.qZA(),e.TgZ(24,"div",9),e.TgZ(25,"button",10),e.NdJ("click",function(){return i.goBack()}),e._uU(26,"Cancel"),e.qZA(),e.TgZ(27,"button",11),e.NdJ("click",function(){return i.save()}),e._uU(28,"Save"),e.qZA(),e._UZ(29,"br"),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(7),e.Q6J("formGroup",i.consoleForm))},directives:[_i,ne._Y,ne.JL,ne.sg,Un.KE,ur,ne.Fj,ne.JJ,ne.u,Mn],styles:[".help[_ngcontent-%COMP%]{font-size:14px}"]}),n}(),Mz=function(){function n(r){this.httpClient=r}return n.prototype.getLatestVersion=function(){return this.httpClient.get("http://update.gns3.net/")},n.\u0275fac=function(t){return new(t||n)(e.LFG(Vc.eN))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),jSe=function(){function n(r,t,i,o,a,s){this.settingsService=r,this.toaster=t,this.consoleService=i,this.themeService=o,this.mapSettingsService=a,this.updatesService=s}return n.prototype.ngOnInit=function(){this.settings=this.settingsService.getAll(),this.consoleCommand=this.consoleService.command,this.integrateLinksLabelsToLinks=this.mapSettingsService.integrateLinkLabelsToLinks,this.openConsolesInWidget=this.mapSettingsService.openConsolesInWidget},n.prototype.save=function(){this.settingsService.setAll(this.settings),this.toaster.success("Settings have been saved."),this.mapSettingsService.toggleIntegrateInterfaceLabels(this.integrateLinksLabelsToLinks),this.mapSettingsService.toggleOpenConsolesInWidget(this.openConsolesInWidget)},n.prototype.setDarkMode=function(r){this.themeService.setDarkMode(r)},n.prototype.checkForUpdates=function(){window.open("https://gns3.com/software")},n.\u0275fac=function(t){return new(t||n)(e.Y36(gp.g),e.Y36(Xn),e.Y36(YL),e.Y36(Eu.f),e.Y36(Mu),e.Y36(Mz))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-settings"]],decls:60,vars:9,consts:[[1,"content"],[1,"default-header"],[1,"default-content"],[1,"container","mat-elevation-z8"],[3,"expanded"],[3,"ngModel","ngModelChange"],[1,"full-width-field"],["matInput","","placeholder","console","readonly","true",3,"value"],["mat-icon-button","","matSuffix","","routerLink","/settings/console"],[1,"theme-panel"],["mat-raised-button","",3,"click"],["mat-raised-button","",1,"fullWidth",3,"click"],[1,"buttons-bar"],["mat-raised-button","","color","primary",3,"click"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"h1"),e._uU(3,"Settings"),e.qZA(),e.qZA(),e.TgZ(4,"div",2),e.TgZ(5,"div",3),e.TgZ(6,"mat-accordion"),e.TgZ(7,"mat-expansion-panel",4),e.TgZ(8,"mat-expansion-panel-header"),e.TgZ(9,"mat-panel-title"),e._uU(10," Local settings "),e.qZA(),e.TgZ(11,"mat-panel-description"),e._uU(12," Customize your local settings "),e.qZA(),e.qZA(),e.TgZ(13,"div"),e.TgZ(14,"mat-checkbox",5),e.NdJ("ngModelChange",function(a){return i.settings.crash_reports=a}),e._uU(15,"Send anonymous crash reports"),e.qZA(),e._UZ(16,"br"),e.TgZ(17,"mat-checkbox",5),e.NdJ("ngModelChange",function(a){return i.settings.anonymous_statistics=a}),e._uU(18,"Send anonymous usage statistics"),e.qZA(),e._UZ(19,"br"),e.TgZ(20,"mat-checkbox",5),e.NdJ("ngModelChange",function(a){return i.integrateLinksLabelsToLinks=a}),e._uU(21,"Integrate link labels to links"),e.qZA(),e._UZ(22,"br"),e.TgZ(23,"mat-checkbox",5),e.NdJ("ngModelChange",function(a){return i.openConsolesInWidget=a}),e._uU(24,"Open consoles in the widget instead of in new tabs after clicking start consoles for all nodes"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(25,"mat-expansion-panel",4),e.TgZ(26,"mat-expansion-panel-header"),e.TgZ(27,"mat-panel-title"),e._uU(28," Console settings "),e.qZA(),e.TgZ(29,"mat-panel-description"),e._uU(30," Customize console settings "),e.qZA(),e.qZA(),e.TgZ(31,"div"),e.TgZ(32,"mat-form-field",6),e._UZ(33,"input",7),e.TgZ(34,"a",8),e.TgZ(35,"mat-icon"),e._uU(36,"mode_edit"),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(37,"mat-expansion-panel",4),e.TgZ(38,"mat-expansion-panel-header"),e.TgZ(39,"mat-panel-title"),e._uU(40," Theme settings "),e.qZA(),e.TgZ(41,"mat-panel-description"),e._uU(42," Customize theme settings "),e.qZA(),e.qZA(),e.TgZ(43,"div",9),e.TgZ(44,"button",10),e.NdJ("click",function(){return i.setDarkMode(!1)}),e._uU(45,"Switch to light theme"),e.qZA(),e.TgZ(46,"button",10),e.NdJ("click",function(){return i.setDarkMode(!0)}),e._uU(47,"Switch to dark theme"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(48,"mat-expansion-panel",4),e.TgZ(49,"mat-expansion-panel-header"),e.TgZ(50,"mat-panel-title"),e._uU(51," Updates "),e.qZA(),e.TgZ(52,"mat-panel-description"),e._uU(53," Check for updates "),e.qZA(),e.qZA(),e.TgZ(54,"div",9),e.TgZ(55,"button",11),e.NdJ("click",function(){return i.checkForUpdates()}),e._uU(56,"Check for updates"),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(57,"div",12),e.TgZ(58,"button",13),e.NdJ("click",function(){return i.save()}),e._uU(59,"Save settings"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(7),e.Q6J("expanded",!0),e.xp6(7),e.Q6J("ngModel",i.settings.crash_reports),e.xp6(3),e.Q6J("ngModel",i.settings.anonymous_statistics),e.xp6(3),e.Q6J("ngModel",i.integrateLinksLabelsToLinks),e.xp6(3),e.Q6J("ngModel",i.openConsolesInWidget),e.xp6(2),e.Q6J("expanded",!1),e.xp6(8),e.Q6J("value",i.consoleCommand),e.xp6(4),e.Q6J("expanded",!1),e.xp6(11),e.Q6J("expanded",!1))},directives:[od,Xu,$u,id,fse,Zo,ne.JJ,ne.On,Un.KE,ur,eae,ny,Un.R9,sr,Mn],styles:[".theme-panel[_ngcontent-%COMP%]{justify-content:space-between;display:flex;padding:10px}.fullWidth[_ngcontent-%COMP%]{width:100%}"]}),n}(),zSe=function(){function n(){}return n.prototype.transform=function(r,t){return r?t?(t=t.toLowerCase(),r.filter(function(i){return i.name.toLowerCase().includes(t)})):r:[]},n.\u0275fac=function(t){return new(t||n)},n.\u0275pipe=e.Yjl({name:"namefilter",type:n,pure:!0}),n}(),WSe=function(){function n(){}return n.prototype.transform=function(r){var t=new Date(1e3*+r),i=t.getHours(),o="0"+t.getMinutes(),a="0"+t.getSeconds(),s=t.getFullYear(),u=t.getMonth()+1,p=t.getDate();return i+":"+o.substr(-2)+":"+a.substr(-2)+" "+p+"/"+u+"/"+s},n.\u0275fac=function(t){return new(t||n)},n.\u0275pipe=e.Yjl({name:"datefilter",type:n,pure:!0}),n}();function GSe(n,r){1&n&&(e.TgZ(0,"mat-header-cell",18),e._uU(1," Name "),e.qZA())}function YSe(n,r){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.hij(" ",t.name," ")}}function JSe(n,r){1&n&&(e.TgZ(0,"mat-header-cell",18),e._uU(1," Date "),e.qZA())}function QSe(n,r){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.ALo(2,"datefilter"),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,t.created_at)," ")}}function KSe(n,r){1&n&&(e.TgZ(0,"mat-header-cell"),e._uU(1," Actions "),e.qZA())}function XSe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"mat-cell",19),e.TgZ(1,"button",20),e.NdJ("click",function(){var a=e.CHM(t).$implicit;return e.oxw().restoreSnapshot(a)}),e.TgZ(2,"mat-icon",21),e._uU(3,"restore"),e.qZA(),e.qZA(),e.TgZ(4,"button",22),e.NdJ("click",function(){var a=e.CHM(t).$implicit;return e.oxw().deleteSnapshot(a)}),e.TgZ(5,"mat-icon",23),e._uU(6,"delete"),e.qZA(),e.qZA(),e.qZA()}}function $Se(n,r){1&n&&e._UZ(0,"mat-header-row")}function eTe(n,r){1&n&&e._UZ(0,"mat-row")}var tTe=function(){function n(r,t,i,o){this.route=r,this.snapshotService=t,this.progressDialogService=i,this.toaster=o,this.displayedColumns=["name","creationDate","actions"]}return n.prototype.ngOnInit=function(){this.projectId=this.route.snapshot.paramMap.get("project_id"),this.server=this.route.snapshot.data.server,this.getSnapshots()},n.prototype.getSnapshots=function(){var r=this;this.snapshotService.list(this.server,this.projectId).subscribe(function(t){r.snapshots=t})},n.prototype.restoreSnapshot=function(r){var t=this,i=this.snapshotService.restore(this.server,this.projectId,r.snapshot_id.toString()),o=this.progressDialogService.open(),a=i.subscribe(function(s){t.toaster.success("Snapshot "+r.name+" has been restored."),o.close()});o.afterClosed().subscribe(function(s){s===jL.CANCELLED&&a.unsubscribe()})},n.prototype.deleteSnapshot=function(r){var t=this;this.snapshotService.delete(this.server,this.projectId,r.snapshot_id.toString()).subscribe(function(){t.getSnapshots(),t.toaster.success("Snapshot "+r.name+" has been deleted.")})},n.prototype.sortData=function(r){if(r.active&&""!==r.direction){var t=this.snapshots.slice();this.snapshots=t.sort(function(i,o){var a="asc"===r.direction;return"name"===r.active?function(n,r,t){return((n=n.toLowerCase())<(r=r.toLowerCase())?-1:1)*(t?1:-1)}(i.name,o.name,a):"creationDate"===r.active?function(n,r,t){return(n<r?-1:1)*(t?1:-1)}(+i.created_at,+o.created_at,!a):0})}},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(W2),e.Y36(zL),e.Y36(Xn))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-list-of-snapshots"]],decls:23,vars:7,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"],[1,"filter-field"],["matInput","","placeholder","Filter",3,"ngModel","ngModelChange"],["matSort","",1,"mat-table",3,"dataSource","matSortChange"],["table",""],["matColumnDef","name"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","creationDate"],["matColumnDef","actions"],[4,"matHeaderCellDef"],["style","text-align: right",4,"matCellDef"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],["mat-sort-header",""],[2,"text-align","right"],["mat-icon-button","","matTooltip","Restore snapshot","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Restore snapshot"],["mat-icon-button","","matTooltip","Delete snapshot","matTooltipClass","custom-tooltip",3,"click"],["aria-label","Delete snapshot"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"Snapshots"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e.TgZ(6,"mat-card"),e.TgZ(7,"mat-form-field",5),e.TgZ(8,"input",6),e.NdJ("ngModelChange",function(a){return i.searchText=a}),e.qZA(),e.qZA(),e.TgZ(9,"mat-table",7,8),e.NdJ("matSortChange",function(a){return i.sortData(a)}),e.ALo(11,"namefilter"),e.ynx(12,9),e.YNc(13,GSe,2,0,"mat-header-cell",10),e.YNc(14,YSe,2,1,"mat-cell",11),e.BQk(),e.ynx(15,12),e.YNc(16,JSe,2,0,"mat-header-cell",10),e.YNc(17,QSe,3,3,"mat-cell",11),e.BQk(),e.ynx(18,13),e.YNc(19,KSe,2,0,"mat-header-cell",14),e.YNc(20,XSe,7,0,"mat-cell",15),e.BQk(),e.YNc(21,$Se,1,0,"mat-header-row",16),e.YNc(22,eTe,1,0,"mat-row",17),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(8),e.Q6J("ngModel",i.searchText),e.xp6(1),e.Q6J("dataSource",e.xi3(11,4,i.snapshots,i.searchText)),e.xp6(12),e.Q6J("matHeaderRowDef",i.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",i.displayedColumns))},directives:[_i,Un.KE,ur,ne.Fj,ne.JJ,ne.On,Yl,GS,cl,ul,ll,Jl,Ql,dl,Qj,pl,Mn,Ja,sr,Kl,Xl],pipes:[zSe,WSe],styles:[".filter-field[_ngcontent-%COMP%]{width:100%}.mat-table[_ngcontent-%COMP%]{margin:-16px!important}"]}),n}(),iTe=["*"],Az=new e.OlP("MatChipRemove"),Dz=new e.OlP("MatChipAvatar"),Oz=new e.OlP("MatChipTrailingIcon"),aTe=(0,ln.sb)((0,ln.pj)((0,ln.Kr)(function n(r){(0,g.Z)(this,n),this._elementRef=r}),"primary"),-1),J2=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s,u,p,m,b,I){var F;return(0,g.Z)(this,i),(F=t.call(this,o))._ngZone=a,F._changeDetectorRef=p,F._hasFocus=!1,F.chipListSelectable=!0,F._chipListMultiple=!1,F._chipListDisabled=!1,F._selected=!1,F._selectable=!0,F._disabled=!1,F._removable=!0,F._onFocus=new On.xQ,F._onBlur=new On.xQ,F.selectionChange=new e.vpe,F.destroyed=new e.vpe,F.removed=new e.vpe,F._addHostClassName(),F._chipRippleTarget=m.createElement("div"),F._chipRippleTarget.classList.add("mat-chip-ripple"),F._elementRef.nativeElement.appendChild(F._chipRippleTarget),F._chipRipple=new ln.IR((0,gS.Z)(F),a,F._chipRippleTarget,s),F._chipRipple.setupTriggerEvents(o),F.rippleConfig=u||{},F._animationsDisabled="NoopAnimations"===b,F.tabIndex=null!=I&&parseInt(I)||-1,F}return(0,k.Z)(i,[{key:"rippleDisabled",get:function(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}},{key:"selected",get:function(){return this._selected},set:function(a){var s=(0,Dn.Ig)(a);s!==this._selected&&(this._selected=s,this._dispatchSelectionChange())}},{key:"value",get:function(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent},set:function(a){this._value=a}},{key:"selectable",get:function(){return this._selectable&&this.chipListSelectable},set:function(a){this._selectable=(0,Dn.Ig)(a)}},{key:"disabled",get:function(){return this._chipListDisabled||this._disabled},set:function(a){this._disabled=(0,Dn.Ig)(a)}},{key:"removable",get:function(){return this._removable},set:function(a){this._removable=(0,Dn.Ig)(a)}},{key:"ariaSelected",get:function(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}},{key:"_addHostClassName",value:function(){var a="mat-basic-chip",s=this._elementRef.nativeElement;s.hasAttribute(a)||s.tagName.toLowerCase()===a?s.classList.add(a):s.classList.add("mat-standard-chip")}},{key:"ngOnDestroy",value:function(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}},{key:"selectViaInteraction",value:function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}},{key:"toggleSelected",value:function(){var a=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this._selected=!this.selected,this._dispatchSelectionChange(a),this._changeDetectorRef.markForCheck(),this.selected}},{key:"focus",value:function(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}},{key:"remove",value:function(){this.removable&&this.removed.emit({chip:this})}},{key:"_handleClick",value:function(a){this.disabled?a.preventDefault():a.stopPropagation()}},{key:"_handleKeydown",value:function(a){if(!this.disabled)switch(a.keyCode){case Gr.yY:case Gr.ZH:this.remove(),a.preventDefault();break;case Gr.L_:this.selectable&&this.toggleSelected(!0),a.preventDefault()}}},{key:"_blur",value:function(){var a=this;this._ngZone.onStable.pipe((0,$i.q)(1)).subscribe(function(){a._ngZone.run(function(){a._hasFocus=!1,a._onBlur.next({chip:a})})})}},{key:"_dispatchSelectionChange",value:function(){var a=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.selectionChange.emit({source:this,isUserInput:a,selected:this._selected})}}]),i}(aTe);return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36($r.t4),e.Y36(ln.Y2,8),e.Y36(e.sBO),e.Y36(Et.K0),e.Y36(_s.Qb,8),e.$8M("tabindex"))},n.\u0275dir=e.lG2({type:n,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,i,o){var a;1&t&&(e.Suo(o,Dz,5),e.Suo(o,Oz,5),e.Suo(o,Az,5)),2&t&&(e.iGM(a=e.CRH())&&(i.avatar=a.first),e.iGM(a=e.CRH())&&(i.trailingIcon=a.first),e.iGM(a=e.CRH())&&(i.removeIcon=a.first))},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(t,i){1&t&&e.NdJ("click",function(a){return i._handleClick(a)})("keydown",function(a){return i._handleKeydown(a)})("focus",function(){return i.focus()})("blur",function(){return i._blur()}),2&t&&(e.uIk("tabindex",i.disabled?null:i.tabIndex)("disabled",i.disabled||null)("aria-disabled",i.disabled.toString())("aria-selected",i.ariaSelected),e.ekj("mat-chip-selected",i.selected)("mat-chip-with-avatar",i.avatar)("mat-chip-with-trailing-icon",i.trailingIcon||i.removeIcon)("mat-chip-disabled",i.disabled)("_mat-animation-noopable",i._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[e.qOj]}),n}(),Pz=new e.OlP("mat-chips-default-options"),cTe=(0,ln.FD)(function(){return function n(r,t,i,o){(0,g.Z)(this,n),this._defaultErrorStateMatcher=r,this._parentForm=t,this._parentFormGroup=i,this.ngControl=o}}()),dTe=0,pTe=function n(r,t){(0,g.Z)(this,n),this.source=r,this.value=t},Iz=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s,u,p,m,b){var I;return(0,g.Z)(this,i),(I=t.call(this,m,u,p,b))._elementRef=o,I._changeDetectorRef=a,I._dir=s,I.controlType="mat-chip-list",I._lastDestroyedChipIndex=null,I._destroyed=new On.xQ,I._uid="mat-chip-list-".concat(dTe++),I._tabIndex=0,I._userTabIndex=null,I._onTouched=function(){},I._onChange=function(){},I._multiple=!1,I._compareWith=function(F,G){return F===G},I._required=!1,I._disabled=!1,I.ariaOrientation="horizontal",I._selectable=!0,I.change=new e.vpe,I.valueChange=new e.vpe,I.ngControl&&(I.ngControl.valueAccessor=(0,gS.Z)(I)),I}return(0,k.Z)(i,[{key:"selected",get:function(){var a,s;return this.multiple?(null===(a=this._selectionModel)||void 0===a?void 0:a.selected)||[]:null===(s=this._selectionModel)||void 0===s?void 0:s.selected[0]}},{key:"role",get:function(){return this.empty?null:"listbox"}},{key:"multiple",get:function(){return this._multiple},set:function(a){this._multiple=(0,Dn.Ig)(a),this._syncChipsState()}},{key:"compareWith",get:function(){return this._compareWith},set:function(a){this._compareWith=a,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(a){this.writeValue(a),this._value=a}},{key:"id",get:function(){return this._chipInput?this._chipInput.id:this._uid}},{key:"required",get:function(){return this._required},set:function(a){this._required=(0,Dn.Ig)(a),this.stateChanges.next()}},{key:"placeholder",get:function(){return this._chipInput?this._chipInput.placeholder:this._placeholder},set:function(a){this._placeholder=a,this.stateChanges.next()}},{key:"focused",get:function(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}},{key:"empty",get:function(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}},{key:"shouldLabelFloat",get:function(){return!this.empty||this.focused}},{key:"disabled",get:function(){return this.ngControl?!!this.ngControl.disabled:this._disabled},set:function(a){this._disabled=(0,Dn.Ig)(a),this._syncChipsState()}},{key:"selectable",get:function(){return this._selectable},set:function(a){var s=this;this._selectable=(0,Dn.Ig)(a),this.chips&&this.chips.forEach(function(u){return u.chipListSelectable=s._selectable})}},{key:"tabIndex",set:function(a){this._userTabIndex=a,this._tabIndex=a}},{key:"chipSelectionChanges",get:function(){return vo.T.apply(void 0,(0,_.Z)(this.chips.map(function(a){return a.selectionChange})))}},{key:"chipFocusChanges",get:function(){return vo.T.apply(void 0,(0,_.Z)(this.chips.map(function(a){return a._onFocus})))}},{key:"chipBlurChanges",get:function(){return vo.T.apply(void 0,(0,_.Z)(this.chips.map(function(a){return a._onBlur})))}},{key:"chipRemoveChanges",get:function(){return vo.T.apply(void 0,(0,_.Z)(this.chips.map(function(a){return a.destroyed})))}},{key:"ngAfterContentInit",value:function(){var a=this;this._keyManager=new Ti.Em(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe((0,Fr.R)(this._destroyed)).subscribe(function(s){return a._keyManager.withHorizontalOrientation(s)}),this._keyManager.tabOut.pipe((0,Fr.R)(this._destroyed)).subscribe(function(){a._allowFocusEscape()}),this.chips.changes.pipe((0,na.O)(null),(0,Fr.R)(this._destroyed)).subscribe(function(){a.disabled&&Promise.resolve().then(function(){a._syncChipsState()}),a._resetChips(),a._initializeSelection(),a._updateTabIndex(),a._updateFocusForDestroyedChips(),a.stateChanges.next()})}},{key:"ngOnInit",value:function(){this._selectionModel=new Wi.Ov(this.multiple,void 0,!1),this.stateChanges.next()}},{key:"ngDoCheck",value:function(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}},{key:"registerInput",value:function(a){this._chipInput=a,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",a.id)}},{key:"setDescribedByIds",value:function(a){this._ariaDescribedby=a.join(" ")}},{key:"writeValue",value:function(a){this.chips&&this._setSelectionByValue(a,!1)}},{key:"registerOnChange",value:function(a){this._onChange=a}},{key:"registerOnTouched",value:function(a){this._onTouched=a}},{key:"setDisabledState",value:function(a){this.disabled=a,this.stateChanges.next()}},{key:"onContainerClick",value:function(a){this._originatesFromChip(a)||this.focus()}},{key:"focus",value:function(a){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(a),this.stateChanges.next()))}},{key:"_focusInput",value:function(a){this._chipInput&&this._chipInput.focus(a)}},{key:"_keydown",value:function(a){var s=a.target;s&&s.classList.contains("mat-chip")&&(this._keyManager.onKeydown(a),this.stateChanges.next())}},{key:"_updateTabIndex",value:function(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}},{key:"_updateFocusForDestroyedChips",value:function(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){var a=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(a)}else this.focus();this._lastDestroyedChipIndex=null}},{key:"_isValidIndex",value:function(a){return a>=0&&a<this.chips.length}},{key:"_setSelectionByValue",value:function(a){var s=this,u=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this._clearSelection(),this.chips.forEach(function(m){return m.deselect()}),Array.isArray(a))a.forEach(function(m){return s._selectValue(m,u)}),this._sortValues();else{var p=this._selectValue(a,u);p&&u&&this._keyManager.setActiveItem(p)}}},{key:"_selectValue",value:function(a){var s=this,u=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],p=this.chips.find(function(m){return null!=m.value&&s._compareWith(m.value,a)});return p&&(u?p.selectViaInteraction():p.select(),this._selectionModel.select(p)),p}},{key:"_initializeSelection",value:function(){var a=this;Promise.resolve().then(function(){(a.ngControl||a._value)&&(a._setSelectionByValue(a.ngControl?a.ngControl.value:a._value,!1),a.stateChanges.next())})}},{key:"_clearSelection",value:function(a){this._selectionModel.clear(),this.chips.forEach(function(s){s!==a&&s.deselect()}),this.stateChanges.next()}},{key:"_sortValues",value:function(){var a=this;this._multiple&&(this._selectionModel.clear(),this.chips.forEach(function(s){s.selected&&a._selectionModel.select(s)}),this.stateChanges.next())}},{key:"_propagateChanges",value:function(a){var s;s=Array.isArray(this.selected)?this.selected.map(function(u){return u.value}):this.selected?this.selected.value:a,this._value=s,this.change.emit(new pTe(this,s)),this.valueChange.emit(s),this._onChange(s),this._changeDetectorRef.markForCheck()}},{key:"_blur",value:function(){var a=this;this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(function(){a.focused||a._markAsTouched()}):this._markAsTouched())}},{key:"_markAsTouched",value:function(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"_allowFocusEscape",value:function(){var a=this;-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(function(){a._tabIndex=a._userTabIndex||0,a._changeDetectorRef.markForCheck()}))}},{key:"_resetChips",value:function(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}},{key:"_dropSubscriptions",value:function(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}},{key:"_listenToChipsSelection",value:function(){var a=this;this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(function(s){s.source.selected?a._selectionModel.select(s.source):a._selectionModel.deselect(s.source),a.multiple||a.chips.forEach(function(u){!a._selectionModel.isSelected(u)&&u.selected&&u.deselect()}),s.isUserInput&&a._propagateChanges()})}},{key:"_listenToChipsFocus",value:function(){var a=this;this._chipFocusSubscription=this.chipFocusChanges.subscribe(function(s){var u=a.chips.toArray().indexOf(s.chip);a._isValidIndex(u)&&a._keyManager.updateActiveItem(u),a.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(function(){a._blur(),a.stateChanges.next()})}},{key:"_listenToChipsRemoved",value:function(){var a=this;this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(function(s){var u=s.chip,p=a.chips.toArray().indexOf(s.chip);a._isValidIndex(p)&&u._hasFocus&&(a._lastDestroyedChipIndex=p)})}},{key:"_originatesFromChip",value:function(a){for(var s=a.target;s&&s!==this._elementRef.nativeElement;){if(s.classList.contains("mat-chip"))return!0;s=s.parentElement}return!1}},{key:"_hasFocusedChip",value:function(){return this.chips&&this.chips.some(function(a){return a._hasFocus})}},{key:"_syncChipsState",value:function(){var a=this;this.chips&&this.chips.forEach(function(s){s._chipListDisabled=a._disabled,s._chipListMultiple=a.multiple})}}]),i}(cTe);return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(Fa.Is,8),e.Y36(ne.F,8),e.Y36(ne.sg,8),e.Y36(ln.rD),e.Y36(ne.a5,10))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-chip-list"]],contentQueries:function(t,i,o){var a;1&t&&e.Suo(o,J2,5),2&t&&e.iGM(a=e.CRH())&&(i.chips=a)},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(t,i){1&t&&e.NdJ("focus",function(){return i.focus()})("blur",function(){return i._blur()})("keydown",function(a){return i._keydown(a)}),2&t&&(e.Ikx("id",i._uid),e.uIk("tabindex",i.disabled?null:i._tabIndex)("aria-describedby",i._ariaDescribedby||null)("aria-required",i.role?i.required:null)("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-multiselectable",i.multiple)("role",i.role)("aria-orientation",i.ariaOrientation),e.ekj("mat-chip-list-disabled",i.disabled)("mat-chip-list-invalid",i.errorState)("mat-chip-list-required",i.required))},inputs:{ariaOrientation:["aria-orientation","ariaOrientation"],multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",selectable:"selectable",tabIndex:"tabIndex",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[e._Bn([{provide:Un.Eo,useExisting:n}]),e.qOj],ngContentSelectors:iTe,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(t,i){1&t&&(e.F$t(),e.TgZ(0,"div",0),e.Hsn(1),e.qZA())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip:focus{outline:dotted 2px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),n}(),mTe={separatorKeyCodes:[Gr.K5]},vTe=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[ln.rD,{provide:Pz,useValue:mTe}],imports:[[ln.BQ]]}),n}(),gTe=function(){return["Load average","(last 1 minute)"]},_Te=function(){return["Load average","(last 5 minutes)"]},yTe=function(){return["Load average","(last 15 minutes)"]},bTe=function(){function n(){}return n.prototype.ngOnInit=function(){},n.prototype.formatBytes=function(r,t){if(void 0===t&&(t=2),0===r)return"0 Bytes";var o=t<0?0:t,s=Math.floor(Math.log(r)/Math.log(1024));return parseFloat((r/Math.pow(1024,s)).toFixed(o))+" "+["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][s]},n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-status-chart"]],inputs:{computeStatistics:"computeStatistics"},decls:30,vars:114,consts:[[1,"wrapper"],[3,"percent","radius","outerStrokeWidth","innerStrokeWidth","outerStrokeColor","innerStrokeColor","animation","animationDuration","unitsColor","unitsFontSize","titleColor","titleFontSize","subtitle","subtitleColor","subtitleFontSize"],[1,"chips-wrapper"],["color","primary","selected",""]],template:function(t,i){1&t&&(e.TgZ(0,"mat-card"),e.TgZ(1,"div",0),e._UZ(2,"circle-progress",1),e._UZ(3,"circle-progress",1),e._UZ(4,"circle-progress",1),e._UZ(5,"circle-progress",1),e.qZA(),e.TgZ(6,"div",0),e._UZ(7,"circle-progress",1),e._UZ(8,"circle-progress",1),e._UZ(9,"circle-progress",1),e.qZA(),e.TgZ(10,"div",2),e.TgZ(11,"mat-chip-list"),e.TgZ(12,"mat-chip",3),e._uU(13),e.qZA(),e.qZA(),e.TgZ(14,"mat-chip-list"),e.TgZ(15,"mat-chip",3),e._uU(16),e.qZA(),e.qZA(),e.TgZ(17,"mat-chip-list"),e.TgZ(18,"mat-chip",3),e._uU(19),e.qZA(),e.qZA(),e.qZA(),e.TgZ(20,"div",2),e.TgZ(21,"mat-chip-list"),e.TgZ(22,"mat-chip",3),e._uU(23),e.qZA(),e.qZA(),e.TgZ(24,"mat-chip-list"),e.TgZ(25,"mat-chip",3),e._uU(26),e.qZA(),e.qZA(),e.TgZ(27,"mat-chip-list"),e.TgZ(28,"mat-chip",3),e._uU(29),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(2),e.Q6J("percent",i.computeStatistics.statistics.cpu_usage_percent)("radius",100)("outerStrokeWidth",8)("innerStrokeWidth",6)("outerStrokeColor","#0097a7")("innerStrokeColor","#007380")("animation",!0)("animationDuration",300)("unitsColor","#C0C0C0")("unitsFontSize",20)("titleColor","#C0C0C0")("titleFontSize",30)("subtitle","CPU usage")("subtitleColor","#C0C0C0")("subtitleFontSize",15),e.xp6(1),e.Q6J("percent",i.computeStatistics.statistics.disk_usage_percent)("radius",100)("outerStrokeWidth",8)("innerStrokeWidth",6)("outerStrokeColor","#0097a7")("innerStrokeColor","#007380")("animation",!0)("animationDuration",300)("unitsColor","#C0C0C0")("unitsFontSize",20)("titleColor","#C0C0C0")("titleFontSize",30)("subtitle","Disk usage")("subtitleColor","#C0C0C0")("subtitleFontSize",15),e.xp6(1),e.Q6J("percent",i.computeStatistics.statistics.memory_usage_percent)("radius",100)("outerStrokeWidth",8)("innerStrokeWidth",6)("outerStrokeColor","#0097a7")("innerStrokeColor","#007380")("animation",!0)("animationDuration",300)("unitsColor","#C0C0C0")("unitsFontSize",20)("titleColor","#C0C0C0")("titleFontSize",30)("subtitle","Memory usage")("subtitleColor","#C0C0C0")("subtitleFontSize",15),e.xp6(1),e.Q6J("percent",i.computeStatistics.statistics.swap_usage_percent)("radius",100)("outerStrokeWidth",8)("innerStrokeWidth",6)("outerStrokeColor","#0097a7")("innerStrokeColor","#007380")("animation",!0)("animationDuration",300)("unitsColor","#C0C0C0")("unitsFontSize",20)("titleColor","#C0C0C0")("titleFontSize",30)("subtitle","SWAP usage")("subtitleColor","#C0C0C0")("subtitleFontSize",15),e.xp6(2),e.Q6J("percent",i.computeStatistics.statistics.load_average_percent[0])("radius",100)("outerStrokeWidth",8)("innerStrokeWidth",6)("outerStrokeColor","#0097a7")("innerStrokeColor","#007380")("animation",!0)("animationDuration",300)("unitsColor","#C0C0C0")("unitsFontSize",20)("titleColor","#C0C0C0")("titleFontSize",30)("subtitle",e.DdM(111,gTe))("subtitleColor","#C0C0C0")("subtitleFontSize",15),e.xp6(1),e.Q6J("percent",i.computeStatistics.statistics.load_average_percent[1])("radius",100)("outerStrokeWidth",8)("innerStrokeWidth",6)("outerStrokeColor","#0097a7")("innerStrokeColor","#007380")("animation",!0)("animationDuration",300)("unitsColor","#C0C0C0")("unitsFontSize",20)("titleColor","#C0C0C0")("titleFontSize",30)("subtitle",e.DdM(112,_Te))("subtitleColor","#C0C0C0")("subtitleFontSize",15),e.xp6(1),e.Q6J("percent",i.computeStatistics.statistics.load_average_percent[2])("radius",100)("outerStrokeWidth",8)("innerStrokeWidth",6)("outerStrokeColor","#0097a7")("innerStrokeColor","#007380")("animation",!0)("animationDuration",300)("unitsColor","#C0C0C0")("unitsFontSize",20)("titleColor","#C0C0C0")("titleFontSize",30)("subtitle",e.DdM(113,yTe))("subtitleColor","#C0C0C0")("subtitleFontSize",15),e.xp6(4),e.hij("Memory total: ",i.formatBytes(i.computeStatistics.statistics.memory_total),""),e.xp6(3),e.hij("Memory used: ",i.formatBytes(i.computeStatistics.statistics.memory_used),""),e.xp6(3),e.hij("Memory free: ",i.formatBytes(i.computeStatistics.statistics.memory_free),""),e.xp6(4),e.hij("Swap total: ",i.formatBytes(i.computeStatistics.statistics.swap_total),""),e.xp6(3),e.hij("Swap used: ",i.formatBytes(i.computeStatistics.statistics.swap_used),""),e.xp6(3),e.hij("Swap free: ",i.formatBytes(i.computeStatistics.statistics.swap_free),""))},directives:[_i,cre,Iz,J2],styles:[".wrapper[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between;max-height:250px!important}.chips-wrapper[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between;margin-bottom:10px}"]}),n}();function CTe(n,r){1&n&&(e.TgZ(0,"div"),e._uU(1,"Statistics not loaded"),e.qZA())}function STe(n,r){if(1&n&&(e.TgZ(0,"div"),e._uU(1),e._UZ(2,"app-status-chart",2),e.qZA()),2&n){var t=r.$implicit;e.xp6(1),e.hij(" ",t.compute_name," "),e.xp6(1),e.Q6J("computeStatistics",t)}}var TTe=function(){function n(r,t,i,o){this.route=r,this.computeService=t,this.serverService=i,this.toasterService=o,this.serverId="",this.computeStatistics=[]}return n.prototype.ngOnInit=function(){this.serverId=this.route.snapshot.paramMap.get("server_id"),this.getStatistics()},n.prototype.getStatistics=function(){var r=this;this.serverService.get(Number(this.serverId)).then(function(t){r.computeService.getStatistics(t).subscribe(function(i){r.computeStatistics=i,setTimeout(function(){r.getStatistics()},2e4)})})},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr),e.Y36(tc.X),e.Y36(Hr),e.Y36(Xn))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-status-info"]],decls:2,vars:2,consts:[[4,"ngIf"],[4,"ngFor","ngForOf"],[3,"computeStatistics"]],template:function(t,i){1&t&&(e.YNc(0,CTe,2,0,"div",0),e.YNc(1,STe,3,2,"div",1)),2&t&&(e.Q6J("ngIf",!i.computeStatistics.length),e.xp6(1),e.Q6J("ngForOf",i.computeStatistics))},directives:[Et.O5,Et.sg,bTe],styles:[""]}),n}(),xTe=function(){function n(r){this.route=r,this.serverId=""}return n.prototype.ngOnInit=function(){this.serverId=this.route.snapshot.paramMap.get("server_id")},n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-system-status"]],decls:7,vars:0,consts:[[1,"content"],[1,"default-header"],[1,"row"],[1,"col"],[1,"default-content"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"System status"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(5,"div",4),e._UZ(6,"app-status-info"),e.qZA(),e.qZA())},directives:[TTe],styles:[""]}),n}(),wTe=["terminal"],Rz=function(){function n(r,t,i,o,a){this.consoleService=r,this.serverService=t,this.route=i,this.title=o,this.nodeService=a,this.subscriptions=new as.w,this.term=new Sz.Terminal,this.fitAddon=new xz.FitAddon}return n.prototype.ngOnInit=function(){var r=this;this.serverService.isServiceInitialized?this.getData():this.subscriptions.add(this.serverService.serviceInitialized.subscribe(function(t){t&&r.getData()}))},n.prototype.getData=function(){var r=this;this.serverId=this.route.snapshot.paramMap.get("server_id"),this.projectId=this.route.snapshot.paramMap.get("project_id"),this.nodeId=this.route.snapshot.paramMap.get("node_id"),this.consoleService.consoleResized.subscribe(function(t){r.fitAddon.fit()}),this.serverService.get(+this.serverId).then(function(t){r.server=t,r.nodeService.getNodeById(r.server,r.projectId,r.nodeId).subscribe(function(i){r.node=i,r.title.setTitle(r.node.name),r.openTerminal()})})},n.prototype.openTerminal=function(){var r=this;setTimeout(function(){r.term.open(r.terminal.nativeElement);var t=new WebSocket(r.consoleService.getUrl(r.server,r.node));t.onerror=function(s){r.term.write("Connection lost\r\n")},t.onclose=function(s){r.term.write("Connection closed\r\n")};var i=new Tz.AttachAddon(t);r.term.loadAddon(i),r.term.setOption("cursorBlink",!0),r.term.loadAddon(r.fitAddon),r.fitAddon.activate(r.term),r.fitAddon.fit(),r.term.focus(),r.term.attachCustomKeyEventHandler(function(s){return!(("KeyC"===s.code||"KeyV"===s.code)&&s.ctrlKey&&s.shiftKey)});var o=Math.round(window.innerWidth/r.consoleService.getLineWidth()),a=Math.round(window.innerHeight/r.consoleService.getLineHeight());r.term.resize(o,a)},0)},n.\u0275fac=function(t){return new(t||n)(e.Y36(dd),e.Y36(Hr),e.Y36(Pr),e.Y36(B.Dx),e.Y36(Yr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-web-console-full-window"]],viewQuery:function(t,i){var o;(1&t&&e.Gf(wTe,5),2&t)&&(e.iGM(o=e.CRH())&&(i.terminal=o.first))},decls:2,vars:0,consts:[["id","terminal",2,"width","100%","height","100%"],["terminal",""]],template:function(t,i){1&t&&e._UZ(0,"div",0,1)},styles:[".xterm{position:relative;-moz-user-select:none;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm{cursor:text}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility,.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:.5}.xterm-underline{text-decoration:underline}.xterm-strikethrough{text-decoration:line-through}\n"],encapsulation:2}),n}(),Nz=function(){function n(r,t){this.consoleService=r,this.bottomSheet=t}return n.prototype.canDeactivate=function(){if(this.consoleService.openConsoles>0){this.bottomSheet.open(rh);var r=this.bottomSheet._openedBottomSheetRef;return r.instance.message="Exiting the project will close open consoles, do you want to continue?",r.afterDismissed()}return!0},n.\u0275fac=function(t){return new(t||n)(e.LFG(dd),e.LFG(zS))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),kTe=["*",[["mat-toolbar-row"]]],ETe=["*","mat-toolbar-row"],MTe=(0,ln.pj)(function(){return function n(r){(0,g.Z)(this,n),this._elementRef=r}}()),ATe=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),n}(),DTe=function(){var n=function(r){(0,M.Z)(i,r);var t=(0,A.Z)(i);function i(o,a,s){var u;return(0,g.Z)(this,i),(u=t.call(this,o))._platform=a,u._document=s,u}return(0,k.Z)(i,[{key:"ngAfterViewInit",value:function(){var a=this;this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(function(){return a._checkToolbarMixedModes()}))}},{key:"_checkToolbarMixedModes",value:function(){}}]),i}(MTe);return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36($r.t4),e.Y36(Et.K0))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-toolbar"]],contentQueries:function(t,i,o){var a;1&t&&e.Suo(o,ATe,5),2&t&&e.iGM(a=e.CRH())&&(i._toolbarRows=a)},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(t,i){2&t&&e.ekj("mat-toolbar-multiple-rows",i._toolbarRows.length>0)("mat-toolbar-single-row",0===i._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[e.qOj],ngContentSelectors:ETe,decls:2,vars:0,template:function(t,i){1&t&&(e.F$t(kTe),e.Hsn(0),e.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.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}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),n}(),OTe=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[ln.BQ],ln.BQ]}),n}();function PTe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"button",13),e.NdJ("click",function(){return e.CHM(t),e.oxw().listProjects()}),e._uU(1," Projects "),e.qZA()}}function ITe(n,r){if(1&n){var t=e.EpF();e.TgZ(0,"button",13),e.NdJ("click",function(){return e.CHM(t),e.oxw().backToProject()}),e._uU(1," Back to project "),e.qZA()}}var RTe=function(){function n(r,t,i,o,a,s){this.electronService=r,this.recentlyOpenedProjectService=t,this.serverManagement=i,this.toasterService=o,this.progressService=a,this.router=s,this.isInstalledSoftwareAvailable=!1,this.uiVersion=bz,this.shouldStopServersOnClosing=!0}return n.prototype.ngOnInit=function(){var r=this;this.recentlyOpenedServerId=this.recentlyOpenedProjectService.getServerId(),this.recentlyOpenedProjectId=this.recentlyOpenedProjectService.getProjectId(),this.serverIdProjectList=this.recentlyOpenedProjectService.getServerIdProjectList(),this.isInstalledSoftwareAvailable=this.electronService.isElectronApp,this.serverStatusSubscription=this.serverManagement.serverStatusChanged.subscribe(function(t){"errored"===t.status&&(console.error(t.message),r.toasterService.error(t.message)),"stderr"===t.status&&(console.error(t.message),r.toasterService.error(t.message))}),this.shouldStopServersOnClosing=this.electronService.isElectronApp},n.prototype.listProjects=function(){var r=this;this.router.navigate(["/server",this.serverIdProjectList,"projects"]).catch(function(t){return r.toasterService.error("Cannot list projects")})},n.prototype.backToProject=function(){var r=this;this.router.navigate(["/server",this.recentlyOpenedServerId,"project",this.recentlyOpenedProjectId]).catch(function(t){return r.toasterService.error("Cannot navigate to the last opened project")})},n.prototype.onBeforeUnload=function(r){return(0,Jn.mG)(this,void 0,void 0,function(){return(0,Jn.Jh)(this,function(t){switch(t.label){case 0:return this.shouldStopServersOnClosing?(r.preventDefault(),r.returnValue=!1,this.progressService.activate(),[4,this.serverManagement.stopAll()]):[2];case 1:return t.sent(),this.shouldStopServersOnClosing=!1,this.progressService.deactivate(),window.close(),[2,!1]}})})},n.prototype.ngOnDestroy=function(){this.serverStatusSubscription.unsubscribe()},n.\u0275fac=function(t){return new(t||n)(e.Y36(ds),e.Y36(j2.p),e.Y36(WL),e.Y36(Xn),e.Y36(Qf),e.Y36(kr))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-default-layout"]],hostBindings:function(t,i){1&t&&e.NdJ("beforeunload",function(a){return i.onBeforeUnload(a)},!1,e.Jf7)},decls:34,vars:5,consts:[["color","primary"],["mat-icon-button",""],["svgIcon","gns3"],["mat-button","","routerLink","/servers"],["mat-button","",3,"click",4,"ngIf"],[1,"fill-space"],["mat-button","",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","","routerLink","/settings"],["mat-menu-item","","routerLink","/installed-software",3,"disabled"],["mat-menu-item","","routerLink","/help"],[1,"mat-app-background"],[1,"footer","mat-app-background"],["mat-button","",3,"click"]],template:function(t,i){if(1&t&&(e.TgZ(0,"header"),e.TgZ(1,"mat-toolbar",0),e.TgZ(2,"button",1),e._UZ(3,"mat-icon",2),e.qZA(),e.TgZ(4,"button",3),e._uU(5,"Servers"),e.qZA(),e.YNc(6,PTe,2,0,"button",4),e.YNc(7,ITe,2,0,"button",4),e._UZ(8,"span",5),e.TgZ(9,"button",6),e.TgZ(10,"mat-icon"),e._uU(11,"more_vert"),e.qZA(),e.qZA(),e.TgZ(12,"mat-menu",null,7),e.TgZ(14,"button",8),e.TgZ(15,"mat-icon"),e._uU(16,"settings"),e.qZA(),e.TgZ(17,"span"),e._uU(18,"Settings"),e.qZA(),e.qZA(),e.TgZ(19,"button",9),e.TgZ(20,"mat-icon"),e._uU(21,"cloud_download"),e.qZA(),e.TgZ(22,"span"),e._uU(23,"Installed software"),e.qZA(),e.qZA(),e.TgZ(24,"button",10),e.TgZ(25,"mat-icon"),e._uU(26,"help"),e.qZA(),e.TgZ(27,"span"),e._uU(28,"Help"),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(29,"main",11),e._UZ(30,"router-outlet"),e.qZA(),e._UZ(31,"app-progress"),e.TgZ(32,"footer",12),e._uU(33),e.qZA()),2&t){var o=e.MAs(13);e.xp6(6),e.Q6J("ngIf",!i.recentlyOpenedProjectId&&i.serverIdProjectList),e.xp6(1),e.Q6J("ngIf",i.recentlyOpenedProjectId&&i.recentlyOpenedServerId),e.xp6(2),e.Q6J("matMenuTriggerFor",o),e.xp6(10),e.Q6J("disabled",!i.isInstalledSoftwareAvailable),e.xp6(14),e.hij("GNS3 Web UI \xa9 2020 - v",i.uiVersion,"")}},directives:[DTe,Mn,sr,fa,Et.O5,Qa,Ss,Zr,a2,HZ],styles:["html,body{height:100%}app-root,app-default-layout{height:100%}app-default-layout{display:flex;flex-direction:column;height:100vh}.footer{padding:20px;margin:auto 0 0}.default-content{margin:0 auto;max-width:940px;padding-top:20px;padding-bottom:20px}header{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px rgba(0,0,0,.141),0 1px 18px rgba(0,0,0,.122);z-index:10}.default-header h1{font-weight:300;margin:0;font-size:20px;padding:28px 8px}.default-header{margin:0 auto;max-width:940px}.buttons-bar{padding-top:10px;text-align:right}.fill-space{flex:1 1 auto}.container>*{width:100%}.container{padding:0%}.mat-dialog-content>*{width:100%}\n"],encapsulation:2}),n}(),JL=function(){function n(r){this.serverService=r}return n.prototype.resolve=function(r){return this.serverService.get(parseInt(r.params.server_id))},n.\u0275fac=function(t){return new(t||n)(e.LFG(Hr))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),NTe=[{path:"",component:RTe,children:[{path:"",redirectTo:"servers",pathMatch:"full"},{path:"servers",component:HSe},{path:"bundled",component:gae},{path:"server/:server_id/projects",component:wz,resolve:{server:JL}},{path:"help",component:Mse},{path:"settings",component:jSe},{path:"settings/console",component:qSe},{path:"installed-software",component:nle},{path:"server/:server_id/systemstatus",component:xTe},{path:"server/:server_ip/:server_port/project/:project_id",component:Yae},{path:"server/:server_id/project/:project_id/snapshots",component:tTe,resolve:{server:JL}},{path:"server/:server_id/preferences",component:Upe},{path:"server/:server_id/preferences/gns3vm",component:_pe},{path:"server/:server_id/preferences/builtin",component:ole},{path:"server/:server_id/preferences/builtin/ethernet-hubs",component:Rue},{path:"server/:server_id/preferences/builtin/ethernet-hubs/addtemplate",component:Sue},{path:"server/:server_id/preferences/builtin/ethernet-hubs/:template_id",component:Eue},{path:"server/:server_id/preferences/builtin/ethernet-switches",component:lce},{path:"server/:server_id/preferences/builtin/ethernet-switches/addtemplate",component:Nue},{path:"server/:server_id/preferences/builtin/ethernet-switches/:template_id",component:tce},{path:"server/:server_id/preferences/builtin/cloud-nodes",component:Cue},{path:"server/:server_id/preferences/builtin/cloud-nodes/addtemplate",component:vle},{path:"server/:server_id/preferences/builtin/cloud-nodes/:template_id",component:zle},{path:"server/:server_id/preferences/dynamips/templates",component:cpe},{path:"server/:server_id/preferences/dynamips/templates/addtemplate",component:Zde},{path:"server/:server_id/preferences/dynamips/templates/:template_id",component:rpe},{path:"server/:server_id/preferences/dynamips/templates/:template_id/copy",component:Lde},{path:"server/:server_id/preferences/qemu/templates",component:Afe},{path:"server/:server_id/preferences/qemu/templates/:template_id/copy",component:Gpe},{path:"server/:server_id/preferences/qemu/templates/:template_id",component:Sfe},{path:"server/:server_id/preferences/qemu/addtemplate",component:Wpe},{path:"server/:server_id/preferences/vpcs/templates",component:Mhe},{path:"server/:server_id/preferences/vpcs/templates/:template_id",component:Che},{path:"server/:server_id/preferences/vpcs/addtemplate",component:mhe},{path:"server/:server_id/preferences/virtualbox/templates",component:Yfe},{path:"server/:server_id/preferences/virtualbox/templates/:template_id",component:Hfe},{path:"server/:server_id/preferences/virtualbox/addtemplate",component:Pfe},{path:"server/:server_id/preferences/vmware/templates",component:hhe},{path:"server/:server_id/preferences/vmware/templates/:template_id",component:she},{path:"server/:server_id/preferences/vmware/addtemplate",component:Xfe},{path:"server/:server_id/preferences/docker/templates",component:yde},{path:"server/:server_id/preferences/docker/templates/:template_id",component:pde},{path:"server/:server_id/preferences/docker/templates/:template_id/copy",component:Yce},{path:"server/:server_id/preferences/docker/addtemplate",component:Gce},{path:"server/:server_id/preferences/iou/templates",component:Bpe},{path:"server/:server_id/preferences/iou/templates/:template_id",component:Ppe},{path:"server/:server_id/preferences/iou/templates/:template_id/copy",component:xpe},{path:"server/:server_id/preferences/iou/addtemplate",component:Tpe}]},{path:"server/:server_id/project/:project_id",component:H1e,canDeactivate:[Nz]},{path:"server/:server_id/project/:project_id/nodes/:node_id",component:Rz},{path:"static/web-ui/server/:server_id/project/:project_id/nodes/:node_id",component:Rz},{path:"**",component:ile}],ZTe=function(){function n(){}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[GV.forRoot(NTe,{anchorScrolling:"enabled",enableTracing:!1,scrollPositionRestoration:"enabled"})],GV]}),n}(),LTe=function(n,r){return{dark:n,light:r}},FTe=function(){function n(r,t,i,o,a,s,u,p){var m=this;this.overlayContainer=r,this.settingsService=o,this.electronService=a,this.themeService=s,this.router=u,this.progressService=p,this.darkThemeEnabled=!1,t.addSvgIcon("gns3",i.bypassSecurityTrustResourceUrl("./assets/gns3_icon.svg")),t.addSvgIcon("gns3black",i.bypassSecurityTrustResourceUrl("./assets/gns3_icon_black.svg")),u.events.subscribe(function(b){m.checkEvent(b)})}return n.prototype.ngOnInit=function(){var r=this;this.applyTheme(this.themeService.savedTheme+"-theme"),this.themeService.themeChanged.subscribe(function(t){r.applyTheme(t)})},n.prototype.applyTheme=function(r){this.darkThemeEnabled="dark-theme"===r,this.overlayContainer.getContainerElement().classList.add(r),this.componentCssClass=r},n.prototype.checkEvent=function(r){r instanceof VA?this.progressService.activate():(r instanceof rv||r instanceof yZ||r instanceof QH)&&this.progressService.deactivate()},n.\u0275fac=function(t){return new(t||n)(e.Y36(eo.Xj),e.Y36(AS),e.Y36(B.H7),e.Y36(gp.g),e.Y36(ds),e.Y36(Eu.f),e.Y36(kr),e.Y36(Qf))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-root"]],hostVars:2,hostBindings:function(t,i){2&t&&e.Tol(i.componentCssClass)},decls:3,vars:4,consts:[[3,"ngClass"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e._UZ(1,"router-outlet"),e._UZ(2,"app-adbutler"),e.qZA()),2&t&&e.Q6J("ngClass",e.WLB(1,LTe,i.darkThemeEnabled,!i.darkThemeEnabled))},directives:[Et.mk,a2,Zq],styles:["mat-menu-panel[_ngcontent-%COMP%]{min-height:0px}.dark[_ngcontent-%COMP%]{background:#263238!important}.light[_ngcontent-%COMP%]{background:white!important}"]}),n}(),BTe=function(){return function(){}}(),UTe=function(){function n(){}return n.prototype.convert=function(r){var t=new BTe;return t.symbol_id=r.id,t.builtin=r.builtin,t.filename=r.filename,t.raw=r.raw,t},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),HTe=function(){function n(){}return n.prototype.convert=function(r){var t={font_family:void 0,font_size:void 0,font_weight:void 0};return ZS.parse(r,{context:"declarationList"}).children.forEach(function(o){"font-size"===o.property&&o.value&&o.value.children&&o.value.children.forEach(function(a){"Dimension"===a.type&&(t.font_size=parseInt(a.value))}),"font-family"===o.property&&o.value&&o.value.children&&o.value.children.forEach(function(a){"Identifier"===a.type&&(t.font_family=a.name)}),"font-weight"===o.property&&o.value&&o.value.children&&o.value.children.forEach(function(a){"Identifier"===a.type&&(t.font_weight=a.name)})}),t},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac=function(t){return new(t||n)}}),n}(),VTe=[kL,wL,P2,bL,O2,VS,CL,D2,yL,Rj,xL,Ej,US,Pj,Aj,Oj,Dj,Mj,Ij],qTe=function(){function n(){}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:(0,Jn.ev)([eh,nc,BL,oz,az,sz,lz,FS,HS,_v,E2,BS,vL,$l,ic,mv,jS,R2,yv,k2,fL,Cj,bj,dz,YS,VL,pz,q2,HL,UTe,mL,hL,Sj,fy,uL,cL,dL,pL,_L,hy,NS,HTe,SL,TL],VTe),imports:[[Et.ez,Xq,UZ]]}),n}(),jTe=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return(0,Jn.ZT)(r,n),r.prototype.getItemKey=function(t){return t.symbol_id},r.\u0275fac=function(){var t;return function(o){return(t||(t=e.n5z(r)))(o||r)}}(),r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(x2.o),QL=function(n,r){return(QL=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var o in i)i.hasOwnProperty(o)&&(t[o]=i[o])})(n,r)};function QS(n,r){function t(){this.constructor=n}QL(n,r),n.prototype=null===r?Object.create(r):(t.prototype=r.prototype,new t)}var _p,Zz,Hn=function(){return(Hn=Object.assign||function(r){for(var t,i=1,o=arguments.length;i<o;i++)for(var a in t=arguments[i])Object.prototype.hasOwnProperty.call(t,a)&&(r[a]=t[a]);return r}).apply(this,arguments)};function Cv(n){var r="function"==typeof Symbol&&Symbol.iterator,t=r&&n[r],i=0;if(t)return t.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&i>=n.length&&(n=void 0),{value:n&&n[i++],done:!n}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function KS(n,r){var t="function"==typeof Symbol&&n[Symbol.iterator];if(!t)return n;var o,s,i=t.call(n),a=[];try{for(;(void 0===r||r-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(u){s={error:u}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(s)throw s.error}}return a}function Lo(){for(var n=[],r=0;r<arguments.length;r++)n=n.concat(KS(arguments[r]));return n}!function(n){n.Ok="ok",n.Exited="exited",n.Crashed="crashed",n.Abnormal="abnormal"}(_p||(_p={})),function(n){n.Ok="ok",n.Errored="errored",n.Crashed="crashed"}(Zz||(Zz={}));var Br=f(82605),by=f(46354),Sv=(0,Br.Rf)(),KL="Sentry Logger ",WTe=function(){function n(){this._enabled=!1}return n.prototype.disable=function(){this._enabled=!1},n.prototype.enable=function(){this._enabled=!0},n.prototype.log=function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];!this._enabled||(0,Br.Cf)(function(){Sv.console.log(KL+"[Log]: "+r.join(" "))})},n.prototype.warn=function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];!this._enabled||(0,Br.Cf)(function(){Sv.console.warn(KL+"[Warn]: "+r.join(" "))})},n.prototype.error=function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];!this._enabled||(0,Br.Cf)(function(){Sv.console.error(KL+"[Error]: "+r.join(" "))})},n}();Sv.__SENTRY__=Sv.__SENTRY__||{};var yp,Di=Sv.__SENTRY__.logger||(Sv.__SENTRY__.logger=new WTe),GTe=f(4839);function Lz(n){switch(Object.prototype.toString.call(n)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return ah(n,Error)}}function Fz(n){return"[object ErrorEvent]"===Object.prototype.toString.call(n)}function Bz(n){return"[object DOMError]"===Object.prototype.toString.call(n)}function Cy(n){return"[object String]"===Object.prototype.toString.call(n)}function K2(n){return null===n||"object"!=typeof n&&"function"!=typeof n}function Sy(n){return"[object Object]"===Object.prototype.toString.call(n)}function XL(n){return"undefined"!=typeof Event&&ah(n,Event)}function Uz(n){return"undefined"!=typeof Element&&ah(n,Element)}function $L(n){return Boolean(n&&n.then&&"function"==typeof n.then)}function ah(n,r){try{return n instanceof r}catch(t){return!1}}!function(n){n.PENDING="PENDING",n.RESOLVED="RESOLVED",n.REJECTED="REJECTED"}(yp||(yp={}));var ml=function(){function n(r){var t=this;this._state=yp.PENDING,this._handlers=[],this._resolve=function(i){t._setResult(yp.RESOLVED,i)},this._reject=function(i){t._setResult(yp.REJECTED,i)},this._setResult=function(i,o){if(t._state===yp.PENDING){if($L(o))return void o.then(t._resolve,t._reject);t._state=i,t._value=o,t._executeHandlers()}},this._attachHandler=function(i){t._handlers=t._handlers.concat(i),t._executeHandlers()},this._executeHandlers=function(){if(t._state!==yp.PENDING){var i=t._handlers.slice();t._handlers=[],i.forEach(function(o){o.done||(t._state===yp.RESOLVED&&o.onfulfilled&&o.onfulfilled(t._value),t._state===yp.REJECTED&&o.onrejected&&o.onrejected(t._value),o.done=!0)})}};try{r(this._resolve,this._reject)}catch(i){this._reject(i)}}return n.resolve=function(r){return new n(function(t){t(r)})},n.reject=function(r){return new n(function(t,i){i(r)})},n.all=function(r){return new n(function(t,i){if(Array.isArray(r))if(0!==r.length){var o=r.length,a=[];r.forEach(function(s,u){n.resolve(s).then(function(p){a[u]=p,0==(o-=1)&&t(a)}).then(null,i)})}else t([]);else i(new TypeError("Promise.all requires an array as input."))})},n.prototype.then=function(r,t){var i=this;return new n(function(o,a){i._attachHandler({done:!1,onfulfilled:function(u){if(r)try{return void o(r(u))}catch(p){return void a(p)}else o(u)},onrejected:function(u){if(t)try{return void o(t(u))}catch(p){return void a(p)}else a(u)}})})},n.prototype.catch=function(r){return this.then(function(t){return t},r)},n.prototype.finally=function(r){var t=this;return new n(function(i,o){var a,s;return t.then(function(u){s=!1,a=u,r&&r()},function(u){s=!0,a=u,r&&r()}).then(function(){s?o(a):i(a)})})},n.prototype.toString=function(){return"[object SyncPromise]"},n}(),X2=function(){function n(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._contexts={}}return n.clone=function(r){var t=new n;return r&&(t._breadcrumbs=Lo(r._breadcrumbs),t._tags=Hn({},r._tags),t._extra=Hn({},r._extra),t._contexts=Hn({},r._contexts),t._user=r._user,t._level=r._level,t._span=r._span,t._session=r._session,t._transactionName=r._transactionName,t._fingerprint=r._fingerprint,t._eventProcessors=Lo(r._eventProcessors),t._requestSession=r._requestSession),t},n.prototype.addScopeListener=function(r){this._scopeListeners.push(r)},n.prototype.addEventProcessor=function(r){return this._eventProcessors.push(r),this},n.prototype.setUser=function(r){return this._user=r||{},this._session&&this._session.update({user:r}),this._notifyScopeListeners(),this},n.prototype.getUser=function(){return this._user},n.prototype.getRequestSession=function(){return this._requestSession},n.prototype.setRequestSession=function(r){return this._requestSession=r,this},n.prototype.setTags=function(r){return this._tags=Hn(Hn({},this._tags),r),this._notifyScopeListeners(),this},n.prototype.setTag=function(r,t){var i;return this._tags=Hn(Hn({},this._tags),((i={})[r]=t,i)),this._notifyScopeListeners(),this},n.prototype.setExtras=function(r){return this._extra=Hn(Hn({},this._extra),r),this._notifyScopeListeners(),this},n.prototype.setExtra=function(r,t){var i;return this._extra=Hn(Hn({},this._extra),((i={})[r]=t,i)),this._notifyScopeListeners(),this},n.prototype.setFingerprint=function(r){return this._fingerprint=r,this._notifyScopeListeners(),this},n.prototype.setLevel=function(r){return this._level=r,this._notifyScopeListeners(),this},n.prototype.setTransactionName=function(r){return this._transactionName=r,this._notifyScopeListeners(),this},n.prototype.setTransaction=function(r){return this.setTransactionName(r)},n.prototype.setContext=function(r,t){var i;return null===t?delete this._contexts[r]:this._contexts=Hn(Hn({},this._contexts),((i={})[r]=t,i)),this._notifyScopeListeners(),this},n.prototype.setSpan=function(r){return this._span=r,this._notifyScopeListeners(),this},n.prototype.getSpan=function(){return this._span},n.prototype.getTransaction=function(){var r,t,i,o,a=this.getSpan();return(null===(r=a)||void 0===r?void 0:r.transaction)?null===(t=a)||void 0===t?void 0:t.transaction:(null===(o=null===(i=a)||void 0===i?void 0:i.spanRecorder)||void 0===o?void 0:o.spans[0])?a.spanRecorder.spans[0]:void 0},n.prototype.setSession=function(r){return r?this._session=r:delete this._session,this._notifyScopeListeners(),this},n.prototype.getSession=function(){return this._session},n.prototype.update=function(r){if(!r)return this;if("function"==typeof r){var t=r(this);return t instanceof n?t:this}return r instanceof n?(this._tags=Hn(Hn({},this._tags),r._tags),this._extra=Hn(Hn({},this._extra),r._extra),this._contexts=Hn(Hn({},this._contexts),r._contexts),r._user&&Object.keys(r._user).length&&(this._user=r._user),r._level&&(this._level=r._level),r._fingerprint&&(this._fingerprint=r._fingerprint),r._requestSession&&(this._requestSession=r._requestSession)):Sy(r)&&(r=r,this._tags=Hn(Hn({},this._tags),r.tags),this._extra=Hn(Hn({},this._extra),r.extra),this._contexts=Hn(Hn({},this._contexts),r.contexts),r.user&&(this._user=r.user),r.level&&(this._level=r.level),r.fingerprint&&(this._fingerprint=r.fingerprint),r.requestSession&&(this._requestSession=r.requestSession)),this},n.prototype.clear=function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this},n.prototype.addBreadcrumb=function(r,t){var i="number"==typeof t?Math.min(t,100):100;if(i<=0)return this;var o=Hn({timestamp:(0,by.yW)()},r);return this._breadcrumbs=Lo(this._breadcrumbs,[o]).slice(-i),this._notifyScopeListeners(),this},n.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},n.prototype.applyToEvent=function(r,t){var i;if(this._extra&&Object.keys(this._extra).length&&(r.extra=Hn(Hn({},this._extra),r.extra)),this._tags&&Object.keys(this._tags).length&&(r.tags=Hn(Hn({},this._tags),r.tags)),this._user&&Object.keys(this._user).length&&(r.user=Hn(Hn({},this._user),r.user)),this._contexts&&Object.keys(this._contexts).length&&(r.contexts=Hn(Hn({},this._contexts),r.contexts)),this._level&&(r.level=this._level),this._transactionName&&(r.transaction=this._transactionName),this._span){r.contexts=Hn({trace:this._span.getTraceContext()},r.contexts);var o=null===(i=this._span.transaction)||void 0===i?void 0:i.name;o&&(r.tags=Hn({transaction:o},r.tags))}return this._applyFingerprint(r),r.breadcrumbs=Lo(r.breadcrumbs||[],this._breadcrumbs),r.breadcrumbs=r.breadcrumbs.length>0?r.breadcrumbs:void 0,this._notifyEventProcessors(Lo(Vz(),this._eventProcessors),r,t)},n.prototype._notifyEventProcessors=function(r,t,i,o){var a=this;return void 0===o&&(o=0),new ml(function(s,u){var p=r[o];if(null===t||"function"!=typeof p)s(t);else{var m=p(Hn({},t),i);$L(m)?m.then(function(b){return a._notifyEventProcessors(r,b,i,o+1).then(s)}).then(null,u):a._notifyEventProcessors(r,m,i,o+1).then(s).then(null,u)}})},n.prototype._notifyScopeListeners=function(){var r=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(function(t){t(r)}),this._notifyingListeners=!1)},n.prototype._applyFingerprint=function(r){r.fingerprint=r.fingerprint?Array.isArray(r.fingerprint)?r.fingerprint:[r.fingerprint]:[],this._fingerprint&&(r.fingerprint=r.fingerprint.concat(this._fingerprint)),r.fingerprint&&!r.fingerprint.length&&delete r.fingerprint},n}();function Vz(){var n=(0,Br.Rf)();return n.__SENTRY__=n.__SENTRY__||{},n.__SENTRY__.globalEventProcessors=n.__SENTRY__.globalEventProcessors||[],n.__SENTRY__.globalEventProcessors}function $2(n){Vz().push(n)}function eD(n,r){try{for(var t=n,a=[],s=0,u=0,m=" > ".length,b=void 0;t&&s++<5&&!("html"===(b=KTe(t,r))||s>1&&u+a.length*m+b.length>=80);)a.push(b),u+=b.length,t=t.parentNode;return a.reverse().join(" > ")}catch(I){return"<unknown>"}}function KTe(n,r){var t,i,s,u,p,m,b,o=n,a=[];if(!o||!o.tagName)return"";a.push(o.tagName.toLowerCase());var I=(null===(t=r)||void 0===t?void 0:t.length)?r.filter(function(G){return o.getAttribute(G)}).map(function(G){return[G,o.getAttribute(G)]}):null;if(null===(i=I)||void 0===i?void 0:i.length)I.forEach(function(G){a.push("["+G[0]+'="'+G[1]+'"]')});else if(o.id&&a.push("#"+o.id),(s=o.className)&&Cy(s))for(u=s.split(/\s+/),b=0;b<u.length;b++)a.push("."+u[b]);var F=["type","name","title","alt"];for(b=0;b<F.length;b++)(m=o.getAttribute(p=F[b]))&&a.push("["+p+'="'+m+'"]');return a.join("")}var XTe=function(){function n(){this._hasWeakSet="function"==typeof WeakSet,this._inner=this._hasWeakSet?new WeakSet:[]}return n.prototype.memoize=function(r){if(this._hasWeakSet)return!!this._inner.has(r)||(this._inner.add(r),!1);for(var t=0;t<this._inner.length;t++)if(this._inner[t]===r)return!0;return this._inner.push(r),!1},n.prototype.unmemoize=function(r){if(this._hasWeakSet)this._inner.delete(r);else for(var t=0;t<this._inner.length;t++)if(this._inner[t]===r){this._inner.splice(t,1);break}},n}(),eF="<anonymous>";function sh(n){try{return n&&"function"==typeof n&&n.name||eF}catch(r){return eF}}function XS(n,r){return void 0===r&&(r=0),"string"!=typeof n||0===r||n.length<=r?n:n.substr(0,r)+"..."}function qz(n,r){if(!Array.isArray(n))return"";for(var t=[],i=0;i<n.length;i++){var o=n[i];try{t.push(String(o))}catch(a){t.push("[value cannot be serialized]")}}return t.join(r)}function tF(n,r){return!!Cy(n)&&(function(n){return"[object RegExp]"===Object.prototype.toString.call(n)}(r)?r.test(n):"string"==typeof r&&-1!==n.indexOf(r))}function ws(n,r,t){if(r in n){var i=n[r],o=t(i);if("function"==typeof o)try{o.prototype=o.prototype||{},Object.defineProperties(o,{__sentry_original__:{enumerable:!1,value:i}})}catch(a){}n[r]=o}}function jz(n){if(Lz(n)){var r=n,t={message:r.message,name:r.name,stack:r.stack};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i]);return t}if(XL(n)){var o=n,a={};a.type=o.type;try{a.target=Uz(o.target)?eD(o.target):Object.prototype.toString.call(o.target)}catch(u){a.target="<unknown>"}try{a.currentTarget=Uz(o.currentTarget)?eD(o.currentTarget):Object.prototype.toString.call(o.currentTarget)}catch(u){a.currentTarget="<unknown>"}for(var s in"undefined"!=typeof CustomEvent&&ah(n,CustomEvent)&&(a.detail=o.detail),o)Object.prototype.hasOwnProperty.call(o,s)&&(a[s]=o[s]);return a}return n}function zz(n,r,t){void 0===r&&(r=3),void 0===t&&(t=102400);var i=Ty(n,r);return function(n){return function(n){return~-encodeURI(n).split(/%..|./).length}(JSON.stringify(n))}(i)>t?zz(n,r-1,t):i}function Wz(n,r){return"domain"===r&&n&&"object"==typeof n&&n._events?"[Domain]":"domainEmitter"===r?"[DomainEmitter]":"undefined"!=typeof global&&n===global?"[Global]":"undefined"!=typeof window&&n===window?"[Window]":"undefined"!=typeof document&&n===document?"[Document]":function(n){return Sy(n)&&"nativeEvent"in n&&"preventDefault"in n&&"stopPropagation"in n}(n)?"[SyntheticEvent]":"number"==typeof n&&n!=n?"[NaN]":void 0===n?"[undefined]":"function"==typeof n?"[Function: "+sh(n)+"]":"symbol"==typeof n?"["+String(n)+"]":"bigint"==typeof n?"[BigInt: "+String(n)+"]":n}function Gz(n,r,t,i){if(void 0===t&&(t=1/0),void 0===i&&(i=new XTe),0===t)return function(n){var r=Object.prototype.toString.call(n);if("string"==typeof n)return n;if("[object Object]"===r)return"[Object]";if("[object Array]"===r)return"[Array]";var t=Wz(n);return K2(t)?t:r}(r);if(null!=r&&"function"==typeof r.toJSON)return r.toJSON();var o=Wz(r,n);if(K2(o))return o;var a=jz(r),s=Array.isArray(r)?[]:{};if(i.memoize(r))return"[Circular ~]";for(var u in a)!Object.prototype.hasOwnProperty.call(a,u)||(s[u]=Gz(u,a[u],t-1,i));return i.unmemoize(r),s}function Ty(n,r){try{return JSON.parse(JSON.stringify(n,function(t,i){return Gz(t,i,r)}))}catch(t){return"**non-serializable**"}}function rxe(n,r){void 0===r&&(r=40);var t=Object.keys(jz(n));if(t.sort(),!t.length)return"[object has no keys]";if(t[0].length>=r)return XS(t[0],r);for(var i=t.length;i>0;i--){var o=t.slice(0,i).join(", ");if(!(o.length>r))return i===t.length?o:XS(o,r)}return""}function tD(n){var r,t;if(Sy(n)){var i=n,o={};try{for(var a=Cv(Object.keys(i)),s=a.next();!s.done;s=a.next()){var u=s.value;void 0!==i[u]&&(o[u]=tD(i[u]))}}catch(p){r={error:p}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(r)throw r.error}}return o}return Array.isArray(n)?n.map(tD):n}var ixe=function(){function n(r){this.errors=0,this.sid=(0,Br.DM)(),this.duration=0,this.status=_p.Ok,this.init=!0,this.ignoreDuration=!1;var t=(0,by.ph)();this.timestamp=t,this.started=t,r&&this.update(r)}return n.prototype.update=function(r){if(void 0===r&&(r={}),r.user&&(!this.ipAddress&&r.user.ip_address&&(this.ipAddress=r.user.ip_address),!this.did&&!r.did&&(this.did=r.user.id||r.user.email||r.user.username)),this.timestamp=r.timestamp||(0,by.ph)(),r.ignoreDuration&&(this.ignoreDuration=r.ignoreDuration),r.sid&&(this.sid=32===r.sid.length?r.sid:(0,Br.DM)()),void 0!==r.init&&(this.init=r.init),!this.did&&r.did&&(this.did=""+r.did),"number"==typeof r.started&&(this.started=r.started),this.ignoreDuration)this.duration=void 0;else if("number"==typeof r.duration)this.duration=r.duration;else{var t=this.timestamp-this.started;this.duration=t>=0?t:0}r.release&&(this.release=r.release),r.environment&&(this.environment=r.environment),!this.ipAddress&&r.ipAddress&&(this.ipAddress=r.ipAddress),!this.userAgent&&r.userAgent&&(this.userAgent=r.userAgent),"number"==typeof r.errors&&(this.errors=r.errors),r.status&&(this.status=r.status)},n.prototype.close=function(r){r?this.update({status:r}):this.status===_p.Ok?this.update({status:_p.Exited}):this.update()},n.prototype.toJSON=function(){return tD({sid:""+this.sid,init:this.init,started:new Date(1e3*this.started).toISOString(),timestamp:new Date(1e3*this.timestamp).toISOString(),status:this.status,errors:this.errors,did:"number"==typeof this.did||"string"==typeof this.did?""+this.did:void 0,duration:this.duration,attrs:tD({release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent})})},n}(),rF=function(){function n(r,t,i){void 0===t&&(t=new X2),void 0===i&&(i=4),this._version=i,this._stack=[{}],this.getStackTop().scope=t,r&&this.bindClient(r)}return n.prototype.isOlderThan=function(r){return this._version<r},n.prototype.bindClient=function(r){this.getStackTop().client=r,r&&r.setupIntegrations&&r.setupIntegrations()},n.prototype.pushScope=function(){var r=X2.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:r}),r},n.prototype.popScope=function(){return!(this.getStack().length<=1||!this.getStack().pop())},n.prototype.withScope=function(r){var t=this.pushScope();try{r(t)}finally{this.popScope()}},n.prototype.getClient=function(){return this.getStackTop().client},n.prototype.getScope=function(){return this.getStackTop().scope},n.prototype.getStack=function(){return this._stack},n.prototype.getStackTop=function(){return this._stack[this._stack.length-1]},n.prototype.captureException=function(r,t){var i=this._lastEventId=(0,Br.DM)(),o=t;if(!t){var a=void 0;try{throw new Error("Sentry syntheticException")}catch(s){a=s}o={originalException:r,syntheticException:a}}return this._invokeClient("captureException",r,Hn(Hn({},o),{event_id:i})),i},n.prototype.captureMessage=function(r,t,i){var o=this._lastEventId=(0,Br.DM)(),a=i;if(!i){var s=void 0;try{throw new Error(r)}catch(u){s=u}a={originalException:r,syntheticException:s}}return this._invokeClient("captureMessage",r,t,Hn(Hn({},a),{event_id:o})),o},n.prototype.captureEvent=function(r,t){var i=(0,Br.DM)();return"transaction"!==r.type&&(this._lastEventId=i),this._invokeClient("captureEvent",r,Hn(Hn({},t),{event_id:i})),i},n.prototype.lastEventId=function(){return this._lastEventId},n.prototype.addBreadcrumb=function(r,t){var i=this.getStackTop(),o=i.scope,a=i.client;if(o&&a){var s=a.getOptions&&a.getOptions()||{},u=s.beforeBreadcrumb,p=void 0===u?null:u,m=s.maxBreadcrumbs,b=void 0===m?100:m;if(!(b<=0)){var I=(0,by.yW)(),F=Hn({timestamp:I},r),G=p?(0,Br.Cf)(function(){return p(F,t)}):F;null!==G&&o.addBreadcrumb(G,b)}}},n.prototype.setUser=function(r){var t=this.getScope();t&&t.setUser(r)},n.prototype.setTags=function(r){var t=this.getScope();t&&t.setTags(r)},n.prototype.setExtras=function(r){var t=this.getScope();t&&t.setExtras(r)},n.prototype.setTag=function(r,t){var i=this.getScope();i&&i.setTag(r,t)},n.prototype.setExtra=function(r,t){var i=this.getScope();i&&i.setExtra(r,t)},n.prototype.setContext=function(r,t){var i=this.getScope();i&&i.setContext(r,t)},n.prototype.configureScope=function(r){var t=this.getStackTop(),i=t.scope;i&&t.client&&r(i)},n.prototype.run=function(r){var t=Yz(this);try{r(this)}finally{Yz(t)}},n.prototype.getIntegration=function(r){var t=this.getClient();if(!t)return null;try{return t.getIntegration(r)}catch(i){return Di.warn("Cannot retrieve integration "+r.id+" from the current Hub"),null}},n.prototype.startSpan=function(r){return this._callExtensionMethod("startSpan",r)},n.prototype.startTransaction=function(r,t){return this._callExtensionMethod("startTransaction",r,t)},n.prototype.traceHeaders=function(){return this._callExtensionMethod("traceHeaders")},n.prototype.captureSession=function(r){if(void 0===r&&(r=!1),r)return this.endSession();this._sendSessionUpdate()},n.prototype.endSession=function(){var r,t,i,o,a;null===(i=null===(t=null===(r=this.getStackTop())||void 0===r?void 0:r.scope)||void 0===t?void 0:t.getSession())||void 0===i||i.close(),this._sendSessionUpdate(),null===(a=null===(o=this.getStackTop())||void 0===o?void 0:o.scope)||void 0===a||a.setSession()},n.prototype.startSession=function(r){var t=this.getStackTop(),i=t.scope,o=t.client,a=o&&o.getOptions()||{},s=a.release,u=a.environment,m=((0,Br.Rf)().navigator||{}).userAgent,b=new ixe(Hn(Hn(Hn({release:s,environment:u},i&&{user:i.getUser()}),m&&{userAgent:m}),r));if(i){var I=i.getSession&&i.getSession();I&&I.status===_p.Ok&&I.update({status:_p.Exited}),this.endSession(),i.setSession(b)}return b},n.prototype._sendSessionUpdate=function(){var r=this.getStackTop(),t=r.scope,i=r.client;if(t){var o=t.getSession&&t.getSession();o&&i&&i.captureSession&&i.captureSession(o)}},n.prototype._invokeClient=function(r){for(var t,i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];var a=this.getStackTop(),s=a.scope,u=a.client;u&&u[r]&&(t=u)[r].apply(t,Lo(i,[s]))},n.prototype._callExtensionMethod=function(r){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];var o=$S(),a=o.__SENTRY__;if(a&&a.extensions&&"function"==typeof a.extensions[r])return a.extensions[r].apply(this,t);Di.warn("Extension method "+r+" couldn't be found, doing nothing.")},n}();function $S(){var n=(0,Br.Rf)();return n.__SENTRY__=n.__SENTRY__||{extensions:{},hub:void 0},n}function Yz(n){var r=$S(),t=lh(r);return iF(r,n),t}function ks(){var n=$S();return(!Jz(n)||lh(n).isOlderThan(4))&&iF(n,new rF),(0,GTe.KV)()?function(n){var r,t,i;try{var o=null===(i=null===(t=null===(r=$S().__SENTRY__)||void 0===r?void 0:r.extensions)||void 0===t?void 0:t.domain)||void 0===i?void 0:i.active;if(!o)return lh(n);if(!Jz(o)||lh(o).isOlderThan(4)){var a=lh(n).getStackTop();iF(o,new rF(a.client,X2.clone(a.scope)))}return lh(o)}catch(s){return lh(n)}}(n):lh(n)}function Jz(n){return!!(n&&n.__SENTRY__&&n.__SENTRY__.hub)}function lh(n){return n&&n.__SENTRY__&&n.__SENTRY__.hub||(n.__SENTRY__=n.__SENTRY__||{},n.__SENTRY__.hub=new rF),n.__SENTRY__.hub}function iF(n,r){return!!n&&(n.__SENTRY__=n.__SENTRY__||{},n.__SENTRY__.hub=r,!0)}function vl(n){for(var r=[],t=1;t<arguments.length;t++)r[t-1]=arguments[t];var i=ks();if(i&&i[n])return i[n].apply(i,Lo(r));throw new Error("No hub defined or "+n+" was not found on the hub, please open a bug report.")}function Qz(n,r){var t;try{throw new Error("Sentry syntheticException")}catch(i){t=i}return vl("captureException",n,{captureContext:r,originalException:n,syntheticException:t})}function sxe(n){vl("withScope",n)}var Kz,uxe=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],cxe=function(){function n(r){void 0===r&&(r={}),this._options=r,this.name=n.id}return n.prototype.setupOnce=function(){$2(function(r){var t=ks();if(!t)return r;var i=t.getIntegration(n);if(i){var o=t.getClient(),a=o?o.getOptions():{},s="function"==typeof i._mergeOptions?i._mergeOptions(a):{};return"function"!=typeof i._shouldDropEvent?r:i._shouldDropEvent(r,s)?null:r}return r})},n.prototype._shouldDropEvent=function(r,t){return this._isSentryError(r,t)?(Di.warn("Event dropped due to being internal Sentry Error.\nEvent: "+(0,Br.jH)(r)),!0):this._isIgnoredError(r,t)?(Di.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+(0,Br.jH)(r)),!0):this._isDeniedUrl(r,t)?(Di.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: "+(0,Br.jH)(r)+".\nUrl: "+this._getEventFilterUrl(r)),!0):!this._isAllowedUrl(r,t)&&(Di.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: "+(0,Br.jH)(r)+".\nUrl: "+this._getEventFilterUrl(r)),!0)},n.prototype._isSentryError=function(r,t){if(!t.ignoreInternal)return!1;try{return r&&r.exception&&r.exception.values&&r.exception.values[0]&&"SentryError"===r.exception.values[0].type||!1}catch(i){return!1}},n.prototype._isIgnoredError=function(r,t){return!(!t.ignoreErrors||!t.ignoreErrors.length)&&this._getPossibleEventMessages(r).some(function(i){return t.ignoreErrors.some(function(o){return tF(i,o)})})},n.prototype._isDeniedUrl=function(r,t){if(!t.denyUrls||!t.denyUrls.length)return!1;var i=this._getEventFilterUrl(r);return!!i&&t.denyUrls.some(function(o){return tF(i,o)})},n.prototype._isAllowedUrl=function(r,t){if(!t.allowUrls||!t.allowUrls.length)return!0;var i=this._getEventFilterUrl(r);return!i||t.allowUrls.some(function(o){return tF(i,o)})},n.prototype._mergeOptions=function(r){return void 0===r&&(r={}),{allowUrls:Lo(this._options.whitelistUrls||[],this._options.allowUrls||[],r.whitelistUrls||[],r.allowUrls||[]),denyUrls:Lo(this._options.blacklistUrls||[],this._options.denyUrls||[],r.blacklistUrls||[],r.denyUrls||[]),ignoreErrors:Lo(this._options.ignoreErrors||[],r.ignoreErrors||[],uxe),ignoreInternal:void 0===this._options.ignoreInternal||this._options.ignoreInternal}},n.prototype._getPossibleEventMessages=function(r){if(r.message)return[r.message];if(r.exception)try{var t=r.exception.values&&r.exception.values[0]||{},i=t.type,a=t.value,s=void 0===a?"":a;return[""+s,(void 0===i?"":i)+": "+s]}catch(u){return Di.error("Cannot extract message for event "+(0,Br.jH)(r)),[]}return[]},n.prototype._getLastValidUrl=function(r){void 0===r&&(r=[]);for(var t,i,o=r.length-1;o>=0;o--){var a=r[o];if("<anonymous>"!==(null===(t=a)||void 0===t?void 0:t.filename)&&"[native code]"!==(null===(i=a)||void 0===i?void 0:i.filename))return a.filename||null}return null},n.prototype._getEventFilterUrl=function(r){try{return r.stacktrace?this._getLastValidUrl(r.stacktrace.frames):r.exception?this._getLastValidUrl(r.exception.values&&r.exception.values[0].stacktrace&&r.exception.values[0].stacktrace.frames):null}catch(o){return Di.error("Cannot extract url for event "+(0,Br.jH)(r)),null}},n.id="InboundFilters",n}(),dxe=function(){function n(){this.name=n.id}return n.prototype.setupOnce=function(){Kz=Function.prototype.toString,Function.prototype.toString=function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var i=this.__sentry_original__||this;return Kz.apply(i,r)}},n.id="FunctionToString",n}();function oF(){if(!("fetch"in(0,Br.Rf)()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(n){return!1}}function aF(n){return n&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(n.toString())}function fxe(){if(!oF())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(n){return!1}}var nD,rD,iD,Fo=(0,Br.Rf)(),eT={},Xz={};function uh(n){!n||"string"!=typeof n.type||"function"!=typeof n.callback||(eT[n.type]=eT[n.type]||[],eT[n.type].push(n.callback),function(n){if(!Xz[n])switch(Xz[n]=!0,n){case"console":"console"in Fo&&["debug","info","warn","error","log","assert"].forEach(function(n){n in Fo.console&&ws(Fo.console,n,function(r){return function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];ac("console",{args:t,level:n}),r&&Function.prototype.apply.call(r,Fo.console,t)}})});break;case"dom":!function(){if("document"in Fo){var n=ac.bind(null,"dom"),r=$z(n,!0);Fo.document.addEventListener("click",r,!1),Fo.document.addEventListener("keypress",r,!1),["EventTarget","Node"].forEach(function(t){var i=Fo[t]&&Fo[t].prototype;!i||!i.hasOwnProperty||!i.hasOwnProperty("addEventListener")||(ws(i,"addEventListener",function(o){return function(a,s,u){if("click"===a||"keypress"==a)try{var m=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},b=m[a]=m[a]||{refCount:0};if(!b.handler){var I=$z(n);b.handler=I,o.call(this,a,I,u)}b.refCount+=1}catch(F){}return o.call(this,a,s,u)}}),ws(i,"removeEventListener",function(o){return function(a,s,u){if("click"===a||"keypress"==a)try{var m=this.__sentry_instrumentation_handlers__||{},b=m[a];b&&(b.refCount-=1,b.refCount<=0&&(o.call(this,a,b.handler,u),b.handler=void 0,delete m[a]),0===Object.keys(m).length&&delete this.__sentry_instrumentation_handlers__)}catch(I){}return o.call(this,a,s,u)}}))})}}();break;case"xhr":!function(){if("XMLHttpRequest"in Fo){var n=[],r=[],t=XMLHttpRequest.prototype;ws(t,"open",function(i){return function(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];var s=this,u=o[1];s.__sentry_xhr__={method:Cy(o[0])?o[0].toUpperCase():o[0],url:o[1]},Cy(u)&&"POST"===s.__sentry_xhr__.method&&u.match(/sentry_key/)&&(s.__sentry_own_request__=!0);var p=function(){if(4===s.readyState){try{s.__sentry_xhr__&&(s.__sentry_xhr__.status_code=s.status)}catch(F){}try{var b=n.indexOf(s);if(-1!==b){n.splice(b);var I=r.splice(b)[0];s.__sentry_xhr__&&void 0!==I[0]&&(s.__sentry_xhr__.body=I[0])}}catch(F){}ac("xhr",{args:o,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:s})}};return"onreadystatechange"in s&&"function"==typeof s.onreadystatechange?ws(s,"onreadystatechange",function(m){return function(){for(var b=[],I=0;I<arguments.length;I++)b[I]=arguments[I];return p(),m.apply(s,b)}}):s.addEventListener("readystatechange",p),i.apply(s,o)}}),ws(t,"send",function(i){return function(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];return n.push(this),r.push(o),ac("xhr",{args:o,startTimestamp:Date.now(),xhr:this}),i.apply(this,o)}})}}();break;case"fetch":!function(){if(!oF())return!1;var n=(0,Br.Rf)();if(aF(n.fetch))return!0;var r=!1,t=n.document;if(t&&"function"==typeof t.createElement)try{var i=t.createElement("iframe");i.hidden=!0,t.head.appendChild(i),i.contentWindow&&i.contentWindow.fetch&&(r=aF(i.contentWindow.fetch)),t.head.removeChild(i)}catch(o){Di.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",o)}return r}()||ws(Fo,"fetch",function(n){return function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var i={args:r,fetchData:{method:_xe(r),url:yxe(r)},startTimestamp:Date.now()};return ac("fetch",Hn({},i)),n.apply(Fo,r).then(function(o){return ac("fetch",Hn(Hn({},i),{endTimestamp:Date.now(),response:o})),o},function(o){throw ac("fetch",Hn(Hn({},i),{endTimestamp:Date.now(),error:o})),o})}});break;case"history":!function(){if(function(){var n=(0,Br.Rf)(),r=n.chrome;return!(r&&r.app&&r.app.runtime||!("history"in n)||!n.history.pushState||!n.history.replaceState)}()){var n=Fo.onpopstate;Fo.onpopstate=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var o=Fo.location.href,a=nD;if(nD=o,ac("history",{from:a,to:o}),n)try{return n.apply(this,t)}catch(s){}},ws(Fo.history,"pushState",r),ws(Fo.history,"replaceState",r)}function r(t){return function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];var a=i.length>2?i[2]:void 0;if(a){var s=nD,u=String(a);nD=u,ac("history",{from:s,to:u})}return t.apply(this,i)}}}();break;case"error":sF=Fo.onerror,Fo.onerror=function(n,r,t,i,o){return ac("error",{column:i,error:o,line:t,msg:n,url:r}),!!sF&&sF.apply(this,arguments)};break;case"unhandledrejection":lF=Fo.onunhandledrejection,Fo.onunhandledrejection=function(n){return ac("unhandledrejection",n),!lF||lF.apply(this,arguments)};break;default:Di.warn("unknown instrumentation type:",n)}}(n.type))}function ac(n,r){var t,i;if(n&&eT[n])try{for(var o=Cv(eT[n]||[]),a=o.next();!a.done;a=o.next()){var s=a.value;try{s(r)}catch(u){Di.error("Error while triggering instrumentation handler.\nType: "+n+"\nName: "+sh(s)+"\nError: "+u)}}}catch(u){t={error:u}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(t)throw t.error}}}function _xe(n){return void 0===n&&(n=[]),"Request"in Fo&&ah(n[0],Request)&&n[0].method?String(n[0].method).toUpperCase():n[1]&&n[1].method?String(n[1].method).toUpperCase():"GET"}function yxe(n){return void 0===n&&(n=[]),"string"==typeof n[0]?n[0]:"Request"in Fo&&ah(n[0],Request)?n[0].url:String(n[0])}function $z(n,r){return void 0===r&&(r=!1),function(t){if(t&&iD!==t&&!function(n){if("keypress"!==n.type)return!1;try{var r=n.target;if(!r||!r.tagName)return!0;if("INPUT"===r.tagName||"TEXTAREA"===r.tagName||r.isContentEditable)return!1}catch(t){}return!0}(t)){var i="keypress"===t.type?"input":t.type;(void 0===rD||function(n,r){if(!n||n.type!==r.type)return!0;try{if(n.target!==r.target)return!0}catch(t){}return!1}(iD,t))&&(n({event:t,name:i,global:r}),iD=t),clearTimeout(rD),rD=Fo.setTimeout(function(){rD=void 0},1e3)}}}var sc,sF=null,lF=null;!function(n){n.BeforeSend="before_send",n.EventProcessor="event_processor",n.NetworkError="network_error",n.QueueOverflow="queue_overflow",n.RateLimitBackoff="ratelimit_backoff",n.SampleRate="sample_rate"}(sc||(sc={}));var Mxe=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(n,r){return n.__proto__=r,n}:function(n,r){for(var t in r)n.hasOwnProperty(t)||(n[t]=r[t]);return n}),Ea=function(n){function r(t){var i=this.constructor,o=n.call(this,t)||this;return o.message=t,o.name=i.prototype.constructor.name,Mxe(o,i.prototype),o}return QS(r,n),r}(Error),Oxe=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/,tT="Invalid Dsn",tW=function(){function n(r){"string"==typeof r?this._fromString(r):this._fromComponents(r),this._validate()}return n.prototype.toString=function(r){void 0===r&&(r=!1);var t=this,o=t.path,a=t.pass,s=t.port;return t.protocol+"://"+t.publicKey+(r&&a?":"+a:"")+"@"+t.host+(s?":"+s:"")+"/"+(o&&o+"/")+t.projectId},n.prototype._fromString=function(r){var t=Oxe.exec(r);if(!t)throw new Ea(tT);var i=KS(t.slice(1),6),o=i[0],a=i[1],s=i[2],u=void 0===s?"":s,p=i[3],m=i[4],b=void 0===m?"":m,F="",G=i[5],Y=G.split("/");if(Y.length>1&&(F=Y.slice(0,-1).join("/"),G=Y.pop()),G){var $=G.match(/^\d+/);$&&(G=$[0])}this._fromComponents({host:p,pass:u,path:F,projectId:G,port:b,protocol:o,publicKey:a})},n.prototype._fromComponents=function(r){"user"in r&&!("publicKey"in r)&&(r.publicKey=r.user),this.user=r.publicKey||"",this.protocol=r.protocol,this.publicKey=r.publicKey||"",this.pass=r.pass||"",this.host=r.host,this.port=r.port||"",this.path=r.path||"",this.projectId=r.projectId},n.prototype._validate=function(){var r=this;if(["protocol","publicKey","host","projectId"].forEach(function(t){if(!r[t])throw new Ea(tT+": "+t+" missing")}),!this.projectId.match(/^\d+$/))throw new Ea(tT+": Invalid projectId "+this.projectId);if("http"!==this.protocol&&"https"!==this.protocol)throw new Ea(tT+": Invalid protocol "+this.protocol);if(this.port&&isNaN(parseInt(this.port,10)))throw new Ea(tT+": Invalid port "+this.port)},n}(),nW=[];function rW(n){return n.reduce(function(r,t){return r.every(function(i){return t.name!==i.name})&&r.push(t),r},[])}var Tv,Nxe=function(){function n(r,t){this._integrations={},this._numProcessing=0,this._backend=new r(t),this._options=t,t.dsn&&(this._dsn=new tW(t.dsn))}return n.prototype.captureException=function(r,t,i){var o=this,a=t&&t.event_id;return this._process(this._getBackend().eventFromException(r,t).then(function(s){return o._captureEvent(s,t,i)}).then(function(s){a=s})),a},n.prototype.captureMessage=function(r,t,i,o){var a=this,s=i&&i.event_id,u=K2(r)?this._getBackend().eventFromMessage(String(r),t,i):this._getBackend().eventFromException(r,i);return this._process(u.then(function(p){return a._captureEvent(p,i,o)}).then(function(p){s=p})),s},n.prototype.captureEvent=function(r,t,i){var o=t&&t.event_id;return this._process(this._captureEvent(r,t,i).then(function(a){o=a})),o},n.prototype.captureSession=function(r){this._isEnabled()?"string"!=typeof r.release?Di.warn("Discarded session because of missing or non-string release"):(this._sendSession(r),r.update({init:!1})):Di.warn("SDK not enabled, will not capture session.")},n.prototype.getDsn=function(){return this._dsn},n.prototype.getOptions=function(){return this._options},n.prototype.getTransport=function(){return this._getBackend().getTransport()},n.prototype.flush=function(r){var t=this;return this._isClientDoneProcessing(r).then(function(i){return t.getTransport().close(r).then(function(o){return i&&o})})},n.prototype.close=function(r){var t=this;return this.flush(r).then(function(i){return t.getOptions().enabled=!1,i})},n.prototype.setupIntegrations=function(){this._isEnabled()&&!this._integrations.initialized&&(this._integrations=function(n){var r={};return function(n){var r=n.defaultIntegrations&&Lo(n.defaultIntegrations)||[],t=n.integrations,i=Lo(rW(r));Array.isArray(t)?i=Lo(i.filter(function(s){return t.every(function(u){return u.name!==s.name})}),rW(t)):"function"==typeof t&&(i=t(i),i=Array.isArray(i)?i:[i]);var o=i.map(function(s){return s.name}),a="Debug";return-1!==o.indexOf(a)&&i.push.apply(i,Lo(i.splice(o.indexOf(a),1))),i}(n).forEach(function(t){r[t.name]=t,function(n){-1===nW.indexOf(n.name)&&(n.setupOnce($2,ks),nW.push(n.name),Di.log("Integration installed: "+n.name))}(t)}),Object.defineProperty(r,"initialized",{value:!0}),r}(this._options))},n.prototype.getIntegration=function(r){try{return this._integrations[r.id]||null}catch(t){return Di.warn("Cannot retrieve integration "+r.id+" from the current Client"),null}},n.prototype._updateSessionFromEvent=function(r,t){var i,o,a=!1,s=!1,u=t.exception&&t.exception.values;if(u){s=!0;try{for(var p=Cv(u),m=p.next();!m.done;m=p.next()){var I=m.value.mechanism;if(I&&!1===I.handled){a=!0;break}}}catch(Y){i={error:Y}}finally{try{m&&!m.done&&(o=p.return)&&o.call(p)}finally{if(i)throw i.error}}}var F=r.status===_p.Ok;(F&&0===r.errors||F&&a)&&(r.update(Hn(Hn({},a&&{status:_p.Crashed}),{errors:r.errors||Number(s||a)})),this.captureSession(r))},n.prototype._sendSession=function(r){this._getBackend().sendSession(r)},n.prototype._isClientDoneProcessing=function(r){var t=this;return new ml(function(i){var o=0,s=setInterval(function(){0==t._numProcessing?(clearInterval(s),i(!0)):(o+=1,r&&o>=r&&(clearInterval(s),i(!1)))},1)})},n.prototype._getBackend=function(){return this._backend},n.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},n.prototype._prepareEvent=function(r,t,i){var o=this,a=this.getOptions().normalizeDepth,s=void 0===a?3:a,u=Hn(Hn({},r),{event_id:r.event_id||(i&&i.event_id?i.event_id:(0,Br.DM)()),timestamp:r.timestamp||(0,by.yW)()});this._applyClientOptions(u),this._applyIntegrationsMetadata(u);var p=t;i&&i.captureContext&&(p=X2.clone(p).update(i.captureContext));var m=ml.resolve(u);return p&&(m=p.applyToEvent(u,i)),m.then(function(b){return"number"==typeof s&&s>0?o._normalizeEvent(b,s):b})},n.prototype._normalizeEvent=function(r,t){if(!r)return null;var i=Hn(Hn(Hn(Hn(Hn({},r),r.breadcrumbs&&{breadcrumbs:r.breadcrumbs.map(function(s){return Hn(Hn({},s),s.data&&{data:Ty(s.data,t)})})}),r.user&&{user:Ty(r.user,t)}),r.contexts&&{contexts:Ty(r.contexts,t)}),r.extra&&{extra:Ty(r.extra,t)});r.contexts&&r.contexts.trace&&(i.contexts.trace=r.contexts.trace);var o=this.getOptions()._experiments;return(void 0===o?{}:o).ensureNoCircularStructures?Ty(i):i},n.prototype._applyClientOptions=function(r){var t=this.getOptions(),o=t.release,a=t.dist,s=t.maxValueLength,u=void 0===s?250:s;"environment"in r||(r.environment="environment"in t?t.environment:"production"),void 0===r.release&&void 0!==o&&(r.release=o),void 0===r.dist&&void 0!==a&&(r.dist=a),r.message&&(r.message=XS(r.message,u));var p=r.exception&&r.exception.values&&r.exception.values[0];p&&p.value&&(p.value=XS(p.value,u));var m=r.request;m&&m.url&&(m.url=XS(m.url,u))},n.prototype._applyIntegrationsMetadata=function(r){var t=Object.keys(this._integrations);t.length>0&&(r.sdk=r.sdk||{},r.sdk.integrations=Lo(r.sdk.integrations||[],t))},n.prototype._sendEvent=function(r){this._getBackend().sendEvent(r)},n.prototype._captureEvent=function(r,t,i){return this._processEvent(r,t,i).then(function(o){return o.event_id},function(o){Di.error(o)})},n.prototype._processEvent=function(r,t,i){var a,s,o=this,u=this.getOptions(),p=u.beforeSend,m=u.sampleRate,b=this.getTransport();if(!this._isEnabled())return ml.reject(new Ea("SDK not enabled, will not capture event."));var I="transaction"===r.type;return!I&&"number"==typeof m&&Math.random()>m?(null===(s=(a=b).recordLostEvent)||void 0===s||s.call(a,sc.SampleRate,"event"),ml.reject(new Ea("Discarding event because it's not included in the random sample (sampling rate = "+m+")"))):this._prepareEvent(r,i,t).then(function(F){var G,Y;if(null===F)throw null===(Y=(G=b).recordLostEvent)||void 0===Y||Y.call(G,sc.EventProcessor,r.type||"event"),new Ea("An event processor returned null, will not send event.");if(t&&t.data&&!0===t.data.__sentry__||I||!p)return F;var de=p(F,t);return o._ensureBeforeSendRv(de)}).then(function(F){var G,Y;if(null===F)throw null===(Y=(G=b).recordLostEvent)||void 0===Y||Y.call(G,sc.BeforeSend,r.type||"event"),new Ea("`beforeSend` returned `null`, will not send event.");var $=i&&i.getSession&&i.getSession();return!I&&$&&o._updateSessionFromEvent($,F),o._sendEvent(F),F}).then(null,function(F){throw F instanceof Ea?F:(o.captureException(F,{data:{__sentry__:!0},originalException:F}),new Ea("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+F))})},n.prototype._process=function(r){var t=this;this._numProcessing+=1,r.then(function(i){return t._numProcessing-=1,i},function(i){return t._numProcessing-=1,i})},n.prototype._ensureBeforeSendRv=function(r){var t="`beforeSend` method has to return `null` or a valid event.";if($L(r))return r.then(function(i){if(!Sy(i)&&null!==i)throw new Ea(t);return i},function(i){throw new Ea("beforeSend rejected with "+i)});if(!Sy(r)&&null!==r)throw new Ea(t);return r},n}();(function(n){n.Unknown="unknown",n.Skipped="skipped",n.Success="success",n.RateLimit="rate_limit",n.Invalid="invalid",n.Failed="failed"})(Tv||(Tv={})),function(n){n.fromHttpCode=function(t){return t>=200&&t<300?n.Success:429===t?n.RateLimit:t>=400&&t<500?n.Invalid:t>=500?n.Failed:n.Unknown}}(Tv||(Tv={}));var fd,Zxe=function(){function n(){}return n.prototype.sendEvent=function(r){return ml.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:Tv.Skipped})},n.prototype.close=function(r){return ml.resolve(!0)},n}(),Lxe=function(){function n(r){this._options=r,this._options.dsn||Di.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return n.prototype.eventFromException=function(r,t){throw new Ea("Backend has to implement `eventFromException` method")},n.prototype.eventFromMessage=function(r,t,i){throw new Ea("Backend has to implement `eventFromMessage` method")},n.prototype.sendEvent=function(r){this._transport.sendEvent(r).then(null,function(t){Di.error("Error while sending event: "+t)})},n.prototype.sendSession=function(r){this._transport.sendSession?this._transport.sendSession(r).then(null,function(t){Di.error("Error while sending session: "+t)}):Di.warn("Dropping session because custom transport doesn't implement sendSession")},n.prototype.getTransport=function(){return this._transport},n.prototype._setupTransport=function(){return new Zxe},n}();(function(n){n.Fatal="fatal",n.Error="error",n.Warning="warning",n.Log="log",n.Info="info",n.Debug="debug",n.Critical="critical"})(fd||(fd={})),function(n){n.fromString=function(t){switch(t){case"debug":return n.Debug;case"info":return n.Info;case"warn":case"warning":return n.Warning;case"error":return n.Error;case"fatal":return n.Fatal;case"critical":return n.Critical;case"log":default:return n.Log}}}(fd||(fd={}));var Fxe=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Bxe=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Uxe=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Hxe=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Vxe=/\((\S*)(?::(\d+))(?::(\d+))\)/,qxe=/Minified React error #\d+;/i;function nT(n){var r=null,t=0;n&&("number"==typeof n.framesToPop?t=n.framesToPop:qxe.test(n.message)&&(t=1));try{if(r=function(n){if(!n||!n.stacktrace)return null;for(var s,t=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,i=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\((.*)\))? in (.*):\s*$/i,o=n.stacktrace.split("\n"),a=[],u=0;u<o.length;u+=2){var p=null;(s=t.exec(o[u]))?p={url:s[2],func:s[3],args:[],line:+s[1],column:null}:(s=i.exec(o[u]))&&(p={url:s[6],func:s[3]||s[4],args:s[5]?s[5].split(","):[],line:+s[1],column:+s[2]}),p&&(!p.func&&p.line&&(p.func="?"),a.push(p))}return a.length?{message:uF(n),name:n.name,stack:a}:null}(n))return oW(r,t)}catch(i){}try{if(r=function(n){var r,t;if(!n||!n.stack)return null;for(var s,u,p,i=[],o=n.stack.split("\n"),m=0;m<o.length;++m){if(u=Fxe.exec(o[m])){var b=u[2]&&0===u[2].indexOf("native");u[2]&&0===u[2].indexOf("eval")&&(s=Vxe.exec(u[2]))&&(u[2]=s[1],u[3]=s[2],u[4]=s[3]);var I=u[2]&&0===u[2].indexOf("address at ")?u[2].substr("address at ".length):u[2];p={url:I=(r=KS(iW(u[1]||"?",I),2))[1],func:r[0],args:b?[u[2]]:[],line:u[3]?+u[3]:null,column:u[4]?+u[4]:null}}else if(u=Uxe.exec(o[m]))p={url:u[2],func:u[1]||"?",args:[],line:+u[3],column:u[4]?+u[4]:null};else{if(!(u=Bxe.exec(o[m])))continue;u[3]&&u[3].indexOf(" > eval")>-1&&(s=Hxe.exec(u[3]))?(u[1]=u[1]||"eval",u[3]=s[1],u[4]=s[2],u[5]=""):0===m&&!u[5]&&void 0!==n.columnNumber&&(i[0].column=n.columnNumber+1),p={url:I=(t=KS(iW(u[1]||"?",I=u[3]),2))[1],func:t[0],args:u[2]?u[2].split(","):[],line:u[4]?+u[4]:null,column:u[5]?+u[5]:null}}!p.func&&p.line&&(p.func="?"),i.push(p)}return i.length?{message:uF(n),name:n.name,stack:i}:null}(n))return oW(r,t)}catch(i){}return{message:uF(n),name:n&&n.name,stack:[],failed:!0}}var iW=function(r,t){var i=-1!==r.indexOf("safari-extension"),o=-1!==r.indexOf("safari-web-extension");return i||o?[-1!==r.indexOf("@")?r.split("@")[0]:"?",i?"safari-extension:"+t:"safari-web-extension:"+t]:[r,t]};function oW(n,r){try{return Hn(Hn({},n),{stack:n.stack.slice(r)})}catch(t){return n}}function uF(n){var r=n&&n.message;return r?r.error&&"string"==typeof r.error.message?r.error.message:r:"No error message"}function aW(n){var r=cF(n.stack),t={type:n.name,value:n.message};return r&&r.length&&(t.stacktrace={frames:r}),void 0===t.type&&""===t.value&&(t.value="Unrecoverable error caught"),t}function sW(n){return{exception:{values:[aW(n)]}}}function cF(n){if(!n||!n.length)return[];var r=n,t=r[0].func||"",i=r[r.length-1].func||"";return(-1!==t.indexOf("captureMessage")||-1!==t.indexOf("captureException"))&&(r=r.slice(1)),-1!==i.indexOf("sentryWrapped")&&(r=r.slice(0,-1)),r.slice(0,50).map(function(o){return{colno:null===o.column?void 0:o.column,filename:o.url||r[0].url,function:o.func||"?",in_app:!0,lineno:null===o.line?void 0:o.line}}).reverse()}function dF(n,r,t){var i;if(void 0===t&&(t={}),Fz(n)&&n.error)return sW(nT(n=n.error));if(Bz(n)||function(n){return"[object DOMException]"===Object.prototype.toString.call(n)}(n)){var a=n,s=a.name||(Bz(a)?"DOMError":"DOMException"),u=a.message?s+": "+a.message:s;return i=pF(u,r,t),(0,Br.Db)(i,u),"code"in a&&(i.tags=Hn(Hn({},i.tags),{"DOMException.code":""+a.code})),i}return Lz(n)?i=sW(nT(n)):Sy(n)||XL(n)?(i=function(n,r,t){var i={exception:{values:[{type:XL(n)?n.constructor.name:t?"UnhandledRejection":"Error",value:"Non-Error "+(t?"promise rejection":"exception")+" captured with keys: "+rxe(n)}]},extra:{__serialized__:zz(n)}};if(r){var a=cF(nT(r).stack);i.stacktrace={frames:a}}return i}(n,r,t.rejection),(0,Br.EG)(i,{synthetic:!0}),i):(i=pF(n,r,t),(0,Br.Db)(i,""+n,void 0),(0,Br.EG)(i,{synthetic:!0}),i)}function pF(n,r,t){void 0===t&&(t={});var i={message:n};if(t.attachStacktrace&&r){var a=cF(nT(r).stack);i.stacktrace={frames:a}}return i}function lW(n){if(n.metadata&&n.metadata.sdk){var r=n.metadata.sdk;return{name:r.name,version:r.version}}}function Qxe(n,r){return r&&(n.sdk=n.sdk||{},n.sdk.name=n.sdk.name||r.name,n.sdk.version=n.sdk.version||r.version,n.sdk.integrations=Lo(n.sdk.integrations||[],r.integrations||[]),n.sdk.packages=Lo(n.sdk.packages||[],r.packages||[])),n}function uW(n,r){var t=lW(r),o="aggregates"in n?"sessions":"session";return{body:JSON.stringify(Hn(Hn({sent_at:(new Date).toISOString()},t&&{sdk:t}),r.forceEnvelope()&&{dsn:r.getDsn().toString()}))+"\n"+JSON.stringify({type:o})+"\n"+JSON.stringify(n),type:o,url:r.getEnvelopeEndpointWithUrlEncodedAuth()}}function cW(n,r){var t=lW(r),i=n.type||"event",o="transaction"===i||r.forceEnvelope(),a=n.debug_meta||{},s=a.transactionSampling,u=function(n,r){var t={};for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&r.indexOf(i)<0&&(t[i]=n[i]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(n);o<i.length;o++)r.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(n,i[o])&&(t[i[o]]=n[i[o]])}return t}(a,["transactionSampling"]),p=s||{},m=p.method,b=p.rate;0===Object.keys(u).length?delete n.debug_meta:n.debug_meta=u;var I={body:JSON.stringify(t?Qxe(n,r.metadata.sdk):n),type:i,url:o?r.getEnvelopeEndpointWithUrlEncodedAuth():r.getStoreEndpointWithUrlEncodedAuth()};if(o){var F=JSON.stringify(Hn(Hn({event_id:n.event_id,sent_at:(new Date).toISOString()},t&&{sdk:t}),r.forceEnvelope()&&{dsn:r.getDsn().toString()})),G=JSON.stringify({type:i,sample_rates:[{id:m,rate:b}]});I.body=F+"\n"+G+"\n"+I.body}return I}var pW=function(){function n(r,t,i){void 0===t&&(t={}),this.dsn=r,this._dsnObject=new tW(r),this.metadata=t,this._tunnel=i}return n.prototype.getDsn=function(){return this._dsnObject},n.prototype.forceEnvelope=function(){return!!this._tunnel},n.prototype.getBaseApiEndpoint=function(){var r=this.getDsn();return(r.protocol?r.protocol+":":"")+"//"+r.host+(r.port?":"+r.port:"")+(r.path?"/"+r.path:"")+"/api/"},n.prototype.getStoreEndpoint=function(){return this._getIngestEndpoint("store")},n.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return this.getStoreEndpoint()+"?"+this._encodedAuth()},n.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return this.forceEnvelope()?this._tunnel:this._getEnvelopeEndpoint()+"?"+this._encodedAuth()},n.prototype.getStoreEndpointPath=function(){var r=this.getDsn();return(r.path?"/"+r.path:"")+"/api/"+r.projectId+"/store/"},n.prototype.getRequestHeaders=function(r,t){var i=this.getDsn(),o=["Sentry sentry_version=7"];return o.push("sentry_client="+r+"/"+t),o.push("sentry_key="+i.publicKey),i.pass&&o.push("sentry_secret="+i.pass),{"Content-Type":"application/json","X-Sentry-Auth":o.join(", ")}},n.prototype.getReportDialogEndpoint=function(r){void 0===r&&(r={});var t=this.getDsn(),i=this.getBaseApiEndpoint()+"embed/error-page/",o=[];for(var a in o.push("dsn="+t.toString()),r)if("dsn"!==a)if("user"===a){if(!r.user)continue;r.user.name&&o.push("name="+encodeURIComponent(r.user.name)),r.user.email&&o.push("email="+encodeURIComponent(r.user.email))}else o.push(encodeURIComponent(a)+"="+encodeURIComponent(r[a]));return o.length?i+"?"+o.join("&"):i},n.prototype._getEnvelopeEndpoint=function(){return this._getIngestEndpoint("envelope")},n.prototype._getIngestEndpoint=function(r){return this._tunnel?this._tunnel:""+this.getBaseApiEndpoint()+this.getDsn().projectId+"/"+r+"/"},n.prototype._encodedAuth=function(){return function(n){return Object.keys(n).map(function(r){return encodeURIComponent(r)+"="+encodeURIComponent(n[r])}).join("&")}({sentry_key:this.getDsn().publicKey,sentry_version:"7"})},n}(),Kxe=function(){function n(r){this._limit=r,this._buffer=[]}return n.prototype.isReady=function(){return void 0===this._limit||this.length()<this._limit},n.prototype.add=function(r){var t=this;if(!this.isReady())return ml.reject(new Ea("Not adding Promise due to buffer limit reached."));var i=r();return-1===this._buffer.indexOf(i)&&this._buffer.push(i),i.then(function(){return t.remove(i)}).then(null,function(){return t.remove(i).then(null,function(){})}),i},n.prototype.remove=function(r){return this._buffer.splice(this._buffer.indexOf(r),1)[0]},n.prototype.length=function(){return this._buffer.length},n.prototype.drain=function(r){var t=this;return new ml(function(i){var o=setTimeout(function(){r&&r>0&&i(!1)},r);ml.all(t._buffer).then(function(){clearTimeout(o),i(!0)}).then(null,function(){i(!0)})})},n}(),fW={event:"error",transaction:"transaction",session:"session",attachment:"attachment"},wy=(0,Br.Rf)(),hW=function(){function n(r){var t=this;this.options=r,this._buffer=new Kxe(30),this._rateLimits={},this._outcomes={},this._api=new pW(r.dsn,r._metadata,r.tunnel),this.url=this._api.getStoreEndpointWithUrlEncodedAuth(),this.options.sendClientReports&&wy.document&&wy.document.addEventListener("visibilitychange",function(){"hidden"===wy.document.visibilityState&&t._flushOutcomes()})}return n.prototype.sendEvent=function(r){throw new Ea("Transport Class has to implement `sendEvent` method")},n.prototype.close=function(r){return this._buffer.drain(r)},n.prototype.recordLostEvent=function(r,t){var i;if(this.options.sendClientReports){var o=fW[t]+":"+r;Di.log("Adding outcome: "+o),this._outcomes[o]=(null!=(i=this._outcomes[o])?i:0)+1}},n.prototype._flushOutcomes=function(){if(this.options.sendClientReports){if(!wy.navigator||"function"!=typeof wy.navigator.sendBeacon)return void Di.warn("Beacon API not available, skipping sending outcomes.");var r=this._outcomes;if(this._outcomes={},!Object.keys(r).length)return void Di.log("No outcomes to flush");Di.log("Flushing outcomes:\n"+JSON.stringify(r,null,2));var t=this._api.getEnvelopeEndpointWithUrlEncodedAuth(),i=JSON.stringify({}),o=JSON.stringify({type:"client_report"}),a=JSON.stringify({timestamp:(0,by.yW)(),discarded_events:Object.keys(r).map(function(u){var p=KS(u.split(":"),2);return{reason:p[1],category:p[0],quantity:r[u]}})});wy.navigator.sendBeacon(t,i+"\n"+o+"\n"+a)}},n.prototype._handleResponse=function(r){var t=r.requestType,i=r.response,o=r.headers,a=r.resolve,s=r.reject,u=Tv.fromHttpCode(i.status);this._handleRateLimit(o)&&Di.warn("Too many "+t+" requests, backing off until: "+this._disabledUntil(t)),u!==Tv.Success?s(i):a({status:u})},n.prototype._disabledUntil=function(r){return this._rateLimits[fW[r]]||this._rateLimits.all},n.prototype._isRateLimited=function(r){return this._disabledUntil(r)>new Date(Date.now())},n.prototype._handleRateLimit=function(r){var t,i,o,a,s=Date.now(),u=r["x-sentry-rate-limits"],p=r["retry-after"];if(u){try{for(var m=Cv(u.trim().split(",")),b=m.next();!b.done;b=m.next()){var F=b.value.split(":",2),G=parseInt(F[0],10),Y=1e3*(isNaN(G)?60:G);try{for(var $=(o=void 0,Cv(F[1].split(";"))),de=$.next();!de.done;de=$.next())this._rateLimits[de.value||"all"]=new Date(s+Y)}catch(st){o={error:st}}finally{try{de&&!de.done&&(a=$.return)&&a.call($)}finally{if(o)throw o.error}}}}catch(st){t={error:st}}finally{try{b&&!b.done&&(i=m.return)&&i.call(m)}finally{if(t)throw t.error}}return!0}return!!p&&(this._rateLimits.all=new Date(s+(0,Br.JY)(s,p)),!0)},n}(),$xe=function(n){function r(t,i){void 0===i&&(i=function(){var n,r,t=(0,Br.Rf)();if(aF(t.fetch))return t.fetch.bind(t);var i=t.document,o=t.fetch;if("function"==typeof(null===(n=i)||void 0===n?void 0:n.createElement))try{var a=i.createElement("iframe");a.hidden=!0,i.head.appendChild(a),(null===(r=a.contentWindow)||void 0===r?void 0:r.fetch)&&(o=a.contentWindow.fetch),i.head.removeChild(a)}catch(s){Di.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",s)}return o.bind(t)}());var o=n.call(this,t)||this;return o._fetch=i,o}return QS(r,n),r.prototype.sendEvent=function(t){return this._sendRequest(cW(t,this._api),t)},r.prototype.sendSession=function(t){return this._sendRequest(uW(t,this._api),t)},r.prototype._sendRequest=function(t,i){var o=this;if(this._isRateLimited(t.type))return this.recordLostEvent(sc.RateLimitBackoff,t.type),Promise.reject({event:i,type:t.type,reason:"Transport for "+t.type+" requests locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429});var a={body:t.body,method:"POST",referrerPolicy:fxe()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(a,this.options.fetchParameters),void 0!==this.options.headers&&(a.headers=this.options.headers),this._buffer.add(function(){return new ml(function(s,u){o._fetch(t.url,a).then(function(p){var m={"x-sentry-rate-limits":p.headers.get("X-Sentry-Rate-Limits"),"retry-after":p.headers.get("Retry-After")};o._handleResponse({requestType:t.type,response:p,headers:m,resolve:s,reject:u})}).catch(u)})}).then(void 0,function(s){throw o.recordLostEvent(s instanceof Ea?sc.QueueOverflow:sc.NetworkError,t.type),s})},r}(hW),ewe=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return QS(r,n),r.prototype.sendEvent=function(t){return this._sendRequest(cW(t,this._api),t)},r.prototype.sendSession=function(t){return this._sendRequest(uW(t,this._api),t)},r.prototype._sendRequest=function(t,i){var o=this;return this._isRateLimited(t.type)?(this.recordLostEvent(sc.RateLimitBackoff,t.type),Promise.reject({event:i,type:t.type,reason:"Transport for "+t.type+" requests locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429})):this._buffer.add(function(){return new ml(function(a,s){var u=new XMLHttpRequest;for(var p in u.onreadystatechange=function(){if(4===u.readyState){var m={"x-sentry-rate-limits":u.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":u.getResponseHeader("Retry-After")};o._handleResponse({requestType:t.type,response:u,headers:m,resolve:a,reject:s})}},u.open("POST",t.url),o.options.headers)o.options.headers.hasOwnProperty(p)&&u.setRequestHeader(p,o.options.headers[p]);u.send(t.body)})}).then(void 0,function(a){throw o.recordLostEvent(a instanceof Ea?sc.QueueOverflow:sc.NetworkError,t.type),a})},r}(hW),twe=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return QS(r,n),r.prototype.eventFromException=function(t,i){return function(n,r,t){var o=dF(r,t&&t.syntheticException||void 0,{attachStacktrace:n.attachStacktrace});return(0,Br.EG)(o,{handled:!0,type:"generic"}),o.level=fd.Error,t&&t.event_id&&(o.event_id=t.event_id),ml.resolve(o)}(this._options,t,i)},r.prototype.eventFromMessage=function(t,i,o){return void 0===i&&(i=fd.Info),function(n,r,t,i){void 0===t&&(t=fd.Info);var a=pF(r,i&&i.syntheticException||void 0,{attachStacktrace:n.attachStacktrace});return a.level=t,i&&i.event_id&&(a.event_id=i.event_id),ml.resolve(a)}(this._options,t,i,o)},r.prototype._setupTransport=function(){if(!this._options.dsn)return n.prototype._setupTransport.call(this);var t=Hn(Hn({},this._options.transportOptions),{dsn:this._options.dsn,tunnel:this._options.tunnel,sendClientReports:this._options.sendClientReports,_metadata:this._options._metadata});return this._options.transport?new this._options.transport(t):oF()?new $xe(t):new ewe(t)},r}(Lxe),oD=(0,Br.Rf)(),fF=0;function mW(){return fF>0}function nwe(){fF+=1,setTimeout(function(){fF-=1})}function ky(n,r,t){if(void 0===r&&(r={}),"function"!=typeof n)return n;try{if(n.__sentry__)return n;if(n.__sentry_wrapped__)return n.__sentry_wrapped__}catch(s){return n}var i=function(){var u=Array.prototype.slice.call(arguments);try{t&&"function"==typeof t&&t.apply(this,arguments);var p=u.map(function(m){return ky(m,r)});return n.handleEvent?n.handleEvent.apply(this,p):n.apply(this,p)}catch(m){throw nwe(),sxe(function(b){b.addEventProcessor(function(I){var F=Hn({},I);return r.mechanism&&((0,Br.Db)(F,void 0,void 0),(0,Br.EG)(F,r.mechanism)),F.extra=Hn(Hn({},F.extra),{arguments:u}),F}),Qz(m)}),m}};try{for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(i[o]=n[o])}catch(s){}n.prototype=n.prototype||{},i.prototype=n.prototype,Object.defineProperty(n,"__sentry_wrapped__",{enumerable:!1,value:i}),Object.defineProperties(i,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:n}});try{Object.getOwnPropertyDescriptor(i,"name").configurable&&Object.defineProperty(i,"name",{get:function(){return n.name}})}catch(s){}return i}var vW=function(){function n(r){this.name=n.id,this._options=Hn({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},r)}return n.prototype.addSentryBreadcrumb=function(r){!this._options.sentry||ks().addBreadcrumb({category:"sentry."+("transaction"===r.type?"transaction":"event"),event_id:r.event_id,level:r.level,message:(0,Br.jH)(r)},{event:r})},n.prototype.setupOnce=function(){var r=this;this._options.console&&uh({callback:function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];r._consoleBreadcrumb.apply(r,Lo(i))},type:"console"}),this._options.dom&&uh({callback:function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];r._domBreadcrumb.apply(r,Lo(i))},type:"dom"}),this._options.xhr&&uh({callback:function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];r._xhrBreadcrumb.apply(r,Lo(i))},type:"xhr"}),this._options.fetch&&uh({callback:function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];r._fetchBreadcrumb.apply(r,Lo(i))},type:"fetch"}),this._options.history&&uh({callback:function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];r._historyBreadcrumb.apply(r,Lo(i))},type:"history"})},n.prototype._consoleBreadcrumb=function(r){var t={category:"console",data:{arguments:r.args,logger:"console"},level:fd.fromString(r.level),message:qz(r.args," ")};if("assert"===r.level){if(!1!==r.args[0])return;t.message="Assertion failed: "+(qz(r.args.slice(1)," ")||"console.assert"),t.data.arguments=r.args.slice(1)}ks().addBreadcrumb(t,{input:r.args,level:r.level})},n.prototype._domBreadcrumb=function(r){var t,i="object"==typeof this._options.dom?this._options.dom.serializeAttribute:void 0;"string"==typeof i&&(i=[i]);try{t=eD(r.event.target?r.event.target:r.event,i)}catch(o){t="<unknown>"}0!==t.length&&ks().addBreadcrumb({category:"ui."+r.name,message:t},{event:r.event,name:r.name,global:r.global})},n.prototype._xhrBreadcrumb=function(r){if(r.endTimestamp){if(r.xhr.__sentry_own_request__)return;var t=r.xhr.__sentry_xhr__||{},i=t.method,o=t.url,a=t.status_code,s=t.body;ks().addBreadcrumb({category:"xhr",data:{method:i,url:o,status_code:a},type:"http"},{xhr:r.xhr,input:s})}},n.prototype._fetchBreadcrumb=function(r){!r.endTimestamp||r.fetchData.url.match(/sentry_key/)&&"POST"===r.fetchData.method||(r.error?ks().addBreadcrumb({category:"fetch",data:r.fetchData,level:fd.Error,type:"http"},{data:r.error,input:r.args}):ks().addBreadcrumb({category:"fetch",data:Hn(Hn({},r.fetchData),{status_code:r.response.status}),type:"http"},{input:r.args,response:r.response}))},n.prototype._historyBreadcrumb=function(r){var t=(0,Br.Rf)(),i=r.from,o=r.to,a=(0,Br.en)(t.location.href),s=(0,Br.en)(i),u=(0,Br.en)(o);s.path||(s=a),a.protocol===u.protocol&&a.host===u.host&&(o=u.relative),a.protocol===s.protocol&&a.host===s.host&&(i=s.relative),ks().addBreadcrumb({category:"navigation",data:{from:i,to:o}})},n.id="Breadcrumbs",n}(),iwe=function(n){function r(t){return void 0===t&&(t={}),t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:"6.13.2"}],version:"6.13.2"},n.call(this,twe,t)||this}return QS(r,n),r.prototype.showReportDialog=function(t){if(void 0===t&&(t={}),(0,Br.Rf)().document){if(!this._isEnabled())return void Di.error("Trying to call showReportDialog with Sentry Client disabled");!function(n){if(void 0===n&&(n={}),oD.document){if(!n.eventId)return void Di.error("Missing eventId option in showReportDialog call");if(!n.dsn)return void Di.error("Missing dsn option in showReportDialog call");var r=oD.document.createElement("script");r.async=!0,r.src=new pW(n.dsn).getReportDialogEndpoint(n),n.onLoad&&(r.onload=n.onLoad);var t=oD.document.head||oD.document.body;t&&t.appendChild(r)}}(Hn(Hn({},t),{dsn:t.dsn||this.getDsn()}))}},r.prototype._prepareEvent=function(t,i,o){return t.platform=t.platform||"javascript",n.prototype._prepareEvent.call(this,t,i,o)},r.prototype._sendEvent=function(t){var i=this.getIntegration(vW);i&&i.addSentryBreadcrumb(t),n.prototype._sendEvent.call(this,t)},r}(Nxe),owe=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],awe=function(){function n(r){this.name=n.id,this._options=Hn({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},r)}return n.prototype.setupOnce=function(){var r=(0,Br.Rf)();this._options.setTimeout&&ws(r,"setTimeout",this._wrapTimeFunction.bind(this)),this._options.setInterval&&ws(r,"setInterval",this._wrapTimeFunction.bind(this)),this._options.requestAnimationFrame&&ws(r,"requestAnimationFrame",this._wrapRAF.bind(this)),this._options.XMLHttpRequest&&"XMLHttpRequest"in r&&ws(XMLHttpRequest.prototype,"send",this._wrapXHR.bind(this)),this._options.eventTarget&&(Array.isArray(this._options.eventTarget)?this._options.eventTarget:owe).forEach(this._wrapEventTarget.bind(this))},n.prototype._wrapTimeFunction=function(r){return function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var o=t[0];return t[0]=ky(o,{mechanism:{data:{function:sh(r)},handled:!0,type:"instrument"}}),r.apply(this,t)}},n.prototype._wrapRAF=function(r){return function(t){return r.call(this,ky(t,{mechanism:{data:{function:"requestAnimationFrame",handler:sh(r)},handled:!0,type:"instrument"}}))}},n.prototype._wrapEventTarget=function(r){var t=(0,Br.Rf)(),i=t[r]&&t[r].prototype;!i||!i.hasOwnProperty||!i.hasOwnProperty("addEventListener")||(ws(i,"addEventListener",function(o){return function(a,s,u){try{"function"==typeof s.handleEvent&&(s.handleEvent=ky(s.handleEvent.bind(s),{mechanism:{data:{function:"handleEvent",handler:sh(s),target:r},handled:!0,type:"instrument"}}))}catch(p){}return o.call(this,a,ky(s,{mechanism:{data:{function:"addEventListener",handler:sh(s),target:r},handled:!0,type:"instrument"}}),u)}}),ws(i,"removeEventListener",function(o){return function(a,s,u){var p,m=s;try{var b=null===(p=m)||void 0===p?void 0:p.__sentry_wrapped__;b&&o.call(this,a,b,u)}catch(I){}return o.call(this,a,m,u)}}))},n.prototype._wrapXHR=function(r){return function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var o=this,a=["onload","onerror","onprogress","onreadystatechange"];return a.forEach(function(s){s in o&&"function"==typeof o[s]&&ws(o,s,function(u){var p={mechanism:{data:{function:s,handler:sh(u)},handled:!0,type:"instrument"}};return u.__sentry_original__&&(p.mechanism.data.handler=sh(u.__sentry_original__)),ky(u,p)})}),r.apply(this,t)}},n.id="TryCatch",n}(),swe=function(){function n(r){this.name=n.id,this._onErrorHandlerInstalled=!1,this._onUnhandledRejectionHandlerInstalled=!1,this._options=Hn({onerror:!0,onunhandledrejection:!0},r)}return n.prototype.setupOnce=function(){Error.stackTraceLimit=50,this._options.onerror&&(Di.log("Global Handler attached: onerror"),this._installGlobalOnErrorHandler()),this._options.onunhandledrejection&&(Di.log("Global Handler attached: onunhandledrejection"),this._installGlobalOnUnhandledRejectionHandler())},n.prototype._installGlobalOnErrorHandler=function(){var r=this;this._onErrorHandlerInstalled||(uh({callback:function(i){var o=i.error,a=ks(),s=a.getIntegration(n),u=o&&!0===o.__sentry_own_request__;if(s&&!mW()&&!u){var p=a.getClient(),m=void 0===o&&Cy(i.msg)?r._eventFromIncompleteOnError(i.msg,i.url,i.line,i.column):r._enhanceEventWithInitialFrame(dF(o||i.msg,void 0,{attachStacktrace:p&&p.getOptions().attachStacktrace,rejection:!1}),i.url,i.line,i.column);(0,Br.EG)(m,{handled:!1,type:"onerror"}),a.captureEvent(m,{originalException:o})}},type:"error"}),this._onErrorHandlerInstalled=!0)},n.prototype._installGlobalOnUnhandledRejectionHandler=function(){var r=this;this._onUnhandledRejectionHandlerInstalled||(uh({callback:function(i){var o=i;try{"reason"in i?o=i.reason:"detail"in i&&"reason"in i.detail&&(o=i.detail.reason)}catch(b){}var a=ks(),s=a.getIntegration(n),u=o&&!0===o.__sentry_own_request__;if(!s||mW()||u)return!0;var p=a.getClient(),m=K2(o)?r._eventFromRejectionWithPrimitive(o):dF(o,void 0,{attachStacktrace:p&&p.getOptions().attachStacktrace,rejection:!0});m.level=fd.Error,(0,Br.EG)(m,{handled:!1,type:"onunhandledrejection"}),a.captureEvent(m,{originalException:o})},type:"unhandledrejection"}),this._onUnhandledRejectionHandlerInstalled=!0)},n.prototype._eventFromIncompleteOnError=function(r,t,i,o){var u,s=Fz(r)?r.message:r,p=s.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);return p&&(u=p[1],s=p[2]),this._enhanceEventWithInitialFrame({exception:{values:[{type:u||"Error",value:s}]}},t,i,o)},n.prototype._eventFromRejectionWithPrimitive=function(r){return{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(r)}]}}},n.prototype._enhanceEventWithInitialFrame=function(r,t,i,o){r.exception=r.exception||{},r.exception.values=r.exception.values||[],r.exception.values[0]=r.exception.values[0]||{},r.exception.values[0].stacktrace=r.exception.values[0].stacktrace||{},r.exception.values[0].stacktrace.frames=r.exception.values[0].stacktrace.frames||[];var a=isNaN(parseInt(o,10))?void 0:o,s=isNaN(parseInt(i,10))?void 0:i,u=Cy(t)&&t.length>0?t:(0,Br.l4)();return 0===r.exception.values[0].stacktrace.frames.length&&r.exception.values[0].stacktrace.frames.push({colno:a,filename:u,function:"?",in_app:!0,lineno:s}),r},n.id="GlobalHandlers",n}(),cwe=function(){function n(r){void 0===r&&(r={}),this.name=n.id,this._key=r.key||"cause",this._limit=r.limit||5}return n.prototype.setupOnce=function(){$2(function(r,t){var i=ks().getIntegration(n);if(i){var o=i._handler&&i._handler.bind(i);return"function"==typeof o?o(r,t):r}return r})},n.prototype._handler=function(r,t){if(!(r.exception&&r.exception.values&&t&&ah(t.originalException,Error)))return r;var i=this._walkErrorTree(t.originalException,this._key);return r.exception.values=Lo(i,r.exception.values),r},n.prototype._walkErrorTree=function(r,t,i){if(void 0===i&&(i=[]),!ah(r[t],Error)||i.length+1>=this._limit)return i;var a=aW(nT(r[t]));return this._walkErrorTree(r[t],t,Lo([a],i))},n.id="LinkedErrors",n}(),dwe=function(){function n(){this.name=n.id}return n.prototype.setupOnce=function(r,t){r(function(i){var o=t().getIntegration(n);if(o){try{if(o._shouldDropEvent(i,o._previousEvent))return Di.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(a){return o._previousEvent=i}return o._previousEvent=i}return i})},n.prototype._shouldDropEvent=function(r,t){return!(!t||!this._isSameMessageEvent(r,t)&&!this._isSameExceptionEvent(r,t))},n.prototype._isSameMessageEvent=function(r,t){var i=r.message,o=t.message;return!(!i&&!o||i&&!o||!i&&o||i!==o||!this._isSameFingerprint(r,t)||!this._isSameStacktrace(r,t))},n.prototype._getFramesFromEvent=function(r){var t=r.exception;if(t)try{return t.values[0].stacktrace.frames}catch(i){return}else if(r.stacktrace)return r.stacktrace.frames},n.prototype._isSameStacktrace=function(r,t){var i=this._getFramesFromEvent(r),o=this._getFramesFromEvent(t);if(!i&&!o)return!0;if(i&&!o||!i&&o||(o=o).length!==(i=i).length)return!1;for(var a=0;a<o.length;a++){var s=o[a],u=i[a];if(s.filename!==u.filename||s.lineno!==u.lineno||s.colno!==u.colno||s.function!==u.function)return!1}return!0},n.prototype._getExceptionFromEvent=function(r){return r.exception&&r.exception.values&&r.exception.values[0]},n.prototype._isSameExceptionEvent=function(r,t){var i=this._getExceptionFromEvent(t),o=this._getExceptionFromEvent(r);return!!(i&&o&&i.type===o.type&&i.value===o.value&&this._isSameFingerprint(r,t)&&this._isSameStacktrace(r,t))},n.prototype._isSameFingerprint=function(r,t){var i=r.fingerprint,o=t.fingerprint;if(!i&&!o)return!0;if(i&&!o||!i&&o)return!1;i=i,o=o;try{return i.join("")===o.join("")}catch(a){return!1}},n.id="Dedupe",n}(),Ey=(0,Br.Rf)(),pwe=function(){function n(){this.name=n.id}return n.prototype.setupOnce=function(){$2(function(r){var t,i,o;if(ks().getIntegration(n)){if(!Ey.navigator&&!Ey.location&&!Ey.document)return r;var a=(null===(t=r.request)||void 0===t?void 0:t.url)||(null===(i=Ey.location)||void 0===i?void 0:i.href),s=(Ey.document||{}).referrer,u=(Ey.navigator||{}).userAgent,p=Hn(Hn(Hn({},null===(o=r.request)||void 0===o?void 0:o.headers),s&&{Referer:s}),u&&{"User-Agent":u}),m=Hn(Hn({},a&&{url:a}),{headers:p});return Hn(Hn({},r),{request:m})}return r})},n.id="UserAgent",n}(),fwe=[new cxe,new dxe,new awe,new vW,new swe,new cwe,new dwe,new pwe];!function(n){if(void 0===n&&(n={}),void 0===n.defaultIntegrations&&(n.defaultIntegrations=fwe),void 0===n.release){var r=(0,Br.Rf)();r.SENTRY_RELEASE&&r.SENTRY_RELEASE.id&&(n.release=r.SENTRY_RELEASE.id)}void 0===n.autoSessionTracking&&(n.autoSessionTracking=!0),void 0===n.sendClientReports&&(n.sendClientReports=!0),function(n,r){var t;!0===r.debug&&Di.enable();var i=ks();null===(t=i.getScope())||void 0===t||t.update(r.initialScope);var o=new n(r);i.bindClient(o)}(iwe,n),n.autoSessionTracking&&function(){if(void 0!==(0,Br.Rf)().document){var t=ks();"function"!=typeof t.startSession||"function"!=typeof t.captureSession||(t.startSession({ignoreDuration:!0}),t.captureSession(),uh({callback:function(o){var a=o.from;void 0===a||a===o.to||(t.startSession({ignoreDuration:!0}),t.captureSession())},type:"history"}))}else Di.warn("Session tracking in non-browser environment with @sentry/browser is not supported.")}()}({dsn:"https://d8be3a98530f49eb90968ff396db326c@o19455.ingest.sentry.io/842726"});var _we=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return(0,Jn.ZT)(r,n),r.prototype.handleError=function(t){if(t.error&&t.error.status&&!(400===t.error.status||403===t.error.status||404===t.error.status||409===t.error.status)&&n.prototype.handleError.call(this,t),t){var i=this.injector.get(Xn);t.error&&t.error.message?i.error(t.error.message):t.message?i.error(t.message):t.error&&i.error(t.error)}},r.\u0275fac=function(){var t;return function(o){return(t||(t=e.n5z(r)))(o||r)}}(),r.\u0275prov=e.Yz7({token:r,factory:r.\u0275fac}),r}(function(){function n(r){this.injector=r}return n.prototype.extractError=function(r){return r&&r.ngOriginalError&&(r=r.ngOriginalError),"string"==typeof r||r instanceof Error?r:r instanceof Vc.UA?r.error instanceof Error?r.error:r.error instanceof ErrorEvent?r.error.message:"string"==typeof r.error?"Server returned code "+r.status+' with body "'+r.error+'"':r.message:null},n.prototype.handleError=function(r){var t=this.extractError(r)||"Handled unknown error";Qz(t)},n.\u0275fac=function(t){return new(t||n)(e.LFG(e.zs3))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}()),ywe=function(){function n(){}return n.prototype.transform=function(r,t){return r?t?(t=t.toLowerCase(),r.projectDatabase.data.filter(function(i){return i.filename.toLowerCase().includes(t)})):r:[]},n.\u0275fac=function(t){return new(t||n)},n.\u0275pipe=e.Yjl({name:"projectsfilter",type:n,pure:!0}),n}(),Dwe=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[ln.uc,ln.BQ],ln.uc,ln.BQ]}),n}(),Nwe=function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({}),n}(),jwe=[qye,u2,Xq,Iae,OTe,UZ,Un.lN,Uae,Use,rue,e1e,Boe,mq,ode,Ese,hse,lbe,pi.LD,fq,Vce,mle,Dwe,wo.Nh,function(){var n=function r(){(0,g.Z)(this,r)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[Nwe,ln.BQ],ln.BQ]}),n}(),Bj,vTe],CW=function(){function n(r,t){r.events.subscribe(function(i){t.getStatisticsSettings()&&i instanceof rv&&(gtag("set","page",i.url),gtag("send","pageview"))})}return n.\u0275fac=function(t){return new(t||n)(e.LFG(kr),e.LFG(gp.g))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),zwe=function(){function n(r){this.httpServer=r}return n.prototype.get=function(r){return this.httpServer.get(r,"/settings")},n.prototype.update=function(r,t){return this.httpServer.post(r,"/settings",t)},n.prototype.getSettingsForQemu=function(r){return this.httpServer.get(r,"/settings/qemu")},n.prototype.updateSettingsForQemu=function(r,t){return this.httpServer.put(r,"/settings/qemu",{enable_hardware_acceleration:t.enable_hardware_acceleration,require_hardware_acceleration:t.require_hardware_acceleration})},n.\u0275fac=function(t){return new(t||n)(e.LFG(Yo.wh))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),Wwe=function(){function n(r){this.httpServer=r}return n.prototype.getTemplates=function(r){return this.httpServer.get(r,"/templates")},n.prototype.getTemplate=function(r,t){return this.httpServer.get(r,"/templates/"+t)},n.prototype.addTemplate=function(r,t){return this.httpServer.post(r,"/templates",t)},n.prototype.saveTemplate=function(r,t){return this.httpServer.put(r,"/templates/"+t.template_id,t)},n.\u0275fac=function(t){return new(t||n)(e.LFG(Yo.wh))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n}(),Gwe=function(){function n(r){this._googleAnalyticsService=r}return n.\u0275fac=function(t){return new(t||n)(e.LFG(CW))},n.\u0275mod=e.oAB({type:n,bootstrap:[FTe]}),n.\u0275inj=e.cJS({providers:[gp.g,{provide:e.qLn,useClass:_we},Wne,kz,cd.Y,OS,Hr,ay,Yr,oc,Ts,Yo.wh,W2,zL,Xn,Qf,UL,nh.F,ka.G,jTe,Cz,rc,Nj,xs,Yo.gc,d2,vp,qS,zwe,hp,S2,ec,b2,ad,dv,Rq,Iq,Pq,g2,_2,aL,T2,Xf,C2,sL,uv,IS,pv,nL,j2.p,WL,vy,YL,Ez,fz,Z2,OL,Mu,qj,tc.X,Wwe,IL,hz,vj,Eu.f,CW,dd,JL,Nz,B.Dx,Jj,Mz],imports:[[B.b2,Vc.JF,ZTe,ne.u5,ne.UX,_s.PW,AC,qTe,Cre,vre,c4,hE.ym,u_,Hk,yre,jwe,dre.forRoot(),eo.U8]]}),n}();e.B6R(wz,[Mn,ne._Y,ne.JL,ne.F,Un.KE,ur,ne.Fj,ne.JJ,ne.On,Yl,GS,cl,ul,dl,Qj,ll,pl,ny,Et.O5,Ja,sr,Jl,Kl,Ql,Xl],[ywe]),(0,e.G48)(),B.q6().bootstrapModule(Gwe).then(function(n){var r=n.injector.get(e.z2F);(0,B.HJ)(r.components[0])}).catch(function(n){return console.log(n)})},50988:function(ue,q,f){"use strict";function U(B,V){(null==V||V>B.length)&&(V=B.length);for(var Z=0,T=new Array(V);Z<V;Z++)T[Z]=B[Z];return T}f.d(q,{Z:function(){return U}})},10061:function(ue,q,f){"use strict";function U(B){if(Array.isArray(B))return B}f.d(q,{Z:function(){return U}})},88009:function(ue,q,f){"use strict";function U(B){if(void 0===B)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return B}f.d(q,{Z:function(){return U}})},18967:function(ue,q,f){"use strict";function U(B,V){if(!(B instanceof V))throw new TypeError("Cannot call a class as a function")}f.d(q,{Z:function(){return U}})},99740:function(ue,q,f){"use strict";f.d(q,{Z:function(){return V}});var U=f(35470),B=f(1854);function V(Z,T,R){return(V=(0,B.Z)()?Reflect.construct:function(v,P,D){var M=[null];M.push.apply(M,P);var _=new(Function.bind.apply(v,M));return D&&(0,U.Z)(_,D.prototype),_}).apply(null,arguments)}},14105:function(ue,q,f){"use strict";function U(V,Z){for(var T=0;T<Z.length;T++){var R=Z[T];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(V,R.key,R)}}function B(V,Z,T){return Z&&U(V.prototype,Z),T&&U(V,T),V}f.d(q,{Z:function(){return B}})},36683:function(ue,q,f){"use strict";f.d(q,{Z:function(){return B}});var U=f(9087);function B(V,Z){var T="undefined"!=typeof Symbol&&V[Symbol.iterator]||V["@@iterator"];if(!T){if(Array.isArray(V)||(T=(0,U.Z)(V))||Z&&V&&"number"==typeof V.length){T&&(V=T);var R=0,C=function(){};return{s:C,n:function(){return R>=V.length?{done:!0}:{done:!1,value:V[R++]}},e:function(A){throw A},f:C}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var D,v=!0,P=!1;return{s:function(){T=T.call(V)},n:function(){var A=T.next();return v=A.done,A},e:function(A){P=!0,D=A},f:function(){try{!v&&null!=T.return&&T.return()}finally{if(P)throw D}}}}},97154:function(ue,q,f){"use strict";f.d(q,{Z:function(){return Z}});var U=f(89200),B=f(1854),V=f(70455);function Z(T){var R=(0,B.Z)();return function(){var P,v=(0,U.Z)(T);if(R){var D=(0,U.Z)(this).constructor;P=Reflect.construct(v,arguments,D)}else P=v.apply(this,arguments);return(0,V.Z)(this,P)}}},42515:function(ue,q,f){"use strict";function U(B,V,Z){return V in B?Object.defineProperty(B,V,{value:Z,enumerable:!0,configurable:!0,writable:!0}):B[V]=Z,B}f.d(q,{Z:function(){return U}})},20901:function(ue,q,f){"use strict";f.d(q,{Z:function(){return V}});var U=f(89200);function V(Z,T,R){return(V="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(v,P,D){var M=function(Z,T){for(;!Object.prototype.hasOwnProperty.call(Z,T)&&null!==(Z=(0,U.Z)(Z)););return Z}(v,P);if(M){var A=Object.getOwnPropertyDescriptor(M,P);return A.get?A.get.call(D):A.value}})(Z,T,R||Z)}},89200:function(ue,q,f){"use strict";function U(B){return(U=Object.setPrototypeOf?Object.getPrototypeOf:function(Z){return Z.__proto__||Object.getPrototypeOf(Z)})(B)}f.d(q,{Z:function(){return U}})},10509:function(ue,q,f){"use strict";f.d(q,{Z:function(){return B}});var U=f(35470);function B(V,Z){if("function"!=typeof Z&&null!==Z)throw new TypeError("Super expression must either be null or a function");V.prototype=Object.create(Z&&Z.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),Z&&(0,U.Z)(V,Z)}},1854:function(ue,q,f){"use strict";function U(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(B){return!1}}f.d(q,{Z:function(){return U}})},16373:function(ue,q,f){"use strict";function U(B){if("undefined"!=typeof Symbol&&null!=B[Symbol.iterator]||null!=B["@@iterator"])return Array.from(B)}f.d(q,{Z:function(){return U}})},12486:function(ue,q,f){"use strict";function U(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}f.d(q,{Z:function(){return U}})},70455:function(ue,q,f){"use strict";function U(Z){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(R){return typeof R}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(Z)}f.d(q,{Z:function(){return V}});var B=f(88009);function V(Z,T){return!T||"object"!==U(T)&&"function"!=typeof T?(0,B.Z)(Z):T}},35470:function(ue,q,f){"use strict";function U(B,V){return(U=Object.setPrototypeOf||function(T,R){return T.__proto__=R,T})(B,V)}f.d(q,{Z:function(){return U}})},27235:function(ue,q,f){"use strict";f.d(q,{Z:function(){return T}});var U=f(10061),V=f(9087),Z=f(12486);function T(R,C){return(0,U.Z)(R)||function(R,C){var v=null==R?null:"undefined"!=typeof Symbol&&R[Symbol.iterator]||R["@@iterator"];if(null!=v){var A,_,P=[],D=!0,M=!1;try{for(v=v.call(R);!(D=(A=v.next()).done)&&(P.push(A.value),!C||P.length!==C);D=!0);}catch(g){M=!0,_=g}finally{try{!D&&null!=v.return&&v.return()}finally{if(M)throw _}}return P}}(R,C)||(0,V.Z)(R,C)||(0,Z.Z)()}},99890:function(ue,q,f){"use strict";f.d(q,{Z:function(){return T}});var U=f(10061),B=f(16373),V=f(9087),Z=f(12486);function T(R){return(0,U.Z)(R)||(0,B.Z)(R)||(0,V.Z)(R)||(0,Z.Z)()}},10629:function(ue,q,f){"use strict";f.d(q,{Z:function(){return R}});var U=f(50988),V=f(16373),Z=f(9087);function R(C){return function(C){if(Array.isArray(C))return(0,U.Z)(C)}(C)||(0,V.Z)(C)||(0,Z.Z)(C)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},9087:function(ue,q,f){"use strict";f.d(q,{Z:function(){return B}});var U=f(50988);function B(V,Z){if(V){if("string"==typeof V)return(0,U.Z)(V,Z);var T=Object.prototype.toString.call(V).slice(8,-1);if("Object"===T&&V.constructor&&(T=V.constructor.name),"Map"===T||"Set"===T)return Array.from(V);if("Arguments"===T||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return(0,U.Z)(V,Z)}}},44900:function(ue){"use strict";ue.exports=JSON.parse('{"atrules":{"charset":{"prelude":"<string>"},"font-face":{"descriptors":{"unicode-range":{"comment":"replaces <unicode-range>, an old production name","syntax":"<urange>#"}}}},"properties":{"-moz-background-clip":{"comment":"deprecated syntax in old Firefox, https://developer.mozilla.org/en/docs/Web/CSS/background-clip","syntax":"padding | border"},"-moz-border-radius-bottomleft":{"comment":"https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-left-radius","syntax":"<\'border-bottom-left-radius\'>"},"-moz-border-radius-bottomright":{"comment":"https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius","syntax":"<\'border-bottom-right-radius\'>"},"-moz-border-radius-topleft":{"comment":"https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-left-radius","syntax":"<\'border-top-left-radius\'>"},"-moz-border-radius-topright":{"comment":"https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius","syntax":"<\'border-bottom-right-radius\'>"},"-moz-control-character-visibility":{"comment":"firefox specific keywords, https://bugzilla.mozilla.org/show_bug.cgi?id=947588","syntax":"visible | hidden"},"-moz-osx-font-smoothing":{"comment":"misssed old syntax https://developer.mozilla.org/en-US/docs/Web/CSS/font-smooth","syntax":"auto | grayscale"},"-moz-user-select":{"comment":"https://developer.mozilla.org/en-US/docs/Web/CSS/user-select","syntax":"none | text | all | -moz-none"},"-ms-flex-align":{"comment":"misssed old syntax implemented in IE, https://www.w3.org/TR/2012/WD-css3-flexbox-20120322/#flex-align","syntax":"start | end | center | baseline | stretch"},"-ms-flex-item-align":{"comment":"misssed old syntax implemented in IE, https://www.w3.org/TR/2012/WD-css3-flexbox-20120322/#flex-align","syntax":"auto | start | end | center | baseline | stretch"},"-ms-flex-line-pack":{"comment":"misssed old syntax implemented in IE, https://www.w3.org/TR/2012/WD-css3-flexbox-20120322/#flex-line-pack","syntax":"start | end | center | justify | distribute | stretch"},"-ms-flex-negative":{"comment":"misssed old syntax implemented in IE; TODO: find references for comfirmation","syntax":"<\'flex-shrink\'>"},"-ms-flex-pack":{"comment":"misssed old syntax implemented in IE, https://www.w3.org/TR/2012/WD-css3-flexbox-20120322/#flex-pack","syntax":"start | end | center | justify | distribute"},"-ms-flex-order":{"comment":"misssed old syntax implemented in IE; https://msdn.microsoft.com/en-us/library/jj127303(v=vs.85).aspx","syntax":"<integer>"},"-ms-flex-positive":{"comment":"misssed old syntax implemented in IE; TODO: find references for comfirmation","syntax":"<\'flex-grow\'>"},"-ms-flex-preferred-size":{"comment":"misssed old syntax implemented in IE; TODO: find references for comfirmation","syntax":"<\'flex-basis\'>"},"-ms-interpolation-mode":{"comment":"https://msdn.microsoft.com/en-us/library/ff521095(v=vs.85).aspx","syntax":"nearest-neighbor | bicubic"},"-ms-grid-column-align":{"comment":"add this property first since it uses as fallback for flexbox, https://msdn.microsoft.com/en-us/library/windows/apps/hh466338.aspx","syntax":"start | end | center | stretch"},"-ms-grid-row-align":{"comment":"add this property first since it uses as fallback for flexbox, https://msdn.microsoft.com/en-us/library/windows/apps/hh466348.aspx","syntax":"start | end | center | stretch"},"-ms-hyphenate-limit-last":{"comment":"misssed old syntax implemented in IE; https://www.w3.org/TR/css-text-4/#hyphenate-line-limits","syntax":"none | always | column | page | spread"},"-webkit-appearance":{"comment":"webkit specific keywords","references":["http://css-infos.net/property/-webkit-appearance"],"syntax":"none | button | button-bevel | caps-lock-indicator | caret | checkbox | default-button | inner-spin-button | listbox | listitem | media-controls-background | media-controls-fullscreen-background | media-current-time-display | media-enter-fullscreen-button | media-exit-fullscreen-button | media-fullscreen-button | media-mute-button | media-overlay-play-button | media-play-button | media-seek-back-button | media-seek-forward-button | media-slider | media-sliderthumb | media-time-remaining-display | media-toggle-closed-captions-button | media-volume-slider | media-volume-slider-container | media-volume-sliderthumb | menulist | menulist-button | menulist-text | menulist-textfield | meter | progress-bar | progress-bar-value | push-button | radio | scrollbarbutton-down | scrollbarbutton-left | scrollbarbutton-right | scrollbarbutton-up | scrollbargripper-horizontal | scrollbargripper-vertical | scrollbarthumb-horizontal | scrollbarthumb-vertical | scrollbartrack-horizontal | scrollbartrack-vertical | searchfield | searchfield-cancel-button | searchfield-decoration | searchfield-results-button | searchfield-results-decoration | slider-horizontal | slider-vertical | sliderthumb-horizontal | sliderthumb-vertical | square-button | textarea | textfield | -apple-pay-button"},"-webkit-background-clip":{"comment":"https://developer.mozilla.org/en/docs/Web/CSS/background-clip","syntax":"[ <box> | border | padding | content | text ]#"},"-webkit-column-break-after":{"comment":"added, http://help.dottoro.com/lcrthhhv.php","syntax":"always | auto | avoid"},"-webkit-column-break-before":{"comment":"added, http://help.dottoro.com/lcxquvkf.php","syntax":"always | auto | avoid"},"-webkit-column-break-inside":{"comment":"added, http://help.dottoro.com/lclhnthl.php","syntax":"always | auto | avoid"},"-webkit-font-smoothing":{"comment":"https://developer.mozilla.org/en-US/docs/Web/CSS/font-smooth","syntax":"auto | none | antialiased | subpixel-antialiased"},"-webkit-mask-box-image":{"comment":"missed; https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-mask-box-image","syntax":"[ <url> | <gradient> | none ] [ <length-percentage>{4} <-webkit-mask-box-repeat>{2} ]?"},"-webkit-print-color-adjust":{"comment":"missed","references":["https://developer.mozilla.org/en/docs/Web/CSS/-webkit-print-color-adjust"],"syntax":"economy | exact"},"-webkit-text-security":{"comment":"missed; http://help.dottoro.com/lcbkewgt.php","syntax":"none | circle | disc | square"},"-webkit-user-drag":{"comment":"missed; http://help.dottoro.com/lcbixvwm.php","syntax":"none | element | auto"},"-webkit-user-select":{"comment":"auto is supported by old webkit, https://developer.mozilla.org/en-US/docs/Web/CSS/user-select","syntax":"auto | none | text | all"},"alignment-baseline":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/text.html#AlignmentBaselineProperty"],"syntax":"auto | baseline | before-edge | text-before-edge | middle | central | after-edge | text-after-edge | ideographic | alphabetic | hanging | mathematical"},"baseline-shift":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/text.html#BaselineShiftProperty"],"syntax":"baseline | sub | super | <svg-length>"},"behavior":{"comment":"added old IE property https://msdn.microsoft.com/en-us/library/ms530723(v=vs.85).aspx","syntax":"<url>+"},"clip-rule":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/masking.html#ClipRuleProperty"],"syntax":"nonzero | evenodd"},"cue":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<\'cue-before\'> <\'cue-after\'>?"},"cue-after":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<url> <decibel>? | none"},"cue-before":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<url> <decibel>? | none"},"cursor":{"comment":"added legacy keywords: hand, -webkit-grab. -webkit-grabbing, -webkit-zoom-in, -webkit-zoom-out, -moz-grab, -moz-grabbing, -moz-zoom-in, -moz-zoom-out","references":["https://www.sitepoint.com/css3-cursor-styles/"],"syntax":"[ [ <url> [ <x> <y> ]? , ]* [ auto | default | none | context-menu | help | pointer | progress | wait | cell | crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize | sw-resize | w-resize | ew-resize | ns-resize | nesw-resize | nwse-resize | col-resize | row-resize | all-scroll | zoom-in | zoom-out | grab | grabbing | hand | -webkit-grab | -webkit-grabbing | -webkit-zoom-in | -webkit-zoom-out | -moz-grab | -moz-grabbing | -moz-zoom-in | -moz-zoom-out ] ]"},"display":{"comment":"extended with -ms-flexbox","syntax":"| <-non-standard-display>"},"position":{"comment":"extended with -webkit-sticky","syntax":"| -webkit-sticky"},"dominant-baseline":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/text.html#DominantBaselineProperty"],"syntax":"auto | use-script | no-change | reset-size | ideographic | alphabetic | hanging | mathematical | central | middle | text-after-edge | text-before-edge"},"image-rendering":{"comment":"extended with <-non-standard-image-rendering>, added SVG keywords optimizeSpeed and optimizeQuality","references":["https://developer.mozilla.org/en/docs/Web/CSS/image-rendering","https://www.w3.org/TR/SVG/painting.html#ImageRenderingProperty"],"syntax":"| optimizeSpeed | optimizeQuality | <-non-standard-image-rendering>"},"fill":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#FillProperty"],"syntax":"<paint>"},"fill-opacity":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#FillProperty"],"syntax":"<number-zero-one>"},"fill-rule":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#FillProperty"],"syntax":"nonzero | evenodd"},"filter":{"comment":"extend with IE legacy syntaxes","syntax":"| <-ms-filter-function-list>"},"glyph-orientation-horizontal":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/text.html#GlyphOrientationHorizontalProperty"],"syntax":"<angle>"},"glyph-orientation-vertical":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/text.html#GlyphOrientationVerticalProperty"],"syntax":"<angle>"},"kerning":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/text.html#KerningProperty"],"syntax":"auto | <svg-length>"},"letter-spacing":{"comment":"fix syntax <length> -> <length-percentage>","references":["https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/letter-spacing"],"syntax":"normal | <length-percentage>"},"marker":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#MarkerProperties"],"syntax":"none | <url>"},"marker-end":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#MarkerProperties"],"syntax":"none | <url>"},"marker-mid":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#MarkerProperties"],"syntax":"none | <url>"},"marker-start":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#MarkerProperties"],"syntax":"none | <url>"},"max-width":{"comment":"fix auto -> none (https://github.com/mdn/data/pull/431); extend by non-standard width keywords https://developer.mozilla.org/en-US/docs/Web/CSS/max-width","syntax":"none | <length-percentage> | min-content | max-content | fit-content(<length-percentage>) | <-non-standard-width>"},"width":{"comment":"per spec fit-content should be a function, however browsers are supporting it as a keyword (https://github.com/csstree/stylelint-validator/issues/29)","syntax":"| fit-content | -moz-fit-content | -webkit-fit-content"},"min-width":{"comment":"extend by non-standard width keywords https://developer.mozilla.org/en-US/docs/Web/CSS/width","syntax":"auto | <length-percentage> | min-content | max-content | fit-content(<length-percentage>) | <-non-standard-width>"},"overflow":{"comment":"extend by vendor keywords https://developer.mozilla.org/en-US/docs/Web/CSS/overflow","syntax":"| <-non-standard-overflow>"},"pause":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<\'pause-before\'> <\'pause-after\'>?"},"pause-after":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<time> | none | x-weak | weak | medium | strong | x-strong"},"pause-before":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<time> | none | x-weak | weak | medium | strong | x-strong"},"rest":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<\'rest-before\'> <\'rest-after\'>?"},"rest-after":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<time> | none | x-weak | weak | medium | strong | x-strong"},"rest-before":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<time> | none | x-weak | weak | medium | strong | x-strong"},"shape-rendering":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#ShapeRenderingPropert"],"syntax":"auto | optimizeSpeed | crispEdges | geometricPrecision"},"src":{"comment":"added @font-face\'s src property https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/src","syntax":"[ <url> [ format( <string># ) ]? | local( <family-name> ) ]#"},"speak":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"auto | none | normal"},"speak-as":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"normal | spell-out || digits || [ literal-punctuation | no-punctuation ]"},"stroke":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#StrokeProperties"],"syntax":"<paint>"},"stroke-dasharray":{"comment":"added SVG property; a list of comma and/or white space separated <length>s and <percentage>s","references":["https://www.w3.org/TR/SVG/painting.html#StrokeProperties"],"syntax":"none | [ <svg-length>+ ]#"},"stroke-dashoffset":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#StrokeProperties"],"syntax":"<svg-length>"},"stroke-linecap":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#StrokeProperties"],"syntax":"butt | round | square"},"stroke-linejoin":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#StrokeProperties"],"syntax":"miter | round | bevel"},"stroke-miterlimit":{"comment":"added SVG property (<miterlimit> = <number-one-or-greater>) ","references":["https://www.w3.org/TR/SVG/painting.html#StrokeProperties"],"syntax":"<number-one-or-greater>"},"stroke-opacity":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#StrokeProperties"],"syntax":"<number-zero-one>"},"stroke-width":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#StrokeProperties"],"syntax":"<svg-length>"},"text-anchor":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/text.html#TextAlignmentProperties"],"syntax":"start | middle | end"},"unicode-bidi":{"comment":"added prefixed keywords https://developer.mozilla.org/en-US/docs/Web/CSS/unicode-bidi","syntax":"| -moz-isolate | -moz-isolate-override | -moz-plaintext | -webkit-isolate | -webkit-isolate-override | -webkit-plaintext"},"unicode-range":{"comment":"added missed property https://developer.mozilla.org/en-US/docs/Web/CSS/%40font-face/unicode-range","syntax":"<urange>#"},"voice-balance":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<number> | left | center | right | leftwards | rightwards"},"voice-duration":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"auto | <time>"},"voice-family":{"comment":"<name> -> <family-name>, https://www.w3.org/TR/css3-speech/#property-index","syntax":"[ [ <family-name> | <generic-voice> ] , ]* [ <family-name> | <generic-voice> ] | preserve"},"voice-pitch":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<frequency> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency> | <semitones> | <percentage> ] ]"},"voice-range":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<frequency> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency> | <semitones> | <percentage> ] ]"},"voice-rate":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"[ normal | x-slow | slow | medium | fast | x-fast ] || <percentage>"},"voice-stress":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"normal | strong | moderate | none | reduced"},"voice-volume":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"silent | [ [ x-soft | soft | medium | loud | x-loud ] || <decibel> ]"},"writing-mode":{"comment":"extend with SVG keywords","syntax":"| <svg-writing-mode>"}},"syntaxes":{"-legacy-gradient":{"comment":"added collection of legacy gradient syntaxes","syntax":"<-webkit-gradient()> | <-legacy-linear-gradient> | <-legacy-repeating-linear-gradient> | <-legacy-radial-gradient> | <-legacy-repeating-radial-gradient>"},"-legacy-linear-gradient":{"comment":"like standard syntax but w/o `to` keyword https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient","syntax":"-moz-linear-gradient( <-legacy-linear-gradient-arguments> ) | -webkit-linear-gradient( <-legacy-linear-gradient-arguments> ) | -o-linear-gradient( <-legacy-linear-gradient-arguments> )"},"-legacy-repeating-linear-gradient":{"comment":"like standard syntax but w/o `to` keyword https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient","syntax":"-moz-repeating-linear-gradient( <-legacy-linear-gradient-arguments> ) | -webkit-repeating-linear-gradient( <-legacy-linear-gradient-arguments> ) | -o-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )"},"-legacy-linear-gradient-arguments":{"comment":"like standard syntax but w/o `to` keyword https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient","syntax":"[ <angle> | <side-or-corner> ]? , <color-stop-list>"},"-legacy-radial-gradient":{"comment":"deprecated syntax that implemented by some browsers https://www.w3.org/TR/2011/WD-css3-images-20110908/#radial-gradients","syntax":"-moz-radial-gradient( <-legacy-radial-gradient-arguments> ) | -webkit-radial-gradient( <-legacy-radial-gradient-arguments> ) | -o-radial-gradient( <-legacy-radial-gradient-arguments> )"},"-legacy-repeating-radial-gradient":{"comment":"deprecated syntax that implemented by some browsers https://www.w3.org/TR/2011/WD-css3-images-20110908/#radial-gradients","syntax":"-moz-repeating-radial-gradient( <-legacy-radial-gradient-arguments> ) | -webkit-repeating-radial-gradient( <-legacy-radial-gradient-arguments> ) | -o-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )"},"-legacy-radial-gradient-arguments":{"comment":"deprecated syntax that implemented by some browsers https://www.w3.org/TR/2011/WD-css3-images-20110908/#radial-gradients","syntax":"[ <position> , ]? [ [ [ <-legacy-radial-gradient-shape> || <-legacy-radial-gradient-size> ] | [ <length> | <percentage> ]{2} ] , ]? <color-stop-list>"},"-legacy-radial-gradient-size":{"comment":"before a standard it contains 2 extra keywords (`contain` and `cover`) https://www.w3.org/TR/2011/WD-css3-images-20110908/#ltsize","syntax":"closest-side | closest-corner | farthest-side | farthest-corner | contain | cover"},"-legacy-radial-gradient-shape":{"comment":"define to double sure it doesn\'t extends in future https://www.w3.org/TR/2011/WD-css3-images-20110908/#ltshape","syntax":"circle | ellipse"},"-non-standard-font":{"comment":"non standard fonts","references":["https://webkit.org/blog/3709/using-the-system-font-in-web-content/"],"syntax":"-apple-system-body | -apple-system-headline | -apple-system-subheadline | -apple-system-caption1 | -apple-system-caption2 | -apple-system-footnote | -apple-system-short-body | -apple-system-short-headline | -apple-system-short-subheadline | -apple-system-short-caption1 | -apple-system-short-footnote | -apple-system-tall-body"},"-non-standard-color":{"comment":"non standard colors","references":["http://cssdot.ru/%D0%A1%D0%BF%D1%80%D0%B0%D0%B2%D0%BE%D1%87%D0%BD%D0%B8%D0%BA_CSS/color-i305.html","https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Mozilla_Color_Preference_Extensions"],"syntax":"-moz-ButtonDefault | -moz-ButtonHoverFace | -moz-ButtonHoverText | -moz-CellHighlight | -moz-CellHighlightText | -moz-Combobox | -moz-ComboboxText | -moz-Dialog | -moz-DialogText | -moz-dragtargetzone | -moz-EvenTreeRow | -moz-Field | -moz-FieldText | -moz-html-CellHighlight | -moz-html-CellHighlightText | -moz-mac-accentdarkestshadow | -moz-mac-accentdarkshadow | -moz-mac-accentface | -moz-mac-accentlightesthighlight | -moz-mac-accentlightshadow | -moz-mac-accentregularhighlight | -moz-mac-accentregularshadow | -moz-mac-chrome-active | -moz-mac-chrome-inactive | -moz-mac-focusring | -moz-mac-menuselect | -moz-mac-menushadow | -moz-mac-menutextselect | -moz-MenuHover | -moz-MenuHoverText | -moz-MenuBarText | -moz-MenuBarHoverText | -moz-nativehyperlinktext | -moz-OddTreeRow | -moz-win-communicationstext | -moz-win-mediatext | -moz-activehyperlinktext | -moz-default-background-color | -moz-default-color | -moz-hyperlinktext | -moz-visitedhyperlinktext | -webkit-activelink | -webkit-focus-ring-color | -webkit-link | -webkit-text"},"-non-standard-image-rendering":{"comment":"non-standard keywords http://phrogz.net/tmp/canvas_image_zoom.html","syntax":"optimize-contrast | -moz-crisp-edges | -o-crisp-edges | -webkit-optimize-contrast"},"-non-standard-overflow":{"comment":"non-standard keywords https://developer.mozilla.org/en-US/docs/Web/CSS/overflow","syntax":"-moz-scrollbars-none | -moz-scrollbars-horizontal | -moz-scrollbars-vertical | -moz-hidden-unscrollable"},"-non-standard-width":{"comment":"non-standard keywords https://developer.mozilla.org/en-US/docs/Web/CSS/width","syntax":"fill-available | min-intrinsic | intrinsic | -moz-available | -moz-fit-content | -moz-min-content | -moz-max-content | -webkit-min-content | -webkit-max-content"},"-webkit-gradient()":{"comment":"first Apple proposal gradient syntax https://webkit.org/blog/175/introducing-css-gradients/ - TODO: simplify when after match algorithm improvement ( [, point, radius | , point] -> [, radius]? , point )","syntax":"-webkit-gradient( <-webkit-gradient-type>, <-webkit-gradient-point> [, <-webkit-gradient-point> | , <-webkit-gradient-radius>, <-webkit-gradient-point> ] [, <-webkit-gradient-radius>]? [, <-webkit-gradient-color-stop>]* )"},"-webkit-gradient-color-stop":{"comment":"first Apple proposal gradient syntax https://webkit.org/blog/175/introducing-css-gradients/","syntax":"from( <color> ) | color-stop( [ <number-zero-one> | <percentage> ] , <color> ) | to( <color> )"},"-webkit-gradient-point":{"comment":"first Apple proposal gradient syntax https://webkit.org/blog/175/introducing-css-gradients/","syntax":"[ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ]"},"-webkit-gradient-radius":{"comment":"first Apple proposal gradient syntax https://webkit.org/blog/175/introducing-css-gradients/","syntax":"<length> | <percentage>"},"-webkit-gradient-type":{"comment":"first Apple proposal gradient syntax https://webkit.org/blog/175/introducing-css-gradients/","syntax":"linear | radial"},"-webkit-mask-box-repeat":{"comment":"missed; https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-mask-box-image","syntax":"repeat | stretch | round"},"-webkit-mask-clip-style":{"comment":"missed; there is no enough information about `-webkit-mask-clip` property, but looks like all those keywords are working","syntax":"border | border-box | padding | padding-box | content | content-box | text"},"-ms-filter-function-list":{"comment":"https://developer.mozilla.org/en-US/docs/Web/CSS/-ms-filter","syntax":"<-ms-filter-function>+"},"-ms-filter-function":{"comment":"https://developer.mozilla.org/en-US/docs/Web/CSS/-ms-filter","syntax":"<-ms-filter-function-progid> | <-ms-filter-function-legacy>"},"-ms-filter-function-progid":{"comment":"https://developer.mozilla.org/en-US/docs/Web/CSS/-ms-filter","syntax":"\'progid:\' [ <ident-token> \'.\' ]* [ <ident-token> | <function-token> <any-value>? ) ]"},"-ms-filter-function-legacy":{"comment":"https://developer.mozilla.org/en-US/docs/Web/CSS/-ms-filter","syntax":"<ident-token> | <function-token> <any-value>? )"},"-ms-filter":{"syntax":"<string>"},"age":{"comment":"https://www.w3.org/TR/css3-speech/#voice-family","syntax":"child | young | old"},"attr-name":{"syntax":"<wq-name>"},"attr-fallback":{"syntax":"<any-value>"},"border-radius":{"comment":"missed, https://drafts.csswg.org/css-backgrounds-3/#the-border-radius","syntax":"<length-percentage>{1,2}"},"bottom":{"comment":"missed; not sure we should add it, but no others except `shape` is using it so it\'s ok for now; https://drafts.fxtf.org/css-masking-1/#funcdef-clip-rect","syntax":"<length> | auto"},"content-list":{"comment":"missed -> https://drafts.csswg.org/css-content/#typedef-content-list (document-url, <target> and leader() is omitted util stabilization)","syntax":"[ <string> | contents | <image> | <quote> | <target> | <leader()> | <attr()> | counter( <ident>, <\'list-style-type\'>? ) ]+"},"element()":{"comment":"https://drafts.csswg.org/css-gcpm/#element-syntax & https://drafts.csswg.org/css-images-4/#element-notation","syntax":"element( <custom-ident> , [ first | start | last | first-except ]? ) | element( <id-selector> )"},"generic-voice":{"comment":"https://www.w3.org/TR/css3-speech/#voice-family","syntax":"[ <age>? <gender> <integer>? ]"},"gender":{"comment":"https://www.w3.org/TR/css3-speech/#voice-family","syntax":"male | female | neutral"},"generic-family":{"comment":"added -apple-system","references":["https://webkit.org/blog/3709/using-the-system-font-in-web-content/"],"syntax":"| -apple-system"},"gradient":{"comment":"added legacy syntaxes support","syntax":"| <-legacy-gradient>"},"left":{"comment":"missed; not sure we should add it, but no others except `shape` is using it so it\'s ok for now; https://drafts.fxtf.org/css-masking-1/#funcdef-clip-rect","syntax":"<length> | auto"},"mask-image":{"comment":"missed; https://drafts.fxtf.org/css-masking-1/#the-mask-image","syntax":"<mask-reference>#"},"name-repeat":{"comment":"missed, and looks like obsolete, keep it as is since other property syntaxes should be changed too; https://www.w3.org/TR/2015/WD-css-grid-1-20150917/#typedef-name-repeat","syntax":"repeat( [ <positive-integer> | auto-fill ], <line-names>+)"},"named-color":{"comment":"added non standard color names","syntax":"| <-non-standard-color>"},"paint":{"comment":"used by SVG https://www.w3.org/TR/SVG/painting.html#SpecifyingPaint","syntax":"none | <color> | <url> [ none | <color> ]? | context-fill | context-stroke"},"page-size":{"comment":"https://www.w3.org/TR/css-page-3/#typedef-page-size-page-size","syntax":"A5 | A4 | A3 | B5 | B4 | JIS-B5 | JIS-B4 | letter | legal | ledger"},"ratio":{"comment":"missed, https://drafts.csswg.org/mediaqueries-4/#typedef-ratio","syntax":"<integer> / <integer>"},"right":{"comment":"missed; not sure we should add it, but no others except `shape` is using it so it\'s ok for now; https://drafts.fxtf.org/css-masking-1/#funcdef-clip-rect","syntax":"<length> | auto"},"shape":{"comment":"missed spaces in function body and add backwards compatible syntax","syntax":"rect( <top>, <right>, <bottom>, <left> ) | rect( <top> <right> <bottom> <left> )"},"svg-length":{"comment":"All coordinates and lengths in SVG can be specified with or without a unit identifier","references":["https://www.w3.org/TR/SVG11/coords.html#Units"],"syntax":"<percentage> | <length> | <number>"},"svg-writing-mode":{"comment":"SVG specific keywords (deprecated for CSS)","references":["https://developer.mozilla.org/en/docs/Web/CSS/writing-mode","https://www.w3.org/TR/SVG/text.html#WritingModeProperty"],"syntax":"lr-tb | rl-tb | tb-rl | lr | rl | tb"},"top":{"comment":"missed; not sure we should add it, but no others except `shape` is using it so it\'s ok for now; https://drafts.fxtf.org/css-masking-1/#funcdef-clip-rect","syntax":"<length> | auto"},"track-group":{"comment":"used by old grid-columns and grid-rows syntax v0","syntax":"\'(\' [ <string>* <track-minmax> <string>* ]+ \')\' [ \'[\' <positive-integer> \']\' ]? | <track-minmax>"},"track-list-v0":{"comment":"used by old grid-columns and grid-rows syntax v0","syntax":"[ <string>* <track-group> <string>* ]+ | none"},"track-minmax":{"comment":"used by old grid-columns and grid-rows syntax v0","syntax":"minmax( <track-breadth> , <track-breadth> ) | auto | <track-breadth> | fit-content"},"x":{"comment":"missed; not sure we should add it, but no others except `cursor` is using it so it\'s ok for now; https://drafts.csswg.org/css-ui-3/#cursor","syntax":"<number>"},"y":{"comment":"missed; not sure we should add it, but no others except `cursor` is using so it\'s ok for now; https://drafts.csswg.org/css-ui-3/#cursor","syntax":"<number>"},"declaration":{"comment":"missed, restored by https://drafts.csswg.org/css-syntax","syntax":"<ident-token> : <declaration-value>? [ \'!\' important ]?"},"declaration-list":{"comment":"missed, restored by https://drafts.csswg.org/css-syntax","syntax":"[ <declaration>? \';\' ]* <declaration>?"},"url":{"comment":"https://drafts.csswg.org/css-values-4/#urls","syntax":"url( <string> <url-modifier>* ) | <url-token>"},"url-modifier":{"comment":"https://drafts.csswg.org/css-values-4/#typedef-url-modifier","syntax":"<ident> | <function-token> <any-value> )"},"number-zero-one":{"syntax":"<number [0,1]>"},"number-one-or-greater":{"syntax":"<number [1,\u221e]>"},"positive-integer":{"syntax":"<integer [0,\u221e]>"},"-non-standard-display":{"syntax":"-ms-inline-flexbox | -ms-grid | -ms-inline-grid | -webkit-flex | -webkit-inline-flex | -webkit-box | -webkit-inline-box | -moz-inline-stack | -moz-box | -moz-inline-box"}}}')},37151:function(ue){"use strict";ue.exports={version:"1.1.3"}},94518:function(ue){"use strict";ue.exports=JSON.parse('{"@charset":{"syntax":"@charset \\"<charset>\\";","groups":["CSS Charsets"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@charset"},"@counter-style":{"syntax":"@counter-style <counter-style-name> {\\n  [ system: <counter-system>; ] ||\\n  [ symbols: <counter-symbols>; ] ||\\n  [ additive-symbols: <additive-symbols>; ] ||\\n  [ negative: <negative-symbol>; ] ||\\n  [ prefix: <prefix>; ] ||\\n  [ suffix: <suffix>; ] ||\\n  [ range: <range>; ] ||\\n  [ pad: <padding>; ] ||\\n  [ speak-as: <speak-as>; ] ||\\n  [ fallback: <counter-style-name>; ]\\n}","interfaces":["CSSCounterStyleRule"],"groups":["CSS Counter Styles"],"descriptors":{"additive-symbols":{"syntax":"[ <integer> && <symbol> ]#","media":"all","initial":"n/a (required)","percentages":"no","computed":"asSpecified","order":"orderOfAppearance","status":"standard"},"fallback":{"syntax":"<counter-style-name>","media":"all","initial":"decimal","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"negative":{"syntax":"<symbol> <symbol>?","media":"all","initial":"\\"-\\" hyphen-minus","percentages":"no","computed":"asSpecified","order":"orderOfAppearance","status":"standard"},"pad":{"syntax":"<integer> && <symbol>","media":"all","initial":"0 \\"\\"","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"prefix":{"syntax":"<symbol>","media":"all","initial":"\\"\\"","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"range":{"syntax":"[ [ <integer> | infinite ]{2} ]# | auto","media":"all","initial":"auto","percentages":"no","computed":"asSpecified","order":"orderOfAppearance","status":"standard"},"speak-as":{"syntax":"auto | bullets | numbers | words | spell-out | <counter-style-name>","media":"all","initial":"auto","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"suffix":{"syntax":"<symbol>","media":"all","initial":"\\". \\"","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"symbols":{"syntax":"<symbol>+","media":"all","initial":"n/a (required)","percentages":"no","computed":"asSpecified","order":"orderOfAppearance","status":"standard"},"system":{"syntax":"cyclic | numeric | alphabetic | symbolic | additive | [ fixed <integer>? ] | [ extends <counter-style-name> ]","media":"all","initial":"symbolic","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"}},"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@counter-style"},"@document":{"syntax":"@document [ <url> | url-prefix(<string>) | domain(<string>) | media-document(<string>) | regexp(<string>) ]# {\\n  <group-rule-body>\\n}","interfaces":["CSSGroupingRule","CSSConditionRule"],"groups":["CSS Conditional Rules"],"status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@document"},"@font-face":{"syntax":"@font-face {\\n  [ font-family: <family-name>; ] ||\\n  [ src: <src>; ] ||\\n  [ unicode-range: <unicode-range>; ] ||\\n  [ font-variant: <font-variant>; ] ||\\n  [ font-feature-settings: <font-feature-settings>; ] ||\\n  [ font-variation-settings: <font-variation-settings>; ] ||\\n  [ font-stretch: <font-stretch>; ] ||\\n  [ font-weight: <font-weight>; ] ||\\n  [ font-style: <font-style>; ]\\n}","interfaces":["CSSFontFaceRule"],"groups":["CSS Fonts"],"descriptors":{"font-display":{"syntax":"[ auto | block | swap | fallback | optional ]","media":"visual","percentages":"no","initial":"auto","computed":"asSpecified","order":"uniqueOrder","status":"experimental"},"font-family":{"syntax":"<family-name>","media":"all","initial":"n/a (required)","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"font-feature-settings":{"syntax":"normal | <feature-tag-value>#","media":"all","initial":"normal","percentages":"no","computed":"asSpecified","order":"orderOfAppearance","status":"standard"},"font-variation-settings":{"syntax":"normal | [ <string> <number> ]#","media":"all","initial":"normal","percentages":"no","computed":"asSpecified","order":"orderOfAppearance","status":"standard"},"font-stretch":{"syntax":"<font-stretch-absolute>{1,2}","media":"all","initial":"normal","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"font-style":{"syntax":"normal | italic | oblique <angle>{0,2}","media":"all","initial":"normal","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"font-weight":{"syntax":"<font-weight-absolute>{1,2}","media":"all","initial":"normal","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"font-variant":{"syntax":"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby ]","media":"all","initial":"normal","percentages":"no","computed":"asSpecified","order":"orderOfAppearance","status":"standard"},"src":{"syntax":"[ <url> [ format( <string># ) ]? | local( <family-name> ) ]#","media":"all","initial":"n/a (required)","percentages":"no","computed":"asSpecified","order":"orderOfAppearance","status":"standard"},"unicode-range":{"syntax":"<unicode-range>#","media":"all","initial":"U+0-10FFFF","percentages":"no","computed":"asSpecified","order":"orderOfAppearance","status":"standard"}},"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@font-face"},"@font-feature-values":{"syntax":"@font-feature-values <family-name># {\\n  <feature-value-block-list>\\n}","interfaces":["CSSFontFeatureValuesRule"],"groups":["CSS Fonts"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@font-feature-values"},"@import":{"syntax":"@import [ <string> | <url> ] [ <media-query-list> ]?;","groups":["Media Queries"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@import"},"@keyframes":{"syntax":"@keyframes <keyframes-name> {\\n  <keyframe-block-list>\\n}","interfaces":["CSSKeyframeRule","CSSKeyframesRule"],"groups":["CSS Animations"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@keyframes"},"@media":{"syntax":"@media <media-query-list> {\\n  <group-rule-body>\\n}","interfaces":["CSSGroupingRule","CSSConditionRule","CSSMediaRule","CSSCustomMediaRule"],"groups":["CSS Conditional Rules","Media Queries"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@media"},"@namespace":{"syntax":"@namespace <namespace-prefix>? [ <string> | <url> ];","groups":["CSS Namespaces"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@namespace"},"@page":{"syntax":"@page <page-selector-list> {\\n  <page-body>\\n}","interfaces":["CSSPageRule"],"groups":["CSS Pages"],"descriptors":{"bleed":{"syntax":"auto | <length>","media":["visual","paged"],"initial":"auto","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"marks":{"syntax":"none | [ crop || cross ]","media":["visual","paged"],"initial":"none","percentages":"no","computed":"asSpecified","order":"orderOfAppearance","status":"standard"},"size":{"syntax":"<length>{1,2} | auto | [ <page-size> || [ portrait | landscape ] ]","media":["visual","paged"],"initial":"auto","percentages":"no","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"orderOfAppearance","status":"standard"}},"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@page"},"@property":{"syntax":"@property <custom-property-name> {\\n  <declaration-list>\\n}","interfaces":["CSS","CSSPropertyRule"],"groups":["CSS Houdini"],"descriptors":{"syntax":{"syntax":"<string>","media":"all","percentages":"no","initial":"n/a (required)","computed":"asSpecified","order":"uniqueOrder","status":"experimental"},"inherits":{"syntax":"true | false","media":"all","percentages":"no","initial":"auto","computed":"asSpecified","order":"uniqueOrder","status":"experimental"},"initial-value":{"syntax":"<string>","media":"all","initial":"n/a (required)","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"experimental"}},"status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@property"},"@supports":{"syntax":"@supports <supports-condition> {\\n  <group-rule-body>\\n}","interfaces":["CSSGroupingRule","CSSConditionRule","CSSSupportsRule"],"groups":["CSS Conditional Rules"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@supports"},"@viewport":{"syntax":"@viewport {\\n  <group-rule-body>\\n}","interfaces":["CSSViewportRule"],"groups":["CSS Device Adaptation"],"descriptors":{"height":{"syntax":"<viewport-length>{1,2}","media":["visual","continuous"],"initial":["min-height","max-height"],"percentages":["min-height","max-height"],"computed":["min-height","max-height"],"order":"orderOfAppearance","status":"standard"},"max-height":{"syntax":"<viewport-length>","media":["visual","continuous"],"initial":"auto","percentages":"referToHeightOfInitialViewport","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard"},"max-width":{"syntax":"<viewport-length>","media":["visual","continuous"],"initial":"auto","percentages":"referToWidthOfInitialViewport","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard"},"max-zoom":{"syntax":"auto | <number> | <percentage>","media":["visual","continuous"],"initial":"auto","percentages":"the zoom factor itself","computed":"autoNonNegativeOrPercentage","order":"uniqueOrder","status":"standard"},"min-height":{"syntax":"<viewport-length>","media":["visual","continuous"],"initial":"auto","percentages":"referToHeightOfInitialViewport","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard"},"min-width":{"syntax":"<viewport-length>","media":["visual","continuous"],"initial":"auto","percentages":"referToWidthOfInitialViewport","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard"},"min-zoom":{"syntax":"auto | <number> | <percentage>","media":["visual","continuous"],"initial":"auto","percentages":"the zoom factor itself","computed":"autoNonNegativeOrPercentage","order":"uniqueOrder","status":"standard"},"orientation":{"syntax":"auto | portrait | landscape","media":["visual","continuous"],"initial":"auto","percentages":"referToSizeOfBoundingBox","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"user-zoom":{"syntax":"zoom | fixed","media":["visual","continuous"],"initial":"zoom","percentages":"referToSizeOfBoundingBox","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"viewport-fit":{"syntax":"auto | contain | cover","media":["visual","continuous"],"initial":"auto","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"width":{"syntax":"<viewport-length>{1,2}","media":["visual","continuous"],"initial":["min-width","max-width"],"percentages":["min-width","max-width"],"computed":["min-width","max-width"],"order":"orderOfAppearance","status":"standard"},"zoom":{"syntax":"auto | <number> | <percentage>","media":["visual","continuous"],"initial":"auto","percentages":"the zoom factor itself","computed":"autoNonNegativeOrPercentage","order":"uniqueOrder","status":"standard"}},"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@viewport"}}')},23050:function(ue){"use strict";ue.exports=JSON.parse('{"--*":{"syntax":"<declaration-value>","media":"all","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Variables"],"initial":"seeProse","appliesto":"allElements","computed":"asSpecifiedWithVarsSubstituted","order":"perGrammar","status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/--*"},"-ms-accelerator":{"syntax":"false | true","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"false","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-accelerator"},"-ms-block-progression":{"syntax":"tb | rl | bt | lr","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"tb","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-block-progression"},"-ms-content-zoom-chaining":{"syntax":"none | chained","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"none","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-content-zoom-chaining"},"-ms-content-zooming":{"syntax":"none | zoom","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"zoomForTheTopLevelNoneForTheRest","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-content-zooming"},"-ms-content-zoom-limit":{"syntax":"<\'-ms-content-zoom-limit-min\'> <\'-ms-content-zoom-limit-max\'>","media":"interactive","inherited":false,"animationType":"discrete","percentages":["-ms-content-zoom-limit-max","-ms-content-zoom-limit-min"],"groups":["Microsoft Extensions"],"initial":["-ms-content-zoom-limit-max","-ms-content-zoom-limit-min"],"appliesto":"nonReplacedBlockAndInlineBlockElements","computed":["-ms-content-zoom-limit-max","-ms-content-zoom-limit-min"],"order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-content-zoom-limit"},"-ms-content-zoom-limit-max":{"syntax":"<percentage>","media":"interactive","inherited":false,"animationType":"discrete","percentages":"maxZoomFactor","groups":["Microsoft Extensions"],"initial":"400%","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-content-zoom-limit-max"},"-ms-content-zoom-limit-min":{"syntax":"<percentage>","media":"interactive","inherited":false,"animationType":"discrete","percentages":"minZoomFactor","groups":["Microsoft Extensions"],"initial":"100%","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-content-zoom-limit-min"},"-ms-content-zoom-snap":{"syntax":"<\'-ms-content-zoom-snap-type\'> || <\'-ms-content-zoom-snap-points\'>","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":["-ms-content-zoom-snap-type","-ms-content-zoom-snap-points"],"appliesto":"nonReplacedBlockAndInlineBlockElements","computed":["-ms-content-zoom-snap-type","-ms-content-zoom-snap-points"],"order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-content-zoom-snap"},"-ms-content-zoom-snap-points":{"syntax":"snapInterval( <percentage>, <percentage> ) | snapList( <percentage># )","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"snapInterval(0%, 100%)","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-content-zoom-snap-points"},"-ms-content-zoom-snap-type":{"syntax":"none | proximity | mandatory","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"none","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-content-zoom-snap-type"},"-ms-filter":{"syntax":"<string>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"\\"\\"","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-filter"},"-ms-flow-from":{"syntax":"[ none | <custom-ident> ]#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"none","appliesto":"nonReplacedElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-flow-from"},"-ms-flow-into":{"syntax":"[ none | <custom-ident> ]#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"none","appliesto":"iframeElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-flow-into"},"-ms-grid-columns":{"syntax":"none | <track-list> | <auto-track-list>","media":"visual","inherited":false,"animationType":"simpleListOfLpcDifferenceLpc","percentages":"referToDimensionOfContentArea","groups":["CSS Grid Layout"],"initial":"none","appliesto":"gridContainers","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-grid-columns"},"-ms-grid-rows":{"syntax":"none | <track-list> | <auto-track-list>","media":"visual","inherited":false,"animationType":"simpleListOfLpcDifferenceLpc","percentages":"referToDimensionOfContentArea","groups":["CSS Grid Layout"],"initial":"none","appliesto":"gridContainers","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-grid-rows"},"-ms-high-contrast-adjust":{"syntax":"auto | none","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-high-contrast-adjust"},"-ms-hyphenate-limit-chars":{"syntax":"auto | <integer>{1,3}","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-hyphenate-limit-chars"},"-ms-hyphenate-limit-lines":{"syntax":"no-limit | <integer>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"no-limit","appliesto":"blockContainerElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-hyphenate-limit-lines"},"-ms-hyphenate-limit-zone":{"syntax":"<percentage> | <length>","media":"visual","inherited":true,"animationType":"discrete","percentages":"referToLineBoxWidth","groups":["Microsoft Extensions"],"initial":"0","appliesto":"blockContainerElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-hyphenate-limit-zone"},"-ms-ime-align":{"syntax":"auto | after","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-ime-align"},"-ms-overflow-style":{"syntax":"auto | none | scrollbar | -ms-autohiding-scrollbar","media":"interactive","inherited":true,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"auto","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-overflow-style"},"-ms-scrollbar-3dlight-color":{"syntax":"<color>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"dependsOnUserAgent","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scrollbar-3dlight-color"},"-ms-scrollbar-arrow-color":{"syntax":"<color>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"ButtonText","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scrollbar-arrow-color"},"-ms-scrollbar-base-color":{"syntax":"<color>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"dependsOnUserAgent","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scrollbar-base-color"},"-ms-scrollbar-darkshadow-color":{"syntax":"<color>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"ThreeDDarkShadow","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scrollbar-darkshadow-color"},"-ms-scrollbar-face-color":{"syntax":"<color>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"ThreeDFace","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scrollbar-face-color"},"-ms-scrollbar-highlight-color":{"syntax":"<color>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"ThreeDHighlight","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scrollbar-highlight-color"},"-ms-scrollbar-shadow-color":{"syntax":"<color>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"ThreeDDarkShadow","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scrollbar-shadow-color"},"-ms-scrollbar-track-color":{"syntax":"<color>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"Scrollbar","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scrollbar-track-color"},"-ms-scroll-chaining":{"syntax":"chained | none","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"chained","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scroll-chaining"},"-ms-scroll-limit":{"syntax":"<\'-ms-scroll-limit-x-min\'> <\'-ms-scroll-limit-y-min\'> <\'-ms-scroll-limit-x-max\'> <\'-ms-scroll-limit-y-max\'>","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":["-ms-scroll-limit-x-min","-ms-scroll-limit-y-min","-ms-scroll-limit-x-max","-ms-scroll-limit-y-max"],"appliesto":"nonReplacedBlockAndInlineBlockElements","computed":["-ms-scroll-limit-x-min","-ms-scroll-limit-y-min","-ms-scroll-limit-x-max","-ms-scroll-limit-y-max"],"order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scroll-limit"},"-ms-scroll-limit-x-max":{"syntax":"auto | <length>","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"auto","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scroll-limit-x-max"},"-ms-scroll-limit-x-min":{"syntax":"<length>","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"0","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scroll-limit-x-min"},"-ms-scroll-limit-y-max":{"syntax":"auto | <length>","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"auto","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scroll-limit-y-max"},"-ms-scroll-limit-y-min":{"syntax":"<length>","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"0","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scroll-limit-y-min"},"-ms-scroll-rails":{"syntax":"none | railed","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"railed","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scroll-rails"},"-ms-scroll-snap-points-x":{"syntax":"snapInterval( <length-percentage>, <length-percentage> ) | snapList( <length-percentage># )","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"snapInterval(0px, 100%)","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scroll-snap-points-x"},"-ms-scroll-snap-points-y":{"syntax":"snapInterval( <length-percentage>, <length-percentage> ) | snapList( <length-percentage># )","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"snapInterval(0px, 100%)","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scroll-snap-points-y"},"-ms-scroll-snap-type":{"syntax":"none | proximity | mandatory","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"none","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scroll-snap-type"},"-ms-scroll-snap-x":{"syntax":"<\'-ms-scroll-snap-type\'> <\'-ms-scroll-snap-points-x\'>","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":["-ms-scroll-snap-type","-ms-scroll-snap-points-x"],"appliesto":"nonReplacedBlockAndInlineBlockElements","computed":["-ms-scroll-snap-type","-ms-scroll-snap-points-x"],"order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scroll-snap-x"},"-ms-scroll-snap-y":{"syntax":"<\'-ms-scroll-snap-type\'> <\'-ms-scroll-snap-points-y\'>","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":["-ms-scroll-snap-type","-ms-scroll-snap-points-y"],"appliesto":"nonReplacedBlockAndInlineBlockElements","computed":["-ms-scroll-snap-type","-ms-scroll-snap-points-y"],"order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scroll-snap-y"},"-ms-scroll-translation":{"syntax":"none | vertical-to-horizontal","media":"interactive","inherited":true,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-scroll-translation"},"-ms-text-autospace":{"syntax":"none | ideograph-alpha | ideograph-numeric | ideograph-parenthesis | ideograph-space","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-text-autospace"},"-ms-touch-select":{"syntax":"grippers | none","media":"interactive","inherited":true,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"grippers","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-touch-select"},"-ms-user-select":{"syntax":"none | element | text","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"text","appliesto":"nonReplacedElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-user-select"},"-ms-wrap-flow":{"syntax":"auto | both | start | end | maximum | clear","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"auto","appliesto":"blockLevelElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-wrap-flow"},"-ms-wrap-margin":{"syntax":"<length>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"0","appliesto":"exclusionElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-wrap-margin"},"-ms-wrap-through":{"syntax":"wrap | none","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Microsoft Extensions"],"initial":"wrap","appliesto":"blockLevelElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-ms-wrap-through"},"-moz-appearance":{"syntax":"none | button | button-arrow-down | button-arrow-next | button-arrow-previous | button-arrow-up | button-bevel | button-focus | caret | checkbox | checkbox-container | checkbox-label | checkmenuitem | dualbutton | groupbox | listbox | listitem | menuarrow | menubar | menucheckbox | menuimage | menuitem | menuitemtext | menulist | menulist-button | menulist-text | menulist-textfield | menupopup | menuradio | menuseparator | meterbar | meterchunk | progressbar | progressbar-vertical | progresschunk | progresschunk-vertical | radio | radio-container | radio-label | radiomenuitem | range | range-thumb | resizer | resizerpanel | scale-horizontal | scalethumbend | scalethumb-horizontal | scalethumbstart | scalethumbtick | scalethumb-vertical | scale-vertical | scrollbarbutton-down | scrollbarbutton-left | scrollbarbutton-right | scrollbarbutton-up | scrollbarthumb-horizontal | scrollbarthumb-vertical | scrollbartrack-horizontal | scrollbartrack-vertical | searchfield | separator | sheet | spinner | spinner-downbutton | spinner-textfield | spinner-upbutton | splitter | statusbar | statusbarpanel | tab | tabpanel | tabpanels | tab-scroll-arrow-back | tab-scroll-arrow-forward | textfield | textfield-multiline | toolbar | toolbarbutton | toolbarbutton-dropdown | toolbargripper | toolbox | tooltip | treeheader | treeheadercell | treeheadersortarrow | treeitem | treeline | treetwisty | treetwistyopen | treeview | -moz-mac-unified-toolbar | -moz-win-borderless-glass | -moz-win-browsertabbar-toolbox | -moz-win-communicationstext | -moz-win-communications-toolbox | -moz-win-exclude-glass | -moz-win-glass | -moz-win-mediatext | -moz-win-media-toolbox | -moz-window-button-box | -moz-window-button-box-maximized | -moz-window-button-close | -moz-window-button-maximize | -moz-window-button-minimize | -moz-window-button-restore | -moz-window-frame-bottom | -moz-window-frame-left | -moz-window-frame-right | -moz-window-titlebar | -moz-window-titlebar-maximized","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions","WebKit Extensions"],"initial":"noneButOverriddenInUserAgentCSS","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/appearance"},"-moz-binding":{"syntax":"<url> | none","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"none","appliesto":"allElementsExceptGeneratedContentOrPseudoElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-binding"},"-moz-border-bottom-colors":{"syntax":"<color>+ | none","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-border-bottom-colors"},"-moz-border-left-colors":{"syntax":"<color>+ | none","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-border-left-colors"},"-moz-border-right-colors":{"syntax":"<color>+ | none","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-border-right-colors"},"-moz-border-top-colors":{"syntax":"<color>+ | none","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-border-top-colors"},"-moz-context-properties":{"syntax":"none | [ fill | fill-opacity | stroke | stroke-opacity ]#","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"none","appliesto":"allElementsThatCanReferenceImages","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-context-properties"},"-moz-float-edge":{"syntax":"border-box | content-box | margin-box | padding-box","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"content-box","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-float-edge"},"-moz-force-broken-image-icon":{"syntax":"<integer [0,1]>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"0","appliesto":"images","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-force-broken-image-icon"},"-moz-image-region":{"syntax":"<shape> | auto","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"auto","appliesto":"xulImageElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-image-region"},"-moz-orient":{"syntax":"inline | block | horizontal | vertical","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"inline","appliesto":"anyElementEffectOnProgressAndMeter","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-orient"},"-moz-outline-radius":{"syntax":"<outline-radius>{1,4} [ / <outline-radius>{1,4} ]?","media":"visual","inherited":false,"animationType":["-moz-outline-radius-topleft","-moz-outline-radius-topright","-moz-outline-radius-bottomright","-moz-outline-radius-bottomleft"],"percentages":["-moz-outline-radius-topleft","-moz-outline-radius-topright","-moz-outline-radius-bottomright","-moz-outline-radius-bottomleft"],"groups":["Mozilla Extensions"],"initial":["-moz-outline-radius-topleft","-moz-outline-radius-topright","-moz-outline-radius-bottomright","-moz-outline-radius-bottomleft"],"appliesto":"allElements","computed":["-moz-outline-radius-topleft","-moz-outline-radius-topright","-moz-outline-radius-bottomright","-moz-outline-radius-bottomleft"],"order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius"},"-moz-outline-radius-bottomleft":{"syntax":"<outline-radius>","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToDimensionOfBorderBox","groups":["Mozilla Extensions"],"initial":"0","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-bottomleft"},"-moz-outline-radius-bottomright":{"syntax":"<outline-radius>","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToDimensionOfBorderBox","groups":["Mozilla Extensions"],"initial":"0","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-bottomright"},"-moz-outline-radius-topleft":{"syntax":"<outline-radius>","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToDimensionOfBorderBox","groups":["Mozilla Extensions"],"initial":"0","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-topleft"},"-moz-outline-radius-topright":{"syntax":"<outline-radius>","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToDimensionOfBorderBox","groups":["Mozilla Extensions"],"initial":"0","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-topright"},"-moz-stack-sizing":{"syntax":"ignore | stretch-to-fit","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"stretch-to-fit","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-stack-sizing"},"-moz-text-blink":{"syntax":"none | blink","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-text-blink"},"-moz-user-focus":{"syntax":"ignore | normal | select-after | select-before | select-menu | select-same | select-all | none","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-user-focus"},"-moz-user-input":{"syntax":"auto | none | enabled | disabled","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-user-input"},"-moz-user-modify":{"syntax":"read-only | read-write | write-only","media":"interactive","inherited":true,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"read-only","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-user-modify"},"-moz-window-dragging":{"syntax":"drag | no-drag","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"drag","appliesto":"allElementsCreatingNativeWindows","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-window-dragging"},"-moz-window-shadow":{"syntax":"default | menu | tooltip | sheet | none","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"default","appliesto":"allElementsCreatingNativeWindows","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-moz-window-shadow"},"-webkit-appearance":{"syntax":"none | button | button-bevel | caret | checkbox | default-button | inner-spin-button | listbox | listitem | media-controls-background | media-controls-fullscreen-background | media-current-time-display | media-enter-fullscreen-button | media-exit-fullscreen-button | media-fullscreen-button | media-mute-button | media-overlay-play-button | media-play-button | media-seek-back-button | media-seek-forward-button | media-slider | media-sliderthumb | media-time-remaining-display | media-toggle-closed-captions-button | media-volume-slider | media-volume-slider-container | media-volume-sliderthumb | menulist | menulist-button | menulist-text | menulist-textfield | meter | progress-bar | progress-bar-value | push-button | radio | searchfield | searchfield-cancel-button | searchfield-decoration | searchfield-results-button | searchfield-results-decoration | slider-horizontal | slider-vertical | sliderthumb-horizontal | sliderthumb-vertical | square-button | textarea | textfield | -apple-pay-button","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"noneButOverriddenInUserAgentCSS","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/appearance"},"-webkit-border-before":{"syntax":"<\'border-width\'> || <\'border-style\'> || <\'color\'>","media":"visual","inherited":true,"animationType":"discrete","percentages":["-webkit-border-before-width"],"groups":["WebKit Extensions"],"initial":["border-width","border-style","color"],"appliesto":"allElements","computed":["border-width","border-style","color"],"order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-border-before"},"-webkit-border-before-color":{"syntax":"<\'color\'>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"currentcolor","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","status":"nonstandard"},"-webkit-border-before-style":{"syntax":"<\'border-style\'>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard"},"-webkit-border-before-width":{"syntax":"<\'border-width\'>","media":"visual","inherited":true,"animationType":"discrete","percentages":"logicalWidthOfContainingBlock","groups":["WebKit Extensions"],"initial":"medium","appliesto":"allElements","computed":"absoluteLengthZeroIfBorderStyleNoneOrHidden","order":"uniqueOrder","status":"nonstandard"},"-webkit-box-reflect":{"syntax":"[ above | below | right | left ]? <length>? <image>?","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-box-reflect"},"-webkit-line-clamp":{"syntax":"none | <integer>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"no","groups":["WebKit Extensions","CSS Overflow"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp"},"-webkit-mask":{"syntax":"[ <mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || [ <box> | border | padding | content | text ] || [ <box> | border | padding | content ] ]#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":["-webkit-mask-image","-webkit-mask-repeat","-webkit-mask-attachment","-webkit-mask-position","-webkit-mask-origin","-webkit-mask-clip"],"appliesto":"allElements","computed":["-webkit-mask-image","-webkit-mask-repeat","-webkit-mask-attachment","-webkit-mask-position","-webkit-mask-origin","-webkit-mask-clip"],"order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask"},"-webkit-mask-attachment":{"syntax":"<attachment>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"scroll","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-attachment"},"-webkit-mask-clip":{"syntax":"[ <box> | border | padding | content | text ]#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"border","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-clip"},"-webkit-mask-composite":{"syntax":"<composite-style>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"source-over","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-composite"},"-webkit-mask-image":{"syntax":"<mask-reference>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"none","appliesto":"allElements","computed":"absoluteURIOrNone","order":"orderOfAppearance","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-image"},"-webkit-mask-origin":{"syntax":"[ <box> | border | padding | content ]#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"padding","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-origin"},"-webkit-mask-position":{"syntax":"<position>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"referToSizeOfElement","groups":["WebKit Extensions"],"initial":"0% 0%","appliesto":"allElements","computed":"absoluteLengthOrPercentage","order":"orderOfAppearance","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-position"},"-webkit-mask-position-x":{"syntax":"[ <length-percentage> | left | center | right ]#","media":"visual","inherited":false,"animationType":"discrete","percentages":"referToSizeOfElement","groups":["WebKit Extensions"],"initial":"0%","appliesto":"allElements","computed":"absoluteLengthOrPercentage","order":"orderOfAppearance","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-x"},"-webkit-mask-position-y":{"syntax":"[ <length-percentage> | top | center | bottom ]#","media":"visual","inherited":false,"animationType":"discrete","percentages":"referToSizeOfElement","groups":["WebKit Extensions"],"initial":"0%","appliesto":"allElements","computed":"absoluteLengthOrPercentage","order":"orderOfAppearance","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-y"},"-webkit-mask-repeat":{"syntax":"<repeat-style>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"repeat","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-repeat"},"-webkit-mask-repeat-x":{"syntax":"repeat | no-repeat | space | round","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"repeat","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-x"},"-webkit-mask-repeat-y":{"syntax":"repeat | no-repeat | space | round","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"repeat","appliesto":"allElements","computed":"absoluteLengthOrPercentage","order":"orderOfAppearance","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-y"},"-webkit-mask-size":{"syntax":"<bg-size>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"relativeToBackgroundPositioningArea","groups":["WebKit Extensions"],"initial":"auto auto","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-size"},"-webkit-overflow-scrolling":{"syntax":"auto | touch","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"auto","appliesto":"scrollingBoxes","computed":"asSpecified","order":"orderOfAppearance","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-overflow-scrolling"},"-webkit-tap-highlight-color":{"syntax":"<color>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"black","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-tap-highlight-color"},"-webkit-text-fill-color":{"syntax":"<color>","media":"visual","inherited":true,"animationType":"color","percentages":"no","groups":["WebKit Extensions"],"initial":"currentcolor","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-fill-color"},"-webkit-text-stroke":{"syntax":"<length> || <color>","media":"visual","inherited":true,"animationType":["-webkit-text-stroke-width","-webkit-text-stroke-color"],"percentages":"no","groups":["WebKit Extensions"],"initial":["-webkit-text-stroke-width","-webkit-text-stroke-color"],"appliesto":"allElements","computed":["-webkit-text-stroke-width","-webkit-text-stroke-color"],"order":"canonicalOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke"},"-webkit-text-stroke-color":{"syntax":"<color>","media":"visual","inherited":true,"animationType":"color","percentages":"no","groups":["WebKit Extensions"],"initial":"currentcolor","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-color"},"-webkit-text-stroke-width":{"syntax":"<length>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"0","appliesto":"allElements","computed":"absoluteLength","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-width"},"-webkit-touch-callout":{"syntax":"default | none","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"default","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-touch-callout"},"-webkit-user-modify":{"syntax":"read-only | read-write | read-write-plaintext-only","media":"interactive","inherited":true,"animationType":"discrete","percentages":"no","groups":["WebKit Extensions"],"initial":"read-only","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard"},"align-content":{"syntax":"normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Box Alignment"],"initial":"normal","appliesto":"multilineFlexContainers","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/align-content"},"align-items":{"syntax":"normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ]","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Box Alignment"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/align-items"},"align-self":{"syntax":"auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Box Alignment"],"initial":"auto","appliesto":"flexItemsGridItemsAndAbsolutelyPositionedBoxes","computed":"autoOnAbsolutelyPositionedElementsValueOfAlignItemsOnParent","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/align-self"},"align-tracks":{"syntax":"[ normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position> ]#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Grid Layout"],"initial":"normal","appliesto":"gridContainersWithMasonryLayoutInTheirBlockAxis","computed":"asSpecified","order":"uniqueOrder","status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/align-tracks"},"all":{"syntax":"initial | inherit | unset | revert","media":"noPracticalMedia","inherited":false,"animationType":"eachOfShorthandPropertiesExceptUnicodeBiDiAndDirection","percentages":"no","groups":["CSS Miscellaneous"],"initial":"noPracticalInitialValue","appliesto":"allElements","computed":"asSpecifiedAppliesToEachProperty","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/all"},"animation":{"syntax":"<single-animation>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Animations"],"initial":["animation-name","animation-duration","animation-timing-function","animation-delay","animation-iteration-count","animation-direction","animation-fill-mode","animation-play-state"],"appliesto":"allElementsAndPseudos","computed":["animation-name","animation-duration","animation-timing-function","animation-delay","animation-direction","animation-iteration-count","animation-fill-mode","animation-play-state"],"order":"orderOfAppearance","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/animation"},"animation-delay":{"syntax":"<time>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Animations"],"initial":"0s","appliesto":"allElementsAndPseudos","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/animation-delay"},"animation-direction":{"syntax":"<single-animation-direction>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Animations"],"initial":"normal","appliesto":"allElementsAndPseudos","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/animation-direction"},"animation-duration":{"syntax":"<time>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Animations"],"initial":"0s","appliesto":"allElementsAndPseudos","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/animation-duration"},"animation-fill-mode":{"syntax":"<single-animation-fill-mode>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Animations"],"initial":"none","appliesto":"allElementsAndPseudos","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/animation-fill-mode"},"animation-iteration-count":{"syntax":"<single-animation-iteration-count>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Animations"],"initial":"1","appliesto":"allElementsAndPseudos","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/animation-iteration-count"},"animation-name":{"syntax":"[ none | <keyframes-name> ]#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Animations"],"initial":"none","appliesto":"allElementsAndPseudos","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/animation-name"},"animation-play-state":{"syntax":"<single-animation-play-state>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Animations"],"initial":"running","appliesto":"allElementsAndPseudos","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/animation-play-state"},"animation-timing-function":{"syntax":"<timing-function>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Animations"],"initial":"ease","appliesto":"allElementsAndPseudos","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/animation-timing-function"},"appearance":{"syntax":"none | auto | textfield | menulist-button | <compat-auto>","media":"all","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Basic User Interface"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/appearance"},"aspect-ratio":{"syntax":"auto | <ratio>","media":"all","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Basic User Interface"],"initial":"auto","appliesto":"allElementsExceptInlineBoxesAndInternalRubyOrTableBoxes","computed":"asSpecified","order":"perGrammar","status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/aspect-ratio"},"azimuth":{"syntax":"<angle> | [ [ left-side | far-left | left | center-left | center | center-right | right | far-right | right-side ] || behind ] | leftwards | rightwards","media":"aural","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Speech"],"initial":"center","appliesto":"allElements","computed":"normalizedAngle","order":"orderOfAppearance","status":"obsolete","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/azimuth"},"backdrop-filter":{"syntax":"none | <filter-function-list>","media":"visual","inherited":false,"animationType":"filterList","percentages":"no","groups":["Filter Effects"],"initial":"none","appliesto":"allElementsSVGContainerElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/backdrop-filter"},"backface-visibility":{"syntax":"visible | hidden","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Transforms"],"initial":"visible","appliesto":"transformableElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/backface-visibility"},"background":{"syntax":"[ <bg-layer> , ]* <final-bg-layer>","media":"visual","inherited":false,"animationType":["background-color","background-image","background-clip","background-position","background-size","background-repeat","background-attachment"],"percentages":["background-position","background-size"],"groups":["CSS Backgrounds and Borders"],"initial":["background-image","background-position","background-size","background-repeat","background-origin","background-clip","background-attachment","background-color"],"appliesto":"allElements","computed":["background-image","background-position","background-size","background-repeat","background-origin","background-clip","background-attachment","background-color"],"order":"orderOfAppearance","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/background"},"background-attachment":{"syntax":"<attachment>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"scroll","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/background-attachment"},"background-blend-mode":{"syntax":"<blend-mode>#","media":"none","inherited":false,"animationType":"discrete","percentages":"no","groups":["Compositing and Blending"],"initial":"normal","appliesto":"allElementsSVGContainerGraphicsAndGraphicsReferencingElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/background-blend-mode"},"background-clip":{"syntax":"<box>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"border-box","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/background-clip"},"background-color":{"syntax":"<color>","media":"visual","inherited":false,"animationType":"color","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"transparent","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/background-color"},"background-image":{"syntax":"<bg-image>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"none","appliesto":"allElements","computed":"asSpecifiedURLsAbsolute","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/background-image"},"background-origin":{"syntax":"<box>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"padding-box","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/background-origin"},"background-position":{"syntax":"<bg-position>#","media":"visual","inherited":false,"animationType":"repeatableListOfSimpleListOfLpc","percentages":"referToSizeOfBackgroundPositioningAreaMinusBackgroundImageSize","groups":["CSS Backgrounds and Borders"],"initial":"0% 0%","appliesto":"allElements","computed":"listEachItemTwoKeywordsOriginOffsets","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/background-position"},"background-position-x":{"syntax":"[ center | [ [ left | right | x-start | x-end ]? <length-percentage>? ]! ]#","media":"visual","inherited":false,"animationType":"discrete","percentages":"referToWidthOfBackgroundPositioningAreaMinusBackgroundImageHeight","groups":["CSS Backgrounds and Borders"],"initial":"left","appliesto":"allElements","computed":"listEachItemConsistingOfAbsoluteLengthPercentageAndOrigin","order":"uniqueOrder","status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/background-position-x"},"background-position-y":{"syntax":"[ center | [ [ top | bottom | y-start | y-end ]? <length-percentage>? ]! ]#","media":"visual","inherited":false,"animationType":"discrete","percentages":"referToHeightOfBackgroundPositioningAreaMinusBackgroundImageHeight","groups":["CSS Backgrounds and Borders"],"initial":"top","appliesto":"allElements","computed":"listEachItemConsistingOfAbsoluteLengthPercentageAndOrigin","order":"uniqueOrder","status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/background-position-y"},"background-repeat":{"syntax":"<repeat-style>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"repeat","appliesto":"allElements","computed":"listEachItemHasTwoKeywordsOnePerDimension","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/background-repeat"},"background-size":{"syntax":"<bg-size>#","media":"visual","inherited":false,"animationType":"repeatableListOfSimpleListOfLpc","percentages":"relativeToBackgroundPositioningArea","groups":["CSS Backgrounds and Borders"],"initial":"auto auto","appliesto":"allElements","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/background-size"},"block-overflow":{"syntax":"clip | ellipsis | <string>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Overflow"],"initial":"clip","appliesto":"blockContainers","computed":"asSpecified","order":"perGrammar","status":"experimental"},"block-size":{"syntax":"<\'width\'>","media":"visual","inherited":false,"animationType":"lpc","percentages":"blockSizeOfContainingBlock","groups":["CSS Logical Properties"],"initial":"auto","appliesto":"sameAsWidthAndHeight","computed":"sameAsWidthAndHeight","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/block-size"},"border":{"syntax":"<line-width> || <line-style> || <color>","media":"visual","inherited":false,"animationType":["border-color","border-style","border-width"],"percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":["border-width","border-style","border-color"],"appliesto":"allElements","computed":["border-width","border-style","border-color"],"order":"orderOfAppearance","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border"},"border-block":{"syntax":"<\'border-top-width\'> || <\'border-top-style\'> || <\'color\'>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Logical Properties"],"initial":["border-top-width","border-top-style","border-top-color"],"appliesto":"allElements","computed":["border-top-width","border-top-style","border-top-color"],"order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-block"},"border-block-color":{"syntax":"<\'border-top-color\'>{1,2}","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Logical Properties"],"initial":"currentcolor","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-block-color"},"border-block-style":{"syntax":"<\'border-top-style\'>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Logical Properties"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-block-style"},"border-block-width":{"syntax":"<\'border-top-width\'>","media":"visual","inherited":false,"animationType":"discrete","percentages":"logicalWidthOfContainingBlock","groups":["CSS Logical Properties"],"initial":"medium","appliesto":"allElements","computed":"absoluteLengthZeroIfBorderStyleNoneOrHidden","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-block-width"},"border-block-end":{"syntax":"<\'border-top-width\'> || <\'border-top-style\'> || <\'color\'>","media":"visual","inherited":false,"animationType":["border-block-end-color","border-block-end-style","border-block-end-width"],"percentages":"no","groups":["CSS Logical Properties"],"initial":["border-top-width","border-top-style","border-top-color"],"appliesto":"allElements","computed":["border-top-width","border-top-style","border-top-color"],"order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-block-end"},"border-block-end-color":{"syntax":"<\'border-top-color\'>","media":"visual","inherited":false,"animationType":"color","percentages":"no","groups":["CSS Logical Properties"],"initial":"currentcolor","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-block-end-color"},"border-block-end-style":{"syntax":"<\'border-top-style\'>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Logical Properties"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-block-end-style"},"border-block-end-width":{"syntax":"<\'border-top-width\'>","media":"visual","inherited":false,"animationType":"length","percentages":"logicalWidthOfContainingBlock","groups":["CSS Logical Properties"],"initial":"medium","appliesto":"allElements","computed":"absoluteLengthZeroIfBorderStyleNoneOrHidden","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-block-end-width"},"border-block-start":{"syntax":"<\'border-top-width\'> || <\'border-top-style\'> || <\'color\'>","media":"visual","inherited":false,"animationType":["border-block-start-color","border-block-start-style","border-block-start-width"],"percentages":"no","groups":["CSS Logical Properties"],"initial":["border-width","border-style","color"],"appliesto":"allElements","computed":["border-width","border-style","border-block-start-color"],"order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-block-start"},"border-block-start-color":{"syntax":"<\'border-top-color\'>","media":"visual","inherited":false,"animationType":"color","percentages":"no","groups":["CSS Logical Properties"],"initial":"currentcolor","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-block-start-color"},"border-block-start-style":{"syntax":"<\'border-top-style\'>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Logical Properties"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-block-start-style"},"border-block-start-width":{"syntax":"<\'border-top-width\'>","media":"visual","inherited":false,"animationType":"length","percentages":"logicalWidthOfContainingBlock","groups":["CSS Logical Properties"],"initial":"medium","appliesto":"allElements","computed":"absoluteLengthZeroIfBorderStyleNoneOrHidden","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-block-start-width"},"border-bottom":{"syntax":"<line-width> || <line-style> || <color>","media":"visual","inherited":false,"animationType":["border-bottom-color","border-bottom-style","border-bottom-width"],"percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":["border-bottom-width","border-bottom-style","border-bottom-color"],"appliesto":"allElements","computed":["border-bottom-width","border-bottom-style","border-bottom-color"],"order":"orderOfAppearance","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-bottom"},"border-bottom-color":{"syntax":"<\'border-top-color\'>","media":"visual","inherited":false,"animationType":"color","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"currentcolor","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-bottom-color"},"border-bottom-left-radius":{"syntax":"<length-percentage>{1,2}","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToDimensionOfBorderBox","groups":["CSS Backgrounds and Borders"],"initial":"0","appliesto":"allElementsUAsNotRequiredWhenCollapse","computed":"twoAbsoluteLengthOrPercentages","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-bottom-left-radius"},"border-bottom-right-radius":{"syntax":"<length-percentage>{1,2}","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToDimensionOfBorderBox","groups":["CSS Backgrounds and Borders"],"initial":"0","appliesto":"allElementsUAsNotRequiredWhenCollapse","computed":"twoAbsoluteLengthOrPercentages","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-bottom-right-radius"},"border-bottom-style":{"syntax":"<line-style>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-bottom-style"},"border-bottom-width":{"syntax":"<line-width>","media":"visual","inherited":false,"animationType":"length","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"medium","appliesto":"allElements","computed":"absoluteLengthOr0IfBorderBottomStyleNoneOrHidden","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-bottom-width"},"border-collapse":{"syntax":"collapse | separate","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Table"],"initial":"separate","appliesto":"tableElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-collapse"},"border-color":{"syntax":"<color>{1,4}","media":"visual","inherited":false,"animationType":["border-bottom-color","border-left-color","border-right-color","border-top-color"],"percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":["border-top-color","border-right-color","border-bottom-color","border-left-color"],"appliesto":"allElements","computed":["border-bottom-color","border-left-color","border-right-color","border-top-color"],"order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-color"},"border-end-end-radius":{"syntax":"<length-percentage>{1,2}","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToDimensionOfBorderBox","groups":["CSS Logical Properties"],"initial":"0","appliesto":"allElementsUAsNotRequiredWhenCollapse","computed":"twoAbsoluteLengthOrPercentages","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-end-end-radius"},"border-end-start-radius":{"syntax":"<length-percentage>{1,2}","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToDimensionOfBorderBox","groups":["CSS Logical Properties"],"initial":"0","appliesto":"allElementsUAsNotRequiredWhenCollapse","computed":"twoAbsoluteLengthOrPercentages","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-end-start-radius"},"border-image":{"syntax":"<\'border-image-source\'> || <\'border-image-slice\'> [ / <\'border-image-width\'> | / <\'border-image-width\'>? / <\'border-image-outset\'> ]? || <\'border-image-repeat\'>","media":"visual","inherited":false,"animationType":"discrete","percentages":["border-image-slice","border-image-width"],"groups":["CSS Backgrounds and Borders"],"initial":["border-image-source","border-image-slice","border-image-width","border-image-outset","border-image-repeat"],"appliesto":"allElementsExceptTableElementsWhenCollapse","computed":["border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width"],"order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-image"},"border-image-outset":{"syntax":"[ <length> | <number> ]{1,4}","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"0","appliesto":"allElementsExceptTableElementsWhenCollapse","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-image-outset"},"border-image-repeat":{"syntax":"[ stretch | repeat | round | space ]{1,2}","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"stretch","appliesto":"allElementsExceptTableElementsWhenCollapse","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-image-repeat"},"border-image-slice":{"syntax":"<number-percentage>{1,4} && fill?","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"referToSizeOfBorderImage","groups":["CSS Backgrounds and Borders"],"initial":"100%","appliesto":"allElementsExceptTableElementsWhenCollapse","computed":"oneToFourPercentagesOrAbsoluteLengthsPlusFill","order":"percentagesOrLengthsFollowedByFill","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-image-slice"},"border-image-source":{"syntax":"none | <image>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"none","appliesto":"allElementsExceptTableElementsWhenCollapse","computed":"noneOrImageWithAbsoluteURI","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-image-source"},"border-image-width":{"syntax":"[ <length-percentage> | <number> | auto ]{1,4}","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"referToWidthOrHeightOfBorderImageArea","groups":["CSS Backgrounds and Borders"],"initial":"1","appliesto":"allElementsExceptTableElementsWhenCollapse","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-image-width"},"border-inline":{"syntax":"<\'border-top-width\'> || <\'border-top-style\'> || <\'color\'>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Logical Properties"],"initial":["border-top-width","border-top-style","border-top-color"],"appliesto":"allElements","computed":["border-top-width","border-top-style","border-top-color"],"order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-inline"},"border-inline-end":{"syntax":"<\'border-top-width\'> || <\'border-top-style\'> || <\'color\'>","media":"visual","inherited":false,"animationType":["border-inline-end-color","border-inline-end-style","border-inline-end-width"],"percentages":"no","groups":["CSS Logical Properties"],"initial":["border-width","border-style","color"],"appliesto":"allElements","computed":["border-width","border-style","border-inline-end-color"],"order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-inline-end"},"border-inline-color":{"syntax":"<\'border-top-color\'>{1,2}","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Logical Properties"],"initial":"currentcolor","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-inline-color"},"border-inline-style":{"syntax":"<\'border-top-style\'>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Logical Properties"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-inline-style"},"border-inline-width":{"syntax":"<\'border-top-width\'>","media":"visual","inherited":false,"animationType":"discrete","percentages":"logicalWidthOfContainingBlock","groups":["CSS Logical Properties"],"initial":"medium","appliesto":"allElements","computed":"absoluteLengthZeroIfBorderStyleNoneOrHidden","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-inline-width"},"border-inline-end-color":{"syntax":"<\'border-top-color\'>","media":"visual","inherited":false,"animationType":"color","percentages":"no","groups":["CSS Logical Properties"],"initial":"currentcolor","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-color"},"border-inline-end-style":{"syntax":"<\'border-top-style\'>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Logical Properties"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-style"},"border-inline-end-width":{"syntax":"<\'border-top-width\'>","media":"visual","inherited":false,"animationType":"length","percentages":"logicalWidthOfContainingBlock","groups":["CSS Logical Properties"],"initial":"medium","appliesto":"allElements","computed":"absoluteLengthZeroIfBorderStyleNoneOrHidden","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-width"},"border-inline-start":{"syntax":"<\'border-top-width\'> || <\'border-top-style\'> || <\'color\'>","media":"visual","inherited":false,"animationType":["border-inline-start-color","border-inline-start-style","border-inline-start-width"],"percentages":"no","groups":["CSS Logical Properties"],"initial":["border-width","border-style","color"],"appliesto":"allElements","computed":["border-width","border-style","border-inline-start-color"],"order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-inline-start"},"border-inline-start-color":{"syntax":"<\'border-top-color\'>","media":"visual","inherited":false,"animationType":"color","percentages":"no","groups":["CSS Logical Properties"],"initial":"currentcolor","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-color"},"border-inline-start-style":{"syntax":"<\'border-top-style\'>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Logical Properties"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-style"},"border-inline-start-width":{"syntax":"<\'border-top-width\'>","media":"visual","inherited":false,"animationType":"length","percentages":"logicalWidthOfContainingBlock","groups":["CSS Logical Properties"],"initial":"medium","appliesto":"allElements","computed":"absoluteLengthZeroIfBorderStyleNoneOrHidden","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-width"},"border-left":{"syntax":"<line-width> || <line-style> || <color>","media":"visual","inherited":false,"animationType":["border-left-color","border-left-style","border-left-width"],"percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":["border-left-width","border-left-style","border-left-color"],"appliesto":"allElements","computed":["border-left-width","border-left-style","border-left-color"],"order":"orderOfAppearance","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-left"},"border-left-color":{"syntax":"<color>","media":"visual","inherited":false,"animationType":"color","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"currentcolor","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-left-color"},"border-left-style":{"syntax":"<line-style>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-left-style"},"border-left-width":{"syntax":"<line-width>","media":"visual","inherited":false,"animationType":"length","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"medium","appliesto":"allElements","computed":"absoluteLengthOr0IfBorderLeftStyleNoneOrHidden","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-left-width"},"border-radius":{"syntax":"<length-percentage>{1,4} [ / <length-percentage>{1,4} ]?","media":"visual","inherited":false,"animationType":["border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"],"percentages":"referToDimensionOfBorderBox","groups":["CSS Backgrounds and Borders"],"initial":["border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"],"appliesto":"allElementsUAsNotRequiredWhenCollapse","computed":["border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius"],"order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-radius"},"border-right":{"syntax":"<line-width> || <line-style> || <color>","media":"visual","inherited":false,"animationType":["border-right-color","border-right-style","border-right-width"],"percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":["border-right-width","border-right-style","border-right-color"],"appliesto":"allElements","computed":["border-right-width","border-right-style","border-right-color"],"order":"orderOfAppearance","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-right"},"border-right-color":{"syntax":"<color>","media":"visual","inherited":false,"animationType":"color","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"currentcolor","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-right-color"},"border-right-style":{"syntax":"<line-style>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-right-style"},"border-right-width":{"syntax":"<line-width>","media":"visual","inherited":false,"animationType":"length","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"medium","appliesto":"allElements","computed":"absoluteLengthOr0IfBorderRightStyleNoneOrHidden","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-right-width"},"border-spacing":{"syntax":"<length> <length>?","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Table"],"initial":"0","appliesto":"tableElements","computed":"twoAbsoluteLengths","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-spacing"},"border-start-end-radius":{"syntax":"<length-percentage>{1,2}","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToDimensionOfBorderBox","groups":["CSS Logical Properties"],"initial":"0","appliesto":"allElementsUAsNotRequiredWhenCollapse","computed":"twoAbsoluteLengthOrPercentages","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-start-end-radius"},"border-start-start-radius":{"syntax":"<length-percentage>{1,2}","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToDimensionOfBorderBox","groups":["CSS Logical Properties"],"initial":"0","appliesto":"allElementsUAsNotRequiredWhenCollapse","computed":"twoAbsoluteLengthOrPercentages","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-start-start-radius"},"border-style":{"syntax":"<line-style>{1,4}","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":["border-top-style","border-right-style","border-bottom-style","border-left-style"],"appliesto":"allElements","computed":["border-bottom-style","border-left-style","border-right-style","border-top-style"],"order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-style"},"border-top":{"syntax":"<line-width> || <line-style> || <color>","media":"visual","inherited":false,"animationType":["border-top-color","border-top-style","border-top-width"],"percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":["border-top-width","border-top-style","border-top-color"],"appliesto":"allElements","computed":["border-top-width","border-top-style","border-top-color"],"order":"orderOfAppearance","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-top"},"border-top-color":{"syntax":"<color>","media":"visual","inherited":false,"animationType":"color","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"currentcolor","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-top-color"},"border-top-left-radius":{"syntax":"<length-percentage>{1,2}","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToDimensionOfBorderBox","groups":["CSS Backgrounds and Borders"],"initial":"0","appliesto":"allElementsUAsNotRequiredWhenCollapse","computed":"twoAbsoluteLengthOrPercentages","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-top-left-radius"},"border-top-right-radius":{"syntax":"<length-percentage>{1,2}","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToDimensionOfBorderBox","groups":["CSS Backgrounds and Borders"],"initial":"0","appliesto":"allElementsUAsNotRequiredWhenCollapse","computed":"twoAbsoluteLengthOrPercentages","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-top-right-radius"},"border-top-style":{"syntax":"<line-style>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-top-style"},"border-top-width":{"syntax":"<line-width>","media":"visual","inherited":false,"animationType":"length","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"medium","appliesto":"allElements","computed":"absoluteLengthOr0IfBorderTopStyleNoneOrHidden","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-top-width"},"border-width":{"syntax":"<line-width>{1,4}","media":"visual","inherited":false,"animationType":["border-bottom-width","border-left-width","border-right-width","border-top-width"],"percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":["border-top-width","border-right-width","border-bottom-width","border-left-width"],"appliesto":"allElements","computed":["border-bottom-width","border-left-width","border-right-width","border-top-width"],"order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/border-width"},"bottom":{"syntax":"<length> | <percentage> | auto","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToContainingBlockHeight","groups":["CSS Positioning"],"initial":"auto","appliesto":"positionedElements","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/bottom"},"box-align":{"syntax":"start | center | end | baseline | stretch","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions","WebKit Extensions"],"initial":"stretch","appliesto":"elementsWithDisplayBoxOrInlineBox","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/box-align"},"box-decoration-break":{"syntax":"slice | clone","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Fragmentation"],"initial":"slice","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/box-decoration-break"},"box-direction":{"syntax":"normal | reverse | inherit","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions","WebKit Extensions"],"initial":"normal","appliesto":"elementsWithDisplayBoxOrInlineBox","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/box-direction"},"box-flex":{"syntax":"<number>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions","WebKit Extensions"],"initial":"0","appliesto":"directChildrenOfElementsWithDisplayMozBoxMozInlineBox","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/box-flex"},"box-flex-group":{"syntax":"<integer>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions","WebKit Extensions"],"initial":"1","appliesto":"inFlowChildrenOfBoxElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/box-flex-group"},"box-lines":{"syntax":"single | multiple","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions","WebKit Extensions"],"initial":"single","appliesto":"boxElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/box-lines"},"box-ordinal-group":{"syntax":"<integer>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions","WebKit Extensions"],"initial":"1","appliesto":"childrenOfBoxElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/box-ordinal-group"},"box-orient":{"syntax":"horizontal | vertical | inline-axis | block-axis | inherit","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions","WebKit Extensions"],"initial":"inlineAxisHorizontalInXUL","appliesto":"elementsWithDisplayBoxOrInlineBox","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/box-orient"},"box-pack":{"syntax":"start | center | end | justify","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions","WebKit Extensions"],"initial":"start","appliesto":"elementsWithDisplayMozBoxMozInlineBox","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/box-pack"},"box-shadow":{"syntax":"none | <shadow>#","media":"visual","inherited":false,"animationType":"shadowList","percentages":"no","groups":["CSS Backgrounds and Borders"],"initial":"none","appliesto":"allElements","computed":"absoluteLengthsSpecifiedColorAsSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/box-shadow"},"box-sizing":{"syntax":"content-box | border-box","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Basic User Interface"],"initial":"content-box","appliesto":"allElementsAcceptingWidthOrHeight","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/box-sizing"},"break-after":{"syntax":"auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Fragmentation"],"initial":"auto","appliesto":"blockLevelElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/break-after"},"break-before":{"syntax":"auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Fragmentation"],"initial":"auto","appliesto":"blockLevelElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/break-before"},"break-inside":{"syntax":"auto | avoid | avoid-page | avoid-column | avoid-region","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Fragmentation"],"initial":"auto","appliesto":"blockLevelElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/break-inside"},"caption-side":{"syntax":"top | bottom | block-start | block-end | inline-start | inline-end","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Table"],"initial":"top","appliesto":"tableCaptionElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/caption-side"},"caret-color":{"syntax":"auto | <color>","media":"interactive","inherited":true,"animationType":"color","percentages":"no","groups":["CSS Basic User Interface"],"initial":"auto","appliesto":"allElements","computed":"asAutoOrColor","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/caret-color"},"clear":{"syntax":"none | left | right | both | inline-start | inline-end","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Positioning"],"initial":"none","appliesto":"blockLevelElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/clear"},"clip":{"syntax":"<shape> | auto","media":"visual","inherited":false,"animationType":"rectangle","percentages":"no","groups":["CSS Masking"],"initial":"auto","appliesto":"absolutelyPositionedElements","computed":"autoOrRectangle","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/clip"},"clip-path":{"syntax":"<clip-source> | [ <basic-shape> || <geometry-box> ] | none","media":"visual","inherited":false,"animationType":"basicShapeOtherwiseNo","percentages":"referToReferenceBoxWhenSpecifiedOtherwiseBorderBox","groups":["CSS Masking"],"initial":"none","appliesto":"allElementsSVGContainerElements","computed":"asSpecifiedURLsAbsolute","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/clip-path"},"color":{"syntax":"<color>","media":"visual","inherited":true,"animationType":"color","percentages":"no","groups":["CSS Color"],"initial":"variesFromBrowserToBrowser","appliesto":"allElements","computed":"translucentValuesRGBAOtherwiseRGB","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/color"},"color-adjust":{"syntax":"economy | exact","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Color"],"initial":"economy","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/color-adjust"},"column-count":{"syntax":"<integer> | auto","media":"visual","inherited":false,"animationType":"integer","percentages":"no","groups":["CSS Columns"],"initial":"auto","appliesto":"blockContainersExceptTableWrappers","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/column-count"},"column-fill":{"syntax":"auto | balance | balance-all","media":"visualInContinuousMediaNoEffectInOverflowColumns","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Columns"],"initial":"balance","appliesto":"multicolElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/column-fill"},"column-gap":{"syntax":"normal | <length-percentage>","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToDimensionOfContentArea","groups":["CSS Box Alignment"],"initial":"normal","appliesto":"multiColumnElementsFlexContainersGridContainers","computed":"asSpecifiedWithLengthsAbsoluteAndNormalComputingToZeroExceptMultiColumn","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/column-gap"},"column-rule":{"syntax":"<\'column-rule-width\'> || <\'column-rule-style\'> || <\'column-rule-color\'>","media":"visual","inherited":false,"animationType":["column-rule-color","column-rule-style","column-rule-width"],"percentages":"no","groups":["CSS Columns"],"initial":["column-rule-width","column-rule-style","column-rule-color"],"appliesto":"multicolElements","computed":["column-rule-color","column-rule-style","column-rule-width"],"order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/column-rule"},"column-rule-color":{"syntax":"<color>","media":"visual","inherited":false,"animationType":"color","percentages":"no","groups":["CSS Columns"],"initial":"currentcolor","appliesto":"multicolElements","computed":"computedColor","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/column-rule-color"},"column-rule-style":{"syntax":"<\'border-style\'>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Columns"],"initial":"none","appliesto":"multicolElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/column-rule-style"},"column-rule-width":{"syntax":"<\'border-width\'>","media":"visual","inherited":false,"animationType":"length","percentages":"no","groups":["CSS Columns"],"initial":"medium","appliesto":"multicolElements","computed":"absoluteLength0IfColumnRuleStyleNoneOrHidden","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/column-rule-width"},"column-span":{"syntax":"none | all","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Columns"],"initial":"none","appliesto":"inFlowBlockLevelElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/column-span"},"column-width":{"syntax":"<length> | auto","media":"visual","inherited":false,"animationType":"length","percentages":"no","groups":["CSS Columns"],"initial":"auto","appliesto":"blockContainersExceptTableWrappers","computed":"absoluteLengthZeroOrLarger","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/column-width"},"columns":{"syntax":"<\'column-width\'> || <\'column-count\'>","media":"visual","inherited":false,"animationType":["column-width","column-count"],"percentages":"no","groups":["CSS Columns"],"initial":["column-width","column-count"],"appliesto":"blockContainersExceptTableWrappers","computed":["column-width","column-count"],"order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/columns"},"contain":{"syntax":"none | strict | content | [ size || layout || style || paint ]","media":"all","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Containment"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/contain"},"content":{"syntax":"normal | none | [ <content-replacement> | <content-list> ] [/ <string> ]?","media":"all","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Generated Content"],"initial":"normal","appliesto":"beforeAndAfterPseudos","computed":"normalOnElementsForPseudosNoneAbsoluteURIStringOrAsSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/content"},"counter-increment":{"syntax":"[ <custom-ident> <integer>? ]+ | none","media":"all","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Counter Styles"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/counter-increment"},"counter-reset":{"syntax":"[ <custom-ident> <integer>? ]+ | none","media":"all","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Counter Styles"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/counter-reset"},"counter-set":{"syntax":"[ <custom-ident> <integer>? ]+ | none","media":"all","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Counter Styles"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/counter-set"},"cursor":{"syntax":"[ [ <url> [ <x> <y> ]? , ]* [ auto | default | none | context-menu | help | pointer | progress | wait | cell | crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize | sw-resize | w-resize | ew-resize | ns-resize | nesw-resize | nwse-resize | col-resize | row-resize | all-scroll | zoom-in | zoom-out | grab | grabbing ] ]","media":["visual","interactive"],"inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Basic User Interface"],"initial":"auto","appliesto":"allElements","computed":"asSpecifiedURLsAbsolute","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/cursor"},"direction":{"syntax":"ltr | rtl","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Writing Modes"],"initial":"ltr","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/direction"},"display":{"syntax":"[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy>","media":"all","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Display"],"initial":"inline","appliesto":"allElements","computed":"asSpecifiedExceptPositionedFloatingAndRootElementsKeywordMaybeDifferent","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/display"},"empty-cells":{"syntax":"show | hide","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Table"],"initial":"show","appliesto":"tableCellElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/empty-cells"},"filter":{"syntax":"none | <filter-function-list>","media":"visual","inherited":false,"animationType":"filterList","percentages":"no","groups":["Filter Effects"],"initial":"none","appliesto":"allElementsSVGContainerElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/filter"},"flex":{"syntax":"none | [ <\'flex-grow\'> <\'flex-shrink\'>? || <\'flex-basis\'> ]","media":"visual","inherited":false,"animationType":["flex-grow","flex-shrink","flex-basis"],"percentages":"no","groups":["CSS Flexible Box Layout"],"initial":["flex-grow","flex-shrink","flex-basis"],"appliesto":"flexItemsAndInFlowPseudos","computed":["flex-grow","flex-shrink","flex-basis"],"order":"orderOfAppearance","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/flex"},"flex-basis":{"syntax":"content | <\'width\'>","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToFlexContainersInnerMainSize","groups":["CSS Flexible Box Layout"],"initial":"auto","appliesto":"flexItemsAndInFlowPseudos","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"lengthOrPercentageBeforeKeywordIfBothPresent","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/flex-basis"},"flex-direction":{"syntax":"row | row-reverse | column | column-reverse","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Flexible Box Layout"],"initial":"row","appliesto":"flexContainers","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/flex-direction"},"flex-flow":{"syntax":"<\'flex-direction\'> || <\'flex-wrap\'>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Flexible Box Layout"],"initial":["flex-direction","flex-wrap"],"appliesto":"flexContainers","computed":["flex-direction","flex-wrap"],"order":"orderOfAppearance","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/flex-flow"},"flex-grow":{"syntax":"<number>","media":"visual","inherited":false,"animationType":"number","percentages":"no","groups":["CSS Flexible Box Layout"],"initial":"0","appliesto":"flexItemsAndInFlowPseudos","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/flex-grow"},"flex-shrink":{"syntax":"<number>","media":"visual","inherited":false,"animationType":"number","percentages":"no","groups":["CSS Flexible Box Layout"],"initial":"1","appliesto":"flexItemsAndInFlowPseudos","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/flex-shrink"},"flex-wrap":{"syntax":"nowrap | wrap | wrap-reverse","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Flexible Box Layout"],"initial":"nowrap","appliesto":"flexContainers","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/flex-wrap"},"float":{"syntax":"left | right | none | inline-start | inline-end","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Positioning"],"initial":"none","appliesto":"allElementsNoEffectIfDisplayNone","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/float"},"font":{"syntax":"[ [ <\'font-style\'> || <font-variant-css21> || <\'font-weight\'> || <\'font-stretch\'> ]? <\'font-size\'> [ / <\'line-height\'> ]? <\'font-family\'> ] | caption | icon | menu | message-box | small-caption | status-bar","media":"visual","inherited":true,"animationType":["font-style","font-variant","font-weight","font-stretch","font-size","line-height","font-family"],"percentages":["font-size","line-height"],"groups":["CSS Fonts"],"initial":["font-style","font-variant","font-weight","font-stretch","font-size","line-height","font-family"],"appliesto":"allElements","computed":["font-style","font-variant","font-weight","font-stretch","font-size","line-height","font-family"],"order":"orderOfAppearance","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font"},"font-family":{"syntax":"[ <family-name> | <generic-family> ]#","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"dependsOnUserAgent","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-family"},"font-feature-settings":{"syntax":"normal | <feature-tag-value>#","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-feature-settings"},"font-kerning":{"syntax":"auto | normal | none","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-kerning"},"font-language-override":{"syntax":"normal | <string>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-language-override"},"font-optical-sizing":{"syntax":"auto | none","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-optical-sizing"},"font-variation-settings":{"syntax":"normal | [ <string> <number> ]#","media":"visual","inherited":true,"animationType":"transform","percentages":"no","groups":["CSS Fonts"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-variation-settings"},"font-size":{"syntax":"<absolute-size> | <relative-size> | <length-percentage>","media":"visual","inherited":true,"animationType":"length","percentages":"referToParentElementsFontSize","groups":["CSS Fonts"],"initial":"medium","appliesto":"allElements","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-size"},"font-size-adjust":{"syntax":"none | <number>","media":"visual","inherited":true,"animationType":"number","percentages":"no","groups":["CSS Fonts"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-size-adjust"},"font-smooth":{"syntax":"auto | never | always | <absolute-size> | <length>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-smooth"},"font-stretch":{"syntax":"<font-stretch-absolute>","media":"visual","inherited":true,"animationType":"fontStretch","percentages":"no","groups":["CSS Fonts"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-stretch"},"font-style":{"syntax":"normal | italic | oblique <angle>?","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-style"},"font-synthesis":{"syntax":"none | [ weight || style ]","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"weight style","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-synthesis"},"font-variant":{"syntax":"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornaments( <feature-value-name> ) || annotation( <feature-value-name> ) || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby ]","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-variant"},"font-variant-alternates":{"syntax":"normal | [ stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornaments( <feature-value-name> ) || annotation( <feature-value-name> ) ]","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-variant-alternates"},"font-variant-caps":{"syntax":"normal | small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-variant-caps"},"font-variant-east-asian":{"syntax":"normal | [ <east-asian-variant-values> || <east-asian-width-values> || ruby ]","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-variant-east-asian"},"font-variant-ligatures":{"syntax":"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ]","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-variant-ligatures"},"font-variant-numeric":{"syntax":"normal | [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ]","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-variant-numeric"},"font-variant-position":{"syntax":"normal | sub | super","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-variant-position"},"font-weight":{"syntax":"<font-weight-absolute> | bolder | lighter","media":"visual","inherited":true,"animationType":"fontWeight","percentages":"no","groups":["CSS Fonts"],"initial":"normal","appliesto":"allElements","computed":"keywordOrNumericalValueBolderLighterTransformedToRealValue","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/font-weight"},"gap":{"syntax":"<\'row-gap\'> <\'column-gap\'>?","media":"visual","inherited":false,"animationType":["row-gap","column-gap"],"percentages":"no","groups":["CSS Box Alignment"],"initial":["row-gap","column-gap"],"appliesto":"multiColumnElementsFlexContainersGridContainers","computed":["row-gap","column-gap"],"order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/gap"},"grid":{"syntax":"<\'grid-template\'> | <\'grid-template-rows\'> / [ auto-flow && dense? ] <\'grid-auto-columns\'>? | [ auto-flow && dense? ] <\'grid-auto-rows\'>? / <\'grid-template-columns\'>","media":"visual","inherited":false,"animationType":"discrete","percentages":["grid-template-rows","grid-template-columns","grid-auto-rows","grid-auto-columns"],"groups":["CSS Grid Layout"],"initial":["grid-template-rows","grid-template-columns","grid-template-areas","grid-auto-rows","grid-auto-columns","grid-auto-flow","grid-column-gap","grid-row-gap","column-gap","row-gap"],"appliesto":"gridContainers","computed":["grid-template-rows","grid-template-columns","grid-template-areas","grid-auto-rows","grid-auto-columns","grid-auto-flow","grid-column-gap","grid-row-gap","column-gap","row-gap"],"order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/grid"},"grid-area":{"syntax":"<grid-line> [ / <grid-line> ]{0,3}","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Grid Layout"],"initial":["grid-row-start","grid-column-start","grid-row-end","grid-column-end"],"appliesto":"gridItemsAndBoxesWithinGridContainer","computed":["grid-row-start","grid-column-start","grid-row-end","grid-column-end"],"order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/grid-area"},"grid-auto-columns":{"syntax":"<track-size>+","media":"visual","inherited":false,"animationType":"discrete","percentages":"referToDimensionOfContentArea","groups":["CSS Grid Layout"],"initial":"auto","appliesto":"gridContainers","computed":"percentageAsSpecifiedOrAbsoluteLength","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/grid-auto-columns"},"grid-auto-flow":{"syntax":"[ row | column ] || dense","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Grid Layout"],"initial":"row","appliesto":"gridContainers","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/grid-auto-flow"},"grid-auto-rows":{"syntax":"<track-size>+","media":"visual","inherited":false,"animationType":"discrete","percentages":"referToDimensionOfContentArea","groups":["CSS Grid Layout"],"initial":"auto","appliesto":"gridContainers","computed":"percentageAsSpecifiedOrAbsoluteLength","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/grid-auto-rows"},"grid-column":{"syntax":"<grid-line> [ / <grid-line> ]?","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Grid Layout"],"initial":["grid-column-start","grid-column-end"],"appliesto":"gridItemsAndBoxesWithinGridContainer","computed":["grid-column-start","grid-column-end"],"order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/grid-column"},"grid-column-end":{"syntax":"<grid-line>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Grid Layout"],"initial":"auto","appliesto":"gridItemsAndBoxesWithinGridContainer","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/grid-column-end"},"grid-column-gap":{"syntax":"<length-percentage>","media":"visual","inherited":false,"animationType":"length","percentages":"referToDimensionOfContentArea","groups":["CSS Grid Layout"],"initial":"0","appliesto":"gridContainers","computed":"percentageAsSpecifiedOrAbsoluteLength","order":"uniqueOrder","status":"obsolete","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/column-gap"},"grid-column-start":{"syntax":"<grid-line>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Grid Layout"],"initial":"auto","appliesto":"gridItemsAndBoxesWithinGridContainer","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/grid-column-start"},"grid-gap":{"syntax":"<\'grid-row-gap\'> <\'grid-column-gap\'>?","media":"visual","inherited":false,"animationType":["grid-row-gap","grid-column-gap"],"percentages":"no","groups":["CSS Grid Layout"],"initial":["grid-row-gap","grid-column-gap"],"appliesto":"gridContainers","computed":["grid-row-gap","grid-column-gap"],"order":"uniqueOrder","status":"obsolete","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/gap"},"grid-row":{"syntax":"<grid-line> [ / <grid-line> ]?","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Grid Layout"],"initial":["grid-row-start","grid-row-end"],"appliesto":"gridItemsAndBoxesWithinGridContainer","computed":["grid-row-start","grid-row-end"],"order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/grid-row"},"grid-row-end":{"syntax":"<grid-line>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Grid Layout"],"initial":"auto","appliesto":"gridItemsAndBoxesWithinGridContainer","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/grid-row-end"},"grid-row-gap":{"syntax":"<length-percentage>","media":"visual","inherited":false,"animationType":"length","percentages":"referToDimensionOfContentArea","groups":["CSS Grid Layout"],"initial":"0","appliesto":"gridContainers","computed":"percentageAsSpecifiedOrAbsoluteLength","order":"uniqueOrder","status":"obsolete","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/row-gap"},"grid-row-start":{"syntax":"<grid-line>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Grid Layout"],"initial":"auto","appliesto":"gridItemsAndBoxesWithinGridContainer","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/grid-row-start"},"grid-template":{"syntax":"none | [ <\'grid-template-rows\'> / <\'grid-template-columns\'> ] | [ <line-names>? <string> <track-size>? <line-names>? ]+ [ / <explicit-track-list> ]?","media":"visual","inherited":false,"animationType":"discrete","percentages":["grid-template-columns","grid-template-rows"],"groups":["CSS Grid Layout"],"initial":["grid-template-columns","grid-template-rows","grid-template-areas"],"appliesto":"gridContainers","computed":["grid-template-columns","grid-template-rows","grid-template-areas"],"order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/grid-template"},"grid-template-areas":{"syntax":"none | <string>+","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Grid Layout"],"initial":"none","appliesto":"gridContainers","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/grid-template-areas"},"grid-template-columns":{"syntax":"none | <track-list> | <auto-track-list> | subgrid <line-name-list>?","media":"visual","inherited":false,"animationType":"simpleListOfLpcDifferenceLpc","percentages":"referToDimensionOfContentArea","groups":["CSS Grid Layout"],"initial":"none","appliesto":"gridContainers","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/grid-template-columns"},"grid-template-rows":{"syntax":"none | <track-list> | <auto-track-list> | subgrid <line-name-list>?","media":"visual","inherited":false,"animationType":"simpleListOfLpcDifferenceLpc","percentages":"referToDimensionOfContentArea","groups":["CSS Grid Layout"],"initial":"none","appliesto":"gridContainers","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/grid-template-rows"},"hanging-punctuation":{"syntax":"none | [ first || [ force-end | allow-end ] || last ]","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Text"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/hanging-punctuation"},"height":{"syntax":"auto | <length> | <percentage> | min-content | max-content | fit-content(<length-percentage>)","media":"visual","inherited":false,"animationType":"lpc","percentages":"regardingHeightOfGeneratedBoxContainingBlockPercentagesRelativeToContainingBlock","groups":["CSS Box Model"],"initial":"auto","appliesto":"allElementsButNonReplacedAndTableColumns","computed":"percentageAutoOrAbsoluteLength","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/height"},"hyphens":{"syntax":"none | manual | auto","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Text"],"initial":"manual","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/hyphens"},"image-orientation":{"syntax":"from-image | <angle> | [ <angle>? flip ]","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Images"],"initial":"from-image","appliesto":"allElements","computed":"angleRoundedToNextQuarter","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/image-orientation"},"image-rendering":{"syntax":"auto | crisp-edges | pixelated","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Images"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/image-rendering"},"image-resolution":{"syntax":"[ from-image || <resolution> ] && snap?","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Images"],"initial":"1dppx","appliesto":"allElements","computed":"asSpecifiedWithExceptionOfResolution","order":"uniqueOrder","status":"experimental"},"ime-mode":{"syntax":"auto | normal | active | inactive | disabled","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Basic User Interface"],"initial":"auto","appliesto":"textFields","computed":"asSpecified","order":"uniqueOrder","status":"obsolete","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/ime-mode"},"initial-letter":{"syntax":"normal | [ <number> <integer>? ]","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Inline"],"initial":"normal","appliesto":"firstLetterPseudoElementsAndInlineLevelFirstChildren","computed":"asSpecified","order":"uniqueOrder","status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/initial-letter"},"initial-letter-align":{"syntax":"[ auto | alphabetic | hanging | ideographic ]","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Inline"],"initial":"auto","appliesto":"firstLetterPseudoElementsAndInlineLevelFirstChildren","computed":"asSpecified","order":"uniqueOrder","status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/initial-letter-align"},"inline-size":{"syntax":"<\'width\'>","media":"visual","inherited":false,"animationType":"lpc","percentages":"inlineSizeOfContainingBlock","groups":["CSS Logical Properties"],"initial":"auto","appliesto":"sameAsWidthAndHeight","computed":"sameAsWidthAndHeight","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/inline-size"},"inset":{"syntax":"<\'top\'>{1,4}","media":"visual","inherited":false,"animationType":"lpc","percentages":"logicalHeightOfContainingBlock","groups":["CSS Logical Properties"],"initial":"auto","appliesto":"positionedElements","computed":"sameAsBoxOffsets","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/inset"},"inset-block":{"syntax":"<\'top\'>{1,2}","media":"visual","inherited":false,"animationType":"lpc","percentages":"logicalHeightOfContainingBlock","groups":["CSS Logical Properties"],"initial":"auto","appliesto":"positionedElements","computed":"sameAsBoxOffsets","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/inset-block"},"inset-block-end":{"syntax":"<\'top\'>","media":"visual","inherited":false,"animationType":"lpc","percentages":"logicalHeightOfContainingBlock","groups":["CSS Logical Properties"],"initial":"auto","appliesto":"positionedElements","computed":"sameAsBoxOffsets","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/inset-block-end"},"inset-block-start":{"syntax":"<\'top\'>","media":"visual","inherited":false,"animationType":"lpc","percentages":"logicalHeightOfContainingBlock","groups":["CSS Logical Properties"],"initial":"auto","appliesto":"positionedElements","computed":"sameAsBoxOffsets","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/inset-block-start"},"inset-inline":{"syntax":"<\'top\'>{1,2}","media":"visual","inherited":false,"animationType":"lpc","percentages":"logicalWidthOfContainingBlock","groups":["CSS Logical Properties"],"initial":"auto","appliesto":"positionedElements","computed":"sameAsBoxOffsets","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/inset-inline"},"inset-inline-end":{"syntax":"<\'top\'>","media":"visual","inherited":false,"animationType":"lpc","percentages":"logicalWidthOfContainingBlock","groups":["CSS Logical Properties"],"initial":"auto","appliesto":"positionedElements","computed":"sameAsBoxOffsets","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/inset-inline-end"},"inset-inline-start":{"syntax":"<\'top\'>","media":"visual","inherited":false,"animationType":"lpc","percentages":"logicalWidthOfContainingBlock","groups":["CSS Logical Properties"],"initial":"auto","appliesto":"positionedElements","computed":"sameAsBoxOffsets","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/inset-inline-start"},"isolation":{"syntax":"auto | isolate","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Compositing and Blending"],"initial":"auto","appliesto":"allElementsSVGContainerGraphicsAndGraphicsReferencingElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/isolation"},"justify-content":{"syntax":"normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ]","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Box Alignment"],"initial":"normal","appliesto":"flexContainers","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/justify-content"},"justify-items":{"syntax":"normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ]","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Box Alignment"],"initial":"legacy","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/justify-items"},"justify-self":{"syntax":"auto | normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ]","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Box Alignment"],"initial":"auto","appliesto":"blockLevelBoxesAndAbsolutelyPositionedBoxesAndGridItems","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/justify-self"},"justify-tracks":{"syntax":"[ normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ] ]#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Grid Layout"],"initial":"normal","appliesto":"gridContainersWithMasonryLayoutInTheirInlineAxis","computed":"asSpecified","order":"uniqueOrder","status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/justify-tracks"},"left":{"syntax":"<length> | <percentage> | auto","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToWidthOfContainingBlock","groups":["CSS Positioning"],"initial":"auto","appliesto":"positionedElements","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/left"},"letter-spacing":{"syntax":"normal | <length>","media":"visual","inherited":true,"animationType":"length","percentages":"no","groups":["CSS Text"],"initial":"normal","appliesto":"allElements","computed":"optimumValueOfAbsoluteLengthOrNormal","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/letter-spacing"},"line-break":{"syntax":"auto | loose | normal | strict | anywhere","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Text"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/line-break"},"line-clamp":{"syntax":"none | <integer>","media":"visual","inherited":false,"animationType":"integer","percentages":"no","groups":["CSS Overflow"],"initial":"none","appliesto":"blockContainersExceptMultiColumnContainers","computed":"asSpecified","order":"perGrammar","status":"experimental"},"line-height":{"syntax":"normal | <number> | <length> | <percentage>","media":"visual","inherited":true,"animationType":"numberOrLength","percentages":"referToElementFontSize","groups":["CSS Fonts"],"initial":"normal","appliesto":"allElements","computed":"absoluteLengthOrAsSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/line-height"},"line-height-step":{"syntax":"<length>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fonts"],"initial":"0","appliesto":"blockContainers","computed":"absoluteLength","order":"perGrammar","status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/line-height-step"},"list-style":{"syntax":"<\'list-style-type\'> || <\'list-style-position\'> || <\'list-style-image\'>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Lists and Counters"],"initial":["list-style-type","list-style-position","list-style-image"],"appliesto":"listItems","computed":["list-style-image","list-style-position","list-style-type"],"order":"orderOfAppearance","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/list-style"},"list-style-image":{"syntax":"<url> | none","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Lists and Counters"],"initial":"none","appliesto":"listItems","computed":"noneOrImageWithAbsoluteURI","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/list-style-image"},"list-style-position":{"syntax":"inside | outside","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Lists and Counters"],"initial":"outside","appliesto":"listItems","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/list-style-position"},"list-style-type":{"syntax":"<counter-style> | <string> | none","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Lists and Counters"],"initial":"disc","appliesto":"listItems","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/list-style-type"},"margin":{"syntax":"[ <length> | <percentage> | auto ]{1,4}","media":"visual","inherited":false,"animationType":"length","percentages":"referToWidthOfContainingBlock","groups":["CSS Box Model"],"initial":["margin-bottom","margin-left","margin-right","margin-top"],"appliesto":"allElementsExceptTableDisplayTypes","computed":["margin-bottom","margin-left","margin-right","margin-top"],"order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/margin"},"margin-block":{"syntax":"<\'margin-left\'>{1,2}","media":"visual","inherited":false,"animationType":"discrete","percentages":"dependsOnLayoutModel","groups":["CSS Logical Properties"],"initial":"0","appliesto":"sameAsMargin","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/margin-block"},"margin-block-end":{"syntax":"<\'margin-left\'>","media":"visual","inherited":false,"animationType":"length","percentages":"dependsOnLayoutModel","groups":["CSS Logical Properties"],"initial":"0","appliesto":"sameAsMargin","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/margin-block-end"},"margin-block-start":{"syntax":"<\'margin-left\'>","media":"visual","inherited":false,"animationType":"length","percentages":"dependsOnLayoutModel","groups":["CSS Logical Properties"],"initial":"0","appliesto":"sameAsMargin","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/margin-block-start"},"margin-bottom":{"syntax":"<length> | <percentage> | auto","media":"visual","inherited":false,"animationType":"length","percentages":"referToWidthOfContainingBlock","groups":["CSS Box Model"],"initial":"0","appliesto":"allElementsExceptTableDisplayTypes","computed":"percentageAsSpecifiedOrAbsoluteLength","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/margin-bottom"},"margin-inline":{"syntax":"<\'margin-left\'>{1,2}","media":"visual","inherited":false,"animationType":"discrete","percentages":"dependsOnLayoutModel","groups":["CSS Logical Properties"],"initial":"0","appliesto":"sameAsMargin","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/margin-inline"},"margin-inline-end":{"syntax":"<\'margin-left\'>","media":"visual","inherited":false,"animationType":"length","percentages":"dependsOnLayoutModel","groups":["CSS Logical Properties"],"initial":"0","appliesto":"sameAsMargin","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/margin-inline-end"},"margin-inline-start":{"syntax":"<\'margin-left\'>","media":"visual","inherited":false,"animationType":"length","percentages":"dependsOnLayoutModel","groups":["CSS Logical Properties"],"initial":"0","appliesto":"sameAsMargin","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/margin-inline-start"},"margin-left":{"syntax":"<length> | <percentage> | auto","media":"visual","inherited":false,"animationType":"length","percentages":"referToWidthOfContainingBlock","groups":["CSS Box Model"],"initial":"0","appliesto":"allElementsExceptTableDisplayTypes","computed":"percentageAsSpecifiedOrAbsoluteLength","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/margin-left"},"margin-right":{"syntax":"<length> | <percentage> | auto","media":"visual","inherited":false,"animationType":"length","percentages":"referToWidthOfContainingBlock","groups":["CSS Box Model"],"initial":"0","appliesto":"allElementsExceptTableDisplayTypes","computed":"percentageAsSpecifiedOrAbsoluteLength","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/margin-right"},"margin-top":{"syntax":"<length> | <percentage> | auto","media":"visual","inherited":false,"animationType":"length","percentages":"referToWidthOfContainingBlock","groups":["CSS Box Model"],"initial":"0","appliesto":"allElementsExceptTableDisplayTypes","computed":"percentageAsSpecifiedOrAbsoluteLength","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/margin-top"},"margin-trim":{"syntax":"none | in-flow | all","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Box Model"],"initial":"none","appliesto":"blockContainersAndMultiColumnContainers","computed":"asSpecified","order":"perGrammar","alsoAppliesTo":["::first-letter","::first-line"],"status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/margin-trim"},"mask":{"syntax":"<mask-layer>#","media":"visual","inherited":false,"animationType":["mask-image","mask-mode","mask-repeat","mask-position","mask-clip","mask-origin","mask-size","mask-composite"],"percentages":["mask-position"],"groups":["CSS Masking"],"initial":["mask-image","mask-mode","mask-repeat","mask-position","mask-clip","mask-origin","mask-size","mask-composite"],"appliesto":"allElementsSVGContainerElements","computed":["mask-image","mask-mode","mask-repeat","mask-position","mask-clip","mask-origin","mask-size","mask-composite"],"order":"perGrammar","stacking":true,"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask"},"mask-border":{"syntax":"<\'mask-border-source\'> || <\'mask-border-slice\'> [ / <\'mask-border-width\'>? [ / <\'mask-border-outset\'> ]? ]? || <\'mask-border-repeat\'> || <\'mask-border-mode\'>","media":"visual","inherited":false,"animationType":["mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width"],"percentages":["mask-border-slice","mask-border-width"],"groups":["CSS Masking"],"initial":["mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width"],"appliesto":"allElementsSVGContainerElements","computed":["mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width"],"order":"perGrammar","stacking":true,"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-border"},"mask-border-mode":{"syntax":"luminance | alpha","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Masking"],"initial":"alpha","appliesto":"allElementsSVGContainerElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-border-mode"},"mask-border-outset":{"syntax":"[ <length> | <number> ]{1,4}","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Masking"],"initial":"0","appliesto":"allElementsSVGContainerElements","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-border-outset"},"mask-border-repeat":{"syntax":"[ stretch | repeat | round | space ]{1,2}","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Masking"],"initial":"stretch","appliesto":"allElementsSVGContainerElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-border-repeat"},"mask-border-slice":{"syntax":"<number-percentage>{1,4} fill?","media":"visual","inherited":false,"animationType":"discrete","percentages":"referToSizeOfMaskBorderImage","groups":["CSS Masking"],"initial":"0","appliesto":"allElementsSVGContainerElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-border-slice"},"mask-border-source":{"syntax":"none | <image>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Masking"],"initial":"none","appliesto":"allElementsSVGContainerElements","computed":"asSpecifiedURLsAbsolute","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-border-source"},"mask-border-width":{"syntax":"[ <length-percentage> | <number> | auto ]{1,4}","media":"visual","inherited":false,"animationType":"discrete","percentages":"relativeToMaskBorderImageArea","groups":["CSS Masking"],"initial":"auto","appliesto":"allElementsSVGContainerElements","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-border-width"},"mask-clip":{"syntax":"[ <geometry-box> | no-clip ]#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Masking"],"initial":"border-box","appliesto":"allElementsSVGContainerElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-clip"},"mask-composite":{"syntax":"<compositing-operator>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Masking"],"initial":"add","appliesto":"allElementsSVGContainerElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-composite"},"mask-image":{"syntax":"<mask-reference>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Masking"],"initial":"none","appliesto":"allElementsSVGContainerElements","computed":"asSpecifiedURLsAbsolute","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-image"},"mask-mode":{"syntax":"<masking-mode>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Masking"],"initial":"match-source","appliesto":"allElementsSVGContainerElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-mode"},"mask-origin":{"syntax":"<geometry-box>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Masking"],"initial":"border-box","appliesto":"allElementsSVGContainerElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-origin"},"mask-position":{"syntax":"<position>#","media":"visual","inherited":false,"animationType":"repeatableListOfSimpleListOfLpc","percentages":"referToSizeOfMaskPaintingArea","groups":["CSS Masking"],"initial":"center","appliesto":"allElementsSVGContainerElements","computed":"consistsOfTwoKeywordsForOriginAndOffsets","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-position"},"mask-repeat":{"syntax":"<repeat-style>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Masking"],"initial":"no-repeat","appliesto":"allElementsSVGContainerElements","computed":"consistsOfTwoDimensionKeywords","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-repeat"},"mask-size":{"syntax":"<bg-size>#","media":"visual","inherited":false,"animationType":"repeatableListOfSimpleListOfLpc","percentages":"no","groups":["CSS Masking"],"initial":"auto","appliesto":"allElementsSVGContainerElements","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-size"},"mask-type":{"syntax":"luminance | alpha","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Masking"],"initial":"luminance","appliesto":"maskElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mask-type"},"masonry-auto-flow":{"syntax":"[ pack | next ] || [ definite-first | ordered ]","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Grid Layout"],"initial":"pack","appliesto":"gridContainersWithMasonryLayout","computed":"asSpecified","order":"uniqueOrder","status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/masonry-auto-flow"},"math-style":{"syntax":"normal | compact","media":"visual","inherited":true,"animationType":"notAnimatable","percentages":"no","groups":["MathML"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/math-style"},"max-block-size":{"syntax":"<\'max-width\'>","media":"visual","inherited":false,"animationType":"lpc","percentages":"blockSizeOfContainingBlock","groups":["CSS Logical Properties"],"initial":"0","appliesto":"sameAsWidthAndHeight","computed":"sameAsMaxWidthAndMaxHeight","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/max-block-size"},"max-height":{"syntax":"none | <length-percentage> | min-content | max-content | fit-content(<length-percentage>)","media":"visual","inherited":false,"animationType":"lpc","percentages":"regardingHeightOfGeneratedBoxContainingBlockPercentagesNone","groups":["CSS Box Model"],"initial":"none","appliesto":"allElementsButNonReplacedAndTableColumns","computed":"percentageAsSpecifiedAbsoluteLengthOrNone","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/max-height"},"max-inline-size":{"syntax":"<\'max-width\'>","media":"visual","inherited":false,"animationType":"lpc","percentages":"inlineSizeOfContainingBlock","groups":["CSS Logical Properties"],"initial":"0","appliesto":"sameAsWidthAndHeight","computed":"sameAsMaxWidthAndMaxHeight","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/max-inline-size"},"max-lines":{"syntax":"none | <integer>","media":"visual","inherited":false,"animationType":"integer","percentages":"no","groups":["CSS Overflow"],"initial":"none","appliesto":"blockContainersExceptMultiColumnContainers","computed":"asSpecified","order":"perGrammar","status":"experimental"},"max-width":{"syntax":"none | <length-percentage> | min-content | max-content | fit-content(<length-percentage>)","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToWidthOfContainingBlock","groups":["CSS Box Model"],"initial":"none","appliesto":"allElementsButNonReplacedAndTableRows","computed":"percentageAsSpecifiedAbsoluteLengthOrNone","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/max-width"},"min-block-size":{"syntax":"<\'min-width\'>","media":"visual","inherited":false,"animationType":"lpc","percentages":"blockSizeOfContainingBlock","groups":["CSS Logical Properties"],"initial":"0","appliesto":"sameAsWidthAndHeight","computed":"sameAsMinWidthAndMinHeight","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/min-block-size"},"min-height":{"syntax":"auto | <length> | <percentage> | min-content | max-content | fit-content(<length-percentage>)","media":"visual","inherited":false,"animationType":"lpc","percentages":"regardingHeightOfGeneratedBoxContainingBlockPercentages0","groups":["CSS Box Model"],"initial":"auto","appliesto":"allElementsButNonReplacedAndTableColumns","computed":"percentageAsSpecifiedOrAbsoluteLength","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/min-height"},"min-inline-size":{"syntax":"<\'min-width\'>","media":"visual","inherited":false,"animationType":"lpc","percentages":"inlineSizeOfContainingBlock","groups":["CSS Logical Properties"],"initial":"0","appliesto":"sameAsWidthAndHeight","computed":"sameAsMinWidthAndMinHeight","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/min-inline-size"},"min-width":{"syntax":"auto | <length> | <percentage> | min-content | max-content | fit-content(<length-percentage>)","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToWidthOfContainingBlock","groups":["CSS Box Model"],"initial":"auto","appliesto":"allElementsButNonReplacedAndTableRows","computed":"percentageAsSpecifiedOrAbsoluteLength","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/min-width"},"mix-blend-mode":{"syntax":"<blend-mode>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Compositing and Blending"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","stacking":true,"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/mix-blend-mode"},"object-fit":{"syntax":"fill | contain | cover | none | scale-down","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Images"],"initial":"fill","appliesto":"replacedElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/object-fit"},"object-position":{"syntax":"<position>","media":"visual","inherited":true,"animationType":"repeatableListOfSimpleListOfLpc","percentages":"referToWidthAndHeightOfElement","groups":["CSS Images"],"initial":"50% 50%","appliesto":"replacedElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/object-position"},"offset":{"syntax":"[ <\'offset-position\'>? [ <\'offset-path\'> [ <\'offset-distance\'> || <\'offset-rotate\'> ]? ]? ]! [ / <\'offset-anchor\'> ]?","media":"visual","inherited":false,"animationType":["offset-position","offset-path","offset-distance","offset-anchor","offset-rotate"],"percentages":["offset-position","offset-distance","offset-anchor"],"groups":["CSS Motion Path"],"initial":["offset-position","offset-path","offset-distance","offset-anchor","offset-rotate"],"appliesto":"transformableElements","computed":["offset-position","offset-path","offset-distance","offset-anchor","offset-rotate"],"order":"perGrammar","stacking":true,"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/offset"},"offset-anchor":{"syntax":"auto | <position>","media":"visual","inherited":false,"animationType":"position","percentages":"relativeToWidthAndHeight","groups":["CSS Motion Path"],"initial":"auto","appliesto":"transformableElements","computed":"forLengthAbsoluteValueOtherwisePercentage","order":"perGrammar","status":"standard"},"offset-distance":{"syntax":"<length-percentage>","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToTotalPathLength","groups":["CSS Motion Path"],"initial":"0","appliesto":"transformableElements","computed":"forLengthAbsoluteValueOtherwisePercentage","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/offset-distance"},"offset-path":{"syntax":"none | ray( [ <angle> && <size> && contain? ] ) | <path()> | <url> | [ <basic-shape> || <geometry-box> ]","media":"visual","inherited":false,"animationType":"angleOrBasicShapeOrPath","percentages":"no","groups":["CSS Motion Path"],"initial":"none","appliesto":"transformableElements","computed":"asSpecified","order":"perGrammar","stacking":true,"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/offset-path"},"offset-position":{"syntax":"auto | <position>","media":"visual","inherited":false,"animationType":"position","percentages":"referToSizeOfContainingBlock","groups":["CSS Motion Path"],"initial":"auto","appliesto":"transformableElements","computed":"forLengthAbsoluteValueOtherwisePercentage","order":"perGrammar","status":"experimental"},"offset-rotate":{"syntax":"[ auto | reverse ] || <angle>","media":"visual","inherited":false,"animationType":"angleOrBasicShapeOrPath","percentages":"no","groups":["CSS Motion Path"],"initial":"auto","appliesto":"transformableElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/offset-rotate"},"opacity":{"syntax":"<alpha-value>","media":"visual","inherited":false,"animationType":"number","percentages":"no","groups":["CSS Color"],"initial":"1.0","appliesto":"allElements","computed":"specifiedValueClipped0To1","order":"uniqueOrder","alsoAppliesTo":["::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/opacity"},"order":{"syntax":"<integer>","media":"visual","inherited":false,"animationType":"integer","percentages":"no","groups":["CSS Flexible Box Layout"],"initial":"0","appliesto":"flexItemsGridItemsAbsolutelyPositionedContainerChildren","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/order"},"orphans":{"syntax":"<integer>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fragmentation"],"initial":"2","appliesto":"blockContainerElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/orphans"},"outline":{"syntax":"[ <\'outline-color\'> || <\'outline-style\'> || <\'outline-width\'> ]","media":["visual","interactive"],"inherited":false,"animationType":["outline-color","outline-width","outline-style"],"percentages":"no","groups":["CSS Basic User Interface"],"initial":["outline-color","outline-style","outline-width"],"appliesto":"allElements","computed":["outline-color","outline-width","outline-style"],"order":"orderOfAppearance","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/outline"},"outline-color":{"syntax":"<color> | invert","media":["visual","interactive"],"inherited":false,"animationType":"color","percentages":"no","groups":["CSS Basic User Interface"],"initial":"invertOrCurrentColor","appliesto":"allElements","computed":"invertForTranslucentColorRGBAOtherwiseRGB","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/outline-color"},"outline-offset":{"syntax":"<length>","media":["visual","interactive"],"inherited":false,"animationType":"length","percentages":"no","groups":["CSS Basic User Interface"],"initial":"0","appliesto":"allElements","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/outline-offset"},"outline-style":{"syntax":"auto | <\'border-style\'>","media":["visual","interactive"],"inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Basic User Interface"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/outline-style"},"outline-width":{"syntax":"<line-width>","media":["visual","interactive"],"inherited":false,"animationType":"length","percentages":"no","groups":["CSS Basic User Interface"],"initial":"medium","appliesto":"allElements","computed":"absoluteLength0ForNone","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/outline-width"},"overflow":{"syntax":"[ visible | hidden | clip | scroll | auto ]{1,2}","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Overflow"],"initial":"visible","appliesto":"blockContainersFlexContainersGridContainers","computed":["overflow-x","overflow-y"],"order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/overflow"},"overflow-anchor":{"syntax":"auto | none","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Scroll Anchoring"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard"},"overflow-block":{"syntax":"visible | hidden | clip | scroll | auto","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Overflow"],"initial":"auto","appliesto":"blockContainersFlexContainersGridContainers","computed":"asSpecifiedButVisibleOrClipReplacedToAutoOrHiddenIfOtherValueDifferent","order":"perGrammar","status":"standard"},"overflow-clip-box":{"syntax":"padding-box | content-box","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Mozilla Extensions"],"initial":"padding-box","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Mozilla/CSS/overflow-clip-box"},"overflow-inline":{"syntax":"visible | hidden | clip | scroll | auto","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Overflow"],"initial":"auto","appliesto":"blockContainersFlexContainersGridContainers","computed":"asSpecifiedButVisibleOrClipReplacedToAutoOrHiddenIfOtherValueDifferent","order":"perGrammar","status":"standard"},"overflow-wrap":{"syntax":"normal | break-word | anywhere","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Text"],"initial":"normal","appliesto":"nonReplacedInlineElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/overflow-wrap"},"overflow-x":{"syntax":"visible | hidden | clip | scroll | auto","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Overflow"],"initial":"visible","appliesto":"blockContainersFlexContainersGridContainers","computed":"asSpecifiedButVisibleOrClipReplacedToAutoOrHiddenIfOtherValueDifferent","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/overflow-x"},"overflow-y":{"syntax":"visible | hidden | clip | scroll | auto","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Overflow"],"initial":"visible","appliesto":"blockContainersFlexContainersGridContainers","computed":"asSpecifiedButVisibleOrClipReplacedToAutoOrHiddenIfOtherValueDifferent","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/overflow-y"},"overscroll-behavior":{"syntax":"[ contain | none | auto ]{1,2}","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Box Model"],"initial":"auto","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior"},"overscroll-behavior-block":{"syntax":"contain | none | auto","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Box Model"],"initial":"auto","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-block"},"overscroll-behavior-inline":{"syntax":"contain | none | auto","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Box Model"],"initial":"auto","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-inline"},"overscroll-behavior-x":{"syntax":"contain | none | auto","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Box Model"],"initial":"auto","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-x"},"overscroll-behavior-y":{"syntax":"contain | none | auto","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Box Model"],"initial":"auto","appliesto":"nonReplacedBlockAndInlineBlockElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-y"},"padding":{"syntax":"[ <length> | <percentage> ]{1,4}","media":"visual","inherited":false,"animationType":"length","percentages":"referToWidthOfContainingBlock","groups":["CSS Box Model"],"initial":["padding-bottom","padding-left","padding-right","padding-top"],"appliesto":"allElementsExceptInternalTableDisplayTypes","computed":["padding-bottom","padding-left","padding-right","padding-top"],"order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/padding"},"padding-block":{"syntax":"<\'padding-left\'>{1,2}","media":"visual","inherited":false,"animationType":"discrete","percentages":"logicalWidthOfContainingBlock","groups":["CSS Logical Properties"],"initial":"0","appliesto":"allElements","computed":"asLength","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/padding-block"},"padding-block-end":{"syntax":"<\'padding-left\'>","media":"visual","inherited":false,"animationType":"length","percentages":"logicalWidthOfContainingBlock","groups":["CSS Logical Properties"],"initial":"0","appliesto":"allElements","computed":"asLength","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/padding-block-end"},"padding-block-start":{"syntax":"<\'padding-left\'>","media":"visual","inherited":false,"animationType":"length","percentages":"logicalWidthOfContainingBlock","groups":["CSS Logical Properties"],"initial":"0","appliesto":"allElements","computed":"asLength","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/padding-block-start"},"padding-bottom":{"syntax":"<length> | <percentage>","media":"visual","inherited":false,"animationType":"length","percentages":"referToWidthOfContainingBlock","groups":["CSS Box Model"],"initial":"0","appliesto":"allElementsExceptInternalTableDisplayTypes","computed":"percentageAsSpecifiedOrAbsoluteLength","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/padding-bottom"},"padding-inline":{"syntax":"<\'padding-left\'>{1,2}","media":"visual","inherited":false,"animationType":"discrete","percentages":"logicalWidthOfContainingBlock","groups":["CSS Logical Properties"],"initial":"0","appliesto":"allElements","computed":"asLength","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/padding-inline"},"padding-inline-end":{"syntax":"<\'padding-left\'>","media":"visual","inherited":false,"animationType":"length","percentages":"logicalWidthOfContainingBlock","groups":["CSS Logical Properties"],"initial":"0","appliesto":"allElements","computed":"asLength","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/padding-inline-end"},"padding-inline-start":{"syntax":"<\'padding-left\'>","media":"visual","inherited":false,"animationType":"length","percentages":"logicalWidthOfContainingBlock","groups":["CSS Logical Properties"],"initial":"0","appliesto":"allElements","computed":"asLength","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/padding-inline-start"},"padding-left":{"syntax":"<length> | <percentage>","media":"visual","inherited":false,"animationType":"length","percentages":"referToWidthOfContainingBlock","groups":["CSS Box Model"],"initial":"0","appliesto":"allElementsExceptInternalTableDisplayTypes","computed":"percentageAsSpecifiedOrAbsoluteLength","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/padding-left"},"padding-right":{"syntax":"<length> | <percentage>","media":"visual","inherited":false,"animationType":"length","percentages":"referToWidthOfContainingBlock","groups":["CSS Box Model"],"initial":"0","appliesto":"allElementsExceptInternalTableDisplayTypes","computed":"percentageAsSpecifiedOrAbsoluteLength","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/padding-right"},"padding-top":{"syntax":"<length> | <percentage>","media":"visual","inherited":false,"animationType":"length","percentages":"referToWidthOfContainingBlock","groups":["CSS Box Model"],"initial":"0","appliesto":"allElementsExceptInternalTableDisplayTypes","computed":"percentageAsSpecifiedOrAbsoluteLength","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/padding-top"},"page-break-after":{"syntax":"auto | always | avoid | left | right | recto | verso","media":["visual","paged"],"inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Pages"],"initial":"auto","appliesto":"blockElementsInNormalFlow","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/page-break-after"},"page-break-before":{"syntax":"auto | always | avoid | left | right | recto | verso","media":["visual","paged"],"inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Pages"],"initial":"auto","appliesto":"blockElementsInNormalFlow","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/page-break-before"},"page-break-inside":{"syntax":"auto | avoid","media":["visual","paged"],"inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Pages"],"initial":"auto","appliesto":"blockElementsInNormalFlow","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/page-break-inside"},"paint-order":{"syntax":"normal | [ fill || stroke || markers ]","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Text"],"initial":"normal","appliesto":"textElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/paint-order"},"perspective":{"syntax":"none | <length>","media":"visual","inherited":false,"animationType":"length","percentages":"no","groups":["CSS Transforms"],"initial":"none","appliesto":"transformableElements","computed":"absoluteLengthOrNone","order":"uniqueOrder","stacking":true,"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/perspective"},"perspective-origin":{"syntax":"<position>","media":"visual","inherited":false,"animationType":"simpleListOfLpc","percentages":"referToSizeOfBoundingBox","groups":["CSS Transforms"],"initial":"50% 50%","appliesto":"transformableElements","computed":"forLengthAbsoluteValueOtherwisePercentage","order":"oneOrTwoValuesLengthAbsoluteKeywordsPercentages","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/perspective-origin"},"place-content":{"syntax":"<\'align-content\'> <\'justify-content\'>?","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Box Alignment"],"initial":"normal","appliesto":"multilineFlexContainers","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/place-content"},"place-items":{"syntax":"<\'align-items\'> <\'justify-items\'>?","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Box Alignment"],"initial":["align-items","justify-items"],"appliesto":"allElements","computed":["align-items","justify-items"],"order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/place-items"},"place-self":{"syntax":"<\'align-self\'> <\'justify-self\'>?","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Box Alignment"],"initial":["align-self","justify-self"],"appliesto":"blockLevelBoxesAndAbsolutelyPositionedBoxesAndGridItems","computed":["align-self","justify-self"],"order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/place-self"},"pointer-events":{"syntax":"auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["Pointer Events"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/pointer-events"},"position":{"syntax":"static | relative | absolute | sticky | fixed","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Positioning"],"initial":"static","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","stacking":true,"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/position"},"quotes":{"syntax":"none | auto | [ <string> <string> ]+","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Generated Content"],"initial":"dependsOnUserAgent","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/quotes"},"resize":{"syntax":"none | both | horizontal | vertical | block | inline","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Basic User Interface"],"initial":"none","appliesto":"elementsWithOverflowNotVisibleAndReplacedElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/resize"},"right":{"syntax":"<length> | <percentage> | auto","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToWidthOfContainingBlock","groups":["CSS Positioning"],"initial":"auto","appliesto":"positionedElements","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/right"},"rotate":{"syntax":"none | <angle> | [ x | y | z | <number>{3} ] && <angle>","media":"visual","inherited":false,"animationType":"transform","percentages":"no","groups":["CSS Transforms"],"initial":"none","appliesto":"transformableElements","computed":"asSpecified","order":"perGrammar","stacking":true,"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/rotate"},"row-gap":{"syntax":"normal | <length-percentage>","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToDimensionOfContentArea","groups":["CSS Box Alignment"],"initial":"normal","appliesto":"multiColumnElementsFlexContainersGridContainers","computed":"asSpecifiedWithLengthsAbsoluteAndNormalComputingToZeroExceptMultiColumn","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/row-gap"},"ruby-align":{"syntax":"start | center | space-between | space-around","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Ruby"],"initial":"space-around","appliesto":"rubyBasesAnnotationsBaseAnnotationContainers","computed":"asSpecified","order":"uniqueOrder","status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/ruby-align"},"ruby-merge":{"syntax":"separate | collapse | auto","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Ruby"],"initial":"separate","appliesto":"rubyAnnotationsContainers","computed":"asSpecified","order":"uniqueOrder","status":"experimental"},"ruby-position":{"syntax":"over | under | inter-character","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Ruby"],"initial":"over","appliesto":"rubyAnnotationsContainers","computed":"asSpecified","order":"uniqueOrder","status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/ruby-position"},"scale":{"syntax":"none | <number>{1,3}","media":"visual","inherited":false,"animationType":"transform","percentages":"no","groups":["CSS Transforms"],"initial":"none","appliesto":"transformableElements","computed":"asSpecified","order":"perGrammar","stacking":true,"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scale"},"scrollbar-color":{"syntax":"auto | dark | light | <color>{2}","media":"visual","inherited":true,"animationType":"color","percentages":"no","groups":["CSS Scrollbars"],"initial":"auto","appliesto":"scrollingBoxes","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scrollbar-color"},"scrollbar-gutter":{"syntax":"auto | [ stable | always ] && both? && force?","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Overflow"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scrollbar-gutter"},"scrollbar-width":{"syntax":"auto | thin | none","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Scrollbars"],"initial":"auto","appliesto":"scrollingBoxes","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scrollbar-width"},"scroll-behavior":{"syntax":"auto | smooth","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSSOM View"],"initial":"auto","appliesto":"scrollingBoxes","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-behavior"},"scroll-margin":{"syntax":"<length>{1,4}","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"no","groups":["CSS Scroll Snap"],"initial":"0","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-margin"},"scroll-margin-block":{"syntax":"<length>{1,2}","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"no","groups":["CSS Scroll Snap"],"initial":"0","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block"},"scroll-margin-block-start":{"syntax":"<length>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"no","groups":["CSS Scroll Snap"],"initial":"0","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-start"},"scroll-margin-block-end":{"syntax":"<length>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"no","groups":["CSS Scroll Snap"],"initial":"0","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-end"},"scroll-margin-bottom":{"syntax":"<length>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"no","groups":["CSS Scroll Snap"],"initial":"0","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-bottom"},"scroll-margin-inline":{"syntax":"<length>{1,2}","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"no","groups":["CSS Scroll Snap"],"initial":"0","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline"},"scroll-margin-inline-start":{"syntax":"<length>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"no","groups":["CSS Scroll Snap"],"initial":"0","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-start"},"scroll-margin-inline-end":{"syntax":"<length>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"no","groups":["CSS Scroll Snap"],"initial":"0","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-end"},"scroll-margin-left":{"syntax":"<length>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"no","groups":["CSS Scroll Snap"],"initial":"0","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-left"},"scroll-margin-right":{"syntax":"<length>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"no","groups":["CSS Scroll Snap"],"initial":"0","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-right"},"scroll-margin-top":{"syntax":"<length>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"no","groups":["CSS Scroll Snap"],"initial":"0","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-top"},"scroll-padding":{"syntax":"[ auto | <length-percentage> ]{1,4}","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"relativeToTheScrollContainersScrollport","groups":["CSS Scroll Snap"],"initial":"auto","appliesto":"scrollContainers","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-padding"},"scroll-padding-block":{"syntax":"[ auto | <length-percentage> ]{1,2}","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"relativeToTheScrollContainersScrollport","groups":["CSS Scroll Snap"],"initial":"auto","appliesto":"scrollContainers","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block"},"scroll-padding-block-start":{"syntax":"auto | <length-percentage>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"relativeToTheScrollContainersScrollport","groups":["CSS Scroll Snap"],"initial":"auto","appliesto":"scrollContainers","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-start"},"scroll-padding-block-end":{"syntax":"auto | <length-percentage>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"relativeToTheScrollContainersScrollport","groups":["CSS Scroll Snap"],"initial":"auto","appliesto":"scrollContainers","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-end"},"scroll-padding-bottom":{"syntax":"auto | <length-percentage>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"relativeToTheScrollContainersScrollport","groups":["CSS Scroll Snap"],"initial":"auto","appliesto":"scrollContainers","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-bottom"},"scroll-padding-inline":{"syntax":"[ auto | <length-percentage> ]{1,2}","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"relativeToTheScrollContainersScrollport","groups":["CSS Scroll Snap"],"initial":"auto","appliesto":"scrollContainers","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline"},"scroll-padding-inline-start":{"syntax":"auto | <length-percentage>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"relativeToTheScrollContainersScrollport","groups":["CSS Scroll Snap"],"initial":"auto","appliesto":"scrollContainers","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-start"},"scroll-padding-inline-end":{"syntax":"auto | <length-percentage>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"relativeToTheScrollContainersScrollport","groups":["CSS Scroll Snap"],"initial":"auto","appliesto":"scrollContainers","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-end"},"scroll-padding-left":{"syntax":"auto | <length-percentage>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"relativeToTheScrollContainersScrollport","groups":["CSS Scroll Snap"],"initial":"auto","appliesto":"scrollContainers","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-left"},"scroll-padding-right":{"syntax":"auto | <length-percentage>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"relativeToTheScrollContainersScrollport","groups":["CSS Scroll Snap"],"initial":"auto","appliesto":"scrollContainers","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-right"},"scroll-padding-top":{"syntax":"auto | <length-percentage>","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"relativeToTheScrollContainersScrollport","groups":["CSS Scroll Snap"],"initial":"auto","appliesto":"scrollContainers","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-top"},"scroll-snap-align":{"syntax":"[ none | start | end | center ]{1,2}","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Scroll Snap"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-align"},"scroll-snap-coordinate":{"syntax":"none | <position>#","media":"interactive","inherited":false,"animationType":"position","percentages":"referToBorderBox","groups":["CSS Scroll Snap"],"initial":"none","appliesto":"allElements","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"uniqueOrder","status":"obsolete","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-coordinate"},"scroll-snap-destination":{"syntax":"<position>","media":"interactive","inherited":false,"animationType":"position","percentages":"relativeToScrollContainerPaddingBoxAxis","groups":["CSS Scroll Snap"],"initial":"0px 0px","appliesto":"scrollContainers","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"uniqueOrder","status":"obsolete","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-destination"},"scroll-snap-points-x":{"syntax":"none | repeat( <length-percentage> )","media":"interactive","inherited":false,"animationType":"discrete","percentages":"relativeToScrollContainerPaddingBoxAxis","groups":["CSS Scroll Snap"],"initial":"none","appliesto":"scrollContainers","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"uniqueOrder","status":"obsolete","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-x"},"scroll-snap-points-y":{"syntax":"none | repeat( <length-percentage> )","media":"interactive","inherited":false,"animationType":"discrete","percentages":"relativeToScrollContainerPaddingBoxAxis","groups":["CSS Scroll Snap"],"initial":"none","appliesto":"scrollContainers","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"uniqueOrder","status":"obsolete","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-y"},"scroll-snap-stop":{"syntax":"normal | always","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Scroll Snap"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-stop"},"scroll-snap-type":{"syntax":"none | [ x | y | block | inline | both ] [ mandatory | proximity ]?","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Scroll Snap"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type"},"scroll-snap-type-x":{"syntax":"none | mandatory | proximity","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Scroll Snap"],"initial":"none","appliesto":"scrollContainers","computed":"asSpecified","order":"uniqueOrder","status":"obsolete","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-x"},"scroll-snap-type-y":{"syntax":"none | mandatory | proximity","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Scroll Snap"],"initial":"none","appliesto":"scrollContainers","computed":"asSpecified","order":"uniqueOrder","status":"obsolete","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-y"},"shape-image-threshold":{"syntax":"<alpha-value>","media":"visual","inherited":false,"animationType":"number","percentages":"no","groups":["CSS Shapes"],"initial":"0.0","appliesto":"floats","computed":"specifiedValueNumberClipped0To1","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/shape-image-threshold"},"shape-margin":{"syntax":"<length-percentage>","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToWidthOfContainingBlock","groups":["CSS Shapes"],"initial":"0","appliesto":"floats","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/shape-margin"},"shape-outside":{"syntax":"none | <shape-box> || <basic-shape> | <image>","media":"visual","inherited":false,"animationType":"basicShapeOtherwiseNo","percentages":"no","groups":["CSS Shapes"],"initial":"none","appliesto":"floats","computed":"asDefinedForBasicShapeWithAbsoluteURIOtherwiseAsSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/shape-outside"},"tab-size":{"syntax":"<integer> | <length>","media":"visual","inherited":true,"animationType":"length","percentages":"no","groups":["CSS Text"],"initial":"8","appliesto":"blockContainers","computed":"specifiedIntegerOrAbsoluteLength","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/tab-size"},"table-layout":{"syntax":"auto | fixed","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Table"],"initial":"auto","appliesto":"tableElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/table-layout"},"text-align":{"syntax":"start | end | left | right | center | justify | match-parent","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Text"],"initial":"startOrNamelessValueIfLTRRightIfRTL","appliesto":"blockContainers","computed":"asSpecifiedExceptMatchParent","order":"orderOfAppearance","alsoAppliesTo":["::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-align"},"text-align-last":{"syntax":"auto | start | end | left | right | center | justify","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Text"],"initial":"auto","appliesto":"blockContainers","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-align-last"},"text-combine-upright":{"syntax":"none | all | [ digits <integer>? ]","media":"visual","inherited":true,"animationType":"notAnimatable","percentages":"no","groups":["CSS Writing Modes"],"initial":"none","appliesto":"nonReplacedInlineElements","computed":"keywordPlusIntegerIfDigits","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-combine-upright"},"text-decoration":{"syntax":"<\'text-decoration-line\'> || <\'text-decoration-style\'> || <\'text-decoration-color\'> || <\'text-decoration-thickness\'>","media":"visual","inherited":false,"animationType":["text-decoration-color","text-decoration-style","text-decoration-line","text-decoration-thickness"],"percentages":"no","groups":["CSS Text Decoration"],"initial":["text-decoration-color","text-decoration-style","text-decoration-line"],"appliesto":"allElements","computed":["text-decoration-line","text-decoration-style","text-decoration-color","text-decoration-thickness"],"order":"orderOfAppearance","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-decoration"},"text-decoration-color":{"syntax":"<color>","media":"visual","inherited":false,"animationType":"color","percentages":"no","groups":["CSS Text Decoration"],"initial":"currentcolor","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-decoration-color"},"text-decoration-line":{"syntax":"none | [ underline || overline || line-through || blink ] | spelling-error | grammar-error","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Text Decoration"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-decoration-line"},"text-decoration-skip":{"syntax":"none | [ objects || [ spaces | [ leading-spaces || trailing-spaces ] ] || edges || box-decoration ]","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Text Decoration"],"initial":"objects","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip"},"text-decoration-skip-ink":{"syntax":"auto | all | none","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Text Decoration"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip-ink"},"text-decoration-style":{"syntax":"solid | double | dotted | dashed | wavy","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Text Decoration"],"initial":"solid","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-decoration-style"},"text-decoration-thickness":{"syntax":"auto | from-font | <length> | <percentage> ","media":"visual","inherited":false,"animationType":"byComputedValueType","percentages":"referToElementFontSize","groups":["CSS Text Decoration"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-decoration-thickness"},"text-emphasis":{"syntax":"<\'text-emphasis-style\'> || <\'text-emphasis-color\'>","media":"visual","inherited":false,"animationType":["text-emphasis-color","text-emphasis-style"],"percentages":"no","groups":["CSS Text Decoration"],"initial":["text-emphasis-style","text-emphasis-color"],"appliesto":"allElements","computed":["text-emphasis-style","text-emphasis-color"],"order":"orderOfAppearance","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-emphasis"},"text-emphasis-color":{"syntax":"<color>","media":"visual","inherited":false,"animationType":"color","percentages":"no","groups":["CSS Text Decoration"],"initial":"currentcolor","appliesto":"allElements","computed":"computedColor","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-color"},"text-emphasis-position":{"syntax":"[ over | under ] && [ right | left ]","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Text Decoration"],"initial":"over right","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-position"},"text-emphasis-style":{"syntax":"none | [ [ filled | open ] || [ dot | circle | double-circle | triangle | sesame ] ] | <string>","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Text Decoration"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-style"},"text-indent":{"syntax":"<length-percentage> && hanging? && each-line?","media":"visual","inherited":true,"animationType":"lpc","percentages":"referToWidthOfContainingBlock","groups":["CSS Text"],"initial":"0","appliesto":"blockContainers","computed":"percentageOrAbsoluteLengthPlusKeywords","order":"lengthOrPercentageBeforeKeywords","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-indent"},"text-justify":{"syntax":"auto | inter-character | inter-word | none","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Text"],"initial":"auto","appliesto":"inlineLevelAndTableCellElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-justify"},"text-orientation":{"syntax":"mixed | upright | sideways","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Writing Modes"],"initial":"mixed","appliesto":"allElementsExceptTableRowGroupsRowsColumnGroupsAndColumns","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-orientation"},"text-overflow":{"syntax":"[ clip | ellipsis | <string> ]{1,2}","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Basic User Interface"],"initial":"clip","appliesto":"blockContainerElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-overflow"},"text-rendering":{"syntax":"auto | optimizeSpeed | optimizeLegibility | geometricPrecision","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Miscellaneous"],"initial":"auto","appliesto":"textElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-rendering"},"text-shadow":{"syntax":"none | <shadow-t>#","media":"visual","inherited":true,"animationType":"shadowList","percentages":"no","groups":["CSS Text Decoration"],"initial":"none","appliesto":"allElements","computed":"colorPlusThreeAbsoluteLengths","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-shadow"},"text-size-adjust":{"syntax":"none | auto | <percentage>","media":"visual","inherited":true,"animationType":"discrete","percentages":"referToSizeOfFont","groups":["CSS Text"],"initial":"autoForSmartphoneBrowsersSupportingInflation","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-size-adjust"},"text-transform":{"syntax":"none | capitalize | uppercase | lowercase | full-width | full-size-kana","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Text"],"initial":"none","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-transform"},"text-underline-offset":{"syntax":"auto | <length> | <percentage> ","media":"visual","inherited":true,"animationType":"byComputedValueType","percentages":"referToElementFontSize","groups":["CSS Text Decoration"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-underline-offset"},"text-underline-position":{"syntax":"auto | from-font | [ under || [ left | right ] ]","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Text Decoration"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"orderOfAppearance","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/text-underline-position"},"top":{"syntax":"<length> | <percentage> | auto","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToContainingBlockHeight","groups":["CSS Positioning"],"initial":"auto","appliesto":"positionedElements","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/top"},"touch-action":{"syntax":"auto | none | [ [ pan-x | pan-left | pan-right ] || [ pan-y | pan-up | pan-down ] || pinch-zoom ] | manipulation","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["Pointer Events"],"initial":"auto","appliesto":"allElementsExceptNonReplacedInlineElementsTableRowsColumnsRowColumnGroups","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/touch-action"},"transform":{"syntax":"none | <transform-list>","media":"visual","inherited":false,"animationType":"transform","percentages":"referToSizeOfBoundingBox","groups":["CSS Transforms"],"initial":"none","appliesto":"transformableElements","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"uniqueOrder","stacking":true,"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/transform"},"transform-box":{"syntax":"content-box | border-box | fill-box | stroke-box | view-box","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Transforms"],"initial":"view-box","appliesto":"transformableElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/transform-box"},"transform-origin":{"syntax":"[ <length-percentage> | left | center | right | top | bottom ] | [ [ <length-percentage> | left | center | right ] && [ <length-percentage> | top | center | bottom ] ] <length>?","media":"visual","inherited":false,"animationType":"simpleListOfLpc","percentages":"referToSizeOfBoundingBox","groups":["CSS Transforms"],"initial":"50% 50% 0","appliesto":"transformableElements","computed":"forLengthAbsoluteValueOtherwisePercentage","order":"oneOrTwoValuesLengthAbsoluteKeywordsPercentages","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/transform-origin"},"transform-style":{"syntax":"flat | preserve-3d","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Transforms"],"initial":"flat","appliesto":"transformableElements","computed":"asSpecified","order":"uniqueOrder","stacking":true,"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/transform-style"},"transition":{"syntax":"<single-transition>#","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Transitions"],"initial":["transition-delay","transition-duration","transition-property","transition-timing-function"],"appliesto":"allElementsAndPseudos","computed":["transition-delay","transition-duration","transition-property","transition-timing-function"],"order":"orderOfAppearance","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/transition"},"transition-delay":{"syntax":"<time>#","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Transitions"],"initial":"0s","appliesto":"allElementsAndPseudos","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/transition-delay"},"transition-duration":{"syntax":"<time>#","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Transitions"],"initial":"0s","appliesto":"allElementsAndPseudos","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/transition-duration"},"transition-property":{"syntax":"none | <single-transition-property>#","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Transitions"],"initial":"all","appliesto":"allElementsAndPseudos","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/transition-property"},"transition-timing-function":{"syntax":"<timing-function>#","media":"interactive","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Transitions"],"initial":"ease","appliesto":"allElementsAndPseudos","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/transition-timing-function"},"translate":{"syntax":"none | <length-percentage> [ <length-percentage> <length>? ]?","media":"visual","inherited":false,"animationType":"transform","percentages":"referToSizeOfBoundingBox","groups":["CSS Transforms"],"initial":"none","appliesto":"transformableElements","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"perGrammar","stacking":true,"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/translate"},"unicode-bidi":{"syntax":"normal | embed | isolate | bidi-override | isolate-override | plaintext","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Writing Modes"],"initial":"normal","appliesto":"allElementsSomeValuesNoEffectOnNonInlineElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/unicode-bidi"},"user-select":{"syntax":"auto | text | none | contain | all","media":"visual","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Basic User Interface"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/user-select"},"vertical-align":{"syntax":"baseline | sub | super | text-top | text-bottom | middle | top | bottom | <percentage> | <length>","media":"visual","inherited":false,"animationType":"length","percentages":"referToLineHeight","groups":["CSS Table"],"initial":"baseline","appliesto":"inlineLevelAndTableCellElements","computed":"absoluteLengthOrKeyword","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/vertical-align"},"visibility":{"syntax":"visible | hidden | collapse","media":"visual","inherited":true,"animationType":"visibility","percentages":"no","groups":["CSS Box Model"],"initial":"visible","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/visibility"},"white-space":{"syntax":"normal | pre | nowrap | pre-wrap | pre-line | break-spaces","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Text"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/white-space"},"widows":{"syntax":"<integer>","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Fragmentation"],"initial":"2","appliesto":"blockContainerElements","computed":"asSpecified","order":"perGrammar","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/widows"},"width":{"syntax":"auto | <length> | <percentage> | min-content | max-content | fit-content(<length-percentage>)","media":"visual","inherited":false,"animationType":"lpc","percentages":"referToWidthOfContainingBlock","groups":["CSS Box Model"],"initial":"auto","appliesto":"allElementsButNonReplacedAndTableRows","computed":"percentageAutoOrAbsoluteLength","order":"lengthOrPercentageBeforeKeywordIfBothPresent","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/width"},"will-change":{"syntax":"auto | <animateable-feature>#","media":"all","inherited":false,"animationType":"discrete","percentages":"no","groups":["CSS Will Change"],"initial":"auto","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/will-change"},"word-break":{"syntax":"normal | break-all | keep-all | break-word","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Text"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/word-break"},"word-spacing":{"syntax":"normal | <length-percentage>","media":"visual","inherited":true,"animationType":"length","percentages":"referToWidthOfAffectedGlyph","groups":["CSS Text"],"initial":"normal","appliesto":"allElements","computed":"optimumMinAndMaxValueOfAbsoluteLengthPercentageOrNormal","order":"uniqueOrder","alsoAppliesTo":["::first-letter","::first-line","::placeholder"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/word-spacing"},"word-wrap":{"syntax":"normal | break-word","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Text"],"initial":"normal","appliesto":"nonReplacedInlineElements","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/overflow-wrap"},"writing-mode":{"syntax":"horizontal-tb | vertical-rl | vertical-lr | sideways-rl | sideways-lr","media":"visual","inherited":true,"animationType":"discrete","percentages":"no","groups":["CSS Writing Modes"],"initial":"horizontal-tb","appliesto":"allElementsExceptTableRowColumnGroupsTableRowsColumns","computed":"asSpecified","order":"uniqueOrder","status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/writing-mode"},"z-index":{"syntax":"auto | <integer>","media":"visual","inherited":false,"animationType":"integer","percentages":"no","groups":["CSS Positioning"],"initial":"auto","appliesto":"positionedElements","computed":"asSpecified","order":"uniqueOrder","stacking":true,"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/z-index"},"zoom":{"syntax":"normal | reset | <number> | <percentage>","media":"visual","inherited":false,"animationType":"integer","percentages":"no","groups":["Microsoft Extensions"],"initial":"normal","appliesto":"allElements","computed":"asSpecified","order":"uniqueOrder","status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/zoom"}}')},99262:function(ue){"use strict";ue.exports=JSON.parse('{"absolute-size":{"syntax":"xx-small | x-small | small | medium | large | x-large | xx-large | xxx-large"},"alpha-value":{"syntax":"<number> | <percentage>"},"angle-percentage":{"syntax":"<angle> | <percentage>"},"angular-color-hint":{"syntax":"<angle-percentage>"},"angular-color-stop":{"syntax":"<color> && <color-stop-angle>?"},"angular-color-stop-list":{"syntax":"[ <angular-color-stop> [, <angular-color-hint>]? ]# , <angular-color-stop>"},"animateable-feature":{"syntax":"scroll-position | contents | <custom-ident>"},"attachment":{"syntax":"scroll | fixed | local"},"attr()":{"syntax":"attr( <attr-name> <type-or-unit>? [, <attr-fallback> ]? )"},"attr-matcher":{"syntax":"[ \'~\' | \'|\' | \'^\' | \'$\' | \'*\' ]? \'=\'"},"attr-modifier":{"syntax":"i | s"},"attribute-selector":{"syntax":"\'[\' <wq-name> \']\' | \'[\' <wq-name> <attr-matcher> [ <string-token> | <ident-token> ] <attr-modifier>? \']\'"},"auto-repeat":{"syntax":"repeat( [ auto-fill | auto-fit ] , [ <line-names>? <fixed-size> ]+ <line-names>? )"},"auto-track-list":{"syntax":"[ <line-names>? [ <fixed-size> | <fixed-repeat> ] ]* <line-names>? <auto-repeat>\\n[ <line-names>? [ <fixed-size> | <fixed-repeat> ] ]* <line-names>?"},"baseline-position":{"syntax":"[ first | last ]? baseline"},"basic-shape":{"syntax":"<inset()> | <circle()> | <ellipse()> | <polygon()> | <path()>"},"bg-image":{"syntax":"none | <image>"},"bg-layer":{"syntax":"<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <box> || <box>"},"bg-position":{"syntax":"[ [ left | center | right | top | bottom | <length-percentage> ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ] | [ center | [ left | right ] <length-percentage>? ] && [ center | [ top | bottom ] <length-percentage>? ] ]"},"bg-size":{"syntax":"[ <length-percentage> | auto ]{1,2} | cover | contain"},"blur()":{"syntax":"blur( <length> )"},"blend-mode":{"syntax":"normal | multiply | screen | overlay | darken | lighten | color-dodge | color-burn | hard-light | soft-light | difference | exclusion | hue | saturation | color | luminosity"},"box":{"syntax":"border-box | padding-box | content-box"},"brightness()":{"syntax":"brightness( <number-percentage> )"},"calc()":{"syntax":"calc( <calc-sum> )"},"calc-sum":{"syntax":"<calc-product> [ [ \'+\' | \'-\' ] <calc-product> ]*"},"calc-product":{"syntax":"<calc-value> [ \'*\' <calc-value> | \'/\' <number> ]*"},"calc-value":{"syntax":"<number> | <dimension> | <percentage> | ( <calc-sum> )"},"cf-final-image":{"syntax":"<image> | <color>"},"cf-mixing-image":{"syntax":"<percentage>? && <image>"},"circle()":{"syntax":"circle( [ <shape-radius> ]? [ at <position> ]? )"},"clamp()":{"syntax":"clamp( <calc-sum>#{3} )"},"class-selector":{"syntax":"\'.\' <ident-token>"},"clip-source":{"syntax":"<url>"},"color":{"syntax":"<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hex-color> | <named-color> | currentcolor | <deprecated-system-color>"},"color-stop":{"syntax":"<color-stop-length> | <color-stop-angle>"},"color-stop-angle":{"syntax":"<angle-percentage>{1,2}"},"color-stop-length":{"syntax":"<length-percentage>{1,2}"},"color-stop-list":{"syntax":"[ <linear-color-stop> [, <linear-color-hint>]? ]# , <linear-color-stop>"},"combinator":{"syntax":"\'>\' | \'+\' | \'~\' | [ \'||\' ]"},"common-lig-values":{"syntax":"[ common-ligatures | no-common-ligatures ]"},"compat-auto":{"syntax":"searchfield | textarea | push-button | slider-horizontal | checkbox | radio | square-button | menulist | listbox | meter | progress-bar | button"},"composite-style":{"syntax":"clear | copy | source-over | source-in | source-out | source-atop | destination-over | destination-in | destination-out | destination-atop | xor"},"compositing-operator":{"syntax":"add | subtract | intersect | exclude"},"compound-selector":{"syntax":"[ <type-selector>? <subclass-selector>* [ <pseudo-element-selector> <pseudo-class-selector>* ]* ]!"},"compound-selector-list":{"syntax":"<compound-selector>#"},"complex-selector":{"syntax":"<compound-selector> [ <combinator>? <compound-selector> ]*"},"complex-selector-list":{"syntax":"<complex-selector>#"},"conic-gradient()":{"syntax":"conic-gradient( [ from <angle> ]? [ at <position> ]?, <angular-color-stop-list> )"},"contextual-alt-values":{"syntax":"[ contextual | no-contextual ]"},"content-distribution":{"syntax":"space-between | space-around | space-evenly | stretch"},"content-list":{"syntax":"[ <string> | contents | <image> | <quote> | <target> | <leader()> ]+"},"content-position":{"syntax":"center | start | end | flex-start | flex-end"},"content-replacement":{"syntax":"<image>"},"contrast()":{"syntax":"contrast( [ <number-percentage> ] )"},"counter()":{"syntax":"counter( <custom-ident>, <counter-style>? )"},"counter-style":{"syntax":"<counter-style-name> | symbols()"},"counter-style-name":{"syntax":"<custom-ident>"},"counters()":{"syntax":"counters( <custom-ident>, <string>, <counter-style>? )"},"cross-fade()":{"syntax":"cross-fade( <cf-mixing-image> , <cf-final-image>? )"},"cubic-bezier-timing-function":{"syntax":"ease | ease-in | ease-out | ease-in-out | cubic-bezier(<number [0,1]>, <number>, <number [0,1]>, <number>)"},"deprecated-system-color":{"syntax":"ActiveBorder | ActiveCaption | AppWorkspace | Background | ButtonFace | ButtonHighlight | ButtonShadow | ButtonText | CaptionText | GrayText | Highlight | HighlightText | InactiveBorder | InactiveCaption | InactiveCaptionText | InfoBackground | InfoText | Menu | MenuText | Scrollbar | ThreeDDarkShadow | ThreeDFace | ThreeDHighlight | ThreeDLightShadow | ThreeDShadow | Window | WindowFrame | WindowText"},"discretionary-lig-values":{"syntax":"[ discretionary-ligatures | no-discretionary-ligatures ]"},"display-box":{"syntax":"contents | none"},"display-inside":{"syntax":"flow | flow-root | table | flex | grid | ruby"},"display-internal":{"syntax":"table-row-group | table-header-group | table-footer-group | table-row | table-cell | table-column-group | table-column | table-caption | ruby-base | ruby-text | ruby-base-container | ruby-text-container"},"display-legacy":{"syntax":"inline-block | inline-list-item | inline-table | inline-flex | inline-grid"},"display-listitem":{"syntax":"<display-outside>? && [ flow | flow-root ]? && list-item"},"display-outside":{"syntax":"block | inline | run-in"},"drop-shadow()":{"syntax":"drop-shadow( <length>{2,3} <color>? )"},"east-asian-variant-values":{"syntax":"[ jis78 | jis83 | jis90 | jis04 | simplified | traditional ]"},"east-asian-width-values":{"syntax":"[ full-width | proportional-width ]"},"element()":{"syntax":"element( <id-selector> )"},"ellipse()":{"syntax":"ellipse( [ <shape-radius>{2} ]? [ at <position> ]? )"},"ending-shape":{"syntax":"circle | ellipse"},"env()":{"syntax":"env( <custom-ident> , <declaration-value>? )"},"explicit-track-list":{"syntax":"[ <line-names>? <track-size> ]+ <line-names>?"},"family-name":{"syntax":"<string> | <custom-ident>+"},"feature-tag-value":{"syntax":"<string> [ <integer> | on | off ]?"},"feature-type":{"syntax":"@stylistic | @historical-forms | @styleset | @character-variant | @swash | @ornaments | @annotation"},"feature-value-block":{"syntax":"<feature-type> \'{\' <feature-value-declaration-list> \'}\'"},"feature-value-block-list":{"syntax":"<feature-value-block>+"},"feature-value-declaration":{"syntax":"<custom-ident>: <integer>+;"},"feature-value-declaration-list":{"syntax":"<feature-value-declaration>"},"feature-value-name":{"syntax":"<custom-ident>"},"fill-rule":{"syntax":"nonzero | evenodd"},"filter-function":{"syntax":"<blur()> | <brightness()> | <contrast()> | <drop-shadow()> | <grayscale()> | <hue-rotate()> | <invert()> | <opacity()> | <saturate()> | <sepia()>"},"filter-function-list":{"syntax":"[ <filter-function> | <url> ]+"},"final-bg-layer":{"syntax":"<\'background-color\'> || <bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <box> || <box>"},"fit-content()":{"syntax":"fit-content( [ <length> | <percentage> ] )"},"fixed-breadth":{"syntax":"<length-percentage>"},"fixed-repeat":{"syntax":"repeat( [ <positive-integer> ] , [ <line-names>? <fixed-size> ]+ <line-names>? )"},"fixed-size":{"syntax":"<fixed-breadth> | minmax( <fixed-breadth> , <track-breadth> ) | minmax( <inflexible-breadth> , <fixed-breadth> )"},"font-stretch-absolute":{"syntax":"normal | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | <percentage>"},"font-variant-css21":{"syntax":"[ normal | small-caps ]"},"font-weight-absolute":{"syntax":"normal | bold | <number [1,1000]>"},"frequency-percentage":{"syntax":"<frequency> | <percentage>"},"general-enclosed":{"syntax":"[ <function-token> <any-value> ) ] | ( <ident> <any-value> )"},"generic-family":{"syntax":"serif | sans-serif | cursive | fantasy | monospace"},"generic-name":{"syntax":"serif | sans-serif | cursive | fantasy | monospace"},"geometry-box":{"syntax":"<shape-box> | fill-box | stroke-box | view-box"},"gradient":{"syntax":"<linear-gradient()> | <repeating-linear-gradient()> | <radial-gradient()> | <repeating-radial-gradient()> | <conic-gradient()>"},"grayscale()":{"syntax":"grayscale( <number-percentage> )"},"grid-line":{"syntax":"auto | <custom-ident> | [ <integer> && <custom-ident>? ] | [ span && [ <integer> || <custom-ident> ] ]"},"historical-lig-values":{"syntax":"[ historical-ligatures | no-historical-ligatures ]"},"hsl()":{"syntax":"hsl( <hue> <percentage> <percentage> [ / <alpha-value> ]? ) | hsl( <hue>, <percentage>, <percentage>, <alpha-value>? )"},"hsla()":{"syntax":"hsla( <hue> <percentage> <percentage> [ / <alpha-value> ]? ) | hsla( <hue>, <percentage>, <percentage>, <alpha-value>? )"},"hue":{"syntax":"<number> | <angle>"},"hue-rotate()":{"syntax":"hue-rotate( <angle> )"},"id-selector":{"syntax":"<hash-token>"},"image":{"syntax":"<url> | <image()> | <image-set()> | <element()> | <paint()> | <cross-fade()> | <gradient>"},"image()":{"syntax":"image( <image-tags>? [ <image-src>? , <color>? ]! )"},"image-set()":{"syntax":"image-set( <image-set-option># )"},"image-set-option":{"syntax":"[ <image> | <string> ] <resolution>"},"image-src":{"syntax":"<url> | <string>"},"image-tags":{"syntax":"ltr | rtl"},"inflexible-breadth":{"syntax":"<length> | <percentage> | min-content | max-content | auto"},"inset()":{"syntax":"inset( <length-percentage>{1,4} [ round <\'border-radius\'> ]? )"},"invert()":{"syntax":"invert( <number-percentage> )"},"keyframes-name":{"syntax":"<custom-ident> | <string>"},"keyframe-block":{"syntax":"<keyframe-selector># {\\n  <declaration-list>\\n}"},"keyframe-block-list":{"syntax":"<keyframe-block>+"},"keyframe-selector":{"syntax":"from | to | <percentage>"},"leader()":{"syntax":"leader( <leader-type> )"},"leader-type":{"syntax":"dotted | solid | space | <string>"},"length-percentage":{"syntax":"<length> | <percentage>"},"line-names":{"syntax":"\'[\' <custom-ident>* \']\'"},"line-name-list":{"syntax":"[ <line-names> | <name-repeat> ]+"},"line-style":{"syntax":"none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset"},"line-width":{"syntax":"<length> | thin | medium | thick"},"linear-color-hint":{"syntax":"<length-percentage>"},"linear-color-stop":{"syntax":"<color> <color-stop-length>?"},"linear-gradient()":{"syntax":"linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> )"},"mask-layer":{"syntax":"<mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || <geometry-box> || [ <geometry-box> | no-clip ] || <compositing-operator> || <masking-mode>"},"mask-position":{"syntax":"[ <length-percentage> | left | center | right ] [ <length-percentage> | top | center | bottom ]?"},"mask-reference":{"syntax":"none | <image> | <mask-source>"},"mask-source":{"syntax":"<url>"},"masking-mode":{"syntax":"alpha | luminance | match-source"},"matrix()":{"syntax":"matrix( <number>#{6} )"},"matrix3d()":{"syntax":"matrix3d( <number>#{16} )"},"max()":{"syntax":"max( <calc-sum># )"},"media-and":{"syntax":"<media-in-parens> [ and <media-in-parens> ]+"},"media-condition":{"syntax":"<media-not> | <media-and> | <media-or> | <media-in-parens>"},"media-condition-without-or":{"syntax":"<media-not> | <media-and> | <media-in-parens>"},"media-feature":{"syntax":"( [ <mf-plain> | <mf-boolean> | <mf-range> ] )"},"media-in-parens":{"syntax":"( <media-condition> ) | <media-feature> | <general-enclosed>"},"media-not":{"syntax":"not <media-in-parens>"},"media-or":{"syntax":"<media-in-parens> [ or <media-in-parens> ]+"},"media-query":{"syntax":"<media-condition> | [ not | only ]? <media-type> [ and <media-condition-without-or> ]?"},"media-query-list":{"syntax":"<media-query>#"},"media-type":{"syntax":"<ident>"},"mf-boolean":{"syntax":"<mf-name>"},"mf-name":{"syntax":"<ident>"},"mf-plain":{"syntax":"<mf-name> : <mf-value>"},"mf-range":{"syntax":"<mf-name> [ \'<\' | \'>\' ]? \'=\'? <mf-value>\\n| <mf-value> [ \'<\' | \'>\' ]? \'=\'? <mf-name>\\n| <mf-value> \'<\' \'=\'? <mf-name> \'<\' \'=\'? <mf-value>\\n| <mf-value> \'>\' \'=\'? <mf-name> \'>\' \'=\'? <mf-value>"},"mf-value":{"syntax":"<number> | <dimension> | <ident> | <ratio>"},"min()":{"syntax":"min( <calc-sum># )"},"minmax()":{"syntax":"minmax( [ <length> | <percentage> | min-content | max-content | auto ] , [ <length> | <percentage> | <flex> | min-content | max-content | auto ] )"},"named-color":{"syntax":"transparent | aliceblue | antiquewhite | aqua | aquamarine | azure | beige | bisque | black | blanchedalmond | blue | blueviolet | brown | burlywood | cadetblue | chartreuse | chocolate | coral | cornflowerblue | cornsilk | crimson | cyan | darkblue | darkcyan | darkgoldenrod | darkgray | darkgreen | darkgrey | darkkhaki | darkmagenta | darkolivegreen | darkorange | darkorchid | darkred | darksalmon | darkseagreen | darkslateblue | darkslategray | darkslategrey | darkturquoise | darkviolet | deeppink | deepskyblue | dimgray | dimgrey | dodgerblue | firebrick | floralwhite | forestgreen | fuchsia | gainsboro | ghostwhite | gold | goldenrod | gray | green | greenyellow | grey | honeydew | hotpink | indianred | indigo | ivory | khaki | lavender | lavenderblush | lawngreen | lemonchiffon | lightblue | lightcoral | lightcyan | lightgoldenrodyellow | lightgray | lightgreen | lightgrey | lightpink | lightsalmon | lightseagreen | lightskyblue | lightslategray | lightslategrey | lightsteelblue | lightyellow | lime | limegreen | linen | magenta | maroon | mediumaquamarine | mediumblue | mediumorchid | mediumpurple | mediumseagreen | mediumslateblue | mediumspringgreen | mediumturquoise | mediumvioletred | midnightblue | mintcream | mistyrose | moccasin | navajowhite | navy | oldlace | olive | olivedrab | orange | orangered | orchid | palegoldenrod | palegreen | paleturquoise | palevioletred | papayawhip | peachpuff | peru | pink | plum | powderblue | purple | rebeccapurple | red | rosybrown | royalblue | saddlebrown | salmon | sandybrown | seagreen | seashell | sienna | silver | skyblue | slateblue | slategray | slategrey | snow | springgreen | steelblue | tan | teal | thistle | tomato | turquoise | violet | wheat | white | whitesmoke | yellow | yellowgreen"},"namespace-prefix":{"syntax":"<ident>"},"ns-prefix":{"syntax":"[ <ident-token> | \'*\' ]? \'|\'"},"number-percentage":{"syntax":"<number> | <percentage>"},"numeric-figure-values":{"syntax":"[ lining-nums | oldstyle-nums ]"},"numeric-fraction-values":{"syntax":"[ diagonal-fractions | stacked-fractions ]"},"numeric-spacing-values":{"syntax":"[ proportional-nums | tabular-nums ]"},"nth":{"syntax":"<an-plus-b> | even | odd"},"opacity()":{"syntax":"opacity( [ <number-percentage> ] )"},"overflow-position":{"syntax":"unsafe | safe"},"outline-radius":{"syntax":"<length> | <percentage>"},"page-body":{"syntax":"<declaration>? [ ; <page-body> ]? | <page-margin-box> <page-body>"},"page-margin-box":{"syntax":"<page-margin-box-type> \'{\' <declaration-list> \'}\'"},"page-margin-box-type":{"syntax":"@top-left-corner | @top-left | @top-center | @top-right | @top-right-corner | @bottom-left-corner | @bottom-left | @bottom-center | @bottom-right | @bottom-right-corner | @left-top | @left-middle | @left-bottom | @right-top | @right-middle | @right-bottom"},"page-selector-list":{"syntax":"[ <page-selector># ]?"},"page-selector":{"syntax":"<pseudo-page>+ | <ident> <pseudo-page>*"},"path()":{"syntax":"path( [ <fill-rule>, ]? <string> )"},"paint()":{"syntax":"paint( <ident>, <declaration-value>? )"},"perspective()":{"syntax":"perspective( <length> )"},"polygon()":{"syntax":"polygon( <fill-rule>? , [ <length-percentage> <length-percentage> ]# )"},"position":{"syntax":"[ [ left | center | right ] || [ top | center | bottom ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ]? | [ [ left | right ] <length-percentage> ] && [ [ top | bottom ] <length-percentage> ] ]"},"pseudo-class-selector":{"syntax":"\':\' <ident-token> | \':\' <function-token> <any-value> \')\'"},"pseudo-element-selector":{"syntax":"\':\' <pseudo-class-selector>"},"pseudo-page":{"syntax":": [ left | right | first | blank ]"},"quote":{"syntax":"open-quote | close-quote | no-open-quote | no-close-quote"},"radial-gradient()":{"syntax":"radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> )"},"relative-selector":{"syntax":"<combinator>? <complex-selector>"},"relative-selector-list":{"syntax":"<relative-selector>#"},"relative-size":{"syntax":"larger | smaller"},"repeat-style":{"syntax":"repeat-x | repeat-y | [ repeat | space | round | no-repeat ]{1,2}"},"repeating-linear-gradient()":{"syntax":"repeating-linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> )"},"repeating-radial-gradient()":{"syntax":"repeating-radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> )"},"rgb()":{"syntax":"rgb( <percentage>{3} [ / <alpha-value> ]? ) | rgb( <number>{3} [ / <alpha-value> ]? ) | rgb( <percentage>#{3} , <alpha-value>? ) | rgb( <number>#{3} , <alpha-value>? )"},"rgba()":{"syntax":"rgba( <percentage>{3} [ / <alpha-value> ]? ) | rgba( <number>{3} [ / <alpha-value> ]? ) | rgba( <percentage>#{3} , <alpha-value>? ) | rgba( <number>#{3} , <alpha-value>? )"},"rotate()":{"syntax":"rotate( [ <angle> | <zero> ] )"},"rotate3d()":{"syntax":"rotate3d( <number> , <number> , <number> , [ <angle> | <zero> ] )"},"rotateX()":{"syntax":"rotateX( [ <angle> | <zero> ] )"},"rotateY()":{"syntax":"rotateY( [ <angle> | <zero> ] )"},"rotateZ()":{"syntax":"rotateZ( [ <angle> | <zero> ] )"},"saturate()":{"syntax":"saturate( <number-percentage> )"},"scale()":{"syntax":"scale( <number> , <number>? )"},"scale3d()":{"syntax":"scale3d( <number> , <number> , <number> )"},"scaleX()":{"syntax":"scaleX( <number> )"},"scaleY()":{"syntax":"scaleY( <number> )"},"scaleZ()":{"syntax":"scaleZ( <number> )"},"self-position":{"syntax":"center | start | end | self-start | self-end | flex-start | flex-end"},"shape-radius":{"syntax":"<length-percentage> | closest-side | farthest-side"},"skew()":{"syntax":"skew( [ <angle> | <zero> ] , [ <angle> | <zero> ]? )"},"skewX()":{"syntax":"skewX( [ <angle> | <zero> ] )"},"skewY()":{"syntax":"skewY( [ <angle> | <zero> ] )"},"sepia()":{"syntax":"sepia( <number-percentage> )"},"shadow":{"syntax":"inset? && <length>{2,4} && <color>?"},"shadow-t":{"syntax":"[ <length>{2,3} && <color>? ]"},"shape":{"syntax":"rect(<top>, <right>, <bottom>, <left>)"},"shape-box":{"syntax":"<box> | margin-box"},"side-or-corner":{"syntax":"[ left | right ] || [ top | bottom ]"},"single-animation":{"syntax":"<time> || <timing-function> || <time> || <single-animation-iteration-count> || <single-animation-direction> || <single-animation-fill-mode> || <single-animation-play-state> || [ none | <keyframes-name> ]"},"single-animation-direction":{"syntax":"normal | reverse | alternate | alternate-reverse"},"single-animation-fill-mode":{"syntax":"none | forwards | backwards | both"},"single-animation-iteration-count":{"syntax":"infinite | <number>"},"single-animation-play-state":{"syntax":"running | paused"},"single-transition":{"syntax":"[ none | <single-transition-property> ] || <time> || <timing-function> || <time>"},"single-transition-property":{"syntax":"all | <custom-ident>"},"size":{"syntax":"closest-side | farthest-side | closest-corner | farthest-corner | <length> | <length-percentage>{2}"},"step-position":{"syntax":"jump-start | jump-end | jump-none | jump-both | start | end"},"step-timing-function":{"syntax":"step-start | step-end | steps(<integer>[, <step-position>]?)"},"subclass-selector":{"syntax":"<id-selector> | <class-selector> | <attribute-selector> | <pseudo-class-selector>"},"supports-condition":{"syntax":"not <supports-in-parens> | <supports-in-parens> [ and <supports-in-parens> ]* | <supports-in-parens> [ or <supports-in-parens> ]*"},"supports-in-parens":{"syntax":"( <supports-condition> ) | <supports-feature> | <general-enclosed>"},"supports-feature":{"syntax":"<supports-decl> | <supports-selector-fn>"},"supports-decl":{"syntax":"( <declaration> )"},"supports-selector-fn":{"syntax":"selector( <complex-selector> )"},"symbol":{"syntax":"<string> | <image> | <custom-ident>"},"target":{"syntax":"<target-counter()> | <target-counters()> | <target-text()>"},"target-counter()":{"syntax":"target-counter( [ <string> | <url> ] , <custom-ident> , <counter-style>? )"},"target-counters()":{"syntax":"target-counters( [ <string> | <url> ] , <custom-ident> , <string> , <counter-style>? )"},"target-text()":{"syntax":"target-text( [ <string> | <url> ] , [ content | before | after | first-letter ]? )"},"time-percentage":{"syntax":"<time> | <percentage>"},"timing-function":{"syntax":"linear | <cubic-bezier-timing-function> | <step-timing-function>"},"track-breadth":{"syntax":"<length-percentage> | <flex> | min-content | max-content | auto"},"track-list":{"syntax":"[ <line-names>? [ <track-size> | <track-repeat> ] ]+ <line-names>?"},"track-repeat":{"syntax":"repeat( [ <positive-integer> ] , [ <line-names>? <track-size> ]+ <line-names>? )"},"track-size":{"syntax":"<track-breadth> | minmax( <inflexible-breadth> , <track-breadth> ) | fit-content( [ <length> | <percentage> ] )"},"transform-function":{"syntax":"<matrix()> | <translate()> | <translateX()> | <translateY()> | <scale()> | <scaleX()> | <scaleY()> | <rotate()> | <skew()> | <skewX()> | <skewY()> | <matrix3d()> | <translate3d()> | <translateZ()> | <scale3d()> | <scaleZ()> | <rotate3d()> | <rotateX()> | <rotateY()> | <rotateZ()> | <perspective()>"},"transform-list":{"syntax":"<transform-function>+"},"translate()":{"syntax":"translate( <length-percentage> , <length-percentage>? )"},"translate3d()":{"syntax":"translate3d( <length-percentage> , <length-percentage> , <length> )"},"translateX()":{"syntax":"translateX( <length-percentage> )"},"translateY()":{"syntax":"translateY( <length-percentage> )"},"translateZ()":{"syntax":"translateZ( <length> )"},"type-or-unit":{"syntax":"string | color | url | integer | number | length | angle | time | frequency | cap | ch | em | ex | ic | lh | rlh | rem | vb | vi | vw | vh | vmin | vmax | mm | Q | cm | in | pt | pc | px | deg | grad | rad | turn | ms | s | Hz | kHz | %"},"type-selector":{"syntax":"<wq-name> | <ns-prefix>? \'*\'"},"var()":{"syntax":"var( <custom-property-name> , <declaration-value>? )"},"viewport-length":{"syntax":"auto | <length-percentage>"},"wq-name":{"syntax":"<ns-prefix>? <ident-token>"}}')},4147:function(ue){"use strict";ue.exports={i8:"2.2.26"}}},function(ue){ue(ue.s=55699)}]);
\ No newline at end of file
diff --git a/gns3server/static/web-ui/polyfills-es5.300b3ac245f51be06907.js b/gns3server/static/web-ui/polyfills-es5.300b3ac245f51be06907.js
deleted file mode 100644
index 273b4566..00000000
--- a/gns3server/static/web-ui/polyfills-es5.300b3ac245f51be06907.js
+++ /dev/null
@@ -1 +0,0 @@
-(self.webpackChunkgns3_web_ui=self.webpackChunkgns3_web_ui||[]).push([[698,429],{92137:function(o,c,t){t(59889),t(8963),t(60145),t(24943),t(8040),t(22665),t(4209),t(82972);var e=t(41071);o.exports=e.Date},16488:function(o,c,t){t(2310),t(56942),t(17500),t(76743),t(38651),t(31070),t(45929),t(98267),t(50346),t(32973),t(42017),t(46895),t(64031),t(93237),t(51641),t(60329),t(38145),t(11821);var e=t(41071);o.exports=e.Math},26596:function(o,c,t){t(7587),t(13961),t(47316),t(82196),t(93011),t(44693),t(5531),t(66389),t(22917),t(90543),t(28327),t(77197);var e=t(41071);o.exports=e.Number},73846:function(o,c,t){t(96886),t(10887),t(29982),t(93241),t(62099),t(48087),t(1853),t(46692),t(7211),t(75418),t(45015),t(86052),t(4569),t(52209),t(90573),t(35212),t(15695),t(80774),t(38145),t(75458);var e=t(41071);o.exports=e.Symbol},69566:function(o){o.exports=function(c){if("function"!=typeof c)throw TypeError(String(c)+" is not a function");return c}},12222:function(o,c,t){var e=t(80285);o.exports=function(r){if(!e(r)&&null!==r)throw TypeError("Can't set "+String(r)+" as a prototype");return r}},68756:function(o,c,t){var e=t(93636),r=t(64121),n=t(29017),a=e("unscopables"),s=Array.prototype;null==s[a]&&n.f(s,a,{configurable:!0,value:r(null)}),o.exports=function(i){s[a][i]=!0}},28565:function(o,c,t){"use strict";var e=t(8271).charAt;o.exports=function(r,n,a){return n+(a?e(r,n).length:1)}},48883:function(o){o.exports=function(c,t,e){if(!(c instanceof t))throw TypeError("Incorrect "+(e?e+" ":"")+"invocation");return c}},68485:function(o,c,t){var e=t(80285);o.exports=function(r){if(!e(r))throw TypeError(String(r)+" is not an object");return r}},61969:function(o,c,t){"use strict";var e=t(64132),r=t(30581),n=t(46681),a=Math.min;o.exports=[].copyWithin||function(i,u){var f=e(this),l=n(f.length),d=r(i,l),h=r(u,l),m=arguments.length>2?arguments[2]:void 0,I=a((void 0===m?l:r(m,l))-h,l-d),v=1;for(h<d&&d<h+I&&(v=-1,h+=I-1,d+=I-1);I-- >0;)h in f?f[d]=f[h]:delete f[d],d+=v,h+=v;return f}},25771:function(o,c,t){"use strict";var e=t(64132),r=t(30581),n=t(46681);o.exports=function(s){for(var i=e(this),u=n(i.length),f=arguments.length,l=r(f>1?arguments[1]:void 0,u),d=f>2?arguments[2]:void 0,h=void 0===d?u:r(d,u);h>l;)i[l++]=s;return i}},84875:function(o,c,t){"use strict";var e=t(43887).forEach,n=t(48561)("forEach");o.exports=n?[].forEach:function(s){return e(this,s,arguments.length>1?arguments[1]:void 0)}},81690:function(o,c,t){"use strict";var e=t(96935),r=t(64132),n=t(62873),a=t(86778),s=t(46681),i=t(51823),u=t(45149);o.exports=function(l){var P,y,p,S,O,T,d=r(l),h="function"==typeof this?this:Array,m=arguments.length,I=m>1?arguments[1]:void 0,v=void 0!==I,E=u(d),g=0;if(v&&(I=e(I,m>2?arguments[2]:void 0,2)),null==E||h==Array&&a(E))for(y=new h(P=s(d.length));P>g;g++)T=v?I(d[g],g):d[g],i(y,g,T);else for(O=(S=E.call(d)).next,y=new h;!(p=O.call(S)).done;g++)T=v?n(S,I,[p.value,g],!0):p.value,i(y,g,T);return y.length=g,y}},8069:function(o,c,t){var e=t(32580),r=t(46681),n=t(30581),a=function(s){return function(i,u,f){var m,l=e(i),d=r(l.length),h=n(f,d);if(s&&u!=u){for(;d>h;)if((m=l[h++])!=m)return!0}else for(;d>h;h++)if((s||h in l)&&l[h]===u)return s||h||0;return!s&&-1}};o.exports={includes:a(!0),indexOf:a(!1)}},43887:function(o,c,t){var e=t(96935),r=t(36994),n=t(64132),a=t(46681),s=t(77192),i=[].push,u=function(f){var l=1==f,d=2==f,h=3==f,m=4==f,I=6==f,v=7==f,E=5==f||I;return function(g,P,y,p){for(var w,V,S=n(g),O=r(S),T=e(P,y,3),j=a(O.length),x=0,M=p||s,C=l?M(g,j):d||v?M(g,0):void 0;j>x;x++)if((E||x in O)&&(V=T(w=O[x],x,S),f))if(l)C[x]=V;else if(V)switch(f){case 3:return!0;case 5:return w;case 6:return x;case 2:i.call(C,w)}else switch(f){case 4:return!1;case 7:i.call(C,w)}return I?-1:h||m?m:C}};o.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},63715:function(o,c,t){"use strict";var e=t(32580),r=t(27543),n=t(46681),a=t(48561),s=Math.min,i=[].lastIndexOf,u=!!i&&1/[1].lastIndexOf(1,-0)<0,f=a("lastIndexOf");o.exports=u||!f?function(h){if(u)return i.apply(this,arguments)||0;var m=e(this),I=n(m.length),v=I-1;for(arguments.length>1&&(v=s(v,r(arguments[1]))),v<0&&(v=I+v);v>=0;v--)if(v in m&&m[v]===h)return v||0;return-1}:i},60551:function(o,c,t){var e=t(58889),r=t(93636),n=t(32046),a=r("species");o.exports=function(s){return n>=51||!e(function(){var i=[];return(i.constructor={})[a]=function(){return{foo:1}},1!==i[s](Boolean).foo})}},48561:function(o,c,t){"use strict";var e=t(58889);o.exports=function(r,n){var a=[][r];return!!a&&e(function(){a.call(null,n||function(){throw 1},1)})}},11241:function(o,c,t){var e=t(69566),r=t(64132),n=t(36994),a=t(46681),s=function(i){return function(u,f,l,d){e(f);var h=r(u),m=n(h),I=a(h.length),v=i?I-1:0,E=i?-1:1;if(l<2)for(;;){if(v in m){d=m[v],v+=E;break}if(v+=E,i?v<0:I<=v)throw TypeError("Reduce of empty array with no initial value")}for(;i?v>=0:I>v;v+=E)v in m&&(d=f(d,m[v],v,h));return d}};o.exports={left:s(!1),right:s(!0)}},93483:function(o){var c=Math.floor,t=function(n,a){var s=n.length,i=c(s/2);return s<8?e(n,a):r(t(n.slice(0,i),a),t(n.slice(i),a),a)},e=function(n,a){for(var u,f,s=n.length,i=1;i<s;){for(f=i,u=n[i];f&&a(n[f-1],u)>0;)n[f]=n[--f];f!==i++&&(n[f]=u)}return n},r=function(n,a,s){for(var i=n.length,u=a.length,f=0,l=0,d=[];f<i||l<u;)d.push(f<i&&l<u?s(n[f],a[l])<=0?n[f++]:a[l++]:f<i?n[f++]:a[l++]);return d};o.exports=t},42141:function(o,c,t){var e=t(80285),r=t(49975),a=t(93636)("species");o.exports=function(s){var i;return r(s)&&("function"!=typeof(i=s.constructor)||i!==Array&&!r(i.prototype)?e(i)&&null===(i=i[a])&&(i=void 0):i=void 0),void 0===i?Array:i}},77192:function(o,c,t){var e=t(42141);o.exports=function(r,n){return new(e(r))(0===n?0:n)}},62873:function(o,c,t){var e=t(68485),r=t(11626);o.exports=function(n,a,s,i){try{return i?a(e(s)[0],s[1]):a(s)}catch(u){throw r(n),u}}},62749:function(o,c,t){var r=t(93636)("iterator"),n=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){n=!0}};s[r]=function(){return this},Array.from(s,function(){throw 2})}catch(i){}o.exports=function(i,u){if(!u&&!n)return!1;var f=!1;try{var l={};l[r]=function(){return{next:function(){return{done:f=!0}}}},i(l)}catch(d){}return f}},45507:function(o){var c={}.toString;o.exports=function(t){return c.call(t).slice(8,-1)}},87059:function(o,c,t){var e=t(2754),r=t(45507),a=t(93636)("toStringTag"),s="Arguments"==r(function(){return arguments}());o.exports=e?r:function(u){var f,l,d;return void 0===u?"Undefined":null===u?"Null":"string"==typeof(l=function(u,f){try{return u[f]}catch(l){}}(f=Object(u),a))?l:s?r(f):"Object"==(d=r(f))&&"function"==typeof f.callee?"Arguments":d}},56506:function(o,c,t){"use strict";var e=t(29017).f,r=t(64121),n=t(50353),a=t(96935),s=t(48883),i=t(20018),u=t(13402),f=t(11471),l=t(40857),d=t(11389).fastKey,h=t(62100),m=h.set,I=h.getterFor;o.exports={getConstructor:function(v,E,g,P){var y=v(function(T,j){s(T,y,E),m(T,{type:E,index:r(null),first:void 0,last:void 0,size:0}),l||(T.size=0),null!=j&&i(j,T[P],{that:T,AS_ENTRIES:g})}),p=I(E),S=function(T,j,x){var w,V,M=p(T),C=O(T,j);return C?C.value=x:(M.last=C={index:V=d(j,!0),key:j,value:x,previous:w=M.last,next:void 0,removed:!1},M.first||(M.first=C),w&&(w.next=C),l?M.size++:T.size++,"F"!==V&&(M.index[V]=C)),T},O=function(T,j){var C,x=p(T),M=d(j);if("F"!==M)return x.index[M];for(C=x.first;C;C=C.next)if(C.key==j)return C};return n(y.prototype,{clear:function(){for(var x=p(this),M=x.index,C=x.first;C;)C.removed=!0,C.previous&&(C.previous=C.previous.next=void 0),delete M[C.index],C=C.next;x.first=x.last=void 0,l?x.size=0:this.size=0},delete:function(T){var j=this,x=p(j),M=O(j,T);if(M){var C=M.next,w=M.previous;delete x.index[M.index],M.removed=!0,w&&(w.next=C),C&&(C.previous=w),x.first==M&&(x.first=C),x.last==M&&(x.last=w),l?x.size--:j.size--}return!!M},forEach:function(j){for(var C,x=p(this),M=a(j,arguments.length>1?arguments[1]:void 0,3);C=C?C.next:x.first;)for(M(C.value,C.key,this);C&&C.removed;)C=C.previous},has:function(j){return!!O(this,j)}}),n(y.prototype,g?{get:function(j){var x=O(this,j);return x&&x.value},set:function(j,x){return S(this,0===j?0:j,x)}}:{add:function(j){return S(this,j=0===j?0:j,j)}}),l&&e(y.prototype,"size",{get:function(){return p(this).size}}),y},setStrong:function(v,E,g){var P=E+" Iterator",y=I(E),p=I(P);u(v,E,function(S,O){m(this,{type:P,target:S,state:y(S),kind:O,last:void 0})},function(){for(var S=p(this),O=S.kind,T=S.last;T&&T.removed;)T=T.previous;return S.target&&(S.last=T=T?T.next:S.state.first)?"keys"==O?{value:T.key,done:!1}:"values"==O?{value:T.value,done:!1}:{value:[T.key,T.value],done:!1}:(S.target=void 0,{value:void 0,done:!0})},g?"entries":"values",!g,!0),f(E)}}},36003:function(o,c,t){"use strict";var e=t(50353),r=t(11389).getWeakData,n=t(68485),a=t(80285),s=t(48883),i=t(20018),u=t(43887),f=t(25774),l=t(62100),d=l.set,h=l.getterFor,m=u.find,I=u.findIndex,v=0,E=function(y){return y.frozen||(y.frozen=new g)},g=function(){this.entries=[]},P=function(y,p){return m(y.entries,function(S){return S[0]===p})};g.prototype={get:function(y){var p=P(this,y);if(p)return p[1]},has:function(y){return!!P(this,y)},set:function(y,p){var S=P(this,y);S?S[1]=p:this.entries.push([y,p])},delete:function(y){var p=I(this.entries,function(S){return S[0]===y});return~p&&this.entries.splice(p,1),!!~p}},o.exports={getConstructor:function(y,p,S,O){var T=y(function(M,C){s(M,T,p),d(M,{type:p,id:v++,frozen:void 0}),null!=C&&i(C,M[O],{that:M,AS_ENTRIES:S})}),j=h(p),x=function(M,C,w){var V=j(M),at=r(n(C),!0);return!0===at?E(V).set(C,w):at[V.id]=w,M};return e(T.prototype,{delete:function(M){var C=j(this);if(!a(M))return!1;var w=r(M);return!0===w?E(C).delete(M):w&&f(w,C.id)&&delete w[C.id]},has:function(C){var w=j(this);if(!a(C))return!1;var V=r(C);return!0===V?E(w).has(C):V&&f(V,w.id)}}),e(T.prototype,S?{get:function(C){var w=j(this);if(a(C)){var V=r(C);return!0===V?E(w).get(C):V?V[w.id]:void 0}},set:function(C,w){return x(this,C,w)}}:{add:function(C){return x(this,C,!0)}}),T}}},5518:function(o,c,t){"use strict";var e=t(80795),r=t(25913),n=t(29199),a=t(60597),s=t(11389),i=t(20018),u=t(48883),f=t(80285),l=t(58889),d=t(62749),h=t(72714),m=t(32155);o.exports=function(I,v,E){var g=-1!==I.indexOf("Map"),P=-1!==I.indexOf("Weak"),y=g?"set":"add",p=r[I],S=p&&p.prototype,O=p,T={},j=function(nt){var Y=S[nt];a(S,nt,"add"==nt?function(b){return Y.call(this,0===b?0:b),this}:"delete"==nt?function(N){return!(P&&!f(N))&&Y.call(this,0===N?0:N)}:"get"==nt?function(b){return P&&!f(b)?void 0:Y.call(this,0===b?0:b)}:"has"==nt?function(b){return!(P&&!f(b))&&Y.call(this,0===b?0:b)}:function(b,U){return Y.call(this,0===b?0:b,U),this})};if(n(I,"function"!=typeof p||!(P||S.forEach&&!l(function(){(new p).entries().next()}))))O=E.getConstructor(v,I,g,y),s.enable();else if(n(I,!0)){var M=new O,C=M[y](P?{}:-0,1)!=M,w=l(function(){M.has(1)}),V=d(function(nt){new p(nt)}),at=!P&&l(function(){for(var nt=new p,Y=5;Y--;)nt[y](Y,Y);return!nt.has(-0)});V||((O=v(function(nt,Y){u(nt,O,I);var N=m(new p,nt,O);return null!=Y&&i(Y,N[y],{that:N,AS_ENTRIES:g}),N})).prototype=S,S.constructor=O),(w||at)&&(j("delete"),j("has"),g&&j("get")),(at||C)&&j(y),P&&S.clear&&delete S.clear}return T[I]=O,e({global:!0,forced:O!=p},T),h(O,I),P||E.setStrong(O,I,g),O}},83888:function(o,c,t){var e=t(25774),r=t(88460),n=t(78866),a=t(29017);o.exports=function(s,i){for(var u=r(i),f=a.f,l=n.f,d=0;d<u.length;d++){var h=u[d];e(s,h)||f(s,h,l(i,h))}}},74661:function(o,c,t){var r=t(93636)("match");o.exports=function(n){var a=/./;try{"/./"[n](a)}catch(s){try{return a[r]=!1,"/./"[n](a)}catch(i){}}return!1}},31619:function(o,c,t){var e=t(58889);o.exports=!e(function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype})},19333:function(o,c,t){var e=t(48820),r=t(25654),n=/"/g;o.exports=function(a,s,i,u){var f=r(e(a)),l="<"+s;return""!==i&&(l+=" "+i+'="'+r(u).replace(n,"&quot;")+'"'),l+">"+f+"</"+s+">"}},9082:function(o,c,t){"use strict";var e=t(14308).IteratorPrototype,r=t(64121),n=t(33962),a=t(72714),s=t(3803),i=function(){return this};o.exports=function(u,f,l){var d=f+" Iterator";return u.prototype=r(e,{next:n(1,l)}),a(u,d,!1,!0),s[d]=i,u}},65827:function(o,c,t){var e=t(40857),r=t(29017),n=t(33962);o.exports=e?function(a,s,i){return r.f(a,s,n(1,i))}:function(a,s,i){return a[s]=i,a}},33962:function(o){o.exports=function(c,t){return{enumerable:!(1&c),configurable:!(2&c),writable:!(4&c),value:t}}},51823:function(o,c,t){"use strict";var e=t(60720),r=t(29017),n=t(33962);o.exports=function(a,s,i){var u=e(s);u in a?r.f(a,u,n(0,i)):a[u]=i}},61362:function(o,c,t){"use strict";var e=t(58889),r=t(58708).start,n=Math.abs,a=Date.prototype,s=a.getTime,i=a.toISOString;o.exports=e(function(){return"0385-07-25T07:06:39.999Z"!=i.call(new Date(-50000000000001))})||!e(function(){i.call(new Date(NaN))})?function(){if(!isFinite(s.call(this)))throw RangeError("Invalid time value");var f=this,l=f.getUTCFullYear(),d=f.getUTCMilliseconds(),h=l<0?"-":l>9999?"+":"";return h+r(n(l),h?6:4,0)+"-"+r(f.getUTCMonth()+1,2,0)+"-"+r(f.getUTCDate(),2,0)+"T"+r(f.getUTCHours(),2,0)+":"+r(f.getUTCMinutes(),2,0)+":"+r(f.getUTCSeconds(),2,0)+"."+r(d,3,0)+"Z"}:i},67070:function(o,c,t){"use strict";var e=t(68485),r=t(70846);o.exports=function(n){if(e(this),"string"===n||"default"===n)n="string";else if("number"!==n)throw TypeError("Incorrect hint");return r(this,n)}},13402:function(o,c,t){"use strict";var e=t(80795),r=t(9082),n=t(19945),a=t(90965),s=t(72714),i=t(65827),u=t(60597),f=t(93636),l=t(65476),d=t(3803),h=t(14308),m=h.IteratorPrototype,I=h.BUGGY_SAFARI_ITERATORS,v=f("iterator"),E="keys",g="values",P="entries",y=function(){return this};o.exports=function(p,S,O,T,j,x,M){r(O,S,T);var b,U,Z,C=function(W){if(W===j&&Y)return Y;if(!I&&W in at)return at[W];switch(W){case E:case g:case P:return function(){return new O(this,W)}}return function(){return new O(this)}},w=S+" Iterator",V=!1,at=p.prototype,nt=at[v]||at["@@iterator"]||j&&at[j],Y=!I&&nt||C(j),N="Array"==S&&at.entries||nt;if(N&&(b=n(N.call(new p)),m!==Object.prototype&&b.next&&(!l&&n(b)!==m&&(a?a(b,m):"function"!=typeof b[v]&&i(b,v,y)),s(b,w,!0,!0),l&&(d[w]=y))),j==g&&nt&&nt.name!==g&&(V=!0,Y=function(){return nt.call(this)}),(!l||M)&&at[v]!==Y&&i(at,v,Y),d[S]=Y,j)if(U={values:C(g),keys:x?Y:C(E),entries:C(P)},M)for(Z in U)(I||V||!(Z in at))&&u(at,Z,U[Z]);else e({target:S,proto:!0,forced:I||V},U);return U}},20929:function(o,c,t){var e=t(41071),r=t(25774),n=t(66301),a=t(29017).f;o.exports=function(s){var i=e.Symbol||(e.Symbol={});r(i,s)||a(i,s,{value:n.f(s)})}},40857:function(o,c,t){var e=t(58889);o.exports=!e(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},30604:function(o,c,t){var e=t(25913),r=t(80285),n=e.document,a=r(n)&&r(n.createElement);o.exports=function(s){return a?n.createElement(s):{}}},29291:function(o){o.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},6985:function(o,c,t){var r=t(76444).match(/firefox\/(\d+)/i);o.exports=!!r&&+r[1]},23464:function(o){o.exports="object"==typeof window},43316:function(o,c,t){var e=t(76444);o.exports=/MSIE|Trident/.test(e)},71407:function(o,c,t){var e=t(76444);o.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(e)},7746:function(o,c,t){var e=t(45507),r=t(25913);o.exports="process"==e(r.process)},27610:function(o,c,t){var e=t(76444);o.exports=/web0s(?!.*chrome)/i.test(e)},76444:function(o,c,t){var e=t(95235);o.exports=e("navigator","userAgent")||""},32046:function(o,c,t){var u,f,e=t(25913),r=t(76444),n=e.process,a=e.Deno,s=n&&n.versions||a&&a.version,i=s&&s.v8;i?f=(u=i.split("."))[0]<4?1:u[0]+u[1]:r&&(!(u=r.match(/Edge\/(\d+)/))||u[1]>=74)&&(u=r.match(/Chrome\/(\d+)/))&&(f=u[1]),o.exports=f&&+f},76075:function(o,c,t){var r=t(76444).match(/AppleWebKit\/(\d+)\./);o.exports=!!r&&+r[1]},43387:function(o){o.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},80795:function(o,c,t){var e=t(25913),r=t(78866).f,n=t(65827),a=t(60597),s=t(18120),i=t(83888),u=t(29199);o.exports=function(f,l){var v,E,g,P,y,d=f.target,h=f.global,m=f.stat;if(v=h?e:m?e[d]||s(d,{}):(e[d]||{}).prototype)for(E in l){if(P=l[E],g=f.noTargetGet?(y=r(v,E))&&y.value:v[E],!u(h?E:d+(m?".":"#")+E,f.forced)&&void 0!==g){if(typeof P==typeof g)continue;i(P,g)}(f.sham||g&&g.sham)&&n(P,"sham",!0),a(v,E,P,f)}}},58889:function(o){o.exports=function(c){try{return!!c()}catch(t){return!0}}},29079:function(o,c,t){"use strict";t(45447);var e=t(60597),r=t(23848),n=t(58889),a=t(93636),s=t(65827),i=a("species"),u=RegExp.prototype;o.exports=function(f,l,d,h){var m=a(f),I=!n(function(){var P={};return P[m]=function(){return 7},7!=""[f](P)}),v=I&&!n(function(){var P=!1,y=/a/;return"split"===f&&((y={}).constructor={},y.constructor[i]=function(){return y},y.flags="",y[m]=/./[m]),y.exec=function(){return P=!0,null},y[m](""),!P});if(!I||!v||d){var E=/./[m],g=l(m,""[f],function(P,y,p,S,O){var T=y.exec;return T===r||T===u.exec?I&&!O?{done:!0,value:E.call(y,p,S)}:{done:!0,value:P.call(p,y,S)}:{done:!1}});e(String.prototype,f,g[0]),e(u,m,g[1])}h&&s(u[m],"sham",!0)}},54162:function(o,c,t){"use strict";var e=t(49975),r=t(46681),n=t(96935),a=function(s,i,u,f,l,d,h,m){for(var g,I=l,v=0,E=!!h&&n(h,m,3);v<f;){if(v in u){if(g=E?E(u[v],v,i):u[v],d>0&&e(g))I=a(s,i,g,r(g.length),I,d-1)-1;else{if(I>=9007199254740991)throw TypeError("Exceed the acceptable array length");s[I]=g}I++}v++}return I};o.exports=a},71305:function(o,c,t){var e=t(58889);o.exports=!e(function(){return Object.isExtensible(Object.preventExtensions({}))})},96935:function(o,c,t){var e=t(69566);o.exports=function(r,n,a){if(e(r),void 0===n)return r;switch(a){case 0:return function(){return r.call(n)};case 1:return function(s){return r.call(n,s)};case 2:return function(s,i){return r.call(n,s,i)};case 3:return function(s,i,u){return r.call(n,s,i,u)}}return function(){return r.apply(n,arguments)}}},75857:function(o,c,t){"use strict";var e=t(69566),r=t(80285),n=[].slice,a={},s=function(i,u,f){if(!(u in a)){for(var l=[],d=0;d<u;d++)l[d]="a["+d+"]";a[u]=Function("C,a","return new C("+l.join(",")+")")}return a[u](i,f)};o.exports=Function.bind||function(u){var f=e(this),l=n.call(arguments,1),d=function(){var m=l.concat(n.call(arguments));return this instanceof d?s(f,m.length,m):f.apply(u,m)};return r(f.prototype)&&(d.prototype=f.prototype),d}},95235:function(o,c,t){var e=t(25913),r=function(n){return"function"==typeof n?n:void 0};o.exports=function(n,a){return arguments.length<2?r(e[n]):e[n]&&e[n][a]}},45149:function(o,c,t){var e=t(87059),r=t(3803),a=t(93636)("iterator");o.exports=function(s){if(null!=s)return s[a]||s["@@iterator"]||r[e(s)]}},70894:function(o,c,t){var e=t(64132),r=Math.floor,n="".replace,a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;o.exports=function(i,u,f,l,d,h){var m=f+i.length,I=l.length,v=s;return void 0!==d&&(d=e(d),v=a),n.call(h,v,function(E,g){var P;switch(g.charAt(0)){case"$":return"$";case"&":return i;case"`":return u.slice(0,f);case"'":return u.slice(m);case"<":P=d[g.slice(1,-1)];break;default:var y=+g;if(0===y)return E;if(y>I){var p=r(y/10);return 0===p?E:p<=I?void 0===l[p-1]?g.charAt(1):l[p-1]+g.charAt(1):E}P=l[y-1]}return void 0===P?"":P})}},25913:function(o){var c=function(t){return t&&t.Math==Math&&t};o.exports=c("object"==typeof globalThis&&globalThis)||c("object"==typeof window&&window)||c("object"==typeof self&&self)||c("object"==typeof global&&global)||function(){return this}()||Function("return this")()},25774:function(o,c,t){var e=t(64132),r={}.hasOwnProperty;o.exports=Object.hasOwn||function(a,s){return r.call(e(a),s)}},13748:function(o){o.exports={}},22933:function(o,c,t){var e=t(25913);o.exports=function(r,n){var a=e.console;a&&a.error&&(1===arguments.length?a.error(r):a.error(r,n))}},20380:function(o,c,t){var e=t(95235);o.exports=e("document","documentElement")},47982:function(o,c,t){var e=t(40857),r=t(58889),n=t(30604);o.exports=!e&&!r(function(){return 7!=Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})},36994:function(o,c,t){var e=t(58889),r=t(45507),n="".split;o.exports=e(function(){return!Object("z").propertyIsEnumerable(0)})?function(a){return"String"==r(a)?n.call(a,""):Object(a)}:Object},32155:function(o,c,t){var e=t(80285),r=t(90965);o.exports=function(n,a,s){var i,u;return r&&"function"==typeof(i=a.constructor)&&i!==s&&e(u=i.prototype)&&u!==s.prototype&&r(n,u),n}},533:function(o,c,t){var e=t(67238),r=Function.toString;"function"!=typeof e.inspectSource&&(e.inspectSource=function(n){return r.call(n)}),o.exports=e.inspectSource},11389:function(o,c,t){var e=t(80795),r=t(13748),n=t(80285),a=t(25774),s=t(29017).f,i=t(65529),u=t(78474),f=t(37709),l=t(71305),d=!1,h=f("meta"),m=0,I=Object.isExtensible||function(){return!0},v=function(S){s(S,h,{value:{objectID:"O"+m++,weakData:{}}})},p=o.exports={enable:function(){p.enable=function(){},d=!0;var S=i.f,O=[].splice,T={};T[h]=1,S(T).length&&(i.f=function(j){for(var x=S(j),M=0,C=x.length;M<C;M++)if(x[M]===h){O.call(x,M,1);break}return x},e({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:u.f}))},fastKey:function(S,O){if(!n(S))return"symbol"==typeof S?S:("string"==typeof S?"S":"P")+S;if(!a(S,h)){if(!I(S))return"F";if(!O)return"E";v(S)}return S[h].objectID},getWeakData:function(S,O){if(!a(S,h)){if(!I(S))return!0;if(!O)return!1;v(S)}return S[h].weakData},onFreeze:function(S){return l&&d&&I(S)&&!a(S,h)&&v(S),S}};r[h]=!0},62100:function(o,c,t){var h,m,I,e=t(19411),r=t(25913),n=t(80285),a=t(65827),s=t(25774),i=t(67238),u=t(19344),f=t(13748),l="Object already initialized";if(e||i.state){var g=i.state||(i.state=new(0,r.WeakMap)),P=g.get,y=g.has,p=g.set;h=function(O,T){if(y.call(g,O))throw new TypeError(l);return T.facade=O,p.call(g,O,T),T},m=function(O){return P.call(g,O)||{}},I=function(O){return y.call(g,O)}}else{var S=u("state");f[S]=!0,h=function(O,T){if(s(O,S))throw new TypeError(l);return T.facade=O,a(O,S,T),T},m=function(O){return s(O,S)?O[S]:{}},I=function(O){return s(O,S)}}o.exports={set:h,get:m,has:I,enforce:function(O){return I(O)?m(O):h(O,{})},getterFor:function(O){return function(T){var j;if(!n(T)||(j=m(T)).type!==O)throw TypeError("Incompatible receiver, "+O+" required");return j}}}},86778:function(o,c,t){var e=t(93636),r=t(3803),n=e("iterator"),a=Array.prototype;o.exports=function(s){return void 0!==s&&(r.Array===s||a[n]===s)}},49975:function(o,c,t){var e=t(45507);o.exports=Array.isArray||function(n){return"Array"==e(n)}},29199:function(o,c,t){var e=t(58889),r=/#|\.prototype\./,n=function(f,l){var d=s[a(f)];return d==u||d!=i&&("function"==typeof l?e(l):!!l)},a=n.normalize=function(f){return String(f).replace(r,".").toLowerCase()},s=n.data={},i=n.NATIVE="N",u=n.POLYFILL="P";o.exports=n},42488:function(o,c,t){var e=t(80285),r=Math.floor;o.exports=function(a){return!e(a)&&isFinite(a)&&r(a)===a}},80285:function(o){o.exports=function(c){return"object"==typeof c?null!==c:"function"==typeof c}},65476:function(o){o.exports=!1},89798:function(o,c,t){var e=t(80285),r=t(45507),a=t(93636)("match");o.exports=function(s){var i;return e(s)&&(void 0!==(i=s[a])?!!i:"RegExp"==r(s))}},11474:function(o,c,t){var e=t(95235),r=t(98881);o.exports=r?function(n){return"symbol"==typeof n}:function(n){var a=e("Symbol");return"function"==typeof a&&Object(n)instanceof a}},20018:function(o,c,t){var e=t(68485),r=t(86778),n=t(46681),a=t(96935),s=t(45149),i=t(11626),u=function(f,l){this.stopped=f,this.result=l};o.exports=function(f,l,d){var g,P,y,p,S,O,T,m=!(!d||!d.AS_ENTRIES),I=!(!d||!d.IS_ITERATOR),v=!(!d||!d.INTERRUPTED),E=a(l,d&&d.that,1+m+v),j=function(M){return g&&i(g),new u(!0,M)},x=function(M){return m?(e(M),v?E(M[0],M[1],j):E(M[0],M[1])):v?E(M,j):E(M)};if(I)g=f;else{if("function"!=typeof(P=s(f)))throw TypeError("Target is not iterable");if(r(P)){for(y=0,p=n(f.length);p>y;y++)if((S=x(f[y]))&&S instanceof u)return S;return new u(!1)}g=P.call(f)}for(O=g.next;!(T=O.call(g)).done;){try{S=x(T.value)}catch(M){throw i(g),M}if("object"==typeof S&&S&&S instanceof u)return S}return new u(!1)}},11626:function(o,c,t){var e=t(68485);o.exports=function(r){var n=r.return;if(void 0!==n)return e(n.call(r)).value}},14308:function(o,c,t){"use strict";var d,h,m,e=t(58889),r=t(19945),n=t(65827),a=t(25774),s=t(93636),i=t(65476),u=s("iterator"),f=!1;[].keys&&("next"in(m=[].keys())?(h=r(r(m)))!==Object.prototype&&(d=h):f=!0);var I=null==d||e(function(){var v={};return d[u].call(v)!==v});I&&(d={}),(!i||I)&&!a(d,u)&&n(d,u,function(){return this}),o.exports={IteratorPrototype:d,BUGGY_SAFARI_ITERATORS:f}},3803:function(o){o.exports={}},70229:function(o){var c=Math.expm1,t=Math.exp;o.exports=!c||c(10)>22025.465794806718||c(10)<22025.465794806718||-2e-17!=c(-2e-17)?function(r){return 0==(r=+r)?r:r>-1e-6&&r<1e-6?r+r*r/2:t(r)-1}:c},2232:function(o,c,t){var e=t(736),r=Math.abs,n=Math.pow,a=n(2,-52),s=n(2,-23),i=n(2,127)*(2-s),u=n(2,-126);o.exports=Math.fround||function(d){var I,v,h=r(d),m=e(d);return h<u?m*(h/u/s+1/a-1/a)*u*s:(v=(I=(1+s/a)*h)-(I-h))>i||v!=v?m*(1/0):m*v}},25167:function(o){var c=Math.log;o.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:c(1+e)}},736:function(o){o.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},23241:function(o,c,t){var I,v,E,g,P,y,p,S,e=t(25913),r=t(78866).f,n=t(74217).set,a=t(71407),s=t(27610),i=t(7746),u=e.MutationObserver||e.WebKitMutationObserver,f=e.document,l=e.process,d=e.Promise,h=r(e,"queueMicrotask"),m=h&&h.value;m||(I=function(){var O,T;for(i&&(O=l.domain)&&O.exit();v;){T=v.fn,v=v.next;try{T()}catch(j){throw v?g():E=void 0,j}}E=void 0,O&&O.enter()},a||i||s||!u||!f?d&&d.resolve?((p=d.resolve(void 0)).constructor=d,S=p.then,g=function(){S.call(p,I)}):g=i?function(){l.nextTick(I)}:function(){n.call(e,I)}:(P=!0,y=f.createTextNode(""),new u(I).observe(y,{characterData:!0}),g=function(){y.data=P=!P})),o.exports=m||function(O){var T={fn:O,next:void 0};E&&(E.next=T),v||(v=T,g()),E=T}},86553:function(o,c,t){var e=t(25913);o.exports=e.Promise},22738:function(o,c,t){var e=t(32046),r=t(58889);o.exports=!!Object.getOwnPropertySymbols&&!r(function(){var n=Symbol();return!String(n)||!(Object(n)instanceof Symbol)||!Symbol.sham&&e&&e<41})},19411:function(o,c,t){var e=t(25913),r=t(533),n=e.WeakMap;o.exports="function"==typeof n&&/native code/.test(r(n))},6698:function(o,c,t){"use strict";var e=t(69566),r=function(n){var a,s;this.promise=new n(function(i,u){if(void 0!==a||void 0!==s)throw TypeError("Bad Promise constructor");a=i,s=u}),this.resolve=e(a),this.reject=e(s)};o.exports.f=function(n){return new r(n)}},85822:function(o,c,t){var e=t(89798);o.exports=function(r){if(e(r))throw TypeError("The method doesn't accept regular expressions");return r}},80058:function(o,c,t){var r=t(25913).isFinite;o.exports=Number.isFinite||function(a){return"number"==typeof a&&r(a)}},64326:function(o,c,t){var e=t(25913),r=t(25654),n=t(19082).trim,a=t(29303),s=e.parseFloat,i=1/s(a+"-0")!=-1/0;o.exports=i?function(f){var l=n(r(f)),d=s(l);return 0===d&&"-"==l.charAt(0)?-0:d}:s},95240:function(o,c,t){var e=t(25913),r=t(25654),n=t(19082).trim,a=t(29303),s=e.parseInt,i=/^[+-]?0[Xx]/,u=8!==s(a+"08")||22!==s(a+"0x16");o.exports=u?function(l,d){var h=n(r(l));return s(h,d>>>0||(i.test(h)?16:10))}:s},47320:function(o,c,t){"use strict";var e=t(40857),r=t(58889),n=t(26928),a=t(46133),s=t(79185),i=t(64132),u=t(36994),f=Object.assign,l=Object.defineProperty;o.exports=!f||r(function(){if(e&&1!==f({b:1},f(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var d={},h={},m=Symbol(),I="abcdefghijklmnopqrst";return d[m]=7,I.split("").forEach(function(v){h[v]=v}),7!=f({},d)[m]||n(f({},h)).join("")!=I})?function(h,m){for(var I=i(h),v=arguments.length,E=1,g=a.f,P=s.f;v>E;)for(var T,y=u(arguments[E++]),p=g?n(y).concat(g(y)):n(y),S=p.length,O=0;S>O;)T=p[O++],(!e||P.call(y,T))&&(I[T]=y[T]);return I}:f},64121:function(o,c,t){var P,e=t(68485),r=t(6765),n=t(43387),a=t(13748),s=t(20380),i=t(30604),u=t(19344),d="prototype",h="script",m=u("IE_PROTO"),I=function(){},v=function(p){return"<"+h+">"+p+"</"+h+">"},E=function(p){p.write(v("")),p.close();var S=p.parentWindow.Object;return p=null,S},y=function(){try{P=new ActiveXObject("htmlfile")}catch(S){}y=document.domain&&P?E(P):function(){var O,p=i("iframe");if(p.style)return p.style.display="none",s.appendChild(p),p.src=String("javascript:"),(O=p.contentWindow.document).open(),O.write(v("document.F=Object")),O.close(),O.F}()||E(P);for(var p=n.length;p--;)delete y[d][n[p]];return y()};a[m]=!0,o.exports=Object.create||function(S,O){var T;return null!==S?(I[d]=e(S),T=new I,I[d]=null,T[m]=S):T=y(),void 0===O?T:r(T,O)}},6765:function(o,c,t){var e=t(40857),r=t(29017),n=t(68485),a=t(26928);o.exports=e?Object.defineProperties:function(i,u){n(i);for(var h,f=a(u),l=f.length,d=0;l>d;)r.f(i,h=f[d++],u[h]);return i}},29017:function(o,c,t){var e=t(40857),r=t(47982),n=t(68485),a=t(60720),s=Object.defineProperty;c.f=e?s:function(u,f,l){if(n(u),f=a(f),n(l),r)try{return s(u,f,l)}catch(d){}if("get"in l||"set"in l)throw TypeError("Accessors not supported");return"value"in l&&(u[f]=l.value),u}},78866:function(o,c,t){var e=t(40857),r=t(79185),n=t(33962),a=t(32580),s=t(60720),i=t(25774),u=t(47982),f=Object.getOwnPropertyDescriptor;c.f=e?f:function(d,h){if(d=a(d),h=s(h),u)try{return f(d,h)}catch(m){}if(i(d,h))return n(!r.f.call(d,h),d[h])}},78474:function(o,c,t){var e=t(32580),r=t(65529).f,n={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];o.exports.f=function(u){return a&&"[object Window]"==n.call(u)?function(i){try{return r(i)}catch(u){return a.slice()}}(u):r(e(u))}},65529:function(o,c,t){var e=t(7331),n=t(43387).concat("length","prototype");c.f=Object.getOwnPropertyNames||function(s){return e(s,n)}},46133:function(o,c){c.f=Object.getOwnPropertySymbols},19945:function(o,c,t){var e=t(25774),r=t(64132),n=t(19344),a=t(31619),s=n("IE_PROTO"),i=Object.prototype;o.exports=a?Object.getPrototypeOf:function(u){return u=r(u),e(u,s)?u[s]:"function"==typeof u.constructor&&u instanceof u.constructor?u.constructor.prototype:u instanceof Object?i:null}},7331:function(o,c,t){var e=t(25774),r=t(32580),n=t(8069).indexOf,a=t(13748);o.exports=function(s,i){var d,u=r(s),f=0,l=[];for(d in u)!e(a,d)&&e(u,d)&&l.push(d);for(;i.length>f;)e(u,d=i[f++])&&(~n(l,d)||l.push(d));return l}},26928:function(o,c,t){var e=t(7331),r=t(43387);o.exports=Object.keys||function(a){return e(a,r)}},79185:function(o,c){"use strict";var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!t.call({1:2},1);c.f=r?function(a){var s=e(this,a);return!!s&&s.enumerable}:t},90965:function(o,c,t){var e=t(68485),r=t(12222);o.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var s,n=!1,a={};try{(s=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(a,[]),n=a instanceof Array}catch(i){}return function(u,f){return e(u),r(f),n?s.call(u,f):u.__proto__=f,u}}():void 0)},38421:function(o,c,t){var e=t(40857),r=t(26928),n=t(32580),a=t(79185).f,s=function(i){return function(u){for(var I,f=n(u),l=r(f),d=l.length,h=0,m=[];d>h;)I=l[h++],(!e||a.call(f,I))&&m.push(i?[I,f[I]]:f[I]);return m}};o.exports={entries:s(!0),values:s(!1)}},59981:function(o,c,t){"use strict";var e=t(2754),r=t(87059);o.exports=e?{}.toString:function(){return"[object "+r(this)+"]"}},70846:function(o,c,t){var e=t(80285);o.exports=function(r,n){var a,s;if("string"===n&&"function"==typeof(a=r.toString)&&!e(s=a.call(r))||"function"==typeof(a=r.valueOf)&&!e(s=a.call(r))||"string"!==n&&"function"==typeof(a=r.toString)&&!e(s=a.call(r)))return s;throw TypeError("Can't convert object to primitive value")}},88460:function(o,c,t){var e=t(95235),r=t(65529),n=t(46133),a=t(68485);o.exports=e("Reflect","ownKeys")||function(i){var u=r.f(a(i)),f=n.f;return f?u.concat(f(i)):u}},41071:function(o,c,t){var e=t(25913);o.exports=e},45034:function(o){o.exports=function(c){try{return{error:!1,value:c()}}catch(t){return{error:!0,value:t}}}},81766:function(o,c,t){var e=t(68485),r=t(80285),n=t(6698);o.exports=function(a,s){if(e(a),r(s)&&s.constructor===a)return s;var i=n.f(a);return(0,i.resolve)(s),i.promise}},50353:function(o,c,t){var e=t(60597);o.exports=function(r,n,a){for(var s in n)e(r,s,n[s],a);return r}},60597:function(o,c,t){var e=t(25913),r=t(65827),n=t(25774),a=t(18120),s=t(533),i=t(62100),u=i.get,f=i.enforce,l=String(String).split("String");(o.exports=function(d,h,m,I){var P,v=!!I&&!!I.unsafe,E=!!I&&!!I.enumerable,g=!!I&&!!I.noTargetGet;"function"==typeof m&&("string"==typeof h&&!n(m,"name")&&r(m,"name",h),(P=f(m)).source||(P.source=l.join("string"==typeof h?h:""))),d!==e?(v?!g&&d[h]&&(E=!0):delete d[h],E?d[h]=m:r(d,h,m)):E?d[h]=m:a(h,m)})(Function.prototype,"toString",function(){return"function"==typeof this&&u(this).source||s(this)})},31911:function(o,c,t){var e=t(45507),r=t(23848);o.exports=function(n,a){var s=n.exec;if("function"==typeof s){var i=s.call(n,a);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==e(n))throw TypeError("RegExp#exec called on incompatible receiver");return r.call(n,a)}},23848:function(o,c,t){"use strict";var g,P,e=t(25654),r=t(64593),n=t(98824),a=t(41582),s=t(64121),i=t(62100).get,u=t(78288),f=t(9410),l=RegExp.prototype.exec,d=a("native-string-replace",String.prototype.replace),h=l,m=(P=/b*/g,l.call(g=/a/,"a"),l.call(P,"a"),0!==g.lastIndex||0!==P.lastIndex),I=n.UNSUPPORTED_Y||n.BROKEN_CARET,v=void 0!==/()??/.exec("")[1];(m||v||I||u||f)&&(h=function(P){var T,j,x,M,C,w,V,y=this,p=i(y),S=e(P),O=p.raw;if(O)return O.lastIndex=y.lastIndex,T=h.call(O,S),y.lastIndex=O.lastIndex,T;var at=p.groups,nt=I&&y.sticky,Y=r.call(y),N=y.source,b=0,U=S;if(nt&&(-1===(Y=Y.replace("y","")).indexOf("g")&&(Y+="g"),U=S.slice(y.lastIndex),y.lastIndex>0&&(!y.multiline||y.multiline&&"\n"!==S.charAt(y.lastIndex-1))&&(N="(?: "+N+")",U=" "+U,b++),j=new RegExp("^(?:"+N+")",Y)),v&&(j=new RegExp("^"+N+"$(?!\\s)",Y)),m&&(x=y.lastIndex),M=l.call(nt?j:y,U),nt?M?(M.input=M.input.slice(b),M[0]=M[0].slice(b),M.index=y.lastIndex,y.lastIndex+=M[0].length):y.lastIndex=0:m&&M&&(y.lastIndex=y.global?M.index+M[0].length:x),v&&M&&M.length>1&&d.call(M[0],j,function(){for(C=1;C<arguments.length-2;C++)void 0===arguments[C]&&(M[C]=void 0)}),M&&at)for(M.groups=w=s(null),C=0;C<at.length;C++)w[(V=at[C])[0]]=M[V[1]];return M}),o.exports=h},64593:function(o,c,t){"use strict";var e=t(68485);o.exports=function(){var r=e(this),n="";return r.global&&(n+="g"),r.ignoreCase&&(n+="i"),r.multiline&&(n+="m"),r.dotAll&&(n+="s"),r.unicode&&(n+="u"),r.sticky&&(n+="y"),n}},98824:function(o,c,t){var e=t(58889),r=function(n,a){return RegExp(n,a)};c.UNSUPPORTED_Y=e(function(){var n=r("a","y");return n.lastIndex=2,null!=n.exec("abcd")}),c.BROKEN_CARET=e(function(){var n=r("^r","gy");return n.lastIndex=2,null!=n.exec("str")})},78288:function(o,c,t){var e=t(58889);o.exports=e(function(){var r=RegExp(".","string".charAt(0));return!(r.dotAll&&r.exec("\n")&&"s"===r.flags)})},9410:function(o,c,t){var e=t(58889);o.exports=e(function(){var r=RegExp("(?<a>b)","string".charAt(5));return"b"!==r.exec("b").groups.a||"bc"!=="b".replace(r,"$<a>c")})},48820:function(o){o.exports=function(c){if(null==c)throw TypeError("Can't call method on "+c);return c}},91562:function(o){o.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},18120:function(o,c,t){var e=t(25913);o.exports=function(r,n){try{Object.defineProperty(e,r,{value:n,configurable:!0,writable:!0})}catch(a){e[r]=n}return n}},11471:function(o,c,t){"use strict";var e=t(95235),r=t(29017),n=t(93636),a=t(40857),s=n("species");o.exports=function(i){var u=e(i);a&&u&&!u[s]&&(0,r.f)(u,s,{configurable:!0,get:function(){return this}})}},72714:function(o,c,t){var e=t(29017).f,r=t(25774),a=t(93636)("toStringTag");o.exports=function(s,i,u){s&&!r(s=u?s:s.prototype,a)&&e(s,a,{configurable:!0,value:i})}},19344:function(o,c,t){var e=t(41582),r=t(37709),n=e("keys");o.exports=function(a){return n[a]||(n[a]=r(a))}},67238:function(o,c,t){var e=t(25913),r=t(18120),n="__core-js_shared__",a=e[n]||r(n,{});o.exports=a},41582:function(o,c,t){var e=t(65476),r=t(67238);(o.exports=function(n,a){return r[n]||(r[n]=void 0!==a?a:{})})("versions",[]).push({version:"3.16.0",mode:e?"pure":"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})},3162:function(o,c,t){var e=t(68485),r=t(69566),a=t(93636)("species");o.exports=function(s,i){var f,u=e(s).constructor;return void 0===u||null==(f=e(u)[a])?i:r(f)}},72341:function(o,c,t){var e=t(58889);o.exports=function(r){return e(function(){var n=""[r]('"');return n!==n.toLowerCase()||n.split('"').length>3})}},8271:function(o,c,t){var e=t(27543),r=t(25654),n=t(48820),a=function(s){return function(i,u){var h,m,f=r(n(i)),l=e(u),d=f.length;return l<0||l>=d?s?"":void 0:(h=f.charCodeAt(l))<55296||h>56319||l+1===d||(m=f.charCodeAt(l+1))<56320||m>57343?s?f.charAt(l):h:s?f.slice(l,l+2):m-56320+(h-55296<<10)+65536}};o.exports={codeAt:a(!1),charAt:a(!0)}},58708:function(o,c,t){var e=t(46681),r=t(25654),n=t(52204),a=t(48820),s=Math.ceil,i=function(u){return function(f,l,d){var E,g,h=r(a(f)),m=h.length,I=void 0===d?" ":r(d),v=e(l);return v<=m||""==I?h:((g=n.call(I,s((E=v-m)/I.length))).length>E&&(g=g.slice(0,E)),u?h+g:g+h)}};o.exports={start:i(!1),end:i(!0)}},52204:function(o,c,t){"use strict";var e=t(27543),r=t(25654),n=t(48820);o.exports=function(s){var i=r(n(this)),u="",f=e(s);if(f<0||f==1/0)throw RangeError("Wrong number of repetitions");for(;f>0;(f>>>=1)&&(i+=i))1&f&&(u+=i);return u}},91611:function(o,c,t){var e=t(58889),r=t(29303);o.exports=function(a){return e(function(){return!!r[a]()||"\u200b\x85\u180e"!="\u200b\x85\u180e"[a]()||r[a].name!==a})}},19082:function(o,c,t){var e=t(48820),r=t(25654),a="["+t(29303)+"]",s=RegExp("^"+a+a+"*"),i=RegExp(a+a+"*$"),u=function(f){return function(l){var d=r(e(l));return 1&f&&(d=d.replace(s,"")),2&f&&(d=d.replace(i,"")),d}};o.exports={start:u(1),end:u(2),trim:u(3)}},74217:function(o,c,t){var g,P,y,p,e=t(25913),r=t(58889),n=t(96935),a=t(20380),s=t(30604),i=t(71407),u=t(7746),f=e.setImmediate,l=e.clearImmediate,d=e.process,h=e.MessageChannel,m=e.Dispatch,I=0,v={},E="onreadystatechange";try{g=e.location}catch(x){}var S=function(x){if(v.hasOwnProperty(x)){var M=v[x];delete v[x],M()}},O=function(x){return function(){S(x)}},T=function(x){S(x.data)},j=function(x){e.postMessage(String(x),g.protocol+"//"+g.host)};(!f||!l)&&(f=function(M){for(var C=[],w=arguments.length,V=1;w>V;)C.push(arguments[V++]);return v[++I]=function(){("function"==typeof M?M:Function(M)).apply(void 0,C)},P(I),I},l=function(M){delete v[M]},u?P=function(x){d.nextTick(O(x))}:m&&m.now?P=function(x){m.now(O(x))}:h&&!i?(p=(y=new h).port2,y.port1.onmessage=T,P=n(p.postMessage,p,1)):e.addEventListener&&"function"==typeof postMessage&&!e.importScripts&&g&&"file:"!==g.protocol&&!r(j)?(P=j,e.addEventListener("message",T,!1)):P=E in s("script")?function(x){a.appendChild(s("script"))[E]=function(){a.removeChild(this),S(x)}}:function(x){setTimeout(O(x),0)}),o.exports={set:f,clear:l}},9120:function(o,c,t){var e=t(45507);o.exports=function(r){if("number"!=typeof r&&"Number"!=e(r))throw TypeError("Incorrect invocation");return+r}},30581:function(o,c,t){var e=t(27543),r=Math.max,n=Math.min;o.exports=function(a,s){var i=e(a);return i<0?r(i+s,0):n(i,s)}},32580:function(o,c,t){var e=t(36994),r=t(48820);o.exports=function(n){return e(r(n))}},27543:function(o){var c=Math.ceil,t=Math.floor;o.exports=function(e){return isNaN(e=+e)?0:(e>0?t:c)(e)}},46681:function(o,c,t){var e=t(27543),r=Math.min;o.exports=function(n){return n>0?r(e(n),9007199254740991):0}},64132:function(o,c,t){var e=t(48820);o.exports=function(r){return Object(e(r))}},43130:function(o,c,t){var e=t(80285),r=t(11474),n=t(70846),s=t(93636)("toPrimitive");o.exports=function(i,u){if(!e(i)||r(i))return i;var l,f=i[s];if(void 0!==f){if(void 0===u&&(u="default"),l=f.call(i,u),!e(l)||r(l))return l;throw TypeError("Can't convert object to primitive value")}return void 0===u&&(u="number"),n(i,u)}},60720:function(o,c,t){var e=t(43130),r=t(11474);o.exports=function(n){var a=e(n,"string");return r(a)?a:String(a)}},2754:function(o,c,t){var n={};n[t(93636)("toStringTag")]="z",o.exports="[object z]"===String(n)},25654:function(o,c,t){var e=t(11474);o.exports=function(r){if(e(r))throw TypeError("Cannot convert a Symbol value to a string");return String(r)}},37709:function(o){var c=0,t=Math.random();o.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++c+t).toString(36)}},98881:function(o,c,t){var e=t(22738);o.exports=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},66301:function(o,c,t){var e=t(93636);c.f=e},93636:function(o,c,t){var e=t(25913),r=t(41582),n=t(25774),a=t(37709),s=t(22738),i=t(98881),u=r("wks"),f=e.Symbol,l=i?f:f&&f.withoutSetter||a;o.exports=function(d){return(!n(u,d)||!(s||"string"==typeof u[d]))&&(u[d]=s&&n(f,d)?f[d]:l("Symbol."+d)),u[d]}},29303:function(o){o.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},96886:function(o,c,t){"use strict";var e=t(80795),r=t(58889),n=t(49975),a=t(80285),s=t(64132),i=t(46681),u=t(51823),f=t(77192),l=t(60551),d=t(93636),h=t(32046),m=d("isConcatSpreadable"),I=9007199254740991,v="Maximum allowed index exceeded",E=h>=51||!r(function(){var p=[];return p[m]=!1,p.concat()[0]!==p}),g=l("concat"),P=function(p){if(!a(p))return!1;var S=p[m];return void 0!==S?!!S:n(p)};e({target:"Array",proto:!0,forced:!E||!g},{concat:function(S){var x,M,C,w,V,O=s(this),T=f(O,0),j=0;for(x=-1,C=arguments.length;x<C;x++)if(P(V=-1===x?O:arguments[x])){if(j+(w=i(V.length))>I)throw TypeError(v);for(M=0;M<w;M++,j++)M in V&&u(T,j,V[M])}else{if(j>=I)throw TypeError(v);u(T,j++,V)}return T.length=j,T}})},81448:function(o,c,t){var e=t(80795),r=t(61969),n=t(68756);e({target:"Array",proto:!0},{copyWithin:r}),n("copyWithin")},4440:function(o,c,t){"use strict";var e=t(80795),r=t(43887).every;e({target:"Array",proto:!0,forced:!t(48561)("every")},{every:function(i){return r(this,i,arguments.length>1?arguments[1]:void 0)}})},87269:function(o,c,t){var e=t(80795),r=t(25771),n=t(68756);e({target:"Array",proto:!0},{fill:r}),n("fill")},67610:function(o,c,t){"use strict";var e=t(80795),r=t(43887).filter;e({target:"Array",proto:!0,forced:!t(60551)("filter")},{filter:function(i){return r(this,i,arguments.length>1?arguments[1]:void 0)}})},25525:function(o,c,t){"use strict";var e=t(80795),r=t(43887).findIndex,n=t(68756),a="findIndex",s=!0;a in[]&&Array(1)[a](function(){s=!1}),e({target:"Array",proto:!0,forced:s},{findIndex:function(u){return r(this,u,arguments.length>1?arguments[1]:void 0)}}),n(a)},77237:function(o,c,t){"use strict";var e=t(80795),r=t(43887).find,n=t(68756),a="find",s=!0;a in[]&&Array(1)[a](function(){s=!1}),e({target:"Array",proto:!0,forced:s},{find:function(u){return r(this,u,arguments.length>1?arguments[1]:void 0)}}),n(a)},77803:function(o,c,t){"use strict";var e=t(80795),r=t(54162),n=t(64132),a=t(46681),s=t(69566),i=t(77192);e({target:"Array",proto:!0},{flatMap:function(f){var h,l=n(this),d=a(l.length);return s(f),(h=i(l,0)).length=r(h,l,l,d,0,1,f,arguments.length>1?arguments[1]:void 0),h}})},19259:function(o,c,t){"use strict";var e=t(80795),r=t(54162),n=t(64132),a=t(46681),s=t(27543),i=t(77192);e({target:"Array",proto:!0},{flat:function(){var f=arguments.length?arguments[0]:void 0,l=n(this),d=a(l.length),h=i(l,0);return h.length=r(h,l,l,d,0,void 0===f?1:s(f)),h}})},79470:function(o,c,t){"use strict";var e=t(80795),r=t(84875);e({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},1711:function(o,c,t){var e=t(80795),r=t(81690);e({target:"Array",stat:!0,forced:!t(62749)(function(s){Array.from(s)})},{from:r})},53416:function(o,c,t){"use strict";var e=t(80795),r=t(8069).includes,n=t(68756);e({target:"Array",proto:!0},{includes:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),n("includes")},79562:function(o,c,t){"use strict";var e=t(80795),r=t(8069).indexOf,n=t(48561),a=[].indexOf,s=!!a&&1/[1].indexOf(1,-0)<0,i=n("indexOf");e({target:"Array",proto:!0,forced:s||!i},{indexOf:function(f){return s?a.apply(this,arguments)||0:r(this,f,arguments.length>1?arguments[1]:void 0)}})},71007:function(o,c,t){t(80795)({target:"Array",stat:!0},{isArray:t(49975)})},63639:function(o,c,t){"use strict";var e=t(32580),r=t(68756),n=t(3803),a=t(62100),s=t(13402),i="Array Iterator",u=a.set,f=a.getterFor(i);o.exports=s(Array,"Array",function(l,d){u(this,{type:i,target:e(l),index:0,kind:d})},function(){var l=f(this),d=l.target,h=l.kind,m=l.index++;return!d||m>=d.length?(l.target=void 0,{value:void 0,done:!0}):"keys"==h?{value:m,done:!1}:"values"==h?{value:d[m],done:!1}:{value:[m,d[m]],done:!1}},"values"),n.Arguments=n.Array,r("keys"),r("values"),r("entries")},37319:function(o,c,t){"use strict";var e=t(80795),r=t(36994),n=t(32580),a=t(48561),s=[].join,i=r!=Object,u=a("join",",");e({target:"Array",proto:!0,forced:i||!u},{join:function(l){return s.call(n(this),void 0===l?",":l)}})},72639:function(o,c,t){var e=t(80795),r=t(63715);e({target:"Array",proto:!0,forced:r!==[].lastIndexOf},{lastIndexOf:r})},41177:function(o,c,t){"use strict";var e=t(80795),r=t(43887).map;e({target:"Array",proto:!0,forced:!t(60551)("map")},{map:function(i){return r(this,i,arguments.length>1?arguments[1]:void 0)}})},56424:function(o,c,t){"use strict";var e=t(80795),r=t(58889),n=t(51823);e({target:"Array",stat:!0,forced:r(function(){function s(){}return!(Array.of.call(s)instanceof s)})},{of:function(){for(var i=0,u=arguments.length,f=new("function"==typeof this?this:Array)(u);u>i;)n(f,i,arguments[i++]);return f.length=u,f}})},31440:function(o,c,t){"use strict";var e=t(80795),r=t(11241).right,n=t(48561),a=t(32046),s=t(7746);e({target:"Array",proto:!0,forced:!n("reduceRight")||!s&&a>79&&a<83},{reduceRight:function(l){return r(this,l,arguments.length,arguments.length>1?arguments[1]:void 0)}})},47422:function(o,c,t){"use strict";var e=t(80795),r=t(11241).left,n=t(48561),a=t(32046),s=t(7746);e({target:"Array",proto:!0,forced:!n("reduce")||!s&&a>79&&a<83},{reduce:function(l){return r(this,l,arguments.length,arguments.length>1?arguments[1]:void 0)}})},27761:function(o,c,t){"use strict";var e=t(80795),r=t(80285),n=t(49975),a=t(30581),s=t(46681),i=t(32580),u=t(51823),f=t(93636),d=t(60551)("slice"),h=f("species"),m=[].slice,I=Math.max;e({target:"Array",proto:!0,forced:!d},{slice:function(E,g){var O,T,j,P=i(this),y=s(P.length),p=a(E,y),S=a(void 0===g?y:g,y);if(n(P)&&("function"!=typeof(O=P.constructor)||O!==Array&&!n(O.prototype)?r(O)&&null===(O=O[h])&&(O=void 0):O=void 0,O===Array||void 0===O))return m.call(P,p,S);for(T=new(void 0===O?Array:O)(I(S-p,0)),j=0;p<S;p++,j++)p in P&&u(T,j,P[p]);return T.length=j,T}})},26863:function(o,c,t){"use strict";var e=t(80795),r=t(43887).some;e({target:"Array",proto:!0,forced:!t(48561)("some")},{some:function(i){return r(this,i,arguments.length>1?arguments[1]:void 0)}})},6102:function(o,c,t){"use strict";var e=t(80795),r=t(69566),n=t(64132),a=t(46681),s=t(25654),i=t(58889),u=t(93483),f=t(48561),l=t(6985),d=t(43316),h=t(32046),m=t(76075),I=[],v=I.sort,E=i(function(){I.sort(void 0)}),g=i(function(){I.sort(null)}),P=f("sort"),y=!i(function(){if(h)return h<70;if(!(l&&l>3)){if(d)return!0;if(m)return m<603;var T,j,x,M,O="";for(T=65;T<76;T++){switch(j=String.fromCharCode(T),T){case 66:case 69:case 70:case 72:x=3;break;case 68:case 71:x=4;break;default:x=2}for(M=0;M<47;M++)I.push({k:j+M,v:x})}for(I.sort(function(C,w){return w.v-C.v}),M=0;M<I.length;M++)j=I[M].k.charAt(0),O.charAt(O.length-1)!==j&&(O+=j);return"DGBEFHACIJK"!==O}});e({target:"Array",proto:!0,forced:E||!g||!P||!y},{sort:function(T){void 0!==T&&r(T);var j=n(this);if(y)return void 0===T?v.call(j):v.call(j,T);var C,w,x=[],M=a(j.length);for(w=0;w<M;w++)w in j&&x.push(j[w]);for(C=(x=u(x,function(O){return function(T,j){return void 0===j?-1:void 0===T?1:void 0!==O?+O(T,j)||0:s(T)>s(j)?1:-1}}(T))).length,w=0;w<C;)j[w]=x[w++];for(;w<M;)delete j[w++];return j}})},40488:function(o,c,t){"use strict";var e=t(80795),r=t(30581),n=t(27543),a=t(46681),s=t(64132),i=t(77192),u=t(51823),l=t(60551)("splice"),d=Math.max,h=Math.min,m=9007199254740991,I="Maximum allowed length exceeded";e({target:"Array",proto:!0,forced:!l},{splice:function(E,g){var O,T,j,x,M,C,P=s(this),y=a(P.length),p=r(E,y),S=arguments.length;if(0===S?O=T=0:1===S?(O=0,T=y-p):(O=S-2,T=h(d(n(g),0),y-p)),y+O-T>m)throw TypeError(I);for(j=i(P,T),x=0;x<T;x++)(M=p+x)in P&&u(j,x,P[M]);if(j.length=T,O<T){for(x=p;x<y-T;x++)C=x+O,(M=x+T)in P?P[C]=P[M]:delete P[C];for(x=y;x>y-T+O;x--)delete P[x-1]}else if(O>T)for(x=y-T;x>p;x--)C=x+O-1,(M=x+T-1)in P?P[C]=P[M]:delete P[C];for(x=0;x<O;x++)P[x+p]=arguments[x+2];return P.length=y-T+O,j}})},59889:function(o,c,t){"use strict";var e=t(80795),n=t(58889)(function(){return 120!==new Date(16e11).getYear()}),a=Date.prototype.getFullYear;e({target:"Date",proto:!0,forced:n},{getYear:function(){return a.call(this)-1900}})},8963:function(o,c,t){t(80795)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},60145:function(o,c,t){"use strict";var e=t(80795),r=t(27543),n=Date.prototype.getTime,a=Date.prototype.setFullYear;e({target:"Date",proto:!0},{setYear:function(i){n.call(this);var u=r(i);return a.call(this,0<=u&&u<=99?u+1900:u)}})},24943:function(o,c,t){t(80795)({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},8040:function(o,c,t){var e=t(80795),r=t(61362);e({target:"Date",proto:!0,forced:Date.prototype.toISOString!==r},{toISOString:r})},22665:function(o,c,t){"use strict";var e=t(80795),r=t(58889),n=t(64132),a=t(43130);e({target:"Date",proto:!0,forced:r(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})},{toJSON:function(u){var f=n(this),l=a(f,"number");return"number"!=typeof l||isFinite(l)?f.toISOString():null}})},82972:function(o,c,t){var e=t(65827),r=t(67070),a=t(93636)("toPrimitive"),s=Date.prototype;a in s||e(s,a,r)},4209:function(o,c,t){var e=t(60597),r=Date.prototype,n="Invalid Date",a="toString",s=r[a],i=r.getTime;String(new Date(NaN))!=n&&e(r,a,function(){var f=i.call(this);return f==f?s.call(this):n})},28960:function(o,c,t){t(80795)({target:"Function",proto:!0},{bind:t(75857)})},20457:function(o,c,t){"use strict";var e=t(80285),r=t(29017),n=t(19945),s=t(93636)("hasInstance"),i=Function.prototype;s in i||r.f(i,s,{value:function(u){if("function"!=typeof this||!e(u))return!1;if(!e(this.prototype))return u instanceof this;for(;u=n(u);)if(this.prototype===u)return!0;return!1}})},48285:function(o,c,t){var e=t(40857),r=t(29017).f,n=Function.prototype,a=n.toString,s=/^\s*function ([^ (]*)/,i="name";e&&!(i in n)&&r(n,i,{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(u){return""}}})},80774:function(o,c,t){var e=t(25913);t(72714)(e.JSON,"JSON",!0)},91428:function(o,c,t){"use strict";var e=t(5518),r=t(56506);o.exports=e("Map",function(n){return function(){return n(this,arguments.length?arguments[0]:void 0)}},r)},2310:function(o,c,t){var e=t(80795),r=t(25167),n=Math.acosh,a=Math.log,s=Math.sqrt,i=Math.LN2;e({target:"Math",stat:!0,forced:!n||710!=Math.floor(n(Number.MAX_VALUE))||n(1/0)!=1/0},{acosh:function(l){return(l=+l)<1?NaN:l>94906265.62425156?a(l)+i:r(l-1+s(l-1)*s(l+1))}})},56942:function(o,c,t){var e=t(80795),r=Math.asinh,n=Math.log,a=Math.sqrt;e({target:"Math",stat:!0,forced:!(r&&1/r(0)>0)},{asinh:function s(i){return isFinite(i=+i)&&0!=i?i<0?-s(-i):n(i+a(i*i+1)):i}})},17500:function(o,c,t){var e=t(80795),r=Math.atanh,n=Math.log;e({target:"Math",stat:!0,forced:!(r&&1/r(-0)<0)},{atanh:function(s){return 0==(s=+s)?s:n((1+s)/(1-s))/2}})},76743:function(o,c,t){var e=t(80795),r=t(736),n=Math.abs,a=Math.pow;e({target:"Math",stat:!0},{cbrt:function(i){return r(i=+i)*a(n(i),1/3)}})},38651:function(o,c,t){var e=t(80795),r=Math.floor,n=Math.log,a=Math.LOG2E;e({target:"Math",stat:!0},{clz32:function(i){return(i>>>=0)?31-r(n(i+.5)*a):32}})},31070:function(o,c,t){var e=t(80795),r=t(70229),n=Math.cosh,a=Math.abs,s=Math.E;e({target:"Math",stat:!0,forced:!n||n(710)===1/0},{cosh:function(u){var f=r(a(u)-1)+1;return(f+1/(f*s*s))*(s/2)}})},45929:function(o,c,t){var e=t(80795),r=t(70229);e({target:"Math",stat:!0,forced:r!=Math.expm1},{expm1:r})},98267:function(o,c,t){t(80795)({target:"Math",stat:!0},{fround:t(2232)})},50346:function(o,c,t){var e=t(80795),r=Math.hypot,n=Math.abs,a=Math.sqrt;e({target:"Math",stat:!0,forced:!!r&&r(1/0,NaN)!==1/0},{hypot:function(u,f){for(var I,v,l=0,d=0,h=arguments.length,m=0;d<h;)m<(I=n(arguments[d++]))?(l=l*(v=m/I)*v+1,m=I):l+=I>0?(v=I/m)*v:I;return m===1/0?1/0:m*a(l)}})},32973:function(o,c,t){var e=t(80795),r=t(58889),n=Math.imul;e({target:"Math",stat:!0,forced:r(function(){return-5!=n(4294967295,5)||2!=n.length})},{imul:function(i,u){var f=65535,l=+i,d=+u,h=f&l,m=f&d;return 0|h*m+((f&l>>>16)*m+h*(f&d>>>16)<<16>>>0)}})},42017:function(o,c,t){var e=t(80795),r=Math.log,n=Math.LOG10E;e({target:"Math",stat:!0},{log10:function(s){return r(s)*n}})},46895:function(o,c,t){t(80795)({target:"Math",stat:!0},{log1p:t(25167)})},64031:function(o,c,t){var e=t(80795),r=Math.log,n=Math.LN2;e({target:"Math",stat:!0},{log2:function(s){return r(s)/n}})},93237:function(o,c,t){t(80795)({target:"Math",stat:!0},{sign:t(736)})},51641:function(o,c,t){var e=t(80795),r=t(58889),n=t(70229),a=Math.abs,s=Math.exp,i=Math.E;e({target:"Math",stat:!0,forced:r(function(){return-2e-17!=Math.sinh(-2e-17)})},{sinh:function(l){return a(l=+l)<1?(n(l)-n(-l))/2:(s(l-1)-s(-l-1))*(i/2)}})},60329:function(o,c,t){var e=t(80795),r=t(70229),n=Math.exp;e({target:"Math",stat:!0},{tanh:function(s){var i=r(s=+s),u=r(-s);return i==1/0?1:u==1/0?-1:(i-u)/(n(s)+n(-s))}})},38145:function(o,c,t){t(72714)(Math,"Math",!0)},11821:function(o,c,t){var e=t(80795),r=Math.ceil,n=Math.floor;e({target:"Math",stat:!0},{trunc:function(s){return(s>0?n:r)(s)}})},7587:function(o,c,t){"use strict";var e=t(40857),r=t(25913),n=t(29199),a=t(60597),s=t(25774),i=t(45507),u=t(32155),f=t(11474),l=t(43130),d=t(58889),h=t(64121),m=t(65529).f,I=t(78866).f,v=t(29017).f,E=t(19082).trim,g="Number",P=r[g],y=P.prototype,p=i(h(y))==g,S=function(M){if(f(M))throw TypeError("Cannot convert a Symbol value to a number");var w,V,at,nt,Y,N,b,U,C=l(M,"number");if("string"==typeof C&&C.length>2)if(43===(w=(C=E(C)).charCodeAt(0))||45===w){if(88===(V=C.charCodeAt(2))||120===V)return NaN}else if(48===w){switch(C.charCodeAt(1)){case 66:case 98:at=2,nt=49;break;case 79:case 111:at=8,nt=55;break;default:return+C}for(N=(Y=C.slice(2)).length,b=0;b<N;b++)if((U=Y.charCodeAt(b))<48||U>nt)return NaN;return parseInt(Y,at)}return+C};if(n(g,!P(" 0o1")||!P("0b1")||P("+0x1"))){for(var x,O=function(C){var w=arguments.length<1?0:C,V=this;return V instanceof O&&(p?d(function(){y.valueOf.call(V)}):i(V)!=g)?u(new P(S(w)),V,O):S(w)},T=e?m(P):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),j=0;T.length>j;j++)s(P,x=T[j])&&!s(O,x)&&v(O,x,I(P,x));O.prototype=y,y.constructor=O,a(r,g,O)}},13961:function(o,c,t){t(80795)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},47316:function(o,c,t){t(80795)({target:"Number",stat:!0},{isFinite:t(80058)})},82196:function(o,c,t){t(80795)({target:"Number",stat:!0},{isInteger:t(42488)})},93011:function(o,c,t){t(80795)({target:"Number",stat:!0},{isNaN:function(n){return n!=n}})},44693:function(o,c,t){var e=t(80795),r=t(42488),n=Math.abs;e({target:"Number",stat:!0},{isSafeInteger:function(s){return r(s)&&n(s)<=9007199254740991}})},5531:function(o,c,t){t(80795)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},66389:function(o,c,t){t(80795)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},22917:function(o,c,t){var e=t(80795),r=t(64326);e({target:"Number",stat:!0,forced:Number.parseFloat!=r},{parseFloat:r})},90543:function(o,c,t){var e=t(80795),r=t(95240);e({target:"Number",stat:!0,forced:Number.parseInt!=r},{parseInt:r})},28327:function(o,c,t){"use strict";var e=t(80795),r=t(27543),n=t(9120),a=t(52204),s=t(58889),i=1..toFixed,u=Math.floor,f=function(v,E,g){return 0===E?g:E%2==1?f(v,E-1,g*v):f(v*v,E/2,g)},d=function(v,E,g){for(var P=-1,y=g;++P<6;)v[P]=(y+=E*v[P])%1e7,y=u(y/1e7)},h=function(v,E){for(var g=6,P=0;--g>=0;)v[g]=u((P+=v[g])/E),P=P%E*1e7},m=function(v){for(var E=6,g="";--E>=0;)if(""!==g||0===E||0!==v[E]){var P=String(v[E]);g=""===g?P:g+a.call("0",7-P.length)+P}return g};e({target:"Number",proto:!0,forced:i&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s(function(){i.call({})})},{toFixed:function(E){var O,T,j,x,g=n(this),P=r(E),y=[0,0,0,0,0,0],p="",S="0";if(P<0||P>20)throw RangeError("Incorrect fraction digits");if(g!=g)return"NaN";if(g<=-1e21||g>=1e21)return String(g);if(g<0&&(p="-",g=-g),g>1e-21)if(T=(O=function(v){for(var E=0,g=v;g>=4096;)E+=12,g/=4096;for(;g>=2;)E+=1,g/=2;return E}(g*f(2,69,1))-69)<0?g*f(2,-O,1):g/f(2,O,1),T*=4503599627370496,(O=52-O)>0){for(d(y,0,T),j=P;j>=7;)d(y,1e7,0),j-=7;for(d(y,f(10,j,1),0),j=O-1;j>=23;)h(y,1<<23),j-=23;h(y,1<<j),d(y,1,1),h(y,2),S=m(y)}else d(y,0,T),d(y,1<<-O,0),S=m(y)+a.call("0",P);return S=P>0?p+((x=S.length)<=P?"0."+a.call("0",P-x)+S:S.slice(0,x-P)+"."+S.slice(x-P)):p+S}})},77197:function(o,c,t){"use strict";var e=t(80795),r=t(58889),n=t(9120),a=1..toPrecision;e({target:"Number",proto:!0,forced:r(function(){return"1"!==a.call(1,void 0)})||!r(function(){a.call({})})},{toPrecision:function(u){return void 0===u?a.call(n(this)):a.call(n(this),u)}})},59910:function(o,c,t){var e=t(80795),r=t(47320);e({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},18331:function(o,c,t){t(80795)({target:"Object",stat:!0,sham:!t(40857)},{create:t(64121)})},73710:function(o,c,t){var e=t(80795),r=t(40857);e({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperties:t(6765)})},83201:function(o,c,t){var e=t(80795),r=t(40857);e({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperty:t(29017).f})},61966:function(o,c,t){var e=t(80795),r=t(38421).entries;e({target:"Object",stat:!0},{entries:function(a){return r(a)}})},26005:function(o,c,t){var e=t(80795),r=t(71305),n=t(58889),a=t(80285),s=t(11389).onFreeze,i=Object.freeze;e({target:"Object",stat:!0,forced:n(function(){i(1)}),sham:!r},{freeze:function(l){return i&&a(l)?i(s(l)):l}})},26504:function(o,c,t){var e=t(80795),r=t(20018),n=t(51823);e({target:"Object",stat:!0},{fromEntries:function(s){var i={};return r(s,function(u,f){n(i,u,f)},{AS_ENTRIES:!0}),i}})},76517:function(o,c,t){var e=t(80795),r=t(58889),n=t(32580),a=t(78866).f,s=t(40857),i=r(function(){a(1)});e({target:"Object",stat:!0,forced:!s||i,sham:!s},{getOwnPropertyDescriptor:function(l,d){return a(n(l),d)}})},46285:function(o,c,t){var e=t(80795),r=t(40857),n=t(88460),a=t(32580),s=t(78866),i=t(51823);e({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(f){for(var v,E,l=a(f),d=s.f,h=n(l),m={},I=0;h.length>I;)void 0!==(E=d(l,v=h[I++]))&&i(m,v,E);return m}})},30553:function(o,c,t){var e=t(80795),r=t(58889),n=t(78474).f;e({target:"Object",stat:!0,forced:r(function(){return!Object.getOwnPropertyNames(1)})},{getOwnPropertyNames:n})},98721:function(o,c,t){var e=t(80795),r=t(58889),n=t(64132),a=t(19945),s=t(31619);e({target:"Object",stat:!0,forced:r(function(){a(1)}),sham:!s},{getPrototypeOf:function(f){return a(n(f))}})},39210:function(o,c,t){var e=t(80795),r=t(58889),n=t(80285),a=Object.isExtensible;e({target:"Object",stat:!0,forced:r(function(){a(1)})},{isExtensible:function(u){return!!n(u)&&(!a||a(u))}})},83895:function(o,c,t){var e=t(80795),r=t(58889),n=t(80285),a=Object.isFrozen;e({target:"Object",stat:!0,forced:r(function(){a(1)})},{isFrozen:function(u){return!n(u)||!!a&&a(u)}})},61116:function(o,c,t){var e=t(80795),r=t(58889),n=t(80285),a=Object.isSealed;e({target:"Object",stat:!0,forced:r(function(){a(1)})},{isSealed:function(u){return!n(u)||!!a&&a(u)}})},35127:function(o,c,t){t(80795)({target:"Object",stat:!0},{is:t(91562)})},89147:function(o,c,t){var e=t(80795),r=t(64132),n=t(26928);e({target:"Object",stat:!0,forced:t(58889)(function(){n(1)})},{keys:function(u){return n(r(u))}})},95215:function(o,c,t){var e=t(80795),r=t(80285),n=t(11389).onFreeze,a=t(71305),s=t(58889),i=Object.preventExtensions;e({target:"Object",stat:!0,forced:s(function(){i(1)}),sham:!a},{preventExtensions:function(l){return i&&r(l)?i(n(l)):l}})},51630:function(o,c,t){var e=t(80795),r=t(80285),n=t(11389).onFreeze,a=t(71305),s=t(58889),i=Object.seal;e({target:"Object",stat:!0,forced:s(function(){i(1)}),sham:!a},{seal:function(l){return i&&r(l)?i(n(l)):l}})},25019:function(o,c,t){t(80795)({target:"Object",stat:!0},{setPrototypeOf:t(90965)})},10887:function(o,c,t){var e=t(2754),r=t(60597),n=t(59981);e||r(Object.prototype,"toString",n,{unsafe:!0})},44344:function(o,c,t){var e=t(80795),r=t(38421).values;e({target:"Object",stat:!0},{values:function(a){return r(a)}})},55540:function(o,c,t){var e=t(80795),r=t(64326);e({global:!0,forced:parseFloat!=r},{parseFloat:r})},23925:function(o,c,t){var e=t(80795),r=t(95240);e({global:!0,forced:parseInt!=r},{parseInt:r})},58091:function(o,c,t){"use strict";var ae,le,ge,Se,e=t(80795),r=t(65476),n=t(25913),a=t(95235),s=t(86553),i=t(60597),u=t(50353),f=t(90965),l=t(72714),d=t(11471),h=t(80285),m=t(69566),I=t(48883),v=t(533),E=t(20018),g=t(62749),P=t(3162),y=t(74217).set,p=t(23241),S=t(81766),O=t(22933),T=t(6698),j=t(45034),x=t(62100),M=t(29199),C=t(93636),w=t(23464),V=t(7746),at=t(32046),nt=C("species"),Y="Promise",N=x.get,b=x.set,U=x.getterFor(Y),Z=s&&s.prototype,W=s,G=Z,ot=n.TypeError,St=n.document,ft=n.process,It=T.f,bt=It,Ht=!!(St&&St.createEvent&&n.dispatchEvent),Dt="function"==typeof PromiseRejectionEvent,Ot="unhandledrejection",Qt=!1,ce=M(Y,function(){var B=v(W),K=B!==String(W);if(!K&&66===at||r&&!G.finally)return!0;if(at>=51&&/native code/.test(B))return!1;var X=new W(function(Rt){Rt(1)}),tt=function(Rt){Rt(function(){},function(){})};return(X.constructor={})[nt]=tt,!(Qt=X.then(function(){})instanceof tt)||!K&&w&&!Dt}),je=ce||!g(function(B){W.all(B).catch(function(){})}),Ie=function(B){var K;return!(!h(B)||"function"!=typeof(K=B.then))&&K},Me=function(B,K){if(!B.notified){B.notified=!0;var X=B.reactions;p(function(){for(var tt=B.value,st=1==B.state,Rt=0;X.length>Rt;){var xe,We,_e,ee=X[Rt++],Ut=st?ee.ok:ee.fail,ve=ee.resolve,ye=ee.reject,se=ee.domain;try{Ut?(st||(2===B.rejection&&Be(B),B.rejection=1),!0===Ut?xe=tt:(se&&se.enter(),xe=Ut(tt),se&&(se.exit(),_e=!0)),xe===ee.promise?ye(ot("Promise-chain cycle")):(We=Ie(xe))?We.call(xe,ve,ye):ve(xe)):ye(tt)}catch(R){se&&!_e&&se.exit(),ye(R)}}B.reactions=[],B.notified=!1,K&&!B.rejection&&$e(B)})}},Le=function(B,K,X){var tt,st;Ht?((tt=St.createEvent("Event")).promise=K,tt.reason=X,tt.initEvent(B,!1,!0),n.dispatchEvent(tt)):tt={promise:K,reason:X},!Dt&&(st=n["on"+B])?st(tt):B===Ot&&O("Unhandled promise rejection",X)},$e=function(B){y.call(n,function(){var st,K=B.facade,X=B.value;if(Ce(B)&&(st=j(function(){V?ft.emit("unhandledRejection",X,K):Le(Ot,K,X)}),B.rejection=V||Ce(B)?2:1,st.error))throw st.value})},Ce=function(B){return 1!==B.rejection&&!B.parent},Be=function(B){y.call(n,function(){var K=B.facade;V?ft.emit("rejectionHandled",K):Le("rejectionhandled",K,B.value)})},me=function(B,K,X){return function(tt){B(K,tt,X)}},Ee=function(B,K,X){B.done||(B.done=!0,X&&(B=X),B.value=K,B.state=2,Me(B,!0))},Ae=function(B,K,X){if(!B.done){B.done=!0,X&&(B=X);try{if(B.facade===K)throw ot("Promise can't be resolved itself");var tt=Ie(K);tt?p(function(){var st={done:!1};try{tt.call(K,me(Ae,st,B),me(Ee,st,B))}catch(Rt){Ee(st,Rt,B)}}):(B.value=K,B.state=1,Me(B,!1))}catch(st){Ee({done:!1},st,B)}}};if(ce&&(W=function(K){I(this,W,Y),m(K),ae.call(this);var X=N(this);try{K(me(Ae,X),me(Ee,X))}catch(tt){Ee(X,tt)}},(ae=function(K){b(this,{type:Y,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=u(G=W.prototype,{then:function(K,X){var tt=U(this),st=It(P(this,W));return st.ok="function"!=typeof K||K,st.fail="function"==typeof X&&X,st.domain=V?ft.domain:void 0,tt.parent=!0,tt.reactions.push(st),0!=tt.state&&Me(tt,!1),st.promise},catch:function(B){return this.then(void 0,B)}}),le=function(){var B=new ae,K=N(B);this.promise=B,this.resolve=me(Ae,K),this.reject=me(Ee,K)},T.f=It=function(B){return B===W||B===ge?new le(B):bt(B)},!r&&"function"==typeof s&&Z!==Object.prototype)){Se=Z.then,Qt||(i(Z,"then",function(K,X){var tt=this;return new W(function(st,Rt){Se.call(tt,st,Rt)}).then(K,X)},{unsafe:!0}),i(Z,"catch",G.catch,{unsafe:!0}));try{delete Z.constructor}catch(B){}f&&f(Z,G)}e({global:!0,wrap:!0,forced:ce},{Promise:W}),l(W,Y,!1,!0),d(Y),ge=a(Y),e({target:Y,stat:!0,forced:ce},{reject:function(K){var X=It(this);return X.reject.call(void 0,K),X.promise}}),e({target:Y,stat:!0,forced:r||ce},{resolve:function(K){return S(r&&this===ge?W:this,K)}}),e({target:Y,stat:!0,forced:je},{all:function(K){var X=this,tt=It(X),st=tt.resolve,Rt=tt.reject,ee=j(function(){var Ut=m(X.resolve),ve=[],ye=0,se=1;E(K,function(xe){var We=ye++,_e=!1;ve.push(void 0),se++,Ut.call(X,xe).then(function(R){_e||(_e=!0,ve[We]=R,--se||st(ve))},Rt)}),--se||st(ve)});return ee.error&&Rt(ee.value),tt.promise},race:function(K){var X=this,tt=It(X),st=tt.reject,Rt=j(function(){var ee=m(X.resolve);E(K,function(Ut){ee.call(X,Ut).then(tt.resolve,st)})});return Rt.error&&st(Rt.value),tt.promise}})},75458:function(o,c,t){var e=t(80795),r=t(25913),n=t(72714);e({global:!0},{Reflect:{}}),n(r.Reflect,"Reflect",!0)},80179:function(o,c,t){var e=t(40857),r=t(25913),n=t(29199),a=t(32155),s=t(65827),i=t(29017).f,u=t(65529).f,f=t(89798),l=t(25654),d=t(64593),h=t(98824),m=t(60597),I=t(58889),v=t(25774),E=t(62100).enforce,g=t(11471),P=t(93636),y=t(78288),p=t(9410),S=P("match"),O=r.RegExp,T=O.prototype,j=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,x=/a/g,M=/a/g,C=new O(x)!==x,w=h.UNSUPPORTED_Y;if(n("RegExp",e&&(!C||w||y||p||I(function(){return M[S]=!1,O(x)!=x||O(M)==M||"/a/i"!=O(x,"i")})))){for(var Y=function(W,G){var Ht,Dt,Ot,kt,fe,Lt,ot=this instanceof Y,St=f(W),ft=void 0===G,It=[],bt=W;if(!ot&&St&&ft&&W.constructor===Y)return W;if((St||W instanceof Y)&&(W=W.source,ft&&(G="flags"in bt?bt.flags:d.call(bt))),W=void 0===W?"":l(W),G=void 0===G?"":l(G),bt=W,y&&"dotAll"in x&&(Dt=!!G&&G.indexOf("s")>-1)&&(G=G.replace(/s/g,"")),Ht=G,w&&"sticky"in x&&(Ot=!!G&&G.indexOf("y")>-1)&&(G=G.replace(/y/g,"")),p&&(W=(kt=function(Z){for(var Ot,W=Z.length,G=0,ot="",St=[],ft={},It=!1,bt=!1,Ht=0,Dt="";G<=W;G++){if("\\"===(Ot=Z.charAt(G)))Ot+=Z.charAt(++G);else if("]"===Ot)It=!1;else if(!It)switch(!0){case"["===Ot:It=!0;break;case"("===Ot:j.test(Z.slice(G+1))&&(G+=2,bt=!0),ot+=Ot,Ht++;continue;case">"===Ot&&bt:if(""===Dt||v(ft,Dt))throw new SyntaxError("Invalid capture group name");ft[Dt]=!0,St.push([Dt,Ht]),bt=!1,Dt="";continue}bt?Dt+=Ot:ot+=Ot}return[ot,St]}(W))[0],It=kt[1]),fe=a(O(W,G),ot?this:T,Y),(Dt||Ot||It.length)&&(Lt=E(fe),Dt&&(Lt.dotAll=!0,Lt.raw=Y(function(Z){for(var ft,W=Z.length,G=0,ot="",St=!1;G<=W;G++)"\\"!==(ft=Z.charAt(G))?St||"."!==ft?("["===ft?St=!0:"]"===ft&&(St=!1),ot+=ft):ot+="[\\s\\S]":ot+=ft+Z.charAt(++G);return ot}(W),Ht)),Ot&&(Lt.sticky=!0),It.length&&(Lt.groups=It)),W!==bt)try{s(fe,"source",""===bt?"(?:)":bt)}catch(he){}return fe},N=function(Z){Z in Y||i(Y,Z,{configurable:!0,get:function(){return O[Z]},set:function(W){O[Z]=W}})},b=u(O),U=0;b.length>U;)N(b[U++]);T.constructor=Y,Y.prototype=T,m(r,"RegExp",Y)}g("RegExp")},45447:function(o,c,t){"use strict";var e=t(80795),r=t(23848);e({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},76085:function(o,c,t){var e=t(40857),r=t(29017),n=t(64593),a=t(58889);e&&a(function(){return"sy"!==Object.getOwnPropertyDescriptor(RegExp.prototype,"flags").get.call({dotAll:!0,sticky:!0})})&&r.f(RegExp.prototype,"flags",{configurable:!0,get:n})},60180:function(o,c,t){"use strict";var e=t(60597),r=t(68485),n=t(25654),a=t(58889),s=t(64593),i="toString",u=RegExp.prototype,f=u[i];(a(function(){return"/a/b"!=f.call({source:"a",flags:"b"})})||f.name!=i)&&e(RegExp.prototype,i,function(){var m=r(this),I=n(m.source),v=m.flags;return"/"+I+"/"+n(void 0===v&&m instanceof RegExp&&!("flags"in u)?s.call(m):v)},{unsafe:!0})},34819:function(o,c,t){"use strict";var e=t(5518),r=t(56506);o.exports=e("Set",function(n){return function(){return n(this,arguments.length?arguments[0]:void 0)}},r)},37944:function(o,c,t){"use strict";var e=t(80795),r=t(19333);e({target:"String",proto:!0,forced:t(72341)("anchor")},{anchor:function(s){return r(this,"a","name",s)}})},83571:function(o,c,t){"use strict";var e=t(80795),r=t(19333);e({target:"String",proto:!0,forced:t(72341)("big")},{big:function(){return r(this,"big","","")}})},47641:function(o,c,t){"use strict";var e=t(80795),r=t(19333);e({target:"String",proto:!0,forced:t(72341)("blink")},{blink:function(){return r(this,"blink","","")}})},34211:function(o,c,t){"use strict";var e=t(80795),r=t(19333);e({target:"String",proto:!0,forced:t(72341)("bold")},{bold:function(){return r(this,"b","","")}})},85616:function(o,c,t){"use strict";var e=t(80795),r=t(8271).codeAt;e({target:"String",proto:!0},{codePointAt:function(a){return r(this,a)}})},86531:function(o,c,t){"use strict";var I,e=t(80795),r=t(78866).f,n=t(46681),a=t(25654),s=t(85822),i=t(48820),u=t(74661),f=t(65476),l="".endsWith,d=Math.min,h=u("endsWith");e({target:"String",proto:!0,forced:!(!f&&!h&&(I=r(String.prototype,"endsWith"),I&&!I.writable)||h)},{endsWith:function(v){var E=a(i(this));s(v);var g=arguments.length>1?arguments[1]:void 0,P=n(E.length),y=void 0===g?P:d(n(g),P),p=a(v);return l?l.call(E,p,y):E.slice(y-p.length,y)===p}})},36786:function(o,c,t){"use strict";var e=t(80795),r=t(19333);e({target:"String",proto:!0,forced:t(72341)("fixed")},{fixed:function(){return r(this,"tt","","")}})},99878:function(o,c,t){"use strict";var e=t(80795),r=t(19333);e({target:"String",proto:!0,forced:t(72341)("fontcolor")},{fontcolor:function(s){return r(this,"font","color",s)}})},45042:function(o,c,t){"use strict";var e=t(80795),r=t(19333);e({target:"String",proto:!0,forced:t(72341)("fontsize")},{fontsize:function(s){return r(this,"font","size",s)}})},72823:function(o,c,t){var e=t(80795),r=t(30581),n=String.fromCharCode,a=String.fromCodePoint;e({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(u){for(var h,f=[],l=arguments.length,d=0;l>d;){if(h=+arguments[d++],r(h,1114111)!==h)throw RangeError(h+" is not a valid code point");f.push(h<65536?n(h):n(55296+((h-=65536)>>10),h%1024+56320))}return f.join("")}})},66371:function(o,c,t){"use strict";var e=t(80795),r=t(85822),n=t(48820),a=t(25654);e({target:"String",proto:!0,forced:!t(74661)("includes")},{includes:function(u){return!!~a(n(this)).indexOf(a(r(u)),arguments.length>1?arguments[1]:void 0)}})},51243:function(o,c,t){"use strict";var e=t(80795),r=t(19333);e({target:"String",proto:!0,forced:t(72341)("italics")},{italics:function(){return r(this,"i","","")}})},3:function(o,c,t){"use strict";var e=t(8271).charAt,r=t(25654),n=t(62100),a=t(13402),s="String Iterator",i=n.set,u=n.getterFor(s);a(String,"String",function(f){i(this,{type:s,string:r(f),index:0})},function(){var m,l=u(this),d=l.string,h=l.index;return h>=d.length?{value:void 0,done:!0}:(m=e(d,h),l.index+=m.length,{value:m,done:!1})})},26661:function(o,c,t){"use strict";var e=t(80795),r=t(19333);e({target:"String",proto:!0,forced:t(72341)("link")},{link:function(s){return r(this,"a","href",s)}})},34065:function(o,c,t){"use strict";var e=t(29079),r=t(68485),n=t(46681),a=t(25654),s=t(48820),i=t(28565),u=t(31911);e("match",function(f,l,d){return[function(m){var I=s(this),v=null==m?void 0:m[f];return void 0!==v?v.call(m,I):new RegExp(m)[f](a(I))},function(h){var m=r(this),I=a(h),v=d(l,m,I);if(v.done)return v.value;if(!m.global)return u(m,I);var E=m.unicode;m.lastIndex=0;for(var y,g=[],P=0;null!==(y=u(m,I));){var p=a(y[0]);g[P]=p,""===p&&(m.lastIndex=i(I,n(m.lastIndex),E)),P++}return 0===P?null:g}]})},24957:function(o,c,t){var e=t(80795),r=t(32580),n=t(46681),a=t(25654);e({target:"String",stat:!0},{raw:function(i){for(var u=r(i.raw),f=n(u.length),l=arguments.length,d=[],h=0;f>h;)d.push(a(u[h++])),h<l&&d.push(a(arguments[h]));return d.join("")}})},11853:function(o,c,t){t(80795)({target:"String",proto:!0},{repeat:t(52204)})},19180:function(o,c,t){"use strict";var e=t(29079),r=t(58889),n=t(68485),a=t(27543),s=t(46681),i=t(25654),u=t(48820),f=t(28565),l=t(70894),d=t(31911),m=t(93636)("replace"),I=Math.max,v=Math.min,E=function(p){return void 0===p?p:String(p)},g="$0"==="a".replace(/./,"$0"),P=!!/./[m]&&""===/./[m]("a","$0");e("replace",function(p,S,O){var T=P?"$":"$0";return[function(x,M){var C=u(this),w=null==x?void 0:x[m];return void 0!==w?w.call(x,C,M):S.call(i(C),x,M)},function(j,x){var M=n(this),C=i(j);if("string"==typeof x&&-1===x.indexOf(T)&&-1===x.indexOf("$<")){var w=O(S,M,C,x);if(w.done)return w.value}var V="function"==typeof x;V||(x=i(x));var at=M.global;if(at){var nt=M.unicode;M.lastIndex=0}for(var Y=[];;){var N=d(M,C);if(null===N||(Y.push(N),!at))break;""===i(N[0])&&(M.lastIndex=f(C,s(M.lastIndex),nt))}for(var U="",Z=0,W=0;W<Y.length;W++){for(var G=i((N=Y[W])[0]),ot=I(v(a(N.index),C.length),0),St=[],ft=1;ft<N.length;ft++)St.push(E(N[ft]));var It=N.groups;if(V){var bt=[G].concat(St,ot,C);void 0!==It&&bt.push(It);var Ht=i(x.apply(void 0,bt))}else Ht=l(G,C,ot,St,It,x);ot>=Z&&(U+=C.slice(Z,ot)+Ht,Z=ot+G.length)}return U+C.slice(Z)}]},!!r(function(){var p=/./;return p.exec=function(){var S=[];return S.groups={a:"7"},S},"7"!=="".replace(p,"$<a>")})||!g||P)},66249:function(o,c,t){"use strict";var e=t(29079),r=t(68485),n=t(48820),a=t(91562),s=t(25654),i=t(31911);e("search",function(u,f,l){return[function(h){var m=n(this),I=null==h?void 0:h[u];return void 0!==I?I.call(h,m):new RegExp(h)[u](s(m))},function(d){var h=r(this),m=s(d),I=l(f,h,m);if(I.done)return I.value;var v=h.lastIndex;a(v,0)||(h.lastIndex=0);var E=i(h,m);return a(h.lastIndex,v)||(h.lastIndex=v),null===E?-1:E.index}]})},93196:function(o,c,t){"use strict";var e=t(80795),r=t(19333);e({target:"String",proto:!0,forced:t(72341)("small")},{small:function(){return r(this,"small","","")}})},85062:function(o,c,t){"use strict";var e=t(29079),r=t(89798),n=t(68485),a=t(48820),s=t(3162),i=t(28565),u=t(46681),f=t(25654),l=t(31911),d=t(23848),h=t(98824),m=t(58889),I=h.UNSUPPORTED_Y,v=[].push,E=Math.min,g=4294967295;e("split",function(y,p,S){var O;return O="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(T,j){var x=f(a(this)),M=void 0===j?g:j>>>0;if(0===M)return[];if(void 0===T)return[x];if(!r(T))return p.call(x,T,M);for(var nt,Y,N,C=[],V=0,at=new RegExp(T.source,(T.ignoreCase?"i":"")+(T.multiline?"m":"")+(T.unicode?"u":"")+(T.sticky?"y":"")+"g");(nt=d.call(at,x))&&!((Y=at.lastIndex)>V&&(C.push(x.slice(V,nt.index)),nt.length>1&&nt.index<x.length&&v.apply(C,nt.slice(1)),N=nt[0].length,V=Y,C.length>=M));)at.lastIndex===nt.index&&at.lastIndex++;return V===x.length?(N||!at.test(""))&&C.push(""):C.push(x.slice(V)),C.length>M?C.slice(0,M):C}:"0".split(void 0,0).length?function(T,j){return void 0===T&&0===j?[]:p.call(this,T,j)}:p,[function(j,x){var M=a(this),C=null==j?void 0:j[y];return void 0!==C?C.call(j,M,x):O.call(f(M),j,x)},function(T,j){var x=n(this),M=f(T),C=S(O,x,M,j,O!==p);if(C.done)return C.value;var w=s(x,RegExp),V=x.unicode,nt=new w(I?"^(?:"+x.source+")":x,(x.ignoreCase?"i":"")+(x.multiline?"m":"")+(x.unicode?"u":"")+(I?"g":"y")),Y=void 0===j?g:j>>>0;if(0===Y)return[];if(0===M.length)return null===l(nt,M)?[M]:[];for(var N=0,b=0,U=[];b<M.length;){nt.lastIndex=I?0:b;var W,Z=l(nt,I?M.slice(b):M);if(null===Z||(W=E(u(nt.lastIndex+(I?b:0)),M.length))===N)b=i(M,b,V);else{if(U.push(M.slice(N,b)),U.length===Y)return U;for(var G=1;G<=Z.length-1;G++)if(U.push(Z[G]),U.length===Y)return U;b=N=W}}return U.push(M.slice(N)),U}]},!!m(function(){var y=/(?:)/,p=y.exec;y.exec=function(){return p.apply(this,arguments)};var S="ab".split(y);return 2!==S.length||"a"!==S[0]||"b"!==S[1]}),I)},88228:function(o,c,t){"use strict";var I,e=t(80795),r=t(78866).f,n=t(46681),a=t(25654),s=t(85822),i=t(48820),u=t(74661),f=t(65476),l="".startsWith,d=Math.min,h=u("startsWith");e({target:"String",proto:!0,forced:!(!f&&!h&&(I=r(String.prototype,"startsWith"),I&&!I.writable)||h)},{startsWith:function(v){var E=a(i(this));s(v);var g=n(d(arguments.length>1?arguments[1]:void 0,E.length)),P=a(v);return l?l.call(E,P,g):E.slice(g,g+P.length)===P}})},15265:function(o,c,t){"use strict";var e=t(80795),r=t(19333);e({target:"String",proto:!0,forced:t(72341)("strike")},{strike:function(){return r(this,"strike","","")}})},59411:function(o,c,t){"use strict";var e=t(80795),r=t(19333);e({target:"String",proto:!0,forced:t(72341)("sub")},{sub:function(){return r(this,"sub","","")}})},79811:function(o,c,t){"use strict";var e=t(80795),r=t(19333);e({target:"String",proto:!0,forced:t(72341)("sup")},{sup:function(){return r(this,"sup","","")}})},31161:function(o,c,t){"use strict";var e=t(80795),r=t(19082).trim;e({target:"String",proto:!0,forced:t(91611)("trim")},{trim:function(){return r(this)}})},93241:function(o,c,t){t(20929)("asyncIterator")},62099:function(o,c,t){"use strict";var e=t(80795),r=t(40857),n=t(25913),a=t(25774),s=t(80285),i=t(29017).f,u=t(83888),f=n.Symbol;if(r&&"function"==typeof f&&(!("description"in f.prototype)||void 0!==f().description)){var l={},d=function(){var g=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),P=this instanceof d?new f(g):void 0===g?f():f(g);return""===g&&(l[P]=!0),P};u(d,f);var h=d.prototype=f.prototype;h.constructor=d;var m=h.toString,I="Symbol(test)"==String(f("test")),v=/^Symbol\((.*)\)[^)]+$/;i(h,"description",{configurable:!0,get:function(){var g=s(this)?this.valueOf():this,P=m.call(g);if(a(l,g))return"";var y=I?P.slice(7,-1):P.replace(v,"$1");return""===y?void 0:y}}),e({global:!0,forced:!0},{Symbol:d})}},48087:function(o,c,t){t(20929)("hasInstance")},1853:function(o,c,t){t(20929)("isConcatSpreadable")},46692:function(o,c,t){t(20929)("iterator")},29982:function(o,c,t){"use strict";var e=t(80795),r=t(25913),n=t(95235),a=t(65476),s=t(40857),i=t(22738),u=t(58889),f=t(25774),l=t(49975),d=t(80285),h=t(11474),m=t(68485),I=t(64132),v=t(32580),E=t(60720),g=t(25654),P=t(33962),y=t(64121),p=t(26928),S=t(65529),O=t(78474),T=t(46133),j=t(78866),x=t(29017),M=t(79185),C=t(65827),w=t(60597),V=t(41582),at=t(19344),nt=t(13748),Y=t(37709),N=t(93636),b=t(66301),U=t(20929),Z=t(72714),W=t(62100),G=t(43887).forEach,ot=at("hidden"),St="Symbol",ft="prototype",It=N("toPrimitive"),bt=W.set,Ht=W.getterFor(St),Dt=Object[ft],Ot=r.Symbol,kt=n("JSON","stringify"),fe=j.f,Lt=x.f,he=O.f,Pe=M.f,Jt=V("symbols"),Qt=V("op-symbols"),ae=V("string-to-symbol-registry"),le=V("symbol-to-string-registry"),ge=V("wks"),Se=r.QObject,ce=!Se||!Se[ft]||!Se[ft].findChild,je=s&&u(function(){return 7!=y(Lt({},"a",{get:function(){return Lt(this,"a",{value:7}).a}})).a})?function(B,K,X){var tt=fe(Dt,K);tt&&delete Dt[K],Lt(B,K,X),tt&&B!==Dt&&Lt(Dt,K,tt)}:Lt,Ie=function(B,K){var X=Jt[B]=y(Ot[ft]);return bt(X,{type:St,tag:B,description:K}),s||(X.description=K),X},Me=function(K,X,tt){K===Dt&&Me(Qt,X,tt),m(K);var st=E(X);return m(tt),f(Jt,st)?(tt.enumerable?(f(K,ot)&&K[ot][st]&&(K[ot][st]=!1),tt=y(tt,{enumerable:P(0,!1)})):(f(K,ot)||Lt(K,ot,P(1,{})),K[ot][st]=!0),je(K,st,tt)):Lt(K,st,tt)},Le=function(K,X){m(K);var tt=v(X),st=p(tt).concat(Ee(tt));return G(st,function(Rt){(!s||Ce.call(tt,Rt))&&Me(K,Rt,tt[Rt])}),K},Ce=function(K){var X=E(K),tt=Pe.call(this,X);return!(this===Dt&&f(Jt,X)&&!f(Qt,X))&&(!(tt||!f(this,X)||!f(Jt,X)||f(this,ot)&&this[ot][X])||tt)},Be=function(K,X){var tt=v(K),st=E(X);if(tt!==Dt||!f(Jt,st)||f(Qt,st)){var Rt=fe(tt,st);return Rt&&f(Jt,st)&&!(f(tt,ot)&&tt[ot][st])&&(Rt.enumerable=!0),Rt}},me=function(K){var X=he(v(K)),tt=[];return G(X,function(st){!f(Jt,st)&&!f(nt,st)&&tt.push(st)}),tt},Ee=function(K){var X=K===Dt,tt=he(X?Qt:v(K)),st=[];return G(tt,function(Rt){f(Jt,Rt)&&(!X||f(Dt,Rt))&&st.push(Jt[Rt])}),st};i||(w((Ot=function(){if(this instanceof Ot)throw TypeError("Symbol is not a constructor");var K=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,X=Y(K),tt=function(st){this===Dt&&tt.call(Qt,st),f(this,ot)&&f(this[ot],X)&&(this[ot][X]=!1),je(this,X,P(1,st))};return s&&ce&&je(Dt,X,{configurable:!0,set:tt}),Ie(X,K)})[ft],"toString",function(){return Ht(this).tag}),w(Ot,"withoutSetter",function(B){return Ie(Y(B),B)}),M.f=Ce,x.f=Me,j.f=Be,S.f=O.f=me,T.f=Ee,b.f=function(B){return Ie(N(B),B)},s&&(Lt(Ot[ft],"description",{configurable:!0,get:function(){return Ht(this).description}}),a||w(Dt,"propertyIsEnumerable",Ce,{unsafe:!0}))),e({global:!0,wrap:!0,forced:!i,sham:!i},{Symbol:Ot}),G(p(ge),function(B){U(B)}),e({target:St,stat:!0,forced:!i},{for:function(B){var K=g(B);if(f(ae,K))return ae[K];var X=Ot(K);return ae[K]=X,le[X]=K,X},keyFor:function(K){if(!h(K))throw TypeError(K+" is not a symbol");if(f(le,K))return le[K]},useSetter:function(){ce=!0},useSimple:function(){ce=!1}}),e({target:"Object",stat:!0,forced:!i,sham:!s},{create:function(K,X){return void 0===X?y(K):Le(y(K),X)},defineProperty:Me,defineProperties:Le,getOwnPropertyDescriptor:Be}),e({target:"Object",stat:!0,forced:!i},{getOwnPropertyNames:me,getOwnPropertySymbols:Ee}),e({target:"Object",stat:!0,forced:u(function(){T.f(1)})},{getOwnPropertySymbols:function(K){return T.f(I(K))}}),kt&&e({target:"JSON",stat:!0,forced:!i||u(function(){var B=Ot();return"[null]"!=kt([B])||"{}"!=kt({a:B})||"{}"!=kt(Object(B))})},{stringify:function(K,X,tt){for(var ee,st=[K],Rt=1;arguments.length>Rt;)st.push(arguments[Rt++]);if(ee=X,(d(X)||void 0!==K)&&!h(K))return l(X)||(X=function(Ut,ve){if("function"==typeof ee&&(ve=ee.call(this,Ut,ve)),!h(ve))return ve}),st[1]=X,kt.apply(null,st)}}),Ot[ft][It]||C(Ot[ft],It,Ot[ft].valueOf),Z(Ot,St),nt[ot]=!0},75418:function(o,c,t){t(20929)("matchAll")},7211:function(o,c,t){t(20929)("match")},45015:function(o,c,t){t(20929)("replace")},86052:function(o,c,t){t(20929)("search")},4569:function(o,c,t){t(20929)("species")},52209:function(o,c,t){t(20929)("split")},90573:function(o,c,t){t(20929)("toPrimitive")},35212:function(o,c,t){t(20929)("toStringTag")},15695:function(o,c,t){t(20929)("unscopables")},59218:function(o,c,t){"use strict";var h,e=t(25913),r=t(50353),n=t(11389),a=t(5518),s=t(36003),i=t(80285),u=t(62100).enforce,f=t(19411),l=!e.ActiveXObject&&"ActiveXObject"in e,d=Object.isExtensible,m=function(p){return function(){return p(this,arguments.length?arguments[0]:void 0)}},I=o.exports=a("WeakMap",m,s);if(f&&l){h=s.getConstructor(m,"WeakMap",!0),n.enable();var v=I.prototype,E=v.delete,g=v.has,P=v.get,y=v.set;r(v,{delete:function(p){if(i(p)&&!d(p)){var S=u(this);return S.frozen||(S.frozen=new h),E.call(this,p)||S.frozen.delete(p)}return E.call(this,p)},has:function(S){if(i(S)&&!d(S)){var O=u(this);return O.frozen||(O.frozen=new h),g.call(this,S)||O.frozen.has(S)}return g.call(this,S)},get:function(S){if(i(S)&&!d(S)){var O=u(this);return O.frozen||(O.frozen=new h),g.call(this,S)?P.call(this,S):O.frozen.get(S)}return P.call(this,S)},set:function(S,O){if(i(S)&&!d(S)){var T=u(this);T.frozen||(T.frozen=new h),g.call(this,S)?y.call(this,S,O):T.frozen.set(S,O)}else y.call(this,S,O);return this}})}},37574:function(o,c,t){var e=t(25913),r=t(29291),n=t(84875),a=t(65827);for(var s in r){var i=e[s],u=i&&i.prototype;if(u&&u.forEach!==n)try{a(u,"forEach",n)}catch(f){u.forEach=n}}},62442:function(o,c,t){var e=t(25913),r=t(29291),n=t(63639),a=t(65827),s=t(93636),i=s("iterator"),u=s("toStringTag"),f=n.values;for(var l in r){var d=e[l],h=d&&d.prototype;if(h){if(h[i]!==f)try{a(h,i,f)}catch(I){h[i]=f}if(h[u]||a(h,u,l),r[l])for(var m in n)if(h[m]!==n[m])try{a(h,m,n[m])}catch(I){h[m]=n[m]}}}},82908:function(o){o.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n},o.exports.default=o.exports,o.exports.__esModule=!0},45478:function(o){o.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},o.exports.default=o.exports,o.exports.__esModule=!0},29545:function(o){function c(e,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}o.exports=function(e,r,n){return r&&c(e.prototype,r),n&&c(e,n),e},o.exports.default=o.exports,o.exports.__esModule=!0},76567:function(o,c,t){var e=t(54850);o.exports=function(n,a){var s="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(!s){if(Array.isArray(n)||(s=e(n))||a&&n&&"number"==typeof n.length){s&&(n=s);var i=0,u=function(){};return{s:u,n:function(){return i>=n.length?{done:!0}:{done:!1,value:n[i++]}},e:function(m){throw m},f:u}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var d,f=!0,l=!1;return{s:function(){s=s.call(n)},n:function(){var m=s.next();return f=m.done,m},e:function(m){l=!0,d=m},f:function(){try{!f&&null!=s.return&&s.return()}finally{if(l)throw d}}}},o.exports.default=o.exports,o.exports.__esModule=!0},54850:function(o,c,t){var e=t(82908);o.exports=function(n,a){if(n){if("string"==typeof n)return e(n,a);var s=Object.prototype.toString.call(n).slice(8,-1);if("Object"===s&&n.constructor&&(s=n.constructor.name),"Map"===s||"Set"===s)return Array.from(n);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return e(n,a)}},o.exports.default=o.exports,o.exports.__esModule=!0},19720:function(o){var c=function(t){"use strict";var n,e=Object.prototype,r=e.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",i=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function f(N,b,U){return Object.defineProperty(N,b,{value:U,enumerable:!0,configurable:!0,writable:!0}),N[b]}try{f({},"")}catch(N){f=function(U,Z,W){return U[Z]=W}}function l(N,b,U,Z){var G=Object.create((b&&b.prototype instanceof g?b:g).prototype),ot=new at(Z||[]);return G._invoke=function(N,b,U){var Z=h;return function(G,ot){if(Z===I)throw new Error("Generator is already running");if(Z===v){if("throw"===G)throw ot;return Y()}for(U.method=G,U.arg=ot;;){var St=U.delegate;if(St){var ft=C(St,U);if(ft){if(ft===E)continue;return ft}}if("next"===U.method)U.sent=U._sent=U.arg;else if("throw"===U.method){if(Z===h)throw Z=v,U.arg;U.dispatchException(U.arg)}else"return"===U.method&&U.abrupt("return",U.arg);Z=I;var It=d(N,b,U);if("normal"===It.type){if(Z=U.done?v:m,It.arg===E)continue;return{value:It.arg,done:U.done}}"throw"===It.type&&(Z=v,U.method="throw",U.arg=It.arg)}}}(N,U,ot),G}function d(N,b,U){try{return{type:"normal",arg:N.call(b,U)}}catch(Z){return{type:"throw",arg:Z}}}t.wrap=l;var h="suspendedStart",m="suspendedYield",I="executing",v="completed",E={};function g(){}function P(){}function y(){}var p={};f(p,s,function(){return this});var S=Object.getPrototypeOf,O=S&&S(S(nt([])));O&&O!==e&&r.call(O,s)&&(p=O);var T=y.prototype=g.prototype=Object.create(p);function j(N){["next","throw","return"].forEach(function(b){f(N,b,function(U){return this._invoke(b,U)})})}function x(N,b){function U(G,ot,St,ft){var It=d(N[G],N,ot);if("throw"!==It.type){var bt=It.arg,Ht=bt.value;return Ht&&"object"==typeof Ht&&r.call(Ht,"__await")?b.resolve(Ht.__await).then(function(Dt){U("next",Dt,St,ft)},function(Dt){U("throw",Dt,St,ft)}):b.resolve(Ht).then(function(Dt){bt.value=Dt,St(bt)},function(Dt){return U("throw",Dt,St,ft)})}ft(It.arg)}var Z;this._invoke=function(G,ot){function St(){return new b(function(ft,It){U(G,ot,ft,It)})}return Z=Z?Z.then(St,St):St()}}function C(N,b){var U=N.iterator[b.method];if(U===n){if(b.delegate=null,"throw"===b.method){if(N.iterator.return&&(b.method="return",b.arg=n,C(N,b),"throw"===b.method))return E;b.method="throw",b.arg=new TypeError("The iterator does not provide a 'throw' method")}return E}var Z=d(U,N.iterator,b.arg);if("throw"===Z.type)return b.method="throw",b.arg=Z.arg,b.delegate=null,E;var W=Z.arg;return W?W.done?(b[N.resultName]=W.value,b.next=N.nextLoc,"return"!==b.method&&(b.method="next",b.arg=n),b.delegate=null,E):W:(b.method="throw",b.arg=new TypeError("iterator result is not an object"),b.delegate=null,E)}function w(N){var b={tryLoc:N[0]};1 in N&&(b.catchLoc=N[1]),2 in N&&(b.finallyLoc=N[2],b.afterLoc=N[3]),this.tryEntries.push(b)}function V(N){var b=N.completion||{};b.type="normal",delete b.arg,N.completion=b}function at(N){this.tryEntries=[{tryLoc:"root"}],N.forEach(w,this),this.reset(!0)}function nt(N){if(N){var b=N[s];if(b)return b.call(N);if("function"==typeof N.next)return N;if(!isNaN(N.length)){var U=-1,Z=function W(){for(;++U<N.length;)if(r.call(N,U))return W.value=N[U],W.done=!1,W;return W.value=n,W.done=!0,W};return Z.next=Z}}return{next:Y}}function Y(){return{value:n,done:!0}}return P.prototype=y,f(T,"constructor",y),f(y,"constructor",P),P.displayName=f(y,u,"GeneratorFunction"),t.isGeneratorFunction=function(N){var b="function"==typeof N&&N.constructor;return!!b&&(b===P||"GeneratorFunction"===(b.displayName||b.name))},t.mark=function(N){return Object.setPrototypeOf?Object.setPrototypeOf(N,y):(N.__proto__=y,f(N,u,"GeneratorFunction")),N.prototype=Object.create(T),N},t.awrap=function(N){return{__await:N}},j(x.prototype),f(x.prototype,i,function(){return this}),t.AsyncIterator=x,t.async=function(N,b,U,Z,W){void 0===W&&(W=Promise);var G=new x(l(N,b,U,Z),W);return t.isGeneratorFunction(b)?G:G.next().then(function(ot){return ot.done?ot.value:G.next()})},j(T),f(T,u,"Generator"),f(T,s,function(){return this}),f(T,"toString",function(){return"[object Generator]"}),t.keys=function(N){var b=[];for(var U in N)b.push(U);return b.reverse(),function Z(){for(;b.length;){var W=b.pop();if(W in N)return Z.value=W,Z.done=!1,Z}return Z.done=!0,Z}},t.values=nt,at.prototype={constructor:at,reset:function(b){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(V),!b)for(var U in this)"t"===U.charAt(0)&&r.call(this,U)&&!isNaN(+U.slice(1))&&(this[U]=n)},stop:function(){this.done=!0;var U=this.tryEntries[0].completion;if("throw"===U.type)throw U.arg;return this.rval},dispatchException:function(b){if(this.done)throw b;var U=this;function Z(It,bt){return ot.type="throw",ot.arg=b,U.next=It,bt&&(U.method="next",U.arg=n),!!bt}for(var W=this.tryEntries.length-1;W>=0;--W){var G=this.tryEntries[W],ot=G.completion;if("root"===G.tryLoc)return Z("end");if(G.tryLoc<=this.prev){var St=r.call(G,"catchLoc"),ft=r.call(G,"finallyLoc");if(St&&ft){if(this.prev<G.catchLoc)return Z(G.catchLoc,!0);if(this.prev<G.finallyLoc)return Z(G.finallyLoc)}else if(St){if(this.prev<G.catchLoc)return Z(G.catchLoc,!0)}else{if(!ft)throw new Error("try statement without catch or finally");if(this.prev<G.finallyLoc)return Z(G.finallyLoc)}}}},abrupt:function(b,U){for(var Z=this.tryEntries.length-1;Z>=0;--Z){var W=this.tryEntries[Z];if(W.tryLoc<=this.prev&&r.call(W,"finallyLoc")&&this.prev<W.finallyLoc){var G=W;break}}G&&("break"===b||"continue"===b)&&G.tryLoc<=U&&U<=G.finallyLoc&&(G=null);var ot=G?G.completion:{};return ot.type=b,ot.arg=U,G?(this.method="next",this.next=G.finallyLoc,E):this.complete(ot)},complete:function(b,U){if("throw"===b.type)throw b.arg;return"break"===b.type||"continue"===b.type?this.next=b.arg:"return"===b.type?(this.rval=this.arg=b.arg,this.method="return",this.next="end"):"normal"===b.type&&U&&(this.next=U),E},finish:function(b){for(var U=this.tryEntries.length-1;U>=0;--U){var Z=this.tryEntries[U];if(Z.finallyLoc===b)return this.complete(Z.completion,Z.afterLoc),V(Z),E}},catch:function(b){for(var U=this.tryEntries.length-1;U>=0;--U){var Z=this.tryEntries[U];if(Z.tryLoc===b){var W=Z.completion;if("throw"===W.type){var G=W.arg;V(Z)}return G}}throw new Error("illegal catch attempt")},delegateYield:function(b,U,Z){return this.delegate={iterator:nt(b),resultName:U,nextLoc:Z},"next"===this.method&&(this.arg=n),E}},t}(o.exports);try{regeneratorRuntime=c}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=c:Function("r","regeneratorRuntime = r")(c)}},98487:function(o,c,t){"use strict";t(73846),t(28960),t(48285),t(20457),t(18331),t(83201),t(73710),t(76517),t(98721),t(89147),t(30553),t(26005),t(51630),t(95215),t(83895),t(61116),t(39210),t(59910),t(35127),t(25019),t(10887),t(61966),t(44344),t(46285),t(26504),t(96886),t(71007),t(1711),t(56424),t(37319),t(27761),t(40488),t(6102),t(79470),t(41177),t(67610),t(26863),t(4440),t(47422),t(31440),t(79562),t(72639),t(81448),t(87269),t(77237),t(25525),t(63639),t(53416),t(19259),t(77803),t(72823),t(24957),t(31161),t(3),t(85616),t(86531),t(66371),t(11853),t(88228),t(37944),t(83571),t(47641),t(34211),t(36786),t(99878),t(45042),t(51243),t(26661),t(93196),t(15265),t(59411),t(79811),t(34065),t(19180),t(66249),t(85062),t(23925),t(55540),t(26596),t(16488),t(92137),t(80179),t(60180),t(76085),t(91428),t(59218),t(34819),t(37574),t(62442),t(58091),t(80774),t(19720),t(89977)},89977:function(){"use strict";var o,c,t,e,r,v;function a(v,E,g){var P=g.configurable;return u(v,E,g=i(v,E,g),P)}function s(v,E){return v&&v[r]&&v[r][E]}function i(v,E,g){return Object.isFrozen(g)||(g.configurable=!0),g.configurable||(!v[r]&&!Object.isFrozen(v)&&c(v,r,{writable:!0,value:{}}),v[r]&&(v[r][E]=!0)),g}function u(v,E,g,P){try{return c(v,E,g)}catch(S){if(!g.configurable)throw S;void 0===P?delete g.configurable:g.configurable=P;try{return c(v,E,g)}catch(O){var y=!1;if(("createdCallback"===E||"attachedCallback"===E||"detachedCallback"===E||"attributeChangedCallback"===E)&&(y=!0),!y)throw O;var p=null;try{p=JSON.stringify(g)}catch(T){p=g.toString()}console.log("Attempting to configure '".concat(E,"' with descriptor '").concat(p,"' on object '").concat(v,"' and got error, giving up: ").concat(O))}}}(v="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{})[("legacyPatch",(v.__Zone_symbol_prefix||"__zone_symbol__")+"legacyPatch")]=function(){var P=v.Zone;P.__load_patch("defineProperty",function(y,p,S){S._redefineProperty=a,o=Zone.__symbol__,c=Object[o("defineProperty")]=Object.defineProperty,t=Object[o("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor,e=Object.create,r=o("unconfigurables"),Object.defineProperty=function(v,E,g){if(s(v,E))throw new TypeError("Cannot assign to read only property '"+E+"' of "+v);var P=g.configurable;return"prototype"!==E&&(g=i(v,E,g)),u(v,E,g,P)},Object.defineProperties=function(v,E){return Object.keys(E).forEach(function(g){Object.defineProperty(v,g,E[g])}),v},Object.create=function(v,E){return"object"==typeof E&&!Object.isFrozen(E)&&Object.keys(E).forEach(function(g){E[g]=i(v,g,E[g])}),e(v,E)},Object.getOwnPropertyDescriptor=function(v,E){var g=t(v,E);return g&&s(v,E)&&(g.configurable=!1),g}}),P.__load_patch("registerElement",function(y,p,S){!function(v,E){var g=E.getGlobalObjects();(g.isBrowser||g.isMix)&&"registerElement"in v.document&&E.patchCallbacks(E,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])}(y,S)}),P.__load_patch("EventTargetLegacy",function(y,p,S){(function(v,E){var g=E.getGlobalObjects(),P=g.eventNames,y=g.globalSources,p=g.zoneSymbolEventNames,S=g.TRUE_STR,O=g.FALSE_STR,T=g.ZONE_SYMBOL_PREFIX,x="ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket".split(","),M="EventTarget",C=[],w=v.wtf,V="Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video".split(",");w?C=V.map(function(Jt){return"HTML"+Jt+"Element"}).concat(x):v[M]?C.push(M):C=x;for(var at=v.__Zone_disable_IE_check||!1,nt=v.__Zone_enable_cross_context_check||!1,Y=E.isIEOrEdge(),b="[object FunctionWrapper]",U="function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }",Z={MSPointerCancel:"pointercancel",MSPointerDown:"pointerdown",MSPointerEnter:"pointerenter",MSPointerHover:"pointerhover",MSPointerLeave:"pointerleave",MSPointerMove:"pointermove",MSPointerOut:"pointerout",MSPointerOver:"pointerover",MSPointerUp:"pointerup"},W=0;W<P.length;W++){var G=P[W],ft=T+(G+O),It=T+(G+S);p[G]={},p[G][O]=ft,p[G][S]=It}for(var bt=0;bt<V.length;bt++)for(var Ht=V[bt],Dt=y[Ht]={},Ot=0;Ot<P.length;Ot++){var kt=P[Ot];Dt[kt]=Ht+".addEventListener:"+kt}for(var Lt=[],he=0;he<C.length;he++){var Pe=v[C[he]];Lt.push(Pe&&Pe.prototype)}E.patchEventTarget(v,Lt,{vh:function(Qt,ae,le,ge){if(!at&&Y)if(nt)try{var Se=ae.toString();if(Se===b||Se==U)return Qt.apply(le,ge),!1}catch(je){return Qt.apply(le,ge),!1}else{var ce=ae.toString();if(ce===b||ce==U)return Qt.apply(le,ge),!1}else if(nt)try{ae.toString()}catch(je){return Qt.apply(le,ge),!1}return!0},transferEventName:function(Qt){return Z[Qt]||Qt}}),Zone[E.symbol("patchEventTarget")]=!!v[M]})(y,S),function(v,E){var g=v.getGlobalObjects();if((!g.isNode||g.isMix)&&!function(v,E){var g=v.getGlobalObjects();if((g.isBrowser||g.isMix)&&!v.ObjectGetOwnPropertyDescriptor(HTMLElement.prototype,"onclick")&&"undefined"!=typeof Element){var p=v.ObjectGetOwnPropertyDescriptor(Element.prototype,"onclick");if(p&&!p.configurable)return!1;if(p){v.ObjectDefineProperty(Element.prototype,"onclick",{enumerable:!0,configurable:!0,get:function(){return!0}});var O=!!document.createElement("div").onclick;return v.ObjectDefineProperty(Element.prototype,"onclick",p),O}}var T=E.XMLHttpRequest;if(!T)return!1;var j="onreadystatechange",x=T.prototype,M=v.ObjectGetOwnPropertyDescriptor(x,j);if(M){v.ObjectDefineProperty(x,j,{enumerable:!0,configurable:!0,get:function(){return!0}});var w=!!(new T).onreadystatechange;return v.ObjectDefineProperty(x,j,M||{}),w}var V=v.symbol("fake");v.ObjectDefineProperty(x,j,{enumerable:!0,configurable:!0,get:function(){return this[V]},set:function(b){this[V]=b}});var at=new T,nt=function(){};at.onreadystatechange=nt;var Y=at[V]===nt;return at.onreadystatechange=null,Y}(v,E)){var p="undefined"!=typeof WebSocket;(function(v){for(var g=v.getGlobalObjects().eventNames,P=v.symbol("unbound"),y=function(O){var T=g[O],j="on"+T;self.addEventListener(T,function(x){var C,w,M=x.target;for(w=M?M.constructor.name+"."+j:"unknown."+j;M;)M[j]&&!M[j][P]&&((C=v.wrapWithCurrentZone(M[j],w))[P]=M[j],M[j]=C),M=M.parentElement},!0)},p=0;p<g.length;p++)y(p)})(v),v.patchClass("XMLHttpRequest"),p&&function(v,E){var g=v.getGlobalObjects(),P=g.ADD_EVENT_LISTENER_STR,y=g.REMOVE_EVENT_LISTENER_STR,p=E.WebSocket;E.EventTarget||v.patchEventTarget(E,[p.prototype]),E.WebSocket=function(T,j){var M,C,x=arguments.length>1?new p(T,j):new p(T),w=v.ObjectGetOwnPropertyDescriptor(x,"onmessage");return w&&!1===w.configurable?(M=v.ObjectCreate(x),C=x,[P,y,"send","close"].forEach(function(V){M[V]=function(){var at=v.ArraySlice.call(arguments);if(V===P||V===y){var nt=at.length>0?at[0]:void 0;if(nt){var Y=Zone.__symbol__("ON_PROPERTY"+nt);x[Y]=M[Y]}}return x[V].apply(x,at)}})):M=x,v.patchOnProperties(M,["close","error","message","open"],C),M};var S=E.WebSocket;for(var O in p)S[O]=p[O]}(v,E),Zone[v.symbol("patchEvents")]=!0}}(S,y)})}},18787:function(o,c,t){"use strict";var e=t(76567).default,r=t(45478).default,n=t(29545).default,s=(function(R){var A=R.performance;function F(ut){A&&A.mark&&A.mark(ut)}function _(ut,rt){A&&A.measure&&A.measure(ut,rt)}F("Zone");var $=R.__Zone_symbol_prefix||"__zone_symbol__";function J(ut){return $+ut}var q=!0===R[J("forceDuplicateZoneCheck")];if(R.Zone){if(q||"function"!=typeof R.Zone.__symbol__)throw new Error("Zone already loaded.");return R.Zone}var ct=function(){function ut(rt,D){r(this,ut),this._parent=rt,this._name=D?D.name||"unnamed":"<root>",this._properties=D&&D.properties||{},this._zoneDelegate=new lt(this,this._parent&&this._parent._zoneDelegate,D)}return n(ut,[{key:"parent",get:function(){return this._parent}},{key:"name",get:function(){return this._name}},{key:"get",value:function(D){var L=this.getZoneWith(D);if(L)return L._properties[D]}},{key:"getZoneWith",value:function(D){for(var L=this;L;){if(L._properties.hasOwnProperty(D))return L;L=L._parent}return null}},{key:"fork",value:function(D){if(!D)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,D)}},{key:"wrap",value:function(D,L){if("function"!=typeof D)throw new Error("Expecting function got: "+D);var et=this._zoneDelegate.intercept(this,D,L),Et=this;return function(){return Et.runGuarded(et,this,arguments,L)}}},{key:"run",value:function(D,L,et,Et){Nt={parent:Nt,zone:this};try{return this._zoneDelegate.invoke(this,D,L,et,Et)}finally{Nt=Nt.parent}}},{key:"runGuarded",value:function(D){var L=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,et=arguments.length>2?arguments[2]:void 0,Et=arguments.length>3?arguments[3]:void 0;Nt={parent:Nt,zone:this};try{try{return this._zoneDelegate.invoke(this,D,L,et,Et)}catch(Vt){if(this._zoneDelegate.handleError(this,Vt))throw Vt}}finally{Nt=Nt.parent}}},{key:"runTask",value:function(D,L,et){if(D.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(D.zone||Kt).name+"; Execution: "+this.name+")");if(D.state!==Bt||D.type!==Mt&&D.type!==qt){var Et=D.state!=Tt;Et&&D._transitionTo(Tt,Zt),D.runCount++;var Vt=De;De=D,Nt={parent:Nt,zone:this};try{D.type==qt&&D.data&&!D.data.isPeriodic&&(D.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,D,L,et)}catch(Q){if(this._zoneDelegate.handleError(this,Q))throw Q}}finally{D.state!==Bt&&D.state!==_t&&(D.type==Mt||D.data&&D.data.isPeriodic?Et&&D._transitionTo(Zt,Tt):(D.runCount=0,this._updateTaskCount(D,-1),Et&&D._transitionTo(Bt,Tt,Bt))),Nt=Nt.parent,De=Vt}}}},{key:"scheduleTask",value:function(D){if(D.zone&&D.zone!==this)for(var L=this;L;){if(L===D.zone)throw Error("can not reschedule task to ".concat(this.name," which is descendants of the original zone ").concat(D.zone.name));L=L.parent}D._transitionTo(zt,Bt);var et=[];D._zoneDelegates=et,D._zone=this;try{D=this._zoneDelegate.scheduleTask(this,D)}catch(Et){throw D._transitionTo(_t,zt,Bt),this._zoneDelegate.handleError(this,Et),Et}return D._zoneDelegates===et&&this._updateTaskCount(D,1),D.state==zt&&D._transitionTo(Zt,zt),D}},{key:"scheduleMicroTask",value:function(D,L,et,Et){return this.scheduleTask(new gt(de,D,L,et,Et,void 0))}},{key:"scheduleMacroTask",value:function(D,L,et,Et,Vt){return this.scheduleTask(new gt(qt,D,L,et,Et,Vt))}},{key:"scheduleEventTask",value:function(D,L,et,Et,Vt){return this.scheduleTask(new gt(Mt,D,L,et,Et,Vt))}},{key:"cancelTask",value:function(D){if(D.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(D.zone||Kt).name+"; Execution: "+this.name+")");D._transitionTo(ie,Zt,Tt);try{this._zoneDelegate.cancelTask(this,D)}catch(L){throw D._transitionTo(_t,ie),this._zoneDelegate.handleError(this,L),L}return this._updateTaskCount(D,-1),D._transitionTo(Bt,ie),D.runCount=0,D}},{key:"_updateTaskCount",value:function(D,L){var et=D._zoneDelegates;-1==L&&(D._zoneDelegates=null);for(var Et=0;Et<et.length;Et++)et[Et]._updateTaskCount(D.type,L)}}],[{key:"assertZonePatched",value:function(){if(R.Promise!==$t.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}},{key:"root",get:function(){for(var D=ut.current;D.parent;)D=D.parent;return D}},{key:"current",get:function(){return Nt.zone}},{key:"currentTask",get:function(){return De}},{key:"__load_patch",value:function(D,L){var et=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if($t.hasOwnProperty(D)){if(!et&&q)throw Error("Already loaded patch: "+D)}else if(!R["__Zone_disable_"+D]){var Et="Zone:"+D;F(Et),$t[D]=L(R,ut,xt),_(Et,Et)}}}]),ut}();ct.__symbol__=J;var re,vt={name:"",onHasTask:function(rt,D,L,et){return rt.hasTask(L,et)},onScheduleTask:function(rt,D,L,et){return rt.scheduleTask(L,et)},onInvokeTask:function(rt,D,L,et,Et,Vt){return rt.invokeTask(L,et,Et,Vt)},onCancelTask:function(rt,D,L,et){return rt.cancelTask(L,et)}},lt=function(){function ut(rt,D,L){r(this,ut),this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=rt,this._parentDelegate=D,this._forkZS=L&&(L&&L.onFork?L:D._forkZS),this._forkDlgt=L&&(L.onFork?D:D._forkDlgt),this._forkCurrZone=L&&(L.onFork?this.zone:D._forkCurrZone),this._interceptZS=L&&(L.onIntercept?L:D._interceptZS),this._interceptDlgt=L&&(L.onIntercept?D:D._interceptDlgt),this._interceptCurrZone=L&&(L.onIntercept?this.zone:D._interceptCurrZone),this._invokeZS=L&&(L.onInvoke?L:D._invokeZS),this._invokeDlgt=L&&(L.onInvoke?D:D._invokeDlgt),this._invokeCurrZone=L&&(L.onInvoke?this.zone:D._invokeCurrZone),this._handleErrorZS=L&&(L.onHandleError?L:D._handleErrorZS),this._handleErrorDlgt=L&&(L.onHandleError?D:D._handleErrorDlgt),this._handleErrorCurrZone=L&&(L.onHandleError?this.zone:D._handleErrorCurrZone),this._scheduleTaskZS=L&&(L.onScheduleTask?L:D._scheduleTaskZS),this._scheduleTaskDlgt=L&&(L.onScheduleTask?D:D._scheduleTaskDlgt),this._scheduleTaskCurrZone=L&&(L.onScheduleTask?this.zone:D._scheduleTaskCurrZone),this._invokeTaskZS=L&&(L.onInvokeTask?L:D._invokeTaskZS),this._invokeTaskDlgt=L&&(L.onInvokeTask?D:D._invokeTaskDlgt),this._invokeTaskCurrZone=L&&(L.onInvokeTask?this.zone:D._invokeTaskCurrZone),this._cancelTaskZS=L&&(L.onCancelTask?L:D._cancelTaskZS),this._cancelTaskDlgt=L&&(L.onCancelTask?D:D._cancelTaskDlgt),this._cancelTaskCurrZone=L&&(L.onCancelTask?this.zone:D._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var et=L&&L.onHasTask;(et||D&&D._hasTaskZS)&&(this._hasTaskZS=et?L:vt,this._hasTaskDlgt=D,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=rt,L.onScheduleTask||(this._scheduleTaskZS=vt,this._scheduleTaskDlgt=D,this._scheduleTaskCurrZone=this.zone),L.onInvokeTask||(this._invokeTaskZS=vt,this._invokeTaskDlgt=D,this._invokeTaskCurrZone=this.zone),L.onCancelTask||(this._cancelTaskZS=vt,this._cancelTaskDlgt=D,this._cancelTaskCurrZone=this.zone))}return n(ut,[{key:"fork",value:function(D,L){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,D,L):new ct(D,L)}},{key:"intercept",value:function(D,L,et){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,D,L,et):L}},{key:"invoke",value:function(D,L,et,Et,Vt){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,D,L,et,Et,Vt):L.apply(et,Et)}},{key:"handleError",value:function(D,L){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,D,L)}},{key:"scheduleTask",value:function(D,L){var et=L;if(this._scheduleTaskZS)this._hasTaskZS&&et._zoneDelegates.push(this._hasTaskDlgtOwner),(et=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,D,L))||(et=L);else if(L.scheduleFn)L.scheduleFn(L);else{if(L.type!=de)throw new Error("Task is missing scheduleFn.");Gt(L)}return et}},{key:"invokeTask",value:function(D,L,et,Et){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,D,L,et,Et):L.callback.apply(et,Et)}},{key:"cancelTask",value:function(D,L){var et;if(this._cancelTaskZS)et=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,D,L);else{if(!L.cancelFn)throw Error("Task is not cancelable");et=L.cancelFn(L)}return et}},{key:"hasTask",value:function(D,L){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,D,L)}catch(et){this.handleError(D,et)}}},{key:"_updateTaskCount",value:function(D,L){var et=this._taskCounts,Et=et[D],Vt=et[D]=Et+L;if(Vt<0)throw new Error("More tasks executed then were scheduled.");0!=Et&&0!=Vt||this.hasTask(this.zone,{microTask:et.microTask>0,macroTask:et.macroTask>0,eventTask:et.eventTask>0,change:D})}}]),ut}(),gt=function(){function ut(rt,D,L,et,Et,Vt){if(r(this,ut),this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=rt,this.source=D,this.data=et,this.scheduleFn=Et,this.cancelFn=Vt,!L)throw new Error("callback is not defined");this.callback=L;var Q=this;this.invoke=rt===Mt&&et&&et.useG?ut.invokeTask:function(){return ut.invokeTask.call(R,Q,this,arguments)}}return n(ut,[{key:"zone",get:function(){return this._zone}},{key:"state",get:function(){return this._state}},{key:"cancelScheduleRequest",value:function(){this._transitionTo(Bt,zt)}},{key:"_transitionTo",value:function(D,L,et){if(this._state!==L&&this._state!==et)throw new Error("".concat(this.type," '").concat(this.source,"': can not transition to '").concat(D,"', expecting state '").concat(L,"'").concat(et?" or '"+et+"'":"",", was '").concat(this._state,"'."));this._state=D,D==Bt&&(this._zoneDelegates=null)}},{key:"toString",value:function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}},{key:"toJSON",value:function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}],[{key:"invokeTask",value:function(D,L,et){D||(D=this),Oe++;try{return D.runCount++,D.zone.runTask(D,L,et)}finally{1==Oe&&k(),Oe--}}}]),ut}(),dt=J("setTimeout"),pt=J("Promise"),jt=J("then"),wt=[],Wt=!1;function Gt(ut){if(0===Oe&&0===wt.length)if(re||R[pt]&&(re=R[pt].resolve(0)),re){var rt=re[jt];rt||(rt=re.then),rt.call(re,k)}else R[dt](k,0);ut&&wt.push(ut)}function k(){if(!Wt){for(Wt=!0;wt.length;){var ut=wt;wt=[];for(var rt=0;rt<ut.length;rt++){var D=ut[rt];try{D.zone.runTask(D,null,null)}catch(L){xt.onUnhandledError(L)}}}xt.microtaskDrainDone(),Wt=!1}}var Kt={name:"NO ZONE"},Bt="notScheduled",zt="scheduling",Zt="scheduled",Tt="running",ie="canceling",_t="unknown",de="microTask",qt="macroTask",Mt="eventTask",$t={},xt={symbol:J,currentZoneFrame:function(){return Nt},onUnhandledError:Xt,microtaskDrainDone:Xt,scheduleMicroTask:Gt,showUncaughtError:function(){return!ct[J("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:Xt,patchMethod:function(){return Xt},bindArguments:function(){return[]},patchThen:function(){return Xt},patchMacroTask:function(){return Xt},patchEventPrototype:function(){return Xt},isIEOrEdge:function(){return!1},getGlobalObjects:function(){},ObjectDefineProperty:function(){return Xt},ObjectGetOwnPropertyDescriptor:function(){},ObjectCreate:function(){},ArraySlice:function(){return[]},patchClass:function(){return Xt},wrapWithCurrentZone:function(){return Xt},filterProperties:function(){return[]},attachOriginToPatched:function(){return Xt},_redefineProperty:function(){return Xt},patchCallbacks:function(){return Xt}},Nt={parent:null,zone:new ct(null,null)},De=null,Oe=0;function Xt(){}_("Zone","Zone"),R.Zone=ct}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global),Object.getOwnPropertyDescriptor),i=Object.defineProperty,u=Object.getPrototypeOf,f=Object.create,l=Array.prototype.slice,d="addEventListener",h="removeEventListener",m=Zone.__symbol__(d),I=Zone.__symbol__(h),v="true",E="false",g=Zone.__symbol__("");function P(R,A){return Zone.current.wrap(R,A)}function y(R,A,F,_,$){return Zone.current.scheduleMacroTask(R,A,F,_,$)}var p=Zone.__symbol__,S="undefined"!=typeof window,O=S?window:void 0,T=S&&O||"object"==typeof self&&self||global,x=[null];function M(R,A){for(var F=R.length-1;F>=0;F--)"function"==typeof R[F]&&(R[F]=P(R[F],A+"_"+F));return R}function w(R){return!R||!1!==R.writable&&!("function"==typeof R.get&&void 0===R.set)}var V="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,at=!("nw"in T)&&void 0!==T.process&&"[object process]"==={}.toString.call(T.process),nt=!at&&!V&&!(!S||!O.HTMLElement),Y=void 0!==T.process&&"[object process]"==={}.toString.call(T.process)&&!V&&!(!S||!O.HTMLElement),N={},b=function(A){if(A=A||T.event){var F=N[A.type];F||(F=N[A.type]=p("ON_PROPERTY"+A.type));var J,_=this||A.target||T,$=_[F];if(nt&&_===O&&"error"===A.type){var q=A;!0===(J=$&&$.call(this,q.message,q.filename,q.lineno,q.colno,q.error))&&A.preventDefault()}else null!=(J=$&&$.apply(this,arguments))&&!J&&A.preventDefault();return J}};function U(R,A,F){var _=s(R,A);if(!_&&F&&s(F,A)&&(_={enumerable:!0,configurable:!0}),_&&_.configurable){var J=p("on"+A+"patched");if(!R.hasOwnProperty(J)||!R[J]){delete _.writable,delete _.value;var q=_.get,ct=_.set,vt=A.substr(2),lt=N[vt];lt||(lt=N[vt]=p("ON_PROPERTY"+vt)),_.set=function(gt){var dt=this;!dt&&R===T&&(dt=T),dt&&(dt[lt]&&dt.removeEventListener(vt,b),ct&&ct.apply(dt,x),"function"==typeof gt?(dt[lt]=gt,dt.addEventListener(vt,b,!1)):dt[lt]=null)},_.get=function(){var gt=this;if(!gt&&R===T&&(gt=T),!gt)return null;var dt=gt[lt];if(dt)return dt;if(q){var pt=q&&q.call(this);if(pt)return _.set.call(this,pt),"function"==typeof gt.removeAttribute&&gt.removeAttribute(A),pt}return null},i(R,A,_),R[J]=!0}}}function Z(R,A,F){if(A)for(var _=0;_<A.length;_++)U(R,"on"+A[_],F);else{var $=[];for(var J in R)"on"==J.substr(0,2)&&$.push(J);for(var q=0;q<$.length;q++)U(R,$[q],F)}}var W=p("originalInstance");function G(R){var A=T[R];if(A){T[p(R)]=A,T[R]=function(){var $=M(arguments,R);switch($.length){case 0:this[W]=new A;break;case 1:this[W]=new A($[0]);break;case 2:this[W]=new A($[0],$[1]);break;case 3:this[W]=new A($[0],$[1],$[2]);break;case 4:this[W]=new A($[0],$[1],$[2],$[3]);break;default:throw new Error("Arg list too long.")}},ft(T[R],A);var _,F=new A(function(){});for(_ in F)"XMLHttpRequest"===R&&"responseBlob"===_||function($){"function"==typeof F[$]?T[R].prototype[$]=function(){return this[W][$].apply(this[W],arguments)}:i(T[R].prototype,$,{set:function(q){"function"==typeof q?(this[W][$]=P(q,R+"."+$),ft(this[W][$],q)):this[W][$]=q},get:function(){return this[W][$]}})}(_);for(_ in A)"prototype"!==_&&A.hasOwnProperty(_)&&(T[R][_]=A[_])}}function ot(R,A,F){for(var _=R;_&&!_.hasOwnProperty(A);)_=u(_);!_&&R[A]&&(_=R);var $=p(A),J=null;if(_&&(!(J=_[$])||!_.hasOwnProperty($))&&(J=_[$]=_[A],w(_&&s(_,A)))){var ct=F(J,$,A);_[A]=function(){return ct(this,arguments)},ft(_[A],J)}return J}function St(R,A,F){var _=null;function $(J){var q=J.data;return q.args[q.cbIdx]=function(){J.invoke.apply(this,arguments)},_.apply(q.target,q.args),J}_=ot(R,A,function(J){return function(q,ct){var vt=F(q,ct);return vt.cbIdx>=0&&"function"==typeof ct[vt.cbIdx]?y(vt.name,ct[vt.cbIdx],vt,$):J.apply(q,ct)}})}function ft(R,A){R[p("OriginalDelegate")]=A}var It=!1,bt=!1;function Dt(){if(It)return bt;It=!0;try{var R=O.navigator.userAgent;(-1!==R.indexOf("MSIE ")||-1!==R.indexOf("Trident/")||-1!==R.indexOf("Edge/"))&&(bt=!0)}catch(A){}return bt}Zone.__load_patch("ZoneAwarePromise",function(R,A,F){var _=Object.getOwnPropertyDescriptor,$=Object.defineProperty,q=F.symbol,ct=[],vt=!0===R[q("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],lt=q("Promise"),gt=q("then");F.onUnhandledError=function(Q){if(F.showUncaughtError()){var mt=Q&&Q.rejection;mt?console.error("Unhandled Promise rejection:",mt instanceof Error?mt.message:mt,"; Zone:",Q.zone.name,"; Task:",Q.task&&Q.task.source,"; Value:",mt,mt instanceof Error?mt.stack:void 0):console.error(Q)}},F.microtaskDrainDone=function(){for(var Q=function(){var H=ct.shift();try{H.zone.runGuarded(function(){throw H.throwOriginal?H.rejection:H})}catch(z){!function(Q){F.onUnhandledError(Q);try{var mt=A[pt];"function"==typeof mt&&mt.call(this,Q)}catch(H){}}(z)}};ct.length;)Q()};var pt=q("unhandledPromiseRejectionHandler");function wt(Q){return Q&&Q.then}function Wt(Q){return Q}function re(Q){return D.reject(Q)}var Gt=q("state"),k=q("value"),Kt=q("finally"),Bt=q("parentPromiseValue"),zt=q("parentPromiseState"),Tt=null,_t=!1;function qt(Q,mt){return function(H){try{Nt(Q,mt,H)}catch(z){Nt(Q,!1,z)}}}var xt=q("currentTaskTrace");function Nt(Q,mt,H){var z=function(){var mt=!1;return function(z){return function(){mt||(mt=!0,z.apply(null,arguments))}}}();if(Q===H)throw new TypeError("Promise resolved with itself");if(Q[Gt]===Tt){var it=null;try{("object"==typeof H||"function"==typeof H)&&(it=H&&H.then)}catch(Ft){return z(function(){Nt(Q,!1,Ft)})(),Q}if(mt!==_t&&H instanceof D&&H.hasOwnProperty(Gt)&&H.hasOwnProperty(k)&&H[Gt]!==Tt)Oe(H),Nt(Q,H[Gt],H[k]);else if(mt!==_t&&"function"==typeof it)try{it.call(H,z(qt(Q,mt)),z(qt(Q,!1)))}catch(Ft){z(function(){Nt(Q,!1,Ft)})()}else{Q[Gt]=mt;var ht=Q[k];if(Q[k]=H,Q[Kt]===Kt&&!0===mt&&(Q[Gt]=Q[zt],Q[k]=Q[Bt]),mt===_t&&H instanceof Error){var Pt=A.currentTask&&A.currentTask.data&&A.currentTask.data.__creationTrace__;Pt&&$(H,xt,{configurable:!0,enumerable:!1,writable:!0,value:Pt})}for(var yt=0;yt<ht.length;)Xt(Q,ht[yt++],ht[yt++],ht[yt++],ht[yt++]);if(0==ht.length&&mt==_t){Q[Gt]=0;var Ct=H;try{throw new Error("Uncaught (in promise): "+function(Q){return Q&&Q.toString===Object.prototype.toString?(Q.constructor&&Q.constructor.name||"")+": "+JSON.stringify(Q):Q?Q.toString():Object.prototype.toString.call(Q)}(H)+(H&&H.stack?"\n"+H.stack:""))}catch(Ft){Ct=Ft}vt&&(Ct.throwOriginal=!0),Ct.rejection=H,Ct.promise=Q,Ct.zone=A.current,Ct.task=A.currentTask,ct.push(Ct),F.scheduleMicroTask()}}}return Q}var De=q("rejectionHandledHandler");function Oe(Q){if(0===Q[Gt]){try{var mt=A[De];mt&&"function"==typeof mt&&mt.call(this,{rejection:Q[k],promise:Q})}catch(z){}Q[Gt]=_t;for(var H=0;H<ct.length;H++)Q===ct[H].promise&&ct.splice(H,1)}}function Xt(Q,mt,H,z,it){Oe(Q);var ht=Q[Gt],Pt=ht?"function"==typeof z?z:Wt:"function"==typeof it?it:re;mt.scheduleMicroTask("Promise.then",function(){try{var yt=Q[k],Ct=!!H&&Kt===H[Kt];Ct&&(H[Bt]=yt,H[zt]=ht);var Ft=mt.run(Pt,void 0,Ct&&Pt!==re&&Pt!==Wt?[]:[yt]);Nt(H,!0,Ft)}catch(At){Nt(H,!1,At)}},H)}var rt=function(){},D=function(Q,mt){function H(z){r(this,H);var it=this;if(!(it instanceof H))throw new Error("Must be an instanceof Promise.");it[Gt]=Tt,it[k]=[];try{z&&z(qt(it,!0),qt(it,_t))}catch(ht){Nt(it,!1,ht)}}return n(H,[{key:Q,get:function(){return"Promise"}},{key:mt,get:function(){return H}},{key:"then",value:function(it,ht){var Pt=this.constructor[Symbol.species];(!Pt||"function"!=typeof Pt)&&(Pt=this.constructor||H);var yt=new Pt(rt),Ct=A.current;return this[Gt]==Tt?this[k].push(Ct,yt,it,ht):Xt(this,Ct,yt,it,ht),yt}},{key:"catch",value:function(it){return this.then(null,it)}},{key:"finally",value:function(it){var ht=this.constructor[Symbol.species];(!ht||"function"!=typeof ht)&&(ht=H);var Pt=new ht(rt);Pt[Kt]=Kt;var yt=A.current;return this[Gt]==Tt?this[k].push(yt,Pt,it,it):Xt(this,yt,Pt,it,it),Pt}}],[{key:"toString",value:function(){return"function ZoneAwarePromise() { [native code] }"}},{key:"resolve",value:function(it){return Nt(new this(null),!0,it)}},{key:"reject",value:function(it){return Nt(new this(null),_t,it)}},{key:"race",value:function(it){var ht,Pt,yt=new this(function(te,oe){ht=te,Pt=oe});function Ct(te){ht(te)}function Ft(te){Pt(te)}var Yt,At=e(it);try{for(At.s();!(Yt=At.n()).done;){var ne=Yt.value;wt(ne)||(ne=this.resolve(ne)),ne.then(Ct,Ft)}}catch(te){At.e(te)}finally{At.f()}return yt}},{key:"all",value:function(it){return H.allWithCallback(it)}},{key:"allSettled",value:function(it){return(this&&this.prototype instanceof H?this:H).allWithCallback(it,{thenCallback:function(yt){return{status:"fulfilled",value:yt}},errorCallback:function(yt){return{status:"rejected",reason:yt}}})}},{key:"allWithCallback",value:function(it,ht){var yt,Ct,oe,Pt=this,Ft=new this(function(pe,Te){yt=pe,Ct=Te}),At=2,Yt=0,ne=[],te=e(it);try{var Re=function(){var Te=oe.value;wt(Te)||(Te=Pt.resolve(Te));var Fe=Yt;try{Te.then(function(ue){ne[Fe]=ht?ht.thenCallback(ue):ue,0==--At&&yt(ne)},function(ue){ht?(ne[Fe]=ht.errorCallback(ue),0==--At&&yt(ne)):Ct(ue)})}catch(ue){Ct(ue)}At++,Yt++};for(te.s();!(oe=te.n()).done;)Re()}catch(pe){te.e(pe)}finally{te.f()}return 0==(At-=2)&&yt(ne),Ft}}]),H}(Symbol.toStringTag,Symbol.species);D.resolve=D.resolve,D.reject=D.reject,D.race=D.race,D.all=D.all;var L=R[lt]=R.Promise;R.Promise=D;var et=q("thenPatched");function Et(Q){var mt=Q.prototype,H=_(mt,"then");if(!H||!1!==H.writable&&H.configurable){var z=mt.then;mt[gt]=z,Q.prototype.then=function(it,ht){var Pt=this;return new D(function(Ct,Ft){z.call(Pt,Ct,Ft)}).then(it,ht)},Q[et]=!0}}return F.patchThen=Et,L&&(Et(L),ot(R,"fetch",function(Q){return function(Q){return function(mt,H){var z=Q.apply(mt,H);if(z instanceof D)return z;var it=z.constructor;return it[et]||Et(it),z}}(Q)})),Promise[A.__symbol__("uncaughtPromiseErrors")]=ct,D}),Zone.__load_patch("toString",function(R){var A=Function.prototype.toString,F=p("OriginalDelegate"),_=p("Promise"),$=p("Error"),J=function(){if("function"==typeof this){var lt=this[F];if(lt)return"function"==typeof lt?A.call(lt):Object.prototype.toString.call(lt);if(this===Promise){var gt=R[_];if(gt)return A.call(gt)}if(this===Error){var dt=R[$];if(dt)return A.call(dt)}}return A.call(this)};J[F]=A,Function.prototype.toString=J;var q=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":q.call(this)}});var Ot=!1;if("undefined"!=typeof window)try{var kt=Object.defineProperty({},"passive",{get:function(){Ot=!0}});window.addEventListener("test",kt,kt),window.removeEventListener("test",kt,kt)}catch(R){Ot=!1}var fe={useG:!0},Lt={},he={},Pe=new RegExp("^"+g+"(\\w+)(true|false)$"),Jt=p("propagationStopped");function Qt(R,A){var F=(A?A(R):R)+E,_=(A?A(R):R)+v,$=g+F,J=g+_;Lt[R]={},Lt[R][E]=$,Lt[R][v]=J}function ae(R,A,F){var _=F&&F.add||d,$=F&&F.rm||h,J=F&&F.listeners||"eventListeners",q=F&&F.rmAll||"removeAllListeners",ct=p(_),vt="."+_+":",dt=function(k,Kt,Bt){if(!k.isRemoved){var zt=k.callback;"object"==typeof zt&&zt.handleEvent&&(k.callback=function(ie){return zt.handleEvent(ie)},k.originalDelegate=zt),k.invoke(k,Kt,[Bt]);var Zt=k.options;Zt&&"object"==typeof Zt&&Zt.once&&Kt[$].call(Kt,Bt.type,k.originalDelegate?k.originalDelegate:k.callback,Zt)}},pt=function(k){if(k=k||R.event){var Kt=this||k.target||R,Bt=Kt[Lt[k.type][E]];if(Bt)if(1===Bt.length)dt(Bt[0],Kt,k);else for(var zt=Bt.slice(),Zt=0;Zt<zt.length&&(!k||!0!==k[Jt]);Zt++)dt(zt[Zt],Kt,k)}},jt=function(k){if(k=k||R.event){var Kt=this||k.target||R,Bt=Kt[Lt[k.type][v]];if(Bt)if(1===Bt.length)dt(Bt[0],Kt,k);else for(var zt=Bt.slice(),Zt=0;Zt<zt.length&&(!k||!0!==k[Jt]);Zt++)dt(zt[Zt],Kt,k)}};function wt(Gt,k){if(!Gt)return!1;var Kt=!0;k&&void 0!==k.useG&&(Kt=k.useG);var Bt=k&&k.vh,zt=!0;k&&void 0!==k.chkDup&&(zt=k.chkDup);var Zt=!1;k&&void 0!==k.rt&&(Zt=k.rt);for(var Tt=Gt;Tt&&!Tt.hasOwnProperty(_);)Tt=u(Tt);if(!Tt&&Gt[_]&&(Tt=Gt),!Tt||Tt[ct])return!1;var xt,ie=k&&k.eventNameToString,_t={},de=Tt[ct]=Tt[_],qt=Tt[p($)]=Tt[$],Mt=Tt[p(J)]=Tt[J],$t=Tt[p(q)]=Tt[q];function Nt(H,z){return!Ot&&"object"==typeof H&&H?!!H.capture:Ot&&z?"boolean"==typeof H?{capture:H,passive:!0}:H?"object"==typeof H&&!1!==H.passive?Object.assign(Object.assign({},H),{passive:!0}):H:{passive:!0}:H}k&&k.prepend&&(xt=Tt[p(k.prepend)]=Tt[k.prepend]);var D=Kt?function(z){if(!_t.isExisting)return de.call(_t.target,_t.eventName,_t.capture?jt:pt,_t.options)}:function(z){return de.call(_t.target,_t.eventName,z.invoke,_t.options)},L=Kt?function(z){if(!z.isRemoved){var ht,it=Lt[z.eventName];it&&(ht=it[z.capture?v:E]);var Pt=ht&&z.target[ht];if(Pt)for(var yt=0;yt<Pt.length;yt++)if(Pt[yt]===z){Pt.splice(yt,1),z.isRemoved=!0,0===Pt.length&&(z.allRemoved=!0,z.target[ht]=null);break}}if(z.allRemoved)return qt.call(z.target,z.eventName,z.capture?jt:pt,z.options)}:function(z){return qt.call(z.target,z.eventName,z.invoke,z.options)},Et=k&&k.diff?k.diff:function(z,it){var ht=typeof it;return"function"===ht&&z.callback===it||"object"===ht&&z.originalDelegate===it},Vt=Zone[p("UNPATCHED_EVENTS")],Q=R[p("PASSIVE_EVENTS")],mt=function(z,it,ht,Pt){var yt=arguments.length>4&&void 0!==arguments[4]&&arguments[4],Ct=arguments.length>5&&void 0!==arguments[5]&&arguments[5];return function(){var Ft=this||R,At=arguments[0];k&&k.transferEventName&&(At=k.transferEventName(At));var Yt=arguments[1];if(!Yt)return z.apply(this,arguments);if(at&&"uncaughtException"===At)return z.apply(this,arguments);var ne=!1;if("function"!=typeof Yt){if(!Yt.handleEvent)return z.apply(this,arguments);ne=!0}if(!Bt||Bt(z,Yt,Ft,arguments)){var te=Ot&&!!Q&&-1!==Q.indexOf(At),oe=Nt(arguments[2],te);if(Vt)for(var Re=0;Re<Vt.length;Re++)if(At===Vt[Re])return te?z.call(Ft,At,Yt,oe):z.apply(this,arguments);var pe=!!oe&&("boolean"==typeof oe||oe.capture),Te=!(!oe||"object"!=typeof oe)&&oe.once,Fe=Zone.current,ue=Lt[At];ue||(Qt(At,ie),ue=Lt[At]);var Ue=ue[pe?v:E],be=Ft[Ue],He=!1;if(be){if(He=!0,zt)for(var we=0;we<be.length;we++)if(Et(be[we],Yt))return}else be=Ft[Ue]=[];var Ge,Ze=Ft.constructor.name,ze=he[Ze];ze&&(Ge=ze[At]),Ge||(Ge=Ze+it+(ie?ie(At):At)),_t.options=oe,Te&&(_t.options.once=!1),_t.target=Ft,_t.capture=pe,_t.eventName=At,_t.isExisting=He;var Ke=Kt?fe:void 0;Ke&&(Ke.taskData=_t);var Ne=Fe.scheduleEventTask(Ge,Yt,Ke,ht,Pt);if(_t.target=null,Ke&&(Ke.taskData=null),Te&&(oe.once=!0),!Ot&&"boolean"==typeof Ne.options||(Ne.options=oe),Ne.target=Ft,Ne.capture=pe,Ne.eventName=At,ne&&(Ne.originalDelegate=Yt),Ct?be.unshift(Ne):be.push(Ne),yt)return Ft}}};return Tt[_]=mt(de,vt,D,L,Zt),xt&&(Tt.prependListener=mt(xt,".prependListener:",function(z){return xt.call(_t.target,_t.eventName,z.invoke,_t.options)},L,Zt,!0)),Tt[$]=function(){var H=this||R,z=arguments[0];k&&k.transferEventName&&(z=k.transferEventName(z));var it=arguments[2],ht=!!it&&("boolean"==typeof it||it.capture),Pt=arguments[1];if(!Pt)return qt.apply(this,arguments);if(!Bt||Bt(qt,Pt,H,arguments)){var Ct,yt=Lt[z];yt&&(Ct=yt[ht?v:E]);var Ft=Ct&&H[Ct];if(Ft)for(var At=0;At<Ft.length;At++){var Yt=Ft[At];if(Et(Yt,Pt)){if(Ft.splice(At,1),Yt.isRemoved=!0,0===Ft.length&&(Yt.allRemoved=!0,H[Ct]=null,"string"==typeof z)){var ne=g+"ON_PROPERTY"+z;H[ne]=null}return Yt.zone.cancelTask(Yt),Zt?H:void 0}}return qt.apply(this,arguments)}},Tt[J]=function(){var H=this||R,z=arguments[0];k&&k.transferEventName&&(z=k.transferEventName(z));for(var it=[],ht=le(H,ie?ie(z):z),Pt=0;Pt<ht.length;Pt++){var yt=ht[Pt],Ct=yt.originalDelegate?yt.originalDelegate:yt.callback;it.push(Ct)}return it},Tt[q]=function(){var H=this||R,z=arguments[0];if(z){k&&k.transferEventName&&(z=k.transferEventName(z));var Ft=Lt[z];if(Ft){var At=Ft[E],Yt=Ft[v],ne=H[At],te=H[Yt];if(ne)for(var oe=ne.slice(),Re=0;Re<oe.length;Re++){var pe=oe[Re],Te=pe.originalDelegate?pe.originalDelegate:pe.callback;this[$].call(this,z,Te,pe.options)}if(te)for(var Fe=te.slice(),ue=0;ue<Fe.length;ue++){var Ue=Fe[ue],be=Ue.originalDelegate?Ue.originalDelegate:Ue.callback;this[$].call(this,z,be,Ue.options)}}}else{for(var it=Object.keys(H),ht=0;ht<it.length;ht++){var Pt=it[ht],yt=Pe.exec(Pt),Ct=yt&&yt[1];Ct&&"removeListener"!==Ct&&this[q].call(this,Ct)}this[q].call(this,"removeListener")}if(Zt)return this},ft(Tt[_],de),ft(Tt[$],qt),$t&&ft(Tt[q],$t),Mt&&ft(Tt[J],Mt),!0}for(var Wt=[],re=0;re<A.length;re++)Wt[re]=wt(A[re],F);return Wt}function le(R,A){if(!A){var F=[];for(var _ in R){var $=Pe.exec(_),J=$&&$[1];if(J&&(!A||J===A)){var q=R[_];if(q)for(var ct=0;ct<q.length;ct++)F.push(q[ct])}}return F}var vt=Lt[A];vt||(Qt(A),vt=Lt[A]);var lt=R[vt[E]],gt=R[vt[v]];return lt?gt?lt.concat(gt):lt.slice():gt?gt.slice():[]}function ge(R,A){var F=R.Event;F&&F.prototype&&A.patchMethod(F.prototype,"stopImmediatePropagation",function(_){return function($,J){$[Jt]=!0,_&&_.apply($,J)}})}function Se(R,A,F,_,$){var J=Zone.__symbol__(_);if(!A[J]){var q=A[J]=A[_];A[_]=function(ct,vt,lt){return vt&&vt.prototype&&$.forEach(function(gt){var dt="".concat(F,".").concat(_,"::")+gt,pt=vt.prototype;if(pt.hasOwnProperty(gt)){var jt=R.ObjectGetOwnPropertyDescriptor(pt,gt);jt&&jt.value?(jt.value=R.wrapWithCurrentZone(jt.value,dt),R._redefineProperty(vt.prototype,gt,jt)):pt[gt]&&(pt[gt]=R.wrapWithCurrentZone(pt[gt],dt))}else pt[gt]&&(pt[gt]=R.wrapWithCurrentZone(pt[gt],dt))}),q.call(A,ct,vt,lt)},R.attachOriginToPatched(A[_],q)}}var Ie=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],Le=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],Ee=["load"],Ae=["blur","error","focus","load","resize","scroll","messageerror"],B=["bounce","finish","start"],K=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],X=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],tt=["close","error","open","message"],st=["error","message"],Rt=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],Ie,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function ee(R,A,F){if(!F||0===F.length)return A;var _=F.filter(function(J){return J.target===R});if(!_||0===_.length)return A;var $=_[0].ignoreProperties;return A.filter(function(J){return-1===$.indexOf(J)})}function Ut(R,A,F,_){R&&Z(R,ee(R,A,F),_)}Zone.__load_patch("util",function(R,A,F){F.patchOnProperties=Z,F.patchMethod=ot,F.bindArguments=M,F.patchMacroTask=St;var _=A.__symbol__("BLACK_LISTED_EVENTS"),$=A.__symbol__("UNPATCHED_EVENTS");R[$]&&(R[_]=R[$]),R[_]&&(A[_]=A[$]=R[_]),F.patchEventPrototype=ge,F.patchEventTarget=ae,F.isIEOrEdge=Dt,F.ObjectDefineProperty=i,F.ObjectGetOwnPropertyDescriptor=s,F.ObjectCreate=f,F.ArraySlice=l,F.patchClass=G,F.wrapWithCurrentZone=P,F.filterProperties=ee,F.attachOriginToPatched=ft,F._redefineProperty=Object.defineProperty,F.patchCallbacks=Se,F.getGlobalObjects=function(){return{globalSources:he,zoneSymbolEventNames:Lt,eventNames:Rt,isBrowser:nt,isMix:Y,isNode:at,TRUE_STR:v,FALSE_STR:E,ZONE_SYMBOL_PREFIX:g,ADD_EVENT_LISTENER_STR:d,REMOVE_EVENT_LISTENER_STR:h}}});var ye=p("zoneTask");function se(R,A,F,_){var $=null,J=null;F+=_;var q={};function ct(lt){var gt=lt.data;return gt.args[0]=function(){return lt.invoke.apply(this,arguments)},gt.handleId=$.apply(R,gt.args),lt}function vt(lt){return J.call(R,lt.data.handleId)}$=ot(R,A+=_,function(lt){return function(gt,dt){if("function"==typeof dt[0]){var pt={isPeriodic:"Interval"===_,delay:"Timeout"===_||"Interval"===_?dt[1]||0:void 0,args:dt},jt=dt[0];dt[0]=function(){try{return jt.apply(this,arguments)}finally{pt.isPeriodic||("number"==typeof pt.handleId?delete q[pt.handleId]:pt.handleId&&(pt.handleId[ye]=null))}};var wt=y(A,dt[0],pt,ct,vt);if(!wt)return wt;var Wt=wt.data.handleId;return"number"==typeof Wt?q[Wt]=wt:Wt&&(Wt[ye]=wt),Wt&&Wt.ref&&Wt.unref&&"function"==typeof Wt.ref&&"function"==typeof Wt.unref&&(wt.ref=Wt.ref.bind(Wt),wt.unref=Wt.unref.bind(Wt)),"number"==typeof Wt||Wt?Wt:wt}return lt.apply(R,dt)}}),J=ot(R,F,function(lt){return function(gt,dt){var jt,pt=dt[0];"number"==typeof pt?jt=q[pt]:(jt=pt&&pt[ye])||(jt=pt),jt&&"string"==typeof jt.type?"notScheduled"!==jt.state&&(jt.cancelFn&&jt.data.isPeriodic||0===jt.runCount)&&("number"==typeof pt?delete q[pt]:pt&&(pt[ye]=null),jt.zone.cancelTask(jt)):lt.apply(R,dt)}})}Zone.__load_patch("legacy",function(R){var A=R[Zone.__symbol__("legacyPatch")];A&&A()}),Zone.__load_patch("queueMicrotask",function(R,A,F){F.patchMethod(R,"queueMicrotask",function(_){return function($,J){A.current.scheduleMicroTask("queueMicrotask",J[0])}})}),Zone.__load_patch("timers",function(R){var A="set",F="clear";se(R,A,F,"Timeout"),se(R,A,F,"Interval"),se(R,A,F,"Immediate")}),Zone.__load_patch("requestAnimationFrame",function(R){se(R,"request","cancel","AnimationFrame"),se(R,"mozRequest","mozCancel","AnimationFrame"),se(R,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",function(R,A){for(var F=["alert","prompt","confirm"],_=0;_<F.length;_++)ot(R,F[_],function(J,q,ct){return function(vt,lt){return A.current.run(J,R,lt,ct)}})}),Zone.__load_patch("EventTarget",function(R,A,F){(function(R,A){A.patchEventPrototype(R,A)})(R,F),function(R,A){if(!Zone[A.symbol("patchEventTarget")]){for(var F=A.getGlobalObjects(),_=F.eventNames,$=F.zoneSymbolEventNames,J=F.TRUE_STR,q=F.FALSE_STR,ct=F.ZONE_SYMBOL_PREFIX,vt=0;vt<_.length;vt++){var lt=_[vt],pt=ct+(lt+q),jt=ct+(lt+J);$[lt]={},$[lt][q]=pt,$[lt][J]=jt}var wt=R.EventTarget;wt&&wt.prototype&&A.patchEventTarget(R,[wt&&wt.prototype])}}(R,F);var _=R.XMLHttpRequestEventTarget;_&&_.prototype&&F.patchEventTarget(R,[_.prototype])}),Zone.__load_patch("MutationObserver",function(R,A,F){G("MutationObserver"),G("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",function(R,A,F){G("IntersectionObserver")}),Zone.__load_patch("FileReader",function(R,A,F){G("FileReader")}),Zone.__load_patch("on_property",function(R,A,F){!function(R,A){if((!at||Y)&&!Zone[R.symbol("patchEvents")]){var F="undefined"!=typeof WebSocket,_=A.__Zone_ignore_on_properties;if(nt){var $=window,J=function(){try{var R=O.navigator.userAgent;if(-1!==R.indexOf("MSIE ")||-1!==R.indexOf("Trident/"))return!0}catch(A){}return!1}()?[{target:$,ignoreProperties:["error"]}]:[];Ut($,Rt.concat(["messageerror"]),_&&_.concat(J),u($)),Ut(Document.prototype,Rt,_),void 0!==$.SVGElement&&Ut($.SVGElement.prototype,Rt,_),Ut(Element.prototype,Rt,_),Ut(HTMLElement.prototype,Rt,_),Ut(HTMLMediaElement.prototype,Le,_),Ut(HTMLFrameSetElement.prototype,Ie.concat(Ae),_),Ut(HTMLBodyElement.prototype,Ie.concat(Ae),_),Ut(HTMLFrameElement.prototype,Ee,_),Ut(HTMLIFrameElement.prototype,Ee,_);var q=$.HTMLMarqueeElement;q&&Ut(q.prototype,B,_);var ct=$.Worker;ct&&Ut(ct.prototype,st,_)}var vt=A.XMLHttpRequest;vt&&Ut(vt.prototype,K,_);var lt=A.XMLHttpRequestEventTarget;lt&&Ut(lt&&lt.prototype,K,_),"undefined"!=typeof IDBIndex&&(Ut(IDBIndex.prototype,X,_),Ut(IDBRequest.prototype,X,_),Ut(IDBOpenDBRequest.prototype,X,_),Ut(IDBDatabase.prototype,X,_),Ut(IDBTransaction.prototype,X,_),Ut(IDBCursor.prototype,X,_)),F&&Ut(WebSocket.prototype,tt,_)}}(F,R)}),Zone.__load_patch("customElements",function(R,A,F){!function(R,A){var F=A.getGlobalObjects();(F.isBrowser||F.isMix)&&R.customElements&&"customElements"in R&&A.patchCallbacks(A,R.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(R,F)}),Zone.__load_patch("XHR",function(R,A){!function(lt){var gt=lt.XMLHttpRequest;if(gt){var dt=gt.prototype,jt=dt[m],wt=dt[I];if(!jt){var Wt=lt.XMLHttpRequestEventTarget;if(Wt){var re=Wt.prototype;jt=re[m],wt=re[I]}}var Gt="readystatechange",k="scheduled",Zt=ot(dt,"open",function(){return function(Mt,$t){return Mt[_]=0==$t[2],Mt[q]=$t[1],Zt.apply(Mt,$t)}}),ie=p("fetchTaskAborting"),_t=p("fetchTaskScheduling"),de=ot(dt,"send",function(){return function(Mt,$t){if(!0===A.current[_t]||Mt[_])return de.apply(Mt,$t);var xt={target:Mt,url:Mt[q],isPeriodic:!1,args:$t,aborted:!1},Nt=y("XMLHttpRequest.send",Bt,xt,Kt,zt);Mt&&!0===Mt[ct]&&!xt.aborted&&Nt.state===k&&Nt.invoke()}}),qt=ot(dt,"abort",function(){return function(Mt,$t){var xt=function(Mt){return Mt[F]}(Mt);if(xt&&"string"==typeof xt.type){if(null==xt.cancelFn||xt.data&&xt.data.aborted)return;xt.zone.cancelTask(xt)}else if(!0===A.current[ie])return qt.apply(Mt,$t)}})}function Kt(Mt){var $t=Mt.data,xt=$t.target;xt[J]=!1,xt[ct]=!1;var Nt=xt[$];jt||(jt=xt[m],wt=xt[I]),Nt&&wt.call(xt,Gt,Nt);var De=xt[$]=function(){if(xt.readyState===xt.DONE)if(!$t.aborted&&xt[J]&&Mt.state===k){var Xt=xt[A.__symbol__("loadfalse")];if(0!==xt.status&&Xt&&Xt.length>0){var ut=Mt.invoke;Mt.invoke=function(){for(var rt=xt[A.__symbol__("loadfalse")],D=0;D<rt.length;D++)rt[D]===Mt&&rt.splice(D,1);!$t.aborted&&Mt.state===k&&ut.call(Mt)},Xt.push(Mt)}else Mt.invoke()}else!$t.aborted&&!1===xt[J]&&(xt[ct]=!0)};return jt.call(xt,Gt,De),xt[F]||(xt[F]=Mt),de.apply(xt,$t.args),xt[J]=!0,Mt}function Bt(){}function zt(Mt){var $t=Mt.data;return $t.aborted=!0,qt.apply($t.target,$t.args)}}(R);var F=p("xhrTask"),_=p("xhrSync"),$=p("xhrListener"),J=p("xhrScheduled"),q=p("xhrURL"),ct=p("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",function(R){R.navigator&&R.navigator.geolocation&&function(R,A){for(var F=R.constructor.name,_=function(ct){var dt,pt,vt=A[ct],lt=R[vt];if(lt){if(!w(s(R,vt)))return"continue";R[vt]=(ft(pt=function(){return dt.apply(this,M(arguments,F+"."+vt))},dt=lt),pt)}},$=0;$<A.length;$++)_($)}(R.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",function(R,A){function F(_){return function($){le(R,_).forEach(function(q){var ct=R.PromiseRejectionEvent;if(ct){var vt=new ct(_,{promise:$.promise,reason:$.rejection});q.invoke(vt)}})}}R.PromiseRejectionEvent&&(A[p("unhandledPromiseRejectionHandler")]=F("unhandledrejection"),A[p("rejectionHandledHandler")]=F("rejectionhandled"))})},60818:function(o,c,t){"use strict";t(18787)}},function(o){var c=function(e){return o(o.s=e)};c(98487),c(60818)}]);
\ No newline at end of file
diff --git a/gns3server/static/web-ui/polyfills.519e27ac94450b1b7e67.js b/gns3server/static/web-ui/polyfills.519e27ac94450b1b7e67.js
deleted file mode 100644
index d1c804f9..00000000
--- a/gns3server/static/web-ui/polyfills.519e27ac94450b1b7e67.js
+++ /dev/null
@@ -1 +0,0 @@
-(self.webpackChunkgns3_web_ui=self.webpackChunkgns3_web_ui||[]).push([[429],{82908:function(H){H.exports=function(re,X){(null==X||X>re.length)&&(X=re.length);for(var ee=0,M=new Array(X);ee<X;ee++)M[ee]=re[ee];return M},H.exports.default=H.exports,H.exports.__esModule=!0},45478:function(H){H.exports=function(re,X){if(!(re instanceof X))throw new TypeError("Cannot call a class as a function")},H.exports.default=H.exports,H.exports.__esModule=!0},29545:function(H){function de(X,ee){for(var M=0;M<ee.length;M++){var fe=ee[M];fe.enumerable=fe.enumerable||!1,fe.configurable=!0,"value"in fe&&(fe.writable=!0),Object.defineProperty(X,fe.key,fe)}}H.exports=function(X,ee,M){return ee&&de(X.prototype,ee),M&&de(X,M),X},H.exports.default=H.exports,H.exports.__esModule=!0},76567:function(H,de,re){var X=re(54850);H.exports=function(M,fe){var K="undefined"!=typeof Symbol&&M[Symbol.iterator]||M["@@iterator"];if(!K){if(Array.isArray(M)||(K=X(M))||fe&&M&&"number"==typeof M.length){K&&(M=K);var Ze=0,De=function(){};return{s:De,n:function(){return Ze>=M.length?{done:!0}:{done:!1,value:M[Ze++]}},e:function(me){throw me},f:De}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var Ne,Fe=!0,Ve=!1;return{s:function(){K=K.call(M)},n:function(){var me=K.next();return Fe=me.done,me},e:function(me){Ve=!0,Ne=me},f:function(){try{!Fe&&null!=K.return&&K.return()}finally{if(Ve)throw Ne}}}},H.exports.default=H.exports,H.exports.__esModule=!0},54850:function(H,de,re){var X=re(82908);H.exports=function(M,fe){if(M){if("string"==typeof M)return X(M,fe);var K=Object.prototype.toString.call(M).slice(8,-1);if("Object"===K&&M.constructor&&(K=M.constructor.name),"Map"===K||"Set"===K)return Array.from(M);if("Arguments"===K||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(K))return X(M,fe)}},H.exports.default=H.exports,H.exports.__esModule=!0},18787:function(H,de,re){"use strict";var X=re(76567).default,ee=re(45478).default,M=re(29545).default,K=(function(r){var t=r.performance;function o(p){t&&t.mark&&t.mark(p)}function a(p,d){t&&t.measure&&t.measure(p,d)}o("Zone");var i=r.__Zone_symbol_prefix||"__zone_symbol__";function l(p){return i+p}var v=!0===r[l("forceDuplicateZoneCheck")];if(r.Zone){if(v||"function"!=typeof r.Zone.__symbol__)throw new Error("Zone already loaded.");return r.Zone}var y=function(){function p(d,e){ee(this,p),this._parent=d,this._name=e?e.name||"unnamed":"<root>",this._properties=e&&e.properties||{},this._zoneDelegate=new E(this,this._parent&&this._parent._zoneDelegate,e)}return M(p,[{key:"parent",get:function(){return this._parent}},{key:"name",get:function(){return this._name}},{key:"get",value:function(e){var n=this.getZoneWith(e);if(n)return n._properties[e]}},{key:"getZoneWith",value:function(e){for(var n=this;n;){if(n._properties.hasOwnProperty(e))return n;n=n._parent}return null}},{key:"fork",value:function(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}},{key:"wrap",value:function(e,n){if("function"!=typeof e)throw new Error("Expecting function got: "+e);var h=this._zoneDelegate.intercept(this,e,n),b=this;return function(){return b.runGuarded(h,this,arguments,n)}}},{key:"run",value:function(e,n,h,b){A={parent:A,zone:this};try{return this._zoneDelegate.invoke(this,e,n,h,b)}finally{A=A.parent}}},{key:"runGuarded",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,h=arguments.length>2?arguments[2]:void 0,b=arguments.length>3?arguments[3]:void 0;A={parent:A,zone:this};try{try{return this._zoneDelegate.invoke(this,e,n,h,b)}catch(J){if(this._zoneDelegate.handleError(this,J))throw J}}finally{A=A.parent}}},{key:"runTask",value:function(e,n,h){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||B).name+"; Execution: "+this.name+")");if(e.state!==j||e.type!==Z&&e.type!==ae){var b=e.state!=P;b&&e._transitionTo(P,W),e.runCount++;var J=ge;ge=e,A={parent:A,zone:this};try{e.type==ae&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,n,h)}catch(c){if(this._zoneDelegate.handleError(this,c))throw c}}finally{e.state!==j&&e.state!==L&&(e.type==Z||e.data&&e.data.isPeriodic?b&&e._transitionTo(W,P):(e.runCount=0,this._updateTaskCount(e,-1),b&&e._transitionTo(j,P,j))),A=A.parent,ge=J}}}},{key:"scheduleTask",value:function(e){if(e.zone&&e.zone!==this)for(var n=this;n;){if(n===e.zone)throw Error("can not reschedule task to ".concat(this.name," which is descendants of the original zone ").concat(e.zone.name));n=n.parent}e._transitionTo(Y,j);var h=[];e._zoneDelegates=h,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(b){throw e._transitionTo(L,Y,j),this._zoneDelegate.handleError(this,b),b}return e._zoneDelegates===h&&this._updateTaskCount(e,1),e.state==Y&&e._transitionTo(W,Y),e}},{key:"scheduleMicroTask",value:function(e,n,h,b){return this.scheduleTask(new k(le,e,n,h,b,void 0))}},{key:"scheduleMacroTask",value:function(e,n,h,b,J){return this.scheduleTask(new k(ae,e,n,h,b,J))}},{key:"scheduleEventTask",value:function(e,n,h,b,J){return this.scheduleTask(new k(Z,e,n,h,b,J))}},{key:"cancelTask",value:function(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||B).name+"; Execution: "+this.name+")");e._transitionTo(ue,W,P);try{this._zoneDelegate.cancelTask(this,e)}catch(n){throw e._transitionTo(L,ue),this._zoneDelegate.handleError(this,n),n}return this._updateTaskCount(e,-1),e._transitionTo(j,ue),e.runCount=0,e}},{key:"_updateTaskCount",value:function(e,n){var h=e._zoneDelegates;-1==n&&(e._zoneDelegates=null);for(var b=0;b<h.length;b++)h[b]._updateTaskCount(e.type,n)}}],[{key:"assertZonePatched",value:function(){if(r.Promise!==U.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}},{key:"root",get:function(){for(var e=p.current;e.parent;)e=e.parent;return e}},{key:"current",get:function(){return A.zone}},{key:"currentTask",get:function(){return ge}},{key:"__load_patch",value:function(e,n){var h=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(U.hasOwnProperty(e)){if(!h&&v)throw Error("Already loaded patch: "+e)}else if(!r["__Zone_disable_"+e]){var b="Zone:"+e;o(b),U[e]=n(r,p,O),a(b,b)}}}]),p}();y.__symbol__=l;var ne,m={name:"",onHasTask:function(d,e,n,h){return d.hasTask(n,h)},onScheduleTask:function(d,e,n,h){return d.scheduleTask(n,h)},onInvokeTask:function(d,e,n,h,b,J){return d.invokeTask(n,h,b,J)},onCancelTask:function(d,e,n,h){return d.cancelTask(n,h)}},E=function(){function p(d,e,n){ee(this,p),this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=d,this._parentDelegate=e,this._forkZS=n&&(n&&n.onFork?n:e._forkZS),this._forkDlgt=n&&(n.onFork?e:e._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:e._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:e._interceptZS),this._interceptDlgt=n&&(n.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:e._invokeZS),this._invokeDlgt=n&&(n.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:e._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:e._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:e._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:e._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var h=n&&n.onHasTask;(h||e&&e._hasTaskZS)&&(this._hasTaskZS=h?n:m,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=d,n.onScheduleTask||(this._scheduleTaskZS=m,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=m,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=m,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}return M(p,[{key:"fork",value:function(e,n){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,n):new y(e,n)}},{key:"intercept",value:function(e,n,h){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,n,h):n}},{key:"invoke",value:function(e,n,h,b,J){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,n,h,b,J):n.apply(h,b)}},{key:"handleError",value:function(e,n){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,n)}},{key:"scheduleTask",value:function(e,n){var h=n;if(this._scheduleTaskZS)this._hasTaskZS&&h._zoneDelegates.push(this._hasTaskDlgtOwner),(h=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,n))||(h=n);else if(n.scheduleFn)n.scheduleFn(n);else{if(n.type!=le)throw new Error("Task is missing scheduleFn.");z(n)}return h}},{key:"invokeTask",value:function(e,n,h,b){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,n,h,b):n.callback.apply(h,b)}},{key:"cancelTask",value:function(e,n){var h;if(this._cancelTaskZS)h=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,n);else{if(!n.cancelFn)throw Error("Task is not cancelable");h=n.cancelFn(n)}return h}},{key:"hasTask",value:function(e,n){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,n)}catch(h){this.handleError(e,h)}}},{key:"_updateTaskCount",value:function(e,n){var h=this._taskCounts,b=h[e],J=h[e]=b+n;if(J<0)throw new Error("More tasks executed then were scheduled.");0!=b&&0!=J||this.hasTask(this.zone,{microTask:h.microTask>0,macroTask:h.macroTask>0,eventTask:h.eventTask>0,change:e})}}]),p}(),k=function(){function p(d,e,n,h,b,J){if(ee(this,p),this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=d,this.source=e,this.data=h,this.scheduleFn=b,this.cancelFn=J,!n)throw new Error("callback is not defined");this.callback=n;var c=this;this.invoke=d===Z&&h&&h.useG?p.invokeTask:function(){return p.invokeTask.call(r,c,this,arguments)}}return M(p,[{key:"zone",get:function(){return this._zone}},{key:"state",get:function(){return this._state}},{key:"cancelScheduleRequest",value:function(){this._transitionTo(j,Y)}},{key:"_transitionTo",value:function(e,n,h){if(this._state!==n&&this._state!==h)throw new Error("".concat(this.type," '").concat(this.source,"': can not transition to '").concat(e,"', expecting state '").concat(n,"'").concat(h?" or '"+h+"'":"",", was '").concat(this._state,"'."));this._state=e,e==j&&(this._zoneDelegates=null)}},{key:"toString",value:function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}},{key:"toJSON",value:function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}],[{key:"invokeTask",value:function(e,n,h){e||(e=this),pe++;try{return e.runCount++,e.zone.runTask(e,n,h)}finally{1==pe&&f(),pe--}}}]),p}(),g=l("setTimeout"),w=l("Promise"),D=l("then"),V=[],F=!1;function z(p){if(0===pe&&0===V.length)if(ne||r[w]&&(ne=r[w].resolve(0)),ne){var d=ne[D];d||(d=ne.then),d.call(ne,f)}else r[g](f,0);p&&V.push(p)}function f(){if(!F){for(F=!0;V.length;){var p=V;V=[];for(var d=0;d<p.length;d++){var e=p[d];try{e.zone.runTask(e,null,null)}catch(n){O.onUnhandledError(n)}}}O.microtaskDrainDone(),F=!1}}var B={name:"NO ZONE"},j="notScheduled",Y="scheduling",W="scheduled",P="running",ue="canceling",L="unknown",le="microTask",ae="macroTask",Z="eventTask",U={},O={symbol:l,currentZoneFrame:function(){return A},onUnhandledError:q,microtaskDrainDone:q,scheduleMicroTask:z,showUncaughtError:function(){return!y[l("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:q,patchMethod:function(){return q},bindArguments:function(){return[]},patchThen:function(){return q},patchMacroTask:function(){return q},patchEventPrototype:function(){return q},isIEOrEdge:function(){return!1},getGlobalObjects:function(){},ObjectDefineProperty:function(){return q},ObjectGetOwnPropertyDescriptor:function(){},ObjectCreate:function(){},ArraySlice:function(){return[]},patchClass:function(){return q},wrapWithCurrentZone:function(){return q},filterProperties:function(){return[]},attachOriginToPatched:function(){return q},_redefineProperty:function(){return q},patchCallbacks:function(){return q}},A={parent:null,zone:new y(null,null)},ge=null,pe=0;function q(){}a("Zone","Zone"),r.Zone=y}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global),Object.getOwnPropertyDescriptor),Ze=Object.defineProperty,De=Object.getPrototypeOf,Fe=Object.create,Ve=Array.prototype.slice,Ne="addEventListener",Ee="removeEventListener",me=Zone.__symbol__(Ne),qe=Zone.__symbol__(Ee),Te="true",ke="false",xe=Zone.__symbol__("");function Je(r,t){return Zone.current.wrap(r,t)}function Ke(r,t,o,a,i){return Zone.current.scheduleMacroTask(r,t,o,a,i)}var G=Zone.__symbol__,Be="undefined"!=typeof window,Ie=Be?window:void 0,te=Be&&Ie||"object"==typeof self&&self||global,br=[null];function $e(r,t){for(var o=r.length-1;o>=0;o--)"function"==typeof r[o]&&(r[o]=Je(r[o],t+"_"+o));return r}function ar(r){return!r||!1!==r.writable&&!("function"==typeof r.get&&void 0===r.set)}var or="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,Ue=!("nw"in te)&&void 0!==te.process&&"[object process]"==={}.toString.call(te.process),Qe=!Ue&&!or&&!(!Be||!Ie.HTMLElement),ir=void 0!==te.process&&"[object process]"==={}.toString.call(te.process)&&!or&&!(!Be||!Ie.HTMLElement),ze={},sr=function(t){if(t=t||te.event){var o=ze[t.type];o||(o=ze[t.type]=G("ON_PROPERTY"+t.type));var l,a=this||t.target||te,i=a[o];if(Qe&&a===Ie&&"error"===t.type){var v=t;!0===(l=i&&i.call(this,v.message,v.filename,v.lineno,v.colno,v.error))&&t.preventDefault()}else null!=(l=i&&i.apply(this,arguments))&&!l&&t.preventDefault();return l}};function ur(r,t,o){var a=K(r,t);if(!a&&o&&K(o,t)&&(a={enumerable:!0,configurable:!0}),a&&a.configurable){var l=G("on"+t+"patched");if(!r.hasOwnProperty(l)||!r[l]){delete a.writable,delete a.value;var v=a.get,y=a.set,m=t.substr(2),E=ze[m];E||(E=ze[m]=G("ON_PROPERTY"+m)),a.set=function(k){var g=this;!g&&r===te&&(g=te),g&&(g[E]&&g.removeEventListener(m,sr),y&&y.apply(g,br),"function"==typeof k?(g[E]=k,g.addEventListener(m,sr,!1)):g[E]=null)},a.get=function(){var k=this;if(!k&&r===te&&(k=te),!k)return null;var g=k[E];if(g)return g;if(v){var w=v&&v.call(this);if(w)return a.set.call(this,w),"function"==typeof k.removeAttribute&&k.removeAttribute(t),w}return null},Ze(r,t,a),r[l]=!0}}}function cr(r,t,o){if(t)for(var a=0;a<t.length;a++)ur(r,"on"+t[a],o);else{var i=[];for(var l in r)"on"==l.substr(0,2)&&i.push(l);for(var v=0;v<i.length;v++)ur(r,i[v],o)}}var _e=G("originalInstance");function He(r){var t=te[r];if(t){te[G(r)]=t,te[r]=function(){var i=$e(arguments,r);switch(i.length){case 0:this[_e]=new t;break;case 1:this[_e]=new t(i[0]);break;case 2:this[_e]=new t(i[0],i[1]);break;case 3:this[_e]=new t(i[0],i[1],i[2]);break;case 4:this[_e]=new t(i[0],i[1],i[2],i[3]);break;default:throw new Error("Arg list too long.")}},we(te[r],t);var a,o=new t(function(){});for(a in o)"XMLHttpRequest"===r&&"responseBlob"===a||function(i){"function"==typeof o[i]?te[r].prototype[i]=function(){return this[_e][i].apply(this[_e],arguments)}:Ze(te[r].prototype,i,{set:function(v){"function"==typeof v?(this[_e][i]=Je(v,r+"."+i),we(this[_e][i],v)):this[_e][i]=v},get:function(){return this[_e][i]}})}(a);for(a in t)"prototype"!==a&&t.hasOwnProperty(a)&&(te[r][a]=t[a])}}function be(r,t,o){for(var a=r;a&&!a.hasOwnProperty(t);)a=De(a);!a&&r[t]&&(a=r);var i=G(t),l=null;if(a&&(!(l=a[i])||!a.hasOwnProperty(i))&&(l=a[i]=a[t],ar(a&&K(a,t)))){var y=o(l,i,t);a[t]=function(){return y(this,arguments)},we(a[t],l)}return l}function Cr(r,t,o){var a=null;function i(l){var v=l.data;return v.args[v.cbIdx]=function(){l.invoke.apply(this,arguments)},a.apply(v.target,v.args),l}a=be(r,t,function(l){return function(v,y){var m=o(v,y);return m.cbIdx>=0&&"function"==typeof y[m.cbIdx]?Ke(m.name,y[m.cbIdx],m,i):l.apply(v,y)}})}function we(r,t){r[G("OriginalDelegate")]=t}var lr=!1,er=!1;function Pr(){if(lr)return er;lr=!0;try{var r=Ie.navigator.userAgent;(-1!==r.indexOf("MSIE ")||-1!==r.indexOf("Trident/")||-1!==r.indexOf("Edge/"))&&(er=!0)}catch(t){}return er}Zone.__load_patch("ZoneAwarePromise",function(r,t,o){var a=Object.getOwnPropertyDescriptor,i=Object.defineProperty,v=o.symbol,y=[],m=!0===r[v("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],E=v("Promise"),k=v("then");o.onUnhandledError=function(c){if(o.showUncaughtError()){var C=c&&c.rejection;C?console.error("Unhandled Promise rejection:",C instanceof Error?C.message:C,"; Zone:",c.zone.name,"; Task:",c.task&&c.task.source,"; Value:",C,C instanceof Error?C.stack:void 0):console.error(c)}},o.microtaskDrainDone=function(){for(var c=function(){var s=y.shift();try{s.zone.runGuarded(function(){throw s.throwOriginal?s.rejection:s})}catch(u){!function(c){o.onUnhandledError(c);try{var C=t[w];"function"==typeof C&&C.call(this,c)}catch(s){}}(u)}};y.length;)c()};var w=v("unhandledPromiseRejectionHandler");function V(c){return c&&c.then}function F(c){return c}function ne(c){return e.reject(c)}var z=v("state"),f=v("value"),B=v("finally"),j=v("parentPromiseValue"),Y=v("parentPromiseState"),P=null,L=!1;function ae(c,C){return function(s){try{A(c,C,s)}catch(u){A(c,!1,u)}}}var O=v("currentTaskTrace");function A(c,C,s){var u=function(){var C=!1;return function(u){return function(){C||(C=!0,u.apply(null,arguments))}}}();if(c===s)throw new TypeError("Promise resolved with itself");if(c[z]===P){var _=null;try{("object"==typeof s||"function"==typeof s)&&(_=s&&s.then)}catch(x){return u(function(){A(c,!1,x)})(),c}if(C!==L&&s instanceof e&&s.hasOwnProperty(z)&&s.hasOwnProperty(f)&&s[z]!==P)pe(s),A(c,s[z],s[f]);else if(C!==L&&"function"==typeof _)try{_.call(s,u(ae(c,C)),u(ae(c,!1)))}catch(x){u(function(){A(c,!1,x)})()}else{c[z]=C;var T=c[f];if(c[f]=s,c[B]===B&&!0===C&&(c[z]=c[Y],c[f]=c[j]),C===L&&s instanceof Error){var R=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;R&&i(s,O,{configurable:!0,enumerable:!1,writable:!0,value:R})}for(var S=0;S<T.length;)q(c,T[S++],T[S++],T[S++],T[S++]);if(0==T.length&&C==L){c[z]=0;var N=s;try{throw new Error("Uncaught (in promise): "+function(c){return c&&c.toString===Object.prototype.toString?(c.constructor&&c.constructor.name||"")+": "+JSON.stringify(c):c?c.toString():Object.prototype.toString.call(c)}(s)+(s&&s.stack?"\n"+s.stack:""))}catch(x){N=x}m&&(N.throwOriginal=!0),N.rejection=s,N.promise=c,N.zone=t.current,N.task=t.currentTask,y.push(N),o.scheduleMicroTask()}}}return c}var ge=v("rejectionHandledHandler");function pe(c){if(0===c[z]){try{var C=t[ge];C&&"function"==typeof C&&C.call(this,{rejection:c[f],promise:c})}catch(u){}c[z]=L;for(var s=0;s<y.length;s++)c===y[s].promise&&y.splice(s,1)}}function q(c,C,s,u,_){pe(c);var T=c[z],R=T?"function"==typeof u?u:F:"function"==typeof _?_:ne;C.scheduleMicroTask("Promise.then",function(){try{var S=c[f],N=!!s&&B===s[B];N&&(s[j]=S,s[Y]=T);var x=C.run(R,void 0,N&&R!==ne&&R!==F?[]:[S]);A(s,!0,x)}catch(I){A(s,!1,I)}},s)}var d=function(){},e=function(c,C){function s(u){ee(this,s);var _=this;if(!(_ instanceof s))throw new Error("Must be an instanceof Promise.");_[z]=P,_[f]=[];try{u&&u(ae(_,!0),ae(_,L))}catch(T){A(_,!1,T)}}return M(s,[{key:c,get:function(){return"Promise"}},{key:C,get:function(){return s}},{key:"then",value:function(_,T){var R=this.constructor[Symbol.species];(!R||"function"!=typeof R)&&(R=this.constructor||s);var S=new R(d),N=t.current;return this[z]==P?this[f].push(N,S,_,T):q(this,N,S,_,T),S}},{key:"catch",value:function(_){return this.then(null,_)}},{key:"finally",value:function(_){var T=this.constructor[Symbol.species];(!T||"function"!=typeof T)&&(T=s);var R=new T(d);R[B]=B;var S=t.current;return this[z]==P?this[f].push(S,R,_,_):q(this,S,R,_,_),R}}],[{key:"toString",value:function(){return"function ZoneAwarePromise() { [native code] }"}},{key:"resolve",value:function(_){return A(new this(null),!0,_)}},{key:"reject",value:function(_){return A(new this(null),L,_)}},{key:"race",value:function(_){var T,R,S=new this(function(ie,se){T=ie,R=se});function N(ie){T(ie)}function x(ie){R(ie)}var $,I=X(_);try{for(I.s();!($=I.n()).done;){var oe=$.value;V(oe)||(oe=this.resolve(oe)),oe.then(N,x)}}catch(ie){I.e(ie)}finally{I.f()}return S}},{key:"all",value:function(_){return s.allWithCallback(_)}},{key:"allSettled",value:function(_){return(this&&this.prototype instanceof s?this:s).allWithCallback(_,{thenCallback:function(S){return{status:"fulfilled",value:S}},errorCallback:function(S){return{status:"rejected",reason:S}}})}},{key:"allWithCallback",value:function(_,T){var S,N,se,R=this,x=new this(function(he,ye){S=he,N=ye}),I=2,$=0,oe=[],ie=X(_);try{var Ce=function(){var ye=se.value;V(ye)||(ye=R.resolve(ye));var Re=$;try{ye.then(function(ce){oe[Re]=T?T.thenCallback(ce):ce,0==--I&&S(oe)},function(ce){T?(oe[Re]=T.errorCallback(ce),0==--I&&S(oe)):N(ce)})}catch(ce){N(ce)}I++,$++};for(ie.s();!(se=ie.n()).done;)Ce()}catch(he){ie.e(he)}finally{ie.f()}return 0==(I-=2)&&S(oe),x}}]),s}(Symbol.toStringTag,Symbol.species);e.resolve=e.resolve,e.reject=e.reject,e.race=e.race,e.all=e.all;var n=r[E]=r.Promise;r.Promise=e;var h=v("thenPatched");function b(c){var C=c.prototype,s=a(C,"then");if(!s||!1!==s.writable&&s.configurable){var u=C.then;C[k]=u,c.prototype.then=function(_,T){var R=this;return new e(function(N,x){u.call(R,N,x)}).then(_,T)},c[h]=!0}}return o.patchThen=b,n&&(b(n),be(r,"fetch",function(c){return function(c){return function(C,s){var u=c.apply(C,s);if(u instanceof e)return u;var _=u.constructor;return _[h]||b(_),u}}(c)})),Promise[t.__symbol__("uncaughtPromiseErrors")]=y,e}),Zone.__load_patch("toString",function(r){var t=Function.prototype.toString,o=G("OriginalDelegate"),a=G("Promise"),i=G("Error"),l=function(){if("function"==typeof this){var E=this[o];if(E)return"function"==typeof E?t.call(E):Object.prototype.toString.call(E);if(this===Promise){var k=r[a];if(k)return t.call(k)}if(this===Error){var g=r[i];if(g)return t.call(g)}}return t.call(this)};l[o]=t,Function.prototype.toString=l;var v=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":v.call(this)}});var Me=!1;if("undefined"!=typeof window)try{var We=Object.defineProperty({},"passive",{get:function(){Me=!0}});window.addEventListener("test",We,We),window.removeEventListener("test",We,We)}catch(r){Me=!1}var Rr={useG:!0},ve={},fr={},vr=new RegExp("^"+xe+"(\\w+)(true|false)$"),rr=G("propagationStopped");function hr(r,t){var o=(t?t(r):r)+ke,a=(t?t(r):r)+Te,i=xe+o,l=xe+a;ve[r]={},ve[r][ke]=i,ve[r][Te]=l}function Or(r,t,o){var a=o&&o.add||Ne,i=o&&o.rm||Ee,l=o&&o.listeners||"eventListeners",v=o&&o.rmAll||"removeAllListeners",y=G(a),m="."+a+":",g=function(f,B,j){if(!f.isRemoved){var Y=f.callback;"object"==typeof Y&&Y.handleEvent&&(f.callback=function(ue){return Y.handleEvent(ue)},f.originalDelegate=Y),f.invoke(f,B,[j]);var W=f.options;W&&"object"==typeof W&&W.once&&B[i].call(B,j.type,f.originalDelegate?f.originalDelegate:f.callback,W)}},w=function(f){if(f=f||r.event){var B=this||f.target||r,j=B[ve[f.type][ke]];if(j)if(1===j.length)g(j[0],B,f);else for(var Y=j.slice(),W=0;W<Y.length&&(!f||!0!==f[rr]);W++)g(Y[W],B,f)}},D=function(f){if(f=f||r.event){var B=this||f.target||r,j=B[ve[f.type][Te]];if(j)if(1===j.length)g(j[0],B,f);else for(var Y=j.slice(),W=0;W<Y.length&&(!f||!0!==f[rr]);W++)g(Y[W],B,f)}};function V(z,f){if(!z)return!1;var B=!0;f&&void 0!==f.useG&&(B=f.useG);var j=f&&f.vh,Y=!0;f&&void 0!==f.chkDup&&(Y=f.chkDup);var W=!1;f&&void 0!==f.rt&&(W=f.rt);for(var P=z;P&&!P.hasOwnProperty(a);)P=De(P);if(!P&&z[a]&&(P=z),!P||P[y])return!1;var O,ue=f&&f.eventNameToString,L={},le=P[y]=P[a],ae=P[G(i)]=P[i],Z=P[G(l)]=P[l],U=P[G(v)]=P[v];function A(s,u){return!Me&&"object"==typeof s&&s?!!s.capture:Me&&u?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?Object.assign(Object.assign({},s),{passive:!0}):s:{passive:!0}:s}f&&f.prepend&&(O=P[G(f.prepend)]=P[f.prepend]);var e=B?function(u){if(!L.isExisting)return le.call(L.target,L.eventName,L.capture?D:w,L.options)}:function(u){return le.call(L.target,L.eventName,u.invoke,L.options)},n=B?function(u){if(!u.isRemoved){var T,_=ve[u.eventName];_&&(T=_[u.capture?Te:ke]);var R=T&&u.target[T];if(R)for(var S=0;S<R.length;S++)if(R[S]===u){R.splice(S,1),u.isRemoved=!0,0===R.length&&(u.allRemoved=!0,u.target[T]=null);break}}if(u.allRemoved)return ae.call(u.target,u.eventName,u.capture?D:w,u.options)}:function(u){return ae.call(u.target,u.eventName,u.invoke,u.options)},b=f&&f.diff?f.diff:function(u,_){var T=typeof _;return"function"===T&&u.callback===_||"object"===T&&u.originalDelegate===_},J=Zone[G("UNPATCHED_EVENTS")],c=r[G("PASSIVE_EVENTS")],C=function(u,_,T,R){var S=arguments.length>4&&void 0!==arguments[4]&&arguments[4],N=arguments.length>5&&void 0!==arguments[5]&&arguments[5];return function(){var x=this||r,I=arguments[0];f&&f.transferEventName&&(I=f.transferEventName(I));var $=arguments[1];if(!$)return u.apply(this,arguments);if(Ue&&"uncaughtException"===I)return u.apply(this,arguments);var oe=!1;if("function"!=typeof $){if(!$.handleEvent)return u.apply(this,arguments);oe=!0}if(!j||j(u,$,x,arguments)){var ie=Me&&!!c&&-1!==c.indexOf(I),se=A(arguments[2],ie);if(J)for(var Ce=0;Ce<J.length;Ce++)if(I===J[Ce])return ie?u.call(x,I,$,se):u.apply(this,arguments);var he=!!se&&("boolean"==typeof se||se.capture),ye=!(!se||"object"!=typeof se)&&se.once,Re=Zone.current,ce=ve[I];ce||(hr(I,ue),ce=ve[I]);var Oe=ce[he?Te:ke],Se=x[Oe],mr=!1;if(Se){if(mr=!0,Y)for(var nr=0;nr<Se.length;nr++)if(b(Se[nr],$))return}else Se=x[Oe]=[];var Ye,gr=x.constructor.name,Tr=fr[gr];Tr&&(Ye=Tr[I]),Ye||(Ye=gr+_+(ue?ue(I):I)),L.options=se,ye&&(L.options.once=!1),L.target=x,L.capture=he,L.eventName=I,L.isExisting=mr;var Ge=B?Rr:void 0;Ge&&(Ge.taskData=L);var Pe=Re.scheduleEventTask(Ye,$,Ge,T,R);if(L.target=null,Ge&&(Ge.taskData=null),ye&&(se.once=!0),!Me&&"boolean"==typeof Pe.options||(Pe.options=se),Pe.target=x,Pe.capture=he,Pe.eventName=I,oe&&(Pe.originalDelegate=$),N?Se.unshift(Pe):Se.push(Pe),S)return x}}};return P[a]=C(le,m,e,n,W),O&&(P.prependListener=C(O,".prependListener:",function(u){return O.call(L.target,L.eventName,u.invoke,L.options)},n,W,!0)),P[i]=function(){var s=this||r,u=arguments[0];f&&f.transferEventName&&(u=f.transferEventName(u));var _=arguments[2],T=!!_&&("boolean"==typeof _||_.capture),R=arguments[1];if(!R)return ae.apply(this,arguments);if(!j||j(ae,R,s,arguments)){var N,S=ve[u];S&&(N=S[T?Te:ke]);var x=N&&s[N];if(x)for(var I=0;I<x.length;I++){var $=x[I];if(b($,R)){if(x.splice(I,1),$.isRemoved=!0,0===x.length&&($.allRemoved=!0,s[N]=null,"string"==typeof u)){var oe=xe+"ON_PROPERTY"+u;s[oe]=null}return $.zone.cancelTask($),W?s:void 0}}return ae.apply(this,arguments)}},P[l]=function(){var s=this||r,u=arguments[0];f&&f.transferEventName&&(u=f.transferEventName(u));for(var _=[],T=dr(s,ue?ue(u):u),R=0;R<T.length;R++){var S=T[R],N=S.originalDelegate?S.originalDelegate:S.callback;_.push(N)}return _},P[v]=function(){var s=this||r,u=arguments[0];if(u){f&&f.transferEventName&&(u=f.transferEventName(u));var x=ve[u];if(x){var I=x[ke],$=x[Te],oe=s[I],ie=s[$];if(oe)for(var se=oe.slice(),Ce=0;Ce<se.length;Ce++){var he=se[Ce],ye=he.originalDelegate?he.originalDelegate:he.callback;this[i].call(this,u,ye,he.options)}if(ie)for(var Re=ie.slice(),ce=0;ce<Re.length;ce++){var Oe=Re[ce],Se=Oe.originalDelegate?Oe.originalDelegate:Oe.callback;this[i].call(this,u,Se,Oe.options)}}}else{for(var _=Object.keys(s),T=0;T<_.length;T++){var R=_[T],S=vr.exec(R),N=S&&S[1];N&&"removeListener"!==N&&this[v].call(this,N)}this[v].call(this,"removeListener")}if(W)return this},we(P[a],le),we(P[i],ae),U&&we(P[v],U),Z&&we(P[l],Z),!0}for(var F=[],ne=0;ne<t.length;ne++)F[ne]=V(t[ne],o);return F}function dr(r,t){if(!t){var o=[];for(var a in r){var i=vr.exec(a),l=i&&i[1];if(l&&(!t||l===t)){var v=r[a];if(v)for(var y=0;y<v.length;y++)o.push(v[y])}}return o}var m=ve[t];m||(hr(t),m=ve[t]);var E=r[m[ke]],k=r[m[Te]];return E?k?E.concat(k):E.slice():k?k.slice():[]}function Zr(r,t){var o=r.Event;o&&o.prototype&&t.patchMethod(o.prototype,"stopImmediatePropagation",function(a){return function(i,l){i[rr]=!0,a&&a.apply(i,l)}})}function Dr(r,t,o,a,i){var l=Zone.__symbol__(a);if(!t[l]){var v=t[l]=t[a];t[a]=function(y,m,E){return m&&m.prototype&&i.forEach(function(k){var g="".concat(o,".").concat(a,"::")+k,w=m.prototype;if(w.hasOwnProperty(k)){var D=r.ObjectGetOwnPropertyDescriptor(w,k);D&&D.value?(D.value=r.wrapWithCurrentZone(D.value,g),r._redefineProperty(m.prototype,k,D)):w[k]&&(w[k]=r.wrapWithCurrentZone(w[k],g))}else w[k]&&(w[k]=r.wrapWithCurrentZone(w[k],g))}),v.call(t,y,m,E)},r.attachOriginToPatched(t[a],v)}}var tr=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],Lr=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],_r=["load"],pr=["blur","error","focus","load","resize","scroll","messageerror"],Gr=["bounce","finish","start"],yr=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],Le=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],Fr=["close","error","open","message"],Vr=["error","message"],Ae=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],tr,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function Er(r,t,o){if(!o||0===o.length)return t;var a=o.filter(function(l){return l.target===r});if(!a||0===a.length)return t;var i=a[0].ignoreProperties;return t.filter(function(l){return-1===i.indexOf(l)})}function Q(r,t,o,a){r&&cr(r,Er(r,t,o),a)}Zone.__load_patch("util",function(r,t,o){o.patchOnProperties=cr,o.patchMethod=be,o.bindArguments=$e,o.patchMacroTask=Cr;var a=t.__symbol__("BLACK_LISTED_EVENTS"),i=t.__symbol__("UNPATCHED_EVENTS");r[i]&&(r[a]=r[i]),r[a]&&(t[a]=t[i]=r[a]),o.patchEventPrototype=Zr,o.patchEventTarget=Or,o.isIEOrEdge=Pr,o.ObjectDefineProperty=Ze,o.ObjectGetOwnPropertyDescriptor=K,o.ObjectCreate=Fe,o.ArraySlice=Ve,o.patchClass=He,o.wrapWithCurrentZone=Je,o.filterProperties=Er,o.attachOriginToPatched=we,o._redefineProperty=Object.defineProperty,o.patchCallbacks=Dr,o.getGlobalObjects=function(){return{globalSources:fr,zoneSymbolEventNames:ve,eventNames:Ae,isBrowser:Qe,isMix:ir,isNode:Ue,TRUE_STR:Te,FALSE_STR:ke,ZONE_SYMBOL_PREFIX:xe,ADD_EVENT_LISTENER_STR:Ne,REMOVE_EVENT_LISTENER_STR:Ee}}});var Xe=G("zoneTask");function je(r,t,o,a){var i=null,l=null;o+=a;var v={};function y(E){var k=E.data;return k.args[0]=function(){return E.invoke.apply(this,arguments)},k.handleId=i.apply(r,k.args),E}function m(E){return l.call(r,E.data.handleId)}i=be(r,t+=a,function(E){return function(k,g){if("function"==typeof g[0]){var w={isPeriodic:"Interval"===a,delay:"Timeout"===a||"Interval"===a?g[1]||0:void 0,args:g},D=g[0];g[0]=function(){try{return D.apply(this,arguments)}finally{w.isPeriodic||("number"==typeof w.handleId?delete v[w.handleId]:w.handleId&&(w.handleId[Xe]=null))}};var V=Ke(t,g[0],w,y,m);if(!V)return V;var F=V.data.handleId;return"number"==typeof F?v[F]=V:F&&(F[Xe]=V),F&&F.ref&&F.unref&&"function"==typeof F.ref&&"function"==typeof F.unref&&(V.ref=F.ref.bind(F),V.unref=F.unref.bind(F)),"number"==typeof F||F?F:V}return E.apply(r,g)}}),l=be(r,o,function(E){return function(k,g){var D,w=g[0];"number"==typeof w?D=v[w]:(D=w&&w[Xe])||(D=w),D&&"string"==typeof D.type?"notScheduled"!==D.state&&(D.cancelFn&&D.data.isPeriodic||0===D.runCount)&&("number"==typeof w?delete v[w]:w&&(w[Xe]=null),D.zone.cancelTask(D)):E.apply(r,g)}})}Zone.__load_patch("legacy",function(r){var t=r[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("queueMicrotask",function(r,t,o){o.patchMethod(r,"queueMicrotask",function(a){return function(i,l){t.current.scheduleMicroTask("queueMicrotask",l[0])}})}),Zone.__load_patch("timers",function(r){var t="set",o="clear";je(r,t,o,"Timeout"),je(r,t,o,"Interval"),je(r,t,o,"Immediate")}),Zone.__load_patch("requestAnimationFrame",function(r){je(r,"request","cancel","AnimationFrame"),je(r,"mozRequest","mozCancel","AnimationFrame"),je(r,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",function(r,t){for(var o=["alert","prompt","confirm"],a=0;a<o.length;a++)be(r,o[a],function(l,v,y){return function(m,E){return t.current.run(l,r,E,y)}})}),Zone.__load_patch("EventTarget",function(r,t,o){(function(r,t){t.patchEventPrototype(r,t)})(r,o),function(r,t){if(!Zone[t.symbol("patchEventTarget")]){for(var o=t.getGlobalObjects(),a=o.eventNames,i=o.zoneSymbolEventNames,l=o.TRUE_STR,v=o.FALSE_STR,y=o.ZONE_SYMBOL_PREFIX,m=0;m<a.length;m++){var E=a[m],w=y+(E+v),D=y+(E+l);i[E]={},i[E][v]=w,i[E][l]=D}var V=r.EventTarget;V&&V.prototype&&t.patchEventTarget(r,[V&&V.prototype])}}(r,o);var a=r.XMLHttpRequestEventTarget;a&&a.prototype&&o.patchEventTarget(r,[a.prototype])}),Zone.__load_patch("MutationObserver",function(r,t,o){He("MutationObserver"),He("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",function(r,t,o){He("IntersectionObserver")}),Zone.__load_patch("FileReader",function(r,t,o){He("FileReader")}),Zone.__load_patch("on_property",function(r,t,o){!function(r,t){if((!Ue||ir)&&!Zone[r.symbol("patchEvents")]){var o="undefined"!=typeof WebSocket,a=t.__Zone_ignore_on_properties;if(Qe){var i=window,l=function(){try{var r=Ie.navigator.userAgent;if(-1!==r.indexOf("MSIE ")||-1!==r.indexOf("Trident/"))return!0}catch(t){}return!1}()?[{target:i,ignoreProperties:["error"]}]:[];Q(i,Ae.concat(["messageerror"]),a&&a.concat(l),De(i)),Q(Document.prototype,Ae,a),void 0!==i.SVGElement&&Q(i.SVGElement.prototype,Ae,a),Q(Element.prototype,Ae,a),Q(HTMLElement.prototype,Ae,a),Q(HTMLMediaElement.prototype,Lr,a),Q(HTMLFrameSetElement.prototype,tr.concat(pr),a),Q(HTMLBodyElement.prototype,tr.concat(pr),a),Q(HTMLFrameElement.prototype,_r,a),Q(HTMLIFrameElement.prototype,_r,a);var v=i.HTMLMarqueeElement;v&&Q(v.prototype,Gr,a);var y=i.Worker;y&&Q(y.prototype,Vr,a)}var m=t.XMLHttpRequest;m&&Q(m.prototype,yr,a);var E=t.XMLHttpRequestEventTarget;E&&Q(E&&E.prototype,yr,a),"undefined"!=typeof IDBIndex&&(Q(IDBIndex.prototype,Le,a),Q(IDBRequest.prototype,Le,a),Q(IDBOpenDBRequest.prototype,Le,a),Q(IDBDatabase.prototype,Le,a),Q(IDBTransaction.prototype,Le,a),Q(IDBCursor.prototype,Le,a)),o&&Q(WebSocket.prototype,Fr,a)}}(o,r)}),Zone.__load_patch("customElements",function(r,t,o){!function(r,t){var o=t.getGlobalObjects();(o.isBrowser||o.isMix)&&r.customElements&&"customElements"in r&&t.patchCallbacks(t,r.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(r,o)}),Zone.__load_patch("XHR",function(r,t){!function(E){var k=E.XMLHttpRequest;if(k){var g=k.prototype,D=g[me],V=g[qe];if(!D){var F=E.XMLHttpRequestEventTarget;if(F){var ne=F.prototype;D=ne[me],V=ne[qe]}}var z="readystatechange",f="scheduled",W=be(g,"open",function(){return function(Z,U){return Z[a]=0==U[2],Z[v]=U[1],W.apply(Z,U)}}),ue=G("fetchTaskAborting"),L=G("fetchTaskScheduling"),le=be(g,"send",function(){return function(Z,U){if(!0===t.current[L]||Z[a])return le.apply(Z,U);var O={target:Z,url:Z[v],isPeriodic:!1,args:U,aborted:!1},A=Ke("XMLHttpRequest.send",j,O,B,Y);Z&&!0===Z[y]&&!O.aborted&&A.state===f&&A.invoke()}}),ae=be(g,"abort",function(){return function(Z,U){var O=function(Z){return Z[o]}(Z);if(O&&"string"==typeof O.type){if(null==O.cancelFn||O.data&&O.data.aborted)return;O.zone.cancelTask(O)}else if(!0===t.current[ue])return ae.apply(Z,U)}})}function B(Z){var U=Z.data,O=U.target;O[l]=!1,O[y]=!1;var A=O[i];D||(D=O[me],V=O[qe]),A&&V.call(O,z,A);var ge=O[i]=function(){if(O.readyState===O.DONE)if(!U.aborted&&O[l]&&Z.state===f){var q=O[t.__symbol__("loadfalse")];if(0!==O.status&&q&&q.length>0){var p=Z.invoke;Z.invoke=function(){for(var d=O[t.__symbol__("loadfalse")],e=0;e<d.length;e++)d[e]===Z&&d.splice(e,1);!U.aborted&&Z.state===f&&p.call(Z)},q.push(Z)}else Z.invoke()}else!U.aborted&&!1===O[l]&&(O[y]=!0)};return D.call(O,z,ge),O[o]||(O[o]=Z),le.apply(O,U.args),O[l]=!0,Z}function j(){}function Y(Z){var U=Z.data;return U.aborted=!0,ae.apply(U.target,U.args)}}(r);var o=G("xhrTask"),a=G("xhrSync"),i=G("xhrListener"),l=G("xhrScheduled"),v=G("xhrURL"),y=G("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",function(r){r.navigator&&r.navigator.geolocation&&function(r,t){for(var o=r.constructor.name,a=function(y){var g,w,m=t[y],E=r[m];if(E){if(!ar(K(r,m)))return"continue";r[m]=(we(w=function(){return g.apply(this,$e(arguments,o+"."+m))},g=E),w)}},i=0;i<t.length;i++)a(i)}(r.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",function(r,t){function o(a){return function(i){dr(r,a).forEach(function(v){var y=r.PromiseRejectionEvent;if(y){var m=new y(a,{promise:i.promise,reason:i.rejection});v.invoke(m)}})}}r.PromiseRejectionEvent&&(t[G("unhandledPromiseRejectionHandler")]=o("unhandledrejection"),t[G("rejectionHandledHandler")]=o("rejectionhandled"))})},60818:function(H,de,re){"use strict";re(18787)}},function(H){H(H.s=60818)}]);
\ No newline at end of file
diff --git a/gns3server/static/web-ui/polyfills.76674d1e750c8482.js b/gns3server/static/web-ui/polyfills.76674d1e750c8482.js
new file mode 100644
index 00000000..af499642
--- /dev/null
+++ b/gns3server/static/web-ui/polyfills.76674d1e750c8482.js
@@ -0,0 +1 @@
+(self.webpackChunkgns3_web_ui=self.webpackChunkgns3_web_ui||[]).push([[429],{82908:function(G){G.exports=function(re,Y){(null==Y||Y>re.length)&&(Y=re.length);for(var ee=0,L=new Array(Y);ee<Y;ee++)L[ee]=re[ee];return L},G.exports.default=G.exports,G.exports.__esModule=!0},45478:function(G){G.exports=function(re,Y){if(!(re instanceof Y))throw new TypeError("Cannot call a class as a function")},G.exports.default=G.exports,G.exports.__esModule=!0},29545:function(G){function de(Y,ee){for(var L=0;L<ee.length;L++){var fe=ee[L];fe.enumerable=fe.enumerable||!1,fe.configurable=!0,"value"in fe&&(fe.writable=!0),Object.defineProperty(Y,fe.key,fe)}}G.exports=function(Y,ee,L){return ee&&de(Y.prototype,ee),L&&de(Y,L),Y},G.exports.default=G.exports,G.exports.__esModule=!0},76567:function(G,de,re){var Y=re(54850);G.exports=function(L,fe){var K="undefined"!=typeof Symbol&&L[Symbol.iterator]||L["@@iterator"];if(!K){if(Array.isArray(L)||(K=Y(L))||fe&&L&&"number"==typeof L.length){K&&(L=K);var Ze=0,De=function(){};return{s:De,n:function(){return Ze>=L.length?{done:!0}:{done:!1,value:L[Ze++]}},e:function(me){throw me},f:De}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var Ne,Fe=!0,Ve=!1;return{s:function(){K=K.call(L)},n:function(){var me=K.next();return Fe=me.done,me},e:function(me){Ve=!0,Ne=me},f:function(){try{!Fe&&null!=K.return&&K.return()}finally{if(Ve)throw Ne}}}},G.exports.default=G.exports,G.exports.__esModule=!0},54850:function(G,de,re){var Y=re(82908);G.exports=function(L,fe){if(L){if("string"==typeof L)return Y(L,fe);var K=Object.prototype.toString.call(L).slice(8,-1);if("Object"===K&&L.constructor&&(K=L.constructor.name),"Map"===K||"Set"===K)return Array.from(L);if("Arguments"===K||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(K))return Y(L,fe)}},G.exports.default=G.exports,G.exports.__esModule=!0},16902:function(G,de,re){"use strict";var Y=re(76567).default,ee=re(45478).default,L=re(29545).default,K=(function(r){var t=r.performance;function a(_){t&&t.mark&&t.mark(_)}function n(_,p){t&&t.measure&&t.measure(_,p)}a("Zone");var i=r.__Zone_symbol_prefix||"__zone_symbol__";function f(_){return i+_}var h=!0===r[f("forceDuplicateZoneCheck")];if(r.Zone){if(h||"function"!=typeof r.Zone.__symbol__)throw new Error("Zone already loaded.");return r.Zone}var ne,y=function(){var _=function(){function p(o,e){ee(this,p),this._parent=o,this._name=e?e.name||"unnamed":"<root>",this._properties=e&&e.properties||{},this._zoneDelegate=new E(this,this._parent&&this._parent._zoneDelegate,e)}return L(p,[{key:"parent",get:function(){return this._parent}},{key:"name",get:function(){return this._name}},{key:"get",value:function(e){var l=this.getZoneWith(e);if(l)return l._properties[e]}},{key:"getZoneWith",value:function(e){for(var l=this;l;){if(l._properties.hasOwnProperty(e))return l;l=l._parent}return null}},{key:"fork",value:function(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}},{key:"wrap",value:function(e,l){if("function"!=typeof e)throw new Error("Expecting function got: "+e);var P=this._zoneDelegate.intercept(this,e,l),Z=this;return function(){return Z.runGuarded(P,this,arguments,l)}}},{key:"run",value:function(e,l,P,Z){j={parent:j,zone:this};try{return this._zoneDelegate.invoke(this,e,l,P,Z)}finally{j=j.parent}}},{key:"runGuarded",value:function(e){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,P=arguments.length>2?arguments[2]:void 0,Z=arguments.length>3?arguments[3]:void 0;j={parent:j,zone:this};try{try{return this._zoneDelegate.invoke(this,e,l,P,Z)}catch(c){if(this._zoneDelegate.handleError(this,c))throw c}}finally{j=j.parent}}},{key:"runTask",value:function(e,l,P){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||U).name+"; Execution: "+this.name+")");if(e.state!==x||e.type!==D&&e.type!==ae){var Z=e.state!=S;Z&&e._transitionTo(S,X),e.runCount++;var c=ge;ge=e,j={parent:j,zone:this};try{e.type==ae&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,l,P)}catch(b){if(this._zoneDelegate.handleError(this,b))throw b}}finally{e.state!==x&&e.state!==A&&(e.type==D||e.data&&e.data.isPeriodic?Z&&e._transitionTo(X,S):(e.runCount=0,this._updateTaskCount(e,-1),Z&&e._transitionTo(x,S,x))),j=j.parent,ge=c}}}},{key:"scheduleTask",value:function(e){if(e.zone&&e.zone!==this)for(var l=this;l;){if(l===e.zone)throw Error("can not reschedule task to ".concat(this.name," which is descendants of the original zone ").concat(e.zone.name));l=l.parent}e._transitionTo(q,x);var P=[];e._zoneDelegates=P,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(Z){throw e._transitionTo(A,q,x),this._zoneDelegate.handleError(this,Z),Z}return e._zoneDelegates===P&&this._updateTaskCount(e,1),e.state==q&&e._transitionTo(X,q),e}},{key:"scheduleMicroTask",value:function(e,l,P,Z){return this.scheduleTask(new k(le,e,l,P,Z,void 0))}},{key:"scheduleMacroTask",value:function(e,l,P,Z,c){return this.scheduleTask(new k(ae,e,l,P,Z,c))}},{key:"scheduleEventTask",value:function(e,l,P,Z,c){return this.scheduleTask(new k(D,e,l,P,Z,c))}},{key:"cancelTask",value:function(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||U).name+"; Execution: "+this.name+")");e._transitionTo(ue,X,S);try{this._zoneDelegate.cancelTask(this,e)}catch(l){throw e._transitionTo(A,ue),this._zoneDelegate.handleError(this,l),l}return this._updateTaskCount(e,-1),e._transitionTo(x,ue),e.runCount=0,e}},{key:"_updateTaskCount",value:function(e,l){var P=e._zoneDelegates;-1==l&&(e._zoneDelegates=null);for(var Z=0;Z<P.length;Z++)P[Z]._updateTaskCount(e.type,l)}}],[{key:"assertZonePatched",value:function(){if(r.Promise!==z.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}},{key:"root",get:function(){for(var e=p.current;e.parent;)e=e.parent;return e}},{key:"current",get:function(){return j.zone}},{key:"currentTask",get:function(){return ge}},{key:"__load_patch",value:function(e,l){var P=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(z.hasOwnProperty(e)){if(!P&&h)throw Error("Already loaded patch: "+e)}else if(!r["__Zone_disable_"+e]){var Z="Zone:"+e;a(Z),z[e]=l(r,p,O),n(Z,Z)}}}]),p}();return _.__symbol__=f,_}(),m={name:"",onHasTask:function(p,o,e,l){return p.hasTask(e,l)},onScheduleTask:function(p,o,e,l){return p.scheduleTask(e,l)},onInvokeTask:function(p,o,e,l,P,Z){return p.invokeTask(e,l,P,Z)},onCancelTask:function(p,o,e,l){return p.cancelTask(e,l)}},E=function(){function _(p,o,e){ee(this,_),this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=p,this._parentDelegate=o,this._forkZS=e&&(e&&e.onFork?e:o._forkZS),this._forkDlgt=e&&(e.onFork?o:o._forkDlgt),this._forkCurrZone=e&&(e.onFork?this.zone:o._forkCurrZone),this._interceptZS=e&&(e.onIntercept?e:o._interceptZS),this._interceptDlgt=e&&(e.onIntercept?o:o._interceptDlgt),this._interceptCurrZone=e&&(e.onIntercept?this.zone:o._interceptCurrZone),this._invokeZS=e&&(e.onInvoke?e:o._invokeZS),this._invokeDlgt=e&&(e.onInvoke?o:o._invokeDlgt),this._invokeCurrZone=e&&(e.onInvoke?this.zone:o._invokeCurrZone),this._handleErrorZS=e&&(e.onHandleError?e:o._handleErrorZS),this._handleErrorDlgt=e&&(e.onHandleError?o:o._handleErrorDlgt),this._handleErrorCurrZone=e&&(e.onHandleError?this.zone:o._handleErrorCurrZone),this._scheduleTaskZS=e&&(e.onScheduleTask?e:o._scheduleTaskZS),this._scheduleTaskDlgt=e&&(e.onScheduleTask?o:o._scheduleTaskDlgt),this._scheduleTaskCurrZone=e&&(e.onScheduleTask?this.zone:o._scheduleTaskCurrZone),this._invokeTaskZS=e&&(e.onInvokeTask?e:o._invokeTaskZS),this._invokeTaskDlgt=e&&(e.onInvokeTask?o:o._invokeTaskDlgt),this._invokeTaskCurrZone=e&&(e.onInvokeTask?this.zone:o._invokeTaskCurrZone),this._cancelTaskZS=e&&(e.onCancelTask?e:o._cancelTaskZS),this._cancelTaskDlgt=e&&(e.onCancelTask?o:o._cancelTaskDlgt),this._cancelTaskCurrZone=e&&(e.onCancelTask?this.zone:o._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var l=e&&e.onHasTask;(l||o&&o._hasTaskZS)&&(this._hasTaskZS=l?e:m,this._hasTaskDlgt=o,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=p,e.onScheduleTask||(this._scheduleTaskZS=m,this._scheduleTaskDlgt=o,this._scheduleTaskCurrZone=this.zone),e.onInvokeTask||(this._invokeTaskZS=m,this._invokeTaskDlgt=o,this._invokeTaskCurrZone=this.zone),e.onCancelTask||(this._cancelTaskZS=m,this._cancelTaskDlgt=o,this._cancelTaskCurrZone=this.zone))}return L(_,[{key:"fork",value:function(o,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,o,e):new y(o,e)}},{key:"intercept",value:function(o,e,l){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,o,e,l):e}},{key:"invoke",value:function(o,e,l,P,Z){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,o,e,l,P,Z):e.apply(l,P)}},{key:"handleError",value:function(o,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,o,e)}},{key:"scheduleTask",value:function(o,e){var l=e;if(this._scheduleTaskZS)this._hasTaskZS&&l._zoneDelegates.push(this._hasTaskDlgtOwner),(l=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,o,e))||(l=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=le)throw new Error("Task is missing scheduleFn.");W(e)}return l}},{key:"invokeTask",value:function(o,e,l,P){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,o,e,l,P):e.callback.apply(l,P)}},{key:"cancelTask",value:function(o,e){var l;if(this._cancelTaskZS)l=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,o,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");l=e.cancelFn(e)}return l}},{key:"hasTask",value:function(o,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,o,e)}catch(l){this.handleError(o,l)}}},{key:"_updateTaskCount",value:function(o,e){var l=this._taskCounts,P=l[o],Z=l[o]=P+e;if(Z<0)throw new Error("More tasks executed then were scheduled.");0!=P&&0!=Z||this.hasTask(this.zone,{microTask:l.microTask>0,macroTask:l.macroTask>0,eventTask:l.eventTask>0,change:o})}}]),_}(),k=function(){function _(p,o,e,l,P,Z){if(ee(this,_),this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=p,this.source=o,this.data=l,this.scheduleFn=P,this.cancelFn=Z,!e)throw new Error("callback is not defined");this.callback=e;var c=this;this.invoke=p===D&&l&&l.useG?_.invokeTask:function(){return _.invokeTask.call(r,c,this,arguments)}}return L(_,[{key:"zone",get:function(){return this._zone}},{key:"state",get:function(){return this._state}},{key:"cancelScheduleRequest",value:function(){this._transitionTo(x,q)}},{key:"_transitionTo",value:function(o,e,l){if(this._state!==e&&this._state!==l)throw new Error("".concat(this.type," '").concat(this.source,"': can not transition to '").concat(o,"', expecting state '").concat(e,"'").concat(l?" or '"+l+"'":"",", was '").concat(this._state,"'."));this._state=o,o==x&&(this._zoneDelegates=null)}},{key:"toString",value:function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}},{key:"toJSON",value:function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}],[{key:"invokeTask",value:function(o,e,l){o||(o=this),pe++;try{return o.runCount++,o.zone.runTask(o,e,l)}finally{1==pe&&v(),pe--}}}]),_}(),g=f("setTimeout"),w=f("Promise"),N=f("then"),B=[],V=!1;function W(_){if(0===pe&&0===B.length)if(ne||r[w]&&(ne=r[w].resolve(0)),ne){var p=ne[N];p||(p=ne.then),p.call(ne,v)}else r[g](v,0);_&&B.push(_)}function v(){if(!V){for(V=!0;B.length;){var _=B;B=[];for(var p=0;p<_.length;p++){var o=_[p];try{o.zone.runTask(o,null,null)}catch(e){O.onUnhandledError(e)}}}O.microtaskDrainDone(),V=!1}}var U={name:"NO ZONE"},x="notScheduled",q="scheduling",X="scheduled",S="running",ue="canceling",A="unknown",le="microTask",ae="macroTask",D="eventTask",z={},O={symbol:f,currentZoneFrame:function(){return j},onUnhandledError:J,microtaskDrainDone:J,scheduleMicroTask:W,showUncaughtError:function(){return!y[f("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:J,patchMethod:function(){return J},bindArguments:function(){return[]},patchThen:function(){return J},patchMacroTask:function(){return J},patchEventPrototype:function(){return J},isIEOrEdge:function(){return!1},getGlobalObjects:function(){},ObjectDefineProperty:function(){return J},ObjectGetOwnPropertyDescriptor:function(){},ObjectCreate:function(){},ArraySlice:function(){return[]},patchClass:function(){return J},wrapWithCurrentZone:function(){return J},filterProperties:function(){return[]},attachOriginToPatched:function(){return J},_redefineProperty:function(){return J},patchCallbacks:function(){return J}},j={parent:null,zone:new y(null,null)},ge=null,pe=0;function J(){}n("Zone","Zone"),r.Zone=y}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global),Object.getOwnPropertyDescriptor),Ze=Object.defineProperty,De=Object.getPrototypeOf,Fe=Object.create,Ve=Array.prototype.slice,Ne="addEventListener",Ee="removeEventListener",me=Zone.__symbol__(Ne),qe=Zone.__symbol__(Ee),Te="true",ke="false",xe=Zone.__symbol__("");function Je(r,t){return Zone.current.wrap(r,t)}function Ke(r,t,a,n,i){return Zone.current.scheduleMacroTask(r,t,a,n,i)}var F=Zone.__symbol__,Be="undefined"!=typeof window,Ie=Be?window:void 0,te=Be&&Ie||"object"==typeof self&&self||global,br=[null];function $e(r,t){for(var a=r.length-1;a>=0;a--)"function"==typeof r[a]&&(r[a]=Je(r[a],t+"_"+a));return r}function ar(r){return!r||!1!==r.writable&&!("function"==typeof r.get&&void 0===r.set)}var or="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,Ue=!("nw"in te)&&void 0!==te.process&&"[object process]"==={}.toString.call(te.process),Qe=!Ue&&!or&&!(!Be||!Ie.HTMLElement),ir=void 0!==te.process&&"[object process]"==={}.toString.call(te.process)&&!or&&!(!Be||!Ie.HTMLElement),ze={},sr=function(t){if(t=t||te.event){var a=ze[t.type];a||(a=ze[t.type]=F("ON_PROPERTY"+t.type));var f,n=this||t.target||te,i=n[a];if(Qe&&n===Ie&&"error"===t.type){var h=t;!0===(f=i&&i.call(this,h.message,h.filename,h.lineno,h.colno,h.error))&&t.preventDefault()}else null!=(f=i&&i.apply(this,arguments))&&!f&&t.preventDefault();return f}};function ur(r,t,a){var n=K(r,t);if(!n&&a&&K(a,t)&&(n={enumerable:!0,configurable:!0}),n&&n.configurable){var f=F("on"+t+"patched");if(!r.hasOwnProperty(f)||!r[f]){delete n.writable,delete n.value;var h=n.get,y=n.set,m=t.substr(2),E=ze[m];E||(E=ze[m]=F("ON_PROPERTY"+m)),n.set=function(k){var g=this;!g&&r===te&&(g=te),g&&(g[E]&&g.removeEventListener(m,sr),y&&y.apply(g,br),"function"==typeof k?(g[E]=k,g.addEventListener(m,sr,!1)):g[E]=null)},n.get=function(){var k=this;if(!k&&r===te&&(k=te),!k)return null;var g=k[E];if(g)return g;if(h){var w=h&&h.call(this);if(w)return n.set.call(this,w),"function"==typeof k.removeAttribute&&k.removeAttribute(t),w}return null},Ze(r,t,n),r[f]=!0}}}function cr(r,t,a){if(t)for(var n=0;n<t.length;n++)ur(r,"on"+t[n],a);else{var i=[];for(var f in r)"on"==f.substr(0,2)&&i.push(f);for(var h=0;h<i.length;h++)ur(r,i[h],a)}}var _e=F("originalInstance");function He(r){var t=te[r];if(t){te[F(r)]=t,te[r]=function(){var i=$e(arguments,r);switch(i.length){case 0:this[_e]=new t;break;case 1:this[_e]=new t(i[0]);break;case 2:this[_e]=new t(i[0],i[1]);break;case 3:this[_e]=new t(i[0],i[1],i[2]);break;case 4:this[_e]=new t(i[0],i[1],i[2],i[3]);break;default:throw new Error("Arg list too long.")}},we(te[r],t);var n,a=new t(function(){});for(n in a)"XMLHttpRequest"===r&&"responseBlob"===n||function(i){"function"==typeof a[i]?te[r].prototype[i]=function(){return this[_e][i].apply(this[_e],arguments)}:Ze(te[r].prototype,i,{set:function(h){"function"==typeof h?(this[_e][i]=Je(h,r+"."+i),we(this[_e][i],h)):this[_e][i]=h},get:function(){return this[_e][i]}})}(n);for(n in t)"prototype"!==n&&t.hasOwnProperty(n)&&(te[r][n]=t[n])}}function be(r,t,a){for(var n=r;n&&!n.hasOwnProperty(t);)n=De(n);!n&&r[t]&&(n=r);var i=F(t),f=null;if(n&&(!(f=n[i])||!n.hasOwnProperty(i))&&(f=n[i]=n[t],ar(n&&K(n,t)))){var y=a(f,i,t);n[t]=function(){return y(this,arguments)},we(n[t],f)}return f}function Cr(r,t,a){var n=null;function i(f){var h=f.data;return h.args[h.cbIdx]=function(){f.invoke.apply(this,arguments)},n.apply(h.target,h.args),f}n=be(r,t,function(f){return function(h,y){var m=a(h,y);return m.cbIdx>=0&&"function"==typeof y[m.cbIdx]?Ke(m.name,y[m.cbIdx],m,i):f.apply(h,y)}})}function we(r,t){r[F("OriginalDelegate")]=t}var lr=!1,er=!1;function Pr(){if(lr)return er;lr=!0;try{var r=Ie.navigator.userAgent;(-1!==r.indexOf("MSIE ")||-1!==r.indexOf("Trident/")||-1!==r.indexOf("Edge/"))&&(er=!0)}catch(t){}return er}Zone.__load_patch("ZoneAwarePromise",function(r,t,a){var n=Object.getOwnPropertyDescriptor,i=Object.defineProperty,h=a.symbol,y=[],m=!0===r[h("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],E=h("Promise"),k=h("then");a.onUnhandledError=function(c){if(a.showUncaughtError()){var b=c&&c.rejection;b?console.error("Unhandled Promise rejection:",b instanceof Error?b.message:b,"; Zone:",c.zone.name,"; Task:",c.task&&c.task.source,"; Value:",b,b instanceof Error?b.stack:void 0):console.error(c)}},a.microtaskDrainDone=function(){for(var c=function(){var s=y.shift();try{s.zone.runGuarded(function(){throw s.throwOriginal?s.rejection:s})}catch(u){!function(c){a.onUnhandledError(c);try{var b=t[w];"function"==typeof b&&b.call(this,c)}catch(s){}}(u)}};y.length;)c()};var w=h("unhandledPromiseRejectionHandler");function B(c){return c&&c.then}function V(c){return c}function ne(c){return o.reject(c)}var W=h("state"),v=h("value"),U=h("finally"),x=h("parentPromiseValue"),q=h("parentPromiseState"),S=null,A=!1;function ae(c,b){return function(s){try{j(c,b,s)}catch(u){j(c,!1,u)}}}var O=h("currentTaskTrace");function j(c,b,s){var u=function(){var b=!1;return function(u){return function(){b||(b=!0,u.apply(null,arguments))}}}();if(c===s)throw new TypeError("Promise resolved with itself");if(c[W]===S){var d=null;try{("object"==typeof s||"function"==typeof s)&&(d=s&&s.then)}catch(H){return u(function(){j(c,!1,H)})(),c}if(b!==A&&s instanceof o&&s.hasOwnProperty(W)&&s.hasOwnProperty(v)&&s[W]!==S)pe(s),j(c,s[W],s[v]);else if(b!==A&&"function"==typeof d)try{d.call(s,u(ae(c,b)),u(ae(c,!1)))}catch(H){u(function(){j(c,!1,H)})()}else{c[W]=b;var T=c[v];if(c[v]=s,c[U]===U&&!0===b&&(c[W]=c[q],c[v]=c[x]),b===A&&s instanceof Error){var R=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;R&&i(s,O,{configurable:!0,enumerable:!1,writable:!0,value:R})}for(var C=0;C<T.length;)J(c,T[C++],T[C++],T[C++],T[C++]);if(0==T.length&&b==A){c[W]=0;var I=s;try{throw new Error("Uncaught (in promise): "+function(c){return c&&c.toString===Object.prototype.toString?(c.constructor&&c.constructor.name||"")+": "+JSON.stringify(c):c?c.toString():Object.prototype.toString.call(c)}(s)+(s&&s.stack?"\n"+s.stack:""))}catch(H){I=H}m&&(I.throwOriginal=!0),I.rejection=s,I.promise=c,I.zone=t.current,I.task=t.currentTask,y.push(I),a.scheduleMicroTask()}}}return c}var ge=h("rejectionHandledHandler");function pe(c){if(0===c[W]){try{var b=t[ge];b&&"function"==typeof b&&b.call(this,{rejection:c[v],promise:c})}catch(u){}c[W]=A;for(var s=0;s<y.length;s++)c===y[s].promise&&y.splice(s,1)}}function J(c,b,s,u,d){pe(c);var T=c[W],R=T?"function"==typeof u?u:V:"function"==typeof d?d:ne;b.scheduleMicroTask("Promise.then",function(){try{var C=c[v],I=!!s&&U===s[U];I&&(s[x]=C,s[q]=T);var H=b.run(R,void 0,I&&R!==ne&&R!==V?[]:[C]);j(s,!0,H)}catch(M){j(s,!1,M)}},s)}var p=function(){},o=function(c,b){function s(u){ee(this,s);var d=this;if(!(d instanceof s))throw new Error("Must be an instanceof Promise.");d[W]=S,d[v]=[];try{u&&u(ae(d,!0),ae(d,A))}catch(T){j(d,!1,T)}}return L(s,[{key:c,get:function(){return"Promise"}},{key:b,get:function(){return s}},{key:"then",value:function(d,T){var R=this.constructor[Symbol.species];(!R||"function"!=typeof R)&&(R=this.constructor||s);var C=new R(p),I=t.current;return this[W]==S?this[v].push(I,C,d,T):J(this,I,C,d,T),C}},{key:"catch",value:function(d){return this.then(null,d)}},{key:"finally",value:function(d){var T=this.constructor[Symbol.species];(!T||"function"!=typeof T)&&(T=s);var R=new T(p);R[U]=U;var C=t.current;return this[W]==S?this[v].push(C,R,d,d):J(this,C,R,d,d),R}}],[{key:"toString",value:function(){return"function ZoneAwarePromise() { [native code] }"}},{key:"resolve",value:function(d){return j(new this(null),!0,d)}},{key:"reject",value:function(d){return j(new this(null),A,d)}},{key:"race",value:function(d){var T,R,C=new this(function(ie,se){T=ie,R=se});function I(ie){T(ie)}function H(ie){R(ie)}var $,M=Y(d);try{for(M.s();!($=M.n()).done;){var oe=$.value;B(oe)||(oe=this.resolve(oe)),oe.then(I,H)}}catch(ie){M.e(ie)}finally{M.f()}return C}},{key:"all",value:function(d){return s.allWithCallback(d)}},{key:"allSettled",value:function(d){return(this&&this.prototype instanceof s?this:s).allWithCallback(d,{thenCallback:function(C){return{status:"fulfilled",value:C}},errorCallback:function(C){return{status:"rejected",reason:C}}})}},{key:"allWithCallback",value:function(d,T){var C,I,se,R=this,H=new this(function(he,ye){C=he,I=ye}),M=2,$=0,oe=[],ie=Y(d);try{var Ce=function(){var ye=se.value;B(ye)||(ye=R.resolve(ye));var Re=$;try{ye.then(function(ce){oe[Re]=T?T.thenCallback(ce):ce,0==--M&&C(oe)},function(ce){T?(oe[Re]=T.errorCallback(ce),0==--M&&C(oe)):I(ce)})}catch(ce){I(ce)}M++,$++};for(ie.s();!(se=ie.n()).done;)Ce()}catch(he){ie.e(he)}finally{ie.f()}return 0==(M-=2)&&C(oe),H}}]),s}(Symbol.toStringTag,Symbol.species);o.resolve=o.resolve,o.reject=o.reject,o.race=o.race,o.all=o.all;var e=r[E]=r.Promise;r.Promise=o;var l=h("thenPatched");function P(c){var b=c.prototype,s=n(b,"then");if(!s||!1!==s.writable&&s.configurable){var u=b.then;b[k]=u,c.prototype.then=function(d,T){var R=this;return new o(function(I,H){u.call(R,I,H)}).then(d,T)},c[l]=!0}}return a.patchThen=P,e&&(P(e),be(r,"fetch",function(c){return function(c){return function(b,s){var u=c.apply(b,s);if(u instanceof o)return u;var d=u.constructor;return d[l]||P(d),u}}(c)})),Promise[t.__symbol__("uncaughtPromiseErrors")]=y,o}),Zone.__load_patch("toString",function(r){var t=Function.prototype.toString,a=F("OriginalDelegate"),n=F("Promise"),i=F("Error"),f=function(){if("function"==typeof this){var E=this[a];if(E)return"function"==typeof E?t.call(E):Object.prototype.toString.call(E);if(this===Promise){var k=r[n];if(k)return t.call(k)}if(this===Error){var g=r[i];if(g)return t.call(g)}}return t.call(this)};f[a]=t,Function.prototype.toString=f;var h=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":h.call(this)}});var Me=!1;if("undefined"!=typeof window)try{var We=Object.defineProperty({},"passive",{get:function(){Me=!0}});window.addEventListener("test",We,We),window.removeEventListener("test",We,We)}catch(r){Me=!1}var Rr={useG:!0},ve={},fr={},vr=new RegExp("^"+xe+"(\\w+)(true|false)$"),rr=F("propagationStopped");function hr(r,t){var a=(t?t(r):r)+ke,n=(t?t(r):r)+Te,i=xe+a,f=xe+n;ve[r]={},ve[r][ke]=i,ve[r][Te]=f}function Or(r,t,a){var n=a&&a.add||Ne,i=a&&a.rm||Ee,f=a&&a.listeners||"eventListeners",h=a&&a.rmAll||"removeAllListeners",y=F(n),m="."+n+":",g=function(v,U,x){if(!v.isRemoved){var q=v.callback;"object"==typeof q&&q.handleEvent&&(v.callback=function(ue){return q.handleEvent(ue)},v.originalDelegate=q),v.invoke(v,U,[x]);var X=v.options;X&&"object"==typeof X&&X.once&&U[i].call(U,x.type,v.originalDelegate?v.originalDelegate:v.callback,X)}},w=function(v){if(v=v||r.event){var U=this||v.target||r,x=U[ve[v.type][ke]];if(x)if(1===x.length)g(x[0],U,v);else for(var q=x.slice(),X=0;X<q.length&&(!v||!0!==v[rr]);X++)g(q[X],U,v)}},N=function(v){if(v=v||r.event){var U=this||v.target||r,x=U[ve[v.type][Te]];if(x)if(1===x.length)g(x[0],U,v);else for(var q=x.slice(),X=0;X<q.length&&(!v||!0!==v[rr]);X++)g(q[X],U,v)}};function B(W,v){if(!W)return!1;var U=!0;v&&void 0!==v.useG&&(U=v.useG);var x=v&&v.vh,q=!0;v&&void 0!==v.chkDup&&(q=v.chkDup);var X=!1;v&&void 0!==v.rt&&(X=v.rt);for(var S=W;S&&!S.hasOwnProperty(n);)S=De(S);if(!S&&W[n]&&(S=W),!S||S[y])return!1;var O,ue=v&&v.eventNameToString,A={},le=S[y]=S[n],ae=S[F(i)]=S[i],D=S[F(f)]=S[f],z=S[F(h)]=S[h];function j(s,u){return!Me&&"object"==typeof s&&s?!!s.capture:Me&&u?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?Object.assign(Object.assign({},s),{passive:!0}):s:{passive:!0}:s}v&&v.prepend&&(O=S[F(v.prepend)]=S[v.prepend]);var o=U?function(u){if(!A.isExisting)return le.call(A.target,A.eventName,A.capture?N:w,A.options)}:function(u){return le.call(A.target,A.eventName,u.invoke,A.options)},e=U?function(u){if(!u.isRemoved){var T,d=ve[u.eventName];d&&(T=d[u.capture?Te:ke]);var R=T&&u.target[T];if(R)for(var C=0;C<R.length;C++)if(R[C]===u){R.splice(C,1),u.isRemoved=!0,0===R.length&&(u.allRemoved=!0,u.target[T]=null);break}}if(u.allRemoved)return ae.call(u.target,u.eventName,u.capture?N:w,u.options)}:function(u){return ae.call(u.target,u.eventName,u.invoke,u.options)},P=v&&v.diff?v.diff:function(u,d){var T=typeof d;return"function"===T&&u.callback===d||"object"===T&&u.originalDelegate===d},Z=Zone[F("UNPATCHED_EVENTS")],c=r[F("PASSIVE_EVENTS")],b=function(u,d,T,R){var C=arguments.length>4&&void 0!==arguments[4]&&arguments[4],I=arguments.length>5&&void 0!==arguments[5]&&arguments[5];return function(){var H=this||r,M=arguments[0];v&&v.transferEventName&&(M=v.transferEventName(M));var $=arguments[1];if(!$)return u.apply(this,arguments);if(Ue&&"uncaughtException"===M)return u.apply(this,arguments);var oe=!1;if("function"!=typeof $){if(!$.handleEvent)return u.apply(this,arguments);oe=!0}if(!x||x(u,$,H,arguments)){var ie=Me&&!!c&&-1!==c.indexOf(M),se=j(arguments[2],ie);if(Z)for(var Ce=0;Ce<Z.length;Ce++)if(M===Z[Ce])return ie?u.call(H,M,$,se):u.apply(this,arguments);var he=!!se&&("boolean"==typeof se||se.capture),ye=!(!se||"object"!=typeof se)&&se.once,Re=Zone.current,ce=ve[M];ce||(hr(M,ue),ce=ve[M]);var Oe=ce[he?Te:ke],Se=H[Oe],mr=!1;if(Se){if(mr=!0,q)for(var nr=0;nr<Se.length;nr++)if(P(Se[nr],$))return}else Se=H[Oe]=[];var Ye,gr=H.constructor.name,Tr=fr[gr];Tr&&(Ye=Tr[M]),Ye||(Ye=gr+d+(ue?ue(M):M)),A.options=se,ye&&(A.options.once=!1),A.target=H,A.capture=he,A.eventName=M,A.isExisting=mr;var Ge=U?Rr:void 0;Ge&&(Ge.taskData=A);var Pe=Re.scheduleEventTask(Ye,$,Ge,T,R);if(A.target=null,Ge&&(Ge.taskData=null),ye&&(se.once=!0),!Me&&"boolean"==typeof Pe.options||(Pe.options=se),Pe.target=H,Pe.capture=he,Pe.eventName=M,oe&&(Pe.originalDelegate=$),I?Se.unshift(Pe):Se.push(Pe),C)return H}}};return S[n]=b(le,m,o,e,X),O&&(S.prependListener=b(O,".prependListener:",function(u){return O.call(A.target,A.eventName,u.invoke,A.options)},e,X,!0)),S[i]=function(){var s=this||r,u=arguments[0];v&&v.transferEventName&&(u=v.transferEventName(u));var d=arguments[2],T=!!d&&("boolean"==typeof d||d.capture),R=arguments[1];if(!R)return ae.apply(this,arguments);if(!x||x(ae,R,s,arguments)){var I,C=ve[u];C&&(I=C[T?Te:ke]);var H=I&&s[I];if(H)for(var M=0;M<H.length;M++){var $=H[M];if(P($,R)){if(H.splice(M,1),$.isRemoved=!0,0===H.length&&($.allRemoved=!0,s[I]=null,"string"==typeof u)){var oe=xe+"ON_PROPERTY"+u;s[oe]=null}return $.zone.cancelTask($),X?s:void 0}}return ae.apply(this,arguments)}},S[f]=function(){var s=this||r,u=arguments[0];v&&v.transferEventName&&(u=v.transferEventName(u));for(var d=[],T=dr(s,ue?ue(u):u),R=0;R<T.length;R++){var C=T[R],I=C.originalDelegate?C.originalDelegate:C.callback;d.push(I)}return d},S[h]=function(){var s=this||r,u=arguments[0];if(u){v&&v.transferEventName&&(u=v.transferEventName(u));var H=ve[u];if(H){var M=H[ke],$=H[Te],oe=s[M],ie=s[$];if(oe)for(var se=oe.slice(),Ce=0;Ce<se.length;Ce++){var he=se[Ce],ye=he.originalDelegate?he.originalDelegate:he.callback;this[i].call(this,u,ye,he.options)}if(ie)for(var Re=ie.slice(),ce=0;ce<Re.length;ce++){var Oe=Re[ce],Se=Oe.originalDelegate?Oe.originalDelegate:Oe.callback;this[i].call(this,u,Se,Oe.options)}}}else{for(var d=Object.keys(s),T=0;T<d.length;T++){var R=d[T],C=vr.exec(R),I=C&&C[1];I&&"removeListener"!==I&&this[h].call(this,I)}this[h].call(this,"removeListener")}if(X)return this},we(S[n],le),we(S[i],ae),z&&we(S[h],z),D&&we(S[f],D),!0}for(var V=[],ne=0;ne<t.length;ne++)V[ne]=B(t[ne],a);return V}function dr(r,t){if(!t){var a=[];for(var n in r){var i=vr.exec(n),f=i&&i[1];if(f&&(!t||f===t)){var h=r[n];if(h)for(var y=0;y<h.length;y++)a.push(h[y])}}return a}var m=ve[t];m||(hr(t),m=ve[t]);var E=r[m[ke]],k=r[m[Te]];return E?k?E.concat(k):E.slice():k?k.slice():[]}function Zr(r,t){var a=r.Event;a&&a.prototype&&t.patchMethod(a.prototype,"stopImmediatePropagation",function(n){return function(i,f){i[rr]=!0,n&&n.apply(i,f)}})}function Dr(r,t,a,n,i){var f=Zone.__symbol__(n);if(!t[f]){var h=t[f]=t[n];t[n]=function(y,m,E){return m&&m.prototype&&i.forEach(function(k){var g="".concat(a,".").concat(n,"::")+k,w=m.prototype;if(w.hasOwnProperty(k)){var N=r.ObjectGetOwnPropertyDescriptor(w,k);N&&N.value?(N.value=r.wrapWithCurrentZone(N.value,g),r._redefineProperty(m.prototype,k,N)):w[k]&&(w[k]=r.wrapWithCurrentZone(w[k],g))}else w[k]&&(w[k]=r.wrapWithCurrentZone(w[k],g))}),h.call(t,y,m,E)},r.attachOriginToPatched(t[n],h)}}var tr=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],Lr=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],_r=["load"],pr=["blur","error","focus","load","resize","scroll","messageerror"],Gr=["bounce","finish","start"],yr=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],Le=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],Fr=["close","error","open","message"],Vr=["error","message"],Ae=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],tr,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function Er(r,t,a){if(!a||0===a.length)return t;var n=a.filter(function(f){return f.target===r});if(!n||0===n.length)return t;var i=n[0].ignoreProperties;return t.filter(function(f){return-1===i.indexOf(f)})}function Q(r,t,a,n){r&&cr(r,Er(r,t,a),n)}Zone.__load_patch("util",function(r,t,a){a.patchOnProperties=cr,a.patchMethod=be,a.bindArguments=$e,a.patchMacroTask=Cr;var n=t.__symbol__("BLACK_LISTED_EVENTS"),i=t.__symbol__("UNPATCHED_EVENTS");r[i]&&(r[n]=r[i]),r[n]&&(t[n]=t[i]=r[n]),a.patchEventPrototype=Zr,a.patchEventTarget=Or,a.isIEOrEdge=Pr,a.ObjectDefineProperty=Ze,a.ObjectGetOwnPropertyDescriptor=K,a.ObjectCreate=Fe,a.ArraySlice=Ve,a.patchClass=He,a.wrapWithCurrentZone=Je,a.filterProperties=Er,a.attachOriginToPatched=we,a._redefineProperty=Object.defineProperty,a.patchCallbacks=Dr,a.getGlobalObjects=function(){return{globalSources:fr,zoneSymbolEventNames:ve,eventNames:Ae,isBrowser:Qe,isMix:ir,isNode:Ue,TRUE_STR:Te,FALSE_STR:ke,ZONE_SYMBOL_PREFIX:xe,ADD_EVENT_LISTENER_STR:Ne,REMOVE_EVENT_LISTENER_STR:Ee}}});var Xe=F("zoneTask");function je(r,t,a,n){var i=null,f=null;a+=n;var h={};function y(E){var k=E.data;return k.args[0]=function(){return E.invoke.apply(this,arguments)},k.handleId=i.apply(r,k.args),E}function m(E){return f.call(r,E.data.handleId)}i=be(r,t+=n,function(E){return function(k,g){if("function"==typeof g[0]){var w={isPeriodic:"Interval"===n,delay:"Timeout"===n||"Interval"===n?g[1]||0:void 0,args:g},N=g[0];g[0]=function(){try{return N.apply(this,arguments)}finally{w.isPeriodic||("number"==typeof w.handleId?delete h[w.handleId]:w.handleId&&(w.handleId[Xe]=null))}};var B=Ke(t,g[0],w,y,m);if(!B)return B;var V=B.data.handleId;return"number"==typeof V?h[V]=B:V&&(V[Xe]=B),V&&V.ref&&V.unref&&"function"==typeof V.ref&&"function"==typeof V.unref&&(B.ref=V.ref.bind(V),B.unref=V.unref.bind(V)),"number"==typeof V||V?V:B}return E.apply(r,g)}}),f=be(r,a,function(E){return function(k,g){var N,w=g[0];"number"==typeof w?N=h[w]:(N=w&&w[Xe])||(N=w),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof w?delete h[w]:w&&(w[Xe]=null),N.zone.cancelTask(N)):E.apply(r,g)}})}Zone.__load_patch("legacy",function(r){var t=r[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("queueMicrotask",function(r,t,a){a.patchMethod(r,"queueMicrotask",function(n){return function(i,f){t.current.scheduleMicroTask("queueMicrotask",f[0])}})}),Zone.__load_patch("timers",function(r){var t="set",a="clear";je(r,t,a,"Timeout"),je(r,t,a,"Interval"),je(r,t,a,"Immediate")}),Zone.__load_patch("requestAnimationFrame",function(r){je(r,"request","cancel","AnimationFrame"),je(r,"mozRequest","mozCancel","AnimationFrame"),je(r,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",function(r,t){for(var a=["alert","prompt","confirm"],n=0;n<a.length;n++)be(r,a[n],function(f,h,y){return function(m,E){return t.current.run(f,r,E,y)}})}),Zone.__load_patch("EventTarget",function(r,t,a){(function(r,t){t.patchEventPrototype(r,t)})(r,a),function(r,t){if(!Zone[t.symbol("patchEventTarget")]){for(var a=t.getGlobalObjects(),n=a.eventNames,i=a.zoneSymbolEventNames,f=a.TRUE_STR,h=a.FALSE_STR,y=a.ZONE_SYMBOL_PREFIX,m=0;m<n.length;m++){var E=n[m],w=y+(E+h),N=y+(E+f);i[E]={},i[E][h]=w,i[E][f]=N}var B=r.EventTarget;B&&B.prototype&&t.patchEventTarget(r,[B&&B.prototype])}}(r,a);var n=r.XMLHttpRequestEventTarget;n&&n.prototype&&a.patchEventTarget(r,[n.prototype])}),Zone.__load_patch("MutationObserver",function(r,t,a){He("MutationObserver"),He("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",function(r,t,a){He("IntersectionObserver")}),Zone.__load_patch("FileReader",function(r,t,a){He("FileReader")}),Zone.__load_patch("on_property",function(r,t,a){!function(r,t){if((!Ue||ir)&&!Zone[r.symbol("patchEvents")]){var a="undefined"!=typeof WebSocket,n=t.__Zone_ignore_on_properties;if(Qe){var i=window,f=function(){try{var r=Ie.navigator.userAgent;if(-1!==r.indexOf("MSIE ")||-1!==r.indexOf("Trident/"))return!0}catch(t){}return!1}()?[{target:i,ignoreProperties:["error"]}]:[];Q(i,Ae.concat(["messageerror"]),n&&n.concat(f),De(i)),Q(Document.prototype,Ae,n),void 0!==i.SVGElement&&Q(i.SVGElement.prototype,Ae,n),Q(Element.prototype,Ae,n),Q(HTMLElement.prototype,Ae,n),Q(HTMLMediaElement.prototype,Lr,n),Q(HTMLFrameSetElement.prototype,tr.concat(pr),n),Q(HTMLBodyElement.prototype,tr.concat(pr),n),Q(HTMLFrameElement.prototype,_r,n),Q(HTMLIFrameElement.prototype,_r,n);var h=i.HTMLMarqueeElement;h&&Q(h.prototype,Gr,n);var y=i.Worker;y&&Q(y.prototype,Vr,n)}var m=t.XMLHttpRequest;m&&Q(m.prototype,yr,n);var E=t.XMLHttpRequestEventTarget;E&&Q(E&&E.prototype,yr,n),"undefined"!=typeof IDBIndex&&(Q(IDBIndex.prototype,Le,n),Q(IDBRequest.prototype,Le,n),Q(IDBOpenDBRequest.prototype,Le,n),Q(IDBDatabase.prototype,Le,n),Q(IDBTransaction.prototype,Le,n),Q(IDBCursor.prototype,Le,n)),a&&Q(WebSocket.prototype,Fr,n)}}(a,r)}),Zone.__load_patch("customElements",function(r,t,a){!function(r,t){var a=t.getGlobalObjects();(a.isBrowser||a.isMix)&&r.customElements&&"customElements"in r&&t.patchCallbacks(t,r.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(r,a)}),Zone.__load_patch("XHR",function(r,t){!function(E){var k=E.XMLHttpRequest;if(k){var g=k.prototype,N=g[me],B=g[qe];if(!N){var V=E.XMLHttpRequestEventTarget;if(V){var ne=V.prototype;N=ne[me],B=ne[qe]}}var W="readystatechange",v="scheduled",X=be(g,"open",function(){return function(D,z){return D[n]=0==z[2],D[h]=z[1],X.apply(D,z)}}),ue=F("fetchTaskAborting"),A=F("fetchTaskScheduling"),le=be(g,"send",function(){return function(D,z){if(!0===t.current[A]||D[n])return le.apply(D,z);var O={target:D,url:D[h],isPeriodic:!1,args:z,aborted:!1},j=Ke("XMLHttpRequest.send",x,O,U,q);D&&!0===D[y]&&!O.aborted&&j.state===v&&j.invoke()}}),ae=be(g,"abort",function(){return function(D,z){var O=function(D){return D[a]}(D);if(O&&"string"==typeof O.type){if(null==O.cancelFn||O.data&&O.data.aborted)return;O.zone.cancelTask(O)}else if(!0===t.current[ue])return ae.apply(D,z)}})}function U(D){var z=D.data,O=z.target;O[f]=!1,O[y]=!1;var j=O[i];N||(N=O[me],B=O[qe]),j&&B.call(O,W,j);var ge=O[i]=function(){if(O.readyState===O.DONE)if(!z.aborted&&O[f]&&D.state===v){var J=O[t.__symbol__("loadfalse")];if(0!==O.status&&J&&J.length>0){var _=D.invoke;D.invoke=function(){for(var p=O[t.__symbol__("loadfalse")],o=0;o<p.length;o++)p[o]===D&&p.splice(o,1);!z.aborted&&D.state===v&&_.call(D)},J.push(D)}else D.invoke()}else!z.aborted&&!1===O[f]&&(O[y]=!0)};return N.call(O,W,ge),O[a]||(O[a]=D),le.apply(O,z.args),O[f]=!0,D}function x(){}function q(D){var z=D.data;return z.aborted=!0,ae.apply(z.target,z.args)}}(r);var a=F("xhrTask"),n=F("xhrSync"),i=F("xhrListener"),f=F("xhrScheduled"),h=F("xhrURL"),y=F("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",function(r){r.navigator&&r.navigator.geolocation&&function(r,t){for(var a=r.constructor.name,n=function(y){var g,w,m=t[y],E=r[m];if(E){if(!ar(K(r,m)))return"continue";r[m]=(w=function(){return g.apply(this,$e(arguments,a+"."+m))},we(w,g=E),w)}},i=0;i<t.length;i++)n(i)}(r.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",function(r,t){function a(n){return function(i){dr(r,n).forEach(function(h){var y=r.PromiseRejectionEvent;if(y){var m=new y(n,{promise:i.promise,reason:i.rejection});h.invoke(m)}})}}r.PromiseRejectionEvent&&(t[F("unhandledPromiseRejectionHandler")]=a("unhandledrejection"),t[F("rejectionHandledHandler")]=a("rejectionhandled"))})},69254:function(G,de,re){"use strict";re(16902)}},function(G){G(G.s=69254)}]);
\ No newline at end of file
diff --git a/gns3server/static/web-ui/roboto-latin-100.c2aa4ab115bf9c6057cb.woff2 b/gns3server/static/web-ui/roboto-latin-100.539f0a96b40596f7.woff2
similarity index 100%
rename from gns3server/static/web-ui/roboto-latin-100.c2aa4ab115bf9c6057cb.woff2
rename to gns3server/static/web-ui/roboto-latin-100.539f0a96b40596f7.woff2
diff --git a/gns3server/static/web-ui/roboto-latin-100.a45108d3b34af91f9113.woff b/gns3server/static/web-ui/roboto-latin-100.5ba994dac3e79ea8.woff
similarity index 100%
rename from gns3server/static/web-ui/roboto-latin-100.a45108d3b34af91f9113.woff
rename to gns3server/static/web-ui/roboto-latin-100.5ba994dac3e79ea8.woff
diff --git a/gns3server/static/web-ui/roboto-latin-100italic.7f839a8652da29745ce4.woff2 b/gns3server/static/web-ui/roboto-latin-100italic.41ba64219cb743c9.woff2
similarity index 100%
rename from gns3server/static/web-ui/roboto-latin-100italic.7f839a8652da29745ce4.woff2
rename to gns3server/static/web-ui/roboto-latin-100italic.41ba64219cb743c9.woff2
diff --git a/gns3server/static/web-ui/roboto-latin-100italic.451d4e559d6f57cdf6a1.woff b/gns3server/static/web-ui/roboto-latin-100italic.d61e7e8b07c0638c.woff
similarity index 100%
rename from gns3server/static/web-ui/roboto-latin-100italic.451d4e559d6f57cdf6a1.woff
rename to gns3server/static/web-ui/roboto-latin-100italic.d61e7e8b07c0638c.woff
diff --git a/gns3server/static/web-ui/roboto-latin-300.37a7069dc30fc663c878.woff2 b/gns3server/static/web-ui/roboto-latin-300.4d8f8086236bad80.woff2
similarity index 100%
rename from gns3server/static/web-ui/roboto-latin-300.37a7069dc30fc663c878.woff2
rename to gns3server/static/web-ui/roboto-latin-300.4d8f8086236bad80.woff2
diff --git a/gns3server/static/web-ui/roboto-latin-300.865f928cbabcc9f8f2b5.woff b/gns3server/static/web-ui/roboto-latin-300.6c1bc461047e61f5.woff
similarity index 100%
rename from gns3server/static/web-ui/roboto-latin-300.865f928cbabcc9f8f2b5.woff
rename to gns3server/static/web-ui/roboto-latin-300.6c1bc461047e61f5.woff
diff --git a/gns3server/static/web-ui/roboto-latin-300italic.bd5b7a13f2c52b531a2a.woff b/gns3server/static/web-ui/roboto-latin-300italic.3a529751a590d3c1.woff
similarity index 100%
rename from gns3server/static/web-ui/roboto-latin-300italic.bd5b7a13f2c52b531a2a.woff
rename to gns3server/static/web-ui/roboto-latin-300italic.3a529751a590d3c1.woff
diff --git a/gns3server/static/web-ui/roboto-latin-300italic.c64e7e354c88e613c77c.woff2 b/gns3server/static/web-ui/roboto-latin-300italic.45164643b3bd5824.woff2
similarity index 100%
rename from gns3server/static/web-ui/roboto-latin-300italic.c64e7e354c88e613c77c.woff2
rename to gns3server/static/web-ui/roboto-latin-300italic.45164643b3bd5824.woff2
diff --git a/gns3server/static/web-ui/roboto-latin-400.176f8f5bd5f02b3abfcf.woff2 b/gns3server/static/web-ui/roboto-latin-400.1e2d4d3a272629cd.woff2
similarity index 100%
rename from gns3server/static/web-ui/roboto-latin-400.176f8f5bd5f02b3abfcf.woff2
rename to gns3server/static/web-ui/roboto-latin-400.1e2d4d3a272629cd.woff2
diff --git a/gns3server/static/web-ui/roboto-latin-400.49ae34d4cc6b98c00c69.woff b/gns3server/static/web-ui/roboto-latin-400.7e4a045b9373d9c1.woff
similarity index 100%
rename from gns3server/static/web-ui/roboto-latin-400.49ae34d4cc6b98c00c69.woff
rename to gns3server/static/web-ui/roboto-latin-400.7e4a045b9373d9c1.woff
diff --git a/gns3server/static/web-ui/roboto-latin-400italic.b1d9d9904bfca8802a63.woff b/gns3server/static/web-ui/roboto-latin-400italic.68431199e5b90ea8.woff
similarity index 100%
rename from gns3server/static/web-ui/roboto-latin-400italic.b1d9d9904bfca8802a63.woff
rename to gns3server/static/web-ui/roboto-latin-400italic.68431199e5b90ea8.woff
diff --git a/gns3server/static/web-ui/roboto-latin-400italic.d022bc70dc1bf7b3425d.woff2 b/gns3server/static/web-ui/roboto-latin-400italic.bb3c6955c4334c8a.woff2
similarity index 100%
rename from gns3server/static/web-ui/roboto-latin-400italic.d022bc70dc1bf7b3425d.woff2
rename to gns3server/static/web-ui/roboto-latin-400italic.bb3c6955c4334c8a.woff2
diff --git a/gns3server/static/web-ui/roboto-latin-500.f5b74d7ffcdf85b9dd60.woff2 b/gns3server/static/web-ui/roboto-latin-500.1dfbc3dbf815e3f3.woff2
similarity index 100%
rename from gns3server/static/web-ui/roboto-latin-500.f5b74d7ffcdf85b9dd60.woff2
rename to gns3server/static/web-ui/roboto-latin-500.1dfbc3dbf815e3f3.woff2
diff --git a/gns3server/static/web-ui/roboto-latin-500.cea99d3e3e13a3a599a0.woff b/gns3server/static/web-ui/roboto-latin-500.e21fe97fd2329ff7.woff
similarity index 100%
rename from gns3server/static/web-ui/roboto-latin-500.cea99d3e3e13a3a599a0.woff
rename to gns3server/static/web-ui/roboto-latin-500.e21fe97fd2329ff7.woff
diff --git a/gns3server/static/web-ui/roboto-latin-500italic.0d8bb5b3ee5f5dac9e44.woff2 b/gns3server/static/web-ui/roboto-latin-500italic.7543a42b12b1452f.woff2
similarity index 100%
rename from gns3server/static/web-ui/roboto-latin-500italic.0d8bb5b3ee5f5dac9e44.woff2
rename to gns3server/static/web-ui/roboto-latin-500italic.7543a42b12b1452f.woff2
diff --git a/gns3server/static/web-ui/roboto-latin-500italic.18d00f739ff1e1c52db1.woff b/gns3server/static/web-ui/roboto-latin-500italic.aaff6867154023d3.woff
similarity index 100%
rename from gns3server/static/web-ui/roboto-latin-500italic.18d00f739ff1e1c52db1.woff
rename to gns3server/static/web-ui/roboto-latin-500italic.aaff6867154023d3.woff
diff --git a/gns3server/static/web-ui/roboto-latin-700.2267169ee7270a22a963.woff b/gns3server/static/web-ui/roboto-latin-700.02633003129d1e63.woff
similarity index 100%
rename from gns3server/static/web-ui/roboto-latin-700.2267169ee7270a22a963.woff
rename to gns3server/static/web-ui/roboto-latin-700.02633003129d1e63.woff
diff --git a/gns3server/static/web-ui/roboto-latin-700.c18ee39fb002ad58b6dc.woff2 b/gns3server/static/web-ui/roboto-latin-700.12893bfc0762b0f3.woff2
similarity index 100%
rename from gns3server/static/web-ui/roboto-latin-700.c18ee39fb002ad58b6dc.woff2
rename to gns3server/static/web-ui/roboto-latin-700.12893bfc0762b0f3.woff2
diff --git a/gns3server/static/web-ui/roboto-latin-700italic.7d8125ff7f707231fd89.woff2 b/gns3server/static/web-ui/roboto-latin-700italic.bc7179e004e40113.woff2
similarity index 100%
rename from gns3server/static/web-ui/roboto-latin-700italic.7d8125ff7f707231fd89.woff2
rename to gns3server/static/web-ui/roboto-latin-700italic.bc7179e004e40113.woff2
diff --git a/gns3server/static/web-ui/roboto-latin-700italic.9360531f9bb817f917f0.woff b/gns3server/static/web-ui/roboto-latin-700italic.e53062e27c63fafb.woff
similarity index 100%
rename from gns3server/static/web-ui/roboto-latin-700italic.9360531f9bb817f917f0.woff
rename to gns3server/static/web-ui/roboto-latin-700italic.e53062e27c63fafb.woff
diff --git a/gns3server/static/web-ui/roboto-latin-900.870c8c1486f76054301a.woff2 b/gns3server/static/web-ui/roboto-latin-900.282ba77fda1349f3.woff2
similarity index 100%
rename from gns3server/static/web-ui/roboto-latin-900.870c8c1486f76054301a.woff2
rename to gns3server/static/web-ui/roboto-latin-900.282ba77fda1349f3.woff2
diff --git a/gns3server/static/web-ui/roboto-latin-900.bac8362e7a6ea60b6983.woff b/gns3server/static/web-ui/roboto-latin-900.4962e810cbb4d3e5.woff
similarity index 100%
rename from gns3server/static/web-ui/roboto-latin-900.bac8362e7a6ea60b6983.woff
rename to gns3server/static/web-ui/roboto-latin-900.4962e810cbb4d3e5.woff
diff --git a/gns3server/static/web-ui/roboto-latin-900italic.c20d916c1a1b094c1cec.woff b/gns3server/static/web-ui/roboto-latin-900italic.2394134a78bbaef8.woff
similarity index 100%
rename from gns3server/static/web-ui/roboto-latin-900italic.c20d916c1a1b094c1cec.woff
rename to gns3server/static/web-ui/roboto-latin-900italic.2394134a78bbaef8.woff
diff --git a/gns3server/static/web-ui/roboto-latin-900italic.cb5ad999740e9d8a8bd1.woff2 b/gns3server/static/web-ui/roboto-latin-900italic.9c1f80840351fa12.woff2
similarity index 100%
rename from gns3server/static/web-ui/roboto-latin-900italic.cb5ad999740e9d8a8bd1.woff2
rename to gns3server/static/web-ui/roboto-latin-900italic.9c1f80840351fa12.woff2
diff --git a/gns3server/static/web-ui/runtime.13dab52dcdd04f9f1496.js b/gns3server/static/web-ui/runtime.13dab52dcdd04f9f1496.js
deleted file mode 100644
index b82081da..00000000
--- a/gns3server/static/web-ui/runtime.13dab52dcdd04f9f1496.js
+++ /dev/null
@@ -1 +0,0 @@
-!function(){"use strict";var e,v={},g={};function n(e){var u=g[e];if(void 0!==u)return u.exports;var t=g[e]={id:e,loaded:!1,exports:{}};return v[e](t,t.exports,n),t.loaded=!0,t.exports}n.m=v,e=[],n.O=function(u,t,a,o){if(!t){var r=1/0;for(i=0;i<e.length;i++){t=e[i][0],a=e[i][1],o=e[i][2];for(var l=!0,f=0;f<t.length;f++)(!1&o||r>=o)&&Object.keys(n.O).every(function(b){return n.O[b](t[f])})?t.splice(f--,1):(l=!1,o<r&&(r=o));if(l){e.splice(i--,1);var s=a();void 0!==s&&(u=s)}}return u}o=o||0;for(var i=e.length;i>0&&e[i-1][2]>o;i--)e[i]=e[i-1];e[i]=[t,a,o]},n.n=function(e){var u=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(u,{a:u}),u},n.d=function(e,u){for(var t in u)n.o(u,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:u[t]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce(function(u,t){return n.f[t](e,u),u},[]))},n.u=function(e){return e+".eace20bb0639f4909f27.js"},n.miniCssF=function(e){return"styles.bf28628fcb2844ad74bd.css"},n.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},n.o=function(e,u){return Object.prototype.hasOwnProperty.call(e,u)},function(){var e={},u="gns3-web-ui:";n.l=function(t,a,o,i){if(e[t])e[t].push(a);else{var r,l;if(void 0!==o)for(var f=document.getElementsByTagName("script"),s=0;s<f.length;s++){var c=f[s];if(c.getAttribute("src")==t||c.getAttribute("data-webpack")==u+o){r=c;break}}r||(l=!0,(r=document.createElement("script")).charset="utf-8",r.timeout=120,n.nc&&r.setAttribute("nonce",n.nc),r.setAttribute("data-webpack",u+o),r.src=n.tu(t)),e[t]=[a];var d=function(h,b){r.onerror=r.onload=null,clearTimeout(p);var _=e[t];if(delete e[t],r.parentNode&&r.parentNode.removeChild(r),_&&_.forEach(function(m){return m(b)}),h)return h(b)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=d.bind(null,r.onerror),r.onload=d.bind(null,r.onload),l&&document.head.appendChild(r)}}}(),n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e;n.tu=function(u){return void 0===e&&(e={createScriptURL:function(t){return t}},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e.createScriptURL(u)}}(),n.p="",function(){var e={666:0};n.f.j=function(a,o){var i=n.o(e,a)?e[a]:void 0;if(0!==i)if(i)o.push(i[2]);else if(666!=a){var r=new Promise(function(c,d){i=e[a]=[c,d]});o.push(i[2]=r);var l=n.p+n.u(a),f=new Error;n.l(l,function(c){if(n.o(e,a)&&(0!==(i=e[a])&&(e[a]=void 0),i)){var d=c&&("load"===c.type?"missing":c.type),p=c&&c.target&&c.target.src;f.message="Loading chunk "+a+" failed.\n("+d+": "+p+")",f.name="ChunkLoadError",f.type=d,f.request=p,i[1](f)}},"chunk-"+a,a)}else e[a]=0},n.O.j=function(a){return 0===e[a]};var u=function(a,o){var f,s,i=o[0],r=o[1],l=o[2],c=0;for(f in r)n.o(r,f)&&(n.m[f]=r[f]);if(l)var d=l(n);for(a&&a(o);c<i.length;c++)n.o(e,s=i[c])&&e[s]&&e[s][0](),e[i[c]]=0;return n.O(d)},t=self.webpackChunkgns3_web_ui=self.webpackChunkgns3_web_ui||[];t.forEach(u.bind(null,0)),t.push=u.bind(null,t.push.bind(t))}()}();
\ No newline at end of file
diff --git a/gns3server/static/web-ui/runtime.78f7797c0ae936fe.js b/gns3server/static/web-ui/runtime.78f7797c0ae936fe.js
new file mode 100644
index 00000000..1cd148b0
--- /dev/null
+++ b/gns3server/static/web-ui/runtime.78f7797c0ae936fe.js
@@ -0,0 +1 @@
+!function(){"use strict";var e,v={},g={};function n(e){var u=g[e];if(void 0!==u)return u.exports;var t=g[e]={id:e,loaded:!1,exports:{}};return v[e](t,t.exports,n),t.loaded=!0,t.exports}n.m=v,e=[],n.O=function(u,t,o,a){if(!t){var r=1/0;for(i=0;i<e.length;i++){t=e[i][0],o=e[i][1],a=e[i][2];for(var l=!0,f=0;f<t.length;f++)(!1&a||r>=a)&&Object.keys(n.O).every(function(b){return n.O[b](t[f])})?t.splice(f--,1):(l=!1,a<r&&(r=a));if(l){e.splice(i--,1);var s=o();void 0!==s&&(u=s)}}return u}a=a||0;for(var i=e.length;i>0&&e[i-1][2]>a;i--)e[i]=e[i-1];e[i]=[t,o,a]},n.n=function(e){var u=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(u,{a:u}),u},n.d=function(e,u){for(var t in u)n.o(u,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:u[t]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce(function(u,t){return n.f[t](e,u),u},[]))},n.u=function(e){return e+".b944b783466b8859.js"},n.miniCssF=function(e){return"styles.cf688421eca41c25.css"},n.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},n.o=function(e,u){return Object.prototype.hasOwnProperty.call(e,u)},function(){var e={},u="gns3-web-ui:";n.l=function(t,o,a,i){if(e[t])e[t].push(o);else{var r,l;if(void 0!==a)for(var f=document.getElementsByTagName("script"),s=0;s<f.length;s++){var c=f[s];if(c.getAttribute("src")==t||c.getAttribute("data-webpack")==u+a){r=c;break}}r||(l=!0,(r=document.createElement("script")).type="module",r.charset="utf-8",r.timeout=120,n.nc&&r.setAttribute("nonce",n.nc),r.setAttribute("data-webpack",u+a),r.src=n.tu(t)),e[t]=[o];var d=function(h,b){r.onerror=r.onload=null,clearTimeout(p);var _=e[t];if(delete e[t],r.parentNode&&r.parentNode.removeChild(r),_&&_.forEach(function(m){return m(b)}),h)return h(b)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=d.bind(null,r.onerror),r.onload=d.bind(null,r.onload),l&&document.head.appendChild(r)}}}(),n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e;n.tu=function(u){return void 0===e&&(e={createScriptURL:function(t){return t}},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e.createScriptURL(u)}}(),n.p="",function(){var e={666:0};n.f.j=function(o,a){var i=n.o(e,o)?e[o]:void 0;if(0!==i)if(i)a.push(i[2]);else if(666!=o){var r=new Promise(function(c,d){i=e[o]=[c,d]});a.push(i[2]=r);var l=n.p+n.u(o),f=new Error;n.l(l,function(c){if(n.o(e,o)&&(0!==(i=e[o])&&(e[o]=void 0),i)){var d=c&&("load"===c.type?"missing":c.type),p=c&&c.target&&c.target.src;f.message="Loading chunk "+o+" failed.\n("+d+": "+p+")",f.name="ChunkLoadError",f.type=d,f.request=p,i[1](f)}},"chunk-"+o,o)}else e[o]=0},n.O.j=function(o){return 0===e[o]};var u=function(o,a){var f,s,i=a[0],r=a[1],l=a[2],c=0;if(i.some(function(p){return 0!==e[p]})){for(f in r)n.o(r,f)&&(n.m[f]=r[f]);if(l)var d=l(n)}for(o&&o(a);c<i.length;c++)n.o(e,s=i[c])&&e[s]&&e[s][0](),e[i[c]]=0;return n.O(d)},t=self.webpackChunkgns3_web_ui=self.webpackChunkgns3_web_ui||[];t.forEach(u.bind(null,0)),t.push=u.bind(null,t.push.bind(t))}()}();
\ No newline at end of file
diff --git a/gns3server/static/web-ui/styles.bf28628fcb2844ad74bd.css b/gns3server/static/web-ui/styles.bf28628fcb2844ad74bd.css
deleted file mode 100644
index 1c32d0da..00000000
--- a/gns3server/static/web-ui/styles.bf28628fcb2844ad74bd.css
+++ /dev/null
@@ -1,11 +0,0 @@
-@charset "UTF-8";
-/*!
- * Bootstrap v5.1.2 (https://getbootstrap.com/)
- * Copyright 2011-2021 The Bootstrap Authors
- * Copyright 2011-2021 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
- */:root{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13,110,253;--bs-secondary-rgb:108,117,125;--bs-success-rgb:25,135,84;--bs-info-rgb:13,202,240;--bs-warning-rgb:255,193,7;--bs-danger-rgb:220,53,69;--bs-light-rgb:248,249,250;--bs-dark-rgb:33,37,41;--bs-white-rgb:255,255,255;--bs-black-rgb:0,0,0;--bs-body-color-rgb:33,37,41;--bs-body-bg-rgb:255,255,255;--bs-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--bs-gradient:linear-gradient(180deg,hsla(0,0%,100%,0.15),hsla(0,0%,100%,0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-bg:#fff}*,:after,:before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-family:var(--bs-body-font-family);font-size:1rem;font-size:var(--bs-body-font-size);font-weight:400;font-weight:var(--bs-body-font-weight);line-height:1.5;line-height:var(--bs-body-line-height);color:#212529;color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:#fff;background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}hr{margin:1rem 0;color:inherit;background-color:currentColor;border:0;opacity:.25}hr:not([size]){height:1px}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2}.h1,h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){.h1,h1{font-size:2.5rem}}.h2,h2{font-size:calc(1.325rem + .9vw)}@media (min-width:1200px){.h2,h2{font-size:2rem}}.h3,h3{font-size:calc(1.3rem + .6vw)}@media (min-width:1200px){.h3,h3{font-size:1.75rem}}.h4,h4{font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){.h4,h4{font-size:1.5rem}}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[data-bs-original-title],abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}.small,small{font-size:.875em}.mark,mark{padding:.2em;background-color:#fcf8e3}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#0d6efd;text-decoration:underline}a:hover{color:#0a58ca}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-family:var(--bs-font-monospace);font-size:1em;direction:ltr;unicode-bidi:bidi-override}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:#d63384;word-wrap:break-word}a>code{color:inherit}kbd{padding:.2rem .4rem;font-size:.875em;color:#fff;background-color:#212529;border-radius:.2rem}kbd kbd{padding:0;font-size:1em;font-weight:700}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:#6c757d;text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}tbody,td,tfoot,th,thead,tr{border:0 solid;border-color:inherit}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]::-webkit-calendar-picker-indicator{display:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-6{font-size:2.5rem}}.list-inline,.list-unstyled{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer:before{content:"— "}.img-fluid,.img-thumbnail{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#fff;border:1px solid #dee2e6;border-radius:.25rem}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:#6c757d}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{width:100%;padding-right:.75rem;padding-right:var(--bs-gutter-x,.75rem);padding-left:.75rem;padding-left:var(--bs-gutter-x,.75rem);margin-right:auto;margin-left:auto}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}@media (min-width:1400px){.container,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{max-width:1320px}}.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.6666666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x:0}.g-0,.gy-0{--bs-gutter-y:0}.g-1,.gx-1{--bs-gutter-x:0.25rem}.g-1,.gy-1{--bs-gutter-y:0.25rem}.g-2,.gx-2{--bs-gutter-x:0.5rem}.g-2,.gy-2{--bs-gutter-y:0.5rem}.g-3,.gx-3{--bs-gutter-x:1rem}.g-3,.gy-3{--bs-gutter-y:1rem}.g-4,.gx-4{--bs-gutter-x:1.5rem}.g-4,.gy-4{--bs-gutter-y:1.5rem}.g-5,.gx-5{--bs-gutter-x:3rem}.g-5,.gy-5{--bs-gutter-y:3rem}@media (min-width:576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.6666666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x:0}.g-sm-0,.gy-sm-0{--bs-gutter-y:0}.g-sm-1,.gx-sm-1{--bs-gutter-x:0.25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y:0.25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x:0.5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y:0.5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x:1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y:1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x:1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y:1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x:3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y:3rem}}@media (min-width:768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.6666666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x:0}.g-md-0,.gy-md-0{--bs-gutter-y:0}.g-md-1,.gx-md-1{--bs-gutter-x:0.25rem}.g-md-1,.gy-md-1{--bs-gutter-y:0.25rem}.g-md-2,.gx-md-2{--bs-gutter-x:0.5rem}.g-md-2,.gy-md-2{--bs-gutter-y:0.5rem}.g-md-3,.gx-md-3{--bs-gutter-x:1rem}.g-md-3,.gy-md-3{--bs-gutter-y:1rem}.g-md-4,.gx-md-4{--bs-gutter-x:1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y:1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x:3rem}.g-md-5,.gy-md-5{--bs-gutter-y:3rem}}@media (min-width:992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.6666666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x:0}.g-lg-0,.gy-lg-0{--bs-gutter-y:0}.g-lg-1,.gx-lg-1{--bs-gutter-x:0.25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y:0.25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x:0.5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y:0.5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x:1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y:1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x:1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y:1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x:3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y:3rem}}@media (min-width:1200px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x:0}.g-xl-0,.gy-xl-0{--bs-gutter-y:0}.g-xl-1,.gx-xl-1{--bs-gutter-x:0.25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y:0.25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x:0.5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y:0.5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x:1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y:1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x:1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y:1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x:3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y:3rem}}@media (min-width:1400px){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x:0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y:0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x:0.25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y:0.25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x:0.5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y:0.5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x:1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y:1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x:1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y:1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x:3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y:3rem}}.table{--bs-table-bg:transparent;--bs-table-accent-bg:transparent;--bs-table-striped-color:#212529;--bs-table-striped-bg:rgba(0,0,0,0.05);--bs-table-active-color:#212529;--bs-table-active-bg:rgba(0,0,0,0.1);--bs-table-hover-color:#212529;--bs-table-hover-bg:rgba(0,0,0,0.075);width:100%;margin-bottom:1rem;color:#212529;vertical-align:top;border-color:#dee2e6}.table>:not(caption)>*>*{padding:.5rem;background-color:var(--bs-table-bg);border-bottom-width:1px;box-shadow:inset 0 0 0 9999px var(--bs-table-accent-bg)}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table>:not(:first-child){border-top:2px solid}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem}.table-bordered>:not(caption)>*{border-width:1px 0}.table-bordered>:not(caption)>*>*{border-width:0 1px}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-accent-bg:var(--bs-table-striped-bg);color:var(--bs-table-striped-color)}.table-active{--bs-table-accent-bg:var(--bs-table-active-bg);color:var(--bs-table-active-color)}.table-hover>tbody>tr:hover>*{--bs-table-accent-bg:var(--bs-table-hover-bg);color:var(--bs-table-hover-color)}.table-primary{--bs-table-bg:#cfe2ff;--bs-table-striped-bg:#c5d7f2;--bs-table-striped-color:#000;--bs-table-active-bg:#bacbe6;--bs-table-active-color:#000;--bs-table-hover-bg:#bfd1ec;--bs-table-hover-color:#000;color:#000;border-color:#bacbe6}.table-secondary{--bs-table-bg:#e2e3e5;--bs-table-striped-bg:#d7d8da;--bs-table-striped-color:#000;--bs-table-active-bg:#cbccce;--bs-table-active-color:#000;--bs-table-hover-bg:#d1d2d4;--bs-table-hover-color:#000;color:#000;border-color:#cbccce}.table-success{--bs-table-bg:#d1e7dd;--bs-table-striped-bg:#c7dbd2;--bs-table-striped-color:#000;--bs-table-active-bg:#bcd0c7;--bs-table-active-color:#000;--bs-table-hover-bg:#c1d6cc;--bs-table-hover-color:#000;color:#000;border-color:#bcd0c7}.table-info{--bs-table-bg:#cff4fc;--bs-table-striped-bg:#c5e8ef;--bs-table-striped-color:#000;--bs-table-active-bg:#badce3;--bs-table-active-color:#000;--bs-table-hover-bg:#bfe2e9;--bs-table-hover-color:#000;color:#000;border-color:#badce3}.table-warning{--bs-table-bg:#fff3cd;--bs-table-striped-bg:#f2e7c3;--bs-table-striped-color:#000;--bs-table-active-bg:#e6dbb9;--bs-table-active-color:#000;--bs-table-hover-bg:#ece1be;--bs-table-hover-color:#000;color:#000;border-color:#e6dbb9}.table-danger{--bs-table-bg:#f8d7da;--bs-table-striped-bg:#eccccf;--bs-table-striped-color:#000;--bs-table-active-bg:#dfc2c4;--bs-table-active-color:#000;--bs-table-hover-bg:#e5c7ca;--bs-table-hover-color:#000;color:#000;border-color:#dfc2c4}.table-light{--bs-table-bg:#f8f9fa;--bs-table-striped-bg:#ecedee;--bs-table-striped-color:#000;--bs-table-active-bg:#dfe0e1;--bs-table-active-color:#000;--bs-table-hover-bg:#e5e6e7;--bs-table-hover-color:#000;color:#000;border-color:#dfe0e1}.table-dark{--bs-table-bg:#212529;--bs-table-striped-bg:#2c3034;--bs-table-striped-color:#fff;--bs-table-active-bg:#373b3e;--bs-table-active-color:#fff;--bs-table-hover-bg:#323539;--bs-table-hover-color:#fff;color:#fff;border-color:#373b3e}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width:575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + 1px);padding-bottom:calc(.375rem + 1px);margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + 1px);padding-bottom:calc(.5rem + 1px);font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + 1px);padding-bottom:calc(.25rem + 1px);font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:#6c757d}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:#212529;background-color:#fff;border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-control::-webkit-date-and-time-value{height:1.5em}.form-control::-moz-placeholder{color:#6c757d;opacity:1}.form-control:-ms-input-placeholder{color:#6c757d;opacity:1}.form-control::placeholder{color:#6c757d;opacity:1}.form-control:disabled,.form-control[readonly]{background-color:#e9ecef;opacity:1}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:#212529;background-color:#e9ecef;pointer-events:none;border:0 solid;border-color:inherit;border-inline-end-width:1px;border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:#dde0e3}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:#212529;background-color:#e9ecef;pointer-events:none;border:0 solid;border-color:inherit;border-inline-end-width:1px;border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:#dde0e3}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:#212529;background-color:transparent;border:solid transparent;border-width:1px 0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + 2px);padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + 2px);padding:.5rem 1rem;font-size:1.25rem;border-radius:.3rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + 2px)}textarea.form-control-sm{min-height:calc(1.5em + .5rem + 2px)}textarea.form-control-lg{min-height:calc(1.5em + 1rem + 2px)}.form-control-color{width:3rem;height:auto;padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{height:1.5em;border-radius:.25rem}.form-control-color::-webkit-color-swatch{height:1.5em;border-radius:.25rem}.form-select{display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;-moz-padding-start:calc(.75rem - 3px);font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-select{transition:none}}.form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:#e9ecef}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #212529}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:.2rem}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:.3rem}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-input{width:1em;height:1em;margin-top:.25em;vertical-align:top;background-color:#fff;background-repeat:no-repeat;background-position:50%;background-size:contain;border:1px solid rgba(0,0,0,.25);-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-print-color-adjust:exact;color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}.form-check-input:checked[type=checkbox]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{width:2em;margin-left:-2.5em;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");background-position:0;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:100%;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check:disabled+.btn,.btn-check[disabled]+.btn{pointer-events:none;filter:none;opacity:.65}.form-range{width:100%;height:1.5rem;padding:0;background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#0d6efd;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#b6d4fe}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#0d6efd;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}.form-range::-moz-range-thumb:active{background-color:#b6d4fe}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}.form-range:disabled::-moz-range-thumb{background-color:#adb5bd}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-select{height:calc(3.5rem + 2px);line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;height:100%;padding:1rem .75rem;pointer-events:none;border:1px solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion:reduce){.form-floating>label{transition:none}}.form-floating>.form-control{padding:1rem .75rem}.form-floating>.form-control::-moz-placeholder{color:transparent}.form-floating>.form-control:-ms-input-placeholder{color:transparent}.form-floating>.form-control::placeholder{color:transparent}.form-floating>.form-control:not(:-moz-placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:not(:-ms-input-placeholder){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:not(:-moz-placeholder-shown)~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>.form-control:not(:-ms-input-placeholder)~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-select~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>.form-control:-webkit-autofill~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-select{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-select:focus{z-index:3}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:3}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.25rem}.input-group-lg>.btn,.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text{padding:.5rem 1rem;font-size:1.25rem;border-radius:.3rem}.input-group-sm>.btn,.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text{padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu),.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu){border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:#198754}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:rgba(25,135,84,.9);border-radius:.25rem}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{border-color:#198754;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:#198754;box-shadow:0 0 0 .25rem rgba(25,135,84,.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-valid,.was-validated .form-select:valid{border-color:#198754}.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"],.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"]{padding-right:4.125rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"),url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-valid:focus,.was-validated .form-select:valid:focus{border-color:#198754;box-shadow:0 0 0 .25rem rgba(25,135,84,.25)}.form-check-input.is-valid,.was-validated .form-check-input:valid{border-color:#198754}.form-check-input.is-valid:checked,.was-validated .form-check-input:valid:checked{background-color:#198754}.form-check-input.is-valid:focus,.was-validated .form-check-input:valid:focus{box-shadow:0 0 0 .25rem rgba(25,135,84,.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:#198754}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.input-group .form-control.is-valid,.input-group .form-select.is-valid,.was-validated .input-group .form-control:valid,.was-validated .input-group .form-select:valid{z-index:1}.input-group .form-control.is-valid:focus,.input-group .form-select.is-valid:focus,.was-validated .input-group .form-control:valid:focus,.was-validated .input-group .form-select:valid:focus{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:#dc3545}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:rgba(220,53,69,.9);border-radius:.25rem}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:#dc3545;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .25rem rgba(220,53,69,.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-invalid,.was-validated .form-select:invalid{border-color:#dc3545}.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"],.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"]{padding-right:4.125rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"),url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-invalid:focus,.was-validated .form-select:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .25rem rgba(220,53,69,.25)}.form-check-input.is-invalid,.was-validated .form-check-input:invalid{border-color:#dc3545}.form-check-input.is-invalid:checked,.was-validated .form-check-input:invalid:checked{background-color:#dc3545}.form-check-input.is-invalid:focus,.was-validated .form-check-input:invalid:focus{box-shadow:0 0 0 .25rem rgba(220,53,69,.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:#dc3545}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.input-group .form-control.is-invalid,.input-group .form-select.is-invalid,.was-validated .input-group .form-control:invalid,.was-validated .input-group .form-select:invalid{z-index:2}.input-group .form-control.is-invalid:focus,.input-group .form-select.is-invalid:focus,.was-validated .input-group .form-control:invalid:focus,.was-validated .input-group .form-select:invalid:focus{z-index:3}.btn{display:inline-block;align-self:center;font-weight:400;line-height:1.5;color:#212529;text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:transparent;border:1px solid transparent;padding:.375rem .75rem;font-size:1rem;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:#212529}.btn-check:focus+.btn,.btn:focus{outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.btn.disabled,.btn:disabled,fieldset:disabled .btn{pointer-events:none;opacity:.65}.btn-primary{color:#fff;background-color:#0d6efd;border-color:#0d6efd}.btn-check:focus+.btn-primary,.btn-primary:focus,.btn-primary:hover{color:#fff;background-color:#0b5ed7;border-color:#0a58ca}.btn-check:focus+.btn-primary,.btn-primary:focus{box-shadow:0 0 0 .25rem rgba(49,132,253,.5)}.btn-check:active+.btn-primary,.btn-check:checked+.btn-primary,.btn-primary.active,.btn-primary:active,.show>.btn-primary.dropdown-toggle{color:#fff;background-color:#0a58ca;border-color:#0a53be}.btn-check:active+.btn-primary:focus,.btn-check:checked+.btn-primary:focus,.btn-primary.active:focus,.btn-primary:active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(49,132,253,.5)}.btn-primary.disabled,.btn-primary:disabled{color:#fff;background-color:#0d6efd;border-color:#0d6efd}.btn-secondary{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-check:focus+.btn-secondary,.btn-secondary:focus,.btn-secondary:hover{color:#fff;background-color:#5c636a;border-color:#565e64}.btn-check:focus+.btn-secondary,.btn-secondary:focus{box-shadow:0 0 0 .25rem rgba(130,138,145,.5)}.btn-check:active+.btn-secondary,.btn-check:checked+.btn-secondary,.btn-secondary.active,.btn-secondary:active,.show>.btn-secondary.dropdown-toggle{color:#fff;background-color:#565e64;border-color:#51585e}.btn-check:active+.btn-secondary:focus,.btn-check:checked+.btn-secondary:focus,.btn-secondary.active:focus,.btn-secondary:active:focus,.show>.btn-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(130,138,145,.5)}.btn-secondary.disabled,.btn-secondary:disabled{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-success{color:#fff;background-color:#198754;border-color:#198754}.btn-check:focus+.btn-success,.btn-success:focus,.btn-success:hover{color:#fff;background-color:#157347;border-color:#146c43}.btn-check:focus+.btn-success,.btn-success:focus{box-shadow:0 0 0 .25rem rgba(60,153,110,.5)}.btn-check:active+.btn-success,.btn-check:checked+.btn-success,.btn-success.active,.btn-success:active,.show>.btn-success.dropdown-toggle{color:#fff;background-color:#146c43;border-color:#13653f}.btn-check:active+.btn-success:focus,.btn-check:checked+.btn-success:focus,.btn-success.active:focus,.btn-success:active:focus,.show>.btn-success.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(60,153,110,.5)}.btn-success.disabled,.btn-success:disabled{color:#fff;background-color:#198754;border-color:#198754}.btn-info{color:#000;background-color:#0dcaf0;border-color:#0dcaf0}.btn-check:focus+.btn-info,.btn-info:focus,.btn-info:hover{color:#000;background-color:#31d2f2;border-color:#25cff2}.btn-check:focus+.btn-info,.btn-info:focus{box-shadow:0 0 0 .25rem rgba(11,172,204,.5)}.btn-check:active+.btn-info,.btn-check:checked+.btn-info,.btn-info.active,.btn-info:active,.show>.btn-info.dropdown-toggle{color:#000;background-color:#3dd5f3;border-color:#25cff2}.btn-check:active+.btn-info:focus,.btn-check:checked+.btn-info:focus,.btn-info.active:focus,.btn-info:active:focus,.show>.btn-info.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(11,172,204,.5)}.btn-info.disabled,.btn-info:disabled{color:#000;background-color:#0dcaf0;border-color:#0dcaf0}.btn-warning{color:#000;background-color:#ffc107;border-color:#ffc107}.btn-check:focus+.btn-warning,.btn-warning:focus,.btn-warning:hover{color:#000;background-color:#ffca2c;border-color:#ffc720}.btn-check:focus+.btn-warning,.btn-warning:focus{box-shadow:0 0 0 .25rem rgba(217,164,6,.5)}.btn-check:active+.btn-warning,.btn-check:checked+.btn-warning,.btn-warning.active,.btn-warning:active,.show>.btn-warning.dropdown-toggle{color:#000;background-color:#ffcd39;border-color:#ffc720}.btn-check:active+.btn-warning:focus,.btn-check:checked+.btn-warning:focus,.btn-warning.active:focus,.btn-warning:active:focus,.show>.btn-warning.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(217,164,6,.5)}.btn-warning.disabled,.btn-warning:disabled{color:#000;background-color:#ffc107;border-color:#ffc107}.btn-danger{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-check:focus+.btn-danger,.btn-danger:focus,.btn-danger:hover{color:#fff;background-color:#bb2d3b;border-color:#b02a37}.btn-check:focus+.btn-danger,.btn-danger:focus{box-shadow:0 0 0 .25rem rgba(225,83,97,.5)}.btn-check:active+.btn-danger,.btn-check:checked+.btn-danger,.btn-danger.active,.btn-danger:active,.show>.btn-danger.dropdown-toggle{color:#fff;background-color:#b02a37;border-color:#a52834}.btn-check:active+.btn-danger:focus,.btn-check:checked+.btn-danger:focus,.btn-danger.active:focus,.btn-danger:active:focus,.show>.btn-danger.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(225,83,97,.5)}.btn-danger.disabled,.btn-danger:disabled{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-light{color:#000;background-color:#f8f9fa;border-color:#f8f9fa}.btn-check:focus+.btn-light,.btn-light:focus,.btn-light:hover{color:#000;background-color:#f9fafb;border-color:#f9fafb}.btn-check:focus+.btn-light,.btn-light:focus{box-shadow:0 0 0 .25rem rgba(211,212,213,.5)}.btn-check:active+.btn-light,.btn-check:checked+.btn-light,.btn-light.active,.btn-light:active,.show>.btn-light.dropdown-toggle{color:#000;background-color:#f9fafb;border-color:#f9fafb}.btn-check:active+.btn-light:focus,.btn-check:checked+.btn-light:focus,.btn-light.active:focus,.btn-light:active:focus,.show>.btn-light.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(211,212,213,.5)}.btn-light.disabled,.btn-light:disabled{color:#000;background-color:#f8f9fa;border-color:#f8f9fa}.btn-dark{color:#fff;background-color:#212529;border-color:#212529}.btn-check:focus+.btn-dark,.btn-dark:focus,.btn-dark:hover{color:#fff;background-color:#1c1f23;border-color:#1a1e21}.btn-check:focus+.btn-dark,.btn-dark:focus{box-shadow:0 0 0 .25rem rgba(66,70,73,.5)}.btn-check:active+.btn-dark,.btn-check:checked+.btn-dark,.btn-dark.active,.btn-dark:active,.show>.btn-dark.dropdown-toggle{color:#fff;background-color:#1a1e21;border-color:#191c1f}.btn-check:active+.btn-dark:focus,.btn-check:checked+.btn-dark:focus,.btn-dark.active:focus,.btn-dark:active:focus,.show>.btn-dark.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(66,70,73,.5)}.btn-dark.disabled,.btn-dark:disabled{color:#fff;background-color:#212529;border-color:#212529}.btn-outline-primary{color:#0d6efd;border-color:#0d6efd}.btn-outline-primary:hover{color:#fff;background-color:#0d6efd;border-color:#0d6efd}.btn-check:focus+.btn-outline-primary,.btn-outline-primary:focus{box-shadow:0 0 0 .25rem rgba(13,110,253,.5)}.btn-check:active+.btn-outline-primary,.btn-check:checked+.btn-outline-primary,.btn-outline-primary.active,.btn-outline-primary.dropdown-toggle.show,.btn-outline-primary:active{color:#fff;background-color:#0d6efd;border-color:#0d6efd}.btn-check:active+.btn-outline-primary:focus,.btn-check:checked+.btn-outline-primary:focus,.btn-outline-primary.active:focus,.btn-outline-primary.dropdown-toggle.show:focus,.btn-outline-primary:active:focus{box-shadow:0 0 0 .25rem rgba(13,110,253,.5)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{color:#0d6efd;background-color:transparent}.btn-outline-secondary{color:#6c757d;border-color:#6c757d}.btn-outline-secondary:hover{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-check:focus+.btn-outline-secondary,.btn-outline-secondary:focus{box-shadow:0 0 0 .25rem rgba(108,117,125,.5)}.btn-check:active+.btn-outline-secondary,.btn-check:checked+.btn-outline-secondary,.btn-outline-secondary.active,.btn-outline-secondary.dropdown-toggle.show,.btn-outline-secondary:active{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-check:active+.btn-outline-secondary:focus,.btn-check:checked+.btn-outline-secondary:focus,.btn-outline-secondary.active:focus,.btn-outline-secondary.dropdown-toggle.show:focus,.btn-outline-secondary:active:focus{box-shadow:0 0 0 .25rem rgba(108,117,125,.5)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{color:#6c757d;background-color:transparent}.btn-outline-success{color:#198754;border-color:#198754}.btn-outline-success:hover{color:#fff;background-color:#198754;border-color:#198754}.btn-check:focus+.btn-outline-success,.btn-outline-success:focus{box-shadow:0 0 0 .25rem rgba(25,135,84,.5)}.btn-check:active+.btn-outline-success,.btn-check:checked+.btn-outline-success,.btn-outline-success.active,.btn-outline-success.dropdown-toggle.show,.btn-outline-success:active{color:#fff;background-color:#198754;border-color:#198754}.btn-check:active+.btn-outline-success:focus,.btn-check:checked+.btn-outline-success:focus,.btn-outline-success.active:focus,.btn-outline-success.dropdown-toggle.show:focus,.btn-outline-success:active:focus{box-shadow:0 0 0 .25rem rgba(25,135,84,.5)}.btn-outline-success.disabled,.btn-outline-success:disabled{color:#198754;background-color:transparent}.btn-outline-info{color:#0dcaf0;border-color:#0dcaf0}.btn-outline-info:hover{color:#000;background-color:#0dcaf0;border-color:#0dcaf0}.btn-check:focus+.btn-outline-info,.btn-outline-info:focus{box-shadow:0 0 0 .25rem rgba(13,202,240,.5)}.btn-check:active+.btn-outline-info,.btn-check:checked+.btn-outline-info,.btn-outline-info.active,.btn-outline-info.dropdown-toggle.show,.btn-outline-info:active{color:#000;background-color:#0dcaf0;border-color:#0dcaf0}.btn-check:active+.btn-outline-info:focus,.btn-check:checked+.btn-outline-info:focus,.btn-outline-info.active:focus,.btn-outline-info.dropdown-toggle.show:focus,.btn-outline-info:active:focus{box-shadow:0 0 0 .25rem rgba(13,202,240,.5)}.btn-outline-info.disabled,.btn-outline-info:disabled{color:#0dcaf0;background-color:transparent}.btn-outline-warning{color:#ffc107;border-color:#ffc107}.btn-outline-warning:hover{color:#000;background-color:#ffc107;border-color:#ffc107}.btn-check:focus+.btn-outline-warning,.btn-outline-warning:focus{box-shadow:0 0 0 .25rem rgba(255,193,7,.5)}.btn-check:active+.btn-outline-warning,.btn-check:checked+.btn-outline-warning,.btn-outline-warning.active,.btn-outline-warning.dropdown-toggle.show,.btn-outline-warning:active{color:#000;background-color:#ffc107;border-color:#ffc107}.btn-check:active+.btn-outline-warning:focus,.btn-check:checked+.btn-outline-warning:focus,.btn-outline-warning.active:focus,.btn-outline-warning.dropdown-toggle.show:focus,.btn-outline-warning:active:focus{box-shadow:0 0 0 .25rem rgba(255,193,7,.5)}.btn-outline-warning.disabled,.btn-outline-warning:disabled{color:#ffc107;background-color:transparent}.btn-outline-danger{color:#dc3545;border-color:#dc3545}.btn-outline-danger:hover{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-check:focus+.btn-outline-danger,.btn-outline-danger:focus{box-shadow:0 0 0 .25rem rgba(220,53,69,.5)}.btn-check:active+.btn-outline-danger,.btn-check:checked+.btn-outline-danger,.btn-outline-danger.active,.btn-outline-danger.dropdown-toggle.show,.btn-outline-danger:active{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-check:active+.btn-outline-danger:focus,.btn-check:checked+.btn-outline-danger:focus,.btn-outline-danger.active:focus,.btn-outline-danger.dropdown-toggle.show:focus,.btn-outline-danger:active:focus{box-shadow:0 0 0 .25rem rgba(220,53,69,.5)}.btn-outline-danger.disabled,.btn-outline-danger:disabled{color:#dc3545;background-color:transparent}.btn-outline-light{color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light:hover{color:#000;background-color:#f8f9fa;border-color:#f8f9fa}.btn-check:focus+.btn-outline-light,.btn-outline-light:focus{box-shadow:0 0 0 .25rem rgba(248,249,250,.5)}.btn-check:active+.btn-outline-light,.btn-check:checked+.btn-outline-light,.btn-outline-light.active,.btn-outline-light.dropdown-toggle.show,.btn-outline-light:active{color:#000;background-color:#f8f9fa;border-color:#f8f9fa}.btn-check:active+.btn-outline-light:focus,.btn-check:checked+.btn-outline-light:focus,.btn-outline-light.active:focus,.btn-outline-light.dropdown-toggle.show:focus,.btn-outline-light:active:focus{box-shadow:0 0 0 .25rem rgba(248,249,250,.5)}.btn-outline-light.disabled,.btn-outline-light:disabled{color:#f8f9fa;background-color:transparent}.btn-outline-dark{color:#212529;border-color:#212529}.btn-outline-dark:hover{color:#fff;background-color:#212529;border-color:#212529}.btn-check:focus+.btn-outline-dark,.btn-outline-dark:focus{box-shadow:0 0 0 .25rem rgba(33,37,41,.5)}.btn-check:active+.btn-outline-dark,.btn-check:checked+.btn-outline-dark,.btn-outline-dark.active,.btn-outline-dark.dropdown-toggle.show,.btn-outline-dark:active{color:#fff;background-color:#212529;border-color:#212529}.btn-check:active+.btn-outline-dark:focus,.btn-check:checked+.btn-outline-dark:focus,.btn-outline-dark.active:focus,.btn-outline-dark.dropdown-toggle.show:focus,.btn-outline-dark:active:focus{box-shadow:0 0 0 .25rem rgba(33,37,41,.5)}.btn-outline-dark.disabled,.btn-outline-dark:disabled{color:#212529;background-color:transparent}.btn-link{font-weight:400;color:#0d6efd;text-decoration:underline}.btn-link:hover{color:#0a58ca}.btn-link.disabled,.btn-link:disabled{color:#6c757d}.btn-group-lg>.btn,.btn-lg{padding:.5rem 1rem;font-size:1.25rem;border-radius:.3rem}.btn-group-sm>.btn,.btn-sm{padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion:reduce){.collapsing.collapse-horizontal{transition:none}}.dropdown,.dropend,.dropstart,.dropup{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu{position:absolute;z-index:1000;display:none;min-width:10rem;padding:.5rem 0;margin:0;font-size:1rem;color:#212529;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.15);border-radius:.25rem}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:.125rem}.dropdown-menu-start{--bs-position:start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position:end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media (min-width:576px){.dropdown-menu-sm-start{--bs-position:start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position:end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media (min-width:768px){.dropdown-menu-md-start{--bs-position:start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position:end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media (min-width:992px){.dropdown-menu-lg-start{--bs-position:start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position:end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1200px){.dropdown-menu-xl-start{--bs-position:start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position:end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1400px){.dropdown-menu-xxl-start{--bs-position:start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position:end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:.125rem}.dropup .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:.125rem}.dropend .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-toggle:after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:.125rem}.dropstart .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";display:none}.dropstart .dropdown-toggle:before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty:after{margin-left:0}.dropstart .dropdown-toggle:before{vertical-align:0}.dropdown-divider{height:0;margin:.5rem 0;overflow:hidden;border-top:1px solid rgba(0,0,0,.15)}.dropdown-item{display:block;width:100%;padding:.25rem 1rem;clear:both;font-weight:400;color:#212529;text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0}.dropdown-item:focus,.dropdown-item:hover{color:#1e2125;background-color:#e9ecef}.dropdown-item.active,.dropdown-item:active{color:#fff;text-decoration:none;background-color:#0d6efd}.dropdown-item.disabled,.dropdown-item:disabled{color:#adb5bd;pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:.5rem 1rem;margin-bottom:0;font-size:.875rem;color:#6c757d;white-space:nowrap}.dropdown-item-text{display:block;padding:.25rem 1rem;color:#212529}.dropdown-menu-dark{color:#dee2e6;background-color:#343a40;border-color:rgba(0,0,0,.15)}.dropdown-menu-dark .dropdown-item{color:#dee2e6}.dropdown-menu-dark .dropdown-item:focus,.dropdown-menu-dark .dropdown-item:hover{color:#fff;background-color:rgba(255,255,255,.15)}.dropdown-menu-dark .dropdown-item.active,.dropdown-menu-dark .dropdown-item:active{color:#fff;background-color:#0d6efd}.dropdown-menu-dark .dropdown-item.disabled,.dropdown-menu-dark .dropdown-item:disabled{color:#adb5bd}.dropdown-menu-dark .dropdown-divider{border-color:rgba(0,0,0,.15)}.dropdown-menu-dark .dropdown-item-text{color:#dee2e6}.dropdown-menu-dark .dropdown-header{color:#adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;flex:1 1 auto}.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group>.btn-group:not(:first-child),.btn-group>.btn:not(:first-child){margin-left:-1px}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split:after,.dropend .dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after{margin-left:0}.dropstart .dropdown-toggle-split:before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn~.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:.5rem 1rem;color:#0d6efd;text-decoration:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion:reduce){.nav-link{transition:none}}.nav-link:focus,.nav-link:hover{color:#0a58ca}.nav-link.disabled{color:#6c757d;pointer-events:none;cursor:default}.nav-tabs{border-bottom:1px solid #dee2e6}.nav-tabs .nav-link{margin-bottom:-1px;background:0 0;border:1px solid transparent;border-top-left-radius:.25rem;border-top-right-radius:.25rem}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{border-color:#e9ecef #e9ecef #dee2e6;isolation:isolate}.nav-tabs .nav-link.disabled{color:#6c757d;background-color:transparent;border-color:transparent}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:#495057;background-color:#fff;border-color:#dee2e6 #dee2e6 #fff}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.nav-pills .nav-link{background:0 0;border:0;border-radius:.25rem}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:#fff;background-color:#0d6efd}.nav-fill .nav-item,.nav-fill>.nav-link{flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding-top:.5rem;padding-bottom:.5rem}.navbar>.container,.navbar>.container-fluid,.navbar>.container-lg,.navbar>.container-md,.navbar>.container-sm,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:.3125rem;padding-bottom:.3125rem;margin-right:1rem;font-size:1.25rem;text-decoration:none;white-space:nowrap}.navbar-nav{display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link{padding-right:0;padding-left:0}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:.25rem .75rem;font-size:1.25rem;line-height:1;background-color:transparent;border:1px solid transparent;border-radius:.25rem;transition:box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 .25rem}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-repeat:no-repeat;background-position:50%;background-size:100%}.navbar-nav-scroll{max-height:75vh;max-height:var(--bs-scroll-height,75vh);overflow-y:auto}@media (min-width:576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler,.navbar-expand-sm .offcanvas-header{display:none}.navbar-expand-sm .offcanvas{position:inherit;bottom:0;z-index:1000;flex-grow:1;visibility:visible!important;background-color:transparent;border-right:0;border-left:0;transition:none;transform:none}.navbar-expand-sm .offcanvas-bottom,.navbar-expand-sm .offcanvas-top{height:auto;border-top:0;border-bottom:0}.navbar-expand-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler,.navbar-expand-md .offcanvas-header{display:none}.navbar-expand-md .offcanvas{position:inherit;bottom:0;z-index:1000;flex-grow:1;visibility:visible!important;background-color:transparent;border-right:0;border-left:0;transition:none;transform:none}.navbar-expand-md .offcanvas-bottom,.navbar-expand-md .offcanvas-top{height:auto;border-top:0;border-bottom:0}.navbar-expand-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler,.navbar-expand-lg .offcanvas-header{display:none}.navbar-expand-lg .offcanvas{position:inherit;bottom:0;z-index:1000;flex-grow:1;visibility:visible!important;background-color:transparent;border-right:0;border-left:0;transition:none;transform:none}.navbar-expand-lg .offcanvas-bottom,.navbar-expand-lg .offcanvas-top{height:auto;border-top:0;border-bottom:0}.navbar-expand-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler,.navbar-expand-xl .offcanvas-header{display:none}.navbar-expand-xl .offcanvas{position:inherit;bottom:0;z-index:1000;flex-grow:1;visibility:visible!important;background-color:transparent;border-right:0;border-left:0;transition:none;transform:none}.navbar-expand-xl .offcanvas-bottom,.navbar-expand-xl .offcanvas-top{height:auto;border-top:0;border-bottom:0}.navbar-expand-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler,.navbar-expand-xxl .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas{position:inherit;bottom:0;z-index:1000;flex-grow:1;visibility:visible!important;background-color:transparent;border-right:0;border-left:0;transition:none;transform:none}.navbar-expand-xxl .offcanvas-bottom,.navbar-expand-xxl .offcanvas-top{height:auto;border-top:0;border-bottom:0}.navbar-expand-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler,.navbar-expand .offcanvas-header{display:none}.navbar-expand .offcanvas{position:inherit;bottom:0;z-index:1000;flex-grow:1;visibility:visible!important;background-color:transparent;border-right:0;border-left:0;transition:none;transform:none}.navbar-expand .offcanvas-bottom,.navbar-expand .offcanvas-top{height:auto;border-top:0;border-bottom:0}.navbar-expand .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-light .navbar-brand,.navbar-light .navbar-brand:focus,.navbar-light .navbar-brand:hover{color:rgba(0,0,0,.9)}.navbar-light .navbar-nav .nav-link{color:rgba(0,0,0,.55)}.navbar-light .navbar-nav .nav-link:focus,.navbar-light .navbar-nav .nav-link:hover{color:rgba(0,0,0,.7)}.navbar-light .navbar-nav .nav-link.disabled{color:rgba(0,0,0,.3)}.navbar-light .navbar-nav .nav-link.active,.navbar-light .navbar-nav .show>.nav-link{color:rgba(0,0,0,.9)}.navbar-light .navbar-toggler{color:rgba(0,0,0,.55);border-color:rgba(0,0,0,.1)}.navbar-light .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.navbar-light .navbar-text{color:rgba(0,0,0,.55)}.navbar-light .navbar-text a,.navbar-light .navbar-text a:focus,.navbar-light .navbar-text a:hover{color:rgba(0,0,0,.9)}.navbar-dark .navbar-brand,.navbar-dark .navbar-brand:focus,.navbar-dark .navbar-brand:hover{color:#fff}.navbar-dark .navbar-nav .nav-link{color:rgba(255,255,255,.55)}.navbar-dark .navbar-nav .nav-link:focus,.navbar-dark .navbar-nav .nav-link:hover{color:rgba(255,255,255,.75)}.navbar-dark .navbar-nav .nav-link.disabled{color:rgba(255,255,255,.25)}.navbar-dark .navbar-nav .nav-link.active,.navbar-dark .navbar-nav .show>.nav-link{color:#fff}.navbar-dark .navbar-toggler{color:rgba(255,255,255,.55);border-color:rgba(255,255,255,.1)}.navbar-dark .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.navbar-dark .navbar-text{color:rgba(255,255,255,.55)}.navbar-dark .navbar-text a,.navbar-dark .navbar-text a:focus,.navbar-dark .navbar-text a:hover{color:#fff}.card{position:relative;display:flex;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border:1px solid rgba(0,0,0,.125);border-radius:.25rem}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:1rem}.card-title{margin-bottom:.5rem}.card-subtitle{margin-top:-.25rem}.card-subtitle,.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:1rem}.card-header{padding:.5rem 1rem;margin-bottom:0;background-color:rgba(0,0,0,.03);border-bottom:1px solid rgba(0,0,0,.125)}.card-header:first-child{border-radius:calc(.25rem - 1px) calc(.25rem - 1px) 0 0}.card-footer{padding:.5rem 1rem;background-color:rgba(0,0,0,.03);border-top:1px solid rgba(0,0,0,.125)}.card-footer:last-child{border-radius:0 0 calc(.25rem - 1px) calc(.25rem - 1px)}.card-header-tabs{margin-bottom:-.5rem;border-bottom:0}.card-header-pills,.card-header-tabs{margin-right:-.5rem;margin-left:-.5rem}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:1rem;border-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom,.card-img-top{width:100%}.card-img,.card-img-top{border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom{border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.card-group>.card{margin-bottom:.75rem}@media (min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:1rem 1.25rem;font-size:1rem;color:#212529;text-align:left;background-color:#fff;border:0;border-radius:0;overflow-anchor:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,border-radius .15s ease}@media (prefers-reduced-motion:reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:#0c63e4;background-color:#e7f1ff;box-shadow:inset 0 -1px 0 rgba(0,0,0,.125)}.accordion-button:not(.collapsed):after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");transform:rotate(-180deg)}.accordion-button:after{flex-shrink:0;width:1.25rem;height:1.25rem;margin-left:auto;content:"";background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-size:1.25rem;transition:transform .2s ease-in-out}@media (prefers-reduced-motion:reduce){.accordion-button:after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.accordion-header{margin-bottom:0}.accordion-item{background-color:#fff;border:1px solid rgba(0,0,0,.125)}.accordion-item:first-of-type{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.accordion-item:first-of-type .accordion-button{border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.accordion-item:last-of-type .accordion-button.collapsed{border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.accordion-item:last-of-type .accordion-collapse{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.accordion-body{padding:1rem 1.25rem}.accordion-flush .accordion-collapse{border-width:0}.accordion-flush .accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush .accordion-item:first-child{border-top:0}.accordion-flush .accordion-item:last-child{border-bottom:0}.accordion-flush .accordion-item .accordion-button{border-radius:0}.breadcrumb{display:flex;flex-wrap:wrap;padding:0;margin-bottom:1rem;list-style:none}.breadcrumb-item+.breadcrumb-item{padding-left:.5rem}.breadcrumb-item+.breadcrumb-item:before{float:left;padding-right:.5rem;color:#6c757d;content:"/";content:var(--bs-breadcrumb-divider,"/")}.breadcrumb-item.active{color:#6c757d}.pagination{display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;color:#0d6efd;text-decoration:none;background-color:#fff;border:1px solid #dee2e6;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.page-link{transition:none}}.page-link:hover{z-index:2;border-color:#dee2e6}.page-link:focus,.page-link:hover{color:#0a58ca;background-color:#e9ecef}.page-link:focus{z-index:3;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.page-item:not(:first-child) .page-link{margin-left:-1px}.page-item.active .page-link{z-index:3;color:#fff;background-color:#0d6efd;border-color:#0d6efd}.page-item.disabled .page-link{color:#6c757d;pointer-events:none;background-color:#fff;border-color:#dee2e6}.page-link{padding:.375rem .75rem}.page-item:first-child .page-link{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.page-item:last-child .page-link{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.pagination-lg .page-link{padding:.75rem 1.5rem;font-size:1.25rem}.pagination-lg .page-item:first-child .page-link{border-top-left-radius:.3rem;border-bottom-left-radius:.3rem}.pagination-lg .page-item:last-child .page-link{border-top-right-radius:.3rem;border-bottom-right-radius:.3rem}.pagination-sm .page-link{padding:.25rem .5rem;font-size:.875rem}.pagination-sm .page-item:first-child .page-link{border-top-left-radius:.2rem;border-bottom-left-radius:.2rem}.pagination-sm .page-item:last-child .page-link{border-top-right-radius:.2rem;border-bottom-right-radius:.2rem}.badge{display:inline-block;padding:.35em .65em;font-size:.75em;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25rem}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{position:relative;padding:1rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{color:#084298;background-color:#cfe2ff;border-color:#b6d4fe}.alert-primary .alert-link{color:#06357a}.alert-secondary{color:#41464b;background-color:#e2e3e5;border-color:#d3d6d8}.alert-secondary .alert-link{color:#34383c}.alert-success{color:#0f5132;background-color:#d1e7dd;border-color:#badbcc}.alert-success .alert-link{color:#0c4128}.alert-info{color:#055160;background-color:#cff4fc;border-color:#b6effb}.alert-info .alert-link{color:#04414d}.alert-warning{color:#664d03;background-color:#fff3cd;border-color:#ffecb5}.alert-warning .alert-link{color:#523e02}.alert-danger{color:#842029;background-color:#f8d7da;border-color:#f5c2c7}.alert-danger .alert-link{color:#6a1a21}.alert-light{color:#636464;background-color:#fefefe;border-color:#fdfdfe}.alert-light .alert-link{color:#4f5050}.alert-dark{color:#141619;background-color:#d3d3d4;border-color:#bcbebf}.alert-dark .alert-link{color:#101214}@-webkit-keyframes progress-bar-stripes{0%{background-position-x:1rem}}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress{height:1rem;font-size:.75rem;background-color:#e9ecef;border-radius:.25rem}.progress,.progress-bar{display:flex;overflow:hidden}.progress-bar{flex-direction:column;justify-content:center;color:#fff;text-align:center;white-space:nowrap;background-color:#0d6efd;transition:width .6s ease}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 0,transparent 50%,rgba(255,255,255,.15) 0,rgba(255,255,255,.15) 75%,transparent 0,transparent);background-size:1rem 1rem}.progress-bar-animated{-webkit-animation:progress-bar-stripes 1s linear infinite;animation:progress-bar-stripes 1s linear infinite}@media (prefers-reduced-motion:reduce){.progress-bar-animated{-webkit-animation:none;animation:none}}.list-group{display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:.25rem}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>li:before{content:counters(section,".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:#495057;text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:#495057;text-decoration:none;background-color:#f8f9fa}.list-group-item-action:active{color:#212529;background-color:#e9ecef}.list-group-item{position:relative;display:block;padding:.5rem 1rem;color:#212529;text-decoration:none;background-color:#fff;border:1px solid rgba(0,0,0,.125)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:#6c757d;pointer-events:none;background-color:#fff}.list-group-item.active{z-index:2;color:#fff;background-color:#0d6efd;border-color:#0d6efd}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:-1px;border-top-width:1px}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}@media (min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 1px}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{color:#084298;background-color:#cfe2ff}.list-group-item-primary.list-group-item-action:focus,.list-group-item-primary.list-group-item-action:hover{color:#084298;background-color:#bacbe6}.list-group-item-primary.list-group-item-action.active{color:#fff;background-color:#084298;border-color:#084298}.list-group-item-secondary{color:#41464b;background-color:#e2e3e5}.list-group-item-secondary.list-group-item-action:focus,.list-group-item-secondary.list-group-item-action:hover{color:#41464b;background-color:#cbccce}.list-group-item-secondary.list-group-item-action.active{color:#fff;background-color:#41464b;border-color:#41464b}.list-group-item-success{color:#0f5132;background-color:#d1e7dd}.list-group-item-success.list-group-item-action:focus,.list-group-item-success.list-group-item-action:hover{color:#0f5132;background-color:#bcd0c7}.list-group-item-success.list-group-item-action.active{color:#fff;background-color:#0f5132;border-color:#0f5132}.list-group-item-info{color:#055160;background-color:#cff4fc}.list-group-item-info.list-group-item-action:focus,.list-group-item-info.list-group-item-action:hover{color:#055160;background-color:#badce3}.list-group-item-info.list-group-item-action.active{color:#fff;background-color:#055160;border-color:#055160}.list-group-item-warning{color:#664d03;background-color:#fff3cd}.list-group-item-warning.list-group-item-action:focus,.list-group-item-warning.list-group-item-action:hover{color:#664d03;background-color:#e6dbb9}.list-group-item-warning.list-group-item-action.active{color:#fff;background-color:#664d03;border-color:#664d03}.list-group-item-danger{color:#842029;background-color:#f8d7da}.list-group-item-danger.list-group-item-action:focus,.list-group-item-danger.list-group-item-action:hover{color:#842029;background-color:#dfc2c4}.list-group-item-danger.list-group-item-action.active{color:#fff;background-color:#842029;border-color:#842029}.list-group-item-light{color:#636464;background-color:#fefefe}.list-group-item-light.list-group-item-action:focus,.list-group-item-light.list-group-item-action:hover{color:#636464;background-color:#e5e5e5}.list-group-item-light.list-group-item-action.active{color:#fff;background-color:#636464;border-color:#636464}.list-group-item-dark{color:#141619;background-color:#d3d3d4}.list-group-item-dark.list-group-item-action:focus,.list-group-item-dark.list-group-item-action:hover{color:#141619;background-color:#bebebf}.list-group-item-dark.list-group-item-action.active{color:#fff;background-color:#141619;border-color:#141619}.btn-close{box-sizing:content-box;width:1em;height:1em;padding:.25em;color:#000;background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") 50%/1em auto no-repeat;border:0;border-radius:.25rem;opacity:.5}.btn-close:hover{color:#000;text-decoration:none;opacity:.75}.btn-close:focus{outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25);opacity:1}.btn-close.disabled,.btn-close:disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:.25}.btn-close-white{filter:invert(1) grayscale(100%) brightness(200%)}.toast{width:350px;max-width:100%;font-size:.875rem;pointer-events:auto;background-color:rgba(255,255,255,.85);background-clip:padding-box;border:1px solid rgba(0,0,0,.1);box-shadow:0 .5rem 1rem rgba(0,0,0,.15);border-radius:.25rem}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:.75rem}.toast-header{display:flex;align-items:center;padding:.5rem .75rem;color:#6c757d;background-color:rgba(255,255,255,.85);background-clip:padding-box;border-bottom:1px solid rgba(0,0,0,.05);border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.toast-header .btn-close{margin-right:-.375rem;margin-left:.75rem}.toast-body{padding:.75rem;word-wrap:break-word}.modal{position:fixed;top:0;left:0;z-index:1055;display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:.5rem;pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translateY(-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - 1rem)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - 1rem)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;pointer-events:auto;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;outline:0}.modal-backdrop{position:fixed;top:0;left:0;z-index:1050;width:100vw;height:100vh;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:.5}.modal-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;padding:1rem;border-bottom:1px solid #dee2e6;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.modal-header .btn-close{padding:.5rem;margin:-.5rem -.5rem -.5rem auto}.modal-title{margin-bottom:0;line-height:1.5}.modal-body{position:relative;flex:1 1 auto;padding:1rem}.modal-footer{display:flex;flex-wrap:wrap;flex-shrink:0;align-items:center;justify-content:flex-end;padding:.75rem;border-top:1px solid #dee2e6;border-bottom-right-radius:calc(.3rem - 1px);border-bottom-left-radius:calc(.3rem - 1px)}.modal-footer>*{margin:.25rem}@media (min-width:576px){.modal-dialog{max-width:500px;margin:1.75rem auto}.modal-dialog-scrollable{height:calc(100% - 3.5rem)}.modal-dialog-centered{min-height:calc(100% - 3.5rem)}.modal-sm{max-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{max-width:800px}}@media (min-width:1200px){.modal-xl{max-width:1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-header{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}.modal-fullscreen .modal-footer{border-radius:0}@media (max-width:575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-header{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}.modal-fullscreen-sm-down .modal-footer{border-radius:0}}@media (max-width:767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-header{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}.modal-fullscreen-md-down .modal-footer{border-radius:0}}@media (max-width:991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-header{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}.modal-fullscreen-lg-down .modal-footer{border-radius:0}}@media (max-width:1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-header{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}.modal-fullscreen-xl-down .modal-footer{border-radius:0}}@media (max-width:1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-header{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}.modal-fullscreen-xxl-down .modal-footer{border-radius:0}}.tooltip{position:absolute;z-index:1080;display:block;margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;opacity:0}.tooltip.show{opacity:.9}.tooltip .tooltip-arrow{position:absolute;display:block;width:.8rem;height:.4rem}.tooltip .tooltip-arrow:before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-auto[data-popper-placement^=top],.bs-tooltip-top{padding:.4rem 0}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow,.bs-tooltip-top .tooltip-arrow{bottom:0}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:before,.bs-tooltip-top .tooltip-arrow:before{top:-1px;border-width:.4rem .4rem 0;border-top-color:#000}.bs-tooltip-auto[data-popper-placement^=right],.bs-tooltip-end{padding:0 .4rem}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow,.bs-tooltip-end .tooltip-arrow{left:0;width:.4rem;height:.8rem}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow:before,.bs-tooltip-end .tooltip-arrow:before{right:-1px;border-width:.4rem .4rem .4rem 0;border-right-color:#000}.bs-tooltip-auto[data-popper-placement^=bottom],.bs-tooltip-bottom{padding:.4rem 0}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow,.bs-tooltip-bottom .tooltip-arrow{top:0}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow:before,.bs-tooltip-bottom .tooltip-arrow:before{bottom:-1px;border-width:0 .4rem .4rem;border-bottom-color:#000}.bs-tooltip-auto[data-popper-placement^=left],.bs-tooltip-start{padding:0 .4rem}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow,.bs-tooltip-start .tooltip-arrow{right:0;width:.4rem;height:.8rem}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow:before,.bs-tooltip-start .tooltip-arrow:before{left:-1px;border-width:.4rem 0 .4rem .4rem;border-left-color:#000}.tooltip-inner{max-width:200px;padding:.25rem .5rem;color:#fff;text-align:center;background-color:#000;border-radius:.25rem}.popover{position:absolute;top:0;left:0;z-index:1070;display:block;max-width:276px;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem}.popover .popover-arrow{position:absolute;display:block;width:1rem;height:.5rem}.popover .popover-arrow:after,.popover .popover-arrow:before{position:absolute;display:block;content:"";border-color:transparent;border-style:solid}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow,.bs-popover-top>.popover-arrow{bottom:calc(-.5rem - 1px)}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:before{bottom:0;border-width:.5rem .5rem 0;border-top-color:rgba(0,0,0,.25)}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after,.bs-popover-top>.popover-arrow:after{bottom:1px;border-width:.5rem .5rem 0;border-top-color:#fff}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow,.bs-popover-end>.popover-arrow{left:calc(-.5rem - 1px);width:.5rem;height:1rem}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:before{left:0;border-width:.5rem .5rem .5rem 0;border-right-color:rgba(0,0,0,.25)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after,.bs-popover-end>.popover-arrow:after{left:1px;border-width:.5rem .5rem .5rem 0;border-right-color:#fff}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow,.bs-popover-bottom>.popover-arrow{top:calc(-.5rem - 1px)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:before{top:0;border-width:0 .5rem .5rem;border-bottom-color:rgba(0,0,0,.25)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after,.bs-popover-bottom>.popover-arrow:after{top:1px;border-width:0 .5rem .5rem;border-bottom-color:#fff}.bs-popover-auto[data-popper-placement^=bottom] .popover-header:before,.bs-popover-bottom .popover-header:before{position:absolute;top:0;left:50%;display:block;width:1rem;margin-left:-.5rem;content:"";border-bottom:1px solid #f0f0f0}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow,.bs-popover-start>.popover-arrow{right:calc(-.5rem - 1px);width:.5rem;height:1rem}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:before{right:0;border-width:.5rem 0 .5rem .5rem;border-left-color:rgba(0,0,0,.25)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after,.bs-popover-start>.popover-arrow:after{right:1px;border-width:.5rem 0 .5rem .5rem;border-left-color:#fff}.popover-header{padding:.5rem 1rem;margin-bottom:0;font-size:1rem;background-color:#f0f0f0;border-bottom:1px solid rgba(0,0,0,.2);border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.popover-header:empty{display:none}.popover-body{padding:1rem;color:#212529}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner:after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-end,.carousel-item-next:not(.carousel-item-start){transform:translateX(100%)}.active.carousel-item-start,.carousel-item-prev:not(.carousel-item-end){transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:0 0;border:0;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%;list-style:none}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-next-icon,.carousel-dark .carousel-control-prev-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}@-webkit-keyframes spinner-border{to{transform:rotate(1turn)}}@keyframes spinner-border{to{transform:rotate(1turn)}}.spinner-border{display:inline-block;width:2rem;height:2rem;vertical-align:-.125em;border:.25em solid;border-right:.25em solid transparent;border-radius:50%;-webkit-animation:spinner-border .75s linear infinite;animation:spinner-border .75s linear infinite}.spinner-border-sm{width:1rem;height:1rem;border-width:.2em}@-webkit-keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{display:inline-block;width:2rem;height:2rem;vertical-align:-.125em;background-color:currentColor;border-radius:50%;opacity:0;-webkit-animation:spinner-grow .75s linear infinite;animation:spinner-grow .75s linear infinite}.spinner-grow-sm{width:1rem;height:1rem}@media (prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{-webkit-animation-duration:1.5s;animation-duration:1.5s}}.offcanvas{position:fixed;bottom:0;z-index:1045;display:flex;flex-direction:column;max-width:100%;visibility:hidden;background-color:#fff;background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}@media (prefers-reduced-motion:reduce){.offcanvas{transition:none}}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;justify-content:space-between;padding:1rem}.offcanvas-header .btn-close{padding:.5rem;margin-top:-.5rem;margin-right:-.5rem;margin-bottom:-.5rem}.offcanvas-title{margin-bottom:0;line-height:1.5}.offcanvas-body{flex-grow:1;padding:1rem;overflow-y:auto}.offcanvas-start{top:0;left:0;width:400px;border-right:1px solid rgba(0,0,0,.2);transform:translateX(-100%)}.offcanvas-end{top:0;right:0;width:400px;border-left:1px solid rgba(0,0,0,.2);transform:translateX(100%)}.offcanvas-top{top:0;border-bottom:1px solid rgba(0,0,0,.2);transform:translateY(-100%)}.offcanvas-bottom,.offcanvas-top{right:0;left:0;height:30vh;max-height:100%}.offcanvas-bottom{border-top:1px solid rgba(0,0,0,.2);transform:translateY(100%)}.offcanvas.show{transform:none}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentColor;opacity:.5}.placeholder.btn:before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{-webkit-animation:placeholder-glow 2s ease-in-out infinite;animation:placeholder-glow 2s ease-in-out infinite}@-webkit-keyframes placeholder-glow{50%{opacity:.2}}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;-webkit-animation:placeholder-wave 2s linear infinite;animation:placeholder-wave 2s linear infinite}@-webkit-keyframes placeholder-wave{to{-webkit-mask-position:-200% 0;mask-position:-200% 0}}@keyframes placeholder-wave{to{-webkit-mask-position:-200% 0;mask-position:-200% 0}}.clearfix:after{display:block;clear:both;content:""}.link-primary{color:#0d6efd}.link-primary:focus,.link-primary:hover{color:#0a58ca}.link-secondary{color:#6c757d}.link-secondary:focus,.link-secondary:hover{color:#565e64}.link-success{color:#198754}.link-success:focus,.link-success:hover{color:#146c43}.link-info{color:#0dcaf0}.link-info:focus,.link-info:hover{color:#3dd5f3}.link-warning{color:#ffc107}.link-warning:focus,.link-warning:hover{color:#ffcd39}.link-danger{color:#dc3545}.link-danger:focus,.link-danger:hover{color:#b02a37}.link-light{color:#f8f9fa}.link-light:focus,.link-light:hover{color:#f9fafb}.link-dark{color:#212529}.link-dark:focus,.link-dark:hover{color:#1a1e21}.ratio{position:relative;width:100%}.ratio:before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio:100%}.ratio-4x3{--bs-aspect-ratio:75%}.ratio-16x9{--bs-aspect-ratio:56.25%}.ratio-21x9{--bs-aspect-ratio:42.8571428571%}.fixed-top{top:0}.fixed-bottom,.fixed-top{position:fixed;right:0;left:0;z-index:1030}.fixed-bottom{bottom:0}.sticky-top{position:sticky;top:0;z-index:1020}@media (min-width:576px){.sticky-sm-top{position:sticky;top:0;z-index:1020}}@media (min-width:768px){.sticky-md-top{position:sticky;top:0;z-index:1020}}@media (min-width:992px){.sticky-lg-top{position:sticky;top:0;z-index:1020}}@media (min-width:1200px){.sticky-xl-top{position:sticky;top:0;z-index:1020}}@media (min-width:1400px){.sticky-xxl-top{position:sticky;top:0;z-index:1020}}.hstack{flex-direction:row;align-items:center}.hstack,.vstack{display:flex;align-self:stretch}.vstack{flex:1 1 auto;flex-direction:column}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.stretched-link:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:1px;min-height:1em;background-color:currentColor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important}.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}.shadow-lg{box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important}.shadow-none{box-shadow:none!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translateX(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:1px solid #dee2e6!important}.border-0{border:0!important}.border-top{border-top:1px solid #dee2e6!important}.border-top-0{border-top:0!important}.border-end{border-right:1px solid #dee2e6!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:1px solid #dee2e6!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:1px solid #dee2e6!important}.border-start-0{border-left:0!important}.border-primary{border-color:#0d6efd!important}.border-secondary{border-color:#6c757d!important}.border-success{border-color:#198754!important}.border-info{border-color:#0dcaf0!important}.border-warning{border-color:#ffc107!important}.border-danger{border-color:#dc3545!important}.border-light{border-color:#f8f9fa!important}.border-dark{border-color:#212529!important}.border-white{border-color:#fff!important}.border-1{border-width:1px!important}.border-2{border-width:2px!important}.border-3{border-width:3px!important}.border-4{border-width:4px!important}.border-5{border-width:5px!important}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-0{grid-gap:0!important;gap:0!important}.gap-1{grid-gap:.25rem!important;gap:.25rem!important}.gap-2{grid-gap:.5rem!important;gap:.5rem!important}.gap-3{grid-gap:1rem!important;gap:1rem!important}.gap-4{grid-gap:1.5rem!important;gap:1.5rem!important}.gap-5{grid-gap:3rem!important;gap:3rem!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.font-monospace{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace!important;font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-light{font-weight:300!important}.fw-lighter{font-weight:lighter!important}.fw-normal{font-weight:400!important}.fw-bold{font-weight:700!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--bs-text-opacity:1;color:rgba(13,110,253,var(--bs-text-opacity))!important;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity:1;color:rgba(108,117,125,var(--bs-text-opacity))!important;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity:1;color:rgba(25,135,84,var(--bs-text-opacity))!important;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity:1;color:rgba(13,202,240,var(--bs-text-opacity))!important;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity:1;color:rgba(255,193,7,var(--bs-text-opacity))!important;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity:1;color:rgba(220,53,69,var(--bs-text-opacity))!important;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity:1;color:rgba(248,249,250,var(--bs-text-opacity))!important;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity:1;color:rgba(33,37,41,var(--bs-text-opacity))!important;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity:1;color:rgba(0,0,0,var(--bs-text-opacity))!important;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity:1;color:rgba(255,255,255,var(--bs-text-opacity))!important;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity:1;color:rgba(33,37,41,var(--bs-text-opacity))!important;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity:1;color:#6c757d!important}.text-black-50{--bs-text-opacity:1;color:rgba(0,0,0,.5)!important}.text-white-50{--bs-text-opacity:1;color:rgba(255,255,255,.5)!important}.text-reset{--bs-text-opacity:1;color:inherit!important}.text-opacity-25{--bs-text-opacity:0.25}.text-opacity-50{--bs-text-opacity:0.5}.text-opacity-75{--bs-text-opacity:0.75}.text-opacity-100{--bs-text-opacity:1}.bg-primary{--bs-bg-opacity:1;background-color:rgba(13,110,253,var(--bs-bg-opacity))!important;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity:1;background-color:rgba(108,117,125,var(--bs-bg-opacity))!important;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity:1;background-color:rgba(25,135,84,var(--bs-bg-opacity))!important;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity:1;background-color:rgba(13,202,240,var(--bs-bg-opacity))!important;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity:1;background-color:rgba(255,193,7,var(--bs-bg-opacity))!important;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity:1;background-color:rgba(220,53,69,var(--bs-bg-opacity))!important;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity:1;background-color:rgba(248,249,250,var(--bs-bg-opacity))!important;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity:1;background-color:rgba(33,37,41,var(--bs-bg-opacity))!important;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity:1;background-color:rgba(0,0,0,var(--bs-bg-opacity))!important;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity:1;background-color:rgba(255,255,255,var(--bs-bg-opacity))!important;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity:1;background-color:rgba(255,255,255,var(--bs-bg-opacity))!important;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity:1;background-color:transparent!important}.bg-opacity-10{--bs-bg-opacity:0.1}.bg-opacity-25{--bs-bg-opacity:0.25}.bg-opacity-50{--bs-bg-opacity:0.5}.bg-opacity-75{--bs-bg-opacity:0.75}.bg-opacity-100{--bs-bg-opacity:1}.bg-gradient{background-image:linear-gradient(180deg,hsla(0,0%,100%,.15),hsla(0,0%,100%,0))!important;background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;-ms-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;-ms-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:.25rem!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:.2rem!important}.rounded-2{border-radius:.25rem!important}.rounded-3{border-radius:.3rem!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:50rem!important}.rounded-top{border-top-left-radius:.25rem!important}.rounded-end,.rounded-top{border-top-right-radius:.25rem!important}.rounded-bottom,.rounded-end{border-bottom-right-radius:.25rem!important}.rounded-bottom,.rounded-start{border-bottom-left-radius:.25rem!important}.rounded-start{border-top-left-radius:.25rem!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}@media (min-width:576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-sm-0{grid-gap:0!important;gap:0!important}.gap-sm-1{grid-gap:.25rem!important;gap:.25rem!important}.gap-sm-2{grid-gap:.5rem!important;gap:.5rem!important}.gap-sm-3{grid-gap:1rem!important;gap:1rem!important}.gap-sm-4{grid-gap:1.5rem!important;gap:1.5rem!important}.gap-sm-5{grid-gap:3rem!important;gap:3rem!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-md-0{grid-gap:0!important;gap:0!important}.gap-md-1{grid-gap:.25rem!important;gap:.25rem!important}.gap-md-2{grid-gap:.5rem!important;gap:.5rem!important}.gap-md-3{grid-gap:1rem!important;gap:1rem!important}.gap-md-4{grid-gap:1.5rem!important;gap:1.5rem!important}.gap-md-5{grid-gap:3rem!important;gap:3rem!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-lg-0{grid-gap:0!important;gap:0!important}.gap-lg-1{grid-gap:.25rem!important;gap:.25rem!important}.gap-lg-2{grid-gap:.5rem!important;gap:.5rem!important}.gap-lg-3{grid-gap:1rem!important;gap:1rem!important}.gap-lg-4{grid-gap:1.5rem!important;gap:1.5rem!important}.gap-lg-5{grid-gap:3rem!important;gap:3rem!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-xl-0{grid-gap:0!important;gap:0!important}.gap-xl-1{grid-gap:.25rem!important;gap:.25rem!important}.gap-xl-2{grid-gap:.5rem!important;gap:.5rem!important}.gap-xl-3{grid-gap:1rem!important;gap:1rem!important}.gap-xl-4{grid-gap:1.5rem!important;gap:1.5rem!important}.gap-xl-5{grid-gap:3rem!important;gap:3rem!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media (min-width:1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-xxl-0{grid-gap:0!important;gap:0!important}.gap-xxl-1{grid-gap:.25rem!important;gap:.25rem!important}.gap-xxl-2{grid-gap:.5rem!important;gap:.5rem!important}.gap-xxl-3{grid-gap:1rem!important;gap:1rem!important}.gap-xxl-4{grid-gap:1.5rem!important;gap:1.5rem!important}.gap-xxl-5{grid-gap:3rem!important;gap:3rem!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}@media (min-width:1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}}@font-face{font-family:Noto Sans;src:url(NotoSans-Regular.f55982ed9f2bc3af6185.eot);src:local("Noto Sans Regular"),local("NotoSans-Regular"),url(NotoSans-Regular.f55982ed9f2bc3af6185.eot?#iefix) format("embedded-opentype"),url(NotoSans-Regular.730e73a4d4556fa0efe8.woff2) format("woff2"),url(NotoSans-Regular.22c53c8686edcaecdf66.woff) format("woff"),url(NotoSans-Regular.e962f548522aa99bb8f9.ttf) format("truetype"),url(NotoSans-Regular.8142e5b2e99a1cccafb7.svg#NotoSans-Regular) format("svg");font-weight:400;font-style:normal}@font-face{font-family:Noto Sans;src:url(NotoSans-Italic.1506cb93f574152bda3d.eot);src:local("Noto Sans Italic"),local("NotoSans-Italic"),url(NotoSans-Italic.1506cb93f574152bda3d.eot?#iefix) format("embedded-opentype"),url(NotoSans-Italic.ca985d172a576d01c77e.woff2) format("woff2"),url(NotoSans-Italic.8a08f0f08e448e4f522e.woff) format("woff"),url(NotoSans-Italic.08690ed789a5532ed7be.ttf) format("truetype"),url(NotoSans-Italic.cecaa17f122ac96a50f8.svg#NotoSans-Italic) format("svg");font-weight:400;font-style:italic}@font-face{font-family:Noto Sans;src:url(NotoSans-Bold.fe2c3263802c4469728b.eot);src:local("Noto Sans Bold"),local("NotoSans-Bold"),url(NotoSans-Bold.fe2c3263802c4469728b.eot?#iefix) format("embedded-opentype"),url(NotoSans-Bold.3ea2282022a16bb2827b.woff2) format("woff2"),url(NotoSans-Bold.364158e7b3016f83790a.woff) format("woff"),url(NotoSans-Bold.82b1a58ddf26951345dc.ttf) format("truetype"),url(NotoSans-Bold.18ef6a21171328dc11a9.svg#NotoSans-Bold) format("svg");font-weight:700;font-style:normal}@font-face{font-family:Noto Sans;src:url(NotoSans-BoldItalic.b40d78b2f9e2490108d0.eot);src:local("Noto Sans BoldItalic"),local("NotoSans-BoldItalic"),url(NotoSans-BoldItalic.b40d78b2f9e2490108d0.eot?#iefix) format("embedded-opentype"),url(NotoSans-BoldItalic.f2639d17cfb5c6e74edd.woff2) format("woff2"),url(NotoSans-BoldItalic.ed8d2295c0b2e0a854d8.woff) format("woff"),url(NotoSans-BoldItalic.9e49c91c40231a024afb.ttf) format("truetype"),url(NotoSans-BoldItalic.7930d6e32b12448fc0ae.svg#NotoSans-BoldItalic) format("svg");font-weight:700;font-style:italic}body{background-color:#e8ecef}img.logo-header{width:50px}a.table-link{color:#0097a7}.snackabar-success{background:#0097a7!important;color:#fff!important}.snackbar-warning{background:#c5c740!important;color:#fff!important}.snackbar-error{background:#b00020!important;color:#fff!important}.mat-dialog-actions{margin-bottom:-12px!important}@-moz-document url-prefix(){.temporaryElement{line-height:1.4em}}.full-width-field,app-root{width:100%}mat-menu-panel{min-height:0}.custom-tooltip{background-color:grey;color:#fff}@font-face{font-family:Material Icons;font-style:normal;font-weight:400;src:url(MaterialIcons-Regular.4674f8ded773cb03e824.eot);src:local("Material Icons"),local("MaterialIcons-Regular"),url(MaterialIcons-Regular.cff684e59ffb052d72cb.woff2) format("woff2"),url(MaterialIcons-Regular.83bebaf37c09c7e1c3ee.woff) format("woff"),url(MaterialIcons-Regular.5e7382c63da0098d634a.ttf) format("truetype")}.material-icons{font-family:Material Icons;font-weight:400;font-style:normal;font-size:24px;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:100;src:local("Roboto Thin "),local("Roboto-Thin"),url(roboto-latin-100.c2aa4ab115bf9c6057cb.woff2) format("woff2"),url(roboto-latin-100.a45108d3b34af91f9113.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-display:swap;font-weight:100;src:local("Roboto Thin italic"),local("Roboto-Thinitalic"),url(roboto-latin-100italic.7f839a8652da29745ce4.woff2) format("woff2"),url(roboto-latin-100italic.451d4e559d6f57cdf6a1.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:local("Roboto Light "),local("Roboto-Light"),url(roboto-latin-300.37a7069dc30fc663c878.woff2) format("woff2"),url(roboto-latin-300.865f928cbabcc9f8f2b5.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-display:swap;font-weight:300;src:local("Roboto Light italic"),local("Roboto-Lightitalic"),url(roboto-latin-300italic.c64e7e354c88e613c77c.woff2) format("woff2"),url(roboto-latin-300italic.bd5b7a13f2c52b531a2a.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:local("Roboto Regular "),local("Roboto-Regular"),url(roboto-latin-400.176f8f5bd5f02b3abfcf.woff2) format("woff2"),url(roboto-latin-400.49ae34d4cc6b98c00c69.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-display:swap;font-weight:400;src:local("Roboto Regular italic"),local("Roboto-Regularitalic"),url(roboto-latin-400italic.d022bc70dc1bf7b3425d.woff2) format("woff2"),url(roboto-latin-400italic.b1d9d9904bfca8802a63.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:local("Roboto Medium "),local("Roboto-Medium"),url(roboto-latin-500.f5b74d7ffcdf85b9dd60.woff2) format("woff2"),url(roboto-latin-500.cea99d3e3e13a3a599a0.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-display:swap;font-weight:500;src:local("Roboto Medium italic"),local("Roboto-Mediumitalic"),url(roboto-latin-500italic.0d8bb5b3ee5f5dac9e44.woff2) format("woff2"),url(roboto-latin-500italic.18d00f739ff1e1c52db1.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:local("Roboto Bold "),local("Roboto-Bold"),url(roboto-latin-700.c18ee39fb002ad58b6dc.woff2) format("woff2"),url(roboto-latin-700.2267169ee7270a22a963.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-display:swap;font-weight:700;src:local("Roboto Bold italic"),local("Roboto-Bolditalic"),url(roboto-latin-700italic.7d8125ff7f707231fd89.woff2) format("woff2"),url(roboto-latin-700italic.9360531f9bb817f917f0.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:900;src:local("Roboto Black "),local("Roboto-Black"),url(roboto-latin-900.870c8c1486f76054301a.woff2) format("woff2"),url(roboto-latin-900.bac8362e7a6ea60b6983.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-display:swap;font-weight:900;src:local("Roboto Black italic"),local("Roboto-Blackitalic"),url(roboto-latin-900italic.cb5ad999740e9d8a8bd1.woff2) format("woff2"),url(roboto-latin-900italic.c20d916c1a1b094c1cec.woff) format("woff")}.mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small .mat-badge-content{font-size:9px}.mat-badge-large .mat-badge-content{font-size:24px}.mat-h1,.mat-headline,.mat-typography h1{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-title,.mat-typography h2{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3,.mat-subheading-2,.mat-typography h3{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4,.mat-subheading-1,.mat-typography h4{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5,.mat-typography h5{font:400 calc(14px * .83) /20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography h6{font:400 calc(14px * .67) /20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2,.mat-body-strong{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body,.mat-body-1,.mat-typography{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body-1 p,.mat-body p,.mat-typography p{margin:0 0 12px}.mat-caption,.mat-small{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4,.mat-typography .mat-display-4{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3,.mat-typography .mat-display-3{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2,.mat-typography .mat-display-2{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1,.mat-typography .mat-display-1{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button,.mat-stroked-button{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle,.mat-card{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title{font-size:24px;font-weight:500}.mat-card-header .mat-card-title{font-size:20px}.mat-card-content,.mat-card-subtitle{font-size:14px}.mat-checkbox{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout .mat-checkbox-label{line-height:24px}.mat-chip{font-size:14px;font-weight:500}.mat-chip .mat-chip-remove.mat-icon,.mat-chip .mat-chip-trailing-icon.mat-icon{font-size:18px}.mat-table{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell{font-size:12px;font-weight:500}.mat-cell,.mat-footer-cell{font-size:14px}.mat-calendar{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body{font-size:13px}.mat-calendar-body-label,.mat-calendar-period-button{font-size:14px;font-weight:500}.mat-calendar-table-header th{font-size:11px;font-weight:400}.mat-dialog-title{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper{padding-bottom:1.34375em}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{font-size:150%;line-height:1.125}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{height:1.5em;width:1.5em}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{height:1.125em;line-height:1.125}.mat-form-field-infix{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper{top:-.84375em;padding-top:.84375em}.mat-form-field-label{top:1.34375em}.mat-form-field-underline{bottom:1.34375em}.mat-form-field-subscript-wrapper{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy .mat-form-field-wrapper{padding-bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-infix{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy .mat-form-field-label{top:1.28125em}.mat-form-field-appearance-legacy .mat-form-field-underline{bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-subscript-wrapper{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill .mat-form-field-infix{padding:.25em 0 .75em}.mat-form-field-appearance-fill .mat-form-field-label{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline .mat-form-field-infix{padding:1em 0}.mat-form-field-appearance-outline .mat-form-field-label{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer,.mat-grid-tile-header{font-size:14px}.mat-grid-tile-footer .mat-line,.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2),.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:12px}input.mat-input-element{margin-top:-.0625em}.mat-menu-item{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button,.mat-select{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger{height:1.125em}.mat-slide-toggle-content,.mat-slider-thumb-label-text{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text{font-size:12px;font-weight:500}.mat-stepper-horizontal,.mat-stepper-vertical{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label{font-size:14px;font-weight:400}.mat-step-sub-label-error{font-weight:400}.mat-step-label-error{font-size:14px}.mat-step-label-selected{font-size:14px;font-weight:500}.mat-tab-group,.mat-tab-label,.mat-tab-link{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label,.mat-tab-link{font-size:14px;font-weight:500}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item,.mat-list-option{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base .mat-list-item{font-size:16px}.mat-list-base .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-item .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-list-option{font-size:16px}.mat-list-base .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-option .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense] .mat-list-item{font-size:12px}.mat-list-base[dense] .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-item .mat-line:nth-child(n+2),.mat-list-base[dense] .mat-list-option{font-size:12px}.mat-list-base[dense] .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-option .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node,.mat-tree-node{font-weight:400;font-size:14px}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale(0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper,.cdk-overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper,.cdk-overlay-pane{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@-webkit-keyframes cdk-text-field-autofill-start{
-  /*!*/}@keyframes cdk-text-field-autofill-start{
-  /*!*/}@-webkit-keyframes cdk-text-field-autofill-end{
-  /*!*/}@keyframes cdk-text-field-autofill-end{
-  /*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator,.mat-mdc-focus-indicator{position:relative}.dark-theme{color:#fff!important}.dark-theme .mat-badge{position:relative}.dark-theme .mat-badge-hidden .mat-badge-content{display:none}.dark-theme .mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.dark-theme .mat-badge-content._mat-animation-noopable,.dark-theme .ng-animate-disabled .mat-badge-content{transition:none}.dark-theme .mat-badge-content.mat-badge-active{transform:none}.dark-theme .mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.dark-theme .mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.dark-theme .mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.dark-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .dark-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.dark-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .dark-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.dark-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .dark-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.dark-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .dark-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.dark-theme .mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.dark-theme .mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.dark-theme .mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.dark-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .dark-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.dark-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .dark-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.dark-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .dark-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.dark-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .dark-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.dark-theme .mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.dark-theme .mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.dark-theme .mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.dark-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .dark-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.dark-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .dark-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.dark-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .dark-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.dark-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .dark-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.dark-theme .mat-badge-content{color:#fff;background:#0097a7}.cdk-high-contrast-active .dark-theme .mat-badge-content{outline:1px solid;border-radius:0}.dark-theme .mat-badge-accent .mat-badge-content{background:#b0bec5;color:rgba(0,0,0,.87)}.dark-theme .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.dark-theme .mat-badge-disabled .mat-badge-content{background:#677074;color:hsla(0,0%,100%,.5)}.dark-theme .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#263238;color:#fff}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{line-height:48px}.dark-theme .mat-divider{border-top-color:hsla(0,0%,100%,.12)}.dark-theme .mat-divider-vertical{border-right-color:hsla(0,0%,100%,.12)}.mat-expansion-panel-header{height:48px}.mat-expansion-panel-header.mat-expanded{height:64px}.mat-paginator-container{min-height:56px}.mat-horizontal-stepper-header{height:72px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header,.mat-vertical-stepper-header{padding:24px}.mat-stepper-vertical-line:before{top:-16px;bottom:-16px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:after,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:before,.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{top:36px}.dark-theme .mat-sort-header-arrow{color:#bec2c3}.dark-theme .mat-toolbar{background:#263238}.dark-theme .mat-toolbar.mat-primary{background:#0097a7}.dark-theme .mat-toolbar.mat-accent{background:#b0bec5;color:rgba(0,0,0,.87)}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width: 599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}.dark-theme .mat-tree{background:#263238}.dark-theme .mat-nested-tree-node,.dark-theme .mat-tree-node{color:#fff}.mat-tree-node{min-height:48px}.dark-theme .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.dark-theme .mat-option{color:#fff}.dark-theme .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled),.dark-theme .mat-option:focus:not(.mat-option-disabled),.dark-theme .mat-option:hover:not(.mat-option-disabled){background:hsla(0,0%,100%,.04)}.dark-theme .mat-option.mat-active{background:hsla(0,0%,100%,.04);color:#fff}.dark-theme .mat-option.mat-option-disabled{color:hsla(0,0%,100%,.5)}.dark-theme .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#0097a7}.dark-theme .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#b0bec5}.dark-theme .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.dark-theme .mat-optgroup-label{color:hsla(0,0%,100%,.7)}.dark-theme .mat-optgroup-disabled .mat-optgroup-label{color:hsla(0,0%,100%,.5)}.dark-theme .mat-pseudo-checkbox{color:hsla(0,0%,100%,.7)}.dark-theme .mat-pseudo-checkbox:after{color:#263238}.dark-theme .mat-pseudo-checkbox-disabled{color:#686868}.dark-theme .mat-primary .mat-pseudo-checkbox-checked,.dark-theme .mat-primary .mat-pseudo-checkbox-indeterminate{background:#0097a7}.dark-theme .mat-accent .mat-pseudo-checkbox-checked,.dark-theme .mat-accent .mat-pseudo-checkbox-indeterminate,.dark-theme .mat-pseudo-checkbox-checked,.dark-theme .mat-pseudo-checkbox-indeterminate{background:#b0bec5}.dark-theme .mat-warn .mat-pseudo-checkbox-checked,.dark-theme .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.dark-theme .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.dark-theme .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#686868}.dark-theme.mat-app-background,.dark-theme .mat-app-background{background-color:#263238;color:#fff}.dark-theme .mat-elevation-z0{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.dark-theme .mat-elevation-z1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.dark-theme .mat-elevation-z2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.dark-theme .mat-elevation-z3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.dark-theme .mat-elevation-z4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.dark-theme .mat-elevation-z5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.dark-theme .mat-elevation-z6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.dark-theme .mat-elevation-z7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z17{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z18{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z19{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z20{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z21{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z22{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z23{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z24{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.dark-theme .mat-autocomplete-panel{background:#263238;color:#fff}.dark-theme .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.dark-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#263238}.dark-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#fff}.dark-theme .mat-button,.dark-theme .mat-icon-button,.dark-theme .mat-stroked-button{color:inherit;background:transparent}.dark-theme .mat-button.mat-primary,.dark-theme .mat-icon-button.mat-primary,.dark-theme .mat-stroked-button.mat-primary{color:#0097a7}.dark-theme .mat-button.mat-accent,.dark-theme .mat-icon-button.mat-accent,.dark-theme .mat-stroked-button.mat-accent{color:#b0bec5}.dark-theme .mat-button.mat-warn,.dark-theme .mat-icon-button.mat-warn,.dark-theme .mat-stroked-button.mat-warn{color:#f44336}.dark-theme .mat-button.mat-accent.mat-button-disabled,.dark-theme .mat-button.mat-button-disabled.mat-button-disabled,.dark-theme .mat-button.mat-primary.mat-button-disabled,.dark-theme .mat-button.mat-warn.mat-button-disabled,.dark-theme .mat-icon-button.mat-accent.mat-button-disabled,.dark-theme .mat-icon-button.mat-button-disabled.mat-button-disabled,.dark-theme .mat-icon-button.mat-primary.mat-button-disabled,.dark-theme .mat-icon-button.mat-warn.mat-button-disabled,.dark-theme .mat-stroked-button.mat-accent.mat-button-disabled,.dark-theme .mat-stroked-button.mat-button-disabled.mat-button-disabled,.dark-theme .mat-stroked-button.mat-primary.mat-button-disabled,.dark-theme .mat-stroked-button.mat-warn.mat-button-disabled{color:hsla(0,0%,100%,.3)}.dark-theme .mat-button.mat-primary .mat-button-focus-overlay,.dark-theme .mat-icon-button.mat-primary .mat-button-focus-overlay,.dark-theme .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#0097a7}.dark-theme .mat-button.mat-accent .mat-button-focus-overlay,.dark-theme .mat-icon-button.mat-accent .mat-button-focus-overlay,.dark-theme .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#b0bec5}.dark-theme .mat-button.mat-warn .mat-button-focus-overlay,.dark-theme .mat-icon-button.mat-warn .mat-button-focus-overlay,.dark-theme .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.dark-theme .mat-button.mat-button-disabled .mat-button-focus-overlay,.dark-theme .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.dark-theme .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.dark-theme .mat-button .mat-ripple-element,.dark-theme .mat-icon-button .mat-ripple-element,.dark-theme .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.dark-theme .mat-button-focus-overlay{background:#fff}.dark-theme .mat-stroked-button:not(.mat-button-disabled){border-color:hsla(0,0%,100%,.12)}.dark-theme .mat-fab,.dark-theme .mat-flat-button,.dark-theme .mat-mini-fab,.dark-theme .mat-raised-button{color:#fff;background-color:#424242}.dark-theme .mat-fab.mat-primary,.dark-theme .mat-flat-button.mat-primary,.dark-theme .mat-mini-fab.mat-primary,.dark-theme .mat-raised-button.mat-primary{color:#fff}.dark-theme .mat-fab.mat-accent,.dark-theme .mat-flat-button.mat-accent,.dark-theme .mat-mini-fab.mat-accent,.dark-theme .mat-raised-button.mat-accent{color:rgba(0,0,0,.87)}.dark-theme .mat-fab.mat-warn,.dark-theme .mat-flat-button.mat-warn,.dark-theme .mat-mini-fab.mat-warn,.dark-theme .mat-raised-button.mat-warn{color:#fff}.dark-theme .mat-fab.mat-accent.mat-button-disabled,.dark-theme .mat-fab.mat-button-disabled.mat-button-disabled,.dark-theme .mat-fab.mat-primary.mat-button-disabled,.dark-theme .mat-fab.mat-warn.mat-button-disabled,.dark-theme .mat-flat-button.mat-accent.mat-button-disabled,.dark-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.dark-theme .mat-flat-button.mat-primary.mat-button-disabled,.dark-theme .mat-flat-button.mat-warn.mat-button-disabled,.dark-theme .mat-mini-fab.mat-accent.mat-button-disabled,.dark-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.dark-theme .mat-mini-fab.mat-primary.mat-button-disabled,.dark-theme .mat-mini-fab.mat-warn.mat-button-disabled,.dark-theme .mat-raised-button.mat-accent.mat-button-disabled,.dark-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.dark-theme .mat-raised-button.mat-primary.mat-button-disabled,.dark-theme .mat-raised-button.mat-warn.mat-button-disabled{color:hsla(0,0%,100%,.3)}.dark-theme .mat-fab.mat-primary,.dark-theme .mat-flat-button.mat-primary,.dark-theme .mat-mini-fab.mat-primary,.dark-theme .mat-raised-button.mat-primary{background-color:#0097a7}.dark-theme .mat-fab.mat-accent,.dark-theme .mat-flat-button.mat-accent,.dark-theme .mat-mini-fab.mat-accent,.dark-theme .mat-raised-button.mat-accent{background-color:#b0bec5}.dark-theme .mat-fab.mat-warn,.dark-theme .mat-flat-button.mat-warn,.dark-theme .mat-mini-fab.mat-warn,.dark-theme .mat-raised-button.mat-warn{background-color:#f44336}.dark-theme .mat-fab.mat-accent.mat-button-disabled,.dark-theme .mat-fab.mat-button-disabled.mat-button-disabled,.dark-theme .mat-fab.mat-primary.mat-button-disabled,.dark-theme .mat-fab.mat-warn.mat-button-disabled,.dark-theme .mat-flat-button.mat-accent.mat-button-disabled,.dark-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.dark-theme .mat-flat-button.mat-primary.mat-button-disabled,.dark-theme .mat-flat-button.mat-warn.mat-button-disabled,.dark-theme .mat-mini-fab.mat-accent.mat-button-disabled,.dark-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.dark-theme .mat-mini-fab.mat-primary.mat-button-disabled,.dark-theme .mat-mini-fab.mat-warn.mat-button-disabled,.dark-theme .mat-raised-button.mat-accent.mat-button-disabled,.dark-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.dark-theme .mat-raised-button.mat-primary.mat-button-disabled,.dark-theme .mat-raised-button.mat-warn.mat-button-disabled{background-color:hsla(0,0%,100%,.12)}.dark-theme .mat-fab.mat-primary .mat-ripple-element,.dark-theme .mat-flat-button.mat-primary .mat-ripple-element,.dark-theme .mat-mini-fab.mat-primary .mat-ripple-element,.dark-theme .mat-raised-button.mat-primary .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.dark-theme .mat-fab.mat-accent .mat-ripple-element,.dark-theme .mat-flat-button.mat-accent .mat-ripple-element,.dark-theme .mat-mini-fab.mat-accent .mat-ripple-element,.dark-theme .mat-raised-button.mat-accent .mat-ripple-element{background-color:rgba(0,0,0,.1)}.dark-theme .mat-fab.mat-warn .mat-ripple-element,.dark-theme .mat-flat-button.mat-warn .mat-ripple-element,.dark-theme .mat-mini-fab.mat-warn .mat-ripple-element,.dark-theme .mat-raised-button.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.dark-theme .mat-flat-button:not([class*=mat-elevation-z]),.dark-theme .mat-stroked-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.dark-theme .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.dark-theme .mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.dark-theme .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.dark-theme .mat-fab:not([class*=mat-elevation-z]),.dark-theme .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.dark-theme .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.dark-theme .mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.dark-theme .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.dark-theme .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.dark-theme .mat-button-toggle-group,.dark-theme .mat-button-toggle-standalone{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.dark-theme .mat-button-toggle-group-appearance-standard,.dark-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{box-shadow:none}.dark-theme .mat-button-toggle{color:hsla(0,0%,100%,.5)}.dark-theme .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:hsla(0,0%,100%,.06)}.dark-theme .mat-button-toggle-appearance-standard{color:#fff;background:#263238}.dark-theme .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#fff}.dark-theme .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:1px solid hsla(0,0%,100%,.12)}.dark-theme [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:1px solid hsla(0,0%,100%,.12)}.dark-theme .mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:1px solid hsla(0,0%,100%,.12)}.dark-theme .mat-button-toggle-checked{background-color:#212121;color:hsla(0,0%,100%,.7)}.dark-theme .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#fff}.dark-theme .mat-button-toggle-disabled{color:hsla(0,0%,100%,.3);background-color:#000}.dark-theme .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#263238}.dark-theme .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#424242}.dark-theme .mat-button-toggle-group-appearance-standard,.dark-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{border:1px solid hsla(0,0%,100%,.12)}.dark-theme .mat-card{background:#263238;color:#fff}.dark-theme .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.dark-theme .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.dark-theme .mat-card-subtitle{color:hsla(0,0%,100%,.7)}.dark-theme .mat-checkbox-frame{border-color:hsla(0,0%,100%,.7)}.dark-theme .mat-checkbox-checkmark{fill:#263238}.dark-theme .mat-checkbox-checkmark-path{stroke:#263238!important}.dark-theme .mat-checkbox-mixedmark{background-color:#263238}.dark-theme .mat-checkbox-checked.mat-primary .mat-checkbox-background,.dark-theme .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background{background-color:#0097a7}.dark-theme .mat-checkbox-checked.mat-accent .mat-checkbox-background,.dark-theme .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background{background-color:#b0bec5}.dark-theme .mat-checkbox-checked.mat-warn .mat-checkbox-background,.dark-theme .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background{background-color:#f44336}.dark-theme .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.dark-theme .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#686868}.dark-theme .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#686868}.dark-theme .mat-checkbox-disabled .mat-checkbox-label{color:hsla(0,0%,100%,.7)}.dark-theme .mat-checkbox .mat-ripple-element{background-color:#fff}.dark-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.dark-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#0097a7}.dark-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.dark-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#b0bec5}.dark-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.dark-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.dark-theme .mat-chip.mat-standard-chip{background-color:#616161;color:#fff}.dark-theme .mat-chip.mat-standard-chip .mat-chip-remove{color:#fff;opacity:.4}.dark-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.dark-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.dark-theme .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.dark-theme .mat-chip.mat-standard-chip:after{background:#fff}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#0097a7;color:#fff}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#b0bec5;color:rgba(0,0,0,.87)}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:rgba(0,0,0,.87);opacity:.4}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:rgba(0,0,0,.1)}.dark-theme .mat-table{background:#263238}.dark-theme .mat-table-sticky,.dark-theme .mat-table tbody,.dark-theme .mat-table tfoot,.dark-theme .mat-table thead,.dark-theme [mat-footer-row],.dark-theme [mat-header-row],.dark-theme [mat-row],.dark-theme mat-footer-row,.dark-theme mat-header-row,.dark-theme mat-row{background:inherit}.dark-theme mat-footer-row,.dark-theme mat-header-row,.dark-theme mat-row,.dark-theme td.mat-cell,.dark-theme td.mat-footer-cell,.dark-theme th.mat-header-cell{border-bottom-color:hsla(0,0%,100%,.12)}.dark-theme .mat-header-cell{color:hsla(0,0%,100%,.7)}.dark-theme .mat-cell,.dark-theme .mat-footer-cell{color:#fff}.dark-theme .mat-calendar-arrow{fill:#fff}.dark-theme .mat-datepicker-content .mat-calendar-next-button,.dark-theme .mat-datepicker-content .mat-calendar-previous-button,.dark-theme .mat-datepicker-toggle{color:#fff}.dark-theme .mat-calendar-table-header-divider:after{background:hsla(0,0%,100%,.12)}.dark-theme .mat-calendar-body-label,.dark-theme .mat-calendar-table-header{color:hsla(0,0%,100%,.7)}.dark-theme .mat-calendar-body-cell-content,.dark-theme .mat-date-range-input-separator{color:#fff;border-color:transparent}.dark-theme .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.dark-theme .mat-form-field-disabled .mat-date-range-input-separator{color:hsla(0,0%,100%,.5)}.dark-theme .mat-calendar-body-in-preview{color:hsla(0,0%,100%,.24)}.dark-theme .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:hsla(0,0%,100%,.5)}.dark-theme .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:hsla(0,0%,100%,.3)}.dark-theme .mat-calendar-body-in-range:before{background:rgba(0,151,167,.2)}.dark-theme .mat-calendar-body-comparison-identical,.dark-theme .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.dark-theme .mat-calendar-body-comparison-bridge-start:before,.dark-theme [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(0,151,167,.2) 50%,rgba(249,171,0,.2) 0)}.dark-theme .mat-calendar-body-comparison-bridge-end:before,.dark-theme [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(0,151,167,.2) 50%,rgba(249,171,0,.2) 0)}.dark-theme .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.dark-theme .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.dark-theme .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.dark-theme .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.dark-theme .mat-calendar-body-selected{background-color:#0097a7;color:#fff}.dark-theme .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(0,151,167,.4)}.dark-theme .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.dark-theme .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.dark-theme .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.dark-theme .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(0,151,167,.3)}.dark-theme .mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#263238;color:#fff}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(176,190,197,.2)}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.dark-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(176,190,197,.2) 50%,rgba(249,171,0,.2) 0)}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.dark-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(176,190,197,.2) 50%,rgba(249,171,0,.2) 0)}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#b0bec5;color:rgba(0,0,0,.87)}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(176,190,197,.4)}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px rgba(0,0,0,.87)}.dark-theme .mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.dark-theme .mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(176,190,197,.3)}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.dark-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.dark-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(244,67,54,.4)}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.dark-theme .mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.dark-theme .mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(244,67,54,.3)}.dark-theme .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.dark-theme .mat-datepicker-toggle-active{color:#0097a7}.dark-theme .mat-datepicker-toggle-active.mat-accent{color:#b0bec5}.dark-theme .mat-datepicker-toggle-active.mat-warn{color:#f44336}.dark-theme .mat-date-range-input-inner[disabled]{color:hsla(0,0%,100%,.5)}.dark-theme .mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#263238;color:#fff}.dark-theme .mat-expansion-panel{background:#263238;color:#fff}.dark-theme .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.dark-theme .mat-action-row{border-top-color:hsla(0,0%,100%,.12)}.dark-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.dark-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.dark-theme .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:hsla(0,0%,100%,.04)}@media (hover: none){.dark-theme .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#263238}}.dark-theme .mat-expansion-panel-header-title{color:#fff}.dark-theme .mat-expansion-indicator:after,.dark-theme .mat-expansion-panel-header-description{color:hsla(0,0%,100%,.7)}.dark-theme .mat-expansion-panel-header[aria-disabled=true]{color:hsla(0,0%,100%,.3)}.dark-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.dark-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.dark-theme .mat-form-field-label,.dark-theme .mat-hint{color:hsla(0,0%,100%,.7)}.dark-theme .mat-form-field.mat-focused .mat-form-field-label{color:#0097a7}.dark-theme .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#b0bec5}.dark-theme .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.dark-theme .mat-focused .mat-form-field-required-marker{color:#b0bec5}.dark-theme .mat-form-field-ripple{background-color:#fff}.dark-theme .mat-form-field.mat-focused .mat-form-field-ripple{background-color:#0097a7}.dark-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#b0bec5}.dark-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.dark-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#0097a7}.dark-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#b0bec5}.dark-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after,.dark-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label,.dark-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.dark-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.dark-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.dark-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.dark-theme .mat-error{color:#f44336}.dark-theme .mat-form-field-appearance-legacy .mat-form-field-label,.dark-theme .mat-form-field-appearance-legacy .mat-hint{color:hsla(0,0%,100%,.7)}.dark-theme .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:hsla(0,0%,100%,.7)}.dark-theme .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,hsla(0,0%,100%,.7) 0,hsla(0,0%,100%,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.dark-theme .mat-form-field-appearance-standard .mat-form-field-underline{background-color:hsla(0,0%,100%,.7)}.dark-theme .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,hsla(0,0%,100%,.7) 0,hsla(0,0%,100%,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.dark-theme .mat-form-field-appearance-fill .mat-form-field-flex{background-color:hsla(0,0%,100%,.1)}.dark-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:hsla(0,0%,100%,.05)}.dark-theme .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:hsla(0,0%,100%,.5)}.dark-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:hsla(0,0%,100%,.5)}.dark-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.dark-theme .mat-form-field-appearance-outline .mat-form-field-outline{color:hsla(0,0%,100%,.3)}.dark-theme .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#fff}.dark-theme .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#0097a7}.dark-theme .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#b0bec5}.dark-theme .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.dark-theme .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.dark-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:hsla(0,0%,100%,.5)}.dark-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:hsla(0,0%,100%,.15)}.dark-theme .mat-icon.mat-primary{color:#0097a7}.dark-theme .mat-icon.mat-accent{color:#b0bec5}.dark-theme .mat-icon.mat-warn{color:#f44336}.dark-theme .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:hsla(0,0%,100%,.7)}.dark-theme .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after,.dark-theme .mat-input-element:disabled{color:hsla(0,0%,100%,.5)}.dark-theme .mat-input-element{caret-color:#0097a7}.dark-theme .mat-input-element::placeholder{color:hsla(0,0%,100%,.5)}.dark-theme .mat-input-element::-moz-placeholder{color:hsla(0,0%,100%,.5)}.dark-theme .mat-input-element::-webkit-input-placeholder{color:hsla(0,0%,100%,.5)}.dark-theme .mat-input-element:-ms-input-placeholder{color:hsla(0,0%,100%,.5)}.dark-theme .mat-input-element option{color:rgba(0,0,0,.87)}.dark-theme .mat-input-element option:disabled{color:rgba(0,0,0,.38)}.dark-theme .mat-form-field.mat-accent .mat-input-element{caret-color:#b0bec5}.dark-theme .mat-form-field-invalid .mat-input-element,.dark-theme .mat-form-field.mat-warn .mat-input-element{caret-color:#f44336}.dark-theme .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.dark-theme .mat-list-base .mat-list-item,.dark-theme .mat-list-base .mat-list-option{color:#fff}.dark-theme .mat-list-base .mat-subheader{color:hsla(0,0%,100%,.7)}.dark-theme .mat-list-item-disabled{background-color:#000}.dark-theme .mat-action-list .mat-list-item:focus,.dark-theme .mat-action-list .mat-list-item:hover,.dark-theme .mat-list-option:focus,.dark-theme .mat-list-option:hover,.dark-theme .mat-nav-list .mat-list-item:focus,.dark-theme .mat-nav-list .mat-list-item:hover{background:hsla(0,0%,100%,.04)}.dark-theme .mat-list-single-selected-option,.dark-theme .mat-list-single-selected-option:focus,.dark-theme .mat-list-single-selected-option:hover{background:hsla(0,0%,100%,.12)}.dark-theme .mat-menu-panel{background:#263238}.dark-theme .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.dark-theme .mat-menu-item{background:transparent;color:#fff}.dark-theme .mat-menu-item[disabled],.dark-theme .mat-menu-item[disabled] .mat-icon-no-color,.dark-theme .mat-menu-item[disabled] .mat-menu-submenu-icon{color:hsla(0,0%,100%,.5)}.dark-theme .mat-menu-item .mat-icon-no-color,.dark-theme .mat-menu-submenu-icon{color:#fff}.dark-theme .mat-menu-item-highlighted:not([disabled]),.dark-theme .mat-menu-item.cdk-keyboard-focused:not([disabled]),.dark-theme .mat-menu-item.cdk-program-focused:not([disabled]),.dark-theme .mat-menu-item:hover:not([disabled]){background:hsla(0,0%,100%,.04)}.dark-theme .mat-paginator{background:#263238}.dark-theme .mat-paginator,.dark-theme .mat-paginator-page-size .mat-select-trigger{color:hsla(0,0%,100%,.7)}.dark-theme .mat-paginator-decrement,.dark-theme .mat-paginator-increment{border-top:2px solid #fff;border-right:2px solid #fff}.dark-theme .mat-paginator-first,.dark-theme .mat-paginator-last{border-top:2px solid #fff}.dark-theme .mat-icon-button[disabled] .mat-paginator-decrement,.dark-theme .mat-icon-button[disabled] .mat-paginator-first,.dark-theme .mat-icon-button[disabled] .mat-paginator-increment,.dark-theme .mat-icon-button[disabled] .mat-paginator-last{border-color:hsla(0,0%,100%,.5)}.dark-theme .mat-progress-bar-background{fill:#1d4b54}.dark-theme .mat-progress-bar-buffer{background-color:#1d4b54}.dark-theme .mat-progress-bar-fill:after{background-color:#0097a7}.dark-theme .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#49555b}.dark-theme .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#49555b}.dark-theme .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#b0bec5}.dark-theme .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#5a3638}.dark-theme .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#5a3638}.dark-theme .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.dark-theme .mat-progress-spinner circle,.dark-theme .mat-spinner circle{stroke:#0097a7}.dark-theme .mat-progress-spinner.mat-accent circle,.dark-theme .mat-spinner.mat-accent circle{stroke:#b0bec5}.dark-theme .mat-progress-spinner.mat-warn circle,.dark-theme .mat-spinner.mat-warn circle{stroke:#f44336}.dark-theme .mat-radio-outer-circle{border-color:hsla(0,0%,100%,.7)}.dark-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#0097a7}.dark-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.dark-theme .mat-radio-button.mat-primary .mat-radio-inner-circle,.dark-theme .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.dark-theme .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#0097a7}.dark-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#b0bec5}.dark-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.dark-theme .mat-radio-button.mat-accent .mat-radio-inner-circle,.dark-theme .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.dark-theme .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#b0bec5}.dark-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.dark-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.dark-theme .mat-radio-button.mat-warn .mat-radio-inner-circle,.dark-theme .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.dark-theme .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.dark-theme .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.dark-theme .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:hsla(0,0%,100%,.5)}.dark-theme .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.dark-theme .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:hsla(0,0%,100%,.5)}.dark-theme .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:hsla(0,0%,100%,.5)}.dark-theme .mat-radio-button .mat-ripple-element{background-color:#fff}.dark-theme .mat-select-value{color:#fff}.dark-theme .mat-select-disabled .mat-select-value,.dark-theme .mat-select-placeholder{color:hsla(0,0%,100%,.5)}.dark-theme .mat-select-arrow{color:hsla(0,0%,100%,.7)}.dark-theme .mat-select-panel{background:#263238}.dark-theme .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.dark-theme .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:hsla(0,0%,100%,.12)}.dark-theme .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#0097a7}.dark-theme .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#b0bec5}.dark-theme .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.dark-theme .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.dark-theme .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:hsla(0,0%,100%,.5)}.dark-theme .mat-drawer,.dark-theme .mat-drawer-container{background-color:#263238;color:#fff}.dark-theme .mat-drawer.mat-drawer-push{background-color:#263238}.dark-theme .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.dark-theme .mat-drawer-side{border-right:1px solid hsla(0,0%,100%,.12)}.dark-theme .mat-drawer-side.mat-drawer-end,.dark-theme [dir=rtl] .mat-drawer-side{border-left:1px solid hsla(0,0%,100%,.12);border-right:none}.dark-theme [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid hsla(0,0%,100%,.12)}.dark-theme .mat-drawer-backdrop.mat-drawer-shown{background-color:hsla(20,19%,82%,.6)}.dark-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#b0bec5}.dark-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:rgba(176,190,197,.54)}.dark-theme .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#b0bec5}.dark-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#0097a7}.dark-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:rgba(0,151,167,.54)}.dark-theme .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#0097a7}.dark-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.dark-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:rgba(244,67,54,.54)}.dark-theme .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.dark-theme .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#fff}.dark-theme .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#bdbdbd}.dark-theme .mat-slide-toggle-bar{background-color:hsla(0,0%,100%,.5)}.dark-theme .mat-slider-track-background{background-color:hsla(0,0%,100%,.3)}.dark-theme .mat-primary .mat-slider-thumb,.dark-theme .mat-primary .mat-slider-thumb-label,.dark-theme .mat-primary .mat-slider-track-fill{background-color:#0097a7}.dark-theme .mat-primary .mat-slider-thumb-label-text{color:#fff}.dark-theme .mat-primary .mat-slider-focus-ring{background-color:rgba(0,151,167,.2)}.dark-theme .mat-accent .mat-slider-thumb,.dark-theme .mat-accent .mat-slider-thumb-label,.dark-theme .mat-accent .mat-slider-track-fill{background-color:#b0bec5}.dark-theme .mat-accent .mat-slider-thumb-label-text{color:rgba(0,0,0,.87)}.dark-theme .mat-accent .mat-slider-focus-ring{background-color:rgba(176,190,197,.2)}.dark-theme .mat-warn .mat-slider-thumb,.dark-theme .mat-warn .mat-slider-thumb-label,.dark-theme .mat-warn .mat-slider-track-fill{background-color:#f44336}.dark-theme .mat-warn .mat-slider-thumb-label-text{color:#fff}.dark-theme .mat-warn .mat-slider-focus-ring{background-color:rgba(244,67,54,.2)}.dark-theme .mat-slider-disabled .mat-slider-thumb,.dark-theme .mat-slider-disabled .mat-slider-track-background,.dark-theme .mat-slider-disabled .mat-slider-track-fill,.dark-theme .mat-slider-disabled:hover .mat-slider-track-background,.dark-theme .mat-slider.cdk-focused .mat-slider-track-background,.dark-theme .mat-slider:hover .mat-slider-track-background{background-color:hsla(0,0%,100%,.3)}.dark-theme .mat-slider-min-value .mat-slider-focus-ring{background-color:hsla(0,0%,100%,.12)}.dark-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.dark-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:#fff}.dark-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.dark-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:hsla(0,0%,100%,.3)}.dark-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:hsla(0,0%,100%,.3);background-color:transparent}.dark-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.dark-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.dark-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb,.dark-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:hsla(0,0%,100%,.3)}.dark-theme .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:hsla(0,0%,100%,.7)}.dark-theme .mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(90deg,hsla(0,0%,100%,.7),hsla(0,0%,100%,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,hsla(0,0%,100%,.7),hsla(0,0%,100%,.7) 2px,transparent 0,transparent)}.dark-theme .mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(180deg,hsla(0,0%,100%,.7),hsla(0,0%,100%,.7) 2px,transparent 0,transparent)}.dark-theme .mat-step-header.cdk-keyboard-focused,.dark-theme .mat-step-header.cdk-program-focused,.dark-theme .mat-step-header:hover:not([aria-disabled]),.dark-theme .mat-step-header:hover[aria-disabled=false]{background-color:hsla(0,0%,100%,.04)}.dark-theme .mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.dark-theme .mat-step-header:hover{background:none}}.dark-theme .mat-step-header .mat-step-label,.dark-theme .mat-step-header .mat-step-optional{color:hsla(0,0%,100%,.7)}.dark-theme .mat-step-header .mat-step-icon{background-color:hsla(0,0%,100%,.7);color:#fff}.dark-theme .mat-step-header .mat-step-icon-selected,.dark-theme .mat-step-header .mat-step-icon-state-done,.dark-theme .mat-step-header .mat-step-icon-state-edit{background-color:#0097a7;color:#fff}.dark-theme .mat-step-header.mat-accent .mat-step-icon{color:rgba(0,0,0,.87)}.dark-theme .mat-step-header.mat-accent .mat-step-icon-selected,.dark-theme .mat-step-header.mat-accent .mat-step-icon-state-done,.dark-theme .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#b0bec5;color:rgba(0,0,0,.87)}.dark-theme .mat-step-header.mat-warn .mat-step-icon{color:#fff}.dark-theme .mat-step-header.mat-warn .mat-step-icon-selected,.dark-theme .mat-step-header.mat-warn .mat-step-icon-state-done,.dark-theme .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.dark-theme .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.dark-theme .mat-step-header .mat-step-label.mat-step-label-active{color:#fff}.dark-theme .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.dark-theme .mat-stepper-horizontal,.dark-theme .mat-stepper-vertical{background-color:#263238}.dark-theme .mat-stepper-vertical-line:before{border-left-color:hsla(0,0%,100%,.12)}.dark-theme .mat-horizontal-stepper-header:after,.dark-theme .mat-horizontal-stepper-header:before,.dark-theme .mat-stepper-horizontal-line{border-top-color:hsla(0,0%,100%,.12)}.dark-theme .mat-tab-header,.dark-theme .mat-tab-nav-bar{border-bottom:1px solid hsla(0,0%,100%,.12)}.dark-theme .mat-tab-group-inverted-header .mat-tab-header,.dark-theme .mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid hsla(0,0%,100%,.12);border-bottom:none}.dark-theme .mat-tab-label,.dark-theme .mat-tab-link{color:#fff}.dark-theme .mat-tab-label.mat-tab-disabled,.dark-theme .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.5)}.dark-theme .mat-tab-header-pagination-chevron{border-color:#fff}.dark-theme .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.5)}.dark-theme .mat-tab-group[class*=mat-background-]>.mat-tab-header,.dark-theme .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.dark-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(0,188,212,.3)}.dark-theme .mat-tab-group.mat-primary .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#0097a7}.dark-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.dark-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.dark-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(207,216,220,.3)}.dark-theme .mat-tab-group.mat-accent .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#b0bec5}.dark-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.dark-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:rgba(0,0,0,.87)}.dark-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.dark-theme .mat-tab-group.mat-warn .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.dark-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.dark-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.dark-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(0,188,212,.3)}.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container{background-color:#0097a7}.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#fff}.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.dark-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(207,216,220,.3)}.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container{background-color:#b0bec5}.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:rgba(0,0,0,.87)}.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.4)}.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before{border-color:rgba(0,0,0,.87)}.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.4)}.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element{background-color:rgba(0,0,0,.12)}.dark-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container{background-color:#f44336}.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.dark-theme .mat-toolbar{background:#212121;color:#fff}.dark-theme .mat-toolbar.mat-primary{background:#263238;color:#fff}.dark-theme .mat-toolbar.mat-accent{background:#0097a7;color:#fff}.dark-theme .mat-toolbar.mat-warn{background:#f44336;color:#fff}.dark-theme .mat-toolbar .mat-focused .mat-form-field-ripple,.dark-theme .mat-toolbar .mat-form-field-ripple,.dark-theme .mat-toolbar .mat-form-field-underline{background-color:currentColor}.dark-theme .mat-toolbar .mat-focused .mat-form-field-label,.dark-theme .mat-toolbar .mat-form-field-label,.dark-theme .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.dark-theme .mat-toolbar .mat-select-arrow,.dark-theme .mat-toolbar .mat-select-value{color:inherit}.dark-theme .mat-toolbar .mat-input-element{caret-color:currentColor}.dark-theme .mat-snack-bar-container{color:rgba(0,0,0,.87);background:#fafafa;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.dark-theme .mat-simple-snackbar-action{color:inherit}.light-theme .mat-ripple-element{background-color:rgba(0,0,0,.1)}.light-theme .mat-option{color:rgba(0,0,0,.87)}.light-theme .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled),.light-theme .mat-option:focus:not(.mat-option-disabled),.light-theme .mat-option:hover:not(.mat-option-disabled){background:hsla(0,0%,100%,.04)}.light-theme .mat-option.mat-active{background:hsla(0,0%,100%,.04);color:rgba(0,0,0,.87)}.light-theme .mat-option.mat-option-disabled{color:rgba(0,0,0,.38)}.light-theme .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#0097a7}.light-theme .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#b0bec5}.light-theme .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.light-theme .mat-optgroup-label{color:rgba(0,0,0,.54)}.light-theme .mat-optgroup-disabled .mat-optgroup-label{color:rgba(0,0,0,.38)}.light-theme .mat-pseudo-checkbox{color:rgba(0,0,0,.54)}.light-theme .mat-pseudo-checkbox:after{color:#fff}.light-theme .mat-pseudo-checkbox-disabled{color:#b0b0b0}.light-theme .mat-primary .mat-pseudo-checkbox-checked,.light-theme .mat-primary .mat-pseudo-checkbox-indeterminate{background:#0097a7}.light-theme .mat-accent .mat-pseudo-checkbox-checked,.light-theme .mat-accent .mat-pseudo-checkbox-indeterminate,.light-theme .mat-pseudo-checkbox-checked,.light-theme .mat-pseudo-checkbox-indeterminate{background:#b0bec5}.light-theme .mat-warn .mat-pseudo-checkbox-checked,.light-theme .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.light-theme .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.light-theme .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.light-theme.mat-app-background,.light-theme .mat-app-background{background-color:#fff;color:rgba(0,0,0,.87)}.light-theme .mat-elevation-z0{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.light-theme .mat-elevation-z1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.light-theme .mat-elevation-z2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.light-theme .mat-elevation-z3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.light-theme .mat-elevation-z4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.light-theme .mat-elevation-z5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.light-theme .mat-elevation-z6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.light-theme .mat-elevation-z7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.light-theme .mat-elevation-z8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.light-theme .mat-elevation-z9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.light-theme .mat-elevation-z10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.light-theme .mat-elevation-z11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.light-theme .mat-elevation-z12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.light-theme .mat-elevation-z13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.light-theme .mat-elevation-z14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.light-theme .mat-elevation-z15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.light-theme .mat-elevation-z16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.light-theme .mat-elevation-z17{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.light-theme .mat-elevation-z18{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.light-theme .mat-elevation-z19{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.light-theme .mat-elevation-z20{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.light-theme .mat-elevation-z21{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.light-theme .mat-elevation-z22{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.light-theme .mat-elevation-z23{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.light-theme .mat-elevation-z24{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-theme-loaded-marker{display:none}.light-theme .mat-autocomplete-panel{background:#fff;color:rgba(0,0,0,.87)}.light-theme .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.light-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#fff}.light-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:rgba(0,0,0,.87)}.light-theme .mat-button,.light-theme .mat-icon-button,.light-theme .mat-stroked-button{color:inherit;background:transparent}.light-theme .mat-button.mat-primary,.light-theme .mat-icon-button.mat-primary,.light-theme .mat-stroked-button.mat-primary{color:#0097a7}.light-theme .mat-button.mat-accent,.light-theme .mat-icon-button.mat-accent,.light-theme .mat-stroked-button.mat-accent{color:#b0bec5}.light-theme .mat-button.mat-warn,.light-theme .mat-icon-button.mat-warn,.light-theme .mat-stroked-button.mat-warn{color:#f44336}.light-theme .mat-button.mat-accent.mat-button-disabled,.light-theme .mat-button.mat-button-disabled.mat-button-disabled,.light-theme .mat-button.mat-primary.mat-button-disabled,.light-theme .mat-button.mat-warn.mat-button-disabled,.light-theme .mat-icon-button.mat-accent.mat-button-disabled,.light-theme .mat-icon-button.mat-button-disabled.mat-button-disabled,.light-theme .mat-icon-button.mat-primary.mat-button-disabled,.light-theme .mat-icon-button.mat-warn.mat-button-disabled,.light-theme .mat-stroked-button.mat-accent.mat-button-disabled,.light-theme .mat-stroked-button.mat-button-disabled.mat-button-disabled,.light-theme .mat-stroked-button.mat-primary.mat-button-disabled,.light-theme .mat-stroked-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.light-theme .mat-button.mat-primary .mat-button-focus-overlay,.light-theme .mat-icon-button.mat-primary .mat-button-focus-overlay,.light-theme .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#0097a7}.light-theme .mat-button.mat-accent .mat-button-focus-overlay,.light-theme .mat-icon-button.mat-accent .mat-button-focus-overlay,.light-theme .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#b0bec5}.light-theme .mat-button.mat-warn .mat-button-focus-overlay,.light-theme .mat-icon-button.mat-warn .mat-button-focus-overlay,.light-theme .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.light-theme .mat-button.mat-button-disabled .mat-button-focus-overlay,.light-theme .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.light-theme .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.light-theme .mat-button .mat-ripple-element,.light-theme .mat-icon-button .mat-ripple-element,.light-theme .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.light-theme .mat-button-focus-overlay{background:#000}.light-theme .mat-stroked-button:not(.mat-button-disabled){border-color:rgba(0,0,0,.12)}.light-theme .mat-fab,.light-theme .mat-flat-button,.light-theme .mat-mini-fab,.light-theme .mat-raised-button{color:rgba(0,0,0,.87);background-color:#fff}.light-theme .mat-fab.mat-primary,.light-theme .mat-flat-button.mat-primary,.light-theme .mat-mini-fab.mat-primary,.light-theme .mat-raised-button.mat-primary{color:#fff}.light-theme .mat-fab.mat-accent,.light-theme .mat-flat-button.mat-accent,.light-theme .mat-mini-fab.mat-accent,.light-theme .mat-raised-button.mat-accent{color:rgba(0,0,0,.87)}.light-theme .mat-fab.mat-warn,.light-theme .mat-flat-button.mat-warn,.light-theme .mat-mini-fab.mat-warn,.light-theme .mat-raised-button.mat-warn{color:#fff}.light-theme .mat-fab.mat-accent.mat-button-disabled,.light-theme .mat-fab.mat-button-disabled.mat-button-disabled,.light-theme .mat-fab.mat-primary.mat-button-disabled,.light-theme .mat-fab.mat-warn.mat-button-disabled,.light-theme .mat-flat-button.mat-accent.mat-button-disabled,.light-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.light-theme .mat-flat-button.mat-primary.mat-button-disabled,.light-theme .mat-flat-button.mat-warn.mat-button-disabled,.light-theme .mat-mini-fab.mat-accent.mat-button-disabled,.light-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.light-theme .mat-mini-fab.mat-primary.mat-button-disabled,.light-theme .mat-mini-fab.mat-warn.mat-button-disabled,.light-theme .mat-raised-button.mat-accent.mat-button-disabled,.light-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.light-theme .mat-raised-button.mat-primary.mat-button-disabled,.light-theme .mat-raised-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.light-theme .mat-fab.mat-primary,.light-theme .mat-flat-button.mat-primary,.light-theme .mat-mini-fab.mat-primary,.light-theme .mat-raised-button.mat-primary{background-color:#0097a7}.light-theme .mat-fab.mat-accent,.light-theme .mat-flat-button.mat-accent,.light-theme .mat-mini-fab.mat-accent,.light-theme .mat-raised-button.mat-accent{background-color:#b0bec5}.light-theme .mat-fab.mat-warn,.light-theme .mat-flat-button.mat-warn,.light-theme .mat-mini-fab.mat-warn,.light-theme .mat-raised-button.mat-warn{background-color:#f44336}.light-theme .mat-fab.mat-accent.mat-button-disabled,.light-theme .mat-fab.mat-button-disabled.mat-button-disabled,.light-theme .mat-fab.mat-primary.mat-button-disabled,.light-theme .mat-fab.mat-warn.mat-button-disabled,.light-theme .mat-flat-button.mat-accent.mat-button-disabled,.light-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.light-theme .mat-flat-button.mat-primary.mat-button-disabled,.light-theme .mat-flat-button.mat-warn.mat-button-disabled,.light-theme .mat-mini-fab.mat-accent.mat-button-disabled,.light-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.light-theme .mat-mini-fab.mat-primary.mat-button-disabled,.light-theme .mat-mini-fab.mat-warn.mat-button-disabled,.light-theme .mat-raised-button.mat-accent.mat-button-disabled,.light-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.light-theme .mat-raised-button.mat-primary.mat-button-disabled,.light-theme .mat-raised-button.mat-warn.mat-button-disabled{background-color:hsla(0,0%,100%,.12)}.light-theme .mat-fab.mat-primary .mat-ripple-element,.light-theme .mat-flat-button.mat-primary .mat-ripple-element,.light-theme .mat-mini-fab.mat-primary .mat-ripple-element,.light-theme .mat-raised-button.mat-primary .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.light-theme .mat-fab.mat-accent .mat-ripple-element,.light-theme .mat-flat-button.mat-accent .mat-ripple-element,.light-theme .mat-mini-fab.mat-accent .mat-ripple-element,.light-theme .mat-raised-button.mat-accent .mat-ripple-element{background-color:rgba(0,0,0,.1)}.light-theme .mat-fab.mat-warn .mat-ripple-element,.light-theme .mat-flat-button.mat-warn .mat-ripple-element,.light-theme .mat-mini-fab.mat-warn .mat-ripple-element,.light-theme .mat-raised-button.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.light-theme .mat-flat-button:not([class*=mat-elevation-z]),.light-theme .mat-stroked-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.light-theme .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.light-theme .mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.light-theme .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.light-theme .mat-fab:not([class*=mat-elevation-z]),.light-theme .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.light-theme .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.light-theme .mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.light-theme .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.light-theme .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.light-theme .mat-button-toggle-group,.light-theme .mat-button-toggle-standalone{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.light-theme .mat-button-toggle-group-appearance-standard,.light-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{box-shadow:none}.light-theme .mat-button-toggle{color:rgba(0,0,0,.38)}.light-theme .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:hsla(0,0%,100%,.06)}.light-theme .mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87);background:#fff}.light-theme .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#fff}.light-theme .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:1px solid rgba(0,0,0,.12)}.light-theme [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.light-theme .mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:1px solid rgba(0,0,0,.12)}.light-theme .mat-button-toggle-checked{background-color:#0d47a1;color:rgba(0,0,0,.54)}.light-theme .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87)}.light-theme .mat-button-toggle-disabled{color:rgba(0,0,0,.26);background-color:#000}.light-theme .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#fff}.light-theme .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#1565c0}.light-theme .mat-button-toggle-group-appearance-standard,.light-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{border:1px solid rgba(0,0,0,.12)}.light-theme .mat-card{background:#fff;color:rgba(0,0,0,.87)}.light-theme .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.light-theme .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.light-theme .mat-card-subtitle{color:rgba(0,0,0,.54)}.light-theme .mat-checkbox-frame{border-color:rgba(0,0,0,.54)}.light-theme .mat-checkbox-checkmark{fill:#fff}.light-theme .mat-checkbox-checkmark-path{stroke:#fff!important}.light-theme .mat-checkbox-mixedmark{background-color:#fff}.light-theme .mat-checkbox-checked.mat-primary .mat-checkbox-background,.light-theme .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background{background-color:#0097a7}.light-theme .mat-checkbox-checked.mat-accent .mat-checkbox-background,.light-theme .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background{background-color:#b0bec5}.light-theme .mat-checkbox-checked.mat-warn .mat-checkbox-background,.light-theme .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background{background-color:#f44336}.light-theme .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.light-theme .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.light-theme .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.light-theme .mat-checkbox-disabled .mat-checkbox-label{color:rgba(0,0,0,.54)}.light-theme .mat-checkbox .mat-ripple-element{background-color:#000}.light-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.light-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#0097a7}.light-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.light-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#b0bec5}.light-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.light-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.light-theme .mat-chip.mat-standard-chip{background-color:#1976d2;color:rgba(0,0,0,.87)}.light-theme .mat-chip.mat-standard-chip .mat-chip-remove{color:rgba(0,0,0,.87);opacity:.4}.light-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.light-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.light-theme .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.light-theme .mat-chip.mat-standard-chip:after{background:#000}.light-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#0097a7;color:#fff}.light-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.light-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.light-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.light-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.light-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.light-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#b0bec5;color:rgba(0,0,0,.87)}.light-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:rgba(0,0,0,.87);opacity:.4}.light-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:rgba(0,0,0,.1)}.light-theme .mat-table{background:#fff}.light-theme .mat-table-sticky,.light-theme .mat-table tbody,.light-theme .mat-table tfoot,.light-theme .mat-table thead,.light-theme [mat-footer-row],.light-theme [mat-header-row],.light-theme [mat-row],.light-theme mat-footer-row,.light-theme mat-header-row,.light-theme mat-row{background:inherit}.light-theme mat-footer-row,.light-theme mat-header-row,.light-theme mat-row,.light-theme td.mat-cell,.light-theme td.mat-footer-cell,.light-theme th.mat-header-cell{border-bottom-color:rgba(0,0,0,.12)}.light-theme .mat-header-cell{color:rgba(0,0,0,.54)}.light-theme .mat-cell,.light-theme .mat-footer-cell{color:rgba(0,0,0,.87)}.light-theme .mat-calendar-arrow{fill:rgba(0,0,0,.54)}.light-theme .mat-datepicker-content .mat-calendar-next-button,.light-theme .mat-datepicker-content .mat-calendar-previous-button,.light-theme .mat-datepicker-toggle{color:rgba(0,0,0,.54)}.light-theme .mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.light-theme .mat-calendar-body-label,.light-theme .mat-calendar-table-header{color:rgba(0,0,0,.54)}.light-theme .mat-calendar-body-cell-content,.light-theme .mat-date-range-input-separator{color:rgba(0,0,0,.87);border-color:transparent}.light-theme .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.light-theme .mat-form-field-disabled .mat-date-range-input-separator{color:rgba(0,0,0,.38)}.light-theme .mat-calendar-body-in-preview{color:rgba(0,0,0,.24)}.light-theme .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.38)}.light-theme .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.18)}.light-theme .mat-calendar-body-in-range:before{background:rgba(0,151,167,.2)}.light-theme .mat-calendar-body-comparison-identical,.light-theme .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.light-theme .mat-calendar-body-comparison-bridge-start:before,.light-theme [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(0,151,167,.2) 50%,rgba(249,171,0,.2) 0)}.light-theme .mat-calendar-body-comparison-bridge-end:before,.light-theme [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(0,151,167,.2) 50%,rgba(249,171,0,.2) 0)}.light-theme .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.light-theme .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.light-theme .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.light-theme .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.light-theme .mat-calendar-body-selected{background-color:#0097a7;color:#fff}.light-theme .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(0,151,167,.4)}.light-theme .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.light-theme .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.light-theme .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.light-theme .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(0,151,167,.3)}.light-theme .mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#fff;color:rgba(0,0,0,.87)}.light-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(176,190,197,.2)}.light-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.light-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.light-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.light-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(176,190,197,.2) 50%,rgba(249,171,0,.2) 0)}.light-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.light-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(176,190,197,.2) 50%,rgba(249,171,0,.2) 0)}.light-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.light-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.light-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.light-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.light-theme .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#b0bec5;color:rgba(0,0,0,.87)}.light-theme .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(176,190,197,.4)}.light-theme .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px rgba(0,0,0,.87)}.light-theme .mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.light-theme .mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.light-theme .mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(176,190,197,.3)}.light-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.light-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.light-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.light-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.light-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.light-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.light-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.light-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.light-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.light-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.light-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.light-theme .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.light-theme .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(244,67,54,.4)}.light-theme .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.light-theme .mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.light-theme .mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.light-theme .mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(244,67,54,.3)}.light-theme .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.light-theme .mat-datepicker-toggle-active{color:#0097a7}.light-theme .mat-datepicker-toggle-active.mat-accent{color:#b0bec5}.light-theme .mat-datepicker-toggle-active.mat-warn{color:#f44336}.light-theme .mat-date-range-input-inner[disabled]{color:rgba(0,0,0,.38)}.light-theme .mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.light-theme .mat-dialog-container,.light-theme .mat-expansion-panel{background:#fff;color:rgba(0,0,0,.87)}.light-theme .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.light-theme .mat-action-row{border-top-color:rgba(0,0,0,.12)}.light-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.light-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.light-theme .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:hsla(0,0%,100%,.04)}@media (hover: none){.light-theme .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.light-theme .mat-expansion-panel-header-title{color:rgba(0,0,0,.87)}.light-theme .mat-expansion-indicator:after,.light-theme .mat-expansion-panel-header-description{color:rgba(0,0,0,.54)}.light-theme .mat-expansion-panel-header[aria-disabled=true]{color:rgba(0,0,0,.26)}.light-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.light-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.light-theme .mat-form-field-label,.light-theme .mat-hint{color:rgba(0,0,0,.6)}.light-theme .mat-form-field.mat-focused .mat-form-field-label{color:#0097a7}.light-theme .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#b0bec5}.light-theme .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.light-theme .mat-focused .mat-form-field-required-marker{color:#b0bec5}.light-theme .mat-form-field-ripple{background-color:rgba(0,0,0,.87)}.light-theme .mat-form-field.mat-focused .mat-form-field-ripple{background-color:#0097a7}.light-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#b0bec5}.light-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.light-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#0097a7}.light-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#b0bec5}.light-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after,.light-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label,.light-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.light-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.light-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.light-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.light-theme .mat-error{color:#f44336}.light-theme .mat-form-field-appearance-legacy .mat-form-field-label,.light-theme .mat-form-field-appearance-legacy .mat-hint{color:rgba(0,0,0,.54)}.light-theme .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.light-theme .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.light-theme .mat-form-field-appearance-standard .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.light-theme .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.light-theme .mat-form-field-appearance-fill .mat-form-field-flex{background-color:rgba(0,0,0,.04)}.light-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:rgba(0,0,0,.02)}.light-theme .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:rgba(0,0,0,.42)}.light-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.light-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.light-theme .mat-form-field-appearance-outline .mat-form-field-outline{color:rgba(0,0,0,.12)}.light-theme .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:rgba(0,0,0,.87)}.light-theme .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#0097a7}.light-theme .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#b0bec5}.light-theme .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.light-theme .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.light-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.light-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:rgba(0,0,0,.06)}.light-theme .mat-icon.mat-primary{color:#0097a7}.light-theme .mat-icon.mat-accent{color:#b0bec5}.light-theme .mat-icon.mat-warn{color:#f44336}.light-theme .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:rgba(0,0,0,.54)}.light-theme .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after,.light-theme .mat-input-element:disabled{color:rgba(0,0,0,.38)}.light-theme .mat-input-element{caret-color:#0097a7}.light-theme .mat-input-element::placeholder{color:rgba(0,0,0,.42)}.light-theme .mat-input-element::-moz-placeholder{color:rgba(0,0,0,.42)}.light-theme .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,.42)}.light-theme .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,.42)}.light-theme .mat-form-field.mat-accent .mat-input-element{caret-color:#b0bec5}.light-theme .mat-form-field-invalid .mat-input-element,.light-theme .mat-form-field.mat-warn .mat-input-element{caret-color:#f44336}.light-theme .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.light-theme .mat-list-base .mat-list-item,.light-theme .mat-list-base .mat-list-option{color:rgba(0,0,0,.87)}.light-theme .mat-list-base .mat-subheader{color:rgba(0,0,0,.54)}.light-theme .mat-list-item-disabled{background-color:#000}.light-theme .mat-action-list .mat-list-item:focus,.light-theme .mat-action-list .mat-list-item:hover,.light-theme .mat-list-option:focus,.light-theme .mat-list-option:hover,.light-theme .mat-nav-list .mat-list-item:focus,.light-theme .mat-nav-list .mat-list-item:hover{background:hsla(0,0%,100%,.04)}.light-theme .mat-list-single-selected-option,.light-theme .mat-list-single-selected-option:focus,.light-theme .mat-list-single-selected-option:hover{background:hsla(0,0%,100%,.12)}.light-theme .mat-menu-panel{background:#fff}.light-theme .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.light-theme .mat-menu-item{background:transparent;color:rgba(0,0,0,.87)}.light-theme .mat-menu-item[disabled],.light-theme .mat-menu-item[disabled] .mat-icon-no-color,.light-theme .mat-menu-item[disabled] .mat-menu-submenu-icon{color:rgba(0,0,0,.38)}.light-theme .mat-menu-item .mat-icon-no-color,.light-theme .mat-menu-submenu-icon{color:rgba(0,0,0,.54)}.light-theme .mat-menu-item-highlighted:not([disabled]),.light-theme .mat-menu-item.cdk-keyboard-focused:not([disabled]),.light-theme .mat-menu-item.cdk-program-focused:not([disabled]),.light-theme .mat-menu-item:hover:not([disabled]){background:hsla(0,0%,100%,.04)}.light-theme .mat-paginator{background:#fff}.light-theme .mat-paginator,.light-theme .mat-paginator-page-size .mat-select-trigger{color:rgba(0,0,0,.54)}.light-theme .mat-paginator-decrement,.light-theme .mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.light-theme .mat-paginator-first,.light-theme .mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.light-theme .mat-icon-button[disabled] .mat-paginator-decrement,.light-theme .mat-icon-button[disabled] .mat-paginator-first,.light-theme .mat-icon-button[disabled] .mat-paginator-increment,.light-theme .mat-icon-button[disabled] .mat-paginator-last{border-color:rgba(0,0,0,.38)}.light-theme .mat-progress-bar-background{fill:#bfe5e9}.light-theme .mat-progress-bar-buffer{background-color:#bfe5e9}.light-theme .mat-progress-bar-fill:after{background-color:#0097a7}.light-theme .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#ebeff1}.light-theme .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#ebeff1}.light-theme .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#b0bec5}.light-theme .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#fcd0cd}.light-theme .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#fcd0cd}.light-theme .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.light-theme .mat-progress-spinner circle,.light-theme .mat-spinner circle{stroke:#0097a7}.light-theme .mat-progress-spinner.mat-accent circle,.light-theme .mat-spinner.mat-accent circle{stroke:#b0bec5}.light-theme .mat-progress-spinner.mat-warn circle,.light-theme .mat-spinner.mat-warn circle{stroke:#f44336}.light-theme .mat-radio-outer-circle{border-color:rgba(0,0,0,.54)}.light-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#0097a7}.light-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.light-theme .mat-radio-button.mat-primary .mat-radio-inner-circle,.light-theme .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.light-theme .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#0097a7}.light-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#b0bec5}.light-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.light-theme .mat-radio-button.mat-accent .mat-radio-inner-circle,.light-theme .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.light-theme .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#b0bec5}.light-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.light-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.light-theme .mat-radio-button.mat-warn .mat-radio-inner-circle,.light-theme .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.light-theme .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.light-theme .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.light-theme .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:rgba(0,0,0,.38)}.light-theme .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.light-theme .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:rgba(0,0,0,.38)}.light-theme .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:rgba(0,0,0,.38)}.light-theme .mat-radio-button .mat-ripple-element{background-color:#000}.light-theme .mat-select-value{color:rgba(0,0,0,.87)}.light-theme .mat-select-placeholder{color:rgba(0,0,0,.42)}.light-theme .mat-select-disabled .mat-select-value{color:rgba(0,0,0,.38)}.light-theme .mat-select-arrow{color:rgba(0,0,0,.54)}.light-theme .mat-select-panel{background:#fff}.light-theme .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.light-theme .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:hsla(0,0%,100%,.12)}.light-theme .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#0097a7}.light-theme .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#b0bec5}.light-theme .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.light-theme .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.light-theme .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:rgba(0,0,0,.38)}.light-theme .mat-drawer,.light-theme .mat-drawer-container{background-color:#fff;color:rgba(0,0,0,.87)}.light-theme .mat-drawer.mat-drawer-push{background-color:#fff}.light-theme .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.light-theme .mat-drawer-side{border-right:1px solid rgba(0,0,0,.12)}.light-theme .mat-drawer-side.mat-drawer-end,.light-theme [dir=rtl] .mat-drawer-side{border-left:1px solid rgba(0,0,0,.12);border-right:none}.light-theme [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.light-theme .mat-drawer-backdrop.mat-drawer-shown{background-color:rgba(0,0,0,.6)}.light-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#b0bec5}.light-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:rgba(176,190,197,.54)}.light-theme .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#b0bec5}.light-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#0097a7}.light-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:rgba(0,151,167,.54)}.light-theme .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#0097a7}.light-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.light-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:rgba(244,67,54,.54)}.light-theme .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.light-theme .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.light-theme .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#fafafa}.light-theme .mat-slide-toggle-bar{background-color:rgba(0,0,0,.38)}.light-theme .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.light-theme .mat-primary .mat-slider-thumb,.light-theme .mat-primary .mat-slider-thumb-label,.light-theme .mat-primary .mat-slider-track-fill{background-color:#0097a7}.light-theme .mat-primary .mat-slider-thumb-label-text{color:#fff}.light-theme .mat-primary .mat-slider-focus-ring{background-color:rgba(0,151,167,.2)}.light-theme .mat-accent .mat-slider-thumb,.light-theme .mat-accent .mat-slider-thumb-label,.light-theme .mat-accent .mat-slider-track-fill{background-color:#b0bec5}.light-theme .mat-accent .mat-slider-thumb-label-text{color:rgba(0,0,0,.87)}.light-theme .mat-accent .mat-slider-focus-ring{background-color:rgba(176,190,197,.2)}.light-theme .mat-warn .mat-slider-thumb,.light-theme .mat-warn .mat-slider-thumb-label,.light-theme .mat-warn .mat-slider-track-fill{background-color:#f44336}.light-theme .mat-warn .mat-slider-thumb-label-text{color:#fff}.light-theme .mat-warn .mat-slider-focus-ring{background-color:rgba(244,67,54,.2)}.light-theme .mat-slider.cdk-focused .mat-slider-track-background,.light-theme .mat-slider:hover .mat-slider-track-background{background-color:rgba(0,0,0,.38)}.light-theme .mat-slider-disabled .mat-slider-thumb,.light-theme .mat-slider-disabled .mat-slider-track-background,.light-theme .mat-slider-disabled .mat-slider-track-fill,.light-theme .mat-slider-disabled:hover .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.light-theme .mat-slider-min-value .mat-slider-focus-ring{background-color:rgba(0,0,0,.12)}.light-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.light-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:rgba(0,0,0,.87)}.light-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.light-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:rgba(0,0,0,.26)}.light-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:rgba(0,0,0,.26);background-color:transparent}.light-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.light-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:rgba(0,0,0,.38)}.light-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.light-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb{border-color:rgba(0,0,0,.26)}.light-theme .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:rgba(0,0,0,.7)}.light-theme .mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(90deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.light-theme .mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.light-theme .mat-step-header.cdk-keyboard-focused,.light-theme .mat-step-header.cdk-program-focused,.light-theme .mat-step-header:hover:not([aria-disabled]),.light-theme .mat-step-header:hover[aria-disabled=false]{background-color:hsla(0,0%,100%,.04)}.light-theme .mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.light-theme .mat-step-header:hover{background:none}}.light-theme .mat-step-header .mat-step-label,.light-theme .mat-step-header .mat-step-optional{color:rgba(0,0,0,.54)}.light-theme .mat-step-header .mat-step-icon{background-color:rgba(0,0,0,.54);color:#fff}.light-theme .mat-step-header .mat-step-icon-selected,.light-theme .mat-step-header .mat-step-icon-state-done,.light-theme .mat-step-header .mat-step-icon-state-edit{background-color:#0097a7;color:#fff}.light-theme .mat-step-header.mat-accent .mat-step-icon{color:rgba(0,0,0,.87)}.light-theme .mat-step-header.mat-accent .mat-step-icon-selected,.light-theme .mat-step-header.mat-accent .mat-step-icon-state-done,.light-theme .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#b0bec5;color:rgba(0,0,0,.87)}.light-theme .mat-step-header.mat-warn .mat-step-icon{color:#fff}.light-theme .mat-step-header.mat-warn .mat-step-icon-selected,.light-theme .mat-step-header.mat-warn .mat-step-icon-state-done,.light-theme .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.light-theme .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.light-theme .mat-step-header .mat-step-label.mat-step-label-active{color:rgba(0,0,0,.87)}.light-theme .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.light-theme .mat-stepper-horizontal,.light-theme .mat-stepper-vertical{background-color:#fff}.light-theme .mat-stepper-vertical-line:before{border-left-color:rgba(0,0,0,.12)}.light-theme .mat-horizontal-stepper-header:after,.light-theme .mat-horizontal-stepper-header:before,.light-theme .mat-stepper-horizontal-line{border-top-color:rgba(0,0,0,.12)}.light-theme .mat-tab-header,.light-theme .mat-tab-nav-bar{border-bottom:1px solid rgba(0,0,0,.12)}.light-theme .mat-tab-group-inverted-header .mat-tab-header,.light-theme .mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.light-theme .mat-tab-label,.light-theme .mat-tab-link{color:rgba(0,0,0,.87)}.light-theme .mat-tab-label.mat-tab-disabled,.light-theme .mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.38)}.light-theme .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.87)}.light-theme .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.38)}.light-theme .mat-tab-group[class*=mat-background-]>.mat-tab-header,.light-theme .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.light-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(0,188,212,.3)}.light-theme .mat-tab-group.mat-primary .mat-ink-bar,.light-theme .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#0097a7}.light-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.light-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.light-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.light-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.light-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(207,216,220,.3)}.light-theme .mat-tab-group.mat-accent .mat-ink-bar,.light-theme .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#b0bec5}.light-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.light-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.light-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.light-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:rgba(0,0,0,.87)}.light-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.light-theme .mat-tab-group.mat-warn .mat-ink-bar,.light-theme .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.light-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.light-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.light-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.light-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.light-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(0,188,212,.3)}.light-theme .mat-tab-group.mat-background-primary>.mat-tab-header,.light-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.light-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container{background-color:#0097a7}.light-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.light-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#fff}.light-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.light-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.light-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.light-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.light-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.light-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.light-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.light-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.light-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.light-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.light-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.light-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(207,216,220,.3)}.light-theme .mat-tab-group.mat-background-accent>.mat-tab-header,.light-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.light-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container{background-color:#b0bec5}.light-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.light-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:rgba(0,0,0,.87)}.light-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.light-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.4)}.light-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.light-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.light-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.light-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before{border-color:rgba(0,0,0,.87)}.light-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.light-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.4)}.light-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.light-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.light-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element{background-color:rgba(0,0,0,.12)}.light-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.light-theme .mat-tab-group.mat-background-warn>.mat-tab-header,.light-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.light-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container{background-color:#f44336}.light-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.light-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.light-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.light-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.light-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.light-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.light-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.light-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.light-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.light-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.light-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.light-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.light-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.light-theme .mat-toolbar{background:#f5f5f5;color:rgba(0,0,0,.87)}.light-theme .mat-toolbar.mat-primary{background:#0d47a1;color:#fff}.light-theme .mat-toolbar.mat-accent{background:#0097a7;color:#fff}.light-theme .mat-toolbar.mat-warn{background:#f44336;color:#fff}.light-theme .mat-toolbar .mat-focused .mat-form-field-ripple,.light-theme .mat-toolbar .mat-form-field-ripple,.light-theme .mat-toolbar .mat-form-field-underline{background-color:currentColor}.light-theme .mat-toolbar .mat-focused .mat-form-field-label,.light-theme .mat-toolbar .mat-form-field-label,.light-theme .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.light-theme .mat-toolbar .mat-select-arrow,.light-theme .mat-toolbar .mat-select-value{color:inherit}.light-theme .mat-toolbar .mat-input-element{caret-color:currentColor}.light-theme .mat-snack-bar-container{color:hsla(0,0%,100%,.7);background:#323232;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.light-theme .mat-simple-snackbar-action{color:#b0bec5}
\ No newline at end of file
diff --git a/gns3server/static/web-ui/styles.cf688421eca41c25.css b/gns3server/static/web-ui/styles.cf688421eca41c25.css
new file mode 100644
index 00000000..85a181bd
--- /dev/null
+++ b/gns3server/static/web-ui/styles.cf688421eca41c25.css
@@ -0,0 +1,6 @@
+@charset "UTF-8";/*!
+ * Bootstrap v5.1.3 (https://getbootstrap.com/)
+ * Copyright 2011-2021 The Bootstrap Authors
+ * Copyright 2011-2021 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
+ */:root{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13,110,253;--bs-secondary-rgb:108,117,125;--bs-success-rgb:25,135,84;--bs-info-rgb:13,202,240;--bs-warning-rgb:255,193,7;--bs-danger-rgb:220,53,69;--bs-light-rgb:248,249,250;--bs-dark-rgb:33,37,41;--bs-white-rgb:255,255,255;--bs-black-rgb:0,0,0;--bs-body-color-rgb:33,37,41;--bs-body-bg-rgb:255,255,255;--bs-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-bg:#fff}*,:after,:before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}hr{margin:1rem 0;color:inherit;background-color:currentColor;border:0;opacity:.25}hr:not([size]){height:1px}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2}.h1,h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){.h1,h1{font-size:2.5rem}}.h2,h2{font-size:calc(1.325rem + 0.9vw)}@media (min-width:1200px){.h2,h2{font-size:2rem}}.h3,h3{font-size:calc(1.3rem + 0.6vw)}@media (min-width:1200px){.h3,h3{font-size:1.75rem}}.h4,h4{font-size:calc(1.275rem + 0.3vw)}@media (min-width:1200px){.h4,h4{font-size:1.5rem}}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[data-bs-original-title],abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}.small,small{font-size:.875em}.mark,mark{padding:.2em;background-color:#fcf8e3}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#0d6efd;text-decoration:underline}a:hover{color:#0a58ca}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:var(--bs-font-monospace);font-size:1em;direction:ltr;unicode-bidi:bidi-override}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:#d63384;word-wrap:break-word}a>code{color:inherit}kbd{padding:.2rem .4rem;font-size:.875em;color:#fff;background-color:#212529;border-radius:.2rem}kbd kbd{padding:0;font-size:1em;font-weight:700}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:#6c757d;text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}tbody,td,tfoot,th,thead,tr{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]::-webkit-calendar-picker-indicator{display:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + 0.3vw);line-height:inherit}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::-webkit-file-upload-button{font:inherit}::file-selector-button{font:inherit}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-6{font-size:2.5rem}}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer:before{content:"\2014\a0"}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#fff;border:1px solid #dee2e6;border-radius:.25rem;max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:#6c757d}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{width:100%;padding-right:var(--bs-gutter-x,.75rem);padding-left:var(--bs-gutter-x,.75rem);margin-right:auto;margin-left:auto}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}@media (min-width:1400px){.container,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{max-width:1320px}}.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.6666666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x:0}.g-0,.gy-0{--bs-gutter-y:0}.g-1,.gx-1{--bs-gutter-x:.25rem}.g-1,.gy-1{--bs-gutter-y:.25rem}.g-2,.gx-2{--bs-gutter-x:.5rem}.g-2,.gy-2{--bs-gutter-y:.5rem}.g-3,.gx-3{--bs-gutter-x:1rem}.g-3,.gy-3{--bs-gutter-y:1rem}.g-4,.gx-4{--bs-gutter-x:1.5rem}.g-4,.gy-4{--bs-gutter-y:1.5rem}.g-5,.gx-5{--bs-gutter-x:3rem}.g-5,.gy-5{--bs-gutter-y:3rem}@media (min-width:576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.6666666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x:0}.g-sm-0,.gy-sm-0{--bs-gutter-y:0}.g-sm-1,.gx-sm-1{--bs-gutter-x:.25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y:.25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x:.5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y:.5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x:1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y:1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x:1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y:1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x:3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y:3rem}}@media (min-width:768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.6666666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x:0}.g-md-0,.gy-md-0{--bs-gutter-y:0}.g-md-1,.gx-md-1{--bs-gutter-x:.25rem}.g-md-1,.gy-md-1{--bs-gutter-y:.25rem}.g-md-2,.gx-md-2{--bs-gutter-x:.5rem}.g-md-2,.gy-md-2{--bs-gutter-y:.5rem}.g-md-3,.gx-md-3{--bs-gutter-x:1rem}.g-md-3,.gy-md-3{--bs-gutter-y:1rem}.g-md-4,.gx-md-4{--bs-gutter-x:1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y:1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x:3rem}.g-md-5,.gy-md-5{--bs-gutter-y:3rem}}@media (min-width:992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.6666666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x:0}.g-lg-0,.gy-lg-0{--bs-gutter-y:0}.g-lg-1,.gx-lg-1{--bs-gutter-x:.25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y:.25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x:.5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y:.5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x:1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y:1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x:1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y:1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x:3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y:3rem}}@media (min-width:1200px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x:0}.g-xl-0,.gy-xl-0{--bs-gutter-y:0}.g-xl-1,.gx-xl-1{--bs-gutter-x:.25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y:.25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x:.5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y:.5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x:1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y:1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x:1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y:1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x:3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y:3rem}}@media (min-width:1400px){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x:0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y:0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x:.25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y:.25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x:.5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y:.5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x:1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y:1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x:1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y:1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x:3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y:3rem}}.table{--bs-table-bg:transparent;--bs-table-accent-bg:transparent;--bs-table-striped-color:#212529;--bs-table-striped-bg:rgba(0, 0, 0, .05);--bs-table-active-color:#212529;--bs-table-active-bg:rgba(0, 0, 0, .1);--bs-table-hover-color:#212529;--bs-table-hover-bg:rgba(0, 0, 0, .075);width:100%;margin-bottom:1rem;color:#212529;vertical-align:top;border-color:#dee2e6}.table>:not(caption)>*>*{padding:.5rem;background-color:var(--bs-table-bg);border-bottom-width:1px;box-shadow:inset 0 0 0 9999px var(--bs-table-accent-bg)}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table>:not(:first-child){border-top:2px solid currentColor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem}.table-bordered>:not(caption)>*{border-width:1px 0}.table-bordered>:not(caption)>*>*{border-width:0 1px}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-accent-bg:var(--bs-table-striped-bg);color:var(--bs-table-striped-color)}.table-active{--bs-table-accent-bg:var(--bs-table-active-bg);color:var(--bs-table-active-color)}.table-hover>tbody>tr:hover>*{--bs-table-accent-bg:var(--bs-table-hover-bg);color:var(--bs-table-hover-color)}.table-primary{--bs-table-bg:#cfe2ff;--bs-table-striped-bg:#c5d7f2;--bs-table-striped-color:#000;--bs-table-active-bg:#bacbe6;--bs-table-active-color:#000;--bs-table-hover-bg:#bfd1ec;--bs-table-hover-color:#000;color:#000;border-color:#bacbe6}.table-secondary{--bs-table-bg:#e2e3e5;--bs-table-striped-bg:#d7d8da;--bs-table-striped-color:#000;--bs-table-active-bg:#cbccce;--bs-table-active-color:#000;--bs-table-hover-bg:#d1d2d4;--bs-table-hover-color:#000;color:#000;border-color:#cbccce}.table-success{--bs-table-bg:#d1e7dd;--bs-table-striped-bg:#c7dbd2;--bs-table-striped-color:#000;--bs-table-active-bg:#bcd0c7;--bs-table-active-color:#000;--bs-table-hover-bg:#c1d6cc;--bs-table-hover-color:#000;color:#000;border-color:#bcd0c7}.table-info{--bs-table-bg:#cff4fc;--bs-table-striped-bg:#c5e8ef;--bs-table-striped-color:#000;--bs-table-active-bg:#badce3;--bs-table-active-color:#000;--bs-table-hover-bg:#bfe2e9;--bs-table-hover-color:#000;color:#000;border-color:#badce3}.table-warning{--bs-table-bg:#fff3cd;--bs-table-striped-bg:#f2e7c3;--bs-table-striped-color:#000;--bs-table-active-bg:#e6dbb9;--bs-table-active-color:#000;--bs-table-hover-bg:#ece1be;--bs-table-hover-color:#000;color:#000;border-color:#e6dbb9}.table-danger{--bs-table-bg:#f8d7da;--bs-table-striped-bg:#eccccf;--bs-table-striped-color:#000;--bs-table-active-bg:#dfc2c4;--bs-table-active-color:#000;--bs-table-hover-bg:#e5c7ca;--bs-table-hover-color:#000;color:#000;border-color:#dfc2c4}.table-light{--bs-table-bg:#f8f9fa;--bs-table-striped-bg:#ecedee;--bs-table-striped-color:#000;--bs-table-active-bg:#dfe0e1;--bs-table-active-color:#000;--bs-table-hover-bg:#e5e6e7;--bs-table-hover-color:#000;color:#000;border-color:#dfe0e1}.table-dark{--bs-table-bg:#212529;--bs-table-striped-bg:#2c3034;--bs-table-striped-color:#fff;--bs-table-active-bg:#373b3e;--bs-table-active-color:#fff;--bs-table-hover-bg:#323539;--bs-table-hover-color:#fff;color:#fff;border-color:#373b3e}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width:575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(0.375rem + 1px);padding-bottom:calc(0.375rem + 1px);margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(0.5rem + 1px);padding-bottom:calc(0.5rem + 1px);font-size:1.25rem}.col-form-label-sm{padding-top:calc(0.25rem + 1px);padding-bottom:calc(0.25rem + 1px);font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:#6c757d}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:#212529;background-color:#fff;border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-control::-webkit-date-and-time-value{height:1.5em}.form-control::placeholder{color:#6c757d;opacity:1}.form-control:disabled,.form-control[readonly]{background-color:#e9ecef;opacity:1}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;margin-inline-end:.75rem;color:#212529;background-color:#e9ecef;pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:1px;border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:#dde0e3}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;margin-inline-end:.75rem;color:#212529;background-color:#e9ecef;pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:1px;border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:#dde0e3}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:#212529;background-color:transparent;border:solid transparent;border-width:1px 0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + 0.5rem + 2px);padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;margin-inline-end:.5rem}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + 2px);padding:.5rem 1rem;font-size:1.25rem;border-radius:.3rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;margin-inline-end:1rem}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + 0.75rem + 2px)}textarea.form-control-sm{min-height:calc(1.5em + 0.5rem + 2px)}textarea.form-control-lg{min-height:calc(1.5em + 1rem + 2px)}.form-control-color{width:3rem;height:auto;padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{height:1.5em;border-radius:.25rem}.form-control-color::-webkit-color-swatch{height:1.5em;border-radius:.25rem}.form-select{display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;-moz-padding-start:calc(0.75rem - 3px);font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-select{transition:none}}.form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:#e9ecef}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #212529}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:.2rem}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:.3rem}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-input{width:1em;height:1em;margin-top:.25em;vertical-align:top;background-color:#fff;background-repeat:no-repeat;background-position:center;background-size:contain;border:1px solid rgba(0,0,0,.25);-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-print-color-adjust:exact;color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}.form-check-input:checked[type=checkbox]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{width:2em;margin-left:-2.5em;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:right center;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check:disabled+.btn,.btn-check[disabled]+.btn{pointer-events:none;filter:none;opacity:.65}.form-range{width:100%;height:1.5rem;padding:0;background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#0d6efd;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#b6d4fe}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#0d6efd;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}.form-range::-moz-range-thumb:active{background-color:#b6d4fe}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}.form-range:disabled::-moz-range-thumb{background-color:#adb5bd}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-select{height:calc(3.5rem + 2px);line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;height:100%;padding:1rem .75rem;pointer-events:none;border:1px solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion:reduce){.form-floating>label{transition:none}}.form-floating>.form-control{padding:1rem .75rem}.form-floating>.form-control::placeholder{color:transparent}.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-select~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control:-webkit-autofill~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translate(.15rem)}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-select{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-select:focus{z-index:3}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:3}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.25rem}.input-group-lg>.btn,.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text{padding:.5rem 1rem;font-size:1.25rem;border-radius:.3rem}.input-group-sm>.btn,.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text{padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu){border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu){border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:#198754}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:#198754e6;border-radius:.25rem}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{border-color:#198754;padding-right:calc(1.5em + 0.75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(0.375em + 0.1875rem) center;background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:#198754;box-shadow:0 0 0 .25rem #19875440}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + 0.75rem);background-position:top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem)}.form-select.is-valid,.was-validated .form-select:valid{border-color:#198754}.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"],.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"]{padding-right:4.125rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"),url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(0.75em + 0.375rem) calc(0.75em + 0.375rem)}.form-select.is-valid:focus,.was-validated .form-select:valid:focus{border-color:#198754;box-shadow:0 0 0 .25rem #19875440}.form-check-input.is-valid,.was-validated .form-check-input:valid{border-color:#198754}.form-check-input.is-valid:checked,.was-validated .form-check-input:valid:checked{background-color:#198754}.form-check-input.is-valid:focus,.was-validated .form-check-input:valid:focus{box-shadow:0 0 0 .25rem #19875440}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:#198754}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.input-group .form-control.is-valid,.input-group .form-select.is-valid,.was-validated .input-group .form-control:valid,.was-validated .input-group .form-select:valid{z-index:1}.input-group .form-control.is-valid:focus,.input-group .form-select.is-valid:focus,.was-validated .input-group .form-control:valid:focus,.was-validated .input-group .form-select:valid:focus{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:#dc3545}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:#dc3545e6;border-radius:.25rem}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:#dc3545;padding-right:calc(1.5em + 0.75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(0.375em + 0.1875rem) center;background-size:calc(0.75em + 0.375rem) calc(0.75em + 0.375rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .25rem #dc354540}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + 0.75rem);background-position:top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem)}.form-select.is-invalid,.was-validated .form-select:invalid{border-color:#dc3545}.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"],.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"]{padding-right:4.125rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"),url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(0.75em + 0.375rem) calc(0.75em + 0.375rem)}.form-select.is-invalid:focus,.was-validated .form-select:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .25rem #dc354540}.form-check-input.is-invalid,.was-validated .form-check-input:invalid{border-color:#dc3545}.form-check-input.is-invalid:checked,.was-validated .form-check-input:invalid:checked{background-color:#dc3545}.form-check-input.is-invalid:focus,.was-validated .form-check-input:invalid:focus{box-shadow:0 0 0 .25rem #dc354540}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:#dc3545}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.input-group .form-control.is-invalid,.input-group .form-select.is-invalid,.was-validated .input-group .form-control:invalid,.was-validated .input-group .form-select:invalid{z-index:2}.input-group .form-control.is-invalid:focus,.input-group .form-select.is-invalid:focus,.was-validated .input-group .form-control:invalid:focus,.was-validated .input-group .form-select:invalid:focus{z-index:3}.btn{display:inline-block;font-weight:400;line-height:1.5;color:#212529;text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;user-select:none;background-color:transparent;border:1px solid transparent;padding:.375rem .75rem;font-size:1rem;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:#212529}.btn-check:focus+.btn,.btn:focus{outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.btn.disabled,.btn:disabled,fieldset:disabled .btn{pointer-events:none;opacity:.65}.btn-primary{color:#fff;background-color:#0d6efd;border-color:#0d6efd}.btn-primary:hover{color:#fff;background-color:#0b5ed7;border-color:#0a58ca}.btn-check:focus+.btn-primary,.btn-primary:focus{color:#fff;background-color:#0b5ed7;border-color:#0a58ca;box-shadow:0 0 0 .25rem #3184fd80}.btn-check:active+.btn-primary,.btn-check:checked+.btn-primary,.btn-primary.active,.btn-primary:active,.show>.btn-primary.dropdown-toggle{color:#fff;background-color:#0a58ca;border-color:#0a53be}.btn-check:active+.btn-primary:focus,.btn-check:checked+.btn-primary:focus,.btn-primary.active:focus,.btn-primary:active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 .25rem #3184fd80}.btn-primary.disabled,.btn-primary:disabled{color:#fff;background-color:#0d6efd;border-color:#0d6efd}.btn-secondary{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-secondary:hover{color:#fff;background-color:#5c636a;border-color:#565e64}.btn-check:focus+.btn-secondary,.btn-secondary:focus{color:#fff;background-color:#5c636a;border-color:#565e64;box-shadow:0 0 0 .25rem #828a9180}.btn-check:active+.btn-secondary,.btn-check:checked+.btn-secondary,.btn-secondary.active,.btn-secondary:active,.show>.btn-secondary.dropdown-toggle{color:#fff;background-color:#565e64;border-color:#51585e}.btn-check:active+.btn-secondary:focus,.btn-check:checked+.btn-secondary:focus,.btn-secondary.active:focus,.btn-secondary:active:focus,.show>.btn-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .25rem #828a9180}.btn-secondary.disabled,.btn-secondary:disabled{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-success{color:#fff;background-color:#198754;border-color:#198754}.btn-success:hover{color:#fff;background-color:#157347;border-color:#146c43}.btn-check:focus+.btn-success,.btn-success:focus{color:#fff;background-color:#157347;border-color:#146c43;box-shadow:0 0 0 .25rem #3c996e80}.btn-check:active+.btn-success,.btn-check:checked+.btn-success,.btn-success.active,.btn-success:active,.show>.btn-success.dropdown-toggle{color:#fff;background-color:#146c43;border-color:#13653f}.btn-check:active+.btn-success:focus,.btn-check:checked+.btn-success:focus,.btn-success.active:focus,.btn-success:active:focus,.show>.btn-success.dropdown-toggle:focus{box-shadow:0 0 0 .25rem #3c996e80}.btn-success.disabled,.btn-success:disabled{color:#fff;background-color:#198754;border-color:#198754}.btn-info{color:#000;background-color:#0dcaf0;border-color:#0dcaf0}.btn-info:hover{color:#000;background-color:#31d2f2;border-color:#25cff2}.btn-check:focus+.btn-info,.btn-info:focus{color:#000;background-color:#31d2f2;border-color:#25cff2;box-shadow:0 0 0 .25rem #0baccc80}.btn-check:active+.btn-info,.btn-check:checked+.btn-info,.btn-info.active,.btn-info:active,.show>.btn-info.dropdown-toggle{color:#000;background-color:#3dd5f3;border-color:#25cff2}.btn-check:active+.btn-info:focus,.btn-check:checked+.btn-info:focus,.btn-info.active:focus,.btn-info:active:focus,.show>.btn-info.dropdown-toggle:focus{box-shadow:0 0 0 .25rem #0baccc80}.btn-info.disabled,.btn-info:disabled{color:#000;background-color:#0dcaf0;border-color:#0dcaf0}.btn-warning{color:#000;background-color:#ffc107;border-color:#ffc107}.btn-warning:hover{color:#000;background-color:#ffca2c;border-color:#ffc720}.btn-check:focus+.btn-warning,.btn-warning:focus{color:#000;background-color:#ffca2c;border-color:#ffc720;box-shadow:0 0 0 .25rem #d9a40680}.btn-check:active+.btn-warning,.btn-check:checked+.btn-warning,.btn-warning.active,.btn-warning:active,.show>.btn-warning.dropdown-toggle{color:#000;background-color:#ffcd39;border-color:#ffc720}.btn-check:active+.btn-warning:focus,.btn-check:checked+.btn-warning:focus,.btn-warning.active:focus,.btn-warning:active:focus,.show>.btn-warning.dropdown-toggle:focus{box-shadow:0 0 0 .25rem #d9a40680}.btn-warning.disabled,.btn-warning:disabled{color:#000;background-color:#ffc107;border-color:#ffc107}.btn-danger{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-danger:hover{color:#fff;background-color:#bb2d3b;border-color:#b02a37}.btn-check:focus+.btn-danger,.btn-danger:focus{color:#fff;background-color:#bb2d3b;border-color:#b02a37;box-shadow:0 0 0 .25rem #e1536180}.btn-check:active+.btn-danger,.btn-check:checked+.btn-danger,.btn-danger.active,.btn-danger:active,.show>.btn-danger.dropdown-toggle{color:#fff;background-color:#b02a37;border-color:#a52834}.btn-check:active+.btn-danger:focus,.btn-check:checked+.btn-danger:focus,.btn-danger.active:focus,.btn-danger:active:focus,.show>.btn-danger.dropdown-toggle:focus{box-shadow:0 0 0 .25rem #e1536180}.btn-danger.disabled,.btn-danger:disabled{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-light{color:#000;background-color:#f8f9fa;border-color:#f8f9fa}.btn-light:hover{color:#000;background-color:#f9fafb;border-color:#f9fafb}.btn-check:focus+.btn-light,.btn-light:focus{color:#000;background-color:#f9fafb;border-color:#f9fafb;box-shadow:0 0 0 .25rem #d3d4d580}.btn-check:active+.btn-light,.btn-check:checked+.btn-light,.btn-light.active,.btn-light:active,.show>.btn-light.dropdown-toggle{color:#000;background-color:#f9fafb;border-color:#f9fafb}.btn-check:active+.btn-light:focus,.btn-check:checked+.btn-light:focus,.btn-light.active:focus,.btn-light:active:focus,.show>.btn-light.dropdown-toggle:focus{box-shadow:0 0 0 .25rem #d3d4d580}.btn-light.disabled,.btn-light:disabled{color:#000;background-color:#f8f9fa;border-color:#f8f9fa}.btn-dark{color:#fff;background-color:#212529;border-color:#212529}.btn-dark:hover{color:#fff;background-color:#1c1f23;border-color:#1a1e21}.btn-check:focus+.btn-dark,.btn-dark:focus{color:#fff;background-color:#1c1f23;border-color:#1a1e21;box-shadow:0 0 0 .25rem #42464980}.btn-check:active+.btn-dark,.btn-check:checked+.btn-dark,.btn-dark.active,.btn-dark:active,.show>.btn-dark.dropdown-toggle{color:#fff;background-color:#1a1e21;border-color:#191c1f}.btn-check:active+.btn-dark:focus,.btn-check:checked+.btn-dark:focus,.btn-dark.active:focus,.btn-dark:active:focus,.show>.btn-dark.dropdown-toggle:focus{box-shadow:0 0 0 .25rem #42464980}.btn-dark.disabled,.btn-dark:disabled{color:#fff;background-color:#212529;border-color:#212529}.btn-outline-primary{color:#0d6efd;border-color:#0d6efd}.btn-outline-primary:hover{color:#fff;background-color:#0d6efd;border-color:#0d6efd}.btn-check:focus+.btn-outline-primary,.btn-outline-primary:focus{box-shadow:0 0 0 .25rem #0d6efd80}.btn-check:active+.btn-outline-primary,.btn-check:checked+.btn-outline-primary,.btn-outline-primary.active,.btn-outline-primary.dropdown-toggle.show,.btn-outline-primary:active{color:#fff;background-color:#0d6efd;border-color:#0d6efd}.btn-check:active+.btn-outline-primary:focus,.btn-check:checked+.btn-outline-primary:focus,.btn-outline-primary.active:focus,.btn-outline-primary.dropdown-toggle.show:focus,.btn-outline-primary:active:focus{box-shadow:0 0 0 .25rem #0d6efd80}.btn-outline-primary.disabled,.btn-outline-primary:disabled{color:#0d6efd;background-color:transparent}.btn-outline-secondary{color:#6c757d;border-color:#6c757d}.btn-outline-secondary:hover{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-check:focus+.btn-outline-secondary,.btn-outline-secondary:focus{box-shadow:0 0 0 .25rem #6c757d80}.btn-check:active+.btn-outline-secondary,.btn-check:checked+.btn-outline-secondary,.btn-outline-secondary.active,.btn-outline-secondary.dropdown-toggle.show,.btn-outline-secondary:active{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-check:active+.btn-outline-secondary:focus,.btn-check:checked+.btn-outline-secondary:focus,.btn-outline-secondary.active:focus,.btn-outline-secondary.dropdown-toggle.show:focus,.btn-outline-secondary:active:focus{box-shadow:0 0 0 .25rem #6c757d80}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{color:#6c757d;background-color:transparent}.btn-outline-success{color:#198754;border-color:#198754}.btn-outline-success:hover{color:#fff;background-color:#198754;border-color:#198754}.btn-check:focus+.btn-outline-success,.btn-outline-success:focus{box-shadow:0 0 0 .25rem #19875480}.btn-check:active+.btn-outline-success,.btn-check:checked+.btn-outline-success,.btn-outline-success.active,.btn-outline-success.dropdown-toggle.show,.btn-outline-success:active{color:#fff;background-color:#198754;border-color:#198754}.btn-check:active+.btn-outline-success:focus,.btn-check:checked+.btn-outline-success:focus,.btn-outline-success.active:focus,.btn-outline-success.dropdown-toggle.show:focus,.btn-outline-success:active:focus{box-shadow:0 0 0 .25rem #19875480}.btn-outline-success.disabled,.btn-outline-success:disabled{color:#198754;background-color:transparent}.btn-outline-info{color:#0dcaf0;border-color:#0dcaf0}.btn-outline-info:hover{color:#000;background-color:#0dcaf0;border-color:#0dcaf0}.btn-check:focus+.btn-outline-info,.btn-outline-info:focus{box-shadow:0 0 0 .25rem #0dcaf080}.btn-check:active+.btn-outline-info,.btn-check:checked+.btn-outline-info,.btn-outline-info.active,.btn-outline-info.dropdown-toggle.show,.btn-outline-info:active{color:#000;background-color:#0dcaf0;border-color:#0dcaf0}.btn-check:active+.btn-outline-info:focus,.btn-check:checked+.btn-outline-info:focus,.btn-outline-info.active:focus,.btn-outline-info.dropdown-toggle.show:focus,.btn-outline-info:active:focus{box-shadow:0 0 0 .25rem #0dcaf080}.btn-outline-info.disabled,.btn-outline-info:disabled{color:#0dcaf0;background-color:transparent}.btn-outline-warning{color:#ffc107;border-color:#ffc107}.btn-outline-warning:hover{color:#000;background-color:#ffc107;border-color:#ffc107}.btn-check:focus+.btn-outline-warning,.btn-outline-warning:focus{box-shadow:0 0 0 .25rem #ffc10780}.btn-check:active+.btn-outline-warning,.btn-check:checked+.btn-outline-warning,.btn-outline-warning.active,.btn-outline-warning.dropdown-toggle.show,.btn-outline-warning:active{color:#000;background-color:#ffc107;border-color:#ffc107}.btn-check:active+.btn-outline-warning:focus,.btn-check:checked+.btn-outline-warning:focus,.btn-outline-warning.active:focus,.btn-outline-warning.dropdown-toggle.show:focus,.btn-outline-warning:active:focus{box-shadow:0 0 0 .25rem #ffc10780}.btn-outline-warning.disabled,.btn-outline-warning:disabled{color:#ffc107;background-color:transparent}.btn-outline-danger{color:#dc3545;border-color:#dc3545}.btn-outline-danger:hover{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-check:focus+.btn-outline-danger,.btn-outline-danger:focus{box-shadow:0 0 0 .25rem #dc354580}.btn-check:active+.btn-outline-danger,.btn-check:checked+.btn-outline-danger,.btn-outline-danger.active,.btn-outline-danger.dropdown-toggle.show,.btn-outline-danger:active{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-check:active+.btn-outline-danger:focus,.btn-check:checked+.btn-outline-danger:focus,.btn-outline-danger.active:focus,.btn-outline-danger.dropdown-toggle.show:focus,.btn-outline-danger:active:focus{box-shadow:0 0 0 .25rem #dc354580}.btn-outline-danger.disabled,.btn-outline-danger:disabled{color:#dc3545;background-color:transparent}.btn-outline-light{color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light:hover{color:#000;background-color:#f8f9fa;border-color:#f8f9fa}.btn-check:focus+.btn-outline-light,.btn-outline-light:focus{box-shadow:0 0 0 .25rem #f8f9fa80}.btn-check:active+.btn-outline-light,.btn-check:checked+.btn-outline-light,.btn-outline-light.active,.btn-outline-light.dropdown-toggle.show,.btn-outline-light:active{color:#000;background-color:#f8f9fa;border-color:#f8f9fa}.btn-check:active+.btn-outline-light:focus,.btn-check:checked+.btn-outline-light:focus,.btn-outline-light.active:focus,.btn-outline-light.dropdown-toggle.show:focus,.btn-outline-light:active:focus{box-shadow:0 0 0 .25rem #f8f9fa80}.btn-outline-light.disabled,.btn-outline-light:disabled{color:#f8f9fa;background-color:transparent}.btn-outline-dark{color:#212529;border-color:#212529}.btn-outline-dark:hover{color:#fff;background-color:#212529;border-color:#212529}.btn-check:focus+.btn-outline-dark,.btn-outline-dark:focus{box-shadow:0 0 0 .25rem #21252980}.btn-check:active+.btn-outline-dark,.btn-check:checked+.btn-outline-dark,.btn-outline-dark.active,.btn-outline-dark.dropdown-toggle.show,.btn-outline-dark:active{color:#fff;background-color:#212529;border-color:#212529}.btn-check:active+.btn-outline-dark:focus,.btn-check:checked+.btn-outline-dark:focus,.btn-outline-dark.active:focus,.btn-outline-dark.dropdown-toggle.show:focus,.btn-outline-dark:active:focus{box-shadow:0 0 0 .25rem #21252980}.btn-outline-dark.disabled,.btn-outline-dark:disabled{color:#212529;background-color:transparent}.btn-link{font-weight:400;color:#0d6efd;text-decoration:underline}.btn-link:hover{color:#0a58ca}.btn-link.disabled,.btn-link:disabled{color:#6c757d}.btn-group-lg>.btn,.btn-lg{padding:.5rem 1rem;font-size:1.25rem;border-radius:.3rem}.btn-group-sm>.btn,.btn-sm{padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion:reduce){.collapsing.collapse-horizontal{transition:none}}.dropdown,.dropend,.dropstart,.dropup{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu{position:absolute;z-index:1000;display:none;min-width:10rem;padding:.5rem 0;margin:0;font-size:1rem;color:#212529;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.15);border-radius:.25rem}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:.125rem}.dropdown-menu-start{--bs-position:start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position:end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media (min-width:576px){.dropdown-menu-sm-start{--bs-position:start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position:end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media (min-width:768px){.dropdown-menu-md-start{--bs-position:start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position:end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media (min-width:992px){.dropdown-menu-lg-start{--bs-position:start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position:end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1200px){.dropdown-menu-xl-start{--bs-position:start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position:end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1400px){.dropdown-menu-xxl-start{--bs-position:start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position:end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:.125rem}.dropup .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:.125rem}.dropend .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-toggle:after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:.125rem}.dropstart .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle:after{display:none}.dropstart .dropdown-toggle:before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty:after{margin-left:0}.dropstart .dropdown-toggle:before{vertical-align:0}.dropdown-divider{height:0;margin:.5rem 0;overflow:hidden;border-top:1px solid rgba(0,0,0,.15)}.dropdown-item{display:block;width:100%;padding:.25rem 1rem;clear:both;font-weight:400;color:#212529;text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0}.dropdown-item:focus,.dropdown-item:hover{color:#1e2125;background-color:#e9ecef}.dropdown-item.active,.dropdown-item:active{color:#fff;text-decoration:none;background-color:#0d6efd}.dropdown-item.disabled,.dropdown-item:disabled{color:#adb5bd;pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:.5rem 1rem;margin-bottom:0;font-size:.875rem;color:#6c757d;white-space:nowrap}.dropdown-item-text{display:block;padding:.25rem 1rem;color:#212529}.dropdown-menu-dark{color:#dee2e6;background-color:#343a40;border-color:#00000026}.dropdown-menu-dark .dropdown-item{color:#dee2e6}.dropdown-menu-dark .dropdown-item:focus,.dropdown-menu-dark .dropdown-item:hover{color:#fff;background-color:#ffffff26}.dropdown-menu-dark .dropdown-item.active,.dropdown-menu-dark .dropdown-item:active{color:#fff;background-color:#0d6efd}.dropdown-menu-dark .dropdown-item.disabled,.dropdown-menu-dark .dropdown-item:disabled{color:#adb5bd}.dropdown-menu-dark .dropdown-divider{border-color:#00000026}.dropdown-menu-dark .dropdown-item-text{color:#dee2e6}.dropdown-menu-dark .dropdown-header{color:#adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;flex:1 1 auto}.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group>.btn-group:not(:first-child),.btn-group>.btn:not(:first-child){margin-left:-1px}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split:after,.dropend .dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after{margin-left:0}.dropstart .dropdown-toggle-split:before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn~.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:.5rem 1rem;color:#0d6efd;text-decoration:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion:reduce){.nav-link{transition:none}}.nav-link:focus,.nav-link:hover{color:#0a58ca}.nav-link.disabled{color:#6c757d;pointer-events:none;cursor:default}.nav-tabs{border-bottom:1px solid #dee2e6}.nav-tabs .nav-link{margin-bottom:-1px;background:0 0;border:1px solid transparent;border-top-left-radius:.25rem;border-top-right-radius:.25rem}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{border-color:#e9ecef #e9ecef #dee2e6;isolation:isolate}.nav-tabs .nav-link.disabled{color:#6c757d;background-color:transparent;border-color:transparent}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:#495057;background-color:#fff;border-color:#dee2e6 #dee2e6 #fff}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.nav-pills .nav-link{background:0 0;border:0;border-radius:.25rem}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:#fff;background-color:#0d6efd}.nav-fill .nav-item,.nav-fill>.nav-link{flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding-top:.5rem;padding-bottom:.5rem}.navbar>.container,.navbar>.container-fluid,.navbar>.container-lg,.navbar>.container-md,.navbar>.container-sm,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:.3125rem;padding-bottom:.3125rem;margin-right:1rem;font-size:1.25rem;text-decoration:none;white-space:nowrap}.navbar-nav{display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link{padding-right:0;padding-left:0}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:.25rem .75rem;font-size:1.25rem;line-height:1;background-color:transparent;border:1px solid transparent;border-radius:.25rem;transition:box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 .25rem}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height,75vh);overflow-y:auto}@media (min-width:576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas-header{display:none}.navbar-expand-sm .offcanvas{position:inherit;bottom:0;z-index:1000;flex-grow:1;visibility:visible!important;background-color:transparent;border-right:0;border-left:0;transition:none;transform:none}.navbar-expand-sm .offcanvas-bottom,.navbar-expand-sm .offcanvas-top{height:auto;border-top:0;border-bottom:0}.navbar-expand-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas-header{display:none}.navbar-expand-md .offcanvas{position:inherit;bottom:0;z-index:1000;flex-grow:1;visibility:visible!important;background-color:transparent;border-right:0;border-left:0;transition:none;transform:none}.navbar-expand-md .offcanvas-bottom,.navbar-expand-md .offcanvas-top{height:auto;border-top:0;border-bottom:0}.navbar-expand-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas-header{display:none}.navbar-expand-lg .offcanvas{position:inherit;bottom:0;z-index:1000;flex-grow:1;visibility:visible!important;background-color:transparent;border-right:0;border-left:0;transition:none;transform:none}.navbar-expand-lg .offcanvas-bottom,.navbar-expand-lg .offcanvas-top{height:auto;border-top:0;border-bottom:0}.navbar-expand-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas-header{display:none}.navbar-expand-xl .offcanvas{position:inherit;bottom:0;z-index:1000;flex-grow:1;visibility:visible!important;background-color:transparent;border-right:0;border-left:0;transition:none;transform:none}.navbar-expand-xl .offcanvas-bottom,.navbar-expand-xl .offcanvas-top{height:auto;border-top:0;border-bottom:0}.navbar-expand-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas{position:inherit;bottom:0;z-index:1000;flex-grow:1;visibility:visible!important;background-color:transparent;border-right:0;border-left:0;transition:none;transform:none}.navbar-expand-xxl .offcanvas-bottom,.navbar-expand-xxl .offcanvas-top{height:auto;border-top:0;border-bottom:0}.navbar-expand-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas-header{display:none}.navbar-expand .offcanvas{position:inherit;bottom:0;z-index:1000;flex-grow:1;visibility:visible!important;background-color:transparent;border-right:0;border-left:0;transition:none;transform:none}.navbar-expand .offcanvas-bottom,.navbar-expand .offcanvas-top{height:auto;border-top:0;border-bottom:0}.navbar-expand .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-light .navbar-brand{color:#000000e6}.navbar-light .navbar-brand:focus,.navbar-light .navbar-brand:hover{color:#000000e6}.navbar-light .navbar-nav .nav-link{color:#0000008c}.navbar-light .navbar-nav .nav-link:focus,.navbar-light .navbar-nav .nav-link:hover{color:#000000b3}.navbar-light .navbar-nav .nav-link.disabled{color:#0000004d}.navbar-light .navbar-nav .nav-link.active,.navbar-light .navbar-nav .show>.nav-link{color:#000000e6}.navbar-light .navbar-toggler{color:#0000008c;border-color:#0000001a}.navbar-light .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.navbar-light .navbar-text{color:#0000008c}.navbar-light .navbar-text a,.navbar-light .navbar-text a:focus,.navbar-light .navbar-text a:hover{color:#000000e6}.navbar-dark .navbar-brand{color:#fff}.navbar-dark .navbar-brand:focus,.navbar-dark .navbar-brand:hover{color:#fff}.navbar-dark .navbar-nav .nav-link{color:#ffffff8c}.navbar-dark .navbar-nav .nav-link:focus,.navbar-dark .navbar-nav .nav-link:hover{color:#ffffffbf}.navbar-dark .navbar-nav .nav-link.disabled{color:#ffffff40}.navbar-dark .navbar-nav .nav-link.active,.navbar-dark .navbar-nav .show>.nav-link{color:#fff}.navbar-dark .navbar-toggler{color:#ffffff8c;border-color:#ffffff1a}.navbar-dark .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.navbar-dark .navbar-text{color:#ffffff8c}.navbar-dark .navbar-text a,.navbar-dark .navbar-text a:focus,.navbar-dark .navbar-text a:hover{color:#fff}.card{position:relative;display:flex;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border:1px solid rgba(0,0,0,.125);border-radius:.25rem}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:calc(0.25rem - 1px);border-top-right-radius:calc(0.25rem - 1px)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:calc(0.25rem - 1px);border-bottom-left-radius:calc(0.25rem - 1px)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:1rem}.card-title{margin-bottom:.5rem}.card-subtitle{margin-top:-.25rem;margin-bottom:0}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:1rem}.card-header{padding:.5rem 1rem;margin-bottom:0;background-color:#00000008;border-bottom:1px solid rgba(0,0,0,.125)}.card-header:first-child{border-radius:calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0}.card-footer{padding:.5rem 1rem;background-color:#00000008;border-top:1px solid rgba(0,0,0,.125)}.card-footer:last-child{border-radius:0 0 calc(0.25rem - 1px) calc(0.25rem - 1px)}.card-header-tabs{margin-right:-.5rem;margin-bottom:-.5rem;margin-left:-.5rem;border-bottom:0}.card-header-pills{margin-right:-.5rem;margin-left:-.5rem}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:1rem;border-radius:calc(0.25rem - 1px)}.card-img,.card-img-bottom,.card-img-top{width:100%}.card-img,.card-img-top{border-top-left-radius:calc(0.25rem - 1px);border-top-right-radius:calc(0.25rem - 1px)}.card-img,.card-img-bottom{border-bottom-right-radius:calc(0.25rem - 1px);border-bottom-left-radius:calc(0.25rem - 1px)}.card-group>.card{margin-bottom:.75rem}@media (min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:1rem 1.25rem;font-size:1rem;color:#212529;text-align:left;background-color:#fff;border:0;border-radius:0;overflow-anchor:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,border-radius .15s ease}@media (prefers-reduced-motion:reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:#0c63e4;background-color:#e7f1ff;box-shadow:inset 0 -1px #00000020}.accordion-button:not(.collapsed):after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");transform:rotate(-180deg)}.accordion-button:after{flex-shrink:0;width:1.25rem;height:1.25rem;margin-left:auto;content:"";background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-size:1.25rem;transition:transform .2s ease-in-out}@media (prefers-reduced-motion:reduce){.accordion-button:after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.accordion-header{margin-bottom:0}.accordion-item{background-color:#fff;border:1px solid rgba(0,0,0,.125)}.accordion-item:first-of-type{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.accordion-item:first-of-type .accordion-button{border-top-left-radius:calc(0.25rem - 1px);border-top-right-radius:calc(0.25rem - 1px)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.accordion-item:last-of-type .accordion-button.collapsed{border-bottom-right-radius:calc(0.25rem - 1px);border-bottom-left-radius:calc(0.25rem - 1px)}.accordion-item:last-of-type .accordion-collapse{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.accordion-body{padding:1rem 1.25rem}.accordion-flush .accordion-collapse{border-width:0}.accordion-flush .accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush .accordion-item:first-child{border-top:0}.accordion-flush .accordion-item:last-child{border-bottom:0}.accordion-flush .accordion-item .accordion-button{border-radius:0}.breadcrumb{display:flex;flex-wrap:wrap;padding:0;margin-bottom:1rem;list-style:none}.breadcrumb-item+.breadcrumb-item{padding-left:.5rem}.breadcrumb-item+.breadcrumb-item:before{float:left;padding-right:.5rem;color:#6c757d;content:var(--bs-breadcrumb-divider, "/")}.breadcrumb-item.active{color:#6c757d}.pagination{display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;color:#0d6efd;text-decoration:none;background-color:#fff;border:1px solid #dee2e6;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:#0a58ca;background-color:#e9ecef;border-color:#dee2e6}.page-link:focus{z-index:3;color:#0a58ca;background-color:#e9ecef;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.page-item:not(:first-child) .page-link{margin-left:-1px}.page-item.active .page-link{z-index:3;color:#fff;background-color:#0d6efd;border-color:#0d6efd}.page-item.disabled .page-link{color:#6c757d;pointer-events:none;background-color:#fff;border-color:#dee2e6}.page-link{padding:.375rem .75rem}.page-item:first-child .page-link{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.page-item:last-child .page-link{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.pagination-lg .page-link{padding:.75rem 1.5rem;font-size:1.25rem}.pagination-lg .page-item:first-child .page-link{border-top-left-radius:.3rem;border-bottom-left-radius:.3rem}.pagination-lg .page-item:last-child .page-link{border-top-right-radius:.3rem;border-bottom-right-radius:.3rem}.pagination-sm .page-link{padding:.25rem .5rem;font-size:.875rem}.pagination-sm .page-item:first-child .page-link{border-top-left-radius:.2rem;border-bottom-left-radius:.2rem}.pagination-sm .page-item:last-child .page-link{border-top-right-radius:.2rem;border-bottom-right-radius:.2rem}.badge{display:inline-block;padding:.35em .65em;font-size:.75em;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25rem}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{position:relative;padding:1rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{color:#084298;background-color:#cfe2ff;border-color:#b6d4fe}.alert-primary .alert-link{color:#06357a}.alert-secondary{color:#41464b;background-color:#e2e3e5;border-color:#d3d6d8}.alert-secondary .alert-link{color:#34383c}.alert-success{color:#0f5132;background-color:#d1e7dd;border-color:#badbcc}.alert-success .alert-link{color:#0c4128}.alert-info{color:#055160;background-color:#cff4fc;border-color:#b6effb}.alert-info .alert-link{color:#04414d}.alert-warning{color:#664d03;background-color:#fff3cd;border-color:#ffecb5}.alert-warning .alert-link{color:#523e02}.alert-danger{color:#842029;background-color:#f8d7da;border-color:#f5c2c7}.alert-danger .alert-link{color:#6a1a21}.alert-light{color:#636464;background-color:#fefefe;border-color:#fdfdfe}.alert-light .alert-link{color:#4f5050}.alert-dark{color:#141619;background-color:#d3d3d4;border-color:#bcbebf}.alert-dark .alert-link{color:#101214}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress{display:flex;height:1rem;overflow:hidden;font-size:.75rem;background-color:#e9ecef;border-radius:.25rem}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:#fff;text-align:center;white-space:nowrap;background-color:#0d6efd;transition:width .6s ease}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:1rem 1rem}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion:reduce){.progress-bar-animated{animation:none}}.list-group{display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:.25rem}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>li:before{content:counters(section,".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:#495057;text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:#495057;text-decoration:none;background-color:#f8f9fa}.list-group-item-action:active{color:#212529;background-color:#e9ecef}.list-group-item{position:relative;display:block;padding:.5rem 1rem;color:#212529;text-decoration:none;background-color:#fff;border:1px solid rgba(0,0,0,.125)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:#6c757d;pointer-events:none;background-color:#fff}.list-group-item.active{z-index:2;color:#fff;background-color:#0d6efd;border-color:#0d6efd}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:-1px;border-top-width:1px}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}@media (min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 1px}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{color:#084298;background-color:#cfe2ff}.list-group-item-primary.list-group-item-action:focus,.list-group-item-primary.list-group-item-action:hover{color:#084298;background-color:#bacbe6}.list-group-item-primary.list-group-item-action.active{color:#fff;background-color:#084298;border-color:#084298}.list-group-item-secondary{color:#41464b;background-color:#e2e3e5}.list-group-item-secondary.list-group-item-action:focus,.list-group-item-secondary.list-group-item-action:hover{color:#41464b;background-color:#cbccce}.list-group-item-secondary.list-group-item-action.active{color:#fff;background-color:#41464b;border-color:#41464b}.list-group-item-success{color:#0f5132;background-color:#d1e7dd}.list-group-item-success.list-group-item-action:focus,.list-group-item-success.list-group-item-action:hover{color:#0f5132;background-color:#bcd0c7}.list-group-item-success.list-group-item-action.active{color:#fff;background-color:#0f5132;border-color:#0f5132}.list-group-item-info{color:#055160;background-color:#cff4fc}.list-group-item-info.list-group-item-action:focus,.list-group-item-info.list-group-item-action:hover{color:#055160;background-color:#badce3}.list-group-item-info.list-group-item-action.active{color:#fff;background-color:#055160;border-color:#055160}.list-group-item-warning{color:#664d03;background-color:#fff3cd}.list-group-item-warning.list-group-item-action:focus,.list-group-item-warning.list-group-item-action:hover{color:#664d03;background-color:#e6dbb9}.list-group-item-warning.list-group-item-action.active{color:#fff;background-color:#664d03;border-color:#664d03}.list-group-item-danger{color:#842029;background-color:#f8d7da}.list-group-item-danger.list-group-item-action:focus,.list-group-item-danger.list-group-item-action:hover{color:#842029;background-color:#dfc2c4}.list-group-item-danger.list-group-item-action.active{color:#fff;background-color:#842029;border-color:#842029}.list-group-item-light{color:#636464;background-color:#fefefe}.list-group-item-light.list-group-item-action:focus,.list-group-item-light.list-group-item-action:hover{color:#636464;background-color:#e5e5e5}.list-group-item-light.list-group-item-action.active{color:#fff;background-color:#636464;border-color:#636464}.list-group-item-dark{color:#141619;background-color:#d3d3d4}.list-group-item-dark.list-group-item-action:focus,.list-group-item-dark.list-group-item-action:hover{color:#141619;background-color:#bebebf}.list-group-item-dark.list-group-item-action.active{color:#fff;background-color:#141619;border-color:#141619}.btn-close{box-sizing:content-box;width:1em;height:1em;padding:.25em;color:#000;background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;border:0;border-radius:.25rem;opacity:.5}.btn-close:hover{color:#000;text-decoration:none;opacity:.75}.btn-close:focus{outline:0;box-shadow:0 0 0 .25rem #0d6efd40;opacity:1}.btn-close.disabled,.btn-close:disabled{pointer-events:none;-webkit-user-select:none;user-select:none;opacity:.25}.btn-close-white{filter:invert(1) grayscale(100%) brightness(200%)}.toast{width:350px;max-width:100%;font-size:.875rem;pointer-events:auto;background-color:#ffffffd9;background-clip:padding-box;border:1px solid rgba(0,0,0,.1);box-shadow:0 .5rem 1rem #00000026;border-radius:.25rem}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:.75rem}.toast-header{display:flex;align-items:center;padding:.5rem .75rem;color:#6c757d;background-color:#ffffffd9;background-clip:padding-box;border-bottom:1px solid rgba(0,0,0,.05);border-top-left-radius:calc(0.25rem - 1px);border-top-right-radius:calc(0.25rem - 1px)}.toast-header .btn-close{margin-right:-.375rem;margin-left:.75rem}.toast-body{padding:.75rem;word-wrap:break-word}.modal{position:fixed;top:0;left:0;z-index:1055;display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:.5rem;pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translateY(-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - 1rem)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - 1rem)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;pointer-events:auto;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;outline:0}.modal-backdrop{position:fixed;top:0;left:0;z-index:1050;width:100vw;height:100vh;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:.5}.modal-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;padding:1rem;border-bottom:1px solid #dee2e6;border-top-left-radius:calc(0.3rem - 1px);border-top-right-radius:calc(0.3rem - 1px)}.modal-header .btn-close{padding:.5rem;margin:-.5rem -.5rem -.5rem auto}.modal-title{margin-bottom:0;line-height:1.5}.modal-body{position:relative;flex:1 1 auto;padding:1rem}.modal-footer{display:flex;flex-wrap:wrap;flex-shrink:0;align-items:center;justify-content:flex-end;padding:.75rem;border-top:1px solid #dee2e6;border-bottom-right-radius:calc(0.3rem - 1px);border-bottom-left-radius:calc(0.3rem - 1px)}.modal-footer>*{margin:.25rem}@media (min-width:576px){.modal-dialog{max-width:500px;margin:1.75rem auto}.modal-dialog-scrollable{height:calc(100% - 3.5rem)}.modal-dialog-centered{min-height:calc(100% - 3.5rem)}.modal-sm{max-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{max-width:800px}}@media (min-width:1200px){.modal-xl{max-width:1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-header{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}.modal-fullscreen .modal-footer{border-radius:0}@media (max-width:575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-header{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}.modal-fullscreen-sm-down .modal-footer{border-radius:0}}@media (max-width:767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-header{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}.modal-fullscreen-md-down .modal-footer{border-radius:0}}@media (max-width:991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-header{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}.modal-fullscreen-lg-down .modal-footer{border-radius:0}}@media (max-width:1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-header{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}.modal-fullscreen-xl-down .modal-footer{border-radius:0}}@media (max-width:1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-header{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}.modal-fullscreen-xxl-down .modal-footer{border-radius:0}}.tooltip{position:absolute;z-index:1080;display:block;margin:0;font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;opacity:0}.tooltip.show{opacity:.9}.tooltip .tooltip-arrow{position:absolute;display:block;width:.8rem;height:.4rem}.tooltip .tooltip-arrow:before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-auto[data-popper-placement^=top],.bs-tooltip-top{padding:.4rem 0}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow,.bs-tooltip-top .tooltip-arrow{bottom:0}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:before,.bs-tooltip-top .tooltip-arrow:before{top:-1px;border-width:.4rem .4rem 0;border-top-color:#000}.bs-tooltip-auto[data-popper-placement^=right],.bs-tooltip-end{padding:0 .4rem}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow,.bs-tooltip-end .tooltip-arrow{left:0;width:.4rem;height:.8rem}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow:before,.bs-tooltip-end .tooltip-arrow:before{right:-1px;border-width:.4rem .4rem .4rem 0;border-right-color:#000}.bs-tooltip-auto[data-popper-placement^=bottom],.bs-tooltip-bottom{padding:.4rem 0}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow,.bs-tooltip-bottom .tooltip-arrow{top:0}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow:before,.bs-tooltip-bottom .tooltip-arrow:before{bottom:-1px;border-width:0 .4rem .4rem;border-bottom-color:#000}.bs-tooltip-auto[data-popper-placement^=left],.bs-tooltip-start{padding:0 .4rem}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow,.bs-tooltip-start .tooltip-arrow{right:0;width:.4rem;height:.8rem}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow:before,.bs-tooltip-start .tooltip-arrow:before{left:-1px;border-width:.4rem 0 .4rem .4rem;border-left-color:#000}.tooltip-inner{max-width:200px;padding:.25rem .5rem;color:#fff;text-align:center;background-color:#000;border-radius:.25rem}.popover{position:absolute;top:0;left:0;z-index:1070;display:block;max-width:276px;font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem}.popover .popover-arrow{position:absolute;display:block;width:1rem;height:.5rem}.popover .popover-arrow:after,.popover .popover-arrow:before{position:absolute;display:block;content:"";border-color:transparent;border-style:solid}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow,.bs-popover-top>.popover-arrow{bottom:calc(-0.5rem - 1px)}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:before{bottom:0;border-width:.5rem .5rem 0;border-top-color:#00000040}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after,.bs-popover-top>.popover-arrow:after{bottom:1px;border-width:.5rem .5rem 0;border-top-color:#fff}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow,.bs-popover-end>.popover-arrow{left:calc(-0.5rem - 1px);width:.5rem;height:1rem}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:before{left:0;border-width:.5rem .5rem .5rem 0;border-right-color:#00000040}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after,.bs-popover-end>.popover-arrow:after{left:1px;border-width:.5rem .5rem .5rem 0;border-right-color:#fff}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow,.bs-popover-bottom>.popover-arrow{top:calc(-0.5rem - 1px)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:before{top:0;border-width:0 .5rem .5rem .5rem;border-bottom-color:#00000040}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after,.bs-popover-bottom>.popover-arrow:after{top:1px;border-width:0 .5rem .5rem .5rem;border-bottom-color:#fff}.bs-popover-auto[data-popper-placement^=bottom] .popover-header:before,.bs-popover-bottom .popover-header:before{position:absolute;top:0;left:50%;display:block;width:1rem;margin-left:-.5rem;content:"";border-bottom:1px solid #f0f0f0}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow,.bs-popover-start>.popover-arrow{right:calc(-0.5rem - 1px);width:.5rem;height:1rem}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:before{right:0;border-width:.5rem 0 .5rem .5rem;border-left-color:#00000040}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after,.bs-popover-start>.popover-arrow:after{right:1px;border-width:.5rem 0 .5rem .5rem;border-left-color:#fff}.popover-header{padding:.5rem 1rem;margin-bottom:0;font-size:1rem;background-color:#f0f0f0;border-bottom:1px solid rgba(0,0,0,.2);border-top-left-radius:calc(0.3rem - 1px);border-top-right-radius:calc(0.3rem - 1px)}.popover-header:empty{display:none}.popover-body{padding:1rem;color:#212529}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner:after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-end,.carousel-item-next:not(.carousel-item-start){transform:translate(100%)}.active.carousel-item-start,.carousel-item-prev:not(.carousel-item-end){transform:translate(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:0 0;border:0;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%;list-style:none}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-next-icon,.carousel-dark .carousel-control-prev-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{display:inline-block;width:2rem;height:2rem;vertical-align:-.125em;border:.25em solid currentColor;border-right-color:transparent;border-radius:50%;animation:.75s linear infinite spinner-border}.spinner-border-sm{width:1rem;height:1rem;border-width:.2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{display:inline-block;width:2rem;height:2rem;vertical-align:-.125em;background-color:currentColor;border-radius:50%;opacity:0;animation:.75s linear infinite spinner-grow}.spinner-grow-sm{width:1rem;height:1rem}@media (prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{animation-duration:1.5s}}.offcanvas{position:fixed;bottom:0;z-index:1045;display:flex;flex-direction:column;max-width:100%;visibility:hidden;background-color:#fff;background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}@media (prefers-reduced-motion:reduce){.offcanvas{transition:none}}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;justify-content:space-between;padding:1rem}.offcanvas-header .btn-close{padding:.5rem;margin-top:-.5rem;margin-right:-.5rem;margin-bottom:-.5rem}.offcanvas-title{margin-bottom:0;line-height:1.5}.offcanvas-body{flex-grow:1;padding:1rem;overflow-y:auto}.offcanvas-start{top:0;left:0;width:400px;border-right:1px solid rgba(0,0,0,.2);transform:translate(-100%)}.offcanvas-end{top:0;right:0;width:400px;border-left:1px solid rgba(0,0,0,.2);transform:translate(100%)}.offcanvas-top{top:0;right:0;left:0;height:30vh;max-height:100%;border-bottom:1px solid rgba(0,0,0,.2);transform:translateY(-100%)}.offcanvas-bottom{right:0;left:0;height:30vh;max-height:100%;border-top:1px solid rgba(0,0,0,.2);transform:translateY(100%)}.offcanvas.show{transform:none}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentColor;opacity:.5}.placeholder.btn:before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{to{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}.clearfix:after{display:block;clear:both;content:""}.link-primary{color:#0d6efd}.link-primary:focus,.link-primary:hover{color:#0a58ca}.link-secondary{color:#6c757d}.link-secondary:focus,.link-secondary:hover{color:#565e64}.link-success{color:#198754}.link-success:focus,.link-success:hover{color:#146c43}.link-info{color:#0dcaf0}.link-info:focus,.link-info:hover{color:#3dd5f3}.link-warning{color:#ffc107}.link-warning:focus,.link-warning:hover{color:#ffcd39}.link-danger{color:#dc3545}.link-danger:focus,.link-danger:hover{color:#b02a37}.link-light{color:#f8f9fa}.link-light:focus,.link-light:hover{color:#f9fafb}.link-dark{color:#212529}.link-dark:focus,.link-dark:hover{color:#1a1e21}.ratio{position:relative;width:100%}.ratio:before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio:100%}.ratio-4x3{--bs-aspect-ratio:75%}.ratio-16x9{--bs-aspect-ratio:56.25%}.ratio-21x9{--bs-aspect-ratio:42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:sticky;top:0;z-index:1020}@media (min-width:576px){.sticky-sm-top{position:sticky;top:0;z-index:1020}}@media (min-width:768px){.sticky-md-top{position:sticky;top:0;z-index:1020}}@media (min-width:992px){.sticky-lg-top{position:sticky;top:0;z-index:1020}}@media (min-width:1200px){.sticky-xl-top{position:sticky;top:0;z-index:1020}}@media (min-width:1400px){.sticky-xxl-top{position:sticky;top:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.stretched-link:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:1px;min-height:1em;background-color:currentColor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:0 .5rem 1rem #00000026!important}.shadow-sm{box-shadow:0 .125rem .25rem #00000013!important}.shadow-lg{box-shadow:0 1rem 3rem #0000002d!important}.shadow-none{box-shadow:none!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translate(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:1px solid #dee2e6!important}.border-0{border:0!important}.border-top{border-top:1px solid #dee2e6!important}.border-top-0{border-top:0!important}.border-end{border-right:1px solid #dee2e6!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:1px solid #dee2e6!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:1px solid #dee2e6!important}.border-start-0{border-left:0!important}.border-primary{border-color:#0d6efd!important}.border-secondary{border-color:#6c757d!important}.border-success{border-color:#198754!important}.border-info{border-color:#0dcaf0!important}.border-warning{border-color:#ffc107!important}.border-danger{border-color:#dc3545!important}.border-light{border-color:#f8f9fa!important}.border-dark{border-color:#212529!important}.border-white{border-color:#fff!important}.border-1{border-width:1px!important}.border-2{border-width:2px!important}.border-3{border-width:3px!important}.border-4{border-width:4px!important}.border-5{border-width:5px!important}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-0{grid-gap:0!important;gap:0!important}.gap-1{grid-gap:.25rem!important;gap:.25rem!important}.gap-2{grid-gap:.5rem!important;gap:.5rem!important}.gap-3{grid-gap:1rem!important;gap:1rem!important}.gap-4{grid-gap:1.5rem!important;gap:1.5rem!important}.gap-5{grid-gap:3rem!important;gap:3rem!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + 0.9vw)!important}.fs-3{font-size:calc(1.3rem + 0.6vw)!important}.fs-4{font-size:calc(1.275rem + 0.3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-light{font-weight:300!important}.fw-lighter{font-weight:lighter!important}.fw-normal{font-weight:400!important}.fw-bold{font-weight:700!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--bs-text-opacity:1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity:1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity:1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity:1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity:1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity:1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity:1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity:1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity:1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity:1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity:1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity:1;color:#6c757d!important}.text-black-50{--bs-text-opacity:1;color:#00000080!important}.text-white-50{--bs-text-opacity:1;color:#ffffff80!important}.text-reset{--bs-text-opacity:1;color:inherit!important}.text-opacity-25{--bs-text-opacity:.25}.text-opacity-50{--bs-text-opacity:.5}.text-opacity-75{--bs-text-opacity:.75}.text-opacity-100{--bs-text-opacity:1}.bg-primary{--bs-bg-opacity:1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity:1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity:1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity:1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity:1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity:1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity:1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity:1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity:1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity:1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity:1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity:1;background-color:transparent!important}.bg-opacity-10{--bs-bg-opacity:.1}.bg-opacity-25{--bs-bg-opacity:.25}.bg-opacity-50{--bs-bg-opacity:.5}.bg-opacity-75{--bs-bg-opacity:.75}.bg-opacity-100{--bs-bg-opacity:1}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:.25rem!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:.2rem!important}.rounded-2{border-radius:.25rem!important}.rounded-3{border-radius:.3rem!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:50rem!important}.rounded-top{border-top-left-radius:.25rem!important;border-top-right-radius:.25rem!important}.rounded-end{border-top-right-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.rounded-bottom{border-bottom-right-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.rounded-start{border-bottom-left-radius:.25rem!important;border-top-left-radius:.25rem!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}@media (min-width:576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-sm-0{grid-gap:0!important;gap:0!important}.gap-sm-1{grid-gap:.25rem!important;gap:.25rem!important}.gap-sm-2{grid-gap:.5rem!important;gap:.5rem!important}.gap-sm-3{grid-gap:1rem!important;gap:1rem!important}.gap-sm-4{grid-gap:1.5rem!important;gap:1.5rem!important}.gap-sm-5{grid-gap:3rem!important;gap:3rem!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-md-0{grid-gap:0!important;gap:0!important}.gap-md-1{grid-gap:.25rem!important;gap:.25rem!important}.gap-md-2{grid-gap:.5rem!important;gap:.5rem!important}.gap-md-3{grid-gap:1rem!important;gap:1rem!important}.gap-md-4{grid-gap:1.5rem!important;gap:1.5rem!important}.gap-md-5{grid-gap:3rem!important;gap:3rem!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-lg-0{grid-gap:0!important;gap:0!important}.gap-lg-1{grid-gap:.25rem!important;gap:.25rem!important}.gap-lg-2{grid-gap:.5rem!important;gap:.5rem!important}.gap-lg-3{grid-gap:1rem!important;gap:1rem!important}.gap-lg-4{grid-gap:1.5rem!important;gap:1.5rem!important}.gap-lg-5{grid-gap:3rem!important;gap:3rem!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-xl-0{grid-gap:0!important;gap:0!important}.gap-xl-1{grid-gap:.25rem!important;gap:.25rem!important}.gap-xl-2{grid-gap:.5rem!important;gap:.5rem!important}.gap-xl-3{grid-gap:1rem!important;gap:1rem!important}.gap-xl-4{grid-gap:1.5rem!important;gap:1.5rem!important}.gap-xl-5{grid-gap:3rem!important;gap:3rem!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media (min-width:1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-xxl-0{grid-gap:0!important;gap:0!important}.gap-xxl-1{grid-gap:.25rem!important;gap:.25rem!important}.gap-xxl-2{grid-gap:.5rem!important;gap:.5rem!important}.gap-xxl-3{grid-gap:1rem!important;gap:1rem!important}.gap-xxl-4{grid-gap:1.5rem!important;gap:1.5rem!important}.gap-xxl-5{grid-gap:3rem!important;gap:3rem!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}@media (min-width:1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}}@font-face{font-family:"Noto Sans";src:url(NotoSans-Regular.8df2e2a555d0110f.eot);src:local("Noto Sans Regular"),local("NotoSans-Regular"),url(NotoSans-Regular.8df2e2a555d0110f.eot?#iefix) format("embedded-opentype"),url(NotoSans-Regular.393a17b8205d596d.woff2) format("woff2"),url(NotoSans-Regular.51f325c21ca117eb.woff) format("woff"),url(NotoSans-Regular.cb40f90b6ce4a698.ttf) format("truetype"),url(NotoSans-Regular.dfbb04edb508d096.svg#NotoSans-Regular) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"Noto Sans";src:url(NotoSans-Italic.985d3cebb7facaaf.eot);src:local("Noto Sans Italic"),local("NotoSans-Italic"),url(NotoSans-Italic.985d3cebb7facaaf.eot?#iefix) format("embedded-opentype"),url(NotoSans-Italic.1a8c878b5303cbe6.woff2) format("woff2"),url(NotoSans-Italic.366bf02025f63b83.woff) format("woff"),url(NotoSans-Italic.edf9dad3a9df7f36.ttf) format("truetype"),url(NotoSans-Italic.92e7c8bbab5c5179.svg#NotoSans-Italic) format("svg");font-weight:400;font-style:italic}@font-face{font-family:"Noto Sans";src:url(NotoSans-Bold.7e9e455225ad3d5f.eot);src:local("Noto Sans Bold"),local("NotoSans-Bold"),url(NotoSans-Bold.7e9e455225ad3d5f.eot?#iefix) format("embedded-opentype"),url(NotoSans-Bold.bb7ed3cb4bc27baa.woff2) format("woff2"),url(NotoSans-Bold.bf7f7fcd222ca9bc.woff) format("woff"),url(NotoSans-Bold.34719cace3ef62a2.ttf) format("truetype"),url(NotoSans-Bold.57c5fa3ce3ea736c.svg#NotoSans-Bold) format("svg");font-weight:700;font-style:normal}@font-face{font-family:"Noto Sans";src:url(NotoSans-BoldItalic.c4df60a61a10e0e2.eot);src:local("Noto Sans BoldItalic"),local("NotoSans-BoldItalic"),url(NotoSans-BoldItalic.c4df60a61a10e0e2.eot?#iefix) format("embedded-opentype"),url(NotoSans-BoldItalic.ddf7c771010e73d3.woff2) format("woff2"),url(NotoSans-BoldItalic.f99dd773fd73392d.woff) format("woff"),url(NotoSans-BoldItalic.da602ebb32f0c6ac.ttf) format("truetype"),url(NotoSans-BoldItalic.44f1cf4f0e78a3a4.svg#NotoSans-BoldItalic) format("svg");font-weight:700;font-style:italic}body{background-color:#e8ecef}img.logo-header{width:50px}a.table-link{color:#0097a7}.snackabar-success{background:#0097a7!important;color:#fff!important}.snackbar-warning{background:#c5c740!important;color:#fff!important}.snackbar-error{background:#b00020!important;color:#fff!important}.mat-dialog-actions{margin-bottom:-12px!important}@-moz-document url-prefix(){.temporaryElement{line-height:1.4em}}.full-width-field{width:100%}app-root{width:100%}mat-menu-panel{min-height:0px}.custom-tooltip{background-color:gray;color:#fff}@font-face{font-family:"Material Icons";font-style:normal;font-weight:400;src:url(MaterialIcons-Regular.1e50f5c2ffa6aba4.eot);src:local("Material Icons"),local("MaterialIcons-Regular"),url(MaterialIcons-Regular.7ea2023eeca07427.woff2) format("woff2"),url(MaterialIcons-Regular.db852539204b1a34.woff) format("woff"),url(MaterialIcons-Regular.196fa4a92dd6fa73.ttf) format("truetype")}.material-icons{font-family:"Material Icons";font-weight:normal;font-style:normal;font-size:24px;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:100;src:local("Roboto Thin "),local("Roboto-Thin"),url(roboto-latin-100.539f0a96b40596f7.woff2) format("woff2"),url(roboto-latin-100.5ba994dac3e79ea8.woff) format("woff")}@font-face{font-family:"Roboto";font-style:italic;font-display:swap;font-weight:100;src:local("Roboto Thin italic"),local("Roboto-Thinitalic"),url(roboto-latin-100italic.41ba64219cb743c9.woff2) format("woff2"),url(roboto-latin-100italic.d61e7e8b07c0638c.woff) format("woff")}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:300;src:local("Roboto Light "),local("Roboto-Light"),url(roboto-latin-300.4d8f8086236bad80.woff2) format("woff2"),url(roboto-latin-300.6c1bc461047e61f5.woff) format("woff")}@font-face{font-family:"Roboto";font-style:italic;font-display:swap;font-weight:300;src:local("Roboto Light italic"),local("Roboto-Lightitalic"),url(roboto-latin-300italic.45164643b3bd5824.woff2) format("woff2"),url(roboto-latin-300italic.3a529751a590d3c1.woff) format("woff")}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:400;src:local("Roboto Regular "),local("Roboto-Regular"),url(roboto-latin-400.1e2d4d3a272629cd.woff2) format("woff2"),url(roboto-latin-400.7e4a045b9373d9c1.woff) format("woff")}@font-face{font-family:"Roboto";font-style:italic;font-display:swap;font-weight:400;src:local("Roboto Regular italic"),local("Roboto-Regularitalic"),url(roboto-latin-400italic.bb3c6955c4334c8a.woff2) format("woff2"),url(roboto-latin-400italic.68431199e5b90ea8.woff) format("woff")}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:500;src:local("Roboto Medium "),local("Roboto-Medium"),url(roboto-latin-500.1dfbc3dbf815e3f3.woff2) format("woff2"),url(roboto-latin-500.e21fe97fd2329ff7.woff) format("woff")}@font-face{font-family:"Roboto";font-style:italic;font-display:swap;font-weight:500;src:local("Roboto Medium italic"),local("Roboto-Mediumitalic"),url(roboto-latin-500italic.7543a42b12b1452f.woff2) format("woff2"),url(roboto-latin-500italic.aaff6867154023d3.woff) format("woff")}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:700;src:local("Roboto Bold "),local("Roboto-Bold"),url(roboto-latin-700.12893bfc0762b0f3.woff2) format("woff2"),url(roboto-latin-700.02633003129d1e63.woff) format("woff")}@font-face{font-family:"Roboto";font-style:italic;font-display:swap;font-weight:700;src:local("Roboto Bold italic"),local("Roboto-Bolditalic"),url(roboto-latin-700italic.bc7179e004e40113.woff2) format("woff2"),url(roboto-latin-700italic.e53062e27c63fafb.woff) format("woff")}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:900;src:local("Roboto Black "),local("Roboto-Black"),url(roboto-latin-900.282ba77fda1349f3.woff2) format("woff2"),url(roboto-latin-900.4962e810cbb4d3e5.woff) format("woff")}@font-face{font-family:"Roboto";font-style:italic;font-display:swap;font-weight:900;src:local("Roboto Black italic"),local("Roboto-Blackitalic"),url(roboto-latin-900italic.9c1f80840351fa12.woff2) format("woff2"),url(roboto-latin-900italic.2394134a78bbaef8.woff) format("woff")}.mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-badge-small .mat-badge-content{font-size:9px}.mat-badge-large .mat-badge-content{font-size:24px}.mat-h1,.mat-headline,.mat-typography h1{font:400 24px / 32px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-title,.mat-typography h2{font:500 20px / 32px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3,.mat-subheading-2,.mat-typography h3{font:400 16px / 28px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4,.mat-subheading-1,.mat-typography h4{font:400 15px / 24px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5,.mat-typography h5{font:400 11.62px / 20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-h6,.mat-typography h6{font:400 9.38px / 20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-body-strong,.mat-body-2{font:500 14px / 24px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-body,.mat-body-1,.mat-typography{font:400 14px / 20px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-body p,.mat-body-1 p,.mat-typography p{margin:0 0 12px}.mat-small,.mat-caption{font:400 12px / 20px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-display-4,.mat-typography .mat-display-4{font:300 112px / 112px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3,.mat-typography .mat-display-3{font:400 56px / 56px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2,.mat-typography .mat-display-2{font:400 45px / 48px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1,.mat-typography .mat-display-1{font:400 34px / 40px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container{font:400 14px / 20px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-button,.mat-raised-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button,.mat-fab,.mat-mini-fab{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-button-toggle{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-card{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-card-title{font-size:24px;font-weight:500}.mat-card-header .mat-card-title{font-size:20px}.mat-card-subtitle,.mat-card-content{font-size:14px}.mat-checkbox{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-checkbox-layout .mat-checkbox-label{line-height:24px}.mat-chip{font-size:14px;font-weight:500}.mat-chip .mat-chip-trailing-icon.mat-icon,.mat-chip .mat-chip-remove.mat-icon{font-size:18px}.mat-table{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-header-cell{font-size:12px;font-weight:500}.mat-cell,.mat-footer-cell{font-size:14px}.mat-calendar{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-calendar-body{font-size:13px}.mat-calendar-body-label,.mat-calendar-period-button{font-size:14px;font-weight:500}.mat-calendar-table-header th{font-size:11px;font-weight:400}.mat-dialog-title{font:500 20px / 32px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-expansion-panel-header{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content{font:400 14px / 20px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-form-field{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-form-field-wrapper{padding-bottom:1.34375em}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{font-size:150%;line-height:1.125}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{height:1.5em;width:1.5em}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{height:1.125em;line-height:1.125}.mat-form-field-infix{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper{top:-.84375em;padding-top:.84375em}.mat-form-field-label{top:1.34375em}.mat-form-field-underline{bottom:1.34375em}.mat-form-field-subscript-wrapper{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.79167em)}.mat-form-field-appearance-legacy .mat-form-field-wrapper{padding-bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-infix{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);width:133.3333533333%}.mat-form-field-appearance-legacy .mat-form-field-label{top:1.28125em}.mat-form-field-appearance-legacy .mat-form-field-underline{bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-subscript-wrapper{margin-top:.5416666667em;top:calc(100% - 1.66667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill .mat-form-field-infix{padding:.25em 0 .75em}.mat-form-field-appearance-fill .mat-form-field-label{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline .mat-form-field-infix{padding:1em 0}.mat-form-field-appearance-outline .mat-form-field-label{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-header,.mat-grid-tile-footer{font-size:14px}.mat-grid-tile-header .mat-line,.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2),.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:12px}input.mat-input-element{margin-top:-.0625em}.mat-menu-item{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:400}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px}.mat-radio-button{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-select{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-select-trigger{height:1.125em}.mat-slide-toggle-content{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-slider-thumb-label-text{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-stepper-vertical,.mat-stepper-horizontal{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-step-label{font-size:14px;font-weight:400}.mat-step-sub-label-error{font-weight:normal}.mat-step-label-error{font-size:14px}.mat-step-label-selected{font-size:14px;font-weight:500}.mat-tab-group{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-tab-label,.mat-tab-link{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font:500 20px / 32px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0}.mat-tooltip{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-list-option{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-list-base .mat-list-item{font-size:16px}.mat-list-base .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-item .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-list-option{font-size:16px}.mat-list-base .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-option .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-subheader{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense] .mat-list-item{font-size:12px}.mat-list-base[dense] .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-item .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-list-option{font-size:12px}.mat-list-base[dense] .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-option .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-subheader{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-option{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:16px}.mat-optgroup-label{font:500 14px / 24px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-simple-snackbar{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px}.mat-simple-snackbar-action{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-tree-node,.mat-nested-tree-node{font-weight:400;font-size:14px}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale(0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-mdc-focus-indicator{position:relative}.dark-theme{color:#fff!important}.dark-theme .mat-ripple-element{background-color:#ffffff1a}.dark-theme .mat-option{color:#fff}.dark-theme .mat-option:hover:not(.mat-option-disabled),.dark-theme .mat-option:focus:not(.mat-option-disabled){background:rgba(255,255,255,.04)}.dark-theme .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled){background:rgba(255,255,255,.04)}.dark-theme .mat-option.mat-active{background:rgba(255,255,255,.04);color:#fff}.dark-theme .mat-option.mat-option-disabled{color:#ffffff80}.dark-theme .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#0097a7}.dark-theme .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#b0bec5}.dark-theme .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.dark-theme .mat-optgroup-label{color:#ffffffb3}.dark-theme .mat-optgroup-disabled .mat-optgroup-label{color:#ffffff80}.dark-theme .mat-pseudo-checkbox{color:#ffffffb3}.dark-theme .mat-pseudo-checkbox:after{color:#263238}.dark-theme .mat-pseudo-checkbox-disabled{color:#686868}.dark-theme .mat-primary .mat-pseudo-checkbox-checked,.dark-theme .mat-primary .mat-pseudo-checkbox-indeterminate{background:#0097a7}.dark-theme .mat-pseudo-checkbox-checked,.dark-theme .mat-pseudo-checkbox-indeterminate,.dark-theme .mat-accent .mat-pseudo-checkbox-checked,.dark-theme .mat-accent .mat-pseudo-checkbox-indeterminate{background:#b0bec5}.dark-theme .mat-warn .mat-pseudo-checkbox-checked,.dark-theme .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.dark-theme .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.dark-theme .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#686868}.dark-theme .mat-app-background,.dark-theme.mat-app-background{background-color:#263238;color:#fff}.dark-theme .mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.dark-theme .mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.dark-theme .mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.dark-theme .mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.dark-theme .mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.dark-theme .mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.dark-theme .mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.dark-theme .mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.dark-theme .mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.dark-theme .mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.dark-theme .mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.dark-theme .mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.dark-theme .mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.dark-theme .mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.dark-theme .mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.dark-theme .mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.dark-theme .mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.dark-theme .mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.dark-theme .mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.dark-theme .mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.dark-theme .mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.dark-theme .mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.dark-theme .mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.dark-theme .mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.dark-theme .mat-elevation-z24{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.dark-theme .mat-badge{position:relative}.dark-theme .mat-badge-hidden .mat-badge-content{display:none}.dark-theme .mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.dark-theme .ng-animate-disabled .mat-badge-content,.dark-theme .mat-badge-content._mat-animation-noopable{transition:none}.dark-theme .mat-badge-content.mat-badge-active{transform:none}.dark-theme .mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.dark-theme .mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.dark-theme .mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.dark-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .dark-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.dark-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .dark-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.dark-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .dark-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.dark-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .dark-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.dark-theme .mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.dark-theme .mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.dark-theme .mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.dark-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .dark-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.dark-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .dark-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.dark-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .dark-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.dark-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .dark-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.dark-theme .mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.dark-theme .mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.dark-theme .mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.dark-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .dark-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.dark-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .dark-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.dark-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .dark-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.dark-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .dark-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.dark-theme .mat-badge-content{color:#fff;background:#0097a7}.cdk-high-contrast-active .dark-theme .mat-badge-content{outline:solid 1px;border-radius:0}.dark-theme .mat-badge-accent .mat-badge-content{background:#b0bec5;color:#000000de}.dark-theme .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.dark-theme .mat-badge-disabled .mat-badge-content{background:#677074;color:#ffffff80}.dark-theme .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:#263238;color:#fff}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{line-height:48px}.dark-theme .mat-divider{border-top-color:#ffffff1f}.dark-theme .mat-divider-vertical{border-right-color:#ffffff1f}.mat-expansion-panel-header{height:48px}.mat-expansion-panel-header.mat-expanded{height:64px}.mat-paginator-container{min-height:56px}.mat-horizontal-stepper-header{height:72px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header,.mat-vertical-stepper-header{padding:24px}.mat-stepper-vertical-line:before{top:-16px;bottom:-16px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:after,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:before{top:36px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{top:36px}.dark-theme .mat-sort-header-arrow{color:#bec2c3}.dark-theme .mat-toolbar{background:#263238;color:#fff}.dark-theme .mat-toolbar.mat-primary{background:#0097a7;color:#fff}.dark-theme .mat-toolbar.mat-accent{background:#b0bec5;color:#000000de}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width: 599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}.dark-theme .mat-tree{background:#263238}.dark-theme .mat-tree-node,.dark-theme .mat-nested-tree-node{color:#fff}.mat-tree-node{min-height:48px}.dark-theme .mat-ripple-element{background-color:#ffffff1a}.dark-theme .mat-option{color:#fff}.dark-theme .mat-option:hover:not(.mat-option-disabled),.dark-theme .mat-option:focus:not(.mat-option-disabled){background:rgba(255,255,255,.04)}.dark-theme .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled){background:rgba(255,255,255,.04)}.dark-theme .mat-option.mat-active{background:rgba(255,255,255,.04);color:#fff}.dark-theme .mat-option.mat-option-disabled{color:#ffffff80}.dark-theme .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#0097a7}.dark-theme .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#b0bec5}.dark-theme .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.dark-theme .mat-optgroup-label{color:#ffffffb3}.dark-theme .mat-optgroup-disabled .mat-optgroup-label{color:#ffffff80}.dark-theme .mat-pseudo-checkbox{color:#ffffffb3}.dark-theme .mat-pseudo-checkbox:after{color:#263238}.dark-theme .mat-pseudo-checkbox-disabled{color:#686868}.dark-theme .mat-primary .mat-pseudo-checkbox-checked,.dark-theme .mat-primary .mat-pseudo-checkbox-indeterminate{background:#0097a7}.dark-theme .mat-pseudo-checkbox-checked,.dark-theme .mat-pseudo-checkbox-indeterminate,.dark-theme .mat-accent .mat-pseudo-checkbox-checked,.dark-theme .mat-accent .mat-pseudo-checkbox-indeterminate{background:#b0bec5}.dark-theme .mat-warn .mat-pseudo-checkbox-checked,.dark-theme .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.dark-theme .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.dark-theme .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#686868}.dark-theme .mat-app-background,.dark-theme.mat-app-background{background-color:#263238;color:#fff}.dark-theme .mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.dark-theme .mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.dark-theme .mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.dark-theme .mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.dark-theme .mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.dark-theme .mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.dark-theme .mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.dark-theme .mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.dark-theme .mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.dark-theme .mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.dark-theme .mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.dark-theme .mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.dark-theme .mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.dark-theme .mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.dark-theme .mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.dark-theme .mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.dark-theme .mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.dark-theme .mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.dark-theme .mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.dark-theme .mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.dark-theme .mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.dark-theme .mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.dark-theme .mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.dark-theme .mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.dark-theme .mat-elevation-z24{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.dark-theme .mat-autocomplete-panel{background:#263238;color:#fff}.dark-theme .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.dark-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#263238}.dark-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#fff}.dark-theme .mat-button,.dark-theme .mat-icon-button,.dark-theme .mat-stroked-button{color:inherit;background:transparent}.dark-theme .mat-button.mat-primary,.dark-theme .mat-icon-button.mat-primary,.dark-theme .mat-stroked-button.mat-primary{color:#0097a7}.dark-theme .mat-button.mat-accent,.dark-theme .mat-icon-button.mat-accent,.dark-theme .mat-stroked-button.mat-accent{color:#b0bec5}.dark-theme .mat-button.mat-warn,.dark-theme .mat-icon-button.mat-warn,.dark-theme .mat-stroked-button.mat-warn{color:#f44336}.dark-theme .mat-button.mat-primary.mat-button-disabled,.dark-theme .mat-button.mat-accent.mat-button-disabled,.dark-theme .mat-button.mat-warn.mat-button-disabled,.dark-theme .mat-button.mat-button-disabled.mat-button-disabled,.dark-theme .mat-icon-button.mat-primary.mat-button-disabled,.dark-theme .mat-icon-button.mat-accent.mat-button-disabled,.dark-theme .mat-icon-button.mat-warn.mat-button-disabled,.dark-theme .mat-icon-button.mat-button-disabled.mat-button-disabled,.dark-theme .mat-stroked-button.mat-primary.mat-button-disabled,.dark-theme .mat-stroked-button.mat-accent.mat-button-disabled,.dark-theme .mat-stroked-button.mat-warn.mat-button-disabled,.dark-theme .mat-stroked-button.mat-button-disabled.mat-button-disabled{color:#ffffff4d}.dark-theme .mat-button.mat-primary .mat-button-focus-overlay,.dark-theme .mat-icon-button.mat-primary .mat-button-focus-overlay,.dark-theme .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#0097a7}.dark-theme .mat-button.mat-accent .mat-button-focus-overlay,.dark-theme .mat-icon-button.mat-accent .mat-button-focus-overlay,.dark-theme .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#b0bec5}.dark-theme .mat-button.mat-warn .mat-button-focus-overlay,.dark-theme .mat-icon-button.mat-warn .mat-button-focus-overlay,.dark-theme .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.dark-theme .mat-button.mat-button-disabled .mat-button-focus-overlay,.dark-theme .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.dark-theme .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.dark-theme .mat-button .mat-ripple-element,.dark-theme .mat-icon-button .mat-ripple-element,.dark-theme .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.dark-theme .mat-button-focus-overlay{background:white}.dark-theme .mat-stroked-button:not(.mat-button-disabled){border-color:#ffffff1f}.dark-theme .mat-flat-button,.dark-theme .mat-raised-button,.dark-theme .mat-fab,.dark-theme .mat-mini-fab{color:#fff;background-color:#424242}.dark-theme .mat-flat-button.mat-primary,.dark-theme .mat-raised-button.mat-primary,.dark-theme .mat-fab.mat-primary,.dark-theme .mat-mini-fab.mat-primary{color:#fff}.dark-theme .mat-flat-button.mat-accent,.dark-theme .mat-raised-button.mat-accent,.dark-theme .mat-fab.mat-accent,.dark-theme .mat-mini-fab.mat-accent{color:#000000de}.dark-theme .mat-flat-button.mat-warn,.dark-theme .mat-raised-button.mat-warn,.dark-theme .mat-fab.mat-warn,.dark-theme .mat-mini-fab.mat-warn{color:#fff}.dark-theme .mat-flat-button.mat-primary.mat-button-disabled,.dark-theme .mat-flat-button.mat-accent.mat-button-disabled,.dark-theme .mat-flat-button.mat-warn.mat-button-disabled,.dark-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.dark-theme .mat-raised-button.mat-primary.mat-button-disabled,.dark-theme .mat-raised-button.mat-accent.mat-button-disabled,.dark-theme .mat-raised-button.mat-warn.mat-button-disabled,.dark-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.dark-theme .mat-fab.mat-primary.mat-button-disabled,.dark-theme .mat-fab.mat-accent.mat-button-disabled,.dark-theme .mat-fab.mat-warn.mat-button-disabled,.dark-theme .mat-fab.mat-button-disabled.mat-button-disabled,.dark-theme .mat-mini-fab.mat-primary.mat-button-disabled,.dark-theme .mat-mini-fab.mat-accent.mat-button-disabled,.dark-theme .mat-mini-fab.mat-warn.mat-button-disabled,.dark-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled{color:#ffffff4d}.dark-theme .mat-flat-button.mat-primary,.dark-theme .mat-raised-button.mat-primary,.dark-theme .mat-fab.mat-primary,.dark-theme .mat-mini-fab.mat-primary{background-color:#0097a7}.dark-theme .mat-flat-button.mat-accent,.dark-theme .mat-raised-button.mat-accent,.dark-theme .mat-fab.mat-accent,.dark-theme .mat-mini-fab.mat-accent{background-color:#b0bec5}.dark-theme .mat-flat-button.mat-warn,.dark-theme .mat-raised-button.mat-warn,.dark-theme .mat-fab.mat-warn,.dark-theme .mat-mini-fab.mat-warn{background-color:#f44336}.dark-theme .mat-flat-button.mat-primary.mat-button-disabled,.dark-theme .mat-flat-button.mat-accent.mat-button-disabled,.dark-theme .mat-flat-button.mat-warn.mat-button-disabled,.dark-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.dark-theme .mat-raised-button.mat-primary.mat-button-disabled,.dark-theme .mat-raised-button.mat-accent.mat-button-disabled,.dark-theme .mat-raised-button.mat-warn.mat-button-disabled,.dark-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.dark-theme .mat-fab.mat-primary.mat-button-disabled,.dark-theme .mat-fab.mat-accent.mat-button-disabled,.dark-theme .mat-fab.mat-warn.mat-button-disabled,.dark-theme .mat-fab.mat-button-disabled.mat-button-disabled,.dark-theme .mat-mini-fab.mat-primary.mat-button-disabled,.dark-theme .mat-mini-fab.mat-accent.mat-button-disabled,.dark-theme .mat-mini-fab.mat-warn.mat-button-disabled,.dark-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled{background-color:#ffffff1f}.dark-theme .mat-flat-button.mat-primary .mat-ripple-element,.dark-theme .mat-raised-button.mat-primary .mat-ripple-element,.dark-theme .mat-fab.mat-primary .mat-ripple-element,.dark-theme .mat-mini-fab.mat-primary .mat-ripple-element{background-color:#ffffff1a}.dark-theme .mat-flat-button.mat-accent .mat-ripple-element,.dark-theme .mat-raised-button.mat-accent .mat-ripple-element,.dark-theme .mat-fab.mat-accent .mat-ripple-element,.dark-theme .mat-mini-fab.mat-accent .mat-ripple-element{background-color:#0000001a}.dark-theme .mat-flat-button.mat-warn .mat-ripple-element,.dark-theme .mat-raised-button.mat-warn .mat-ripple-element,.dark-theme .mat-fab.mat-warn .mat-ripple-element,.dark-theme .mat-mini-fab.mat-warn .mat-ripple-element{background-color:#ffffff1a}.dark-theme .mat-stroked-button:not([class*=mat-elevation-z]),.dark-theme .mat-flat-button:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.dark-theme .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.dark-theme .mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.dark-theme .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.dark-theme .mat-fab:not([class*=mat-elevation-z]),.dark-theme .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.dark-theme .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.dark-theme .mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.dark-theme .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.dark-theme .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.dark-theme .mat-button-toggle-standalone,.dark-theme .mat-button-toggle-group{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.dark-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.dark-theme .mat-button-toggle-group-appearance-standard{box-shadow:none}.dark-theme .mat-button-toggle{color:#ffffff80}.dark-theme .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:#ffffff0f}.dark-theme .mat-button-toggle-appearance-standard{color:#fff;background:#263238}.dark-theme .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#fff}.dark-theme .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:solid 1px rgba(255,255,255,.12)}.dark-theme [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px rgba(255,255,255,.12)}.dark-theme .mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:solid 1px rgba(255,255,255,.12)}.dark-theme .mat-button-toggle-checked{background-color:#212121;color:#ffffffb3}.dark-theme .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#fff}.dark-theme .mat-button-toggle-disabled{color:#ffffff4d;background-color:#000}.dark-theme .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#263238}.dark-theme .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#424242}.dark-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.dark-theme .mat-button-toggle-group-appearance-standard{border:solid 1px rgba(255,255,255,.12)}.dark-theme .mat-card{background:#263238;color:#fff}.dark-theme .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.dark-theme .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.dark-theme .mat-card-subtitle{color:#ffffffb3}.dark-theme .mat-checkbox-frame{border-color:#ffffffb3}.dark-theme .mat-checkbox-checkmark{fill:#263238}.dark-theme .mat-checkbox-checkmark-path{stroke:#263238!important}.dark-theme .mat-checkbox-mixedmark{background-color:#263238}.dark-theme .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background,.dark-theme .mat-checkbox-checked.mat-primary .mat-checkbox-background{background-color:#0097a7}.dark-theme .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.dark-theme .mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:#b0bec5}.dark-theme .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background,.dark-theme .mat-checkbox-checked.mat-warn .mat-checkbox-background{background-color:#f44336}.dark-theme .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.dark-theme .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#686868}.dark-theme .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#686868}.dark-theme .mat-checkbox-disabled .mat-checkbox-label{color:#ffffffb3}.dark-theme .mat-checkbox .mat-ripple-element{background-color:#fff}.dark-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.dark-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#0097a7}.dark-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.dark-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#b0bec5}.dark-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.dark-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.dark-theme .mat-chip.mat-standard-chip{background-color:#616161;color:#fff}.dark-theme .mat-chip.mat-standard-chip .mat-chip-remove{color:#fff;opacity:.4}.dark-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.dark-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.dark-theme .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.dark-theme .mat-chip.mat-standard-chip:after{background:white}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#0097a7;color:#fff}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:#ffffff1a}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:#ffffff1a}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#b0bec5;color:#000000de}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#000000de;opacity:.4}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:#0000001a}.dark-theme .mat-table{background:#263238}.dark-theme .mat-table thead,.dark-theme .mat-table tbody,.dark-theme .mat-table tfoot,.dark-theme mat-header-row,.dark-theme mat-row,.dark-theme mat-footer-row,.dark-theme [mat-header-row],.dark-theme [mat-row],.dark-theme [mat-footer-row],.dark-theme .mat-table-sticky{background:inherit}.dark-theme mat-row,.dark-theme mat-header-row,.dark-theme mat-footer-row,.dark-theme th.mat-header-cell,.dark-theme td.mat-cell,.dark-theme td.mat-footer-cell{border-bottom-color:#ffffff1f}.dark-theme .mat-header-cell{color:#ffffffb3}.dark-theme .mat-cell,.dark-theme .mat-footer-cell{color:#fff}.dark-theme .mat-calendar-arrow{fill:#fff}.dark-theme .mat-datepicker-toggle,.dark-theme .mat-datepicker-content .mat-calendar-next-button,.dark-theme .mat-datepicker-content .mat-calendar-previous-button{color:#fff}.dark-theme .mat-calendar-table-header-divider:after{background:rgba(255,255,255,.12)}.dark-theme .mat-calendar-table-header,.dark-theme .mat-calendar-body-label{color:#ffffffb3}.dark-theme .mat-calendar-body-cell-content,.dark-theme .mat-date-range-input-separator{color:#fff;border-color:transparent}.dark-theme .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#ffffff80}.dark-theme .mat-form-field-disabled .mat-date-range-input-separator{color:#ffffff80}.dark-theme .mat-calendar-body-in-preview{color:#ffffff3d}.dark-theme .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#ffffff80}.dark-theme .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#ffffff4d}.dark-theme .mat-calendar-body-in-range:before{background:rgba(0,151,167,.2)}.dark-theme .mat-calendar-body-comparison-identical,.dark-theme .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.dark-theme .mat-calendar-body-comparison-bridge-start:before,.dark-theme [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(0,151,167,.2) 50%,rgba(249,171,0,.2) 50%)}.dark-theme .mat-calendar-body-comparison-bridge-end:before,.dark-theme [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(0,151,167,.2) 50%,rgba(249,171,0,.2) 50%)}.dark-theme .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.dark-theme .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.dark-theme .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.dark-theme .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.dark-theme .mat-calendar-body-selected{background-color:#0097a7;color:#fff}.dark-theme .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#0097a766}.dark-theme .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.dark-theme .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.dark-theme .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.dark-theme .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#0097a74d}.dark-theme .mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#263238;color:#fff}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(176,190,197,.2)}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.dark-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(176,190,197,.2) 50%,rgba(249,171,0,.2) 50%)}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.dark-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(176,190,197,.2) 50%,rgba(249,171,0,.2) 50%)}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#b0bec5;color:#000000de}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#b0bec566}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #000000de}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.dark-theme .mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.dark-theme .mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#b0bec54d}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.dark-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.dark-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#f4433666}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.dark-theme .mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.dark-theme .mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}.dark-theme .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.dark-theme .mat-datepicker-toggle-active{color:#0097a7}.dark-theme .mat-datepicker-toggle-active.mat-accent{color:#b0bec5}.dark-theme .mat-datepicker-toggle-active.mat-warn{color:#f44336}.dark-theme .mat-date-range-input-inner[disabled]{color:#ffffff80}.dark-theme .mat-dialog-container{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f;background:#263238;color:#fff}.dark-theme .mat-expansion-panel{background:#263238;color:#fff}.dark-theme .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.dark-theme .mat-action-row{border-top-color:#ffffff1f}.dark-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.dark-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.dark-theme .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(255,255,255,.04)}@media (hover: none){.dark-theme .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#263238}}.dark-theme .mat-expansion-panel-header-title{color:#fff}.dark-theme .mat-expansion-panel-header-description,.dark-theme .mat-expansion-indicator:after{color:#ffffffb3}.dark-theme .mat-expansion-panel-header[aria-disabled=true]{color:#ffffff4d}.dark-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.dark-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.dark-theme .mat-form-field-label{color:#ffffffb3}.dark-theme .mat-hint{color:#ffffffb3}.dark-theme .mat-form-field.mat-focused .mat-form-field-label{color:#0097a7}.dark-theme .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#b0bec5}.dark-theme .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.dark-theme .mat-focused .mat-form-field-required-marker{color:#b0bec5}.dark-theme .mat-form-field-ripple{background-color:#fff}.dark-theme .mat-form-field.mat-focused .mat-form-field-ripple{background-color:#0097a7}.dark-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#b0bec5}.dark-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.dark-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#0097a7}.dark-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#b0bec5}.dark-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after{color:#f44336}.dark-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label{color:#f44336}.dark-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.dark-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.dark-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.dark-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.dark-theme .mat-error{color:#f44336}.dark-theme .mat-form-field-appearance-legacy .mat-form-field-label{color:#ffffffb3}.dark-theme .mat-form-field-appearance-legacy .mat-hint{color:#ffffffb3}.dark-theme .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:#ffffffb3}.dark-theme .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0%,rgba(255,255,255,.7) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.dark-theme .mat-form-field-appearance-standard .mat-form-field-underline{background-color:#ffffffb3}.dark-theme .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0%,rgba(255,255,255,.7) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.dark-theme .mat-form-field-appearance-fill .mat-form-field-flex{background-color:#ffffff1a}.dark-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:#ffffff0d}.dark-theme .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:#ffffff80}.dark-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:#ffffff80}.dark-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.dark-theme .mat-form-field-appearance-outline .mat-form-field-outline{color:#ffffff4d}.dark-theme .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#fff}.dark-theme .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#0097a7}.dark-theme .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#b0bec5}.dark-theme .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick{color:#f44336}.dark-theme .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.dark-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:#ffffff80}.dark-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:#ffffff26}.dark-theme .mat-icon.mat-primary{color:#0097a7}.dark-theme .mat-icon.mat-accent{color:#b0bec5}.dark-theme .mat-icon.mat-warn{color:#f44336}.dark-theme .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:#ffffffb3}.dark-theme .mat-input-element:disabled,.dark-theme .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after{color:#ffffff80}.dark-theme .mat-input-element{caret-color:#0097a7}.dark-theme .mat-input-element::placeholder{color:#ffffff80}.dark-theme .mat-input-element::-moz-placeholder{color:#ffffff80}.dark-theme .mat-input-element::-webkit-input-placeholder{color:#ffffff80}.dark-theme .mat-input-element:-ms-input-placeholder{color:#ffffff80}.dark-theme .mat-input-element:not(.mat-native-select-inline) option{color:#000000de}.dark-theme .mat-input-element:not(.mat-native-select-inline) option:disabled{color:#00000061}.dark-theme .mat-form-field.mat-accent .mat-input-element{caret-color:#b0bec5}.dark-theme .mat-form-field.mat-warn .mat-input-element,.dark-theme .mat-form-field-invalid .mat-input-element{caret-color:#f44336}.dark-theme .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.dark-theme .mat-list-base .mat-list-item{color:#fff}.dark-theme .mat-list-base .mat-list-option{color:#fff}.dark-theme .mat-list-base .mat-subheader{color:#ffffffb3}.dark-theme .mat-list-item-disabled{background-color:#000}.dark-theme .mat-list-option:hover,.dark-theme .mat-list-option:focus,.dark-theme .mat-nav-list .mat-list-item:hover,.dark-theme .mat-nav-list .mat-list-item:focus,.dark-theme .mat-action-list .mat-list-item:hover,.dark-theme .mat-action-list .mat-list-item:focus{background:rgba(255,255,255,.04)}.dark-theme .mat-list-single-selected-option,.dark-theme .mat-list-single-selected-option:hover,.dark-theme .mat-list-single-selected-option:focus{background:rgba(255,255,255,.12)}.dark-theme .mat-menu-panel{background:#263238}.dark-theme .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.dark-theme .mat-menu-item{background:transparent;color:#fff}.dark-theme .mat-menu-item[disabled],.dark-theme .mat-menu-item[disabled] .mat-menu-submenu-icon,.dark-theme .mat-menu-item[disabled] .mat-icon-no-color{color:#ffffff80}.dark-theme .mat-menu-item .mat-icon-no-color,.dark-theme .mat-menu-submenu-icon{color:#fff}.dark-theme .mat-menu-item:hover:not([disabled]),.dark-theme .mat-menu-item.cdk-program-focused:not([disabled]),.dark-theme .mat-menu-item.cdk-keyboard-focused:not([disabled]),.dark-theme .mat-menu-item-highlighted:not([disabled]){background:rgba(255,255,255,.04)}.dark-theme .mat-paginator{background:#263238}.dark-theme .mat-paginator,.dark-theme .mat-paginator-page-size .mat-select-trigger{color:#ffffffb3}.dark-theme .mat-paginator-decrement,.dark-theme .mat-paginator-increment{border-top:2px solid white;border-right:2px solid white}.dark-theme .mat-paginator-first,.dark-theme .mat-paginator-last{border-top:2px solid white}.dark-theme .mat-icon-button[disabled] .mat-paginator-decrement,.dark-theme .mat-icon-button[disabled] .mat-paginator-increment,.dark-theme .mat-icon-button[disabled] .mat-paginator-first,.dark-theme .mat-icon-button[disabled] .mat-paginator-last{border-color:#ffffff80}.dark-theme .mat-progress-bar-background{fill:#1d4b54}.dark-theme .mat-progress-bar-buffer{background-color:#1d4b54}.dark-theme .mat-progress-bar-fill:after{background-color:#0097a7}.dark-theme .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#49555b}.dark-theme .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#49555b}.dark-theme .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#b0bec5}.dark-theme .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#5a3638}.dark-theme .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#5a3638}.dark-theme .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.dark-theme .mat-progress-spinner circle,.dark-theme .mat-spinner circle{stroke:#0097a7}.dark-theme .mat-progress-spinner.mat-accent circle,.dark-theme .mat-spinner.mat-accent circle{stroke:#b0bec5}.dark-theme .mat-progress-spinner.mat-warn circle,.dark-theme .mat-spinner.mat-warn circle{stroke:#f44336}.dark-theme .mat-radio-outer-circle{border-color:#ffffffb3}.dark-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#0097a7}.dark-theme .mat-radio-button.mat-primary .mat-radio-inner-circle,.dark-theme .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.dark-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.dark-theme .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#0097a7}.dark-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#b0bec5}.dark-theme .mat-radio-button.mat-accent .mat-radio-inner-circle,.dark-theme .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.dark-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.dark-theme .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#b0bec5}.dark-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.dark-theme .mat-radio-button.mat-warn .mat-radio-inner-circle,.dark-theme .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.dark-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.dark-theme .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.dark-theme .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.dark-theme .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:#ffffff80}.dark-theme .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element,.dark-theme .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle{background-color:#ffffff80}.dark-theme .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:#ffffff80}.dark-theme .mat-radio-button .mat-ripple-element{background-color:#fff}.dark-theme .mat-select-value{color:#fff}.dark-theme .mat-select-placeholder{color:#ffffff80}.dark-theme .mat-select-disabled .mat-select-value{color:#ffffff80}.dark-theme .mat-select-arrow{color:#ffffffb3}.dark-theme .mat-select-panel{background:#263238}.dark-theme .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.dark-theme .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(255,255,255,.12)}.dark-theme .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#0097a7}.dark-theme .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#b0bec5}.dark-theme .mat-form-field.mat-focused.mat-warn .mat-select-arrow{color:#f44336}.dark-theme .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.dark-theme .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:#ffffff80}.dark-theme .mat-drawer-container{background-color:#263238;color:#fff}.dark-theme .mat-drawer{background-color:#263238;color:#fff}.dark-theme .mat-drawer.mat-drawer-push{background-color:#263238}.dark-theme .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.dark-theme .mat-drawer-side{border-right:solid 1px rgba(255,255,255,.12)}.dark-theme .mat-drawer-side.mat-drawer-end{border-left:solid 1px rgba(255,255,255,.12);border-right:none}.dark-theme [dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(255,255,255,.12);border-right:none}.dark-theme [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(255,255,255,.12)}.dark-theme .mat-drawer-backdrop.mat-drawer-shown{background-color:#d9cdc799}.dark-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#b0bec5}.dark-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#b0bec58a}.dark-theme .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#b0bec5}.dark-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#0097a7}.dark-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:#0097a78a}.dark-theme .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#0097a7}.dark-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.dark-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:#f443368a}.dark-theme .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.dark-theme .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#fff}.dark-theme .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background-color:#bdbdbd}.dark-theme .mat-slide-toggle-bar{background-color:#ffffff80}.dark-theme .mat-slider-track-background{background-color:#ffffff4d}.dark-theme .mat-primary .mat-slider-track-fill,.dark-theme .mat-primary .mat-slider-thumb,.dark-theme .mat-primary .mat-slider-thumb-label{background-color:#0097a7}.dark-theme .mat-primary .mat-slider-thumb-label-text{color:#fff}.dark-theme .mat-primary .mat-slider-focus-ring{background-color:#0097a733}.dark-theme .mat-accent .mat-slider-track-fill,.dark-theme .mat-accent .mat-slider-thumb,.dark-theme .mat-accent .mat-slider-thumb-label{background-color:#b0bec5}.dark-theme .mat-accent .mat-slider-thumb-label-text{color:#000000de}.dark-theme .mat-accent .mat-slider-focus-ring{background-color:#b0bec533}.dark-theme .mat-warn .mat-slider-track-fill,.dark-theme .mat-warn .mat-slider-thumb,.dark-theme .mat-warn .mat-slider-thumb-label{background-color:#f44336}.dark-theme .mat-warn .mat-slider-thumb-label-text{color:#fff}.dark-theme .mat-warn .mat-slider-focus-ring{background-color:#f4433633}.dark-theme .mat-slider:hover .mat-slider-track-background,.dark-theme .mat-slider.cdk-focused .mat-slider-track-background{background-color:#ffffff4d}.dark-theme .mat-slider-disabled .mat-slider-track-background,.dark-theme .mat-slider-disabled .mat-slider-track-fill,.dark-theme .mat-slider-disabled .mat-slider-thumb{background-color:#ffffff4d}.dark-theme .mat-slider-disabled:hover .mat-slider-track-background{background-color:#ffffff4d}.dark-theme .mat-slider-min-value .mat-slider-focus-ring{background-color:#ffffff1f}.dark-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.dark-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:#fff}.dark-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.dark-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:#ffffff4d}.dark-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:#ffffff4d;background-color:transparent}.dark-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb,.dark-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb{border-color:#ffffff4d}.dark-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb,.dark-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb{border-color:#ffffff4d}.dark-theme .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:#ffffffb3}.dark-theme .mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(to right,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.dark-theme .mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(to bottom,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.dark-theme .mat-step-header.cdk-keyboard-focused,.dark-theme .mat-step-header.cdk-program-focused,.dark-theme .mat-step-header:hover:not([aria-disabled]),.dark-theme .mat-step-header:hover[aria-disabled=false]{background-color:#ffffff0a}.dark-theme .mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.dark-theme .mat-step-header:hover{background:none}}.dark-theme .mat-step-header .mat-step-label,.dark-theme .mat-step-header .mat-step-optional{color:#ffffffb3}.dark-theme .mat-step-header .mat-step-icon{background-color:#ffffffb3;color:#fff}.dark-theme .mat-step-header .mat-step-icon-selected,.dark-theme .mat-step-header .mat-step-icon-state-done,.dark-theme .mat-step-header .mat-step-icon-state-edit{background-color:#0097a7;color:#fff}.dark-theme .mat-step-header.mat-accent .mat-step-icon{color:#000000de}.dark-theme .mat-step-header.mat-accent .mat-step-icon-selected,.dark-theme .mat-step-header.mat-accent .mat-step-icon-state-done,.dark-theme .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#b0bec5;color:#000000de}.dark-theme .mat-step-header.mat-warn .mat-step-icon{color:#fff}.dark-theme .mat-step-header.mat-warn .mat-step-icon-selected,.dark-theme .mat-step-header.mat-warn .mat-step-icon-state-done,.dark-theme .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.dark-theme .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.dark-theme .mat-step-header .mat-step-label.mat-step-label-active{color:#fff}.dark-theme .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.dark-theme .mat-stepper-horizontal,.dark-theme .mat-stepper-vertical{background-color:#263238}.dark-theme .mat-stepper-vertical-line:before{border-left-color:#ffffff1f}.dark-theme .mat-horizontal-stepper-header:before,.dark-theme .mat-horizontal-stepper-header:after,.dark-theme .mat-stepper-horizontal-line{border-top-color:#ffffff1f}.dark-theme .mat-tab-nav-bar,.dark-theme .mat-tab-header{border-bottom:1px solid rgba(255,255,255,.12)}.dark-theme .mat-tab-group-inverted-header .mat-tab-nav-bar,.dark-theme .mat-tab-group-inverted-header .mat-tab-header{border-top:1px solid rgba(255,255,255,.12);border-bottom:none}.dark-theme .mat-tab-label,.dark-theme .mat-tab-link{color:#fff}.dark-theme .mat-tab-label.mat-tab-disabled,.dark-theme .mat-tab-link.mat-tab-disabled{color:#ffffff80}.dark-theme .mat-tab-header-pagination-chevron{border-color:#fff}.dark-theme .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#ffffff80}.dark-theme .mat-tab-group[class*=mat-background-]>.mat-tab-header,.dark-theme .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.dark-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#00bcd44d}.dark-theme .mat-tab-group.mat-primary .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#0097a7}.dark-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.dark-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.dark-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#cfd8dc4d}.dark-theme .mat-tab-group.mat-accent .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#b0bec5}.dark-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.dark-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#000000de}.dark-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.dark-theme .mat-tab-group.mat-warn .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.dark-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.dark-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.dark-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#00bcd44d}.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination{background-color:#0097a7}.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#fff}.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.dark-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#cfd8dc4d}.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination{background-color:#b0bec5}.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#000000de}.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#0006}.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before{border-color:#000000de}.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#000;opacity:.4}.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element{background-color:#000;opacity:.12}.dark-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination{background-color:#f44336}.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.dark-theme .mat-toolbar{background:#212121;color:#fff}.dark-theme .mat-toolbar.mat-primary{background:#263238;color:#fff}.dark-theme .mat-toolbar.mat-accent{background:#0097a7;color:#fff}.dark-theme .mat-toolbar.mat-warn{background:#f44336;color:#fff}.dark-theme .mat-toolbar .mat-form-field-underline,.dark-theme .mat-toolbar .mat-form-field-ripple,.dark-theme .mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.dark-theme .mat-toolbar .mat-form-field-label,.dark-theme .mat-toolbar .mat-focused .mat-form-field-label,.dark-theme .mat-toolbar .mat-select-value,.dark-theme .mat-toolbar .mat-select-arrow,.dark-theme .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.dark-theme .mat-toolbar .mat-input-element{caret-color:currentColor}.dark-theme .mat-snack-bar-container{color:#000000de;background:#fafafa;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.dark-theme .mat-simple-snackbar-action{color:inherit}.light-theme .mat-ripple-element{background-color:#0000001a}.light-theme .mat-option{color:#000000de}.light-theme .mat-option:hover:not(.mat-option-disabled),.light-theme .mat-option:focus:not(.mat-option-disabled){background:rgba(255,255,255,.04)}.light-theme .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled){background:rgba(255,255,255,.04)}.light-theme .mat-option.mat-active{background:rgba(255,255,255,.04);color:#000000de}.light-theme .mat-option.mat-option-disabled{color:#00000061}.light-theme .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#0097a7}.light-theme .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#b0bec5}.light-theme .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.light-theme .mat-optgroup-label{color:#0000008a}.light-theme .mat-optgroup-disabled .mat-optgroup-label{color:#00000061}.light-theme .mat-pseudo-checkbox{color:#0000008a}.light-theme .mat-pseudo-checkbox:after{color:#fff}.light-theme .mat-pseudo-checkbox-disabled{color:#b0b0b0}.light-theme .mat-primary .mat-pseudo-checkbox-checked,.light-theme .mat-primary .mat-pseudo-checkbox-indeterminate{background:#0097a7}.light-theme .mat-pseudo-checkbox-checked,.light-theme .mat-pseudo-checkbox-indeterminate,.light-theme .mat-accent .mat-pseudo-checkbox-checked,.light-theme .mat-accent .mat-pseudo-checkbox-indeterminate{background:#b0bec5}.light-theme .mat-warn .mat-pseudo-checkbox-checked,.light-theme .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.light-theme .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.light-theme .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.light-theme .mat-app-background,.light-theme.mat-app-background{background-color:#fff;color:#000000de}.light-theme .mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.light-theme .mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.light-theme .mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.light-theme .mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.light-theme .mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.light-theme .mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.light-theme .mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.light-theme .mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.light-theme .mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.light-theme .mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.light-theme .mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.light-theme .mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.light-theme .mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.light-theme .mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.light-theme .mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.light-theme .mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.light-theme .mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.light-theme .mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.light-theme .mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.light-theme .mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.light-theme .mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.light-theme .mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.light-theme .mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.light-theme .mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.light-theme .mat-elevation-z24{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker{display:none}.light-theme .mat-autocomplete-panel{background:white;color:#000000de}.light-theme .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.light-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:white}.light-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#000000de}.light-theme .mat-button,.light-theme .mat-icon-button,.light-theme .mat-stroked-button{color:inherit;background:transparent}.light-theme .mat-button.mat-primary,.light-theme .mat-icon-button.mat-primary,.light-theme .mat-stroked-button.mat-primary{color:#0097a7}.light-theme .mat-button.mat-accent,.light-theme .mat-icon-button.mat-accent,.light-theme .mat-stroked-button.mat-accent{color:#b0bec5}.light-theme .mat-button.mat-warn,.light-theme .mat-icon-button.mat-warn,.light-theme .mat-stroked-button.mat-warn{color:#f44336}.light-theme .mat-button.mat-primary.mat-button-disabled,.light-theme .mat-button.mat-accent.mat-button-disabled,.light-theme .mat-button.mat-warn.mat-button-disabled,.light-theme .mat-button.mat-button-disabled.mat-button-disabled,.light-theme .mat-icon-button.mat-primary.mat-button-disabled,.light-theme .mat-icon-button.mat-accent.mat-button-disabled,.light-theme .mat-icon-button.mat-warn.mat-button-disabled,.light-theme .mat-icon-button.mat-button-disabled.mat-button-disabled,.light-theme .mat-stroked-button.mat-primary.mat-button-disabled,.light-theme .mat-stroked-button.mat-accent.mat-button-disabled,.light-theme .mat-stroked-button.mat-warn.mat-button-disabled,.light-theme .mat-stroked-button.mat-button-disabled.mat-button-disabled{color:#00000042}.light-theme .mat-button.mat-primary .mat-button-focus-overlay,.light-theme .mat-icon-button.mat-primary .mat-button-focus-overlay,.light-theme .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#0097a7}.light-theme .mat-button.mat-accent .mat-button-focus-overlay,.light-theme .mat-icon-button.mat-accent .mat-button-focus-overlay,.light-theme .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#b0bec5}.light-theme .mat-button.mat-warn .mat-button-focus-overlay,.light-theme .mat-icon-button.mat-warn .mat-button-focus-overlay,.light-theme .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.light-theme .mat-button.mat-button-disabled .mat-button-focus-overlay,.light-theme .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.light-theme .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.light-theme .mat-button .mat-ripple-element,.light-theme .mat-icon-button .mat-ripple-element,.light-theme .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.light-theme .mat-button-focus-overlay{background:black}.light-theme .mat-stroked-button:not(.mat-button-disabled){border-color:#0000001f}.light-theme .mat-flat-button,.light-theme .mat-raised-button,.light-theme .mat-fab,.light-theme .mat-mini-fab{color:#000000de;background-color:#fff}.light-theme .mat-flat-button.mat-primary,.light-theme .mat-raised-button.mat-primary,.light-theme .mat-fab.mat-primary,.light-theme .mat-mini-fab.mat-primary{color:#fff}.light-theme .mat-flat-button.mat-accent,.light-theme .mat-raised-button.mat-accent,.light-theme .mat-fab.mat-accent,.light-theme .mat-mini-fab.mat-accent{color:#000000de}.light-theme .mat-flat-button.mat-warn,.light-theme .mat-raised-button.mat-warn,.light-theme .mat-fab.mat-warn,.light-theme .mat-mini-fab.mat-warn{color:#fff}.light-theme .mat-flat-button.mat-primary.mat-button-disabled,.light-theme .mat-flat-button.mat-accent.mat-button-disabled,.light-theme .mat-flat-button.mat-warn.mat-button-disabled,.light-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.light-theme .mat-raised-button.mat-primary.mat-button-disabled,.light-theme .mat-raised-button.mat-accent.mat-button-disabled,.light-theme .mat-raised-button.mat-warn.mat-button-disabled,.light-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.light-theme .mat-fab.mat-primary.mat-button-disabled,.light-theme .mat-fab.mat-accent.mat-button-disabled,.light-theme .mat-fab.mat-warn.mat-button-disabled,.light-theme .mat-fab.mat-button-disabled.mat-button-disabled,.light-theme .mat-mini-fab.mat-primary.mat-button-disabled,.light-theme .mat-mini-fab.mat-accent.mat-button-disabled,.light-theme .mat-mini-fab.mat-warn.mat-button-disabled,.light-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled{color:#00000042}.light-theme .mat-flat-button.mat-primary,.light-theme .mat-raised-button.mat-primary,.light-theme .mat-fab.mat-primary,.light-theme .mat-mini-fab.mat-primary{background-color:#0097a7}.light-theme .mat-flat-button.mat-accent,.light-theme .mat-raised-button.mat-accent,.light-theme .mat-fab.mat-accent,.light-theme .mat-mini-fab.mat-accent{background-color:#b0bec5}.light-theme .mat-flat-button.mat-warn,.light-theme .mat-raised-button.mat-warn,.light-theme .mat-fab.mat-warn,.light-theme .mat-mini-fab.mat-warn{background-color:#f44336}.light-theme .mat-flat-button.mat-primary.mat-button-disabled,.light-theme .mat-flat-button.mat-accent.mat-button-disabled,.light-theme .mat-flat-button.mat-warn.mat-button-disabled,.light-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.light-theme .mat-raised-button.mat-primary.mat-button-disabled,.light-theme .mat-raised-button.mat-accent.mat-button-disabled,.light-theme .mat-raised-button.mat-warn.mat-button-disabled,.light-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.light-theme .mat-fab.mat-primary.mat-button-disabled,.light-theme .mat-fab.mat-accent.mat-button-disabled,.light-theme .mat-fab.mat-warn.mat-button-disabled,.light-theme .mat-fab.mat-button-disabled.mat-button-disabled,.light-theme .mat-mini-fab.mat-primary.mat-button-disabled,.light-theme .mat-mini-fab.mat-accent.mat-button-disabled,.light-theme .mat-mini-fab.mat-warn.mat-button-disabled,.light-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled{background-color:#ffffff1f}.light-theme .mat-flat-button.mat-primary .mat-ripple-element,.light-theme .mat-raised-button.mat-primary .mat-ripple-element,.light-theme .mat-fab.mat-primary .mat-ripple-element,.light-theme .mat-mini-fab.mat-primary .mat-ripple-element{background-color:#ffffff1a}.light-theme .mat-flat-button.mat-accent .mat-ripple-element,.light-theme .mat-raised-button.mat-accent .mat-ripple-element,.light-theme .mat-fab.mat-accent .mat-ripple-element,.light-theme .mat-mini-fab.mat-accent .mat-ripple-element{background-color:#0000001a}.light-theme .mat-flat-button.mat-warn .mat-ripple-element,.light-theme .mat-raised-button.mat-warn .mat-ripple-element,.light-theme .mat-fab.mat-warn .mat-ripple-element,.light-theme .mat-mini-fab.mat-warn .mat-ripple-element{background-color:#ffffff1a}.light-theme .mat-stroked-button:not([class*=mat-elevation-z]),.light-theme .mat-flat-button:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.light-theme .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.light-theme .mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.light-theme .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.light-theme .mat-fab:not([class*=mat-elevation-z]),.light-theme .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.light-theme .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.light-theme .mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.light-theme .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.light-theme .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.light-theme .mat-button-toggle-standalone,.light-theme .mat-button-toggle-group{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.light-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.light-theme .mat-button-toggle-group-appearance-standard{box-shadow:none}.light-theme .mat-button-toggle{color:#00000061}.light-theme .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:#ffffff0f}.light-theme .mat-button-toggle-appearance-standard{color:#000000de;background:white}.light-theme .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#fff}.light-theme .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:solid 1px rgba(0,0,0,.12)}.light-theme [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px rgba(0,0,0,.12)}.light-theme .mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:solid 1px rgba(0,0,0,.12)}.light-theme .mat-button-toggle-checked{background-color:#0d47a1;color:#0000008a}.light-theme .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#000000de}.light-theme .mat-button-toggle-disabled{color:#00000042;background-color:#000}.light-theme .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:white}.light-theme .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#1565c0}.light-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.light-theme .mat-button-toggle-group-appearance-standard{border:solid 1px rgba(0,0,0,.12)}.light-theme .mat-card{background:white;color:#000000de}.light-theme .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.light-theme .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.light-theme .mat-card-subtitle{color:#0000008a}.light-theme .mat-checkbox-frame{border-color:#0000008a}.light-theme .mat-checkbox-checkmark{fill:#fff}.light-theme .mat-checkbox-checkmark-path{stroke:#fff!important}.light-theme .mat-checkbox-mixedmark{background-color:#fff}.light-theme .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background,.light-theme .mat-checkbox-checked.mat-primary .mat-checkbox-background{background-color:#0097a7}.light-theme .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.light-theme .mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:#b0bec5}.light-theme .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background,.light-theme .mat-checkbox-checked.mat-warn .mat-checkbox-background{background-color:#f44336}.light-theme .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.light-theme .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.light-theme .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.light-theme .mat-checkbox-disabled .mat-checkbox-label{color:#0000008a}.light-theme .mat-checkbox .mat-ripple-element{background-color:#000}.light-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.light-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#0097a7}.light-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.light-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#b0bec5}.light-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.light-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.light-theme .mat-chip.mat-standard-chip{background-color:#1976d2;color:#000000de}.light-theme .mat-chip.mat-standard-chip .mat-chip-remove{color:#000000de;opacity:.4}.light-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.light-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.light-theme .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.light-theme .mat-chip.mat-standard-chip:after{background:black}.light-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#0097a7;color:#fff}.light-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.light-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:#ffffff1a}.light-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.light-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.light-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:#ffffff1a}.light-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#b0bec5;color:#000000de}.light-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#000000de;opacity:.4}.light-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:#0000001a}.light-theme .mat-table{background:white}.light-theme .mat-table thead,.light-theme .mat-table tbody,.light-theme .mat-table tfoot,.light-theme mat-header-row,.light-theme mat-row,.light-theme mat-footer-row,.light-theme [mat-header-row],.light-theme [mat-row],.light-theme [mat-footer-row],.light-theme .mat-table-sticky{background:inherit}.light-theme mat-row,.light-theme mat-header-row,.light-theme mat-footer-row,.light-theme th.mat-header-cell,.light-theme td.mat-cell,.light-theme td.mat-footer-cell{border-bottom-color:#0000001f}.light-theme .mat-header-cell{color:#0000008a}.light-theme .mat-cell,.light-theme .mat-footer-cell{color:#000000de}.light-theme .mat-calendar-arrow{fill:#0000008a}.light-theme .mat-datepicker-toggle,.light-theme .mat-datepicker-content .mat-calendar-next-button,.light-theme .mat-datepicker-content .mat-calendar-previous-button{color:#0000008a}.light-theme .mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.light-theme .mat-calendar-table-header,.light-theme .mat-calendar-body-label{color:#0000008a}.light-theme .mat-calendar-body-cell-content,.light-theme .mat-date-range-input-separator{color:#000000de;border-color:transparent}.light-theme .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#00000061}.light-theme .mat-form-field-disabled .mat-date-range-input-separator{color:#00000061}.light-theme .mat-calendar-body-in-preview{color:#0000003d}.light-theme .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#00000061}.light-theme .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#0000002e}.light-theme .mat-calendar-body-in-range:before{background:rgba(0,151,167,.2)}.light-theme .mat-calendar-body-comparison-identical,.light-theme .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.light-theme .mat-calendar-body-comparison-bridge-start:before,.light-theme [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(0,151,167,.2) 50%,rgba(249,171,0,.2) 50%)}.light-theme .mat-calendar-body-comparison-bridge-end:before,.light-theme [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(0,151,167,.2) 50%,rgba(249,171,0,.2) 50%)}.light-theme .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.light-theme .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.light-theme .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.light-theme .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.light-theme .mat-calendar-body-selected{background-color:#0097a7;color:#fff}.light-theme .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#0097a766}.light-theme .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.light-theme .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.light-theme .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.light-theme .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#0097a74d}.light-theme .mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#fff;color:#000000de}.light-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(176,190,197,.2)}.light-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.light-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.light-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.light-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(176,190,197,.2) 50%,rgba(249,171,0,.2) 50%)}.light-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.light-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(176,190,197,.2) 50%,rgba(249,171,0,.2) 50%)}.light-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.light-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.light-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.light-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.light-theme .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#b0bec5;color:#000000de}.light-theme .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#b0bec566}.light-theme .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #000000de}.light-theme .mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.light-theme .mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.light-theme .mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#b0bec54d}.light-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.light-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.light-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.light-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.light-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.light-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.light-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.light-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.light-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.light-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.light-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.light-theme .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.light-theme .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#f4433666}.light-theme .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.light-theme .mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.light-theme .mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.light-theme .mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}.light-theme .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.light-theme .mat-datepicker-toggle-active{color:#0097a7}.light-theme .mat-datepicker-toggle-active.mat-accent{color:#b0bec5}.light-theme .mat-datepicker-toggle-active.mat-warn{color:#f44336}.light-theme .mat-date-range-input-inner[disabled]{color:#00000061}.light-theme .mat-dialog-container{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f;background:white;color:#000000de}.light-theme .mat-expansion-panel{background:white;color:#000000de}.light-theme .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.light-theme .mat-action-row{border-top-color:#0000001f}.light-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.light-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.light-theme .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(255,255,255,.04)}@media (hover: none){.light-theme .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:white}}.light-theme .mat-expansion-panel-header-title{color:#000000de}.light-theme .mat-expansion-panel-header-description,.light-theme .mat-expansion-indicator:after{color:#0000008a}.light-theme .mat-expansion-panel-header[aria-disabled=true]{color:#00000042}.light-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.light-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.light-theme .mat-form-field-label{color:#0009}.light-theme .mat-hint{color:#0009}.light-theme .mat-form-field.mat-focused .mat-form-field-label{color:#0097a7}.light-theme .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#b0bec5}.light-theme .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.light-theme .mat-focused .mat-form-field-required-marker{color:#b0bec5}.light-theme .mat-form-field-ripple{background-color:#000000de}.light-theme .mat-form-field.mat-focused .mat-form-field-ripple{background-color:#0097a7}.light-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#b0bec5}.light-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.light-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#0097a7}.light-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#b0bec5}.light-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after{color:#f44336}.light-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label{color:#f44336}.light-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.light-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.light-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.light-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.light-theme .mat-error{color:#f44336}.light-theme .mat-form-field-appearance-legacy .mat-form-field-label{color:#0000008a}.light-theme .mat-form-field-appearance-legacy .mat-hint{color:#0000008a}.light-theme .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:#0000006b}.light-theme .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0%,rgba(0,0,0,.42) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.light-theme .mat-form-field-appearance-standard .mat-form-field-underline{background-color:#0000006b}.light-theme .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0%,rgba(0,0,0,.42) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.light-theme .mat-form-field-appearance-fill .mat-form-field-flex{background-color:#0000000a}.light-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:#00000005}.light-theme .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:#0000006b}.light-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:#00000061}.light-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.light-theme .mat-form-field-appearance-outline .mat-form-field-outline{color:#0000001f}.light-theme .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#000000de}.light-theme .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#0097a7}.light-theme .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#b0bec5}.light-theme .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick{color:#f44336}.light-theme .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.light-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:#00000061}.light-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:#0000000f}.light-theme .mat-icon.mat-primary{color:#0097a7}.light-theme .mat-icon.mat-accent{color:#b0bec5}.light-theme .mat-icon.mat-warn{color:#f44336}.light-theme .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:#0000008a}.light-theme .mat-input-element:disabled,.light-theme .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after{color:#00000061}.light-theme .mat-input-element{caret-color:#0097a7}.light-theme .mat-input-element::placeholder{color:#0000006b}.light-theme .mat-input-element::-moz-placeholder{color:#0000006b}.light-theme .mat-input-element::-webkit-input-placeholder{color:#0000006b}.light-theme .mat-input-element:-ms-input-placeholder{color:#0000006b}.light-theme .mat-form-field.mat-accent .mat-input-element{caret-color:#b0bec5}.light-theme .mat-form-field.mat-warn .mat-input-element,.light-theme .mat-form-field-invalid .mat-input-element{caret-color:#f44336}.light-theme .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.light-theme .mat-list-base .mat-list-item{color:#000000de}.light-theme .mat-list-base .mat-list-option{color:#000000de}.light-theme .mat-list-base .mat-subheader{color:#0000008a}.light-theme .mat-list-item-disabled{background-color:#000}.light-theme .mat-list-option:hover,.light-theme .mat-list-option:focus,.light-theme .mat-nav-list .mat-list-item:hover,.light-theme .mat-nav-list .mat-list-item:focus,.light-theme .mat-action-list .mat-list-item:hover,.light-theme .mat-action-list .mat-list-item:focus{background:rgba(255,255,255,.04)}.light-theme .mat-list-single-selected-option,.light-theme .mat-list-single-selected-option:hover,.light-theme .mat-list-single-selected-option:focus{background:rgba(255,255,255,.12)}.light-theme .mat-menu-panel{background:white}.light-theme .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.light-theme .mat-menu-item{background:transparent;color:#000000de}.light-theme .mat-menu-item[disabled],.light-theme .mat-menu-item[disabled] .mat-menu-submenu-icon,.light-theme .mat-menu-item[disabled] .mat-icon-no-color{color:#00000061}.light-theme .mat-menu-item .mat-icon-no-color,.light-theme .mat-menu-submenu-icon{color:#0000008a}.light-theme .mat-menu-item:hover:not([disabled]),.light-theme .mat-menu-item.cdk-program-focused:not([disabled]),.light-theme .mat-menu-item.cdk-keyboard-focused:not([disabled]),.light-theme .mat-menu-item-highlighted:not([disabled]){background:rgba(255,255,255,.04)}.light-theme .mat-paginator{background:white}.light-theme .mat-paginator,.light-theme .mat-paginator-page-size .mat-select-trigger{color:#0000008a}.light-theme .mat-paginator-decrement,.light-theme .mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.light-theme .mat-paginator-first,.light-theme .mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.light-theme .mat-icon-button[disabled] .mat-paginator-decrement,.light-theme .mat-icon-button[disabled] .mat-paginator-increment,.light-theme .mat-icon-button[disabled] .mat-paginator-first,.light-theme .mat-icon-button[disabled] .mat-paginator-last{border-color:#00000061}.light-theme .mat-progress-bar-background{fill:#bfe5e9}.light-theme .mat-progress-bar-buffer{background-color:#bfe5e9}.light-theme .mat-progress-bar-fill:after{background-color:#0097a7}.light-theme .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#ebeff1}.light-theme .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#ebeff1}.light-theme .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#b0bec5}.light-theme .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#fcd0cd}.light-theme .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#fcd0cd}.light-theme .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.light-theme .mat-progress-spinner circle,.light-theme .mat-spinner circle{stroke:#0097a7}.light-theme .mat-progress-spinner.mat-accent circle,.light-theme .mat-spinner.mat-accent circle{stroke:#b0bec5}.light-theme .mat-progress-spinner.mat-warn circle,.light-theme .mat-spinner.mat-warn circle{stroke:#f44336}.light-theme .mat-radio-outer-circle{border-color:#0000008a}.light-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#0097a7}.light-theme .mat-radio-button.mat-primary .mat-radio-inner-circle,.light-theme .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.light-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.light-theme .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#0097a7}.light-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#b0bec5}.light-theme .mat-radio-button.mat-accent .mat-radio-inner-circle,.light-theme .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.light-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.light-theme .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#b0bec5}.light-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.light-theme .mat-radio-button.mat-warn .mat-radio-inner-circle,.light-theme .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.light-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.light-theme .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.light-theme .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.light-theme .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:#00000061}.light-theme .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element,.light-theme .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle{background-color:#00000061}.light-theme .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:#00000061}.light-theme .mat-radio-button .mat-ripple-element{background-color:#000}.light-theme .mat-select-value{color:#000000de}.light-theme .mat-select-placeholder{color:#0000006b}.light-theme .mat-select-disabled .mat-select-value{color:#00000061}.light-theme .mat-select-arrow{color:#0000008a}.light-theme .mat-select-panel{background:white}.light-theme .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.light-theme .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(255,255,255,.12)}.light-theme .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#0097a7}.light-theme .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#b0bec5}.light-theme .mat-form-field.mat-focused.mat-warn .mat-select-arrow{color:#f44336}.light-theme .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.light-theme .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:#00000061}.light-theme .mat-drawer-container{background-color:#fff;color:#000000de}.light-theme .mat-drawer{background-color:#fff;color:#000000de}.light-theme .mat-drawer.mat-drawer-push{background-color:#fff}.light-theme .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.light-theme .mat-drawer-side{border-right:solid 1px rgba(0,0,0,.12)}.light-theme .mat-drawer-side.mat-drawer-end{border-left:solid 1px rgba(0,0,0,.12);border-right:none}.light-theme [dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(0,0,0,.12);border-right:none}.light-theme [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(0,0,0,.12)}.light-theme .mat-drawer-backdrop.mat-drawer-shown{background-color:#0009}.light-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#b0bec5}.light-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#b0bec58a}.light-theme .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#b0bec5}.light-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#0097a7}.light-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:#0097a78a}.light-theme .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#0097a7}.light-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.light-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:#f443368a}.light-theme .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.light-theme .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.light-theme .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background-color:#fafafa}.light-theme .mat-slide-toggle-bar{background-color:#00000061}.light-theme .mat-slider-track-background{background-color:#00000042}.light-theme .mat-primary .mat-slider-track-fill,.light-theme .mat-primary .mat-slider-thumb,.light-theme .mat-primary .mat-slider-thumb-label{background-color:#0097a7}.light-theme .mat-primary .mat-slider-thumb-label-text{color:#fff}.light-theme .mat-primary .mat-slider-focus-ring{background-color:#0097a733}.light-theme .mat-accent .mat-slider-track-fill,.light-theme .mat-accent .mat-slider-thumb,.light-theme .mat-accent .mat-slider-thumb-label{background-color:#b0bec5}.light-theme .mat-accent .mat-slider-thumb-label-text{color:#000000de}.light-theme .mat-accent .mat-slider-focus-ring{background-color:#b0bec533}.light-theme .mat-warn .mat-slider-track-fill,.light-theme .mat-warn .mat-slider-thumb,.light-theme .mat-warn .mat-slider-thumb-label{background-color:#f44336}.light-theme .mat-warn .mat-slider-thumb-label-text{color:#fff}.light-theme .mat-warn .mat-slider-focus-ring{background-color:#f4433633}.light-theme .mat-slider:hover .mat-slider-track-background,.light-theme .mat-slider.cdk-focused .mat-slider-track-background{background-color:#00000061}.light-theme .mat-slider-disabled .mat-slider-track-background,.light-theme .mat-slider-disabled .mat-slider-track-fill,.light-theme .mat-slider-disabled .mat-slider-thumb{background-color:#00000042}.light-theme .mat-slider-disabled:hover .mat-slider-track-background{background-color:#00000042}.light-theme .mat-slider-min-value .mat-slider-focus-ring{background-color:#0000001f}.light-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.light-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:#000000de}.light-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.light-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:#00000042}.light-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:#00000042;background-color:transparent}.light-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb,.light-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb{border-color:#00000061}.light-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb,.light-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb{border-color:#00000042}.light-theme .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:#000000b3}.light-theme .mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(to right,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.light-theme .mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(to bottom,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.light-theme .mat-step-header.cdk-keyboard-focused,.light-theme .mat-step-header.cdk-program-focused,.light-theme .mat-step-header:hover:not([aria-disabled]),.light-theme .mat-step-header:hover[aria-disabled=false]{background-color:#ffffff0a}.light-theme .mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.light-theme .mat-step-header:hover{background:none}}.light-theme .mat-step-header .mat-step-label,.light-theme .mat-step-header .mat-step-optional{color:#0000008a}.light-theme .mat-step-header .mat-step-icon{background-color:#0000008a;color:#fff}.light-theme .mat-step-header .mat-step-icon-selected,.light-theme .mat-step-header .mat-step-icon-state-done,.light-theme .mat-step-header .mat-step-icon-state-edit{background-color:#0097a7;color:#fff}.light-theme .mat-step-header.mat-accent .mat-step-icon{color:#000000de}.light-theme .mat-step-header.mat-accent .mat-step-icon-selected,.light-theme .mat-step-header.mat-accent .mat-step-icon-state-done,.light-theme .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#b0bec5;color:#000000de}.light-theme .mat-step-header.mat-warn .mat-step-icon{color:#fff}.light-theme .mat-step-header.mat-warn .mat-step-icon-selected,.light-theme .mat-step-header.mat-warn .mat-step-icon-state-done,.light-theme .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.light-theme .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.light-theme .mat-step-header .mat-step-label.mat-step-label-active{color:#000000de}.light-theme .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.light-theme .mat-stepper-horizontal,.light-theme .mat-stepper-vertical{background-color:#fff}.light-theme .mat-stepper-vertical-line:before{border-left-color:#0000001f}.light-theme .mat-horizontal-stepper-header:before,.light-theme .mat-horizontal-stepper-header:after,.light-theme .mat-stepper-horizontal-line{border-top-color:#0000001f}.light-theme .mat-tab-nav-bar,.light-theme .mat-tab-header{border-bottom:1px solid rgba(0,0,0,.12)}.light-theme .mat-tab-group-inverted-header .mat-tab-nav-bar,.light-theme .mat-tab-group-inverted-header .mat-tab-header{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.light-theme .mat-tab-label,.light-theme .mat-tab-link{color:#000000de}.light-theme .mat-tab-label.mat-tab-disabled,.light-theme .mat-tab-link.mat-tab-disabled{color:#00000061}.light-theme .mat-tab-header-pagination-chevron{border-color:#000000de}.light-theme .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#00000061}.light-theme .mat-tab-group[class*=mat-background-]>.mat-tab-header,.light-theme .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.light-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#00bcd44d}.light-theme .mat-tab-group.mat-primary .mat-ink-bar,.light-theme .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#0097a7}.light-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.light-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.light-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.light-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.light-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#cfd8dc4d}.light-theme .mat-tab-group.mat-accent .mat-ink-bar,.light-theme .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#b0bec5}.light-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.light-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.light-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.light-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#000000de}.light-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.light-theme .mat-tab-group.mat-warn .mat-ink-bar,.light-theme .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.light-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.light-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.light-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.light-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.light-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#00bcd44d}.light-theme .mat-tab-group.mat-background-primary>.mat-tab-header,.light-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container,.light-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination{background-color:#0097a7}.light-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.light-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#fff}.light-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.light-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.light-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.light-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.light-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.light-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.light-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.light-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.light-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.light-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.light-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.light-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.light-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#cfd8dc4d}.light-theme .mat-tab-group.mat-background-accent>.mat-tab-header,.light-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container,.light-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination{background-color:#b0bec5}.light-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.light-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#000000de}.light-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.light-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#0006}.light-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.light-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.light-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.light-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before{border-color:#000000de}.light-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.light-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#000;opacity:.4}.light-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.light-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.light-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.light-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element{background-color:#000;opacity:.12}.light-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.light-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.light-theme .mat-tab-group.mat-background-warn>.mat-tab-header,.light-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container,.light-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination{background-color:#f44336}.light-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.light-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.light-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.light-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.light-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.light-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.light-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.light-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.light-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.light-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.light-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.light-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.light-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.light-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.light-theme .mat-toolbar{background:whitesmoke;color:#000000de}.light-theme .mat-toolbar.mat-primary{background:#0d47a1;color:#fff}.light-theme .mat-toolbar.mat-accent{background:#0097a7;color:#fff}.light-theme .mat-toolbar.mat-warn{background:#f44336;color:#fff}.light-theme .mat-toolbar .mat-form-field-underline,.light-theme .mat-toolbar .mat-form-field-ripple,.light-theme .mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.light-theme .mat-toolbar .mat-form-field-label,.light-theme .mat-toolbar .mat-focused .mat-form-field-label,.light-theme .mat-toolbar .mat-select-value,.light-theme .mat-toolbar .mat-select-arrow,.light-theme .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.light-theme .mat-toolbar .mat-input-element{caret-color:currentColor}.light-theme .mat-snack-bar-container{color:#ffffffb3;background:#323232;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.light-theme .mat-simple-snackbar-action{color:#b0bec5}