@saasbase-io/core-elements 1.19.0 → 1.21.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.
package/dist/index.mjs CHANGED
@@ -1366,7 +1366,7 @@ const { is: Eh, defineProperty: kh, getOwnPropertyDescriptor: Rh, getOwnProperty
1366
1366
  }
1367
1367
  }
1368
1368
  return r;
1369
- } }, aa = (t, e) => !Eh(t, e), Fa = { attribute: !0, type: String, converter: Zs, reflect: !1, useDefault: !1, hasChanged: aa };
1369
+ } }, aa = (t, e) => !Eh(t, e), Ma = { attribute: !0, type: String, converter: Zs, reflect: !1, useDefault: !1, hasChanged: aa };
1370
1370
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), tr.litPropertyMetadata ?? (tr.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
1371
1371
  let ai = class extends HTMLElement {
1372
1372
  static addInitializer(e) {
@@ -1375,7 +1375,7 @@ let ai = class extends HTMLElement {
1375
1375
  static get observedAttributes() {
1376
1376
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
1377
1377
  }
1378
- static createProperty(e, r = Fa) {
1378
+ static createProperty(e, r = Ma) {
1379
1379
  if (r.state && (r.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(e) && ((r = Object.create(r)).wrapped = !0), this.elementProperties.set(e, r), !r.noAccessor) {
1380
1380
  const i = Symbol(), s = this.getPropertyDescriptor(e, i, r);
1381
1381
  s !== void 0 && kh(this.prototype, e, s);
@@ -1393,7 +1393,7 @@ let ai = class extends HTMLElement {
1393
1393
  }, configurable: !0, enumerable: !0 };
1394
1394
  }
1395
1395
  static getPropertyOptions(e) {
1396
- return this.elementProperties.get(e) ?? Fa;
1396
+ return this.elementProperties.get(e) ?? Ma;
1397
1397
  }
1398
1398
  static _$Ei() {
1399
1399
  if (this.hasOwnProperty(Di("elementProperties"))) return;
@@ -1577,9 +1577,9 @@ ai.elementStyles = [], ai.shadowRootOptions = { mode: "open" }, ai[Di("elementPr
1577
1577
  * Copyright 2017 Google LLC
1578
1578
  * SPDX-License-Identifier: BSD-3-Clause
1579
1579
  */
1580
- const Ui = globalThis, Ma = (t) => t, Js = Ui.trustedTypes, Ba = Js ? Js.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, _c = "$lit$", Je = `lit$${Math.random().toFixed(9).slice(2)}$`, xc = "?" + Je, Lh = `<${xc}>`, Mr = document, Gi = () => Mr.createComment(""), Ki = (t) => t === null || typeof t != "object" && typeof t != "function", la = Array.isArray, Ph = (t) => la(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", Xo = `[
1580
+ const Ui = globalThis, Fa = (t) => t, Js = Ui.trustedTypes, Ba = Js ? Js.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, _c = "$lit$", Je = `lit$${Math.random().toFixed(9).slice(2)}$`, xc = "?" + Je, Lh = `<${xc}>`, Fr = document, Gi = () => Fr.createComment(""), Ki = (t) => t === null || typeof t != "object" && typeof t != "function", la = Array.isArray, Ph = (t) => la(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", Xo = `[
1581
1581
  \f\r]`, Ei = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, qa = /-->/g, Va = />/g, gr = RegExp(`>|${Xo}(?:([^\\s"'>=/]+)(${Xo}*=${Xo}*(?:[^
1582
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Ha = /'/g, Ga = /"/g, $c = /^(?:script|style|textarea|title)$/i, Sc = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), d = Sc(1), fe = Sc(2), Br = Symbol.for("lit-noChange"), g = Symbol.for("lit-nothing"), Ka = /* @__PURE__ */ new WeakMap(), Cr = Mr.createTreeWalker(Mr, 129);
1582
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Ha = /'/g, Ga = /"/g, $c = /^(?:script|style|textarea|title)$/i, Sc = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), d = Sc(1), fe = Sc(2), Br = Symbol.for("lit-noChange"), g = Symbol.for("lit-nothing"), Ka = /* @__PURE__ */ new WeakMap(), Cr = Fr.createTreeWalker(Fr, 129);
1583
1583
  function Cc(t, e) {
1584
1584
  if (!la(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
1585
1585
  return Ba !== void 0 ? Ba.createHTML(e) : e;
@@ -1629,7 +1629,7 @@ let Gn = class Ec {
1629
1629
  }
1630
1630
  }
1631
1631
  static createElement(e, r) {
1632
- const i = Mr.createElement("template");
1632
+ const i = Fr.createElement("template");
1633
1633
  return i.innerHTML = e, i;
1634
1634
  }
1635
1635
  };
@@ -1651,17 +1651,17 @@ let zh = class {
1651
1651
  return this._$AM._$AU;
1652
1652
  }
1653
1653
  u(e) {
1654
- const { el: { content: r }, parts: i } = this._$AD, s = ((e == null ? void 0 : e.creationScope) ?? Mr).importNode(r, !0);
1654
+ const { el: { content: r }, parts: i } = this._$AD, s = ((e == null ? void 0 : e.creationScope) ?? Fr).importNode(r, !0);
1655
1655
  Cr.currentNode = s;
1656
1656
  let o = Cr.nextNode(), n = 0, h = 0, p = i[0];
1657
1657
  for (; p !== void 0; ) {
1658
1658
  if (n === p.index) {
1659
1659
  let b;
1660
- p.type === 2 ? b = new da(o, o.nextSibling, this, e) : p.type === 1 ? b = new p.ctor(o, p.name, p.strings, this, e) : p.type === 6 && (b = new Fh(o, this, e)), this._$AV.push(b), p = i[++h];
1660
+ p.type === 2 ? b = new da(o, o.nextSibling, this, e) : p.type === 1 ? b = new p.ctor(o, p.name, p.strings, this, e) : p.type === 6 && (b = new Mh(o, this, e)), this._$AV.push(b), p = i[++h];
1661
1661
  }
1662
1662
  n !== (p == null ? void 0 : p.index) && (o = Cr.nextNode(), n++);
1663
1663
  }
1664
- return Cr.currentNode = Mr, s;
1664
+ return Cr.currentNode = Fr, s;
1665
1665
  }
1666
1666
  p(e) {
1667
1667
  let r = 0;
@@ -1696,7 +1696,7 @@ let zh = class {
1696
1696
  this._$AH !== e && (this._$AR(), this._$AH = this.O(e));
1697
1697
  }
1698
1698
  _(e) {
1699
- this._$AH !== g && Ki(this._$AH) ? this._$AA.nextSibling.data = e : this.T(Mr.createTextNode(e)), this._$AH = e;
1699
+ this._$AH !== g && Ki(this._$AH) ? this._$AA.nextSibling.data = e : this.T(Fr.createTextNode(e)), this._$AH = e;
1700
1700
  }
1701
1701
  $(e) {
1702
1702
  var o;
@@ -1721,8 +1721,8 @@ let zh = class {
1721
1721
  _$AR(e = this._$AA.nextSibling, r) {
1722
1722
  var i;
1723
1723
  for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, r); e !== this._$AB; ) {
1724
- const s = Ma(e).nextSibling;
1725
- Ma(e).remove(), e = s;
1724
+ const s = Fa(e).nextSibling;
1725
+ Fa(e).remove(), e = s;
1726
1726
  }
1727
1727
  }
1728
1728
  setConnected(e) {
@@ -1780,7 +1780,7 @@ let zh = class {
1780
1780
  var r;
1781
1781
  typeof this._$AH == "function" ? this._$AH.call(((r = this.options) == null ? void 0 : r.host) ?? this.element, e) : this._$AH.handleEvent(e);
1782
1782
  }
1783
- }, Fh = class {
1783
+ }, Mh = class {
1784
1784
  constructor(e, r, i) {
1785
1785
  this.element = e, this.type = 6, this._$AN = void 0, this._$AM = r, this.options = i;
1786
1786
  }
@@ -1793,7 +1793,7 @@ let zh = class {
1793
1793
  };
1794
1794
  const Zo = Ui.litHtmlPolyfillSupport;
1795
1795
  Zo == null || Zo(Gn, da), (Ui.litHtmlVersions ?? (Ui.litHtmlVersions = [])).push("3.3.2");
1796
- const Mh = (t, e, r) => {
1796
+ const Fh = (t, e, r) => {
1797
1797
  const i = (r == null ? void 0 : r.renderBefore) ?? e;
1798
1798
  let s = i._$litPart$;
1799
1799
  if (s === void 0) {
@@ -1819,7 +1819,7 @@ let v = class extends ai {
1819
1819
  }
1820
1820
  update(e) {
1821
1821
  const r = this.render();
1822
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = Mh(r, this.renderRoot, this.renderOptions);
1822
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = Fh(r, this.renderRoot, this.renderOptions);
1823
1823
  }
1824
1824
  connectedCallback() {
1825
1825
  var e;
@@ -2057,11 +2057,11 @@ const Kh = (t) => t.strings === void 0;
2057
2057
  * Copyright 2017 Google LLC
2058
2058
  * SPDX-License-Identifier: BSD-3-Clause
2059
2059
  */
2060
- const Fi = (t, e) => {
2060
+ const Mi = (t, e) => {
2061
2061
  var i;
2062
2062
  const r = t._$AN;
2063
2063
  if (r === void 0) return !1;
2064
- for (const s of r) (i = s._$AO) == null || i.call(s, e, !1), Fi(s, e);
2064
+ for (const s of r) (i = s._$AO) == null || i.call(s, e, !1), Mi(s, e);
2065
2065
  return !0;
2066
2066
  }, Qs = (t) => {
2067
2067
  let e, r;
@@ -2082,9 +2082,9 @@ function Wh(t) {
2082
2082
  }
2083
2083
  function Yh(t, e = !1, r = 0) {
2084
2084
  const i = this._$AH, s = this._$AN;
2085
- if (s !== void 0 && s.size !== 0) if (e) if (Array.isArray(i)) for (let o = r; o < i.length; o++) Fi(i[o], !1), Qs(i[o]);
2086
- else i != null && (Fi(i, !1), Qs(i));
2087
- else Fi(this, t);
2085
+ if (s !== void 0 && s.size !== 0) if (e) if (Array.isArray(i)) for (let o = r; o < i.length; o++) Mi(i[o], !1), Qs(i[o]);
2086
+ else i != null && (Mi(i, !1), Qs(i));
2087
+ else Mi(this, t);
2088
2088
  }
2089
2089
  const Xh = (t) => {
2090
2090
  t.type == Rc.CHILD && (t._$AP ?? (t._$AP = Yh), t._$AQ ?? (t._$AQ = Wh));
@@ -2098,7 +2098,7 @@ class Ac extends Oc {
2098
2098
  }
2099
2099
  _$AO(e, r = !0) {
2100
2100
  var i, s;
2101
- e !== this.isConnected && (this.isConnected = e, e ? (i = this.reconnected) == null || i.call(this) : (s = this.disconnected) == null || s.call(this)), r && (Fi(this, e), Qs(this));
2101
+ e !== this.isConnected && (this.isConnected = e, e ? (i = this.reconnected) == null || i.call(this) : (s = this.disconnected) == null || s.call(this)), r && (Mi(this, e), Qs(this));
2102
2102
  }
2103
2103
  setValue(e) {
2104
2104
  if (Kh(this._$Ct)) this._$Ct._$AI(e, this);
@@ -5489,9 +5489,9 @@ var pa = "-", dp = (t) => {
5489
5489
  }
5490
5490
  S = !1;
5491
5491
  }
5492
- let T = bp(y).join(":"), I = w ? T + Dc : T, N = I + k;
5493
- if (o.includes(N)) continue;
5494
- o.push(N);
5492
+ let T = bp(y).join(":"), I = w ? T + Dc : T, z = I + k;
5493
+ if (o.includes(z)) continue;
5494
+ o.push(z);
5495
5495
  let J = s(k, S);
5496
5496
  for (let Y = 0; Y < J.length; ++Y) {
5497
5497
  let nt = J[Y];
@@ -5530,19 +5530,19 @@ function _p(t, ...e) {
5530
5530
  var it = (t) => {
5531
5531
  let e = (r) => r[t] || [];
5532
5532
  return e.isThemeGetter = !0, e;
5533
- }, Fc = /^\[(?:([a-z-]+):)?(.+)\]$/i, xp = /^\d+\/\d+$/, $p = /* @__PURE__ */ new Set([
5533
+ }, Mc = /^\[(?:([a-z-]+):)?(.+)\]$/i, xp = /^\d+\/\d+$/, $p = /* @__PURE__ */ new Set([
5534
5534
  "px",
5535
5535
  "full",
5536
5536
  "screen"
5537
- ]), Sp = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Cp = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Ep = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, kp = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Rp = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ae = (t) => ci(t) || $p.has(t) || xp.test(t), Fe = (t) => yi(t, "length", zp), ci = (t) => !!t && !Number.isNaN(Number(t)), tn = (t) => yi(t, "number", ci), ki = (t) => !!t && Number.isInteger(Number(t)), Op = (t) => t.endsWith("%") && ci(t.slice(0, -1)), q = (t) => Fc.test(t), Me = (t) => Sp.test(t), Ip = /* @__PURE__ */ new Set([
5537
+ ]), Sp = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Cp = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Ep = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, kp = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Rp = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ae = (t) => ci(t) || $p.has(t) || xp.test(t), Me = (t) => yi(t, "length", zp), ci = (t) => !!t && !Number.isNaN(Number(t)), tn = (t) => yi(t, "number", ci), ki = (t) => !!t && Number.isInteger(Number(t)), Op = (t) => t.endsWith("%") && ci(t.slice(0, -1)), V = (t) => Mc.test(t), Fe = (t) => Sp.test(t), Ip = /* @__PURE__ */ new Set([
5538
5538
  "length",
5539
5539
  "size",
5540
5540
  "percentage"
5541
- ]), Ap = (t) => yi(t, Ip, Mc), Tp = (t) => yi(t, "position", Mc), Lp = /* @__PURE__ */ new Set(["image", "url"]), Pp = (t) => yi(t, Lp, Dp), Np = (t) => yi(t, "", jp), Ri = () => !0, yi = (t, e, r) => {
5542
- let i = Fc.exec(t);
5541
+ ]), Ap = (t) => yi(t, Ip, Fc), Tp = (t) => yi(t, "position", Fc), Lp = /* @__PURE__ */ new Set(["image", "url"]), Pp = (t) => yi(t, Lp, Dp), Np = (t) => yi(t, "", jp), Ri = () => !0, yi = (t, e, r) => {
5542
+ let i = Mc.exec(t);
5543
5543
  return i ? i[1] ? typeof e == "string" ? i[1] === e : e.has(i[1]) : r(i[2]) : !1;
5544
- }, zp = (t) => Cp.test(t) && !Ep.test(t), Mc = () => !1, jp = (t) => kp.test(t), Dp = (t) => Rp.test(t), Up = /* @__PURE__ */ _p(() => {
5545
- let t = it("colors"), e = it("spacing"), r = it("blur"), i = it("brightness"), s = it("borderColor"), o = it("borderRadius"), n = it("borderSpacing"), h = it("borderWidth"), p = it("contrast"), b = it("grayscale"), y = it("hueRotate"), w = it("invert"), E = it("gap"), C = it("gradientColorStops"), S = it("gradientColorStopPositions"), k = it("inset"), T = it("margin"), I = it("opacity"), N = it("padding"), J = it("saturate"), Y = it("scale"), nt = it("sepia"), gt = it("skew"), jt = it("space"), H = it("translate"), Yt = () => [
5544
+ }, zp = (t) => Cp.test(t) && !Ep.test(t), Fc = () => !1, jp = (t) => kp.test(t), Dp = (t) => Rp.test(t), Up = /* @__PURE__ */ _p(() => {
5545
+ let t = it("colors"), e = it("spacing"), r = it("blur"), i = it("brightness"), s = it("borderColor"), o = it("borderRadius"), n = it("borderSpacing"), h = it("borderWidth"), p = it("contrast"), b = it("grayscale"), y = it("hueRotate"), w = it("invert"), E = it("gap"), C = it("gradientColorStops"), S = it("gradientColorStopPositions"), k = it("inset"), T = it("margin"), I = it("opacity"), z = it("padding"), J = it("saturate"), Y = it("scale"), nt = it("sepia"), gt = it("skew"), jt = it("space"), G = it("translate"), Yt = () => [
5546
5546
  "auto",
5547
5547
  "contain",
5548
5548
  "none"
@@ -5554,16 +5554,16 @@ var it = (t) => {
5554
5554
  "scroll"
5555
5555
  ], Oe = () => [
5556
5556
  "auto",
5557
- q,
5557
+ V,
5558
5558
  e
5559
- ], L = () => [q, e], hr = () => [
5559
+ ], L = () => [V, e], hr = () => [
5560
5560
  "",
5561
5561
  Ae,
5562
- Fe
5562
+ Me
5563
5563
  ], Qt = () => [
5564
5564
  "auto",
5565
5565
  ci,
5566
- q
5566
+ V
5567
5567
  ], Ie = () => [
5568
5568
  "bottom",
5569
5569
  "center",
@@ -5608,7 +5608,7 @@ var it = (t) => {
5608
5608
  ], Xt = () => [
5609
5609
  "",
5610
5610
  "0",
5611
- q
5611
+ V
5612
5612
  ], Ue = () => [
5613
5613
  "auto",
5614
5614
  "avoid",
@@ -5618,18 +5618,18 @@ var it = (t) => {
5618
5618
  "left",
5619
5619
  "right",
5620
5620
  "column"
5621
- ], mt = () => [ci, q];
5621
+ ], mt = () => [ci, V];
5622
5622
  return {
5623
5623
  cacheSize: 500,
5624
5624
  separator: ":",
5625
5625
  theme: {
5626
5626
  colors: [Ri],
5627
- spacing: [Ae, Fe],
5627
+ spacing: [Ae, Me],
5628
5628
  blur: [
5629
5629
  "none",
5630
5630
  "",
5631
- Me,
5632
- q
5631
+ Fe,
5632
+ V
5633
5633
  ],
5634
5634
  brightness: mt(),
5635
5635
  borderColor: [t],
@@ -5637,8 +5637,8 @@ var it = (t) => {
5637
5637
  "none",
5638
5638
  "",
5639
5639
  "full",
5640
- Me,
5641
- q
5640
+ Fe,
5641
+ V
5642
5642
  ],
5643
5643
  borderSpacing: L(),
5644
5644
  borderWidth: hr(),
@@ -5648,7 +5648,7 @@ var it = (t) => {
5648
5648
  invert: Xt(),
5649
5649
  gap: L(),
5650
5650
  gradientColorStops: [t],
5651
- gradientColorStopPositions: [Op, Fe],
5651
+ gradientColorStopPositions: [Op, Me],
5652
5652
  inset: Oe(),
5653
5653
  margin: Oe(),
5654
5654
  opacity: mt(),
@@ -5665,10 +5665,10 @@ var it = (t) => {
5665
5665
  "auto",
5666
5666
  "square",
5667
5667
  "video",
5668
- q
5668
+ V
5669
5669
  ] }],
5670
5670
  container: ["container"],
5671
- columns: [{ columns: [Me] }],
5671
+ columns: [{ columns: [Fe] }],
5672
5672
  "break-after": [{ "break-after": Ue() }],
5673
5673
  "break-before": [{ "break-before": Ue() }],
5674
5674
  "break-inside": [{ "break-inside": [
@@ -5725,7 +5725,7 @@ var it = (t) => {
5725
5725
  "none",
5726
5726
  "scale-down"
5727
5727
  ] }],
5728
- "object-position": [{ object: [...Ie(), q] }],
5728
+ "object-position": [{ object: [...Ie(), V] }],
5729
5729
  overflow: [{ overflow: de() }],
5730
5730
  "overflow-x": [{ "overflow-x": de() }],
5731
5731
  "overflow-y": [{ "overflow-y": de() }],
@@ -5756,7 +5756,7 @@ var it = (t) => {
5756
5756
  z: [{ z: [
5757
5757
  "auto",
5758
5758
  ki,
5759
- q
5759
+ V
5760
5760
  ] }],
5761
5761
  basis: [{ basis: Oe() }],
5762
5762
  "flex-direction": [{ flex: [
@@ -5775,7 +5775,7 @@ var it = (t) => {
5775
5775
  "auto",
5776
5776
  "initial",
5777
5777
  "none",
5778
- q
5778
+ V
5779
5779
  ] }],
5780
5780
  grow: [{ grow: Xt() }],
5781
5781
  shrink: [{ shrink: Xt() }],
@@ -5784,7 +5784,7 @@ var it = (t) => {
5784
5784
  "last",
5785
5785
  "none",
5786
5786
  ki,
5787
- q
5787
+ V
5788
5788
  ] }],
5789
5789
  "grid-cols": [{ "grid-cols": [Ri] }],
5790
5790
  "col-start-end": [{ col: [
@@ -5792,17 +5792,17 @@ var it = (t) => {
5792
5792
  { span: [
5793
5793
  "full",
5794
5794
  ki,
5795
- q
5795
+ V
5796
5796
  ] },
5797
- q
5797
+ V
5798
5798
  ] }],
5799
5799
  "col-start": [{ "col-start": Qt() }],
5800
5800
  "col-end": [{ "col-end": Qt() }],
5801
5801
  "grid-rows": [{ "grid-rows": [Ri] }],
5802
5802
  "row-start-end": [{ row: [
5803
5803
  "auto",
5804
- { span: [ki, q] },
5805
- q
5804
+ { span: [ki, V] },
5805
+ V
5806
5806
  ] }],
5807
5807
  "row-start": [{ "row-start": Qt() }],
5808
5808
  "row-end": [{ "row-end": Qt() }],
@@ -5818,14 +5818,14 @@ var it = (t) => {
5818
5818
  "min",
5819
5819
  "max",
5820
5820
  "fr",
5821
- q
5821
+ V
5822
5822
  ] }],
5823
5823
  "auto-rows": [{ "auto-rows": [
5824
5824
  "auto",
5825
5825
  "min",
5826
5826
  "max",
5827
5827
  "fr",
5828
- q
5828
+ V
5829
5829
  ] }],
5830
5830
  gap: [{ gap: [E] }],
5831
5831
  "gap-x": [{ "gap-x": [E] }],
@@ -5879,15 +5879,15 @@ var it = (t) => {
5879
5879
  "center",
5880
5880
  "stretch"
5881
5881
  ] }],
5882
- p: [{ p: [N] }],
5883
- px: [{ px: [N] }],
5884
- py: [{ py: [N] }],
5885
- ps: [{ ps: [N] }],
5886
- pe: [{ pe: [N] }],
5887
- pt: [{ pt: [N] }],
5888
- pr: [{ pr: [N] }],
5889
- pb: [{ pb: [N] }],
5890
- pl: [{ pl: [N] }],
5882
+ p: [{ p: [z] }],
5883
+ px: [{ px: [z] }],
5884
+ py: [{ py: [z] }],
5885
+ ps: [{ ps: [z] }],
5886
+ pe: [{ pe: [z] }],
5887
+ pt: [{ pt: [z] }],
5888
+ pr: [{ pr: [z] }],
5889
+ pb: [{ pb: [z] }],
5890
+ pl: [{ pl: [z] }],
5891
5891
  m: [{ m: [T] }],
5892
5892
  mx: [{ mx: [T] }],
5893
5893
  my: [{ my: [T] }],
@@ -5909,18 +5909,18 @@ var it = (t) => {
5909
5909
  "svw",
5910
5910
  "lvw",
5911
5911
  "dvw",
5912
- q,
5912
+ V,
5913
5913
  e
5914
5914
  ] }],
5915
5915
  "min-w": [{ "min-w": [
5916
- q,
5916
+ V,
5917
5917
  e,
5918
5918
  "min",
5919
5919
  "max",
5920
5920
  "fit"
5921
5921
  ] }],
5922
5922
  "max-w": [{ "max-w": [
5923
- q,
5923
+ V,
5924
5924
  e,
5925
5925
  "none",
5926
5926
  "full",
@@ -5928,11 +5928,11 @@ var it = (t) => {
5928
5928
  "max",
5929
5929
  "fit",
5930
5930
  "prose",
5931
- { screen: [Me] },
5932
- Me
5931
+ { screen: [Fe] },
5932
+ Fe
5933
5933
  ] }],
5934
5934
  h: [{ h: [
5935
- q,
5935
+ V,
5936
5936
  e,
5937
5937
  "auto",
5938
5938
  "min",
@@ -5943,7 +5943,7 @@ var it = (t) => {
5943
5943
  "dvh"
5944
5944
  ] }],
5945
5945
  "min-h": [{ "min-h": [
5946
- q,
5946
+ V,
5947
5947
  e,
5948
5948
  "min",
5949
5949
  "max",
@@ -5953,7 +5953,7 @@ var it = (t) => {
5953
5953
  "dvh"
5954
5954
  ] }],
5955
5955
  "max-h": [{ "max-h": [
5956
- q,
5956
+ V,
5957
5957
  e,
5958
5958
  "min",
5959
5959
  "max",
@@ -5963,7 +5963,7 @@ var it = (t) => {
5963
5963
  "dvh"
5964
5964
  ] }],
5965
5965
  size: [{ size: [
5966
- q,
5966
+ V,
5967
5967
  e,
5968
5968
  "auto",
5969
5969
  "min",
@@ -5972,8 +5972,8 @@ var it = (t) => {
5972
5972
  ] }],
5973
5973
  "font-size": [{ text: [
5974
5974
  "base",
5975
- Me,
5976
- Fe
5975
+ Fe,
5976
+ Me
5977
5977
  ] }],
5978
5978
  "font-smoothing": ["antialiased", "subpixel-antialiased"],
5979
5979
  "font-style": ["italic", "not-italic"],
@@ -6003,7 +6003,7 @@ var it = (t) => {
6003
6003
  "wide",
6004
6004
  "wider",
6005
6005
  "widest",
6006
- q
6006
+ V
6007
6007
  ] }],
6008
6008
  "line-clamp": [{ "line-clamp": [
6009
6009
  "none",
@@ -6018,14 +6018,14 @@ var it = (t) => {
6018
6018
  "relaxed",
6019
6019
  "loose",
6020
6020
  Ae,
6021
- q
6021
+ V
6022
6022
  ] }],
6023
- "list-image": [{ "list-image": ["none", q] }],
6023
+ "list-image": [{ "list-image": ["none", V] }],
6024
6024
  "list-style-type": [{ list: [
6025
6025
  "none",
6026
6026
  "disc",
6027
6027
  "decimal",
6028
- q
6028
+ V
6029
6029
  ] }],
6030
6030
  "list-style-position": [{ list: ["inside", "outside"] }],
6031
6031
  "placeholder-color": [{ placeholder: [t] }],
@@ -6051,12 +6051,12 @@ var it = (t) => {
6051
6051
  "auto",
6052
6052
  "from-font",
6053
6053
  Ae,
6054
- Fe
6054
+ Me
6055
6055
  ] }],
6056
6056
  "underline-offset": [{ "underline-offset": [
6057
6057
  "auto",
6058
6058
  Ae,
6059
- q
6059
+ V
6060
6060
  ] }],
6061
6061
  "text-decoration-color": [{ decoration: [t] }],
6062
6062
  "text-transform": [
@@ -6086,7 +6086,7 @@ var it = (t) => {
6086
6086
  "text-bottom",
6087
6087
  "sub",
6088
6088
  "super",
6089
- q
6089
+ V
6090
6090
  ] }],
6091
6091
  whitespace: [{ whitespace: [
6092
6092
  "normal",
@@ -6107,7 +6107,7 @@ var it = (t) => {
6107
6107
  "manual",
6108
6108
  "auto"
6109
6109
  ] }],
6110
- content: [{ content: ["none", q] }],
6110
+ content: [{ content: ["none", V] }],
6111
6111
  "bg-attachment": [{ bg: [
6112
6112
  "fixed",
6113
6113
  "local",
@@ -6203,20 +6203,20 @@ var it = (t) => {
6203
6203
  "border-color-l": [{ "border-l": [s] }],
6204
6204
  "divide-color": [{ divide: [s] }],
6205
6205
  "outline-style": [{ outline: ["", ...ce()] }],
6206
- "outline-offset": [{ "outline-offset": [Ae, q] }],
6207
- "outline-w": [{ outline: [Ae, Fe] }],
6206
+ "outline-offset": [{ "outline-offset": [Ae, V] }],
6207
+ "outline-w": [{ outline: [Ae, Me] }],
6208
6208
  "outline-color": [{ outline: [t] }],
6209
6209
  "ring-w": [{ ring: hr() }],
6210
6210
  "ring-w-inset": ["ring-inset"],
6211
6211
  "ring-color": [{ ring: [t] }],
6212
6212
  "ring-opacity": [{ "ring-opacity": [I] }],
6213
- "ring-offset-w": [{ "ring-offset": [Ae, Fe] }],
6213
+ "ring-offset-w": [{ "ring-offset": [Ae, Me] }],
6214
6214
  "ring-offset-color": [{ "ring-offset": [t] }],
6215
6215
  shadow: [{ shadow: [
6216
6216
  "",
6217
6217
  "inner",
6218
6218
  "none",
6219
- Me,
6219
+ Fe,
6220
6220
  Np
6221
6221
  ] }],
6222
6222
  "shadow-color": [{ shadow: [Ri] }],
@@ -6234,8 +6234,8 @@ var it = (t) => {
6234
6234
  "drop-shadow": [{ "drop-shadow": [
6235
6235
  "",
6236
6236
  "none",
6237
- Me,
6238
- q
6237
+ Fe,
6238
+ V
6239
6239
  ] }],
6240
6240
  grayscale: [{ grayscale: [b] }],
6241
6241
  "hue-rotate": [{ "hue-rotate": [y] }],
@@ -6266,7 +6266,7 @@ var it = (t) => {
6266
6266
  "opacity",
6267
6267
  "shadow",
6268
6268
  "transform",
6269
- q
6269
+ V
6270
6270
  ] }],
6271
6271
  duration: [{ duration: mt() }],
6272
6272
  ease: [{ ease: [
@@ -6274,7 +6274,7 @@ var it = (t) => {
6274
6274
  "in",
6275
6275
  "out",
6276
6276
  "in-out",
6277
- q
6277
+ V
6278
6278
  ] }],
6279
6279
  delay: [{ delay: mt() }],
6280
6280
  animate: [{ animate: [
@@ -6283,7 +6283,7 @@ var it = (t) => {
6283
6283
  "ping",
6284
6284
  "pulse",
6285
6285
  "bounce",
6286
- q
6286
+ V
6287
6287
  ] }],
6288
6288
  transform: [{ transform: [
6289
6289
  "",
@@ -6293,9 +6293,9 @@ var it = (t) => {
6293
6293
  scale: [{ scale: [Y] }],
6294
6294
  "scale-x": [{ "scale-x": [Y] }],
6295
6295
  "scale-y": [{ "scale-y": [Y] }],
6296
- rotate: [{ rotate: [ki, q] }],
6297
- "translate-x": [{ "translate-x": [H] }],
6298
- "translate-y": [{ "translate-y": [H] }],
6296
+ rotate: [{ rotate: [ki, V] }],
6297
+ "translate-x": [{ "translate-x": [G] }],
6298
+ "translate-y": [{ "translate-y": [G] }],
6299
6299
  "skew-x": [{ "skew-x": [gt] }],
6300
6300
  "skew-y": [{ "skew-y": [gt] }],
6301
6301
  "transform-origin": [{ origin: [
@@ -6308,7 +6308,7 @@ var it = (t) => {
6308
6308
  "bottom-left",
6309
6309
  "left",
6310
6310
  "top-left",
6311
- q
6311
+ V
6312
6312
  ] }],
6313
6313
  accent: [{ accent: ["auto", t] }],
6314
6314
  appearance: [{ appearance: ["none", "auto"] }],
@@ -6349,7 +6349,7 @@ var it = (t) => {
6349
6349
  "nwse-resize",
6350
6350
  "zoom-in",
6351
6351
  "zoom-out",
6352
- q
6352
+ V
6353
6353
  ] }],
6354
6354
  "caret-color": [{ caret: [t] }],
6355
6355
  "pointer-events": [{ "pointer-events": ["none", "auto"] }],
@@ -6419,12 +6419,12 @@ var it = (t) => {
6419
6419
  "scroll",
6420
6420
  "contents",
6421
6421
  "transform",
6422
- q
6422
+ V
6423
6423
  ] }],
6424
6424
  fill: [{ fill: [t, "none"] }],
6425
6425
  "stroke-w": [{ stroke: [
6426
6426
  Ae,
6427
- Fe,
6427
+ Me,
6428
6428
  tn
6429
6429
  ] }],
6430
6430
  stroke: [{ stroke: [t, "none"] }],
@@ -6573,7 +6573,7 @@ var it = (t) => {
6573
6573
  function m(...t) {
6574
6574
  return Up(zc(t));
6575
6575
  }
6576
- var Fp = class extends Ac {
6576
+ var Mp = class extends Ac {
6577
6577
  constructor() {
6578
6578
  super(...arguments), this.prevData = {};
6579
6579
  }
@@ -6596,7 +6596,7 @@ var Fp = class extends Ac {
6596
6596
  let { prevData: e, element: r } = this;
6597
6597
  if (e) for (let i in e) (!t || !(i in t) && r[i] === e[i]) && (r[i] = void 0);
6598
6598
  }
6599
- }, Mp = class extends Fp {
6599
+ }, Fp = class extends Mp {
6600
6600
  constructor() {
6601
6601
  super(...arguments), this.eventData = {};
6602
6602
  }
@@ -6636,7 +6636,7 @@ var Fp = class extends Ac {
6636
6636
  e.addEventListener(i, this, s);
6637
6637
  }
6638
6638
  }
6639
- }, Pt = _o(class extends Mp {
6639
+ }, Pt = _o(class extends Fp {
6640
6640
  apply(t) {
6641
6641
  if (!t) return;
6642
6642
  let { prevData: e, element: r } = this;
@@ -7550,7 +7550,7 @@ var gl = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, ml = zc, ua
7550
7550
  w
7551
7551
  ] : p;
7552
7552
  }, []), r == null ? void 0 : r.class, r == null ? void 0 : r.className);
7553
- }, Mi = ua([
7553
+ }, Fi = ua([
7554
7554
  "rtg-inline-flex rtg-items-center rtg-justify-center rtg-shrink-0",
7555
7555
  "rtg-text-button-font-size rtg-font-button-font-weight rtg-whitespace-nowrap",
7556
7556
  "rtg-rounded-button-radius rtg-outline-none",
@@ -7637,7 +7637,7 @@ var gl = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, ml = zc, ua
7637
7637
  "rtg-w-full"
7638
7638
  ],
7639
7639
  buttonPrevious: [
7640
- m(Mi({
7640
+ m(Fi({
7641
7641
  variant: "ghost",
7642
7642
  size: "icon-sm"
7643
7643
  })),
@@ -7645,7 +7645,7 @@ var gl = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, ml = zc, ua
7645
7645
  "aria-disabled:rtg-opacity-calendar-button-previous-opacity-disabled"
7646
7646
  ],
7647
7647
  buttonNext: [
7648
- m(Mi({
7648
+ m(Fi({
7649
7649
  variant: "ghost",
7650
7650
  size: "icon-sm"
7651
7651
  })),
@@ -7699,7 +7699,7 @@ var gl = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, ml = zc, ua
7699
7699
  },
7700
7700
  dayButton: {
7701
7701
  base: [
7702
- Mi({
7702
+ Fi({
7703
7703
  variant: "ghost",
7704
7704
  size: "icon"
7705
7705
  }),
@@ -7882,11 +7882,11 @@ var gl = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, ml = zc, ua
7882
7882
  ${Array.from({ length: Math.ceil(o.length / 7) }, (b, y) => d`
7883
7883
  <tr class=${m("calendar-week", X.week)}>
7884
7884
  ${o.slice(y * 7, (y + 1) * 7).map((w, E) => {
7885
- var jt, H, Yt;
7886
- let C = new Date(this.currentDate.getFullYear(), w.month, Number(w.day)), S = C.toDateString() === (/* @__PURE__ */ new Date()).toDateString(), k = this.mode === "range" && C.toDateString() === ((jt = this.selectedStartDate) == null ? void 0 : jt.toDateString()), T = this.mode === "range" && this.isDayInRange(C, !0), I = this.mode === "range" && C.toDateString() === ((H = this.selectedEndDate) == null ? void 0 : H.toDateString()), N = this.mode === "single" && C.toDateString() === ((Yt = this.selectedStartDate) == null ? void 0 : Yt.toDateString()), J = N || k || T || I, Y = E === 0, nt = E === 6, gt = S ? "Today, " : "";
7885
+ var jt, G, Yt;
7886
+ let C = new Date(this.currentDate.getFullYear(), w.month, Number(w.day)), S = C.toDateString() === (/* @__PURE__ */ new Date()).toDateString(), k = this.mode === "range" && C.toDateString() === ((jt = this.selectedStartDate) == null ? void 0 : jt.toDateString()), T = this.mode === "range" && this.isDayInRange(C, !0), I = this.mode === "range" && C.toDateString() === ((G = this.selectedEndDate) == null ? void 0 : G.toDateString()), z = this.mode === "single" && C.toDateString() === ((Yt = this.selectedStartDate) == null ? void 0 : Yt.toDateString()), J = z || k || T || I, Y = E === 0, nt = E === 6, gt = S ? "Today, " : "";
7887
7887
  return gt += Vp(C), gt += J ? ", selected" : "", d`
7888
7888
  <td
7889
- class=${m("calendar-day", X.day.base, S && !J && X.day.today, J && X.day.selected.common, N && X.day.selected.single, k && X.day.selected.range.start, T && X.day.selected.range.middle, I && X.day.selected.range.end, Y && X.day.index.first, nt && X.day.index.last, !1)}
7889
+ class=${m("calendar-day", X.day.base, S && !J && X.day.today, J && X.day.selected.common, z && X.day.selected.single, k && X.day.selected.range.start, T && X.day.selected.range.middle, I && X.day.selected.range.end, Y && X.day.index.first, nt && X.day.index.last, !1)}
7890
7890
  role="gridcell"
7891
7891
  data-day=${C.toISOString().slice(0, 10)}
7892
7892
  ?data-disabled=${void 0}
@@ -7904,11 +7904,11 @@ var gl = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, ml = zc, ua
7904
7904
  ?disabled=${void 0}
7905
7905
  data-variant="ghost"
7906
7906
  data-size="icon"
7907
- data-selected-single=${N.toString()}
7907
+ data-selected-single=${z.toString()}
7908
7908
  data-range-start=${k.toString()}
7909
7909
  data-range-middle=${T.toString()}
7910
7910
  data-range-end=${I.toString()}
7911
- tabindex=${N || I ? "0" : "-1"}
7911
+ tabindex=${z || I ? "0" : "-1"}
7912
7912
  type="button"
7913
7913
  aria-label=${gt}
7914
7914
  @click="${() => this.selectDate(Number(w.day), w.isOutside)}"
@@ -8600,7 +8600,7 @@ var _i = {
8600
8600
  }
8601
8601
  get _comboBox() {
8602
8602
  let t = this.parentElement;
8603
- for (; t && !(t instanceof Mt); ) t = t.parentElement;
8603
+ for (; t && !(t instanceof Ft); ) t = t.parentElement;
8604
8604
  return t;
8605
8605
  }
8606
8606
  getAttributesToExclude() {
@@ -8643,7 +8643,7 @@ var dn = class extends v {
8643
8643
  }
8644
8644
  get _comboBox() {
8645
8645
  let t = this.parentElement;
8646
- for (; t && !(t instanceof Mt); ) t = t.parentElement;
8646
+ for (; t && !(t instanceof Ft); ) t = t.parentElement;
8647
8647
  return t;
8648
8648
  }
8649
8649
  connectedCallback() {
@@ -8753,7 +8753,7 @@ var $r = class extends _ {
8753
8753
  }
8754
8754
  get _comboBox() {
8755
8755
  let e = this.parentElement;
8756
- for (; e && !(e instanceof Mt); ) e = e.parentElement;
8756
+ for (; e && !(e instanceof Ft); ) e = e.parentElement;
8757
8757
  return e;
8758
8758
  }
8759
8759
  handleComboBoxStateChanged(e) {
@@ -8952,7 +8952,7 @@ var El = class extends _ {
8952
8952
  }
8953
8953
  };
8954
8954
  El = l([u("rtg-combo-box-empty")], El);
8955
- var kl, Mt = class extends _ {
8955
+ var kl, Ft = class extends _ {
8956
8956
  constructor() {
8957
8957
  super(), this.isOpen = !1, this.selectedValue = "", this.searchTerm = "", this.focusedIndex = -1, this.filteredItems = [], this.uuid = ha(), this.label = "Select an item", this.items = [], this.handleClickOutside = (t) => {
8958
8958
  var i;
@@ -9008,7 +9008,7 @@ var kl, Mt = class extends _ {
9008
9008
  `;
9009
9009
  }
9010
9010
  };
9011
- l([a({ type: Boolean }), c("design:type", Object)], Mt.prototype, "isOpen", void 0), l([x(), c("design:type", Object)], Mt.prototype, "selectedValue", void 0), l([x(), c("design:type", Object)], Mt.prototype, "searchTerm", void 0), l([x(), c("design:type", Object)], Mt.prototype, "focusedIndex", void 0), l([x(), c("design:type", Array)], Mt.prototype, "filteredItems", void 0), l([x(), c("design:type", Object)], Mt.prototype, "uuid", void 0), l([a({ type: String }), c("design:type", String)], Mt.prototype, "label", void 0), l([a({ type: Array }), c("design:type", Object)], Mt.prototype, "items", void 0), l([ls('[part="combo-box"]'), c("design:type", typeof (kl = typeof HTMLDivElement < "u" && HTMLDivElement) == "function" ? kl : Object)], Mt.prototype, "parentDiveElement", void 0), Mt = l([u("rtg-combo-box"), c("design:paramtypes", [])], Mt);
9011
+ l([a({ type: Boolean }), c("design:type", Object)], Ft.prototype, "isOpen", void 0), l([x(), c("design:type", Object)], Ft.prototype, "selectedValue", void 0), l([x(), c("design:type", Object)], Ft.prototype, "searchTerm", void 0), l([x(), c("design:type", Object)], Ft.prototype, "focusedIndex", void 0), l([x(), c("design:type", Array)], Ft.prototype, "filteredItems", void 0), l([x(), c("design:type", Object)], Ft.prototype, "uuid", void 0), l([a({ type: String }), c("design:type", String)], Ft.prototype, "label", void 0), l([a({ type: Array }), c("design:type", Object)], Ft.prototype, "items", void 0), l([ls('[part="combo-box"]'), c("design:type", typeof (kl = typeof HTMLDivElement < "u" && HTMLDivElement) == "function" ? kl : Object)], Ft.prototype, "parentDiveElement", void 0), Ft = l([u("rtg-combo-box"), c("design:paramtypes", [])], Ft);
9012
9012
  var Ce = {
9013
9013
  root: [
9014
9014
  "rtg-flex rtg-overflow-hidden",
@@ -9249,7 +9249,7 @@ l([a({ type: String }), c("design:type", Object)], bs.prototype, "placeholder",
9249
9249
  attribute: "value",
9250
9250
  type: String
9251
9251
  }), c("design:type", Object)], bs.prototype, "_value", void 0), bs = l([u("rtg-command-input")], bs);
9252
- var Fs, Or, br = (Or = class extends _ {
9252
+ var Ms, Or, br = (Or = class extends _ {
9253
9253
  constructor(...e) {
9254
9254
  super(...e), this.selected = !1, this._id = "", this._hidden = "false", this.onSelect = () => {
9255
9255
  }, this.disabled = "false";
@@ -9260,7 +9260,7 @@ var Fs, Or, br = (Or = class extends _ {
9260
9260
  get identifier() {
9261
9261
  if (this._id !== "") return this._id;
9262
9262
  let e = this.parentElement;
9263
- return e ? this._id = `${e.getAttribute("id")}li${Fs._counter++}` : this._id = `rtgcmdrxgxli${Fs._counter++}`, this._id;
9263
+ return e ? this._id = `${e.getAttribute("id")}li${Ms._counter++}` : this._id = `rtgcmdrxgxli${Ms._counter++}`, this._id;
9264
9264
  }
9265
9265
  get value() {
9266
9266
  var e;
@@ -9300,7 +9300,7 @@ var Fs, Or, br = (Or = class extends _ {
9300
9300
  ></div>
9301
9301
  `;
9302
9302
  }
9303
- }, Fs = Or, Or._counter = 0, Or);
9303
+ }, Ms = Or, Or._counter = 0, Or);
9304
9304
  l([a({ type: String }), c("design:type", Object)], br.prototype, "_id", void 0), l([a({
9305
9305
  attribute: "aria-hidden",
9306
9306
  type: String
@@ -9315,7 +9315,7 @@ l([a({ type: String }), c("design:type", Object)], br.prototype, "_id", void 0),
9315
9315
  ], br.prototype, "containerElement", null), l([a({
9316
9316
  attribute: "data-disabled",
9317
9317
  type: String
9318
- }), c("design:type", String)], br.prototype, "disabled", void 0), br = Fs = l([u("rtg-command-item")], br);
9318
+ }), c("design:type", String)], br.prototype, "disabled", void 0), br = Ms = l([u("rtg-command-item")], br);
9319
9319
  var Rl = class extends _ {
9320
9320
  get identifier() {
9321
9321
  let t = this.parentElement;
@@ -9348,14 +9348,14 @@ var Rl = class extends _ {
9348
9348
  }
9349
9349
  };
9350
9350
  Rl = l([u("rtg-command-list")], Rl);
9351
- var Ms, Ir, fs = (Ir = class extends v {
9351
+ var Fs, Ir, fs = (Ir = class extends v {
9352
9352
  constructor(...e) {
9353
9353
  super(...e), this._id = "", this._hidden = "";
9354
9354
  }
9355
9355
  get identifier() {
9356
9356
  if (this._id !== "") return this._id;
9357
9357
  let e = this.parentElement;
9358
- return e ? this._id = `${e.getAttribute("id")}s${Ms._counter++}` : this._id = `rtgcmdrxlxs${Ms._counter++}`, this._id;
9358
+ return e ? this._id = `${e.getAttribute("id")}s${Fs._counter++}` : this._id = `rtgcmdrxlxs${Fs._counter++}`, this._id;
9359
9359
  }
9360
9360
  createRenderRoot() {
9361
9361
  return this;
@@ -9371,11 +9371,11 @@ var Ms, Ir, fs = (Ir = class extends v {
9371
9371
  ></div>
9372
9372
  `}`;
9373
9373
  }
9374
- }, Ms = Ir, Ir._counter = 0, Ir);
9374
+ }, Fs = Ir, Ir._counter = 0, Ir);
9375
9375
  l([a({ type: String }), c("design:type", Object)], fs.prototype, "_id", void 0), l([a({
9376
9376
  attribute: "aria-hidden",
9377
9377
  type: String
9378
- }), c("design:type", Object)], fs.prototype, "_hidden", void 0), fs = Ms = l([u("rtg-command-separator")], fs);
9378
+ }), c("design:type", Object)], fs.prototype, "_hidden", void 0), fs = Fs = l([u("rtg-command-separator")], fs);
9379
9379
  var Ol = class extends _ {
9380
9380
  get containerElement() {
9381
9381
  return this.querySelector("div[rtgcmd-root]");
@@ -10022,7 +10022,7 @@ var ys = {
10022
10022
  root: [""],
10023
10023
  trigger: [""],
10024
10024
  triggerButton: [
10025
- Mi({ variant: "outline" }).replace("rtg-justify-center", ""),
10025
+ Fi({ variant: "outline" }).replace("rtg-justify-center", ""),
10026
10026
  "rtg-justify-start",
10027
10027
  "rtg-w-date-picker-trigger-button-space-w",
10028
10028
  "rtg-text-left rtg-font-date-picker-trigger-button-font-weight",
@@ -10595,7 +10595,7 @@ var Ul = class extends _ {
10595
10595
  }
10596
10596
  };
10597
10597
  Ul = l([u("rtg-drawer-footer")], Ul);
10598
- var Fl = class extends _ {
10598
+ var Ml = class extends _ {
10599
10599
  get _containerElement() {
10600
10600
  return this.querySelector("div[part=drawer-header");
10601
10601
  }
@@ -10614,8 +10614,8 @@ var Fl = class extends _ {
10614
10614
  `;
10615
10615
  }
10616
10616
  };
10617
- Fl = l([u("rtg-drawer-header")], Fl);
10618
- var Ml = class extends v {
10617
+ Ml = l([u("rtg-drawer-header")], Ml);
10618
+ var Fl = class extends v {
10619
10619
  createRenderRoot() {
10620
10620
  return this;
10621
10621
  }
@@ -10628,7 +10628,7 @@ var Ml = class extends v {
10628
10628
  `;
10629
10629
  }
10630
10630
  };
10631
- Ml = l([u("rtg-drawer-overlay")], Ml);
10631
+ Fl = l([u("rtg-drawer-overlay")], Fl);
10632
10632
  var Bl = class extends _ {
10633
10633
  get _containerElement() {
10634
10634
  return this.querySelector("h2[part=drawer-title");
@@ -12283,7 +12283,7 @@ var ft = class extends v {
12283
12283
  }
12284
12284
  };
12285
12285
  l([a({ type: String }), c("design:type", Object)], ft.prototype, "autocomplete", void 0), l([a({ type: Number }), c("design:type", Number)], ft.prototype, "cols", void 0), l([a({ type: Boolean }), c("design:type", Boolean)], ft.prototype, "disabled", void 0), l([a({ type: String }), c("design:type", String)], ft.prototype, "form", void 0), l([a({ type: String }), c("design:type", Object)], ft.prototype, "id", void 0), l([a({ type: Boolean }), c("design:type", Boolean)], ft.prototype, "invalid", void 0), l([a({ type: Number }), c("design:type", Number)], ft.prototype, "maxlength", void 0), l([a({ type: Number }), c("design:type", Number)], ft.prototype, "minlength", void 0), l([a({ type: String }), c("design:type", String)], ft.prototype, "name", void 0), l([a({ type: String }), c("design:type", String)], ft.prototype, "placeholder", void 0), l([a({ type: Boolean }), c("design:type", Boolean)], ft.prototype, "readonly", void 0), l([a({ type: Boolean }), c("design:type", Boolean)], ft.prototype, "required", void 0), l([a({ type: Number }), c("design:type", Number)], ft.prototype, "rows", void 0), l([a({ type: String }), c("design:type", Object)], ft.prototype, "wrap", void 0), l([a({ type: String }), c("design:type", String)], ft.prototype, "value", void 0), l([a({ attribute: !1 }), c("design:type", Function)], ft.prototype, "onInput", void 0), l([a({ attribute: !1 }), c("design:type", Function)], ft.prototype, "onChange", void 0), l([a({ attribute: !1 }), c("design:type", Function)], ft.prototype, "onFocus", void 0), l([a({ attribute: !1 }), c("design:type", Function)], ft.prototype, "onBlur", void 0), ft = l([u("rtg-input-group-textarea")], ft);
12286
- var pt = class extends v {
12286
+ var ut = class extends v {
12287
12287
  constructor() {
12288
12288
  super(), this.autocomplete = "one-time-code", this.id = "", this.inputmode = "numeric", this._activeSlot = null, this._hasFocus = !1, this._value = "", this._children = [], this._handleBlur = (t) => {
12289
12289
  var e;
@@ -12430,10 +12430,10 @@ var pt = class extends v {
12430
12430
  `;
12431
12431
  }
12432
12432
  };
12433
- l([a({ type: String }), c("design:type", Object)], pt.prototype, "autocomplete", void 0), l([a({
12433
+ l([a({ type: String }), c("design:type", Object)], ut.prototype, "autocomplete", void 0), l([a({
12434
12434
  attribute: "default-value",
12435
12435
  type: String
12436
- }), c("design:type", String)], pt.prototype, "defaultValue", void 0), l([a({ type: Boolean }), c("design:type", Boolean)], pt.prototype, "disabled", void 0), l([a({ type: String }), c("design:type", String)], pt.prototype, "form", void 0), l([a({ type: String }), c("design:type", Object)], pt.prototype, "id", void 0), l([a({ type: String }), c("design:type", Object)], pt.prototype, "inputmode", void 0), l([a({ type: Number }), c("design:type", Number)], pt.prototype, "maxlength", void 0), l([a({ type: String }), c("design:type", String)], pt.prototype, "name", void 0), l([a({ type: String }), c("design:type", String)], pt.prototype, "pattern", void 0), l([a({ type: Boolean }), c("design:type", Boolean)], pt.prototype, "required", void 0), l([a({ type: String }), c("design:type", String)], pt.prototype, "value", void 0), l([a({ attribute: !1 }), c("design:type", Function)], pt.prototype, "onChange", void 0), l([a({ attribute: !1 }), c("design:type", Function)], pt.prototype, "onComplete", void 0), l([a({ attribute: !1 }), c("design:type", Function)], pt.prototype, "onBlur", void 0), l([a({ attribute: !1 }), c("design:type", Function)], pt.prototype, "onFocus", void 0), l([a({ attribute: !1 }), c("design:type", Function)], pt.prototype, "onPaste", void 0), l([a({ attribute: !1 }), c("design:type", Function)], pt.prototype, "pasteTransformer", void 0), l([x(), c("design:type", Object)], pt.prototype, "_activeSlot", void 0), l([x(), c("design:type", Object)], pt.prototype, "_hasFocus", void 0), l([x(), c("design:type", Object)], pt.prototype, "_value", void 0), pt = l([u("rtg-input-otp"), c("design:paramtypes", [])], pt);
12436
+ }), c("design:type", String)], ut.prototype, "defaultValue", void 0), l([a({ type: Boolean }), c("design:type", Boolean)], ut.prototype, "disabled", void 0), l([a({ type: String }), c("design:type", String)], ut.prototype, "form", void 0), l([a({ type: String }), c("design:type", Object)], ut.prototype, "id", void 0), l([a({ type: String }), c("design:type", Object)], ut.prototype, "inputmode", void 0), l([a({ type: Number }), c("design:type", Number)], ut.prototype, "maxlength", void 0), l([a({ type: String }), c("design:type", String)], ut.prototype, "name", void 0), l([a({ type: String }), c("design:type", String)], ut.prototype, "pattern", void 0), l([a({ type: Boolean }), c("design:type", Boolean)], ut.prototype, "required", void 0), l([a({ type: String }), c("design:type", String)], ut.prototype, "value", void 0), l([a({ attribute: !1 }), c("design:type", Function)], ut.prototype, "onChange", void 0), l([a({ attribute: !1 }), c("design:type", Function)], ut.prototype, "onComplete", void 0), l([a({ attribute: !1 }), c("design:type", Function)], ut.prototype, "onBlur", void 0), l([a({ attribute: !1 }), c("design:type", Function)], ut.prototype, "onFocus", void 0), l([a({ attribute: !1 }), c("design:type", Function)], ut.prototype, "onPaste", void 0), l([a({ attribute: !1 }), c("design:type", Function)], ut.prototype, "pasteTransformer", void 0), l([x(), c("design:type", Object)], ut.prototype, "_activeSlot", void 0), l([x(), c("design:type", Object)], ut.prototype, "_hasFocus", void 0), l([x(), c("design:type", Object)], ut.prototype, "_value", void 0), ut = l([u("rtg-input-otp"), c("design:paramtypes", [])], ut);
12437
12437
  var ld = class extends v {
12438
12438
  createRenderRoot() {
12439
12439
  return this;
@@ -13699,7 +13699,7 @@ var ge = {
13699
13699
  ],
13700
13700
  content: ["rtg-flex", "rtg-flex-row rtg-gap-pagination-content-space-gap rtg-items-center"],
13701
13701
  item: [""],
13702
- link: Mi,
13702
+ link: Fi,
13703
13703
  previous: {
13704
13704
  base: ["rtg-gap-pagination-previous-space-gap", "rtg-px-pagination-previous-space-px sm:rtg-pl-pagination-previous-space-px"],
13705
13705
  span: ["rtg-hidden sm:rtg-block"]
@@ -15368,7 +15368,7 @@ l([a({ type: String }), c("design:type", typeof (Dd = qc !== void 0 && void 0) =
15368
15368
  attribute: "data-state",
15369
15369
  type: String
15370
15370
  }), c("design:type", Object)], Ns.prototype, "state", void 0), Ns = Ks = l([u("rtg-toast-view-port")], Ns);
15371
- var Fd, Ws, Dr, Fn = (Dr = class extends _ {
15371
+ var Md, Ws, Dr, Mn = (Dr = class extends _ {
15372
15372
  constructor(...e) {
15373
15373
  super(...e), this.variant = "default";
15374
15374
  }
@@ -15404,8 +15404,8 @@ var Fd, Ws, Dr, Fn = (Dr = class extends _ {
15404
15404
  `;
15405
15405
  }
15406
15406
  }, Ws = Dr, Dr.toastVariants = Yi.action, Dr);
15407
- l([a({ type: String }), c("design:type", typeof (Fd = qc !== void 0 && void 0) == "function" ? Fd : Object)], Fn.prototype, "variant", void 0), Fn = Ws = l([u("rtg-toast-action")], Fn);
15408
- var Md = class extends _ {
15407
+ l([a({ type: String }), c("design:type", typeof (Md = qc !== void 0 && void 0) == "function" ? Md : Object)], Mn.prototype, "variant", void 0), Mn = Ws = l([u("rtg-toast-action")], Mn);
15408
+ var Fd = class extends _ {
15409
15409
  get _containerElement() {
15410
15410
  return this.querySelector("div[part=toast-description]");
15411
15411
  }
@@ -15426,7 +15426,7 @@ var Md = class extends _ {
15426
15426
  `;
15427
15427
  }
15428
15428
  };
15429
- Md = l([u("rtg-toast-description")], Md);
15429
+ Fd = l([u("rtg-toast-description")], Fd);
15430
15430
  var Bd = class extends _ {
15431
15431
  get _containerElement() {
15432
15432
  return this.querySelector("div[part=toast-title]");
@@ -15670,7 +15670,7 @@ var Vi = /* @__PURE__ */ (function(t) {
15670
15670
  md: "rtg-h-toggle-space-h-md rtg-px-toggle-space-px-md",
15671
15671
  lg: "rtg-h-toggle-space-h-lg rtg-px-toggle-space-px-lg"
15672
15672
  }
15673
- } }), Xd, Zd, Zn, Fr, xr = (Fr = class extends _ {
15673
+ } }), Xd, Zd, Zn, Mr, xr = (Mr = class extends _ {
15674
15674
  constructor(...e) {
15675
15675
  super(...e), this.disabled = !1, this.checked = !1, this.required = !1, this.variant = Hi.DEFAULT, this.size = Vi.SMALL;
15676
15676
  }
@@ -15720,7 +15720,7 @@ var Vi = /* @__PURE__ */ (function(t) {
15720
15720
  ></button>
15721
15721
  `;
15722
15722
  }
15723
- }, Zn = Fr, Fr.toggleVariants = vu, Fr);
15723
+ }, Zn = Mr, Mr.toggleVariants = vu, Mr);
15724
15724
  l([a({ type: Boolean }), c("design:type", Object)], xr.prototype, "disabled", void 0), l([a({
15725
15725
  attribute: !0,
15726
15726
  type: Boolean,
@@ -15768,7 +15768,7 @@ var Qd = class extends v {
15768
15768
  }
15769
15769
  };
15770
15770
  Qd = l([u("rtg-typography-code")], Qd);
15771
- var Mn = class extends v {
15771
+ var Fn = class extends v {
15772
15772
  constructor(...t) {
15773
15773
  super(...t), this.level = "h1";
15774
15774
  }
@@ -15792,7 +15792,7 @@ var Mn = class extends v {
15792
15792
  ` : d`<h1 data-slot="typography-h" data-level="${this.level}"></h1>`;
15793
15793
  }
15794
15794
  };
15795
- l([a({ type: String }), c("design:type", Object)], Mn.prototype, "level", void 0), Mn = l([u("rtg-typography-h")], Mn);
15795
+ l([a({ type: String }), c("design:type", Object)], Fn.prototype, "level", void 0), Fn = l([u("rtg-typography-h")], Fn);
15796
15796
  var tc = class extends v {
15797
15797
  createRenderRoot() {
15798
15798
  return this;
@@ -16180,7 +16180,7 @@ function Vc(t = window.React, e, r, i, s) {
16180
16180
  S !== null && _u(S, I), this.o = I, this.h = S;
16181
16181
  }), this.i = {};
16182
16182
  let T = { ref: this.u };
16183
- for (let [I, N] of Object.entries(k)) yu.has(I) ? T[I === "className" ? "class" : I] = N : y.has(I) || I in h.prototype ? this.i[I] = N : T[I] = N;
16183
+ for (let [I, z] of Object.entries(k)) yu.has(I) ? T[I === "className" ? "class" : I] = z : y.has(I) || I in h.prototype ? this.i[I] = z : T[I] = z;
16184
16184
  return T.suppressHydrationWarning = !0, b(n, T);
16185
16185
  }
16186
16186
  }
@@ -16207,40 +16207,40 @@ var xu = /* @__PURE__ */ Lc(((t) => {
16207
16207
  enqueueSetState: function() {
16208
16208
  }
16209
16209
  }, T = Object.assign, I = {};
16210
- function N(f, $, B) {
16211
- this.props = f, this.context = $, this.refs = I, this.updater = B || k;
16210
+ function z(f, $, q) {
16211
+ this.props = f, this.context = $, this.refs = I, this.updater = q || k;
16212
16212
  }
16213
- N.prototype.isReactComponent = {}, N.prototype.setState = function(f, $) {
16213
+ z.prototype.isReactComponent = {}, z.prototype.setState = function(f, $) {
16214
16214
  if (typeof f != "object" && typeof f != "function" && f != null) throw Error("takes an object of state variables to update or a function which returns an object of state variables.");
16215
16215
  this.updater.enqueueSetState(this, f, $, "setState");
16216
- }, N.prototype.forceUpdate = function(f) {
16216
+ }, z.prototype.forceUpdate = function(f) {
16217
16217
  this.updater.enqueueForceUpdate(this, f, "forceUpdate");
16218
16218
  };
16219
16219
  function J() {
16220
16220
  }
16221
- J.prototype = N.prototype;
16222
- function Y(f, $, B) {
16223
- this.props = f, this.context = $, this.refs = I, this.updater = B || k;
16221
+ J.prototype = z.prototype;
16222
+ function Y(f, $, q) {
16223
+ this.props = f, this.context = $, this.refs = I, this.updater = q || k;
16224
16224
  }
16225
16225
  var nt = Y.prototype = new J();
16226
- nt.constructor = Y, T(nt, N.prototype), nt.isPureReactComponent = !0;
16226
+ nt.constructor = Y, T(nt, z.prototype), nt.isPureReactComponent = !0;
16227
16227
  var gt = Array.isArray;
16228
16228
  function jt() {
16229
16229
  }
16230
- var H = {
16230
+ var G = {
16231
16231
  H: null,
16232
16232
  A: null,
16233
16233
  T: null,
16234
16234
  S: null
16235
16235
  }, Yt = Object.prototype.hasOwnProperty;
16236
- function de(f, $, B) {
16237
- var M = B.ref;
16236
+ function de(f, $, q) {
16237
+ var B = q.ref;
16238
16238
  return {
16239
16239
  $$typeof: e,
16240
16240
  type: f,
16241
16241
  key: $,
16242
- ref: M === void 0 ? null : M,
16243
- props: B
16242
+ ref: B === void 0 ? null : B,
16243
+ props: q
16244
16244
  };
16245
16245
  }
16246
16246
  function Oe(f, $) {
@@ -16254,8 +16254,8 @@ var xu = /* @__PURE__ */ Lc(((t) => {
16254
16254
  "=": "=0",
16255
16255
  ":": "=2"
16256
16256
  };
16257
- return "$" + f.replace(/[=:]/g, function(B) {
16258
- return $[B];
16257
+ return "$" + f.replace(/[=:]/g, function(q) {
16258
+ return $[q];
16259
16259
  });
16260
16260
  }
16261
16261
  var Qt = /\/+/g;
@@ -16282,7 +16282,7 @@ var xu = /* @__PURE__ */ Lc(((t) => {
16282
16282
  }
16283
16283
  throw f;
16284
16284
  }
16285
- function te(f, $, B, M, W) {
16285
+ function te(f, $, q, B, W) {
16286
16286
  var Q = typeof f;
16287
16287
  (Q === "undefined" || Q === "boolean") && (f = null);
16288
16288
  var rt = !1;
@@ -16300,36 +16300,36 @@ var xu = /* @__PURE__ */ Lc(((t) => {
16300
16300
  rt = !0;
16301
16301
  break;
16302
16302
  case w:
16303
- return rt = f._init, te(rt(f._payload), $, B, M, W);
16303
+ return rt = f._init, te(rt(f._payload), $, q, B, W);
16304
16304
  }
16305
16305
  }
16306
- if (rt) return W = W(f), rt = M === "" ? "." + Ie(f, 0) : M, gt(W) ? (B = "", rt != null && (B = rt.replace(Qt, "$&/") + "/"), te(W, $, B, "", function(fh) {
16306
+ if (rt) return W = W(f), rt = B === "" ? "." + Ie(f, 0) : B, gt(W) ? (q = "", rt != null && (q = rt.replace(Qt, "$&/") + "/"), te(W, $, q, "", function(fh) {
16307
16307
  return fh;
16308
- })) : W != null && (L(W) && (W = Oe(W, B + (W.key == null || f && f.key === W.key ? "" : ("" + W.key).replace(Qt, "$&/") + "/") + rt)), $.push(W)), 1;
16308
+ })) : W != null && (L(W) && (W = Oe(W, q + (W.key == null || f && f.key === W.key ? "" : ("" + W.key).replace(Qt, "$&/") + "/") + rt)), $.push(W)), 1;
16309
16309
  rt = 0;
16310
- var _e = M === "" ? "." : M + ":";
16311
- if (gt(f)) for (var Ft = 0; Ft < f.length; Ft++) M = f[Ft], Q = _e + Ie(M, Ft), rt += te(M, $, B, Q, W);
16312
- else if (Ft = S(f), typeof Ft == "function") for (f = Ft.call(f), Ft = 0; !(M = f.next()).done; ) M = M.value, Q = _e + Ie(M, Ft++), rt += te(M, $, B, Q, W);
16310
+ var _e = B === "" ? "." : B + ":";
16311
+ if (gt(f)) for (var Mt = 0; Mt < f.length; Mt++) B = f[Mt], Q = _e + Ie(B, Mt), rt += te(B, $, q, Q, W);
16312
+ else if (Mt = S(f), typeof Mt == "function") for (f = Mt.call(f), Mt = 0; !(B = f.next()).done; ) B = B.value, Q = _e + Ie(B, Mt++), rt += te(B, $, q, Q, W);
16313
16313
  else if (Q === "object") {
16314
- if (typeof f.then == "function") return te(ce(f), $, B, M, W);
16314
+ if (typeof f.then == "function") return te(ce(f), $, q, B, W);
16315
16315
  throw $ = String(f), Error("Objects are not valid as a React child (found: " + ($ === "[object Object]" ? "object with keys {" + Object.keys(f).join(", ") + "}" : $) + "). If you meant to render a collection of children, use an array instead.");
16316
16316
  }
16317
16317
  return rt;
16318
16318
  }
16319
- function ee(f, $, B) {
16319
+ function ee(f, $, q) {
16320
16320
  if (f == null) return f;
16321
- var M = [], W = 0;
16322
- return te(f, M, "", "", function(Q) {
16323
- return $.call(B, Q, W++);
16324
- }), M;
16321
+ var B = [], W = 0;
16322
+ return te(f, B, "", "", function(Q) {
16323
+ return $.call(q, Q, W++);
16324
+ }), B;
16325
16325
  }
16326
16326
  function Xt(f) {
16327
16327
  if (f._status === -1) {
16328
16328
  var $ = f._result;
16329
- $ = $(), $.then(function(B) {
16330
- (f._status === 0 || f._status === -1) && (f._status = 1, f._result = B);
16331
- }, function(B) {
16332
- (f._status === 0 || f._status === -1) && (f._status = 2, f._result = B);
16329
+ $ = $(), $.then(function(q) {
16330
+ (f._status === 0 || f._status === -1) && (f._status = 1, f._result = q);
16331
+ }, function(q) {
16332
+ (f._status === 0 || f._status === -1) && (f._status = 2, f._result = q);
16333
16333
  }), f._status === -1 && (f._status = 0, f._result = $);
16334
16334
  }
16335
16335
  if (f._status === 1) return f._result.default;
@@ -16351,10 +16351,10 @@ var xu = /* @__PURE__ */ Lc(((t) => {
16351
16351
  console.error(f);
16352
16352
  }, mt = {
16353
16353
  map: ee,
16354
- forEach: function(f, $, B) {
16354
+ forEach: function(f, $, q) {
16355
16355
  ee(f, function() {
16356
16356
  $.apply(this, arguments);
16357
- }, B);
16357
+ }, q);
16358
16358
  },
16359
16359
  count: function(f) {
16360
16360
  var $ = 0;
@@ -16372,10 +16372,10 @@ var xu = /* @__PURE__ */ Lc(((t) => {
16372
16372
  return f;
16373
16373
  }
16374
16374
  };
16375
- t.Activity = E, t.Children = mt, t.Component = N, t.Fragment = i, t.Profiler = o, t.PureComponent = Y, t.StrictMode = s, t.Suspense = b, t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = H, t.__COMPILER_RUNTIME = {
16375
+ t.Activity = E, t.Children = mt, t.Component = z, t.Fragment = i, t.Profiler = o, t.PureComponent = Y, t.StrictMode = s, t.Suspense = b, t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = G, t.__COMPILER_RUNTIME = {
16376
16376
  __proto__: null,
16377
16377
  c: function(f) {
16378
- return H.H.useMemoCache(f);
16378
+ return G.H.useMemoCache(f);
16379
16379
  }
16380
16380
  }, t.cache = function(f) {
16381
16381
  return function() {
@@ -16383,17 +16383,17 @@ var xu = /* @__PURE__ */ Lc(((t) => {
16383
16383
  };
16384
16384
  }, t.cacheSignal = function() {
16385
16385
  return null;
16386
- }, t.cloneElement = function(f, $, B) {
16386
+ }, t.cloneElement = function(f, $, q) {
16387
16387
  if (f == null) throw Error("The argument must be a React element, but you passed " + f + ".");
16388
- var M = T({}, f.props), W = f.key;
16389
- if ($ != null) for (Q in $.key !== void 0 && (W = "" + $.key), $) !Yt.call($, Q) || Q === "key" || Q === "__self" || Q === "__source" || Q === "ref" && $.ref === void 0 || (M[Q] = $[Q]);
16388
+ var B = T({}, f.props), W = f.key;
16389
+ if ($ != null) for (Q in $.key !== void 0 && (W = "" + $.key), $) !Yt.call($, Q) || Q === "key" || Q === "__self" || Q === "__source" || Q === "ref" && $.ref === void 0 || (B[Q] = $[Q]);
16390
16390
  var Q = arguments.length - 2;
16391
- if (Q === 1) M.children = B;
16391
+ if (Q === 1) B.children = q;
16392
16392
  else if (1 < Q) {
16393
16393
  for (var rt = Array(Q), _e = 0; _e < Q; _e++) rt[_e] = arguments[_e + 2];
16394
- M.children = rt;
16394
+ B.children = rt;
16395
16395
  }
16396
- return de(f.type, W, M);
16396
+ return de(f.type, W, B);
16397
16397
  }, t.createContext = function(f) {
16398
16398
  return f = {
16399
16399
  $$typeof: h,
@@ -16406,16 +16406,16 @@ var xu = /* @__PURE__ */ Lc(((t) => {
16406
16406
  $$typeof: n,
16407
16407
  _context: f
16408
16408
  }, f;
16409
- }, t.createElement = function(f, $, B) {
16410
- var M, W = {}, Q = null;
16411
- if ($ != null) for (M in $.key !== void 0 && (Q = "" + $.key), $) Yt.call($, M) && M !== "key" && M !== "__self" && M !== "__source" && (W[M] = $[M]);
16409
+ }, t.createElement = function(f, $, q) {
16410
+ var B, W = {}, Q = null;
16411
+ if ($ != null) for (B in $.key !== void 0 && (Q = "" + $.key), $) Yt.call($, B) && B !== "key" && B !== "__self" && B !== "__source" && (W[B] = $[B]);
16412
16412
  var rt = arguments.length - 2;
16413
- if (rt === 1) W.children = B;
16413
+ if (rt === 1) W.children = q;
16414
16414
  else if (1 < rt) {
16415
- for (var _e = Array(rt), Ft = 0; Ft < rt; Ft++) _e[Ft] = arguments[Ft + 2];
16415
+ for (var _e = Array(rt), Mt = 0; Mt < rt; Mt++) _e[Mt] = arguments[Mt + 2];
16416
16416
  W.children = _e;
16417
16417
  }
16418
- if (f && f.defaultProps) for (M in rt = f.defaultProps, rt) W[M] === void 0 && (W[M] = rt[M]);
16418
+ if (f && f.defaultProps) for (B in rt = f.defaultProps, rt) W[B] === void 0 && (W[B] = rt[B]);
16419
16419
  return de(f, Q, W);
16420
16420
  }, t.createRef = function() {
16421
16421
  return { current: null };
@@ -16440,55 +16440,55 @@ var xu = /* @__PURE__ */ Lc(((t) => {
16440
16440
  compare: $ === void 0 ? null : $
16441
16441
  };
16442
16442
  }, t.startTransition = function(f) {
16443
- var $ = H.T, B = {};
16444
- H.T = B;
16443
+ var $ = G.T, q = {};
16444
+ G.T = q;
16445
16445
  try {
16446
- var M = f(), W = H.S;
16447
- W !== null && W(B, M), typeof M == "object" && M && typeof M.then == "function" && M.then(jt, Ue);
16446
+ var B = f(), W = G.S;
16447
+ W !== null && W(q, B), typeof B == "object" && B && typeof B.then == "function" && B.then(jt, Ue);
16448
16448
  } catch (Q) {
16449
16449
  Ue(Q);
16450
16450
  } finally {
16451
- $ !== null && B.types !== null && ($.types = B.types), H.T = $;
16451
+ $ !== null && q.types !== null && ($.types = q.types), G.T = $;
16452
16452
  }
16453
16453
  }, t.unstable_useCacheRefresh = function() {
16454
- return H.H.useCacheRefresh();
16454
+ return G.H.useCacheRefresh();
16455
16455
  }, t.use = function(f) {
16456
- return H.H.use(f);
16457
- }, t.useActionState = function(f, $, B) {
16458
- return H.H.useActionState(f, $, B);
16456
+ return G.H.use(f);
16457
+ }, t.useActionState = function(f, $, q) {
16458
+ return G.H.useActionState(f, $, q);
16459
16459
  }, t.useCallback = function(f, $) {
16460
- return H.H.useCallback(f, $);
16460
+ return G.H.useCallback(f, $);
16461
16461
  }, t.useContext = function(f) {
16462
- return H.H.useContext(f);
16462
+ return G.H.useContext(f);
16463
16463
  }, t.useDebugValue = function() {
16464
16464
  }, t.useDeferredValue = function(f, $) {
16465
- return H.H.useDeferredValue(f, $);
16465
+ return G.H.useDeferredValue(f, $);
16466
16466
  }, t.useEffect = function(f, $) {
16467
- return H.H.useEffect(f, $);
16467
+ return G.H.useEffect(f, $);
16468
16468
  }, t.useEffectEvent = function(f) {
16469
- return H.H.useEffectEvent(f);
16469
+ return G.H.useEffectEvent(f);
16470
16470
  }, t.useId = function() {
16471
- return H.H.useId();
16472
- }, t.useImperativeHandle = function(f, $, B) {
16473
- return H.H.useImperativeHandle(f, $, B);
16471
+ return G.H.useId();
16472
+ }, t.useImperativeHandle = function(f, $, q) {
16473
+ return G.H.useImperativeHandle(f, $, q);
16474
16474
  }, t.useInsertionEffect = function(f, $) {
16475
- return H.H.useInsertionEffect(f, $);
16475
+ return G.H.useInsertionEffect(f, $);
16476
16476
  }, t.useLayoutEffect = function(f, $) {
16477
- return H.H.useLayoutEffect(f, $);
16477
+ return G.H.useLayoutEffect(f, $);
16478
16478
  }, t.useMemo = function(f, $) {
16479
- return H.H.useMemo(f, $);
16479
+ return G.H.useMemo(f, $);
16480
16480
  }, t.useOptimistic = function(f, $) {
16481
- return H.H.useOptimistic(f, $);
16482
- }, t.useReducer = function(f, $, B) {
16483
- return H.H.useReducer(f, $, B);
16481
+ return G.H.useOptimistic(f, $);
16482
+ }, t.useReducer = function(f, $, q) {
16483
+ return G.H.useReducer(f, $, q);
16484
16484
  }, t.useRef = function(f) {
16485
- return H.H.useRef(f);
16485
+ return G.H.useRef(f);
16486
16486
  }, t.useState = function(f) {
16487
- return H.H.useState(f);
16488
- }, t.useSyncExternalStore = function(f, $, B) {
16489
- return H.H.useSyncExternalStore(f, $, B);
16487
+ return G.H.useState(f);
16488
+ }, t.useSyncExternalStore = function(f, $, q) {
16489
+ return G.H.useSyncExternalStore(f, $, q);
16490
16490
  }, t.useTransition = function() {
16491
- return H.H.useTransition();
16491
+ return G.H.useTransition();
16492
16492
  }, t.version = "19.2.4";
16493
16493
  })), Hc = /* @__PURE__ */ ap((/* @__PURE__ */ Lc(((t, e) => {
16494
16494
  e.exports = xu();
@@ -16627,7 +16627,7 @@ function ju() {
16627
16627
  return i;
16628
16628
  }
16629
16629
  const fa = "-", Du = (t) => {
16630
- const e = Fu(t), {
16630
+ const e = Mu(t), {
16631
16631
  conflictingClassGroups: r,
16632
16632
  conflictingClassGroupModifiers: i
16633
16633
  } = t;
@@ -16660,7 +16660,7 @@ const fa = "-", Du = (t) => {
16660
16660
  if (r)
16661
16661
  return "arbitrary.." + r;
16662
16662
  }
16663
- }, Fu = (t) => {
16663
+ }, Mu = (t) => {
16664
16664
  const {
16665
16665
  theme: e,
16666
16666
  prefix: r
@@ -16679,7 +16679,7 @@ const fa = "-", Du = (t) => {
16679
16679
  return;
16680
16680
  }
16681
16681
  if (typeof s == "function") {
16682
- if (Mu(s)) {
16682
+ if (Fu(s)) {
16683
16683
  Jn(s(i), e, r, i);
16684
16684
  return;
16685
16685
  }
@@ -16701,7 +16701,7 @@ const fa = "-", Du = (t) => {
16701
16701
  validators: []
16702
16702
  }), r = r.nextPart.get(i);
16703
16703
  }), r;
16704
- }, Mu = (t) => t.isThemeGetter, Bu = (t, e) => e ? t.map(([r, i]) => {
16704
+ }, Fu = (t) => t.isThemeGetter, Bu = (t, e) => e ? t.map(([r, i]) => {
16705
16705
  const s = i.map((o) => typeof o == "string" ? e + o : typeof o == "object" ? Object.fromEntries(Object.entries(o).map(([n, h]) => [e + n, h])) : o);
16706
16706
  return [r, s];
16707
16707
  }) : t, qu = (t) => {
@@ -16799,10 +16799,10 @@ const fa = "-", Du = (t) => {
16799
16799
  }
16800
16800
  S = !1;
16801
16801
  }
16802
- const T = Hu(y).join(":"), I = w ? T + sh : T, N = I + k;
16803
- if (o.includes(N))
16802
+ const T = Hu(y).join(":"), I = w ? T + sh : T, z = I + k;
16803
+ if (o.includes(z))
16804
16804
  continue;
16805
- o.push(N);
16805
+ o.push(z);
16806
16806
  const J = s(k, S);
16807
16807
  for (let Y = 0; Y < J.length; ++Y) {
16808
16808
  const nt = J[Y];
@@ -16846,7 +16846,7 @@ function Xu(t, ...e) {
16846
16846
  const st = (t) => {
16847
16847
  const e = (r) => r[t] || [];
16848
16848
  return e.isThemeGetter = !0, e;
16849
- }, nh = /^\[(?:([a-z-]+):)?(.+)\]$/i, Zu = /^\d+\/\d+$/, Ju = /* @__PURE__ */ new Set(["px", "full", "screen"]), Qu = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, tg = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, eg = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, rg = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ig = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Pe = (t) => gi(t) || Ju.has(t) || Zu.test(t), Ke = (t) => xi(t, "length", hg), gi = (t) => !!t && !Number.isNaN(Number(t)), Vn = (t) => xi(t, "number", gi), Ni = (t) => !!t && Number.isInteger(Number(t)), sg = (t) => t.endsWith("%") && gi(t.slice(0, -1)), V = (t) => nh.test(t), We = (t) => Qu.test(t), og = /* @__PURE__ */ new Set(["length", "size", "percentage"]), ng = (t) => xi(t, og, ah), ag = (t) => xi(t, "position", ah), lg = /* @__PURE__ */ new Set(["image", "url"]), dg = (t) => xi(t, lg, ug), cg = (t) => xi(t, "", pg), zi = () => !0, xi = (t, e, r) => {
16849
+ }, nh = /^\[(?:([a-z-]+):)?(.+)\]$/i, Zu = /^\d+\/\d+$/, Ju = /* @__PURE__ */ new Set(["px", "full", "screen"]), Qu = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, tg = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, eg = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, rg = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ig = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Pe = (t) => gi(t) || Ju.has(t) || Zu.test(t), Ke = (t) => xi(t, "length", hg), gi = (t) => !!t && !Number.isNaN(Number(t)), Vn = (t) => xi(t, "number", gi), Ni = (t) => !!t && Number.isInteger(Number(t)), sg = (t) => t.endsWith("%") && gi(t.slice(0, -1)), H = (t) => nh.test(t), We = (t) => Qu.test(t), og = /* @__PURE__ */ new Set(["length", "size", "percentage"]), ng = (t) => xi(t, og, ah), ag = (t) => xi(t, "position", ah), lg = /* @__PURE__ */ new Set(["image", "url"]), dg = (t) => xi(t, lg, ug), cg = (t) => xi(t, "", pg), zi = () => !0, xi = (t, e, r) => {
16850
16850
  const i = nh.exec(t);
16851
16851
  return i ? i[1] ? typeof e == "string" ? i[1] === e : e.has(i[1]) : r(i[2]) : !1;
16852
16852
  }, hg = (t) => (
@@ -16855,17 +16855,17 @@ const st = (t) => {
16855
16855
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
16856
16856
  tg.test(t) && !eg.test(t)
16857
16857
  ), ah = () => !1, pg = (t) => rg.test(t), ug = (t) => ig.test(t), gg = () => {
16858
- const t = st("colors"), e = st("spacing"), r = st("blur"), i = st("brightness"), s = st("borderColor"), o = st("borderRadius"), n = st("borderSpacing"), h = st("borderWidth"), p = st("contrast"), b = st("grayscale"), y = st("hueRotate"), w = st("invert"), E = st("gap"), C = st("gradientColorStops"), S = st("gradientColorStopPositions"), k = st("inset"), T = st("margin"), I = st("opacity"), N = st("padding"), J = st("saturate"), Y = st("scale"), nt = st("sepia"), gt = st("skew"), jt = st("space"), H = st("translate"), Yt = () => ["auto", "contain", "none"], de = () => ["auto", "hidden", "clip", "visible", "scroll"], Oe = () => ["auto", V, e], L = () => [V, e], hr = () => ["", Pe, Ke], Qt = () => ["auto", gi, V], Ie = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], ce = () => ["solid", "dashed", "dotted", "double", "none"], te = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], ee = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], Xt = () => ["", "0", V], Ue = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], mt = () => [gi, V];
16858
+ const t = st("colors"), e = st("spacing"), r = st("blur"), i = st("brightness"), s = st("borderColor"), o = st("borderRadius"), n = st("borderSpacing"), h = st("borderWidth"), p = st("contrast"), b = st("grayscale"), y = st("hueRotate"), w = st("invert"), E = st("gap"), C = st("gradientColorStops"), S = st("gradientColorStopPositions"), k = st("inset"), T = st("margin"), I = st("opacity"), z = st("padding"), J = st("saturate"), Y = st("scale"), nt = st("sepia"), gt = st("skew"), jt = st("space"), G = st("translate"), Yt = () => ["auto", "contain", "none"], de = () => ["auto", "hidden", "clip", "visible", "scroll"], Oe = () => ["auto", H, e], L = () => [H, e], hr = () => ["", Pe, Ke], Qt = () => ["auto", gi, H], Ie = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], ce = () => ["solid", "dashed", "dotted", "double", "none"], te = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], ee = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], Xt = () => ["", "0", H], Ue = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], mt = () => [gi, H];
16859
16859
  return {
16860
16860
  cacheSize: 500,
16861
16861
  separator: ":",
16862
16862
  theme: {
16863
16863
  colors: [zi],
16864
16864
  spacing: [Pe, Ke],
16865
- blur: ["none", "", We, V],
16865
+ blur: ["none", "", We, H],
16866
16866
  brightness: mt(),
16867
16867
  borderColor: [t],
16868
- borderRadius: ["none", "", "full", We, V],
16868
+ borderRadius: ["none", "", "full", We, H],
16869
16869
  borderSpacing: L(),
16870
16870
  borderWidth: hr(),
16871
16871
  contrast: mt(),
@@ -16893,7 +16893,7 @@ const st = (t) => {
16893
16893
  * @see https://tailwindcss.com/docs/aspect-ratio
16894
16894
  */
16895
16895
  aspect: [{
16896
- aspect: ["auto", "square", "video", V]
16896
+ aspect: ["auto", "square", "video", H]
16897
16897
  }],
16898
16898
  /**
16899
16899
  * Container
@@ -16978,7 +16978,7 @@ const st = (t) => {
16978
16978
  * @see https://tailwindcss.com/docs/object-position
16979
16979
  */
16980
16980
  "object-position": [{
16981
- object: [...Ie(), V]
16981
+ object: [...Ie(), H]
16982
16982
  }],
16983
16983
  /**
16984
16984
  * Overflow
@@ -17100,7 +17100,7 @@ const st = (t) => {
17100
17100
  * @see https://tailwindcss.com/docs/z-index
17101
17101
  */
17102
17102
  z: [{
17103
- z: ["auto", Ni, V]
17103
+ z: ["auto", Ni, H]
17104
17104
  }],
17105
17105
  // Flexbox and Grid
17106
17106
  /**
@@ -17129,7 +17129,7 @@ const st = (t) => {
17129
17129
  * @see https://tailwindcss.com/docs/flex
17130
17130
  */
17131
17131
  flex: [{
17132
- flex: ["1", "auto", "initial", "none", V]
17132
+ flex: ["1", "auto", "initial", "none", H]
17133
17133
  }],
17134
17134
  /**
17135
17135
  * Flex Grow
@@ -17150,7 +17150,7 @@ const st = (t) => {
17150
17150
  * @see https://tailwindcss.com/docs/order
17151
17151
  */
17152
17152
  order: [{
17153
- order: ["first", "last", "none", Ni, V]
17153
+ order: ["first", "last", "none", Ni, H]
17154
17154
  }],
17155
17155
  /**
17156
17156
  * Grid Template Columns
@@ -17165,8 +17165,8 @@ const st = (t) => {
17165
17165
  */
17166
17166
  "col-start-end": [{
17167
17167
  col: ["auto", {
17168
- span: ["full", Ni, V]
17169
- }, V]
17168
+ span: ["full", Ni, H]
17169
+ }, H]
17170
17170
  }],
17171
17171
  /**
17172
17172
  * Grid Column Start
@@ -17195,8 +17195,8 @@ const st = (t) => {
17195
17195
  */
17196
17196
  "row-start-end": [{
17197
17197
  row: ["auto", {
17198
- span: [Ni, V]
17199
- }, V]
17198
+ span: [Ni, H]
17199
+ }, H]
17200
17200
  }],
17201
17201
  /**
17202
17202
  * Grid Row Start
@@ -17224,14 +17224,14 @@ const st = (t) => {
17224
17224
  * @see https://tailwindcss.com/docs/grid-auto-columns
17225
17225
  */
17226
17226
  "auto-cols": [{
17227
- "auto-cols": ["auto", "min", "max", "fr", V]
17227
+ "auto-cols": ["auto", "min", "max", "fr", H]
17228
17228
  }],
17229
17229
  /**
17230
17230
  * Grid Auto Rows
17231
17231
  * @see https://tailwindcss.com/docs/grid-auto-rows
17232
17232
  */
17233
17233
  "auto-rows": [{
17234
- "auto-rows": ["auto", "min", "max", "fr", V]
17234
+ "auto-rows": ["auto", "min", "max", "fr", H]
17235
17235
  }],
17236
17236
  /**
17237
17237
  * Gap
@@ -17323,63 +17323,63 @@ const st = (t) => {
17323
17323
  * @see https://tailwindcss.com/docs/padding
17324
17324
  */
17325
17325
  p: [{
17326
- p: [N]
17326
+ p: [z]
17327
17327
  }],
17328
17328
  /**
17329
17329
  * Padding X
17330
17330
  * @see https://tailwindcss.com/docs/padding
17331
17331
  */
17332
17332
  px: [{
17333
- px: [N]
17333
+ px: [z]
17334
17334
  }],
17335
17335
  /**
17336
17336
  * Padding Y
17337
17337
  * @see https://tailwindcss.com/docs/padding
17338
17338
  */
17339
17339
  py: [{
17340
- py: [N]
17340
+ py: [z]
17341
17341
  }],
17342
17342
  /**
17343
17343
  * Padding Start
17344
17344
  * @see https://tailwindcss.com/docs/padding
17345
17345
  */
17346
17346
  ps: [{
17347
- ps: [N]
17347
+ ps: [z]
17348
17348
  }],
17349
17349
  /**
17350
17350
  * Padding End
17351
17351
  * @see https://tailwindcss.com/docs/padding
17352
17352
  */
17353
17353
  pe: [{
17354
- pe: [N]
17354
+ pe: [z]
17355
17355
  }],
17356
17356
  /**
17357
17357
  * Padding Top
17358
17358
  * @see https://tailwindcss.com/docs/padding
17359
17359
  */
17360
17360
  pt: [{
17361
- pt: [N]
17361
+ pt: [z]
17362
17362
  }],
17363
17363
  /**
17364
17364
  * Padding Right
17365
17365
  * @see https://tailwindcss.com/docs/padding
17366
17366
  */
17367
17367
  pr: [{
17368
- pr: [N]
17368
+ pr: [z]
17369
17369
  }],
17370
17370
  /**
17371
17371
  * Padding Bottom
17372
17372
  * @see https://tailwindcss.com/docs/padding
17373
17373
  */
17374
17374
  pb: [{
17375
- pb: [N]
17375
+ pb: [z]
17376
17376
  }],
17377
17377
  /**
17378
17378
  * Padding Left
17379
17379
  * @see https://tailwindcss.com/docs/padding
17380
17380
  */
17381
17381
  pl: [{
17382
- pl: [N]
17382
+ pl: [z]
17383
17383
  }],
17384
17384
  /**
17385
17385
  * Margin
@@ -17474,21 +17474,21 @@ const st = (t) => {
17474
17474
  * @see https://tailwindcss.com/docs/width
17475
17475
  */
17476
17476
  w: [{
17477
- w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", V, e]
17477
+ w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", H, e]
17478
17478
  }],
17479
17479
  /**
17480
17480
  * Min-Width
17481
17481
  * @see https://tailwindcss.com/docs/min-width
17482
17482
  */
17483
17483
  "min-w": [{
17484
- "min-w": [V, e, "min", "max", "fit"]
17484
+ "min-w": [H, e, "min", "max", "fit"]
17485
17485
  }],
17486
17486
  /**
17487
17487
  * Max-Width
17488
17488
  * @see https://tailwindcss.com/docs/max-width
17489
17489
  */
17490
17490
  "max-w": [{
17491
- "max-w": [V, e, "none", "full", "min", "max", "fit", "prose", {
17491
+ "max-w": [H, e, "none", "full", "min", "max", "fit", "prose", {
17492
17492
  screen: [We]
17493
17493
  }, We]
17494
17494
  }],
@@ -17497,28 +17497,28 @@ const st = (t) => {
17497
17497
  * @see https://tailwindcss.com/docs/height
17498
17498
  */
17499
17499
  h: [{
17500
- h: [V, e, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
17500
+ h: [H, e, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
17501
17501
  }],
17502
17502
  /**
17503
17503
  * Min-Height
17504
17504
  * @see https://tailwindcss.com/docs/min-height
17505
17505
  */
17506
17506
  "min-h": [{
17507
- "min-h": [V, e, "min", "max", "fit", "svh", "lvh", "dvh"]
17507
+ "min-h": [H, e, "min", "max", "fit", "svh", "lvh", "dvh"]
17508
17508
  }],
17509
17509
  /**
17510
17510
  * Max-Height
17511
17511
  * @see https://tailwindcss.com/docs/max-height
17512
17512
  */
17513
17513
  "max-h": [{
17514
- "max-h": [V, e, "min", "max", "fit", "svh", "lvh", "dvh"]
17514
+ "max-h": [H, e, "min", "max", "fit", "svh", "lvh", "dvh"]
17515
17515
  }],
17516
17516
  /**
17517
17517
  * Size
17518
17518
  * @see https://tailwindcss.com/docs/size
17519
17519
  */
17520
17520
  size: [{
17521
- size: [V, e, "auto", "min", "max", "fit"]
17521
+ size: [H, e, "auto", "min", "max", "fit"]
17522
17522
  }],
17523
17523
  // Typography
17524
17524
  /**
@@ -17587,7 +17587,7 @@ const st = (t) => {
17587
17587
  * @see https://tailwindcss.com/docs/letter-spacing
17588
17588
  */
17589
17589
  tracking: [{
17590
- tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", V]
17590
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", H]
17591
17591
  }],
17592
17592
  /**
17593
17593
  * Line Clamp
@@ -17601,21 +17601,21 @@ const st = (t) => {
17601
17601
  * @see https://tailwindcss.com/docs/line-height
17602
17602
  */
17603
17603
  leading: [{
17604
- leading: ["none", "tight", "snug", "normal", "relaxed", "loose", Pe, V]
17604
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose", Pe, H]
17605
17605
  }],
17606
17606
  /**
17607
17607
  * List Style Image
17608
17608
  * @see https://tailwindcss.com/docs/list-style-image
17609
17609
  */
17610
17610
  "list-image": [{
17611
- "list-image": ["none", V]
17611
+ "list-image": ["none", H]
17612
17612
  }],
17613
17613
  /**
17614
17614
  * List Style Type
17615
17615
  * @see https://tailwindcss.com/docs/list-style-type
17616
17616
  */
17617
17617
  "list-style-type": [{
17618
- list: ["none", "disc", "decimal", V]
17618
+ list: ["none", "disc", "decimal", H]
17619
17619
  }],
17620
17620
  /**
17621
17621
  * List Style Position
@@ -17684,7 +17684,7 @@ const st = (t) => {
17684
17684
  * @see https://tailwindcss.com/docs/text-underline-offset
17685
17685
  */
17686
17686
  "underline-offset": [{
17687
- "underline-offset": ["auto", Pe, V]
17687
+ "underline-offset": ["auto", Pe, H]
17688
17688
  }],
17689
17689
  /**
17690
17690
  * Text Decoration Color
@@ -17722,7 +17722,7 @@ const st = (t) => {
17722
17722
  * @see https://tailwindcss.com/docs/vertical-align
17723
17723
  */
17724
17724
  "vertical-align": [{
17725
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", V]
17725
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", H]
17726
17726
  }],
17727
17727
  /**
17728
17728
  * Whitespace
@@ -17750,7 +17750,7 @@ const st = (t) => {
17750
17750
  * @see https://tailwindcss.com/docs/content
17751
17751
  */
17752
17752
  content: [{
17753
- content: ["none", V]
17753
+ content: ["none", H]
17754
17754
  }],
17755
17755
  // Backgrounds
17756
17756
  /**
@@ -18166,7 +18166,7 @@ const st = (t) => {
18166
18166
  * @see https://tailwindcss.com/docs/outline-offset
18167
18167
  */
18168
18168
  "outline-offset": [{
18169
- "outline-offset": [Pe, V]
18169
+ "outline-offset": [Pe, H]
18170
18170
  }],
18171
18171
  /**
18172
18172
  * Outline Width
@@ -18293,7 +18293,7 @@ const st = (t) => {
18293
18293
  * @see https://tailwindcss.com/docs/drop-shadow
18294
18294
  */
18295
18295
  "drop-shadow": [{
18296
- "drop-shadow": ["", "none", We, V]
18296
+ "drop-shadow": ["", "none", We, H]
18297
18297
  }],
18298
18298
  /**
18299
18299
  * Grayscale
@@ -18450,7 +18450,7 @@ const st = (t) => {
18450
18450
  * @see https://tailwindcss.com/docs/transition-property
18451
18451
  */
18452
18452
  transition: [{
18453
- transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", V]
18453
+ transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", H]
18454
18454
  }],
18455
18455
  /**
18456
18456
  * Transition Duration
@@ -18464,7 +18464,7 @@ const st = (t) => {
18464
18464
  * @see https://tailwindcss.com/docs/transition-timing-function
18465
18465
  */
18466
18466
  ease: [{
18467
- ease: ["linear", "in", "out", "in-out", V]
18467
+ ease: ["linear", "in", "out", "in-out", H]
18468
18468
  }],
18469
18469
  /**
18470
18470
  * Transition Delay
@@ -18478,7 +18478,7 @@ const st = (t) => {
18478
18478
  * @see https://tailwindcss.com/docs/animation
18479
18479
  */
18480
18480
  animate: [{
18481
- animate: ["none", "spin", "ping", "pulse", "bounce", V]
18481
+ animate: ["none", "spin", "ping", "pulse", "bounce", H]
18482
18482
  }],
18483
18483
  // Transforms
18484
18484
  /**
@@ -18514,21 +18514,21 @@ const st = (t) => {
18514
18514
  * @see https://tailwindcss.com/docs/rotate
18515
18515
  */
18516
18516
  rotate: [{
18517
- rotate: [Ni, V]
18517
+ rotate: [Ni, H]
18518
18518
  }],
18519
18519
  /**
18520
18520
  * Translate X
18521
18521
  * @see https://tailwindcss.com/docs/translate
18522
18522
  */
18523
18523
  "translate-x": [{
18524
- "translate-x": [H]
18524
+ "translate-x": [G]
18525
18525
  }],
18526
18526
  /**
18527
18527
  * Translate Y
18528
18528
  * @see https://tailwindcss.com/docs/translate
18529
18529
  */
18530
18530
  "translate-y": [{
18531
- "translate-y": [H]
18531
+ "translate-y": [G]
18532
18532
  }],
18533
18533
  /**
18534
18534
  * Skew X
@@ -18549,7 +18549,7 @@ const st = (t) => {
18549
18549
  * @see https://tailwindcss.com/docs/transform-origin
18550
18550
  */
18551
18551
  "transform-origin": [{
18552
- origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", V]
18552
+ origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", H]
18553
18553
  }],
18554
18554
  // Interactivity
18555
18555
  /**
@@ -18571,7 +18571,7 @@ const st = (t) => {
18571
18571
  * @see https://tailwindcss.com/docs/cursor
18572
18572
  */
18573
18573
  cursor: [{
18574
- cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", V]
18574
+ cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", H]
18575
18575
  }],
18576
18576
  /**
18577
18577
  * Caret Color
@@ -18793,7 +18793,7 @@ const st = (t) => {
18793
18793
  * @see https://tailwindcss.com/docs/will-change
18794
18794
  */
18795
18795
  "will-change": [{
18796
- "will-change": ["auto", "scroll", "contents", "transform", V]
18796
+ "will-change": ["auto", "scroll", "contents", "transform", H]
18797
18797
  }],
18798
18798
  // SVG
18799
18799
  /**
@@ -19547,8 +19547,8 @@ $i([
19547
19547
  Kr = $i([
19548
19548
  u("sb-spinner")
19549
19549
  ], Kr);
19550
- var Ug = Object.defineProperty, Fg = Object.getOwnPropertyDescriptor, $a = (t, e, r, i) => {
19551
- for (var s = i > 1 ? void 0 : i ? Fg(e, r) : e, o = t.length - 1, n; o >= 0; o--)
19550
+ var Ug = Object.defineProperty, Mg = Object.getOwnPropertyDescriptor, $a = (t, e, r, i) => {
19551
+ for (var s = i > 1 ? void 0 : i ? Mg(e, r) : e, o = t.length - 1, n; o >= 0; o--)
19552
19552
  (n = t[o]) && (s = (i ? n(e, r, s) : n(s)) || s);
19553
19553
  return i && s && Ug(e, r, s), s;
19554
19554
  };
@@ -19649,10 +19649,10 @@ $a([
19649
19649
  ao = $a([
19650
19650
  u("sb-otp-renderer")
19651
19651
  ], ao);
19652
- var Mg = Object.defineProperty, Bg = Object.getOwnPropertyDescriptor, Sa = (t, e, r, i) => {
19652
+ var Fg = Object.defineProperty, Bg = Object.getOwnPropertyDescriptor, Sa = (t, e, r, i) => {
19653
19653
  for (var s = i > 1 ? void 0 : i ? Bg(e, r) : e, o = t.length - 1, n; o >= 0; o--)
19654
19654
  (n = t[o]) && (s = (i ? n(e, r, s) : n(s)) || s);
19655
- return i && s && Mg(e, r, s), s;
19655
+ return i && s && Fg(e, r, s), s;
19656
19656
  };
19657
19657
  let lo = class extends v {
19658
19658
  /**
@@ -21130,15 +21130,15 @@ var wm = Object.defineProperty, _m = Object.getOwnPropertyDescriptor, _t = (t, e
21130
21130
  (n = t[o]) && (s = (i ? n(e, r, s) : n(s)) || s);
21131
21131
  return i && s && wm(e, r, s), s;
21132
21132
  };
21133
- let z = class extends v {
21133
+ let j = class extends v {
21134
21134
  constructor() {
21135
21135
  super(...arguments), this.seed = Nt(), this.name = "confirm", this.variant = "simple", this.content = "split", this.pair = "sb-password-field", this.label = "Confirm Password", this.requiredError = "Confirm password is a required field.", this.matchError = "Passwords do not match.", this._invalid = !1, this._error = "", this._value = "", this._form = null, this._handleInput = (t) => {
21136
21136
  const e = t.target;
21137
- e.matches(`[part="${z.parts.input}"] input`) && (this._value = e.value);
21137
+ e.matches(`[part="${j.parts.input}"] input`) && (this._value = e.value);
21138
21138
  }, this._handleFormSubmit = (t) => {
21139
21139
  this._validate() || t.preventDefault();
21140
21140
  }, this._handleFormReset = () => {
21141
- const t = `[part="${z.parts.input}"]`, e = this.variant === "toggle" ? `rtg-password-input${t}` : `rtg-input${t}`, r = this.querySelector(e);
21141
+ const t = `[part="${j.parts.input}"]`, e = this.variant === "toggle" ? `rtg-password-input${t}` : `rtg-input${t}`, r = this.querySelector(e);
21142
21142
  r && (r.value = ""), this._value = "", this._invalid = !1, this._error = "";
21143
21143
  };
21144
21144
  }
@@ -21166,49 +21166,49 @@ let z = class extends v {
21166
21166
  * derived from the component's part name and `seed`.
21167
21167
  */
21168
21168
  get rootId() {
21169
- return this.childId ?? `sb-${z.parts.root}-${this.seed}`;
21169
+ return this.childId ?? `sb-${j.parts.root}-${this.seed}`;
21170
21170
  }
21171
21171
  /**
21172
21172
  * The `id` of the field content element, derived from `rootId` with the
21173
21173
  * content part name appended.
21174
21174
  */
21175
21175
  get contentId() {
21176
- return `${this.rootId}-${z._CONTENT}`;
21176
+ return `${this.rootId}-${j._CONTENT}`;
21177
21177
  }
21178
21178
  /**
21179
21179
  * The `id` of the field label element, derived from `rootId` with the label
21180
21180
  * part name appended.
21181
21181
  */
21182
21182
  get labelId() {
21183
- return `${this.rootId}-${z._LABEL}`;
21183
+ return `${this.rootId}-${j._LABEL}`;
21184
21184
  }
21185
21185
  /**
21186
21186
  * The `id` of the field description element, derived from `rootId` with the
21187
21187
  * description part name appended.
21188
21188
  */
21189
21189
  get descriptionId() {
21190
- return `${this.rootId}-${z._DESCRIPTION}`;
21190
+ return `${this.rootId}-${j._DESCRIPTION}`;
21191
21191
  }
21192
21192
  /**
21193
21193
  * The `id` of the mark element, derived from `rootId` with the mark part name
21194
21194
  * appended.
21195
21195
  */
21196
21196
  get markId() {
21197
- return `${this.rootId}-${z._MARK}`;
21197
+ return `${this.rootId}-${j._MARK}`;
21198
21198
  }
21199
21199
  /**
21200
21200
  * The `id` of the input element, equal to `fieldId` when provided, otherwise
21201
21201
  * derived from `rootId` with the input part name appended.
21202
21202
  */
21203
21203
  get inputId() {
21204
- return this.fieldId ?? `${this.rootId}-${z._INPUT}`;
21204
+ return this.fieldId ?? `${this.rootId}-${j._INPUT}`;
21205
21205
  }
21206
21206
  /**
21207
21207
  * The `id` of the field error element, derived from `rootId` with the error
21208
21208
  * part name appended.
21209
21209
  */
21210
21210
  get errorId() {
21211
- return `${this.rootId}-${z._ERROR}`;
21211
+ return `${this.rootId}-${j._ERROR}`;
21212
21212
  }
21213
21213
  /**
21214
21214
  * Adds the input, form submit, and form reset event listeners.
@@ -21247,7 +21247,7 @@ let z = class extends v {
21247
21247
  * Defines and dispatches the validate event.
21248
21248
  */
21249
21249
  _dispatchValidate(t, e, r, i, s) {
21250
- const o = this.inputId, n = this.rootId, h = this.name, p = this.pair, b = new CustomEvent(z.validateEventName, {
21250
+ const o = this.inputId, n = this.rootId, h = this.name, p = this.pair, b = new CustomEvent(j.validateEventName, {
21251
21251
  detail: {
21252
21252
  id: o,
21253
21253
  parentId: n,
@@ -21315,7 +21315,7 @@ let z = class extends v {
21315
21315
  return !this.mark && (!this.caret || !this.required) ? g : d`
21316
21316
  <span
21317
21317
  id="${this.markId}"
21318
- part="${z.parts.mark}"
21318
+ part="${j.parts.mark}"
21319
21319
  data-content="${this.mark ? "text" : "caret"}"
21320
21320
  >
21321
21321
  ${this.mark ? this.mark : d`&ast;`}
@@ -21329,7 +21329,7 @@ let z = class extends v {
21329
21329
  return d`
21330
21330
  <rtg-field-label
21331
21331
  id="${this.labelId}"
21332
- part="${z.parts.label}"
21332
+ part="${j.parts.label}"
21333
21333
  for="${this.inputId}"
21334
21334
  >
21335
21335
  ${this.label} ${this._renderMark()}
@@ -21343,7 +21343,7 @@ let z = class extends v {
21343
21343
  return this.description ? d`
21344
21344
  <rtg-field-description
21345
21345
  id="${this.descriptionId}"
21346
- part="${z.parts.description}"
21346
+ part="${j.parts.description}"
21347
21347
  >
21348
21348
  ${this.description}
21349
21349
  </rtg-field-description>
@@ -21357,7 +21357,7 @@ let z = class extends v {
21357
21357
  return this._invalid ? d`
21358
21358
  <rtg-field-error
21359
21359
  id="${this.errorId}"
21360
- part="${z.parts.error}"
21360
+ part="${j.parts.error}"
21361
21361
  .errors="${[{ message: this._error }]}"
21362
21362
  ></rtg-field-error>
21363
21363
  ` : g;
@@ -21366,7 +21366,7 @@ let z = class extends v {
21366
21366
  return d`
21367
21367
  <rtg-field
21368
21368
  id="${this.rootId}"
21369
- part="${z.parts.root}"
21369
+ part="${j.parts.root}"
21370
21370
  data-variant="${this.variant}"
21371
21371
  data-content="${this.content}"
21372
21372
  ?disabled="${this.disabled}"
@@ -21375,7 +21375,7 @@ let z = class extends v {
21375
21375
  ${this.content === "group" ? d`
21376
21376
  <rtg-field-content
21377
21377
  id="${this.contentId}"
21378
- part="${z.parts.content}"
21378
+ part="${j.parts.content}"
21379
21379
  >
21380
21380
  ${this._renderLabel()} ${this._renderDescription()}
21381
21381
  </rtg-field-content>
@@ -21383,7 +21383,7 @@ let z = class extends v {
21383
21383
  ${this.variant === "toggle" ? d`
21384
21384
  <rtg-password-input
21385
21385
  id="${this.inputId}"
21386
- part="${z.parts.input}"
21386
+ part="${j.parts.input}"
21387
21387
  name="${this.name}"
21388
21388
  placeholder="${this.placeholder ?? g}"
21389
21389
  ?disabled="${this.disabled}"
@@ -21393,7 +21393,7 @@ let z = class extends v {
21393
21393
  ` : d`
21394
21394
  <rtg-input
21395
21395
  id="${this.inputId}"
21396
- part="${z.parts.input}"
21396
+ part="${j.parts.input}"
21397
21397
  type="password"
21398
21398
  name="${this.name}"
21399
21399
  placeholder="${this.placeholder ?? g}"
@@ -21408,89 +21408,89 @@ let z = class extends v {
21408
21408
  `;
21409
21409
  }
21410
21410
  };
21411
- z._ROOT = "confirm-field";
21412
- z._CONTENT = "content";
21413
- z._LABEL = "label";
21414
- z._MARK = "mark";
21415
- z._DESCRIPTION = "description";
21416
- z._INPUT = "input";
21417
- z._ERROR = "error";
21418
- z.TAG = `sb-${z._ROOT}`;
21411
+ j._ROOT = "confirm-field";
21412
+ j._CONTENT = "content";
21413
+ j._LABEL = "label";
21414
+ j._MARK = "mark";
21415
+ j._DESCRIPTION = "description";
21416
+ j._INPUT = "input";
21417
+ j._ERROR = "error";
21418
+ j.TAG = `sb-${j._ROOT}`;
21419
21419
  _t([
21420
21420
  a({ type: String })
21421
- ], z.prototype, "seed", 2);
21421
+ ], j.prototype, "seed", 2);
21422
21422
  _t([
21423
21423
  a({ attribute: "child-id", type: String })
21424
- ], z.prototype, "childId", 2);
21424
+ ], j.prototype, "childId", 2);
21425
21425
  _t([
21426
21426
  a({ attribute: "field-id", type: String })
21427
- ], z.prototype, "fieldId", 2);
21427
+ ], j.prototype, "fieldId", 2);
21428
21428
  _t([
21429
21429
  a({ type: String })
21430
- ], z.prototype, "name", 2);
21430
+ ], j.prototype, "name", 2);
21431
21431
  _t([
21432
21432
  a({ type: String })
21433
- ], z.prototype, "variant", 2);
21433
+ ], j.prototype, "variant", 2);
21434
21434
  _t([
21435
21435
  a({ type: String })
21436
- ], z.prototype, "content", 2);
21436
+ ], j.prototype, "content", 2);
21437
21437
  _t([
21438
21438
  a({ type: String })
21439
- ], z.prototype, "pair", 2);
21439
+ ], j.prototype, "pair", 2);
21440
21440
  _t([
21441
21441
  a({ type: String })
21442
- ], z.prototype, "label", 2);
21442
+ ], j.prototype, "label", 2);
21443
21443
  _t([
21444
21444
  a({ type: String })
21445
- ], z.prototype, "placeholder", 2);
21445
+ ], j.prototype, "placeholder", 2);
21446
21446
  _t([
21447
21447
  a({ type: String })
21448
- ], z.prototype, "description", 2);
21448
+ ], j.prototype, "description", 2);
21449
21449
  _t([
21450
21450
  a({ type: String })
21451
- ], z.prototype, "mark", 2);
21451
+ ], j.prototype, "mark", 2);
21452
21452
  _t([
21453
21453
  a({ type: Boolean })
21454
- ], z.prototype, "caret", 2);
21454
+ ], j.prototype, "caret", 2);
21455
21455
  _t([
21456
21456
  a({ type: Boolean })
21457
- ], z.prototype, "disabled", 2);
21457
+ ], j.prototype, "disabled", 2);
21458
21458
  _t([
21459
21459
  a({ type: Boolean })
21460
- ], z.prototype, "required", 2);
21460
+ ], j.prototype, "required", 2);
21461
21461
  _t([
21462
21462
  a({ attribute: "required-error", type: String })
21463
- ], z.prototype, "requiredError", 2);
21463
+ ], j.prototype, "requiredError", 2);
21464
21464
  _t([
21465
21465
  a({ attribute: "match-error", type: String })
21466
- ], z.prototype, "matchError", 2);
21466
+ ], j.prototype, "matchError", 2);
21467
21467
  _t([
21468
21468
  x()
21469
- ], z.prototype, "_invalid", 2);
21469
+ ], j.prototype, "_invalid", 2);
21470
21470
  _t([
21471
21471
  x()
21472
- ], z.prototype, "_error", 2);
21472
+ ], j.prototype, "_error", 2);
21473
21473
  _t([
21474
21474
  x()
21475
- ], z.prototype, "_value", 2);
21476
- z = _t([
21475
+ ], j.prototype, "_value", 2);
21476
+ j = _t([
21477
21477
  u("sb-confirm-field")
21478
- ], z);
21478
+ ], j);
21479
21479
  var xm = Object.defineProperty, $m = Object.getOwnPropertyDescriptor, Rt = (t, e, r, i) => {
21480
21480
  for (var s = i > 1 ? void 0 : i ? $m(e, r) : e, o = t.length - 1, n; o >= 0; o--)
21481
21481
  (n = t[o]) && (s = (i ? n(e, r, s) : n(s)) || s);
21482
21482
  return i && s && xm(e, r, s), s;
21483
21483
  };
21484
- let j = class extends v {
21484
+ let D = class extends v {
21485
21485
  constructor() {
21486
21486
  super(...arguments), this.seed = Nt(), this.name = "email", this.content = "split", this.label = "Email", this.requiredError = "Email is a required field.", this.formatError = "Enter a valid email address.", this._invalid = !1, this._error = "", this._value = "", this._form = null, this._handleInput = (t) => {
21487
21487
  const e = t.target;
21488
- e.matches(`[part="${j.parts.input}"]>input`) && (this._value = e.value);
21488
+ e.matches(`[part="${D.parts.input}"]>input`) && (this._value = e.value);
21489
21489
  }, this._handleFormSubmit = (t) => {
21490
21490
  this._validate() || t.preventDefault();
21491
21491
  }, this._handleFormReset = () => {
21492
21492
  const t = this.querySelector(
21493
- `rtg-input[part="${j.parts.input}"]`
21493
+ `rtg-input[part="${D.parts.input}"]`
21494
21494
  );
21495
21495
  t && (t.value = ""), this._value = "", this._invalid = !1, this._error = "";
21496
21496
  };
@@ -21519,49 +21519,49 @@ let j = class extends v {
21519
21519
  * derived from the component's part name and `seed`.
21520
21520
  */
21521
21521
  get rootId() {
21522
- return this.childId ?? `sb-${j.parts.root}-${this.seed}`;
21522
+ return this.childId ?? `sb-${D.parts.root}-${this.seed}`;
21523
21523
  }
21524
21524
  /**
21525
21525
  * The `id` of the field content element, derived from `rootId` with the
21526
21526
  * content part name appended.
21527
21527
  */
21528
21528
  get contentId() {
21529
- return `${this.rootId}-${j._CONTENT}`;
21529
+ return `${this.rootId}-${D._CONTENT}`;
21530
21530
  }
21531
21531
  /**
21532
21532
  * The `id` of the field label element, derived from `rootId` with the label
21533
21533
  * part name appended.
21534
21534
  */
21535
21535
  get labelId() {
21536
- return `${this.rootId}-${j._LABEL}`;
21536
+ return `${this.rootId}-${D._LABEL}`;
21537
21537
  }
21538
21538
  /**
21539
21539
  * The `id` of the field description element, derived from `rootId` with the
21540
21540
  * description part name appended.
21541
21541
  */
21542
21542
  get descriptionId() {
21543
- return `${this.rootId}-${j._DESCRIPTION}`;
21543
+ return `${this.rootId}-${D._DESCRIPTION}`;
21544
21544
  }
21545
21545
  /**
21546
21546
  * The `id` of the mark element, derived from `rootId` with the mark part name
21547
21547
  * appended.
21548
21548
  */
21549
21549
  get markId() {
21550
- return `${this.rootId}-${j._MARK}`;
21550
+ return `${this.rootId}-${D._MARK}`;
21551
21551
  }
21552
21552
  /**
21553
21553
  * The `id` of the input element, equal to `fieldId` when provided, otherwise
21554
21554
  * derived from `rootId` with the input part name appended.
21555
21555
  */
21556
21556
  get inputId() {
21557
- return this.fieldId ?? `${this.rootId}-${j._INPUT}`;
21557
+ return this.fieldId ?? `${this.rootId}-${D._INPUT}`;
21558
21558
  }
21559
21559
  /**
21560
21560
  * The `id` of the field error element, derived from `rootId` with the error
21561
21561
  * part name appended.
21562
21562
  */
21563
21563
  get errorId() {
21564
- return `${this.rootId}-${j._ERROR}`;
21564
+ return `${this.rootId}-${D._ERROR}`;
21565
21565
  }
21566
21566
  /**
21567
21567
  * Returns a the normalized value of `_value` by trimming whitespace and
@@ -21595,7 +21595,7 @@ let j = class extends v {
21595
21595
  * Defines and dispatches the validate event.
21596
21596
  */
21597
21597
  _dispatchValidate(t, e, r, i) {
21598
- const s = this.inputId, o = this.rootId, n = this.name, h = new CustomEvent(j.validateEventName, {
21598
+ const s = this.inputId, o = this.rootId, n = this.name, h = new CustomEvent(D.validateEventName, {
21599
21599
  detail: { id: s, parentId: o, name: n, value: r, valid: t, type: e, message: i },
21600
21600
  bubbles: !0,
21601
21601
  composed: !0
@@ -21618,7 +21618,7 @@ let j = class extends v {
21618
21618
  * otherwise dispatching and displaying the format error.
21619
21619
  */
21620
21620
  _validateFormat(t) {
21621
- if (!this.required && t === "" || j._PATTERN.test(t))
21621
+ if (!this.required && t === "" || D._PATTERN.test(t))
21622
21622
  return !0;
21623
21623
  const e = this.formatError;
21624
21624
  return this._invalid = !0, this._error = e, this._dispatchValidate(!1, "format", t, e), !1;
@@ -21645,7 +21645,7 @@ let j = class extends v {
21645
21645
  return !this.mark && (!this.caret || !this.required) ? g : d`
21646
21646
  <span
21647
21647
  id="${this.markId}"
21648
- part="${j.parts.mark}"
21648
+ part="${D.parts.mark}"
21649
21649
  data-content="${this.mark ? "text" : "caret"}"
21650
21650
  >
21651
21651
  ${this.mark ? this.mark : d`&ast;`}
@@ -21659,7 +21659,7 @@ let j = class extends v {
21659
21659
  return d`
21660
21660
  <rtg-field-label
21661
21661
  id="${this.labelId}"
21662
- part="${j.parts.label}"
21662
+ part="${D.parts.label}"
21663
21663
  for="${this.inputId}"
21664
21664
  >
21665
21665
  ${this.label} ${this._renderMark()}
@@ -21673,7 +21673,7 @@ let j = class extends v {
21673
21673
  return this.description ? d`
21674
21674
  <rtg-field-description
21675
21675
  id="${this.descriptionId}"
21676
- part="${j.parts.description}"
21676
+ part="${D.parts.description}"
21677
21677
  >
21678
21678
  ${this.description}
21679
21679
  </rtg-field-description>
@@ -21687,7 +21687,7 @@ let j = class extends v {
21687
21687
  return this._invalid ? d`
21688
21688
  <rtg-field-error
21689
21689
  id="${this.errorId}"
21690
- part="${j.parts.error}"
21690
+ part="${D.parts.error}"
21691
21691
  .errors=${[{ message: this._error }]}
21692
21692
  ></rtg-field-error>
21693
21693
  ` : g;
@@ -21696,7 +21696,7 @@ let j = class extends v {
21696
21696
  return d`
21697
21697
  <rtg-field
21698
21698
  id="${this.rootId}"
21699
- part="${j.parts.root}"
21699
+ part="${D.parts.root}"
21700
21700
  data-content="${this.content}"
21701
21701
  ?disabled="${this.disabled}"
21702
21702
  ?invalid="${this._invalid}"
@@ -21704,7 +21704,7 @@ let j = class extends v {
21704
21704
  ${this.content === "group" ? d`
21705
21705
  <rtg-field-content
21706
21706
  id="${this.contentId}"
21707
- part="${j.parts.content}"
21707
+ part="${D.parts.content}"
21708
21708
  >
21709
21709
  ${this._renderLabel()} ${this._renderDescription()}
21710
21710
  </rtg-field-content>
@@ -21712,7 +21712,7 @@ let j = class extends v {
21712
21712
 
21713
21713
  <rtg-input
21714
21714
  id="${this.inputId}"
21715
- part="${j.parts.input}"
21715
+ part="${D.parts.input}"
21716
21716
  type="email"
21717
21717
  name="${this.name}"
21718
21718
  placeholder="${this.placeholder ?? g}"
@@ -21727,84 +21727,84 @@ let j = class extends v {
21727
21727
  `;
21728
21728
  }
21729
21729
  };
21730
- j._ROOT = "email-field";
21731
- j._CONTENT = "content";
21732
- j._LABEL = "label";
21733
- j._MARK = "mark";
21734
- j._DESCRIPTION = "description";
21735
- j._INPUT = "input";
21736
- j._ERROR = "error";
21737
- j.TAG = `sb-${j._ROOT}`;
21738
- j._PATTERN = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
21730
+ D._ROOT = "email-field";
21731
+ D._CONTENT = "content";
21732
+ D._LABEL = "label";
21733
+ D._MARK = "mark";
21734
+ D._DESCRIPTION = "description";
21735
+ D._INPUT = "input";
21736
+ D._ERROR = "error";
21737
+ D.TAG = `sb-${D._ROOT}`;
21738
+ D._PATTERN = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
21739
21739
  Rt([
21740
21740
  a({ type: String })
21741
- ], j.prototype, "seed", 2);
21741
+ ], D.prototype, "seed", 2);
21742
21742
  Rt([
21743
21743
  a({ attribute: "child-id", type: String })
21744
- ], j.prototype, "childId", 2);
21744
+ ], D.prototype, "childId", 2);
21745
21745
  Rt([
21746
21746
  a({ attribute: "field-id", type: String })
21747
- ], j.prototype, "fieldId", 2);
21747
+ ], D.prototype, "fieldId", 2);
21748
21748
  Rt([
21749
21749
  a({ type: String })
21750
- ], j.prototype, "name", 2);
21750
+ ], D.prototype, "name", 2);
21751
21751
  Rt([
21752
21752
  a({ type: String })
21753
- ], j.prototype, "content", 2);
21753
+ ], D.prototype, "content", 2);
21754
21754
  Rt([
21755
21755
  a({ type: String })
21756
- ], j.prototype, "label", 2);
21756
+ ], D.prototype, "label", 2);
21757
21757
  Rt([
21758
21758
  a({ type: String })
21759
- ], j.prototype, "placeholder", 2);
21759
+ ], D.prototype, "placeholder", 2);
21760
21760
  Rt([
21761
21761
  a({ type: String })
21762
- ], j.prototype, "description", 2);
21762
+ ], D.prototype, "description", 2);
21763
21763
  Rt([
21764
21764
  a({ type: String })
21765
- ], j.prototype, "mark", 2);
21765
+ ], D.prototype, "mark", 2);
21766
21766
  Rt([
21767
21767
  a({ type: Boolean })
21768
- ], j.prototype, "caret", 2);
21768
+ ], D.prototype, "caret", 2);
21769
21769
  Rt([
21770
21770
  a({ type: Boolean })
21771
- ], j.prototype, "disabled", 2);
21771
+ ], D.prototype, "disabled", 2);
21772
21772
  Rt([
21773
21773
  a({ type: Boolean })
21774
- ], j.prototype, "required", 2);
21774
+ ], D.prototype, "required", 2);
21775
21775
  Rt([
21776
21776
  a({ attribute: "required-error", type: String })
21777
- ], j.prototype, "requiredError", 2);
21777
+ ], D.prototype, "requiredError", 2);
21778
21778
  Rt([
21779
21779
  a({ attribute: "format-error", type: String })
21780
- ], j.prototype, "formatError", 2);
21780
+ ], D.prototype, "formatError", 2);
21781
21781
  Rt([
21782
21782
  x()
21783
- ], j.prototype, "_invalid", 2);
21783
+ ], D.prototype, "_invalid", 2);
21784
21784
  Rt([
21785
21785
  x()
21786
- ], j.prototype, "_error", 2);
21786
+ ], D.prototype, "_error", 2);
21787
21787
  Rt([
21788
21788
  x()
21789
- ], j.prototype, "_value", 2);
21790
- j = Rt([
21789
+ ], D.prototype, "_value", 2);
21790
+ D = Rt([
21791
21791
  u("sb-email-field")
21792
- ], j);
21792
+ ], D);
21793
21793
  var Sm = Object.defineProperty, Cm = Object.getOwnPropertyDescriptor, Ct = (t, e, r, i) => {
21794
21794
  for (var s = i > 1 ? void 0 : i ? Cm(e, r) : e, o = t.length - 1, n; o >= 0; o--)
21795
21795
  (n = t[o]) && (s = (i ? n(e, r, s) : n(s)) || s);
21796
21796
  return i && s && Sm(e, r, s), s;
21797
21797
  };
21798
- let U = class extends v {
21798
+ let M = class extends v {
21799
21799
  constructor() {
21800
21800
  super(...arguments), this.seed = Nt(), this.name = "identifier", this.identifiers = [], this.content = "split", this.requiredError = "Identifier is a required field.", this._invalid = !1, this._error = "", this._value = "", this._form = null, this._handleInput = (t) => {
21801
21801
  const e = t.target;
21802
- e.matches(`[part="${U.parts.input}"]>input`) && (this._value = e.value);
21802
+ e.matches(`[part="${M.parts.input}"]>input`) && (this._value = e.value);
21803
21803
  }, this._handleFormSubmit = (t) => {
21804
21804
  this._validate() || t.preventDefault();
21805
21805
  }, this._handleFormReset = () => {
21806
21806
  const t = this.querySelector(
21807
- `rtg-input[part="${U.parts.input}"]`
21807
+ `rtg-input[part="${M.parts.input}"]`
21808
21808
  );
21809
21809
  t && (t.value = ""), this._value = "", this._invalid = !1, this._error = "";
21810
21810
  };
@@ -21833,49 +21833,49 @@ let U = class extends v {
21833
21833
  * derived from the component's part name and `seed`.
21834
21834
  */
21835
21835
  get rootId() {
21836
- return this.childId ?? `sb-${U.parts.root}-${this.seed}`;
21836
+ return this.childId ?? `sb-${M.parts.root}-${this.seed}`;
21837
21837
  }
21838
21838
  /**
21839
21839
  * The `id` of the field content element, derived from `rootId` with the
21840
21840
  * content part name appended.
21841
21841
  */
21842
21842
  get contentId() {
21843
- return `${this.rootId}-${U._CONTENT}`;
21843
+ return `${this.rootId}-${M._CONTENT}`;
21844
21844
  }
21845
21845
  /**
21846
21846
  * The `id` of the field label element, derived from `rootId` with the label
21847
21847
  * part name appended.
21848
21848
  */
21849
21849
  get labelId() {
21850
- return `${this.rootId}-${U._LABEL}`;
21850
+ return `${this.rootId}-${M._LABEL}`;
21851
21851
  }
21852
21852
  /**
21853
21853
  * The `id` of the field description element, derived from `rootId` with the
21854
21854
  * description part name appended.
21855
21855
  */
21856
21856
  get descriptionId() {
21857
- return `${this.rootId}-${U._DESCRIPTION}`;
21857
+ return `${this.rootId}-${M._DESCRIPTION}`;
21858
21858
  }
21859
21859
  /**
21860
21860
  * The `id` of the mark element, derived from `rootId` with the mark part name
21861
21861
  * appended.
21862
21862
  */
21863
21863
  get markId() {
21864
- return `${this.rootId}-${U._MARK}`;
21864
+ return `${this.rootId}-${M._MARK}`;
21865
21865
  }
21866
21866
  /**
21867
21867
  * The `id` of the input element, equal to `fieldId` when provided, otherwise
21868
21868
  * derived from `rootId` with the input part name appended.
21869
21869
  */
21870
21870
  get inputId() {
21871
- return this.fieldId ?? `${this.rootId}-${U._INPUT}`;
21871
+ return this.fieldId ?? `${this.rootId}-${M._INPUT}`;
21872
21872
  }
21873
21873
  /**
21874
21874
  * The `id` of the field error element, derived from `rootId` with the error
21875
21875
  * part name appended.
21876
21876
  */
21877
21877
  get errorId() {
21878
- return `${this.rootId}-${U._ERROR}`;
21878
+ return `${this.rootId}-${M._ERROR}`;
21879
21879
  }
21880
21880
  /**
21881
21881
  * Returns a the normalized value of `_value` by trimming whitespace and
@@ -21930,7 +21930,7 @@ let U = class extends v {
21930
21930
  * Defines and dispatches the validate event.
21931
21931
  */
21932
21932
  _dispatchValidate(t, e, r, i) {
21933
- const s = this.inputId, o = this.rootId, n = this.name, h = this.identifiers, p = new CustomEvent(U.validateEventName, {
21933
+ const s = this.inputId, o = this.rootId, n = this.name, h = this.identifiers, p = new CustomEvent(M.validateEventName, {
21934
21934
  detail: { id: s, parentId: o, name: n, identifiers: h, value: r, valid: t, type: e, message: i },
21935
21935
  bubbles: !0,
21936
21936
  composed: !0
@@ -21968,7 +21968,7 @@ let U = class extends v {
21968
21968
  return !this.mark && (!this.caret || !this.required) ? g : d`
21969
21969
  <span
21970
21970
  id="${this.markId}"
21971
- part="${U.parts.mark}"
21971
+ part="${M.parts.mark}"
21972
21972
  data-content="${this.mark ? "text" : "caret"}"
21973
21973
  >
21974
21974
  ${this.mark ? this.mark : d`&ast;`}
@@ -21982,7 +21982,7 @@ let U = class extends v {
21982
21982
  return d`
21983
21983
  <rtg-field-label
21984
21984
  id="${this.labelId}"
21985
- part="${U.parts.label}"
21985
+ part="${M.parts.label}"
21986
21986
  for="${this.inputId}"
21987
21987
  >
21988
21988
  ${this.label ?? this._label} ${this._renderMark()}
@@ -21996,7 +21996,7 @@ let U = class extends v {
21996
21996
  return this.description ? d`
21997
21997
  <rtg-field-description
21998
21998
  id="${this.descriptionId}"
21999
- part="${U.parts.description}"
21999
+ part="${M.parts.description}"
22000
22000
  >
22001
22001
  ${this.description}
22002
22002
  </rtg-field-description>
@@ -22010,7 +22010,7 @@ let U = class extends v {
22010
22010
  return this._invalid ? d`
22011
22011
  <rtg-field-error
22012
22012
  id="${this.errorId}"
22013
- part="${U.parts.error}"
22013
+ part="${M.parts.error}"
22014
22014
  .errors=${[{ message: this._error }]}
22015
22015
  ></rtg-field-error>
22016
22016
  ` : g;
@@ -22019,7 +22019,7 @@ let U = class extends v {
22019
22019
  return d`
22020
22020
  <rtg-field
22021
22021
  id="${this.rootId}"
22022
- part="${U.parts.root}"
22022
+ part="${M.parts.root}"
22023
22023
  data-content="${this.content}"
22024
22024
  ?disabled="${this.disabled}"
22025
22025
  ?invalid="${this._invalid}"
@@ -22027,7 +22027,7 @@ let U = class extends v {
22027
22027
  ${this.content === "group" ? d`
22028
22028
  <rtg-field-content
22029
22029
  id="${this.contentId}"
22030
- part="${U.parts.content}"
22030
+ part="${M.parts.content}"
22031
22031
  >
22032
22032
  ${this._renderLabel()} ${this._renderDescription()}
22033
22033
  </rtg-field-content>
@@ -22035,7 +22035,7 @@ let U = class extends v {
22035
22035
 
22036
22036
  <rtg-input
22037
22037
  id="${this.inputId}"
22038
- part="${U.parts.input}"
22038
+ part="${M.parts.input}"
22039
22039
  type="${this._type}"
22040
22040
  name="${this.name}"
22041
22041
  placeholder="${this.placeholder ?? g}"
@@ -22051,333 +22051,463 @@ let U = class extends v {
22051
22051
  `;
22052
22052
  }
22053
22053
  };
22054
- U._ROOT = "identifier-field";
22055
- U._CONTENT = "content";
22056
- U._LABEL = "label";
22057
- U._MARK = "mark";
22058
- U._DESCRIPTION = "description";
22059
- U._INPUT = "input";
22060
- U._ERROR = "error";
22061
- U.TAG = `sb-${U._ROOT}`;
22054
+ M._ROOT = "identifier-field";
22055
+ M._CONTENT = "content";
22056
+ M._LABEL = "label";
22057
+ M._MARK = "mark";
22058
+ M._DESCRIPTION = "description";
22059
+ M._INPUT = "input";
22060
+ M._ERROR = "error";
22061
+ M.TAG = `sb-${M._ROOT}`;
22062
22062
  Ct([
22063
22063
  a({ type: String })
22064
- ], U.prototype, "seed", 2);
22064
+ ], M.prototype, "seed", 2);
22065
22065
  Ct([
22066
22066
  a({ attribute: "child-id", type: String })
22067
- ], U.prototype, "childId", 2);
22067
+ ], M.prototype, "childId", 2);
22068
22068
  Ct([
22069
22069
  a({ attribute: "field-id", type: String })
22070
- ], U.prototype, "fieldId", 2);
22070
+ ], M.prototype, "fieldId", 2);
22071
22071
  Ct([
22072
22072
  a({ type: String })
22073
- ], U.prototype, "name", 2);
22073
+ ], M.prototype, "name", 2);
22074
22074
  Ct([
22075
22075
  a({ type: Array })
22076
- ], U.prototype, "identifiers", 2);
22076
+ ], M.prototype, "identifiers", 2);
22077
22077
  Ct([
22078
22078
  a({ type: String })
22079
- ], U.prototype, "content", 2);
22079
+ ], M.prototype, "content", 2);
22080
22080
  Ct([
22081
22081
  a({ type: String })
22082
- ], U.prototype, "label", 2);
22082
+ ], M.prototype, "label", 2);
22083
22083
  Ct([
22084
22084
  a({ type: String })
22085
- ], U.prototype, "placeholder", 2);
22085
+ ], M.prototype, "placeholder", 2);
22086
22086
  Ct([
22087
22087
  a({ type: String })
22088
- ], U.prototype, "description", 2);
22088
+ ], M.prototype, "description", 2);
22089
22089
  Ct([
22090
22090
  a({ type: String })
22091
- ], U.prototype, "mark", 2);
22091
+ ], M.prototype, "mark", 2);
22092
22092
  Ct([
22093
22093
  a({ type: Boolean })
22094
- ], U.prototype, "caret", 2);
22094
+ ], M.prototype, "caret", 2);
22095
22095
  Ct([
22096
22096
  a({ type: Boolean })
22097
- ], U.prototype, "disabled", 2);
22097
+ ], M.prototype, "disabled", 2);
22098
22098
  Ct([
22099
22099
  a({ type: String })
22100
- ], U.prototype, "autocomplete", 2);
22100
+ ], M.prototype, "autocomplete", 2);
22101
22101
  Ct([
22102
22102
  a({ type: Boolean })
22103
- ], U.prototype, "required", 2);
22103
+ ], M.prototype, "required", 2);
22104
22104
  Ct([
22105
22105
  a({ attribute: "required-error", type: String })
22106
- ], U.prototype, "requiredError", 2);
22106
+ ], M.prototype, "requiredError", 2);
22107
22107
  Ct([
22108
22108
  x()
22109
- ], U.prototype, "_invalid", 2);
22109
+ ], M.prototype, "_invalid", 2);
22110
22110
  Ct([
22111
22111
  x()
22112
- ], U.prototype, "_error", 2);
22112
+ ], M.prototype, "_error", 2);
22113
22113
  Ct([
22114
22114
  x()
22115
- ], U.prototype, "_value", 2);
22116
- U = Ct([
22115
+ ], M.prototype, "_value", 2);
22116
+ M = Ct([
22117
22117
  u("sb-identifier-field")
22118
- ], U);
22119
- var Em = Object.defineProperty, km = Object.getOwnPropertyDescriptor, ut = (t, e, r, i) => {
22118
+ ], M);
22119
+ var Em = Object.defineProperty, km = Object.getOwnPropertyDescriptor, ht = (t, e, r, i) => {
22120
22120
  for (var s = i > 1 ? void 0 : i ? km(e, r) : e, o = t.length - 1, n; o >= 0; o--)
22121
22121
  (n = t[o]) && (s = (i ? n(e, r, s) : n(s)) || s);
22122
22122
  return i && s && Em(e, r, s), s;
22123
22123
  };
