xmlui 0.9.64 → 0.9.65

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.
@@ -2133,7 +2133,7 @@ const ZH = ({ children: e, ...t }) => /* @__PURE__ */ p(Ev, { ...t, children: e
2133
2133
  className: x,
2134
2134
  autoFocus: C = $r.autoFocus,
2135
2135
  contextualLabel: H,
2136
- ...k
2136
+ ...w
2137
2137
  }, $) {
2138
2138
  const _ = ne(null), O = $ ? Ur($, _) : _;
2139
2139
  Y(() => {
@@ -2146,7 +2146,7 @@ const ZH = ({ children: e, ...t }) => /* @__PURE__ */ p(Ev, { ...t, children: e
2146
2146
  return /* @__PURE__ */ D(
2147
2147
  "button",
2148
2148
  {
2149
- ...k,
2149
+ ...w,
2150
2150
  id: t,
2151
2151
  type: r,
2152
2152
  ref: O,
@@ -2954,24 +2954,24 @@ const g$ = `'{"textColor-FormItemLabel": "var(--xmlui-textColor-FormItemLabel)",
2954
2954
  endText: x,
2955
2955
  endIcon: C,
2956
2956
  gap: H,
2957
- autoFocus: k,
2957
+ autoFocus: w,
2958
2958
  readOnly: $,
2959
2959
  tabIndex: _,
2960
2960
  label: O,
2961
2961
  labelPosition: E,
2962
2962
  labelWidth: W,
2963
- labelBreak: w,
2963
+ labelBreak: k,
2964
2964
  required: S
2965
2965
  }, A) {
2966
2966
  const B = rr();
2967
2967
  t = t || B;
2968
2968
  const L = ne(null);
2969
2969
  Y(() => {
2970
- k && setTimeout(() => {
2970
+ w && setTimeout(() => {
2971
2971
  var V;
2972
2972
  (V = L.current) == null || V.focus();
2973
2973
  }, 0);
2974
- }, [k]);
2974
+ }, [w]);
2975
2975
  const [K, M] = ke.useState(o);
2976
2976
  Y(() => {
2977
2977
  M(o);
@@ -3010,7 +3010,7 @@ const g$ = `'{"textColor-FormItemLabel": "var(--xmlui-textColor-FormItemLabel)",
3010
3010
  labelPosition: E,
3011
3011
  label: O,
3012
3012
  labelWidth: W,
3013
- labelBreak: w,
3013
+ labelBreak: k,
3014
3014
  required: S,
3015
3015
  enabled: s,
3016
3016
  style: a,
@@ -3046,7 +3046,7 @@ const g$ = `'{"textColor-FormItemLabel": "var(--xmlui-textColor-FormItemLabel)",
3046
3046
  onKeyDown: f,
3047
3047
  ref: L,
3048
3048
  readOnly: $,
3049
- autoFocus: k,
3049
+ autoFocus: w,
3050
3050
  tabIndex: s ? _ : -1,
3051
3051
  required: S
3052
3052
  }
@@ -3313,19 +3313,19 @@ function yx(e = Ge, t) {
3313
3313
  return r;
3314
3314
  function m(C) {
3315
3315
  var $, _;
3316
- const H = k();
3316
+ const H = w();
3317
3317
  if ((($ = t == null ? void 0 : t.mediaSize) == null ? void 0 : $.sizeIndex) !== void 0) {
3318
- const O = (_ = t.mediaSize) == null ? void 0 : _.sizeIndex, E = k("xs"), W = k("sm"), w = k("md"), S = k("lg"), A = k("xl"), B = k("xxl");
3318
+ const O = (_ = t.mediaSize) == null ? void 0 : _.sizeIndex, E = w("xs"), W = w("sm"), k = w("md"), S = w("lg"), A = w("xl"), B = w("xxl");
3319
3319
  let L;
3320
3320
  switch (O) {
3321
3321
  case 0:
3322
- L = E ?? W ?? w;
3322
+ L = E ?? W ?? k;
3323
3323
  break;
3324
3324
  case 1:
3325
- L = W ?? w;
3325
+ L = W ?? k;
3326
3326
  break;
3327
3327
  case 2:
3328
- L = w;
3328
+ L = k;
3329
3329
  break;
3330
3330
  case 3:
3331
3331
  L = S;
@@ -3340,30 +3340,30 @@ function yx(e = Ge, t) {
3340
3340
  return L ?? H;
3341
3341
  }
3342
3342
  return H;
3343
- function k(O = "") {
3343
+ function w(O = "") {
3344
3344
  const E = O ? `${C}-${O}` : C;
3345
3345
  let W = e[E];
3346
3346
  if (W == null)
3347
3347
  return;
3348
3348
  typeof W == "string" ? W = W.trim() : W = W.toString();
3349
- const w = W ? W.replace(
3349
+ const k = W ? W.replace(
3350
3350
  z$,
3351
3351
  (A) => po(A.trim())
3352
3352
  ) : void 0;
3353
- if (W !== w)
3354
- return w;
3353
+ if (W !== k)
3354
+ return k;
3355
3355
  const S = M$[C];
3356
3356
  if (!S || S.length === 0)
3357
- return w;
3357
+ return k;
3358
3358
  for (const A of S)
3359
- if (A.test(w))
3360
- return w;
3361
- return r.issues.add(E), w;
3359
+ if (A.test(k))
3360
+ return k;
3361
+ return r.issues.add(E), k;
3362
3362
  }
3363
3363
  }
3364
3364
  function f(C, H = "") {
3365
- const k = m(C);
3366
- k && (r.cssProps[H || C] = k);
3365
+ const w = m(C);
3366
+ w && (r.cssProps[H || C] = w);
3367
3367
  }
3368
3368
  function g(C, H) {
3369
3369
  return C && x(H) === "horizontal" && Ru.test(C.toString()) ? v(C.toString()) : null;
@@ -3640,7 +3640,7 @@ function bf(e) {
3640
3640
  return {};
3641
3641
  const t = { ...e };
3642
3642
  return Object.entries(e).forEach(([r, o]) => {
3643
- var n, i, a, l, s, c, d, u, h, m, f, g, b, v, x, C, H, k, $, _;
3643
+ var n, i, a, l, s, c, d, u, h, m, f, g, b, v, x, C, H, w, $, _;
3644
3644
  if (o == null) {
3645
3645
  delete t[r];
3646
3646
  return;
@@ -3655,19 +3655,19 @@ function bf(e) {
3655
3655
  t[a = `paddingTop-${A}`] ?? (t[a] = o), t[l = `paddingBottom-${A}`] ?? (t[l] = o);
3656
3656
  }
3657
3657
  if (O = G$.exec(r), !O) return;
3658
- const E = O[1], W = e[`paddingHorizontal-${E}`], w = e[`paddingVertical-${E}`], S = o.trim().replace(/ +/g, " ").split(" ");
3658
+ const E = O[1], W = e[`paddingHorizontal-${E}`], k = e[`paddingVertical-${E}`], S = o.trim().replace(/ +/g, " ").split(" ");
3659
3659
  switch (S.length) {
3660
3660
  case 1:
3661
- t[s = `paddingTop-${E}`] ?? (t[s] = w ?? S[0]), t[c = `paddingRight-${E}`] ?? (t[c] = W ?? S[0]), t[d = `paddingBottom-${E}`] ?? (t[d] = w ?? S[0]), t[u = `paddingLeft-${E}`] ?? (t[u] = W ?? S[0]);
3661
+ t[s = `paddingTop-${E}`] ?? (t[s] = k ?? S[0]), t[c = `paddingRight-${E}`] ?? (t[c] = W ?? S[0]), t[d = `paddingBottom-${E}`] ?? (t[d] = k ?? S[0]), t[u = `paddingLeft-${E}`] ?? (t[u] = W ?? S[0]);
3662
3662
  break;
3663
3663
  case 2:
3664
- t[h = `paddingTop-${E}`] ?? (t[h] = w ?? S[0]), t[m = `paddingRight-${E}`] ?? (t[m] = W ?? S[1]), t[f = `paddingBottom-${E}`] ?? (t[f] = w ?? S[0]), t[g = `paddingLeft-${E}`] ?? (t[g] = W ?? S[1]);
3664
+ t[h = `paddingTop-${E}`] ?? (t[h] = k ?? S[0]), t[m = `paddingRight-${E}`] ?? (t[m] = W ?? S[1]), t[f = `paddingBottom-${E}`] ?? (t[f] = k ?? S[0]), t[g = `paddingLeft-${E}`] ?? (t[g] = W ?? S[1]);
3665
3665
  break;
3666
3666
  case 3:
3667
- t[b = `paddingTop-${E}`] ?? (t[b] = w ?? S[0]), t[v = `paddingRight-${E}`] ?? (t[v] = W ?? S[1]), t[x = `paddingBottom-${E}`] ?? (t[x] = w ?? S[2]), t[C = `paddingLeft-${E}`] ?? (t[C] = W ?? S[1]);
3667
+ t[b = `paddingTop-${E}`] ?? (t[b] = k ?? S[0]), t[v = `paddingRight-${E}`] ?? (t[v] = W ?? S[1]), t[x = `paddingBottom-${E}`] ?? (t[x] = k ?? S[2]), t[C = `paddingLeft-${E}`] ?? (t[C] = W ?? S[1]);
3668
3668
  break;
3669
3669
  case 4:
3670
- t[H = `paddingTop-${E}`] ?? (t[H] = w ?? S[0]), t[k = `paddingRight-${E}`] ?? (t[k] = W ?? S[1]), t[$ = `paddingBottom-${E}`] ?? (t[$] = w ?? S[2]), t[_ = `paddingLeft-${E}`] ?? (t[_] = W ?? S[3]);
3670
+ t[H = `paddingTop-${E}`] ?? (t[H] = k ?? S[0]), t[w = `paddingRight-${E}`] ?? (t[w] = W ?? S[1]), t[$ = `paddingBottom-${E}`] ?? (t[$] = k ?? S[2]), t[_ = `paddingLeft-${E}`] ?? (t[_] = W ?? S[3]);
3671
3671
  break;
3672
3672
  default:
3673
3673
  return;
@@ -3846,8 +3846,8 @@ function Yi(e, t, r = { distributeEven: !1 }) {
3846
3846
  if (o)
3847
3847
  a = i.lightness(100), l = i.lightness(98), s = i.lightness(95), c = i.lightness(83), d = i.lightness(75), u = i.lightness(63), h = i.lightness(52), m = i.lightness(40), f = i.lightness(32), g = i.lightness(27), b = i.lightness(16), v = i.lightness(13), x = i.lightness(9);
3848
3848
  else {
3849
- const C = i.hsl().l(), H = C / 5, k = (100 - C) / 5;
3850
- a = i.lightness(100), l = i.lightness(C + k * 4.5), s = i.lightness(C + k * 4), c = i.lightness(C + k * 3), d = i.lightness(C + k * 2), u = i.lightness(C + k * 1), h = i, m = i.lightness(C - H * 1), f = i.lightness(C - H * 2), g = i.lightness(C - H * 3), b = i.lightness(C - H * 4), v = i.lightness(C - H * 4.5), x = i.lightness(C - H * 5);
3849
+ const C = i.hsl().l(), H = C / 5, w = (100 - C) / 5;
3850
+ a = i.lightness(100), l = i.lightness(C + w * 4.5), s = i.lightness(C + w * 4), c = i.lightness(C + w * 3), d = i.lightness(C + w * 2), u = i.lightness(C + w * 1), h = i, m = i.lightness(C - H * 1), f = i.lightness(C - H * 2), g = i.lightness(C - H * 3), b = i.lightness(C - H * 4), v = i.lightness(C - H * 4.5), x = i.lightness(C - H * 5);
3851
3851
  }
3852
3852
  return {
3853
3853
  [`const-${e}-0`]: a.toString(),
@@ -5039,7 +5039,7 @@ function Bx(e, t, r = ot, o = Ge, n = Ge) {
5039
5039
  },
5040
5040
  [c, n]
5041
5041
  ), h = U(() => (d == null ? void 0 : d.filter((v) => typeof v == "string")) || [], [d]), m = U(() => {
5042
- var C, H, k;
5042
+ var C, H, w;
5043
5043
  if (!(s != null && s.length))
5044
5044
  return [];
5045
5045
  let v = {};
@@ -5072,7 +5072,7 @@ function Bx(e, t, r = ot, o = Ge, n = Ge) {
5072
5072
  ...s[s.length - 1].themeVars,
5073
5073
  ...q$(v),
5074
5074
  ...(C = s[s.length - 1].themeVars) == null ? void 0 : C[t],
5075
- ...(k = (H = s[s.length - 1].tones) == null ? void 0 : H[t]) == null ? void 0 : k.themeVars
5075
+ ...(w = (H = s[s.length - 1].tones) == null ? void 0 : H[t]) == null ? void 0 : w.themeVars
5076
5076
  }
5077
5077
  ];
5078
5078
  }, [t, s]), f = U(() => {
@@ -5109,10 +5109,10 @@ function Bx(e, t, r = ot, o = Ge, n = Ge) {
5109
5109
  display: v.fontDisplay
5110
5110
  });
5111
5111
  try {
5112
- const k = await H.load();
5113
- document.fonts.add(k);
5114
- } catch (k) {
5115
- console.error("loading fonts failed", k);
5112
+ const w = await H.load();
5113
+ document.fonts.add(w);
5114
+ } catch (w) {
5115
+ console.error("loading fonts failed", w);
5116
5116
  }
5117
5117
  }
5118
5118
  });
@@ -5179,7 +5179,7 @@ function __({
5179
5179
  x,
5180
5180
  c,
5181
5181
  a
5182
- ]), k = U(() => ({
5182
+ ]), w = U(() => ({
5183
5183
  root: x,
5184
5184
  activeThemeId: u,
5185
5185
  activeThemeTone: l,
@@ -5198,7 +5198,7 @@ function __({
5198
5198
  x,
5199
5199
  g
5200
5200
  ]);
5201
- return /* @__PURE__ */ p(nx.Provider, { value: H, children: /* @__PURE__ */ p(Km.Provider, { value: k, children: e }) });
5201
+ return /* @__PURE__ */ p(nx.Provider, { value: H, children: /* @__PURE__ */ p(Km.Provider, { value: w, children: e }) });
5202
5202
  }
5203
5203
  function I_(e) {
5204
5204
  if (!e)
@@ -5359,7 +5359,7 @@ function W_({
5359
5359
  };
5360
5360
  }, [b, c, e, x, a, d]), {
5361
5361
  themeCssVars: H,
5362
- getResourceUrl: k,
5362
+ getResourceUrl: w,
5363
5363
  fontLinks: $,
5364
5364
  allThemeVarsWithResolvedHierarchicalVars: _,
5365
5365
  getThemeVar: O
@@ -5395,29 +5395,29 @@ function W_({
5395
5395
  className: M,
5396
5396
  css: K
5397
5397
  };
5398
- }, [t, H, x, O]), [w, S] = ee(g), A = U(() => ({
5399
- root: w,
5398
+ }, [t, H, x, O]), [k, S] = ee(g), A = U(() => ({
5399
+ root: k,
5400
5400
  activeThemeId: m,
5401
5401
  activeThemeTone: x,
5402
5402
  activeTheme: C,
5403
5403
  themeStyles: H,
5404
5404
  themeVars: _,
5405
- getResourceUrl: k,
5405
+ getResourceUrl: w,
5406
5406
  getThemeVar: O
5407
5407
  }), [
5408
- w,
5408
+ k,
5409
5409
  m,
5410
5410
  x,
5411
5411
  C,
5412
5412
  H,
5413
5413
  _,
5414
- k,
5414
+ w,
5415
5415
  O
5416
5416
  ]), { indexing: B } = Xd();
5417
5417
  if (B)
5418
5418
  return s;
5419
5419
  if (t) {
5420
- const L = k("resource:favicon") || "/resources/favicon.ico";
5420
+ const L = w("resource:favicon") || "/resources/favicon.ico";
5421
5421
  return (
5422
5422
  // <ThemeContext.Provider value={currentThemeContextValue}>
5423
5423
  /* @__PURE__ */ D(Me, { children: [
@@ -5998,8 +5998,8 @@ const Mo = {
5998
5998
  side: "bottom",
5999
5999
  align: "start",
6000
6000
  children: n(i.children, {
6001
- wrapChild: ({ node: C }, H, k) => {
6002
- if (k != null && k.opaque || C.type === "List" || C.type === "NavGroup")
6001
+ wrapChild: ({ node: C }, H, w) => {
6002
+ if (w != null && w.opaque || C.type === "List" || C.type === "NavGroup")
6003
6003
  return H;
6004
6004
  let $ = H;
6005
6005
  return C.type === "NavLink" && ($ = Jn(H, {
@@ -6045,7 +6045,7 @@ const Mo = {
6045
6045
  }, [n]), H = U(() => ({
6046
6046
  "--nav-link-level": f ? v + 1 : 0,
6047
6047
  ...l
6048
- }), [v, l, f]), k = oe(Lo.content, Lo.base, {
6048
+ }), [v, l, f]), w = oe(Lo.content, Lo.base, {
6049
6049
  [Lo.disabled]: o,
6050
6050
  [Lo.vertical]: x,
6051
6051
  [Lo.includeHoverIndicator]: i,
@@ -6061,7 +6061,7 @@ const Mo = {
6061
6061
  ...u,
6062
6062
  ref: h,
6063
6063
  onClick: s,
6064
- className: k,
6064
+ className: w,
6065
6065
  style: H,
6066
6066
  disabled: o,
6067
6067
  children: $
@@ -6075,7 +6075,7 @@ const Mo = {
6075
6075
  to: C,
6076
6076
  style: H,
6077
6077
  onClick: s,
6078
- className: ({ isActive: O }) => oe(k, {
6078
+ className: ({ isActive: O }) => oe(w, {
6079
6079
  [Lo.displayActive]: i,
6080
6080
  [Lo.navItemActive]: i && (O || d),
6081
6081
  "xmlui-navlink-active": O || d
@@ -6225,7 +6225,7 @@ function c4({
6225
6225
  renderChild: v,
6226
6226
  name: x
6227
6227
  }) {
6228
- const { getThemeVar: C } = gt(), { setActiveThemeTone: H, setActiveThemeId: k, themes: $ } = qd(), _ = ne(!1), O = r || C("layout-App") || "condensed-sticky", E = O == null ? void 0 : O.trim().replace(/[\u2013\u2014\u2011]/g, "-"), { setLoggedInUser: W, mediaSize: w, forceRefreshAnchorScroll: S, appGlobals: A } = Jt(), B = l !== void 0, L = d !== void 0, K = U(() => {
6228
+ const { getThemeVar: C } = gt(), { setActiveThemeTone: H, setActiveThemeId: w, themes: $ } = qd(), _ = ne(!1), O = r || C("layout-App") || "condensed-sticky", E = O == null ? void 0 : O.trim().replace(/[\u2013\u2014\u2011]/g, "-"), { setLoggedInUser: W, mediaSize: k, forceRefreshAnchorScroll: S, appGlobals: A } = Jt(), B = l !== void 0, L = d !== void 0, K = U(() => {
6229
6229
  const { padding: De, paddingLeft: Gr, paddingRight: Sr, paddingTop: or, paddingBottom: ai, ...Ji } = t;
6230
6230
  return {
6231
6231
  ...Ji,
@@ -6239,13 +6239,13 @@ function c4({
6239
6239
  W(o);
6240
6240
  }, [o, W]), Y(() => {
6241
6241
  if (!_.current)
6242
- return _.current = !0, (g === "dark" || g === "light") && H(g), b && k(b), () => {
6242
+ return _.current = !0, (g === "dark" || g === "light") && H(g), b && w(b), () => {
6243
6243
  _.current = !1;
6244
6244
  };
6245
- }, [g, b, H, k, $]), Y(() => {
6245
+ }, [g, b, H, w, $]), Y(() => {
6246
6246
  a();
6247
6247
  }, [a]);
6248
- const M = w.largeScreen || !B && E !== "condensed" && E !== "condensed-sticky", R = ne(null), P = ne(null), G = n ? R : P, [X, Z] = ee(0), [N, V] = ee(0), j = c$(), J = ne(), re = q((De) => {
6248
+ const M = k.largeScreen || !B && E !== "condensed" && E !== "condensed-sticky", R = ne(null), P = ne(null), G = n ? R : P, [X, Z] = ee(0), [N, V] = ee(0), j = c$(), J = ne(), re = q((De) => {
6249
6249
  J.current = De;
6250
6250
  }, []), Te = ne(), Le = q((De) => {
6251
6251
  Te.current = De;
@@ -6340,11 +6340,11 @@ function c4({
6340
6340
  {
6341
6341
  [Ve.scrollWholePage]: n,
6342
6342
  [Ve.noScrollbarGutters]: i,
6343
- "media-large": w.largeScreen,
6344
- "media-small": w.smallScreen,
6345
- "media-desktop": w.desktop,
6346
- "media-phone": w.phone,
6347
- "media-tablet": w.tablet
6343
+ "media-large": k.largeScreen,
6344
+ "media-small": k.smallScreen,
6345
+ "media-desktop": k.desktop,
6346
+ "media-phone": k.phone,
6347
+ "media-tablet": k.tablet
6348
6348
  }
6349
6349
  ];
6350
6350
  let ye;
@@ -6599,31 +6599,31 @@ function d4({ node: e, extractValue: t, renderChild: r, style: o, lookupEventHan
6599
6599
  [e.props.layout, t]
6600
6600
  ), l = U(() => {
6601
6601
  const H = /* @__PURE__ */ new Map();
6602
- return (k) => {
6603
- if (H.has(k))
6604
- return H.get(k);
6602
+ return (w) => {
6603
+ if (H.has(w))
6604
+ return H.get(w);
6605
6605
  const $ = [];
6606
6606
  let _ = "", O = !1;
6607
- for (let E = 0; E < k.length; E++) {
6608
- const W = k[E];
6607
+ for (let E = 0; E < w.length; E++) {
6608
+ const W = w[E];
6609
6609
  O ? (_ += W, O = !1) : W === "\\" ? O = !0 : W === "|" ? ($.push(_.trim()), _ = "") : _ += W;
6610
6610
  }
6611
- return _.length > 0 && $.push(_.trim()), H.set(k, $), $;
6611
+ return _.length > 0 && $.push(_.trim()), H.set(w, $), $;
6612
6612
  };
6613
6613
  }, []), s = U(() => {
6614
6614
  const H = /* @__PURE__ */ new Map();
6615
- return (k, $) => {
6616
- const _ = k + "_" + $.length;
6615
+ return (w, $) => {
6616
+ const _ = w + "_" + $.length;
6617
6617
  if (H.has(_))
6618
6618
  return H.get(_);
6619
- const O = $.some((E) => E.label === k ? !0 : E.children && E.children.length > 0 ? s(k, E.children) : !1);
6619
+ const O = $.some((E) => E.label === w ? !0 : E.children && E.children.length > 0 ? s(w, E.children) : !1);
6620
6620
  return H.set(_, O), O;
6621
6621
  };
6622
- }, []), c = U(() => (H, k) => {
6622
+ }, []), c = U(() => (H, w) => {
6623
6623
  const $ = H.find(
6624
6624
  (O) => {
6625
6625
  var E;
6626
- return O.type === "NavGroup" && ((E = O.props) == null ? void 0 : E.label) === k;
6626
+ return O.type === "NavGroup" && ((E = O.props) == null ? void 0 : E.label) === w;
6627
6627
  }
6628
6628
  );
6629
6629
  if ($)
@@ -6631,28 +6631,28 @@ function d4({ node: e, extractValue: t, renderChild: r, style: o, lookupEventHan
6631
6631
  const _ = {
6632
6632
  type: "NavGroup",
6633
6633
  props: {
6634
- label: k
6634
+ label: w
6635
6635
  },
6636
6636
  children: []
6637
6637
  };
6638
6638
  return H.push(_), _;
6639
6639
  }, []), { AppHeader: d, Footer: u, NavPanel: h, Pages: m, restChildren: f } = U(() => {
6640
6640
  var W;
6641
- let H, k, $, _;
6641
+ let H, w, $, _;
6642
6642
  const O = [];
6643
- (W = e.children) == null || W.forEach((w) => {
6643
+ (W = e.children) == null || W.forEach((k) => {
6644
6644
  var A;
6645
- let S = { ...w };
6646
- w.type === "Theme" && (S.children = (A = w.children) == null ? void 0 : A.filter((B) => B.type === "AppHeader" ? (H = {
6647
- ...w,
6645
+ let S = { ...k };
6646
+ k.type === "Theme" && (S.children = (A = k.children) == null ? void 0 : A.filter((B) => B.type === "AppHeader" ? (H = {
6647
+ ...k,
6648
6648
  children: [B]
6649
- }, !1) : B.type === "Footer" ? (k = {
6650
- ...w,
6649
+ }, !1) : B.type === "Footer" ? (w = {
6650
+ ...k,
6651
6651
  children: [B]
6652
6652
  }, !1) : B.type === "NavPanel" ? ($ = {
6653
- ...w,
6653
+ ...k,
6654
6654
  children: [B]
6655
- }, !1) : !0), S.children.length || (S = null)), w.type === "AppHeader" ? H = w : w.type === "Footer" ? k = w : w.type === "NavPanel" ? $ = w : w.type === "Pages" ? (_ = w, O.push(S)) : S !== null && O.push(S);
6655
+ }, !1) : !0), S.children.length || (S = null)), k.type === "AppHeader" ? H = k : k.type === "Footer" ? w = k : k.type === "NavPanel" ? $ = k : k.type === "Pages" ? (_ = k, O.push(S)) : S !== null && O.push(S);
6656
6656
  });
6657
6657
  const E = g4(
6658
6658
  _,
@@ -6672,7 +6672,7 @@ function d4({ node: e, extractValue: t, renderChild: r, style: o, lookupEventHan
6672
6672
  children: E
6673
6673
  }), {
6674
6674
  AppHeader: H,
6675
- Footer: k,
6675
+ Footer: w,
6676
6676
  NavPanel: $,
6677
6677
  Pages: _,
6678
6678
  restChildren: O
@@ -7241,19 +7241,19 @@ function R4({ children: e }) {
7241
7241
  }, [])
7242
7242
  });
7243
7243
  const [c, d] = ee(null), u = q(
7244
- (k) => {
7245
- o.forEach(($) => $(k)), d(k);
7244
+ (w) => {
7245
+ o.forEach(($) => $(w)), d(w);
7246
7246
  },
7247
7247
  [o]
7248
7248
  );
7249
7249
  Y(() => {
7250
7250
  if (o.length) {
7251
- const k = ($) => {
7251
+ const w = ($) => {
7252
7252
  $.forEach((_) => {
7253
7253
  _ != null && _.isIntersecting && (l.current.suspendPositionBasedSetActiveId || u(_.target.id));
7254
7254
  });
7255
7255
  };
7256
- return i.current = new IntersectionObserver(k, {
7256
+ return i.current = new IntersectionObserver(w, {
7257
7257
  rootMargin: "0% 0% -80%"
7258
7258
  // root: scrollParent,
7259
7259
  // threshold: [0, 1],
@@ -7266,22 +7266,22 @@ function R4({ children: e }) {
7266
7266
  };
7267
7267
  }
7268
7268
  }, [o.length, t, u, s]);
7269
- const h = q((k) => (r(($) => ({
7269
+ const h = q((w) => (r(($) => ({
7270
7270
  ...$,
7271
- [k.id]: k
7271
+ [w.id]: w
7272
7272
  })), () => {
7273
7273
  r(($) => {
7274
7274
  const _ = { ...$ };
7275
- return delete _[k.id], _;
7275
+ return delete _[w.id], _;
7276
7276
  });
7277
7277
  }), []), m = zm(), f = q(
7278
- (k, $) => {
7279
- const _ = t[k];
7278
+ (w, $) => {
7279
+ const _ = t[w];
7280
7280
  _ && (l.current.suspendPositionBasedSetActiveId = !0, _.anchor.scrollIntoView({
7281
7281
  block: "start",
7282
7282
  inline: "start",
7283
7283
  behavior: $ ? "smooth" : "auto"
7284
- }), u(k), requestAnimationFrame(() => {
7284
+ }), u(w), requestAnimationFrame(() => {
7285
7285
  m(
7286
7286
  {
7287
7287
  hash: `#${_.id}`
@@ -7299,14 +7299,14 @@ function R4({ children: e }) {
7299
7299
  }));
7300
7300
  },
7301
7301
  [t, m, u]
7302
- ), g = U(() => Object.values(t).sort(function(k, $) {
7303
- return k.anchor === $.anchor ? 0 : k.anchor.compareDocumentPosition($.anchor) & Node.DOCUMENT_POSITION_PRECEDING ? 1 : -1;
7302
+ ), g = U(() => Object.values(t).sort(function(w, $) {
7303
+ return w.anchor === $.anchor ? 0 : w.anchor.compareDocumentPosition($.anchor) & Node.DOCUMENT_POSITION_PRECEDING ? 1 : -1;
7304
7304
  }), [t]), b = g.length > 0;
7305
7305
  Lt(() => {
7306
7306
  b && a();
7307
7307
  }, [a, b]);
7308
- const v = q((k) => (n(($) => [...$, k]), () => {
7309
- n(($) => $.filter((_) => _ !== k));
7308
+ const v = q((w) => (n(($) => [...$, w]), () => {
7309
+ n(($) => $.filter((_) => _ !== w));
7310
7310
  }), []), x = U(() => ({
7311
7311
  registerHeading: h,
7312
7312
  headings: g,
@@ -7425,9 +7425,9 @@ const z4 = "_anchorRef_1d4md_1", V4 = {
7425
7425
  if (C && C.startsWith("#")) {
7426
7426
  const H = C.substring(1);
7427
7427
  x.preventDefault();
7428
- const k = document.getElementById(H);
7429
- if (k) {
7430
- k.scrollIntoView();
7428
+ const w = document.getElementById(H);
7429
+ if (w) {
7430
+ w.scrollIntoView();
7431
7431
  const _ = window.location.href.split("#")[0], O = window.location.hash;
7432
7432
  let E;
7433
7433
  if (O && O !== C)
@@ -7510,25 +7510,25 @@ const rB = `'{"border-H1": "var(--xmlui-border-H1)", "borderHorizontal-H1": "var
7510
7510
  ...m
7511
7511
  }, f) {
7512
7512
  var O;
7513
- const g = r == null ? void 0 : r.toLowerCase(), b = ne(null), [v, x] = ee(null), C = ne(null), H = Ze(Yd), k = H == null ? void 0 : H.registerHeading, $ = Jt();
7513
+ const g = r == null ? void 0 : r.toLowerCase(), b = ne(null), [v, x] = ee(null), C = ne(null), H = Ze(Yd), w = H == null ? void 0 : H.registerHeading, $ = Jt();
7514
7514
  h === void 0 && (h = ((O = $ == null ? void 0 : $.appGlobals) == null ? void 0 : O.showHeadingAnchors) ?? !1);
7515
7515
  const _ = f ? Ur(b, f) : b;
7516
7516
  return Y(() => {
7517
- var E, W, w, S;
7517
+ var E, W, k, S;
7518
7518
  if (b.current) {
7519
- const A = (S = (w = (W = (E = b.current.textContent) == null ? void 0 : E.trim()) == null ? void 0 : W.replace(/[^\w\s-]/g, "")) == null ? void 0 : w.replace(/\s+/g, "-")) == null ? void 0 : S.toLowerCase();
7519
+ const A = (S = (k = (W = (E = b.current.textContent) == null ? void 0 : E.trim()) == null ? void 0 : W.replace(/[^\w\s-]/g, "")) == null ? void 0 : k.replace(/\s+/g, "-")) == null ? void 0 : S.toLowerCase();
7520
7520
  x(A || null);
7521
7521
  }
7522
7522
  }, []), Lt(() => {
7523
7523
  if (b.current && v && !u)
7524
- return k == null ? void 0 : k({
7524
+ return w == null ? void 0 : w({
7525
7525
  id: v,
7526
7526
  level: parseInt(r.replace("h", "")),
7527
7527
  text: b.current.textContent.trim().replace(/#$/, ""),
7528
7528
  // Remove trailing #
7529
7529
  anchor: C.current
7530
7530
  });
7531
- }, [v, k, r, u]), /* @__PURE__ */ D(
7531
+ }, [v, w, r, u]), /* @__PURE__ */ D(
7532
7532
  g,
7533
7533
  {
7534
7534
  ref: _,
@@ -7756,7 +7756,7 @@ const o1 = "ChangeListener", n1 = {
7756
7756
  labelBreak: x,
7757
7757
  required: C,
7758
7758
  registerComponentApi: H,
7759
- inputRenderer: k
7759
+ inputRenderer: w
7760
7760
  }, $) {
7761
7761
  const _ = rr(), O = t || _, E = ke.useRef(null);
7762
7762
  Y(() => {
@@ -7768,7 +7768,7 @@ const o1 = "ChangeListener", n1 = {
7768
7768
  ((R = E.current) == null ? void 0 : R.checked) !== M && (s({ value: M }), c(M));
7769
7769
  },
7770
7770
  [c, s]
7771
- ), w = q(
7771
+ ), k = q(
7772
7772
  (M) => {
7773
7773
  a || (s({ value: M.target.checked }), c(M.target.checked));
7774
7774
  },
@@ -7807,7 +7807,7 @@ const o1 = "ChangeListener", n1 = {
7807
7807
  readOnly: a,
7808
7808
  "aria-readonly": a,
7809
7809
  "aria-checked": o,
7810
- onChange: w,
7810
+ onChange: k,
7811
7811
  onFocus: S,
7812
7812
  onBlur: A,
7813
7813
  className: oe(yn.resetAppearance, f, {
@@ -7825,7 +7825,7 @@ const o1 = "ChangeListener", n1 = {
7825
7825
  n,
7826
7826
  A,
7827
7827
  S,
7828
- w,
7828
+ k,
7829
7829
  a,
7830
7830
  C,
7831
7831
  l,
@@ -7845,12 +7845,12 @@ const o1 = "ChangeListener", n1 = {
7845
7845
  labelBreak: x,
7846
7846
  required: C,
7847
7847
  enabled: n,
7848
- isInputTemplateUsed: !!k,
7848
+ isInputTemplateUsed: !!w,
7849
7849
  shrinkToLabel: !0,
7850
7850
  labelStyle: { pointerEvents: a ? "none" : void 0 },
7851
- children: k ? /* @__PURE__ */ D("label", { className: yn.label, children: [
7851
+ children: w ? /* @__PURE__ */ D("label", { className: yn.label, children: [
7852
7852
  /* @__PURE__ */ p("div", { className: yn.inputContainer, children: K }),
7853
- k({
7853
+ w({
7854
7854
  $checked: o
7855
7855
  })
7856
7856
  ] }) : K
@@ -8145,13 +8145,13 @@ const Xc = [
8145
8145
  style: x,
8146
8146
  registerComponentApi: C,
8147
8147
  inline: H = Pr.inline,
8148
- startText: k,
8148
+ startText: w,
8149
8149
  startIcon: $,
8150
8150
  endText: _,
8151
8151
  endIcon: O,
8152
8152
  label: E,
8153
8153
  labelPosition: W,
8154
- labelWidth: w,
8154
+ labelWidth: k,
8155
8155
  labelBreak: S,
8156
8156
  readOnly: A = !1,
8157
8157
  required: B,
@@ -8218,7 +8218,7 @@ const Xc = [
8218
8218
  id: j,
8219
8219
  labelPosition: W,
8220
8220
  label: E,
8221
- labelWidth: w,
8221
+ labelWidth: k,
8222
8222
  labelBreak: S,
8223
8223
  required: B,
8224
8224
  enabled: i,
@@ -8269,7 +8269,7 @@ const Xc = [
8269
8269
  onFocus: d,
8270
8270
  onBlur: u,
8271
8271
  children: [
8272
- /* @__PURE__ */ p(Pi, { text: k, iconName: $, className: Xr.adornment }),
8272
+ /* @__PURE__ */ p(Pi, { text: w, iconName: $, className: Xr.adornment }),
8273
8273
  /* @__PURE__ */ p("div", { className: Xr.datePickerValue, children: n === "single" && J ? /* @__PURE__ */ p(Me, { children: pi(J, h) }) : n === "range" && typeof J == "object" && J.from ? J.to ? /* @__PURE__ */ D(Me, { children: [
8274
8274
  pi(J.from, h),
8275
8275
  " - ",
@@ -8877,13 +8877,13 @@ const No = "DropdownMenu", d1 = {
8877
8877
  value: x,
8878
8878
  initialValue: C,
8879
8879
  acceptsFileType: H,
8880
- multiple: k = go.multiple,
8880
+ multiple: w = go.multiple,
8881
8881
  directory: $ = go.directory,
8882
8882
  label: _,
8883
8883
  labelPosition: O,
8884
8884
  labelWidth: E,
8885
8885
  labelBreak: W,
8886
- required: w
8886
+ required: k
8887
8887
  }) => {
8888
8888
  const S = Vp(C) ? C : void 0, A = Vp(x) ? x : void 0, B = ne(null), L = typeof H == "string" ? H : H == null ? void 0 : H.join(",");
8889
8889
  Y(() => {
@@ -8906,7 +8906,7 @@ const No = "DropdownMenu", d1 = {
8906
8906
  [m, f]
8907
8907
  ), { getRootProps: P, getInputProps: G, open: X } = Y9({
8908
8908
  disabled: !t,
8909
- multiple: k || $,
8909
+ multiple: w || $,
8910
8910
  onDrop: R,
8911
8911
  noClick: !0,
8912
8912
  noKeyboard: !0,
@@ -8929,7 +8929,7 @@ const No = "DropdownMenu", d1 = {
8929
8929
  label: _,
8930
8930
  labelWidth: E,
8931
8931
  labelBreak: W,
8932
- required: w,
8932
+ required: k,
8933
8933
  enabled: t,
8934
8934
  onFocus: g,
8935
8935
  onBlur: b,
@@ -9158,9 +9158,9 @@ const hi = "FileInput", eE = "browse:FileInput", b1 = {
9158
9158
  (x) => {
9159
9159
  var C, H;
9160
9160
  if (a && g.current && (C = x.clipboardData) != null && C.files) {
9161
- const k = ((H = x.clipboardData) == null ? void 0 : H.items) || [], $ = [];
9162
- for (let _ = 0; _ < k.length; _++) {
9163
- const O = k[_];
9161
+ const w = ((H = x.clipboardData) == null ? void 0 : H.items) || [], $ = [];
9162
+ for (let _ = 0; _ < w.length; _++) {
9163
+ const O = w[_];
9164
9164
  if (O.kind === "file") {
9165
9165
  const E = O.getAsFile();
9166
9166
  E !== null && $.push(E);
@@ -9302,18 +9302,18 @@ const hi = "FileInput", eE = "browse:FileInput", b1 = {
9302
9302
  H = `min(${m}, 100%)`;
9303
9303
  } else
9304
9304
  H = `min(calc(${m} + ${C}), 100%)`;
9305
- const k = {
9305
+ const w = {
9306
9306
  minWidth: f,
9307
9307
  maxWidth: g,
9308
9308
  width: H,
9309
9309
  paddingBottom: i,
9310
9310
  flex: b
9311
9311
  }, $ = b !== void 0;
9312
- return $ && (k.width = "100%", k.minWidth = f || "1px"), /* @__PURE__ */ D(Me, { children: [
9312
+ return $ && (w.width = "100%", w.minWidth = f || "1px"), /* @__PURE__ */ D(Me, { children: [
9313
9313
  /* @__PURE__ */ p(
9314
9314
  "div",
9315
9315
  {
9316
- style: { ...k, paddingRight: C },
9316
+ style: { ...w, paddingRight: C },
9317
9317
  className: oe(zi.flowItem, {
9318
9318
  [zi.starSized]: $
9319
9319
  }),
@@ -10498,10 +10498,10 @@ const F1 = Ce(function({
10498
10498
  itemLabelWidth: x,
10499
10499
  itemLabelPosition: C = bo.itemLabelPosition,
10500
10500
  keepModalOpenOnSubmit: H = bo.keepModalOpenOnSubmit
10501
- }, k) {
10501
+ }, w) {
10502
10502
  const $ = ne(null);
10503
- Tv(k, () => $.current);
10504
- const [_, O] = ee(!1), E = qE(), W = i && !e.submitInProgress, w = U(() => ({
10503
+ Tv(w, () => $.current);
10504
+ const [_, O] = ee(!1), E = qE(), W = i && !e.submitInProgress, k = U(() => ({
10505
10505
  itemLabelBreak: v,
10506
10506
  itemLabelWidth: x,
10507
10507
  itemLabelPosition: C,
@@ -10611,7 +10611,7 @@ const F1 = Ce(function({
10611
10611
  ref: $,
10612
10612
  children: [
10613
10613
  /* @__PURE__ */ p(_f, { generalValidationResults: e.generalValidationResults }),
10614
- /* @__PURE__ */ p(R1.Provider, { value: w, children: o }),
10614
+ /* @__PURE__ */ p(R1.Provider, { value: k, children: o }),
10615
10615
  f || /* @__PURE__ */ D("div", { className: Pp.buttonRow, children: [
10616
10616
  c && [M, K],
10617
10617
  !c && [K, M]
@@ -14803,10 +14803,10 @@ function rd(e, t = {}) {
14803
14803
  ) : H = H.concat(i($));
14804
14804
  }), H;
14805
14805
  case wn:
14806
- let k = [];
14806
+ let w = [];
14807
14807
  return l.items.forEach(($) => {
14808
- $ && (k = k.concat(i($)));
14809
- }), k;
14808
+ $ && (w = w.concat(i($)));
14809
+ }), w;
14810
14810
  case pu:
14811
14811
  return i(l.expr);
14812
14812
  case Il:
@@ -15816,7 +15816,7 @@ function s2(e, t, r, o) {
15816
15816
  }),
15817
15817
  obtainValue: bs(
15818
15818
  (h, m, f, g, b, v) => We(m, h, f, g),
15819
- ([h, m, f, g, b, v], [x, C, H, k, $, _]) => ys(b, $) && ys(v, _)
15819
+ ([h, m, f, g, b, v], [x, C, H, w, $, _]) => ys(b, $) && ys(v, _)
15820
15820
  )
15821
15821
  });
15822
15822
  }
@@ -15945,13 +15945,13 @@ const Zo = {
15945
15945
  onBlur: x = Zo.onBlur,
15946
15946
  registerComponentApi: C,
15947
15947
  startText: H,
15948
- startIcon: k,
15948
+ startIcon: w,
15949
15949
  endText: $,
15950
15950
  endIcon: _,
15951
15951
  gap: O,
15952
15952
  spinnerUpIcon: E,
15953
15953
  spinnerDownIcon: W,
15954
- autoFocus: w,
15954
+ autoFocus: k,
15955
15955
  readOnly: S,
15956
15956
  required: A,
15957
15957
  label: B,
@@ -15962,11 +15962,11 @@ const Zo = {
15962
15962
  h = Math.max(u ? 0 : -999999999999999, h);
15963
15963
  const P = ps(c, !0) ?? c2, G = ne(null), X = ne(null), Z = ne(null);
15964
15964
  Y(() => {
15965
- w && setTimeout(() => {
15965
+ k && setTimeout(() => {
15966
15966
  var le;
15967
15967
  (le = G.current) == null || le.focus();
15968
15968
  }, 0);
15969
- }, [w]);
15969
+ }, [k]);
15970
15970
  const [N, V] = ke.useState(Zu(r));
15971
15971
  Y(() => {
15972
15972
  V(Zu(r));
@@ -16117,7 +16117,7 @@ const Zo = {
16117
16117
  },
16118
16118
  style: { gap: O },
16119
16119
  children: [
16120
- /* @__PURE__ */ p(Pi, { text: H, iconName: k, className: ft.adornment }),
16120
+ /* @__PURE__ */ p(Pi, { text: H, iconName: w, className: ft.adornment }),
16121
16121
  /* @__PURE__ */ p(
16122
16122
  "input",
16123
16123
  {
@@ -16136,7 +16136,7 @@ const Zo = {
16136
16136
  onKeyDown: ge,
16137
16137
  readOnly: S,
16138
16138
  ref: G,
16139
- autoFocus: w,
16139
+ autoFocus: k,
16140
16140
  maxLength: f,
16141
16141
  required: A
16142
16142
  }
@@ -16347,7 +16347,7 @@ const Xu = "focusScope.autoFocusOnMount", Ju = "focusScope.autoFocusOnUnmount",
16347
16347
  }));
16348
16348
  }, v = function(C) {
16349
16349
  if (document.activeElement === document.body)
16350
- for (const k of C) k.removedNodes.length > 0 && bi(l);
16350
+ for (const w of C) w.removedNodes.length > 0 && bi(l);
16351
16351
  };
16352
16352
  document.addEventListener("focusin", g), document.addEventListener("focusout", b);
16353
16353
  const x = new MutationObserver(v);
@@ -16583,7 +16583,7 @@ const Mt = {
16583
16583
  options: b,
16584
16584
  children: v,
16585
16585
  readOnly: x
16586
- } = t, C = r ? Ur(f, r) : f, H = U(() => c != null ? c + "" : void 0, [c]), k = q(
16586
+ } = t, C = r ? Ur(f, r) : f, H = U(() => c != null ? c + "" : void 0, [c]), w = q(
16587
16587
  (_) => {
16588
16588
  if (x)
16589
16589
  return;
@@ -16592,7 +16592,7 @@ const Mt = {
16592
16592
  },
16593
16593
  [l, b]
16594
16594
  );
16595
- return /* @__PURE__ */ D(C3, { value: H, onValueChange: k, children: [
16595
+ return /* @__PURE__ */ D(C3, { value: H, onValueChange: w, children: [
16596
16596
  /* @__PURE__ */ D(
16597
16597
  T3,
16598
16598
  {
@@ -16650,13 +16650,13 @@ const Mt = {
16650
16650
  children: x,
16651
16651
  autoFocus: C = Mt.autoFocus,
16652
16652
  searchable: H = Mt.searchable,
16653
- multiSelect: k = Mt.multiSelect,
16653
+ multiSelect: w = Mt.multiSelect,
16654
16654
  label: $,
16655
16655
  labelPosition: _,
16656
16656
  labelWidth: O,
16657
16657
  labelBreak: E = Mt.labelBreak,
16658
16658
  required: W = Mt.required,
16659
- inProgress: w = Mt.inProgress,
16659
+ inProgress: k = Mt.inProgress,
16660
16660
  inProgressNotificationMessage: S = Mt.inProgressNotificationMessage,
16661
16661
  readOnly: A = !1
16662
16662
  }, B) {
@@ -16674,14 +16674,14 @@ const Mt = {
16674
16674
  }, [L]);
16675
16675
  const re = q(
16676
16676
  (fe) => {
16677
- const Re = k ? Array.isArray(o) ? o.includes(fe) ? o.filter((Ee) => Ee !== fe) : [...o, fe] : [fe] : fe === o ? null : fe;
16678
- a({ value: Re }), s(Re), k || R(!1);
16677
+ const Re = w ? Array.isArray(o) ? o.includes(fe) ? o.filter((Ee) => Ee !== fe) : [...o, fe] : [fe] : fe === o ? null : fe;
16678
+ a({ value: Re }), s(Re), w || R(!1);
16679
16679
  },
16680
- [k, o, a, s]
16680
+ [w, o, a, s]
16681
16681
  ), Te = q(() => {
16682
- const fe = k ? [] : "";
16682
+ const fe = w ? [] : "";
16683
16683
  a({ value: fe }), s(fe);
16684
- }, [k, a, s]), Le = q(() => {
16684
+ }, [w, a, s]), Le = q(() => {
16685
16685
  L == null || L.focus();
16686
16686
  }, [L]), ge = Fe((fe) => {
16687
16687
  re(fe);
@@ -16716,14 +16716,14 @@ const Mt = {
16716
16716
  [de, ie]
16717
16717
  ), Be = U(
16718
16718
  () => ({
16719
- multiSelect: k,
16719
+ multiSelect: w,
16720
16720
  value: o,
16721
16721
  optionLabelRenderer: m,
16722
16722
  optionRenderer: f,
16723
16723
  onChange: re,
16724
16724
  setOpen: R
16725
16725
  }),
16726
- [k, re, o, m, f]
16726
+ [w, re, o, m, f]
16727
16727
  );
16728
16728
  return /* @__PURE__ */ p(h2.Provider, { value: Be, children: /* @__PURE__ */ p(fh.Provider, { value: le, children: /* @__PURE__ */ D(hh, { Component: v2, children: [
16729
16729
  /* @__PURE__ */ p(
@@ -16740,7 +16740,7 @@ const Mt = {
16740
16740
  onFocus: c,
16741
16741
  onBlur: d,
16742
16742
  style: b,
16743
- children: H || k ? /* @__PURE__ */ D(Fm, { open: M, onOpenChange: R, modal: !1, children: [
16743
+ children: H || w ? /* @__PURE__ */ D(Fm, { open: M, onOpenChange: R, modal: !1, children: [
16744
16744
  /* @__PURE__ */ D(
16745
16745
  Mm,
16746
16746
  {
@@ -16755,11 +16755,11 @@ const Mt = {
16755
16755
  onClick: () => R((fe) => !fe),
16756
16756
  className: oe(Qe.selectTrigger, Qe[l], {
16757
16757
  [Qe.disabled]: !n,
16758
- [Qe.multi]: k
16758
+ [Qe.multi]: w
16759
16759
  }),
16760
16760
  autoFocus: C,
16761
16761
  children: [
16762
- k ? Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ p("div", { className: Qe.badgeListContainer, children: /* @__PURE__ */ p("div", { className: Qe.badgeList, children: o.map(
16762
+ w ? Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ p("div", { className: Qe.badgeListContainer, children: /* @__PURE__ */ p("div", { className: Qe.badgeList, children: o.map(
16763
16763
  (fe) => {
16764
16764
  var Re;
16765
16765
  return g ? g(
@@ -16783,7 +16783,7 @@ const Mt = {
16783
16783
  }
16784
16784
  ) }) }) : /* @__PURE__ */ p("span", { placeholder: i, className: Qe.placeholder, children: i }) : o != null ? /* @__PURE__ */ p("div", { children: (_e = Array.from(N).find((fe) => fe.value === o)) == null ? void 0 : _e.label }) : /* @__PURE__ */ p("span", { "aria-placeholder": i, className: Qe.placeholder, children: i || "" }),
16785
16785
  /* @__PURE__ */ D("div", { className: Qe.actions, children: [
16786
- k && Array.isArray(o) && o.length > 0 && /* @__PURE__ */ p(
16786
+ w && Array.isArray(o) && o.length > 0 && /* @__PURE__ */ p(
16787
16787
  Se,
16788
16788
  {
16789
16789
  name: "close",
@@ -16823,7 +16823,7 @@ const Mt = {
16823
16823
  /* @__PURE__ */ p("button", { autoFocus: !0, "aria-hidden": "true", className: Qe.srOnly })
16824
16824
  ),
16825
16825
  /* @__PURE__ */ D(Pv, { className: Qe.commandList, children: [
16826
- w && /* @__PURE__ */ p("div", { className: Qe.loading, children: S }),
16826
+ k && /* @__PURE__ */ p("div", { className: Qe.loading, children: S }),
16827
16827
  Array.from(N).map(({ value: fe, label: Re, enabled: Ee, keywords: ve }) => /* @__PURE__ */ p(
16828
16828
  nL,
16829
16829
  {
@@ -16835,7 +16835,7 @@ const Mt = {
16835
16835
  },
16836
16836
  fe
16837
16837
  )),
16838
- !w && /* @__PURE__ */ p(Dv, { children: se })
16838
+ !k && /* @__PURE__ */ p(Dv, { children: se })
16839
16839
  ] })
16840
16840
  ]
16841
16841
  }
@@ -16981,22 +16981,22 @@ const iL = `'{"gap-RadioGroupOption": "var(--xmlui-gap-RadioGroupOption)", "bord
16981
16981
  Y(() => {
16982
16982
  u({ value: o }, { initial: !0 });
16983
16983
  }, [o, u]);
16984
- const k = q(
16985
- (w) => {
16986
- u({ value: w }), h(w);
16984
+ const w = q(
16985
+ (k) => {
16986
+ u({ value: k }), h(k);
16987
16987
  },
16988
16988
  [h, u]
16989
16989
  ), $ = q(
16990
- (w) => {
16991
- k(w);
16990
+ (k) => {
16991
+ w(k);
16992
16992
  },
16993
- [k]
16993
+ [w]
16994
16994
  ), _ = q(() => {
16995
16995
  H(!0), m == null || m();
16996
16996
  }, [m]), O = q(() => {
16997
16997
  H(!1), f == null || f();
16998
- }, [f]), E = Fe((w) => {
16999
- k(w);
16998
+ }, [f]), E = Fe((k) => {
16999
+ w(k);
17000
17000
  });
17001
17001
  Y(() => {
17002
17002
  b == null || b({
@@ -17157,13 +17157,13 @@ const iL = `'{"gap-RadioGroupOption": "var(--xmlui-gap-RadioGroupOption)", "bord
17157
17157
  style: x,
17158
17158
  registerComponentApi: C,
17159
17159
  autoSize: H,
17160
- maxRows: k,
17160
+ maxRows: w,
17161
17161
  minRows: $,
17162
17162
  maxLength: _,
17163
17163
  rows: O = fr.rows,
17164
17164
  enabled: E = fr.enabled,
17165
17165
  label: W,
17166
- labelPosition: w,
17166
+ labelPosition: k,
17167
17167
  labelWidth: S,
17168
17168
  labelBreak: A
17169
17169
  }, B) {
@@ -17256,7 +17256,7 @@ const iL = `'{"gap-RadioGroupOption": "var(--xmlui-gap-RadioGroupOption)", "bord
17256
17256
  qr,
17257
17257
  {
17258
17258
  ref: B,
17259
- labelPosition: w,
17259
+ labelPosition: k,
17260
17260
  label: W,
17261
17261
  labelWidth: S,
17262
17262
  labelBreak: A,
@@ -17270,17 +17270,17 @@ const iL = `'{"gap-RadioGroupOption": "var(--xmlui-gap-RadioGroupOption)", "bord
17270
17270
  {
17271
17271
  ...Le,
17272
17272
  style: x,
17273
- maxRows: k,
17273
+ maxRows: w,
17274
17274
  minRows: $,
17275
17275
  rows: O
17276
17276
  }
17277
17277
  )
17278
17278
  }
17279
- ) : H || !Xh(k) || !Xh($) ? /* @__PURE__ */ p(
17279
+ ) : H || !Xh(w) || !Xh($) ? /* @__PURE__ */ p(
17280
17280
  qr,
17281
17281
  {
17282
17282
  ref: B,
17283
- labelPosition: w,
17283
+ labelPosition: k,
17284
17284
  label: W,
17285
17285
  labelWidth: S,
17286
17286
  labelBreak: A,
@@ -17294,7 +17294,7 @@ const iL = `'{"gap-RadioGroupOption": "var(--xmlui-gap-RadioGroupOption)", "bord
17294
17294
  {
17295
17295
  ...Le,
17296
17296
  style: x,
17297
- maxRows: k,
17297
+ maxRows: w,
17298
17298
  minRows: $,
17299
17299
  rows: O
17300
17300
  }
@@ -17304,7 +17304,7 @@ const iL = `'{"gap-RadioGroupOption": "var(--xmlui-gap-RadioGroupOption)", "bord
17304
17304
  qr,
17305
17305
  {
17306
17306
  ref: B,
17307
- labelPosition: w,
17307
+ labelPosition: k,
17308
17308
  label: W,
17309
17309
  labelWidth: S,
17310
17310
  labelBreak: A,
@@ -17390,23 +17390,23 @@ const Dt = {
17390
17390
  dropdownHeight: x,
17391
17391
  multi: C = Dt.multi,
17392
17392
  label: H,
17393
- labelPosition: k,
17393
+ labelPosition: w,
17394
17394
  labelWidth: $,
17395
17395
  labelBreak: _,
17396
17396
  required: O = Dt.required,
17397
17397
  creatable: E = Dt.creatable
17398
17398
  }, W) {
17399
- const [w, S] = ee(null), A = ne(null), [B, L] = ee(!1), K = ne(null), [M, R] = ee(/* @__PURE__ */ new Set()), [P, G] = ee(""), { root: X } = gt(), [Z, N] = ee(0), V = ne(), j = rr(), J = t || j, [re, Te] = ee(""), [Le, ge] = ee(!1);
17399
+ const [k, S] = ee(null), A = ne(null), [B, L] = ee(!1), K = ne(null), [M, R] = ee(/* @__PURE__ */ new Set()), [P, G] = ee(""), { root: X } = gt(), [Z, N] = ee(0), V = ne(), j = rr(), J = t || j, [re, Te] = ee(""), [Le, ge] = ee(!1);
17400
17400
  Y(() => {
17401
17401
  r !== void 0 && a({ value: r || [] }, { initial: !0 });
17402
17402
  }, [r, a]), Y(() => {
17403
17403
  var ae;
17404
- const ve = w;
17404
+ const ve = k;
17405
17405
  return (ae = V.current) == null || ae.disconnect(), ve && (V.current = new ResizeObserver(() => N(ve.clientWidth)), V.current.observe(ve)), () => {
17406
17406
  var ye;
17407
17407
  (ye = V.current) == null || ye.disconnect();
17408
17408
  };
17409
- }, [w]);
17409
+ }, [k]);
17410
17410
  const Ne = U(() => {
17411
17411
  const ve = Array.from(M);
17412
17412
  return Array.isArray(o) ? o.length === 0 ? [] : ve.filter((ae) => o.includes(`${ae.value}`)) : ve.find((ae) => `${ae.value}` == `${o}`);
@@ -17472,7 +17472,7 @@ const Dt = {
17472
17472
  {
17473
17473
  id: J,
17474
17474
  ref: W,
17475
- labelPosition: k,
17475
+ labelPosition: w,
17476
17476
  label: H,
17477
17477
  labelWidth: $,
17478
17478
  labelBreak: _,
@@ -17705,30 +17705,30 @@ const KL = `'{"Input:backgroundColor-track-Slider": "var(--xmlui-backgroundColor
17705
17705
  labelBreak: x,
17706
17706
  required: C,
17707
17707
  validationStatus: H = Fr.validationStatus,
17708
- initialValue: k,
17708
+ initialValue: w,
17709
17709
  minStepsBetweenThumbs: $ = Fr.minStepsBetweenThumbs,
17710
17710
  rangeStyle: _,
17711
17711
  thumbStyle: O,
17712
17712
  showValues: E = Fr.showValues,
17713
17713
  valueFormat: W = Fr.valueFormat
17714
- }, w) => {
17714
+ }, k) => {
17715
17715
  const S = ne(null), [A, B] = ke.useState([]);
17716
17716
  Y(() => {
17717
17717
  let V;
17718
- if (typeof k == "string")
17718
+ if (typeof w == "string")
17719
17719
  try {
17720
- V = JSON.parse(k);
17720
+ V = JSON.parse(w);
17721
17721
  } catch {
17722
- const re = parseFloat(k);
17722
+ const re = parseFloat(w);
17723
17723
  isNaN(re) || (V = re);
17724
17724
  }
17725
17725
  else
17726
- V = k;
17726
+ V = w;
17727
17727
  const j = Jf(V, r);
17728
17728
  B(j), i && i({
17729
17729
  value: j.length === 1 ? j[0] : j
17730
17730
  }, { initial: !0 });
17731
- }, [k, r, i]), Y(() => {
17731
+ }, [w, r, i]), Y(() => {
17732
17732
  if (u !== void 0) {
17733
17733
  const V = Jf(u, r);
17734
17734
  B(V);
@@ -17773,7 +17773,7 @@ const KL = `'{"Input:backgroundColor-track-Slider": "var(--xmlui-backgroundColor
17773
17773
  onFocus: l,
17774
17774
  onBlur: s,
17775
17775
  style: e,
17776
- ref: w,
17776
+ ref: k,
17777
17777
  children: /* @__PURE__ */ p("div", { className: Rr.sliderContainer, children: /* @__PURE__ */ D(
17778
17778
  jv,
17779
17779
  {
@@ -17882,7 +17882,7 @@ const sN = `'{"Input:backgroundColor-ColorPicker": "var(--xmlui-backgroundColor-
17882
17882
  Y(() => {
17883
17883
  t({ value: b }, { initial: !0 });
17884
17884
  }, [b, t]);
17885
- const k = q(() => {
17885
+ const w = q(() => {
17886
17886
  o == null || o();
17887
17887
  }, [o]), $ = q(() => {
17888
17888
  n == null || n();
@@ -17920,7 +17920,7 @@ const sN = `'{"Input:backgroundColor-ColorPicker": "var(--xmlui-backgroundColor-
17920
17920
  [Ka.valid]: g === "valid"
17921
17921
  }),
17922
17922
  disabled: !a,
17923
- onFocus: k,
17923
+ onFocus: w,
17924
17924
  onChange: H,
17925
17925
  autoFocus: s,
17926
17926
  onBlur: $,
@@ -18080,13 +18080,13 @@ const B2 = (e) => /* @__PURE__ */ p($N, { ...e }), Yf = ({ text: e = "", status:
18080
18080
  onBlur: x = $e,
18081
18081
  registerComponentApi: C,
18082
18082
  startText: H,
18083
- startIcon: k,
18083
+ startIcon: w,
18084
18084
  endText: $,
18085
18085
  endIcon: _,
18086
18086
  spinnerUpIcon: O,
18087
18087
  spinnerDownIcon: E,
18088
18088
  autoFocus: W,
18089
- readOnly: w,
18089
+ readOnly: k,
18090
18090
  required: S,
18091
18091
  label: A,
18092
18092
  labelPosition: B,
@@ -18143,14 +18143,14 @@ const B2 = (e) => /* @__PURE__ */ p($N, { ...e }), Yf = ({ text: e = "", status:
18143
18143
  },
18144
18144
  [Ne, g, V, N]
18145
18145
  ), de = q(() => {
18146
- if (!c || w) return;
18146
+ if (!c || k) return;
18147
18147
  const ae = ul(o) || cl(o) ? "0" : o.toString(), ye = eg(ae, V, "increase", Le, a, l);
18148
18148
  g({ value: ye });
18149
- }, [o, c, w, V, Le, a, l, g]), ie = q(() => {
18150
- if (!c || w) return;
18149
+ }, [o, c, k, V, Le, a, l, g]), ie = q(() => {
18150
+ if (!c || k) return;
18151
18151
  const ae = ul(o) || cl(o) ? "0" : o.toString(), ye = eg(ae, V, "decrease", Le, a, l);
18152
18152
  g({ value: ye });
18153
- }, [o, c, w, V, Le, a, l, g]);
18153
+ }, [o, c, k, V, Le, a, l, g]);
18154
18154
  Qf(P.current, de), Qf(G.current, ie);
18155
18155
  const le = q(
18156
18156
  (ae) => {
@@ -18224,7 +18224,7 @@ const B2 = (e) => /* @__PURE__ */ p($N, { ...e }), Yf = ({ text: e = "", status:
18224
18224
  "div",
18225
18225
  {
18226
18226
  className: oe(ft.inputRoot, {
18227
- [ft.readOnly]: w,
18227
+ [ft.readOnly]: k,
18228
18228
  [ft.disabled]: !c,
18229
18229
  [ft.noSpinBox]: !f,
18230
18230
  [ft.error]: m === "error",
@@ -18237,7 +18237,7 @@ const B2 = (e) => /* @__PURE__ */ p($N, { ...e }), Yf = ({ text: e = "", status:
18237
18237
  (ae = R.current) == null || ae.focus();
18238
18238
  },
18239
18239
  children: [
18240
- /* @__PURE__ */ p(Pi, { text: H, iconName: k, className: ft.adornment }),
18240
+ /* @__PURE__ */ p(Pi, { text: H, iconName: w, className: ft.adornment }),
18241
18241
  /* @__PURE__ */ p(
18242
18242
  "input",
18243
18243
  {
@@ -18246,7 +18246,7 @@ const B2 = (e) => /* @__PURE__ */ p($N, { ...e }), Yf = ({ text: e = "", status:
18246
18246
  type: "text",
18247
18247
  placeholder: d,
18248
18248
  required: S,
18249
- readOnly: w,
18249
+ readOnly: k,
18250
18250
  disabled: !c,
18251
18251
  inputMode: ge,
18252
18252
  className: oe(ft.input),
@@ -18272,7 +18272,7 @@ const B2 = (e) => /* @__PURE__ */ p($N, { ...e }), Yf = ({ text: e = "", status:
18272
18272
  themeColor: "secondary",
18273
18273
  tabIndex: -1,
18274
18274
  className: ft.spinnerButton,
18275
- disabled: !c || w,
18275
+ disabled: !c || k,
18276
18276
  ref: P,
18277
18277
  children: /* @__PURE__ */ p(Se, { name: O || "spinnerUp:NumberBox", fallback: "chevronup", size: "sm" })
18278
18278
  }
@@ -18286,7 +18286,7 @@ const B2 = (e) => /* @__PURE__ */ p($N, { ...e }), Yf = ({ text: e = "", status:
18286
18286
  variant: "ghost",
18287
18287
  themeColor: "secondary",
18288
18288
  className: ft.spinnerButton,
18289
- disabled: !c || w,
18289
+ disabled: !c || k,
18290
18290
  ref: G,
18291
18291
  children: /* @__PURE__ */ p(Se, { name: E || "spinnerDown:NumberBox", fallback: "chevrondown", size: "sm" })
18292
18292
  }
@@ -18441,8 +18441,8 @@ const WN = Wn(function({
18441
18441
  gap: C,
18442
18442
  ...H
18443
18443
  }) {
18444
- const k = rr(), { parentFormItemId: $ } = Ze(L2), _ = U(() => {
18445
- const j = r || `${k}${w1}`;
18444
+ const w = rr(), { parentFormItemId: $ } = Ze(L2), _ = U(() => {
18445
+ const j = r || `${w}${w1}`;
18446
18446
  if ($) {
18447
18447
  if (v !== void 0) {
18448
18448
  let J = `${$}[${v}]`;
@@ -18450,13 +18450,13 @@ const WN = Wn(function({
18450
18450
  }
18451
18451
  } else
18452
18452
  return j;
18453
- }, [r, k, v, $]), O = Ro((j) => l || j.itemLabelWidth), E = Ro(
18453
+ }, [r, w, v, $]), O = Ro((j) => l || j.itemLabelWidth), E = Ro(
18454
18454
  (j) => s !== void 0 ? s : j.itemLabelBreak
18455
18455
  ), W = Ro(
18456
18456
  (j) => a || j.itemLabelPosition || NN[o]
18457
- ), w = Ro(
18457
+ ), k = Ro(
18458
18458
  (j) => Up(j.originalSubject, _)
18459
- ), S = w === void 0 ? x : w, A = Ro((j) => Up(j.subject, _)), B = Ro((j) => j.validationResults[_]), L = Ro((j) => j.dispatch), K = Ro((j) => j.enabled), M = i && K;
18459
+ ), S = k === void 0 ? x : k, A = Ro((j) => Up(j.subject, _)), B = Ro((j) => j.validationResults[_]), L = Ro((j) => j.dispatch), K = Ro((j) => j.enabled), M = i && K;
18460
18460
  Y(() => {
18461
18461
  S !== void 0 && L(_E(_, S));
18462
18462
  }, [L, _, S]), kA(d, u, A, L, _, h);
@@ -18933,13 +18933,13 @@ const N2 = "FormItem", Ys = xA.filter(
18933
18933
  minLength: x,
18934
18934
  maxLength: C,
18935
18935
  lengthInvalidMessage: H,
18936
- lengthInvalidSeverity: k,
18936
+ lengthInvalidSeverity: w,
18937
18937
  minValue: $,
18938
18938
  maxValue: _,
18939
18939
  rangeInvalidMessage: O,
18940
18940
  rangeInvalidSeverity: E,
18941
18941
  pattern: W,
18942
- patternInvalidMessage: w,
18942
+ patternInvalidMessage: k,
18943
18943
  patternInvalidSeverity: S,
18944
18944
  regex: A,
18945
18945
  regexInvalidMessage: B,
@@ -18955,13 +18955,13 @@ const N2 = "FormItem", Ys = xA.filter(
18955
18955
  minLength: r.asOptionalNumber(x),
18956
18956
  maxLength: r.asOptionalNumber(C),
18957
18957
  lengthInvalidMessage: r.asOptionalString(H),
18958
- lengthInvalidSeverity: Ks(r.asOptionalString(k)),
18958
+ lengthInvalidSeverity: Ks(r.asOptionalString(w)),
18959
18959
  minValue: r.asOptionalNumber($),
18960
18960
  maxValue: r.asOptionalNumber(_),
18961
18961
  rangeInvalidMessage: r.asOptionalString(O),
18962
18962
  rangeInvalidSeverity: Ks(r.asOptionalString(E)),
18963
18963
  pattern: r.asOptionalString(W),
18964
- patternInvalidMessage: r.asOptionalString(w),
18964
+ patternInvalidMessage: r.asOptionalString(k),
18965
18965
  patternInvalidSeverity: Ks(r.asOptionalString(S)),
18966
18966
  regex: r.asOptionalString(A),
18967
18967
  regexInvalidMessage: r.asOptionalString(B),
@@ -19636,8 +19636,8 @@ const g7 = (e, t) => {
19636
19636
  defaultGroups: x = ot,
19637
19637
  registerComponentApi: C,
19638
19638
  borderCollapse: H = wi.borderCollapse
19639
- }, k) {
19640
- const $ = ne(null), _ = Ze(Sn), O = ne(null), E = k ? Ur(O, k) : O, W = _ && (g == null ? void 0 : g.maxHeight) === void 0 && (g == null ? void 0 : g.height) === void 0 && (g == null ? void 0 : g.flex) === void 0, w = W ? _ : O, S = ne(d === "bottom"), [A, B] = ee(Ge), L = q((de, ie) => {
19639
+ }, w) {
19640
+ const $ = ne(null), _ = Ze(Sn), O = ne(null), E = w ? Ur(O, w) : O, W = _ && (g == null ? void 0 : g.maxHeight) === void 0 && (g == null ? void 0 : g.height) === void 0 && (g == null ? void 0 : g.flex) === void 0, k = W ? _ : O, S = ne(d === "bottom"), [A, B] = ee(Ge), L = q((de, ie) => {
19641
19641
  B((le) => ({ ...le, [de]: ie }));
19642
19642
  }, []), K = U(() => ({
19643
19643
  isExpanded: (de) => A[de] || A[de] === void 0 && v,
@@ -19749,7 +19749,7 @@ const g7 = (e, t) => {
19749
19749
  F3,
19750
19750
  {
19751
19751
  ref: $,
19752
- scrollRef: w,
19752
+ scrollRef: k,
19753
19753
  shift: R,
19754
19754
  onScroll: j,
19755
19755
  startMargin: se,
@@ -20440,7 +20440,7 @@ const $R = `'{"fontSize-TreeDisplay": "var(--xmlui-fontSize-TreeDisplay)", "bord
20440
20440
  f && a && (g(!1), u == null || u(!1));
20441
20441
  }, [a, f, u]), C = q(() => {
20442
20442
  b();
20443
- }, [b]), H = q(() => f, [f]), k = q(
20443
+ }, [b]), H = q(() => f, [f]), w = q(
20444
20444
  (E) => {
20445
20445
  a && (g(E), u == null || u(E));
20446
20446
  },
@@ -20455,10 +20455,10 @@ const $R = `'{"fontSize-TreeDisplay": "var(--xmlui-fontSize-TreeDisplay)", "bord
20455
20455
  });
20456
20456
  }, [h, v, x, C, H]);
20457
20457
  const $ = ne(), _ = ne(), O = q(() => {
20458
- var W, w;
20458
+ var W, k;
20459
20459
  if (!a || !d) return;
20460
20460
  const E = !f;
20461
- g(E), u == null || u(E), c === "start" && ((W = $.current) != null && W.setValue) ? $.current.setValue(E) : c === "end" && ((w = _.current) != null && w.setValue) && _.current.setValue(E);
20461
+ g(E), u == null || u(E), c === "start" && ((W = $.current) != null && W.setValue) ? $.current.setValue(E) : c === "end" && ((k = _.current) != null && k.setValue) && _.current.setValue(E);
20462
20462
  }, [a, d, f, u, c]);
20463
20463
  return /* @__PURE__ */ D(
20464
20464
  "div",
@@ -20486,7 +20486,7 @@ const $R = `'{"fontSize-TreeDisplay": "var(--xmlui-fontSize-TreeDisplay)", "bord
20486
20486
  variant: "switch",
20487
20487
  value: f,
20488
20488
  enabled: a,
20489
- onDidChange: k
20489
+ onDidChange: w
20490
20490
  }
20491
20491
  ) : /* @__PURE__ */ p(
20492
20492
  Se,
@@ -21385,7 +21385,7 @@ function qz({
21385
21385
  rowDisabledPredicate: n,
21386
21386
  onSelectionDidChange: i
21387
21387
  }) {
21388
- const [a, l] = ee(-1), [s, c] = ee(null), { selectedItems: d, setSelectedRowIds: u, refreshSelection: h, idKey: m } = hy(), f = U(() => t.map((w) => w[m]), [m, t]);
21388
+ const [a, l] = ee(-1), [s, c] = ee(null), { selectedItems: d, setSelectedRowIds: u, refreshSelection: h, idKey: m } = hy(), f = U(() => t.map((k) => k[m]), [m, t]);
21389
21389
  Y(() => {
21390
21390
  h(r ? e : ot);
21391
21391
  }, [h, e, r]);
@@ -21404,10 +21404,10 @@ function qz({
21404
21404
  const b = Fe(
21405
21405
  // targetIndex: the item affected by an event
21406
21406
  // options: key event options
21407
- (w, S = {}) => {
21407
+ (k, S = {}) => {
21408
21408
  if (!r)
21409
21409
  return;
21410
- const A = f[w], { shiftKey: B, metaKey: L, ctrlKey: K } = S, M = !o || !B && !L && !K;
21410
+ const A = f[k], { shiftKey: B, metaKey: L, ctrlKey: K } = S, M = !o || !B && !L && !K;
21411
21411
  let R, P = [...d.map((G) => G[m])];
21412
21412
  if (M)
21413
21413
  R = {
@@ -21425,7 +21425,7 @@ function qz({
21425
21425
  let ge = f.indexOf(Z), Ne = f.indexOf(N);
21426
21426
  G = Math.min(ge, Ne), X = Math.max(ge, Ne);
21427
21427
  } else
21428
- Z = A, N = A, G = w, X = w;
21428
+ Z = A, N = A, G = k, X = k;
21429
21429
  const V = f.slice(G, X + 1);
21430
21430
  P = VS(P, V), R = {
21431
21431
  from: Z,
@@ -21438,68 +21438,68 @@ function qz({
21438
21438
  }, L || K ? P.includes(A) ? P = P.filter(
21439
21439
  (G) => G !== A
21440
21440
  ) : P.push(A) : P = [A];
21441
- l(w), u(_v(P)), c(R);
21441
+ l(k), u(_v(P)), c(R);
21442
21442
  }
21443
- ), v = Fe((w, S) => {
21443
+ ), v = Fe((k, S) => {
21444
21444
  if (!r)
21445
21445
  return;
21446
- const A = f.indexOf(w[m]);
21446
+ const A = f.indexOf(k[m]);
21447
21447
  b(A, S);
21448
- }), x = Fe((w) => {
21448
+ }), x = Fe((k) => {
21449
21449
  if (r) {
21450
- if (w.key === "ArrowDown") {
21451
- w.preventDefault();
21450
+ if (k.key === "ArrowDown") {
21451
+ k.preventDefault();
21452
21452
  let S = Math.min(t.length - 1, a + 1);
21453
- a !== t.length - 1 && b(S, w);
21453
+ a !== t.length - 1 && b(S, k);
21454
21454
  }
21455
- if (w.key === "PageDown") {
21456
- w.preventDefault();
21455
+ if (k.key === "PageDown") {
21456
+ k.preventDefault();
21457
21457
  const S = Math.min(t.length - 1, a + 8);
21458
- b(S, w);
21458
+ b(S, k);
21459
21459
  }
21460
- if (w.key === "ArrowUp") {
21461
- w.preventDefault();
21460
+ if (k.key === "ArrowUp") {
21461
+ k.preventDefault();
21462
21462
  let S = Math.max(0, a - 1);
21463
- a >= 0 && b(S, w);
21463
+ a >= 0 && b(S, k);
21464
21464
  }
21465
- if (w.key === "PageUp") {
21466
- w.preventDefault();
21465
+ if (k.key === "PageUp") {
21466
+ k.preventDefault();
21467
21467
  const S = Math.max(0, a - 8);
21468
- b(S, w);
21468
+ b(S, k);
21469
21469
  }
21470
21470
  }
21471
21471
  });
21472
21472
  Y(() => {
21473
21473
  i == null || i(d);
21474
21474
  }, [d, i]);
21475
- const C = Fe((w) => {
21476
- r && (!o && w || u(
21477
- w ? e.filter((S) => n ? !n(S) : !0).map((S) => S[m]) : []
21475
+ const C = Fe((k) => {
21476
+ r && (!o && k || u(
21477
+ k ? e.filter((S) => n ? !n(S) : !0).map((S) => S[m]) : []
21478
21478
  ));
21479
21479
  }), H = U(() => {
21480
- let w = {};
21480
+ let k = {};
21481
21481
  return d.forEach((S) => {
21482
- w[S[m]] = !0;
21483
- }), w;
21484
- }, [m, d]), k = q(() => d, [d]), $ = q(() => d.map((w) => w[m]), [m, d]), _ = q(() => {
21482
+ k[S[m]] = !0;
21483
+ }), k;
21484
+ }, [m, d]), w = q(() => d, [d]), $ = q(() => d.map((k) => k[m]), [m, d]), _ = q(() => {
21485
21485
  C(!1);
21486
21486
  }, [C]), O = q(() => {
21487
21487
  C(!0);
21488
21488
  }, [C]), E = q(
21489
- (w) => {
21489
+ (k) => {
21490
21490
  if (!r)
21491
21491
  return;
21492
- let S = Array.isArray(w) ? w : [w];
21492
+ let S = Array.isArray(k) ? k : [k];
21493
21493
  S.length > 1 && !o && (S = [S[0]]), u(S);
21494
21494
  },
21495
21495
  [o, r, u]
21496
21496
  ), W = U(() => ({
21497
- getSelectedItems: k,
21497
+ getSelectedItems: w,
21498
21498
  getSelectedIds: $,
21499
21499
  clearSelection: _,
21500
21500
  selectAll: O,
21501
21501
  selectId: E
21502
- }), [_, $, k, O, E]);
21502
+ }), [_, $, w, O, E]);
21503
21503
  return {
21504
21504
  onKeyDown: x,
21505
21505
  focusedIndex: a,
@@ -21553,14 +21553,14 @@ const Gz = 42, ig = (e) => {
21553
21553
  autoFocus: x = Hr.autoFocus,
21554
21554
  hideHeader: C = Hr.hideHeader,
21555
21555
  hideNoDataView: H = Hr.hideNoDataView,
21556
- alwaysShowSelectionHeader: k = Hr.alwaysShowSelectionHeader,
21556
+ alwaysShowSelectionHeader: w = Hr.alwaysShowSelectionHeader,
21557
21557
  registerComponentApi: $,
21558
21558
  onSelectionDidChange: _,
21559
21559
  noBottomBorder: O = Hr.noBottomBorder
21560
21560
  // cols
21561
21561
  }, E) => {
21562
21562
  var Ds, za, Je, hr;
21563
- const { getThemeVar: W } = gt(), w = Array.isArray(e) ? e : ot, S = ne(null), A = E ? Ur(S, E) : S, B = ne(null), L = ne(null), K = c !== void 0, M = U(() => t || (w.length ? Object.keys(w[0]).map((He) => ({ header: He, accessorKey: He })) : ot), [t, w]);
21563
+ const { getThemeVar: W } = gt(), k = Array.isArray(e) ? e : ot, S = ne(null), A = E ? Ur(S, E) : S, B = ne(null), L = ne(null), K = c !== void 0, M = U(() => t || (k.length ? Object.keys(k[0]).map((He) => ({ header: He, accessorKey: He })) : ot), [t, k]);
21564
21564
  Y(() => {
21565
21565
  x && S.current.focus();
21566
21566
  }, [x]);
@@ -21573,16 +21573,16 @@ const Gz = 42, ig = (e) => {
21573
21573
  idKey: j,
21574
21574
  selectionApi: J
21575
21575
  } = qz({
21576
- items: w,
21576
+ items: k,
21577
21577
  visibleItems: R,
21578
21578
  rowsSelectable: i,
21579
21579
  enableMultiRowSelection: a,
21580
21580
  rowDisabledPredicate: s,
21581
21581
  onSelectionDidChange: _
21582
- }), re = U(() => w.map((He, tt) => ({
21582
+ }), re = U(() => k.map((He, tt) => ({
21583
21583
  ...He,
21584
21584
  order: tt + 1
21585
- })), [w]), [Te, Le] = ee(c), [ge, Ne] = ee(d);
21585
+ })), [k]), [Te, Le] = ee(c), [ge, Ne] = ee(d);
21586
21586
  ro(() => {
21587
21587
  Le(c);
21588
21588
  }, [c]), ro(() => {
@@ -21650,7 +21650,7 @@ const Gz = 42, ig = (e) => {
21650
21650
  Ca,
21651
21651
  {
21652
21652
  className: oe(dt.checkBoxWrapper, {
21653
- [dt.showInHeader]: k
21653
+ [dt.showInHeader]: w
21654
21654
  }),
21655
21655
  value: tt.getIsAllRowsSelected(),
21656
21656
  indeterminate: tt.getIsSomeRowsSelected(),
@@ -21675,7 +21675,7 @@ const Gz = 42, ig = (e) => {
21675
21675
  i,
21676
21676
  ie,
21677
21677
  a,
21678
- k,
21678
+ w,
21679
21679
  X,
21680
21680
  G
21681
21681
  ]), [Be, _e] = ee({
@@ -21733,7 +21733,7 @@ const Gz = 42, ig = (e) => {
21733
21733
  scrollMargin: ct,
21734
21734
  estimateSize: q(() => L.current || 30, []),
21735
21735
  overscan: 5
21736
- }), Gr = De.getVirtualItems().length > 0 && ((za = (Ds = De.getVirtualItems()) == null ? void 0 : Ds[0]) == null ? void 0 : za.start) - ct || 0, Sr = De.getVirtualItems().length > 0 ? De.getTotalSize() - (((hr = (Je = De.getVirtualItems()) == null ? void 0 : Je[De.getVirtualItems().length - 1]) == null ? void 0 : hr.end) - ct || 0) : 0, or = w.length !== 0, ai = ne({}), Ji = q((He) => {
21736
+ }), Gr = De.getVirtualItems().length > 0 && ((za = (Ds = De.getVirtualItems()) == null ? void 0 : Ds[0]) == null ? void 0 : za.start) - ct || 0, Sr = De.getVirtualItems().length > 0 ? De.getTotalSize() - (((hr = (Je = De.getVirtualItems()) == null ? void 0 : Je[De.getVirtualItems().length - 1]) == null ? void 0 : hr.end) - ct || 0) : 0, or = k.length !== 0, ai = ne({}), Ji = q((He) => {
21737
21737
  ai.current[He] = !0;
21738
21738
  }, []), Wa = Fe(() => {
21739
21739
  if (!B.current)
@@ -21914,7 +21914,7 @@ const Gz = 42, ig = (e) => {
21914
21914
  ye[ye.length - 1].original.order,
21915
21915
  " of",
21916
21916
  " ",
21917
- w.length,
21917
+ k.length,
21918
21918
  " entries"
21919
21919
  ] }) }),
21920
21920
  l.length > 1 && /* @__PURE__ */ D("div", { children: [
@@ -22128,37 +22128,37 @@ const Hr = {
22128
22128
  layoutCss: i,
22129
22129
  registerComponentApi: a
22130
22130
  }, l) => {
22131
- var k, $, _, O, E, W;
22131
+ var w, $, _, O, E, W;
22132
22132
  const s = e(t.props.items) || e(t.props.data), [c, d] = ee(ot), [u, h] = ee(Ge), m = ne([]), [f, g] = ee(0), b = U(() => ({
22133
- registerColumn: (w, S) => {
22133
+ registerColumn: (k, S) => {
22134
22134
  d(
22135
22135
  To((A) => {
22136
22136
  A.findIndex((L) => L === S) < 0 && A.push(S);
22137
22137
  })
22138
22138
  ), h(
22139
22139
  To((A) => {
22140
- A[S] = w;
22140
+ A[S] = k;
22141
22141
  })
22142
22142
  );
22143
22143
  },
22144
- unRegisterColumn: (w) => {
22144
+ unRegisterColumn: (k) => {
22145
22145
  d(
22146
- To((S) => S.filter((A) => A !== w))
22146
+ To((S) => S.filter((A) => A !== k))
22147
22147
  ), h(
22148
22148
  To((S) => {
22149
- delete S[w];
22149
+ delete S[k];
22150
22150
  })
22151
22151
  );
22152
22152
  }
22153
22153
  }), []), v = U(() => ({
22154
- registerColumn: (w, S) => {
22154
+ registerColumn: (k, S) => {
22155
22155
  m.current.find((A) => A === S) || (g((A) => A + 1), m.current.push(S));
22156
22156
  },
22157
- unRegisterColumn: (w) => {
22158
- m.current.find((S) => S === w) && (m.current = m.current.filter((S) => S !== w), g((S) => S + 1));
22157
+ unRegisterColumn: (k) => {
22158
+ m.current.find((S) => S === k) && (m.current = m.current.filter((S) => S !== k), g((S) => S + 1));
22159
22159
  }
22160
22160
  }), []), x = U(
22161
- () => c.map((w) => u[w]),
22161
+ () => c.map((k) => u[k]),
22162
22162
  [c, u]
22163
22163
  ), C = hy(), H = /* @__PURE__ */ D(Me, { children: [
22164
22164
  /* @__PURE__ */ p(tm.Provider, { value: b, children: r(t.children) }, f),
@@ -22175,7 +22175,7 @@ const Hr = {
22175
22175
  noDataRenderer: t.props.noDataTemplate && (() => r(t.props.noDataTemplate)),
22176
22176
  hideNoDataView: t.props.noDataTemplate === null || t.props.noDataTemplate === "",
22177
22177
  loading: e.asOptionalBoolean(t.props.loading),
22178
- isPaginated: e.asOptionalBoolean((k = t.props) == null ? void 0 : k.isPaginated),
22178
+ isPaginated: e.asOptionalBoolean((w = t.props) == null ? void 0 : w.isPaginated),
22179
22179
  headerHeight: e.asSize(t.props.headerHeight),
22180
22180
  rowDisabledPredicate: n(t.props.rowDisabledPredicate),
22181
22181
  sortBy: e(($ = t.props) == null ? void 0 : $.sortBy),
@@ -22537,7 +22537,7 @@ const Ty = "StickyBox", wy = {
22537
22537
  splitterTemplate: s,
22538
22538
  resize: c = $e
22539
22539
  }) => {
22540
- var k;
22540
+ var w;
22541
22541
  const [d, u] = ee(0), [h, m] = ee(null), [f, g] = ee(!1), [b, v] = ee(null), [x, C] = ee(null), H = U(
22542
22542
  () => l ? x : b,
22543
22543
  [l, b, x]
@@ -22553,16 +22553,16 @@ const Ty = "StickyBox", wy = {
22553
22553
  }, [e, o, c, h, a]), Y(() => {
22554
22554
  const $ = (E) => {
22555
22555
  if (h && H) {
22556
- const W = o === "horizontal" ? h.getBoundingClientRect().width : h.getBoundingClientRect().height, w = Math.min(
22556
+ const W = o === "horizontal" ? h.getBoundingClientRect().width : h.getBoundingClientRect().height, k = Math.min(
22557
22557
  Math.max(
22558
22558
  o === "horizontal" ? E.clientX - h.getBoundingClientRect().left : E.clientY - h.getBoundingClientRect().top,
22559
22559
  Jl(t, W)
22560
22560
  ),
22561
22561
  Jl(r, W)
22562
22562
  );
22563
- u(w), c && c([
22564
- Qs(w, W),
22565
- Qs(W - w, W)
22563
+ u(k), c && c([
22564
+ Qs(k, W),
22565
+ Qs(W - k, W)
22566
22566
  ]);
22567
22567
  }
22568
22568
  }, _ = () => {
@@ -22644,7 +22644,7 @@ const Ty = "StickyBox", wy = {
22644
22644
  children: s
22645
22645
  }
22646
22646
  )
22647
- ] }) : /* @__PURE__ */ p(Me, { children: ((k = ke.Children.toArray(n)) == null ? void 0 : k[0]) && /* @__PURE__ */ p("div", { className: Wr.panel, children: ke.Children.toArray(n)[0] }) })
22647
+ ] }) : /* @__PURE__ */ p(Me, { children: ((w = ke.Children.toArray(n)) == null ? void 0 : w[0]) && /* @__PURE__ */ p("div", { className: Wr.panel, children: ke.Children.toArray(n)[0] }) })
22648
22648
  }
22649
22649
  );
22650
22650
  }, ki = "Splitter", ad = {
@@ -22926,14 +22926,14 @@ function FV({
22926
22926
  return;
22927
22927
  c.current.add(O);
22928
22928
  const W = E.item;
22929
- let w = {};
22929
+ let k = {};
22930
22930
  try {
22931
22931
  const S = await (t == null ? void 0 : t({
22932
22932
  item: W,
22933
22933
  actionItemId: O,
22934
- processItemContext: w
22934
+ processItemContext: k
22935
22935
  }));
22936
- if (w = { ...w, willProcessResult: S }, S === !1) {
22936
+ if (k = { ...k, willProcessResult: S }, S === !1) {
22937
22937
  u(ag(O));
22938
22938
  return;
22939
22939
  }
@@ -22941,21 +22941,21 @@ function FV({
22941
22941
  const A = await (r == null ? void 0 : r({
22942
22942
  item: W,
22943
22943
  actionItemId: O,
22944
- processItemContext: w,
22944
+ processItemContext: k,
22945
22945
  onProgress: (B) => {
22946
22946
  u(LV(O, B));
22947
22947
  }
22948
22948
  }));
22949
- w = { ...w, processResult: A }, await (o == null ? void 0 : o({
22949
+ k = { ...k, processResult: A }, await (o == null ? void 0 : o({
22950
22950
  item: W,
22951
22951
  actionItemId: O,
22952
- processItemContext: w
22952
+ processItemContext: k
22953
22953
  })), u(NV(O, A));
22954
22954
  } catch (S) {
22955
22955
  let A = await (n == null ? void 0 : n(S, {
22956
22956
  item: W,
22957
22957
  actionItemId: O,
22958
- processItemContext: w
22958
+ processItemContext: k
22959
22959
  }));
22960
22960
  u(WV(O, S)), A !== !1 && h.signError(S);
22961
22961
  } finally {
@@ -22971,37 +22971,37 @@ function FV({
22971
22971
  d.queueState,
22972
22972
  t
22973
22973
  ]
22974
- ), H = ne(), k = d.queue, $ = Kn(k), _ = q(() => {
22974
+ ), H = ne(), w = d.queue, $ = Kn(w), _ = q(() => {
22975
22975
  i == null || i();
22976
- const O = x(), E = x().filter((w) => w.status === "completed"), W = l == null ? void 0 : l(E, O);
22976
+ const O = x(), E = x().filter((k) => k.status === "completed"), W = l == null ? void 0 : l(E, O);
22977
22977
  if (W && E.length) {
22978
- let w = H.current;
22978
+ let k = H.current;
22979
22979
  Pt.success(/* @__PURE__ */ p(Me, { children: W }), {
22980
- id: w
22980
+ id: k
22981
22981
  });
22982
22982
  } else if (H.current) {
22983
- let w = H.current;
22984
- Pt.dismiss(w);
22983
+ let k = H.current;
22984
+ Pt.dismiss(k);
22985
22985
  }
22986
22986
  s && g();
22987
22987
  }, [s, g, x, i, l]);
22988
22988
  return ro(() => {
22989
- if (k.length && a) {
22990
- const O = x(), E = x().filter((w) => w.status === "completed"), W = a == null ? void 0 : a(E, O);
22989
+ if (w.length && a) {
22990
+ const O = x(), E = x().filter((k) => k.status === "completed"), W = a == null ? void 0 : a(E, O);
22991
22991
  W && H.current ? Pt.loading(/* @__PURE__ */ p(Me, { children: W }), {
22992
22992
  id: H.current
22993
22993
  }) : H.current = Pt.loading(/* @__PURE__ */ p(Me, { children: W }));
22994
22994
  }
22995
- }, [a, k == null ? void 0 : k.length]), Y(() => {
22996
- if (!k || $ === k || Ed($, k))
22995
+ }, [a, w == null ? void 0 : w.length]), Y(() => {
22996
+ if (!w || $ === w || Ed($, w))
22997
22997
  return;
22998
- if ($ != null && $.length && !k.length) {
22998
+ if ($ != null && $.length && !w.length) {
22999
22999
  _();
23000
23000
  return;
23001
23001
  }
23002
- let O = k[0];
23002
+ let O = w[0];
23003
23003
  (async () => await C(O))();
23004
- }, [_, C, $, k]), null;
23004
+ }, [_, C, $, w]), null;
23005
23005
  }
23006
23006
  const MV = "Queue", Ry = {
23007
23007
  description: "`Queue` manages sequential processing of items in FIFO (first-in, first-out) order. It is a non-visual component but provides UI progress reporting and result display.",
@@ -23111,13 +23111,13 @@ const MV = "Queue", Ry = {
23111
23111
  }, u) => {
23112
23112
  const h = U(() => {
23113
23113
  const E = {};
23114
- return e.props && Object.entries(e.props).forEach(([W, w]) => {
23115
- const S = l(w, !0);
23114
+ return e.props && Object.entries(e.props).forEach(([W, k]) => {
23115
+ const S = l(k, !0);
23116
23116
  S != null && S._ARROW_EXPR_ ? E[W] = t(S) : E[W] = S;
23117
23117
  }), E;
23118
23118
  }, [l, t, e.props]), m = ur(h), f = U(() => {
23119
23119
  var B;
23120
- const { loaders: E, vars: W, functions: w, scriptError: S, ...A } = o;
23120
+ const { loaders: E, vars: W, functions: k, scriptError: S, ...A } = o;
23121
23121
  return {
23122
23122
  type: "Container",
23123
23123
  uses: ot,
@@ -23125,7 +23125,7 @@ const MV = "Queue", Ry = {
23125
23125
  scriptCollected: i,
23126
23126
  loaders: E,
23127
23127
  vars: W,
23128
- functions: w,
23128
+ functions: k,
23129
23129
  scriptError: S,
23130
23130
  containerUid: c,
23131
23131
  props: {
@@ -23134,9 +23134,9 @@ const MV = "Queue", Ry = {
23134
23134
  children: [A]
23135
23135
  };
23136
23136
  }, [n, o, i, c]), g = Fe((E, ...W) => {
23137
- const w = r(E);
23138
- if (w)
23139
- return w(...W);
23137
+ const k = r(E);
23138
+ if (k)
23139
+ return k(...W);
23140
23140
  }), b = Fe((E) => !!r(E)), v = U(() => ({
23141
23141
  $props: m,
23142
23142
  ...f.vars,
@@ -23146,20 +23146,20 @@ const MV = "Queue", Ry = {
23146
23146
  }), [f.vars, g, b, m, d]), x = ur(v), C = U(() => ({
23147
23147
  ...f,
23148
23148
  vars: x
23149
- }), [f, x]), H = ur(C), k = U(() => Object.entries(e.props).some(([E, W]) => {
23150
- var w;
23149
+ }), [f, x]), H = ur(C), w = U(() => Object.entries(e.props).some(([E, W]) => {
23150
+ var k;
23151
23151
  return (
23152
23152
  //TODO this is a hack, we should have a better way to detect template props
23153
- E.endsWith("Template") || FS(W) && W.type !== void 0 || Rm(W) && ((w = W[0]) == null ? void 0 : w.type) !== void 0
23153
+ E.endsWith("Template") || FS(W) && W.type !== void 0 || Rm(W) && ((k = W[0]) == null ? void 0 : k.type) !== void 0
23154
23154
  );
23155
23155
  }), [e.props]), $ = U(() => {
23156
- if (!(!k && (!e.children || e.children.length === 0)))
23156
+ if (!(!w && (!e.children || e.children.length === 0)))
23157
23157
  return {
23158
23158
  renderChild: a,
23159
23159
  props: e.props,
23160
23160
  children: e.children
23161
23161
  };
23162
- }, [k, e.children, e.props, a]), _ = s && { ...s, wrapChild: void 0 }, O = a(H, _, $);
23162
+ }, [w, e.children, e.props, a]), _ = s && { ...s, wrapChild: void 0 }, O = a(H, _, $);
23163
23163
  return u && O && Nn(O) ? ke.cloneElement(O, {
23164
23164
  ref: Ur(u, O.ref)
23165
23165
  }) : ke.isValidElement(O) ? O : /* @__PURE__ */ p(Me, { children: O });
@@ -23306,8 +23306,8 @@ class Fs {
23306
23306
  if (g) {
23307
23307
  const C = new FormData();
23308
23308
  return C.append(f.name, (c == null ? void 0 : c.blob) || f), b && Object.entries(this.extractParam(m, b, s)).forEach(
23309
- ([H, k]) => {
23310
- C.append(H, k);
23309
+ ([H, w]) => {
23310
+ C.append(H, w);
23311
23311
  }
23312
23312
  ), await this.executeOperation({
23313
23313
  operation: l,
@@ -23326,8 +23326,8 @@ class Fs {
23326
23326
  });
23327
23327
  }
23328
23328
  return new Promise((C, H) => {
23329
- const k = new FileReader();
23330
- k.readAsArrayBuffer((c == null ? void 0 : c.blob) || f), k.onload = async ($) => {
23329
+ const w = new FileReader();
23330
+ w.readAsArrayBuffer((c == null ? void 0 : c.blob) || f), w.onload = async ($) => {
23331
23331
  try {
23332
23332
  if ($.target === null) {
23333
23333
  H();
@@ -23355,7 +23355,7 @@ class Fs {
23355
23355
  } catch (_) {
23356
23356
  H(_);
23357
23357
  }
23358
- }, k.onerror = () => {
23358
+ }, w.onerror = () => {
23359
23359
  H();
23360
23360
  };
23361
23361
  });
@@ -23410,12 +23410,12 @@ class Fs {
23410
23410
  parseResponse: C = this.tryParseResponse,
23411
23411
  transactionId: H
23412
23412
  }) => {
23413
- var W, w, S, A;
23414
- const k = h && h !== "get" && !!H, $ = { ...this.getHeaders(), "Content-Type": void 0 }, _ = kv(
23413
+ var W, k, S, A;
23414
+ const w = h && h !== "get" && !!H, $ = { ...this.getHeaders(), "Content-Type": void 0 }, _ = kv(
23415
23415
  { ...f ? this.getHeaders() : $, ...b },
23416
23416
  Sv
23417
23417
  );
23418
- k && (_["x-ue-client-tx-id"] = H);
23418
+ w && (_["x-ue-client-tx-id"] = H);
23419
23419
  let O;
23420
23420
  if (g)
23421
23421
  O = g;
@@ -23445,7 +23445,7 @@ class Fs {
23445
23445
  });
23446
23446
  return await C(
23447
23447
  L,
23448
- ((w = (W = this.appContext) == null ? void 0 : W.appGlobals) == null ? void 0 : w.logRestApiErrors) ?? !1
23448
+ ((k = (W = this.appContext) == null ? void 0 : W.appGlobals) == null ? void 0 : k.logRestApiErrors) ?? !1
23449
23449
  );
23450
23450
  } catch (L) {
23451
23451
  throw B.isAxiosError(L) && L.response ? await this.raiseError(L.response) : L;
@@ -24614,7 +24614,7 @@ const Rt = {
24614
24614
  };
24615
24615
  function AF(e, t, r, o, n) {
24616
24616
  let i = t ?? "", a, l, s, c, d, u;
24617
- return k(i, o, n), {
24617
+ return w(i, o, n), {
24618
24618
  getStartPos: () => s,
24619
24619
  getTokenEnd: () => a,
24620
24620
  getToken: () => d,
@@ -24628,7 +24628,7 @@ function AF(e, t, r, o, n) {
24628
24628
  scanTrivia: g,
24629
24629
  scanText: b,
24630
24630
  getText: v,
24631
- setText: k,
24631
+ setText: w,
24632
24632
  setOnError: $,
24633
24633
  resetTokenState: _,
24634
24634
  back: O
@@ -24683,7 +24683,7 @@ function AF(e, t, r, o, n) {
24683
24683
  case Q.doubleQuote:
24684
24684
  case Q.singleQuote:
24685
24685
  case Q.backtick:
24686
- return u = w(), d = z.StringLiteral;
24686
+ return u = k(), d = z.StringLiteral;
24687
24687
  case Q.ampersand:
24688
24688
  return x(a + 1) === Q.a && x(a + 2) === Q.m && x(a + 3) === Q.p && x(a + 4) === Q.semicolon ? (a += 5, d = z.AmpersandEntity) : x(a + 1) === Q.l && x(a + 2) === Q.t && x(a + 3) === Q.semicolon ? (a += 4, d = z.LessThanEntity) : x(a + 1) === Q.g && x(a + 2) === Q.t && x(a + 3) === Q.semicolon ? (a += 4, d = z.GreaterThanEntity) : x(a + 1) === Q.q && x(a + 2) === Q.u && x(a + 3) === Q.o && x(a + 4) === Q.t && x(a + 5) === Q.semicolon ? (a += 6, d = z.DoubleQuoteEntity) : x(a + 1) === Q.a && x(a + 2) === Q.p && x(a + 3) === Q.o && x(a + 4) === Q.s && x(a + 5) === Q.semicolon ? (a += 6, d = z.SingleQuoteEntity) : (a++, S(Ku, 1), d = z.Unknown);
24689
24689
  case Q.equals:
@@ -24764,7 +24764,7 @@ function AF(e, t, r, o, n) {
24764
24764
  function H(A, B) {
24765
24765
  return A.codePointAt(B) ?? 0;
24766
24766
  }
24767
- function k(A, B, L) {
24767
+ function w(A, B, L) {
24768
24768
  i = A || "", l = L === void 0 ? i.length : B + L, _(B || 0);
24769
24769
  }
24770
24770
  function $(A) {
@@ -24787,7 +24787,7 @@ function AF(e, t, r, o, n) {
24787
24787
  function W() {
24788
24788
  return d = z.Identifier;
24789
24789
  }
24790
- function w() {
24790
+ function k() {
24791
24791
  const A = x(a);
24792
24792
  a++;
24793
24793
  let B = "", L = a;
@@ -24874,7 +24874,7 @@ function PF(e) {
24874
24874
  }
24875
24875
  function d() {
24876
24876
  for (; ; )
24877
- switch (w().kind) {
24877
+ switch (k().kind) {
24878
24878
  case z.EndOfFileToken:
24879
24879
  return A(), ug(z.ContentListNode, n.children);
24880
24880
  case z.CData:
@@ -24886,14 +24886,14 @@ function PF(e) {
24886
24886
  break;
24887
24887
  default:
24888
24888
  const P = $(zF);
24889
- k(Rt.expTagOpen, P.pos, P.end);
24889
+ w(Rt.expTagOpen, P.pos, P.end);
24890
24890
  break;
24891
24891
  }
24892
24892
  }
24893
24893
  function u() {
24894
24894
  B();
24895
24895
  e: for (; ; )
24896
- switch (w().kind) {
24896
+ switch (k().kind) {
24897
24897
  case z.TextNode:
24898
24898
  case z.StringLiteral:
24899
24899
  case z.CData:
@@ -24908,7 +24908,7 @@ function PF(e) {
24908
24908
  break e;
24909
24909
  default:
24910
24910
  const P = $(VF);
24911
- k(Rt.expTagOpen, P.pos, P.end);
24911
+ w(Rt.expTagOpen, P.pos, P.end);
24912
24912
  break;
24913
24913
  }
24914
24914
  n.children && n.children.length > 0 ? L(z.ContentListNode) : M();
@@ -24921,7 +24921,7 @@ function PF(e) {
24921
24921
  R = G.errInName, P = G.node;
24922
24922
  } else {
24923
24923
  const G = $(ls);
24924
- G ? k(Rt.expTagName, G.pos, G.end) : H(Rt.expTagName);
24924
+ G ? w(Rt.expTagName, G.pos, G.end) : H(Rt.expTagName);
24925
24925
  }
24926
24926
  switch (R || f(), W().kind) {
24927
24927
  case z.NodeClose: {
@@ -24941,7 +24941,7 @@ function PF(e) {
24941
24941
  function m() {
24942
24942
  if (B(), S(z.Identifier), O(z.Colon) && !O(z.Identifier)) {
24943
24943
  const R = L(z.TagNameNode);
24944
- return k(Rt.expTagNameAfterNamespace, R.pos, R.end), $([z.Identifier, ...ls]), { node: R, errInName: !0 };
24944
+ return w(Rt.expTagNameAfterNamespace, R.pos, R.end), $([z.Identifier, ...ls]), { node: R, errInName: !0 };
24945
24945
  } else
24946
24946
  return { node: L(z.TagNameNode), errInName: !1 };
24947
24947
  }
@@ -24968,12 +24968,12 @@ function PF(e) {
24968
24968
  b(R);
24969
24969
  else {
24970
24970
  const P = $(dg);
24971
- P ? (k(Rt.expAttrName, P.pos, P.end), L(z.AttributeNode)) : (M(), H(Rt.expAttrName));
24971
+ P ? (w(Rt.expAttrName, P.pos, P.end), L(z.AttributeNode)) : (M(), H(Rt.expAttrName));
24972
24972
  return;
24973
24973
  }
24974
24974
  if (O(z.Equal) && !O(z.StringLiteral)) {
24975
24975
  const P = $(dg);
24976
- P ? k(Rt.expAttrStr, P.pos, P.end) : H(Rt.expAttrStr);
24976
+ P ? w(Rt.expAttrStr, P.pos, P.end) : H(Rt.expAttrStr);
24977
24977
  }
24978
24978
  L(z.AttributeNode);
24979
24979
  }
@@ -24988,7 +24988,7 @@ function PF(e) {
24988
24988
  z.Identifier,
24989
24989
  ...ls
24990
24990
  ]);
24991
- X ? k(Rt.expAttrNameAfterNamespace, X.pos, X.end) : H(Rt.expAttrNameAfterNamespace);
24991
+ X ? w(Rt.expAttrNameAfterNamespace, X.pos, X.end) : H(Rt.expAttrNameAfterNamespace);
24992
24992
  }
24993
24993
  C(R, { nsIdent: G, nameIdent: P }), L(z.AttributeKeyNode);
24994
24994
  }
@@ -24998,15 +24998,15 @@ function PF(e) {
24998
24998
  const G = x();
24999
24999
  if (!P && R !== null && !kF(R, G, c)) {
25000
25000
  const Z = Rt.tagNameMismatch(c(R), c(G));
25001
- k(Z, G.pos, G.end);
25001
+ w(Z, G.pos, G.end);
25002
25002
  }
25003
25003
  } else {
25004
25004
  const G = $(FF);
25005
- G ? k(Rt.expTagName, G.pos, G.end) : H(Rt.expTagName);
25005
+ G ? w(Rt.expTagName, G.pos, G.end) : H(Rt.expTagName);
25006
25006
  }
25007
25007
  O(z.NodeEnd) || H(Rt.expEnd);
25008
25008
  } else
25009
- R ? k(
25009
+ R ? w(
25010
25010
  Rt.expCloseStartWithName(c(R)),
25011
25011
  R.pos,
25012
25012
  R.end
@@ -25015,13 +25015,13 @@ function PF(e) {
25015
25015
  function x() {
25016
25016
  if (B(), S(z.Identifier), O(z.Colon) && !O(z.Identifier)) {
25017
25017
  const R = L(z.TagNameNode);
25018
- return k(Rt.expTagNameAfterNamespace, R.pos, R.end), $(ls), R;
25018
+ return w(Rt.expTagNameAfterNamespace, R.pos, R.end), $(ls), R;
25019
25019
  } else
25020
25020
  return L(z.TagNameNode);
25021
25021
  }
25022
25022
  function C(R, { nameIdent: P, nsIdent: G }) {
25023
25023
  const X = c(P), Z = G && c(G), N = ({ ns: re, name: Te }) => Te === X && re === Z, V = R.findIndex(N) !== -1, j = "A" <= X[0] && X[0] <= "Z", J = V || j;
25024
- V && k(Rt.duplAttr(X), P.pos, P.end), !G && j && k(Rt.uppercaseAttr(X), P.pos, P.end), J || R.push({ name: X, ns: Z });
25024
+ V && w(Rt.duplAttr(X), P.pos, P.end), !G && j && w(Rt.uppercaseAttr(X), P.pos, P.end), J || R.push({ name: X, ns: Z });
25025
25025
  }
25026
25026
  function H({ code: R, message: P, category: G }) {
25027
25027
  const { pos: X, end: Z } = W();
@@ -25033,7 +25033,7 @@ function PF(e) {
25033
25033
  end: Z
25034
25034
  });
25035
25035
  }
25036
- function k({ code: R, message: P, category: G }, X, Z) {
25036
+ function w({ code: R, message: P, category: G }, X, Z) {
25037
25037
  t.push({
25038
25038
  category: G,
25039
25039
  code: R,
@@ -25059,7 +25059,7 @@ function PF(e) {
25059
25059
  function W(R = !1) {
25060
25060
  return o !== void 0 || (o = K(R)), o;
25061
25061
  }
25062
- function w() {
25062
+ function k() {
25063
25063
  const R = W(!0);
25064
25064
  if (R.kind === z.EndOfFileToken || R.kind === z.OpenNodeStart || R.kind === z.Script || R.kind === z.CData || R.kind === z.CloseNodeStart)
25065
25065
  return R;
@@ -25139,7 +25139,7 @@ function PF(e) {
25139
25139
  if (G = [], R && Z.code === ld.invalidChar)
25140
25140
  return i = void 0, new Si(P, N, l.getTokenEnd(), V);
25141
25141
  const j = N + i.prefixLength, J = new Si(P, N, j, V);
25142
- return l.resetTokenState(j), B(), n.children.push(J), k(Z, N, j), L(z.ErrorNode), i = void 0, K(R);
25142
+ return l.resetTokenState(j), B(), n.children.push(J), w(Z, N, j), L(z.ErrorNode), i = void 0, K(R);
25143
25143
  }
25144
25144
  switch (P) {
25145
25145
  case z.CommentTrivia:
@@ -25211,7 +25211,7 @@ function jF(e, t) {
25211
25211
  return o[a] = u, null;
25212
25212
  return m;
25213
25213
  function f(g, b, ...v) {
25214
- var C, H, k;
25214
+ var C, H, w;
25215
25215
  let x = kc[g];
25216
25216
  v && v.forEach(
25217
25217
  ($, _) => x = x.replaceAll(`{${_}}`, v[_].toString())
@@ -25220,7 +25220,7 @@ function jF(e, t) {
25220
25220
  text: kc[g].replace(/\{(\d+)}/g, ($, _) => v[_]),
25221
25221
  position: (C = b.startToken) == null ? void 0 : C.startPosition,
25222
25222
  line: (H = b.startToken) == null ? void 0 : H.startLine,
25223
- column: (k = b.startToken) == null ? void 0 : k.startColumn
25223
+ column: (w = b.startToken) == null ? void 0 : w.startColumn
25224
25224
  });
25225
25225
  }
25226
25226
  }
@@ -25340,41 +25340,27 @@ const UF = {
25340
25340
  };
25341
25341
  let QF = 0;
25342
25342
  function eM(e, t, r) {
25343
- const o = (w) => w.text ?? t(w), n = oM(e), i = H(n), a = [], l = [];
25343
+ const o = (k) => k.text ?? t(k), n = oM(e), i = H(n), a = [], l = [];
25344
25344
  return s(a, i);
25345
- function s(w, S) {
25345
+ function s(k, S) {
25346
25346
  const A = vg(S, o, l);
25347
25347
  if (A === pg)
25348
25348
  return d(S);
25349
25349
  let B = {
25350
- type: A,
25351
- debug: {
25352
- source: {
25353
- start: S.start,
25354
- end: S.end,
25355
- fileId: r
25356
- }
25357
- }
25350
+ type: A
25358
25351
  };
25359
- return u(w, B, S), B;
25352
+ return u(k, B, S), B;
25360
25353
  }
25361
- function c(w, S) {
25354
+ function c(k, S) {
25362
25355
  const A = vg(S, o, l);
25363
25356
  A === pg && Ye("T006");
25364
25357
  let B = {
25365
- type: A,
25366
- debug: {
25367
- source: {
25368
- start: S.start,
25369
- end: S.end,
25370
- fileId: r
25371
- }
25372
- }
25358
+ type: A
25373
25359
  };
25374
- return u(w, B, S), B;
25360
+ return u(k, B, S), B;
25375
25361
  }
25376
- function d(w) {
25377
- const S = Pa(w).map(x), A = S.find((re) => re.name === "name");
25362
+ function d(k) {
25363
+ const S = Pa(k).map(x), A = S.find((re) => re.name === "name");
25378
25364
  A || Ye("T003"), Yu.test(A.value) || Ye("T004");
25379
25365
  const B = S.find((re) => re.name === "codeBehind");
25380
25366
  let L;
@@ -25387,7 +25373,7 @@ function eM(e, t, r) {
25387
25373
  R.length > 0 && (M = {}, R.forEach((re) => {
25388
25374
  M[re.name] = re.value;
25389
25375
  }));
25390
- const P = Da(w), G = P.filter(
25376
+ const P = Da(k), G = P.filter(
25391
25377
  (re) => re.kind === z.ElementNode && !(Dn(re, o) in ci)
25392
25378
  );
25393
25379
  G.length === 0 && G.push(hg(""));
@@ -25405,26 +25391,13 @@ function eM(e, t, r) {
25405
25391
  l.pop();
25406
25392
  const j = {
25407
25393
  name: A.value,
25408
- component: V,
25409
- debug: {
25410
- source: {
25411
- start: w.start,
25412
- end: w.end,
25413
- fileId: r
25414
- }
25415
- }
25416
- };
25417
- L && (j.api = L), M && (V.vars = { ...V.vars, ...M }), B && (j.codeBehind = B.value), V.debug = {
25418
- source: {
25419
- start: N.start,
25420
- end: N.end,
25421
- fileId: r
25422
- }
25394
+ component: V
25423
25395
  };
25424
- const J = gg(w, X);
25396
+ L && (j.api = L), M && (V.vars = { ...V.vars, ...M }), B && (j.codeBehind = B.value);
25397
+ const J = gg(k, X);
25425
25398
  return u(a, j, J), j;
25426
25399
  }
25427
- function u(w, S, A) {
25400
+ function u(k, S, A) {
25428
25401
  var P;
25429
25402
  const B = !Xo(S), L = Pa(A);
25430
25403
  if (l.push(/* @__PURE__ */ new Map()), L.forEach((G) => {
@@ -25447,14 +25420,14 @@ function eM(e, t, r) {
25447
25420
  const X = Dn(G, o);
25448
25421
  if (!(B && G.kind === z.ElementNode && !(X in ci))) {
25449
25422
  if (!(X in ci) && !B) {
25450
- const Z = c(w, G);
25423
+ const Z = c(k, G);
25451
25424
  Z && (S.children ? typeof S.children == "string" ? S.children = [S.children, Z] : Array.isArray(S.children) && S.children.push(Z) : S.children = [Z]);
25452
25425
  return;
25453
25426
  }
25454
25427
  switch (X) {
25455
25428
  case "property":
25456
25429
  b(
25457
- w,
25430
+ k,
25458
25431
  S,
25459
25432
  G,
25460
25433
  (Z) => {
@@ -25468,7 +25441,7 @@ function eM(e, t, r) {
25468
25441
  return;
25469
25442
  case "event":
25470
25443
  b(
25471
- w,
25444
+ k,
25472
25445
  S,
25473
25446
  G,
25474
25447
  (Z) => {
@@ -25485,7 +25458,7 @@ function eM(e, t, r) {
25485
25458
  return;
25486
25459
  case ci.variable:
25487
25460
  b(
25488
- w,
25461
+ k,
25489
25462
  S,
25490
25463
  G,
25491
25464
  (Z) => {
@@ -25498,14 +25471,14 @@ function eM(e, t, r) {
25498
25471
  );
25499
25472
  return;
25500
25473
  case "loaders":
25501
- g(w, S, G);
25474
+ g(k, S, G);
25502
25475
  return;
25503
25476
  case "uses":
25504
25477
  v(S, G);
25505
25478
  return;
25506
25479
  case "method":
25507
25480
  b(
25508
- w,
25481
+ k,
25509
25482
  S,
25510
25483
  G,
25511
25484
  (Z) => {
@@ -25533,11 +25506,11 @@ function eM(e, t, r) {
25533
25506
  const R = ((P = S.scriptCollected) == null ? void 0 : P.moduleErrors) ?? {};
25534
25507
  Object.keys(R).length > 0 && (S.scriptError = R);
25535
25508
  }
25536
- function h(w, S) {
25509
+ function h(k, S) {
25537
25510
  const { namespace: A, startSegment: B, name: L, value: K, unsegmentedName: M } = x(S);
25538
25511
  if (A === "xmlns")
25539
- return bg(l, w, M, K);
25540
- if (!Xo(w)) {
25512
+ return bg(l, k, M, K);
25513
+ if (!Xo(k)) {
25541
25514
  if (B && B !== "method" && B !== "var") {
25542
25515
  Ye("T021");
25543
25516
  return;
@@ -25549,31 +25522,31 @@ function eM(e, t, r) {
25549
25522
  }
25550
25523
  switch (L) {
25551
25524
  case "id":
25552
- w.uid = K;
25525
+ k.uid = K;
25553
25526
  return;
25554
25527
  case "testId":
25555
- w.testId = K;
25528
+ k.testId = K;
25556
25529
  return;
25557
25530
  case "when":
25558
- w.when = K;
25531
+ k.when = K;
25559
25532
  return;
25560
25533
  default:
25561
25534
  if (B === "var")
25562
- w.vars ?? (w.vars = {}), w.vars[L] = K;
25535
+ k.vars ?? (k.vars = {}), k.vars[L] = K;
25563
25536
  else if (B === "method")
25564
- w.api ?? (w.api = {}), w.api[L] = K;
25537
+ k.api ?? (k.api = {}), k.api[L] = K;
25565
25538
  else if (B === "event")
25566
- w.events ?? (w.events = {}), w.events[L] = W(K);
25539
+ k.events ?? (k.events = {}), k.events[L] = W(K);
25567
25540
  else if (mg.test(L)) {
25568
- w.events ?? (w.events = {});
25541
+ k.events ?? (k.events = {});
25569
25542
  const P = L[2].toLowerCase() + L.substring(3);
25570
- w.events[P] = W(K);
25543
+ k.events[P] = W(K);
25571
25544
  } else
25572
- w.props ?? (w.props = {}), w.props[L] = K;
25545
+ k.props ?? (k.props = {}), k.props[L] = K;
25573
25546
  return;
25574
25547
  }
25575
25548
  }
25576
- function m(w, S) {
25549
+ function m(k, S) {
25577
25550
  let A = null;
25578
25551
  if (!S) return A;
25579
25552
  let B = null;
@@ -25603,13 +25576,13 @@ function eM(e, t, r) {
25603
25576
  return;
25604
25577
  }
25605
25578
  }
25606
- let M = f(w, L, K === "field");
25579
+ let M = f(k, L, K === "field");
25607
25580
  if (!M)
25608
25581
  return null;
25609
25582
  B === "field" ? A[M.name] = M.value : A.push(M.value);
25610
25583
  }), A;
25611
25584
  }
25612
- function f(w, S, A = !0) {
25585
+ function f(k, S, A = !0) {
25613
25586
  const B = Dn(S, o), L = Da(S), K = L.filter(
25614
25587
  (V) => V.kind === z.ElementNode && Yu.test(Dn(V, o))
25615
25588
  ), M = L.filter(
@@ -25629,16 +25602,16 @@ function eM(e, t, r) {
25629
25602
  if (X && K.length >= 1) {
25630
25603
  if (M.length > 0)
25631
25604
  return Ye("T020"), null;
25632
- const V = K.map((j) => c(w, j));
25605
+ const V = K.map((j) => c(k, j));
25633
25606
  return {
25634
25607
  name: X,
25635
25608
  value: V.length === 1 ? V[0] : V
25636
25609
  };
25637
25610
  }
25638
25611
  let N = Z == null ? void 0 : Z.value;
25639
- return N === null ? null : typeof N == "string" ? { name: X, value: N } : { name: X, value: m(w, L) };
25612
+ return N === null ? null : typeof N == "string" ? { name: X, value: N } : { name: X, value: m(k, L) };
25640
25613
  }
25641
- function g(w, S, A) {
25614
+ function g(k, S, A) {
25642
25615
  var K;
25643
25616
  if (!Xo(S)) {
25644
25617
  Ye("T009", "loaders");
@@ -25654,7 +25627,7 @@ function eM(e, t, r) {
25654
25627
  Ye("T010", "loader");
25655
25628
  return;
25656
25629
  }
25657
- const R = c(w, M);
25630
+ const R = c(k, M);
25658
25631
  if (!R.uid) {
25659
25632
  Ye("T013");
25660
25633
  return;
@@ -25674,8 +25647,8 @@ function eM(e, t, r) {
25674
25647
  S.loaders ?? (S.loaders = []), S.loaders.push(R);
25675
25648
  });
25676
25649
  }
25677
- function b(w, S, A, B, L, K) {
25678
- const M = f(w, A);
25650
+ function b(k, S, A, B, L, K) {
25651
+ const M = f(k, A);
25679
25652
  if (!M)
25680
25653
  return;
25681
25654
  K == null || K((M == null ? void 0 : M.name) ?? "");
@@ -25683,13 +25656,13 @@ function eM(e, t, r) {
25683
25656
  if ((M == null ? void 0 : M.value) !== void 0)
25684
25657
  L(R, tc(B(R), P));
25685
25658
  else {
25686
- const G = Da(A), X = m(w, G);
25659
+ const G = Da(A), X = m(k, G);
25687
25660
  let Z = B(R);
25688
25661
  Z = tc(Z, X), L(R, Z);
25689
25662
  }
25690
25663
  }
25691
- function v(w, S) {
25692
- if (!Xo(w)) {
25664
+ function v(k, S) {
25665
+ if (!Xo(k)) {
25693
25666
  Ye("T009", "uses");
25694
25667
  return;
25695
25668
  }
@@ -25698,29 +25671,29 @@ function eM(e, t, r) {
25698
25671
  Ye("T015", "uses");
25699
25672
  return;
25700
25673
  }
25701
- w.uses ?? (w.uses = B.value.split(",").map((L) => L.trim()));
25674
+ k.uses ?? (k.uses = B.value.split(",").map((L) => L.trim()));
25702
25675
  }
25703
- function x(w) {
25704
- let S = w.children[0];
25676
+ function x(k) {
25677
+ let S = k.children[0];
25705
25678
  const A = S.children.length === 3;
25706
25679
  let B;
25707
25680
  A && (B = o(S.children[0]));
25708
25681
  let L = o(S.children[S.children.length - 1]);
25709
25682
  const K = L.split(".");
25710
- K.length > 2 && Ye("T007", w, S);
25683
+ K.length > 2 && Ye("T007", k, S);
25711
25684
  let M, R;
25712
- K.length === 2 ? (R = K[0], M = K[1], M.trim() === "" && Ye("T007", w, M)) : M = L;
25713
- const P = o(w.children[2]), G = P.substring(1, P.length - 1);
25685
+ K.length === 2 ? (R = K[0], M = K[1], M.trim() === "" && Ye("T007", k, M)) : M = L;
25686
+ const P = o(k.children[2]), G = P.substring(1, P.length - 1);
25714
25687
  return { namespace: B, startSegment: R, name: M, value: G, unsegmentedName: L };
25715
25688
  }
25716
- function C(w) {
25717
- for (let S of w) {
25689
+ function C(k) {
25690
+ for (let S of k) {
25718
25691
  const A = S.children[S.children.length - 1], B = O(o(A));
25719
25692
  B !== null && (A.text = B);
25720
25693
  }
25721
25694
  }
25722
- function H(w) {
25723
- const S = Da(w), A = Dn(w, o), L = !(A in ci) || A === "property", K = A !== "event" && A !== "method", M = Pa(w);
25695
+ function H(k) {
25696
+ const S = Da(k), A = Dn(k, o), L = !(A in ci) || A === "property", K = A !== "event" && A !== "method", M = Pa(k);
25724
25697
  rM(M), C(M), _(S), E(S, K);
25725
25698
  let R = !1, P = !1;
25726
25699
  for (let N = 0; N < S.length; ++N) {
@@ -25754,97 +25727,97 @@ function eM(e, t, r) {
25754
25727
  }
25755
25728
  if (P && Z) {
25756
25729
  const N = fg(X);
25757
- return G.push(N), gg(w, G);
25730
+ return G.push(N), gg(k, G);
25758
25731
  }
25759
- return w;
25732
+ return k;
25760
25733
  }
25761
- function k(w) {
25762
- for (let S = 0; S < w.length; ++S)
25763
- if (w[S].kind === z.StringLiteral || w[S].kind === z.TextNode) {
25734
+ function w(k) {
25735
+ for (let S = 0; S < k.length; ++S)
25736
+ if (k[S].kind === z.StringLiteral || k[S].kind === z.TextNode) {
25764
25737
  const A = /[\f\n\r\t\v\u0020\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/g;
25765
- w[S].text = o(w[S]).replace(
25738
+ k[S].text = o(k[S]).replace(
25766
25739
  A,
25767
25740
  " "
25768
25741
  );
25769
25742
  }
25770
25743
  }
25771
- function $(w) {
25772
- for (let S = 0; S < w.length; ++S)
25773
- w[S].kind === z.CData && (w[S].text = o(w[S]).slice(ZF, -3));
25744
+ function $(k) {
25745
+ for (let S = 0; S < k.length; ++S)
25746
+ k[S].kind === z.CData && (k[S].text = o(k[S]).slice(ZF, -3));
25774
25747
  }
25775
- function _(w) {
25776
- for (let S of w)
25748
+ function _(k) {
25749
+ for (let S of k)
25777
25750
  if (S.kind === z.StringLiteral || S.kind === z.TextNode) {
25778
25751
  const A = O(o(S));
25779
25752
  A !== null && (S.text = A);
25780
25753
  }
25781
25754
  }
25782
- function O(w) {
25755
+ function O(k) {
25783
25756
  let S = "", A = 0;
25784
- for (let B = 0; B < w.length; ++B)
25785
- if (w.charCodeAt(B) === Q.ampersand)
25786
- switch (w.charCodeAt(B + 1)) {
25757
+ for (let B = 0; B < k.length; ++B)
25758
+ if (k.charCodeAt(B) === Q.ampersand)
25759
+ switch (k.charCodeAt(B + 1)) {
25787
25760
  case Q.a:
25788
- switch (w.charCodeAt(B + 2)) {
25761
+ switch (k.charCodeAt(B + 2)) {
25789
25762
  case Q.m:
25790
- w.charCodeAt(B + 3) === Q.p && w.charCodeAt(B + 4) === Q.semicolon && (S = S + w.substring(A, B) + "&", B += 4, A = B + 1);
25763
+ k.charCodeAt(B + 3) === Q.p && k.charCodeAt(B + 4) === Q.semicolon && (S = S + k.substring(A, B) + "&", B += 4, A = B + 1);
25791
25764
  break;
25792
25765
  case Q.p:
25793
- w.charCodeAt(B + 3) === Q.o && w.charCodeAt(B + 4) === Q.s && w.charCodeAt(B + 5) === Q.semicolon && (S = S + w.substring(A, B) + "'", B += 5, A = B + 1);
25766
+ k.charCodeAt(B + 3) === Q.o && k.charCodeAt(B + 4) === Q.s && k.charCodeAt(B + 5) === Q.semicolon && (S = S + k.substring(A, B) + "'", B += 5, A = B + 1);
25794
25767
  break;
25795
25768
  }
25796
25769
  break;
25797
25770
  case Q.g:
25798
- w.charCodeAt(B + 2) === Q.t && w.charCodeAt(B + 3) === Q.semicolon && (S = S + w.substring(A, B) + ">", B += 3, A = B + 1);
25771
+ k.charCodeAt(B + 2) === Q.t && k.charCodeAt(B + 3) === Q.semicolon && (S = S + k.substring(A, B) + ">", B += 3, A = B + 1);
25799
25772
  break;
25800
25773
  case Q.l:
25801
- w.charCodeAt(B + 2) === Q.t && w.charCodeAt(B + 3) === Q.semicolon && (S = S + w.substring(A, B) + "<", B += 3, A = B + 1);
25774
+ k.charCodeAt(B + 2) === Q.t && k.charCodeAt(B + 3) === Q.semicolon && (S = S + k.substring(A, B) + "<", B += 3, A = B + 1);
25802
25775
  break;
25803
25776
  case Q.q:
25804
- w.charCodeAt(B + 2) === Q.u && w.charCodeAt(B + 3) === Q.o && w.charCodeAt(B + 4) === Q.t && w.charCodeAt(B + 5) === Q.semicolon && (S = S + w.substring(A, B) + '"', B += 5, A = B + 1);
25777
+ k.charCodeAt(B + 2) === Q.u && k.charCodeAt(B + 3) === Q.o && k.charCodeAt(B + 4) === Q.t && k.charCodeAt(B + 5) === Q.semicolon && (S = S + k.substring(A, B) + '"', B += 5, A = B + 1);
25805
25778
  break;
25806
25779
  case Q.n:
25807
- w.charCodeAt(B + 2) === Q.b && w.charCodeAt(B + 3) === Q.s && w.charCodeAt(B + 4) === Q.p && w.charCodeAt(B + 5) === Q.semicolon && (S = S + w.substring(A, B) + " ", B += 5, A = B + 1);
25780
+ k.charCodeAt(B + 2) === Q.b && k.charCodeAt(B + 3) === Q.s && k.charCodeAt(B + 4) === Q.p && k.charCodeAt(B + 5) === Q.semicolon && (S = S + k.substring(A, B) + " ", B += 5, A = B + 1);
25808
25781
  break;
25809
25782
  }
25810
- return A === 0 ? null : (S += w.substring(A), S);
25783
+ return A === 0 ? null : (S += k.substring(A), S);
25811
25784
  }
25812
- function E(w, S) {
25813
- S && k(w), $(w);
25814
- for (let A = w.length - 1; A > 0; --A) {
25815
- const B = w[A - 1], L = w[A];
25816
- B.kind === z.StringLiteral && L.kind === z.CData ? (w[A - 1] = {
25785
+ function E(k, S) {
25786
+ S && w(k), $(k);
25787
+ for (let A = k.length - 1; A > 0; --A) {
25788
+ const B = k[A - 1], L = k[A];
25789
+ B.kind === z.StringLiteral && L.kind === z.CData ? (k[A - 1] = {
25817
25790
  kind: z.CData,
25818
25791
  text: o(B).slice(1, -1) + o(L)
25819
- }, w.pop()) : B.kind === z.CData && L.kind === z.StringLiteral ? (w[A - 1] = {
25792
+ }, k.pop()) : B.kind === z.CData && L.kind === z.StringLiteral ? (k[A - 1] = {
25820
25793
  kind: z.CData,
25821
25794
  text: o(B) + o(L).slice(1, -1)
25822
- }, w.pop()) : B.kind === z.CData && L.kind === z.TextNode ? (w[A - 1] = {
25795
+ }, k.pop()) : B.kind === z.CData && L.kind === z.TextNode ? (k[A - 1] = {
25823
25796
  kind: z.CData,
25824
25797
  text: o(B) + o(L)
25825
- }, w.pop()) : B.kind === z.CData && L.kind === z.CData ? (w[A - 1] = {
25798
+ }, k.pop()) : B.kind === z.CData && L.kind === z.CData ? (k[A - 1] = {
25826
25799
  kind: z.CData,
25827
25800
  text: o(B) + o(L)
25828
- }, w.pop()) : B.kind === z.TextNode && L.kind === z.TextNode ? (o(B).endsWith(" ") && o(L).startsWith(" ") && (B.text = o(B).trimEnd()), w[A - 1] = {
25801
+ }, k.pop()) : B.kind === z.TextNode && L.kind === z.TextNode ? (o(B).endsWith(" ") && o(L).startsWith(" ") && (B.text = o(B).trimEnd()), k[A - 1] = {
25829
25802
  kind: z.TextNode,
25830
25803
  text: o(B) + o(L)
25831
- }, w.pop()) : B.kind === z.TextNode && L.kind === z.CData && (w[A - 1] = {
25804
+ }, k.pop()) : B.kind === z.TextNode && L.kind === z.CData && (k[A - 1] = {
25832
25805
  kind: z.CData,
25833
25806
  text: o(B) + o(L)
25834
- }, w.pop());
25807
+ }, k.pop());
25835
25808
  }
25836
25809
  }
25837
- function W(w) {
25838
- if (typeof w != "string")
25839
- return w;
25840
- const S = new Bl(w);
25810
+ function W(k) {
25811
+ if (typeof k != "string")
25812
+ return k;
25813
+ const S = new Bl(k);
25841
25814
  try {
25842
25815
  return {
25843
25816
  __PARSED: !0,
25844
25817
  statements: S.parseStatements(),
25845
25818
  parseId: ++QF,
25846
25819
  // TODO: retrieve the event source code only in dev mode
25847
- source: w
25820
+ source: k
25848
25821
  };
25849
25822
  } catch {
25850
25823
  if (S.errors.length > 0) {
@@ -26047,7 +26020,7 @@ function sm(e, t = 0) {
26047
26020
  return { component: null, errors: l, erroneousCompoundComponentName: s };
26048
26021
  }
26049
26022
  try {
26050
- return { component: eM(n, o, t), errors: [] };
26023
+ return { component: eM(n, o), errors: [] };
26051
26024
  } catch (a) {
26052
26025
  const l = yg(n, o), s = {
26053
26026
  message: a.message,
@@ -26719,14 +26692,14 @@ async function oC({ state: e, appContext: t, lookupAction: r, getCurrentState: o
26719
26692
  completedNotificationMessage: x,
26720
26693
  errorNotificationMessage: C,
26721
26694
  uid: H,
26722
- onProgress: k,
26695
+ onProgress: w,
26723
26696
  //operation
26724
26697
  headers: $,
26725
26698
  url: _,
26726
26699
  queryParams: O,
26727
26700
  rawBody: E,
26728
26701
  method: W,
26729
- body: w
26702
+ body: k
26730
26703
  }, { resolveBindingExpressions: S } = {}) {
26731
26704
  const A = typeof H == "symbol" ? H : Symbol(H), B = { ...e, ...l };
26732
26705
  if (!mh(g, B, t))
@@ -26764,9 +26737,9 @@ async function oC({ state: e, appContext: t, lookupAction: r, getCurrentState: o
26764
26737
  queryParams: O,
26765
26738
  rawBody: E,
26766
26739
  method: W,
26767
- body: w,
26740
+ body: k,
26768
26741
  payloadType: f
26769
- }, V = r(k, A, {
26742
+ }, V = r(w, A, {
26770
26743
  eventName: "progress"
26771
26744
  }), j = await new Fs(t).execute({
26772
26745
  operation: N,
@@ -26872,7 +26845,7 @@ async function kM({ appContext: e, state: t, lookupAction: r, uid: o }, {
26872
26845
  chunkSizeInBytes: b,
26873
26846
  onProgress: v
26874
26847
  }, { resolveBindingExpressions: x } = {}) {
26875
- const C = { ...n, ...t }, H = new Fs(e), k = {
26848
+ const C = { ...n, ...t }, H = new Fs(e), w = {
26876
26849
  file: c,
26877
26850
  body: g,
26878
26851
  asForm: s,
@@ -26888,10 +26861,10 @@ async function kM({ appContext: e, state: t, lookupAction: r, uid: o }, {
26888
26861
  const _ = We(C, b, e), O = We(C, v, e);
26889
26862
  if (_ !== void 0) {
26890
26863
  const E = We(C, c, e), W = Math.ceil(E.size / _);
26891
- for (let w = 0; w < W; w++) {
26892
- const S = w * _, A = Math.min(S + _, E.size), B = E.slice(S, A);
26864
+ for (let k = 0; k < W; k++) {
26865
+ const S = k * _, A = Math.min(S + _, E.size), B = E.slice(S, A);
26893
26866
  $ = await H.upload({
26894
- operation: k,
26867
+ operation: w,
26895
26868
  chunk: {
26896
26869
  blob: B,
26897
26870
  chunkStart: S,
@@ -26911,7 +26884,7 @@ async function kM({ appContext: e, state: t, lookupAction: r, uid: o }, {
26911
26884
  }
26912
26885
  } else
26913
26886
  $ = await H.upload({
26914
- operation: k,
26887
+ operation: w,
26915
26888
  params: C,
26916
26889
  onUploadProgress: O,
26917
26890
  resolveBindingExpressions: x
@@ -26958,7 +26931,7 @@ function vu({
26958
26931
  transformResult: u,
26959
26932
  structuralSharing: h = !0
26960
26933
  }) {
26961
- const { uid: m } = t, f = Jt(), { initialized: g } = xh(), { data: b, status: v, isFetching: x, isLoading: C, error: H, refetch: k, isRefetching: $ } = j3({
26934
+ const { uid: m } = t, f = Jt(), { initialized: g } = xh(), { data: b, status: v, isFetching: x, isLoading: C, error: H, refetch: w, isRefetching: $ } = j3({
26962
26935
  queryKey: U(
26963
26936
  () => o || [m, We(e, t.props, f)],
26964
26937
  [f, t.props, o, e, m]
@@ -26980,10 +26953,10 @@ function vu({
26980
26953
  select: q(
26981
26954
  (E) => {
26982
26955
  let W = E;
26983
- const w = t.props.resultSelector;
26984
- return w && (W = We(
26956
+ const k = t.props.resultSelector;
26957
+ return k && (W = We(
26985
26958
  { $response: E },
26986
- w.startsWith("{") ? w : `{$response.${w}}`
26959
+ k.startsWith("{") ? k : `{$response.${k}}`
26987
26960
  )), u ? u(W) : W;
26988
26961
  },
26989
26962
  [t.props.resultSelector, u]
@@ -26993,11 +26966,11 @@ function vu({
26993
26966
  Y(() => {
26994
26967
  let E;
26995
26968
  return n && (E = setInterval(() => {
26996
- k();
26969
+ w();
26997
26970
  }, n * 1e3)), () => {
26998
26971
  E && clearInterval(E);
26999
26972
  };
27000
- }, [n, k]);
26973
+ }, [n, w]);
27001
26974
  const _ = Kn(b), O = Kn(H);
27002
26975
  return Lt(() => {
27003
26976
  s(x || C);
@@ -27012,14 +26985,14 @@ function vu({
27012
26985
  }, [l, m]), Y(() => {
27013
26986
  i == null || i({
27014
26987
  refetch: async (E) => {
27015
- k(E);
26988
+ w(E);
27016
26989
  },
27017
26990
  update: async (E) => {
27018
26991
  var B, L;
27019
26992
  const W = (B = f.queryClient) == null ? void 0 : B.getQueryData(o);
27020
26993
  if (!W)
27021
26994
  return;
27022
- const w = kl(W), A = await E(w) || Sl(w);
26995
+ const k = kl(W), A = await E(k) || Sl(k);
27023
26996
  if (W.length !== A.length)
27024
26997
  throw new Error(
27025
26998
  "Use this method for update only. If you want to add or delete, call the addItem/deleteItem method."
@@ -27028,7 +27001,7 @@ function vu({
27028
27001
  },
27029
27002
  addItem: async (E, W) => {
27030
27003
  var B, L;
27031
- const w = (B = f.queryClient) == null ? void 0 : B.getQueryData(o), S = kl(w);
27004
+ const k = (B = f.queryClient) == null ? void 0 : B.getQueryData(o), S = kl(k);
27032
27005
  W === void 0 ? S.push(E) : S.splice(W, 0, E);
27033
27006
  const A = Sl(S);
27034
27007
  (L = f.queryClient) == null || L.setQueryData(o, A);
@@ -27038,7 +27011,7 @@ function vu({
27038
27011
  throw new Error("not implemented");
27039
27012
  }
27040
27013
  });
27041
- }, [f.queryClient, o, k, i, b]), null;
27014
+ }, [f.queryClient, o, w, i, b]), null;
27042
27015
  }
27043
27016
  function BM({
27044
27017
  loader: e,
@@ -27246,13 +27219,13 @@ function VM({
27246
27219
  ), {
27247
27220
  data: C,
27248
27221
  status: H,
27249
- error: k,
27222
+ error: w,
27250
27223
  hasNextPage: $,
27251
27224
  isFetchingNextPage: _,
27252
27225
  hasPreviousPage: O,
27253
27226
  isFetchingPreviousPage: E,
27254
27227
  isFetching: W,
27255
- refetch: w,
27228
+ refetch: k,
27256
27229
  fetchPreviousPage: S,
27257
27230
  fetchNextPage: A,
27258
27231
  isRefetching: B
@@ -27287,7 +27260,7 @@ function VM({
27287
27260
  })), c(void 0, void 0);
27288
27261
  };
27289
27262
  }, [f.queryClient, c, m]);
27290
- const L = Kn(C), K = Kn(k);
27263
+ const L = Kn(C), K = Kn(w);
27291
27264
  ro(() => {
27292
27265
  l(W);
27293
27266
  }, [W, l]), ro(() => {
@@ -27302,10 +27275,10 @@ function VM({
27302
27275
  ro(() => {
27303
27276
  H === "success" && (L !== C || R !== M) ? (c(C, M), setTimeout(() => {
27304
27277
  a == null || a(C, B);
27305
- }, 0)) : H === "error" && K !== k && d(k);
27278
+ }, 0)) : H === "error" && K !== w && d(w);
27306
27279
  }, [
27307
27280
  C,
27308
- k,
27281
+ w,
27309
27282
  d,
27310
27283
  c,
27311
27284
  a,
@@ -27317,18 +27290,18 @@ function VM({
27317
27290
  ]), Y(() => {
27318
27291
  let X;
27319
27292
  return i && (X = setInterval(() => {
27320
- w();
27293
+ k();
27321
27294
  }, i * 1e3)), () => {
27322
27295
  X && clearInterval(X);
27323
27296
  };
27324
- }, [i, w]);
27297
+ }, [i, k]);
27325
27298
  const P = q(() => S(), [S]), G = q(() => A(), [A]);
27326
27299
  return Y(() => {
27327
27300
  n({
27328
27301
  fetchPrevPage: P,
27329
27302
  fetchNextPage: G,
27330
27303
  refetch: async (X) => {
27331
- w(X);
27304
+ k(X);
27332
27305
  },
27333
27306
  update: async (X) => {
27334
27307
  var re, Te;
@@ -27369,7 +27342,7 @@ function VM({
27369
27342
  t.uid,
27370
27343
  o,
27371
27344
  g,
27372
- w,
27345
+ k,
27373
27346
  n,
27374
27347
  G
27375
27348
  ]), null;
@@ -27387,7 +27360,7 @@ function FM({
27387
27360
  transformResult: c,
27388
27361
  structuralSharing: d = !0
27389
27362
  }) {
27390
- const u = Jt(), h = We(t, e.props.url, u), m = U(() => We(t, e.props.queryParams, u), [u, e.props.queryParams, t]), f = ur(m), g = U(() => We(t, e.props.body, u), [u, e.props.body, t]), b = ur(g), v = U(() => We(t, e.props.rawBody, u), [u, e.props.rawBody, t]), x = ur(v), H = U(() => e.props.prevPageSelector && e.props.nextPageSelector ? "BIDIRECTIONAL" : e.props.prevPageSelector ? "BACKWARD" : e.props.nextPageSelector ? "FORWARD" : null, [e.props.nextPageSelector, e.props.prevPageSelector]) !== null, k = U(() => new Fs(u), [u]), $ = q(
27363
+ const u = Jt(), h = We(t, e.props.url, u), m = U(() => We(t, e.props.queryParams, u), [u, e.props.queryParams, t]), f = ur(m), g = U(() => We(t, e.props.body, u), [u, e.props.body, t]), b = ur(g), v = U(() => We(t, e.props.rawBody, u), [u, e.props.rawBody, t]), x = ur(v), H = U(() => e.props.prevPageSelector && e.props.nextPageSelector ? "BIDIRECTIONAL" : e.props.prevPageSelector ? "BACKWARD" : e.props.nextPageSelector ? "FORWARD" : null, [e.props.nextPageSelector, e.props.prevPageSelector]) !== null, w = U(() => new Fs(u), [u]), $ = q(
27391
27364
  async (B, L) => {
27392
27365
  if (e.props.dataType === "csv")
27393
27366
  try {
@@ -27463,7 +27436,7 @@ function FM({
27463
27436
  throw console.error("Error executing SQL query:", K), K;
27464
27437
  }
27465
27438
  else
27466
- return await k.execute({
27439
+ return await w.execute({
27467
27440
  abortSignal: B,
27468
27441
  operation: e.props,
27469
27442
  params: {
@@ -27474,7 +27447,7 @@ function FM({
27474
27447
  });
27475
27448
  },
27476
27449
  [
27477
- k,
27450
+ w,
27478
27451
  e.props,
27479
27452
  t,
27480
27453
  h,
@@ -27501,7 +27474,7 @@ function FM({
27501
27474
  B && L ? (E.current && Pt.dismiss(E.current), E.current = Pt.loading(L)) : E.current && Pt.dismiss(E.current);
27502
27475
  },
27503
27476
  [e.props.inProgressNotificationMessage, i, e.props.dataType]
27504
- ), w = q(
27477
+ ), k = q(
27505
27478
  (B, L) => {
27506
27479
  l(B, L);
27507
27480
  const K = We(
@@ -27545,7 +27518,7 @@ function FM({
27545
27518
  loader: e,
27546
27519
  loaderInProgressChanged: W,
27547
27520
  loaderIsRefetchingChanged: a,
27548
- loaderLoaded: w,
27521
+ loaderLoaded: k,
27549
27522
  loaderError: S,
27550
27523
  loaderFn: $,
27551
27524
  registerComponentApi: r,
@@ -27563,7 +27536,7 @@ function FM({
27563
27536
  loader: e,
27564
27537
  loaderInProgressChanged: W,
27565
27538
  loaderIsRefetchingChanged: a,
27566
- loaderLoaded: w,
27539
+ loaderLoaded: k,
27567
27540
  loaderError: S,
27568
27541
  loaderFn: $,
27569
27542
  pollIntervalInSeconds: A,
@@ -28005,19 +27978,19 @@ const Li = {
28005
27978
  }
28006
27979
  },
28007
27980
  [m]
28008
- ), k = q(
27981
+ ), w = q(
28009
27982
  (_) => u.includes(`${_}`),
28010
27983
  [u]
28011
27984
  );
28012
27985
  Y(() => {
28013
27986
  s == null || s({
28014
- expanded: k,
27987
+ expanded: w,
28015
27988
  expand: b,
28016
27989
  collapse: g,
28017
27990
  toggle: v,
28018
27991
  focus: H
28019
27992
  });
28020
- }, [s, b, g, v, H, k]);
27993
+ }, [s, b, g, v, H, w]);
28021
27994
  const $ = U(
28022
27995
  () => ({
28023
27996
  register: x,
@@ -28420,8 +28393,8 @@ function KP(e, t) {
28420
28393
  const b = n.get(m), v = jP(e, b);
28421
28394
  if (o && oc(v, wo`${yu}|\((?!\?)`, Do.DEFAULT))
28422
28395
  throw new Error("Numbered backrefs cannot be used with recursion of capturing groups");
28423
- const x = e.slice(b, c.index), C = v.slice(x.length + d.length), H = $g(x, C, +f, !0, r), k = e.slice(0, b), $ = e.slice(b + v.length);
28424
- e = `${k}${H}${$}`, di.lastIndex += H.length - d.length - x.length - C.length, i.forEach((_) => _.hasRecursedWithin = !0), a = !0;
28396
+ const x = e.slice(b, c.index), C = v.slice(x.length + d.length), H = $g(x, C, +f, !0, r), w = e.slice(0, b), $ = e.slice(b + v.length);
28397
+ e = `${w}${H}${$}`, di.lastIndex += H.length - d.length - x.length - C.length, i.forEach((_) => _.hasRecursedWithin = !0), a = !0;
28425
28398
  } else if (u)
28426
28399
  s++, n.set(String(s), di.lastIndex), n.set(u, di.lastIndex), i.push({
28427
28400
  num: s,
@@ -32930,10 +32903,10 @@ const fm = {
32930
32903
  expandItem: v,
32931
32904
  register: x,
32932
32905
  unRegister: C
32933
- } = _P(), H = U(() => h.includes(c), [c, h]), [k, $] = ee(!1);
32906
+ } = _P(), H = U(() => h.includes(c), [c, h]), [w, $] = ee(!1);
32934
32907
  return Y(() => {
32935
- k || ($(!0), i && v(c));
32936
- }, [v, c, i, k]), Y(() => {
32908
+ w || ($(!0), i && v(c));
32909
+ }, [v, c, i, w]), Y(() => {
32937
32910
  x(d);
32938
32911
  }, [x, d]), Y(() => () => {
32939
32912
  C(d);
@@ -33218,7 +33191,7 @@ const lr = {
33218
33191
  stopAutoplayOnInteraction: f = lr.stopAutoplayOnInteraction,
33219
33192
  registerComponentApi: g
33220
33193
  }, b) {
33221
- const v = ne(null), [x, C] = ee(0), [H, k] = ee([]), [$, _] = ee(!1), { carouselContextValue: O, carouselItems: E } = uq(), W = b ? Ur(v, b) : v, [w, S] = n5(
33194
+ const v = ne(null), [x, C] = ee(0), [H, w] = ee([]), [$, _] = ee(!1), { carouselContextValue: O, carouselItems: E } = uq(), W = b ? Ur(v, b) : v, [k, S] = n5(
33222
33195
  {
33223
33196
  axis: t === "horizontal" ? "x" : "y",
33224
33197
  loop: s,
@@ -33228,7 +33201,7 @@ const lr = {
33228
33201
  H
33229
33202
  ), A = d || t === "horizontal" ? "arrowleft" : "arrowup", B = u || t === "horizontal" ? "arrowright" : "arrowdown";
33230
33203
  Y(() => {
33231
- a && k([
33204
+ a && w([
33232
33205
  i5({
33233
33206
  delay: m,
33234
33207
  stopOnInteraction: f
@@ -33294,7 +33267,7 @@ const lr = {
33294
33267
  tabIndex: -1,
33295
33268
  "aria-roledescription": "carousel",
33296
33269
  children: [
33297
- /* @__PURE__ */ p("div", { ref: w, className: zr.carouselContentWrapper, children: /* @__PURE__ */ p(
33270
+ /* @__PURE__ */ p("div", { ref: k, className: zr.carouselContentWrapper, children: /* @__PURE__ */ p(
33298
33271
  "div",
33299
33272
  {
33300
33273
  className: oe(zr.carouselContent, {
@@ -35616,7 +35589,7 @@ function Xq({
35616
35589
  const { root: n } = gt(), [i, a] = ee({}), [l, s] = ee(null), [c, d] = ee(!1), [u, h] = ee(0), [m, f] = ee("bottom"), [g, b] = ee(!1), [v, x] = ee({
35617
35590
  x: 0,
35618
35591
  y: 0
35619
- }), H = Ia().lookupComponentRenderer("XMLUIDevtools.DevTools"), k = U(() => ({
35592
+ }), H = Ia().lookupComponentRenderer("XMLUIDevtools.DevTools"), w = U(() => ({
35620
35593
  sources: t,
35621
35594
  attach: ($, _, O) => {
35622
35595
  a((E) => ({
@@ -35669,7 +35642,7 @@ function Xq({
35669
35642
  g,
35670
35643
  o
35671
35644
  ]);
35672
- return /* @__PURE__ */ D(Sh.Provider, { value: k, children: [
35645
+ return /* @__PURE__ */ D(Sh.Provider, { value: w, children: [
35673
35646
  e,
35674
35647
  B0.VITE_USER_COMPONENTS_Inspect !== "false" && c && l !== null && Ld(H == null ? void 0 : H.renderer({}), n),
35675
35648
  B0.VITE_USER_COMPONENTS_Inspect !== "false" && i && Object.values(i).map(($) => /* @__PURE__ */ p(
@@ -35724,15 +35697,15 @@ function Jq({
35724
35697
  return;
35725
35698
  if (c(x), i) {
35726
35699
  x.classList.add(ui.inspectableNode);
35727
- const k = document.createElement("div");
35728
- k.classList.add(ui.inspectOverlay), x.appendChild(k), k.addEventListener("click", () => {
35700
+ const w = document.createElement("div");
35701
+ w.classList.add(ui.inspectOverlay), x.appendChild(w), w.addEventListener("click", () => {
35729
35702
  o(($) => ($ == null ? void 0 : $.inspectId) === e ? null : { ...t, inspectId: e });
35730
35703
  });
35731
35704
  }
35732
35705
  if (!i) {
35733
35706
  x.classList.remove(ui.inspectableNode), o(null), n(!1);
35734
- const k = x.querySelector(`.${ui.inspectOverlay}`);
35735
- k && k.remove(), x.classList.remove(ui.inspectedNode);
35707
+ const w = x.querySelector(`.${ui.inspectOverlay}`);
35708
+ w && w.remove(), x.classList.remove(ui.inspectedNode);
35736
35709
  }
35737
35710
  function C() {
35738
35711
  b.current && clearTimeout(b.current), g(!0);
@@ -36042,7 +36015,7 @@ function gU({
36042
36015
  let d;
36043
36016
  return (async () => {
36044
36017
  if (lp.VITE_MOCK_ENABLED) {
36045
- const { createApiInterceptorWorker: u } = await import("./apiInterceptorWorker-C1cI935F.mjs");
36018
+ const { createApiInterceptorWorker: u } = await import("./apiInterceptorWorker-BK3aQR7T.mjs");
36046
36019
  if (e && (d = await u(e, r), s(d), !r)) {
36047
36020
  const h = ox(
36048
36021
  lp.VITE_MOCK_WORKER_LOCATION || "mockServiceWorker.js"
@@ -43607,8 +43580,8 @@ const VX = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: r, dispatch: o, edit
43607
43580
  const C = s.indexAfter(-1) < s.node(-2).childCount ? 1 : s.indexAfter(-2) < s.node(-3).childCount ? 2 : 3, H = {
43608
43581
  ...Rc(h, s.node().type.name, s.node().attrs),
43609
43582
  ...t
43610
- }, k = ((a = l.contentMatch.defaultType) === null || a === void 0 ? void 0 : a.createAndFill(H)) || void 0;
43611
- v = v.append(ue.from(l.createAndFill(null, k) || void 0));
43583
+ }, w = ((a = l.contentMatch.defaultType) === null || a === void 0 ? void 0 : a.createAndFill(H)) || void 0;
43584
+ v = v.append(ue.from(l.createAndFill(null, w) || void 0));
43612
43585
  const $ = s.before(s.depth - (x - 1));
43613
43586
  r.replace($, s.after(-C), new xe(v, 4 - x, 0));
43614
43587
  let _ = -1;
@@ -43638,8 +43611,8 @@ const VX = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: r, dispatch: o, edit
43638
43611
  const { selection: v, storedMarks: x } = o, { splittableMarks: C } = i.extensionManager, H = x || v.$to.parentOffset && v.$from.marks();
43639
43612
  if (r.split(s.pos, 2, b).scrollIntoView(), !H || !n)
43640
43613
  return !0;
43641
- const k = H.filter(($) => C.includes($.type.name));
43642
- r.ensureMarks(k);
43614
+ const w = H.filter(($) => C.includes($.type.name));
43615
+ r.ensureMarks(w);
43643
43616
  }
43644
43617
  return !0;
43645
43618
  }, bp = (e, t) => {
@@ -43664,12 +43637,12 @@ const VX = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: r, dispatch: o, edit
43664
43637
  const { extensions: u, splittableMarks: h } = n.extensionManager, m = Br(e, a.schema), f = Br(t, a.schema), { selection: g, storedMarks: b } = a, { $from: v, $to: x } = g, C = v.blockRange(x), H = b || g.$to.parentOffset && g.$from.marks();
43665
43638
  if (!C)
43666
43639
  return !1;
43667
- const k = zh(($) => J0($.type.name, u))(g);
43668
- if (C.depth >= 1 && k && C.depth - k.depth <= 1) {
43669
- if (k.node.type === m)
43640
+ const w = zh(($) => J0($.type.name, u))(g);
43641
+ if (C.depth >= 1 && w && C.depth - w.depth <= 1) {
43642
+ if (w.node.type === m)
43670
43643
  return c.liftListItem(f);
43671
- if (J0(k.node.type.name, u) && m.validContent(k.node.content) && l)
43672
- return s().command(() => (i.setNodeMarkup(k.pos, m), !0)).command(() => bp(i, m)).command(() => vp(i, m)).run();
43644
+ if (J0(w.node.type.name, u) && m.validContent(w.node.content) && l)
43645
+ return s().command(() => (i.setNodeMarkup(w.pos, m), !0)).command(() => bp(i, m)).command(() => vp(i, m)).run();
43673
43646
  }
43674
43647
  return !r || !H || !l ? s().command(() => d().wrapInList(m, o) ? !0 : c.clearNodes()).wrapInList(m, o).command(() => bp(i, m)).command(() => vp(i, m)).run() : s().command(() => {
43675
43648
  const $ = d().wrapInList(m, o), _ = H.filter((O) => h.includes(O.type.name));
@@ -44154,16 +44127,16 @@ function QX(e) {
44154
44127
  break;
44155
44128
  }
44156
44129
  const H = n + C * t;
44157
- for (let k = 0; k < b; k++) {
44158
- o[H + k] == 0 ? o[H + k] = d : (i || (i = [])).push({
44130
+ for (let w = 0; w < b; w++) {
44131
+ o[H + w] == 0 ? o[H + w] = d : (i || (i = [])).push({
44159
44132
  type: "collision",
44160
44133
  row: c,
44161
44134
  pos: d,
44162
- n: b - k
44135
+ n: b - w
44163
44136
  });
44164
- const $ = x && x[k];
44137
+ const $ = x && x[w];
44165
44138
  if ($) {
44166
- const _ = (H + k) % t * 2, O = a[_];
44139
+ const _ = (H + w) % t * 2, O = a[_];
44167
44140
  O == null || O != $ && a[_ + 1] == 1 ? (a[_] = $, a[_ + 1] = 1) : O == $ && a[_ + 1]++;
44168
44141
  }
44169
44142
  }
@@ -46953,7 +46926,7 @@ function lee({ children: e }) {
46953
46926
  /* @__PURE__ */ p("svg", { style: { display: "none" }, ref: a })
46954
46927
  ] });
46955
46928
  }
46956
- const see = "0.9.64", cee = {
46929
+ const see = "0.9.65", cee = {
46957
46930
  capitalize: PS,
46958
46931
  pluralize: wH,
46959
46932
  defaultTo: MS,
@@ -47419,7 +47392,7 @@ async function Xee(e, t, r, o, n) {
47419
47392
  await e([], v, o, n);
47420
47393
  const x = await jr(v, n);
47421
47394
  if (x != null && x._ARROW_EXPR_) {
47422
- const C = await Vc(e, x), H = (...k) => C(x.args, o, n, ...k);
47395
+ const C = await Vc(e, x), H = (...w) => C(x.args, o, n, ...w);
47423
47396
  l.push(H);
47424
47397
  } else
47425
47398
  l.push(x);
@@ -48171,37 +48144,37 @@ function Yee({
48171
48144
  a(d);
48172
48145
  }, [a, d]);
48173
48146
  const u = q(
48174
- (k) => {
48175
- i(d, k);
48147
+ (w) => {
48148
+ i(d, w);
48176
48149
  },
48177
48150
  [i, d]
48178
48151
  ), h = q(
48179
- (k, $) => o(k, d, $),
48152
+ (w, $) => o(w, d, $),
48180
48153
  [o, d]
48181
48154
  ), m = Ud(t), f = U(() => s2(t, l, m, s), [l, s, m, t]), g = q(
48182
- (k) => {
48183
- if (k)
48184
- return n(f(k), d);
48155
+ (w) => {
48156
+ if (w)
48157
+ return n(f(w), d);
48185
48158
  },
48186
48159
  [n, d, f]
48187
48160
  ), b = q(
48188
- (k) => {
48189
- r(Qee(d, k));
48161
+ (w) => {
48162
+ r(Qee(d, w));
48190
48163
  },
48191
48164
  [r, d]
48192
48165
  ), v = q(
48193
- (k) => {
48194
- r(ete(d, k));
48166
+ (w) => {
48167
+ r(ete(d, w));
48195
48168
  },
48196
48169
  [r, d]
48197
48170
  ), x = q(
48198
- (k, $) => {
48199
- r(tte(d, k, $));
48171
+ (w, $) => {
48172
+ r(tte(d, w, $));
48200
48173
  },
48201
48174
  [r, d]
48202
48175
  ), C = q(
48203
- (k) => {
48204
- r(rte(d, k));
48176
+ (w) => {
48177
+ r(rte(d, w));
48205
48178
  },
48206
48179
  [r, d]
48207
48180
  ), H = c.lookupLoaderRenderer(e.type);
@@ -48278,9 +48251,9 @@ const ote = Wn(
48278
48251
  children: b
48279
48252
  }, v) {
48280
48253
  var Ne;
48281
- const { apiBoundContainer: x } = t, C = f ? n : o, H = f ? d : c, k = Jt(), { getThemeVar: $ } = gt(), _ = zm(), O = Rl(), E = ne({}), W = ne(r);
48254
+ const { apiBoundContainer: x } = t, C = f ? n : o, H = f ? d : c, w = Jt(), { getThemeVar: $ } = gt(), _ = zm(), O = Rl(), E = ne({}), W = ne(r);
48282
48255
  W.current = r;
48283
- const w = ne({}), [S, A] = Lm(), B = ne(!0), L = ne(/* @__PURE__ */ new Map());
48256
+ const k = ne({}), [S, A] = Lm(), B = ne(!0), L = ne(/* @__PURE__ */ new Map());
48284
48257
  Lt(() => {
48285
48258
  for (const se of L.current.values())
48286
48259
  se();
@@ -48309,7 +48282,7 @@ const ote = Wn(
48309
48282
  _e.push(nt);
48310
48283
  });
48311
48284
  }, Re = {
48312
- ...k,
48285
+ ...w,
48313
48286
  getThemeVar: $
48314
48287
  }, Ee = {
48315
48288
  appContext: Re,
@@ -48329,22 +48302,22 @@ const ote = Wn(
48329
48302
  })
48330
48303
  }),
48331
48304
  options: {
48332
- defaultToOptionalMemberAccess: typeof ((ve = k.appGlobals) == null ? void 0 : ve.defaultToOptionalMemberAccess) == "boolean" ? k.appGlobals.defaultToOptionalMemberAccess : !0
48305
+ defaultToOptionalMemberAccess: typeof ((ve = w.appGlobals) == null ? void 0 : ve.defaultToOptionalMemberAccess) == "boolean" ? w.appGlobals.defaultToOptionalMemberAccess : !0
48333
48306
  }
48334
48307
  };
48335
48308
  try {
48336
48309
  let Ie;
48337
48310
  if (typeof se == "string")
48338
- w.current[se] || (w.current[se] = Em(
48311
+ k.current[se] || (k.current[se] = Em(
48339
48312
  xS(se),
48340
48313
  Ee
48341
- )), Ie = w.current[se];
48314
+ )), Ie = k.current[se];
48342
48315
  else if (hv(se)) {
48343
48316
  const ct = se.parseId.toString();
48344
- w.current[ct] || (w.current[ct] = Em(
48317
+ k.current[ct] || (k.current[ct] = Em(
48345
48318
  se.statements,
48346
48319
  Ee
48347
- )), Ie = w.current[ct];
48320
+ )), Ie = k.current[ct];
48348
48321
  } else
48349
48322
  Ie = [
48350
48323
  {
@@ -48394,7 +48367,7 @@ const ote = Wn(
48394
48367
  }), (ye = (ae = Ee.mainThread) == null ? void 0 : ae.blocks) != null && ye.length)
48395
48368
  return Ee.mainThread.blocks[Ee.mainThread.blocks.length - 1].returnValue;
48396
48369
  } catch (Ie) {
48397
- throw (ie == null ? void 0 : ie.signError) !== !1 && k.signError(Ie), Be() && C({
48370
+ throw (ie == null ? void 0 : ie.signError) !== !1 && w.signError(Ie), Be() && C({
48398
48371
  type: qt.EVENT_HANDLER_ERROR,
48399
48372
  payload: {
48400
48373
  uid: de.description,
@@ -48409,7 +48382,7 @@ const ote = Wn(
48409
48382
  var le, Be;
48410
48383
  const ie = {
48411
48384
  localContext: zo(W.current),
48412
- appContext: k,
48385
+ appContext: w,
48413
48386
  eventArgs: de
48414
48387
  };
48415
48388
  try {
@@ -48422,7 +48395,7 @@ const ote = Wn(
48422
48395
  throw console.error(_e), _e;
48423
48396
  }
48424
48397
  },
48425
- [k]
48398
+ [w]
48426
48399
  ), R = Fe(
48427
48400
  (se, de, ie) => {
48428
48401
  var _e;
@@ -48508,7 +48481,7 @@ const ote = Wn(
48508
48481
  node: Ee,
48509
48482
  state: r,
48510
48483
  dispatch: C,
48511
- appContext: k,
48484
+ appContext: w,
48512
48485
  lookupAction: X,
48513
48486
  lookupSyncCallback: G,
48514
48487
  registerComponentApi: H,
@@ -48533,7 +48506,7 @@ const ote = Wn(
48533
48506
  [
48534
48507
  r,
48535
48508
  C,
48536
- k,
48509
+ w,
48537
48510
  X,
48538
48511
  G,
48539
48512
  H,
@@ -48561,7 +48534,7 @@ const ote = Wn(
48561
48534
  //if it's an api bound container, we always use this container, otherwise use the parent if it's an implicit one
48562
48535
  dispatch: x ? o : C,
48563
48536
  registerComponentApi: x ? c : H,
48564
- appContext: k,
48537
+ appContext: w,
48565
48538
  lookupAction: X,
48566
48539
  lookupSyncCallback: G,
48567
48540
  cleanup: N
@@ -48574,7 +48547,7 @@ const ote = Wn(
48574
48547
  {
48575
48548
  children: ge
48576
48549
  },
48577
- t.uid ? `${i}>${We(r, t.uid, k, !0)}` : void 0
48550
+ t.uid ? `${i}>${We(r, t.uid, w, !0)}` : void 0
48578
48551
  );
48579
48552
  })
48580
48553
  );
@@ -48667,11 +48640,11 @@ const ate = Wn(
48667
48640
  }, m) {
48668
48641
  const [f, g] = ee(0), b = lte(), v = ne(/* @__PURE__ */ new Map()), x = ur(
48669
48642
  U(() => ste(o, t.uses), [t.uses, o])
48670
- ), C = uS(), H = _ee(C), [k, $] = Nm(H, Ge), [_, O] = ee(Ge), E = ur(
48643
+ ), C = uS(), H = _ee(C), [w, $] = Nm(H, Ge), [_, O] = ee(Ge), E = ur(
48671
48644
  U(() => {
48672
- const N = { ...k };
48673
- for (const V of Object.getOwnPropertySymbols(k)) {
48674
- const j = k[V];
48645
+ const N = { ...w };
48646
+ for (const V of Object.getOwnPropertySymbols(w)) {
48647
+ const j = w[V];
48675
48648
  V.description && (N[V.description] = j);
48676
48649
  }
48677
48650
  if (Reflect.ownKeys(_).length === 0)
@@ -48685,20 +48658,20 @@ const ate = Wn(
48685
48658
  N[V] = { ...N[V], ...j };
48686
48659
  }
48687
48660
  return N;
48688
- }, [k, _])
48661
+ }, [w, _])
48689
48662
  ), W = fv(
48690
48663
  x,
48691
48664
  E,
48692
48665
  t.contextVars
48693
- ), w = t.scriptCollected;
48694
- if (w != null && w.moduleErrors && !ya(w.moduleErrors))
48695
- throw new Id(w.moduleErrors);
48666
+ ), k = t.scriptCollected;
48667
+ if (k != null && k.moduleErrors && !ya(k.moduleErrors))
48668
+ throw new Id(k.moduleErrors);
48696
48669
  if (t.scriptError && !ya(t.scriptError))
48697
48670
  throw new Id(t.scriptError);
48698
- const S = Ud(k), A = ur({
48699
- ...w == null ? void 0 : w.functions,
48671
+ const S = Ud(w), A = ur({
48672
+ ...k == null ? void 0 : k.functions,
48700
48673
  ...t.functions,
48701
- ...w == null ? void 0 : w.vars,
48674
+ ...k == null ? void 0 : k.vars,
48702
48675
  ...t.vars
48703
48676
  }), B = U(() => {
48704
48677
  const N = {};
@@ -48855,7 +48828,7 @@ function gv(e = Ge, t = Ge, r, o) {
48855
48828
  C
48856
48829
  ], [
48857
48830
  H,
48858
- k,
48831
+ w,
48859
48832
  $,
48860
48833
  _,
48861
48834
  O,
@@ -49064,25 +49037,25 @@ function bte({
49064
49037
  const x = t.events[b], {
49065
49038
  invalidates: C,
49066
49039
  asForm: H,
49067
- formParams: k,
49040
+ formParams: w,
49068
49041
  queryParams: $,
49069
49042
  rawBody: _,
49070
49043
  body: O,
49071
49044
  url: E,
49072
49045
  headers: W,
49073
- method: w,
49046
+ method: k,
49074
49047
  file: S
49075
49048
  } = x.props, { success: A, error: B } = x.events || {};
49076
49049
  u[b] = `(eventArgs) => {
49077
49050
  return Actions.upload({
49078
49051
  asForm: ${JSON.stringify(H)},
49079
- formParams: ${JSON.stringify(k)},
49052
+ formParams: ${JSON.stringify(w)},
49080
49053
  queryParams: ${JSON.stringify($)},
49081
49054
  rawBody: ${JSON.stringify(_)},
49082
49055
  body: ${JSON.stringify(O)},
49083
49056
  url: ${JSON.stringify(E)},
49084
49057
  headers: ${JSON.stringify(W)},
49085
- method: ${JSON.stringify(w)},
49058
+ method: ${JSON.stringify(k)},
49086
49059
  file: ${JSON.stringify(S)},
49087
49060
  params: { '$param': eventArgs },
49088
49061
  onError: ${JSON.stringify(B)},
@@ -49093,11 +49066,11 @@ function bte({
49093
49066
  break;
49094
49067
  }
49095
49068
  case "FileDownload": {
49096
- const x = t.events[b], { url: C, queryParams: H, rawBody: k, body: $, headers: _, method: O, fileName: E } = x.props;
49069
+ const x = t.events[b], { url: C, queryParams: H, rawBody: w, body: $, headers: _, method: O, fileName: E } = x.props;
49097
49070
  u[b] = `(eventArgs) => {
49098
49071
  return Actions.download({
49099
49072
  queryParams: ${JSON.stringify(H)},
49100
- rawBody: ${JSON.stringify(k)},
49073
+ rawBody: ${JSON.stringify(w)},
49101
49074
  body: ${JSON.stringify($)},
49102
49075
  url: ${JSON.stringify(C)},
49103
49076
  headers: ${JSON.stringify(_)},
@@ -49110,13 +49083,13 @@ function bte({
49110
49083
  }
49111
49084
  case "APICall": {
49112
49085
  const x = t.events[b], { when: C, uid: H } = x, {
49113
- confirmTitle: k,
49086
+ confirmTitle: w,
49114
49087
  confirmMessage: $,
49115
49088
  confirmButtonLabel: _,
49116
49089
  inProgressNotificationMessage: O,
49117
49090
  completedNotificationMessage: E,
49118
49091
  errorNotificationMessage: W,
49119
- invalidates: w,
49092
+ invalidates: k,
49120
49093
  updates: S,
49121
49094
  optimisticValue: A,
49122
49095
  getOptimisticValue: B,
@@ -49137,7 +49110,7 @@ function bte({
49137
49110
  queryParams: ${JSON.stringify(P)},
49138
49111
  rawBody: ${JSON.stringify(G)},
49139
49112
  body: ${JSON.stringify(X)} || (options?.passAsDefaultBody ? eventArgs : undefined),
49140
- confirmTitle: ${JSON.stringify(k)},
49113
+ confirmTitle: ${JSON.stringify(w)},
49141
49114
  confirmMessage: ${JSON.stringify($)},
49142
49115
  confirmButtonLabel: ${JSON.stringify(_)},
49143
49116
  inProgressNotificationMessage: ${JSON.stringify(O)},
@@ -49152,7 +49125,7 @@ function bte({
49152
49125
  optimisticValue: ${JSON.stringify(A)},
49153
49126
  payloadType: ${JSON.stringify(K)},
49154
49127
  getOptimisticValue: ${JSON.stringify(B)},
49155
- invalidates: ${w === void 0 ? void 0 : JSON.stringify(w)},
49128
+ invalidates: ${k === void 0 ? void 0 : JSON.stringify(k)},
49156
49129
  when: ${C === void 0 ? void 0 : JSON.stringify(C)} }, { resolveBindingExpressions: true });
49157
49130
  }`;
49158
49131
  break;
@@ -49163,10 +49136,10 @@ function bte({
49163
49136
  }), r.forEach((b) => {
49164
49137
  var _, O, E;
49165
49138
  const v = ((_ = t.props[b]) == null ? void 0 : _.type) === "DataSourceRef", x = t.props[b].uid || c(b), C = t.props[b].props || t.props[b], H = {};
49166
- Object.entries(t.events || {}).forEach(([W, w]) => {
49139
+ Object.entries(t.events || {}).forEach(([W, k]) => {
49167
49140
  if (W.startsWith(b)) {
49168
49141
  const S = W.substring(b.length), A = S.charAt(0).toLowerCase() + S.slice(1);
49169
- H[A] = w;
49142
+ H[A] = k;
49170
49143
  }
49171
49144
  }), b === "data" && (h.__DATA_RESOLVED = !0), v || (d.push({
49172
49145
  type: "DataLoader",
@@ -49174,9 +49147,9 @@ function bte({
49174
49147
  props: C,
49175
49148
  events: H
49176
49149
  }), f[`fetch_${b}`] = `() => { ${x}.refetch(); }`, f[`update_${b}`] = `(updaterFn) => { ${x}.update(updaterFn); }`, f[`addItem_${b}`] = `(element, index) => { ${x}.addItem(element, index); }`, f[`getItems_${b}`] = `() => { return ${x}.getItems(); }`, f[`deleteItem_${b}`] = `(element) => { ${x}.deleteItem(element); }`, b === "data" && (h._data_url = C.url));
49177
- let k = null;
49150
+ let w = null;
49178
49151
  const { segments: $ } = gte((O = C.url) == null ? void 0 : O.trim());
49179
- ($ == null ? void 0 : $.length) === 1 && ($[0].literal ? k = `"${$[0].literal}"` : $[0].expr && (k = (E = C.url) == null ? void 0 : E.trim().substring(1, C.url.length - 1))), k === null ? h[b] = `{ ${x}.value }` : h[b] = `{ ${x}.value || ( appGlobals.prefetchedContent[${k}] || appGlobals.prefetchedContent['/' + ${k}] ) }`, h.loading = `{ ${x}.inProgress === undefined ? true : ${x}.inProgress}`, h.pageInfo = `{${x}.pageInfo}`, u.requestFetchPrevPage = `${x}.fetchPrevPage()`, u.requestFetchNextPage = `${x}.fetchNextPage()`, u.requestRefetch = `()=> ${x}.refetch();`;
49152
+ ($ == null ? void 0 : $.length) === 1 && ($[0].literal ? w = `"${$[0].literal}"` : $[0].expr && (w = (E = C.url) == null ? void 0 : E.trim().substring(1, C.url.length - 1))), w === null ? h[b] = `{ ${x}.value }` : h[b] = `{ ${x}.value || ( appGlobals.prefetchedContent[${w}] || appGlobals.prefetchedContent['/' + ${w}] ) }`, h.loading = `{ ${x}.inProgress === undefined ? true : ${x}.inProgress}`, h.pageInfo = `{${x}.pageInfo}`, u.requestFetchPrevPage = `${x}.fetchPrevPage()`, u.requestFetchNextPage = `${x}.fetchNextPage()`, u.requestRefetch = `()=> ${x}.refetch();`;
49180
49153
  });
49181
49154
  const g = {
49182
49155
  ...t,
@@ -49283,7 +49256,7 @@ const Hte = Ce(function({
49283
49256
  });
49284
49257
  },
49285
49258
  [n, x]
49286
- ), k = Ud(r), $ = U(() => s2(r, o, k, u), [o, u, k, r]), _ = q(
49259
+ ), w = Ud(r), $ = U(() => s2(r, o, w, u), [o, u, w, r]), _ = q(
49287
49260
  (J) => a($(J), x),
49288
49261
  [a, x, $]
49289
49262
  ), O = q(
@@ -49300,10 +49273,10 @@ const Hte = Ce(function({
49300
49273
  ), W = U(
49301
49274
  () => xv(v.props, "DataSource", "DataSourceRef"),
49302
49275
  [v.props]
49303
- ), w = U(
49276
+ ), k = U(
49304
49277
  () => xv(v.events, "APICall", "FileDownload", "FileUpload"),
49305
49278
  [v.events]
49306
- ), S = W.length > 0 || w.length > 0, A = Ia(), { renderer: B, descriptor: L, isCompoundComponent: K } = A.lookupComponentRenderer(v.type) || {}, M = q(
49279
+ ), S = W.length > 0 || k.length > 0, A = Ia(), { renderer: B, descriptor: L, isCompoundComponent: K } = A.lookupComponentRenderer(v.type) || {}, M = q(
49307
49280
  (J, re) => {
49308
49281
  var Le;
49309
49282
  const Te = ((Le = v.events) == null ? void 0 : Le[J]) || (re == null ? void 0 : re.defaultHandler);
@@ -49391,7 +49364,7 @@ const Hte = Ce(function({
49391
49364
  uid: x,
49392
49365
  renderChild: E,
49393
49366
  node: v,
49394
- apiBoundEvents: w,
49367
+ apiBoundEvents: k,
49395
49368
  apiBoundProps: W,
49396
49369
  layoutContextRef: c,
49397
49370
  parentRendererContext: d
@@ -49508,17 +49481,17 @@ const _te = Wn(
49508
49481
  ...v
49509
49482
  }, x) {
49510
49483
  var E;
49511
- const C = Ia(), { descriptor: H } = C.lookupComponentRenderer(t.type) || {}, k = ne(u), $ = U(() => {
49484
+ const C = Ia(), { descriptor: H } = C.lookupComponentRenderer(t.type) || {}, w = ne(u), $ = U(() => {
49512
49485
  let W = t;
49513
49486
  return W = Ite(
49514
49487
  W,
49515
49488
  H == null ? void 0 : H.childrenAsTemplate
49516
49489
  ), W = Bte(W), W = Ete(W, g), W = Ote(W), W;
49517
49490
  }, [H == null ? void 0 : H.childrenAsTemplate, t, g]), _ = U(() => {
49518
- var w;
49491
+ var k;
49519
49492
  return typeof We(
49520
49493
  o,
49521
- (w = $.props) == null ? void 0 : w.data,
49494
+ (k = $.props) == null ? void 0 : k.data,
49522
49495
  i,
49523
49496
  !0
49524
49497
  ) == "string";
@@ -49534,7 +49507,7 @@ const _te = Wn(
49534
49507
  node: O,
49535
49508
  parentState: o,
49536
49509
  parentDispatch: n,
49537
- layoutContextRef: k,
49510
+ layoutContextRef: w,
49538
49511
  parentRenderContext: h,
49539
49512
  parentStatePartChanged: d,
49540
49513
  parentRegisterComponentApi: s,
@@ -49557,7 +49530,7 @@ const _te = Wn(
49557
49530
  registerComponentApi: s,
49558
49531
  renderChild: c,
49559
49532
  parentRenderContext: h,
49560
- layoutContextRef: k,
49533
+ layoutContextRef: w,
49561
49534
  ref: x,
49562
49535
  uidInfoRef: g,
49563
49536
  ...v,
@@ -49682,9 +49655,9 @@ function CS({
49682
49655
  } else
49683
49656
  C = d == null ? void 0 : d.children;
49684
49657
  if (C || (C = e.children), C) {
49685
- const k = Array.isArray(C) ? C : [C];
49686
- if (k.length === 1 && d && (k[0].type === "TextNodeCData" || k[0].type === "TextNode"))
49687
- return d.renderChild(k);
49658
+ const w = Array.isArray(C) ? C : [C];
49659
+ if (w.length === 1 && d && (w[0].type === "TextNodeCData" || w[0].type === "TextNode"))
49660
+ return d.renderChild(w);
49688
49661
  }
49689
49662
  }
49690
49663
  const g = We(t, e.uid, o, !0);
@@ -49736,7 +49709,7 @@ function Lte({
49736
49709
  bc[(bc.indexOf(g) + 1) % bc.length]
49737
49710
  ), Je.code === "KeyS" && Je.altKey && Je.ctrlKey && Je.shiftKey && d.setDisplayStateView(!d.displayStateView);
49738
49711
  });
49739
- const [k, $] = ee("0"), [_, O] = ee("0"), [E, W] = ee("0"), [w, S] = ee("0"), [A, B] = ee("0"), [L, K] = ee("0"), [M, R] = ee("0"), [P, G] = ee("0"), [X, Z] = ee("0"), [N, V] = ee("0"), j = (Je) => {
49712
+ const [w, $] = ee("0"), [_, O] = ee("0"), [E, W] = ee("0"), [k, S] = ee("0"), [A, B] = ee("0"), [L, K] = ee("0"), [M, R] = ee("0"), [P, G] = ee("0"), [X, Z] = ee("0"), [N, V] = ee("0"), j = (Je) => {
49740
49713
  const hr = Je.match(/^(\d+)px$/);
49741
49714
  return hr ? `${parseInt(hr[1]) - 0.02}px` : "0";
49742
49715
  }, J = ne();
@@ -49761,7 +49734,7 @@ function Lte({
49761
49734
  Z(Pe), V(j(Pe));
49762
49735
  }, [f, C]);
49763
49736
  const re = Fa(`(max-width: ${_})`), Te = Fa(
49764
- `(min-width: ${k}) and (max-width: ${w})`
49737
+ `(min-width: ${w}) and (max-width: ${k})`
49765
49738
  ), Le = Fa(
49766
49739
  `(min-width: ${E}) and (max-width: ${L})`
49767
49740
  ), ge = Fa(
@@ -50048,8 +50021,8 @@ function Mte({
50048
50021
  uses: []
50049
50022
  }), [r]);
50050
50023
  if (v) {
50051
- const k = v.entrypoint.dependencies;
50052
- Pte(k, v.components);
50024
+ const w = v.entrypoint.dependencies;
50025
+ Pte(w, v.components);
50053
50026
  }
50054
50027
  const H = U(() => ({
50055
50028
  ...s,
@@ -50151,7 +50124,7 @@ function Zte({
50151
50124
  style: h,
50152
50125
  refVersion: m = 0
50153
50126
  }) {
50154
- const f = ne(null), g = ne(null), b = ne(null), v = rr(), [x, C] = ee(m), H = gt(), k = i || (o == null ? void 0 : o.defaultTone) || (H == null ? void 0 : H.activeThemeTone), { appGlobals: $ } = Jt(), _ = Ia(), { interceptorWorker: O } = xh();
50127
+ const f = ne(null), g = ne(null), b = ne(null), v = rr(), [x, C] = ee(m), H = gt(), w = i || (o == null ? void 0 : o.defaultTone) || (H == null ? void 0 : H.activeThemeTone), { appGlobals: $ } = Jt(), _ = Ia(), { interceptorWorker: O } = xh();
50155
50128
  Y(() => {
50156
50129
  C(m);
50157
50130
  }, [m]);
@@ -50172,7 +50145,7 @@ function Zte({
50172
50145
  type: "in-memory"
50173
50146
  // apiUrl: apiUrl + (apiObject.apiUrl || ""),
50174
50147
  };
50175
- }, [e]), w = ($ == null ? void 0 : $.useHashBasedRouting) || !0, S = q(async () => {
50148
+ }, [e]), k = ($ == null ? void 0 : $.useHashBasedRouting) || !0, S = q(async () => {
50176
50149
  const L = await kS(JSON.stringify({
50177
50150
  standalone: {
50178
50151
  app: t,
@@ -50198,10 +50171,12 @@ function Zte({
50198
50171
  `${c ?? ""}/#/playground#${L}`,
50199
50172
  "_blank"
50200
50173
  );
50201
- }, [t, r, a, n, e, i, w]);
50174
+ }, [t, r, a, n, e, i, k]);
50202
50175
  Y(() => {
50203
50176
  var X;
50204
- !g.current && f.current && (g.current = f.current), !b.current && g.current && (b.current = Qp.createRoot(g.current));
50177
+ !g.current && f.current && (g.current = f.current.attachShadow({ mode: "open" }), document.querySelectorAll('style, link[rel="stylesheet"]').forEach((N) => {
50178
+ N.hasAttribute("data-theme-root") || g.current.appendChild(N.cloneNode(!0));
50179
+ })), !b.current && g.current && (b.current = Qp.createRoot(g.current));
50205
50180
  let { errors: B, component: L, erroneousCompoundComponentName: K } = sm(t);
50206
50181
  B.length > 0 && (L = xg(B, "Main.xmlui", K));
50207
50182
  const M = (r ?? []).map((Z) => {
@@ -50231,7 +50206,7 @@ function Zte({
50231
50206
  node: L,
50232
50207
  globalProps: R,
50233
50208
  defaultTheme: n || (o == null ? void 0 : o.defaultTheme),
50234
- defaultTone: k,
50209
+ defaultTone: w,
50235
50210
  contributes: {
50236
50211
  compoundComponents: M,
50237
50212
  themes: o == null ? void 0 : o.themes
@@ -50301,7 +50276,7 @@ function Zte({
50301
50276
  x,
50302
50277
  H.themeStyles,
50303
50278
  a,
50304
- k,
50279
+ w,
50305
50280
  d,
50306
50281
  u,
50307
50282
  E
@@ -50344,7 +50319,7 @@ function SS({
50344
50319
  height: m,
50345
50320
  allowPlaygroundPopup: f
50346
50321
  }) {
50347
- const [g, b] = ee(n), { appGlobals: v } = Jt(), [x, C] = ee(0), H = (v == null ? void 0 : v.useHashBasedRouting) || !0, k = q(async () => {
50322
+ const [g, b] = ee(n), { appGlobals: v } = Jt(), [x, C] = ee(0), H = (v == null ? void 0 : v.useHashBasedRouting) || !0, w = q(async () => {
50348
50323
  const _ = await kS(JSON.stringify({
50349
50324
  standalone: {
50350
50325
  app: a,
@@ -50409,7 +50384,7 @@ function SS({
50409
50384
  {
50410
50385
  className: ar.headerButton,
50411
50386
  onClick: () => {
50412
- k();
50387
+ w();
50413
50388
  },
50414
50389
  children: /* @__PURE__ */ p(Fh, {})
50415
50390
  }
@@ -50705,9 +50680,9 @@ const Om = Wn(function({
50705
50680
  const H = r(b.props.children).split(`
50706
50681
  `);
50707
50682
  if (H.length > 1) {
50708
- const k = H.slice(1).join(`
50683
+ const w = H.slice(1).join(`
50709
50684
  `);
50710
- k.trim() && f.push(ke.cloneElement(b, b.props, k));
50685
+ w.trim() && f.push(ke.cloneElement(b, b.props, w));
50711
50686
  }
50712
50687
  } else
50713
50688
  f.push(b);
@@ -50951,42 +50926,42 @@ function ore(e) {
50951
50926
  };
50952
50927
  t.default.height && (n.height = t.default.height), t.default.name && (n.name = t.default.name), t.default.popOutUrl && (n.popOutUrl = t.default.popOutUrl);
50953
50928
  for (let H = 0; H <= r; H++) {
50954
- let k, $ = "";
50955
- if (((v = t.app) == null ? void 0 : v.order) === H ? (k = t.app, $ = "app") : ((x = t.config) == null ? void 0 : x.order) === H ? (k = t.config, $ = "config") : ((C = t.api) == null ? void 0 : C.order) === H && (k = t.api, $ = "api"), !k && t.descriptions) {
50929
+ let w, $ = "";
50930
+ if (((v = t.app) == null ? void 0 : v.order) === H ? (w = t.app, $ = "app") : ((x = t.config) == null ? void 0 : x.order) === H ? (w = t.config, $ = "config") : ((C = t.api) == null ? void 0 : C.order) === H && (w = t.api, $ = "api"), !w && t.descriptions) {
50956
50931
  const O = t.descriptions.find((E) => E.order === H);
50957
- O && (k = O, $ = "desc");
50932
+ O && (w = O, $ = "desc");
50958
50933
  }
50959
- if (!k && t.components) {
50934
+ if (!w && t.components) {
50960
50935
  const O = t.components.find((E) => E.order === H);
50961
- O && (k = O, $ = "comp");
50936
+ O && (w = O, $ = "comp");
50962
50937
  }
50963
- if (k === void 0)
50938
+ if (w === void 0)
50964
50939
  continue;
50965
- let _ = `${k.copy ? "copy" : ""} ${k.filename ? `filename="${k.filename}"` : ""} ${k.name ? `name="${k.name}"` : ""} ${k.popOutUrl ? `popOutUrl="${k.popOutUrl}"` : ""}`;
50966
- if (k.highlights && k.highlights.length > 0) {
50967
- const O = k.highlights.map(
50940
+ let _ = `${w.copy ? "copy" : ""} ${w.filename ? `filename="${w.filename}"` : ""} ${w.name ? `name="${w.name}"` : ""} ${w.popOutUrl ? `popOutUrl="${w.popOutUrl}"` : ""}`;
50941
+ if (w.highlights && w.highlights.length > 0) {
50942
+ const O = w.highlights.map(
50968
50943
  (E) => Array.isArray(E) ? `${E[0]}-${E[1]}` : E
50969
50944
  ).join(",");
50970
50945
  _ += `{${O}}`;
50971
50946
  }
50972
- switch (k.patterns && k.patterns.length > 0 && (_ += " " + k.patterns.map((O) => `/${O}/`).join(" ")), k.borderedPatterns && k.borderedPatterns.length > 0 && (_ += " " + k.borderedPatterns.map((O) => "!/" + O + "/").join(" ")), _ = _.trim().replace(/\s+/g, " "), $) {
50947
+ switch (w.patterns && w.patterns.length > 0 && (_ += " " + w.patterns.map((O) => `/${O}/`).join(" ")), w.borderedPatterns && w.borderedPatterns.length > 0 && (_ += " " + w.borderedPatterns.map((O) => "!/" + O + "/").join(" ")), _ = _.trim().replace(/\s+/g, " "), $) {
50973
50948
  case "app":
50974
- k.display && (o += "```xmlui " + _ + `
50975
- ` + k.content + "```\n\n"), n.app = k.content;
50949
+ w.display && (o += "```xmlui " + _ + `
50950
+ ` + w.content + "```\n\n"), n.app = w.content;
50976
50951
  break;
50977
50952
  case "config":
50978
- k.display && (o += "```json " + _ + `
50979
- ` + k.content + "```\n\n"), n.config = k.content;
50953
+ w.display && (o += "```json " + _ + `
50954
+ ` + w.content + "```\n\n"), n.config = w.content;
50980
50955
  break;
50981
50956
  case "api":
50982
- n.api = k.content;
50957
+ n.api = w.content;
50983
50958
  break;
50984
50959
  case "comp":
50985
- k.display && (o += "```xmlui " + _ + `
50986
- ` + k.content + "```\n\n"), n.components ?? (n.components = []), n.components.push(k.content);
50960
+ w.display && (o += "```xmlui " + _ + `
50961
+ ` + w.content + "```\n\n"), n.components ?? (n.components = []), n.components.push(w.content);
50987
50962
  break;
50988
50963
  case "desc":
50989
- o += k.content + `
50964
+ o += w.content + `
50990
50965
  `;
50991
50966
  break;
50992
50967
  }