@zerops/web-components 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,16 +2,16 @@ var Pe = (t) => {
2
2
  throw TypeError(t);
3
3
  };
4
4
  var ae = (t, e, n) => e.has(t) || Pe("Cannot " + n);
5
- var l = (t, e, n) => (ae(t, e, "read from private field"), n ? n.call(t) : e.get(t)), $ = (t, e, n) => e.has(t) ? Pe("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), h = (t, e, n, o) => (ae(t, e, "write to private field"), o ? o.call(t, n) : e.set(t, n), n), C = (t, e, n) => (ae(t, e, "access private method"), n);
5
+ var d = (t, e, n) => (ae(t, e, "read from private field"), n ? n.call(t) : e.get(t)), $ = (t, e, n) => e.has(t) ? Pe("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), h = (t, e, n, o) => (ae(t, e, "write to private field"), o ? o.call(t, n) : e.set(t, n), n), C = (t, e, n) => (ae(t, e, "access private method"), n);
6
6
  var Oe = (t, e, n, o) => ({
7
7
  set _(i) {
8
8
  h(t, e, i, n);
9
9
  },
10
10
  get _() {
11
- return l(t, e, o);
11
+ return d(t, e, o);
12
12
  }
13
13
  });
14
- import { aa as E, at as j, r as ee, bl as Ve, au as Ge, av as We, ax as G, aA as W, ba as He, bb as bn, aw as m, aC as N, ay as g, aB as P, az as s, aD as mn, bh as R, bN as Q, bi as L, aF as Se, a3 as u, ao as T, B as un, l as Bn, b0 as ze, bA as Kn, n as De, F as Ne, b7 as Ze, b9 as Ue, bL as Gn, bm as de, ak as en, bt as Je, bs as Ye, bZ as Ee, b_ as Qe, bq as Xe, j as Ke, bT as nt, J as et, bW as tt, bU as ot, bV as it, bX as at, bY as rt } from "./chunks/recipe-fetch-D2IpKMVr.js";
14
+ import { aa as E, at as j, r as ee, bl as Ve, au as We, av as Ge, ax as W, aA as G, ba as He, bb as bn, aw as m, aC as N, ay as g, aB as P, az as s, aD as mn, bh as R, bN as Q, bi as L, aF as Se, a3 as u, ao as T, B as un, l as An, b0 as ze, bA as Kn, n as De, F as Ne, b7 as Ze, b9 as Ue, bL as Wn, bm as de, ak as en, bt as Je, bs as Ye, bZ as Ee, b_ as Qe, bq as Xe, j as Ke, bT as nt, J as et, bW as tt, bU as ot, bV as it, bX as at, bY as rt } from "./chunks/recipe-fetch-D2IpKMVr.js";
15
15
  const ke = {
16
16
  endpoint: "https://my-app.com",
17
17
  infrastructure: {
@@ -105,10 +105,10 @@ function gt(t, e) {
105
105
  }
106
106
  }
107
107
  function _t(t, e) {
108
- if (t & 1 && (m(0, "div", 1)(1, "div", 8), R(2, ct, 1, 2, "zui-bar-icon", 9, Q), R(4, lt, 1, 2, "zui-bar-icon", 9, Q), g(), m(6, "span", 10), N(7), g(), m(8, "div", 11), G(9, ht, 2, 0)(10, gt, 1, 1, "mat-icon", 12), g()()), t & 2) {
108
+ if (t & 1 && (m(0, "div", 1)(1, "div", 8), R(2, ct, 1, 2, "zui-bar-icon", 9, Q), R(4, lt, 1, 2, "zui-bar-icon", 9, Q), g(), m(6, "span", 10), N(7), g(), m(8, "div", 11), W(9, ht, 2, 0)(10, gt, 1, 1, "mat-icon", 12), g()()), t & 2) {
109
109
  let n;
110
110
  const o = P();
111
- s(2), L(o.activeRange()), s(2), L(o.inactiveRange()), s(3), mn(o.label()), s(2), W((n = o.techIcons()) != null && n.length ? 9 : o.techIcon() ? 10 : -1);
111
+ s(2), L(o.activeRange()), s(2), L(o.inactiveRange()), s(3), mn(o.label()), s(2), G((n = o.techIcons()) != null && n.length ? 9 : o.techIcon() ? 10 : -1);
112
112
  }
113
113
  }
114
114
  function pt(t, e) {
@@ -124,9 +124,9 @@ function ft(t, e) {
124
124
  }
125
125
  }
126
126
  function ut(t, e) {
127
- if (t & 1 && (m(0, "div", 2)(1, "div", 13), R(2, pt, 1, 2, "zui-bar-icon", 9, Q), g(), m(4, "div", 14)(5, "span", 15), N(6), g(), G(7, ft, 1, 1, "mat-icon", 16), g()()), t & 2) {
127
+ if (t & 1 && (m(0, "div", 2)(1, "div", 13), R(2, pt, 1, 2, "zui-bar-icon", 9, Q), g(), m(4, "div", 14)(5, "span", 15), N(6), g(), W(7, ft, 1, 1, "mat-icon", 16), g()()), t & 2) {
128
128
  const n = P();
129
- s(2), L(n.activeRange()), s(4), mn(n.formatLabel(n.label())), s(), W(n.techIcon() ? 7 : -1);
129
+ s(2), L(n.activeRange()), s(4), mn(n.formatLabel(n.label())), s(), G(n.techIcon() ? 7 : -1);
130
130
  }
131
131
  }
132
132
  function mt(t, e) {
@@ -148,9 +148,9 @@ function bt(t, e) {
148
148
  }
149
149
  }
150
150
  function xt(t, e) {
151
- if (t & 1 && (m(0, "div", 3)(1, "div", 17), R(2, mt, 1, 2, "zui-bar-icon", 9, Q), R(4, vt, 1, 2, "zui-bar-icon", 9, Q), g(), m(6, "div", 18)(7, "span", 19), N(8), g(), G(9, bt, 1, 1, "mat-icon", 20), g()()), t & 2) {
151
+ if (t & 1 && (m(0, "div", 3)(1, "div", 17), R(2, mt, 1, 2, "zui-bar-icon", 9, Q), R(4, vt, 1, 2, "zui-bar-icon", 9, Q), g(), m(6, "div", 18)(7, "span", 19), N(8), g(), W(9, bt, 1, 1, "mat-icon", 20), g()()), t & 2) {
152
152
  const n = P();
153
- s(2), L(n.activeRange()), s(2), L(n.inactiveRange()), s(4), mn(n.label()), s(), W(n.techIcon() ? 9 : -1);
153
+ s(2), L(n.activeRange()), s(2), L(n.inactiveRange()), s(4), mn(n.label()), s(), G(n.techIcon() ? 9 : -1);
154
154
  }
155
155
  }
156
156
  function wt(t, e) {
@@ -172,9 +172,9 @@ function yt(t, e) {
172
172
  }
173
173
  }
174
174
  function Mt(t, e) {
175
- if (t & 1 && (m(0, "div", 4)(1, "div", 21), R(2, wt, 1, 2, "zui-bar-icon", 9, Q), R(4, Ct, 1, 2, "zui-bar-icon", 9, Q), g(), m(6, "div", 22)(7, "span", 23), N(8), g(), G(9, yt, 1, 1, "mat-icon", 12), g()()), t & 2) {
175
+ if (t & 1 && (m(0, "div", 4)(1, "div", 21), R(2, wt, 1, 2, "zui-bar-icon", 9, Q), R(4, Ct, 1, 2, "zui-bar-icon", 9, Q), g(), m(6, "div", 22)(7, "span", 23), N(8), g(), W(9, yt, 1, 1, "mat-icon", 12), g()()), t & 2) {
176
176
  const n = P();
177
- s(2), L(n.activeRange()), s(2), L(n.inactiveRange()), s(4), mn(n.formatLabel(n.label())), s(), W(n.techIcon() ? 9 : -1);
177
+ s(2), L(n.activeRange()), s(2), L(n.inactiveRange()), s(4), mn(n.formatLabel(n.label())), s(), G(n.techIcon() ? 9 : -1);
178
178
  }
179
179
  }
180
180
  function It(t, e) {
@@ -202,10 +202,10 @@ function Tt(t, e) {
202
202
  }
203
203
  }
204
204
  function $t(t, e) {
205
- if (t & 1 && (m(0, "div", 6)(1, "div", 24)(2, "span", 25), N(3), g()(), G(4, Tt, 3, 1, "div", 26), g()), t & 2) {
205
+ if (t & 1 && (m(0, "div", 6)(1, "div", 24)(2, "span", 25), N(3), g()(), W(4, Tt, 3, 1, "div", 26), g()), t & 2) {
206
206
  const n = P();
207
207
  s(3), Se("", n.label(), `
208
- External`), s(), W(n.sublabel() ? 4 : -1);
208
+ External`), s(), G(n.sublabel() ? 4 : -1);
209
209
  }
210
210
  }
211
211
  const xn = class xn {
@@ -227,11 +227,11 @@ xn.ɵfac = function(n) {
227
227
  }, xn.ɵcmp = /* @__PURE__ */ ee({ type: xn, selectors: [["zw-diagram-node"]], hostVars: 4, hostBindings: function(n, o) {
228
228
  n & 2 && (He("__node __node--" + o.variant()), bn("__node--highlighted", o.highlighted()));
229
229
  }, inputs: { variant: [1, "variant"], label: [1, "label"], sublabel: [1, "sublabel"], containers: [1, "containers"], barColor: [1, "barColor"], techIcon: [1, "techIcon"], techIcons: [1, "techIcons"], highlighted: [1, "highlighted"] }, decls: 7, vars: 1, consts: [[1, "__endpoint-pill"], [1, "__infra-core-box"], [1, "__infra-side-box"], [1, "__balancer-box"], [1, "__service-box"], [1, "__service-highlighted-box"], [1, "__external-box"], [1, "__endpoint-label"], [1, "__bar-row", "__bar-row--infra"], [3, "color", "active"], [1, "__node-label", "__node-label--mono-core", "__node-label--multiline"], [1, "__tech-icons-row"], [1, "__tech-icon", 3, "svgIcon"], [1, "__bar-col"], [1, "__side-bottom"], [1, "__node-label", "__node-label--mono", "__node-label--side"], [1, "__tech-icon", "__tech-icon--side", 3, "svgIcon"], [1, "__bar-row", "__bar-row--balancer"], [1, "__balancer-label-area"], [1, "__node-label", "__node-label--mono", "__node-label--multiline"], [1, "__tech-icon", "__tech-icon--sm", 3, "svgIcon"], [1, "__bar-row"], [1, "__label-block"], [1, "__node-label", "__node-label--mono"], [1, "__ext-inner-card"], [1, "__node-label", "__node-label--mono", "__node-label--ext-text"], [1, "__ext-sublabel-frame"], [1, "__node-label", "__node-label--mono", "__node-label--sub"]], template: function(n, o) {
230
- if (n & 1 && G(0, st, 3, 1, "div", 0)(1, _t, 11, 2, "div", 1)(2, ut, 8, 2, "div", 2)(3, xt, 10, 2, "div", 3)(4, Mt, 10, 2, "div", 4)(5, Ot, 8, 1, "div", 5)(6, $t, 5, 2, "div", 6), n & 2) {
230
+ if (n & 1 && W(0, st, 3, 1, "div", 0)(1, _t, 11, 2, "div", 1)(2, ut, 8, 2, "div", 2)(3, xt, 10, 2, "div", 3)(4, Mt, 10, 2, "div", 4)(5, Ot, 8, 1, "div", 5)(6, $t, 5, 2, "div", 6), n & 2) {
231
231
  let i;
232
- W((i = o.variant()) === "endpoint" ? 0 : i === "infra-core" ? 1 : i === "infra-side" ? 2 : i === "balancer" ? 3 : i === "service" ? 4 : i === "service-highlighted" ? 5 : i === "external" ? 6 : -1);
232
+ G((i = o.variant()) === "endpoint" ? 0 : i === "infra-core" ? 1 : i === "infra-side" ? 2 : i === "balancer" ? 3 : i === "service" ? 4 : i === "service-highlighted" ? 5 : i === "external" ? 6 : -1);
233
233
  }
234
- }, dependencies: [Ve, Ge, We], styles: [`[_nghost-%COMP%] {
234
+ }, dependencies: [Ve, We, Ge], styles: [`[_nghost-%COMP%] {
235
235
  display: block;
236
236
  position: relative;
237
237
  contain: layout style;
@@ -496,7 +496,7 @@ xn.ɵfac = function(n) {
496
496
  let ne = xn;
497
497
  const St = ["*"];
498
498
  function zt(t, e) {
499
- if (t & 1 && (Gn(), u(0, "path", 28)), t & 2) {
499
+ if (t & 1 && (Wn(), u(0, "path", 28)), t & 2) {
500
500
  const n = e.$implicit;
501
501
  en("d", n);
502
502
  }
@@ -508,17 +508,17 @@ const re = {
508
508
  }, Dt = {
509
509
  containers: { active: 2, standby: 0 }
510
510
  };
511
- var Mn, Fn, In, Pn, ln, dn, Ln;
511
+ var Mn, Bn, In, Pn, ln, dn, Rn;
512
512
  const wn = class wn {
513
513
  // ─── Lifecycle ──────────────────────────────────────────
514
514
  constructor() {
515
515
  $(this, dn);
516
516
  $(this, Mn);
517
- $(this, Fn);
517
+ $(this, Bn);
518
518
  $(this, In);
519
519
  $(this, Pn);
520
520
  $(this, ln);
521
- this.config = E({}), this.lightweight = E(!1), this.showPaths = E(!0), this.internalPaths = un([]), this.pathsVisible = un(!0), h(this, Mn, Bn(De)), h(this, Fn, Bn(Ne)), h(this, Pn, !1), this.resolvedInfra = {
521
+ this.config = E({}), this.lightweight = E(!1), this.showPaths = E(!0), this.internalPaths = un([]), this.pathsVisible = un(!0), h(this, Mn, An(De)), h(this, Bn, An(Ne)), h(this, Pn, !1), this.resolvedInfra = {
522
522
  ctrl: {
523
523
  id: "ctrl",
524
524
  label: `Project ctrl
@@ -559,34 +559,34 @@ balancer`,
559
559
  techIcon: "nginx",
560
560
  highlighted: !0
561
561
  }, ze(() => {
562
- h(this, Pn, !0), h(this, ln, this.lightweight()), h(this, In, new ResizeObserver(() => C(this, dn, Ln).call(this))), l(this, In).observe(l(this, Mn).nativeElement), l(this, Fn).onDestroy(() => l(this, In)?.disconnect()), requestAnimationFrame(() => {
563
- requestAnimationFrame(() => C(this, dn, Ln).call(this));
562
+ h(this, Pn, !0), h(this, ln, this.lightweight()), h(this, In, new ResizeObserver(() => C(this, dn, Rn).call(this))), d(this, In).observe(d(this, Mn).nativeElement), d(this, Bn).onDestroy(() => d(this, In)?.disconnect()), requestAnimationFrame(() => {
563
+ requestAnimationFrame(() => C(this, dn, Rn).call(this));
564
564
  });
565
565
  }), Kn(() => {
566
566
  this.config();
567
567
  const e = this.lightweight();
568
- if (!l(this, Pn))
568
+ if (!d(this, Pn))
569
569
  return;
570
- const n = l(this, ln) !== void 0 && l(this, ln) !== e;
570
+ const n = d(this, ln) !== void 0 && d(this, ln) !== e;
571
571
  h(this, ln, e), n ? (this.pathsVisible.set(!1), setTimeout(() => {
572
572
  requestAnimationFrame(() => {
573
573
  requestAnimationFrame(() => {
574
- C(this, dn, Ln).call(this), this.pathsVisible.set(!0);
574
+ C(this, dn, Rn).call(this), this.pathsVisible.set(!0);
575
575
  });
576
576
  });
577
577
  }, 200)) : requestAnimationFrame(() => {
578
- requestAnimationFrame(() => C(this, dn, Ln).call(this));
578
+ requestAnimationFrame(() => C(this, dn, Rn).call(this));
579
579
  });
580
580
  });
581
581
  }
582
582
  };
583
- Mn = new WeakMap(), Fn = new WeakMap(), In = new WeakMap(), Pn = new WeakMap(), ln = new WeakMap(), dn = new WeakSet(), // ─── Internal path computation ──────────────────────────
584
- Ln = function() {
583
+ Mn = new WeakMap(), Bn = new WeakMap(), In = new WeakMap(), Pn = new WeakMap(), ln = new WeakMap(), dn = new WeakSet(), // ─── Internal path computation ──────────────────────────
584
+ Rn = function() {
585
585
  if (!this.showPaths()) {
586
586
  this.internalPaths.set([]);
587
587
  return;
588
588
  }
589
- const n = l(this, Mn).nativeElement.querySelector(".__project");
589
+ const n = d(this, Mn).nativeElement.querySelector(".__project");
590
590
  if (!n)
591
591
  return;
592
592
  const o = n.getBoundingClientRect();
@@ -654,7 +654,7 @@ Ln = function() {
654
654
  }, wn.ɵfac = function(n) {
655
655
  return new (n || wn)();
656
656
  }, wn.ɵcmp = /* @__PURE__ */ ee({ type: wn, selectors: [["zw-project-shell"]], inputs: { config: [1, "config"], lightweight: [1, "lightweight"], showPaths: [1, "showPaths"] }, ngContentSelectors: St, decls: 48, vars: 28, consts: [[1, "__project"], [1, "__project-header"], [1, "__project-title"], [1, "__vxlan-label"], [1, "__infra-stack"], ["data-mode", "lw", 1, "__infra-mode"], [1, "__infra-mode-inner"], [1, "__zone", "__zone--infra", "__zone--infra-lightweight"], [1, "__zone-label"], [1, "__infra-content", "__infra-content--lightweight"], [1, "__infra-group"], ["data-node-id", "core-lw"], ["variant", "infra-core", "barColor", "orange", 3, "label", "containers", "techIcons", "highlighted"], ["data-mode", "hw", 1, "__infra-mode"], [1, "__zone", "__zone--infra"], [1, "__infra-content"], ["data-node-id", "ctrl"], [1, "__infra-side-nodes"], ["data-node-id", "stats"], ["variant", "infra-side", "barColor", "orange", 3, "label", "containers", "techIcon", "highlighted"], ["data-node-id", "logger"], [1, "__zone-spacer", "__zone-spacer--infra-to-routing"], [1, "__zone", "__zone--routing"], [1, "__routing-content"], ["data-node-id", "l7"], ["variant", "balancer", "barColor", "orange", 3, "label", "containers", "techIcon", "highlighted"], ["data-spacer", "routing-services", 1, "__zone-spacer", "__zone-spacer--routing-to-services"], [1, "__svg-layer"], [1, "__path-base"]], template: function(n, o) {
657
- n & 1 && (Ze(), m(0, "div", 0)(1, "div", 1)(2, "span", 2), N(3, "Project"), g(), m(4, "span", 3), N(5, "Private VXLAN network"), g()(), m(6, "div", 4)(7, "div", 5)(8, "div", 6)(9, "div", 7)(10, "span", 8), N(11, "Dedicated"), u(12, "br"), N(13, "infrastructure"), u(14, "br"), N(15, "core with routing"), u(16, "br"), N(17, "and balancing"), g(), m(18, "div", 9)(19, "div", 10)(20, "div", 11), u(21, "zw-diagram-node", 12), g()()()()()(), m(22, "div", 13)(23, "div", 6)(24, "div", 14)(25, "span", 8), N(26, "Dedicated infrastructure core"), g(), m(27, "div", 15)(28, "div", 10)(29, "div", 16), u(30, "zw-diagram-node", 12), g(), m(31, "div", 17)(32, "div", 18), u(33, "zw-diagram-node", 19), g(), m(34, "div", 20), u(35, "zw-diagram-node", 19), g()()()()(), u(36, "div", 21), m(37, "div", 22)(38, "span", 8), N(39, "Dedicated routing and balancing"), g(), m(40, "div", 23)(41, "div", 24), u(42, "zw-diagram-node", 25), g()()()()()(), u(43, "div", 26), Ue(44), Gn(), m(45, "svg", 27), R(46, zt, 1, 1, ":svg:path", 28, de), g()()), n & 2 && (bn("__project--lightweight", o.lightweight()), s(7), bn("__infra-mode--active", o.lightweight()), s(14), T("label", o.resolvedLightweightNode.label)("containers", o.resolvedLightweightNode.containers)("techIcons", o.resolvedLightweightNode.techIcons)("highlighted", o.resolvedLightweightNode.highlighted), s(), bn("__infra-mode--active", !o.lightweight()), s(8), T("label", o.resolvedInfra.ctrl.label)("containers", o.resolvedInfra.ctrl.containers)("techIcons", o.resolvedInfra.ctrl.techIcons)("highlighted", o.resolvedInfra.ctrl.highlighted), s(3), T("label", o.resolvedInfra.stats.label)("containers", o.resolvedInfra.stats.containers)("techIcon", o.resolvedInfra.stats.techIcon)("highlighted", o.resolvedInfra.stats.highlighted), s(2), T("label", o.resolvedInfra.logger.label)("containers", o.resolvedInfra.logger.containers)("techIcon", o.resolvedInfra.logger.techIcon)("highlighted", o.resolvedInfra.logger.highlighted), s(7), T("label", o.resolvedRoutingDisplay.label)("containers", o.resolvedRoutingDisplay.containers)("techIcon", o.resolvedRoutingDisplay.techIcon)("highlighted", o.resolvedRoutingDisplay.highlighted), s(3), bn("__svg-layer--visible", o.pathsVisible()), s(), L(o.internalPaths()));
657
+ n & 1 && (Ze(), m(0, "div", 0)(1, "div", 1)(2, "span", 2), N(3, "Project"), g(), m(4, "span", 3), N(5, "Private VXLAN network"), g()(), m(6, "div", 4)(7, "div", 5)(8, "div", 6)(9, "div", 7)(10, "span", 8), N(11, "Dedicated"), u(12, "br"), N(13, "infrastructure"), u(14, "br"), N(15, "core with routing"), u(16, "br"), N(17, "and balancing"), g(), m(18, "div", 9)(19, "div", 10)(20, "div", 11), u(21, "zw-diagram-node", 12), g()()()()()(), m(22, "div", 13)(23, "div", 6)(24, "div", 14)(25, "span", 8), N(26, "Dedicated infrastructure core"), g(), m(27, "div", 15)(28, "div", 10)(29, "div", 16), u(30, "zw-diagram-node", 12), g(), m(31, "div", 17)(32, "div", 18), u(33, "zw-diagram-node", 19), g(), m(34, "div", 20), u(35, "zw-diagram-node", 19), g()()()()(), u(36, "div", 21), m(37, "div", 22)(38, "span", 8), N(39, "Dedicated routing and balancing"), g(), m(40, "div", 23)(41, "div", 24), u(42, "zw-diagram-node", 25), g()()()()()(), u(43, "div", 26), Ue(44), Wn(), m(45, "svg", 27), R(46, zt, 1, 1, ":svg:path", 28, de), g()()), n & 2 && (bn("__project--lightweight", o.lightweight()), s(7), bn("__infra-mode--active", o.lightweight()), s(14), T("label", o.resolvedLightweightNode.label)("containers", o.resolvedLightweightNode.containers)("techIcons", o.resolvedLightweightNode.techIcons)("highlighted", o.resolvedLightweightNode.highlighted), s(), bn("__infra-mode--active", !o.lightweight()), s(8), T("label", o.resolvedInfra.ctrl.label)("containers", o.resolvedInfra.ctrl.containers)("techIcons", o.resolvedInfra.ctrl.techIcons)("highlighted", o.resolvedInfra.ctrl.highlighted), s(3), T("label", o.resolvedInfra.stats.label)("containers", o.resolvedInfra.stats.containers)("techIcon", o.resolvedInfra.stats.techIcon)("highlighted", o.resolvedInfra.stats.highlighted), s(2), T("label", o.resolvedInfra.logger.label)("containers", o.resolvedInfra.logger.containers)("techIcon", o.resolvedInfra.logger.techIcon)("highlighted", o.resolvedInfra.logger.highlighted), s(7), T("label", o.resolvedRoutingDisplay.label)("containers", o.resolvedRoutingDisplay.containers)("techIcon", o.resolvedRoutingDisplay.techIcon)("highlighted", o.resolvedRoutingDisplay.highlighted), s(3), bn("__svg-layer--visible", o.pathsVisible()), s(), L(o.internalPaths()));
658
658
  }, dependencies: [ne], styles: [`[_nghost-%COMP%] {
659
659
  display: block;
660
660
  position: relative;
@@ -863,10 +863,10 @@ function At(t, e) {
863
863
  }
864
864
  }
865
865
  function Bt(t, e) {
866
- if (t & 1 && G(0, Lt, 5, 11, "div", 14)(1, At, 2, 5, "div"), t & 2) {
866
+ if (t & 1 && W(0, Lt, 5, 11, "div", 14)(1, At, 2, 5, "div"), t & 2) {
867
867
  let n;
868
868
  const o = e.$implicit;
869
- W((n = o.loadBalancer) ? 0 : 1, n);
869
+ G((n = o.loadBalancer) ? 0 : 1, n);
870
870
  }
871
871
  }
872
872
  function Ft(t, e) {
@@ -876,37 +876,37 @@ function Ft(t, e) {
876
876
  }
877
877
  }
878
878
  function jt(t, e) {
879
- if (t & 1 && (Gn(), u(0, "path", 19)), t & 2) {
879
+ if (t & 1 && (Wn(), u(0, "path", 19)), t & 2) {
880
880
  const n = P().$implicit;
881
881
  en("d", n.d);
882
882
  }
883
883
  }
884
884
  function qt(t, e) {
885
- if (t & 1 && G(0, jt, 1, 1, ":svg:path", 19), t & 2) {
885
+ if (t & 1 && W(0, jt, 1, 1, ":svg:path", 19), t & 2) {
886
886
  const n = e.$implicit;
887
- W(n.renderMode !== "glow-only" ? 0 : -1);
887
+ G(n.renderMode !== "glow-only" ? 0 : -1);
888
888
  }
889
889
  }
890
890
  function Vt(t, e) {
891
- if (t & 1 && (Gn(), u(0, "path", 20)), t & 2) {
891
+ if (t & 1 && (Wn(), u(0, "path", 20)), t & 2) {
892
892
  const n = P(), o = n.$implicit, i = n.$index;
893
893
  en("d", o.d)("data-path-idx", i);
894
894
  }
895
895
  }
896
- function Gt(t, e) {
897
- if (t & 1 && G(0, Vt, 1, 2, ":svg:path", 20), t & 2) {
896
+ function Wt(t, e) {
897
+ if (t & 1 && W(0, Vt, 1, 2, ":svg:path", 20), t & 2) {
898
898
  const n = e.$implicit;
899
- W(n.renderMode !== "base-only" ? 0 : -1);
899
+ G(n.renderMode !== "base-only" ? 0 : -1);
900
900
  }
901
901
  }
902
- const Wt = 660, se = {
902
+ const Gt = 660, se = {
903
903
  ctrl: { active: 1, standby: 1 },
904
904
  stats: { active: 1, standby: 0 },
905
905
  logger: { active: 1, standby: 0 }
906
906
  }, Ht = {
907
907
  containers: { active: 2, standby: 0 }
908
- }, kn = 600, Rn = 1050, ce = 525, le = 900, Zt = 3300, Ut = 900, Te = 2250, Jt = 2e3, Yt = 400;
909
- var nn, On, Tn, $n, Sn, H, hn, gn, jn, _n, pn, fn, on, an, rn, _, An, Re, Le, Jn, Ae, pe, Yn, Be, Fe, je, qe, Qn, Xn, fe;
908
+ }, En = 600, kn = 1050, ce = 525, le = 900, Zt = 3300, Ut = 900, Te = 2250, Jt = 2e3, Yt = 400;
909
+ var nn, On, Tn, Fn, $n, H, hn, gn, jn, _n, pn, fn, on, an, rn, _, Ln, Re, Le, Jn, Ae, pe, Yn, Be, Fe, je, qe, Qn, Xn, fe;
910
910
  const Cn = class Cn {
911
911
  // ─── Lifecycle ──────────────────────────────────────────
912
912
  constructor() {
@@ -914,8 +914,8 @@ const Cn = class Cn {
914
914
  $(this, nn);
915
915
  $(this, On);
916
916
  $(this, Tn);
917
+ $(this, Fn);
917
918
  $(this, $n);
918
- $(this, Sn);
919
919
  $(this, H);
920
920
  // rAF id for coalesced recomputation
921
921
  $(this, hn);
@@ -928,7 +928,7 @@ const Cn = class Cn {
928
928
  $(this, on);
929
929
  $(this, an);
930
930
  $(this, rn);
931
- this.config = E(ke), this.lightweight = E(!1), this.annotatedPaths = un([]), this.pathsVisible = un(!0), h(this, nn, Bn(De)), h(this, On, Bn(Ne)), h(this, $n, 1), h(this, Sn, !1), h(this, H, 0), h(this, gn, !1), h(this, jn, 0), h(this, _n, 0), h(this, pn, 0), h(this, fn, !1), h(this, on, !1), h(this, an, /* @__PURE__ */ new Map()), h(this, rn, /* @__PURE__ */ new Map()), this.shellConfig = j(() => ({
931
+ this.config = E(ke), this.lightweight = E(!1), this.annotatedPaths = un([]), this.pathsVisible = un(!0), h(this, nn, An(De)), h(this, On, An(Ne)), h(this, Fn, 1), h(this, $n, !1), h(this, H, 0), h(this, gn, !1), h(this, jn, 0), h(this, _n, 0), h(this, pn, 0), h(this, fn, !1), h(this, on, !1), h(this, an, /* @__PURE__ */ new Map()), h(this, rn, /* @__PURE__ */ new Map()), this.shellConfig = j(() => ({
932
932
  infrastructure: this.config().infrastructure,
933
933
  routing: this.config().routing
934
934
  })), this.resolvedInfra = j(() => {
@@ -975,74 +975,74 @@ balancer`,
975
975
  sublabel: e.sublabel ?? "storage:6379"
976
976
  } : null;
977
977
  }), ze(() => {
978
- h(this, Sn, !0), h(this, hn, this.lightweight()), h(this, Tn, new ResizeObserver(() => {
979
- C(this, _, An).call(this);
980
- })), l(this, Tn).observe(l(this, nn).nativeElement), l(this, On).onDestroy(() => {
981
- l(this, Tn)?.disconnect(), C(this, _, pe).call(this), l(this, H) && cancelAnimationFrame(l(this, H));
982
- }), C(this, _, An).call(this);
978
+ h(this, $n, !0), h(this, hn, this.lightweight()), h(this, Tn, new ResizeObserver(() => {
979
+ C(this, _, Ln).call(this);
980
+ })), d(this, Tn).observe(d(this, nn).nativeElement), d(this, On).onDestroy(() => {
981
+ d(this, Tn)?.disconnect(), C(this, _, pe).call(this), d(this, H) && cancelAnimationFrame(d(this, H));
982
+ }), C(this, _, Ln).call(this);
983
983
  const e = new IntersectionObserver(([n]) => {
984
984
  n.isIntersecting ? C(this, _, Ae).call(this) : C(this, _, pe).call(this);
985
985
  }, { rootMargin: "200px 0px" });
986
- e.observe(l(this, nn).nativeElement), l(this, On).onDestroy(() => e.disconnect());
986
+ e.observe(d(this, nn).nativeElement), d(this, On).onDestroy(() => e.disconnect());
987
987
  }), Kn(() => {
988
988
  this.config();
989
989
  const e = this.lightweight();
990
- if (!l(this, Sn))
990
+ if (!d(this, $n))
991
991
  return;
992
- const n = l(this, hn) !== void 0 && l(this, hn) !== e;
992
+ const n = d(this, hn) !== void 0 && d(this, hn) !== e;
993
993
  h(this, hn, e), n ? (this.pathsVisible.set(!1), C(this, _, Yn).call(this), setTimeout(() => {
994
- h(this, gn, !0), C(this, _, An).call(this);
995
- }, 400)) : C(this, _, An).call(this);
994
+ h(this, gn, !0), C(this, _, Ln).call(this);
995
+ }, 400)) : C(this, _, Ln).call(this);
996
996
  });
997
997
  }
998
998
  };
999
- nn = new WeakMap(), On = new WeakMap(), Tn = new WeakMap(), $n = new WeakMap(), Sn = new WeakMap(), H = new WeakMap(), hn = new WeakMap(), gn = new WeakMap(), jn = new WeakMap(), _n = new WeakMap(), pn = new WeakMap(), fn = new WeakMap(), on = new WeakMap(), an = new WeakMap(), rn = new WeakMap(), _ = new WeakSet(), // ─── Private ────────────────────────────────────────────
999
+ nn = new WeakMap(), On = new WeakMap(), Tn = new WeakMap(), Fn = new WeakMap(), $n = new WeakMap(), H = new WeakMap(), hn = new WeakMap(), gn = new WeakMap(), jn = new WeakMap(), _n = new WeakMap(), pn = new WeakMap(), fn = new WeakMap(), on = new WeakMap(), an = new WeakMap(), rn = new WeakMap(), _ = new WeakSet(), // ─── Private ────────────────────────────────────────────
1000
1000
  /**
1001
1001
  * Coalesces all path recomputation requests through a single double-rAF.
1002
1002
  * Prevents stale DOM measurements when ResizeObserver fires before Angular
1003
1003
  * has flushed template changes from a config update.
1004
1004
  */
1005
- An = function() {
1006
- l(this, H) && cancelAnimationFrame(l(this, H)), h(this, H, requestAnimationFrame(() => {
1005
+ Ln = function() {
1006
+ d(this, H) && cancelAnimationFrame(d(this, H)), h(this, H, requestAnimationFrame(() => {
1007
1007
  h(this, H, requestAnimationFrame(() => {
1008
1008
  h(this, H, 0), C(this, _, Yn).call(this), C(this, _, Re).call(this), C(this, _, Le).call(this);
1009
1009
  }));
1010
1010
  }));
1011
1011
  }, Re = function() {
1012
- const e = l(this, nn).nativeElement, o = e.clientWidth / Wt;
1013
- h(this, $n, o), e.style.setProperty("--diagram-scale", String(o));
1012
+ const e = d(this, nn).nativeElement, o = e.clientWidth / Gt;
1013
+ h(this, Fn, o), e.style.setProperty("--diagram-scale", String(o));
1014
1014
  const i = e.querySelector(".__canvas");
1015
1015
  i && (e.style.height = `${i.scrollHeight * o}px`);
1016
1016
  }, Le = function() {
1017
- const e = l(this, nn).nativeElement, n = e.querySelector(".__canvas");
1017
+ const e = d(this, nn).nativeElement, n = e.querySelector(".__canvas");
1018
1018
  if (!n)
1019
1019
  return;
1020
1020
  const o = n.getBoundingClientRect();
1021
1021
  if (o.width === 0)
1022
1022
  return;
1023
- const i = l(this, $n), O = (r) => {
1024
- const d = r.getBoundingClientRect();
1023
+ const i = o.width / n.offsetWidth, O = (r) => {
1024
+ const l = r.getBoundingClientRect();
1025
1025
  return {
1026
- x: (d.left - o.left) / i,
1027
- y: (d.top - o.top) / i,
1028
- w: d.width / i,
1029
- h: d.height / i
1026
+ x: (l.left - o.left) / i,
1027
+ y: (l.top - o.top) / i,
1028
+ w: l.width / i,
1029
+ h: l.height / i
1030
1030
  };
1031
1031
  }, v = (r) => {
1032
- const d = O(r);
1033
- return [d.x + d.w / 2, d.y];
1032
+ const l = O(r);
1033
+ return [l.x + l.w / 2, l.y];
1034
1034
  }, c = (r) => {
1035
- const d = O(r);
1036
- return [d.x + d.w / 2, d.y + d.h];
1037
- }, D = (r) => n.querySelector(`[data-node-id="${r}"]`), q = (r, d) => {
1035
+ const l = O(r);
1036
+ return [l.x + l.w / 2, l.y + l.h];
1037
+ }, D = (r) => n.querySelector(`[data-node-id="${r}"]`), q = (r, l) => {
1038
1038
  const p = D(r);
1039
1039
  return p ? Array.from(p.querySelectorAll("zui-bar-icon")).map((f, M) => ({
1040
1040
  point: v(f),
1041
1041
  barIndex: M,
1042
- active: d !== void 0 ? M < d : !0
1042
+ active: l !== void 0 ? M < l : !0
1043
1043
  })) : [];
1044
- }, V = 16, k = 27, a = (r) => Math.round(r * 10) / 10, x = (r, d, p) => {
1045
- const [f, M] = r, [y, I] = d, sn = y - f;
1044
+ }, V = 16, k = 27, a = (r) => Math.round(r * 10) / 10, x = (r, l, p) => {
1045
+ const [f, M] = r, [y, I] = l, sn = y - f;
1046
1046
  if (Math.abs(sn) < 3) {
1047
1047
  const cn = a((f + y) / 2);
1048
1048
  return `M${cn},${a(M)}L${cn},${a(I)}`;
@@ -1073,7 +1073,7 @@ An = function() {
1073
1073
  if (!w && K && U && B && me) {
1074
1074
  const r = q("l7", me.containers.active);
1075
1075
  if (r.length) {
1076
- const d = c(K)[0], p = c(B)[1], f = [d, p], y = Math.min(...r.map((I) => I.point[1])) - k;
1076
+ const l = c(K)[0], p = c(B)[1], f = [l, p], y = Math.min(...r.map((I) => I.point[1])) - k;
1077
1077
  for (const I of r)
1078
1078
  b.push({
1079
1079
  d: x(f, I.point, y),
@@ -1085,51 +1085,51 @@ An = function() {
1085
1085
  });
1086
1086
  }
1087
1087
  }
1088
- let Wn = null;
1088
+ let Gn = null;
1089
1089
  if (w) {
1090
1090
  const r = D(z);
1091
- r && B && (Wn = [c(r)[0], c(B)[1]]);
1092
- } else U && (Wn = c(U));
1093
- if (Wn) {
1091
+ r && B && (Gn = [c(r)[0], c(B)[1]]);
1092
+ } else U && (Gn = c(U));
1093
+ if (Gn) {
1094
1094
  const r = w ? z : "l7";
1095
- for (const d of this.row1Services()) {
1096
- const p = q(d.service.id, d.service.containers.active);
1095
+ for (const l of this.row1Services()) {
1096
+ const p = q(l.service.id, l.service.containers.active);
1097
1097
  if (p.length) {
1098
- const f = Wn, M = Math.min(...p.map((I) => I.point[1])), y = (f[1] + M) / 2;
1098
+ const f = Gn, M = Math.min(...p.map((I) => I.point[1])), y = (f[1] + M) / 2;
1099
1099
  for (const I of p)
1100
1100
  b.push({
1101
1101
  d: x(f, I.point, y),
1102
1102
  depth: w ? 1 : 2,
1103
1103
  sourceNodeId: r,
1104
- targetNodeId: d.service.id,
1104
+ targetNodeId: l.service.id,
1105
1105
  targetBarIndex: I.barIndex,
1106
1106
  active: I.active
1107
1107
  });
1108
1108
  }
1109
1109
  }
1110
1110
  }
1111
- const ve = 19, te = 11, Nn = [], En = [];
1111
+ const ve = 19, te = 11, Dn = [], Nn = [];
1112
1112
  for (const r of this.row2Services())
1113
1113
  if (r.loadBalancer)
1114
- for (const d of q(r.loadBalancer.id, r.loadBalancer.containers.active))
1115
- En.push({ ...d, nodeId: r.loadBalancer.id });
1114
+ for (const l of q(r.loadBalancer.id, r.loadBalancer.containers.active))
1115
+ Nn.push({ ...l, nodeId: r.loadBalancer.id });
1116
1116
  else
1117
- for (const d of q(r.service.id, r.service.containers.active))
1118
- Nn.push({ ...d, nodeId: r.service.id });
1117
+ for (const l of q(r.service.id, r.service.containers.active))
1118
+ Dn.push({ ...l, nodeId: r.service.id });
1119
1119
  const be = n.querySelector(".__external-node"), oe = n.querySelectorAll(".__services-row");
1120
1120
  if (be && oe.length > 1) {
1121
- const d = (oe[oe.length - 1].getBoundingClientRect().top - o.top) / i;
1122
- be.style.top = `${Math.round(d + 11)}px`;
1121
+ const l = (oe[oe.length - 1].getBoundingClientRect().top - o.top) / i;
1122
+ be.style.top = `${Math.round(l + 11)}px`;
1123
1123
  }
1124
1124
  const xe = D("storage"), Hn = xe ? v(xe) : null;
1125
1125
  let vn = 0, we = 0;
1126
1126
  for (const r of this.row1Services()) {
1127
- const d = D(r.service.id);
1128
- if (!d)
1127
+ const l = D(r.service.id);
1128
+ if (!l)
1129
1129
  continue;
1130
- const p = c(d);
1130
+ const p = c(l);
1131
1131
  we = p[0];
1132
- const f = Nn.length ? Math.min(...Nn.map((y) => y.point[1])) : En.length ? Math.min(...En.map((y) => y.point[1])) : 0, M = Math.max(p[1] + V, f - k);
1132
+ const f = Dn.length ? Math.min(...Dn.map((y) => y.point[1])) : Nn.length ? Math.min(...Nn.map((y) => y.point[1])) : 0, M = Math.max(p[1] + V, f - k);
1133
1133
  vn = M, Hn && b.push({
1134
1134
  d: x(p, Hn, M - ve),
1135
1135
  depth: S,
@@ -1138,7 +1138,7 @@ An = function() {
1138
1138
  targetBarIndex: -1,
1139
1139
  active: !0
1140
1140
  });
1141
- for (const y of Nn)
1141
+ for (const y of Dn)
1142
1142
  b.push({
1143
1143
  d: x(p, y.point, M),
1144
1144
  depth: S,
@@ -1147,7 +1147,7 @@ An = function() {
1147
1147
  targetBarIndex: y.barIndex,
1148
1148
  active: y.active
1149
1149
  });
1150
- for (const y of En)
1150
+ for (const y of Nn)
1151
1151
  b.push({
1152
1152
  d: x(p, y.point, M + te),
1153
1153
  depth: S,
@@ -1158,10 +1158,10 @@ An = function() {
1158
1158
  });
1159
1159
  }
1160
1160
  for (const r of this.row1SideServices()) {
1161
- const d = D(r.service.id);
1162
- if (!d || !vn)
1161
+ const l = D(r.service.id);
1162
+ if (!l || !vn)
1163
1163
  continue;
1164
- const p = c(d);
1164
+ const p = c(l);
1165
1165
  b.push({
1166
1166
  d: `M${a(p[0])},${a(p[1])}L${a(p[0])},${a(vn)}`,
1167
1167
  depth: S,
@@ -1179,7 +1179,7 @@ An = function() {
1179
1179
  active: !0,
1180
1180
  renderMode: "glow-only"
1181
1181
  });
1182
- for (const f of Nn)
1182
+ for (const f of Dn)
1183
1183
  b.push({
1184
1184
  d: x(p, f.point, vn),
1185
1185
  depth: S,
@@ -1189,7 +1189,7 @@ An = function() {
1189
1189
  active: f.active,
1190
1190
  renderMode: "glow-only"
1191
1191
  });
1192
- for (const f of En) {
1192
+ for (const f of Nn) {
1193
1193
  const [M, y] = p, [I, sn] = f.point, F = vn, J = we, Zn = J - M, cn = Math.min(V, Math.abs(Zn) / 2, Math.abs(F - y) / 2), Ce = Math.sign(Zn), Un = I - J;
1194
1194
  let ie;
1195
1195
  if (Math.abs(Un) < 3) {
@@ -1228,9 +1228,9 @@ An = function() {
1228
1228
  }
1229
1229
  for (const r of this.row2Services())
1230
1230
  if (r.loadBalancer) {
1231
- const d = D(r.loadBalancer.id), p = q(r.service.id, r.service.containers.active);
1232
- if (d && p.length) {
1233
- const f = c(d), M = Math.min(...p.map((I) => I.point[1])), y = (f[1] + M) / 2;
1231
+ const l = D(r.loadBalancer.id), p = q(r.service.id, r.service.containers.active);
1232
+ if (l && p.length) {
1233
+ const f = c(l), M = Math.min(...p.map((I) => I.point[1])), y = (f[1] + M) / 2;
1234
1234
  for (const I of p)
1235
1235
  b.push({
1236
1236
  d: x(f, I.point, y),
@@ -1246,15 +1246,15 @@ An = function() {
1246
1246
  const r = e.querySelector(".__canvas > .__svg-layer");
1247
1247
  if (!r)
1248
1248
  return;
1249
- const d = this.annotatedPaths();
1249
+ const l = this.annotatedPaths();
1250
1250
  let p = !1;
1251
- for (let f = 0; f < d.length; f++) {
1252
- if (d[f].cachedLength != null)
1251
+ for (let f = 0; f < l.length; f++) {
1252
+ if (l[f].cachedLength != null)
1253
1253
  continue;
1254
1254
  const M = r.querySelector(`[data-path-idx="${f}"]`);
1255
- M && (d[f].cachedLength = Math.ceil(M.getTotalLength()), p = !0);
1255
+ M && (l[f].cachedLength = Math.ceil(M.getTotalLength()), p = !0);
1256
1256
  }
1257
- p && this.annotatedPaths.set([...d]), l(this, gn) && (h(this, gn, !1), this.pathsVisible.set(!0));
1257
+ p && this.annotatedPaths.set([...l]), d(this, gn) && (h(this, gn, !1), this.pathsVisible.set(!0));
1258
1258
  });
1259
1259
  }, Jn = function(e) {
1260
1260
  const n = e.category === "managed" ? "orange" : "cyan";
@@ -1273,7 +1273,7 @@ balancers`,
1273
1273
  return { service: e, barColor: n, loadBalancer: o };
1274
1274
  }, // ─── Trace orchestrator ────────────────────────────────
1275
1275
  Ae = function() {
1276
- if (l(this, fn) || typeof window < "u" && window.matchMedia("(prefers-reduced-motion: reduce)").matches)
1276
+ if (d(this, fn) || typeof window < "u" && window.matchMedia("(prefers-reduced-motion: reduce)").matches)
1277
1277
  return;
1278
1278
  h(this, fn, !0);
1279
1279
  const e = () => {
@@ -1285,9 +1285,9 @@ Ae = function() {
1285
1285
  };
1286
1286
  this.row1SideServices().length && h(this, pn, window.setTimeout(n, Te + 600));
1287
1287
  }, pe = function() {
1288
- h(this, fn, !1), clearTimeout(l(this, _n)), clearTimeout(l(this, pn)), C(this, _, Yn).call(this);
1288
+ h(this, fn, !1), clearTimeout(d(this, _n)), clearTimeout(d(this, pn)), C(this, _, Yn).call(this);
1289
1289
  }, Yn = function() {
1290
- l(this, an).forEach((e) => e()), l(this, an).clear(), l(this, rn).clear(), h(this, on, !1);
1290
+ d(this, an).forEach((e) => e()), d(this, an).clear(), d(this, rn).clear(), h(this, on, !1);
1291
1291
  }, Be = function() {
1292
1292
  const e = this.annotatedPaths();
1293
1293
  if (!e.length)
@@ -1295,7 +1295,7 @@ Ae = function() {
1295
1295
  const n = C(this, _, qe).call(this, e);
1296
1296
  n.length && C(this, _, fe).call(this, n);
1297
1297
  }, Fe = function() {
1298
- if (l(this, on))
1298
+ if (d(this, on))
1299
1299
  return;
1300
1300
  const e = this.annotatedPaths();
1301
1301
  if (!e.length)
@@ -1306,7 +1306,7 @@ Ae = function() {
1306
1306
  const o = n[Math.floor(Math.random() * n.length)], i = C(this, _, je).call(this, e, o.service.id);
1307
1307
  if (i.length) {
1308
1308
  h(this, on, !0), C(this, _, fe).call(this, i);
1309
- const O = i.length * ce + kn + Rn + le + 100;
1309
+ const O = i.length * ce + En + kn + le + 100;
1310
1310
  setTimeout(() => {
1311
1311
  h(this, on, !1);
1312
1312
  }, O);
@@ -1344,7 +1344,7 @@ je = function(e, n) {
1344
1344
  return C(this, _, Xn).call(this, e[0]), e[0];
1345
1345
  const n = e.map((v) => {
1346
1346
  const c = `${v.targetNodeId}:${v.targetBarIndex}`;
1347
- return 1 / ((l(this, rn).get(c) ?? 0) + 1);
1347
+ return 1 / ((d(this, rn).get(c) ?? 0) + 1);
1348
1348
  }), o = n.reduce((v, c) => v + c, 0);
1349
1349
  let i = Math.random() * o;
1350
1350
  for (let v = 0; v < e.length; v++)
@@ -1354,9 +1354,9 @@ je = function(e, n) {
1354
1354
  return C(this, _, Xn).call(this, O), O;
1355
1355
  }, Xn = function(e) {
1356
1356
  const n = `${e.targetNodeId}:${e.targetBarIndex}`;
1357
- l(this, rn).set(n, (l(this, rn).get(n) ?? 0) + 1);
1357
+ d(this, rn).set(n, (d(this, rn).get(n) ?? 0) + 1);
1358
1358
  }, fe = function(e) {
1359
- const n = this.annotatedPaths(), i = l(this, nn).nativeElement.querySelector(".__canvas"), O = i?.querySelector(":scope > .__svg-layer");
1359
+ const n = this.annotatedPaths(), i = d(this, nn).nativeElement.querySelector(".__canvas"), O = i?.querySelector(":scope > .__svg-layer");
1360
1360
  if (!i || !O)
1361
1361
  return;
1362
1362
  const v = [], c = ++Oe(this, jn)._, D = [];
@@ -1371,18 +1371,18 @@ je = function(e, n) {
1371
1371
  w.classList.add("__path-glow--active");
1372
1372
  }, b)), v.push(setTimeout(() => {
1373
1373
  w.classList.remove("__path-glow--active"), w.classList.add("__path-glow--decay");
1374
- }, b + kn + Rn)), v.push(setTimeout(() => {
1374
+ }, b + En + kn)), v.push(setTimeout(() => {
1375
1375
  w.classList.remove("__path-glow--decay");
1376
- }, b + kn + Rn + le));
1376
+ }, b + En + kn + le));
1377
1377
  }
1378
- const z = b + kn * 0.85;
1378
+ const z = b + En * 0.85;
1379
1379
  if (x.targetBarIndex >= 0) {
1380
1380
  const A = i.querySelector(`[data-node-id="${x.targetNodeId}"]`)?.querySelectorAll("zui-bar-icon")[x.targetBarIndex];
1381
1381
  A && v.push(setTimeout(() => A.dispatchEvent(new CustomEvent("trace-pulse")), z));
1382
1382
  } else if (x.targetNodeId === "storage") {
1383
1383
  const S = i.querySelector('[data-node-id="storage"]');
1384
1384
  if (S) {
1385
- const A = z + Rn;
1385
+ const A = z + kn;
1386
1386
  D.push({ el: S, classes: ["--pulse"] }), v.push(setTimeout(() => S.classList.add("--pulse"), z)), v.push(setTimeout(() => S.classList.remove("--pulse"), A));
1387
1387
  }
1388
1388
  }
@@ -1390,17 +1390,17 @@ je = function(e, n) {
1390
1390
  const q = () => {
1391
1391
  v.forEach((k) => clearTimeout(k)), D.forEach(({ el: k, classes: a }) => k.classList.remove(...a));
1392
1392
  };
1393
- l(this, an).set(c, q);
1394
- const V = e.length * ce + kn + Rn + le + 100;
1393
+ d(this, an).set(c, q);
1394
+ const V = e.length * ce + En + kn + le + 100;
1395
1395
  v.push(setTimeout(() => {
1396
- l(this, an).delete(c);
1396
+ d(this, an).delete(c);
1397
1397
  }, V));
1398
1398
  }, Cn.ɵfac = function(n) {
1399
1399
  return new (n || Cn)();
1400
1400
  }, Cn.ɵcmp = /* @__PURE__ */ ee({ type: Cn, selectors: [["zw-network-diagram"]], inputs: { config: [1, "config"], lightweight: [1, "lightweight"] }, decls: 26, vars: 8, consts: [[1, "__canvas"], ["data-node-id", "endpoint", 1, "__endpoint-row"], ["variant", "endpoint", 3, "label"], [3, "config", "showPaths", "lightweight"], [1, "__zone", "__zone--services"], [1, "__zone-label"], [1, "__services-content"], [1, "__services-row", "__services-row--top"], [1, "__services-side-nodes"], [1, "__services-spacer"], [1, "__services-row", "__services-row--bottom"], ["data-node-id", "storage", 1, "__external-node"], [1, "__svg-layer"], ["variant", "service", 3, "label", "containers", "barColor", "techIcon"], [1, "__compound"], [1, "__compound-lb"], ["variant", "service-highlighted", 3, "label", "containers", "barColor", "highlighted"], [1, "__compound-service"], ["variant", "external", 3, "label", "sublabel"], [1, "__path-base"], [1, "__path-glow"]], template: function(n, o) {
1401
- if (n & 1 && (m(0, "div", 0)(1, "div", 1), u(2, "zw-diagram-node", 2), g(), m(3, "zw-project-shell", 3)(4, "div", 4)(5, "span", 5), N(6, "Your services"), u(7, "br"), N(8, "with system containers"), g(), m(9, "div", 6)(10, "div", 7), u(11, "div"), R(12, Nt, 2, 5, "div", null, ge), G(14, kt, 3, 0, "div", 8)(15, Rt, 1, 0, "div"), g(), u(16, "div", 9), m(17, "div", 10), R(18, Bt, 2, 1, null, null, ge), g()()()(), G(20, Ft, 2, 2, "div", 11), Gn(), m(21, "svg", 12), R(22, qt, 1, 1, null, null, de), R(24, Gt, 1, 1, null, null, de), g()()), n & 2) {
1401
+ if (n & 1 && (m(0, "div", 0)(1, "div", 1), u(2, "zw-diagram-node", 2), g(), m(3, "zw-project-shell", 3)(4, "div", 4)(5, "span", 5), N(6, "Your services"), u(7, "br"), N(8, "with system containers"), g(), m(9, "div", 6)(10, "div", 7), u(11, "div"), R(12, Nt, 2, 5, "div", null, ge), W(14, kt, 3, 0, "div", 8)(15, Rt, 1, 0, "div"), g(), u(16, "div", 9), m(17, "div", 10), R(18, Bt, 2, 1, null, null, ge), g()()()(), W(20, Ft, 2, 2, "div", 11), Wn(), m(21, "svg", 12), R(22, qt, 1, 1, null, null, de), R(24, Wt, 1, 1, null, null, de), g()()), n & 2) {
1402
1402
  let i;
1403
- s(2), T("label", o.config().endpoint), s(), T("config", o.shellConfig())("showPaths", !1)("lightweight", o.lightweight()), s(9), L(o.row1MainServices()), s(2), W(o.row1SideServices().length ? 14 : 15), s(4), L(o.row2Services()), s(2), W((i = o.resolvedStorage()) ? 20 : -1, i), s(), bn("__svg-layer--visible", o.pathsVisible()), s(), L(o.annotatedPaths()), s(2), L(o.annotatedPaths());
1403
+ s(2), T("label", o.config().endpoint), s(), T("config", o.shellConfig())("showPaths", !1)("lightweight", o.lightweight()), s(9), L(o.row1MainServices()), s(2), G(o.row1SideServices().length ? 14 : 15), s(4), L(o.row2Services()), s(2), G((i = o.resolvedStorage()) ? 20 : -1, i), s(), bn("__svg-layer--visible", o.pathsVisible()), s(), L(o.annotatedPaths()), s(2), L(o.annotatedPaths());
1404
1404
  }
1405
1405
  }, dependencies: [ne, he], styles: [`[_nghost-%COMP%] {
1406
1406
  display: block;
@@ -1688,12 +1688,12 @@ function oo(t, e) {
1688
1688
  T("config", e)("lightweight", n.lightweight());
1689
1689
  }
1690
1690
  }
1691
- var qn, zn, Dn, Vn;
1691
+ var qn, Sn, zn, Vn;
1692
1692
  const yn = class yn {
1693
1693
  constructor() {
1694
1694
  $(this, qn);
1695
+ $(this, Sn);
1695
1696
  $(this, zn);
1696
- $(this, Dn);
1697
1697
  $(this, Vn);
1698
1698
  this.slug = E(), this.recipeData = E(void 0, { transform: (e) => {
1699
1699
  if (typeof e != "string")
@@ -1704,14 +1704,14 @@ const yn = class yn {
1704
1704
  } catch {
1705
1705
  return;
1706
1706
  }
1707
- } }), this.environment = E("highly-available-production"), this.mode = E("auto"), this.apiBase = E("https://api.zerops.io"), h(this, qn, Bn(ot)), this.recipe = un(null), this.loading = un(!0), this.error = un(!1), h(this, zn, j(() => {
1707
+ } }), this.environment = E("highly-available-production"), this.mode = E("auto"), this.apiBase = E("https://api.zerops.io"), h(this, qn, An(ot)), this.recipe = un(null), this.loading = un(!0), this.error = un(!1), h(this, Sn, j(() => {
1708
1708
  const e = this.recipe();
1709
1709
  if (!e)
1710
1710
  return;
1711
1711
  const n = e._environmentsExtended || [];
1712
1712
  return n.find((o) => o._key === this.environment()) ?? Qe(n) ?? void 0;
1713
1713
  })), this.diagramConfig = j(() => {
1714
- const e = l(this, zn).call(this);
1714
+ const e = d(this, Sn).call(this);
1715
1715
  return e ? no(e) : void 0;
1716
1716
  }), this.lightweight = j(() => {
1717
1717
  const e = this.mode();
@@ -1719,26 +1719,26 @@ const yn = class yn {
1719
1719
  return !0;
1720
1720
  if (e === "serious")
1721
1721
  return !1;
1722
- const n = l(this, zn).call(this);
1722
+ const n = d(this, Sn).call(this);
1723
1723
  return n ? Xe(n._servicesExtended) === "LIGHT" : !1;
1724
- }), h(this, Dn, new Ke()), h(this, Vn, nt(l(this, Dn).pipe(et((e) => it(l(this, qn), this.apiBase(), e))))), Kn(() => {
1724
+ }), h(this, zn, new Ke()), h(this, Vn, nt(d(this, zn).pipe(et((e) => it(d(this, qn), this.apiBase(), e))))), Kn(() => {
1725
1725
  const e = this.recipeData(), n = this.slug();
1726
1726
  if (e) {
1727
1727
  const o = tt(e);
1728
1728
  this.loading.set(!1), this.error.set(o.error), this.recipe.set(o.recipe);
1729
- } else n && (this.loading.set(!0), this.error.set(!1), this.recipe.set(null), l(this, Dn).next(n));
1729
+ } else n && (this.loading.set(!0), this.error.set(!1), this.recipe.set(null), d(this, zn).next(n));
1730
1730
  }), Kn(() => {
1731
- const e = l(this, Vn).call(this);
1731
+ const e = d(this, Vn).call(this);
1732
1732
  e && (this.loading.set(!1), this.error.set(e.error), this.recipe.set(e.recipe));
1733
1733
  });
1734
1734
  }
1735
1735
  };
1736
- qn = new WeakMap(), zn = new WeakMap(), Dn = new WeakMap(), Vn = new WeakMap(), yn.ɵfac = function(n) {
1736
+ qn = new WeakMap(), Sn = new WeakMap(), zn = new WeakMap(), Vn = new WeakMap(), yn.ɵfac = function(n) {
1737
1737
  return new (n || yn)();
1738
1738
  }, yn.ɵcmp = /* @__PURE__ */ ee({ type: yn, selectors: [["zwe-network-diagram-element"]], inputs: { slug: [1, "slug"], recipeData: [1, "recipeData"], environment: [1, "environment"], mode: [1, "mode"], apiBase: [1, "apiBase"] }, decls: 4, vars: 1, consts: [[1, "zerops"], ["aria-hidden", "true", 1, "__skeleton"], [1, "__error"], [3, "config", "lightweight"]], template: function(n, o) {
1739
- if (n & 1 && (m(0, "div", 0), G(1, eo, 1, 0, "div", 1)(2, to, 2, 1, "div", 2)(3, oo, 1, 2, "zw-network-diagram", 3), g()), n & 2) {
1739
+ if (n & 1 && (m(0, "div", 0), W(1, eo, 1, 0, "div", 1)(2, to, 2, 1, "div", 2)(3, oo, 1, 2, "zw-network-diagram", 3), g()), n & 2) {
1740
1740
  let i;
1741
- s(), W(o.loading() ? 1 : o.error() ? 2 : (i = o.diagramConfig()) ? 3 : -1, i);
1741
+ s(), G(o.loading() ? 1 : o.error() ? 2 : (i = o.diagramConfig()) ? 3 : -1, i);
1742
1742
  }
1743
1743
  }, dependencies: [_e], styles: [`[_nghost-%COMP%] { display: block; }
1744
1744