oiu-core 0.1.7 → 0.1.9

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.
@@ -122,26 +122,26 @@ function Sb() {
122
122
  return c === l && (c !== 0 || 1 / c === 1 / l) || c !== c && l !== l;
123
123
  }
124
124
  var r = typeof Object.is == "function" ? Object.is : t, n = e.useSyncExternalStore, o = e.useRef, i = e.useEffect, s = e.useMemo, a = e.useDebugValue;
125
- return Xs.useSyncExternalStoreWithSelector = function(c, l, u, d, p) {
125
+ return Xs.useSyncExternalStoreWithSelector = function(c, l, u, d, h) {
126
126
  var m = o(null);
127
127
  if (m.current === null) {
128
- var h = { hasValue: !1, value: null };
129
- m.current = h;
130
- } else h = m.current;
128
+ var p = { hasValue: !1, value: null };
129
+ m.current = p;
130
+ } else p = m.current;
131
131
  m = s(
132
132
  function() {
133
133
  function f(y) {
134
134
  if (!g) {
135
- if (g = !0, E = y, y = d(y), p !== void 0 && h.hasValue) {
136
- var C = h.value;
137
- if (p(C, y))
135
+ if (g = !0, E = y, y = d(y), h !== void 0 && p.hasValue) {
136
+ var C = p.value;
137
+ if (h(C, y))
138
138
  return b = C;
139
139
  }
140
140
  return b = y;
141
141
  }
142
142
  if (C = b, r(E, y)) return C;
143
143
  var x = d(y);
144
- return p !== void 0 && p(C, x) ? (E = y, C) : (E = y, b = x);
144
+ return h !== void 0 && h(C, x) ? (E = y, C) : (E = y, b = x);
145
145
  }
146
146
  var g = !1, E, b, w = u === void 0 ? null : u;
147
147
  return [
@@ -153,12 +153,12 @@ function Sb() {
153
153
  }
154
154
  ];
155
155
  },
156
- [l, u, d, p]
156
+ [l, u, d, h]
157
157
  );
158
158
  var v = n(c, m[0], m[1]);
159
159
  return i(
160
160
  function() {
161
- h.hasValue = !0, h.value = v;
161
+ p.hasValue = !0, p.value = v;
162
162
  },
163
163
  [v]
164
164
  ), a(v), v;
@@ -173,19 +173,19 @@ function Cb() {
173
173
  }
174
174
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
175
175
  var t = re, r = typeof Object.is == "function" ? Object.is : e, n = t.useSyncExternalStore, o = t.useRef, i = t.useEffect, s = t.useMemo, a = t.useDebugValue;
176
- Qs.useSyncExternalStoreWithSelector = function(c, l, u, d, p) {
176
+ Qs.useSyncExternalStoreWithSelector = function(c, l, u, d, h) {
177
177
  var m = o(null);
178
178
  if (m.current === null) {
179
- var h = { hasValue: !1, value: null };
180
- m.current = h;
181
- } else h = m.current;
179
+ var p = { hasValue: !1, value: null };
180
+ m.current = p;
181
+ } else p = m.current;
182
182
  m = s(
183
183
  function() {
184
184
  function f(y) {
185
185
  if (!g) {
186
- if (g = !0, E = y, y = d(y), p !== void 0 && h.hasValue) {
187
- var C = h.value;
188
- if (p(C, y))
186
+ if (g = !0, E = y, y = d(y), h !== void 0 && p.hasValue) {
187
+ var C = p.value;
188
+ if (h(C, y))
189
189
  return b = C;
190
190
  }
191
191
  return b = y;
@@ -193,7 +193,7 @@ function Cb() {
193
193
  if (C = b, r(E, y))
194
194
  return C;
195
195
  var x = d(y);
196
- return p !== void 0 && p(C, x) ? (E = y, C) : (E = y, b = x);
196
+ return h !== void 0 && h(C, x) ? (E = y, C) : (E = y, b = x);
197
197
  }
198
198
  var g = !1, E, b, w = u === void 0 ? null : u;
199
199
  return [
@@ -205,12 +205,12 @@ function Cb() {
205
205
  }
206
206
  ];
207
207
  },
208
- [l, u, d, p]
208
+ [l, u, d, h]
209
209
  );
210
210
  var v = n(c, m[0], m[1]);
211
211
  return i(
212
212
  function() {
213
- h.hasValue = !0, h.value = v;
213
+ p.hasValue = !0, p.value = v;
214
214
  },
215
215
  [v]
216
216
  ), a(v), v;
@@ -281,7 +281,7 @@ function $b(e = tn) {
281
281
  const s = t(), { store: a, subscription: c, getServerState: l } = s, u = S.useRef(!0), d = S.useCallback(
282
282
  {
283
283
  [n.name](m) {
284
- const h = n(m);
284
+ const p = n(m);
285
285
  if (process.env.NODE_ENV !== "production") {
286
286
  const { devModeChecks: v = {} } = typeof o == "function" ? {} : o, { identityFunctionCheck: f, stabilityCheck: g } = s, {
287
287
  identityFunctionCheck: E,
@@ -293,7 +293,7 @@ function $b(e = tn) {
293
293
  };
294
294
  if (b === "always" || b === "once" && u.current) {
295
295
  const w = n(m);
296
- if (!i(h, w)) {
296
+ if (!i(p, w)) {
297
297
  let y;
298
298
  try {
299
299
  throw new Error();
@@ -305,14 +305,14 @@ function $b(e = tn) {
305
305
  Selectors that return a new reference (such as an object or an array) should be memoized: https://redux.js.org/usage/deriving-data-selectors#optimizing-selectors-with-memoization`,
306
306
  {
307
307
  state: m,
308
- selected: h,
308
+ selected: p,
309
309
  selected2: w,
310
310
  stack: y
311
311
  }
312
312
  );
313
313
  }
314
314
  }
315
- if ((E === "always" || E === "once" && u.current) && h === m) {
315
+ if ((E === "always" || E === "once" && u.current) && p === m) {
316
316
  let w;
317
317
  try {
318
318
  throw new Error();
@@ -327,18 +327,18 @@ Selectors that return the entire state are almost certainly a mistake, as they w
327
327
  }
328
328
  u.current && (u.current = !1);
329
329
  }
330
- return h;
330
+ return p;
331
331
  }
332
332
  }[n.name],
333
333
  [n]
334
- ), p = Pb.useSyncExternalStoreWithSelector(
334
+ ), h = Pb.useSyncExternalStoreWithSelector(
335
335
  c.addNestedSub,
336
336
  a.getState,
337
337
  l || a.getState,
338
338
  d,
339
339
  i
340
340
  );
341
- return S.useDebugValue(p), p;
341
+ return S.useDebugValue(h), h;
342
342
  };
343
343
  return Object.assign(r, {
344
344
  withTypes: () => r
@@ -480,7 +480,7 @@ function Wh(e, t, r) {
480
480
  }
481
481
  };
482
482
  }
483
- function p(f) {
483
+ function h(f) {
484
484
  if (!Jt(f))
485
485
  throw new Error(process.env.NODE_ENV === "production" ? tt(7) : `Actions must be plain objects. Instead, the actual type was: '${Tr(f)}'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.`);
486
486
  if (typeof f.type > "u")
@@ -501,11 +501,11 @@ function Wh(e, t, r) {
501
501
  function m(f) {
502
502
  if (typeof f != "function")
503
503
  throw new Error(process.env.NODE_ENV === "production" ? tt(10) : `Expected the nextReducer to be a function. Instead, received: '${Tr(f)}`);
504
- n = f, p({
504
+ n = f, h({
505
505
  type: Zr.REPLACE
506
506
  });
507
507
  }
508
- function h() {
508
+ function p() {
509
509
  const f = d;
510
510
  return {
511
511
  /**
@@ -532,14 +532,14 @@ function Wh(e, t, r) {
532
532
  }
533
533
  };
534
534
  }
535
- return p({
535
+ return h({
536
536
  type: Zr.INIT
537
537
  }), {
538
- dispatch: p,
538
+ dispatch: h,
539
539
  subscribe: d,
540
540
  getState: u,
541
541
  replaceReducer: m,
542
- [uf]: h
542
+ [uf]: p
543
543
  };
544
544
  }
545
545
  function ff(e) {
@@ -599,12 +599,12 @@ function Gh(e) {
599
599
  let l = !1;
600
600
  const u = {};
601
601
  for (let d = 0; d < n.length; d++) {
602
- const p = n[d], m = r[p], h = a[p], v = m(h, c);
602
+ const h = n[d], m = r[h], p = a[h], v = m(p, c);
603
603
  if (typeof v > "u") {
604
604
  const f = c && c.type;
605
- throw new Error(process.env.NODE_ENV === "production" ? tt(14) : `When called with an action of type ${f ? `"${String(f)}"` : "(unknown type)"}, the slice reducer for key "${p}" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.`);
605
+ throw new Error(process.env.NODE_ENV === "production" ? tt(14) : `When called with an action of type ${f ? `"${String(f)}"` : "(unknown type)"}, the slice reducer for key "${h}" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.`);
606
606
  }
607
- u[p] = v, l = l || v !== h;
607
+ u[h] = v, l = l || v !== p;
608
608
  }
609
609
  return l = l || n.length !== Object.keys(a).length, l ? u : a;
610
610
  };
@@ -1192,42 +1192,42 @@ function rm(e) {
1192
1192
  function c0() {
1193
1193
  process.env.NODE_ENV !== "production" && Xh.push(
1194
1194
  'Sets cannot have "replace" patches.',
1195
- function(h) {
1196
- return "Unsupported patch operation: " + h;
1195
+ function(p) {
1196
+ return "Unsupported patch operation: " + p;
1197
1197
  },
1198
- function(h) {
1199
- return "Cannot apply patch, path doesn't resolve: " + h;
1198
+ function(p) {
1199
+ return "Cannot apply patch, path doesn't resolve: " + p;
1200
1200
  },
1201
1201
  "Patching reserved attributes like __proto__, prototype and constructor is not allowed"
1202
1202
  );
1203
- function t(h, v = []) {
1204
- if ("key_" in h && h.key_ !== void 0) {
1205
- const f = h.parent_.copy_ ?? h.parent_.base_, g = Yb(dr(f, h.key_)), E = dr(f, h.key_);
1206
- if (E === void 0 || E !== h.draft_ && E !== h.base_ && E !== h.copy_ || g != null && g.base_ !== h.base_)
1203
+ function t(p, v = []) {
1204
+ if ("key_" in p && p.key_ !== void 0) {
1205
+ const f = p.parent_.copy_ ?? p.parent_.base_, g = Yb(dr(f, p.key_)), E = dr(f, p.key_);
1206
+ if (E === void 0 || E !== p.draft_ && E !== p.base_ && E !== p.copy_ || g != null && g.base_ !== p.base_)
1207
1207
  return null;
1208
- const b = h.parent_.type_ === 3;
1208
+ const b = p.parent_.type_ === 3;
1209
1209
  let w;
1210
1210
  if (b) {
1211
- const y = h.parent_;
1212
- w = Array.from(y.drafts_.keys()).indexOf(h.key_);
1211
+ const y = p.parent_;
1212
+ w = Array.from(y.drafts_.keys()).indexOf(p.key_);
1213
1213
  } else
1214
- w = h.key_;
1214
+ w = p.key_;
1215
1215
  if (!(b && f.size > w || mo(f, w)))
1216
1216
  return null;
1217
1217
  v.push(w);
1218
1218
  }
1219
- if (h.parent_)
1220
- return t(h.parent_, v);
1219
+ if (p.parent_)
1220
+ return t(p.parent_, v);
1221
1221
  v.reverse();
1222
1222
  try {
1223
- r(h.copy_, v);
1223
+ r(p.copy_, v);
1224
1224
  } catch {
1225
1225
  return null;
1226
1226
  }
1227
1227
  return v;
1228
1228
  }
1229
- function r(h, v) {
1230
- let f = h;
1229
+ function r(p, v) {
1230
+ let f = p;
1231
1231
  for (let g = 0; g < v.length - 1; g++) {
1232
1232
  const E = v[g];
1233
1233
  if (f = dr(f, E), !Mn(f) || f === null)
@@ -1236,40 +1236,40 @@ function c0() {
1236
1236
  return f;
1237
1237
  }
1238
1238
  const n = "replace", o = "add", i = "remove";
1239
- function s(h, v, f) {
1240
- if (h.scope_.processedForPatches_.has(h))
1239
+ function s(p, v, f) {
1240
+ if (p.scope_.processedForPatches_.has(p))
1241
1241
  return;
1242
- h.scope_.processedForPatches_.add(h);
1242
+ p.scope_.processedForPatches_.add(p);
1243
1243
  const { patches_: g, inversePatches_: E } = f;
1244
- switch (h.type_) {
1244
+ switch (p.type_) {
1245
1245
  case 0:
1246
1246
  case 2:
1247
1247
  return c(
1248
- h,
1248
+ p,
1249
1249
  v,
1250
1250
  g,
1251
1251
  E
1252
1252
  );
1253
1253
  case 1:
1254
1254
  return a(
1255
- h,
1255
+ p,
1256
1256
  v,
1257
1257
  g,
1258
1258
  E
1259
1259
  );
1260
1260
  case 3:
1261
1261
  return l(
1262
- h,
1262
+ p,
1263
1263
  v,
1264
1264
  g,
1265
1265
  E
1266
1266
  );
1267
1267
  }
1268
1268
  }
1269
- function a(h, v, f, g) {
1270
- let { base_: E, assigned_: b } = h, w = h.copy_;
1269
+ function a(p, v, f, g) {
1270
+ let { base_: E, assigned_: b } = p, w = p.copy_;
1271
1271
  w.length < E.length && ([E, w] = [w, E], [f, g] = [g, f]);
1272
- const y = h.allIndicesReassigned_ === !0;
1272
+ const y = p.allIndicesReassigned_ === !0;
1273
1273
  for (let C = 0; C < E.length; C++) {
1274
1274
  const x = w[C], P = E[C];
1275
1275
  if ((y || b?.get(C.toString())) && x !== P) {
@@ -1308,9 +1308,9 @@ function c0() {
1308
1308
  });
1309
1309
  }
1310
1310
  }
1311
- function c(h, v, f, g) {
1312
- const { base_: E, copy_: b, type_: w } = h;
1313
- qn(h.assigned_, (y, C) => {
1311
+ function c(p, v, f, g) {
1312
+ const { base_: E, copy_: b, type_: w } = p;
1313
+ qn(p.assigned_, (y, C) => {
1314
1314
  const x = dr(E, y, w), P = dr(b, y, w), R = C ? mo(E, y) ? n : o : i;
1315
1315
  if (x === P && R === n)
1316
1316
  return;
@@ -1322,8 +1322,8 @@ function c0() {
1322
1322
  );
1323
1323
  });
1324
1324
  }
1325
- function l(h, v, f, g) {
1326
- let { base_: E, copy_: b } = h, w = 0;
1325
+ function l(p, v, f, g) {
1326
+ let { base_: E, copy_: b } = p, w = 0;
1327
1327
  E.forEach((y) => {
1328
1328
  if (!b.has(y)) {
1329
1329
  const C = v.concat([w]);
@@ -1354,7 +1354,7 @@ function c0() {
1354
1354
  w++;
1355
1355
  });
1356
1356
  }
1357
- function u(h, v, f) {
1357
+ function u(p, v, f) {
1358
1358
  const { patches_: g, inversePatches_: E } = f;
1359
1359
  g.push({
1360
1360
  op: n,
@@ -1363,19 +1363,19 @@ function c0() {
1363
1363
  }), E.push({
1364
1364
  op: n,
1365
1365
  path: [],
1366
- value: h
1366
+ value: p
1367
1367
  });
1368
1368
  }
1369
- function d(h, v) {
1369
+ function d(p, v) {
1370
1370
  return v.forEach((f) => {
1371
1371
  const { path: g, op: E } = f;
1372
- let b = h;
1372
+ let b = p;
1373
1373
  for (let x = 0; x < g.length - 1; x++) {
1374
1374
  const P = nn(b);
1375
1375
  let R = g[x];
1376
1376
  typeof R != "string" && typeof R != "number" && (R = "" + R), (P === 0 || P === 1) && (R === "__proto__" || R === Co) && Xe(19), Ar(b) && R === jo && Xe(19), b = dr(b, R), Mn(b) || Xe(18, g.join("/"));
1377
1377
  }
1378
- const w = nn(b), y = p(f.value), C = g[g.length - 1];
1378
+ const w = nn(b), y = h(f.value), C = g[g.length - 1];
1379
1379
  switch (E) {
1380
1380
  case n:
1381
1381
  switch (w) {
@@ -1411,26 +1411,26 @@ function c0() {
1411
1411
  default:
1412
1412
  Xe(17, E);
1413
1413
  }
1414
- }), h;
1414
+ }), p;
1415
1415
  }
1416
- function p(h) {
1417
- if (!_t(h))
1418
- return h;
1419
- if (zo(h))
1420
- return h.map(p);
1421
- if (qo(h))
1416
+ function h(p) {
1417
+ if (!_t(p))
1418
+ return p;
1419
+ if (zo(p))
1420
+ return p.map(h);
1421
+ if (qo(p))
1422
1422
  return new Map(
1423
- Array.from(h.entries()).map(([f, g]) => [f, p(g)])
1423
+ Array.from(p.entries()).map(([f, g]) => [f, h(g)])
1424
1424
  );
1425
- if (Uo(h))
1426
- return new Set(Array.from(h).map(p));
1427
- const v = Object.create(rn(h));
1428
- for (const f in h)
1429
- v[f] = p(h[f]);
1430
- return mo(h, ho) && (v[ho] = h[ho]), v;
1425
+ if (Uo(p))
1426
+ return new Set(Array.from(p).map(h));
1427
+ const v = Object.create(rn(p));
1428
+ for (const f in p)
1429
+ v[f] = h(p[f]);
1430
+ return mo(p, ho) && (v[ho] = p[ho]), v;
1431
1431
  }
1432
- function m(h) {
1433
- return Pt(h) ? p(h) : h;
1432
+ function m(p) {
1433
+ return Pt(p) ? h(p) : p;
1434
1434
  }
1435
1435
  Zb(Qi, {
1436
1436
  applyPatches_: d,
@@ -1559,18 +1559,18 @@ function Ki(e, t = {}) {
1559
1559
  function s() {
1560
1560
  let a = r;
1561
1561
  const { length: c } = arguments;
1562
- for (let d = 0, p = c; d < p; d++) {
1562
+ for (let d = 0, h = c; d < h; d++) {
1563
1563
  const m = arguments[d];
1564
1564
  if (typeof m == "function" || typeof m == "object" && m !== null) {
1565
- let h = a.o;
1566
- h === null && (a.o = h = /* @__PURE__ */ new WeakMap());
1567
- const v = h.get(m);
1568
- v === void 0 ? (a = di(), h.set(m, a)) : a = v;
1565
+ let p = a.o;
1566
+ p === null && (a.o = p = /* @__PURE__ */ new WeakMap());
1567
+ const v = p.get(m);
1568
+ v === void 0 ? (a = di(), p.set(m, a)) : a = v;
1569
1569
  } else {
1570
- let h = a.p;
1571
- h === null && (a.p = h = /* @__PURE__ */ new Map());
1572
- const v = h.get(m);
1573
- v === void 0 ? (a = di(), h.set(m, a)) : a = v;
1570
+ let p = a.p;
1571
+ p === null && (a.p = p = /* @__PURE__ */ new Map());
1572
+ const v = p.get(m);
1573
+ v === void 0 ? (a = di(), p.set(m, a)) : a = v;
1574
1574
  }
1575
1575
  }
1576
1576
  const l = a;
@@ -1604,11 +1604,11 @@ function E0(e, ...t) {
1604
1604
  ...c
1605
1605
  }, {
1606
1606
  memoize: d,
1607
- memoizeOptions: p = [],
1607
+ memoizeOptions: h = [],
1608
1608
  argsMemoize: m = Ki,
1609
- argsMemoizeOptions: h = [],
1609
+ argsMemoizeOptions: p = [],
1610
1610
  devModeChecks: v = {}
1611
- } = u, f = Ef(p), g = Ef(h), E = m0(o), b = d(function() {
1611
+ } = u, f = Ef(h), g = Ef(p), E = m0(o), b = d(function() {
1612
1612
  return i++, l.apply(
1613
1613
  null,
1614
1614
  arguments
@@ -1811,11 +1811,11 @@ function lm(e, t = [], r, n, o = !1, i = "") {
1811
1811
  const l = t.length > 0;
1812
1812
  for (let u in c) {
1813
1813
  const d = i ? i + "." + u : u;
1814
- if (l && t.some((h) => h instanceof RegExp ? h.test(d) : d === h))
1814
+ if (l && t.some((p) => p instanceof RegExp ? p.test(d) : d === p))
1815
1815
  continue;
1816
- const p = lm(e, t, r.children[u], n[u], a, d);
1817
- if (p.wasMutated)
1818
- return p;
1816
+ const h = lm(e, t, r.children[u], n[u], a, d);
1817
+ if (h.wasMutated)
1818
+ return h;
1819
1819
  }
1820
1820
  return {
1821
1821
  wasMutated: !1
@@ -1829,14 +1829,14 @@ function N0(e = {}) {
1829
1829
  return JSON.stringify(a, r(c, u), l);
1830
1830
  }, r = function(a, c) {
1831
1831
  let l = [], u = [];
1832
- return c || (c = function(d, p) {
1833
- return l[0] === p ? "[Circular ~]" : "[Circular ~." + u.slice(0, l.indexOf(p)).join(".") + "]";
1834
- }), function(d, p) {
1832
+ return c || (c = function(d, h) {
1833
+ return l[0] === h ? "[Circular ~]" : "[Circular ~." + u.slice(0, l.indexOf(h)).join(".") + "]";
1834
+ }), function(d, h) {
1835
1835
  if (l.length > 0) {
1836
1836
  var m = l.indexOf(this);
1837
- ~m ? l.splice(m + 1) : l.push(this), ~m ? u.splice(m, 1 / 0, d) : u.push(d), ~l.indexOf(p) && (p = c.call(this, d, p));
1838
- } else l.push(p);
1839
- return a == null ? p : a.call(this, d, p);
1837
+ ~m ? l.splice(m + 1) : l.push(this), ~m ? u.splice(m, 1 / 0, d) : u.push(d), ~l.indexOf(h) && (h = c.call(this, d, h));
1838
+ } else l.push(h);
1839
+ return a == null ? h : a.call(this, d, h);
1840
1840
  };
1841
1841
  }, {
1842
1842
  isImmutable: n = R0,
@@ -1848,17 +1848,17 @@ function N0(e = {}) {
1848
1848
  getState: a
1849
1849
  }) => {
1850
1850
  let c = a(), l = s(c), u;
1851
- return (d) => (p) => {
1851
+ return (d) => (h) => {
1852
1852
  const m = sm(i, "ImmutableStateInvariantMiddleware");
1853
1853
  m.measureTime(() => {
1854
1854
  if (c = a(), u = l.detectMutations(), l = s(c), u.wasMutated)
1855
1855
  throw new Error(process.env.NODE_ENV === "production" ? we(19) : `A state mutation was detected between dispatches, in the path '${u.path || ""}'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`);
1856
1856
  });
1857
- const h = d(p);
1857
+ const p = d(h);
1858
1858
  return m.measureTime(() => {
1859
1859
  if (c = a(), u = l.detectMutations(), l = s(c), u.wasMutated)
1860
- throw new Error(process.env.NODE_ENV === "production" ? we(20) : `A state mutation was detected inside a dispatch, in the path: ${u.path || ""}. Take a look at the reducer(s) handling the action ${t(p)}. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`);
1861
- }), m.warnIfExceeded(), h;
1860
+ throw new Error(process.env.NODE_ENV === "production" ? we(20) : `A state mutation was detected inside a dispatch, in the path: ${u.path || ""}. Take a look at the reducer(s) handling the action ${t(h)}. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`);
1861
+ }), m.warnIfExceeded(), p;
1862
1862
  };
1863
1863
  };
1864
1864
  }
@@ -1912,10 +1912,10 @@ function A0(e = {}) {
1912
1912
  ignoreActions: c = !1,
1913
1913
  disableCache: l = !1
1914
1914
  } = e, u = !l && WeakSet ? /* @__PURE__ */ new WeakSet() : void 0;
1915
- return (d) => (p) => (m) => {
1915
+ return (d) => (h) => (m) => {
1916
1916
  if (!Yl(m))
1917
- return p(m);
1918
- const h = p(m), v = sm(s, "SerializableStateInvariantMiddleware");
1917
+ return h(m);
1918
+ const p = h(m), v = sm(s, "SerializableStateInvariantMiddleware");
1919
1919
  return !c && !(n.length && n.indexOf(m.type) !== -1) && v.measureTime(() => {
1920
1920
  const f = _c(m, "", t, r, o, u);
1921
1921
  if (f) {
@@ -1939,7 +1939,7 @@ Take a look at the logic that dispatched this action: `, m, `
1939
1939
  Take a look at the reducer(s) handling this action type: ${m.type}.
1940
1940
  (See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`);
1941
1941
  }
1942
- }), v.warnIfExceeded()), h;
1942
+ }), v.warnIfExceeded()), p;
1943
1943
  };
1944
1944
  }
1945
1945
  }
@@ -1991,9 +1991,9 @@ var $0 = () => function(t) {
1991
1991
  // Override the base `store.subscribe` method to keep original listeners
1992
1992
  // from running if we're delaying notifications
1993
1993
  subscribe(u) {
1994
- const d = () => o && u(), p = n.subscribe(d);
1994
+ const d = () => o && u(), h = n.subscribe(d);
1995
1995
  return a.add(u), () => {
1996
- p(), a.delete(u);
1996
+ h(), a.delete(u);
1997
1997
  };
1998
1998
  },
1999
1999
  // Override the base `store.dispatch` method so that we can check actions
@@ -2053,17 +2053,17 @@ function F0(e) {
2053
2053
  trace: process.env.NODE_ENV !== "production",
2054
2054
  ...typeof o == "object" && o
2055
2055
  }));
2056
- const d = Ub(...l), p = M0(d);
2056
+ const d = Ub(...l), h = M0(d);
2057
2057
  if (process.env.NODE_ENV !== "production" && a && typeof a != "function")
2058
2058
  throw new Error(process.env.NODE_ENV === "production" ? we(5) : "`enhancers` field must be a callback");
2059
- let m = typeof a == "function" ? a(p) : p();
2059
+ let m = typeof a == "function" ? a(h) : h();
2060
2060
  if (process.env.NODE_ENV !== "production" && !Array.isArray(m))
2061
2061
  throw new Error(process.env.NODE_ENV === "production" ? we(6) : "`enhancers` callback must return an array");
2062
2062
  if (process.env.NODE_ENV !== "production" && m.some((v) => typeof v != "function"))
2063
2063
  throw new Error(process.env.NODE_ENV === "production" ? we(7) : "each enhancer provided to configureStore must be a function");
2064
2064
  process.env.NODE_ENV !== "production" && l.length && !m.includes(d) && console.error("middlewares were provided, but middleware enhancer was not included in final enhancers - make sure to call `getDefaultEnhancers`");
2065
- const h = u(...m);
2066
- return Wh(c, s, h);
2065
+ const p = u(...m);
2066
+ return Wh(c, s, p);
2067
2067
  }
2068
2068
  function dm(e) {
2069
2069
  const t = {}, r = [];
@@ -2133,15 +2133,15 @@ function L0(e, t) {
2133
2133
  return m === void 0 ? u : m;
2134
2134
  } else {
2135
2135
  if (_t(u))
2136
- return Wo(u, (p) => d(p, c));
2136
+ return Wo(u, (h) => d(h, c));
2137
2137
  {
2138
- const p = d(u, c);
2139
- if (p === void 0) {
2138
+ const h = d(u, c);
2139
+ if (h === void 0) {
2140
2140
  if (u === null)
2141
2141
  return u;
2142
2142
  throw Error("A case reducer on a non-draftable value must not return undefined");
2143
2143
  }
2144
- return p;
2144
+ return h;
2145
2145
  }
2146
2146
  }
2147
2147
  return u;
@@ -2231,11 +2231,11 @@ var k0 = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", ou
2231
2231
  requestId: c,
2232
2232
  requestStatus: "pending"
2233
2233
  }
2234
- })), s = qt(t + "/rejected", (c, l, u, d, p) => ({
2234
+ })), s = qt(t + "/rejected", (c, l, u, d, h) => ({
2235
2235
  payload: d,
2236
2236
  error: (n && n.serializeError || V0)(c || "Rejected"),
2237
2237
  meta: {
2238
- ...p || {},
2238
+ ...h || {},
2239
2239
  arg: u,
2240
2240
  requestId: l,
2241
2241
  rejectedWithValue: !!d,
@@ -2247,11 +2247,11 @@ var k0 = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", ou
2247
2247
  function a(c, {
2248
2248
  signal: l
2249
2249
  } = {}) {
2250
- return (u, d, p) => {
2251
- const m = n?.idGenerator ? n.idGenerator(c) : ou(), h = new AbortController();
2250
+ return (u, d, h) => {
2251
+ const m = n?.idGenerator ? n.idGenerator(c) : ou(), p = new AbortController();
2252
2252
  let v, f;
2253
2253
  function g(b) {
2254
- f = b, h.abort();
2254
+ f = b, p.abort();
2255
2255
  }
2256
2256
  l && (l.aborted ? g(_f) : l.addEventListener("abort", () => g(_f), {
2257
2257
  once: !0
@@ -2261,9 +2261,9 @@ var k0 = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", ou
2261
2261
  try {
2262
2262
  let y = n?.condition?.(c, {
2263
2263
  getState: d,
2264
- extra: p
2264
+ extra: h
2265
2265
  });
2266
- if (j0(y) && (y = await y), y === !1 || h.signal.aborted)
2266
+ if (j0(y) && (y = await y), y === !1 || p.signal.aborted)
2267
2267
  throw {
2268
2268
  name: "ConditionError",
2269
2269
  message: "Aborted due to condition callback returning false."
@@ -2274,7 +2274,7 @@ var k0 = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", ou
2274
2274
  name: "AbortError",
2275
2275
  message: f || "Aborted"
2276
2276
  });
2277
- }, h.signal.addEventListener("abort", v, {
2277
+ }, p.signal.addEventListener("abort", v, {
2278
2278
  once: !0
2279
2279
  });
2280
2280
  });
@@ -2283,13 +2283,13 @@ var k0 = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", ou
2283
2283
  arg: c
2284
2284
  }, {
2285
2285
  getState: d,
2286
- extra: p
2286
+ extra: h
2287
2287
  }))), b = await Promise.race([C, Promise.resolve(r(c, {
2288
2288
  dispatch: u,
2289
2289
  getState: d,
2290
- extra: p,
2290
+ extra: h,
2291
2291
  requestId: m,
2292
- signal: h.signal,
2292
+ signal: p.signal,
2293
2293
  abort: g,
2294
2294
  rejectWithValue: (x, P) => new Js(x, P),
2295
2295
  fulfillWithValue: (x, P) => new Pf(x, P)
@@ -2301,7 +2301,7 @@ var k0 = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", ou
2301
2301
  } catch (y) {
2302
2302
  b = y instanceof Js ? s(null, m, c, y.payload, y.meta) : s(y, m, c);
2303
2303
  } finally {
2304
- v && h.signal.removeEventListener("abort", v);
2304
+ v && p.signal.removeEventListener("abort", v);
2305
2305
  }
2306
2306
  return n && !n.dispatchConditionRejection && s.match(b) && b.meta.condition || u(b), b;
2307
2307
  })();
@@ -2403,13 +2403,13 @@ function U0({
2403
2403
  y && x.addDefaultCase(y);
2404
2404
  });
2405
2405
  }
2406
- const d = (b) => b, p = /* @__PURE__ */ new Map(), m = /* @__PURE__ */ new WeakMap();
2407
- let h;
2406
+ const d = (b) => b, h = /* @__PURE__ */ new Map(), m = /* @__PURE__ */ new WeakMap();
2407
+ let p;
2408
2408
  function v(b, w) {
2409
- return h || (h = u()), h(b, w);
2409
+ return p || (p = u()), p(b, w);
2410
2410
  }
2411
2411
  function f() {
2412
- return h || (h = u()), h.getInitialState();
2412
+ return p || (p = u()), p.getInitialState();
2413
2413
  }
2414
2414
  function g(b, w = !1) {
2415
2415
  function y(x) {
@@ -2423,7 +2423,7 @@ function U0({
2423
2423
  return P;
2424
2424
  }
2425
2425
  function C(x = d) {
2426
- const P = pi(p, w, () => /* @__PURE__ */ new WeakMap());
2426
+ const P = pi(h, w, () => /* @__PURE__ */ new WeakMap());
2427
2427
  return pi(P, x, () => {
2428
2428
  const R = {};
2429
2429
  for (const [T, _] of Object.entries(n.selectors ?? {}))
@@ -2867,8 +2867,8 @@ var vE = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
2867
2867
  function bE(e) {
2868
2868
  if (e.length === 0)
2869
2869
  throw new Error("Number skeleton cannot be empty");
2870
- for (var t = e.split(vE).filter(function(p) {
2871
- return p.length > 0;
2870
+ for (var t = e.split(vE).filter(function(h) {
2871
+ return h.length > 0;
2872
2872
  }), r = [], n = 0, o = t; n < o.length; n++) {
2873
2873
  var i = o[n], s = i.split("/");
2874
2874
  if (s.length === 0)
@@ -3038,11 +3038,11 @@ function CE(e) {
3038
3038
  case "integer-width":
3039
3039
  if (o.options.length > 1)
3040
3040
  throw new RangeError("integer-width stems only accept a single optional option");
3041
- o.options[0].replace(wE, function(c, l, u, d, p, m) {
3041
+ o.options[0].replace(wE, function(c, l, u, d, h, m) {
3042
3042
  if (l)
3043
3043
  t.minimumIntegerDigits = u.length;
3044
3044
  else {
3045
- if (d && p)
3045
+ if (d && h)
3046
3046
  throw new Error("We currently do not support maximum integer digits");
3047
3047
  if (m)
3048
3048
  throw new Error("We currently do not support exact integer digits");
@@ -3058,8 +3058,8 @@ function CE(e) {
3058
3058
  if (Tf.test(o.stem)) {
3059
3059
  if (o.options.length > 1)
3060
3060
  throw new RangeError("Fraction-precision stems only accept a single optional option");
3061
- o.stem.replace(Tf, function(c, l, u, d, p, m) {
3062
- return u === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : p && m ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
3061
+ o.stem.replace(Tf, function(c, l, u, d, h, m) {
3062
+ return u === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : h && m ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
3063
3063
  });
3064
3064
  var i = o.options[0];
3065
3065
  i === "w" ? t = ie(ie({}, t), { trailingZeroDisplay: "stripIfInteger" }) : i && (t = ie(ie({}, t), Nf(i)));
@@ -4782,15 +4782,15 @@ var ME = (
4782
4782
  var u = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
4783
4783
  if (d.err)
4784
4784
  return d;
4785
- var p = $E(d.val);
4786
- if (p.length === 0)
4785
+ var h = $E(d.val);
4786
+ if (h.length === 0)
4787
4787
  return this.error(me.EXPECT_ARGUMENT_STYLE, ge(this.clonePosition(), this.clonePosition()));
4788
4788
  var m = ge(u, this.clonePosition());
4789
- l = { style: p, styleLocation: m };
4789
+ l = { style: h, styleLocation: m };
4790
4790
  }
4791
- var h = this.tryParseArgumentClose(o);
4792
- if (h.err)
4793
- return h;
4791
+ var p = this.tryParseArgumentClose(o);
4792
+ if (p.err)
4793
+ return p;
4794
4794
  var v = ge(o, this.clonePosition());
4795
4795
  if (l && l.style.startsWith("::")) {
4796
4796
  var f = AE(l.style.slice(2));
@@ -4805,14 +4805,14 @@ var ME = (
4805
4805
  return this.error(me.EXPECT_DATE_TIME_SKELETON, v);
4806
4806
  var g = f;
4807
4807
  this.locale && (g = xE(f, this.locale));
4808
- var p = {
4808
+ var h = {
4809
4809
  type: Ln.dateTime,
4810
4810
  pattern: g,
4811
4811
  location: l.styleLocation,
4812
4812
  parsedOptions: this.shouldParseSkeletons ? yE(g) : {}
4813
4813
  }, E = a === "date" ? Me.date : Me.time;
4814
4814
  return {
4815
- val: { type: E, value: n, location: v, style: p },
4815
+ val: { type: E, value: n, location: v, style: h },
4816
4816
  err: null
4817
4817
  };
4818
4818
  }
@@ -4847,9 +4847,9 @@ var ME = (
4847
4847
  var C = this.tryParsePluralOrSelectOptions(t, a, r, w);
4848
4848
  if (C.err)
4849
4849
  return C;
4850
- var h = this.tryParseArgumentClose(o);
4851
- if (h.err)
4852
- return h;
4850
+ var p = this.tryParseArgumentClose(o);
4851
+ if (p.err)
4852
+ return p;
4853
4853
  var x = ge(o, this.clonePosition());
4854
4854
  return a === "select" ? {
4855
4855
  val: {
@@ -4932,9 +4932,9 @@ var ME = (
4932
4932
  if (l.length === 0) {
4933
4933
  var d = this.clonePosition();
4934
4934
  if (r !== "select" && this.bumpIf("=")) {
4935
- var p = this.tryParseDecimalInteger(me.EXPECT_PLURAL_ARGUMENT_SELECTOR, me.INVALID_PLURAL_ARGUMENT_SELECTOR);
4936
- if (p.err)
4937
- return p;
4935
+ var h = this.tryParseDecimalInteger(me.EXPECT_PLURAL_ARGUMENT_SELECTOR, me.INVALID_PLURAL_ARGUMENT_SELECTOR);
4936
+ if (h.err)
4937
+ return h;
4938
4938
  u = ge(d, this.clonePosition()), l = this.message.slice(d.offset, this.offset());
4939
4939
  } else
4940
4940
  break;
@@ -4945,16 +4945,16 @@ var ME = (
4945
4945
  var m = this.clonePosition();
4946
4946
  if (!this.bumpIf("{"))
4947
4947
  return this.error(r === "select" ? me.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : me.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, ge(this.clonePosition(), this.clonePosition()));
4948
- var h = this.parseMessage(t + 1, r, n);
4949
- if (h.err)
4950
- return h;
4948
+ var p = this.parseMessage(t + 1, r, n);
4949
+ if (p.err)
4950
+ return p;
4951
4951
  var v = this.tryParseArgumentClose(m);
4952
4952
  if (v.err)
4953
4953
  return v;
4954
4954
  a.push([
4955
4955
  l,
4956
4956
  {
4957
- value: h.val,
4957
+ value: p.val,
4958
4958
  location: ge(m, this.clonePosition())
4959
4959
  }
4960
4960
  ]), c.add(l), this.bumpSpace(), i = this.parseIdentifierIfPossible(), l = i.value, u = i.location;
@@ -5149,11 +5149,11 @@ function Hi(e, t, r, n, o, i, s) {
5149
5149
  var d = u.value;
5150
5150
  if (!(o && d in o))
5151
5151
  throw new VE(d, s);
5152
- var p = o[d];
5152
+ var h = o[d];
5153
5153
  if (hE(u)) {
5154
- (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
5155
- type: typeof p == "string" ? lt.literal : lt.object,
5156
- value: p
5154
+ (!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), a.push({
5155
+ type: typeof h == "string" ? lt.literal : lt.object,
5156
+ value: h
5157
5157
  });
5158
5158
  continue;
5159
5159
  }
@@ -5161,7 +5161,7 @@ function Hi(e, t, r, n, o, i, s) {
5161
5161
  var m = typeof u.style == "string" ? n.date[u.style] : Nc(u.style) ? u.style.parsedOptions : void 0;
5162
5162
  a.push({
5163
5163
  type: lt.literal,
5164
- value: r.getDateTimeFormat(t, m).format(p)
5164
+ value: r.getDateTimeFormat(t, m).format(h)
5165
5165
  });
5166
5166
  continue;
5167
5167
  }
@@ -5169,23 +5169,23 @@ function Hi(e, t, r, n, o, i, s) {
5169
5169
  var m = typeof u.style == "string" ? n.time[u.style] : Nc(u.style) ? u.style.parsedOptions : n.time.medium;
5170
5170
  a.push({
5171
5171
  type: lt.literal,
5172
- value: r.getDateTimeFormat(t, m).format(p)
5172
+ value: r.getDateTimeFormat(t, m).format(h)
5173
5173
  });
5174
5174
  continue;
5175
5175
  }
5176
5176
  if (vm(u)) {
5177
5177
  var m = typeof u.style == "string" ? n.number[u.style] : xm(u.style) ? u.style.parsedOptions : void 0;
5178
- m && m.scale && (p = p * (m.scale || 1)), a.push({
5178
+ m && m.scale && (h = h * (m.scale || 1)), a.push({
5179
5179
  type: lt.literal,
5180
- value: r.getNumberFormat(t, m).format(p)
5180
+ value: r.getNumberFormat(t, m).format(h)
5181
5181
  });
5182
5182
  continue;
5183
5183
  }
5184
5184
  if (Cm(u)) {
5185
- var h = u.children, v = u.value, f = o[v];
5185
+ var p = u.children, v = u.value, f = o[v];
5186
5186
  if (!Tm(f))
5187
5187
  throw new HE(v, "function", s);
5188
- var g = Hi(h, t, r, n, o, i), E = f(g.map(function(y) {
5188
+ var g = Hi(p, t, r, n, o, i), E = f(g.map(function(y) {
5189
5189
  return y.value;
5190
5190
  }));
5191
5191
  Array.isArray(E) || (E = [E]), a.push.apply(a, E.map(function(y) {
@@ -5196,25 +5196,25 @@ function Hi(e, t, r, n, o, i, s) {
5196
5196
  }));
5197
5197
  }
5198
5198
  if (wm(u)) {
5199
- var b = u.options[p] || u.options.other;
5199
+ var b = u.options[h] || u.options.other;
5200
5200
  if (!b)
5201
- throw new Mf(u.value, p, Object.keys(u.options), s);
5201
+ throw new Mf(u.value, h, Object.keys(u.options), s);
5202
5202
  a.push.apply(a, Hi(b.value, t, r, n, o));
5203
5203
  continue;
5204
5204
  }
5205
5205
  if (Sm(u)) {
5206
- var b = u.options["=".concat(p)];
5206
+ var b = u.options["=".concat(h)];
5207
5207
  if (!b) {
5208
5208
  if (!Intl.PluralRules)
5209
5209
  throw new Lr(`Intl.PluralRules is not available in this environment.
5210
5210
  Try polyfilling it using "@formatjs/intl-pluralrules"
5211
5211
  `, er.MISSING_INTL_API, s);
5212
- var w = r.getPluralRules(t, { type: u.pluralType }).select(p - (u.offset || 0));
5212
+ var w = r.getPluralRules(t, { type: u.pluralType }).select(h - (u.offset || 0));
5213
5213
  b = u.options[w] || u.options.other;
5214
5214
  }
5215
5215
  if (!b)
5216
- throw new Mf(u.value, p, Object.keys(u.options), s);
5217
- a.push.apply(a, Hi(b.value, t, r, n, o, p - (u.offset || 0)));
5216
+ throw new Mf(u.value, h, Object.keys(u.options), s);
5217
+ a.push.apply(a, Hi(b.value, t, r, n, o, h - (u.offset || 0)));
5218
5218
  continue;
5219
5219
  }
5220
5220
  }
@@ -5608,11 +5608,11 @@ function Lf(e, t) {
5608
5608
  return ie(ie(ie({}, r), e), { date: Df(yi(r.date, t), yi(e.date || {}, t)), time: Df(yi(r.time, t), yi(e.time || {}, t)) });
5609
5609
  }
5610
5610
  var Ic = function(e, t, r, n, o) {
5611
- var i = e.locale, s = e.formats, a = e.messages, c = e.defaultLocale, l = e.defaultFormats, u = e.fallbackOnEmptyString, d = e.onError, p = e.timeZone, m = e.defaultRichTextElements;
5611
+ var i = e.locale, s = e.formats, a = e.messages, c = e.defaultLocale, l = e.defaultFormats, u = e.fallbackOnEmptyString, d = e.onError, h = e.timeZone, m = e.defaultRichTextElements;
5612
5612
  r === void 0 && (r = { id: "" });
5613
- var h = r.id, v = r.defaultMessage;
5614
- XE(!!h, "[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.github.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.github.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.github.io/docs/tooling/linter#enforce-id)\nto autofix this issue");
5615
- var f = String(h), g = (
5613
+ var p = r.id, v = r.defaultMessage;
5614
+ XE(!!p, "[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.github.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.github.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.github.io/docs/tooling/linter#enforce-id)\nto autofix this issue");
5615
+ var f = String(p), g = (
5616
5616
  // In case messages is Object.create(null)
5617
5617
  // e.g import('foo.json') from webpack)
5618
5618
  // See https://github.com/formatjs/formatjs/issues/1914
@@ -5622,7 +5622,7 @@ var Ic = function(e, t, r, n, o) {
5622
5622
  return g[0].value;
5623
5623
  if (!n && g && typeof g == "string" && !m)
5624
5624
  return g.replace(/'\{(.*?)\}'/gi, "{$1}");
5625
- if (n = ie(ie({}, m), n), s = Lf(s, p), l = Lf(l, p), !g) {
5625
+ if (n = ie(ie({}, m), n), s = Lf(s, h), l = Lf(l, h), !g) {
5626
5626
  if (u === !1 && g === "")
5627
5627
  return g;
5628
5628
  if ((!v || i && i.toLowerCase() !== c.toLowerCase()) && d(new GE(r, i)), v)
@@ -5774,8 +5774,8 @@ Try polyfilling it using "@formatjs/intl-listformat"
5774
5774
  try {
5775
5775
  var c = {}, l = Array.from(r).map(function(u, d) {
5776
5776
  if (typeof u == "object" && u !== null) {
5777
- var p = aw(d);
5778
- return c[p] = u, p;
5777
+ var h = aw(d);
5778
+ return c[h] = u, h;
5779
5779
  }
5780
5780
  return String(u);
5781
5781
  });
@@ -5922,7 +5922,7 @@ var Hf;
5922
5922
  function Sw() {
5923
5923
  if (Hf) return Se;
5924
5924
  Hf = 1;
5925
- var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, i = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, s = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, a = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, c = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, l = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, u = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, d = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, p = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, m = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, h = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, v = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, f = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, g = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, E = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
5925
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, i = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, s = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, a = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, c = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, l = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, u = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, d = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, h = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, m = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, p = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, v = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, f = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, g = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, E = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
5926
5926
  function b(y) {
5927
5927
  if (typeof y == "object" && y !== null) {
5928
5928
  var C = y.$$typeof;
@@ -5940,7 +5940,7 @@ function Sw() {
5940
5940
  switch (y = y && y.$$typeof, y) {
5941
5941
  case a:
5942
5942
  case u:
5943
- case h:
5943
+ case p:
5944
5944
  case m:
5945
5945
  case s:
5946
5946
  return y;
@@ -5956,7 +5956,7 @@ function Sw() {
5956
5956
  function w(y) {
5957
5957
  return b(y) === l;
5958
5958
  }
5959
- return Se.AsyncMode = c, Se.ConcurrentMode = l, Se.ContextConsumer = a, Se.ContextProvider = s, Se.Element = t, Se.ForwardRef = u, Se.Fragment = n, Se.Lazy = h, Se.Memo = m, Se.Portal = r, Se.Profiler = i, Se.StrictMode = o, Se.Suspense = d, Se.isAsyncMode = function(y) {
5959
+ return Se.AsyncMode = c, Se.ConcurrentMode = l, Se.ContextConsumer = a, Se.ContextProvider = s, Se.Element = t, Se.ForwardRef = u, Se.Fragment = n, Se.Lazy = p, Se.Memo = m, Se.Portal = r, Se.Profiler = i, Se.StrictMode = o, Se.Suspense = d, Se.isAsyncMode = function(y) {
5960
5960
  return w(y) || b(y) === c;
5961
5961
  }, Se.isConcurrentMode = w, Se.isContextConsumer = function(y) {
5962
5962
  return b(y) === a;
@@ -5969,7 +5969,7 @@ function Sw() {
5969
5969
  }, Se.isFragment = function(y) {
5970
5970
  return b(y) === n;
5971
5971
  }, Se.isLazy = function(y) {
5972
- return b(y) === h;
5972
+ return b(y) === p;
5973
5973
  }, Se.isMemo = function(y) {
5974
5974
  return b(y) === m;
5975
5975
  }, Se.isPortal = function(y) {
@@ -5981,17 +5981,17 @@ function Sw() {
5981
5981
  }, Se.isSuspense = function(y) {
5982
5982
  return b(y) === d;
5983
5983
  }, Se.isValidElementType = function(y) {
5984
- return typeof y == "string" || typeof y == "function" || y === n || y === l || y === i || y === o || y === d || y === p || typeof y == "object" && y !== null && (y.$$typeof === h || y.$$typeof === m || y.$$typeof === s || y.$$typeof === a || y.$$typeof === u || y.$$typeof === f || y.$$typeof === g || y.$$typeof === E || y.$$typeof === v);
5984
+ return typeof y == "string" || typeof y == "function" || y === n || y === l || y === i || y === o || y === d || y === h || typeof y == "object" && y !== null && (y.$$typeof === p || y.$$typeof === m || y.$$typeof === s || y.$$typeof === a || y.$$typeof === u || y.$$typeof === f || y.$$typeof === g || y.$$typeof === E || y.$$typeof === v);
5985
5985
  }, Se.typeOf = b, Se;
5986
5986
  }
5987
5987
  var Ce = {};
5988
5988
  var Vf;
5989
5989
  function Cw() {
5990
5990
  return Vf || (Vf = 1, process.env.NODE_ENV !== "production" && (function() {
5991
- var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, i = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, s = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, a = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, c = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, l = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, u = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, d = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, p = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, m = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, h = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, v = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, f = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, g = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, E = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
5991
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, i = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, s = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, a = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, c = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, l = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, u = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, d = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, h = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, m = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, p = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, v = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, f = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, g = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, E = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
5992
5992
  function b(L) {
5993
5993
  return typeof L == "string" || typeof L == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
5994
- L === n || L === l || L === i || L === o || L === d || L === p || typeof L == "object" && L !== null && (L.$$typeof === h || L.$$typeof === m || L.$$typeof === s || L.$$typeof === a || L.$$typeof === u || L.$$typeof === f || L.$$typeof === g || L.$$typeof === E || L.$$typeof === v);
5994
+ L === n || L === l || L === i || L === o || L === d || L === h || typeof L == "object" && L !== null && (L.$$typeof === p || L.$$typeof === m || L.$$typeof === s || L.$$typeof === a || L.$$typeof === u || L.$$typeof === f || L.$$typeof === g || L.$$typeof === E || L.$$typeof === v);
5995
5995
  }
5996
5996
  function w(L) {
5997
5997
  if (typeof L == "object" && L !== null) {
@@ -6012,7 +6012,7 @@ function Cw() {
6012
6012
  switch (G) {
6013
6013
  case a:
6014
6014
  case u:
6015
- case h:
6015
+ case p:
6016
6016
  case m:
6017
6017
  case s:
6018
6018
  return G;
@@ -6025,7 +6025,7 @@ function Cw() {
6025
6025
  }
6026
6026
  }
6027
6027
  }
6028
- var y = c, C = l, x = a, P = s, R = t, T = u, _ = n, O = h, N = m, A = r, k = i, V = o, B = d, M = !1;
6028
+ var y = c, C = l, x = a, P = s, R = t, T = u, _ = n, O = p, N = m, A = r, k = i, V = o, B = d, M = !1;
6029
6029
  function F(L) {
6030
6030
  return M || (M = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), U(L) || w(L) === c;
6031
6031
  }
@@ -6048,7 +6048,7 @@ function Cw() {
6048
6048
  return w(L) === n;
6049
6049
  }
6050
6050
  function K(L) {
6051
- return w(L) === h;
6051
+ return w(L) === p;
6052
6052
  }
6053
6053
  function j(L) {
6054
6054
  return w(L) === m;
@@ -6111,30 +6111,30 @@ function Pw() {
6111
6111
  type: !0
6112
6112
  }, i = {};
6113
6113
  i[e.ForwardRef] = n, i[e.Memo] = o;
6114
- function s(h) {
6115
- return e.isMemo(h) ? o : i[h.$$typeof] || t;
6114
+ function s(p) {
6115
+ return e.isMemo(p) ? o : i[p.$$typeof] || t;
6116
6116
  }
6117
- var a = Object.defineProperty, c = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, u = Object.getOwnPropertyDescriptor, d = Object.getPrototypeOf, p = Object.prototype;
6118
- function m(h, v, f) {
6117
+ var a = Object.defineProperty, c = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, u = Object.getOwnPropertyDescriptor, d = Object.getPrototypeOf, h = Object.prototype;
6118
+ function m(p, v, f) {
6119
6119
  if (typeof v != "string") {
6120
- if (p) {
6120
+ if (h) {
6121
6121
  var g = d(v);
6122
- g && g !== p && m(h, g, f);
6122
+ g && g !== h && m(p, g, f);
6123
6123
  }
6124
6124
  var E = c(v);
6125
6125
  l && (E = E.concat(l(v)));
6126
- for (var b = s(h), w = s(v), y = 0; y < E.length; ++y) {
6126
+ for (var b = s(p), w = s(v), y = 0; y < E.length; ++y) {
6127
6127
  var C = E[y];
6128
6128
  if (!r[C] && !(f && f[C]) && !(w && w[C]) && !(b && b[C])) {
6129
6129
  var x = u(v, C);
6130
6130
  try {
6131
- a(h, C, x);
6131
+ a(p, C, x);
6132
6132
  } catch {
6133
6133
  }
6134
6134
  }
6135
6135
  }
6136
6136
  }
6137
- return h;
6137
+ return p;
6138
6138
  }
6139
6139
  return ra = m, ra;
6140
6140
  }
@@ -6209,10 +6209,10 @@ function Tw(e, t) {
6209
6209
  return Mc(o, r) && Mc(n, i);
6210
6210
  }
6211
6211
  function Vm(e) {
6212
- var t = Gn(), r = t.formatMessage, n = t.textComponent, o = n === void 0 ? S.Fragment : n, i = e.id, s = e.description, a = e.defaultMessage, c = e.values, l = e.children, u = e.tagName, d = u === void 0 ? o : u, p = e.ignoreTag, m = { id: i, description: s, defaultMessage: a }, h = r(m, c, {
6213
- ignoreTag: p
6212
+ var t = Gn(), r = t.formatMessage, n = t.textComponent, o = n === void 0 ? S.Fragment : n, i = e.id, s = e.description, a = e.defaultMessage, c = e.values, l = e.children, u = e.tagName, d = u === void 0 ? o : u, h = e.ignoreTag, m = { id: i, description: s, defaultMessage: a }, p = r(m, c, {
6213
+ ignoreTag: h
6214
6214
  });
6215
- return typeof l == "function" ? l(Array.isArray(h) ? h : [h]) : d ? S.createElement(d, null, h) : S.createElement(S.Fragment, null, h);
6215
+ return typeof l == "function" ? l(Array.isArray(p) ? p : [p]) : d ? S.createElement(d, null, p) : S.createElement(S.Fragment, null, p);
6216
6216
  }
6217
6217
  Vm.displayName = "FormattedMessage";
6218
6218
  var Bm = S.memo(Vm, Tw);
@@ -6345,7 +6345,7 @@ const Mw = "_overlay_1ol4o_1", Fw = "_dummy_1ol4o_7", Uf = {
6345
6345
  return s ? t ? /* @__PURE__ */ be(Dw, { spin: n, skeleton: o, className: r, children: e || !s ? i : void 0 }) : /* @__PURE__ */ be(Qm, { spin: n, skeleton: o, className: r, children: e || !s ? i : void 0 }) : i;
6346
6346
  });
6347
6347
  rr.displayName = "Wait";
6348
- function Dw({ className: e = "wait-overlay", spin: t, skeleton: r, children: n }) {
6348
+ function Dw({ className: e, spin: t, skeleton: r, children: n }) {
6349
6349
  const o = Gn();
6350
6350
  if (t && t.spinning) {
6351
6351
  if (t.tip && typeof t.tip != "string") throw new Error("Only string is allowed when using translation");
@@ -6359,7 +6359,15 @@ function Qm({ className: e, skeleton: t, spin: r, children: n }) {
6359
6359
  const i = rr;
6360
6360
  if (i.spin) {
6361
6361
  const s = i.spin, { extraProps: a, ...c } = r ?? {};
6362
- return /* @__PURE__ */ be(s, { className: ae(Uf.overlay, e), ...c, extraProps: a ?? i.spinProps, children: n ?? /* @__PURE__ */ be("div", { className: Uf.dummy, children: " " }) });
6362
+ return /* @__PURE__ */ be(
6363
+ s,
6364
+ {
6365
+ className: ae(Uf.overlay, "wait-overlay", e),
6366
+ ...c,
6367
+ extraProps: a ?? i.spinProps,
6368
+ children: n ?? /* @__PURE__ */ be("div", { className: Uf.dummy, children: " " })
6369
+ }
6370
+ );
6363
6371
  }
6364
6372
  if (i.skeleton) {
6365
6373
  const s = i.skeleton, { extraProps: a, ...c } = t ?? {};
@@ -6837,8 +6845,8 @@ function IS(e, t) {
6837
6845
  const r = t.delimiter || ".", n = t.maxDepth, o = t.transformKey || $S, i = {};
6838
6846
  function s(a, c, l) {
6839
6847
  l = l || 1, Object.keys(a).forEach(function(u) {
6840
- const d = a[u], p = t.safe && Array.isArray(d), m = Object.prototype.toString.call(d), h = AS(d), v = m === "[object Object]" || m === "[object Array]", f = c ? c + r + o(u) : o(u);
6841
- if (!p && !h && v && Object.keys(d).length && (!t.maxDepth || l < n))
6848
+ const d = a[u], h = t.safe && Array.isArray(d), m = Object.prototype.toString.call(d), p = AS(d), v = m === "[object Object]" || m === "[object Array]", f = c ? c + r + o(u) : o(u);
6849
+ if (!h && !p && v && Object.keys(d).length && (!t.maxDepth || l < n))
6842
6850
  return s(d, f, l + 1);
6843
6851
  i[f] = d;
6844
6852
  });
@@ -6882,36 +6890,47 @@ const MS = {
6882
6890
  }
6883
6891
  }
6884
6892
  };
6885
- function LS({ children: e, className: t, lang: r, langFiles: n, defaultTexts: o = DS }) {
6886
- const i = Bo(), { locale: s, code: a } = r, c = qe(() => ru(
6893
+ function LS({
6894
+ children: e,
6895
+ className: t,
6896
+ lang: r,
6897
+ langFiles: n,
6898
+ defaultTexts: o = DS,
6899
+ transform: i
6900
+ }) {
6901
+ const s = Bo(), { locale: a, code: c } = r, l = qe(() => ru(
6887
6902
  [
6888
- (m) => vr(m).data[s]?.files[ed],
6889
- (m) => vr(m).data[s]?.messages,
6890
- (m) => vr(m).lang
6903
+ (p) => vr(p).data[a]?.files[ed],
6904
+ (p) => vr(p).data[a]?.messages,
6905
+ (p) => vr(p).lang
6891
6906
  ],
6892
- (m, h, v) => ({ loaded: m, messages: h, currLang: v })
6893
- ), [s]), { loaded: l, messages: u, currLang: d } = mt(c), p = qe(
6894
- () => ({ spinning: !u, tip: o[a].loading.languages }),
6895
- [o, a, u]
6907
+ (p, v, f) => ({
6908
+ loaded: p,
6909
+ messages: i ? i(v) : v,
6910
+ currLang: f
6911
+ })
6912
+ ), [a, i]), { loaded: u, messages: d, currLang: h } = mt(l), m = qe(
6913
+ () => ({ spinning: !d, tip: o[c].loading.languages }),
6914
+ [o, c, d]
6896
6915
  );
6897
6916
  return rt(() => {
6898
- l || (async () => {
6899
- const m = await Um(s, n), h = FS({ locale: s, file: ed, messages: m.default });
6900
- h && i(h);
6917
+ u || (async () => {
6918
+ const p = await Um(a, n), v = FS({ locale: a, file: ed, messages: p.default });
6919
+ v && s(v);
6901
6920
  })();
6902
- }, [l, d, s, i, n]), /* @__PURE__ */ be(rr, { useTranslation: !1, showChildren: !1, spin: p, className: t, children: /* @__PURE__ */ be(
6921
+ }, [u, h, a, s, n]), /* @__PURE__ */ be(rr, { useTranslation: !1, showChildren: !1, spin: m, className: t, children: /* @__PURE__ */ be(
6903
6922
  Nw,
6904
6923
  {
6905
- messages: u,
6906
- locale: s,
6907
- defaultLocale: s,
6924
+ messages: d,
6925
+ locale: a,
6926
+ defaultLocale: a,
6908
6927
  defaultRichTextElements: {
6909
- b: (m) => /* @__PURE__ */ be("b", { children: m }),
6910
- strong: (m) => /* @__PURE__ */ be("strong", { children: m }),
6928
+ b: (p) => /* @__PURE__ */ be("b", { children: p }),
6929
+ strong: (p) => /* @__PURE__ */ be("strong", { children: p }),
6911
6930
  br: () => /* @__PURE__ */ be("br", {}),
6912
- p: (m) => /* @__PURE__ */ be("p", { children: m }),
6913
- em: (m) => /* @__PURE__ */ be("em", { children: m }),
6914
- hilight: (m) => /* @__PURE__ */ be("span", { className: "hilight-msg", children: m })
6931
+ p: (p) => /* @__PURE__ */ be("p", { children: p }),
6932
+ em: (p) => /* @__PURE__ */ be("em", { children: p }),
6933
+ hilight: (p) => /* @__PURE__ */ be("span", { className: "hilight-msg", children: p })
6915
6934
  },
6916
6935
  children: e
6917
6936
  }
@@ -7027,25 +7046,25 @@ function Ro(e, { className: t, showChildren: r = !0, services: n, skeleton: o, s
7027
7046
  className: t,
7028
7047
  showChildren: r,
7029
7048
  spin: { ...i, spinning: !u, tip: "spin.loading" }
7030
- }, [u]), p = Gl(
7031
- (m, h) => c(BS({ service: m, errors: h })),
7049
+ }, [u]), h = Gl(
7050
+ (m, p) => c(BS({ service: m, errors: p })),
7032
7051
  [c]
7033
7052
  );
7034
7053
  return rt(() => {
7035
7054
  u || !n || (async () => {
7036
7055
  for (let m = 0; m < n.length; m++) {
7037
- const h = n[m];
7038
- if (!(l[h] || sa[h]))
7056
+ const p = n[m];
7057
+ if (!(l[p] || sa[p]))
7039
7058
  try {
7040
- sa[h] = !0;
7041
- const v = await Ro.loadErrors(h);
7042
- p(h, v);
7059
+ sa[p] = !0;
7060
+ const v = await Ro.loadErrors(p);
7061
+ h(p, v);
7043
7062
  } catch (v) {
7044
- sa[h] = !1, console.error(`can't load errors from service ${h}`, v);
7063
+ sa[p] = !1, console.error(`can't load errors from service ${p}`, v);
7045
7064
  }
7046
7065
  }
7047
7066
  })();
7048
- }, [p, u, l]), /* @__PURE__ */ be(rr, { ...d, children: /* @__PURE__ */ be(e, { ...a }) });
7067
+ }, [h, u, l]), /* @__PURE__ */ be(rr, { ...d, children: /* @__PURE__ */ be(e, { ...a }) });
7049
7068
  };
7050
7069
  }
7051
7070
  Ro.loadErrors = (() => {
@@ -7090,8 +7109,8 @@ var nd;
7090
7109
  function jS() {
7091
7110
  if (nd) return xe;
7092
7111
  nd = 1;
7093
- var e = /* @__PURE__ */ Symbol.for("react.element"), t = /* @__PURE__ */ Symbol.for("react.portal"), r = /* @__PURE__ */ Symbol.for("react.fragment"), n = /* @__PURE__ */ Symbol.for("react.strict_mode"), o = /* @__PURE__ */ Symbol.for("react.profiler"), i = /* @__PURE__ */ Symbol.for("react.provider"), s = /* @__PURE__ */ Symbol.for("react.context"), a = /* @__PURE__ */ Symbol.for("react.server_context"), c = /* @__PURE__ */ Symbol.for("react.forward_ref"), l = /* @__PURE__ */ Symbol.for("react.suspense"), u = /* @__PURE__ */ Symbol.for("react.suspense_list"), d = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), m = /* @__PURE__ */ Symbol.for("react.offscreen"), h;
7094
- h = /* @__PURE__ */ Symbol.for("react.module.reference");
7112
+ var e = /* @__PURE__ */ Symbol.for("react.element"), t = /* @__PURE__ */ Symbol.for("react.portal"), r = /* @__PURE__ */ Symbol.for("react.fragment"), n = /* @__PURE__ */ Symbol.for("react.strict_mode"), o = /* @__PURE__ */ Symbol.for("react.profiler"), i = /* @__PURE__ */ Symbol.for("react.provider"), s = /* @__PURE__ */ Symbol.for("react.context"), a = /* @__PURE__ */ Symbol.for("react.server_context"), c = /* @__PURE__ */ Symbol.for("react.forward_ref"), l = /* @__PURE__ */ Symbol.for("react.suspense"), u = /* @__PURE__ */ Symbol.for("react.suspense_list"), d = /* @__PURE__ */ Symbol.for("react.memo"), h = /* @__PURE__ */ Symbol.for("react.lazy"), m = /* @__PURE__ */ Symbol.for("react.offscreen"), p;
7113
+ p = /* @__PURE__ */ Symbol.for("react.module.reference");
7095
7114
  function v(f) {
7096
7115
  if (typeof f == "object" && f !== null) {
7097
7116
  var g = f.$$typeof;
@@ -7109,7 +7128,7 @@ function jS() {
7109
7128
  case a:
7110
7129
  case s:
7111
7130
  case c:
7112
- case p:
7131
+ case h:
7113
7132
  case d:
7114
7133
  case i:
7115
7134
  return f;
@@ -7122,7 +7141,7 @@ function jS() {
7122
7141
  }
7123
7142
  }
7124
7143
  }
7125
- return xe.ContextConsumer = s, xe.ContextProvider = i, xe.Element = e, xe.ForwardRef = c, xe.Fragment = r, xe.Lazy = p, xe.Memo = d, xe.Portal = t, xe.Profiler = o, xe.StrictMode = n, xe.Suspense = l, xe.SuspenseList = u, xe.isAsyncMode = function() {
7144
+ return xe.ContextConsumer = s, xe.ContextProvider = i, xe.Element = e, xe.ForwardRef = c, xe.Fragment = r, xe.Lazy = h, xe.Memo = d, xe.Portal = t, xe.Profiler = o, xe.StrictMode = n, xe.Suspense = l, xe.SuspenseList = u, xe.isAsyncMode = function() {
7126
7145
  return !1;
7127
7146
  }, xe.isConcurrentMode = function() {
7128
7147
  return !1;
@@ -7137,7 +7156,7 @@ function jS() {
7137
7156
  }, xe.isFragment = function(f) {
7138
7157
  return v(f) === r;
7139
7158
  }, xe.isLazy = function(f) {
7140
- return v(f) === p;
7159
+ return v(f) === h;
7141
7160
  }, xe.isMemo = function(f) {
7142
7161
  return v(f) === d;
7143
7162
  }, xe.isPortal = function(f) {
@@ -7151,17 +7170,17 @@ function jS() {
7151
7170
  }, xe.isSuspenseList = function(f) {
7152
7171
  return v(f) === u;
7153
7172
  }, xe.isValidElementType = function(f) {
7154
- return typeof f == "string" || typeof f == "function" || f === r || f === o || f === n || f === l || f === u || f === m || typeof f == "object" && f !== null && (f.$$typeof === p || f.$$typeof === d || f.$$typeof === i || f.$$typeof === s || f.$$typeof === c || f.$$typeof === h || f.getModuleId !== void 0);
7173
+ return typeof f == "string" || typeof f == "function" || f === r || f === o || f === n || f === l || f === u || f === m || typeof f == "object" && f !== null && (f.$$typeof === h || f.$$typeof === d || f.$$typeof === i || f.$$typeof === s || f.$$typeof === c || f.$$typeof === p || f.getModuleId !== void 0);
7155
7174
  }, xe.typeOf = v, xe;
7156
7175
  }
7157
7176
  var Pe = {};
7158
7177
  var od;
7159
7178
  function zS() {
7160
7179
  return od || (od = 1, process.env.NODE_ENV !== "production" && (function() {
7161
- var e = /* @__PURE__ */ Symbol.for("react.element"), t = /* @__PURE__ */ Symbol.for("react.portal"), r = /* @__PURE__ */ Symbol.for("react.fragment"), n = /* @__PURE__ */ Symbol.for("react.strict_mode"), o = /* @__PURE__ */ Symbol.for("react.profiler"), i = /* @__PURE__ */ Symbol.for("react.provider"), s = /* @__PURE__ */ Symbol.for("react.context"), a = /* @__PURE__ */ Symbol.for("react.server_context"), c = /* @__PURE__ */ Symbol.for("react.forward_ref"), l = /* @__PURE__ */ Symbol.for("react.suspense"), u = /* @__PURE__ */ Symbol.for("react.suspense_list"), d = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), m = /* @__PURE__ */ Symbol.for("react.offscreen"), h = !1, v = !1, f = !1, g = !1, E = !1, b;
7180
+ var e = /* @__PURE__ */ Symbol.for("react.element"), t = /* @__PURE__ */ Symbol.for("react.portal"), r = /* @__PURE__ */ Symbol.for("react.fragment"), n = /* @__PURE__ */ Symbol.for("react.strict_mode"), o = /* @__PURE__ */ Symbol.for("react.profiler"), i = /* @__PURE__ */ Symbol.for("react.provider"), s = /* @__PURE__ */ Symbol.for("react.context"), a = /* @__PURE__ */ Symbol.for("react.server_context"), c = /* @__PURE__ */ Symbol.for("react.forward_ref"), l = /* @__PURE__ */ Symbol.for("react.suspense"), u = /* @__PURE__ */ Symbol.for("react.suspense_list"), d = /* @__PURE__ */ Symbol.for("react.memo"), h = /* @__PURE__ */ Symbol.for("react.lazy"), m = /* @__PURE__ */ Symbol.for("react.offscreen"), p = !1, v = !1, f = !1, g = !1, E = !1, b;
7162
7181
  b = /* @__PURE__ */ Symbol.for("react.module.reference");
7163
7182
  function w(H) {
7164
- return !!(typeof H == "string" || typeof H == "function" || H === r || H === o || E || H === n || H === l || H === u || g || H === m || h || v || f || typeof H == "object" && H !== null && (H.$$typeof === p || H.$$typeof === d || H.$$typeof === i || H.$$typeof === s || H.$$typeof === c || // This needs to include all possible module reference object
7183
+ return !!(typeof H == "string" || typeof H == "function" || H === r || H === o || E || H === n || H === l || H === u || g || H === m || p || v || f || typeof H == "object" && H !== null && (H.$$typeof === h || H.$$typeof === d || H.$$typeof === i || H.$$typeof === s || H.$$typeof === c || // This needs to include all possible module reference object
7165
7184
  // types supported by any Flight configuration anywhere since
7166
7185
  // we don't know which Flight build this will end up being used
7167
7186
  // with.
@@ -7186,7 +7205,7 @@ function zS() {
7186
7205
  case a:
7187
7206
  case s:
7188
7207
  case c:
7189
- case p:
7208
+ case h:
7190
7209
  case d:
7191
7210
  case i:
7192
7211
  return ee;
@@ -7199,7 +7218,7 @@ function zS() {
7199
7218
  }
7200
7219
  }
7201
7220
  }
7202
- var C = s, x = i, P = e, R = c, T = r, _ = p, O = d, N = t, A = o, k = n, V = l, B = u, M = !1, F = !1;
7221
+ var C = s, x = i, P = e, R = c, T = r, _ = h, O = d, N = t, A = o, k = n, V = l, B = u, M = !1, F = !1;
7203
7222
  function U(H) {
7204
7223
  return M || (M = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
7205
7224
  }
@@ -7222,7 +7241,7 @@ function zS() {
7222
7241
  return y(H) === r;
7223
7242
  }
7224
7243
  function j(H) {
7225
- return y(H) === p;
7244
+ return y(H) === h;
7226
7245
  }
7227
7246
  function q(H) {
7228
7247
  return y(H) === d;
@@ -7334,8 +7353,8 @@ function qg(e, t = {}) {
7334
7353
  if (d || KS(u)) {
7335
7354
  if (!l.has(u)) {
7336
7355
  l.add(u);
7337
- const p = wt(o, a);
7338
- d ? o = Et(o, a, n(p, u)) : (!p || typeof p != "object") && (o = Et(o, a, sd(u))), ZS(u).forEach((m) => {
7356
+ const h = wt(o, a);
7357
+ d ? o = Et(o, a, n(h, u)) : (!h || typeof h != "object") && (o = Et(o, a, sd(u))), ZS(u).forEach((m) => {
7339
7358
  Object.getOwnPropertyDescriptor(u, m).enumerable && s([...a, m], l);
7340
7359
  });
7341
7360
  }
@@ -7479,11 +7498,11 @@ function uC(e, t) {
7479
7498
  height: -1,
7480
7499
  offsetWidth: -1,
7481
7500
  offsetHeight: -1
7482
- }), l = !s && /* @__PURE__ */ S.isValidElement(a) && Ss(a), u = l ? Cs(a) : null, d = Bg(u, o), p = () => wu(o.current);
7483
- S.useImperativeHandle(t, () => p());
7501
+ }), l = !s && /* @__PURE__ */ S.isValidElement(a) && Ss(a), u = l ? Cs(a) : null, d = Bg(u, o), h = () => wu(o.current);
7502
+ S.useImperativeHandle(t, () => h());
7484
7503
  const m = S.useRef(e);
7485
7504
  m.current = e;
7486
- const h = S.useCallback((v) => {
7505
+ const p = S.useCallback((v) => {
7487
7506
  const {
7488
7507
  onResize: f,
7489
7508
  data: g
@@ -7513,8 +7532,8 @@ function uC(e, t) {
7513
7532
  }
7514
7533
  }, []);
7515
7534
  return S.useEffect(() => {
7516
- const v = p();
7517
- return v && !n && cC(v, h), () => lC(v, h);
7535
+ const v = h();
7536
+ return v && !n && cC(v, p), () => lC(v, p);
7518
7537
  }, [o.current, n]), l ? /* @__PURE__ */ S.cloneElement(a, {
7519
7538
  ref: d
7520
7539
  }) : a;
@@ -7687,8 +7706,8 @@ function oy(e, t = {}) {
7687
7706
  const u = (t.styles || Cu(c)).filter((d) => {
7688
7707
  if (!["prepend", "prependQueue"].includes(d.getAttribute(ld)))
7689
7708
  return !1;
7690
- const p = Number(d.getAttribute(ud) || 0);
7691
- return o >= p;
7709
+ const h = Number(d.getAttribute(ud) || 0);
7710
+ return o >= h;
7692
7711
  });
7693
7712
  if (u.length)
7694
7713
  return c.insertBefore(a, u[u.length - 1].nextSibling), a;
@@ -7953,12 +7972,12 @@ const Bi = (e, t = "") => `--${t ? `${t}-` : ""}${e}`.replace(/([a-z0-9])([A-Z])
7953
7972
  ignore: a,
7954
7973
  preserve: c
7955
7974
  } = r || {}, l = {}, u = {};
7956
- return Object.entries(e).forEach(([d, p]) => {
7975
+ return Object.entries(e).forEach(([d, h]) => {
7957
7976
  if (c?.[d])
7958
- u[d] = p;
7959
- else if ((typeof p == "string" || typeof p == "number") && !a?.[d]) {
7977
+ u[d] = h;
7978
+ else if ((typeof h == "string" || typeof h == "number") && !a?.[d]) {
7960
7979
  const m = Bi(d, i);
7961
- l[m] = typeof p == "number" && !s?.[d] ? `${p}px` : String(p), u[d] = `var(${m})`;
7980
+ l[m] = typeof h == "number" && !s?.[d] ? `${h}px` : String(h), u[d] = `var(${m})`;
7962
7981
  }
7963
7982
  }), [u, AC(l, t, {
7964
7983
  scope: r?.scope,
@@ -7987,13 +8006,13 @@ const wi = /* @__PURE__ */ new Map();
7987
8006
  function Pu(e, t, r, n, o) {
7988
8007
  const {
7989
8008
  cache: i
7990
- } = S.useContext(Os), s = [e, ...t], a = Wc(s), c = MC(), l = (p) => {
8009
+ } = S.useContext(Os), s = [e, ...t], a = Wc(s), c = MC(), l = (h) => {
7991
8010
  i.opUpdate(a, (m) => {
7992
- const [h = 0, v] = m || [void 0, void 0];
8011
+ const [p = 0, v] = m || [void 0, void 0];
7993
8012
  let f = v;
7994
8013
  process.env.NODE_ENV !== "production" && v && c && (n?.(f, c), f = null);
7995
- const g = f || r(), E = [h, g];
7996
- return p ? p(E) : E;
8014
+ const g = f || r(), E = [p, g];
8015
+ return h ? h(E) : E;
7997
8016
  });
7998
8017
  };
7999
8018
  S.useMemo(
@@ -8007,12 +8026,12 @@ function Pu(e, t, r, n, o) {
8007
8026
  let u = i.opGet(a);
8008
8027
  process.env.NODE_ENV !== "production" && !u && (l(), u = i.opGet(a));
8009
8028
  const d = u[1];
8010
- return gb(() => (l(([p, m]) => [p + 1, m]), wi.has(a) || (o?.(d), wi.set(a, !0), Promise.resolve().then(() => {
8029
+ return gb(() => (l(([h, m]) => [h + 1, m]), wi.has(a) || (o?.(d), wi.set(a, !0), Promise.resolve().then(() => {
8011
8030
  wi.delete(a);
8012
8031
  })), () => {
8013
- i.opUpdate(a, (p) => {
8014
- const [m = 0, h] = p || [];
8015
- return m - 1 === 0 ? (n?.(h, !1), wi.delete(a), null) : [m - 1, h];
8032
+ i.opUpdate(a, (h) => {
8033
+ const [m = 0, p] = h || [];
8034
+ return m - 1 === 0 ? (n?.(p, !1), wi.delete(a), null) : [m - 1, p];
8016
8035
  });
8017
8036
  }), [a]), d;
8018
8037
  }
@@ -8055,8 +8074,8 @@ function zC(e, t, r) {
8055
8074
  formatToken: c,
8056
8075
  getComputedToken: l,
8057
8076
  cssVar: u
8058
- } = r, d = RC(() => Object.assign({}, ...t), t), p = yo(d), m = yo(a), h = yo(u);
8059
- return Pu(jC, [s, e.id, p, m, h], () => {
8077
+ } = r, d = RC(() => Object.assign({}, ...t), t), h = yo(d), m = yo(a), p = yo(u);
8078
+ return Pu(jC, [s, e.id, h, m, p], () => {
8060
8079
  const f = l ? l(d, a, e) : BC(d, a, e, c), g = {
8061
8080
  ...f
8062
8081
  }, E = `${s}_${u.prefix}`, b = Tn(E), w = `${DC}-${Tn(E)}`;
@@ -8294,11 +8313,11 @@ function gd(e) {
8294
8313
  return JC(qi("", null, null, null, [""], e = ZC(e), 0, [0], e));
8295
8314
  }
8296
8315
  function qi(e, t, r, n, o, i, s, a, c) {
8297
- for (var l = 0, u = 0, d = s, p = 0, m = 0, h = 0, v = 1, f = 1, g = 1, E = 0, b = "", w = o, y = i, C = n, x = b; f; )
8298
- switch (h = E, E = Ut()) {
8316
+ for (var l = 0, u = 0, d = s, h = 0, m = 0, p = 0, v = 1, f = 1, g = 1, E = 0, b = "", w = o, y = i, C = n, x = b; f; )
8317
+ switch (p = E, E = Ut()) {
8299
8318
  // (
8300
8319
  case 40:
8301
- if (h != 108 && Ge(x, d - 1) == 58) {
8320
+ if (p != 108 && Ge(x, d - 1) == 58) {
8302
8321
  ji(x += fe(fa(E), "&", "&\f"), "&\f", uy(l ? a[l - 1] : 0)) != -1 && (g = -1);
8303
8322
  break;
8304
8323
  }
@@ -8313,7 +8332,7 @@ function qi(e, t, r, n, o, i, s, a, c) {
8313
8332
  case 10:
8314
8333
  case 13:
8315
8334
  case 32:
8316
- x += ex(h);
8335
+ x += ex(p);
8317
8336
  break;
8318
8337
  // \
8319
8338
  case 92:
@@ -8324,7 +8343,7 @@ function qi(e, t, r, n, o, i, s, a, c) {
8324
8343
  switch (Ir()) {
8325
8344
  case 42:
8326
8345
  case 47:
8327
- lo(ox(rx(Ut(), zi()), t, r, c), c), ($o(h || 1) == 5 || $o(Ir() || 1) == 5) && jt(x) && an(x, -1, void 0) !== " " && (x += " ");
8346
+ lo(ox(rx(Ut(), zi()), t, r, c), c), ($o(p || 1) == 5 || $o(Ir() || 1) == 5) && jt(x) && an(x, -1, void 0) !== " " && (x += " ");
8328
8347
  break;
8329
8348
  default:
8330
8349
  x += "/";
@@ -8344,7 +8363,7 @@ function qi(e, t, r, n, o, i, s, a, c) {
8344
8363
  f = 0;
8345
8364
  // ;
8346
8365
  case 59 + u:
8347
- g == -1 && (x = fe(x, /\f/g, "")), m > 0 && (jt(x) - d || v === 0 && h === 47) && lo(m > 32 ? vd(x + ";", n, r, d - 1, c) : vd(fe(x, " ", "") + ";", n, r, d - 2, c), c);
8366
+ g == -1 && (x = fe(x, /\f/g, "")), m > 0 && (jt(x) - d || v === 0 && p === 47) && lo(m > 32 ? vd(x + ";", n, r, d - 1, c) : vd(fe(x, " ", "") + ";", n, r, d - 2, c), c);
8348
8367
  break;
8349
8368
  // @ ;
8350
8369
  case 59:
@@ -8355,7 +8374,7 @@ function qi(e, t, r, n, o, i, s, a, c) {
8355
8374
  if (u === 0)
8356
8375
  qi(x, t, C, C, w, i, d, a, y);
8357
8376
  else {
8358
- switch (p) {
8377
+ switch (h) {
8359
8378
  // c(ontainer)
8360
8379
  case 99:
8361
8380
  if (Ge(x, 3) === 110) break;
@@ -8376,7 +8395,7 @@ function qi(e, t, r, n, o, i, s, a, c) {
8376
8395
  break;
8377
8396
  // :
8378
8397
  case 58:
8379
- d = 1 + jt(x), m = h;
8398
+ d = 1 + jt(x), m = p;
8380
8399
  default:
8381
8400
  if (v < 1) {
8382
8401
  if (E == 123)
@@ -8395,18 +8414,18 @@ function qi(e, t, r, n, o, i, s, a, c) {
8395
8414
  break;
8396
8415
  // @
8397
8416
  case 64:
8398
- Ir() === 45 && (x += fa(Ut())), p = Ir(), u = d = jt(b = x += nx(zi())), E++;
8417
+ Ir() === 45 && (x += fa(Ut())), h = Ir(), u = d = jt(b = x += nx(zi())), E++;
8399
8418
  break;
8400
8419
  // -
8401
8420
  case 45:
8402
- h === 45 && jt(x) == 2 && (v = 0);
8421
+ p === 45 && jt(x) == 2 && (v = 0);
8403
8422
  }
8404
8423
  }
8405
8424
  return i;
8406
8425
  }
8407
8426
  function yd(e, t, r, n, o, i, s, a, c, l, u, d) {
8408
- for (var p = o - 1, m = o === 0 ? i : [""], h = dy(m), v = 0, f = 0, g = 0; v < n; ++v)
8409
- for (var E = 0, b = an(e, p + 1, p = uy(f = s[v])), w = e; E < h; ++E)
8427
+ for (var h = o - 1, m = o === 0 ? i : [""], p = dy(m), v = 0, f = 0, g = 0; v < n; ++v)
8428
+ for (var E = 0, b = an(e, h + 1, h = uy(f = s[v])), w = e; E < p; ++E)
8410
8429
  (w = fy(f > 0 ? m[E] + " " + b : fe(b, /&\f/g, m[E]))) && (c[g++] = w);
8411
8430
  return Ts(e, t, r, o === 0 ? _u : a, c, l, u, d);
8412
8431
  }
@@ -8734,23 +8753,23 @@ const Kc = (e, t = {}, {
8734
8753
  transformers: l = [],
8735
8754
  linters: u = []
8736
8755
  } = t;
8737
- let d = "", p = {};
8756
+ let d = "", h = {};
8738
8757
  function m(f) {
8739
8758
  const g = f.getName(i);
8740
- if (!p[g]) {
8759
+ if (!h[g]) {
8741
8760
  const [E] = Kc(f.style, t, {
8742
8761
  root: !1,
8743
8762
  parentSelectors: o
8744
8763
  });
8745
- p[g] = `@keyframes ${f.getName(i)}${E}`;
8764
+ h[g] = `@keyframes ${f.getName(i)}${E}`;
8746
8765
  }
8747
8766
  }
8748
- function h(f, g = []) {
8767
+ function p(f, g = []) {
8749
8768
  return f.forEach((E) => {
8750
- Array.isArray(E) ? h(E, g) : E && g.push(E);
8769
+ Array.isArray(E) ? p(E, g) : E && g.push(E);
8751
8770
  }), g;
8752
8771
  }
8753
- return h(Array.isArray(e) ? e : [e]).forEach((f) => {
8772
+ return p(Array.isArray(e) ? e : [e]).forEach((f) => {
8754
8773
  const g = typeof f == "string" && !r ? {} : f;
8755
8774
  if (typeof g == "string")
8756
8775
  d += `${g}
@@ -8769,8 +8788,8 @@ const Kc = (e, t = {}, {
8769
8788
  injectHash: y,
8770
8789
  parentSelectors: [...o, C]
8771
8790
  });
8772
- p = {
8773
- ...p,
8791
+ h = {
8792
+ ...h,
8774
8793
  ...R
8775
8794
  }, d += `${C}${P}`;
8776
8795
  } else {
@@ -8791,8 +8810,8 @@ const Kc = (e, t = {}, {
8791
8810
  }
8792
8811
  });
8793
8812
  }
8794
- }), r ? s && (d && (d = `@layer ${s.name} {${d}}`), s.dependencies && (p[`@layer ${s.name}`] = s.dependencies.map((f) => `@layer ${f}, ${s.name};`).join(`
8795
- `))) : d = `{${d}}`, [d, p];
8813
+ }), r ? s && (d && (d = `@layer ${s.name} {${d}}`), s.dependencies && (h[`@layer ${s.name}`] = s.dependencies.map((f) => `@layer ${f}, ${s.name};`).join(`
8814
+ `))) : d = `{${d}}`, [d, h];
8796
8815
  };
8797
8816
  function Ey(e, t) {
8798
8817
  return Tn(`${e.join("%")}${t}`);
@@ -8811,12 +8830,12 @@ function Sd(e, t) {
8811
8830
  hashPriority: l,
8812
8831
  container: u,
8813
8832
  transformers: d,
8814
- linters: p,
8833
+ linters: h,
8815
8834
  cache: m,
8816
- layer: h,
8835
+ layer: p,
8817
8836
  autoPrefix: v
8818
8837
  } = S.useContext(Os), f = [n || ""];
8819
- h && f.push("layer"), f.push(...r);
8838
+ p && f.push("layer"), f.push(...r);
8820
8839
  let g = Gc;
8821
8840
  process.env.NODE_ENV !== "production" && c !== void 0 && (g = c === "client"), Pu(
8822
8841
  px,
@@ -8832,10 +8851,10 @@ function Sd(e, t) {
8832
8851
  const b = t(), [w, y] = Kc(b, {
8833
8852
  hashId: n,
8834
8853
  hashPriority: l,
8835
- layer: h ? o : void 0,
8854
+ layer: p ? o : void 0,
8836
8855
  path: r.join("-"),
8837
8856
  transformers: d,
8838
- linters: p
8857
+ linters: h
8839
8858
  }), C = da(w, v || !1), x = Ey(f, C);
8840
8859
  return [C, x, y, s, a];
8841
8860
  },
@@ -8853,7 +8872,7 @@ function Sd(e, t) {
8853
8872
  if (g && b !== gy) {
8854
8873
  const x = {
8855
8874
  mark: br,
8856
- prepend: h ? !1 : "queue",
8875
+ prepend: p ? !1 : "queue",
8857
8876
  attachTo: u,
8858
8877
  priority: C
8859
8878
  }, P = typeof i == "function" ? i() : i;
@@ -8893,8 +8912,8 @@ const hx = "cssVar", mx = (e, t) => {
8893
8912
  container: u,
8894
8913
  hashPriority: d
8895
8914
  } = en(Os), {
8896
- _tokenKey: p
8897
- } = s, m = [...e.path, r, c, p];
8915
+ _tokenKey: h
8916
+ } = s, m = [...e.path, r, c, h];
8898
8917
  return Pu(hx, m, () => {
8899
8918
  const v = t(), [f, g] = ay(v, r, {
8900
8919
  prefix: n,
@@ -9292,30 +9311,30 @@ var Ax = function() {
9292
9311
  };
9293
9312
  function $x(e) {
9294
9313
  var t = e.useCSP, r = t === void 0 ? Ax : t, n = e.useToken, o = e.usePrefix, i = e.getResetStyles, s = e.getCommonStyle, a = e.getCompUnitless;
9295
- function c(p, m, h, v) {
9296
- var f = Array.isArray(p) ? p[0] : p;
9314
+ function c(h, m, p, v) {
9315
+ var f = Array.isArray(h) ? h[0] : h;
9297
9316
  function g(P) {
9298
9317
  return "".concat(String(f)).concat(P.slice(0, 1).toUpperCase()).concat(P.slice(1));
9299
9318
  }
9300
- var E = v?.unitless || {}, b = typeof a == "function" ? a(p) : {}, w = Le(Le({}, b), {}, Ze({}, g("zIndexPopup"), !0));
9319
+ var E = v?.unitless || {}, b = typeof a == "function" ? a(h) : {}, w = Le(Le({}, b), {}, Ze({}, g("zIndexPopup"), !0));
9301
9320
  Object.keys(E).forEach(function(P) {
9302
9321
  w[g(P)] = E[P];
9303
9322
  });
9304
9323
  var y = Le(Le({}, v), {}, {
9305
9324
  unitless: w,
9306
9325
  prefixToken: g
9307
- }), C = u(p, m, h, y), x = l(f, h, y);
9326
+ }), C = u(h, m, p, y), x = l(f, p, y);
9308
9327
  return function(P) {
9309
9328
  var R = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : P, T = C(P, R), _ = x(R);
9310
9329
  return [T, _];
9311
9330
  };
9312
9331
  }
9313
- function l(p, m, h) {
9314
- var v = h.unitless, f = h.prefixToken, g = h.ignore;
9332
+ function l(h, m, p) {
9333
+ var v = p.unitless, f = p.prefixToken, g = p.ignore;
9315
9334
  return function(E) {
9316
9335
  var b = n(), w = b.cssVar, y = b.realToken;
9317
9336
  return mx({
9318
- path: [p],
9337
+ path: [h],
9319
9338
  prefix: w.prefix,
9320
9339
  key: w.key,
9321
9340
  unitless: v,
@@ -9323,8 +9342,8 @@ function $x(e) {
9323
9342
  token: y,
9324
9343
  scope: E
9325
9344
  }, function() {
9326
- var C = Od(p, y, m), x = Pd(p, y, C, {
9327
- deprecatedTokens: h?.deprecatedTokens
9345
+ var C = Od(h, y, m), x = Pd(h, y, C, {
9346
+ deprecatedTokens: p?.deprecatedTokens
9328
9347
  });
9329
9348
  return C && Object.keys(C).forEach(function(P) {
9330
9349
  x[f(P)] = x[P], delete x[P];
@@ -9332,8 +9351,8 @@ function $x(e) {
9332
9351
  }), w?.key;
9333
9352
  };
9334
9353
  }
9335
- function u(p, m, h) {
9336
- var v = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, f = Array.isArray(p) ? p : [p, p], g = wy(f, 1), E = g[0], b = f.join("-"), w = e.layer || {
9354
+ function u(h, m, p) {
9355
+ var v = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, f = Array.isArray(h) ? h : [h, h], g = wy(f, 1), E = g[0], b = f.join("-"), w = e.layer || {
9337
9356
  name: "antd"
9338
9357
  };
9339
9358
  return function(y) {
@@ -9375,7 +9394,7 @@ function $x(e) {
9375
9394
  }), function() {
9376
9395
  if (v.injectStyle === !1)
9377
9396
  return [];
9378
- var Z = _x(_), K = Z.token, j = Z.flush, q = Od(E, R, h), z = ".".concat(y), D = Pd(E, R, q, {
9397
+ var Z = _x(_), K = Z.token, j = Z.flush, q = Od(E, R, p), z = ".".concat(y), D = Pd(E, R, q, {
9379
9398
  deprecatedTokens: v.deprecatedTokens
9380
9399
  });
9381
9400
  q && je(q) === "object" && Object.keys(q).forEach(function(H) {
@@ -9401,8 +9420,8 @@ function $x(e) {
9401
9420
  }), T;
9402
9421
  };
9403
9422
  }
9404
- function d(p, m, h) {
9405
- var v = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, f = u(p, m, h, Le({
9423
+ function d(h, m, p) {
9424
+ var v = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, f = u(h, m, p, Le({
9406
9425
  resetStyle: !1,
9407
9426
  // Sub Style should default after root one
9408
9427
  order: -998
@@ -9410,7 +9429,7 @@ function $x(e) {
9410
9429
  var w = b.prefixCls, y = b.rootCls, C = y === void 0 ? w : y;
9411
9430
  return f(w, C), null;
9412
9431
  };
9413
- return process.env.NODE_ENV !== "production" && (g.displayName = "SubStyle_".concat(String(Array.isArray(p) ? p.join(".") : p))), g;
9432
+ return process.env.NODE_ENV !== "production" && (g.displayName = "SubStyle_".concat(String(Array.isArray(h) ? h.join(".") : h))), g;
9414
9433
  }
9415
9434
  return {
9416
9435
  genStyleHooks: c,
@@ -9945,8 +9964,8 @@ class ze {
9945
9964
  a: o
9946
9965
  }) {
9947
9966
  if (this._h = t % 360, this._s = r, this._l = n, this.a = typeof o == "number" ? o : 1, r <= 0) {
9948
- const p = Ke(n * 255);
9949
- this.r = p, this.g = p, this.b = p;
9967
+ const h = Ke(n * 255);
9968
+ this.r = h, this.g = h, this.b = h;
9950
9969
  }
9951
9970
  let i = 0, s = 0, a = 0;
9952
9971
  const c = t / 60, l = (1 - Math.abs(2 * n - 1)) * r, u = l * (1 - Math.abs(c % 2 - 1));
@@ -10148,7 +10167,7 @@ function Bx(e, {
10148
10167
  colorPrimary: a,
10149
10168
  colorBgBase: c,
10150
10169
  colorTextBase: l
10151
- } = e, u = t(a), d = t(n), p = t(o), m = t(i), h = t(s), v = r(c, l), f = e.colorLink || e.colorInfo, g = t(f), E = new ze(m[1]).mix(new ze(m[3]), 50).toHexString();
10170
+ } = e, u = t(a), d = t(n), h = t(o), m = t(i), p = t(s), v = r(c, l), f = e.colorLink || e.colorInfo, g = t(f), E = new ze(m[1]).mix(new ze(m[3]), 50).toHexString();
10152
10171
  return {
10153
10172
  ...v,
10154
10173
  colorPrimaryBg: u[1],
@@ -10183,26 +10202,26 @@ function Bx(e, {
10183
10202
  colorErrorTextHover: m[8],
10184
10203
  colorErrorText: m[9],
10185
10204
  colorErrorTextActive: m[10],
10186
- colorWarningBg: p[1],
10187
- colorWarningBgHover: p[2],
10188
- colorWarningBorder: p[3],
10189
- colorWarningBorderHover: p[4],
10190
- colorWarningHover: p[4],
10191
- colorWarning: p[6],
10192
- colorWarningActive: p[7],
10193
- colorWarningTextHover: p[8],
10194
- colorWarningText: p[9],
10195
- colorWarningTextActive: p[10],
10196
- colorInfoBg: h[1],
10197
- colorInfoBgHover: h[2],
10198
- colorInfoBorder: h[3],
10199
- colorInfoBorderHover: h[4],
10200
- colorInfoHover: h[4],
10201
- colorInfo: h[6],
10202
- colorInfoActive: h[7],
10203
- colorInfoTextHover: h[8],
10204
- colorInfoText: h[9],
10205
- colorInfoTextActive: h[10],
10205
+ colorWarningBg: h[1],
10206
+ colorWarningBgHover: h[2],
10207
+ colorWarningBorder: h[3],
10208
+ colorWarningBorderHover: h[4],
10209
+ colorWarningHover: h[4],
10210
+ colorWarning: h[6],
10211
+ colorWarningActive: h[7],
10212
+ colorWarningTextHover: h[8],
10213
+ colorWarningText: h[9],
10214
+ colorWarningTextActive: h[10],
10215
+ colorInfoBg: p[1],
10216
+ colorInfoBgHover: p[2],
10217
+ colorInfoBorder: p[3],
10218
+ colorInfoBorderHover: p[4],
10219
+ colorInfoHover: p[4],
10220
+ colorInfo: p[6],
10221
+ colorInfoActive: p[7],
10222
+ colorInfoTextHover: p[8],
10223
+ colorInfoText: p[9],
10224
+ colorInfoTextActive: p[10],
10206
10225
  colorLinkHover: g[4],
10207
10226
  colorLink: g[6],
10208
10227
  colorLinkActive: g[7],
@@ -10392,12 +10411,12 @@ function Ci(e, t) {
10392
10411
  b: c
10393
10412
  } = new ze(t).toRgb();
10394
10413
  for (let l = 0.01; l <= 1; l += 0.01) {
10395
- const u = Math.round((r - s * (1 - l)) / l), d = Math.round((n - a * (1 - l)) / l), p = Math.round((o - c * (1 - l)) / l);
10396
- if (ya(u) && ya(d) && ya(p))
10414
+ const u = Math.round((r - s * (1 - l)) / l), d = Math.round((n - a * (1 - l)) / l), h = Math.round((o - c * (1 - l)) / l);
10415
+ if (ya(u) && ya(d) && ya(h))
10397
10416
  return new ze({
10398
10417
  r: u,
10399
10418
  g: d,
10400
- b: p,
10419
+ b: h,
10401
10420
  a: Math.round(l * 100) / 100
10402
10421
  }).toRgbString();
10403
10422
  }
@@ -10415,8 +10434,8 @@ function Jx(e) {
10415
10434
  } = e, n = {
10416
10435
  ...t
10417
10436
  };
10418
- Object.keys(ts).forEach((p) => {
10419
- delete n[p];
10437
+ Object.keys(ts).forEach((h) => {
10438
+ delete n[h];
10420
10439
  });
10421
10440
  const o = {
10422
10441
  ...r,
@@ -10987,13 +11006,13 @@ const nr = /* @__PURE__ */ S.forwardRef((e, t) => {
10987
11006
  } = e, {
10988
11007
  prefixCls: u = "anticon",
10989
11008
  rootClassName: d
10990
- } = S.useContext($y), p = ae(d, u, {
11009
+ } = S.useContext($y), h = ae(d, u, {
10991
11010
  [`${u}-${n.name}`]: !!n.name,
10992
11011
  [`${u}-spin`]: !!o || n.name === "loading"
10993
11012
  }, r);
10994
11013
  let m = s;
10995
11014
  m === void 0 && a && (m = -1);
10996
- const h = i ? {
11015
+ const p = i ? {
10997
11016
  msTransform: `rotate(${i}deg)`,
10998
11017
  transform: `rotate(${i}deg)`
10999
11018
  } : void 0, [v, f] = Fy(c);
@@ -11004,12 +11023,12 @@ const nr = /* @__PURE__ */ S.forwardRef((e, t) => {
11004
11023
  ref: t,
11005
11024
  tabIndex: m,
11006
11025
  onClick: a,
11007
- className: p
11026
+ className: h
11008
11027
  }), /* @__PURE__ */ S.createElement(Yn, {
11009
11028
  icon: n,
11010
11029
  primaryColor: v,
11011
11030
  secondaryColor: f,
11012
- style: h
11031
+ style: p
11013
11032
  }));
11014
11033
  });
11015
11034
  nr.getTwoToneColor = g1;
@@ -11183,9 +11202,9 @@ const D1 = ((e, t, r) => {
11183
11202
  return qy(() => {
11184
11203
  if (n !== Dd && n !== Mu) {
11185
11204
  const l = c.indexOf(n), u = c[l + 1], d = r(n);
11186
- d === Uy ? o(u, !0) : u && i((p) => {
11205
+ d === Uy ? o(u, !0) : u && i((h) => {
11187
11206
  function m() {
11188
- p.isCanceled() || o(u, !0);
11207
+ h.isCanceled() || o(u, !0);
11189
11208
  }
11190
11209
  d === !0 ? m() : Promise.resolve(d).then(m);
11191
11210
  });
@@ -11204,9 +11223,9 @@ function L1(e, t, r, {
11204
11223
  onEnterPrepare: l,
11205
11224
  onLeavePrepare: u,
11206
11225
  onAppearStart: d,
11207
- onEnterStart: p,
11226
+ onEnterStart: h,
11208
11227
  onLeaveStart: m,
11209
- onAppearActive: h,
11228
+ onAppearActive: p,
11210
11229
  onEnterActive: v,
11211
11230
  onLeaveActive: f,
11212
11231
  onAppearEnd: g,
@@ -11238,12 +11257,12 @@ function L1(e, t, r, {
11238
11257
  return {
11239
11258
  [zt]: c,
11240
11259
  [_n]: d,
11241
- [On]: h
11260
+ [On]: p
11242
11261
  };
11243
11262
  case Pi:
11244
11263
  return {
11245
11264
  [zt]: l,
11246
- [_n]: p,
11265
+ [_n]: h,
11247
11266
  [On]: v
11248
11267
  };
11249
11268
  case _i:
@@ -11313,14 +11332,14 @@ function k1(e) {
11313
11332
  children: l,
11314
11333
  motionName: u,
11315
11334
  leavedClassName: d,
11316
- eventProps: p
11335
+ eventProps: h
11317
11336
  } = o, {
11318
11337
  motion: m
11319
- } = S.useContext(_1), h = r(o, m), v = Je();
11338
+ } = S.useContext(_1), p = r(o, m), v = Je();
11320
11339
  function f() {
11321
11340
  return wu(v.current);
11322
11341
  }
11323
- const [g, E, b, w] = L1(h, s, f, o), y = g(), C = S.useRef(w);
11342
+ const [g, E, b, w] = L1(p, s, f, o), y = g(), C = S.useRef(w);
11324
11343
  w && (C.current = !0);
11325
11344
  const x = S.useMemo(() => {
11326
11345
  const T = {};
@@ -11335,14 +11354,14 @@ function k1(e) {
11335
11354
  },
11336
11355
  enableMotion: {
11337
11356
  enumerable: !0,
11338
- get: () => () => h
11357
+ get: () => () => p
11339
11358
  }
11340
11359
  }), T;
11341
11360
  }, []);
11342
11361
  S.useImperativeHandle(i, () => x, []);
11343
11362
  let P;
11344
11363
  const R = {
11345
- ...p,
11364
+ ...h,
11346
11365
  visible: s
11347
11366
  };
11348
11367
  if (!l)
@@ -11397,13 +11416,13 @@ function V1(e = [], t = []) {
11397
11416
  i.forEach((l) => {
11398
11417
  let u = !1;
11399
11418
  for (let d = n; d < o; d += 1) {
11400
- const p = s[d];
11401
- if (p.key === l.key) {
11419
+ const h = s[d];
11420
+ if (h.key === l.key) {
11402
11421
  n < d && (r = r.concat(s.slice(n, d).map((m) => ({
11403
11422
  ...m,
11404
11423
  status: vl
11405
11424
  }))), n = d), r.push({
11406
- ...p,
11425
+ ...h,
11407
11426
  status: bl
11408
11427
  }), n += 1, u = !0;
11409
11428
  break;
@@ -11491,13 +11510,13 @@ function j1(e, t = gn) {
11491
11510
  onAllRemoved: c,
11492
11511
  ...l
11493
11512
  } = this.props, u = i || S.Fragment, d = {};
11494
- return B1.forEach((p) => {
11495
- d[p] = l[p], delete l[p];
11513
+ return B1.forEach((h) => {
11514
+ d[h] = l[h], delete l[h];
11496
11515
  }), delete l.keys, /* @__PURE__ */ S.createElement(u, l, o.map(({
11497
- status: p,
11516
+ status: h,
11498
11517
  ...m
11499
- }, h) => {
11500
- const v = p === vl || p === bl;
11518
+ }, p) => {
11519
+ const v = h === vl || h === bl;
11501
11520
  return /* @__PURE__ */ S.createElement(t, Sl({}, d, {
11502
11521
  key: m.key,
11503
11522
  visible: v,
@@ -11509,7 +11528,7 @@ function j1(e, t = gn) {
11509
11528
  }
11510
11529
  }), (f, g) => s({
11511
11530
  ...f,
11512
- index: h
11531
+ index: p
11513
11532
  }, g));
11514
11533
  }));
11515
11534
  }
@@ -11901,9 +11920,9 @@ const Ri = (e, t, r, n, o) => ({
11901
11920
  motionEaseInOutCirc: l,
11902
11921
  withDescriptionIconSize: u,
11903
11922
  colorText: d,
11904
- colorTextHeading: p,
11923
+ colorTextHeading: h,
11905
11924
  withDescriptionPadding: m,
11906
- defaultPadding: h
11925
+ defaultPadding: p
11907
11926
  } = e;
11908
11927
  return {
11909
11928
  [t]: {
@@ -11911,7 +11930,7 @@ const Ri = (e, t, r, n, o) => ({
11911
11930
  position: "relative",
11912
11931
  display: "flex",
11913
11932
  alignItems: "center",
11914
- padding: h,
11933
+ padding: p,
11915
11934
  wordWrap: "break-word",
11916
11935
  borderRadius: c,
11917
11936
  [`&${t}-rtl`]: {
@@ -11931,7 +11950,7 @@ const Ri = (e, t, r, n, o) => ({
11931
11950
  lineHeight: a
11932
11951
  },
11933
11952
  "&-title": {
11934
- color: p
11953
+ color: h
11935
11954
  },
11936
11955
  [`&${t}-motion-leave`]: {
11937
11956
  overflow: "hidden",
@@ -11959,7 +11978,7 @@ const Ri = (e, t, r, n, o) => ({
11959
11978
  [`${t}-title`]: {
11960
11979
  display: "block",
11961
11980
  marginBottom: n,
11962
- color: p,
11981
+ color: h,
11963
11982
  fontSize: s
11964
11983
  },
11965
11984
  [`${t}-description`]: {
@@ -11986,13 +12005,13 @@ const Ri = (e, t, r, n, o) => ({
11986
12005
  colorErrorBorder: l,
11987
12006
  colorErrorBg: u,
11988
12007
  colorInfo: d,
11989
- colorInfoBorder: p,
12008
+ colorInfoBorder: h,
11990
12009
  colorInfoBg: m
11991
12010
  } = e;
11992
12011
  return {
11993
12012
  [t]: {
11994
12013
  "&-success": Ri(o, n, r, e, t),
11995
- "&-info": Ri(m, p, d, e, t),
12014
+ "&-info": Ri(m, h, d, e, t),
11996
12015
  "&-warning": Ri(a, s, i, e, t),
11997
12016
  "&-error": {
11998
12017
  ...Ri(u, l, c, e, t),
@@ -12101,9 +12120,9 @@ const Ri = (e, t, r, n, o) => ({
12101
12120
  style: l,
12102
12121
  onMouseEnter: u,
12103
12122
  onMouseLeave: d,
12104
- onClick: p,
12123
+ onClick: h,
12105
12124
  afterClose: m,
12106
- showIcon: h,
12125
+ showIcon: p,
12107
12126
  closable: v,
12108
12127
  closeText: f,
12109
12128
  closeIcon: g,
@@ -12137,7 +12156,7 @@ const Ri = (e, t, r, n, o) => ({
12137
12156
  afterClose: ne
12138
12157
  } = v && typeof v == "object" ? v : {}, te = (G) => {
12139
12158
  R(!0), (Q ?? e.onClose)?.(G);
12140
- }, Z = S.useMemo(() => e.type !== void 0 ? e.type : s ? "warning" : "info", [e.type, s]), K = S.useMemo(() => typeof v == "object" && v.closeIcon || f ? !0 : typeof v == "boolean" ? v : g !== !1 && ln(g) ? !0 : !!N, [f, g, v, N]), j = s && h === void 0 ? !0 : h, q = {
12159
+ }, Z = S.useMemo(() => e.type !== void 0 ? e.type : s ? "warning" : "info", [e.type, s]), K = S.useMemo(() => typeof v == "object" && v.closeIcon || f ? !0 : typeof v == "boolean" ? v : g !== !1 && ln(g) ? !0 : !!N, [f, g, v, N]), j = s && p === void 0 ? !0 : p, q = {
12141
12160
  ...e,
12142
12161
  prefixCls: F,
12143
12162
  type: Z,
@@ -12185,7 +12204,7 @@ const Ri = (e, t, r, n, o) => ({
12185
12204
  },
12186
12205
  onMouseEnter: u,
12187
12206
  onMouseLeave: d,
12188
- onClick: p,
12207
+ onClick: h,
12189
12208
  role: "alert",
12190
12209
  ...L
12191
12210
  }, j ? /* @__PURE__ */ S.createElement(EP, {
@@ -12251,11 +12270,11 @@ let CP = /* @__PURE__ */ (function(e) {
12251
12270
  } = this.props, {
12252
12271
  error: c,
12253
12272
  info: l
12254
- } = this.state, u = o ?? n, d = l?.componentStack || null, p = typeof u > "u" ? (c || "").toString() : u, m = typeof i > "u" ? d : i;
12273
+ } = this.state, u = o ?? n, d = l?.componentStack || null, h = typeof u > "u" ? (c || "").toString() : u, m = typeof i > "u" ? d : i;
12255
12274
  return c ? /* @__PURE__ */ S.createElement(Du, {
12256
12275
  id: s,
12257
12276
  type: "error",
12258
- title: p,
12277
+ title: h,
12259
12278
  description: /* @__PURE__ */ S.createElement("pre", {
12260
12279
  style: {
12261
12280
  fontSize: "0.9em",
@@ -12292,14 +12311,14 @@ const Gd = (e) => typeof e == "object" && e != null && e.nodeType === 1, Xd = (e
12292
12311
  if (typeof document > "u") return [];
12293
12312
  const { scrollMode: s, block: a, inline: c, boundary: l, skipOverflowHiddenElements: u } = t, d = typeof l == "function" ? l : (V) => V !== l;
12294
12313
  if (!Gd(e)) throw new TypeError("Invalid target");
12295
- const p = document.scrollingElement || document.documentElement, m = [];
12296
- let h = e;
12297
- for (; Gd(h) && d(h); ) {
12298
- if (h = xP(h), h === p) {
12299
- m.push(h);
12314
+ const h = document.scrollingElement || document.documentElement, m = [];
12315
+ let p = e;
12316
+ for (; Gd(p) && d(p); ) {
12317
+ if (p = xP(p), p === h) {
12318
+ m.push(p);
12300
12319
  break;
12301
12320
  }
12302
- h != null && h === document.body && Ti(h) && !Ti(document.documentElement) || h != null && Ti(h, u) && m.push(h);
12321
+ p != null && p === document.body && Ti(p) && !Ti(document.documentElement) || p != null && Ti(p, u) && m.push(p);
12303
12322
  }
12304
12323
  const v = (n = (r = window.visualViewport) == null ? void 0 : r.width) != null ? n : innerWidth, f = (i = (o = window.visualViewport) == null ? void 0 : o.height) != null ? i : innerHeight, { scrollX: g, scrollY: E } = window, { height: b, width: w, top: y, right: C, bottom: x, left: P } = e.getBoundingClientRect(), { top: R, right: T, bottom: _, left: O } = ((V) => {
12305
12324
  const B = window.getComputedStyle(V);
@@ -12309,11 +12328,11 @@ const Gd = (e) => typeof e == "object" && e != null && e.nodeType === 1, Xd = (e
12309
12328
  const k = [];
12310
12329
  for (let V = 0; V < m.length; V++) {
12311
12330
  const B = m[V], { height: M, width: F, top: U, right: W, bottom: Q, left: ne } = B.getBoundingClientRect();
12312
- if (s === "if-needed" && y >= 0 && P >= 0 && x <= f && C <= v && (B === p && !Ti(B) || y >= U && x <= Q && P >= ne && C <= W)) return k;
12331
+ if (s === "if-needed" && y >= 0 && P >= 0 && x <= f && C <= v && (B === h && !Ti(B) || y >= U && x <= Q && P >= ne && C <= W)) return k;
12313
12332
  const te = getComputedStyle(B), Z = parseInt(te.borderLeftWidth, 10), K = parseInt(te.borderTopWidth, 10), j = parseInt(te.borderRightWidth, 10), q = parseInt(te.borderBottomWidth, 10);
12314
12333
  let z = 0, D = 0;
12315
12334
  const Y = "offsetWidth" in B ? B.offsetWidth - B.clientWidth - Z - j : 0, L = "offsetHeight" in B ? B.offsetHeight - B.clientHeight - K - q : 0, X = "offsetWidth" in B ? B.offsetWidth === 0 ? 0 : F / B.offsetWidth : 0, H = "offsetHeight" in B ? B.offsetHeight === 0 ? 0 : M / B.offsetHeight : 0;
12316
- if (p === B) z = a === "start" ? N : a === "end" ? N - f : a === "nearest" ? Ni(E, E + f, f, K, q, E + N, E + N + b, b) : N - f / 2, D = c === "start" ? A : c === "center" ? A - v / 2 : c === "end" ? A - v : Ni(g, g + v, v, Z, j, g + A, g + A + w, w), z = Math.max(0, z + E), D = Math.max(0, D + g);
12335
+ if (h === B) z = a === "start" ? N : a === "end" ? N - f : a === "nearest" ? Ni(E, E + f, f, K, q, E + N, E + N + b, b) : N - f / 2, D = c === "start" ? A : c === "center" ? A - v / 2 : c === "end" ? A - v : Ni(g, g + v, v, Z, j, g + A, g + A + w, w), z = Math.max(0, z + E), D = Math.max(0, D + g);
12317
12336
  else {
12318
12337
  z = a === "start" ? N - U - K : a === "end" ? N - Q + q + L : a === "nearest" ? Ni(U, Q, M, K, q + L, N, N + b, b) : N - (U + M / 2) + L / 2, D = c === "start" ? A - ne - Z : c === "center" ? A - (ne + F / 2) + Y / 2 : c === "end" ? A - W + j + Y : Ni(ne, W, F, Z, j + Y, A, A + w, w);
12319
12338
  const { scrollLeft: G, scrollTop: oe } = B;
@@ -12379,14 +12398,14 @@ function AP(e) {
12379
12398
  n.scrollbarColor = c.scrollbarColor, n.scrollbarWidth = c.scrollbarWidth;
12380
12399
  const l = getComputedStyle(e, "::-webkit-scrollbar"), u = parseInt(l.width, 10), d = parseInt(l.height, 10);
12381
12400
  try {
12382
- const p = u ? `width: ${l.width};` : "", m = d ? `height: ${l.height};` : "";
12401
+ const h = u ? `width: ${l.width};` : "", m = d ? `height: ${l.height};` : "";
12383
12402
  Mr(`
12384
12403
  #${t}::-webkit-scrollbar {
12385
- ${p}
12404
+ ${h}
12386
12405
  ${m}
12387
12406
  }`, t);
12388
- } catch (p) {
12389
- console.error(p), o = u, i = d;
12407
+ } catch (h) {
12408
+ console.error(h), o = u, i = d;
12390
12409
  }
12391
12410
  }
12392
12411
  document.body.appendChild(r);
@@ -12479,7 +12498,7 @@ const ep = (e) => e === !1 ? !1 : !xt() || !e ? null : typeof e == "string" ? do
12479
12498
  process.env.NODE_ENV !== "production" && De(xt() || !r, "Portal only work in client side. Please call 'useEffect' to show Portal instead default render in SSR."), S.useEffect(() => {
12480
12499
  (s || r) && u(r);
12481
12500
  }, [r, s]);
12482
- const [p, m] = S.useState(() => ep(o));
12501
+ const [h, m] = S.useState(() => ep(o));
12483
12502
  S.useEffect(() => {
12484
12503
  const y = ep(o);
12485
12504
  m(() => (
@@ -12488,12 +12507,12 @@ const ep = (e) => e === !1 ? !1 : !xt() || !e ? null : typeof e == "string" ? do
12488
12507
  y ?? null
12489
12508
  ));
12490
12509
  });
12491
- const [h, v] = NP(d && !p, i), f = p ?? h;
12492
- FP(n && r && xt() && (f === h || f === document.body)), LP(r, c);
12510
+ const [p, v] = NP(d && !h, i), f = h ?? p;
12511
+ FP(n && r && xt() && (f === p || f === document.body)), LP(r, c);
12493
12512
  let g = null;
12494
12513
  a && Ss(a) && t && (g = Cs(a));
12495
12514
  const E = Bg(g, t);
12496
- if (!d || !xt() || p === void 0)
12515
+ if (!d || !xt() || h === void 0)
12497
12516
  return null;
12498
12517
  const b = f === !1 || TP();
12499
12518
  let w = a;
@@ -12524,8 +12543,8 @@ function kP(e) {
12524
12543
  position: "absolute"
12525
12544
  };
12526
12545
  if (r.autoArrow !== !1) {
12527
- const p = r.points[0], m = r.points[1], h = p[0], v = p[1], f = m[0], g = m[1];
12528
- h === f || !["t", "b"].includes(h) ? d.top = l : h === "t" ? d.top = 0 : d.bottom = 0, v === g || !["l", "r"].includes(v) ? d.left = c : v === "l" ? d.left = 0 : d.right = 0;
12546
+ const h = r.points[0], m = r.points[1], p = h[0], v = h[1], f = m[0], g = m[1];
12547
+ p === f || !["t", "b"].includes(p) ? d.top = l : p === "t" ? d.top = 0 : d.bottom = 0, v === g || !["l", "r"].includes(v) ? d.left = c : v === "l" ? d.left = 0 : d.right = 0;
12529
12548
  }
12530
12549
  return /* @__PURE__ */ S.createElement("div", {
12531
12550
  ref: u,
@@ -12582,8 +12601,8 @@ function tv(e, t, r, n, o, i, s, a) {
12582
12601
  if (!e && (t || !r)) {
12583
12602
  const {
12584
12603
  points: u
12585
- } = n, d = n.dynamicInset || n._experimental?.dynamicInset, p = d && u[0][1] === "r", m = d && u[0][0] === "b";
12586
- p ? (l.right = o, l.left = c) : (l.left = s, l.right = c), m ? (l.bottom = i, l.top = c) : (l.top = a, l.bottom = c);
12604
+ } = n, d = n.dynamicInset || n._experimental?.dynamicInset, h = d && u[0][1] === "r", m = d && u[0][0] === "b";
12605
+ h ? (l.right = o, l.left = c) : (l.left = s, l.right = c), m ? (l.bottom = i, l.top = c) : (l.top = a, l.bottom = c);
12587
12606
  }
12588
12607
  return l;
12589
12608
  }
@@ -12612,10 +12631,10 @@ const ku = /* @__PURE__ */ S.forwardRef((e, t) => {
12612
12631
  // Click
12613
12632
  onClick: d,
12614
12633
  // Mask
12615
- mask: p,
12634
+ mask: h,
12616
12635
  // Arrow
12617
12636
  arrow: m,
12618
- arrowPos: h,
12637
+ arrowPos: p,
12619
12638
  align: v,
12620
12639
  // Motion
12621
12640
  motion: f,
@@ -12645,7 +12664,7 @@ const ku = /* @__PURE__ */ S.forwardRef((e, t) => {
12645
12664
  stretch: W,
12646
12665
  targetWidth: Q,
12647
12666
  targetHeight: ne
12648
- } = e, te = typeof r == "function" ? r() : r, Z = c || l, K = !!E, [j, q, z] = S.useMemo(() => E ? [E.mask, E.maskMotion, E.motion] : [p, g, f], [E, p, g, f]), D = w?.length > 0, [Y, L] = S.useState(!w || !D);
12667
+ } = e, te = typeof r == "function" ? r() : r, Z = c || l, K = !!E, [j, q, z] = S.useMemo(() => E ? [E.mask, E.maskMotion, E.motion] : [h, g, f], [E, h, g, f]), D = w?.length > 0, [Y, L] = S.useState(!w || !D);
12649
12668
  ot(() => {
12650
12669
  !Y && D && s && L(!0);
12651
12670
  }, [Y, D, s]);
@@ -12694,8 +12713,8 @@ const ku = /* @__PURE__ */ S.forwardRef((e, t) => {
12694
12713
  ref: ws(oe, t, ye),
12695
12714
  className: Ye,
12696
12715
  style: {
12697
- "--arrow-x": `${h.x || 0}px`,
12698
- "--arrow-y": `${h.y || 0}px`,
12716
+ "--arrow-x": `${p.x || 0}px`,
12717
+ "--arrow-y": `${p.y || 0}px`,
12699
12718
  ...H,
12700
12719
  ...G,
12701
12720
  ...se,
@@ -12711,7 +12730,7 @@ const ku = /* @__PURE__ */ S.forwardRef((e, t) => {
12711
12730
  }, m && /* @__PURE__ */ S.createElement(kP, {
12712
12731
  prefixCls: o,
12713
12732
  arrow: m,
12714
- arrowPos: h,
12733
+ arrowPos: p,
12715
12734
  align: v
12716
12735
  }), /* @__PURE__ */ S.createElement(ev, {
12717
12736
  cache: !c && !u
@@ -12808,10 +12827,10 @@ function rp(e, t) {
12808
12827
  borderRightWidth: l
12809
12828
  } = ti(n).getComputedStyle(n), u = n.getBoundingClientRect(), {
12810
12829
  offsetHeight: d,
12811
- clientHeight: p,
12830
+ clientHeight: h,
12812
12831
  offsetWidth: m,
12813
- clientWidth: h
12814
- } = n, v = oo(s), f = oo(a), g = oo(c), E = oo(l), b = Do(Math.round(u.width / m * 1e3) / 1e3), w = Do(Math.round(u.height / d * 1e3) / 1e3), y = (m - h - g - E) * b, C = (d - p - v - f) * w, x = v * w, P = f * w, R = g * b, T = E * b;
12832
+ clientWidth: p
12833
+ } = n, v = oo(s), f = oo(a), g = oo(c), E = oo(l), b = Do(Math.round(u.width / m * 1e3) / 1e3), w = Do(Math.round(u.height / d * 1e3) / 1e3), y = (m - p - g - E) * b, C = (d - h - v - f) * w, x = v * w, P = f * w, R = g * b, T = E * b;
12815
12834
  let _ = 0, O = 0;
12816
12835
  if (o === "clip") {
12817
12836
  const B = oo(i);
@@ -12864,9 +12883,9 @@ function iv(e, t, r, n, o, i, s, a) {
12864
12883
  scaleX: 1,
12865
12884
  scaleY: 1,
12866
12885
  align: o[n] || {}
12867
- }), u = S.useRef(0), d = S.useMemo(() => !t || a ? [] : _l(t), [t]), p = S.useRef({});
12868
- e || (p.current = {});
12869
- const h = ke(() => {
12886
+ }), u = S.useRef(0), d = S.useMemo(() => !t || a ? [] : _l(t), [t]), h = S.useRef({});
12887
+ e || (h.current = {});
12888
+ const p = ke(() => {
12870
12889
  if (t && r && e && !a) {
12871
12890
  let Ne = function(le, ct, nt = H) {
12872
12891
  const to = N.x + le, qr = N.y + ct, si = to + ne, ai = qr + Q, ci = Math.max(to, nt.left), ef = Math.max(qr, nt.top), Ws = Math.min(si, nt.right), Gs = Math.min(ai, nt.bottom);
@@ -12953,38 +12972,38 @@ function iv(e, t, r, n, o, i, s, a) {
12953
12972
  let We, or, Gt, ir;
12954
12973
  Xt();
12955
12974
  const xr = kt(Ue), sr = ut[0] === Rt[0];
12956
- if (xr && ut[0] === "t" && (or > G.bottom || p.current.bt)) {
12975
+ if (xr && ut[0] === "t" && (or > G.bottom || h.current.bt)) {
12957
12976
  let le = _e;
12958
12977
  sr ? le -= Q - te : le = de.y - ce.y - Fe;
12959
12978
  const ct = Ne(Te, le), nt = Ne(Te, le, X);
12960
12979
  // Of course use larger one
12961
12980
  ct > $ || ct === $ && (!Y || // Choose recommend one
12962
- nt >= I) ? (p.current.bt = !0, _e = le, Fe = -Fe, $e = [Rr($e[0], 0), Rr($e[1], 0)]) : p.current.bt = !1;
12981
+ nt >= I) ? (h.current.bt = !0, _e = le, Fe = -Fe, $e = [Rr($e[0], 0), Rr($e[1], 0)]) : h.current.bt = !1;
12963
12982
  }
12964
- if (xr && ut[0] === "b" && (We < G.top || p.current.tb)) {
12983
+ if (xr && ut[0] === "b" && (We < G.top || h.current.tb)) {
12965
12984
  let le = _e;
12966
12985
  sr ? le += Q - te : le = ve.y - ue.y - Fe;
12967
12986
  const ct = Ne(Te, le), nt = Ne(Te, le, X);
12968
12987
  // Of course use larger one
12969
12988
  ct > $ || ct === $ && (!Y || // Choose recommend one
12970
- nt >= I) ? (p.current.tb = !0, _e = le, Fe = -Fe, $e = [Rr($e[0], 0), Rr($e[1], 0)]) : p.current.tb = !1;
12989
+ nt >= I) ? (h.current.tb = !0, _e = le, Fe = -Fe, $e = [Rr($e[0], 0), Rr($e[1], 0)]) : h.current.tb = !1;
12971
12990
  }
12972
12991
  const Pr = kt(Nt), Ht = ut[1] === Rt[1];
12973
- if (Pr && ut[1] === "l" && (ir > G.right || p.current.rl)) {
12992
+ if (Pr && ut[1] === "l" && (ir > G.right || h.current.rl)) {
12974
12993
  let le = Te;
12975
12994
  Ht ? le -= ne - Z : le = de.x - ce.x - pe;
12976
12995
  const ct = Ne(le, _e), nt = Ne(le, _e, X);
12977
12996
  // Of course use larger one
12978
12997
  ct > $ || ct === $ && (!Y || // Choose recommend one
12979
- nt >= I) ? (p.current.rl = !0, Te = le, pe = -pe, $e = [Rr($e[0], 1), Rr($e[1], 1)]) : p.current.rl = !1;
12998
+ nt >= I) ? (h.current.rl = !0, Te = le, pe = -pe, $e = [Rr($e[0], 1), Rr($e[1], 1)]) : h.current.rl = !1;
12980
12999
  }
12981
- if (Pr && ut[1] === "r" && (Gt < G.left || p.current.lr)) {
13000
+ if (Pr && ut[1] === "r" && (Gt < G.left || h.current.lr)) {
12982
13001
  let le = Te;
12983
13002
  Ht ? le += ne - Z : le = ve.x - ue.x - pe;
12984
13003
  const ct = Ne(le, _e), nt = Ne(le, _e, X);
12985
13004
  // Of course use larger one
12986
13005
  ct > $ || ct === $ && (!Y || // Choose recommend one
12987
- nt >= I) ? (p.current.lr = !0, Te = le, pe = -pe, $e = [Rr($e[0], 1), Rr($e[1], 1)]) : p.current.lr = !1;
13006
+ nt >= I) ? (h.current.lr = !0, Te = le, pe = -pe, $e = [Rr($e[0], 1), Rr($e[1], 1)]) : h.current.lr = !1;
12988
13007
  }
12989
13008
  Tt.points = [sp($e[0]), sp($e[1])], Xt();
12990
13009
  const At = yt === !0 ? 0 : yt;
@@ -13013,7 +13032,7 @@ function iv(e, t, r, n, o, i, s, a) {
13013
13032
  u.current += 1;
13014
13033
  const g = u.current;
13015
13034
  Promise.resolve().then(() => {
13016
- u.current === g && h();
13035
+ u.current === g && p();
13017
13036
  });
13018
13037
  }, f = () => {
13019
13038
  l((g) => ({
@@ -13044,15 +13063,15 @@ function jP(e, t, r, n, o) {
13044
13063
  n(), o();
13045
13064
  };
13046
13065
  const i = t, s = r, a = _l(i), c = _l(s), l = ti(s), u = /* @__PURE__ */ new Set([l, ...a, ...c]);
13047
- return u.forEach((p) => {
13048
- p.addEventListener("scroll", d, {
13066
+ return u.forEach((h) => {
13067
+ h.addEventListener("scroll", d, {
13049
13068
  passive: !0
13050
13069
  });
13051
13070
  }), l.addEventListener("resize", d, {
13052
13071
  passive: !0
13053
13072
  }), n(), () => {
13054
- u.forEach((p) => {
13055
- p.removeEventListener("scroll", d), l.removeEventListener("resize", d);
13073
+ u.forEach((h) => {
13074
+ h.removeEventListener("scroll", d), l.removeEventListener("resize", d);
13056
13075
  });
13057
13076
  };
13058
13077
  }
@@ -13066,17 +13085,17 @@ function zP(e, t, r, n, o, i, s, a) {
13066
13085
  if (t && n && (!o || i)) {
13067
13086
  const d = () => {
13068
13087
  l.current = !1;
13069
- }, p = (v) => {
13088
+ }, h = (v) => {
13070
13089
  c.current && !s(v.composedPath?.()?.[0] || v.target) && !l.current && a(!1);
13071
13090
  }, m = ti(n);
13072
- m.addEventListener("pointerdown", d, !0), m.addEventListener("mousedown", p, !0), m.addEventListener("contextmenu", p, !0);
13073
- const h = ns(r);
13074
- if (h && (h.addEventListener("mousedown", p, !0), h.addEventListener("contextmenu", p, !0)), process.env.NODE_ENV !== "production" && r) {
13091
+ m.addEventListener("pointerdown", d, !0), m.addEventListener("mousedown", h, !0), m.addEventListener("contextmenu", h, !0);
13092
+ const p = ns(r);
13093
+ if (p && (p.addEventListener("mousedown", h, !0), p.addEventListener("contextmenu", h, !0)), process.env.NODE_ENV !== "production" && r) {
13075
13094
  const v = r.getRootNode?.(), f = n.getRootNode?.();
13076
13095
  To(v === f, "trigger element and popup element should in same shadow root.");
13077
13096
  }
13078
13097
  return () => {
13079
- m.removeEventListener("pointerdown", d, !0), m.removeEventListener("mousedown", p, !0), m.removeEventListener("contextmenu", p, !0), h && (h.removeEventListener("mousedown", p, !0), h.removeEventListener("contextmenu", p, !0));
13098
+ m.removeEventListener("pointerdown", d, !0), m.removeEventListener("mousedown", h, !0), m.removeEventListener("contextmenu", h, !0), p && (p.removeEventListener("mousedown", h, !0), p.removeEventListener("contextmenu", h, !0));
13080
13099
  };
13081
13100
  }
13082
13101
  }, [t, r, n, o, i]);
@@ -13116,9 +13135,9 @@ const UP = (e) => {
13116
13135
  offsetY: l,
13117
13136
  arrowPos: u,
13118
13137
  popupSize: d,
13119
- motion: p,
13138
+ motion: h,
13120
13139
  uniqueContainerClassName: m,
13121
- uniqueContainerStyle: h
13140
+ uniqueContainerStyle: p
13122
13141
  } = e, v = `${t}-unique-container`, [f, g] = re.useState(!1), E = tv(r, n, o, i, s, a, c, l), b = re.useRef(E);
13123
13142
  n && (b.current = E);
13124
13143
  const w = {};
@@ -13128,7 +13147,7 @@ const UP = (e) => {
13128
13147
  motionLeave: !0,
13129
13148
  removeOnLeave: !1,
13130
13149
  leavedClassName: `${v}-hidden`
13131
- }, p, {
13150
+ }, h, {
13132
13151
  visible: o,
13133
13152
  onVisibleChanged: (y) => {
13134
13153
  g(y);
@@ -13148,7 +13167,7 @@ const UP = (e) => {
13148
13167
  ...b.current,
13149
13168
  ...w,
13150
13169
  ...C,
13151
- ...h
13170
+ ...p
13152
13171
  }
13153
13172
  });
13154
13173
  });
@@ -13156,14 +13175,14 @@ const UP = (e) => {
13156
13175
  children: e,
13157
13176
  postTriggerProps: t
13158
13177
  }) => {
13159
- const [r, n, o, i] = qP(), s = S.useMemo(() => !o || !t ? o : t(o), [o, t]), [a, c] = S.useState(null), [l, u] = S.useState(null), d = S.useRef(null), p = ke((M) => {
13178
+ const [r, n, o, i] = qP(), s = S.useMemo(() => !o || !t ? o : t(o), [o, t]), [a, c] = S.useState(null), [l, u] = S.useState(null), d = S.useRef(null), h = ke((M) => {
13160
13179
  d.current = M, Hn(M) && a !== M && c(M);
13161
- }), m = S.useRef(null), h = sv(), v = ke((M, F) => {
13162
- m.current = F, h(() => {
13180
+ }), m = S.useRef(null), p = sv(), v = ke((M, F) => {
13181
+ m.current = F, p(() => {
13163
13182
  r(M);
13164
13183
  }, M.delay);
13165
13184
  }), f = (M) => {
13166
- h(() => {
13185
+ p(() => {
13167
13186
  m.current?.() || r(!1);
13168
13187
  }, M);
13169
13188
  }, g = ke((M) => {
@@ -13221,7 +13240,7 @@ const UP = (e) => {
13221
13240
  }, e, s && /* @__PURE__ */ S.createElement(os.Provider, {
13222
13241
  value: V
13223
13242
  }, /* @__PURE__ */ S.createElement(ku, {
13224
- ref: p,
13243
+ ref: h,
13225
13244
  portal: Fs,
13226
13245
  prefixCls: B,
13227
13246
  popup: s.popup,
@@ -13288,9 +13307,9 @@ function GP(e = Fs) {
13288
13307
  popupVisible: l,
13289
13308
  defaultPopupVisible: u,
13290
13309
  onOpenChange: d,
13291
- afterOpenChange: p,
13310
+ afterOpenChange: h,
13292
13311
  onPopupVisibleChange: m,
13293
- afterPopupVisibleChange: h,
13312
+ afterPopupVisibleChange: p,
13294
13313
  // Delay
13295
13314
  mouseEnterDelay: v,
13296
13315
  mouseLeaveDelay: f = 0.1,
@@ -13425,7 +13444,7 @@ function GP(e = Fs) {
13425
13444
  }, js = () => {
13426
13445
  Bs(), Vt();
13427
13446
  }, zs = (J) => {
13428
- ce(!1), At(), p?.(J), h?.(J);
13447
+ ce(!1), At(), h?.(J), p?.(J);
13429
13448
  }, qs = () => new Promise((J) => {
13430
13449
  Bs(), Nt(() => J);
13431
13450
  });
@@ -13698,25 +13717,25 @@ const a_ = "rc-color-picker", An = (e) => e instanceof Dr ? e : new Dr(e), c_ =
13698
13717
  } = n.current.getBoundingClientRect(), {
13699
13718
  width: c,
13700
13719
  height: l
13701
- } = r.current.getBoundingClientRect(), u = c / 2, d = l / 2, p = (t.x + u) / s, m = 1 - (t.y + d) / a, h = o.toHsb(), v = p, f = (t.x + u) / s * 360;
13720
+ } = r.current.getBoundingClientRect(), u = c / 2, d = l / 2, h = (t.x + u) / s, m = 1 - (t.y + d) / a, p = o.toHsb(), v = h, f = (t.x + u) / s * 360;
13702
13721
  if (i)
13703
13722
  switch (i) {
13704
13723
  case "hue":
13705
13724
  return An({
13706
- ...h,
13725
+ ...p,
13707
13726
  h: f <= 0 ? 0 : f
13708
13727
  });
13709
13728
  case "alpha":
13710
13729
  return An({
13711
- ...h,
13730
+ ...p,
13712
13731
  a: v <= 0 ? 0 : v
13713
13732
  });
13714
13733
  }
13715
13734
  return An({
13716
- h: h.h,
13717
- s: p <= 0 ? 0 : p,
13735
+ h: p.h,
13736
+ s: h <= 0 ? 0 : h,
13718
13737
  b: m >= 1 ? 1 : m,
13719
- a: h.a
13738
+ a: p.a
13720
13739
  });
13721
13740
  }, uv = (e, t) => {
13722
13741
  const r = e.toHsb();
@@ -13777,11 +13796,11 @@ function fv(e) {
13777
13796
  } = e, [l, u] = In({
13778
13797
  x: 0,
13779
13798
  y: 0
13780
- }), d = Je(null), p = Je(null);
13799
+ }), d = Je(null), h = Je(null);
13781
13800
  rt(() => {
13782
13801
  u(s());
13783
13802
  }, [a]), rt(() => () => {
13784
- document.removeEventListener("mousemove", d.current), document.removeEventListener("mouseup", p.current), document.removeEventListener("touchmove", d.current), document.removeEventListener("touchend", p.current), d.current = null, p.current = null;
13803
+ document.removeEventListener("mousemove", d.current), document.removeEventListener("mouseup", h.current), document.removeEventListener("touchmove", d.current), document.removeEventListener("touchend", h.current), d.current = null, h.current = null;
13785
13804
  }, []);
13786
13805
  const m = (g) => {
13787
13806
  const {
@@ -13802,13 +13821,13 @@ function fv(e) {
13802
13821
  if (P === 0 && R === 0 || P !== R)
13803
13822
  return !1;
13804
13823
  o?.(A);
13805
- }, h = (g) => {
13824
+ }, p = (g) => {
13806
13825
  g.preventDefault(), m(g);
13807
13826
  }, v = (g) => {
13808
- g.preventDefault(), document.removeEventListener("mousemove", d.current), document.removeEventListener("mouseup", p.current), document.removeEventListener("touchmove", d.current), document.removeEventListener("touchend", p.current), d.current = null, p.current = null, i?.();
13827
+ g.preventDefault(), document.removeEventListener("mousemove", d.current), document.removeEventListener("mouseup", h.current), document.removeEventListener("touchmove", d.current), document.removeEventListener("touchend", h.current), d.current = null, h.current = null, i?.();
13809
13828
  };
13810
13829
  return [l, (g) => {
13811
- document.removeEventListener("mousemove", d.current), document.removeEventListener("mouseup", p.current), !c && (m(g), document.addEventListener("mousemove", h), document.addEventListener("mouseup", v), document.addEventListener("touchmove", h), document.addEventListener("touchend", v), d.current = h, p.current = v);
13830
+ document.removeEventListener("mousemove", d.current), document.removeEventListener("mouseup", h.current), !c && (m(g), document.addEventListener("mousemove", p), document.addEventListener("mouseup", v), document.addEventListener("touchmove", p), document.addEventListener("touchend", v), d.current = p, h.current = v);
13812
13831
  }];
13813
13832
  }
13814
13833
  const dv = ({
@@ -13856,13 +13875,13 @@ const dv = ({
13856
13875
  disabled: o
13857
13876
  }) => {
13858
13877
  const i = Je(), s = Je(), a = Je(e), c = ke((d) => {
13859
- const p = lv({
13878
+ const h = lv({
13860
13879
  offset: d,
13861
13880
  targetRef: s,
13862
13881
  containerRef: i,
13863
13882
  color: e
13864
13883
  });
13865
- a.current = p, t(p);
13884
+ a.current = h, t(h);
13866
13885
  }), [l, u] = fv({
13867
13886
  color: e,
13868
13887
  containerRef: i,
@@ -13924,7 +13943,7 @@ const dv = ({
13924
13943
  onChangeComplete: i,
13925
13944
  color: s,
13926
13945
  type: a
13927
- } = e, c = Je(null), l = Je(null), u = Je(s), d = (g) => a === "hue" ? g.getHue() : g.a * 100, p = ke((g) => {
13946
+ } = e, c = Je(null), l = Je(null), u = Je(s), d = (g) => a === "hue" ? g.getHue() : g.a * 100, h = ke((g) => {
13928
13947
  const E = lv({
13929
13948
  offset: g,
13930
13949
  targetRef: l,
@@ -13933,12 +13952,12 @@ const dv = ({
13933
13952
  type: a
13934
13953
  });
13935
13954
  u.current = E, o(d(E));
13936
- }), [m, h] = fv({
13955
+ }), [m, p] = fv({
13937
13956
  color: s,
13938
13957
  targetRef: l,
13939
13958
  containerRef: c,
13940
13959
  calculate: () => uv(s, a),
13941
- onDragChange: p,
13960
+ onDragChange: h,
13942
13961
  onDragChangeComplete() {
13943
13962
  i(d(u.current));
13944
13963
  },
@@ -13954,8 +13973,8 @@ const dv = ({
13954
13973
  return /* @__PURE__ */ re.createElement("div", {
13955
13974
  ref: c,
13956
13975
  className: ae(`${t}-slider`, `${t}-slider-${a}`),
13957
- onMouseDown: h,
13958
- onTouchStart: h
13976
+ onMouseDown: p,
13977
+ onTouchStart: p
13959
13978
  }, /* @__PURE__ */ re.createElement(pv, {
13960
13979
  prefixCls: t
13961
13980
  }, /* @__PURE__ */ re.createElement(hv, {
@@ -14023,10 +14042,10 @@ const g_ = [{
14023
14042
  panelRender: l,
14024
14043
  disabledAlpha: u = !1,
14025
14044
  disabled: d = !1,
14026
- components: p
14027
- } = e, [m] = m_(p), [h, v] = d_(n || c_, r), f = qe(() => h.setA(1).toRgbString(), [h]), g = (_, O) => {
14045
+ components: h
14046
+ } = e, [m] = m_(h), [p, v] = d_(n || c_, r), f = qe(() => p.setA(1).toRgbString(), [p]), g = (_, O) => {
14028
14047
  r || v(_), i?.(_, O);
14029
- }, E = (_) => new Dr(h.setHue(_)), b = (_) => new Dr(h.setA(_ / 100)), w = (_) => {
14048
+ }, E = (_) => new Dr(p.setHue(_)), b = (_) => new Dr(p.setA(_ / 100)), w = (_) => {
14030
14049
  g(E(_), {
14031
14050
  type: "hue",
14032
14051
  value: _
@@ -14045,7 +14064,7 @@ const g_ = [{
14045
14064
  }), R = {
14046
14065
  prefixCls: o,
14047
14066
  disabled: d,
14048
- color: h
14067
+ color: p
14049
14068
  }, T = /* @__PURE__ */ re.createElement(re.Fragment, null, /* @__PURE__ */ re.createElement(f_, Eo({
14050
14069
  onChange: g
14051
14070
  }, R, {
@@ -14061,7 +14080,7 @@ const g_ = [{
14061
14080
  colors: g_,
14062
14081
  min: 0,
14063
14082
  max: 359,
14064
- value: h.getHue(),
14083
+ value: p.getHue(),
14065
14084
  onChange: w,
14066
14085
  onChangeComplete: C
14067
14086
  })), !u && /* @__PURE__ */ re.createElement(m, Eo({}, R, {
@@ -14075,11 +14094,11 @@ const g_ = [{
14075
14094
  }],
14076
14095
  min: 0,
14077
14096
  max: 100,
14078
- value: h.a * 100,
14097
+ value: p.a * 100,
14079
14098
  onChange: y,
14080
14099
  onChangeComplete: x
14081
14100
  }))), /* @__PURE__ */ re.createElement(l_, {
14082
- color: h.toRgbString(),
14101
+ color: p.toRgbString(),
14083
14102
  prefixCls: o
14084
14103
  })));
14085
14104
  return /* @__PURE__ */ re.createElement("div", {
@@ -14634,28 +14653,28 @@ var pp = /* @__PURE__ */ (function(e) {
14634
14653
  })(/* @__PURE__ */ Il(Error));
14635
14654
  function U_(e, t, r, n, o) {
14636
14655
  if (t.first) {
14637
- var i = new Promise(function(p, m) {
14638
- var h = function(g) {
14639
- return n(g), g.length ? m(new pp(g, Ml(g))) : p(o);
14656
+ var i = new Promise(function(h, m) {
14657
+ var p = function(g) {
14658
+ return n(g), g.length ? m(new pp(g, Ml(g))) : h(o);
14640
14659
  }, v = q_(e);
14641
- dp(v, r, h);
14660
+ dp(v, r, p);
14642
14661
  });
14643
- return i.catch(function(p) {
14644
- return p;
14662
+ return i.catch(function(h) {
14663
+ return h;
14645
14664
  }), i;
14646
14665
  }
14647
- var s = t.firstFields === !0 ? Object.keys(e) : t.firstFields || [], a = Object.keys(e), c = a.length, l = 0, u = [], d = new Promise(function(p, m) {
14648
- var h = function(f) {
14666
+ var s = t.firstFields === !0 ? Object.keys(e) : t.firstFields || [], a = Object.keys(e), c = a.length, l = 0, u = [], d = new Promise(function(h, m) {
14667
+ var p = function(f) {
14649
14668
  if (u.push.apply(u, f), l++, l === c)
14650
- return n(u), u.length ? m(new pp(u, Ml(u))) : p(o);
14669
+ return n(u), u.length ? m(new pp(u, Ml(u))) : h(o);
14651
14670
  };
14652
- a.length || (n(u), p(o)), a.forEach(function(v) {
14671
+ a.length || (n(u), h(o)), a.forEach(function(v) {
14653
14672
  var f = e[v];
14654
- s.indexOf(v) !== -1 ? dp(f, r, h) : z_(f, r, h);
14673
+ s.indexOf(v) !== -1 ? dp(f, r, p) : z_(f, r, p);
14655
14674
  });
14656
14675
  });
14657
- return d.catch(function(p) {
14658
- return p;
14676
+ return d.catch(function(h) {
14677
+ return h;
14659
14678
  }), d;
14660
14679
  }
14661
14680
  function W_(e) {
@@ -14701,10 +14720,10 @@ var Sn = "enum", X_ = function(t, r, n, o, i) {
14701
14720
  }
14702
14721
  }
14703
14722
  }, Y_ = function(t, r, n, o, i) {
14704
- var s = typeof t.len == "number", a = typeof t.min == "number", c = typeof t.max == "number", l = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, u = r, d = null, p = typeof r == "number", m = typeof r == "string", h = Array.isArray(r);
14705
- if (p ? d = "number" : m ? d = "string" : h && (d = "array"), !d)
14723
+ var s = typeof t.len == "number", a = typeof t.min == "number", c = typeof t.max == "number", l = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, u = r, d = null, h = typeof r == "number", m = typeof r == "string", p = Array.isArray(r);
14724
+ if (h ? d = "number" : m ? d = "string" : p && (d = "array"), !d)
14706
14725
  return !1;
14707
- h && (u = r.length), m && (u = r.replace(l, "_").length), s ? u !== t.len && o.push(Ct(i.messages[d].len, t.fullField, t.len)) : a && !c && u < t.min ? o.push(Ct(i.messages[d].min, t.fullField, t.min)) : c && !a && u > t.max ? o.push(Ct(i.messages[d].max, t.fullField, t.max)) : a && c && (u < t.min || u > t.max) && o.push(Ct(i.messages[d].range, t.fullField, t.min, t.max));
14726
+ p && (u = r.length), m && (u = r.replace(l, "_").length), s ? u !== t.len && o.push(Ct(i.messages[d].len, t.fullField, t.len)) : a && !c && u < t.min ? o.push(Ct(i.messages[d].min, t.fullField, t.min)) : c && !a && u > t.max ? o.push(Ct(i.messages[d].max, t.fullField, t.max)) : a && c && (u < t.min || u > t.max) && o.push(Ct(i.messages[d].range, t.fullField, t.min, t.max));
14708
14727
  }, yv = function(t, r, n, o, i, s) {
14709
14728
  t.required && (!n.hasOwnProperty(t.field) || Qe(r, s || t.type)) && o.push(Ct(i.messages.required, t.fullField));
14710
14729
  }, $i;
@@ -14738,7 +14757,7 @@ const K_ = (function() {
14738
14757
  }, u.v6 = function(y) {
14739
14758
  return y && y.exact ? l : new RegExp("".concat(t(y)).concat(s).concat(t(y)), "g");
14740
14759
  };
14741
- var d = "(?:(?:[a-z]+:)?//)", p = "(?:\\S+(?::\\S*)?@)?", m = u.v4().source, h = u.v6().source, v = "(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)", f = "(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*", g = "(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))", E = "(?::\\d{2,5})?", b = '(?:[/?#][^\\s"]*)?', w = "(?:".concat(d, "|www\\.)").concat(p, "(?:localhost|").concat(m, "|").concat(h, "|").concat(v).concat(f).concat(g, ")").concat(E).concat(b);
14760
+ var d = "(?:(?:[a-z]+:)?//)", h = "(?:\\S+(?::\\S*)?@)?", m = u.v4().source, p = u.v6().source, v = "(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)", f = "(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*", g = "(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))", E = "(?::\\d{2,5})?", b = '(?:[/?#][^\\s"]*)?', w = "(?:".concat(d, "|www\\.)").concat(h, "(?:localhost|").concat(m, "|").concat(p, "|").concat(v).concat(f).concat(g, ")").concat(E).concat(b);
14742
14761
  return $i = new RegExp("(?:^".concat(w, "$)"), "i"), $i;
14743
14762
  });
14744
14763
  var gp = {
@@ -14974,7 +14993,7 @@ var ri = /* @__PURE__ */ (function() {
14974
14993
  }, s = r, a = o, c = i;
14975
14994
  if (typeof a == "function" && (c = a, a = {}), !this.rules || Object.keys(this.rules).length === 0)
14976
14995
  return c && c(null, s), Promise.resolve(s);
14977
- function l(h) {
14996
+ function l(p) {
14978
14997
  var v = [], f = {};
14979
14998
  function g(b) {
14980
14999
  if (Array.isArray(b)) {
@@ -14983,8 +15002,8 @@ var ri = /* @__PURE__ */ (function() {
14983
15002
  } else
14984
15003
  v.push(b);
14985
15004
  }
14986
- for (var E = 0; E < h.length; E++)
14987
- g(h[E]);
15005
+ for (var E = 0; E < p.length; E++)
15006
+ g(p[E]);
14988
15007
  v.length ? (f = Ml(v), c(v, f)) : c(null, s);
14989
15008
  }
14990
15009
  if (a.messages) {
@@ -14992,25 +15011,25 @@ var ri = /* @__PURE__ */ (function() {
14992
15011
  u === $l && (u = Al()), mp(u, a.messages), a.messages = u;
14993
15012
  } else
14994
15013
  a.messages = this.messages();
14995
- var d = {}, p = a.keys || Object.keys(this.rules);
14996
- p.forEach(function(h) {
14997
- var v = n.rules[h], f = s[h];
15014
+ var d = {}, h = a.keys || Object.keys(this.rules);
15015
+ h.forEach(function(p) {
15016
+ var v = n.rules[p], f = s[p];
14998
15017
  v.forEach(function(g) {
14999
15018
  var E = g;
15000
- typeof E.transform == "function" && (s === r && (s = Le({}, s)), f = s[h] = E.transform(f), f != null && (E.type = E.type || (Array.isArray(f) ? "array" : je(f)))), typeof E == "function" ? E = {
15019
+ typeof E.transform == "function" && (s === r && (s = Le({}, s)), f = s[p] = E.transform(f), f != null && (E.type = E.type || (Array.isArray(f) ? "array" : je(f)))), typeof E == "function" ? E = {
15001
15020
  validator: E
15002
- } : E = Le({}, E), E.validator = n.getValidationMethod(E), E.validator && (E.field = h, E.fullField = E.fullField || h, E.type = n.getType(E), d[h] = d[h] || [], d[h].push({
15021
+ } : E = Le({}, E), E.validator = n.getValidationMethod(E), E.validator && (E.field = p, E.fullField = E.fullField || p, E.type = n.getType(E), d[p] = d[p] || [], d[p].push({
15003
15022
  rule: E,
15004
15023
  value: f,
15005
15024
  source: s,
15006
- field: h
15025
+ field: p
15007
15026
  }));
15008
15027
  });
15009
15028
  });
15010
15029
  var m = {};
15011
- return U_(d, a, function(h, v) {
15012
- var f = h.rule, g = (f.type === "object" || f.type === "array") && (je(f.fields) === "object" || je(f.defaultField) === "object");
15013
- g = g && (f.required || !f.required && h.value), f.field = h.field;
15030
+ return U_(d, a, function(p, v) {
15031
+ var f = p.rule, g = (f.type === "object" || f.type === "array") && (je(f.fields) === "object" || je(f.defaultField) === "object");
15032
+ g = g && (f.required || !f.required && p.value), f.field = p.field;
15014
15033
  function E(x, P) {
15015
15034
  return Le(Le({}, P), {}, {
15016
15035
  fullField: "".concat(f.fullField, ".").concat(x),
@@ -15026,19 +15045,19 @@ var ri = /* @__PURE__ */ (function() {
15026
15045
  if (!g)
15027
15046
  v(R);
15028
15047
  else {
15029
- if (f.required && !h.value)
15048
+ if (f.required && !p.value)
15030
15049
  return f.message !== void 0 ? R = [].concat(f.message).map(hp(f, s)) : a.error && (R = [a.error(f, Ct(a.messages.required, f.field))]), v(R);
15031
15050
  var T = {};
15032
- f.defaultField && Object.keys(h.value).map(function(N) {
15051
+ f.defaultField && Object.keys(p.value).map(function(N) {
15033
15052
  T[N] = f.defaultField;
15034
- }), T = Le(Le({}, T), h.rule.fields);
15053
+ }), T = Le(Le({}, T), p.rule.fields);
15035
15054
  var _ = {};
15036
15055
  Object.keys(T).forEach(function(N) {
15037
15056
  var A = T[N], k = Array.isArray(A) ? A : [A];
15038
15057
  _[N] = k.map(E.bind(null, N));
15039
15058
  });
15040
15059
  var O = new e(_);
15041
- O.messages(a.messages), h.rule.options && (h.rule.options.messages = a.messages, h.rule.options.error = a.error), O.validate(h.value, h.rule.options || a, function(N) {
15060
+ O.messages(a.messages), p.rule.options && (p.rule.options.messages = a.messages, p.rule.options.error = a.error), O.validate(p.value, p.rule.options || a, function(N) {
15042
15061
  var A = [];
15043
15062
  R && R.length && A.push.apply(A, Ve(R)), N && N.length && A.push.apply(A, Ve(N)), v(A.length ? A : null);
15044
15063
  });
@@ -15046,10 +15065,10 @@ var ri = /* @__PURE__ */ (function() {
15046
15065
  }
15047
15066
  var w;
15048
15067
  if (f.asyncValidator)
15049
- w = f.asyncValidator(f, h.value, b, h.source, a);
15068
+ w = f.asyncValidator(f, p.value, b, p.source, a);
15050
15069
  else if (f.validator) {
15051
15070
  try {
15052
- w = f.validator(f, h.value, b, h.source, a);
15071
+ w = f.validator(f, p.value, b, p.source, a);
15053
15072
  } catch (x) {
15054
15073
  var y, C;
15055
15074
  (y = (C = console).error) === null || y === void 0 || y.call(C, x), a.suppressValidatorError || setTimeout(function() {
@@ -15063,8 +15082,8 @@ var ri = /* @__PURE__ */ (function() {
15063
15082
  }, function(x) {
15064
15083
  return b(x);
15065
15084
  });
15066
- }, function(h) {
15067
- l(h);
15085
+ }, function(p) {
15086
+ l(p);
15068
15087
  }, s);
15069
15088
  }
15070
15089
  }, {
@@ -15154,12 +15173,12 @@ async function Fl(e, t, r, n, o) {
15154
15173
  };
15155
15174
  if (delete i.ruleIndex, yp.warning = () => {
15156
15175
  }, i.validator) {
15157
- const p = i.validator;
15176
+ const h = i.validator;
15158
15177
  i.validator = (...m) => {
15159
15178
  try {
15160
- return p(...m);
15161
- } catch (h) {
15162
- return console.error(h), Promise.reject(vp);
15179
+ return h(...m);
15180
+ } catch (p) {
15181
+ return console.error(p), Promise.reject(vp);
15163
15182
  }
15164
15183
  };
15165
15184
  }
@@ -15176,38 +15195,38 @@ async function Fl(e, t, r, n, o) {
15176
15195
  }, {
15177
15196
  ...n
15178
15197
  }));
15179
- } catch (p) {
15180
- p.errors && (l = p.errors.map(({
15198
+ } catch (h) {
15199
+ h.errors && (l = h.errors.map(({
15181
15200
  message: m
15182
- }, h) => {
15201
+ }, p) => {
15183
15202
  const v = m === vp ? c.default : m;
15184
15203
  return /* @__PURE__ */ S.isValidElement(v) ? (
15185
15204
  // Wrap ReactNode with `key`
15186
15205
  /* @__PURE__ */ S.cloneElement(v, {
15187
- key: `error_${h}`
15206
+ key: `error_${p}`
15188
15207
  })
15189
15208
  ) : v;
15190
15209
  }));
15191
15210
  }
15192
15211
  if (!l.length && s && Array.isArray(t) && t.length > 0)
15193
- return (await Promise.all(t.map((m, h) => Fl(`${e}.${h}`, m, s, n, o)))).reduce((m, h) => [...m, ...h], []);
15212
+ return (await Promise.all(t.map((m, p) => Fl(`${e}.${p}`, m, s, n, o)))).reduce((m, p) => [...m, ...p], []);
15194
15213
  const u = {
15195
15214
  ...r,
15196
15215
  name: e,
15197
15216
  enum: (r.enum || []).join(", "),
15198
15217
  ...o
15199
15218
  };
15200
- return l.map((p) => typeof p == "string" ? mO(p, u) : p);
15219
+ return l.map((h) => typeof h == "string" ? mO(h, u) : h);
15201
15220
  }
15202
15221
  function gO(e, t, r, n, o, i) {
15203
15222
  const s = e.join("."), a = r.map((l, u) => {
15204
- const d = l.validator, p = {
15223
+ const d = l.validator, h = {
15205
15224
  ...l,
15206
15225
  ruleIndex: u
15207
15226
  };
15208
- return d && (p.validator = (m, h, v) => {
15227
+ return d && (h.validator = (m, p, v) => {
15209
15228
  let f = !1;
15210
- const E = d(m, h, (...b) => {
15229
+ const E = d(m, p, (...b) => {
15211
15230
  Promise.resolve().then(() => {
15212
15231
  De(!f, "Your validator function has already return a promise. `callback` will be ignored."), f || v(...b);
15213
15232
  });
@@ -15217,23 +15236,23 @@ function gO(e, t, r, n, o, i) {
15217
15236
  }).catch((b) => {
15218
15237
  v(b || " ");
15219
15238
  });
15220
- }), p;
15239
+ }), h;
15221
15240
  }).sort(({
15222
15241
  warningOnly: l,
15223
15242
  ruleIndex: u
15224
15243
  }, {
15225
15244
  warningOnly: d,
15226
- ruleIndex: p
15227
- }) => !!l == !!d ? u - p : l ? 1 : -1);
15245
+ ruleIndex: h
15246
+ }) => !!l == !!d ? u - h : l ? 1 : -1);
15228
15247
  let c;
15229
15248
  if (o === !0)
15230
15249
  c = new Promise(async (l, u) => {
15231
15250
  for (let d = 0; d < a.length; d += 1) {
15232
- const p = a[d], m = await Fl(s, t, p, n, i);
15251
+ const h = a[d], m = await Fl(s, t, h, n, i);
15233
15252
  if (m.length) {
15234
15253
  u([{
15235
15254
  errors: m,
15236
- rule: p
15255
+ rule: h
15237
15256
  }]);
15238
15257
  return;
15239
15258
  }
@@ -15451,12 +15470,12 @@ class wO extends S.Component {
15451
15470
  }
15452
15471
  case "setField": {
15453
15472
  const {
15454
- data: p
15473
+ data: h
15455
15474
  } = n;
15456
15475
  if (d) {
15457
- "touched" in p && (this.touched = p.touched), "validating" in p && !("originRCField" in p) && (this.validatePromise = p.validating ? Promise.resolve([]) : null), "errors" in p && (this.errors = p.errors || Wr), "warnings" in p && (this.warnings = p.warnings || io), this.dirty = !0, this.triggerMetaEvent(), this.reRender();
15476
+ "touched" in h && (this.touched = h.touched), "validating" in h && !("originRCField" in h) && (this.validatePromise = h.validating ? Promise.resolve([]) : null), "errors" in h && (this.errors = h.errors || Wr), "warnings" in h && (this.warnings = h.warnings || io), this.dirty = !0, this.triggerMetaEvent(), this.reRender();
15458
15477
  return;
15459
- } else if ("value" in p && $n(r, c, !0)) {
15478
+ } else if ("value" in h && $n(r, c, !0)) {
15460
15479
  this.reRender();
15461
15480
  return;
15462
15481
  }
@@ -15495,28 +15514,28 @@ class wO extends S.Component {
15495
15514
  validateDebounce: l
15496
15515
  } = this.props;
15497
15516
  let u = this.getRules();
15498
- if (o && (u = u.filter((p) => p).filter((p) => {
15517
+ if (o && (u = u.filter((h) => h).filter((h) => {
15499
15518
  const {
15500
15519
  validateTrigger: m
15501
- } = p;
15520
+ } = h;
15502
15521
  return m ? Nl(m).includes(o) : !0;
15503
- })), l && o && (await new Promise((p) => {
15504
- setTimeout(p, l);
15522
+ })), l && o && (await new Promise((h) => {
15523
+ setTimeout(h, l);
15505
15524
  }), this.validatePromise !== s))
15506
15525
  return [];
15507
15526
  const d = gO(r, n, u, t, a, c);
15508
- return d.catch((p) => p).then((p = Wr) => {
15527
+ return d.catch((h) => h).then((h = Wr) => {
15509
15528
  if (this.validatePromise === s) {
15510
15529
  this.validatePromise = null;
15511
- const m = [], h = [];
15512
- p.forEach?.(({
15530
+ const m = [], p = [];
15531
+ h.forEach?.(({
15513
15532
  rule: {
15514
15533
  warningOnly: v
15515
15534
  },
15516
15535
  errors: f = Wr
15517
15536
  }) => {
15518
- v ? h.push(...f) : m.push(...f);
15519
- }), this.errors = m, this.warnings = h, this.triggerMetaEvent(), this.reRender();
15537
+ v ? p.push(...f) : m.push(...f);
15538
+ }), this.errors = m, this.warnings = p, this.triggerMetaEvent(), this.reRender();
15520
15539
  }
15521
15540
  }), d;
15522
15541
  });
@@ -15584,11 +15603,11 @@ class wO extends S.Component {
15584
15603
  getValueProps: c,
15585
15604
  fieldContext: l
15586
15605
  } = this.props, u = o !== void 0 ? o : l.validateTrigger, d = this.getNamePath(), {
15587
- getInternalHooks: p,
15606
+ getInternalHooks: h,
15588
15607
  getFieldsValue: m
15589
15608
  } = l, {
15590
- dispatch: h
15591
- } = p(Kr), v = this.getValue(), f = c || ((y) => ({
15609
+ dispatch: p
15610
+ } = h(Kr), v = this.getValue(), f = c || ((y) => ({
15592
15611
  [a]: y
15593
15612
  })), g = t[n], E = r !== void 0 ? f(v) : {};
15594
15613
  process.env.NODE_ENV !== "production" && E && Object.keys(E).forEach((y) => {
@@ -15601,7 +15620,7 @@ class wO extends S.Component {
15601
15620
  return b[n] = (...y) => {
15602
15621
  this.touched = !0, this.dirty = !0, this.triggerMetaEvent();
15603
15622
  let C;
15604
- i ? C = i(...y) : C = EO(a, ...y), s && (C = s(C, v, m(!0))), C !== v && h({
15623
+ i ? C = i(...y) : C = EO(a, ...y), s && (C = s(C, v, m(!0))), C !== v && p({
15605
15624
  type: "updateValue",
15606
15625
  namePath: d,
15607
15626
  value: C
@@ -15613,7 +15632,7 @@ class wO extends S.Component {
15613
15632
  const {
15614
15633
  rules: P
15615
15634
  } = this.props;
15616
- P && P.length && h({
15635
+ P && P.length && p({
15617
15636
  type: "validateField",
15618
15637
  namePath: d,
15619
15638
  triggerName: y
@@ -15664,19 +15683,19 @@ function bv({
15664
15683
  }).current, u = S.useMemo(() => [...He(s.prefixName) || [], ...He(e)], [s.prefixName, e]), d = S.useMemo(() => ({
15665
15684
  ...s,
15666
15685
  prefixName: u
15667
- }), [s, u]), p = S.useMemo(() => ({
15668
- getKey: (h) => {
15669
- const v = u.length, f = h[v];
15670
- return [l.keys[f], h.slice(v + 1)];
15686
+ }), [s, u]), h = S.useMemo(() => ({
15687
+ getKey: (p) => {
15688
+ const v = u.length, f = p[v];
15689
+ return [l.keys[f], p.slice(v + 1)];
15671
15690
  }
15672
15691
  }), [l, u]);
15673
15692
  if (typeof r != "function")
15674
15693
  return De(!1, "Form.List only accepts function as children."), null;
15675
- const m = (h, v, {
15694
+ const m = (p, v, {
15676
15695
  source: f
15677
- }) => f === "internal" ? !1 : h !== v;
15696
+ }) => f === "internal" ? !1 : p !== v;
15678
15697
  return /* @__PURE__ */ S.createElement(Lo.Provider, {
15679
- value: p
15698
+ value: h
15680
15699
  }, /* @__PURE__ */ S.createElement(un.Provider, {
15681
15700
  value: d
15682
15701
  }, /* @__PURE__ */ S.createElement(Vu, {
@@ -15688,7 +15707,7 @@ function bv({
15688
15707
  isList: !0,
15689
15708
  isListField: i ?? !!a
15690
15709
  }, ({
15691
- value: h = [],
15710
+ value: p = [],
15692
15711
  onChange: v
15693
15712
  }, f) => {
15694
15713
  const {
@@ -15709,7 +15728,7 @@ function bv({
15709
15728
  y < 0 || y >= x.length || C < 0 || C >= x.length || (l.keys = Ep(l.keys, y, C), v(Ep(x, y, C)));
15710
15729
  }
15711
15730
  };
15712
- let w = h || [];
15731
+ let w = p || [];
15713
15732
  return Array.isArray(w) || (w = [], process.env.NODE_ENV !== "production" && De(!1, `Current value of '${u.join(" > ")}' is not an array type.`)), r(w.map((y, C) => {
15714
15733
  let x = l.keys[C];
15715
15734
  return x === void 0 && (l.keys[C] = l.id, x = l.keys[C], l.id += 1), {
@@ -15999,9 +16018,9 @@ class PO {
15999
16018
  o.forEach((d) => {
16000
16019
  c.set(d, []);
16001
16020
  }), s.forEach((d) => {
16002
- const p = d.getNamePath();
16021
+ const h = d.getNamePath();
16003
16022
  o.forEach((m) => {
16004
- m.every((h, v) => p[v] === h) && c.update(m, (h) => [...h, d]);
16023
+ m.every((p, v) => h[v] === p) && c.update(m, (p) => [...p, d]);
16005
16024
  });
16006
16025
  });
16007
16026
  const l = (d) => d.some(a), u = c.map(({
@@ -16054,8 +16073,8 @@ class PO {
16054
16073
  if (d && d.size > 1)
16055
16074
  De(!1, `Multiple Field with path '${l.join(".")}' set 'initialValue'. Can not decide which one to pick.`);
16056
16075
  else if (d) {
16057
- const p = this.getFieldValue(l);
16058
- !a.isListField() && (!t.skipExist || p === void 0) && this.updateStore(Et(this.store, l, [...d][0].value));
16076
+ const h = this.getFieldValue(l);
16077
+ !a.isListField() && (!t.skipExist || h === void 0) && this.updateStore(Et(this.store, l, [...d][0].value));
16059
16078
  }
16060
16079
  }
16061
16080
  }
@@ -16292,13 +16311,13 @@ class PO {
16292
16311
  Array.isArray(t) || typeof t == "string" || typeof r == "string" ? (n = t, o = r) : o = t;
16293
16312
  const i = !!n, s = i ? n.map(He) : [], a = [...s], c = [], l = String(Date.now()), u = /* @__PURE__ */ new Set(), {
16294
16313
  recursive: d,
16295
- dirty: p
16314
+ dirty: h
16296
16315
  } = o || {};
16297
16316
  this.getFieldEntities(!0).forEach((f) => {
16298
16317
  const g = f.getNamePath();
16299
16318
  if (i || // If is field, pass directly
16300
16319
  ((!f.isList() || // If is list, do not add if already exist sub field in the namePathList
16301
- !s.some((E) => is(E, g, !0))) && a.push(g), s.push(g)), !(!f.props.rules || !f.props.rules.length) && !(p && !f.isFieldDirty()) && (u.add(g.join(l)), !i || $n(s, g, d))) {
16320
+ !s.some((E) => is(E, g, !0))) && a.push(g), s.push(g)), !(!f.props.rules || !f.props.rules.length) && !(h && !f.isFieldDirty()) && (u.add(g.join(l)), !i || $n(s, g, d))) {
16302
16321
  const E = f.validateRules({
16303
16322
  validateMessages: {
16304
16323
  ...vv,
@@ -16340,7 +16359,7 @@ class PO {
16340
16359
  type: "validateFinish"
16341
16360
  }), this.triggerOnFieldsChange(g, f);
16342
16361
  });
16343
- const h = m.then(() => this.lastValidatePromise === m ? Promise.resolve(this.getFieldsValue(a)) : Promise.reject([])).catch((f) => {
16362
+ const p = m.then(() => this.lastValidatePromise === m ? Promise.resolve(this.getFieldsValue(a)) : Promise.reject([])).catch((f) => {
16344
16363
  const g = f.filter((b) => b && b.errors.length), E = g[0]?.errors?.[0];
16345
16364
  return Promise.reject({
16346
16365
  message: E,
@@ -16349,9 +16368,9 @@ class PO {
16349
16368
  outOfDate: this.lastValidatePromise !== m
16350
16369
  });
16351
16370
  });
16352
- h.catch((f) => f);
16371
+ p.catch((f) => f);
16353
16372
  const v = s.filter((f) => u.has(f.join(l)));
16354
- return this.triggerOnFieldsChange(v), h;
16373
+ return this.triggerOnFieldsChange(v), p;
16355
16374
  };
16356
16375
  // ============================ Submit ============================
16357
16376
  submit = () => {
@@ -16462,9 +16481,9 @@ const _O = ({
16462
16481
  onValuesChange: l,
16463
16482
  onFieldsChange: u,
16464
16483
  onFinish: d,
16465
- onFinishFailed: p,
16484
+ onFinishFailed: h,
16466
16485
  clearOnDestroy: m,
16467
- ...h
16486
+ ...p
16468
16487
  }, v) => {
16469
16488
  const f = S.useRef(null), g = S.useContext(Ll), [E] = Bu(n), {
16470
16489
  useSubscribe: b,
@@ -16490,7 +16509,7 @@ const _O = ({
16490
16509
  onFinish: (k) => {
16491
16510
  g.triggerFormFinish(e, k), d && d(k);
16492
16511
  },
16493
- onFinishFailed: p
16512
+ onFinishFailed: h
16494
16513
  }), x(o);
16495
16514
  const R = S.useRef(null);
16496
16515
  w(t, !R.current), R.current || (R.current = !0), S.useEffect(
@@ -16518,13 +16537,13 @@ const _O = ({
16518
16537
  }, /* @__PURE__ */ S.createElement(un.Provider, {
16519
16538
  value: N
16520
16539
  }, T));
16521
- return s === !1 ? A : /* @__PURE__ */ S.createElement(s, kl({}, h, {
16540
+ return s === !1 ? A : /* @__PURE__ */ S.createElement(s, kl({}, p, {
16522
16541
  ref: f,
16523
16542
  onSubmit: (k) => {
16524
16543
  k.preventDefault(), k.stopPropagation(), E.submit();
16525
16544
  },
16526
16545
  onReset: (k) => {
16527
- k.preventDefault(), E.resetFields(), h.onReset?.(k);
16546
+ k.preventDefault(), E.resetFields(), p.onReset?.(k);
16528
16547
  }
16529
16548
  }), A);
16530
16549
  };
@@ -16543,17 +16562,17 @@ function Sv(...e) {
16543
16562
  const l = en(un), u = o || l, d = u && u._init;
16544
16563
  process.env.NODE_ENV !== "production" && De(e.length === 2 ? o ? d : !0 : d, "useWatch requires a form instance since it can not auto detect from context.");
16545
16564
  const {
16546
- getFieldsValue: p,
16565
+ getFieldsValue: h,
16547
16566
  getInternalHooks: m
16548
16567
  } = u, {
16549
- registerWatch: h
16568
+ registerWatch: p
16550
16569
  } = m(Kr), v = ke((g, E) => {
16551
- const b = n.preserve ? E ?? p(!0) : g ?? p(), w = typeof t == "function" ? t(b) : wt(b, He(t));
16570
+ const b = n.preserve ? E ?? h(!0) : g ?? h(), w = typeof t == "function" ? t(b) : wt(b, He(t));
16552
16571
  Pa(i) !== Pa(w) && s(w);
16553
16572
  }), f = typeof t == "function" ? t : JSON.stringify(t);
16554
16573
  return rt(() => {
16555
16574
  d && v();
16556
- }, [d, f]), rt(() => d ? h((E, b) => {
16575
+ }, [d, f]), rt(() => d ? p((E, b) => {
16557
16576
  v(E, b);
16558
16577
  }) : void 0, [d]), i;
16559
16578
  }
@@ -16928,9 +16947,9 @@ const qO = /* @__PURE__ */ S.forwardRef((e, t) => {
16928
16947
  motion: l,
16929
16948
  placement: u = "right",
16930
16949
  align: d = {},
16931
- destroyOnHidden: p = !1,
16950
+ destroyOnHidden: h = !1,
16932
16951
  defaultVisible: m,
16933
- getTooltipContainer: h,
16952
+ getTooltipContainer: p,
16934
16953
  arrowContent: v,
16935
16954
  overlay: f,
16936
16955
  id: g,
@@ -16980,12 +16999,12 @@ const qO = /* @__PURE__ */ S.forwardRef((e, t) => {
16980
16999
  popupPlacement: u,
16981
17000
  ref: x,
16982
17001
  popupAlign: d,
16983
- getPopupContainer: h,
17002
+ getPopupContainer: p,
16984
17003
  onOpenChange: a,
16985
17004
  afterOpenChange: c,
16986
17005
  popupMotion: l,
16987
17006
  defaultPopupVisible: m,
16988
- autoDestroy: p,
17007
+ autoDestroy: h,
16989
17008
  mouseLeaveDelay: o,
16990
17009
  popupStyle: w?.root,
16991
17010
  mouseEnterDelay: n,
@@ -16999,7 +17018,7 @@ function UO(e) {
16999
17018
  sizePopupArrow: t,
17000
17019
  borderRadiusXS: r,
17001
17020
  borderRadiusOuter: n
17002
- } = e, o = t / 2, i = 0, s = o, a = n * 1 / Math.sqrt(2), c = o - n * (1 - 1 / Math.sqrt(2)), l = o - r * (1 / Math.sqrt(2)), u = n * (Math.sqrt(2) - 1) + r * (1 / Math.sqrt(2)), d = 2 * o - l, p = u, m = 2 * o - a, h = c, v = 2 * o - i, f = s, g = o * Math.sqrt(2) + n * (Math.sqrt(2) - 2), E = n * (Math.sqrt(2) - 1), b = `polygon(${E}px 100%, 50% ${E}px, ${2 * o - E}px 100%, ${E}px 100%)`, w = `path('M ${i} ${s} A ${n} ${n} 0 0 0 ${a} ${c} L ${l} ${u} A ${r} ${r} 0 0 1 ${d} ${p} L ${m} ${h} A ${n} ${n} 0 0 0 ${v} ${f} Z')`;
17021
+ } = e, o = t / 2, i = 0, s = o, a = n * 1 / Math.sqrt(2), c = o - n * (1 - 1 / Math.sqrt(2)), l = o - r * (1 / Math.sqrt(2)), u = n * (Math.sqrt(2) - 1) + r * (1 / Math.sqrt(2)), d = 2 * o - l, h = u, m = 2 * o - a, p = c, v = 2 * o - i, f = s, g = o * Math.sqrt(2) + n * (Math.sqrt(2) - 2), E = n * (Math.sqrt(2) - 1), b = `polygon(${E}px 100%, 50% ${E}px, ${2 * o - E}px 100%, ${E}px 100%)`, w = `path('M ${i} ${s} A ${n} ${n} 0 0 0 ${a} ${c} L ${l} ${u} A ${r} ${r} 0 0 1 ${d} ${h} L ${m} ${p} A ${n} ${n} 0 0 0 ${v} ${f} Z')`;
17003
17022
  return {
17004
17023
  arrowShadowWidth: g,
17005
17024
  arrowPath: w,
@@ -17381,9 +17400,9 @@ const ZO = (e, t) => {
17381
17400
  boxShadowSecondary: l,
17382
17401
  paddingSM: u,
17383
17402
  paddingXS: d,
17384
- arrowOffsetHorizontal: p,
17403
+ arrowOffsetHorizontal: h,
17385
17404
  sizePopupArrow: m
17386
- } = e, h = t(s).add(m).add(p).equal(), f = {
17405
+ } = e, p = t(s).add(m).add(h).equal(), f = {
17387
17406
  minWidth: t(s).mul(2).add(m).equal(),
17388
17407
  minHeight: c,
17389
17408
  padding: `${it(e.calc(u).div(2).equal())} ${it(d)}`,
@@ -17426,7 +17445,7 @@ const ZO = (e, t) => {
17426
17445
  },
17427
17446
  // Align placement should have another min width
17428
17447
  [["&-placement-topLeft", "&-placement-topRight", "&-placement-bottomLeft", "&-placement-bottomRight"].join(",")]: {
17429
- minWidth: h
17448
+ minWidth: p
17430
17449
  },
17431
17450
  // Limit left and right placement radius
17432
17451
  [["&-placement-left", "&-placement-leftTop", "&-placement-leftBottom", "&-placement-right", "&-placement-rightTop", "&-placement-rightBottom"].join(",")]: {
@@ -17534,17 +17553,17 @@ const nR = (e) => {
17534
17553
  styles: c
17535
17554
  } = e, {
17536
17555
  getPrefixCls: l
17537
- } = S.useContext(tr), u = l("tooltip", t), d = ei(u), [p, m] = Tv(u, d), h = Nv(u, i), v = h.arrowStyle, f = S.useMemo(() => ({
17556
+ } = S.useContext(tr), u = l("tooltip", t), d = ei(u), [h, m] = Tv(u, d), p = Nv(u, i), v = p.arrowStyle, f = S.useMemo(() => ({
17538
17557
  container: {
17539
17558
  ...s,
17540
- ...h.overlayStyle
17559
+ ...p.overlayStyle
17541
17560
  }
17542
- }), [s, h.overlayStyle]), g = {
17561
+ }), [s, p.overlayStyle]), g = {
17543
17562
  ...e,
17544
17563
  placement: n
17545
17564
  }, [E, b] = Ms([a], [f, c], {
17546
17565
  props: g
17547
- }), w = ae(d, p, m, u, `${u}-pure`, `${u}-placement-${n}`, r, h.className);
17566
+ }), w = ae(d, h, m, u, `${u}-pure`, `${u}-placement-${n}`, r, p.className);
17548
17567
  return /* @__PURE__ */ S.createElement("div", {
17549
17568
  className: w,
17550
17569
  style: v
@@ -17552,7 +17571,7 @@ const nR = (e) => {
17552
17571
  className: `${u}-arrow`
17553
17572
  }), /* @__PURE__ */ S.createElement(_v, {
17554
17573
  ...e,
17555
- className: p,
17574
+ className: h,
17556
17575
  prefixCls: u,
17557
17576
  classNames: E,
17558
17577
  styles: b
@@ -17569,9 +17588,9 @@ const nR = (e) => {
17569
17588
  destroyTooltipOnHide: l,
17570
17589
  destroyOnHidden: u,
17571
17590
  title: d,
17572
- overlay: p,
17591
+ overlay: h,
17573
17592
  trigger: m,
17574
- builtinPlacements: h,
17593
+ builtinPlacements: p,
17575
17594
  autoAdjustOverflow: v = !0,
17576
17595
  motion: f,
17577
17596
  getPopupContainer: g,
@@ -17607,22 +17626,22 @@ const nR = (e) => {
17607
17626
  })), process.env.NODE_ENV !== "production" && ([["overlayStyle", "styles.root"], ["overlayInnerStyle", "styles.container"], ["overlayClassName", "classNames.root"], ["destroyTooltipOnHide", "destroyOnHidden"]].forEach(([I, de]) => {
17608
17627
  K.deprecated(!(I in e), I, de);
17609
17628
  }), process.env.NODE_ENV !== "production" && K(!l || typeof l == "boolean", "usage", "`destroyTooltipOnHide` no need config `keepParent` anymore. Please use `boolean` value directly."));
17610
- const [z, D] = bu(e.defaultOpen ?? !1, e.open), Y = !d && !p && d !== 0, L = (I) => {
17629
+ const [z, D] = bu(e.defaultOpen ?? !1, e.open), Y = !d && !h && d !== 0, L = (I) => {
17611
17630
  D(Y ? !1 : I), !Y && P && P(I);
17612
- }, X = S.useMemo(() => h || KO({
17631
+ }, X = S.useMemo(() => p || KO({
17613
17632
  arrowPointAtCenter: ne?.pointAtCenter ?? !1,
17614
17633
  autoAdjustOverflow: v,
17615
17634
  arrowWidth: te ? N.sizePopupArrow : 0,
17616
17635
  borderRadius: N.borderRadius,
17617
17636
  offset: N.marginXXS
17618
- }), [ne, h, N, te, v]), H = S.useMemo(() => d === 0 ? d : p || d || "", [p, d]), G = /* @__PURE__ */ S.createElement(TO, {
17637
+ }), [ne, p, N, te, v]), H = S.useMemo(() => d === 0 ? d : h || d || "", [h, d]), G = /* @__PURE__ */ S.createElement(TO, {
17619
17638
  space: !0
17620
17639
  }, typeof H == "function" ? H() : H), oe = {
17621
17640
  ...e,
17622
17641
  trigger: Z,
17623
17642
  color: i,
17624
17643
  placement: E,
17625
- builtinPlacements: h,
17644
+ builtinPlacements: p,
17626
17645
  openClassName: n,
17627
17646
  arrow: c,
17628
17647
  autoAdjustOverflow: v,
@@ -17767,9 +17786,9 @@ const aR = ["xs", "sm", "md", "lg", "xl", "xxl"], zu = /* @__PURE__ */ S.forward
17767
17786
  offset: l,
17768
17787
  push: u,
17769
17788
  pull: d,
17770
- className: p,
17789
+ className: h,
17771
17790
  children: m,
17772
- flex: h,
17791
+ flex: p,
17773
17792
  style: v,
17774
17793
  ...f
17775
17794
  } = e, g = r("col", s), [E, b] = kO(g), w = {};
@@ -17793,12 +17812,12 @@ const aR = ["xs", "sm", "md", "lg", "xl", "xxl"], zu = /* @__PURE__ */ S.forward
17793
17812
  [`${g}-offset-${l}`]: l,
17794
17813
  [`${g}-push-${u}`]: u,
17795
17814
  [`${g}-pull-${d}`]: d
17796
- }, p, y, E, b), x = {};
17815
+ }, h, y, E, b), x = {};
17797
17816
  if (o?.[0]) {
17798
17817
  const P = typeof o[0] == "number" ? `${o[0] / 2}px` : `calc(${o[0]} / 2)`;
17799
17818
  x.paddingInline = P;
17800
17819
  }
17801
- return h && (x.flex = xp(h), i === !1 && !x.minWidth && (x.minWidth = 0)), /* @__PURE__ */ S.createElement("div", {
17820
+ return p && (x.flex = xp(p), i === !1 && !x.minWidth && (x.minWidth = 0)), /* @__PURE__ */ S.createElement("div", {
17802
17821
  ...f,
17803
17822
  style: {
17804
17823
  ...x,
@@ -17863,12 +17882,12 @@ const Fv = /* @__PURE__ */ S.forwardRef((e, t) => {
17863
17882
  ...u
17864
17883
  } = e, {
17865
17884
  getPrefixCls: d,
17866
- direction: p
17867
- } = S.useContext(tr), m = jO(!0, null), h = Pp(o, m), v = Pp(n, m), f = d("row", r), [g, E] = DO(f), b = cR(c, m), w = ae(f, {
17885
+ direction: h
17886
+ } = S.useContext(tr), m = jO(!0, null), p = Pp(o, m), v = Pp(n, m), f = d("row", r), [g, E] = DO(f), b = cR(c, m), w = ae(f, {
17868
17887
  [`${f}-no-wrap`]: l === !1,
17869
17888
  [`${f}-${v}`]: v,
17870
- [`${f}-${h}`]: h,
17871
- [`${f}-rtl`]: p === "rtl"
17889
+ [`${f}-${p}`]: p,
17890
+ [`${f}-rtl`]: h === "rtl"
17872
17891
  }, i, g, E), y = {};
17873
17892
  if (b?.[0]) {
17874
17893
  const R = typeof b[0] == "number" ? `${b[0] / -2}px` : `calc(${b[0]} / -2)`;
@@ -18437,7 +18456,7 @@ const kv = ({
18437
18456
  }) => {
18438
18457
  const {
18439
18458
  prefixCls: a
18440
- } = S.useContext(ju), c = `${a}-item-explain`, l = ei(a), [u, d] = qu(a, l), p = S.useMemo(() => cp(a), [a]), m = ss(r), h = ss(n), v = S.useMemo(() => ln(e) ? [_a(e, "help", t)] : [].concat(Ve(m.map((E, b) => _a(E, "error", "error", b))), Ve(h.map((E, b) => _a(E, "warning", "warning", b)))), [e, t, m, h]), f = S.useMemo(() => {
18459
+ } = S.useContext(ju), c = `${a}-item-explain`, l = ei(a), [u, d] = qu(a, l), h = S.useMemo(() => cp(a), [a]), m = ss(r), p = ss(n), v = S.useMemo(() => ln(e) ? [_a(e, "help", t)] : [].concat(Ve(m.map((E, b) => _a(E, "error", "error", b))), Ve(p.map((E, b) => _a(E, "warning", "warning", b)))), [e, t, m, p]), f = S.useMemo(() => {
18441
18460
  const E = {};
18442
18461
  return v.forEach(({
18443
18462
  key: b
@@ -18449,7 +18468,7 @@ const kv = ({
18449
18468
  }));
18450
18469
  }, [v]), g = {};
18451
18470
  return i && (g.id = `${i}_help`), /* @__PURE__ */ S.createElement(gn, {
18452
- motionDeadline: p.motionDeadline,
18471
+ motionDeadline: h.motionDeadline,
18453
18472
  motionName: `${a}-show-help`,
18454
18473
  visible: !!f.length,
18455
18474
  onVisibleChanged: s
@@ -18508,9 +18527,9 @@ const SR = (e, t) => {
18508
18527
  styles: u,
18509
18528
  classNames: d
18510
18529
  } = Su("form"), {
18511
- prefixCls: p,
18530
+ prefixCls: h,
18512
18531
  className: m,
18513
- rootClassName: h,
18532
+ rootClassName: p,
18514
18533
  size: v,
18515
18534
  disabled: f = r,
18516
18535
  form: g,
@@ -18532,7 +18551,7 @@ const SR = (e, t) => {
18532
18551
  ...B
18533
18552
  } = e, M = n_(v), F = S.useContext(OP);
18534
18553
  process.env.NODE_ENV !== "production" && wR(e);
18535
- const U = S.useMemo(() => R !== void 0 ? R : i !== void 0 ? i : !0, [R, i]), W = E ?? s, Q = n("form", p), ne = ei(Q), [te, Z] = qu(Q, ne), K = {
18554
+ const U = S.useMemo(() => R !== void 0 ? R : i !== void 0 ? i : !0, [R, i]), W = E ?? s, Q = n("form", h), ne = ei(Q), [te, Z] = qu(Q, ne), K = {
18536
18555
  ...e,
18537
18556
  size: M,
18538
18557
  disabled: f,
@@ -18546,7 +18565,7 @@ const SR = (e, t) => {
18546
18565
  // todo: remove in next major version
18547
18566
  [`${Q}-rtl`]: o === "rtl",
18548
18567
  [`${Q}-${M}`]: M
18549
- }, Z, ne, te, c, m, h, j.root), [D] = Iv(g), {
18568
+ }, Z, ne, te, c, m, p, j.root), [D] = Iv(g), {
18550
18569
  __INTERNAL__: Y
18551
18570
  } = D;
18552
18571
  Y.name = _;
@@ -18698,9 +18717,9 @@ const _R = (e) => {
18698
18717
  extra: l,
18699
18718
  help: u,
18700
18719
  fieldId: d,
18701
- marginBottom: p,
18720
+ marginBottom: h,
18702
18721
  onErrorVisibleChanged: m,
18703
- label: h
18722
+ label: p
18704
18723
  } = e, v = `${t}-item`, f = S.useContext(wr), {
18705
18724
  classNames: g,
18706
18725
  styles: E
@@ -18708,11 +18727,11 @@ const _R = (e) => {
18708
18727
  let V = {
18709
18728
  ...o || f.wrapperCol || {}
18710
18729
  };
18711
- return h === null && !n && !o && f.labelCol && [void 0, "xs", "sm", "md", "lg", "xl", "xxl"].forEach((M) => {
18730
+ return p === null && !n && !o && f.labelCol && [void 0, "xs", "sm", "md", "lg", "xl", "xxl"].forEach((M) => {
18712
18731
  const F = M ? [M] : [], U = wt(f.labelCol, F), W = typeof U == "object" ? U : {}, Q = wt(V, F), ne = typeof Q == "object" ? Q : {};
18713
18732
  "span" in W && !("offset" in ne) && W.span < RR && (V = Et(V, [].concat(F, ["offset"]), W.span));
18714
18733
  }), V;
18715
- }, [o, f.wrapperCol, f.labelCol, h, n]), w = ae(`${v}-control`, b.className), y = S.useMemo(() => {
18734
+ }, [o, f.wrapperCol, f.labelCol, p, n]), w = ae(`${v}-control`, b.className), y = S.useMemo(() => {
18716
18735
  const {
18717
18736
  labelCol: V,
18718
18737
  wrapperCol: B,
@@ -18731,7 +18750,7 @@ const _R = (e) => {
18731
18750
  }, i)), T = S.useMemo(() => ({
18732
18751
  prefixCls: t,
18733
18752
  status: r
18734
- }), [t, r]), _ = p !== null || s.length || a.length ? /* @__PURE__ */ S.createElement(ju.Provider, {
18753
+ }), [t, r]), _ = h !== null || s.length || a.length ? /* @__PURE__ */ S.createElement(ju.Provider, {
18735
18754
  value: T
18736
18755
  }, /* @__PURE__ */ S.createElement(kv, {
18737
18756
  fieldId: d,
@@ -18749,8 +18768,8 @@ const _R = (e) => {
18749
18768
  ref: C
18750
18769
  }, l) : null, A = _ || N ? /* @__PURE__ */ S.createElement("div", {
18751
18770
  className: `${v}-additional`,
18752
- style: p ? {
18753
- minHeight: p + x
18771
+ style: h ? {
18772
+ minHeight: h + x
18754
18773
  } : {}
18755
18774
  }, _, N) : null, k = c && c.mark === "pro_table_render" && c.render ? c.render(e, {
18756
18775
  input: R,
@@ -18779,19 +18798,19 @@ const _R = (e) => {
18779
18798
  }) => {
18780
18799
  const [u] = rP("Form"), {
18781
18800
  labelAlign: d,
18782
- labelCol: p,
18801
+ labelCol: h,
18783
18802
  labelWrap: m,
18784
- colon: h,
18803
+ colon: p,
18785
18804
  classNames: v,
18786
18805
  styles: f
18787
18806
  } = S.useContext(wr);
18788
18807
  if (!t)
18789
18808
  return null;
18790
- const g = n || p || {}, E = o || d, b = `${e}-item-label`, w = ae(b, E === "left" && `${b}-left`, g.className, {
18809
+ const g = n || h || {}, E = o || d, b = `${e}-item-label`, w = ae(b, E === "left" && `${b}-left`, g.className, {
18791
18810
  [`${b}-wrap`]: !!m
18792
18811
  });
18793
18812
  let y = t;
18794
- const C = i === !0 || h !== !1 && i !== !1;
18813
+ const C = i === !0 || p !== !1 && i !== !1;
18795
18814
  C && !l && typeof t == "string" && t.trim() && (y = t.replace(/[:|:]\s*$/, ""));
18796
18815
  const P = fR(c);
18797
18816
  if (P) {
@@ -18853,9 +18872,9 @@ function Bv({
18853
18872
  const l = `${i}-item`, {
18854
18873
  feedbackIcons: u
18855
18874
  } = S.useContext(wr), d = $v(t, r, s, null, !!n, o), {
18856
- isFormItemInput: p,
18875
+ isFormItemInput: h,
18857
18876
  status: m,
18858
- hasFeedback: h,
18877
+ hasFeedback: p,
18859
18878
  feedbackIcon: v,
18860
18879
  name: f
18861
18880
  } = S.useContext(fn), g = S.useMemo(() => {
@@ -18879,8 +18898,8 @@ function Bv({
18879
18898
  isFormItemInput: !0,
18880
18899
  name: c
18881
18900
  };
18882
- return a && (b.status = (d ?? m) || "", b.isFormItemInput = p, b.hasFeedback = !!(n ?? h), b.feedbackIcon = n !== void 0 ? b.feedbackIcon : v, b.name = c ?? f), b;
18883
- }, [d, n, a, p, m]);
18901
+ return a && (b.status = (d ?? m) || "", b.isFormItemInput = h, b.hasFeedback = !!(n ?? p), b.feedbackIcon = n !== void 0 ? b.feedbackIcon : v, b.name = c ?? f), b;
18902
+ }, [d, n, a, h, m]);
18884
18903
  return /* @__PURE__ */ S.createElement(fn.Provider, {
18885
18904
  value: g
18886
18905
  }, e);
@@ -18898,9 +18917,9 @@ function $R(e) {
18898
18917
  meta: l,
18899
18918
  hasFeedback: u,
18900
18919
  hidden: d,
18901
- children: p,
18920
+ children: h,
18902
18921
  fieldId: m,
18903
- required: h,
18922
+ required: p,
18904
18923
  isRequired: v,
18905
18924
  onSubItemMetaChange: f,
18906
18925
  layout: g,
@@ -18976,7 +18995,7 @@ function $R(e) {
18976
18995
  htmlFor: m,
18977
18996
  ...e,
18978
18997
  requiredMark: y,
18979
- required: h ?? v,
18998
+ required: p ?? v,
18980
18999
  prefixCls: t,
18981
19000
  vertical: P
18982
19001
  }), /* @__PURE__ */ S.createElement(TR, {
@@ -19000,7 +19019,7 @@ function $R(e) {
19000
19019
  // Already calculated
19001
19020
  validateStatus: F,
19002
19021
  name: E
19003
- }, p)))), !!k && /* @__PURE__ */ S.createElement("div", {
19022
+ }, h)))), !!k && /* @__PURE__ */ S.createElement("div", {
19004
19023
  className: `${w}-margin-offset`,
19005
19024
  style: {
19006
19025
  marginBottom: -k
@@ -19039,9 +19058,9 @@ function DR(e) {
19039
19058
  required: l,
19040
19059
  label: u,
19041
19060
  messageVariables: d,
19042
- trigger: p = "onChange",
19061
+ trigger: h = "onChange",
19043
19062
  validateTrigger: m,
19044
- hidden: h,
19063
+ hidden: p,
19045
19064
  help: v,
19046
19065
  layout: f
19047
19066
  } = e, {
@@ -19078,7 +19097,7 @@ function DR(e) {
19078
19097
  }), [j, q];
19079
19098
  }, [V, M.errors, M.warnings]), te = PR();
19080
19099
  function Z(j, q, z) {
19081
- return r && !h ? /* @__PURE__ */ S.createElement(Bv, {
19100
+ return r && !p ? /* @__PURE__ */ S.createElement(Bv, {
19082
19101
  prefixCls: R,
19083
19102
  hasFeedback: e.hasFeedback,
19084
19103
  validateStatus: e.validateStatus,
@@ -19111,7 +19130,7 @@ function DR(e) {
19111
19130
  }), /* @__PURE__ */ S.createElement(Vu, {
19112
19131
  ...e,
19113
19132
  messageVariables: K,
19114
- trigger: p,
19133
+ trigger: h,
19115
19134
  validateTrigger: x,
19116
19135
  onMetaChange: U
19117
19136
  }, (j, q, z) => {
@@ -19143,7 +19162,7 @@ function DR(e) {
19143
19162
  const se = [];
19144
19163
  (v || Q.length > 0) && se.push(`${Y}_help`), e.extra && se.push(`${Y}_extra`), G["aria-describedby"] = se.join(" ");
19145
19164
  }
19146
- Q.length > 0 && (G["aria-invalid"] = "true"), L && (G["aria-required"] = "true"), Ss(b) && (G.ref = te(D, b)), new Set([].concat(Ve(So(p)), Ve(So(x)))).forEach((se) => {
19165
+ Q.length > 0 && (G["aria-invalid"] = "true"), L && (G["aria-required"] = "true"), Ss(b) && (G.ref = te(D, b)), new Set([].concat(Ve(So(h)), Ve(So(x)))).forEach((se) => {
19147
19166
  G[se] = (...ye) => {
19148
19167
  X[se]?.(...ye), b.props[se]?.(...ye);
19149
19168
  };
@@ -19208,15 +19227,15 @@ function VR({ form: e, errors: t, ...r }) {
19208
19227
  const a = [], c = [];
19209
19228
  return Object.entries(t).forEach(([l, u]) => {
19210
19229
  if (l === "") {
19211
- for (const p of u) {
19212
- const m = Tp(n, p, o);
19230
+ for (const h of u) {
19231
+ const m = Tp(n, h, o);
19213
19232
  m && c.push(m);
19214
19233
  }
19215
19234
  return;
19216
19235
  }
19217
19236
  const d = [];
19218
- for (const p of u) {
19219
- const m = Tp(n, p, o);
19237
+ for (const h of u) {
19238
+ const m = Tp(n, h, o);
19220
19239
  m && d.push(m);
19221
19240
  }
19222
19241
  a.push({ name: l, errors: d });
@@ -19298,14 +19317,14 @@ function UR({ className: e, children: t, getPermissionFor: r, defaultAbility: n
19298
19317
  const o = mm(), [i, s] = In(), [a, c] = In(() => qR(n)), l = mt((d) => Zt(d).auth.seed);
19299
19318
  rt(() => {
19300
19319
  if (l === i) return;
19301
- const { can: d, cannot: p, build: m } = new Mg(Ig), { allowed: h, denied: v } = r(o);
19302
- for (let f = 0; f < h.length; f++) {
19303
- const { I: g, a: E } = h[f];
19320
+ const { can: d, cannot: h, build: m } = new Mg(Ig), { allowed: p, denied: v } = r(o);
19321
+ for (let f = 0; f < p.length; f++) {
19322
+ const { I: g, a: E } = p[f];
19304
19323
  d(g, E);
19305
19324
  }
19306
19325
  for (let f = 0; f < v.length; f++) {
19307
19326
  const { I: g, a: E } = v[f];
19308
- p(g, E);
19327
+ h(g, E);
19309
19328
  }
19310
19329
  c(m()), s(l);
19311
19330
  }, [l, r, o, i]);
@@ -19318,7 +19337,7 @@ function UR({ className: e, children: t, getPermissionFor: r, defaultAbility: n
19318
19337
  var zv = /* @__PURE__ */ ((e) => (e[e.Always = 1] = "Always", e[e.Never = 2] = "Never", e[e.RedirectIfFails = 3] = "RedirectIfFails", e))(zv || {});
19319
19338
  const WR = () => import(
19320
19339
  /* @vite-ignore */
19321
- "./index-CYZOcuqx.js"
19340
+ "./index-1Y51EJMh.js"
19322
19341
  );
19323
19342
  async function GR(e, t, r) {
19324
19343
  return (await WR()).default(e, t, r);
@@ -19369,7 +19388,7 @@ var Ra, Ap;
19369
19388
  function Ls() {
19370
19389
  if (Ap) return Ra;
19371
19390
  Ap = 1;
19372
- var e = typeof Map == "function" && Map.prototype, t = Object.getOwnPropertyDescriptor && e ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, r = e && t && typeof t.get == "function" ? t.get : null, n = e && Map.prototype.forEach, o = typeof Set == "function" && Set.prototype, i = Object.getOwnPropertyDescriptor && o ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, s = o && i && typeof i.get == "function" ? i.get : null, a = o && Set.prototype.forEach, c = typeof WeakMap == "function" && WeakMap.prototype, l = c ? WeakMap.prototype.has : null, u = typeof WeakSet == "function" && WeakSet.prototype, d = u ? WeakSet.prototype.has : null, p = typeof WeakRef == "function" && WeakRef.prototype, m = p ? WeakRef.prototype.deref : null, h = Boolean.prototype.valueOf, v = Object.prototype.toString, f = Function.prototype.toString, g = String.prototype.match, E = String.prototype.slice, b = String.prototype.replace, w = String.prototype.toUpperCase, y = String.prototype.toLowerCase, C = RegExp.prototype.test, x = Array.prototype.concat, P = Array.prototype.join, R = Array.prototype.slice, T = Math.floor, _ = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, O = Object.getOwnPropertySymbols, N = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, A = typeof Symbol == "function" && typeof Symbol.iterator == "object", k = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === A || !0) ? Symbol.toStringTag : null, V = Object.prototype.propertyIsEnumerable, B = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function($) {
19391
+ var e = typeof Map == "function" && Map.prototype, t = Object.getOwnPropertyDescriptor && e ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, r = e && t && typeof t.get == "function" ? t.get : null, n = e && Map.prototype.forEach, o = typeof Set == "function" && Set.prototype, i = Object.getOwnPropertyDescriptor && o ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, s = o && i && typeof i.get == "function" ? i.get : null, a = o && Set.prototype.forEach, c = typeof WeakMap == "function" && WeakMap.prototype, l = c ? WeakMap.prototype.has : null, u = typeof WeakSet == "function" && WeakSet.prototype, d = u ? WeakSet.prototype.has : null, h = typeof WeakRef == "function" && WeakRef.prototype, m = h ? WeakRef.prototype.deref : null, p = Boolean.prototype.valueOf, v = Object.prototype.toString, f = Function.prototype.toString, g = String.prototype.match, E = String.prototype.slice, b = String.prototype.replace, w = String.prototype.toUpperCase, y = String.prototype.toLowerCase, C = RegExp.prototype.test, x = Array.prototype.concat, P = Array.prototype.join, R = Array.prototype.slice, T = Math.floor, _ = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, O = Object.getOwnPropertySymbols, N = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, A = typeof Symbol == "function" && typeof Symbol.iterator == "object", k = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === A || !0) ? Symbol.toStringTag : null, V = Object.prototype.propertyIsEnumerable, B = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function($) {
19373
19392
  return $.__proto__;
19374
19393
  } : null);
19375
19394
  function M($, I) {
@@ -19495,7 +19514,7 @@ function Ls() {
19495
19514
  if (G(I))
19496
19515
  return ft(We(_.call(I)));
19497
19516
  if (X(I))
19498
- return ft(h.call(I));
19517
+ return ft(p.call(I));
19499
19518
  if (Y(I))
19500
19519
  return ft(We(String(I)));
19501
19520
  if (typeof window < "u" && I === window)
@@ -19772,8 +19791,8 @@ function KR() {
19772
19791
  throw new t("Side channel does not contain " + e(u));
19773
19792
  },
19774
19793
  delete: function(u) {
19775
- var d = c && c.next, p = s(c, u);
19776
- return p && d && d === p && (c = void 0), !!p;
19794
+ var d = c && c.next, h = s(c, u);
19795
+ return h && d && d === h && (c = void 0), !!h;
19777
19796
  },
19778
19797
  get: function(u) {
19779
19798
  return n(c, u);
@@ -19949,12 +19968,12 @@ function gT() {
19949
19968
  var e = "Function.prototype.bind called on incompatible ", t = Object.prototype.toString, r = Math.max, n = "[object Function]", o = function(c, l) {
19950
19969
  for (var u = [], d = 0; d < c.length; d += 1)
19951
19970
  u[d] = c[d];
19952
- for (var p = 0; p < l.length; p += 1)
19953
- u[p + c.length] = l[p];
19971
+ for (var h = 0; h < l.length; h += 1)
19972
+ u[h + c.length] = l[h];
19954
19973
  return u;
19955
19974
  }, i = function(c, l) {
19956
- for (var u = [], d = l, p = 0; d < c.length; d += 1, p += 1)
19957
- u[p] = c[d];
19975
+ for (var u = [], d = l, h = 0; d < c.length; d += 1, h += 1)
19976
+ u[h] = c[d];
19958
19977
  return u;
19959
19978
  }, s = function(a, c) {
19960
19979
  for (var l = "", u = 0; u < a.length; u += 1)
@@ -19965,7 +19984,7 @@ function gT() {
19965
19984
  var l = this;
19966
19985
  if (typeof l != "function" || t.apply(l) !== n)
19967
19986
  throw new TypeError(e + l);
19968
- for (var u = i(arguments, 1), d, p = function() {
19987
+ for (var u = i(arguments, 1), d, h = function() {
19969
19988
  if (this instanceof d) {
19970
19989
  var g = l.apply(
19971
19990
  this,
@@ -19977,9 +19996,9 @@ function gT() {
19977
19996
  c,
19978
19997
  o(u, arguments)
19979
19998
  );
19980
- }, m = r(0, l.length - u.length), h = [], v = 0; v < m; v++)
19981
- h[v] = "$" + v;
19982
- if (d = Function("binder", "return function (" + s(h, ",") + "){ return binder.apply(this,arguments); }")(p), l.prototype) {
19999
+ }, m = r(0, l.length - u.length), p = [], v = 0; v < m; v++)
20000
+ p[v] = "$" + v;
20001
+ if (d = Function("binder", "return function (" + s(p, ",") + "){ return binder.apply(this,arguments); }")(h), l.prototype) {
19983
20002
  var f = function() {
19984
20003
  };
19985
20004
  f.prototype = l.prototype, d.prototype = new f(), f.prototype = null;
@@ -20074,7 +20093,7 @@ var cc, fh;
20074
20093
  function Wu() {
20075
20094
  if (fh) return cc;
20076
20095
  fh = 1;
20077
- var e, t = /* @__PURE__ */ Uv(), r = /* @__PURE__ */ ZR(), n = /* @__PURE__ */ JR(), o = /* @__PURE__ */ eT(), i = /* @__PURE__ */ tT(), s = /* @__PURE__ */ rT(), a = /* @__PURE__ */ Zn(), c = /* @__PURE__ */ nT(), l = /* @__PURE__ */ oT(), u = /* @__PURE__ */ iT(), d = /* @__PURE__ */ sT(), p = /* @__PURE__ */ aT(), m = /* @__PURE__ */ cT(), h = /* @__PURE__ */ lT(), v = /* @__PURE__ */ fT(), f = Function, g = function(z) {
20096
+ var e, t = /* @__PURE__ */ Uv(), r = /* @__PURE__ */ ZR(), n = /* @__PURE__ */ JR(), o = /* @__PURE__ */ eT(), i = /* @__PURE__ */ tT(), s = /* @__PURE__ */ rT(), a = /* @__PURE__ */ Zn(), c = /* @__PURE__ */ nT(), l = /* @__PURE__ */ oT(), u = /* @__PURE__ */ iT(), d = /* @__PURE__ */ sT(), h = /* @__PURE__ */ aT(), m = /* @__PURE__ */ cT(), p = /* @__PURE__ */ lT(), v = /* @__PURE__ */ fT(), f = Function, g = function(z) {
20078
20097
  try {
20079
20098
  return f('"use strict"; return (' + z + ").constructor;")();
20080
20099
  } catch {
@@ -20169,9 +20188,9 @@ function Wu() {
20169
20188
  "%Math.abs%": l,
20170
20189
  "%Math.floor%": u,
20171
20190
  "%Math.max%": d,
20172
- "%Math.min%": p,
20191
+ "%Math.min%": h,
20173
20192
  "%Math.pow%": m,
20174
- "%Math.round%": h,
20193
+ "%Math.round%": p,
20175
20194
  "%Math.sign%": v,
20176
20195
  "%Reflect.getPrototypeOf%": R
20177
20196
  };
@@ -20330,15 +20349,15 @@ function Zv() {
20330
20349
  var e = /* @__PURE__ */ Wu(), t = /* @__PURE__ */ Kv(), r = /* @__PURE__ */ Ls(), n = /* @__PURE__ */ Zn(), o = e("%Map%", !0), i = t("Map.prototype.get", !0), s = t("Map.prototype.set", !0), a = t("Map.prototype.has", !0), c = t("Map.prototype.delete", !0), l = t("Map.prototype.size", !0);
20331
20350
  return uc = !!o && /** @type {Exclude<import('.'), false>} */
20332
20351
  function() {
20333
- var d, p = {
20352
+ var d, h = {
20334
20353
  assert: function(m) {
20335
- if (!p.has(m))
20354
+ if (!h.has(m))
20336
20355
  throw new n("Side channel does not contain " + r(m));
20337
20356
  },
20338
20357
  delete: function(m) {
20339
20358
  if (d) {
20340
- var h = c(d, m);
20341
- return l(d) === 0 && (d = void 0), h;
20359
+ var p = c(d, m);
20360
+ return l(d) === 0 && (d = void 0), p;
20342
20361
  }
20343
20362
  return !1;
20344
20363
  },
@@ -20349,11 +20368,11 @@ function Zv() {
20349
20368
  has: function(m) {
20350
20369
  return d ? a(d, m) : !1;
20351
20370
  },
20352
- set: function(m, h) {
20353
- d || (d = new o()), s(d, m, h);
20371
+ set: function(m, p) {
20372
+ d || (d = new o()), s(d, m, p);
20354
20373
  }
20355
20374
  };
20356
- return p;
20375
+ return h;
20357
20376
  }, uc;
20358
20377
  }
20359
20378
  var fc, hh;
@@ -20364,27 +20383,27 @@ function ST() {
20364
20383
  return fc = i ? (
20365
20384
  /** @type {Exclude<import('.'), false>} */
20366
20385
  function() {
20367
- var d, p, m = {
20368
- assert: function(h) {
20369
- if (!m.has(h))
20370
- throw new o("Side channel does not contain " + r(h));
20386
+ var d, h, m = {
20387
+ assert: function(p) {
20388
+ if (!m.has(p))
20389
+ throw new o("Side channel does not contain " + r(p));
20371
20390
  },
20372
- delete: function(h) {
20373
- if (i && h && (typeof h == "object" || typeof h == "function")) {
20391
+ delete: function(p) {
20392
+ if (i && p && (typeof p == "object" || typeof p == "function")) {
20374
20393
  if (d)
20375
- return l(d, h);
20376
- } else if (n && p)
20377
- return p.delete(h);
20394
+ return l(d, p);
20395
+ } else if (n && h)
20396
+ return h.delete(p);
20378
20397
  return !1;
20379
20398
  },
20380
- get: function(h) {
20381
- return i && h && (typeof h == "object" || typeof h == "function") && d ? s(d, h) : p && p.get(h);
20399
+ get: function(p) {
20400
+ return i && p && (typeof p == "object" || typeof p == "function") && d ? s(d, p) : h && h.get(p);
20382
20401
  },
20383
- has: function(h) {
20384
- return i && h && (typeof h == "object" || typeof h == "function") && d ? c(d, h) : !!p && p.has(h);
20402
+ has: function(p) {
20403
+ return i && p && (typeof p == "object" || typeof p == "function") && d ? c(d, p) : !!h && h.has(p);
20385
20404
  },
20386
- set: function(h, v) {
20387
- i && h && (typeof h == "object" || typeof h == "function") ? (d || (d = new i()), a(d, h, v)) : n && (p || (p = n()), p.set(h, v));
20405
+ set: function(p, v) {
20406
+ i && p && (typeof p == "object" || typeof p == "function") ? (d || (d = new i()), a(d, p, v)) : n && (h || (h = n()), h.set(p, v));
20388
20407
  }
20389
20408
  };
20390
20409
  return m;
@@ -20538,11 +20557,11 @@ function Jv() {
20538
20557
  typeof T == "object" && T !== null && b.indexOf(T) === -1 && (E.push({ obj: C, prop: R }), b.push(T));
20539
20558
  }
20540
20559
  return o(E), g;
20541
- }, p = function(g) {
20560
+ }, h = function(g) {
20542
20561
  return Object.prototype.toString.call(g) === "[object RegExp]";
20543
20562
  }, m = function(g) {
20544
20563
  return !g || typeof g != "object" ? !1 : !!(g.constructor && g.constructor.isBuffer && g.constructor.isBuffer(g));
20545
- }, h = function(g, E) {
20564
+ }, p = function(g, E) {
20546
20565
  return [].concat(g, E);
20547
20566
  }, v = function(g, E) {
20548
20567
  if (r(g)) {
@@ -20555,12 +20574,12 @@ function Jv() {
20555
20574
  return hc = {
20556
20575
  arrayToObject: i,
20557
20576
  assign: a,
20558
- combine: h,
20577
+ combine: p,
20559
20578
  compact: d,
20560
20579
  decode: c,
20561
20580
  encode: u,
20562
20581
  isBuffer: m,
20563
- isRegExp: p,
20582
+ isRegExp: h,
20564
20583
  maybeMap: v,
20565
20584
  merge: s
20566
20585
  }, hc;
@@ -20607,15 +20626,15 @@ function xT() {
20607
20626
  strictNullHandling: !1
20608
20627
  }, d = function(f) {
20609
20628
  return typeof f == "string" || typeof f == "number" || typeof f == "boolean" || typeof f == "symbol" || typeof f == "bigint";
20610
- }, p = {}, m = function v(f, g, E, b, w, y, C, x, P, R, T, _, O, N, A, k, V, B) {
20611
- for (var M = f, F = B, U = 0, W = !1; (F = F.get(p)) !== void 0 && !W; ) {
20629
+ }, h = {}, m = function v(f, g, E, b, w, y, C, x, P, R, T, _, O, N, A, k, V, B) {
20630
+ for (var M = f, F = B, U = 0, W = !1; (F = F.get(h)) !== void 0 && !W; ) {
20612
20631
  var Q = F.get(f);
20613
20632
  if (U += 1, typeof Q < "u") {
20614
20633
  if (Q === U)
20615
20634
  throw new RangeError("Cyclic object value");
20616
20635
  W = !0;
20617
20636
  }
20618
- typeof F.get(p) > "u" && (U = 0);
20637
+ typeof F.get(h) > "u" && (U = 0);
20619
20638
  }
20620
20639
  if (typeof R == "function" ? M = R(g, M) : M instanceof Date ? M = O(M) : E === "comma" && i(M) && (M = t.maybeMap(M, function(G) {
20621
20640
  return G instanceof Date ? O(G) : G;
@@ -20652,7 +20671,7 @@ function xT() {
20652
20671
  var L = _ && x ? String(D).replace(/\./g, "%2E") : String(D), X = i(M) ? typeof E == "function" ? E(q, L) : q : q + (_ ? "." + L : "[" + L + "]");
20653
20672
  B.set(f, U);
20654
20673
  var H = e();
20655
- H.set(p, B), a(te, v(
20674
+ H.set(h, B), a(te, v(
20656
20675
  Y,
20657
20676
  X,
20658
20677
  E,
@@ -20675,7 +20694,7 @@ function xT() {
20675
20694
  }
20676
20695
  }
20677
20696
  return te;
20678
- }, h = function(f) {
20697
+ }, p = function(f) {
20679
20698
  if (!f)
20680
20699
  return u;
20681
20700
  if (typeof f.allowEmptyArrays < "u" && typeof f.allowEmptyArrays != "boolean")
@@ -20722,7 +20741,7 @@ function xT() {
20722
20741
  };
20723
20742
  };
20724
20743
  return mc = function(v, f) {
20725
- var g = v, E = h(f), b, w;
20744
+ var g = v, E = p(f), b, w;
20726
20745
  typeof E.filter == "function" ? (w = E.filter, g = w("", g)) : i(E.filter) && (w = E.filter, b = w);
20727
20746
  var y = [];
20728
20747
  if (typeof g != "object" || g === null)
@@ -20782,65 +20801,65 @@ function PT() {
20782
20801
  strictDepth: !1,
20783
20802
  strictNullHandling: !1,
20784
20803
  throwOnLimitExceeded: !1
20785
- }, o = function(p) {
20786
- return p.replace(/&#(\d+);/g, function(m, h) {
20787
- return String.fromCharCode(parseInt(h, 10));
20804
+ }, o = function(h) {
20805
+ return h.replace(/&#(\d+);/g, function(m, p) {
20806
+ return String.fromCharCode(parseInt(p, 10));
20788
20807
  });
20789
- }, i = function(p, m, h) {
20790
- if (p && typeof p == "string" && m.comma && p.indexOf(",") > -1)
20791
- return p.split(",");
20792
- if (m.throwOnLimitExceeded && h >= m.arrayLimit)
20808
+ }, i = function(h, m, p) {
20809
+ if (h && typeof h == "string" && m.comma && h.indexOf(",") > -1)
20810
+ return h.split(",");
20811
+ if (m.throwOnLimitExceeded && p >= m.arrayLimit)
20793
20812
  throw new RangeError("Array limit exceeded. Only " + m.arrayLimit + " element" + (m.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
20794
- return p;
20795
- }, s = "utf8=%26%2310003%3B", a = "utf8=%E2%9C%93", c = function(m, h) {
20796
- var v = { __proto__: null }, f = h.ignoreQueryPrefix ? m.replace(/^\?/, "") : m;
20813
+ return h;
20814
+ }, s = "utf8=%26%2310003%3B", a = "utf8=%E2%9C%93", c = function(m, p) {
20815
+ var v = { __proto__: null }, f = p.ignoreQueryPrefix ? m.replace(/^\?/, "") : m;
20797
20816
  f = f.replace(/%5B/gi, "[").replace(/%5D/gi, "]");
20798
- var g = h.parameterLimit === 1 / 0 ? void 0 : h.parameterLimit, E = f.split(
20799
- h.delimiter,
20800
- h.throwOnLimitExceeded ? g + 1 : g
20817
+ var g = p.parameterLimit === 1 / 0 ? void 0 : p.parameterLimit, E = f.split(
20818
+ p.delimiter,
20819
+ p.throwOnLimitExceeded ? g + 1 : g
20801
20820
  );
20802
- if (h.throwOnLimitExceeded && E.length > g)
20821
+ if (p.throwOnLimitExceeded && E.length > g)
20803
20822
  throw new RangeError("Parameter limit exceeded. Only " + g + " parameter" + (g === 1 ? "" : "s") + " allowed.");
20804
- var b = -1, w, y = h.charset;
20805
- if (h.charsetSentinel)
20823
+ var b = -1, w, y = p.charset;
20824
+ if (p.charsetSentinel)
20806
20825
  for (w = 0; w < E.length; ++w)
20807
20826
  E[w].indexOf("utf8=") === 0 && (E[w] === a ? y = "utf-8" : E[w] === s && (y = "iso-8859-1"), b = w, w = E.length);
20808
20827
  for (w = 0; w < E.length; ++w)
20809
20828
  if (w !== b) {
20810
20829
  var C = E[w], x = C.indexOf("]="), P = x === -1 ? C.indexOf("=") : x + 1, R, T;
20811
- P === -1 ? (R = h.decoder(C, n.decoder, y, "key"), T = h.strictNullHandling ? null : "") : (R = h.decoder(C.slice(0, P), n.decoder, y, "key"), T = e.maybeMap(
20830
+ P === -1 ? (R = p.decoder(C, n.decoder, y, "key"), T = p.strictNullHandling ? null : "") : (R = p.decoder(C.slice(0, P), n.decoder, y, "key"), T = e.maybeMap(
20812
20831
  i(
20813
20832
  C.slice(P + 1),
20814
- h,
20833
+ p,
20815
20834
  r(v[R]) ? v[R].length : 0
20816
20835
  ),
20817
20836
  function(O) {
20818
- return h.decoder(O, n.decoder, y, "value");
20837
+ return p.decoder(O, n.decoder, y, "value");
20819
20838
  }
20820
- )), T && h.interpretNumericEntities && y === "iso-8859-1" && (T = o(String(T))), C.indexOf("[]=") > -1 && (T = r(T) ? [T] : T);
20839
+ )), T && p.interpretNumericEntities && y === "iso-8859-1" && (T = o(String(T))), C.indexOf("[]=") > -1 && (T = r(T) ? [T] : T);
20821
20840
  var _ = t.call(v, R);
20822
- _ && h.duplicates === "combine" ? v[R] = e.combine(v[R], T) : (!_ || h.duplicates === "last") && (v[R] = T);
20841
+ _ && p.duplicates === "combine" ? v[R] = e.combine(v[R], T) : (!_ || p.duplicates === "last") && (v[R] = T);
20823
20842
  }
20824
20843
  return v;
20825
- }, l = function(p, m, h, v) {
20844
+ }, l = function(h, m, p, v) {
20826
20845
  var f = 0;
20827
- if (p.length > 0 && p[p.length - 1] === "[]") {
20828
- var g = p.slice(0, -1).join("");
20846
+ if (h.length > 0 && h[h.length - 1] === "[]") {
20847
+ var g = h.slice(0, -1).join("");
20829
20848
  f = Array.isArray(m) && m[g] ? m[g].length : 0;
20830
20849
  }
20831
- for (var E = v ? m : i(m, h, f), b = p.length - 1; b >= 0; --b) {
20832
- var w, y = p[b];
20833
- if (y === "[]" && h.parseArrays)
20834
- w = h.allowEmptyArrays && (E === "" || h.strictNullHandling && E === null) ? [] : e.combine([], E);
20850
+ for (var E = v ? m : i(m, p, f), b = h.length - 1; b >= 0; --b) {
20851
+ var w, y = h[b];
20852
+ if (y === "[]" && p.parseArrays)
20853
+ w = p.allowEmptyArrays && (E === "" || p.strictNullHandling && E === null) ? [] : e.combine([], E);
20835
20854
  else {
20836
- w = h.plainObjects ? { __proto__: null } : {};
20837
- var C = y.charAt(0) === "[" && y.charAt(y.length - 1) === "]" ? y.slice(1, -1) : y, x = h.decodeDotInKeys ? C.replace(/%2E/g, ".") : C, P = parseInt(x, 10);
20838
- !h.parseArrays && x === "" ? w = { 0: E } : !isNaN(P) && y !== x && String(P) === x && P >= 0 && h.parseArrays && P <= h.arrayLimit ? (w = [], w[P] = E) : x !== "__proto__" && (w[x] = E);
20855
+ w = p.plainObjects ? { __proto__: null } : {};
20856
+ var C = y.charAt(0) === "[" && y.charAt(y.length - 1) === "]" ? y.slice(1, -1) : y, x = p.decodeDotInKeys ? C.replace(/%2E/g, ".") : C, P = parseInt(x, 10);
20857
+ !p.parseArrays && x === "" ? w = { 0: E } : !isNaN(P) && y !== x && String(P) === x && P >= 0 && p.parseArrays && P <= p.arrayLimit ? (w = [], w[P] = E) : x !== "__proto__" && (w[x] = E);
20839
20858
  }
20840
20859
  E = w;
20841
20860
  }
20842
20861
  return E;
20843
- }, u = function(m, h, v, f) {
20862
+ }, u = function(m, p, v, f) {
20844
20863
  if (m) {
20845
20864
  var g = v.allowDots ? m.replace(/\.([^.[]+)/g, "[$1]") : m, E = /(\[[^[\]]*])/, b = /(\[[^[\]]*])/g, w = v.depth > 0 && E.exec(g), y = w ? g.slice(0, w.index) : g, C = [];
20846
20865
  if (y) {
@@ -20858,7 +20877,7 @@ function PT() {
20858
20877
  throw new RangeError("Input depth exceeded depth option of " + v.depth + " and strictDepth is true");
20859
20878
  C.push("[" + g.slice(w.index) + "]");
20860
20879
  }
20861
- return l(C, h, v, f);
20880
+ return l(C, p, v, f);
20862
20881
  }
20863
20882
  }, d = function(m) {
20864
20883
  if (!m)
@@ -20873,7 +20892,7 @@ function PT() {
20873
20892
  throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
20874
20893
  if (typeof m.throwOnLimitExceeded < "u" && typeof m.throwOnLimitExceeded != "boolean")
20875
20894
  throw new TypeError("`throwOnLimitExceeded` option must be a boolean");
20876
- var h = typeof m.charset > "u" ? n.charset : m.charset, v = typeof m.duplicates > "u" ? n.duplicates : m.duplicates;
20895
+ var p = typeof m.charset > "u" ? n.charset : m.charset, v = typeof m.duplicates > "u" ? n.duplicates : m.duplicates;
20877
20896
  if (v !== "combine" && v !== "first" && v !== "last")
20878
20897
  throw new TypeError("The duplicates option must be either combine, first, or last");
20879
20898
  var f = typeof m.allowDots > "u" ? m.decodeDotInKeys === !0 ? !0 : n.allowDots : !!m.allowDots;
@@ -20883,7 +20902,7 @@ function PT() {
20883
20902
  allowPrototypes: typeof m.allowPrototypes == "boolean" ? m.allowPrototypes : n.allowPrototypes,
20884
20903
  allowSparse: typeof m.allowSparse == "boolean" ? m.allowSparse : n.allowSparse,
20885
20904
  arrayLimit: typeof m.arrayLimit == "number" ? m.arrayLimit : n.arrayLimit,
20886
- charset: h,
20905
+ charset: p,
20887
20906
  charsetSentinel: typeof m.charsetSentinel == "boolean" ? m.charsetSentinel : n.charsetSentinel,
20888
20907
  comma: typeof m.comma == "boolean" ? m.comma : n.comma,
20889
20908
  decodeDotInKeys: typeof m.decodeDotInKeys == "boolean" ? m.decodeDotInKeys : n.decodeDotInKeys,
@@ -20902,15 +20921,15 @@ function PT() {
20902
20921
  throwOnLimitExceeded: typeof m.throwOnLimitExceeded == "boolean" ? m.throwOnLimitExceeded : !1
20903
20922
  };
20904
20923
  };
20905
- return gc = function(p, m) {
20906
- var h = d(m);
20907
- if (p === "" || p === null || typeof p > "u")
20908
- return h.plainObjects ? { __proto__: null } : {};
20909
- for (var v = typeof p == "string" ? c(p, h) : p, f = h.plainObjects ? { __proto__: null } : {}, g = Object.keys(v), E = 0; E < g.length; ++E) {
20910
- var b = g[E], w = u(b, v[b], h, typeof p == "string");
20911
- f = e.merge(f, w, h);
20912
- }
20913
- return h.allowSparse === !0 ? f : e.compact(f);
20924
+ return gc = function(h, m) {
20925
+ var p = d(m);
20926
+ if (h === "" || h === null || typeof h > "u")
20927
+ return p.plainObjects ? { __proto__: null } : {};
20928
+ for (var v = typeof h == "string" ? c(h, p) : h, f = p.plainObjects ? { __proto__: null } : {}, g = Object.keys(v), E = 0; E < g.length; ++E) {
20929
+ var b = g[E], w = u(b, v[b], p, typeof h == "string");
20930
+ f = e.merge(f, w, p);
20931
+ }
20932
+ return p.allowSparse === !0 ? f : e.compact(f);
20914
20933
  }, gc;
20915
20934
  }
20916
20935
  var yc, Eh;
@@ -21095,7 +21114,7 @@ function UT({
21095
21114
  validateStatus: l,
21096
21115
  ...u
21097
21116
  } = {}) {
21098
- return typeof fetch > "u" && r === xh && console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."), async (p, m, h) => {
21117
+ return typeof fetch > "u" && r === xh && console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."), async (h, m, p) => {
21099
21118
  const {
21100
21119
  getState: v,
21101
21120
  extra: f,
@@ -21111,21 +21130,21 @@ function UT({
21111
21130
  validateStatus: R = l ?? jT,
21112
21131
  timeout: T = a,
21113
21132
  ..._
21114
- } = typeof p == "string" ? {
21115
- url: p
21116
- } : p, O = {
21133
+ } = typeof h == "string" ? {
21134
+ url: h
21135
+ } : h, O = {
21117
21136
  ...u,
21118
21137
  signal: T ? BT(m.signal, VT(T)) : m.signal,
21119
21138
  ..._
21120
21139
  };
21121
21140
  C = new Headers(Ph(C)), O.headers = await t(C, {
21122
21141
  getState: v,
21123
- arg: p,
21142
+ arg: h,
21124
21143
  extra: f,
21125
21144
  endpoint: g,
21126
21145
  forced: E,
21127
21146
  type: b,
21128
- extraOptions: h
21147
+ extraOptions: p
21129
21148
  }) || C;
21130
21149
  const N = qT(O.body);
21131
21150
  if (O.body != null && !N && typeof O.body != "string" && O.headers.delete("content-type"), !O.headers.has("content-type") && N && O.headers.set("content-type", i), N && o(O.headers) && (O.body = JSON.stringify(O.body, s)), O.headers.has("accept") || (P === "json" ? O.headers.set("accept", "application/json") : P === "text" && O.headers.set("accept", "text/plain, text/html, */*")), x) {
@@ -21183,14 +21202,14 @@ function UT({
21183
21202
  meta: w
21184
21203
  };
21185
21204
  };
21186
- async function d(p, m) {
21205
+ async function d(h, m) {
21187
21206
  if (typeof m == "function")
21188
- return m(p);
21189
- if (m === "content-type" && (m = o(p.headers) ? "json" : "text"), m === "json") {
21190
- const h = await p.text();
21191
- return h.length ? JSON.parse(h) : null;
21207
+ return m(h);
21208
+ if (m === "content-type" && (m = o(h.headers) ? "json" : "text"), m === "json") {
21209
+ const p = await h.text();
21210
+ return p.length ? JSON.parse(p) : null;
21192
21211
  }
21193
- return p.text();
21212
+ return h.text();
21194
21213
  }
21195
21214
  }
21196
21215
  var _h = class {
@@ -21244,12 +21263,12 @@ function KT({
21244
21263
  buildInitiateQuery: E,
21245
21264
  buildInitiateInfiniteQuery: b,
21246
21265
  buildInitiateMutation: w,
21247
- getRunningQueryThunk: p,
21266
+ getRunningQueryThunk: h,
21248
21267
  getRunningMutationThunk: m,
21249
- getRunningQueriesThunk: h,
21268
+ getRunningQueriesThunk: p,
21250
21269
  getRunningMutationsThunk: v
21251
21270
  };
21252
- function p(y, C) {
21271
+ function h(y, C) {
21253
21272
  return (x) => {
21254
21273
  const P = jn(i, y), R = e({
21255
21274
  queryArgs: C,
@@ -21262,7 +21281,7 @@ function KT({
21262
21281
  function m(y, C) {
21263
21282
  return (x) => c(x)?.get(C);
21264
21283
  }
21265
- function h() {
21284
+ function p() {
21266
21285
  return (y) => Ch(a(y));
21267
21286
  }
21268
21287
  function v() {
@@ -21481,7 +21500,7 @@ function ZT({
21481
21500
  const A = [O, ..._];
21482
21501
  return N && A.length > N ? A.slice(0, -1) : A;
21483
21502
  }
21484
- function p(_, O, N = 0) {
21503
+ function h(_, O, N = 0) {
21485
21504
  const A = [..._, O];
21486
21505
  return N && A.length > N ? A.slice(1) : A;
21487
21506
  }
@@ -21512,7 +21531,7 @@ function ZT({
21512
21531
  value: M.data
21513
21532
  });
21514
21533
  return F.patches.length === 0 || k(o.util.patchQueryData(_, O, F.patches, A)), F;
21515
- }, h = (_, O, N) => (A) => A(o.endpoints[_].initiate(O, {
21534
+ }, p = (_, O, N) => (A) => A(o.endpoints[_].initiate(O, {
21516
21535
  subscribe: !1,
21517
21536
  forceRefetch: !0,
21518
21537
  [Ho]: () => ({
@@ -21553,7 +21572,7 @@ function ZT({
21553
21572
  const X = {
21554
21573
  queryArg: _.originalArgs,
21555
21574
  pageParam: D
21556
- }, H = await q(X), G = L ? d : p;
21575
+ }, H = await q(X), G = L ? d : h;
21557
21576
  return {
21558
21577
  data: {
21559
21578
  pages: G(z.pages, H.data, Y),
@@ -21758,7 +21777,7 @@ In the case of an unhandled error, no tags will be "provided" or "invalidated".`
21758
21777
  infiniteQueryThunk: w,
21759
21778
  prefetch: P,
21760
21779
  updateQueryData: m,
21761
- upsertQueryData: h,
21780
+ upsertQueryData: p,
21762
21781
  patchQueryData: u,
21763
21782
  buildMatchThunkActions: T
21764
21783
  };
@@ -21825,7 +21844,7 @@ function JT({
21825
21844
  oi(A) && "direction" in T && (N.direction = T.direction);
21826
21845
  });
21827
21846
  }
21828
- function p(R, T, _, O) {
21847
+ function h(R, T, _, O) {
21829
21848
  Fi(R, T.arg.queryCacheKey, (N) => {
21830
21849
  if (N.requestId !== T.requestId && !O) return;
21831
21850
  const {
@@ -21878,7 +21897,7 @@ function JT({
21878
21897
  arg: O,
21879
21898
  requestId: T.meta.requestId,
21880
21899
  startedTimeStamp: T.meta.timestamp
21881
- }), p(
21900
+ }), h(
21882
21901
  R,
21883
21902
  {
21884
21903
  arg: O,
@@ -21948,7 +21967,7 @@ function JT({
21948
21967
  payload: O
21949
21968
  }) => {
21950
21969
  const N = Ul(_.arg);
21951
- p(T, _, O, N);
21970
+ h(T, _, O, N);
21952
21971
  }).addCase(t.rejected, (T, {
21953
21972
  meta: {
21954
21973
  condition: _,
@@ -21973,7 +21992,7 @@ function JT({
21973
21992
  (A?.status === fo || A?.status === po) && (T[N] = A);
21974
21993
  });
21975
21994
  }
21976
- }), h = hr({
21995
+ }), p = hr({
21977
21996
  name: `${e}/mutations`,
21978
21997
  initialState: Di,
21979
21998
  reducers: {
@@ -22162,7 +22181,7 @@ function JT({
22162
22181
  }
22163
22182
  }), C = Gh({
22164
22183
  queries: m.reducer,
22165
- mutations: h.reducer,
22184
+ mutations: p.reducer,
22166
22185
  provided: f.reducer,
22167
22186
  subscriptions: w.reducer,
22168
22187
  config: y.reducer
@@ -22171,7 +22190,7 @@ function JT({
22171
22190
  ...m.actions,
22172
22191
  ...b.actions,
22173
22192
  ...w.actions,
22174
- ...h.actions,
22193
+ ...p.actions,
22175
22194
  ...f.actions,
22176
22195
  resetApiState: u
22177
22196
  };
@@ -22192,9 +22211,9 @@ function eN({
22192
22211
  }) {
22193
22212
  const n = (b) => Nh, o = (b) => Ah;
22194
22213
  return {
22195
- buildQuerySelector: p,
22214
+ buildQuerySelector: h,
22196
22215
  buildInfiniteQuerySelector: m,
22197
- buildMutationSelector: h,
22216
+ buildMutationSelector: p,
22198
22217
  selectInvalidatedBy: v,
22199
22218
  selectCachedArgsForQuery: f,
22200
22219
  selectApiState: s,
@@ -22241,7 +22260,7 @@ function eN({
22241
22260
  return r((R) => c(R, x) ?? Nh, y);
22242
22261
  };
22243
22262
  }
22244
- function p(b, w) {
22263
+ function h(b, w) {
22245
22264
  return d(b, w, i);
22246
22265
  }
22247
22266
  function m(b, w) {
@@ -22269,7 +22288,7 @@ function eN({
22269
22288
  }
22270
22289
  return d(b, w, C);
22271
22290
  }
22272
- function h() {
22291
+ function p() {
22273
22292
  return (b) => {
22274
22293
  let w;
22275
22294
  return typeof b == "object" ? w = Vo(b) ?? vc : w = b, r(w === vc ? o : (x) => s(x)?.mutations?.[w] ?? Ah, i);
@@ -22343,10 +22362,10 @@ function tN(...e) {
22343
22362
  let u = Ih;
22344
22363
  if ("serializeQueryArgs" in l.endpointDefinition) {
22345
22364
  const d = l.endpointDefinition.serializeQueryArgs;
22346
- u = (p) => {
22347
- const m = d(p);
22365
+ u = (h) => {
22366
+ const m = d(h);
22348
22367
  return typeof m == "string" ? m : Ih({
22349
- ...p,
22368
+ ...h,
22350
22369
  queryArgs: m
22351
22370
  });
22352
22371
  };
@@ -22372,8 +22391,8 @@ function tN(...e) {
22372
22391
  for (const d of l)
22373
22392
  o.tagTypes.includes(d) || o.tagTypes.push(d);
22374
22393
  if (u)
22375
- for (const [d, p] of Object.entries(u))
22376
- typeof p == "function" ? p(jn(i, d)) : Object.assign(jn(i, d) || {}, p);
22394
+ for (const [d, h] of Object.entries(u))
22395
+ typeof h == "function" ? h(jn(i, d)) : Object.assign(jn(i, d) || {}, h);
22377
22396
  return s;
22378
22397
  }
22379
22398
  }, a = e.map((l) => l.init(s, o, i));
@@ -22392,30 +22411,30 @@ function tN(...e) {
22392
22411
  type: ib
22393
22412
  })
22394
22413
  });
22395
- for (const [d, p] of Object.entries(u)) {
22414
+ for (const [d, h] of Object.entries(u)) {
22396
22415
  if (l.overrideExisting !== !0 && d in i.endpointDefinitions) {
22397
22416
  if (l.overrideExisting === "throw")
22398
22417
  throw new Error(process.env.NODE_ENV === "production" ? we(39) : `called \`injectEndpoints\` to override already-existing endpointName ${d} without specifying \`overrideExisting: true\``);
22399
22418
  typeof process < "u" && process.env.NODE_ENV === "development" && console.error(`called \`injectEndpoints\` to override already-existing endpointName ${d} without specifying \`overrideExisting: true\``);
22400
22419
  continue;
22401
22420
  }
22402
- if (typeof process < "u" && process.env.NODE_ENV === "development" && oi(p)) {
22421
+ if (typeof process < "u" && process.env.NODE_ENV === "development" && oi(h)) {
22403
22422
  const {
22404
22423
  infiniteQueryOptions: m
22405
- } = p, {
22406
- maxPages: h,
22424
+ } = h, {
22425
+ maxPages: p,
22407
22426
  getPreviousPageParam: v
22408
22427
  } = m;
22409
- if (typeof h == "number") {
22410
- if (h < 1)
22428
+ if (typeof p == "number") {
22429
+ if (p < 1)
22411
22430
  throw new Error(process.env.NODE_ENV === "production" ? we(40) : `maxPages for endpoint '${d}' must be a number greater than 0`);
22412
22431
  if (typeof v != "function")
22413
22432
  throw new Error(process.env.NODE_ENV === "production" ? we(41) : `getPreviousPageParam for endpoint '${d}' must be a function if maxPages is used`);
22414
22433
  }
22415
22434
  }
22416
- i.endpointDefinitions[d] = p;
22435
+ i.endpointDefinitions[d] = h;
22417
22436
  for (const m of a)
22418
- m.injectEndpoint(d, p);
22437
+ m.injectEndpoint(d, h);
22419
22438
  }
22420
22439
  return s;
22421
22440
  }
@@ -22485,11 +22504,11 @@ var rN = ({
22485
22504
  getSubscriptionCount: (v) => u().get(v)?.size ?? 0,
22486
22505
  isRequestSubscribed: (v, f) => !!u()?.get(v)?.get(f)
22487
22506
  };
22488
- function h(v) {
22507
+ function p(v) {
22489
22508
  return JSON.parse(JSON.stringify(Object.fromEntries([...v].map(([f, g]) => [f, Object.fromEntries(g)]))));
22490
22509
  }
22491
22510
  return (v, f) => {
22492
- if (i || (i = h(r.currentSubscriptions)), e.util.resetApiState.match(v))
22511
+ if (i || (i = p(r.currentSubscriptions)), e.util.resetApiState.match(v))
22493
22512
  return i = {}, r.currentSubscriptions.clear(), s = null, [!0, !1];
22494
22513
  if (e.internalActions.internal_getRTKQSubscriptions.match(v))
22495
22514
  return [!1, m];
@@ -22499,7 +22518,7 @@ var rN = ({
22499
22518
  return [!1, r.currentPolls];
22500
22519
  if (g) {
22501
22520
  s || (s = setTimeout(() => {
22502
- const y = h(r.currentSubscriptions), [, C] = nm(i, () => y);
22521
+ const y = p(r.currentSubscriptions), [, C] = nm(i, () => y);
22503
22522
  f.next(e.internalActions.subscriptionsUpdated(C)), i = y, s = null;
22504
22523
  }, 500));
22505
22524
  const b = typeof v.type == "string" && !!v.type.startsWith(o), w = t.rejected.match(v) && v.meta.condition && !!v.meta.arg.subscribe;
@@ -22524,19 +22543,19 @@ var rN = ({
22524
22543
  removeQueryResult: l,
22525
22544
  unsubscribeQueryResult: u,
22526
22545
  cacheEntriesUpserted: d
22527
- } = t.internalActions, p = Er(u.match, r.fulfilled, r.rejected, d.match);
22546
+ } = t.internalActions, h = Er(u.match, r.fulfilled, r.rejected, d.match);
22528
22547
  function m(b) {
22529
22548
  const w = o.currentSubscriptions.get(b);
22530
22549
  return w ? w.size > 0 : !1;
22531
22550
  }
22532
- const h = {};
22551
+ const p = {};
22533
22552
  function v(b) {
22534
22553
  for (const w of b.values())
22535
22554
  w?.abort?.();
22536
22555
  }
22537
22556
  const f = (b, w) => {
22538
22557
  const y = w.getState(), C = s(y);
22539
- if (p(b)) {
22558
+ if (h(b)) {
22540
22559
  let x;
22541
22560
  if (d.match(b))
22542
22561
  x = b.payload.map((P) => P.queryDescription.queryCacheKey);
@@ -22549,8 +22568,8 @@ var rN = ({
22549
22568
  g(x, w, C);
22550
22569
  }
22551
22570
  if (t.util.resetApiState.match(b)) {
22552
- for (const [x, P] of Object.entries(h))
22553
- P && clearTimeout(P), delete h[x];
22571
+ for (const [x, P] of Object.entries(p))
22572
+ P && clearTimeout(P), delete p[x];
22554
22573
  v(o.runningQueries), v(o.runningMutations);
22555
22574
  }
22556
22575
  if (n.hasRehydrationInfo(b)) {
@@ -22573,15 +22592,15 @@ var rN = ({
22573
22592
  return;
22574
22593
  const R = Math.max(0, Math.min(P, nN));
22575
22594
  if (!m(b)) {
22576
- const T = h[b];
22577
- T && clearTimeout(T), h[b] = setTimeout(() => {
22595
+ const T = p[b];
22596
+ T && clearTimeout(T), p[b] = setTimeout(() => {
22578
22597
  if (!m(b)) {
22579
22598
  const _ = i(y.getState(), b);
22580
22599
  _?.endpointName && y.dispatch(a(_.endpointName, _.originalArgs))?.abort(), y.dispatch(l({
22581
22600
  queryCacheKey: b
22582
22601
  }));
22583
22602
  }
22584
- delete h[b];
22603
+ delete p[b];
22585
22604
  }, R * 1e3);
22586
22605
  }
22587
22606
  }
@@ -22599,9 +22618,9 @@ var rN = ({
22599
22618
  }
22600
22619
  }) => {
22601
22620
  const c = Oc(n), l = Oc(o), u = Fr(n, o), d = {}, {
22602
- removeQueryResult: p,
22621
+ removeQueryResult: h,
22603
22622
  removeMutationResult: m,
22604
- cacheEntriesUpserted: h
22623
+ cacheEntriesUpserted: p
22605
22624
  } = e.internalActions;
22606
22625
  function v(y, C, x) {
22607
22626
  const P = d[y];
@@ -22633,7 +22652,7 @@ var rN = ({
22633
22652
  if (n.pending.match(y)) {
22634
22653
  const [T, _, O] = g(y);
22635
22654
  R(T, P, O, _);
22636
- } else if (h.match(y))
22655
+ } else if (p.match(y))
22637
22656
  for (const {
22638
22657
  queryDescription: T,
22639
22658
  value: _
@@ -22652,14 +22671,14 @@ var rN = ({
22652
22671
  }
22653
22672
  } else if (u(y))
22654
22673
  v(P, y.payload, y.meta.baseQueryMeta);
22655
- else if (p.match(y) || m.match(y))
22674
+ else if (h.match(y) || m.match(y))
22656
22675
  f(P);
22657
22676
  else if (e.util.resetApiState.match(y))
22658
22677
  for (const T of Object.keys(d))
22659
22678
  f(T);
22660
22679
  };
22661
22680
  function b(y) {
22662
- return c(y) ? y.meta.arg.queryCacheKey : l(y) ? y.meta.arg.fixedCacheKey ?? y.meta.requestId : p.match(y) ? y.payload.queryCacheKey : m.match(y) ? Vo(y.payload) : "";
22681
+ return c(y) ? y.meta.arg.queryCacheKey : l(y) ? y.meta.arg.fixedCacheKey ?? y.meta.requestId : h.match(y) ? y.payload.queryCacheKey : m.match(y) ? Vo(y.payload) : "";
22663
22682
  }
22664
22683
  function w(y, C, x, P, R) {
22665
22684
  const T = jn(r, y), _ = T?.onCacheEntryAdded;
@@ -22714,8 +22733,8 @@ If you have multiple apis, you *have* to specify the reducerPath option when usi
22714
22733
  const {
22715
22734
  removeQueryResult: l
22716
22735
  } = i.internalActions, u = Er(Fr(n), ps(n)), d = Er(Fr(o, n), Fn(o, n));
22717
- let p = [], m = 0;
22718
- const h = (g, E) => {
22736
+ let h = [], m = 0;
22737
+ const p = (g, E) => {
22719
22738
  (o.pending.match(g) || n.pending.match(g)) && m++, d(g) && (m = Math.max(0, m - 1)), u(g) ? f(lb(g, "invalidatesTags", r, s), E) : d(g) ? f([], E) : i.util.invalidateTags.match(g) && f(Zu(g.payload, void 0, void 0, void 0, void 0, s), E);
22720
22739
  };
22721
22740
  function v() {
@@ -22723,10 +22742,10 @@ If you have multiple apis, you *have* to specify the reducerPath option when usi
22723
22742
  }
22724
22743
  function f(g, E) {
22725
22744
  const b = E.getState(), w = b[e];
22726
- if (p.push(...g), w.config.invalidationBehavior === "delayed" && v())
22745
+ if (h.push(...g), w.config.invalidationBehavior === "delayed" && v())
22727
22746
  return;
22728
- const y = p;
22729
- if (p = [], y.length === 0) return;
22747
+ const y = h;
22748
+ if (h = [], y.length === 0) return;
22730
22749
  const C = i.util.selectInvalidatedBy(b, y);
22731
22750
  t.batch(() => {
22732
22751
  const x = Array.from(C.values());
@@ -22740,7 +22759,7 @@ If you have multiple apis, you *have* to specify the reducerPath option when usi
22740
22759
  }
22741
22760
  });
22742
22761
  }
22743
- return h;
22762
+ return p;
22744
22763
  }, cN = ({
22745
22764
  reducerPath: e,
22746
22765
  queryThunk: t,
@@ -22754,12 +22773,12 @@ If you have multiple apis, you *have* to specify the reducerPath option when usi
22754
22773
  } = o, a = /* @__PURE__ */ new Set();
22755
22774
  let c = null;
22756
22775
  const l = (f, g) => {
22757
- (r.internalActions.updateSubscriptionOptions.match(f) || r.internalActions.unsubscribeQueryResult.match(f)) && u(f.payload.queryCacheKey, g), (t.pending.match(f) || t.rejected.match(f) && f.meta.condition) && u(f.meta.arg.queryCacheKey, g), (t.fulfilled.match(f) || t.rejected.match(f) && !f.meta.condition) && d(f.meta.arg, g), r.util.resetApiState.match(f) && (h(), c && (clearTimeout(c), c = null), a.clear());
22776
+ (r.internalActions.updateSubscriptionOptions.match(f) || r.internalActions.unsubscribeQueryResult.match(f)) && u(f.payload.queryCacheKey, g), (t.pending.match(f) || t.rejected.match(f) && f.meta.condition) && u(f.meta.arg.queryCacheKey, g), (t.fulfilled.match(f) || t.rejected.match(f) && !f.meta.condition) && d(f.meta.arg, g), r.util.resetApiState.match(f) && (p(), c && (clearTimeout(c), c = null), a.clear());
22758
22777
  };
22759
22778
  function u(f, g) {
22760
22779
  a.add(f), c || (c = setTimeout(() => {
22761
22780
  for (const E of a)
22762
- p({
22781
+ h({
22763
22782
  queryCacheKey: E
22764
22783
  }, g);
22765
22784
  a.clear(), c = null;
@@ -22788,7 +22807,7 @@ If you have multiple apis, you *have* to specify the reducerPath option when usi
22788
22807
  }, y)
22789
22808
  });
22790
22809
  }
22791
- function p({
22810
+ function h({
22792
22811
  queryCacheKey: f
22793
22812
  }, g) {
22794
22813
  const b = g.getState()[e].queries[f], w = s.get(f);
@@ -22814,7 +22833,7 @@ If you have multiple apis, you *have* to specify the reducerPath option when usi
22814
22833
  const g = i.get(f);
22815
22834
  g?.timeout && clearTimeout(g.timeout), i.delete(f);
22816
22835
  }
22817
- function h() {
22836
+ function p() {
22818
22837
  for (const f of i.keys())
22819
22838
  m(f);
22820
22839
  }
@@ -22840,22 +22859,22 @@ If you have multiple apis, you *have* to specify the reducerPath option when usi
22840
22859
  const {
22841
22860
  requestId: d,
22842
22861
  arg: {
22843
- endpointName: p,
22862
+ endpointName: h,
22844
22863
  originalArgs: m
22845
22864
  }
22846
- } = l.meta, h = jn(t, p), v = h?.onQueryStarted;
22865
+ } = l.meta, p = jn(t, h), v = p?.onQueryStarted;
22847
22866
  if (v) {
22848
22867
  const f = {}, g = new Promise((y, C) => {
22849
22868
  f.resolve = y, f.reject = C;
22850
22869
  });
22851
22870
  g.catch(() => {
22852
22871
  }), a[d] = f;
22853
- const E = e.endpoints[p].select(cs(h) ? m : d), b = u.dispatch((y, C, x) => x), w = {
22872
+ const E = e.endpoints[h].select(cs(p) ? m : d), b = u.dispatch((y, C, x) => x), w = {
22854
22873
  ...u,
22855
22874
  getCacheEntry: () => E(u.getState()),
22856
22875
  requestId: d,
22857
22876
  extra: b,
22858
- updateCachedData: cs(h) ? (y) => u.dispatch(e.util.updateQueryData(p, m, y)) : void 0,
22877
+ updateCachedData: cs(p) ? (y) => u.dispatch(e.util.updateQueryData(h, m, y)) : void 0,
22859
22878
  queryFulfilled: g
22860
22879
  };
22861
22880
  v(m, w);
@@ -22863,21 +22882,21 @@ If you have multiple apis, you *have* to specify the reducerPath option when usi
22863
22882
  } else if (s(l)) {
22864
22883
  const {
22865
22884
  requestId: d,
22866
- baseQueryMeta: p
22885
+ baseQueryMeta: h
22867
22886
  } = l.meta;
22868
22887
  a[d]?.resolve({
22869
22888
  data: l.payload,
22870
- meta: p
22889
+ meta: h
22871
22890
  }), delete a[d];
22872
22891
  } else if (i(l)) {
22873
22892
  const {
22874
22893
  requestId: d,
22875
- rejectedWithValue: p,
22894
+ rejectedWithValue: h,
22876
22895
  baseQueryMeta: m
22877
22896
  } = l.meta;
22878
22897
  a[d]?.reject({
22879
22898
  error: l.payload ?? l.error,
22880
- isUnhandledError: !p,
22899
+ isUnhandledError: !h,
22881
22900
  meta: m
22882
22901
  }), delete a[d];
22883
22902
  }
@@ -22895,15 +22914,15 @@ If you have multiple apis, you *have* to specify the reducerPath option when usi
22895
22914
  Yu.match(c) && a(l, "refetchOnFocus"), Ku.match(c) && a(l, "refetchOnReconnect");
22896
22915
  };
22897
22916
  function a(c, l) {
22898
- const u = c.getState()[e], d = u.queries, p = o.currentSubscriptions;
22917
+ const u = c.getState()[e], d = u.queries, h = o.currentSubscriptions;
22899
22918
  t.batch(() => {
22900
- for (const m of p.keys()) {
22901
- const h = d[m], v = p.get(m);
22902
- if (!v || !h) continue;
22919
+ for (const m of h.keys()) {
22920
+ const p = d[m], v = h.get(m);
22921
+ if (!v || !p) continue;
22903
22922
  const f = [...v.values()];
22904
22923
  (f.some((E) => E[l] === !0) || f.every((E) => E[l] === void 0) && u.config[l]) && (v.size === 0 ? c.dispatch(i({
22905
22924
  queryCacheKey: m
22906
- })) : h.status !== Sr && c.dispatch(n(h)));
22925
+ })) : p.status !== Sr && c.dispatch(n(p)));
22907
22926
  }
22908
22927
  });
22909
22928
  }
@@ -22920,27 +22939,27 @@ function fN(e) {
22920
22939
  apiUid: s
22921
22940
  } = o, a = {
22922
22941
  invalidateTags: qt(`${t}/invalidateTags`)
22923
- }, c = (p) => p.type.startsWith(`${t}/`), l = [sN, oN, aN, cN, iN, lN];
22942
+ }, c = (h) => h.type.startsWith(`${t}/`), l = [sN, oN, aN, cN, iN, lN];
22924
22943
  return {
22925
- middleware: (p) => {
22944
+ middleware: (h) => {
22926
22945
  let m = !1;
22927
- const h = i(p.dispatch), v = {
22946
+ const p = i(h.dispatch), v = {
22928
22947
  ...e,
22929
- internalState: h,
22948
+ internalState: p,
22930
22949
  refetchQuery: d,
22931
22950
  isThisApiSliceAction: c,
22932
- mwApi: p
22951
+ mwApi: h
22933
22952
  }, f = l.map((b) => b(v)), g = rN(v), E = uN(v);
22934
22953
  return (b) => (w) => {
22935
22954
  if (!Yl(w))
22936
22955
  return b(w);
22937
- m || (m = !0, p.dispatch(n.internalActions.middlewareRegistered(s)));
22956
+ m || (m = !0, h.dispatch(n.internalActions.middlewareRegistered(s)));
22938
22957
  const y = {
22939
- ...p,
22958
+ ...h,
22940
22959
  next: b
22941
- }, C = p.getState(), [x, P] = g(w, y, C);
22960
+ }, C = h.getState(), [x, P] = g(w, y, C);
22942
22961
  let R;
22943
- if (x ? R = b(w) : R = P, p.getState()[t] && (E(w, y, C), c(w) || o.hasRehydrationInfo(w)))
22962
+ if (x ? R = b(w) : R = P, h.getState()[t] && (E(w, y, C), c(w) || o.hasRehydrationInfo(w)))
22944
22963
  for (const T of f)
22945
22964
  T(w, y, C);
22946
22965
  return R;
@@ -22948,8 +22967,8 @@ function fN(e) {
22948
22967
  },
22949
22968
  actions: a
22950
22969
  };
22951
- function d(p) {
22952
- return e.api.endpoints[p.endpointName].initiate(p.originalArgs, {
22970
+ function d(h) {
22971
+ return e.api.endpoints[h.endpointName].initiate(h.originalArgs, {
22953
22972
  subscribe: !1,
22954
22973
  forceRefetch: !0
22955
22974
  });
@@ -22970,9 +22989,9 @@ var Fh = /* @__PURE__ */ Symbol(), dN = ({
22970
22989
  refetchOnReconnect: l,
22971
22990
  invalidationBehavior: u,
22972
22991
  onSchemaFailure: d,
22973
- catchSchemaFailure: p,
22992
+ catchSchemaFailure: h,
22974
22993
  skipSchemaValidation: m
22975
- }, h) {
22994
+ }, p) {
22976
22995
  c0();
22977
22996
  const v = (j) => (typeof process < "u" && process.env.NODE_ENV === "development" && (n.includes(j.type) || console.error(`Tag type '${j.type}' was used, but not specified in \`tagTypes\`!`)), j);
22978
22997
  Object.assign(t, {
@@ -23013,19 +23032,19 @@ var Fh = /* @__PURE__ */ Symbol(), dN = ({
23013
23032
  } = ZT({
23014
23033
  baseQuery: r,
23015
23034
  reducerPath: o,
23016
- context: h,
23035
+ context: p,
23017
23036
  api: t,
23018
23037
  serializeQueryArgs: i,
23019
23038
  assertTagType: v,
23020
23039
  selectors: f,
23021
23040
  onSchemaFailure: d,
23022
- catchSchemaFailure: p,
23041
+ catchSchemaFailure: h,
23023
23042
  skipSchemaValidation: m
23024
23043
  }), {
23025
23044
  reducer: A,
23026
23045
  actions: k
23027
23046
  } = JT({
23028
- context: h,
23047
+ context: p,
23029
23048
  queryThunk: C,
23030
23049
  mutationThunk: P,
23031
23050
  serializeQueryArgs: i,
@@ -23067,7 +23086,7 @@ var Fh = /* @__PURE__ */ Symbol(), dN = ({
23067
23086
  infiniteQueryThunk: x,
23068
23087
  api: t,
23069
23088
  serializeQueryArgs: i,
23070
- context: h,
23089
+ context: p,
23071
23090
  getInternalState: B
23072
23091
  });
23073
23092
  ar(t.util, {
@@ -23081,7 +23100,7 @@ var Fh = /* @__PURE__ */ Symbol(), dN = ({
23081
23100
  actions: K
23082
23101
  } = fN({
23083
23102
  reducerPath: o,
23084
- context: h,
23103
+ context: p,
23085
23104
  queryThunk: C,
23086
23105
  mutationThunk: P,
23087
23106
  infiniteQueryThunk: x,
@@ -23120,20 +23139,20 @@ const { spinUpdate: Dh } = Un.actions;
23120
23139
  function pN(e, t) {
23121
23140
  const { beforeFetch: r, afterFetch: n } = t, o = hN(t);
23122
23141
  return async (i, s, a) => {
23123
- const { dispatch: c, getState: l } = s, u = l(), { spin: d, auth: p } = Zt(u), m = UT({
23142
+ const { dispatch: c, getState: l } = s, u = l(), { spin: d, auth: h } = Zt(u), m = UT({
23124
23143
  baseUrl: vu.getEndpoint(e),
23125
23144
  prepareHeaders: async (f) => {
23126
23145
  if (f.get("Content-Type") || f.append("Content-Type", "application/json"), e !== 0) {
23127
- const g = await o(p);
23146
+ const g = await o(h);
23128
23147
  g && f.append("Authorization", g);
23129
23148
  }
23130
23149
  return f;
23131
23150
  }
23132
- }), h = a?.spinTip, v = h && !d.spin;
23151
+ }), p = a?.spinTip, v = p && !d.spin;
23133
23152
  if (v) {
23134
23153
  const f = Dh({
23135
23154
  spin: !0,
23136
- tip: typeof h == "string" ? h : "spin.fetching"
23155
+ tip: typeof p == "string" ? p : "spin.fetching"
23137
23156
  });
23138
23157
  c(f);
23139
23158
  }
@@ -23224,8 +23243,8 @@ function vN(e, { sig: t, loader: r, useSkeleton: n }) {
23224
23243
  return rt(() => {
23225
23244
  l || (async () => {
23226
23245
  try {
23227
- const d = await r(a.locale), p = yN({ locale: a.locale, file: t, messages: d.default });
23228
- s(p);
23246
+ const d = await r(a.locale), h = yN({ locale: a.locale, file: t, messages: d.default });
23247
+ s(h);
23229
23248
  } catch (d) {
23230
23249
  console.error(`can't load lang file ${t}`, d);
23231
23250
  }
@@ -23248,22 +23267,22 @@ function Ju({
23248
23267
  }) {
23249
23268
  const i = Ju;
23250
23269
  if (!i.provider) throw new Error("UITheme.provider is not defined, please set it before using UITheme");
23251
- const s = Bo(), a = mt((p) => vr(p).lang), { reduxTheme: c, themeName: l } = mt((p) => typeof localStorage > "u" ? {
23252
- reduxTheme: Zt(p).theme,
23253
- themeName: Zt(p).theme ?? t
23270
+ const s = Bo(), a = mt((h) => vr(h).lang), { reduxTheme: c, themeName: l } = mt((h) => typeof localStorage > "u" ? {
23271
+ reduxTheme: Zt(h).theme,
23272
+ themeName: Zt(h).theme ?? t
23254
23273
  } : {
23255
- reduxTheme: Zt(p).theme,
23256
- themeName: localStorage.getItem("theme") ?? Zt(p).theme ?? t
23274
+ reduxTheme: Zt(h).theme,
23275
+ themeName: localStorage.getItem("theme") ?? Zt(h).theme ?? t
23257
23276
  }, EN), u = qe(() => n(l), [n, l]);
23258
23277
  bc(() => {
23259
- const p = typeof localStorage > "u" ? null : localStorage.getItem("theme"), m = p ?? t ?? c;
23260
- c !== m && s(bN(m)), typeof localStorage < "u" && !p && localStorage.setItem("theme", m);
23278
+ const h = typeof localStorage > "u" ? null : localStorage.getItem("theme"), m = h ?? t ?? c;
23279
+ c !== m && s(bN(m)), typeof localStorage < "u" && !h && localStorage.setItem("theme", m);
23261
23280
  }, [t, s]), bc(() => {
23262
23281
  if (typeof localStorage < "u" && localStorage.getItem("theme") !== l && localStorage.setItem("theme", l), !r) return;
23263
- const { head: p } = document, m = r(l, u);
23282
+ const { head: h } = document, m = r(l, u);
23264
23283
  if (m) {
23265
- let h = p.querySelector(`style#${o}`);
23266
- h && h.remove(), h = document.createElement("style"), h.id = o, h.innerHTML = `:root {${m}}`, p.appendChild(h);
23284
+ let p = h.querySelector(`style#${o}`);
23285
+ p && p.remove(), p = document.createElement("style"), p.id = o, p.innerHTML = `:root {${m}}`, h.appendChild(p);
23267
23286
  }
23268
23287
  }, [t, s, r, o, l, u]);
23269
23288
  const d = i.provider;