@nextrap/nte-nav 0.2.37 → 0.2.41

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/index.js +90 -87
  3. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,3 +1,25 @@
1
+ ## 0.2.41 (2025-07-22)
2
+
3
+ This was a version bump only for nte-nav to align it with other projects, there were no code changes.
4
+
5
+ ## 0.2.40 (2025-07-22)
6
+
7
+ ### 🧱 Updated Dependencies
8
+
9
+ - Updated nt-framework to 0.0.2
10
+ - Updated nte-offcanvas to 0.0.23
11
+ - Updated nte-burger to 0.1.2
12
+
13
+ ## 0.2.39 (2025-07-22)
14
+
15
+ This was a version bump only for nte-nav to align it with other projects, there were no code changes.
16
+
17
+ ## 0.2.38 (2025-07-22)
18
+
19
+ ### 🧱 Updated Dependencies
20
+
21
+ - Updated nte-offcanvas to 0.0.22
22
+
1
23
  ## 0.2.37 (2025-07-22)
2
24
 
3
25
  This was a version bump only for nte-nav to align it with other projects, there were no code changes.
package/index.js CHANGED
@@ -185,6 +185,9 @@ function Gt() {
185
185
  window.addEventListener("load", () => s());
186
186
  });
187
187
  }
188
+ function qt(s) {
189
+ return new Promise((t) => setTimeout(t, s));
190
+ }
188
191
  /**
189
192
  * @license
190
193
  * Copyright 2019 Google LLC
@@ -209,7 +212,7 @@ let Pt = class {
209
212
  return this.cssText;
210
213
  }
211
214
  };
212
- const C = (s) => new Pt(typeof s == "string" ? s : s + "", void 0, Tt), qt = (s, t) => {
215
+ const C = (s) => new Pt(typeof s == "string" ? s : s + "", void 0, Tt), Vt = (s, t) => {
213
216
  if (ot) s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
214
217
  else for (const e of t) {
215
218
  const i = document.createElement("style"), r = B.litNonce;
@@ -225,10 +228,10 @@ const C = (s) => new Pt(typeof s == "string" ? s : s + "", void 0, Tt), qt = (s,
225
228
  * Copyright 2017 Google LLC
226
229
  * SPDX-License-Identifier: BSD-3-Clause
227
230
  */
