@cubone/react-file-manager 1.0.2 → 1.1.0

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,5 +1,5 @@
1
- import Oe, { useState as Q, useEffect as xe, useRef as Fe } from "react";
2
- var kt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1
+ import Oe, { useState as ee, useEffect as xe, useRef as Fe } from "react";
2
+ var Nt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
3
3
  function Mt(n) {
4
4
  return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
5
5
  }
@@ -17,13 +17,13 @@ var Ot;
17
17
  function Bt() {
18
18
  if (Ot) return Ye;
19
19
  Ot = 1;
20
- var n = Oe, h = Symbol.for("react.element"), o = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
20
+ var n = Oe, p = Symbol.for("react.element"), o = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
21
21
  function l(v, f, s) {
22
- var p, C = {}, b = null, F = null;
23
- s !== void 0 && (b = "" + s), f.key !== void 0 && (b = "" + f.key), f.ref !== void 0 && (F = f.ref);
24
- for (p in f) c.call(f, p) && !u.hasOwnProperty(p) && (C[p] = f[p]);
25
- if (v && v.defaultProps) for (p in f = v.defaultProps, f) C[p] === void 0 && (C[p] = f[p]);
26
- return { $$typeof: h, type: v, key: b, ref: F, props: C, _owner: d.current };
22
+ var h, N = {}, j = null, _ = null;
23
+ s !== void 0 && (j = "" + s), f.key !== void 0 && (j = "" + f.key), f.ref !== void 0 && (_ = f.ref);
24
+ for (h in f) c.call(f, h) && !u.hasOwnProperty(h) && (N[h] = f[h]);
25
+ if (v && v.defaultProps) for (h in f = v.defaultProps, f) N[h] === void 0 && (N[h] = f[h]);
26
+ return { $$typeof: p, type: v, key: j, ref: _, props: N, _owner: d.current };
27
27
  }
28
28
  return Ye.Fragment = o, Ye.jsx = l, Ye.jsxs = l, Ye;
29
29
  }
@@ -40,54 +40,54 @@ var Ke = {};
40
40
  var Rt;
41
41
  function Yt() {
42
42
  return Rt || (Rt = 1, process.env.NODE_ENV !== "production" && function() {
43
- var n = Oe, h = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), v = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), s = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), k = Symbol.iterator, R = "@@iterator";
44
- function I(t) {
43
+ var n = Oe, p = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), v = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), s = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), N = Symbol.for("react.memo"), j = Symbol.for("react.lazy"), _ = Symbol.for("react.offscreen"), V = Symbol.iterator, C = "@@iterator";
44
+ function R(t) {
45
45
  if (t === null || typeof t != "object")
46
46
  return null;
47
- var j = k && t[k] || t[R];
48
- return typeof j == "function" ? j : null;
47
+ var x = V && t[V] || t[C];
48
+ return typeof x == "function" ? x : null;
49
49
  }
