@revotech-group/revotech-ui-kit 0.0.91 → 0.0.93

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/library.css CHANGED
@@ -1734,6 +1734,16 @@ body {
1734
1734
  animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
1735
1735
  }
1736
1736
 
1737
+ .rtg-no-autofill-bg:-webkit-autofill,
1738
+ .rtg-no-autofill-bg:-webkit-autofill:hover,
1739
+ .rtg-no-autofill-bg:-webkit-autofill:focus,
1740
+ .rtg-no-autofill-bg:-webkit-autofill:active {
1741
+ box-shadow: 0 0 0 1000px transparent inset !important;
1742
+ -webkit-text-fill-color: inherit !important;
1743
+ -webkit-transition: background-color 5000s ease-in-out 0s !important;
1744
+ transition: background-color 5000s ease-in-out 0s !important;
1745
+ }
1746
+
1737
1747
  @media (max-width: 640px) {
1738
1748
  .container {
1739
1749
  padding-left: 1rem;
@@ -1741,6 +1751,17 @@ body {
1741
1751
  }
1742
1752
  }
1743
1753
 
1754
+ /* @layer components {
1755
+ input:-internal-autofill-selected,
1756
+ textarea:-internal-autofill-selected,
1757
+ select:-internal-autofill-selected {
1758
+ @apply text-inherit;
1759
+ -webkit-text-fill-color: inherit !important;
1760
+ transition: background-color 5000s ease-in-out 0s !important;
1761
+ box-shadow: 0 0 0px 1000px transparent inset !important;
1762
+ }
1763
+ } */
1764
+
1744
1765
  .file\:rtg-border-0::file-selector-button {
1745
1766
  border-width: 0px;
1746
1767
  }
@@ -1784,6 +1805,14 @@ body {
1784
1805
  border-bottom-right-radius: calc(var(--radius) - 2px);
1785
1806
  }
1786
1807
 
1808
+ .autofill\:rtg-bg-transparent:-webkit-autofill {
1809
+ background-color: transparent;
1810
+ }
1811
+
1812
+ .autofill\:rtg-bg-transparent:autofill {
1813
+ background-color: transparent;
1814
+ }
1815
+
1787
1816
  .focus-within\:rtg-relative:focus-within {
1788
1817
  position: relative;
1789
1818
  }
@@ -8,7 +8,7 @@ import { unsafeHTML as Dn } from "lit/directives/unsafe-html.js";
8
8
  import { html as ct } from "lit-element";
9
9
  import { createContext as Ps, provide as Nr, consume as Mr } from "@lit-labs/context";
10
10
  import { ref as qi } from "lit/directives/ref.js";
11
- const Bi = "rtg-flex rtg-h-9 rtg-w-full rtg-rounded-md rtg-border rtg-border-input rtg-bg-transparent rtg-px-3 rtg-py-1 rtg-text-sm rtg-shadow-sm rtg-transition-colors file:rtg-border-0 file:rtg-bg-transparent file:rtg-text-sm file:rtg-font-medium placeholder:rtg-text-muted-foreground focus-visible:rtg-outline-none focus-visible:rtg-ring-1 focus-visible:rtg-ring-ring disabled:rtg-opacity-50 input-base";
11
+ const Bi = "rtg-flex rtg-h-9 rtg-w-full rtg-no-autofill-bg rtg-rounded-md rtg-border rtg-border-input autofill:rtg-bg-transparent rtg-bg-transparent rtg-px-3 rtg-py-1 rtg-text-sm rtg-shadow-sm rtg-transition-colors file:rtg-border-0 file:rtg-bg-transparent file:rtg-text-sm file:rtg-font-medium placeholder:rtg-text-muted-foreground focus-visible:rtg-outline-none focus-visible:rtg-ring-1 focus-visible:rtg-ring-ring disabled:rtg-opacity-50 input-base";
12
12
  function Rn(e) {
13
13
  var t, o, s = "";
14
14
  if (typeof e == "string" || typeof e == "number") s += e;
@@ -22,7 +22,7 @@ function kn() {
22
22
  for (var e, t, o = 0, s = "", r = arguments.length; o < r; o++) (e = arguments[o]) && (t = Rn(e)) && (s && (s += " "), s += t);
23
23
  return s;
24
24
  }
25
- const Ds = "-", Fi = (e) => {
25
+ const Ds = "-", Vi = (e) => {
26
26
  const t = Gi(e), {
27
27
  conflictingClassGroups: o,
28
28
  conflictingClassGroupModifiers: s
@@ -30,7 +30,7 @@ const Ds = "-", Fi = (e) => {
30
30
  return {
31
31
  getClassGroupId: (i) => {
32
32
  const v = i.split(Ds);
33
- return v[0] === "" && v.length !== 1 && v.shift(), An(v, t) || Vi(i);
33
+ return v[0] === "" && v.length !== 1 && v.shift(), An(v, t) || Fi(i);
34
34
  },
35
35
  getConflictingClassGroupIds: (i, v) => {
36
36
  const y = o[i] || [];
@@ -50,7 +50,7 @@ const Ds = "-", Fi = (e) => {
50
50
  return (i = t.validators.find(({
51
51
  validator: v
52
52
  }) => v(n))) == null ? void 0 : i.classGroupId;
53
- }, yo = /^\[(.+)\]$/, Vi = (e) => {
53
+ }, yo = /^\[(.+)\]$/, Fi = (e) => {
54
54
  if (yo.test(e)) {
55
55
  const t = yo.exec(e)[1], o = t == null ? void 0 : t.substring(0, t.indexOf(":"));
56
56
  if (o)
@@ -145,7 +145,7 @@ const Ds = "-", Fi = (e) => {
145
145
  }
146
146
  N === "[" ? w++ : N === "]" && w--;
147
147
  }
148
- const F = y.length === 0 ? v : v.substring(x), H = F.startsWith(Ln), j = H ? F.substring(1) : F, U = T && T > x ? T - x : void 0;
148
+ const V = y.length === 0 ? v : v.substring(x), H = V.startsWith(Ln), j = H ? V.substring(1) : V, U = T && T > x ? T - x : void 0;
149
149
  return {
150
150
  modifiers: y,
151
151
  hasImportantModifier: H,
@@ -168,7 +168,7 @@ const Ds = "-", Fi = (e) => {
168
168
  }, Zi = (e) => ({
169
169
  cache: Ki(e.cacheSize),
170
170
  parseClassName: Wi(e),
171
- ...Fi(e)
171
+ ...Vi(e)
172
172
  }), Qi = /\s+/, Ji = (e, t) => {
173
173
  const {
174
174
  parseClassName: o,
@@ -180,16 +180,16 @@ const Ds = "-", Fi = (e) => {
180
180
  const w = i[y], {
181
181
  modifiers: x,
182
182
  hasImportantModifier: T,
183
- baseClassName: F,
183
+ baseClassName: V,
184
184
  maybePostfixModifierPosition: H
185
185
  } = o(w);
186
- let j = !!H, U = s(j ? F.substring(0, H) : F);
186
+ let j = !!H, U = s(j ? V.substring(0, H) : V);
187
187
  if (!U) {
188
188
  if (!j) {
189
189
  v = w + (v.length > 0 ? " " + v : v);
190
190
  continue;
191
191
  }
192
- if (U = s(F), !U) {
192
+ if (U = s(V), !U) {
193
193
  v = w + (v.length > 0 ? " " + v : v);
194
194
  continue;
195
195
  }
@@ -251,7 +251,7 @@ const Y = (e) => {
251
251
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
252
252
  na.test(e) && !ia.test(e)
253
253
  ), jn = () => !1, ma = (e) => aa.test(e), ba = (e) => la.test(e), wa = () => {
254
- const e = Y("colors"), t = Y("spacing"), o = Y("blur"), s = Y("brightness"), r = Y("borderColor"), n = Y("borderRadius"), i = Y("borderSpacing"), v = Y("borderWidth"), y = Y("contrast"), w = Y("grayscale"), x = Y("hueRotate"), T = Y("invert"), F = Y("gap"), H = Y("gradientColorStops"), j = Y("gradientColorStopPositions"), U = Y("inset"), S = Y("margin"), N = Y("opacity"), X = Y("padding"), J = Y("saturate"), oe = Y("scale"), M = Y("sepia"), Ae = Y("skew"), Le = Y("space"), ge = Y("translate"), ne = () => ["auto", "contain", "none"], Ke = () => ["auto", "hidden", "clip", "visible", "scroll"], V = () => ["auto", E, t], q = () => [E, t], me = () => ["", Oe, je], ie = () => ["auto", yt, E], ee = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], re = () => ["solid", "dashed", "dotted", "double", "none"], Ie = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], be = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], we = () => ["", "0", E], c = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], f = () => [yt, E];
254
+ const e = Y("colors"), t = Y("spacing"), o = Y("blur"), s = Y("brightness"), r = Y("borderColor"), n = Y("borderRadius"), i = Y("borderSpacing"), v = Y("borderWidth"), y = Y("contrast"), w = Y("grayscale"), x = Y("hueRotate"), T = Y("invert"), V = Y("gap"), H = Y("gradientColorStops"), j = Y("gradientColorStopPositions"), U = Y("inset"), S = Y("margin"), N = Y("opacity"), X = Y("padding"), J = Y("saturate"), oe = Y("scale"), M = Y("sepia"), Ae = Y("skew"), Le = Y("space"), ge = Y("translate"), ne = () => ["auto", "contain", "none"], Ke = () => ["auto", "hidden", "clip", "visible", "scroll"], F = () => ["auto", E, t], q = () => [E, t], me = () => ["", Oe, je], ie = () => ["auto", yt, E], ee = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], re = () => ["solid", "dashed", "dotted", "double", "none"], Ie = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], be = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], we = () => ["", "0", E], c = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], f = () => [yt, E];
255
255
  return {
256
256
  cacheSize: 500,
257
257
  separator: ":",
@@ -271,8 +271,8 @@ const Y = (e) => {
271
271
  gap: q(),
272
272
  gradientColorStops: [e],
273
273
  gradientColorStopPositions: [ca, je],
274
- inset: V(),
275
- margin: V(),
274
+ inset: F(),
275
+ margin: F(),
276
276
  opacity: f(),
277
277
  padding: q(),
278
278
  saturate: f(),
@@ -504,7 +504,7 @@ const Y = (e) => {
504
504
  * @see https://tailwindcss.com/docs/flex-basis
505
505
  */
506
506
  basis: [{
507
- basis: V()
507
+ basis: F()
508
508
  }],
509
509
  /**
510
510
  * Flex Direction
@@ -634,21 +634,21 @@ const Y = (e) => {
634
634
  * @see https://tailwindcss.com/docs/gap
635
635
  */
636
636
  gap: [{
637
- gap: [F]
637
+ gap: [V]
638
638
  }],
639
639
  /**
640
640
  * Gap X
641
641
  * @see https://tailwindcss.com/docs/gap
642
642
  */
643
643
  "gap-x": [{
644
- "gap-x": [F]
644
+ "gap-x": [V]
645
645
  }],
646
646
  /**
647
647
  * Gap Y
648
648
  * @see https://tailwindcss.com/docs/gap
649
649
  */
650
650
  "gap-y": [{
651
- "gap-y": [F]
651
+ "gap-y": [V]
652
652
  }],
653
653
  /**
654
654
  * Justify Content
@@ -5939,7 +5939,7 @@ let se = class extends h {
5939
5939
  ));
5940
5940
  }
5941
5941
  emitValueChange() {
5942
- this.value = `${this.countryCode}${this.rawTelValue}`, this.dispatchEvent(
5942
+ this.value = `${this.countryCode}-${this.rawTelValue}`, this.dispatchEvent(
5943
5943
  new CustomEvent("input", {
5944
5944
  bubbles: !0,
5945
5945
  composed: !0,
@@ -6007,9 +6007,9 @@ let se = class extends h {
6007
6007
  type="tel"
6008
6008
  class="${p(
6009
6009
  // Input-specific styles
6010
- "rtg-flex-1 rtg-bg-transparent rtg-text-sm rtg-px-3 rtg-py-[3px] input-base",
6010
+ "rtg-flex-1 rtg-bg-transparent rtg-text-sm rtg-px-3 rtg-py-[3px] input-base",
6011
6011
  // No outline on focus to defer to parent for visual styling
6012
- "focus-visible:rtg-outline-none"
6012
+ "focus-visible:rtg-outline-none rtg-no-autofill-bg"
6013
6013
  )}"
6014
6014
  placeholder=${this.placeholder}
6015
6015
  .value=${this.rawTelValue}
@@ -6076,13 +6076,13 @@ const $o = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Eo = kn, p
6076
6076
  const { variants: r, defaultVariants: n } = t, i = Object.keys(r).map((w) => {
6077
6077
  const x = o == null ? void 0 : o[w], T = n == null ? void 0 : n[w];
6078
6078
  if (x === null) return null;
6079
- const F = $o(x) || $o(T);
6080
- return r[w][F];
6079
+ const V = $o(x) || $o(T);
6080
+ return r[w][V];
6081
6081
  }), v = o && Object.entries(o).reduce((w, x) => {
6082
- let [T, F] = x;
6083
- return F === void 0 || (w[T] = F), w;
6082
+ let [T, V] = x;
6083
+ return V === void 0 || (w[T] = V), w;
6084
6084
  }, {}), y = t == null || (s = t.compoundVariants) === null || s === void 0 ? void 0 : s.reduce((w, x) => {
6085
- let { class: T, className: F, ...H } = x;
6085
+ let { class: T, className: V, ...H } = x;
6086
6086
  return Object.entries(H).every((j) => {
6087
6087
  let [U, S] = j;
6088
6088
  return Array.isArray(S) ? S.includes({
@@ -6095,7 +6095,7 @@ const $o = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Eo = kn, p
6095
6095
  }) ? [
6096
6096
  ...w,
6097
6097
  T,
6098
- F
6098
+ V
6099
6099
  ] : w;
6100
6100
  }, []);
6101
6101
  return Eo(e, i, y, o == null ? void 0 : o.class, o == null ? void 0 : o.className);
@@ -6311,10 +6311,10 @@ So = qa([
6311
6311
  g("rtg-avatar")
6312
6312
  ], So);
6313
6313
  const Ba = "rtg-relative rtg-w-full rtg-overflow-hidden rtg-bg-muted";
6314
- var Fa = Object.defineProperty, Va = Object.getOwnPropertyDescriptor, qn = (e, t, o, s) => {
6315
- for (var r = s > 1 ? void 0 : s ? Va(t, o) : t, n = e.length - 1, i; n >= 0; n--)
6314
+ var Va = Object.defineProperty, Fa = Object.getOwnPropertyDescriptor, qn = (e, t, o, s) => {
6315
+ for (var r = s > 1 ? void 0 : s ? Fa(t, o) : t, n = e.length - 1, i; n >= 0; n--)
6316
6316
  (i = e[n]) && (r = (s ? i(t, o, r) : i(r)) || r);
6317
- return s && r && Fa(t, o, r), r;
6317
+ return s && r && Va(t, o, r), r;
6318
6318
  };
6319
6319
  let Jr = class extends z {
6320
6320
  constructor() {
@@ -6770,14 +6770,14 @@ let ve = class extends z {
6770
6770
  this.currentDate.getFullYear(),
6771
6771
  this.currentDate.getMonth(),
6772
6772
  Number(y.day)
6773
- ), x = this.selectedStartDate && w.toDateString() === this.selectedStartDate.toDateString(), T = this.selectedEndDate && w.toDateString() === this.selectedEndDate.toDateString(), F = this.isDayInRange(w);
6773
+ ), x = this.selectedStartDate && w.toDateString() === this.selectedStartDate.toDateString(), T = this.selectedEndDate && w.toDateString() === this.selectedEndDate.toDateString(), V = this.isDayInRange(w);
6774
6774
  return d`
6775
6775
  <td
6776
6776
  class="${p(
6777
6777
  "rtg-relative rtg-p-0 rtg-text-center rtg-text-sm focus-within:rtg-relative focus-within:rtg-z-20",
6778
6778
  x && y.isCurrentMonth && "day-range-start",
6779
6779
  T && y.isCurrentMonth && "day-range-end",
6780
- F && y.isCurrentMonth && "day-in-range bg-muted"
6780
+ V && y.isCurrentMonth && "day-in-range bg-muted"
6781
6781
  )}"
6782
6782
  role="presentation"
6783
6783
  >
@@ -7055,7 +7055,7 @@ let Po = class extends h {
7055
7055
  Po = al([
7056
7056
  g("rtg-popover-trigger")
7057
7057
  ], Po);
7058
- var ll = Object.defineProperty, cl = Object.getOwnPropertyDescriptor, Fn = (e, t, o, s) => {
7058
+ var ll = Object.defineProperty, cl = Object.getOwnPropertyDescriptor, Vn = (e, t, o, s) => {
7059
7059
  for (var r = s > 1 ? void 0 : s ? cl(t, o) : t, n = e.length - 1, i; n >= 0; n--)
7060
7060
  (i = e[n]) && (r = (s ? i(t, o, r) : i(r)) || r);
7061
7061
  return s && r && ll(t, o, r), r;
@@ -7089,13 +7089,13 @@ let Kt = class extends h {
7089
7089
  `;
7090
7090
  }
7091
7091
  };
7092
- Fn([
7092
+ Vn([
7093
7093
  R()
7094
7094
  ], Kt.prototype, "isOpen", 2);
7095
- Kt = Fn([
7095
+ Kt = Vn([
7096
7096
  g("rtg-popover")
7097
7097
  ], Kt);
7098
- var dl = Object.defineProperty, ul = Object.getOwnPropertyDescriptor, Vn = (e, t, o, s) => {
7098
+ var dl = Object.defineProperty, ul = Object.getOwnPropertyDescriptor, Fn = (e, t, o, s) => {
7099
7099
  for (var r = s > 1 ? void 0 : s ? ul(t, o) : t, n = e.length - 1, i; n >= 0; n--)
7100
7100
  (i = e[n]) && (r = (s ? i(t, o, r) : i(r)) || r);
7101
7101
  return s && r && dl(t, o, r), r;
@@ -7172,10 +7172,10 @@ let es = class extends z {
7172
7172
  `;
7173
7173
  }
7174
7174
  };
7175
- Vn([
7175
+ Fn([
7176
7176
  l({ type: Object })
7177
7177
  ], es.prototype, "selectedDate", 2);
7178
- es = Vn([
7178
+ es = Fn([
7179
7179
  g("rtg-date-picker")
7180
7180
  ], es);
7181
7181
  var We = /* @__PURE__ */ ((e) => (e.MULTIPLE = "multiple", e.SINGLE = "single", e))(We || {}), pl = Object.defineProperty, gl = Object.getOwnPropertyDescriptor, Ls = (e, t, o, s) => {
@@ -7784,10 +7784,10 @@ Wn([
7784
7784
  ss = Wn([
7785
7785
  g("rtg-card")
7786
7786
  ], ss);
7787
- var Fl = Object.defineProperty, Vl = Object.getOwnPropertyDescriptor, It = (e, t, o, s) => {
7788
- for (var r = s > 1 ? void 0 : s ? Vl(t, o) : t, n = e.length - 1, i; n >= 0; n--)
7787
+ var Vl = Object.defineProperty, Fl = Object.getOwnPropertyDescriptor, It = (e, t, o, s) => {
7788
+ for (var r = s > 1 ? void 0 : s ? Fl(t, o) : t, n = e.length - 1, i; n >= 0; n--)
7789
7789
  (i = e[n]) && (r = (s ? i(t, o, r) : i(r)) || r);
7790
- return s && r && Fl(t, o, r), r;
7790
+ return s && r && Vl(t, o, r), r;
7791
7791
  };
7792
7792
  let Ze = class extends z {
7793
7793
  constructor() {
@@ -9080,7 +9080,7 @@ let No = class extends h {
9080
9080
  No = Uc([
9081
9081
  g("rtg-command")
9082
9082
  ], No);
9083
- const zc = "rtg-relative rtg-flex rtg-cursor-default rtg-select-none rtg-items-center rtg-rounded-sm rtg-px-2 rtg-py-1.5 rtg-text-sm rtg-outline-none aria-selected:rtg-bg-accent aria-selected:rtg-text-accent-foreground", qc = "rtg-z-50 rtg-min-w-[8rem] rtg-overflow-hidden rtg-rounded-md rtg-border rtg-bg-popover rtg-p-1 rtg-text-popover-foreground rtg-shadow-md data-[state=open]:rtg-animate-in data-[state=closed]:rtg-animate-out data-[state=closed]:rtg-fade-out-0 data-[state=open]:rtg-fade-in-0 data-[state=closed]:rtg-zoom-out-95 data-[state=open]:rtg-zoom-in-95 data-[side=bottom]:rtg-slide-in-from-top-2 data-[side=left]:rtg-slide-in-from-right-2 data-[side=right]:rtg-slide-in-from-left-2 data-[side=top]:rtg-slide-in-from-bottom-2", Bc = "rtg-overflow-hidden rtg-p-1 rtg-text-foreground [&_[rtgcmd-group-heading]]:rtg-px-2 [&_[rtgcmd-group-heading]]:rtg-py-1.5 [&_[rtgcmd-group-heading]]:rtg-text-xs [&_[rtgcmd-group-heading]]:rtg-font-medium [&_[rtgcmd-group-heading]]:rtg-text-muted-foreground", Fc = "rtg-relative rtg-flex rtg-cursor-default rtg-select-none rtg-items-center rtg-rounded-sm rtg-px-2 rtg-py-1.5 rtg-text-sm rtg-outline-none focus:bg-accent focus:rtg-text-accent-foreground data-[disabled]:rtg-pointer-events-none data-[disabled]:rtg-opacity-50 hover:rtg-bg-accent hover:rtg-text-accent-foreground", Vc = "rtg-relative rtg-flex rtg-cursor-default rtg-select-none rtg-items-center rtg-rounded-sm rtg-px-2 rtg-py-1.5 rtg-text-sm rtg-outline-none aria-selected:rtg-bg-accent aria-selected:rtg-text-accent-foreground", Gc = "rtg-mx-1 rtg-h-px rtg-bg-border", Hc = "rtg-ml-auto rtg-text-xs rtg-font-semibold";
9083
+ const zc = "rtg-relative rtg-flex rtg-cursor-default rtg-select-none rtg-items-center rtg-rounded-sm rtg-px-2 rtg-py-1.5 rtg-text-sm rtg-outline-none aria-selected:rtg-bg-accent aria-selected:rtg-text-accent-foreground", qc = "rtg-z-50 rtg-min-w-[8rem] rtg-overflow-hidden rtg-rounded-md rtg-border rtg-bg-popover rtg-p-1 rtg-text-popover-foreground rtg-shadow-md data-[state=open]:rtg-animate-in data-[state=closed]:rtg-animate-out data-[state=closed]:rtg-fade-out-0 data-[state=open]:rtg-fade-in-0 data-[state=closed]:rtg-zoom-out-95 data-[state=open]:rtg-zoom-in-95 data-[side=bottom]:rtg-slide-in-from-top-2 data-[side=left]:rtg-slide-in-from-right-2 data-[side=right]:rtg-slide-in-from-left-2 data-[side=top]:rtg-slide-in-from-bottom-2", Bc = "rtg-overflow-hidden rtg-p-1 rtg-text-foreground [&_[rtgcmd-group-heading]]:rtg-px-2 [&_[rtgcmd-group-heading]]:rtg-py-1.5 [&_[rtgcmd-group-heading]]:rtg-text-xs [&_[rtgcmd-group-heading]]:rtg-font-medium [&_[rtgcmd-group-heading]]:rtg-text-muted-foreground", Vc = "rtg-relative rtg-flex rtg-cursor-default rtg-select-none rtg-items-center rtg-rounded-sm rtg-px-2 rtg-py-1.5 rtg-text-sm rtg-outline-none focus:bg-accent focus:rtg-text-accent-foreground data-[disabled]:rtg-pointer-events-none data-[disabled]:rtg-opacity-50 hover:rtg-bg-accent hover:rtg-text-accent-foreground", Fc = "rtg-relative rtg-flex rtg-cursor-default rtg-select-none rtg-items-center rtg-rounded-sm rtg-px-2 rtg-py-1.5 rtg-text-sm rtg-outline-none aria-selected:rtg-bg-accent aria-selected:rtg-text-accent-foreground", Gc = "rtg-mx-1 rtg-h-px rtg-bg-border", Hc = "rtg-ml-auto rtg-text-xs rtg-font-semibold";
9084
9084
  var Yc = Object.defineProperty, Kc = Object.getOwnPropertyDescriptor, ei = (e, t, o, s) => {
9085
9085
  for (var r = s > 1 ? void 0 : s ? Kc(t, o) : t, n = e.length - 1, i; n >= 0; n--)
9086
9086
  (i = e[n]) && (r = (s ? i(t, o, r) : i(r)) || r);
@@ -9306,7 +9306,7 @@ let ds = class extends h {
9306
9306
  return d`
9307
9307
  <div
9308
9308
  part="context-menu-item"
9309
- class="${p(Fc, this.className)}"
9309
+ class="${p(Vc, this.className)}"
9310
9310
  role="option"
9311
9311
  data-value="${this.value}"
9312
9312
  ></div>
@@ -9357,7 +9357,7 @@ let rt = class extends h {
9357
9357
  <div
9358
9358
  part="context-menu-radio"
9359
9359
  class="${p(
9360
- Vc,
9360
+ Fc,
9361
9361
  this.disabled ? "pointer-events-none opacity-50" : "",
9362
9362
  this.className
9363
9363
  )}"
@@ -9825,7 +9825,7 @@ var Od = Object.getOwnPropertyDescriptor, Sd = (e, t, o, s) => {
9825
9825
  (i = e[n]) && (r = i(r) || r);
9826
9826
  return r;
9827
9827
  };
9828
- let Fo = class extends h {
9828
+ let Vo = class extends h {
9829
9829
  get _containerElement() {
9830
9830
  return this.querySelector("div[part=dialog-footer]");
9831
9831
  }
@@ -9847,9 +9847,9 @@ let Fo = class extends h {
9847
9847
  `;
9848
9848
  }
9849
9849
  };
9850
- Fo = Sd([
9850
+ Vo = Sd([
9851
9851
  g("rtg-dialog-footer")
9852
- ], Fo);
9852
+ ], Vo);
9853
9853
  var Pd = Object.defineProperty, Dd = Object.getOwnPropertyDescriptor, zs = (e, t, o, s) => {
9854
9854
  for (var r = s > 1 ? void 0 : s ? Dd(t, o) : t, n = e.length - 1, i; n >= 0; n--)
9855
9855
  (i = e[n]) && (r = (s ? i(t, o, r) : i(r)) || r);
@@ -9899,7 +9899,7 @@ var Rd = Object.getOwnPropertyDescriptor, kd = (e, t, o, s) => {
9899
9899
  (i = e[n]) && (r = i(r) || r);
9900
9900
  return r;
9901
9901
  };
9902
- let Vo = class extends z {
9902
+ let Fo = class extends z {
9903
9903
  createRenderRoot() {
9904
9904
  return this;
9905
9905
  }
@@ -9912,9 +9912,9 @@ let Vo = class extends z {
9912
9912
  `;
9913
9913
  }
9914
9914
  };
9915
- Vo = kd([
9915
+ Fo = kd([
9916
9916
  g("rtg-dialog-overlay")
9917
- ], Vo);
9917
+ ], Fo);
9918
9918
  var Ad = Object.getOwnPropertyDescriptor, Ld = (e, t, o, s) => {
9919
9919
  for (var r = s > 1 ? void 0 : s ? Ad(t, o) : t, n = e.length - 1, i; n >= 0; n--)
9920
9920
  (i = e[n]) && (r = i(r) || r);
@@ -10051,8 +10051,8 @@ qs([
10051
10051
  Cr = qs([
10052
10052
  g("rtg-switch")
10053
10053
  ], Cr);
10054
- const Bs = "closed", Bd = "rtg-relative rtg-flex rtg-cursor-default rtg-select-none rtg-items-center rtg-rounded-sm rtg-px-2 rtg-py-1.5 rtg-text-sm rtg-outline-none aria-selected:rtg-bg-accent aria-selected:rtg-text-accent-foreground", Fd = "rtg-absolute rtg-flex rtg-h-full rtg-max-h-[300px] rtg-flex-col rtg-overflow-y-auto rtg-overflow-x-hidden rtg-rounded-md rtg-border rtg-bg-popover rtg-text-popover-foreground shadow-md", Vd = "rtg-overflow-hidden rtg-p-1 rtg-text-foreground [&_[rtgcmd-group-heading]]:rtg-px-2 [&_[rtgcmd-group-heading]]:rtg-py-1.5 [&_[rtgcmd-group-heading]]:rtg-text-xs [&_[rtgcmd-group-heading]]:rtg-font-medium [&_[rtgcmd-group-heading]]:rtg-text-muted-foreground", Gd = "rtg-relative rtg-flex rtg-cursor-default rtg-select-none rtg-items-center rtg-rounded-sm rtg-px-2 rtg-py-1.5 rtg-text-sm rtg-outline-none aria-selected:rtg-bg-accent aria-selected:rtg-text-accent-foreground data-[disabled]:rtg-pointer-events-none data-[disabled]:rtg-opacity-50", Hd = "rtg-relative rtg-flex rtg-cursor-default rtg-select-none rtg-items-center rtg-rounded-sm rtg-px-2 rtg-py-1.5 rtg-text-sm rtg-outline-none aria-selected:rtg-bg-accent aria-selected:rtg-text-accent-foreground", Yd = "rtg-mx-1 rtg-h-px rtg-bg-border";
10055
- var Kd = Object.defineProperty, Wd = Object.getOwnPropertyDescriptor, Fs = (e, t, o, s) => {
10054
+ const Bs = "closed", Bd = "rtg-relative rtg-flex rtg-cursor-default rtg-select-none rtg-items-center rtg-rounded-sm rtg-px-2 rtg-py-1.5 rtg-text-sm rtg-outline-none aria-selected:rtg-bg-accent aria-selected:rtg-text-accent-foreground", Vd = "rtg-absolute rtg-flex rtg-h-full rtg-max-h-[300px] rtg-flex-col rtg-overflow-y-auto rtg-overflow-x-hidden rtg-rounded-md rtg-border rtg-bg-popover rtg-text-popover-foreground shadow-md", Fd = "rtg-overflow-hidden rtg-p-1 rtg-text-foreground [&_[rtgcmd-group-heading]]:rtg-px-2 [&_[rtgcmd-group-heading]]:rtg-py-1.5 [&_[rtgcmd-group-heading]]:rtg-text-xs [&_[rtgcmd-group-heading]]:rtg-font-medium [&_[rtgcmd-group-heading]]:rtg-text-muted-foreground", Gd = "rtg-relative rtg-flex rtg-cursor-default rtg-select-none rtg-items-center rtg-rounded-sm rtg-px-2 rtg-py-1.5 rtg-text-sm rtg-outline-none aria-selected:rtg-bg-accent aria-selected:rtg-text-accent-foreground data-[disabled]:rtg-pointer-events-none data-[disabled]:rtg-opacity-50", Hd = "rtg-relative rtg-flex rtg-cursor-default rtg-select-none rtg-items-center rtg-rounded-sm rtg-px-2 rtg-py-1.5 rtg-text-sm rtg-outline-none aria-selected:rtg-bg-accent aria-selected:rtg-text-accent-foreground", Yd = "rtg-mx-1 rtg-h-px rtg-bg-border";
10055
+ var Kd = Object.defineProperty, Wd = Object.getOwnPropertyDescriptor, Vs = (e, t, o, s) => {
10056
10056
  for (var r = s > 1 ? void 0 : s ? Wd(t, o) : t, n = e.length - 1, i; n >= 0; n--)
10057
10057
  (i = e[n]) && (r = (s ? i(t, o, r) : i(r)) || r);
10058
10058
  return s && r && Kd(t, o, r), r;
@@ -10083,19 +10083,19 @@ let $r = class extends h {
10083
10083
  return d`
10084
10084
  <div
10085
10085
  part="dropdown-menu-content"
10086
- class="${p(Fd, this.className)}"
10086
+ class="${p(Vd, this.className)}"
10087
10087
  style="display: ${this.isOpen ? "block" : "none"};height:auto;z-index: 50"
10088
10088
  ></div>
10089
10089
  `;
10090
10090
  }
10091
10091
  };
10092
- Fs([
10092
+ Vs([
10093
10093
  l({ attribute: "data-state", type: String })
10094
10094
  ], $r.prototype, "state", 2);
10095
- Fs([
10095
+ Vs([
10096
10096
  R()
10097
10097
  ], $r.prototype, "isOpen", 2);
10098
- $r = Fs([
10098
+ $r = Vs([
10099
10099
  g("rtg-dropdown-menu-content")
10100
10100
  ], $r);
10101
10101
  var Xd = Object.defineProperty, Zd = Object.getOwnPropertyDescriptor, or = (e, t, o, s) => {
@@ -10393,7 +10393,7 @@ let Wt = class extends h {
10393
10393
  return d`${this._hidden === "true" ? Z : d`
10394
10394
  <div
10395
10395
  part="dropdown-menu-group"
10396
- class="${p(Vd, this.className)}"
10396
+ class="${p(Fd, this.className)}"
10397
10397
  rtgcmd-group
10398
10398
  role="presentation"
10399
10399
  >
@@ -10783,7 +10783,7 @@ Ut([
10783
10783
  _e = Ut([
10784
10784
  g("rtg-pagination-link")
10785
10785
  ], _e);
10786
- var Ru = Object.defineProperty, ku = Object.getOwnPropertyDescriptor, Vs = (e, t, o, s) => {
10786
+ var Ru = Object.defineProperty, ku = Object.getOwnPropertyDescriptor, Fs = (e, t, o, s) => {
10787
10787
  for (var r = s > 1 ? void 0 : s ? ku(t, o) : t, n = e.length - 1, i; n >= 0; n--)
10788
10788
  (i = e[n]) && (r = (s ? i(t, o, r) : i(r)) || r);
10789
10789
  return s && r && Ru(t, o, r), r;
@@ -10848,13 +10848,13 @@ let Er = class extends h {
10848
10848
  `;
10849
10849
  }
10850
10850
  };
10851
- Vs([
10851
+ Fs([
10852
10852
  R()
10853
10853
  ], Er.prototype, "uniqueIds", 2);
10854
- Vs([
10854
+ Fs([
10855
10855
  l({ type: Boolean })
10856
10856
  ], Er.prototype, "isActive", 2);
10857
- Er = Vs([
10857
+ Er = Fs([
10858
10858
  g("rtg-pagination-item")
10859
10859
  ], Er);
10860
10860
  var Au = Object.getOwnPropertyDescriptor, Lu = (e, t, o, s) => {
@@ -11112,8 +11112,8 @@ ci([
11112
11112
  hs = ci([
11113
11113
  g("rtg-drawer-content")
11114
11114
  ], hs);
11115
- var Fu = Object.getOwnPropertyDescriptor, Vu = (e, t, o, s) => {
11116
- for (var r = s > 1 ? void 0 : s ? Fu(t, o) : t, n = e.length - 1, i; n >= 0; n--)
11115
+ var Vu = Object.getOwnPropertyDescriptor, Fu = (e, t, o, s) => {
11116
+ for (var r = s > 1 ? void 0 : s ? Vu(t, o) : t, n = e.length - 1, i; n >= 0; n--)
11117
11117
  (i = e[n]) && (r = i(r) || r);
11118
11118
  return r;
11119
11119
  };
@@ -11158,7 +11158,7 @@ let tn = class extends h {
11158
11158
  `;
11159
11159
  }
11160
11160
  };
11161
- tn = Vu([
11161
+ tn = Fu([
11162
11162
  g("rtg-drawer-close")
11163
11163
  ], tn);
11164
11164
  const Hu = "rtg-text-sm rtg-text-muted-foreground", Yu = "rtg-mt-auto rtg-flex rtg-flex-col rtg-gap-2 rtg-p-4", Ku = "rtg-grid rtg-gap-1.5 rtg-p-4 rtg-text-center sm:rtg-text-left", Wu = "rtg-fixed rtg-inset-0 rtg-z-50 rtg-bg-black/80", Xu = "rtg-text-lg rtg-font-semibold rtg-leading-none rtg-tracking-tight";
@@ -11898,8 +11898,8 @@ const jp = pe(
11898
11898
  }
11899
11899
  }
11900
11900
  ), Mp = "rtg-fixed rtg-top-0 rtg-z-[100] rtg-flex rtg-max-h-screen rtg-w-full rtg-flex-col-reverse rtg-p-4 sm:rtg-bottom-0 sm:rtg-right-0 sm:rtg-top-auto sm:rtg-flex-col md:rtg-max-w-[420px]", Up = "rtg-absolute rtg-right-1 rtg-top-1 rtg-rounded-md rtg-p-1 rtg-text-foreground/50 rtg-opacity-0 rtg-transition-opacity hover:rtg-text-foreground focus:rtg-opacity-100 focus:rtg-outline-none focus:rtg-ring-1 group-hover:rtg-opacity-100 group-[.destructive]:rtg-text-red-300 group-[.destructive]:hover:rtg-text-red-50 group-[.destructive]:focus:rtg-ring-red-400 group-[.destructive]:focus:rtg-ring-offset-red-600", zp = "rtg-text-sm rtg-opacity-90", qp = "rtg-text-sm rtg-font-semibold [&+div]:rtg-text-xs";
11901
- var Bp = Object.defineProperty, Fp = Object.getOwnPropertyDescriptor, Ks = (e, t, o, s) => {
11902
- for (var r = s > 1 ? void 0 : s ? Fp(t, o) : t, n = e.length - 1, i; n >= 0; n--)
11901
+ var Bp = Object.defineProperty, Vp = Object.getOwnPropertyDescriptor, Ks = (e, t, o, s) => {
11902
+ for (var r = s > 1 ? void 0 : s ? Vp(t, o) : t, n = e.length - 1, i; n >= 0; n--)
11903
11903
  (i = e[n]) && (r = (s ? i(t, o, r) : i(r)) || r);
11904
11904
  return s && r && Bp(t, o, r), r;
11905
11905
  };
@@ -11971,10 +11971,10 @@ Ks([
11971
11971
  Pt = Ks([
11972
11972
  g("rtg-toast-view-port")
11973
11973
  ], Pt);
11974
- var Vp = Object.defineProperty, Gp = Object.getOwnPropertyDescriptor, vi = (e, t, o, s) => {
11974
+ var Fp = Object.defineProperty, Gp = Object.getOwnPropertyDescriptor, vi = (e, t, o, s) => {
11975
11975
  for (var r = s > 1 ? void 0 : s ? Gp(t, o) : t, n = e.length - 1, i; n >= 0; n--)
11976
11976
  (i = e[n]) && (r = (s ? i(t, o, r) : i(r)) || r);
11977
- return s && r && Vp(t, o, r), r;
11977
+ return s && r && Fp(t, o, r), r;
11978
11978
  };
11979
11979
  let Zt = class extends h {
11980
11980
  constructor() {
@@ -13212,7 +13212,7 @@ let vn = class extends h {
13212
13212
  vn = qg([
13213
13213
  g("rtg-bread-crumb-separator")
13214
13214
  ], vn);
13215
- var Bg = Object.getOwnPropertyDescriptor, Fg = (e, t, o, s) => {
13215
+ var Bg = Object.getOwnPropertyDescriptor, Vg = (e, t, o, s) => {
13216
13216
  for (var r = s > 1 ? void 0 : s ? Bg(t, o) : t, n = e.length - 1, i; n >= 0; n--)
13217
13217
  (i = e[n]) && (r = i(r) || r);
13218
13218
  return r;
@@ -13245,11 +13245,11 @@ let fn = class extends h {
13245
13245
  `;
13246
13246
  }
13247
13247
  };
13248
- fn = Fg([
13248
+ fn = Vg([
13249
13249
  g("rtg-bread-crumb-text")
13250
13250
  ], fn);
13251
- var Vg = Object.getOwnPropertyDescriptor, Gg = (e, t, o, s) => {
13252
- for (var r = s > 1 ? void 0 : s ? Vg(t, o) : t, n = e.length - 1, i; n >= 0; n--)
13251
+ var Fg = Object.getOwnPropertyDescriptor, Gg = (e, t, o, s) => {
13252
+ for (var r = s > 1 ? void 0 : s ? Fg(t, o) : t, n = e.length - 1, i; n >= 0; n--)
13253
13253
  (i = e[n]) && (r = i(r) || r);
13254
13254
  return r;
13255
13255
  };
@@ -13318,7 +13318,7 @@ var Kg = Object.defineProperty, Wg = Object.getOwnPropertyDescriptor, Bt = (e, t
13318
13318
  (i = e[n]) && (r = (s ? i(t, o, r) : i(r)) || r);
13319
13319
  return s && r && Kg(t, o, r), r;
13320
13320
  };
13321
- let Fe = class extends h {
13321
+ let Ve = class extends h {
13322
13322
  constructor() {
13323
13323
  super(...arguments), this.value = "", this.navigationLink = !0, this.isOpen = !1, this.uniqueIds = [], this.isHovering = !1, this.handleClickOutside = (e) => {
13324
13324
  const t = e.target;
@@ -13418,22 +13418,22 @@ let Fe = class extends h {
13418
13418
  };
13419
13419
  Bt([
13420
13420
  l({ type: String })
13421
- ], Fe.prototype, "value", 2);
13421
+ ], Ve.prototype, "value", 2);
13422
13422
  Bt([
13423
13423
  l({ type: Boolean })
13424
- ], Fe.prototype, "navigationLink", 2);
13424
+ ], Ve.prototype, "navigationLink", 2);
13425
13425
  Bt([
13426
13426
  R()
13427
- ], Fe.prototype, "isOpen", 2);
13427
+ ], Ve.prototype, "isOpen", 2);
13428
13428
  Bt([
13429
13429
  R()
13430
- ], Fe.prototype, "uniqueIds", 2);
13430
+ ], Ve.prototype, "uniqueIds", 2);
13431
13431
  Bt([
13432
13432
  R()
13433
- ], Fe.prototype, "isHovering", 2);
13434
- Fe = Bt([
13433
+ ], Ve.prototype, "isHovering", 2);
13434
+ Ve = Bt([
13435
13435
  g("rtg-navigation-menu-item")
13436
- ], Fe);
13436
+ ], Ve);
13437
13437
  const Xg = "rtg-absolute rtg-top-full rtg-flex rtg-justify-center", Zg = "rtg-flex rtg-h-full hover:rtg-bg-slate-100 rtg-rounded-md rtg-p-6 rtg-w-full rtg-select-none rtg-flex-col rtg-justify-end rtg-no-underline rtg-outline-none", Qg = "rtg-relative rtg-z-10 rtg-flex rtg-max-w-max rtg-flex-1 rtg-items-center rtg-justify-center";
13438
13438
  var Jg = Object.defineProperty, eh = Object.getOwnPropertyDescriptor, nr = (e, t, o, s) => {
13439
13439
  for (var r = s > 1 ? void 0 : s ? eh(t, o) : t, n = e.length - 1, i; n >= 0; n--)
@@ -13446,7 +13446,7 @@ let Rt = class extends h {
13446
13446
  }
13447
13447
  get _menubarMenu() {
13448
13448
  let e = this.parentElement;
13449
- for (; e && !(e instanceof Fe); )
13449
+ for (; e && !(e instanceof Ve); )
13450
13450
  e = e.parentElement;
13451
13451
  return e;
13452
13452
  }
@@ -13617,12 +13617,12 @@ let yn = class extends h {
13617
13617
  yn = ih([
13618
13618
  g("rtg-navigation-menu")
13619
13619
  ], yn);
13620
- var ah = Object.defineProperty, lh = Object.getOwnPropertyDescriptor, Ft = (e, t, o, s) => {
13620
+ var ah = Object.defineProperty, lh = Object.getOwnPropertyDescriptor, Vt = (e, t, o, s) => {
13621
13621
  for (var r = s > 1 ? void 0 : s ? lh(t, o) : t, n = e.length - 1, i; n >= 0; n--)
13622
13622
  (i = e[n]) && (r = (s ? i(t, o, r) : i(r)) || r);
13623
13623
  return s && r && ah(t, o, r), r;
13624
13624
  };
13625
- let Ve = class extends h {
13625
+ let Fe = class extends h {
13626
13626
  constructor() {
13627
13627
  super(...arguments), this.isOpen = !1, this.uniqueIds = [], this.selectedMenu = "", this.isHovering = !1, this.id = "", this.toggleMenubar = (e) => {
13628
13628
  e.stopPropagation(), document.querySelectorAll("rtg-menubar-menu").forEach((o) => {
@@ -13721,24 +13721,24 @@ let Ve = class extends h {
13721
13721
  `;
13722
13722
  }
13723
13723
  };
13724
- Ft([
13724
+ Vt([
13725
13725
  R()
13726
- ], Ve.prototype, "isOpen", 2);
13727
- Ft([
13726
+ ], Fe.prototype, "isOpen", 2);
13727
+ Vt([
13728
13728
  R()
13729
- ], Ve.prototype, "uniqueIds", 2);
13730
- Ft([
13729
+ ], Fe.prototype, "uniqueIds", 2);
13730
+ Vt([
13731
13731
  R()
13732
- ], Ve.prototype, "selectedMenu", 2);
13733
- Ft([
13732
+ ], Fe.prototype, "selectedMenu", 2);
13733
+ Vt([
13734
13734
  R()
13735
- ], Ve.prototype, "isHovering", 2);
13736
- Ft([
13735
+ ], Fe.prototype, "isHovering", 2);
13736
+ Vt([
13737
13737
  l({ type: String })
13738
- ], Ve.prototype, "id", 2);
13739
- Ve = Ft([
13738
+ ], Fe.prototype, "id", 2);
13739
+ Fe = Vt([
13740
13740
  g("rtg-menubar-menu")
13741
- ], Ve);
13741
+ ], Fe);
13742
13742
  const ch = "rtg-relative rtg-flex rtg-cursor-default rtg-select-none rtg-items-center rtg-rounded-sm rtg-px-2 rtg-py-1.5 rtg-text-sm rtg-outline-none aria-selected:rtg-bg-accent aria-selected:rtg-text-accent-foreground", dh = "rtg-z-50 rtg-min-w-[12rem] rtg-overflow-hidden rtg-rounded-md rtg-border rtg-bg-popover rtg-p-1 rtg-text-popover-foreground rtg-shadow-md data-[state=open]:rtg-animate-in data-[state=closed]:rtg-fade-out-0 data-[state=open]:rtg-fade-in-0 data-[state=closed]:rtg-zoom-out-95 data-[state=open]:rtg-zoom-in-95 data-[side=bottom]:rtg-slide-in-from-top-2 data-[side=left]:rtg-slide-in-from-right-2 data-[side=right]:rtg-slide-in-from-left-2 data-[side=top]:rtg-slide-in-from-bottom-2", uh = "rtg-overflow-hidden rtg-p-1 rtg-text-foreground [&_[rtgcmd-group-heading]]:rtg-px-2 [&_[rtgcmd-group-heading]]:rtg-py-1.5 [&_[rtgcmd-group-heading]]:rtg-text-xs [&_[rtgcmd-group-heading]]:rtg-font-medium [&_[rtgcmd-group-heading]]:rtg-text-muted-foreground", ph = "rtg-relative rtg-flex rtg-cursor-default rtg-select-none rtg-items-center rtg-rounded-sm rtg-px-2 rtg-py-1.5 rtg-text-sm rtg-outline-none aria-selected:rtg-bg-accent aria-selected:rtg-text-accent-foreground data-[disabled]:rtg-pointer-events-none data-[disabled]:rtg-opacity-50", gh = "rtg-relative rtg-flex rtg-cursor-default rtg-select-none rtg-items-center rtg-rounded-sm rtg-px-2 rtg-py-1.5 rtg-text-sm rtg-outline-none aria-selected:rtg-bg-accent aria-selected:rtg-text-accent-foreground", hh = "rtg-mx-1 rtg-h-px rtg-bg-border", vh = "rtg-ml-auto rtg-text-xs rtg-font-semibold", fh = "rtg-flex rtg-h-9 rtg-items-center rtg-space-x-1 rtg-rounded-md rtg-border rtg-bg-background rtg-p-1 rtg-shadow-sm";
13743
13743
  var mh = Object.defineProperty, bh = Object.getOwnPropertyDescriptor, ir = (e, t, o, s) => {
13744
13744
  for (var r = s > 1 ? void 0 : s ? bh(t, o) : t, n = e.length - 1, i; n >= 0; n--)
@@ -13751,7 +13751,7 @@ let kt = class extends h {
13751
13751
  }
13752
13752
  get _menubarMenu() {
13753
13753
  let e = this.parentElement;
13754
- for (; e && !(e instanceof Ve); )
13754
+ for (; e && !(e instanceof Fe); )
13755
13755
  e = e.parentElement;
13756
13756
  return e;
13757
13757
  }
@@ -13817,7 +13817,7 @@ ir([
13817
13817
  kt = ir([
13818
13818
  g("rtg-menubar-content")
13819
13819
  ], kt);
13820
- var wh = Object.defineProperty, yh = Object.getOwnPropertyDescriptor, Fr = (e, t, o, s) => {
13820
+ var wh = Object.defineProperty, yh = Object.getOwnPropertyDescriptor, Vr = (e, t, o, s) => {
13821
13821
  for (var r = s > 1 ? void 0 : s ? yh(t, o) : t, n = e.length - 1, i; n >= 0; n--)
13822
13822
  (i = e[n]) && (r = (s ? i(t, o, r) : i(r)) || r);
13823
13823
  return s && r && wh(t, o, r), r;
@@ -13866,16 +13866,16 @@ let Ge = class extends h {
13866
13866
  }
13867
13867
  };
13868
13868
  Ge._counter = 0;
13869
- Fr([
13869
+ Vr([
13870
13870
  l({ type: String })
13871
13871
  ], Ge.prototype, "heading", 2);
13872
- Fr([
13872
+ Vr([
13873
13873
  l({ attribute: "id", type: String })
13874
13874
  ], Ge.prototype, "_id", 2);
13875
- Fr([
13875
+ Vr([
13876
13876
  l({ attribute: "aria-hidden", type: String })
13877
13877
  ], Ge.prototype, "_hidden", 2);
13878
- Ge = Fr([
13878
+ Ge = Vr([
13879
13879
  g("rtg-menubar-group")
13880
13880
  ], Ge);
13881
13881
  var xh = Object.defineProperty, _h = Object.getOwnPropertyDescriptor, ar = (e, t, o, s) => {
@@ -14302,7 +14302,7 @@ let Cn = class extends h {
14302
14302
  Cn = Ih([
14303
14303
  g("rtg-menubar")
14304
14304
  ], Cn);
14305
- var Th = Object.defineProperty, jh = Object.getOwnPropertyDescriptor, Vr = (e, t, o, s) => {
14305
+ var Th = Object.defineProperty, jh = Object.getOwnPropertyDescriptor, Fr = (e, t, o, s) => {
14306
14306
  for (var r = s > 1 ? void 0 : s ? jh(t, o) : t, n = e.length - 1, i; n >= 0; n--)
14307
14307
  (i = e[n]) && (r = (s ? i(t, o, r) : i(r)) || r);
14308
14308
  return s && r && Th(t, o, r), r;
@@ -14398,16 +14398,16 @@ let Jt = class extends h {
14398
14398
  `;
14399
14399
  }
14400
14400
  };
14401
- Vr([
14401
+ Fr([
14402
14402
  l({ type: Array })
14403
14403
  ], Jt.prototype, "dataTable", 2);
14404
- Vr([
14404
+ Fr([
14405
14405
  l({ type: Array })
14406
14406
  ], Jt.prototype, "footerData", 2);
14407
- Vr([
14407
+ Fr([
14408
14408
  l({ type: String })
14409
14409
  ], Jt.prototype, "captionText", 2);
14410
- Jt = Vr([
14410
+ Jt = Fr([
14411
14411
  g("rtg-table")
14412
14412
  ], Jt);
14413
14413
  class $i {
@@ -14500,7 +14500,7 @@ Cs = Ei([
14500
14500
  ], Cs);
14501
14501
  const Oi = Ps(
14502
14502
  "rtg-form-item-context"
14503
- ), Uh = "rtg-space-y-4", zh = "rtg-text-sm rtg-text-muted-foreground rtg-mt-1", qh = "rtg-space-y-2", Bh = "rtg-space-y-1", Fh = "rtg-text-sm rtg-mb-1 rtg-font-medium rtg-leading-none rtg-peer-disabled:rtg-cursor-not-allowed peer-disabled:rtg-opacity-70", Vh = "rtg-text-sm rtg-text-destructive";
14503
+ ), Uh = "rtg-space-y-4", zh = "rtg-text-sm rtg-text-muted-foreground rtg-mt-1", qh = "rtg-space-y-2", Bh = "rtg-space-y-1", Vh = "rtg-text-sm rtg-mb-1 rtg-font-medium rtg-leading-none rtg-peer-disabled:rtg-cursor-not-allowed peer-disabled:rtg-opacity-70", Fh = "rtg-text-sm rtg-text-destructive";
14504
14504
  var Gh = Object.defineProperty, Hh = Object.getOwnPropertyDescriptor, Si = (e, t, o, s) => {
14505
14505
  for (var r = s > 1 ? void 0 : s ? Hh(t, o) : t, n = e.length - 1, i; n >= 0; n--)
14506
14506
  (i = e[n]) && (r = (s ? i(t, o, r) : i(r)) || r);
@@ -14533,7 +14533,7 @@ $s = Si([
14533
14533
  g("rtg-form-description")
14534
14534
  ], $s);
14535
14535
  const Yh = Ps("rtg-form-field-context");
14536
- var Kh = Object.defineProperty, Wh = Object.getOwnPropertyDescriptor, Vt = (e, t, o, s) => {
14536
+ var Kh = Object.defineProperty, Wh = Object.getOwnPropertyDescriptor, Ft = (e, t, o, s) => {
14537
14537
  for (var r = s > 1 ? void 0 : s ? Wh(t, o) : t, n = e.length - 1, i; n >= 0; n--)
14538
14538
  (i = e[n]) && (r = (s ? i(t, o, r) : i(r)) || r);
14539
14539
  return s && r && Kh(t, o, r), r;
@@ -14579,22 +14579,22 @@ let ke = class extends h {
14579
14579
  ></div>`;
14580
14580
  }
14581
14581
  };
14582
- Vt([
14582
+ Ft([
14583
14583
  Mr({ context: lr })
14584
14584
  ], ke.prototype, "form", 2);
14585
- Vt([
14585
+ Ft([
14586
14586
  l({ type: String })
14587
14587
  ], ke.prototype, "name", 2);
14588
- Vt([
14588
+ Ft([
14589
14589
  l({ type: Array })
14590
14590
  ], ke.prototype, "validators", 2);
14591
- Vt([
14591
+ Ft([
14592
14592
  l({ type: String })
14593
14593
  ], ke.prototype, "defaultValue", 2);
14594
- Vt([
14594
+ Ft([
14595
14595
  Nr({ context: Yh })
14596
14596
  ], ke.prototype, "fieldName", 2);
14597
- ke = Vt([
14597
+ ke = Ft([
14598
14598
  g("rtg-form-field")
14599
14599
  ], ke);
14600
14600
  var Xh = Object.defineProperty, Zh = Object.getOwnPropertyDescriptor, Pi = (e, t, o, s) => {
@@ -14669,7 +14669,7 @@ let Lr = class extends h {
14669
14669
  part="form-label"
14670
14670
  for="${this._field.name}"
14671
14671
  class="${p(
14672
- Fh,
14672
+ Vh,
14673
14673
  this.hasError && "rtg-text-destructive",
14674
14674
  this.className
14675
14675
  )}"
@@ -14715,7 +14715,7 @@ let Ir = class extends z {
14715
14715
  render() {
14716
14716
  return this.error ? d`<p
14717
14717
  id="${this._field.name}-message"
14718
- class="${p(Vh, this.className)}"
14718
+ class="${p(Fh, this.className)}"
14719
14719
  >
14720
14720
  ${this.error}
14721
14721
  </p>` : null;
@@ -14876,10 +14876,11 @@ let jr = class extends h {
14876
14876
  ></textarea>
14877
14877
  <rtg-alert style=${this.btnClass} message=${"hey"}></rtg-alert> -->
14878
14878
  <rtg-input
14879
+ id="email"
14879
14880
  type="tel"
14880
14881
  .value=${this.inputValue}
14881
14882
  @input=${(e) => {
14882
- e.detail.value && (this.inputValue = e.detail.value);
14883
+ console.log(e.detail, this.inputValue), e.detail.value && (this.inputValue = e.detail.value);
14883
14884
  }}
14884
14885
  customClass="rtg-mt-2"
14885
14886
  ></rtg-input>
@@ -14944,8 +14945,8 @@ function Ri(e = window.React, t, o, s, r) {
14944
14945
  }
14945
14946
  }
14946
14947
  T.displayName = r ?? v.name;
14947
- const F = n.forwardRef((H, j) => w(T, { ...H, _$Gl: j }, H == null ? void 0 : H.children));
14948
- return F.displayName = T.displayName, F;
14948
+ const V = n.forwardRef((H, j) => w(T, { ...H, _$Gl: j }, H == null ? void 0 : H.children));
14949
+ return V.displayName = T.displayName, V;
14949
14950
  }
14950
14951
  function vv(e) {
14951
14952
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
@@ -14965,7 +14966,7 @@ function fv() {
14965
14966
  if (On) return O;
14966
14967
  On = 1;
14967
14968
  var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), r = Symbol.for("react.profiler"), n = Symbol.for("react.consumer"), i = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), w = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), T = Symbol.iterator;
14968
- function F(c) {
14969
+ function V(c) {
14969
14970
  return c === null || typeof c != "object" ? null : (c = T && c[T] || c["@@iterator"], typeof c == "function" ? c : null);
14970
14971
  }
14971
14972
  var H = {
@@ -15028,7 +15029,7 @@ function fv() {
15028
15029
  return f[$];
15029
15030
  });
15030
15031
  }
15031
- var V = /\/+/g;
15032
+ var F = /\/+/g;
15032
15033
  function q(c, f) {
15033
15034
  return typeof c == "object" && c !== null && c.key != null ? Ke("" + c.key) : f.toString(36);
15034
15035
  }
@@ -15086,12 +15087,12 @@ function fv() {
15086
15087
  }
15087
15088
  }
15088
15089
  if (D)
15089
- return I = I(c), D = C === "" ? "." + q(c, 0) : C, oe(I) ? ($ = "", D != null && ($ = D.replace(V, "$&/") + "/"), ee(I, f, $, "", function(bt) {
15090
+ return I = I(c), D = C === "" ? "." + q(c, 0) : C, oe(I) ? ($ = "", D != null && ($ = D.replace(F, "$&/") + "/"), ee(I, f, $, "", function(bt) {
15090
15091
  return bt;
15091
15092
  })) : I != null && (ne(I) && (I = ge(
15092
15093
  I,
15093
15094
  $ + (I.key == null || c && c.key === I.key ? "" : ("" + I.key).replace(
15094
- V,
15095
+ F,
15095
15096
  "$&/"
15096
15097
  ) + "/") + D
15097
15098
  )), f.push(I)), 1;
@@ -15106,7 +15107,7 @@ function fv() {
15106
15107
  K,
15107
15108
  I
15108
15109
  );
15109
- else if (W = F(c), typeof W == "function")
15110
+ else if (W = V(c), typeof W == "function")
15110
15111
  for (c = W.call(c), W = 0; !(C = c.next()).done; )
15111
15112
  C = C.value, K = ye + q(C, W++), D += ee(
15112
15113
  C,
@@ -15447,7 +15448,7 @@ function mv() {
15447
15448
  return "<...>";
15448
15449
  }
15449
15450
  }
15450
- function F() {
15451
+ function V() {
15451
15452
  var a = A.A;
15452
15453
  return a === null ? null : a.getOwner();
15453
15454
  }
@@ -15673,7 +15674,7 @@ Your code should look like:
15673
15674
  ), u.default;
15674
15675
  throw a._result;
15675
15676
  }
15676
- function V() {
15677
+ function F() {
15677
15678
  var a = A.H;
15678
15679
  return a === null && console.error(
15679
15680
  `Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
@@ -15837,7 +15838,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
15837
15838
  ae = Object.freeze({
15838
15839
  __proto__: null,
15839
15840
  c: function(a) {
15840
- return V().useMemoCache(a);
15841
+ return F().useMemoCache(a);
15841
15842
  }
15842
15843
  }), t.Children = {
15843
15844
  map: ne,
@@ -15961,7 +15962,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
15961
15962
  }
15962
15963
  P = u.ref !== void 0;
15963
15964
  }
15964
- P && (L = F()), j(u) && (w(u.key), _ = "" + u.key);
15965
+ P && (L = V()), j(u) && (w(u.key), _ = "" + u.key);
15965
15966
  for (B in u)
15966
15967
  !dr.call(u, B) || B === "key" || B === "__self" || B === "__source" || B === "ref" && u.ref === void 0 || (b[B] = u[B]);
15967
15968
  }
@@ -16027,7 +16028,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
16027
16028
  _,
16028
16029
  void 0,
16029
16030
  void 0,
16030
- F(),
16031
+ V(),
16031
16032
  b,
16032
16033
  k ? Error("react-stack-top-frame") : Ii,
16033
16034
  k ? uo(T(a)) : Ti
@@ -16098,66 +16099,66 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
16098
16099
  )), A.T = u;
16099
16100
  }
16100
16101
  }, t.unstable_useCacheRefresh = function() {
16101
- return V().useCacheRefresh();
16102
+ return F().useCacheRefresh();
16102
16103
  }, t.use = function(a) {
16103
- return V().use(a);
16104
+ return F().use(a);
16104
16105
  }, t.useActionState = function(a, u, m) {
16105
- return V().useActionState(
16106
+ return F().useActionState(
16106
16107
  a,
16107
16108
  u,
16108
16109
  m
16109
16110
  );
16110
16111
  }, t.useCallback = function(a, u) {
16111
- return V().useCallback(a, u);
16112
+ return F().useCallback(a, u);
16112
16113
  }, t.useContext = function(a) {
16113
- var u = V();
16114
+ var u = F();
16114
16115
  return a.$$typeof === C && console.error(
16115
16116
  "Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"
16116
16117
  ), u.useContext(a);
16117
16118
  }, t.useDebugValue = function(a, u) {
16118
- return V().useDebugValue(a, u);
16119
+ return F().useDebugValue(a, u);
16119
16120
  }, t.useDeferredValue = function(a, u) {
16120
- return V().useDeferredValue(a, u);
16121
+ return F().useDeferredValue(a, u);
16121
16122
  }, t.useEffect = function(a, u, m) {
16122
16123
  a == null && console.warn(
16123
16124
  "React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
16124
16125
  );
16125
- var b = V();
16126
+ var b = F();
16126
16127
  if (typeof m == "function")
16127
16128
  throw Error(
16128
16129
  "useEffect CRUD overload is not enabled in this build of React."
16129
16130
  );
16130
16131
  return b.useEffect(a, u);
16131
16132
  }, t.useId = function() {
16132
- return V().useId();
16133
+ return F().useId();
16133
16134
  }, t.useImperativeHandle = function(a, u, m) {
16134
- return V().useImperativeHandle(a, u, m);
16135
+ return F().useImperativeHandle(a, u, m);
16135
16136
  }, t.useInsertionEffect = function(a, u) {
16136
16137
  return a == null && console.warn(
16137
16138
  "React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"
16138
- ), V().useInsertionEffect(a, u);
16139
+ ), F().useInsertionEffect(a, u);
16139
16140
  }, t.useLayoutEffect = function(a, u) {
16140
16141
  return a == null && console.warn(
16141
16142
  "React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"
16142
- ), V().useLayoutEffect(a, u);
16143
+ ), F().useLayoutEffect(a, u);
16143
16144
  }, t.useMemo = function(a, u) {
16144
- return V().useMemo(a, u);
16145
+ return F().useMemo(a, u);
16145
16146
  }, t.useOptimistic = function(a, u) {
16146
- return V().useOptimistic(a, u);
16147
+ return F().useOptimistic(a, u);
16147
16148
  }, t.useReducer = function(a, u, m) {
16148
- return V().useReducer(a, u, m);
16149
+ return F().useReducer(a, u, m);
16149
16150
  }, t.useRef = function(a) {
16150
- return V().useRef(a);
16151
+ return F().useRef(a);
16151
16152
  }, t.useState = function(a) {
16152
- return V().useState(a);
16153
+ return F().useState(a);
16153
16154
  }, t.useSyncExternalStore = function(a, u, m) {
16154
- return V().useSyncExternalStore(
16155
+ return F().useSyncExternalStore(
16155
16156
  a,
16156
16157
  u,
16157
16158
  m
16158
16159
  );
16159
16160
  }, t.useTransition = function() {
16160
- return V().useTransition();
16161
+ return F().useTransition();
16161
16162
  }, t.version = "19.1.1", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
16162
16163
  }();
16163
16164
  }(Yt, Yt.exports)), Yt.exports;
@@ -16236,9 +16237,9 @@ export {
16236
16237
  Et as Dialog,
16237
16238
  Bo as DialogClose,
16238
16239
  gs as DialogContent,
16239
- Fo as DialogFooter,
16240
+ Vo as DialogFooter,
16240
16241
  _r as DialogHeader,
16241
- Vo as DialogOverlay,
16242
+ Fo as DialogOverlay,
16242
16243
  Go as DialogTrigger,
16243
16244
  Xt as Drawer,
16244
16245
  tn as DrawerClose,
@@ -16271,14 +16272,14 @@ export {
16271
16272
  kt as MenubarContent,
16272
16273
  Ge as MenubarGroup,
16273
16274
  Re as MenubarItem,
16274
- Ve as MenubarMenu,
16275
+ Fe as MenubarMenu,
16275
16276
  ce as MenubarRadioItem,
16276
16277
  at as MenubarSeparator,
16277
16278
  xn as MenubarShortcut,
16278
16279
  _n as MenubarTrigger,
16279
16280
  yn as NavigationMenu,
16280
16281
  Rt as NavigationMenuContent,
16281
- Fe as NavigationMenuItem,
16282
+ Ve as NavigationMenuItem,
16282
16283
  _s as NavigationMenuLink,
16283
16284
  bn as NavigationMenuList,
16284
16285
  wn as NavigationMenuTrigger,
@@ -1,4 +1,4 @@
1
- (function(o,d){typeof exports=="object"&&typeof module<"u"?d(exports,require("lit"),require("lit/decorators.js"),require("lit/html.js"),require("lit/directive.js"),require("lit/async-directive.js"),require("lit/directives/if-defined.js"),require("lit/directives/unsafe-html.js"),require("lit-element"),require("@lit-labs/context"),require("lit/directives/ref.js")):typeof define=="function"&&define.amd?define(["exports","lit","lit/decorators.js","lit/html.js","lit/directive.js","lit/async-directive.js","lit/directives/if-defined.js","lit/directives/unsafe-html.js","lit-element","@lit-labs/context","lit/directives/ref.js"],d):(o=typeof globalThis<"u"?globalThis:o||self,d(o["rtg-ui-kit"]={},o.lit,o.decorators_js,o.html_js,o.directive_js,o.asyncDirective_js,o.ifDefined_js,o.unsafeHtml_js,o.litElement,o.context,o.ref_js))})(this,function(o,d,l,Mn,_t,Ln,Nn,sr,Ce,oe,Bn){"use strict";const qn="rtg-flex rtg-h-9 rtg-w-full rtg-rounded-md rtg-border rtg-border-input rtg-bg-transparent rtg-px-3 rtg-py-1 rtg-text-sm rtg-shadow-sm rtg-transition-colors file:rtg-border-0 file:rtg-bg-transparent file:rtg-text-sm file:rtg-font-medium placeholder:rtg-text-muted-foreground focus-visible:rtg-outline-none focus-visible:rtg-ring-1 focus-visible:rtg-ring-ring disabled:rtg-opacity-50 input-base";function lr(a){var e,r,n="";if(typeof a=="string"||typeof a=="number")n+=a;else if(typeof a=="object")if(Array.isArray(a)){var t=a.length;for(e=0;e<t;e++)a[e]&&(r=lr(a[e]))&&(n&&(n+=" "),n+=r)}else for(r in a)a[r]&&(n&&(n+=" "),n+=r);return n}function cr(){for(var a,e,r=0,n="",t=arguments.length;r<t;r++)(a=arguments[r])&&(e=lr(a))&&(n&&(n+=" "),n+=e);return n}const Et="-",Un=a=>{const e=Fn(a),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=a;return{getClassGroupId:s=>{const m=s.split(Et);return m[0]===""&&m.length!==1&&m.shift(),dr(m,e)||zn(s)},getConflictingClassGroupIds:(s,m)=>{const C=r[s]||[];return m&&n[s]?[...C,...n[s]]:C}}},dr=(a,e)=>{var s;if(a.length===0)return e.classGroupId;const r=a[0],n=e.nextPart.get(r),t=n?dr(a.slice(1),n):void 0;if(t)return t;if(e.validators.length===0)return;const i=a.join(Et);return(s=e.validators.find(({validator:m})=>m(i)))==null?void 0:s.classGroupId},ur=/^\[(.+)\]$/,zn=a=>{if(ur.test(a)){const e=ur.exec(a)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},Fn=a=>{const{theme:e,prefix:r}=a,n={nextPart:new Map,validators:[]};return Vn(Object.entries(a.classGroups),r).forEach(([i,s])=>{xt(s,n,i,e)}),n},xt=(a,e,r,n)=>{a.forEach(t=>{if(typeof t=="string"){const i=t===""?e:gr(e,t);i.classGroupId=r;return}if(typeof t=="function"){if(Gn(t)){xt(t(n),e,r,n);return}e.validators.push({validator:t,classGroupId:r});return}Object.entries(t).forEach(([i,s])=>{xt(s,gr(e,i),r,n)})})},gr=(a,e)=>{let r=a;return e.split(Et).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Gn=a=>a.isThemeGetter,Vn=(a,e)=>e?a.map(([r,n])=>{const t=n.map(i=>typeof i=="string"?e+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,m])=>[e+s,m])):i);return[r,t]}):a,Hn=a=>{if(a<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,n=new Map;const t=(i,s)=>{r.set(i,s),e++,e>a&&(e=0,n=r,r=new Map)};return{get(i){let s=r.get(i);if(s!==void 0)return s;if((s=n.get(i))!==void 0)return t(i,s),s},set(i,s){r.has(i)?r.set(i,s):t(i,s)}}},pr="!",Yn=a=>{const{separator:e,experimentalParseClassName:r}=a,n=e.length===1,t=e[0],i=e.length,s=m=>{const C=[];let b=0,w=0,x;for(let P=0;P<m.length;P++){let L=m[P];if(b===0){if(L===t&&(n||m.slice(P,P+i)===e)){C.push(m.slice(w,P)),w=P+i;continue}if(L==="/"){x=P;continue}}L==="["?b++:L==="]"&&b--}const N=C.length===0?m:m.substring(w),F=N.startsWith(pr),M=F?N.substring(1):N,q=x&&x>w?x-w:void 0;return{modifiers:C,hasImportantModifier:F,baseClassName:M,maybePostfixModifierPosition:q}};return r?m=>r({className:m,parseClassName:s}):s},Kn=a=>{if(a.length<=1)return a;const e=[];let r=[];return a.forEach(n=>{n[0]==="["?(e.push(...r.sort(),n),r=[]):r.push(n)}),e.push(...r.sort()),e},Wn=a=>({cache:Hn(a.cacheSize),parseClassName:Yn(a),...Un(a)}),jn=/\s+/,Xn=(a,e)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:t}=e,i=[],s=a.trim().split(jn);let m="";for(let C=s.length-1;C>=0;C-=1){const b=s[C],{modifiers:w,hasImportantModifier:x,baseClassName:N,maybePostfixModifierPosition:F}=r(b);let M=!!F,q=n(M?N.substring(0,F):N);if(!q){if(!M){m=b+(m.length>0?" "+m:m);continue}if(q=n(N),!q){m=b+(m.length>0?" "+m:m);continue}M=!1}const P=Kn(w).join(":"),L=x?P+pr:P,W=L+q;if(i.includes(W))continue;i.push(W);const j=t(q,M);for(let ee=0;ee<j.length;++ee){const B=j[ee];i.push(L+B)}m=b+(m.length>0?" "+m:m)}return m};function Zn(){let a=0,e,r,n="";for(;a<arguments.length;)(e=arguments[a++])&&(r=hr(e))&&(n&&(n+=" "),n+=r);return n}const hr=a=>{if(typeof a=="string")return a;let e,r="";for(let n=0;n<a.length;n++)a[n]&&(e=hr(a[n]))&&(r&&(r+=" "),r+=e);return r};function Qn(a,...e){let r,n,t,i=s;function s(C){const b=e.reduce((w,x)=>x(w),a());return r=Wn(b),n=r.cache.get,t=r.cache.set,i=m,m(C)}function m(C){const b=n(C);if(b)return b;const w=Xn(C,r);return t(C,w),w}return function(){return i(Zn.apply(null,arguments))}}const H=a=>{const e=r=>r[a]||[];return e.isThemeGetter=!0,e},mr=/^\[(?:([a-z-]+):)?(.+)\]$/i,Jn=/^\d+\/\d+$/,eo=new Set(["px","full","screen"]),to=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ro=/\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$/,no=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,oo=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ao=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,pe=a=>ke(a)||eo.has(a)||Jn.test(a),he=a=>Te(a,"length",ho),ke=a=>!!a&&!Number.isNaN(Number(a)),$t=a=>Te(a,"number",ke),We=a=>!!a&&Number.isInteger(Number(a)),io=a=>a.endsWith("%")&&ke(a.slice(0,-1)),O=a=>mr.test(a),me=a=>to.test(a),so=new Set(["length","size","percentage"]),lo=a=>Te(a,so,vr),co=a=>Te(a,"position",vr),uo=new Set(["image","url"]),go=a=>Te(a,uo,vo),po=a=>Te(a,"",mo),je=()=>!0,Te=(a,e,r)=>{const n=mr.exec(a);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):r(n[2]):!1},ho=a=>ro.test(a)&&!no.test(a),vr=()=>!1,mo=a=>oo.test(a),vo=a=>ao.test(a),fo=Qn(()=>{const a=H("colors"),e=H("spacing"),r=H("blur"),n=H("brightness"),t=H("borderColor"),i=H("borderRadius"),s=H("borderSpacing"),m=H("borderWidth"),C=H("contrast"),b=H("grayscale"),w=H("hueRotate"),x=H("invert"),N=H("gap"),F=H("gradientColorStops"),M=H("gradientColorStopPositions"),q=H("inset"),P=H("margin"),L=H("opacity"),W=H("padding"),j=H("saturate"),ee=H("scale"),B=H("sepia"),fe=H("skew"),be=H("space"),ie=H("translate"),te=()=>["auto","contain","none"],Ie=()=>["auto","hidden","clip","visible","scroll"],G=()=>["auto",O,e],U=()=>[O,e],ce=()=>["",pe,he],re=()=>["auto",ke,O],X=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Z=()=>["solid","dashed","dotted","double","none"],ye=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],de=()=>["start","end","center","between","around","evenly","stretch"],ue=()=>["","0",O],u=()=>["auto","avoid","all","avoid-page","page","left","right","column"],v=()=>[ke,O];return{cacheSize:500,separator:":",theme:{colors:[je],spacing:[pe,he],blur:["none","",me,O],brightness:v(),borderColor:[a],borderRadius:["none","","full",me,O],borderSpacing:U(),borderWidth:ce(),contrast:v(),grayscale:ue(),hueRotate:v(),invert:ue(),gap:U(),gradientColorStops:[a],gradientColorStopPositions:[io,he],inset:G(),margin:G(),opacity:v(),padding:U(),saturate:v(),scale:v(),sepia:ue(),skew:v(),space:U(),translate:U()},classGroups:{aspect:[{aspect:["auto","square","video",O]}],container:["container"],columns:[{columns:[me]}],"break-after":[{"break-after":u()}],"break-before":[{"break-before":u()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...X(),O]}],overflow:[{overflow:Ie()}],"overflow-x":[{"overflow-x":Ie()}],"overflow-y":[{"overflow-y":Ie()}],overscroll:[{overscroll:te()}],"overscroll-x":[{"overscroll-x":te()}],"overscroll-y":[{"overscroll-y":te()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[q]}],"inset-x":[{"inset-x":[q]}],"inset-y":[{"inset-y":[q]}],start:[{start:[q]}],end:[{end:[q]}],top:[{top:[q]}],right:[{right:[q]}],bottom:[{bottom:[q]}],left:[{left:[q]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",We,O]}],basis:[{basis:G()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",O]}],grow:[{grow:ue()}],shrink:[{shrink:ue()}],order:[{order:["first","last","none",We,O]}],"grid-cols":[{"grid-cols":[je]}],"col-start-end":[{col:["auto",{span:["full",We,O]},O]}],"col-start":[{"col-start":re()}],"col-end":[{"col-end":re()}],"grid-rows":[{"grid-rows":[je]}],"row-start-end":[{row:["auto",{span:[We,O]},O]}],"row-start":[{"row-start":re()}],"row-end":[{"row-end":re()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",O]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",O]}],gap:[{gap:[N]}],"gap-x":[{"gap-x":[N]}],"gap-y":[{"gap-y":[N]}],"justify-content":[{justify:["normal",...de()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...de(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...de(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[W]}],px:[{px:[W]}],py:[{py:[W]}],ps:[{ps:[W]}],pe:[{pe:[W]}],pt:[{pt:[W]}],pr:[{pr:[W]}],pb:[{pb:[W]}],pl:[{pl:[W]}],m:[{m:[P]}],mx:[{mx:[P]}],my:[{my:[P]}],ms:[{ms:[P]}],me:[{me:[P]}],mt:[{mt:[P]}],mr:[{mr:[P]}],mb:[{mb:[P]}],ml:[{ml:[P]}],"space-x":[{"space-x":[be]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[be]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",O,e]}],"min-w":[{"min-w":[O,e,"min","max","fit"]}],"max-w":[{"max-w":[O,e,"none","full","min","max","fit","prose",{screen:[me]},me]}],h:[{h:[O,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[O,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[O,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[O,e,"auto","min","max","fit"]}],"font-size":[{text:["base",me,he]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",$t]}],"font-family":[{font:[je]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",O]}],"line-clamp":[{"line-clamp":["none",ke,$t]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",pe,O]}],"list-image":[{"list-image":["none",O]}],"list-style-type":[{list:["none","disc","decimal",O]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[a]}],"placeholder-opacity":[{"placeholder-opacity":[L]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[a]}],"text-opacity":[{"text-opacity":[L]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",pe,he]}],"underline-offset":[{"underline-offset":["auto",pe,O]}],"text-decoration-color":[{decoration:[a]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:U()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",O]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",O]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[L]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...X(),co]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",lo]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},go]}],"bg-color":[{bg:[a]}],"gradient-from-pos":[{from:[M]}],"gradient-via-pos":[{via:[M]}],"gradient-to-pos":[{to:[M]}],"gradient-from":[{from:[F]}],"gradient-via":[{via:[F]}],"gradient-to":[{to:[F]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[m]}],"border-w-x":[{"border-x":[m]}],"border-w-y":[{"border-y":[m]}],"border-w-s":[{"border-s":[m]}],"border-w-e":[{"border-e":[m]}],"border-w-t":[{"border-t":[m]}],"border-w-r":[{"border-r":[m]}],"border-w-b":[{"border-b":[m]}],"border-w-l":[{"border-l":[m]}],"border-opacity":[{"border-opacity":[L]}],"border-style":[{border:[...Z(),"hidden"]}],"divide-x":[{"divide-x":[m]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[m]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[L]}],"divide-style":[{divide:Z()}],"border-color":[{border:[t]}],"border-color-x":[{"border-x":[t]}],"border-color-y":[{"border-y":[t]}],"border-color-s":[{"border-s":[t]}],"border-color-e":[{"border-e":[t]}],"border-color-t":[{"border-t":[t]}],"border-color-r":[{"border-r":[t]}],"border-color-b":[{"border-b":[t]}],"border-color-l":[{"border-l":[t]}],"divide-color":[{divide:[t]}],"outline-style":[{outline:["",...Z()]}],"outline-offset":[{"outline-offset":[pe,O]}],"outline-w":[{outline:[pe,he]}],"outline-color":[{outline:[a]}],"ring-w":[{ring:ce()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[a]}],"ring-opacity":[{"ring-opacity":[L]}],"ring-offset-w":[{"ring-offset":[pe,he]}],"ring-offset-color":[{"ring-offset":[a]}],shadow:[{shadow:["","inner","none",me,po]}],"shadow-color":[{shadow:[je]}],opacity:[{opacity:[L]}],"mix-blend":[{"mix-blend":[...ye(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ye()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[C]}],"drop-shadow":[{"drop-shadow":["","none",me,O]}],grayscale:[{grayscale:[b]}],"hue-rotate":[{"hue-rotate":[w]}],invert:[{invert:[x]}],saturate:[{saturate:[j]}],sepia:[{sepia:[B]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[C]}],"backdrop-grayscale":[{"backdrop-grayscale":[b]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[w]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[L]}],"backdrop-saturate":[{"backdrop-saturate":[j]}],"backdrop-sepia":[{"backdrop-sepia":[B]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",O]}],duration:[{duration:v()}],ease:[{ease:["linear","in","out","in-out",O]}],delay:[{delay:v()}],animate:[{animate:["none","spin","ping","pulse","bounce",O]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[ee]}],"scale-x":[{"scale-x":[ee]}],"scale-y":[{"scale-y":[ee]}],rotate:[{rotate:[We,O]}],"translate-x":[{"translate-x":[ie]}],"translate-y":[{"translate-y":[ie]}],"skew-x":[{"skew-x":[fe]}],"skew-y":[{"skew-y":[fe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",O]}],accent:[{accent:["auto",a]}],appearance:[{appearance:["none","auto"]}],cursor:[{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",O]}],"caret-color":[{caret:[a]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":U()}],"scroll-mx":[{"scroll-mx":U()}],"scroll-my":[{"scroll-my":U()}],"scroll-ms":[{"scroll-ms":U()}],"scroll-me":[{"scroll-me":U()}],"scroll-mt":[{"scroll-mt":U()}],"scroll-mr":[{"scroll-mr":U()}],"scroll-mb":[{"scroll-mb":U()}],"scroll-ml":[{"scroll-ml":U()}],"scroll-p":[{"scroll-p":U()}],"scroll-px":[{"scroll-px":U()}],"scroll-py":[{"scroll-py":U()}],"scroll-ps":[{"scroll-ps":U()}],"scroll-pe":[{"scroll-pe":U()}],"scroll-pt":[{"scroll-pt":U()}],"scroll-pr":[{"scroll-pr":U()}],"scroll-pb":[{"scroll-pb":U()}],"scroll-pl":[{"scroll-pl":U()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",O]}],fill:[{fill:[a,"none"]}],"stroke-w":[{stroke:[pe,he,$t]}],stroke:[{stroke:[a,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}});function p(...a){return fo(cr(a))}var bo=Object.defineProperty,yo=(a,e,r,n)=>{for(var t=void 0,i=a.length-1,s;i>=0;i--)(s=a[i])&&(t=s(e,r,t)||t);return t&&bo(e,r,t),t};class h extends d.LitElement{constructor(){super(),this.customClass=""}getAttributesToExclude(){return[]}getAttributesToRemoveFromParent(){return["class"]}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.mutationObserver)==null||e.disconnect()}removeParentAttributes(){this.getAttributesToRemoveFromParent().forEach(r=>{r==="class"&&this.hasAttribute("class")&&(this.customClass=this.getAttribute("class")||""),this.hasAttribute(r)&&this.removeAttribute(r)})}getFilteredAttributes(){const e={};return Array.from(this.attributes).forEach(r=>{this.getAttributesToExclude().includes(r.name)||(e[r.name]=r.value??"")}),e}isCustomPropertySet(e){const r=getComputedStyle(this).getPropertyValue(e).trim();return r!=="inherit"&&r.length>0}applyCustomClass(e,r,n=""){var i,s;let t="";e.some(m=>this.isCustomPropertySet(m))&&(t=n),t&&((s=(i=this.shadowRoot)==null?void 0:i.querySelector(r))==null||s.classList.add(t))}removeDuplicateContent(){var i;const e=document.createTreeWalker(this,NodeFilter.SHOW_TEXT|NodeFilter.SHOW_ELEMENT,{acceptNode:s=>{var m;return s.nodeType===Node.COMMENT_NODE||s.nodeType===Node.TEXT_NODE&&!((m=s.textContent)!=null&&m.trim())?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}}),r=new Map,n=[];let t;for(;t=e.nextNode();){let s;if(t.nodeType===Node.TEXT_NODE){const m=(i=t.textContent)==null?void 0:i.trim();if(!m)continue;s=`text:${m}`}else if(t instanceof HTMLElement){const m=Array.from(t.attributes).map(C=>`${C.name}=${C.value}`).sort().join(":");s=`element:${t.tagName}:${m}`}else continue;if(r.has(s)){const m=r.get(s);m&&m.parentNode&&n.push(m),r.set(s,t)}else r.set(s,t)}n.forEach(s=>{s.parentNode&&(console.log("Removing duplicate:",s),s.parentNode.removeChild(s))})}moveLightDomChildrenInto(e,r){let n;if(r&&r.length>0){n=r.filter(t=>this.contains(t)&&t!==e&&!t.contains(e));for(const t of n){const i=Array.from(e.childNodes).find(s=>{var m;return(m=s.isEqualNode)==null?void 0:m.call(s,t)});i&&e.removeChild(i)}}else n=Array.from(this.childNodes).filter(t=>t!==e&&!e.contains(t)&&!t.contains(e));for(const t of n)e.appendChild(t)}observeStyleAndClassSync(e){this.mutationObserver=new MutationObserver(r=>{for(const n of r)if(n.type==="attributes"){if(n.attributeName==="style"){const t=this.getAttribute("style")||"";t&&(e.setAttribute("style",t),this.removeAttribute("style"))}if(n.attributeName==="class"){const t=this.getAttribute("class")||"";t&&(e.className=t,this.removeAttribute("class"))}}}),this.mutationObserver.observe(this,{attributes:!0,attributeFilter:["style","class"]})}}yo([l.property({type:String,reflect:!0})],h.prototype,"customClass");function Ot(){const a=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(r){const n=(a+Math.random()*16)%16|0;return(r=="x"?n:n&3|8).toString(16)})}const fr=d.css`
1
+ (function(o,d){typeof exports=="object"&&typeof module<"u"?d(exports,require("lit"),require("lit/decorators.js"),require("lit/html.js"),require("lit/directive.js"),require("lit/async-directive.js"),require("lit/directives/if-defined.js"),require("lit/directives/unsafe-html.js"),require("lit-element"),require("@lit-labs/context"),require("lit/directives/ref.js")):typeof define=="function"&&define.amd?define(["exports","lit","lit/decorators.js","lit/html.js","lit/directive.js","lit/async-directive.js","lit/directives/if-defined.js","lit/directives/unsafe-html.js","lit-element","@lit-labs/context","lit/directives/ref.js"],d):(o=typeof globalThis<"u"?globalThis:o||self,d(o["rtg-ui-kit"]={},o.lit,o.decorators_js,o.html_js,o.directive_js,o.asyncDirective_js,o.ifDefined_js,o.unsafeHtml_js,o.litElement,o.context,o.ref_js))})(this,function(o,d,l,Mn,_t,Ln,Nn,sr,Ce,oe,Bn){"use strict";const qn="rtg-flex rtg-h-9 rtg-w-full rtg-no-autofill-bg rtg-rounded-md rtg-border rtg-border-input autofill:rtg-bg-transparent rtg-bg-transparent rtg-px-3 rtg-py-1 rtg-text-sm rtg-shadow-sm rtg-transition-colors file:rtg-border-0 file:rtg-bg-transparent file:rtg-text-sm file:rtg-font-medium placeholder:rtg-text-muted-foreground focus-visible:rtg-outline-none focus-visible:rtg-ring-1 focus-visible:rtg-ring-ring disabled:rtg-opacity-50 input-base";function lr(a){var e,r,n="";if(typeof a=="string"||typeof a=="number")n+=a;else if(typeof a=="object")if(Array.isArray(a)){var t=a.length;for(e=0;e<t;e++)a[e]&&(r=lr(a[e]))&&(n&&(n+=" "),n+=r)}else for(r in a)a[r]&&(n&&(n+=" "),n+=r);return n}function cr(){for(var a,e,r=0,n="",t=arguments.length;r<t;r++)(a=arguments[r])&&(e=lr(a))&&(n&&(n+=" "),n+=e);return n}const Et="-",Un=a=>{const e=Fn(a),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=a;return{getClassGroupId:s=>{const m=s.split(Et);return m[0]===""&&m.length!==1&&m.shift(),dr(m,e)||zn(s)},getConflictingClassGroupIds:(s,m)=>{const C=r[s]||[];return m&&n[s]?[...C,...n[s]]:C}}},dr=(a,e)=>{var s;if(a.length===0)return e.classGroupId;const r=a[0],n=e.nextPart.get(r),t=n?dr(a.slice(1),n):void 0;if(t)return t;if(e.validators.length===0)return;const i=a.join(Et);return(s=e.validators.find(({validator:m})=>m(i)))==null?void 0:s.classGroupId},ur=/^\[(.+)\]$/,zn=a=>{if(ur.test(a)){const e=ur.exec(a)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},Fn=a=>{const{theme:e,prefix:r}=a,n={nextPart:new Map,validators:[]};return Vn(Object.entries(a.classGroups),r).forEach(([i,s])=>{xt(s,n,i,e)}),n},xt=(a,e,r,n)=>{a.forEach(t=>{if(typeof t=="string"){const i=t===""?e:gr(e,t);i.classGroupId=r;return}if(typeof t=="function"){if(Gn(t)){xt(t(n),e,r,n);return}e.validators.push({validator:t,classGroupId:r});return}Object.entries(t).forEach(([i,s])=>{xt(s,gr(e,i),r,n)})})},gr=(a,e)=>{let r=a;return e.split(Et).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Gn=a=>a.isThemeGetter,Vn=(a,e)=>e?a.map(([r,n])=>{const t=n.map(i=>typeof i=="string"?e+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,m])=>[e+s,m])):i);return[r,t]}):a,Hn=a=>{if(a<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,n=new Map;const t=(i,s)=>{r.set(i,s),e++,e>a&&(e=0,n=r,r=new Map)};return{get(i){let s=r.get(i);if(s!==void 0)return s;if((s=n.get(i))!==void 0)return t(i,s),s},set(i,s){r.has(i)?r.set(i,s):t(i,s)}}},pr="!",Yn=a=>{const{separator:e,experimentalParseClassName:r}=a,n=e.length===1,t=e[0],i=e.length,s=m=>{const C=[];let b=0,w=0,x;for(let P=0;P<m.length;P++){let L=m[P];if(b===0){if(L===t&&(n||m.slice(P,P+i)===e)){C.push(m.slice(w,P)),w=P+i;continue}if(L==="/"){x=P;continue}}L==="["?b++:L==="]"&&b--}const N=C.length===0?m:m.substring(w),F=N.startsWith(pr),M=F?N.substring(1):N,q=x&&x>w?x-w:void 0;return{modifiers:C,hasImportantModifier:F,baseClassName:M,maybePostfixModifierPosition:q}};return r?m=>r({className:m,parseClassName:s}):s},Kn=a=>{if(a.length<=1)return a;const e=[];let r=[];return a.forEach(n=>{n[0]==="["?(e.push(...r.sort(),n),r=[]):r.push(n)}),e.push(...r.sort()),e},Wn=a=>({cache:Hn(a.cacheSize),parseClassName:Yn(a),...Un(a)}),jn=/\s+/,Xn=(a,e)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:t}=e,i=[],s=a.trim().split(jn);let m="";for(let C=s.length-1;C>=0;C-=1){const b=s[C],{modifiers:w,hasImportantModifier:x,baseClassName:N,maybePostfixModifierPosition:F}=r(b);let M=!!F,q=n(M?N.substring(0,F):N);if(!q){if(!M){m=b+(m.length>0?" "+m:m);continue}if(q=n(N),!q){m=b+(m.length>0?" "+m:m);continue}M=!1}const P=Kn(w).join(":"),L=x?P+pr:P,W=L+q;if(i.includes(W))continue;i.push(W);const j=t(q,M);for(let ee=0;ee<j.length;++ee){const B=j[ee];i.push(L+B)}m=b+(m.length>0?" "+m:m)}return m};function Zn(){let a=0,e,r,n="";for(;a<arguments.length;)(e=arguments[a++])&&(r=hr(e))&&(n&&(n+=" "),n+=r);return n}const hr=a=>{if(typeof a=="string")return a;let e,r="";for(let n=0;n<a.length;n++)a[n]&&(e=hr(a[n]))&&(r&&(r+=" "),r+=e);return r};function Qn(a,...e){let r,n,t,i=s;function s(C){const b=e.reduce((w,x)=>x(w),a());return r=Wn(b),n=r.cache.get,t=r.cache.set,i=m,m(C)}function m(C){const b=n(C);if(b)return b;const w=Xn(C,r);return t(C,w),w}return function(){return i(Zn.apply(null,arguments))}}const H=a=>{const e=r=>r[a]||[];return e.isThemeGetter=!0,e},mr=/^\[(?:([a-z-]+):)?(.+)\]$/i,Jn=/^\d+\/\d+$/,eo=new Set(["px","full","screen"]),to=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ro=/\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$/,no=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,oo=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ao=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,pe=a=>ke(a)||eo.has(a)||Jn.test(a),he=a=>Te(a,"length",ho),ke=a=>!!a&&!Number.isNaN(Number(a)),$t=a=>Te(a,"number",ke),We=a=>!!a&&Number.isInteger(Number(a)),io=a=>a.endsWith("%")&&ke(a.slice(0,-1)),O=a=>mr.test(a),me=a=>to.test(a),so=new Set(["length","size","percentage"]),lo=a=>Te(a,so,vr),co=a=>Te(a,"position",vr),uo=new Set(["image","url"]),go=a=>Te(a,uo,vo),po=a=>Te(a,"",mo),je=()=>!0,Te=(a,e,r)=>{const n=mr.exec(a);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):r(n[2]):!1},ho=a=>ro.test(a)&&!no.test(a),vr=()=>!1,mo=a=>oo.test(a),vo=a=>ao.test(a),fo=Qn(()=>{const a=H("colors"),e=H("spacing"),r=H("blur"),n=H("brightness"),t=H("borderColor"),i=H("borderRadius"),s=H("borderSpacing"),m=H("borderWidth"),C=H("contrast"),b=H("grayscale"),w=H("hueRotate"),x=H("invert"),N=H("gap"),F=H("gradientColorStops"),M=H("gradientColorStopPositions"),q=H("inset"),P=H("margin"),L=H("opacity"),W=H("padding"),j=H("saturate"),ee=H("scale"),B=H("sepia"),fe=H("skew"),be=H("space"),ie=H("translate"),te=()=>["auto","contain","none"],Ie=()=>["auto","hidden","clip","visible","scroll"],G=()=>["auto",O,e],U=()=>[O,e],ce=()=>["",pe,he],re=()=>["auto",ke,O],X=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Z=()=>["solid","dashed","dotted","double","none"],ye=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],de=()=>["start","end","center","between","around","evenly","stretch"],ue=()=>["","0",O],u=()=>["auto","avoid","all","avoid-page","page","left","right","column"],v=()=>[ke,O];return{cacheSize:500,separator:":",theme:{colors:[je],spacing:[pe,he],blur:["none","",me,O],brightness:v(),borderColor:[a],borderRadius:["none","","full",me,O],borderSpacing:U(),borderWidth:ce(),contrast:v(),grayscale:ue(),hueRotate:v(),invert:ue(),gap:U(),gradientColorStops:[a],gradientColorStopPositions:[io,he],inset:G(),margin:G(),opacity:v(),padding:U(),saturate:v(),scale:v(),sepia:ue(),skew:v(),space:U(),translate:U()},classGroups:{aspect:[{aspect:["auto","square","video",O]}],container:["container"],columns:[{columns:[me]}],"break-after":[{"break-after":u()}],"break-before":[{"break-before":u()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...X(),O]}],overflow:[{overflow:Ie()}],"overflow-x":[{"overflow-x":Ie()}],"overflow-y":[{"overflow-y":Ie()}],overscroll:[{overscroll:te()}],"overscroll-x":[{"overscroll-x":te()}],"overscroll-y":[{"overscroll-y":te()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[q]}],"inset-x":[{"inset-x":[q]}],"inset-y":[{"inset-y":[q]}],start:[{start:[q]}],end:[{end:[q]}],top:[{top:[q]}],right:[{right:[q]}],bottom:[{bottom:[q]}],left:[{left:[q]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",We,O]}],basis:[{basis:G()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",O]}],grow:[{grow:ue()}],shrink:[{shrink:ue()}],order:[{order:["first","last","none",We,O]}],"grid-cols":[{"grid-cols":[je]}],"col-start-end":[{col:["auto",{span:["full",We,O]},O]}],"col-start":[{"col-start":re()}],"col-end":[{"col-end":re()}],"grid-rows":[{"grid-rows":[je]}],"row-start-end":[{row:["auto",{span:[We,O]},O]}],"row-start":[{"row-start":re()}],"row-end":[{"row-end":re()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",O]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",O]}],gap:[{gap:[N]}],"gap-x":[{"gap-x":[N]}],"gap-y":[{"gap-y":[N]}],"justify-content":[{justify:["normal",...de()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...de(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...de(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[W]}],px:[{px:[W]}],py:[{py:[W]}],ps:[{ps:[W]}],pe:[{pe:[W]}],pt:[{pt:[W]}],pr:[{pr:[W]}],pb:[{pb:[W]}],pl:[{pl:[W]}],m:[{m:[P]}],mx:[{mx:[P]}],my:[{my:[P]}],ms:[{ms:[P]}],me:[{me:[P]}],mt:[{mt:[P]}],mr:[{mr:[P]}],mb:[{mb:[P]}],ml:[{ml:[P]}],"space-x":[{"space-x":[be]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[be]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",O,e]}],"min-w":[{"min-w":[O,e,"min","max","fit"]}],"max-w":[{"max-w":[O,e,"none","full","min","max","fit","prose",{screen:[me]},me]}],h:[{h:[O,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[O,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[O,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[O,e,"auto","min","max","fit"]}],"font-size":[{text:["base",me,he]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",$t]}],"font-family":[{font:[je]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",O]}],"line-clamp":[{"line-clamp":["none",ke,$t]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",pe,O]}],"list-image":[{"list-image":["none",O]}],"list-style-type":[{list:["none","disc","decimal",O]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[a]}],"placeholder-opacity":[{"placeholder-opacity":[L]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[a]}],"text-opacity":[{"text-opacity":[L]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",pe,he]}],"underline-offset":[{"underline-offset":["auto",pe,O]}],"text-decoration-color":[{decoration:[a]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:U()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",O]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",O]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[L]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...X(),co]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",lo]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},go]}],"bg-color":[{bg:[a]}],"gradient-from-pos":[{from:[M]}],"gradient-via-pos":[{via:[M]}],"gradient-to-pos":[{to:[M]}],"gradient-from":[{from:[F]}],"gradient-via":[{via:[F]}],"gradient-to":[{to:[F]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[m]}],"border-w-x":[{"border-x":[m]}],"border-w-y":[{"border-y":[m]}],"border-w-s":[{"border-s":[m]}],"border-w-e":[{"border-e":[m]}],"border-w-t":[{"border-t":[m]}],"border-w-r":[{"border-r":[m]}],"border-w-b":[{"border-b":[m]}],"border-w-l":[{"border-l":[m]}],"border-opacity":[{"border-opacity":[L]}],"border-style":[{border:[...Z(),"hidden"]}],"divide-x":[{"divide-x":[m]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[m]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[L]}],"divide-style":[{divide:Z()}],"border-color":[{border:[t]}],"border-color-x":[{"border-x":[t]}],"border-color-y":[{"border-y":[t]}],"border-color-s":[{"border-s":[t]}],"border-color-e":[{"border-e":[t]}],"border-color-t":[{"border-t":[t]}],"border-color-r":[{"border-r":[t]}],"border-color-b":[{"border-b":[t]}],"border-color-l":[{"border-l":[t]}],"divide-color":[{divide:[t]}],"outline-style":[{outline:["",...Z()]}],"outline-offset":[{"outline-offset":[pe,O]}],"outline-w":[{outline:[pe,he]}],"outline-color":[{outline:[a]}],"ring-w":[{ring:ce()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[a]}],"ring-opacity":[{"ring-opacity":[L]}],"ring-offset-w":[{"ring-offset":[pe,he]}],"ring-offset-color":[{"ring-offset":[a]}],shadow:[{shadow:["","inner","none",me,po]}],"shadow-color":[{shadow:[je]}],opacity:[{opacity:[L]}],"mix-blend":[{"mix-blend":[...ye(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ye()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[C]}],"drop-shadow":[{"drop-shadow":["","none",me,O]}],grayscale:[{grayscale:[b]}],"hue-rotate":[{"hue-rotate":[w]}],invert:[{invert:[x]}],saturate:[{saturate:[j]}],sepia:[{sepia:[B]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[C]}],"backdrop-grayscale":[{"backdrop-grayscale":[b]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[w]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[L]}],"backdrop-saturate":[{"backdrop-saturate":[j]}],"backdrop-sepia":[{"backdrop-sepia":[B]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",O]}],duration:[{duration:v()}],ease:[{ease:["linear","in","out","in-out",O]}],delay:[{delay:v()}],animate:[{animate:["none","spin","ping","pulse","bounce",O]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[ee]}],"scale-x":[{"scale-x":[ee]}],"scale-y":[{"scale-y":[ee]}],rotate:[{rotate:[We,O]}],"translate-x":[{"translate-x":[ie]}],"translate-y":[{"translate-y":[ie]}],"skew-x":[{"skew-x":[fe]}],"skew-y":[{"skew-y":[fe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",O]}],accent:[{accent:["auto",a]}],appearance:[{appearance:["none","auto"]}],cursor:[{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",O]}],"caret-color":[{caret:[a]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":U()}],"scroll-mx":[{"scroll-mx":U()}],"scroll-my":[{"scroll-my":U()}],"scroll-ms":[{"scroll-ms":U()}],"scroll-me":[{"scroll-me":U()}],"scroll-mt":[{"scroll-mt":U()}],"scroll-mr":[{"scroll-mr":U()}],"scroll-mb":[{"scroll-mb":U()}],"scroll-ml":[{"scroll-ml":U()}],"scroll-p":[{"scroll-p":U()}],"scroll-px":[{"scroll-px":U()}],"scroll-py":[{"scroll-py":U()}],"scroll-ps":[{"scroll-ps":U()}],"scroll-pe":[{"scroll-pe":U()}],"scroll-pt":[{"scroll-pt":U()}],"scroll-pr":[{"scroll-pr":U()}],"scroll-pb":[{"scroll-pb":U()}],"scroll-pl":[{"scroll-pl":U()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",O]}],fill:[{fill:[a,"none"]}],"stroke-w":[{stroke:[pe,he,$t]}],stroke:[{stroke:[a,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}});function p(...a){return fo(cr(a))}var bo=Object.defineProperty,yo=(a,e,r,n)=>{for(var t=void 0,i=a.length-1,s;i>=0;i--)(s=a[i])&&(t=s(e,r,t)||t);return t&&bo(e,r,t),t};class h extends d.LitElement{constructor(){super(),this.customClass=""}getAttributesToExclude(){return[]}getAttributesToRemoveFromParent(){return["class"]}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.mutationObserver)==null||e.disconnect()}removeParentAttributes(){this.getAttributesToRemoveFromParent().forEach(r=>{r==="class"&&this.hasAttribute("class")&&(this.customClass=this.getAttribute("class")||""),this.hasAttribute(r)&&this.removeAttribute(r)})}getFilteredAttributes(){const e={};return Array.from(this.attributes).forEach(r=>{this.getAttributesToExclude().includes(r.name)||(e[r.name]=r.value??"")}),e}isCustomPropertySet(e){const r=getComputedStyle(this).getPropertyValue(e).trim();return r!=="inherit"&&r.length>0}applyCustomClass(e,r,n=""){var i,s;let t="";e.some(m=>this.isCustomPropertySet(m))&&(t=n),t&&((s=(i=this.shadowRoot)==null?void 0:i.querySelector(r))==null||s.classList.add(t))}removeDuplicateContent(){var i;const e=document.createTreeWalker(this,NodeFilter.SHOW_TEXT|NodeFilter.SHOW_ELEMENT,{acceptNode:s=>{var m;return s.nodeType===Node.COMMENT_NODE||s.nodeType===Node.TEXT_NODE&&!((m=s.textContent)!=null&&m.trim())?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}}),r=new Map,n=[];let t;for(;t=e.nextNode();){let s;if(t.nodeType===Node.TEXT_NODE){const m=(i=t.textContent)==null?void 0:i.trim();if(!m)continue;s=`text:${m}`}else if(t instanceof HTMLElement){const m=Array.from(t.attributes).map(C=>`${C.name}=${C.value}`).sort().join(":");s=`element:${t.tagName}:${m}`}else continue;if(r.has(s)){const m=r.get(s);m&&m.parentNode&&n.push(m),r.set(s,t)}else r.set(s,t)}n.forEach(s=>{s.parentNode&&(console.log("Removing duplicate:",s),s.parentNode.removeChild(s))})}moveLightDomChildrenInto(e,r){let n;if(r&&r.length>0){n=r.filter(t=>this.contains(t)&&t!==e&&!t.contains(e));for(const t of n){const i=Array.from(e.childNodes).find(s=>{var m;return(m=s.isEqualNode)==null?void 0:m.call(s,t)});i&&e.removeChild(i)}}else n=Array.from(this.childNodes).filter(t=>t!==e&&!e.contains(t)&&!t.contains(e));for(const t of n)e.appendChild(t)}observeStyleAndClassSync(e){this.mutationObserver=new MutationObserver(r=>{for(const n of r)if(n.type==="attributes"){if(n.attributeName==="style"){const t=this.getAttribute("style")||"";t&&(e.setAttribute("style",t),this.removeAttribute("style"))}if(n.attributeName==="class"){const t=this.getAttribute("class")||"";t&&(e.className=t,this.removeAttribute("class"))}}}),this.mutationObserver.observe(this,{attributes:!0,attributeFilter:["style","class"]})}}yo([l.property({type:String,reflect:!0})],h.prototype,"customClass");function Ot(){const a=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(r){const n=(a+Math.random()*16)%16|0;return(r=="x"?n:n&3|8).toString(16)})}const fr=d.css`
2
2
  @font-face {
3
3
  font-family: 'GeistSans';
4
4
 
@@ -2859,7 +2859,7 @@ body {
2859
2859
  .wrapper {
2860
2860
  display: block;
2861
2861
  }
2862
- `;let St=or;customElements.define("shadow-wrapper",St);class yr extends Ln.AsyncDirective{constructor(){super(...arguments),this.prevData={}}render(e){return Mn.nothing}update(e,[r]){var n;this.element!==e.element&&(this.element=e.element),this.host=((n=e.options)===null||n===void 0?void 0:n.host)||this.element,this.apply(r),this.groom(r),this.prevData={...r}}apply(e){if(!e)return;const{prevData:r,element:n}=this;for(const t in e){const i=e[t];i!==r[t]&&(n[t]=i)}}groom(e){const{prevData:r,element:n}=this;if(r)for(const t in r)(!e||!(t in e)&&n[t]===r[t])&&(n[t]=void 0)}}_t.directive(yr);class wr extends yr{constructor(){super(...arguments),this.eventData={}}apply(e){if(e)for(const r in e){const n=e[r];n!==this.eventData[r]&&this.applyEvent(r,n)}}applyEvent(e,r){const{prevData:n,element:t}=this;this.eventData[e]=r,n[e]&&t.removeEventListener(e,this,r),t.addEventListener(e,this,r)}groom(e){const{prevData:r,element:n}=this;if(r)for(const t in r)(!e||!(t in e)&&n[t]===r[t])&&this.groomEvent(t,r[t])}groomEvent(e,r){const{element:n}=this;delete this.eventData[e],n.removeEventListener(e,this,r)}handleEvent(e){const r=this.eventData[e.type];typeof r=="function"?r.call(this.host,e):r.handleEvent(e)}disconnected(){const{eventData:e,element:r}=this;for(const n in e){const t=n.slice(1),i=e[n];r.removeEventListener(t,this,i)}}reconnected(){const{eventData:e,element:r}=this;for(const n in e){const t=n.slice(1),i=e[n];r.addEventListener(t,this,i)}}}_t.directive(wr);class wo extends wr{apply(e){if(!e)return;const{prevData:r,element:n}=this;for(const t in e){const i=e[t];if(i===r[t])continue;const s=t.slice(1);switch(t[0]){case"@":this.eventData[s]=i,this.applyEvent(s,i);break;case".":n[s]=i;break;case"?":i?n.setAttribute(s,""):n.removeAttribute(s);break;default:i!=null?n.setAttribute(t,String(i)):n.removeAttribute(t);break}}}groom(e){const{prevData:r,element:n}=this;if(r)for(const t in r){const i=t.slice(1);if(!e||!(t in e)&&n[i]===r[t])switch(t[0]){case"@":this.groomEvent(i,r[t]);break;case".":n[i]=void 0;break;case"?":n.removeAttribute(i);break;default:n.removeAttribute(t);break}}}}const V=_t.directive(wo),Cr=[{label:"AF",value:"AF",code:"+93"},{label:"AL",value:"AL",code:"+355"},{label:"DZ",value:"DZ",code:"+213"},{label:"AS",value:"AS",code:"+1684"},{label:"AD",value:"AD",code:"+376"},{label:"AO",value:"AO",code:"+244"},{label:"AI",value:"AI",code:"+1264"},{label:"AG",value:"AG",code:"+1268"},{label:"AR",value:"AR",code:"+54"},{label:"AM",value:"AM",code:"+374"},{label:"AW",value:"AW",code:"+297"},{label:"AU",value:"AU",code:"+61"},{label:"AT",value:"AT",code:"+43"},{label:"AZ",value:"AZ",code:"+994"},{label:"BS",value:"BS",code:"+1242"},{label:"BH",value:"BH",code:"+973"},{label:"BD",value:"BD",code:"+880"},{label:"BB",value:"BB",code:"+1246"},{label:"BY",value:"BY",code:"+375"},{label:"BE",value:"BE",code:"+32"},{label:"BZ",value:"BZ",code:"+501"},{label:"BJ",value:"BJ",code:"+229"},{label:"BM",value:"BM",code:"+1441"},{label:"BT",value:"BT",code:"+975"},{label:"BO",value:"BO",code:"+591"},{label:"BA",value:"BA",code:"+387"},{label:"BW",value:"BW",code:"+267"},{label:"BR",value:"BR",code:"+55"},{label:"IO",value:"IO",code:"+246"},{label:"VG",value:"VG",code:"+1284"},{label:"BN",value:"BN",code:"+673"},{label:"BG",value:"BG",code:"+359"},{label:"BF",value:"BF",code:"+226"},{label:"BI",value:"BI",code:"+257"},{label:"KH",value:"KH",code:"+855"},{label:"CM",value:"CM",code:"+237"},{label:"CA",value:"CA",code:"+1"},{label:"CV",value:"CV",code:"+238"},{label:"KY",value:"KY",code:"+1345"},{label:"CF",value:"CF",code:"+236"},{label:"TD",value:"TD",code:"+235"},{label:"CL",value:"CL",code:"+56"},{label:"CN",value:"CN",code:"+86"},{label:"CX",value:"CX",code:"+61"},{label:"CC",value:"CC",code:"+61"},{label:"CO",value:"CO",code:"+57"},{label:"KM",value:"KM",code:"+269"},{label:"CK",value:"CK",code:"+682"},{label:"CR",value:"CR",code:"+506"},{label:"HR",value:"HR",code:"+385"},{label:"CU",value:"CU",code:"+53"},{label:"CW",value:"CW",code:"+599"},{label:"CY",value:"CY",code:"+357"},{label:"CZ",value:"CZ",code:"+420"},{label:"CD",value:"CD",code:"+243"},{label:"DK",value:"DK",code:"+45"},{label:"DJ",value:"DJ",code:"+253"},{label:"DM",value:"DM",code:"+1767"},{label:"DO",value:"DO",code:"+1809"},{label:"DO",value:"DO",code:"+1829"},{label:"DO",value:"DO",code:"+1849"},{label:"TL",value:"TL",code:"+670"},{label:"EC",value:"EC",code:"+593"},{label:"EG",value:"EG",code:"+20"},{label:"SV",value:"SV",code:"+503"},{label:"GQ",value:"GQ",code:"+240"},{label:"ER",value:"ER",code:"+291"},{label:"EE",value:"EE",code:"+372"},{label:"ET",value:"ET",code:"+251"},{label:"FK",value:"FK",code:"+500"},{label:"FO",value:"FO",code:"+298"},{label:"FJ",value:"FJ",code:"+679"},{label:"FI",value:"FI",code:"+358"},{label:"FR",value:"FR",code:"+33"},{label:"PF",value:"PF",code:"+689"},{label:"GA",value:"GA",code:"+241"},{label:"GM",value:"GM",code:"+220"},{label:"GE",value:"GE",code:"+995"},{label:"DE",value:"DE",code:"+49"},{label:"GH",value:"GH",code:"+233"},{label:"GI",value:"GI",code:"+350"},{label:"GR",value:"GR",code:"+30"},{label:"GL",value:"GL",code:"+299"},{label:"GD",value:"GD",code:"+1473"},{label:"GU",value:"GU",code:"+1671"},{label:"GT",value:"GT",code:"+502"},{label:"GG",value:"GG",code:"+441481"},{label:"GN",value:"GN",code:"+224"},{label:"GW",value:"GW",code:"+245"},{label:"GY",value:"GY",code:"+592"},{label:"HT",value:"HT",code:"+509"},{label:"HN",value:"HN",code:"+504"},{label:"HK",value:"HK",code:"+852"},{label:"HU",value:"HU",code:"+36"},{label:"IS",value:"IS",code:"+354"},{label:"IN",value:"IN",code:"+91"},{label:"ID",value:"ID",code:"+62"},{label:"IR",value:"IR",code:"+98"},{label:"IQ",value:"IQ",code:"+964"},{label:"IE",value:"IE",code:"+353"},{label:"IM",value:"IM",code:"+441624"},{label:"IL",value:"IL",code:"+972"},{label:"IT",value:"IT",code:"+39"},{label:"CI",value:"CI",code:"+225"},{label:"JM",value:"JM",code:"+1876"},{label:"JP",value:"JP",code:"+81"},{label:"JE",value:"JE",code:"+441534"},{label:"JO",value:"JO",code:"+962"},{label:"KZ",value:"KZ",code:"+7"},{label:"KE",value:"KE",code:"+254"},{label:"KI",value:"KI",code:"+686"},{label:"XK",value:"XK",code:"+383"},{label:"KW",value:"KW",code:"+965"},{label:"KG",value:"KG",code:"+996"},{label:"LA",value:"LA",code:"+856"},{label:"LV",value:"LV",code:"+371"},{label:"LB",value:"LB",code:"+961"},{label:"LS",value:"LS",code:"+266"},{label:"LR",value:"LR",code:"+231"},{label:"LY",value:"LY",code:"+218"},{label:"LI",value:"LI",code:"+423"},{label:"LT",value:"LT",code:"+370"},{label:"LU",value:"LU",code:"+352"},{label:"MO",value:"MO",code:"+853"},{label:"MK",value:"MK",code:"+389"},{label:"MG",value:"MG",code:"+261"},{label:"MW",value:"MW",code:"+265"},{label:"MY",value:"MY",code:"+60"},{label:"MV",value:"MV",code:"+960"},{label:"ML",value:"ML",code:"+223"},{label:"MT",value:"MT",code:"+356"},{label:"MH",value:"MH",code:"+692"},{label:"MR",value:"MR",code:"+222"},{label:"MU",value:"MU",code:"+230"},{label:"YT",value:"YT",code:"+262"},{label:"MX",value:"MX",code:"+52"},{label:"FM",value:"FM",code:"+691"},{label:"MD",value:"MD",code:"+373"},{label:"MC",value:"MC",code:"+377"},{label:"MN",value:"MN",code:"+976"},{label:"ME",value:"ME",code:"+382"},{label:"MS",value:"MS",code:"+1664"},{label:"MA",value:"MA",code:"+212"},{label:"MZ",value:"MZ",code:"+258"},{label:"MM",value:"MM",code:"+95"},{label:"NA",value:"NA",code:"+264"},{label:"NR",value:"NR",code:"+674"},{label:"NP",value:"NP",code:"+977"},{label:"NL",value:"NL",code:"+31"},{label:"AN",value:"AN",code:"+599"},{label:"NC",value:"NC",code:"+687"},{label:"NZ",value:"NZ",code:"+64"},{label:"NI",value:"NI",code:"+505"},{label:"NE",value:"NE",code:"+227"},{label:"NG",value:"NG",code:"+234"},{label:"NU",value:"NU",code:"+683"},{label:"KP",value:"KP",code:"+850"},{label:"MP",value:"MP",code:"+1670"},{label:"NO",value:"NO",code:"+47"},{label:"OM",value:"OM",code:"+968"},{label:"PK",value:"PK",code:"+92"},{label:"PW",value:"PW",code:"+680"},{label:"PS",value:"PS",code:"+970"},{label:"PA",value:"PA",code:"+507"},{label:"PG",value:"PG",code:"+675"},{label:"PY",value:"PY",code:"+595"},{label:"PE",value:"PE",code:"+51"},{label:"PH",value:"PH",code:"+63"},{label:"PN",value:"PN",code:"+64"},{label:"PL",value:"PL",code:"+48"},{label:"PT",value:"PT",code:"+351"},{label:"PR",value:"PR",code:"+1787"},{label:"PR",value:"PR",code:"+1939"},{label:"QA",value:"QA",code:"+974"},{label:"CG",value:"CG",code:"+242"},{label:"RE",value:"RE",code:"+262"},{label:"RO",value:"RO",code:"+40"},{label:"RU",value:"RU",code:"+7"},{label:"RW",value:"RW",code:"+250"},{label:"BL",value:"BL",code:"+590"},{label:"SH",value:"SH",code:"+290"},{label:"KN",value:"KN",code:"+1869"},{label:"LC",value:"LC",code:"+1758"},{label:"MF",value:"MF",code:"+590"},{label:"PM",value:"PM",code:"+508"},{label:"VC",value:"VC",code:"+1784"},{label:"WS",value:"WS",code:"+685"},{label:"SM",value:"SM",code:"+378"},{label:"ST",value:"ST",code:"+239"},{label:"SA",value:"SA",code:"+966"},{label:"SN",value:"SN",code:"+221"},{label:"RS",value:"RS",code:"+381"},{label:"SC",value:"SC",code:"+248"},{label:"SL",value:"SL",code:"+232"},{label:"SG",value:"SG",code:"+65"},{label:"SX",value:"SX",code:"+1721"},{label:"SK",value:"SK",code:"+421"},{label:"SI",value:"SI",code:"+386"},{label:"SB",value:"SB",code:"+677"},{label:"SO",value:"SO",code:"+252"},{label:"ZA",value:"ZA",code:"+27"},{label:"KR",value:"KR",code:"+82"},{label:"SS",value:"SS",code:"+211"},{label:"ES",value:"ES",code:"+34"},{label:"LK",value:"LK",code:"+94"},{label:"SD",value:"SD",code:"+249"},{label:"SR",value:"SR",code:"+597"},{label:"SJ",value:"SJ",code:"+47"},{label:"SZ",value:"SZ",code:"+268"},{label:"SE",value:"SE",code:"+46"},{label:"CH",value:"CH",code:"+41"},{label:"SY",value:"SY",code:"+963"},{label:"TW",value:"TW",code:"+886"},{label:"TJ",value:"TJ",code:"+992"},{label:"TZ",value:"TZ",code:"+255"},{label:"TH",value:"TH",code:"+66"},{label:"TG",value:"TG",code:"+228"},{label:"TK",value:"TK",code:"+690"},{label:"TO",value:"TO",code:"+676"},{label:"TT",value:"TT",code:"+1868"},{label:"TN",value:"TN",code:"+216"},{label:"TR",value:"TR",code:"+90"},{label:"TM",value:"TM",code:"+993"},{label:"TC",value:"TC",code:"+1649"},{label:"TV",value:"TV",code:"+688"},{label:"VI",value:"VI",code:"+1340"},{label:"UG",value:"UG",code:"+256"},{label:"UA",value:"UA",code:"+380"},{label:"AE",value:"AE",code:"+971"},{label:"GB",value:"GB",code:"+44"},{label:"US",value:"US",code:"+1"},{label:"UY",value:"UY",code:"+598"},{label:"UZ",value:"UZ",code:"+998"},{label:"VU",value:"VU",code:"+678"},{label:"VA",value:"VA",code:"+379"},{label:"VE",value:"VE",code:"+58"},{label:"VN",value:"VN",code:"+84"},{label:"WF",value:"WF",code:"+681"},{label:"EH",value:"EH",code:"+212"},{label:"YE",value:"YE",code:"+967"},{label:"ZM",value:"ZM",code:"+260"},{label:"ZW",value:"ZW",code:"+263"}];var Co=Object.defineProperty,_o=Object.getOwnPropertyDescriptor,Q=(a,e,r,n)=>{for(var t=n>1?void 0:n?_o(e,r):e,i=a.length-1,s;i>=0;i--)(s=a[i])&&(t=(n?s(e,r,t):s(t))||t);return n&&t&&Co(e,r,t),t};o.RtgInput=class extends h{constructor(){super(),this.disabled=!1,this.type="text",this.placeholder="",this.defaultValue="",this.value="",this.dataKey="",this.country="US",this.countryCode="+1",this.selectedLabel="US",this.rawTelValue="",this.value=this.defaultValue,this.rawTelValue=this.defaultValue}handleCountryChange(e){const r=e.target,n=Cr.find(t=>t.value===r.value);n&&(this.country=n.value,this.countryCode=n.code,this.selectedLabel=n.value,this.emitValueChange(),this.requestUpdate()),e.stopPropagation()}firstUpdated(e){this.removeParentAttributes();const r=["--input-border-radius","--input-padding"];this.applyCustomClass(r,"input","input-base"),this.type==="tel"?this.rawTelValue=this.defaultValue:this.defaultValue&&(this.value=this.defaultValue),this.observeStyleAndClassSync(this.inputElement)}handleInputChange(e){const r=e.target;if(this.type==="file"){this.value=r.files?r.files[0].name:"",this.dispatchEvent(new CustomEvent("input",{bubbles:!0,composed:!0,detail:{value:this.value}}));return}this.type==="tel"?(this.rawTelValue=r.value,this.emitValueChange()):(this.value=r.value,this.dispatchEvent(new CustomEvent("input",{bubbles:!0,composed:!0,detail:{value:this.value}})))}emitValueChange(){this.value=`${this.countryCode}${this.rawTelValue}`,this.dispatchEvent(new CustomEvent("input",{bubbles:!0,composed:!0,detail:{value:this.value,code:this.countryCode}}))}handleFocus(){this.dispatchEvent(new CustomEvent("focus",{bubbles:!0,composed:!0,detail:{dataKey:this.dataKey}}))}getAttributesToExclude(){return["disabled","type","placeholder","value","data-testid","custom-class","data-key"]}getAttributesToRemoveFromParent(){return["class","style"]}createRenderRoot(){return this}render(){const e=this.getFilteredAttributes();return this.type==="tel"?d.html`
2862
+ `;let St=or;customElements.define("shadow-wrapper",St);class yr extends Ln.AsyncDirective{constructor(){super(...arguments),this.prevData={}}render(e){return Mn.nothing}update(e,[r]){var n;this.element!==e.element&&(this.element=e.element),this.host=((n=e.options)===null||n===void 0?void 0:n.host)||this.element,this.apply(r),this.groom(r),this.prevData={...r}}apply(e){if(!e)return;const{prevData:r,element:n}=this;for(const t in e){const i=e[t];i!==r[t]&&(n[t]=i)}}groom(e){const{prevData:r,element:n}=this;if(r)for(const t in r)(!e||!(t in e)&&n[t]===r[t])&&(n[t]=void 0)}}_t.directive(yr);class wr extends yr{constructor(){super(...arguments),this.eventData={}}apply(e){if(e)for(const r in e){const n=e[r];n!==this.eventData[r]&&this.applyEvent(r,n)}}applyEvent(e,r){const{prevData:n,element:t}=this;this.eventData[e]=r,n[e]&&t.removeEventListener(e,this,r),t.addEventListener(e,this,r)}groom(e){const{prevData:r,element:n}=this;if(r)for(const t in r)(!e||!(t in e)&&n[t]===r[t])&&this.groomEvent(t,r[t])}groomEvent(e,r){const{element:n}=this;delete this.eventData[e],n.removeEventListener(e,this,r)}handleEvent(e){const r=this.eventData[e.type];typeof r=="function"?r.call(this.host,e):r.handleEvent(e)}disconnected(){const{eventData:e,element:r}=this;for(const n in e){const t=n.slice(1),i=e[n];r.removeEventListener(t,this,i)}}reconnected(){const{eventData:e,element:r}=this;for(const n in e){const t=n.slice(1),i=e[n];r.addEventListener(t,this,i)}}}_t.directive(wr);class wo extends wr{apply(e){if(!e)return;const{prevData:r,element:n}=this;for(const t in e){const i=e[t];if(i===r[t])continue;const s=t.slice(1);switch(t[0]){case"@":this.eventData[s]=i,this.applyEvent(s,i);break;case".":n[s]=i;break;case"?":i?n.setAttribute(s,""):n.removeAttribute(s);break;default:i!=null?n.setAttribute(t,String(i)):n.removeAttribute(t);break}}}groom(e){const{prevData:r,element:n}=this;if(r)for(const t in r){const i=t.slice(1);if(!e||!(t in e)&&n[i]===r[t])switch(t[0]){case"@":this.groomEvent(i,r[t]);break;case".":n[i]=void 0;break;case"?":n.removeAttribute(i);break;default:n.removeAttribute(t);break}}}}const V=_t.directive(wo),Cr=[{label:"AF",value:"AF",code:"+93"},{label:"AL",value:"AL",code:"+355"},{label:"DZ",value:"DZ",code:"+213"},{label:"AS",value:"AS",code:"+1684"},{label:"AD",value:"AD",code:"+376"},{label:"AO",value:"AO",code:"+244"},{label:"AI",value:"AI",code:"+1264"},{label:"AG",value:"AG",code:"+1268"},{label:"AR",value:"AR",code:"+54"},{label:"AM",value:"AM",code:"+374"},{label:"AW",value:"AW",code:"+297"},{label:"AU",value:"AU",code:"+61"},{label:"AT",value:"AT",code:"+43"},{label:"AZ",value:"AZ",code:"+994"},{label:"BS",value:"BS",code:"+1242"},{label:"BH",value:"BH",code:"+973"},{label:"BD",value:"BD",code:"+880"},{label:"BB",value:"BB",code:"+1246"},{label:"BY",value:"BY",code:"+375"},{label:"BE",value:"BE",code:"+32"},{label:"BZ",value:"BZ",code:"+501"},{label:"BJ",value:"BJ",code:"+229"},{label:"BM",value:"BM",code:"+1441"},{label:"BT",value:"BT",code:"+975"},{label:"BO",value:"BO",code:"+591"},{label:"BA",value:"BA",code:"+387"},{label:"BW",value:"BW",code:"+267"},{label:"BR",value:"BR",code:"+55"},{label:"IO",value:"IO",code:"+246"},{label:"VG",value:"VG",code:"+1284"},{label:"BN",value:"BN",code:"+673"},{label:"BG",value:"BG",code:"+359"},{label:"BF",value:"BF",code:"+226"},{label:"BI",value:"BI",code:"+257"},{label:"KH",value:"KH",code:"+855"},{label:"CM",value:"CM",code:"+237"},{label:"CA",value:"CA",code:"+1"},{label:"CV",value:"CV",code:"+238"},{label:"KY",value:"KY",code:"+1345"},{label:"CF",value:"CF",code:"+236"},{label:"TD",value:"TD",code:"+235"},{label:"CL",value:"CL",code:"+56"},{label:"CN",value:"CN",code:"+86"},{label:"CX",value:"CX",code:"+61"},{label:"CC",value:"CC",code:"+61"},{label:"CO",value:"CO",code:"+57"},{label:"KM",value:"KM",code:"+269"},{label:"CK",value:"CK",code:"+682"},{label:"CR",value:"CR",code:"+506"},{label:"HR",value:"HR",code:"+385"},{label:"CU",value:"CU",code:"+53"},{label:"CW",value:"CW",code:"+599"},{label:"CY",value:"CY",code:"+357"},{label:"CZ",value:"CZ",code:"+420"},{label:"CD",value:"CD",code:"+243"},{label:"DK",value:"DK",code:"+45"},{label:"DJ",value:"DJ",code:"+253"},{label:"DM",value:"DM",code:"+1767"},{label:"DO",value:"DO",code:"+1809"},{label:"DO",value:"DO",code:"+1829"},{label:"DO",value:"DO",code:"+1849"},{label:"TL",value:"TL",code:"+670"},{label:"EC",value:"EC",code:"+593"},{label:"EG",value:"EG",code:"+20"},{label:"SV",value:"SV",code:"+503"},{label:"GQ",value:"GQ",code:"+240"},{label:"ER",value:"ER",code:"+291"},{label:"EE",value:"EE",code:"+372"},{label:"ET",value:"ET",code:"+251"},{label:"FK",value:"FK",code:"+500"},{label:"FO",value:"FO",code:"+298"},{label:"FJ",value:"FJ",code:"+679"},{label:"FI",value:"FI",code:"+358"},{label:"FR",value:"FR",code:"+33"},{label:"PF",value:"PF",code:"+689"},{label:"GA",value:"GA",code:"+241"},{label:"GM",value:"GM",code:"+220"},{label:"GE",value:"GE",code:"+995"},{label:"DE",value:"DE",code:"+49"},{label:"GH",value:"GH",code:"+233"},{label:"GI",value:"GI",code:"+350"},{label:"GR",value:"GR",code:"+30"},{label:"GL",value:"GL",code:"+299"},{label:"GD",value:"GD",code:"+1473"},{label:"GU",value:"GU",code:"+1671"},{label:"GT",value:"GT",code:"+502"},{label:"GG",value:"GG",code:"+441481"},{label:"GN",value:"GN",code:"+224"},{label:"GW",value:"GW",code:"+245"},{label:"GY",value:"GY",code:"+592"},{label:"HT",value:"HT",code:"+509"},{label:"HN",value:"HN",code:"+504"},{label:"HK",value:"HK",code:"+852"},{label:"HU",value:"HU",code:"+36"},{label:"IS",value:"IS",code:"+354"},{label:"IN",value:"IN",code:"+91"},{label:"ID",value:"ID",code:"+62"},{label:"IR",value:"IR",code:"+98"},{label:"IQ",value:"IQ",code:"+964"},{label:"IE",value:"IE",code:"+353"},{label:"IM",value:"IM",code:"+441624"},{label:"IL",value:"IL",code:"+972"},{label:"IT",value:"IT",code:"+39"},{label:"CI",value:"CI",code:"+225"},{label:"JM",value:"JM",code:"+1876"},{label:"JP",value:"JP",code:"+81"},{label:"JE",value:"JE",code:"+441534"},{label:"JO",value:"JO",code:"+962"},{label:"KZ",value:"KZ",code:"+7"},{label:"KE",value:"KE",code:"+254"},{label:"KI",value:"KI",code:"+686"},{label:"XK",value:"XK",code:"+383"},{label:"KW",value:"KW",code:"+965"},{label:"KG",value:"KG",code:"+996"},{label:"LA",value:"LA",code:"+856"},{label:"LV",value:"LV",code:"+371"},{label:"LB",value:"LB",code:"+961"},{label:"LS",value:"LS",code:"+266"},{label:"LR",value:"LR",code:"+231"},{label:"LY",value:"LY",code:"+218"},{label:"LI",value:"LI",code:"+423"},{label:"LT",value:"LT",code:"+370"},{label:"LU",value:"LU",code:"+352"},{label:"MO",value:"MO",code:"+853"},{label:"MK",value:"MK",code:"+389"},{label:"MG",value:"MG",code:"+261"},{label:"MW",value:"MW",code:"+265"},{label:"MY",value:"MY",code:"+60"},{label:"MV",value:"MV",code:"+960"},{label:"ML",value:"ML",code:"+223"},{label:"MT",value:"MT",code:"+356"},{label:"MH",value:"MH",code:"+692"},{label:"MR",value:"MR",code:"+222"},{label:"MU",value:"MU",code:"+230"},{label:"YT",value:"YT",code:"+262"},{label:"MX",value:"MX",code:"+52"},{label:"FM",value:"FM",code:"+691"},{label:"MD",value:"MD",code:"+373"},{label:"MC",value:"MC",code:"+377"},{label:"MN",value:"MN",code:"+976"},{label:"ME",value:"ME",code:"+382"},{label:"MS",value:"MS",code:"+1664"},{label:"MA",value:"MA",code:"+212"},{label:"MZ",value:"MZ",code:"+258"},{label:"MM",value:"MM",code:"+95"},{label:"NA",value:"NA",code:"+264"},{label:"NR",value:"NR",code:"+674"},{label:"NP",value:"NP",code:"+977"},{label:"NL",value:"NL",code:"+31"},{label:"AN",value:"AN",code:"+599"},{label:"NC",value:"NC",code:"+687"},{label:"NZ",value:"NZ",code:"+64"},{label:"NI",value:"NI",code:"+505"},{label:"NE",value:"NE",code:"+227"},{label:"NG",value:"NG",code:"+234"},{label:"NU",value:"NU",code:"+683"},{label:"KP",value:"KP",code:"+850"},{label:"MP",value:"MP",code:"+1670"},{label:"NO",value:"NO",code:"+47"},{label:"OM",value:"OM",code:"+968"},{label:"PK",value:"PK",code:"+92"},{label:"PW",value:"PW",code:"+680"},{label:"PS",value:"PS",code:"+970"},{label:"PA",value:"PA",code:"+507"},{label:"PG",value:"PG",code:"+675"},{label:"PY",value:"PY",code:"+595"},{label:"PE",value:"PE",code:"+51"},{label:"PH",value:"PH",code:"+63"},{label:"PN",value:"PN",code:"+64"},{label:"PL",value:"PL",code:"+48"},{label:"PT",value:"PT",code:"+351"},{label:"PR",value:"PR",code:"+1787"},{label:"PR",value:"PR",code:"+1939"},{label:"QA",value:"QA",code:"+974"},{label:"CG",value:"CG",code:"+242"},{label:"RE",value:"RE",code:"+262"},{label:"RO",value:"RO",code:"+40"},{label:"RU",value:"RU",code:"+7"},{label:"RW",value:"RW",code:"+250"},{label:"BL",value:"BL",code:"+590"},{label:"SH",value:"SH",code:"+290"},{label:"KN",value:"KN",code:"+1869"},{label:"LC",value:"LC",code:"+1758"},{label:"MF",value:"MF",code:"+590"},{label:"PM",value:"PM",code:"+508"},{label:"VC",value:"VC",code:"+1784"},{label:"WS",value:"WS",code:"+685"},{label:"SM",value:"SM",code:"+378"},{label:"ST",value:"ST",code:"+239"},{label:"SA",value:"SA",code:"+966"},{label:"SN",value:"SN",code:"+221"},{label:"RS",value:"RS",code:"+381"},{label:"SC",value:"SC",code:"+248"},{label:"SL",value:"SL",code:"+232"},{label:"SG",value:"SG",code:"+65"},{label:"SX",value:"SX",code:"+1721"},{label:"SK",value:"SK",code:"+421"},{label:"SI",value:"SI",code:"+386"},{label:"SB",value:"SB",code:"+677"},{label:"SO",value:"SO",code:"+252"},{label:"ZA",value:"ZA",code:"+27"},{label:"KR",value:"KR",code:"+82"},{label:"SS",value:"SS",code:"+211"},{label:"ES",value:"ES",code:"+34"},{label:"LK",value:"LK",code:"+94"},{label:"SD",value:"SD",code:"+249"},{label:"SR",value:"SR",code:"+597"},{label:"SJ",value:"SJ",code:"+47"},{label:"SZ",value:"SZ",code:"+268"},{label:"SE",value:"SE",code:"+46"},{label:"CH",value:"CH",code:"+41"},{label:"SY",value:"SY",code:"+963"},{label:"TW",value:"TW",code:"+886"},{label:"TJ",value:"TJ",code:"+992"},{label:"TZ",value:"TZ",code:"+255"},{label:"TH",value:"TH",code:"+66"},{label:"TG",value:"TG",code:"+228"},{label:"TK",value:"TK",code:"+690"},{label:"TO",value:"TO",code:"+676"},{label:"TT",value:"TT",code:"+1868"},{label:"TN",value:"TN",code:"+216"},{label:"TR",value:"TR",code:"+90"},{label:"TM",value:"TM",code:"+993"},{label:"TC",value:"TC",code:"+1649"},{label:"TV",value:"TV",code:"+688"},{label:"VI",value:"VI",code:"+1340"},{label:"UG",value:"UG",code:"+256"},{label:"UA",value:"UA",code:"+380"},{label:"AE",value:"AE",code:"+971"},{label:"GB",value:"GB",code:"+44"},{label:"US",value:"US",code:"+1"},{label:"UY",value:"UY",code:"+598"},{label:"UZ",value:"UZ",code:"+998"},{label:"VU",value:"VU",code:"+678"},{label:"VA",value:"VA",code:"+379"},{label:"VE",value:"VE",code:"+58"},{label:"VN",value:"VN",code:"+84"},{label:"WF",value:"WF",code:"+681"},{label:"EH",value:"EH",code:"+212"},{label:"YE",value:"YE",code:"+967"},{label:"ZM",value:"ZM",code:"+260"},{label:"ZW",value:"ZW",code:"+263"}];var Co=Object.defineProperty,_o=Object.getOwnPropertyDescriptor,Q=(a,e,r,n)=>{for(var t=n>1?void 0:n?_o(e,r):e,i=a.length-1,s;i>=0;i--)(s=a[i])&&(t=(n?s(e,r,t):s(t))||t);return n&&t&&Co(e,r,t),t};o.RtgInput=class extends h{constructor(){super(),this.disabled=!1,this.type="text",this.placeholder="",this.defaultValue="",this.value="",this.dataKey="",this.country="US",this.countryCode="+1",this.selectedLabel="US",this.rawTelValue="",this.value=this.defaultValue,this.rawTelValue=this.defaultValue}handleCountryChange(e){const r=e.target,n=Cr.find(t=>t.value===r.value);n&&(this.country=n.value,this.countryCode=n.code,this.selectedLabel=n.value,this.emitValueChange(),this.requestUpdate()),e.stopPropagation()}firstUpdated(e){this.removeParentAttributes();const r=["--input-border-radius","--input-padding"];this.applyCustomClass(r,"input","input-base"),this.type==="tel"?this.rawTelValue=this.defaultValue:this.defaultValue&&(this.value=this.defaultValue),this.observeStyleAndClassSync(this.inputElement)}handleInputChange(e){const r=e.target;if(this.type==="file"){this.value=r.files?r.files[0].name:"",this.dispatchEvent(new CustomEvent("input",{bubbles:!0,composed:!0,detail:{value:this.value}}));return}this.type==="tel"?(this.rawTelValue=r.value,this.emitValueChange()):(this.value=r.value,this.dispatchEvent(new CustomEvent("input",{bubbles:!0,composed:!0,detail:{value:this.value}})))}emitValueChange(){this.value=`${this.countryCode}-${this.rawTelValue}`,this.dispatchEvent(new CustomEvent("input",{bubbles:!0,composed:!0,detail:{value:this.value,code:this.countryCode}}))}handleFocus(){this.dispatchEvent(new CustomEvent("focus",{bubbles:!0,composed:!0,detail:{dataKey:this.dataKey}}))}getAttributesToExclude(){return["disabled","type","placeholder","value","data-testid","custom-class","data-key"]}getAttributesToRemoveFromParent(){return["class","style"]}createRenderRoot(){return this}render(){const e=this.getFilteredAttributes();return this.type==="tel"?d.html`
2863
2863
  <div
2864
2864
  class="${p("rtg-flex rtg-items-center rtg-border rtg-border-input rtg-rounded-md rtg-px-3 rtg-py-1 disabled:rtg-opacity-50","focus-within:rtg-ring-1 focus-within:rtg-ring-ring focus-within:rtg-outline-none",this.customClass)}"
2865
2865
  >
@@ -2879,7 +2879,7 @@ body {
2879
2879
  <input
2880
2880
  part="input"
2881
2881
  type="tel"
2882
- class="${p("rtg-flex-1 rtg-bg-transparent rtg-text-sm rtg-px-3 rtg-py-[3px] input-base","focus-visible:rtg-outline-none")}"
2882
+ class="${p("rtg-flex-1 rtg-bg-transparent rtg-text-sm rtg-px-3 rtg-py-[3px] input-base","focus-visible:rtg-outline-none rtg-no-autofill-bg")}"
2883
2883
  placeholder=${this.placeholder}
2884
2884
  .value=${this.rawTelValue}
2885
2885
  @input=${this.handleInputChange}
@@ -4914,9 +4914,10 @@ body {
4914
4914
  ></textarea>
4915
4915
  <rtg-alert style=${this.btnClass} message=${"hey"}></rtg-alert> -->
4916
4916
  <rtg-input
4917
+ id="email"
4917
4918
  type="tel"
4918
4919
  .value=${this.inputValue}
4919
- @input=${e=>{e.detail.value&&(this.inputValue=e.detail.value)}}
4920
+ @input=${e=>{console.log(e.detail,this.inputValue),e.detail.value&&(this.inputValue=e.detail.value)}}
4920
4921
  customClass="rtg-mt-2"
4921
4922
  ></rtg-input>
4922
4923
  </div>
@@ -1 +1 @@
1
- export declare const inputStyles = "rtg-flex rtg-h-9 rtg-w-full rtg-rounded-md rtg-border rtg-border-input rtg-bg-transparent rtg-px-3 rtg-py-1 rtg-text-sm rtg-shadow-sm rtg-transition-colors file:rtg-border-0 file:rtg-bg-transparent file:rtg-text-sm file:rtg-font-medium placeholder:rtg-text-muted-foreground focus-visible:rtg-outline-none focus-visible:rtg-ring-1 focus-visible:rtg-ring-ring disabled:rtg-opacity-50 input-base";
1
+ export declare const inputStyles = "rtg-flex rtg-h-9 rtg-w-full rtg-no-autofill-bg rtg-rounded-md rtg-border rtg-border-input autofill:rtg-bg-transparent rtg-bg-transparent rtg-px-3 rtg-py-1 rtg-text-sm rtg-shadow-sm rtg-transition-colors file:rtg-border-0 file:rtg-bg-transparent file:rtg-text-sm file:rtg-font-medium placeholder:rtg-text-muted-foreground focus-visible:rtg-outline-none focus-visible:rtg-ring-1 focus-visible:rtg-ring-ring disabled:rtg-opacity-50 input-base";
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent wc-ui following open-wc recommendations",
4
4
  "license": "MIT",
5
5
  "author": "wc-ui",
6
- "version": "0.0.91",
6
+ "version": "0.0.93",
7
7
  "type": "module",
8
8
  "main": "dist/rtg-ui-kit.umd.cjs",
9
9
  "module": "./dist/rtg-ui-kit.js",