228
- const { is: Vt, defineProperty: Yt, getOwnPropertyDescriptor: Ft, getOwnPropertyNames: Jt, getOwnPropertySymbols: Kt, getPrototypeOf: Zt } = Object, m = globalThis, vt = m.trustedTypes, Qt = vt ? vt.emptyScript : "", Q = m.reactiveElementPolyfillSupport, M = (s, t) => s, G = { toAttribute(s, t) {
231
+ const { is: Yt, defineProperty: Ft, getOwnPropertyDescriptor: Jt, getOwnPropertyNames: Kt, getOwnPropertySymbols: Zt, getPrototypeOf: Qt } = Object, g = globalThis, vt = g.trustedTypes, Xt = vt ? vt.emptyScript : "", Q = g.reactiveElementPolyfillSupport, M = (s, t) => s, G = { toAttribute(s, t) {
229
232
  switch (t) {
230
233
  case Boolean:
231
- s = s ? Qt : null;
234
+ s = s ? Xt : null;
232
235
  break;
233
236
  case Object:
234
237
  case Array:
@@ -253,8 +256,8 @@ const { is: Vt, defineProperty: Yt, getOwnPropertyDescriptor: Ft, getOwnProperty
253
256
  }
254
257
  }
255
258
  return e;
256
- } }, at = (s, t) => !Vt(s, t), gt = { attribute: !0, type: String, converter: G, reflect: !1, useDefault: !1, hasChanged: at };
257
- Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), m.litPropertyMetadata ?? (m.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
259
+ } }, at = (s, t) => !Yt(s, t), mt = { attribute: !0, type: String, converter: G, reflect: !1, useDefault: !1, hasChanged: at };
260
+ Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), g.litPropertyMetadata ?? (g.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
258
261
  let y = class extends HTMLElement {
259
262
  static addInitializer(t) {
260
263
  this._$Ei(), (this.l ?? (this.l = [])).push(t);
@@ -262,14 +265,14 @@ let y = class extends HTMLElement {
262
265
  static get observedAttributes() {
263
266
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
264
267
  }
265
- static createProperty(t, e = gt) {
268
+ static createProperty(t, e = mt) {
266
269
  if (e.state && (e.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((e = Object.create(e)).wrapped = !0), this.elementProperties.set(t, e), !e.noAccessor) {
267
270
  const i = Symbol(), r = this.getPropertyDescriptor(t, i, e);
268
- r !== void 0 && Yt(this.prototype, t, r);
271
+ r !== void 0 && Ft(this.prototype, t, r);
269
272
  }
270
273
  }
271
274
  static getPropertyDescriptor(t, e, i) {
272
- const { get: r, set: n } = Ft(this.prototype, t) ?? { get() {
275
+ const { get: r, set: n } = Jt(this.prototype, t) ?? { get() {
273
276
  return this[e];
274
277
  }, set(o) {
275
278
  this[e] = o;
@@ -280,17 +283,17 @@ let y = class extends HTMLElement {
280
283
  }, configurable: !0, enumerable: !0 };
281
284
  }
282
285
  static getPropertyOptions(t) {
283
- return this.elementProperties.get(t) ?? gt;
286
+ return this.elementProperties.get(t) ?? mt;
284
287
  }
285
288
  static _$Ei() {
286
289
  if (this.hasOwnProperty(M("elementProperties"))) return;
287
- const t = Zt(this);
290
+ const t = Qt(this);
288
291
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
289
292
  }
290
293
  static finalize() {
291
294
  if (this.hasOwnProperty(M("finalized"))) return;
292
295
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(M("properties"))) {
293
- const e = this.properties, i = [...Jt(e), ...Kt(e)];
296
+ const e = this.properties, i = [...Kt(e), ...Zt(e)];
294
297
  for (const r of i) this.createProperty(r, e[r]);
295
298
  }
296
299
  const t = this[Symbol.metadata];
@@ -339,7 +342,7 @@ let y = class extends HTMLElement {
339
342
  }
340
343
  createRenderRoot() {
341
344
  const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
342
- return qt(t, this.constructor.elementStyles), t;
345
+ return Vt(t, this.constructor.elementStyles), t;
343
346
  }
344
347
  connectedCallback() {
345
348
  var t;
@@ -458,20 +461,20 @@ let y = class extends HTMLElement {
458
461
  firstUpdated(t) {
459
462
  }
460
463
  };
461
- y.elementStyles = [], y.shadowRootOptions = { mode: "open" }, y[M("elementProperties")] = /* @__PURE__ */ new Map(), y[M("finalized")] = /* @__PURE__ */ new Map(), Q == null || Q({ ReactiveElement: y }), (m.reactiveElementVersions ?? (m.reactiveElementVersions = [])).push("2.1.1");
464
+ y.elementStyles = [], y.shadowRootOptions = { mode: "open" }, y[M("elementProperties")] = /* @__PURE__ */ new Map(), y[M("finalized")] = /* @__PURE__ */ new Map(), Q == null || Q({ ReactiveElement: y }), (g.reactiveElementVersions ?? (g.reactiveElementVersions = [])).push("2.1.1");
462
465
  /**
463
466
  * @license
464
467
  * Copyright 2017 Google LLC
465
468
  * SPDX-License-Identifier: BSD-3-Clause
466
469
  */
467
- const U = globalThis, q = U.trustedTypes, mt = q ? q.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, Ot = "$lit$", g = `lit$${Math.random().toFixed(9).slice(2)}$`, kt = "?" + g, Xt = `<${kt}>`, E = document, H = () => E.createComment(""), L = (s) => s === null || typeof s != "object" && typeof s != "function", lt = Array.isArray, te = (s) => lt(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", X = `[
470
+ const U = globalThis, q = U.trustedTypes, gt = q ? q.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, Ot = "$lit$", m = `lit$${Math.random().toFixed(9).slice(2)}$`, kt = "?" + m, te = `<${kt}>`, E = document, L = () => E.createComment(""), H = (s) => s === null || typeof s != "object" && typeof s != "function", lt = Array.isArray, ee = (s) => lt(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", X = `[
468
471
  \f\r]`, k = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, bt = /-->/g, _t = />/g, $ = RegExp(`>|${X}(?:([^\\s"'>=/]+)(${X}*=${X}*(?:[^
469
- \f\r"'\`<>=]|("|')|))|$)`, "g"), $t = /'/g, yt = /"/g, Mt = /^(?:script|style|textarea|title)$/i, ee = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), R = ee(1), S = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), wt = /* @__PURE__ */ new WeakMap(), w = E.createTreeWalker(E, 129);
472
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), $t = /'/g, yt = /"/g, Mt = /^(?:script|style|textarea|title)$/i, se = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), R = se(1), S = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), wt = /* @__PURE__ */ new WeakMap(), w = E.createTreeWalker(E, 129);
470
473
  function Ut(s, t) {
471
474
  if (!lt(s) || !s.hasOwnProperty("raw")) throw Error("invalid template strings array");
472
- return mt !== void 0 ? mt.createHTML(t) : t;
475
+ return gt !== void 0 ? gt.createHTML(t) : t;
473
476
  }
474
- const se = (s, t) => {
477
+ const ie = (s, t) => {
475
478
  const e = s.length - 1, i = [];
476
479
  let r, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = k;
477
480
  for (let l = 0; l < e; l++) {
@@ -479,7 +482,7 @@ const se = (s, t) => {
479
482
  let d, h, c = -1, u = 0;
480
483
  for (; u < a.length && (o.lastIndex = u, h = o.exec(a), h !== null); ) u = o.lastIndex, o === k ? h[1] === "!--" ? o = bt : h[1] !== void 0 ? o = _t : h[2] !== void 0 ? (Mt.test(h[2]) && (r = RegExp("</" + h[2], "g")), o = $) : h[3] !== void 0 && (o = $) : o === $ ? h[0] === ">" ? (o = r ?? k, c = -1) : h[1] === void 0 ? c = -2 : (c = o.lastIndex - h[2].length, d = h[1], o = h[3] === void 0 ? $ : h[3] === '"' ? yt : $t) : o === yt || o === $t ? o = $ : o === bt || o === _t ? o = k : (o = $, r = void 0);
481
484
  const v = o === $ && s[l + 1].startsWith("/>") ? " " : "";
482
- n += o === k ? a + Xt : c >= 0 ? (i.push(d), a.slice(0, c) + Ot + a.slice(c) + g + v) : a + g + (c === -2 ? l : v);
485
+ n += o === k ? a + te : c >= 0 ? (i.push(d), a.slice(0, c) + Ot + a.slice(c) + m + v) : a + m + (c === -2 ? l : v);
483
486
  }
484
487
  return [Ut(s, n + (s[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
485
488
  };
@@ -488,7 +491,7 @@ class D {
488
491
  let r;
489
492
  this.parts = [];
490
493
  let n = 0, o = 0;
491
- const l = t.length - 1, a = this.parts, [d, h] = se(t, e);
494
+ const l = t.length - 1, a = this.parts, [d, h] = ie(t, e);
492
495
  if (this.el = D.createElement(d, i), w.currentNode = this.el.content, e === 2 || e === 3) {
493
496
  const c = this.el.content.firstChild;
494
497
  c.replaceWith(...c.childNodes);
@@ -496,21 +499,21 @@ class D {
496
499
  for (; (r = w.nextNode()) !== null && a.length < l; ) {
497
500
  if (r.nodeType === 1) {
498
501
  if (r.hasAttributes()) for (const c of r.getAttributeNames()) if (c.endsWith(Ot)) {
499
- const u = h[o++], v = r.getAttribute(c).split(g), W = /([.?@])?(.*)/.exec(u);
500
- a.push({ type: 1, index: n, name: W[2], strings: v, ctor: W[1] === "." ? re : W[1] === "?" ? ne : W[1] === "@" ? oe : J }), r.removeAttribute(c);
501
- } else c.startsWith(g) && (a.push({ type: 6, index: n }), r.removeAttribute(c));
502
+ const u = h[o++], v = r.getAttribute(c).split(m), W = /([.?@])?(.*)/.exec(u);
503
+ a.push({ type: 1, index: n, name: W[2], strings: v, ctor: W[1] === "." ? ne : W[1] === "?" ? oe : W[1] === "@" ? ae : J }), r.removeAttribute(c);
504
+ } else c.startsWith(m) && (a.push({ type: 6, index: n }), r.removeAttribute(c));
502
505
  if (Mt.test(r.tagName)) {
503
- const c = r.textContent.split(g), u = c.length - 1;
506
+ const c = r.textContent.split(m), u = c.length - 1;
504
507
  if (u > 0) {
505
508
  r.textContent = q ? q.emptyScript : "";
506
- for (let v = 0; v < u; v++) r.append(c[v], H()), w.nextNode(), a.push({ type: 2, index: ++n });
507
- r.append(c[u], H());
509
+ for (let v = 0; v < u; v++) r.append(c[v], L()), w.nextNode(), a.push({ type: 2, index: ++n });
510
+ r.append(c[u], L());
508
511
  }
509
512
  }
510
513
  } else if (r.nodeType === 8) if (r.data === kt) a.push({ type: 2, index: n });
511
514
  else {
512
515
  let c = -1;
513
- for (; (c = r.data.indexOf(g, c + 1)) !== -1; ) a.push({ type: 7, index: n }), c += g.length - 1;
516
+ for (; (c = r.data.indexOf(m, c + 1)) !== -1; ) a.push({ type: 7, index: n }), c += m.length - 1;
514
517
  }
515
518
  n++;
516
519
  }
@@ -524,10 +527,10 @@ function P(s, t, e = s, i) {
524
527
  var o, l;
525
528
  if (t === S) return t;
526
529
  let r = i !== void 0 ? (o = e._$Co) == null ? void 0 : o[i] : e._$Cl;
527
- const n = L(t) ? void 0 : t._$litDirective$;
530
+ const n = H(t) ? void 0 : t._$litDirective$;
528
531
  return (r == null ? void 0 : r.constructor) !== n && ((l = r == null ? void 0 : r._$AO) == null || l.call(r, !1), n === void 0 ? r = void 0 : (r = new n(s), r._$AT(s, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = r : e._$Cl = r), r !== void 0 && (t = P(s, r._$AS(s, t.values), r, i)), t;
529
532
  }
530
- class ie {
533
+ class re {
531
534
  constructor(t, e) {
532
535
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
533
536
  }
@@ -544,7 +547,7 @@ class ie {
544
547
  for (; a !== void 0; ) {
545
548
  if (o === a.index) {
546
549
  let d;
547
- a.type === 2 ? d = new j(n, n.nextSibling, this, t) : a.type === 1 ? d = new a.ctor(n, a.name, a.strings, this, t) : a.type === 6 && (d = new ae(n, this, t)), this._$AV.push(d), a = i[++l];
550
+ a.type === 2 ? d = new j(n, n.nextSibling, this, t) : a.type === 1 ? d = new a.ctor(n, a.name, a.strings, this, t) : a.type === 6 && (d = new le(n, this, t)), this._$AV.push(d), a = i[++l];
548
551
  }
549
552
  o !== (a == null ? void 0 : a.index) && (n = w.nextNode(), o++);
550
553
  }
@@ -575,7 +578,7 @@ class j {
575
578
  return this._$AB;
576
579
  }
577
580
  _$AI(t, e = this) {
578
- t = P(this, t, e), L(t) ? t === p || t == null || t === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : t !== this._$AH && t !== S && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : te(t) ? this.k(t) : this._(t);
581
+ t = P(this, t, e), H(t) ? t === p || t == null || t === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : t !== this._$AH && t !== S && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : ee(t) ? this.k(t) : this._(t);
579
582
  }
580
583
  O(t) {
581
584
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -584,14 +587,14 @@ class j {
584
587
  this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
585
588
  }
586
589
  _(t) {
587
- this._$AH !== p && L(this._$AH) ? this._$AA.nextSibling.data = t : this.T(E.createTextNode(t)), this._$AH = t;
590
+ this._$AH !== p && H(this._$AH) ? this._$AA.nextSibling.data = t : this.T(E.createTextNode(t)), this._$AH = t;
588
591
  }
589
592
  $(t) {
590
593
  var n;
591
594
  const { values: e, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = D.createElement(Ut(i.h, i.h[0]), this.options)), i);
592
595
  if (((n = this._$AH) == null ? void 0 : n._$AD) === r) this._$AH.p(e);
593
596
  else {
594
- const o = new ie(r, this), l = o.u(this.options);
597
+ const o = new re(r, this), l = o.u(this.options);
595
598
  o.p(e), this.T(l), this._$AH = o;
596
599
  }
597
600
  }
@@ -603,7 +606,7 @@ class j {
603
606
  lt(this._$AH) || (this._$AH = [], this._$AR());
604
607
  const e = this._$AH;
605
608
  let i, r = 0;
606
- for (const n of t) r === e.length ? e.push(i = new j(this.O(H()), this.O(H()), this, this.options)) : i = e[r], i._$AI(n), r++;
609
+ for (const n of t) r === e.length ? e.push(i = new j(this.O(L()), this.O(L()), this, this.options)) : i = e[r], i._$AI(n), r++;
607
610
  r < e.length && (this._$AR(i && i._$AB.nextSibling, r), e.length = r);
608
611
  }
609
612
  _$AR(t = this._$AA.nextSibling, e) {
@@ -631,11 +634,11 @@ class J {
631
634
  _$AI(t, e = this, i, r) {
632
635
  const n = this.strings;
633
636
  let o = !1;
634
- if (n === void 0) t = P(this, t, e, 0), o = !L(t) || t !== this._$AH && t !== S, o && (this._$AH = t);
637
+ if (n === void 0) t = P(this, t, e, 0), o = !H(t) || t !== this._$AH && t !== S, o && (this._$AH = t);
635
638
  else {
636
639
  const l = t;
637
640
  let a, d;
638
- for (t = n[0], a = 0; a < n.length - 1; a++) d = P(this, l[i + a], e, a), d === S && (d = this._$AH[a]), o || (o = !L(d) || d !== this._$AH[a]), d === p ? t = p : t !== p && (t += (d ?? "") + n[a + 1]), this._$AH[a] = d;
641
+ for (t = n[0], a = 0; a < n.length - 1; a++) d = P(this, l[i + a], e, a), d === S && (d = this._$AH[a]), o || (o = !H(d) || d !== this._$AH[a]), d === p ? t = p : t !== p && (t += (d ?? "") + n[a + 1]), this._$AH[a] = d;
639
642
  }
640
643
  o && !r && this.j(t);
641
644
  }
@@ -643,7 +646,7 @@ class J {
643
646
  t === p ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
644
647
  }
645
648
  }
646
- class re extends J {
649
+ class ne extends J {
647
650
  constructor() {
648
651
  super(...arguments), this.type = 3;
649
652
  }
@@ -651,7 +654,7 @@ class re extends J {
651
654
  this.element[this.name] = t === p ? void 0 : t;
652
655
  }
653
656
  }
654
- class ne extends J {
657
+ class oe extends J {
655
658
  constructor() {
656
659
  super(...arguments), this.type = 4;
657
660
  }
@@ -659,7 +662,7 @@ class ne extends J {
659
662
  this.element.toggleAttribute(this.name, !!t && t !== p);
660
663
  }
661
664
  }
662
- class oe extends J {
665
+ class ae extends J {
663
666
  constructor(t, e, i, r, n) {
664
667
  super(t, e, i, r, n), this.type = 5;
665
668
  }
@@ -673,7 +676,7 @@ class oe extends J {
673
676
  typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
674
677
  }
675
678
  }
676
- class ae {
679
+ class le {
677
680
  constructor(t, e, i) {
678
681
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
679
682
  }
@@ -686,12 +689,12 @@ class ae {
686
689
  }
687
690
  const tt = U.litHtmlPolyfillSupport;
688
691
  tt == null || tt(D, j), (U.litHtmlVersions ?? (U.litHtmlVersions = [])).push("3.3.1");
689
- const le = (s, t, e) => {
692
+ const he = (s, t, e) => {
690
693
  const i = (e == null ? void 0 : e.renderBefore) ?? t;
691
694
  let r = i._$litPart$;
692
695
  if (r === void 0) {
693
696
  const n = (e == null ? void 0 : e.renderBefore) ?? null;
694
- i._$litPart$ = r = new j(t.insertBefore(H(), n), n, void 0, e ?? {});
697
+ i._$litPart$ = r = new j(t.insertBefore(L(), n), n, void 0, e ?? {});
695
698
  }
696
699
  return r._$AI(s), r;
697
700
  };
@@ -712,7 +715,7 @@ let b = class extends y {
712
715
  }
713
716
  update(t) {
714
717
  const e = this.render();
715
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = le(e, this.renderRoot, this.renderOptions);
718
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = he(e, this.renderRoot, this.renderOptions);
716
719
  }
717
720
  connectedCallback() {
718
721
  var t;
@@ -746,7 +749,7 @@ const z = (s) => (t, e) => {
746
749
  * Copyright 2017 Google LLC
747
750
  * SPDX-License-Identifier: BSD-3-Clause
748
751
  */
749
- const he = { attribute: !0, type: String, converter: G, reflect: !1, hasChanged: at }, ce = (s = he, t, e) => {
752
+ const ce = { attribute: !0, type: String, converter: G, reflect: !1, hasChanged: at }, de = (s = ce, t, e) => {
750
753
  const { kind: i, metadata: r } = e;
751
754
  let n = globalThis.litPropertyMetadata.get(r);
752
755
  if (n === void 0 && globalThis.litPropertyMetadata.set(r, n = /* @__PURE__ */ new Map()), i === "setter" && ((s = Object.create(s)).wrapped = !0), n.set(e.name, s), i === "accessor") {
@@ -768,7 +771,7 @@ const he = { attribute: !0, type: String, converter: G, reflect: !1, hasChanged:
768
771
  throw Error("Unsupported decorator location: " + i);
769
772
  };
770
773
  function f(s) {
771
- return (t, e) => typeof e == "object" ? ce(s, t, e) : ((i, r, n) => {
774
+ return (t, e) => typeof e == "object" ? de(s, t, e) : ((i, r, n) => {
772
775
  const o = r.hasOwnProperty(n);
773
776
  return r.constructor.createProperty(n, i), o ? Object.getOwnPropertyDescriptor(r, n) : void 0;
774
777
  })(s, t, e);
@@ -781,7 +784,7 @@ function f(s) {
781
784
  function Nt(s) {
782
785
  return f({ ...s, state: !0, attribute: !1 });
783
786
  }
784
- function de(s, t) {
787
+ function pe(s, t) {
785
788
  const e = document.createElement("template");
786
789
  return e.innerHTML = s.trim(), t.append(e.content.cloneNode(!0)), new Proxy({}, {
787
790
  get(i, r) {
@@ -800,7 +803,7 @@ const ct = class ct extends y {
800
803
  constructor(t) {
801
804
  super();
802
805
  const e = this.createRenderRoot();
803
- this.$ = de(t, e);
806
+ this.$ = pe(t, e);
804
807
  }
805
808
  connectedCallback() {
806
809
  super.connectedCallback();
@@ -820,7 +823,7 @@ let it = ct;
820
823
  * Copyright 2017 Google LLC
821
824
  * SPDX-License-Identifier: BSD-3-Clause
822
825
  */
823
- const Ht = { ATTRIBUTE: 1, CHILD: 2 }, Lt = (s) => (...t) => ({ _$litDirective$: s, values: t });
826
+ const Lt = { ATTRIBUTE: 1, CHILD: 2 }, Ht = (s) => (...t) => ({ _$litDirective$: s, values: t });
824
827
  class Rt {
825
828
  constructor(t) {
826
829
  }
@@ -842,10 +845,10 @@ class Rt {
842
845
  * Copyright 2018 Google LLC
843
846
  * SPDX-License-Identifier: BSD-3-Clause
844
847
  */
845
- const At = Lt(class extends Rt {
848
+ const At = Ht(class extends Rt {
846
849
  constructor(s) {
847
850
  var t;
848
- if (super(s), s.type !== Ht.ATTRIBUTE || s.name !== "class" || ((t = s.strings) == null ? void 0 : t.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
851
+ if (super(s), s.type !== Lt.ATTRIBUTE || s.name !== "class" || ((t = s.strings) == null ? void 0 : t.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
849
852
  }
850
853
  render(s) {
851
854
  return " " + Object.keys(s).filter((t) => s[t]).join(" ") + " ";
@@ -865,11 +868,11 @@ const At = Lt(class extends Rt {
865
868
  }
866
869
  return S;
867
870
  }
868
- }), pe = "*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body{height:100%;width:100%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}img,picture,video,canvas,svg{display:block;max-width:100%}input,button,textarea,select{font:inherit;color:inherit;background:none;border:none;outline:none}a,i{color:inherit;text-decoration:none}ul,ol{list-style:none}table{border-collapse:collapse;border-spacing:0}slot{display:contents}:host{--backdrop: rgb(from var(--nt-dark) r g b / .5);--header-background: transparent;--background-color: var(--nt-soft-primary);--shadow-color: rgb(from var(--nt-dark) r g b / .5);--main-padding: 0;--header-padding: var(--nt-space);position:fixed;top:0;right:0;height:100vh;width:33%;min-width:250px;max-width:400px;z-index:2000;padding:0;isolation:isolate;display:block}:host[opened]{display:block}#offcanvas{display:flex;flex-direction:column;width:100%;height:100%;background-color:var(--background-color);box-shadow:0 0 10px var(--shadow-color);transition:transform .2s ease-in-out;transform:translate(0)}#offcanvas.closed{transform:translate(100%)}#header{display:flex;width:100%;flex-direction:row;justify-content:space-between;align-items:center;background-color:var(--header-background);flex-grow:0;padding:var(--header-padding)}#header:has(>slot[empty]){display:none}#main{display:flex;width:100%;flex-grow:1;padding:var(--main-padding);min-height:200px;overflow:auto;scroll-behavior:auto;scrollbar-gutter:stable;height:100%}#footer{display:flex;width:100%;flex-direction:row;justify-content:space-between;align-items:center;margin-top:auto;flex-grow:0;padding:var(--padding)}#footer:has(>slot[empty]){display:none}#backdrop{opacity:1;transition:opacity .2s ease-in-out;position:fixed;top:0;left:0;width:100%;height:100%;background-color:var(--backdrop);z-index:-1;display:block}#backdrop.closed{opacity:0}";
869
- var ue = Object.defineProperty, fe = Object.getOwnPropertyDescriptor, K = (s, t, e, i) => {
870
- for (var r = i > 1 ? void 0 : i ? fe(t, e) : t, n = s.length - 1, o; n >= 0; n--)
871
+ }), ue = "*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body{height:100%;width:100%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}img,picture,video,canvas,svg{display:block;max-width:100%}input,button,textarea,select{font:inherit;color:inherit;background:none;border:none;outline:none}a,i{color:inherit;text-decoration:none}ul,ol{list-style:none}table{border-collapse:collapse;border-spacing:0}slot{display:contents}:host{--backdrop: rgb(from var(--nt-dark) r g b / .5);--header-background: transparent;--background-color: var(--nt-soft-primary);--shadow-color: rgb(from var(--nt-dark) r g b / .5);--main-padding: 0;--header-padding: var(--nt-space);position:fixed;top:0;right:0;height:100vh;width:33%;min-width:250px;max-width:400px;z-index:2000;padding:0;isolation:isolate;display:block}:host[opened]{display:block}#offcanvas{display:flex;flex-direction:column;width:100%;height:100%;background-color:var(--background-color);box-shadow:0 0 10px var(--shadow-color);transition:transform .2s ease-in-out;transform:translate(0)}#offcanvas.closed{transform:translate(100%)}#header{display:flex;width:100%;flex-direction:row;justify-content:space-between;align-items:center;background-color:var(--header-background);flex-grow:0;padding:var(--header-padding)}#header:has(>slot[empty]){display:none}#main{display:flex;width:100%;flex-grow:1;padding:var(--main-padding);min-height:200px;overflow:auto;scroll-behavior:auto;scrollbar-gutter:auto;height:100%}#footer{display:flex;width:100%;flex-direction:row;justify-content:space-between;align-items:center;margin-top:auto;flex-grow:0;padding:var(--padding)}#footer:has(>slot[empty]){display:none}#backdrop{opacity:1;transition:opacity .2s ease-in-out;position:fixed;top:0;left:0;width:100%;height:100%;background-color:var(--backdrop);z-index:-1;display:block}#backdrop.closed{opacity:0}";
872
+ var fe = Object.defineProperty, ve = Object.getOwnPropertyDescriptor, K = (s, t, e, i) => {
873
+ for (var r = i > 1 ? void 0 : i ? ve(t, e) : t, n = s.length - 1, o; n >= 0; n--)
871
874
  (o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
872
- return i && r && ue(t, e, r), r;
875
+ return i && r && fe(t, e, r), r;
873
876
  };
874
877
  let x = class extends b {
875
878
  constructor() {
@@ -926,7 +929,7 @@ let x = class extends b {
926
929
  `;
927
930
  }
928
931
  };
929
- x.styles = [C(pe)];
932
+ x.styles = [C(ue)];
930
933
  K([
931
934
  f({ type: Boolean, reflect: !0 })
932
935
  ], x.prototype, "backdrop", 2);
@@ -939,9 +942,9 @@ K([
939
942
  x = K([
940
943
  z(x.is)
941
944
  ], x);
942
- const ve = ":host{--container-width: var(--nt-container-width);--text-color: var(--nt-text);--hover-color: var(--nt-primary);--hover-text-color: var(--nt-text-on-primary);--transition: .2s ease-in-out;--submenu-bg: var(--nt-light);--submenu-text-color: var(--nt-text);--justify-content: center;--sidemenu-bg: var(--nt-soft-primary);--justify-sidebar-burger: flex-end;--height: auto;height:var(--height);display:block}nav{height:100%}#main{height:100%}#burger-wrapper{padding:15px}#burger-default{cursor:pointer}#burger-default slot::slotted(p){color:rgb(from var(--text-color) r g b/.5);transition:color var(--transition)}#burger-default nte-burger{--color: rgb(from var(--text-color) r g b / .5)}#burger-default:hover slot::slotted(p){color:rgb(from var(--text-color) r g b/1)}#burger-default:hover nte-burger{--color: rgb(from var(--text-color) r g b / 1)}";
943
- var ge = Object.defineProperty, me = Object.getOwnPropertyDescriptor, I = (s, t, e, i) => {
944
- for (var r = i > 1 ? void 0 : i ? me(t, e) : t, n = s.length - 1, o; n >= 0; n--)
945
+ const me = ":host{--container-width: var(--nt-container-width);--text-color: var(--nt-text);--hover-color: var(--nt-primary);--hover-text-color: var(--nt-text-on-primary);--transition: .2s ease-in-out;--submenu-bg: var(--nt-light);--submenu-text-color: var(--nt-text);--justify-content: center;--sidemenu-bg: var(--nt-soft-primary);--justify-sidebar-burger: flex-end;--height: auto;height:var(--height);display:block}nav{height:100%}#main{height:100%}#burger-wrapper{padding:15px}#burger-default{cursor:pointer}#burger-default slot::slotted(span){color:rgb(from var(--text-color) r g b/.5);transition:color var(--transition)}#burger-default nte-burger{--color: rgb(from var(--text-color) r g b / .5)}#burger-default:hover slot::slotted(span){color:rgb(from var(--text-color) r g b/1)}#burger-default:hover nte-burger{--color: rgb(from var(--text-color) r g b / 1)}";
946
+ var ge = Object.defineProperty, be = Object.getOwnPropertyDescriptor, I = (s, t, e, i) => {
947
+ for (var r = i > 1 ? void 0 : i ? be(t, e) : t, n = s.length - 1, o; n >= 0; n--)
945
948
  (o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
946
949
  return i && r && ge(t, e, r), r;
947
950
  };
@@ -1015,7 +1018,7 @@ _.DEFINITION = {
1015
1018
  classes: ["align-left", "align-right", "align-center"],
1016
1019
  attributes: {}
1017
1020
  };
1018
- _.styles = [C(ve)];
1021
+ _.styles = [C(me)];
1019
1022
  I([
1020
1023
  f({ type: String, reflect: !0 })
1021
1024
  ], _.prototype, "mode", 2);
@@ -1036,7 +1039,7 @@ _ = I([
1036
1039
  * Copyright 2020 Google LLC
1037
1040
  * SPDX-License-Identifier: BSD-3-Clause
1038
1041
  */
1039
- const be = (s) => s.strings === void 0;
1042
+ const _e = (s) => s.strings === void 0;
1040
1043
  /**
1041
1044
  * @license
1042
1045
  * Copyright 2017 Google LLC
@@ -1059,22 +1062,22 @@ const N = (s, t) => {
1059
1062
  let e = t._$AN;
1060
1063
  if (e === void 0) t._$AN = e = /* @__PURE__ */ new Set();
1061
1064
  else if (e.has(s)) break;
1062
- e.add(s), ye(t);
1065
+ e.add(s), we(t);
1063
1066
  }
1064
1067
  };
1065
- function _e(s) {
1068
+ function $e(s) {
1066
1069
  this._$AN !== void 0 ? (V(this), this._$AM = s, Dt(this)) : this._$AM = s;
1067
1070
  }
1068
- function $e(s, t = !1, e = 0) {
1071
+ function ye(s, t = !1, e = 0) {
1069
1072
  const i = this._$AH, r = this._$AN;
1070
1073
  if (r !== void 0 && r.size !== 0) if (t) if (Array.isArray(i)) for (let n = e; n < i.length; n++) N(i[n], !1), V(i[n]);
1071
1074
  else i != null && (N(i, !1), V(i));
1072
1075
  else N(this, s);
1073
1076
  }
1074
- const ye = (s) => {
1075
- s.type == Ht.CHILD && (s._$AP ?? (s._$AP = $e), s._$AQ ?? (s._$AQ = _e));
1077
+ const we = (s) => {
1078
+ s.type == Lt.CHILD && (s._$AP ?? (s._$AP = ye), s._$AQ ?? (s._$AQ = $e));
1076
1079
  };
1077
- class we extends Rt {
1080
+ class Ae extends Rt {
1078
1081
  constructor() {
1079
1082
  super(...arguments), this._$AN = void 0;
1080
1083
  }
@@ -1086,7 +1089,7 @@ class we extends Rt {
1086
1089
  t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (r = this.disconnected) == null || r.call(this)), e && (N(this, t), V(this));
1087
1090
  }
1088
1091
  setValue(t) {
1089
- if (be(this._$Ct)) this._$Ct._$AI(t, this);
1092
+ if (_e(this._$Ct)) this._$Ct._$AI(t, this);
1090
1093
  else {
1091
1094
  const e = [...this._$Ct._$AH];
1092
1095
  e[this._$Ci] = t, this._$Ct._$AI(e, this, 0);
@@ -1102,10 +1105,10 @@ class we extends Rt {
1102
1105
  * Copyright 2020 Google LLC
1103
1106
  * SPDX-License-Identifier: BSD-3-Clause
1104
1107
  */
1105
- const xt = () => new Ae();
1106
- class Ae {
1108
+ const xt = () => new xe();
1109
+ class xe {
1107
1110
  }
1108
- const st = /* @__PURE__ */ new WeakMap(), Et = Lt(class extends we {
1111
+ const st = /* @__PURE__ */ new WeakMap(), Et = Ht(class extends Ae {
1109
1112
  render(s) {
1110
1113
  return p;
1111
1114
  }
@@ -1131,11 +1134,11 @@ const st = /* @__PURE__ */ new WeakMap(), Et = Lt(class extends we {
1131
1134
  reconnected() {
1132
1135
  this.rt(this.ct);
1133
1136
  }
1134
- }), xe = "*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body{height:100%;width:100%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}img,picture,video,canvas,svg{display:block;max-width:100%}input,button,textarea,select{font:inherit;color:inherit;background:none;border:none;outline:none}a,i{color:inherit;text-decoration:none}ul,ol{list-style:none}table{border-collapse:collapse;border-spacing:0}slot{display:contents}:host{--bg: transparent;--spacer-bg: transparent;--container-width: var(--nt-container-width, 100%);--brand-height: 80px;width:100vw;margin:0}:host(a){height:85px;width:auto}#wrapper{position:relative;left:0;top:0;right:0;width:100%}#spacer{position:relative;top:0;left:0;width:100%;height:var(--brand-height);background-color:var(--spacer-bg)}#navbar{position:absolute;top:0;width:100vw;height:auto;background-color:var(--bg);z-index:1000}#main{width:100vw;display:block}";
1135
- var Ee = Object.defineProperty, Se = Object.getOwnPropertyDescriptor, jt = (s, t, e, i) => {
1136
- for (var r = i > 1 ? void 0 : i ? Se(t, e) : t, n = s.length - 1, o; n >= 0; n--)
1137
+ }), Ee = "*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body{height:100%;width:100%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}img,picture,video,canvas,svg{display:block;max-width:100%}input,button,textarea,select{font:inherit;color:inherit;background:none;border:none;outline:none}a,i{color:inherit;text-decoration:none}ul,ol{list-style:none}table{border-collapse:collapse;border-spacing:0}slot{display:contents}:host{--bg: transparent;--spacer-bg: transparent;--container-width: var(--nt-container-width, 100%);--brand-height: 80px;width:100vw;margin:0}:host(a){height:85px;width:auto}#wrapper{position:relative;left:0;top:0;right:0;width:100%}#spacer{position:relative;top:0;left:0;width:100%;height:var(--brand-height);background-color:var(--spacer-bg)}#navbar{position:absolute;top:0;width:100vw;height:auto;background-color:var(--bg);z-index:1000}#main{width:100vw;display:block}";
1138
+ var Se = Object.defineProperty, Ce = Object.getOwnPropertyDescriptor, jt = (s, t, e, i) => {
1139
+ for (var r = i > 1 ? void 0 : i ? Ce(t, e) : t, n = s.length - 1, o; n >= 0; n--)
1137
1140
  (o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
1138
- return i && r && Ee(t, e, r), r;
1141
+ return i && r && Se(t, e, r), r;
1139
1142
  };
1140
1143
  let Y = class extends b {
1141
1144
  constructor() {
@@ -1161,7 +1164,7 @@ let Y = class extends b {
1161
1164
  async updated(s) {
1162
1165
  await Gt(), super.updated(s);
1163
1166
  const t = this.navbarRef.value, e = this.spacerRef.value;
1164
- console.log("Updating spacer height", t == null ? void 0 : t.offsetHeight, e), t && e && (e.style.height = `${t.offsetHeight}px`);
1167
+ await qt(100), t && e && (e.style.height = `${t.offsetHeight}px`);
1165
1168
  }
1166
1169
  firstUpdated(s) {
1167
1170
  nt.observeEmptySlots(this);
@@ -1182,16 +1185,16 @@ let Y = class extends b {
1182
1185
  `;
1183
1186
  }
1184
1187
  };
1185
- Y.styles = [C(xe)];
1188
+ Y.styles = [C(Ee)];
1186
1189
  jt([
1187
1190
  f({ type: Number, attribute: "scroll-threshold", reflect: !0 })
1188
1191
  ], Y.prototype, "scrollThreshold", 2);
1189
1192
  Y = jt([
1190
1193
  z("nte-navbar")
1191
1194
  ], Y);
1192
- const Ce = "*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body{height:100%;width:100%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}img,picture,video,canvas,svg{display:block;max-width:100%}input,button,textarea,select{font:inherit;color:inherit;background:none;border:none;outline:none}a,i{color:inherit;text-decoration:none}ul,ol{list-style:none}table{border-collapse:collapse;border-spacing:0}slot{display:contents}:host{--container-width: var(--nt-container-width, 100%);--background: transparent;--text-color: var(--nt-text);--height: auto;--brand-height: 80px;display:block;height:100%;width:100vw}:host(.hide-on-scroll){transition:max-height .3s ease-in-out;max-height:100px}:host(.hide-on-scroll.is-scrolled){max-height:0;overflow:hidden}#main{height:var(--height);transition:height .2s ease-in-out;overflow:visible;width:100%;display:flex;background:var(--background)}#container{width:var(--container-width);margin:0 auto;display:flex}#container #brand{flex-shrink:1;width:auto;align-items:start;display:flex;height:100%;justify-items:center}#container #brand:has(slot[empty]){display:none}#container #nav{display:flex;flex-grow:1;justify-content:end;align-items:center;gap:1rem}";
1193
- var Te = Object.getOwnPropertyDescriptor, Pe = (s, t, e, i) => {
1194
- for (var r = i > 1 ? void 0 : i ? Te(t, e) : t, n = s.length - 1, o; n >= 0; n--)
1195
+ const Te = "*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body{height:100%;width:100%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}img,picture,video,canvas,svg{display:block;max-width:100%}input,button,textarea,select{font:inherit;color:inherit;background:none;border:none;outline:none}a,i{color:inherit;text-decoration:none}ul,ol{list-style:none}table{border-collapse:collapse;border-spacing:0}slot{display:contents}:host{--container-width: var(--nt-container-width, 100%);--background: transparent;--text-color: var(--nt-text);--height: auto;--brand-height: 80px;display:block;height:100%;width:100vw}:host(.hide-on-scroll){transition:max-height .3s ease-in-out;max-height:100px}:host(.hide-on-scroll.is-scrolled){max-height:0;overflow:hidden}#main{height:var(--height);transition:height .2s ease-in-out;overflow:visible;width:100%;display:flex;background:var(--background)}#container{width:var(--container-width);margin:0 auto;display:flex}#container #brand{flex-shrink:1;width:auto;align-items:start;display:flex;height:100%;justify-items:center}#container #brand:has(slot[empty]){display:none}#container #nav{display:flex;flex-grow:1;justify-content:end;align-items:center;gap:1rem}";
1196
+ var Pe = Object.getOwnPropertyDescriptor, Oe = (s, t, e, i) => {
1197
+ for (var r = i > 1 ? void 0 : i ? Pe(t, e) : t, n = s.length - 1, o; n >= 0; n--)
1195
1198
  (o = s[n]) && (r = o(r) || r);
1196
1199
  return r;
1197
1200
  };
@@ -1226,17 +1229,17 @@ let rt = class extends b {
1226
1229
  `;
1227
1230
  }
1228
1231
  };
1229
- rt.styles = [C(Ce)];
1230
- rt = Pe([
1232
+ rt.styles = [C(Te)];
1233
+ rt = Oe([
1231
1234
  z("nte-navbar-line")
1232
1235
  ], rt);
1233
- const Oe = ":host{--size: 40px;--color: var(--nt-text);--color-hover: var(--color);height:var(--size);width:var(--size)}.hamburger{display:block;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0 none;background:none;transition:transform .4s}.hamburger:hover{--color: var(--color-hover)}:host([open]) .hamburger .bar:nth-of-type(1){--translate: calc(var(--size) / 4);transform:translateY(var(--translate)) rotate(45deg)}:host([open]) .hamburger .bar:nth-of-type(2){opacity:0}:host([open]) .hamburger .bar:nth-of-type(3){--translate: calc(var(--size) / -4);transform:translateY(var(--translate)) rotate(-45deg)}.bar{height:3px;width:var(--size);display:block;margin:calc(var(--size) / 5.2) auto;position:relative;background-color:var(--color);transition:.4s}";
1234
- var ke = Object.defineProperty, Me = Object.getOwnPropertyDescriptor, ht = (s, t, e, i) => {
1235
- for (var r = i > 1 ? void 0 : i ? Me(t, e) : t, n = s.length - 1, o; n >= 0; n--)
1236
+ const ke = ":host{--size: 40px;--color: var(--nt-text);--color-hover: var(--color);height:var(--size);width:var(--size)}.hamburger{display:block;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0 none;background:none;transition:transform .4s}.hamburger:hover{--color: var(--color-hover)}:host([open]) .hamburger .bar:nth-of-type(1){--translate: calc(var(--size) / 4);transform:translateY(var(--translate)) rotate(45deg)}:host([open]) .hamburger .bar:nth-of-type(2){opacity:0}:host([open]) .hamburger .bar:nth-of-type(3){--translate: calc(var(--size) / -4);transform:translateY(var(--translate)) rotate(-45deg)}.bar{height:3px;width:var(--size);display:block;margin:calc(var(--size) / 5.2) auto;position:relative;background-color:var(--color);transition:.4s}";
1237
+ var Me = Object.defineProperty, Ue = Object.getOwnPropertyDescriptor, ht = (s, t, e, i) => {
1238
+ for (var r = i > 1 ? void 0 : i ? Ue(t, e) : t, n = s.length - 1, o; n >= 0; n--)
1236
1239
  (o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
1237
- return i && r && ke(t, e, r), r;
1240
+ return i && r && Me(t, e, r), r;
1238
1241
  };
1239
- const Ue = `
1242
+ const Ne = `
1240
1243
  <div id="wrapper">
1241
1244
  <button id="button" class="hamburger">
1242
1245
  <div class="bar"></div>
@@ -1247,10 +1250,10 @@ const Ue = `
1247
1250
  `;
1248
1251
  let F = class extends it {
1249
1252
  constructor() {
1250
- super(Ue), this.open = !1, this.text = "Menu";
1253
+ super(Ne), this.open = !1, this.text = "Menu";
1251
1254
  }
1252
1255
  get css() {
1253
- return C(Oe);
1256
+ return C(ke);
1254
1257
  }
1255
1258
  };
1256
1259
  ht([
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@nextrap/nte-nav",
3
- "version": "0.2.37",
3
+ "version": "0.2.41",
4
4
  "main": "./index.js",
5
5
  "dependencies": {
6
- "@nextrap/nt-framework": "^0.0.1",
7
- "@nextrap/nte-burger": "*",
8
- "@nextrap/nte-offcanvas": "*"
6
+ "@nextrap/nt-framework": "^0.0.2",
7
+ "@nextrap/nte-burger": "0.1.2",
8
+ "@nextrap/nte-offcanvas": "0.0.23"
9
9
  },
10
10
  "devDependencies": {
11
11
  "@nextrap/style-base": "^1.1.5",