50
- var V = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
- function E(t) {
50
+ var M = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
+ function z(t) {
52
52
  {
53
- for (var j = arguments.length, N = new Array(j > 1 ? j - 1 : 0), $ = 1; $ < j; $++)
54
- N[$ - 1] = arguments[$];
55
- z("error", t, N);
53
+ for (var x = arguments.length, A = new Array(x > 1 ? x - 1 : 0), U = 1; U < x; U++)
54
+ A[U - 1] = arguments[U];
55
+ F("error", t, A);
56
56
  }
57
57
  }
58
- function z(t, j, N) {
58
+ function F(t, x, A) {
59
59
  {
60
- var $ = V.ReactDebugCurrentFrame, ee = $.getStackAddendum();
61
- ee !== "" && (j += "%s", N = N.concat([ee]));
62
- var ae = N.map(function(e) {
60
+ var U = M.ReactDebugCurrentFrame, te = U.getStackAddendum();
61
+ te !== "" && (x += "%s", A = A.concat([te]));
62
+ var ie = A.map(function(e) {
63
63
  return String(e);
64
64
  });
65
- ae.unshift("Warning: " + j), Function.prototype.apply.call(console[t], console, ae);
65
+ ie.unshift("Warning: " + x), Function.prototype.apply.call(console[t], console, ie);
66
66
  }
67
67
  }
68
- var P = !1, y = !1, S = !1, M = !1, L = !1, te;
69
- te = Symbol.for("react.module.reference");
70
- function K(t) {
71
- return !!(typeof t == "string" || typeof t == "function" || t === c || t === u || L || t === d || t === s || t === p || M || t === F || P || y || S || typeof t == "object" && t !== null && (t.$$typeof === b || t.$$typeof === C || t.$$typeof === l || t.$$typeof === v || t.$$typeof === f || // This needs to include all possible module reference object
68
+ var P = !1, b = !1, k = !1, E = !1, L = !1, Q;
69
+ Q = Symbol.for("react.module.reference");
70
+ function $(t) {
71
+ return !!(typeof t == "string" || typeof t == "function" || t === c || t === u || L || t === d || t === s || t === h || E || t === _ || P || b || k || typeof t == "object" && t !== null && (t.$$typeof === j || t.$$typeof === N || t.$$typeof === l || t.$$typeof === v || t.$$typeof === f || // 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
- t.$$typeof === te || t.getModuleId !== void 0));
75
+ t.$$typeof === Q || t.getModuleId !== void 0));
76
76
  }
77
- function A(t, j, N) {
78
- var $ = t.displayName;
79
- if ($)
80
- return $;
81
- var ee = j.displayName || j.name || "";
82
- return ee !== "" ? N + "(" + ee + ")" : N;
77
+ function O(t, x, A) {
78
+ var U = t.displayName;
79
+ if (U)
80
+ return U;
81
+ var te = x.displayName || x.name || "";
82
+ return te !== "" ? A + "(" + te + ")" : A;
83
83
  }
84
- function G(t) {
84
+ function J(t) {
85
85
  return t.displayName || "Context";
86
86
  }
87
87
  function re(t) {
88
88
  if (t == null)
89
89
  return null;
90
- if (typeof t.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
90
+ if (typeof t.tag == "number" && z("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
91
91
  return t.displayName || t.name || null;
92
92
  if (typeof t == "string")
93
93
  return t;
@@ -102,26 +102,26 @@ function Yt() {
102
102
  return "StrictMode";
103
103
  case s:
104
104
  return "Suspense";
105
- case p:
105
+ case h:
106
106
  return "SuspenseList";
107
107
  }
108
108
  if (typeof t == "object")
109
109
  switch (t.$$typeof) {
110
110
  case v:
111
- var j = t;
112
- return G(j) + ".Consumer";
111
+ var x = t;
112
+ return J(x) + ".Consumer";
113
113
  case l:
114
- var N = t;
115
- return G(N._context) + ".Provider";
114
+ var A = t;
115
+ return J(A._context) + ".Provider";
116
116
  case f:
117
- return A(t, t.render, "ForwardRef");
118
- case C:
119
- var $ = t.displayName || null;
120
- return $ !== null ? $ : re(t.type) || "Memo";
121
- case b: {
122
- var ee = t, ae = ee._payload, e = ee._init;
117
+ return O(t, t.render, "ForwardRef");
118
+ case N:
119
+ var U = t.displayName || null;
120
+ return U !== null ? U : re(t.type) || "Memo";
121
+ case j: {
122
+ var te = t, ie = te._payload, e = te._init;
123
123
  try {
124
- return re(e(ae));
124
+ return re(e(ie));
125
125
  } catch {
126
126
  return null;
127
127
  }
@@ -129,18 +129,18 @@ function Yt() {
129
129
  }
130
130
  return null;
131
131
  }
132
- var le = Object.assign, ce = 0, ue, ve, fe, J, de, pe, w;
133
- function H() {
132
+ var ue = Object.assign, fe = 0, ne, he, ce, K, de, pe, w;
133
+ function I() {
134
134
  }
135
- H.__reactDisabledLog = !0;
136
- function B() {
135
+ I.__reactDisabledLog = !0;
136
+ function W() {
137
137
  {
138
- if (ce === 0) {
139
- ue = console.log, ve = console.info, fe = console.warn, J = console.error, de = console.group, pe = console.groupCollapsed, w = console.groupEnd;
138
+ if (fe === 0) {
139
+ ne = console.log, he = console.info, ce = console.warn, K = console.error, de = console.group, pe = console.groupCollapsed, w = console.groupEnd;
140
140
  var t = {
141
141
  configurable: !0,
142
142
  enumerable: !0,
143
- value: H,
143
+ value: I,
144
144
  writable: !0
145
145
  };
146
146
  Object.defineProperties(console, {
@@ -153,79 +153,79 @@ function Yt() {
153
153
  groupEnd: t
154
154
  });
155
155
  }
156
- ce++;
156
+ fe++;
157
157
  }
158
158
  }
159
- function Y() {
159
+ function q() {
160
160
  {
161
- if (ce--, ce === 0) {
161
+ if (fe--, fe === 0) {
162
162
  var t = {
163
163
  configurable: !0,
164
164
  enumerable: !0,
165
165
  writable: !0
166
166
  };
167
167
  Object.defineProperties(console, {
168
- log: le({}, t, {
169
- value: ue
168
+ log: ue({}, t, {
169
+ value: ne
170
170
  }),
171
- info: le({}, t, {
172
- value: ve
171
+ info: ue({}, t, {
172
+ value: he
173
173
  }),
174
- warn: le({}, t, {
175
- value: fe
174
+ warn: ue({}, t, {
175
+ value: ce
176
176
  }),
177
- error: le({}, t, {
178
- value: J
177
+ error: ue({}, t, {
178
+ value: K
179
179
  }),
180
- group: le({}, t, {
180
+ group: ue({}, t, {
181
181
  value: de
182
182
  }),
183
- groupCollapsed: le({}, t, {
183
+ groupCollapsed: ue({}, t, {
184
184
  value: pe
185
185
  }),
186
- groupEnd: le({}, t, {
186
+ groupEnd: ue({}, t, {
187
187
  value: w
188
188
  })
189
189
  });
190
190
  }
191
- ce < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
191
+ fe < 0 && z("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
192
  }
193
193
  }
194
- var U = V.ReactCurrentDispatcher, i;
195
- function m(t, j, N) {
194
+ var B = M.ReactCurrentDispatcher, i;
195
+ function m(t, x, A) {
196
196
  {
197
197
  if (i === void 0)
198
198
  try {
199
199
  throw Error();
200
- } catch (ee) {
201
- var $ = ee.stack.trim().match(/\n( *(at )?)/);
202
- i = $ && $[1] || "";
200
+ } catch (te) {
201
+ var U = te.stack.trim().match(/\n( *(at )?)/);
202
+ i = U && U[1] || "";
203
203
  }
204
204
  return `
205
205
  ` + i + t;
206
206
  }
207
207
  }
208
- var _ = !1, T;
208
+ var H = !1, S;
209
209
  {
210
210
  var D = typeof WeakMap == "function" ? WeakMap : Map;
211
- T = new D();
211
+ S = new D();
212
212
  }
213
- function W(t, j) {
214
- if (!t || _)
213
+ function Y(t, x) {
214
+ if (!t || H)
215
215
  return "";
216
216
  {
217
- var N = T.get(t);
218
- if (N !== void 0)
219
- return N;
217
+ var A = S.get(t);
218
+ if (A !== void 0)
219
+ return A;
220
220
  }
221
- var $;
222
- _ = !0;
223
- var ee = Error.prepareStackTrace;
221
+ var U;
222
+ H = !0;
223
+ var te = Error.prepareStackTrace;
224
224
  Error.prepareStackTrace = void 0;
225
- var ae;
226
- ae = U.current, U.current = null, B();
225
+ var ie;
226
+ ie = B.current, B.current = null, W();
227
227
  try {
228
- if (j) {
228
+ if (x) {
229
229
  var e = function() {
230
230
  throw Error();
231
231
  };
@@ -236,111 +236,111 @@ function Yt() {
236
236
  }), typeof Reflect == "object" && Reflect.construct) {
237
237
  try {
238
238
  Reflect.construct(e, []);
239
- } catch (ie) {
240
- $ = ie;
239
+ } catch (oe) {
240
+ U = oe;
241
241
  }
242
242
  Reflect.construct(t, [], e);
243
243
  } else {
244
244
  try {
245
245
  e.call();
246
- } catch (ie) {
247
- $ = ie;
246
+ } catch (oe) {
247
+ U = oe;
248
248
  }
249
249
  t.call(e.prototype);
250
250
  }
251
251
  } else {
252
252
  try {
253
253
  throw Error();
254
- } catch (ie) {
255
- $ = ie;
254
+ } catch (oe) {
255
+ U = oe;
256
256
  }
257
257
  t();
258
258
  }
259
- } catch (ie) {
260
- if (ie && $ && typeof ie.stack == "string") {
261
- for (var a = ie.stack.split(`
262
- `), g = $.stack.split(`
263
- `), x = a.length - 1, O = g.length - 1; x >= 1 && O >= 0 && a[x] !== g[O]; )
264
- O--;
265
- for (; x >= 1 && O >= 0; x--, O--)
266
- if (a[x] !== g[O]) {
267
- if (x !== 1 || O !== 1)
259
+ } catch (oe) {
260
+ if (oe && U && typeof oe.stack == "string") {
261
+ for (var a = oe.stack.split(`
262
+ `), g = U.stack.split(`
263
+ `), y = a.length - 1, T = g.length - 1; y >= 1 && T >= 0 && a[y] !== g[T]; )
264
+ T--;
265
+ for (; y >= 1 && T >= 0; y--, T--)
266
+ if (a[y] !== g[T]) {
267
+ if (y !== 1 || T !== 1)
268
268
  do
269
- if (x--, O--, O < 0 || a[x] !== g[O]) {
269
+ if (y--, T--, T < 0 || a[y] !== g[T]) {
270
270
  var X = `
271
- ` + a[x].replace(" at new ", " at ");
272
- return t.displayName && X.includes("<anonymous>") && (X = X.replace("<anonymous>", t.displayName)), typeof t == "function" && T.set(t, X), X;
271
+ ` + a[y].replace(" at new ", " at ");
272
+ return t.displayName && X.includes("<anonymous>") && (X = X.replace("<anonymous>", t.displayName)), typeof t == "function" && S.set(t, X), X;
273
273
  }
274
- while (x >= 1 && O >= 0);
274
+ while (y >= 1 && T >= 0);
275
275
  break;
276
276
  }
277
277
  }
278
278
  } finally {
279
- _ = !1, U.current = ae, Y(), Error.prepareStackTrace = ee;
279
+ H = !1, B.current = ie, q(), Error.prepareStackTrace = te;
280
280
  }
281
- var Z = t ? t.displayName || t.name : "", q = Z ? m(Z) : "";
282
- return typeof t == "function" && T.set(t, q), q;
281
+ var Z = t ? t.displayName || t.name : "", G = Z ? m(Z) : "";
282
+ return typeof t == "function" && S.set(t, G), G;
283
283
  }
284
- function se(t, j, N) {
285
- return W(t, !1);
284
+ function le(t, x, A) {
285
+ return Y(t, !1);
286
286
  }
287
- function ne(t) {
288
- var j = t.prototype;
289
- return !!(j && j.isReactComponent);
287
+ function ae(t) {
288
+ var x = t.prototype;
289
+ return !!(x && x.isReactComponent);
290
290
  }
291
- function me(t, j, N) {
291
+ function me(t, x, A) {
292
292
  if (t == null)
293
293
  return "";
294
294
  if (typeof t == "function")
295
- return W(t, ne(t));
295
+ return Y(t, ae(t));
296
296
  if (typeof t == "string")
297
297
  return m(t);
298
298
  switch (t) {
299
299
  case s:
300
300
  return m("Suspense");
301
- case p:
301
+ case h:
302
302
  return m("SuspenseList");
303
303
  }
304
304
  if (typeof t == "object")
305
305
  switch (t.$$typeof) {
306
306
  case f:
307
- return se(t.render);
308
- case C:
309
- return me(t.type, j, N);
310
- case b: {
311
- var $ = t, ee = $._payload, ae = $._init;
307
+ return le(t.render);
308
+ case N:
309
+ return me(t.type, x, A);
310
+ case j: {
311
+ var U = t, te = U._payload, ie = U._init;
312
312
  try {
313
- return me(ae(ee), j, N);
313
+ return me(ie(te), x, A);
314
314
  } catch {
315
315
  }
316
316
  }
317
317
  }
318
318
  return "";
319
319
  }
320
- var he = Object.prototype.hasOwnProperty, Re = {}, we = V.ReactDebugCurrentFrame;
320
+ var ve = Object.prototype.hasOwnProperty, Re = {}, we = M.ReactDebugCurrentFrame;
321
321
  function Se(t) {
322
322
  if (t) {
323
- var j = t._owner, N = me(t.type, t._source, j ? j.type : null);
324
- we.setExtraStackFrame(N);
323
+ var x = t._owner, A = me(t.type, t._source, x ? x.type : null);
324
+ we.setExtraStackFrame(A);
325
325
  } else
326
326
  we.setExtraStackFrame(null);
327
327
  }
328
- function ot(t, j, N, $, ee) {
328
+ function ot(t, x, A, U, te) {
329
329
  {
330
- var ae = Function.call.bind(he);
330
+ var ie = Function.call.bind(ve);
331
331
  for (var e in t)
332
- if (ae(t, e)) {
332
+ if (ie(t, e)) {
333
333
  var a = void 0;
334
334
  try {
335
335
  if (typeof t[e] != "function") {
336
- var g = Error(($ || "React class") + ": " + N + " type `" + e + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[e] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
336
+ var g = Error((U || "React class") + ": " + A + " type `" + e + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[e] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
337
  throw g.name = "Invariant Violation", g;
338
338
  }
339
- a = t[e](j, e, $, N, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
- } catch (x) {
341
- a = x;
339
+ a = t[e](x, e, U, A, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
+ } catch (y) {
341
+ a = y;
342
342
  }
343
- a && !(a instanceof Error) && (Se(ee), E("%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).", $ || "React class", N, e, typeof a), Se(null)), a instanceof Error && !(a.message in Re) && (Re[a.message] = !0, Se(ee), E("Failed %s type: %s", N, a.message), Se(null));
343
+ a && !(a instanceof Error) && (Se(te), z("%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).", U || "React class", A, e, typeof a), Se(null)), a instanceof Error && !(a.message in Re) && (Re[a.message] = !0, Se(te), z("Failed %s type: %s", A, a.message), Se(null));
344
344
  }
345
345
  }
346
346
  }
@@ -350,8 +350,8 @@ function Yt() {
350
350
  }
351
351
  function lt(t) {
352
352
  {
353
- var j = typeof Symbol == "function" && Symbol.toStringTag, N = j && t[Symbol.toStringTag] || t.constructor.name || "Object";
354
- return N;
353
+ var x = typeof Symbol == "function" && Symbol.toStringTag, A = x && t[Symbol.toStringTag] || t.constructor.name || "Object";
354
+ return A;
355
355
  }
356
356
  }
357
357
  function qe(t) {
@@ -364,72 +364,72 @@ function Yt() {
364
364
  function Ge(t) {
365
365
  return "" + t;
366
366
  }
367
- function Ne(t) {
367
+ function ke(t) {
368
368
  if (qe(t))
369
- return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", lt(t)), Ge(t);
369
+ return z("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", lt(t)), Ge(t);
370
370
  }
371
- var Te = V.ReactCurrentOwner, Je = {
371
+ var Te = M.ReactCurrentOwner, Je = {
372
372
  key: !0,
373
373
  ref: !0,
374
374
  __self: !0,
375
375
  __source: !0
376
- }, Ve, ze, ke;
377
- ke = {};
376
+ }, Ve, ze, Ne;
377
+ Ne = {};
378
378
  function ct(t) {
379
- if (he.call(t, "ref")) {
380
- var j = Object.getOwnPropertyDescriptor(t, "ref").get;
381
- if (j && j.isReactWarning)
379
+ if (ve.call(t, "ref")) {
380
+ var x = Object.getOwnPropertyDescriptor(t, "ref").get;
381
+ if (x && x.isReactWarning)
382
382
  return !1;
383
383
  }
384
384
  return t.ref !== void 0;
385
385
  }
386
386
  function ut(t) {
387
- if (he.call(t, "key")) {
388
- var j = Object.getOwnPropertyDescriptor(t, "key").get;
389
- if (j && j.isReactWarning)
387
+ if (ve.call(t, "key")) {
388
+ var x = Object.getOwnPropertyDescriptor(t, "key").get;
389
+ if (x && x.isReactWarning)
390
390
  return !1;
391
391
  }
392
392
  return t.key !== void 0;
393
393
  }
394
- function ft(t, j) {
395
- if (typeof t.ref == "string" && Te.current && j && Te.current.stateNode !== j) {
396
- var N = re(Te.current.type);
397
- ke[N] || (E('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', re(Te.current.type), t.ref), ke[N] = !0);
394
+ function ft(t, x) {
395
+ if (typeof t.ref == "string" && Te.current && x && Te.current.stateNode !== x) {
396
+ var A = re(Te.current.type);
397
+ Ne[A] || (z('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', re(Te.current.type), t.ref), Ne[A] = !0);
398
398
  }
399
399
  }
400
- function Ie(t, j) {
400
+ function Ie(t, x) {
401
401
  {
402
- var N = function() {
403
- Ve || (Ve = !0, E("%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)", j));
402
+ var A = function() {
403
+ Ve || (Ve = !0, z("%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)", x));
404
404
  };
405
- N.isReactWarning = !0, Object.defineProperty(t, "key", {
406
- get: N,
405
+ A.isReactWarning = !0, Object.defineProperty(t, "key", {
406
+ get: A,
407
407
  configurable: !0
408
408
  });
409
409
  }
410
410
  }
411
- function dt(t, j) {
411
+ function dt(t, x) {
412
412
  {
413
- var N = function() {
414
- ze || (ze = !0, E("%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)", j));
413
+ var A = function() {
414
+ ze || (ze = !0, z("%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)", x));
415
415
  };
416
- N.isReactWarning = !0, Object.defineProperty(t, "ref", {
417
- get: N,
416
+ A.isReactWarning = !0, Object.defineProperty(t, "ref", {
417
+ get: A,
418
418
  configurable: !0
419
419
  });
420
420
  }
421
421
  }
422
- var pt = function(t, j, N, $, ee, ae, e) {
422
+ var pt = function(t, x, A, U, te, ie, e) {
423
423
  var a = {
424
424
  // This tag allows us to uniquely identify this as a React Element
425
- $$typeof: h,
425
+ $$typeof: p,
426
426
  // Built-in properties that belong on the element
427
427
  type: t,
428
- key: j,
429
- ref: N,
428
+ key: x,
429
+ ref: A,
430
430
  props: e,
431
431
  // Record the component responsible for creating this element.
432
- _owner: ae
432
+ _owner: ie
433
433
  };
434
434
  return a._store = {}, Object.defineProperty(a._store, "validated", {
435
435
  configurable: !1,
@@ -440,44 +440,44 @@ function Yt() {
440
440
  configurable: !1,
441
441
  enumerable: !1,
442
442
  writable: !1,
443
- value: $
443
+ value: U
444
444
  }), Object.defineProperty(a, "_source", {
445
445
  configurable: !1,
446
446
  enumerable: !1,
447
447
  writable: !1,
448
- value: ee
448
+ value: te
449
449
  }), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
450
450
  };
451
- function ht(t, j, N, $, ee) {
451
+ function ht(t, x, A, U, te) {
452
452
  {
453
- var ae, e = {}, a = null, g = null;
454
- N !== void 0 && (Ne(N), a = "" + N), ut(j) && (Ne(j.key), a = "" + j.key), ct(j) && (g = j.ref, ft(j, ee));
455
- for (ae in j)
456
- he.call(j, ae) && !Je.hasOwnProperty(ae) && (e[ae] = j[ae]);
453
+ var ie, e = {}, a = null, g = null;
454
+ A !== void 0 && (ke(A), a = "" + A), ut(x) && (ke(x.key), a = "" + x.key), ct(x) && (g = x.ref, ft(x, te));
455
+ for (ie in x)
456
+ ve.call(x, ie) && !Je.hasOwnProperty(ie) && (e[ie] = x[ie]);
457
457
  if (t && t.defaultProps) {
458
- var x = t.defaultProps;
459
- for (ae in x)
460
- e[ae] === void 0 && (e[ae] = x[ae]);
458
+ var y = t.defaultProps;
459
+ for (ie in y)
460
+ e[ie] === void 0 && (e[ie] = y[ie]);
461
461
  }
462
462
  if (a || g) {
463
- var O = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
464
- a && Ie(e, O), g && dt(e, O);
463
+ var T = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
464
+ a && Ie(e, T), g && dt(e, T);
465
465
  }
466
- return pt(t, a, g, ee, $, Te.current, e);
466
+ return pt(t, a, g, te, U, Te.current, e);
467
467
  }
468
468
  }
469
- var Le = V.ReactCurrentOwner, Xe = V.ReactDebugCurrentFrame;
469
+ var Le = M.ReactCurrentOwner, Xe = M.ReactDebugCurrentFrame;
470
470
  function Pe(t) {
471
471
  if (t) {
472
- var j = t._owner, N = me(t.type, t._source, j ? j.type : null);
473
- Xe.setExtraStackFrame(N);
472
+ var x = t._owner, A = me(t.type, t._source, x ? x.type : null);
473
+ Xe.setExtraStackFrame(A);
474
474
  } else
475
475
  Xe.setExtraStackFrame(null);
476
476
  }
477
477
  var $e;
478
478
  $e = !1;
479
479
  function We(t) {
480
- return typeof t == "object" && t !== null && t.$$typeof === h;
480
+ return typeof t == "object" && t !== null && t.$$typeof === p;
481
481
  }
482
482
  function He() {
483
483
  {
@@ -497,135 +497,135 @@ Check the render method of \`` + t + "`.";
497
497
  var De = {};
498
498
  function Ze(t) {
499
499
  {
500
- var j = He();
501
- if (!j) {
502
- var N = typeof t == "string" ? t : t.displayName || t.name;
503
- N && (j = `
500
+ var x = He();
501
+ if (!x) {
502
+ var A = typeof t == "string" ? t : t.displayName || t.name;
503
+ A && (x = `
504
504
 
505
- Check the top-level render call using <` + N + ">.");
505
+ Check the top-level render call using <` + A + ">.");
506
506
  }
507
- return j;
507
+ return x;
508
508
  }
509
509
  }
510
- function Ee(t, j) {
510
+ function Ee(t, x) {
511
511
  {
512
512
  if (!t._store || t._store.validated || t.key != null)
513
513
  return;
514
514
  t._store.validated = !0;
515
- var N = Ze(j);
516
- if (De[N])
515
+ var A = Ze(x);
516
+ if (De[A])
517
517
  return;
518
- De[N] = !0;
519
- var $ = "";
520
- t && t._owner && t._owner !== Le.current && ($ = " It was passed a child from " + re(t._owner.type) + "."), Pe(t), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', N, $), Pe(null);
518
+ De[A] = !0;
519
+ var U = "";
520
+ t && t._owner && t._owner !== Le.current && (U = " It was passed a child from " + re(t._owner.type) + "."), Pe(t), z('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', A, U), Pe(null);
521
521
  }
522
522
  }
523
- function Ue(t, j) {
523
+ function Ue(t, x) {
524
524
  {
525
525
  if (typeof t != "object")
526
526
  return;
527
527
  if (Ae(t))
528
- for (var N = 0; N < t.length; N++) {
529
- var $ = t[N];
530
- We($) && Ee($, j);
528
+ for (var A = 0; A < t.length; A++) {
529
+ var U = t[A];
530
+ We(U) && Ee(U, x);
531
531
  }
532
532
  else if (We(t))
533
533
  t._store && (t._store.validated = !0);
534
534
  else if (t) {
535
- var ee = I(t);
536
- if (typeof ee == "function" && ee !== t.entries)
537
- for (var ae = ee.call(t), e; !(e = ae.next()).done; )
538
- We(e.value) && Ee(e.value, j);
535
+ var te = R(t);
536
+ if (typeof te == "function" && te !== t.entries)
537
+ for (var ie = te.call(t), e; !(e = ie.next()).done; )
538
+ We(e.value) && Ee(e.value, x);
539
539
  }
540
540
  }
541
541
  }
542
542
  function vt(t) {
543
543
  {
544
- var j = t.type;
545
- if (j == null || typeof j == "string")
544
+ var x = t.type;
545
+ if (x == null || typeof x == "string")
546
546
  return;
547
- var N;
548
- if (typeof j == "function")
549
- N = j.propTypes;
550
- else if (typeof j == "object" && (j.$$typeof === f || // Note: Memo only checks outer props here.
547
+ var A;
548
+ if (typeof x == "function")
549
+ A = x.propTypes;
550
+ else if (typeof x == "object" && (x.$$typeof === f || // Note: Memo only checks outer props here.
551
551
  // Inner props are checked in the reconciler.
552
- j.$$typeof === C))
553
- N = j.propTypes;
552
+ x.$$typeof === N))
553
+ A = x.propTypes;
554
554
  else
555
555
  return;
556
- if (N) {
557
- var $ = re(j);
558
- ot(N, t.props, "prop", $, t);
559
- } else if (j.PropTypes !== void 0 && !$e) {
556
+ if (A) {
557
+ var U = re(x);
558
+ ot(A, t.props, "prop", U, t);
559
+ } else if (x.PropTypes !== void 0 && !$e) {
560
560
  $e = !0;
561
- var ee = re(j);
562
- E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ee || "Unknown");
561
+ var te = re(x);
562
+ z("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", te || "Unknown");
563
563
  }
564
- typeof j.getDefaultProps == "function" && !j.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
564
+ typeof x.getDefaultProps == "function" && !x.getDefaultProps.isReactClassApproved && z("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
565
565
  }
566
566
  }
567
567
  function Qe(t) {
568
568
  {
569
- for (var j = Object.keys(t.props), N = 0; N < j.length; N++) {
570
- var $ = j[N];
571
- if ($ !== "children" && $ !== "key") {
572
- Pe(t), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", $), Pe(null);
569
+ for (var x = Object.keys(t.props), A = 0; A < x.length; A++) {
570
+ var U = x[A];
571
+ if (U !== "children" && U !== "key") {
572
+ Pe(t), z("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", U), Pe(null);
573
573
  break;
574
574
  }
575
575
  }
576
- t.ref !== null && (Pe(t), E("Invalid attribute `ref` supplied to `React.Fragment`."), Pe(null));
576
+ t.ref !== null && (Pe(t), z("Invalid attribute `ref` supplied to `React.Fragment`."), Pe(null));
577
577
  }
578
578
  }
579
579
  var et = {};
580
- function Be(t, j, N, $, ee, ae) {
580
+ function Be(t, x, A, U, te, ie) {
581
581
  {
582
- var e = K(t);
582
+ var e = $(t);
583
583
  if (!e) {
584
584
  var a = "";
585
585
  (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (a += " 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 g = je();
587
587
  g ? a += g : a += He();
588
- var x;
589
- t === null ? x = "null" : Ae(t) ? x = "array" : t !== void 0 && t.$$typeof === h ? (x = "<" + (re(t.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : x = typeof t, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", x, a);
588
+ var y;
589
+ t === null ? y = "null" : Ae(t) ? y = "array" : t !== void 0 && t.$$typeof === p ? (y = "<" + (re(t.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : y = typeof t, z("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", y, a);
590
590
  }
591
- var O = ht(t, j, N, ee, ae);
592
- if (O == null)
593
- return O;
591
+ var T = ht(t, x, A, te, ie);
592
+ if (T == null)
593
+ return T;
594
594
  if (e) {
595
- var X = j.children;
595
+ var X = x.children;
596
596
  if (X !== void 0)
597
- if ($)
597
+ if (U)
598
598
  if (Ae(X)) {
599
599
  for (var Z = 0; Z < X.length; Z++)
600
600
  Ue(X[Z], t);
601
601
  Object.freeze && Object.freeze(X);
602
602
  } else
603
- E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
603
+ z("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
605
  Ue(X, t);
606
606
  }
607
- if (he.call(j, "key")) {
608
- var q = re(t), ie = Object.keys(j).filter(function(ge) {
607
+ if (ve.call(x, "key")) {
608
+ var G = re(t), oe = Object.keys(x).filter(function(ge) {
609
609
  return ge !== "key";
610
- }), ye = ie.length > 0 ? "{key: someKey, " + ie.join(": ..., ") + ": ...}" : "{key: someKey}";
611
- if (!et[q + ye]) {
612
- var be = ie.length > 0 ? "{" + ie.join(": ..., ") + ": ...}" : "{}";
613
- E(`A props object containing a "key" prop is being spread into JSX:
610
+ }), ye = oe.length > 0 ? "{key: someKey, " + oe.join(": ..., ") + ": ...}" : "{key: someKey}";
611
+ if (!et[G + ye]) {
612
+ var be = oe.length > 0 ? "{" + oe.join(": ..., ") + ": ...}" : "{}";
613
+ z(`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} />`, ye, q, be, q), et[q + ye] = !0;
618
+ <%s key={someKey} {...props} />`, ye, G, be, G), et[G + ye] = !0;
619
619
  }
620
620
  }
621
- return t === c ? Qe(O) : vt(O), O;
621
+ return t === c ? Qe(T) : vt(T), T;
622
622
  }
623
623
  }
624
- function tt(t, j, N) {
625
- return Be(t, j, N, !0);
624
+ function tt(t, x, A) {
625
+ return Be(t, x, A, !0);
626
626
  }
627
- function nt(t, j, N) {
628
- return Be(t, j, N, !1);
627
+ function nt(t, x, A) {
628
+ return Be(t, x, A, !1);
629
629
  }
630
630
  var mt = nt, rt = tt;
631
631
  Ke.Fragment = c, Ke.jsx = mt, Ke.jsxs = rt;
@@ -639,50 +639,50 @@ var r = yt.exports, _t = {
639
639
  style: void 0,
640
640
  attr: void 0
641
641
  }, Et = Oe.createContext && /* @__PURE__ */ Oe.createContext(_t), Kt = ["attr", "size", "title"];
642
- function qt(n, h) {
642
+ function qt(n, p) {
643
643
  if (n == null) return {};
644
- var o = Gt(n, h), c, d;
644
+ var o = Gt(n, p), c, d;
645
645
  if (Object.getOwnPropertySymbols) {
646
646
  var u = Object.getOwnPropertySymbols(n);
647
647
  for (d = 0; d < u.length; d++)
648
- c = u[d], !(h.indexOf(c) >= 0) && Object.prototype.propertyIsEnumerable.call(n, c) && (o[c] = n[c]);
648
+ c = u[d], !(p.indexOf(c) >= 0) && Object.prototype.propertyIsEnumerable.call(n, c) && (o[c] = n[c]);
649
649
  }
650
650
  return o;
651
651
  }
652
- function Gt(n, h) {
652
+ function Gt(n, p) {
653
653
  if (n == null) return {};
654
654
  var o = {};
655
655
  for (var c in n)
656
656
  if (Object.prototype.hasOwnProperty.call(n, c)) {
657
- if (h.indexOf(c) >= 0) continue;
657
+ if (p.indexOf(c) >= 0) continue;
658
658
  o[c] = n[c];
659
659
  }
660
660
  return o;
661
661
  }
662
662
  function at() {
663
663
  return at = Object.assign ? Object.assign.bind() : function(n) {
664
- for (var h = 1; h < arguments.length; h++) {
665
- var o = arguments[h];
664
+ for (var p = 1; p < arguments.length; p++) {
665
+ var o = arguments[p];
666
666
  for (var c in o)
667
667
  Object.prototype.hasOwnProperty.call(o, c) && (n[c] = o[c]);
668
668
  }
669
669
  return n;
670
670
  }, at.apply(this, arguments);
671
671
  }
672
- function Tt(n, h) {
672
+ function Tt(n, p) {
673
673
  var o = Object.keys(n);
674
674
  if (Object.getOwnPropertySymbols) {
675
675
  var c = Object.getOwnPropertySymbols(n);
676
- h && (c = c.filter(function(d) {
676
+ p && (c = c.filter(function(d) {
677
677
  return Object.getOwnPropertyDescriptor(n, d).enumerable;
678
678
  })), o.push.apply(o, c);
679
679
  }
680
680
  return o;
681
681
  }
682
682
  function it(n) {
683
- for (var h = 1; h < arguments.length; h++) {
684
- var o = arguments[h] != null ? arguments[h] : {};
685
- h % 2 ? Tt(Object(o), !0).forEach(function(c) {
683
+ for (var p = 1; p < arguments.length; p++) {
684
+ var o = arguments[p] != null ? arguments[p] : {};
685
+ p % 2 ? Tt(Object(o), !0).forEach(function(c) {
686
686
  Jt(n, c, o[c]);
687
687
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(o)) : Tt(Object(o)).forEach(function(c) {
688
688
  Object.defineProperty(n, c, Object.getOwnPropertyDescriptor(o, c));
@@ -690,35 +690,35 @@ function it(n) {
690
690
  }
691
691
  return n;
692
692
  }
693
- function Jt(n, h, o) {
694
- return h = Xt(h), h in n ? Object.defineProperty(n, h, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : n[h] = o, n;
693
+ function Jt(n, p, o) {
694
+ return p = Xt(p), p in n ? Object.defineProperty(n, p, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : n[p] = o, n;
695
695
  }
696
696
  function Xt(n) {
697
- var h = Zt(n, "string");
698
- return typeof h == "symbol" ? h : h + "";
697
+ var p = Zt(n, "string");
698
+ return typeof p == "symbol" ? p : p + "";
699
699
  }
700
- function Zt(n, h) {
700
+ function Zt(n, p) {
701
701
  if (typeof n != "object" || !n) return n;
702
702
  var o = n[Symbol.toPrimitive];
703
703
  if (o !== void 0) {
704
- var c = o.call(n, h || "default");
704
+ var c = o.call(n, p || "default");
705
705
  if (typeof c != "object") return c;
706
706
  throw new TypeError("@@toPrimitive must return a primitive value.");
707
707
  }
708
- return (h === "string" ? String : Number)(n);
708
+ return (p === "string" ? String : Number)(n);
709
709
  }
710
710
  function At(n) {
711
- return n && n.map((h, o) => /* @__PURE__ */ Oe.createElement(h.tag, it({
711
+ return n && n.map((p, o) => /* @__PURE__ */ Oe.createElement(p.tag, it({
712
712
  key: o
713
- }, h.attr), At(h.child)));
713
+ }, p.attr), At(p.child)));
714
714
  }
715
- function oe(n) {
716
- return (h) => /* @__PURE__ */ Oe.createElement(Qt, at({
715
+ function se(n) {
716
+ return (p) => /* @__PURE__ */ Oe.createElement(Qt, at({
717
717
  attr: it({}, n.attr)
718
- }, h), At(n.child));
718
+ }, p), At(n.child));
719
719
  }
720
720
  function Qt(n) {
721
- var h = (o) => {
721
+ var p = (o) => {
722
722
  var {
723
723
  attr: c,
724
724
  size: d,
@@ -738,76 +738,76 @@ function Qt(n) {
738
738
  xmlns: "http://www.w3.org/2000/svg"
739
739
  }), u && /* @__PURE__ */ Oe.createElement("title", null, u), n.children);
740
740
  };
741
- return Et !== void 0 ? /* @__PURE__ */ Oe.createElement(Et.Consumer, null, (o) => h(o)) : h(_t);
741
+ return Et !== void 0 ? /* @__PURE__ */ Oe.createElement(Et.Consumer, null, (o) => p(o)) : p(_t);
742
742
  }
743
743
  function Vt(n) {
744
- return oe({ 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: [] }] })(n);
744
+ return se({ 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: [] }] })(n);
745
745
  }
746
746
  function en(n) {
747
- return oe({ 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: [] }] })(n);
747
+ return se({ 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: [] }] })(n);
748
748
  }
749
749
  function zt(n) {
750
- return oe({ 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: [] }] })(n);
750
+ return se({ 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: [] }] })(n);
751
751
  }
752
752
  function tn(n) {
753
- return oe({ 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: [] }] })(n);
753
+ return se({ 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: [] }] })(n);
754
754
  }
755
755
  function nn(n) {
756
- return oe({ 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: [] }] })(n);
756
+ return se({ 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: [] }] })(n);
757
757
  }
758
758
  function rn(n) {
759
- return oe({ 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: [] }] })(n);
759
+ return se({ 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: [] }] })(n);
760
760
  }
761
761
  function an(n) {
762
- return oe({ 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: [] }] })(n);
762
+ return se({ 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: [] }] })(n);
763
763
  }
764
764
  function on(n) {
765
- return oe({ 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: [] }] })(n);
765
+ return se({ 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: [] }] })(n);
766
766
  }
767
767
  function Ht(n) {
768
- return oe({ 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: [] }] })(n);
768
+ return se({ 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: [] }] })(n);
769
769
  }
770
770
  function sn(n) {
771
- return oe({ 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: [] }] })(n);
771
+ return se({ 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: [] }] })(n);
772
772
  }
773
773
  function ln(n) {
774
- return oe({ 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: [] }] })(n);
774
+ return se({ 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: [] }] })(n);
775
775
  }
776
776
  function Dt(n) {
777
- return oe({ 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: [] }] })(n);
777
+ return se({ 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: [] }] })(n);
778
778
  }
779
779
  function gt(n) {
780
- return oe({ 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: [] }] })(n);
780
+ return se({ 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: [] }] })(n);
781
781
  }
782
782
  function cn(n) {
783
- return oe({ 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: [] }] })(n);
783
+ return se({ 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: [] }] })(n);
784
784
  }
785
785
  function un(n) {
786
- return oe({ 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: [] }] })(n);
786
+ return se({ 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: [] }] })(n);
787
787
  }
788
788
  function Pt(n) {
789
- return oe({ 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: [] }] })(n);
789
+ return se({ 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: [] }] })(n);
790
790
  }
791
791
  function bt(n) {
792
- return oe({ 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: [] }] })(n);
792
+ return se({ 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: [] }] })(n);
793
793
  }
794
794
  function fn(n) {
795
- return oe({ 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: [] }] })(n);
795
+ return se({ 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: [] }] })(n);
796
796
  }
797
797
  function xt(n) {
798
- return oe({ 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: [] }] })(n);
798
+ return se({ 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: [] }] })(n);
799
799
  }
800
- const jt = (n, h) => {
801
- const o = h.filter(
800
+ const jt = (n, p) => {
801
+ const o = p.filter(
802
802
  (c) => c.path === n.path + "/" + n.name
803
803
  );
804
804
  return {
805
805
  ...n,
806
- children: o.map((c) => jt(c, h))
806
+ children: o.map((c) => jt(c, p))
807
807
  };
808
808
  }, dn = ({
809
809
  allowCreateFolder: n = !0,
810
- allowUploadFile: h = !0,
810
+ allowUploadFile: p = !0,
811
811
  handleRefresh: o,
812
812
  isItemSelection: c,
813
813
  setIsItemSelection: d,
@@ -816,22 +816,22 @@ const jt = (n, h) => {
816
816
  setSelectedFile: v,
817
817
  files: f,
818
818
  clipBoard: s,
819
- setClipBoard: p,
820
- handlePaste: C,
821
- triggerAction: b
819
+ setClipBoard: h,
820
+ handlePaste: N,
821
+ triggerAction: j
822
822
  }) => {
823
- const [F, k] = Q([
823
+ const [_, V] = ee([
824
824
  {
825
825
  icon: /* @__PURE__ */ r.jsx(en, { size: 17, strokeWidth: 0.3 }),
826
826
  text: "New Folder",
827
827
  permission: n,
828
- onClick: () => b.show("createFolder")
828
+ onClick: () => j.show("createFolder")
829
829
  },
830
830
  {
831
831
  icon: /* @__PURE__ */ r.jsx(sn, { size: 18 }),
832
832
  text: "Upload File",
833
- permission: h,
834
- onClick: () => b.show("uploadFile")
833
+ permission: p,
834
+ onClick: () => j.show("uploadFile")
835
835
  },
836
836
  {
837
837
  icon: /* @__PURE__ */ r.jsx(xt, { size: 18 }),
@@ -840,7 +840,7 @@ const jt = (n, h) => {
840
840
  onClick: () => {
841
841
  }
842
842
  }
843
- ]), R = [
843
+ ]), C = [
844
844
  // {
845
845
  // icon: <BsGridFill size={16} />,
846
846
  // title: "View",
@@ -851,37 +851,39 @@ const jt = (n, h) => {
851
851
  title: "Refresh",
852
852
  onClick: o
853
853
  }
854
- ], I = (E, z, P) => {
855
- const y = P.files[0], S = E.filter((M) => {
856
- const L = M.path === y.path && M.name === y.name, te = M.path.startsWith(
857
- y.path + "/" + y.name
854
+ ], R = (z, F, P) => {
855
+ const b = P.files[0];
856
+ z.filter((L) => {
857
+ const Q = L.path === b.path && L.name === b.name, $ = L.path.startsWith(
858
+ b.path + "/" + b.name
858
859
  );
859
- return L || te;
860
+ return Q || $;
860
861
  });
861
- C(E, z, P, S), P.isMoving && p(null), d(!1), v(null);
862
+ const k = z.find((L) => L.path === F), E = P.isMoving ? "move" : "copy";
863
+ N(b, k, E), P.isMoving && h(null), d(!1), v(null);
862
864
  };
863
865
  xe(() => {
864
- k((E) => E.map((z) => z.text === "Paste" ? {
865
- ...z,
866
+ V((z) => z.map((F) => F.text === "Paste" ? {
867
+ ...F,
866
868
  permission: !!s,
867
- onClick: () => I(f, u, s)
868
- } : z));
869
+ onClick: () => R(f, u, s)
870
+ } : F));
869
871
  }, [s, u, f]);
870
- const V = (E) => {
871
- p({
872
+ const M = (z) => {
873
+ h({
872
874
  files: [{ ...jt(l, f) }],
873
- isMoving: E
875
+ isMoving: z
874
876
  });
875
877
  };
876
878
  if (c) {
877
- const E = l.path + "/" + l.name;
879
+ const z = l.path;
878
880
  return /* @__PURE__ */ r.jsx("div", { className: "toolbar file-selected", children: /* @__PURE__ */ r.jsxs("div", { className: "file-action-container", children: [
879
881
  /* @__PURE__ */ r.jsxs("div", { children: [
880
- /* @__PURE__ */ r.jsxs("button", { className: "item-action file-action", onClick: () => V(!0), children: [
882
+ /* @__PURE__ */ r.jsxs("button", { className: "item-action file-action", onClick: () => M(!0), children: [
881
883
  /* @__PURE__ */ r.jsx(zt, { size: 18 }),
882
884
  /* @__PURE__ */ r.jsx("span", { children: "Cut" })
883
885
  ] }),
884
- /* @__PURE__ */ r.jsxs("button", { className: "item-action file-action", onClick: () => V(!1), children: [
886
+ /* @__PURE__ */ r.jsxs("button", { className: "item-action file-action", onClick: () => M(!1), children: [
885
887
  /* @__PURE__ */ r.jsx(Vt, { strokeWidth: 0.1, size: 17 }),
886
888
  /* @__PURE__ */ r.jsx("span", { children: "Copy" })
887
889
  ] }),
@@ -889,7 +891,7 @@ const jt = (n, h) => {
889
891
  "button",
890
892
  {
891
893
  className: "item-action file-action",
892
- onClick: () => I(f, E, s),
894
+ onClick: () => R(f, z, s),
893
895
  disabled: !s,
894
896
  children: [
895
897
  /* @__PURE__ */ r.jsx(xt, { size: 18 }),
@@ -901,7 +903,7 @@ const jt = (n, h) => {
901
903
  "button",
902
904
  {
903
905
  className: "item-action file-action",
904
- onClick: () => b.show("rename"),
906
+ onClick: () => j.show("rename"),
905
907
  children: [
906
908
  /* @__PURE__ */ r.jsx(Dt, { size: 19 }),
907
909
  /* @__PURE__ */ r.jsx("span", { children: "Rename" })
@@ -912,7 +914,7 @@ const jt = (n, h) => {
912
914
  "button",
913
915
  {
914
916
  className: "item-action file-action",
915
- onClick: () => b.show("delete"),
917
+ onClick: () => j.show("delete"),
916
918
  children: [
917
919
  /* @__PURE__ */ r.jsx(Ht, { size: 19 }),
918
920
  /* @__PURE__ */ r.jsx("span", { children: "Delete" })
@@ -927,30 +929,30 @@ const jt = (n, h) => {
927
929
  ] }) });
928
930
  }
929
931
  return /* @__PURE__ */ r.jsx("div", { className: "toolbar", children: /* @__PURE__ */ r.jsxs("div", { className: "fm-toolbar", children: [
930
- /* @__PURE__ */ r.jsx("div", { children: F.filter((E) => E.permission).map((E, z) => /* @__PURE__ */ r.jsxs("button", { className: "item-action", onClick: E.onClick, children: [
931
- E.icon,
932
- /* @__PURE__ */ r.jsx("span", { children: E.text })
933
- ] }, z)) }),
934
- /* @__PURE__ */ r.jsx("div", { children: R.map((E, z) => /* @__PURE__ */ r.jsxs("div", { className: "toolbar-left-items", children: [
932
+ /* @__PURE__ */ r.jsx("div", { children: _.filter((z) => z.permission).map((z, F) => /* @__PURE__ */ r.jsxs("button", { className: "item-action", onClick: z.onClick, children: [
933
+ z.icon,
934
+ /* @__PURE__ */ r.jsx("span", { children: z.text })
935
+ ] }, F)) }),
936
+ /* @__PURE__ */ r.jsx("div", { children: C.map((z, F) => /* @__PURE__ */ r.jsxs("div", { className: "toolbar-left-items", children: [
935
937
  /* @__PURE__ */ r.jsx(
936
938
  "div",
937
939
  {
938
940
  className: "item-action icon-only",
939
- title: E.title,
941
+ title: z.title,
940
942
  role: "button",
941
- onClick: E.onClick,
942
- children: E.icon
943
+ onClick: z.onClick,
944
+ children: z.icon
943
945
  }
944
946
  ),
945
- z !== R.length - 1 && /* @__PURE__ */ r.jsx("div", { className: "item-separator" })
946
- ] }, z)) })
947
+ F !== C.length - 1 && /* @__PURE__ */ r.jsx("div", { className: "item-separator" })
948
+ ] }, F)) })
947
949
  ] }) });
948
950
  };
949
951
  var Ft = { exports: {} };
950
- (function(n, h) {
952
+ (function(n, p) {
951
953
  (function(o, c) {
952
954
  n.exports = c(Oe);
953
- })(kt, function(o) {
955
+ })(Nt, function(o) {
954
956
  return function(c) {
955
957
  var d = {};
956
958
  function u(l) {
@@ -965,8 +967,8 @@ var Ft = { exports: {} };
965
967
  }, u.t = function(l, v) {
966
968
  if (1 & v && (l = u(l)), 8 & v || 4 & v && typeof l == "object" && l && l.__esModule) return l;
967
969
  var f = /* @__PURE__ */ Object.create(null);
968
- if (u.r(f), Object.defineProperty(f, "default", { enumerable: !0, value: l }), 2 & v && typeof l != "string") for (var s in l) u.d(f, s, (function(p) {
969
- return l[p];
970
+ if (u.r(f), Object.defineProperty(f, "default", { enumerable: !0, value: l }), 2 & v && typeof l != "string") for (var s in l) u.d(f, s, (function(h) {
971
+ return l[h];
970
972
  }).bind(null, s));
971
973
  return f;
972
974
  }, u.n = function(l) {
@@ -990,55 +992,55 @@ var Ft = { exports: {} };
990
992
  function f() {
991
993
  }
992
994
  f.resetWarningCache = v, c.exports = function() {
993
- function s(b, F, k, R, I, V) {
994
- if (V !== l) {
995
- var E = new Error("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");
996
- throw E.name = "Invariant Violation", E;
995
+ function s(j, _, V, C, R, M) {
996
+ if (M !== l) {
997
+ var z = new Error("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");
998
+ throw z.name = "Invariant Violation", z;
997
999
  }
998
1000
  }
999
- function p() {
1001
+ function h() {
1000
1002
  return s;
1001
1003
  }
1002
1004
  s.isRequired = s;
1003
- var C = { array: s, bigint: s, bool: s, func: s, number: s, object: s, string: s, symbol: s, any: s, arrayOf: p, element: s, elementType: s, instanceOf: p, node: s, objectOf: p, oneOf: p, oneOfType: p, shape: p, exact: p, checkPropTypes: f, resetWarningCache: v };
1004
- return C.PropTypes = C, C;
1005
+ var N = { array: s, bigint: s, bool: s, func: s, number: s, object: s, string: s, symbol: s, any: s, arrayOf: h, element: s, elementType: s, instanceOf: h, node: s, objectOf: h, oneOf: h, oneOfType: h, shape: h, exact: h, checkPropTypes: f, resetWarningCache: v };
1006
+ return N.PropTypes = N, N;
1005
1007
  };
1006
1008
  }, function(c, d, u) {
1007
1009
  c.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
1008
1010
  }, function(c, d, u) {
1009
1011
  u.r(d);
1010
- var l = u(1), v = u.n(l), f = u(0), s = u.n(f), p = function(y) {
1011
- return y !== 0;
1012
+ var l = u(1), v = u.n(l), f = u(0), s = u.n(f), h = function(b) {
1013
+ return b !== 0;
1012
1014
  };
1013
- function C() {
1014
- return (C = Object.assign ? Object.assign.bind() : function(y) {
1015
- for (var S = 1; S < arguments.length; S++) {
1016
- var M = arguments[S];
1017
- for (var L in M) Object.prototype.hasOwnProperty.call(M, L) && (y[L] = M[L]);
1015
+ function N() {
1016
+ return (N = Object.assign ? Object.assign.bind() : function(b) {
1017
+ for (var k = 1; k < arguments.length; k++) {
1018
+ var E = arguments[k];
1019
+ for (var L in E) Object.prototype.hasOwnProperty.call(E, L) && (b[L] = E[L]);
1018
1020
  }
1019
- return y;
1021
+ return b;
1020
1022
  }).apply(this, arguments);
1021
1023
  }
1022
- function b(y) {
1023
- return (b = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(S) {
1024
- return typeof S;
1025
- } : function(S) {
1026
- return S && typeof Symbol == "function" && S.constructor === Symbol && S !== Symbol.prototype ? "symbol" : typeof S;
1027
- })(y);
1024
+ function j(b) {
1025
+ return (j = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(k) {
1026
+ return typeof k;
1027
+ } : function(k) {
1028
+ return k && typeof Symbol == "function" && k.constructor === Symbol && k !== Symbol.prototype ? "symbol" : typeof k;
1029
+ })(b);
1028
1030
  }
1029
- function F(y, S) {
1030
- for (var M = 0; M < S.length; M++) {
1031
- var L = S[M];
1032
- L.enumerable = L.enumerable || !1, L.configurable = !0, "value" in L && (L.writable = !0), Object.defineProperty(y, L.key, L);
1031
+ function _(b, k) {
1032
+ for (var E = 0; E < k.length; E++) {
1033
+ var L = k[E];
1034
+ L.enumerable = L.enumerable || !1, L.configurable = !0, "value" in L && (L.writable = !0), Object.defineProperty(b, L.key, L);
1033
1035
  }
1034
1036
  }
1035
- function k(y, S) {
1036
- return (k = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(M, L) {
1037
- return M.__proto__ = L, M;
1038
- })(y, S);
1037
+ function V(b, k) {
1038
+ return (V = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(E, L) {
1039
+ return E.__proto__ = L, E;
1040
+ })(b, k);
1039
1041
  }
1040
- function R(y) {
1041
- var S = function() {
1042
+ function C(b) {
1043
+ var k = function() {
1042
1044
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
1043
1045
  if (typeof Proxy == "function") return !0;
1044
1046
  try {
@@ -1049,84 +1051,84 @@ var Ft = { exports: {} };
1049
1051
  }
1050
1052
  }();
1051
1053
  return function() {
1052
- var M, L = E(y);
1053
- if (S) {
1054
- var te = E(this).constructor;
1055
- M = Reflect.construct(L, arguments, te);
1056
- } else M = L.apply(this, arguments);
1057
- return I(this, M);
1054
+ var E, L = z(b);
1055
+ if (k) {
1056
+ var Q = z(this).constructor;
1057
+ E = Reflect.construct(L, arguments, Q);
1058
+ } else E = L.apply(this, arguments);
1059
+ return R(this, E);
1058
1060
  };
1059
1061
  }
1060
- function I(y, S) {
1061
- if (S && (b(S) === "object" || typeof S == "function")) return S;
1062
- if (S !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
1063
- return V(y);
1062
+ function R(b, k) {
1063
+ if (k && (j(k) === "object" || typeof k == "function")) return k;
1064
+ if (k !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
1065
+ return M(b);
1064
1066
  }
1065
- function V(y) {
1066
- if (y === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1067
- return y;
1067
+ function M(b) {
1068
+ if (b === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1069
+ return b;
1068
1070
  }
1069
- function E(y) {
1070
- return (E = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(S) {
1071
- return S.__proto__ || Object.getPrototypeOf(S);
1072
- })(y);
1071
+ function z(b) {
1072
+ return (z = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(k) {
1073
+ return k.__proto__ || Object.getPrototypeOf(k);
1074
+ })(b);
1073
1075
  }
1074
- function z(y, S, M) {
1075
- return S in y ? Object.defineProperty(y, S, { value: M, enumerable: !0, configurable: !0, writable: !0 }) : y[S] = M, y;
1076
+ function F(b, k, E) {
1077
+ return k in b ? Object.defineProperty(b, k, { value: E, enumerable: !0, configurable: !0, writable: !0 }) : b[k] = E, b;
1076
1078
  }
1077
- var P = function(y) {
1078
- (function(K, A) {
1079
- if (typeof A != "function" && A !== null) throw new TypeError("Super expression must either be null or a function");
1080
- K.prototype = Object.create(A && A.prototype, { constructor: { value: K, writable: !0, configurable: !0 } }), Object.defineProperty(K, "prototype", { writable: !1 }), A && k(K, A);
1081
- })(te, y);
1082
- var S, M, L = R(te);
1083
- function te(K) {
1084
- var A;
1085
- return function(G, re) {
1086
- if (!(G instanceof re)) throw new TypeError("Cannot call a class as a function");
1087
- }(this, te), z(V(A = L.call(this, K)), "continueOpenCollapsible", function() {
1088
- var G = V(A).innerRef;
1089
- A.setState({ height: G.scrollHeight, transition: "height ".concat(A.props.transitionTime, "ms ").concat(A.props.easing), isClosed: !1, hasBeenOpened: !0, inTransition: p(G.scrollHeight), shouldOpenOnNextCycle: !1 });
1090
- }), z(V(A), "handleTriggerClick", function(G) {
1091
- A.props.triggerDisabled || A.state.inTransition || (G.preventDefault(), A.props.handleTriggerClick ? A.props.handleTriggerClick(A.props.accordionPosition) : A.state.isClosed === !0 ? (A.openCollapsible(), A.props.onOpening(), A.props.onTriggerOpening()) : (A.closeCollapsible(), A.props.onClosing(), A.props.onTriggerClosing()));
1092
- }), z(V(A), "handleTransitionEnd", function(G) {
1093
- G.target === A.innerRef && (A.state.isClosed ? (A.setState({ inTransition: !1 }), A.props.onClose()) : (A.setState({ height: "auto", overflow: A.props.overflowWhenOpen, inTransition: !1 }), A.props.onOpen()));
1094
- }), z(V(A), "setInnerRef", function(G) {
1095
- return A.innerRef = G;
1096
- }), A.timeout = void 0, A.contentId = K.contentElementId || "collapsible-content-".concat(Date.now()), A.triggerId = K.triggerElementProps.id || "collapsible-trigger-".concat(Date.now()), K.open ? A.state = { isClosed: !1, shouldSwitchAutoOnNextCycle: !1, height: "auto", transition: "none", hasBeenOpened: !0, overflow: K.overflowWhenOpen, inTransition: !1 } : A.state = { isClosed: !0, shouldSwitchAutoOnNextCycle: !1, height: 0, transition: "height ".concat(K.transitionTime, "ms ").concat(K.easing), hasBeenOpened: !1, overflow: "hidden", inTransition: !1 }, A;
1079
+ var P = function(b) {
1080
+ (function($, O) {
1081
+ if (typeof O != "function" && O !== null) throw new TypeError("Super expression must either be null or a function");
1082
+ $.prototype = Object.create(O && O.prototype, { constructor: { value: $, writable: !0, configurable: !0 } }), Object.defineProperty($, "prototype", { writable: !1 }), O && V($, O);
1083
+ })(Q, b);
1084
+ var k, E, L = C(Q);
1085
+ function Q($) {
1086
+ var O;
1087
+ return function(J, re) {
1088
+ if (!(J instanceof re)) throw new TypeError("Cannot call a class as a function");
1089
+ }(this, Q), F(M(O = L.call(this, $)), "continueOpenCollapsible", function() {
1090
+ var J = M(O).innerRef;
1091
+ O.setState({ height: J.scrollHeight, transition: "height ".concat(O.props.transitionTime, "ms ").concat(O.props.easing), isClosed: !1, hasBeenOpened: !0, inTransition: h(J.scrollHeight), shouldOpenOnNextCycle: !1 });
1092
+ }), F(M(O), "handleTriggerClick", function(J) {
1093
+ O.props.triggerDisabled || O.state.inTransition || (J.preventDefault(), O.props.handleTriggerClick ? O.props.handleTriggerClick(O.props.accordionPosition) : O.state.isClosed === !0 ? (O.openCollapsible(), O.props.onOpening(), O.props.onTriggerOpening()) : (O.closeCollapsible(), O.props.onClosing(), O.props.onTriggerClosing()));
1094
+ }), F(M(O), "handleTransitionEnd", function(J) {
1095
+ J.target === O.innerRef && (O.state.isClosed ? (O.setState({ inTransition: !1 }), O.props.onClose()) : (O.setState({ height: "auto", overflow: O.props.overflowWhenOpen, inTransition: !1 }), O.props.onOpen()));
1096
+ }), F(M(O), "setInnerRef", function(J) {
1097
+ return O.innerRef = J;
1098
+ }), O.timeout = void 0, O.contentId = $.contentElementId || "collapsible-content-".concat(Date.now()), O.triggerId = $.triggerElementProps.id || "collapsible-trigger-".concat(Date.now()), $.open ? O.state = { isClosed: !1, shouldSwitchAutoOnNextCycle: !1, height: "auto", transition: "none", hasBeenOpened: !0, overflow: $.overflowWhenOpen, inTransition: !1 } : O.state = { isClosed: !0, shouldSwitchAutoOnNextCycle: !1, height: 0, transition: "height ".concat($.transitionTime, "ms ").concat($.easing), hasBeenOpened: !1, overflow: "hidden", inTransition: !1 }, O;
1097
1099
  }
1098
- return S = te, (M = [{ key: "componentDidUpdate", value: function(K, A) {
1099
- var G = this;
1100
- this.state.shouldOpenOnNextCycle && this.continueOpenCollapsible(), A.height !== "auto" && A.height !== 0 || this.state.shouldSwitchAutoOnNextCycle !== !0 || (window.clearTimeout(this.timeout), this.timeout = window.setTimeout(function() {
1101
- G.setState({ height: 0, overflow: "hidden", isClosed: !0, shouldSwitchAutoOnNextCycle: !1 });
1102
- }, 50)), K.open !== this.props.open && (this.props.open === !0 ? (this.openCollapsible(), this.props.onOpening()) : (this.closeCollapsible(), this.props.onClosing()));
1100
+ return k = Q, (E = [{ key: "componentDidUpdate", value: function($, O) {
1101
+ var J = this;
1102
+ this.state.shouldOpenOnNextCycle && this.continueOpenCollapsible(), O.height !== "auto" && O.height !== 0 || this.state.shouldSwitchAutoOnNextCycle !== !0 || (window.clearTimeout(this.timeout), this.timeout = window.setTimeout(function() {
1103
+ J.setState({ height: 0, overflow: "hidden", isClosed: !0, shouldSwitchAutoOnNextCycle: !1 });
1104
+ }, 50)), $.open !== this.props.open && (this.props.open === !0 ? (this.openCollapsible(), this.props.onOpening()) : (this.closeCollapsible(), this.props.onClosing()));
1103
1105
  } }, { key: "componentWillUnmount", value: function() {
1104
1106
  window.clearTimeout(this.timeout);
1105
1107
  } }, { key: "closeCollapsible", value: function() {
1106
- var K = this.innerRef;
1107
- this.setState({ shouldSwitchAutoOnNextCycle: !0, height: K.scrollHeight, transition: "height ".concat(this.props.transitionCloseTime ? this.props.transitionCloseTime : this.props.transitionTime, "ms ").concat(this.props.easing), inTransition: p(K.scrollHeight) });
1108
+ var $ = this.innerRef;
1109
+ this.setState({ shouldSwitchAutoOnNextCycle: !0, height: $.scrollHeight, transition: "height ".concat(this.props.transitionCloseTime ? this.props.transitionCloseTime : this.props.transitionTime, "ms ").concat(this.props.easing), inTransition: h($.scrollHeight) });
1108
1110
  } }, { key: "openCollapsible", value: function() {
1109
- this.setState({ inTransition: p(this.innerRef.scrollHeight), shouldOpenOnNextCycle: !0 });
1111
+ this.setState({ inTransition: h(this.innerRef.scrollHeight), shouldOpenOnNextCycle: !0 });
1110
1112
  } }, { key: "renderNonClickableTriggerElement", value: function() {
1111
- var K = this.props, A = K.triggerSibling, G = K.classParentString;
1112
- if (!A) return null;
1113
- switch (b(A)) {
1113
+ var $ = this.props, O = $.triggerSibling, J = $.classParentString;
1114
+ if (!O) return null;
1115
+ switch (j(O)) {
1114
1116
  case "string":
1115
- return v.a.createElement("span", { className: "".concat(G, "__trigger-sibling") }, A);
1117
+ return v.a.createElement("span", { className: "".concat(J, "__trigger-sibling") }, O);
1116
1118
  case "function":
1117
- return A();
1119
+ return O();
1118
1120
  case "object":
1119
- return A;
1121
+ return O;
1120
1122
  default:
1121
1123
  return null;
1122
1124
  }
1123
1125
  } }, { key: "render", value: function() {
1124
- var K = this, A = { height: this.state.height, WebkitTransition: this.state.transition, msTransition: this.state.transition, transition: this.state.transition, overflow: this.state.overflow }, G = this.state.isClosed ? "is-closed" : "is-open", re = this.props.triggerDisabled ? "is-disabled" : "", le = this.state.isClosed === !1 && this.props.triggerWhenOpen !== void 0 ? this.props.triggerWhenOpen : this.props.trigger, ce = this.props.contentContainerTagName, ue = this.props.triggerTagName, ve = this.props.lazyRender && !this.state.hasBeenOpened && this.state.isClosed && !this.state.inTransition ? null : this.props.children, fe = this.props, J = fe.classParentString, de = fe.contentOuterClassName, pe = fe.contentInnerClassName, w = "".concat(J, "__trigger ").concat(G, " ").concat(re, " ").concat(this.state.isClosed ? this.props.triggerClassName : this.props.triggerOpenedClassName), H = "".concat(J, " ").concat(this.state.isClosed ? this.props.className : this.props.openedClassName), B = "".concat(J, "__contentOuter ").concat(de), Y = "".concat(J, "__contentInner ").concat(pe);
1125
- return v.a.createElement(ce, C({ className: H.trim() }, this.props.containerElementProps), v.a.createElement(ue, C({ id: this.triggerId, className: w.trim(), onClick: this.handleTriggerClick, style: this.props.triggerStyle && this.props.triggerStyle, onKeyPress: function(U) {
1126
- var i = U.key;
1127
- (i === " " && K.props.triggerTagName.toLowerCase() !== "button" || i === "Enter") && K.handleTriggerClick(U);
1128
- }, tabIndex: this.props.tabIndex && this.props.tabIndex, "aria-expanded": !this.state.isClosed, "aria-disabled": this.props.triggerDisabled, "aria-controls": this.contentId, role: "button" }, this.props.triggerElementProps), le), this.renderNonClickableTriggerElement(), v.a.createElement("div", { id: this.contentId, className: B.trim(), style: A, onTransitionEnd: this.handleTransitionEnd, ref: this.setInnerRef, hidden: this.props.contentHiddenWhenClosed && this.state.isClosed && !this.state.inTransition, role: "region", "aria-labelledby": this.triggerId }, v.a.createElement("div", { className: Y.trim() }, ve)));
1129
- } }]) && F(S.prototype, M), Object.defineProperty(S, "prototype", { writable: !1 }), te;
1126
+ var $ = this, O = { height: this.state.height, WebkitTransition: this.state.transition, msTransition: this.state.transition, transition: this.state.transition, overflow: this.state.overflow }, J = this.state.isClosed ? "is-closed" : "is-open", re = this.props.triggerDisabled ? "is-disabled" : "", ue = this.state.isClosed === !1 && this.props.triggerWhenOpen !== void 0 ? this.props.triggerWhenOpen : this.props.trigger, fe = this.props.contentContainerTagName, ne = this.props.triggerTagName, he = this.props.lazyRender && !this.state.hasBeenOpened && this.state.isClosed && !this.state.inTransition ? null : this.props.children, ce = this.props, K = ce.classParentString, de = ce.contentOuterClassName, pe = ce.contentInnerClassName, w = "".concat(K, "__trigger ").concat(J, " ").concat(re, " ").concat(this.state.isClosed ? this.props.triggerClassName : this.props.triggerOpenedClassName), I = "".concat(K, " ").concat(this.state.isClosed ? this.props.className : this.props.openedClassName), W = "".concat(K, "__contentOuter ").concat(de), q = "".concat(K, "__contentInner ").concat(pe);
1127
+ return v.a.createElement(fe, N({ className: I.trim() }, this.props.containerElementProps), v.a.createElement(ne, N({ id: this.triggerId, className: w.trim(), onClick: this.handleTriggerClick, style: this.props.triggerStyle && this.props.triggerStyle, onKeyPress: function(B) {
1128
+ var i = B.key;
1129
+ (i === " " && $.props.triggerTagName.toLowerCase() !== "button" || i === "Enter") && $.handleTriggerClick(B);
1130
+ }, tabIndex: this.props.tabIndex && this.props.tabIndex, "aria-expanded": !this.state.isClosed, "aria-disabled": this.props.triggerDisabled, "aria-controls": this.contentId, role: "button" }, this.props.triggerElementProps), ue), this.renderNonClickableTriggerElement(), v.a.createElement("div", { id: this.contentId, className: W.trim(), style: O, onTransitionEnd: this.handleTransitionEnd, ref: this.setInnerRef, hidden: this.props.contentHiddenWhenClosed && this.state.isClosed && !this.state.inTransition, role: "region", "aria-labelledby": this.triggerId }, v.a.createElement("div", { className: q.trim() }, he)));
1131
+ } }]) && _(k.prototype, E), Object.defineProperty(k, "prototype", { writable: !1 }), Q;
1130
1132
  }(l.Component);
1131
1133
  P.propTypes = { transitionTime: s.a.number, transitionCloseTime: s.a.number, triggerTagName: s.a.string, easing: s.a.string, open: s.a.bool, containerElementProps: s.a.object, triggerElementProps: s.a.object, contentElementId: s.a.string, classParentString: s.a.string, className: s.a.string, openedClassName: s.a.string, triggerStyle: s.a.object, triggerClassName: s.a.string, triggerOpenedClassName: s.a.string, contentOuterClassName: s.a.string, contentInnerClassName: s.a.string, accordionPosition: s.a.oneOfType([s.a.string, s.a.number]), handleTriggerClick: s.a.func, onOpen: s.a.func, onClose: s.a.func, onOpening: s.a.func, onClosing: s.a.func, onTriggerOpening: s.a.func, onTriggerClosing: s.a.func, trigger: s.a.oneOfType([s.a.string, s.a.element]), triggerWhenOpen: s.a.oneOfType([s.a.string, s.a.element]), triggerDisabled: s.a.bool, lazyRender: s.a.bool, overflowWhenOpen: s.a.oneOf(["hidden", "visible", "auto", "scroll", "inherit", "initial", "unset"]), contentHiddenWhenClosed: s.a.bool, triggerSibling: s.a.oneOfType([s.a.string, s.a.element, s.a.func]), tabIndex: s.a.number, contentContainerTagName: s.a.string, children: s.a.oneOfType([s.a.string, s.a.element]) }, P.defaultProps = { transitionTime: 400, transitionCloseTime: null, triggerTagName: "span", easing: "linear", open: !1, classParentString: "Collapsible", triggerDisabled: !1, lazyRender: !1, overflowWhenOpen: "hidden", contentHiddenWhenClosed: !1, openedClassName: "", triggerStyle: null, triggerClassName: "", triggerOpenedClassName: "", contentOuterClassName: "", contentInnerClassName: "", className: "", triggerSibling: null, onOpen: function() {
1132
1134
  }, onClose: function() {
@@ -1141,24 +1143,24 @@ var Ft = { exports: {} };
1141
1143
  var pn = Ft.exports;
1142
1144
  const hn = /* @__PURE__ */ Mt(pn);
1143
1145
  function vn(n) {
1144
- return oe({ 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: [] }] })(n);
1146
+ return se({ 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: [] }] })(n);
1145
1147
  }
1146
1148
  function St(n) {
1147
- return oe({ 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: [] }] })(n);
1149
+ return se({ 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: [] }] })(n);
1148
1150
  }
1149
- function Nt(n) {
1150
- return oe({ 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: [] }] })(n);
1151
+ function kt(n) {
1152
+ return se({ 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: [] }] })(n);
1151
1153
  }
1152
- const It = ({ folder: n, setCurrentPath: h, currentPath: o }) => {
1153
- const [c, d] = Q(!1), [u, l] = Q(!1), v = `${n.path}/${n.name}`, f = () => {
1154
- l(!0), h(v);
1155
- }, s = (p) => {
1156
- p.stopPropagation(), d((C) => !C);
1154
+ const It = ({ folder: n, setCurrentPath: p, currentPath: o }) => {
1155
+ const [c, d] = ee(!1), [u, l] = ee(!1), v = `${n.path}/${n.name}`, f = () => {
1156
+ l(!0), p(v);
1157
+ }, s = (h) => {
1158
+ h.stopPropagation(), d((N) => !N);
1157
1159
  };
1158
1160
  return xe(() => {
1159
1161
  l(o === v);
1160
- const p = o.split("/");
1161
- p.pop(), p.join("/") === v && d(!0);
1162
+ const h = o.split("/");
1163
+ h.pop(), h.join("/") === v && d(!0);
1162
1164
  }, [o]), n.subDirectories ? /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
1163
1165
  /* @__PURE__ */ r.jsxs(
1164
1166
  "div",
@@ -1174,20 +1176,20 @@ const It = ({ folder: n, setCurrentPath: h, currentPath: o }) => {
1174
1176
  }
1175
1177
  ) }),
1176
1178
  /* @__PURE__ */ r.jsxs("div", { className: "sb-folder-details", children: [
1177
- c || u ? /* @__PURE__ */ r.jsx(St, { size: 20, className: "folder-open-icon" }) : /* @__PURE__ */ r.jsx(Nt, { size: 17, className: "folder-close-icon" }),
1179
+ c || u ? /* @__PURE__ */ r.jsx(St, { size: 20, className: "folder-open-icon" }) : /* @__PURE__ */ r.jsx(kt, { size: 17, className: "folder-close-icon" }),
1178
1180
  /* @__PURE__ */ r.jsx("span", { className: "sb-folder-name", title: n.name, children: n.name })
1179
1181
  ] })
1180
1182
  ]
1181
1183
  }
1182
1184
  ),
1183
- /* @__PURE__ */ r.jsx(hn, { open: c, children: /* @__PURE__ */ r.jsx("div", { className: "folder-collapsible", children: n.subDirectories.map((p, C) => /* @__PURE__ */ r.jsx(
1185
+ /* @__PURE__ */ r.jsx(hn, { open: c, children: /* @__PURE__ */ r.jsx("div", { className: "folder-collapsible", children: n.subDirectories.map((h, N) => /* @__PURE__ */ r.jsx(
1184
1186
  It,
1185
1187
  {
1186
- folder: p,
1187
- setCurrentPath: h,
1188
+ folder: h,
1189
+ setCurrentPath: p,
1188
1190
  currentPath: o
1189
1191
  },
1190
- C
1192
+ N
1191
1193
  )) }) })
1192
1194
  ] }) : /* @__PURE__ */ r.jsxs(
1193
1195
  "div",
@@ -1197,23 +1199,26 @@ const It = ({ folder: n, setCurrentPath: h, currentPath: o }) => {
1197
1199
  children: [
1198
1200
  /* @__PURE__ */ r.jsx("span", { className: "non-expanable" }),
1199
1201
  /* @__PURE__ */ r.jsxs("div", { className: "sb-folder-details", children: [
1200
- u ? /* @__PURE__ */ r.jsx(St, { size: 20, className: "folder-open-icon" }) : /* @__PURE__ */ r.jsx(Nt, { size: 17, className: "folder-close-icon" }),
1202
+ u ? /* @__PURE__ */ r.jsx(St, { size: 20, className: "folder-open-icon" }) : /* @__PURE__ */ r.jsx(kt, { size: 17, className: "folder-close-icon" }),
1201
1203
  /* @__PURE__ */ r.jsx("span", { className: "sb-folder-name", title: n.name, children: n.name })
1202
1204
  ] })
1203
1205
  ]
1204
1206
  }
1205
1207
  );
1206
- }, mn = ({ files: n, currentPath: h, setCurrentPath: o }) => {
1207
- const [c, d] = Q([]), u = (l, v) => {
1208
+ }, mn = ({ files: n, currentPath: p, setCurrentPath: o }) => {
1209
+ const [c, d] = ee([]), u = (l, v) => {
1208
1210
  var s;
1209
1211
  var f = l.path + "/" + l.name;
1210
- return v[f] ? (s = v[f]) == null ? void 0 : s.map((p) => ({
1211
- ...p,
1212
- subDirectories: u(p, v)
1212
+ return v[f] ? (s = v[f]) == null ? void 0 : s.map((h) => ({
1213
+ ...h,
1214
+ subDirectories: u(h, v)
1213
1215
  })) : null;
1214
1216
  };
1215
1217
  return xe(() => {
1216
- const l = n.filter((f) => f.isDirectory), v = Object.groupBy(l, ({ path: f }) => f);
1218
+ const l = n.filter((f) => f.isDirectory).map((f) => ({
1219
+ ...f,
1220
+ path: f.path.split("/").slice(0, -1).join("/")
1221
+ })), v = Object.groupBy(l, ({ path: f }) => f);
1217
1222
  d(() => {
1218
1223
  var f;
1219
1224
  return l.length > 0 ? (f = v[""]) == null ? void 0 : f.map((s) => ({
@@ -1226,17 +1231,17 @@ const It = ({ folder: n, setCurrentPath: h, currentPath: o }) => {
1226
1231
  {
1227
1232
  folder: l,
1228
1233
  setCurrentPath: o,
1229
- currentPath: h
1234
+ currentPath: p
1230
1235
  },
1231
1236
  v
1232
1237
  )) }) : /* @__PURE__ */ r.jsx("div", { className: "empty-nav-pane", children: "Nothing here yet" }) });
1233
- }, gn = ({ currentPath: n, setCurrentPath: h }) => {
1234
- const [o, c] = Q([]);
1238
+ }, gn = ({ currentPath: n, setCurrentPath: p }) => {
1239
+ const [o, c] = ee([]);
1235
1240
  xe(() => {
1236
1241
  c(n == null ? void 0 : n.split("/"));
1237
1242
  }, [n]);
1238
1243
  const d = (u) => {
1239
- u < o.length - 1 && h(() => {
1244
+ u < o.length - 1 && p(() => {
1240
1245
  const l = o.length - (u + 1);
1241
1246
  return o.slice(0, -l).join("/");
1242
1247
  });
@@ -1259,26 +1264,26 @@ const It = ({ folder: n, setCurrentPath: h, currentPath: o }) => {
1259
1264
  )) });
1260
1265
  };
1261
1266
  function yn(n) {
1262
- return oe({ 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: [] }] })(n);
1267
+ return se({ 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: [] }] })(n);
1263
1268
  }
1264
1269
  const bn = ({
1265
1270
  children: n,
1266
- contextMenuRef: h,
1271
+ contextMenuRef: p,
1267
1272
  content: o,
1268
1273
  visible: c,
1269
1274
  setVisible: d
1270
1275
  }) => {
1271
- const [u, l] = Q(0), [v, f] = Q(0), s = (p) => {
1272
- p.preventDefault(), d(!0);
1273
- const C = p.clientX, b = p.clientY, F = window.innerWidth, k = window.innerHeight, R = 112, I = 82, V = F - C > R, E = !V, z = k - b > I, P = !z;
1274
- V ? l(`${C + 5}px`) : E && l(`${C - R - 5}px`), z ? f(`${b + 5}px`) : P && f(`${b - I - 5}px`);
1276
+ const [u, l] = ee(0), [v, f] = ee(0), s = (h) => {
1277
+ h.preventDefault(), d(!0);
1278
+ const N = h.clientX, j = h.clientY, _ = window.innerWidth, V = window.innerHeight, C = 112, R = 82, M = _ - N > C, z = !M, F = V - j > R, P = !F;
1279
+ M ? l(`${N + 5}px`) : z && l(`${N - C - 5}px`), F ? f(`${j + 5}px`) : P && f(`${j - R - 5}px`);
1275
1280
  };
1276
- return /* @__PURE__ */ r.jsxs("div", { onContextMenu: s, onClick: (p) => d(!1), children: [
1281
+ return /* @__PURE__ */ r.jsxs("div", { onContextMenu: s, onClick: (h) => d(!1), children: [
1277
1282
  n,
1278
1283
  c && /* @__PURE__ */ r.jsx(
1279
1284
  "div",
1280
1285
  {
1281
- ref: h,
1286
+ ref: p,
1282
1287
  className: "fm-context-menu",
1283
1288
  style: {
1284
1289
  top: v,
@@ -1289,13 +1294,13 @@ const bn = ({
1289
1294
  )
1290
1295
  ] });
1291
1296
  }, xn = (n) => {
1292
- const h = Fe(null), o = (c) => {
1297
+ const p = Fe(null), o = (c) => {
1293
1298
  var d;
1294
- (d = h.current) != null && d.contains(c.target) || n();
1299
+ (d = p.current) != null && d.contains(c.target) || n();
1295
1300
  };
1296
1301
  return xe(() => (document.addEventListener("mousedown", o, !0), () => {
1297
1302
  document.removeEventListener("mousedown", o, !0);
1298
- }), []), h;
1303
+ }), []), p;
1299
1304
  }, Lt = (n) => ({
1300
1305
  pdf: /* @__PURE__ */ r.jsx(un, { size: n }),
1301
1306
  jpg: /* @__PURE__ */ r.jsx(gt, { size: n }),
@@ -1306,7 +1311,7 @@ const bn = ({
1306
1311
  docx: /* @__PURE__ */ r.jsx(Pt, { size: n })
1307
1312
  }), jn = ({
1308
1313
  file: n,
1309
- index: h,
1314
+ index: p,
1310
1315
  selectedFileIndex: o,
1311
1316
  setSelectedFileIndex: c,
1312
1317
  setCurrentPath: d,
@@ -1315,69 +1320,71 @@ const bn = ({
1315
1320
  setSelectedFile: v,
1316
1321
  currentPath: f,
1317
1322
  clipBoard: s,
1318
- setClipBoard: p,
1319
- handlePaste: C,
1320
- files: b,
1321
- triggerAction: F
1323
+ setClipBoard: h,
1324
+ handlePaste: N,
1325
+ files: j,
1326
+ triggerAction: _
1322
1327
  }) => {
1323
- var ve, fe;
1324
- const k = Lt(48), [R, I] = Q(!1), [V, E] = Q(!1), [z, P] = Q(0), [y, S] = Q(!1), M = (s == null ? void 0 : s.isMoving) && s.files.find((J) => J.name === n.name && J.path === n.path), L = xn(() => {
1325
- I(!1);
1326
- }), te = (J, de) => {
1327
- J.stopPropagation(), p({
1328
- files: [{ ...jt(n, b) }],
1328
+ var he, ce;
1329
+ const V = Lt(48), [C, R] = ee(!1), [M, z] = ee(!1), [F, P] = ee(0), [b, k] = ee(!1), E = (s == null ? void 0 : s.isMoving) && s.files.find((K) => K.name === n.name && K.path === n.path), L = xn(() => {
1330
+ R(!1);
1331
+ }), Q = (K, de) => {
1332
+ K.stopPropagation(), h({
1333
+ files: [{ ...jt(n, j) }],
1329
1334
  isMoving: de
1330
- }), I(!1);
1331
- }, K = (J) => {
1332
- if (J.stopPropagation(), s) {
1333
- const de = n.path + "/" + n.name, pe = s.files[0], w = b.filter((H) => {
1334
- const B = H.path === pe.path && H.name === pe.name, Y = H.path.startsWith(
1335
+ }), R(!1);
1336
+ }, $ = (K) => {
1337
+ if (K.stopPropagation(), s) {
1338
+ const de = n.path, pe = s.files[0];
1339
+ j.filter((W) => {
1340
+ const q = W.path === pe.path && W.name === pe.name, B = W.path.startsWith(
1335
1341
  pe.path + "/" + pe.name
1336
1342
  );
1337
- return B || Y;
1343
+ return q || B;
1338
1344
  });
1339
- C(b, de, s, w), s.isMoving && p(null), l(!1), v(null), I(!1);
1345
+ const w = j.find((W) => W.path === de), I = s.isMoving ? "move" : "copy";
1346
+ N(pe, w, I), s.isMoving && h(null), l(!1), v(null), R(!1);
1340
1347
  }
1341
- }, A = (J) => {
1342
- J.stopPropagation(), I(!1), F.show("rename");
1343
- }, G = (J) => {
1344
- J.stopPropagation(), I(!1), F.show("delete");
1348
+ }, O = (K) => {
1349
+ K.stopPropagation(), R(!1), _.show("rename");
1350
+ }, J = (K) => {
1351
+ K.stopPropagation(), R(!1), _.show("delete");
1345
1352
  }, re = () => {
1346
- I(!1), n.isDirectory ? (d((J) => J + "/" + n.name), c(null)) : S(!0);
1347
- }, le = (J) => {
1348
- J.stopPropagation(), l(!0), v(n), c(h);
1353
+ R(!1), n.isDirectory ? (d((K) => K + "/" + n.name), c(null)) : k(!0);
1354
+ }, ue = (K) => {
1355
+ K.stopPropagation(), l(!0), v(n), c(p);
1349
1356
  const de = (/* @__PURE__ */ new Date()).getTime();
1350
- de - z < 300 && (l(!1), re()), P(de);
1351
- }, ce = (J) => {
1352
- J.key === "Enter" && re();
1357
+ de - F < 300 && (l(!1), re()), P(de);
1358
+ }, fe = (K) => {
1359
+ K.key === "Enter" && re();
1353
1360
  };
1354
1361
  xe(() => {
1355
- E(o === h);
1362
+ z(o === p);
1356
1363
  }, [o]), xe(() => {
1357
- o === h && E(u);
1364
+ o === p && z(u);
1358
1365
  }, [u]);
1359
- const ue = /* @__PURE__ */ r.jsx("div", { className: "file-context-menu-list", children: /* @__PURE__ */ r.jsxs("ul", { children: [
1366
+ const ne = /* @__PURE__ */ r.jsx("div", { className: "file-context-menu-list", children: /* @__PURE__ */ r.jsxs("ul", { children: [
1360
1367
  /* @__PURE__ */ r.jsxs("li", { onClick: re, children: [
1361
1368
  n.isDirectory ? /* @__PURE__ */ r.jsx(yn, { size: 20 }) : /* @__PURE__ */ r.jsx(bt, { size: 16 }),
1362
1369
  /* @__PURE__ */ r.jsx("span", { children: "Open" })
1363
1370
  ] }),
1364
- /* @__PURE__ */ r.jsxs("li", { onClick: (J) => te(J, !0), children: [
1371
+ /* @__PURE__ */ r.jsxs("li", { onClick: (K) => Q(K, !0), children: [
1365
1372
  /* @__PURE__ */ r.jsx(zt, { size: 19 }),
1366
1373
  /* @__PURE__ */ r.jsx("span", { children: "Cut" })
1367
1374
  ] }),
1368
- /* @__PURE__ */ r.jsxs("li", { onClick: (J) => te(J, !1), children: [
1375
+ /* @__PURE__ */ r.jsxs("li", { onClick: (K) => Q(K, !1), children: [
1369
1376
  /* @__PURE__ */ r.jsx(Vt, { strokeWidth: 0.1, size: 17 }),
1370
1377
  /* @__PURE__ */ r.jsx("span", { children: "Copy" })
1371
1378
  ] }),
1372
- n.isDirectory ? /* @__PURE__ */ r.jsxs("li", { onClick: K, className: `${s ? "" : "disable-paste"}`, children: [
1379
+ n.isDirectory ? /* @__PURE__ */ r.jsxs("li", { onClick: $, className: `${s ? "" : "disable-paste"}`, children: [
1373
1380
  /* @__PURE__ */ r.jsx(xt, { size: 18 }),
1374
1381
  /* @__PURE__ */ r.jsx("span", { children: "Paste" })
1375
1382
  ] }) : /* @__PURE__ */ r.jsx(r.Fragment, {}),
1376
- /* @__PURE__ */ r.jsxs("li", { onClick: A, children: [
1383
+ /* @__PURE__ */ r.jsxs("li", { onClick: O, children: [
1377
1384
  /* @__PURE__ */ r.jsx(Dt, { size: 19 }),
1378
1385
  /* @__PURE__ */ r.jsx("span", { children: "Rename" })
1379
1386
  ] }),
1380
- /* @__PURE__ */ r.jsxs("li", { onClick: G, children: [
1387
+ /* @__PURE__ */ r.jsxs("li", { onClick: J, children: [
1381
1388
  /* @__PURE__ */ r.jsx(Ht, { size: 19 }),
1382
1389
  /* @__PURE__ */ r.jsx("span", { children: "Delete" })
1383
1390
  ] })
@@ -1386,22 +1393,22 @@ const bn = ({
1386
1393
  bn,
1387
1394
  {
1388
1395
  contextMenuRef: L,
1389
- visible: R,
1390
- setVisible: I,
1391
- content: ue,
1396
+ visible: C,
1397
+ setVisible: R,
1398
+ content: ne,
1392
1399
  children: /* @__PURE__ */ r.jsxs(
1393
1400
  "div",
1394
1401
  {
1395
- className: `file-item ${V ? "background-secondary text-white" : ""} ${M ? "file-moving" : ""}`,
1402
+ className: `file-item ${M ? "background-secondary text-white" : ""} ${E ? "file-moving" : ""}`,
1396
1403
  title: n.name,
1397
- onClick: le,
1398
- onKeyUp: ce,
1404
+ onClick: ue,
1405
+ onKeyUp: fe,
1399
1406
  onContextMenu: () => {
1400
- l(!0), v(n), c(h);
1407
+ l(!0), v(n), c(p);
1401
1408
  },
1402
1409
  tabIndex: 0,
1403
1410
  children: [
1404
- n.isDirectory ? /* @__PURE__ */ r.jsx(fn, { size: 48 }) : /* @__PURE__ */ r.jsx(r.Fragment, { children: k[(fe = (ve = n.name) == null ? void 0 : ve.split(".").pop()) == null ? void 0 : fe.toLowerCase()] ?? /* @__PURE__ */ r.jsx(bt, { size: 48 }) }),
1411
+ n.isDirectory ? /* @__PURE__ */ r.jsx(fn, { size: 48 }) : /* @__PURE__ */ r.jsx(r.Fragment, { children: V[(ce = (he = n.name) == null ? void 0 : he.split(".").pop()) == null ? void 0 : ce.toLowerCase()] ?? /* @__PURE__ */ r.jsx(bt, { size: 48 }) }),
1405
1412
  /* @__PURE__ */ r.jsx("span", { className: "text-truncate file-name", children: n.name })
1406
1413
  ]
1407
1414
  }
@@ -1410,7 +1417,7 @@ const bn = ({
1410
1417
  ) });
1411
1418
  }, wn = ({
1412
1419
  currentPathFiles: n,
1413
- setCurrentPath: h,
1420
+ setCurrentPath: p,
1414
1421
  isItemSelection: o,
1415
1422
  setIsItemSelection: c,
1416
1423
  setSelectedFile: d,
@@ -1419,26 +1426,26 @@ const bn = ({
1419
1426
  setClipBoard: v,
1420
1427
  handlePaste: f,
1421
1428
  files: s,
1422
- triggerAction: p
1429
+ triggerAction: h
1423
1430
  }) => {
1424
- const [C, b] = Q(null);
1431
+ const [N, j] = ee(null);
1425
1432
  return xe(() => {
1426
- b(null), c(!1), d(null);
1433
+ j(null), c(!1), d(null);
1427
1434
  }, [u]), /* @__PURE__ */ r.jsx(
1428
1435
  "div",
1429
1436
  {
1430
1437
  className: "files",
1431
- onClick: (F) => {
1432
- b(null), c(!1), d(null);
1438
+ onClick: (_) => {
1439
+ j(null), c(!1), d(null);
1433
1440
  },
1434
- children: (n == null ? void 0 : n.length) > 0 ? /* @__PURE__ */ r.jsx(r.Fragment, { children: n.map((F, k) => /* @__PURE__ */ r.jsx(
1441
+ children: (n == null ? void 0 : n.length) > 0 ? /* @__PURE__ */ r.jsx(r.Fragment, { children: n.map((_, V) => /* @__PURE__ */ r.jsx(
1435
1442
  jn,
1436
1443
  {
1437
- file: F,
1438
- index: k,
1439
- selectedFileIndex: C,
1440
- setSelectedFileIndex: b,
1441
- setCurrentPath: h,
1444
+ file: _,
1445
+ index: V,
1446
+ selectedFileIndex: N,
1447
+ setSelectedFileIndex: j,
1448
+ setCurrentPath: p,
1442
1449
  isItemSelection: o,
1443
1450
  setIsItemSelection: c,
1444
1451
  setSelectedFile: d,
@@ -1447,27 +1454,27 @@ const bn = ({
1447
1454
  setClipBoard: v,
1448
1455
  handlePaste: f,
1449
1456
  files: s,
1450
- triggerAction: p
1457
+ triggerAction: h
1451
1458
  },
1452
- k
1459
+ V
1453
1460
  )) }) : /* @__PURE__ */ r.jsx("div", { className: "empty-folder", children: "This folder is empty." })
1454
1461
  }
1455
1462
  );
1456
1463
  }, Cn = () => {
1457
- const [n, h] = Q(!1), [o, c] = Q(null);
1464
+ const [n, p] = ee(!1), [o, c] = ee(null);
1458
1465
  return {
1459
1466
  isActive: n,
1460
1467
  actionType: o,
1461
1468
  show: (l) => {
1462
- h(!0), c(l);
1469
+ p(!0), c(l);
1463
1470
  },
1464
1471
  close: () => {
1465
- h(!1), c(null);
1472
+ p(!1), c(null);
1466
1473
  }
1467
1474
  };
1468
1475
  }, On = ({
1469
1476
  children: n,
1470
- show: h,
1477
+ show: p,
1471
1478
  setShow: o,
1472
1479
  heading: c,
1473
1480
  dialogWidth: d = "25%",
@@ -1475,105 +1482,106 @@ const bn = ({
1475
1482
  }) => {
1476
1483
  const l = Fe(null);
1477
1484
  return xe(() => {
1478
- h ? l.current.showModal() : l.current.close();
1479
- }, [h]), /* @__PURE__ */ r.jsxs("dialog", { ref: l, className: "fm-modal dialog", style: { width: d }, children: [
1485
+ p ? l.current.showModal() : l.current.close();
1486
+ }, [p]), /* @__PURE__ */ r.jsxs("dialog", { ref: l, className: "fm-modal dialog", style: { width: d }, children: [
1480
1487
  /* @__PURE__ */ r.jsxs("div", { className: "fm-modal-header", children: [
1481
1488
  /* @__PURE__ */ r.jsx("span", { className: "fm-modal-heading", children: c }),
1482
1489
  /* @__PURE__ */ r.jsx(on, { size: 18, onClick: () => o(!1), className: "close-icon", title: "Close" })
1483
1490
  ] }),
1484
1491
  n
1485
1492
  ] });
1486
- }, _e = ({ onClick: n, type: h = "primary", padding: o = "0.4rem 0.8rem", children: c }) => /* @__PURE__ */ r.jsx(
1493
+ }, _e = ({ onClick: n, type: p = "primary", padding: o = "0.4rem 0.8rem", children: c }) => /* @__PURE__ */ r.jsx(
1487
1494
  "button",
1488
1495
  {
1489
1496
  onClick: n,
1490
- className: `fm-button fm-button-${h}`,
1497
+ className: `fm-button fm-button-${p}`,
1491
1498
  style: { padding: o },
1492
1499
  children: c
1493
1500
  }
1494
1501
  ), Rn = ({
1495
1502
  files: n,
1496
- currentPath: h,
1503
+ currentPath: p,
1497
1504
  currentPathFiles: o,
1498
1505
  handleCreateFolder: c,
1499
- triggerAction: d
1506
+ currentFolder: d,
1507
+ triggerAction: u
1500
1508
  }) => {
1501
- const [u, l] = Q("New Folder"), [v, f] = Q(!1), [s, p] = Q(""), C = (R) => {
1502
- l(R.target.value), f(!1);
1503
- }, b = (R) => {
1504
- /[\\/:*?"<>|]/.test(R.key) ? (R.preventDefault(), p(
1509
+ const [l, v] = ee("New Folder"), [f, s] = ee(!1), [h, N] = ee(""), j = (R) => {
1510
+ v(R.target.value), s(!1);
1511
+ }, _ = (R) => {
1512
+ /[\\/:*?"<>|]/.test(R.key) ? (R.preventDefault(), N(
1505
1513
  `A file name can't contain any of the following characters: \\ / : * ? " < > |`
1506
- ), f(!0)) : f(!1);
1507
- }, F = () => {
1508
- const R = u.trim();
1509
- R === "" ? (p("Folder name cannot be empty."), f(!0)) : o.find((V) => V.name.toLowerCase() === R.toLowerCase()) ? (p(`A folder with the name "${R}" already exits.`), f(!0)) : (c(n, R, h), d.close());
1510
- }, k = Fe(null);
1514
+ ), s(!0)) : s(!1);
1515
+ }, V = () => {
1516
+ const R = l.trim();
1517
+ R === "" ? (N("Folder name cannot be empty."), s(!0)) : o.find((z) => z.name.toLowerCase() === R.toLowerCase()) ? (N(`A folder with the name "${R}" already exits.`), s(!0)) : (c(R, d), u.close());
1518
+ }, C = Fe(null);
1511
1519
  return xe(() => {
1512
- k.current.focus(), k.current.select();
1520
+ C.current.focus(), C.current.select();
1513
1521
  }, []), /* @__PURE__ */ r.jsxs("div", { className: "fm-create-folder-container", children: [
1514
1522
  /* @__PURE__ */ r.jsxs("div", { className: "fm-create-folder-input", children: [
1515
1523
  /* @__PURE__ */ r.jsx(
1516
1524
  "input",
1517
1525
  {
1518
- ref: k,
1526
+ ref: C,
1519
1527
  type: "text",
1520
- value: u,
1521
- onChange: C,
1522
- onKeyDown: b,
1528
+ value: l,
1529
+ onChange: j,
1530
+ onKeyDown: _,
1523
1531
  className: "action-input"
1524
1532
  }
1525
1533
  ),
1526
- v && /* @__PURE__ */ r.jsx("div", { className: "folder-error", children: s })
1534
+ f && /* @__PURE__ */ r.jsx("div", { className: "folder-error", children: h })
1527
1535
  ] }),
1528
- /* @__PURE__ */ r.jsx("div", { className: "fm-create-folder-action", children: /* @__PURE__ */ r.jsx(_e, { onClick: F, type: "primary", children: "Create" }) })
1536
+ /* @__PURE__ */ r.jsx("div", { className: "fm-create-folder-action", children: /* @__PURE__ */ r.jsx(_e, { onClick: V, type: "primary", children: "Create" }) })
1529
1537
  ] });
1530
1538
  };
1531
1539
  function En(n) {
1532
- return oe({ 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: [] }] })(n);
1540
+ return se({ 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: [] }] })(n);
1533
1541
  }
1534
1542
  const Tn = ({
1535
1543
  files: n,
1536
- selectedFile: h,
1544
+ selectedFile: p,
1537
1545
  currentPathFiles: o,
1538
1546
  handleRename: c,
1539
1547
  triggerAction: d,
1540
1548
  setSelectedFile: u
1541
1549
  }) => {
1542
- const [l, v] = Q(h == null ? void 0 : h.name), f = Fe(null), [s, p] = Q(!1), [C, b] = Q(!1), [F, k] = Q("");
1550
+ const [l, v] = ee(p == null ? void 0 : p.name), f = Fe(null), [s, h] = ee(!1), [N, j] = ee(!1), [_, V] = ee("");
1543
1551
  xe(() => {
1544
- var V, E, z;
1545
- if (h)
1546
- if ((V = f == null ? void 0 : f.current) == null || V.focus(), h.isDirectory)
1547
- (E = f == null ? void 0 : f.current) == null || E.select();
1552
+ var M, z, F;
1553
+ if (p)
1554
+ if ((M = f == null ? void 0 : f.current) == null || M.focus(), p.isDirectory)
1555
+ (z = f == null ? void 0 : f.current) == null || z.select();
1548
1556
  else {
1549
- const P = h.name.split(".").pop(), y = h.name.length - P.length - 1;
1550
- (z = f == null ? void 0 : f.current) == null || z.setSelectionRange(0, y);
1557
+ const P = p.name.split(".").pop(), b = p.name.length - P.length - 1;
1558
+ (F = f == null ? void 0 : f.current) == null || F.setSelectionRange(0, b);
1551
1559
  }
1552
1560
  else
1553
- p(!1);
1561
+ h(!1);
1554
1562
  }, []);
1555
- const R = (V) => {
1556
- /[\\/:*?"<>|]/.test(V.key) ? (V.preventDefault(), k(
1563
+ const C = (M) => {
1564
+ /[\\/:*?"<>|]/.test(M.key) ? (M.preventDefault(), V(
1557
1565
  `A file name can't contain any of the following characters: \\ / : * ? " < > |`
1558
- ), b(!0)) : b(!1);
1559
- }, I = (V, E) => {
1566
+ ), j(!0)) : j(!1);
1567
+ }, R = (M, z) => {
1560
1568
  if (l === "") {
1561
- b(!0), k(`${h.isDirectory ? "Folder" : "File"} name is required!`);
1569
+ j(!0), V(`${p.isDirectory ? "Folder" : "File"} name is required!`);
1562
1570
  return;
1563
- } else if (l === h.name) {
1571
+ } else if (l === p.name) {
1564
1572
  d.close();
1565
1573
  return;
1566
- } else if (o.some((z) => z.name === l)) {
1567
- b(!0), k("A file or folder with the same name already exists!");
1574
+ } else if (o.some((F) => F.name === l)) {
1575
+ j(!0), V("A file or folder with the same name already exists!");
1568
1576
  return;
1569
- } else if (!h.isDirectory && !E) {
1570
- const z = h.name.split(".").pop(), P = l.split(".").pop();
1571
- if (z !== P) {
1572
- p(!0);
1577
+ } else if (!p.isDirectory && !z) {
1578
+ const F = p.name.split(".").pop(), P = l.split(".").pop();
1579
+ if (F !== P) {
1580
+ h(!0);
1573
1581
  return;
1574
1582
  }
1575
1583
  }
1576
- c(n, h, l), u((z) => ({ ...z, name: l })), d.close();
1584
+ c(p, l), u((F) => ({ ...F, name: l })), d.close();
1577
1585
  };
1578
1586
  return /* @__PURE__ */ r.jsx(r.Fragment, { children: s ? /* @__PURE__ */ r.jsxs("div", { className: "fm-rename-folder-container", children: [
1579
1587
  /* @__PURE__ */ r.jsx("div", { className: "fm-rename-folder-input", children: /* @__PURE__ */ r.jsxs("div", { className: "fm-rename-warning", children: [
@@ -1581,8 +1589,8 @@ const Tn = ({
1581
1589
  /* @__PURE__ */ r.jsx("div", { children: "If you change a file name extension, the file might become unusable. Are you sure you want to change it?" })
1582
1590
  ] }) }),
1583
1591
  /* @__PURE__ */ r.jsxs("div", { className: "fm-rename-folder-action", children: [
1584
- /* @__PURE__ */ r.jsx(_e, { type: "secondary", onClick: () => p(!1), children: "No" }),
1585
- /* @__PURE__ */ r.jsx(_e, { type: "danger", onClick: (V) => I(V, !0), children: "Yes" })
1592
+ /* @__PURE__ */ r.jsx(_e, { type: "secondary", onClick: () => h(!1), children: "No" }),
1593
+ /* @__PURE__ */ r.jsx(_e, { type: "danger", onClick: (M) => R(M, !0), children: "Yes" })
1586
1594
  ] })
1587
1595
  ] }) : /* @__PURE__ */ r.jsxs("div", { className: "fm-rename-folder-container", children: [
1588
1596
  /* @__PURE__ */ r.jsxs("div", { className: "fm-rename-folder-input", children: [
@@ -1592,114 +1600,117 @@ const Tn = ({
1592
1600
  ref: f,
1593
1601
  type: "text",
1594
1602
  value: l,
1595
- onChange: (V) => {
1596
- v(V.target.value), b(!1);
1603
+ onChange: (M) => {
1604
+ v(M.target.value), j(!1);
1597
1605
  },
1598
- onKeyDown: R,
1606
+ onKeyDown: C,
1599
1607
  className: "action-input"
1600
1608
  }
1601
1609
  ),
1602
- C && /* @__PURE__ */ r.jsx("div", { className: "folder-error", children: F })
1610
+ N && /* @__PURE__ */ r.jsx("div", { className: "folder-error", children: _ })
1603
1611
  ] }),
1604
- /* @__PURE__ */ r.jsx("div", { className: "fm-rename-folder-action", children: /* @__PURE__ */ r.jsx(_e, { onClick: I, type: "primary", children: "Save" }) })
1612
+ /* @__PURE__ */ r.jsx("div", { className: "fm-rename-folder-action", children: /* @__PURE__ */ r.jsx(_e, { onClick: R, type: "primary", children: "Save" }) })
1605
1613
  ] }) });
1606
1614
  }, Pn = ({
1607
1615
  files: n,
1608
- selectedFile: h,
1616
+ selectedFile: p,
1609
1617
  triggerAction: o,
1610
1618
  handleDelete: c,
1611
1619
  setIsItemSelection: d,
1612
1620
  setSelectedFile: u
1613
1621
  }) => {
1614
1622
  const l = (v) => {
1615
- c(n, v), d(!1), u(null), o.close();
1623
+ c(v), d(!1), u(null), o.close();
1616
1624
  };
1617
1625
  return /* @__PURE__ */ r.jsxs("div", { className: "file-delete-confirm", children: [
1618
1626
  /* @__PURE__ */ r.jsxs("p", { className: "file-delete-confirm-text", children: [
1619
1627
  'Are you sure you want to delete "',
1620
- h == null ? void 0 : h.name,
1628
+ p == null ? void 0 : p.name,
1621
1629
  '"?'
1622
1630
  ] }),
1623
1631
  /* @__PURE__ */ r.jsxs("div", { className: "file-delete-confirm-actions", children: [
1624
1632
  /* @__PURE__ */ r.jsx(_e, { type: "secondary", onClick: () => o.close(), children: "Cancel" }),
1625
- /* @__PURE__ */ r.jsx(_e, { type: "danger", onClick: () => l(h), children: "Delete" })
1633
+ /* @__PURE__ */ r.jsx(_e, { type: "danger", onClick: () => l(p), children: "Delete" })
1626
1634
  ] })
1627
1635
  ] });
1628
1636
  };
1629
1637
  function Sn(n) {
1630
- return oe({ 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: [] }] })(n);
1638
+ return se({ 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: [] }] })(n);
1631
1639
  }
1632
- function Nn(n) {
1633
- return oe({ 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: [] }] })(n);
1640
+ function kn(n) {
1641
+ return se({ 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: [] }] })(n);
1634
1642
  }
1635
- const kn = ({ percent: n = 0, isCanceled: h = !1, isCompleted: o = !1 }) => /* @__PURE__ */ r.jsxs("div", { role: "progressbar", className: "fm-progress", children: [
1643
+ const Nn = ({ percent: n = 0, isCanceled: p = !1, isCompleted: o = !1 }) => /* @__PURE__ */ r.jsxs("div", { role: "progressbar", className: "fm-progress", children: [
1636
1644
  /* @__PURE__ */ r.jsx("div", { className: "fm-progress-bar", children: /* @__PURE__ */ r.jsx("div", { className: "fm-progress-bar-fill", style: { width: `${n}%` } }) }),
1637
- h ? /* @__PURE__ */ r.jsx("span", { className: "fm-upload-canceled", children: "Canceled" }) : /* @__PURE__ */ r.jsx("div", { className: "fm-progress-status", children: /* @__PURE__ */ r.jsx("span", { children: o ? "Completed" : n + "% done" }) })
1645
+ p ? /* @__PURE__ */ r.jsx("span", { className: "fm-upload-canceled", children: "Canceled" }) : /* @__PURE__ */ r.jsx("div", { className: "fm-progress-status", children: /* @__PURE__ */ r.jsx("span", { children: o ? "Completed" : n + "% done" }) })
1638
1646
  ] }), Mn = (n) => n.split(".").pop(), _n = (n) => {
1639
- const h = n / 1024, o = h / 1024, c = o / 1024;
1640
- if (h < 1024)
1641
- return `${h.toFixed(2)} KB`;
1647
+ const p = n / 1024, o = p / 1024, c = o / 1024;
1648
+ if (p < 1024)
1649
+ return `${p.toFixed(2)} KB`;
1642
1650
  if (o < 1024)
1643
1651
  return `${o.toFixed(2)} MB`;
1644
1652
  if (o >= 1024)
1645
1653
  return `${c.toFixed(2)} GB`;
1646
1654
  };
1647
1655
  function An(n) {
1648
- return oe({ 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: [] }] })(n);
1656
+ return se({ 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: [] }] })(n);
1649
1657
  }
1650
- const Vn = ({ index: n, file: h, setIsUploading: o, fileUploadConfig: c }) => {
1651
- const [d, u] = Q(0), [l, v] = Q(!1), [f, s] = Q(!1), p = Lt(33), C = Fe(), b = (R) => new Promise((I, V) => {
1658
+ const Vn = ({ index: n, fileData: p, setIsUploading: o, fileUploadConfig: c, handleFileUploaded: d }) => {
1659
+ var R, M, z, F;
1660
+ const [u, l] = ee(0), [v, f] = ee(!1), [s, h] = ee(!1), N = Lt(33), j = Fe(), _ = (P) => new Promise((b, k) => {
1652
1661
  const E = new XMLHttpRequest();
1653
- C.current = E, o((y) => ({
1654
- ...y,
1662
+ j.current = E, o((O) => ({
1663
+ ...O,
1655
1664
  [n]: !0
1656
- })), E.upload.onprogress = (y) => {
1657
- if (y.lengthComputable) {
1658
- const S = Math.round(y.loaded / y.total * 100);
1659
- u(S);
1665
+ })), E.upload.onprogress = (O) => {
1666
+ if (O.lengthComputable) {
1667
+ const J = Math.round(O.loaded / O.total * 100);
1668
+ l(J);
1660
1669
  }
1661
1670
  }, E.onload = () => {
1662
- o((y) => ({
1663
- ...y,
1671
+ o((O) => ({
1672
+ ...O,
1664
1673
  [n]: !1
1665
- })), E.status === 200 ? (v(!0), I(E.response)) : V(E.statusText);
1666
- }, E.onerror = () => V(E.statusText), E.open("POST", c == null ? void 0 : c.url, !0);
1667
- const z = c == null ? void 0 : c.headers;
1668
- for (let y in z)
1669
- E.setRequestHeader(y, z[y]);
1670
- const P = new FormData();
1671
- P.append("file", R), E.send(P);
1674
+ })), E.status === 200 || E.status === 201 ? (f(!0), d(E.response), b(E.response)) : k(E.statusText);
1675
+ }, E.onerror = () => k(E.statusText), E.open("POST", c == null ? void 0 : c.url, !0);
1676
+ const L = c == null ? void 0 : c.headers;
1677
+ for (let O in L)
1678
+ E.setRequestHeader(O, L[O]);
1679
+ const Q = new FormData(), $ = P == null ? void 0 : P.appendData;
1680
+ for (let O in $)
1681
+ $[O] && Q.append(O, $[O]);
1682
+ Q.append("file", P.file), E.send(Q);
1672
1683
  });
1673
1684
  xe(() => {
1674
- C.current || b(h);
1685
+ j.current || _(p);
1675
1686
  }, []);
1676
- const F = () => {
1677
- C.current && (C.current.abort(), o((R) => ({
1678
- ...R,
1687
+ const V = () => {
1688
+ j.current && (j.current.abort(), o((P) => ({
1689
+ ...P,
1679
1690
  [n]: !1
1680
- })), s(!0), u(0));
1681
- }, k = () => {
1682
- h && (b(h), s(!1));
1691
+ })), h(!0), l(0));
1692
+ }, C = () => {
1693
+ p != null && p.file && (_(p), h(!1));
1683
1694
  };
1684
1695
  return /* @__PURE__ */ r.jsxs("li", { children: [
1685
- /* @__PURE__ */ r.jsx("div", { className: "file-icon", children: p[Mn(h.name)] ?? /* @__PURE__ */ r.jsx(bt, { size: 33 }) }),
1696
+ /* @__PURE__ */ r.jsx("div", { className: "file-icon", children: N[Mn((R = p.file) == null ? void 0 : R.name)] ?? /* @__PURE__ */ r.jsx(bt, { size: 33 }) }),
1686
1697
  /* @__PURE__ */ r.jsxs("div", { className: "file", children: [
1687
1698
  /* @__PURE__ */ r.jsxs("div", { className: "file-details", children: [
1688
1699
  /* @__PURE__ */ r.jsxs("div", { className: "file-info", children: [
1689
- /* @__PURE__ */ r.jsx("span", { className: "file-name text-truncate", title: h.name, children: h.name }),
1690
- /* @__PURE__ */ r.jsx("span", { className: "file-size", children: _n(h.size) })
1700
+ /* @__PURE__ */ r.jsx("span", { className: "file-name text-truncate", title: (M = p.file) == null ? void 0 : M.name, children: (z = p.file) == null ? void 0 : z.name }),
1701
+ /* @__PURE__ */ r.jsx("span", { className: "file-size", children: _n((F = p.file) == null ? void 0 : F.size) })
1691
1702
  ] }),
1692
- l ? /* @__PURE__ */ r.jsx(vn, { color: "#5c5bb1", title: "Uploaded" }) : f ? /* @__PURE__ */ r.jsx(An, { className: "retry-upload", title: "Retry", onClick: k }) : /* @__PURE__ */ r.jsx("div", { className: "rm-file", title: "Abort", onClick: F, children: /* @__PURE__ */ r.jsx(Sn, {}) })
1703
+ v ? /* @__PURE__ */ r.jsx(vn, { color: "#5c5bb1", title: "Uploaded" }) : s ? /* @__PURE__ */ r.jsx(An, { className: "retry-upload", title: "Retry", onClick: C }) : /* @__PURE__ */ r.jsx("div", { className: "rm-file", title: "Abort", onClick: V, children: /* @__PURE__ */ r.jsx(Sn, {}) })
1693
1704
  ] }),
1694
- /* @__PURE__ */ r.jsx(kn, { percent: d, isCanceled: f, isCompleted: l })
1705
+ /* @__PURE__ */ r.jsx(Nn, { percent: u, isCanceled: s, isCompleted: v })
1695
1706
  ] })
1696
1707
  ] });
1697
1708
  };
1698
1709
  var $t = { exports: {} };
1699
- (function(n, h) {
1710
+ (function(n, p) {
1700
1711
  (function(c, d) {
1701
1712
  n.exports = d();
1702
- })(typeof self < "u" ? self : kt, function() {
1713
+ })(typeof self < "u" ? self : Nt, function() {
1703
1714
  return (
1704
1715
  /******/
1705
1716
  function(o) {
@@ -1754,18 +1765,18 @@ var $t = { exports: {} };
1754
1765
  if (f === void 0)
1755
1766
  throw new Error("invariant requires an error message argument");
1756
1767
  });
1757
- function l(v, f, s, p, C, b, F, k) {
1768
+ function l(v, f, s, h, N, j, _, V) {
1758
1769
  if (u(f), !v) {
1759
- var R;
1770
+ var C;
1760
1771
  if (f === void 0)
1761
- R = new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");
1772
+ C = new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");
1762
1773
  else {
1763
- var I = [s, p, C, b, F, k], V = 0;
1764
- R = new Error(f.replace(/%s/g, function() {
1765
- return I[V++];
1766
- })), R.name = "Invariant Violation";
1774
+ var R = [s, h, N, j, _, V], M = 0;
1775
+ C = new Error(f.replace(/%s/g, function() {
1776
+ return R[M++];
1777
+ })), C.name = "Invariant Violation";
1767
1778
  }
1768
- throw R.framesToPop = 1, R;
1779
+ throw C.framesToPop = 1, C;
1769
1780
  }
1770
1781
  }
1771
1782
  o.exports = l;
@@ -1795,45 +1806,45 @@ var $t = { exports: {} };
1795
1806
  @license MIT
1796
1807
  */
1797
1808
  var u = Object.getOwnPropertySymbols, l = Object.prototype.hasOwnProperty, v = Object.prototype.propertyIsEnumerable;
1798
- function f(p) {
1799
- if (p == null)
1809
+ function f(h) {
1810
+ if (h == null)
1800
1811
  throw new TypeError("Object.assign cannot be called with null or undefined");
1801
- return Object(p);
1812
+ return Object(h);
1802
1813
  }
1803
1814
  function s() {
1804
1815
  try {
1805
1816
  if (!Object.assign)
1806
1817
  return !1;
1807
- var p = new String("abc");
1808
- if (p[5] = "de", Object.getOwnPropertyNames(p)[0] === "5")
1818
+ var h = new String("abc");
1819
+ if (h[5] = "de", Object.getOwnPropertyNames(h)[0] === "5")
1809
1820
  return !1;
1810
- for (var C = {}, b = 0; b < 10; b++)
1811
- C["_" + String.fromCharCode(b)] = b;
1812
- var F = Object.getOwnPropertyNames(C).map(function(R) {
1813
- return C[R];
1821
+ for (var N = {}, j = 0; j < 10; j++)
1822
+ N["_" + String.fromCharCode(j)] = j;
1823
+ var _ = Object.getOwnPropertyNames(N).map(function(C) {
1824
+ return N[C];
1814
1825
  });
1815
- if (F.join("") !== "0123456789")
1826
+ if (_.join("") !== "0123456789")
1816
1827
  return !1;
1817
- var k = {};
1818
- return "abcdefghijklmnopqrst".split("").forEach(function(R) {
1819
- k[R] = R;
1820
- }), Object.keys(Object.assign({}, k)).join("") === "abcdefghijklmnopqrst";
1828
+ var V = {};
1829
+ return "abcdefghijklmnopqrst".split("").forEach(function(C) {
1830
+ V[C] = C;
1831
+ }), Object.keys(Object.assign({}, V)).join("") === "abcdefghijklmnopqrst";
1821
1832
  } catch {
1822
1833
  return !1;
1823
1834
  }
1824
1835
  }
1825
- o.exports = s() ? Object.assign : function(p, C) {
1826
- for (var b, F = f(p), k, R = 1; R < arguments.length; R++) {
1827
- b = Object(arguments[R]);
1828
- for (var I in b)
1829
- l.call(b, I) && (F[I] = b[I]);
1836
+ o.exports = s() ? Object.assign : function(h, N) {
1837
+ for (var j, _ = f(h), V, C = 1; C < arguments.length; C++) {
1838
+ j = Object(arguments[C]);
1839
+ for (var R in j)
1840
+ l.call(j, R) && (_[R] = j[R]);
1830
1841
  if (u) {
1831
- k = u(b);
1832
- for (var V = 0; V < k.length; V++)
1833
- v.call(b, k[V]) && (F[k[V]] = b[k[V]]);
1842
+ V = u(j);
1843
+ for (var M = 0; M < V.length; M++)
1844
+ v.call(j, V[M]) && (_[V[M]] = j[V[M]]);
1834
1845
  }
1835
1846
  }
1836
- return F;
1847
+ return _;
1837
1848
  };
1838
1849
  },
1839
1850
  /* 3 */
@@ -1842,24 +1853,24 @@ var $t = { exports: {} };
1842
1853
  var u = d(1), l = u;
1843
1854
  if (process.env.NODE_ENV !== "production") {
1844
1855
  var v = function(s) {
1845
- for (var p = arguments.length, C = Array(p > 1 ? p - 1 : 0), b = 1; b < p; b++)
1846
- C[b - 1] = arguments[b];
1847
- var F = 0, k = "Warning: " + s.replace(/%s/g, function() {
1848
- return C[F++];
1856
+ for (var h = arguments.length, N = Array(h > 1 ? h - 1 : 0), j = 1; j < h; j++)
1857
+ N[j - 1] = arguments[j];
1858
+ var _ = 0, V = "Warning: " + s.replace(/%s/g, function() {
1859
+ return N[_++];
1849
1860
  });
1850
- typeof console < "u" && console.error(k);
1861
+ typeof console < "u" && console.error(V);
1851
1862
  try {
1852
- throw new Error(k);
1863
+ throw new Error(V);
1853
1864
  } catch {
1854
1865
  }
1855
1866
  };
1856
- l = function(s, p) {
1857
- if (p === void 0)
1867
+ l = function(s, h) {
1868
+ if (h === void 0)
1858
1869
  throw new Error("`warning(condition, format, ...args)` requires a warning message argument");
1859
- if (p.indexOf("Failed Composite propType: ") !== 0 && !s) {
1860
- for (var C = arguments.length, b = Array(C > 2 ? C - 2 : 0), F = 2; F < C; F++)
1861
- b[F - 2] = arguments[F];
1862
- v.apply(void 0, [p].concat(b));
1870
+ if (h.indexOf("Failed Composite propType: ") !== 0 && !s) {
1871
+ for (var N = arguments.length, j = Array(N > 2 ? N - 2 : 0), _ = 2; _ < N; _++)
1872
+ j[_ - 2] = arguments[_];
1873
+ v.apply(void 0, [h].concat(j));
1863
1874
  }
1864
1875
  };
1865
1876
  }
@@ -1882,20 +1893,20 @@ var $t = { exports: {} };
1882
1893
  function(o, c, d) {
1883
1894
  if (process.env.NODE_ENV !== "production")
1884
1895
  var u = d(0), l = d(3), v = d(4), f = {};
1885
- function s(p, C, b, F, k) {
1896
+ function s(h, N, j, _, V) {
1886
1897
  if (process.env.NODE_ENV !== "production") {
1887
- for (var R in p)
1888
- if (p.hasOwnProperty(R)) {
1889
- var I;
1898
+ for (var C in h)
1899
+ if (h.hasOwnProperty(C)) {
1900
+ var R;
1890
1901
  try {
1891
- u(typeof p[R] == "function", "%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.", F || "React class", b, R, typeof p[R]), I = p[R](C, R, F, b, null, v);
1892
- } catch (E) {
1893
- I = E;
1902
+ u(typeof h[C] == "function", "%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.", _ || "React class", j, C, typeof h[C]), R = h[C](N, C, _, j, null, v);
1903
+ } catch (z) {
1904
+ R = z;
1894
1905
  }
1895
- if (l(!I || I instanceof Error, "%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).", F || "React class", b, R, typeof I), I instanceof Error && !(I.message in f)) {
1896
- f[I.message] = !0;
1897
- var V = k ? k() : "";
1898
- l(!1, "Failed %s type: %s%s", b, I.message, V ?? "");
1906
+ if (l(!R || R instanceof Error, "%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).", _ || "React class", j, C, typeof R), R instanceof Error && !(R.message in f)) {
1907
+ f[R.message] = !0;
1908
+ var M = V ? V() : "";
1909
+ l(!1, "Failed %s type: %s%s", j, R.message, M ?? "");
1899
1910
  }
1900
1911
  }
1901
1912
  }
@@ -1909,72 +1920,72 @@ var $t = { exports: {} };
1909
1920
  value: !0
1910
1921
  });
1911
1922
  var u = Object.assign || function(P) {
1912
- for (var y = 1; y < arguments.length; y++) {
1913
- var S = arguments[y];
1914
- for (var M in S)
1915
- Object.prototype.hasOwnProperty.call(S, M) && (P[M] = S[M]);
1923
+ for (var b = 1; b < arguments.length; b++) {
1924
+ var k = arguments[b];
1925
+ for (var E in k)
1926
+ Object.prototype.hasOwnProperty.call(k, E) && (P[E] = k[E]);
1916
1927
  }
1917
1928
  return P;
1918
1929
  }, l = /* @__PURE__ */ function() {
1919
- function P(y, S) {
1920
- for (var M = 0; M < S.length; M++) {
1921
- var L = S[M];
1922
- L.enumerable = L.enumerable || !1, L.configurable = !0, "value" in L && (L.writable = !0), Object.defineProperty(y, L.key, L);
1930
+ function P(b, k) {
1931
+ for (var E = 0; E < k.length; E++) {
1932
+ var L = k[E];
1933
+ L.enumerable = L.enumerable || !1, L.configurable = !0, "value" in L && (L.writable = !0), Object.defineProperty(b, L.key, L);
1923
1934
  }
1924
1935
  }
1925
- return function(y, S, M) {
1926
- return S && P(y.prototype, S), M && P(y, M), y;
1936
+ return function(b, k, E) {
1937
+ return k && P(b.prototype, k), E && P(b, E), b;
1927
1938
  };
1928
- }(), v = d(8), f = k(v), s = d(11), p = k(s), C = d(14), b = F(C);
1929
- function F(P) {
1939
+ }(), v = d(8), f = V(v), s = d(11), h = V(s), N = d(14), j = _(N);
1940
+ function _(P) {
1930
1941
  if (P && P.__esModule)
1931
1942
  return P;
1932
- var y = {};
1943
+ var b = {};
1933
1944
  if (P != null)
1934
- for (var S in P)
1935
- Object.prototype.hasOwnProperty.call(P, S) && (y[S] = P[S]);
1936
- return y.default = P, y;
1945
+ for (var k in P)
1946
+ Object.prototype.hasOwnProperty.call(P, k) && (b[k] = P[k]);
1947
+ return b.default = P, b;
1937
1948
  }
1938
- function k(P) {
1949
+ function V(P) {
1939
1950
  return P && P.__esModule ? P : { default: P };
1940
1951
  }
1941
- function R(P, y) {
1942
- var S = {};
1943
- for (var M in P)
1944
- y.indexOf(M) >= 0 || Object.prototype.hasOwnProperty.call(P, M) && (S[M] = P[M]);
1945
- return S;
1952
+ function C(P, b) {
1953
+ var k = {};
1954
+ for (var E in P)
1955
+ b.indexOf(E) >= 0 || Object.prototype.hasOwnProperty.call(P, E) && (k[E] = P[E]);
1956
+ return k;
1946
1957
  }
1947
- function I(P, y) {
1948
- if (!(P instanceof y))
1958
+ function R(P, b) {
1959
+ if (!(P instanceof b))
1949
1960
  throw new TypeError("Cannot call a class as a function");
1950
1961
  }
1951
- function V(P, y) {
1962
+ function M(P, b) {
1952
1963
  if (!P)
1953
1964
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1954
- return y && (typeof y == "object" || typeof y == "function") ? y : P;
1965
+ return b && (typeof b == "object" || typeof b == "function") ? b : P;
1955
1966
  }
1956
- function E(P, y) {
1957
- if (typeof y != "function" && y !== null)
1958
- throw new TypeError("Super expression must either be null or a function, not " + typeof y);
1959
- P.prototype = Object.create(y && y.prototype, { constructor: { value: P, enumerable: !1, writable: !0, configurable: !0 } }), y && (Object.setPrototypeOf ? Object.setPrototypeOf(P, y) : P.__proto__ = y);
1967
+ function z(P, b) {
1968
+ if (typeof b != "function" && b !== null)
1969
+ throw new TypeError("Super expression must either be null or a function, not " + typeof b);
1970
+ P.prototype = Object.create(b && b.prototype, { constructor: { value: P, enumerable: !1, writable: !0, configurable: !0 } }), b && (Object.setPrototypeOf ? Object.setPrototypeOf(P, b) : P.__proto__ = b);
1960
1971
  }
1961
- var z = function(P) {
1962
- E(y, P);
1963
- function y() {
1964
- var S, M, L, te;
1965
- I(this, y);
1966
- for (var K = arguments.length, A = Array(K), G = 0; G < K; G++)
1967
- A[G] = arguments[G];
1968
- return te = (M = (L = V(this, (S = y.__proto__ || Object.getPrototypeOf(y)).call.apply(S, [this].concat(A))), L), L.state = {
1972
+ var F = function(P) {
1973
+ z(b, P);
1974
+ function b() {
1975
+ var k, E, L, Q;
1976
+ R(this, b);
1977
+ for (var $ = arguments.length, O = Array($), J = 0; J < $; J++)
1978
+ O[J] = arguments[J];
1979
+ return Q = (E = (L = M(this, (k = b.__proto__ || Object.getPrototypeOf(b)).call.apply(k, [this].concat(O))), L), L.state = {
1969
1980
  delayed: L.props.delay > 0
1970
- }, M), V(L, te);
1981
+ }, E), M(L, Q);
1971
1982
  }
1972
- return l(y, [{
1983
+ return l(b, [{
1973
1984
  key: "componentDidMount",
1974
1985
  value: function() {
1975
- var M = this, L = this.props.delay, te = this.state.delayed;
1976
- te && (this.timeout = setTimeout(function() {
1977
- M.setState({
1986
+ var E = this, L = this.props.delay, Q = this.state.delayed;
1987
+ Q && (this.timeout = setTimeout(function() {
1988
+ E.setState({
1978
1989
  delayed: !1
1979
1990
  });
1980
1991
  }, L));
@@ -1982,39 +1993,39 @@ var $t = { exports: {} };
1982
1993
  }, {
1983
1994
  key: "componentWillUnmount",
1984
1995
  value: function() {
1985
- var M = this.timeout;
1986
- M && clearTimeout(M);
1996
+ var E = this.timeout;
1997
+ E && clearTimeout(E);
1987
1998
  }
1988
1999
  }, {
1989
2000
  key: "render",
1990
2001
  value: function() {
1991
- var M = this.props, L = M.color;
1992
- M.delay;
1993
- var te = M.type, K = M.height, A = M.width, G = R(M, ["color", "delay", "type", "height", "width"]), re = this.state.delayed ? "blank" : te, le = b[re], ce = {
2002
+ var E = this.props, L = E.color;
2003
+ E.delay;
2004
+ var Q = E.type, $ = E.height, O = E.width, J = C(E, ["color", "delay", "type", "height", "width"]), re = this.state.delayed ? "blank" : Q, ue = j[re], fe = {
1994
2005
  fill: L,
1995
- height: K,
1996
- width: A
2006
+ height: $,
2007
+ width: O
1997
2008
  };
1998
2009
  return f.default.createElement("div", u({
1999
- style: ce,
2000
- dangerouslySetInnerHTML: { __html: le }
2001
- }, G));
2010
+ style: fe,
2011
+ dangerouslySetInnerHTML: { __html: ue }
2012
+ }, J));
2002
2013
  }
2003
- }]), y;
2014
+ }]), b;
2004
2015
  }(v.Component);
2005
- z.propTypes = {
2006
- color: p.default.string,
2007
- delay: p.default.number,
2008
- type: p.default.string,
2009
- height: p.default.oneOfType([p.default.string, p.default.number]),
2010
- width: p.default.oneOfType([p.default.string, p.default.number])
2011
- }, z.defaultProps = {
2016
+ F.propTypes = {
2017
+ color: h.default.string,
2018
+ delay: h.default.number,
2019
+ type: h.default.string,
2020
+ height: h.default.oneOfType([h.default.string, h.default.number]),
2021
+ width: h.default.oneOfType([h.default.string, h.default.number])
2022
+ }, F.defaultProps = {
2012
2023
  color: "#fff",
2013
2024
  delay: 0,
2014
2025
  type: "balls",
2015
2026
  height: 64,
2016
2027
  width: 64
2017
- }, c.default = z;
2028
+ }, c.default = F;
2018
2029
  },
2019
2030
  /* 8 */
2020
2031
  /***/
@@ -2032,10 +2043,10 @@ var $t = { exports: {} };
2032
2043
  * This source code is licensed under the MIT license found in the
2033
2044
  * LICENSE file in the root directory of this source tree.
2034
2045
  */
2035
- var u = d(2), l = d(0), v = d(5), f = d(1), s = typeof Symbol == "function" && Symbol.for, p = s ? Symbol.for("react.element") : 60103, C = s ? Symbol.for("react.portal") : 60106, b = s ? Symbol.for("react.fragment") : 60107, F = s ? Symbol.for("react.strict_mode") : 60108, k = s ? Symbol.for("react.provider") : 60109, R = s ? Symbol.for("react.context") : 60110, I = s ? Symbol.for("react.async_mode") : 60111, V = s ? Symbol.for("react.forward_ref") : 60112, E = typeof Symbol == "function" && Symbol.iterator;
2036
- function z(i) {
2037
- for (var m = arguments.length - 1, _ = "http://reactjs.org/docs/error-decoder.html?invariant=" + i, T = 0; T < m; T++) _ += "&args[]=" + encodeURIComponent(arguments[T + 1]);
2038
- l(!1, "Minified React error #" + i + "; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ", _);
2046
+ var u = d(2), l = d(0), v = d(5), f = d(1), s = typeof Symbol == "function" && Symbol.for, h = s ? Symbol.for("react.element") : 60103, N = s ? Symbol.for("react.portal") : 60106, j = s ? Symbol.for("react.fragment") : 60107, _ = s ? Symbol.for("react.strict_mode") : 60108, V = s ? Symbol.for("react.provider") : 60109, C = s ? Symbol.for("react.context") : 60110, R = s ? Symbol.for("react.async_mode") : 60111, M = s ? Symbol.for("react.forward_ref") : 60112, z = typeof Symbol == "function" && Symbol.iterator;
2047
+ function F(i) {
2048
+ for (var m = arguments.length - 1, H = "http://reactjs.org/docs/error-decoder.html?invariant=" + i, S = 0; S < m; S++) H += "&args[]=" + encodeURIComponent(arguments[S + 1]);
2049
+ l(!1, "Minified React error #" + i + "; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ", H);
2039
2050
  }
2040
2051
  var P = { isMounted: function() {
2041
2052
  return !1;
@@ -2043,145 +2054,145 @@ var $t = { exports: {} };
2043
2054
  }, enqueueReplaceState: function() {
2044
2055
  }, enqueueSetState: function() {
2045
2056
  } };
2046
- function y(i, m, _) {
2047
- this.props = i, this.context = m, this.refs = v, this.updater = _ || P;
2057
+ function b(i, m, H) {
2058
+ this.props = i, this.context = m, this.refs = v, this.updater = H || P;
2048
2059
  }
2049
- y.prototype.isReactComponent = {}, y.prototype.setState = function(i, m) {
2050
- typeof i != "object" && typeof i != "function" && i != null && z("85"), this.updater.enqueueSetState(this, i, m, "setState");
2051
- }, y.prototype.forceUpdate = function(i) {
2060
+ b.prototype.isReactComponent = {}, b.prototype.setState = function(i, m) {
2061
+ typeof i != "object" && typeof i != "function" && i != null && F("85"), this.updater.enqueueSetState(this, i, m, "setState");
2062
+ }, b.prototype.forceUpdate = function(i) {
2052
2063
  this.updater.enqueueForceUpdate(this, i, "forceUpdate");
2053
2064
  };
2054
- function S() {
2065
+ function k() {
2055
2066
  }
2056
- S.prototype = y.prototype;
2057
- function M(i, m, _) {
2058
- this.props = i, this.context = m, this.refs = v, this.updater = _ || P;
2067
+ k.prototype = b.prototype;
2068
+ function E(i, m, H) {
2069
+ this.props = i, this.context = m, this.refs = v, this.updater = H || P;
2059
2070
  }
2060
- var L = M.prototype = new S();
2061
- L.constructor = M, u(L, y.prototype), L.isPureReactComponent = !0;
2062
- var te = { current: null }, K = Object.prototype.hasOwnProperty, A = { key: !0, ref: !0, __self: !0, __source: !0 };
2063
- function G(i, m, _) {
2064
- var T = void 0, D = {}, W = null, se = null;
2065
- if (m != null) for (T in m.ref !== void 0 && (se = m.ref), m.key !== void 0 && (W = "" + m.key), m) K.call(m, T) && !A.hasOwnProperty(T) && (D[T] = m[T]);
2066
- var ne = arguments.length - 2;
2067
- if (ne === 1) D.children = _;
2068
- else if (1 < ne) {
2069
- for (var me = Array(ne), he = 0; he < ne; he++) me[he] = arguments[he + 2];
2071
+ var L = E.prototype = new k();
2072
+ L.constructor = E, u(L, b.prototype), L.isPureReactComponent = !0;
2073
+ var Q = { current: null }, $ = Object.prototype.hasOwnProperty, O = { key: !0, ref: !0, __self: !0, __source: !0 };
2074
+ function J(i, m, H) {
2075
+ var S = void 0, D = {}, Y = null, le = null;
2076
+ if (m != null) for (S in m.ref !== void 0 && (le = m.ref), m.key !== void 0 && (Y = "" + m.key), m) $.call(m, S) && !O.hasOwnProperty(S) && (D[S] = m[S]);
2077
+ var ae = arguments.length - 2;
2078
+ if (ae === 1) D.children = H;
2079
+ else if (1 < ae) {
2080
+ for (var me = Array(ae), ve = 0; ve < ae; ve++) me[ve] = arguments[ve + 2];
2070
2081
  D.children = me;
2071
2082
  }
2072
- if (i && i.defaultProps) for (T in ne = i.defaultProps, ne) D[T] === void 0 && (D[T] = ne[T]);
2073
- return { $$typeof: p, type: i, key: W, ref: se, props: D, _owner: te.current };
2083
+ if (i && i.defaultProps) for (S in ae = i.defaultProps, ae) D[S] === void 0 && (D[S] = ae[S]);
2084
+ return { $$typeof: h, type: i, key: Y, ref: le, props: D, _owner: Q.current };
2074
2085
  }
2075
2086
  function re(i) {
2076
- return typeof i == "object" && i !== null && i.$$typeof === p;
2087
+ return typeof i == "object" && i !== null && i.$$typeof === h;
2077
2088
  }
2078
- function le(i) {
2089
+ function ue(i) {
2079
2090
  var m = { "=": "=0", ":": "=2" };
2080
- return "$" + ("" + i).replace(/[=:]/g, function(_) {
2081
- return m[_];
2091
+ return "$" + ("" + i).replace(/[=:]/g, function(H) {
2092
+ return m[H];
2082
2093
  });
2083
2094
  }
2084
- var ce = /\/+/g, ue = [];
2085
- function ve(i, m, _, T) {
2086
- if (ue.length) {
2087
- var D = ue.pop();
2088
- return D.result = i, D.keyPrefix = m, D.func = _, D.context = T, D.count = 0, D;
2095
+ var fe = /\/+/g, ne = [];
2096
+ function he(i, m, H, S) {
2097
+ if (ne.length) {
2098
+ var D = ne.pop();
2099
+ return D.result = i, D.keyPrefix = m, D.func = H, D.context = S, D.count = 0, D;
2089
2100
  }
2090
- return { result: i, keyPrefix: m, func: _, context: T, count: 0 };
2101
+ return { result: i, keyPrefix: m, func: H, context: S, count: 0 };
2091
2102
  }
2092
- function fe(i) {
2093
- i.result = null, i.keyPrefix = null, i.func = null, i.context = null, i.count = 0, 10 > ue.length && ue.push(i);
2103
+ function ce(i) {
2104
+ i.result = null, i.keyPrefix = null, i.func = null, i.context = null, i.count = 0, 10 > ne.length && ne.push(i);
2094
2105
  }
2095
- function J(i, m, _, T) {
2106
+ function K(i, m, H, S) {
2096
2107
  var D = typeof i;
2097
2108
  (D === "undefined" || D === "boolean") && (i = null);
2098
- var W = !1;
2099
- if (i === null) W = !0;
2109
+ var Y = !1;
2110
+ if (i === null) Y = !0;
2100
2111
  else switch (D) {
2101
2112
  case "string":
2102
2113
  case "number":
2103
- W = !0;
2114
+ Y = !0;
2104
2115
  break;
2105
2116
  case "object":
2106
2117
  switch (i.$$typeof) {
2107
- case p:
2108
- case C:
2109
- W = !0;
2118
+ case h:
2119
+ case N:
2120
+ Y = !0;
2110
2121
  }
2111
2122
  }
2112
- if (W) return _(T, i, m === "" ? "." + de(i, 0) : m), 1;
2113
- if (W = 0, m = m === "" ? "." : m + ":", Array.isArray(i)) for (var se = 0; se < i.length; se++) {
2114
- D = i[se];
2115
- var ne = m + de(D, se);
2116
- W += J(D, ne, _, T);
2123
+ if (Y) return H(S, i, m === "" ? "." + de(i, 0) : m), 1;
2124
+ if (Y = 0, m = m === "" ? "." : m + ":", Array.isArray(i)) for (var le = 0; le < i.length; le++) {
2125
+ D = i[le];
2126
+ var ae = m + de(D, le);
2127
+ Y += K(D, ae, H, S);
2117
2128
  }
2118
- else if (i === null || typeof i > "u" ? ne = null : (ne = E && i[E] || i["@@iterator"], ne = typeof ne == "function" ? ne : null), typeof ne == "function") for (i = ne.call(i), se = 0; !(D = i.next()).done; ) D = D.value, ne = m + de(D, se++), W += J(D, ne, _, T);
2119
- else D === "object" && (_ = "" + i, z("31", _ === "[object Object]" ? "object with keys {" + Object.keys(i).join(", ") + "}" : _, ""));
2120
- return W;
2129
+ else if (i === null || typeof i > "u" ? ae = null : (ae = z && i[z] || i["@@iterator"], ae = typeof ae == "function" ? ae : null), typeof ae == "function") for (i = ae.call(i), le = 0; !(D = i.next()).done; ) D = D.value, ae = m + de(D, le++), Y += K(D, ae, H, S);
2130
+ else D === "object" && (H = "" + i, F("31", H === "[object Object]" ? "object with keys {" + Object.keys(i).join(", ") + "}" : H, ""));
2131
+ return Y;
2121
2132
  }
2122
2133
  function de(i, m) {
2123
- return typeof i == "object" && i !== null && i.key != null ? le(i.key) : m.toString(36);
2134
+ return typeof i == "object" && i !== null && i.key != null ? ue(i.key) : m.toString(36);
2124
2135
  }
2125
2136
  function pe(i, m) {
2126
2137
  i.func.call(i.context, m, i.count++);
2127
2138
  }
2128
- function w(i, m, _) {
2129
- var T = i.result, D = i.keyPrefix;
2130
- i = i.func.call(i.context, m, i.count++), Array.isArray(i) ? H(i, T, _, f.thatReturnsArgument) : i != null && (re(i) && (m = D + (!i.key || m && m.key === i.key ? "" : ("" + i.key).replace(ce, "$&/") + "/") + _, i = { $$typeof: p, type: i.type, key: m, ref: i.ref, props: i.props, _owner: i._owner }), T.push(i));
2139
+ function w(i, m, H) {
2140
+ var S = i.result, D = i.keyPrefix;
2141
+ i = i.func.call(i.context, m, i.count++), Array.isArray(i) ? I(i, S, H, f.thatReturnsArgument) : i != null && (re(i) && (m = D + (!i.key || m && m.key === i.key ? "" : ("" + i.key).replace(fe, "$&/") + "/") + H, i = { $$typeof: h, type: i.type, key: m, ref: i.ref, props: i.props, _owner: i._owner }), S.push(i));
2131
2142
  }
2132
- function H(i, m, _, T, D) {
2133
- var W = "";
2134
- _ != null && (W = ("" + _).replace(ce, "$&/") + "/"), m = ve(m, W, T, D), i == null || J(i, "", w, m), fe(m);
2143
+ function I(i, m, H, S, D) {
2144
+ var Y = "";
2145
+ H != null && (Y = ("" + H).replace(fe, "$&/") + "/"), m = he(m, Y, S, D), i == null || K(i, "", w, m), ce(m);
2135
2146
  }
2136
- var B = { Children: { map: function(i, m, _) {
2147
+ var W = { Children: { map: function(i, m, H) {
2137
2148
  if (i == null) return i;
2138
- var T = [];
2139
- return H(i, T, null, m, _), T;
2140
- }, forEach: function(i, m, _) {
2149
+ var S = [];
2150
+ return I(i, S, null, m, H), S;
2151
+ }, forEach: function(i, m, H) {
2141
2152
  if (i == null) return i;
2142
- m = ve(null, null, m, _), i == null || J(i, "", pe, m), fe(m);
2153
+ m = he(null, null, m, H), i == null || K(i, "", pe, m), ce(m);
2143
2154
  }, count: function(i) {
2144
- return i == null ? 0 : J(i, "", f.thatReturnsNull, null);
2155
+ return i == null ? 0 : K(i, "", f.thatReturnsNull, null);
2145
2156
  }, toArray: function(i) {
2146
2157
  var m = [];
2147
- return H(i, m, null, f.thatReturnsArgument), m;
2158
+ return I(i, m, null, f.thatReturnsArgument), m;
2148
2159
  }, only: function(i) {
2149
- return re(i) || z("143"), i;
2160
+ return re(i) || F("143"), i;
2150
2161
  } }, createRef: function() {
2151
2162
  return { current: null };
2152
- }, Component: y, PureComponent: M, createContext: function(i, m) {
2163
+ }, Component: b, PureComponent: E, createContext: function(i, m) {
2153
2164
  return m === void 0 && (m = null), i = {
2154
- $$typeof: R,
2165
+ $$typeof: C,
2155
2166
  _calculateChangedBits: m,
2156
2167
  _defaultValue: i,
2157
2168
  _currentValue: i,
2158
2169
  _changedBits: 0,
2159
2170
  Provider: null,
2160
2171
  Consumer: null
2161
- }, i.Provider = { $$typeof: k, _context: i }, i.Consumer = i;
2172
+ }, i.Provider = { $$typeof: V, _context: i }, i.Consumer = i;
2162
2173
  }, forwardRef: function(i) {
2163
- return { $$typeof: V, render: i };
2164
- }, Fragment: b, StrictMode: F, unstable_AsyncMode: I, createElement: G, cloneElement: function(i, m, _) {
2165
- i == null && z("267", i);
2166
- var T = void 0, D = u({}, i.props), W = i.key, se = i.ref, ne = i._owner;
2174
+ return { $$typeof: M, render: i };
2175
+ }, Fragment: j, StrictMode: _, unstable_AsyncMode: R, createElement: J, cloneElement: function(i, m, H) {
2176
+ i == null && F("267", i);
2177
+ var S = void 0, D = u({}, i.props), Y = i.key, le = i.ref, ae = i._owner;
2167
2178
  if (m != null) {
2168
- m.ref !== void 0 && (se = m.ref, ne = te.current), m.key !== void 0 && (W = "" + m.key);
2179
+ m.ref !== void 0 && (le = m.ref, ae = Q.current), m.key !== void 0 && (Y = "" + m.key);
2169
2180
  var me = void 0;
2170
2181
  i.type && i.type.defaultProps && (me = i.type.defaultProps);
2171
- for (T in m) K.call(m, T) && !A.hasOwnProperty(T) && (D[T] = m[T] === void 0 && me !== void 0 ? me[T] : m[T]);
2182
+ for (S in m) $.call(m, S) && !O.hasOwnProperty(S) && (D[S] = m[S] === void 0 && me !== void 0 ? me[S] : m[S]);
2172
2183
  }
2173
- if (T = arguments.length - 2, T === 1) D.children = _;
2174
- else if (1 < T) {
2175
- me = Array(T);
2176
- for (var he = 0; he < T; he++) me[he] = arguments[he + 2];
2184
+ if (S = arguments.length - 2, S === 1) D.children = H;
2185
+ else if (1 < S) {
2186
+ me = Array(S);
2187
+ for (var ve = 0; ve < S; ve++) me[ve] = arguments[ve + 2];
2177
2188
  D.children = me;
2178
2189
  }
2179
- return { $$typeof: p, type: i.type, key: W, ref: se, props: D, _owner: ne };
2190
+ return { $$typeof: h, type: i.type, key: Y, ref: le, props: D, _owner: ae };
2180
2191
  }, createFactory: function(i) {
2181
- var m = G.bind(null, i);
2192
+ var m = J.bind(null, i);
2182
2193
  return m.type = i, m;
2183
- }, isValidElement: re, version: "16.3.2", __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: { ReactCurrentOwner: te, assign: u } }, Y = Object.freeze({ default: B }), U = Y && B || Y;
2184
- o.exports = U.default ? U.default : U;
2194
+ }, isValidElement: re, version: "16.3.2", __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: { ReactCurrentOwner: Q, assign: u } }, q = Object.freeze({ default: W }), B = q && W || q;
2195
+ o.exports = B.default ? B.default : B;
2185
2196
  },
2186
2197
  /* 10 */
2187
2198
  /***/
@@ -2195,21 +2206,21 @@ var $t = { exports: {} };
2195
2206
  * LICENSE file in the root directory of this source tree.
2196
2207
  */
2197
2208
  process.env.NODE_ENV !== "production" && function() {
2198
- var u = d(2), l = d(0), v = d(5), f = d(3), s = d(1), p = d(6), C = "16.3.2", b = typeof Symbol == "function" && Symbol.for, F = b ? Symbol.for("react.element") : 60103, k = b ? Symbol.for("react.call") : 60104, R = b ? Symbol.for("react.return") : 60105, I = b ? Symbol.for("react.portal") : 60106, V = b ? Symbol.for("react.fragment") : 60107, E = b ? Symbol.for("react.strict_mode") : 60108, z = b ? Symbol.for("react.provider") : 60109, P = b ? Symbol.for("react.context") : 60110, y = b ? Symbol.for("react.async_mode") : 60111, S = b ? Symbol.for("react.forward_ref") : 60112, M = typeof Symbol == "function" && Symbol.iterator, L = "@@iterator";
2199
- function te(e) {
2209
+ var u = d(2), l = d(0), v = d(5), f = d(3), s = d(1), h = d(6), N = "16.3.2", j = typeof Symbol == "function" && Symbol.for, _ = j ? Symbol.for("react.element") : 60103, V = j ? Symbol.for("react.call") : 60104, C = j ? Symbol.for("react.return") : 60105, R = j ? Symbol.for("react.portal") : 60106, M = j ? Symbol.for("react.fragment") : 60107, z = j ? Symbol.for("react.strict_mode") : 60108, F = j ? Symbol.for("react.provider") : 60109, P = j ? Symbol.for("react.context") : 60110, b = j ? Symbol.for("react.async_mode") : 60111, k = j ? Symbol.for("react.forward_ref") : 60112, E = typeof Symbol == "function" && Symbol.iterator, L = "@@iterator";
2210
+ function Q(e) {
2200
2211
  if (e === null || typeof e > "u")
2201
2212
  return null;
2202
- var a = M && e[M] || e[L];
2213
+ var a = E && e[E] || e[L];
2203
2214
  return typeof a == "function" ? a : null;
2204
2215
  }
2205
- var K = function() {
2216
+ var $ = function() {
2206
2217
  };
2207
2218
  {
2208
- var A = function(e) {
2209
- for (var a = arguments.length, g = Array(a > 1 ? a - 1 : 0), x = 1; x < a; x++)
2210
- g[x - 1] = arguments[x];
2211
- var O = 0, X = "Warning: " + e.replace(/%s/g, function() {
2212
- return g[O++];
2219
+ var O = function(e) {
2220
+ for (var a = arguments.length, g = Array(a > 1 ? a - 1 : 0), y = 1; y < a; y++)
2221
+ g[y - 1] = arguments[y];
2222
+ var T = 0, X = "Warning: " + e.replace(/%s/g, function() {
2223
+ return g[T++];
2213
2224
  });
2214
2225
  typeof console < "u" && console.warn(X);
2215
2226
  try {
@@ -2217,26 +2228,26 @@ var $t = { exports: {} };
2217
2228
  } catch {
2218
2229
  }
2219
2230
  };
2220
- K = function(e, a) {
2231
+ $ = function(e, a) {
2221
2232
  if (a === void 0)
2222
2233
  throw new Error("`warning(condition, format, ...args)` requires a warning message argument");
2223
2234
  if (!e) {
2224
- for (var g = arguments.length, x = Array(g > 2 ? g - 2 : 0), O = 2; O < g; O++)
2225
- x[O - 2] = arguments[O];
2226
- A.apply(void 0, [a].concat(x));
2235
+ for (var g = arguments.length, y = Array(g > 2 ? g - 2 : 0), T = 2; T < g; T++)
2236
+ y[T - 2] = arguments[T];
2237
+ O.apply(void 0, [a].concat(y));
2227
2238
  }
2228
2239
  };
2229
2240
  }
2230
- var G = K, re = {};
2231
- function le(e, a) {
2241
+ var J = $, re = {};
2242
+ function ue(e, a) {
2232
2243
  {
2233
- var g = e.constructor, x = g && (g.displayName || g.name) || "ReactClass", O = x + "." + a;
2234
- if (re[O])
2244
+ var g = e.constructor, y = g && (g.displayName || g.name) || "ReactClass", T = y + "." + a;
2245
+ if (re[T])
2235
2246
  return;
2236
- f(!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.", a, x), re[O] = !0;
2247
+ f(!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.", a, y), re[T] = !0;
2237
2248
  }
2238
2249
  }
2239
- var ce = {
2250
+ var fe = {
2240
2251
  /**
2241
2252
  * Checks whether or not this composite component is mounted.
2242
2253
  * @param {ReactClass} publicInstance The instance we want to test.
@@ -2263,7 +2274,7 @@ var $t = { exports: {} };
2263
2274
  * @internal
2264
2275
  */
2265
2276
  enqueueForceUpdate: function(e, a, g) {
2266
- le(e, "forceUpdate");
2277
+ ue(e, "forceUpdate");
2267
2278
  },
2268
2279
  /**
2269
2280
  * Replaces all of the state. Always use this or `setState` to mutate state.
@@ -2278,8 +2289,8 @@ var $t = { exports: {} };
2278
2289
  * @param {?string} callerName name of the calling function in the public API.
2279
2290
  * @internal
2280
2291
  */
2281
- enqueueReplaceState: function(e, a, g, x) {
2282
- le(e, "replaceState");
2292
+ enqueueReplaceState: function(e, a, g, y) {
2293
+ ue(e, "replaceState");
2283
2294
  },
2284
2295
  /**
2285
2296
  * Sets a subset of the state. This only exists because _pendingState is
@@ -2293,68 +2304,68 @@ var $t = { exports: {} };
2293
2304
  * @param {?string} Name of the calling function in the public API.
2294
2305
  * @internal
2295
2306
  */
2296
- enqueueSetState: function(e, a, g, x) {
2297
- le(e, "setState");
2307
+ enqueueSetState: function(e, a, g, y) {
2308
+ ue(e, "setState");
2298
2309
  }
2299
2310
  };
2300
- function ue(e, a, g) {
2301
- this.props = e, this.context = a, this.refs = v, this.updater = g || ce;
2311
+ function ne(e, a, g) {
2312
+ this.props = e, this.context = a, this.refs = v, this.updater = g || fe;
2302
2313
  }
2303
- ue.prototype.isReactComponent = {}, ue.prototype.setState = function(e, a) {
2314
+ ne.prototype.isReactComponent = {}, ne.prototype.setState = function(e, a) {
2304
2315
  typeof e == "object" || typeof e == "function" || e == null || l(!1, "setState(...): takes an object of state variables to update or a function which returns an object of state variables."), this.updater.enqueueSetState(this, e, a, "setState");
2305
- }, ue.prototype.forceUpdate = function(e) {
2316
+ }, ne.prototype.forceUpdate = function(e) {
2306
2317
  this.updater.enqueueForceUpdate(this, e, "forceUpdate");
2307
2318
  };
2308
2319
  {
2309
- var ve = {
2320
+ var he = {
2310
2321
  isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],
2311
2322
  replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
2312
- }, fe = function(e, a) {
2313
- Object.defineProperty(ue.prototype, e, {
2323
+ }, ce = function(e, a) {
2324
+ Object.defineProperty(ne.prototype, e, {
2314
2325
  get: function() {
2315
- G(!1, "%s(...) is deprecated in plain JavaScript React classes. %s", a[0], a[1]);
2326
+ J(!1, "%s(...) is deprecated in plain JavaScript React classes. %s", a[0], a[1]);
2316
2327
  }
2317
2328
  });
2318
2329
  };
2319
- for (var J in ve)
2320
- ve.hasOwnProperty(J) && fe(J, ve[J]);
2330
+ for (var K in he)
2331
+ he.hasOwnProperty(K) && ce(K, he[K]);
2321
2332
  }
2322
2333
  function de() {
2323
2334
  }
2324
- de.prototype = ue.prototype;
2335
+ de.prototype = ne.prototype;
2325
2336
  function pe(e, a, g) {
2326
- this.props = e, this.context = a, this.refs = v, this.updater = g || ce;
2337
+ this.props = e, this.context = a, this.refs = v, this.updater = g || fe;
2327
2338
  }
2328
2339
  var w = pe.prototype = new de();
2329
- w.constructor = pe, u(w, ue.prototype), w.isPureReactComponent = !0;
2330
- function H() {
2340
+ w.constructor = pe, u(w, ne.prototype), w.isPureReactComponent = !0;
2341
+ function I() {
2331
2342
  var e = {
2332
2343
  current: null
2333
2344
  };
2334
2345
  return Object.seal(e), e;
2335
2346
  }
2336
- var B = {
2347
+ var W = {
2337
2348
  /**
2338
2349
  * @internal
2339
2350
  * @type {ReactComponent}
2340
2351
  */
2341
2352
  current: null
2342
- }, Y = Object.prototype.hasOwnProperty, U = {
2353
+ }, q = Object.prototype.hasOwnProperty, B = {
2343
2354
  key: !0,
2344
2355
  ref: !0,
2345
2356
  __self: !0,
2346
2357
  __source: !0
2347
2358
  }, i = void 0, m = void 0;
2348
- function _(e) {
2349
- if (Y.call(e, "ref")) {
2359
+ function H(e) {
2360
+ if (q.call(e, "ref")) {
2350
2361
  var a = Object.getOwnPropertyDescriptor(e, "ref").get;
2351
2362
  if (a && a.isReactWarning)
2352
2363
  return !1;
2353
2364
  }
2354
2365
  return e.ref !== void 0;
2355
2366
  }
2356
- function T(e) {
2357
- if (Y.call(e, "key")) {
2367
+ function S(e) {
2368
+ if (q.call(e, "key")) {
2358
2369
  var a = Object.getOwnPropertyDescriptor(e, "key").get;
2359
2370
  if (a && a.isReactWarning)
2360
2371
  return !1;
@@ -2370,7 +2381,7 @@ var $t = { exports: {} };
2370
2381
  configurable: !0
2371
2382
  });
2372
2383
  }
2373
- function W(e, a) {
2384
+ function Y(e, a) {
2374
2385
  var g = function() {
2375
2386
  m || (m = !0, f(!1, "%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://fb.me/react-special-props)", a));
2376
2387
  };
@@ -2379,10 +2390,10 @@ var $t = { exports: {} };
2379
2390
  configurable: !0
2380
2391
  });
2381
2392
  }
2382
- var se = function(e, a, g, x, O, X, Z) {
2383
- var q = {
2393
+ var le = function(e, a, g, y, T, X, Z) {
2394
+ var G = {
2384
2395
  // This tag allows us to uniquely identify this as a React Element
2385
- $$typeof: F,
2396
+ $$typeof: _,
2386
2397
  // Built-in properties that belong on the element
2387
2398
  type: e,
2388
2399
  key: a,
@@ -2391,75 +2402,75 @@ var $t = { exports: {} };
2391
2402
  // Record the component responsible for creating this element.
2392
2403
  _owner: X
2393
2404
  };
2394
- return q._store = {}, Object.defineProperty(q._store, "validated", {
2405
+ return G._store = {}, Object.defineProperty(G._store, "validated", {
2395
2406
  configurable: !1,
2396
2407
  enumerable: !1,
2397
2408
  writable: !0,
2398
2409
  value: !1
2399
- }), Object.defineProperty(q, "_self", {
2410
+ }), Object.defineProperty(G, "_self", {
2400
2411
  configurable: !1,
2401
2412
  enumerable: !1,
2402
2413
  writable: !1,
2403
- value: x
2404
- }), Object.defineProperty(q, "_source", {
2414
+ value: y
2415
+ }), Object.defineProperty(G, "_source", {
2405
2416
  configurable: !1,
2406
2417
  enumerable: !1,
2407
2418
  writable: !1,
2408
- value: O
2409
- }), Object.freeze && (Object.freeze(q.props), Object.freeze(q)), q;
2419
+ value: T
2420
+ }), Object.freeze && (Object.freeze(G.props), Object.freeze(G)), G;
2410
2421
  };
2411
- function ne(e, a, g) {
2412
- var x = void 0, O = {}, X = null, Z = null, q = null, ie = null;
2422
+ function ae(e, a, g) {
2423
+ var y = void 0, T = {}, X = null, Z = null, G = null, oe = null;
2413
2424
  if (a != null) {
2414
- _(a) && (Z = a.ref), T(a) && (X = "" + a.key), q = a.__self === void 0 ? null : a.__self, ie = a.__source === void 0 ? null : a.__source;
2415
- for (x in a)
2416
- Y.call(a, x) && !U.hasOwnProperty(x) && (O[x] = a[x]);
2425
+ H(a) && (Z = a.ref), S(a) && (X = "" + a.key), G = a.__self === void 0 ? null : a.__self, oe = a.__source === void 0 ? null : a.__source;
2426
+ for (y in a)
2427
+ q.call(a, y) && !B.hasOwnProperty(y) && (T[y] = a[y]);
2417
2428
  }
2418
2429
  var ye = arguments.length - 2;
2419
2430
  if (ye === 1)
2420
- O.children = g;
2431
+ T.children = g;
2421
2432
  else if (ye > 1) {
2422
2433
  for (var be = Array(ye), ge = 0; ge < ye; ge++)
2423
2434
  be[ge] = arguments[ge + 2];
2424
- Object.freeze && Object.freeze(be), O.children = be;
2435
+ Object.freeze && Object.freeze(be), T.children = be;
2425
2436
  }
2426
2437
  if (e && e.defaultProps) {
2427
2438
  var Me = e.defaultProps;
2428
- for (x in Me)
2429
- O[x] === void 0 && (O[x] = Me[x]);
2439
+ for (y in Me)
2440
+ T[y] === void 0 && (T[y] = Me[y]);
2430
2441
  }
2431
- if ((X || Z) && (typeof O.$$typeof > "u" || O.$$typeof !== F)) {
2442
+ if ((X || Z) && (typeof T.$$typeof > "u" || T.$$typeof !== _)) {
2432
2443
  var Ce = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
2433
- X && D(O, Ce), Z && W(O, Ce);
2444
+ X && D(T, Ce), Z && Y(T, Ce);
2434
2445
  }
2435
- return se(e, X, Z, q, ie, B.current, O);
2446
+ return le(e, X, Z, G, oe, W.current, T);
2436
2447
  }
2437
2448
  function me(e, a) {
2438
- var g = se(e.type, a, e.ref, e._self, e._source, e._owner, e.props);
2449
+ var g = le(e.type, a, e.ref, e._self, e._source, e._owner, e.props);
2439
2450
  return g;
2440
2451
  }
2441
- function he(e, a, g) {
2452
+ function ve(e, a, g) {
2442
2453
  e == null && l(!1, "React.cloneElement(...): The argument must be a React element, but you passed %s.", e);
2443
- var x = void 0, O = u({}, e.props), X = e.key, Z = e.ref, q = e._self, ie = e._source, ye = e._owner;
2454
+ var y = void 0, T = u({}, e.props), X = e.key, Z = e.ref, G = e._self, oe = e._source, ye = e._owner;
2444
2455
  if (a != null) {
2445
- _(a) && (Z = a.ref, ye = B.current), T(a) && (X = "" + a.key);
2456
+ H(a) && (Z = a.ref, ye = W.current), S(a) && (X = "" + a.key);
2446
2457
  var be = void 0;
2447
2458
  e.type && e.type.defaultProps && (be = e.type.defaultProps);
2448
- for (x in a)
2449
- Y.call(a, x) && !U.hasOwnProperty(x) && (a[x] === void 0 && be !== void 0 ? O[x] = be[x] : O[x] = a[x]);
2459
+ for (y in a)
2460
+ q.call(a, y) && !B.hasOwnProperty(y) && (a[y] === void 0 && be !== void 0 ? T[y] = be[y] : T[y] = a[y]);
2450
2461
  }
2451
2462
  var ge = arguments.length - 2;
2452
2463
  if (ge === 1)
2453
- O.children = g;
2464
+ T.children = g;
2454
2465
  else if (ge > 1) {
2455
2466
  for (var Me = Array(ge), Ce = 0; Ce < ge; Ce++)
2456
2467
  Me[Ce] = arguments[Ce + 2];
2457
- O.children = Me;
2468
+ T.children = Me;
2458
2469
  }
2459
- return se(e.type, X, Z, q, ie, ye, O);
2470
+ return le(e.type, X, Z, G, oe, ye, T);
2460
2471
  }
2461
2472
  function Re(e) {
2462
- return typeof e == "object" && e !== null && e.$$typeof === F;
2473
+ return typeof e == "object" && e !== null && e.$$typeof === _;
2463
2474
  }
2464
2475
  var we = {};
2465
2476
  we.getCurrentStack = null, we.getStackAddendum = function() {
@@ -2471,114 +2482,114 @@ var $t = { exports: {} };
2471
2482
  var a = /[=:]/g, g = {
2472
2483
  "=": "=0",
2473
2484
  ":": "=2"
2474
- }, x = ("" + e).replace(a, function(O) {
2475
- return g[O];
2485
+ }, y = ("" + e).replace(a, function(T) {
2486
+ return g[T];
2476
2487
  });
2477
- return "$" + x;
2488
+ return "$" + y;
2478
2489
  }
2479
2490
  var Ae = !1, lt = /\/+/g;
2480
2491
  function qe(e) {
2481
2492
  return ("" + e).replace(lt, "$&/");
2482
2493
  }
2483
- var Ge = 10, Ne = [];
2484
- function Te(e, a, g, x) {
2485
- if (Ne.length) {
2486
- var O = Ne.pop();
2487
- return O.result = e, O.keyPrefix = a, O.func = g, O.context = x, O.count = 0, O;
2494
+ var Ge = 10, ke = [];
2495
+ function Te(e, a, g, y) {
2496
+ if (ke.length) {
2497
+ var T = ke.pop();
2498
+ return T.result = e, T.keyPrefix = a, T.func = g, T.context = y, T.count = 0, T;
2488
2499
  } else
2489
2500
  return {
2490
2501
  result: e,
2491
2502
  keyPrefix: a,
2492
2503
  func: g,
2493
- context: x,
2504
+ context: y,
2494
2505
  count: 0
2495
2506
  };
2496
2507
  }
2497
2508
  function Je(e) {
2498
- e.result = null, e.keyPrefix = null, e.func = null, e.context = null, e.count = 0, Ne.length < Ge && Ne.push(e);
2509
+ e.result = null, e.keyPrefix = null, e.func = null, e.context = null, e.count = 0, ke.length < Ge && ke.push(e);
2499
2510
  }
2500
- function Ve(e, a, g, x) {
2501
- var O = typeof e;
2502
- (O === "undefined" || O === "boolean") && (e = null);
2511
+ function Ve(e, a, g, y) {
2512
+ var T = typeof e;
2513
+ (T === "undefined" || T === "boolean") && (e = null);
2503
2514
  var X = !1;
2504
2515
  if (e === null)
2505
2516
  X = !0;
2506
2517
  else
2507
- switch (O) {
2518
+ switch (T) {
2508
2519
  case "string":
2509
2520
  case "number":
2510
2521
  X = !0;
2511
2522
  break;
2512
2523
  case "object":
2513
2524
  switch (e.$$typeof) {
2514
- case F:
2515
- case I:
2525
+ case _:
2526
+ case R:
2516
2527
  X = !0;
2517
2528
  }
2518
2529
  }
2519
2530
  if (X)
2520
2531
  return g(
2521
- x,
2532
+ y,
2522
2533
  e,
2523
2534
  // If it's the only child, treat the name as if it was wrapped in an array
2524
2535
  // so that it's consistent if the number of children grows.
2525
- a === "" ? Se + ke(e, 0) : a
2536
+ a === "" ? Se + Ne(e, 0) : a
2526
2537
  ), 1;
2527
- var Z = void 0, q = void 0, ie = 0, ye = a === "" ? Se : a + ot;
2538
+ var Z = void 0, G = void 0, oe = 0, ye = a === "" ? Se : a + ot;
2528
2539
  if (Array.isArray(e))
2529
2540
  for (var be = 0; be < e.length; be++)
2530
- Z = e[be], q = ye + ke(Z, be), ie += Ve(Z, q, g, x);
2541
+ Z = e[be], G = ye + Ne(Z, be), oe += Ve(Z, G, g, y);
2531
2542
  else {
2532
- var ge = te(e);
2543
+ var ge = Q(e);
2533
2544
  if (typeof ge == "function") {
2534
2545
  ge === e.entries && (Ae || f(!1, "Using Maps as children is unsupported and will likely yield unexpected results. Convert it to a sequence/iterable of keyed ReactElements instead.%s", we.getStackAddendum()), Ae = !0);
2535
2546
  for (var Me = ge.call(e), Ce = void 0, Ut = 0; !(Ce = Me.next()).done; )
2536
- Z = Ce.value, q = ye + ke(Z, Ut++), ie += Ve(Z, q, g, x);
2537
- } else if (O === "object") {
2547
+ Z = Ce.value, G = ye + Ne(Z, Ut++), oe += Ve(Z, G, g, y);
2548
+ } else if (T === "object") {
2538
2549
  var wt = "";
2539
2550
  wt = " If you meant to render a collection of children, use an array instead." + we.getStackAddendum();
2540
2551
  var Ct = "" + e;
2541
2552
  l(!1, "Objects are not valid as a React child (found: %s).%s", Ct === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : Ct, wt);
2542
2553
  }
2543
2554
  }
2544
- return ie;
2555
+ return oe;
2545
2556
  }
2546
2557
  function ze(e, a, g) {
2547
2558
  return e == null ? 0 : Ve(e, "", a, g);
2548
2559
  }
2549
- function ke(e, a) {
2560
+ function Ne(e, a) {
2550
2561
  return typeof e == "object" && e !== null && e.key != null ? st(e.key) : a.toString(36);
2551
2562
  }
2552
2563
  function ct(e, a, g) {
2553
- var x = e.func, O = e.context;
2554
- x.call(O, a, e.count++);
2564
+ var y = e.func, T = e.context;
2565
+ y.call(T, a, e.count++);
2555
2566
  }
2556
2567
  function ut(e, a, g) {
2557
2568
  if (e == null)
2558
2569
  return e;
2559
- var x = Te(null, null, a, g);
2560
- ze(e, ct, x), Je(x);
2570
+ var y = Te(null, null, a, g);
2571
+ ze(e, ct, y), Je(y);
2561
2572
  }
2562
2573
  function ft(e, a, g) {
2563
- var x = e.result, O = e.keyPrefix, X = e.func, Z = e.context, q = X.call(Z, a, e.count++);
2564
- Array.isArray(q) ? Ie(q, x, g, s.thatReturnsArgument) : q != null && (Re(q) && (q = me(
2565
- q,
2574
+ var y = e.result, T = e.keyPrefix, X = e.func, Z = e.context, G = X.call(Z, a, e.count++);
2575
+ Array.isArray(G) ? Ie(G, y, g, s.thatReturnsArgument) : G != null && (Re(G) && (G = me(
2576
+ G,
2566
2577
  // Keep both the (mapped) and old keys if they differ, just as
2567
2578
  // traverseAllChildren used to do for objects as children
2568
- O + (q.key && (!a || a.key !== q.key) ? qe(q.key) + "/" : "") + g
2569
- )), x.push(q));
2579
+ T + (G.key && (!a || a.key !== G.key) ? qe(G.key) + "/" : "") + g
2580
+ )), y.push(G));
2570
2581
  }
2571
- function Ie(e, a, g, x, O) {
2582
+ function Ie(e, a, g, y, T) {
2572
2583
  var X = "";
2573
2584
  g != null && (X = qe(g) + "/");
2574
- var Z = Te(a, X, x, O);
2585
+ var Z = Te(a, X, y, T);
2575
2586
  ze(e, ft, Z), Je(Z);
2576
2587
  }
2577
2588
  function dt(e, a, g) {
2578
2589
  if (e == null)
2579
2590
  return e;
2580
- var x = [];
2581
- return Ie(e, x, null, a, g), x;
2591
+ var y = [];
2592
+ return Ie(e, y, null, a, g), y;
2582
2593
  }
2583
2594
  function pt(e, a) {
2584
2595
  return ze(e, s.thatReturnsNull, null);
@@ -2603,13 +2614,13 @@ var $t = { exports: {} };
2603
2614
  Consumer: null
2604
2615
  };
2605
2616
  return g.Provider = {
2606
- $$typeof: z,
2617
+ $$typeof: F,
2607
2618
  _context: g
2608
2619
  }, g.Consumer = g, g._currentRenderer = null, g;
2609
2620
  }
2610
2621
  function Pe(e) {
2611
2622
  return typeof e != "function" && f(!1, "forwardRef requires a render function but was given %s.", e === null ? "null" : typeof e), {
2612
- $$typeof: S,
2623
+ $$typeof: k,
2613
2624
  render: e
2614
2625
  };
2615
2626
  }
@@ -2619,7 +2630,7 @@ var $t = { exports: {} };
2619
2630
  };
2620
2631
  function We(e) {
2621
2632
  return typeof e == "string" || typeof e == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
2622
- e === V || e === y || e === E || typeof e == "object" && e !== null && (e.$$typeof === z || e.$$typeof === P || e.$$typeof === S);
2633
+ e === M || e === b || e === z || typeof e == "object" && e !== null && (e.$$typeof === F || e.$$typeof === P || e.$$typeof === k);
2623
2634
  }
2624
2635
  function He(e) {
2625
2636
  var a = e.type;
@@ -2628,18 +2639,18 @@ var $t = { exports: {} };
2628
2639
  if (typeof a == "string")
2629
2640
  return a;
2630
2641
  switch (a) {
2631
- case V:
2642
+ case M:
2632
2643
  return "ReactFragment";
2633
- case I:
2644
+ case R:
2634
2645
  return "ReactPortal";
2635
- case k:
2646
+ case V:
2636
2647
  return "ReactCall";
2637
- case R:
2648
+ case C:
2638
2649
  return "ReactReturn";
2639
2650
  }
2640
2651
  if (typeof a == "object" && a !== null)
2641
2652
  switch (a.$$typeof) {
2642
- case S:
2653
+ case k:
2643
2654
  var g = a.render.displayName || a.render.name || "";
2644
2655
  return g !== "" ? "ForwardRef(" + g + ")" : "ForwardRef";
2645
2656
  }
@@ -2649,7 +2660,7 @@ var $t = { exports: {} };
2649
2660
  }, Ee = function() {
2650
2661
  };
2651
2662
  je = null, De = !1, Ze = function(e) {
2652
- return e == null ? "#empty" : typeof e == "string" || typeof e == "number" ? "#text" : typeof e.type == "string" ? e.type : e.type === V ? "React.Fragment" : e.type.displayName || e.type.name || "Unknown";
2663
+ return e == null ? "#empty" : typeof e == "string" || typeof e == "number" ? "#text" : typeof e.type == "string" ? e.type : e.type === M ? "React.Fragment" : e.type.displayName || e.type.name || "Unknown";
2653
2664
  }, Ee = function() {
2654
2665
  var e = "";
2655
2666
  if (je) {
@@ -2659,8 +2670,8 @@ var $t = { exports: {} };
2659
2670
  return e += we.getStackAddendum() || "", e;
2660
2671
  };
2661
2672
  function Ue() {
2662
- if (B.current) {
2663
- var e = He(B.current);
2673
+ if (W.current) {
2674
+ var e = He(W.current);
2664
2675
  if (e)
2665
2676
  return `
2666
2677
 
@@ -2670,10 +2681,10 @@ Check the render method of \`` + e + "`.";
2670
2681
  }
2671
2682
  function vt(e) {
2672
2683
  if (e != null && e.__source !== void 0) {
2673
- var a = e.__source, g = a.fileName.replace(/^.*[\\\/]/, ""), x = a.lineNumber;
2684
+ var a = e.__source, g = a.fileName.replace(/^.*[\\\/]/, ""), y = a.lineNumber;
2674
2685
  return `
2675
2686
 
2676
- Check your code at ` + g + ":" + x + ".";
2687
+ Check your code at ` + g + ":" + y + ".";
2677
2688
  }
2678
2689
  return "";
2679
2690
  }
@@ -2694,8 +2705,8 @@ Check the top-level render call using <` + g + ">.");
2694
2705
  var g = et(a);
2695
2706
  if (!Qe[g]) {
2696
2707
  Qe[g] = !0;
2697
- var x = "";
2698
- e && e._owner && e._owner !== B.current && (x = " It was passed a child from " + He(e._owner) + "."), je = e, f(!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', g, x, Ee()), je = null;
2708
+ var y = "";
2709
+ e && e._owner && e._owner !== W.current && (y = " It was passed a child from " + He(e._owner) + "."), je = e, f(!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', g, y, Ee()), je = null;
2699
2710
  }
2700
2711
  }
2701
2712
  }
@@ -2703,15 +2714,15 @@ Check the top-level render call using <` + g + ">.");
2703
2714
  if (typeof e == "object") {
2704
2715
  if (Array.isArray(e))
2705
2716
  for (var g = 0; g < e.length; g++) {
2706
- var x = e[g];
2707
- Re(x) && Be(x, a);
2717
+ var y = e[g];
2718
+ Re(y) && Be(y, a);
2708
2719
  }
2709
2720
  else if (Re(e))
2710
2721
  e._store && (e._store.validated = !0);
2711
2722
  else if (e) {
2712
- var O = te(e);
2713
- if (typeof O == "function" && O !== e.entries)
2714
- for (var X = O.call(e), Z = void 0; !(Z = X.next()).done; )
2723
+ var T = Q(e);
2724
+ if (typeof T == "function" && T !== e.entries)
2725
+ for (var X = T.call(e), Z = void 0; !(Z = X.next()).done; )
2715
2726
  Re(Z.value) && Be(Z.value, a);
2716
2727
  }
2717
2728
  }
@@ -2719,56 +2730,56 @@ Check the top-level render call using <` + g + ">.");
2719
2730
  function nt(e) {
2720
2731
  var a = e.type;
2721
2732
  if (typeof a == "function") {
2722
- var g = a.displayName || a.name, x = a.propTypes;
2723
- x ? (je = e, p(x, e.props, "prop", g, Ee), je = null) : a.PropTypes !== void 0 && !De && (De = !0, f(!1, "Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", g || "Unknown")), typeof a.getDefaultProps == "function" && (a.getDefaultProps.isReactClassApproved || f(!1, "getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."));
2733
+ var g = a.displayName || a.name, y = a.propTypes;
2734
+ y ? (je = e, h(y, e.props, "prop", g, Ee), je = null) : a.PropTypes !== void 0 && !De && (De = !0, f(!1, "Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", g || "Unknown")), typeof a.getDefaultProps == "function" && (a.getDefaultProps.isReactClassApproved || f(!1, "getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."));
2724
2735
  }
2725
2736
  }
2726
2737
  function mt(e) {
2727
2738
  je = e;
2728
2739
  for (var a = Object.keys(e.props), g = 0; g < a.length; g++) {
2729
- var x = a[g];
2730
- if (x !== "children" && x !== "key") {
2731
- f(!1, "Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.%s", x, Ee());
2740
+ var y = a[g];
2741
+ if (y !== "children" && y !== "key") {
2742
+ f(!1, "Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.%s", y, Ee());
2732
2743
  break;
2733
2744
  }
2734
2745
  }
2735
2746
  e.ref !== null && f(!1, "Invalid attribute `ref` supplied to `React.Fragment`.%s", Ee()), je = null;
2736
2747
  }
2737
2748
  function rt(e, a, g) {
2738
- var x = We(e);
2739
- if (!x) {
2740
- var O = "";
2741
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (O += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
2749
+ var y = We(e);
2750
+ if (!y) {
2751
+ var T = "";
2752
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (T += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
2742
2753
  var X = vt(a);
2743
- X ? O += X : O += Ue(), O += Ee() || "";
2754
+ X ? T += X : T += Ue(), T += Ee() || "";
2744
2755
  var Z = void 0;
2745
- e === null ? Z = "null" : Array.isArray(e) ? Z = "array" : Z = typeof e, f(!1, "React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Z, O);
2756
+ e === null ? Z = "null" : Array.isArray(e) ? Z = "array" : Z = typeof e, f(!1, "React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Z, T);
2746
2757
  }
2747
- var q = ne.apply(this, arguments);
2748
- if (q == null)
2749
- return q;
2750
- if (x)
2751
- for (var ie = 2; ie < arguments.length; ie++)
2752
- tt(arguments[ie], e);
2753
- return e === V ? mt(q) : nt(q), q;
2758
+ var G = ae.apply(this, arguments);
2759
+ if (G == null)
2760
+ return G;
2761
+ if (y)
2762
+ for (var oe = 2; oe < arguments.length; oe++)
2763
+ tt(arguments[oe], e);
2764
+ return e === M ? mt(G) : nt(G), G;
2754
2765
  }
2755
2766
  function t(e) {
2756
2767
  var a = rt.bind(null, e);
2757
2768
  return a.type = e, Object.defineProperty(a, "type", {
2758
2769
  enumerable: !1,
2759
2770
  get: function() {
2760
- return G(!1, "Factory.type is deprecated. Access the class directly before passing it to createFactory."), Object.defineProperty(this, "type", {
2771
+ return J(!1, "Factory.type is deprecated. Access the class directly before passing it to createFactory."), Object.defineProperty(this, "type", {
2761
2772
  value: e
2762
2773
  }), e;
2763
2774
  }
2764
2775
  }), a;
2765
2776
  }
2766
- function j(e, a, g) {
2767
- for (var x = he.apply(this, arguments), O = 2; O < arguments.length; O++)
2768
- tt(arguments[O], x.type);
2769
- return nt(x), x;
2777
+ function x(e, a, g) {
2778
+ for (var y = ve.apply(this, arguments), T = 2; T < arguments.length; T++)
2779
+ tt(arguments[T], y.type);
2780
+ return nt(y), y;
2770
2781
  }
2771
- var N = {
2782
+ var A = {
2772
2783
  Children: {
2773
2784
  map: dt,
2774
2785
  forEach: ut,
@@ -2776,36 +2787,36 @@ Check the top-level render call using <` + g + ">.");
2776
2787
  toArray: ht,
2777
2788
  only: Le
2778
2789
  },
2779
- createRef: H,
2780
- Component: ue,
2790
+ createRef: I,
2791
+ Component: ne,
2781
2792
  PureComponent: pe,
2782
2793
  createContext: Xe,
2783
2794
  forwardRef: Pe,
2784
- Fragment: V,
2785
- StrictMode: E,
2786
- unstable_AsyncMode: y,
2795
+ Fragment: M,
2796
+ StrictMode: z,
2797
+ unstable_AsyncMode: b,
2787
2798
  createElement: rt,
2788
- cloneElement: j,
2799
+ cloneElement: x,
2789
2800
  createFactory: t,
2790
2801
  isValidElement: Re,
2791
- version: C,
2802
+ version: N,
2792
2803
  __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: {
2793
- ReactCurrentOwner: B,
2804
+ ReactCurrentOwner: W,
2794
2805
  // Used by renderers to avoid bundling object-assign twice in UMD bundles:
2795
2806
  assign: u
2796
2807
  }
2797
2808
  };
2798
- u(N.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, {
2809
+ u(A.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, {
2799
2810
  // These should not be included in production.
2800
2811
  ReactDebugCurrentFrame: we,
2801
2812
  // Shim for React DOM 16.0.0 which still destructured (but not used) this.
2802
2813
  // TODO: remove in React 17.0.
2803
2814
  ReactComponentTreeHook: {}
2804
2815
  });
2805
- var $ = Object.freeze({
2806
- default: N
2807
- }), ee = $ && N || $, ae = ee.default ? ee.default : ee;
2808
- o.exports = ae;
2816
+ var U = Object.freeze({
2817
+ default: A
2818
+ }), te = U && A || U, ie = te.default ? te.default : te;
2819
+ o.exports = ie;
2809
2820
  }();
2810
2821
  },
2811
2822
  /* 11 */
@@ -2822,216 +2833,216 @@ Check the top-level render call using <` + g + ">.");
2822
2833
  /* 12 */
2823
2834
  /***/
2824
2835
  function(o, c, d) {
2825
- var u = d(1), l = d(0), v = d(3), f = d(2), s = d(4), p = d(6);
2826
- o.exports = function(C, b) {
2827
- var F = typeof Symbol == "function" && Symbol.iterator, k = "@@iterator";
2828
- function R(w) {
2829
- var H = w && (F && w[F] || w[k]);
2830
- if (typeof H == "function")
2831
- return H;
2832
- }
2833
- var I = "<<anonymous>>", V = {
2834
- array: y("array"),
2835
- bool: y("boolean"),
2836
- func: y("function"),
2837
- number: y("number"),
2838
- object: y("object"),
2839
- string: y("string"),
2840
- symbol: y("symbol"),
2841
- any: S(),
2842
- arrayOf: M,
2836
+ var u = d(1), l = d(0), v = d(3), f = d(2), s = d(4), h = d(6);
2837
+ o.exports = function(N, j) {
2838
+ var _ = typeof Symbol == "function" && Symbol.iterator, V = "@@iterator";
2839
+ function C(w) {
2840
+ var I = w && (_ && w[_] || w[V]);
2841
+ if (typeof I == "function")
2842
+ return I;
2843
+ }
2844
+ var R = "<<anonymous>>", M = {
2845
+ array: b("array"),
2846
+ bool: b("boolean"),
2847
+ func: b("function"),
2848
+ number: b("number"),
2849
+ object: b("object"),
2850
+ string: b("string"),
2851
+ symbol: b("symbol"),
2852
+ any: k(),
2853
+ arrayOf: E,
2843
2854
  element: L(),
2844
- instanceOf: te,
2855
+ instanceOf: Q,
2845
2856
  node: re(),
2846
- objectOf: A,
2847
- oneOf: K,
2848
- oneOfType: G,
2849
- shape: le,
2850
- exact: ce
2857
+ objectOf: O,
2858
+ oneOf: $,
2859
+ oneOfType: J,
2860
+ shape: ue,
2861
+ exact: fe
2851
2862
  };
2852
- function E(w, H) {
2853
- return w === H ? w !== 0 || 1 / w === 1 / H : w !== w && H !== H;
2863
+ function z(w, I) {
2864
+ return w === I ? w !== 0 || 1 / w === 1 / I : w !== w && I !== I;
2854
2865
  }
2855
- function z(w) {
2866
+ function F(w) {
2856
2867
  this.message = w, this.stack = "";
2857
2868
  }
2858
- z.prototype = Error.prototype;
2869
+ F.prototype = Error.prototype;
2859
2870
  function P(w) {
2860
2871
  if (process.env.NODE_ENV !== "production")
2861
- var H = {}, B = 0;
2862
- function Y(i, m, _, T, D, W, se) {
2863
- if (T = T || I, W = W || _, se !== s) {
2864
- if (b)
2872
+ var I = {}, W = 0;
2873
+ function q(i, m, H, S, D, Y, le) {
2874
+ if (S = S || R, Y = Y || H, le !== s) {
2875
+ if (j)
2865
2876
  l(
2866
2877
  !1,
2867
2878
  "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"
2868
2879
  );
2869
2880
  else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
2870
- var ne = T + ":" + _;
2871
- !H[ne] && // Avoid spamming the console because they are often not actionable except for lib authors
2872
- B < 3 && (v(
2881
+ var ae = S + ":" + H;
2882
+ !I[ae] && // Avoid spamming the console because they are often not actionable except for lib authors
2883
+ W < 3 && (v(
2873
2884
  !1,
2874
2885
  "You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",
2875
- W,
2876
- T
2877
- ), H[ne] = !0, B++);
2886
+ Y,
2887
+ S
2888
+ ), I[ae] = !0, W++);
2878
2889
  }
2879
2890
  }
2880
- return m[_] == null ? i ? m[_] === null ? new z("The " + D + " `" + W + "` is marked as required " + ("in `" + T + "`, but its value is `null`.")) : new z("The " + D + " `" + W + "` is marked as required in " + ("`" + T + "`, but its value is `undefined`.")) : null : w(m, _, T, D, W);
2891
+ return m[H] == null ? i ? m[H] === null ? new F("The " + D + " `" + Y + "` is marked as required " + ("in `" + S + "`, but its value is `null`.")) : new F("The " + D + " `" + Y + "` is marked as required in " + ("`" + S + "`, but its value is `undefined`.")) : null : w(m, H, S, D, Y);
2881
2892
  }
2882
- var U = Y.bind(null, !1);
2883
- return U.isRequired = Y.bind(null, !0), U;
2893
+ var B = q.bind(null, !1);
2894
+ return B.isRequired = q.bind(null, !0), B;
2884
2895
  }
2885
- function y(w) {
2886
- function H(B, Y, U, i, m, _) {
2887
- var T = B[Y], D = fe(T);
2896
+ function b(w) {
2897
+ function I(W, q, B, i, m, H) {
2898
+ var S = W[q], D = ce(S);
2888
2899
  if (D !== w) {
2889
- var W = J(T);
2890
- return new z("Invalid " + i + " `" + m + "` of type " + ("`" + W + "` supplied to `" + U + "`, expected ") + ("`" + w + "`."));
2900
+ var Y = K(S);
2901
+ return new F("Invalid " + i + " `" + m + "` of type " + ("`" + Y + "` supplied to `" + B + "`, expected ") + ("`" + w + "`."));
2891
2902
  }
2892
2903
  return null;
2893
2904
  }
2894
- return P(H);
2905
+ return P(I);
2895
2906
  }
2896
- function S() {
2907
+ function k() {
2897
2908
  return P(u.thatReturnsNull);
2898
2909
  }
2899
- function M(w) {
2900
- function H(B, Y, U, i, m) {
2910
+ function E(w) {
2911
+ function I(W, q, B, i, m) {
2901
2912
  if (typeof w != "function")
2902
- return new z("Property `" + m + "` of component `" + U + "` has invalid PropType notation inside arrayOf.");
2903
- var _ = B[Y];
2904
- if (!Array.isArray(_)) {
2905
- var T = fe(_);
2906
- return new z("Invalid " + i + " `" + m + "` of type " + ("`" + T + "` supplied to `" + U + "`, expected an array."));
2913
+ return new F("Property `" + m + "` of component `" + B + "` has invalid PropType notation inside arrayOf.");
2914
+ var H = W[q];
2915
+ if (!Array.isArray(H)) {
2916
+ var S = ce(H);
2917
+ return new F("Invalid " + i + " `" + m + "` of type " + ("`" + S + "` supplied to `" + B + "`, expected an array."));
2907
2918
  }
2908
- for (var D = 0; D < _.length; D++) {
2909
- var W = w(_, D, U, i, m + "[" + D + "]", s);
2910
- if (W instanceof Error)
2911
- return W;
2919
+ for (var D = 0; D < H.length; D++) {
2920
+ var Y = w(H, D, B, i, m + "[" + D + "]", s);
2921
+ if (Y instanceof Error)
2922
+ return Y;
2912
2923
  }
2913
2924
  return null;
2914
2925
  }
2915
- return P(H);
2926
+ return P(I);
2916
2927
  }
2917
2928
  function L() {
2918
- function w(H, B, Y, U, i) {
2919
- var m = H[B];
2920
- if (!C(m)) {
2921
- var _ = fe(m);
2922
- return new z("Invalid " + U + " `" + i + "` of type " + ("`" + _ + "` supplied to `" + Y + "`, expected a single ReactElement."));
2929
+ function w(I, W, q, B, i) {
2930
+ var m = I[W];
2931
+ if (!N(m)) {
2932
+ var H = ce(m);
2933
+ return new F("Invalid " + B + " `" + i + "` of type " + ("`" + H + "` supplied to `" + q + "`, expected a single ReactElement."));
2923
2934
  }
2924
2935
  return null;
2925
2936
  }
2926
2937
  return P(w);
2927
2938
  }
2928
- function te(w) {
2929
- function H(B, Y, U, i, m) {
2930
- if (!(B[Y] instanceof w)) {
2931
- var _ = w.name || I, T = pe(B[Y]);
2932
- return new z("Invalid " + i + " `" + m + "` of type " + ("`" + T + "` supplied to `" + U + "`, expected ") + ("instance of `" + _ + "`."));
2939
+ function Q(w) {
2940
+ function I(W, q, B, i, m) {
2941
+ if (!(W[q] instanceof w)) {
2942
+ var H = w.name || R, S = pe(W[q]);
2943
+ return new F("Invalid " + i + " `" + m + "` of type " + ("`" + S + "` supplied to `" + B + "`, expected ") + ("instance of `" + H + "`."));
2933
2944
  }
2934
2945
  return null;
2935
2946
  }
2936
- return P(H);
2947
+ return P(I);
2937
2948
  }
2938
- function K(w) {
2949
+ function $(w) {
2939
2950
  if (!Array.isArray(w))
2940
2951
  return process.env.NODE_ENV !== "production" && v(!1, "Invalid argument supplied to oneOf, expected an instance of array."), u.thatReturnsNull;
2941
- function H(B, Y, U, i, m) {
2942
- for (var _ = B[Y], T = 0; T < w.length; T++)
2943
- if (E(_, w[T]))
2952
+ function I(W, q, B, i, m) {
2953
+ for (var H = W[q], S = 0; S < w.length; S++)
2954
+ if (z(H, w[S]))
2944
2955
  return null;
2945
2956
  var D = JSON.stringify(w);
2946
- return new z("Invalid " + i + " `" + m + "` of value `" + _ + "` " + ("supplied to `" + U + "`, expected one of " + D + "."));
2957
+ return new F("Invalid " + i + " `" + m + "` of value `" + H + "` " + ("supplied to `" + B + "`, expected one of " + D + "."));
2947
2958
  }
2948
- return P(H);
2959
+ return P(I);
2949
2960
  }
2950
- function A(w) {
2951
- function H(B, Y, U, i, m) {
2961
+ function O(w) {
2962
+ function I(W, q, B, i, m) {
2952
2963
  if (typeof w != "function")
2953
- return new z("Property `" + m + "` of component `" + U + "` has invalid PropType notation inside objectOf.");
2954
- var _ = B[Y], T = fe(_);
2955
- if (T !== "object")
2956
- return new z("Invalid " + i + " `" + m + "` of type " + ("`" + T + "` supplied to `" + U + "`, expected an object."));
2957
- for (var D in _)
2958
- if (_.hasOwnProperty(D)) {
2959
- var W = w(_, D, U, i, m + "." + D, s);
2960
- if (W instanceof Error)
2961
- return W;
2964
+ return new F("Property `" + m + "` of component `" + B + "` has invalid PropType notation inside objectOf.");
2965
+ var H = W[q], S = ce(H);
2966
+ if (S !== "object")
2967
+ return new F("Invalid " + i + " `" + m + "` of type " + ("`" + S + "` supplied to `" + B + "`, expected an object."));
2968
+ for (var D in H)
2969
+ if (H.hasOwnProperty(D)) {
2970
+ var Y = w(H, D, B, i, m + "." + D, s);
2971
+ if (Y instanceof Error)
2972
+ return Y;
2962
2973
  }
2963
2974
  return null;
2964
2975
  }
2965
- return P(H);
2976
+ return P(I);
2966
2977
  }
2967
- function G(w) {
2978
+ function J(w) {
2968
2979
  if (!Array.isArray(w))
2969
2980
  return process.env.NODE_ENV !== "production" && v(!1, "Invalid argument supplied to oneOfType, expected an instance of array."), u.thatReturnsNull;
2970
- for (var H = 0; H < w.length; H++) {
2971
- var B = w[H];
2972
- if (typeof B != "function")
2981
+ for (var I = 0; I < w.length; I++) {
2982
+ var W = w[I];
2983
+ if (typeof W != "function")
2973
2984
  return v(
2974
2985
  !1,
2975
2986
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",
2976
- de(B),
2977
- H
2987
+ de(W),
2988
+ I
2978
2989
  ), u.thatReturnsNull;
2979
2990
  }
2980
- function Y(U, i, m, _, T) {
2991
+ function q(B, i, m, H, S) {
2981
2992
  for (var D = 0; D < w.length; D++) {
2982
- var W = w[D];
2983
- if (W(U, i, m, _, T, s) == null)
2993
+ var Y = w[D];
2994
+ if (Y(B, i, m, H, S, s) == null)
2984
2995
  return null;
2985
2996
  }
2986
- return new z("Invalid " + _ + " `" + T + "` supplied to " + ("`" + m + "`."));
2997
+ return new F("Invalid " + H + " `" + S + "` supplied to " + ("`" + m + "`."));
2987
2998
  }
2988
- return P(Y);
2999
+ return P(q);
2989
3000
  }
2990
3001
  function re() {
2991
- function w(H, B, Y, U, i) {
2992
- return ue(H[B]) ? null : new z("Invalid " + U + " `" + i + "` supplied to " + ("`" + Y + "`, expected a ReactNode."));
3002
+ function w(I, W, q, B, i) {
3003
+ return ne(I[W]) ? null : new F("Invalid " + B + " `" + i + "` supplied to " + ("`" + q + "`, expected a ReactNode."));
2993
3004
  }
2994
3005
  return P(w);
2995
3006
  }
2996
- function le(w) {
2997
- function H(B, Y, U, i, m) {
2998
- var _ = B[Y], T = fe(_);
2999
- if (T !== "object")
3000
- return new z("Invalid " + i + " `" + m + "` of type `" + T + "` " + ("supplied to `" + U + "`, expected `object`."));
3007
+ function ue(w) {
3008
+ function I(W, q, B, i, m) {
3009
+ var H = W[q], S = ce(H);
3010
+ if (S !== "object")
3011
+ return new F("Invalid " + i + " `" + m + "` of type `" + S + "` " + ("supplied to `" + B + "`, expected `object`."));
3001
3012
  for (var D in w) {
3002
- var W = w[D];
3003
- if (W) {
3004
- var se = W(_, D, U, i, m + "." + D, s);
3005
- if (se)
3006
- return se;
3013
+ var Y = w[D];
3014
+ if (Y) {
3015
+ var le = Y(H, D, B, i, m + "." + D, s);
3016
+ if (le)
3017
+ return le;
3007
3018
  }
3008
3019
  }
3009
3020
  return null;
3010
3021
  }
3011
- return P(H);
3022
+ return P(I);
3012
3023
  }
3013
- function ce(w) {
3014
- function H(B, Y, U, i, m) {
3015
- var _ = B[Y], T = fe(_);
3016
- if (T !== "object")
3017
- return new z("Invalid " + i + " `" + m + "` of type `" + T + "` " + ("supplied to `" + U + "`, expected `object`."));
3018
- var D = f({}, B[Y], w);
3019
- for (var W in D) {
3020
- var se = w[W];
3021
- if (!se)
3022
- return new z(
3023
- "Invalid " + i + " `" + m + "` key `" + W + "` supplied to `" + U + "`.\nBad object: " + JSON.stringify(B[Y], null, " ") + `
3024
+ function fe(w) {
3025
+ function I(W, q, B, i, m) {
3026
+ var H = W[q], S = ce(H);
3027
+ if (S !== "object")
3028
+ return new F("Invalid " + i + " `" + m + "` of type `" + S + "` " + ("supplied to `" + B + "`, expected `object`."));
3029
+ var D = f({}, W[q], w);
3030
+ for (var Y in D) {
3031
+ var le = w[Y];
3032
+ if (!le)
3033
+ return new F(
3034
+ "Invalid " + i + " `" + m + "` key `" + Y + "` supplied to `" + B + "`.\nBad object: " + JSON.stringify(W[q], null, " ") + `
3024
3035
  Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
3025
3036
  );
3026
- var ne = se(_, W, U, i, m + "." + W, s);
3027
- if (ne)
3028
- return ne;
3037
+ var ae = le(H, Y, B, i, m + "." + Y, s);
3038
+ if (ae)
3039
+ return ae;
3029
3040
  }
3030
3041
  return null;
3031
3042
  }
3032
- return P(H);
3043
+ return P(I);
3033
3044
  }
3034
- function ue(w) {
3045
+ function ne(w) {
3035
3046
  switch (typeof w) {
3036
3047
  case "number":
3037
3048
  case "string":
@@ -3041,20 +3052,20 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
3041
3052
  return !w;
3042
3053
  case "object":
3043
3054
  if (Array.isArray(w))
3044
- return w.every(ue);
3045
- if (w === null || C(w))
3055
+ return w.every(ne);
3056
+ if (w === null || N(w))
3046
3057
  return !0;
3047
- var H = R(w);
3048
- if (H) {
3049
- var B = H.call(w), Y;
3050
- if (H !== w.entries) {
3051
- for (; !(Y = B.next()).done; )
3052
- if (!ue(Y.value))
3058
+ var I = C(w);
3059
+ if (I) {
3060
+ var W = I.call(w), q;
3061
+ if (I !== w.entries) {
3062
+ for (; !(q = W.next()).done; )
3063
+ if (!ne(q.value))
3053
3064
  return !1;
3054
3065
  } else
3055
- for (; !(Y = B.next()).done; ) {
3056
- var U = Y.value;
3057
- if (U && !ue(U[1]))
3066
+ for (; !(q = W.next()).done; ) {
3067
+ var B = q.value;
3068
+ if (B && !ne(B[1]))
3058
3069
  return !1;
3059
3070
  }
3060
3071
  } else
@@ -3064,43 +3075,43 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
3064
3075
  return !1;
3065
3076
  }
3066
3077
  }
3067
- function ve(w, H) {
3068
- return w === "symbol" || H["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && H instanceof Symbol;
3078
+ function he(w, I) {
3079
+ return w === "symbol" || I["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && I instanceof Symbol;
3069
3080
  }
3070
- function fe(w) {
3071
- var H = typeof w;
3072
- return Array.isArray(w) ? "array" : w instanceof RegExp ? "object" : ve(H, w) ? "symbol" : H;
3081
+ function ce(w) {
3082
+ var I = typeof w;
3083
+ return Array.isArray(w) ? "array" : w instanceof RegExp ? "object" : he(I, w) ? "symbol" : I;
3073
3084
  }
3074
- function J(w) {
3085
+ function K(w) {
3075
3086
  if (typeof w > "u" || w === null)
3076
3087
  return "" + w;
3077
- var H = fe(w);
3078
- if (H === "object") {
3088
+ var I = ce(w);
3089
+ if (I === "object") {
3079
3090
  if (w instanceof Date)
3080
3091
  return "date";
3081
3092
  if (w instanceof RegExp)
3082
3093
  return "regexp";
3083
3094
  }
3084
- return H;
3095
+ return I;
3085
3096
  }
3086
3097
  function de(w) {
3087
- var H = J(w);
3088
- switch (H) {
3098
+ var I = K(w);
3099
+ switch (I) {
3089
3100
  case "array":
3090
3101
  case "object":
3091
- return "an " + H;
3102
+ return "an " + I;
3092
3103
  case "boolean":
3093
3104
  case "date":
3094
3105
  case "regexp":
3095
- return "a " + H;
3106
+ return "a " + I;
3096
3107
  default:
3097
- return H;
3108
+ return I;
3098
3109
  }
3099
3110
  }
3100
3111
  function pe(w) {
3101
- return !w.constructor || !w.constructor.name ? I : w.constructor.name;
3112
+ return !w.constructor || !w.constructor.name ? R : w.constructor.name;
3102
3113
  }
3103
- return V.checkPropTypes = p, V.PropTypes = V, V;
3114
+ return M.checkPropTypes = h, M.PropTypes = M, M;
3104
3115
  };
3105
3116
  },
3106
3117
  /* 13 */
@@ -3108,8 +3119,8 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
3108
3119
  function(o, c, d) {
3109
3120
  var u = d(1), l = d(0), v = d(4);
3110
3121
  o.exports = function() {
3111
- function f(C, b, F, k, R, I) {
3112
- I !== v && l(
3122
+ function f(N, j, _, V, C, R) {
3123
+ R !== v && l(
3113
3124
  !1,
3114
3125
  "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"
3115
3126
  );
@@ -3118,7 +3129,7 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
3118
3129
  function s() {
3119
3130
  return f;
3120
3131
  }
3121
- var p = {
3132
+ var h = {
3122
3133
  array: f,
3123
3134
  bool: f,
3124
3135
  func: f,
@@ -3137,7 +3148,7 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
3137
3148
  shape: s,
3138
3149
  exact: s
3139
3150
  };
3140
- return p.checkPropTypes = u, p.PropTypes = p, p;
3151
+ return h.checkPropTypes = u, h.PropTypes = h, h;
3141
3152
  };
3142
3153
  },
3143
3154
  /* 14 */
@@ -3150,67 +3161,67 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
3150
3161
  Object.defineProperty(c, "blank", {
3151
3162
  enumerable: !0,
3152
3163
  get: function() {
3153
- return k(u).default;
3164
+ return V(u).default;
3154
3165
  }
3155
3166
  });
3156
3167
  var l = d(16);
3157
3168
  Object.defineProperty(c, "balls", {
3158
3169
  enumerable: !0,
3159
3170
  get: function() {
3160
- return k(l).default;
3171
+ return V(l).default;
3161
3172
  }
3162
3173
  });
3163
3174
  var v = d(17);
3164
3175
  Object.defineProperty(c, "bars", {
3165
3176
  enumerable: !0,
3166
3177
  get: function() {
3167
- return k(v).default;
3178
+ return V(v).default;
3168
3179
  }
3169
3180
  });
3170
3181
  var f = d(18);
3171
3182
  Object.defineProperty(c, "bubbles", {
3172
3183
  enumerable: !0,
3173
3184
  get: function() {
3174
- return k(f).default;
3185
+ return V(f).default;
3175
3186
  }
3176
3187
  });
3177
3188
  var s = d(19);
3178
3189
  Object.defineProperty(c, "cubes", {
3179
3190
  enumerable: !0,
3180
3191
  get: function() {
3181
- return k(s).default;
3192
+ return V(s).default;
3182
3193
  }
3183
3194
  });
3184
- var p = d(20);
3195
+ var h = d(20);
3185
3196
  Object.defineProperty(c, "cylon", {
3186
3197
  enumerable: !0,
3187
3198
  get: function() {
3188
- return k(p).default;
3199
+ return V(h).default;
3189
3200
  }
3190
3201
  });
3191
- var C = d(21);
3202
+ var N = d(21);
3192
3203
  Object.defineProperty(c, "spin", {
3193
3204
  enumerable: !0,
3194
3205
  get: function() {
3195
- return k(C).default;
3206
+ return V(N).default;
3196
3207
  }
3197
3208
  });
3198
- var b = d(22);
3209
+ var j = d(22);
3199
3210
  Object.defineProperty(c, "spinningBubbles", {
3200
3211
  enumerable: !0,
3201
3212
  get: function() {
3202
- return k(b).default;
3213
+ return V(j).default;
3203
3214
  }
3204
3215
  });
3205
- var F = d(23);
3216
+ var _ = d(23);
3206
3217
  Object.defineProperty(c, "spokes", {
3207
3218
  enumerable: !0,
3208
3219
  get: function() {
3209
- return k(F).default;
3220
+ return V(_).default;
3210
3221
  }
3211
3222
  });
3212
- function k(R) {
3213
- return R && R.__esModule ? R : { default: R };
3223
+ function V(C) {
3224
+ return C && C.__esModule ? C : { default: C };
3214
3225
  }
3215
3226
  },
3216
3227
  /* 15 */
@@ -3396,27 +3407,51 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
3396
3407
  });
3397
3408
  })($t);
3398
3409
  var zn = $t.exports;
3399
- const Wt = /* @__PURE__ */ Mt(zn), Hn = ({ fileUploadConfig: n, allowedFileExtensions: h }) => {
3400
- const [o, c] = Q([]), [d, u] = Q(!1), [l, v] = Q({}), f = (p) => {
3401
- p.preventDefault(), u(!1);
3402
- const C = Array.from(p.dataTransfer.files);
3403
- C.length > 0 && c((b) => [...b, ...C]);
3404
- }, s = (p) => {
3405
- const C = Array.from(p.target.files);
3406
- C.length > 0 && c((b) => [...b, ...C]);
3410
+ const Wt = /* @__PURE__ */ Mt(zn), Hn = ({
3411
+ fileUploadConfig: n,
3412
+ allowedFileExtensions: p,
3413
+ handleFileUploading: o,
3414
+ handleFileUploaded: c,
3415
+ currentFolder: d
3416
+ }) => {
3417
+ const [u, l] = ee([]), [v, f] = ee(!1), [s, h] = ee({}), N = (_) => {
3418
+ _.preventDefault(), f(!1);
3419
+ const V = Array.from(_.dataTransfer.files);
3420
+ if (V.length > 0) {
3421
+ const C = V.map((R) => {
3422
+ const M = o(R, d);
3423
+ return {
3424
+ file: R,
3425
+ appendData: M
3426
+ };
3427
+ });
3428
+ l((R) => [...R, ...C]);
3429
+ }
3430
+ }, j = (_) => {
3431
+ const V = Array.from(_.target.files);
3432
+ if (V.length > 0) {
3433
+ const C = V.map((R) => {
3434
+ const M = o(R, d);
3435
+ return {
3436
+ file: R,
3437
+ appendData: M
3438
+ };
3439
+ });
3440
+ l((R) => [...R, ...C]);
3441
+ }
3407
3442
  };
3408
- return /* @__PURE__ */ r.jsxs("div", { className: `fm-upload-file ${o.length > 0 ? "file-selcted" : ""}`, children: [
3443
+ return /* @__PURE__ */ r.jsxs("div", { className: `fm-upload-file ${u.length > 0 ? "file-selcted" : ""}`, children: [
3409
3444
  /* @__PURE__ */ r.jsxs("div", { className: "select-files", children: [
3410
3445
  /* @__PURE__ */ r.jsx(
3411
3446
  "div",
3412
3447
  {
3413
- className: `draggable-file-input ${d ? "dragging" : ""}`,
3414
- onDrop: f,
3415
- onDragOver: (p) => p.preventDefault(),
3416
- onDragEnter: () => u(!0),
3417
- onDragLeave: () => u(!1),
3448
+ className: `draggable-file-input ${v ? "dragging" : ""}`,
3449
+ onDrop: N,
3450
+ onDragOver: (_) => _.preventDefault(),
3451
+ onDragEnter: () => f(!0),
3452
+ onDragLeave: () => f(!1),
3418
3453
  children: /* @__PURE__ */ r.jsxs("div", { className: "input-text", children: [
3419
- /* @__PURE__ */ r.jsx(Nn, { size: 30 }),
3454
+ /* @__PURE__ */ r.jsx(kn, { size: 30 }),
3420
3455
  /* @__PURE__ */ r.jsx("span", { children: "Drag files to upload" })
3421
3456
  ] })
3422
3457
  }
@@ -3429,45 +3464,49 @@ const Wt = /* @__PURE__ */ Mt(zn), Hn = ({ fileUploadConfig: n, allowedFileExten
3429
3464
  type: "file",
3430
3465
  id: "chooseFile",
3431
3466
  className: "choose-file-input",
3432
- onChange: s,
3467
+ onChange: j,
3433
3468
  multiple: !0,
3434
- accept: h
3469
+ accept: p
3435
3470
  }
3436
3471
  )
3437
3472
  ] }) })
3438
3473
  ] }),
3439
- o.length > 0 && /* @__PURE__ */ r.jsxs("div", { className: "files-progress", children: [
3440
- /* @__PURE__ */ r.jsx("div", { className: "heading", children: Object.values(l).some((p) => p) ? /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
3474
+ u.length > 0 && /* @__PURE__ */ r.jsxs("div", { className: "files-progress", children: [
3475
+ /* @__PURE__ */ r.jsx("div", { className: "heading", children: Object.values(s).some((_) => _) ? /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
3441
3476
  /* @__PURE__ */ r.jsx("h2", { children: "Uploading" }),
3442
3477
  /* @__PURE__ */ r.jsx(Wt, { type: "cylon", color: "black", height: 18, width: 20 })
3443
3478
  ] }) : /* @__PURE__ */ r.jsx("h2", { children: "Completed" }) }),
3444
- /* @__PURE__ */ r.jsx("ul", { children: o.map((p, C) => /* @__PURE__ */ r.jsx(
3479
+ /* @__PURE__ */ r.jsx("ul", { children: u.map((_, V) => /* @__PURE__ */ r.jsx(
3445
3480
  Vn,
3446
3481
  {
3447
- index: C,
3448
- file: p,
3482
+ index: V,
3483
+ fileData: _,
3449
3484
  fileUploadConfig: n,
3450
- setIsUploading: v
3485
+ setIsUploading: h,
3486
+ handleFileUploaded: c
3451
3487
  },
3452
- C
3488
+ V
3453
3489
  )) })
3454
3490
  ] })
3455
3491
  ] });
3456
3492
  }, Dn = ({
3457
3493
  files: n,
3458
- fileUploadConfig: h,
3494
+ fileUploadConfig: p,
3459
3495
  triggerAction: o,
3460
3496
  currentPath: c,
3461
3497
  currentPathFiles: d,
3462
3498
  selectedFile: u,
3463
3499
  setSelectedFile: l,
3464
3500
  handleCreateFolder: v,
3465
- handleRename: f,
3466
- setIsItemSelection: s,
3467
- handleDelete: p,
3468
- allowedFileExtensions: C
3501
+ handleFileUploading: f,
3502
+ handleFileUploaded: s,
3503
+ currentFolder: h,
3504
+ handleRename: N,
3505
+ setIsItemSelection: j,
3506
+ handleDelete: _,
3507
+ allowedFileExtensions: V
3469
3508
  }) => {
3470
- const [b, F] = Q(null), k = {
3509
+ const [C, R] = ee(null), M = {
3471
3510
  createFolder: {
3472
3511
  title: "Create Folder",
3473
3512
  component: /* @__PURE__ */ r.jsx(
@@ -3477,7 +3516,8 @@ const Wt = /* @__PURE__ */ Mt(zn), Hn = ({ fileUploadConfig: n, allowedFileExten
3477
3516
  currentPath: c,
3478
3517
  currentPathFiles: d,
3479
3518
  triggerAction: o,
3480
- handleCreateFolder: v
3519
+ handleCreateFolder: v,
3520
+ currentFolder: h
3481
3521
  }
3482
3522
  ),
3483
3523
  width: "25%"
@@ -3487,8 +3527,11 @@ const Wt = /* @__PURE__ */ Mt(zn), Hn = ({ fileUploadConfig: n, allowedFileExten
3487
3527
  component: /* @__PURE__ */ r.jsx(
3488
3528
  Hn,
3489
3529
  {
3490
- fileUploadConfig: h,
3491
- allowedFileExtensions: C
3530
+ fileUploadConfig: p,
3531
+ allowedFileExtensions: V,
3532
+ handleFileUploading: f,
3533
+ handleFileUploaded: s,
3534
+ currentFolder: h
3492
3535
  }
3493
3536
  ),
3494
3537
  width: "35%"
@@ -3502,7 +3545,7 @@ const Wt = /* @__PURE__ */ Mt(zn), Hn = ({ fileUploadConfig: n, allowedFileExten
3502
3545
  selectedFile: u,
3503
3546
  currentPathFiles: d,
3504
3547
  triggerAction: o,
3505
- handleRename: f,
3548
+ handleRename: N,
3506
3549
  setSelectedFile: l
3507
3550
  }
3508
3551
  ),
@@ -3516,8 +3559,8 @@ const Wt = /* @__PURE__ */ Mt(zn), Hn = ({ fileUploadConfig: n, allowedFileExten
3516
3559
  files: n,
3517
3560
  selectedFile: u,
3518
3561
  triggerAction: o,
3519
- handleDelete: p,
3520
- setIsItemSelection: s,
3562
+ handleDelete: _,
3563
+ setIsItemSelection: j,
3521
3564
  setSelectedFile: l
3522
3565
  }
3523
3566
  ),
@@ -3529,18 +3572,18 @@ const Wt = /* @__PURE__ */ Mt(zn), Hn = ({ fileUploadConfig: n, allowedFileExten
3529
3572
  };
3530
3573
  return xe(() => {
3531
3574
  if (o.isActive) {
3532
- const R = o.actionType;
3533
- F(k[R]);
3575
+ const z = o.actionType;
3576
+ R(M[z]);
3534
3577
  } else
3535
- F(null);
3578
+ R(null);
3536
3579
  }, [o.isActive]), /* @__PURE__ */ r.jsx(
3537
3580
  On,
3538
3581
  {
3539
- heading: b == null ? void 0 : b.title,
3582
+ heading: C == null ? void 0 : C.title,
3540
3583
  show: o.isActive,
3541
3584
  setShow: o.close,
3542
- dialogWidth: b == null ? void 0 : b.width,
3543
- children: b == null ? void 0 : b.component
3585
+ dialogWidth: C == null ? void 0 : C.width,
3586
+ children: C == null ? void 0 : C.component
3544
3587
  }
3545
3588
  );
3546
3589
  }, Fn = ({ isLoading: n }) => {
@@ -3548,28 +3591,30 @@ const Wt = /* @__PURE__ */ Mt(zn), Hn = ({ fileUploadConfig: n, allowedFileExten
3548
3591
  return /* @__PURE__ */ r.jsx("div", { className: "fm-loader", children: /* @__PURE__ */ r.jsx(Wt, { color: "black", type: "spokes", height: 50, width: 50 }) });
3549
3592
  }, Ln = ({
3550
3593
  files: n,
3551
- fileUploadConfig: h,
3594
+ fileUploadConfig: p,
3552
3595
  isLoading: o,
3553
3596
  onCreateFolder: c,
3554
- onRename: d,
3555
- onDelete: u,
3556
- onPaste: l,
3557
- onRefresh: v,
3558
- allowedFileExtensions: f
3597
+ onFileUploading: d,
3598
+ onFileUploaded: u,
3599
+ onRename: l,
3600
+ onDelete: v,
3601
+ onPaste: f,
3602
+ onRefresh: s,
3603
+ allowedFileExtensions: h
3559
3604
  }) => {
3560
- const s = Cn(), [p, C] = Q(!1), [b, F] = Q(null), [k, R] = Q(""), [I, V] = Q([]), [E, z] = Q(null);
3605
+ const N = Cn(), [j, _] = ee(!1), [V, C] = ee(null), [R, M] = ee(""), [z, F] = ee(null), [P, b] = ee([]), [k, E] = ee(null);
3561
3606
  xe(() => {
3562
- V(() => n == null ? void 0 : n.filter((G) => G.path === k));
3563
- }, [n, k]);
3564
- const [P, y] = Q({ col1: "20", col2: "80" }), [S, M] = Q(!1), L = Fe(null), te = () => {
3565
- M(!0);
3566
- }, K = () => {
3567
- M(!1);
3568
- }, A = (G) => {
3569
- if (!S) return;
3570
- G.preventDefault();
3571
- const le = L.current.getBoundingClientRect(), ce = (G.clientX - le.left) / le.width * 100;
3572
- ce >= 15 && ce <= 60 && y({ col1: ce, col2: 100 - ce });
3607
+ b(() => n == null ? void 0 : n.filter((ne) => ne.path === `${R}/${ne.name}`)), F(() => n == null ? void 0 : n.find((ne) => ne.path === R));
3608
+ }, [n, R]);
3609
+ const [L, Q] = ee({ col1: "20", col2: "80" }), [$, O] = ee(!1), J = Fe(null), re = () => {
3610
+ O(!0);
3611
+ }, ue = () => {
3612
+ O(!1);
3613
+ }, fe = (ne) => {
3614
+ if (!$) return;
3615
+ ne.preventDefault();
3616
+ const ce = J.current.getBoundingClientRect(), K = (ne.clientX - ce.left) / ce.width * 100;
3617
+ K >= 15 && K <= 60 && Q({ col1: K, col2: 100 - K });
3573
3618
  };
3574
3619
  return /* @__PURE__ */ r.jsxs("main", { className: "file-explorer", children: [
3575
3620
  /* @__PURE__ */ r.jsx(Fn, { isLoading: o }),
@@ -3578,53 +3623,53 @@ const Wt = /* @__PURE__ */ Mt(zn), Hn = ({ fileUploadConfig: n, allowedFileExten
3578
3623
  {
3579
3624
  allowCreateFolder: !0,
3580
3625
  allowUploadFile: !0,
3581
- handleRefresh: v,
3582
- isItemSelection: p,
3583
- setIsItemSelection: C,
3584
- currentPath: k,
3585
- selectedFile: b,
3586
- setSelectedFile: F,
3626
+ handleRefresh: s,
3627
+ isItemSelection: j,
3628
+ setIsItemSelection: _,
3629
+ currentPath: R,
3630
+ selectedFile: V,
3631
+ setSelectedFile: C,
3587
3632
  files: n,
3588
- clipBoard: E,
3589
- setClipBoard: z,
3590
- handlePaste: l,
3591
- triggerAction: s
3633
+ clipBoard: k,
3634
+ setClipBoard: E,
3635
+ handlePaste: f,
3636
+ triggerAction: N
3592
3637
  }
3593
3638
  ),
3594
3639
  /* @__PURE__ */ r.jsxs(
3595
3640
  "section",
3596
3641
  {
3597
- ref: L,
3598
- onMouseMove: A,
3599
- onMouseUp: K,
3642
+ ref: J,
3643
+ onMouseMove: fe,
3644
+ onMouseUp: ue,
3600
3645
  className: "files-container",
3601
3646
  children: [
3602
- /* @__PURE__ */ r.jsxs("div", { className: "navigation-pane", style: { width: P.col1 + "%" }, children: [
3603
- /* @__PURE__ */ r.jsx(mn, { files: n, currentPath: k, setCurrentPath: R }),
3647
+ /* @__PURE__ */ r.jsxs("div", { className: "navigation-pane", style: { width: L.col1 + "%" }, children: [
3648
+ /* @__PURE__ */ r.jsx(mn, { files: n, currentPath: R, setCurrentPath: M }),
3604
3649
  /* @__PURE__ */ r.jsx(
3605
3650
  "div",
3606
3651
  {
3607
- className: `sidebar-resize ${S ? "sidebar-dragging" : ""}`,
3608
- onMouseDown: te
3652
+ className: `sidebar-resize ${$ ? "sidebar-dragging" : ""}`,
3653
+ onMouseDown: re
3609
3654
  }
3610
3655
  )
3611
3656
  ] }),
3612
- /* @__PURE__ */ r.jsxs("div", { className: "folers-preview", style: { width: P.col2 + "%" }, children: [
3613
- /* @__PURE__ */ r.jsx(gn, { currentPath: k, setCurrentPath: R }),
3657
+ /* @__PURE__ */ r.jsxs("div", { className: "folers-preview", style: { width: L.col2 + "%" }, children: [
3658
+ /* @__PURE__ */ r.jsx(gn, { currentPath: R, setCurrentPath: M }),
3614
3659
  /* @__PURE__ */ r.jsx(
3615
3660
  wn,
3616
3661
  {
3617
- currentPathFiles: I,
3618
- setCurrentPath: R,
3619
- isItemSelection: p,
3620
- setIsItemSelection: C,
3621
- setSelectedFile: F,
3622
- currentPath: k,
3623
- clipBoard: E,
3624
- setClipBoard: z,
3625
- handlePaste: l,
3662
+ currentPathFiles: P,
3663
+ setCurrentPath: M,
3664
+ isItemSelection: j,
3665
+ setIsItemSelection: _,
3666
+ setSelectedFile: C,
3667
+ currentPath: R,
3668
+ clipBoard: k,
3669
+ setClipBoard: E,
3670
+ handlePaste: f,
3626
3671
  files: n,
3627
- triggerAction: s
3672
+ triggerAction: N
3628
3673
  }
3629
3674
  )
3630
3675
  ] })
@@ -3635,17 +3680,20 @@ const Wt = /* @__PURE__ */ Mt(zn), Hn = ({ fileUploadConfig: n, allowedFileExten
3635
3680
  Dn,
3636
3681
  {
3637
3682
  files: n,
3638
- fileUploadConfig: h,
3639
- currentPath: k,
3640
- currentPathFiles: I,
3641
- selectedFile: b,
3642
- triggerAction: s,
3683
+ fileUploadConfig: p,
3684
+ currentPath: R,
3685
+ currentPathFiles: P,
3686
+ selectedFile: V,
3687
+ triggerAction: N,
3643
3688
  handleCreateFolder: c,
3644
- handleRename: d,
3645
- handleDelete: u,
3646
- setIsItemSelection: C,
3647
- setSelectedFile: F,
3648
- allowedFileExtensions: f
3689
+ handleFileUploading: d,
3690
+ handleFileUploaded: u,
3691
+ currentFolder: z,
3692
+ handleRename: l,
3693
+ handleDelete: v,
3694
+ setIsItemSelection: _,
3695
+ setSelectedFile: C,
3696
+ allowedFileExtensions: h
3649
3697
  }
3650
3698
  )
3651
3699
  ] });