test-stpr-ui-kit 0.4.22 → 0.4.23

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,4 +1,4 @@
1
- import { jsxs as H, jsx as l, Fragment as cn } from "react/jsx-runtime";
1
+ import { jsxs as Y, jsx as l, Fragment as cn } from "react/jsx-runtime";
2
2
  import * as N from "react";
3
3
  import We, { useState as ce, useEffect as ae, useRef as Te, useCallback as le, forwardRef as zn, useImperativeHandle as Bn, Fragment as Mn, useMemo as Oe, useReducer as Wn, createContext as ln, useContext as dn } from "react";
4
4
  import qn from "react-dom";
@@ -75,7 +75,7 @@ const ao = "_spAccordion_ui7ma_43", io = "_spAccordion_noBorder_ui7ma_57", ro =
75
75
  classNameChildrenWrapper: g
76
76
  } = e, [b, E] = ce(o), h = () => {
77
77
  a || (E(!b), i == null || i(!b));
78
- }, R = _({
78
+ }, A = _({
79
79
  [se.spAccordion]: !0,
80
80
  [se.spAccordion_open]: b,
81
81
  [se.spAccordion_noOpen]: !b,
@@ -85,11 +85,11 @@ const ao = "_spAccordion_ui7ma_43", io = "_spAccordion_noBorder_ui7ma_57", ro =
85
85
  }), L = _({
86
86
  [se.spAccordion__header]: !0,
87
87
  ...c && { [c]: !0 }
88
- }), Y = _({
88
+ }), V = _({
89
89
  [se.spAccordion__name]: !0,
90
90
  [se.spAccordion__name_hiddenExpand]: a,
91
91
  ...u && { [u]: !0 }
92
- }), A = _({
92
+ }), D = _({
93
93
  [se.spAccordion__icon]: !0,
94
94
  [se.spAccordion__icon_open]: b,
95
95
  [se.spAccordion__icon_hidden]: a,
@@ -102,10 +102,10 @@ const ao = "_spAccordion_ui7ma_43", io = "_spAccordion_noBorder_ui7ma_57", ro =
102
102
  [se.spAccordion__content]: !0,
103
103
  [se.spAccordion__content_open]: b
104
104
  });
105
- return /* @__PURE__ */ H("div", { className: R, children: [
106
- /* @__PURE__ */ H("div", { className: L, children: [
107
- /* @__PURE__ */ l("div", { className: Y, children: /* @__PURE__ */ l("span", { onClick: h, children: t }) }),
108
- /* @__PURE__ */ l(ge, { onClick: h, className: A, name: re.ChevronDown })
105
+ return /* @__PURE__ */ Y("div", { className: A, children: [
106
+ /* @__PURE__ */ Y("div", { className: L, children: [
107
+ /* @__PURE__ */ l("div", { className: V, children: /* @__PURE__ */ l("span", { onClick: h, children: t }) }),
108
+ /* @__PURE__ */ l(ge, { onClick: h, className: D, name: re.ChevronDown })
109
109
  ] }),
110
110
  /* @__PURE__ */ l("div", { className: w, children: /* @__PURE__ */ l("div", { className: p, children: n }) })
111
111
  ] });
@@ -160,21 +160,21 @@ const ao = "_spAccordion_ui7ma_43", io = "_spAccordion_noBorder_ui7ma_57", ro =
160
160
  isOnlyIcon: b = !1,
161
161
  noPadding: E = !1,
162
162
  classNameRoot: h,
163
- classNameIconContainerRoot: R
163
+ classNameIconContainerRoot: A
164
164
  } = e, L = (w) => {
165
165
  s || a == null || a(w);
166
- }, Y = () => {
166
+ }, V = () => {
167
167
  const w = _({
168
168
  [be.spButton__text]: !0
169
169
  }), p = _({
170
170
  [be.spButton__iconContainer]: !0,
171
- ...R && { [R]: !0 }
171
+ ...A && { [A]: !0 }
172
172
  });
173
- return /* @__PURE__ */ H(cn, { children: [
173
+ return /* @__PURE__ */ Y(cn, { children: [
174
174
  (i || d) && /* @__PURE__ */ l("div", { className: p, children: d ? /* @__PURE__ */ l(wo, { classNameRoot: be.spButton__spinner }) : i && /* @__PURE__ */ l(ge, { name: i, rotate: r }) }),
175
175
  !b && u && /* @__PURE__ */ l("div", { className: w, children: u })
176
176
  ] });
177
- }, A = _({
177
+ }, D = _({
178
178
  [be.spButton]: !0,
179
179
  [be.spButton_noPadding]: E,
180
180
  [be.spButton_onlyIcon]: b,
@@ -189,12 +189,12 @@ const ao = "_spAccordion_ui7ma_43", io = "_spAccordion_noBorder_ui7ma_57", ro =
189
189
  "button",
190
190
  {
191
191
  style: o,
192
- className: A,
192
+ className: D,
193
193
  onClick: L,
194
194
  disabled: s,
195
195
  type: m,
196
196
  form: c,
197
- children: Y()
197
+ children: V()
198
198
  }
199
199
  );
200
200
  }, Po = "_spApplyButtons_e8c1h_43", Fo = "_spApplyButtons__cancel_e8c1h_65", zo = "_spApplyButtons__submit_e8c1h_68", ze = {
@@ -227,7 +227,7 @@ const ao = "_spAccordion_ui7ma_43", io = "_spAccordion_noBorder_ui7ma_57", ro =
227
227
  }), E = _({
228
228
  [ze.spApplyButtons__cancel]: !0
229
229
  });
230
- return /* @__PURE__ */ H("div", { className: g, children: [
230
+ return /* @__PURE__ */ Y("div", { className: g, children: [
231
231
  o && /* @__PURE__ */ l(
232
232
  yt,
233
233
  {
@@ -320,81 +320,81 @@ const It = (e) => {
320
320
  classNameTooltip: g,
321
321
  classNameBaseTooltipRoot: b,
322
322
  classNameBaseTooltipContentRoot: E
323
- } = e, [h, R] = ce(!1), L = Te(null), Y = Te(null), [A, w] = ce(!1);
323
+ } = e, [h, A] = ce(!1), L = Te(null), V = Te(null), [D, w] = ce(!1);
324
324
  fn(
325
- [L, Y],
325
+ [L, V],
326
326
  () => {
327
- s && s(), R(!1);
327
+ s && s(), A(!1);
328
328
  },
329
329
  h
330
330
  );
331
- const p = (T) => {
332
- o && T.stopPropagation(), !t && (h ? s && s() : r && r(), R((V) => n ? !V : !0));
333
- }, [C, P] = ce({
331
+ const p = (k) => {
332
+ o && k.stopPropagation(), !t && (h ? s && s() : r && r(), A((q) => n ? !q : !0));
333
+ }, [T, P] = ce({
334
334
  visibility: "hidden",
335
335
  opacity: 0,
336
336
  left: "-9999px"
337
337
  }), [U, J] = ce(!1), ne = le(() => {
338
- if (!L.current || !Y.current) return;
339
- const T = L.current.getBoundingClientRect(), V = Y.current.getBoundingClientRect();
340
- let X = 0, D = 0;
338
+ if (!L.current || !V.current) return;
339
+ const k = L.current.getBoundingClientRect(), q = V.current.getBoundingClientRect();
340
+ let X = 0, j = 0;
341
341
  switch (c) {
342
342
  case ie.Right:
343
- X = T.top + window.scrollY - (V.height - T.height) / 2, D = T.right + window.scrollX;
343
+ X = k.top + window.scrollY - (q.height - k.height) / 2, j = k.right + window.scrollX;
344
344
  break;
345
345
  case ie.RightTop:
346
- X = T.top + window.scrollY, D = T.right + window.scrollX;
346
+ X = k.top + window.scrollY, j = k.right + window.scrollX;
347
347
  break;
348
348
  case ie.RightBottom:
349
- X = T.bottom + window.scrollY - V.height, D = T.right + window.scrollX;
349
+ X = k.bottom + window.scrollY - q.height, j = k.right + window.scrollX;
350
350
  break;
351
351
  case ie.Left:
352
- X = T.top + window.scrollY - (V.height - T.height) / 2, D = T.left + window.scrollX - V.width;
352
+ X = k.top + window.scrollY - (q.height - k.height) / 2, j = k.left + window.scrollX - q.width;
353
353
  break;
354
354
  case ie.LeftTop:
355
- X = T.top + window.scrollY, D = T.left + window.scrollX - V.width;
355
+ X = k.top + window.scrollY, j = k.left + window.scrollX - q.width;
356
356
  break;
357
357
  case ie.LeftBottom:
358
- X = T.bottom + window.scrollY - V.height, D = T.left + window.scrollX - V.width;
358
+ X = k.bottom + window.scrollY - q.height, j = k.left + window.scrollX - q.width;
359
359
  break;
360
360
  case ie.Bottom:
361
- X = T.bottom + window.scrollY, D = T.left + window.scrollX - (V.width - T.width) / 2;
361
+ X = k.bottom + window.scrollY, j = k.left + window.scrollX - (q.width - k.width) / 2;
362
362
  break;
363
363
  case ie.BottomLeft:
364
- X = T.bottom + window.scrollY, D = T.left + window.scrollX;
364
+ X = k.bottom + window.scrollY, j = k.left + window.scrollX;
365
365
  break;
366
366
  case ie.BottomRight:
367
- X = T.bottom + window.scrollY, D = T.right + window.scrollX - V.width;
367
+ X = k.bottom + window.scrollY, j = k.right + window.scrollX - q.width;
368
368
  break;
369
369
  case ie.Top:
370
- X = T.top + window.scrollY - V.height, D = T.left + window.scrollX - (V.width - T.width) / 2;
370
+ X = k.top + window.scrollY - q.height, j = k.left + window.scrollX - (q.width - k.width) / 2;
371
371
  break;
372
372
  case ie.TopLeft:
373
- X = T.top + window.scrollY - V.height, D = T.left + window.scrollX;
373
+ X = k.top + window.scrollY - q.height, j = k.left + window.scrollX;
374
374
  break;
375
375
  case ie.TopRight:
376
- X = T.top + window.scrollY - V.height, D = T.right + window.scrollX - V.width;
376
+ X = k.top + window.scrollY - q.height, j = k.right + window.scrollX - q.width;
377
377
  break;
378
378
  default:
379
- X = T.bottom + window.scrollY, D = T.left + window.scrollX;
379
+ X = k.bottom + window.scrollY, j = k.left + window.scrollX;
380
380
  }
381
- X + V.height > window.innerHeight + window.scrollY && c.includes("bottom") ? X = T.top + window.scrollY - V.height : X < window.scrollY && c.includes("top") && (X = T.bottom + window.scrollY), P((f) => ({
381
+ X + q.height > window.innerHeight + window.scrollY && c.includes("bottom") ? X = k.top + window.scrollY - q.height : X < window.scrollY && c.includes("top") && (X = k.bottom + window.scrollY), j + q.width > window.innerWidth + window.scrollX && c.includes("left") ? j = k.left + window.scrollX - q.width + k.width : j < window.scrollX && c.includes("right") && (j = k.right + window.scrollX - k.width), P((f) => ({
382
382
  ...f,
383
383
  top: `${X}px`,
384
- left: `${D}px`,
384
+ left: `${j}px`,
385
385
  visibility: h || U ? "visible" : "hidden",
386
386
  opacity: h || U ? 1 : 0
387
387
  }));
388
388
  }, [c, h, U]);
389
389
  ae(() => (w(!0), () => w(!1)), []), ae(() => {
390
- A && ne();
391
- }, [A, ne]), ae(() => {
392
- if (!A) return;
393
- const T = () => ne();
394
- return window.addEventListener("resize", T), window.addEventListener("scroll", T, !0), () => {
395
- window.removeEventListener("resize", T), window.removeEventListener("scroll", T, !0);
390
+ D && ne();
391
+ }, [D, ne]), ae(() => {
392
+ if (!D) return;
393
+ const k = () => ne();
394
+ return window.addEventListener("resize", k), window.addEventListener("scroll", k, !0), () => {
395
+ window.removeEventListener("resize", k), window.removeEventListener("scroll", k, !0);
396
396
  };
397
- }, [A, ne]);
397
+ }, [D, ne]);
398
398
  const de = _({
399
399
  [Dt.spTooltip]: !0,
400
400
  ...g && { [g]: !0 }
@@ -402,11 +402,11 @@ const It = (e) => {
402
402
  ...b && { [b]: !0 }
403
403
  }), me = _({
404
404
  ...E && { [E]: !0 }
405
- }), q = _({
405
+ }), $ = _({
406
406
  [Dt.spTooltip__trigger]: !0,
407
407
  ...m && { [m]: !0 }
408
408
  }), Z = document.body;
409
- return /* @__PURE__ */ H(
409
+ return /* @__PURE__ */ Y(
410
410
  "div",
411
411
  {
412
412
  className: de,
@@ -414,12 +414,12 @@ const It = (e) => {
414
414
  onMouseEnter: () => t && J(!0),
415
415
  onMouseLeave: () => t && J(!1),
416
416
  children: [
417
- /* @__PURE__ */ l("div", { ref: L, className: q, children: i }),
417
+ /* @__PURE__ */ l("div", { ref: L, className: $, children: i }),
418
418
  a && /* @__PURE__ */ l(_n, { node: Z, children: /* @__PURE__ */ l(
419
419
  mn,
420
420
  {
421
- style: C,
422
- ref: Y,
421
+ style: T,
422
+ ref: V,
423
423
  noPadding: d,
424
424
  text: u,
425
425
  classNameRoot: ue,
@@ -461,7 +461,7 @@ const It = (e) => {
461
461
  } = e, h = _({
462
462
  [ye.spCheckbox]: !0,
463
463
  ...b && { [b]: !0 }
464
- }), R = _({
464
+ }), A = _({
465
465
  [ye.spCheckbox__box]: !0,
466
466
  [ye.spCheckbox__box_checked]: n,
467
467
  [ye.spCheckbox__box_disabled]: o,
@@ -469,9 +469,9 @@ const It = (e) => {
469
469
  [ye.spCheckbox__box_error]: s
470
470
  }), L = _({
471
471
  [ye.spCheckbox__control]: !0
472
- }), Y = _({
472
+ }), V = _({
473
473
  [ye.spCheckbox__label]: !0
474
- }), A = _({
474
+ }), D = _({
475
475
  [ye.spCheckbox__required]: !0
476
476
  }), w = _({
477
477
  [ye.spCheckbox__error]: !0,
@@ -479,8 +479,8 @@ const It = (e) => {
479
479
  }), p = _({
480
480
  [ye.spCheckbox__tooltip]: !0
481
481
  });
482
- return /* @__PURE__ */ H("div", { className: h, onMouseEnter: g, children: [
483
- /* @__PURE__ */ H("label", { className: R, children: [
482
+ return /* @__PURE__ */ Y("div", { className: h, onMouseEnter: g, children: [
483
+ /* @__PURE__ */ Y("label", { className: A, children: [
484
484
  /* @__PURE__ */ l(
485
485
  "input",
486
486
  {
@@ -492,8 +492,8 @@ const It = (e) => {
492
492
  }
493
493
  }
494
494
  ),
495
- r && /* @__PURE__ */ l("span", { className: Y, children: r }),
496
- c && /* @__PURE__ */ l("div", { className: A, children: "*" }),
495
+ r && /* @__PURE__ */ l("span", { className: V, children: r }),
496
+ c && /* @__PURE__ */ l("div", { className: D, children: "*" }),
497
497
  d && /* @__PURE__ */ l("div", { className: p, children: /* @__PURE__ */ l(Qe, { position: u, text: d }) })
498
498
  ] }),
499
499
  s && /* @__PURE__ */ l("div", { className: w, children: s })
@@ -600,26 +600,26 @@ const sa = "_modalWrapper_ah6vq_43", pa = "_modalWrapper__modal_ah6vq_54", ca =
600
600
  ...r && { [r]: !0 }
601
601
  }), h = _({
602
602
  [ke.modalWrapper__closeButton]: !0
603
- }), R = _({
603
+ }), A = _({
604
604
  [ke.modalWrapper__closeButtonIconContainer]: !0
605
605
  }), L = _({
606
606
  [ke.modalWrapper__content]: !0
607
- }), Y = _({
607
+ }), V = _({
608
608
  [ke.modalWrapper__header]: !0
609
- }), A = _({
609
+ }), D = _({
610
610
  [ke.modalWrapper__subHeader]: !0
611
611
  }), w = _({
612
612
  [ke.modalWrapper__footer]: !0
613
613
  });
614
614
  return ae(() => {
615
- const p = window.scrollY, C = document.body;
616
- return C.style.position = "fixed", C.style.top = `-${p}px`, C.style.left = "0", C.style.right = "0", C.style.overflow = "hidden", () => {
617
- C.style.position = "", C.style.top = "", C.style.left = "", C.style.right = "", C.style.overflow = "", window.scrollTo(0, p);
615
+ const p = window.scrollY, T = document.body;
616
+ return T.style.position = "fixed", T.style.top = `-${p}px`, T.style.left = "0", T.style.right = "0", T.style.overflow = "hidden", () => {
617
+ T.style.position = "", T.style.top = "", T.style.left = "", T.style.right = "", T.style.overflow = "", window.scrollTo(0, p);
618
618
  };
619
- }, []), /* @__PURE__ */ l(oa, { zIndex: t, isHiddenModal: n, classNameRoot: i, children: /* @__PURE__ */ l("div", { className: b, children: /* @__PURE__ */ H("div", { className: E, style: s, children: [
620
- (u || d) && /* @__PURE__ */ H("div", { className: Y, children: [
619
+ }, []), /* @__PURE__ */ l(oa, { zIndex: t, isHiddenModal: n, classNameRoot: i, children: /* @__PURE__ */ l("div", { className: b, children: /* @__PURE__ */ Y("div", { className: E, style: s, children: [
620
+ (u || d) && /* @__PURE__ */ Y("div", { className: V, children: [
621
621
  typeof u == "string" ? /* @__PURE__ */ l(Se, { type: "h3", children: u }) : u,
622
- d && /* @__PURE__ */ l("div", { className: A, children: typeof d == "string" ? /* @__PURE__ */ l(Se, { children: d }) : d })
622
+ d && /* @__PURE__ */ l("div", { className: D, children: typeof d == "string" ? /* @__PURE__ */ l(Se, { children: d }) : d })
623
623
  ] }),
624
624
  a && /* @__PURE__ */ l("div", { className: L, children: a }),
625
625
  g && /* @__PURE__ */ l("div", { className: w, children: g }),
@@ -627,7 +627,7 @@ const sa = "_modalWrapper_ah6vq_43", pa = "_modalWrapper__modal_ah6vq_54", ca =
627
627
  yt,
628
628
  {
629
629
  classNameRoot: h,
630
- classNameIconContainerRoot: R,
630
+ classNameIconContainerRoot: A,
631
631
  onClick: c,
632
632
  iconName: re.Close,
633
633
  variant: "link",
@@ -691,7 +691,7 @@ const sa = "_modalWrapper_ah6vq_43", pa = "_modalWrapper__modal_ah6vq_54", ca =
691
691
  });
692
692
  return /* @__PURE__ */ l("ul", { className: a, children: n == null ? void 0 : n.map((i) => {
693
693
  const r = i.key === "delete";
694
- return /* @__PURE__ */ H(
694
+ return /* @__PURE__ */ Y(
695
695
  "li",
696
696
  {
697
697
  className: _({
@@ -726,11 +726,11 @@ var Lt;
726
726
  function ha() {
727
727
  if (Lt) return G;
728
728
  Lt = 1;
729
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, R = e ? Symbol.for("react.fundamental") : 60117, L = e ? Symbol.for("react.responder") : 60118, Y = e ? Symbol.for("react.scope") : 60119;
730
- function A(p) {
729
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, A = e ? Symbol.for("react.fundamental") : 60117, L = e ? Symbol.for("react.responder") : 60118, V = e ? Symbol.for("react.scope") : 60119;
730
+ function D(p) {
731
731
  if (typeof p == "object" && p !== null) {
732
- var C = p.$$typeof;
733
- switch (C) {
732
+ var T = p.$$typeof;
733
+ switch (T) {
734
734
  case t:
735
735
  switch (p = p.type, p) {
736
736
  case m:
@@ -749,44 +749,44 @@ function ha() {
749
749
  case r:
750
750
  return p;
751
751
  default:
752
- return C;
752
+ return T;
753
753
  }
754
754
  }
755
755
  case n:
756
- return C;
756
+ return T;
757
757
  }
758
758
  }
759
759
  }
760
760
  function w(p) {
761
- return A(p) === c;
761
+ return D(p) === c;
762
762
  }
763
763
  return G.AsyncMode = m, G.ConcurrentMode = c, G.ContextConsumer = s, G.ContextProvider = r, G.Element = t, G.ForwardRef = u, G.Fragment = o, G.Lazy = E, G.Memo = b, G.Portal = n, G.Profiler = i, G.StrictMode = a, G.Suspense = d, G.isAsyncMode = function(p) {
764
- return w(p) || A(p) === m;
764
+ return w(p) || D(p) === m;
765
765
  }, G.isConcurrentMode = w, G.isContextConsumer = function(p) {
766
- return A(p) === s;
766
+ return D(p) === s;
767
767
  }, G.isContextProvider = function(p) {
768
- return A(p) === r;
768
+ return D(p) === r;
769
769
  }, G.isElement = function(p) {
770
770
  return typeof p == "object" && p !== null && p.$$typeof === t;
771
771
  }, G.isForwardRef = function(p) {
772
- return A(p) === u;
772
+ return D(p) === u;
773
773
  }, G.isFragment = function(p) {
774
- return A(p) === o;
774
+ return D(p) === o;
775
775
  }, G.isLazy = function(p) {
776
- return A(p) === E;
776
+ return D(p) === E;
777
777
  }, G.isMemo = function(p) {
778
- return A(p) === b;
778
+ return D(p) === b;
779
779
  }, G.isPortal = function(p) {
780
- return A(p) === n;
780
+ return D(p) === n;
781
781
  }, G.isProfiler = function(p) {
782
- return A(p) === i;
782
+ return D(p) === i;
783
783
  }, G.isStrictMode = function(p) {
784
- return A(p) === a;
784
+ return D(p) === a;
785
785
  }, G.isSuspense = function(p) {
786
- return A(p) === d;
786
+ return D(p) === d;
787
787
  }, G.isValidElementType = function(p) {
788
- return typeof p == "string" || typeof p == "function" || p === o || p === c || p === i || p === a || p === d || p === g || typeof p == "object" && p !== null && (p.$$typeof === E || p.$$typeof === b || p.$$typeof === r || p.$$typeof === s || p.$$typeof === u || p.$$typeof === R || p.$$typeof === L || p.$$typeof === Y || p.$$typeof === h);
789
- }, G.typeOf = A, G;
788
+ return typeof p == "string" || typeof p == "function" || p === o || p === c || p === i || p === a || p === d || p === g || typeof p == "object" && p !== null && (p.$$typeof === E || p.$$typeof === b || p.$$typeof === r || p.$$typeof === s || p.$$typeof === u || p.$$typeof === A || p.$$typeof === L || p.$$typeof === V || p.$$typeof === h);
789
+ }, G.typeOf = D, G;
790
790
  }
791
791
  var K = {};
792
792
  /** @license React v16.13.1
@@ -800,10 +800,10 @@ var K = {};
800
800
  var Pt;
801
801
  function ba() {
802
802
  return Pt || (Pt = 1, process.env.NODE_ENV !== "production" && function() {
803
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, R = e ? Symbol.for("react.fundamental") : 60117, L = e ? Symbol.for("react.responder") : 60118, Y = e ? Symbol.for("react.scope") : 60119;
804
- function A(v) {
803
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, A = e ? Symbol.for("react.fundamental") : 60117, L = e ? Symbol.for("react.responder") : 60118, V = e ? Symbol.for("react.scope") : 60119;
804
+ function D(v) {
805
805
  return typeof v == "string" || typeof v == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
806
- v === o || v === c || v === i || v === a || v === d || v === g || typeof v == "object" && v !== null && (v.$$typeof === E || v.$$typeof === b || v.$$typeof === r || v.$$typeof === s || v.$$typeof === u || v.$$typeof === R || v.$$typeof === L || v.$$typeof === Y || v.$$typeof === h);
806
+ v === o || v === c || v === i || v === a || v === d || v === g || typeof v == "object" && v !== null && (v.$$typeof === E || v.$$typeof === b || v.$$typeof === r || v.$$typeof === s || v.$$typeof === u || v.$$typeof === A || v.$$typeof === L || v.$$typeof === V || v.$$typeof === h);
807
807
  }
808
808
  function w(v) {
809
809
  if (typeof v == "object" && v !== null) {
@@ -837,8 +837,8 @@ function ba() {
837
837
  }
838
838
  }
839
839
  }
840
- var p = m, C = c, P = s, U = r, J = t, ne = u, de = o, ue = E, me = b, q = n, Z = i, T = a, V = d, X = !1;
841
- function D(v) {
840
+ var p = m, T = c, P = s, U = r, J = t, ne = u, de = o, ue = E, me = b, $ = n, Z = i, k = a, q = d, X = !1;
841
+ function j(v) {
842
842
  return X || (X = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), f(v) || w(v) === m;
843
843
  }
844
844
  function f(v) {
@@ -859,7 +859,7 @@ function ba() {
859
859
  function M(v) {
860
860
  return w(v) === o;
861
861
  }
862
- function j(v) {
862
+ function R(v) {
863
863
  return w(v) === E;
864
864
  }
865
865
  function z(v) {
@@ -868,7 +868,7 @@ function ba() {
868
868
  function W(v) {
869
869
  return w(v) === n;
870
870
  }
871
- function $(v) {
871
+ function H(v) {
872
872
  return w(v) === i;
873
873
  }
874
874
  function B(v) {
@@ -877,7 +877,7 @@ function ba() {
877
877
  function te(v) {
878
878
  return w(v) === d;
879
879
  }
880
- K.AsyncMode = p, K.ConcurrentMode = C, K.ContextConsumer = P, K.ContextProvider = U, K.Element = J, K.ForwardRef = ne, K.Fragment = de, K.Lazy = ue, K.Memo = me, K.Portal = q, K.Profiler = Z, K.StrictMode = T, K.Suspense = V, K.isAsyncMode = D, K.isConcurrentMode = f, K.isContextConsumer = y, K.isContextProvider = O, K.isElement = F, K.isForwardRef = I, K.isFragment = M, K.isLazy = j, K.isMemo = z, K.isPortal = W, K.isProfiler = $, K.isStrictMode = B, K.isSuspense = te, K.isValidElementType = A, K.typeOf = w;
880
+ K.AsyncMode = p, K.ConcurrentMode = T, K.ContextConsumer = P, K.ContextProvider = U, K.Element = J, K.ForwardRef = ne, K.Fragment = de, K.Lazy = ue, K.Memo = me, K.Portal = $, K.Profiler = Z, K.StrictMode = k, K.Suspense = q, K.isAsyncMode = j, K.isConcurrentMode = f, K.isContextConsumer = y, K.isContextProvider = O, K.isElement = F, K.isForwardRef = I, K.isFragment = M, K.isLazy = R, K.isMemo = z, K.isPortal = W, K.isProfiler = H, K.isStrictMode = B, K.isSuspense = te, K.isValidElementType = D, K.typeOf = w;
881
881
  }()), K;
882
882
  }
883
883
  var Ft;
@@ -1028,11 +1028,11 @@ function ka() {
1028
1028
  object: L("object"),
1029
1029
  string: L("string"),
1030
1030
  symbol: L("symbol"),
1031
- any: Y(),
1032
- arrayOf: A,
1031
+ any: V(),
1032
+ arrayOf: D,
1033
1033
  element: w(),
1034
1034
  elementType: p(),
1035
- instanceOf: C,
1035
+ instanceOf: T,
1036
1036
  node: ne(),
1037
1037
  objectOf: U,
1038
1038
  oneOf: P,
@@ -1047,10 +1047,10 @@ function ka() {
1047
1047
  this.message = f, this.data = y && typeof y == "object" ? y : {}, this.stack = "";
1048
1048
  }
1049
1049
  h.prototype = Error.prototype;
1050
- function R(f) {
1050
+ function A(f) {
1051
1051
  if (process.env.NODE_ENV !== "production")
1052
1052
  var y = {}, O = 0;
1053
- function F(M, j, z, W, $, B, te) {
1053
+ function F(M, R, z, W, H, B, te) {
1054
1054
  if (W = W || g, B = B || z, te !== n) {
1055
1055
  if (m) {
1056
1056
  var v = new Error(
@@ -1065,111 +1065,111 @@ function ka() {
1065
1065
  ), y[fe] = !0, O++);
1066
1066
  }
1067
1067
  }
1068
- return j[z] == null ? M ? j[z] === null ? new h("The " + $ + " `" + B + "` is marked as required " + ("in `" + W + "`, but its value is `null`.")) : new h("The " + $ + " `" + B + "` is marked as required in " + ("`" + W + "`, but its value is `undefined`.")) : null : f(j, z, W, $, B);
1068
+ return R[z] == null ? M ? R[z] === null ? new h("The " + H + " `" + B + "` is marked as required " + ("in `" + W + "`, but its value is `null`.")) : new h("The " + H + " `" + B + "` is marked as required in " + ("`" + W + "`, but its value is `undefined`.")) : null : f(R, z, W, H, B);
1069
1069
  }
1070
1070
  var I = F.bind(null, !1);
1071
1071
  return I.isRequired = F.bind(null, !0), I;
1072
1072
  }
1073
1073
  function L(f) {
1074
- function y(O, F, I, M, j, z) {
1075
- var W = O[F], $ = T(W);
1076
- if ($ !== f) {
1077
- var B = V(W);
1074
+ function y(O, F, I, M, R, z) {
1075
+ var W = O[F], H = k(W);
1076
+ if (H !== f) {
1077
+ var B = q(W);
1078
1078
  return new h(
1079
- "Invalid " + M + " `" + j + "` of type " + ("`" + B + "` supplied to `" + I + "`, expected ") + ("`" + f + "`."),
1079
+ "Invalid " + M + " `" + R + "` of type " + ("`" + B + "` supplied to `" + I + "`, expected ") + ("`" + f + "`."),
1080
1080
  { expectedType: f }
1081
1081
  );
1082
1082
  }
1083
1083
  return null;
1084
1084
  }
1085
- return R(y);
1085
+ return A(y);
1086
1086
  }
1087
- function Y() {
1088
- return R(r);
1087
+ function V() {
1088
+ return A(r);
1089
1089
  }
1090
- function A(f) {
1091
- function y(O, F, I, M, j) {
1090
+ function D(f) {
1091
+ function y(O, F, I, M, R) {
1092
1092
  if (typeof f != "function")
1093
- return new h("Property `" + j + "` of component `" + I + "` has invalid PropType notation inside arrayOf.");
1093
+ return new h("Property `" + R + "` of component `" + I + "` has invalid PropType notation inside arrayOf.");
1094
1094
  var z = O[F];
1095
1095
  if (!Array.isArray(z)) {
1096
- var W = T(z);
1097
- return new h("Invalid " + M + " `" + j + "` of type " + ("`" + W + "` supplied to `" + I + "`, expected an array."));
1096
+ var W = k(z);
1097
+ return new h("Invalid " + M + " `" + R + "` of type " + ("`" + W + "` supplied to `" + I + "`, expected an array."));
1098
1098
  }
1099
- for (var $ = 0; $ < z.length; $++) {
1100
- var B = f(z, $, I, M, j + "[" + $ + "]", n);
1099
+ for (var H = 0; H < z.length; H++) {
1100
+ var B = f(z, H, I, M, R + "[" + H + "]", n);
1101
1101
  if (B instanceof Error)
1102
1102
  return B;
1103
1103
  }
1104
1104
  return null;
1105
1105
  }
1106
- return R(y);
1106
+ return A(y);
1107
1107
  }
1108
1108
  function w() {
1109
1109
  function f(y, O, F, I, M) {
1110
- var j = y[O];
1111
- if (!s(j)) {
1112
- var z = T(j);
1110
+ var R = y[O];
1111
+ if (!s(R)) {
1112
+ var z = k(R);
1113
1113
  return new h("Invalid " + I + " `" + M + "` of type " + ("`" + z + "` supplied to `" + F + "`, expected a single ReactElement."));
1114
1114
  }
1115
1115
  return null;
1116
1116
  }
1117
- return R(f);
1117
+ return A(f);
1118
1118
  }
1119
1119
  function p() {
1120
1120
  function f(y, O, F, I, M) {
1121
- var j = y[O];
1122
- if (!e.isValidElementType(j)) {
1123
- var z = T(j);
1121
+ var R = y[O];
1122
+ if (!e.isValidElementType(R)) {
1123
+ var z = k(R);
1124
1124
  return new h("Invalid " + I + " `" + M + "` of type " + ("`" + z + "` supplied to `" + F + "`, expected a single ReactElement type."));
1125
1125
  }
1126
1126
  return null;
1127
1127
  }
1128
- return R(f);
1128
+ return A(f);
1129
1129
  }
1130
- function C(f) {
1131
- function y(O, F, I, M, j) {
1130
+ function T(f) {
1131
+ function y(O, F, I, M, R) {
1132
1132
  if (!(O[F] instanceof f)) {
1133
- var z = f.name || g, W = D(O[F]);
1134
- return new h("Invalid " + M + " `" + j + "` of type " + ("`" + W + "` supplied to `" + I + "`, expected ") + ("instance of `" + z + "`."));
1133
+ var z = f.name || g, W = j(O[F]);
1134
+ return new h("Invalid " + M + " `" + R + "` of type " + ("`" + W + "` supplied to `" + I + "`, expected ") + ("instance of `" + z + "`."));
1135
1135
  }
1136
1136
  return null;
1137
1137
  }
1138
- return R(y);
1138
+ return A(y);
1139
1139
  }
1140
1140
  function P(f) {
1141
1141
  if (!Array.isArray(f))
1142
1142
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
1143
1143
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
1144
1144
  ) : i("Invalid argument supplied to oneOf, expected an array.")), r;
1145
- function y(O, F, I, M, j) {
1145
+ function y(O, F, I, M, R) {
1146
1146
  for (var z = O[F], W = 0; W < f.length; W++)
1147
1147
  if (E(z, f[W]))
1148
1148
  return null;
1149
- var $ = JSON.stringify(f, function(te, v) {
1150
- var fe = V(v);
1149
+ var H = JSON.stringify(f, function(te, v) {
1150
+ var fe = q(v);
1151
1151
  return fe === "symbol" ? String(v) : v;
1152
1152
  });
1153
- return new h("Invalid " + M + " `" + j + "` of value `" + String(z) + "` " + ("supplied to `" + I + "`, expected one of " + $ + "."));
1153
+ return new h("Invalid " + M + " `" + R + "` of value `" + String(z) + "` " + ("supplied to `" + I + "`, expected one of " + H + "."));
1154
1154
  }
1155
- return R(y);
1155
+ return A(y);
1156
1156
  }
1157
1157
  function U(f) {
1158
- function y(O, F, I, M, j) {
1158
+ function y(O, F, I, M, R) {
1159
1159
  if (typeof f != "function")
1160
- return new h("Property `" + j + "` of component `" + I + "` has invalid PropType notation inside objectOf.");
1161
- var z = O[F], W = T(z);
1160
+ return new h("Property `" + R + "` of component `" + I + "` has invalid PropType notation inside objectOf.");
1161
+ var z = O[F], W = k(z);
1162
1162
  if (W !== "object")
1163
- return new h("Invalid " + M + " `" + j + "` of type " + ("`" + W + "` supplied to `" + I + "`, expected an object."));
1164
- for (var $ in z)
1165
- if (o(z, $)) {
1166
- var B = f(z, $, I, M, j + "." + $, n);
1163
+ return new h("Invalid " + M + " `" + R + "` of type " + ("`" + W + "` supplied to `" + I + "`, expected an object."));
1164
+ for (var H in z)
1165
+ if (o(z, H)) {
1166
+ var B = f(z, H, I, M, R + "." + H, n);
1167
1167
  if (B instanceof Error)
1168
1168
  return B;
1169
1169
  }
1170
1170
  return null;
1171
1171
  }
1172
- return R(y);
1172
+ return A(y);
1173
1173
  }
1174
1174
  function J(f) {
1175
1175
  if (!Array.isArray(f))
@@ -1181,23 +1181,23 @@ function ka() {
1181
1181
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + X(O) + " at index " + y + "."
1182
1182
  ), r;
1183
1183
  }
1184
- function F(I, M, j, z, W) {
1185
- for (var $ = [], B = 0; B < f.length; B++) {
1186
- var te = f[B], v = te(I, M, j, z, W, n);
1184
+ function F(I, M, R, z, W) {
1185
+ for (var H = [], B = 0; B < f.length; B++) {
1186
+ var te = f[B], v = te(I, M, R, z, W, n);
1187
1187
  if (v == null)
1188
1188
  return null;
1189
- v.data && o(v.data, "expectedType") && $.push(v.data.expectedType);
1189
+ v.data && o(v.data, "expectedType") && H.push(v.data.expectedType);
1190
1190
  }
1191
- var fe = $.length > 0 ? ", expected one of type [" + $.join(", ") + "]" : "";
1192
- return new h("Invalid " + z + " `" + W + "` supplied to " + ("`" + j + "`" + fe + "."));
1191
+ var fe = H.length > 0 ? ", expected one of type [" + H.join(", ") + "]" : "";
1192
+ return new h("Invalid " + z + " `" + W + "` supplied to " + ("`" + R + "`" + fe + "."));
1193
1193
  }
1194
- return R(F);
1194
+ return A(F);
1195
1195
  }
1196
1196
  function ne() {
1197
1197
  function f(y, O, F, I, M) {
1198
- return q(y[O]) ? null : new h("Invalid " + I + " `" + M + "` supplied to " + ("`" + F + "`, expected a ReactNode."));
1198
+ return $(y[O]) ? null : new h("Invalid " + I + " `" + M + "` supplied to " + ("`" + F + "`, expected a ReactNode."));
1199
1199
  }
1200
- return R(f);
1200
+ return A(f);
1201
1201
  }
1202
1202
  function de(f, y, O, F, I) {
1203
1203
  return new h(
@@ -1205,46 +1205,46 @@ function ka() {
1205
1205
  );
1206
1206
  }
1207
1207
  function ue(f) {
1208
- function y(O, F, I, M, j) {
1209
- var z = O[F], W = T(z);
1208
+ function y(O, F, I, M, R) {
1209
+ var z = O[F], W = k(z);
1210
1210
  if (W !== "object")
1211
- return new h("Invalid " + M + " `" + j + "` of type `" + W + "` " + ("supplied to `" + I + "`, expected `object`."));
1212
- for (var $ in f) {
1213
- var B = f[$];
1211
+ return new h("Invalid " + M + " `" + R + "` of type `" + W + "` " + ("supplied to `" + I + "`, expected `object`."));
1212
+ for (var H in f) {
1213
+ var B = f[H];
1214
1214
  if (typeof B != "function")
1215
- return de(I, M, j, $, V(B));
1216
- var te = B(z, $, I, M, j + "." + $, n);
1215
+ return de(I, M, R, H, q(B));
1216
+ var te = B(z, H, I, M, R + "." + H, n);
1217
1217
  if (te)
1218
1218
  return te;
1219
1219
  }
1220
1220
  return null;
1221
1221
  }
1222
- return R(y);
1222
+ return A(y);
1223
1223
  }
1224
1224
  function me(f) {
1225
- function y(O, F, I, M, j) {
1226
- var z = O[F], W = T(z);
1225
+ function y(O, F, I, M, R) {
1226
+ var z = O[F], W = k(z);
1227
1227
  if (W !== "object")
1228
- return new h("Invalid " + M + " `" + j + "` of type `" + W + "` " + ("supplied to `" + I + "`, expected `object`."));
1229
- var $ = t({}, O[F], f);
1230
- for (var B in $) {
1228
+ return new h("Invalid " + M + " `" + R + "` of type `" + W + "` " + ("supplied to `" + I + "`, expected `object`."));
1229
+ var H = t({}, O[F], f);
1230
+ for (var B in H) {
1231
1231
  var te = f[B];
1232
1232
  if (o(f, B) && typeof te != "function")
1233
- return de(I, M, j, B, V(te));
1233
+ return de(I, M, R, B, q(te));
1234
1234
  if (!te)
1235
1235
  return new h(
1236
- "Invalid " + M + " `" + j + "` key `" + B + "` supplied to `" + I + "`.\nBad object: " + JSON.stringify(O[F], null, " ") + `
1236
+ "Invalid " + M + " `" + R + "` key `" + B + "` supplied to `" + I + "`.\nBad object: " + JSON.stringify(O[F], null, " ") + `
1237
1237
  Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
1238
1238
  );
1239
- var v = te(z, B, I, M, j + "." + B, n);
1239
+ var v = te(z, B, I, M, R + "." + B, n);
1240
1240
  if (v)
1241
1241
  return v;
1242
1242
  }
1243
1243
  return null;
1244
1244
  }
1245
- return R(y);
1245
+ return A(y);
1246
1246
  }
1247
- function q(f) {
1247
+ function $(f) {
1248
1248
  switch (typeof f) {
1249
1249
  case "number":
1250
1250
  case "string":
@@ -1254,7 +1254,7 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
1254
1254
  return !f;
1255
1255
  case "object":
1256
1256
  if (Array.isArray(f))
1257
- return f.every(q);
1257
+ return f.every($);
1258
1258
  if (f === null || s(f))
1259
1259
  return !0;
1260
1260
  var y = d(f);
@@ -1262,12 +1262,12 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
1262
1262
  var O = y.call(f), F;
1263
1263
  if (y !== f.entries) {
1264
1264
  for (; !(F = O.next()).done; )
1265
- if (!q(F.value))
1265
+ if (!$(F.value))
1266
1266
  return !1;
1267
1267
  } else
1268
1268
  for (; !(F = O.next()).done; ) {
1269
1269
  var I = F.value;
1270
- if (I && !q(I[1]))
1270
+ if (I && !$(I[1]))
1271
1271
  return !1;
1272
1272
  }
1273
1273
  } else
@@ -1280,14 +1280,14 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
1280
1280
  function Z(f, y) {
1281
1281
  return f === "symbol" ? !0 : y ? y["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && y instanceof Symbol : !1;
1282
1282
  }
1283
- function T(f) {
1283
+ function k(f) {
1284
1284
  var y = typeof f;
1285
1285
  return Array.isArray(f) ? "array" : f instanceof RegExp ? "object" : Z(y, f) ? "symbol" : y;
1286
1286
  }
1287
- function V(f) {
1287
+ function q(f) {
1288
1288
  if (typeof f > "u" || f === null)
1289
1289
  return "" + f;
1290
- var y = T(f);
1290
+ var y = k(f);
1291
1291
  if (y === "object") {
1292
1292
  if (f instanceof Date)
1293
1293
  return "date";
@@ -1297,7 +1297,7 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
1297
1297
  return y;
1298
1298
  }
1299
1299
  function X(f) {
1300
- var y = V(f);
1300
+ var y = q(f);
1301
1301
  switch (y) {
1302
1302
  case "array":
1303
1303
  case "object":
@@ -1310,7 +1310,7 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
1310
1310
  return y;
1311
1311
  }
1312
1312
  }
1313
- function D(f) {
1313
+ function j(f) {
1314
1314
  return !f.constructor || !f.constructor.name ? g : f.constructor.name;
1315
1315
  }
1316
1316
  return b.checkPropTypes = a, b.resetWarningCache = a.resetWarningCache, b.PropTypes = b, b;
@@ -1370,7 +1370,7 @@ if (process.env.NODE_ENV !== "production") {
1370
1370
  } else
1371
1371
  wt.exports = Ca()();
1372
1372
  var Sa = wt.exports;
1373
- const k = /* @__PURE__ */ vn(Sa);
1373
+ const C = /* @__PURE__ */ vn(Sa);
1374
1374
  function Re(e, t, n, o) {
1375
1375
  function a(i) {
1376
1376
  return i instanceof n ? i : new n(function(r) {
@@ -3103,7 +3103,7 @@ Je.propTypes = {
3103
3103
  * @param {File[]} params.acceptedFiles Accepted files
3104
3104
  * @param {FileRejection[]} params.fileRejections Rejected files and why they were rejected
3105
3105
  */
3106
- children: k.func,
3106
+ children: C.func,
3107
3107
  /**
3108
3108
  * Set accepted file types.
3109
3109
  * Checkout https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker types option for more information.
@@ -3111,90 +3111,90 @@ Je.propTypes = {
3111
3111
  * for example, are reported as text/plain under macOS but as application/vnd.ms-excel under
3112
3112
  * Windows. In some cases there might not be a mime type set at all (https://github.com/react-dropzone/react-dropzone/issues/276).
3113
3113
  */
3114
- accept: k.objectOf(k.arrayOf(k.string)),
3114
+ accept: C.objectOf(C.arrayOf(C.string)),
3115
3115
  /**
3116
3116
  * Allow drag 'n' drop (or selection from the file dialog) of multiple files
3117
3117
  */
3118
- multiple: k.bool,
3118
+ multiple: C.bool,
3119
3119
  /**
3120
3120
  * If false, allow dropped items to take over the current browser window
3121
3121
  */
3122
- preventDropOnDocument: k.bool,
3122
+ preventDropOnDocument: C.bool,
3123
3123
  /**
3124
3124
  * If true, disables click to open the native file selection dialog
3125
3125
  */
3126
- noClick: k.bool,
3126
+ noClick: C.bool,
3127
3127
  /**
3128
3128
  * If true, disables SPACE/ENTER to open the native file selection dialog.
3129
3129
  * Note that it also stops tracking the focus state.
3130
3130
  */
3131
- noKeyboard: k.bool,
3131
+ noKeyboard: C.bool,
3132
3132
  /**
3133
3133
  * If true, disables drag 'n' drop
3134
3134
  */
3135
- noDrag: k.bool,
3135
+ noDrag: C.bool,
3136
3136
  /**
3137
3137
  * If true, stops drag event propagation to parents
3138
3138
  */
3139
- noDragEventsBubbling: k.bool,
3139
+ noDragEventsBubbling: C.bool,
3140
3140
  /**
3141
3141
  * Minimum file size (in bytes)
3142
3142
  */
3143
- minSize: k.number,
3143
+ minSize: C.number,
3144
3144
  /**
3145
3145
  * Maximum file size (in bytes)
3146
3146
  */
3147
- maxSize: k.number,
3147
+ maxSize: C.number,
3148
3148
  /**
3149
3149
  * Maximum accepted number of files
3150
3150
  * The default value is 0 which means there is no limitation to how many files are accepted.
3151
3151
  */
3152
- maxFiles: k.number,
3152
+ maxFiles: C.number,
3153
3153
  /**
3154
3154
  * Enable/disable the dropzone
3155
3155
  */
3156
- disabled: k.bool,
3156
+ disabled: C.bool,
3157
3157
  /**
3158
3158
  * Use this to provide a custom file aggregator
3159
3159
  *
3160
3160
  * @param {(DragEvent|Event|Array<FileSystemFileHandle>)} event A drag event or input change event (if files were selected via the file dialog)
3161
3161
  */
3162
- getFilesFromEvent: k.func,
3162
+ getFilesFromEvent: C.func,
3163
3163
  /**
3164
3164
  * Cb for when closing the file dialog with no selection
3165
3165
  */
3166
- onFileDialogCancel: k.func,
3166
+ onFileDialogCancel: C.func,
3167
3167
  /**
3168
3168
  * Cb for when opening the file dialog
3169
3169
  */
3170
- onFileDialogOpen: k.func,
3170
+ onFileDialogOpen: C.func,
3171
3171
  /**
3172
3172
  * Set to true to use the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API
3173
3173
  * to open the file picker instead of using an `<input type="file">` click event.
3174
3174
  */
3175
- useFsAccessApi: k.bool,
3175
+ useFsAccessApi: C.bool,
3176
3176
  /**
3177
3177
  * Set to true to focus the root element on render
3178
3178
  */
3179
- autoFocus: k.bool,
3179
+ autoFocus: C.bool,
3180
3180
  /**
3181
3181
  * Cb for when the `dragenter` event occurs.
3182
3182
  *
3183
3183
  * @param {DragEvent} event
3184
3184
  */
3185
- onDragEnter: k.func,
3185
+ onDragEnter: C.func,
3186
3186
  /**
3187
3187
  * Cb for when the `dragleave` event occurs
3188
3188
  *
3189
3189
  * @param {DragEvent} event
3190
3190
  */
3191
- onDragLeave: k.func,
3191
+ onDragLeave: C.func,
3192
3192
  /**
3193
3193
  * Cb for when the `dragover` event occurs
3194
3194
  *
3195
3195
  * @param {DragEvent} event
3196
3196
  */
3197
- onDragOver: k.func,
3197
+ onDragOver: C.func,
3198
3198
  /**
3199
3199
  * Cb for when the `drop` event occurs.
3200
3200
  * Note that this callback is invoked after the `getFilesFromEvent` callback is done.
@@ -3225,7 +3225,7 @@ Je.propTypes = {
3225
3225
  * @param {FileRejection[]} fileRejections
3226
3226
  * @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)
3227
3227
  */
3228
- onDrop: k.func,
3228
+ onDrop: C.func,
3229
3229
  /**
3230
3230
  * Cb for when the `drop` event occurs.
3231
3231
  * Note that if no files are accepted, this callback is not invoked.
@@ -3233,7 +3233,7 @@ Je.propTypes = {
3233
3233
  * @param {File[]} files
3234
3234
  * @param {(DragEvent|Event)} event
3235
3235
  */
3236
- onDropAccepted: k.func,
3236
+ onDropAccepted: C.func,
3237
3237
  /**
3238
3238
  * Cb for when the `drop` event occurs.
3239
3239
  * Note that if no files are rejected, this callback is not invoked.
@@ -3241,19 +3241,19 @@ Je.propTypes = {
3241
3241
  * @param {FileRejection[]} fileRejections
3242
3242
  * @param {(DragEvent|Event)} event
3243
3243
  */
3244
- onDropRejected: k.func,
3244
+ onDropRejected: C.func,
3245
3245
  /**
3246
3246
  * Cb for when there's some error from any of the promises.
3247
3247
  *
3248
3248
  * @param {Error} error
3249
3249
  */
3250
- onError: k.func,
3250
+ onError: C.func,
3251
3251
  /**
3252
3252
  * Custom validation function. It must return null if there's no errors.
3253
3253
  * @param {File} file
3254
3254
  * @returns {FileError|FileError[]|null}
3255
3255
  */
3256
- validator: k.func
3256
+ validator: C.func
3257
3257
  };
3258
3258
  var St = {
3259
3259
  isFocused: !1,
@@ -3265,19 +3265,19 @@ var St = {
3265
3265
  fileRejections: []
3266
3266
  };
3267
3267
  function bi() {
3268
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = Q(Q({}, In), e), n = t.accept, o = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, m = t.maxFiles, c = t.onDragEnter, u = t.onDragLeave, d = t.onDragOver, g = t.onDrop, b = t.onDropAccepted, E = t.onDropRejected, h = t.onFileDialogCancel, R = t.onFileDialogOpen, L = t.useFsAccessApi, Y = t.autoFocus, A = t.preventDropOnDocument, w = t.noClick, p = t.noKeyboard, C = t.noDrag, P = t.noDragEventsBubbling, U = t.onError, J = t.validator, ne = Oe(function() {
3268
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = Q(Q({}, In), e), n = t.accept, o = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, m = t.maxFiles, c = t.onDragEnter, u = t.onDragLeave, d = t.onDragOver, g = t.onDrop, b = t.onDropAccepted, E = t.onDropRejected, h = t.onFileDialogCancel, A = t.onFileDialogOpen, L = t.useFsAccessApi, V = t.autoFocus, D = t.preventDropOnDocument, w = t.noClick, p = t.noKeyboard, T = t.noDrag, P = t.noDragEventsBubbling, U = t.onError, J = t.validator, ne = Oe(function() {
3269
3269
  return ii(n);
3270
3270
  }, [n]), de = Oe(function() {
3271
3271
  return ai(n);
3272
3272
  }, [n]), ue = Oe(function() {
3273
- return typeof R == "function" ? R : en;
3274
- }, [R]), me = Oe(function() {
3273
+ return typeof A == "function" ? A : en;
3274
+ }, [A]), me = Oe(function() {
3275
3275
  return typeof h == "function" ? h : en;
3276
- }, [h]), q = Te(null), Z = Te(null), T = Wn(yi, St), V = gt(T, 2), X = V[0], D = V[1], f = X.isFocused, y = X.isFileDialogActive, O = Te(typeof window < "u" && window.isSecureContext && L && oi()), F = function() {
3276
+ }, [h]), $ = Te(null), Z = Te(null), k = Wn(yi, St), q = gt(k, 2), X = q[0], j = q[1], f = X.isFocused, y = X.isFileDialogActive, O = Te(typeof window < "u" && window.isSecureContext && L && oi()), F = function() {
3277
3277
  !O.current && y && setTimeout(function() {
3278
3278
  if (Z.current) {
3279
3279
  var S = Z.current.files;
3280
- S.length || (D({
3280
+ S.length || (j({
3281
3281
  type: "closeDialog"
3282
3282
  }), me());
3283
3283
  }
@@ -3289,17 +3289,17 @@ function bi() {
3289
3289
  };
3290
3290
  }, [Z, y, me, O]);
3291
3291
  var I = Te([]), M = function(S) {
3292
- q.current && q.current.contains(S.target) || (S.preventDefault(), I.current = []);
3292
+ $.current && $.current.contains(S.target) || (S.preventDefault(), I.current = []);
3293
3293
  };
3294
3294
  ae(function() {
3295
- return A && (document.addEventListener("dragover", Qt, !1), document.addEventListener("drop", M, !1)), function() {
3296
- A && (document.removeEventListener("dragover", Qt), document.removeEventListener("drop", M));
3295
+ return D && (document.addEventListener("dragover", Qt, !1), document.addEventListener("drop", M, !1)), function() {
3296
+ D && (document.removeEventListener("dragover", Qt), document.removeEventListener("drop", M));
3297
3297
  };
3298
- }, [q, A]), ae(function() {
3299
- return !o && Y && q.current && q.current.focus(), function() {
3298
+ }, [$, D]), ae(function() {
3299
+ return !o && V && $.current && $.current.focus(), function() {
3300
3300
  };
3301
- }, [q, Y, o]);
3302
- var j = le(function(x) {
3301
+ }, [$, V, o]);
3302
+ var R = le(function(x) {
3303
3303
  U ? U(x) : console.error(x);
3304
3304
  }, [U]), z = le(function(x) {
3305
3305
  x.preventDefault(), x.persist(), $e(x), I.current = [].concat(ui(I.current), [x.target]), Ue(x) && Promise.resolve(a(x)).then(function(S) {
@@ -3313,7 +3313,7 @@ function bi() {
3313
3313
  maxFiles: m,
3314
3314
  validator: J
3315
3315
  }), _e = ee > 0 && !oe;
3316
- D({
3316
+ j({
3317
3317
  isDragAccept: oe,
3318
3318
  isDragReject: _e,
3319
3319
  isDragActive: !0,
@@ -3321,9 +3321,9 @@ function bi() {
3321
3321
  }), c && c(x);
3322
3322
  }
3323
3323
  }).catch(function(S) {
3324
- return j(S);
3324
+ return R(S);
3325
3325
  });
3326
- }, [a, c, j, P, ne, r, i, s, m, J]), W = le(function(x) {
3326
+ }, [a, c, R, P, ne, r, i, s, m, J]), W = le(function(x) {
3327
3327
  x.preventDefault(), x.persist(), $e(x);
3328
3328
  var S = Ue(x);
3329
3329
  if (S && x.dataTransfer)
@@ -3332,18 +3332,18 @@ function bi() {
3332
3332
  } catch {
3333
3333
  }
3334
3334
  return S && d && d(x), !1;
3335
- }, [d, P]), $ = le(function(x) {
3335
+ }, [d, P]), H = le(function(x) {
3336
3336
  x.preventDefault(), x.persist(), $e(x);
3337
3337
  var S = I.current.filter(function(oe) {
3338
- return q.current && q.current.contains(oe);
3338
+ return $.current && $.current.contains(oe);
3339
3339
  }), ee = S.indexOf(x.target);
3340
- ee !== -1 && S.splice(ee, 1), I.current = S, !(S.length > 0) && (D({
3340
+ ee !== -1 && S.splice(ee, 1), I.current = S, !(S.length > 0) && (j({
3341
3341
  type: "setDraggedFiles",
3342
3342
  isDragActive: !1,
3343
3343
  isDragAccept: !1,
3344
3344
  isDragReject: !1
3345
3345
  }), Ue(x) && u && u(x));
3346
- }, [q, u, P]), B = le(function(x, S) {
3346
+ }, [$, u, P]), B = le(function(x, S) {
3347
3347
  var ee = [], oe = [];
3348
3348
  x.forEach(function(_e) {
3349
3349
  var Fe = kn(_e, ne), De = gt(Fe, 2), tt = De[0], nt = De[1], ot = Cn(_e, r, i), He = gt(ot, 2), at = He[0], it = He[1], rt = J ? J(_e) : null;
@@ -3363,23 +3363,23 @@ function bi() {
3363
3363
  file: _e,
3364
3364
  errors: [Qa]
3365
3365
  });
3366
- }), ee.splice(0)), D({
3366
+ }), ee.splice(0)), j({
3367
3367
  acceptedFiles: ee,
3368
3368
  fileRejections: oe,
3369
3369
  isDragReject: oe.length > 0,
3370
3370
  type: "setFiles"
3371
3371
  }), g && g(ee, oe, S), oe.length > 0 && E && E(oe, S), ee.length > 0 && b && b(ee, S);
3372
- }, [D, s, ne, r, i, m, g, b, E, J]), te = le(function(x) {
3372
+ }, [j, s, ne, r, i, m, g, b, E, J]), te = le(function(x) {
3373
3373
  x.preventDefault(), x.persist(), $e(x), I.current = [], Ue(x) && Promise.resolve(a(x)).then(function(S) {
3374
3374
  Xe(x) && !P || B(S, x);
3375
3375
  }).catch(function(S) {
3376
- return j(S);
3377
- }), D({
3376
+ return R(S);
3377
+ }), j({
3378
3378
  type: "reset"
3379
3379
  });
3380
- }, [a, B, j, P]), v = le(function() {
3380
+ }, [a, B, R, P]), v = le(function() {
3381
3381
  if (O.current) {
3382
- D({
3382
+ j({
3383
3383
  type: "openDialog"
3384
3384
  }), ue();
3385
3385
  var x = {
@@ -3389,27 +3389,27 @@ function bi() {
3389
3389
  window.showOpenFilePicker(x).then(function(S) {
3390
3390
  return a(S);
3391
3391
  }).then(function(S) {
3392
- B(S, null), D({
3392
+ B(S, null), j({
3393
3393
  type: "closeDialog"
3394
3394
  });
3395
3395
  }).catch(function(S) {
3396
- ri(S) ? (me(S), D({
3396
+ ri(S) ? (me(S), j({
3397
3397
  type: "closeDialog"
3398
- })) : si(S) ? (O.current = !1, Z.current ? (Z.current.value = null, Z.current.click()) : j(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))) : j(S);
3398
+ })) : si(S) ? (O.current = !1, Z.current ? (Z.current.value = null, Z.current.click()) : R(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))) : R(S);
3399
3399
  });
3400
3400
  return;
3401
3401
  }
3402
- Z.current && (D({
3402
+ Z.current && (j({
3403
3403
  type: "openDialog"
3404
3404
  }), ue(), Z.current.value = null, Z.current.click());
3405
- }, [D, ue, me, L, B, j, de, s]), fe = le(function(x) {
3406
- !q.current || !q.current.isEqualNode(x.target) || (x.key === " " || x.key === "Enter" || x.keyCode === 32 || x.keyCode === 13) && (x.preventDefault(), v());
3407
- }, [q, v]), Ie = le(function() {
3408
- D({
3405
+ }, [j, ue, me, L, B, R, de, s]), fe = le(function(x) {
3406
+ !$.current || !$.current.isEqualNode(x.target) || (x.key === " " || x.key === "Enter" || x.keyCode === 32 || x.keyCode === 13) && (x.preventDefault(), v());
3407
+ }, [$, v]), Ie = le(function() {
3408
+ j({
3409
3409
  type: "focus"
3410
3410
  });
3411
3411
  }, []), Pe = le(function() {
3412
- D({
3412
+ j({
3413
3413
  type: "blur"
3414
3414
  });
3415
3415
  }, []), At = le(function() {
@@ -3419,7 +3419,7 @@ function bi() {
3419
3419
  }, et = function(S) {
3420
3420
  return p ? null : Ae(S);
3421
3421
  }, qe = function(S) {
3422
- return C ? null : Ae(S);
3422
+ return T ? null : Ae(S);
3423
3423
  }, $e = function(S) {
3424
3424
  P && S.stopPropagation();
3425
3425
  }, On = Oe(function() {
@@ -3432,14 +3432,14 @@ function bi() {
3432
3432
  onClick: Ae(we(tt, At)),
3433
3433
  onDragEnter: qe(we(nt, z)),
3434
3434
  onDragOver: qe(we(ot, W)),
3435
- onDragLeave: qe(we(He, $)),
3435
+ onDragLeave: qe(we(He, H)),
3436
3436
  onDrop: qe(we(at, te)),
3437
3437
  role: typeof oe == "string" && oe !== "" ? oe : "presentation"
3438
- }, ee, q), !o && !p ? {
3438
+ }, ee, $), !o && !p ? {
3439
3439
  tabIndex: 0
3440
3440
  } : {}), it);
3441
3441
  };
3442
- }, [q, fe, Ie, Pe, At, z, W, $, te, p, C, o]), Ln = le(function(x) {
3442
+ }, [$, fe, Ie, Pe, At, z, W, H, te, p, T, o]), Ln = le(function(x) {
3443
3443
  x.stopPropagation();
3444
3444
  }, []), Pn = Oe(function() {
3445
3445
  return function() {
@@ -3470,7 +3470,7 @@ function bi() {
3470
3470
  isFocused: f && !o,
3471
3471
  getRootProps: On,
3472
3472
  getInputProps: Pn,
3473
- rootRef: q,
3473
+ rootRef: $,
3474
3474
  inputRef: Z,
3475
3475
  open: Ae(v)
3476
3476
  });
@@ -3539,7 +3539,7 @@ const wi = (e) => {
3539
3539
  },
3540
3540
  [c, m, s, r, t]
3541
3541
  );
3542
- return /* @__PURE__ */ l(Je, { multiple: s, onDrop: u, maxSize: o, accept: a, children: ({ getRootProps: d, getInputProps: g }) => /* @__PURE__ */ H("div", { ...d({}), children: [
3542
+ return /* @__PURE__ */ l(Je, { multiple: s, onDrop: u, maxSize: o, accept: a, children: ({ getRootProps: d, getInputProps: g }) => /* @__PURE__ */ Y("div", { ...d({}), children: [
3543
3543
  /* @__PURE__ */ l("input", { ...g({}), disabled: i, name: r }),
3544
3544
  n
3545
3545
  ] }) });
@@ -3579,9 +3579,9 @@ const wi = (e) => {
3579
3579
  hover: !1,
3580
3580
  triggerAction: () => b(!0),
3581
3581
  actionOnClose: () => b(!1),
3582
- text: /* @__PURE__ */ H("div", { className: c, children: [
3582
+ text: /* @__PURE__ */ Y("div", { className: c, children: [
3583
3583
  n && /* @__PURE__ */ l("div", { className: u, children: n }),
3584
- o.map((h, R) => /* @__PURE__ */ H(
3584
+ o.map((h, A) => /* @__PURE__ */ Y(
3585
3585
  "div",
3586
3586
  {
3587
3587
  className: _({
@@ -3594,14 +3594,14 @@ const wi = (e) => {
3594
3594
  h.description && /* @__PURE__ */ l("span", { className: d, children: h.description })
3595
3595
  ]
3596
3596
  },
3597
- R
3597
+ A
3598
3598
  ))
3599
3599
  ] }),
3600
3600
  position: a,
3601
3601
  noPadding: !0,
3602
3602
  isToggleClick: !0,
3603
3603
  isStopPropagationClickOnTrigger: !0,
3604
- trigger: /* @__PURE__ */ H("div", { className: r, children: [
3604
+ trigger: /* @__PURE__ */ Y("div", { className: r, children: [
3605
3605
  /* @__PURE__ */ l("div", { className: s, children: t }),
3606
3606
  /* @__PURE__ */ l("div", { className: m, children: /* @__PURE__ */ l(ge, { name: re.SelectChevronDown, rotate: g ? 180 : void 0 }) })
3607
3607
  ] })
@@ -3693,7 +3693,7 @@ const wi = (e) => {
3693
3693
  }), c = _({
3694
3694
  [Ge.spLabel__tooltip]: !0
3695
3695
  });
3696
- return /* @__PURE__ */ H("div", { className: r, children: [
3696
+ return /* @__PURE__ */ Y("div", { className: r, children: [
3697
3697
  /* @__PURE__ */ l("label", { className: s, children: n }),
3698
3698
  t && /* @__PURE__ */ l("div", { className: m, children: "*" }),
3699
3699
  o && /* @__PURE__ */ l("div", { className: c, children: /* @__PURE__ */ l(Qe, { position: a, text: o }) })
@@ -3725,16 +3725,16 @@ const wi = (e) => {
3725
3725
  infoTooltipText: b,
3726
3726
  tooltipPosition: E,
3727
3727
  isVisibleDefaultTitle: h = !0,
3728
- placeholder: R = "Введите...",
3728
+ placeholder: A = "Введите...",
3729
3729
  classNameRoot: L,
3730
- classNameError: Y,
3731
- classNameLabel: A,
3730
+ classNameError: V,
3731
+ classNameLabel: D,
3732
3732
  ...w
3733
3733
  } = e, p = _({
3734
3734
  [Ce.spInput]: !0,
3735
3735
  [Ce.spInput_error]: !!s,
3736
3736
  ...L && { [L]: !0 }
3737
- }), C = _({
3737
+ }), T = _({
3738
3738
  [Ce.spInput__container]: !0
3739
3739
  }), P = _({
3740
3740
  [Ce.spInput__control]: !0,
@@ -3745,16 +3745,16 @@ const wi = (e) => {
3745
3745
  [Ce.spInput__clear]: !0
3746
3746
  }), J = _({
3747
3747
  [Ce.spInput__error]: !0,
3748
- ...Y && { [Y]: !0 }
3748
+ ...V && { [V]: !0 }
3749
3749
  }), ne = _({
3750
- ...A && { [A]: !0 }
3751
- }), de = (q) => {
3752
- o(q, { name: c, value: "" });
3753
- }, ue = (q) => {
3754
- const { value: Z, name: T } = q.target;
3755
- d && Z && !new RegExp(d).test(Z) || o(q, { value: Z, name: T });
3750
+ ...D && { [D]: !0 }
3751
+ }), de = ($) => {
3752
+ o($, { name: c, value: "" });
3753
+ }, ue = ($) => {
3754
+ const { value: Z, name: k } = $.target;
3755
+ d && Z && !new RegExp(d).test(Z) || o($, { value: Z, name: k });
3756
3756
  };
3757
- return /* @__PURE__ */ H("div", { className: p, children: [
3757
+ return /* @__PURE__ */ Y("div", { className: p, children: [
3758
3758
  a && /* @__PURE__ */ l(
3759
3759
  jt,
3760
3760
  {
@@ -3765,12 +3765,12 @@ const wi = (e) => {
3765
3765
  infoTooltipText: b
3766
3766
  }
3767
3767
  ),
3768
- /* @__PURE__ */ H("div", { className: C, onMouseEnter: g, children: [
3768
+ /* @__PURE__ */ Y("div", { className: T, onMouseEnter: g, children: [
3769
3769
  /* @__PURE__ */ l(
3770
3770
  "input",
3771
3771
  {
3772
3772
  ...w,
3773
- placeholder: R,
3773
+ placeholder: A,
3774
3774
  disabled: r,
3775
3775
  onChange: ue,
3776
3776
  title: h ? n : void 0,
@@ -3815,18 +3815,18 @@ const Qi = "_spInputFiles_1ukpx_43", Ji = "_spInputFiles_error_1ukpx_48", er = "
3815
3815
  tooltipPosition: d = ie.TopRight,
3816
3816
  classNameRoot: g,
3817
3817
  error: b
3818
- } = e, E = c.map((p) => p.name), h = (E == null ? void 0 : E.length) > 0, R = _({
3818
+ } = e, E = c.map((p) => p.name), h = (E == null ? void 0 : E.length) > 0, A = _({
3819
3819
  [ve.spInputFiles]: !0,
3820
3820
  [ve.spInputFiles_error]: !!b,
3821
3821
  [ve.spInputFiles_disabled]: r,
3822
3822
  [ve.spInputFiles_fileUploaded]: h,
3823
3823
  ...g && { [g]: !0 }
3824
3824
  }), L = (p) => {
3825
- const C = [...c], P = C.findIndex((U) => U.name === p);
3826
- C.splice(P, 1), o(C, n);
3827
- }, Y = (p) => {
3825
+ const T = [...c], P = T.findIndex((U) => U.name === p);
3826
+ T.splice(P, 1), o(T, n);
3827
+ }, V = (p) => {
3828
3828
  p.stopPropagation(), o([], n);
3829
- }, A = () => s ? /* @__PURE__ */ l("ul", { className: ve.spInputFiles__fileNamesList, children: E.map((p, C) => /* @__PURE__ */ H(
3829
+ }, D = () => s ? /* @__PURE__ */ l("ul", { className: ve.spInputFiles__fileNamesList, children: E.map((p, T) => /* @__PURE__ */ Y(
3830
3830
  "li",
3831
3831
  {
3832
3832
  className: ve.spInputFiles__fileNamesListItem,
@@ -3845,10 +3845,10 @@ const Qi = "_spInputFiles_1ukpx_43", Ji = "_spInputFiles_error_1ukpx_48", er = "
3845
3845
  /* @__PURE__ */ l("div", { className: ve.spInputFiles__fileNamesListItemDelete, children: /* @__PURE__ */ l(ge, { name: re.Trash }) })
3846
3846
  ]
3847
3847
  },
3848
- C
3849
- )) }) : /* @__PURE__ */ l(Se, { isEllipsis: !0, children: E[0] }), w = () => /* @__PURE__ */ H(cn, { children: [
3850
- h ? A() : /* @__PURE__ */ l(Se, { children: t }),
3851
- h ? /* @__PURE__ */ l("div", { className: ve.spInputFiles__delete, onClick: Y, children: /* @__PURE__ */ l(ge, { name: re.Close }) }) : u && /* @__PURE__ */ l(
3848
+ T
3849
+ )) }) : /* @__PURE__ */ l(Se, { isEllipsis: !0, children: E[0] }), w = () => /* @__PURE__ */ Y(cn, { children: [
3850
+ h ? D() : /* @__PURE__ */ l(Se, { children: t }),
3851
+ h ? /* @__PURE__ */ l("div", { className: ve.spInputFiles__delete, onClick: V, children: /* @__PURE__ */ l(ge, { name: re.Close }) }) : u && /* @__PURE__ */ l(
3852
3852
  Qe,
3853
3853
  {
3854
3854
  classNameTooltip: ve.spInputFiles__tooltipWrapper,
@@ -3869,8 +3869,8 @@ const Qi = "_spInputFiles_1ukpx_43", Ji = "_spInputFiles_error_1ukpx_48", er = "
3869
3869
  accept: i,
3870
3870
  onDropFiles: o,
3871
3871
  disabled: r || h,
3872
- children: /* @__PURE__ */ H("div", { className: R, children: [
3873
- /* @__PURE__ */ H("div", { className: ve.spInputFiles__control, children: [
3872
+ children: /* @__PURE__ */ Y("div", { className: A, children: [
3873
+ /* @__PURE__ */ Y("div", { className: ve.spInputFiles__control, children: [
3874
3874
  /* @__PURE__ */ l(ge, { name: h ? re.Check : re.Upload }),
3875
3875
  w()
3876
3876
  ] }),
@@ -4033,37 +4033,37 @@ function Tr(e, t) {
4033
4033
  }
4034
4034
  return !0;
4035
4035
  }
4036
- const pe = k.oneOfType([k.string, k.number]), An = {
4037
- all: k.bool,
4038
- grid: k.bool,
4039
- aural: k.bool,
4040
- braille: k.bool,
4041
- handheld: k.bool,
4042
- print: k.bool,
4043
- projection: k.bool,
4044
- screen: k.bool,
4045
- tty: k.bool,
4046
- tv: k.bool,
4047
- embossed: k.bool
4036
+ const pe = C.oneOfType([C.string, C.number]), An = {
4037
+ all: C.bool,
4038
+ grid: C.bool,
4039
+ aural: C.bool,
4040
+ braille: C.bool,
4041
+ handheld: C.bool,
4042
+ print: C.bool,
4043
+ projection: C.bool,
4044
+ screen: C.bool,
4045
+ tty: C.bool,
4046
+ tv: C.bool,
4047
+ embossed: C.bool
4048
4048
  }, Er = {
4049
- orientation: k.oneOf(["portrait", "landscape"]),
4050
- scan: k.oneOf(["progressive", "interlace"]),
4051
- aspectRatio: k.string,
4052
- deviceAspectRatio: k.string,
4049
+ orientation: C.oneOf(["portrait", "landscape"]),
4050
+ scan: C.oneOf(["progressive", "interlace"]),
4051
+ aspectRatio: C.string,
4052
+ deviceAspectRatio: C.string,
4053
4053
  height: pe,
4054
4054
  deviceHeight: pe,
4055
4055
  width: pe,
4056
4056
  deviceWidth: pe,
4057
- color: k.bool,
4058
- colorIndex: k.bool,
4059
- monochrome: k.bool,
4057
+ color: C.bool,
4058
+ colorIndex: C.bool,
4059
+ monochrome: C.bool,
4060
4060
  resolution: pe,
4061
4061
  type: Object.keys(An)
4062
4062
  }, { type: Ls, ...Sr } = Er, Ir = {
4063
- minAspectRatio: k.string,
4064
- maxAspectRatio: k.string,
4065
- minDeviceAspectRatio: k.string,
4066
- maxDeviceAspectRatio: k.string,
4063
+ minAspectRatio: C.string,
4064
+ maxAspectRatio: C.string,
4065
+ minDeviceAspectRatio: C.string,
4066
+ maxDeviceAspectRatio: C.string,
4067
4067
  minHeight: pe,
4068
4068
  maxHeight: pe,
4069
4069
  minDeviceHeight: pe,
@@ -4072,12 +4072,12 @@ const pe = k.oneOfType([k.string, k.number]), An = {
4072
4072
  maxWidth: pe,
4073
4073
  minDeviceWidth: pe,
4074
4074
  maxDeviceWidth: pe,
4075
- minColor: k.number,
4076
- maxColor: k.number,
4077
- minColorIndex: k.number,
4078
- maxColorIndex: k.number,
4079
- minMonochrome: k.number,
4080
- maxMonochrome: k.number,
4075
+ minColor: C.number,
4076
+ maxColor: C.number,
4077
+ minColorIndex: C.number,
4078
+ maxColorIndex: C.number,
4079
+ minMonochrome: C.number,
4080
+ maxMonochrome: C.number,
4081
4081
  minResolution: pe,
4082
4082
  maxResolution: pe,
4083
4083
  ...Sr
@@ -4192,20 +4192,20 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
4192
4192
  required: b,
4193
4193
  maxHeightList: E = qr,
4194
4194
  isVisibleDefaultTitle: h = !0,
4195
- isScrollableList: R = !1,
4195
+ isScrollableList: A = !1,
4196
4196
  classNameRoot: L,
4197
- classNameError: Y,
4198
- classNameLabel: A
4199
- } = e, [w, p] = ce(!1), C = Te(null);
4197
+ classNameError: V,
4198
+ classNameLabel: D
4199
+ } = e, [w, p] = ce(!1), T = Te(null);
4200
4200
  fn(
4201
- [C],
4201
+ [T],
4202
4202
  () => {
4203
4203
  p(!1);
4204
4204
  },
4205
4205
  w
4206
4206
  );
4207
- const P = t.find((D) => D.value === o), U = (D, f) => {
4208
- r(D, { value: f, name: a }), p(!1);
4207
+ const P = t.find((j) => j.value === o), U = (j, f) => {
4208
+ r(j, { value: f, name: a }), p(!1);
4209
4209
  }, J = () => {
4210
4210
  g || p(!w);
4211
4211
  }, ne = _({
@@ -4221,30 +4221,30 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
4221
4221
  }), me = _({
4222
4222
  [xe.spSelect__value]: !0,
4223
4223
  [xe.spSelect__value_empty]: !P
4224
- }), q = _({
4224
+ }), $ = _({
4225
4225
  [xe.spSelect__icon]: !0
4226
4226
  }), Z = _({
4227
4227
  [xe.spSelect__list]: !0,
4228
- [xe.spSelect__list_scrollable]: R
4229
- }), T = _({
4230
- ...A && { [A]: !0 }
4231
- }), V = _({
4228
+ [xe.spSelect__list_scrollable]: A
4229
+ }), k = _({
4230
+ ...D && { [D]: !0 }
4231
+ }), q = _({
4232
4232
  [xe.spSelect__error]: !0,
4233
- ...Y && { [Y]: !0 }
4233
+ ...V && { [V]: !0 }
4234
4234
  });
4235
- return /* @__PURE__ */ H("div", { className: ne, ref: C, children: [
4235
+ return /* @__PURE__ */ Y("div", { className: ne, ref: T, children: [
4236
4236
  c && /* @__PURE__ */ l(
4237
4237
  jt,
4238
4238
  {
4239
- classNameRoot: T,
4239
+ classNameRoot: k,
4240
4240
  tooltipPosition: d,
4241
4241
  required: b,
4242
4242
  label: c,
4243
4243
  infoTooltipText: u
4244
4244
  }
4245
4245
  ),
4246
- /* @__PURE__ */ H("div", { className: de, onMouseEnter: s, children: [
4247
- /* @__PURE__ */ H(
4246
+ /* @__PURE__ */ Y("div", { className: de, onMouseEnter: s, children: [
4247
+ /* @__PURE__ */ Y(
4248
4248
  "div",
4249
4249
  {
4250
4250
  tabIndex: g ? -1 : 0,
@@ -4258,7 +4258,7 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
4258
4258
  {
4259
4259
  name: re.SelectChevronDown,
4260
4260
  rotate: w ? 180 : void 0,
4261
- className: q
4261
+ className: $
4262
4262
  }
4263
4263
  )
4264
4264
  ]
@@ -4268,28 +4268,28 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
4268
4268
  "div",
4269
4269
  {
4270
4270
  className: Z,
4271
- style: R ? { maxHeight: `${E}px` } : {},
4272
- children: t.map((D) => {
4273
- const f = D.value === o;
4274
- return /* @__PURE__ */ H(
4271
+ style: A ? { maxHeight: `${E}px` } : {},
4272
+ children: t.map((j) => {
4273
+ const f = j.value === o;
4274
+ return /* @__PURE__ */ Y(
4275
4275
  "div",
4276
4276
  {
4277
4277
  className: _({
4278
4278
  [xe.spSelect__option]: !0
4279
4279
  }),
4280
- onClick: (y) => U(y, D.value),
4280
+ onClick: (y) => U(y, j.value),
4281
4281
  children: [
4282
- D.label,
4283
- f && /* @__PURE__ */ l(ge, { name: re.Check, className: q })
4282
+ j.label,
4283
+ f && /* @__PURE__ */ l(ge, { name: re.Check, className: $ })
4284
4284
  ]
4285
4285
  },
4286
- D.value
4286
+ j.value
4287
4287
  );
4288
4288
  })
4289
4289
  }
4290
4290
  )
4291
4291
  ] }),
4292
- m && /* @__PURE__ */ l("div", { className: V, children: m })
4292
+ m && /* @__PURE__ */ l("div", { className: q, children: m })
4293
4293
  ] });
4294
4294
  }, os = "_skeleton_c18an_44", as = {
4295
4295
  skeleton: os
@@ -4335,45 +4335,45 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
4335
4335
  }), {
4336
4336
  device: { isDesktop: u }
4337
4337
  } = dn(Nn), [d, g] = ce(null), b = (w) => {
4338
- const { text: p, rowIndex: C, colIndex: P } = w;
4339
- (d == null ? void 0 : d.rowIndex) === C && (d == null ? void 0 : d.colIndex) === P || navigator.clipboard.writeText(p).then(() => {
4340
- g({ rowIndex: C, colIndex: P });
4338
+ const { text: p, rowIndex: T, colIndex: P } = w;
4339
+ (d == null ? void 0 : d.rowIndex) === T && (d == null ? void 0 : d.colIndex) === P || navigator.clipboard.writeText(p).then(() => {
4340
+ g({ rowIndex: T, colIndex: P });
4341
4341
  }).catch((U) => {
4342
4342
  console.error("Ошибка при копировании:", U);
4343
4343
  });
4344
4344
  }, E = () => {
4345
4345
  g(null);
4346
- }, h = () => /* @__PURE__ */ l("div", { className: c, children: "Данные отсутствуют" }), R = ({
4346
+ }, h = () => /* @__PURE__ */ l("div", { className: c, children: "Данные отсутствуют" }), A = ({
4347
4347
  row: w,
4348
4348
  col: p
4349
4349
  }) => {
4350
- const C = w[p.key];
4351
- if (!C) return null;
4352
- const [P, U] = C.split(/\s*\{\{|}}\s*/).filter(Boolean);
4353
- return /* @__PURE__ */ H("span", { children: [
4350
+ const T = w[p.key];
4351
+ if (!T) return null;
4352
+ const [P, U] = T.split(/\s*\{\{|}}\s*/).filter(Boolean);
4353
+ return /* @__PURE__ */ Y("span", { children: [
4354
4354
  P,
4355
4355
  U && /* @__PURE__ */ l("span", { className: m, children: ` ${U}` })
4356
4356
  ] });
4357
- }, L = () => n && Array.isArray(n) && n.length > 0 ? /* @__PURE__ */ H("table", { className: r, children: [
4358
- /* @__PURE__ */ l("colgroup", { children: i.map((w, p, C) => /* @__PURE__ */ l(
4357
+ }, L = () => n && Array.isArray(n) && n.length > 0 ? /* @__PURE__ */ Y("table", { className: r, children: [
4358
+ /* @__PURE__ */ l("colgroup", { children: i.map((w, p, T) => /* @__PURE__ */ l(
4359
4359
  "col",
4360
4360
  {
4361
4361
  style: {
4362
- width: `calc(100%/${C.length})`
4362
+ width: `calc(100%/${T.length})`
4363
4363
  }
4364
4364
  },
4365
4365
  p
4366
4366
  )) }),
4367
4367
  /* @__PURE__ */ l("thead", { children: /* @__PURE__ */ l("tr", { children: i.map((w, p) => /* @__PURE__ */ l("th", { children: w.title }, p)) }) }),
4368
- /* @__PURE__ */ l("tbody", { children: n.map((w, p) => w ? /* @__PURE__ */ l("tr", { children: i.map((C, P) => {
4368
+ /* @__PURE__ */ l("tbody", { children: n.map((w, p) => w ? /* @__PURE__ */ l("tr", { children: i.map((T, P) => {
4369
4369
  const U = (d == null ? void 0 : d.rowIndex) === p && (d == null ? void 0 : d.colIndex) === P;
4370
4370
  return /* @__PURE__ */ l(
4371
4371
  "td",
4372
4372
  {
4373
4373
  onMouseLeave: U ? E : void 0,
4374
- children: /* @__PURE__ */ H("div", { className: s, children: [
4375
- /* @__PURE__ */ l("span", { children: C.isColorContentsCurlyBrackets ? R({ row: w, col: C }) : w[C.key] }),
4376
- !pn(w[C.key]) && C.isBeCopiedValue && /* @__PURE__ */ l(
4374
+ children: /* @__PURE__ */ Y("div", { className: s, children: [
4375
+ /* @__PURE__ */ l("span", { children: T.isColorContentsCurlyBrackets ? A({ row: w, col: T }) : w[T.key] }),
4376
+ !pn(w[T.key]) && T.isBeCopiedValue && /* @__PURE__ */ l(
4377
4377
  ge,
4378
4378
  {
4379
4379
  className: _({
@@ -4382,7 +4382,7 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
4382
4382
  }),
4383
4383
  name: U ? re.Check : re.Copy,
4384
4384
  onClick: () => {
4385
- const J = w[C.key];
4385
+ const J = w[T.key];
4386
4386
  if (!J) return null;
4387
4387
  b({
4388
4388
  text: J,
@@ -4397,17 +4397,17 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
4397
4397
  `${p}:${P}`
4398
4398
  );
4399
4399
  }) }, p) : null) })
4400
- ] }) : h(), Y = () => n && Array.isArray(n) && n.length > 0 ? /* @__PURE__ */ l(
4400
+ ] }) : h(), V = () => n && Array.isArray(n) && n.length > 0 ? /* @__PURE__ */ l(
4401
4401
  "div",
4402
4402
  {
4403
4403
  className: _({
4404
4404
  [he.spStringsGroup]: !0
4405
4405
  }),
4406
- children: n.map((w, p) => w ? /* @__PURE__ */ l("div", { children: i.map((C, P) => {
4407
- if (pn(w[C.key]))
4406
+ children: n.map((w, p) => w ? /* @__PURE__ */ l("div", { children: i.map((T, P) => {
4407
+ if (pn(w[T.key]))
4408
4408
  return null;
4409
4409
  const U = (d == null ? void 0 : d.rowIndex) === p && (d == null ? void 0 : d.colIndex) === P;
4410
- return /* @__PURE__ */ H(
4410
+ return /* @__PURE__ */ Y(
4411
4411
  "div",
4412
4412
  {
4413
4413
  className: _({
@@ -4421,18 +4421,18 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
4421
4421
  className: _({
4422
4422
  [he.spStringsGroup__groupItemHeader]: !0
4423
4423
  }),
4424
- children: C.title
4424
+ children: T.title
4425
4425
  }
4426
4426
  ),
4427
- /* @__PURE__ */ H(
4427
+ /* @__PURE__ */ Y(
4428
4428
  "div",
4429
4429
  {
4430
4430
  className: _({
4431
4431
  [he.spStringsGroup__groupItemContent]: !0
4432
4432
  }),
4433
4433
  children: [
4434
- /* @__PURE__ */ l("span", { children: w[C.key] }),
4435
- C.isBeCopiedValue && /* @__PURE__ */ l(
4434
+ /* @__PURE__ */ l("span", { children: w[T.key] }),
4435
+ T.isBeCopiedValue && /* @__PURE__ */ l(
4436
4436
  ge,
4437
4437
  {
4438
4438
  className: _({
@@ -4441,7 +4441,7 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
4441
4441
  }),
4442
4442
  name: U ? re.Check : re.Copy,
4443
4443
  onClick: () => {
4444
- const J = w[C.key];
4444
+ const J = w[T.key];
4445
4445
  if (!J) return null;
4446
4446
  b({
4447
4447
  text: J,
@@ -4461,7 +4461,7 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
4461
4461
  }) }, p) : null)
4462
4462
  }
4463
4463
  ) : h();
4464
- return o ? u ? L() : Y() : L();
4464
+ return o ? u ? L() : V() : L();
4465
4465
  }, xs = "_spTabs_1citb_43", gs = "_spTabs_separated_1citb_48", hs = "_spTabs__tabElement_1citb_48", bs = "_spTabs__tabElement_active_1citb_83", ys = "_spTabs__triggerTooltip_1citb_90", Ne = {
4466
4466
  spTabs: xs,
4467
4467
  spTabs_separated: gs,
@@ -4498,7 +4498,7 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
4498
4498
  };
4499
4499
  return /* @__PURE__ */ l("div", { className: s, children: t.map((u, d) => {
4500
4500
  const { name: g, active: b, onClick: E, infoTooltipText: h } = u;
4501
- return /* @__PURE__ */ H(
4501
+ return /* @__PURE__ */ Y(
4502
4502
  "div",
4503
4503
  {
4504
4504
  className: _({
@@ -4525,7 +4525,7 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
4525
4525
  spTextWithLabel: ws
4526
4526
  }, Ws = (e) => {
4527
4527
  const { children: t, label: n, style: o, ...a } = e;
4528
- return /* @__PURE__ */ H("div", { className: ks.spTextWithLabel, style: { ...o }, children: [
4528
+ return /* @__PURE__ */ Y("div", { className: ks.spTextWithLabel, style: { ...o }, children: [
4529
4529
  /* @__PURE__ */ l(jt, { label: n }),
4530
4530
  /* @__PURE__ */ l(Se, { ...a, children: t })
4531
4531
  ] });