22124
- let G = class extends v {
22124
+ let P = class extends v {
22125
22125
  constructor() {
22126
- super(...arguments), this.firstLabel = "First name", this.lastLabel = "Last name", this.seed = Nt(), this.name = "name", this.firstName = "first_name", this.lastName = "last_name", this.firstPlaceholder = "First name", this.lastPlaceholder = "Last name", this.requiredError = "This field is required.", this.formatError = "Enter a valid name.", this._first = "", this._firstInvalid = !1, this._firstError = "", this._last = "", this._lastInvalid = !1, this._lastError = "", this._handleInput = (t) => {
22126
+ super(...arguments), this.seed = Nt(), this.name = "name", this.content = "split", this.label = "Name", this.requiredError = "Name is a required field.", this.formatError = "Enter a valid name.", this._invalid = !1, this._error = "", this._value = "", this._form = null, this._handleInput = (t) => {
22127
22127
  const e = t.target;
22128
- e.name === this.firstName && (this._first = e.value), e.name === this.lastName && (this._last = e.value);
22128
+ e.matches(`[part="${P.parts.input}"]>input`) && (this._value = e.value);
22129
+ }, this._handleFormSubmit = (t) => {
22130
+ this._validate() || t.preventDefault();
22131
+ }, this._handleFormReset = () => {
22132
+ const t = this.querySelector(
22133
+ `rtg-input[part="${P.parts.input}"]`
22134
+ );
22135
+ t && (t.value = ""), this._value = "", this._invalid = !1, this._error = "";
22129
22136
  };
22130
22137
  }
22138
+ /**
22139
+ * The stable CSS part names exposed for external targeting.
22140
+ */
22131
22141
  static get parts() {
22132
- const t = this._ROOT;
22133
- return {
22134
- root: t,
22135
- firstField: `${t}-first-field`,
22136
- lastField: `${t}-last-field`,
22137
- input: `${t}-input`,
22138
- label: `${t}-label`,
22139
- error: `${t}-error`,
22140
- mark: `${t}-mark`,
22141
- description: `${t}-description`
22142
- };
22142
+ const t = this._ROOT, e = `${t}-${this._CONTENT}`, r = `${t}-${this._LABEL}`, i = `${t}-${this._MARK}`, s = `${t}-${this._DESCRIPTION}`, o = `${t}-${this._INPUT}`, n = `${t}-${this._ERROR}`;
22143
+ return { root: t, content: e, label: r, mark: i, description: s, input: o, error: n };
22143
22144
  }
22145
+ /**
22146
+ * The name of the custom event fired on validate.
22147
+ */
22144
22148
  static get validateEventName() {
22145
- return `sb-${this._ROOT}:validate`;
22149
+ return `${this.TAG}:validate`;
22146
22150
  }
22151
+ /**
22152
+ * Overrides default behavior to render into light DOM.
22153
+ */
22147
22154
  createRenderRoot() {
22148
22155
  return this;
22149
22156
  }
22157
+ /**
22158
+ * The `id` of the root element. Equal to `childId` when provided, otherwise
22159
+ * derived from the component's part name and `seed`.
22160
+ */
22150
22161
  get rootId() {
22151
- return this.childId ?? `sb-${G.parts.root}-${this.seed}`;
22162
+ return this.childId ?? `sb-${P.parts.root}-${this.seed}`;
22152
22163
  }
22153
- // -------------------------
22154
- // MARK
22155
- // -------------------------
22156
- _renderMark() {
22157
- return !this.mark && (!this.caret || !this.required) ? g : d`
22158
- <span
22159
- id="${this.markId}"
22160
- part="${G.parts.mark}"
22161
- data-content="${this.mark ? "text" : "caret"}"
22162
- >
22163
- ${this.mark ? this.mark : d`&ast;`}
22164
- </span>
22165
- `;
22164
+ /**
22165
+ * The `id` of the field content element, derived from `rootId` with the
22166
+ * content part name appended.
22167
+ */
22168
+ get contentId() {
22169
+ return `${this.rootId}-${P._CONTENT}`;
22166
22170
  }
22167
- // -------------------------
22168
- // VALIDATION + DISPATCH
22169
- // -------------------------
22170
- _dispatchValidate(t, e, r, i, s) {
22171
- this.dispatchEvent(
22172
- new CustomEvent(G.validateEventName, {
22173
- detail: {
22174
- id: this.rootId,
22175
- parentId: this.rootId,
22176
- name: t,
22177
- value: i,
22178
- valid: e,
22179
- type: r,
22180
- message: s
22181
- },
22182
- bubbles: !0,
22183
- composed: !0
22184
- })
22185
- );
22171
+ /**
22172
+ * The `id` of the field label element, derived from `rootId` with the label
22173
+ * part name appended.
22174
+ */
22175
+ get labelId() {
22176
+ return `${this.rootId}-${P._LABEL}`;
22186
22177
  }
22187
- _validateName(t, e, r, i) {
22188
- const s = t.trim();
22189
- return this.required && !s ? (r(!0), i(this.requiredError), this._dispatchValidate(
22190
- e,
22191
- !1,
22192
- "required",
22193
- s,
22194
- this.requiredError
22195
- ), !1) : /^[a-zA-Z\-'\s]+$/.test(s) ? (r(!1), i(""), this._dispatchValidate(e, !0, "success", s, "Valid name"), !0) : (r(!0), i(this.formatError), this._dispatchValidate(e, !1, "format", s, this.formatError), !1);
22178
+ /**
22179
+ * The `id` of the field description element, derived from `rootId` with the
22180
+ * description part name appended.
22181
+ */
22182
+ get descriptionId() {
22183
+ return `${this.rootId}-${P._DESCRIPTION}`;
22196
22184
  }
22197
- _validate() {
22198
- const t = this._validateName(
22199
- this._first,
22200
- "first_name",
22201
- (r) => this._firstInvalid = r,
22202
- (r) => this._firstError = r
22203
- ), e = this._validateName(
22204
- this._last,
22205
- "last_name",
22206
- (r) => this._lastInvalid = r,
22207
- (r) => this._lastError = r
22208
- );
22209
- return t && e;
22185
+ /**
22186
+ * The `id` of the mark element, derived from `rootId` with the mark part name
22187
+ * appended.
22188
+ */
22189
+ get markId() {
22190
+ return `${this.rootId}-${P._MARK}`;
22210
22191
  }
22211
- validate() {
22212
- return this._validate();
22192
+ /**
22193
+ * The `id` of the input element, equal to `fieldId` when provided, otherwise
22194
+ * derived from `rootId` with the input part name appended.
22195
+ */
22196
+ get inputId() {
22197
+ return this.fieldId ?? `${this.rootId}-${P._INPUT}`;
22198
+ }
22199
+ /**
22200
+ * The `id` of the field error element, derived from `rootId` with the error
22201
+ * part name appended.
22202
+ */
22203
+ get errorId() {
22204
+ return `${this.rootId}-${P._ERROR}`;
22205
+ }
22206
+ /**
22207
+ * Returns the normalized value of `_value` by trimming leading/trailing
22208
+ * whitespace and collapsing consecutive interior spaces into one.
22209
+ */
22210
+ get _normalizedValue() {
22211
+ return this._value.trim().replace(/\s+/g, " ");
22212
+ }
22213
+ /**
22214
+ * Returns sanitized `minlength` and `maxlength` values, filtering out
22215
+ * non-positive numbers and discarding `maxlength` if it is less than
22216
+ * `minlength` to prevent conflicting length constraints.
22217
+ */
22218
+ get _lengths() {
22219
+ const t = {
22220
+ minlength: this.minlength && this.minlength > 0 ? this.minlength : void 0,
22221
+ maxlength: this.maxlength && this.maxlength > 0 ? this.maxlength : void 0
22222
+ };
22223
+ return t.minlength && t.maxlength && t.maxlength < t.minlength && (t.maxlength = void 0), t;
22224
+ }
22225
+ /**
22226
+ * Returns the resolved regex pattern, using a `RegExp` built from the
22227
+ * `pattern` prop when provided, otherwise falling back to `_PATTERN`.
22228
+ */
22229
+ get _pattern() {
22230
+ return this.pattern ? new RegExp(this.pattern) : P._PATTERN;
22213
22231
  }
22232
+ /**
22233
+ * Adds the input, form submit, and form reset event listeners.
22234
+ */
22214
22235
  connectedCallback() {
22215
- super.connectedCallback(), this.addEventListener("input", this._handleInput);
22236
+ var t, e;
22237
+ super.connectedCallback(), this.addEventListener("input", this._handleInput), this._form = this.closest("form"), this._form && (this._form.noValidate = !0), (t = this._form) == null || t.addEventListener("submit", this._handleFormSubmit), (e = this._form) == null || e.addEventListener("reset", this._handleFormReset);
22216
22238
  }
22239
+ /**
22240
+ * Removes the input, form submit, and form reset event listeners.
22241
+ */
22217
22242
  disconnectedCallback() {
22218
- super.disconnectedCallback(), this.removeEventListener("input", this._handleInput);
22243
+ var t, e;
22244
+ super.disconnectedCallback(), this.removeEventListener("input", this._handleInput), (t = this._form) == null || t.removeEventListener("submit", this._handleFormSubmit), (e = this._form) == null || e.removeEventListener("reset", this._handleFormReset), this._form = null;
22245
+ }
22246
+ /**
22247
+ * The public validate method that calls the private `_validate()` method for
22248
+ * manual, external validation.
22249
+ */
22250
+ validate() {
22251
+ return this._validate();
22252
+ }
22253
+ /**
22254
+ * Defines and dispatches the validate event.
22255
+ */
22256
+ _dispatchValidate(t, e, r, i) {
22257
+ const s = this.inputId, o = this.rootId, n = this.name, h = new CustomEvent(P.validateEventName, {
22258
+ detail: { id: s, parentId: o, name: n, value: r, valid: t, type: e, message: i },
22259
+ bubbles: !0,
22260
+ composed: !0
22261
+ });
22262
+ this.dispatchEvent(h);
22263
+ }
22264
+ /**
22265
+ * Handles the required condition validation, accepting empty non-required
22266
+ * fields and non-empty required fields, otherwise dispatching and displaying
22267
+ * the required error.
22268
+ */
22269
+ _validateRequired(t) {
22270
+ if (!this.required || t) return !0;
22271
+ const e = this.requiredError;
22272
+ return this._invalid = !0, this._error = e, this._dispatchValidate(!1, "required", t, e), !1;
22273
+ }
22274
+ /**
22275
+ * Handles the minlength condition validation, determining if a valid
22276
+ * `minlength` prop was provided, dispatching and displaying the minlength
22277
+ * error if the value is shorter than accepted.
22278
+ */
22279
+ _validateMinlength(t) {
22280
+ const { minlength: e } = this._lengths;
22281
+ if (!e || t.length >= e) return !0;
22282
+ const r = this.minlengthError ?? `Name must be at least ${e} characters.`;
22283
+ return this._invalid = !0, this._error = r, this._dispatchValidate(!1, "minlength", t, r), !1;
22219
22284
  }
22220
- // -------------------------
22221
- // RENDER FIELD (EMAIL-STYLE)
22222
- // -------------------------
22223
- _renderFirstField() {
22224
- const t = `${this.rootId}-first`;
22285
+ /**
22286
+ * Handles the maxlength condition validation, determining if a valid
22287
+ * `maxlength` prop was provided, dispatching and displaying the maxlength
22288
+ * error if the value is longer than accepted.
22289
+ */
22290
+ _validateMaxlength(t) {
22291
+ const { maxlength: e } = this._lengths;
22292
+ if (!e || t.length <= e) return !0;
22293
+ const r = this.maxlengthError ?? `Name must be at most ${e} characters.`;
22294
+ return this._invalid = !0, this._error = r, this._dispatchValidate(!1, "maxlength", t, r), !1;
22295
+ }
22296
+ /**
22297
+ * Handles the format condition validation, testing against `_pattern`, and
22298
+ * dispatching and displaying the format error for an invalid value.
22299
+ */
22300
+ _validateFormat(t) {
22301
+ if (this._pattern.test(t)) return !0;
22302
+ const e = this.formatError;
22303
+ return this._invalid = !0, this._error = e, this._dispatchValidate(!1, "format", t, e), !1;
22304
+ }
22305
+ /**
22306
+ * Resets the `_invalid` and `_error` private props and dispatches the
22307
+ * validate event, indicating a successfully validated and valid name.
22308
+ */
22309
+ _doValidateSuccess(t, e) {
22310
+ this._invalid = !1, this._error = "", this._dispatchValidate(!0, "success", t, e);
22311
+ }
22312
+ /**
22313
+ * Handles validation and dispatches the success event if the required,
22314
+ * length, and format conditions are met.
22315
+ */
22316
+ _validate() {
22317
+ const t = this._normalizedValue;
22318
+ let e = this._validateRequired(t);
22319
+ return e ? t ? (e = this._validateMinlength(t), !e || (e = this._validateMaxlength(t), !e) || (e = this._validateFormat(t), !e) ? !1 : (this._doValidateSuccess(t, "Valid name."), !0)) : (this._doValidateSuccess(t, "Valid name (optional and empty)."), !0) : !1;
22320
+ }
22321
+ /**
22322
+ * Conditionally returns the mark template for the field label. When `caret`
22323
+ * and `required` are provided, the mark becomes an asterisk. When `mark` is
22324
+ * provided, its value is rendered inside the element.
22325
+ * If both a caret and custom text mark have their conditions met, the custom
22326
+ * mark will be prioritised and rendered instead of the asterisk.
22327
+ */
22328
+ _renderMark() {
22329
+ return !this.mark && (!this.caret || !this.required) ? g : d`
22330
+ <span
22331
+ id="${this.markId}"
22332
+ part="${P.parts.mark}"
22333
+ data-content="${this.mark ? "text" : "caret"}"
22334
+ >
22335
+ ${this.mark ? this.mark : d`&ast;`}
22336
+ </span>
22337
+ `;
22338
+ }
22339
+ /**
22340
+ * Returns the field label template with the label text and optional mark.
22341
+ */
22342
+ _renderLabel() {
22225
22343
  return d`
22226
- <rtg-field
22227
- id="${t}"
22228
- part="${G.parts.firstField}"
22229
- data-content="split"
22230
- ?disabled="${this.disabled}"
22231
- ?invalid="${this._firstInvalid}"
22344
+ <rtg-field-label
22345
+ id="${this.labelId}"
22346
+ part="${P.parts.label}"
22347
+ for="${this.inputId}"
22232
22348
  >
22233
- <rtg-field-label part="${G.parts.label}">
22234
- ${this.firstLabel} ${this._renderMark()}
22235
- </rtg-field-label>
22236
-
22237
- <rtg-input
22238
- id="${t}-input"
22239
- part="${G.parts.input}"
22240
- name="${this.firstName}"
22241
- placeholder="${this.firstPlaceholder}"
22242
- .value=${this._first}
22243
- ?disabled=${this.disabled}
22244
- ?invalid=${this._firstInvalid}
22245
- ?required=${this.required}
22246
- ></rtg-input>
22247
-
22248
- ${this._firstInvalid ? d`
22249
- <rtg-field-error part="${G.parts.error}">
22250
- ${this._firstError}
22251
- </rtg-field-error>
22252
- ` : g}
22253
- </rtg-field>
22349
+ ${this.label} ${this._renderMark()}
22350
+ </rtg-field-label>
22254
22351
  `;
22255
22352
  }
22256
- _renderLastField() {
22257
- const t = `${this.rootId}-last`;
22353
+ /**
22354
+ * Returns the field description template if `description` is defined.
22355
+ */
22356
+ _renderDescription() {
22357
+ return this.description ? d`
22358
+ <rtg-field-description
22359
+ id="${this.descriptionId}"
22360
+ part="${P.parts.description}"
22361
+ >
22362
+ ${this.description}
22363
+ </rtg-field-description>
22364
+ ` : g;
22365
+ }
22366
+ /**
22367
+ * Returns the field error template with the `_error` message if the
22368
+ * `_invalid` state is `true`.
22369
+ */
22370
+ _renderError() {
22371
+ return this._invalid ? d`
22372
+ <rtg-field-error
22373
+ id="${this.errorId}"
22374
+ part="${P.parts.error}"
22375
+ .errors=${[{ message: this._error }]}
22376
+ ></rtg-field-error>
22377
+ ` : g;
22378
+ }
22379
+ render() {
22380
+ const { minlength: t, maxlength: e } = this._lengths;
22258
22381
  return d`
22259
22382
  <rtg-field
22260
- id="${t}"
22261
- part="${G.parts.lastField}"
22262
- data-content="split"
22383
+ id="${this.rootId}"
22384
+ part="${P.parts.root}"
22385
+ data-content="${this.content}"
22263
22386
  ?disabled="${this.disabled}"
22264
- ?invalid="${this._lastInvalid}"
22387
+ ?invalid="${this._invalid}"
22265
22388
  >
22266
- <rtg-field-label part="${G.parts.label}">
22267
- ${this.lastLabel} ${this._renderMark()}
22268
- </rtg-field-label>
22389
+ ${this.content === "group" ? d`
22390
+ <rtg-field-content
22391
+ id="${this.contentId}"
22392
+ part="${P.parts.content}"
22393
+ >
22394
+ ${this._renderLabel()} ${this._renderDescription()}
22395
+ </rtg-field-content>
22396
+ ` : this._renderLabel()}
22269
22397
 
22270
22398
  <rtg-input
22271
- id="${t}-input"
22272
- part="${G.parts.input}"
22273
- name="${this.lastName}"
22274
- placeholder="${this.lastPlaceholder}"
22275
- .value=${this._last}
22276
- ?disabled=${this.disabled}
22277
- ?invalid=${this._lastInvalid}
22399
+ id="${this.inputId}"
22400
+ part="${P.parts.input}"
22401
+ type="text"
22402
+ name="${this.name}"
22403
+ placeholder="${this.placeholder ?? g}"
22404
+ pattern="${this._pattern.source}"
22405
+ minlength="${t ?? g}"
22406
+ maxlength="${e ?? g}"
22407
+ ?disabled="${this.disabled}"
22408
+ ?invalid=${this._invalid}
22278
22409
  ?required=${this.required}
22279
22410
  ></rtg-input>
22280
22411
 
22281
- ${this._lastInvalid ? d`
22282
- <rtg-field-error part="${G.parts.error}">
22283
- ${this._lastError}
22284
- </rtg-field-error>
22285
- ` : g}
22412
+ ${this._renderError()}
22413
+ ${this.content === "split" && !this._invalid ? this._renderDescription() : g}
22286
22414
  </rtg-field>
22287
22415
  `;
22288
22416
  }
22289
- render() {
22290
- return d`
22291
- <div class="sb-flex">
22292
- ${this._renderFirstField()} ${this._renderLastField()}
22293
- </div>
22294
- `;
22295
- }
22296
22417
  };
22297
- G._ROOT = "name-field";
22298
- G._FIRST = "first";
22299
- G._LAST = "last";
22300
- ut([
22301
- a({ type: String })
22302
- ], G.prototype, "firstLabel", 2);
22303
- ut([
22304
- a({ type: String })
22305
- ], G.prototype, "lastLabel", 2);
22306
- ut([
22307
- a({ type: String })
22308
- ], G.prototype, "seed", 2);
22309
- ut([
22310
- a({ attribute: "child-id" })
22311
- ], G.prototype, "childId", 2);
22312
- ut([
22313
- a({ type: String })
22314
- ], G.prototype, "name", 2);
22315
- ut([
22316
- a({ type: Boolean })
22317
- ], G.prototype, "required", 2);
22318
- ut([
22319
- a({ type: Boolean })
22320
- ], G.prototype, "disabled", 2);
22321
- ut([
22418
+ P._ROOT = "name-field";
22419
+ P._CONTENT = "content";
22420
+ P._LABEL = "label";
22421
+ P._MARK = "mark";
22422
+ P._DESCRIPTION = "description";
22423
+ P._INPUT = "input";
22424
+ P._ERROR = "error";
22425
+ P.TAG = `sb-${P._ROOT}`;
22426
+ P._PATTERN = /^[\p{L} .'-]*$/u;
22427
+ ht([
22322
22428
  a({ type: String })
22323
- ], G.prototype, "firstName", 2);
22324
- ut([
22429
+ ], P.prototype, "seed", 2);
22430
+ ht([
22431
+ a({ attribute: "child-id", type: String })
22432
+ ], P.prototype, "childId", 2);
22433
+ ht([
22434
+ a({ attribute: "field-id", type: String })
22435
+ ], P.prototype, "fieldId", 2);
22436
+ ht([
22325
22437
  a({ type: String })
22326
- ], G.prototype, "lastName", 2);
22327
- ut([
22438
+ ], P.prototype, "name", 2);
22439
+ ht([
22328
22440
  a({ type: String })
22329
- ], G.prototype, "firstPlaceholder", 2);
22330
- ut([
22441
+ ], P.prototype, "content", 2);
22442
+ ht([
22331
22443
  a({ type: String })
22332
- ], G.prototype, "lastPlaceholder", 2);
22333
- ut([
22444
+ ], P.prototype, "label", 2);
22445
+ ht([
22334
22446
  a({ type: String })
22335
- ], G.prototype, "requiredError", 2);
22336
- ut([
22447
+ ], P.prototype, "placeholder", 2);
22448
+ ht([
22337
22449
  a({ type: String })
22338
- ], G.prototype, "formatError", 2);
22339
- ut([
22450
+ ], P.prototype, "description", 2);
22451
+ ht([
22340
22452
  a({ type: String })
22341
- ], G.prototype, "mark", 2);
22342
- ut([
22453
+ ], P.prototype, "mark", 2);
22454
+ ht([
22343
22455
  a({ type: Boolean })
22344
- ], G.prototype, "caret", 2);
22345
- ut([
22346
- x()
22347
- ], G.prototype, "_first", 2);
22348
- ut([
22349
- x()
22350
- ], G.prototype, "_firstInvalid", 2);
22351
- ut([
22352
- x()
22353
- ], G.prototype, "_firstError", 2);
22354
- ut([
22456
+ ], P.prototype, "caret", 2);
22457
+ ht([
22458
+ a({ type: Boolean })
22459
+ ], P.prototype, "disabled", 2);
22460
+ ht([
22461
+ a({ type: Boolean })
22462
+ ], P.prototype, "required", 2);
22463
+ ht([
22464
+ a({ type: Number })
22465
+ ], P.prototype, "minlength", 2);
22466
+ ht([
22467
+ a({ type: Number })
22468
+ ], P.prototype, "maxlength", 2);
22469
+ ht([
22470
+ a({ type: String })
22471
+ ], P.prototype, "pattern", 2);
22472
+ ht([
22473
+ a({ attribute: "required-error", type: String })
22474
+ ], P.prototype, "requiredError", 2);
22475
+ ht([
22476
+ a({ attribute: "minlength-error", type: String })
22477
+ ], P.prototype, "minlengthError", 2);
22478
+ ht([
22479
+ a({ attribute: "maxlength-error", type: String })
22480
+ ], P.prototype, "maxlengthError", 2);
22481
+ ht([
22482
+ a({ attribute: "format-error", type: String })
22483
+ ], P.prototype, "formatError", 2);
22484
+ ht([
22355
22485
  x()
22356
- ], G.prototype, "_last", 2);
22357
- ut([
22486
+ ], P.prototype, "_invalid", 2);
22487
+ ht([
22358
22488
  x()
22359
- ], G.prototype, "_lastInvalid", 2);
22360
- ut([
22489
+ ], P.prototype, "_error", 2);
22490
+ ht([
22361
22491
  x()
22362
- ], G.prototype, "_lastError", 2);
22363
- G = ut([
22492
+ ], P.prototype, "_value", 2);
22493
+ P = ht([
22364
22494
  u("sb-name-field")
22365
- ], G);
22495
+ ], P);
22366
22496
  var Rm = Object.defineProperty, Om = Object.getOwnPropertyDescriptor, Ot = (t, e, r, i) => {
22367
22497
  for (var s = i > 1 ? void 0 : i ? Om(e, r) : e, o = t.length - 1, n; o >= 0; o--)
22368
22498
  (n = t[o]) && (s = (i ? n(e, r, s) : n(s)) || s);
22369
22499
  return i && s && Rm(e, r, s), s;
22370
22500
  };
22371
- let D = class extends v {
22501
+ let U = class extends v {
22372
22502
  constructor() {
22373
22503
  super(...arguments), this.seed = Nt(), this.name = "phone", this.content = "split", this.label = "Phone", this.requiredError = "Phone is a required field.", this.formatError = "Enter a valid phone number.", this._invalid = !1, this._error = "", this._value = "", this._form = null, this._handleInput = (t) => {
22374
22504
  const e = t.target;
22375
- e.matches(`[part="${D.parts.input}"]>input`) && (this._value = e.value);
22505
+ e.matches(`[part="${U.parts.input}"]>input`) && (this._value = e.value);
22376
22506
  }, this._handleFormSubmit = (t) => {
22377
22507
  this._validate() || t.preventDefault();
22378
22508
  }, this._handleFormReset = () => {
22379
22509
  const t = this.querySelector(
22380
- `rtg-input[part="${D.parts.input}"]`
22510
+ `rtg-input[part="${U.parts.input}"]`
22381
22511
  );
22382
22512
  t && (t.value = ""), this._value = "", this._invalid = !1, this._error = "";
22383
22513
  };
@@ -22406,49 +22536,49 @@ let D = class extends v {
22406
22536
  * derived from the component's part name and `seed`.
22407
22537
  */
22408
22538
  get rootId() {
22409
- return this.childId ?? `sb-${D.parts.root}-${this.seed}`;
22539
+ return this.childId ?? `sb-${U.parts.root}-${this.seed}`;
22410
22540
  }
22411
22541
  /**
22412
22542
  * The `id` of the field content element, derived from `rootId` with the
22413
22543
  * content part name appended.
22414
22544
  */
22415
22545
  get contentId() {
22416
- return `${this.rootId}-${D._CONTENT}`;
22546
+ return `${this.rootId}-${U._CONTENT}`;
22417
22547
  }
22418
22548
  /**
22419
22549
  * The `id` of the field label element, derived from `rootId` with the label
22420
22550
  * part name appended.
22421
22551
  */
22422
22552
  get labelId() {
22423
- return `${this.rootId}-${D._LABEL}`;
22553
+ return `${this.rootId}-${U._LABEL}`;
22424
22554
  }
22425
22555
  /**
22426
22556
  * The `id` of the field description element, derived from `rootId` with the
22427
22557
  * description part name appended.
22428
22558
  */
22429
22559
  get descriptionId() {
22430
- return `${this.rootId}-${D._DESCRIPTION}`;
22560
+ return `${this.rootId}-${U._DESCRIPTION}`;
22431
22561
  }
22432
22562
  /**
22433
22563
  * The `id` of the mark element, derived from `rootId` with the mark part name
22434
22564
  * appended.
22435
22565
  */
22436
22566
  get markId() {
22437
- return `${this.rootId}-${D._MARK}`;
22567
+ return `${this.rootId}-${U._MARK}`;
22438
22568
  }
22439
22569
  /**
22440
22570
  * The `id` of the input element, equal to `fieldId` when provided, otherwise
22441
22571
  * derived from `rootId` with the input part name appended.
22442
22572
  */
22443
22573
  get inputId() {
22444
- return this.fieldId ?? `${this.rootId}-${D._INPUT}`;
22574
+ return this.fieldId ?? `${this.rootId}-${U._INPUT}`;
22445
22575
  }
22446
22576
  /**
22447
22577
  * The `id` of the field error element, derived from `rootId` with the error
22448
22578
  * part name appended.
22449
22579
  */
22450
22580
  get errorId() {
22451
- return `${this.rootId}-${D._ERROR}`;
22581
+ return `${this.rootId}-${U._ERROR}`;
22452
22582
  }
22453
22583
  /**
22454
22584
  * Returns the normalized value of `_value` by stripping all whitespace.
@@ -22481,7 +22611,7 @@ let D = class extends v {
22481
22611
  * Defines and dispatches the validate event.
22482
22612
  */
22483
22613
  _dispatchValidate(t, e, r, i) {
22484
- const s = this.inputId, o = this.rootId, n = this.name, h = new CustomEvent(D.validateEventName, {
22614
+ const s = this.inputId, o = this.rootId, n = this.name, h = new CustomEvent(U.validateEventName, {
22485
22615
  detail: { id: s, parentId: o, name: n, value: r, valid: t, type: e, message: i },
22486
22616
  bubbles: !0,
22487
22617
  composed: !0
@@ -22504,7 +22634,7 @@ let D = class extends v {
22504
22634
  * otherwise dispatching and displaying the format error.
22505
22635
  */
22506
22636
  _validateFormat(t) {
22507
- if (!this.required && t === "" || D._PATTERN.test(t))
22637
+ if (!this.required && t === "" || U._PATTERN.test(t))
22508
22638
  return !0;
22509
22639
  const e = this.formatError;
22510
22640
  return this._invalid = !0, this._error = e, this._dispatchValidate(!1, "format", t, e), !1;
@@ -22531,7 +22661,7 @@ let D = class extends v {
22531
22661
  return !this.mark && (!this.caret || !this.required) ? g : d`
22532
22662
  <span
22533
22663
  id="${this.markId}"
22534
- part="${D.parts.mark}"
22664
+ part="${U.parts.mark}"
22535
22665
  data-content="${this.mark ? "text" : "caret"}"
22536
22666
  >
22537
22667
  ${this.mark ? this.mark : d`&ast;`}
@@ -22545,7 +22675,7 @@ let D = class extends v {
22545
22675
  return d`
22546
22676
  <rtg-field-label
22547
22677
  id="${this.labelId}"
22548
- part="${D.parts.label}"
22678
+ part="${U.parts.label}"
22549
22679
  for="${this.inputId}"
22550
22680
  >
22551
22681
  ${this.label} ${this._renderMark()}
@@ -22559,7 +22689,7 @@ let D = class extends v {
22559
22689
  return this.description ? d`
22560
22690
  <rtg-field-description
22561
22691
  id="${this.descriptionId}"
22562
- part="${D.parts.description}"
22692
+ part="${U.parts.description}"
22563
22693
  >
22564
22694
  ${this.description}
22565
22695
  </rtg-field-description>
@@ -22573,7 +22703,7 @@ let D = class extends v {
22573
22703
  return this._invalid ? d`
22574
22704
  <rtg-field-error
22575
22705
  id="${this.errorId}"
22576
- part="${D.parts.error}"
22706
+ part="${U.parts.error}"
22577
22707
  .errors=${[{ message: this._error }]}
22578
22708
  ></rtg-field-error>
22579
22709
  ` : g;
@@ -22582,7 +22712,7 @@ let D = class extends v {
22582
22712
  return d`
22583
22713
  <rtg-field
22584
22714
  id="${this.rootId}"
22585
- part="${D.parts.root}"
22715
+ part="${U.parts.root}"
22586
22716
  data-content="${this.content}"
22587
22717
  ?disabled="${this.disabled}"
22588
22718
  ?invalid="${this._invalid}"
@@ -22590,7 +22720,7 @@ let D = class extends v {
22590
22720
  ${this.content === "group" ? d`
22591
22721
  <rtg-field-content
22592
22722
  id="${this.contentId}"
22593
- part="${D.parts.content}"
22723
+ part="${U.parts.content}"
22594
22724
  >
22595
22725
  ${this._renderLabel()} ${this._renderDescription()}
22596
22726
  </rtg-field-content>
@@ -22598,7 +22728,7 @@ let D = class extends v {
22598
22728
 
22599
22729
  <rtg-input
22600
22730
  id="${this.inputId}"
22601
- part="${D.parts.input}"
22731
+ part="${U.parts.input}"
22602
22732
  type="tel"
22603
22733
  name="${this.name}"
22604
22734
  placeholder="${this.placeholder ?? g}"
@@ -22613,84 +22743,84 @@ let D = class extends v {
22613
22743
  `;
22614
22744
  }
22615
22745
  };
22616
- D._ROOT = "phone-field";
22617
- D._CONTENT = "content";
22618
- D._LABEL = "label";
22619
- D._MARK = "mark";
22620
- D._DESCRIPTION = "description";
22621
- D._INPUT = "input";
22622
- D._ERROR = "error";
22623
- D.TAG = `sb-${D._ROOT}`;
22624
- D._PATTERN = /^\+?(\d[\d-.() ]+)?(\([\d-.() ]+\))?[\d-.() ]+\d$/;
22746
+ U._ROOT = "phone-field";
22747
+ U._CONTENT = "content";
22748
+ U._LABEL = "label";
22749
+ U._MARK = "mark";
22750
+ U._DESCRIPTION = "description";
22751
+ U._INPUT = "input";
22752
+ U._ERROR = "error";
22753
+ U.TAG = `sb-${U._ROOT}`;
22754
+ U._PATTERN = /^\+?(\d[\d-.() ]+)?(\([\d-.() ]+\))?[\d-.() ]+\d$/;
22625
22755
  Ot([
22626
22756
  a({ type: String })
22627
- ], D.prototype, "seed", 2);
22757
+ ], U.prototype, "seed", 2);
22628
22758
  Ot([
22629
22759
  a({ attribute: "child-id", type: String })
22630
- ], D.prototype, "childId", 2);
22760
+ ], U.prototype, "childId", 2);
22631
22761
  Ot([
22632
22762
  a({ attribute: "field-id", type: String })
22633
- ], D.prototype, "fieldId", 2);
22763
+ ], U.prototype, "fieldId", 2);
22634
22764
  Ot([
22635
22765
  a({ type: String })
22636
- ], D.prototype, "name", 2);
22766
+ ], U.prototype, "name", 2);
22637
22767
  Ot([
22638
22768
  a({ type: String })
22639
- ], D.prototype, "content", 2);
22769
+ ], U.prototype, "content", 2);
22640
22770
  Ot([
22641
22771
  a({ type: String })
22642
- ], D.prototype, "label", 2);
22772
+ ], U.prototype, "label", 2);
22643
22773
  Ot([
22644
22774
  a({ type: String })
22645
- ], D.prototype, "placeholder", 2);
22775
+ ], U.prototype, "placeholder", 2);
22646
22776
  Ot([
22647
22777
  a({ type: String })
22648
- ], D.prototype, "description", 2);
22778
+ ], U.prototype, "description", 2);
22649
22779
  Ot([
22650
22780
  a({ type: String })
22651
- ], D.prototype, "mark", 2);
22781
+ ], U.prototype, "mark", 2);
22652
22782
  Ot([
22653
22783
  a({ type: Boolean })
22654
- ], D.prototype, "caret", 2);
22784
+ ], U.prototype, "caret", 2);
22655
22785
  Ot([
22656
22786
  a({ type: Boolean })
22657
- ], D.prototype, "disabled", 2);
22787
+ ], U.prototype, "disabled", 2);
22658
22788
  Ot([
22659
22789
  a({ type: Boolean })
22660
- ], D.prototype, "required", 2);
22790
+ ], U.prototype, "required", 2);
22661
22791
  Ot([
22662
22792
  a({ attribute: "required-error", type: String })
22663
- ], D.prototype, "requiredError", 2);
22793
+ ], U.prototype, "requiredError", 2);
22664
22794
  Ot([
22665
22795
  a({ attribute: "format-error", type: String })
22666
- ], D.prototype, "formatError", 2);
22796
+ ], U.prototype, "formatError", 2);
22667
22797
  Ot([
22668
22798
  x()
22669
- ], D.prototype, "_invalid", 2);
22799
+ ], U.prototype, "_invalid", 2);
22670
22800
  Ot([
22671
22801
  x()
22672
- ], D.prototype, "_error", 2);
22802
+ ], U.prototype, "_error", 2);
22673
22803
  Ot([
22674
22804
  x()
22675
- ], D.prototype, "_value", 2);
22676
- D = Ot([
22805
+ ], U.prototype, "_value", 2);
22806
+ U = Ot([
22677
22807
  u("sb-phone-field")
22678
- ], D);
22679
- var Im = Object.defineProperty, Am = Object.getOwnPropertyDescriptor, ht = (t, e, r, i) => {
22808
+ ], U);
22809
+ var Im = Object.defineProperty, Am = Object.getOwnPropertyDescriptor, pt = (t, e, r, i) => {
22680
22810
  for (var s = i > 1 ? void 0 : i ? Am(e, r) : e, o = t.length - 1, n; o >= 0; o--)
22681
22811
  (n = t[o]) && (s = (i ? n(e, r, s) : n(s)) || s);
22682
22812
  return i && s && Im(e, r, s), s;
22683
22813
  };
