xmirror-components 1.0.30 → 1.0.32

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.
@@ -134,7 +134,7 @@ function Ka() {
134
134
  return Error("react-stack-top-frame");
135
135
  }
136
136
  function i(b) {
137
- if (I.call(b, "key")) {
137
+ if (k.call(b, "key")) {
138
138
  var P = Object.getOwnPropertyDescriptor(b, "key").get;
139
139
  if (P && P.isReactWarning) return !1;
140
140
  }
@@ -142,7 +142,7 @@ function Ka() {
142
142
  }
143
143
  function u(b, P) {
144
144
  function N() {
145
- q || (q = !0, console.error(
145
+ F || (F = !0, console.error(
146
146
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
147
147
  P
148
148
  ));
@@ -154,17 +154,17 @@ function Ka() {
154
154
  }
155
155
  function l() {
156
156
  var b = e(this.type);
157
- return k[b] || (k[b] = !0, console.error(
157
+ return q[b] || (q[b] = !0, console.error(
158
158
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
159
159
  )), b = this.props.ref, b !== void 0 ? b : null;
160
160
  }
161
- function c(b, P, N, M, $, F, W, U) {
162
- return N = F.ref, b = {
161
+ function c(b, P, N, M, I, L, W, H) {
162
+ return N = L.ref, b = {
163
163
  $$typeof: E,
164
164
  type: b,
165
165
  key: P,
166
- props: F,
167
- _owner: $
166
+ props: L,
167
+ _owner: I
168
168
  }, (N !== void 0 ? N : null) !== null ? Object.defineProperty(b, "ref", {
169
169
  enumerable: !1,
170
170
  get: l
@@ -187,28 +187,28 @@ function Ka() {
187
187
  configurable: !1,
188
188
  enumerable: !1,
189
189
  writable: !0,
190
- value: U
190
+ value: H
191
191
  }), Object.freeze && (Object.freeze(b.props), Object.freeze(b)), b;
192
192
  }
193
- function g(b, P, N, M, $, F, W, U) {
194
- var L = P.children;
195
- if (L !== void 0)
193
+ function g(b, P, N, M, I, L, W, H) {
194
+ var z = P.children;
195
+ if (z !== void 0)
196
196
  if (M)
197
- if (D(L)) {
198
- for (M = 0; M < L.length; M++)
199
- d(L[M]);
200
- Object.freeze && Object.freeze(L);
197
+ if (D(z)) {
198
+ for (M = 0; M < z.length; M++)
199
+ d(z[M]);
200
+ Object.freeze && Object.freeze(z);
201
201
  } else
202
202
  console.error(
203
203
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
204
204
  );
205
- else d(L);
206
- if (I.call(P, "key")) {
207
- L = e(b);
208
- var H = Object.keys(P).filter(function(se) {
205
+ else d(z);
206
+ if (k.call(P, "key")) {
207
+ z = e(b);
208
+ var B = Object.keys(P).filter(function(se) {
209
209
  return se !== "key";
210
210
  });
211
- M = 0 < H.length ? "{key: someKey, " + H.join(": ..., ") + ": ...}" : "{key: someKey}", ne[L + M] || (H = 0 < H.length ? "{" + H.join(": ..., ") + ": ...}" : "{}", console.error(
211
+ M = 0 < B.length ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}", oe[z + M] || (B = 0 < B.length ? "{" + B.join(": ..., ") + ": ...}" : "{}", console.error(
212
212
  `A props object containing a "key" prop is being spread into JSX:
213
213
  let props = %s;
214
214
  <%s {...props} />
@@ -216,34 +216,34 @@ React keys must be passed directly to JSX without using spread:
216
216
  let props = %s;
217
217
  <%s key={someKey} {...props} />`,
218
218
  M,
219
- L,
220
- H,
221
- L
222
- ), ne[L + M] = !0);
219
+ z,
220
+ B,
221
+ z
222
+ ), oe[z + M] = !0);
223
223
  }
224
- if (L = null, N !== void 0 && (r(N), L = "" + N), i(P) && (r(P.key), L = "" + P.key), "key" in P) {
224
+ if (z = null, N !== void 0 && (r(N), z = "" + N), i(P) && (r(P.key), z = "" + P.key), "key" in P) {
225
225
  N = {};
226
- for (var B in P)
227
- B !== "key" && (N[B] = P[B]);
226
+ for (var V in P)
227
+ V !== "key" && (N[V] = P[V]);
228
228
  } else N = P;
229
- return L && u(
229
+ return z && u(
230
230
  N,
231
231
  typeof b == "function" ? b.displayName || b.name || "Unknown" : b
232
232
  ), c(
233
233
  b,
234
+ z,
234
235
  L,
235
- F,
236
- $,
236
+ I,
237
237
  o(),
238
238
  N,
239
239
  W,
240
- U
240
+ H
241
241
  );
242
242
  }
243
243
  function d(b) {
244
244
  typeof b == "object" && b !== null && b.$$typeof === E && b._store && (b._store.validated = 1);
245
245
  }
246
- var T = de, E = Symbol.for("react.transitional.element"), w = Symbol.for("react.portal"), x = Symbol.for("react.fragment"), S = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), f = Symbol.for("react.consumer"), m = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), s = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), _ = Symbol.for("react.activity"), A = Symbol.for("react.client.reference"), C = T.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, I = Object.prototype.hasOwnProperty, D = Array.isArray, z = console.createTask ? console.createTask : function() {
246
+ var T = de, E = Symbol.for("react.transitional.element"), w = Symbol.for("react.portal"), x = Symbol.for("react.fragment"), S = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), f = Symbol.for("react.consumer"), m = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), s = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), _ = Symbol.for("react.activity"), A = Symbol.for("react.client.reference"), C = T.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, k = Object.prototype.hasOwnProperty, D = Array.isArray, $ = console.createTask ? console.createTask : function() {
247
247
  return null;
248
248
  };
249
249
  T = {
@@ -251,33 +251,33 @@ React keys must be passed directly to JSX without using spread:
251
251
  return b();
252
252
  }
253
253
  };
254
- var q, k = {}, V = T["react-stack-bottom-frame"].bind(
254
+ var F, q = {}, U = T["react-stack-bottom-frame"].bind(
255
255
  T,
256
256
  a
257
- )(), te = z(n(a)), ne = {};
258
- Ue.Fragment = x, Ue.jsx = function(b, P, N, M, $) {
259
- var F = 1e4 > C.recentlyCreatedOwnerStacks++;
257
+ )(), te = $(n(a)), oe = {};
258
+ Ue.Fragment = x, Ue.jsx = function(b, P, N, M, I) {
259
+ var L = 1e4 > C.recentlyCreatedOwnerStacks++;
260
260
  return g(
261
261
  b,
262
262
  P,
263
263
  N,
264
264
  !1,
265
265
  M,
266
- $,
267
- F ? Error("react-stack-top-frame") : V,
268
- F ? z(n(b)) : te
266
+ I,
267
+ L ? Error("react-stack-top-frame") : U,
268
+ L ? $(n(b)) : te
269
269
  );
270
- }, Ue.jsxs = function(b, P, N, M, $) {
271
- var F = 1e4 > C.recentlyCreatedOwnerStacks++;
270
+ }, Ue.jsxs = function(b, P, N, M, I) {
271
+ var L = 1e4 > C.recentlyCreatedOwnerStacks++;
272
272
  return g(
273
273
  b,
274
274
  P,
275
275
  N,
276
276
  !0,
277
277
  M,
278
- $,
279
- F ? Error("react-stack-top-frame") : V,
280
- F ? z(n(b)) : te
278
+ I,
279
+ L ? Error("react-stack-top-frame") : U,
280
+ L ? $(n(b)) : te
281
281
  );
282
282
  };
283
283
  }()), Ue;
@@ -437,8 +437,8 @@ function Qa() {
437
437
  }
438
438
  }
439
439
  }
440
- var s = l, y = c, p = u, R = i, _ = t, A = g, C = n, I = w, D = E, z = r, q = a, k = o, V = d, te = !1;
441
- function ne(O) {
440
+ var s = l, y = c, p = u, R = i, _ = t, A = g, C = n, k = w, D = E, $ = r, F = a, q = o, U = d, te = !1;
441
+ function oe(O) {
442
442
  return te || (te = !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.")), b(O) || v(O) === l;
443
443
  }
444
444
  function b(O) {
@@ -453,31 +453,31 @@ function Qa() {
453
453
  function M(O) {
454
454
  return typeof O == "object" && O !== null && O.$$typeof === t;
455
455
  }
456
- function $(O) {
456
+ function I(O) {
457
457
  return v(O) === g;
458
458
  }
459
- function F(O) {
459
+ function L(O) {
460
460
  return v(O) === n;
461
461
  }
462
462
  function W(O) {
463
463
  return v(O) === w;
464
464
  }
465
- function U(O) {
465
+ function H(O) {
466
466
  return v(O) === E;
467
467
  }
468
- function L(O) {
468
+ function z(O) {
469
469
  return v(O) === r;
470
470
  }
471
- function H(O) {
471
+ function B(O) {
472
472
  return v(O) === a;
473
473
  }
474
- function B(O) {
474
+ function V(O) {
475
475
  return v(O) === o;
476
476
  }
477
477
  function se(O) {
478
478
  return v(O) === d;
479
479
  }
480
- J.AsyncMode = s, J.ConcurrentMode = y, J.ContextConsumer = p, J.ContextProvider = R, J.Element = _, J.ForwardRef = A, J.Fragment = C, J.Lazy = I, J.Memo = D, J.Portal = z, J.Profiler = q, J.StrictMode = k, J.Suspense = V, J.isAsyncMode = ne, J.isConcurrentMode = b, J.isContextConsumer = P, J.isContextProvider = N, J.isElement = M, J.isForwardRef = $, J.isFragment = F, J.isLazy = W, J.isMemo = U, J.isPortal = L, J.isProfiler = H, J.isStrictMode = B, J.isSuspense = se, J.isValidElementType = m, J.typeOf = v;
480
+ J.AsyncMode = s, J.ConcurrentMode = y, J.ContextConsumer = p, J.ContextProvider = R, J.Element = _, J.ForwardRef = A, J.Fragment = C, J.Lazy = k, J.Memo = D, J.Portal = $, J.Profiler = F, J.StrictMode = q, J.Suspense = U, J.isAsyncMode = oe, J.isConcurrentMode = b, J.isContextConsumer = P, J.isContextProvider = N, J.isElement = M, J.isForwardRef = I, J.isFragment = L, J.isLazy = W, J.isMemo = H, J.isPortal = z, J.isProfiler = B, J.isStrictMode = V, J.isSuspense = se, J.isValidElementType = m, J.typeOf = v;
481
481
  }()), J;
482
482
  }
483
483
  var Br;
@@ -637,7 +637,7 @@ function ro() {
637
637
  objectOf: R,
638
638
  oneOf: p,
639
639
  oneOfType: _,
640
- shape: I,
640
+ shape: k,
641
641
  exact: D
642
642
  };
643
643
  function w(b, P) {
@@ -650,33 +650,33 @@ function ro() {
650
650
  function S(b) {
651
651
  if (process.env.NODE_ENV !== "production")
652
652
  var P = {}, N = 0;
653
- function M(F, W, U, L, H, B, se) {
654
- if (L = L || T, B = B || U, se !== r) {
653
+ function M(L, W, H, z, B, V, se) {
654
+ if (z = z || T, V = V || H, se !== r) {
655
655
  if (l) {
656
656
  var O = new Error(
657
657
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
658
658
  );
659
659
  throw O.name = "Invariant Violation", O;
660
660
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
661
- var pe = L + ":" + U;
661
+ var pe = z + ":" + H;
662
662
  !P[pe] && // Avoid spamming the console because they are often not actionable except for lib authors
663
663
  N < 3 && (a(
664
- "You are manually calling a React.PropTypes validation function for the `" + B + "` prop on `" + L + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
664
+ "You are manually calling a React.PropTypes validation function for the `" + V + "` prop on `" + z + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
665
665
  ), P[pe] = !0, N++);
666
666
  }
667
667
  }
668
- return W[U] == null ? F ? W[U] === null ? new x("The " + H + " `" + B + "` is marked as required " + ("in `" + L + "`, but its value is `null`.")) : new x("The " + H + " `" + B + "` is marked as required in " + ("`" + L + "`, but its value is `undefined`.")) : null : b(W, U, L, H, B);
668
+ return W[H] == null ? L ? W[H] === null ? new x("The " + B + " `" + V + "` is marked as required " + ("in `" + z + "`, but its value is `null`.")) : new x("The " + B + " `" + V + "` is marked as required in " + ("`" + z + "`, but its value is `undefined`.")) : null : b(W, H, z, B, V);
669
669
  }
670
- var $ = M.bind(null, !1);
671
- return $.isRequired = M.bind(null, !0), $;
670
+ var I = M.bind(null, !1);
671
+ return I.isRequired = M.bind(null, !0), I;
672
672
  }
673
673
  function h(b) {
674
- function P(N, M, $, F, W, U) {
675
- var L = N[M], H = k(L);
676
- if (H !== b) {
677
- var B = V(L);
674
+ function P(N, M, I, L, W, H) {
675
+ var z = N[M], B = q(z);
676
+ if (B !== b) {
677
+ var V = U(z);
678
678
  return new x(
679
- "Invalid " + F + " `" + W + "` of type " + ("`" + B + "` supplied to `" + $ + "`, expected ") + ("`" + b + "`."),
679
+ "Invalid " + L + " `" + W + "` of type " + ("`" + V + "` supplied to `" + I + "`, expected ") + ("`" + b + "`."),
680
680
  { expectedType: b }
681
681
  );
682
682
  }
@@ -688,50 +688,50 @@ function ro() {
688
688
  return S(i);
689
689
  }
690
690
  function m(b) {
691
- function P(N, M, $, F, W) {
691
+ function P(N, M, I, L, W) {
692
692
  if (typeof b != "function")
693
- return new x("Property `" + W + "` of component `" + $ + "` has invalid PropType notation inside arrayOf.");
694
- var U = N[M];
695
- if (!Array.isArray(U)) {
696
- var L = k(U);
697
- return new x("Invalid " + F + " `" + W + "` of type " + ("`" + L + "` supplied to `" + $ + "`, expected an array."));
693
+ return new x("Property `" + W + "` of component `" + I + "` has invalid PropType notation inside arrayOf.");
694
+ var H = N[M];
695
+ if (!Array.isArray(H)) {
696
+ var z = q(H);
697
+ return new x("Invalid " + L + " `" + W + "` of type " + ("`" + z + "` supplied to `" + I + "`, expected an array."));
698
698
  }
699
- for (var H = 0; H < U.length; H++) {
700
- var B = b(U, H, $, F, W + "[" + H + "]", r);
701
- if (B instanceof Error)
702
- return B;
699
+ for (var B = 0; B < H.length; B++) {
700
+ var V = b(H, B, I, L, W + "[" + B + "]", r);
701
+ if (V instanceof Error)
702
+ return V;
703
703
  }
704
704
  return null;
705
705
  }
706
706
  return S(P);
707
707
  }
708
708
  function v() {
709
- function b(P, N, M, $, F) {
709
+ function b(P, N, M, I, L) {
710
710
  var W = P[N];
711
711
  if (!u(W)) {
712
- var U = k(W);
713
- return new x("Invalid " + $ + " `" + F + "` of type " + ("`" + U + "` supplied to `" + M + "`, expected a single ReactElement."));
712
+ var H = q(W);
713
+ return new x("Invalid " + I + " `" + L + "` of type " + ("`" + H + "` supplied to `" + M + "`, expected a single ReactElement."));
714
714
  }
715
715
  return null;
716
716
  }
717
717
  return S(b);
718
718
  }
719
719
  function s() {
720
- function b(P, N, M, $, F) {
720
+ function b(P, N, M, I, L) {
721
721
  var W = P[N];
722
722
  if (!e.isValidElementType(W)) {
723
- var U = k(W);
724
- return new x("Invalid " + $ + " `" + F + "` of type " + ("`" + U + "` supplied to `" + M + "`, expected a single ReactElement type."));
723
+ var H = q(W);
724
+ return new x("Invalid " + I + " `" + L + "` of type " + ("`" + H + "` supplied to `" + M + "`, expected a single ReactElement type."));
725
725
  }
726
726
  return null;
727
727
  }
728
728
  return S(b);
729
729
  }
730
730
  function y(b) {
731
- function P(N, M, $, F, W) {
731
+ function P(N, M, I, L, W) {
732
732
  if (!(N[M] instanceof b)) {
733
- var U = b.name || T, L = ne(N[M]);
734
- return new x("Invalid " + F + " `" + W + "` of type " + ("`" + L + "` supplied to `" + $ + "`, expected ") + ("instance of `" + U + "`."));
733
+ var H = b.name || T, z = oe(N[M]);
734
+ return new x("Invalid " + L + " `" + W + "` of type " + ("`" + z + "` supplied to `" + I + "`, expected ") + ("instance of `" + H + "`."));
735
735
  }
736
736
  return null;
737
737
  }
@@ -742,30 +742,30 @@ function ro() {
742
742
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
743
743
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
744
744
  ) : a("Invalid argument supplied to oneOf, expected an array.")), i;
745
- function P(N, M, $, F, W) {
746
- for (var U = N[M], L = 0; L < b.length; L++)
747
- if (w(U, b[L]))
745
+ function P(N, M, I, L, W) {
746
+ for (var H = N[M], z = 0; z < b.length; z++)
747
+ if (w(H, b[z]))
748
748
  return null;
749
- var H = JSON.stringify(b, function(se, O) {
750
- var pe = V(O);
749
+ var B = JSON.stringify(b, function(se, O) {
750
+ var pe = U(O);
751
751
  return pe === "symbol" ? String(O) : O;
752
752
  });
753
- return new x("Invalid " + F + " `" + W + "` of value `" + String(U) + "` " + ("supplied to `" + $ + "`, expected one of " + H + "."));
753
+ return new x("Invalid " + L + " `" + W + "` of value `" + String(H) + "` " + ("supplied to `" + I + "`, expected one of " + B + "."));
754
754
  }
755
755
  return S(P);
756
756
  }
757
757
  function R(b) {
758
- function P(N, M, $, F, W) {
758
+ function P(N, M, I, L, W) {
759
759
  if (typeof b != "function")
760
- return new x("Property `" + W + "` of component `" + $ + "` has invalid PropType notation inside objectOf.");
761
- var U = N[M], L = k(U);
762
- if (L !== "object")
763
- return new x("Invalid " + F + " `" + W + "` of type " + ("`" + L + "` supplied to `" + $ + "`, expected an object."));
764
- for (var H in U)
765
- if (n(U, H)) {
766
- var B = b(U, H, $, F, W + "." + H, r);
767
- if (B instanceof Error)
768
- return B;
760
+ return new x("Property `" + W + "` of component `" + I + "` has invalid PropType notation inside objectOf.");
761
+ var H = N[M], z = q(H);
762
+ if (z !== "object")
763
+ return new x("Invalid " + L + " `" + W + "` of type " + ("`" + z + "` supplied to `" + I + "`, expected an object."));
764
+ for (var B in H)
765
+ if (n(H, B)) {
766
+ var V = b(H, B, I, L, W + "." + B, r);
767
+ if (V instanceof Error)
768
+ return V;
769
769
  }
770
770
  return null;
771
771
  }
@@ -781,39 +781,39 @@ function ro() {
781
781
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + te(N) + " at index " + P + "."
782
782
  ), i;
783
783
  }
784
- function M($, F, W, U, L) {
785
- for (var H = [], B = 0; B < b.length; B++) {
786
- var se = b[B], O = se($, F, W, U, L, r);
784
+ function M(I, L, W, H, z) {
785
+ for (var B = [], V = 0; V < b.length; V++) {
786
+ var se = b[V], O = se(I, L, W, H, z, r);
787
787
  if (O == null)
788
788
  return null;
789
- O.data && n(O.data, "expectedType") && H.push(O.data.expectedType);
789
+ O.data && n(O.data, "expectedType") && B.push(O.data.expectedType);
790
790
  }
791
- var pe = H.length > 0 ? ", expected one of type [" + H.join(", ") + "]" : "";
792
- return new x("Invalid " + U + " `" + L + "` supplied to " + ("`" + W + "`" + pe + "."));
791
+ var pe = B.length > 0 ? ", expected one of type [" + B.join(", ") + "]" : "";
792
+ return new x("Invalid " + H + " `" + z + "` supplied to " + ("`" + W + "`" + pe + "."));
793
793
  }
794
794
  return S(M);
795
795
  }
796
796
  function A() {
797
- function b(P, N, M, $, F) {
798
- return z(P[N]) ? null : new x("Invalid " + $ + " `" + F + "` supplied to " + ("`" + M + "`, expected a ReactNode."));
797
+ function b(P, N, M, I, L) {
798
+ return $(P[N]) ? null : new x("Invalid " + I + " `" + L + "` supplied to " + ("`" + M + "`, expected a ReactNode."));
799
799
  }
800
800
  return S(b);
801
801
  }
802
- function C(b, P, N, M, $) {
802
+ function C(b, P, N, M, I) {
803
803
  return new x(
804
- (b || "React class") + ": " + P + " type `" + N + "." + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + $ + "`."
804
+ (b || "React class") + ": " + P + " type `" + N + "." + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + I + "`."
805
805
  );
806
806
  }
807
- function I(b) {
808
- function P(N, M, $, F, W) {
809
- var U = N[M], L = k(U);
810
- if (L !== "object")
811
- return new x("Invalid " + F + " `" + W + "` of type `" + L + "` " + ("supplied to `" + $ + "`, expected `object`."));
812
- for (var H in b) {
813
- var B = b[H];
814
- if (typeof B != "function")
815
- return C($, F, W, H, V(B));
816
- var se = B(U, H, $, F, W + "." + H, r);
807
+ function k(b) {
808
+ function P(N, M, I, L, W) {
809
+ var H = N[M], z = q(H);
810
+ if (z !== "object")
811
+ return new x("Invalid " + L + " `" + W + "` of type `" + z + "` " + ("supplied to `" + I + "`, expected `object`."));
812
+ for (var B in b) {
813
+ var V = b[B];
814
+ if (typeof V != "function")
815
+ return C(I, L, W, B, U(V));
816
+ var se = V(H, B, I, L, W + "." + B, r);
817
817
  if (se)
818
818
  return se;
819
819
  }
@@ -822,21 +822,21 @@ function ro() {
822
822
  return S(P);
823
823
  }
824
824
  function D(b) {
825
- function P(N, M, $, F, W) {
826
- var U = N[M], L = k(U);
827
- if (L !== "object")
828
- return new x("Invalid " + F + " `" + W + "` of type `" + L + "` " + ("supplied to `" + $ + "`, expected `object`."));
829
- var H = t({}, N[M], b);
830
- for (var B in H) {
831
- var se = b[B];
832
- if (n(b, B) && typeof se != "function")
833
- return C($, F, W, B, V(se));
825
+ function P(N, M, I, L, W) {
826
+ var H = N[M], z = q(H);
827
+ if (z !== "object")
828
+ return new x("Invalid " + L + " `" + W + "` of type `" + z + "` " + ("supplied to `" + I + "`, expected `object`."));
829
+ var B = t({}, N[M], b);
830
+ for (var V in B) {
831
+ var se = b[V];
832
+ if (n(b, V) && typeof se != "function")
833
+ return C(I, L, W, V, U(se));
834
834
  if (!se)
835
835
  return new x(
836
- "Invalid " + F + " `" + W + "` key `" + B + "` supplied to `" + $ + "`.\nBad object: " + JSON.stringify(N[M], null, " ") + `
836
+ "Invalid " + L + " `" + W + "` key `" + V + "` supplied to `" + I + "`.\nBad object: " + JSON.stringify(N[M], null, " ") + `
837
837
  Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
838
838
  );
839
- var O = se(U, B, $, F, W + "." + B, r);
839
+ var O = se(H, V, I, L, W + "." + V, r);
840
840
  if (O)
841
841
  return O;
842
842
  }
@@ -844,7 +844,7 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
844
844
  }
845
845
  return S(P);
846
846
  }
847
- function z(b) {
847
+ function $(b) {
848
848
  switch (typeof b) {
849
849
  case "number":
850
850
  case "string":
@@ -854,7 +854,7 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
854
854
  return !b;
855
855
  case "object":
856
856
  if (Array.isArray(b))
857
- return b.every(z);
857
+ return b.every($);
858
858
  if (b === null || u(b))
859
859
  return !0;
860
860
  var P = d(b);
@@ -862,12 +862,12 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
862
862
  var N = P.call(b), M;
863
863
  if (P !== b.entries) {
864
864
  for (; !(M = N.next()).done; )
865
- if (!z(M.value))
865
+ if (!$(M.value))
866
866
  return !1;
867
867
  } else
868
868
  for (; !(M = N.next()).done; ) {
869
- var $ = M.value;
870
- if ($ && !z($[1]))
869
+ var I = M.value;
870
+ if (I && !$(I[1]))
871
871
  return !1;
872
872
  }
873
873
  } else
@@ -877,17 +877,17 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
877
877
  return !1;
878
878
  }
879
879
  }
880
- function q(b, P) {
880
+ function F(b, P) {
881
881
  return b === "symbol" ? !0 : P ? P["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && P instanceof Symbol : !1;
882
882
  }
883
- function k(b) {
883
+ function q(b) {
884
884
  var P = typeof b;
885
- return Array.isArray(b) ? "array" : b instanceof RegExp ? "object" : q(P, b) ? "symbol" : P;
885
+ return Array.isArray(b) ? "array" : b instanceof RegExp ? "object" : F(P, b) ? "symbol" : P;
886
886
  }
887
- function V(b) {
887
+ function U(b) {
888
888
  if (typeof b > "u" || b === null)
889
889
  return "" + b;
890
- var P = k(b);
890
+ var P = q(b);
891
891
  if (P === "object") {
892
892
  if (b instanceof Date)
893
893
  return "date";
@@ -897,7 +897,7 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
897
897
  return P;
898
898
  }
899
899
  function te(b) {
900
- var P = V(b);
900
+ var P = U(b);
901
901
  switch (P) {
902
902
  case "array":
903
903
  case "object":
@@ -910,7 +910,7 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
910
910
  return P;
911
911
  }
912
912
  }
913
- function ne(b) {
913
+ function oe(b) {
914
914
  return !b.constructor || !b.constructor.name ? T : b.constructor.name;
915
915
  }
916
916
  return E.checkPropTypes = o, E.resetWarningCache = o.resetWarningCache, E.PropTypes = E, E;
@@ -1597,7 +1597,7 @@ function mt(e, t) {
1597
1597
  function So(e, t) {
1598
1598
  return e.map(t).join("");
1599
1599
  }
1600
- var Nt = 1, Le = 1, ca = 0, he = 0, ae = 0, Fe = "";
1600
+ var Nt = 1, Le = 1, ca = 0, he = 0, ne = 0, Fe = "";
1601
1601
  function Mt(e, t, r, n, o, a, i) {
1602
1602
  return { value: e, root: t, parent: r, type: n, props: o, children: a, line: Nt, column: Le, length: i, return: "" };
1603
1603
  }
@@ -1605,13 +1605,13 @@ function He(e, t) {
1605
1605
  return yo(Mt("", null, null, "", null, null, 0), e, { length: -e.length }, t);
1606
1606
  }
1607
1607
  function Eo() {
1608
- return ae;
1608
+ return ne;
1609
1609
  }
1610
1610
  function wo() {
1611
- return ae = he > 0 ? ue(Fe, --he) : 0, Le--, ae === 10 && (Le = 1, Nt--), ae;
1611
+ return ne = he > 0 ? ue(Fe, --he) : 0, Le--, ne === 10 && (Le = 1, Nt--), ne;
1612
1612
  }
1613
1613
  function me() {
1614
- return ae = he < ca ? ue(Fe, he++) : 0, Le++, ae === 10 && (Le = 1, Nt++), ae;
1614
+ return ne = he < ca ? ue(Fe, he++) : 0, Le++, ne === 10 && (Le = 1, Nt++), ne;
1615
1615
  }
1616
1616
  function Ee() {
1617
1617
  return ue(Fe, he);
@@ -1670,25 +1670,25 @@ function St(e) {
1670
1670
  return ua(lt(he - 1, gr(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
1671
1671
  }
1672
1672
  function To(e) {
1673
- for (; (ae = Ee()) && ae < 33; )
1673
+ for (; (ne = Ee()) && ne < 33; )
1674
1674
  me();
1675
- return it(e) > 2 || it(ae) > 3 ? "" : " ";
1675
+ return it(e) > 2 || it(ne) > 3 ? "" : " ";
1676
1676
  }
1677
1677
  function Ro(e, t) {
1678
- for (; --t && me() && !(ae < 48 || ae > 102 || ae > 57 && ae < 65 || ae > 70 && ae < 97); )
1678
+ for (; --t && me() && !(ne < 48 || ne > 102 || ne > 57 && ne < 65 || ne > 70 && ne < 97); )
1679
1679
  ;
1680
1680
  return lt(e, xt() + (t < 6 && Ee() == 32 && me() == 32));
1681
1681
  }
1682
1682
  function gr(e) {
1683
1683
  for (; me(); )
1684
- switch (ae) {
1684
+ switch (ne) {
1685
1685
  // ] ) " '
1686
1686
  case e:
1687
1687
  return he;
1688
1688
  // " '
1689
1689
  case 34:
1690
1690
  case 39:
1691
- e !== 34 && e !== 39 && gr(ae);
1691
+ e !== 34 && e !== 39 && gr(ne);
1692
1692
  break;
1693
1693
  // (
1694
1694
  case 40:
@@ -1702,8 +1702,8 @@ function gr(e) {
1702
1702
  return he;
1703
1703
  }
1704
1704
  function Oo(e, t) {
1705
- for (; me() && e + ae !== 57; )
1706
- if (e + ae === 84 && Ee() === 47)
1705
+ for (; me() && e + ne !== 57; )
1706
+ if (e + ne === 84 && Ee() === 47)
1707
1707
  break;
1708
1708
  return "/*" + lt(t, he - 1) + "*" + Dt(e === 47 ? e : me());
1709
1709
  }
@@ -2265,8 +2265,8 @@ function Wo() {
2265
2265
  }
2266
2266
  }
2267
2267
  }
2268
- var s = l, y = c, p = u, R = i, _ = t, A = g, C = n, I = w, D = E, z = r, q = a, k = o, V = d, te = !1;
2269
- function ne(O) {
2268
+ var s = l, y = c, p = u, R = i, _ = t, A = g, C = n, k = w, D = E, $ = r, F = a, q = o, U = d, te = !1;
2269
+ function oe(O) {
2270
2270
  return te || (te = !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.")), b(O) || v(O) === l;
2271
2271
  }
2272
2272
  function b(O) {
@@ -2281,31 +2281,31 @@ function Wo() {
2281
2281
  function M(O) {
2282
2282
  return typeof O == "object" && O !== null && O.$$typeof === t;
2283
2283
  }
2284
- function $(O) {
2284
+ function I(O) {
2285
2285
  return v(O) === g;
2286
2286
  }
2287
- function F(O) {
2287
+ function L(O) {
2288
2288
  return v(O) === n;
2289
2289
  }
2290
2290
  function W(O) {
2291
2291
  return v(O) === w;
2292
2292
  }
2293
- function U(O) {
2293
+ function H(O) {
2294
2294
  return v(O) === E;
2295
2295
  }
2296
- function L(O) {
2296
+ function z(O) {
2297
2297
  return v(O) === r;
2298
2298
  }
2299
- function H(O) {
2299
+ function B(O) {
2300
2300
  return v(O) === a;
2301
2301
  }
2302
- function B(O) {
2302
+ function V(O) {
2303
2303
  return v(O) === o;
2304
2304
  }
2305
2305
  function se(O) {
2306
2306
  return v(O) === d;
2307
2307
  }
2308
- Q.AsyncMode = s, Q.ConcurrentMode = y, Q.ContextConsumer = p, Q.ContextProvider = R, Q.Element = _, Q.ForwardRef = A, Q.Fragment = C, Q.Lazy = I, Q.Memo = D, Q.Portal = z, Q.Profiler = q, Q.StrictMode = k, Q.Suspense = V, Q.isAsyncMode = ne, Q.isConcurrentMode = b, Q.isContextConsumer = P, Q.isContextProvider = N, Q.isElement = M, Q.isForwardRef = $, Q.isFragment = F, Q.isLazy = W, Q.isMemo = U, Q.isPortal = L, Q.isProfiler = H, Q.isStrictMode = B, Q.isSuspense = se, Q.isValidElementType = m, Q.typeOf = v;
2308
+ Q.AsyncMode = s, Q.ConcurrentMode = y, Q.ContextConsumer = p, Q.ContextProvider = R, Q.Element = _, Q.ForwardRef = A, Q.Fragment = C, Q.Lazy = k, Q.Memo = D, Q.Portal = $, Q.Profiler = F, Q.StrictMode = q, Q.Suspense = U, Q.isAsyncMode = oe, Q.isConcurrentMode = b, Q.isContextConsumer = P, Q.isContextProvider = N, Q.isElement = M, Q.isForwardRef = I, Q.isFragment = L, Q.isLazy = W, Q.isMemo = H, Q.isPortal = z, Q.isProfiler = B, Q.isStrictMode = V, Q.isSuspense = se, Q.isValidElementType = m, Q.typeOf = v;
2309
2309
  }()), Q;
2310
2310
  }
2311
2311
  var un;
@@ -2906,9 +2906,9 @@ var ai = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
2906
2906
  "svg",
2907
2907
  "text",
2908
2908
  "tspan"
2909
- ], oe = ci.bind(null);
2909
+ ], ae = ci.bind(null);
2910
2910
  li.forEach(function(e) {
2911
- oe[e] = oe(e);
2911
+ ae[e] = ae(e);
2912
2912
  });
2913
2913
  let fi = (e) => {
2914
2914
  console.warn("GlobalLoading 未被引入,你可以直接使用 App 组件,或直接引用 GlobalLoading 组件到项目中!");
@@ -2917,7 +2917,7 @@ const di = Dr`
2917
2917
  0% { transform: rotate(0deg) translateX(35px) rotate(0deg); }
2918
2918
  50% { transform: rotate(360deg) translateX(35px) rotate(-360deg); }
2919
2919
  100% { transform: rotate(360deg) translateX(35px) rotate(-360deg); }
2920
- `, pi = oe.div`
2920
+ `, pi = ae.div`
2921
2921
  position: fixed;
2922
2922
  top: 0;
2923
2923
  left: 0;
@@ -2942,7 +2942,7 @@ const di = Dr`
2942
2942
  &.global-loading-transition-exit-active {
2943
2943
  opacity: 0;
2944
2944
  }
2945
- `, hi = oe.div`
2945
+ `, hi = ae.div`
2946
2946
  width: 120px;
2947
2947
  height: 120px;
2948
2948
  position: relative;
@@ -2952,7 +2952,7 @@ const di = Dr`
2952
2952
  display: flex;
2953
2953
  justify-content: center;
2954
2954
  align-items: center;
2955
- `, Be = oe.div(
2955
+ `, Be = ae.div(
2956
2956
  ({ size: e, delay: t }) => ({
2957
2957
  position: "absolute",
2958
2958
  margin: "auto",
@@ -3319,7 +3319,7 @@ var Wi = "[object String]";
3319
3319
  function Yi(e) {
3320
3320
  return typeof e == "string" || !Fi(e) && Li(e) && zi(e) == Wi;
3321
3321
  }
3322
- const Ui = de.forwardRef((e, t) => /* @__PURE__ */ j.jsx(tt, { ref: t, ...e })), Hi = oe(Ui)`
3322
+ const Ui = de.forwardRef((e, t) => /* @__PURE__ */ j.jsx(tt, { ref: t, ...e })), Hi = ae(Ui)`
3323
3323
  &&.icon-button {
3324
3324
  font-size: 18px;
3325
3325
  color: var(--color-primary);
@@ -3852,19 +3852,19 @@ function _a() {
3852
3852
  throw new TypeError(n);
3853
3853
  l = r(l) || 0, e(c) && (h = !!c.leading, f = "maxWait" in c, T = f ? o(r(c.maxWait) || 0, l) : T, m = "trailing" in c ? !!c.trailing : m);
3854
3854
  function v(D) {
3855
- var z = g, q = d;
3856
- return g = d = void 0, S = D, E = u.apply(q, z), E;
3855
+ var $ = g, F = d;
3856
+ return g = d = void 0, S = D, E = u.apply(F, $), E;
3857
3857
  }
3858
3858
  function s(D) {
3859
3859
  return S = D, w = setTimeout(R, l), h ? v(D) : E;
3860
3860
  }
3861
3861
  function y(D) {
3862
- var z = D - x, q = D - S, k = l - z;
3863
- return f ? a(k, T - q) : k;
3862
+ var $ = D - x, F = D - S, q = l - $;
3863
+ return f ? a(q, T - F) : q;
3864
3864
  }
3865
3865
  function p(D) {
3866
- var z = D - x, q = D - S;
3867
- return x === void 0 || z >= l || z < 0 || f && q >= T;
3866
+ var $ = D - x, F = D - S;
3867
+ return x === void 0 || $ >= l || $ < 0 || f && F >= T;
3868
3868
  }
3869
3869
  function R() {
3870
3870
  var D = t();
@@ -3881,9 +3881,9 @@ function _a() {
3881
3881
  function C() {
3882
3882
  return w === void 0 ? E : _(t());
3883
3883
  }
3884
- function I() {
3885
- var D = t(), z = p(D);
3886
- if (g = arguments, d = this, x = D, z) {
3884
+ function k() {
3885
+ var D = t(), $ = p(D);
3886
+ if (g = arguments, d = this, x = D, $) {
3887
3887
  if (w === void 0)
3888
3888
  return s(x);
3889
3889
  if (f)
@@ -3891,7 +3891,7 @@ function _a() {
3891
3891
  }
3892
3892
  return w === void 0 && (w = setTimeout(R, l)), E;
3893
3893
  }
3894
- return I.cancel = A, I.flush = C, I;
3894
+ return k.cancel = A, k.flush = C, k;
3895
3895
  }
3896
3896
  return lr = i, lr;
3897
3897
  }
@@ -4391,14 +4391,14 @@ const $s = Dr`
4391
4391
  margin-bottom: 32px;
4392
4392
  }
4393
4393
  `;
4394
- oe.div`
4394
+ ae.div`
4395
4395
  .ant-popover-inner-content {
4396
4396
  max-height: 360px;
4397
4397
  padding: 0;
4398
4398
  overflow-y: auto;
4399
4399
  }
4400
4400
  `;
4401
- const Ls = oe.ul`
4401
+ const Ls = ae.ul`
4402
4402
  padding: 10px 0;
4403
4403
 
4404
4404
  .drag-up {
@@ -4551,14 +4551,14 @@ function Fs({ order: e, visibleItems: t, columns: r = [], onChangeOrder: n, colu
4551
4551
  }
4552
4552
  );
4553
4553
  }
4554
- const qs = oe.div`
4554
+ const qs = ae.div`
4555
4555
  position: absolute;
4556
4556
  left: 8px;
4557
- `, Ws = oe.span`
4557
+ `, Ws = ae.span`
4558
4558
  font-size: 14px;
4559
4559
  color: #666;
4560
4560
  `;
4561
- oe.div`
4561
+ ae.div`
4562
4562
  position: fixed;
4563
4563
  right: 0;
4564
4564
  bottom: 30px;
@@ -4582,7 +4582,7 @@ oe.div`
4582
4582
  }
4583
4583
  }
4584
4584
  `;
4585
- const Ys = oe(Qn)`
4585
+ const Ys = ae(Qn)`
4586
4586
  position: fixed;
4587
4587
  right: 0;
4588
4588
  bottom: 30px;
@@ -4605,7 +4605,7 @@ const Ys = oe(Qn)`
4605
4605
  border-color: #d9d9d9;
4606
4606
  }
4607
4607
  }
4608
- `, Us = oe.span`
4608
+ `, Us = ae.span`
4609
4609
  margin-left: 20px;
4610
4610
  cursor: pointer;
4611
4611
  opacity: 0.5;
@@ -4802,16 +4802,16 @@ function Lr() {
4802
4802
  var e = Lt(), t = r(Gs());
4803
4803
  function r(p, R) {
4804
4804
  if (typeof WeakMap == "function") var _ = /* @__PURE__ */ new WeakMap(), A = /* @__PURE__ */ new WeakMap();
4805
- return (r = function(C, I) {
4806
- if (!I && C && C.__esModule) return C;
4807
- var D, z, q = { __proto__: null, default: C };
4808
- if (C === null || typeof C != "object" && typeof C != "function") return q;
4809
- if (D = I ? A : _) {
4805
+ return (r = function(C, k) {
4806
+ if (!k && C && C.__esModule) return C;
4807
+ var D, $, F = { __proto__: null, default: C };
4808
+ if (C === null || typeof C != "object" && typeof C != "function") return F;
4809
+ if (D = k ? A : _) {
4810
4810
  if (D.has(C)) return D.get(C);
4811
- D.set(C, q);
4811
+ D.set(C, F);
4812
4812
  }
4813
- for (const k in C) k !== "default" && {}.hasOwnProperty.call(C, k) && ((z = (D = Object.defineProperty) && Object.getOwnPropertyDescriptor(C, k)) && (z.get || z.set) ? D(q, k, z) : q[k] = C[k]);
4814
- return q;
4813
+ for (const q in C) q !== "default" && {}.hasOwnProperty.call(C, q) && (($ = (D = Object.defineProperty) && Object.getOwnPropertyDescriptor(C, q)) && ($.get || $.set) ? D(F, q, $) : F[q] = C[q]);
4814
+ return F;
4815
4815
  })(p, R);
4816
4816
  }
4817
4817
  let n = "";
@@ -4869,9 +4869,9 @@ function Lr() {
4869
4869
  const C = R === R.ownerDocument.body ? {
4870
4870
  left: 0,
4871
4871
  top: 0
4872
- } : R.getBoundingClientRect(), I = (p.clientX + R.scrollLeft - C.left) / _, D = (p.clientY + R.scrollTop - C.top) / _;
4872
+ } : R.getBoundingClientRect(), k = (p.clientX + R.scrollLeft - C.left) / _, D = (p.clientY + R.scrollTop - C.top) / _;
4873
4873
  return {
4874
- x: I,
4874
+ x: k,
4875
4875
  y: D
4876
4876
  };
4877
4877
  }
@@ -4888,12 +4888,12 @@ function Lr() {
4888
4888
  let {
4889
4889
  x: A,
4890
4890
  y: C
4891
- } = p, I = `translate(${A}${_},${C}${_})`;
4891
+ } = p, k = `translate(${A}${_},${C}${_})`;
4892
4892
  if (R) {
4893
- const D = `${typeof R.x == "string" ? R.x : R.x + _}`, z = `${typeof R.y == "string" ? R.y : R.y + _}`;
4894
- I = `translate(${D}, ${z})` + I;
4893
+ const D = `${typeof R.x == "string" ? R.x : R.x + _}`, $ = `${typeof R.y == "string" ? R.y : R.y + _}`;
4894
+ k = `translate(${D}, ${$})` + k;
4895
4895
  }
4896
- return I;
4896
+ return k;
4897
4897
  }
4898
4898
  function S(p, R) {
4899
4899
  return p.targetTouches && (0, e.findInArray)(p.targetTouches, (_) => R === _.identifier) || p.changedTouches && (0, e.findInArray)(p.changedTouches, (_) => R === _.identifier);
@@ -5504,31 +5504,31 @@ function Js() {
5504
5504
  position: _,
5505
5505
  positionOffset: A,
5506
5506
  scale: C,
5507
- ...I
5507
+ ...k
5508
5508
  } = this.props;
5509
- let D = {}, z = null;
5510
- const k = !!!_ || this.state.dragging, V = _ || s, te = {
5509
+ let D = {}, $ = null;
5510
+ const q = !!!_ || this.state.dragging, U = _ || s, te = {
5511
5511
  // Set left if horizontal drag is enabled
5512
- x: (0, i.canDragX)(this) && k ? this.state.x : V.x,
5512
+ x: (0, i.canDragX)(this) && q ? this.state.x : U.x,
5513
5513
  // Set top if vertical drag is enabled
5514
- y: (0, i.canDragY)(this) && k ? this.state.y : V.y
5514
+ y: (0, i.canDragY)(this) && q ? this.state.y : U.y
5515
5515
  };
5516
- this.state.isElementSVG ? z = (0, a.createSVGTransform)(te, A) : D = (0, a.createCSSTransform)(te, A);
5517
- const ne = (0, o.clsx)(v.props.className || "", y, {
5516
+ this.state.isElementSVG ? $ = (0, a.createSVGTransform)(te, A) : D = (0, a.createCSSTransform)(te, A);
5517
+ const oe = (0, o.clsx)(v.props.className || "", y, {
5518
5518
  [p]: this.state.dragging,
5519
5519
  [R]: this.state.dragged
5520
5520
  });
5521
- return /* @__PURE__ */ t.createElement(l.default, T({}, I, {
5521
+ return /* @__PURE__ */ t.createElement(l.default, T({}, k, {
5522
5522
  onStart: this.onDragStart,
5523
5523
  onDrag: this.onDrag,
5524
5524
  onStop: this.onDragStop
5525
5525
  }), /* @__PURE__ */ t.cloneElement(t.Children.only(v), {
5526
- className: ne,
5526
+ className: oe,
5527
5527
  style: {
5528
5528
  ...v.props.style,
5529
5529
  ...D
5530
5530
  },
5531
- transform: z
5531
+ transform: $
5532
5532
  }));
5533
5533
  }
5534
5534
  }
@@ -5938,34 +5938,34 @@ function ka() {
5938
5938
  var p = this.props, R = p.minConstraints, _ = p.maxConstraints, A = p.lockAspectRatio;
5939
5939
  if (!R && !_ && !A) return [s, y];
5940
5940
  if (A) {
5941
- var C = this.props.width / this.props.height, I = s - this.props.width, D = y - this.props.height;
5942
- Math.abs(I) > Math.abs(D * C) ? y = s / C : s = y * C;
5941
+ var C = this.props.width / this.props.height, k = s - this.props.width, D = y - this.props.height;
5942
+ Math.abs(k) > Math.abs(D * C) ? y = s / C : s = y * C;
5943
5943
  }
5944
- var z = s, q = y, k = this.slack || [0, 0], V = k[0], te = k[1];
5945
- return s += V, y += te, R && (s = Math.max(R[0], s), y = Math.max(R[1], y)), _ && (s = Math.min(_[0], s), y = Math.min(_[1], y)), this.slack = [V + (z - s), te + (q - y)], [s, y];
5944
+ var $ = s, F = y, q = this.slack || [0, 0], U = q[0], te = q[1];
5945
+ return s += U, y += te, R && (s = Math.max(R[0], s), y = Math.max(R[1], y)), _ && (s = Math.min(_[0], s), y = Math.min(_[1], y)), this.slack = [U + ($ - s), te + (F - y)], [s, y];
5946
5946
  }, m.resizeHandler = function(s, y) {
5947
5947
  var p = this;
5948
5948
  return function(R, _) {
5949
- var A = _.node, C = _.deltaX, I = _.deltaY;
5949
+ var A = _.node, C = _.deltaX, k = _.deltaY;
5950
5950
  s === "onResizeStart" && p.resetData();
5951
- var D = (p.props.axis === "both" || p.props.axis === "x") && y !== "n" && y !== "s", z = (p.props.axis === "both" || p.props.axis === "y") && y !== "e" && y !== "w";
5952
- if (!(!D && !z)) {
5953
- var q = y[0], k = y[y.length - 1], V = A.getBoundingClientRect();
5951
+ var D = (p.props.axis === "both" || p.props.axis === "x") && y !== "n" && y !== "s", $ = (p.props.axis === "both" || p.props.axis === "y") && y !== "e" && y !== "w";
5952
+ if (!(!D && !$)) {
5953
+ var F = y[0], q = y[y.length - 1], U = A.getBoundingClientRect();
5954
5954
  if (p.lastHandleRect != null) {
5955
- if (k === "w") {
5956
- var te = V.left - p.lastHandleRect.left;
5955
+ if (q === "w") {
5956
+ var te = U.left - p.lastHandleRect.left;
5957
5957
  C += te;
5958
5958
  }
5959
- if (q === "n") {
5960
- var ne = V.top - p.lastHandleRect.top;
5961
- I += ne;
5959
+ if (F === "n") {
5960
+ var oe = U.top - p.lastHandleRect.top;
5961
+ k += oe;
5962
5962
  }
5963
5963
  }
5964
- p.lastHandleRect = V, k === "w" && (C = -C), q === "n" && (I = -I);
5965
- var b = p.props.width + (D ? C / p.props.transformScale : 0), P = p.props.height + (z ? I / p.props.transformScale : 0), N = p.runConstraints(b, P);
5964
+ p.lastHandleRect = U, q === "w" && (C = -C), F === "n" && (k = -k);
5965
+ var b = p.props.width + (D ? C / p.props.transformScale : 0), P = p.props.height + ($ ? k / p.props.transformScale : 0), N = p.runConstraints(b, P);
5966
5966
  b = N[0], P = N[1];
5967
- var M = b !== p.props.width || P !== p.props.height, $ = typeof p.props[s] == "function" ? p.props[s] : null, F = s === "onResize" && !M;
5968
- $ && !F && (R.persist == null || R.persist(), $(R, {
5967
+ var M = b !== p.props.width || P !== p.props.height, I = typeof p.props[s] == "function" ? p.props[s] : null, L = s === "onResize" && !M;
5968
+ I && !L && (R.persist == null || R.persist(), I(R, {
5969
5969
  node: A,
5970
5970
  size: {
5971
5971
  width: b,
@@ -5998,15 +5998,15 @@ function ka() {
5998
5998
  var C = l(y, o);
5999
5999
  return (0, r.cloneElement)(p, g(g({}, C), {}, {
6000
6000
  className: (R ? R + " " : "") + "react-resizable",
6001
- children: [].concat(p.props.children, A.map(function(I) {
6002
- var D, z = (D = s.handleRefs[I]) != null ? D : s.handleRefs[I] = /* @__PURE__ */ e.createRef();
6001
+ children: [].concat(p.props.children, A.map(function(k) {
6002
+ var D, $ = (D = s.handleRefs[k]) != null ? D : s.handleRefs[k] = /* @__PURE__ */ e.createRef();
6003
6003
  return /* @__PURE__ */ e.createElement(t.DraggableCore, u({}, _, {
6004
- nodeRef: z,
6005
- key: "resizableHandle-" + I,
6006
- onStop: s.resizeHandler("onResizeStop", I),
6007
- onStart: s.resizeHandler("onResizeStart", I),
6008
- onDrag: s.resizeHandler("onResize", I)
6009
- }), s.renderResizeHandle(I, z));
6004
+ nodeRef: $,
6005
+ key: "resizableHandle-" + k,
6006
+ onStop: s.resizeHandler("onResizeStop", k),
6007
+ onStart: s.resizeHandler("onResizeStart", k),
6008
+ onDrag: s.resizeHandler("onResize", k)
6009
+ }), s.renderResizeHandle(k, $));
6010
6010
  }))
6011
6011
  }));
6012
6012
  }, f;
@@ -6144,26 +6144,26 @@ function Qs() {
6144
6144
  return v.render = function() {
6145
6145
  var y = this.props, p = y.handle, R = y.handleSize;
6146
6146
  y.onResize;
6147
- var _ = y.onResizeStart, A = y.onResizeStop, C = y.draggableOpts, I = y.minConstraints, D = y.maxConstraints, z = y.lockAspectRatio, q = y.axis;
6147
+ var _ = y.onResizeStart, A = y.onResizeStop, C = y.draggableOpts, k = y.minConstraints, D = y.maxConstraints, $ = y.lockAspectRatio, F = y.axis;
6148
6148
  y.width, y.height;
6149
- var k = y.resizeHandles, V = y.style, te = y.transformScale, ne = w(y, o);
6149
+ var q = y.resizeHandles, U = y.style, te = y.transformScale, oe = w(y, o);
6150
6150
  return /* @__PURE__ */ e.createElement(r.default, {
6151
- axis: q,
6151
+ axis: F,
6152
6152
  draggableOpts: C,
6153
6153
  handle: p,
6154
6154
  handleSize: R,
6155
6155
  height: this.state.height,
6156
- lockAspectRatio: z,
6156
+ lockAspectRatio: $,
6157
6157
  maxConstraints: D,
6158
- minConstraints: I,
6158
+ minConstraints: k,
6159
6159
  onResizeStart: _,
6160
6160
  onResize: this.onResize,
6161
6161
  onResizeStop: A,
6162
- resizeHandles: k,
6162
+ resizeHandles: q,
6163
6163
  transformScale: te,
6164
6164
  width: this.state.width
6165
- }, /* @__PURE__ */ e.createElement("div", l({}, ne, {
6166
- style: g(g({}, V), {}, {
6165
+ }, /* @__PURE__ */ e.createElement("div", l({}, oe, {
6166
+ style: g(g({}, U), {}, {
6167
6167
  width: this.state.width + "px",
6168
6168
  height: this.state.height + "px"
6169
6169
  })
@@ -6181,7 +6181,7 @@ function eu() {
6181
6181
  }, Xe.exports.Resizable = ka().default, Xe.exports.ResizableBox = Qs().default), Xe.exports;
6182
6182
  }
6183
6183
  var tu = eu();
6184
- const ru = (e) => e ? Array.isArray(e) ? e.join(".") : e : "", nu = oe.span`
6184
+ const ru = (e) => e ? Array.isArray(e) ? e.join(".") : e : "", nu = ae.span`
6185
6185
  position: absolute;
6186
6186
  top: 0;
6187
6187
  right: 0;
@@ -6268,7 +6268,7 @@ const ru = (e) => e ? Array.isArray(e) ? e.join(".") : e : "", nu = oe.span`
6268
6268
  })
6269
6269
  };
6270
6270
  }), [e, r]);
6271
- }, iu = oe.div`
6271
+ }, iu = ae.div`
6272
6272
  position: relative;
6273
6273
 
6274
6274
  .ant-pagination-options {
@@ -6294,16 +6294,16 @@ function su(e, t) {
6294
6294
  w(d.order), S(d.visibleItems);
6295
6295
  else {
6296
6296
  const A = [], C = [];
6297
- for (const I of r) {
6297
+ for (const k of r) {
6298
6298
  let D;
6299
- "dataIndex" in I && (Array.isArray(I.dataIndex) ? D = I.dataIndex.join(",") : D = I.dataIndex, A.push(D), "columnVisible" in I && !I.columnVisible || C.push(D));
6299
+ "dataIndex" in k && (Array.isArray(k.dataIndex) ? D = k.dataIndex.join(",") : D = k.dataIndex, A.push(D), "columnVisible" in k && !k.columnVisible || C.push(D));
6300
6300
  }
6301
6301
  w(A), S(C);
6302
6302
  }
6303
6303
  }, y = (A) => {
6304
6304
  const C = {
6305
6305
  ...A
6306
- }, I = (D) => /* @__PURE__ */ j.jsxs("span", { children: [
6306
+ }, k = (D) => /* @__PURE__ */ j.jsxs("span", { children: [
6307
6307
  D,
6308
6308
  /* @__PURE__ */ j.jsx(
6309
6309
  Fs,
@@ -6318,7 +6318,7 @@ function su(e, t) {
6318
6318
  }
6319
6319
  )
6320
6320
  ] });
6321
- return typeof A.title == "function" ? C.title = (D) => I(A.title(D)) : C.title = I(A.title), C;
6321
+ return typeof A.title == "function" ? C.title = (D) => k(A.title(D)) : C.title = k(A.title), C;
6322
6322
  }, p = (A) => A != null && A !== "" ? /* @__PURE__ */ j.jsx(
6323
6323
  Zn,
6324
6324
  {
@@ -6332,12 +6332,12 @@ function su(e, t) {
6332
6332
  A = r;
6333
6333
  else {
6334
6334
  const C = [];
6335
- E.filter((I) => x.includes(I)).forEach((I, D, z) => {
6336
- for (const q of r)
6337
- if ("dataIndex" in q) {
6338
- let k;
6339
- if (Array.isArray(q.dataIndex) ? k = q.dataIndex.join(",") : k = q.dataIndex, I === k) {
6340
- (n || o) && D === z.length - 1 ? C.push(y(q)) : C.push(q);
6335
+ E.filter((k) => x.includes(k)).forEach((k, D, $) => {
6336
+ for (const F of r)
6337
+ if ("dataIndex" in F) {
6338
+ let q;
6339
+ if (Array.isArray(F.dataIndex) ? q = F.dataIndex.join(",") : q = F.dataIndex, k === q) {
6340
+ (n || o) && D === $.length - 1 ? C.push(y(F)) : C.push(F);
6341
6341
  break;
6342
6342
  }
6343
6343
  }
@@ -6353,10 +6353,10 @@ function su(e, t) {
6353
6353
  )), C.ellipsis === !1)
6354
6354
  C.ellipsis = !1;
6355
6355
  else {
6356
- const I = C.ellipsis || {};
6356
+ const k = C.ellipsis || {};
6357
6357
  C.ellipsis = {
6358
6358
  showTitle: !1,
6359
- ...I
6359
+ ...k
6360
6360
  }, C.render || (C.render = p);
6361
6361
  }
6362
6362
  return C;
@@ -6387,7 +6387,7 @@ function su(e, t) {
6387
6387
  }
6388
6388
  );
6389
6389
  }
6390
- const _u = Ct(su), uu = oe(Er.Item)`
6390
+ const _u = Ct(su), uu = ae(Er.Item)`
6391
6391
  margin-bottom: 0 !important;
6392
6392
 
6393
6393
  .search-item__label {
@@ -6420,7 +6420,7 @@ function cu({ children: e, ...t }) {
6420
6420
  }
6421
6421
  );
6422
6422
  }
6423
- const lu = oe(Va, {
6423
+ const lu = ae(Va, {
6424
6424
  shouldForwardProp: (e) => e !== "show"
6425
6425
  })`
6426
6426
  transition: transform 0.3s ease-in-out;
@@ -6449,13 +6449,13 @@ function fu({ panel: e, onChange: t }) {
6449
6449
  }
6450
6450
  );
6451
6451
  }
6452
- const du = oe("div", {
6452
+ const du = ae("div", {
6453
6453
  shouldForwardProp: (e) => e !== "show"
6454
6454
  })`
6455
6455
  overflow: hidden;
6456
6456
  transition: max-height 0.4s ease-in-out;
6457
6457
  max-height: ${(e) => e.show ? "450px" : "0"};
6458
- `, pu = oe(Er)`
6458
+ `, pu = ae(Er)`
6459
6459
  padding: 20px;
6460
6460
  padding-bottom: 0;
6461
6461
  margin-bottom: 20px;
@@ -6465,7 +6465,7 @@ const du = oe("div", {
6465
6465
  .ant-form-item {
6466
6466
  margin-bottom: 20px;
6467
6467
  }
6468
- `, hu = oe.div`
6468
+ `, hu = ae.div`
6469
6469
  gap: 10px;
6470
6470
  display: flex;
6471
6471
  justify-content: flex-end;
@@ -6646,68 +6646,68 @@ function Au(e, t = {}) {
6646
6646
  order: null
6647
6647
  }), s = ee(S);
6648
6648
  s.current = S;
6649
- const y = Oe(async (D = 1, z = 10, q) => {
6650
- if (q !== "auto")
6649
+ const y = Oe(async (D = 1, $ = 10, F) => {
6650
+ if (F !== "auto")
6651
6651
  E(!0), R();
6652
6652
  else if (f.length !== 0) {
6653
- p(D, z);
6653
+ p(D, $);
6654
6654
  return;
6655
6655
  }
6656
6656
  try {
6657
- const k = {
6657
+ const q = {
6658
6658
  ...v,
6659
6659
  pageNum: Number(D),
6660
- pageSize: Number(z)
6661
- }, V = await (c == null ? void 0 : c(k)), ne = await e(V !== void 0 ? V : k), {
6660
+ pageSize: Number($)
6661
+ }, U = await (c == null ? void 0 : c(q)), oe = await e(U !== void 0 ? U : q), {
6662
6662
  records: b,
6663
6663
  total: P,
6664
6664
  current: N,
6665
6665
  size: M
6666
- } = ne.data, $ = await (g == null ? void 0 : g(ne)), F = Array.isArray($) ? $ : b;
6667
- if (x(F), (N !== S.current || z !== S.pageSize || P !== S.total) && h({
6666
+ } = oe.data, I = await (g == null ? void 0 : g(oe)), L = Array.isArray(I) ? I : b;
6667
+ if (x(L), (N !== S.current || $ !== S.pageSize || P !== S.total) && h({
6668
6668
  current: N,
6669
6669
  pageSize: M,
6670
6670
  total: P
6671
- }), F.length === 0 && N && N > 1 && P && P > 0) {
6671
+ }), L.length === 0 && N && N > 1 && P && P > 0) {
6672
6672
  const W = Math.ceil(P / M);
6673
- y(W, z, q);
6673
+ y(W, $, F);
6674
6674
  } else
6675
6675
  p(N, M);
6676
- } catch (k) {
6677
- const V = k instanceof Error ? k.message : "请求失败";
6678
- It.error(V);
6676
+ } catch (q) {
6677
+ const U = q instanceof Error ? q.message : "请求失败";
6678
+ It.error(U);
6679
6679
  } finally {
6680
6680
  l || m([]), E(!1);
6681
6681
  }
6682
- }), p = Oe((D, z) => {
6682
+ }), p = Oe((D, $) => {
6683
6683
  o && (R(), d.current === null && (d.current = setTimeout(() => {
6684
- y(D, z, "auto");
6684
+ y(D, $, "auto");
6685
6685
  }, o)));
6686
6686
  }), R = Ce(() => {
6687
6687
  d.current && (clearTimeout(d.current), d.current = null);
6688
- }, []), _ = Ce((D, z, q) => {
6689
- m(z);
6688
+ }, []), _ = Ce((D, $, F) => {
6689
+ m($);
6690
6690
  }, []), A = Ce((D = {}) => {
6691
- const z = {
6691
+ const $ = {
6692
6692
  pageNum: 1,
6693
6693
  pageSize: S.pageSize,
6694
6694
  column: v.column,
6695
6695
  order: v.order
6696
6696
  };
6697
- Object.keys(v).forEach((q) => {
6698
- q !== "column" && q !== "order" && q !== "pageNum" && q !== "pageSize" && Reflect.deleteProperty(v, q);
6699
- }), Object.assign(v, z, D), y(1, S.pageSize);
6697
+ Object.keys(v).forEach((F) => {
6698
+ F !== "column" && F !== "order" && F !== "pageNum" && F !== "pageSize" && Reflect.deleteProperty(v, F);
6699
+ }), Object.assign(v, $, D), y(1, S.pageSize);
6700
6700
  }, [S.pageSize, y, v]), C = Ce(() => {
6701
6701
  y(s.current.current, s.current.pageSize);
6702
- }, [y]), I = Ce((D, z, q) => {
6703
- var ne;
6704
- Object.entries(z).forEach(([b, P]) => {
6705
- P && Array.isArray(P) && P.length === 1 ? v[b] = P[0] : v[b] = P;
6702
+ }, [y]), k = Ce((D, $, F, q) => {
6703
+ var b;
6704
+ Object.entries($).forEach(([P, N]) => {
6705
+ N && Array.isArray(N) && N.length === 1 ? v[P] = N[0] : v[P] = N;
6706
6706
  });
6707
- const k = Array.isArray(q) ? q[0] : q;
6708
- k != null && k.order ? ((ne = k == null ? void 0 : k.column) != null && ne.sort ? v.column = k.column.sort : k.field && (v.column = Array.isArray(k.field) ? k.field[0] : k.field), v.order = vu[k.order]) : (v.column = null, v.order = null);
6709
- const V = D.current ?? s.current.current, te = D.pageSize ?? s.current.pageSize;
6710
- y(V, te);
6707
+ const U = Array.isArray(F) ? F[0] : F;
6708
+ U != null && U.order ? ((b = U == null ? void 0 : U.column) != null && b.sort ? v.column = U.column.sort : U.field && (v.column = Array.isArray(U.field) ? U.field[0] : U.field), v.order = vu[U.order]) : (v.column = null, v.order = null);
6709
+ const te = D.current ?? s.current.current, oe = D.pageSize ?? s.current.pageSize;
6710
+ y(te, oe);
6711
6711
  }, [y, v]);
6712
6712
  return we(() => (a && y(s.current.current, s.current.pageSize), () => {
6713
6713
  R();
@@ -6723,7 +6723,7 @@ function Au(e, t = {}) {
6723
6723
  onChange: _
6724
6724
  }
6725
6725
  } : {},
6726
- onChange: I,
6726
+ onChange: k,
6727
6727
  pagination: {
6728
6728
  showQuickJumper: !0,
6729
6729
  showSizeChanger: !0,