@webority/ui-react 0.137.2 → 0.138.0

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.
@@ -131594,9 +131594,9 @@ function Dvt(e) {
131594
131594
  ]
131595
131595
  });
131596
131596
  }
131597
- // ../elements/dist/WuiTour-ClCXfOtI.js
131598
- var L9 = "data-advance", Ovt = "wui-tour-hint", kvt = "Click {actionName} to continue.", Avt = "a[href], button, input, select, textarea, summary, [tabindex], [contenteditable]", R9 = (e, t) => e?.advanceOn === "click" && !!t, jvt = (e) => (e ?? "").replace(/\s+/g, " ").trim();
131599
- function Mvt(e) {
131597
+ // ../elements/dist/WuiTour-D18C-wQP.js
131598
+ var L9 = "data-advance", Ovt = "wui-tour-hint", kvt = "wui-tour-pointer", Avt = "Click {actionName} to continue.", jvt = "a[href], button, input, select, textarea, summary, [tabindex], [contenteditable]", R9 = (e, t) => e?.advanceOn === "click" && !!t, Mvt = (e) => (e ?? "").replace(/\s+/g, " ").trim();
131599
+ function Nvt(e) {
131600
131600
  let t = e.ownerDocument, n = (e.getAttribute("aria-labelledby") || "").split(/\s+/).filter(Boolean), r = e.tagName === "INPUT" && /^(button|submit|reset)$/.test(e.type) ? e.value : "", i = [
131601
131601
  n.map((e) => t.getElementById(e)?.textContent ?? "").join(" "),
131602
131602
  e.getAttribute("aria-label"),
@@ -131607,33 +131607,43 @@ function Mvt(e) {
131607
131607
  e.getAttribute("title")
131608
131608
  ];
131609
131609
  for (let e of i) {
131610
- let t = jvt(e);
131610
+ let t = Mvt(e);
131611
131611
  if (t) return t;
131612
131612
  }
131613
131613
  return "";
131614
131614
  }
131615
- function Nvt(e) {
131616
- for (let t of [e, ...e.querySelectorAll(Avt)]) if (t.tabIndex >= 0 && !t.disabled) return t;
131615
+ function Pvt(e) {
131616
+ for (let t of [e, ...e.querySelectorAll(jvt)]) if (t.tabIndex >= 0 && !t.disabled) return t;
131617
131617
  return null;
131618
131618
  }
131619
- function Pvt(e, t, n) {
131619
+ function Fvt(e, t, n) {
131620
131620
  let r = (e.getAttribute("aria-describedby") || "").split(/\s+/).filter((e) => e && e !== t);
131621
131621
  n && r.push(t), r.length > 0 ? e.setAttribute("aria-describedby", r.join(" ")) : e.removeAttribute("aria-describedby");
131622
131622
  }
131623
- function Fvt(e, t) {
131623
+ function Ivt(e, t) {
131624
131624
  let n = e.querySelector(`.${Ovt}`), r = e.querySelector(".wui-tour-text")?.id, i = r ? `${r.replace(/-text$/, "")}-hint` : "";
131625
- t ? (n || (n = e.ownerDocument.createElement("p"), n.className = Ovt, i && (n.id = i), e.querySelector(".wui-tour-actions").before(n)), n.textContent = t, i && Pvt(e, i, !0)) : (n?.remove(), i && Pvt(e, i, !1));
131625
+ t ? (n || (n = e.ownerDocument.createElement("p"), n.className = Ovt, i && (n.id = i), e.querySelector(".wui-tour-actions").before(n)), n.textContent = t, i && Fvt(e, i, !0)) : (n?.remove(), i && Fvt(e, i, !1));
131626
+ }
131627
+ function Lvt(e, t) {
131628
+ let n = e.querySelector(`.${kvt}`);
131629
+ if (!t) {
131630
+ n?.remove();
131631
+ return;
131632
+ }
131633
+ if (n) return;
131634
+ let r = e.ownerDocument.createElement("span");
131635
+ r.className = kvt, r.setAttribute("aria-hidden", "true"), e.append(r);
131626
131636
  }
131627
- var Ivt = (e) => getComputedStyle(e).animationName;
131628
- function Lvt(e, { layer: t, spot: n, card: r }, i, a) {
131637
+ var Rvt = (e) => getComputedStyle(e).animationName;
131638
+ function zvt(e, { layer: t, spot: n, card: r }, i, a) {
131629
131639
  let o = R9(i, a);
131630
- t.toggleAttribute(L9, o && !(t.getRootNode() instanceof ShadowRoot)), n.hasAttribute(L9) && (n.removeAttribute(L9), o && Ivt(n)), o && n.setAttribute(L9, "");
131640
+ t.toggleAttribute(L9, o && !(t.getRootNode() instanceof ShadowRoot)), n.hasAttribute(L9) && (n.removeAttribute(L9), o && Rvt(n)), o && n.setAttribute(L9, ""), Lvt(n, o);
131631
131641
  let s = r.querySelector(".wui-tour-next");
131632
131642
  s.classList.toggle("btn-primary", !o), s.classList.toggle("btn-link", o);
131633
- let c = o ? jvt(i.actionLabel) || Mvt(a) : "", l = e.getAttribute("advance-label") || kvt, u = c ? l.replace(/\{actionName\}/g, () => c) : "";
131634
- return Fvt(r, u), u;
131643
+ let c = o ? Mvt(i.actionLabel) || Nvt(a) : "", l = e.getAttribute("advance-label") || Avt, u = c ? l.replace(/\{actionName\}/g, () => c) : "";
131644
+ return Ivt(r, u), u;
131635
131645
  }
131636
- function Rvt(e, t, n) {
131646
+ function Bvt(e, t, n) {
131637
131647
  if (!R9(e, t)) return () => {};
131638
131648
  let r = null, i = () => {
131639
131649
  r ??= setTimeout(n, 0);
@@ -131642,73 +131652,73 @@ function Rvt(e, t, n) {
131642
131652
  t.removeEventListener("click", i), clearTimeout(r);
131643
131653
  };
131644
131654
  }
131645
- function zvt(e, t, n, r) {
131655
+ function Vvt(e, t, n, r) {
131646
131656
  return e.contains(r) || R9(t, n) && n.contains(r);
131647
131657
  }
131648
- function Bvt(e, { card: t, active: n, step: r, target: i }) {
131649
- let a = Array.from(t.querySelectorAll("button")).filter((e) => !e.hidden), o = R9(r, i) ? Nvt(i) : null;
131658
+ function Hvt(e, { card: t, active: n, step: r, target: i }) {
131659
+ let a = Array.from(t.querySelectorAll("button")).filter((e) => !e.hidden), o = R9(r, i) ? Pvt(i) : null;
131650
131660
  o && a.push(o);
131651
131661
  let s = a.findIndex((e) => e === n || e === o && i.contains(n));
131652
131662
  e.preventDefault(), a[s === -1 ? e.shiftKey ? a.length - 1 : 0 : (s + (e.shiftKey ? -1 : 1) + a.length) % a.length].focus();
131653
131663
  }
131654
- var Vvt = 2 / 3, Hvt = 1e3, Uvt = /* @__PURE__ */ new Set([
131664
+ var Uvt = 2 / 3, Wvt = 1e3, Gvt = /* @__PURE__ */ new Set([
131655
131665
  "top",
131656
131666
  "left",
131657
131667
  "width",
131658
131668
  "height"
131659
- ]), Wvt = /* @__PURE__ */ new WeakMap(), z9 = (e, t) => typeof e.getAnimations == "function" ? e.getAnimations().filter(t) : [], Gvt = (e) => e.transitionProperty === "opacity", Kvt = (e) => Uvt.has(e.transitionProperty), qvt = (e) => typeof e.animationName == "string" && e.animationName.startsWith("wui-tour-");
131660
- function Jvt(e) {
131669
+ ]), Kvt = /* @__PURE__ */ new WeakMap(), z9 = (e, t) => typeof e.getAnimations == "function" ? e.getAnimations().filter(t) : [], qvt = (e) => e.transitionProperty === "opacity", Jvt = (e) => Gvt.has(e.transitionProperty), Yvt = (e) => typeof e.animationName == "string" && e.animationName.startsWith("wui-tour-");
131670
+ function Xvt(e) {
131661
131671
  return e.length === 0 ? null : new Promise((t) => {
131662
- let n = setTimeout(t, Hvt);
131672
+ let n = setTimeout(t, Wvt);
131663
131673
  Promise.allSettled(e.map((e) => e.finished)).then(() => {
131664
131674
  clearTimeout(n), t();
131665
131675
  });
131666
131676
  });
131667
131677
  }
131668
- function Yvt(e) {
131678
+ function Zvt(e) {
131669
131679
  let t = e.parentElement?.querySelector(":scope > .wui-tour-spot"), n = 0;
131670
- for (let e of t ? z9(t, Kvt) : []) {
131680
+ for (let e of t ? z9(t, Jvt) : []) {
131671
131681
  let t = e.effect?.getComputedTiming?.();
131672
131682
  if (typeof t?.duration != "number") continue;
131673
131683
  let r = typeof e.currentTime == "number" ? e.currentTime : 0;
131674
- n = Math.max(n, (t.delay ?? 0) + t.duration * Vvt - r);
131684
+ n = Math.max(n, (t.delay ?? 0) + t.duration * Uvt - r);
131675
131685
  }
131676
131686
  return n;
131677
131687
  }
131678
- function Xvt(e) {
131679
- let t = Yvt(e);
131688
+ function Qvt(e) {
131689
+ let t = Zvt(e);
131680
131690
  t > 0 ? e.style.setProperty("--wui-tour-card-delay", `${Math.round(t)}ms`) : e.style.removeProperty("--wui-tour-card-delay"), e.dataset.state = "entering";
131681
131691
  let n = {};
131682
- Wvt.set(e, n);
131692
+ Kvt.set(e, n);
131683
131693
  let r = () => {
131684
- Wvt.get(e) === n && e.dataset.state === "entering" && (e.dataset.state = "shown");
131685
- }, i = z9(e, qvt);
131694
+ Kvt.get(e) === n && e.dataset.state === "entering" && (e.dataset.state = "shown");
131695
+ }, i = z9(e, Yvt);
131686
131696
  i.length === 0 ? r() : Promise.allSettled(i.map((e) => e.finished)).then(r);
131687
131697
  }
131688
- function Zvt(e) {
131689
- return e.dataset.state = "leaving", Jvt(z9(e, Gvt));
131698
+ function $vt(e) {
131699
+ return e.dataset.state = "leaving", Xvt(z9(e, qvt));
131690
131700
  }
131691
- function Qvt(e) {
131701
+ function eyt(e) {
131692
131702
  let t = e.classList.contains("wui-tour-layer") ? e : e.shadowRoot?.querySelector(".wui-tour-layer");
131693
131703
  t && (t.dataset.state = "leaving");
131694
- let n = t ? Jvt(z9(t, Gvt)) : null;
131704
+ let n = t ? Xvt(z9(t, qvt)) : null;
131695
131705
  n ? (e.setAttribute("inert", ""), n.then(() => e.remove())) : e.remove();
131696
131706
  }
131697
- var $vt = 2, B9 = 12, V9 = 8, eyt = 4, H9 = 20, tyt = "(max-width: 575.98px)", nyt = [
131707
+ var tyt = 2, B9 = 12, V9 = 8, nyt = 4, H9 = 20, ryt = "(max-width: 575.98px)", iyt = [
131698
131708
  "bottom",
131699
131709
  "top",
131700
131710
  "right",
131701
131711
  "left"
131702
- ], ryt = [
131712
+ ], ayt = [
131703
131713
  "top-left",
131704
131714
  "top-right",
131705
131715
  "bottom-right",
131706
131716
  "bottom-left"
131707
- ], iyt, U9 = (e, t, n) => Math.max(t, Math.min(e, n)), W9 = (e, t, n, r) => (Math.max(e, n) + Math.min(t, r)) / 2;
131708
- function ayt(e, t) {
131717
+ ], oyt, U9 = (e, t, n) => Math.max(t, Math.min(e, n)), W9 = (e, t, n, r) => (Math.max(e, n) + Math.min(t, r)) / 2;
131718
+ function syt(e, t) {
131709
131719
  if (!t?.scrollIntoView) return;
131710
131720
  e.style.maxHeight = "";
131711
- let n = dyt(e), r = e.offsetHeight + B9;
131721
+ let n = pyt(e), r = e.offsetHeight + B9;
131712
131722
  if (t.getBoundingClientRect().height + 4 + r * 2 <= n.bottom - n.top) {
131713
131723
  t.scrollIntoView({
131714
131724
  block: "center",
@@ -131717,41 +131727,41 @@ function ayt(e, t) {
131717
131727
  return;
131718
131728
  }
131719
131729
  let i = t.style.scrollMarginTop;
131720
- t.style.scrollMarginTop = `${n.top + r + $vt}px`, t.scrollIntoView({
131730
+ t.style.scrollMarginTop = `${n.top + r + tyt}px`, t.scrollIntoView({
131721
131731
  block: "start",
131722
131732
  inline: "nearest"
131723
131733
  }), t.style.scrollMarginTop = i;
131724
131734
  }
131725
- function oyt(e, t, n) {
131726
- let r = e.style, i = t.style, a = fyt(t);
131735
+ function cyt(e, t, n) {
131736
+ let r = e.style, i = t.style, a = myt(t);
131727
131737
  if (!n) {
131728
131738
  r.top = "50%", r.left = "50%", r.width = "0px", r.height = "0px", r.boxShadow = "0 0 0 100vmax var(--color-scrim-strong)";
131729
- for (let e of ryt) r.removeProperty(`border-${e}-radius`), r.removeProperty(`corner-${e}-shape`);
131739
+ for (let e of ayt) r.removeProperty(`border-${e}-radius`), r.removeProperty(`corner-${e}-shape`);
131730
131740
  t.dataset.placement = "center", a.hidden = !0, i.position = "fixed", i.top = "50%", i.left = "50%", i.transform = "translate(-50%, -50%)", i.maxHeight = "calc(100vh - 16px)";
131731
131741
  return;
131732
131742
  }
131733
131743
  r.boxShadow = "", i.transform = "", i.position = "fixed";
131734
131744
  let o = n.getBoundingClientRect();
131735
- r.top = `${o.top}px`, r.left = `${o.left}px`, r.width = `${o.width}px`, r.height = `${o.height}px`, syt(r, n);
131745
+ r.top = `${o.top}px`, r.left = `${o.left}px`, r.width = `${o.width}px`, r.height = `${o.height}px`, lyt(r, n);
131736
131746
  let s = t.scrollTop;
131737
131747
  i.maxHeight = "";
131738
131748
  let c = {
131739
131749
  width: t.offsetWidth,
131740
131750
  height: t.offsetHeight
131741
- }, l = dyt(t), u = l.bottom - l.top, d = {
131751
+ }, l = pyt(t), u = l.bottom - l.top, d = {
131742
131752
  bottom: l.bottom - o.bottom - B9,
131743
131753
  top: o.top - B9 - l.top,
131744
131754
  right: l.right - o.right - B9,
131745
131755
  left: o.left - B9 - l.left
131746
- }, f = window.matchMedia(tyt).matches, p = nyt.find((e) => e === "top" || e === "bottom" ? c.height <= d[e] + 1 : !f && c.width <= d[e] + 1 && c.height <= u + 1), m = Math.min(o.bottom, l.bottom + V9) - Math.max(o.top, l.top - V9);
131747
- p ? cyt(t, a, p, o, l, c) : m >= Math.min(c.height, u) + 8 ? lyt(t, a, o, l, c) : uyt(t, a, d.bottom >= d.top ? "bottom" : "top", o, l, c, d), t.scrollTop = s;
131756
+ }, f = window.matchMedia(ryt).matches, p = iyt.find((e) => e === "top" || e === "bottom" ? c.height <= d[e] + 1 : !f && c.width <= d[e] + 1 && c.height <= u + 1), m = Math.min(o.bottom, l.bottom + V9) - Math.max(o.top, l.top - V9);
131757
+ p ? uyt(t, a, p, o, l, c) : m >= Math.min(c.height, u) + 8 ? dyt(t, a, o, l, c) : fyt(t, a, d.bottom >= d.top ? "bottom" : "top", o, l, c, d), t.scrollTop = s;
131748
131758
  }
131749
- function syt(e, t) {
131750
- iyt ??= CSS.supports("corner-top-left-shape", "squircle");
131759
+ function lyt(e, t) {
131760
+ oyt ??= CSS.supports("corner-top-left-shape", "squircle");
131751
131761
  let n = getComputedStyle(t);
131752
- for (let t of ryt) e.setProperty(`border-${t}-radius`, n.getPropertyValue(`border-${t}-radius`)), iyt && e.setProperty(`corner-${t}-shape`, n.getPropertyValue(`corner-${t}-shape`));
131762
+ for (let t of ayt) e.setProperty(`border-${t}-radius`, n.getPropertyValue(`border-${t}-radius`)), oyt && e.setProperty(`corner-${t}-shape`, n.getPropertyValue(`corner-${t}-shape`));
131753
131763
  }
131754
- function cyt(e, t, n, r, i, a) {
131764
+ function uyt(e, t, n, r, i, a) {
131755
131765
  let o = n === "top" || n === "bottom", s, c, l;
131756
131766
  if (o) {
131757
131767
  let e = W9(r.left, r.right, i.left, i.right);
@@ -131762,19 +131772,19 @@ function cyt(e, t, n, r, i, a) {
131762
131772
  }
131763
131773
  e.dataset.placement = n, e.style.top = `${c}px`, e.style.left = `${s}px`, t.hidden = !1, t.style.left = o ? `${l - e.clientLeft - t.offsetWidth / 2}px` : "", t.style.top = o ? "" : `${l - e.clientTop - t.offsetHeight / 2}px`;
131764
131774
  }
131765
- function lyt(e, t, n, r, i) {
131775
+ function dyt(e, t, n, r, i) {
131766
131776
  let a = r.bottom - r.top;
131767
131777
  e.dataset.placement = "overlap", t.hidden = !0, e.style.maxHeight = i.height > a ? `${Math.max(a, 0)}px` : "";
131768
- let o = Math.min(n.bottom, r.bottom) - eyt;
131769
- e.style.top = `${Math.max(r.top, o - Math.min(i.height, a))}px`, e.style.left = `${U9(n.left + eyt, r.left, r.right - i.width)}px`;
131778
+ let o = Math.min(n.bottom, r.bottom) - nyt;
131779
+ e.style.top = `${Math.max(r.top, o - Math.min(i.height, a))}px`, e.style.left = `${U9(n.left + nyt, r.left, r.right - i.width)}px`;
131770
131780
  }
131771
- function uyt(e, t, n, r, i, a, o) {
131781
+ function fyt(e, t, n, r, i, a, o) {
131772
131782
  let s = Math.max(o[n], 0), c = Math.min(a.height, s);
131773
131783
  e.dataset.placement = n, t.hidden = !0, e.style.maxHeight = a.height > s ? `${s}px` : "", e.style.top = `${n === "bottom" ? r.bottom + B9 : r.top - B9 - c}px`;
131774
131784
  let l = W9(r.left, r.right, i.left, i.right);
131775
131785
  e.style.left = `${U9(l - a.width / 2, i.left, i.right - a.width)}px`;
131776
131786
  }
131777
- function dyt(e) {
131787
+ function pyt(e) {
131778
131788
  let t = e.parentElement, n = t ? getComputedStyle(t) : null, r = (e) => Number.parseFloat(n?.[e]) || 0;
131779
131789
  return {
131780
131790
  top: r("paddingTop") + V9,
@@ -131783,41 +131793,56 @@ function dyt(e) {
131783
131793
  right: window.innerWidth - r("paddingRight") - V9
131784
131794
  };
131785
131795
  }
131786
- function fyt(e) {
131796
+ function myt(e) {
131787
131797
  let t = e.querySelector(":scope > .wui-tour-arrow");
131788
131798
  return t || (t = document.createElement("span"), t.className = "wui-tour-arrow", t.setAttribute("aria-hidden", "true"), t.hidden = !0, e.append(t)), t;
131789
131799
  }
131790
- var pyt = 0;
131791
- function myt(e, t, n) {
131792
- let r = `wui-tour-end-${++pyt}`, i = e.createElement("div");
131793
- return i.className = "wui-tour-card wui-tour-end", i.dataset.layout = "center", i.setAttribute("role", "dialog"), n && i.setAttribute("aria-modal", "true"), i.tabIndex = -1, i.setAttribute("aria-labelledby", `${r}-title`), i.setAttribute("aria-describedby", `${r}-message`), i.innerHTML = ` <div class="wui-tour-end-mark" aria-hidden="true"><svg viewBox="0 0 24 24" focusable="false"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></div> <h2 class="wui-tour-title wui-tour-end-title" id="${r}-title"></h2> <p class="wui-tour-text wui-tour-end-message" id="${r}-message"></p> <div class="wui-tour-actions"><button type="button" class="${qG("primary", "sm")} wui-tour-end-button" data-wui="${KG}"></button></div>`, i.querySelector(".wui-tour-end-title").textContent = t.title, i.querySelector(".wui-tour-end-message").textContent = t.message, i.querySelector(".wui-tour-end-button").textContent = t.button, i;
131800
+ var hyt = 0, gyt = "btn btn-sm btn-link";
131801
+ function _yt(e, t, n) {
131802
+ let r = `wui-tour-end-${++hyt}`, i = !!(t.nextLabel && t.nextHref), a = e.createElement("div");
131803
+ if (a.className = "wui-tour-card wui-tour-end", a.dataset.layout = "center", i && (a.dataset.next = ""), a.setAttribute("role", "dialog"), n && a.setAttribute("aria-modal", "true"), a.tabIndex = -1, a.setAttribute("aria-labelledby", `${r}-title`), a.setAttribute("aria-describedby", `${r}-message`), a.innerHTML = ` <div class="wui-tour-end-mark" aria-hidden="true"><svg viewBox="0 0 24 24" focusable="false"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></div> <h2 class="wui-tour-title wui-tour-end-title" id="${r}-title"></h2> <p class="wui-tour-text wui-tour-end-message" id="${r}-message"></p> <div class="wui-tour-actions">${i ? `<a class="${qG("primary", "sm")} wui-tour-end-next" data-wui="AppButton"></a>` : ""}<button type="button" class="${i ? gyt : qG("primary", "sm")} wui-tour-end-button" data-wui="AppButton"></button></div>`, a.querySelector(".wui-tour-end-title").textContent = t.title, a.querySelector(".wui-tour-end-message").textContent = t.message, a.querySelector(".wui-tour-end-button").textContent = t.button, i) {
131804
+ let e = a.querySelector(".wui-tour-end-next");
131805
+ e.textContent = t.nextLabel, e.setAttribute("href", t.nextHref);
131806
+ }
131807
+ return a;
131794
131808
  }
131795
- function hyt(e, t, n) {
131796
- let r = e.ownerDocument, i = e.getRootNode() === r, a = e.querySelector(".wui-tour-card:not(.wui-tour-end)"), o = e.querySelector(".wui-tour-spot"), s = e.querySelector("[role=status]"), c = myt(r, t, i), l = c.querySelector(".wui-tour-end-button"), u = new AbortController();
131797
- return new Promise((d) => {
131798
- let f = () => {
131799
- u.abort(), d();
131809
+ var vyt = (e) => e.button === 0 && !e.ctrlKey && !e.metaKey && !e.shiftKey && !e.altKey;
131810
+ function yyt(e, t, n) {
131811
+ let r = e.ownerDocument, i = e.getRootNode() === r, a = e.querySelector(".wui-tour-card:not(.wui-tour-end)"), o = e.querySelector(".wui-tour-spot"), s = e.querySelector("[role=status]"), c = _yt(r, t, i), l = c.querySelector(".wui-tour-end-button"), u = c.querySelector(".wui-tour-end-next"), d = u ? [u, l] : [l], f = new AbortController();
131812
+ return new Promise((p) => {
131813
+ let m = (e) => {
131814
+ f.abort(), p(e);
131800
131815
  };
131801
131816
  if (n?.aborted) {
131802
- f();
131817
+ m("done");
131803
131818
  return;
131804
131819
  }
131805
- let p = { signal: u.signal };
131806
- n?.addEventListener("abort", f, p), l.addEventListener("click", f, p), r.addEventListener("keydown", (e) => {
131807
- e.altKey || e.ctrlKey || e.metaKey || (e.key === "Escape" ? (e.preventDefault(), e.stopPropagation(), f()) : e.key === "Tab" && i && (e.preventDefault(), l.focus()));
131820
+ let h = { signal: f.signal };
131821
+ n?.addEventListener("abort", () => m("done"), h), l.addEventListener("click", () => m("done"), h), u && u.addEventListener("click", (e) => {
131822
+ vyt(e) && (e.preventDefault(), m("next"));
131823
+ }, h), r.addEventListener("keydown", (e) => {
131824
+ if (!(e.altKey || e.ctrlKey || e.metaKey)) {
131825
+ if (e.key === "Escape") e.preventDefault(), e.stopPropagation(), m("done");
131826
+ else if (e.key === "Enter" && u && !e.shiftKey && (e.composedPath?.()[0] ?? e.target) === u) e.preventDefault(), m("next");
131827
+ else if (e.key === "Tab" && i) {
131828
+ e.preventDefault();
131829
+ let t = d.indexOf(r.activeElement), n = t === -1 ? e.shiftKey ? d.length - 1 : 0 : (t + (e.shiftKey ? -1 : 1) + d.length) % d.length;
131830
+ d[n].focus();
131831
+ }
131832
+ }
131808
131833
  }, {
131809
131834
  capture: !0,
131810
- signal: u.signal
131835
+ signal: f.signal
131811
131836
  }), i && r.addEventListener("focusin", (e) => {
131812
- c.contains(e.target) || l.focus();
131813
- }, p);
131814
- let m = () => {
131815
- u.signal.aborted || (a.hidden = !0, oyt(o, a, null), e.append(c), Xvt(c), s.textContent = [t.title, t.message].filter(Boolean).join(". "), l.focus());
131816
- }, h = Zvt(a);
131817
- h ? h.then(m) : m();
131837
+ c.contains(e.target) || d[0].focus();
131838
+ }, h);
131839
+ let g = () => {
131840
+ f.signal.aborted || (a.hidden = !0, cyt(o, a, null), e.append(c), Qvt(c), s.textContent = [t.title, t.message].filter(Boolean).join(". "), d[0].focus());
131841
+ }, _ = $vt(a);
131842
+ _ ? _.then(g) : g();
131818
131843
  });
131819
131844
  }
131820
- var gyt = ` :host { all: initial; ${Object.entries({
131845
+ var byt = ` :host { all: initial; ${Object.entries({
131821
131846
  "--wui-z-tour": "1550",
131822
131847
  "--wui-radius-sm": "8px",
131823
131848
  "--wui-radius-lg": "14px",
@@ -131843,54 +131868,54 @@ var gyt = ` :host { all: initial; ${Object.entries({
131843
131868
  "--color-text-muted": "#4B5675",
131844
131869
  "--color-border": "#EBEDF3",
131845
131870
  "--color-bg-muted": "#F5F6FA"
131846
- }).map(([e, t]) => ` ${e}: ${t};`).join(" ")} } *, *::before, *::after { box-sizing: border-box; } [hidden] { display: none !important; } .visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; } .btn { display: inline-block; margin: 0; padding: 0.25rem 0.5rem; border: 1px solid transparent; border-radius: 0.375rem; background: transparent; font: inherit; font-size: 0.875rem; font-weight: 500; line-height: 1.5; text-align: center; text-decoration: none; white-space: nowrap; cursor: pointer; } .btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; } .btn-primary { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-on-primary); } .btn-primary:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); } .btn-outline-neutral { border-color: var(--color-text-muted); color: var(--color-text-muted); } .btn-outline-neutral:hover { background: var(--color-bg-muted); color: var(--color-text); } .btn-link { font-weight: 400; color: var(--color-primary-text); text-decoration: underline; } .btn-link:hover { color: var(--color-primary-hover); } .wui-tour-layer { pointer-events: none; font-family: "Webority Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 16px; font-weight: 400; line-height: 1.5; color: var(--color-text); text-align: start; } .wui-tour-card { pointer-events: auto; } .wui-tour-layer { position: fixed; inset: 0; z-index: var(--wui-z-tour); } .wui-tour-spot { position: fixed; box-shadow: 0 0 0 2px var(--color-primary), 0 0 0 100vmax var(--color-scrim-strong); pointer-events: none; } .wui-tour-card { display: flex; flex-direction: column; gap: 8px; width: min(360px, 100vw - 16px); padding: 16px; overflow-y: auto; background: var(--color-surface); color: var(--color-text); border: 1px solid var(--color-border); border-radius: var(--wui-radius-lg); corner-shape: squircle; box-shadow: var(--wui-shadow-popover); } .wui-tour-card:focus { outline: none; } .wui-tour-card:focus-visible { outline: var(--wui-focus-ring-width) solid var(--color-focus-ring); outline-offset: var(--wui-focus-ring-offset); } .wui-tour-title { margin: 0; font-size: 16px; font-weight: 600; } .wui-tour-text { margin: 0; font-size: 14px; color: var(--color-text-muted); } .wui-tour-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; } .wui-tour-nav { display: flex; gap: 8px; } .wui-tour-skip { color: var(--color-text-muted); } .wui-tour-back, .wui-tour-next { min-width: 64px; } @keyframes wui-tour-fade-in { from { opacity: 0; } to { opacity: 1; } } @keyframes wui-tour-card-enter { from { opacity: 0; scale: 0.96; translate: var(--wui-tour-card-lift, 0 6px); } to { opacity: 1; scale: 1; translate: 0 0; } } .wui-tour-layer[data-state=leaving], .wui-tour-card[data-state=leaving] { opacity: 0; } .wui-tour-layer[data-state=leaving], .wui-tour-layer[data-state=leaving] * { pointer-events: none; } @media (prefers-reduced-motion: no-preference) { .wui-tour-layer { animation: wui-tour-fade-in var(--wui-tour-motion-duration) var(--wui-tour-motion-ease); } .wui-tour-layer[data-state=leaving] { transition: opacity var(--wui-tour-motion-duration) var(--wui-tour-motion-ease); } .wui-tour-spot { transition: top var(--wui-tour-spot-duration) var(--wui-tour-spot-ease), left var(--wui-tour-spot-duration) var(--wui-tour-spot-ease), width var(--wui-tour-spot-duration) var(--wui-tour-spot-ease), height var(--wui-tour-spot-duration) var(--wui-tour-spot-ease), border-radius var(--wui-tour-spot-duration) var(--wui-tour-spot-ease); } .wui-tour-spot[data-tracking] { transition: none; } .wui-tour-card { --wui-tour-card-lift: 0 6px; transform-origin: top center; } .wui-tour-card[data-placement=top] { --wui-tour-card-lift: 0 -6px; transform-origin: bottom center; } .wui-tour-card[data-placement=bottom] { --wui-tour-card-lift: 0 6px; transform-origin: top center; } .wui-tour-card[data-placement=left] { --wui-tour-card-lift: -6px 0; transform-origin: right center; } .wui-tour-card[data-placement=right] { --wui-tour-card-lift: 6px 0; transform-origin: left center; } .wui-tour-card[data-placement=overlap], .wui-tour-card[data-placement=center] { --wui-tour-card-lift: 0 0; transform-origin: center; } .wui-tour-card[data-state=entering] { animation: wui-tour-card-enter var(--wui-tour-motion-duration) var(--wui-tour-motion-ease) var(--wui-tour-card-delay, 0ms) both; } .wui-tour-card[data-state=leaving] { transition: opacity calc(var(--wui-tour-motion-duration) / 2) var(--wui-tour-motion-ease); } } @media (prefers-reduced-motion: reduce) { .wui-tour-layer { animation: wui-tour-fade-in 120ms linear; } .wui-tour-layer[data-state=leaving] { transition: opacity 120ms linear; } .wui-tour-card[data-state=entering] { animation: wui-tour-fade-in 120ms linear both; } } .wui-tour-progress-bar { display: flex; gap: 4px; } .wui-tour-progress-segment { flex: 1 1 0; height: 4px; border-radius: 999px; background: var(--color-border); } .wui-tour-progress-segment[data-filled] { background: var(--color-primary); } .wui-tour-position { margin: 0; font-size: 12px; color: var(--color-text-muted); } .wui-tour-layer { padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); } .wui-tour-card:has(.wui-tour-arrow:not([hidden])) { overflow: visible; } .wui-tour-arrow { position: absolute; width: 8px; height: 8px; background: var(--color-surface); border: 1px solid var(--color-border); rotate: 45deg; pointer-events: none; } .wui-tour-card[data-placement=bottom] .wui-tour-arrow { top: -5px; border-right-color: rgba(0, 0, 0, 0); border-bottom-color: rgba(0, 0, 0, 0); } .wui-tour-card[data-placement=top] .wui-tour-arrow { bottom: -5px; border-top-color: rgba(0, 0, 0, 0); border-left-color: rgba(0, 0, 0, 0); } .wui-tour-card[data-placement=right] .wui-tour-arrow { left: -5px; border-top-color: rgba(0, 0, 0, 0); border-right-color: rgba(0, 0, 0, 0); } .wui-tour-card[data-placement=left] .wui-tour-arrow { right: -5px; border-bottom-color: rgba(0, 0, 0, 0); border-left-color: rgba(0, 0, 0, 0); } @media (max-width: 575.98px) { .wui-tour-card { width: calc(100vw - 16px); } .wui-tour-actions .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; } } .wui-tour-media { position: relative; order: -1; flex: none; aspect-ratio: 16/9; margin: -16px -16px 4px; overflow: hidden; background: var(--color-border); } .wui-tour-media>img, .wui-tour-media>video { display: block; width: 100%; height: 100%; object-fit: cover; } .wui-tour-card[data-media=welcome] { width: min(420px, 100vw - 16px); } .wui-tour-media-toggle { position: absolute; inset-block-end: 8px; inset-inline-end: 8px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--color-scrim-strong); color: var(--color-on-scrim); cursor: pointer; } .wui-tour-media-toggle>svg { width: 20px; height: 20px; fill: currentColor; } .wui-tour-media-toggle:focus-visible { outline: 2px solid var(--color-on-scrim); outline-offset: 2px; } .wui-tour-layer[data-advance] { pointer-events: none; } .wui-tour-layer[data-advance]:not([data-state=leaving]) .wui-tour-card { pointer-events: auto; } .wui-tour-layer[data-advance]:not([data-state=leaving]) .wui-tour-spot::before { content: ""; position: absolute; inset: -100vmax; pointer-events: auto; clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0, 100vmax 100vmax, calc(100% - 100vmax) 100vmax, calc(100% - 100vmax) calc(100% - 100vmax), 100vmax calc(100% - 100vmax), 100vmax 100vmax); } .wui-tour-hint { margin: 0; font-size: 14px; font-weight: 600; color: var(--color-text); } @keyframes wui-tour-pulse { from { box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 85%, transparent); } to { box-shadow: 0 0 0 14px color-mix(in srgb, var(--color-primary) 0%, transparent); } } @media (prefers-reduced-motion: no-preference) { .wui-tour-spot[data-advance]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; corner-shape: inherit; pointer-events: none; animation: wui-tour-pulse 600ms var(--wui-ease-out) var(--wui-tour-spot-duration); } } @keyframes wui-tour-check { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } } .wui-tour-end[data-layout=center] { --wui-tour-card-lift: 0 0; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); transform-origin: center; align-items: center; gap: 8px; width: min(420px, 100vw - 16px); max-height: calc(100vh - 16px); padding: 24px; text-align: center; } .wui-tour-end[data-layout=center] .wui-tour-actions { justify-content: center; margin-top: 8px; } .wui-tour-end-mark { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--color-success-soft); color: var(--color-success-text); } .wui-tour-end-mark>svg { width: 26px; height: 26px; } .wui-tour-end-mark path { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; } .wui-tour-end-title { font-size: 18px; } .wui-tour-end-message { text-wrap: balance; } .wui-tour-end-button { min-width: 120px; } @media (prefers-reduced-motion: no-preference) { .wui-tour-end-mark path { animation: wui-tour-check 300ms var(--wui-ease-out) calc(var(--wui-tour-card-delay, 0ms) + 120ms) both; } } `, _yt = "wui-tour-media", vyt = "wui-tour-media-toggle", yyt = "http://www.w3.org/2000/svg", byt = "M6 5h4v14H6zM14 5h4v14h-4z", xyt = "M8 5v14l11-7z", Syt = {
131871
+ }).map(([e, t]) => ` ${e}: ${t};`).join(" ")} } *, *::before, *::after { box-sizing: border-box; } [hidden] { display: none !important; } .visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; } .btn { display: inline-block; margin: 0; padding: 0.25rem 0.5rem; border: 1px solid transparent; border-radius: 0.375rem; background: transparent; font: inherit; font-size: 0.875rem; font-weight: 500; line-height: 1.5; text-align: center; text-decoration: none; white-space: nowrap; cursor: pointer; } .btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; } .btn-primary { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-on-primary); } .btn-primary:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); } .btn-outline-neutral { border-color: var(--color-text-muted); color: var(--color-text-muted); } .btn-outline-neutral:hover { background: var(--color-bg-muted); color: var(--color-text); } .btn-link { font-weight: 400; color: var(--color-primary-text); text-decoration: underline; } .btn-link:hover { color: var(--color-primary-hover); } .wui-tour-layer { pointer-events: none; font-family: "Webority Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 16px; font-weight: 400; line-height: 1.5; color: var(--color-text); text-align: start; } .wui-tour-card { pointer-events: auto; } .wui-tour-layer { position: fixed; inset: 0; z-index: var(--wui-z-tour); } .wui-tour-spot { position: fixed; box-shadow: 0 0 0 2px var(--color-primary), 0 0 4px 2px color-mix(in srgb, var(--color-primary) 30%, transparent), 0 0 0 100vmax var(--color-scrim-strong); pointer-events: none; } .wui-tour-card { display: flex; flex-direction: column; gap: 8px; width: min(360px, 100vw - 16px); padding: 16px; overflow-y: auto; background: var(--color-surface); color: var(--color-text); border: 1px solid var(--color-border); border-radius: var(--wui-radius-lg); corner-shape: squircle; box-shadow: var(--wui-shadow-popover); } .wui-tour-card:focus { outline: none; } .wui-tour-card:focus-visible { outline: var(--wui-focus-ring-width) solid var(--color-focus-ring); outline-offset: var(--wui-focus-ring-offset); } .wui-tour-title { margin: 0; font-size: 16px; font-weight: 600; } .wui-tour-text { margin: 0; font-size: 14px; color: var(--color-text-muted); } .wui-tour-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; } .wui-tour-nav { display: flex; gap: 8px; } .wui-tour-skip { color: var(--color-text-muted); } .wui-tour-back, .wui-tour-next { min-width: 64px; } @keyframes wui-tour-fade-in { from { opacity: 0; } to { opacity: 1; } } @keyframes wui-tour-card-enter { from { opacity: 0; scale: 0.96; translate: var(--wui-tour-card-lift, 0 6px); } to { opacity: 1; scale: 1; translate: 0 0; } } .wui-tour-layer[data-state=leaving], .wui-tour-card[data-state=leaving] { opacity: 0; } .wui-tour-layer[data-state=leaving], .wui-tour-layer[data-state=leaving] * { pointer-events: none; } @media (prefers-reduced-motion: no-preference) { .wui-tour-layer { animation: wui-tour-fade-in var(--wui-tour-motion-duration) var(--wui-tour-motion-ease); } .wui-tour-layer[data-state=leaving] { transition: opacity var(--wui-tour-motion-duration) var(--wui-tour-motion-ease); } .wui-tour-spot { transition: top var(--wui-tour-spot-duration) var(--wui-tour-spot-ease), left var(--wui-tour-spot-duration) var(--wui-tour-spot-ease), width var(--wui-tour-spot-duration) var(--wui-tour-spot-ease), height var(--wui-tour-spot-duration) var(--wui-tour-spot-ease), border-radius var(--wui-tour-spot-duration) var(--wui-tour-spot-ease); } .wui-tour-spot[data-tracking] { transition: none; } .wui-tour-card { --wui-tour-card-lift: 0 6px; transform-origin: top center; } .wui-tour-card[data-placement=top] { --wui-tour-card-lift: 0 -6px; transform-origin: bottom center; } .wui-tour-card[data-placement=bottom] { --wui-tour-card-lift: 0 6px; transform-origin: top center; } .wui-tour-card[data-placement=left] { --wui-tour-card-lift: -6px 0; transform-origin: right center; } .wui-tour-card[data-placement=right] { --wui-tour-card-lift: 6px 0; transform-origin: left center; } .wui-tour-card[data-placement=overlap], .wui-tour-card[data-placement=center] { --wui-tour-card-lift: 0 0; transform-origin: center; } .wui-tour-card[data-state=entering] { animation: wui-tour-card-enter var(--wui-tour-motion-duration) var(--wui-tour-motion-ease) var(--wui-tour-card-delay, 0ms) both; } .wui-tour-card[data-state=leaving] { transition: opacity calc(var(--wui-tour-motion-duration) / 2) var(--wui-tour-motion-ease); } } @media (prefers-reduced-motion: reduce) { .wui-tour-layer { animation: wui-tour-fade-in 120ms linear; } .wui-tour-layer[data-state=leaving] { transition: opacity 120ms linear; } .wui-tour-card[data-state=entering] { animation: wui-tour-fade-in 120ms linear both; } } .wui-tour-progress-bar { display: flex; gap: 4px; } .wui-tour-progress-segment { flex: 1 1 0; height: 4px; border-radius: 999px; background: var(--color-border); } .wui-tour-progress-segment[data-filled] { background: var(--color-primary); } .wui-tour-position { margin: 0; font-size: 12px; color: var(--color-text-muted); } .wui-tour-layer { padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); } .wui-tour-card:has(.wui-tour-arrow:not([hidden])) { overflow: visible; } .wui-tour-arrow { position: absolute; width: 8px; height: 8px; background: var(--color-surface); border: 1px solid var(--color-border); rotate: 45deg; pointer-events: none; } .wui-tour-card[data-placement=bottom] .wui-tour-arrow { top: -5px; border-right-color: rgba(0, 0, 0, 0); border-bottom-color: rgba(0, 0, 0, 0); } .wui-tour-card[data-placement=top] .wui-tour-arrow { bottom: -5px; border-top-color: rgba(0, 0, 0, 0); border-left-color: rgba(0, 0, 0, 0); } .wui-tour-card[data-placement=right] .wui-tour-arrow { left: -5px; border-top-color: rgba(0, 0, 0, 0); border-right-color: rgba(0, 0, 0, 0); } .wui-tour-card[data-placement=left] .wui-tour-arrow { right: -5px; border-bottom-color: rgba(0, 0, 0, 0); border-left-color: rgba(0, 0, 0, 0); } @media (max-width: 575.98px) { .wui-tour-card { width: calc(100vw - 16px); } .wui-tour-actions .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; } } .wui-tour-media { position: relative; order: -1; flex: none; aspect-ratio: 16/9; margin: -16px -16px 4px; overflow: hidden; background: var(--color-border); } .wui-tour-media>img, .wui-tour-media>video { display: block; width: 100%; height: 100%; object-fit: cover; } .wui-tour-card[data-welcome] { width: min(420px, 100vw - 16px); } .wui-tour-media-toggle { position: absolute; inset-block-end: 8px; inset-inline-end: 8px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--color-scrim-strong); color: var(--color-on-scrim); cursor: pointer; } .wui-tour-media-toggle>svg { width: 20px; height: 20px; fill: currentColor; } .wui-tour-media-toggle:focus-visible { outline: 2px solid var(--color-on-scrim); outline-offset: 2px; } .wui-tour-layer[data-advance] { pointer-events: none; } .wui-tour-layer[data-advance]:not([data-state=leaving]) .wui-tour-card { pointer-events: auto; } .wui-tour-layer[data-advance]:not([data-state=leaving]) .wui-tour-spot::before { content: ""; position: absolute; inset: -100vmax; pointer-events: auto; clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0, 100vmax 100vmax, calc(100% - 100vmax) 100vmax, calc(100% - 100vmax) calc(100% - 100vmax), 100vmax calc(100% - 100vmax), 100vmax 100vmax); } .wui-tour-hint { margin: 0; font-size: 14px; font-weight: 600; color: var(--color-text); } .wui-tour-pointer { position: absolute; top: 50%; left: 50%; width: 18px; height: 24px; pointer-events: none; } .wui-tour-pointer::before { content: ""; position: absolute; inset: 0; background: var(--color-primary); clip-path: polygon(0 0, 0 75%, 28% 58%, 46% 100%, 62% 92%, 45% 52%, 85% 52%); filter: drop-shadow(1px 0 0 var(--color-surface)) drop-shadow(-1px 0 0 var(--color-surface)) drop-shadow(0 1px 0 var(--color-surface)) drop-shadow(0 -1px 0 var(--color-surface)); } .wui-tour-pointer::after { content: ""; position: absolute; top: -16px; left: -16px; width: 32px; height: 32px; border-radius: 50%; background: var(--color-primary); opacity: 0; display: none; } @media (max-width: 575.98px) { .wui-tour-pointer { width: 24px; height: 24px; translate: -50% -50%; } .wui-tour-pointer::before { clip-path: none; border-radius: 50%; box-shadow: 0 0 0 2px var(--color-surface); filter: none; } .wui-tour-pointer::after { top: -4px; left: -4px; } } @keyframes wui-tour-tap { 0% { opacity: 0; transform: translate(56px, 44px) scale(1); } 10% { opacity: 1; transform: translate(56px, 44px) scale(1); } 45% { transform: translate(0, 0) scale(1); } 52% { transform: translate(0, 0) scale(0.86); } 60% { transform: translate(0, 0) scale(1); } 85% { opacity: 1; transform: translate(0, 0) scale(1); } 100% { opacity: 0; transform: translate(0, 0) scale(1); } } @keyframes wui-tour-ripple { 0%, 50% { opacity: 0; transform: scale(0.2); } 52% { opacity: 0.35; transform: scale(0.2); } 80%, 100% { opacity: 0; transform: scale(1); } } @media (prefers-reduced-motion: no-preference) { .wui-tour-pointer { opacity: 0; animation: wui-tour-tap calc(var(--wui-duration-slow) * 6) var(--wui-ease-out) var(--wui-tour-spot-duration) infinite; } .wui-tour-pointer::after { display: block; animation: wui-tour-ripple calc(var(--wui-duration-slow) * 6) var(--wui-ease-out) var(--wui-tour-spot-duration) infinite; } } @keyframes wui-tour-check { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } } .wui-tour-end[data-layout=center] { --wui-tour-card-lift: 0 0; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); transform-origin: center; align-items: center; gap: 8px; width: min(420px, 100vw - 16px); max-height: calc(100vh - 16px); padding: 24px; text-align: center; } .wui-tour-end[data-layout=center] .wui-tour-actions { justify-content: center; margin-top: 8px; } .wui-tour-end[data-layout=center][data-next] .wui-tour-actions { flex-direction: column; align-items: stretch; width: 100%; gap: var(--wui-space-xs); } .wui-tour-end-mark { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--color-success-soft); color: var(--color-success-text); } .wui-tour-end-mark>svg { width: 26px; height: 26px; } .wui-tour-end-mark path { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; } .wui-tour-end-title { font-size: 18px; } .wui-tour-end-message { text-wrap: balance; } .wui-tour-end-next { text-wrap: balance; } .wui-tour-end-button { min-width: 120px; } @media (prefers-reduced-motion: no-preference) { .wui-tour-end-mark path { animation: wui-tour-check 300ms var(--wui-ease-out) calc(var(--wui-tour-card-delay, 0ms) + 120ms) both; } } `, xyt = "wui-tour-media", Syt = "wui-tour-media-toggle", Cyt = "http://www.w3.org/2000/svg", wyt = "M6 5h4v14H6zM14 5h4v14h-4z", Tyt = "M8 5v14l11-7z", Eyt = {
131847
131872
  pause: "Pause animation",
131848
131873
  play: "Play animation"
131849
- }, Cyt = () => globalThis.matchMedia?.("(prefers-reduced-motion: reduce)")?.matches === !0;
131850
- function wyt(e) {
131851
- let t = document.createElementNS(yyt, "svg");
131874
+ }, Dyt = () => globalThis.matchMedia?.("(prefers-reduced-motion: reduce)")?.matches === !0;
131875
+ function Oyt(e) {
131876
+ let t = document.createElementNS(Cyt, "svg");
131852
131877
  t.setAttribute("viewBox", "0 0 24 24"), t.setAttribute("aria-hidden", "true"), t.setAttribute("focusable", "false");
131853
- let n = document.createElementNS(yyt, "path");
131878
+ let n = document.createElementNS(Cyt, "path");
131854
131879
  return n.setAttribute("d", e), t.appendChild(n), t;
131855
131880
  }
131856
- function Tyt(e) {
131881
+ function kyt(e) {
131857
131882
  let t = document.createElement("img");
131858
131883
  return t.setAttribute("alt", e.mediaAlt ?? ""), t.setAttribute("width", "1280"), t.setAttribute("height", "720"), t.setAttribute("loading", "lazy"), t.setAttribute("decoding", "async"), t.setAttribute("src", e.media), t;
131859
131884
  }
131860
- function Eyt(e, t) {
131885
+ function Ayt(e, t) {
131861
131886
  let n = document.createElement("video");
131862
131887
  return n.muted = !0, n.setAttribute("muted", ""), n.loop = !0, n.setAttribute("playsinline", ""), t && n.setAttribute("autoplay", ""), n.setAttribute("preload", t ? "auto" : "metadata"), e.mediaAlt && n.setAttribute("aria-label", e.mediaAlt), e.mediaPoster && n.setAttribute("poster", e.mediaPoster), n.setAttribute("src", e.media), n;
131863
131888
  }
131864
- function Dyt(e, t) {
131889
+ function jyt(e, t) {
131865
131890
  let n = document.createElement("button");
131866
- n.type = "button", n.className = vyt;
131891
+ n.type = "button", n.className = Syt;
131867
131892
  let r = (r = !e.paused) => {
131868
- n.setAttribute("aria-label", r ? t.pause : t.play), n.replaceChildren(wyt(r ? byt : xyt));
131893
+ n.setAttribute("aria-label", r ? t.pause : t.play), n.replaceChildren(Oyt(r ? wyt : Tyt));
131869
131894
  };
131870
131895
  return e.addEventListener("play", () => r()), e.addEventListener("pause", () => r()), n.addEventListener("click", () => {
131871
131896
  e.paused ? e.play()?.catch(() => r()) : e.pause();
131872
131897
  }), r(e.hasAttribute("autoplay")), n;
131873
131898
  }
131874
- function Oyt(e) {
131875
- let t = e.querySelector(`:scope > .${_yt}`);
131899
+ function Myt(e) {
131900
+ let t = e.querySelector(`:scope > .${xyt}`);
131876
131901
  if (!t) return;
131877
131902
  let n = t.querySelector("video");
131878
131903
  n && (n.pause(), n.removeAttribute("src"), n.load()), t.remove();
131879
131904
  }
131880
- function kyt(e, t, n = Syt) {
131881
- if (Oyt(e), !t.media) {
131905
+ function Nyt(e, t, n = Eyt) {
131906
+ if (Myt(e), !t.media) {
131882
131907
  e.removeAttribute("data-media");
131883
131908
  return;
131884
131909
  }
131885
131910
  let r = document.createElement("div");
131886
- if (r.className = _yt, t.mediaType === "video") {
131887
- let e = Eyt(t, !Cyt());
131888
- r.append(e, Dyt(e, n));
131889
- } else r.appendChild(Tyt(t));
131911
+ if (r.className = xyt, t.mediaType === "video") {
131912
+ let e = Ayt(t, !Dyt());
131913
+ r.append(e, jyt(e, n));
131914
+ } else r.appendChild(kyt(t));
131890
131915
  e.prepend(r), e.setAttribute("data-media", t.target ? "step" : "welcome");
131891
131916
  }
131892
- var Ayt = "Step {current} of {total}";
131893
- function jyt(e) {
131917
+ var Pyt = "Step {current} of {total}";
131918
+ function Fyt(e) {
131894
131919
  let t = /* @__PURE__ */ new Set();
131895
131920
  return {
131896
131921
  drop: (e) => {
@@ -131905,10 +131930,10 @@ function jyt(e) {
131905
131930
  total: () => e - t.size
131906
131931
  };
131907
131932
  }
131908
- function Myt(e, t, n) {
131909
- return (e.getAttribute("progress-label") || Ayt).replace(/\{(current|total)\}/g, (e, r) => String(r === "current" ? t : n));
131933
+ function Iyt(e, t, n) {
131934
+ return (e.getAttribute("progress-label") || Pyt).replace(/\{(current|total)\}/g, (e, r) => String(r === "current" ? t : n));
131910
131935
  }
131911
- function Nyt(e, { text: t, position: n, total: r }) {
131936
+ function Lyt(e, { text: t, position: n, total: r }) {
131912
131937
  let i = e.querySelector(".wui-tour-position");
131913
131938
  i.textContent = t;
131914
131939
  let a = e.querySelector(".wui-tour-progress-bar");
@@ -131924,7 +131949,7 @@ function Nyt(e, { text: t, position: n, total: r }) {
131924
131949
  for (; o.length > r;) a.lastElementChild.remove();
131925
131950
  for (let e = 0; e < o.length; e++) o[e].toggleAttribute("data-filled", e < n);
131926
131951
  }
131927
- var Pyt = "wui-tour-step", Fyt = "wui-tour-host", Iyt = "wui-tour-seen:", G9 = "data-tracking", Lyt = {
131952
+ var Ryt = "wui-tour-step", zyt = "wui-tour-host", Byt = "wui-tour-seen:", G9 = "data-tracking", Vyt = {
131928
131953
  back: "Back",
131929
131954
  next: "Next",
131930
131955
  skip: "Skip",
@@ -131934,7 +131959,7 @@ var Pyt = "wui-tour-step", Fyt = "wui-tour-host", Iyt = "wui-tour-seen:", G9 = "
131934
131959
  endTitle: "You're all set",
131935
131960
  endMessage: "You know your way around now. Enjoy exploring.",
131936
131961
  endButton: "Done"
131937
- }, Ryt = {
131962
+ }, Hyt = {
131938
131963
  back: "back-label",
131939
131964
  next: "next-label",
131940
131965
  skip: "skip-label",
@@ -131944,19 +131969,19 @@ var Pyt = "wui-tour-step", Fyt = "wui-tour-host", Iyt = "wui-tour-seen:", G9 = "
131944
131969
  endTitle: "end-title",
131945
131970
  endMessage: "end-message",
131946
131971
  endButton: "end-button"
131947
- }, zyt = [
131972
+ }, Uyt = [
131948
131973
  ["media", "media"],
131949
131974
  ["mediaAlt", "media-alt"],
131950
131975
  ["mediaPoster", "media-poster"],
131951
131976
  ["mediaType", "media-type"],
131952
131977
  ["advanceOn", "advance-on"],
131953
131978
  ["actionLabel", "action-label"]
131954
- ], Byt = {
131979
+ ], Wyt = {
131955
131980
  index: null,
131956
131981
  position: null,
131957
131982
  total: null
131958
- }, Vyt = 0;
131959
- function Hyt(e = Iyt, t = globalThis.localStorage) {
131983
+ }, Gyt = 0;
131984
+ function Kyt(e = Byt, t = globalThis.localStorage) {
131960
131985
  return {
131961
131986
  isSeen: async (n) => t.getItem(e + n) === "1",
131962
131987
  markSeen: async (n) => {
@@ -131964,13 +131989,13 @@ function Hyt(e = Iyt, t = globalThis.localStorage) {
131964
131989
  }
131965
131990
  };
131966
131991
  }
131967
- var Uyt = (e) => !e?.isConnected || getComputedStyle(e).visibility === "hidden" ? !1 : e.getClientRects().length > 0, Wyt = (e) => !!e && (e.isContentEditable || /^(INPUT|TEXTAREA|SELECT)$/.test(e.tagName)), Gyt = () => {
131992
+ var qyt = (e) => !e?.isConnected || getComputedStyle(e).visibility === "hidden" ? !1 : e.getClientRects().length > 0, Jyt = (e) => !!e && (e.isContentEditable || /^(INPUT|TEXTAREA|SELECT)$/.test(e.tagName)), Yyt = () => {
131968
131993
  let e = document.activeElement;
131969
131994
  for (; e?.shadowRoot?.activeElement;) e = e.shadowRoot.activeElement;
131970
131995
  return e;
131971
131996
  }, K9 = null;
131972
- function Kyt(e) {
131973
- K9 || (K9 = new CSSStyleSheet(), K9.replaceSync(gyt)), e.adoptedStyleSheets = [K9];
131997
+ function Xyt(e) {
131998
+ K9 || (K9 = new CSSStyleSheet(), K9.replaceSync(byt)), e.adoptedStyleSheets = [K9];
131974
131999
  }
131975
132000
  // ../elements/dist/elements/tour.js
131976
132001
  uc("wui-tour", class extends dc {
@@ -132002,27 +132027,31 @@ uc("wui-tour", class extends dc {
132002
132027
  this.toggleAttribute("isolated", e === !0 || e === "" || e === "true");
132003
132028
  }
132004
132029
  _stepList() {
132005
- return Array.from(this.querySelectorAll(`:scope > ${Pyt}`), (e) => {
132030
+ return Array.from(this.querySelectorAll(`:scope > ${Ryt}`), (e) => {
132006
132031
  let t = {
132007
132032
  target: e.getAttribute("target") || "",
132008
132033
  title: e.getAttribute("title") || void 0,
132009
132034
  description: e.textContent.trim()
132010
132035
  };
132011
- for (let [n, r] of zyt) e.hasAttribute(r) && (t[n] = e.getAttribute(r));
132036
+ for (let [n, r] of Uyt) e.hasAttribute(r) && (t[n] = e.getAttribute(r));
132012
132037
  return t;
132013
132038
  });
132014
132039
  }
132015
132040
  _store() {
132016
- return this.seenStore ? this.seenStore : this.getAttribute("seen-store") === "local" ? Hyt() : globalThis.window?.WUI?.tour?.seenStore || null;
132041
+ return this.seenStore ? this.seenStore : this.getAttribute("seen-store") === "local" ? Kyt() : globalThis.window?.WUI?.tour?.seenStore || null;
132017
132042
  }
132018
132043
  _label(e) {
132019
- return this.getAttribute(Ryt[e]) || Lyt[e];
132044
+ return this.getAttribute(Hyt[e]) || Vyt[e];
132020
132045
  }
132021
132046
  _endDialogText() {
132022
- return this.getAttribute("end-dialog") === "false" ? null : {
132047
+ if (this.getAttribute("end-dialog") === "false") return null;
132048
+ let e = (this.getAttribute("end-next-label") ?? "").trim(), t = (this.getAttribute("end-next-href") ?? "").trim();
132049
+ return {
132023
132050
  title: this._label("endTitle"),
132024
132051
  message: this._label("endMessage"),
132025
- button: this._label("endButton")
132052
+ button: this._label("endButton"),
132053
+ nextLabel: e,
132054
+ nextHref: t
132026
132055
  };
132027
132056
  }
132028
132057
  _markSeen(e) {
@@ -132041,14 +132070,14 @@ uc("wui-tour", class extends dc {
132041
132070
  }
132042
132071
  }
132043
132072
  async _start(e) {
132044
- this._steps = this._stepList(), this._progress = jyt(this._steps.length);
132073
+ this._steps = this._stepList(), this._progress = Fyt(this._steps.length);
132045
132074
  let t = this._store();
132046
132075
  if (t && !this.tourId) throw Error("<wui-tour> needs a tour-id to use a seen store.");
132047
132076
  if (t && await t.isSeen(this.tourId)) {
132048
132077
  e === this._run && this._finish("alreadySeen");
132049
132078
  return;
132050
132079
  }
132051
- for (let [e, t] of this._steps.entries()) t.target && !Uyt(document.querySelector(t.target)) && this._progress.drop(e);
132080
+ for (let [e, t] of this._steps.entries()) t.target && !qyt(document.querySelector(t.target)) && this._progress.drop(e);
132052
132081
  this._returnFocus = document.activeElement;
132053
132082
  let n = await this._locate(0, 1, e);
132054
132083
  e === this._run && (n ? (this._firstIndex = n.index, this.dispatchEvent(new CustomEvent("wui-tour:start", {
@@ -132081,7 +132110,7 @@ uc("wui-tour", class extends dc {
132081
132110
  target: null
132082
132111
  };
132083
132112
  let t = document.querySelector(e.target);
132084
- if (Uyt(t)) return this._progress.position(i), {
132113
+ if (qyt(t)) return this._progress.position(i), {
132085
132114
  index: i,
132086
132115
  target: t
132087
132116
  };
@@ -132101,13 +132130,13 @@ uc("wui-tour", class extends dc {
132101
132130
  })), await Promise.all(n), typeof this.onBeforeStep == "function" && await this.onBeforeStep(e, t);
132102
132131
  }
132103
132132
  _build() {
132104
- let e = `wui-tour-${++Vyt}`, t = document.createElement("div");
132133
+ let e = `wui-tour-${++Gyt}`, t = document.createElement("div");
132105
132134
  t.className = "wui-tour-layer", t.innerHTML = ` <div class="wui-tour-spot" aria-hidden="true"></div> <div class="wui-tour-card" role="dialog" aria-modal="true" tabindex="-1" aria-labelledby="${e}-title" aria-describedby="${e}-text"> <p class="wui-tour-position"></p> <h2 class="wui-tour-title" id="${e}-title"></h2> <p class="wui-tour-text" id="${e}-text"></p> <div class="wui-tour-actions"> <button type="button" class="btn btn-sm btn-link wui-tour-skip"></button> <div class="wui-tour-nav"> <button type="button" class="${qG("outline-secondary", "sm")} wui-tour-back" data-wui="${KG}"></button> <button type="button" class="${qG("primary", "sm")} wui-tour-next" data-wui="${KG}"></button> </div> </div> </div> <div class="visually-hidden" role="status" aria-live="polite"></div>`;
132106
132135
  let n = t;
132107
- this._shadow = null, this.isolated && (n = document.createElement(Fyt), this._shadow = n.attachShadow({ mode: "open" }), Kyt(this._shadow), this._shadow.appendChild(t)), document.body.appendChild(n), document.documentElement.setAttribute(yK, ""), this._outer = n, this._layer = t, this._spot = t.querySelector(".wui-tour-spot"), this._card = t.querySelector(".wui-tour-card"), this._live = t.querySelector("[role=status]"), this._card.querySelector(".wui-tour-skip").addEventListener("click", () => this._close("skipped", "button")), this._card.querySelector(".wui-tour-back").addEventListener("click", () => this._move(-1)), this._card.querySelector(".wui-tour-next").addEventListener("click", () => this._move(1)), this._shadow && this._card.removeAttribute("aria-modal"), this._onKey = (e) => this._key(e), this._onFocusIn = (e) => {
132136
+ this._shadow = null, this.isolated && (n = document.createElement(zyt), this._shadow = n.attachShadow({ mode: "open" }), Xyt(this._shadow), this._shadow.appendChild(t)), document.body.appendChild(n), document.documentElement.setAttribute(yK, ""), this._outer = n, this._layer = t, this._spot = t.querySelector(".wui-tour-spot"), this._card = t.querySelector(".wui-tour-card"), this._live = t.querySelector("[role=status]"), this._card.querySelector(".wui-tour-skip").addEventListener("click", () => this._close("skipped", "button")), this._card.querySelector(".wui-tour-back").addEventListener("click", () => this._move(-1)), this._card.querySelector(".wui-tour-next").addEventListener("click", () => this._move(1)), this._shadow && this._card.removeAttribute("aria-modal"), this._onKey = (e) => this._key(e), this._onFocusIn = (e) => {
132108
132137
  if (!this._layer || this._ending) return;
132109
132138
  let t = this._current, n = t ? this._steps[t.index] : null;
132110
- zvt(this._layer, n, t?.target ?? null, e.target) || this._card.focus();
132139
+ Vvt(this._layer, n, t?.target ?? null, e.target) || this._card.focus();
132111
132140
  }, document.addEventListener("keydown", this._onKey, !0), this._shadow || document.addEventListener("focusin", this._onFocusIn), pc(n, () => this._follow());
132112
132141
  }
132113
132142
  _active() {
@@ -132115,16 +132144,16 @@ uc("wui-tour", class extends dc {
132115
132144
  }
132116
132145
  _show(e) {
132117
132146
  this._current = e;
132118
- let { index: t, target: n } = e, r = this._steps[t], i = this._card, a = this._progress.position(t), o = this._progress.total(), s = a === o && !this._endDialogText(), c = Myt(this, a, o);
132119
- Nyt(i, {
132147
+ let { index: t, target: n } = e, r = this._steps[t], i = this._card, a = this._progress.position(t), o = this._progress.total(), s = a === o && !this._endDialogText(), c = Iyt(this, a, o);
132148
+ Lyt(i, {
132120
132149
  text: c,
132121
132150
  position: a,
132122
132151
  total: o
132123
- }), kyt(i, r, {
132152
+ }), Nyt(i, r, {
132124
132153
  pause: this._label("mediaPause"),
132125
132154
  play: this._label("mediaPlay")
132126
- });
132127
- let l = Lvt(this, {
132155
+ }), i.toggleAttribute("data-welcome", !n);
132156
+ let l = zvt(this, {
132128
132157
  layer: this._layer,
132129
132158
  spot: this._spot,
132130
132159
  card: i
@@ -132135,9 +132164,9 @@ uc("wui-tour", class extends dc {
132135
132164
  r.title,
132136
132165
  r.description
132137
132166
  ].filter(Boolean).join(". ");
132138
- this._live.textContent = l ? [d, l].join(/[.!?]$/.test(d) ? " " : ". ") : d, ayt(i, n), this._spot.removeAttribute(G9), this._place(), Xvt(i), this._unbindAdvance?.(), this._unbindAdvance = Rvt(r, n, () => this._move(1));
132167
+ this._live.textContent = l ? [d, l].join(/[.!?]$/.test(d) ? " " : ". ") : d, syt(i, n), this._spot.removeAttribute(G9), this._place(), Qvt(i), this._unbindAdvance?.(), this._unbindAdvance = Bvt(r, n, () => this._move(1));
132139
132168
  let f = this._active();
132140
- (i.contains(f) ? !f.hidden : this._shadow !== null && Wyt(Gyt())) || i.focus(), this.dispatchEvent(new CustomEvent("wui-tour:step", {
132169
+ (i.contains(f) ? !f.hidden : this._shadow !== null && Jyt(Yyt())) || i.focus(), this.dispatchEvent(new CustomEvent("wui-tour:step", {
132141
132170
  bubbles: !0,
132142
132171
  detail: {
132143
132172
  step: r,
@@ -132148,7 +132177,7 @@ uc("wui-tour", class extends dc {
132148
132177
  }));
132149
132178
  }
132150
132179
  _place() {
132151
- this._current && this._layer && oyt(this._spot, this._card, this._current.target);
132180
+ this._current && this._layer && cyt(this._spot, this._card, this._current.target);
132152
132181
  }
132153
132182
  _follow() {
132154
132183
  if (!this._current || !this._layer || this._ending) return;
@@ -132166,34 +132195,35 @@ uc("wui-tour", class extends dc {
132166
132195
  let r = await this._locate(e, t, n);
132167
132196
  if (n !== this._run) return;
132168
132197
  if (r) {
132169
- let e = Zvt(this._card);
132198
+ let e = $vt(this._card);
132170
132199
  if (e && await e, n !== this._run) return;
132171
132200
  this._show(r);
132172
132201
  } else if (t > 0) {
132173
- let e = this._endDialogText();
132174
- if (e && await this._showEnd(e), n !== this._run) return;
132175
- await this._close("finished");
132202
+ let e = this._endDialogText(), t = e ? await this._showEnd(e) : "done";
132203
+ if (n !== this._run) return;
132204
+ let r = await this._close(t === "next" ? "next" : "finished");
132205
+ t === "next" && r && this.ownerDocument.defaultView.location.assign(e.nextHref);
132176
132206
  }
132177
132207
  } finally {
132178
132208
  this._moving = !1;
132179
132209
  }
132180
132210
  }
132181
132211
  _showEnd(e) {
132182
- return this._unbindAdvance?.(), this._unbindAdvance = null, Lvt(this, {
132212
+ return this._unbindAdvance?.(), this._unbindAdvance = null, zvt(this, {
132183
132213
  layer: this._layer,
132184
132214
  spot: this._spot,
132185
132215
  card: this._card
132186
- }, null, null), this._spot.removeAttribute(G9), this._ending = new AbortController(), this._seenMark = this._markSeen("finished"), hyt(this._layer, e, this._ending.signal);
132216
+ }, null, null), this._spot.removeAttribute(G9), this._ending = new AbortController(), this._seenMark = this._markSeen("finished"), yyt(this._layer, e, this._ending.signal);
132187
132217
  }
132188
132218
  _key(e) {
132189
132219
  if (!(!this._layer || this._ending || e.altKey || e.ctrlKey || e.metaKey)) {
132190
132220
  if (e.key === "Escape") e.preventDefault(), e.stopPropagation(), this._close("skipped", "escape");
132191
132221
  else if (e.key === "ArrowRight" || e.key === "ArrowLeft") {
132192
- if (Wyt(e.composedPath?.()[0] ?? e.target)) return;
132222
+ if (Jyt(e.composedPath?.()[0] ?? e.target)) return;
132193
132223
  e.preventDefault(), e.key === "ArrowRight" ? this._move(1) : this._current.index > this._firstIndex && this._move(-1);
132194
132224
  } else if (e.key === "Tab" && !this._shadow) {
132195
132225
  let { index: t, target: n } = this._current;
132196
- Bvt(e, {
132226
+ Hvt(e, {
132197
132227
  card: this._card,
132198
132228
  active: this._active(),
132199
132229
  step: this._steps[t],
@@ -132206,7 +132236,7 @@ uc("wui-tour", class extends dc {
132206
132236
  if (!this._layer) return;
132207
132237
  document.removeEventListener("keydown", this._onKey, !0), document.removeEventListener("focusin", this._onFocusIn);
132208
132238
  let e = !this._shadow || this._shadow.activeElement !== null || !document.activeElement || document.activeElement === document.body;
132209
- this._unbindAdvance?.(), this._unbindAdvance = null, this._ending?.abort(), this._ending = null, this._seenMark = null, mc(this._outer), Qvt(this._outer), document.documentElement.removeAttribute(yK), this._outer = null, this._shadow = null, this._layer = null, this._current = null;
132239
+ this._unbindAdvance?.(), this._unbindAdvance = null, this._ending?.abort(), this._ending = null, this._seenMark = null, mc(this._outer), eyt(this._outer), document.documentElement.removeAttribute(yK), this._outer = null, this._shadow = null, this._layer = null, this._current = null;
132210
132240
  let t = this._returnFocus;
132211
132241
  this._returnFocus = null, e && t?.isConnected && t.focus?.();
132212
132242
  }
@@ -132215,15 +132245,17 @@ uc("wui-tour", class extends dc {
132215
132245
  index: r.index,
132216
132246
  position: this._progress.position(r.index),
132217
132247
  total: this._progress.total()
132218
- } : Byt, a = this._seenMark;
132248
+ } : Wyt, a = this._seenMark;
132219
132249
  this._teardown();
132250
+ let o = e === "next" ? "finished" : e, s = !1;
132220
132251
  try {
132221
- n === this._run && await (a ?? this._markSeen(e));
132252
+ n === this._run && await (a ?? this._markSeen(o)), s = n === this._run;
132222
132253
  } finally {
132223
132254
  this._finish(e, i, t);
132224
132255
  }
132256
+ return s;
132225
132257
  }
132226
- _finish(e, t = Byt, n = null) {
132258
+ _finish(e, t = Wyt, n = null) {
132227
132259
  this._run++, this._running = !1, this.hasAttribute("open") && this.removeAttribute("open"), this.dispatchEvent(new CustomEvent("wui-tour:close", {
132228
132260
  bubbles: !0,
132229
132261
  detail: {
@@ -132235,25 +132267,25 @@ uc("wui-tour", class extends dc {
132235
132267
  }
132236
132268
  });
132237
132269
  // dist/components/AppTour.js
132238
- var qyt = ["image", "video"], Jyt = ["click"], Yyt = d(function(e, n) {
132239
- let { marker: r, props: i } = U("AppTour", e), { open: a, onClose: o, tourId: s, steps: c, seenStore: l, onBeforeStep: u, labels: d, endDialog: f = !0, className: p, ...m } = i;
132240
- G("AppTour", m);
132241
- for (let e of c) W("AppTour", "steps[].mediaType", e.mediaType, qyt), W("AppTour", "steps[].advanceOn", e.advanceOn, Jyt);
132242
- let g = S(null), _ = (e) => {
132243
- g.current = e, typeof n == "function" ? n(e) : n && (n.current = e);
132270
+ var Zyt = ["image", "video"], Qyt = ["click"], $yt = d(function(e, n) {
132271
+ let { marker: r, props: i } = U("AppTour", e), { open: a, onClose: o, tourId: s, steps: c, seenStore: l, onBeforeStep: u, labels: d, endDialog: f = !0, endNextHref: p, className: m, ...g } = i;
132272
+ G("AppTour", g);
132273
+ for (let e of c) W("AppTour", "steps[].mediaType", e.mediaType, Zyt), W("AppTour", "steps[].advanceOn", e.advanceOn, Qyt);
132274
+ let _ = S(null), v = (e) => {
132275
+ _.current = e, typeof n == "function" ? n(e) : n && (n.current = e);
132244
132276
  };
132245
132277
  y(() => {
132246
- let e = g.current;
132278
+ let e = _.current;
132247
132279
  e.seenStore = l ?? null, e.onBeforeStep = u ?? null;
132248
132280
  }), y(() => {
132249
- let e = g.current;
132281
+ let e = _.current;
132250
132282
  a ? e.setAttribute("open", "") : e.removeAttribute("open");
132251
132283
  }, [a]);
132252
- let v = S(o);
132253
- return v.current = o, h(() => {
132254
- let e = g.current, t = (e) => {
132284
+ let b = S(o);
132285
+ return b.current = o, h(() => {
132286
+ let e = _.current, t = (e) => {
132255
132287
  let { reason: t, index: n, position: r, total: i } = e.detail;
132256
- v.current?.(t, {
132288
+ b.current?.(t, {
132257
132289
  index: n,
132258
132290
  position: r,
132259
132291
  total: i
@@ -132261,7 +132293,7 @@ var qyt = ["image", "video"], Jyt = ["click"], Yyt = d(function(e, n) {
132261
132293
  };
132262
132294
  return e.addEventListener("wui-tour:close", t), () => e.removeEventListener("wui-tour:close", t);
132263
132295
  }, []), /* @__PURE__ */ t("wui-tour", {
132264
- ref: _,
132296
+ ref: v,
132265
132297
  "tour-id": s,
132266
132298
  "back-label": d?.back,
132267
132299
  "next-label": d?.next,
@@ -132274,10 +132306,12 @@ var qyt = ["image", "video"], Jyt = ["click"], Yyt = d(function(e, n) {
132274
132306
  "end-title": d?.endTitle,
132275
132307
  "end-message": d?.endMessage,
132276
132308
  "end-button": d?.endButton,
132309
+ "end-next-label": d?.endNextLabel,
132310
+ "end-next-href": p,
132277
132311
  "end-dialog": f === !1 ? "false" : void 0,
132278
- class: p || void 0,
132312
+ class: m || void 0,
132279
132313
  ...r,
132280
- ...m,
132314
+ ...g,
132281
132315
  children: c.map((e) => /* @__PURE__ */ t("wui-tour-step", {
132282
132316
  target: e.target,
132283
132317
  title: e.title,
@@ -132290,11 +132324,11 @@ var qyt = ["image", "video"], Jyt = ["click"], Yyt = d(function(e, n) {
132290
132324
  children: e.description
132291
132325
  }, `${e.target}|${e.description}`))
132292
132326
  });
132293
- }), Xyt = [
132327
+ }), ebt = [
132294
132328
  "none",
132295
132329
  "single",
132296
132330
  "multiple"
132297
- ], Zyt = "parentId", Qyt = "Loading", $yt = "Could not load. Try again.", ebt = ":scope > input[data-wui-mirror]", tbt = [
132331
+ ], tbt = "parentId", nbt = "Loading", rbt = "Could not load. Try again.", ibt = ":scope > input[data-wui-mirror]", abt = [
132298
132332
  "nodes",
132299
132333
  "selection",
132300
132334
  "selected",
@@ -132302,7 +132336,7 @@ var qyt = ["image", "video"], Jyt = ["click"], Yyt = d(function(e, n) {
132302
132336
  "loadChildren",
132303
132337
  "loadUrl",
132304
132338
  "name"
132305
- ], nbt = 0;
132339
+ ], obt = 0;
132306
132340
  function q9(e, t, n) {
132307
132341
  let r = document.createElement(e);
132308
132342
  t && (r.className = t);
@@ -132322,7 +132356,7 @@ uc("wui-tree", class extends dc {
132322
132356
  ];
132323
132357
  }
132324
132358
  constructor() {
132325
- super(), this._uid = `wui-tree-${++nbt}`, this._seq = 0, this._roots = [], this._byId = /* @__PURE__ */ new Map(), this._prev = null, this._staged = null, this._els = /* @__PURE__ */ new Map(), this._checked = /* @__PURE__ */ new Set(), this._selected = null, this._focusId = null, this._loader = null, this._list = null, this._live = null, this._ready = !1, this._nav = Oc({
132359
+ super(), this._uid = `wui-tree-${++obt}`, this._seq = 0, this._roots = [], this._byId = /* @__PURE__ */ new Map(), this._prev = null, this._staged = null, this._els = /* @__PURE__ */ new Map(), this._checked = /* @__PURE__ */ new Set(), this._selected = null, this._focusId = null, this._loader = null, this._list = null, this._live = null, this._ready = !1, this._nav = Oc({
132326
132360
  getVisibleOptions: () => this._visible().map((e) => this._els.get(e.id)?.row),
132327
132361
  getActive: () => this._visible().findIndex((e) => e.id === this._focusId),
132328
132362
  setActive: (e) => this._focusNode(this._visible()[e]),
@@ -132337,7 +132371,7 @@ uc("wui-tree", class extends dc {
132337
132371
  }
132338
132372
  connectedCallback() {
132339
132373
  let e = {};
132340
- for (let t of tbt) Object.hasOwn(this, t) && (e[t] = this[t], delete this[t]);
132374
+ for (let t of abt) Object.hasOwn(this, t) && (e[t] = this[t], delete this[t]);
132341
132375
  if (!this._ready) {
132342
132376
  this._ready = !0;
132343
132377
  let e = this._readScript();
@@ -132363,7 +132397,7 @@ uc("wui-tree", class extends dc {
132363
132397
  }
132364
132398
  get selection() {
132365
132399
  let e = this.getAttribute("selection");
132366
- return Xyt.includes(e) ? e : "none";
132400
+ return ebt.includes(e) ? e : "none";
132367
132401
  }
132368
132402
  set selection(e) {
132369
132403
  this.setAttribute("selection", String(e));
@@ -132407,13 +132441,13 @@ uc("wui-tree", class extends dc {
132407
132441
  e == null ? this.removeAttribute("name") : this.setAttribute("name", String(e));
132408
132442
  }
132409
132443
  get loadingText() {
132410
- return this.getAttribute("loading-text") ?? Qyt;
132444
+ return this.getAttribute("loading-text") ?? nbt;
132411
132445
  }
132412
132446
  set loadingText(e) {
132413
132447
  this.setAttribute("loading-text", String(e ?? ""));
132414
132448
  }
132415
132449
  get errorText() {
132416
- return this.getAttribute("error-text") ?? $yt;
132450
+ return this.getAttribute("error-text") ?? rbt;
132417
132451
  }
132418
132452
  set errorText(e) {
132419
132453
  this.setAttribute("error-text", String(e ?? ""));
@@ -132599,7 +132633,7 @@ uc("wui-tree", class extends dc {
132599
132633
  let t = this.getAttribute("load-url");
132600
132634
  if (!t) throw Error("<wui-tree> has a node with children to load but no loadChildren or load-url.");
132601
132635
  let n = new URL(t, window.location.href);
132602
- n.searchParams.set(Zyt, e.id);
132636
+ n.searchParams.set(tbt, e.id);
132603
132637
  let r = await lK(n.href, { headers: { Accept: "application/json" } });
132604
132638
  if (!r.ok) throw Error(`Loading children answered ${r.kind}.`);
132605
132639
  return JSON.parse(r.html);
@@ -132622,7 +132656,7 @@ uc("wui-tree", class extends dc {
132622
132656
  let e = this.selection;
132623
132657
  if (e === "multiple") Dc(this, this.values);
132624
132658
  else if (e === "single") Ec(this, this._selected ?? "");
132625
- else for (let e of this.querySelectorAll(ebt)) e.remove();
132659
+ else for (let e of this.querySelectorAll(ibt)) e.remove();
132626
132660
  }
132627
132661
  _render() {
132628
132662
  if (!this._list) return;
@@ -132676,13 +132710,13 @@ uc("wui-tree", class extends dc {
132676
132710
  }
132677
132711
  });
132678
132712
  // dist/components/AppTreeView.js
132679
- var rbt = [
132713
+ var sbt = [
132680
132714
  "none",
132681
132715
  "single",
132682
132716
  "multiple"
132683
- ], ibt = d(function(e, n) {
132717
+ ], cbt = d(function(e, n) {
132684
132718
  let { marker: r, props: i } = U("AppTreeView", e), { nodes: a, selection: o, selected: s, onSelect: c, checked: l, onCheck: u, loadChildren: d, loadUrl: f, onLoadError: p, name: m, loadingText: g, errorText: _, ariaLabel: v, id: y, className: b = "", ...x } = i;
132685
- G("AppTreeView", x), W("AppTreeView", "selection", o, rbt);
132719
+ G("AppTreeView", x), W("AppTreeView", "selection", o, sbt);
132686
132720
  let { setRef: C, innerRef: w } = ac({
132687
132721
  ref: n,
132688
132722
  value: l,
@@ -132745,7 +132779,7 @@ uc("wui-truncate", class extends dc {
132745
132779
  }
132746
132780
  });
132747
132781
  // dist/components/AppTruncate.js
132748
- function abt(e) {
132782
+ function lbt(e) {
132749
132783
  let { marker: n, props: r } = U("AppTruncate", e), { children: i, lines: a = 1, width: o, style: s, className: c = "", ...l } = r;
132750
132784
  G("AppTruncate", l);
132751
132785
  let u = Number.isInteger(a) && a > 1, d = {
@@ -132769,9 +132803,9 @@ function abt(e) {
132769
132803
  });
132770
132804
  }
132771
132805
  // dist/components/AppUpdateBar.js
132772
- var obt = () => window.location.reload();
132773
- function sbt(e) {
132774
- let { marker: r, props: i } = U("AppUpdateBar", e), { onReload: a = obt, dismissible: o = !1, onClose: s, className: c = "", description: l = "A new version of this app is ready.", reloadLabel: u = "Reload", dismissLabel: d = "Dismiss", ...f } = i;
132806
+ var ubt = () => window.location.reload();
132807
+ function dbt(e) {
132808
+ let { marker: r, props: i } = U("AppUpdateBar", e), { onReload: a = ubt, dismissible: o = !1, onClose: s, className: c = "", description: l = "A new version of this app is ready.", reloadLabel: u = "Reload", dismissLabel: d = "Dismiss", ...f } = i;
132775
132809
  return G("AppUpdateBar", f), /* @__PURE__ */ n(Ic, {
132776
132810
  tone: "info",
132777
132811
  icon: "refresh-cw",
@@ -132791,7 +132825,7 @@ function sbt(e) {
132791
132825
  })]
132792
132826
  });
132793
132827
  }
132794
- var cbt = "wui-whats-new:", J9 = "data-open", Y9 = "data-wui-unread", lbt = 0, X9 = (e) => {
132828
+ var fbt = "wui-whats-new:", J9 = "data-open", Y9 = "data-wui-unread", pbt = 0, X9 = (e) => {
132795
132829
  let t = Date.parse(e);
132796
132830
  return Number.isNaN(t) ? -1 / 0 : t;
132797
132831
  }, Z9 = (e, t) => X9(t) > X9(e) ? t : e;
@@ -132826,7 +132860,7 @@ uc("wui-whats-new", class extends dc {
132826
132860
  connectedCallback() {
132827
132861
  this._doc = this.ownerDocument;
132828
132862
  let e = this._panel, t = this._trigger;
132829
- e && t && (e.id ||= `wui-whats-new-${++lbt}`, t.setAttribute("aria-controls", e.id), t.setAttribute("aria-expanded", "false"), t.addEventListener("click", this._onTriggerClick), this.addEventListener("keydown", this._onKeyDown), this._stored = this._load(), this._refresh(), typeof MutationObserver < "u" && (this._observer = new MutationObserver(() => this._refresh()), this._observer.observe(e, {
132863
+ e && t && (e.id ||= `wui-whats-new-${++pbt}`, t.setAttribute("aria-controls", e.id), t.setAttribute("aria-expanded", "false"), t.addEventListener("click", this._onTriggerClick), this.addEventListener("keydown", this._onKeyDown), this._stored = this._load(), this._refresh(), typeof MutationObserver < "u" && (this._observer = new MutationObserver(() => this._refresh()), this._observer.observe(e, {
132830
132864
  childList: !0,
132831
132865
  subtree: !0
132832
132866
  })));
@@ -132882,7 +132916,7 @@ uc("wui-whats-new", class extends dc {
132882
132916
  try {
132883
132917
  return {
132884
132918
  store: this.ownerDocument.defaultView.localStorage,
132885
- key: cbt + e
132919
+ key: fbt + e
132886
132920
  };
132887
132921
  } catch {
132888
132922
  return null;
@@ -132898,10 +132932,10 @@ uc("wui-whats-new", class extends dc {
132898
132932
  }
132899
132933
  });
132900
132934
  // dist/components/AppWhatsNew.js
132901
- var ubt = ["dot", "count"];
132902
- function dbt(e) {
132935
+ var mbt = ["dot", "count"];
132936
+ function hbt(e) {
132903
132937
  let { marker: r, props: i } = U("AppWhatsNew", e), { entries: a = [], storageKey: o, readThrough: s, indicator: c = "dot", label: l = "What's new", unreadLabel: u = "unread", emptyText: d = "Nothing new yet", onRead: f, linkComponent: p, className: m = "", ...g } = i;
132904
- G("AppWhatsNew", g), W("AppWhatsNew", "indicator", c, ubt);
132938
+ G("AppWhatsNew", g), W("AppWhatsNew", "indicator", c, mbt);
132905
132939
  let _ = S(null), v = S(f);
132906
132940
  return v.current = f, h(() => {
132907
132941
  let e = _.current, t = (e) => v.current?.(e.detail.through);
@@ -132968,7 +133002,7 @@ function dbt(e) {
132968
133002
  alt: e.imageAlt ?? "",
132969
133003
  loading: "lazy"
132970
133004
  }),
132971
- e.href && /* @__PURE__ */ t(fbt, {
133005
+ e.href && /* @__PURE__ */ t(gbt, {
132972
133006
  entry: e,
132973
133007
  linkComponent: p
132974
133008
  })
@@ -132981,7 +133015,7 @@ function dbt(e) {
132981
133015
  })]
132982
133016
  });
132983
133017
  }
132984
- function fbt({ entry: e, linkComponent: n }) {
133018
+ function gbt({ entry: e, linkComponent: n }) {
132985
133019
  let { Tag: r, linkProps: i } = iK(n, { href: e.href });
132986
133020
  return /* @__PURE__ */ t(r, {
132987
133021
  className: "wui-whats-new-link",
@@ -132990,17 +133024,17 @@ function fbt({ entry: e, linkComponent: n }) {
132990
133024
  });
132991
133025
  }
132992
133026
  // ../elements/dist/WuiWizardStep-LecF3VY7.js
132993
- var pbt = "wui-wizard-step", Q9 = ":scope > [data-wui-glyphs]", mbt = {
133027
+ var _bt = "wui-wizard-step", Q9 = ":scope > [data-wui-glyphs]", vbt = {
132994
133028
  done: "Done",
132995
133029
  active: "Current",
132996
133030
  pending: "To do",
132997
133031
  error: "Error",
132998
133032
  skipped: "Skipped"
132999
- }, hbt = [
133033
+ }, ybt = [
133000
133034
  "data-nav",
133001
133035
  "data-step",
133002
133036
  "data-close"
133003
- ], gbt = /* @__PURE__ */ new WeakSet(), _bt = class extends dc {
133037
+ ], bbt = /* @__PURE__ */ new WeakSet(), xbt = class extends dc {
133004
133038
  static get observedAttributes() {
133005
133039
  return [
133006
133040
  "active",
@@ -133045,7 +133079,7 @@ var pbt = "wui-wizard-step", Q9 = ":scope > [data-wui-glyphs]", mbt = {
133045
133079
  this._beforeNext = typeof e == "function" ? e : null;
133046
133080
  }
133047
133081
  get _steps() {
133048
- return [...this.querySelectorAll(`:scope > ${pbt}`)];
133082
+ return [...this.querySelectorAll(`:scope > ${_bt}`)];
133049
133083
  }
133050
133084
  refresh() {
133051
133085
  this._rendered && this._renderChrome();
@@ -133085,7 +133119,7 @@ var pbt = "wui-wizard-step", Q9 = ":scope > [data-wui-glyphs]", mbt = {
133085
133119
  this._header,
133086
133120
  this._footer
133087
133121
  ].some((t) => t?.contains(e))) return null;
133088
- let t = hbt.find((t) => e.hasAttribute(t));
133122
+ let t = ybt.find((t) => e.hasAttribute(t));
133089
133123
  return t ? {
133090
133124
  attr: t,
133091
133125
  value: e.getAttribute(t)
@@ -133111,7 +133145,7 @@ var pbt = "wui-wizard-step", Q9 = ":scope > [data-wui-glyphs]", mbt = {
133111
133145
  }
133112
133146
  this._topBar || (this._topBar = document.createElement("div"), this._topBar.className = "wui-wizard-topbar", this._rendered && this._topBar.addEventListener("click", this._onTopBarClick)), this._header.previousElementSibling !== this._topBar && this.insertBefore(this._topBar, this._header);
133113
133147
  let t = this.getAttribute("bar-title") || "", n = this.getAttribute("close-label") || "Close", r = e.length ? `<span class="wui-wizard-topbar-count">Step ${this._active + 1} of ${e.length}</span>` : "";
133114
- this._topBar.innerHTML = `<span class="wui-wizard-topbar-title">${$9(t)}</span>${r}<button type="button" class="wui-wizard-topbar-close" data-close aria-label="${ybt(n)}">${this._glyph("x")}</button>`;
133148
+ this._topBar.innerHTML = `<span class="wui-wizard-topbar-title">${$9(t)}</span>${r}<button type="button" class="wui-wizard-topbar-close" data-close aria-label="${Cbt(n)}">${this._glyph("x")}</button>`;
133115
133149
  }
133116
133150
  _clampActive(e) {
133117
133151
  let t = Math.max(0, e.length - 1);
@@ -133119,7 +133153,7 @@ var pbt = "wui-wizard-step", Q9 = ":scope > [data-wui-glyphs]", mbt = {
133119
133153
  }
133120
133154
  _reconcileSteps() {
133121
133155
  let e = this._steps, t = this._known;
133122
- if (this._known = e, vbt(e, t)) return e;
133156
+ if (this._known = e, Sbt(e, t)) return e;
133123
133157
  let n = (n) => new Set([...n].map((n) => e.indexOf(t[n])).filter((e) => e >= 0));
133124
133158
  this._skipped = n(this._skipped), this._invalid = n(this._invalid);
133125
133159
  let r = t[this._active];
@@ -133139,7 +133173,7 @@ var pbt = "wui-wizard-step", Q9 = ":scope > [data-wui-glyphs]", mbt = {
133139
133173
  _onStepsMutated() {
133140
133174
  if (!this._rendered) return;
133141
133175
  let e = this._steps, t = !e.length || this._header.nextElementSibling === e[0] && this._footer.previousElementSibling === e[e.length - 1];
133142
- this.querySelector(Q9) !== this._glyphs && (this._watchGlyphs(), this._renderHeader()), t && vbt(e, this._known) || (this._renderChrome(), this._observer?.takeRecords());
133176
+ this.querySelector(Q9) !== this._glyphs && (this._watchGlyphs(), this._renderHeader()), t && Sbt(e, this._known) || (this._renderChrome(), this._observer?.takeRecords());
133143
133177
  }
133144
133178
  _syncPanels(e) {
133145
133179
  e.forEach((e, t) => {
@@ -133163,7 +133197,7 @@ var pbt = "wui-wizard-step", Q9 = ":scope > [data-wui-glyphs]", mbt = {
133163
133197
  o && "wui-stepper-start"
133164
133198
  ].filter(Boolean).join(" "), this._header.setAttribute("aria-label", this.getAttribute("label") || "Progress");
133165
133199
  let s = this.hasAttribute("non-linear");
133166
- for (let t of e) t.getAttribute("label") || gbt.has(t) || (gbt.add(t), aK("wui-wizard: a <wui-wizard-step> needs a label attribute; its header segment is empty."));
133200
+ for (let t of e) t.getAttribute("label") || bbt.has(t) || (bbt.add(t), aK("wui-wizard: a <wui-wizard-step> needs a label attribute; its header segment is empty."));
133167
133201
  let c = Hse(e.map((e) => ({
133168
133202
  label: e.getAttribute("label") || "",
133169
133203
  icon: e.getAttribute("icon") || void 0
@@ -133174,7 +133208,7 @@ var pbt = "wui-wizard-step", Q9 = ":scope > [data-wui-glyphs]", mbt = {
133174
133208
  }).map((i) => {
133175
133209
  let a = i.index, o = e[a], c = i.status, l = o.getAttribute("label") || "", u = o.getAttribute("description") || "", d = a + 1, f = i.glyph.icon ? this._glyph(i.glyph.icon) : String(i.glyph.number), p = i.className, m = i.current ? " aria-current=\"step\"" : "", h = s || a < this._active;
133176
133210
  if (r) {
133177
- let e = `<span class="step-circle">${f}</span><span class="step-text"><span class="step-label">${$9(l)}</span><span class="wui-step-tile-state">${mbt[c] ?? ""}</span></span>`, t = h ? `<button type="button" class="wui-step-tile-body" data-step="${a}"${m}>${e}</button>` : `<div class="wui-step-tile-body"${m}>${e}</div>`;
133211
+ let e = `<span class="step-circle">${f}</span><span class="step-text"><span class="step-label">${$9(l)}</span><span class="wui-step-tile-state">${vbt[c] ?? ""}</span></span>`, t = h ? `<button type="button" class="wui-step-tile-body" data-step="${a}"${m}>${e}</button>` : `<div class="wui-step-tile-body"${m}>${e}</div>`;
133178
133212
  return `<li class="${c === "pending" ? "wui-step-tile" : `wui-step-tile ${c}`}">${t}</li>`;
133179
133213
  }
133180
133214
  let g = u ? `<span class="step-desc">${$9(u)}</span>` : "", _;
@@ -133279,7 +133313,7 @@ var pbt = "wui-wizard-step", Q9 = ":scope > [data-wui-glyphs]", mbt = {
133279
133313
  _reflectActive(e) {
133280
133314
  this._reflecting = !0, this.setAttribute("active", String(e)), this._reflecting = !1;
133281
133315
  }
133282
- }, vbt = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]), $9 = (e) => String(e ?? "").replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), ybt = (e) => String(e ?? "").replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/</g, "&lt;");
133316
+ }, Sbt = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]), $9 = (e) => String(e ?? "").replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), Cbt = (e) => String(e ?? "").replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/</g, "&lt;");
133283
133317
  // ../elements/dist/elements/wizard.js
133284
133318
  uc("wui-wizard-step", class extends dc {
133285
133319
  static get observedAttributes() {
@@ -133295,73 +133329,73 @@ uc("wui-wizard-step", class extends dc {
133295
133329
  let e = this.closest("wui-wizard");
133296
133330
  e && typeof e.refresh == "function" && e.refresh();
133297
133331
  }
133298
- }), uc("wui-wizard", _bt);
133332
+ }), uc("wui-wizard", xbt);
133299
133333
  // dist/components/AppWizard.js
133300
- var bbt = [
133334
+ var wbt = [
133301
133335
  "steps",
133302
133336
  "journey",
133303
133337
  "icons",
133304
133338
  "tiles"
133305
- ], xbt = js.filter((e) => e !== "neutral"), Sbt = ["horizontal", "vertical"], Cbt = ["center", "start"], wbt = [
133339
+ ], Tbt = js.filter((e) => e !== "neutral"), Ebt = ["horizontal", "vertical"], Dbt = ["center", "start"], Obt = [
133306
133340
  "done",
133307
133341
  "active",
133308
133342
  "pending",
133309
133343
  "error"
133310
- ], Tbt = [
133344
+ ], kbt = [
133311
133345
  "key",
133312
133346
  "label",
133313
133347
  "description",
133314
133348
  "optional",
133315
133349
  "icon",
133316
133350
  "status"
133317
- ], Ebt = [
133351
+ ], Abt = [
133318
133352
  "linear",
133319
133353
  "outline",
133320
133354
  "bold",
133321
133355
  "bulk",
133322
133356
  "broken",
133323
133357
  "twotone"
133324
- ], Dbt = [
133358
+ ], jbt = [
133325
133359
  "check",
133326
133360
  "alert-triangle",
133327
133361
  "minus"
133328
- ], Obt = [
133362
+ ], Mbt = [
133329
133363
  "sm",
133330
133364
  "md",
133331
133365
  "lg"
133332
- ], kbt = {
133366
+ ], Nbt = {
133333
133367
  sm: 14,
133334
133368
  md: 16,
133335
133369
  lg: 20
133336
- }, Abt = /* @__PURE__ */ new Set(), jbt = () => {
133370
+ }, Pbt = /* @__PURE__ */ new Set(), Fbt = () => {
133337
133371
  try {
133338
133372
  return !1;
133339
133373
  } catch {
133340
133374
  return !0;
133341
133375
  }
133342
133376
  };
133343
- function Mbt(e) {
133377
+ function Ibt(e) {
133344
133378
  if (!Array.isArray(e)) throw Error("AppWizard: steps must be an array of { label, description?, optional?, icon?, status?, key? } objects.");
133345
133379
  e.forEach((e, t) => {
133346
133380
  if (typeof e != "object" || !e || typeof e.label != "string" || e.label.trim() === "") throw Error(`AppWizard: steps[${t}] needs a text label.`);
133347
- if (jbt()) for (let n of Object.keys(e)) {
133348
- if (Tbt.includes(n)) continue;
133349
- let e = `AppWizard: steps[${t}] has an unknown field ${n}; the fields are ${Tbt.join(", ")}.`;
133350
- Abt.has(e) || (Abt.add(e), ce(e));
133381
+ if (Fbt()) for (let n of Object.keys(e)) {
133382
+ if (kbt.includes(n)) continue;
133383
+ let e = `AppWizard: steps[${t}] has an unknown field ${n}; the fields are ${kbt.join(", ")}.`;
133384
+ Pbt.has(e) || (Pbt.add(e), ce(e));
133351
133385
  }
133352
133386
  });
133353
133387
  }
133354
- var Nbt = d(function(e, r) {
133388
+ var Lbt = d(function(e, r) {
133355
133389
  let { marker: i, props: o } = U("AppWizard", e), { steps: s = [], children: c, active: l, defaultActive: u = 0, onStepChange: d, onFinish: f, onSkip: p, beforeNext: m, onInvalid: g, onClose: _, variant: v = "steps", tone: y, doneTone: b, orientation: x = "horizontal", align: C = "center", iconVariant: w, size: T = "md", iconSize: E, skippable: D = !1, nonLinear: O = !1, hideStepper: k = !1, hideConnectors: A = !1, disabled: j = !1, label: M = "Progress", backLabel: N = "Back", nextLabel: P = "Next", skipLabel: F = "Skip", finishLabel: I = "Finish", topBar: L = !1, barTitle: R, closeLabel: z = "Close", className: B = "", ...V } = o;
133356
- G("AppWizard", V), W("AppWizard", "variant", v, bbt), W("AppWizard", "tone", y, xbt), W("AppWizard", "doneTone", b, xbt), W("AppWizard", "orientation", x, Sbt), W("AppWizard", "align", C, Cbt), W("AppWizard", "iconVariant", w, Ebt), W("AppWizard", "size", T, Obt), Mbt(s);
133357
- let ee = E > 0 ? E : kbt[T] ?? kbt.md;
133358
- for (let e of s) W("AppWizard", "steps[].status", e.status, wbt);
133390
+ G("AppWizard", V), W("AppWizard", "variant", v, wbt), W("AppWizard", "tone", y, Tbt), W("AppWizard", "doneTone", b, Tbt), W("AppWizard", "orientation", x, Ebt), W("AppWizard", "align", C, Dbt), W("AppWizard", "iconVariant", w, Abt), W("AppWizard", "size", T, Mbt), Ibt(s);
133391
+ let ee = E > 0 ? E : Nbt[T] ?? Nbt.md;
133392
+ for (let e of s) W("AppWizard", "steps[].status", e.status, Obt);
133359
133393
  let H = S(null), te = (e) => {
133360
133394
  H.current = e, typeof r == "function" ? r(e) : r && (r.current = e);
133361
- }, ne = a.toArray(c), re = w && w !== "linear" ? [.../* @__PURE__ */ new Set([...Dbt, ...s.map((e) => e.icon).filter(Boolean)])] : [], ie = [
133395
+ }, ne = a.toArray(c), re = w && w !== "linear" ? [.../* @__PURE__ */ new Set([...jbt, ...s.map((e) => e.icon).filter(Boolean)])] : [], ie = [
133362
133396
  y && `wui-step-tone-${y}`,
133363
133397
  b && `wui-step-done-tone-${b}`,
133364
- T !== "md" && Obt.includes(T) && `wui-step-size-${T}`,
133398
+ T !== "md" && Mbt.includes(T) && `wui-step-size-${T}`,
133365
133399
  B
133366
133400
  ].filter(Boolean).join(" ");
133367
133401
  return h(() => {
@@ -133427,19 +133461,19 @@ var Nbt = d(function(e, r) {
133427
133461
  }, e))
133428
133462
  })]
133429
133463
  });
133430
- }), Pbt = [
133464
+ }), Rbt = [
133431
133465
  "sm",
133432
133466
  "md",
133433
133467
  "lg"
133434
- ], Fbt = /* @__PURE__ */ new Set([
133468
+ ], zbt = /* @__PURE__ */ new Set([
133435
133469
  "ArrowUp",
133436
133470
  "ArrowDown",
133437
133471
  "ArrowLeft",
133438
133472
  "ArrowRight"
133439
133473
  ]);
133440
- function Ibt(e) {
133474
+ function Bbt(e) {
133441
133475
  let { marker: r, props: i } = U("AppWorkspaceSwitcher", e), { tenants: a = [], currentId: o, onSelect: s, menuLabel: c, footerAction: l, linkComponent: u, searchable: d = !1, onCreate: f, canCreate: p = !1, createLabel: m = "Create workspace", compact: g = !1, size: _ = "md", ariaLabel: v, searchPlaceholder: y = "Search workspaces", searchLabel: x = "Search workspaces", noMatchText: w = "No workspaces match.", ...T } = i, { onToggle: E, ...D } = T;
133442
- G("AppWorkspaceSwitcher", D), W("AppWorkspaceSwitcher", "size", _, Pbt);
133476
+ G("AppWorkspaceSwitcher", D), W("AppWorkspaceSwitcher", "size", _, Rbt);
133443
133477
  let [O, k] = C(""), [A, j] = C(!1), M = S(null), N = (e, t) => {
133444
133478
  j(e), E?.(e, t);
133445
133479
  }, P = a.find((e) => e.id === o) ?? a[0], F = b(() => {
@@ -133457,7 +133491,7 @@ function Ibt(e) {
133457
133491
  let e = M.current;
133458
133492
  if (!e) return;
133459
133493
  let t = (e) => {
133460
- Fbt.has(e.key) ? e.stopPropagation() : e.key === "Escape" && A && (e.preventDefault(), e.stopPropagation(), N(!1, {
133494
+ zbt.has(e.key) ? e.stopPropagation() : e.key === "Escape" && A && (e.preventDefault(), e.stopPropagation(), N(!1, {
133461
133495
  source: "keydown",
133462
133496
  originalEvent: e
133463
133497
  }));
@@ -133472,7 +133506,7 @@ function Ibt(e) {
133472
133506
  ...r,
133473
133507
  ...D,
133474
133508
  children: [/* @__PURE__ */ t(so.Toggle, {
133475
- as: zbt,
133509
+ as: Ubt,
133476
133510
  compact: g,
133477
133511
  tenant: P,
133478
133512
  "aria-label": L
@@ -133508,7 +133542,7 @@ function Ibt(e) {
133508
133542
  className: `workspace-switcher-option${e.id === P?.id ? " is-active" : ""}`,
133509
133543
  onClick: () => s?.(e),
133510
133544
  children: [
133511
- /* @__PURE__ */ t(Lbt, { tenant: e }),
133545
+ /* @__PURE__ */ t(Vbt, { tenant: e }),
133512
133546
  /* @__PURE__ */ t("span", {
133513
133547
  className: "workspace-switcher-option-name",
133514
133548
  children: e.name
@@ -133540,13 +133574,13 @@ function Ibt(e) {
133540
133574
  }) : null,
133541
133575
  l ? /* @__PURE__ */ t("div", {
133542
133576
  className: "workspace-switcher-footer",
133543
- children: Rbt(l, u)
133577
+ children: Hbt(l, u)
133544
133578
  }) : null
133545
133579
  ]
133546
133580
  })]
133547
133581
  });
133548
133582
  }
133549
- function Lbt({ tenant: e }) {
133583
+ function Vbt({ tenant: e }) {
133550
133584
  return e?.logoUrl ? /* @__PURE__ */ t("img", {
133551
133585
  className: "workspace-switcher-mark",
133552
133586
  src: e.logoUrl,
@@ -133557,7 +133591,7 @@ function Lbt({ tenant: e }) {
133557
133591
  children: As(e?.name, 1)
133558
133592
  });
133559
133593
  }
133560
- function Rbt(e, r) {
133594
+ function Hbt(e, r) {
133561
133595
  if (typeof e != "object" || !e || !("label" in e)) return e;
133562
133596
  let { label: i, icon: a, href: o } = e;
133563
133597
  return /* @__PURE__ */ n(o ? r ?? "a" : "button", {
@@ -133569,7 +133603,7 @@ function Rbt(e, r) {
133569
133603
  }) : null, i]
133570
133604
  });
133571
133605
  }
133572
- var zbt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...s }, c) {
133606
+ var Ubt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...s }, c) {
133573
133607
  return /* @__PURE__ */ n("button", {
133574
133608
  ref: c,
133575
133609
  type: "button",
@@ -133577,7 +133611,7 @@ var zbt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
133577
133611
  "aria-haspopup": "true",
133578
133612
  "aria-label": a,
133579
133613
  ...s,
133580
- children: [/* @__PURE__ */ t(Lbt, { tenant: i }), r ? null : /* @__PURE__ */ n(e, { children: [/* @__PURE__ */ t("span", {
133614
+ children: [/* @__PURE__ */ t(Vbt, { tenant: i }), r ? null : /* @__PURE__ */ n(e, { children: [/* @__PURE__ */ t("span", {
133581
133615
  className: "workspace-switcher-trigger-name",
133582
133616
  children: i?.name
133583
133617
  }), /* @__PURE__ */ t(K, {
@@ -133586,7 +133620,7 @@ var zbt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
133586
133620
  className: "workspace-switcher-chevron"
133587
133621
  })] })]
133588
133622
  });
133589
- }), Bbt = B({
133623
+ }), Wbt = B({
133590
133624
  components: {
133591
133625
  AppAccordion: Ds,
133592
133626
  AppAccountSwitcher: tpe,
@@ -133738,13 +133772,13 @@ var zbt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
133738
133772
  AppToast: Tvt,
133739
133773
  AppToolbar: Dvt,
133740
133774
  AppTooltip: ls,
133741
- AppTour: Yyt,
133742
- AppTreeView: ibt,
133743
- AppTruncate: abt,
133744
- AppUpdateBar: sbt,
133745
- AppWhatsNew: dbt,
133746
- AppWizard: Nbt,
133747
- AppWorkspaceSwitcher: Ibt
133775
+ AppTour: $yt,
133776
+ AppTreeView: cbt,
133777
+ AppTruncate: lbt,
133778
+ AppUpdateBar: dbt,
133779
+ AppWhatsNew: hbt,
133780
+ AppWizard: Lbt,
133781
+ AppWorkspaceSwitcher: Bbt
133748
133782
  },
133749
133783
  markers: {
133750
133784
  AppAccordion: "AppAccordion",
@@ -134275,6 +134309,10 @@ var zbt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
134275
134309
  light: "#2a3553",
134276
134310
  dark: "#2a3553"
134277
134311
  },
134312
+ "surface-ink": {
134313
+ light: "#0b0e16",
134314
+ dark: "#0b0e16"
134315
+ },
134278
134316
  "surface-inverse": {
134279
134317
  light: "#071437",
134280
134318
  dark: "#e6e8ee"
@@ -134482,14 +134520,16 @@ var zbt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
134482
134520
  leading: {
134483
134521
  body: 1.55,
134484
134522
  display: 1.05,
134485
- heading: 1.2
134523
+ heading: 1.2,
134524
+ lead: 1.6,
134525
+ prose: 1.7
134486
134526
  }
134487
134527
  },
134488
134528
  manifest: {
134489
134529
  kind: "WeborityWeb",
134490
134530
  library: {
134491
134531
  name: "@webority/ui-react",
134492
- version: "0.137.2"
134532
+ version: "0.138.0"
134493
134533
  },
134494
134534
  rendererProtocolVersion: 13,
134495
134535
  platform: "Web",
@@ -160074,6 +160114,12 @@ var zbt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
160074
160114
  description: "Show the closing dialog after the last step.",
160075
160115
  default: !0
160076
160116
  },
160117
+ {
160118
+ name: "endNextHref",
160119
+ type: "string",
160120
+ required: !1,
160121
+ description: "Where the closing dialog's next step goes; the step shows only with labels.endNextLabel set."
160122
+ },
160077
160123
  {
160078
160124
  name: "labels",
160079
160125
  type: "object",
@@ -160108,6 +160154,12 @@ var zbt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
160108
160154
  required: !1,
160109
160155
  description: "The closing dialog's message, a short friendly line by default."
160110
160156
  },
160157
+ {
160158
+ name: "endNextLabel",
160159
+ type: "string",
160160
+ required: !1,
160161
+ description: "The closing dialog's next-step button text. The step shows only when this is set, and it goes to endNextHref."
160162
+ },
160111
160163
  {
160112
160164
  name: "endTitle",
160113
160165
  type: "string",
@@ -160238,7 +160290,8 @@ var zbt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
160238
160290
  when: [
160239
160291
  "A person meets a screen for the first time and a handful of controls need a one-line explanation each.",
160240
160292
  "A new feature needs pointing out where it sits on a screen people already know.",
160241
- "The steps follow a natural order the person can walk in under a minute."
160293
+ "The steps follow a natural order the person can walk in under a minute.",
160294
+ "The tour teaches one clear first action, such as creating the first item: give the closing dialog a next step (endNextLabel with endNextHref) that goes to it. With no single clear action, leave the dialog with Done alone."
160242
160295
  ],
160243
160296
  whenNot: [
160244
160297
  {
@@ -161289,7 +161342,7 @@ var zbt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
161289
161342
  }
161290
161343
  ],
161291
161344
  tokens: {
161292
- color: /* @__PURE__ */ "bg.bg-muted.bg-subtle.border.border-strong.border-subtle.chart-1.chart-2.chart-3.chart-4.chart-5.chart-6.chart-7.chart-8.chart-axis.chart-diverging-high.chart-diverging-low.chart-diverging-mid.chart-grid.chart-label.chart-neutral.chart-seq-0.chart-seq-1.chart-seq-2.chart-seq-3.chart-seq-4.chart-seq-5.chart-seq-6.danger.danger-border.danger-pressed.danger-soft.danger-strong.danger-strong-hover.danger-text.danger-text-on-soft.field-bg.field-border.field-border-focus.field-border-hover.focus-ring.focus-ring-soft.info.info-border.info-pressed.info-soft.info-strong.info-text.info-text-on-soft.link.neutral.neutral-hover.neutral-pressed.neutral-soft.neutral-text.offline-fill.on-danger.on-danger-strong.on-info.on-info-strong.on-neutral.on-primary.on-scrim.on-success.on-success-strong.on-surface-dark.on-surface-dark-muted.on-warning.on-warning-strong.online-fill.primary.primary-hover.primary-soft.primary-text.primary-wash.primary-wash-strong.progress-label.progress-track.scrim.scrim-strong.scrollbar.scrollbar-active.scrollbar-hover.success.success-border.success-pressed.success-soft.success-strong.success-text.success-text-on-soft.surface.surface-dark.surface-dark-border.surface-inverse.surface-inverse-elevated.surface-inverse-raised.surface-inverse-wash-12.surface-inverse-wash-24.surface-inverse-wash-4.surface-inverse-wash-8.text.text-body.text-inverse.text-muted.text-subtle.thumb.warning.warning-border.warning-pressed.warning-soft.warning-strong.warning-strong-hover.warning-text.warning-text-on-soft".split("."),
161345
+ color: /* @__PURE__ */ "bg.bg-muted.bg-subtle.border.border-strong.border-subtle.chart-1.chart-2.chart-3.chart-4.chart-5.chart-6.chart-7.chart-8.chart-axis.chart-diverging-high.chart-diverging-low.chart-diverging-mid.chart-grid.chart-label.chart-neutral.chart-seq-0.chart-seq-1.chart-seq-2.chart-seq-3.chart-seq-4.chart-seq-5.chart-seq-6.danger.danger-border.danger-pressed.danger-soft.danger-strong.danger-strong-hover.danger-text.danger-text-on-soft.field-bg.field-border.field-border-focus.field-border-hover.focus-ring.focus-ring-soft.info.info-border.info-pressed.info-soft.info-strong.info-text.info-text-on-soft.link.neutral.neutral-hover.neutral-pressed.neutral-soft.neutral-text.offline-fill.on-danger.on-danger-strong.on-info.on-info-strong.on-neutral.on-primary.on-scrim.on-success.on-success-strong.on-surface-dark.on-surface-dark-muted.on-warning.on-warning-strong.online-fill.primary.primary-hover.primary-soft.primary-text.primary-wash.primary-wash-strong.progress-label.progress-track.scrim.scrim-strong.scrollbar.scrollbar-active.scrollbar-hover.success.success-border.success-pressed.success-soft.success-strong.success-text.success-text-on-soft.surface.surface-dark.surface-dark-border.surface-ink.surface-inverse.surface-inverse-elevated.surface-inverse-raised.surface-inverse-wash-12.surface-inverse-wash-24.surface-inverse-wash-4.surface-inverse-wash-8.text.text-body.text-inverse.text-muted.text-subtle.thumb.warning.warning-border.warning-pressed.warning-soft.warning-strong.warning-strong-hover.warning-text.warning-text-on-soft".split("."),
161293
161346
  space: [
161294
161347
  "2xl",
161295
161348
  "3xl",
@@ -161339,7 +161392,9 @@ var zbt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
161339
161392
  leading: [
161340
161393
  "body",
161341
161394
  "display",
161342
- "heading"
161395
+ "heading",
161396
+ "lead",
161397
+ "prose"
161343
161398
  ],
161344
161399
  colorMeanings: {
161345
161400
  bg: "Page background behind the content area.",
@@ -161435,6 +161490,7 @@ var zbt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
161435
161490
  surface: "Card and panel surface.",
161436
161491
  "surface-dark": "Band that stays dark in light and dark mode, such as a site footer or a dark hero.",
161437
161492
  "surface-dark-border": "Hairline border or divider on a surface-dark band.",
161493
+ "surface-ink": "Neutral near-black band, darker than surface-dark, that stays the same in light and dark mode, such as a footer or a contents box.",
161438
161494
  "surface-inverse": "Inverse band on a page, such as a dark footer or an inverse toast.",
161439
161495
  "surface-inverse-elevated": "A floating or highlighted surface two layers up on an inverse band.",
161440
161496
  "surface-inverse-raised": "A card or panel one layer up on an inverse band.",
@@ -161832,6 +161888,10 @@ var zbt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
161832
161888
  light: "#2a3553",
161833
161889
  dark: "#2a3553"
161834
161890
  },
161891
+ "surface-ink": {
161892
+ light: "#0b0e16",
161893
+ dark: "#0b0e16"
161894
+ },
161835
161895
  "surface-inverse": {
161836
161896
  light: "#071437",
161837
161897
  dark: "#e6e8ee"
@@ -162039,7 +162099,9 @@ var zbt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
162039
162099
  leading: {
162040
162100
  body: 1.55,
162041
162101
  display: 1.05,
162042
- heading: 1.2
162102
+ heading: 1.2,
162103
+ lead: 1.6,
162104
+ prose: 1.7
162043
162105
  }
162044
162106
  },
162045
162107
  icons: /* @__PURE__ */ "aave.activity.add.add-circle.add-square.additem.airdrop.airplane.airplane-square.airpod.airpods.alarm.alert-circle.alert-triangle.align-bottom.align-horizontally.align-left.align-right.align-top.align-vertically.android.ankr.apple.aquarius.archive.archive-add.archive-book.archive-box.archive-minus.archive-slash.archive-tick.arrange-horizontal.arrange-horizontal-circle.arrange-horizontal-square.arrange-vertical.arrange-vertical-circle.arrange-vertical-square.arrow.arrow-circle-down.arrow-circle-down-2.arrow-circle-left.arrow-circle-left-2.arrow-circle-right.arrow-circle-right-2.arrow-circle-up.arrow-circle-up-2.arrow-down.arrow-down-2.arrow-down-3.arrow-down-up.arrow-forward.arrow-forward-square.arrow-left.arrow-left-2.arrow-left-3.arrow-right.arrow-right-2.arrow-right-3.arrow-rotate-left.arrow-rotate-right.arrow-square.arrow-square-down.arrow-square-left.arrow-square-right.arrow-square-up.arrow-swap-horizontal.arrow-swap-vertical.arrow-up.arrow-up-2.arrow-up-3.arrow-up-right.at.attach-circle.attach-square.audio-square.augur.autobrightness.autonio.avalanche.award.back.back-square.backward.backward-10-seconds.backward-15-seconds.backward-5-seconds.backward-item.badge-check.bag.bag-2.bag-cross.bag-cross-1.bag-happy.bag-tick.bag-tick-2.bag-timer.ban.bank.barcode.battery-charging.battery-disable.battery-empty.battery-empty-1.battery-full.be.bell.bezier.bill.binance-coin.binance-usd.bitcoin.bitcoin-card.bitcoin-convert.bitcoin-refresh.blend.blend-2.blogger.bluetooth.bluetooth-2.bluetooth-circle.bluetooth-rectangle.blur.bolt.book.book-1.book-saved.book-square.bookmark.bookmark-2.bootstrap.box.box-1.box-2.box-add.box-remove.box-seam.box-search.box-tick.box-time.briefcase.briefcase-cross.briefcase-tick.briefcase-timer.brifecase-cross.brifecase-tick.brifecase-timer.brodcast.broom.brush.brush-2.brush-3.brush-big.brush-square.bubble.bucket.bucket-circle.bucket-square.bug.building.building-2.building-3.building-4.buildings.buildings-2.buliding.bullseye.bus.buy-crypto.cake.calculator.calendar.calendar-1.calendar-2.calendar-add.calendar-check.calendar-circle.calendar-dots.calendar-edit.calendar-remove.calendar-search.calendar-tick.call.call-add.call-calling.call-incoming.call-minus.call-outgoing.call-received.call-remove.call-slash.camera.camera-slash.candle.candle-2.car.card.card-add.card-coin.card-edit.card-pos.card-receive.card-remove.card-remove-1.card-send.card-slash.card-tick.card-tick-1.cardano.cards.cash-stack.category.category-2.cd.celo.celsius.chainlink.chart.chart-1.chart-2.chart-21.chart-circle.chart-column.chart-fail.chart-square.chart-success.chat.chat-dots.check.check-check.check-circle.chemical-glass.chevron-down.chevron-left.chevron-right.chevron-up.chevrons-left.chevrons-right.chevrons-up-down.chrome.circle.circle-help.civic.clipboard.clipboard-check.clipboard-close.clipboard-export.clipboard-import.clipboard-text.clipboard-tick.clock.close-circle.close-square.cloud.cloud-add.cloud-change.cloud-connection.cloud-cross.cloud-drizzle.cloud-fog.cloud-lightning.cloud-minus.cloud-notif.cloud-plus.cloud-remove.cloud-snow.cloud-sunny.code.code-1.code-circle.coffee.coin.coin-1.coins.color-swatch.colorfilter.colors-square.command.command-square.comment.component.computing.contact.convert.convert-3-d-cube.convert-card.convertshape.convertshape-2.copy.copy-success.copyright.courthouse.cpu.cpu-charge.cpu-setting.creative-commons.credit-card.crop.crown.crown-1.cup.cursor.cut.dai.danger.dash.data.data-2.decred.dent.designtools.device-message.devices.diagram.diagram-3.diamonds.direct.direct-down.direct-inbox.direct-left.direct-normal.direct-notification.direct-right.direct-send.direct-up.directbox-default.directbox-notif.directbox-receive.directbox-send.discount-circle.discount-shape.discover.dislike.display.document.document-cloud.document-code.document-code-2.document-copy.document-download.document-favorite.document-filter.document-forward.document-like.document-previous.document-sketch.document-text.document-text-1.document-upload.dollar-circle.dollar-square.download.dribbble.driver.driver-2.driver-refresh.driving.drop.dropbox.edit.edit-2.educare.electricity.element.element-2.element-3.element-4.element-equal.element-plus.emercoin.emoji-happy.emoji-normal.emoji-sad.emoji-smile.empty-wallet.empty-wallet-add.empty-wallet-change.empty-wallet-remove.empty-wallet-tick.empty-wallet-time.enjin-coin.eos.eraser.eraser-square.ethereum.ethereum-classic.export.export-circle.export-curve.export-square.external-drive.external-link.eye.eye-off.eye-slash.facebook.factory.fatrows.favorite-chart.figma.figma-1.file-plus-2.file-text.files.filter.filter-add.filter-edit.filter-remove.filter-search.filter-square.filter-tick.finger-cricle.finger-scan.firstline.flag.flag-2.flame.flash.flash-circle.flash-slash.flashy.folder.folder-2.folder-add.folder-cloud.folder-connection.folder-cross.folder-favorite.folder-kanban.folder-minus.folder-open.folder-plus.forbidden.forbidden-2.format-circle.format-square.forward.forward-10-seconds.forward-15-seconds.forward-5-seconds.forward-item.framer.ftx-token.gallery.gallery-add.gallery-edit.gallery-export.gallery-favorite.gallery-import.gallery-remove.gallery-slash.gallery-tick.game.gameboy.gas-station.gauge.gemini.gemini-2.ghost.gift.github.glass.global.global-edit.global-refresh.global-search.globe.globe2.google.google-drive.google-play.gps.gps-slash.grammerly.graph.grid.grid-1.grid-2.grid-3.grid-4.grid-5.grid-6.grid-7.grid-8.grid-9.grid-edit.grid-eraser.grid-lock.hamberger-menu.hamburger-menu.hand.happyemoji.hard-hat.harmony.hashtag.hashtag-down.hashtag-square.hashtag-up.headphone.headphones.health.heart.heart-add.heart-circle.heart-edit.heart-remove.heart-search.heart-slash.heart-tick.hedera-hashgraph.hex.hierarchy.hierarchy-2.hierarchy-3.hierarchy-square.hierarchy-square-2.hierarchy-square-3.history.home.home-2.home-3.home-hashtag.home-trend-down.home-trend-up.home-wifi.hospital.house.house-2.html-3.html-5.huobi-token.i-24-support.i-3-d-cube-scan.i-3-d-rotate.i-3-d-square.i-3-dcube.i-3-square.icon.illustrator.image.import.import-circle.import-curve.import-square.inbox.info.info-circle.information.instagram.iost.java-script.js.judge.kanban.key.key-square.keyboard.keyboard-open.kyber-network.lamp.lamp-charge.lamp-on.lamp-slash.language-circle.language-square.layer.layout-dashboard.layout-grid.layout-maximize.level.lifebuoy.lightbulb.like.like-1.like-dislike.like-shapes.like-tag.link.link-1.link-2.link-21.link-circle.link-square.linkedin.list.litecoin.location.location-add.location-cross.location-discover.location-minus.location-slash.location-tick.lock.lock-1.lock-circle.lock-slash.log-out.login.login-curve.logout.logout-curve.lovely.magic-star.magicpen.mail.main-component.maker.man.map.map-1.map-pin.mask.mask-left.mask-right.math.maximize.maximize-1.maximize-2.maximize-3.maximize-4.maximize-circle.medal.medal-star.menu.menu-board.message.message-2.message-add.message-add-1.message-circle.message-edit.message-favorite.message-minus.message-notif.message-programming.message-question.message-remove.message-search.message-square.message-text.message-text-1.message-tick.message-time.messages.messages-1.messages-2.messages-3.messenger.microphone.microphone-2.microphone-slash.microphone-slash-1.microscope.microsoft.milk.mini-music-sqaure.minus.minus-circle.minus-cirlce.minus-square.mirror.mirroring-screen.mobile.mobile-programming.monero.money.money-2.money-3.money-4.money-add.money-archive.money-change.money-forbidden.money-receive.money-recive.money-remove.money-send.money-tick.money-time.moneys.monitor.monitor-mobbile.monitor-recorder.moon.more.more-2.more-circle.more-horizontal.more-square.mouse.mouse-circle.mouse-square.music.music-circle.music-dashboard.music-filter.music-library-2.music-play.music-playlist.music-square.music-square-add.music-square-remove.music-square-search.musicnote.nebulas.nem.nexo.next.note.note-1.note-add.note-favorite.note-remove.note-square.note-text.notepad.notepad-2.notification.notification-1.notification-bing.notification-circle.notification-favorite.notification-status.ocean-protocol.okb.okru.omega-circle.omega-square.ontology.paintbucket.palette.panel-left-close.panel-left-open.paperclip.paperclip-2.password-check.path-tool.path-tool-2.path-tool-square.pause.pause-circle.paypal.pen-add.pen-close.pen-remove.pen-tool.pen-tool-2.pencil.people.percentage-circle.percentage-square.personalcard.pet.pharagraphspacing.phone.photoshop.picture-frame.play.play-add.play-circle.play-cricle.play-remove.plug.plus.plus-circle.pointer.polkadot.polygon.polyswarm.presentation-chart.presention-chart.previous.printer.printer-slash.profile.profile-2-user.profile-add.profile-circle.profile-delete.profile-remove.profile-tick.programming-arrow.programming-arrows.python.quant.quote-down.quote-down-circle.quote-down-square.quote-up.quote-up-circle.quote-up-square.radar.radar-2.radio.ram.ram-2.rank.ranking.receipt.receipt-1.receipt-2.receipt-21.receipt-add.receipt-discount.receipt-disscount.receipt-edit.receipt-item.receipt-minus.receipt-search.receipt-square.receipt-text.receive.receive-square.receive-square-2.record.record-circle.recovery-convert.reddit.refresh.refresh-2.refresh-circle.refresh-cw.refresh-left-square.refresh-right-square.refresh-square.repeat.repeat-circle.repeate-music.repeate-one.reserve.robot.rotate-ccw.rotate-cw.rotate-left.rotate-right.route-square.routing.routing-2.row-horizontal.row-vertical.ruler.ruler-pen.safe-home.sagittarius.save-2.save-add.save-minus.save-remove.scan.scan-barcode.scanner.scanning.scissor.screenmirroring.scroll.search.search-favorite.search-favorite-1.search-normal.search-normal-1.search-status.search-status-1.search-zoom-in.search-zoom-in-1.search-zoom-out.search-zoom-out-1.security.security-card.security-safe.security-time.security-user.send.send-2.server.setting.setting-2.setting-3.setting-4.setting-5.settings.shapes.shapes-1.share.share-2.shield.shield-check.shield-cross.shield-lock.shield-plus.shield-search.shield-security.shield-slash.shield-tick.ship.shop.shop-add.shop-remove.shopping-bag.shopping-cart.shuffle.shutterstock.siacoin.sidebar-bottom.sidebar-left.sidebar-right.sidebar-top.signpost.simcard.simcard-1.simcard-2.size.slack.slash.slider.slider-horizontal.slider-horizontal-1.slider-vertical.slider-vertical-1.smallcaps.smart-car.smart-home.smileys.sms.sms-edit.sms-notification.sms-search.sms-star.sms-tracking.snapchat.snowflake.solana.sort.sound.sparkles.speaker.speedometer.spotify.stacks.star.star-1.star-slash.stars.status.status-up.stellar.sticker.stickynote.stop.stop-circle.story.strongbox.strongbox-2.subtitle.sun.sun-1.sun-fog.table-document.table-lamp.tag.tag-2.tag-cross.tag-right.tag-user.task.task-square.teacher.telephone.tenx.tether.text.text-block.text-bold.text-italic.text-underline.textalign-center.textalign-justifycenter.textalign-justifyleft.textalign-justifyright.textalign-left.textalign-right.the-graph.theta.thorchain.thumbs-down.thumbs-up.tick-circle.tick-square.ticket.ticket-2.ticket-discount.ticket-expired.ticket-star.timer.timer-1.timer-pause.timer-start.toggle-off.toggle-off-circle.toggle-on.toggle-on-circle.trade.transaction-minus.translate.transmit.transmit-sqaure-2.transmit-square.trash.trash-2.tree.trello.trend-down.trend-up.trending-up.triangle.triangle-logo.trontron.truck.truck-fast.truck-remove.truck-tick.truck-time.trush-square.twitch.two-page.ui-8.unlimited.unlock.upload.usd-coin.user.user-add.user-check.user-cirlce-add.user-edit.user-minus.user-octagon.user-plus.user-remove.user-search.user-square.user-tag.user-tick.users.velas.verify.vibe.video.video-add.video-circle.video-horizontal.video-octagon.video-play.video-remove.video-slash.video-square.video-tick.video-time.video-vertical.voice-circle.voice-cricle.voice-square.volume.volume-cross.volume-high.volume-low.volume-low-1.volume-mute.volume-slash.volume-up.wallet.wallet-1.wallet-2.wallet-3.wallet-add.wallet-add-1.wallet-check.wallet-minus.wallet-money.wallet-remove.wallet-search.wallet2.wanchain.wanchain-1.wand-sparkles.warning-2.watch.watch-status.weight.weight-meter.whatsapp.wifi.wifi-square.wind.wind-2.windows.wing.woman.wrist-clock.x.x-circle.xd.xiaomi.xrp.youtube.zap.zel.zoom.zoom-in.zoom-out".split("."),
@@ -162392,4 +162454,4 @@ var zbt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
162392
162454
  ]
162393
162455
  }
162394
162456
  });
162395
- export { Bbt as default };
162457
+ export { Wbt as default };