@appkit/dek-ui 0.25.1 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -137,14 +137,14 @@ function M7() {
137
137
  }
138
138
  return null;
139
139
  }
140
- var Z = Object.assign, L1 = 0, d1, I, S, n1, B1, f1, S1;
140
+ var Z = Object.assign, L1 = 0, d1, I, S, n1, C1, f1, S1;
141
141
  function j1() {
142
142
  }
143
143
  j1.__reactDisabledLog = !0;
144
144
  function k1() {
145
145
  {
146
146
  if (L1 === 0) {
147
- d1 = console.log, I = console.info, S = console.warn, n1 = console.error, B1 = console.group, f1 = console.groupCollapsed, S1 = console.groupEnd;
147
+ d1 = console.log, I = console.info, S = console.warn, n1 = console.error, C1 = console.group, f1 = console.groupCollapsed, S1 = console.groupEnd;
148
148
  var _ = {
149
149
  configurable: !0,
150
150
  enumerable: !0,
@@ -186,7 +186,7 @@ function M7() {
186
186
  value: n1
187
187
  }),
188
188
  group: Z({}, _, {
189
- value: B1
189
+ value: C1
190
190
  }),
191
191
  groupCollapsed: Z({}, _, {
192
192
  value: f1
@@ -654,7 +654,7 @@ const I0 = () => 0, F9 = `
654
654
  `, F4 = (t, e = !1) => t === "center" ? "center" : t === "left" ? e ? "flex-end" : "flex-start" : t === "stretch" ? "stretch" : e ? "flex-start" : "flex-end", E4 = (t, e = !1) => t === "center" ? "center" : t === "top" ? e ? "flex-end" : "flex-start" : e ? "flex-start" : "flex-end", f7 = d2.div`
655
655
  box-sizing: border-box;
656
656
  background-color: ${(t) => t.$active ? t.$backColorActive : t.$backColor};
657
- filter: ${(t) => t.$disabled ? `brightness(${C1.button.brightnessDisabled})` : t.$pressed ? `brightness(${C1.button.brightnessPressed})` : "none"};
657
+ filter: ${(t) => t.$disabled ? `brightness(${B1.button.brightnessDisabled})` : t.$pressed ? `brightness(${B1.button.brightnessPressed})` : "none"};
658
658
  border-radius: ${({ $borderRadius: t }) => typeof t == "number" ? `${t}px` : t};
659
659
  width: ${({ $width: t }) => typeof t == "number" ? `${t}px` : t};
660
660
  height: ${({ $height: t }) => typeof t == "number" ? `${t}px` : t};
@@ -705,7 +705,7 @@ const I0 = () => 0, F9 = `
705
705
  }, W = () => {
706
706
  e || X();
707
707
  }, G = i ? void 0 : r ? `dek-button-${t}-active` : `dek-button-${t}`;
708
- return i || (i = (J = C1.button[t]) == null ? void 0 : J.backColor), c || (c = (r1 = C1.button[t]) == null ? void 0 : r1.backColorActive), /* @__PURE__ */ z1.jsx(
708
+ return i || (i = (J = B1.button[t]) == null ? void 0 : J.backColor), c || (c = (r1 = B1.button[t]) == null ? void 0 : r1.backColorActive), /* @__PURE__ */ z1.jsx(
709
709
  f7,
710
710
  {
711
711
  $pressed: e ? !1 : R,
@@ -23535,7 +23535,7 @@ const kU1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
23535
23535
  iconPadding: c = 2,
23536
23536
  iconBackColor: l = ""
23537
23537
  }) => {
23538
- const o = e ? h : n || C1.button.normal.color, d = l ? i - 4 : i, g = c, f = l ? 2 : 0;
23538
+ const o = e ? h : n || B1.button.normal.color, d = l ? i - 4 : i, g = c, f = l ? 2 : 0;
23539
23539
  return /* @__PURE__ */ z1.jsxs(
23540
23540
  OU1,
23541
23541
  {
@@ -23558,7 +23558,7 @@ const kU1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
23558
23558
  ]
23559
23559
  }
23560
23560
  );
23561
- }, C1 = {
23561
+ }, B1 = {
23562
23562
  text: {
23563
23563
  size: {
23564
23564
  xxsmall: 10,
@@ -23655,15 +23655,15 @@ const kU1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
23655
23655
  function z5(t) {
23656
23656
  switch (t) {
23657
23657
  case "xxsubtle":
23658
- return C1.text.color.xxsubtle;
23658
+ return B1.text.color.xxsubtle;
23659
23659
  case "xsubtle":
23660
- return C1.text.color.xsubtle;
23660
+ return B1.text.color.xsubtle;
23661
23661
  case "subtle":
23662
- return C1.text.color.subtle;
23662
+ return B1.text.color.subtle;
23663
23663
  case "tint":
23664
- return C1.text.color.tint;
23664
+ return B1.text.color.tint;
23665
23665
  case "normal":
23666
- return C1.text.color.normal;
23666
+ return B1.text.color.normal;
23667
23667
  default:
23668
23668
  return t;
23669
23669
  }
@@ -23671,97 +23671,97 @@ function z5(t) {
23671
23671
  function H3(t) {
23672
23672
  switch (t) {
23673
23673
  case "normal":
23674
- return C1.text.family.normal;
23674
+ return B1.text.family.normal;
23675
23675
  case "condensed":
23676
- return C1.text.family.condensed;
23676
+ return B1.text.family.condensed;
23677
23677
  case "mono":
23678
- return C1.text.family.mono;
23678
+ return B1.text.family.mono;
23679
23679
  case "slab":
23680
- return C1.text.family.slab;
23680
+ return B1.text.family.slab;
23681
23681
  case "flex":
23682
- return C1.text.family.flex;
23682
+ return B1.text.family.flex;
23683
23683
  case "heading":
23684
- return C1.text.family.heading;
23684
+ return B1.text.family.heading;
23685
23685
  default:
23686
23686
  return t;
23687
23687
  }
23688
23688
  }
23689
23689
  function j4(t) {
23690
23690
  if (t === void 0)
23691
- return C1.text.size.normal;
23691
+ return B1.text.size.normal;
23692
23692
  if (typeof t == "number")
23693
23693
  return t;
23694
23694
  switch (t) {
23695
23695
  case "xxsmall":
23696
- return C1.text.size.xxsmall;
23696
+ return B1.text.size.xxsmall;
23697
23697
  case "xsmall":
23698
- return C1.text.size.xsmall;
23698
+ return B1.text.size.xsmall;
23699
23699
  case "small":
23700
- return C1.text.size.small;
23700
+ return B1.text.size.small;
23701
23701
  case "normal":
23702
- return C1.text.size.normal;
23702
+ return B1.text.size.normal;
23703
23703
  case "large":
23704
- return C1.text.size.large;
23704
+ return B1.text.size.large;
23705
23705
  case "xlarge":
23706
- return C1.text.size.xlarge;
23706
+ return B1.text.size.xlarge;
23707
23707
  case "xxlarge":
23708
- return C1.text.size.xxlarge;
23708
+ return B1.text.size.xxlarge;
23709
23709
  case "heading":
23710
- return C1.text.size.heading;
23710
+ return B1.text.size.heading;
23711
23711
  }
23712
23712
  }
23713
23713
  function N9(t) {
23714
23714
  if (t === void 0)
23715
- return C1.text.height.normal;
23715
+ return B1.text.height.normal;
23716
23716
  if (typeof t == "number")
23717
23717
  return t + 5;
23718
23718
  switch (t) {
23719
23719
  case "xxsmall":
23720
- return C1.text.height.xxsmall;
23720
+ return B1.text.height.xxsmall;
23721
23721
  case "xsmall":
23722
- return C1.text.height.xsmall;
23722
+ return B1.text.height.xsmall;
23723
23723
  case "small":
23724
- return C1.text.height.small;
23724
+ return B1.text.height.small;
23725
23725
  case "normal":
23726
- return C1.text.height.normal;
23726
+ return B1.text.height.normal;
23727
23727
  case "large":
23728
- return C1.text.height.large;
23728
+ return B1.text.height.large;
23729
23729
  case "xlarge":
23730
- return C1.text.height.xlarge;
23730
+ return B1.text.height.xlarge;
23731
23731
  case "xxlarge":
23732
- return C1.text.height.xxlarge;
23732
+ return B1.text.height.xxlarge;
23733
23733
  case "heading":
23734
- return C1.text.height.heading;
23734
+ return B1.text.height.heading;
23735
23735
  }
23736
23736
  }
23737
23737
  function M5(t) {
23738
23738
  if (t === void 0)
23739
- return C1.text.weight.normal;
23739
+ return B1.text.weight.normal;
23740
23740
  if (typeof t == "number")
23741
23741
  return t;
23742
23742
  switch (t) {
23743
23743
  case "xxthin":
23744
- return C1.text.weight.xxthin;
23744
+ return B1.text.weight.xxthin;
23745
23745
  case "xthin":
23746
- return C1.text.weight.xthin;
23746
+ return B1.text.weight.xthin;
23747
23747
  case "thin":
23748
- return C1.text.weight.thin;
23748
+ return B1.text.weight.thin;
23749
23749
  case "normal":
23750
- return C1.text.weight.normal;
23750
+ return B1.text.weight.normal;
23751
23751
  case "bold":
23752
- return C1.text.weight.bold;
23752
+ return B1.text.weight.bold;
23753
23753
  case "xbold":
23754
- return C1.text.weight.xbold;
23754
+ return B1.text.weight.xbold;
23755
23755
  case "xxbold":
23756
- return C1.text.weight.xxbold;
23756
+ return B1.text.weight.xxbold;
23757
23757
  case "heavy":
23758
- return C1.text.weight.heavy;
23758
+ return B1.text.weight.heavy;
23759
23759
  case "xheavy":
23760
- return C1.text.weight.xheavy;
23760
+ return B1.text.weight.xheavy;
23761
23761
  case "xxheavy":
23762
- return C1.text.weight.xxheavy;
23762
+ return B1.text.weight.xxheavy;
23763
23763
  case "heading":
23764
- return C1.text.weight.heading;
23764
+ return B1.text.weight.heading;
23765
23765
  }
23766
23766
  }
23767
23767
  const bU1 = d2.div`
@@ -23879,22 +23879,22 @@ const bU1 = d2.div`
23879
23879
  }, N = t.variant === "clear" || t.variant === "toggle" ? t.variant : "normal", X = {
23880
23880
  ...t,
23881
23881
  pressed: e,
23882
- color: m || ((Q = C1.button[N]) == null ? void 0 : Q.color),
23883
- colorActive: B || (($ = C1.button[N]) == null ? void 0 : $.colorActive),
23882
+ color: m || ((Q = B1.button[N]) == null ? void 0 : Q.color),
23883
+ colorActive: B || (($ = B1.button[N]) == null ? void 0 : $.colorActive),
23884
23884
  textStyle: {},
23885
23885
  label: "button-text"
23886
23886
  }, c1 = {
23887
23887
  ...t,
23888
23888
  pressed: e,
23889
- iconColor: i || m || ((W = C1.button[N]) == null ? void 0 : W.color),
23890
- iconColorActive: w || B || ((G = C1.button[N]) == null ? void 0 : G.colorActive),
23889
+ iconColor: i || m || ((W = B1.button[N]) == null ? void 0 : W.color),
23890
+ iconColorActive: w || B || ((G = B1.button[N]) == null ? void 0 : G.colorActive),
23891
23891
  label: "button-icon"
23892
23892
  }, a1 = {
23893
23893
  ...t,
23894
23894
  variant: N,
23895
23895
  paddingVert: f === void 0 && d === void 0 && g === void 0 && o === void 0 ? 12 : o,
23896
23896
  // if only backColor is set, use it for backColorActive (except for toggle variants)
23897
- backColorActive: l || (N !== "toggle" ? c || ((J = C1.button[N]) == null ? void 0 : J.backColor) : void 0)
23897
+ backColorActive: l || (N !== "toggle" ? c || ((J = B1.button[N]) == null ? void 0 : J.backColor) : void 0)
23898
23898
  };
23899
23899
  let R = null;
23900
23900
  return C ? R = C : h === "none" ? (X.textStyle.margin = "4px 4px 0 4px", R = /* @__PURE__ */ z1.jsx(P8, { ...X })) : (h === "top" ? (a1.direction = "vert", X.textStyle.margin = "0 4px") : h === "right" ? (a1.direction = "horz-reverse", X.textStyle.margin = "4px 4px 0 4px") : h === "bottom" ? (a1.direction = "vert-reverse", X.textStyle.margin = "0 4px") : h === "left" && (a1.direction = "horz", X.textStyle.margin = "4px 4px 0 4px"), R = /* @__PURE__ */ z1.jsxs(z1.Fragment, { children: [
@@ -23911,79 +23911,36 @@ const bU1 = d2.div`
23911
23911
  children: R
23912
23912
  }
23913
23913
  );
23914
- }, Bt2 = (t) => {
23915
- const {
23916
- title: e,
23917
- width: r = C1.card.width,
23918
- height: n = C1.card.height,
23919
- halign: h = "left",
23920
- valign: i = "top",
23921
- onPressed: c,
23922
- children: l,
23923
- borderRadius: o = C1.card.borderRadius,
23924
- onClick: d = I0
23925
- } = t;
23926
- return /* @__PURE__ */ z1.jsx(
23927
- R6,
23928
- {
23929
- ...t,
23930
- label: "card-button",
23931
- width: r,
23932
- height: n,
23933
- halign: h,
23934
- valign: i,
23935
- title: e,
23936
- borderRadius: o,
23937
- onClick: d,
23938
- onPressed: c,
23939
- children: l
23940
- }
23941
- );
23942
- }, _U1 = (t) => {
23943
- const { onPressed: e, children: r, onClick: n = I0, padding: h = 6 } = t;
23944
- return /* @__PURE__ */ z1.jsx(
23945
- R6,
23946
- {
23947
- ...t,
23948
- label: "icon-button",
23949
- padding: h,
23950
- halign: "center",
23951
- valign: "center",
23952
- onClick: n,
23953
- onPressed: e,
23954
- children: r
23955
- }
23956
- );
23957
23914
  };
23958
23915
  function A3(t) {
23959
23916
  switch (t) {
23960
23917
  case "subtle":
23961
- return console.error("subtle view backColor is deprecated"), C1.text.color.subtle;
23918
+ return console.error("subtle view backColor is deprecated"), B1.text.color.subtle;
23962
23919
  case "tile":
23963
- return C1.view.backColor.tile;
23920
+ return B1.view.backColor.tile;
23964
23921
  case "card":
23965
- return C1.view.backColor.card;
23922
+ return B1.view.backColor.card;
23966
23923
  case "clear":
23967
- return C1.view.backColor.clear;
23924
+ return B1.view.backColor.clear;
23968
23925
  case "light":
23969
- return C1.view.backColor.light;
23926
+ return B1.view.backColor.light;
23970
23927
  case "lighter":
23971
- return C1.view.backColor.lighter;
23928
+ return B1.view.backColor.lighter;
23972
23929
  case "lightest":
23973
- return C1.view.backColor.lightest;
23930
+ return B1.view.backColor.lightest;
23974
23931
  case "dark":
23975
- return C1.view.backColor.dark;
23932
+ return B1.view.backColor.dark;
23976
23933
  case "darker":
23977
- return C1.view.backColor.darker;
23934
+ return B1.view.backColor.darker;
23978
23935
  case "darkest":
23979
- return C1.view.backColor.darkest;
23936
+ return B1.view.backColor.darkest;
23980
23937
  case "none":
23981
23938
  return "transparent";
23982
23939
  default:
23983
23940
  return t;
23984
23941
  }
23985
23942
  }
23986
- const b3 = (t) => t === "always" ? "scroll" : t === "auto" ? "auto" : t === "hidden" ? "hidden" : "initial", xa = (t) => typeof t == "string" ? t === "true" : t, IU1 = d2.div`
23943
+ const b3 = (t) => t === "always" ? "scroll" : t === "auto" ? "auto" : t === "hidden" ? "hidden" : "initial", xa = (t) => typeof t == "string" ? t === "true" : t, _U1 = d2.div`
23987
23944
  display: flex;
23988
23945
  box-sizing: border-box;
23989
23946
  ${(t) => xa(t.$collapse) ? "flex-shrink: 0;" : ""}
@@ -23994,7 +23951,7 @@ const b3 = (t) => t === "always" ? "scroll" : t === "auto" ? "auto" : t === "hid
23994
23951
  }};
23995
23952
  ${({ $fixed: t }) => t === "none" ? "" : t === "top" ? "position: absolute; top: 0; left: 0; right: 0;" : "position: absolute; bottom: 0; left: 0; right: 0;"}
23996
23953
  width: ${({ $width: t }) => typeof t == "number" ? `${t}px` : t};
23997
- color: ${() => C1.text.color.normal};
23954
+ color: ${() => B1.text.color.normal};
23998
23955
  border-radius: ${(t) => t.$borderRadius}px;
23999
23956
  overflow-y: ${({ $vscroll: t }) => b3(t)};
24000
23957
  overflow-x: ${({ $hscroll: t }) => b3(t)};
@@ -24047,7 +24004,7 @@ const b3 = (t) => t === "always" ? "scroll" : t === "auto" ? "auto" : t === "hid
24047
24004
  style: G,
24048
24005
  children: J
24049
24006
  }) => /* @__PURE__ */ z1.jsx(
24050
- IU1,
24007
+ _U1,
24051
24008
  {
24052
24009
  "aria-label": t || "view",
24053
24010
  $direction: e,
@@ -24078,37 +24035,117 @@ const b3 = (t) => t === "always" ? "scroll" : t === "auto" ? "auto" : t === "hid
24078
24035
  style: G,
24079
24036
  children: J
24080
24037
  }
24081
- ), PU1 = ({ size: t, weight: e, ...r }) => /* @__PURE__ */ z1.jsx(h4, { size: t || "heading", weight: e || "heading", ...r }), WU1 = ({ title: t, active: e, onClick: r = I0 }) => /* @__PURE__ */ z1.jsx(
24082
- u0,
24083
- {
24084
- backColor: e ? "clear" : "none",
24085
- backColorHover: e ? "lighter" : "light",
24086
- borderRadius: 6,
24087
- onClick: r,
24088
- collapse: !0,
24089
- className: e ? "dek-button-clear" : "",
24090
- style: { marginBottom: 4, marginRight: 4, cursor: "pointer" },
24091
- children: /* @__PURE__ */ z1.jsx(PU1, { padding: 20, children: t })
24092
- }
24093
- ), Ct2 = ({
24038
+ ), Bt2 = (t) => {
24039
+ const {
24040
+ variant: e = "normal",
24041
+ children: r,
24042
+ square: n = !1,
24043
+ width: h = n ? B1.card.height : B1.card.width,
24044
+ height: i = B1.card.height,
24045
+ borderRadius: c = B1.card.borderRadius,
24046
+ label: l = "card",
24047
+ ...o
24048
+ } = t;
24049
+ let { backColor: d } = t;
24050
+ const g = d ? void 0 : `dek-card-${e}`;
24051
+ return d || (d = e === "normal" ? B1.view.backColor.card : B1.view.backColor.clear), /* @__PURE__ */ z1.jsx(
24052
+ u0,
24053
+ {
24054
+ width: h,
24055
+ height: i,
24056
+ className: g,
24057
+ backColor: d,
24058
+ borderRadius: c,
24059
+ label: l,
24060
+ ...o,
24061
+ children: r
24062
+ }
24063
+ );
24064
+ }, Ct2 = (t) => {
24065
+ const {
24066
+ title: e,
24067
+ square: r = !1,
24068
+ width: n = r ? B1.card.height : B1.card.width,
24069
+ height: h = B1.card.height,
24070
+ halign: i = "left",
24071
+ valign: c = "top",
24072
+ onPressed: l,
24073
+ children: o,
24074
+ borderRadius: d = B1.card.borderRadius,
24075
+ onClick: g = I0
24076
+ } = t;
24077
+ return /* @__PURE__ */ z1.jsx(
24078
+ R6,
24079
+ {
24080
+ ...t,
24081
+ label: "card-button",
24082
+ width: n,
24083
+ height: h,
24084
+ halign: i,
24085
+ valign: c,
24086
+ title: e,
24087
+ borderRadius: d,
24088
+ onClick: g,
24089
+ onPressed: l,
24090
+ children: o
24091
+ }
24092
+ );
24093
+ }, IU1 = (t) => {
24094
+ const { onPressed: e, children: r, onClick: n = I0, padding: h = 6 } = t;
24095
+ return /* @__PURE__ */ z1.jsx(
24096
+ R6,
24097
+ {
24098
+ ...t,
24099
+ label: "icon-button",
24100
+ padding: h,
24101
+ halign: "center",
24102
+ valign: "center",
24103
+ onClick: n,
24104
+ onPressed: e,
24105
+ children: r
24106
+ }
24107
+ );
24108
+ }, PU1 = ({ size: t, weight: e, ...r }) => /* @__PURE__ */ z1.jsx(h4, { size: t || "heading", weight: e || "heading", ...r }), WU1 = ({
24109
+ title: t,
24110
+ active: e,
24111
+ compact: r = !1,
24112
+ onClick: n = I0
24113
+ }) => {
24114
+ const h = r ? 10 : 20, i = r ? "large" : void 0;
24115
+ return /* @__PURE__ */ z1.jsx(
24116
+ u0,
24117
+ {
24118
+ backColor: e ? "clear" : "none",
24119
+ backColorHover: e ? "lighter" : "light",
24120
+ borderRadius: 6,
24121
+ onClick: n,
24122
+ collapse: !0,
24123
+ className: e ? "dek-button-clear" : "",
24124
+ style: { marginBottom: 4, marginRight: 4, cursor: "pointer" },
24125
+ children: /* @__PURE__ */ z1.jsx(PU1, { size: i, padding: h, children: t })
24126
+ }
24127
+ );
24128
+ }, yt2 = ({
24094
24129
  items: t,
24095
24130
  initialKey: e,
24096
24131
  direction: r = "vert",
24097
- onSelect: n = I0
24132
+ compact: n = !1,
24133
+ onSelect: h = I0
24098
24134
  }) => {
24099
- const [h, i] = _0(e), c = (l) => {
24100
- i(l), n(l);
24135
+ const [i, c] = _0(e), l = (o) => {
24136
+ c(o), h(o);
24101
24137
  };
24102
- return /* @__PURE__ */ z1.jsx(u0, { children: /* @__PURE__ */ z1.jsx(u0, { direction: r, collapse: !0, children: t.map(({ key: l, title: o }) => /* @__PURE__ */ z1.jsx(
24138
+ return /* @__PURE__ */ z1.jsx(u0, { children: /* @__PURE__ */ z1.jsx(u0, { direction: r, collapse: !0, children: t.map(({ key: o, title: d }) => /* @__PURE__ */ z1.jsx(
24103
24139
  WU1,
24104
24140
  {
24105
- title: o,
24106
- onClick: () => c(l),
24107
- active: h === l
24141
+ title: d,
24142
+ compact: n,
24143
+ onClick: () => l(o),
24144
+ active: i === o
24108
24145
  },
24109
- l
24146
+ o
24110
24147
  )) }) });
24111
- }, yt2 = (t) => {
24148
+ }, kt2 = (t) => {
24112
24149
  const { title: e, icon: r = "left", onPressed: n, children: h, onClick: i = I0 } = t;
24113
24150
  return /* @__PURE__ */ z1.jsx(
24114
24151
  R6,
@@ -24133,7 +24170,7 @@ const b3 = (t) => t === "always" ? "scroll" : t === "auto" ? "auto" : t === "hid
24133
24170
  padding: ${({ $padding: t }) => t}px;
24134
24171
  background-color: ${({ $backColor: t }) => t};
24135
24172
  border-radius: 50%;
24136
- `, TU1 = d2.div``, kt2 = ({
24173
+ `, TU1 = d2.div``, Ot2 = ({
24137
24174
  loading: t = !1,
24138
24175
  disabled: e = !1,
24139
24176
  iconName: r,
@@ -24142,7 +24179,7 @@ const b3 = (t) => t === "always" ? "scroll" : t === "auto" ? "auto" : t === "hid
24142
24179
  iconPadding: i = 2,
24143
24180
  iconBackColor: c = "transparent"
24144
24181
  }) => {
24145
- const l = e ? "#888" : n === void 0 ? C1.text.color.normal : n;
24182
+ const l = e ? "#888" : n === void 0 ? B1.text.color.normal : n;
24146
24183
  return /* @__PURE__ */ z1.jsxs(
24147
24184
  DU1,
24148
24185
  {
@@ -24163,31 +24200,6 @@ const b3 = (t) => t === "always" ? "scroll" : t === "auto" ? "auto" : t === "hid
24163
24200
  ]
24164
24201
  }
24165
24202
  );
24166
- }, Ot2 = (t) => {
24167
- const {
24168
- variant: e = "normal",
24169
- children: r,
24170
- width: n = C1.card.width,
24171
- height: h = C1.card.height,
24172
- borderRadius: i = C1.card.borderRadius,
24173
- label: c = "card",
24174
- ...l
24175
- } = t;
24176
- let { backColor: o } = t;
24177
- const d = o ? void 0 : `dek-card-${e}`;
24178
- return o || (o = e === "normal" ? C1.view.backColor.card : C1.view.backColor.clear), /* @__PURE__ */ z1.jsx(
24179
- u0,
24180
- {
24181
- width: n,
24182
- height: h,
24183
- className: d,
24184
- backColor: o,
24185
- borderRadius: i,
24186
- label: c,
24187
- ...l,
24188
- children: r
24189
- }
24190
- );
24191
24203
  };
24192
24204
  var $9 = {}, U9 = {}, h6 = { exports: {} }, wa = { exports: {} }, Y5 = { exports: {} }, Ba = { exports: {} }, G5 = { exports: {} }, Ca, W8;
24193
24205
  function RU1() {
@@ -24203,7 +24215,7 @@ function RU1() {
24203
24215
  !n.call(v, E) && E !== V && t(v, E, { get: () => M[E], enumerable: !(k = e(M, E)) || k.enumerable });
24204
24216
  return v;
24205
24217
  }, c = (v) => i(t({}, "__esModule", { value: !0 }), v), l = {};
24206
- h(l, { FluidValue: () => _, Globals: () => o, addFluidObserver: () => u1, callFluidObserver: () => ct, callFluidObservers: () => e0, clamp: () => Q2, colorToRgba: () => X1, colors: () => $1, createInterpolator: () => L0, createStringInterpolator: () => A2, defineHidden: () => D, deprecateDirectCall: () => v4, deprecateInterpolate: () => o4, each: () => d1, eachProp: () => I, easings: () => J0, flush: () => n1, flushCalls: () => B1, frameLoop: () => c2, getFluidObservers: () => yt, getFluidValue: () => W0, hasFluidValue: () => Z0, hex3: () => x, hex4: () => z, hex6: () => p, hex8: () => O, hsl: () => F2, hsla: () => l0, is: () => Z, isAnimatedString: () => ot, isEqual: () => L1, isSSR: () => f1, noop: () => r1, onResize: () => kt, onScroll: () => z4, once: () => D0, prefix: () => P1, raf: () => g, removeFluidObserver: () => E1, rgb: () => q2, rgba: () => S2, setFluidGetter: () => v1, toArray: () => S, useConstant: () => E0, useForceUpdate: () => L, useIsomorphicLayoutEffect: () => u, useMemoOne: () => P, useOnce: () => h1, usePrev: () => l1, useReducedMotion: () => V1 }), Ca = c(l);
24218
+ h(l, { FluidValue: () => _, Globals: () => o, addFluidObserver: () => u1, callFluidObserver: () => ct, callFluidObservers: () => e0, clamp: () => Q2, colorToRgba: () => X1, colors: () => $1, createInterpolator: () => L0, createStringInterpolator: () => A2, defineHidden: () => D, deprecateDirectCall: () => v4, deprecateInterpolate: () => o4, each: () => d1, eachProp: () => I, easings: () => J0, flush: () => n1, flushCalls: () => C1, frameLoop: () => c2, getFluidObservers: () => yt, getFluidValue: () => W0, hasFluidValue: () => Z0, hex3: () => x, hex4: () => z, hex6: () => p, hex8: () => O, hsl: () => F2, hsla: () => l0, is: () => Z, isAnimatedString: () => ot, isEqual: () => L1, isSSR: () => f1, noop: () => r1, onResize: () => kt, onScroll: () => z4, once: () => D0, prefix: () => P1, raf: () => g, removeFluidObserver: () => E1, rgb: () => q2, rgba: () => S2, setFluidGetter: () => v1, toArray: () => S, useConstant: () => E0, useForceUpdate: () => L, useIsomorphicLayoutEffect: () => u, useMemoOne: () => P, useOnce: () => h1, usePrev: () => l1, useReducedMotion: () => V1 }), Ca = c(l);
24207
24219
  var o = {};
24208
24220
  h(o, { assign: () => H1, colors: () => k1, createStringInterpolator: () => S1, skipAnimation: () => y, to: () => j1, willAdvance: () => K });
24209
24221
  var d = G(), g = (v) => a1(v, d), f = G();
@@ -24321,7 +24333,7 @@ function RU1() {
24321
24333
  v.clear(), d1(V, M);
24322
24334
  }
24323
24335
  }
24324
- var B1 = (v, ...M) => n1(v, (V) => V(...M)), f1 = () => typeof window > "u" || !window.navigator || /ServerSideRendering|^Deno\//.test(window.navigator.userAgent), S1, j1, k1 = null, y = !1, K = r1, H1 = (v) => {
24336
+ var C1 = (v, ...M) => n1(v, (V) => V(...M)), f1 = () => typeof window > "u" || !window.navigator || /ServerSideRendering|^Deno\//.test(window.navigator.userAgent), S1, j1, k1 = null, y = !1, K = r1, H1 = (v) => {
24325
24337
  v.to && (j1 = v.to), v.now && (g.now = v.now), v.colors !== void 0 && (k1 = v.colors), v.skipAnimation != null && (y = v.skipAnimation), v.createStringInterpolator && (S1 = v.createStringInterpolator), v.requestAnimationFrame && g.use(v.requestAnimationFrame), v.batchedUpdates && (g.batchedUpdates = v.batchedUpdates), v.willAdvance && (K = v.willAdvance), v.frameLoop && (g.frameLoop = v.frameLoop);
24326
24338
  }, g1 = /* @__PURE__ */ new Set(), M1 = [], I1 = [], R1 = 0, c2 = { get idle() {
24327
24339
  return !g1.size && !M1.length;
@@ -24644,7 +24656,7 @@ function FU1() {
24644
24656
  eachProp: () => I,
24645
24657
  easings: () => J0,
24646
24658
  flush: () => n1,
24647
- flushCalls: () => B1,
24659
+ flushCalls: () => C1,
24648
24660
  frameLoop: () => c2,
24649
24661
  getFluidObservers: () => yt,
24650
24662
  getFluidValue: () => W0,
@@ -24818,7 +24830,7 @@ function FU1() {
24818
24830
  v.clear(), d1(V, M);
24819
24831
  }
24820
24832
  }
24821
- var B1 = (v, ...M) => n1(v, (V) => V(...M)), f1 = () => typeof window > "u" || !window.navigator || /ServerSideRendering|^Deno\//.test(window.navigator.userAgent), S1, j1, k1 = null, y = !1, K = r1, H1 = (v) => {
24833
+ var C1 = (v, ...M) => n1(v, (V) => V(...M)), f1 = () => typeof window > "u" || !window.navigator || /ServerSideRendering|^Deno\//.test(window.navigator.userAgent), S1, j1, k1 = null, y = !1, K = r1, H1 = (v) => {
24822
24834
  v.to && (j1 = v.to), v.now && (g.now = v.now), v.colors !== void 0 && (k1 = v.colors), v.skipAnimation != null && (y = v.skipAnimation), v.createStringInterpolator && (S1 = v.createStringInterpolator), v.requestAnimationFrame && g.use(v.requestAnimationFrame), v.batchedUpdates && (g.batchedUpdates = v.batchedUpdates), v.willAdvance && (K = v.willAdvance), v.frameLoop && (g.frameLoop = v.frameLoop);
24823
24835
  }, g1 = /* @__PURE__ */ new Set(), M1 = [], I1 = [], R1 = 0, c2 = {
24824
24836
  get idle() {
@@ -25558,7 +25570,7 @@ function EU1() {
25558
25570
  return (0, d1.forwardRef)((g1, M1) => {
25559
25571
  let I1 = (0, d1.useRef)(null), R1 = H1 && (0, d1.useCallback)(($1) => {
25560
25572
  I1.current = f1(M1, $1);
25561
- }, [M1]), [c2, K1] = B1(g1, K), H2 = (0, I.useForceUpdate)(), W2 = () => {
25573
+ }, [M1]), [c2, K1] = C1(g1, K), H2 = (0, I.useForceUpdate)(), W2 = () => {
25562
25574
  let $1 = I1.current;
25563
25575
  H1 && !$1 || ($1 ? K.applyAnimatedValues($1, c2.getValue(!0)) : !1) === !1 && H2();
25564
25576
  }, z2 = new n1(W2, K1), M2 = (0, d1.useRef)();
@@ -25579,7 +25591,7 @@ function EU1() {
25579
25591
  y.type == "change" && I.raf.write(this.update);
25580
25592
  }
25581
25593
  };
25582
- function B1(y, K) {
25594
+ function C1(y, K) {
25583
25595
  let H1 = /* @__PURE__ */ new Set();
25584
25596
  return $.dependencies = H1, y.style && (y = { ...y, style: K.createAnimatedStyle(y.style) }), y = new W(y), $.dependencies = null, [y, H1];
25585
25597
  }
@@ -25757,7 +25769,7 @@ function jU1() {
25757
25769
  I1.current = f1(M1, $1);
25758
25770
  },
25759
25771
  [M1]
25760
- ), [c2, K1] = B1(g1, K), H2 = (0, I.useForceUpdate)(), W2 = () => {
25772
+ ), [c2, K1] = C1(g1, K), H2 = (0, I.useForceUpdate)(), W2 = () => {
25761
25773
  const $1 = I1.current;
25762
25774
  if (H1 && !$1)
25763
25775
  return;
@@ -25783,7 +25795,7 @@ function jU1() {
25783
25795
  y.type == "change" && I.raf.write(this.update);
25784
25796
  }
25785
25797
  };
25786
- function B1(y, K) {
25798
+ function C1(y, K) {
25787
25799
  const H1 = /* @__PURE__ */ new Set();
25788
25800
  return $.dependencies = H1, y.style && (y = {
25789
25801
  ...y,
@@ -25954,7 +25966,7 @@ function UU1() {
25954
25966
  }
25955
25967
  });
25956
25968
  }
25957
- var L1 = T1(), d1 = y1, I = T1(), S = T1(), n1 = Vt(), B1 = T1(), f1 = { default: { tension: 170, friction: 26 }, gentle: { tension: 120, friction: 14 }, wobbly: { tension: 180, friction: 12 }, stiff: { tension: 210, friction: 20 }, slow: { tension: 280, friction: 60 }, molasses: { tension: 280, friction: 120 } }, S1 = { ...f1.default, mass: 1, damping: 1, easing: B1.easings.linear, clamp: !1 }, j1 = class {
25969
+ var L1 = T1(), d1 = y1, I = T1(), S = T1(), n1 = Vt(), C1 = T1(), f1 = { default: { tension: 170, friction: 26 }, gentle: { tension: 120, friction: 14 }, wobbly: { tension: 180, friction: 12 }, stiff: { tension: 210, friction: 20 }, slow: { tension: 280, friction: 60 }, molasses: { tension: 280, friction: 120 } }, S1 = { ...f1.default, mass: 1, damping: 1, easing: C1.easings.linear, clamp: !1 }, j1 = class {
25958
25970
  constructor() {
25959
25971
  this.velocity = 0, Object.assign(this, S1);
25960
25972
  }
@@ -25964,14 +25976,14 @@ function UU1() {
25964
25976
  for (let Y in S1)
25965
25977
  s[Y] == null && (s[Y] = S1[Y]);
25966
25978
  let { frequency: L, damping: A } = s, { mass: P } = s;
25967
- return B1.is.und(L) || (L < 0.01 && (L = 0.01), A < 0 && (A = 0), s.tension = Math.pow(2 * Math.PI / L, 2) * P, s.friction = 4 * Math.PI * A * P / L), s;
25979
+ return C1.is.und(L) || (L < 0.01 && (L = 0.01), A < 0 && (A = 0), s.tension = Math.pow(2 * Math.PI / L, 2) * P, s.friction = 4 * Math.PI * A * P / L), s;
25968
25980
  }
25969
25981
  function y(s, u) {
25970
- if (!B1.is.und(u.decay))
25982
+ if (!C1.is.und(u.decay))
25971
25983
  s.duration = void 0;
25972
25984
  else {
25973
- let H = !B1.is.und(u.tension) || !B1.is.und(u.friction);
25974
- (H || !B1.is.und(u.frequency) || !B1.is.und(u.damping) || !B1.is.und(u.mass)) && (s.duration = void 0, s.decay = void 0), H && (s.frequency = void 0);
25985
+ let H = !C1.is.und(u.tension) || !C1.is.und(u.friction);
25986
+ (H || !C1.is.und(u.frequency) || !C1.is.und(u.damping) || !C1.is.und(u.mass)) && (s.duration = void 0, s.decay = void 0), H && (s.frequency = void 0);
25975
25987
  }
25976
25988
  }
25977
25989
  var K = [], H1 = class {
@@ -27035,7 +27047,7 @@ function qU1() {
27035
27047
  }
27036
27048
  });
27037
27049
  }
27038
- var L1 = T1(), d1 = y1, I = T1(), S = T1(), n1 = Vt(), B1 = T1(), f1 = {
27050
+ var L1 = T1(), d1 = y1, I = T1(), S = T1(), n1 = Vt(), C1 = T1(), f1 = {
27039
27051
  default: { tension: 170, friction: 26 },
27040
27052
  gentle: { tension: 120, friction: 14 },
27041
27053
  wobbly: { tension: 180, friction: 12 },
@@ -27046,7 +27058,7 @@ function qU1() {
27046
27058
  ...f1.default,
27047
27059
  mass: 1,
27048
27060
  damping: 1,
27049
- easing: B1.easings.linear,
27061
+ easing: C1.easings.linear,
27050
27062
  clamp: !1
27051
27063
  }, j1 = class {
27052
27064
  constructor() {
@@ -27059,14 +27071,14 @@ function qU1() {
27059
27071
  s[Y] == null && (s[Y] = S1[Y]);
27060
27072
  let { frequency: L, damping: A } = s;
27061
27073
  const { mass: P } = s;
27062
- return B1.is.und(L) || (L < 0.01 && (L = 0.01), A < 0 && (A = 0), s.tension = Math.pow(2 * Math.PI / L, 2) * P, s.friction = 4 * Math.PI * A * P / L), s;
27074
+ return C1.is.und(L) || (L < 0.01 && (L = 0.01), A < 0 && (A = 0), s.tension = Math.pow(2 * Math.PI / L, 2) * P, s.friction = 4 * Math.PI * A * P / L), s;
27063
27075
  }
27064
27076
  function y(s, u) {
27065
- if (!B1.is.und(u.decay))
27077
+ if (!C1.is.und(u.decay))
27066
27078
  s.duration = void 0;
27067
27079
  else {
27068
- const H = !B1.is.und(u.tension) || !B1.is.und(u.friction);
27069
- (H || !B1.is.und(u.frequency) || !B1.is.und(u.damping) || !B1.is.und(u.mass)) && (s.duration = void 0, s.decay = void 0), H && (s.frequency = void 0);
27080
+ const H = !C1.is.und(u.tension) || !C1.is.und(u.friction);
27081
+ (H || !C1.is.und(u.frequency) || !C1.is.und(u.damping) || !C1.is.und(u.mass)) && (s.duration = void 0, s.decay = void 0), H && (s.frequency = void 0);
27070
27082
  }
27071
27083
  }
27072
27084
  var K = [], H1 = class {
@@ -28351,10 +28363,10 @@ function YU1() {
28351
28363
  var e = Object.defineProperty, r = Object.getOwnPropertyDescriptor, n = Object.getOwnPropertyNames, h = Object.prototype.hasOwnProperty, i = (I, S) => {
28352
28364
  for (var n1 in S)
28353
28365
  e(I, n1, { get: S[n1], enumerable: !0 });
28354
- }, c = (I, S, n1, B1) => {
28366
+ }, c = (I, S, n1, C1) => {
28355
28367
  if (S && typeof S == "object" || typeof S == "function")
28356
28368
  for (let f1 of n(S))
28357
- !h.call(I, f1) && f1 !== n1 && e(I, f1, { get: () => S[f1], enumerable: !(B1 = r(S, f1)) || B1.enumerable });
28369
+ !h.call(I, f1) && f1 !== n1 && e(I, f1, { get: () => S[f1], enumerable: !(C1 = r(S, f1)) || C1.enumerable });
28358
28370
  return I;
28359
28371
  }, l = (I, S, n1) => (c(I, S, "default"), n1 && c(n1, S, "default")), o = (I) => c(e({}, "__esModule", { value: !0 }), I), d = {};
28360
28372
  i(d, { a: () => d1, animated: () => d1 }), t.exports = o(d);
@@ -28366,11 +28378,11 @@ function YU1() {
28366
28378
  function F(I, S) {
28367
28379
  if (!I.nodeType || !I.setAttribute)
28368
28380
  return !1;
28369
- let n1 = I.nodeName === "filter" || I.parentNode && I.parentNode.nodeName === "filter", { style: B1, children: f1, scrollTop: S1, scrollLeft: j1, viewBox: k1, ...y } = S, K = Object.values(y), H1 = Object.keys(y).map((g1) => n1 || I.hasAttribute(g1) ? g1 : b[g1] || (b[g1] = g1.replace(/([A-Z])/g, (M1) => "-" + M1.toLowerCase())));
28381
+ let n1 = I.nodeName === "filter" || I.parentNode && I.parentNode.nodeName === "filter", { style: C1, children: f1, scrollTop: S1, scrollLeft: j1, viewBox: k1, ...y } = S, K = Object.values(y), H1 = Object.keys(y).map((g1) => n1 || I.hasAttribute(g1) ? g1 : b[g1] || (b[g1] = g1.replace(/([A-Z])/g, (M1) => "-" + M1.toLowerCase())));
28370
28382
  f1 !== void 0 && (I.textContent = f1);
28371
- for (let g1 in B1)
28372
- if (B1.hasOwnProperty(g1)) {
28373
- let M1 = C(g1, B1[g1]);
28383
+ for (let g1 in C1)
28384
+ if (C1.hasOwnProperty(g1)) {
28385
+ let M1 = C(g1, C1[g1]);
28374
28386
  B.test(g1) ? I.style.setProperty(g1, M1) : I.style[g1] = M1;
28375
28387
  }
28376
28388
  H1.forEach((g1, M1) => {
@@ -28380,18 +28392,18 @@ function YU1() {
28380
28392
  var N = { animationIterationCount: !0, borderImageOutset: !0, borderImageSlice: !0, borderImageWidth: !0, boxFlex: !0, boxFlexGroup: !0, boxOrdinalGroup: !0, columnCount: !0, columns: !0, flex: !0, flexGrow: !0, flexPositive: !0, flexShrink: !0, flexNegative: !0, flexOrder: !0, gridRow: !0, gridRowEnd: !0, gridRowSpan: !0, gridRowStart: !0, gridColumn: !0, gridColumnEnd: !0, gridColumnSpan: !0, gridColumnStart: !0, fontWeight: !0, lineClamp: !0, lineHeight: !0, opacity: !0, order: !0, orphans: !0, tabSize: !0, widows: !0, zIndex: !0, zoom: !0, fillOpacity: !0, floodOpacity: !0, stopOpacity: !0, strokeDasharray: !0, strokeDashoffset: !0, strokeMiterlimit: !0, strokeOpacity: !0, strokeWidth: !0 }, X = (I, S) => I + S.charAt(0).toUpperCase() + S.substring(1), c1 = ["Webkit", "Ms", "Moz", "O"];
28381
28393
  N = Object.keys(N).reduce((I, S) => (c1.forEach((n1) => I[X(n1, S)] = I[S]), I), N);
28382
28394
  var a1 = Vt(), R = T1(), Q = /^(matrix|translate|scale|rotate|skew)/, $ = /^(translate)/, W = /^(rotate|skew)/, G = (I, S) => R.is.num(I) && I !== 0 ? I + S : I, J = (I, S) => R.is.arr(I) ? I.every((n1) => J(n1, S)) : R.is.num(I) ? I === S : parseFloat(I) === S, r1 = class extends a1.AnimatedObject {
28383
- constructor({ x: I, y: S, z: n1, ...B1 }) {
28395
+ constructor({ x: I, y: S, z: n1, ...C1 }) {
28384
28396
  let f1 = [], S1 = [];
28385
- (I || S || n1) && (f1.push([I || 0, S || 0, n1 || 0]), S1.push((j1) => [`translate3d(${j1.map((k1) => G(k1, "px")).join(",")})`, J(j1, 0)])), (0, R.eachProp)(B1, (j1, k1) => {
28397
+ (I || S || n1) && (f1.push([I || 0, S || 0, n1 || 0]), S1.push((j1) => [`translate3d(${j1.map((k1) => G(k1, "px")).join(",")})`, J(j1, 0)])), (0, R.eachProp)(C1, (j1, k1) => {
28386
28398
  if (k1 === "transform")
28387
28399
  f1.push([j1 || ""]), S1.push((y) => [y, y === ""]);
28388
28400
  else if (Q.test(k1)) {
28389
- if (delete B1[k1], R.is.und(j1))
28401
+ if (delete C1[k1], R.is.und(j1))
28390
28402
  return;
28391
28403
  let y = $.test(k1) ? "px" : W.test(k1) ? "deg" : "";
28392
28404
  f1.push((0, R.toArray)(j1)), S1.push(k1 === "rotate3d" ? ([K, H1, g1, M1]) => [`rotate3d(${K},${H1},${g1},${G(M1, y)})`, J(M1, 0)] : (K) => [`${k1}(${K.map((H1) => G(H1, y)).join(",")})`, J(K, k1.startsWith("scale") ? 1 : 0)]);
28393
28405
  }
28394
- }), f1.length && (B1.transform = new D(f1, S1)), super(B1);
28406
+ }), f1.length && (C1.transform = new D(f1, S1)), super(C1);
28395
28407
  }
28396
28408
  }, D = class extends R.FluidValue {
28397
28409
  constructor(I, S) {
@@ -28402,8 +28414,8 @@ function YU1() {
28402
28414
  }
28403
28415
  _get() {
28404
28416
  let I = "", S = !0;
28405
- return (0, R.each)(this.inputs, (n1, B1) => {
28406
- let f1 = (0, R.getFluidValue)(n1[0]), [S1, j1] = this.transforms[B1](R.is.arr(f1) ? f1 : n1.map(R.getFluidValue));
28417
+ return (0, R.each)(this.inputs, (n1, C1) => {
28418
+ let f1 = (0, R.getFluidValue)(n1[0]), [S1, j1] = this.transforms[C1](R.is.arr(f1) ? f1 : n1.map(R.getFluidValue));
28407
28419
  I += " " + S1, S = S && j1;
28408
28420
  }), S ? "none" : I;
28409
28421
  }
@@ -28427,10 +28439,10 @@ function GU1() {
28427
28439
  var e = Object.defineProperty, r = Object.getOwnPropertyDescriptor, n = Object.getOwnPropertyNames, h = Object.prototype.hasOwnProperty, i = (I, S) => {
28428
28440
  for (var n1 in S)
28429
28441
  e(I, n1, { get: S[n1], enumerable: !0 });
28430
- }, c = (I, S, n1, B1) => {
28442
+ }, c = (I, S, n1, C1) => {
28431
28443
  if (S && typeof S == "object" || typeof S == "function")
28432
28444
  for (let f1 of n(S))
28433
- !h.call(I, f1) && f1 !== n1 && e(I, f1, { get: () => S[f1], enumerable: !(B1 = r(S, f1)) || B1.enumerable });
28445
+ !h.call(I, f1) && f1 !== n1 && e(I, f1, { get: () => S[f1], enumerable: !(C1 = r(S, f1)) || C1.enumerable });
28434
28446
  return I;
28435
28447
  }, l = (I, S, n1) => (c(I, S, "default"), n1 && c(n1, S, "default")), o = (I) => c(e({}, "__esModule", { value: !0 }), I), d = {};
28436
28448
  i(d, {
@@ -28445,7 +28457,7 @@ function GU1() {
28445
28457
  function F(I, S) {
28446
28458
  if (!I.nodeType || !I.setAttribute)
28447
28459
  return !1;
28448
- const n1 = I.nodeName === "filter" || I.parentNode && I.parentNode.nodeName === "filter", { style: B1, children: f1, scrollTop: S1, scrollLeft: j1, viewBox: k1, ...y } = S, K = Object.values(y), H1 = Object.keys(y).map(
28460
+ const n1 = I.nodeName === "filter" || I.parentNode && I.parentNode.nodeName === "filter", { style: C1, children: f1, scrollTop: S1, scrollLeft: j1, viewBox: k1, ...y } = S, K = Object.values(y), H1 = Object.keys(y).map(
28449
28461
  (g1) => n1 || I.hasAttribute(g1) ? g1 : b[g1] || (b[g1] = g1.replace(
28450
28462
  /([A-Z])/g,
28451
28463
  // Attributes are written in dash case
@@ -28453,9 +28465,9 @@ function GU1() {
28453
28465
  ))
28454
28466
  );
28455
28467
  f1 !== void 0 && (I.textContent = f1);
28456
- for (const g1 in B1)
28457
- if (B1.hasOwnProperty(g1)) {
28458
- const M1 = C(g1, B1[g1]);
28468
+ for (const g1 in C1)
28469
+ if (C1.hasOwnProperty(g1)) {
28470
+ const M1 = C(g1, C1[g1]);
28459
28471
  B.test(g1) ? I.style.setProperty(g1, M1) : I.style[g1] = M1;
28460
28472
  }
28461
28473
  H1.forEach((g1, M1) => {
@@ -28508,17 +28520,17 @@ function GU1() {
28508
28520
  }, X = (I, S) => I + S.charAt(0).toUpperCase() + S.substring(1), c1 = ["Webkit", "Ms", "Moz", "O"];
28509
28521
  N = Object.keys(N).reduce((I, S) => (c1.forEach((n1) => I[X(n1, S)] = I[S]), I), N);
28510
28522
  var a1 = Vt(), R = T1(), Q = /^(matrix|translate|scale|rotate|skew)/, $ = /^(translate)/, W = /^(rotate|skew)/, G = (I, S) => R.is.num(I) && I !== 0 ? I + S : I, J = (I, S) => R.is.arr(I) ? I.every((n1) => J(n1, S)) : R.is.num(I) ? I === S : parseFloat(I) === S, r1 = class extends a1.AnimatedObject {
28511
- constructor({ x: I, y: S, z: n1, ...B1 }) {
28523
+ constructor({ x: I, y: S, z: n1, ...C1 }) {
28512
28524
  const f1 = [], S1 = [];
28513
28525
  (I || S || n1) && (f1.push([I || 0, S || 0, n1 || 0]), S1.push((j1) => [
28514
28526
  `translate3d(${j1.map((k1) => G(k1, "px")).join(",")})`,
28515
28527
  // prettier-ignore
28516
28528
  J(j1, 0)
28517
- ])), (0, R.eachProp)(B1, (j1, k1) => {
28529
+ ])), (0, R.eachProp)(C1, (j1, k1) => {
28518
28530
  if (k1 === "transform")
28519
28531
  f1.push([j1 || ""]), S1.push((y) => [y, y === ""]);
28520
28532
  else if (Q.test(k1)) {
28521
- if (delete B1[k1], R.is.und(j1))
28533
+ if (delete C1[k1], R.is.und(j1))
28522
28534
  return;
28523
28535
  const y = $.test(k1) ? "px" : W.test(k1) ? "deg" : "";
28524
28536
  f1.push((0, R.toArray)(j1)), S1.push(
@@ -28531,7 +28543,7 @@ function GU1() {
28531
28543
  ]
28532
28544
  );
28533
28545
  }
28534
- }), f1.length && (B1.transform = new D(f1, S1)), super(B1);
28546
+ }), f1.length && (C1.transform = new D(f1, S1)), super(C1);
28535
28547
  }
28536
28548
  }, D = class extends R.FluidValue {
28537
28549
  constructor(I, S) {
@@ -28542,8 +28554,8 @@ function GU1() {
28542
28554
  }
28543
28555
  _get() {
28544
28556
  let I = "", S = !0;
28545
- return (0, R.each)(this.inputs, (n1, B1) => {
28546
- const f1 = (0, R.getFluidValue)(n1[0]), [S1, j1] = this.transforms[B1](
28557
+ return (0, R.each)(this.inputs, (n1, C1) => {
28558
+ const f1 = (0, R.getFluidValue)(n1[0]), [S1, j1] = this.transforms[C1](
28547
28559
  R.is.arr(f1) ? f1 : n1.map(R.getFluidValue)
28548
28560
  );
28549
28561
  I += " " + S1, S = S && j1;
@@ -28919,7 +28931,7 @@ function aq1(t, e) {
28919
28931
  var I = Z.defaultPrevented;
28920
28932
  if (!I && D.state.active) {
28921
28933
  if (D.isMovingCross == null) {
28922
- var S = D.props, n1 = S.vertical, B1 = S.ignoreCrossMove, f1 = B1;
28934
+ var S = D.props, n1 = S.vertical, C1 = S.ignoreCrossMove, f1 = C1;
28923
28935
  typeof f1 != "number" && (f1 = f1 ? 1 : 0);
28924
28936
  var S1 = n1 ? "y" : "x", j1 = n1 ? "x" : "y", k1 = Math.abs(L1[S1] - D.touchMoves[0][S1]), y = Math.abs(L1[j1] - D.touchMoves[0][j1]);
28925
28937
  D.isMovingCross = y * f1 > k1;
@@ -28942,10 +28954,10 @@ function aq1(t, e) {
28942
28954
  D.grabbing && (Z.preventDefault(), Z.stopPropagation());
28943
28955
  var d1 = D.state.dragging, I = null;
28944
28956
  if (d1 && D.touchMoves.length) {
28945
- for (var S = D.props, n1 = S.cardSize, B1 = S.moveScale, f1 = S.vertical, S1 = D.props.friction / 1e6, j1 = b(D), k1 = j1.touchMoves, y = k1.length, K = 0; --y >= 0 && K < 100; )
28957
+ for (var S = D.props, n1 = S.cardSize, C1 = S.moveScale, f1 = S.vertical, S1 = D.props.friction / 1e6, j1 = b(D), k1 = j1.touchMoves, y = k1.length, K = 0; --y >= 0 && K < 100; )
28946
28958
  K = Date.now() - k1[y].time;
28947
28959
  y++;
28948
- var H1 = f1 ? "y" : "x", g1 = ((0, h.getTouchPosition)(Z)[H1] - k1[y][H1]) / K, M1 = g1 * Math.abs(g1) / S1 / 2, I1 = D.state.cursor, R1 = (0, h.clamp)(M1 / n1 * B1, Math.floor(I1) - I1, Math.ceil(I1) - I1);
28960
+ var H1 = f1 ? "y" : "x", g1 = ((0, h.getTouchPosition)(Z)[H1] - k1[y][H1]) / K, M1 = g1 * Math.abs(g1) / S1 / 2, I1 = D.state.cursor, R1 = (0, h.clamp)(M1 / n1 * C1, Math.floor(I1) - I1, Math.ceil(I1) - I1);
28949
28961
  I = Math.round(I1 + R1), D.touchMoves = [];
28950
28962
  } else
28951
28963
  I = Math.round(D.state.cursor);
@@ -29040,8 +29052,8 @@ function aq1(t, e) {
29040
29052
  var Z = this;
29041
29053
  this.AnimatedComponent = (0, n.animated)(D.component);
29042
29054
  var L1 = function(I) {
29043
- var S = I.index, n1 = I.modIndex, B1 = I.cursor, f1 = I.state;
29044
- return Z.usedCursor = B1, Z.props.renderCard(S, n1, B1, f1);
29055
+ var S = I.index, n1 = I.modIndex, C1 = I.cursor, f1 = I.state;
29056
+ return Z.usedCursor = C1, Z.props.renderCard(S, n1, C1, f1);
29045
29057
  };
29046
29058
  this.AnimatedCard = (0, n.animated)(L1);
29047
29059
  }
@@ -29053,8 +29065,8 @@ function aq1(t, e) {
29053
29065
  }, {
29054
29066
  key: "getComputedCursor",
29055
29067
  value: function() {
29056
- var D = this.props, Z = D.cardCount, L1 = D.loop, d1 = D.maxOverflow, I = this.state, S = I.cursor, n1 = I.dragging, B1 = S;
29057
- return L1 || (B1 = (0, h.clamp)(B1, 1 - Z, 0), n1 && S > 0 ? B1 = d1 - d1 / (S + 1) : n1 && S < 1 - Z && (B1 = 1 - Z - d1 + d1 / (1 - Z - S + 1))), B1;
29068
+ var D = this.props, Z = D.cardCount, L1 = D.loop, d1 = D.maxOverflow, I = this.state, S = I.cursor, n1 = I.dragging, C1 = S;
29069
+ return L1 || (C1 = (0, h.clamp)(C1, 1 - Z, 0), n1 && S > 0 ? C1 = d1 - d1 / (S + 1) : n1 && S < 1 - Z && (C1 = 1 - Z - d1 + d1 / (1 - Z - S + 1))), C1;
29058
29070
  }
29059
29071
  }, {
29060
29072
  key: "getUsedCursor",
@@ -29068,9 +29080,9 @@ function aq1(t, e) {
29068
29080
  d1.cardSize;
29069
29081
  var I = d1.cardCount, S = d1.cardPadCount;
29070
29082
  d1.renderCard;
29071
- var n1 = d1.tension, B1 = d1.friction, f1 = d1.precision, S1 = d1.loop, j1 = l(d1, ["cardSize", "cardCount", "cardPadCount", "renderCard", "tension", "friction", "precision", "loop"]), k1 = S1 ? S : 0, y = {
29083
+ var n1 = d1.tension, C1 = d1.friction, f1 = d1.precision, S1 = d1.loop, j1 = l(d1, ["cardSize", "cardCount", "cardPadCount", "renderCard", "tension", "friction", "precision", "loop"]), k1 = S1 ? S : 0, y = {
29072
29084
  tension: n1,
29073
- friction: B1,
29085
+ friction: C1,
29074
29086
  precision: f1
29075
29087
  }, K = this.getComputedCursor();
29076
29088
  return /* @__PURE__ */ r.default.createElement(n.Spring, {
@@ -30002,7 +30014,7 @@ var _q1 = er.exports;
30002
30014
  }, {
30003
30015
  key: "render",
30004
30016
  value: function() {
30005
- var W, G, J, r1, D, Z = this.props, L1 = Z.baseClassName, d1 = Z.controlClassName, I = Z.placeholderClassName, S = Z.menuClassName, n1 = Z.arrowClassName, B1 = Z.arrowClosed, f1 = Z.arrowOpen, S1 = Z.className, j1 = this.props.disabled ? "Dropdown-disabled" : "", k1 = typeof this.state.selected == "string" ? this.state.selected : this.state.selected.label, y = (0, r.default)((W = {}, g(W, "".concat(L1, "-root"), !0), g(W, S1, !!S1), g(W, "is-open", this.state.isOpen), W)), K = (0, r.default)((G = {}, g(G, "".concat(L1, "-control"), !0), g(G, d1, !!d1), g(G, j1, !!j1), G)), H1 = (0, r.default)((J = {}, g(J, "".concat(L1, "-placeholder"), !0), g(J, I, !!I), g(J, "is-selected", this.isValueSelected()), J)), g1 = (0, r.default)((r1 = {}, g(r1, "".concat(L1, "-menu"), !0), g(r1, S, !!S), r1)), M1 = (0, r.default)((D = {}, g(D, "".concat(L1, "-arrow"), !0), g(D, n1, !!n1), D)), I1 = e.default.createElement("div", {
30017
+ var W, G, J, r1, D, Z = this.props, L1 = Z.baseClassName, d1 = Z.controlClassName, I = Z.placeholderClassName, S = Z.menuClassName, n1 = Z.arrowClassName, C1 = Z.arrowClosed, f1 = Z.arrowOpen, S1 = Z.className, j1 = this.props.disabled ? "Dropdown-disabled" : "", k1 = typeof this.state.selected == "string" ? this.state.selected : this.state.selected.label, y = (0, r.default)((W = {}, g(W, "".concat(L1, "-root"), !0), g(W, S1, !!S1), g(W, "is-open", this.state.isOpen), W)), K = (0, r.default)((G = {}, g(G, "".concat(L1, "-control"), !0), g(G, d1, !!d1), g(G, j1, !!j1), G)), H1 = (0, r.default)((J = {}, g(J, "".concat(L1, "-placeholder"), !0), g(J, I, !!I), g(J, "is-selected", this.isValueSelected()), J)), g1 = (0, r.default)((r1 = {}, g(r1, "".concat(L1, "-menu"), !0), g(r1, S, !!S), r1)), M1 = (0, r.default)((D = {}, g(D, "".concat(L1, "-arrow"), !0), g(D, n1, !!n1), D)), I1 = e.default.createElement("div", {
30006
30018
  className: H1
30007
30019
  }, k1), R1 = this.state.isOpen ? e.default.createElement("div", {
30008
30020
  className: g1,
@@ -30018,7 +30030,7 @@ var _q1 = er.exports;
30018
30030
  "aria-haspopup": "listbox"
30019
30031
  }, I1, e.default.createElement("div", {
30020
30032
  className: "".concat(L1, "-arrow-wrapper")
30021
- }, f1 && B1 ? this.state.isOpen ? f1 : B1 : e.default.createElement("span", {
30033
+ }, f1 && C1 ? this.state.isOpen ? f1 : C1 : e.default.createElement("span", {
30022
30034
  className: M1
30023
30035
  }))), R1);
30024
30036
  }
@@ -32081,7 +32093,7 @@ Q6.write = function(t, e, r, n, h, i) {
32081
32093
  case "ucs-2":
32082
32094
  case "utf16le":
32083
32095
  case "utf-16le":
32084
- return B1(this, z, p);
32096
+ return C1(this, z, p);
32085
32097
  default:
32086
32098
  if (O)
32087
32099
  throw new TypeError("Unknown encoding: " + x);
@@ -32343,7 +32355,7 @@ Q6.write = function(t, e, r, n, h, i) {
32343
32355
  T += S2[x[q]];
32344
32356
  return T;
32345
32357
  }
32346
- function B1(x, z, p) {
32358
+ function C1(x, z, p) {
32347
32359
  const O = x.slice(z, p);
32348
32360
  let T = "";
32349
32361
  for (let q = 0; q < O.length - 1; q += 2)
@@ -33510,7 +33522,7 @@ body {
33510
33522
  )
33511
33523
  ] }), SG1 = d2.div`
33512
33524
  position: relative;
33513
- background-color: ${(t) => t.$pressed ? C1.view.backColor.lighter : A3(t.$backColor)};
33525
+ background-color: ${(t) => t.$pressed ? B1.view.backColor.lighter : A3(t.$backColor)};
33514
33526
  border-radius: 10px;
33515
33527
  padding: 16px;
33516
33528
  padding-top: 8px;
@@ -33520,19 +33532,19 @@ body {
33520
33532
 
33521
33533
  ${F9};
33522
33534
  `, AG1 = d2.div`
33523
- font-size: ${() => C1.text.size.xsmall}px;
33524
- color: ${() => C1.text.color.tint};
33535
+ font-size: ${() => B1.text.size.xsmall}px;
33536
+ color: ${() => B1.text.color.tint};
33525
33537
  padding: 0;
33526
33538
  padding-top: 8px;
33527
33539
  margin-left: 4px;
33528
33540
  margin-bottom: -4px;
33529
33541
  text-transform: uppercase;
33530
33542
  `, bG1 = d2.div`
33531
- font-family: ${() => C1.text.family.heading};
33532
- font-size: ${() => C1.text.size.heading}px;
33533
- line-height: ${() => C1.text.height.heading}px;
33534
- font-weight: ${() => C1.text.weight.heading};
33535
- color: ${() => C1.text.color.normal};
33543
+ font-family: ${() => B1.text.family.heading};
33544
+ font-size: ${() => B1.text.size.heading}px;
33545
+ line-height: ${() => B1.text.height.heading}px;
33546
+ font-weight: ${() => B1.text.weight.heading};
33547
+ color: ${() => B1.text.color.normal};
33536
33548
  margin: 4px;
33537
33549
  margin-bottom: 1px;
33538
33550
  `, _G1 = d2.div`
@@ -33541,8 +33553,8 @@ body {
33541
33553
  padding: 6px 6px 6px 4px;
33542
33554
  padding-top: 4px;
33543
33555
  `, IG1 = d2.div`
33544
- font-size: ${() => C1.text.size.normal}px;
33545
- color: ${() => C1.text.color.xsubtle};
33556
+ font-size: ${() => B1.text.size.normal}px;
33557
+ color: ${() => B1.text.color.xsubtle};
33546
33558
  margin-top: -1px;
33547
33559
  padding-left: ${(t) => t.$hasIcon ? "6px" : "0px"};
33548
33560
  `, PG1 = d2.div`
@@ -33588,7 +33600,7 @@ body {
33588
33600
  {
33589
33601
  name: i,
33590
33602
  size: 18,
33591
- color: C1.text.color.xsubtle
33603
+ color: B1.text.color.xsubtle
33592
33604
  }
33593
33605
  ) }),
33594
33606
  /* @__PURE__ */ z1.jsx(IG1, { $hasIcon: !!i, children: n })
@@ -37519,7 +37531,7 @@ class I4 extends Lt {
37519
37531
  }
37520
37532
  const Z = o2(h.ticks.maxTicksLimit, f), L1 = Math.max(1, Math.ceil(f / Z));
37521
37533
  for (X = 0; X < f; X += L1) {
37522
- const d1 = this.getContext(X), I = i.setContext(d1), S = l.setContext(d1), n1 = I.lineWidth, B1 = I.color, f1 = S.dash || [], S1 = S.dashOffset, j1 = I.tickWidth, k1 = I.tickColor, y = I.tickBorderDash || [], K = I.tickBorderDashOffset;
37534
+ const d1 = this.getContext(X), I = i.setContext(d1), S = l.setContext(d1), n1 = I.lineWidth, C1 = I.color, f1 = S.dash || [], S1 = S.dashOffset, j1 = I.tickWidth, k1 = I.tickColor, y = I.tickBorderDash || [], K = I.tickBorderDashOffset;
37523
37535
  c1 = HX1(this, X, o), c1 !== void 0 && (a1 = V4(n, c1, n1), d ? R = $ = G = r1 = a1 : Q = W = J = D = a1, w.push({
37524
37536
  tx1: R,
37525
37537
  ty1: Q,
@@ -37530,7 +37542,7 @@ class I4 extends Lt {
37530
37542
  x2: r1,
37531
37543
  y2: D,
37532
37544
  width: n1,
37533
- color: B1,
37545
+ color: C1,
37534
37546
  borderDash: f1,
37535
37547
  borderDashOffset: S1,
37536
37548
  tickWidth: j1,
@@ -37578,8 +37590,8 @@ class I4 extends Lt {
37578
37590
  const L1 = i.setContext(this.getContext(F));
37579
37591
  $ = this.getPixelForTick(F) + i.labelOffset, W = this._resolveTickFontOptions(F), G = W.lineHeight, J = R2(c1) ? c1.length : 1;
37580
37592
  const d1 = J / 2, I = L1.color, S = L1.textStrokeColor, n1 = L1.textStrokeWidth;
37581
- let B1 = Q;
37582
- c ? (a1 = $, Q === "inner" && (F === N - 1 ? B1 = this.options.reverse ? "left" : "right" : F === 0 ? B1 = this.options.reverse ? "right" : "left" : B1 = "center"), h === "top" ? d === "near" || C !== 0 ? r1 = -J * G + G / 2 : d === "center" ? r1 = -Z.highest.height / 2 - d1 * G + G : r1 = -Z.highest.height + G / 2 : d === "near" || C !== 0 ? r1 = G / 2 : d === "center" ? r1 = Z.highest.height / 2 - d1 * G : r1 = Z.highest.height - J * G, f && (r1 *= -1), C !== 0 && !L1.showLabelBackdrop && (a1 += G / 2 * Math.sin(C))) : (R = $, r1 = (1 - J) * G / 2);
37593
+ let C1 = Q;
37594
+ c ? (a1 = $, Q === "inner" && (F === N - 1 ? C1 = this.options.reverse ? "left" : "right" : F === 0 ? C1 = this.options.reverse ? "right" : "left" : C1 = "center"), h === "top" ? d === "near" || C !== 0 ? r1 = -J * G + G / 2 : d === "center" ? r1 = -Z.highest.height / 2 - d1 * G + G : r1 = -Z.highest.height + G / 2 : d === "near" || C !== 0 ? r1 = G / 2 : d === "center" ? r1 = Z.highest.height / 2 - d1 * G : r1 = Z.highest.height - J * G, f && (r1 *= -1), C !== 0 && !L1.showLabelBackdrop && (a1 += G / 2 * Math.sin(C))) : (R = $, r1 = (1 - J) * G / 2);
37583
37595
  let f1;
37584
37596
  if (L1.showLabelBackdrop) {
37585
37597
  const S1 = H0(L1.backdropPadding), j1 = Z.heights[F], k1 = Z.widths[F];
@@ -37620,7 +37632,7 @@ class I4 extends Lt {
37620
37632
  color: I,
37621
37633
  strokeColor: S,
37622
37634
  strokeWidth: n1,
37623
- textAlign: B1,
37635
+ textAlign: C1,
37624
37636
  textBaseline: D,
37625
37637
  translation: [
37626
37638
  a1,
@@ -41517,7 +41529,7 @@ const HZ1 = ({
41517
41529
  subtitle: n,
41518
41530
  subtitleSize: h = "small",
41519
41531
  backColor: i,
41520
- borderRadius: c = C1.card.borderRadius,
41532
+ borderRadius: c = B1.card.borderRadius,
41521
41533
  width: l,
41522
41534
  height: o,
41523
41535
  padding: d = 15,
@@ -41629,7 +41641,7 @@ const HZ1 = ({
41629
41641
  }, l = r ? "none" : "light", o = /* @__PURE__ */ z1.jsxs(u0, { valign: "center", paddingRight: 10, children: [
41630
41642
  /* @__PURE__ */ z1.jsx(h4, { size: "xlarge", weight: "bold", paddingRight: 2, children: t }),
41631
41643
  !i && /* @__PURE__ */ z1.jsx(
41632
- _U1,
41644
+ IU1,
41633
41645
  {
41634
41646
  onClick: c,
41635
41647
  iconName: "IoCloseSharp",
@@ -44207,9 +44219,9 @@ function Gt2(t = /* @__PURE__ */ new Date()) {
44207
44219
  }
44208
44220
  export {
44209
44221
  R6 as Button,
44210
- kt2 as ButtonLoadingIcon,
44211
- Ot2 as Card,
44212
- Bt2 as CardButton,
44222
+ Ot2 as ButtonLoadingIcon,
44223
+ Bt2 as Card,
44224
+ Ct2 as CardButton,
44213
44225
  Mq1 as Carousel,
44214
44226
  St2 as Cell,
44215
44227
  At2 as ColorPicker,
@@ -44219,12 +44231,12 @@ export {
44219
44231
  Eq1 as Header,
44220
44232
  PU1 as HeadingText,
44221
44233
  G4 as Icon,
44222
- _U1 as IconButton,
44234
+ IU1 as IconButton,
44223
44235
  It2 as Image,
44224
44236
  Cr as LoadingDots,
44225
- Ct2 as MenuBar,
44237
+ yt2 as MenuBar,
44226
44238
  WU1 as MenuBarItem,
44227
- yt2 as PillButton,
44239
+ kt2 as PillButton,
44228
44240
  Pt2 as ProgressBar,
44229
44241
  Wt2 as Screen,
44230
44242
  Dt2 as ScreenLoadingOverlay,
@@ -44239,7 +44251,7 @@ export {
44239
44251
  Yt2 as formatDateTime,
44240
44252
  Gt2 as formatFromNow,
44241
44253
  uG1 as getImageAsBase64,
44242
- C1 as theme,
44254
+ B1 as theme,
44243
44255
  qt2 as useDateTime,
44244
44256
  Ut2 as useInterval
44245
44257
  };