xmlui 0.8.3 → 0.8.4

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.
@@ -56,7 +56,7 @@ function k({
56
56
  apis: l,
57
57
  nonVisual: s,
58
58
  opaque: v,
59
- themeVars: x,
59
+ themeVars: h,
60
60
  themeVarDescriptions: c,
61
61
  defaultThemeVars: T,
62
62
  toneSpecificThemeVars: b,
@@ -75,7 +75,7 @@ function k({
75
75
  apis: l,
76
76
  nonVisual: s,
77
77
  opaque: v,
78
- themeVars: x,
78
+ themeVars: h,
79
79
  defaultThemeVars: T,
80
80
  themeVarDescriptions: c,
81
81
  toneSpecificThemeVars: b,
@@ -831,9 +831,9 @@ function Rs(e) {
831
831
  if (!o)
832
832
  return null;
833
833
  const { attributes: l, name: s } = o, v = {};
834
- return Object.entries(l).forEach(([x, c]) => {
835
- let T = x;
836
- /^(data-|aria-)/.test(x) ? T = x : T = x.replace(Ns, "").toLowerCase(), v[As[T] || x] = c;
834
+ return Object.entries(l).forEach(([h, c]) => {
835
+ let T = h;
836
+ /^(data-|aria-)/.test(h) ? T = h : T = h.replace(Ns, "").toLowerCase(), v[As[T] || h] = c;
837
837
  }), /* @__PURE__ */ m("svg", { ...v, style: n, className: i, children: /* @__PURE__ */ m("use", { href: `#${s}` }) });
838
838
  },
839
839
  [o]
@@ -894,24 +894,24 @@ function rl(e) {
894
894
  }
895
895
  const ke = ve(function({ name: t, fallback: r, style: o, className: a, size: n, ...i }, l) {
896
896
  var f;
897
- const s = Ps(t, r), v = typeof n == "string" ? Es(n) : n, x = v || i.width, c = v || i.height, T = {
897
+ const s = Ps(t, r), v = typeof n == "string" ? Es(n) : n, h = v || i.width, c = v || i.height, T = {
898
898
  // className is needed to apply a default color to the icon, thus other component classes can override this one
899
899
  className: le(Jn.base, a),
900
900
  ...i,
901
901
  size: v,
902
- width: x,
902
+ width: h,
903
903
  height: c,
904
904
  style: {
905
905
  ...o,
906
- "--icon-width": x,
906
+ "--icon-width": h,
907
907
  "--icon-height": c
908
908
  }
909
909
  }, b = Vs(t);
910
910
  return b ? /* @__PURE__ */ m(zs, { ...T, url: b, name: t }) : ((f = s == null ? void 0 : s.renderer) == null ? void 0 : f.call(s, T)) || null;
911
911
  });
912
912
  function zs(e) {
913
- var x;
914
- const { url: t, width: r, height: o, name: a, style: n, className: i } = e, l = Is(t), s = (x = l == null ? void 0 : l.toLowerCase()) == null ? void 0 : x.endsWith(".svg"), v = Rs(l);
913
+ var h;
914
+ const { url: t, width: r, height: o, name: a, style: n, className: i } = e, l = Is(t), s = (h = l == null ? void 0 : l.toLowerCase()) == null ? void 0 : h.endsWith(".svg"), v = Rs(l);
915
915
  if (l && s) {
916
916
  const c = v == null ? void 0 : v({ style: n, className: i });
917
917
  return c || /* @__PURE__ */ m("span", { style: n, className: i });
@@ -990,7 +990,7 @@ const lt = {
990
990
  variant: l = lt.variant,
991
991
  themeColor: s = lt.themeColor,
992
992
  size: v = lt.size,
993
- disabled: x,
993
+ disabled: h,
994
994
  children: c,
995
995
  formId: T,
996
996
  onClick: b,
@@ -999,21 +999,21 @@ const lt = {
999
999
  style: w,
1000
1000
  gap: _,
1001
1001
  className: H,
1002
- autoFocus: I,
1003
- ...O
1004
- }, F) {
1005
- const j = he(null), V = F ? sr(F, j) : j;
1002
+ autoFocus: $,
1003
+ ...W
1004
+ }, U) {
1005
+ const Z = he(null), V = U ? sr(U, Z) : Z;
1006
1006
  ee(() => {
1007
- I && setTimeout(() => {
1007
+ $ && setTimeout(() => {
1008
1008
  var N;
1009
- (N = j.current) == null || N.focus();
1009
+ (N = Z.current) == null || N.focus();
1010
1010
  }, 0);
1011
- }, [I]);
1011
+ }, [$]);
1012
1012
  const R = a === "start";
1013
1013
  return /* @__PURE__ */ J(
1014
1014
  "button",
1015
1015
  {
1016
- ...O,
1016
+ ...W,
1017
1017
  id: t,
1018
1018
  type: r,
1019
1019
  ref: V,
@@ -1036,8 +1036,8 @@ const lt = {
1036
1036
  [Ue.alignStart]: n === "start",
1037
1037
  [Ue.alignEnd]: n === "end"
1038
1038
  }),
1039
- autoFocus: I,
1040
- disabled: x,
1039
+ autoFocus: $,
1040
+ disabled: h,
1041
1041
  form: T,
1042
1042
  style: w,
1043
1043
  onClick: b,
@@ -1050,7 +1050,7 @@ const lt = {
1050
1050
  ]
1051
1051
  }
1052
1052
  );
1053
- }), U = "Button", Ds = k({
1053
+ }), F = "Button", Ds = k({
1054
1054
  description: "Button is an interactive element that triggers an action when clicked.",
1055
1055
  status: "stable",
1056
1056
  props: {
@@ -1082,11 +1082,11 @@ const lt = {
1082
1082
  defaultValue: lt.size
1083
1083
  },
1084
1084
  label: {
1085
- description: `This property is an optional string to set a label for the ${U}. If no label is specified and an icon is set, the ${U} will modify its styling to look like a small icon button. When the ${U} has nested children, it will display them and ignore the value of the \`label\` prop.`,
1085
+ description: `This property is an optional string to set a label for the ${F}. If no label is specified and an icon is set, the ${F} will modify its styling to look like a small icon button. When the ${F} has nested children, it will display them and ignore the value of the \`label\` prop.`,
1086
1086
  type: "string"
1087
1087
  },
1088
1088
  type: {
1089
- description: `This optional string describes how the ${U} appears in an HTML context. You rarely need to set this property explicitly.`,
1089
+ description: `This optional string describes how the ${F} appears in an HTML context. You rarely need to set this property explicitly.`,
1090
1090
  availableValues: is,
1091
1091
  valueType: "string",
1092
1092
  defaultValue: lt.type
@@ -1098,113 +1098,113 @@ const lt = {
1098
1098
  },
1099
1099
  orientation: jn(lt.orientation),
1100
1100
  icon: {
1101
- description: `This string value denotes an icon name. The framework will render an icon if XMLUI recognizes the icon by its name. If no label is specified and an icon is set, the ${U} displays only that icon.`,
1101
+ description: `This string value denotes an icon name. The framework will render an icon if XMLUI recognizes the icon by its name. If no label is specified and an icon is set, the ${F} displays only that icon.`,
1102
1102
  type: "string"
1103
1103
  },
1104
1104
  iconPosition: {
1105
- description: `This optional string determines the location of the icon in the ${U}.`,
1105
+ description: `This optional string determines the location of the icon in the ${F}.`,
1106
1106
  availableValues: Ja,
1107
1107
  type: "string",
1108
1108
  defaultValue: lt.iconPosition
1109
1109
  },
1110
1110
  contentPosition: {
1111
- description: `This optional value determines how the label and icon (or nested children) should be placedinside the ${U} component.`,
1111
+ description: `This optional value determines how the label and icon (or nested children) should be placedinside the ${F} component.`,
1112
1112
  availableValues: Fn,
1113
1113
  type: "string",
1114
1114
  defaultValue: lt.contentPosition
1115
1115
  }
1116
1116
  },
1117
1117
  events: {
1118
- click: ho(U),
1119
- gotFocus: Ct(U),
1120
- lostFocus: kt(U)
1118
+ click: ho(F),
1119
+ gotFocus: Ct(F),
1120
+ lostFocus: kt(F)
1121
1121
  },
1122
1122
  themeVars: Q(Ue.themeVars),
1123
1123
  defaultThemeVars: {
1124
- [`width-${U}`]: "fit-content",
1125
- [`height-${U}`]: "fit-content",
1126
- [`borderRadius-${U}`]: "$borderRadius",
1127
- [`fontSize-${U}`]: "$fontSize-small",
1128
- [`fontWeight-${U}`]: "$fontWeight-medium",
1129
- [`backgroundColor-${U}-primary`]: "$color-primary-500",
1130
- [`backgroundColor-${U}-attention`]: "$backgroundColor-attention",
1131
- [`borderColor-${U}-attention`]: "$color-attention",
1132
- [`backgroundColor-${U}--disabled`]: "$backgroundColor--disabled",
1133
- [`borderColor-${U}--disabled`]: "$borderColor--disabled",
1134
- [`borderStyle-${U}`]: "solid",
1135
- [`textColor-${U}--disabled`]: "$textColor--disabled",
1136
- [`outlineColor-${U}--focus`]: "$outlineColor--focus",
1137
- [`borderWidth-${U}`]: "1px",
1138
- [`outlineWidth-${U}--focus`]: "$outlineWidth--focus",
1139
- [`outlineStyle-${U}--focus`]: "$outlineStyle--focus",
1140
- [`outlineOffset-${U}--focus`]: "$outlineOffset--focus",
1141
- [`paddingHorizontal-${U}-xs`]: "$space-1",
1142
- [`paddingVertical-${U}-xs`]: "$space-0_5",
1143
- [`paddingHorizontal-${U}-sm`]: "$space-4",
1144
- [`paddingVertical-${U}-sm`]: "$space-2",
1145
- [`paddingHorizontal-${U}-md`]: "$space-4",
1146
- [`paddingVertical-${U}-md`]: "$space-3",
1147
- [`paddingHorizontal-${U}-lg`]: "$space-5",
1148
- [`paddingVertical-${U}-lg`]: "$space-4",
1124
+ [`width-${F}`]: "fit-content",
1125
+ [`height-${F}`]: "fit-content",
1126
+ [`borderRadius-${F}`]: "$borderRadius",
1127
+ [`fontSize-${F}`]: "$fontSize-small",
1128
+ [`fontWeight-${F}`]: "$fontWeight-medium",
1129
+ [`backgroundColor-${F}-primary`]: "$color-primary-500",
1130
+ [`backgroundColor-${F}-attention`]: "$backgroundColor-attention",
1131
+ [`borderColor-${F}-attention`]: "$color-attention",
1132
+ [`backgroundColor-${F}--disabled`]: "$backgroundColor--disabled",
1133
+ [`borderColor-${F}--disabled`]: "$borderColor--disabled",
1134
+ [`borderStyle-${F}`]: "solid",
1135
+ [`textColor-${F}--disabled`]: "$textColor--disabled",
1136
+ [`outlineColor-${F}--focus`]: "$outlineColor--focus",
1137
+ [`borderWidth-${F}`]: "1px",
1138
+ [`outlineWidth-${F}--focus`]: "$outlineWidth--focus",
1139
+ [`outlineStyle-${F}--focus`]: "$outlineStyle--focus",
1140
+ [`outlineOffset-${F}--focus`]: "$outlineOffset--focus",
1141
+ [`paddingHorizontal-${F}-xs`]: "$space-1",
1142
+ [`paddingVertical-${F}-xs`]: "$space-0_5",
1143
+ [`paddingHorizontal-${F}-sm`]: "$space-4",
1144
+ [`paddingVertical-${F}-sm`]: "$space-2",
1145
+ [`paddingHorizontal-${F}-md`]: "$space-4",
1146
+ [`paddingVertical-${F}-md`]: "$space-3",
1147
+ [`paddingHorizontal-${F}-lg`]: "$space-5",
1148
+ [`paddingVertical-${F}-lg`]: "$space-4",
1149
1149
  light: {
1150
- [`textColor-${U}`]: "$color-surface-950",
1151
- [`textColor-${U}-solid`]: "$color-surface-50",
1152
- [`borderColor-${U}-primary`]: "$color-primary-500",
1153
- [`backgroundColor-${U}-primary--hover`]: "$color-primary-400",
1154
- [`backgroundColor-${U}-primary--active`]: "$color-primary-500",
1155
- [`backgroundColor-${U}-primary-outlined--hover`]: "$color-primary-50",
1156
- [`backgroundColor-${U}-primary-outlined--active`]: "$color-primary-100",
1157
- [`borderColor-${U}-primary-outlined`]: "$color-primary-600",
1158
- [`borderColor-${U}-primary-outlined--hover`]: "$color-primary-500",
1159
- [`textColor-${U}-primary-outlined`]: "$color-primary-900",
1160
- [`textColor-${U}-primary-outlined--hover`]: "$color-primary-950",
1161
- [`textColor-${U}-primary-outlined--active`]: "$color-primary-900",
1162
- [`backgroundColor-${U}-primary-ghost--hover`]: "$color-primary-50",
1163
- [`backgroundColor-${U}-primary-ghost--active`]: "$color-primary-100",
1164
- [`borderColor-${U}-secondary`]: "$color-secondary-100",
1165
- [`backgroundColor-${U}-secondary`]: "$color-secondary-500",
1166
- [`backgroundColor-${U}-secondary--hover`]: "$color-secondary-400",
1167
- [`backgroundColor-${U}-secondary--active`]: "$color-secondary-500",
1168
- [`backgroundColor-${U}-secondary-outlined--hover`]: "$color-secondary-50",
1169
- [`backgroundColor-${U}-secondary-outlined--active`]: "$color-secondary-100",
1170
- [`backgroundColor-${U}-secondary-ghost--hover`]: "$color-secondary-100",
1171
- [`backgroundColor-${U}-secondary-ghost--active`]: "$color-secondary-100",
1172
- [`backgroundColor-${U}-attention--hover`]: "$color-danger-400",
1173
- [`backgroundColor-${U}-attention--active`]: "$color-danger-500",
1174
- [`backgroundColor-${U}-attention-outlined--hover`]: "$color-danger-50",
1175
- [`backgroundColor-${U}-attention-outlined--active`]: "$color-danger-100",
1176
- [`backgroundColor-${U}-attention-ghost--hover`]: "$color-danger-50",
1177
- [`backgroundColor-${U}-attention-ghost--active`]: "$color-danger-100"
1150
+ [`textColor-${F}`]: "$color-surface-950",
1151
+ [`textColor-${F}-solid`]: "$color-surface-50",
1152
+ [`borderColor-${F}-primary`]: "$color-primary-500",
1153
+ [`backgroundColor-${F}-primary--hover`]: "$color-primary-400",
1154
+ [`backgroundColor-${F}-primary--active`]: "$color-primary-500",
1155
+ [`backgroundColor-${F}-primary-outlined--hover`]: "$color-primary-50",
1156
+ [`backgroundColor-${F}-primary-outlined--active`]: "$color-primary-100",
1157
+ [`borderColor-${F}-primary-outlined`]: "$color-primary-600",
1158
+ [`borderColor-${F}-primary-outlined--hover`]: "$color-primary-500",
1159
+ [`textColor-${F}-primary-outlined`]: "$color-primary-900",
1160
+ [`textColor-${F}-primary-outlined--hover`]: "$color-primary-950",
1161
+ [`textColor-${F}-primary-outlined--active`]: "$color-primary-900",
1162
+ [`backgroundColor-${F}-primary-ghost--hover`]: "$color-primary-50",
1163
+ [`backgroundColor-${F}-primary-ghost--active`]: "$color-primary-100",
1164
+ [`borderColor-${F}-secondary`]: "$color-secondary-100",
1165
+ [`backgroundColor-${F}-secondary`]: "$color-secondary-500",
1166
+ [`backgroundColor-${F}-secondary--hover`]: "$color-secondary-400",
1167
+ [`backgroundColor-${F}-secondary--active`]: "$color-secondary-500",
1168
+ [`backgroundColor-${F}-secondary-outlined--hover`]: "$color-secondary-50",
1169
+ [`backgroundColor-${F}-secondary-outlined--active`]: "$color-secondary-100",
1170
+ [`backgroundColor-${F}-secondary-ghost--hover`]: "$color-secondary-100",
1171
+ [`backgroundColor-${F}-secondary-ghost--active`]: "$color-secondary-100",
1172
+ [`backgroundColor-${F}-attention--hover`]: "$color-danger-400",
1173
+ [`backgroundColor-${F}-attention--active`]: "$color-danger-500",
1174
+ [`backgroundColor-${F}-attention-outlined--hover`]: "$color-danger-50",
1175
+ [`backgroundColor-${F}-attention-outlined--active`]: "$color-danger-100",
1176
+ [`backgroundColor-${F}-attention-ghost--hover`]: "$color-danger-50",
1177
+ [`backgroundColor-${F}-attention-ghost--active`]: "$color-danger-100"
1178
1178
  },
1179
1179
  dark: {
1180
- [`textColor-${U}`]: "$color-surface-50",
1181
- [`textColor-${U}-solid`]: "$color-surface-50",
1182
- [`borderColor-${U}-primary`]: "$color-primary-500",
1183
- [`backgroundColor-${U}-primary--hover`]: "$color-primary-600",
1184
- [`backgroundColor-${U}-primary--active`]: "$color-primary-500",
1185
- [`backgroundColor-${U}-primary-outlined--hover`]: "$color-primary-900",
1186
- [`backgroundColor-${U}-primary-outlined--active`]: "$color-primary-950",
1187
- [`borderColor-${U}-primary-outlined`]: "$color-primary-600",
1188
- [`borderColor-${U}-primary-outlined--hover`]: "$color-primary-500",
1189
- [`textColor-${U}-primary-outlined`]: "$color-primary-100",
1190
- [`textColor-${U}-primary-outlined--hover`]: "$color-primary-50",
1191
- [`textColor-${U}-primary-outlined--active`]: "$color-primary-100",
1192
- [`backgroundColor-${U}-primary-ghost--hover`]: "$color-primary-900",
1193
- [`backgroundColor-${U}-primary-ghost--active`]: "$color-primary-950",
1194
- [`borderColor-${U}-secondary`]: "$color-secondary-500",
1195
- [`backgroundColor-${U}-secondary`]: "$color-secondary-500",
1196
- [`backgroundColor-${U}-secondary--hover`]: "$color-secondary-400",
1197
- [`backgroundColor-${U}-secondary--active`]: "$color-secondary-500",
1198
- [`backgroundColor-${U}-secondary-outlined--hover`]: "$color-secondary-600",
1199
- [`backgroundColor-${U}-secondary-outlined--active`]: "$color-secondary-500",
1200
- [`backgroundColor-${U}-secondary-ghost--hover`]: "$color-secondary-900",
1201
- [`backgroundColor-${U}-secondary-ghost--active`]: "$color-secondary-950",
1202
- [`backgroundColor-${U}-attention--hover`]: "$color-danger-400",
1203
- [`backgroundColor-${U}-attention--active`]: "$color-danger-500",
1204
- [`backgroundColor-${U}-attention-outlined--hover`]: "$color-danger-900",
1205
- [`backgroundColor-${U}-attention-outlined--active`]: "$color-danger-950",
1206
- [`backgroundColor-${U}-attention-ghost--hover`]: "$color-danger-900",
1207
- [`backgroundColor-${U}-attention-ghost--active`]: "$color-danger-950"
1180
+ [`textColor-${F}`]: "$color-surface-50",
1181
+ [`textColor-${F}-solid`]: "$color-surface-50",
1182
+ [`borderColor-${F}-primary`]: "$color-primary-500",
1183
+ [`backgroundColor-${F}-primary--hover`]: "$color-primary-600",
1184
+ [`backgroundColor-${F}-primary--active`]: "$color-primary-500",
1185
+ [`backgroundColor-${F}-primary-outlined--hover`]: "$color-primary-900",
1186
+ [`backgroundColor-${F}-primary-outlined--active`]: "$color-primary-950",
1187
+ [`borderColor-${F}-primary-outlined`]: "$color-primary-600",
1188
+ [`borderColor-${F}-primary-outlined--hover`]: "$color-primary-500",
1189
+ [`textColor-${F}-primary-outlined`]: "$color-primary-100",
1190
+ [`textColor-${F}-primary-outlined--hover`]: "$color-primary-50",
1191
+ [`textColor-${F}-primary-outlined--active`]: "$color-primary-100",
1192
+ [`backgroundColor-${F}-primary-ghost--hover`]: "$color-primary-900",
1193
+ [`backgroundColor-${F}-primary-ghost--active`]: "$color-primary-950",
1194
+ [`borderColor-${F}-secondary`]: "$color-secondary-500",
1195
+ [`backgroundColor-${F}-secondary`]: "$color-secondary-500",
1196
+ [`backgroundColor-${F}-secondary--hover`]: "$color-secondary-400",
1197
+ [`backgroundColor-${F}-secondary--active`]: "$color-secondary-500",
1198
+ [`backgroundColor-${F}-secondary-outlined--hover`]: "$color-secondary-600",
1199
+ [`backgroundColor-${F}-secondary-outlined--active`]: "$color-secondary-500",
1200
+ [`backgroundColor-${F}-secondary-ghost--hover`]: "$color-secondary-900",
1201
+ [`backgroundColor-${F}-secondary-ghost--active`]: "$color-secondary-950",
1202
+ [`backgroundColor-${F}-attention--hover`]: "$color-danger-400",
1203
+ [`backgroundColor-${F}-attention--active`]: "$color-danger-500",
1204
+ [`backgroundColor-${F}-attention-outlined--hover`]: "$color-danger-900",
1205
+ [`backgroundColor-${F}-attention-outlined--active`]: "$color-danger-950",
1206
+ [`backgroundColor-${F}-attention-ghost--hover`]: "$color-danger-900",
1207
+ [`backgroundColor-${F}-attention-ghost--active`]: "$color-danger-950"
1208
1208
  }
1209
1209
  }
1210
1210
  }), Ms = `'{"backgroundColor-Stack--hover": "var(--xmlui-backgroundColor-Stack--hover)", "border-Stack--hover": "var(--xmlui-border-Stack--hover)"}'`, Fs = "_base_1qnyy_13", Us = "_hoverContainer_1qnyy_26", qs = "_handlesClick_1qnyy_39", Gs = "_vertical_1qnyy_43", Ys = "_reverse_1qnyy_47", Xs = "_horizontal_1qnyy_51", Qs = "_justifyItemsStart_1qnyy_59", Zs = "_justifyItemsCenter_1qnyy_63", js = "_justifyItemsStretch_1qnyy_67", Js = "_justifyItemsEnd_1qnyy_71", Ks = "_alignItemsStart_1qnyy_76", eu = "_alignItemsCenter_1qnyy_80", tu = "_alignItemsStretch_1qnyy_84", ru = "_alignItemsEnd_1qnyy_88", Vt = {
@@ -1243,7 +1243,7 @@ const ol = "vertical", _o = ve(function({
1243
1243
  reverse: l,
1244
1244
  hoverContainer: s,
1245
1245
  visibleOnHover: v,
1246
- onClick: x,
1246
+ onClick: h,
1247
1247
  onMount: c,
1248
1248
  ...T
1249
1249
  }, b) {
@@ -1257,7 +1257,7 @@ const ol = "vertical", _o = ve(function({
1257
1257
  "div",
1258
1258
  {
1259
1259
  ...T,
1260
- onClick: x,
1260
+ onClick: h,
1261
1261
  ref: b,
1262
1262
  style: i,
1263
1263
  className: le(
@@ -1268,7 +1268,7 @@ const ol = "vertical", _o = ve(function({
1268
1268
  [Vt.reverse]: l,
1269
1269
  [Vt.hoverContainer]: s,
1270
1270
  "display-on-hover": v,
1271
- [Vt.handlesClick]: !!x
1271
+ [Vt.handlesClick]: !!h
1272
1272
  },
1273
1273
  f ?? "",
1274
1274
  y ?? ""
@@ -1427,7 +1427,7 @@ const lo = ve(function({
1427
1427
  ellipses: l = !0,
1428
1428
  ...s
1429
1429
  }, v) {
1430
- const x = he(null), c = v ? sr(x, v) : x, T = ce(() => !r || !Ci[r] ? "div" : Ci[r], [r]);
1430
+ const h = he(null), c = v ? sr(h, v) : h, T = ce(() => !r || !Ci[r] ? "div" : Ci[r], [r]);
1431
1431
  return /* @__PURE__ */ m(Tt, { children: /* @__PURE__ */ m(
1432
1432
  T,
1433
1433
  {
@@ -1537,7 +1537,7 @@ const Ju = `'{"textColor-FormItemLabel": "var(--xmlui-textColor-FormItemLabel)",
1537
1537
  enabled: l = !0,
1538
1538
  required: s = !1,
1539
1539
  children: v,
1540
- validationInProgress: x = !1,
1540
+ validationInProgress: h = !1,
1541
1541
  shrinkToLabel: c = !1,
1542
1542
  onFocus: T,
1543
1543
  onBlur: b,
@@ -1545,8 +1545,8 @@ const Ju = `'{"textColor-FormItemLabel": "var(--xmlui-textColor-FormItemLabel)",
1545
1545
  validationResult: y,
1546
1546
  isInputTemplateUsed: w = !1
1547
1547
  }, _) {
1548
- const H = po(), I = t || H;
1549
- return a === void 0 ? /* @__PURE__ */ m(Na, { style: o, id: I, onFocus: T, onBlur: b, ref: _, children: v }) : /* @__PURE__ */ J("div", { style: o, ref: _, children: [
1548
+ const H = po(), $ = t || H;
1549
+ return a === void 0 ? /* @__PURE__ */ m(Na, { style: o, id: $, onFocus: T, onBlur: b, ref: _, children: v }) : /* @__PURE__ */ J("div", { style: o, ref: _, children: [
1550
1550
  /* @__PURE__ */ J(
1551
1551
  "div",
1552
1552
  {
@@ -1563,8 +1563,8 @@ const Ju = `'{"textColor-FormItemLabel": "var(--xmlui-textColor-FormItemLabel)",
1563
1563
  a && /* @__PURE__ */ J(
1564
1564
  "label",
1565
1565
  {
1566
- htmlFor: I,
1567
- onClick: () => document.getElementById(I).focus(),
1566
+ htmlFor: $,
1567
+ onClick: () => document.getElementById($).focus(),
1568
1568
  style: {
1569
1569
  ...f,
1570
1570
  width: i && mc.test(i) ? `${i}px` : i,
@@ -1579,7 +1579,7 @@ const Ju = `'{"textColor-FormItemLabel": "var(--xmlui-textColor-FormItemLabel)",
1579
1579
  a,
1580
1580
  " ",
1581
1581
  s && /* @__PURE__ */ m("span", { className: It.requiredMark, children: "*" }),
1582
- x && /* @__PURE__ */ m(
1582
+ h && /* @__PURE__ */ m(
1583
1583
  il,
1584
1584
  {
1585
1585
  style: { height: "1em", width: "1em", marginLeft: "1em", alignSelf: "center" }
@@ -1588,7 +1588,7 @@ const Ju = `'{"textColor-FormItemLabel": "var(--xmlui-textColor-FormItemLabel)",
1588
1588
  ]
1589
1589
  }
1590
1590
  ),
1591
- /* @__PURE__ */ m(Na, { id: w ? void 0 : I, children: v })
1591
+ /* @__PURE__ */ m(Na, { id: w ? void 0 : $, children: v })
1592
1592
  ]
1593
1593
  }
1594
1594
  ),
@@ -1604,7 +1604,7 @@ const Ju = `'{"textColor-FormItemLabel": "var(--xmlui-textColor-FormItemLabel)",
1604
1604
  maxLength: l,
1605
1605
  enabled: s = !0,
1606
1606
  placeholder: v,
1607
- validationStatus: x = "none",
1607
+ validationStatus: h = "none",
1608
1608
  onDidChange: c = de,
1609
1609
  onFocus: T = de,
1610
1610
  onBlur: b = de,
@@ -1613,22 +1613,22 @@ const Ju = `'{"textColor-FormItemLabel": "var(--xmlui-textColor-FormItemLabel)",
1613
1613
  startIcon: w,
1614
1614
  endText: _,
1615
1615
  endIcon: H,
1616
- autoFocus: I,
1617
- readOnly: O,
1618
- tabIndex: F,
1619
- label: j,
1616
+ autoFocus: $,
1617
+ readOnly: W,
1618
+ tabIndex: U,
1619
+ label: Z,
1620
1620
  labelPosition: V,
1621
1621
  labelWidth: R,
1622
1622
  labelBreak: N,
1623
- required: W
1624
- }, h) {
1623
+ required: O
1624
+ }, x) {
1625
1625
  const p = he(null);
1626
1626
  ee(() => {
1627
- I && setTimeout(() => {
1627
+ $ && setTimeout(() => {
1628
1628
  var M;
1629
1629
  (M = p.current) == null || M.focus();
1630
1630
  }, 0);
1631
- }, [I]);
1631
+ }, [$]);
1632
1632
  const [g, C] = Ne.useState(o);
1633
1633
  ee(() => {
1634
1634
  C(o);
@@ -1664,24 +1664,24 @@ const Ju = `'{"textColor-FormItemLabel": "var(--xmlui-textColor-FormItemLabel)",
1664
1664
  yt,
1665
1665
  {
1666
1666
  labelPosition: V,
1667
- label: j,
1667
+ label: Z,
1668
1668
  labelWidth: R,
1669
1669
  labelBreak: N,
1670
- required: W,
1670
+ required: O,
1671
1671
  enabled: s,
1672
1672
  onFocus: T,
1673
1673
  onBlur: b,
1674
1674
  style: i,
1675
- ref: h,
1675
+ ref: x,
1676
1676
  children: /* @__PURE__ */ J(
1677
1677
  "div",
1678
1678
  {
1679
1679
  className: le(zt.inputRoot, {
1680
1680
  [zt.disabled]: !s,
1681
- [zt.readOnly]: O,
1682
- [zt.error]: x === "error",
1683
- [zt.warning]: x === "warning",
1684
- [zt.valid]: x === "valid"
1681
+ [zt.readOnly]: W,
1682
+ [zt.error]: h === "error",
1683
+ [zt.warning]: h === "warning",
1684
+ [zt.valid]: h === "valid"
1685
1685
  }),
1686
1686
  tabIndex: -1,
1687
1687
  onFocus: B,
@@ -1692,7 +1692,7 @@ const Ju = `'{"textColor-FormItemLabel": "var(--xmlui-textColor-FormItemLabel)",
1692
1692
  {
1693
1693
  id: t,
1694
1694
  type: r,
1695
- className: le(zt.input, { [zt.readOnly]: O }),
1695
+ className: le(zt.input, { [zt.readOnly]: W }),
1696
1696
  disabled: !s,
1697
1697
  value: g,
1698
1698
  maxLength: l,
@@ -1701,10 +1701,10 @@ const Ju = `'{"textColor-FormItemLabel": "var(--xmlui-textColor-FormItemLabel)",
1701
1701
  onFocus: z,
1702
1702
  onBlur: A,
1703
1703
  ref: p,
1704
- readOnly: O,
1705
- autoFocus: I,
1706
- tabIndex: s ? F : -1,
1707
- required: W
1704
+ readOnly: W,
1705
+ autoFocus: $,
1706
+ tabIndex: s ? U : -1,
1707
+ required: O
1708
1708
  }
1709
1709
  ),
1710
1710
  /* @__PURE__ */ m(so, { text: _, iconName: H, className: zt.adornment })
@@ -2154,13 +2154,13 @@ const Ht = "Badge", Gc = k({
2154
2154
  disabled: om,
2155
2155
  iconWrapper: am
2156
2156
  }, im = ve(function(t, r) {
2157
- const { to: o, children: a, icon: n, active: i, onClick: l, target: s, disabled: v, style: x, ...c } = nm(t), T = !!n && !a, b = ce(() => Hc(o), [o]);
2157
+ const { to: o, children: a, icon: n, active: i, onClick: l, target: s, disabled: v, style: h, ...c } = nm(t), T = !!n && !a, b = ce(() => Hc(o), [o]);
2158
2158
  return /* @__PURE__ */ J(
2159
2159
  o ? ld : "div",
2160
2160
  {
2161
2161
  ref: r,
2162
2162
  to: b,
2163
- style: x,
2163
+ style: h,
2164
2164
  target: s,
2165
2165
  onClick: l,
2166
2166
  className: le(to.container, {
@@ -2210,40 +2210,40 @@ const lm = `'{"Heading:textColor-H1": "var(--xmlui-textColor-H1)", "Heading:lett
2210
2210
  maxLines: l = 0,
2211
2211
  preserveLinebreaks: s,
2212
2212
  ellipses: v = !0,
2213
- className: x,
2213
+ className: h,
2214
2214
  omitFromToc: c = !1,
2215
2215
  ...T
2216
2216
  }, b) {
2217
- const f = r == null ? void 0 : r.toLowerCase(), y = he(null), [w, _] = me(null), H = he(null), I = Lt(Yc), O = I == null ? void 0 : I.registerHeading, F = I == null ? void 0 : I.hasTableOfContents, j = b ? sr(y, b) : y;
2217
+ const f = r == null ? void 0 : r.toLowerCase(), y = he(null), [w, _] = me(null), H = he(null), $ = Lt(Yc), W = $ == null ? void 0 : $.registerHeading, U = b ? sr(y, b) : y;
2218
2218
  return ee(() => {
2219
- var V, R, N, W;
2220
- if (F && y.current) {
2221
- const h = (W = (N = (R = (V = y.current.textContent) == null ? void 0 : V.trim()) == null ? void 0 : R.replace(/[^\w\s-]/g, "")) == null ? void 0 : N.replace(/\s+/g, "-")) == null ? void 0 : W.toLowerCase();
2222
- _(h || null);
2223
- }
2224
- }, [F]), Lo(() => {
2225
- if (F && y.current && w && !c)
2226
- return O == null ? void 0 : O({
2219
+ var Z, V, R, N;
2220
+ if (y.current) {
2221
+ const O = (N = (R = (V = (Z = y.current.textContent) == null ? void 0 : Z.trim()) == null ? void 0 : V.replace(/[^\w\s-]/g, "")) == null ? void 0 : R.replace(/\s+/g, "-")) == null ? void 0 : N.toLowerCase();
2222
+ _(O || null);
2223
+ }
2224
+ }, []), Lo(() => {
2225
+ if (y.current && w && !c)
2226
+ return console.log("HERE", { anchorId: w, registerHeading: W, level: r, omitFromToc: c }), W == null ? void 0 : W({
2227
2227
  id: w,
2228
2228
  level: parseInt(r.replace("h", "")),
2229
2229
  text: y.current.textContent.trim(),
2230
2230
  anchor: H.current
2231
2231
  });
2232
- }, [w, F, O, r, c]), /* @__PURE__ */ J(
2232
+ }, [w, W, r, c]), /* @__PURE__ */ J(
2233
2233
  f,
2234
2234
  {
2235
- ref: j,
2235
+ ref: U,
2236
2236
  id: t,
2237
2237
  title: i,
2238
2238
  style: { ...a, ...n, ...al(l) },
2239
- className: le($t.heading, $t[f], x || "", {
2239
+ className: le($t.heading, $t[f], h || "", {
2240
2240
  [$t.truncateOverflow]: l > 0,
2241
2241
  [$t.preserveLinebreaks]: s,
2242
2242
  [$t.noEllipsis]: !v
2243
2243
  }),
2244
2244
  ...T,
2245
2245
  children: [
2246
- w && F && /* @__PURE__ */ m("span", { ref: H, id: w, style: { width: 0, height: 0 }, "data-anchor": !0 }),
2246
+ w && /* @__PURE__ */ m("span", { ref: H, id: w, style: { width: 0, height: 0 }, "data-anchor": !0 }),
2247
2247
  o
2248
2248
  ]
2249
2249
  }
@@ -2262,14 +2262,14 @@ ve(function({
2262
2262
  avatarUrl: l,
2263
2263
  showAvatar: s = !!l || Ko.showAvatar,
2264
2264
  onClick: v
2265
- }, x) {
2265
+ }, h) {
2266
2266
  const c = {
2267
2267
  level: "h2"
2268
2268
  };
2269
2269
  return /* @__PURE__ */ J(
2270
2270
  "div",
2271
2271
  {
2272
- ref: x,
2272
+ ref: h,
2273
2273
  className: le(So.wrapper, {
2274
2274
  [So.isClickable]: !!v,
2275
2275
  [So.vertical]: r === "vertical",
@@ -2381,7 +2381,7 @@ const ht = "Card", fm = k({
2381
2381
  validationStatus: l = Et.validationStatus,
2382
2382
  updateState: s = de,
2383
2383
  onDidChange: v = de,
2384
- onFocus: x = de,
2384
+ onFocus: h = de,
2385
2385
  onBlur: c = de,
2386
2386
  variant: T = "checkbox",
2387
2387
  indeterminate: b = Et.indeterminate,
@@ -2390,28 +2390,28 @@ const ht = "Card", fm = k({
2390
2390
  labelPosition: w = "end",
2391
2391
  labelWidth: _,
2392
2392
  labelBreak: H,
2393
- required: I,
2394
- registerComponentApi: O,
2395
- inputRenderer: F
2396
- }, j) {
2393
+ required: $,
2394
+ registerComponentApi: W,
2395
+ inputRenderer: U
2396
+ }, Z) {
2397
2397
  const V = po(), R = t || V, N = Ne.useRef(null);
2398
2398
  ee(() => {
2399
2399
  s({ value: r }, { initial: !0 });
2400
2400
  }, [r, s]);
2401
- const W = X(
2401
+ const O = X(
2402
2402
  (z) => {
2403
2403
  var A;
2404
2404
  ((A = N.current) == null ? void 0 : A.checked) !== z && (s({ value: z }), v(z));
2405
2405
  },
2406
2406
  [v, s]
2407
- ), h = X(
2407
+ ), x = X(
2408
2408
  (z) => {
2409
2409
  i || (s({ value: z.target.checked }), v(z.target.checked));
2410
2410
  },
2411
2411
  [v, i, s]
2412
2412
  ), p = X(() => {
2413
- x == null || x();
2414
- }, [x]), g = X(() => {
2413
+ h == null || h();
2414
+ }, [h]), g = X(() => {
2415
2415
  c == null || c();
2416
2416
  }, [c]);
2417
2417
  ee(() => {
@@ -2421,14 +2421,14 @@ const ht = "Card", fm = k({
2421
2421
  var z;
2422
2422
  (z = N.current) == null || z.focus();
2423
2423
  }, []), L = Le((z) => {
2424
- W(z);
2424
+ O(z);
2425
2425
  });
2426
2426
  ee(() => {
2427
- O == null || O({
2427
+ W == null || W({
2428
2428
  focus: C,
2429
2429
  setValue: L
2430
2430
  });
2431
- }, [C, O, L]);
2431
+ }, [C, W, L]);
2432
2432
  const q = ce(
2433
2433
  () => /* @__PURE__ */ m(
2434
2434
  "input",
@@ -2439,11 +2439,11 @@ const ht = "Card", fm = k({
2439
2439
  role: T,
2440
2440
  checked: o,
2441
2441
  disabled: !a,
2442
- required: I,
2442
+ required: $,
2443
2443
  readOnly: i,
2444
2444
  "aria-readonly": i,
2445
2445
  "aria-checked": o,
2446
- onChange: h,
2446
+ onChange: x,
2447
2447
  onFocus: p,
2448
2448
  onBlur: g,
2449
2449
  className: le(qt.resetAppearance, f, {
@@ -2461,9 +2461,9 @@ const ht = "Card", fm = k({
2461
2461
  a,
2462
2462
  g,
2463
2463
  p,
2464
- h,
2464
+ x,
2465
2465
  i,
2466
- I,
2466
+ $,
2467
2467
  l,
2468
2468
  o,
2469
2469
  T
@@ -2472,21 +2472,21 @@ const ht = "Card", fm = k({
2472
2472
  return /* @__PURE__ */ m(
2473
2473
  yt,
2474
2474
  {
2475
- ref: j,
2475
+ ref: Z,
2476
2476
  id: R,
2477
2477
  label: y,
2478
2478
  style: n,
2479
2479
  labelPosition: w,
2480
2480
  labelWidth: _,
2481
2481
  labelBreak: H,
2482
- required: I,
2482
+ required: $,
2483
2483
  enabled: a,
2484
- isInputTemplateUsed: !!F,
2484
+ isInputTemplateUsed: !!U,
2485
2485
  shrinkToLabel: !0,
2486
2486
  labelStyle: { pointerEvents: i ? "none" : void 0 },
2487
- children: F ? /* @__PURE__ */ J("label", { className: qt.label, children: [
2487
+ children: U ? /* @__PURE__ */ J("label", { className: qt.label, children: [
2488
2488
  /* @__PURE__ */ m("div", { className: qt.inputContainer, children: q }),
2489
- F({
2489
+ U({
2490
2490
  $checked: o
2491
2491
  })
2492
2492
  ] }) : q
@@ -2652,7 +2652,7 @@ const ea = [
2652
2652
  updateState: l = de,
2653
2653
  validationStatus: s = et.validationStatus,
2654
2654
  onDidChange: v = de,
2655
- onFocus: x = de,
2655
+ onFocus: h = de,
2656
2656
  onBlur: c = de,
2657
2657
  dateFormat: T = et.dateFormat,
2658
2658
  showWeekNumber: b = et.showWeekNumber,
@@ -2661,14 +2661,14 @@ const ea = [
2661
2661
  toDate: w,
2662
2662
  disabledDates: _ = et.disabledDates,
2663
2663
  style: H,
2664
- registerComponentApi: I,
2665
- inline: O = et.inline,
2666
- startText: F,
2667
- startIcon: j,
2664
+ registerComponentApi: $,
2665
+ inline: W = et.inline,
2666
+ startText: U,
2667
+ startIcon: Z,
2668
2668
  endText: V,
2669
2669
  endIcon: R
2670
2670
  }, N) {
2671
- const W = f >= 0 && f <= 6 ? f : 0, [h, p] = me(!1), [g, C] = me(!1), L = he(null), q = N ? sr(L, N) : L, z = ce(() => {
2671
+ const O = f >= 0 && f <= 6 ? f : 0, [x, p] = me(!1), [g, C] = me(!1), L = he(null), q = N ? sr(L, N) : L, z = ce(() => {
2672
2672
  if (a === "single" && typeof o == "string")
2673
2673
  return ca(o) || Eo(o);
2674
2674
  if (a === "range" && typeof o == "object")
@@ -2683,7 +2683,7 @@ const ea = [
2683
2683
  `Invalid dateFormat: ${T}. Supported formats are: ${ea.join(", ")}`
2684
2684
  );
2685
2685
  }, [T]);
2686
- const A = ce(() => y ? Yo(y, T, /* @__PURE__ */ new Date()) : void 0, [y, T]), B = ce(() => w ? Yo(w, T, /* @__PURE__ */ new Date()) : void 0, [w, T]), P = ce(() => _ == null ? void 0 : _.map((oe) => Yo(oe, T, /* @__PURE__ */ new Date())), [_, T]), [M, E] = me(!1), { root: G } = tr(), Z = () => {
2686
+ const A = ce(() => y ? Yo(y, T, /* @__PURE__ */ new Date()) : void 0, [y, T]), B = ce(() => w ? Yo(w, T, /* @__PURE__ */ new Date()) : void 0, [w, T]), P = ce(() => _ == null ? void 0 : _.map((oe) => Yo(oe, T, /* @__PURE__ */ new Date())), [_, T]), [M, E] = me(!1), { root: G } = tr(), j = () => {
2687
2687
  p(!0);
2688
2688
  }, K = () => {
2689
2689
  p(!1);
@@ -2699,13 +2699,13 @@ const ea = [
2699
2699
  ie(Y);
2700
2700
  });
2701
2701
  ee(() => {
2702
- I == null || I({
2702
+ $ == null || $({
2703
2703
  focus: Me,
2704
2704
  setValue: Re
2705
2705
  });
2706
- }, [Me, I, Re]), ee(() => {
2707
- !h && !g && (c == null || c()), (h || g) && (x == null || x());
2708
- }, [h, g, x, c]), ee(() => {
2706
+ }, [Me, $, Re]), ee(() => {
2707
+ !x && !g && (c == null || c()), (x || g) && (h == null || h());
2708
+ }, [x, g, h, c]), ee(() => {
2709
2709
  l({ value: r }, { initial: !0 });
2710
2710
  }, [r, l]);
2711
2711
  const ie = X(
@@ -2726,21 +2726,21 @@ const ea = [
2726
2726
  },
2727
2727
  [v, l, a, T]
2728
2728
  );
2729
- return O ? /* @__PURE__ */ m("div", { children: /* @__PURE__ */ m("div", { className: it.inlinePickerMenu, children: /* @__PURE__ */ m(
2729
+ return W ? /* @__PURE__ */ m("div", { children: /* @__PURE__ */ m("div", { className: it.inlinePickerMenu, children: /* @__PURE__ */ m(
2730
2730
  gi,
2731
2731
  {
2732
2732
  fixedWeeks: !0,
2733
2733
  fromDate: A,
2734
2734
  toDate: B,
2735
2735
  disabled: P,
2736
- weekStartsOn: W,
2736
+ weekStartsOn: O,
2737
2737
  showWeekNumber: b,
2738
2738
  showOutsideDays: !0,
2739
2739
  classNames: it,
2740
2740
  mode: a === "single" ? "single" : "range",
2741
2741
  selected: z,
2742
2742
  onSelect: ie,
2743
- initialFocus: !O,
2743
+ initialFocus: !W,
2744
2744
  numberOfMonths: a === "range" ? 2 : 1
2745
2745
  }
2746
2746
  ) }) }) : /* @__PURE__ */ J(lr.Root, { open: M, onOpenChange: E, modal: !1, children: [
@@ -2757,10 +2757,10 @@ const ea = [
2757
2757
  [it.warning]: s === "warning",
2758
2758
  [it.valid]: s === "valid"
2759
2759
  }),
2760
- onFocus: Z,
2760
+ onFocus: j,
2761
2761
  onBlur: K,
2762
2762
  children: [
2763
- /* @__PURE__ */ m(so, { text: F, iconName: j, className: it.adornment }),
2763
+ /* @__PURE__ */ m(so, { text: U, iconName: Z, className: it.adornment }),
2764
2764
  /* @__PURE__ */ m("div", { className: it.datePickerValue, children: a === "single" && z ? /* @__PURE__ */ m(Tt, { children: Hr(z, T) }) : a === "range" && typeof z == "object" && z.from ? z.to ? /* @__PURE__ */ J(Tt, { children: [
2765
2765
  Hr(z.from, T),
2766
2766
  " - ",
@@ -2785,7 +2785,7 @@ const ea = [
2785
2785
  fromDate: A,
2786
2786
  toDate: B,
2787
2787
  disabled: P,
2788
- weekStartsOn: W,
2788
+ weekStartsOn: O,
2789
2789
  showWeekNumber: b,
2790
2790
  showOutsideDays: !0,
2791
2791
  classNames: it,
@@ -2947,7 +2947,7 @@ ve(function({
2947
2947
  alignment: l = Qt.alignment,
2948
2948
  disabled: s = !1,
2949
2949
  triggerButtonVariant: v = Qt.triggerButtonVariant,
2950
- triggerButtonThemeColor: x = Qt.triggerButtonThemeColor,
2950
+ triggerButtonThemeColor: h = Qt.triggerButtonThemeColor,
2951
2951
  triggerButtonIcon: c = Qt.triggerButtonIcon,
2952
2952
  triggerButtonIconPosition: T = Qt.triggerButtonIconPosition
2953
2953
  }, b) {
@@ -2971,7 +2971,7 @@ ve(function({
2971
2971
  iconPosition: T,
2972
2972
  type: "button",
2973
2973
  variant: v,
2974
- themeColor: x,
2974
+ themeColor: h,
2975
2975
  disabled: s,
2976
2976
  children: o
2977
2977
  }
@@ -3010,8 +3010,8 @@ ve(function({
3010
3010
  className: le(Wr.DropdownMenuItem, {
3011
3011
  [Wr.active]: l
3012
3012
  }),
3013
- onClick: (x) => {
3014
- x.stopPropagation(), r(x);
3013
+ onClick: (h) => {
3014
+ h.stopPropagation(), r(h);
3015
3015
  },
3016
3016
  ref: s,
3017
3017
  children: [
@@ -3162,7 +3162,7 @@ const Yt = "DropdownMenu", zp = k({
3162
3162
  buttonIconPosition: l,
3163
3163
  variant: s,
3164
3164
  buttonThemeColor: v,
3165
- buttonSize: x,
3165
+ buttonSize: h,
3166
3166
  autoFocus: c,
3167
3167
  validationStatus: T,
3168
3168
  updateState: b = de,
@@ -3171,21 +3171,21 @@ const Yt = "DropdownMenu", zp = k({
3171
3171
  onBlur: w = de,
3172
3172
  registerComponentApi: _,
3173
3173
  value: H,
3174
- initialValue: I,
3175
- acceptsFileType: O,
3176
- multiple: F = !1,
3177
- directory: j = !1,
3174
+ initialValue: $,
3175
+ acceptsFileType: W,
3176
+ multiple: U = !1,
3177
+ directory: Z = !1,
3178
3178
  label: V,
3179
3179
  labelPosition: R,
3180
3180
  labelWidth: N,
3181
- labelBreak: W,
3182
- required: h
3181
+ labelBreak: O,
3182
+ required: x
3183
3183
  }) => {
3184
- const p = $i(I) ? I : void 0, g = $i(H) ? H : void 0, C = he(null), L = typeof O == "string" ? O : O == null ? void 0 : O.join(",");
3184
+ const p = $i($) ? $ : void 0, g = $i(H) ? H : void 0, C = he(null), L = typeof W == "string" ? W : W == null ? void 0 : W.join(",");
3185
3185
  ee(() => {
3186
3186
  c && setTimeout(() => {
3187
- var Z;
3188
- (Z = C.current) == null || Z.focus();
3187
+ var j;
3188
+ (j = C.current) == null || j.focus();
3189
3189
  }, 0);
3190
3190
  }, [c]), ee(() => {
3191
3191
  b({ value: p }, { initial: !0 });
@@ -3193,21 +3193,21 @@ const Yt = "DropdownMenu", zp = k({
3193
3193
  const q = X(() => {
3194
3194
  w == null || w();
3195
3195
  }, [w]), z = X(() => {
3196
- var Z;
3197
- (Z = C.current) == null || Z.focus();
3196
+ var j;
3197
+ (j = C.current) == null || j.focus();
3198
3198
  }, []), A = X(
3199
- (Z) => {
3200
- Z.length && (b({ value: Z }), f(Z));
3199
+ (j) => {
3200
+ j.length && (b({ value: j }), f(j));
3201
3201
  },
3202
3202
  [b, f]
3203
3203
  ), { getRootProps: B, getInputProps: P, open: M } = Zp({
3204
3204
  disabled: !t,
3205
- multiple: F || j,
3205
+ multiple: U || Z,
3206
3206
  onDrop: A,
3207
3207
  noClick: !0,
3208
3208
  noKeyboard: !0,
3209
3209
  noDragEventsBubbling: !0,
3210
- useFsAccessApi: j === !1
3210
+ useFsAccessApi: Z === !1
3211
3211
  }), E = X(() => {
3212
3212
  y == null || y();
3213
3213
  }, [y]), G = Le(() => {
@@ -3224,8 +3224,8 @@ const Yt = "DropdownMenu", zp = k({
3224
3224
  labelPosition: R,
3225
3225
  label: V,
3226
3226
  labelWidth: N,
3227
- labelBreak: W,
3228
- required: h,
3227
+ labelBreak: O,
3228
+ required: x,
3229
3229
  enabled: t,
3230
3230
  onFocus: y,
3231
3231
  onBlur: w,
@@ -3256,7 +3256,7 @@ const Yt = "DropdownMenu", zp = k({
3256
3256
  "input",
3257
3257
  {
3258
3258
  ...P({
3259
- webkitdirectory: j ? "true" : void 0
3259
+ webkitdirectory: Z ? "true" : void 0
3260
3260
  }),
3261
3261
  accept: L
3262
3262
  }
@@ -3266,7 +3266,7 @@ const Yt = "DropdownMenu", zp = k({
3266
3266
  {
3267
3267
  placeholder: o,
3268
3268
  enabled: t,
3269
- value: (g == null ? void 0 : g.map((Z) => Z.name).join(", ")) || "",
3269
+ value: (g == null ? void 0 : g.map((j) => j.name).join(", ")) || "",
3270
3270
  validationStatus: T,
3271
3271
  readOnly: !0,
3272
3272
  tabIndex: -1
@@ -3286,7 +3286,7 @@ const Yt = "DropdownMenu", zp = k({
3286
3286
  iconPosition: l,
3287
3287
  variant: s,
3288
3288
  themeColor: v,
3289
- size: x,
3289
+ size: h,
3290
3290
  className: ro.button,
3291
3291
  autoFocus: c,
3292
3292
  children: n
@@ -3440,29 +3440,29 @@ function xh(e = Or, t) {
3440
3440
  s && (r.cssProps.marginTop = s, r.cssProps.marginBottom = s), f("marginTop"), f("marginBottom"), f("border");
3441
3441
  const v = b("borderHorizontal");
3442
3442
  v && (r.cssProps.borderLeft = v, r.cssProps.borderRight = v), f("borderRight"), f("borderLeft");
3443
- const x = b("borderVertical");
3444
- x && (r.cssProps.borderTop = x, r.cssProps.borderBottom = x), f("borderTop"), f("borderBottom"), f("borderColor"), f("borderStyle"), f("borderWidth"), f("borderRadius"), f("radiusTopLeft", "borderTopLeftRadius"), f("radiusTopRight", "borderTopRightRadius"), f("radiusBottomLeft", "borderBottomLeftRadius"), f("radiusBottomRight", "borderBottomRightRadius"), f("color"), f("fontFamily"), f("fontSize"), f("fontWeight"), f("fontStyle"), f("textDecoration"), f("textDecorationLine"), f("textDecorationColor"), f("textDecorationStyle"), f("textDecorationThickness"), f("textUnderlineOffset"), f("userSelect"), f("letterSpacing"), f("textTransform"), f("lineHeight"), f("textAlign"), f("textAlignLast"), f("textWrap"), f("backgroundColor"), f("background"), f("boxShadow"), f("direction"), f("overflowX"), f("overflowY"), f("zIndex"), f("opacity"), f("zoom"), f("cursor"), f("whiteSpace"), f("outline"), f("outlineWidth"), f("outlineColor"), f("outlineStyle"), f("outlineOffset");
3443
+ const h = b("borderVertical");
3444
+ h && (r.cssProps.borderTop = h, r.cssProps.borderBottom = h), f("borderTop"), f("borderBottom"), f("borderColor"), f("borderStyle"), f("borderWidth"), f("borderRadius"), f("radiusTopLeft", "borderTopLeftRadius"), f("radiusTopRight", "borderTopRightRadius"), f("radiusBottomLeft", "borderBottomLeftRadius"), f("radiusBottomRight", "borderBottomRightRadius"), f("color"), f("fontFamily"), f("fontSize"), f("fontWeight"), f("fontStyle"), f("textDecoration"), f("textDecorationLine"), f("textDecorationColor"), f("textDecorationStyle"), f("textDecorationThickness"), f("textUnderlineOffset"), f("userSelect"), f("letterSpacing"), f("textTransform"), f("lineHeight"), f("textAlign"), f("textAlignLast"), f("textWrap"), f("backgroundColor"), f("background"), f("boxShadow"), f("direction"), f("overflowX"), f("overflowY"), f("zIndex"), f("opacity"), f("zoom"), f("cursor"), f("whiteSpace"), f("outline"), f("outlineWidth"), f("outlineColor"), f("outlineStyle"), f("outlineOffset");
3445
3445
  const c = b("wrapContent");
3446
3446
  c && (r.cssProps.flexWrap = c === "true" ? "wrap" : "nowrap"), f("canShrink", "flexShrink");
3447
3447
  const T = b("canShrink");
3448
3448
  if (T && (r.cssProps.flexShrink = T === "true" ? 1 : 0), $a(r.cssProps) && $a(r.issues))
3449
3449
  return hh;
3450
3450
  return r;
3451
- function b(I) {
3452
- var j, V;
3453
- const O = F();
3454
- if (((j = t == null ? void 0 : t.mediaSize) == null ? void 0 : j.sizeIndex) !== void 0) {
3455
- const R = (V = t.mediaSize) == null ? void 0 : V.sizeIndex, N = F("xs"), W = F("sm"), h = F("md"), p = F("lg"), g = F("xl"), C = F("xxl");
3451
+ function b($) {
3452
+ var Z, V;
3453
+ const W = U();
3454
+ if (((Z = t == null ? void 0 : t.mediaSize) == null ? void 0 : Z.sizeIndex) !== void 0) {
3455
+ const R = (V = t.mediaSize) == null ? void 0 : V.sizeIndex, N = U("xs"), O = U("sm"), x = U("md"), p = U("lg"), g = U("xl"), C = U("xxl");
3456
3456
  let L;
3457
3457
  switch (R) {
3458
3458
  case 0:
3459
- L = N ?? W ?? h;
3459
+ L = N ?? O ?? x;
3460
3460
  break;
3461
3461
  case 1:
3462
- L = W ?? h;
3462
+ L = O ?? x;
3463
3463
  break;
3464
3464
  case 2:
3465
- L = h;
3465
+ L = x;
3466
3466
  break;
3467
3467
  case 3:
3468
3468
  L = p;
@@ -3474,51 +3474,51 @@ function xh(e = Or, t) {
3474
3474
  L = C ?? g ?? p;
3475
3475
  break;
3476
3476
  }
3477
- return L ?? O;
3477
+ return L ?? W;
3478
3478
  }
3479
- return O;
3480
- function F(R = "") {
3481
- const N = R ? `${I}-${R}` : I;
3482
- let W = e[N];
3483
- if (W == null)
3479
+ return W;
3480
+ function U(R = "") {
3481
+ const N = R ? `${$}-${R}` : $;
3482
+ let O = e[N];
3483
+ if (O == null)
3484
3484
  return;
3485
- typeof W == "string" ? W = W.trim() : W = W.toString();
3486
- const h = W ? W.replace(
3485
+ typeof O == "string" ? O = O.trim() : O = O.toString();
3486
+ const x = O ? O.replace(
3487
3487
  mh,
3488
3488
  (g) => bh(g.trim())
3489
3489
  ) : void 0;
3490
- if (W !== h)
3491
- return h;
3492
- const p = vh[I];
3490
+ if (O !== x)
3491
+ return x;
3492
+ const p = vh[$];
3493
3493
  if (!p || p.length === 0)
3494
- return h;
3494
+ return x;
3495
3495
  for (const g of p)
3496
- if (g.test(h))
3497
- return h;
3498
- return r.issues.add(N), h;
3496
+ if (g.test(x))
3497
+ return x;
3498
+ return r.issues.add(N), x;
3499
3499
  }
3500
3500
  }
3501
- function f(I, O = "") {
3502
- const F = b(I);
3503
- F && (r.cssProps[O || I] = F);
3501
+ function f($, W = "") {
3502
+ const U = b($);
3503
+ U && (r.cssProps[W || $] = U);
3504
3504
  }
3505
- function y(I, O) {
3506
- return I && H(O) === "horizontal" && ma.test(I.toString()) ? _(I.toString()) : null;
3505
+ function y($, W) {
3506
+ return $ && H(W) === "horizontal" && ma.test($.toString()) ? _($.toString()) : null;
3507
3507
  }
3508
- function w(I, O) {
3509
- return I && H(O) === "vertical" && ma.test(I.toString()) ? _(I.toString()) : null;
3508
+ function w($, W) {
3509
+ return $ && H(W) === "vertical" && ma.test($.toString()) ? _($.toString()) : null;
3510
3510
  }
3511
- function _(I) {
3512
- if (ma.test(I)) {
3513
- const O = I.slice(0, -1);
3514
- return O === "" ? 1 : parseInt(O, 10);
3511
+ function _($) {
3512
+ if (ma.test($)) {
3513
+ const W = $.slice(0, -1);
3514
+ return W === "" ? 1 : parseInt(W, 10);
3515
3515
  }
3516
3516
  return null;
3517
3517
  }
3518
- function H(I) {
3519
- if (!I) return;
3520
- let O = (I == null ? void 0 : I.type) === "Stack" && (I == null ? void 0 : I.orientation);
3521
- return O == null ? void 0 : O.toString();
3518
+ function H($) {
3519
+ if (!$) return;
3520
+ let W = ($ == null ? void 0 : $.type) === "Stack" && ($ == null ? void 0 : $.orientation);
3521
+ return W == null ? void 0 : W.toString();
3522
3522
  }
3523
3523
  }
3524
3524
  function bh(e) {
@@ -3622,41 +3622,41 @@ ve(function({ children: t, forceBreak: r, ...o }, a) {
3622
3622
  Lo(() => (l((R) => R + 1), () => {
3623
3623
  l((R) => R - 1);
3624
3624
  }), [l]);
3625
- const { activeTheme: s, root: v } = tr(), x = o.width || "100%", c = o.minWidth || void 0, T = o.maxWidth || void 0, {
3626
- width: b = x,
3625
+ const { activeTheme: s, root: v } = tr(), h = o.width || "100%", c = o.minWidth || void 0, T = o.maxWidth || void 0, {
3626
+ width: b = h,
3627
3627
  minWidth: f,
3628
3628
  maxWidth: y,
3629
3629
  flex: w
3630
3630
  } = ce(() => (
3631
3631
  // --- New layout resolution
3632
3632
  xh(
3633
- { width: x, maxWidth: T, minWidth: c },
3633
+ { width: h, maxWidth: T, minWidth: c },
3634
3634
  {
3635
3635
  type: "Stack",
3636
3636
  orientation: "horizontal"
3637
3637
  }
3638
3638
  ).cssProps || {}
3639
- ), [T, c, x, s.themeVars]), _ = ce(() => {
3639
+ ), [T, c, h, s.themeVars]), _ = ce(() => {
3640
3640
  if (b && typeof b == "string" && b.startsWith("var(")) {
3641
3641
  if (!pa[b]) {
3642
3642
  const R = b.substring(4, b.length - 1), N = getComputedStyle(v).getPropertyValue(R);
3643
- pa[b] = N || x;
3643
+ pa[b] = N || h;
3644
3644
  }
3645
3645
  return pa[b];
3646
3646
  }
3647
- return b || x;
3648
- }, [x, v, b]), H = typeof _ == "string" && _.endsWith("%"), I = Yu(i), O = ki("(max-width: 420px)"), F = ki("(max-width: 800px)"), j = {
3647
+ return b || h;
3648
+ }, [h, v, b]), H = typeof _ == "string" && _.endsWith("%"), $ = Yu(i), W = ki("(max-width: 420px)"), U = ki("(max-width: 800px)"), Z = {
3649
3649
  minWidth: f,
3650
3650
  maxWidth: y,
3651
- width: H ? `min(${b} * ${O ? "8" : F ? "4" : "1"}, 100%)` : `min(calc(${b} + ${I}), 100%)`,
3651
+ width: H ? `min(${b} * ${W ? "8" : U ? "4" : "1"}, 100%)` : `min(calc(${b} + ${$}), 100%)`,
3652
3652
  paddingBottom: n,
3653
3653
  flex: w
3654
3654
  }, V = w !== void 0;
3655
- return V && (j.width = "100%", j.minWidth = f || "1px"), /* @__PURE__ */ J(Tt, { children: [
3655
+ return V && (Z.width = "100%", Z.minWidth = f || "1px"), /* @__PURE__ */ J(Tt, { children: [
3656
3656
  /* @__PURE__ */ m(
3657
3657
  "div",
3658
3658
  {
3659
- style: { ...j, paddingRight: I },
3659
+ style: { ...Z, paddingRight: $ },
3660
3660
  className: le(yr.flowItem, {
3661
3661
  [yr.starSized]: V
3662
3662
  }),
@@ -3672,18 +3672,18 @@ const Li = {
3672
3672
  rowGap: "$gap-normal"
3673
3673
  };
3674
3674
  ve(function({ style: t, columnGap: r = 0, rowGap: o = 0, children: a }, n) {
3675
- const [i, l] = me(0), s = i === 1 ? 0 : r, v = wi(o), x = wi(s), c = ce(
3675
+ const [i, l] = me(0), s = i === 1 ? 0 : r, v = wi(o), h = wi(s), c = ce(
3676
3676
  () => ({
3677
3677
  // We put a negative margin on the container to fill the space for the row's last columnGap
3678
- marginRight: `calc(-1 * ${x})`,
3678
+ marginRight: `calc(-1 * ${h})`,
3679
3679
  marginBottom: `calc(-1 * ${v})`
3680
3680
  }),
3681
- [x, v]
3681
+ [h, v]
3682
3682
  ), T = ce(() => ({
3683
3683
  rowGap: v,
3684
- columnGap: x,
3684
+ columnGap: h,
3685
3685
  setNumberOfChildren: l
3686
- }), [x, v]);
3686
+ }), [h, v]);
3687
3687
  return /* @__PURE__ */ m(dl.Provider, { value: T, children: /* @__PURE__ */ m("div", { style: t, ref: n, children: /* @__PURE__ */ m("div", { className: yr.outer, children: /* @__PURE__ */ m("div", { className: le(yr.flowContainer, yr.horizontal), style: c, children: a }) }) }) });
3688
3688
  });
3689
3689
  const _i = "FlowLayout", gh = k({
@@ -3839,22 +3839,22 @@ const Oh = `'{"padding-ModalDialog": "var(--xmlui-padding-ModalDialog)", "paddin
3839
3839
  };
3840
3840
  Ne.forwardRef(
3841
3841
  ({ isInitiallyOpen: e, onOpen: t, onClose: r, registerComponentApi: o, renderDialog: a }, n) => {
3842
- const i = cl(e, t, r), { doOpen: l, doClose: s, isOpen: v, openParams: x } = i;
3842
+ const i = cl(e, t, r), { doOpen: l, doClose: s, isOpen: v, openParams: h } = i;
3843
3843
  return ee(() => {
3844
3844
  o == null || o({
3845
3845
  open: l,
3846
3846
  close: s
3847
3847
  });
3848
3848
  }, [s, l, o]), v ? /* @__PURE__ */ m(ul.Provider, { value: i, children: a({
3849
- openParams: x,
3849
+ openParams: h,
3850
3850
  ref: n
3851
3851
  }) }) : null;
3852
3852
  }
3853
3853
  );
3854
3854
  const ul = Ne.createContext(null);
3855
3855
  function cl(e, t, r) {
3856
- const [o, a] = me(e), n = he(!1), [i, l] = me(null), s = Le((...x) => {
3857
- l(x), t == null || t(), a(!0);
3856
+ const [o, a] = me(e), n = he(!1), [i, l] = me(null), s = Le((...h) => {
3857
+ l(h), t == null || t(), a(!0);
3858
3858
  }), v = Le(async () => {
3859
3859
  if (!n.current)
3860
3860
  try {
@@ -3887,10 +3887,10 @@ const ml = Ne.forwardRef(
3887
3887
  onOpen: i,
3888
3888
  onClose: l
3889
3889
  }, s) => {
3890
- const { root: v } = tr(), x = he(null), c = s ? sr(s, x) : x, { isOpen: T, doClose: b, doOpen: f } = qh(r, i, l);
3890
+ const { root: v } = tr(), h = he(null), c = s ? sr(s, h) : h, { isOpen: T, doClose: b, doOpen: f } = qh(r, i, l);
3891
3891
  ee(() => {
3892
3892
  var _;
3893
- T && ((_ = x.current) == null || _.focus());
3893
+ T && ((_ = h.current) == null || _.focus());
3894
3894
  }, [T]), ee(() => {
3895
3895
  if (T) {
3896
3896
  const _ = setTimeout(() => {
@@ -3971,7 +3971,7 @@ function Qh(e) {
3971
3971
  n - (r.left + a + r.width),
3972
3972
  i - (r.top + a + r.height),
3973
3973
  r.left - a
3974
- ].map((x) => `${-1 * Math.floor(x)}px`).join(" "), v = new IntersectionObserver(() => {
3974
+ ].map((h) => `${-1 * Math.floor(h)}px`).join(" "), v = new IntersectionObserver(() => {
3975
3975
  ++o > 1 && Pr(e);
3976
3976
  }, {
3977
3977
  root: Vr,
@@ -4073,8 +4073,8 @@ function xl(e, t, r) {
4073
4073
  let o = t.width, a = t.height, n = r.width, i = r.height;
4074
4074
  const l = getComputedStyle(e);
4075
4075
  if (l.getPropertyValue("box-sizing") === "content-box") {
4076
- const v = Gt(l.paddingTop) + Gt(l.paddingBottom) + Gt(l.borderTopWidth) + Gt(l.borderBottomWidth), x = Gt(l.paddingLeft) + Gt(l.paddingRight) + Gt(l.borderRightWidth) + Gt(l.borderLeftWidth);
4077
- o -= x, n -= x, a -= v, i -= v;
4076
+ const v = Gt(l.paddingTop) + Gt(l.paddingBottom) + Gt(l.borderTopWidth) + Gt(l.borderBottomWidth), h = Gt(l.paddingLeft) + Gt(l.paddingRight) + Gt(l.borderRightWidth) + Gt(l.borderLeftWidth);
4077
+ o -= h, n -= h, a -= v, i -= v;
4078
4078
  }
4079
4079
  return [o, n, a, i].map(Math.round);
4080
4080
  }
@@ -4105,12 +4105,12 @@ function tx(e) {
4105
4105
  return;
4106
4106
  const a = na(e);
4107
4107
  if (typeof a != "function") {
4108
- const n = t.left - r.left, i = t.top - r.top, [l, s, v, x] = xl(e, t, r), c = {
4108
+ const n = t.left - r.left, i = t.top - r.top, [l, s, v, h] = xl(e, t, r), c = {
4109
4109
  transform: `translate(${n}px, ${i}px)`
4110
4110
  }, T = {
4111
4111
  transform: "translate(0, 0)"
4112
4112
  };
4113
- l !== s && (c.width = `${l}px`, T.width = `${s}px`), v !== x && (c.height = `${v}px`, T.height = `${x}px`), o = e.animate([c, T], {
4113
+ l !== s && (c.width = `${l}px`, T.width = `${s}px`), v !== h && (c.height = `${v}px`, T.height = `${h}px`), o = e.animate([c, T], {
4114
4114
  duration: a.duration,
4115
4115
  easing: a.easing
4116
4116
  });
@@ -4146,7 +4146,7 @@ function ox(e) {
4146
4146
  }
4147
4147
  if (!ai(e))
4148
4148
  return a();
4149
- const [n, i, l, s] = ax(e), v = na(e), x = ut.get(e);
4149
+ const [n, i, l, s] = ax(e), v = na(e), h = ut.get(e);
4150
4150
  let c;
4151
4151
  Object.assign(e.style, {
4152
4152
  position: "absolute",
@@ -4167,7 +4167,7 @@ function ox(e) {
4167
4167
  transform: "scale(.98)",
4168
4168
  opacity: 0
4169
4169
  }
4170
- ], { duration: v.duration, easing: "ease-out" }) : (c = new Animation(v(e, "remove", x)), c.play()), zr.set(e, c), c.addEventListener("finish", a);
4170
+ ], { duration: v.duration, easing: "ease-out" }) : (c = new Animation(v(e, "remove", h)), c.play()), zr.set(e, c), c.addEventListener("finish", a);
4171
4171
  }
4172
4172
  function ax(e) {
4173
4173
  const t = ut.get(e), [r, , o] = xl(e, t, co(e));
@@ -4516,20 +4516,20 @@ function Cx(e, t, r, o, a, n = 0) {
4516
4516
  ee(
4517
4517
  function() {
4518
4518
  const v = new yl(e, t, i);
4519
- let x = !1;
4519
+ let h = !1;
4520
4520
  const c = v.preValidate();
4521
- return x || (o(Ai(a, c)), c.partial && (async () => {
4521
+ return h || (o(Ai(a, c)), c.partial && (async () => {
4522
4522
  const T = await l(e, t, i);
4523
- x || o(Ai(a, T));
4523
+ h || o(Ai(a, T));
4524
4524
  })()), () => {
4525
- x = !0;
4525
+ h = !0;
4526
4526
  };
4527
4527
  },
4528
4528
  [a, i, o, t, l, e]
4529
4529
  );
4530
4530
  }
4531
4531
  function kx(e, t, r, o = gl) {
4532
- const a = nr((_) => _.interactionFlags[e]) || Or, n = a.forceShowValidationResult, i = a.focused, l = a.isValidLostFocus, s = a.isValidOnFocus, v = a.invalidToValid, x = !r || r.validatedValue !== t, c = a.isDirty, T = (r == null ? void 0 : r.isValid) === !0;
4532
+ const a = nr((_) => _.interactionFlags[e]) || Or, n = a.forceShowValidationResult, i = a.focused, l = a.isValidLostFocus, s = a.isValidOnFocus, v = a.invalidToValid, h = !r || r.validatedValue !== t, c = a.isDirty, T = (r == null ? void 0 : r.isValid) === !0;
4533
4533
  let b = "none";
4534
4534
  for (const _ of (r == null ? void 0 : r.validations) || [])
4535
4535
  if (!_.isValid && (b !== "error" && _.severity === "warning" && (b = "warning"), _.severity === "error")) {
@@ -4549,7 +4549,7 @@ function kx(e, t, r, o = gl) {
4549
4549
  }
4550
4550
  f = f || n;
4551
4551
  const [y, w] = me(f);
4552
- return y !== f && !x && w(f), x && (f = y), {
4552
+ return y !== f && !h && w(f), h && (f = y), {
4553
4553
  isHelperTextShown: f,
4554
4554
  validationStatus: f ? b : "none"
4555
4555
  };
@@ -4671,7 +4671,7 @@ Nr((e, t) => {
4671
4671
  e.validationResults[l].validations = [
4672
4672
  ...((v = e.validationResults[l]) == null ? void 0 : v.validations) || [],
4673
4673
  ...s || []
4674
- ], e.validationResults[l].isValid = e.validationResults[l].validations.find((x) => !x.isValid) === void 0;
4674
+ ], e.validationResults[l].isValid = e.validationResults[l].validations.find((h) => !h.isValid) === void 0;
4675
4675
  }
4676
4676
  );
4677
4677
  break;
@@ -4709,7 +4709,7 @@ const wx = {
4709
4709
  saveLabel: l = "Save",
4710
4710
  saveInProgressLabel: s = "Saving...",
4711
4711
  swapCancelAndSave: v,
4712
- onSubmit: x,
4712
+ onSubmit: h,
4713
4713
  onCancel: c,
4714
4714
  onReset: T,
4715
4715
  buttonRow: b,
@@ -4718,11 +4718,11 @@ const wx = {
4718
4718
  itemLabelBreak: w = !0,
4719
4719
  itemLabelWidth: _,
4720
4720
  itemLabelPosition: H = "top",
4721
- keepModalOpenOnSubmit: I = !1
4722
- }, O) {
4723
- const F = he(null);
4724
- Jl(O, () => F.current);
4725
- const [j, V] = me(!1), R = Uh(), N = n && !e.submitInProgress, W = ce(() => ({
4721
+ keepModalOpenOnSubmit: $ = !1
4722
+ }, W) {
4723
+ const U = he(null);
4724
+ Jl(W, () => U.current);
4725
+ const [Z, V] = me(!1), R = Uh(), N = n && !e.submitInProgress, O = ce(() => ({
4726
4726
  itemLabelBreak: w,
4727
4727
  itemLabelWidth: _,
4728
4728
  itemLabelPosition: H,
@@ -4742,7 +4742,7 @@ const wx = {
4742
4742
  w,
4743
4743
  H,
4744
4744
  _
4745
- ]), h = Le(() => {
4745
+ ]), x = Le(() => {
4746
4746
  c == null || c(), R();
4747
4747
  }), p = Le(async (z) => {
4748
4748
  var M;
@@ -4754,20 +4754,20 @@ const wx = {
4754
4754
  );
4755
4755
  if (A.length)
4756
4756
  return;
4757
- if (B.length && !j) {
4757
+ if (B.length && !Z) {
4758
4758
  V(!0);
4759
4759
  return;
4760
4760
  }
4761
4761
  const P = document.activeElement;
4762
4762
  t(Ah());
4763
4763
  try {
4764
- await (x == null ? void 0 : x(e.subject, {
4764
+ await (h == null ? void 0 : h(e.subject, {
4765
4765
  passAsDefaultBody: !0
4766
- })), t(Nh()), I || R(), r === Or && An(() => {
4766
+ })), t(Nh()), $ || R(), r === Or && An(() => {
4767
4767
  g();
4768
4768
  }), P && typeof P.focus == "function" && P.focus();
4769
4769
  } catch (E) {
4770
- const G = [], Z = {};
4770
+ const G = [], j = {};
4771
4771
  E instanceof Error && "errorCategory" in E && E.errorCategory === "GenericBackendError" && ((M = E.details) != null && M.issues) && Array.isArray(E.details.issues) ? E.details.issues.forEach((K) => {
4772
4772
  const te = {
4773
4773
  isValid: !1,
@@ -4775,7 +4775,7 @@ const wx = {
4775
4775
  severity: K.severity || "error",
4776
4776
  fromBackend: !0
4777
4777
  };
4778
- K.field !== void 0 ? (Z[K.field] = Z[K.field] || [], Z[K.field].push(te)) : G.push(te);
4778
+ K.field !== void 0 ? (j[K.field] = j[K.field] || [], j[K.field].push(te)) : G.push(te);
4779
4779
  }) : G.push({
4780
4780
  isValid: !1,
4781
4781
  invalidMessage: E.message || "Couldn't save the form.",
@@ -4784,7 +4784,7 @@ const wx = {
4784
4784
  }), t(
4785
4785
  Wh({
4786
4786
  generalValidationResults: G,
4787
- fieldValidationResults: Z
4787
+ fieldValidationResults: j
4788
4788
  })
4789
4789
  );
4790
4790
  }
@@ -4806,7 +4806,7 @@ const wx = {
4806
4806
  type: "button",
4807
4807
  themeColor: "secondary",
4808
4808
  variant: "ghost",
4809
- onClick: h,
4809
+ onClick: x,
4810
4810
  children: i
4811
4811
  },
4812
4812
  "cancel"
@@ -4828,10 +4828,10 @@ const wx = {
4828
4828
  onSubmit: p,
4829
4829
  onReset: g,
4830
4830
  id: f,
4831
- ref: F,
4831
+ ref: U,
4832
4832
  children: [
4833
4833
  /* @__PURE__ */ m(Ni, { generalValidationResults: e.generalValidationResults }),
4834
- /* @__PURE__ */ m(Tl.Provider, { value: W, children: o }),
4834
+ /* @__PURE__ */ m(Tl.Provider, { value: O, children: o }),
4835
4835
  b || /* @__PURE__ */ J("div", { className: Pa.buttonRow, children: [
4836
4836
  v && [q, L],
4837
4837
  !v && [L, q]
@@ -4839,7 +4839,7 @@ const wx = {
4839
4839
  ]
4840
4840
  }
4841
4841
  ),
4842
- j && /* @__PURE__ */ m(
4842
+ Z && /* @__PURE__ */ m(
4843
4843
  ml,
4844
4844
  {
4845
4845
  onClose: () => V(!1),
@@ -5206,7 +5206,7 @@ class Lx {
5206
5206
  fetch() {
5207
5207
  const t = this, r = this.input, o = this._prefetchedPos || r.position, a = r.line, n = this._prefetchedColumn || r.column;
5208
5208
  this._lastFetchPosition = this.input.position;
5209
- let i = null, l = "", s = d.Eof, v = r.position, x = r.column, c = null, T = !1, b = this.getStartingPhaseThenReset();
5209
+ let i = null, l = "", s = d.Eof, v = r.position, h = r.column, c = null, T = !1, b = this.getStartingPhaseThenReset();
5210
5210
  for (; ; ) {
5211
5211
  if (c = this.fetchNextChar(), c === null)
5212
5212
  return y();
@@ -5517,8 +5517,8 @@ class Lx {
5517
5517
  break;
5518
5518
  case 34: {
5519
5519
  b = 33;
5520
- const I = this.input.ahead(0), O = this.input.ahead(1);
5521
- if (I === "`" || I === "$" && O === "{")
5520
+ const $ = this.input.ahead(0), W = this.input.ahead(1);
5521
+ if ($ === "`" || $ === "$" && W === "{")
5522
5522
  return w(d.StringLiteral);
5523
5523
  break;
5524
5524
  }
@@ -5669,7 +5669,7 @@ class Lx {
5669
5669
  f();
5670
5670
  }
5671
5671
  function f() {
5672
- l += c, t._prefetched = null, t._prefetchedPos = null, t._prefetchedColumn = null, v = r.position, x = r.position;
5672
+ l += c, t._prefetched = null, t._prefetchedPos = null, t._prefetchedColumn = null, v = r.position, h = r.position;
5673
5673
  }
5674
5674
  function y() {
5675
5675
  return T && (s = ge.get(l) ?? (qi(l[0]) && l[l.length - 1] !== "'" ? d.Identifier : d.Unknown)), {
@@ -5681,7 +5681,7 @@ class Lx {
5681
5681
  startLine: a,
5682
5682
  endLine: a,
5683
5683
  startColumn: n,
5684
- endColumn: x
5684
+ endColumn: h
5685
5685
  }
5686
5686
  };
5687
5687
  }
@@ -6507,8 +6507,8 @@ class kl {
6507
6507
  r
6508
6508
  );
6509
6509
  function v() {
6510
- const x = o._lexer.peek();
6511
- return x.type !== d.LBrace ? (o.reportError("W012", x), null) : o.parseBlockStatement();
6510
+ const h = o._lexer.peek();
6511
+ return h.type !== d.LBrace ? (o.reportError("W012", h), null) : o.parseBlockStatement();
6512
6512
  }
6513
6513
  }
6514
6514
  /**
@@ -6620,10 +6620,10 @@ class kl {
6620
6620
  break;
6621
6621
  case "SeqE":
6622
6622
  l = i.parenthesized === 1;
6623
- let x = !1;
6623
+ let h = !1;
6624
6624
  if (l)
6625
6625
  for (const c of i.expressions) {
6626
- if (x) {
6626
+ if (h) {
6627
6627
  l = !1;
6628
6628
  break;
6629
6629
  }
@@ -6646,7 +6646,7 @@ class kl {
6646
6646
  break;
6647
6647
  }
6648
6648
  case "SpreadE": {
6649
- if (x = !0, c.operand.type !== "IdE") {
6649
+ if (h = !0, c.operand.type !== "IdE") {
6650
6650
  l = !1;
6651
6651
  break;
6652
6652
  }
@@ -7408,19 +7408,19 @@ class kl {
7408
7408
  switch (n.type) {
7409
7409
  case d.LParent: {
7410
7410
  this._lexer.get();
7411
- let x = [];
7411
+ let h = [];
7412
7412
  if (this._lexer.peek().type !== d.RParent) {
7413
7413
  const T = this.parseExpr();
7414
7414
  if (!T)
7415
7415
  return this.reportError("W001"), null;
7416
- x = T.type === "SeqE" ? T.expressions : [T];
7416
+ h = T.type === "SeqE" ? T.expressions : [T];
7417
7417
  }
7418
7418
  const c = this._lexer.peek();
7419
7419
  this.expectToken(d.RParent, "W006"), r = this.createExpressionNode(
7420
7420
  "InvokeE",
7421
7421
  {
7422
7422
  object: r,
7423
- arguments: x
7423
+ arguments: h
7424
7424
  },
7425
7425
  t,
7426
7426
  c
@@ -7690,14 +7690,14 @@ class kl {
7690
7690
  r.push(i);
7691
7691
  else {
7692
7692
  if (l === "LitE") {
7693
- const x = i.value;
7694
- if (typeof x != "number" && typeof x != "string")
7693
+ const h = i.value;
7694
+ if (typeof h != "number" && typeof h != "string")
7695
7695
  return this.expectToken(d.RBrace, "W007"), null;
7696
7696
  }
7697
7697
  let v = null;
7698
7698
  if (l === "IdE") {
7699
- const x = this._lexer.peek();
7700
- (x.type === d.Comma || x.type === d.RBrace) && (v = { ...i });
7699
+ const h = this._lexer.peek();
7700
+ (h.type === d.Comma || h.type === d.RBrace) && (v = { ...i });
7701
7701
  }
7702
7702
  if (!v && (this.expectToken(d.Colon, "W008"), v = this.getExpression(!1), !v))
7703
7703
  return null;
@@ -7846,14 +7846,14 @@ class kl {
7846
7846
  * @param endToken The token that ends the statement
7847
7847
  */
7848
7848
  createStatementNode(t, r, o, a) {
7849
- var s, v, x, c, T;
7849
+ var s, v, h, c, T;
7850
7850
  const n = (s = o == null ? void 0 : o.location) == null ? void 0 : s.startPosition, i = this._lexer.peek(), l = a ? a.location.endPosition : i.type === d.Eof ? i.location.startPosition + 1 : i.location.startPosition;
7851
7851
  return Object.assign({}, r, {
7852
7852
  type: t,
7853
7853
  startPosition: n,
7854
7854
  endPosition: l,
7855
7855
  startLine: (v = o == null ? void 0 : o.location) == null ? void 0 : v.startLine,
7856
- startColumn: (x = o == null ? void 0 : o.location) == null ? void 0 : x.startColumn,
7856
+ startColumn: (h = o == null ? void 0 : o.location) == null ? void 0 : h.startColumn,
7857
7857
  endLine: a ? a.location.endLine : (c = o == null ? void 0 : o.location) == null ? void 0 : c.endLine,
7858
7858
  endColumn: a ? a.location.endColumn : (T = o == null ? void 0 : o.location) == null ? void 0 : T.endColumn,
7859
7859
  source: this.source && n !== void 0 && l !== void 0 ? this.source.substring(n, l) : void 0,
@@ -8431,7 +8431,7 @@ function Nx(e) {
8431
8431
  function Rx(e, t, r, o = !1) {
8432
8432
  const a = /* @__PURE__ */ new Map(), n = {}, i = l(e, t, r, !0);
8433
8433
  return !i || Object.keys(n).length > 0 ? n : i;
8434
- function l(s, v, x, c = !1) {
8434
+ function l(s, v, h, c = !1) {
8435
8435
  var T;
8436
8436
  if (a.has(s))
8437
8437
  return a.get(s);
@@ -8456,18 +8456,18 @@ function Rx(e, t, r, o = !1) {
8456
8456
  data: null,
8457
8457
  cancel: !1,
8458
8458
  skipChildren: !1
8459
- }, (R, N, W, h, p) => {
8460
- if (!R) return W;
8459
+ }, (R, N, O, x, p) => {
8460
+ if (!R) return O;
8461
8461
  if (c)
8462
8462
  switch (N.type) {
8463
8463
  case "VarS":
8464
- h && V("W027", N);
8464
+ x && V("W027", N);
8465
8465
  break;
8466
8466
  case "FuncD":
8467
8467
  case "ImportD":
8468
8468
  break;
8469
8469
  default:
8470
- o && !h && V("W028", N, N.type);
8470
+ o && !x && V("W028", N, N.type);
8471
8471
  break;
8472
8472
  }
8473
8473
  else
@@ -8481,10 +8481,10 @@ function Rx(e, t, r, o = !1) {
8481
8481
  case "ImportD":
8482
8482
  break;
8483
8483
  default:
8484
- o && !h && V("W028", N, N.type);
8484
+ o && !x && V("W028", N, N.type);
8485
8485
  break;
8486
8486
  }
8487
- return W;
8487
+ return O;
8488
8488
  });
8489
8489
  const H = {};
8490
8490
  f.filter((R) => R.type === "FuncD").forEach((R) => {
@@ -8495,52 +8495,52 @@ function Rx(e, t, r, o = !1) {
8495
8495
  }
8496
8496
  H[N.name] = N;
8497
8497
  });
8498
- const I = /* @__PURE__ */ new Map();
8498
+ const $ = /* @__PURE__ */ new Map();
8499
8499
  f.forEach((R) => {
8500
8500
  R.type === "ConstS" && R.isExported ? Wx(R, (N) => {
8501
- I.has(N) ? V("W021", R, N) : I.set(N, R);
8502
- }) : R.type === "FuncD" && R.isExported && (I.has(R.name) ? V("W021", R, R.name) : I.set(R.name, R));
8501
+ $.has(N) ? V("W021", R, N) : $.set(N, R);
8502
+ }) : R.type === "FuncD" && R.isExported && ($.has(R.name) ? V("W021", R, R.name) : $.set(R.name, R));
8503
8503
  });
8504
- const O = {
8504
+ const W = {
8505
8505
  type: "ScriptModule",
8506
8506
  name: s,
8507
- exports: I,
8507
+ exports: $,
8508
8508
  importedModules: [],
8509
8509
  imports: {},
8510
8510
  functions: H,
8511
8511
  statements: f,
8512
8512
  executed: !1
8513
8513
  };
8514
- a.set(s, O);
8515
- const F = [], j = {};
8514
+ a.set(s, W);
8515
+ const U = [], Z = {};
8516
8516
  for (let R = 0; R < f.length; R++) {
8517
8517
  const N = f[R];
8518
8518
  if (N.type !== "ImportD")
8519
8519
  continue;
8520
- const W = x(s, N.moduleFile);
8521
- if (W === null) {
8520
+ const O = h(s, N.moduleFile);
8521
+ if (O === null) {
8522
8522
  V("W022", N, N.moduleFile);
8523
8523
  continue;
8524
8524
  }
8525
- const h = l(N.moduleFile, W, x);
8526
- if (!h)
8525
+ const x = l(N.moduleFile, O, h);
8526
+ if (!x)
8527
8527
  return;
8528
- F.push(h);
8528
+ U.push(x);
8529
8529
  const p = Object.keys(N.imports);
8530
- p.length > 0 && (j[T = N.moduleFile] ?? (j[T] = {}));
8530
+ p.length > 0 && (Z[T = N.moduleFile] ?? (Z[T] = {}));
8531
8531
  for (const g of p)
8532
- h.exports.has(N.imports[g]) ? j[N.moduleFile][g] = h.exports.get(N.imports[g]) : V("W023", N, N.moduleFile, g);
8532
+ x.exports.has(N.imports[g]) ? Z[N.moduleFile][g] = x.exports.get(N.imports[g]) : V("W023", N, N.moduleFile, g);
8533
8533
  }
8534
8534
  if (w.length > 0)
8535
8535
  return n[s] = w, null;
8536
- return F.forEach((R) => R.parent = O), O.importedModules = F, O.imports = j, O;
8537
- function V(R, N, ...W) {
8538
- let h = Xo[R];
8539
- W && W.forEach(
8540
- (p, g) => h = h.replaceAll(`{${g}}`, W[g].toString())
8536
+ return U.forEach((R) => R.parent = W), W.importedModules = U, W.imports = Z, W;
8537
+ function V(R, N, ...O) {
8538
+ let x = Xo[R];
8539
+ O && O.forEach(
8540
+ (p, g) => x = x.replaceAll(`{${g}}`, O[g].toString())
8541
8541
  ), w.push({
8542
8542
  code: R,
8543
- text: Xo[R].replace(/\{(\d+)}/g, (p, g) => W[g]),
8543
+ text: Xo[R].replace(/\{(\d+)}/g, (p, g) => O[g]),
8544
8544
  position: N.startPosition,
8545
8545
  line: N.startLine,
8546
8546
  column: N.startColumn
@@ -8644,7 +8644,7 @@ const eb = ve(function({
8644
8644
  validationStatus: l = "none",
8645
8645
  hasSpinBox: s = !0,
8646
8646
  step: v,
8647
- integersOnly: x = !1,
8647
+ integersOnly: h = !1,
8648
8648
  zeroOrPositive: c = !1,
8649
8649
  min: T = c ? 0 : -999999999999999,
8650
8650
  max: b = wl,
@@ -8653,15 +8653,15 @@ const eb = ve(function({
8653
8653
  onDidChange: w = de,
8654
8654
  onFocus: _ = de,
8655
8655
  onBlur: H = de,
8656
- registerComponentApi: I,
8657
- startText: O,
8658
- startIcon: F,
8659
- endText: j,
8656
+ registerComponentApi: $,
8657
+ startText: W,
8658
+ startIcon: U,
8659
+ endText: Z,
8660
8660
  endIcon: V,
8661
8661
  autoFocus: R,
8662
8662
  readOnly: N,
8663
- required: W,
8664
- label: h,
8663
+ required: O,
8664
+ label: x,
8665
8665
  labelPosition: p,
8666
8666
  labelWidth: g,
8667
8667
  labelBreak: C
@@ -8691,16 +8691,16 @@ const eb = ve(function({
8691
8691
  E(D, D);
8692
8692
  },
8693
8693
  [E]
8694
- ), Z = X(() => {
8694
+ ), j = X(() => {
8695
8695
  if (N) return;
8696
- const Y = Xi(P, q, T, b, x);
8696
+ const Y = Xi(P, q, T, b, h);
8697
8697
  Y !== void 0 && E(Y, Y.toString());
8698
- }, [P, q, T, b, x, E, N]), K = X(() => {
8698
+ }, [P, q, T, b, h, E, N]), K = X(() => {
8699
8699
  if (N) return;
8700
- const Y = Xi(P, -q, T, b, x);
8700
+ const Y = Xi(P, -q, T, b, h);
8701
8701
  Y !== void 0 && E(Y, Y.toString());
8702
- }, [P, q, T, b, x, E, N]);
8703
- Qi(A.current, Z), Qi(B.current, K);
8702
+ }, [P, q, T, b, h, E, N]);
8703
+ Qi(A.current, j), Qi(B.current, K);
8704
8704
  const te = (Y) => {
8705
8705
  var vo;
8706
8706
  let D = !1;
@@ -8719,10 +8719,10 @@ const eb = ve(function({
8719
8719
  );
8720
8720
  break;
8721
8721
  case Ua:
8722
- (x || se.includes(Ua) || Ze !== -1) && (D = !0);
8722
+ (h || se.includes(Ua) || Ze !== -1) && (D = !0);
8723
8723
  break;
8724
8724
  case Qo:
8725
- if (x) {
8725
+ if (h) {
8726
8726
  D = !0;
8727
8727
  break;
8728
8728
  }
@@ -8742,7 +8742,7 @@ const eb = ve(function({
8742
8742
  break;
8743
8743
  }
8744
8744
  const Ye = se.substring(0, Ge) + We + se.substring(Y.target.selectionEnd);
8745
- x && !Yx.test(Ye) ? D = !0 : Xx.test(Ye) || (D = !0);
8745
+ h && !Yx.test(Ye) ? D = !0 : Xx.test(Ye) || (D = !0);
8746
8746
  break;
8747
8747
  }
8748
8748
  if (Y.data < "0" || Y.data > "9") {
@@ -8775,9 +8775,9 @@ const eb = ve(function({
8775
8775
  }
8776
8776
  }, be = X(
8777
8777
  (Y) => {
8778
- Y.code === "ArrowUp" && (Y.preventDefault(), Z()), Y.code === "ArrowDown" && (Y.preventDefault(), K());
8778
+ Y.code === "ArrowUp" && (Y.preventDefault(), j()), Y.code === "ArrowDown" && (Y.preventDefault(), K());
8779
8779
  },
8780
- [Z, K]
8780
+ [j, K]
8781
8781
  ), Me = X(() => {
8782
8782
  _ == null || _();
8783
8783
  }, [_]), Re = X(() => {
@@ -8789,19 +8789,19 @@ const eb = ve(function({
8789
8789
  E(Y, Hl(Y) ? "" : String(Y));
8790
8790
  });
8791
8791
  return ee(() => {
8792
- I == null || I({
8792
+ $ == null || $({
8793
8793
  focus: ie,
8794
8794
  setValue: oe
8795
8795
  });
8796
- }, [ie, I, oe]), /* @__PURE__ */ m(
8796
+ }, [ie, $, oe]), /* @__PURE__ */ m(
8797
8797
  yt,
8798
8798
  {
8799
8799
  ref: L,
8800
8800
  labelPosition: p,
8801
- label: h,
8801
+ label: x,
8802
8802
  labelWidth: g,
8803
8803
  labelBreak: C,
8804
- required: W,
8804
+ required: O,
8805
8805
  enabled: n,
8806
8806
  onFocus: _,
8807
8807
  onBlur: H,
@@ -8823,7 +8823,7 @@ const eb = ve(function({
8823
8823
  (Y = z.current) == null || Y.focus();
8824
8824
  },
8825
8825
  children: [
8826
- /* @__PURE__ */ m(so, { text: O, iconName: F, className: Ke.adornment }),
8826
+ /* @__PURE__ */ m(so, { text: W, iconName: U, className: Ke.adornment }),
8827
8827
  /* @__PURE__ */ m(
8828
8828
  "input",
8829
8829
  {
@@ -8844,10 +8844,10 @@ const eb = ve(function({
8844
8844
  ref: z,
8845
8845
  autoFocus: R,
8846
8846
  maxLength: f,
8847
- required: W
8847
+ required: O
8848
8848
  }
8849
8849
  ),
8850
- /* @__PURE__ */ m(so, { text: j, iconName: V, className: Ke.adornment }),
8850
+ /* @__PURE__ */ m(so, { text: Z, iconName: V, className: Ke.adornment }),
8851
8851
  s && /* @__PURE__ */ J("div", { className: Ke.spinnerBox, children: [
8852
8852
  /* @__PURE__ */ m(
8853
8853
  st,
@@ -8898,8 +8898,8 @@ function Qi(e, t, r = 500) {
8898
8898
  var v;
8899
8899
  (v = n.current) == null || v.call(n), o.current = window.setTimeout(() => {
8900
8900
  a.current = window.setInterval(() => {
8901
- var x;
8902
- (x = n.current) == null || x.call(n);
8901
+ var h;
8902
+ (h = n.current) == null || h.call(n);
8903
8903
  }, 100);
8904
8904
  }, r);
8905
8905
  }, l = () => {
@@ -9025,7 +9025,7 @@ const ba = "focusScope.autoFocusOnMount", va = "focusScope.autoFocusOnUnmount",
9025
9025
  bubbles: !1,
9026
9026
  cancelable: !0
9027
9027
  }, db = /* @__PURE__ */ ve((e, t) => {
9028
- const { loop: r = !1, trapped: o = !1, onMountAutoFocus: a, onUnmountAutoFocus: n, ...i } = e, [l, s] = me(null), v = Zi(a), x = Zi(n), c = he(null), T = rb(
9028
+ const { loop: r = !1, trapped: o = !1, onMountAutoFocus: a, onUnmountAutoFocus: n, ...i } = e, [l, s] = me(null), v = Zi(a), h = Zi(n), c = he(null), T = rb(
9029
9029
  t,
9030
9030
  (y) => s(y)
9031
9031
  ), b = he({
@@ -9039,21 +9039,21 @@ const ba = "focusScope.autoFocusOnMount", va = "focusScope.autoFocusOnUnmount",
9039
9039
  }).current;
9040
9040
  ee(() => {
9041
9041
  if (o) {
9042
- let y = function(I) {
9042
+ let y = function($) {
9043
9043
  if (b.paused || !l) return;
9044
- const O = I.target;
9045
- l.contains(O) ? c.current = O : vr(c.current, {
9044
+ const W = $.target;
9045
+ l.contains(W) ? c.current = W : vr(c.current, {
9046
9046
  select: !0
9047
9047
  });
9048
- }, w = function(I) {
9048
+ }, w = function($) {
9049
9049
  if (b.paused || !l) return;
9050
- const O = I.relatedTarget;
9051
- O !== null && (l.contains(O) || vr(c.current, {
9050
+ const W = $.relatedTarget;
9051
+ W !== null && (l.contains(W) || vr(c.current, {
9052
9052
  select: !0
9053
9053
  }));
9054
- }, _ = function(I) {
9054
+ }, _ = function($) {
9055
9055
  if (document.activeElement === document.body)
9056
- for (const F of I) F.removedNodes.length > 0 && vr(l);
9056
+ for (const U of $) U.removedNodes.length > 0 && vr(l);
9057
9057
  };
9058
9058
  document.addEventListener("focusin", y), document.addEventListener("focusout", w);
9059
9059
  const H = new MutationObserver(_);
@@ -9081,26 +9081,26 @@ const ba = "focusScope.autoFocusOnMount", va = "focusScope.autoFocusOnUnmount",
9081
9081
  return () => {
9082
9082
  l.removeEventListener(ba, v), setTimeout(() => {
9083
9083
  const _ = new CustomEvent(va, ji);
9084
- l.addEventListener(va, x), l.dispatchEvent(_), _.defaultPrevented || vr(y ?? document.body, {
9084
+ l.addEventListener(va, h), l.dispatchEvent(_), _.defaultPrevented || vr(y ?? document.body, {
9085
9085
  select: !0
9086
- }), l.removeEventListener(va, x), Ki.remove(b);
9086
+ }), l.removeEventListener(va, h), Ki.remove(b);
9087
9087
  }, 0);
9088
9088
  };
9089
9089
  }
9090
9090
  }, [
9091
9091
  l,
9092
9092
  v,
9093
- x,
9093
+ h,
9094
9094
  b
9095
9095
  ]);
9096
9096
  const f = X((y) => {
9097
9097
  if (!r && !o || b.paused) return;
9098
9098
  const w = y.key === "Tab" && !y.altKey && !y.ctrlKey && !y.metaKey, _ = document.activeElement;
9099
9099
  if (w && _) {
9100
- const H = y.currentTarget, [I, O] = ub(H);
9101
- I && O ? !y.shiftKey && _ === O ? (y.preventDefault(), r && vr(I, {
9100
+ const H = y.currentTarget, [$, W] = ub(H);
9101
+ $ && W ? !y.shiftKey && _ === W ? (y.preventDefault(), r && vr($, {
9102
9102
  select: !0
9103
- })) : y.shiftKey && _ === I && (y.preventDefault(), r && vr(O, {
9103
+ })) : y.shiftKey && _ === $ && (y.preventDefault(), r && vr(W, {
9104
9104
  select: !0
9105
9105
  })) : _ === H && y.preventDefault();
9106
9106
  }
@@ -9256,7 +9256,7 @@ const Qb = ve(function(t, r) {
9256
9256
  onValueChange: l,
9257
9257
  validationStatus: s,
9258
9258
  children: v,
9259
- value: x,
9259
+ value: h,
9260
9260
  height: c,
9261
9261
  style: T,
9262
9262
  placeholder: b,
@@ -9264,17 +9264,17 @@ const Qb = ve(function(t, r) {
9264
9264
  triggerRef: y,
9265
9265
  onFocus: w,
9266
9266
  options: _
9267
- } = t, H = r ? sr(y, r) : y, I = x + "", O = X(
9268
- (F) => {
9267
+ } = t, H = r ? sr(y, r) : y, $ = h + "", W = X(
9268
+ (U) => {
9269
9269
  var V;
9270
- const j = (V = Array.from(_.values()).find(
9271
- (R) => R.value + "" === F
9270
+ const Z = (V = Array.from(_.values()).find(
9271
+ (R) => R.value + "" === U
9272
9272
  )) == null ? void 0 : V.value;
9273
- l(j);
9273
+ l(Z);
9274
9274
  },
9275
9275
  [l, _]
9276
9276
  );
9277
- return /* @__PURE__ */ m(la, { Component: Wl, children: /* @__PURE__ */ J(pd, { value: I, onValueChange: O, children: [
9277
+ return /* @__PURE__ */ m(la, { Component: Wl, children: /* @__PURE__ */ J(pd, { value: $, onValueChange: W, children: [
9278
9278
  /* @__PURE__ */ J(
9279
9279
  hd,
9280
9280
  {
@@ -9320,7 +9320,7 @@ const Qb = ve(function(t, r) {
9320
9320
  validationStatus: l = "none",
9321
9321
  onDidChange: s = de,
9322
9322
  onFocus: v = de,
9323
- onBlur: x = de,
9323
+ onBlur: h = de,
9324
9324
  registerComponentApi: c,
9325
9325
  emptyListTemplate: T,
9326
9326
  optionLabelRenderer: b,
@@ -9329,46 +9329,46 @@ const Qb = ve(function(t, r) {
9329
9329
  dropdownHeight: w,
9330
9330
  children: _,
9331
9331
  autoFocus: H = !1,
9332
- searchable: I = !1,
9333
- multiSelect: O = !1,
9334
- label: F,
9335
- labelPosition: j,
9332
+ searchable: $ = !1,
9333
+ multiSelect: W = !1,
9334
+ label: U,
9335
+ labelPosition: Z,
9336
9336
  labelWidth: V,
9337
9337
  labelBreak: R,
9338
9338
  required: N = !1
9339
- }, W) {
9339
+ }, O) {
9340
9340
  var ie;
9341
- const [h, p] = me(null), [g, C] = me(!1), [L, q] = me(0), z = he(), { root: A } = tr(), [B, P] = me(/* @__PURE__ */ new Set());
9341
+ const [x, p] = me(null), [g, C] = me(!1), [L, q] = me(0), z = he(), { root: A } = tr(), [B, P] = me(/* @__PURE__ */ new Set());
9342
9342
  ee(() => {
9343
9343
  r !== void 0 && i({ value: r }, { initial: !0 });
9344
9344
  }, [r, i]), ee(() => {
9345
9345
  var Y;
9346
- const oe = h;
9346
+ const oe = x;
9347
9347
  return (Y = z.current) == null || Y.disconnect(), oe && (z.current = new ResizeObserver(() => q(oe.clientWidth)), z.current.observe(oe)), () => {
9348
9348
  var D;
9349
9349
  (D = z.current) == null || D.disconnect();
9350
9350
  };
9351
- }, [h]);
9351
+ }, [x]);
9352
9352
  const M = X(
9353
9353
  (oe) => {
9354
- const Y = O ? Array.isArray(o) ? o.includes(oe) ? o.filter((D) => D !== oe) : [...o, oe] : [oe] : oe === o ? null : oe;
9354
+ const Y = W ? Array.isArray(o) ? o.includes(oe) ? o.filter((D) => D !== oe) : [...o, oe] : [oe] : oe === o ? null : oe;
9355
9355
  i({ value: Y }), s(Y), C(!1);
9356
9356
  },
9357
- [O, o, i, s]
9357
+ [W, o, i, s]
9358
9358
  ), E = X(() => {
9359
- const oe = O ? [] : "";
9359
+ const oe = W ? [] : "";
9360
9360
  i({ value: oe }), s(oe);
9361
- }, [O, i, s]), G = X(() => {
9362
- h == null || h.focus();
9363
- }, [h]), Z = Le((oe) => {
9361
+ }, [W, i, s]), G = X(() => {
9362
+ x == null || x.focus();
9363
+ }, [x]), j = Le((oe) => {
9364
9364
  M(oe);
9365
9365
  });
9366
9366
  ee(() => {
9367
9367
  c == null || c({
9368
9368
  focus: G,
9369
- setValue: Z
9369
+ setValue: j
9370
9370
  });
9371
- }, [G, c, Z]);
9371
+ }, [G, c, j]);
9372
9372
  const K = ce(
9373
9373
  () => T ?? /* @__PURE__ */ J("div", { className: Se.selectEmpty, children: [
9374
9374
  /* @__PURE__ */ m(ke, { name: "noresult" }),
@@ -9390,27 +9390,27 @@ const Qb = ve(function(t, r) {
9390
9390
  [te, be]
9391
9391
  ), Re = ce(
9392
9392
  () => ({
9393
- multiSelect: O,
9393
+ multiSelect: W,
9394
9394
  value: o,
9395
9395
  optionLabelRenderer: b,
9396
9396
  onChange: M
9397
9397
  }),
9398
- [O, M, o, b]
9398
+ [W, M, o, b]
9399
9399
  );
9400
- return /* @__PURE__ */ m(_l.Provider, { value: Re, children: /* @__PURE__ */ m(ni.Provider, { value: Me, children: I || O ? /* @__PURE__ */ J(la, { Component: Rl, children: [
9400
+ return /* @__PURE__ */ m(_l.Provider, { value: Re, children: /* @__PURE__ */ m(ni.Provider, { value: Me, children: $ || W ? /* @__PURE__ */ J(la, { Component: Rl, children: [
9401
9401
  _,
9402
9402
  /* @__PURE__ */ m(
9403
9403
  yt,
9404
9404
  {
9405
- ref: W,
9406
- labelPosition: j,
9407
- label: F,
9405
+ ref: O,
9406
+ labelPosition: Z,
9407
+ label: U,
9408
9408
  labelWidth: V,
9409
9409
  labelBreak: R,
9410
9410
  required: N,
9411
9411
  enabled: a,
9412
9412
  onFocus: v,
9413
- onBlur: x,
9413
+ onBlur: h,
9414
9414
  style: y,
9415
9415
  children: /* @__PURE__ */ J(Rn, { open: g, onOpenChange: C, modal: !1, children: [
9416
9416
  /* @__PURE__ */ m(Wn, { asChild: !0, children: /* @__PURE__ */ J(
@@ -9419,17 +9419,17 @@ const Qb = ve(function(t, r) {
9419
9419
  id: t,
9420
9420
  ref: p,
9421
9421
  onFocus: v,
9422
- onBlur: x,
9422
+ onBlur: h,
9423
9423
  disabled: !a,
9424
9424
  "aria-expanded": g,
9425
9425
  onClick: () => C((oe) => !oe),
9426
9426
  className: le(Se.selectTrigger, Se[l], {
9427
9427
  [Se.disabled]: !a,
9428
- [Se.multi]: O
9428
+ [Se.multi]: W
9429
9429
  }),
9430
9430
  autoFocus: H,
9431
9431
  children: [
9432
- O ? Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ m("div", { className: Se.badgeListContainer, children: /* @__PURE__ */ m("div", { className: Se.badgeList, children: o.map(
9432
+ W ? Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ m("div", { className: Se.badgeListContainer, children: /* @__PURE__ */ m("div", { className: Se.badgeList, children: o.map(
9433
9433
  (oe) => {
9434
9434
  var Y;
9435
9435
  return f ? f(
@@ -9453,7 +9453,7 @@ const Qb = ve(function(t, r) {
9453
9453
  }
9454
9454
  ) }) }) : /* @__PURE__ */ m("span", { className: Se.placeholder, children: n || "" }) : o != null ? /* @__PURE__ */ m("div", { children: (ie = Array.from(B).find((oe) => oe.value === o)) == null ? void 0 : ie.label }) : /* @__PURE__ */ m("span", { className: Se.placeholder, children: n || "" }),
9455
9455
  /* @__PURE__ */ J("div", { className: Se.actions, children: [
9456
- O && Array.isArray(o) && o.length > 0 && /* @__PURE__ */ m(
9456
+ W && Array.isArray(o) && o.length > 0 && /* @__PURE__ */ m(
9457
9457
  ke,
9458
9458
  {
9459
9459
  name: "close",
@@ -9476,10 +9476,10 @@ const Qb = ve(function(t, r) {
9476
9476
  zn,
9477
9477
  {
9478
9478
  className: Se.command,
9479
- shouldFilter: I,
9479
+ shouldFilter: $,
9480
9480
  filter: (oe, Y, D) => (oe + " " + D.join(" ")).toLowerCase().includes(Y.toLowerCase()) ? 1 : 0,
9481
9481
  children: [
9482
- I ? /* @__PURE__ */ J("div", { className: Se.commandInputContainer, children: [
9482
+ $ ? /* @__PURE__ */ J("div", { className: Se.commandInputContainer, children: [
9483
9483
  /* @__PURE__ */ m(ke, { name: "search" }),
9484
9484
  /* @__PURE__ */ m(
9485
9485
  _a,
@@ -9516,14 +9516,14 @@ const Qb = ve(function(t, r) {
9516
9516
  ] }) : /* @__PURE__ */ m(
9517
9517
  Qb,
9518
9518
  {
9519
- ref: W,
9519
+ ref: O,
9520
9520
  value: o,
9521
9521
  options: B,
9522
9522
  onValueChange: M,
9523
9523
  id: t,
9524
9524
  style: y,
9525
9525
  onFocus: v,
9526
- onBlur: x,
9526
+ onBlur: h,
9527
9527
  enabled: a,
9528
9528
  validationStatus: l,
9529
9529
  triggerRef: p,
@@ -9534,7 +9534,7 @@ const Qb = ve(function(t, r) {
9534
9534
  }
9535
9535
  ) }) });
9536
9536
  }), jb = ve(function(t, r) {
9537
- const o = po(), { label: a, value: n, enabled: i = !0, keywords: l } = t, { value: s, onChange: v, multi: x, optionLabelRenderer: c } = Al(), T = Array.isArray(s) && x ? s.includes(n) : s === n;
9537
+ const o = po(), { label: a, value: n, enabled: i = !0, keywords: l } = t, { value: s, onChange: v, multi: h, optionLabelRenderer: c } = Al(), T = Array.isArray(s) && h ? s.includes(n) : s === n;
9538
9538
  return /* @__PURE__ */ J(
9539
9539
  Xa,
9540
9540
  {
@@ -9599,7 +9599,7 @@ const Jb = `'{"gap-RadioGroupOption": "var(--xmlui-gap-RadioGroupOption)", "Inpu
9599
9599
  labelPosition: l,
9600
9600
  labelWidth: s,
9601
9601
  labelBreak: v,
9602
- required: x = !1,
9602
+ required: h = !1,
9603
9603
  updateState: c = de,
9604
9604
  onDidChange: T = de,
9605
9605
  onFocus: b = de,
@@ -9608,26 +9608,26 @@ const Jb = `'{"gap-RadioGroupOption": "var(--xmlui-gap-RadioGroupOption)", "Inpu
9608
9608
  registerComponentApi: w,
9609
9609
  style: _
9610
9610
  }, H) {
9611
- const [I, O] = Ne.useState(!1);
9611
+ const [$, W] = Ne.useState(!1);
9612
9612
  ee(() => {
9613
9613
  c({ value: o }, { initial: !0 });
9614
9614
  }, [o, c]);
9615
- const F = X(
9616
- (h) => {
9617
- c({ value: h }), T(h);
9615
+ const U = X(
9616
+ (x) => {
9617
+ c({ value: x }), T(x);
9618
9618
  },
9619
9619
  [T, c]
9620
- ), j = X(
9621
- (h) => {
9622
- F(h);
9620
+ ), Z = X(
9621
+ (x) => {
9622
+ U(x);
9623
9623
  },
9624
- [F]
9624
+ [U]
9625
9625
  ), V = X(() => {
9626
- O(!0), b == null || b();
9626
+ W(!0), b == null || b();
9627
9627
  }, [b]), R = X(() => {
9628
- O(!1), f == null || f();
9629
- }, [f]), N = Le((h) => {
9630
- F(h);
9628
+ W(!1), f == null || f();
9629
+ }, [f]), N = Le((x) => {
9630
+ U(x);
9631
9631
  });
9632
9632
  ee(() => {
9633
9633
  w == null || w({
@@ -9639,7 +9639,7 @@ const Jb = `'{"gap-RadioGroupOption": "var(--xmlui-gap-RadioGroupOption)", "Inpu
9639
9639
  w,
9640
9640
  N
9641
9641
  ]);
9642
- const W = ce(() => ({ value: r, status: n }), [r, n]);
9642
+ const O = ce(() => ({ value: r, status: n }), [r, n]);
9643
9643
  return /* @__PURE__ */ m(
9644
9644
  yt,
9645
9645
  {
@@ -9648,22 +9648,22 @@ const Jb = `'{"gap-RadioGroupOption": "var(--xmlui-gap-RadioGroupOption)", "Inpu
9648
9648
  label: i,
9649
9649
  labelWidth: s,
9650
9650
  labelBreak: v,
9651
- required: x,
9651
+ required: h,
9652
9652
  enabled: a,
9653
9653
  onFocus: b,
9654
9654
  onBlur: f,
9655
9655
  style: _,
9656
- children: /* @__PURE__ */ m(la, { Component: cv, children: /* @__PURE__ */ m(Ol.Provider, { value: W, children: /* @__PURE__ */ m(
9656
+ children: /* @__PURE__ */ m(la, { Component: cv, children: /* @__PURE__ */ m(Ol.Provider, { value: O, children: /* @__PURE__ */ m(
9657
9657
  Aa.Root,
9658
9658
  {
9659
9659
  id: t,
9660
9660
  onBlur: R,
9661
9661
  onFocus: V,
9662
- onValueChange: j,
9662
+ onValueChange: Z,
9663
9663
  value: r,
9664
9664
  disabled: !a,
9665
9665
  className: le(nt.radioGroupContainer, {
9666
- [nt.focused]: I,
9666
+ [nt.focused]: $,
9667
9667
  [nt.disabled]: !a
9668
9668
  }),
9669
9669
  children: y
@@ -9733,7 +9733,7 @@ const Jb = `'{"gap-RadioGroupOption": "var(--xmlui-gap-RadioGroupOption)", "Inpu
9733
9733
  );
9734
9734
  }, yv = () => {
9735
9735
  }, Cv = ({ maxRows: e, minRows: t, onChange: r = yv, style: o, ...a }, n) => {
9736
- const i = he(null), l = Tv(i, n), [s, v] = Pe.useState(), [x, c] = Pe.useState();
9736
+ const i = he(null), l = Tv(i, n), [s, v] = Pe.useState(), [h, c] = Pe.useState();
9737
9737
  return ee(() => {
9738
9738
  if (!i.current) return;
9739
9739
  const T = getComputedStyle(i.current), b = parseFloat(T.lineHeight), f = parseFloat(T.paddingTop) + parseFloat(T.paddingBottom), y = parseFloat(T.borderTop) + parseFloat(T.borderBottom), w = (T.boxSizing === "border-box" ? y : 0) + f;
@@ -9744,7 +9744,7 @@ const Jb = `'{"gap-RadioGroupOption": "var(--xmlui-gap-RadioGroupOption)", "Inpu
9744
9744
  ref: l,
9745
9745
  ...a,
9746
9746
  onChange: r,
9747
- style: { ...o, minHeight: s, maxHeight: x }
9747
+ style: { ...o, minHeight: s, maxHeight: h }
9748
9748
  }
9749
9749
  );
9750
9750
  }, kv = Pe.forwardRef(Cv), Sv = {
@@ -9761,7 +9761,7 @@ const Jb = `'{"gap-RadioGroupOption": "var(--xmlui-gap-RadioGroupOption)", "Inpu
9761
9761
  updateState: l = de,
9762
9762
  validationStatus: s,
9763
9763
  autoFocus: v = !1,
9764
- initialValue: x = "",
9764
+ initialValue: h = "",
9765
9765
  resize: c,
9766
9766
  onDidChange: T = de,
9767
9767
  onFocus: b = de,
@@ -9770,15 +9770,15 @@ const Jb = `'{"gap-RadioGroupOption": "var(--xmlui-gap-RadioGroupOption)", "Inpu
9770
9770
  enterSubmits: w = !0,
9771
9771
  escResets: _,
9772
9772
  style: H,
9773
- registerComponentApi: I,
9774
- autoSize: O,
9775
- maxRows: F,
9776
- minRows: j,
9773
+ registerComponentApi: $,
9774
+ autoSize: W,
9775
+ maxRows: U,
9776
+ minRows: Z,
9777
9777
  maxLength: V,
9778
9778
  rows: R = 2,
9779
9779
  enabled: N = !0,
9780
- label: W,
9781
- labelPosition: h,
9780
+ label: O,
9781
+ labelPosition: x,
9782
9782
  labelWidth: p,
9783
9783
  labelBreak: g
9784
9784
  }, C) {
@@ -9794,11 +9794,11 @@ const Jb = `'{"gap-RadioGroupOption": "var(--xmlui-gap-RadioGroupOption)", "Inpu
9794
9794
  [P]
9795
9795
  );
9796
9796
  ee(() => {
9797
- l({ value: x }, { initial: !0 });
9798
- }, [x, l]);
9797
+ l({ value: h }, { initial: !0 });
9798
+ }, [h, l]);
9799
9799
  const E = (ie) => i ? !0 : (ie.preventDefault(), !1), G = () => {
9800
9800
  B(!0), b == null || b();
9801
- }, Z = () => {
9801
+ }, j = () => {
9802
9802
  B(!1), f == null || f();
9803
9803
  }, K = X(() => {
9804
9804
  setTimeout(() => {
@@ -9828,12 +9828,12 @@ const Jb = `'{"gap-RadioGroupOption": "var(--xmlui-gap-RadioGroupOption)", "Inpu
9828
9828
  ie && (ie.setSelectionRange(q, q), z(null));
9829
9829
  }
9830
9830
  }, [r, q, L]), ee(() => {
9831
- I == null || I({
9831
+ $ == null || $({
9832
9832
  focus: K,
9833
9833
  insert: te,
9834
9834
  setValue: be
9835
9835
  });
9836
- }, [K, te, I, be]);
9836
+ }, [K, te, $, be]);
9837
9837
  const Me = X(
9838
9838
  (ie) => {
9839
9839
  var oe, Y;
@@ -9863,7 +9863,7 @@ const Jb = `'{"gap-RadioGroupOption": "var(--xmlui-gap-RadioGroupOption)", "Inpu
9863
9863
  onChange: M,
9864
9864
  onCopy: E,
9865
9865
  onFocus: G,
9866
- onBlur: Z,
9866
+ onBlur: j,
9867
9867
  onKeyDown: Me,
9868
9868
  autoComplete: "off"
9869
9869
  };
@@ -9871,8 +9871,8 @@ const Jb = `'{"gap-RadioGroupOption": "var(--xmlui-gap-RadioGroupOption)", "Inpu
9871
9871
  yt,
9872
9872
  {
9873
9873
  ref: C,
9874
- labelPosition: h,
9875
- label: W,
9874
+ labelPosition: x,
9875
+ label: O,
9876
9876
  labelWidth: p,
9877
9877
  labelBreak: g,
9878
9878
  required: a,
@@ -9885,18 +9885,18 @@ const Jb = `'{"gap-RadioGroupOption": "var(--xmlui-gap-RadioGroupOption)", "Inpu
9885
9885
  {
9886
9886
  ...Re,
9887
9887
  style: H,
9888
- maxRows: F,
9889
- minRows: j,
9888
+ maxRows: U,
9889
+ minRows: Z,
9890
9890
  rows: R
9891
9891
  }
9892
9892
  )
9893
9893
  }
9894
- ) : O || !fi(F) || !fi(j) ? /* @__PURE__ */ m(
9894
+ ) : W || !fi(U) || !fi(Z) ? /* @__PURE__ */ m(
9895
9895
  yt,
9896
9896
  {
9897
9897
  ref: C,
9898
- labelPosition: h,
9899
- label: W,
9898
+ labelPosition: x,
9899
+ label: O,
9900
9900
  labelWidth: p,
9901
9901
  labelBreak: g,
9902
9902
  required: a,
@@ -9909,8 +9909,8 @@ const Jb = `'{"gap-RadioGroupOption": "var(--xmlui-gap-RadioGroupOption)", "Inpu
9909
9909
  {
9910
9910
  ...Re,
9911
9911
  style: H,
9912
- maxRows: F,
9913
- minRows: j,
9912
+ maxRows: U,
9913
+ minRows: Z,
9914
9914
  rows: R
9915
9915
  }
9916
9916
  )
@@ -9919,8 +9919,8 @@ const Jb = `'{"gap-RadioGroupOption": "var(--xmlui-gap-RadioGroupOption)", "Inpu
9919
9919
  yt,
9920
9920
  {
9921
9921
  ref: C,
9922
- labelPosition: h,
9923
- label: W,
9922
+ labelPosition: x,
9923
+ label: O,
9924
9924
  labelWidth: p,
9925
9925
  labelBreak: g,
9926
9926
  required: a,
@@ -9977,7 +9977,7 @@ const Fv = ve(function({
9977
9977
  validationStatus: l = "none",
9978
9978
  onDidChange: s = de,
9979
9979
  onFocus: v = de,
9980
- onBlur: x = de,
9980
+ onBlur: h = de,
9981
9981
  registerComponentApi: c,
9982
9982
  optionRenderer: T = Dv,
9983
9983
  emptyListTemplate: b,
@@ -9986,13 +9986,13 @@ const Fv = ve(function({
9986
9986
  autoFocus: w = !1,
9987
9987
  dropdownHeight: _,
9988
9988
  multi: H = !1,
9989
- label: I,
9990
- labelPosition: O,
9991
- labelWidth: F,
9992
- labelBreak: j,
9989
+ label: $,
9990
+ labelPosition: W,
9991
+ labelWidth: U,
9992
+ labelBreak: Z,
9993
9993
  required: V = !1
9994
9994
  }, R) {
9995
- const [N, W] = me(null), h = he(null), [p, g] = me(!1), C = he(null), [L, q] = me(/* @__PURE__ */ new Set()), [z, A] = me(""), { root: B } = tr(), [P, M] = me(0), E = he();
9995
+ const [N, O] = me(null), x = he(null), [p, g] = me(!1), C = he(null), [L, q] = me(/* @__PURE__ */ new Set()), [z, A] = me(""), { root: B } = tr(), [P, M] = me(0), E = he();
9996
9996
  ee(() => {
9997
9997
  r !== void 0 && i({ value: r || [] }, { initial: !0 });
9998
9998
  }, [r, i]), ee(() => {
@@ -10015,7 +10015,7 @@ const Fv = ve(function({
10015
10015
  var D;
10016
10016
  H || A(((D = Array.from(L).find((se) => se.value === o)) == null ? void 0 : D.labelText) || "");
10017
10017
  }, [H, L, o]);
10018
- const Z = X(() => {
10018
+ const j = X(() => {
10019
10019
  const D = H ? [] : "";
10020
10020
  A(""), i({ value: D }), s(D);
10021
10021
  }, [H, i, s]), K = X((D) => {
@@ -10026,7 +10026,7 @@ const Fv = ve(function({
10026
10026
  return _e.delete(D), _e;
10027
10027
  });
10028
10028
  }, []), be = (D) => {
10029
- C.current && !C.current.contains(D.target) && h.current && !h.current.contains(D.target) && (g(!1), h.current.blur());
10029
+ C.current && !C.current.contains(D.target) && x.current && !x.current.contains(D.target) && (g(!1), x.current.blur());
10030
10030
  };
10031
10031
  ee(() => (p ? (document.addEventListener("mousedown", be), document.addEventListener("touchend", be)) : (document.removeEventListener("mousedown", be), document.removeEventListener("touchend", be)), () => {
10032
10032
  document.removeEventListener("mousedown", be), document.removeEventListener("touchend", be);
@@ -10039,8 +10039,8 @@ const Fv = ve(function({
10039
10039
  [b]
10040
10040
  ), Re = X(() => {
10041
10041
  var D;
10042
- (D = h == null ? void 0 : h.current) == null || D.focus();
10043
- }, [h]), ie = Le((D) => {
10042
+ (D = x == null ? void 0 : x.current) == null || D.focus();
10043
+ }, [x]), ie = Le((D) => {
10044
10044
  i({ value: Array.isArray(D) ? D : [D] });
10045
10045
  });
10046
10046
  ee(() => {
@@ -10069,14 +10069,14 @@ const Fv = ve(function({
10069
10069
  yt,
10070
10070
  {
10071
10071
  ref: R,
10072
- labelPosition: O,
10073
- label: I,
10074
- labelWidth: F,
10075
- labelBreak: j,
10072
+ labelPosition: W,
10073
+ label: $,
10074
+ labelWidth: U,
10075
+ labelBreak: Z,
10076
10076
  required: V,
10077
10077
  enabled: a,
10078
10078
  onFocus: v,
10079
- onBlur: x,
10079
+ onBlur: h,
10080
10080
  style: f,
10081
10081
  children: /* @__PURE__ */ m(Rn, { open: p, children: /* @__PURE__ */ J(
10082
10082
  zn,
@@ -10088,15 +10088,15 @@ const Fv = ve(function({
10088
10088
  /* @__PURE__ */ m(Wn, { style: { width: "100%" }, children: /* @__PURE__ */ J(
10089
10089
  "div",
10090
10090
  {
10091
- ref: W,
10091
+ ref: O,
10092
10092
  onClick: () => {
10093
10093
  var D;
10094
- a && ((D = h == null ? void 0 : h.current) == null || D.focus());
10094
+ a && ((D = x == null ? void 0 : x.current) == null || D.focus());
10095
10095
  },
10096
10096
  style: f,
10097
10097
  className: le(Je.badgeListWrapper, Je[l], {
10098
10098
  [Je.disabled]: !a,
10099
- [Je.focused]: document.activeElement === h.current
10099
+ [Je.focused]: document.activeElement === x.current
10100
10100
  }),
10101
10101
  children: [
10102
10102
  H ? /* @__PURE__ */ J("div", { className: Je.badgeList, children: [
@@ -10121,7 +10121,7 @@ const Fv = ve(function({
10121
10121
  {
10122
10122
  id: t,
10123
10123
  autoFocus: w,
10124
- ref: h,
10124
+ ref: x,
10125
10125
  value: z,
10126
10126
  disabled: !a,
10127
10127
  onValueChange: (D) => {
@@ -10131,7 +10131,7 @@ const Fv = ve(function({
10131
10131
  g(!0), v();
10132
10132
  },
10133
10133
  onBlur: () => {
10134
- g(!1), x();
10134
+ g(!1), h();
10135
10135
  },
10136
10136
  placeholder: n,
10137
10137
  className: Je.commandInput
@@ -10142,7 +10142,7 @@ const Fv = ve(function({
10142
10142
  {
10143
10143
  id: t,
10144
10144
  autoFocus: w,
10145
- ref: h,
10145
+ ref: x,
10146
10146
  value: z,
10147
10147
  disabled: !a,
10148
10148
  onValueChange: (D) => {
@@ -10152,7 +10152,7 @@ const Fv = ve(function({
10152
10152
  g(!0), v();
10153
10153
  },
10154
10154
  onBlur: () => {
10155
- g(!1), x();
10155
+ g(!1), h();
10156
10156
  },
10157
10157
  placeholder: n,
10158
10158
  className: Je.commandInput
@@ -10163,7 +10163,7 @@ const Fv = ve(function({
10163
10163
  "button",
10164
10164
  {
10165
10165
  onClick: (D) => {
10166
- D.stopPropagation(), Z();
10166
+ D.stopPropagation(), j();
10167
10167
  },
10168
10168
  children: /* @__PURE__ */ m(ke, { name: "close" })
10169
10169
  }
@@ -10187,7 +10187,7 @@ const Fv = ve(function({
10187
10187
  className: Je.commandList,
10188
10188
  onMouseUp: () => {
10189
10189
  var D;
10190
- (D = h == null ? void 0 : h.current) == null || D.focus();
10190
+ (D = x == null ? void 0 : x.current) == null || D.focus();
10191
10191
  },
10192
10192
  style: { height: _ },
10193
10193
  children: [
@@ -10247,8 +10247,8 @@ function qv({ value: e, label: t, enabled: r = !0, keywords: o }) {
10247
10247
  disabled: !r,
10248
10248
  value: `${e}`,
10249
10249
  className: Je.autoCompleteOption,
10250
- onMouseDown: (x) => {
10251
- x.preventDefault(), x.stopPropagation();
10250
+ onMouseDown: (h) => {
10251
+ h.preventDefault(), h.stopPropagation();
10252
10252
  },
10253
10253
  onSelect: () => {
10254
10254
  i(e);
@@ -10284,7 +10284,7 @@ const Gv = `'{"Input:backgroundColor-track-Slider": "var(--xmlui-backgroundColor
10284
10284
  onFocus: l = de,
10285
10285
  onBlur: s = de,
10286
10286
  registerComponentApi: v,
10287
- enabled: x = !0,
10287
+ enabled: h = !0,
10288
10288
  value: c,
10289
10289
  autoFocus: T,
10290
10290
  readOnly: b,
@@ -10293,19 +10293,19 @@ const Gv = `'{"Input:backgroundColor-track-Slider": "var(--xmlui-backgroundColor
10293
10293
  labelPosition: w,
10294
10294
  labelWidth: _,
10295
10295
  labelBreak: H,
10296
- required: I,
10297
- validationStatus: O = "none",
10298
- initialValue: F,
10299
- minStepsBetweenThumbs: j,
10296
+ required: $,
10297
+ validationStatus: W = "none",
10298
+ initialValue: U,
10299
+ minStepsBetweenThumbs: Z,
10300
10300
  rangeStyle: V,
10301
10301
  thumbStyle: R
10302
10302
  }, N) => {
10303
- const W = he(null), [h, p] = Ne.useState([]);
10303
+ const O = he(null), [x, p] = Ne.useState([]);
10304
10304
  ee(() => {
10305
10305
  typeof c == "object" ? p(c) : typeof c == "number" && p([c]);
10306
10306
  }, [c]), ee(() => {
10307
- n({ value: F }, { initial: !0 });
10308
- }, [F, n]);
10307
+ n({ value: U }, { initial: !0 });
10308
+ }, [U, n]);
10309
10309
  const g = X(
10310
10310
  (B) => {
10311
10311
  n({ value: B }), i(B);
@@ -10322,7 +10322,7 @@ const Gv = `'{"Input:backgroundColor-track-Slider": "var(--xmlui-backgroundColor
10322
10322
  s == null || s();
10323
10323
  }, [s]), z = X(() => {
10324
10324
  var B;
10325
- (B = W.current) == null || B.focus();
10325
+ (B = O.current) == null || B.focus();
10326
10326
  }, []), A = Le((B) => {
10327
10327
  g(B);
10328
10328
  });
@@ -10338,8 +10338,8 @@ const Gv = `'{"Input:backgroundColor-track-Slider": "var(--xmlui-backgroundColor
10338
10338
  label: y,
10339
10339
  labelWidth: _,
10340
10340
  labelBreak: H,
10341
- required: I,
10342
- enabled: x,
10341
+ required: $,
10342
+ enabled: h,
10343
10343
  onFocus: l,
10344
10344
  onBlur: s,
10345
10345
  style: e,
@@ -10347,8 +10347,8 @@ const Gv = `'{"Input:backgroundColor-track-Slider": "var(--xmlui-backgroundColor
10347
10347
  children: /* @__PURE__ */ J(
10348
10348
  Pn,
10349
10349
  {
10350
- minStepsBetweenThumbs: j,
10351
- ref: W,
10350
+ minStepsBetweenThumbs: Z,
10351
+ ref: O,
10352
10352
  tabIndex: f,
10353
10353
  "aria-readonly": b,
10354
10354
  className: le(Ut.sliderRoot),
@@ -10357,28 +10357,28 @@ const Gv = `'{"Input:backgroundColor-track-Slider": "var(--xmlui-backgroundColor
10357
10357
  min: r,
10358
10358
  inverted: a,
10359
10359
  step: t,
10360
- disabled: !x,
10360
+ disabled: !h,
10361
10361
  onFocus: L,
10362
10362
  onBlur: q,
10363
10363
  onValueChange: C,
10364
- "aria-required": I,
10365
- value: h,
10364
+ "aria-required": $,
10365
+ value: x,
10366
10366
  autoFocus: T,
10367
10367
  children: [
10368
10368
  /* @__PURE__ */ m(
10369
10369
  Bd,
10370
10370
  {
10371
10371
  className: le(Ut.sliderTrack, {
10372
- [Ut.disabled]: !x,
10372
+ [Ut.disabled]: !h,
10373
10373
  [Ut.readOnly]: b,
10374
- [Ut.error]: O === "error",
10375
- [Ut.warning]: O === "warning",
10376
- [Ut.valid]: O === "valid"
10374
+ [Ut.error]: W === "error",
10375
+ [Ut.warning]: W === "warning",
10376
+ [Ut.valid]: W === "valid"
10377
10377
  }),
10378
10378
  children: /* @__PURE__ */ m(Id, { className: Ut.sliderRange, style: V })
10379
10379
  }
10380
10380
  ),
10381
- h == null ? void 0 : h.map((B, P) => /* @__PURE__ */ m($d, { className: Ut.sliderThumb, style: R }, P))
10381
+ x == null ? void 0 : x.map((B, P) => /* @__PURE__ */ m($d, { className: Ut.sliderThumb, style: R }, P))
10382
10382
  ]
10383
10383
  }
10384
10384
  )
@@ -10410,7 +10410,7 @@ const ef = `'{"Input:backgroundColor-ColorPicker": "var(--xmlui-backgroundColor-
10410
10410
  value: l = Ho.value,
10411
10411
  autoFocus: s,
10412
10412
  tabIndex: v = -1,
10413
- label: x,
10413
+ label: h,
10414
10414
  labelPosition: c,
10415
10415
  labelWidth: T,
10416
10416
  labelBreak: b,
@@ -10418,29 +10418,29 @@ const ef = `'{"Input:backgroundColor-ColorPicker": "var(--xmlui-backgroundColor-
10418
10418
  validationStatus: y = Ho.validationStatus,
10419
10419
  initialValue: w = Ho.initialValue
10420
10420
  }, _) => {
10421
- const H = he(null), I = X(
10421
+ const H = he(null), $ = X(
10422
10422
  (N) => {
10423
10423
  t({ value: N }), r(N);
10424
10424
  },
10425
10425
  [r, t]
10426
- ), O = X(
10426
+ ), W = X(
10427
10427
  (N) => {
10428
- I(N.target.value);
10428
+ $(N.target.value);
10429
10429
  },
10430
- [I]
10430
+ [$]
10431
10431
  );
10432
10432
  ee(() => {
10433
10433
  t({ value: w }, { initial: !0 });
10434
10434
  }, [w, t]);
10435
- const F = X(() => {
10435
+ const U = X(() => {
10436
10436
  o == null || o();
10437
- }, [o]), j = X(() => {
10437
+ }, [o]), Z = X(() => {
10438
10438
  a == null || a();
10439
10439
  }, [a]), V = X(() => {
10440
10440
  var N;
10441
10441
  (N = H.current) == null || N.focus();
10442
10442
  }, []), R = Le((N) => {
10443
- I(N);
10443
+ $(N);
10444
10444
  });
10445
10445
  return ee(() => {
10446
10446
  n == null || n({
@@ -10451,7 +10451,7 @@ const ef = `'{"Input:backgroundColor-ColorPicker": "var(--xmlui-backgroundColor-
10451
10451
  yt,
10452
10452
  {
10453
10453
  labelPosition: c,
10454
- label: x,
10454
+ label: h,
10455
10455
  labelWidth: T,
10456
10456
  labelBreak: b,
10457
10457
  required: f,
@@ -10470,10 +10470,10 @@ const ef = `'{"Input:backgroundColor-ColorPicker": "var(--xmlui-backgroundColor-
10470
10470
  [oo.valid]: y === "valid"
10471
10471
  }),
10472
10472
  disabled: !i,
10473
- onFocus: F,
10474
- onChange: O,
10473
+ onFocus: U,
10474
+ onChange: W,
10475
10475
  autoFocus: s,
10476
- onBlur: j,
10476
+ onBlur: Z,
10477
10477
  required: f,
10478
10478
  type: "color",
10479
10479
  inputMode: "text",
@@ -10597,7 +10597,7 @@ $n(function({
10597
10597
  labelWidth: l,
10598
10598
  labelBreak: s = Rr.labelBreak,
10599
10599
  children: v,
10600
- validations: x,
10600
+ validations: h,
10601
10601
  onValidate: c,
10602
10602
  customValidationsDebounce: T = Rr.customValidationsDebounce,
10603
10603
  validationMode: b,
@@ -10606,16 +10606,16 @@ $n(function({
10606
10606
  inputRenderer: w,
10607
10607
  ..._
10608
10608
  }) {
10609
- const H = nr((B) => l || B.itemLabelWidth), I = nr(
10609
+ const H = nr((B) => l || B.itemLabelWidth), $ = nr(
10610
10610
  (B) => s !== void 0 ? s : B.itemLabelBreak
10611
- ), O = nr(
10611
+ ), W = nr(
10612
10612
  (B) => i || B.itemLabelPosition || vf[o]
10613
- ), F = nr(
10613
+ ), U = nr(
10614
10614
  (B) => Mi(B.originalSubject, r)
10615
- ), j = F === void 0 ? _.initialValue : F, V = nr((B) => Mi(B.subject, r)), R = nr((B) => B.validationResults[r]), N = nr((B) => B.dispatch), W = nr((B) => B.enabled), h = n && W;
10615
+ ), Z = U === void 0 ? _.initialValue : U, V = nr((B) => Mi(B.subject, r)), R = nr((B) => B.validationResults[r]), N = nr((B) => B.dispatch), O = nr((B) => B.enabled), x = n && O;
10616
10616
  ee(() => {
10617
- N(Hh(r, j));
10618
- }, [r, N, j]), Cx(x, c, V, N, r, T);
10617
+ N(Hh(r, Z));
10618
+ }, [r, N, Z]), Cx(h, c, V, N, r, T);
10619
10619
  const p = X(
10620
10620
  ({ value: B }, P) => {
10621
10621
  P != null && P.initial || N(Bh(r, B));
@@ -10641,7 +10641,7 @@ $n(function({
10641
10641
  value: V,
10642
10642
  updateState: p,
10643
10643
  registerComponentApi: f,
10644
- enabled: h,
10644
+ enabled: x,
10645
10645
  validationStatus: g,
10646
10646
  children: v
10647
10647
  }
@@ -10656,7 +10656,7 @@ $n(function({
10656
10656
  value: V,
10657
10657
  updateState: p,
10658
10658
  registerComponentApi: f,
10659
- enabled: h,
10659
+ enabled: x,
10660
10660
  validationStatus: g,
10661
10661
  children: v
10662
10662
  }
@@ -10670,7 +10670,7 @@ $n(function({
10670
10670
  ..._,
10671
10671
  value: V,
10672
10672
  updateState: p,
10673
- enabled: h,
10673
+ enabled: x,
10674
10674
  validationStatus: g
10675
10675
  }
10676
10676
  );
@@ -10683,7 +10683,7 @@ $n(function({
10683
10683
  ..._,
10684
10684
  value: V,
10685
10685
  updateState: p,
10686
- enabled: h,
10686
+ enabled: x,
10687
10687
  validationStatus: g,
10688
10688
  children: v
10689
10689
  }
@@ -10699,12 +10699,12 @@ $n(function({
10699
10699
  value: V,
10700
10700
  updateState: p,
10701
10701
  registerComponentApi: f,
10702
- enabled: h,
10702
+ enabled: x,
10703
10703
  integersOnly: o === "integer",
10704
10704
  validationStatus: g,
10705
- min: x.minValue,
10706
- max: x.maxValue,
10707
- maxLength: y ?? (x == null ? void 0 : x.maxLength)
10705
+ min: h.minValue,
10706
+ max: h.maxValue,
10707
+ maxLength: y ?? (h == null ? void 0 : h.maxLength)
10708
10708
  }
10709
10709
  );
10710
10710
  break;
@@ -10717,7 +10717,7 @@ $n(function({
10717
10717
  ..._,
10718
10718
  value: V,
10719
10719
  updateState: p,
10720
- enabled: h,
10720
+ enabled: x,
10721
10721
  validationStatus: g,
10722
10722
  variant: o,
10723
10723
  inputRenderer: w
@@ -10733,7 +10733,7 @@ $n(function({
10733
10733
  value: V,
10734
10734
  updateState: p,
10735
10735
  registerComponentApi: f,
10736
- enabled: h,
10736
+ enabled: x,
10737
10737
  validationStatus: g,
10738
10738
  multiple: Ox(_.multiple, !1)
10739
10739
  }
@@ -10748,9 +10748,9 @@ $n(function({
10748
10748
  value: V,
10749
10749
  updateState: p,
10750
10750
  registerComponentApi: f,
10751
- enabled: h,
10751
+ enabled: x,
10752
10752
  validationStatus: g,
10753
- maxLength: y ?? (x == null ? void 0 : x.maxLength)
10753
+ maxLength: y ?? (h == null ? void 0 : h.maxLength)
10754
10754
  }
10755
10755
  );
10756
10756
  break;
@@ -10764,9 +10764,9 @@ $n(function({
10764
10764
  value: V,
10765
10765
  updateState: p,
10766
10766
  registerComponentApi: f,
10767
- enabled: h,
10767
+ enabled: x,
10768
10768
  validationStatus: g,
10769
- maxLength: y ?? (x == null ? void 0 : x.maxLength)
10769
+ maxLength: y ?? (h == null ? void 0 : h.maxLength)
10770
10770
  }
10771
10771
  );
10772
10772
  break;
@@ -10779,9 +10779,9 @@ $n(function({
10779
10779
  value: V,
10780
10780
  updateState: p,
10781
10781
  registerComponentApi: f,
10782
- enabled: h,
10782
+ enabled: x,
10783
10783
  validationStatus: g,
10784
- maxLength: y ?? (x == null ? void 0 : x.maxLength)
10784
+ maxLength: y ?? (h == null ? void 0 : h.maxLength)
10785
10785
  }
10786
10786
  );
10787
10787
  break;
@@ -10794,10 +10794,10 @@ $n(function({
10794
10794
  value: V,
10795
10795
  updateState: p,
10796
10796
  registerComponentApi: f,
10797
- enabled: h,
10797
+ enabled: x,
10798
10798
  validationStatus: g,
10799
- min: x.minValue,
10800
- max: x.maxValue
10799
+ min: h.minValue,
10800
+ max: h.maxValue
10801
10801
  }
10802
10802
  );
10803
10803
  break;
@@ -10810,7 +10810,7 @@ $n(function({
10810
10810
  value: V,
10811
10811
  updateState: p,
10812
10812
  registerComponentApi: f,
10813
- enabled: h,
10813
+ enabled: x,
10814
10814
  validationStatus: g
10815
10815
  }
10816
10816
  );
@@ -10833,12 +10833,12 @@ $n(function({
10833
10833
  return /* @__PURE__ */ m(
10834
10834
  yt,
10835
10835
  {
10836
- labelPosition: O,
10836
+ labelPosition: W,
10837
10837
  label: a,
10838
10838
  labelWidth: H,
10839
- labelBreak: I,
10840
- enabled: h,
10841
- required: x.required,
10839
+ labelBreak: $,
10840
+ enabled: x,
10841
+ required: h.required,
10842
10842
  validationInProgress: R == null ? void 0 : R.partial,
10843
10843
  onFocus: q,
10844
10844
  onBlur: z,
@@ -11974,16 +11974,16 @@ const Xr = "FormItem", Po = vx.filter(
11974
11974
  }));
11975
11975
  }), v = Le((T) => {
11976
11976
  e({ value: n.filter((b) => T.includes(b[t])) });
11977
- }), x = Le(() => {
11977
+ }), h = Le(() => {
11978
11978
  v(dt);
11979
11979
  });
11980
11980
  Io(() => {
11981
11981
  a({
11982
- clearSelection: x,
11982
+ clearSelection: h,
11983
11983
  setSelectedRowIds: v,
11984
11984
  refreshSelection: s
11985
11985
  });
11986
- }, [x, v, a, s]);
11986
+ }, [h, v, a, s]);
11987
11987
  const c = ce(() => ({
11988
11988
  selectedItems: o,
11989
11989
  setSelectedRowIds: v,
@@ -12208,29 +12208,29 @@ function yT({
12208
12208
  enableMultiRowSelection: o,
12209
12209
  onSelectionDidChange: a
12210
12210
  }) {
12211
- const [n, i] = me(-1), [l, s] = me(null), { selectedItems: v, setSelectedRowIds: x, refreshSelection: c, idKey: T } = Ul(), b = ce(() => t.map((W) => W[T]), [T, t]);
12211
+ const [n, i] = me(-1), [l, s] = me(null), { selectedItems: v, setSelectedRowIds: h, refreshSelection: c, idKey: T } = Ul(), b = ce(() => t.map((O) => O[T]), [T, t]);
12212
12212
  ee(() => {
12213
12213
  c(r ? e : dt);
12214
12214
  }, [c, e, r]);
12215
12215
  const f = Kn(o);
12216
12216
  ee(() => {
12217
- f && !o && v.length > 1 && x([v[0][T]]);
12217
+ f && !o && v.length > 1 && h([v[0][T]]);
12218
12218
  }, [
12219
12219
  o,
12220
12220
  T,
12221
12221
  f,
12222
12222
  v,
12223
- x
12223
+ h
12224
12224
  ]), ee(() => {
12225
12225
  r && n !== -1 && !b[n] && b[0] && i(0);
12226
12226
  }, [n, r, i, b]);
12227
12227
  const y = Le(
12228
12228
  // targetIndex: the item affected by an event
12229
12229
  // options: key event options
12230
- (W, h = {}) => {
12230
+ (O, x = {}) => {
12231
12231
  if (!r)
12232
12232
  return;
12233
- const p = b[W], { shiftKey: g, metaKey: C, ctrlKey: L } = h, q = !o || !g && !C && !L;
12233
+ const p = b[O], { shiftKey: g, metaKey: C, ctrlKey: L } = x, q = !o || !g && !C && !L;
12234
12234
  let z, A = [...v.map((B) => B[T])];
12235
12235
  if (q)
12236
12236
  z = {
@@ -12240,7 +12240,7 @@ function yT({
12240
12240
  else if (g) {
12241
12241
  let B, P, M, E;
12242
12242
  if (l) {
12243
- let Z = b.indexOf(l.from), K = b.indexOf(l.to), te = Math.min(Z, K), be = Math.max(Z, K);
12243
+ let j = b.indexOf(l.from), K = b.indexOf(l.to), te = Math.min(j, K), be = Math.max(j, K);
12244
12244
  const Me = b.slice(te, be + 1);
12245
12245
  A = A.filter(
12246
12246
  (oe) => !Me.includes(oe)
@@ -12248,7 +12248,7 @@ function yT({
12248
12248
  let Re = b.indexOf(M), ie = b.indexOf(E);
12249
12249
  B = Math.min(Re, ie), P = Math.max(Re, ie);
12250
12250
  } else
12251
- M = p, E = p, B = W, P = W;
12251
+ M = p, E = p, B = O, P = O;
12252
12252
  const G = b.slice(B, P + 1);
12253
12253
  A = ad(A, G), z = {
12254
12254
  from: M,
@@ -12261,73 +12261,73 @@ function yT({
12261
12261
  }, C || L ? A.includes(p) ? A = A.filter(
12262
12262
  (B) => B !== p
12263
12263
  ) : A.push(p) : A = [p];
12264
- i(W), x(id(A)), s(z);
12264
+ i(O), h(id(A)), s(z);
12265
12265
  }
12266
- ), w = Le((W, h) => {
12266
+ ), w = Le((O, x) => {
12267
12267
  if (!r)
12268
12268
  return;
12269
- const p = b.indexOf(W[T]);
12270
- y(p, h);
12271
- }), _ = Le((W) => {
12269
+ const p = b.indexOf(O[T]);
12270
+ y(p, x);
12271
+ }), _ = Le((O) => {
12272
12272
  if (r) {
12273
- if (W.key === "ArrowDown") {
12274
- W.preventDefault();
12275
- let h = Math.min(t.length - 1, n + 1);
12276
- n !== t.length - 1 && y(h, W);
12273
+ if (O.key === "ArrowDown") {
12274
+ O.preventDefault();
12275
+ let x = Math.min(t.length - 1, n + 1);
12276
+ n !== t.length - 1 && y(x, O);
12277
12277
  }
12278
- if (W.key === "PageDown") {
12279
- W.preventDefault();
12280
- const h = Math.min(t.length - 1, n + 8);
12281
- y(h, W);
12278
+ if (O.key === "PageDown") {
12279
+ O.preventDefault();
12280
+ const x = Math.min(t.length - 1, n + 8);
12281
+ y(x, O);
12282
12282
  }
12283
- if (W.key === "ArrowUp") {
12284
- W.preventDefault();
12285
- let h = Math.max(0, n - 1);
12286
- n >= 0 && y(h, W);
12283
+ if (O.key === "ArrowUp") {
12284
+ O.preventDefault();
12285
+ let x = Math.max(0, n - 1);
12286
+ n >= 0 && y(x, O);
12287
12287
  }
12288
- if (W.key === "PageUp") {
12289
- W.preventDefault();
12290
- const h = Math.max(0, n - 8);
12291
- y(h, W);
12288
+ if (O.key === "PageUp") {
12289
+ O.preventDefault();
12290
+ const x = Math.max(0, n - 8);
12291
+ y(x, O);
12292
12292
  }
12293
12293
  }
12294
12294
  });
12295
12295
  ee(() => {
12296
12296
  a == null || a(v);
12297
12297
  }, [v, a]);
12298
- const H = Le((W) => {
12299
- r && (!o && W || x(W ? e.map((h) => h[T]) : []));
12300
- }), I = ce(() => {
12301
- let W = {};
12302
- return v.forEach((h) => {
12303
- W[h[T]] = !0;
12304
- }), W;
12305
- }, [T, v]), O = X(() => v, [v]), F = X(() => v.map((W) => W[T]), [T, v]), j = X(() => {
12298
+ const H = Le((O) => {
12299
+ r && (!o && O || h(O ? e.map((x) => x[T]) : []));
12300
+ }), $ = ce(() => {
12301
+ let O = {};
12302
+ return v.forEach((x) => {
12303
+ O[x[T]] = !0;
12304
+ }), O;
12305
+ }, [T, v]), W = X(() => v, [v]), U = X(() => v.map((O) => O[T]), [T, v]), Z = X(() => {
12306
12306
  H(!1);
12307
12307
  }, [H]), V = X(() => {
12308
12308
  H(!0);
12309
12309
  }, [H]), R = X(
12310
- (W) => {
12310
+ (O) => {
12311
12311
  if (!r)
12312
12312
  return;
12313
- let h = Array.isArray(W) ? W : [W];
12314
- h.length > 1 && !o && (h = [h[0]]), x(h);
12313
+ let x = Array.isArray(O) ? O : [O];
12314
+ x.length > 1 && !o && (x = [x[0]]), h(x);
12315
12315
  },
12316
- [o, r, x]
12316
+ [o, r, h]
12317
12317
  ), N = ce(() => ({
12318
- getSelectedItems: O,
12319
- getSelectedIds: F,
12320
- clearSelection: j,
12318
+ getSelectedItems: W,
12319
+ getSelectedIds: U,
12320
+ clearSelection: Z,
12321
12321
  selectAll: V,
12322
12322
  selectId: R
12323
- }), [j, F, O, V, R]);
12323
+ }), [Z, U, W, V, R]);
12324
12324
  return {
12325
12325
  onKeyDown: _,
12326
12326
  focusedIndex: n,
12327
12327
  toggleRowIndex: y,
12328
12328
  toggleRow: w,
12329
12329
  checkAllRows: H,
12330
- selectedRowIdMap: I,
12330
+ selectedRowIdMap: $,
12331
12331
  selectedItems: v,
12332
12332
  idKey: T,
12333
12333
  selectionApi: N
@@ -12363,7 +12363,7 @@ const kT = 42, ST = [10], un = (e) => {
12363
12363
  pageSizes: l = ST,
12364
12364
  rowDisabledPredicate: s = CT,
12365
12365
  sortBy: v,
12366
- sortingDirection: x = "ascending",
12366
+ sortingDirection: h = "ascending",
12367
12367
  iconSortAsc: c,
12368
12368
  iconSortDesc: T,
12369
12369
  iconNoSort: b,
@@ -12372,17 +12372,17 @@ const kT = 42, ST = [10], un = (e) => {
12372
12372
  style: w,
12373
12373
  noDataRenderer: _,
12374
12374
  autoFocus: H = !1,
12375
- hideHeader: I = !1,
12376
- hideNoDataView: O = !1,
12377
- alwaysShowSelectionHeader: F = !1,
12378
- registerComponentApi: j,
12375
+ hideHeader: $ = !1,
12376
+ hideNoDataView: W = !1,
12377
+ alwaysShowSelectionHeader: U = !1,
12378
+ registerComponentApi: Z,
12379
12379
  onSelectionDidChange: V
12380
12380
  // cols
12381
12381
  }, R) => {
12382
12382
  var mi, pi, hi, xi;
12383
- const { getThemeVar: N } = tr(), W = Array.isArray(e) ? e : dt, h = he(null), p = R ? sr(h, R) : h, g = he(null), C = he(null), L = v !== void 0, q = ce(() => t || (W.length ? Object.keys(W[0]).map((ne) => ({ header: ne, accessorKey: ne })) : dt), [t, W]);
12383
+ const { getThemeVar: N } = tr(), O = Array.isArray(e) ? e : dt, x = he(null), p = R ? sr(x, R) : x, g = he(null), C = he(null), L = v !== void 0, q = ce(() => t || (O.length ? Object.keys(O[0]).map((ne) => ({ header: ne, accessorKey: ne })) : dt), [t, O]);
12384
12384
  ee(() => {
12385
- H && h.current.focus();
12385
+ H && x.current.focus();
12386
12386
  }, [H]);
12387
12387
  const [z, A] = me(dt), {
12388
12388
  toggleRow: B,
@@ -12390,23 +12390,23 @@ const kT = 42, ST = [10], un = (e) => {
12390
12390
  focusedIndex: M,
12391
12391
  onKeyDown: E,
12392
12392
  selectedRowIdMap: G,
12393
- idKey: Z,
12393
+ idKey: j,
12394
12394
  selectionApi: K
12395
12395
  } = yT({
12396
- items: W,
12396
+ items: O,
12397
12397
  visibleItems: z,
12398
12398
  rowsSelectable: n,
12399
12399
  enableMultiRowSelection: i,
12400
12400
  onSelectionDidChange: V
12401
- }), te = ce(() => W.map((ne, ye) => ({
12401
+ }), te = ce(() => O.map((ne, ye) => ({
12402
12402
  ...ne,
12403
12403
  order: ye + 1
12404
- })), [W]), [be, Me] = me(v), [Re, ie] = me(x);
12404
+ })), [O]), [be, Me] = me(v), [Re, ie] = me(h);
12405
12405
  Io(() => {
12406
12406
  Me(v);
12407
12407
  }, [v]), Io(() => {
12408
- ie(x);
12409
- }, [x]);
12408
+ ie(h);
12409
+ }, [h]);
12410
12410
  const oe = ce(() => !be || L ? te : nd(te, be, Re === "ascending" ? "asc" : "desc"), [be, Re, te, L]), Y = X(
12411
12411
  async (ne) => {
12412
12412
  let ye = "ascending", ue = ne;
@@ -12469,7 +12469,7 @@ const kT = 42, ST = [10], un = (e) => {
12469
12469
  Ea,
12470
12470
  {
12471
12471
  className: le(Be.checkBoxWrapper, {
12472
- [Be.showInHeader]: F
12472
+ [Be.showInHeader]: U
12473
12473
  }),
12474
12474
  value: ye.getIsAllRowsSelected(),
12475
12475
  indeterminate: ye.getIsSomeRowsSelected(),
@@ -12493,7 +12493,7 @@ const kT = 42, ST = [10], un = (e) => {
12493
12493
  n,
12494
12494
  D,
12495
12495
  i,
12496
- F,
12496
+ U,
12497
12497
  P,
12498
12498
  B
12499
12499
  ]), [_e, kr] = me({
@@ -12527,8 +12527,8 @@ const kT = 42, ST = [10], un = (e) => {
12527
12527
  enableMultiRowSelection: i,
12528
12528
  columnResizeMode: "onChange",
12529
12529
  getRowId: X(
12530
- (ne) => ne[Z] + "",
12531
- [Z]
12530
+ (ne) => ne[j] + "",
12531
+ [j]
12532
12532
  ),
12533
12533
  state: ce(
12534
12534
  () => ({
@@ -12548,17 +12548,17 @@ const kT = 42, ST = [10], un = (e) => {
12548
12548
  const Ye = Lt(gc), fo = Ye && (w == null ? void 0 : w.maxHeight) === void 0 && (w == null ? void 0 : w.height) === void 0 && (w == null ? void 0 : w.flex) === void 0, Yl = X(
12549
12549
  (ne, ye) => Nd(ne, (ue, Te) => {
12550
12550
  var Oe;
12551
- const ct = fo && ((Oe = h.current) == null ? void 0 : Oe.offsetTop) || 0;
12551
+ const ct = fo && ((Oe = x.current) == null ? void 0 : Oe.offsetTop) || 0;
12552
12552
  ye(ue - ct, Te);
12553
12553
  }),
12554
12554
  [fo]
12555
12555
  ), ur = Rd({
12556
12556
  count: Ge.length,
12557
- getScrollElement: X(() => fo && (Ye != null && Ye.current) ? Ye == null ? void 0 : Ye.current : h.current, [Ye, fo]),
12557
+ getScrollElement: X(() => fo && (Ye != null && Ye.current) ? Ye == null ? void 0 : Ye.current : x.current, [Ye, fo]),
12558
12558
  observeElementOffset: Yl,
12559
12559
  estimateSize: X(() => C.current || 30, []),
12560
12560
  overscan: 5
12561
- }), si = ur.getVirtualItems().length > 0 && ((pi = (mi = ur.getVirtualItems()) == null ? void 0 : mi[0]) == null ? void 0 : pi.start) || 0, ui = ur.getVirtualItems().length > 0 ? ur.getTotalSize() - (((xi = (hi = ur.getVirtualItems()) == null ? void 0 : hi[ur.getVirtualItems().length - 1]) == null ? void 0 : xi.end) || 0) : 0, Wo = W.length !== 0, da = he({}), ci = X((ne) => {
12561
+ }), si = ur.getVirtualItems().length > 0 && ((pi = (mi = ur.getVirtualItems()) == null ? void 0 : mi[0]) == null ? void 0 : pi.start) || 0, ui = ur.getVirtualItems().length > 0 ? ur.getTotalSize() - (((xi = (hi = ur.getVirtualItems()) == null ? void 0 : hi[ur.getVirtualItems().length - 1]) == null ? void 0 : xi.end) || 0) : 0, Wo = O.length !== 0, da = he({}), ci = X((ne) => {
12562
12562
  da.current[ne] = !0;
12563
12563
  }, []), Oo = Le(() => {
12564
12564
  if (!g.current)
@@ -12592,8 +12592,8 @@ const kT = 42, ST = [10], un = (e) => {
12592
12592
  Oo();
12593
12593
  });
12594
12594
  }, [Oo, q]), Lo(() => {
12595
- j(K);
12596
- }, [j, K]), /* @__PURE__ */ J(
12595
+ Z(K);
12596
+ }, [Z, K]), /* @__PURE__ */ J(
12597
12597
  "div",
12598
12598
  {
12599
12599
  className: le(Be.wrapper, { [Be.noScroll]: fo }),
@@ -12609,7 +12609,7 @@ const kT = 42, ST = [10], un = (e) => {
12609
12609
  ref: g,
12610
12610
  style: { borderRight: "1px solid transparent" },
12611
12611
  children: [
12612
- !I && /* @__PURE__ */ m("thead", { style: { height: a }, className: Be.headerWrapper, children: We.getHeaderGroups().map((ne, ye) => /* @__PURE__ */ m(
12612
+ !$ && /* @__PURE__ */ m("thead", { style: { height: a }, className: Be.headerWrapper, children: We.getHeaderGroups().map((ne, ye) => /* @__PURE__ */ m(
12613
12613
  "tr",
12614
12614
  {
12615
12615
  className: le(Be.headerRow, {
@@ -12728,7 +12728,7 @@ const kT = 42, ST = [10], un = (e) => {
12728
12728
  }
12729
12729
  ),
12730
12730
  o && !Wo && /* @__PURE__ */ m("div", { className: Be.loadingWrapper, children: /* @__PURE__ */ m(il, {}) }),
12731
- !O && !o && !Wo && (_ ? _() : /* @__PURE__ */ m("div", { className: Be.noRows, children: "No data available" })),
12731
+ !W && !o && !Wo && (_ ? _() : /* @__PURE__ */ m("div", { className: Be.noRows, children: "No data available" })),
12732
12732
  r && Wo && Ge.length > 0 && _e && // --- Render the pagination controls
12733
12733
  /* @__PURE__ */ J("div", { className: Be.pagination, children: [
12734
12734
  /* @__PURE__ */ m("div", { style: { flex: 1 }, children: /* @__PURE__ */ J("span", { className: Be.paginationLabel, children: [
@@ -12738,7 +12738,7 @@ const kT = 42, ST = [10], un = (e) => {
12738
12738
  Ge[Ge.length - 1].original.order,
12739
12739
  " of",
12740
12740
  " ",
12741
- W.length,
12741
+ O.length,
12742
12742
  " entries"
12743
12743
  ] }) }),
12744
12744
  l.length > 1 && /* @__PURE__ */ J("div", { children: [
@@ -12942,39 +12942,39 @@ ve(
12942
12942
  layoutCss: n,
12943
12943
  registerComponentApi: i
12944
12944
  }, l) => {
12945
- var F, j, V, R, N, W;
12946
- const s = e(t.props.items) || e(t.props.data), [v, x] = me(dt), [c, T] = me(Or), b = he([]), [f, y] = me(0), w = ce(() => ({
12947
- registerColumn: (h, p) => {
12948
- x(
12945
+ var U, Z, V, R, N, O;
12946
+ const s = e(t.props.items) || e(t.props.data), [v, h] = me(dt), [c, T] = me(Or), b = he([]), [f, y] = me(0), w = ce(() => ({
12947
+ registerColumn: (x, p) => {
12948
+ h(
12949
12949
  Nr((g) => {
12950
12950
  g.findIndex((L) => L === p) < 0 && g.push(p);
12951
12951
  })
12952
12952
  ), T(
12953
12953
  Nr((g) => {
12954
- g[p] = h;
12954
+ g[p] = x;
12955
12955
  })
12956
12956
  );
12957
12957
  },
12958
- unRegisterColumn: (h) => {
12959
- x(
12960
- Nr((p) => p.filter((g) => g !== h))
12958
+ unRegisterColumn: (x) => {
12959
+ h(
12960
+ Nr((p) => p.filter((g) => g !== x))
12961
12961
  ), T(
12962
12962
  Nr((p) => {
12963
- delete p[h];
12963
+ delete p[x];
12964
12964
  })
12965
12965
  );
12966
12966
  }
12967
12967
  }), []), _ = ce(() => ({
12968
- registerColumn: (h, p) => {
12968
+ registerColumn: (x, p) => {
12969
12969
  b.current.find((g) => g === p) || (y((g) => g + 1), b.current.push(p));
12970
12970
  },
12971
- unRegisterColumn: (h) => {
12972
- b.current.find((p) => p === h) && (b.current = b.current.filter((p) => p !== h), y((p) => p + 1));
12971
+ unRegisterColumn: (x) => {
12972
+ b.current.find((p) => p === x) && (b.current = b.current.filter((p) => p !== x), y((p) => p + 1));
12973
12973
  }
12974
12974
  }), []), H = ce(
12975
- () => v.map((h) => c[h]),
12975
+ () => v.map((x) => c[x]),
12976
12976
  [v, c]
12977
- ), I = Ul(), O = /* @__PURE__ */ J(Tt, { children: [
12977
+ ), $ = Ul(), W = /* @__PURE__ */ J(Tt, { children: [
12978
12978
  /* @__PURE__ */ m(sn.Provider, { value: w, children: r(t.children) }, f),
12979
12979
  /* @__PURE__ */ m(sn.Provider, { value: _, children: r(t.children) }),
12980
12980
  /* @__PURE__ */ m(
@@ -12989,14 +12989,14 @@ ve(
12989
12989
  noDataRenderer: t.props.noDataTemplate && (() => r(t.props.noDataTemplate)),
12990
12990
  hideNoDataView: t.props.noDataTemplate === null || t.props.noDataTemplate === "",
12991
12991
  loading: e.asOptionalBoolean(t.props.loading),
12992
- isPaginated: e.asOptionalBoolean((F = t.props) == null ? void 0 : F.isPaginated),
12992
+ isPaginated: e.asOptionalBoolean((U = t.props) == null ? void 0 : U.isPaginated),
12993
12993
  headerHeight: e.asSize(t.props.headerHeight),
12994
12994
  rowDisabledPredicate: a(t.props.rowDisabledPredicate),
12995
- sortBy: e((j = t.props) == null ? void 0 : j.sortBy),
12995
+ sortBy: e((Z = t.props) == null ? void 0 : Z.sortBy),
12996
12996
  sortingDirection: e((V = t.props) == null ? void 0 : V.sortDirection),
12997
12997
  iconSortAsc: e.asOptionalString((R = t.props) == null ? void 0 : R.iconSortAsc),
12998
12998
  iconSortDesc: e.asOptionalString((N = t.props) == null ? void 0 : N.iconSortDesc),
12999
- iconNoSort: e.asOptionalString((W = t.props) == null ? void 0 : W.iconNoSort),
12999
+ iconNoSort: e.asOptionalString((O = t.props) == null ? void 0 : O.iconNoSort),
13000
13000
  sortingDidChange: o("sortingDidChange"),
13001
13001
  onSelectionDidChange: o("selectionDidChange"),
13002
13002
  willSort: o("willSort"),
@@ -13013,7 +13013,7 @@ ve(
13013
13013
  }
13014
13014
  )
13015
13015
  ] });
13016
- return I === null ? /* @__PURE__ */ m($g, { children: O }) : O;
13016
+ return $ === null ? /* @__PURE__ */ m($g, { children: W }) : W;
13017
13017
  }
13018
13018
  );
13019
13019
  const $T = "Column", LT = k({
@@ -13369,7 +13369,7 @@ ve(function({
13369
13369
  onDisplayDidChange: l = de,
13370
13370
  registerComponentApi: s,
13371
13371
  rotateExpanded: v = gr.rotateExpanded
13372
- }, x) {
13372
+ }, h) {
13373
13373
  const [c, T] = me([]), [b, f] = me(/* @__PURE__ */ new Set()), y = X(
13374
13374
  (V) => {
13375
13375
  T((R) => R.filter((N) => N !== `${V}`));
@@ -13390,12 +13390,12 @@ ve(function({
13390
13390
  f((R) => (R.add(V), R));
13391
13391
  },
13392
13392
  [f]
13393
- ), I = X(
13393
+ ), $ = X(
13394
13394
  (V) => {
13395
13395
  f((R) => (R.delete(V), R));
13396
13396
  },
13397
13397
  [f]
13398
- ), O = X(
13398
+ ), W = X(
13399
13399
  (V) => {
13400
13400
  if (b.has(`trigger_${V}`)) {
13401
13401
  const R = document.getElementById(`trigger_${V}`);
@@ -13403,23 +13403,23 @@ ve(function({
13403
13403
  }
13404
13404
  },
13405
13405
  [b]
13406
- ), F = X(
13406
+ ), U = X(
13407
13407
  (V) => c.includes(`${V}`),
13408
13408
  [c]
13409
13409
  );
13410
13410
  ee(() => {
13411
13411
  s == null || s({
13412
- expanded: F,
13412
+ expanded: U,
13413
13413
  expand: w,
13414
13414
  collapse: y,
13415
13415
  toggle: _,
13416
- focus: O
13416
+ focus: W
13417
13417
  });
13418
- }, [s, w, y, _, O, F]);
13419
- const j = ce(
13418
+ }, [s, w, y, _, W, U]);
13419
+ const Z = ce(
13420
13420
  () => ({
13421
13421
  register: H,
13422
- unRegister: I,
13422
+ unRegister: $,
13423
13423
  expandItem: w,
13424
13424
  expandedItems: c,
13425
13425
  hideIcon: o,
@@ -13430,7 +13430,7 @@ ve(function({
13430
13430
  }),
13431
13431
  [
13432
13432
  H,
13433
- I,
13433
+ $,
13434
13434
  c,
13435
13435
  o,
13436
13436
  a,
@@ -13442,11 +13442,11 @@ ve(function({
13442
13442
  );
13443
13443
  return ee(() => {
13444
13444
  l == null || l(c);
13445
- }, [c, l]), /* @__PURE__ */ m(MT.Provider, { value: j, children: /* @__PURE__ */ m(
13445
+ }, [c, l]), /* @__PURE__ */ m(MT.Provider, { value: Z, children: /* @__PURE__ */ m(
13446
13446
  Wd.Root,
13447
13447
  {
13448
13448
  style: t,
13449
- ref: x,
13449
+ ref: h,
13450
13450
  value: c,
13451
13451
  type: "multiple",
13452
13452
  className: ql.root,
@@ -13732,7 +13732,7 @@ const He = "Accordion", FT = k({
13732
13732
  error: u("This event fires when a request results in an error.")
13733
13733
  }
13734
13734
  });
13735
- var $ = /* @__PURE__ */ ((e) => (e[e.EOF = -1] = "EOF", e[e.nullCharacter = 0] = "nullCharacter", e[e.maxAsciiCharacter = 127] = "maxAsciiCharacter", e[e.lineFeed = 10] = "lineFeed", e[e.carriageReturn = 13] = "carriageReturn", e[e.lineSeparator = 8232] = "lineSeparator", e[e.paragraphSeparator = 8233] = "paragraphSeparator", e[e.nextLine = 133] = "nextLine", e[e.space = 32] = "space", e[e.nonBreakingSpace = 160] = "nonBreakingSpace", e[e.enQuad = 8192] = "enQuad", e[e.emQuad = 8193] = "emQuad", e[e.enSpace = 8194] = "enSpace", e[e.emSpace = 8195] = "emSpace", e[e.threePerEmSpace = 8196] = "threePerEmSpace", e[e.fourPerEmSpace = 8197] = "fourPerEmSpace", e[e.sixPerEmSpace = 8198] = "sixPerEmSpace", e[e.figureSpace = 8199] = "figureSpace", e[e.punctuationSpace = 8200] = "punctuationSpace", e[e.thinSpace = 8201] = "thinSpace", e[e.hairSpace = 8202] = "hairSpace", e[e.zeroWidthSpace = 8203] = "zeroWidthSpace", e[e.narrowNoBreakSpace = 8239] = "narrowNoBreakSpace", e[e.ideographicSpace = 12288] = "ideographicSpace", e[e.mathematicalSpace = 8287] = "mathematicalSpace", e[e.ogham = 5760] = "ogham", e[e.replacementCharacter = 65533] = "replacementCharacter", e[e._ = 95] = "_", e[e.$ = 36] = "$", e[e._0 = 48] = "_0", e[e._1 = 49] = "_1", e[e._2 = 50] = "_2", e[e._3 = 51] = "_3", e[e._4 = 52] = "_4", e[e._5 = 53] = "_5", e[e._6 = 54] = "_6", e[e._7 = 55] = "_7", e[e._8 = 56] = "_8", e[e._9 = 57] = "_9", e[e.a = 97] = "a", e[e.b = 98] = "b", e[e.c = 99] = "c", e[e.d = 100] = "d", e[e.e = 101] = "e", e[e.f = 102] = "f", e[e.g = 103] = "g", e[e.h = 104] = "h", e[e.i = 105] = "i", e[e.j = 106] = "j", e[e.k = 107] = "k", e[e.l = 108] = "l", e[e.m = 109] = "m", e[e.n = 110] = "n", e[e.o = 111] = "o", e[e.p = 112] = "p", e[e.q = 113] = "q", e[e.r = 114] = "r", e[e.s = 115] = "s", e[e.t = 116] = "t", e[e.u = 117] = "u", e[e.v = 118] = "v", e[e.w = 119] = "w", e[e.x = 120] = "x", e[e.y = 121] = "y", e[e.z = 122] = "z", e[e.A = 65] = "A", e[e.B = 66] = "B", e[e.C = 67] = "C", e[e.D = 68] = "D", e[e.E = 69] = "E", e[e.F = 70] = "F", e[e.G = 71] = "G", e[e.H = 72] = "H", e[e.I = 73] = "I", e[e.J = 74] = "J", e[e.K = 75] = "K", e[e.L = 76] = "L", e[e.M = 77] = "M", e[e.N = 78] = "N", e[e.O = 79] = "O", e[e.P = 80] = "P", e[e.Q = 81] = "Q", e[e.R = 82] = "R", e[e.S = 83] = "S", e[e.T = 84] = "T", e[e.U = 85] = "U", e[e.V = 86] = "V", e[e.W = 87] = "W", e[e.X = 88] = "X", e[e.Y = 89] = "Y", e[e.Z = 90] = "Z", e[e.ampersand = 38] = "ampersand", e[e.asterisk = 42] = "asterisk", e[e.at = 64] = "at", e[e.backslash = 92] = "backslash", e[e.backtick = 96] = "backtick", e[e.bar = 124] = "bar", e[e.caret = 94] = "caret", e[e.closeBrace = 125] = "closeBrace", e[e.closeBracket = 93] = "closeBracket", e[e.closeParen = 41] = "closeParen", e[e.colon = 58] = "colon", e[e.comma = 44] = "comma", e[e.dot = 46] = "dot", e[e.doubleQuote = 34] = "doubleQuote", e[e.equals = 61] = "equals", e[e.exclamation = 33] = "exclamation", e[e.greaterThan = 62] = "greaterThan", e[e.hash = 35] = "hash", e[e.lessThan = 60] = "lessThan", e[e.minus = 45] = "minus", e[e.openBrace = 123] = "openBrace", e[e.openBracket = 91] = "openBracket", e[e.openParen = 40] = "openParen", e[e.percent = 37] = "percent", e[e.plus = 43] = "plus", e[e.question = 63] = "question", e[e.semicolon = 59] = "semicolon", e[e.singleQuote = 39] = "singleQuote", e[e.slash = 47] = "slash", e[e.tilde = 126] = "tilde", e[e.backspace = 8] = "backspace", e[e.formFeed = 12] = "formFeed", e[e.byteOrderMark = 65279] = "byteOrderMark", e[e.tab = 9] = "tab", e[e.verticalTab = 11] = "verticalTab", e))($ || {}), io = /* @__PURE__ */ ((e) => (e[e.Warning = 0] = "Warning", e[e.Error = 1] = "Error", e[e.Suggestion = 2] = "Suggestion", e[e.Message = 3] = "Message", e))(io || {}), Tr = /* @__PURE__ */ ((e) => (e.onlyOneElem = "U002", e.expTagOpen = "U003", e.expTagIdent = "U004", e.expCloseStart = "U005", e.expEndOrClose = "U006", e.tagNameMismatch = "U007", e.expEnd = "U008", e.expAttrIdent = "U009", e.expEq = "U010", e.expAttrValue = "U011", e.duplAttr = "U012", e.uppercaseAttr = "U013", e.invalidChar = "W001", e.untermStr = "W002", e.untermComment = "W007", e.untermCData = "W008", e.untermScript = "W009", e))(Tr || {});
13735
+ var I = /* @__PURE__ */ ((e) => (e[e.EOF = -1] = "EOF", e[e.nullCharacter = 0] = "nullCharacter", e[e.maxAsciiCharacter = 127] = "maxAsciiCharacter", e[e.lineFeed = 10] = "lineFeed", e[e.carriageReturn = 13] = "carriageReturn", e[e.lineSeparator = 8232] = "lineSeparator", e[e.paragraphSeparator = 8233] = "paragraphSeparator", e[e.nextLine = 133] = "nextLine", e[e.space = 32] = "space", e[e.nonBreakingSpace = 160] = "nonBreakingSpace", e[e.enQuad = 8192] = "enQuad", e[e.emQuad = 8193] = "emQuad", e[e.enSpace = 8194] = "enSpace", e[e.emSpace = 8195] = "emSpace", e[e.threePerEmSpace = 8196] = "threePerEmSpace", e[e.fourPerEmSpace = 8197] = "fourPerEmSpace", e[e.sixPerEmSpace = 8198] = "sixPerEmSpace", e[e.figureSpace = 8199] = "figureSpace", e[e.punctuationSpace = 8200] = "punctuationSpace", e[e.thinSpace = 8201] = "thinSpace", e[e.hairSpace = 8202] = "hairSpace", e[e.zeroWidthSpace = 8203] = "zeroWidthSpace", e[e.narrowNoBreakSpace = 8239] = "narrowNoBreakSpace", e[e.ideographicSpace = 12288] = "ideographicSpace", e[e.mathematicalSpace = 8287] = "mathematicalSpace", e[e.ogham = 5760] = "ogham", e[e.replacementCharacter = 65533] = "replacementCharacter", e[e._ = 95] = "_", e[e.$ = 36] = "$", e[e._0 = 48] = "_0", e[e._1 = 49] = "_1", e[e._2 = 50] = "_2", e[e._3 = 51] = "_3", e[e._4 = 52] = "_4", e[e._5 = 53] = "_5", e[e._6 = 54] = "_6", e[e._7 = 55] = "_7", e[e._8 = 56] = "_8", e[e._9 = 57] = "_9", e[e.a = 97] = "a", e[e.b = 98] = "b", e[e.c = 99] = "c", e[e.d = 100] = "d", e[e.e = 101] = "e", e[e.f = 102] = "f", e[e.g = 103] = "g", e[e.h = 104] = "h", e[e.i = 105] = "i", e[e.j = 106] = "j", e[e.k = 107] = "k", e[e.l = 108] = "l", e[e.m = 109] = "m", e[e.n = 110] = "n", e[e.o = 111] = "o", e[e.p = 112] = "p", e[e.q = 113] = "q", e[e.r = 114] = "r", e[e.s = 115] = "s", e[e.t = 116] = "t", e[e.u = 117] = "u", e[e.v = 118] = "v", e[e.w = 119] = "w", e[e.x = 120] = "x", e[e.y = 121] = "y", e[e.z = 122] = "z", e[e.A = 65] = "A", e[e.B = 66] = "B", e[e.C = 67] = "C", e[e.D = 68] = "D", e[e.E = 69] = "E", e[e.F = 70] = "F", e[e.G = 71] = "G", e[e.H = 72] = "H", e[e.I = 73] = "I", e[e.J = 74] = "J", e[e.K = 75] = "K", e[e.L = 76] = "L", e[e.M = 77] = "M", e[e.N = 78] = "N", e[e.O = 79] = "O", e[e.P = 80] = "P", e[e.Q = 81] = "Q", e[e.R = 82] = "R", e[e.S = 83] = "S", e[e.T = 84] = "T", e[e.U = 85] = "U", e[e.V = 86] = "V", e[e.W = 87] = "W", e[e.X = 88] = "X", e[e.Y = 89] = "Y", e[e.Z = 90] = "Z", e[e.ampersand = 38] = "ampersand", e[e.asterisk = 42] = "asterisk", e[e.at = 64] = "at", e[e.backslash = 92] = "backslash", e[e.backtick = 96] = "backtick", e[e.bar = 124] = "bar", e[e.caret = 94] = "caret", e[e.closeBrace = 125] = "closeBrace", e[e.closeBracket = 93] = "closeBracket", e[e.closeParen = 41] = "closeParen", e[e.colon = 58] = "colon", e[e.comma = 44] = "comma", e[e.dot = 46] = "dot", e[e.doubleQuote = 34] = "doubleQuote", e[e.equals = 61] = "equals", e[e.exclamation = 33] = "exclamation", e[e.greaterThan = 62] = "greaterThan", e[e.hash = 35] = "hash", e[e.lessThan = 60] = "lessThan", e[e.minus = 45] = "minus", e[e.openBrace = 123] = "openBrace", e[e.openBracket = 91] = "openBracket", e[e.openParen = 40] = "openParen", e[e.percent = 37] = "percent", e[e.plus = 43] = "plus", e[e.question = 63] = "question", e[e.semicolon = 59] = "semicolon", e[e.singleQuote = 39] = "singleQuote", e[e.slash = 47] = "slash", e[e.tilde = 126] = "tilde", e[e.backspace = 8] = "backspace", e[e.formFeed = 12] = "formFeed", e[e.byteOrderMark = 65279] = "byteOrderMark", e[e.tab = 9] = "tab", e[e.verticalTab = 11] = "verticalTab", e))(I || {}), io = /* @__PURE__ */ ((e) => (e[e.Warning = 0] = "Warning", e[e.Error = 1] = "Error", e[e.Suggestion = 2] = "Suggestion", e[e.Message = 3] = "Message", e))(io || {}), Tr = /* @__PURE__ */ ((e) => (e.onlyOneElem = "U002", e.expTagOpen = "U003", e.expTagIdent = "U004", e.expCloseStart = "U005", e.expEndOrClose = "U006", e.tagNameMismatch = "U007", e.expEnd = "U008", e.expAttrIdent = "U009", e.expEq = "U010", e.expAttrValue = "U011", e.duplAttr = "U012", e.uppercaseAttr = "U013", e.invalidChar = "W001", e.untermStr = "W002", e.untermComment = "W007", e.untermCData = "W008", e.untermScript = "W009", e))(Tr || {});
13736
13736
  const wa = {
13737
13737
  code: "W001",
13738
13738
  category: 1,
@@ -13851,126 +13851,126 @@ function uy(e) {
13851
13851
  throw new Error("Didn't expect to get here");
13852
13852
  }
13853
13853
  function cy(e, t, r, o, a) {
13854
- let n = t, i, l, s, v, x, c;
13855
- return F(n, o, a), {
13854
+ let n = t, i, l, s, v, h, c;
13855
+ return U(n, o, a), {
13856
13856
  getStartPos: () => s,
13857
13857
  getTokenEnd: () => i,
13858
- getToken: () => x,
13858
+ getToken: () => h,
13859
13859
  getTokenStart: () => v,
13860
13860
  getTokenText: () => n.substring(v, i),
13861
13861
  getTokenValue: () => c,
13862
- isIdentifier: () => x === S.Identifier,
13862
+ isIdentifier: () => h === S.Identifier,
13863
13863
  peekChar: T,
13864
13864
  scanChar: b,
13865
13865
  scan: f,
13866
13866
  scanTrivia: y,
13867
13867
  scanText: w,
13868
13868
  getText: _,
13869
- setText: F,
13870
- setOnError: j,
13869
+ setText: U,
13870
+ setOnError: Z,
13871
13871
  resetTokenState: V,
13872
13872
  back: R
13873
13873
  };
13874
13874
  function T(g) {
13875
13875
  if (i + (g ?? 0) >= l)
13876
13876
  return null;
13877
- const C = I(i + (g ?? 0));
13877
+ const C = $(i + (g ?? 0));
13878
13878
  return isNaN(C) ? null : C;
13879
13879
  }
13880
13880
  function b() {
13881
13881
  if (i >= l)
13882
13882
  return null;
13883
- const g = I(i);
13883
+ const g = $(i);
13884
13884
  return i += ar(g), g;
13885
13885
  }
13886
13886
  function f() {
13887
13887
  for (s = i; ; ) {
13888
13888
  if (v = i, i >= l)
13889
- return x = S.EndOfFileToken;
13890
- const g = I(i);
13889
+ return h = S.EndOfFileToken;
13890
+ const g = $(i);
13891
13891
  switch (g) {
13892
- case $.lineFeed:
13893
- case $.carriageReturn:
13894
- return g === $.carriageReturn && i + 1 < l && H(i + 1) === $.lineFeed ? i += 2 : i++, x = S.NewLineTrivia;
13895
- case $.tab:
13896
- case $.verticalTab:
13897
- case $.formFeed:
13898
- case $.space:
13899
- case $.nonBreakingSpace:
13900
- case $.ogham:
13901
- case $.enQuad:
13902
- case $.emQuad:
13903
- case $.enSpace:
13904
- case $.emSpace:
13905
- case $.threePerEmSpace:
13906
- case $.fourPerEmSpace:
13907
- case $.sixPerEmSpace:
13908
- case $.figureSpace:
13909
- case $.punctuationSpace:
13910
- case $.thinSpace:
13911
- case $.hairSpace:
13912
- case $.zeroWidthSpace:
13913
- case $.narrowNoBreakSpace:
13914
- case $.mathematicalSpace:
13915
- case $.ideographicSpace:
13916
- case $.byteOrderMark: {
13892
+ case I.lineFeed:
13893
+ case I.carriageReturn:
13894
+ return g === I.carriageReturn && i + 1 < l && H(i + 1) === I.lineFeed ? i += 2 : i++, h = S.NewLineTrivia;
13895
+ case I.tab:
13896
+ case I.verticalTab:
13897
+ case I.formFeed:
13898
+ case I.space:
13899
+ case I.nonBreakingSpace:
13900
+ case I.ogham:
13901
+ case I.enQuad:
13902
+ case I.emQuad:
13903
+ case I.enSpace:
13904
+ case I.emSpace:
13905
+ case I.threePerEmSpace:
13906
+ case I.fourPerEmSpace:
13907
+ case I.sixPerEmSpace:
13908
+ case I.figureSpace:
13909
+ case I.punctuationSpace:
13910
+ case I.thinSpace:
13911
+ case I.hairSpace:
13912
+ case I.zeroWidthSpace:
13913
+ case I.narrowNoBreakSpace:
13914
+ case I.mathematicalSpace:
13915
+ case I.ideographicSpace:
13916
+ case I.byteOrderMark: {
13917
13917
  for (; i < l && xn(H(i)); )
13918
13918
  i++;
13919
- return x = S.WhitespaceTrivia;
13919
+ return h = S.WhitespaceTrivia;
13920
13920
  }
13921
- case $.doubleQuote:
13922
- case $.singleQuote:
13923
- case $.backtick:
13924
- return c = h(), x = S.StringLiteral;
13925
- case $.ampersand:
13926
- return H(i + 1) === $.a && H(i + 2) === $.m && H(i + 3) === $.p && H(i + 4) === $.semicolon ? (i += 5, x = S.AmpersandEntity) : H(i + 1) === $.l && H(i + 2) === $.t && H(i + 3) === $.semicolon ? (i += 4, x = S.LessThanEntity) : H(i + 1) === $.g && H(i + 2) === $.t && H(i + 3) === $.semicolon ? (i += 4, x = S.GreaterThanEntity) : H(i + 1) === $.q && H(i + 2) === $.u && H(i + 3) === $.o && H(i + 4) === $.t && H(i + 5) === $.semicolon ? (i += 6, x = S.DoubleQuoteEntity) : H(i + 1) === $.a && H(i + 2) === $.p && H(i + 3) === $.o && H(i + 4) === $.s && H(i + 5) === $.semicolon ? (i += 6, x = S.SingleQuoteEntity) : (i++, p(wa, 1), x = S.Unknown);
13927
- case $.equals:
13928
- return i++, x = S.Equal;
13929
- case $.colon:
13930
- return i++, x = S.Colon;
13931
- case $.lessThan:
13932
- if (H(i + 1) === $.slash)
13933
- return i += 2, x = S.CloseNodeStart;
13921
+ case I.doubleQuote:
13922
+ case I.singleQuote:
13923
+ case I.backtick:
13924
+ return c = x(), h = S.StringLiteral;
13925
+ case I.ampersand:
13926
+ return H(i + 1) === I.a && H(i + 2) === I.m && H(i + 3) === I.p && H(i + 4) === I.semicolon ? (i += 5, h = S.AmpersandEntity) : H(i + 1) === I.l && H(i + 2) === I.t && H(i + 3) === I.semicolon ? (i += 4, h = S.LessThanEntity) : H(i + 1) === I.g && H(i + 2) === I.t && H(i + 3) === I.semicolon ? (i += 4, h = S.GreaterThanEntity) : H(i + 1) === I.q && H(i + 2) === I.u && H(i + 3) === I.o && H(i + 4) === I.t && H(i + 5) === I.semicolon ? (i += 6, h = S.DoubleQuoteEntity) : H(i + 1) === I.a && H(i + 2) === I.p && H(i + 3) === I.o && H(i + 4) === I.s && H(i + 5) === I.semicolon ? (i += 6, h = S.SingleQuoteEntity) : (i++, p(wa, 1), h = S.Unknown);
13927
+ case I.equals:
13928
+ return i++, h = S.Equal;
13929
+ case I.colon:
13930
+ return i++, h = S.Colon;
13931
+ case I.lessThan:
13932
+ if (H(i + 1) === I.slash)
13933
+ return i += 2, h = S.CloseNodeStart;
13934
13934
  if (
13935
13935
  // --- "<!-- -->", XMLUI comment
13936
- H(i + 1) === $.exclamation && H(i + 2) === $.minus && H(i + 3) === $.minus
13936
+ H(i + 1) === I.exclamation && H(i + 2) === I.minus && H(i + 3) === I.minus
13937
13937
  ) {
13938
13938
  for (i += 4; i < l; ) {
13939
- if (H(i) === $.minus && H(i + 1) === $.minus && H(i + 2) === $.greaterThan)
13940
- return i += 3, x = S.CommentTrivia;
13939
+ if (H(i) === I.minus && H(i + 1) === I.minus && H(i + 2) === I.greaterThan)
13940
+ return i += 3, h = S.CommentTrivia;
13941
13941
  i += ar(H(i));
13942
13942
  }
13943
- return p(ty, 4), x = S.Unknown;
13943
+ return p(ty, 4), h = S.Unknown;
13944
13944
  } else if (
13945
13945
  // --- <![CDATA[ section
13946
- H(i + 1) === $.exclamation && H(i + 2) === $.openBracket && H(i + 3) === $.C && H(i + 4) === $.D && H(i + 5) === $.A && H(i + 6) === $.T && H(i + 7) === $.A && H(i + 8) === $.openBracket
13946
+ H(i + 1) === I.exclamation && H(i + 2) === I.openBracket && H(i + 3) === I.C && H(i + 4) === I.D && H(i + 5) === I.A && H(i + 6) === I.T && H(i + 7) === I.A && H(i + 8) === I.openBracket
13947
13947
  ) {
13948
13948
  for (i += 9; i < l; ) {
13949
- if (H(i) === $.closeBracket && H(i + 1) === $.closeBracket && H(i + 2) === $.greaterThan)
13950
- return i += 3, x = S.CData;
13949
+ if (H(i) === I.closeBracket && H(i + 1) === I.closeBracket && H(i + 2) === I.greaterThan)
13950
+ return i += 3, h = S.CData;
13951
13951
  i += ar(H(i));
13952
13952
  }
13953
- return p(ry, 9), x = S.CData;
13953
+ return p(ry, 9), h = S.CData;
13954
13954
  } else if (
13955
13955
  // --- <script>
13956
- H(i + 1) === $.s && H(i + 2) === $.c && H(i + 3) === $.r && H(i + 4) === $.i && H(i + 5) === $.p && H(i + 6) === $.t && H(i + 7) === $.greaterThan
13956
+ H(i + 1) === I.s && H(i + 2) === I.c && H(i + 3) === I.r && H(i + 4) === I.i && H(i + 5) === I.p && H(i + 6) === I.t && H(i + 7) === I.greaterThan
13957
13957
  ) {
13958
13958
  for (i += 8; i < l; ) {
13959
- if (H(i) === $.lessThan && H(i + 1) === $.slash && H(i + 2) === $.s && H(i + 3) === $.c && H(i + 4) === $.r && H(i + 5) === $.i && H(i + 6) === $.p && H(i + 7) === $.t && H(i + 8) === $.greaterThan)
13960
- return i += 9, x = S.Script;
13959
+ if (H(i) === I.lessThan && H(i + 1) === I.slash && H(i + 2) === I.s && H(i + 3) === I.c && H(i + 4) === I.r && H(i + 5) === I.i && H(i + 6) === I.p && H(i + 7) === I.t && H(i + 8) === I.greaterThan)
13960
+ return i += 9, h = S.Script;
13961
13961
  i += ar(H(i));
13962
13962
  }
13963
- return p(oy, 9), x = S.Script;
13963
+ return p(oy, 9), h = S.Script;
13964
13964
  }
13965
- return i++, x = S.OpenNodeStart;
13966
- case $.slash:
13967
- return H(i + 1) === $.greaterThan ? (i += 2, x = S.NodeClose) : (i++, p(wa, 1), x = S.Unknown);
13968
- case $.greaterThan:
13969
- return i++, x = S.NodeEnd;
13965
+ return i++, h = S.OpenNodeStart;
13966
+ case I.slash:
13967
+ return H(i + 1) === I.greaterThan ? (i += 2, h = S.NodeClose) : (i++, p(wa, 1), h = S.Unknown);
13968
+ case I.greaterThan:
13969
+ return i++, h = S.NodeEnd;
13970
13970
  default:
13971
13971
  const C = N(g);
13972
13972
  if (C)
13973
- return x = C;
13973
+ return h = C;
13974
13974
  if (xn(g)) {
13975
13975
  i += ar(g);
13976
13976
  continue;
@@ -13979,7 +13979,7 @@ function cy(e, t, r, o, a) {
13979
13979
  continue;
13980
13980
  }
13981
13981
  const L = ar(g);
13982
- return i += L, p(wa, L), x = S.Unknown;
13982
+ return i += L, p(wa, L), h = S.Unknown;
13983
13983
  }
13984
13984
  }
13985
13985
  }
@@ -13996,20 +13996,20 @@ function cy(e, t, r, o, a) {
13996
13996
  function H(g) {
13997
13997
  return n.charCodeAt(g);
13998
13998
  }
13999
- function I(g) {
14000
- return O(n, g);
13999
+ function $(g) {
14000
+ return W(n, g);
14001
14001
  }
14002
- function O(g, C) {
14002
+ function W(g, C) {
14003
14003
  return g.codePointAt(C) ?? 0;
14004
14004
  }
14005
- function F(g, C, L) {
14005
+ function U(g, C, L) {
14006
14006
  n = g || "", l = L === void 0 ? n.length : C + L, V(C || 0);
14007
14007
  }
14008
- function j(g) {
14008
+ function Z(g) {
14009
14009
  r = g;
14010
14010
  }
14011
14011
  function V(g) {
14012
- i = g, s = g, v = g, x = S.Unknown, c = void 0;
14012
+ i = g, s = g, v = g, h = S.Unknown, c = void 0;
14013
14013
  }
14014
14014
  function R() {
14015
14015
  V(s);
@@ -14017,15 +14017,15 @@ function cy(e, t, r, o, a) {
14017
14017
  function N(g) {
14018
14018
  let C = g;
14019
14019
  if (hy(C)) {
14020
- for (i += ar(C); i < l && xy(C = I(i)); )
14020
+ for (i += ar(C); i < l && xy(C = $(i)); )
14021
14021
  i += ar(C);
14022
- return c = n.substring(v, i), W();
14022
+ return c = n.substring(v, i), O();
14023
14023
  }
14024
14024
  }
14025
- function W() {
14026
- return x = S.Identifier;
14025
+ function O() {
14026
+ return h = S.Identifier;
14027
14027
  }
14028
- function h() {
14028
+ function x() {
14029
14029
  const g = H(i);
14030
14030
  i++;
14031
14031
  let C = "", L = i;
@@ -14047,28 +14047,28 @@ function cy(e, t, r, o, a) {
14047
14047
  }
14048
14048
  }
14049
14049
  function ar(e) {
14050
- return e >= 65536 ? 2 : e === $.EOF ? 0 : 1;
14050
+ return e >= 65536 ? 2 : e === I.EOF ? 0 : 1;
14051
14051
  }
14052
14052
  function Gl(e) {
14053
- return e >= $.A && e <= $.Z || e >= $.a && e <= $.z;
14053
+ return e >= I.A && e <= I.Z || e >= I.a && e <= I.z;
14054
14054
  }
14055
14055
  function my(e) {
14056
- return Gl(e) || py(e) || e === $._;
14056
+ return Gl(e) || py(e) || e === I._;
14057
14057
  }
14058
14058
  function py(e) {
14059
- return e >= $._0 && e <= $._9;
14059
+ return e >= I._0 && e <= I._9;
14060
14060
  }
14061
14061
  function hy(e) {
14062
- return Gl(e) || e === $.$ || e === $._;
14062
+ return Gl(e) || e === I.$ || e === I._;
14063
14063
  }
14064
14064
  function xy(e) {
14065
- return my(e) || e === $.$ || e === $.minus || e === $.dot;
14065
+ return my(e) || e === I.$ || e === I.minus || e === I.dot;
14066
14066
  }
14067
14067
  function xn(e) {
14068
- return e === $.space || e === $.tab || e === $.verticalTab || e === $.formFeed || e === $.nonBreakingSpace || e === $.nextLine || e === $.ogham || e >= $.enQuad && e <= $.zeroWidthSpace || e === $.narrowNoBreakSpace || e === $.mathematicalSpace || e === $.ideographicSpace || e === $.byteOrderMark;
14068
+ return e === I.space || e === I.tab || e === I.verticalTab || e === I.formFeed || e === I.nonBreakingSpace || e === I.nextLine || e === I.ogham || e >= I.enQuad && e <= I.zeroWidthSpace || e === I.narrowNoBreakSpace || e === I.mathematicalSpace || e === I.ideographicSpace || e === I.byteOrderMark;
14069
14069
  }
14070
14070
  function by(e) {
14071
- return e === $.lineFeed || e === $.carriageReturn || e === $.lineSeparator || e === $.paragraphSeparator;
14071
+ return e === I.lineFeed || e === I.carriageReturn || e === I.lineSeparator || e === I.paragraphSeparator;
14072
14072
  }
14073
14073
  function vy(e, t, r) {
14074
14074
  var n, i;
@@ -14135,7 +14135,7 @@ function gy(e) {
14135
14135
  switch (A.kind) {
14136
14136
  case S.TextNode:
14137
14137
  case S.StringLiteral:
14138
- W(A.kind);
14138
+ O(A.kind);
14139
14139
  break;
14140
14140
  case S.CloseNodeStart:
14141
14141
  break e;
@@ -14148,11 +14148,11 @@ function gy(e) {
14148
14148
  }
14149
14149
  a.children && a.children.length > 0 ? g(S.ContentListNode) : q();
14150
14150
  }
14151
- function x() {
14151
+ function h() {
14152
14152
  for (; ; )
14153
14153
  switch (N().kind) {
14154
14154
  case S.EndOfFileToken:
14155
- h();
14155
+ x();
14156
14156
  return;
14157
14157
  default:
14158
14158
  c();
@@ -14160,36 +14160,36 @@ function gy(e) {
14160
14160
  }
14161
14161
  }
14162
14162
  function c() {
14163
- !I(S.CData) && !I(S.Script) && (H(S.OpenNodeStart) ? T() : L(ly));
14163
+ !$(S.CData) && !$(S.Script) && (H(S.OpenNodeStart) ? T() : L(ly));
14164
14164
  }
14165
14165
  function T() {
14166
- p(), W(S.OpenNodeStart);
14166
+ p(), O(S.OpenNodeStart);
14167
14167
  let A;
14168
- if (H(S.Identifier) ? A = b() : j(mn), f(), I(S.NodeClose)) {
14168
+ if (H(S.Identifier) ? A = b() : Z(mn), f(), $(S.NodeClose)) {
14169
14169
  g(S.ElementNode);
14170
14170
  return;
14171
- } else if (I(S.NodeEnd)) {
14172
- if (v(), I(S.CloseNodeStart)) {
14171
+ } else if ($(S.NodeEnd)) {
14172
+ if (v(), $(S.CloseNodeStart)) {
14173
14173
  if (H(S.Identifier)) {
14174
14174
  const B = b();
14175
- A !== void 0 && !vy(A, B, s) && j(qo.tagNameMismatch(s(A), s(B)));
14175
+ A !== void 0 && !vy(A, B, s) && Z(qo.tagNameMismatch(s(A), s(B)));
14176
14176
  } else
14177
- F(mn, [S.NodeEnd]);
14178
- I(S.NodeEnd) || j(ay);
14177
+ U(mn, [S.NodeEnd]);
14178
+ $(S.NodeEnd) || Z(ay);
14179
14179
  } else
14180
- j(iy);
14180
+ Z(iy);
14181
14181
  g(S.ElementNode);
14182
14182
  return;
14183
14183
  } else
14184
- j(dy);
14184
+ Z(dy);
14185
14185
  }
14186
14186
  function b() {
14187
- return p(), W(S.Identifier), I(S.Colon) && I(S.Identifier), g(S.TagNameNode);
14187
+ return p(), O(S.Identifier), $(S.Colon) && $(S.Identifier), g(S.TagNameNode);
14188
14188
  }
14189
14189
  function f() {
14190
14190
  p();
14191
14191
  const A = [];
14192
- for (; !O([S.EndOfFileToken, S.NodeEnd, S.NodeClose]); )
14192
+ for (; !W([S.EndOfFileToken, S.NodeEnd, S.NodeClose]); )
14193
14193
  y(A);
14194
14194
  a.children.length === 0 ? q() : g(S.AttributeListNode);
14195
14195
  }
@@ -14198,42 +14198,42 @@ function gy(e) {
14198
14198
  w(A);
14199
14199
  else {
14200
14200
  const B = [S.Equal];
14201
- if (!F(pn, B))
14201
+ if (!U(pn, B))
14202
14202
  return;
14203
14203
  }
14204
- if (I(S.Equal) && !I(S.StringLiteral) && !I(S.Identifier)) {
14204
+ if ($(S.Equal) && !$(S.StringLiteral) && !$(S.Identifier)) {
14205
14205
  const B = [S.NodeEnd, S.NodeClose];
14206
- F(ny, B);
14206
+ U(ny, B);
14207
14207
  }
14208
14208
  g(S.AttributeNode);
14209
14209
  }
14210
14210
  function w(A) {
14211
14211
  const B = R();
14212
14212
  let P;
14213
- p(), W(S.Identifier), I(S.Colon) && (H(S.Identifier) ? P = W(S.Identifier) : F(pn, [
14213
+ p(), O(S.Identifier), $(S.Colon) && (H(S.Identifier) ? P = O(S.Identifier) : U(pn, [
14214
14214
  S.NodeClose,
14215
14215
  S.NodeEnd,
14216
14216
  S.Equal
14217
14217
  ])), _(A, { nsIdent: P, nameIdent: B }), g(S.AttributeKeyNode);
14218
14218
  }
14219
14219
  function _(A, { nameIdent: B, nsIdent: P }) {
14220
- const M = s(B), E = P === void 0 ? void 0 : s(P), G = ({ ns: be, name: Me }) => Me === M && be === E, Z = A.findIndex(G) !== -1, K = "A" <= M[0] && M[0] <= "Z", te = Z || K;
14221
- Z && V(qo.duplAttr(M), B.pos, B.end), K && V(qo.uppercaseAttr(M), B.pos, B.end), te || A.push({ name: M });
14220
+ const M = s(B), E = P === void 0 ? void 0 : s(P), G = ({ ns: be, name: Me }) => Me === M && be === E, j = A.findIndex(G) !== -1, K = "A" <= M[0] && M[0] <= "Z", te = j || K;
14221
+ j && V(qo.duplAttr(M), B.pos, B.end), K && V(qo.uppercaseAttr(M), B.pos, B.end), te || A.push({ name: M });
14222
14222
  }
14223
14223
  function H(A) {
14224
14224
  return R().kind === A;
14225
14225
  }
14226
- function I(A) {
14226
+ function $(A) {
14227
14227
  const B = H(A);
14228
- return B && h(), B;
14228
+ return B && x(), B;
14229
14229
  }
14230
- function O(A) {
14230
+ function W(A) {
14231
14231
  return A.includes(R().kind);
14232
14232
  }
14233
- function F(A, B) {
14234
- return O(B) || H(S.EndOfFileToken) ? (j(A), !0) : (p(), j(A), h(), g(S.ErrorNode), !1);
14233
+ function U(A, B) {
14234
+ return W(B) || H(S.EndOfFileToken) ? (Z(A), !0) : (p(), Z(A), x(), g(S.ErrorNode), !1);
14235
14235
  }
14236
- function j({ code: A, message: B, category: P }) {
14236
+ function Z({ code: A, message: B, category: P }) {
14237
14237
  const { pos: M, end: E } = R();
14238
14238
  t.push({
14239
14239
  category: P,
@@ -14268,10 +14268,10 @@ function gy(e) {
14268
14268
  G = M;
14269
14269
  break;
14270
14270
  }
14271
- let Z = -1;
14271
+ let j = -1;
14272
14272
  for (; M < P; ++M)
14273
14273
  if (B[M].kind === S.CommentTrivia) {
14274
- Z = M;
14274
+ j = M;
14275
14275
  break;
14276
14276
  }
14277
14277
  let K = !1;
@@ -14284,14 +14284,14 @@ function gy(e) {
14284
14284
  let be = te, Me;
14285
14285
  E.length > 0 && (Me = E, be = E[0].pos);
14286
14286
  let Re = S.TextNode, ie = -1;
14287
- if (Z !== -1)
14288
- ie = B[Z].pos, l.resetTokenState(ie);
14287
+ if (j !== -1)
14288
+ ie = B[j].pos, l.resetTokenState(ie);
14289
14289
  else if (K)
14290
14290
  Re = S.StringLiteral, ie = A.end;
14291
14291
  else {
14292
14292
  for (; ; ) {
14293
14293
  const oe = l.peekChar();
14294
- if (oe === null || oe === $.lessThan)
14294
+ if (oe === null || oe === I.lessThan)
14295
14295
  break;
14296
14296
  l.scanChar();
14297
14297
  }
@@ -14299,15 +14299,15 @@ function gy(e) {
14299
14299
  }
14300
14300
  return o = { kind: Re, start: be, pos: te, end: ie, triviaBefore: Me }, o;
14301
14301
  }
14302
- function W(A) {
14303
- const B = h();
14302
+ function O(A) {
14303
+ const B = x();
14304
14304
  if (B.kind !== A)
14305
14305
  throw new Error(
14306
14306
  `expected ${hn(A)}, bumped a ${hn(B.kind)}`
14307
14307
  );
14308
14308
  return B;
14309
14309
  }
14310
- function h() {
14310
+ function x() {
14311
14311
  if (o) {
14312
14312
  a.children.push(o);
14313
14313
  const B = o;
@@ -14331,7 +14331,7 @@ function gy(e) {
14331
14331
  if (B = l.scan(), M === null && (M = l.getTokenStart()), n !== void 0) {
14332
14332
  let E;
14333
14333
  n.message.code === Tr.invalidChar ? E = qo.invalidChar(l.getTokenText()) : E = n.message;
14334
- const G = l.getTokenStart(), Z = {
14334
+ const G = l.getTokenStart(), j = {
14335
14335
  kind: B,
14336
14336
  start: M,
14337
14337
  pos: G,
@@ -14339,9 +14339,9 @@ function gy(e) {
14339
14339
  triviaBefore: P.length > 0 ? P : void 0
14340
14340
  };
14341
14341
  if (P = [], A && E.code === Tr.invalidChar)
14342
- return n = void 0, Z;
14342
+ return n = void 0, j;
14343
14343
  const K = G + n.prefixLength;
14344
- return Z.end = K, l.resetTokenState(K), p(), a.children.push(Z), V(E, G, K), g(S.ErrorNode), n = void 0, C(A);
14344
+ return j.end = K, l.resetTokenState(K), p(), a.children.push(j), V(E, G, K), g(S.ErrorNode), n = void 0, C(A);
14345
14345
  }
14346
14346
  switch (B) {
14347
14347
  case S.CommentTrivia:
@@ -14366,13 +14366,13 @@ function gy(e) {
14366
14366
  }
14367
14367
  }
14368
14368
  function L(A) {
14369
- F(A, []);
14369
+ U(A, []);
14370
14370
  }
14371
14371
  function q() {
14372
14372
  const A = r[r.length - 1];
14373
14373
  A.children.push(...a.children), a = A, r.pop();
14374
14374
  }
14375
- return x(), { node: bn(S.ContentListNode, a.children), errors: t };
14375
+ return h(), { node: bn(S.ContentListNode, a.children), errors: t };
14376
14376
  }
14377
14377
  function bn(e, t) {
14378
14378
  const r = t[0], o = t[t.length - 1];
@@ -14394,10 +14394,10 @@ function Ty(e, t, r, o) {
14394
14394
  if (Nx(i))
14395
14395
  return { ...a, moduleErrors: i };
14396
14396
  const l = o(i.name);
14397
- return i.statements.forEach((x) => {
14398
- switch (x.type) {
14397
+ return i.statements.forEach((h) => {
14398
+ switch (h.type) {
14399
14399
  case "VarS":
14400
- x.declarations.forEach((c) => {
14400
+ h.declarations.forEach((c) => {
14401
14401
  if (c.id in a.vars)
14402
14402
  throw new Error(`Duplicated var declaration: '${c.id}'`);
14403
14403
  a.vars[c.id] = {
@@ -14408,44 +14408,44 @@ function Ty(e, t, r, o) {
14408
14408
  });
14409
14409
  break;
14410
14410
  case "FuncD":
14411
- v(l, x);
14411
+ v(l, h);
14412
14412
  break;
14413
14413
  case "ImportD":
14414
14414
  break;
14415
14415
  default:
14416
- throw new Error(`'${x.type}' is not allowed in a code-behind module.`);
14416
+ throw new Error(`'${h.type}' is not allowed in a code-behind module.`);
14417
14417
  }
14418
14418
  }), s(i), a;
14419
- function s(x) {
14419
+ function s(h) {
14420
14420
  var T;
14421
- const c = o(x.name);
14421
+ const c = o(h.name);
14422
14422
  if (!((T = n == null ? void 0 : n[c]) != null && T.collectedImportsFrom)) {
14423
- for (const b in x.imports) {
14424
- const f = o(b), y = x.imports[b];
14423
+ for (const b in h.imports) {
14424
+ const f = o(b), y = h.imports[b];
14425
14425
  for (const w of Object.values(y))
14426
14426
  w.type === "FuncD" && v(f, w);
14427
14427
  }
14428
14428
  n[c] ?? (n[c] = { collectedImportsFrom: !0 }), n[c].collectedImportsFrom = !0;
14429
- for (let b of x.importedModules)
14429
+ for (let b of h.importedModules)
14430
14430
  s(b);
14431
14431
  }
14432
14432
  }
14433
- function v(x, c) {
14434
- var w, _, H, I;
14433
+ function v(h, c) {
14434
+ var w, _, H, $;
14435
14435
  var T;
14436
- if (((_ = (w = n == null ? void 0 : n[x]) == null ? void 0 : w.functions) == null ? void 0 : _[c.name]) !== void 0)
14436
+ if (((_ = (w = n == null ? void 0 : n[h]) == null ? void 0 : w.functions) == null ? void 0 : _[c.name]) !== void 0)
14437
14437
  return;
14438
14438
  if (c.name in a.functions)
14439
14439
  throw new Error(`Duplicated function declaration: '${c.name}'`);
14440
- const b = c.args.length === 1 ? `${c.args[0].source} => ${c.statement.source}` : `(${c.args.map((O) => O.source).join(", ")}) => ${c.statement.source}`, f = {
14440
+ const b = c.args.length === 1 ? `${c.args[0].source} => ${c.statement.source}` : `(${c.args.map((W) => W.source).join(", ")}) => ${c.statement.source}`, f = {
14441
14441
  type: "ArrowE",
14442
14442
  args: c.args.slice(),
14443
14443
  statement: c.statement,
14444
14444
  closureContext: Sl({
14445
14445
  blocks: [{ vars: {} }]
14446
14446
  })
14447
- }, y = (I = (H = f.closureContext[0]) == null ? void 0 : H.vars) == null ? void 0 : I[c.name];
14448
- y != null && y.closureContext && delete y.closureContext, n[x] ?? (n[x] = { functions: {}, collectedImportsFrom: !1 }), (T = n[x]).functions ?? (T.functions = {}), n[x].functions[c.name] = {
14447
+ }, y = ($ = (H = f.closureContext[0]) == null ? void 0 : H.vars) == null ? void 0 : $[c.name];
14448
+ y != null && y.closureContext && delete y.closureContext, n[h] ?? (n[h] = { functions: {}, collectedImportsFrom: !1 }), (T = n[h]).functions ?? (T.functions = {}), n[h].functions[c.name] = {
14449
14449
  [Ha]: !0,
14450
14450
  source: b,
14451
14451
  tree: f
@@ -14517,9 +14517,9 @@ const yy = {
14517
14517
  field: "field"
14518
14518
  };
14519
14519
  function Iy(e, t, r, o = () => "") {
14520
- const a = (h) => h.text ?? t(h), n = Ay(e), i = F(n), l = [], s = [];
14520
+ const a = (x) => x.text ?? t(x), n = Ay(e), i = U(n), l = [], s = [];
14521
14521
  return v(l, i);
14522
- function v(h, p) {
14522
+ function v(x, p) {
14523
14523
  const g = kn(p, a, s);
14524
14524
  if (g === vn)
14525
14525
  return c(p);
@@ -14533,9 +14533,9 @@ function Iy(e, t, r, o = () => "") {
14533
14533
  }
14534
14534
  }
14535
14535
  };
14536
- return T(h, C, p), C;
14536
+ return T(x, C, p), C;
14537
14537
  }
14538
- function x(h, p) {
14538
+ function h(x, p) {
14539
14539
  const g = kn(p, a, s);
14540
14540
  g === vn && fe("T006");
14541
14541
  let C = {
@@ -14548,10 +14548,10 @@ function Iy(e, t, r, o = () => "") {
14548
14548
  }
14549
14549
  }
14550
14550
  };
14551
- return T(h, C, p), C;
14551
+ return T(x, C, p), C;
14552
14552
  }
14553
- function c(h) {
14554
- const p = jr(h).map(I), g = p.find((te) => te.name === "name");
14553
+ function c(x) {
14554
+ const p = jr(x).map($), g = p.find((te) => te.name === "name");
14555
14555
  g || fe("T003"), Ba.test(g.value) || fe("T004");
14556
14556
  let C;
14557
14557
  const L = p.filter((te) => te.startSegment === "method");
@@ -14563,7 +14563,7 @@ function Iy(e, t, r, o = () => "") {
14563
14563
  z.length > 0 && (q = {}, z.forEach((te) => {
14564
14564
  q[te.name] = te.value;
14565
14565
  }));
14566
- const A = Jr(h), B = A.filter(
14566
+ const A = Jr(x), B = A.filter(
14567
14567
  (te) => te.kind === S.ElementNode && !(ir(te, a) in pr)
14568
14568
  );
14569
14569
  B.length === 0 && B.push(gn(""));
@@ -14577,33 +14577,33 @@ function Iy(e, t, r, o = () => "") {
14577
14577
  B.length > 1 || M.length > 0 ? E = Tn([...M, ...B]) : E = B[0], s.push(/* @__PURE__ */ new Map()), p.filter((te) => te.namespace === "xmlns").forEach((te) => {
14578
14578
  Cn(s, E, te.unsegmentedName, te.value);
14579
14579
  });
14580
- let G = x(
14580
+ let G = h(
14581
14581
  l,
14582
14582
  E
14583
14583
  );
14584
14584
  s.pop();
14585
- const Z = {
14585
+ const j = {
14586
14586
  name: g.value,
14587
14587
  component: G,
14588
14588
  debug: {
14589
14589
  source: {
14590
- start: h.start,
14591
- end: h.end,
14590
+ start: x.start,
14591
+ end: x.end,
14592
14592
  fileId: r
14593
14593
  }
14594
14594
  }
14595
14595
  };
14596
- C && (Z.api = C), q && (G.vars = { ...G.vars, ...q }), G.debug = {
14596
+ C && (j.api = C), q && (G.vars = { ...G.vars, ...q }), G.debug = {
14597
14597
  source: {
14598
14598
  start: E.start,
14599
14599
  end: E.end,
14600
14600
  fileId: r
14601
14601
  }
14602
14602
  };
14603
- const K = yn(h, P);
14604
- return T(l, Z, K), Z;
14603
+ const K = yn(x, P);
14604
+ return T(l, j, K), j;
14605
14605
  }
14606
- function T(h, p, g) {
14606
+ function T(x, p, g) {
14607
14607
  var B;
14608
14608
  const C = !Ot(p), L = jr(g);
14609
14609
  if (s.push(/* @__PURE__ */ new Map()), L.forEach((P) => {
@@ -14626,14 +14626,14 @@ function Iy(e, t, r, o = () => "") {
14626
14626
  const M = ir(P, a);
14627
14627
  if (!(C && P.kind === S.ElementNode && !(M in pr))) {
14628
14628
  if (!(M in pr) && !C) {
14629
- const E = x(h, P);
14629
+ const E = h(x, P);
14630
14630
  E && (p.children ? typeof p.children == "string" ? p.children = [p.children, E] : Array.isArray(p.children) && p.children.push(E) : p.children = [E]);
14631
14631
  return;
14632
14632
  }
14633
14633
  switch (M) {
14634
14634
  case "property":
14635
14635
  _(
14636
- h,
14636
+ x,
14637
14637
  p,
14638
14638
  P,
14639
14639
  (E) => {
@@ -14647,7 +14647,7 @@ function Iy(e, t, r, o = () => "") {
14647
14647
  return;
14648
14648
  case "event":
14649
14649
  _(
14650
- h,
14650
+ x,
14651
14651
  p,
14652
14652
  P,
14653
14653
  (E) => {
@@ -14664,7 +14664,7 @@ function Iy(e, t, r, o = () => "") {
14664
14664
  return;
14665
14665
  case pr.variable:
14666
14666
  _(
14667
- h,
14667
+ x,
14668
14668
  p,
14669
14669
  P,
14670
14670
  (E) => {
@@ -14677,14 +14677,14 @@ function Iy(e, t, r, o = () => "") {
14677
14677
  );
14678
14678
  return;
14679
14679
  case "loaders":
14680
- w(h, p, P);
14680
+ w(x, p, P);
14681
14681
  return;
14682
14682
  case "uses":
14683
14683
  H(p, P);
14684
14684
  return;
14685
14685
  case "method":
14686
14686
  _(
14687
- h,
14687
+ x,
14688
14688
  p,
14689
14689
  P,
14690
14690
  (E) => {
@@ -14717,11 +14717,11 @@ function Iy(e, t, r, o = () => "") {
14717
14717
  const A = ((B = p.scriptCollected) == null ? void 0 : B.moduleErrors) ?? {};
14718
14718
  Object.keys(A).length > 0 && (p.scriptError = A);
14719
14719
  }
14720
- function b(h, p) {
14721
- const { namespace: g, startSegment: C, name: L, value: q, unsegmentedName: z } = I(p);
14720
+ function b(x, p) {
14721
+ const { namespace: g, startSegment: C, name: L, value: q, unsegmentedName: z } = $(p);
14722
14722
  if (g === "xmlns")
14723
- return Cn(s, h, z, q);
14724
- if (!Ot(h)) {
14723
+ return Cn(s, x, z, q);
14724
+ if (!Ot(x)) {
14725
14725
  if (C && C !== "method" && C !== "var") {
14726
14726
  fe("T021");
14727
14727
  return;
@@ -14733,31 +14733,31 @@ function Iy(e, t, r, o = () => "") {
14733
14733
  }
14734
14734
  switch (L) {
14735
14735
  case "id":
14736
- h.uid = q;
14736
+ x.uid = q;
14737
14737
  return;
14738
14738
  case "testId":
14739
- h.testId = q;
14739
+ x.testId = q;
14740
14740
  return;
14741
14741
  case "when":
14742
- h.when = q;
14742
+ x.when = q;
14743
14743
  return;
14744
14744
  default:
14745
14745
  if (C === "var")
14746
- h.vars ?? (h.vars = {}), h.vars[L] = q;
14746
+ x.vars ?? (x.vars = {}), x.vars[L] = q;
14747
14747
  else if (C === "method")
14748
- h.api ?? (h.api = {}), h.api[L] = q;
14748
+ x.api ?? (x.api = {}), x.api[L] = q;
14749
14749
  else if (C === "event")
14750
- h.events ?? (h.events = {}), h.events[L] = q;
14750
+ x.events ?? (x.events = {}), x.events[L] = q;
14751
14751
  else if (fn.test(L)) {
14752
- h.events ?? (h.events = {});
14752
+ x.events ?? (x.events = {});
14753
14753
  const B = L[2].toLowerCase() + L.substring(3);
14754
- h.events[B] = q;
14754
+ x.events[B] = q;
14755
14755
  } else
14756
- h.props ?? (h.props = {}), h.props[L] = q;
14756
+ x.props ?? (x.props = {}), x.props[L] = q;
14757
14757
  return;
14758
14758
  }
14759
14759
  }
14760
- function f(h, p) {
14760
+ function f(x, p) {
14761
14761
  let g = null;
14762
14762
  if (!p) return g;
14763
14763
  let C = null;
@@ -14787,42 +14787,42 @@ function Iy(e, t, r, o = () => "") {
14787
14787
  return;
14788
14788
  }
14789
14789
  }
14790
- let z = y(h, L, q === "field");
14790
+ let z = y(x, L, q === "field");
14791
14791
  if (!z)
14792
14792
  return null;
14793
14793
  C === "field" ? g[z.name] = z.value : g.push(z.value);
14794
14794
  }), g;
14795
14795
  }
14796
- function y(h, p, g = !0) {
14796
+ function y(x, p, g = !0) {
14797
14797
  const C = ir(p, a), L = Jr(p), q = L.filter(
14798
- (Z) => Z.kind === S.ElementNode && Ba.test(ir(Z, a))
14798
+ (j) => j.kind === S.ElementNode && Ba.test(ir(j, a))
14799
14799
  ), z = L.filter(
14800
- (Z) => Z.kind === S.ElementNode && !Ba.test(ir(Z, a))
14801
- ), A = jr(p).map(I), B = A.filter((Z) => Cy.indexOf(Z.name) >= 0);
14800
+ (j) => j.kind === S.ElementNode && !Ba.test(ir(j, a))
14801
+ ), A = jr(p).map($), B = A.filter((j) => Cy.indexOf(j.name) >= 0);
14802
14802
  if (A.length > B.length)
14803
14803
  return fe("T011", C), null;
14804
- const P = B.find((Z) => Z.name === "name");
14804
+ const P = B.find((j) => j.name === "name");
14805
14805
  if (g) {
14806
14806
  if (!(P != null && P.value))
14807
14807
  return fe("T012", C), null;
14808
14808
  } else if (P)
14809
14809
  return fe("T018", C), null;
14810
- const M = P == null ? void 0 : P.value, E = B.find((Z) => Z.name === "value");
14810
+ const M = P == null ? void 0 : P.value, E = B.find((j) => j.name === "value");
14811
14811
  if (E && E.value === void 0)
14812
14812
  return fe("T019", C), null;
14813
14813
  if (M && q.length >= 1) {
14814
14814
  if (z.length > 0)
14815
14815
  return fe("T020"), null;
14816
- const Z = q.map((K) => x(h, K));
14816
+ const j = q.map((K) => h(x, K));
14817
14817
  return {
14818
14818
  name: M,
14819
- value: Z.length === 1 ? Z[0] : Z
14819
+ value: j.length === 1 ? j[0] : j
14820
14820
  };
14821
14821
  }
14822
14822
  let G = E == null ? void 0 : E.value;
14823
- return G === null ? null : typeof G == "string" ? { name: M, value: G } : { name: M, value: f(h, L) };
14823
+ return G === null ? null : typeof G == "string" ? { name: M, value: G } : { name: M, value: f(x, L) };
14824
14824
  }
14825
- function w(h, p, g) {
14825
+ function w(x, p, g) {
14826
14826
  var q;
14827
14827
  if (!Ot(p)) {
14828
14828
  fe("T009", "loaders");
@@ -14838,7 +14838,7 @@ function Iy(e, t, r, o = () => "") {
14838
14838
  fe("T010", "loader");
14839
14839
  return;
14840
14840
  }
14841
- const A = x(h, z);
14841
+ const A = h(x, z);
14842
14842
  if (!A.uid) {
14843
14843
  fe("T013");
14844
14844
  return;
@@ -14858,8 +14858,8 @@ function Iy(e, t, r, o = () => "") {
14858
14858
  p.loaders ?? (p.loaders = []), p.loaders.push(A);
14859
14859
  });
14860
14860
  }
14861
- function _(h, p, g, C, L, q) {
14862
- const z = y(h, g);
14861
+ function _(x, p, g, C, L, q) {
14862
+ const z = y(x, g);
14863
14863
  if (!z)
14864
14864
  return;
14865
14865
  q == null || q((z == null ? void 0 : z.name) ?? "");
@@ -14867,59 +14867,59 @@ function Iy(e, t, r, o = () => "") {
14867
14867
  if ((z == null ? void 0 : z.value) !== void 0)
14868
14868
  L(A, Go(C(A), B));
14869
14869
  else {
14870
- const P = Jr(g), M = f(h, P);
14870
+ const P = Jr(g), M = f(x, P);
14871
14871
  let E = C(A);
14872
14872
  E = Go(E, M), L(A, E);
14873
14873
  }
14874
14874
  }
14875
- function H(h, p) {
14876
- if (!Ot(h)) {
14875
+ function H(x, p) {
14876
+ if (!Ot(x)) {
14877
14877
  fe("T009", "uses");
14878
14878
  return;
14879
14879
  }
14880
- const g = jr(p).map(I), C = g.find((L) => L.name === "value");
14880
+ const g = jr(p).map($), C = g.find((L) => L.name === "value");
14881
14881
  if (!(C != null && C.value) || g.length !== 1) {
14882
14882
  fe("T015", "uses");
14883
14883
  return;
14884
14884
  }
14885
- h.uses ?? (h.uses = C.value.split(",").map((L) => L.trim()));
14885
+ x.uses ?? (x.uses = C.value.split(",").map((L) => L.trim()));
14886
14886
  }
14887
- function I(h) {
14888
- let p = h.children[0];
14887
+ function $(x) {
14888
+ let p = x.children[0];
14889
14889
  const g = p.children.length === 3;
14890
14890
  let C;
14891
14891
  g && (C = a(p.children[0]));
14892
14892
  let L = a(p.children[p.children.length - 1]);
14893
14893
  const q = L.split(".");
14894
- q.length > 2 && fe("T007", h, p);
14894
+ q.length > 2 && fe("T007", x, p);
14895
14895
  let z, A;
14896
- q.length === 2 ? (A = q[0], z = q[1], z.trim() === "" && fe("T007", h, z)) : z = L;
14897
- const B = a(h.children[2]), P = B.substring(1, B.length - 1);
14896
+ q.length === 2 ? (A = q[0], z = q[1], z.trim() === "" && fe("T007", x, z)) : z = L;
14897
+ const B = a(x.children[2]), P = B.substring(1, B.length - 1);
14898
14898
  return { namespace: C, startSegment: A, name: z, value: P, unsegmentedName: L };
14899
14899
  }
14900
- function O(h) {
14901
- for (let p of h) {
14900
+ function W(x) {
14901
+ for (let p of x) {
14902
14902
  const g = p.children[p.children.length - 1], C = N(a(g));
14903
14903
  C !== null && (g.text = C);
14904
14904
  }
14905
14905
  }
14906
- function F(h) {
14907
- const p = Jr(h), g = ir(h, a), L = !(g in pr) || g === "property", q = g !== "event" && g !== "method", z = jr(h);
14908
- Ly(z), _y(z, a), O(z), R(p), W(p, q);
14906
+ function U(x) {
14907
+ const p = Jr(x), g = ir(x, a), L = !(g in pr) || g === "property", q = g !== "event" && g !== "method", z = jr(x);
14908
+ Ly(z), _y(z, a), W(z), R(p), O(p, q);
14909
14909
  let A = !1, B = !1;
14910
14910
  for (let G = 0; G < p.length; ++G) {
14911
- const Z = p[G];
14911
+ const j = p[G];
14912
14912
  let K;
14913
- if (Z.kind == S.Script) {
14913
+ if (j.kind == S.Script) {
14914
14914
  B = !0;
14915
14915
  continue;
14916
14916
  }
14917
- if (Z.kind === S.ElementNode) {
14918
- K = F(Z), p[G] = K;
14917
+ if (j.kind === S.ElementNode) {
14918
+ K = U(j), p[G] = K;
14919
14919
  continue;
14920
14920
  }
14921
- let te = a(Z);
14922
- Z.kind === S.StringLiteral ? te = te.slice(1, -1) : Z.kind === S.CData && (A = !0), L ? A ? K = $y(te) : K = gn(te) : K = {
14921
+ let te = a(j);
14922
+ j.kind === S.StringLiteral ? te = te.slice(1, -1) : j.kind === S.CData && (A = !0), L ? A ? K = $y(te) : K = gn(te) : K = {
14923
14923
  kind: S.TextNode,
14924
14924
  text: te
14925
14925
  }, p[G] = K;
@@ -14938,84 +14938,84 @@ function Iy(e, t, r, o = () => "") {
14938
14938
  }
14939
14939
  if (B && E) {
14940
14940
  const G = Tn(M);
14941
- return P.push(G), yn(h, P);
14941
+ return P.push(G), yn(x, P);
14942
14942
  }
14943
- return h;
14943
+ return x;
14944
14944
  }
14945
- function j(h) {
14946
- for (let p = 0; p < h.length; ++p)
14947
- if (h[p].kind === S.StringLiteral || h[p].kind === S.TextNode) {
14945
+ function Z(x) {
14946
+ for (let p = 0; p < x.length; ++p)
14947
+ if (x[p].kind === S.StringLiteral || x[p].kind === S.TextNode) {
14948
14948
  const g = /[\f\n\r\t\v\u0020\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/g;
14949
- h[p].text = a(h[p]).replace(
14949
+ x[p].text = a(x[p]).replace(
14950
14950
  g,
14951
14951
  " "
14952
14952
  );
14953
14953
  }
14954
14954
  }
14955
- function V(h) {
14956
- for (let p = 0; p < h.length; ++p)
14957
- h[p].kind === S.CData && (h[p].text = a(h[p]).slice(ky, -3));
14955
+ function V(x) {
14956
+ for (let p = 0; p < x.length; ++p)
14957
+ x[p].kind === S.CData && (x[p].text = a(x[p]).slice(ky, -3));
14958
14958
  }
14959
- function R(h) {
14960
- for (let p of h)
14959
+ function R(x) {
14960
+ for (let p of x)
14961
14961
  if (p.kind === S.StringLiteral || p.kind === S.TextNode) {
14962
14962
  const g = N(a(p));
14963
14963
  g !== null && (p.text = g);
14964
14964
  }
14965
14965
  }
14966
- function N(h) {
14966
+ function N(x) {
14967
14967
  let p = "", g = 0;
14968
- for (let C = 0; C < h.length; ++C)
14969
- if (h.charCodeAt(C) === $.ampersand)
14970
- switch (h.charCodeAt(C + 1)) {
14971
- case $.a:
14972
- switch (h.charCodeAt(C + 2)) {
14973
- case $.m:
14974
- h.charCodeAt(C + 3) === $.p && h.charCodeAt(C + 4) === $.semicolon && (p = p + h.substring(g, C) + "&", C += 4, g = C + 1);
14968
+ for (let C = 0; C < x.length; ++C)
14969
+ if (x.charCodeAt(C) === I.ampersand)
14970
+ switch (x.charCodeAt(C + 1)) {
14971
+ case I.a:
14972
+ switch (x.charCodeAt(C + 2)) {
14973
+ case I.m:
14974
+ x.charCodeAt(C + 3) === I.p && x.charCodeAt(C + 4) === I.semicolon && (p = p + x.substring(g, C) + "&", C += 4, g = C + 1);
14975
14975
  break;
14976
- case $.p:
14977
- h.charCodeAt(C + 3) === $.o && h.charCodeAt(C + 4) === $.s && h.charCodeAt(C + 5) === $.semicolon && (p = p + h.substring(g, C) + "'", C += 5, g = C + 1);
14976
+ case I.p:
14977
+ x.charCodeAt(C + 3) === I.o && x.charCodeAt(C + 4) === I.s && x.charCodeAt(C + 5) === I.semicolon && (p = p + x.substring(g, C) + "'", C += 5, g = C + 1);
14978
14978
  break;
14979
14979
  }
14980
14980
  break;
14981
- case $.g:
14982
- h.charCodeAt(C + 2) === $.t && h.charCodeAt(C + 3) === $.semicolon && (p = p + h.substring(g, C) + ">", C += 3, g = C + 1);
14981
+ case I.g:
14982
+ x.charCodeAt(C + 2) === I.t && x.charCodeAt(C + 3) === I.semicolon && (p = p + x.substring(g, C) + ">", C += 3, g = C + 1);
14983
14983
  break;
14984
- case $.l:
14985
- h.charCodeAt(C + 2) === $.t && h.charCodeAt(C + 3) === $.semicolon && (p = p + h.substring(g, C) + "<", C += 3, g = C + 1);
14984
+ case I.l:
14985
+ x.charCodeAt(C + 2) === I.t && x.charCodeAt(C + 3) === I.semicolon && (p = p + x.substring(g, C) + "<", C += 3, g = C + 1);
14986
14986
  break;
14987
- case $.q:
14988
- h.charCodeAt(C + 2) === $.u && h.charCodeAt(C + 3) === $.o && h.charCodeAt(C + 4) === $.t && h.charCodeAt(C + 5) === $.semicolon && (p = p + h.substring(g, C) + '"', C += 5, g = C + 1);
14987
+ case I.q:
14988
+ x.charCodeAt(C + 2) === I.u && x.charCodeAt(C + 3) === I.o && x.charCodeAt(C + 4) === I.t && x.charCodeAt(C + 5) === I.semicolon && (p = p + x.substring(g, C) + '"', C += 5, g = C + 1);
14989
14989
  break;
14990
- case $.n:
14991
- h.charCodeAt(C + 2) === $.b && h.charCodeAt(C + 3) === $.s && h.charCodeAt(C + 4) === $.p && h.charCodeAt(C + 5) === $.semicolon && (p = p + h.substring(g, C) + " ", C += 5, g = C + 1);
14990
+ case I.n:
14991
+ x.charCodeAt(C + 2) === I.b && x.charCodeAt(C + 3) === I.s && x.charCodeAt(C + 4) === I.p && x.charCodeAt(C + 5) === I.semicolon && (p = p + x.substring(g, C) + " ", C += 5, g = C + 1);
14992
14992
  break;
14993
14993
  }
14994
- return g === 0 ? null : (p += h.substring(g), p);
14994
+ return g === 0 ? null : (p += x.substring(g), p);
14995
14995
  }
14996
- function W(h, p) {
14997
- p && j(h), V(h);
14998
- for (let g = h.length - 1; g > 0; --g) {
14999
- const C = h[g - 1], L = h[g];
15000
- C.kind === S.StringLiteral && L.kind === S.CData ? (h[g - 1] = {
14996
+ function O(x, p) {
14997
+ p && Z(x), V(x);
14998
+ for (let g = x.length - 1; g > 0; --g) {
14999
+ const C = x[g - 1], L = x[g];
15000
+ C.kind === S.StringLiteral && L.kind === S.CData ? (x[g - 1] = {
15001
15001
  kind: S.CData,
15002
15002
  text: a(C).slice(1, -1) + a(L)
15003
- }, h.pop()) : C.kind === S.CData && L.kind === S.StringLiteral ? (h[g - 1] = {
15003
+ }, x.pop()) : C.kind === S.CData && L.kind === S.StringLiteral ? (x[g - 1] = {
15004
15004
  kind: S.CData,
15005
15005
  text: a(C) + a(L).slice(1, -1)
15006
- }, h.pop()) : C.kind === S.CData && L.kind === S.TextNode ? (h[g - 1] = {
15006
+ }, x.pop()) : C.kind === S.CData && L.kind === S.TextNode ? (x[g - 1] = {
15007
15007
  kind: S.CData,
15008
15008
  text: a(C) + a(L)
15009
- }, h.pop()) : C.kind === S.CData && L.kind === S.CData ? (h[g - 1] = {
15009
+ }, x.pop()) : C.kind === S.CData && L.kind === S.CData ? (x[g - 1] = {
15010
15010
  kind: S.CData,
15011
15011
  text: a(C) + a(L)
15012
- }, h.pop()) : C.kind === S.TextNode && L.kind === S.TextNode ? (a(C).endsWith(" ") && a(L).startsWith(" ") && (C.text = a(C).trimEnd()), h[g - 1] = {
15012
+ }, x.pop()) : C.kind === S.TextNode && L.kind === S.TextNode ? (a(C).endsWith(" ") && a(L).startsWith(" ") && (C.text = a(C).trimEnd()), x[g - 1] = {
15013
15013
  kind: S.TextNode,
15014
15014
  text: a(C) + a(L)
15015
- }, h.pop()) : C.kind === S.TextNode && L.kind === S.CData && (h[g - 1] = {
15015
+ }, x.pop()) : C.kind === S.TextNode && L.kind === S.CData && (x[g - 1] = {
15016
15016
  kind: S.CData,
15017
15017
  text: a(C) + a(L)
15018
- }, h.pop());
15018
+ }, x.pop());
15019
15019
  }
15020
15020
  }
15021
15021
  }
@@ -15206,9 +15206,9 @@ function Ny(e, t = 0, r) {
15206
15206
  const { parse: o, getText: a } = fy(e), { node: n, errors: i } = o();
15207
15207
  if (i.length > 0) {
15208
15208
  const l = [];
15209
- for (let x = 0; x < e.length; ++x)
15210
- e[x] === `
15211
- ` && l.push(x);
15209
+ for (let h = 0; h < e.length; ++h)
15210
+ e[h] === `
15211
+ ` && l.push(h);
15212
15212
  const s = Ry(i, l), v = Sn(n, a);
15213
15213
  return { component: null, errors: s, erroneousCompoundComponentName: v };
15214
15214
  }
@@ -15252,10 +15252,10 @@ function Ry(e, t) {
15252
15252
  return e;
15253
15253
  }
15254
15254
  function Sn(e, t) {
15255
- var s, v, x, c, T, b;
15256
- const r = (s = e == null ? void 0 : e.children) == null ? void 0 : s[0], o = (x = (v = r == null ? void 0 : r.children) == null ? void 0 : v.find(
15255
+ var s, v, h, c, T, b;
15256
+ const r = (s = e == null ? void 0 : e.children) == null ? void 0 : s[0], o = (h = (v = r == null ? void 0 : r.children) == null ? void 0 : v.find(
15257
15257
  (f) => f.kind === S.TagNameNode
15258
- )) == null ? void 0 : x.children, a = o == null ? void 0 : o[o.length - 1];
15258
+ )) == null ? void 0 : h.children, a = o == null ? void 0 : o[o.length - 1];
15259
15259
  if (a === void 0 || t(a) !== "Component")
15260
15260
  return;
15261
15261
  const n = (T = (c = r.children) == null ? void 0 : c.find((f) => f.kind === S.AttributeListNode)) == null ? void 0 : T.children, i = (b = n == null ? void 0 : n.find(
@@ -15392,24 +15392,24 @@ ve(function({
15392
15392
  controls: l = Qe.controls,
15393
15393
  loop: s = Qe.loop,
15394
15394
  startIndex: v = Qe.startIndex,
15395
- prevIcon: x,
15395
+ prevIcon: h,
15396
15396
  nextIcon: c,
15397
15397
  transitionDuration: T = Qe.transitionDuration,
15398
15398
  autoplayInterval: b = Qe.autoplayInterval,
15399
15399
  stopAutoplayOnInteraction: f = Qe.stopAutoplayOnInteraction,
15400
15400
  registerComponentApi: y
15401
15401
  }, w) {
15402
- const _ = he(null), [H, I] = me(0), [O, F] = me([]), [j, V] = me(!1), { carouselContextValue: R, carouselItems: N } = tC(), W = w ? sr(_, w) : _, [h, p] = Od(
15402
+ const _ = he(null), [H, $] = me(0), [W, U] = me([]), [Z, V] = me(!1), { carouselContextValue: R, carouselItems: N } = tC(), O = w ? sr(_, w) : _, [x, p] = Od(
15403
15403
  {
15404
15404
  axis: t === "horizontal" ? "x" : "y",
15405
15405
  loop: s,
15406
15406
  startIndex: v,
15407
15407
  duration: T
15408
15408
  },
15409
- O
15410
- ), g = x || t === "horizontal" ? "arrowleft" : "arrowup", C = c || t === "horizontal" ? "arrowright" : "arrowdown";
15409
+ W
15410
+ ), g = h || t === "horizontal" ? "arrowleft" : "arrowup", C = c || t === "horizontal" ? "arrowright" : "arrowdown";
15411
15411
  ee(() => {
15412
- i && F([
15412
+ i && U([
15413
15413
  zd({
15414
15414
  delay: b,
15415
15415
  stopOnInteraction: f
@@ -15437,14 +15437,14 @@ ve(function({
15437
15437
  if (!K)
15438
15438
  return;
15439
15439
  const te = K.selectedScrollSnap();
15440
- n(te), I(te), A(K.canScrollPrev()), P(K.canScrollNext());
15440
+ n(te), $(te), A(K.canScrollPrev()), P(K.canScrollNext());
15441
15441
  },
15442
15442
  [n]
15443
15443
  ), E = X(() => {
15444
15444
  p && (p == null || p.scrollPrev());
15445
15445
  }, [p]), G = X(() => {
15446
15446
  p == null || p.scrollNext();
15447
- }, [p]), Z = X(
15447
+ }, [p]), j = X(
15448
15448
  (K) => {
15449
15449
  t === "horizontal" ? K.key === "ArrowLeft" ? (K.preventDefault(), E()) : K.key === "ArrowRight" && (K.preventDefault(), G()) : K.key === "ArrowUp" ? (K.preventDefault(), E()) : K.key === "ArrowDown" && (K.preventDefault(), G());
15450
15450
  },
@@ -15464,18 +15464,18 @@ ve(function({
15464
15464
  p == null || p.off("select", M);
15465
15465
  };
15466
15466
  }, [p, M]), ee(() => {
15467
- _ != null && _.current && _.current.addEventListener("keydown", Z);
15468
- }, [W, Z]), /* @__PURE__ */ m(eC.Provider, { value: R, children: /* @__PURE__ */ J(
15467
+ _ != null && _.current && _.current.addEventListener("keydown", j);
15468
+ }, [O, j]), /* @__PURE__ */ m(eC.Provider, { value: R, children: /* @__PURE__ */ J(
15469
15469
  "div",
15470
15470
  {
15471
15471
  style: o,
15472
- ref: W,
15472
+ ref: O,
15473
15473
  className: le(ft.carousel),
15474
15474
  role: "region",
15475
15475
  tabIndex: -1,
15476
15476
  "aria-roledescription": "carousel",
15477
15477
  children: [
15478
- /* @__PURE__ */ m("div", { ref: h, className: ft.carouselContentWrapper, children: /* @__PURE__ */ m(
15478
+ /* @__PURE__ */ m("div", { ref: x, className: ft.carouselContentWrapper, children: /* @__PURE__ */ m(
15479
15479
  "div",
15480
15480
  {
15481
15481
  className: le(ft.carouselContent, {
@@ -15486,7 +15486,7 @@ ve(function({
15486
15486
  }
15487
15487
  ) }),
15488
15488
  l && /* @__PURE__ */ J("div", { className: ft.controls, children: [
15489
- i && /* @__PURE__ */ m("button", { className: ft.controlButton, onClick: L, children: j ? /* @__PURE__ */ m(ke, { name: "pause" }) : /* @__PURE__ */ m(ke, { name: "play" }) }),
15489
+ i && /* @__PURE__ */ m("button", { className: ft.controlButton, onClick: L, children: Z ? /* @__PURE__ */ m(ke, { name: "pause" }) : /* @__PURE__ */ m(ke, { name: "play" }) }),
15490
15490
  /* @__PURE__ */ m("button", { className: ft.controlButton, disabled: !z, onClick: E, children: /* @__PURE__ */ m(ke, { name: g }) }),
15491
15491
  /* @__PURE__ */ m("button", { className: ft.controlButton, onClick: G, disabled: !B, children: /* @__PURE__ */ m(ke, { name: C }) })
15492
15492
  ] }),