@visma-swno/vsn-navigation 1.2.0-beta.7 → 1.2.0-beta.8

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.
@@ -192,38 +192,38 @@ function g(e) {
192
192
  function _(e) {
193
193
  return "items" in e;
194
194
  }
195
- var de = class e extends Error {
195
+ var v = class e extends Error {
196
196
  constructor(t) {
197
197
  super(t), this.name = "SearchError", Object.setPrototypeOf(this, e.prototype);
198
198
  }
199
- }, fe = ie("activeId"), v = "lit-localize-status", y = (e, ...t) => ({
199
+ }, de = ie("activeId"), y = "lit-localize-status", b = (e, ...t) => ({
200
200
  strTag: !0,
201
201
  strings: e,
202
202
  values: t
203
- }), pe = (e) => typeof e != "string" && "strTag" in e, me = (e, t, n) => {
203
+ }), fe = (e) => typeof e != "string" && "strTag" in e, pe = (e, t, n) => {
204
204
  let r = e[0];
205
205
  for (let i = 1; i < e.length; i++) r += t[n ? n[i - 1] : i - 1], r += e[i];
206
206
  return r;
207
- }, he = ((e) => pe(e) ? me(e.strings, e.values) : e), b = he, ge = !1;
208
- function _e(e) {
209
- if (ge) throw Error("lit-localize can only be configured once");
210
- b = e, ge = !0;
207
+ }, me = ((e) => fe(e) ? pe(e.strings, e.values) : e), x = me, he = !1;
208
+ function ge(e) {
209
+ if (he) throw Error("lit-localize can only be configured once");
210
+ x = e, he = !0;
211
211
  }
212
212
  //#endregion
213
213
  //#region node_modules/@lit/localize/internal/localized-controller.js
214
- var ve = class {
214
+ var _e = class {
215
215
  constructor(e) {
216
216
  this.__litLocalizeEventHandler = (e) => {
217
217
  e.detail.status === "ready" && this.host.requestUpdate();
218
218
  }, this.host = e;
219
219
  }
220
220
  hostConnected() {
221
- window.addEventListener(v, this.__litLocalizeEventHandler);
221
+ window.addEventListener(y, this.__litLocalizeEventHandler);
222
222
  }
223
223
  hostDisconnected() {
224
- window.removeEventListener(v, this.__litLocalizeEventHandler);
224
+ window.removeEventListener(y, this.__litLocalizeEventHandler);
225
225
  }
226
- }, ye = (e) => e.addController(new ve(e)), x = () => (e, t) => (e.addInitializer(ye), e), be = class {
226
+ }, ve = (e) => e.addController(new _e(e)), S = () => (e, t) => (e.addInitializer(ve), e), ye = class {
227
227
  constructor() {
228
228
  this.settled = !1, this.promise = new Promise((e, t) => {
229
229
  this._resolve = e, this._reject = t;
@@ -235,67 +235,67 @@ var ve = class {
235
235
  reject(e) {
236
236
  this.settled = !0, this._reject(e);
237
237
  }
238
- }, S = [];
239
- for (let e = 0; e < 256; e++) S[e] = (e >> 4 & 15).toString(16) + (e & 15).toString(16);
240
- function xe(e) {
238
+ }, C = [];
239
+ for (let e = 0; e < 256; e++) C[e] = (e >> 4 & 15).toString(16) + (e & 15).toString(16);
240
+ function be(e) {
241
241
  let t = 0, n = 8997, r = 0, i = 33826, a = 0, o = 40164, s = 0, c = 52210;
242
242
  for (let l = 0; l < e.length; l++) n ^= e.charCodeAt(l), t = n * 435, r = i * 435, a = o * 435, s = c * 435, a += n << 8, s += i << 8, r += t >>> 16, n = t & 65535, a += r >>> 16, i = r & 65535, c = s + (a >>> 16) & 65535, o = a & 65535;
243
- return S[c >> 8] + S[c & 255] + S[o >> 8] + S[o & 255] + S[i >> 8] + S[i & 255] + S[n >> 8] + S[n & 255];
243
+ return C[c >> 8] + C[c & 255] + C[o >> 8] + C[o & 255] + C[i >> 8] + C[i & 255] + C[n >> 8] + C[n & 255];
244
244
  }
245
- var Se = "h", Ce = "s";
246
- function we(e, t) {
247
- return (t ? Se : Ce) + xe(typeof e == "string" ? e : e.join(""));
245
+ var xe = "h", Se = "s";
246
+ function Ce(e, t) {
247
+ return (t ? xe : Se) + be(typeof e == "string" ? e : e.join(""));
248
248
  }
249
249
  //#endregion
250
250
  //#region node_modules/@lit/localize/internal/runtime-msg.js
251
- var Te = /* @__PURE__ */ new WeakMap(), Ee = /* @__PURE__ */ new Map();
252
- function De(e, t, n) {
251
+ var we = /* @__PURE__ */ new WeakMap(), Te = /* @__PURE__ */ new Map();
252
+ function Ee(e, t, n) {
253
253
  if (e) {
254
- let r = e[n?.id ?? Oe(t)];
254
+ let r = e[n?.id ?? De(t)];
255
255
  if (r) {
256
256
  if (typeof r == "string") return r;
257
- if ("strTag" in r) return me(r.strings, t.values, r.values);
257
+ if ("strTag" in r) return pe(r.strings, t.values, r.values);
258
258
  {
259
- let e = Te.get(r);
260
- return e === void 0 && (e = r.values, Te.set(r, e)), {
259
+ let e = we.get(r);
260
+ return e === void 0 && (e = r.values, we.set(r, e)), {
261
261
  ...r,
262
262
  values: e.map((e) => t.values[e])
263
263
  };
264
264
  }
265
265
  }
266
266
  }
267
- return he(t);
267
+ return me(t);
268
268
  }
269
- function Oe(e) {
270
- let t = typeof e == "string" ? e : e.strings, n = Ee.get(t);
271
- return n === void 0 && (n = we(t, typeof e != "string" && !("strTag" in e)), Ee.set(t, n)), n;
269
+ function De(e) {
270
+ let t = typeof e == "string" ? e : e.strings, n = Te.get(t);
271
+ return n === void 0 && (n = Ce(t, typeof e != "string" && !("strTag" in e)), Te.set(t, n)), n;
272
272
  }
273
273
  //#endregion
274
274
  //#region node_modules/@lit/localize/init/runtime.js
275
- function C(e) {
276
- window.dispatchEvent(new CustomEvent(v, { detail: e }));
275
+ function w(e) {
276
+ window.dispatchEvent(new CustomEvent(y, { detail: e }));
277
277
  }
278
- var w = "", T, ke, E, D, Ae, O = new be();
278
+ var T = "", E, Oe, D, ke, Ae, O = new ye();
279
279
  O.resolve();
280
- var k = 0, je = (e) => (_e(((e, t) => De(Ae, e, t))), w = ke = e.sourceLocale, E = new Set(e.targetLocales), E.add(e.sourceLocale), D = e.loadLocale, {
280
+ var k = 0, je = (e) => (ge(((e, t) => Ee(Ae, e, t))), T = Oe = e.sourceLocale, D = new Set(e.targetLocales), D.add(e.sourceLocale), ke = e.loadLocale, {
281
281
  getLocale: Me,
282
282
  setLocale: Ne
283
- }), Me = () => w, Ne = (e) => {
284
- if (e === (T ?? w)) return O.promise;
285
- if (!E || !D) throw Error("Internal error");
286
- if (!E.has(e)) throw Error("Invalid locale code");
283
+ }), Me = () => T, Ne = (e) => {
284
+ if (e === (E ?? T)) return O.promise;
285
+ if (!D || !ke) throw Error("Internal error");
286
+ if (!D.has(e)) throw Error("Invalid locale code");
287
287
  k++;
288
288
  let t = k;
289
- return T = e, O.settled && (O = new be()), C({
289
+ return E = e, O.settled && (O = new ye()), w({
290
290
  status: "loading",
291
291
  loadingLocale: e
292
- }), (e === ke ? Promise.resolve({ templates: void 0 }) : D(e)).then((n) => {
293
- k === t && (w = e, T = void 0, Ae = n.templates, C({
292
+ }), (e === Oe ? Promise.resolve({ templates: void 0 }) : ke(e)).then((n) => {
293
+ k === t && (T = e, E = void 0, Ae = n.templates, w({
294
294
  status: "ready",
295
295
  readyLocale: e
296
296
  }), O.resolve());
297
297
  }, (n) => {
298
- k === t && (C({
298
+ k === t && (w({
299
299
  status: "error",
300
300
  errorLocale: e,
301
301
  errorMessage: n.toString()
@@ -305,7 +305,7 @@ var k = 0, je = (e) => (_e(((e, t) => De(Ae, e, t))), w = ke = e.sourceLocale, E
305
305
  if (typeof navigator > "u") return !1;
306
306
  let e = navigator.userAgentData?.platform ?? navigator.platform ?? "";
307
307
  return /mac/i.test(e);
308
- }, Fe = (e) => !e.shiftKey && !e.altKey && (Pe() ? e.metaKey && !e.ctrlKey : e.ctrlKey && !e.metaKey), A = (e) => e.shiftKey || e.altKey || e.ctrlKey || e.metaKey, j = (e) => !A(e), Ie = () => b("Choose a service"), Le = () => b("Search"), Re = () => Pe() ? "Cmd+K" : "CTRL+K", ze = (e) => b(y`Type at least ${e} characters to search`), Be = () => b("Menu items"), Ve = (e) => b(y`Load ${e} more`), He = () => b("VSN"), Ue = "survicate-sdk", We = "ui-components-feedback", Ge = (e) => `https://survey.survicate.com/workspaces/${e}/web_surveys.js`;
308
+ }, Fe = (e) => !e.shiftKey && !e.altKey && (Pe() ? e.metaKey && !e.ctrlKey : e.ctrlKey && !e.metaKey), A = (e) => e.shiftKey || e.altKey || e.ctrlKey || e.metaKey, j = (e) => !A(e), Ie = () => x("Choose a service"), Le = () => x("Search"), Re = () => Pe() ? "Cmd+K" : "CTRL+K", ze = (e) => x(b`Type at least ${e} characters to search`), Be = () => x("Menu items"), Ve = (e) => x(b`Load ${e} more`), He = () => x("VSN"), Ue = "survicate-sdk", We = "ui-components-feedback", Ge = (e) => `https://survey.survicate.com/workspaces/${e}/web_surveys.js`;
309
309
  //#endregion
310
310
  //#region src/shared/icons.ts
311
311
  function M(e, t = 24, r) {
@@ -429,9 +429,6 @@ var F, I = class extends e {
429
429
  static {
430
430
  F = this;
431
431
  }
432
- static {
433
- this.styles = [h];
434
- }
435
432
  static {
436
433
  this._idCounter = 0;
437
434
  }
@@ -522,7 +519,7 @@ var F, I = class extends e {
522
519
  }
523
520
  };
524
521
  P([s({ attribute: !1 })], I.prototype, "tree", void 0), P([s({ type: Number })], I.prototype, "level", void 0), P([ue({
525
- context: fe,
522
+ context: de,
526
523
  subscribe: !0
527
524
  }), l()], I.prototype, "_currentActiveId", void 0), P([l()], I.prototype, "_isActive", void 0), P([l()], I.prototype, "_isExpanded", void 0), P([l()], I.prototype, "_showTooltip", void 0), P([l()], I.prototype, "_tooltipPos", void 0), P([c(".ga-side-navigation__item-label")], I.prototype, "_labelEl", void 0), I = F = P([o("vsn-menu-item")], I);
528
525
  //#endregion
@@ -531,9 +528,6 @@ var L = class extends e {
531
528
  constructor(...e) {
532
529
  super(...e), this.items = [], this._currentActiveId = "", this.currentItem = "";
533
530
  }
534
- static {
535
- this.styles = [h];
536
- }
537
531
  createRenderRoot() {
538
532
  return this;
539
533
  }
@@ -542,21 +536,22 @@ var L = class extends e {
542
536
  }
543
537
  render() {
544
538
  return n`
545
- <div class="flex flex-col ga-side-navigation__body h-full">
546
- <div class="flex-1 overflow-y-auto">
547
- ${d(this.items, (e) => this.menuItem(e))}
548
- </div>
549
- <div>
550
- <slot name="nav-footer"></slot>
551
- </div>
539
+ <div class="flex flex-col ga-side-navigation__body h-full">
540
+ <div class="flex-1 overflow-y-auto ga-scroll">
541
+ ${d(this.items, (e) => this.menuItem(e))}
542
+ </div>
543
+ <div>
544
+ <slot name="nav-footer"></slot>
552
545
  </div>
546
+ </div>
553
547
  `;
554
548
  }
555
549
  menuItem(e) {
556
- return n`<vsn-menu-item .tree=${e}></vsn-menu-item>`;
550
+ return n`
551
+ <vsn-menu-item .tree=${e}></vsn-menu-item>`;
557
552
  }
558
553
  };
559
- P([s({ attribute: !1 })], L.prototype, "items", void 0), P([le({ context: fe }), l()], L.prototype, "_currentActiveId", void 0), P([s()], L.prototype, "currentItem", void 0), L = P([o("vsn-menu")], L);
554
+ P([s({ attribute: !1 })], L.prototype, "items", void 0), P([le({ context: de }), l()], L.prototype, "_currentActiveId", void 0), P([s()], L.prototype, "currentItem", void 0), L = P([o("vsn-menu")], L);
560
555
  //#endregion
561
556
  //#region src/components/vsn-side-bar/vsn-menu/vsn-menu-button.ts
562
557
  var R = class extends e {
@@ -760,74 +755,35 @@ var ut = class {
760
755
  hostDisconnected() {
761
756
  document.removeEventListener("pointerdown", this._onPointerDown, !0);
762
757
  }
763
- }, ft = t`
764
- @layer components {
765
- :where(.ga-side-navigation__user),
766
- :where(.ga-side-navigation__footer-dropdown-item) {
767
- width: 100%;
768
- cursor: pointer;
769
- }
770
-
771
- .ga-side-navigation__footer-dropdown-item:focus-visible {
772
- outline: 2px solid var(--ga-color-border-focus);
773
- outline-offset: 4px;
774
- }
775
-
776
- .vsn-side-navigation__user-info {
777
- display: flex;
778
- flex-direction: column;
779
- flex: 1;
780
- min-width: 0;
781
- }
782
-
783
- .vsn-side-navigation__user-info > .ga-side-navigation__user-name {
784
- flex: initial;
785
- }
786
-
787
- .vsn-side-navigation__user-email {
788
- font-size: calc(var(--ga-text-sm-font-size) * var(--ga-base-scaling-factor, 1));
789
- line-height: calc(var(--ga-text-sm-line-height) * var(--ga-base-scaling-factor, 1));
790
- font-weight: 400;
791
- }
792
-
793
- .vsn-side-navigation__user-avatar--icon {
794
- display: inline-flex;
795
- align-items: center;
796
- justify-content: center;
797
- }
798
- }
799
- `, pt = "initials";
800
- function mt(e, t, n, r) {
758
+ }, ft = "initials";
759
+ function pt(e, t, n, r) {
801
760
  if (!t) return;
802
761
  let i = new URLSearchParams({
803
- type: pt,
762
+ type: ft,
804
763
  size: r
805
764
  });
806
765
  return n && i.set("client_id", n), `${e}${t}?${i}`;
807
766
  }
808
767
  //#endregion
809
768
  //#region src/components/vsn-side-bar/vsn-footer/vsn-footer.ts
810
- var ht = {
769
+ var mt = {
811
770
  profile: et,
812
771
  logout: tt
813
- }, gt = () => ({
814
- profile: b("My profile"),
815
- logout: b("Log out")
772
+ }, ht = () => ({
773
+ profile: x("My profile"),
774
+ logout: x("Log out")
816
775
  }), z = class extends e {
817
- static {
818
- this.styles = [h, ft];
819
- }
820
776
  createRenderRoot() {
821
777
  return this;
822
778
  }
823
779
  get _items() {
824
780
  return [{
825
781
  id: "profile",
826
- label: gt().profile,
782
+ label: ht().profile,
827
783
  url: this.myProfileUrl
828
784
  }, {
829
785
  id: "logout",
830
- label: gt().logout,
786
+ label: ht().logout,
831
787
  url: "/logout"
832
788
  }];
833
789
  }
@@ -844,62 +800,63 @@ var ht = {
844
800
  }
845
801
  render() {
846
802
  return n`
847
- <div class="ga-side-navigation__footer">
848
- ${this.expanded ? this.renderDropdown() : r}
803
+ <div class="ga-side-navigation__footer">
804
+ ${this.expanded ? this.renderDropdown() : r}
849
805
 
850
- <div
851
- role="button"
852
- tabindex="0"
853
- aria-expanded="${this.expanded}"
854
- aria-haspopup="menu"
855
- class="ga-side-navigation__user
806
+ <div
807
+ role="button"
808
+ tabindex="0"
809
+ aria-expanded="${this.expanded}"
810
+ aria-haspopup="menu"
811
+ class="ga-side-navigation__user
856
812
  ${this.expanded ? "ga-side-navigation__user--active" : ""}"
857
- @click=${this._toggle}
858
- @keydown=${this._keyboard.onUserKeydown}>
813
+ @click=${this._toggle}
814
+ @keydown=${this._keyboard.onUserKeydown}>
859
815
 
860
- ${this.renderAvatar()}
816
+ ${this.renderAvatar()}
861
817
 
862
- <div class="vsn-side-navigation__user-info">
818
+ <div class="vsn-side-navigation__user-info">
863
819
  <span class="ga-side-navigation__user-name">
864
820
  ${this.user.userName}
865
821
  </span>
866
- ${this.user.userEmail ? n`<span class="vsn-side-navigation__user-email">
822
+ ${this.user.userEmail ? n`<span class="vsn-side-navigation__user-email">
867
823
  ${this.user.userEmail}
868
824
  </span>` : r}
869
- </div>
825
+ </div>
870
826
 
871
- <span class="ga-side-navigation__user-action">
827
+ <span class="ga-side-navigation__user-action">
872
828
  ${this.expanded ? M(it, 16) : M(rt, 16)}
873
829
  </span>
874
830
 
875
- </div>
876
831
  </div>
832
+ </div>
877
833
  `;
878
834
  }
879
835
  renderDropdown() {
880
836
  return n`
881
837
  <div class="ga-side-navigation__footer-dropdown" @keydown=${this._keyboard.onDropdownKeydown}>
882
838
 
883
- ${this._items.map((e) => {
839
+ ${this._items.map((e) => {
884
840
  let t = n`
885
- <span class="ga-side-navigation__footer-dropdown-icon">
886
- ${M(ht[e.id], 16)}
841
+ <span class="ga-side-navigation__footer-dropdown-icon">
842
+ ${M(mt[e.id], 16)}
887
843
  </span>
888
- <span class="ga-side-navigation__footer-dropdown-title">
844
+ <span class="ga-side-navigation__footer-dropdown-title">
889
845
  ${e.label}
890
846
  </span>
891
- ${e.external ? n`
892
- <span class="ga-side-navigation__footer-dropdown-trail">
847
+ ${e.external ? n`
848
+ <span class="ga-side-navigation__footer-dropdown-trail">
893
849
  ${M(nt, 16)}
894
850
  </span>
895
- ` : r}
896
- `;
851
+ ` : r}
852
+ `;
897
853
  return e.id === "profile" ? n`<a
898
- class="ga-side-navigation__footer-dropdown-item"
899
- href=${e.url ?? ""}
900
- @click=${(t) => this._handleProfileClick(t, e)}>
901
- ${t}
902
- </a>` : n`<div
854
+ class="ga-side-navigation__footer-dropdown-item"
855
+ href=${e.url ?? ""}
856
+ @click=${(t) => this._handleProfileClick(t, e)}>
857
+ ${t}
858
+ </a>` : n`
859
+ <div
903
860
  role="button"
904
861
  tabindex="0"
905
862
  class="ga-side-navigation__footer-dropdown-item"
@@ -930,14 +887,14 @@ var ht = {
930
887
  }));
931
888
  }
932
889
  renderAvatar() {
933
- let e = mt(this.profilePictureBaseUrl, this.user.userId, this.user.clientId, "small");
890
+ let e = pt(this.profilePictureBaseUrl, this.user.userId, this.user.clientId, "small");
934
891
  return e && !this._avatarFailed ? n`<img
935
892
  class="ga-side-navigation__user-avatar"
936
893
  src=${e}
937
894
  alt=""
938
895
  @error=${() => {
939
896
  this._avatarFailed = !0;
940
- }} />` : n`<span class="ga-side-navigation__user-avatar vsn-side-navigation__user-avatar--icon">
897
+ }}/>` : n`<span class="ga-side-navigation__user-avatar vsn-side-navigation__user-avatar--icon">
941
898
  ${M(et, 24)}
942
899
  </span>`;
943
900
  }
@@ -945,10 +902,10 @@ var ht = {
945
902
  P([s({ attribute: !1 })], z.prototype, "user", void 0), P([s()], z.prototype, "profilePictureBaseUrl", void 0), P([s()], z.prototype, "myProfileUrl", void 0), P([s({
946
903
  type: Boolean,
947
904
  reflect: !0
948
- })], z.prototype, "expanded", void 0), P([l()], z.prototype, "_avatarFailed", void 0), z = P([x(), o("vsn-footer")], z);
905
+ })], z.prototype, "expanded", void 0), P([l()], z.prototype, "_avatarFailed", void 0), z = P([S(), o("vsn-footer")], z);
949
906
  //#endregion
950
907
  //#region src/components/vsn-side-bar/vsn-header/vsn-header.keyboard.ts
951
- var _t = class {
908
+ var gt = class {
952
909
  constructor(e) {
953
910
  this.onSwitcherKeydown = (e) => {
954
911
  if (!e.defaultPrevented) {
@@ -970,7 +927,7 @@ var _t = class {
970
927
  }, this.host = e, e.addController(this);
971
928
  }
972
929
  hostConnected() {}
973
- }, vt = ".ga-side-navigation__switcher:focus{outline-offset:2px;outline:2px solid #3b82f6}", B = class extends e {
930
+ }, B = class extends e {
974
931
  constructor(...e) {
975
932
  super(...e), this.items = [], this.loading = !1, this.maxHeight = 0, this._handleKeydown = (e) => {
976
933
  if (e.defaultPrevented) return;
@@ -1031,11 +988,11 @@ var _t = class {
1031
988
  <div class="ga-side-navigation__switcher-dropdown vsn-switcher-dropdown--loading"
1032
989
  role="status"
1033
990
  aria-busy="true"
1034
- aria-label=${b("Loading modules")}>
991
+ aria-label=${x("Loading modules")}>
1035
992
  <span class="vsn-spinner"></span>
1036
993
  </div>
1037
994
  ` : n`
1038
- <div class="ga-side-navigation__switcher-dropdown"
995
+ <div class="ga-side-navigation__switcher-dropdown ga-scroll"
1039
996
  role="menu"
1040
997
  style=${`max-height: ${Math.max(0, this.maxHeight)}px`}
1041
998
  aria-label=${Ie()}
@@ -1053,59 +1010,10 @@ var _t = class {
1053
1010
  `;
1054
1011
  }
1055
1012
  };
1056
- P([s({ attribute: !1 })], B.prototype, "items", void 0), P([s({ type: Boolean })], B.prototype, "loading", void 0), P([s({ attribute: !1 })], B.prototype, "maxHeight", void 0), B = P([x(), o("vsn-switcher-menu")], B);
1013
+ P([s({ attribute: !1 })], B.prototype, "items", void 0), P([s({ type: Boolean })], B.prototype, "loading", void 0), P([s({ attribute: !1 })], B.prototype, "maxHeight", void 0), B = P([S(), o("vsn-switcher-menu")], B);
1057
1014
  //#endregion
1058
- //#region src/components/vsn-side-bar/vsn-search/vsn-search.css.ts
1059
- var yt = t`
1060
- .vsn-search__trigger,
1061
- .vsn-search__clear {
1062
- display: inline-flex;
1063
- align-items: center;
1064
- background: none;
1065
- border: none;
1066
- padding: 0;
1067
- cursor: pointer;
1068
- flex-shrink: 0;
1069
- }
1070
-
1071
- .vsn-search__trigger {
1072
- color: var(--ga-color-icon-primary);
1073
- }
1074
-
1075
- .vsn-search__clear {
1076
- color: var(--ga-color-icon-action);
1077
- }
1078
-
1079
- .vsn-search__trigger:disabled {
1080
- cursor: default;
1081
- opacity: 0.5;
1082
- }
1083
-
1084
- .vsn-search__helper {
1085
- display: -webkit-box;
1086
- -webkit-box-orient: vertical;
1087
- -webkit-line-clamp: 3;
1088
- flex: 1 0 0;
1089
- max-width: 550px;
1090
- margin-inline: calc(0.25rem * 3 * var(--ga-base-scaling-factor, 1));
1091
- padding: 0 calc(0.25rem * 2 * var(--ga-base-scaling-factor, 1));
1092
- overflow: hidden;
1093
- text-overflow: ellipsis;
1094
- font-family: var(--ga-font-family-primary);
1095
- font-size: calc(var(--ga-text-sm-font-size) * var(--ga-base-scaling-factor, 1));
1096
- line-height: calc(var(--ga-text-sm-line-height) * var(--ga-base-scaling-factor, 1));
1097
- font-weight: 400;
1098
- color: var(--ga-color-text-body);
1099
- }
1100
-
1101
- .ga-side-navigation__search input {
1102
- color: var(--ga-color-text-body);
1103
- }
1104
-
1105
- .ga-side-navigation__search input::placeholder {
1106
- color: var(--ga-color-text-disable-selected);
1107
- }
1108
- `, V = class extends e {
1015
+ //#region src/components/vsn-side-bar/vsn-search/vsn-search.ts
1016
+ var V = class extends e {
1109
1017
  constructor(...e) {
1110
1018
  super(...e), this.shortcut = "", this.value = "", this.loading = !1, this._emitSearch = () => {
1111
1019
  this._canSearch && this.dispatchEvent(new CustomEvent("vsn-search-submit", {
@@ -1125,9 +1033,6 @@ var yt = t`
1125
1033
  createRenderRoot() {
1126
1034
  return this;
1127
1035
  }
1128
- static {
1129
- this.styles = [h, yt];
1130
- }
1131
1036
  focus() {
1132
1037
  let e = this.querySelector("input");
1133
1038
  e?.focus(), e?.select();
@@ -1153,7 +1058,7 @@ var yt = t`
1153
1058
  <button
1154
1059
  type="button"
1155
1060
  class="vsn-search__trigger"
1156
- aria-label=${b("Search")}
1061
+ aria-label=${x("Search")}
1157
1062
  ?disabled=${!this._canSearch}
1158
1063
  @click=${this._emitSearch}>
1159
1064
  ${M(at, 24)}
@@ -1178,11 +1083,11 @@ var yt = t`
1178
1083
  `;
1179
1084
  }
1180
1085
  _spinner() {
1181
- return n`<span class="vsn-spinner" role="status" aria-label=${b("Searching")}></span>`;
1086
+ return n`<span class="vsn-spinner" role="status" aria-label=${x("Searching")}></span>`;
1182
1087
  }
1183
1088
  _clearButton() {
1184
1089
  return n`
1185
- <button class="vsn-search__clear" aria-label=${b("Clear search")}
1090
+ <button class="vsn-search__clear" aria-label=${x("Clear search")}
1186
1091
  @click=${this._emitSearchCleared}>
1187
1092
  ${M(ot, 16)}
1188
1093
  </button>
@@ -1192,18 +1097,15 @@ var yt = t`
1192
1097
  return n`<kbd class="ga-side-navigation__search-shortcut">${this.shortcut}</kbd>`;
1193
1098
  }
1194
1099
  };
1195
- P([s()], V.prototype, "shortcut", void 0), P([s()], V.prototype, "value", void 0), P([s({ type: Boolean })], V.prototype, "loading", void 0), V = P([x(), o("vsn-search")], V);
1100
+ P([s()], V.prototype, "shortcut", void 0), P([s()], V.prototype, "value", void 0), P([s({ type: Boolean })], V.prototype, "loading", void 0), V = P([S(), o("vsn-search")], V);
1196
1101
  //#endregion
1197
1102
  //#region src/components/vsn-side-bar/vsn-header/vsn-header.ts
1198
1103
  var H = class extends e {
1199
1104
  createRenderRoot() {
1200
1105
  return this;
1201
1106
  }
1202
- static {
1203
- this.styles = [h, a(vt)];
1204
- }
1205
1107
  constructor() {
1206
- super(), this.modules = [], this.modulesLoading = !1, this.hasMenu = !1, this.moduleSwitcherMaxHeight = 0, this.searchValue = "", this.searchLoading = !1, this.expanded = !1, this._keyboard = new _t(this), new dt(this, [".ga-side-navigation__switcher-dropdown", ".ga-side-navigation__switcher"], () => {
1108
+ super(), this.modules = [], this.modulesLoading = !1, this.hasMenu = !1, this.moduleSwitcherMaxHeight = 0, this.searchValue = "", this.searchLoading = !1, this.expanded = !1, this._keyboard = new gt(this), new dt(this, [".ga-side-navigation__switcher-dropdown", ".ga-side-navigation__switcher"], () => {
1207
1109
  this.canClose && (this.expanded = !1);
1208
1110
  });
1209
1111
  }
@@ -1306,79 +1208,10 @@ var H = class extends e {
1306
1208
  P([s({ attribute: !1 })], H.prototype, "modules", void 0), P([s()], H.prototype, "activeModuleId", void 0), P([s()], H.prototype, "activeModuleLabel", void 0), P([s({ type: Boolean })], H.prototype, "modulesLoading", void 0), P([s({ type: Boolean })], H.prototype, "hasMenu", void 0), P([s({ attribute: !1 })], H.prototype, "moduleSwitcherMaxHeight", void 0), P([s({ attribute: !1 })], H.prototype, "search", void 0), P([s()], H.prototype, "searchValue", void 0), P([s({ type: Boolean })], H.prototype, "searchLoading", void 0), P([s({
1307
1209
  type: Boolean,
1308
1210
  reflect: !0
1309
- })], H.prototype, "expanded", void 0), H = P([x(), o("vsn-header")], H);
1211
+ })], H.prototype, "expanded", void 0), H = P([S(), o("vsn-header")], H);
1310
1212
  //#endregion
1311
- //#region src/components/vsn-side-bar/vsn-search-results/vsn-search-results.css.ts
1312
- var bt = t`
1313
- .vsn-search-results__empty {
1314
- display: flex;
1315
- flex-direction: column;
1316
- align-items: center;
1317
- padding: calc(2rem * var(--ga-base-scaling-factor, 1)) calc(1.5rem * var(--ga-base-scaling-factor, 1));
1318
- text-align: center;
1319
- gap: calc(0.25rem * var(--ga-base-scaling-factor, 1));
1320
- }
1321
-
1322
- .vsn-search-results__empty-title {
1323
- font-family: var(--ga-font-family-primary);
1324
- font-size: calc(var(--ga-text-md-font-size) * var(--ga-base-scaling-factor, 1));
1325
- line-height: calc(var(--ga-text-md-line-height) * var(--ga-base-scaling-factor, 1));
1326
- font-weight: 600;
1327
- margin-bottom: calc(0.25rem * var(--ga-base-scaling-factor, 1));
1328
- }
1329
-
1330
- .vsn-search-results__empty-message,
1331
- .vsn-search-results__empty-hint {
1332
- font-family: var(--ga-font-family-primary);
1333
- font-size: calc(var(--ga-text-sm-font-size) * var(--ga-base-scaling-factor, 1));
1334
- line-height: calc(var(--ga-text-sm-line-height) * var(--ga-base-scaling-factor, 1));
1335
- font-weight: 400;
1336
- color: var(--ga-color-text-disable-selected);
1337
- }
1338
-
1339
- .vsn-search-results__empty-support {
1340
- margin-top: calc(1.5rem * var(--ga-base-scaling-factor, 1));
1341
- font-family: var(--ga-font-family-primary);
1342
- font-size: calc(var(--ga-text-sm-font-size) * var(--ga-base-scaling-factor, 1));
1343
- line-height: calc(var(--ga-text-sm-line-height) * var(--ga-base-scaling-factor, 1));
1344
- font-weight: 400;
1345
- color: var(--ga-color-text-on-disabled);
1346
- }
1347
-
1348
- .vsn-search-results__error {
1349
- display: flex;
1350
- flex-direction: column;
1351
- align-items: center;
1352
- padding: calc(2rem * var(--ga-base-scaling-factor, 1)) calc(1.5rem * var(--ga-base-scaling-factor, 1));
1353
- text-align: center;
1354
- font-family: var(--ga-font-family-primary);
1355
- font-size: calc(var(--ga-text-sm-font-size) * var(--ga-base-scaling-factor, 1));
1356
- line-height: calc(var(--ga-text-sm-line-height) * var(--ga-base-scaling-factor, 1));
1357
- font-weight: 400;
1358
- color: var(--ga-color-text-body);
1359
- }
1360
-
1361
- .vsn-search-results__load-more {
1362
- width: 100%;
1363
- padding: calc(0.25rem * 3 * var(--ga-base-scaling-factor, 1)) calc(0.25rem * 4 * var(--ga-base-scaling-factor, 1));
1364
- background: none;
1365
- border: none;
1366
- cursor: pointer;
1367
- color: var(--ga-color-text-action);
1368
- text-align: center;
1369
- font-family: var(--ga-font-family-primary);
1370
- font-size: calc(var(--ga-text-md-font-size) * var(--ga-base-scaling-factor, 1));
1371
- font-style: normal;
1372
- font-weight: 500;
1373
- line-height: calc(var(--ga-text-md-line-height) * var(--ga-base-scaling-factor, 1));
1374
- letter-spacing: var(--ga-text-md-letter-spacing);
1375
- }
1376
-
1377
- .vsn-search-results__load-more:disabled {
1378
- cursor: not-allowed;
1379
- opacity: 0.5;
1380
- }
1381
- `, xt = class {
1213
+ //#region src/components/vsn-side-bar/vsn-search-results/vsn-search-results.keyboard.ts
1214
+ var _t = class {
1382
1215
  constructor(e) {
1383
1216
  this.onResultsKeydown = (e) => {
1384
1217
  if (e.defaultPrevented || A(e) || e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
@@ -1394,24 +1227,21 @@ var bt = t`
1394
1227
  hostConnected() {}
1395
1228
  }, U = class extends e {
1396
1229
  constructor(...e) {
1397
- super(...e), this.loadingMore = !1, this._keyboard = new xt(this);
1230
+ super(...e), this.loadingMore = !1, this._keyboard = new _t(this);
1398
1231
  }
1399
1232
  createRenderRoot() {
1400
1233
  return this;
1401
1234
  }
1402
- static {
1403
- this.styles = [h, bt];
1404
- }
1405
1235
  render() {
1406
1236
  return this.errorMessage ? this._errorState(this.errorMessage) : this.results === void 0 ? n`${r}` : this.results.length === 0 ? this._emptyState() : this._resultsList(this.results);
1407
1237
  }
1408
1238
  _emptyState() {
1409
1239
  return n`
1410
1240
  <div class="vsn-search-results__empty" role="status" aria-live="polite">
1411
- <div class="vsn-search-results__empty-title">${b("No results found")}</div>
1412
- <div class="vsn-search-results__empty-message">${b("We couldn't find any matches.")}</div>
1413
- <div class="vsn-search-results__empty-hint">${b("Try different keywords or check spelling.")}</div>
1414
- <div class="vsn-search-results__empty-support">${b("Need help? Contact support.")}</div>
1241
+ <div class="vsn-search-results__empty-title">${x("No results found")}</div>
1242
+ <div class="vsn-search-results__empty-message">${x("We couldn't find any matches.")}</div>
1243
+ <div class="vsn-search-results__empty-hint">${x("Try different keywords or check spelling.")}</div>
1244
+ <div class="vsn-search-results__empty-support">${x("Need help? Contact support.")}</div>
1415
1245
  </div>
1416
1246
  `;
1417
1247
  }
@@ -1425,9 +1255,10 @@ var bt = t`
1425
1255
  _resultsList(e) {
1426
1256
  let t = e.length;
1427
1257
  return n`
1428
- <div class="ga-side-navigation__body h-full" @keydown=${this._keyboard.onResultsKeydown}>
1258
+ <div class="ga-side-navigation__body h-full ga-scroll"
1259
+ @keydown=${this._keyboard.onResultsKeydown}>
1429
1260
  <div class="ga-side-navigation__search-results-title">
1430
- ${b(t === 1 ? y`${t} result` : y`${t} results`)}
1261
+ ${x(t === 1 ? b`${t} result` : b`${t} results`)}
1431
1262
  </div>
1432
1263
  ${e.map((e) => this._resultRow(e))}
1433
1264
  ${u(this.nextCursor, () => n`
@@ -1471,44 +1302,26 @@ var bt = t`
1471
1302
  }));
1472
1303
  }
1473
1304
  };
1474
- P([s({ attribute: !1 })], U.prototype, "results", void 0), P([s()], U.prototype, "errorMessage", void 0), P([s()], U.prototype, "nextCursor", void 0), P([s({ type: Boolean })], U.prototype, "loadingMore", void 0), U = P([x(), o("vsn-search-results")], U);
1305
+ P([s({ attribute: !1 })], U.prototype, "results", void 0), P([s()], U.prototype, "errorMessage", void 0), P([s()], U.prototype, "nextCursor", void 0), P([s({ type: Boolean })], U.prototype, "loadingMore", void 0), U = P([S(), o("vsn-search-results")], U);
1475
1306
  //#endregion
1476
- //#region src/components/vsn-side-bar/vsn-template/vsn-template.css.ts
1477
- var St = t`
1478
- .vsn-template__row {
1479
- display: flex;
1480
- flex-direction: column;
1481
- align-items: flex-start;
1482
- align-self: stretch;
1483
- padding: calc(0.25rem * 3 * var(--ga-base-scaling-factor, 1)) 0;
1484
- }
1485
-
1486
- .vsn-template__bar {
1487
- height: calc(1rem * var(--ga-base-scaling-factor, 1));
1488
- border-radius: var(--ga-radius);
1489
- background: var(--ga-color-miscellaneous-skeleton-element, #F2F3F5);
1490
- flex-shrink: 0;
1491
- }
1492
- `, Ct = [
1307
+ //#region src/components/vsn-side-bar/vsn-template/vsn-template.ts
1308
+ var vt = [
1493
1309
  160,
1494
1310
  96,
1495
1311
  144,
1496
1312
  192,
1497
1313
  160
1498
- ], wt = class extends e {
1314
+ ], yt = class extends e {
1499
1315
  createRenderRoot() {
1500
1316
  return this;
1501
1317
  }
1502
- static {
1503
- this.styles = [h, St];
1504
- }
1505
1318
  render() {
1506
1319
  return n`
1507
1320
  <div class="ga-side-navigation__body h-full"
1508
- role="status"
1509
- aria-busy="true"
1510
- aria-label=${b("Loading results")}>
1511
- ${Ct.map((e) => n`
1321
+ role="status"
1322
+ aria-busy="true"
1323
+ aria-label=${x("Loading results")}>
1324
+ ${vt.map((e) => n`
1512
1325
  <div class="vsn-template__row">
1513
1326
  <div class="vsn-template__bar" style="width: ${e}px"></div>
1514
1327
  </div>
@@ -1517,92 +1330,29 @@ var St = t`
1517
1330
  `;
1518
1331
  }
1519
1332
  };
1520
- wt = P([x(), o("vsn-template")], wt);
1333
+ yt = P([S(), o("vsn-template")], yt);
1521
1334
  //#endregion
1522
- //#region src/components/vsn-side-bar/vsn-error-state/vsn-error-state.css.ts
1523
- var Tt = t`
1524
- .vsn-error-state {
1525
- display: flex;
1526
- flex-direction: column;
1527
- align-items: flex-start;
1528
- padding: calc(1.5rem * var(--ga-base-scaling-factor, 1)) calc(1rem * var(--ga-base-scaling-factor, 1));
1529
- gap: calc(0.25rem * var(--ga-base-scaling-factor, 1));
1530
- }
1531
-
1532
- .vsn-error-state__icon {
1533
- display: inline-flex;
1534
- color: var(--ga-color-icon-error);
1535
- margin-bottom: calc(0.5rem * var(--ga-base-scaling-factor, 1));
1536
- }
1537
-
1538
- .vsn-error-state__title {
1539
- font-family: var(--ga-font-family-primary);
1540
- font-size: calc(var(--ga-text-md-font-size) * var(--ga-base-scaling-factor, 1));
1541
- line-height: calc(var(--ga-text-md-line-height) * var(--ga-base-scaling-factor, 1));
1542
- font-weight: 600;
1543
- margin-bottom: calc(0.25rem * var(--ga-base-scaling-factor, 1));
1544
- }
1545
-
1546
- .vsn-error-state__message,
1547
- .vsn-error-state__hint {
1548
- font-family: var(--ga-font-family-primary);
1549
- font-size: calc(var(--ga-text-sm-font-size) * var(--ga-base-scaling-factor, 1));
1550
- line-height: calc(var(--ga-text-sm-line-height) * var(--ga-base-scaling-factor, 1));
1551
- font-weight: 400;
1552
- }
1553
-
1554
- .vsn-error-state__support {
1555
- margin-top: calc(1.5rem * var(--ga-base-scaling-factor, 1));
1556
- font-family: var(--ga-font-family-primary);
1557
- font-size: calc(var(--ga-text-sm-font-size) * var(--ga-base-scaling-factor, 1));
1558
- line-height: calc(var(--ga-text-sm-line-height) * var(--ga-base-scaling-factor, 1));
1559
- font-weight: 400;
1560
- color: var(--ga-color-text-on-disabled);
1561
- }
1562
- `, Et = class extends e {
1335
+ //#region src/components/vsn-side-bar/vsn-error-state/vsn-error-state.ts
1336
+ var bt = class extends e {
1563
1337
  createRenderRoot() {
1564
1338
  return this;
1565
1339
  }
1566
- static {
1567
- this.styles = [h, Tt];
1568
- }
1569
1340
  render() {
1570
1341
  return n`
1571
1342
  <div class="vsn-error-state" role="alert" aria-live="assertive">
1572
1343
  <div class="vsn-error-state__icon">${M(st, 24)}</div>
1573
- <div class="vsn-error-state__title">${b("Loading error")}</div>
1574
- <div class="vsn-error-state__message">${b("We're unable to load the menu.")}</div>
1575
- <div class="vsn-error-state__hint">${b("Please check your internet connection and try again.")}</div>
1576
- <div class="vsn-error-state__support">${b("If the issue persists, reload the page or contact support.")}</div>
1344
+ <div class="vsn-error-state__title">${x("Loading error")}</div>
1345
+ <div class="vsn-error-state__message">${x("We're unable to load the menu.")}</div>
1346
+ <div class="vsn-error-state__hint">${x("Please check your internet connection and try again.")}</div>
1347
+ <div class="vsn-error-state__support">${x("If the issue persists, reload the page or contact support.")}</div>
1577
1348
  </div>
1578
1349
  `;
1579
1350
  }
1580
1351
  };
1581
- Et = P([x(), o("vsn-error-state")], Et);
1352
+ bt = P([S(), o("vsn-error-state")], bt);
1582
1353
  //#endregion
1583
- //#region src/components/vsn-side-bar/vsn-search-scopes/vsn-search-scopes.css.ts
1584
- var Dt = t`
1585
- @layer components {
1586
- vsn-search-scopes {
1587
- display: block;
1588
- flex-shrink: 0;
1589
- padding: calc(0.25rem * 2 * var(--ga-base-scaling-factor, 1)) calc(0.25rem * 3 * var(--ga-base-scaling-factor, 1));
1590
- }
1591
-
1592
- vsn-search-scopes .ga-radio-group {
1593
- gap: calc(0.25rem * 2 * var(--ga-base-scaling-factor, 1));
1594
- }
1595
-
1596
- vsn-search-scopes .ga-radio-button__label {
1597
- line-height: calc(0.25rem * 6 * var(--ga-base-scaling-factor, 1));
1598
- display: -webkit-box;
1599
- -webkit-box-orient: vertical;
1600
- -webkit-line-clamp: 1;
1601
- overflow: hidden;
1602
- text-overflow: ellipsis;
1603
- }
1604
- }
1605
- `, W, G = class extends e {
1354
+ //#region src/components/vsn-side-bar/vsn-search-scopes/vsn-search-scopes.ts
1355
+ var W, G = class extends e {
1606
1356
  static {
1607
1357
  W = this;
1608
1358
  }
@@ -1612,15 +1362,12 @@ var Dt = t`
1612
1362
  createRenderRoot() {
1613
1363
  return this;
1614
1364
  }
1615
- static {
1616
- this.styles = [h, Dt];
1617
- }
1618
1365
  static {
1619
1366
  this._counter = 0;
1620
1367
  }
1621
1368
  render() {
1622
1369
  return this.scopes.length <= 1 ? n`` : n`
1623
- <div class="ga-radio-group" role="radiogroup" aria-label=${b("Search scope")}>
1370
+ <div class="ga-radio-group" role="radiogroup" aria-label=${x("Search scope")}>
1624
1371
  ${this.scopes.map((e) => this._renderScope(e))}
1625
1372
  </div>
1626
1373
  `;
@@ -1649,25 +1396,25 @@ var Dt = t`
1649
1396
  }));
1650
1397
  }
1651
1398
  };
1652
- P([s({ attribute: !1 })], G.prototype, "scopes", void 0), P([s()], G.prototype, "selectedScopeId", void 0), G = W = P([x(), o("vsn-search-scopes")], G);
1399
+ P([s({ attribute: !1 })], G.prototype, "scopes", void 0), P([s()], G.prototype, "selectedScopeId", void 0), G = W = P([S(), o("vsn-search-scopes")], G);
1653
1400
  //#endregion
1654
1401
  //#region src/shared/lang/locale-codes.ts
1655
- var Ot = "en", kt = [
1402
+ var xt = "en", St = [
1656
1403
  "da",
1657
1404
  "fi",
1658
1405
  "nl",
1659
1406
  "no",
1660
1407
  "sv"
1661
- ], At = /* @__PURE__ */ p({ templates: () => jt }), jt = {
1408
+ ], Ct = /* @__PURE__ */ p({ templates: () => wt }), wt = {
1662
1409
  s09a45db408570a7a: "Min profil",
1663
1410
  s119f9875b7d4cdfc: "Har du brug for hjælp? Kontakt support.",
1664
- s1228605ee65ddefa: y`${0} resultat`,
1665
- s2bb33291ef8ae3d4: y`Indtast mindst ${0} tegn for at søge`,
1411
+ s1228605ee65ddefa: b`${0} resultat`,
1412
+ s2bb33291ef8ae3d4: b`Indtast mindst ${0} tegn for at søge`,
1666
1413
  s2be8f715fbd00dcb: "Vi fandt ingen matchende resultater.",
1667
1414
  s301876182accccad: " › ",
1668
1415
  s3112f1ca236c8a61: "Indlæsningsfejl",
1669
1416
  s352719d86112de9a: "Hjælp",
1670
- s387a4a41718122cb: y`${0} resultater`,
1417
+ s387a4a41718122cb: b`${0} resultater`,
1671
1418
  s3fb7db4771812f0c: "Hvis problemet fortsætter, genindlæs siden eller kontakt support.",
1672
1419
  s4b0c6b66b4efd7d8: "Vælg en tjeneste",
1673
1420
  s5be3c6d61cd9182f: "Notifikationer",
@@ -1688,16 +1435,16 @@ var Ot = "en", kt = [
1688
1435
  sfbf31f663cef6cc2: "Prøv andre søgeord eller tjek stavningen.",
1689
1436
  s7c510419ea376840: "VSN",
1690
1437
  s38385cd359b17f7a: "Loading modules"
1691
- }, Mt = /* @__PURE__ */ p({ templates: () => Nt }), Nt = {
1438
+ }, Tt = /* @__PURE__ */ p({ templates: () => Et }), Et = {
1692
1439
  s09a45db408570a7a: "Oma profiili",
1693
1440
  s119f9875b7d4cdfc: "Tarvitsetko apua? Ota yhteyttä tukeen.",
1694
- s1228605ee65ddefa: y`${0} tulos`,
1695
- s2bb33291ef8ae3d4: y`Kirjoita vähintään ${0} merkkiä hakua varten`,
1441
+ s1228605ee65ddefa: b`${0} tulos`,
1442
+ s2bb33291ef8ae3d4: b`Kirjoita vähintään ${0} merkkiä hakua varten`,
1696
1443
  s2be8f715fbd00dcb: "Emme löytäneet osumia.",
1697
1444
  s301876182accccad: " › ",
1698
1445
  s3112f1ca236c8a61: "Latausvirhe",
1699
1446
  s352719d86112de9a: "Ohje",
1700
- s387a4a41718122cb: y`${0} tulosta`,
1447
+ s387a4a41718122cb: b`${0} tulosta`,
1701
1448
  s3fb7db4771812f0c: "Jos ongelma jatkuu, lataa sivu uudelleen tai ota yhteyttä tukeen.",
1702
1449
  s4b0c6b66b4efd7d8: "Valitse palvelu",
1703
1450
  s5be3c6d61cd9182f: "Ilmoitukset",
@@ -1718,16 +1465,16 @@ var Ot = "en", kt = [
1718
1465
  sfbf31f663cef6cc2: "Kokeile eri hakusanoja tai tarkista kirjoitusasu.",
1719
1466
  s7c510419ea376840: "VSN",
1720
1467
  s38385cd359b17f7a: "Loading modules"
1721
- }, Pt = /* @__PURE__ */ p({ templates: () => Ft }), Ft = {
1468
+ }, Dt = /* @__PURE__ */ p({ templates: () => Ot }), Ot = {
1722
1469
  s09a45db408570a7a: "Mijn profiel",
1723
1470
  s119f9875b7d4cdfc: "Hulp nodig? Neem contact op met ondersteuning.",
1724
- s1228605ee65ddefa: y`${0} resultaat`,
1725
- s2bb33291ef8ae3d4: y`Typ minimaal ${0} tekens om te zoeken`,
1471
+ s1228605ee65ddefa: b`${0} resultaat`,
1472
+ s2bb33291ef8ae3d4: b`Typ minimaal ${0} tekens om te zoeken`,
1726
1473
  s2be8f715fbd00dcb: "We konden geen overeenkomsten vinden.",
1727
1474
  s301876182accccad: " › ",
1728
1475
  s3112f1ca236c8a61: "Laadingsfout",
1729
1476
  s352719d86112de9a: "Hulp",
1730
- s387a4a41718122cb: y`${0} resultaten`,
1477
+ s387a4a41718122cb: b`${0} resultaten`,
1731
1478
  s3fb7db4771812f0c: "Als het probleem aanhoudt, laad de pagina opnieuw of neem contact op met ondersteuning.",
1732
1479
  s4b0c6b66b4efd7d8: "Kies een service",
1733
1480
  s5be3c6d61cd9182f: "Meldingen",
@@ -1748,16 +1495,16 @@ var Ot = "en", kt = [
1748
1495
  sfbf31f663cef6cc2: "Probeer andere zoekwoorden of controleer de spelling.",
1749
1496
  s7c510419ea376840: "VSN",
1750
1497
  s38385cd359b17f7a: "Loading modules"
1751
- }, It = /* @__PURE__ */ p({ templates: () => Lt }), Lt = {
1498
+ }, kt = /* @__PURE__ */ p({ templates: () => At }), At = {
1752
1499
  s09a45db408570a7a: "Min profil",
1753
1500
  s119f9875b7d4cdfc: "Trenger du hjelp? Kontakt støtte.",
1754
- s1228605ee65ddefa: y`${0} resultat`,
1755
- s2bb33291ef8ae3d4: y`Skriv inn minst ${0} tegn for å søke`,
1501
+ s1228605ee65ddefa: b`${0} resultat`,
1502
+ s2bb33291ef8ae3d4: b`Skriv inn minst ${0} tegn for å søke`,
1756
1503
  s2be8f715fbd00dcb: "Vi fant ingen treff.",
1757
1504
  s301876182accccad: " › ",
1758
1505
  s3112f1ca236c8a61: "Lastingsfeil",
1759
1506
  s352719d86112de9a: "Hjelp",
1760
- s387a4a41718122cb: y`${0} resultater`,
1507
+ s387a4a41718122cb: b`${0} resultater`,
1761
1508
  s3fb7db4771812f0c: "Hvis problemet vedvarer, last inn siden på nytt eller kontakt støtte.",
1762
1509
  s4b0c6b66b4efd7d8: "Velg en tjeneste",
1763
1510
  s5be3c6d61cd9182f: "Varsler",
@@ -1778,16 +1525,16 @@ var Ot = "en", kt = [
1778
1525
  sfbf31f663cef6cc2: "Prøv andre søkeord eller sjekk stavemåten.",
1779
1526
  s7c510419ea376840: "VSN",
1780
1527
  s38385cd359b17f7a: "Loading modules"
1781
- }, Rt = /* @__PURE__ */ p({ templates: () => zt }), zt = {
1528
+ }, jt = /* @__PURE__ */ p({ templates: () => Mt }), Mt = {
1782
1529
  s09a45db408570a7a: "Min profil",
1783
1530
  s119f9875b7d4cdfc: "Behöver du hjälp? Kontakta support.",
1784
- s1228605ee65ddefa: y`${0} resultat`,
1785
- s2bb33291ef8ae3d4: y`Skriv minst ${0} tecken för att söka`,
1531
+ s1228605ee65ddefa: b`${0} resultat`,
1532
+ s2bb33291ef8ae3d4: b`Skriv minst ${0} tecken för att söka`,
1786
1533
  s2be8f715fbd00dcb: "Vi hittade inga matchningar.",
1787
1534
  s301876182accccad: " › ",
1788
1535
  s3112f1ca236c8a61: "Laddningsfel",
1789
1536
  s352719d86112de9a: "Hjälp",
1790
- s387a4a41718122cb: y`${0} resultat`,
1537
+ s387a4a41718122cb: b`${0} resultat`,
1791
1538
  s3fb7db4771812f0c: "Om problemet kvarstår, ladda om sidan eller kontakta support.",
1792
1539
  s4b0c6b66b4efd7d8: "Välj en tjänst",
1793
1540
  s5be3c6d61cd9182f: "Aviseringar",
@@ -1808,17 +1555,53 @@ var Ot = "en", kt = [
1808
1555
  sfbf31f663cef6cc2: "Prova andra sökord eller kontrollera stavningen.",
1809
1556
  s7c510419ea376840: "VSN",
1810
1557
  s38385cd359b17f7a: "Loading modules"
1811
- }, Bt = {
1812
- da: At,
1813
- fi: Mt,
1814
- nl: Pt,
1815
- no: It,
1816
- sv: Rt
1817
- }, { getLocale: Vt, setLocale: Ht } = je({
1818
- sourceLocale: Ot,
1819
- targetLocales: kt,
1820
- loadLocale: (e) => Bt[e] ? Promise.resolve(Bt[e]) : Promise.reject(/* @__PURE__ */ Error(`Unknown locale: ${e}`))
1821
- }), Ut = t`
1558
+ }, Nt = {
1559
+ da: Ct,
1560
+ fi: Tt,
1561
+ nl: Dt,
1562
+ no: kt,
1563
+ sv: jt
1564
+ }, { getLocale: Pt, setLocale: Ft } = je({
1565
+ sourceLocale: xt,
1566
+ targetLocales: St,
1567
+ loadLocale: (e) => Nt[e] ? Promise.resolve(Nt[e]) : Promise.reject(/* @__PURE__ */ Error(`Unknown locale: ${e}`))
1568
+ }), It = t`
1569
+ @layer components {
1570
+ :where(.ga-side-navigation__user),
1571
+ :where(.ga-side-navigation__footer-dropdown-item) {
1572
+ width: 100%;
1573
+ cursor: pointer;
1574
+ }
1575
+
1576
+ .ga-side-navigation__footer-dropdown-item:focus-visible {
1577
+ outline: 2px solid var(--ga-color-border-focus);
1578
+ outline-offset: 4px;
1579
+ }
1580
+
1581
+ .vsn-side-navigation__user-info {
1582
+ display: flex;
1583
+ flex-direction: column;
1584
+ flex: 1;
1585
+ min-width: 0;
1586
+ }
1587
+
1588
+ .vsn-side-navigation__user-info > .ga-side-navigation__user-name {
1589
+ flex: initial;
1590
+ }
1591
+
1592
+ .vsn-side-navigation__user-email {
1593
+ font-size: calc(var(--ga-text-sm-font-size) * var(--ga-base-scaling-factor, 1));
1594
+ line-height: calc(var(--ga-text-sm-line-height) * var(--ga-base-scaling-factor, 1));
1595
+ font-weight: 400;
1596
+ }
1597
+
1598
+ .vsn-side-navigation__user-avatar--icon {
1599
+ display: inline-flex;
1600
+ align-items: center;
1601
+ justify-content: center;
1602
+ }
1603
+ }
1604
+ `, Lt = t`
1822
1605
  @layer components {
1823
1606
  .vsn-switcher-anchor {
1824
1607
  position: relative;
@@ -1832,7 +1615,200 @@ var Ot = "en", kt = [
1832
1615
  z-index: 10;
1833
1616
  }
1834
1617
  }
1835
- `, Wt = t`
1618
+ `, Rt = t`
1619
+ .vsn-search__trigger,
1620
+ .vsn-search__clear {
1621
+ display: inline-flex;
1622
+ align-items: center;
1623
+ background: none;
1624
+ border: none;
1625
+ padding: 0;
1626
+ cursor: pointer;
1627
+ flex-shrink: 0;
1628
+ }
1629
+
1630
+ .vsn-search__trigger {
1631
+ color: var(--ga-color-icon-primary);
1632
+ }
1633
+
1634
+ .vsn-search__clear {
1635
+ color: var(--ga-color-icon-action);
1636
+ }
1637
+
1638
+ .vsn-search__trigger:disabled {
1639
+ cursor: default;
1640
+ opacity: 0.5;
1641
+ }
1642
+
1643
+ .vsn-search__helper {
1644
+ display: -webkit-box;
1645
+ -webkit-box-orient: vertical;
1646
+ -webkit-line-clamp: 3;
1647
+ flex: 1 0 0;
1648
+ max-width: 550px;
1649
+ margin-inline: calc(0.25rem * 3 * var(--ga-base-scaling-factor, 1));
1650
+ padding: 0 calc(0.25rem * 2 * var(--ga-base-scaling-factor, 1));
1651
+ overflow: hidden;
1652
+ text-overflow: ellipsis;
1653
+ font-family: var(--ga-font-family-primary);
1654
+ font-size: calc(var(--ga-text-sm-font-size) * var(--ga-base-scaling-factor, 1));
1655
+ line-height: calc(var(--ga-text-sm-line-height) * var(--ga-base-scaling-factor, 1));
1656
+ font-weight: 400;
1657
+ color: var(--ga-color-text-body);
1658
+ }
1659
+
1660
+ .ga-side-navigation__search input {
1661
+ color: var(--ga-color-text-body);
1662
+ }
1663
+
1664
+ .ga-side-navigation__search input::placeholder {
1665
+ color: var(--ga-color-text-disable-selected);
1666
+ }
1667
+ `, zt = t`
1668
+ .vsn-search-results__empty {
1669
+ display: flex;
1670
+ flex-direction: column;
1671
+ align-items: center;
1672
+ padding: calc(2rem * var(--ga-base-scaling-factor, 1)) calc(1.5rem * var(--ga-base-scaling-factor, 1));
1673
+ text-align: center;
1674
+ gap: calc(0.25rem * var(--ga-base-scaling-factor, 1));
1675
+ }
1676
+
1677
+ .vsn-search-results__empty-title {
1678
+ font-family: var(--ga-font-family-primary);
1679
+ font-size: calc(var(--ga-text-md-font-size) * var(--ga-base-scaling-factor, 1));
1680
+ line-height: calc(var(--ga-text-md-line-height) * var(--ga-base-scaling-factor, 1));
1681
+ font-weight: 600;
1682
+ margin-bottom: calc(0.25rem * var(--ga-base-scaling-factor, 1));
1683
+ }
1684
+
1685
+ .vsn-search-results__empty-message,
1686
+ .vsn-search-results__empty-hint {
1687
+ font-family: var(--ga-font-family-primary);
1688
+ font-size: calc(var(--ga-text-sm-font-size) * var(--ga-base-scaling-factor, 1));
1689
+ line-height: calc(var(--ga-text-sm-line-height) * var(--ga-base-scaling-factor, 1));
1690
+ font-weight: 400;
1691
+ color: var(--ga-color-text-disable-selected);
1692
+ }
1693
+
1694
+ .vsn-search-results__empty-support {
1695
+ margin-top: calc(1.5rem * var(--ga-base-scaling-factor, 1));
1696
+ font-family: var(--ga-font-family-primary);
1697
+ font-size: calc(var(--ga-text-sm-font-size) * var(--ga-base-scaling-factor, 1));
1698
+ line-height: calc(var(--ga-text-sm-line-height) * var(--ga-base-scaling-factor, 1));
1699
+ font-weight: 400;
1700
+ color: var(--ga-color-text-on-disabled);
1701
+ }
1702
+
1703
+ .vsn-search-results__error {
1704
+ display: flex;
1705
+ flex-direction: column;
1706
+ align-items: center;
1707
+ padding: calc(2rem * var(--ga-base-scaling-factor, 1)) calc(1.5rem * var(--ga-base-scaling-factor, 1));
1708
+ text-align: center;
1709
+ font-family: var(--ga-font-family-primary);
1710
+ font-size: calc(var(--ga-text-sm-font-size) * var(--ga-base-scaling-factor, 1));
1711
+ line-height: calc(var(--ga-text-sm-line-height) * var(--ga-base-scaling-factor, 1));
1712
+ font-weight: 400;
1713
+ color: var(--ga-color-text-body);
1714
+ }
1715
+
1716
+ .vsn-search-results__load-more {
1717
+ width: 100%;
1718
+ padding: calc(0.25rem * 3 * var(--ga-base-scaling-factor, 1)) calc(0.25rem * 4 * var(--ga-base-scaling-factor, 1));
1719
+ background: none;
1720
+ border: none;
1721
+ cursor: pointer;
1722
+ color: var(--ga-color-text-action);
1723
+ text-align: center;
1724
+ font-family: var(--ga-font-family-primary);
1725
+ font-size: calc(var(--ga-text-md-font-size) * var(--ga-base-scaling-factor, 1));
1726
+ font-style: normal;
1727
+ font-weight: 500;
1728
+ line-height: calc(var(--ga-text-md-line-height) * var(--ga-base-scaling-factor, 1));
1729
+ letter-spacing: var(--ga-text-md-letter-spacing);
1730
+ }
1731
+
1732
+ .vsn-search-results__load-more:disabled {
1733
+ cursor: not-allowed;
1734
+ opacity: 0.5;
1735
+ }
1736
+ `, Bt = t`
1737
+ @layer components {
1738
+ vsn-search-scopes {
1739
+ display: block;
1740
+ flex-shrink: 0;
1741
+ padding: calc(0.25rem * 2 * var(--ga-base-scaling-factor, 1)) calc(0.25rem * 3 * var(--ga-base-scaling-factor, 1));
1742
+ }
1743
+
1744
+ vsn-search-scopes .ga-radio-group {
1745
+ gap: calc(0.25rem * 2 * var(--ga-base-scaling-factor, 1));
1746
+ }
1747
+
1748
+ vsn-search-scopes .ga-radio-button__label {
1749
+ line-height: calc(0.25rem * 6 * var(--ga-base-scaling-factor, 1));
1750
+ display: -webkit-box;
1751
+ -webkit-box-orient: vertical;
1752
+ -webkit-line-clamp: 1;
1753
+ overflow: hidden;
1754
+ text-overflow: ellipsis;
1755
+ }
1756
+ }
1757
+ `, Vt = t`
1758
+ .vsn-template__row {
1759
+ display: flex;
1760
+ flex-direction: column;
1761
+ align-items: flex-start;
1762
+ align-self: stretch;
1763
+ padding: calc(0.25rem * 3 * var(--ga-base-scaling-factor, 1)) 0;
1764
+ }
1765
+
1766
+ .vsn-template__bar {
1767
+ height: calc(1rem * var(--ga-base-scaling-factor, 1));
1768
+ border-radius: var(--ga-radius);
1769
+ background: var(--ga-color-miscellaneous-skeleton-element, #F2F3F5);
1770
+ flex-shrink: 0;
1771
+ }
1772
+ `, Ht = t`
1773
+ .vsn-error-state {
1774
+ display: flex;
1775
+ flex-direction: column;
1776
+ align-items: flex-start;
1777
+ padding: calc(1.5rem * var(--ga-base-scaling-factor, 1)) calc(1rem * var(--ga-base-scaling-factor, 1));
1778
+ gap: calc(0.25rem * var(--ga-base-scaling-factor, 1));
1779
+ }
1780
+
1781
+ .vsn-error-state__icon {
1782
+ display: inline-flex;
1783
+ color: var(--ga-color-icon-error);
1784
+ margin-bottom: calc(0.5rem * var(--ga-base-scaling-factor, 1));
1785
+ }
1786
+
1787
+ .vsn-error-state__title {
1788
+ font-family: var(--ga-font-family-primary);
1789
+ font-size: calc(var(--ga-text-md-font-size) * var(--ga-base-scaling-factor, 1));
1790
+ line-height: calc(var(--ga-text-md-line-height) * var(--ga-base-scaling-factor, 1));
1791
+ font-weight: 600;
1792
+ margin-bottom: calc(0.25rem * var(--ga-base-scaling-factor, 1));
1793
+ }
1794
+
1795
+ .vsn-error-state__message,
1796
+ .vsn-error-state__hint {
1797
+ font-family: var(--ga-font-family-primary);
1798
+ font-size: calc(var(--ga-text-sm-font-size) * var(--ga-base-scaling-factor, 1));
1799
+ line-height: calc(var(--ga-text-sm-line-height) * var(--ga-base-scaling-factor, 1));
1800
+ font-weight: 400;
1801
+ }
1802
+
1803
+ .vsn-error-state__support {
1804
+ margin-top: calc(1.5rem * var(--ga-base-scaling-factor, 1));
1805
+ font-family: var(--ga-font-family-primary);
1806
+ font-size: calc(var(--ga-text-sm-font-size) * var(--ga-base-scaling-factor, 1));
1807
+ line-height: calc(var(--ga-text-sm-line-height) * var(--ga-base-scaling-factor, 1));
1808
+ font-weight: 400;
1809
+ color: var(--ga-color-text-on-disabled);
1810
+ }
1811
+ `, Ut = t`
1836
1812
  .vsn-spinner {
1837
1813
  display: inline-block;
1838
1814
  flex-shrink: 0;
@@ -1852,7 +1828,7 @@ var Ot = "en", kt = [
1852
1828
  @keyframes vsn-spin {
1853
1829
  to { transform: rotate(360deg); }
1854
1830
  }
1855
- `, Gt = class {
1831
+ `, Wt = class {
1856
1832
  constructor(e, t, n) {
1857
1833
  this._onHostClick = (e) => {
1858
1834
  let t = this._host.renderRoot.querySelector(this._clickedSelector);
@@ -1865,14 +1841,14 @@ var Ot = "en", kt = [
1865
1841
  hostDisconnected() {
1866
1842
  this._host.removeEventListener("click", this._onHostClick);
1867
1843
  }
1868
- }, Kt = "button:not([disabled]), a[href], [tabindex]:not([tabindex=\"-1\"])", qt = class {
1844
+ }, Gt = "button:not([disabled]), a[href], [tabindex]:not([tabindex=\"-1\"])", Kt = class {
1869
1845
  constructor(e) {
1870
1846
  this.onKeydown = (e) => {
1871
1847
  if (e.defaultPrevented || A(e) || e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
1872
1848
  let t = this.host.renderRoot.querySelector("slot[name=\"nav-footer\"]");
1873
1849
  if (!t) return;
1874
1850
  let n = [];
1875
- for (let e of t.assignedElements({ flatten: !0 })) e.matches(Kt) && n.push(e), n.push(...Array.from(e.querySelectorAll(Kt)));
1851
+ for (let e of t.assignedElements({ flatten: !0 })) e.matches(Gt) && n.push(e), n.push(...Array.from(e.querySelectorAll(Gt)));
1876
1852
  if (n.length === 0) return;
1877
1853
  let r = e.composedPath()[0];
1878
1854
  if (!(r instanceof HTMLElement)) return;
@@ -1884,18 +1860,24 @@ var Ot = "en", kt = [
1884
1860
  }, this.host = e, e.addController(this);
1885
1861
  }
1886
1862
  hostConnected() {}
1887
- }, K = class extends e {
1863
+ }, K = t`
1864
+ .ga-scroll {
1865
+ scrollbar-color: var(--ga-color-text-disabled) var(--ga-color-surface-page);
1866
+ scrollbar-width: thin;
1867
+ }
1868
+ `, q = class extends e {
1888
1869
  static {
1889
1870
  this.styles = [
1890
1871
  h,
1872
+ K,
1873
+ Lt,
1874
+ It,
1875
+ Rt,
1876
+ zt,
1877
+ Bt,
1878
+ Vt,
1879
+ Ht,
1891
1880
  Ut,
1892
- ft,
1893
- yt,
1894
- bt,
1895
- Dt,
1896
- St,
1897
- Tt,
1898
- Wt,
1899
1881
  t`
1900
1882
  :host {
1901
1883
  position: absolute;
@@ -1910,7 +1892,7 @@ var Ot = "en", kt = [
1910
1892
  ];
1911
1893
  }
1912
1894
  constructor() {
1913
- super(), this.modules = [], this.modulesLoading = !1, this.lang = "en", this.error = !1, this.open = !1, this._searchQuery = "", this._searchLoading = !1, this._activeScopeId = "menu", this._searchLoadingMore = !1, this._moduleSwitcherMaxHeight = 0, this._navFooterKeyboard = new qt(this), this._onNavigate = (e) => {
1895
+ super(), this.modules = [], this.modulesLoading = !1, this.lang = "en", this.error = !1, this.open = !1, this._searchQuery = "", this._searchLoading = !1, this._activeScopeId = "menu", this._searchLoadingMore = !1, this._moduleSwitcherMaxHeight = 0, this._navFooterKeyboard = new Kt(this), this._onNavigate = (e) => {
1914
1896
  this._searchQuery = "", this._searchResults = void 0, this.dispatchEvent(new CustomEvent("vsn-side-bar-close", {
1915
1897
  bubbles: !0,
1916
1898
  composed: !0
@@ -1927,7 +1909,7 @@ var Ot = "en", kt = [
1927
1909
  }));
1928
1910
  }, this._onScopeChanged = (e) => {
1929
1911
  this._activeScopeId = e.detail.scopeId, this._runSearch(this._searchQuery, this._activeScopeId);
1930
- }, new Gt(this, ".ga-side-navigation", () => this.dispatchEvent(new CustomEvent("vsn-side-bar-close", {
1912
+ }, new Wt(this, ".ga-side-navigation", () => this.dispatchEvent(new CustomEvent("vsn-side-bar-close", {
1931
1913
  bubbles: !0,
1932
1914
  composed: !0
1933
1915
  }))), this._resizeObserver = new ResizeObserver((e) => {
@@ -1938,7 +1920,7 @@ var Ot = "en", kt = [
1938
1920
  this._moduleSwitcherMaxHeight = Math.max(0, e[0].contentRect.height - 134);
1939
1921
  }
1940
1922
  willUpdate(e) {
1941
- e.has("lang") && Ht(this.lang).catch(console.error), e.has("open") && e.get("open") && !this.open && (this._searchQuery = "", this._activeScopeId = "menu", this._clearSearchState(), this.renderRoot.querySelector("vsn-header")?.reset(), this.renderRoot.querySelector("vsn-footer")?.reset());
1923
+ e.has("lang") && Ft(this.lang).catch(console.error), e.has("open") && e.get("open") && !this.open && (this._searchQuery = "", this._activeScopeId = "menu", this._clearSearchState(), this.renderRoot.querySelector("vsn-header")?.reset(), this.renderRoot.querySelector("vsn-footer")?.reset());
1942
1924
  }
1943
1925
  async focusSearch() {
1944
1926
  await this.updateComplete, this.menu?.search?.enabled && this.renderRoot.querySelector("vsn-search")?.focus();
@@ -1980,7 +1962,7 @@ var Ot = "en", kt = [
1980
1962
  this._searchResults = t.results, this._searchNextCursor = t.nextCursor, this._searchLoading = !1, this._searchAbort = void 0;
1981
1963
  } catch (e) {
1982
1964
  if (this._searchAbort !== r) return;
1983
- e instanceof de ? (this._searchError = e.message, this._searchResults = void 0) : console.error("Search function rejected with non-SearchError:", e), this._searchLoading = !1, this._searchAbort = void 0;
1965
+ e instanceof v ? (this._searchError = e.message, this._searchResults = void 0) : console.error("Search function rejected with non-SearchError:", e), this._searchLoading = !1, this._searchAbort = void 0;
1984
1966
  }
1985
1967
  }
1986
1968
  async _loadMore() {
@@ -2000,7 +1982,7 @@ var Ot = "en", kt = [
2000
1982
  this._searchResults = [...this._searchResults ?? [], ...n.results], this._searchNextCursor = n.nextCursor, this._searchLoadingMore = !1, this._searchAbort = void 0;
2001
1983
  } catch (e) {
2002
1984
  if (this._searchAbort !== t) return;
2003
- e instanceof de ? (this._searchError = e.message, this._searchResults = void 0, this._searchNextCursor = void 0) : console.error("Load-more function rejected with non-SearchError:", e), this._searchLoadingMore = !1, this._searchAbort = void 0;
1985
+ e instanceof v ? (this._searchError = e.message, this._searchResults = void 0, this._searchNextCursor = void 0) : console.error("Load-more function rejected with non-SearchError:", e), this._searchLoadingMore = !1, this._searchAbort = void 0;
2004
1986
  }
2005
1987
  }
2006
1988
  _filterTree(e) {
@@ -2110,18 +2092,15 @@ var Ot = "en", kt = [
2110
2092
  `;
2111
2093
  }
2112
2094
  };
2113
- P([s({ attribute: !1 })], K.prototype, "modules", void 0), P([s()], K.prototype, "activeModuleId", void 0), P([s()], K.prototype, "activeModuleLabel", void 0), P([s({ type: Boolean })], K.prototype, "modulesLoading", void 0), P([s()], K.prototype, "lang", void 0), P([s({ attribute: !1 })], K.prototype, "auth", void 0), P([s({ type: Boolean })], K.prototype, "error", void 0), P([s({
2095
+ P([s({ attribute: !1 })], q.prototype, "modules", void 0), P([s()], q.prototype, "activeModuleId", void 0), P([s()], q.prototype, "activeModuleLabel", void 0), P([s({ type: Boolean })], q.prototype, "modulesLoading", void 0), P([s()], q.prototype, "lang", void 0), P([s({ attribute: !1 })], q.prototype, "auth", void 0), P([s({ type: Boolean })], q.prototype, "error", void 0), P([s({
2114
2096
  type: Boolean,
2115
2097
  reflect: !0
2116
- })], K.prototype, "open", void 0), P([s({ attribute: !1 })], K.prototype, "menu", void 0), P([l()], K.prototype, "_searchQuery", void 0), P([l()], K.prototype, "_searchResults", void 0), P([l()], K.prototype, "_searchLoading", void 0), P([l()], K.prototype, "_activeScopeId", void 0), P([l()], K.prototype, "_searchError", void 0), P([l()], K.prototype, "_searchNextCursor", void 0), P([l()], K.prototype, "_searchLoadingMore", void 0), P([l()], K.prototype, "_moduleSwitcherMaxHeight", void 0), K = P([o("vsn-side-bar")], K);
2098
+ })], q.prototype, "open", void 0), P([s({ attribute: !1 })], q.prototype, "menu", void 0), P([l()], q.prototype, "_searchQuery", void 0), P([l()], q.prototype, "_searchResults", void 0), P([l()], q.prototype, "_searchLoading", void 0), P([l()], q.prototype, "_activeScopeId", void 0), P([l()], q.prototype, "_searchError", void 0), P([l()], q.prototype, "_searchNextCursor", void 0), P([l()], q.prototype, "_searchLoadingMore", void 0), P([l()], q.prototype, "_moduleSwitcherMaxHeight", void 0), q = P([o("vsn-side-bar")], q);
2117
2099
  //#endregion
2118
2100
  //#region src/components/vsn-top-bar/vsn-breadcrumb-menu-item.ts
2119
- var q, J = class extends e {
2101
+ var J, Y = class extends e {
2120
2102
  static {
2121
- q = this;
2122
- }
2123
- static {
2124
- this.styles = h;
2103
+ J = this;
2125
2104
  }
2126
2105
  static {
2127
2106
  this._idCounter = 0;
@@ -2153,7 +2132,7 @@ var q, J = class extends e {
2153
2132
  bubbles: !0,
2154
2133
  composed: !0
2155
2134
  }));
2156
- }, this._tooltipId = `vsn-menu-item-tooltip-${q._idCounter++}`;
2135
+ }, this._tooltipId = `vsn-menu-item-tooltip-${J._idCounter++}`;
2157
2136
  }
2158
2137
  createRenderRoot() {
2159
2138
  return this;
@@ -2203,30 +2182,30 @@ var q, J = class extends e {
2203
2182
  if (this.tree && _(this.tree)) return this.tree.items.length > 0;
2204
2183
  }
2205
2184
  };
2206
- P([s({ attribute: !1 })], J.prototype, "tree", void 0), P([s({ type: Number })], J.prototype, "level", void 0), P([s({ type: Array })], J.prototype, "ancestorPath", void 0), P([l()], J.prototype, "_isExpanded", void 0), P([l()], J.prototype, "_showTooltip", void 0), P([l()], J.prototype, "_tooltipPos", void 0), P([c(".ga-side-navigation__item-label")], J.prototype, "_labelEl", void 0), J = q = P([o("vsn-breadcrumb-menu-item")], J);
2185
+ P([s({ attribute: !1 })], Y.prototype, "tree", void 0), P([s({ type: Number })], Y.prototype, "level", void 0), P([s({ type: Array })], Y.prototype, "ancestorPath", void 0), P([l()], Y.prototype, "_isExpanded", void 0), P([l()], Y.prototype, "_showTooltip", void 0), P([l()], Y.prototype, "_tooltipPos", void 0), P([c(".ga-side-navigation__item-label")], Y.prototype, "_labelEl", void 0), Y = J = P([o("vsn-breadcrumb-menu-item")], Y);
2207
2186
  //#endregion
2208
2187
  //#region src/components/vsn-top-bar/vsn-breadcrumb-menu.ts
2209
- var Y = class extends e {
2210
- static {
2211
- this.styles = h;
2212
- }
2188
+ var qt = class extends e {
2213
2189
  createRenderRoot() {
2214
2190
  return this;
2215
2191
  }
2216
2192
  menuItem(e) {
2217
- return n`<vsn-breadcrumb-menu-item .tree=${e}></vsn-breadcrumb-menu-item>`;
2193
+ return n`
2194
+ <vsn-breadcrumb-menu-item .tree=${e}></vsn-breadcrumb-menu-item>`;
2218
2195
  }
2219
2196
  render() {
2220
2197
  return n`
2221
- <div class="ga-side-navigation" style="height: auto; overflow: visible; width: 238px; min-width: var(--ga-size-160); max-width: 512px; border-radius: var(--ga-radius); border: var(--ga-size-border-width-sm) solid var(--ga-color-border-primary); background: var(--ga-color-surface-primary);">
2222
- <div class="ga-side-navigation__body" style="overflow-x: hidden; overflow-y: auto; max-height: 60vh;">
2198
+ <div class="ga-side-navigation ga-scroll"
2199
+ style="height: auto; overflow: visible; width: 238px; min-width: var(--ga-size-160); max-width: 512px; border-radius: var(--ga-radius); border: var(--ga-size-border-width-sm) solid var(--ga-color-border-primary); background: var(--ga-color-surface-primary);">
2200
+ <div class="ga-side-navigation__body overflow-y-auto ga-scroll"
2201
+ style="overflow-x: hidden; max-height: 60vh;">
2223
2202
  ${d(this.treeList, (e) => this.menuItem(e))}
2224
2203
  </div>
2225
2204
  </div>
2226
2205
  `;
2227
2206
  }
2228
2207
  };
2229
- P([s({ attribute: !1 })], Y.prototype, "treeList", void 0), Y = P([o("vsn-breadcrumb-menu")], Y);
2208
+ P([s({ attribute: !1 })], qt.prototype, "treeList", void 0), qt = P([o("vsn-breadcrumb-menu")], qt);
2230
2209
  //#endregion
2231
2210
  //#region src/components/vsn-top-bar/vsn-breadcrumbs.ts
2232
2211
  var X = class extends e {
@@ -2248,14 +2227,20 @@ var X = class extends e {
2248
2227
  };
2249
2228
  }
2250
2229
  static {
2251
- this.styles = [h, t`
2230
+ this.styles = [
2231
+ h,
2232
+ K,
2233
+ t`
2252
2234
  /* Temporary, until breadcrumb styles are updated */
2235
+
2253
2236
  .ga-breadcrumb {
2254
2237
  flex-wrap: nowrap;
2255
2238
  overflow-x: clip;
2256
2239
  }
2240
+
2257
2241
  /* Dropdowns use the native Popover API — promoted to the top layer on open,
2258
2242
  bypassing all stacking contexts. */
2243
+
2259
2244
  .ga-breadcrumb-item__menu[popover] {
2260
2245
  position: fixed;
2261
2246
  inset: unset;
@@ -2265,34 +2250,42 @@ var X = class extends e {
2265
2250
  background: transparent;
2266
2251
  overflow: visible;
2267
2252
  }
2253
+
2268
2254
  .ga-breadcrumb-item__trigger[aria-expanded='true'] .ga-breadcrumb-item__label {
2269
2255
  outline: none;
2270
2256
  }
2257
+
2271
2258
  .ga-breadcrumb-item--link .ga-breadcrumb-item__trigger:hover,
2272
2259
  .ga-breadcrumb-item--overflow .ga-breadcrumb-item__trigger:hover {
2273
2260
  background-color: var(--ga-color-surface-action-hover-2);
2274
2261
  text-decoration: none;
2275
2262
  }
2263
+
2276
2264
  .ga-breadcrumb-item--link .ga-breadcrumb-item__trigger:hover .ga-breadcrumb-item__label,
2277
2265
  .ga-breadcrumb-item--overflow .ga-breadcrumb-item__trigger:hover .ga-breadcrumb-item__label {
2278
2266
  text-decoration: none;
2279
2267
  }
2268
+
2280
2269
  .ga-breadcrumb-item.ga-breadcrumb-item--ancestor .ga-breadcrumb-item__trigger {
2281
2270
  color: var(--ga-color-text-body);
2282
2271
  cursor: default;
2283
2272
  }
2273
+
2284
2274
  .ga-breadcrumb-item.ga-breadcrumb-item--ancestor .ga-breadcrumb-item__trigger .ga-breadcrumb-item__label {
2285
2275
  color: var(--ga-color-text-body);
2286
2276
  }
2277
+
2287
2278
  .ga-breadcrumb-item.ga-breadcrumb-item--ancestor .ga-breadcrumb-item__trigger:hover {
2288
2279
  background-color: transparent;
2289
2280
  color: var(--ga-color-text-body);
2290
2281
  }
2282
+
2291
2283
  .ga-breadcrumb-item.ga-breadcrumb-item--ancestor .ga-breadcrumb-item__trigger:hover .ga-breadcrumb-item__label {
2292
2284
  text-decoration: none;
2293
2285
  color: var(--ga-color-text-body);
2294
2286
  }
2295
- `];
2287
+ `
2288
+ ];
2296
2289
  }
2297
2290
  connectedCallback() {
2298
2291
  super.connectedCallback(), this._mqDesktop.addEventListener("change", this._handleMediaChange), this._mqTablet.addEventListener("change", this._handleMediaChange), this._handleMediaChange();
@@ -2399,10 +2392,11 @@ var X = class extends e {
2399
2392
  >
2400
2393
  <span class="ga-breadcrumb-item__label">${"VSN"}</span>
2401
2394
  </button>
2402
- ${this._breadcrumbPath.length > 0 ? n`<span class="ga-breadcrumb-item__separator" aria-hidden="true">/</span>` : ""}
2395
+ ${this._breadcrumbPath.length > 0 ? n`<span class="ga-breadcrumb-item__separator"
2396
+ aria-hidden="true">/</span>` : ""}
2403
2397
  <div
2404
2398
  id="vsn-bc-modules-popover"
2405
- class="ga-breadcrumb-item__menu"
2399
+ class="ga-breadcrumb-item__menu ga-scroll"
2406
2400
  popover="auto"
2407
2401
  @beforetoggle=${(e) => this._handlePopoverBeforeToggle("vsn-bc-modules-trigger", e)}
2408
2402
  @toggle=${(e) => this._handlePopoverToggle("vsn-bc-modules-popover", e)}
@@ -2428,7 +2422,10 @@ var X = class extends e {
2428
2422
  }
2429
2423
  _renderLeafAsAncestor(e) {
2430
2424
  return n`
2431
- <div class="ga-breadcrumb-item ga-breadcrumb-item--link ga-breadcrumb-item--ancestor" aria-describedby=${this._tooltip ? "vsn-breadcrumb-tooltip" : r} data-tooltip-label="${e.label ?? ""}" @mouseenter=${this._onBreadcrumbMouseEnter} @mouseleave=${this._onBreadcrumbMouseLeave}>
2425
+ <div class="ga-breadcrumb-item ga-breadcrumb-item--link ga-breadcrumb-item--ancestor"
2426
+ aria-describedby=${this._tooltip ? "vsn-breadcrumb-tooltip" : r}
2427
+ data-tooltip-label="${e.label ?? ""}" @mouseenter=${this._onBreadcrumbMouseEnter}
2428
+ @mouseleave=${this._onBreadcrumbMouseLeave}>
2432
2429
  <span class="ga-breadcrumb-item__trigger">
2433
2430
  <span class="ga-breadcrumb-item__label">${e.label ?? ""}</span>
2434
2431
  </span>
@@ -2448,7 +2445,10 @@ var X = class extends e {
2448
2445
  }
2449
2446
  _renderCurrentItem(e) {
2450
2447
  return n`
2451
- <div class="ga-breadcrumb-item ga-breadcrumb-item--current-page" aria-describedby=${this._tooltip ? "vsn-breadcrumb-tooltip" : r} data-tooltip-label="${e.label ?? ""}" @mouseenter=${this._onBreadcrumbMouseEnter} @mouseleave=${this._onBreadcrumbMouseLeave}>
2448
+ <div class="ga-breadcrumb-item ga-breadcrumb-item--current-page"
2449
+ aria-describedby=${this._tooltip ? "vsn-breadcrumb-tooltip" : r}
2450
+ data-tooltip-label="${e.label ?? ""}" @mouseenter=${this._onBreadcrumbMouseEnter}
2451
+ @mouseleave=${this._onBreadcrumbMouseLeave}>
2452
2452
  <span class="ga-breadcrumb-item__trigger" aria-current="page">
2453
2453
  <span class="ga-breadcrumb-item__label">${e.label ?? ""}</span>
2454
2454
  </span>
@@ -2458,7 +2458,10 @@ var X = class extends e {
2458
2458
  if (!_(e) || e.items.length === 0) return n``;
2459
2459
  let i = this._popoverItemId(t), a = this._popoverItemTriggerId(t);
2460
2460
  return n`
2461
- <div class="ga-breadcrumb-item ga-breadcrumb-item--link" aria-describedby=${this._tooltip ? "vsn-breadcrumb-tooltip" : r} data-tooltip-label="${e.label ?? ""}" @mouseenter=${this._onBreadcrumbMouseEnter} @mouseleave=${this._onBreadcrumbMouseLeave}>
2461
+ <div class="ga-breadcrumb-item ga-breadcrumb-item--link"
2462
+ aria-describedby=${this._tooltip ? "vsn-breadcrumb-tooltip" : r}
2463
+ data-tooltip-label="${e.label ?? ""}" @mouseenter=${this._onBreadcrumbMouseEnter}
2464
+ @mouseleave=${this._onBreadcrumbMouseLeave}>
2462
2465
  <button
2463
2466
  id=${a}
2464
2467
  class="ga-breadcrumb-item__trigger"
@@ -2536,12 +2539,13 @@ var X = class extends e {
2536
2539
  }
2537
2540
  render() {
2538
2541
  return n`
2539
- <nav aria-label=${b("Breadcrumb")}>
2542
+ <nav aria-label=${x("Breadcrumb")}>
2540
2543
  <div class="ga-breadcrumb">
2541
2544
  ${this._displayMode === "full" ? this._renderFullBreadcrumbs() : this._displayMode === "overflow" ? this._renderOverflowBreadcrumbs() : this._renderMobileBreadcrumbs()}
2542
2545
  </div>
2543
2546
  ${this._tooltip ? n`
2544
- <div id="vsn-breadcrumb-tooltip" role="tooltip" style="position: fixed; left: ${this._tooltip.x}px; top: ${this._tooltip.y}px; pointer-events: none; z-index: 9999;">
2547
+ <div id="vsn-breadcrumb-tooltip" role="tooltip"
2548
+ style="position: fixed; left: ${this._tooltip.x}px; top: ${this._tooltip.y}px; pointer-events: none; z-index: 9999;">
2545
2549
  <div class="ga-tooltip ga-tooltip--bottom-start" style="white-space: nowrap">${this._tooltip.label}</div>
2546
2550
  </div>
2547
2551
  ` : r}
@@ -2549,13 +2553,10 @@ var X = class extends e {
2549
2553
  `;
2550
2554
  }
2551
2555
  };
2552
- P([s({ attribute: !1 })], X.prototype, "tree", void 0), P([s({ type: Array })], X.prototype, "modules", void 0), P([s()], X.prototype, "activeModuleId", void 0), P([l()], X.prototype, "_openPopoverId", void 0), P([l()], X.prototype, "_displayMode", void 0), P([l()], X.prototype, "_overflowCount", void 0), P([l()], X.prototype, "_tooltip", void 0), X = P([x(), o("vsn-breadcrumbs")], X);
2556
+ P([s({ attribute: !1 })], X.prototype, "tree", void 0), P([s({ type: Array })], X.prototype, "modules", void 0), P([s()], X.prototype, "activeModuleId", void 0), P([l()], X.prototype, "_openPopoverId", void 0), P([l()], X.prototype, "_displayMode", void 0), P([l()], X.prototype, "_overflowCount", void 0), P([l()], X.prototype, "_tooltip", void 0), X = P([S(), o("vsn-breadcrumbs")], X);
2553
2557
  //#endregion
2554
2558
  //#region src/components/vsn-top-bar/vsn-ai-assistant.ts
2555
2559
  var Jt = class extends e {
2556
- static {
2557
- this.styles = h;
2558
- }
2559
2560
  createRenderRoot() {
2560
2561
  return this;
2561
2562
  }
@@ -2568,13 +2569,14 @@ var Jt = class extends e {
2568
2569
  }
2569
2570
  render() {
2570
2571
  return n`
2571
- <button type="button" class="ga-button ga-button--secondary ga-button--icon-only" aria-label=${b("Open AI assistant")} @click=${this._handleClick}>
2572
+ <button type="button" class="ga-button ga-button--secondary ga-button--icon-only"
2573
+ aria-label=${x("Open AI assistant")} @click=${this._handleClick}>
2572
2574
  <span class="ga-icon">${M(Je)}</span>
2573
2575
  </button>
2574
2576
  `;
2575
2577
  }
2576
2578
  };
2577
- Jt = P([x(), o("vsn-ai-assistant")], Jt);
2579
+ Jt = P([S(), o("vsn-ai-assistant")], Jt);
2578
2580
  //#endregion
2579
2581
  //#region src/components/vsn-top-bar/vsn-feedback.ts
2580
2582
  var Z = class extends e {
@@ -2583,9 +2585,6 @@ var Z = class extends e {
2583
2585
  this._compact = this._mqMobile.matches;
2584
2586
  }, this._traitSet = !1;
2585
2587
  }
2586
- static {
2587
- this.styles = h;
2588
- }
2589
2588
  createRenderRoot() {
2590
2589
  return this;
2591
2590
  }
@@ -2619,23 +2618,22 @@ var Z = class extends e {
2619
2618
  }
2620
2619
  render() {
2621
2620
  return this._compact ? n`
2622
- <button type="button" class="ga-button ga-button--secondary ga-button--icon-only" aria-label=${b("Send feedback")} @click=${this._handleClick}>
2621
+ <button type="button" class="ga-button ga-button--secondary ga-button--icon-only"
2622
+ aria-label=${x("Send feedback")} @click=${this._handleClick}>
2623
2623
  <span class="ga-icon">${M(Ze)}</span>
2624
2624
  </button>
2625
2625
  ` : n`
2626
- <button type="button" class="ga-button ga-button--secondary" aria-label=${b("Send feedback")} @click=${this._handleClick}>
2627
- ${b("Feedback")}
2626
+ <button type="button" class="ga-button ga-button--secondary" aria-label=${x("Send feedback")}
2627
+ @click=${this._handleClick}>
2628
+ ${x("Feedback")}
2628
2629
  </button>
2629
2630
  `;
2630
2631
  }
2631
2632
  };
2632
- P([l()], Z.prototype, "_compact", void 0), P([s({ attribute: !1 })], Z.prototype, "feedback", void 0), P([s({ attribute: !1 })], Z.prototype, "auth", void 0), Z = P([x(), o("vsn-feedback")], Z);
2633
+ P([l()], Z.prototype, "_compact", void 0), P([s({ attribute: !1 })], Z.prototype, "feedback", void 0), P([s({ attribute: !1 })], Z.prototype, "auth", void 0), Z = P([S(), o("vsn-feedback")], Z);
2633
2634
  //#endregion
2634
2635
  //#region src/components/vsn-top-bar/vsn-home.ts
2635
2636
  var Yt = class extends e {
2636
- static {
2637
- this.styles = h;
2638
- }
2639
2637
  createRenderRoot() {
2640
2638
  return this;
2641
2639
  }
@@ -2643,7 +2641,7 @@ var Yt = class extends e {
2643
2641
  e.preventDefault(), this.landingPageUrl && this.dispatchEvent(new CustomEvent("vsn-navigate", {
2644
2642
  detail: {
2645
2643
  id: "home",
2646
- label: b("Home"),
2644
+ label: x("Home"),
2647
2645
  url: this.landingPageUrl
2648
2646
  },
2649
2647
  bubbles: !0,
@@ -2652,19 +2650,17 @@ var Yt = class extends e {
2652
2650
  }
2653
2651
  render() {
2654
2652
  return this.landingPageUrl ? n`
2655
- <a href=${this.landingPageUrl} class="ga-button ga-button--ghost ga-button--icon-only" aria-label=${b("Home")} @click=${this._handleClick}>
2653
+ <a href=${this.landingPageUrl} class="ga-button ga-button--ghost ga-button--icon-only" aria-label=${x("Home")}
2654
+ @click=${this._handleClick}>
2656
2655
  <span class="ga-icon">${M(Qe)}</span>
2657
2656
  </a>
2658
2657
  ` : r;
2659
2658
  }
2660
2659
  };
2661
- P([s({ attribute: "landing-page-url" })], Yt.prototype, "landingPageUrl", void 0), Yt = P([x(), o("vsn-home")], Yt);
2660
+ P([s({ attribute: "landing-page-url" })], Yt.prototype, "landingPageUrl", void 0), Yt = P([S(), o("vsn-home")], Yt);
2662
2661
  //#endregion
2663
2662
  //#region src/components/vsn-top-bar/vsn-menu-toggle.ts
2664
2663
  var Xt = class extends e {
2665
- static {
2666
- this.styles = [h];
2667
- }
2668
2664
  createRenderRoot() {
2669
2665
  return this;
2670
2666
  }
@@ -2686,7 +2682,7 @@ var Xt = class extends e {
2686
2682
  }
2687
2683
  render() {
2688
2684
  return n`
2689
- <button type="button" class="ga-button ga-button--secondary ga-button--icon-only" aria-label=${b("Open menu")}
2685
+ <button type="button" class="ga-button ga-button--secondary ga-button--icon-only" aria-label=${x("Open menu")}
2690
2686
  aria-describedby="vsn-menu-toggle-tooltip"
2691
2687
  @click=${this._handleClick}
2692
2688
  @mouseenter=${this._onActivate}
@@ -2701,16 +2697,13 @@ var Xt = class extends e {
2701
2697
  `;
2702
2698
  }
2703
2699
  };
2704
- P([c("div[role=\"tooltip\"]", !0)], Xt.prototype, "_tooltipElement", void 0), Xt = P([x(), o("vsn-menu-toggle")], Xt);
2700
+ P([c("div[role=\"tooltip\"]", !0)], Xt.prototype, "_tooltipElement", void 0), Xt = P([S(), o("vsn-menu-toggle")], Xt);
2705
2701
  //#endregion
2706
2702
  //#region src/components/vsn-top-bar/vsn-notifications.ts
2707
2703
  var Zt = class extends e {
2708
2704
  constructor(...e) {
2709
2705
  super(...e), this.notificationActive = !1;
2710
2706
  }
2711
- static {
2712
- this.styles = h;
2713
- }
2714
2707
  createRenderRoot() {
2715
2708
  return this;
2716
2709
  }
@@ -2724,7 +2717,8 @@ var Zt = class extends e {
2724
2717
  render() {
2725
2718
  let e = this.notificationActive ? Xe : Ye;
2726
2719
  return n`
2727
- <button type="button" class="ga-button ga-button--secondary ga-button--icon-only" aria-label=${b("Notifications")} @click=${this._handleClick}>
2720
+ <button type="button" class="ga-button ga-button--secondary ga-button--icon-only"
2721
+ aria-label=${x("Notifications")} @click=${this._handleClick}>
2728
2722
  <span class="ga-icon">${M(e)}</span>
2729
2723
  </button>
2730
2724
  `;
@@ -2734,7 +2728,7 @@ P([s({
2734
2728
  type: Boolean,
2735
2729
  attribute: "notification-active",
2736
2730
  reflect: !0
2737
- })], Zt.prototype, "notificationActive", void 0), Zt = P([x(), o("vsn-notifications")], Zt);
2731
+ })], Zt.prototype, "notificationActive", void 0), Zt = P([S(), o("vsn-notifications")], Zt);
2738
2732
  //#endregion
2739
2733
  //#region src/components/vsn-top-bar/vsn-help.ts
2740
2734
  function Qt(e) {
@@ -2746,9 +2740,6 @@ function Qt(e) {
2746
2740
  }
2747
2741
  }
2748
2742
  var $t = class extends e {
2749
- static {
2750
- this.styles = h;
2751
- }
2752
2743
  createRenderRoot() {
2753
2744
  return this;
2754
2745
  }
@@ -2761,17 +2752,19 @@ var $t = class extends e {
2761
2752
  }
2762
2753
  render() {
2763
2754
  return this.helpUrl && Qt(this.helpUrl) ? n`
2764
- <a href=${this.helpUrl} rel="noopener noreferrer" class="ga-button ga-button--secondary ga-button--icon-only" aria-label=${b("Help")}>
2755
+ <a href=${this.helpUrl} rel="noopener noreferrer" class="ga-button ga-button--secondary ga-button--icon-only"
2756
+ aria-label=${x("Help")}>
2765
2757
  <span class="ga-icon">${M($e)}</span>
2766
2758
  </a>
2767
2759
  ` : n`
2768
- <button type="button" class="ga-button ga-button--secondary ga-button--icon-only" aria-label=${b("Help")} @click=${this._handleClick}>
2760
+ <button type="button" class="ga-button ga-button--secondary ga-button--icon-only" aria-label=${x("Help")}
2761
+ @click=${this._handleClick}>
2769
2762
  <span class="ga-icon">${M($e)}</span>
2770
2763
  </button>
2771
2764
  `;
2772
2765
  }
2773
2766
  };
2774
- P([s({ attribute: "help-url" })], $t.prototype, "helpUrl", void 0), $t = P([x(), o("vsn-help")], $t);
2767
+ P([s({ attribute: "help-url" })], $t.prototype, "helpUrl", void 0), $t = P([S(), o("vsn-help")], $t);
2775
2768
  //#endregion
2776
2769
  //#region src/components/vsn-top-bar/vsn-top-bar.ts
2777
2770
  var Q = class extends e {
@@ -2779,7 +2772,7 @@ var Q = class extends e {
2779
2772
  super(...e), this.modules = [], this.feedback = null, this.showHelp = !1, this.showNotification = !1, this.notificationActive = !1, this.lang = "en";
2780
2773
  }
2781
2774
  willUpdate(e) {
2782
- e.has("lang") && Ht(this.lang).catch(console.error);
2775
+ e.has("lang") && Ft(this.lang).catch(console.error);
2783
2776
  }
2784
2777
  focusMenuToggle() {
2785
2778
  this.renderRoot.querySelector("vsn-menu-toggle")?.focus();
@@ -2923,7 +2916,10 @@ var $ = class extends e {
2923
2916
  });
2924
2917
  }
2925
2918
  static {
2926
- this.styles = [h, t`
2919
+ this.styles = [
2920
+ h,
2921
+ K,
2922
+ t`
2927
2923
  :host {
2928
2924
  display: flex;
2929
2925
  flex-direction: column;
@@ -2942,12 +2938,8 @@ var $ = class extends e {
2942
2938
  min-height: 0;
2943
2939
  overflow: hidden;
2944
2940
  }
2945
-
2946
- .vsn-navigation__page-content {
2947
- height: 100%;
2948
- overflow-y: auto;
2949
- }
2950
- `];
2941
+ `
2942
+ ];
2951
2943
  }
2952
2944
  willUpdate(e) {
2953
2945
  e.has("tree") && this.tree && (this.tree.currentItem ? this._currentItem = this.tree.currentItem : this.tree.items.length > 0 && (this._currentItem = this._getFirstLeafId(this.tree.items[0]))), e.has("modules") && this._resolveModules();
@@ -3030,7 +3022,7 @@ var $ = class extends e {
3030
3022
  >
3031
3023
  <slot name="nav-footer" slot="nav-footer"></slot>
3032
3024
  </vsn-side-bar>
3033
- <div class="vsn-navigation__page-content">
3025
+ <div class="h-full overflow-y-auto ga-scroll">
3034
3026
  <slot></slot>
3035
3027
  </div>
3036
3028
  </div>
@@ -3052,4 +3044,4 @@ P([s()], $.prototype, "lang", void 0), P([s({ attribute: !1 })], $.prototype, "t
3052
3044
  reflect: !0
3053
3045
  })], $.prototype, "open", void 0), P([l()], $.prototype, "_currentItem", void 0), P([l()], $.prototype, "_resolvedModules", void 0), P([l()], $.prototype, "_modulesLoading", void 0), $ = P([o("vsn-navigation")], $);
3054
3046
  //#endregion
3055
- export { de as SearchError, $ as VSNNavigation, g as isTreeLeaf, _ as isTreeParent };
3047
+ export { v as SearchError, $ as VSNNavigation, g as isTreeLeaf, _ as isTreeParent };