22684
- let P = class extends v {
22814
+ let N = class extends v {
22685
22815
  constructor() {
22686
22816
  super(...arguments), this.seed = Nt(), this.name = "username", this.content = "split", this.label = "Username", this.requiredError = "Username is a required field.", this.formatError = "Enter a valid username.", this._invalid = !1, this._error = "", this._value = "", this._form = null, this._handleInput = (t) => {
22687
22817
  const e = t.target;
22688
- e.matches(`[part="${P.parts.input}"]>input`) && (this._value = e.value);
22818
+ e.matches(`[part="${N.parts.input}"]>input`) && (this._value = e.value);
22689
22819
  }, this._handleFormSubmit = (t) => {
22690
22820
  this._validate() || t.preventDefault();
22691
22821
  }, this._handleFormReset = () => {
22692
22822
  const t = this.querySelector(
22693
- `rtg-input[part="${P.parts.input}"]`
22823
+ `rtg-input[part="${N.parts.input}"]`
22694
22824
  );
22695
22825
  t && (t.value = ""), this._value = "", this._invalid = !1, this._error = "";
22696
22826
  };
@@ -22719,49 +22849,49 @@ let P = class extends v {
22719
22849
  * derived from the component's part name and `seed`.
22720
22850
  */
22721
22851
  get rootId() {
22722
- return this.childId ?? `sb-${P.parts.root}-${this.seed}`;
22852
+ return this.childId ?? `sb-${N.parts.root}-${this.seed}`;
22723
22853
  }
22724
22854
  /**
22725
22855
  * The `id` of the field content element, derived from `rootId` with the
22726
22856
  * content part name appended.
22727
22857
  */
22728
22858
  get contentId() {
22729
- return `${this.rootId}-${P._CONTENT}`;
22859
+ return `${this.rootId}-${N._CONTENT}`;
22730
22860
  }
22731
22861
  /**
22732
22862
  * The `id` of the field label element, derived from `rootId` with the label
22733
22863
  * part name appended.
22734
22864
  */
22735
22865
  get labelId() {
22736
- return `${this.rootId}-${P._LABEL}`;
22866
+ return `${this.rootId}-${N._LABEL}`;
22737
22867
  }
22738
22868
  /**
22739
22869
  * The `id` of the field description element, derived from `rootId` with the
22740
22870
  * description part name appended.
22741
22871
  */
22742
22872
  get descriptionId() {
22743
- return `${this.rootId}-${P._DESCRIPTION}`;
22873
+ return `${this.rootId}-${N._DESCRIPTION}`;
22744
22874
  }
22745
22875
  /**
22746
22876
  * The `id` of the mark element, derived from `rootId` with the mark part name
22747
22877
  * appended.
22748
22878
  */
22749
22879
  get markId() {
22750
- return `${this.rootId}-${P._MARK}`;
22880
+ return `${this.rootId}-${N._MARK}`;
22751
22881
  }
22752
22882
  /**
22753
22883
  * The `id` of the input element, equal to `fieldId` when provided, otherwise
22754
22884
  * derived from `rootId` with the input part name appended.
22755
22885
  */
22756
22886
  get inputId() {
22757
- return this.fieldId ?? `${this.rootId}-${P._INPUT}`;
22887
+ return this.fieldId ?? `${this.rootId}-${N._INPUT}`;
22758
22888
  }
22759
22889
  /**
22760
22890
  * The `id` of the field error element, derived from `rootId` with the error
22761
22891
  * part name appended.
22762
22892
  */
22763
22893
  get errorId() {
22764
- return `${this.rootId}-${P._ERROR}`;
22894
+ return `${this.rootId}-${N._ERROR}`;
22765
22895
  }
22766
22896
  /**
22767
22897
  * Returns a the normalized value of `_value` by trimming whitespace and
@@ -22787,7 +22917,7 @@ let P = class extends v {
22787
22917
  * `pattern` prop when provided, otherwise falling back to `_PATTERN`.
22788
22918
  */
22789
22919
  get _pattern() {
22790
- return this.pattern ? new RegExp(this.pattern) : P._PATTERN;
22920
+ return this.pattern ? new RegExp(this.pattern) : N._PATTERN;
22791
22921
  }
22792
22922
  /**
22793
22923
  * Adds the input, form submit, and form reset event listeners.
@@ -22814,7 +22944,7 @@ let P = class extends v {
22814
22944
  * Defines and dispatches the validate event.
22815
22945
  */
22816
22946
  _dispatchValidate(t, e, r, i) {
22817
- const s = this.inputId, o = this.rootId, n = this.name, h = new CustomEvent(P.validateEventName, {
22947
+ const s = this.inputId, o = this.rootId, n = this.name, h = new CustomEvent(N.validateEventName, {
22818
22948
  detail: { id: s, parentId: o, name: n, value: r, valid: t, type: e, message: i },
22819
22949
  bubbles: !0,
22820
22950
  composed: !0
@@ -22889,7 +23019,7 @@ let P = class extends v {
22889
23019
  return !this.mark && (!this.caret || !this.required) ? g : d`
22890
23020
  <span
22891
23021
  id="${this.markId}"
22892
- part="${P.parts.mark}"
23022
+ part="${N.parts.mark}"
22893
23023
  data-content="${this.mark ? "text" : "caret"}"
22894
23024
  >
22895
23025
  ${this.mark ? this.mark : d`&ast;`}
@@ -22903,7 +23033,7 @@ let P = class extends v {
22903
23033
  return d`
22904
23034
  <rtg-field-label
22905
23035
  id="${this.labelId}"
22906
- part="${P.parts.label}"
23036
+ part="${N.parts.label}"
22907
23037
  for="${this.inputId}"
22908
23038
  >
22909
23039
  ${this.label} ${this._renderMark()}
@@ -22917,7 +23047,7 @@ let P = class extends v {
22917
23047
  return this.description ? d`
22918
23048
  <rtg-field-description
22919
23049
  id="${this.descriptionId}"
22920
- part="${P.parts.description}"
23050
+ part="${N.parts.description}"
22921
23051
  >
22922
23052
  ${this.description}
22923
23053
  </rtg-field-description>
@@ -22931,7 +23061,7 @@ let P = class extends v {
22931
23061
  return this._invalid ? d`
22932
23062
  <rtg-field-error
22933
23063
  id="${this.errorId}"
22934
- part="${P.parts.error}"
23064
+ part="${N.parts.error}"
22935
23065
  .errors=${[{ message: this._error }]}
22936
23066
  ></rtg-field-error>
22937
23067
  ` : g;
@@ -22941,7 +23071,7 @@ let P = class extends v {
22941
23071
  return d`
22942
23072
  <rtg-field
22943
23073
  id="${this.rootId}"
22944
- part="${P.parts.root}"
23074
+ part="${N.parts.root}"
22945
23075
  data-content="${this.content}"
22946
23076
  ?disabled="${this.disabled}"
22947
23077
  ?invalid="${this._invalid}"
@@ -22949,7 +23079,7 @@ let P = class extends v {
22949
23079
  ${this.content === "group" ? d`
22950
23080
  <rtg-field-content
22951
23081
  id="${this.contentId}"
22952
- part="${P.parts.content}"
23082
+ part="${N.parts.content}"
22953
23083
  >
22954
23084
  ${this._renderLabel()} ${this._renderDescription()}
22955
23085
  </rtg-field-content>
@@ -22957,7 +23087,7 @@ let P = class extends v {
22957
23087
 
22958
23088
  <rtg-input
22959
23089
  id="${this.inputId}"
22960
- part="${P.parts.input}"
23090
+ part="${N.parts.input}"
22961
23091
  type="text"
22962
23092
  name="${this.name}"
22963
23093
  placeholder="${this.placeholder ?? g}"
@@ -22975,84 +23105,84 @@ let P = class extends v {
22975
23105
  `;
22976
23106
  }
22977
23107
  };
22978
- P._ROOT = "username-field";
22979
- P._CONTENT = "content";
22980
- P._LABEL = "label";
22981
- P._MARK = "mark";
22982
- P._DESCRIPTION = "description";
22983
- P._INPUT = "input";
22984
- P._ERROR = "error";
22985
- P.TAG = `sb-${P._ROOT}`;
22986
- P._PATTERN = /^[a-z0-9_]*$/;
22987
- ht([
23108
+ N._ROOT = "username-field";
23109
+ N._CONTENT = "content";
23110
+ N._LABEL = "label";
23111
+ N._MARK = "mark";
23112
+ N._DESCRIPTION = "description";
23113
+ N._INPUT = "input";
23114
+ N._ERROR = "error";
23115
+ N.TAG = `sb-${N._ROOT}`;
23116
+ N._PATTERN = /^[a-z0-9_]*$/;
23117
+ pt([
22988
23118
  a({ type: String })
22989
- ], P.prototype, "seed", 2);
22990
- ht([
23119
+ ], N.prototype, "seed", 2);
23120
+ pt([
22991
23121
  a({ attribute: "child-id", type: String })
22992
- ], P.prototype, "childId", 2);
22993
- ht([
23122
+ ], N.prototype, "childId", 2);
23123
+ pt([
22994
23124
  a({ attribute: "field-id", type: String })
22995
- ], P.prototype, "fieldId", 2);
22996
- ht([
23125
+ ], N.prototype, "fieldId", 2);
23126
+ pt([
22997
23127
  a({ type: String })
22998
- ], P.prototype, "name", 2);
22999
- ht([
23128
+ ], N.prototype, "name", 2);
23129
+ pt([
23000
23130
  a({ type: String })
23001
- ], P.prototype, "content", 2);
23002
- ht([
23131
+ ], N.prototype, "content", 2);
23132
+ pt([
23003
23133
  a({ type: String })
23004
- ], P.prototype, "label", 2);
23005
- ht([
23134
+ ], N.prototype, "label", 2);
23135
+ pt([
23006
23136
  a({ type: String })
23007
- ], P.prototype, "placeholder", 2);
23008
- ht([
23137
+ ], N.prototype, "placeholder", 2);
23138
+ pt([
23009
23139
  a({ type: String })
23010
- ], P.prototype, "description", 2);
23011
- ht([
23140
+ ], N.prototype, "description", 2);
23141
+ pt([
23012
23142
  a({ type: String })
23013
- ], P.prototype, "mark", 2);
23014
- ht([
23143
+ ], N.prototype, "mark", 2);
23144
+ pt([
23015
23145
  a({ type: Boolean })
23016
- ], P.prototype, "caret", 2);
23017
- ht([
23146
+ ], N.prototype, "caret", 2);
23147
+ pt([
23018
23148
  a({ type: Boolean })
23019
- ], P.prototype, "disabled", 2);
23020
- ht([
23149
+ ], N.prototype, "disabled", 2);
23150
+ pt([
23021
23151
  a({ type: Boolean })
23022
- ], P.prototype, "required", 2);
23023
- ht([
23152
+ ], N.prototype, "required", 2);
23153
+ pt([
23024
23154
  a({ type: Number })
23025
- ], P.prototype, "minlength", 2);
23026
- ht([
23155
+ ], N.prototype, "minlength", 2);
23156
+ pt([
23027
23157
  a({ type: Number })
23028
- ], P.prototype, "maxlength", 2);
23029
- ht([
23158
+ ], N.prototype, "maxlength", 2);
23159
+ pt([
23030
23160
  a({ type: String })
23031
- ], P.prototype, "pattern", 2);
23032
- ht([
23161
+ ], N.prototype, "pattern", 2);
23162
+ pt([
23033
23163
  a({ attribute: "required-error", type: String })
23034
- ], P.prototype, "requiredError", 2);
23035
- ht([
23164
+ ], N.prototype, "requiredError", 2);
23165
+ pt([
23036
23166
  a({ attribute: "minlength-error", type: String })
23037
- ], P.prototype, "minlengthError", 2);
23038
- ht([
23167
+ ], N.prototype, "minlengthError", 2);
23168
+ pt([
23039
23169
  a({ attribute: "maxlength-error", type: String })
23040
- ], P.prototype, "maxlengthError", 2);
23041
- ht([
23170
+ ], N.prototype, "maxlengthError", 2);
23171
+ pt([
23042
23172
  a({ attribute: "format-error", type: String })
23043
- ], P.prototype, "formatError", 2);
23044
- ht([
23173
+ ], N.prototype, "formatError", 2);
23174
+ pt([
23045
23175
  x()
23046
- ], P.prototype, "_invalid", 2);
23047
- ht([
23176
+ ], N.prototype, "_invalid", 2);
23177
+ pt([
23048
23178
  x()
23049
- ], P.prototype, "_error", 2);
23050
- ht([
23179
+ ], N.prototype, "_error", 2);
23180
+ pt([
23051
23181
  x()
23052
- ], P.prototype, "_value", 2);
23053
- P = ht([
23182
+ ], N.prototype, "_value", 2);
23183
+ N = pt([
23054
23184
  u("sb-username-field")
23055
- ], P);
23185
+ ], N);
23056
23186
  var Tm = Object.defineProperty, Lm = Object.getOwnPropertyDescriptor, ve = (t, e, r, i) => {
23057
23187
  for (var s = i > 1 ? void 0 : i ? Lm(e, r) : e, o = t.length - 1, n; o >= 0; o--)
23058
23188
  (n = t[o]) && (s = (i ? n(e, r, s) : n(s)) || s);
@@ -23189,12 +23319,13 @@ at = ve([
23189
23319
  u("sb-form-submit")
23190
23320
  ], at);
23191
23321
  const ph = [
23192
- j,
23193
23322
  D,
23194
- P,
23195
23323
  U,
23324
+ N,
23325
+ M,
23326
+ P,
23196
23327
  A,
23197
- z
23328
+ j
23198
23329
  ], Pm = ph.map((t) => t.TAG).join(", "), uc = ph.map((t) => t.validateEventName);
23199
23330
  var Nm = Object.defineProperty, zm = Object.getOwnPropertyDescriptor, cs = (t, e, r, i) => {
23200
23331
  for (var s = i > 1 ? void 0 : i ? zm(e, r) : e, o = t.length - 1, n; o >= 0; o--)
@@ -23417,8 +23548,8 @@ Io([
23417
23548
  ir = Io([
23418
23549
  u("sb-form-separator")
23419
23550
  ], ir);
23420
- var Um = Object.defineProperty, Fm = Object.getOwnPropertyDescriptor, le = (t, e, r, i) => {
23421
- for (var s = i > 1 ? void 0 : i ? Fm(e, r) : e, o = t.length - 1, n; o >= 0; o--)
23551
+ var Um = Object.defineProperty, Mm = Object.getOwnPropertyDescriptor, le = (t, e, r, i) => {
23552
+ for (var s = i > 1 ? void 0 : i ? Mm(e, r) : e, o = t.length - 1, n; o >= 0; o--)
23422
23553
  (n = t[o]) && (s = (i ? n(e, r, s) : n(s)) || s);
23423
23554
  return i && s && Um(e, r, s), s;
23424
23555
  };
@@ -23582,10 +23713,10 @@ le([
23582
23713
  Z = le([
23583
23714
  u("sb-form-switch")
23584
23715
  ], Z);
23585
- var Mm = Object.defineProperty, Bm = Object.getOwnPropertyDescriptor, ye = (t, e, r, i) => {
23716
+ var Fm = Object.defineProperty, Bm = Object.getOwnPropertyDescriptor, ye = (t, e, r, i) => {
23586
23717
  for (var s = i > 1 ? void 0 : i ? Bm(e, r) : e, o = t.length - 1, n; o >= 0; o--)
23587
23718
  (n = t[o]) && (s = (i ? n(e, r, s) : n(s)) || s);
23588
- return i && s && Mm(e, r, s), s;
23719
+ return i && s && Fm(e, r, s), s;
23589
23720
  };
23590
23721
  let ct = class extends v {
23591
23722
  constructor() {
@@ -24756,7 +24887,7 @@ function vb() {
24756
24887
  </svg>
24757
24888
  `;
24758
24889
  }
24759
- const No = "sb-w-full sb-flex sb-justify-between sb-border-b sb-px-4 sb-py-2", zo = "sb-flex sb-items-center sb-text-[18px] sb-font-medium sb-gap-2 sb-text-muted-foreground !sb-min-w-9 !sb-min-h-9", jo = "sb-w-full sb-basis-36 sb-shrink-0 sb-text-sm sb-text-foreground sb-font-medium sb-truncate sb-overflow-hidden sb-text-ellipsis", Do = "sb-w-full sb-border-none !sb-shadow-none !sb-px-0 disabled:!sb-opacity-100", Uo = "!sb-rounded-2xl !sb-p-0 !sb-bg-base-background", Fo = "!sb-rounded-2xl !sb-p-0 sb-mb-4", Mo = "!sb-bg-background", Bo = "sb-w-full md:sb-w-[120px]", qo = "sb-w-full md:sb-w-[120px]", za = "sb-text-muted-foreground sb-text-sm sb-mr-2 sb-flex sb-items-center sb-gap-1";
24890
+ const No = "sb-w-full sb-flex sb-justify-between sb-border-b sb-px-4 sb-py-2", zo = "sb-flex sb-items-center sb-text-[18px] sb-font-medium sb-gap-2 sb-text-muted-foreground !sb-min-w-9 !sb-min-h-9", jo = "sb-w-full sb-basis-36 sb-shrink-0 sb-text-sm sb-text-foreground sb-font-medium sb-truncate sb-overflow-hidden sb-text-ellipsis", Do = "sb-w-full sb-border-none !sb-shadow-none !sb-px-0 disabled:!sb-opacity-100", Uo = "!sb-rounded-2xl !sb-p-0 !sb-bg-base-background", Mo = "!sb-rounded-2xl !sb-p-0 sb-mb-4", Fo = "!sb-bg-background", Bo = "sb-w-full md:sb-w-[120px]", qo = "sb-w-full md:sb-w-[120px]", za = "sb-text-muted-foreground sb-text-sm sb-mr-2 sb-flex sb-items-center sb-gap-1";
24760
24891
  var yb = Object.defineProperty, wb = Object.getOwnPropertyDescriptor, zt = (t, e, r, i) => {
24761
24892
  for (var s = i > 1 ? void 0 : i ? wb(e, r) : e, o = t.length - 1, n; o >= 0; o--)
24762
24893
  (n = t[o]) && (s = (i ? n(e, r, s) : n(s)) || s);
@@ -24810,7 +24941,7 @@ let At = class extends v {
24810
24941
  }
24811
24942
  getInputStyles(t = !1) {
24812
24943
  var r, i, s;
24813
- const e = t ? Mo : ot(Do);
24944
+ const e = t ? Fo : ot(Do);
24814
24945
  return O(
24815
24946
  e,
24816
24947
  {},
@@ -24832,7 +24963,7 @@ let At = class extends v {
24832
24963
  getContainerStyles(t) {
24833
24964
  var e, r, i, s, o, n, h, p;
24834
24965
  return O(
24835
- t ? Uo : Fo,
24966
+ t ? Uo : Mo,
24836
24967
  {},
24837
24968
  t ? (s = (i = (r = (e = this.customizations) == null ? void 0 : e.byType) == null ? void 0 : r.userProfile) == null ? void 0 : i.userProfileCard) == null ? void 0 : s.editForm : (p = (h = (n = (o = this.customizations) == null ? void 0 : o.byType) == null ? void 0 : n.userProfile) == null ? void 0 : h.userProfileCard) == null ? void 0 : p.container,
24838
24969
  t ? F.USER_PROFILE_EDIT_FORM : F.USER_PROFILE_CARD_CONTAINER,
@@ -25207,7 +25338,7 @@ let sr = class extends v {
25207
25338
  }
25208
25339
  getInputStyles(t = !1) {
25209
25340
  var r, i, s;
25210
- const e = t ? Mo : ot(Do);
25341
+ const e = t ? Fo : ot(Do);
25211
25342
  return O(
25212
25343
  e,
25213
25344
  {},
@@ -25233,7 +25364,7 @@ let sr = class extends v {
25233
25364
  var e, r, i, s, o, n, h, p;
25234
25365
  return O(
25235
25366
  ot(
25236
- t ? Uo + " sb-mb-4" : Fo
25367
+ t ? Uo + " sb-mb-4" : Mo
25237
25368
  ),
25238
25369
  {},
25239
25370
  t ? (s = (i = (r = (e = this.customizations) == null ? void 0 : e.byType) == null ? void 0 : r.userProfile) == null ? void 0 : i.userProfileCard) == null ? void 0 : s.editForm : (p = (h = (n = (o = this.customizations) == null ? void 0 : o.byType) == null ? void 0 : n.userProfile) == null ? void 0 : h.userProfileCard) == null ? void 0 : p.container,
@@ -25278,7 +25409,7 @@ let sr = class extends v {
25278
25409
  `;
25279
25410
  }
25280
25411
  render() {
25281
- var y, w, E, C, S, k, T, I, N, J, Y, nt, gt, jt;
25412
+ var y, w, E, C, S, k, T, I, z, J, Y, nt, gt, jt;
25282
25413
  const t = [
25283
25414
  { label: "Username", value: this.personal.username },
25284
25415
  { label: "First name", value: this.personal.first },
@@ -25296,7 +25427,7 @@ let sr = class extends v {
25296
25427
  ), h = O(
25297
25428
  zo,
25298
25429
  {},
25299
- (J = (N = (I = (T = (k = this.customizations) == null ? void 0 : k.byType) == null ? void 0 : T.userProfile) == null ? void 0 : I.userProfileCard) == null ? void 0 : N.header) == null ? void 0 : J.title,
25430
+ (J = (z = (I = (T = (k = this.customizations) == null ? void 0 : k.byType) == null ? void 0 : T.userProfile) == null ? void 0 : I.userProfileCard) == null ? void 0 : z.header) == null ? void 0 : J.title,
25300
25431
  F.USER_PROFILE_CARD_HEADER_CONTAINER,
25301
25432
  this.customizations
25302
25433
  ), p = this.getLabelStyles(), b = this.isEditing ? r : e;
@@ -25338,15 +25469,15 @@ let sr = class extends v {
25338
25469
  <rtg-card-content>
25339
25470
  <div class="sb-flex sb-flex-col sb-gap-3 sb-p-4">
25340
25471
  ${t.map(
25341
- (H) => d`
25472
+ (G) => d`
25342
25473
  <div
25343
25474
  class="sb-flex ${this.layout === Gt.ROW ? "sb-flex-row sb-items-center sb-gap-2" : "sb-flex-col sb-gap-1"}"
25344
25475
  >
25345
25476
  <div class=${p.class} style=${R(p.style)}>
25346
- ${H.label}
25477
+ ${G.label}
25347
25478
  </div>
25348
25479
  <div class="sb-flex-1 sb-min-w-0 sb-mr-4">
25349
- ${this.renderInput(H.value)}
25480
+ ${this.renderInput(G.value)}
25350
25481
  </div>
25351
25482
  </div>
25352
25483
  `
@@ -25427,7 +25558,7 @@ let or = class extends v {
25427
25558
  }
25428
25559
  getInputStyles(t = !1) {
25429
25560
  var r, i, s;
25430
- const e = t ? Mo : ot(Do);
25561
+ const e = t ? Fo : ot(Do);
25431
25562
  return O(
25432
25563
  e,
25433
25564
  {},
@@ -25453,7 +25584,7 @@ let or = class extends v {
25453
25584
  var e, r, i, s, o, n, h, p;
25454
25585
  return O(
25455
25586
  ot(
25456
- t ? Uo + " sb-mb-4" : Fo
25587
+ t ? Uo + " sb-mb-4" : Mo
25457
25588
  ),
25458
25589
  {},
25459
25590
  t ? (s = (i = (r = (e = this.customizations) == null ? void 0 : e.byType) == null ? void 0 : r.userProfile) == null ? void 0 : i.userProfileCard) == null ? void 0 : s.editForm : (p = (h = (n = (o = this.customizations) == null ? void 0 : o.byType) == null ? void 0 : n.userProfile) == null ? void 0 : h.userProfileCard) == null ? void 0 : p.container,
@@ -25498,7 +25629,7 @@ let or = class extends v {
25498
25629
  `;
25499
25630
  }
25500
25631
  render() {
25501
- var y, w, E, C, S, k, T, I, N, J, Y, nt;
25632
+ var y, w, E, C, S, k, T, I, z, J, Y, nt;
25502
25633
  const t = [
25503
25634
  { label: "Location", value: this.locationInfo.location },
25504
25635
  { label: "Zone Info", value: this.locationInfo.zoneInfo }
@@ -25511,7 +25642,7 @@ let or = class extends v {
25511
25642
  ), h = O(
25512
25643
  zo,
25513
25644
  {},
25514
- (J = (N = (I = (T = (k = this.customizations) == null ? void 0 : k.byType) == null ? void 0 : T.userProfile) == null ? void 0 : I.userProfileCard) == null ? void 0 : N.header) == null ? void 0 : J.title,
25645
+ (J = (z = (I = (T = (k = this.customizations) == null ? void 0 : k.byType) == null ? void 0 : T.userProfile) == null ? void 0 : I.userProfileCard) == null ? void 0 : z.header) == null ? void 0 : J.title,
25515
25646
  F.USER_PROFILE_CARD_HEADER_CONTAINER,
25516
25647
  this.customizations
25517
25648
  ), p = this.getLabelStyles(), b = this.isEditing ? r : e;
@@ -25642,7 +25773,7 @@ let nr = class extends v {
25642
25773
  }
25643
25774
  getInputStyles(t = !1) {
25644
25775
  var r, i, s;
25645
- const e = t ? Mo : ot(Do);
25776
+ const e = t ? Fo : ot(Do);
25646
25777
  return O(
25647
25778
  e,
25648
25779
  {},
@@ -25668,7 +25799,7 @@ let nr = class extends v {
25668
25799
  var e, r, i, s, o, n, h, p;
25669
25800
  return O(
25670
25801
  ot(
25671
- t ? Uo : Fo,
25802
+ t ? Uo : Mo,
25672
25803
  "!sb-mb-0"
25673
25804
  ),
25674
25805
  {},
@@ -25714,7 +25845,7 @@ let nr = class extends v {
25714
25845
  `;
25715
25846
  }
25716
25847
  render() {
25717
- var y, w, E, C, S, k, T, I, N, J, Y, nt;
25848
+ var y, w, E, C, S, k, T, I, z, J, Y, nt;
25718
25849
  const t = [{ label: "Website", value: this.URLsInfo.website }], e = this.getContainerStyles(!1), r = this.getContainerStyles(!0), { defaultMapped: i, outlineMapped: s, ghostMapped: o } = this.getButtonStyles(), n = O(
25719
25850
  No,
25720
25851
  {},
@@ -25724,7 +25855,7 @@ let nr = class extends v {
25724
25855
  ), h = O(
25725
25856
  zo,
25726
25857
  {},
25727
- (J = (N = (I = (T = (k = this.customizations) == null ? void 0 : k.byType) == null ? void 0 : T.userProfile) == null ? void 0 : I.userProfileCard) == null ? void 0 : N.header) == null ? void 0 : J.title,
25858
+ (J = (z = (I = (T = (k = this.customizations) == null ? void 0 : k.byType) == null ? void 0 : T.userProfile) == null ? void 0 : I.userProfileCard) == null ? void 0 : z.header) == null ? void 0 : J.title,
25728
25859
  F.USER_PROFILE_CARD_HEADER_CONTAINER,
25729
25860
  this.customizations
25730
25861
  ), p = this.getLabelStyles(), b = this.isEditing ? r : e;
@@ -26340,10 +26471,10 @@ Vo([
26340
26471
  ss = Vo([
26341
26472
  u("sb-preview")
26342
26473
  ], ss);
26343
- var Fb = Object.defineProperty, Mb = Object.getOwnPropertyDescriptor, Ho = (t, e, r, i) => {
26344
- for (var s = i > 1 ? void 0 : i ? Mb(e, r) : e, o = t.length - 1, n; o >= 0; o--)
26474
+ var Mb = Object.defineProperty, Fb = Object.getOwnPropertyDescriptor, Ho = (t, e, r, i) => {
26475
+ for (var s = i > 1 ? void 0 : i ? Fb(e, r) : e, o = t.length - 1, n; o >= 0; o--)
26345
26476
  (n = t[o]) && (s = (i ? n(e, r, s) : n(s)) || s);
26346
- return i && s && Fb(e, r, s), s;
26477
+ return i && s && Mb(e, r, s), s;
26347
26478
  };
26348
26479
  let os = class extends v {
26349
26480
  constructor() {
@@ -27002,13 +27133,13 @@ export {
27002
27133
  as as SbAuthenticated,
27003
27134
  Zi as SbButtonRenderer,
27004
27135
  oo as SbCheckboxRenderer,
27005
- z as SbConfirmField,
27136
+ j as SbConfirmField,
27006
27137
  vi as SbContainer,
27007
27138
  uo as SbContainerRenderer,
27008
27139
  Wr as SbCountdown,
27009
27140
  Ji as SbCountdownRenderer,
27010
27141
  so as SbDividerRenderer,
27011
- j as SbEmailField,
27142
+ D as SbEmailField,
27012
27143
  $t as SbError,
27013
27144
  lo as SbErrorRenderer,
27014
27145
  yt as SbForm,
@@ -27020,20 +27151,20 @@ export {
27020
27151
  fo as SbHeader,
27021
27152
  ta as SbHint,
27022
27153
  co as SbHtmlRenderer,
27023
- U as SbIdentifierField,
27154
+ M as SbIdentifierField,
27024
27155
  Qi as SbImage,
27025
27156
  mo as SbInputRenderer,
27026
27157
  bo as SbLabelRenderer,
27027
27158
  or as SbLocationInfo,
27028
27159
  rs as SbLogo,
27029
27160
  ts as SbLogoRenderer,
27030
- G as SbNameField,
27161
+ P as SbNameField,
27031
27162
  be as SbOtp,
27032
27163
  ao as SbOtpRenderer,
27033
27164
  ct as SbPasskeyButton,
27034
27165
  A as SbPasswordField,
27035
27166
  sr as SbPersonalInfo,
27036
- D as SbPhoneField,
27167
+ U as SbPhoneField,
27037
27168
  lr as SbProvider,
27038
27169
  dt as SbProviderButton,
27039
27170
  wt as SbProviderField,
@@ -27046,7 +27177,7 @@ export {
27046
27177
  yo as SbTitle,
27047
27178
  nr as SbUrlsInfo,
27048
27179
  we as SbUserProfile,
27049
- P as SbUsernameField,
27180
+ N as SbUsernameField,
27050
27181
  qt as SbWatermark,
27051
27182
  go as SbWatermarkRenderer,
27052
27183
  ia as SignedIn,