@jfvilas/react-file-manager 1.1.6 → 1.1.7

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.
@@ -716,27 +716,27 @@ class Sn extends _n {
716
716
  const L = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && P ? void 0 : f, z = C && N !== f && this.options.updateMissing;
717
717
  if (P || T || z) {
718
718
  if (this.logger.log(z ? "updateKey" : "missingKey", c, s, a, z ? N : f), o) {
719
- const W = this.resolve(a, {
719
+ const G = this.resolve(a, {
720
720
  ...t,
721
721
  keySeparator: !1
722
722
  });
723
- W && W.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
723
+ G && G.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
724
724
  }
725
725
  let V = [];
726
726
  const q = this.languageUtils.getFallbackCodes(this.options.fallbackLng, t.lng || this.language);
727
727
  if (this.options.saveMissingTo === "fallback" && q && q[0])
728
- for (let W = 0; W < q.length; W++)
729
- V.push(q[W]);
728
+ for (let G = 0; G < q.length; G++)
729
+ V.push(q[G]);
730
730
  else this.options.saveMissingTo === "all" ? V = this.languageUtils.toResolveHierarchy(t.lng || this.language) : V.push(t.lng || this.language);
731
- const re = (W, h, _) => {
731
+ const re = (G, h, _) => {
732
732
  var y;
733
- const Q = C && _ !== f ? _ : L;
734
- this.options.missingKeyHandler ? this.options.missingKeyHandler(W, s, h, Q, z, t) : (y = this.backendConnector) != null && y.saveMissing && this.backendConnector.saveMissing(W, s, h, Q, z, t), this.emit("missingKey", W, s, h, f);
733
+ const X = C && _ !== f ? _ : L;
734
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(G, s, h, X, z, t) : (y = this.backendConnector) != null && y.saveMissing && this.backendConnector.saveMissing(G, s, h, X, z, t), this.emit("missingKey", G, s, h, f);
735
735
  };
736
- this.options.saveMissing && (this.options.saveMissingPlurals && S ? V.forEach((W) => {
737
- const h = this.pluralResolver.getSuffixes(W, t);
736
+ this.options.saveMissing && (this.options.saveMissingPlurals && S ? V.forEach((G) => {
737
+ const h = this.pluralResolver.getSuffixes(G, t);
738
738
  $ && t[`defaultValue${this.options.pluralSeparator}zero`] && h.indexOf(`${this.options.pluralSeparator}zero`) < 0 && h.push(`${this.options.pluralSeparator}zero`), h.forEach((_) => {
739
- re([W], a + _, t[`defaultValue${_}`] || N);
739
+ re([G], a + _, t[`defaultValue${_}`] || N);
740
740
  });
741
741
  }) : re(V, a, N));
742
742
  }
@@ -3205,7 +3205,7 @@ function T6({
3205
3205
  "aria-controls": `react-collapsed-panel-${c}`,
3206
3206
  "aria-expanded": d,
3207
3207
  onClick(re) {
3208
- F || (x == null || x(re), u((W) => !W));
3208
+ F || (x == null || x(re), u((G) => !G));
3209
3209
  },
3210
3210
  [T || "ref"]: Mi(L, E)
3211
3211
  }, V = {
@@ -3436,7 +3436,7 @@ function I6() {
3436
3436
  }
3437
3437
  }
3438
3438
  var E = s, $ = c, N = l, R = a, F = n, x = d, T = r, P = m, O = p, L = t, z = o, V = i, q = u, re = !1;
3439
- function W(B) {
3439
+ function G(B) {
3440
3440
  return re || (re = !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.")), h(B) || I(B) === s;
3441
3441
  }
3442
3442
  function h(B) {
@@ -3445,19 +3445,19 @@ function I6() {
3445
3445
  function _(B) {
3446
3446
  return I(B) === l;
3447
3447
  }
3448
- function Q(B) {
3448
+ function X(B) {
3449
3449
  return I(B) === a;
3450
3450
  }
3451
3451
  function y(B) {
3452
3452
  return typeof B == "object" && B !== null && B.$$typeof === n;
3453
3453
  }
3454
- function X(B) {
3454
+ function J(B) {
3455
3455
  return I(B) === d;
3456
3456
  }
3457
3457
  function ie(B) {
3458
3458
  return I(B) === r;
3459
3459
  }
3460
- function K(B) {
3460
+ function Y(B) {
3461
3461
  return I(B) === m;
3462
3462
  }
3463
3463
  function ee(B) {
@@ -3469,13 +3469,13 @@ function I6() {
3469
3469
  function oe(B) {
3470
3470
  return I(B) === o;
3471
3471
  }
3472
- function G(B) {
3472
+ function K(B) {
3473
3473
  return I(B) === i;
3474
3474
  }
3475
3475
  function ge(B) {
3476
3476
  return I(B) === u;
3477
3477
  }
3478
- we.AsyncMode = E, we.ConcurrentMode = $, we.ContextConsumer = N, we.ContextProvider = R, we.Element = F, we.ForwardRef = x, we.Fragment = T, we.Lazy = P, we.Memo = O, we.Portal = L, we.Profiler = z, we.StrictMode = V, we.Suspense = q, we.isAsyncMode = W, we.isConcurrentMode = h, we.isContextConsumer = _, we.isContextProvider = Q, we.isElement = y, we.isForwardRef = X, we.isFragment = ie, we.isLazy = K, we.isMemo = ee, we.isPortal = Z, we.isProfiler = oe, we.isStrictMode = G, we.isSuspense = ge, we.isValidElementType = C, we.typeOf = I;
3478
+ we.AsyncMode = E, we.ConcurrentMode = $, we.ContextConsumer = N, we.ContextProvider = R, we.Element = F, we.ForwardRef = x, we.Fragment = T, we.Lazy = P, we.Memo = O, we.Portal = L, we.Profiler = z, we.StrictMode = V, we.Suspense = q, we.isAsyncMode = G, we.isConcurrentMode = h, we.isContextConsumer = _, we.isContextProvider = X, we.isElement = y, we.isForwardRef = J, we.isFragment = ie, we.isLazy = Y, we.isMemo = ee, we.isPortal = Z, we.isProfiler = oe, we.isStrictMode = K, we.isSuspense = ge, we.isValidElementType = C, we.typeOf = I;
3479
3479
  }()), we;
3480
3480
  }
3481
3481
  var Vi;
@@ -3647,9 +3647,9 @@ function _6() {
3647
3647
  b.prototype = Error.prototype;
3648
3648
  function k(h) {
3649
3649
  if (process.env.NODE_ENV !== "production")
3650
- var _ = {}, Q = 0;
3651
- function y(ie, K, ee, Z, oe, G, ge) {
3652
- if (Z = Z || f, G = G || ee, ge !== t) {
3650
+ var _ = {}, X = 0;
3651
+ function y(ie, Y, ee, Z, oe, K, ge) {
3652
+ if (Z = Z || f, K = K || ee, ge !== t) {
3653
3653
  if (s) {
3654
3654
  var B = new Error(
3655
3655
  "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"
@@ -3658,23 +3658,23 @@ function _6() {
3658
3658
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
3659
3659
  var Fe = Z + ":" + ee;
3660
3660
  !_[Fe] && // Avoid spamming the console because they are often not actionable except for lib authors
3661
- Q < 3 && (o(
3662
- "You are manually calling a React.PropTypes validation function for the `" + G + "` 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."
3663
- ), _[Fe] = !0, Q++);
3661
+ X < 3 && (o(
3662
+ "You are manually calling a React.PropTypes validation function for the `" + K + "` 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."
3663
+ ), _[Fe] = !0, X++);
3664
3664
  }
3665
3665
  }
3666
- return K[ee] == null ? ie ? K[ee] === null ? new b("The " + oe + " `" + G + "` is marked as required " + ("in `" + Z + "`, but its value is `null`.")) : new b("The " + oe + " `" + G + "` is marked as required in " + ("`" + Z + "`, but its value is `undefined`.")) : null : h(K, ee, Z, oe, G);
3666
+ return Y[ee] == null ? ie ? Y[ee] === null ? new b("The " + oe + " `" + K + "` is marked as required " + ("in `" + Z + "`, but its value is `null`.")) : new b("The " + oe + " `" + K + "` is marked as required in " + ("`" + Z + "`, but its value is `undefined`.")) : null : h(Y, ee, Z, oe, K);
3667
3667
  }
3668
- var X = y.bind(null, !1);
3669
- return X.isRequired = y.bind(null, !0), X;
3668
+ var J = y.bind(null, !1);
3669
+ return J.isRequired = y.bind(null, !0), J;
3670
3670
  }
3671
3671
  function v(h) {
3672
- function _(Q, y, X, ie, K, ee) {
3673
- var Z = Q[y], oe = V(Z);
3672
+ function _(X, y, J, ie, Y, ee) {
3673
+ var Z = X[y], oe = V(Z);
3674
3674
  if (oe !== h) {
3675
- var G = q(Z);
3675
+ var K = q(Z);
3676
3676
  return new b(
3677
- "Invalid " + ie + " `" + K + "` of type " + ("`" + G + "` supplied to `" + X + "`, expected ") + ("`" + h + "`."),
3677
+ "Invalid " + ie + " `" + Y + "` of type " + ("`" + K + "` supplied to `" + J + "`, expected ") + ("`" + h + "`."),
3678
3678
  { expectedType: h }
3679
3679
  );
3680
3680
  }
@@ -3686,50 +3686,50 @@ function _6() {
3686
3686
  return k(a);
3687
3687
  }
3688
3688
  function C(h) {
3689
- function _(Q, y, X, ie, K) {
3689
+ function _(X, y, J, ie, Y) {
3690
3690
  if (typeof h != "function")
3691
- return new b("Property `" + K + "` of component `" + X + "` has invalid PropType notation inside arrayOf.");
3692
- var ee = Q[y];
3691
+ return new b("Property `" + Y + "` of component `" + J + "` has invalid PropType notation inside arrayOf.");
3692
+ var ee = X[y];
3693
3693
  if (!Array.isArray(ee)) {
3694
3694
  var Z = V(ee);
3695
- return new b("Invalid " + ie + " `" + K + "` of type " + ("`" + Z + "` supplied to `" + X + "`, expected an array."));
3695
+ return new b("Invalid " + ie + " `" + Y + "` of type " + ("`" + Z + "` supplied to `" + J + "`, expected an array."));
3696
3696
  }
3697
3697
  for (var oe = 0; oe < ee.length; oe++) {
3698
- var G = h(ee, oe, X, ie, K + "[" + oe + "]", t);
3699
- if (G instanceof Error)
3700
- return G;
3698
+ var K = h(ee, oe, J, ie, Y + "[" + oe + "]", t);
3699
+ if (K instanceof Error)
3700
+ return K;
3701
3701
  }
3702
3702
  return null;
3703
3703
  }
3704
3704
  return k(_);
3705
3705
  }
3706
3706
  function I() {
3707
- function h(_, Q, y, X, ie) {
3708
- var K = _[Q];
3709
- if (!l(K)) {
3710
- var ee = V(K);
3711
- return new b("Invalid " + X + " `" + ie + "` of type " + ("`" + ee + "` supplied to `" + y + "`, expected a single ReactElement."));
3707
+ function h(_, X, y, J, ie) {
3708
+ var Y = _[X];
3709
+ if (!l(Y)) {
3710
+ var ee = V(Y);
3711
+ return new b("Invalid " + J + " `" + ie + "` of type " + ("`" + ee + "` supplied to `" + y + "`, expected a single ReactElement."));
3712
3712
  }
3713
3713
  return null;
3714
3714
  }
3715
3715
  return k(h);
3716
3716
  }
3717
3717
  function E() {
3718
- function h(_, Q, y, X, ie) {
3719
- var K = _[Q];
3720
- if (!e.isValidElementType(K)) {
3721
- var ee = V(K);
3722
- return new b("Invalid " + X + " `" + ie + "` of type " + ("`" + ee + "` supplied to `" + y + "`, expected a single ReactElement type."));
3718
+ function h(_, X, y, J, ie) {
3719
+ var Y = _[X];
3720
+ if (!e.isValidElementType(Y)) {
3721
+ var ee = V(Y);
3722
+ return new b("Invalid " + J + " `" + ie + "` of type " + ("`" + ee + "` supplied to `" + y + "`, expected a single ReactElement type."));
3723
3723
  }
3724
3724
  return null;
3725
3725
  }
3726
3726
  return k(h);
3727
3727
  }
3728
3728
  function $(h) {
3729
- function _(Q, y, X, ie, K) {
3730
- if (!(Q[y] instanceof h)) {
3731
- var ee = h.name || f, Z = W(Q[y]);
3732
- return new b("Invalid " + ie + " `" + K + "` of type " + ("`" + Z + "` supplied to `" + X + "`, expected ") + ("instance of `" + ee + "`."));
3729
+ function _(X, y, J, ie, Y) {
3730
+ if (!(X[y] instanceof h)) {
3731
+ var ee = h.name || f, Z = G(X[y]);
3732
+ return new b("Invalid " + ie + " `" + Y + "` of type " + ("`" + Z + "` supplied to `" + J + "`, expected ") + ("instance of `" + ee + "`."));
3733
3733
  }
3734
3734
  return null;
3735
3735
  }
@@ -3740,30 +3740,30 @@ function _6() {
3740
3740
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
3741
3741
  "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])."
3742
3742
  ) : o("Invalid argument supplied to oneOf, expected an array.")), a;
3743
- function _(Q, y, X, ie, K) {
3744
- for (var ee = Q[y], Z = 0; Z < h.length; Z++)
3743
+ function _(X, y, J, ie, Y) {
3744
+ for (var ee = X[y], Z = 0; Z < h.length; Z++)
3745
3745
  if (m(ee, h[Z]))
3746
3746
  return null;
3747
3747
  var oe = JSON.stringify(h, function(ge, B) {
3748
3748
  var Fe = q(B);
3749
3749
  return Fe === "symbol" ? String(B) : B;
3750
3750
  });
3751
- return new b("Invalid " + ie + " `" + K + "` of value `" + String(ee) + "` " + ("supplied to `" + X + "`, expected one of " + oe + "."));
3751
+ return new b("Invalid " + ie + " `" + Y + "` of value `" + String(ee) + "` " + ("supplied to `" + J + "`, expected one of " + oe + "."));
3752
3752
  }
3753
3753
  return k(_);
3754
3754
  }
3755
3755
  function R(h) {
3756
- function _(Q, y, X, ie, K) {
3756
+ function _(X, y, J, ie, Y) {
3757
3757
  if (typeof h != "function")
3758
- return new b("Property `" + K + "` of component `" + X + "` has invalid PropType notation inside objectOf.");
3759
- var ee = Q[y], Z = V(ee);
3758
+ return new b("Property `" + Y + "` of component `" + J + "` has invalid PropType notation inside objectOf.");
3759
+ var ee = X[y], Z = V(ee);
3760
3760
  if (Z !== "object")
3761
- return new b("Invalid " + ie + " `" + K + "` of type " + ("`" + Z + "` supplied to `" + X + "`, expected an object."));
3761
+ return new b("Invalid " + ie + " `" + Y + "` of type " + ("`" + Z + "` supplied to `" + J + "`, expected an object."));
3762
3762
  for (var oe in ee)
3763
3763
  if (r(ee, oe)) {
3764
- var G = h(ee, oe, X, ie, K + "." + oe, t);
3765
- if (G instanceof Error)
3766
- return G;
3764
+ var K = h(ee, oe, J, ie, Y + "." + oe, t);
3765
+ if (K instanceof Error)
3766
+ return K;
3767
3767
  }
3768
3768
  return null;
3769
3769
  }
@@ -3773,45 +3773,45 @@ function _6() {
3773
3773
  if (!Array.isArray(h))
3774
3774
  return process.env.NODE_ENV !== "production" && o("Invalid argument supplied to oneOfType, expected an instance of array."), a;
3775
3775
  for (var _ = 0; _ < h.length; _++) {
3776
- var Q = h[_];
3777
- if (typeof Q != "function")
3776
+ var X = h[_];
3777
+ if (typeof X != "function")
3778
3778
  return o(
3779
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + re(Q) + " at index " + _ + "."
3779
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + re(X) + " at index " + _ + "."
3780
3780
  ), a;
3781
3781
  }
3782
- function y(X, ie, K, ee, Z) {
3783
- for (var oe = [], G = 0; G < h.length; G++) {
3784
- var ge = h[G], B = ge(X, ie, K, ee, Z, t);
3782
+ function y(J, ie, Y, ee, Z) {
3783
+ for (var oe = [], K = 0; K < h.length; K++) {
3784
+ var ge = h[K], B = ge(J, ie, Y, ee, Z, t);
3785
3785
  if (B == null)
3786
3786
  return null;
3787
3787
  B.data && r(B.data, "expectedType") && oe.push(B.data.expectedType);
3788
3788
  }
3789
3789
  var Fe = oe.length > 0 ? ", expected one of type [" + oe.join(", ") + "]" : "";
3790
- return new b("Invalid " + ee + " `" + Z + "` supplied to " + ("`" + K + "`" + Fe + "."));
3790
+ return new b("Invalid " + ee + " `" + Z + "` supplied to " + ("`" + Y + "`" + Fe + "."));
3791
3791
  }
3792
3792
  return k(y);
3793
3793
  }
3794
3794
  function x() {
3795
- function h(_, Q, y, X, ie) {
3796
- return L(_[Q]) ? null : new b("Invalid " + X + " `" + ie + "` supplied to " + ("`" + y + "`, expected a ReactNode."));
3795
+ function h(_, X, y, J, ie) {
3796
+ return L(_[X]) ? null : new b("Invalid " + J + " `" + ie + "` supplied to " + ("`" + y + "`, expected a ReactNode."));
3797
3797
  }
3798
3798
  return k(h);
3799
3799
  }
3800
- function T(h, _, Q, y, X) {
3800
+ function T(h, _, X, y, J) {
3801
3801
  return new b(
3802
- (h || "React class") + ": " + _ + " type `" + Q + "." + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + X + "`."
3802
+ (h || "React class") + ": " + _ + " type `" + X + "." + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + J + "`."
3803
3803
  );
3804
3804
  }
3805
3805
  function P(h) {
3806
- function _(Q, y, X, ie, K) {
3807
- var ee = Q[y], Z = V(ee);
3806
+ function _(X, y, J, ie, Y) {
3807
+ var ee = X[y], Z = V(ee);
3808
3808
  if (Z !== "object")
3809
- return new b("Invalid " + ie + " `" + K + "` of type `" + Z + "` " + ("supplied to `" + X + "`, expected `object`."));
3809
+ return new b("Invalid " + ie + " `" + Y + "` of type `" + Z + "` " + ("supplied to `" + J + "`, expected `object`."));
3810
3810
  for (var oe in h) {
3811
- var G = h[oe];
3812
- if (typeof G != "function")
3813
- return T(X, ie, K, oe, q(G));
3814
- var ge = G(ee, oe, X, ie, K + "." + oe, t);
3811
+ var K = h[oe];
3812
+ if (typeof K != "function")
3813
+ return T(J, ie, Y, oe, q(K));
3814
+ var ge = K(ee, oe, J, ie, Y + "." + oe, t);
3815
3815
  if (ge)
3816
3816
  return ge;
3817
3817
  }
@@ -3820,21 +3820,21 @@ function _6() {
3820
3820
  return k(_);
3821
3821
  }
3822
3822
  function O(h) {
3823
- function _(Q, y, X, ie, K) {
3824
- var ee = Q[y], Z = V(ee);
3823
+ function _(X, y, J, ie, Y) {
3824
+ var ee = X[y], Z = V(ee);
3825
3825
  if (Z !== "object")
3826
- return new b("Invalid " + ie + " `" + K + "` of type `" + Z + "` " + ("supplied to `" + X + "`, expected `object`."));
3827
- var oe = n({}, Q[y], h);
3828
- for (var G in oe) {
3829
- var ge = h[G];
3830
- if (r(h, G) && typeof ge != "function")
3831
- return T(X, ie, K, G, q(ge));
3826
+ return new b("Invalid " + ie + " `" + Y + "` of type `" + Z + "` " + ("supplied to `" + J + "`, expected `object`."));
3827
+ var oe = n({}, X[y], h);
3828
+ for (var K in oe) {
3829
+ var ge = h[K];
3830
+ if (r(h, K) && typeof ge != "function")
3831
+ return T(J, ie, Y, K, q(ge));
3832
3832
  if (!ge)
3833
3833
  return new b(
3834
- "Invalid " + ie + " `" + K + "` key `" + G + "` supplied to `" + X + "`.\nBad object: " + JSON.stringify(Q[y], null, " ") + `
3834
+ "Invalid " + ie + " `" + Y + "` key `" + K + "` supplied to `" + J + "`.\nBad object: " + JSON.stringify(X[y], null, " ") + `
3835
3835
  Valid keys: ` + JSON.stringify(Object.keys(h), null, " ")
3836
3836
  );
3837
- var B = ge(ee, G, X, ie, K + "." + G, t);
3837
+ var B = ge(ee, K, J, ie, Y + "." + K, t);
3838
3838
  if (B)
3839
3839
  return B;
3840
3840
  }
@@ -3857,15 +3857,15 @@ Valid keys: ` + JSON.stringify(Object.keys(h), null, " ")
3857
3857
  return !0;
3858
3858
  var _ = u(h);
3859
3859
  if (_) {
3860
- var Q = _.call(h), y;
3860
+ var X = _.call(h), y;
3861
3861
  if (_ !== h.entries) {
3862
- for (; !(y = Q.next()).done; )
3862
+ for (; !(y = X.next()).done; )
3863
3863
  if (!L(y.value))
3864
3864
  return !1;
3865
3865
  } else
3866
- for (; !(y = Q.next()).done; ) {
3867
- var X = y.value;
3868
- if (X && !L(X[1]))
3866
+ for (; !(y = X.next()).done; ) {
3867
+ var J = y.value;
3868
+ if (J && !L(J[1]))
3869
3869
  return !1;
3870
3870
  }
3871
3871
  } else
@@ -3908,7 +3908,7 @@ Valid keys: ` + JSON.stringify(Object.keys(h), null, " ")
3908
3908
  return _;
3909
3909
  }
3910
3910
  }
3911
- function W(h) {
3911
+ function G(h) {
3912
3912
  return !h.constructor || !h.constructor.name ? f : h.constructor.name;
3913
3913
  }
3914
3914
  return p.checkPropTypes = i, p.resetWarningCache = i.resetWarningCache, p.PropTypes = p, p;
@@ -3973,7 +3973,7 @@ function M6() {
3973
3973
  return un.exports;
3974
3974
  }
3975
3975
  var j6 = /* @__PURE__ */ M6();
3976
- const J = /* @__PURE__ */ jr(j6);
3976
+ const Q = /* @__PURE__ */ jr(j6);
3977
3977
  function B6(e) {
3978
3978
  return ne({ attr: { viewBox: "0 0 24 24", fill: "currentColor" }, child: [{ tag: "path", attr: { d: "M18 3a3 3 0 0 1 2.995 2.824l.005 .176v12a3 3 0 0 1 -2.824 2.995l-.176 .005h-12a3 3 0 0 1 -2.995 -2.824l-.005 -.176v-12a3 3 0 0 1 2.824 -2.995l.176 -.005h12zm0 2h-9v14h9a1 1 0 0 0 .993 -.883l.007 -.117v-12a1 1 0 0 0 -.883 -.993l-.117 -.007zm-2.293 4.293a1 1 0 0 1 .083 1.32l-.083 .094l-1.292 1.293l1.292 1.293a1 1 0 0 1 .083 1.32l-.083 .094a1 1 0 0 1 -1.32 .083l-.094 -.083l-2 -2a1 1 0 0 1 -.083 -1.32l.083 -.094l2 -2a1 1 0 0 1 1.414 0z" }, child: [] }] })(e);
3979
3979
  }
@@ -4115,9 +4115,9 @@ const H6 = ({ onFilterChange: e }) => {
4115
4115
  };
4116
4116
  Ur.displayName = "BreadCrumb";
4117
4117
  Ur.propTypes = {
4118
- isNavigationPaneOpen: J.bool.isRequired,
4119
- onNavigationPaneChange: J.func.isRequired,
4120
- onSearchUpdated: J.func.isRequired
4118
+ isNavigationPaneOpen: Q.bool.isRequired,
4119
+ onNavigationPaneChange: Q.func.isRequired,
4120
+ onSearchUpdated: Q.func.isRequired
4121
4121
  };
4122
4122
  const Fn = (e) => ({
4123
4123
  pdf: /* @__PURE__ */ g(ms, { size: e }),
@@ -4463,9 +4463,9 @@ const Ea = ({
4463
4463
  formatDate: p
4464
4464
  }) => {
4465
4465
  var Ge, tt, it, ut;
4466
- const [m, b] = H(!1), [k, v] = H(0), [S, C] = H("hidden"), [I, E] = H(""), [$, N] = H(null), { activeLayout: R } = Nt(), F = R === "grid" ? 48 : 20, x = Fn(F), { setCurrentPath: T, currentPathFiles: P, onFolderChange: O } = ct(), { setSelectedFiles: L } = gt(), { clipBoard: z, handleCutCopy: V, setClipBoard: q, handlePasting: re } = On(), W = Pe(null), h = Fn(rr), { options: _ } = Dn(), Q = (z == null ? void 0 : z.isMoving) && z.files.find((ue) => ue.name === t.name && ue.path === t.path), y = () => {
4466
+ const [m, b] = H(!1), [k, v] = H(0), [S, C] = H("hidden"), [I, E] = H(""), [$, N] = H(null), { activeLayout: R } = Nt(), F = R === "grid" ? 48 : 20, x = Fn(F), { setCurrentPath: T, currentPathFiles: P, onFolderChange: O } = ct(), { setSelectedFiles: L } = gt(), { clipBoard: z, handleCutCopy: V, setClipBoard: q, handlePasting: re } = On(), G = Pe(null), h = Fn(rr), { options: _ } = Dn(), X = (z == null ? void 0 : z.isMoving) && z.files.find((ue) => ue.name === t.name && ue.path === t.path), y = () => {
4467
4467
  a(t), t.isDirectory ? (T(t.path), O == null || O(t.path), L([])) : o && c.show("previewFile");
4468
- }, X = (ue, Ae) => {
4468
+ }, J = (ue, Ae) => {
4469
4469
  if (s.length > 0 && ue) {
4470
4470
  let Be = !1, ot = s[0], dt = n;
4471
4471
  if (ot >= dt) {
@@ -4480,14 +4480,14 @@ const Ea = ({
4480
4480
  }) : L([t]);
4481
4481
  }, ie = (ue) => {
4482
4482
  if (ue.stopPropagation(), t.isEditing) return;
4483
- X(ue.shiftKey, ue.ctrlKey);
4483
+ J(ue.shiftKey, ue.ctrlKey);
4484
4484
  const Ae = (/* @__PURE__ */ new Date()).getTime();
4485
4485
  if (Ae - k < 300) {
4486
4486
  y();
4487
4487
  return;
4488
4488
  }
4489
4489
  v(Ae);
4490
- }, K = (ue) => {
4490
+ }, Y = (ue) => {
4491
4491
  ue.key === "Enter" && (ue.stopPropagation(), L([t]), y());
4492
4492
  }, ee = (ue) => {
4493
4493
  ue.stopPropagation(), ue.preventDefault(), !t.isEditing && (m || L([t]), u(t), d(ue, !0));
@@ -4495,10 +4495,10 @@ const Ea = ({
4495
4495
  C("visible");
4496
4496
  }, oe = () => {
4497
4497
  !m && C("hidden");
4498
- }, G = (ue) => {
4498
+ }, K = (ue) => {
4499
4499
  ue.target.checked ? L((Ae) => [...Ae, t]) : L((Ae) => Ae.filter((Be) => Be.name !== t.name && Be.path !== t.path)), b(ue.target.checked);
4500
4500
  }, ge = (ue) => {
4501
- ue.dataTransfer.setDragImage(W.current, 30, 50), ue.dataTransfer.effectAllowed = "copy", V(!0);
4501
+ ue.dataTransfer.setDragImage(G.current, 30, 50), ue.dataTransfer.effectAllowed = "copy", V(!0);
4502
4502
  }, B = () => q(null), Fe = (ue) => {
4503
4503
  ue.preventDefault(), m || !t.isDirectory ? ue.dataTransfer.dropEffect = "none" : (N({ x: ue.clientX, y: ue.clientY + 12 }), ue.dataTransfer.dropEffect = "copy", E("file-drop-zone"));
4504
4504
  }, et = (ue) => {
@@ -4511,11 +4511,11 @@ const Ea = ({
4511
4511
  }, [s]), /* @__PURE__ */ U(
4512
4512
  "div",
4513
4513
  {
4514
- className: `file-item-container ${I} ${m || t.isEditing ? "file-selected" : ""} ${Q ? "file-moving" : ""}`,
4514
+ className: `file-item-container ${I} ${m || t.isEditing ? "file-selected" : ""} ${X ? "file-moving" : ""}`,
4515
4515
  tabIndex: 0,
4516
4516
  title: t.name,
4517
4517
  onClick: ie,
4518
- onKeyDown: K,
4518
+ onKeyDown: Y,
4519
4519
  onContextMenu: ee,
4520
4520
  onMouseOver: Z,
4521
4521
  onMouseLeave: oe,
@@ -4535,7 +4535,7 @@ const Ea = ({
4535
4535
  id: t.name,
4536
4536
  checked: m,
4537
4537
  className: `selection-checkbox ${S}`,
4538
- onChange: G,
4538
+ onChange: K,
4539
4539
  onClick: (ue) => ue.stopPropagation()
4540
4540
  }
4541
4541
  ),
@@ -4580,7 +4580,7 @@ const Ea = ({
4580
4580
  ]
4581
4581
  }
4582
4582
  ),
4583
- /* @__PURE__ */ g("div", { ref: W, className: "drag-icon", children: t.isDirectory ? /* @__PURE__ */ g(ki, { size: rr }) : /* @__PURE__ */ g(ze, { children: h[(ut = (it = t.name) == null ? void 0 : it.split(".").pop()) == null ? void 0 : ut.toLowerCase()] ?? /* @__PURE__ */ g(bn, { size: rr }) }) })
4583
+ /* @__PURE__ */ g("div", { ref: G, className: "drag-icon", children: t.isDirectory ? /* @__PURE__ */ g(ki, { size: rr }) : /* @__PURE__ */ g(ze, { children: h[(ut = (it = t.name) == null ? void 0 : it.split(".").pop()) == null ? void 0 : ut.toLowerCase()] ?? /* @__PURE__ */ g(bn, { size: rr }) }) })
4584
4584
  ]
4585
4585
  }
4586
4586
  );
@@ -4649,25 +4649,25 @@ function Q6(e) {
4649
4649
  const Z6 = (e, n, t, r, i) => {
4650
4650
  const [o, a] = H([]), [l, s] = H(!1), [c, d] = H(!1), [u, f] = H({ clickX: 0, clickY: 0 }), [p, m] = H(null), { clipBoard: b, setClipBoard: k, handleCutCopy: v, handlePasting: S } = On(), { selectedFiles: C, setSelectedFiles: I, handleDownload: E } = gt(), { currentPath: $, setCurrentPath: N, currentPathFiles: R, setCurrentPathFiles: F, onFolderChange: x } = ct(), { activeLayout: T, setActiveLayout: P } = Nt(), O = Me(), L = () => {
4651
4651
  i(p), p.isDirectory ? (N(p.path), x == null || x(p.path), a([]), I([])) : n && t.show("previewFile"), s(!1);
4652
- }, z = (G) => {
4653
- v(G), s(!1);
4652
+ }, z = (K) => {
4653
+ v(K), s(!1);
4654
4654
  }, V = () => {
4655
4655
  S(p), s(!1);
4656
4656
  }, q = () => {
4657
4657
  s(!1), t.show("rename");
4658
4658
  }, re = () => {
4659
4659
  E(), s(!1);
4660
- }, W = () => {
4660
+ }, G = () => {
4661
4661
  s(!1), t.show("delete");
4662
4662
  }, h = () => {
4663
4663
  s(!1), Pt(e, "onRefresh"), k(null);
4664
4664
  }, _ = () => {
4665
4665
  t.show("createFolder"), s(!1);
4666
- }, Q = () => {
4666
+ }, X = () => {
4667
4667
  s(!1), t.show("uploadFile");
4668
4668
  }, y = () => {
4669
4669
  I(R), s(!1);
4670
- }, X = [
4670
+ }, J = [
4671
4671
  {
4672
4672
  title: O("view"),
4673
4673
  icon: T === "grid" ? /* @__PURE__ */ g(gi, { size: 18 }) : /* @__PURE__ */ g($r, { size: 18 }),
@@ -4716,7 +4716,7 @@ const Z6 = (e, n, t, r, i) => {
4716
4716
  {
4717
4717
  title: O("upload"),
4718
4718
  icon: /* @__PURE__ */ g(oa, { size: 18 }),
4719
- onClick: Q,
4719
+ onClick: X,
4720
4720
  divider: !0,
4721
4721
  hidden: !r.upload
4722
4722
  },
@@ -4769,14 +4769,14 @@ const Z6 = (e, n, t, r, i) => {
4769
4769
  {
4770
4770
  title: O("delete"),
4771
4771
  icon: /* @__PURE__ */ g(ia, { size: 19 }),
4772
- onClick: W,
4772
+ onClick: G,
4773
4773
  hidden: !r.delete
4774
4774
  }
4775
- ], K = () => {
4776
- F((G) => [
4777
- ...G,
4775
+ ], Y = () => {
4776
+ F((K) => [
4777
+ ...K,
4778
4778
  {
4779
- name: $a("New Folder", !0, G),
4779
+ name: $a("New Folder", !0, K),
4780
4780
  isDirectory: !0,
4781
4781
  path: $,
4782
4782
  isEditing: !0,
@@ -4784,23 +4784,23 @@ const Z6 = (e, n, t, r, i) => {
4784
4784
  }
4785
4785
  ]);
4786
4786
  }, ee = () => {
4787
- F((G) => {
4787
+ F((K) => {
4788
4788
  const ge = o.at(-1);
4789
- return G[ge] ? G.map((B, Fe) => Fe === ge ? {
4789
+ return K[ge] ? K.map((B, Fe) => Fe === ge ? {
4790
4790
  ...B,
4791
4791
  isEditing: !0
4792
- } : B) : (t.close(), G);
4792
+ } : B) : (t.close(), K);
4793
4793
  }), a([]), I([]);
4794
4794
  }, Z = () => {
4795
- a([]), I((G) => G.length > 0 ? [] : G);
4796
- }, oe = (G, ge = !1) => {
4797
- G.preventDefault(), f({ clickX: G.clientX, clickY: G.clientY }), d(ge), !ge && Z(), s(!0);
4795
+ a([]), I((K) => K.length > 0 ? [] : K);
4796
+ }, oe = (K, ge = !1) => {
4797
+ K.preventDefault(), f({ clickX: K.clientX, clickY: K.clientY }), d(ge), !ge && Z(), s(!0);
4798
4798
  };
4799
4799
  return me(() => {
4800
4800
  if (t.isActive)
4801
4801
  switch (t.actionType) {
4802
4802
  case "createFolder":
4803
- K();
4803
+ Y();
4804
4804
  break;
4805
4805
  case "rename":
4806
4806
  ee();
@@ -4809,9 +4809,9 @@ const Z6 = (e, n, t, r, i) => {
4809
4809
  }, [t.isActive]), me(() => {
4810
4810
  a([]), I([]);
4811
4811
  }, [$]), me(() => {
4812
- C.length > 0 ? a(() => C.map((G) => R.findIndex((ge) => ge.path === G.path))) : a([]);
4812
+ C.length > 0 ? a(() => C.map((K) => R.findIndex((ge) => ge.path === K.path))) : a([]);
4813
4813
  }, [C, R]), {
4814
- emptySelecCtxItems: X,
4814
+ emptySelecCtxItems: J,
4815
4815
  selecCtxItems: ie,
4816
4816
  handleContextMenu: oe,
4817
4817
  unselectFiles: Z,
@@ -4914,7 +4914,7 @@ const Z6 = (e, n, t, r, i) => {
4914
4914
  if (F.length > 0 && F.every((h) => u[h].class === re)) {
4915
4915
  for (let h of e.get(re))
4916
4916
  if (h.title === q.target.innerText) {
4917
- let _ = u.filter((Q, y) => F.includes(y));
4917
+ let _ = u.filter((X, y) => F.includes(y));
4918
4918
  h.onClick(_);
4919
4919
  }
4920
4920
  }
@@ -4923,27 +4923,27 @@ const Z6 = (e, n, t, r, i) => {
4923
4923
  let z = C;
4924
4924
  if (e) {
4925
4925
  for (let q of e.keys())
4926
- if (F.length > 0 && F.every((W) => u[W].class === q)) {
4926
+ if (F.length > 0 && F.every((G) => u[G].class === q)) {
4927
4927
  z[z.length - 1].divider = !0;
4928
- for (let W of e.get(q))
4928
+ for (let G of e.get(q))
4929
4929
  z.push({
4930
- title: W.title,
4931
- icon: W.icon,
4932
- divider: W.divider,
4930
+ title: G.title,
4931
+ icon: G.icon,
4932
+ divider: G.divider,
4933
4933
  onClick: L
4934
4934
  });
4935
4935
  }
4936
4936
  }
4937
4937
  const V = () => {
4938
4938
  if (!v.statusBar) return /* @__PURE__ */ g(ze, {});
4939
- let q = u.length + " Items";
4939
+ let q = u.filter((h) => h.name.toLowerCase().includes(t)), re = q.length + " Items";
4940
4940
  if (F.length > 0) {
4941
- q += "    " + F.length + " items selected";
4942
- let W = u.filter((h, _) => F.includes(_)).reduce((h, _) => (_.size || 0) + h, 0);
4943
- var re = "bytes";
4944
- W > 1024 && (W = (W / 1024).toFixed(0), re = "KB", W > 1024 && (W = (W / 1024).toFixed(0), re = "MB")), q += "    " + W + " " + re;
4941
+ re += "    " + F.length + " items selected";
4942
+ let h = q.filter((_, X) => F.includes(X)).reduce((_, X) => (X.size || 0) + _, 0);
4943
+ var G = "bytes";
4944
+ h > 1024 && (h = (h / 1024).toFixed(0), G = "KB", h > 1024 && (h = (h / 1024).toFixed(0), G = "MB")), re += "    " + h + " " + G;
4945
4945
  }
4946
- return /* @__PURE__ */ g("div", { className: "statusbar", style: { ...v.folderTree ? {} : { borderBottomLeftRadius: "8px" } }, children: q });
4946
+ return /* @__PURE__ */ g("div", { className: "statusbar", style: { ...v.folderTree ? {} : { borderBottomLeftRadius: "8px" } }, children: re });
4947
4947
  };
4948
4948
  return /* @__PURE__ */ U(ze, { children: [
4949
4949
  /* @__PURE__ */ U(
@@ -5066,17 +5066,17 @@ const a3 = ({
5066
5066
  if (!T.error)
5067
5067
  return new Promise((P, O) => {
5068
5068
  const L = new XMLHttpRequest();
5069
- k.current = L, r((W) => ({
5070
- ...W,
5069
+ k.current = L, r((G) => ({
5070
+ ...G,
5071
5071
  [e]: !0
5072
- })), L.upload.onprogress = (W) => {
5073
- if (W.lengthComputable) {
5074
- const h = Math.round(W.loaded / W.total * 100);
5072
+ })), L.upload.onprogress = (G) => {
5073
+ if (G.lengthComputable) {
5074
+ const h = Math.round(G.loaded / G.total * 100);
5075
5075
  s(h);
5076
5076
  }
5077
5077
  }, L.onload = () => {
5078
- r((W) => ({
5079
- ...W,
5078
+ r((G) => ({
5079
+ ...G,
5080
5080
  [e]: !1
5081
5081
  })), L.status === 200 || L.status === 201 ? (d(!0), o(L.response), P(L.response)) : (O(L.statusText), C(L));
5082
5082
  }, L.onerror = () => {
@@ -5085,11 +5085,11 @@ const a3 = ({
5085
5085
  const z = (i == null ? void 0 : i.method) || "POST";
5086
5086
  L.open(z, i == null ? void 0 : i.url, !0);
5087
5087
  const V = i == null ? void 0 : i.headers;
5088
- for (let W in V)
5089
- L.setRequestHeader(W, V[W]);
5088
+ for (let G in V)
5089
+ L.setRequestHeader(G, V[G]);
5090
5090
  const q = new FormData(), re = T == null ? void 0 : T.appendData;
5091
- for (let W in re)
5092
- re[W] && q.append(W, re[W]);
5091
+ for (let G in re)
5092
+ re[G] && q.append(G, re[G]);
5093
5093
  q.append("file", T.file), L.send(q);
5094
5094
  });
5095
5095
  };
@@ -8250,16 +8250,16 @@ function X$(e, n, t) {
8250
8250
  return y === 45 ? (e.consume(y), r.interrupt ? n : h) : t(y);
8251
8251
  }
8252
8252
  function m(y) {
8253
- const X = "CDATA[";
8254
- return y === X.charCodeAt(l++) ? (e.consume(y), l === X.length ? r.interrupt ? n : P : m) : t(y);
8253
+ const J = "CDATA[";
8254
+ return y === J.charCodeAt(l++) ? (e.consume(y), l === J.length ? r.interrupt ? n : P : m) : t(y);
8255
8255
  }
8256
8256
  function b(y) {
8257
8257
  return Ve(y) ? (e.consume(y), a = String.fromCharCode(y), k) : t(y);
8258
8258
  }
8259
8259
  function k(y) {
8260
8260
  if (y === null || y === 47 || y === 62 || Ce(y)) {
8261
- const X = y === 47, ie = a.toLowerCase();
8262
- return !X && !o && go.includes(ie) ? (i = 1, r.interrupt ? n(y) : P(y)) : W$.includes(a.toLowerCase()) ? (i = 6, X ? (e.consume(y), v) : r.interrupt ? n(y) : P(y)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? t(y) : o ? S(y) : C(y));
8261
+ const J = y === 47, ie = a.toLowerCase();
8262
+ return !J && !o && go.includes(ie) ? (i = 1, r.interrupt ? n(y) : P(y)) : W$.includes(a.toLowerCase()) ? (i = 6, J ? (e.consume(y), v) : r.interrupt ? n(y) : P(y)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? t(y) : o ? S(y) : C(y));
8263
8263
  }
8264
8264
  return y === 45 || De(y) ? (e.consume(y), a += String.fromCharCode(y), k) : t(y);
8265
8265
  }
@@ -8297,10 +8297,10 @@ function X$(e, n, t) {
8297
8297
  return y === null || te(y) ? P(y) : fe(y) ? (e.consume(y), T) : t(y);
8298
8298
  }
8299
8299
  function P(y) {
8300
- return y === 45 && i === 2 ? (e.consume(y), V) : y === 60 && i === 1 ? (e.consume(y), q) : y === 62 && i === 4 ? (e.consume(y), _) : y === 63 && i === 3 ? (e.consume(y), h) : y === 93 && i === 5 ? (e.consume(y), W) : te(y) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(Y$, Q, O)(y)) : y === null || te(y) ? (e.exit("htmlFlowData"), O(y)) : (e.consume(y), P);
8300
+ return y === 45 && i === 2 ? (e.consume(y), V) : y === 60 && i === 1 ? (e.consume(y), q) : y === 62 && i === 4 ? (e.consume(y), _) : y === 63 && i === 3 ? (e.consume(y), h) : y === 93 && i === 5 ? (e.consume(y), G) : te(y) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(Y$, X, O)(y)) : y === null || te(y) ? (e.exit("htmlFlowData"), O(y)) : (e.consume(y), P);
8301
8301
  }
8302
8302
  function O(y) {
8303
- return e.check(K$, L, Q)(y);
8303
+ return e.check(K$, L, X)(y);
8304
8304
  }
8305
8305
  function L(y) {
8306
8306
  return e.enter("lineEnding"), e.consume(y), e.exit("lineEnding"), z;
@@ -8316,21 +8316,21 @@ function X$(e, n, t) {
8316
8316
  }
8317
8317
  function re(y) {
8318
8318
  if (y === 62) {
8319
- const X = a.toLowerCase();
8320
- return go.includes(X) ? (e.consume(y), _) : P(y);
8319
+ const J = a.toLowerCase();
8320
+ return go.includes(J) ? (e.consume(y), _) : P(y);
8321
8321
  }
8322
8322
  return Ve(y) && a.length < 8 ? (e.consume(y), a += String.fromCharCode(y), re) : P(y);
8323
8323
  }
8324
- function W(y) {
8324
+ function G(y) {
8325
8325
  return y === 93 ? (e.consume(y), h) : P(y);
8326
8326
  }
8327
8327
  function h(y) {
8328
8328
  return y === 62 ? (e.consume(y), _) : y === 45 && i === 2 ? (e.consume(y), h) : P(y);
8329
8329
  }
8330
8330
  function _(y) {
8331
- return y === null || te(y) ? (e.exit("htmlFlowData"), Q(y)) : (e.consume(y), _);
8331
+ return y === null || te(y) ? (e.exit("htmlFlowData"), X(y)) : (e.consume(y), _);
8332
8332
  }
8333
- function Q(y) {
8333
+ function X(y) {
8334
8334
  return e.exit("htmlFlow"), n(y);
8335
8335
  }
8336
8336
  }
@@ -8441,9 +8441,9 @@ function eC(e, n, t) {
8441
8441
  return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(h), e.exit("lineEnding"), re;
8442
8442
  }
8443
8443
  function re(h) {
8444
- return fe(h) ? he(e, W, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(h) : W(h);
8444
+ return fe(h) ? he(e, G, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(h) : G(h);
8445
8445
  }
8446
- function W(h) {
8446
+ function G(h) {
8447
8447
  return e.enter("htmlTextData"), a(h);
8448
8448
  }
8449
8449
  }
@@ -9065,50 +9065,50 @@ function BC(e, n, t) {
9065
9065
  function N(T, P) {
9066
9066
  return O;
9067
9067
  function O(L, z, V) {
9068
- let q, re, W, h;
9068
+ let q, re, G, h;
9069
9069
  return Array.isArray(L) ? (
9070
9070
  /* c8 ignore next 1 */
9071
- Q(L)
9071
+ X(L)
9072
9072
  ) : "tokenize" in L ? (
9073
9073
  // Looks like a construct.
9074
- Q([
9074
+ X([
9075
9075
  /** @type {Construct} */
9076
9076
  L
9077
9077
  ])
9078
9078
  ) : _(L);
9079
- function _(K) {
9079
+ function _(Y) {
9080
9080
  return ee;
9081
9081
  function ee(Z) {
9082
- const oe = Z !== null && K[Z], G = Z !== null && K.null, ge = [
9082
+ const oe = Z !== null && Y[Z], K = Z !== null && Y.null, ge = [
9083
9083
  // To do: add more extension tests.
9084
9084
  /* c8 ignore next 2 */
9085
9085
  ...Array.isArray(oe) ? oe : oe ? [oe] : [],
9086
- ...Array.isArray(G) ? G : G ? [G] : []
9086
+ ...Array.isArray(K) ? K : K ? [K] : []
9087
9087
  ];
9088
- return Q(ge)(Z);
9088
+ return X(ge)(Z);
9089
9089
  }
9090
9090
  }
9091
- function Q(K) {
9092
- return q = K, re = 0, K.length === 0 ? V : y(K[re]);
9091
+ function X(Y) {
9092
+ return q = Y, re = 0, Y.length === 0 ? V : y(Y[re]);
9093
9093
  }
9094
- function y(K) {
9094
+ function y(Y) {
9095
9095
  return ee;
9096
9096
  function ee(Z) {
9097
- return h = F(), W = K, K.partial || (c.currentConstruct = K), K.name && c.parser.constructs.disable.null.includes(K.name) ? ie() : K.tokenize.call(
9097
+ return h = F(), G = Y, Y.partial || (c.currentConstruct = Y), Y.name && c.parser.constructs.disable.null.includes(Y.name) ? ie() : Y.tokenize.call(
9098
9098
  // If we do have fields, create an object w/ `context` as its
9099
9099
  // prototype.
9100
9100
  // This allows a “live binding”, which is needed for `interrupt`.
9101
9101
  P ? Object.assign(Object.create(c), P) : c,
9102
9102
  s,
9103
- X,
9103
+ J,
9104
9104
  ie
9105
9105
  )(Z);
9106
9106
  }
9107
9107
  }
9108
- function X(K) {
9109
- return T(W, h), z;
9108
+ function J(Y) {
9109
+ return T(G, h), z;
9110
9110
  }
9111
- function ie(K) {
9111
+ function ie(Y) {
9112
9112
  return h.restore(), ++re < q.length ? y(q[re]) : V;
9113
9113
  }
9114
9114
  }
@@ -9273,7 +9273,7 @@ function JC(e) {
9273
9273
  autolinkProtocol: F,
9274
9274
  autolinkEmail: F,
9275
9275
  atxHeading: o(We),
9276
- blockQuote: o(G),
9276
+ blockQuote: o(K),
9277
9277
  characterEscape: F,
9278
9278
  characterReference: F,
9279
9279
  codeFenced: o(ge),
@@ -9321,7 +9321,7 @@ function JC(e) {
9321
9321
  characterEscapeValue: x,
9322
9322
  characterReferenceMarkerHexadecimal: ie,
9323
9323
  characterReferenceMarkerNumeric: ie,
9324
- characterReferenceValue: K,
9324
+ characterReferenceValue: Y,
9325
9325
  characterReference: ee,
9326
9326
  codeFenced: s(k),
9327
9327
  codeFencedFence: b,
@@ -9344,7 +9344,7 @@ function JC(e) {
9344
9344
  htmlText: s(L),
9345
9345
  htmlTextData: x,
9346
9346
  image: s(q),
9347
- label: W,
9347
+ label: G,
9348
9348
  labelText: re,
9349
9349
  lineEnding: T,
9350
9350
  link: s(V),
@@ -9352,10 +9352,10 @@ function JC(e) {
9352
9352
  listOrdered: s(),
9353
9353
  listUnordered: s(),
9354
9354
  paragraph: s(),
9355
- referenceString: X,
9355
+ referenceString: J,
9356
9356
  resourceDestinationString: h,
9357
9357
  resourceTitleString: _,
9358
- resource: Q,
9358
+ resource: X,
9359
9359
  setextHeading: s(R),
9360
9360
  setextHeadingLineSequence: N,
9361
9361
  setextHeadingText: $,
@@ -9619,7 +9619,7 @@ function JC(e) {
9619
9619
  const j = this.sliceSerialize(A), le = this.stack[this.stack.length - 2];
9620
9620
  le.label = KC(j), le.identifier = st(j).toLowerCase();
9621
9621
  }
9622
- function W() {
9622
+ function G() {
9623
9623
  const A = this.stack[this.stack.length - 1], j = this.resume(), le = this.stack[this.stack.length - 1];
9624
9624
  if (this.data.inReference = !0, le.type === "link") {
9625
9625
  const de = A.children;
@@ -9635,20 +9635,20 @@ function JC(e) {
9635
9635
  const A = this.resume(), j = this.stack[this.stack.length - 1];
9636
9636
  j.title = A;
9637
9637
  }
9638
- function Q() {
9638
+ function X() {
9639
9639
  this.data.inReference = void 0;
9640
9640
  }
9641
9641
  function y() {
9642
9642
  this.data.referenceType = "collapsed";
9643
9643
  }
9644
- function X(A) {
9644
+ function J(A) {
9645
9645
  const j = this.resume(), le = this.stack[this.stack.length - 1];
9646
9646
  le.label = j, le.identifier = st(this.sliceSerialize(A)).toLowerCase(), this.data.referenceType = "full";
9647
9647
  }
9648
9648
  function ie(A) {
9649
9649
  this.data.characterReferenceType = A.type;
9650
9650
  }
9651
- function K(A) {
9651
+ function Y(A) {
9652
9652
  const j = this.sliceSerialize(A), le = this.data.characterReferenceType;
9653
9653
  let de;
9654
9654
  le ? (de = Va(j, le === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : de = Xr(j);
@@ -9669,7 +9669,7 @@ function JC(e) {
9669
9669
  const j = this.stack[this.stack.length - 1];
9670
9670
  j.url = "mailto:" + this.sliceSerialize(A);
9671
9671
  }
9672
- function G() {
9672
+ function K() {
9673
9673
  return {
9674
9674
  type: "blockquote",
9675
9675
  children: []
@@ -13951,16 +13951,16 @@ function AE() {
13951
13951
  var v = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
13952
13952
  function S(w) {
13953
13953
  {
13954
- for (var D = arguments.length, Y = new Array(D > 1 ? D - 1 : 0), ae = 1; ae < D; ae++)
13955
- Y[ae - 1] = arguments[ae];
13956
- C("error", w, Y);
13954
+ for (var D = arguments.length, W = new Array(D > 1 ? D - 1 : 0), ae = 1; ae < D; ae++)
13955
+ W[ae - 1] = arguments[ae];
13956
+ C("error", w, W);
13957
13957
  }
13958
13958
  }
13959
- function C(w, D, Y) {
13959
+ function C(w, D, W) {
13960
13960
  {
13961
13961
  var ae = v.ReactDebugCurrentFrame, xe = ae.getStackAddendum();
13962
- xe !== "" && (D += "%s", Y = Y.concat([xe]));
13963
- var $e = Y.map(function(ye) {
13962
+ xe !== "" && (D += "%s", W = W.concat([xe]));
13963
+ var $e = W.map(function(ye) {
13964
13964
  return String(ye);
13965
13965
  });
13966
13966
  $e.unshift("Warning: " + D), Function.prototype.apply.call(console[w], console, $e);
@@ -13975,12 +13975,12 @@ function AE() {
13975
13975
  // with.
13976
13976
  w.$$typeof === F || w.getModuleId !== void 0));
13977
13977
  }
13978
- function T(w, D, Y) {
13978
+ function T(w, D, W) {
13979
13979
  var ae = w.displayName;
13980
13980
  if (ae)
13981
13981
  return ae;
13982
13982
  var xe = D.displayName || D.name || "";
13983
- return xe !== "" ? Y + "(" + xe + ")" : Y;
13983
+ return xe !== "" ? W + "(" + xe + ")" : W;
13984
13984
  }
13985
13985
  function P(w) {
13986
13986
  return w.displayName || "Context";
@@ -14012,8 +14012,8 @@ function AE() {
14012
14012
  var D = w;
14013
14013
  return P(D) + ".Consumer";
14014
14014
  case a:
14015
- var Y = w;
14016
- return P(Y._context) + ".Provider";
14015
+ var W = w;
14016
+ return P(W._context) + ".Provider";
14017
14017
  case s:
14018
14018
  return T(w, w.render, "ForwardRef");
14019
14019
  case u:
@@ -14030,14 +14030,14 @@ function AE() {
14030
14030
  }
14031
14031
  return null;
14032
14032
  }
14033
- var L = Object.assign, z = 0, V, q, re, W, h, _, Q;
14033
+ var L = Object.assign, z = 0, V, q, re, G, h, _, X;
14034
14034
  function y() {
14035
14035
  }
14036
14036
  y.__reactDisabledLog = !0;
14037
- function X() {
14037
+ function J() {
14038
14038
  {
14039
14039
  if (z === 0) {
14040
- V = console.log, q = console.info, re = console.warn, W = console.error, h = console.group, _ = console.groupCollapsed, Q = console.groupEnd;
14040
+ V = console.log, q = console.info, re = console.warn, G = console.error, h = console.group, _ = console.groupCollapsed, X = console.groupEnd;
14041
14041
  var w = {
14042
14042
  configurable: !0,
14043
14043
  enumerable: !0,
@@ -14076,7 +14076,7 @@ function AE() {
14076
14076
  value: re
14077
14077
  }),
14078
14078
  error: L({}, w, {
14079
- value: W
14079
+ value: G
14080
14080
  }),
14081
14081
  group: L({}, w, {
14082
14082
  value: h
@@ -14085,15 +14085,15 @@ function AE() {
14085
14085
  value: _
14086
14086
  }),
14087
14087
  groupEnd: L({}, w, {
14088
- value: Q
14088
+ value: X
14089
14089
  })
14090
14090
  });
14091
14091
  }
14092
14092
  z < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
14093
14093
  }
14094
14094
  }
14095
- var K = v.ReactCurrentDispatcher, ee;
14096
- function Z(w, D, Y) {
14095
+ var Y = v.ReactCurrentDispatcher, ee;
14096
+ function Z(w, D, W) {
14097
14097
  {
14098
14098
  if (ee === void 0)
14099
14099
  try {
@@ -14106,25 +14106,25 @@ function AE() {
14106
14106
  ` + ee + w;
14107
14107
  }
14108
14108
  }
14109
- var oe = !1, G;
14109
+ var oe = !1, K;
14110
14110
  {
14111
14111
  var ge = typeof WeakMap == "function" ? WeakMap : Map;
14112
- G = new ge();
14112
+ K = new ge();
14113
14113
  }
14114
14114
  function B(w, D) {
14115
14115
  if (!w || oe)
14116
14116
  return "";
14117
14117
  {
14118
- var Y = G.get(w);
14119
- if (Y !== void 0)
14120
- return Y;
14118
+ var W = K.get(w);
14119
+ if (W !== void 0)
14120
+ return W;
14121
14121
  }
14122
14122
  var ae;
14123
14123
  oe = !0;
14124
14124
  var xe = Error.prepareStackTrace;
14125
14125
  Error.prepareStackTrace = void 0;
14126
14126
  var $e;
14127
- $e = K.current, K.current = null, X();
14127
+ $e = Y.current, Y.current = null, J();
14128
14128
  try {
14129
14129
  if (D) {
14130
14130
  var ye = function() {
@@ -14170,26 +14170,26 @@ function AE() {
14170
14170
  if (Te--, Ne--, Ne < 0 || pe[Te] !== He[Ne]) {
14171
14171
  var nt = `
14172
14172
  ` + pe[Te].replace(" at new ", " at ");
14173
- return w.displayName && nt.includes("<anonymous>") && (nt = nt.replace("<anonymous>", w.displayName)), typeof w == "function" && G.set(w, nt), nt;
14173
+ return w.displayName && nt.includes("<anonymous>") && (nt = nt.replace("<anonymous>", w.displayName)), typeof w == "function" && K.set(w, nt), nt;
14174
14174
  }
14175
14175
  while (Te >= 1 && Ne >= 0);
14176
14176
  break;
14177
14177
  }
14178
14178
  }
14179
14179
  } finally {
14180
- oe = !1, K.current = $e, ie(), Error.prepareStackTrace = xe;
14180
+ oe = !1, Y.current = $e, ie(), Error.prepareStackTrace = xe;
14181
14181
  }
14182
14182
  var At = w ? w.displayName || w.name : "", Et = At ? Z(At) : "";
14183
- return typeof w == "function" && G.set(w, Et), Et;
14183
+ return typeof w == "function" && K.set(w, Et), Et;
14184
14184
  }
14185
- function Fe(w, D, Y) {
14185
+ function Fe(w, D, W) {
14186
14186
  return B(w, !1);
14187
14187
  }
14188
14188
  function et(w) {
14189
14189
  var D = w.prototype;
14190
14190
  return !!(D && D.isReactComponent);
14191
14191
  }
14192
- function We(w, D, Y) {
14192
+ function We(w, D, W) {
14193
14193
  if (w == null)
14194
14194
  return "";
14195
14195
  if (typeof w == "function")
@@ -14207,11 +14207,11 @@ function AE() {
14207
14207
  case s:
14208
14208
  return Fe(w.render);
14209
14209
  case u:
14210
- return We(w.type, D, Y);
14210
+ return We(w.type, D, W);
14211
14211
  case f: {
14212
14212
  var ae = w, xe = ae._payload, $e = ae._init;
14213
14213
  try {
14214
- return We($e(xe), D, Y);
14214
+ return We($e(xe), D, W);
14215
14215
  } catch {
14216
14216
  }
14217
14217
  }
@@ -14221,12 +14221,12 @@ function AE() {
14221
14221
  var Ge = Object.prototype.hasOwnProperty, tt = {}, it = v.ReactDebugCurrentFrame;
14222
14222
  function ut(w) {
14223
14223
  if (w) {
14224
- var D = w._owner, Y = We(w.type, w._source, D ? D.type : null);
14225
- it.setExtraStackFrame(Y);
14224
+ var D = w._owner, W = We(w.type, w._source, D ? D.type : null);
14225
+ it.setExtraStackFrame(W);
14226
14226
  } else
14227
14227
  it.setExtraStackFrame(null);
14228
14228
  }
14229
- function ue(w, D, Y, ae, xe) {
14229
+ function ue(w, D, W, ae, xe) {
14230
14230
  {
14231
14231
  var $e = Function.call.bind(Ge);
14232
14232
  for (var ye in w)
@@ -14234,14 +14234,14 @@ function AE() {
14234
14234
  var pe = void 0;
14235
14235
  try {
14236
14236
  if (typeof w[ye] != "function") {
14237
- var He = Error((ae || "React class") + ": " + Y + " type `" + ye + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof w[ye] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
14237
+ var He = Error((ae || "React class") + ": " + W + " type `" + ye + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof w[ye] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
14238
14238
  throw He.name = "Invariant Violation", He;
14239
14239
  }
14240
- pe = w[ye](D, ye, ae, Y, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
14240
+ pe = w[ye](D, ye, ae, W, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
14241
14241
  } catch (Te) {
14242
14242
  pe = Te;
14243
14243
  }
14244
- pe && !(pe instanceof Error) && (ut(xe), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", ae || "React class", Y, ye, typeof pe), ut(null)), pe instanceof Error && !(pe.message in tt) && (tt[pe.message] = !0, ut(xe), S("Failed %s type: %s", Y, pe.message), ut(null));
14244
+ pe && !(pe instanceof Error) && (ut(xe), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", ae || "React class", W, ye, typeof pe), ut(null)), pe instanceof Error && !(pe.message in tt) && (tt[pe.message] = !0, ut(xe), S("Failed %s type: %s", W, pe.message), ut(null));
14245
14245
  }
14246
14246
  }
14247
14247
  }
@@ -14251,8 +14251,8 @@ function AE() {
14251
14251
  }
14252
14252
  function ot(w) {
14253
14253
  {
14254
- var D = typeof Symbol == "function" && Symbol.toStringTag, Y = D && w[Symbol.toStringTag] || w.constructor.name || "Object";
14255
- return Y;
14254
+ var D = typeof Symbol == "function" && Symbol.toStringTag, W = D && w[Symbol.toStringTag] || w.constructor.name || "Object";
14255
+ return W;
14256
14256
  }
14257
14257
  }
14258
14258
  function dt(w) {
@@ -14296,34 +14296,34 @@ function AE() {
14296
14296
  }
14297
14297
  function Ct(w, D) {
14298
14298
  {
14299
- var Y = function() {
14299
+ var W = function() {
14300
14300
  de || (de = !0, S("%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://reactjs.org/link/special-props)", D));
14301
14301
  };
14302
- Y.isReactWarning = !0, Object.defineProperty(w, "key", {
14303
- get: Y,
14302
+ W.isReactWarning = !0, Object.defineProperty(w, "key", {
14303
+ get: W,
14304
14304
  configurable: !0
14305
14305
  });
14306
14306
  }
14307
14307
  }
14308
14308
  function St(w, D) {
14309
14309
  {
14310
- var Y = function() {
14310
+ var W = function() {
14311
14311
  ve || (ve = !0, S("%s: `ref` 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://reactjs.org/link/special-props)", D));
14312
14312
  };
14313
- Y.isReactWarning = !0, Object.defineProperty(w, "ref", {
14314
- get: Y,
14313
+ W.isReactWarning = !0, Object.defineProperty(w, "ref", {
14314
+ get: W,
14315
14315
  configurable: !0
14316
14316
  });
14317
14317
  }
14318
14318
  }
14319
- var Ue = function(w, D, Y, ae, xe, $e, ye) {
14319
+ var Ue = function(w, D, W, ae, xe, $e, ye) {
14320
14320
  var pe = {
14321
14321
  // This tag allows us to uniquely identify this as a React Element
14322
14322
  $$typeof: n,
14323
14323
  // Built-in properties that belong on the element
14324
14324
  type: w,
14325
14325
  key: D,
14326
- ref: Y,
14326
+ ref: W,
14327
14327
  props: ye,
14328
14328
  // Record the component responsible for creating this element.
14329
14329
  _owner: $e
@@ -14345,10 +14345,10 @@ function AE() {
14345
14345
  value: xe
14346
14346
  }), Object.freeze && (Object.freeze(pe.props), Object.freeze(pe)), pe;
14347
14347
  };
14348
- function vt(w, D, Y, ae, xe) {
14348
+ function vt(w, D, W, ae, xe) {
14349
14349
  {
14350
14350
  var $e, ye = {}, pe = null, He = null;
14351
- Y !== void 0 && (A(Y), pe = "" + Y), mt(D) && (A(D.key), pe = "" + D.key), Xe(D) && (He = D.ref, at(D, xe));
14351
+ W !== void 0 && (A(W), pe = "" + W), mt(D) && (A(D.key), pe = "" + D.key), Xe(D) && (He = D.ref, at(D, xe));
14352
14352
  for ($e in D)
14353
14353
  Ge.call(D, $e) && !le.hasOwnProperty($e) && (ye[$e] = D[$e]);
14354
14354
  if (w && w.defaultProps) {
@@ -14366,8 +14366,8 @@ function AE() {
14366
14366
  var Je = v.ReactCurrentOwner, li = v.ReactDebugCurrentFrame;
14367
14367
  function zt(w) {
14368
14368
  if (w) {
14369
- var D = w._owner, Y = We(w.type, w._source, D ? D.type : null);
14370
- li.setExtraStackFrame(Y);
14369
+ var D = w._owner, W = We(w.type, w._source, D ? D.type : null);
14370
+ li.setExtraStackFrame(W);
14371
14371
  } else
14372
14372
  li.setExtraStackFrame(null);
14373
14373
  }
@@ -14396,10 +14396,10 @@ Check the render method of \`` + w + "`.";
14396
14396
  {
14397
14397
  var D = si();
14398
14398
  if (!D) {
14399
- var Y = typeof w == "string" ? w : w.displayName || w.name;
14400
- Y && (D = `
14399
+ var W = typeof w == "string" ? w : w.displayName || w.name;
14400
+ W && (D = `
14401
14401
 
14402
- Check the top-level render call using <` + Y + ">.");
14402
+ Check the top-level render call using <` + W + ">.");
14403
14403
  }
14404
14404
  return D;
14405
14405
  }
@@ -14409,12 +14409,12 @@ Check the top-level render call using <` + Y + ">.");
14409
14409
  if (!w._store || w._store.validated || w.key != null)
14410
14410
  return;
14411
14411
  w._store.validated = !0;
14412
- var Y = _l(D);
14413
- if (ci[Y])
14412
+ var W = _l(D);
14413
+ if (ci[W])
14414
14414
  return;
14415
- ci[Y] = !0;
14415
+ ci[W] = !0;
14416
14416
  var ae = "";
14417
- w && w._owner && w._owner !== Je.current && (ae = " It was passed a child from " + O(w._owner.type) + "."), zt(w), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Y, ae), zt(null);
14417
+ w && w._owner && w._owner !== Je.current && (ae = " It was passed a child from " + O(w._owner.type) + "."), zt(w), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', W, ae), zt(null);
14418
14418
  }
14419
14419
  }
14420
14420
  function di(w, D) {
@@ -14422,8 +14422,8 @@ Check the top-level render call using <` + Y + ">.");
14422
14422
  if (typeof w != "object")
14423
14423
  return;
14424
14424
  if (Be(w))
14425
- for (var Y = 0; Y < w.length; Y++) {
14426
- var ae = w[Y];
14425
+ for (var W = 0; W < w.length; W++) {
14426
+ var ae = w[W];
14427
14427
  qn(ae) && ui(ae, D);
14428
14428
  }
14429
14429
  else if (qn(w))
@@ -14441,18 +14441,18 @@ Check the top-level render call using <` + Y + ">.");
14441
14441
  var D = w.type;
14442
14442
  if (D == null || typeof D == "string")
14443
14443
  return;
14444
- var Y;
14444
+ var W;
14445
14445
  if (typeof D == "function")
14446
- Y = D.propTypes;
14446
+ W = D.propTypes;
14447
14447
  else if (typeof D == "object" && (D.$$typeof === s || // Note: Memo only checks outer props here.
14448
14448
  // Inner props are checked in the reconciler.
14449
14449
  D.$$typeof === u))
14450
- Y = D.propTypes;
14450
+ W = D.propTypes;
14451
14451
  else
14452
14452
  return;
14453
- if (Y) {
14453
+ if (W) {
14454
14454
  var ae = O(D);
14455
- ue(Y, w.props, "prop", ae, w);
14455
+ ue(W, w.props, "prop", ae, w);
14456
14456
  } else if (D.PropTypes !== void 0 && !Wn) {
14457
14457
  Wn = !0;
14458
14458
  var xe = O(D);
@@ -14463,8 +14463,8 @@ Check the top-level render call using <` + Y + ">.");
14463
14463
  }
14464
14464
  function Ml(w) {
14465
14465
  {
14466
- for (var D = Object.keys(w.props), Y = 0; Y < D.length; Y++) {
14467
- var ae = D[Y];
14466
+ for (var D = Object.keys(w.props), W = 0; W < D.length; W++) {
14467
+ var ae = D[W];
14468
14468
  if (ae !== "children" && ae !== "key") {
14469
14469
  zt(w), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", ae), zt(null);
14470
14470
  break;
@@ -14474,7 +14474,7 @@ Check the top-level render call using <` + Y + ">.");
14474
14474
  }
14475
14475
  }
14476
14476
  var fi = {};
14477
- function pi(w, D, Y, ae, xe, $e) {
14477
+ function pi(w, D, W, ae, xe, $e) {
14478
14478
  {
14479
14479
  var ye = x(w);
14480
14480
  if (!ye) {
@@ -14485,7 +14485,7 @@ Check the top-level render call using <` + Y + ">.");
14485
14485
  var Te;
14486
14486
  w === null ? Te = "null" : Be(w) ? Te = "array" : w !== void 0 && w.$$typeof === n ? (Te = "<" + (O(w.type) || "Unknown") + " />", pe = " Did you accidentally export a JSX literal instead of a component?") : Te = typeof w, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Te, pe);
14487
14487
  }
14488
- var Ne = vt(w, D, Y, xe, $e);
14488
+ var Ne = vt(w, D, W, xe, $e);
14489
14489
  if (Ne == null)
14490
14490
  return Ne;
14491
14491
  if (ye) {
@@ -14518,11 +14518,11 @@ React keys must be passed directly to JSX without using spread:
14518
14518
  return w === r ? Ml(Ne) : Dl(Ne), Ne;
14519
14519
  }
14520
14520
  }
14521
- function jl(w, D, Y) {
14522
- return pi(w, D, Y, !0);
14521
+ function jl(w, D, W) {
14522
+ return pi(w, D, W, !0);
14523
14523
  }
14524
- function Bl(w, D, Y) {
14525
- return pi(w, D, Y, !1);
14524
+ function Bl(w, D, W) {
14525
+ return pi(w, D, W, !1);
14526
14526
  }
14527
14527
  var Ul = Bl, Hl = jl;
14528
14528
  gn.Fragment = r, gn.jsx = Ul, gn.jsxs = Hl;
@@ -15020,13 +15020,13 @@ const Al = bt(void 0), IE = ({ children: e }) => {
15020
15020
  fontFamily: V = "Nunito Sans, sans-serif",
15021
15021
  language: q = "en-US",
15022
15022
  permissions: re = {},
15023
- collapsibleNav: W = !1,
15023
+ collapsibleNav: G = !1,
15024
15024
  defaultNavExpanded: h = !0,
15025
15025
  className: _ = "",
15026
- style: Q = {},
15026
+ style: X = {},
15027
15027
  formatDate: y = h7
15028
15028
  }) => {
15029
- const [X, ie] = H(""), [K, ee] = H(h), Z = u7(), { containerRef: oe, colSizes: G, isDragging: ge, handleMouseMove: B, handleMouseUp: Fe, handleMouseDown: et } = d7(20, 80), We = {
15029
+ const [J, ie] = H(""), [Y, ee] = H(h), Z = u7(), { containerRef: oe, colSizes: K, isDragging: ge, handleMouseMove: B, handleMouseUp: Fe, handleMouseDown: et } = d7(20, 80), We = {
15030
15030
  "--file-manager-font-family": V,
15031
15031
  "--file-manager-primary-color": z,
15032
15032
  height: T,
@@ -15042,7 +15042,7 @@ const Al = bt(void 0), IE = ({ children: e }) => {
15042
15042
  {
15043
15043
  className: `file-explorer ${_}`,
15044
15044
  onContextMenu: (it) => it.preventDefault(),
15045
- style: { ...We, ...Q },
15045
+ style: { ...We, ...X },
15046
15046
  children: [
15047
15047
  /* @__PURE__ */ g(Dr, { loading: o }),
15048
15048
  /* @__PURE__ */ g(c6, { children: /* @__PURE__ */ g(l6, { language: q, children: /* @__PURE__ */ g(vs, { filesData: n, onError: E, children: /* @__PURE__ */ g(bs, { initialPath: O, onFolderChange: S, children: /* @__PURE__ */ g(
@@ -15073,9 +15073,9 @@ const Al = bt(void 0), IE = ({ children: e }) => {
15073
15073
  /* @__PURE__ */ U(
15074
15074
  "div",
15075
15075
  {
15076
- className: `navigation-pane ${K ? "open" : "closed"}`,
15076
+ className: `navigation-pane ${Y ? "open" : "closed"}`,
15077
15077
  style: {
15078
- width: G.col1 + "%"
15078
+ width: K.col1 + "%"
15079
15079
  },
15080
15080
  children: [
15081
15081
  /* @__PURE__ */ g(ba, { onFileOpen: v, icons: i }),
@@ -15093,13 +15093,13 @@ const Al = bt(void 0), IE = ({ children: e }) => {
15093
15093
  "div",
15094
15094
  {
15095
15095
  className: "folders-preview",
15096
- style: { width: (K ? G.col2 : 100) + "%" },
15096
+ style: { width: (Y ? K.col2 : 100) + "%" },
15097
15097
  children: [
15098
15098
  /* @__PURE__ */ g(
15099
15099
  Ur,
15100
15100
  {
15101
- collapsibleNav: W,
15102
- isNavigationPaneOpen: K,
15101
+ collapsibleNav: G,
15102
+ isNavigationPaneOpen: Y,
15103
15103
  onNavigationPaneChange: ee,
15104
15104
  tirggerAction: Z,
15105
15105
  onSearchUpdated: Ge
@@ -15118,7 +15118,7 @@ const Al = bt(void 0), IE = ({ children: e }) => {
15118
15118
  triggerAction: Z,
15119
15119
  permissions: tt,
15120
15120
  formatDate: y,
15121
- filter: X
15121
+ filter: J
15122
15122
  }
15123
15123
  )
15124
15124
  ]
@@ -15153,64 +15153,64 @@ const Al = bt(void 0), IE = ({ children: e }) => {
15153
15153
  };
15154
15154
  Rl.displayName = "FileManager";
15155
15155
  Rl.propTypes = {
15156
- files: J.arrayOf(
15157
- J.shape({
15158
- name: J.string.isRequired,
15159
- isDirectory: J.bool.isRequired,
15160
- path: J.string.isRequired,
15156
+ files: Q.arrayOf(
15157
+ Q.shape({
15158
+ name: Q.string.isRequired,
15159
+ isDirectory: Q.bool.isRequired,
15160
+ path: Q.string.isRequired,
15161
15161
  updatedAt: f7,
15162
- size: J.number,
15163
- class: J.string
15162
+ size: Q.number,
15163
+ class: Q.string
15164
15164
  })
15165
15165
  ).isRequired,
15166
- fileUploadConfig: J.shape({
15166
+ fileUploadConfig: Q.shape({
15167
15167
  url: Jo,
15168
- headers: J.objectOf(J.string),
15169
- method: J.oneOf(["POST", "PUT"])
15168
+ headers: Q.objectOf(Q.string),
15169
+ method: Q.oneOf(["POST", "PUT"])
15170
15170
  }),
15171
- isLoading: J.bool,
15172
- onCreateFolder: J.func,
15173
- onFileUploading: J.func,
15174
- onFileUploaded: J.func,
15175
- onRename: J.func,
15176
- onDelete: J.func,
15177
- onCut: J.func,
15178
- onCopy: J.func,
15179
- onPaste: J.func,
15180
- onDownload: J.func,
15181
- onLayoutChange: J.func,
15182
- onRefresh: J.func,
15183
- onFileOpen: J.func,
15184
- onFolderChange: J.func,
15185
- onSelect: J.func,
15186
- onSelectionChange: J.func,
15187
- onError: J.func,
15188
- layout: J.oneOf(["grid", "list"]),
15189
- maxFileSize: J.number,
15190
- enableFilePreview: J.bool,
15171
+ isLoading: Q.bool,
15172
+ onCreateFolder: Q.func,
15173
+ onFileUploading: Q.func,
15174
+ onFileUploaded: Q.func,
15175
+ onRename: Q.func,
15176
+ onDelete: Q.func,
15177
+ onCut: Q.func,
15178
+ onCopy: Q.func,
15179
+ onPaste: Q.func,
15180
+ onDownload: Q.func,
15181
+ onLayoutChange: Q.func,
15182
+ onRefresh: Q.func,
15183
+ onFileOpen: Q.func,
15184
+ onFolderChange: Q.func,
15185
+ onSelect: Q.func,
15186
+ onSelectionChange: Q.func,
15187
+ onError: Q.func,
15188
+ layout: Q.oneOf(["grid", "list"]),
15189
+ maxFileSize: Q.number,
15190
+ enableFilePreview: Q.bool,
15191
15191
  filePreviewPath: Jo,
15192
- acceptedFileTypes: J.arrayOf(J.string),
15193
- height: J.oneOfType([J.string, J.number]),
15194
- width: J.oneOfType([J.string, J.number]),
15195
- initialPath: J.string,
15196
- filePreviewComponent: J.func,
15197
- primaryColor: J.string,
15198
- fontFamily: J.string,
15199
- language: J.string,
15200
- permissions: J.shape({
15201
- create: J.bool,
15202
- upload: J.bool,
15203
- move: J.bool,
15204
- copy: J.bool,
15205
- rename: J.bool,
15206
- download: J.bool,
15207
- delete: J.bool
15192
+ acceptedFileTypes: Q.arrayOf(Q.string),
15193
+ height: Q.oneOfType([Q.string, Q.number]),
15194
+ width: Q.oneOfType([Q.string, Q.number]),
15195
+ initialPath: Q.string,
15196
+ filePreviewComponent: Q.func,
15197
+ primaryColor: Q.string,
15198
+ fontFamily: Q.string,
15199
+ language: Q.string,
15200
+ permissions: Q.shape({
15201
+ create: Q.bool,
15202
+ upload: Q.bool,
15203
+ move: Q.bool,
15204
+ copy: Q.bool,
15205
+ rename: Q.bool,
15206
+ download: Q.bool,
15207
+ delete: Q.bool
15208
15208
  }),
15209
- collapsibleNav: J.bool,
15210
- defaultNavExpanded: J.bool,
15211
- className: J.string,
15212
- style: J.object,
15213
- formatDate: J.func
15209
+ collapsibleNav: Q.bool,
15210
+ defaultNavExpanded: Q.bool,
15211
+ className: Q.string,
15212
+ style: Q.object,
15213
+ formatDate: Q.func
15214
15214
  };
15215
15215
  export {
15216
15216
  Rl as FileManager