@cubone/react-file-manager 1.9.1 → 1.9.2

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.
@@ -1,9 +1,9 @@
1
- import Me, { useState as Z, useRef as Pe, useEffect as ge, createContext as at, useContext as ot, useMemo as er } from "react";
2
- var En = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
3
- function Ut(e) {
1
+ import Me, { useState as Z, useRef as Pe, useEffect as ge, createContext as ot, useContext as it, useMemo as tr } from "react";
2
+ var On = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
3
+ function Yt(e) {
4
4
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
5
5
  }
6
- var $t = { exports: {} }, nt = {};
6
+ var Wt = { exports: {} }, rt = {};
7
7
  /**
8
8
  * @license React
9
9
  * react-jsx-runtime.production.min.js
@@ -13,21 +13,21 @@ var $t = { exports: {} }, nt = {};
13
13
  * This source code is licensed under the MIT license found in the
14
14
  * LICENSE file in the root directory of this source tree.
15
15
  */
16
- var Zt;
17
- function tr() {
18
- if (Zt) return nt;
19
- Zt = 1;
20
- var e = Me, o = Symbol.for("react.element"), c = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
16
+ var Qt;
17
+ function nr() {
18
+ if (Qt) return rt;
19
+ Qt = 1;
20
+ var e = Me, a = Symbol.for("react.element"), s = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
21
21
  function u(f, h, d) {
22
22
  var m, j = {}, x = null, S = null;
23
23
  d !== void 0 && (x = "" + d), h.key !== void 0 && (x = "" + h.key), h.ref !== void 0 && (S = h.ref);
24
24
  for (m in h) r.call(h, m) && !l.hasOwnProperty(m) && (j[m] = h[m]);
25
25
  if (f && f.defaultProps) for (m in h = f.defaultProps, h) j[m] === void 0 && (j[m] = h[m]);
26
- return { $$typeof: o, type: f, key: x, ref: S, props: j, _owner: a.current };
26
+ return { $$typeof: a, type: f, key: x, ref: S, props: j, _owner: o.current };
27
27
  }
28
- return nt.Fragment = c, nt.jsx = u, nt.jsxs = u, nt;
28
+ return rt.Fragment = s, rt.jsx = u, rt.jsxs = u, rt;
29
29
  }
30
- var rt = {};
30
+ var at = {};
31
31
  /**
32
32
  * @license React
33
33
  * react-jsx-runtime.development.js
@@ -37,89 +37,89 @@ var rt = {};
37
37
  * This source code is licensed under the MIT license found in the
38
38
  * LICENSE file in the root directory of this source tree.
39
39
  */
40
- var Qt;
41
- function nr() {
42
- return Qt || (Qt = 1, process.env.NODE_ENV !== "production" && function() {
43
- var e = Me, o = Symbol.for("react.element"), c = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), u = Symbol.for("react.provider"), f = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), V = Symbol.iterator, k = "@@iterator";
44
- function q(s) {
45
- if (s === null || typeof s != "object")
40
+ var en;
41
+ function rr() {
42
+ return en || (en = 1, process.env.NODE_ENV !== "production" && function() {
43
+ var e = Me, a = Symbol.for("react.element"), s = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), u = Symbol.for("react.provider"), f = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), V = Symbol.iterator, k = "@@iterator";
44
+ function q(c) {
45
+ if (c === null || typeof c != "object")
46
46
  return null;
47
- var F = V && s[V] || s[k];
48
- return typeof F == "function" ? F : null;
47
+ var A = V && c[V] || c[k];
48
+ return typeof A == "function" ? A : null;
49
49
  }
50
50
  var L = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
- function I(s) {
51
+ function I(c) {
52
52
  {
53
- for (var F = arguments.length, X = new Array(F > 1 ? F - 1 : 0), Q = 1; Q < F; Q++)
53
+ for (var A = arguments.length, X = new Array(A > 1 ? A - 1 : 0), Q = 1; Q < A; Q++)
54
54
  X[Q - 1] = arguments[Q];
55
- N("error", s, X);
55
+ N("error", c, X);
56
56
  }
57
57
  }
58
- function N(s, F, X) {
58
+ function N(c, A, X) {
59
59
  {
60
60
  var Q = L.ReactDebugCurrentFrame, fe = Q.getStackAddendum();
61
- fe !== "" && (F += "%s", X = X.concat([fe]));
61
+ fe !== "" && (A += "%s", X = X.concat([fe]));
62
62
  var me = X.map(function(t) {
63
63
  return String(t);
64
64
  });
65
- me.unshift("Warning: " + F), Function.prototype.apply.call(console[s], console, me);
65
+ me.unshift("Warning: " + A), Function.prototype.apply.call(console[c], console, me);
66
66
  }
67
67
  }
68
68
  var w = !1, i = !1, y = !1, O = !1, M = !1, U;
69
69
  U = Symbol.for("react.module.reference");
70
- function Y(s) {
71
- return !!(typeof s == "string" || typeof s == "function" || s === r || s === l || M || s === a || s === d || s === m || O || s === S || w || i || y || typeof s == "object" && s !== null && (s.$$typeof === x || s.$$typeof === j || s.$$typeof === u || s.$$typeof === f || s.$$typeof === h || // This needs to include all possible module reference object
70
+ function Y(c) {
71
+ return !!(typeof c == "string" || typeof c == "function" || c === r || c === l || M || c === o || c === d || c === m || O || c === S || w || i || y || typeof c == "object" && c !== null && (c.$$typeof === x || c.$$typeof === j || c.$$typeof === u || c.$$typeof === f || c.$$typeof === h || // This needs to include all possible module reference object
72
72
  // types supported by any Flight configuration anywhere since
73
73
  // we don't know which Flight build this will end up being used
74
74
  // with.
75
- s.$$typeof === U || s.getModuleId !== void 0));
75
+ c.$$typeof === U || c.getModuleId !== void 0));
76
76
  }
77
- function H(s, F, X) {
78
- var Q = s.displayName;
77
+ function H(c, A, X) {
78
+ var Q = c.displayName;
79
79
  if (Q)
80
80
  return Q;
81
- var fe = F.displayName || F.name || "";
81
+ var fe = A.displayName || A.name || "";
82
82
  return fe !== "" ? X + "(" + fe + ")" : X;
83
83
  }
84
- function G(s) {
85
- return s.displayName || "Context";
84
+ function G(c) {
85
+ return c.displayName || "Context";
86
86
  }
87
- function J(s) {
88
- if (s == null)
87
+ function J(c) {
88
+ if (c == null)
89
89
  return null;
90
- if (typeof s.tag == "number" && I("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof s == "function")
91
- return s.displayName || s.name || null;
92
- if (typeof s == "string")
93
- return s;
94
- switch (s) {
90
+ if (typeof c.tag == "number" && I("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof c == "function")
91
+ return c.displayName || c.name || null;
92
+ if (typeof c == "string")
93
+ return c;
94
+ switch (c) {
95
95
  case r:
96
96
  return "Fragment";
97
- case c:
97
+ case s:
98
98
  return "Portal";
99
99
  case l:
100
100
  return "Profiler";
101
- case a:
101
+ case o:
102
102
  return "StrictMode";
103
103
  case d:
104
104
  return "Suspense";
105
105
  case m:
106
106
  return "SuspenseList";
107
107
  }
108
- if (typeof s == "object")
109
- switch (s.$$typeof) {
108
+ if (typeof c == "object")
109
+ switch (c.$$typeof) {
110
110
  case f:
111
- var F = s;
112
- return G(F) + ".Consumer";
111
+ var A = c;
112
+ return G(A) + ".Consumer";
113
113
  case u:
114
- var X = s;
114
+ var X = c;
115
115
  return G(X._context) + ".Provider";
116
116
  case h:
117
- return H(s, s.render, "ForwardRef");
117
+ return H(c, c.render, "ForwardRef");
118
118
  case j:
119
- var Q = s.displayName || null;
120
- return Q !== null ? Q : J(s.type) || "Memo";
119
+ var Q = c.displayName || null;
120
+ return Q !== null ? Q : J(c.type) || "Memo";
121
121
  case x: {
122
- var fe = s, me = fe._payload, t = fe._init;
122
+ var fe = c, me = fe._payload, t = fe._init;
123
123
  try {
124
124
  return J(t(me));
125
125
  } catch {
@@ -137,20 +137,20 @@ function nr() {
137
137
  {
138
138
  if (ue === 0) {
139
139
  ne = console.log, ae = console.info, de = console.warn, ee = console.error, T = console.group, D = console.groupCollapsed, b = console.groupEnd;
140
- var s = {
140
+ var c = {
141
141
  configurable: !0,
142
142
  enumerable: !0,
143
143
  value: C,
144
144
  writable: !0
145
145
  };
146
146
  Object.defineProperties(console, {
147
- info: s,
148
- log: s,
149
- warn: s,
150
- error: s,
151
- group: s,
152
- groupCollapsed: s,
153
- groupEnd: s
147
+ info: c,
148
+ log: c,
149
+ warn: c,
150
+ error: c,
151
+ group: c,
152
+ groupCollapsed: c,
153
+ groupEnd: c
154
154
  });
155
155
  }
156
156
  ue++;
@@ -159,31 +159,31 @@ function nr() {
159
159
  function K() {
160
160
  {
161
161
  if (ue--, ue === 0) {
162
- var s = {
162
+ var c = {
163
163
  configurable: !0,
164
164
  enumerable: !0,
165
165
  writable: !0
166
166
  };
167
167
  Object.defineProperties(console, {
168
- log: te({}, s, {
168
+ log: te({}, c, {
169
169
  value: ne
170
170
  }),
171
- info: te({}, s, {
171
+ info: te({}, c, {
172
172
  value: ae
173
173
  }),
174
- warn: te({}, s, {
174
+ warn: te({}, c, {
175
175
  value: de
176
176
  }),
177
- error: te({}, s, {
177
+ error: te({}, c, {
178
178
  value: ee
179
179
  }),
180
- group: te({}, s, {
180
+ group: te({}, c, {
181
181
  value: T
182
182
  }),
183
- groupCollapsed: te({}, s, {
183
+ groupCollapsed: te({}, c, {
184
184
  value: D
185
185
  }),
186
- groupEnd: te({}, s, {
186
+ groupEnd: te({}, c, {
187
187
  value: b
188
188
  })
189
189
  });
@@ -192,7 +192,7 @@ function nr() {
192
192
  }
193
193
  }
194
194
  var $ = L.ReactCurrentDispatcher, p;
195
- function g(s, F, X) {
195
+ function g(c, A, X) {
196
196
  {
197
197
  if (p === void 0)
198
198
  try {
@@ -202,7 +202,7 @@ function nr() {
202
202
  p = Q && Q[1] || "";
203
203
  }
204
204
  return `
205
- ` + p + s;
205
+ ` + p + c;
206
206
  }
207
207
  }
208
208
  var _ = !1, R;
@@ -210,11 +210,11 @@ function nr() {
210
210
  var B = typeof WeakMap == "function" ? WeakMap : Map;
211
211
  R = new B();
212
212
  }
213
- function E(s, F) {
214
- if (!s || _)
213
+ function E(c, A) {
214
+ if (!c || _)
215
215
  return "";
216
216
  {
217
- var X = R.get(s);
217
+ var X = R.get(c);
218
218
  if (X !== void 0)
219
219
  return X;
220
220
  }
@@ -225,7 +225,7 @@ function nr() {
225
225
  var me;
226
226
  me = $.current, $.current = null, z();
227
227
  try {
228
- if (F) {
228
+ if (A) {
229
229
  var t = function() {
230
230
  throw Error();
231
231
  };
@@ -239,14 +239,14 @@ function nr() {
239
239
  } catch (ye) {
240
240
  Q = ye;
241
241
  }
242
- Reflect.construct(s, [], t);
242
+ Reflect.construct(c, [], t);
243
243
  } else {
244
244
  try {
245
245
  t.call();
246
246
  } catch (ye) {
247
247
  Q = ye;
248
248
  }
249
- s.call(t.prototype);
249
+ c.call(t.prototype);
250
250
  }
251
251
  } else {
252
252
  try {
@@ -254,63 +254,63 @@ function nr() {
254
254
  } catch (ye) {
255
255
  Q = ye;
256
256
  }
257
- s();
257
+ c();
258
258
  }
259
259
  } catch (ye) {
260
260
  if (ye && Q && typeof ye.stack == "string") {
261
261
  for (var v = ye.stack.split(`
262
262
  `), P = Q.stack.split(`
263
- `), A = v.length - 1, W = P.length - 1; A >= 1 && W >= 0 && v[A] !== P[W]; )
263
+ `), F = v.length - 1, W = P.length - 1; F >= 1 && W >= 0 && v[F] !== P[W]; )
264
264
  W--;
265
- for (; A >= 1 && W >= 0; A--, W--)
266
- if (v[A] !== P[W]) {
267
- if (A !== 1 || W !== 1)
265
+ for (; F >= 1 && W >= 0; F--, W--)
266
+ if (v[F] !== P[W]) {
267
+ if (F !== 1 || W !== 1)
268
268
  do
269
- if (A--, W--, W < 0 || v[A] !== P[W]) {
269
+ if (F--, W--, W < 0 || v[F] !== P[W]) {
270
270
  var oe = `
271
- ` + v[A].replace(" at new ", " at ");
272
- return s.displayName && oe.includes("<anonymous>") && (oe = oe.replace("<anonymous>", s.displayName)), typeof s == "function" && R.set(s, oe), oe;
271
+ ` + v[F].replace(" at new ", " at ");
272
+ return c.displayName && oe.includes("<anonymous>") && (oe = oe.replace("<anonymous>", c.displayName)), typeof c == "function" && R.set(c, oe), oe;
273
273
  }
274
- while (A >= 1 && W >= 0);
274
+ while (F >= 1 && W >= 0);
275
275
  break;
276
276
  }
277
277
  }
278
278
  } finally {
279
279
  _ = !1, $.current = me, K(), Error.prepareStackTrace = fe;
280
280
  }
281
- var se = s ? s.displayName || s.name : "", re = se ? g(se) : "";
282
- return typeof s == "function" && R.set(s, re), re;
281
+ var se = c ? c.displayName || c.name : "", re = se ? g(se) : "";
282
+ return typeof c == "function" && R.set(c, re), re;
283
283
  }
284
- function ce(s, F, X) {
285
- return E(s, !1);
284
+ function ce(c, A, X) {
285
+ return E(c, !1);
286
286
  }
287
- function le(s) {
288
- var F = s.prototype;
289
- return !!(F && F.isReactComponent);
287
+ function le(c) {
288
+ var A = c.prototype;
289
+ return !!(A && A.isReactComponent);
290
290
  }
291
- function be(s, F, X) {
292
- if (s == null)
291
+ function be(c, A, X) {
292
+ if (c == null)
293
293
  return "";
294
- if (typeof s == "function")
295
- return E(s, le(s));
296
- if (typeof s == "string")
297
- return g(s);
298
- switch (s) {
294
+ if (typeof c == "function")
295
+ return E(c, le(c));
296
+ if (typeof c == "string")
297
+ return g(c);
298
+ switch (c) {
299
299
  case d:
300
300
  return g("Suspense");
301
301
  case m:
302
302
  return g("SuspenseList");
303
303
  }
304
- if (typeof s == "object")
305
- switch (s.$$typeof) {
304
+ if (typeof c == "object")
305
+ switch (c.$$typeof) {
306
306
  case h:
307
- return ce(s.render);
307
+ return ce(c.render);
308
308
  case j:
309
- return be(s.type, F, X);
309
+ return be(c.type, A, X);
310
310
  case x: {
311
- var Q = s, fe = Q._payload, me = Q._init;
311
+ var Q = c, fe = Q._payload, me = Q._init;
312
312
  try {
313
- return be(me(fe), F, X);
313
+ return be(me(fe), A, X);
314
314
  } catch {
315
315
  }
316
316
  }
@@ -318,114 +318,114 @@ function nr() {
318
318
  return "";
319
319
  }
320
320
  var xe = Object.prototype.hasOwnProperty, _e = {}, Se = L.ReactDebugCurrentFrame;
321
- function ze(s) {
322
- if (s) {
323
- var F = s._owner, X = be(s.type, s._source, F ? F.type : null);
321
+ function ze(c) {
322
+ if (c) {
323
+ var A = c._owner, X = be(c.type, c._source, A ? A.type : null);
324
324
  Se.setExtraStackFrame(X);
325
325
  } else
326
326
  Se.setExtraStackFrame(null);
327
327
  }
328
- function jt(s, F, X, Q, fe) {
328
+ function Et(c, A, X, Q, fe) {
329
329
  {
330
330
  var me = Function.call.bind(xe);
331
- for (var t in s)
332
- if (me(s, t)) {
331
+ for (var t in c)
332
+ if (me(c, t)) {
333
333
  var v = void 0;
334
334
  try {
335
- if (typeof s[t] != "function") {
336
- var P = Error((Q || "React class") + ": " + X + " type `" + t + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[t] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
335
+ if (typeof c[t] != "function") {
336
+ var P = Error((Q || "React class") + ": " + X + " type `" + t + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof c[t] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
337
  throw P.name = "Invariant Violation", P;
338
338
  }
339
- v = s[t](F, t, Q, X, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
- } catch (A) {
341
- v = A;
339
+ v = c[t](A, t, Q, X, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
+ } catch (F) {
341
+ v = F;
342
342
  }
343
343
  v && !(v instanceof Error) && (ze(fe), I("%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).", Q || "React class", X, t, typeof v), ze(null)), v instanceof Error && !(v.message in _e) && (_e[v.message] = !0, ze(fe), I("Failed %s type: %s", X, v.message), ze(null));
344
344
  }
345
345
  }
346
346
  }
347
- var Et = Array.isArray;
348
- function We(s) {
349
- return Et(s);
347
+ var Ot = Array.isArray;
348
+ function We(c) {
349
+ return Ot(c);
350
350
  }
351
- function Ot(s) {
351
+ function Rt(c) {
352
352
  {
353
- var F = typeof Symbol == "function" && Symbol.toStringTag, X = F && s[Symbol.toStringTag] || s.constructor.name || "Object";
353
+ var A = typeof Symbol == "function" && Symbol.toStringTag, X = A && c[Symbol.toStringTag] || c.constructor.name || "Object";
354
354
  return X;
355
355
  }
356
356
  }
357
- function st(s) {
357
+ function ct(c) {
358
358
  try {
359
- return ct(s), !1;
359
+ return lt(c), !1;
360
360
  } catch {
361
361
  return !0;
362
362
  }
363
363
  }
364
- function ct(s) {
365
- return "" + s;
364
+ function lt(c) {
365
+ return "" + c;
366
366
  }
367
- function Le(s) {
368
- if (st(s))
369
- return I("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ot(s)), ct(s);
367
+ function Le(c) {
368
+ if (ct(c))
369
+ return I("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Rt(c)), lt(c);
370
370
  }
371
- var Fe = L.ReactCurrentOwner, lt = {
371
+ var Ae = L.ReactCurrentOwner, ut = {
372
372
  key: !0,
373
373
  ref: !0,
374
374
  __self: !0,
375
375
  __source: !0
376
376
  }, Be, Ue, De;
377
377
  De = {};
378
- function Rt(s) {
379
- if (xe.call(s, "ref")) {
380
- var F = Object.getOwnPropertyDescriptor(s, "ref").get;
381
- if (F && F.isReactWarning)
378
+ function Tt(c) {
379
+ if (xe.call(c, "ref")) {
380
+ var A = Object.getOwnPropertyDescriptor(c, "ref").get;
381
+ if (A && A.isReactWarning)
382
382
  return !1;
383
383
  }
384
- return s.ref !== void 0;
384
+ return c.ref !== void 0;
385
385
  }
386
- function Tt(s) {
387
- if (xe.call(s, "key")) {
388
- var F = Object.getOwnPropertyDescriptor(s, "key").get;
389
- if (F && F.isReactWarning)
386
+ function Pt(c) {
387
+ if (xe.call(c, "key")) {
388
+ var A = Object.getOwnPropertyDescriptor(c, "key").get;
389
+ if (A && A.isReactWarning)
390
390
  return !1;
391
391
  }
392
- return s.key !== void 0;
392
+ return c.key !== void 0;
393
393
  }
394
- function Pt(s, F) {
395
- if (typeof s.ref == "string" && Fe.current && F && Fe.current.stateNode !== F) {
396
- var X = J(Fe.current.type);
397
- De[X] || (I('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', J(Fe.current.type), s.ref), De[X] = !0);
394
+ function St(c, A) {
395
+ if (typeof c.ref == "string" && Ae.current && A && Ae.current.stateNode !== A) {
396
+ var X = J(Ae.current.type);
397
+ De[X] || (I('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', J(Ae.current.type), c.ref), De[X] = !0);
398
398
  }
399
399
  }
400
- function Ge(s, F) {
400
+ function Je(c, A) {
401
401
  {
402
402
  var X = function() {
403
- Be || (Be = !0, I("%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)", F));
403
+ Be || (Be = !0, I("%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)", A));
404
404
  };
405
- X.isReactWarning = !0, Object.defineProperty(s, "key", {
405
+ X.isReactWarning = !0, Object.defineProperty(c, "key", {
406
406
  get: X,
407
407
  configurable: !0
408
408
  });
409
409
  }
410
410
  }
411
- function St(s, F) {
411
+ function kt(c, A) {
412
412
  {
413
413
  var X = function() {
414
- Ue || (Ue = !0, I("%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)", F));
414
+ Ue || (Ue = !0, I("%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)", A));
415
415
  };
416
- X.isReactWarning = !0, Object.defineProperty(s, "ref", {
416
+ X.isReactWarning = !0, Object.defineProperty(c, "ref", {
417
417
  get: X,
418
418
  configurable: !0
419
419
  });
420
420
  }
421
421
  }
422
- var kt = function(s, F, X, Q, fe, me, t) {
422
+ var Mt = function(c, A, X, Q, fe, me, t) {
423
423
  var v = {
424
424
  // This tag allows us to uniquely identify this as a React Element
425
- $$typeof: o,
425
+ $$typeof: a,
426
426
  // Built-in properties that belong on the element
427
- type: s,
428
- key: F,
427
+ type: c,
428
+ key: A,
429
429
  ref: X,
430
430
  props: t,
431
431
  // Record the component responsible for creating this element.
@@ -448,200 +448,200 @@ function nr() {
448
448
  value: fe
449
449
  }), Object.freeze && (Object.freeze(v.props), Object.freeze(v)), v;
450
450
  };
451
- function Mt(s, F, X, Q, fe) {
451
+ function _t(c, A, X, Q, fe) {
452
452
  {
453
453
  var me, t = {}, v = null, P = null;
454
- X !== void 0 && (Le(X), v = "" + X), Tt(F) && (Le(F.key), v = "" + F.key), Rt(F) && (P = F.ref, Pt(F, fe));
455
- for (me in F)
456
- xe.call(F, me) && !lt.hasOwnProperty(me) && (t[me] = F[me]);
457
- if (s && s.defaultProps) {
458
- var A = s.defaultProps;
459
- for (me in A)
460
- t[me] === void 0 && (t[me] = A[me]);
454
+ X !== void 0 && (Le(X), v = "" + X), Pt(A) && (Le(A.key), v = "" + A.key), Tt(A) && (P = A.ref, St(A, fe));
455
+ for (me in A)
456
+ xe.call(A, me) && !ut.hasOwnProperty(me) && (t[me] = A[me]);
457
+ if (c && c.defaultProps) {
458
+ var F = c.defaultProps;
459
+ for (me in F)
460
+ t[me] === void 0 && (t[me] = F[me]);
461
461
  }
462
462
  if (v || P) {
463
- var W = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
464
- v && Ge(t, W), P && St(t, W);
463
+ var W = typeof c == "function" ? c.displayName || c.name || "Unknown" : c;
464
+ v && Je(t, W), P && kt(t, W);
465
465
  }
466
- return kt(s, v, P, fe, Q, Fe.current, t);
466
+ return Mt(c, v, P, fe, Q, Ae.current, t);
467
467
  }
468
468
  }
469
- var Je = L.ReactCurrentOwner, ut = L.ReactDebugCurrentFrame;
470
- function He(s) {
471
- if (s) {
472
- var F = s._owner, X = be(s.type, s._source, F ? F.type : null);
473
- ut.setExtraStackFrame(X);
469
+ var Ze = L.ReactCurrentOwner, ft = L.ReactDebugCurrentFrame;
470
+ function He(c) {
471
+ if (c) {
472
+ var A = c._owner, X = be(c.type, c._source, A ? A.type : null);
473
+ ft.setExtraStackFrame(X);
474
474
  } else
475
- ut.setExtraStackFrame(null);
475
+ ft.setExtraStackFrame(null);
476
476
  }
477
- var Ze;
478
- Ze = !1;
479
- function Qe(s) {
480
- return typeof s == "object" && s !== null && s.$$typeof === o;
477
+ var Qe;
478
+ Qe = !1;
479
+ function et(c) {
480
+ return typeof c == "object" && c !== null && c.$$typeof === a;
481
481
  }
482
482
  function Ye() {
483
483
  {
484
- if (Je.current) {
485
- var s = J(Je.current.type);
486
- if (s)
484
+ if (Ze.current) {
485
+ var c = J(Ze.current.type);
486
+ if (c)
487
487
  return `
488
488
 
489
- Check the render method of \`` + s + "`.";
489
+ Check the render method of \`` + c + "`.";
490
490
  }
491
491
  return "";
492
492
  }
493
493
  }
494
- function Te(s) {
494
+ function Te(c) {
495
495
  return "";
496
496
  }
497
497
  var qe = {};
498
- function ft(s) {
498
+ function dt(c) {
499
499
  {
500
- var F = Ye();
501
- if (!F) {
502
- var X = typeof s == "string" ? s : s.displayName || s.name;
503
- X && (F = `
500
+ var A = Ye();
501
+ if (!A) {
502
+ var X = typeof c == "string" ? c : c.displayName || c.name;
503
+ X && (A = `
504
504
 
505
505
  Check the top-level render call using <` + X + ">.");
506
506
  }
507
- return F;
507
+ return A;
508
508
  }
509
509
  }
510
- function Ne(s, F) {
510
+ function Ne(c, A) {
511
511
  {
512
- if (!s._store || s._store.validated || s.key != null)
512
+ if (!c._store || c._store.validated || c.key != null)
513
513
  return;
514
- s._store.validated = !0;
515
- var X = ft(F);
514
+ c._store.validated = !0;
515
+ var X = dt(A);
516
516
  if (qe[X])
517
517
  return;
518
518
  qe[X] = !0;
519
519
  var Q = "";
520
- s && s._owner && s._owner !== Je.current && (Q = " It was passed a child from " + J(s._owner.type) + "."), He(s), I('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', X, Q), He(null);
520
+ c && c._owner && c._owner !== Ze.current && (Q = " It was passed a child from " + J(c._owner.type) + "."), He(c), I('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', X, Q), He(null);
521
521
  }
522
522
  }
523
- function et(s, F) {
523
+ function tt(c, A) {
524
524
  {
525
- if (typeof s != "object")
525
+ if (typeof c != "object")
526
526
  return;
527
- if (We(s))
528
- for (var X = 0; X < s.length; X++) {
529
- var Q = s[X];
530
- Qe(Q) && Ne(Q, F);
527
+ if (We(c))
528
+ for (var X = 0; X < c.length; X++) {
529
+ var Q = c[X];
530
+ et(Q) && Ne(Q, A);
531
531
  }
532
- else if (Qe(s))
533
- s._store && (s._store.validated = !0);
534
- else if (s) {
535
- var fe = q(s);
536
- if (typeof fe == "function" && fe !== s.entries)
537
- for (var me = fe.call(s), t; !(t = me.next()).done; )
538
- Qe(t.value) && Ne(t.value, F);
532
+ else if (et(c))
533
+ c._store && (c._store.validated = !0);
534
+ else if (c) {
535
+ var fe = q(c);
536
+ if (typeof fe == "function" && fe !== c.entries)
537
+ for (var me = fe.call(c), t; !(t = me.next()).done; )
538
+ et(t.value) && Ne(t.value, A);
539
539
  }
540
540
  }
541
541
  }
542
- function _t(s) {
542
+ function Nt(c) {
543
543
  {
544
- var F = s.type;
545
- if (F == null || typeof F == "string")
544
+ var A = c.type;
545
+ if (A == null || typeof A == "string")
546
546
  return;
547
547
  var X;
548
- if (typeof F == "function")
549
- X = F.propTypes;
550
- else if (typeof F == "object" && (F.$$typeof === h || // Note: Memo only checks outer props here.
548
+ if (typeof A == "function")
549
+ X = A.propTypes;
550
+ else if (typeof A == "object" && (A.$$typeof === h || // Note: Memo only checks outer props here.
551
551
  // Inner props are checked in the reconciler.
552
- F.$$typeof === j))
553
- X = F.propTypes;
552
+ A.$$typeof === j))
553
+ X = A.propTypes;
554
554
  else
555
555
  return;
556
556
  if (X) {
557
- var Q = J(F);
558
- jt(X, s.props, "prop", Q, s);
559
- } else if (F.PropTypes !== void 0 && !Ze) {
560
- Ze = !0;
561
- var fe = J(F);
557
+ var Q = J(A);
558
+ Et(X, c.props, "prop", Q, c);
559
+ } else if (A.PropTypes !== void 0 && !Qe) {
560
+ Qe = !0;
561
+ var fe = J(A);
562
562
  I("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", fe || "Unknown");
563
563
  }
564
- typeof F.getDefaultProps == "function" && !F.getDefaultProps.isReactClassApproved && I("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
564
+ typeof A.getDefaultProps == "function" && !A.getDefaultProps.isReactClassApproved && I("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
565
565
  }
566
566
  }
567
- function dt(s) {
567
+ function pt(c) {
568
568
  {
569
- for (var F = Object.keys(s.props), X = 0; X < F.length; X++) {
570
- var Q = F[X];
569
+ for (var A = Object.keys(c.props), X = 0; X < A.length; X++) {
570
+ var Q = A[X];
571
571
  if (Q !== "children" && Q !== "key") {
572
- He(s), I("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", Q), He(null);
572
+ He(c), I("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", Q), He(null);
573
573
  break;
574
574
  }
575
575
  }
576
- s.ref !== null && (He(s), I("Invalid attribute `ref` supplied to `React.Fragment`."), He(null));
576
+ c.ref !== null && (He(c), I("Invalid attribute `ref` supplied to `React.Fragment`."), He(null));
577
577
  }
578
578
  }
579
- var pt = {};
580
- function tt(s, F, X, Q, fe, me) {
579
+ var ht = {};
580
+ function nt(c, A, X, Q, fe, me) {
581
581
  {
582
- var t = Y(s);
582
+ var t = Y(c);
583
583
  if (!t) {
584
584
  var v = "";
585
- (s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (v += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
585
+ (c === void 0 || typeof c == "object" && c !== null && Object.keys(c).length === 0) && (v += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
586
586
  var P = Te();
587
587
  P ? v += P : v += Ye();
588
- var A;
589
- s === null ? A = "null" : We(s) ? A = "array" : s !== void 0 && s.$$typeof === o ? (A = "<" + (J(s.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : A = typeof s, I("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", A, v);
588
+ var F;
589
+ c === null ? F = "null" : We(c) ? F = "array" : c !== void 0 && c.$$typeof === a ? (F = "<" + (J(c.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : F = typeof c, I("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", F, v);
590
590
  }
591
- var W = Mt(s, F, X, fe, me);
591
+ var W = _t(c, A, X, fe, me);
592
592
  if (W == null)
593
593
  return W;
594
594
  if (t) {
595
- var oe = F.children;
595
+ var oe = A.children;
596
596
  if (oe !== void 0)
597
597
  if (Q)
598
598
  if (We(oe)) {
599
599
  for (var se = 0; se < oe.length; se++)
600
- et(oe[se], s);
600
+ tt(oe[se], c);
601
601
  Object.freeze && Object.freeze(oe);
602
602
  } else
603
603
  I("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
604
604
  else
605
- et(oe, s);
605
+ tt(oe, c);
606
606
  }
607
- if (xe.call(F, "key")) {
608
- var re = J(s), ye = Object.keys(F).filter(function(we) {
607
+ if (xe.call(A, "key")) {
608
+ var re = J(c), ye = Object.keys(A).filter(function(we) {
609
609
  return we !== "key";
610
610
  }), Oe = ye.length > 0 ? "{key: someKey, " + ye.join(": ..., ") + ": ...}" : "{key: someKey}";
611
- if (!pt[re + Oe]) {
611
+ if (!ht[re + Oe]) {
612
612
  var Re = ye.length > 0 ? "{" + ye.join(": ..., ") + ": ...}" : "{}";
613
613
  I(`A props object containing a "key" prop is being spread into JSX:
614
614
  let props = %s;
615
615
  <%s {...props} />
616
616
  React keys must be passed directly to JSX without using spread:
617
617
  let props = %s;
618
- <%s key={someKey} {...props} />`, Oe, re, Re, re), pt[re + Oe] = !0;
618
+ <%s key={someKey} {...props} />`, Oe, re, Re, re), ht[re + Oe] = !0;
619
619
  }
620
620
  }
621
- return s === r ? dt(W) : _t(W), W;
621
+ return c === r ? pt(W) : Nt(W), W;
622
622
  }
623
623
  }
624
- function ht(s, F, X) {
625
- return tt(s, F, X, !0);
624
+ function vt(c, A, X) {
625
+ return nt(c, A, X, !0);
626
626
  }
627
- function vt(s, F, X) {
628
- return tt(s, F, X, !1);
627
+ function mt(c, A, X) {
628
+ return nt(c, A, X, !1);
629
629
  }
630
- var Nt = vt, mt = ht;
631
- rt.Fragment = r, rt.jsx = Nt, rt.jsxs = mt;
632
- }()), rt;
630
+ var Ft = mt, yt = vt;
631
+ at.Fragment = r, at.jsx = Ft, at.jsxs = yt;
632
+ }()), at;
633
633
  }
634
- process.env.NODE_ENV === "production" ? $t.exports = tr() : $t.exports = nr();
635
- var n = $t.exports, On = { exports: {} };
636
- (function(e, o) {
637
- (function(r, a) {
638
- e.exports = a();
639
- })(typeof self < "u" ? self : En, function() {
634
+ process.env.NODE_ENV === "production" ? Wt.exports = nr() : Wt.exports = rr();
635
+ var n = Wt.exports, Rn = { exports: {} };
636
+ (function(e, a) {
637
+ (function(r, o) {
638
+ e.exports = o();
639
+ })(typeof self < "u" ? self : On, function() {
640
640
  return (
641
641
  /******/
642
- function(c) {
642
+ function(s) {
643
643
  var r = {};
644
- function a(l) {
644
+ function o(l) {
645
645
  if (r[l])
646
646
  return r[l].exports;
647
647
  var u = r[l] = {
@@ -653,10 +653,10 @@ var n = $t.exports, On = { exports: {} };
653
653
  exports: {}
654
654
  /******/
655
655
  };
656
- return c[l].call(u.exports, u, u.exports, a), u.l = !0, u.exports;
656
+ return s[l].call(u.exports, u, u.exports, o), u.l = !0, u.exports;
657
657
  }
658
- return a.m = c, a.c = r, a.d = function(l, u, f) {
659
- a.o(l, u) || Object.defineProperty(l, u, {
658
+ return o.m = s, o.c = r, o.d = function(l, u, f) {
659
+ o.o(l, u) || Object.defineProperty(l, u, {
660
660
  /******/
661
661
  configurable: !1,
662
662
  /******/
@@ -665,7 +665,7 @@ var n = $t.exports, On = { exports: {} };
665
665
  get: f
666
666
  /******/
667
667
  });
668
- }, a.n = function(l) {
668
+ }, o.n = function(l) {
669
669
  var u = l && l.__esModule ? (
670
670
  /******/
671
671
  function() {
@@ -677,14 +677,14 @@ var n = $t.exports, On = { exports: {} };
677
677
  return l;
678
678
  }
679
679
  );
680
- return a.d(u, "a", u), u;
681
- }, a.o = function(l, u) {
680
+ return o.d(u, "a", u), u;
681
+ }, o.o = function(l, u) {
682
682
  return Object.prototype.hasOwnProperty.call(l, u);
683
- }, a.p = "/", a(a.s = 7);
683
+ }, o.p = "/", o(o.s = 7);
684
684
  }([
685
685
  /* 0 */
686
686
  /***/
687
- function(c, r, a) {
687
+ function(s, r, o) {
688
688
  var l = function(h) {
689
689
  };
690
690
  process.env.NODE_ENV !== "production" && (l = function(h) {
@@ -705,11 +705,11 @@ var n = $t.exports, On = { exports: {} };
705
705
  throw k.framesToPop = 1, k;
706
706
  }
707
707
  }
708
- c.exports = u;
708
+ s.exports = u;
709
709
  },
710
710
  /* 1 */
711
711
  /***/
712
- function(c, r, a) {
712
+ function(s, r, o) {
713
713
  function l(f) {
714
714
  return function() {
715
715
  return f;
@@ -721,11 +721,11 @@ var n = $t.exports, On = { exports: {} };
721
721
  return this;
722
722
  }, u.thatReturnsArgument = function(f) {
723
723
  return f;
724
- }, c.exports = u;
724
+ }, s.exports = u;
725
725
  },
726
726
  /* 2 */
727
727
  /***/
728
- function(c, r, a) {
728
+ function(s, r, o) {
729
729
  /*
730
730
  object-assign
731
731
  (c) Sindre Sorhus
@@ -759,7 +759,7 @@ var n = $t.exports, On = { exports: {} };
759
759
  return !1;
760
760
  }
761
761
  }
762
- c.exports = d() ? Object.assign : function(m, j) {
762
+ s.exports = d() ? Object.assign : function(m, j) {
763
763
  for (var x, S = h(m), V, k = 1; k < arguments.length; k++) {
764
764
  x = Object(arguments[k]);
765
765
  for (var q in x)
@@ -775,8 +775,8 @@ var n = $t.exports, On = { exports: {} };
775
775
  },
776
776
  /* 3 */
777
777
  /***/
778
- function(c, r, a) {
779
- var l = a(1), u = l;
778
+ function(s, r, o) {
779
+ var l = o(1), u = l;
780
780
  if (process.env.NODE_ENV !== "production") {
781
781
  var f = function(d) {
782
782
  for (var m = arguments.length, j = Array(m > 1 ? m - 1 : 0), x = 1; x < m; x++)
@@ -800,25 +800,25 @@ var n = $t.exports, On = { exports: {} };
800
800
  }
801
801
  };
802
802
  }
803
- c.exports = u;
803
+ s.exports = u;
804
804
  },
805
805
  /* 4 */
806
806
  /***/
807
- function(c, r, a) {
807
+ function(s, r, o) {
808
808
  var l = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
809
- c.exports = l;
809
+ s.exports = l;
810
810
  },
811
811
  /* 5 */
812
812
  /***/
813
- function(c, r, a) {
813
+ function(s, r, o) {
814
814
  var l = {};
815
- process.env.NODE_ENV !== "production" && Object.freeze(l), c.exports = l;
815
+ process.env.NODE_ENV !== "production" && Object.freeze(l), s.exports = l;
816
816
  },
817
817
  /* 6 */
818
818
  /***/
819
- function(c, r, a) {
819
+ function(s, r, o) {
820
820
  if (process.env.NODE_ENV !== "production")
821
- var l = a(0), u = a(3), f = a(4), h = {};
821
+ var l = o(0), u = o(3), f = o(4), h = {};
822
822
  function d(m, j, x, S, V) {
823
823
  if (process.env.NODE_ENV !== "production") {
824
824
  for (var k in m)
@@ -837,11 +837,11 @@ var n = $t.exports, On = { exports: {} };
837
837
  }
838
838
  }
839
839
  }
840
- c.exports = d;
840
+ s.exports = d;
841
841
  },
842
842
  /* 7 */
843
843
  /***/
844
- function(c, r, a) {
844
+ function(s, r, o) {
845
845
  Object.defineProperty(r, "__esModule", {
846
846
  value: !0
847
847
  });
@@ -862,7 +862,7 @@ var n = $t.exports, On = { exports: {} };
862
862
  return function(i, y, O) {
863
863
  return y && w(i.prototype, y), O && w(i, O), i;
864
864
  };
865
- }(), f = a(8), h = V(f), d = a(11), m = V(d), j = a(14), x = S(j);
865
+ }(), f = o(8), h = V(f), d = o(11), m = V(d), j = o(14), x = S(j);
866
866
  function S(w) {
867
867
  if (w && w.__esModule)
868
868
  return w;
@@ -955,12 +955,12 @@ var n = $t.exports, On = { exports: {} };
955
955
  },
956
956
  /* 8 */
957
957
  /***/
958
- function(c, r, a) {
959
- process.env.NODE_ENV === "production" ? c.exports = a(9) : c.exports = a(10);
958
+ function(s, r, o) {
959
+ process.env.NODE_ENV === "production" ? s.exports = o(9) : s.exports = o(10);
960
960
  },
961
961
  /* 9 */
962
962
  /***/
963
- function(c, r, a) {
963
+ function(s, r, o) {
964
964
  /** @license React v16.3.2
965
965
  * react.production.min.js
966
966
  *
@@ -969,7 +969,7 @@ var n = $t.exports, On = { exports: {} };
969
969
  * This source code is licensed under the MIT license found in the
970
970
  * LICENSE file in the root directory of this source tree.
971
971
  */
972
- var l = a(2), u = a(0), f = a(5), h = a(1), d = typeof Symbol == "function" && Symbol.for, m = d ? Symbol.for("react.element") : 60103, j = d ? Symbol.for("react.portal") : 60106, x = d ? Symbol.for("react.fragment") : 60107, S = d ? Symbol.for("react.strict_mode") : 60108, V = d ? Symbol.for("react.provider") : 60109, k = d ? Symbol.for("react.context") : 60110, q = d ? Symbol.for("react.async_mode") : 60111, L = d ? Symbol.for("react.forward_ref") : 60112, I = typeof Symbol == "function" && Symbol.iterator;
972
+ var l = o(2), u = o(0), f = o(5), h = o(1), d = typeof Symbol == "function" && Symbol.for, m = d ? Symbol.for("react.element") : 60103, j = d ? Symbol.for("react.portal") : 60106, x = d ? Symbol.for("react.fragment") : 60107, S = d ? Symbol.for("react.strict_mode") : 60108, V = d ? Symbol.for("react.provider") : 60109, k = d ? Symbol.for("react.context") : 60110, q = d ? Symbol.for("react.async_mode") : 60111, L = d ? Symbol.for("react.forward_ref") : 60112, I = typeof Symbol == "function" && Symbol.iterator;
973
973
  function N(p) {
974
974
  for (var g = arguments.length - 1, _ = "http://reactjs.org/docs/error-decoder.html?invariant=" + p, R = 0; R < g; R++) _ += "&args[]=" + encodeURIComponent(arguments[R + 1]);
975
975
  u(!1, "Minified React error #" + p + "; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ", _);
@@ -1118,11 +1118,11 @@ var n = $t.exports, On = { exports: {} };
1118
1118
  var g = G.bind(null, p);
1119
1119
  return g.type = p, g;
1120
1120
  }, isValidElement: J, version: "16.3.2", __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: { ReactCurrentOwner: U, assign: l } }, K = Object.freeze({ default: z }), $ = K && z || K;
1121
- c.exports = $.default ? $.default : $;
1121
+ s.exports = $.default ? $.default : $;
1122
1122
  },
1123
1123
  /* 10 */
1124
1124
  /***/
1125
- function(c, r, a) {
1125
+ function(s, r, o) {
1126
1126
  /** @license React v16.3.2
1127
1127
  * react.development.js
1128
1128
  *
@@ -1132,7 +1132,7 @@ var n = $t.exports, On = { exports: {} };
1132
1132
  * LICENSE file in the root directory of this source tree.
1133
1133
  */
1134
1134
  process.env.NODE_ENV !== "production" && function() {
1135
- var l = a(2), u = a(0), f = a(5), h = a(3), d = a(1), m = a(6), j = "16.3.2", x = typeof Symbol == "function" && Symbol.for, S = x ? Symbol.for("react.element") : 60103, V = x ? Symbol.for("react.call") : 60104, k = x ? Symbol.for("react.return") : 60105, q = x ? Symbol.for("react.portal") : 60106, L = x ? Symbol.for("react.fragment") : 60107, I = x ? Symbol.for("react.strict_mode") : 60108, N = x ? Symbol.for("react.provider") : 60109, w = x ? Symbol.for("react.context") : 60110, i = x ? Symbol.for("react.async_mode") : 60111, y = x ? Symbol.for("react.forward_ref") : 60112, O = typeof Symbol == "function" && Symbol.iterator, M = "@@iterator";
1135
+ var l = o(2), u = o(0), f = o(5), h = o(3), d = o(1), m = o(6), j = "16.3.2", x = typeof Symbol == "function" && Symbol.for, S = x ? Symbol.for("react.element") : 60103, V = x ? Symbol.for("react.call") : 60104, k = x ? Symbol.for("react.return") : 60105, q = x ? Symbol.for("react.portal") : 60106, L = x ? Symbol.for("react.fragment") : 60107, I = x ? Symbol.for("react.strict_mode") : 60108, N = x ? Symbol.for("react.provider") : 60109, w = x ? Symbol.for("react.context") : 60110, i = x ? Symbol.for("react.async_mode") : 60111, y = x ? Symbol.for("react.forward_ref") : 60112, O = typeof Symbol == "function" && Symbol.iterator, M = "@@iterator";
1136
1136
  function U(t) {
1137
1137
  if (t === null || typeof t > "u")
1138
1138
  return null;
@@ -1143,8 +1143,8 @@ var n = $t.exports, On = { exports: {} };
1143
1143
  };
1144
1144
  {
1145
1145
  var H = function(t) {
1146
- for (var v = arguments.length, P = Array(v > 1 ? v - 1 : 0), A = 1; A < v; A++)
1147
- P[A - 1] = arguments[A];
1146
+ for (var v = arguments.length, P = Array(v > 1 ? v - 1 : 0), F = 1; F < v; F++)
1147
+ P[F - 1] = arguments[F];
1148
1148
  var W = 0, oe = "Warning: " + t.replace(/%s/g, function() {
1149
1149
  return P[W++];
1150
1150
  });
@@ -1158,19 +1158,19 @@ var n = $t.exports, On = { exports: {} };
1158
1158
  if (v === void 0)
1159
1159
  throw new Error("`warning(condition, format, ...args)` requires a warning message argument");
1160
1160
  if (!t) {
1161
- for (var P = arguments.length, A = Array(P > 2 ? P - 2 : 0), W = 2; W < P; W++)
1162
- A[W - 2] = arguments[W];
1163
- H.apply(void 0, [v].concat(A));
1161
+ for (var P = arguments.length, F = Array(P > 2 ? P - 2 : 0), W = 2; W < P; W++)
1162
+ F[W - 2] = arguments[W];
1163
+ H.apply(void 0, [v].concat(F));
1164
1164
  }
1165
1165
  };
1166
1166
  }
1167
1167
  var G = Y, J = {};
1168
1168
  function te(t, v) {
1169
1169
  {
1170
- var P = t.constructor, A = P && (P.displayName || P.name) || "ReactClass", W = A + "." + v;
1170
+ var P = t.constructor, F = P && (P.displayName || P.name) || "ReactClass", W = F + "." + v;
1171
1171
  if (J[W])
1172
1172
  return;
1173
- h(!1, "Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", v, A), J[W] = !0;
1173
+ h(!1, "Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", v, F), J[W] = !0;
1174
1174
  }
1175
1175
  }
1176
1176
  var ue = {
@@ -1215,7 +1215,7 @@ var n = $t.exports, On = { exports: {} };
1215
1215
  * @param {?string} callerName name of the calling function in the public API.
1216
1216
  * @internal
1217
1217
  */
1218
- enqueueReplaceState: function(t, v, P, A) {
1218
+ enqueueReplaceState: function(t, v, P, F) {
1219
1219
  te(t, "replaceState");
1220
1220
  },
1221
1221
  /**
@@ -1230,7 +1230,7 @@ var n = $t.exports, On = { exports: {} };
1230
1230
  * @param {?string} Name of the calling function in the public API.
1231
1231
  * @internal
1232
1232
  */
1233
- enqueueSetState: function(t, v, P, A) {
1233
+ enqueueSetState: function(t, v, P, F) {
1234
1234
  te(t, "setState");
1235
1235
  }
1236
1236
  };
@@ -1316,7 +1316,7 @@ var n = $t.exports, On = { exports: {} };
1316
1316
  configurable: !0
1317
1317
  });
1318
1318
  }
1319
- var ce = function(t, v, P, A, W, oe, se) {
1319
+ var ce = function(t, v, P, F, W, oe, se) {
1320
1320
  var re = {
1321
1321
  // This tag allows us to uniquely identify this as a React Element
1322
1322
  $$typeof: S,
@@ -1337,7 +1337,7 @@ var n = $t.exports, On = { exports: {} };
1337
1337
  configurable: !1,
1338
1338
  enumerable: !1,
1339
1339
  writable: !1,
1340
- value: A
1340
+ value: F
1341
1341
  }), Object.defineProperty(re, "_source", {
1342
1342
  configurable: !1,
1343
1343
  enumerable: !1,
@@ -1346,11 +1346,11 @@ var n = $t.exports, On = { exports: {} };
1346
1346
  }), Object.freeze && (Object.freeze(re.props), Object.freeze(re)), re;
1347
1347
  };
1348
1348
  function le(t, v, P) {
1349
- var A = void 0, W = {}, oe = null, se = null, re = null, ye = null;
1349
+ var F = void 0, W = {}, oe = null, se = null, re = null, ye = null;
1350
1350
  if (v != null) {
1351
1351
  _(v) && (se = v.ref), R(v) && (oe = "" + v.key), re = v.__self === void 0 ? null : v.__self, ye = v.__source === void 0 ? null : v.__source;
1352
- for (A in v)
1353
- K.call(v, A) && !$.hasOwnProperty(A) && (W[A] = v[A]);
1352
+ for (F in v)
1353
+ K.call(v, F) && !$.hasOwnProperty(F) && (W[F] = v[F]);
1354
1354
  }
1355
1355
  var Oe = arguments.length - 2;
1356
1356
  if (Oe === 1)
@@ -1362,8 +1362,8 @@ var n = $t.exports, On = { exports: {} };
1362
1362
  }
1363
1363
  if (t && t.defaultProps) {
1364
1364
  var Ie = t.defaultProps;
1365
- for (A in Ie)
1366
- W[A] === void 0 && (W[A] = Ie[A]);
1365
+ for (F in Ie)
1366
+ W[F] === void 0 && (W[F] = Ie[F]);
1367
1367
  }
1368
1368
  if ((oe || se) && (typeof W.$$typeof > "u" || W.$$typeof !== S)) {
1369
1369
  var ke = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
@@ -1377,13 +1377,13 @@ var n = $t.exports, On = { exports: {} };
1377
1377
  }
1378
1378
  function xe(t, v, P) {
1379
1379
  t == null && u(!1, "React.cloneElement(...): The argument must be a React element, but you passed %s.", t);
1380
- var A = void 0, W = l({}, t.props), oe = t.key, se = t.ref, re = t._self, ye = t._source, Oe = t._owner;
1380
+ var F = void 0, W = l({}, t.props), oe = t.key, se = t.ref, re = t._self, ye = t._source, Oe = t._owner;
1381
1381
  if (v != null) {
1382
1382
  _(v) && (se = v.ref, Oe = z.current), R(v) && (oe = "" + v.key);
1383
1383
  var Re = void 0;
1384
1384
  t.type && t.type.defaultProps && (Re = t.type.defaultProps);
1385
- for (A in v)
1386
- K.call(v, A) && !$.hasOwnProperty(A) && (v[A] === void 0 && Re !== void 0 ? W[A] = Re[A] : W[A] = v[A]);
1385
+ for (F in v)
1386
+ K.call(v, F) && !$.hasOwnProperty(F) && (v[F] === void 0 && Re !== void 0 ? W[F] = Re[F] : W[F] = v[F]);
1387
1387
  }
1388
1388
  var we = arguments.length - 2;
1389
1389
  if (we === 1)
@@ -1403,38 +1403,38 @@ var n = $t.exports, On = { exports: {} };
1403
1403
  var t = Se.getCurrentStack;
1404
1404
  return t ? t() : null;
1405
1405
  };
1406
- var ze = ".", jt = ":";
1407
- function Et(t) {
1406
+ var ze = ".", Et = ":";
1407
+ function Ot(t) {
1408
1408
  var v = /[=:]/g, P = {
1409
1409
  "=": "=0",
1410
1410
  ":": "=2"
1411
- }, A = ("" + t).replace(v, function(W) {
1411
+ }, F = ("" + t).replace(v, function(W) {
1412
1412
  return P[W];
1413
1413
  });
1414
- return "$" + A;
1414
+ return "$" + F;
1415
1415
  }
1416
- var We = !1, Ot = /\/+/g;
1417
- function st(t) {
1418
- return ("" + t).replace(Ot, "$&/");
1416
+ var We = !1, Rt = /\/+/g;
1417
+ function ct(t) {
1418
+ return ("" + t).replace(Rt, "$&/");
1419
1419
  }
1420
- var ct = 10, Le = [];
1421
- function Fe(t, v, P, A) {
1420
+ var lt = 10, Le = [];
1421
+ function Ae(t, v, P, F) {
1422
1422
  if (Le.length) {
1423
1423
  var W = Le.pop();
1424
- return W.result = t, W.keyPrefix = v, W.func = P, W.context = A, W.count = 0, W;
1424
+ return W.result = t, W.keyPrefix = v, W.func = P, W.context = F, W.count = 0, W;
1425
1425
  } else
1426
1426
  return {
1427
1427
  result: t,
1428
1428
  keyPrefix: v,
1429
1429
  func: P,
1430
- context: A,
1430
+ context: F,
1431
1431
  count: 0
1432
1432
  };
1433
1433
  }
1434
- function lt(t) {
1435
- t.result = null, t.keyPrefix = null, t.func = null, t.context = null, t.count = 0, Le.length < ct && Le.push(t);
1434
+ function ut(t) {
1435
+ t.result = null, t.keyPrefix = null, t.func = null, t.context = null, t.count = 0, Le.length < lt && Le.push(t);
1436
1436
  }
1437
- function Be(t, v, P, A) {
1437
+ function Be(t, v, P, F) {
1438
1438
  var W = typeof t;
1439
1439
  (W === "undefined" || W === "boolean") && (t = null);
1440
1440
  var oe = !1;
@@ -1455,27 +1455,27 @@ var n = $t.exports, On = { exports: {} };
1455
1455
  }
1456
1456
  if (oe)
1457
1457
  return P(
1458
- A,
1458
+ F,
1459
1459
  t,
1460
1460
  // If it's the only child, treat the name as if it was wrapped in an array
1461
1461
  // so that it's consistent if the number of children grows.
1462
1462
  v === "" ? ze + De(t, 0) : v
1463
1463
  ), 1;
1464
- var se = void 0, re = void 0, ye = 0, Oe = v === "" ? ze : v + jt;
1464
+ var se = void 0, re = void 0, ye = 0, Oe = v === "" ? ze : v + Et;
1465
1465
  if (Array.isArray(t))
1466
1466
  for (var Re = 0; Re < t.length; Re++)
1467
- se = t[Re], re = Oe + De(se, Re), ye += Be(se, re, P, A);
1467
+ se = t[Re], re = Oe + De(se, Re), ye += Be(se, re, P, F);
1468
1468
  else {
1469
1469
  var we = U(t);
1470
1470
  if (typeof we == "function") {
1471
1471
  we === t.entries && (We || h(!1, "Using Maps as children is unsupported and will likely yield unexpected results. Convert it to a sequence/iterable of keyed ReactElements instead.%s", Se.getStackAddendum()), We = !0);
1472
- for (var Ie = we.call(t), ke = void 0, Qn = 0; !(ke = Ie.next()).done; )
1473
- se = ke.value, re = Oe + De(se, Qn++), ye += Be(se, re, P, A);
1472
+ for (var Ie = we.call(t), ke = void 0, er = 0; !(ke = Ie.next()).done; )
1473
+ se = ke.value, re = Oe + De(se, er++), ye += Be(se, re, P, F);
1474
1474
  } else if (W === "object") {
1475
- var Gt = "";
1476
- Gt = " If you meant to render a collection of children, use an array instead." + Se.getStackAddendum();
1477
- var Jt = "" + t;
1478
- u(!1, "Objects are not valid as a React child (found: %s).%s", Jt === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : Jt, Gt);
1475
+ var Jt = "";
1476
+ Jt = " If you meant to render a collection of children, use an array instead." + Se.getStackAddendum();
1477
+ var Zt = "" + t;
1478
+ u(!1, "Objects are not valid as a React child (found: %s).%s", Zt === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : Zt, Jt);
1479
1479
  }
1480
1480
  }
1481
1481
  return ye;
@@ -1484,50 +1484,50 @@ var n = $t.exports, On = { exports: {} };
1484
1484
  return t == null ? 0 : Be(t, "", v, P);
1485
1485
  }
1486
1486
  function De(t, v) {
1487
- return typeof t == "object" && t !== null && t.key != null ? Et(t.key) : v.toString(36);
1488
- }
1489
- function Rt(t, v, P) {
1490
- var A = t.func, W = t.context;
1491
- A.call(W, v, t.count++);
1487
+ return typeof t == "object" && t !== null && t.key != null ? Ot(t.key) : v.toString(36);
1492
1488
  }
1493
1489
  function Tt(t, v, P) {
1490
+ var F = t.func, W = t.context;
1491
+ F.call(W, v, t.count++);
1492
+ }
1493
+ function Pt(t, v, P) {
1494
1494
  if (t == null)
1495
1495
  return t;
1496
- var A = Fe(null, null, v, P);
1497
- Ue(t, Rt, A), lt(A);
1496
+ var F = Ae(null, null, v, P);
1497
+ Ue(t, Tt, F), ut(F);
1498
1498
  }
1499
- function Pt(t, v, P) {
1500
- var A = t.result, W = t.keyPrefix, oe = t.func, se = t.context, re = oe.call(se, v, t.count++);
1501
- Array.isArray(re) ? Ge(re, A, P, d.thatReturnsArgument) : re != null && (_e(re) && (re = be(
1499
+ function St(t, v, P) {
1500
+ var F = t.result, W = t.keyPrefix, oe = t.func, se = t.context, re = oe.call(se, v, t.count++);
1501
+ Array.isArray(re) ? Je(re, F, P, d.thatReturnsArgument) : re != null && (_e(re) && (re = be(
1502
1502
  re,
1503
1503
  // Keep both the (mapped) and old keys if they differ, just as
1504
1504
  // traverseAllChildren used to do for objects as children
1505
- W + (re.key && (!v || v.key !== re.key) ? st(re.key) + "/" : "") + P
1506
- )), A.push(re));
1505
+ W + (re.key && (!v || v.key !== re.key) ? ct(re.key) + "/" : "") + P
1506
+ )), F.push(re));
1507
1507
  }
1508
- function Ge(t, v, P, A, W) {
1508
+ function Je(t, v, P, F, W) {
1509
1509
  var oe = "";
1510
- P != null && (oe = st(P) + "/");
1511
- var se = Fe(v, oe, A, W);
1512
- Ue(t, Pt, se), lt(se);
1510
+ P != null && (oe = ct(P) + "/");
1511
+ var se = Ae(v, oe, F, W);
1512
+ Ue(t, St, se), ut(se);
1513
1513
  }
1514
- function St(t, v, P) {
1514
+ function kt(t, v, P) {
1515
1515
  if (t == null)
1516
1516
  return t;
1517
- var A = [];
1518
- return Ge(t, A, null, v, P), A;
1517
+ var F = [];
1518
+ return Je(t, F, null, v, P), F;
1519
1519
  }
1520
- function kt(t, v) {
1520
+ function Mt(t, v) {
1521
1521
  return Ue(t, d.thatReturnsNull, null);
1522
1522
  }
1523
- function Mt(t) {
1523
+ function _t(t) {
1524
1524
  var v = [];
1525
- return Ge(t, v, null, d.thatReturnsArgument), v;
1525
+ return Je(t, v, null, d.thatReturnsArgument), v;
1526
1526
  }
1527
- function Je(t) {
1527
+ function Ze(t) {
1528
1528
  return _e(t) || u(!1, "React.Children.only expected to receive a single React element child."), t;
1529
1529
  }
1530
- function ut(t, v) {
1530
+ function ft(t, v) {
1531
1531
  v === void 0 ? v = null : v === null || typeof v == "function" || h(!1, "createContext: Expected the optional second argument to be a function. Instead received: %s", v);
1532
1532
  var P = {
1533
1533
  $$typeof: w,
@@ -1550,11 +1550,11 @@ var n = $t.exports, On = { exports: {} };
1550
1550
  render: t
1551
1551
  };
1552
1552
  }
1553
- var Ze = function(t, v, P) {
1553
+ var Qe = function(t, v, P) {
1554
1554
  return `
1555
1555
  in ` + (t || "Unknown") + (v ? " (at " + v.fileName.replace(/^.*[\\\/]/, "") + ":" + v.lineNumber + ")" : P ? " (created by " + P + ")" : "");
1556
1556
  };
1557
- function Qe(t) {
1557
+ function et(t) {
1558
1558
  return typeof t == "string" || typeof t == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1559
1559
  t === L || t === i || t === I || typeof t == "object" && t !== null && (t.$$typeof === N || t.$$typeof === w || t.$$typeof === y);
1560
1560
  }
@@ -1582,20 +1582,20 @@ var n = $t.exports, On = { exports: {} };
1582
1582
  }
1583
1583
  return null;
1584
1584
  }
1585
- var Te = void 0, qe = void 0, ft = function() {
1585
+ var Te = void 0, qe = void 0, dt = function() {
1586
1586
  }, Ne = function() {
1587
1587
  };
1588
- Te = null, qe = !1, ft = function(t) {
1588
+ Te = null, qe = !1, dt = function(t) {
1589
1589
  return t == null ? "#empty" : typeof t == "string" || typeof t == "number" ? "#text" : typeof t.type == "string" ? t.type : t.type === L ? "React.Fragment" : t.type.displayName || t.type.name || "Unknown";
1590
1590
  }, Ne = function() {
1591
1591
  var t = "";
1592
1592
  if (Te) {
1593
- var v = ft(Te), P = Te._owner;
1594
- t += Ze(v, Te._source, P && Ye(P));
1593
+ var v = dt(Te), P = Te._owner;
1594
+ t += Qe(v, Te._source, P && Ye(P));
1595
1595
  }
1596
1596
  return t += Se.getStackAddendum() || "", t;
1597
1597
  };
1598
- function et() {
1598
+ function tt() {
1599
1599
  if (z.current) {
1600
1600
  var t = Ye(z.current);
1601
1601
  if (t)
@@ -1605,18 +1605,18 @@ Check the render method of \`` + t + "`.";
1605
1605
  }
1606
1606
  return "";
1607
1607
  }
1608
- function _t(t) {
1608
+ function Nt(t) {
1609
1609
  if (t != null && t.__source !== void 0) {
1610
- var v = t.__source, P = v.fileName.replace(/^.*[\\\/]/, ""), A = v.lineNumber;
1610
+ var v = t.__source, P = v.fileName.replace(/^.*[\\\/]/, ""), F = v.lineNumber;
1611
1611
  return `
1612
1612
 
1613
- Check your code at ` + P + ":" + A + ".";
1613
+ Check your code at ` + P + ":" + F + ".";
1614
1614
  }
1615
1615
  return "";
1616
1616
  }
1617
- var dt = {};
1618
- function pt(t) {
1619
- var v = et();
1617
+ var pt = {};
1618
+ function ht(t) {
1619
+ var v = tt();
1620
1620
  if (!v) {
1621
1621
  var P = typeof t == "string" ? t : t.displayName || t.name;
1622
1622
  P && (v = `
@@ -1625,23 +1625,23 @@ Check the top-level render call using <` + P + ">.");
1625
1625
  }
1626
1626
  return v;
1627
1627
  }
1628
- function tt(t, v) {
1628
+ function nt(t, v) {
1629
1629
  if (!(!t._store || t._store.validated || t.key != null)) {
1630
1630
  t._store.validated = !0;
1631
- var P = pt(v);
1632
- if (!dt[P]) {
1633
- dt[P] = !0;
1634
- var A = "";
1635
- t && t._owner && t._owner !== z.current && (A = " It was passed a child from " + Ye(t._owner) + "."), Te = t, h(!1, 'Each child in an array or iterator should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.%s', P, A, Ne()), Te = null;
1631
+ var P = ht(v);
1632
+ if (!pt[P]) {
1633
+ pt[P] = !0;
1634
+ var F = "";
1635
+ t && t._owner && t._owner !== z.current && (F = " It was passed a child from " + Ye(t._owner) + "."), Te = t, h(!1, 'Each child in an array or iterator should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.%s', P, F, Ne()), Te = null;
1636
1636
  }
1637
1637
  }
1638
1638
  }
1639
- function ht(t, v) {
1639
+ function vt(t, v) {
1640
1640
  if (typeof t == "object") {
1641
1641
  if (Array.isArray(t))
1642
1642
  for (var P = 0; P < t.length; P++) {
1643
- var A = t[P];
1644
- _e(A) && tt(A, v);
1643
+ var F = t[P];
1644
+ _e(F) && nt(F, v);
1645
1645
  }
1646
1646
  else if (_e(t))
1647
1647
  t._store && (t._store.validated = !0);
@@ -1649,48 +1649,48 @@ Check the top-level render call using <` + P + ">.");
1649
1649
  var W = U(t);
1650
1650
  if (typeof W == "function" && W !== t.entries)
1651
1651
  for (var oe = W.call(t), se = void 0; !(se = oe.next()).done; )
1652
- _e(se.value) && tt(se.value, v);
1652
+ _e(se.value) && nt(se.value, v);
1653
1653
  }
1654
1654
  }
1655
1655
  }
1656
- function vt(t) {
1656
+ function mt(t) {
1657
1657
  var v = t.type;
1658
1658
  if (typeof v == "function") {
1659
- var P = v.displayName || v.name, A = v.propTypes;
1660
- A ? (Te = t, m(A, t.props, "prop", P, Ne), Te = null) : v.PropTypes !== void 0 && !qe && (qe = !0, h(!1, "Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", P || "Unknown")), typeof v.getDefaultProps == "function" && (v.getDefaultProps.isReactClassApproved || h(!1, "getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."));
1659
+ var P = v.displayName || v.name, F = v.propTypes;
1660
+ F ? (Te = t, m(F, t.props, "prop", P, Ne), Te = null) : v.PropTypes !== void 0 && !qe && (qe = !0, h(!1, "Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", P || "Unknown")), typeof v.getDefaultProps == "function" && (v.getDefaultProps.isReactClassApproved || h(!1, "getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."));
1661
1661
  }
1662
1662
  }
1663
- function Nt(t) {
1663
+ function Ft(t) {
1664
1664
  Te = t;
1665
1665
  for (var v = Object.keys(t.props), P = 0; P < v.length; P++) {
1666
- var A = v[P];
1667
- if (A !== "children" && A !== "key") {
1668
- h(!1, "Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.%s", A, Ne());
1666
+ var F = v[P];
1667
+ if (F !== "children" && F !== "key") {
1668
+ h(!1, "Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.%s", F, Ne());
1669
1669
  break;
1670
1670
  }
1671
1671
  }
1672
1672
  t.ref !== null && h(!1, "Invalid attribute `ref` supplied to `React.Fragment`.%s", Ne()), Te = null;
1673
1673
  }
1674
- function mt(t, v, P) {
1675
- var A = Qe(t);
1676
- if (!A) {
1674
+ function yt(t, v, P) {
1675
+ var F = et(t);
1676
+ if (!F) {
1677
1677
  var W = "";
1678
1678
  (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (W += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1679
- var oe = _t(v);
1680
- oe ? W += oe : W += et(), W += Ne() || "";
1679
+ var oe = Nt(v);
1680
+ oe ? W += oe : W += tt(), W += Ne() || "";
1681
1681
  var se = void 0;
1682
1682
  t === null ? se = "null" : Array.isArray(t) ? se = "array" : se = typeof t, h(!1, "React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", se, W);
1683
1683
  }
1684
1684
  var re = le.apply(this, arguments);
1685
1685
  if (re == null)
1686
1686
  return re;
1687
- if (A)
1687
+ if (F)
1688
1688
  for (var ye = 2; ye < arguments.length; ye++)
1689
- ht(arguments[ye], t);
1690
- return t === L ? Nt(re) : vt(re), re;
1689
+ vt(arguments[ye], t);
1690
+ return t === L ? Ft(re) : mt(re), re;
1691
1691
  }
1692
- function s(t) {
1693
- var v = mt.bind(null, t);
1692
+ function c(t) {
1693
+ var v = yt.bind(null, t);
1694
1694
  return v.type = t, Object.defineProperty(v, "type", {
1695
1695
  enumerable: !1,
1696
1696
  get: function() {
@@ -1700,30 +1700,30 @@ Check the top-level render call using <` + P + ">.");
1700
1700
  }
1701
1701
  }), v;
1702
1702
  }
1703
- function F(t, v, P) {
1704
- for (var A = xe.apply(this, arguments), W = 2; W < arguments.length; W++)
1705
- ht(arguments[W], A.type);
1706
- return vt(A), A;
1703
+ function A(t, v, P) {
1704
+ for (var F = xe.apply(this, arguments), W = 2; W < arguments.length; W++)
1705
+ vt(arguments[W], F.type);
1706
+ return mt(F), F;
1707
1707
  }
1708
1708
  var X = {
1709
1709
  Children: {
1710
- map: St,
1711
- forEach: Tt,
1712
- count: kt,
1713
- toArray: Mt,
1714
- only: Je
1710
+ map: kt,
1711
+ forEach: Pt,
1712
+ count: Mt,
1713
+ toArray: _t,
1714
+ only: Ze
1715
1715
  },
1716
1716
  createRef: C,
1717
1717
  Component: ne,
1718
1718
  PureComponent: D,
1719
- createContext: ut,
1719
+ createContext: ft,
1720
1720
  forwardRef: He,
1721
1721
  Fragment: L,
1722
1722
  StrictMode: I,
1723
1723
  unstable_AsyncMode: i,
1724
- createElement: mt,
1725
- cloneElement: F,
1726
- createFactory: s,
1724
+ createElement: yt,
1725
+ cloneElement: A,
1726
+ createFactory: c,
1727
1727
  isValidElement: _e,
1728
1728
  version: j,
1729
1729
  __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: {
@@ -1742,25 +1742,25 @@ Check the top-level render call using <` + P + ">.");
1742
1742
  var Q = Object.freeze({
1743
1743
  default: X
1744
1744
  }), fe = Q && X || Q, me = fe.default ? fe.default : fe;
1745
- c.exports = me;
1745
+ s.exports = me;
1746
1746
  }();
1747
1747
  },
1748
1748
  /* 11 */
1749
1749
  /***/
1750
- function(c, r, a) {
1750
+ function(s, r, o) {
1751
1751
  if (process.env.NODE_ENV !== "production") {
1752
1752
  var l = typeof Symbol == "function" && Symbol.for && Symbol.for("react.element") || 60103, u = function(h) {
1753
1753
  return typeof h == "object" && h !== null && h.$$typeof === l;
1754
1754
  }, f = !0;
1755
- c.exports = a(12)(u, f);
1755
+ s.exports = o(12)(u, f);
1756
1756
  } else
1757
- c.exports = a(13)();
1757
+ s.exports = o(13)();
1758
1758
  },
1759
1759
  /* 12 */
1760
1760
  /***/
1761
- function(c, r, a) {
1762
- var l = a(1), u = a(0), f = a(3), h = a(2), d = a(4), m = a(6);
1763
- c.exports = function(j, x) {
1761
+ function(s, r, o) {
1762
+ var l = o(1), u = o(0), f = o(3), h = o(2), d = o(4), m = o(6);
1763
+ s.exports = function(j, x) {
1764
1764
  var S = typeof Symbol == "function" && Symbol.iterator, V = "@@iterator";
1765
1765
  function k(b) {
1766
1766
  var C = b && (S && b[S] || b[V]);
@@ -2042,9 +2042,9 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
2042
2042
  },
2043
2043
  /* 13 */
2044
2044
  /***/
2045
- function(c, r, a) {
2046
- var l = a(1), u = a(0), f = a(4);
2047
- c.exports = function() {
2045
+ function(s, r, o) {
2046
+ var l = o(1), u = o(0), f = o(4);
2047
+ s.exports = function() {
2048
2048
  function h(j, x, S, V, k, q) {
2049
2049
  q !== f && u(
2050
2050
  !1,
@@ -2079,67 +2079,67 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
2079
2079
  },
2080
2080
  /* 14 */
2081
2081
  /***/
2082
- function(c, r, a) {
2082
+ function(s, r, o) {
2083
2083
  Object.defineProperty(r, "__esModule", {
2084
2084
  value: !0
2085
2085
  });
2086
- var l = a(15);
2086
+ var l = o(15);
2087
2087
  Object.defineProperty(r, "blank", {
2088
2088
  enumerable: !0,
2089
2089
  get: function() {
2090
2090
  return V(l).default;
2091
2091
  }
2092
2092
  });
2093
- var u = a(16);
2093
+ var u = o(16);
2094
2094
  Object.defineProperty(r, "balls", {
2095
2095
  enumerable: !0,
2096
2096
  get: function() {
2097
2097
  return V(u).default;
2098
2098
  }
2099
2099
  });
2100
- var f = a(17);
2100
+ var f = o(17);
2101
2101
  Object.defineProperty(r, "bars", {
2102
2102
  enumerable: !0,
2103
2103
  get: function() {
2104
2104
  return V(f).default;
2105
2105
  }
2106
2106
  });
2107
- var h = a(18);
2107
+ var h = o(18);
2108
2108
  Object.defineProperty(r, "bubbles", {
2109
2109
  enumerable: !0,
2110
2110
  get: function() {
2111
2111
  return V(h).default;
2112
2112
  }
2113
2113
  });
2114
- var d = a(19);
2114
+ var d = o(19);
2115
2115
  Object.defineProperty(r, "cubes", {
2116
2116
  enumerable: !0,
2117
2117
  get: function() {
2118
2118
  return V(d).default;
2119
2119
  }
2120
2120
  });
2121
- var m = a(20);
2121
+ var m = o(20);
2122
2122
  Object.defineProperty(r, "cylon", {
2123
2123
  enumerable: !0,
2124
2124
  get: function() {
2125
2125
  return V(m).default;
2126
2126
  }
2127
2127
  });
2128
- var j = a(21);
2128
+ var j = o(21);
2129
2129
  Object.defineProperty(r, "spin", {
2130
2130
  enumerable: !0,
2131
2131
  get: function() {
2132
2132
  return V(j).default;
2133
2133
  }
2134
2134
  });
2135
- var x = a(22);
2135
+ var x = o(22);
2136
2136
  Object.defineProperty(r, "spinningBubbles", {
2137
2137
  enumerable: !0,
2138
2138
  get: function() {
2139
2139
  return V(x).default;
2140
2140
  }
2141
2141
  });
2142
- var S = a(23);
2142
+ var S = o(23);
2143
2143
  Object.defineProperty(r, "spokes", {
2144
2144
  enumerable: !0,
2145
2145
  get: function() {
@@ -2152,14 +2152,14 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
2152
2152
  },
2153
2153
  /* 15 */
2154
2154
  /***/
2155
- function(c, r) {
2156
- c.exports = `<svg class="icon-blank" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>
2155
+ function(s, r) {
2156
+ s.exports = `<svg class="icon-blank" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>
2157
2157
  `;
2158
2158
  },
2159
2159
  /* 16 */
2160
2160
  /***/
2161
- function(c, r) {
2162
- c.exports = `<svg class="icon-loading" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
2161
+ function(s, r) {
2162
+ s.exports = `<svg class="icon-loading" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
2163
2163
  <path transform="translate(-8 0)" d="M4 12 A4 4 0 0 0 4 20 A4 4 0 0 0 4 12">
2164
2164
  <animateTransform attributeName="transform" type="translate" values="-8 0; 2 0; 2 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.25;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
2165
2165
  </path>
@@ -2177,8 +2177,8 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
2177
2177
  },
2178
2178
  /* 17 */
2179
2179
  /***/
2180
- function(c, r) {
2181
- c.exports = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
2180
+ function(s, r) {
2181
+ s.exports = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
2182
2182
  <path transform="translate(2)" d="M0 12 V20 H4 V12z">
2183
2183
  <animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />
2184
2184
  </path>
@@ -2199,8 +2199,8 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
2199
2199
  },
2200
2200
  /* 18 */
2201
2201
  /***/
2202
- function(c, r) {
2203
- c.exports = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
2202
+ function(s, r) {
2203
+ s.exports = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
2204
2204
  <circle transform="translate(8 0)" cx="0" cy="16" r="0">
2205
2205
  <animate attributeName="r" values="0; 4; 0; 0" dur="1.2s" repeatCount="indefinite" begin="0"
2206
2206
  keytimes="0;0.2;0.7;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
@@ -2218,8 +2218,8 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
2218
2218
  },
2219
2219
  /* 19 */
2220
2220
  /***/
2221
- function(c, r) {
2222
- c.exports = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
2221
+ function(s, r) {
2222
+ s.exports = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
2223
2223
  <path transform="translate(-8 0)" d="M0 12 V20 H8 V12z">
2224
2224
  <animateTransform attributeName="transform" type="translate" values="-8 0; 2 0; 2 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.25;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
2225
2225
  </path>
@@ -2237,8 +2237,8 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
2237
2237
  },
2238
2238
  /* 20 */
2239
2239
  /***/
2240
- function(c, r) {
2241
- c.exports = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
2240
+ function(s, r) {
2241
+ s.exports = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
2242
2242
  <path transform="translate(0 0)" d="M0 12 V20 H4 V12z">
2243
2243
  <animateTransform attributeName="transform" type="translate" values="0 0; 28 0; 0 0; 0 0" dur="1.5s" begin="0" repeatCount="indefinite" keytimes="0;0.3;0.6;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
2244
2244
  </path>
@@ -2253,8 +2253,8 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
2253
2253
  },
2254
2254
  /* 21 */
2255
2255
  /***/
2256
- function(c, r) {
2257
- c.exports = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
2256
+ function(s, r) {
2257
+ s.exports = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
2258
2258
  <path opacity=".25" d="M16 0 A16 16 0 0 0 16 32 A16 16 0 0 0 16 0 M16 4 A12 12 0 0 1 16 28 A12 12 0 0 1 16 4"/>
2259
2259
  <path d="M16 0 A16 16 0 0 1 32 16 L28 16 A12 12 0 0 0 16 4z">
2260
2260
  <animateTransform attributeName="transform" type="rotate" from="0 16 16" to="360 16 16" dur="0.8s" repeatCount="indefinite" />
@@ -2264,8 +2264,8 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
2264
2264
  },
2265
2265
  /* 22 */
2266
2266
  /***/
2267
- function(c, r) {
2268
- c.exports = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
2267
+ function(s, r) {
2268
+ s.exports = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
2269
2269
  <circle cx="16" cy="3" r="0">
2270
2270
  <animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
2271
2271
  </circle>
@@ -2298,8 +2298,8 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
2298
2298
  },
2299
2299
  /* 23 */
2300
2300
  /***/
2301
- function(c, r) {
2302
- c.exports = `<svg id="loading" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
2301
+ function(s, r) {
2302
+ s.exports = `<svg id="loading" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
2303
2303
  <path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(0 16 16)">
2304
2304
  <animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0"/>
2305
2305
  </path>
@@ -2331,331 +2331,342 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
2331
2331
  ])
2332
2332
  );
2333
2333
  });
2334
- })(On);
2335
- var rr = On.exports;
2336
- const Rn = /* @__PURE__ */ Ut(rr), Tn = ({ isLoading: e }) => {
2334
+ })(Rn);
2335
+ var ar = Rn.exports;
2336
+ const Tn = /* @__PURE__ */ Yt(ar), Pn = ({ isLoading: e }) => {
2337
2337
  if (e)
2338
- return /* @__PURE__ */ n.jsx("div", { className: "fm-loader", children: /* @__PURE__ */ n.jsx(Rn, { color: "black", type: "spokes", height: 50, width: 50 }) });
2338
+ return /* @__PURE__ */ n.jsx("div", { className: "fm-loader", children: /* @__PURE__ */ n.jsx(Tn, { color: "black", type: "spokes", height: 50, width: 50 }) });
2339
2339
  };
2340
- var Pn = {
2340
+ var Sn = {
2341
2341
  color: void 0,
2342
2342
  size: void 0,
2343
2343
  className: void 0,
2344
2344
  style: void 0,
2345
2345
  attr: void 0
2346
- }, en = Me.createContext && /* @__PURE__ */ Me.createContext(Pn), ar = ["attr", "size", "title"];
2347
- function or(e, o) {
2346
+ }, tn = Me.createContext && /* @__PURE__ */ Me.createContext(Sn), or = ["attr", "size", "title"];
2347
+ function ir(e, a) {
2348
2348
  if (e == null) return {};
2349
- var c = ir(e, o), r, a;
2349
+ var s = sr(e, a), r, o;
2350
2350
  if (Object.getOwnPropertySymbols) {
2351
2351
  var l = Object.getOwnPropertySymbols(e);
2352
- for (a = 0; a < l.length; a++)
2353
- r = l[a], !(o.indexOf(r) >= 0) && Object.prototype.propertyIsEnumerable.call(e, r) && (c[r] = e[r]);
2352
+ for (o = 0; o < l.length; o++)
2353
+ r = l[o], !(a.indexOf(r) >= 0) && Object.prototype.propertyIsEnumerable.call(e, r) && (s[r] = e[r]);
2354
2354
  }
2355
- return c;
2355
+ return s;
2356
2356
  }
2357
- function ir(e, o) {
2357
+ function sr(e, a) {
2358
2358
  if (e == null) return {};
2359
- var c = {};
2359
+ var s = {};
2360
2360
  for (var r in e)
2361
2361
  if (Object.prototype.hasOwnProperty.call(e, r)) {
2362
- if (o.indexOf(r) >= 0) continue;
2363
- c[r] = e[r];
2362
+ if (a.indexOf(r) >= 0) continue;
2363
+ s[r] = e[r];
2364
2364
  }
2365
- return c;
2365
+ return s;
2366
2366
  }
2367
- function gt() {
2368
- return gt = Object.assign ? Object.assign.bind() : function(e) {
2369
- for (var o = 1; o < arguments.length; o++) {
2370
- var c = arguments[o];
2371
- for (var r in c)
2372
- Object.prototype.hasOwnProperty.call(c, r) && (e[r] = c[r]);
2367
+ function bt() {
2368
+ return bt = Object.assign ? Object.assign.bind() : function(e) {
2369
+ for (var a = 1; a < arguments.length; a++) {
2370
+ var s = arguments[a];
2371
+ for (var r in s)
2372
+ Object.prototype.hasOwnProperty.call(s, r) && (e[r] = s[r]);
2373
2373
  }
2374
2374
  return e;
2375
- }, gt.apply(this, arguments);
2375
+ }, bt.apply(this, arguments);
2376
2376
  }
2377
- function tn(e, o) {
2378
- var c = Object.keys(e);
2377
+ function nn(e, a) {
2378
+ var s = Object.keys(e);
2379
2379
  if (Object.getOwnPropertySymbols) {
2380
2380
  var r = Object.getOwnPropertySymbols(e);
2381
- o && (r = r.filter(function(a) {
2382
- return Object.getOwnPropertyDescriptor(e, a).enumerable;
2383
- })), c.push.apply(c, r);
2381
+ a && (r = r.filter(function(o) {
2382
+ return Object.getOwnPropertyDescriptor(e, o).enumerable;
2383
+ })), s.push.apply(s, r);
2384
2384
  }
2385
- return c;
2385
+ return s;
2386
2386
  }
2387
- function bt(e) {
2388
- for (var o = 1; o < arguments.length; o++) {
2389
- var c = arguments[o] != null ? arguments[o] : {};
2390
- o % 2 ? tn(Object(c), !0).forEach(function(r) {
2391
- sr(e, r, c[r]);
2392
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(c)) : tn(Object(c)).forEach(function(r) {
2393
- Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(c, r));
2387
+ function xt(e) {
2388
+ for (var a = 1; a < arguments.length; a++) {
2389
+ var s = arguments[a] != null ? arguments[a] : {};
2390
+ a % 2 ? nn(Object(s), !0).forEach(function(r) {
2391
+ cr(e, r, s[r]);
2392
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(s)) : nn(Object(s)).forEach(function(r) {
2393
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(s, r));
2394
2394
  });
2395
2395
  }
2396
2396
  return e;
2397
2397
  }
2398
- function sr(e, o, c) {
2399
- return o = cr(o), o in e ? Object.defineProperty(e, o, { value: c, enumerable: !0, configurable: !0, writable: !0 }) : e[o] = c, e;
2398
+ function cr(e, a, s) {
2399
+ return a = lr(a), a in e ? Object.defineProperty(e, a, { value: s, enumerable: !0, configurable: !0, writable: !0 }) : e[a] = s, e;
2400
2400
  }
2401
- function cr(e) {
2402
- var o = lr(e, "string");
2403
- return typeof o == "symbol" ? o : o + "";
2401
+ function lr(e) {
2402
+ var a = ur(e, "string");
2403
+ return typeof a == "symbol" ? a : a + "";
2404
2404
  }
2405
- function lr(e, o) {
2405
+ function ur(e, a) {
2406
2406
  if (typeof e != "object" || !e) return e;
2407
- var c = e[Symbol.toPrimitive];
2408
- if (c !== void 0) {
2409
- var r = c.call(e, o || "default");
2407
+ var s = e[Symbol.toPrimitive];
2408
+ if (s !== void 0) {
2409
+ var r = s.call(e, a || "default");
2410
2410
  if (typeof r != "object") return r;
2411
2411
  throw new TypeError("@@toPrimitive must return a primitive value.");
2412
2412
  }
2413
- return (o === "string" ? String : Number)(e);
2413
+ return (a === "string" ? String : Number)(e);
2414
2414
  }
2415
- function Sn(e) {
2416
- return e && e.map((o, c) => /* @__PURE__ */ Me.createElement(o.tag, bt({
2417
- key: c
2418
- }, o.attr), Sn(o.child)));
2415
+ function kn(e) {
2416
+ return e && e.map((a, s) => /* @__PURE__ */ Me.createElement(a.tag, xt({
2417
+ key: s
2418
+ }, a.attr), kn(a.child)));
2419
2419
  }
2420
2420
  function ie(e) {
2421
- return (o) => /* @__PURE__ */ Me.createElement(ur, gt({
2422
- attr: bt({}, e.attr)
2423
- }, o), Sn(e.child));
2421
+ return (a) => /* @__PURE__ */ Me.createElement(fr, bt({
2422
+ attr: xt({}, e.attr)
2423
+ }, a), kn(e.child));
2424
2424
  }
2425
- function ur(e) {
2426
- var o = (c) => {
2425
+ function fr(e) {
2426
+ var a = (s) => {
2427
2427
  var {
2428
2428
  attr: r,
2429
- size: a,
2429
+ size: o,
2430
2430
  title: l
2431
- } = e, u = or(e, ar), f = a || c.size || "1em", h;
2432
- return c.className && (h = c.className), e.className && (h = (h ? h + " " : "") + e.className), /* @__PURE__ */ Me.createElement("svg", gt({
2431
+ } = e, u = ir(e, or), f = o || s.size || "1em", h;
2432
+ return s.className && (h = s.className), e.className && (h = (h ? h + " " : "") + e.className), /* @__PURE__ */ Me.createElement("svg", bt({
2433
2433
  stroke: "currentColor",
2434
2434
  fill: "currentColor",
2435
2435
  strokeWidth: "0"
2436
- }, c.attr, r, u, {
2436
+ }, s.attr, r, u, {
2437
2437
  className: h,
2438
- style: bt(bt({
2439
- color: e.color || c.color
2440
- }, c.style), e.style),
2438
+ style: xt(xt({
2439
+ color: e.color || s.color
2440
+ }, s.style), e.style),
2441
2441
  height: f,
2442
2442
  width: f,
2443
2443
  xmlns: "http://www.w3.org/2000/svg"
2444
2444
  }), l && /* @__PURE__ */ Me.createElement("title", null, l), e.children);
2445
2445
  };
2446
- return en !== void 0 ? /* @__PURE__ */ Me.createElement(en.Consumer, null, (c) => o(c)) : o(Pn);
2446
+ return tn !== void 0 ? /* @__PURE__ */ Me.createElement(tn.Consumer, null, (s) => a(s)) : a(Sn);
2447
2447
  }
2448
- function kn(e) {
2448
+ function Mn(e) {
2449
2449
  return ie({ tag: "svg", attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { fillRule: "evenodd", d: "M4 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2zm2-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-1h1v1a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h1v1z" }, child: [] }] })(e);
2450
2450
  }
2451
- function Mn(e) {
2451
+ function _n(e) {
2452
2452
  return ie({ tag: "svg", attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "m.5 3 .04.87a2 2 0 0 0-.342 1.311l.637 7A2 2 0 0 0 2.826 14H9v-1H2.826a1 1 0 0 1-.995-.91l-.637-7A1 1 0 0 1 2.19 4h11.62a1 1 0 0 1 .996 1.09L14.54 8h1.005l.256-2.819A2 2 0 0 0 13.81 3H9.828a2 2 0 0 1-1.414-.586l-.828-.828A2 2 0 0 0 6.172 1H2.5a2 2 0 0 0-2 2m5.672-1a1 1 0 0 1 .707.293L7.586 3H2.19q-.362.002-.683.12L1.5 2.98a1 1 0 0 1 1-.98z" }, child: [] }, { tag: "path", attr: { d: "M13.5 9a.5.5 0 0 1 .5.5V11h1.5a.5.5 0 1 1 0 1H14v1.5a.5.5 0 1 1-1 0V12h-1.5a.5.5 0 0 1 0-1H13V9.5a.5.5 0 0 1 .5-.5" }, child: [] }] })(e);
2453
2453
  }
2454
- function _n(e) {
2454
+ function Nn(e) {
2455
2455
  return ie({ tag: "svg", attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M1 2.5A1.5 1.5 0 0 1 2.5 1h3A1.5 1.5 0 0 1 7 2.5v3A1.5 1.5 0 0 1 5.5 7h-3A1.5 1.5 0 0 1 1 5.5zm8 0A1.5 1.5 0 0 1 10.5 1h3A1.5 1.5 0 0 1 15 2.5v3A1.5 1.5 0 0 1 13.5 7h-3A1.5 1.5 0 0 1 9 5.5zm-8 8A1.5 1.5 0 0 1 2.5 9h3A1.5 1.5 0 0 1 7 10.5v3A1.5 1.5 0 0 1 5.5 15h-3A1.5 1.5 0 0 1 1 13.5zm8 0A1.5 1.5 0 0 1 10.5 9h3a1.5 1.5 0 0 1 1.5 1.5v3a1.5 1.5 0 0 1-1.5 1.5h-3A1.5 1.5 0 0 1 9 13.5z" }, child: [] }] })(e);
2456
2456
  }
2457
- function Nn(e) {
2457
+ function Fn(e) {
2458
2458
  return ie({ tag: "svg", attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M3.5 3.5c-.614-.884-.074-1.962.858-2.5L8 7.226 11.642 1c.932.538 1.472 1.616.858 2.5L8.81 8.61l1.556 2.661a2.5 2.5 0 1 1-.794.637L8 9.73l-1.572 2.177a2.5 2.5 0 1 1-.794-.637L7.19 8.61zm2.5 10a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0m7 0a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0" }, child: [] }] })(e);
2459
2459
  }
2460
2460
  function An(e) {
2461
2461
  return ie({ tag: "svg", attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "polyline", attr: { points: "23 4 23 10 17 10" }, child: [] }, { tag: "polyline", attr: { points: "1 20 1 14 7 14" }, child: [] }, { tag: "path", attr: { d: "M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15" }, child: [] }] })(e);
2462
2462
  }
2463
- function fr(e) {
2463
+ function dr(e) {
2464
2464
  return ie({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z" }, child: [] }] })(e);
2465
2465
  }
2466
- function dr(e) {
2466
+ function pr(e) {
2467
2467
  return ie({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }, child: [] }] })(e);
2468
2468
  }
2469
- function pr(e) {
2469
+ function hr(e) {
2470
2470
  return ie({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z" }, child: [] }] })(e);
2471
2471
  }
2472
- function hr(e) {
2472
+ function vr(e) {
2473
2473
  return ie({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }, child: [] }] })(e);
2474
2474
  }
2475
- function vr(e) {
2475
+ function mr(e) {
2476
2476
  return ie({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" }, child: [] }] })(e);
2477
2477
  }
2478
- function Fn(e) {
2478
+ function Hn(e) {
2479
2479
  return ie({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M16 9v10H8V9h8m-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z" }, child: [] }] })(e);
2480
2480
  }
2481
- function Yt(e) {
2481
+ function qt(e) {
2482
2482
  return ie({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zm-1-4-1.41-1.41L13 12.17V4h-2v8.17L8.41 9.59 7 11l5 5 5-5z" }, child: [] }] })(e);
2483
2483
  }
2484
- function Hn(e) {
2484
+ function Vn(e) {
2485
2485
  return ie({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zM7 9l1.41 1.41L11 7.83V16h2V7.83l2.59 2.58L17 9l-5-5-5 5z" }, child: [] }] })(e);
2486
2486
  }
2487
- function mr(e) {
2487
+ function yr(e) {
2488
2488
  return ie({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M10.02 6 8.61 7.41 13.19 12l-4.58 4.59L10.02 18l6-6-6-6z" }, child: [] }] })(e);
2489
2489
  }
2490
- function Vn(e) {
2490
+ function zn(e) {
2491
2491
  return ie({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M20.005 5.995h-1v2h1v8h-1v2h1c1.103 0 2-.897 2-2v-8c0-1.102-.898-2-2-2zm-14 4H15v4H6.005z" }, child: [] }, { tag: "path", attr: { d: "M17.005 17.995V4H20V2h-8v2h3.005v1.995h-11c-1.103 0-2 .897-2 2v8c0 1.103.897 2 2 2h11V20H12v2h8v-2h-2.995v-2.005zm-13-2v-8h11v8h-11z" }, child: [] }] })(e);
2492
2492
  }
2493
- function yr(e) {
2493
+ function gr(e) {
2494
2494
  return ie({ tag: "svg", attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z" }, child: [] }] })(e);
2495
2495
  }
2496
- function gr(e) {
2496
+ function br(e) {
2497
2497
  return ie({ tag: "svg", attr: { viewBox: "0 0 640 512" }, child: [{ tag: "path", attr: { d: "M128 0C92.7 0 64 28.7 64 64V288H19.2C8.6 288 0 296.6 0 307.2C0 349.6 34.4 384 76.8 384H320V288H128V64H448V96h64V64c0-35.3-28.7-64-64-64H128zM512 128H400c-26.5 0-48 21.5-48 48V464c0 26.5 21.5 48 48 48H592c26.5 0 48-21.5 48-48V256H544c-17.7 0-32-14.3-32-32V128zm32 0v96h96l-96-96z" }, child: [] }] })(e);
2498
2498
  }
2499
- function zn(e) {
2499
+ function Ln(e) {
2500
2500
  return ie({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M64 144a48 48 0 1 0 0-96 48 48 0 1 0 0 96zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zM64 464a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm48-208a48 48 0 1 0 -96 0 48 48 0 1 0 96 0z" }, child: [] }] })(e);
2501
2501
  }
2502
- function nn(e) {
2502
+ function rn(e) {
2503
2503
  return ie({ tag: "svg", attr: { viewBox: "0 0 384 512" }, child: [{ tag: "path", attr: { d: "M64 464H320c8.8 0 16-7.2 16-16V160H256c-17.7 0-32-14.3-32-32V48H64c-8.8 0-16 7.2-16 16V448c0 8.8 7.2 16 16 16zM0 64C0 28.7 28.7 0 64 0H229.5c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64zM192 272V400c0 6.5-3.9 12.3-9.9 14.8s-12.9 1.1-17.4-3.5L129.4 376H112c-8.8 0-16-7.2-16-16V312c0-8.8 7.2-16 16-16h17.4l35.3-35.3c4.6-4.6 11.5-5.9 17.4-3.5s9.9 8.3 9.9 14.8zm85.8-4c11.6 20 18.2 43.3 18.2 68s-6.6 48-18.2 68c-6.6 11.5-21.3 15.4-32.8 8.8s-15.4-21.3-8.8-32.8c7.5-12.9 11.8-27.9 11.8-44s-4.3-31.1-11.8-44c-6.6-11.5-2.7-26.2 8.8-32.8s26.2-2.7 32.8 8.8z" }, child: [] }] })(e);
2504
2504
  }
2505
2505
  function Ce(e) {
2506
2506
  return ie({ tag: "svg", attr: { viewBox: "0 0 384 512" }, child: [{ tag: "path", attr: { d: "M64 464c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16H224v80c0 17.7 14.3 32 32 32h80V448c0 8.8-7.2 16-16 16H64zM64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V154.5c0-17-6.7-33.3-18.7-45.3L274.7 18.7C262.7 6.7 246.5 0 229.5 0H64zm97 289c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0L79 303c-9.4 9.4-9.4 24.6 0 33.9l48 48c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-31-31 31-31zM257 255c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l31 31-31 31c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l48-48c9.4-9.4 9.4-24.6 0-33.9l-48-48z" }, child: [] }] })(e);
2507
2507
  }
2508
- function rn(e) {
2508
+ function an(e) {
2509
2509
  return ie({ tag: "svg", attr: { viewBox: "0 0 384 512" }, child: [{ tag: "path", attr: { d: "M48 448V64c0-8.8 7.2-16 16-16H224v80c0 17.7 14.3 32 32 32h80V448c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16zM64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V154.5c0-17-6.7-33.3-18.7-45.3L274.7 18.7C262.7 6.7 246.5 0 229.5 0H64zm90.9 233.3c-8.1-10.5-23.2-12.3-33.7-4.2s-12.3 23.2-4.2 33.7L161.6 320l-44.5 57.3c-8.1 10.5-6.3 25.5 4.2 33.7s25.5 6.3 33.7-4.2L192 359.1l37.1 47.6c8.1 10.5 23.2 12.3 33.7 4.2s12.3-23.2 4.2-33.7L222.4 320l44.5-57.3c8.1-10.5 6.3-25.5-4.2-33.7s-25.5-6.3-33.7 4.2L192 280.9l-37.1-47.6z" }, child: [] }] })(e);
2510
2510
  }
2511
2511
  function At(e) {
2512
2512
  return ie({ tag: "svg", attr: { viewBox: "0 0 384 512" }, child: [{ tag: "path", attr: { d: "M64 464c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16H224v80c0 17.7 14.3 32 32 32h80V448c0 8.8-7.2 16-16 16H64zM64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V154.5c0-17-6.7-33.3-18.7-45.3L274.7 18.7C262.7 6.7 246.5 0 229.5 0H64zm96 256a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm69.2 46.9c-3-4.3-7.9-6.9-13.2-6.9s-10.2 2.6-13.2 6.9l-41.3 59.7-11.9-19.1c-2.9-4.7-8.1-7.5-13.6-7.5s-10.6 2.8-13.6 7.5l-40 64c-3.1 4.9-3.2 11.1-.4 16.2s8.2 8.2 14 8.2h48 32 40 72c6 0 11.4-3.3 14.2-8.6s2.4-11.6-1-16.5l-72-104z" }, child: [] }] })(e);
2513
2513
  }
2514
- function br(e) {
2514
+ function xr(e) {
2515
2515
  return ie({ tag: "svg", attr: { viewBox: "0 0 384 512" }, child: [{ tag: "path", attr: { d: "M64 464c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16H224v80c0 17.7 14.3 32 32 32h80V448c0 8.8-7.2 16-16 16H64zM64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V154.5c0-17-6.7-33.3-18.7-45.3L274.7 18.7C262.7 6.7 246.5 0 229.5 0H64zm56 256c-13.3 0-24 10.7-24 24s10.7 24 24 24H264c13.3 0 24-10.7 24-24s-10.7-24-24-24H120zm0 96c-13.3 0-24 10.7-24 24s10.7 24 24 24H264c13.3 0 24-10.7 24-24s-10.7-24-24-24H120z" }, child: [] }] })(e);
2516
2516
  }
2517
- function xr(e) {
2517
+ function Cr(e) {
2518
2518
  return ie({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M64 464l48 0 0 48-48 0c-35.3 0-64-28.7-64-64L0 64C0 28.7 28.7 0 64 0L229.5 0c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3L384 304l-48 0 0-144-80 0c-17.7 0-32-14.3-32-32l0-80L64 48c-8.8 0-16 7.2-16 16l0 384c0 8.8 7.2 16 16 16zM176 352l32 0c30.9 0 56 25.1 56 56s-25.1 56-56 56l-16 0 0 32c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-48 0-80c0-8.8 7.2-16 16-16zm32 80c13.3 0 24-10.7 24-24s-10.7-24-24-24l-16 0 0 48 16 0zm96-80l32 0c26.5 0 48 21.5 48 48l0 64c0 26.5-21.5 48-48 48l-32 0c-8.8 0-16-7.2-16-16l0-128c0-8.8 7.2-16 16-16zm32 128c8.8 0 16-7.2 16-16l0-64c0-8.8-7.2-16-16-16l-16 0 0 96 16 0zm80-112c0-8.8 7.2-16 16-16l48 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 32 32 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 48c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-64 0-64z" }, child: [] }] })(e);
2519
2519
  }
2520
- function an(e) {
2520
+ function on(e) {
2521
2521
  return ie({ tag: "svg", attr: { viewBox: "0 0 384 512" }, child: [{ tag: "path", attr: { d: "M64 464c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16H224v80c0 17.7 14.3 32 32 32h80V448c0 8.8-7.2 16-16 16H64zM64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V154.5c0-17-6.7-33.3-18.7-45.3L274.7 18.7C262.7 6.7 246.5 0 229.5 0H64zm72 208c-13.3 0-24 10.7-24 24V336v56c0 13.3 10.7 24 24 24s24-10.7 24-24V360h44c42 0 76-34 76-76s-34-76-76-76H136zm68 104H160V256h44c15.5 0 28 12.5 28 28s-12.5 28-28 28z" }, child: [] }] })(e);
2522
2522
  }
2523
- function on(e) {
2523
+ function sn(e) {
2524
2524
  return ie({ tag: "svg", attr: { viewBox: "0 0 384 512" }, child: [{ tag: "path", attr: { d: "M320 464c8.8 0 16-7.2 16-16V160H256c-17.7 0-32-14.3-32-32V48H64c-8.8 0-16 7.2-16 16V448c0 8.8 7.2 16 16 16H320zM0 64C0 28.7 28.7 0 64 0H229.5c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64zM80 288c0-17.7 14.3-32 32-32h96c17.7 0 32 14.3 32 32v16l44.9-29.9c2-1.3 4.4-2.1 6.8-2.1c6.8 0 12.3 5.5 12.3 12.3V387.7c0 6.8-5.5 12.3-12.3 12.3c-2.4 0-4.8-.7-6.8-2.1L240 368v16c0 17.7-14.3 32-32 32H112c-17.7 0-32-14.3-32-32V288z" }, child: [] }] })(e);
2525
2525
  }
2526
- function sn(e) {
2526
+ function cn(e) {
2527
2527
  return ie({ tag: "svg", attr: { viewBox: "0 0 384 512" }, child: [{ tag: "path", attr: { d: "M48 448V64c0-8.8 7.2-16 16-16H224v80c0 17.7 14.3 32 32 32h80V448c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16zM64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V154.5c0-17-6.7-33.3-18.7-45.3L274.7 18.7C262.7 6.7 246.5 0 229.5 0H64zm55 241.1c-3.8-12.7-17.2-19.9-29.9-16.1s-19.9 17.2-16.1 29.9l48 160c3 10.2 12.4 17.1 23 17.1s19.9-7 23-17.1l25-83.4 25 83.4c3 10.2 12.4 17.1 23 17.1s19.9-7 23-17.1l48-160c3.8-12.7-3.4-26.1-16.1-29.9s-26.1 3.4-29.9 16.1l-25 83.4-25-83.4c-3-10.2-12.4-17.1-23-17.1s-19.9 7-23 17.1l-25 83.4-25-83.4z" }, child: [] }] })(e);
2528
2528
  }
2529
- function Cr(e) {
2529
+ function wr(e) {
2530
2530
  return ie({ tag: "svg", attr: { viewBox: "0 0 384 512" }, child: [{ tag: "path", attr: { d: "M64 464c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16h48c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16h48v80c0 17.7 14.3 32 32 32h80V448c0 8.8-7.2 16-16 16H64zM64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V154.5c0-17-6.7-33.3-18.7-45.3L274.7 18.7C262.7 6.7 246.5 0 229.5 0H64zm48 112c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16s-7.2-16-16-16H128c-8.8 0-16 7.2-16 16zm0 64c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16s-7.2-16-16-16H128c-8.8 0-16 7.2-16 16zm-6.3 71.8L82.1 335.9c-1.4 5.4-2.1 10.9-2.1 16.4c0 35.2 28.8 63.7 64 63.7s64-28.5 64-63.7c0-5.5-.7-11.1-2.1-16.4l-23.5-88.2c-3.7-14-16.4-23.8-30.9-23.8H136.6c-14.5 0-27.2 9.7-30.9 23.8zM128 336h32c8.8 0 16 7.2 16 16s-7.2 16-16 16H128c-8.8 0-16-7.2-16-16s7.2-16 16-16z" }, child: [] }] })(e);
2531
2531
  }
2532
- function qt(e) {
2532
+ function Kt(e) {
2533
2533
  return ie({ tag: "svg", attr: { viewBox: "0 0 384 512" }, child: [{ tag: "path", attr: { d: "M320 464c8.8 0 16-7.2 16-16V160H256c-17.7 0-32-14.3-32-32V48H64c-8.8 0-16 7.2-16 16V448c0 8.8 7.2 16 16 16H320zM0 64C0 28.7 28.7 0 64 0H229.5c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64z" }, child: [] }] })(e);
2534
2534
  }
2535
- function wr(e) {
2535
+ function jr(e) {
2536
2536
  return ie({ tag: "svg", attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M384 480h48c11.4 0 21.9-6 27.6-15.9l112-192c5.8-9.9 5.8-22.1 .1-32.1S555.5 224 544 224H144c-11.4 0-21.9 6-27.6 15.9L48 357.1V96c0-8.8 7.2-16 16-16H181.5c4.2 0 8.3 1.7 11.3 4.7l26.5 26.5c21 21 49.5 32.8 79.2 32.8H416c8.8 0 16 7.2 16 16v32h48V160c0-35.3-28.7-64-64-64H298.5c-17 0-33.3-6.7-45.3-18.7L226.7 50.7c-12-12-28.3-18.7-45.3-18.7H64C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H87.7 384z" }, child: [] }] })(e);
2537
2537
  }
2538
- function Wt(e) {
2538
+ function Bt(e) {
2539
2539
  return ie({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M104.6 48H64C28.7 48 0 76.7 0 112V384c0 35.3 28.7 64 64 64h96V400H64c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16H80c0 17.7 14.3 32 32 32h72.4C202 108.4 227.6 96 256 96h62c-7.1-27.6-32.2-48-62-48H215.4C211.6 20.9 188.2 0 160 0s-51.6 20.9-55.4 48zM144 56a16 16 0 1 1 32 0 16 16 0 1 1 -32 0zM448 464H256c-8.8 0-16-7.2-16-16V192c0-8.8 7.2-16 16-16l140.1 0L464 243.9V448c0 8.8-7.2 16-16 16zM256 512H448c35.3 0 64-28.7 64-64V243.9c0-12.7-5.1-24.9-14.1-33.9l-67.9-67.9c-9-9-21.2-14.1-33.9-14.1H256c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64z" }, child: [] }] })(e);
2540
2540
  }
2541
- const it = (e = () => {
2541
+ const st = (e = () => {
2542
2542
  }) => {
2543
- const [o, c] = Z(!1), r = Pe(null), a = (l) => {
2543
+ const [a, s] = Z(!1), r = Pe(null), o = (l) => {
2544
2544
  var u;
2545
- (u = r.current) != null && u.contains(l.target) ? c(!1) : (c(!0), e(l, r));
2545
+ (u = r.current) != null && u.contains(l.target) ? s(!1) : (s(!0), e(l, r));
2546
2546
  };
2547
- return ge(() => (document.addEventListener("click", a, !0), document.addEventListener("mousedown", a, !0), () => {
2548
- document.removeEventListener("click", a, !0), document.removeEventListener("mousedown", a, !0);
2549
- }), []), { ref: r, isClicked: o, setIsClicked: c };
2550
- }, Ln = at(), jr = ({ children: e, layout: o }) => {
2551
- const [c, r] = Z(() => a(o));
2552
- function a(l) {
2547
+ return ge(() => (document.addEventListener("click", o, !0), document.addEventListener("mousedown", o, !0), () => {
2548
+ document.removeEventListener("click", o, !0), document.removeEventListener("mousedown", o, !0);
2549
+ }), []), { ref: r, isClicked: a, setIsClicked: s };
2550
+ }, Dn = ot(), Er = ({ children: e, layout: a }) => {
2551
+ const [s, r] = Z(() => o(a));
2552
+ function o(l) {
2553
2553
  return ["list", "grid"].includes(l) ? l : "grid";
2554
2554
  }
2555
- return /* @__PURE__ */ n.jsx(Ln.Provider, { value: { activeLayout: c, setActiveLayout: r }, children: e });
2556
- }, $e = () => ot(Ln), Er = ({ setShowToggleViewMenu: e, onLayoutChange: o }) => {
2557
- const c = it(() => {
2555
+ return /* @__PURE__ */ n.jsx(Dn.Provider, { value: { activeLayout: s, setActiveLayout: r }, children: e });
2556
+ }, $e = () => it(Dn), Or = ({ setShowToggleViewMenu: e, onLayoutChange: a }) => {
2557
+ const s = st(() => {
2558
2558
  e(!1);
2559
- }), { activeLayout: r, setActiveLayout: a } = $e(), l = [
2559
+ }), { activeLayout: r, setActiveLayout: o } = $e(), l = [
2560
2560
  {
2561
2561
  key: "grid",
2562
2562
  name: "Grid",
2563
- icon: /* @__PURE__ */ n.jsx(_n, { size: 18 })
2563
+ icon: /* @__PURE__ */ n.jsx(Nn, { size: 18 })
2564
2564
  },
2565
2565
  {
2566
2566
  key: "list",
2567
2567
  name: "List",
2568
- icon: /* @__PURE__ */ n.jsx(zn, { size: 18 })
2568
+ icon: /* @__PURE__ */ n.jsx(Ln, { size: 18 })
2569
2569
  }
2570
2570
  ], u = (f) => {
2571
- a(f), o(f), e(!1);
2571
+ o(f), a(f), e(!1);
2572
2572
  };
2573
- return /* @__PURE__ */ n.jsx("div", { ref: c.ref, className: "toggle-view", role: "dropdown", children: /* @__PURE__ */ n.jsx("ul", { role: "menu", "aria-orientation": "vertical", children: l.map((f) => /* @__PURE__ */ n.jsxs(
2573
+ return /* @__PURE__ */ n.jsx("div", { ref: s.ref, className: "toggle-view", role: "dropdown", children: /* @__PURE__ */ n.jsx("ul", { role: "menu", "aria-orientation": "vertical", children: l.map((f) => /* @__PURE__ */ n.jsxs(
2574
2574
  "li",
2575
2575
  {
2576
2576
  role: "menuitem",
2577
2577
  onClick: () => u(f.key),
2578
2578
  onKeyDown: () => u(f.key),
2579
2579
  children: [
2580
- /* @__PURE__ */ n.jsx("span", { children: f.key === r && /* @__PURE__ */ n.jsx(yr, { size: 13 }) }),
2580
+ /* @__PURE__ */ n.jsx("span", { children: f.key === r && /* @__PURE__ */ n.jsx(gr, { size: 13 }) }),
2581
2581
  /* @__PURE__ */ n.jsx("span", { children: f.icon }),
2582
2582
  /* @__PURE__ */ n.jsx("span", { children: f.name })
2583
2583
  ]
2584
2584
  },
2585
2585
  f.key
2586
2586
  )) }) });
2587
- }, Dn = at(), Or = ({ children: e, filesData: o, onError: c }) => {
2588
- const [r, a] = Z([]);
2587
+ }, In = ot(), Rr = ({ children: e, filesData: a, onError: s }) => {
2588
+ const [r, o] = Z([]);
2589
2589
  ge(() => {
2590
- a(o);
2591
- }, [o]);
2590
+ o(a);
2591
+ }, [a]);
2592
2592
  const l = (u) => u.isDirectory ? r.filter((f) => f.path === `${u.path}/${f.name}`) : [];
2593
- return /* @__PURE__ */ n.jsx(Dn.Provider, { value: { files: r, setFiles: a, getChildren: l, onError: c }, children: e });
2594
- }, xt = () => ot(Dn), In = at(), Rr = ({ children: e }) => {
2595
- const [o, c] = Z(""), [r, a] = Z(null), [l, u] = Z([]), { files: f } = xt();
2593
+ return /* @__PURE__ */ n.jsx(In.Provider, { value: { files: r, setFiles: o, getChildren: l, onError: s }, children: e });
2594
+ }, Ct = () => it(In), $n = ot(), Tr = ({ children: e }) => {
2595
+ const [a, s] = Z(""), [r, o] = Z(null), [l, u] = Z([]), { files: f } = Ct();
2596
2596
  return ge(() => {
2597
- Array.isArray(f) && f.length > 0 && (u(() => f.filter((h) => h.path === `${o}/${h.name}`)), a(() => f.find((h) => h.path === o) ?? null));
2598
- }, [f, o]), /* @__PURE__ */ n.jsx(
2599
- In.Provider,
2597
+ Array.isArray(f) && f.length > 0 && (u(() => f.filter((h) => h.path === `${a}/${h.name}`)), o(() => f.find((h) => h.path === a) ?? null));
2598
+ }, [f, a]), /* @__PURE__ */ n.jsx(
2599
+ $n.Provider,
2600
2600
  {
2601
2601
  value: {
2602
- currentPath: o,
2603
- setCurrentPath: c,
2602
+ currentPath: a,
2603
+ setCurrentPath: s,
2604
2604
  currentFolder: r,
2605
- setCurrentFolder: a,
2605
+ setCurrentFolder: o,
2606
2606
  currentPathFiles: l,
2607
2607
  setCurrentPathFiles: u
2608
2608
  },
2609
2609
  children: e
2610
2610
  }
2611
2611
  );
2612
- }, Ae = () => ot(In), $n = at(), Tr = ({ children: e, onDownload: o }) => {
2613
- const [c, r] = Z([]), a = () => {
2614
- o(c);
2612
+ }, Fe = () => it($n), Ge = (e, a, ...s) => {
2613
+ try {
2614
+ if (typeof e == "function")
2615
+ e(...s);
2616
+ else
2617
+ throw new Error(
2618
+ `<FileManager /> Missing prop: Callback function "${a}" is required.`
2619
+ );
2620
+ } catch (r) {
2621
+ console.error(r.message);
2622
+ }
2623
+ }, Wn = ot(), Pr = ({ children: e, onDownload: a }) => {
2624
+ const [s, r] = Z([]), o = () => {
2625
+ Ge(a, "onDownload", s);
2615
2626
  };
2616
- return /* @__PURE__ */ n.jsx($n.Provider, { value: { selectedFiles: c, setSelectedFiles: r, handleDownload: a }, children: e });
2617
- }, Ve = () => ot($n), Wn = at(), Pr = ({ children: e, onPaste: o }) => {
2618
- const [c, r] = Z(null), { selectedFiles: a, setSelectedFiles: l } = Ve(), u = (h) => {
2627
+ return /* @__PURE__ */ n.jsx(Wn.Provider, { value: { selectedFiles: s, setSelectedFiles: r, handleDownload: o }, children: e });
2628
+ }, Ve = () => it(Wn), Bn = ot(), Sr = ({ children: e, onPaste: a }) => {
2629
+ const [s, r] = Z(null), { selectedFiles: o, setSelectedFiles: l } = Ve(), u = (h) => {
2619
2630
  r({
2620
- files: a,
2631
+ files: o,
2621
2632
  isMoving: h
2622
2633
  });
2623
2634
  }, f = (h) => {
2624
2635
  if (h && !h.isDirectory) return;
2625
- const d = c.files, m = c.isMoving ? "move" : "copy";
2626
- o(d, h, m), c.isMoving && r(null), l([]);
2636
+ const d = s.files, m = s.isMoving ? "move" : "copy";
2637
+ Ge(a, "onPaste", d, h, m), s.isMoving && r(null), l([]);
2627
2638
  };
2628
- return /* @__PURE__ */ n.jsx(Wn.Provider, { value: { clipBoard: c, setClipBoard: r, handleCutCopy: u, handlePasting: f }, children: e });
2629
- }, Ct = () => ot(Wn), Sr = ({
2639
+ return /* @__PURE__ */ n.jsx(Bn.Provider, { value: { clipBoard: s, setClipBoard: r, handleCutCopy: u, handlePasting: f }, children: e });
2640
+ }, wt = () => it(Bn), kr = ({
2630
2641
  allowCreateFolder: e = !0,
2631
- allowUploadFile: o = !0,
2632
- onLayoutChange: c,
2642
+ allowUploadFile: a = !0,
2643
+ onLayoutChange: s,
2633
2644
  onRefresh: r,
2634
- triggerAction: a
2645
+ triggerAction: o
2635
2646
  }) => {
2636
2647
  var w;
2637
- const [l, u] = Z(!1), { currentFolder: f } = Ae(), { selectedFiles: h, setSelectedFiles: d, handleDownload: m } = Ve(), { clipBoard: j, setClipBoard: x, handleCutCopy: S, handlePasting: V } = Ct(), { activeLayout: k } = $e(), q = [
2648
+ const [l, u] = Z(!1), { currentFolder: f } = Fe(), { selectedFiles: h, setSelectedFiles: d, handleDownload: m } = Ve(), { clipBoard: j, setClipBoard: x, handleCutCopy: S, handlePasting: V } = wt(), { activeLayout: k } = $e(), q = [
2638
2649
  {
2639
- icon: /* @__PURE__ */ n.jsx(Mn, { size: 17, strokeWidth: 0.3 }),
2650
+ icon: /* @__PURE__ */ n.jsx(_n, { size: 17, strokeWidth: 0.3 }),
2640
2651
  text: "New Folder",
2641
2652
  permission: e,
2642
- onClick: () => a.show("createFolder")
2653
+ onClick: () => o.show("createFolder")
2643
2654
  },
2644
2655
  {
2645
- icon: /* @__PURE__ */ n.jsx(Hn, { size: 18 }),
2656
+ icon: /* @__PURE__ */ n.jsx(Vn, { size: 18 }),
2646
2657
  text: "Upload",
2647
- permission: o,
2648
- onClick: () => a.show("uploadFile")
2658
+ permission: a,
2659
+ onClick: () => o.show("uploadFile")
2649
2660
  },
2650
2661
  {
2651
- icon: /* @__PURE__ */ n.jsx(Wt, { size: 18 }),
2662
+ icon: /* @__PURE__ */ n.jsx(Bt, { size: 18 }),
2652
2663
  text: "Paste",
2653
2664
  permission: !!j,
2654
2665
  onClick: I
2655
2666
  }
2656
2667
  ], L = [
2657
2668
  {
2658
- icon: k === "grid" ? /* @__PURE__ */ n.jsx(_n, { size: 16 }) : /* @__PURE__ */ n.jsx(zn, { size: 16 }),
2669
+ icon: k === "grid" ? /* @__PURE__ */ n.jsx(Nn, { size: 16 }) : /* @__PURE__ */ n.jsx(Ln, { size: 16 }),
2659
2670
  title: "Change View",
2660
2671
  onClick: () => u((i) => !i)
2661
2672
  },
@@ -2663,7 +2674,7 @@ const it = (e = () => {
2663
2674
  icon: /* @__PURE__ */ n.jsx(An, { size: 16 }),
2664
2675
  title: "Refresh",
2665
2676
  onClick: () => {
2666
- r(), x(null);
2677
+ Ge(r, "onRefresh"), x(null);
2667
2678
  }
2668
2679
  }
2669
2680
  ];
@@ -2676,11 +2687,11 @@ const it = (e = () => {
2676
2687
  return h.length > 0 ? /* @__PURE__ */ n.jsx("div", { className: "toolbar file-selected", children: /* @__PURE__ */ n.jsxs("div", { className: "file-action-container", children: [
2677
2688
  /* @__PURE__ */ n.jsxs("div", { children: [
2678
2689
  /* @__PURE__ */ n.jsxs("button", { className: "item-action file-action", onClick: () => S(!0), children: [
2679
- /* @__PURE__ */ n.jsx(Nn, { size: 18 }),
2690
+ /* @__PURE__ */ n.jsx(Fn, { size: 18 }),
2680
2691
  /* @__PURE__ */ n.jsx("span", { children: "Cut" })
2681
2692
  ] }),
2682
2693
  /* @__PURE__ */ n.jsxs("button", { className: "item-action file-action", onClick: () => S(!1), children: [
2683
- /* @__PURE__ */ n.jsx(kn, { strokeWidth: 0.1, size: 17 }),
2694
+ /* @__PURE__ */ n.jsx(Mn, { strokeWidth: 0.1, size: 17 }),
2684
2695
  /* @__PURE__ */ n.jsx("span", { children: "Copy" })
2685
2696
  ] }),
2686
2697
  ((w = j == null ? void 0 : j.files) == null ? void 0 : w.length) > 0 && /* @__PURE__ */ n.jsxs(
@@ -2689,7 +2700,7 @@ const it = (e = () => {
2689
2700
  className: "item-action file-action",
2690
2701
  onClick: I,
2691
2702
  children: [
2692
- /* @__PURE__ */ n.jsx(Wt, { size: 18 }),
2703
+ /* @__PURE__ */ n.jsx(Bt, { size: 18 }),
2693
2704
  /* @__PURE__ */ n.jsx("span", { children: "Paste" })
2694
2705
  ]
2695
2706
  }
@@ -2698,24 +2709,24 @@ const it = (e = () => {
2698
2709
  "button",
2699
2710
  {
2700
2711
  className: "item-action file-action",
2701
- onClick: () => a.show("rename"),
2712
+ onClick: () => o.show("rename"),
2702
2713
  children: [
2703
- /* @__PURE__ */ n.jsx(Vn, { size: 19 }),
2714
+ /* @__PURE__ */ n.jsx(zn, { size: 19 }),
2704
2715
  /* @__PURE__ */ n.jsx("span", { children: "Rename" })
2705
2716
  ]
2706
2717
  }
2707
2718
  ),
2708
2719
  !h.isDirectory && /* @__PURE__ */ n.jsxs("button", { className: "item-action file-action", onClick: N, children: [
2709
- /* @__PURE__ */ n.jsx(Yt, { size: 19 }),
2720
+ /* @__PURE__ */ n.jsx(qt, { size: 19 }),
2710
2721
  /* @__PURE__ */ n.jsx("span", { children: "Download" })
2711
2722
  ] }),
2712
2723
  /* @__PURE__ */ n.jsxs(
2713
2724
  "button",
2714
2725
  {
2715
2726
  className: "item-action file-action",
2716
- onClick: () => a.show("delete"),
2727
+ onClick: () => o.show("delete"),
2717
2728
  children: [
2718
- /* @__PURE__ */ n.jsx(Fn, { size: 19 }),
2729
+ /* @__PURE__ */ n.jsx(Hn, { size: 19 }),
2719
2730
  /* @__PURE__ */ n.jsx("span", { children: "Delete" })
2720
2731
  ]
2721
2732
  }
@@ -2734,7 +2745,7 @@ const it = (e = () => {
2734
2745
  h.length > 1 && "s",
2735
2746
  " selected"
2736
2747
  ] }),
2737
- /* @__PURE__ */ n.jsx(dr, { size: 18 })
2748
+ /* @__PURE__ */ n.jsx(pr, { size: 18 })
2738
2749
  ]
2739
2750
  }
2740
2751
  )
@@ -2749,28 +2760,28 @@ const it = (e = () => {
2749
2760
  y !== L.length - 1 && /* @__PURE__ */ n.jsx("div", { className: "item-separator" })
2750
2761
  ] }, y)),
2751
2762
  l && /* @__PURE__ */ n.jsx(
2752
- Er,
2763
+ Or,
2753
2764
  {
2754
2765
  setShowToggleViewMenu: u,
2755
- onLayoutChange: c
2766
+ onLayoutChange: s
2756
2767
  }
2757
2768
  )
2758
2769
  ] })
2759
2770
  ] }) });
2760
2771
  };
2761
- var Bn = { exports: {} };
2762
- (function(e, o) {
2763
- (function(c, r) {
2772
+ var Un = { exports: {} };
2773
+ (function(e, a) {
2774
+ (function(s, r) {
2764
2775
  e.exports = r(Me);
2765
- })(En, function(c) {
2776
+ })(On, function(s) {
2766
2777
  return function(r) {
2767
- var a = {};
2778
+ var o = {};
2768
2779
  function l(u) {
2769
- if (a[u]) return a[u].exports;
2770
- var f = a[u] = { i: u, l: !1, exports: {} };
2780
+ if (o[u]) return o[u].exports;
2781
+ var f = o[u] = { i: u, l: !1, exports: {} };
2771
2782
  return r[u].call(f.exports, f, f.exports, l), f.l = !0, f.exports;
2772
2783
  }
2773
- return l.m = r, l.c = a, l.d = function(u, f, h) {
2784
+ return l.m = r, l.c = o, l.d = function(u, f, h) {
2774
2785
  l.o(u, f) || Object.defineProperty(u, f, { enumerable: !0, get: h });
2775
2786
  }, l.r = function(u) {
2776
2787
  typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(u, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(u, "__esModule", { value: !0 });
@@ -2791,11 +2802,11 @@ var Bn = { exports: {} };
2791
2802
  }, l.o = function(u, f) {
2792
2803
  return Object.prototype.hasOwnProperty.call(u, f);
2793
2804
  }, l.p = "", l(l.s = 4);
2794
- }([function(r, a, l) {
2805
+ }([function(r, o, l) {
2795
2806
  r.exports = l(2)();
2796
- }, function(r, a) {
2797
- r.exports = c;
2798
- }, function(r, a, l) {
2807
+ }, function(r, o) {
2808
+ r.exports = s;
2809
+ }, function(r, o, l) {
2799
2810
  var u = l(3);
2800
2811
  function f() {
2801
2812
  }
@@ -2815,10 +2826,10 @@ var Bn = { exports: {} };
2815
2826
  var j = { array: d, bigint: d, bool: d, func: d, number: d, object: d, string: d, symbol: d, any: d, arrayOf: m, element: d, elementType: d, instanceOf: m, node: d, objectOf: m, oneOf: m, oneOfType: m, shape: m, exact: m, checkPropTypes: h, resetWarningCache: f };
2816
2827
  return j.PropTypes = j, j;
2817
2828
  };
2818
- }, function(r, a, l) {
2829
+ }, function(r, o, l) {
2819
2830
  r.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
2820
- }, function(r, a, l) {
2821
- l.r(a);
2831
+ }, function(r, o, l) {
2832
+ l.r(o);
2822
2833
  var u = l(1), f = l.n(u), h = l(0), d = l.n(h), m = function(i) {
2823
2834
  return i !== 0;
2824
2835
  };
@@ -2946,34 +2957,34 @@ var Bn = { exports: {} };
2946
2957
  }, onClosing: function() {
2947
2958
  }, onTriggerOpening: function() {
2948
2959
  }, onTriggerClosing: function() {
2949
- }, tabIndex: null, contentContainerTagName: "div", triggerElementProps: {} }, a.default = w;
2960
+ }, tabIndex: null, contentContainerTagName: "div", triggerElementProps: {} }, o.default = w;
2950
2961
  }]);
2951
2962
  });
2952
- })(Bn);
2953
- var kr = Bn.exports;
2954
- const Mr = /* @__PURE__ */ Ut(kr);
2955
- function _r(e) {
2963
+ })(Un);
2964
+ var Mr = Un.exports;
2965
+ const _r = /* @__PURE__ */ Yt(Mr);
2966
+ function Nr(e) {
2956
2967
  return ie({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 48c110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200-110.532 0-200-89.451-200-200 0-110.532 89.451-200 200-200m140.204 130.267l-22.536-22.718c-4.667-4.705-12.265-4.736-16.97-.068L215.346 303.697l-59.792-60.277c-4.667-4.705-12.265-4.736-16.97-.069l-22.719 22.536c-4.705 4.667-4.736 12.265-.068 16.971l90.781 91.516c4.667 4.705 12.265 4.736 16.97.068l172.589-171.204c4.704-4.668 4.734-12.266.067-16.971z" }, child: [] }] })(e);
2957
2968
  }
2958
- function Nr(e) {
2969
+ function Fr(e) {
2959
2970
  return ie({ tag: "svg", attr: { viewBox: "0 0 384 512" }, child: [{ tag: "path", attr: { d: "M288 248v28c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-28c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12zm-12 72H108c-6.6 0-12 5.4-12 12v28c0 6.6 5.4 12 12 12h168c6.6 0 12-5.4 12-12v-28c0-6.6-5.4-12-12-12zm108-188.1V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V48C0 21.5 21.5 0 48 0h204.1C264.8 0 277 5.1 286 14.1L369.9 98c9 8.9 14.1 21.2 14.1 33.9zm-128-80V128h76.1L256 51.9zM336 464V176H232c-13.3 0-24-10.7-24-24V48H48v416h288z" }, child: [] }] })(e);
2960
2971
  }
2961
- function cn(e) {
2972
+ function ln(e) {
2962
2973
  return ie({ tag: "svg", attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M527.9 224H480v-48c0-26.5-21.5-48-48-48H272l-64-64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h400c16.5 0 31.9-8.5 40.7-22.6l79.9-128c20-31.9-3-73.4-40.7-73.4zM48 118c0-3.3 2.7-6 6-6h134.1l64 64H426c3.3 0 6 2.7 6 6v42H152c-16.8 0-32.4 8.8-41.1 23.2L48 351.4zm400 282H72l77.2-128H528z" }, child: [] }] })(e);
2963
2974
  }
2964
- function ln(e) {
2975
+ function un(e) {
2965
2976
  return ie({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M464 128H272l-54.63-54.63c-6-6-14.14-9.37-22.63-9.37H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V176c0-26.51-21.49-48-48-48zm0 272H48V112h140.12l54.63 54.63c6 6 14.14 9.37 22.63 9.37H464v224z" }, child: [] }] })(e);
2966
2977
  }
2967
- const Un = ({ folder: e }) => {
2968
- const [o, c] = Z(!1), [r, a] = Z(!1), { currentPath: l, setCurrentPath: u } = Ae(), f = () => {
2969
- a(!0), u(e.path);
2978
+ const Yn = ({ folder: e }) => {
2979
+ const [a, s] = Z(!1), [r, o] = Z(!1), { currentPath: l, setCurrentPath: u } = Fe(), f = () => {
2980
+ o(!0), u(e.path);
2970
2981
  }, h = (d) => {
2971
- d.stopPropagation(), c((m) => !m);
2982
+ d.stopPropagation(), s((m) => !m);
2972
2983
  };
2973
2984
  return ge(() => {
2974
- a(l === e.path);
2985
+ o(l === e.path);
2975
2986
  const d = l.split("/");
2976
- d.pop(), d.join("/") === e.path && c(!0);
2987
+ d.pop(), d.join("/") === e.path && s(!0);
2977
2988
  }, [l]), e.subDirectories.length > 0 ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
2978
2989
  /* @__PURE__ */ n.jsxs(
2979
2990
  "div",
@@ -2982,20 +2993,20 @@ const Un = ({ folder: e }) => {
2982
2993
  onClick: f,
2983
2994
  children: [
2984
2995
  /* @__PURE__ */ n.jsx("span", { onClick: h, children: /* @__PURE__ */ n.jsx(
2985
- pr,
2996
+ hr,
2986
2997
  {
2987
2998
  size: 20,
2988
- className: `${o ? "folder-rotate-down" : "folder-rotate-right"}`
2999
+ className: `${a ? "folder-rotate-down" : "folder-rotate-right"}`
2989
3000
  }
2990
3001
  ) }),
2991
3002
  /* @__PURE__ */ n.jsxs("div", { className: "sb-folder-details", children: [
2992
- o || r ? /* @__PURE__ */ n.jsx(cn, { size: 20, className: "folder-open-icon" }) : /* @__PURE__ */ n.jsx(ln, { size: 17, className: "folder-close-icon" }),
3003
+ a || r ? /* @__PURE__ */ n.jsx(ln, { size: 20, className: "folder-open-icon" }) : /* @__PURE__ */ n.jsx(un, { size: 17, className: "folder-close-icon" }),
2993
3004
  /* @__PURE__ */ n.jsx("span", { className: "sb-folder-name", title: e.name, children: e.name })
2994
3005
  ] })
2995
3006
  ]
2996
3007
  }
2997
3008
  ),
2998
- /* @__PURE__ */ n.jsx(Mr, { open: o, children: /* @__PURE__ */ n.jsx("div", { className: "folder-collapsible", children: e.subDirectories.map((d, m) => /* @__PURE__ */ n.jsx(Un, { folder: d }, m)) }) })
3009
+ /* @__PURE__ */ n.jsx(_r, { open: a, children: /* @__PURE__ */ n.jsx("div", { className: "folder-collapsible", children: e.subDirectories.map((d, m) => /* @__PURE__ */ n.jsx(Yn, { folder: d }, m)) }) })
2999
3010
  ] }) : /* @__PURE__ */ n.jsxs(
3000
3011
  "div",
3001
3012
  {
@@ -3004,32 +3015,32 @@ const Un = ({ folder: e }) => {
3004
3015
  children: [
3005
3016
  /* @__PURE__ */ n.jsx("span", { className: "non-expanable" }),
3006
3017
  /* @__PURE__ */ n.jsxs("div", { className: "sb-folder-details", children: [
3007
- r ? /* @__PURE__ */ n.jsx(cn, { size: 20, className: "folder-open-icon" }) : /* @__PURE__ */ n.jsx(ln, { size: 17, className: "folder-close-icon" }),
3018
+ r ? /* @__PURE__ */ n.jsx(ln, { size: 20, className: "folder-open-icon" }) : /* @__PURE__ */ n.jsx(un, { size: 17, className: "folder-close-icon" }),
3008
3019
  /* @__PURE__ */ n.jsx("span", { className: "sb-folder-name", title: e.name, children: e.name })
3009
3020
  ] })
3010
3021
  ]
3011
3022
  }
3012
3023
  );
3013
- }, Ar = (e) => e == null ? void 0 : e.split("/").slice(0, -1).join("/"), Fr = () => {
3014
- const [e, o] = Z([]), { files: c } = xt(), r = (a, l) => {
3024
+ }, Ar = (e) => e == null ? void 0 : e.split("/").slice(0, -1).join("/"), Hr = () => {
3025
+ const [e, a] = Z([]), { files: s } = Ct(), r = (o, l) => {
3015
3026
  var u;
3016
- return l[a] ? (u = l[a]) == null ? void 0 : u.map((f) => ({
3027
+ return l[o] ? (u = l[o]) == null ? void 0 : u.map((f) => ({
3017
3028
  ...f,
3018
3029
  subDirectories: r(f.path, l)
3019
3030
  })) : [];
3020
3031
  };
3021
3032
  return ge(() => {
3022
- if (Array.isArray(c)) {
3023
- const a = c.filter((u) => u.isDirectory), l = Object.groupBy(a, ({ path: u }) => Ar(u));
3024
- o(() => r("", l));
3033
+ if (Array.isArray(s)) {
3034
+ const o = s.filter((u) => u.isDirectory), l = Object.groupBy(o, ({ path: u }) => Ar(u));
3035
+ a(() => r("", l));
3025
3036
  }
3026
- }, [c]), /* @__PURE__ */ n.jsx("div", { className: "sb-folders-list", children: (e == null ? void 0 : e.length) > 0 ? /* @__PURE__ */ n.jsx(n.Fragment, { children: e == null ? void 0 : e.map((a, l) => /* @__PURE__ */ n.jsx(Un, { folder: a }, l)) }) : /* @__PURE__ */ n.jsx("div", { className: "empty-nav-pane", children: "Nothing here yet" }) });
3027
- }, Hr = () => {
3028
- const [e, o] = Z([]), [c, r] = Z([]), [a, l] = Z([]), [u, f] = Z(!1), { currentPath: h, setCurrentPath: d } = Ae(), m = Pe(null), j = Pe([]), x = Pe(null), S = it(() => {
3037
+ }, [s]), /* @__PURE__ */ n.jsx("div", { className: "sb-folders-list", children: (e == null ? void 0 : e.length) > 0 ? /* @__PURE__ */ n.jsx(n.Fragment, { children: e == null ? void 0 : e.map((o, l) => /* @__PURE__ */ n.jsx(Yn, { folder: o }, l)) }) : /* @__PURE__ */ n.jsx("div", { className: "empty-nav-pane", children: "Nothing here yet" }) });
3038
+ }, Vr = () => {
3039
+ const [e, a] = Z([]), [s, r] = Z([]), [o, l] = Z([]), [u, f] = Z(!1), { currentPath: h, setCurrentPath: d } = Fe(), m = Pe(null), j = Pe([]), x = Pe(null), S = st(() => {
3029
3040
  f(!1);
3030
3041
  });
3031
3042
  ge(() => {
3032
- o(() => {
3043
+ a(() => {
3033
3044
  let I = "";
3034
3045
  return h == null ? void 0 : h.split("/").map((N) => ({
3035
3046
  name: N || "Home",
@@ -3040,7 +3051,7 @@ const Un = ({ folder: e }) => {
3040
3051
  const V = (I) => {
3041
3052
  d(I);
3042
3053
  }, k = () => {
3043
- const I = m.current.clientWidth, N = getComputedStyle(m.current), w = parseFloat(N.paddingLeft), i = c.length > 0 ? 1 : 0, y = parseFloat(N.gap) * (e.length + i);
3054
+ const I = m.current.clientWidth, N = getComputedStyle(m.current), w = parseFloat(N.paddingLeft), i = s.length > 0 ? 1 : 0, y = parseFloat(N.gap) * (e.length + i);
3044
3055
  return I - (w + y);
3045
3056
  }, q = () => {
3046
3057
  var i;
@@ -3051,10 +3062,10 @@ const Un = ({ folder: e }) => {
3051
3062
  var I;
3052
3063
  if (L()) {
3053
3064
  const N = e[1], w = (I = j.current[1]) == null ? void 0 : I.clientWidth;
3054
- l((i) => [...i, w]), r((i) => [...i, N]), o((i) => i.filter((y, O) => O !== 1));
3055
- } else if (c.length > 0 && q() > a.at(-1)) {
3056
- const N = [e[0], c.at(-1), ...e.slice(1)];
3057
- o(N), r((w) => w.slice(0, -1)), l((w) => w.slice(0, -1));
3065
+ l((i) => [...i, w]), r((i) => [...i, N]), a((i) => i.filter((y, O) => O !== 1));
3066
+ } else if (s.length > 0 && q() > o.at(-1)) {
3067
+ const N = [e[0], s.at(-1), ...e.slice(1)];
3068
+ a(N), r((w) => w.slice(0, -1)), l((w) => w.slice(0, -1));
3058
3069
  }
3059
3070
  }, [L]), /* @__PURE__ */ n.jsxs("div", { className: "bread-crumb-container", children: [
3060
3071
  /* @__PURE__ */ n.jsx("div", { className: "breadcrumb", ref: m, children: e.map((I, N) => /* @__PURE__ */ n.jsxs("div", { style: { display: "contents" }, children: [
@@ -3065,23 +3076,23 @@ const Un = ({ folder: e }) => {
3065
3076
  onClick: () => V(I.path),
3066
3077
  ref: (w) => j.current[N] = w,
3067
3078
  children: [
3068
- N === 0 ? /* @__PURE__ */ n.jsx(fr, {}) : /* @__PURE__ */ n.jsx(mr, {}),
3079
+ N === 0 ? /* @__PURE__ */ n.jsx(dr, {}) : /* @__PURE__ */ n.jsx(yr, {}),
3069
3080
  I.name
3070
3081
  ]
3071
3082
  }
3072
3083
  ),
3073
- (c == null ? void 0 : c.length) > 0 && N === 0 && /* @__PURE__ */ n.jsx(
3084
+ (s == null ? void 0 : s.length) > 0 && N === 0 && /* @__PURE__ */ n.jsx(
3074
3085
  "button",
3075
3086
  {
3076
3087
  className: "folder-name folder-name-btn",
3077
3088
  onClick: () => f(!0),
3078
3089
  ref: x,
3079
3090
  title: "Show more folders",
3080
- children: /* @__PURE__ */ n.jsx(vr, { size: 22, className: "hidden-folders" })
3091
+ children: /* @__PURE__ */ n.jsx(mr, { size: 22, className: "hidden-folders" })
3081
3092
  }
3082
3093
  )
3083
3094
  ] }, N)) }),
3084
- u && /* @__PURE__ */ n.jsx("ul", { ref: S.ref, className: "hidden-folders-container", children: c.map((I, N) => /* @__PURE__ */ n.jsx(
3095
+ u && /* @__PURE__ */ n.jsx("ul", { ref: S.ref, className: "hidden-folders-container", children: s.map((I, N) => /* @__PURE__ */ n.jsx(
3085
3096
  "li",
3086
3097
  {
3087
3098
  onClick: () => {
@@ -3092,24 +3103,24 @@ const Un = ({ folder: e }) => {
3092
3103
  N
3093
3104
  )) })
3094
3105
  ] });
3095
- }, Kt = (e) => ({
3096
- pdf: /* @__PURE__ */ n.jsx(xr, { size: e }),
3106
+ }, Xt = (e) => ({
3107
+ pdf: /* @__PURE__ */ n.jsx(Cr, { size: e }),
3097
3108
  jpg: /* @__PURE__ */ n.jsx(At, { size: e }),
3098
3109
  jpeg: /* @__PURE__ */ n.jsx(At, { size: e }),
3099
3110
  png: /* @__PURE__ */ n.jsx(At, { size: e }),
3100
- txt: /* @__PURE__ */ n.jsx(br, { size: e }),
3101
- doc: /* @__PURE__ */ n.jsx(sn, { size: e }),
3102
- docx: /* @__PURE__ */ n.jsx(sn, { size: e }),
3103
- mp4: /* @__PURE__ */ n.jsx(on, { size: e }),
3104
- webm: /* @__PURE__ */ n.jsx(on, { size: e }),
3105
- mp3: /* @__PURE__ */ n.jsx(nn, { size: e }),
3106
- m4a: /* @__PURE__ */ n.jsx(nn, { size: e }),
3107
- zip: /* @__PURE__ */ n.jsx(Cr, { size: e }),
3108
- ppt: /* @__PURE__ */ n.jsx(an, { size: e }),
3109
- pptx: /* @__PURE__ */ n.jsx(an, { size: e }),
3110
- xls: /* @__PURE__ */ n.jsx(rn, { size: e }),
3111
- xlsx: /* @__PURE__ */ n.jsx(rn, { size: e }),
3112
- exe: /* @__PURE__ */ n.jsx(gr, { size: e }),
3111
+ txt: /* @__PURE__ */ n.jsx(xr, { size: e }),
3112
+ doc: /* @__PURE__ */ n.jsx(cn, { size: e }),
3113
+ docx: /* @__PURE__ */ n.jsx(cn, { size: e }),
3114
+ mp4: /* @__PURE__ */ n.jsx(sn, { size: e }),
3115
+ webm: /* @__PURE__ */ n.jsx(sn, { size: e }),
3116
+ mp3: /* @__PURE__ */ n.jsx(rn, { size: e }),
3117
+ m4a: /* @__PURE__ */ n.jsx(rn, { size: e }),
3118
+ zip: /* @__PURE__ */ n.jsx(wr, { size: e }),
3119
+ ppt: /* @__PURE__ */ n.jsx(on, { size: e }),
3120
+ pptx: /* @__PURE__ */ n.jsx(on, { size: e }),
3121
+ xls: /* @__PURE__ */ n.jsx(an, { size: e }),
3122
+ xlsx: /* @__PURE__ */ n.jsx(an, { size: e }),
3123
+ exe: /* @__PURE__ */ n.jsx(br, { size: e }),
3113
3124
  html: /* @__PURE__ */ n.jsx(Ce, { size: e }),
3114
3125
  css: /* @__PURE__ */ n.jsx(Ce, { size: e }),
3115
3126
  js: /* @__PURE__ */ n.jsx(Ce, { size: e }),
@@ -3127,38 +3138,38 @@ const Un = ({ folder: e }) => {
3127
3138
  csv: /* @__PURE__ */ n.jsx(Ce, { size: e }),
3128
3139
  md: /* @__PURE__ */ n.jsx(Ce, { size: e }),
3129
3140
  svg: /* @__PURE__ */ n.jsx(Ce, { size: e })
3130
- }), Yn = (e, o, c) => {
3131
- if (c.find((r) => r.name === e)) {
3132
- const r = "", a = e;
3141
+ }), qn = (e, a, s) => {
3142
+ if (s.find((r) => r.name === e)) {
3143
+ const r = "", o = e;
3133
3144
  let l = 0;
3134
- const u = new RegExp(`${a} \\(\\d+\\)`);
3135
- c.forEach((d) => {
3145
+ const u = new RegExp(`${o} \\(\\d+\\)`);
3146
+ s.forEach((d) => {
3136
3147
  const m = d.isDirectory ? d.name : d.name.split(".").slice(0, -1).join(".");
3137
3148
  if (u.test(m)) {
3138
- const j = m.split(`${a} (`).pop().slice(0, -1), x = parseInt(j);
3149
+ const j = m.split(`${o} (`).pop().slice(0, -1), x = parseInt(j);
3139
3150
  !isNaN(x) && x > l && (l = x);
3140
3151
  }
3141
3152
  });
3142
3153
  const f = ` (${++l})`;
3143
- return a + f + r;
3154
+ return o + f + r;
3144
3155
  } else
3145
3156
  return e;
3146
- }, qn = ({ nameInputRef: e, maxLength: o, value: c, onChange: r, onKeyDown: a, onClick: l, rows: u }) => /* @__PURE__ */ n.jsx(
3157
+ }, Kn = ({ nameInputRef: e, maxLength: a, value: s, onChange: r, onKeyDown: o, onClick: l, rows: u }) => /* @__PURE__ */ n.jsx(
3147
3158
  "textarea",
3148
3159
  {
3149
3160
  ref: e,
3150
3161
  className: "rename-file",
3151
- maxLength: o,
3152
- value: c,
3162
+ maxLength: a,
3163
+ value: s,
3153
3164
  onChange: r,
3154
- onKeyDown: a,
3165
+ onKeyDown: o,
3155
3166
  onClick: l,
3156
3167
  rows: u
3157
3168
  }
3158
- ), Kn = ({ message: e, xPlacement: o, yPlacement: c }) => /* @__PURE__ */ n.jsx("p", { className: `error-tooltip ${o} ${c}`, children: e }), Vr = 220, zr = ({ filesViewRef: e, file: o, onCreateFolder: c, triggerAction: r }) => {
3159
- const [a, l] = Z(o.name), [u, f] = Z(!1), [h, d] = Z(""), [m, j] = Z("right"), [x, S] = Z("bottom"), V = it((y) => {
3169
+ ), Xn = ({ message: e, xPlacement: a, yPlacement: s }) => /* @__PURE__ */ n.jsx("p", { className: `error-tooltip ${a} ${s}`, children: e }), zr = 220, Lr = ({ filesViewRef: e, file: a, onCreateFolder: s, triggerAction: r }) => {
3170
+ const [o, l] = Z(a.name), [u, f] = Z(!1), [h, d] = Z(""), [m, j] = Z("right"), [x, S] = Z("bottom"), V = st((y) => {
3160
3171
  y.preventDefault(), y.stopPropagation();
3161
- }), { currentFolder: k, currentPathFiles: q, setCurrentPathFiles: L } = Ae(), { activeLayout: I } = $e(), N = (y) => {
3172
+ }), { currentFolder: k, currentPathFiles: q, setCurrentPathFiles: L } = Fe(), { activeLayout: I } = $e(), N = (y) => {
3162
3173
  l(y.target.value), f(!1);
3163
3174
  }, w = (y) => {
3164
3175
  if (y.stopPropagation(), y.key === "Enter") {
@@ -3179,13 +3190,13 @@ const Un = ({ folder: e }) => {
3179
3190
  }, [u]);
3180
3191
  function i() {
3181
3192
  var U, Y;
3182
- let y = a.trim();
3183
- const O = q.filter((H) => !(H.key && H.key === o.key));
3193
+ let y = o.trim();
3194
+ const O = q.filter((H) => !(H.key && H.key === a.key));
3184
3195
  if (O.find((H) => H.name.toLowerCase() === y.toLowerCase())) {
3185
3196
  d(`This destination already contains a folder named '${y}'.`), f(!0), (U = V.ref.current) == null || U.focus(), (Y = V.ref.current) == null || Y.select(), V.setIsClicked(!1);
3186
3197
  return;
3187
3198
  }
3188
- y === "" && (y = Yn("New Folder", !0, O)), c(y, k), L((H) => H.filter((G) => G.key !== o.key)), r.close();
3199
+ y === "" && (y = qn("New Folder", !0, O)), Ge(s, "onCreateFolder", y, k), L((H) => H.filter((G) => G.key !== a.key)), r.close();
3189
3200
  }
3190
3201
  return ge(() => {
3191
3202
  var y, O, M;
@@ -3197,11 +3208,11 @@ const Un = ({ folder: e }) => {
3197
3208
  V.isClicked && i();
3198
3209
  }, [V.isClicked]), /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
3199
3210
  /* @__PURE__ */ n.jsx(
3200
- qn,
3211
+ Kn,
3201
3212
  {
3202
3213
  nameInputRef: V.ref,
3203
- maxLength: Vr,
3204
- value: a,
3214
+ maxLength: zr,
3215
+ value: o,
3205
3216
  onChange: N,
3206
3217
  onKeyDown: w,
3207
3218
  onClick: (y) => y.stopPropagation(),
@@ -3209,7 +3220,7 @@ const Un = ({ folder: e }) => {
3209
3220
  }
3210
3221
  ),
3211
3222
  u && /* @__PURE__ */ n.jsx(
3212
- Kn,
3223
+ Xn,
3213
3224
  {
3214
3225
  message: h,
3215
3226
  xPlacement: m,
@@ -3217,51 +3228,51 @@ const Un = ({ folder: e }) => {
3217
3228
  }
3218
3229
  )
3219
3230
  ] });
3220
- }, Xe = ({ onClick: e, onKeyDown: o, type: c = "primary", padding: r = "0.4rem 0.8rem", children: a }) => /* @__PURE__ */ n.jsx(
3231
+ }, Xe = ({ onClick: e, onKeyDown: a, type: s = "primary", padding: r = "0.4rem 0.8rem", children: o }) => /* @__PURE__ */ n.jsx(
3221
3232
  "button",
3222
3233
  {
3223
3234
  onClick: e,
3224
- onKeyDown: o,
3225
- className: `fm-button fm-button-${c}`,
3235
+ onKeyDown: a,
3236
+ className: `fm-button fm-button-${s}`,
3226
3237
  style: { padding: r },
3227
- children: a
3238
+ children: o
3228
3239
  }
3229
3240
  );
3230
- function Lr(e) {
3241
+ function Dr(e) {
3231
3242
  return ie({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { fill: "none", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "32", d: "M85.57 446.25h340.86a32 32 0 0 0 28.17-47.17L284.18 82.58c-12.09-22.44-44.27-22.44-56.36 0L57.4 399.08a32 32 0 0 0 28.17 47.17z" }, child: [] }, { tag: "path", attr: { fill: "none", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "32", d: "m250.26 195.39 5.74 122 5.73-121.95a5.74 5.74 0 0 0-5.79-6h0a5.74 5.74 0 0 0-5.68 5.95z" }, child: [] }, { tag: "path", attr: { d: "M256 397.25a20 20 0 1 1 20-20 20 20 0 0 1-20 20z" }, child: [] }] })(e);
3232
3243
  }
3233
- const Xn = ({
3244
+ const Gn = ({
3234
3245
  children: e,
3235
- show: o,
3236
- setShow: c,
3246
+ show: a,
3247
+ setShow: s,
3237
3248
  heading: r,
3238
- dialogWidth: a = "25%",
3249
+ dialogWidth: o = "25%",
3239
3250
  contentClassName: l = "",
3240
3251
  closeButton: u = !0
3241
3252
  }) => {
3242
3253
  const f = Pe(null), h = (d) => {
3243
- d.key === "Escape" && c(!1);
3254
+ d.key === "Escape" && s(!1);
3244
3255
  };
3245
3256
  return ge(() => {
3246
- o ? f.current.showModal() : f.current.close();
3247
- }, [o]), /* @__PURE__ */ n.jsxs(
3257
+ a ? f.current.showModal() : f.current.close();
3258
+ }, [a]), /* @__PURE__ */ n.jsxs(
3248
3259
  "dialog",
3249
3260
  {
3250
3261
  ref: f,
3251
3262
  className: "fm-modal dialog",
3252
- style: { width: a },
3263
+ style: { width: o },
3253
3264
  onKeyDown: h,
3254
3265
  children: [
3255
3266
  /* @__PURE__ */ n.jsxs("div", { className: "fm-modal-header", children: [
3256
3267
  /* @__PURE__ */ n.jsx("span", { className: "fm-modal-heading", children: r }),
3257
- u && /* @__PURE__ */ n.jsx(hr, { size: 18, onClick: () => c(!1), className: "close-icon", title: "Close" })
3268
+ u && /* @__PURE__ */ n.jsx(vr, { size: 18, onClick: () => s(!1), className: "close-icon", title: "Close" })
3258
3269
  ] }),
3259
3270
  e
3260
3271
  ]
3261
3272
  }
3262
3273
  );
3263
- }, Ke = (e) => e.split(".").pop(), Dr = 220, Ir = ({ filesViewRef: e, file: o, onRename: c, triggerAction: r }) => {
3264
- const [a, l] = Z(o == null ? void 0 : o.name), [u, f] = Z(!1), [h, d] = Z(!1), [m, j] = Z(""), [x, S] = Z("right"), [V, k] = Z("bottom"), { currentPathFiles: q, setCurrentPathFiles: L } = Ae(), { activeLayout: I } = $e(), N = Pe(null), w = it((M) => {
3274
+ }, Ke = (e) => e.split(".").pop(), Ir = 220, $r = ({ filesViewRef: e, file: a, onRename: s, triggerAction: r }) => {
3275
+ const [o, l] = Z(a == null ? void 0 : a.name), [u, f] = Z(!1), [h, d] = Z(!1), [m, j] = Z(""), [x, S] = Z("right"), [V, k] = Z("bottom"), { currentPathFiles: q, setCurrentPathFiles: L } = Fe(), { activeLayout: I } = $e(), N = Pe(null), w = st((M) => {
3265
3276
  var U;
3266
3277
  (U = N.current) != null && U.contains(M.target) || (M.preventDefault(), M.stopPropagation());
3267
3278
  }), i = (M) => {
@@ -3282,29 +3293,29 @@ const Xn = ({
3282
3293
  }
3283
3294
  }, [h]);
3284
3295
  function y(M) {
3285
- if (a === "" || a === o.name) {
3296
+ if (o === "" || o === a.name) {
3286
3297
  L(
3287
- (U) => U.map((Y) => (Y.key === o.key && (Y.isEditing = !1), Y))
3298
+ (U) => U.map((Y) => (Y.key === a.key && (Y.isEditing = !1), Y))
3288
3299
  ), r.close();
3289
3300
  return;
3290
- } else if (q.some((U) => U.name === a)) {
3291
- d(!0), j(`This destination already contains a folder named '${a}'.`), w.setIsClicked(!1);
3301
+ } else if (q.some((U) => U.name === o)) {
3302
+ d(!0), j(`This destination already contains a folder named '${o}'.`), w.setIsClicked(!1);
3292
3303
  return;
3293
- } else if (!o.isDirectory && !M) {
3294
- const U = Ke(o.name), Y = Ke(a);
3304
+ } else if (!a.isDirectory && !M) {
3305
+ const U = Ke(a.name), Y = Ke(o);
3295
3306
  if (U !== Y) {
3296
3307
  f(!0);
3297
3308
  return;
3298
3309
  }
3299
3310
  }
3300
- d(!1), c(o, a), L((U) => U.filter((Y) => Y.key !== o.key)), r.close();
3311
+ d(!1), Ge(s, "onRename", a, o), L((U) => U.filter((Y) => Y.key !== a.key)), r.close();
3301
3312
  }
3302
3313
  const O = () => {
3303
3314
  var M, U, Y, H, G, J;
3304
- if ((U = (M = w.ref) == null ? void 0 : M.current) == null || U.focus(), o.isDirectory)
3315
+ if ((U = (M = w.ref) == null ? void 0 : M.current) == null || U.focus(), a.isDirectory)
3305
3316
  (H = (Y = w.ref) == null ? void 0 : Y.current) == null || H.select();
3306
3317
  else {
3307
- const te = Ke(o.name), ue = o.name.length - te.length - 1;
3318
+ const te = Ke(a.name), ue = a.name.length - te.length - 1;
3308
3319
  (J = (G = w.ref) == null ? void 0 : G.current) == null || J.setSelectionRange(0, ue);
3309
3320
  }
3310
3321
  };
@@ -3318,11 +3329,11 @@ const Xn = ({
3318
3329
  w.isClicked && y(!1), O();
3319
3330
  }, [w.isClicked]), /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
3320
3331
  /* @__PURE__ */ n.jsx(
3321
- qn,
3332
+ Kn,
3322
3333
  {
3323
3334
  nameInputRef: w.ref,
3324
- maxLength: Dr,
3325
- value: a,
3335
+ maxLength: Ir,
3336
+ value: o,
3326
3337
  onChange: (M) => {
3327
3338
  l(M.target.value), d(!1);
3328
3339
  },
@@ -3332,7 +3343,7 @@ const Xn = ({
3332
3343
  }
3333
3344
  ),
3334
3345
  h && /* @__PURE__ */ n.jsx(
3335
- Kn,
3346
+ Xn,
3336
3347
  {
3337
3348
  message: m,
3338
3349
  xPlacement: x,
@@ -3340,7 +3351,7 @@ const Xn = ({
3340
3351
  }
3341
3352
  ),
3342
3353
  /* @__PURE__ */ n.jsx(
3343
- Xn,
3354
+ Gn,
3344
3355
  {
3345
3356
  heading: "Rename",
3346
3357
  show: u,
@@ -3349,7 +3360,7 @@ const Xn = ({
3349
3360
  closeButton: !1,
3350
3361
  children: /* @__PURE__ */ n.jsxs("div", { className: "fm-rename-folder-container", ref: N, children: [
3351
3362
  /* @__PURE__ */ n.jsx("div", { className: "fm-rename-folder-input", children: /* @__PURE__ */ n.jsxs("div", { className: "fm-rename-warning", children: [
3352
- /* @__PURE__ */ n.jsx(Lr, { size: 70, color: "orange" }),
3363
+ /* @__PURE__ */ n.jsx(Dr, { size: 70, color: "orange" }),
3353
3364
  /* @__PURE__ */ n.jsx("div", { children: "If you change a file name extension, the file might become unusable. Are you sure you want to change it?" })
3354
3365
  ] }) }),
3355
3366
  /* @__PURE__ */ n.jsxs("div", { className: "fm-rename-folder-action", children: [
@@ -3359,7 +3370,7 @@ const Xn = ({
3359
3370
  type: "secondary",
3360
3371
  onClick: () => {
3361
3372
  L(
3362
- (M) => M.map((U) => (U.key === o.key && (U.isEditing = !1), U))
3373
+ (M) => M.map((U) => (U.key === a.key && (U.isEditing = !1), U))
3363
3374
  ), f(!1), r.close();
3364
3375
  },
3365
3376
  children: "No"
@@ -3380,40 +3391,40 @@ const Xn = ({
3380
3391
  }
3381
3392
  )
3382
3393
  ] });
3383
- }, wt = (e, o = 2) => {
3394
+ }, jt = (e, a = 2) => {
3384
3395
  if (isNaN(e)) return "";
3385
- const c = e / 1024, r = c / 1024, a = r / 1024;
3386
- if (c < 1024)
3387
- return `${c.toFixed(o)} KB`;
3396
+ const s = e / 1024, r = s / 1024, o = r / 1024;
3397
+ if (s < 1024)
3398
+ return `${s.toFixed(a)} KB`;
3388
3399
  if (r < 1024)
3389
- return `${r.toFixed(o)} MB`;
3400
+ return `${r.toFixed(a)} MB`;
3390
3401
  if (r >= 1024)
3391
- return `${a.toFixed(o)} GB`;
3392
- }, $r = (e) => {
3402
+ return `${o.toFixed(a)} GB`;
3403
+ }, Wr = (e) => {
3393
3404
  if (!e || isNaN(Date.parse(e))) return "";
3394
3405
  e = new Date(e);
3395
- let o = e.getHours();
3396
- const c = e.getMinutes(), r = o >= 12 ? "PM" : "AM";
3397
- o = o % 12, o = o || 12;
3398
- const a = e.getMonth() + 1, l = e.getDate(), u = e.getFullYear();
3399
- return `${a}/${l}/${u} ${o}:${c < 10 ? "0" + c : c} ${r}`;
3400
- }, Wr = ({ name: e, id: o, checked: c, onClick: r, onChange: a, className: l = "" }) => /* @__PURE__ */ n.jsx(
3406
+ let a = e.getHours();
3407
+ const s = e.getMinutes(), r = a >= 12 ? "PM" : "AM";
3408
+ a = a % 12, a = a || 12;
3409
+ const o = e.getMonth() + 1, l = e.getDate(), u = e.getFullYear();
3410
+ return `${o}/${l}/${u} ${a}:${s < 10 ? "0" + s : s} ${r}`;
3411
+ }, Br = ({ name: e, id: a, checked: s, onClick: r, onChange: o, className: l = "" }) => /* @__PURE__ */ n.jsx(
3401
3412
  "input",
3402
3413
  {
3403
3414
  className: `fm-checkbox ${l}`,
3404
3415
  type: "checkbox",
3405
3416
  name: e,
3406
- id: o,
3407
- checked: c,
3417
+ id: a,
3418
+ checked: s,
3408
3419
  onClick: r,
3409
- onChange: a
3420
+ onChange: o
3410
3421
  }
3411
- ), Br = ({
3422
+ ), Ur = ({
3412
3423
  index: e,
3413
- file: o,
3414
- onCreateFolder: c,
3424
+ file: a,
3425
+ onCreateFolder: s,
3415
3426
  onRename: r,
3416
- enableFilePreview: a,
3427
+ enableFilePreview: o,
3417
3428
  onFileOpen: l,
3418
3429
  filesViewRef: u,
3419
3430
  selectedFileIndexes: f,
@@ -3422,8 +3433,8 @@ const Xn = ({
3422
3433
  setLastSelectedFile: m
3423
3434
  }) => {
3424
3435
  var ae, de;
3425
- const [j, x] = Z(!1), [S, V] = Z(0), [k, q] = Z("hidden"), { activeLayout: L } = $e(), I = L === "grid" ? 48 : 20, N = Kt(I), { setCurrentPath: w, currentPathFiles: i } = Ae(), { setSelectedFiles: y } = Ve(), { clipBoard: O } = Ct(), M = (O == null ? void 0 : O.isMoving) && O.files.find((ee) => ee.name === o.name && ee.path === o.path), U = () => {
3426
- l(o), o.isDirectory ? (w(o.path), y([])) : a && h.show("previewFile");
3436
+ const [j, x] = Z(!1), [S, V] = Z(0), [k, q] = Z("hidden"), { activeLayout: L } = $e(), I = L === "grid" ? 48 : 20, N = Xt(I), { setCurrentPath: w, currentPathFiles: i } = Fe(), { setSelectedFiles: y } = Ve(), { clipBoard: O } = wt(), M = (O == null ? void 0 : O.isMoving) && O.files.find((ee) => ee.name === a.name && ee.path === a.path), U = () => {
3437
+ l(a), a.isDirectory ? (w(a.path), y([])) : o && h.show("previewFile");
3427
3438
  }, Y = (ee, T) => {
3428
3439
  if (f.length > 0 && ee) {
3429
3440
  let D = !1, b = f[0], C = e;
@@ -3434,11 +3445,11 @@ const Xn = ({
3434
3445
  const z = i.slice(b, C + 1);
3435
3446
  y(D ? z.reverse() : z);
3436
3447
  } else f.length > 0 && T ? y((D) => {
3437
- const b = D.filter((C) => C.path !== o.path);
3438
- return D.length === b.length ? [...D, o] : b;
3439
- }) : y([o]);
3448
+ const b = D.filter((C) => C.path !== a.path);
3449
+ return D.length === b.length ? [...D, a] : b;
3450
+ }) : y([a]);
3440
3451
  }, H = (ee) => {
3441
- if (ee.stopPropagation(), o.isEditing) return;
3452
+ if (ee.stopPropagation(), a.isEditing) return;
3442
3453
  Y(ee.shiftKey, ee.ctrlKey);
3443
3454
  const T = (/* @__PURE__ */ new Date()).getTime();
3444
3455
  if (T - S < 300) {
@@ -3447,23 +3458,23 @@ const Xn = ({
3447
3458
  }
3448
3459
  V(T);
3449
3460
  }, G = (ee) => {
3450
- ee.key === "Enter" && (ee.stopPropagation(), y([o]), U());
3461
+ ee.key === "Enter" && (ee.stopPropagation(), y([a]), U());
3451
3462
  }, J = (ee) => {
3452
- ee.stopPropagation(), ee.preventDefault(), !o.isEditing && (j || y([o]), m(o), d(ee, !0));
3463
+ ee.stopPropagation(), ee.preventDefault(), !a.isEditing && (j || y([a]), m(a), d(ee, !0));
3453
3464
  }, te = () => {
3454
3465
  q("visible");
3455
3466
  }, ue = () => {
3456
3467
  !j && q("hidden");
3457
3468
  }, ne = (ee) => {
3458
- ee.target.checked ? y((T) => [...T, o]) : y((T) => T.filter((D) => D.name !== o.name && D.path !== o.path)), x(ee.target.checked);
3469
+ ee.target.checked ? y((T) => [...T, a]) : y((T) => T.filter((D) => D.name !== a.name && D.path !== a.path)), x(ee.target.checked);
3459
3470
  };
3460
3471
  return ge(() => {
3461
3472
  x(f.includes(e)), q(f.includes(e) ? "visible" : "hidden");
3462
3473
  }, [f]), /* @__PURE__ */ n.jsxs(
3463
3474
  "div",
3464
3475
  {
3465
- className: `file-item-container ${j || o.isEditing ? "file-selected" : ""} ${M ? "file-moving" : ""}`,
3466
- title: o.name,
3476
+ className: `file-item-container ${j || a.isEditing ? "file-selected" : ""} ${M ? "file-moving" : ""}`,
3477
+ title: a.name,
3467
3478
  onClick: H,
3468
3479
  onKeyDown: G,
3469
3480
  onContextMenu: J,
@@ -3472,64 +3483,64 @@ const Xn = ({
3472
3483
  tabIndex: 0,
3473
3484
  children: [
3474
3485
  /* @__PURE__ */ n.jsxs("div", { className: "file-item", children: [
3475
- !o.isEditing && /* @__PURE__ */ n.jsx(
3476
- Wr,
3486
+ !a.isEditing && /* @__PURE__ */ n.jsx(
3487
+ Br,
3477
3488
  {
3478
- name: o.name,
3479
- id: o.name,
3489
+ name: a.name,
3490
+ id: a.name,
3480
3491
  checked: j,
3481
3492
  className: `selection-checkbox ${k}`,
3482
3493
  onChange: ne,
3483
3494
  onClick: (ee) => ee.stopPropagation()
3484
3495
  }
3485
3496
  ),
3486
- o.isDirectory ? /* @__PURE__ */ n.jsx(wr, { size: I }) : /* @__PURE__ */ n.jsx(n.Fragment, { children: N[(de = (ae = o.name) == null ? void 0 : ae.split(".").pop()) == null ? void 0 : de.toLowerCase()] ?? /* @__PURE__ */ n.jsx(qt, { size: I }) }),
3487
- o.isEditing ? /* @__PURE__ */ n.jsx("div", { className: `rename-file-container ${L}`, children: h.actionType === "createFolder" ? /* @__PURE__ */ n.jsx(
3488
- zr,
3497
+ a.isDirectory ? /* @__PURE__ */ n.jsx(jr, { size: I }) : /* @__PURE__ */ n.jsx(n.Fragment, { children: N[(de = (ae = a.name) == null ? void 0 : ae.split(".").pop()) == null ? void 0 : de.toLowerCase()] ?? /* @__PURE__ */ n.jsx(Kt, { size: I }) }),
3498
+ a.isEditing ? /* @__PURE__ */ n.jsx("div", { className: `rename-file-container ${L}`, children: h.actionType === "createFolder" ? /* @__PURE__ */ n.jsx(
3499
+ Lr,
3489
3500
  {
3490
3501
  filesViewRef: u,
3491
- file: o,
3492
- onCreateFolder: c,
3502
+ file: a,
3503
+ onCreateFolder: s,
3493
3504
  triggerAction: h
3494
3505
  }
3495
3506
  ) : /* @__PURE__ */ n.jsx(
3496
- Ir,
3507
+ $r,
3497
3508
  {
3498
3509
  filesViewRef: u,
3499
- file: o,
3510
+ file: a,
3500
3511
  onRename: r,
3501
3512
  triggerAction: h
3502
3513
  }
3503
- ) }) : /* @__PURE__ */ n.jsx("span", { className: "text-truncate file-name", children: o.name })
3514
+ ) }) : /* @__PURE__ */ n.jsx("span", { className: "text-truncate file-name", children: a.name })
3504
3515
  ] }),
3505
3516
  L === "list" && /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
3506
- /* @__PURE__ */ n.jsx("div", { className: "modified-date", children: $r(o.updatedAt) }),
3507
- /* @__PURE__ */ n.jsx("div", { className: "size", children: (o == null ? void 0 : o.size) > 0 ? wt(o == null ? void 0 : o.size) : "" })
3517
+ /* @__PURE__ */ n.jsx("div", { className: "modified-date", children: Wr(a.updatedAt) }),
3518
+ /* @__PURE__ */ n.jsx("div", { className: "size", children: (a == null ? void 0 : a.size) > 0 ? jt(a == null ? void 0 : a.size) : "" })
3508
3519
  ] })
3509
3520
  ]
3510
3521
  }
3511
3522
  );
3512
- }, Ur = ({
3523
+ }, Yr = ({
3513
3524
  filesViewRef: e,
3514
- contextMenuRef: o,
3515
- menuItems: c,
3525
+ contextMenuRef: a,
3526
+ menuItems: s,
3516
3527
  visible: r,
3517
- setVisible: a,
3528
+ setVisible: o,
3518
3529
  clickPosition: l
3519
3530
  }) => {
3520
3531
  const [u, f] = Z(0), [h, d] = Z(0), m = () => {
3521
- const { clickX: x, clickY: S } = l, V = e.current, k = V.getBoundingClientRect(), q = V.offsetWidth - V.clientWidth, L = o.current.getBoundingClientRect(), I = L.width, N = L.height, w = x - k.left, i = k.width - (w + q) > I, y = !i, O = S - k.top, M = k.height - O > N, U = !M;
3532
+ const { clickX: x, clickY: S } = l, V = e.current, k = V.getBoundingClientRect(), q = V.offsetWidth - V.clientWidth, L = a.current.getBoundingClientRect(), I = L.width, N = L.height, w = x - k.left, i = k.width - (w + q) > I, y = !i, O = S - k.top, M = k.height - O > N, U = !M;
3522
3533
  i ? f(`${w}px`) : y && f(`${w - I}px`), M ? d(`${O + V.scrollTop}px`) : U && d(`${O + V.scrollTop - N}px`);
3523
3534
  }, j = (x) => {
3524
3535
  x.preventDefault(), x.stopPropagation();
3525
3536
  };
3526
3537
  if (ge(() => {
3527
- r && o.current ? m() : (d(0), f(0));
3538
+ r && a.current ? m() : (d(0), f(0));
3528
3539
  }, [r]), r)
3529
3540
  return /* @__PURE__ */ n.jsx(
3530
3541
  "div",
3531
3542
  {
3532
- ref: o,
3543
+ ref: a,
3533
3544
  onContextMenu: j,
3534
3545
  onClick: (x) => x.stopPropagation(),
3535
3546
  className: `fm-context-menu ${h ? "visible" : "hidden"}`,
@@ -3537,18 +3548,18 @@ const Xn = ({
3537
3548
  top: h,
3538
3549
  left: u
3539
3550
  },
3540
- children: /* @__PURE__ */ n.jsx("div", { className: "file-context-menu-list", children: /* @__PURE__ */ n.jsx("ul", { children: c.filter((x) => !x.hidden).map((x) => /* @__PURE__ */ n.jsxs("li", { onClick: x.onClick, className: x.className ?? "", children: [
3551
+ children: /* @__PURE__ */ n.jsx("div", { className: "file-context-menu-list", children: /* @__PURE__ */ n.jsx("ul", { children: s.filter((x) => !x.hidden).map((x) => /* @__PURE__ */ n.jsxs("li", { onClick: x.onClick, className: x.className ?? "", children: [
3541
3552
  x.icon,
3542
3553
  /* @__PURE__ */ n.jsx("span", { children: x.title })
3543
3554
  ] }, x.title)) }) })
3544
3555
  }
3545
3556
  );
3546
3557
  };
3547
- function Yr(e) {
3558
+ function qr(e) {
3548
3559
  return ie({ tag: "svg", attr: { viewBox: "0 0 256 256", fill: "currentColor" }, child: [{ tag: "path", attr: { d: "M245,110.64A16,16,0,0,0,232,104H216V88a16,16,0,0,0-16-16H130.67L102.94,51.2a16.14,16.14,0,0,0-9.6-3.2H40A16,16,0,0,0,24,64V208h0a8,8,0,0,0,8,8H211.1a8,8,0,0,0,7.59-5.47l28.49-85.47A16.05,16.05,0,0,0,245,110.64ZM93.34,64,123.2,86.4A8,8,0,0,0,128,88h72v16H69.77a16,16,0,0,0-15.18,10.94L40,158.7V64Zm112,136H43.1l26.67-80H232Z" }, child: [] }] })(e);
3549
3560
  }
3550
- const qr = ({ onCreateFolder: e, onRename: o, onFileOpen: c, enableFilePreview: r, triggerAction: a }) => {
3551
- const [l, u] = Z([]), [f, h] = Z(!1), [d, m] = Z(!1), [j, x] = Z({ clickX: 0, clickY: 0 }), [S, V] = Z(null), { currentPath: k, setCurrentPath: q, currentPathFiles: L, setCurrentPathFiles: I } = Ae(), N = Pe(null), { selectedFiles: w, setSelectedFiles: i, handleDownload: y } = Ve(), { clipBoard: O, handleCutCopy: M, handlePasting: U } = Ct(), { activeLayout: Y } = $e(), H = it(() => h(!1)), G = [
3561
+ const Kr = ({ onCreateFolder: e, onRename: a, onFileOpen: s, enableFilePreview: r, triggerAction: o }) => {
3562
+ const [l, u] = Z([]), [f, h] = Z(!1), [d, m] = Z(!1), [j, x] = Z({ clickX: 0, clickY: 0 }), [S, V] = Z(null), { currentPath: k, setCurrentPath: q, currentPathFiles: L, setCurrentPathFiles: I } = Fe(), N = Pe(null), { selectedFiles: w, setSelectedFiles: i, handleDownload: y } = Ve(), { clipBoard: O, handleCutCopy: M, handlePasting: U } = wt(), { activeLayout: Y } = $e(), H = st(() => h(!1)), G = [
3552
3563
  {
3553
3564
  title: "Refresh",
3554
3565
  icon: /* @__PURE__ */ n.jsx(An, { size: 18 }),
@@ -3557,59 +3568,59 @@ const qr = ({ onCreateFolder: e, onRename: o, onFileOpen: c, enableFilePreview:
3557
3568
  },
3558
3569
  {
3559
3570
  title: "New Folder",
3560
- icon: /* @__PURE__ */ n.jsx(Mn, { size: 18 }),
3571
+ icon: /* @__PURE__ */ n.jsx(_n, { size: 18 }),
3561
3572
  onClick: () => {
3562
3573
  }
3563
3574
  },
3564
3575
  {
3565
3576
  title: "Upload",
3566
- icon: /* @__PURE__ */ n.jsx(Hn, { size: 18 }),
3577
+ icon: /* @__PURE__ */ n.jsx(Vn, { size: 18 }),
3567
3578
  onClick: () => {
3568
3579
  }
3569
3580
  }
3570
3581
  ], J = [
3571
3582
  {
3572
3583
  title: "Open",
3573
- icon: S != null && S.isDirectory ? /* @__PURE__ */ n.jsx(Yr, { size: 20 }) : /* @__PURE__ */ n.jsx(qt, { size: 16 }),
3584
+ icon: S != null && S.isDirectory ? /* @__PURE__ */ n.jsx(qr, { size: 20 }) : /* @__PURE__ */ n.jsx(Kt, { size: 16 }),
3574
3585
  onClick: te
3575
3586
  },
3576
3587
  {
3577
3588
  title: "Cut",
3578
- icon: /* @__PURE__ */ n.jsx(Nn, { size: 19 }),
3589
+ icon: /* @__PURE__ */ n.jsx(Fn, { size: 19 }),
3579
3590
  onClick: () => ue(!0)
3580
3591
  },
3581
3592
  {
3582
3593
  title: "Copy",
3583
- icon: /* @__PURE__ */ n.jsx(kn, { strokeWidth: 0.1, size: 17 }),
3594
+ icon: /* @__PURE__ */ n.jsx(Mn, { strokeWidth: 0.1, size: 17 }),
3584
3595
  onClick: () => ue(!1)
3585
3596
  },
3586
3597
  {
3587
3598
  title: "Paste",
3588
- icon: /* @__PURE__ */ n.jsx(Wt, { size: 18 }),
3599
+ icon: /* @__PURE__ */ n.jsx(Bt, { size: 18 }),
3589
3600
  onClick: ne,
3590
3601
  className: `${O ? "" : "disable-paste"}`,
3591
3602
  hidden: !(S != null && S.isDirectory)
3592
3603
  },
3593
3604
  {
3594
3605
  title: "Rename",
3595
- icon: /* @__PURE__ */ n.jsx(Vn, { size: 19 }),
3606
+ icon: /* @__PURE__ */ n.jsx(zn, { size: 19 }),
3596
3607
  onClick: ae,
3597
3608
  hidden: w.length > 1
3598
3609
  },
3599
3610
  {
3600
3611
  title: "Download",
3601
- icon: /* @__PURE__ */ n.jsx(Yt, { size: 18 }),
3612
+ icon: /* @__PURE__ */ n.jsx(qt, { size: 18 }),
3602
3613
  onClick: de,
3603
3614
  hidden: S == null ? void 0 : S.isDirectory
3604
3615
  },
3605
3616
  {
3606
3617
  title: "Delete",
3607
- icon: /* @__PURE__ */ n.jsx(Fn, { size: 19 }),
3618
+ icon: /* @__PURE__ */ n.jsx(Hn, { size: 19 }),
3608
3619
  onClick: ee
3609
3620
  }
3610
3621
  ];
3611
3622
  function te() {
3612
- S.isDirectory ? (q(S.path), u([]), i([])) : r && a.show("previewFile"), h(!1);
3623
+ S.isDirectory ? (q(S.path), u([]), i([])) : r && o.show("previewFile"), h(!1);
3613
3624
  }
3614
3625
  function ue(C) {
3615
3626
  M(C), h(!1);
@@ -3618,19 +3629,19 @@ const qr = ({ onCreateFolder: e, onRename: o, onFileOpen: c, enableFilePreview:
3618
3629
  U(S), h(!1);
3619
3630
  }
3620
3631
  function ae() {
3621
- h(!1), a.show("rename");
3632
+ h(!1), o.show("rename");
3622
3633
  }
3623
3634
  function de() {
3624
3635
  y(), h(!1);
3625
3636
  }
3626
3637
  function ee() {
3627
- h(!1), a.show("delete");
3638
+ h(!1), o.show("delete");
3628
3639
  }
3629
3640
  const T = () => {
3630
3641
  I((C) => [
3631
3642
  ...C,
3632
3643
  {
3633
- name: Yn("New Folder", !0, C),
3644
+ name: qn("New Folder", !0, C),
3634
3645
  isDirectory: !0,
3635
3646
  path: k,
3636
3647
  isEditing: !0,
@@ -3643,8 +3654,8 @@ const qr = ({ onCreateFolder: e, onRename: o, onFileOpen: c, enableFilePreview:
3643
3654
  C.preventDefault(), x({ clickX: C.clientX, clickY: C.clientY }), m(z), h(!0);
3644
3655
  };
3645
3656
  return ge(() => {
3646
- if (a.isActive)
3647
- switch (a.actionType) {
3657
+ if (o.isActive)
3658
+ switch (o.actionType) {
3648
3659
  case "createFolder":
3649
3660
  T();
3650
3661
  break;
@@ -3652,7 +3663,7 @@ const qr = ({ onCreateFolder: e, onRename: o, onFileOpen: c, enableFilePreview:
3652
3663
  D();
3653
3664
  break;
3654
3665
  }
3655
- }, [a.isActive]), ge(() => {
3666
+ }, [o.isActive]), ge(() => {
3656
3667
  u([]), i([]);
3657
3668
  }, [k]), ge(() => {
3658
3669
  w.length > 0 ? u(() => w.map((C) => L.findIndex((z) => z.path === C.path))) : u([]);
@@ -3672,17 +3683,17 @@ const qr = ({ onCreateFolder: e, onRename: o, onFileOpen: c, enableFilePreview:
3672
3683
  /* @__PURE__ */ n.jsx("div", { className: "file-size", children: "Size" })
3673
3684
  ] }),
3674
3685
  (L == null ? void 0 : L.length) > 0 ? /* @__PURE__ */ n.jsx(n.Fragment, { children: L.map((C, z) => /* @__PURE__ */ n.jsx(
3675
- Br,
3686
+ Ur,
3676
3687
  {
3677
3688
  index: z,
3678
3689
  file: C,
3679
3690
  onCreateFolder: e,
3680
- onRename: o,
3681
- onFileOpen: c,
3691
+ onRename: a,
3692
+ onFileOpen: s,
3682
3693
  enableFilePreview: r,
3683
3694
  filesViewRef: N,
3684
3695
  selectedFileIndexes: l,
3685
- triggerAction: a,
3696
+ triggerAction: o,
3686
3697
  handleContextMenu: b,
3687
3698
  setVisible: h,
3688
3699
  setLastSelectedFile: V
@@ -3690,7 +3701,7 @@ const qr = ({ onCreateFolder: e, onRename: o, onFileOpen: c, enableFilePreview:
3690
3701
  z
3691
3702
  )) }) : /* @__PURE__ */ n.jsx("div", { className: "empty-folder", children: "This folder is empty." }),
3692
3703
  /* @__PURE__ */ n.jsx(
3693
- Ur,
3704
+ Yr,
3694
3705
  {
3695
3706
  filesViewRef: N,
3696
3707
  contextMenuRef: H.ref,
@@ -3703,51 +3714,51 @@ const qr = ({ onCreateFolder: e, onRename: o, onFileOpen: c, enableFilePreview:
3703
3714
  ]
3704
3715
  }
3705
3716
  );
3706
- }, Kr = ({ triggerAction: e, onDelete: o }) => {
3707
- const [c, r] = Z(""), { selectedFiles: a, setSelectedFiles: l } = Ve();
3717
+ }, Xr = ({ triggerAction: e, onDelete: a }) => {
3718
+ const [s, r] = Z(""), { selectedFiles: o, setSelectedFiles: l } = Ve();
3708
3719
  ge(() => {
3709
3720
  r(() => {
3710
- if (a.length === 1)
3711
- return `Are you sure you want to delete "${a[0].name}"?`;
3712
- if (a.length > 1)
3713
- return `Are you sure you want to delete these ${a.length} items?`;
3721
+ if (o.length === 1)
3722
+ return `Are you sure you want to delete "${o[0].name}"?`;
3723
+ if (o.length > 1)
3724
+ return `Are you sure you want to delete these ${o.length} items?`;
3714
3725
  });
3715
3726
  }, []);
3716
3727
  const u = () => {
3717
- o(a), l([]), e.close();
3728
+ a(o), l([]), e.close();
3718
3729
  };
3719
3730
  return /* @__PURE__ */ n.jsxs("div", { className: "file-delete-confirm", children: [
3720
- /* @__PURE__ */ n.jsx("p", { className: "file-delete-confirm-text", children: c }),
3731
+ /* @__PURE__ */ n.jsx("p", { className: "file-delete-confirm-text", children: s }),
3721
3732
  /* @__PURE__ */ n.jsxs("div", { className: "file-delete-confirm-actions", children: [
3722
3733
  /* @__PURE__ */ n.jsx(Xe, { type: "secondary", onClick: () => e.close(), children: "Cancel" }),
3723
3734
  /* @__PURE__ */ n.jsx(Xe, { type: "danger", onClick: u, children: "Delete" })
3724
3735
  ] })
3725
3736
  ] });
3726
3737
  };
3727
- function Xr(e) {
3738
+ function Gr(e) {
3728
3739
  return ie({ tag: "svg", attr: { viewBox: "0 0 1024 1024", fill: "currentColor", fillRule: "evenodd" }, child: [{ tag: "path", attr: { d: "M799.855 166.312c.023.007.043.018.084.059l57.69 57.69c.041.041.052.06.059.084a.118.118 0 0 1 0 .069c-.007.023-.018.042-.059.083L569.926 512l287.703 287.703c.041.04.052.06.059.083a.118.118 0 0 1 0 .07c-.007.022-.018.042-.059.083l-57.69 57.69c-.041.041-.06.052-.084.059a.118.118 0 0 1-.069 0c-.023-.007-.042-.018-.083-.059L512 569.926 224.297 857.629c-.04.041-.06.052-.083.059a.118.118 0 0 1-.07 0c-.022-.007-.042-.018-.083-.059l-57.69-57.69c-.041-.041-.052-.06-.059-.084a.118.118 0 0 1 0-.069c.007-.023.018-.042.059-.083L454.073 512 166.371 224.297c-.041-.04-.052-.06-.059-.083a.118.118 0 0 1 0-.07c.007-.022.018-.042.059-.083l57.69-57.69c.041-.041.06-.052.084-.059a.118.118 0 0 1 .069 0c.023.007.042.018.083.059L512 454.073l287.703-287.702c.04-.041.06-.052.083-.059a.118.118 0 0 1 .07 0Z" }, child: [] }] })(e);
3729
3740
  }
3730
- function Gr(e) {
3741
+ function Jr(e) {
3731
3742
  return ie({ tag: "svg", attr: { viewBox: "0 0 1024 1024" }, child: [{ tag: "path", attr: { d: "M518.3 459a8 8 0 0 0-12.6 0l-112 141.7a7.98 7.98 0 0 0 6.3 12.9h73.9V856c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V613.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 459z" }, child: [] }, { tag: "path", attr: { d: "M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0 1 52.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 0 1-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z" }, child: [] }] })(e);
3732
3743
  }
3733
- const Jr = ({ percent: e = 0, isCanceled: o = !1, isCompleted: c = !1, error: r }) => /* @__PURE__ */ n.jsxs("div", { role: "progressbar", className: "fm-progress", children: [
3744
+ const Zr = ({ percent: e = 0, isCanceled: a = !1, isCompleted: s = !1, error: r }) => /* @__PURE__ */ n.jsxs("div", { role: "progressbar", className: "fm-progress", children: [
3734
3745
  !r && /* @__PURE__ */ n.jsx("div", { className: "fm-progress-bar", children: /* @__PURE__ */ n.jsx("div", { className: "fm-progress-bar-fill", style: { width: `${e}%` } }) }),
3735
- o ? /* @__PURE__ */ n.jsx("span", { className: "fm-upload-canceled", children: "Canceled" }) : r ? /* @__PURE__ */ n.jsx("span", { className: "fm-upload-canceled", children: r }) : /* @__PURE__ */ n.jsx("div", { className: "fm-progress-status", children: /* @__PURE__ */ n.jsx("span", { children: c ? "Completed" : e + "% done" }) })
3746
+ a ? /* @__PURE__ */ n.jsx("span", { className: "fm-upload-canceled", children: "Canceled" }) : r ? /* @__PURE__ */ n.jsx("span", { className: "fm-upload-canceled", children: r }) : /* @__PURE__ */ n.jsx("div", { className: "fm-progress-status", children: /* @__PURE__ */ n.jsx("span", { children: s ? "Completed" : e + "% done" }) })
3736
3747
  ] });
3737
- function Zr(e) {
3748
+ function Qr(e) {
3738
3749
  return ie({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 388c-72.597 0-132-59.405-132-132 0-72.601 59.403-132 132-132 36.3 0 69.299 15.4 92.406 39.601L278 234h154V80l-51.698 51.702C348.406 99.798 304.406 80 256 80c-96.797 0-176 79.203-176 176s78.094 176 176 176c81.045 0 148.287-54.134 169.401-128H378.85c-18.745 49.561-67.138 84-122.85 84z" }, child: [] }] })(e);
3739
3750
  }
3740
- const Qr = ({
3751
+ const ea = ({
3741
3752
  index: e,
3742
- fileData: o,
3743
- setFiles: c,
3753
+ fileData: a,
3754
+ setFiles: s,
3744
3755
  setIsUploading: r,
3745
- fileUploadConfig: a,
3756
+ fileUploadConfig: o,
3746
3757
  onFileUploaded: l,
3747
3758
  handleFileRemove: u
3748
3759
  }) => {
3749
3760
  var y, O, M, U;
3750
- const [f, h] = Z(0), [d, m] = Z(!1), [j, x] = Z(!1), [S, V] = Z(!1), k = Kt(33), q = Pe(), { onError: L } = xt(), I = (Y) => {
3761
+ const [f, h] = Z(0), [d, m] = Z(!1), [j, x] = Z(!1), [S, V] = Z(!1), k = Xt(33), q = Pe(), { onError: L } = Ct(), I = (Y) => {
3751
3762
  h(0), r((G) => ({
3752
3763
  ...G,
3753
3764
  [e]: !1
@@ -3761,12 +3772,12 @@ const Qr = ({
3761
3772
  data: Y.response
3762
3773
  }
3763
3774
  };
3764
- c(
3775
+ s(
3765
3776
  (G) => G.map((J, te) => e === te ? {
3766
3777
  ...J,
3767
3778
  error: H.message
3768
3779
  } : J)
3769
- ), V(!0), L(H, o.file);
3780
+ ), V(!0), L(H, a.file);
3770
3781
  }, N = (Y) => {
3771
3782
  if (!Y.error)
3772
3783
  return new Promise((H, G) => {
@@ -3786,8 +3797,8 @@ const Qr = ({
3786
3797
  })), J.status === 200 || J.status === 201 ? (m(!0), l(J.response), H(J.response)) : (G(J.statusText), I(J));
3787
3798
  }, J.onerror = () => {
3788
3799
  G(J.statusText), I(J);
3789
- }, J.open("POST", a == null ? void 0 : a.url, !0);
3790
- const te = a == null ? void 0 : a.headers;
3800
+ }, J.open("POST", o == null ? void 0 : o.url, !0);
3801
+ const te = o == null ? void 0 : o.headers;
3791
3802
  for (let ae in te)
3792
3803
  J.setRequestHeader(ae, te[ae]);
3793
3804
  const ue = new FormData(), ne = Y == null ? void 0 : Y.appendData;
@@ -3797,7 +3808,7 @@ const Qr = ({
3797
3808
  });
3798
3809
  };
3799
3810
  ge(() => {
3800
- q.current || N(o);
3811
+ q.current || N(a);
3801
3812
  }, []);
3802
3813
  const w = () => {
3803
3814
  q.current && (q.current.abort(), r((Y) => ({
@@ -3805,57 +3816,57 @@ const Qr = ({
3805
3816
  [e]: !1
3806
3817
  })), x(!0), h(0));
3807
3818
  }, i = () => {
3808
- o != null && o.file && (c(
3819
+ a != null && a.file && (s(
3809
3820
  (Y) => Y.map((H, G) => e === G ? {
3810
3821
  ...H,
3811
3822
  error: !1
3812
3823
  } : H)
3813
- ), N({ ...o, error: !1 }), x(!1), V(!1));
3824
+ ), N({ ...a, error: !1 }), x(!1), V(!1));
3814
3825
  };
3815
- return o.removed ? null : /* @__PURE__ */ n.jsxs("li", { children: [
3816
- /* @__PURE__ */ n.jsx("div", { className: "file-icon", children: k[Ke((y = o.file) == null ? void 0 : y.name)] ?? /* @__PURE__ */ n.jsx(qt, { size: 33 }) }),
3826
+ return a.removed ? null : /* @__PURE__ */ n.jsxs("li", { children: [
3827
+ /* @__PURE__ */ n.jsx("div", { className: "file-icon", children: k[Ke((y = a.file) == null ? void 0 : y.name)] ?? /* @__PURE__ */ n.jsx(Kt, { size: 33 }) }),
3817
3828
  /* @__PURE__ */ n.jsxs("div", { className: "file", children: [
3818
3829
  /* @__PURE__ */ n.jsxs("div", { className: "file-details", children: [
3819
3830
  /* @__PURE__ */ n.jsxs("div", { className: "file-info", children: [
3820
- /* @__PURE__ */ n.jsx("span", { className: "file-name text-truncate", title: (O = o.file) == null ? void 0 : O.name, children: (M = o.file) == null ? void 0 : M.name }),
3821
- /* @__PURE__ */ n.jsx("span", { className: "file-size", children: wt((U = o.file) == null ? void 0 : U.size) })
3831
+ /* @__PURE__ */ n.jsx("span", { className: "file-name text-truncate", title: (O = a.file) == null ? void 0 : O.name, children: (M = a.file) == null ? void 0 : M.name }),
3832
+ /* @__PURE__ */ n.jsx("span", { className: "file-size", children: jt((U = a.file) == null ? void 0 : U.size) })
3822
3833
  ] }),
3823
- d ? /* @__PURE__ */ n.jsx(_r, { color: "#5c5bb1", title: "Uploaded" }) : j || S ? /* @__PURE__ */ n.jsx(Zr, { className: "retry-upload", title: "Retry", onClick: i }) : /* @__PURE__ */ n.jsx(
3834
+ d ? /* @__PURE__ */ n.jsx(Nr, { color: "#5c5bb1", title: "Uploaded" }) : j || S ? /* @__PURE__ */ n.jsx(Qr, { className: "retry-upload", title: "Retry", onClick: i }) : /* @__PURE__ */ n.jsx(
3824
3835
  "div",
3825
3836
  {
3826
3837
  className: "rm-file",
3827
- title: `${o.error ? "Remove" : "Abort Upload"}`,
3828
- onClick: o.error ? () => u(e) : w,
3829
- children: /* @__PURE__ */ n.jsx(Xr, {})
3838
+ title: `${a.error ? "Remove" : "Abort Upload"}`,
3839
+ onClick: a.error ? () => u(e) : w,
3840
+ children: /* @__PURE__ */ n.jsx(Gr, {})
3830
3841
  }
3831
3842
  )
3832
3843
  ] }),
3833
3844
  /* @__PURE__ */ n.jsx(
3834
- Jr,
3845
+ Zr,
3835
3846
  {
3836
3847
  percent: f,
3837
3848
  isCanceled: j,
3838
3849
  isCompleted: d,
3839
- error: o.error
3850
+ error: a.error
3840
3851
  }
3841
3852
  )
3842
3853
  ] })
3843
3854
  ] });
3844
- }, ea = ({
3855
+ }, ta = ({
3845
3856
  fileUploadConfig: e,
3846
- maxFileSize: o,
3847
- acceptedFileTypes: c,
3857
+ maxFileSize: a,
3858
+ acceptedFileTypes: s,
3848
3859
  onFileUploading: r,
3849
- onFileUploaded: a
3860
+ onFileUploaded: o
3850
3861
  }) => {
3851
- const [l, u] = Z([]), [f, h] = Z(!1), [d, m] = Z({}), { currentFolder: j, currentPathFiles: x } = Ae(), { onError: S } = xt(), V = Pe(null), k = (i) => {
3862
+ const [l, u] = Z([]), [f, h] = Z(!1), [d, m] = Z({}), { currentFolder: j, currentPathFiles: x } = Fe(), { onError: S } = Ct(), V = Pe(null), k = (i) => {
3852
3863
  i.key === "Enter" && V.current.click();
3853
3864
  }, q = (i) => {
3854
- if (!c.includes(Ke(i.name))) return "File type is not allowed.";
3865
+ if (!s.includes(Ke(i.name))) return "File type is not allowed.";
3855
3866
  if (x.some(
3856
3867
  (U) => U.name.toLowerCase() === i.name.toLowerCase() && !U.isDirectory
3857
3868
  )) return "File already exists.";
3858
- if (o && i.size > o) return `Maximum upload size is ${wt(o, 0)}.`;
3869
+ if (a && i.size > a) return `Maximum upload size is ${jt(a, 0)}.`;
3859
3870
  }, L = (i) => {
3860
3871
  if (i = i.filter(
3861
3872
  (y) => !l.some((O) => O.file.name.toLowerCase() === y.name.toLowerCase())
@@ -3897,7 +3908,7 @@ const Qr = ({
3897
3908
  onDragEnter: () => h(!0),
3898
3909
  onDragLeave: () => h(!1),
3899
3910
  children: /* @__PURE__ */ n.jsxs("div", { className: "input-text", children: [
3900
- /* @__PURE__ */ n.jsx(Gr, { size: 30 }),
3911
+ /* @__PURE__ */ n.jsx(Jr, { size: 30 }),
3901
3912
  /* @__PURE__ */ n.jsx("span", { children: "Drag files to upload" })
3902
3913
  ] })
3903
3914
  }
@@ -3913,7 +3924,7 @@ const Qr = ({
3913
3924
  className: "choose-file-input",
3914
3925
  onChange: N,
3915
3926
  multiple: !0,
3916
- accept: c
3927
+ accept: s
3917
3928
  }
3918
3929
  )
3919
3930
  ] }) })
@@ -3921,92 +3932,92 @@ const Qr = ({
3921
3932
  l.length > 0 && /* @__PURE__ */ n.jsxs("div", { className: "files-progress", children: [
3922
3933
  /* @__PURE__ */ n.jsx("div", { className: "heading", children: Object.values(d).some((i) => i) ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
3923
3934
  /* @__PURE__ */ n.jsx("h2", { children: "Uploading" }),
3924
- /* @__PURE__ */ n.jsx(Rn, { type: "cylon", color: "black", height: 18, width: 20 })
3935
+ /* @__PURE__ */ n.jsx(Tn, { type: "cylon", color: "black", height: 18, width: 20 })
3925
3936
  ] }) : /* @__PURE__ */ n.jsx("h2", { children: "Completed" }) }),
3926
3937
  /* @__PURE__ */ n.jsx("ul", { children: l.map((i, y) => /* @__PURE__ */ n.jsx(
3927
- Qr,
3938
+ ea,
3928
3939
  {
3929
3940
  index: y,
3930
3941
  fileData: i,
3931
3942
  setFiles: u,
3932
3943
  fileUploadConfig: e,
3933
3944
  setIsUploading: m,
3934
- onFileUploaded: a,
3945
+ onFileUploaded: o,
3935
3946
  handleFileRemove: w
3936
3947
  },
3937
3948
  y
3938
3949
  )) })
3939
3950
  ] })
3940
3951
  ] });
3941
- }, un = ["jpg", "jpeg", "png"], fn = ["mp4", "mov", "avi"], dn = ["mp3", "wav", "m4a"], pn = ["txt", "pdf"], ta = ({ filePreviewPath: e }) => {
3952
+ }, fn = ["jpg", "jpeg", "png"], dn = ["mp4", "mov", "avi"], pn = ["mp3", "wav", "m4a"], hn = ["txt", "pdf"], na = ({ filePreviewPath: e }) => {
3942
3953
  var x;
3943
- const [o, c] = Z(!0), [r, a] = Z(!1), { selectedFiles: l } = Ve(), u = Kt(73), f = (x = Ke(l[0].name)) == null ? void 0 : x.toLowerCase(), h = `${e}${l[0].path}`, d = () => {
3944
- c(!1), a(!1);
3954
+ const [a, s] = Z(!0), [r, o] = Z(!1), { selectedFiles: l } = Ve(), u = Xt(73), f = (x = Ke(l[0].name)) == null ? void 0 : x.toLowerCase(), h = `${e}${l[0].path}`, d = () => {
3955
+ s(!1), o(!1);
3945
3956
  }, m = () => {
3946
- c(!1), a(!0);
3957
+ s(!1), o(!0);
3947
3958
  }, j = () => {
3948
3959
  window.location.href = h;
3949
3960
  };
3950
3961
  return /* @__PURE__ */ n.jsxs("section", { className: `file-previewer ${f === "pdf" ? "pdf-previewer" : ""}`, children: [
3951
3962
  r || ![
3952
- ...un,
3953
3963
  ...fn,
3954
3964
  ...dn,
3955
- ...pn
3965
+ ...pn,
3966
+ ...hn
3956
3967
  ].includes(f) && /* @__PURE__ */ n.jsxs("div", { className: "preview-error", children: [
3957
- /* @__PURE__ */ n.jsx("span", { className: "error-icon", children: u[f] ?? /* @__PURE__ */ n.jsx(Nr, { size: 73 }) }),
3968
+ /* @__PURE__ */ n.jsx("span", { className: "error-icon", children: u[f] ?? /* @__PURE__ */ n.jsx(Fr, { size: 73 }) }),
3958
3969
  /* @__PURE__ */ n.jsx("span", { className: "error-msg", children: "Sorry! Preview is not available for this file." }),
3959
3970
  /* @__PURE__ */ n.jsxs("div", { className: "file-info", children: [
3960
3971
  /* @__PURE__ */ n.jsx("span", { className: "file-name", children: l[0].name }),
3961
3972
  l[0].size && /* @__PURE__ */ n.jsx("span", { children: "-" }),
3962
- /* @__PURE__ */ n.jsx("span", { className: "file-size", children: wt(l[0].size) })
3973
+ /* @__PURE__ */ n.jsx("span", { className: "file-size", children: jt(l[0].size) })
3963
3974
  ] }),
3964
3975
  /* @__PURE__ */ n.jsx(Xe, { onClick: j, padding: "0.45rem .9rem", children: /* @__PURE__ */ n.jsxs("div", { className: "download-btn", children: [
3965
- /* @__PURE__ */ n.jsx(Yt, { size: 18 }),
3976
+ /* @__PURE__ */ n.jsx(qt, { size: 18 }),
3966
3977
  /* @__PURE__ */ n.jsx("span", { children: "Download" })
3967
3978
  ] }) })
3968
3979
  ] }),
3969
- un.includes(f) && /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
3970
- /* @__PURE__ */ n.jsx(Tn, { isLoading: o }),
3980
+ fn.includes(f) && /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
3981
+ /* @__PURE__ */ n.jsx(Pn, { isLoading: a }),
3971
3982
  /* @__PURE__ */ n.jsx(
3972
3983
  "img",
3973
3984
  {
3974
3985
  src: h,
3975
3986
  alt: "Preview Unavailable",
3976
- className: `photo-popup-image ${o ? "img-loading" : ""}`,
3987
+ className: `photo-popup-image ${a ? "img-loading" : ""}`,
3977
3988
  onLoad: d,
3978
3989
  onError: m,
3979
3990
  loading: "lazy"
3980
3991
  }
3981
3992
  )
3982
3993
  ] }),
3983
- fn.includes(f) && /* @__PURE__ */ n.jsx("video", { src: h, className: "video-preview", controls: !0, autoPlay: !0 }),
3984
- dn.includes(f) && /* @__PURE__ */ n.jsx("audio", { src: h, controls: !0, autoPlay: !0, className: "audio-preview" }),
3985
- pn.includes(f) && /* @__PURE__ */ n.jsx(n.Fragment, { children: /* @__PURE__ */ n.jsx(
3994
+ dn.includes(f) && /* @__PURE__ */ n.jsx("video", { src: h, className: "video-preview", controls: !0, autoPlay: !0 }),
3995
+ pn.includes(f) && /* @__PURE__ */ n.jsx("audio", { src: h, controls: !0, autoPlay: !0, className: "audio-preview" }),
3996
+ hn.includes(f) && /* @__PURE__ */ n.jsx(n.Fragment, { children: /* @__PURE__ */ n.jsx(
3986
3997
  "iframe",
3987
3998
  {
3988
3999
  src: h,
3989
4000
  onLoad: d,
3990
4001
  onError: m,
3991
4002
  frameBorder: "0",
3992
- className: `photo-popup-iframe ${o ? "img-loading" : ""}`
4003
+ className: `photo-popup-iframe ${a ? "img-loading" : ""}`
3993
4004
  }
3994
4005
  ) })
3995
4006
  ] });
3996
- }, Ft = (e) => e.toLowerCase(), je = (e, o, c = !1) => {
3997
- const r = Pe(/* @__PURE__ */ new Set([])), a = er(() => new Set(e.map((h) => Ft(h))), [e]), l = (h) => {
3998
- if (!h.repeat && (r.current.add(Ft(h.key)), a.isSubsetOf(r.current) && !c)) {
3999
- h.preventDefault(), o(h);
4007
+ }, Ht = (e) => e.toLowerCase(), je = (e, a, s = !1) => {
4008
+ const r = Pe(/* @__PURE__ */ new Set([])), o = tr(() => new Set(e.map((h) => Ht(h))), [e]), l = (h) => {
4009
+ if (!h.repeat && (r.current.add(Ht(h.key)), o.isSubsetOf(r.current) && !s)) {
4010
+ h.preventDefault(), a(h);
4000
4011
  return;
4001
4012
  }
4002
4013
  }, u = (h) => {
4003
- r.current.delete(Ft(h.key));
4014
+ r.current.delete(Ht(h.key));
4004
4015
  }, f = () => {
4005
4016
  r.current.clear();
4006
4017
  };
4007
4018
  ge(() => (window.addEventListener("keydown", l), window.addEventListener("keyup", u), window.addEventListener("blur", f), () => {
4008
4019
  window.removeEventListener("keydown", l), window.removeEventListener("keyup", u), window.removeEventListener("blur", f);
4009
- }), [a, o, c]);
4020
+ }), [o, a, s]);
4010
4021
  }, Ee = {
4011
4022
  createFolder: ["Alt", "Shift", "N"],
4012
4023
  uploadFiles: ["Control", "U"],
@@ -4029,8 +4040,8 @@ const Qr = ({
4029
4040
  // Act as Ctrl + Shift + 2 but could cause problems for QWERTZ or DVORAK etc. keyborad layouts.
4030
4041
  refresh: ["F5"],
4031
4042
  clearSelection: ["Escape"]
4032
- }, na = (e, o) => {
4033
- const { setClipBoard: c, handleCutCopy: r, handlePasting: a } = Ct(), { currentFolder: l, currentPathFiles: u } = Ae(), { setSelectedFiles: f, handleDownload: h } = Ve(), { setActiveLayout: d } = $e(), m = () => {
4043
+ }, ra = (e, a) => {
4044
+ const { setClipBoard: s, handleCutCopy: r, handlePasting: o } = wt(), { currentFolder: l, currentPathFiles: u } = Fe(), { setSelectedFiles: f, handleDownload: h } = Ve(), { setActiveLayout: d } = $e(), m = () => {
4034
4045
  e.show("createFolder");
4035
4046
  }, j = () => {
4036
4047
  e.show("uploadFile");
@@ -4039,7 +4050,7 @@ const Qr = ({
4039
4050
  }, S = () => {
4040
4051
  r(!1);
4041
4052
  }, V = () => {
4042
- a(l);
4053
+ o(l);
4043
4054
  }, k = () => {
4044
4055
  e.show("rename");
4045
4056
  }, q = () => {
@@ -4055,49 +4066,49 @@ const Qr = ({
4055
4066
  }, i = () => {
4056
4067
  f((U) => U.length > 0 ? [] : U);
4057
4068
  }, y = () => {
4058
- o(), c(null);
4069
+ Ge(a, "onRefresh"), s(null);
4059
4070
  }, O = () => {
4060
4071
  d("grid");
4061
4072
  }, M = () => {
4062
4073
  d("list");
4063
4074
  };
4064
4075
  je(Ee.createFolder, m, e.isActive), je(Ee.uploadFiles, j, e.isActive), je(Ee.cut, x, e.isActive), je(Ee.copy, S, e.isActive), je(Ee.paste, V, e.isActive), je(Ee.rename, k, e.isActive), je(Ee.download, q, e.isActive), je(Ee.delete, L, e.isActive), je(Ee.jumpToFirst, I, e.isActive), je(Ee.jumpToLast, N, e.isActive), je(Ee.selectAll, w, e.isActive), je(Ee.clearSelection, i, e.isActive), je(Ee.refresh, y, e.isActive), je(Ee.gridLayout, O, e.isActive), je(Ee.listLayout, M, e.isActive);
4065
- }, ra = ({
4076
+ }, aa = ({
4066
4077
  fileUploadConfig: e,
4067
- onFileUploading: o,
4068
- onFileUploaded: c,
4078
+ onFileUploading: a,
4079
+ onFileUploaded: s,
4069
4080
  onDelete: r,
4070
- onRefresh: a,
4081
+ onRefresh: o,
4071
4082
  maxFileSize: l,
4072
4083
  filePreviewPath: u,
4073
4084
  acceptedFileTypes: f,
4074
4085
  triggerAction: h
4075
4086
  }) => {
4076
4087
  const [d, m] = Z(null), { selectedFiles: j } = Ve();
4077
- na(h, a);
4088
+ ra(h, o);
4078
4089
  const x = {
4079
4090
  uploadFile: {
4080
4091
  title: "Upload",
4081
4092
  component: /* @__PURE__ */ n.jsx(
4082
- ea,
4093
+ ta,
4083
4094
  {
4084
4095
  fileUploadConfig: e,
4085
4096
  maxFileSize: l,
4086
4097
  acceptedFileTypes: f,
4087
- onFileUploading: o,
4088
- onFileUploaded: c
4098
+ onFileUploading: a,
4099
+ onFileUploaded: s
4089
4100
  }
4090
4101
  ),
4091
4102
  width: "35%"
4092
4103
  },
4093
4104
  delete: {
4094
4105
  title: "Delete",
4095
- component: /* @__PURE__ */ n.jsx(Kr, { triggerAction: h, onDelete: r }),
4106
+ component: /* @__PURE__ */ n.jsx(Xr, { triggerAction: h, onDelete: r }),
4096
4107
  width: "25%"
4097
4108
  },
4098
4109
  previewFile: {
4099
4110
  title: "Preview",
4100
- component: /* @__PURE__ */ n.jsx(ta, { filePreviewPath: u }),
4111
+ component: /* @__PURE__ */ n.jsx(na, { filePreviewPath: u }),
4101
4112
  width: "50%"
4102
4113
  }
4103
4114
  };
@@ -4109,7 +4120,7 @@ const Qr = ({
4109
4120
  m(null);
4110
4121
  }, [h.isActive]), d)
4111
4122
  return /* @__PURE__ */ n.jsx(
4112
- Xn,
4123
+ Gn,
4113
4124
  {
4114
4125
  heading: d.title,
4115
4126
  show: h.isActive,
@@ -4118,25 +4129,25 @@ const Qr = ({
4118
4129
  children: d == null ? void 0 : d.component
4119
4130
  }
4120
4131
  );
4121
- }, aa = () => {
4122
- const [e, o] = Z(!1), [c, r] = Z(null);
4132
+ }, oa = () => {
4133
+ const [e, a] = Z(!1), [s, r] = Z(null);
4123
4134
  return {
4124
4135
  isActive: e,
4125
- actionType: c,
4136
+ actionType: s,
4126
4137
  show: (u) => {
4127
- o(!0), r(u);
4138
+ a(!0), r(u);
4128
4139
  },
4129
4140
  close: () => {
4130
- o(!1), r(null);
4141
+ a(!1), r(null);
4131
4142
  }
4132
4143
  };
4133
- }, oa = (e, o) => {
4134
- const [c, r] = Z({ col1: e, col2: o }), [a, l] = Z(!1), u = Pe(null);
4144
+ }, ia = (e, a) => {
4145
+ const [s, r] = Z({ col1: e, col2: a }), [o, l] = Z(!1), u = Pe(null);
4135
4146
  return {
4136
4147
  containerRef: u,
4137
- colSizes: c,
4148
+ colSizes: s,
4138
4149
  setColSizes: r,
4139
- isDragging: a,
4150
+ isDragging: o,
4140
4151
  handleMouseDown: () => {
4141
4152
  l(!0);
4142
4153
  },
@@ -4144,14 +4155,14 @@ const Qr = ({
4144
4155
  l(!1);
4145
4156
  },
4146
4157
  handleMouseMove: (m) => {
4147
- if (!a) return;
4158
+ if (!o) return;
4148
4159
  m.preventDefault();
4149
4160
  const x = u.current.getBoundingClientRect(), S = (m.clientX - x.left) / x.width * 100;
4150
4161
  S >= 15 && S <= 60 && r({ col1: S, col2: 100 - S });
4151
4162
  }
4152
4163
  };
4153
4164
  };
4154
- var Bt = { exports: {} }, yt = { exports: {} }, he = {};
4165
+ var Ut = { exports: {} }, gt = { exports: {} }, he = {};
4155
4166
  /** @license React v16.13.1
4156
4167
  * react-is.production.min.js
4157
4168
  *
@@ -4160,22 +4171,22 @@ var Bt = { exports: {} }, yt = { exports: {} }, he = {};
4160
4171
  * This source code is licensed under the MIT license found in the
4161
4172
  * LICENSE file in the root directory of this source tree.
4162
4173
  */
4163
- var hn;
4164
- function ia() {
4165
- if (hn) return he;
4166
- hn = 1;
4167
- var e = typeof Symbol == "function" && Symbol.for, o = e ? Symbol.for("react.element") : 60103, c = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, l = e ? Symbol.for("react.profiler") : 60114, u = e ? Symbol.for("react.provider") : 60109, f = e ? Symbol.for("react.context") : 60110, h = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, j = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, V = e ? Symbol.for("react.lazy") : 60116, k = e ? Symbol.for("react.block") : 60121, q = e ? Symbol.for("react.fundamental") : 60117, L = e ? Symbol.for("react.responder") : 60118, I = e ? Symbol.for("react.scope") : 60119;
4174
+ var vn;
4175
+ function sa() {
4176
+ if (vn) return he;
4177
+ vn = 1;
4178
+ var e = typeof Symbol == "function" && Symbol.for, a = e ? Symbol.for("react.element") : 60103, s = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, l = e ? Symbol.for("react.profiler") : 60114, u = e ? Symbol.for("react.provider") : 60109, f = e ? Symbol.for("react.context") : 60110, h = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, j = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, V = e ? Symbol.for("react.lazy") : 60116, k = e ? Symbol.for("react.block") : 60121, q = e ? Symbol.for("react.fundamental") : 60117, L = e ? Symbol.for("react.responder") : 60118, I = e ? Symbol.for("react.scope") : 60119;
4168
4179
  function N(i) {
4169
4180
  if (typeof i == "object" && i !== null) {
4170
4181
  var y = i.$$typeof;
4171
4182
  switch (y) {
4172
- case o:
4183
+ case a:
4173
4184
  switch (i = i.type, i) {
4174
4185
  case h:
4175
4186
  case d:
4176
4187
  case r:
4177
4188
  case l:
4178
- case a:
4189
+ case o:
4179
4190
  case j:
4180
4191
  return i;
4181
4192
  default:
@@ -4190,7 +4201,7 @@ function ia() {
4190
4201
  return y;
4191
4202
  }
4192
4203
  }
4193
- case c:
4204
+ case s:
4194
4205
  return y;
4195
4206
  }
4196
4207
  }
@@ -4198,14 +4209,14 @@ function ia() {
4198
4209
  function w(i) {
4199
4210
  return N(i) === d;
4200
4211
  }
4201
- return he.AsyncMode = h, he.ConcurrentMode = d, he.ContextConsumer = f, he.ContextProvider = u, he.Element = o, he.ForwardRef = m, he.Fragment = r, he.Lazy = V, he.Memo = S, he.Portal = c, he.Profiler = l, he.StrictMode = a, he.Suspense = j, he.isAsyncMode = function(i) {
4212
+ return he.AsyncMode = h, he.ConcurrentMode = d, he.ContextConsumer = f, he.ContextProvider = u, he.Element = a, he.ForwardRef = m, he.Fragment = r, he.Lazy = V, he.Memo = S, he.Portal = s, he.Profiler = l, he.StrictMode = o, he.Suspense = j, he.isAsyncMode = function(i) {
4202
4213
  return w(i) || N(i) === h;
4203
4214
  }, he.isConcurrentMode = w, he.isContextConsumer = function(i) {
4204
4215
  return N(i) === f;
4205
4216
  }, he.isContextProvider = function(i) {
4206
4217
  return N(i) === u;
4207
4218
  }, he.isElement = function(i) {
4208
- return typeof i == "object" && i !== null && i.$$typeof === o;
4219
+ return typeof i == "object" && i !== null && i.$$typeof === a;
4209
4220
  }, he.isForwardRef = function(i) {
4210
4221
  return N(i) === m;
4211
4222
  }, he.isFragment = function(i) {
@@ -4215,15 +4226,15 @@ function ia() {
4215
4226
  }, he.isMemo = function(i) {
4216
4227
  return N(i) === S;
4217
4228
  }, he.isPortal = function(i) {
4218
- return N(i) === c;
4229
+ return N(i) === s;
4219
4230
  }, he.isProfiler = function(i) {
4220
4231
  return N(i) === l;
4221
4232
  }, he.isStrictMode = function(i) {
4222
- return N(i) === a;
4233
+ return N(i) === o;
4223
4234
  }, he.isSuspense = function(i) {
4224
4235
  return N(i) === j;
4225
4236
  }, he.isValidElementType = function(i) {
4226
- return typeof i == "string" || typeof i == "function" || i === r || i === d || i === l || i === a || i === j || i === x || typeof i == "object" && i !== null && (i.$$typeof === V || i.$$typeof === S || i.$$typeof === u || i.$$typeof === f || i.$$typeof === m || i.$$typeof === q || i.$$typeof === L || i.$$typeof === I || i.$$typeof === k);
4237
+ return typeof i == "string" || typeof i == "function" || i === r || i === d || i === l || i === o || i === j || i === x || typeof i == "object" && i !== null && (i.$$typeof === V || i.$$typeof === S || i.$$typeof === u || i.$$typeof === f || i.$$typeof === m || i.$$typeof === q || i.$$typeof === L || i.$$typeof === I || i.$$typeof === k);
4227
4238
  }, he.typeOf = N, he;
4228
4239
  }
4229
4240
  var ve = {};
@@ -4235,26 +4246,26 @@ var ve = {};
4235
4246
  * This source code is licensed under the MIT license found in the
4236
4247
  * LICENSE file in the root directory of this source tree.
4237
4248
  */
4238
- var vn;
4239
- function sa() {
4240
- return vn || (vn = 1, process.env.NODE_ENV !== "production" && function() {
4241
- var e = typeof Symbol == "function" && Symbol.for, o = e ? Symbol.for("react.element") : 60103, c = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, l = e ? Symbol.for("react.profiler") : 60114, u = e ? Symbol.for("react.provider") : 60109, f = e ? Symbol.for("react.context") : 60110, h = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, j = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, V = e ? Symbol.for("react.lazy") : 60116, k = e ? Symbol.for("react.block") : 60121, q = e ? Symbol.for("react.fundamental") : 60117, L = e ? Symbol.for("react.responder") : 60118, I = e ? Symbol.for("react.scope") : 60119;
4249
+ var mn;
4250
+ function ca() {
4251
+ return mn || (mn = 1, process.env.NODE_ENV !== "production" && function() {
4252
+ var e = typeof Symbol == "function" && Symbol.for, a = e ? Symbol.for("react.element") : 60103, s = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, l = e ? Symbol.for("react.profiler") : 60114, u = e ? Symbol.for("react.provider") : 60109, f = e ? Symbol.for("react.context") : 60110, h = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, j = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, V = e ? Symbol.for("react.lazy") : 60116, k = e ? Symbol.for("react.block") : 60121, q = e ? Symbol.for("react.fundamental") : 60117, L = e ? Symbol.for("react.responder") : 60118, I = e ? Symbol.for("react.scope") : 60119;
4242
4253
  function N(E) {
4243
4254
  return typeof E == "string" || typeof E == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
4244
- E === r || E === d || E === l || E === a || E === j || E === x || typeof E == "object" && E !== null && (E.$$typeof === V || E.$$typeof === S || E.$$typeof === u || E.$$typeof === f || E.$$typeof === m || E.$$typeof === q || E.$$typeof === L || E.$$typeof === I || E.$$typeof === k);
4255
+ E === r || E === d || E === l || E === o || E === j || E === x || typeof E == "object" && E !== null && (E.$$typeof === V || E.$$typeof === S || E.$$typeof === u || E.$$typeof === f || E.$$typeof === m || E.$$typeof === q || E.$$typeof === L || E.$$typeof === I || E.$$typeof === k);
4245
4256
  }
4246
4257
  function w(E) {
4247
4258
  if (typeof E == "object" && E !== null) {
4248
4259
  var ce = E.$$typeof;
4249
4260
  switch (ce) {
4250
- case o:
4261
+ case a:
4251
4262
  var le = E.type;
4252
4263
  switch (le) {
4253
4264
  case h:
4254
4265
  case d:
4255
4266
  case r:
4256
4267
  case l:
4257
- case a:
4268
+ case o:
4258
4269
  case j:
4259
4270
  return le;
4260
4271
  default:
@@ -4270,12 +4281,12 @@ function sa() {
4270
4281
  return ce;
4271
4282
  }
4272
4283
  }
4273
- case c:
4284
+ case s:
4274
4285
  return ce;
4275
4286
  }
4276
4287
  }
4277
4288
  }
4278
- var i = h, y = d, O = f, M = u, U = o, Y = m, H = r, G = V, J = S, te = c, ue = l, ne = a, ae = j, de = !1;
4289
+ var i = h, y = d, O = f, M = u, U = a, Y = m, H = r, G = V, J = S, te = s, ue = l, ne = o, ae = j, de = !1;
4279
4290
  function ee(E) {
4280
4291
  return de || (de = !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.")), T(E) || w(E) === h;
4281
4292
  }
@@ -4289,7 +4300,7 @@ function sa() {
4289
4300
  return w(E) === u;
4290
4301
  }
4291
4302
  function C(E) {
4292
- return typeof E == "object" && E !== null && E.$$typeof === o;
4303
+ return typeof E == "object" && E !== null && E.$$typeof === a;
4293
4304
  }
4294
4305
  function z(E) {
4295
4306
  return w(E) === m;
@@ -4304,13 +4315,13 @@ function sa() {
4304
4315
  return w(E) === S;
4305
4316
  }
4306
4317
  function g(E) {
4307
- return w(E) === c;
4318
+ return w(E) === s;
4308
4319
  }
4309
4320
  function _(E) {
4310
4321
  return w(E) === l;
4311
4322
  }
4312
4323
  function R(E) {
4313
- return w(E) === a;
4324
+ return w(E) === o;
4314
4325
  }
4315
4326
  function B(E) {
4316
4327
  return w(E) === j;
@@ -4318,26 +4329,26 @@ function sa() {
4318
4329
  ve.AsyncMode = i, ve.ConcurrentMode = y, ve.ContextConsumer = O, ve.ContextProvider = M, ve.Element = U, ve.ForwardRef = Y, ve.Fragment = H, ve.Lazy = G, ve.Memo = J, ve.Portal = te, ve.Profiler = ue, ve.StrictMode = ne, ve.Suspense = ae, ve.isAsyncMode = ee, ve.isConcurrentMode = T, ve.isContextConsumer = D, ve.isContextProvider = b, ve.isElement = C, ve.isForwardRef = z, ve.isFragment = K, ve.isLazy = $, ve.isMemo = p, ve.isPortal = g, ve.isProfiler = _, ve.isStrictMode = R, ve.isSuspense = B, ve.isValidElementType = N, ve.typeOf = w;
4319
4330
  }()), ve;
4320
4331
  }
4321
- var mn;
4322
- function Gn() {
4323
- return mn || (mn = 1, process.env.NODE_ENV === "production" ? yt.exports = ia() : yt.exports = sa()), yt.exports;
4332
+ var yn;
4333
+ function Jn() {
4334
+ return yn || (yn = 1, process.env.NODE_ENV === "production" ? gt.exports = sa() : gt.exports = ca()), gt.exports;
4324
4335
  }
4325
4336
  /*
4326
4337
  object-assign
4327
4338
  (c) Sindre Sorhus
4328
4339
  @license MIT
4329
4340
  */
4330
- var Ht, yn;
4331
- function ca() {
4332
- if (yn) return Ht;
4333
- yn = 1;
4334
- var e = Object.getOwnPropertySymbols, o = Object.prototype.hasOwnProperty, c = Object.prototype.propertyIsEnumerable;
4341
+ var Vt, gn;
4342
+ function la() {
4343
+ if (gn) return Vt;
4344
+ gn = 1;
4345
+ var e = Object.getOwnPropertySymbols, a = Object.prototype.hasOwnProperty, s = Object.prototype.propertyIsEnumerable;
4335
4346
  function r(l) {
4336
4347
  if (l == null)
4337
4348
  throw new TypeError("Object.assign cannot be called with null or undefined");
4338
4349
  return Object(l);
4339
4350
  }
4340
- function a() {
4351
+ function o() {
4341
4352
  try {
4342
4353
  if (!Object.assign)
4343
4354
  return !1;
@@ -4359,39 +4370,39 @@ function ca() {
4359
4370
  return !1;
4360
4371
  }
4361
4372
  }
4362
- return Ht = a() ? Object.assign : function(l, u) {
4373
+ return Vt = o() ? Object.assign : function(l, u) {
4363
4374
  for (var f, h = r(l), d, m = 1; m < arguments.length; m++) {
4364
4375
  f = Object(arguments[m]);
4365
4376
  for (var j in f)
4366
- o.call(f, j) && (h[j] = f[j]);
4377
+ a.call(f, j) && (h[j] = f[j]);
4367
4378
  if (e) {
4368
4379
  d = e(f);
4369
4380
  for (var x = 0; x < d.length; x++)
4370
- c.call(f, d[x]) && (h[d[x]] = f[d[x]]);
4381
+ s.call(f, d[x]) && (h[d[x]] = f[d[x]]);
4371
4382
  }
4372
4383
  }
4373
4384
  return h;
4374
- }, Ht;
4375
- }
4376
- var Vt, gn;
4377
- function Xt() {
4378
- if (gn) return Vt;
4379
- gn = 1;
4380
- var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
4381
- return Vt = e, Vt;
4385
+ }, Vt;
4382
4386
  }
4383
4387
  var zt, bn;
4384
- function Jn() {
4385
- return bn || (bn = 1, zt = Function.call.bind(Object.prototype.hasOwnProperty)), zt;
4388
+ function Gt() {
4389
+ if (bn) return zt;
4390
+ bn = 1;
4391
+ var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
4392
+ return zt = e, zt;
4386
4393
  }
4387
4394
  var Lt, xn;
4388
- function la() {
4389
- if (xn) return Lt;
4390
- xn = 1;
4395
+ function Zn() {
4396
+ return xn || (xn = 1, Lt = Function.call.bind(Object.prototype.hasOwnProperty)), Lt;
4397
+ }
4398
+ var Dt, Cn;
4399
+ function ua() {
4400
+ if (Cn) return Dt;
4401
+ Cn = 1;
4391
4402
  var e = function() {
4392
4403
  };
4393
4404
  if (process.env.NODE_ENV !== "production") {
4394
- var o = Xt(), c = {}, r = Jn();
4405
+ var a = Gt(), s = {}, r = Zn();
4395
4406
  e = function(l) {
4396
4407
  var u = "Warning: " + l;
4397
4408
  typeof console < "u" && console.error(u);
@@ -4401,7 +4412,7 @@ function la() {
4401
4412
  }
4402
4413
  };
4403
4414
  }
4404
- function a(l, u, f, h, d) {
4415
+ function o(l, u, f, h, d) {
4405
4416
  if (process.env.NODE_ENV !== "production") {
4406
4417
  for (var m in l)
4407
4418
  if (r(l, m)) {
@@ -4413,14 +4424,14 @@ function la() {
4413
4424
  );
4414
4425
  throw x.name = "Invariant Violation", x;
4415
4426
  }
4416
- j = l[m](u, m, h, f, null, o);
4427
+ j = l[m](u, m, h, f, null, a);
4417
4428
  } catch (V) {
4418
4429
  j = V;
4419
4430
  }
4420
4431
  if (j && !(j instanceof Error) && e(
4421
4432
  (h || "React class") + ": type specification of " + f + " `" + m + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof j + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
4422
- ), j instanceof Error && !(j.message in c)) {
4423
- c[j.message] = !0;
4433
+ ), j instanceof Error && !(j.message in s)) {
4434
+ s[j.message] = !0;
4424
4435
  var S = d ? d() : "";
4425
4436
  e(
4426
4437
  "Failed " + f + " type: " + j.message + (S ?? "")
@@ -4429,15 +4440,15 @@ function la() {
4429
4440
  }
4430
4441
  }
4431
4442
  }
4432
- return a.resetWarningCache = function() {
4433
- process.env.NODE_ENV !== "production" && (c = {});
4434
- }, Lt = a, Lt;
4443
+ return o.resetWarningCache = function() {
4444
+ process.env.NODE_ENV !== "production" && (s = {});
4445
+ }, Dt = o, Dt;
4435
4446
  }
4436
- var Dt, Cn;
4437
- function ua() {
4438
- if (Cn) return Dt;
4439
- Cn = 1;
4440
- var e = Gn(), o = ca(), c = Xt(), r = Jn(), a = la(), l = function() {
4447
+ var It, wn;
4448
+ function fa() {
4449
+ if (wn) return It;
4450
+ wn = 1;
4451
+ var e = Jn(), a = la(), s = Gt(), r = Zn(), o = ua(), l = function() {
4441
4452
  };
4442
4453
  process.env.NODE_ENV !== "production" && (l = function(f) {
4443
4454
  var h = "Warning: " + f;
@@ -4450,7 +4461,7 @@ function ua() {
4450
4461
  function u() {
4451
4462
  return null;
4452
4463
  }
4453
- return Dt = function(f, h) {
4464
+ return It = function(f, h) {
4454
4465
  var d = typeof Symbol == "function" && Symbol.iterator, m = "@@iterator";
4455
4466
  function j(T) {
4456
4467
  var D = T && (d && T[d] || T[m]);
@@ -4489,7 +4500,7 @@ function ua() {
4489
4500
  if (process.env.NODE_ENV !== "production")
4490
4501
  var D = {}, b = 0;
4491
4502
  function C(K, $, p, g, _, R, B) {
4492
- if (g = g || x, R = R || p, B !== c) {
4503
+ if (g = g || x, R = R || p, B !== s) {
4493
4504
  if (h) {
4494
4505
  var E = new Error(
4495
4506
  "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"
@@ -4535,7 +4546,7 @@ function ua() {
4535
4546
  return new k("Invalid " + K + " `" + $ + "` of type " + ("`" + g + "` supplied to `" + z + "`, expected an array."));
4536
4547
  }
4537
4548
  for (var _ = 0; _ < p.length; _++) {
4538
- var R = T(p, _, z, K, $ + "[" + _ + "]", c);
4549
+ var R = T(p, _, z, K, $ + "[" + _ + "]", s);
4539
4550
  if (R instanceof Error)
4540
4551
  return R;
4541
4552
  }
@@ -4601,7 +4612,7 @@ function ua() {
4601
4612
  return new k("Invalid " + K + " `" + $ + "` of type " + ("`" + g + "` supplied to `" + z + "`, expected an object."));
4602
4613
  for (var _ in p)
4603
4614
  if (r(p, _)) {
4604
- var R = T(p, _, z, K, $ + "." + _, c);
4615
+ var R = T(p, _, z, K, $ + "." + _, s);
4605
4616
  if (R instanceof Error)
4606
4617
  return R;
4607
4618
  }
@@ -4621,7 +4632,7 @@ function ua() {
4621
4632
  }
4622
4633
  function C(z, K, $, p, g) {
4623
4634
  for (var _ = [], R = 0; R < T.length; R++) {
4624
- var B = T[R], E = B(z, K, $, p, g, c);
4635
+ var B = T[R], E = B(z, K, $, p, g, s);
4625
4636
  if (E == null)
4626
4637
  return null;
4627
4638
  E.data && r(E.data, "expectedType") && _.push(E.data.expectedType);
@@ -4651,7 +4662,7 @@ function ua() {
4651
4662
  var R = T[_];
4652
4663
  if (typeof R != "function")
4653
4664
  return H(z, K, $, _, ae(R));
4654
- var B = R(p, _, z, K, $ + "." + _, c);
4665
+ var B = R(p, _, z, K, $ + "." + _, s);
4655
4666
  if (B)
4656
4667
  return B;
4657
4668
  }
@@ -4664,7 +4675,7 @@ function ua() {
4664
4675
  var p = b[C], g = ne(p);
4665
4676
  if (g !== "object")
4666
4677
  return new k("Invalid " + K + " `" + $ + "` of type `" + g + "` " + ("supplied to `" + z + "`, expected `object`."));
4667
- var _ = o({}, b[C], T);
4678
+ var _ = a({}, b[C], T);
4668
4679
  for (var R in _) {
4669
4680
  var B = T[R];
4670
4681
  if (r(T, R) && typeof B != "function")
@@ -4674,7 +4685,7 @@ function ua() {
4674
4685
  "Invalid " + K + " `" + $ + "` key `" + R + "` supplied to `" + z + "`.\nBad object: " + JSON.stringify(b[C], null, " ") + `
4675
4686
  Valid keys: ` + JSON.stringify(Object.keys(T), null, " ")
4676
4687
  );
4677
- var E = B(p, R, z, K, $ + "." + R, c);
4688
+ var E = B(p, R, z, K, $ + "." + R, s);
4678
4689
  if (E)
4679
4690
  return E;
4680
4691
  }
@@ -4751,19 +4762,19 @@ Valid keys: ` + JSON.stringify(Object.keys(T), null, " ")
4751
4762
  function ee(T) {
4752
4763
  return !T.constructor || !T.constructor.name ? x : T.constructor.name;
4753
4764
  }
4754
- return S.checkPropTypes = a, S.resetWarningCache = a.resetWarningCache, S.PropTypes = S, S;
4755
- }, Dt;
4765
+ return S.checkPropTypes = o, S.resetWarningCache = o.resetWarningCache, S.PropTypes = S, S;
4766
+ }, It;
4756
4767
  }
4757
- var It, wn;
4758
- function fa() {
4759
- if (wn) return It;
4760
- wn = 1;
4761
- var e = Xt();
4762
- function o() {
4768
+ var $t, jn;
4769
+ function da() {
4770
+ if (jn) return $t;
4771
+ jn = 1;
4772
+ var e = Gt();
4773
+ function a() {
4763
4774
  }
4764
- function c() {
4775
+ function s() {
4765
4776
  }
4766
- return c.resetWarningCache = o, It = function() {
4777
+ return s.resetWarningCache = a, $t = function() {
4767
4778
  function r(u, f, h, d, m, j) {
4768
4779
  if (j !== e) {
4769
4780
  var x = new Error(
@@ -4773,7 +4784,7 @@ function fa() {
4773
4784
  }
4774
4785
  }
4775
4786
  r.isRequired = r;
4776
- function a() {
4787
+ function o() {
4777
4788
  return r;
4778
4789
  }
4779
4790
  var l = {
@@ -4786,59 +4797,64 @@ function fa() {
4786
4797
  string: r,
4787
4798
  symbol: r,
4788
4799
  any: r,
4789
- arrayOf: a,
4800
+ arrayOf: o,
4790
4801
  element: r,
4791
4802
  elementType: r,
4792
- instanceOf: a,
4803
+ instanceOf: o,
4793
4804
  node: r,
4794
- objectOf: a,
4795
- oneOf: a,
4796
- oneOfType: a,
4797
- shape: a,
4798
- exact: a,
4799
- checkPropTypes: c,
4800
- resetWarningCache: o
4805
+ objectOf: o,
4806
+ oneOf: o,
4807
+ oneOfType: o,
4808
+ shape: o,
4809
+ exact: o,
4810
+ checkPropTypes: s,
4811
+ resetWarningCache: a
4801
4812
  };
4802
4813
  return l.PropTypes = l, l;
4803
- }, It;
4814
+ }, $t;
4804
4815
  }
4805
4816
  if (process.env.NODE_ENV !== "production") {
4806
- var da = Gn(), pa = !0;
4807
- Bt.exports = ua()(da.isElement, pa);
4817
+ var pa = Jn(), ha = !0;
4818
+ Ut.exports = fa()(pa.isElement, ha);
4808
4819
  } else
4809
- Bt.exports = fa()();
4810
- var ha = Bt.exports;
4811
- const pe = /* @__PURE__ */ Ut(ha), va = (e, o, c) => {
4812
- const r = e[o];
4820
+ Ut.exports = da()();
4821
+ var va = Ut.exports;
4822
+ const pe = /* @__PURE__ */ Yt(va), ma = (e, a, s) => {
4823
+ const r = e[a];
4813
4824
  if (r && isNaN(Date.parse(r)))
4814
4825
  return new Error(
4815
- `Invalid prop \`${o}\` supplied to \`${c}\`. Expected a valid date string (ISO 8601) but received \`${r}\`.`
4826
+ `Invalid prop \`${a}\` supplied to \`${s}\`. Expected a valid date string (ISO 8601) but received \`${r}\`.`
4816
4827
  );
4817
- }, jn = (e, o, c) => {
4818
- const r = e[o];
4828
+ }, En = (e, a, s) => {
4829
+ const r = e[a];
4819
4830
  try {
4820
4831
  new URL(r);
4821
4832
  return;
4822
4833
  } catch {
4823
4834
  return new Error(
4824
- `Invalid prop \`${o}\` supplied to \`${c}\`. Expected a valid URL but received \`${r}\`.`
4835
+ `Invalid prop \`${a}\` supplied to \`${s}\`. Expected a valid URL but received \`${r}\`.`
4825
4836
  );
4826
4837
  }
4827
- }, Zn = ({
4838
+ }, Qn = ({
4828
4839
  files: e,
4829
- fileUploadConfig: o,
4830
- isLoading: c,
4840
+ fileUploadConfig: a,
4841
+ isLoading: s,
4831
4842
  onCreateFolder: r,
4832
- onFileUploading: a,
4833
- onFileUploaded: l,
4843
+ onFileUploading: o = () => {
4844
+ },
4845
+ onFileUploaded: l = () => {
4846
+ },
4834
4847
  onPaste: u,
4835
4848
  onRename: f,
4836
4849
  onDownload: h,
4837
4850
  onDelete: d = () => null,
4838
- onLayoutChange: m,
4851
+ onLayoutChange: m = () => {
4852
+ },
4839
4853
  onRefresh: j,
4840
- onFileOpen: x,
4841
- onError: S,
4854
+ onFileOpen: x = () => {
4855
+ },
4856
+ onError: S = () => {
4857
+ },
4842
4858
  layout: V = "grid",
4843
4859
  enableFilePreview: k = !0,
4844
4860
  maxFileSize: q,
@@ -4847,7 +4863,7 @@ const pe = /* @__PURE__ */ Ut(ha), va = (e, o, c) => {
4847
4863
  height: N = "600px",
4848
4864
  width: w = "100%"
4849
4865
  }) => {
4850
- const i = aa(), { containerRef: y, colSizes: O, isDragging: M, handleMouseMove: U, handleMouseUp: Y, handleMouseDown: H } = oa(20, 80);
4866
+ const i = oa(), { containerRef: y, colSizes: O, isDragging: M, handleMouseMove: U, handleMouseUp: Y, handleMouseDown: H } = ia(20, 80);
4851
4867
  return /* @__PURE__ */ n.jsxs(
4852
4868
  "main",
4853
4869
  {
@@ -4855,10 +4871,10 @@ const pe = /* @__PURE__ */ Ut(ha), va = (e, o, c) => {
4855
4871
  onContextMenu: (G) => G.preventDefault(),
4856
4872
  style: { height: N, width: w },
4857
4873
  children: [
4858
- /* @__PURE__ */ n.jsx(Tn, { isLoading: c }),
4859
- /* @__PURE__ */ n.jsx(Or, { filesData: e, onError: S, children: /* @__PURE__ */ n.jsx(Rr, { children: /* @__PURE__ */ n.jsx(Tr, { onDownload: h, children: /* @__PURE__ */ n.jsx(Pr, { onPaste: u, children: /* @__PURE__ */ n.jsxs(jr, { layout: V, children: [
4874
+ /* @__PURE__ */ n.jsx(Pn, { isLoading: s }),
4875
+ /* @__PURE__ */ n.jsx(Rr, { filesData: e, onError: S, children: /* @__PURE__ */ n.jsx(Tr, { children: /* @__PURE__ */ n.jsx(Pr, { onDownload: h, children: /* @__PURE__ */ n.jsx(Sr, { onPaste: u, children: /* @__PURE__ */ n.jsxs(Er, { layout: V, children: [
4860
4876
  /* @__PURE__ */ n.jsx(
4861
- Sr,
4877
+ kr,
4862
4878
  {
4863
4879
  allowCreateFolder: !0,
4864
4880
  allowUploadFile: !0,
@@ -4876,7 +4892,7 @@ const pe = /* @__PURE__ */ Ut(ha), va = (e, o, c) => {
4876
4892
  className: "files-container",
4877
4893
  children: [
4878
4894
  /* @__PURE__ */ n.jsxs("div", { className: "navigation-pane", style: { width: O.col1 + "%" }, children: [
4879
- /* @__PURE__ */ n.jsx(Fr, {}),
4895
+ /* @__PURE__ */ n.jsx(Hr, {}),
4880
4896
  /* @__PURE__ */ n.jsx(
4881
4897
  "div",
4882
4898
  {
@@ -4886,9 +4902,9 @@ const pe = /* @__PURE__ */ Ut(ha), va = (e, o, c) => {
4886
4902
  )
4887
4903
  ] }),
4888
4904
  /* @__PURE__ */ n.jsxs("div", { className: "folders-preview", style: { width: O.col2 + "%" }, children: [
4889
- /* @__PURE__ */ n.jsx(Hr, {}),
4905
+ /* @__PURE__ */ n.jsx(Vr, {}),
4890
4906
  /* @__PURE__ */ n.jsx(
4891
- qr,
4907
+ Kr,
4892
4908
  {
4893
4909
  onCreateFolder: r,
4894
4910
  onRename: f,
@@ -4902,10 +4918,10 @@ const pe = /* @__PURE__ */ Ut(ha), va = (e, o, c) => {
4902
4918
  }
4903
4919
  ),
4904
4920
  /* @__PURE__ */ n.jsx(
4905
- ra,
4921
+ aa,
4906
4922
  {
4907
- fileUploadConfig: o,
4908
- onFileUploading: a,
4923
+ fileUploadConfig: a,
4924
+ onFileUploading: o,
4909
4925
  onFileUploaded: l,
4910
4926
  onDelete: d,
4911
4927
  onRefresh: j,
@@ -4920,19 +4936,19 @@ const pe = /* @__PURE__ */ Ut(ha), va = (e, o, c) => {
4920
4936
  }
4921
4937
  );
4922
4938
  };
4923
- Zn.displayName = "FileManager";
4924
- Zn.propTypes = {
4939
+ Qn.displayName = "FileManager";
4940
+ Qn.propTypes = {
4925
4941
  files: pe.arrayOf(
4926
4942
  pe.shape({
4927
4943
  name: pe.string.isRequired,
4928
4944
  isDirectory: pe.bool.isRequired,
4929
4945
  path: pe.string.isRequired,
4930
- updatedAt: va,
4946
+ updatedAt: ma,
4931
4947
  size: pe.number
4932
4948
  })
4933
4949
  ).isRequired,
4934
4950
  fileUploadConfig: pe.shape({
4935
- url: jn,
4951
+ url: En,
4936
4952
  headers: pe.objectOf(pe.string)
4937
4953
  }),
4938
4954
  isLoading: pe.bool,
@@ -4950,11 +4966,11 @@ Zn.propTypes = {
4950
4966
  layout: pe.oneOf(["grid", "list"]),
4951
4967
  maxFileSize: pe.number,
4952
4968
  enableFilePreview: pe.bool,
4953
- filePreviewPath: jn,
4969
+ filePreviewPath: En,
4954
4970
  acceptedFileTypes: pe.string,
4955
4971
  height: pe.oneOfType([pe.string, pe.number]),
4956
4972
  width: pe.oneOfType([pe.string, pe.number])
4957
4973
  };
4958
4974
  export {
4959
- Zn as FileManager
4975
+ Qn as FileManager
4960
4976
  };