test-stpr-ui-kit 0.5.18 → 0.5.20
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.
- package/dist/test-stpr-ui-kit.css +1 -1
- package/dist/test-stpr-ui-kit.js +284 -284
- package/dist/test-stpr-ui-kit.umd.cjs +8 -8
- package/package.json +3 -3
package/dist/test-stpr-ui-kit.js
CHANGED
|
@@ -52,13 +52,13 @@ const de = (e) => {
|
|
|
52
52
|
...n,
|
|
53
53
|
style: a
|
|
54
54
|
});
|
|
55
|
-
}, In = "_spAccordion_14avc_43", Ln = "_spAccordion_noBorder_14avc_60",
|
|
55
|
+
}, In = "_spAccordion_14avc_43", Ln = "_spAccordion_noBorder_14avc_60", jn = "_spAccordion_noPadding_14avc_63", Rn = "_spAccordion_open_14avc_66", Fn = "_spAccordion__header_14avc_69", An = "_spAccordion_noOpen_14avc_88", Bn = "_spAccordion__name_14avc_99", Dn = "_spAccordion__name_hiddenExpand_14avc_110", Mn = "_spAccordion__icon_14avc_125", Pn = "_spAccordion__icon_hidden_14avc_131", On = "_spAccordion__icon_open_14avc_134", Wn = "_spAccordion__childrenWrapper_14avc_141", zn = "_spAccordion__childrenWrapper_open_14avc_150", Un = "_spAccordion__content_14avc_153", qn = "_spAccordion__content_open_14avc_159", ce = {
|
|
56
56
|
spAccordion: In,
|
|
57
57
|
spAccordion_noBorder: Ln,
|
|
58
|
-
spAccordion_noPadding:
|
|
59
|
-
spAccordion_open:
|
|
60
|
-
spAccordion__header:
|
|
61
|
-
spAccordion_noOpen:
|
|
58
|
+
spAccordion_noPadding: jn,
|
|
59
|
+
spAccordion_open: Rn,
|
|
60
|
+
spAccordion__header: Fn,
|
|
61
|
+
spAccordion_noOpen: An,
|
|
62
62
|
spAccordion__name: Bn,
|
|
63
63
|
spAccordion__name_hiddenExpand: Dn,
|
|
64
64
|
"spAccordion__name--level-1": "_spAccordion__name--level-1_14avc_114",
|
|
@@ -87,7 +87,7 @@ const de = (e) => {
|
|
|
87
87
|
classNameChildrenWrapper: h
|
|
88
88
|
} = e, [x, b] = oe(n), L = () => {
|
|
89
89
|
a || (i == null || i(!x), b(!x));
|
|
90
|
-
},
|
|
90
|
+
}, j = u({
|
|
91
91
|
[ce.spAccordion]: !0,
|
|
92
92
|
[ce.spAccordion_open]: x,
|
|
93
93
|
[ce.spAccordion_noOpen]: !x,
|
|
@@ -97,7 +97,7 @@ const de = (e) => {
|
|
|
97
97
|
}), z = u({
|
|
98
98
|
[ce.spAccordion__header]: !0,
|
|
99
99
|
...d && { [d]: !0 }
|
|
100
|
-
}),
|
|
100
|
+
}), R = u({
|
|
101
101
|
[ce.spAccordion__name]: !0,
|
|
102
102
|
[ce[`spAccordion__name--level-${p}`]]: p,
|
|
103
103
|
[ce.spAccordion__name_hiddenExpand]: a,
|
|
@@ -115,9 +115,9 @@ const de = (e) => {
|
|
|
115
115
|
[ce.spAccordion__content]: !0,
|
|
116
116
|
[ce.spAccordion__content_open]: x
|
|
117
117
|
});
|
|
118
|
-
return /* @__PURE__ */ O("div", { className:
|
|
118
|
+
return /* @__PURE__ */ O("div", { className: j, children: [
|
|
119
119
|
/* @__PURE__ */ O("div", { className: z, children: [
|
|
120
|
-
/* @__PURE__ */ c("div", { className:
|
|
120
|
+
/* @__PURE__ */ c("div", { className: R, children: /* @__PURE__ */ c("span", { onClick: L, children: t }) }),
|
|
121
121
|
/* @__PURE__ */ c(de, { onClick: L, className: w, name: D.ChevronDown })
|
|
122
122
|
] }),
|
|
123
123
|
/* @__PURE__ */ c("div", { className: m, children: /* @__PURE__ */ c("div", { className: N, children: o }) })
|
|
@@ -173,9 +173,9 @@ const de = (e) => {
|
|
|
173
173
|
isFullWidth: x = !1,
|
|
174
174
|
isOnlyIcon: b = !1,
|
|
175
175
|
noPadding: L = !1,
|
|
176
|
-
classNameRoot:
|
|
176
|
+
classNameRoot: j,
|
|
177
177
|
classNameTextRoot: z,
|
|
178
|
-
classNameIconContainerRoot:
|
|
178
|
+
classNameIconContainerRoot: R
|
|
179
179
|
} = e, w = (W) => {
|
|
180
180
|
p || a == null || a(W);
|
|
181
181
|
}, m = () => {
|
|
@@ -184,7 +184,7 @@ const de = (e) => {
|
|
|
184
184
|
...z && { [z]: !0 }
|
|
185
185
|
}), H = u({
|
|
186
186
|
[Ce.spButton__iconContainer]: !0,
|
|
187
|
-
...
|
|
187
|
+
...R && { [R]: !0 }
|
|
188
188
|
}), K = () => h ? /* @__PURE__ */ c("div", { className: H, children: /* @__PURE__ */ c(Dt, { size: "md", classNameRoot: Ce.spButton__spinner }) }) : i ? /* @__PURE__ */ c("div", { className: H, children: /* @__PURE__ */ c(de, { name: i, rotate: s }) }) : r ? /* @__PURE__ */ c("div", { className: H, children: r }) : null;
|
|
189
189
|
return /* @__PURE__ */ O($e, { children: [
|
|
190
190
|
d === "start" && K(),
|
|
@@ -200,7 +200,7 @@ const de = (e) => {
|
|
|
200
200
|
[Ce.spButton_fullWidth]: x,
|
|
201
201
|
[Ce.spButton_disabled]: p,
|
|
202
202
|
[Ce.spButton_loading]: h,
|
|
203
|
-
...
|
|
203
|
+
...j && { [j]: !0 }
|
|
204
204
|
});
|
|
205
205
|
return /* @__PURE__ */ c(
|
|
206
206
|
"button",
|
|
@@ -306,7 +306,7 @@ const de = (e) => {
|
|
|
306
306
|
t || document.body.removeChild(i);
|
|
307
307
|
};
|
|
308
308
|
}, [t, o]), n ? on.createPortal(e, n) : null;
|
|
309
|
-
}, pa = "
|
|
309
|
+
}, pa = "_layer_1uhuj_43", la = "_layer_hidden_1uhuj_76", qt = {
|
|
310
310
|
layer: pa,
|
|
311
311
|
layer_hidden: la
|
|
312
312
|
}, yo = (e) => {
|
|
@@ -368,26 +368,26 @@ const de = (e) => {
|
|
|
368
368
|
);
|
|
369
369
|
});
|
|
370
370
|
Ne.displayName = "Text";
|
|
371
|
-
const ua = "
|
|
371
|
+
const ua = "_modalWrapper_1pg9r_43", _a = "_modalWrapper__modal_1pg9r_63", fa = "_modalWrapper__content_1pg9r_106", va = "_modalWrapper__header_1pg9r_109", ga = "_modalWrapper__subHeader_1pg9r_117", xa = "_modalWrapper__subHeader_onlySubHeader_1pg9r_125", ha = "_modalWrapper__footer_1pg9r_128", ba = "_modalWrapper__closeButton_1pg9r_131", ge = {
|
|
372
372
|
modalWrapper: ua,
|
|
373
|
-
"modalWrapper--modalVerticalAlign-top": "_modalWrapper--modalVerticalAlign-
|
|
374
|
-
"modalWrapper--modalVerticalAlign-center": "_modalWrapper--modalVerticalAlign-
|
|
375
|
-
"modalWrapper--textAlign-left": "_modalWrapper--textAlign-
|
|
376
|
-
"modalWrapper--textAlign-center": "_modalWrapper--textAlign-
|
|
377
|
-
"modalWrapper--textAlign-right": "_modalWrapper--textAlign-
|
|
373
|
+
"modalWrapper--modalVerticalAlign-top": "_modalWrapper--modalVerticalAlign-top_1pg9r_48",
|
|
374
|
+
"modalWrapper--modalVerticalAlign-center": "_modalWrapper--modalVerticalAlign-center_1pg9r_51",
|
|
375
|
+
"modalWrapper--textAlign-left": "_modalWrapper--textAlign-left_1pg9r_54",
|
|
376
|
+
"modalWrapper--textAlign-center": "_modalWrapper--textAlign-center_1pg9r_57",
|
|
377
|
+
"modalWrapper--textAlign-right": "_modalWrapper--textAlign-right_1pg9r_60",
|
|
378
378
|
modalWrapper__modal: _a,
|
|
379
|
-
"modalWrapper__modal--size-lg": "_modalWrapper__modal--size-
|
|
380
|
-
"modalWrapper__modal--size-md": "_modalWrapper__modal--size-
|
|
379
|
+
"modalWrapper__modal--size-lg": "_modalWrapper__modal--size-lg_1pg9r_95",
|
|
380
|
+
"modalWrapper__modal--size-md": "_modalWrapper__modal--size-md_1pg9r_101",
|
|
381
381
|
modalWrapper__content: fa,
|
|
382
382
|
modalWrapper__header: va,
|
|
383
383
|
modalWrapper__subHeader: ga,
|
|
384
384
|
modalWrapper__subHeader_onlySubHeader: xa,
|
|
385
385
|
modalWrapper__footer: ha,
|
|
386
386
|
modalWrapper__closeButton: ba,
|
|
387
|
-
"modalWrapper__closeButton--size-lg": "_modalWrapper__closeButton--size-
|
|
388
|
-
"modalWrapper__closeButton--size-md": "_modalWrapper__closeButton--size-
|
|
389
|
-
"modalWrapper__closeButtonIconContainer--size-lg": "_modalWrapper__closeButtonIconContainer--size-
|
|
390
|
-
"modalWrapper__closeButtonIconContainer--size-md": "_modalWrapper__closeButtonIconContainer--size-
|
|
387
|
+
"modalWrapper__closeButton--size-lg": "_modalWrapper__closeButton--size-lg_1pg9r_140",
|
|
388
|
+
"modalWrapper__closeButton--size-md": "_modalWrapper__closeButton--size-md_1pg9r_144",
|
|
389
|
+
"modalWrapper__closeButtonIconContainer--size-lg": "_modalWrapper__closeButtonIconContainer--size-lg_1pg9r_149",
|
|
390
|
+
"modalWrapper__closeButtonIconContainer--size-md": "_modalWrapper__closeButtonIconContainer--size-md_1pg9r_153"
|
|
391
391
|
}, ya = (e) => {
|
|
392
392
|
const {
|
|
393
393
|
zIndex: t = 999,
|
|
@@ -412,13 +412,13 @@ const ua = "_modalWrapper_1kqdh_43", _a = "_modalWrapper__modal_1kqdh_63", fa =
|
|
|
412
412
|
[ge.modalWrapper__modal]: !0,
|
|
413
413
|
[ge[`modalWrapper__modal--size-${x}`]]: x,
|
|
414
414
|
...r && { [r]: !0 }
|
|
415
|
-
}),
|
|
415
|
+
}), j = u({
|
|
416
416
|
[ge.modalWrapper__closeButton]: !0,
|
|
417
417
|
[ge[`modalWrapper__closeButton--size-${x}`]]: x
|
|
418
418
|
}), z = u({
|
|
419
419
|
[ge.modalWrapper__closeButtonIconContainer]: !0,
|
|
420
420
|
[ge[`modalWrapper__closeButtonIconContainer--size-${x}`]]: x
|
|
421
|
-
}),
|
|
421
|
+
}), R = u({
|
|
422
422
|
[ge.modalWrapper__content]: !0
|
|
423
423
|
}), w = u({
|
|
424
424
|
[ge.modalWrapper__header]: !0
|
|
@@ -433,12 +433,12 @@ const ua = "_modalWrapper_1kqdh_43", _a = "_modalWrapper__modal_1kqdh_63", fa =
|
|
|
433
433
|
typeof _ == "string" ? /* @__PURE__ */ c(Ne, { type: "h3", children: _ }) : _,
|
|
434
434
|
g && /* @__PURE__ */ c("div", { className: m, children: typeof g == "string" ? /* @__PURE__ */ c(Ne, { children: g }) : g })
|
|
435
435
|
] }),
|
|
436
|
-
a && /* @__PURE__ */ c("div", { className:
|
|
436
|
+
a && /* @__PURE__ */ c("div", { className: R, children: a }),
|
|
437
437
|
h && /* @__PURE__ */ c("div", { className: N, children: h }),
|
|
438
438
|
n && d && /* @__PURE__ */ c(
|
|
439
439
|
tt,
|
|
440
440
|
{
|
|
441
|
-
classNameRoot:
|
|
441
|
+
classNameRoot: j,
|
|
442
442
|
classNameIconContainerRoot: z,
|
|
443
443
|
onClick: d,
|
|
444
444
|
iconName: D.Close,
|
|
@@ -466,9 +466,9 @@ const ua = "_modalWrapper_1kqdh_43", _a = "_modalWrapper__modal_1kqdh_63", fa =
|
|
|
466
466
|
applyButtonsAlign: x = "right",
|
|
467
467
|
modalVerticalAlign: b = "top",
|
|
468
468
|
textAlign: L = "left",
|
|
469
|
-
loading:
|
|
469
|
+
loading: j,
|
|
470
470
|
isVisibleCloseButton: z,
|
|
471
|
-
isHiddenModal:
|
|
471
|
+
isHiddenModal: R,
|
|
472
472
|
size: w,
|
|
473
473
|
classNameRoot: m,
|
|
474
474
|
classNameLayerRoot: N
|
|
@@ -483,7 +483,7 @@ const ua = "_modalWrapper_1kqdh_43", _a = "_modalWrapper__modal_1kqdh_63", fa =
|
|
|
483
483
|
textAlign: L,
|
|
484
484
|
subHeader: n,
|
|
485
485
|
isVisibleCloseButton: z,
|
|
486
|
-
isHiddenModal:
|
|
486
|
+
isHiddenModal: R,
|
|
487
487
|
size: w,
|
|
488
488
|
classNameRoot: m,
|
|
489
489
|
classNameLayerRoot: N,
|
|
@@ -501,7 +501,7 @@ const ua = "_modalWrapper_1kqdh_43", _a = "_modalWrapper__modal_1kqdh_63", fa =
|
|
|
501
501
|
disabled: d,
|
|
502
502
|
onClose: g,
|
|
503
503
|
submit: l,
|
|
504
|
-
loading:
|
|
504
|
+
loading: j
|
|
505
505
|
}
|
|
506
506
|
) : null
|
|
507
507
|
}
|
|
@@ -558,13 +558,13 @@ const ua = "_modalWrapper_1kqdh_43", _a = "_modalWrapper__modal_1kqdh_63", fa =
|
|
|
558
558
|
return /* @__PURE__ */ c("div", { className: s, ref: t, style: a, children: /* @__PURE__ */ c("div", { className: p, children: o }) });
|
|
559
559
|
});
|
|
560
560
|
wo.displayName = "BaseTooltip";
|
|
561
|
-
const Na = "_spBreadcrumb_8fr8j_43", Ea = "_spBreadcrumb__list_8fr8j_46", Sa = "_spBreadcrumb__listItem_8fr8j_56", Ia = "_spBreadcrumb__listItem__separator_8fr8j_61", La = "_spBreadcrumb__listItem__text_8fr8j_73",
|
|
561
|
+
const Na = "_spBreadcrumb_8fr8j_43", Ea = "_spBreadcrumb__list_8fr8j_46", Sa = "_spBreadcrumb__listItem_8fr8j_56", Ia = "_spBreadcrumb__listItem__separator_8fr8j_61", La = "_spBreadcrumb__listItem__text_8fr8j_73", ja = "_spBreadcrumb__listItem_active_8fr8j_84", Me = {
|
|
562
562
|
spBreadcrumb: Na,
|
|
563
563
|
spBreadcrumb__list: Ea,
|
|
564
564
|
spBreadcrumb__listItem: Sa,
|
|
565
565
|
spBreadcrumb__listItem__separator: Ia,
|
|
566
566
|
spBreadcrumb__listItem__text: La,
|
|
567
|
-
spBreadcrumb__listItem_active:
|
|
567
|
+
spBreadcrumb__listItem_active: ja
|
|
568
568
|
}, Vp = (e) => {
|
|
569
569
|
const {
|
|
570
570
|
classNameRoot: t,
|
|
@@ -603,9 +603,9 @@ function Co(e, t, o = !0) {
|
|
|
603
603
|
};
|
|
604
604
|
}, [e, t, o]);
|
|
605
605
|
}
|
|
606
|
-
const
|
|
607
|
-
spTooltip:
|
|
608
|
-
spInfoTooltip:
|
|
606
|
+
const Ra = "_spTooltip_1pqws_43", Fa = "_spInfoTooltip_1pqws_48", ko = {
|
|
607
|
+
spTooltip: Ra,
|
|
608
|
+
spInfoTooltip: Fa
|
|
609
609
|
};
|
|
610
610
|
var pe = /* @__PURE__ */ ((e) => (e.Top = "top", e.TopLeft = "top-left", e.TopRight = "top-right", e.Bottom = "bottom", e.BottomLeft = "bottom-left", e.BottomRight = "bottom-right", e.Left = "left", e.LeftTop = "left-top", e.LeftBottom = "left-bottom", e.Right = "right", e.RightTop = "right-top", e.RightBottom = "right-bottom", e))(pe || {});
|
|
611
611
|
const it = (e) => {
|
|
@@ -624,9 +624,9 @@ const it = (e) => {
|
|
|
624
624
|
classNameBaseTooltipRoot: g,
|
|
625
625
|
classNameBaseTooltipContentRoot: h,
|
|
626
626
|
styleTooltip: x
|
|
627
|
-
} = e, [b, L] = oe(!1),
|
|
627
|
+
} = e, [b, L] = oe(!1), j = ve(null), z = ve(null), [R, w] = oe(!1);
|
|
628
628
|
Co(
|
|
629
|
-
[
|
|
629
|
+
[j, z],
|
|
630
630
|
() => {
|
|
631
631
|
s && s(), L(!1);
|
|
632
632
|
},
|
|
@@ -639,8 +639,8 @@ const it = (e) => {
|
|
|
639
639
|
opacity: 0,
|
|
640
640
|
left: "-9999px"
|
|
641
641
|
}), [H, K] = oe(!1), ne = he(() => {
|
|
642
|
-
if (!
|
|
643
|
-
const T =
|
|
642
|
+
if (!j.current || !z.current) return;
|
|
643
|
+
const T = j.current.getBoundingClientRect(), M = z.current.getBoundingClientRect();
|
|
644
644
|
let q = 0, G = 0;
|
|
645
645
|
switch (l) {
|
|
646
646
|
case pe.Right:
|
|
@@ -691,14 +691,14 @@ const it = (e) => {
|
|
|
691
691
|
}));
|
|
692
692
|
}, [l, b, H]);
|
|
693
693
|
re(() => (w(!0), () => w(!1)), []), re(() => {
|
|
694
|
-
|
|
695
|
-
}, [
|
|
696
|
-
if (!
|
|
694
|
+
R && ne();
|
|
695
|
+
}, [R, ne]), re(() => {
|
|
696
|
+
if (!R) return;
|
|
697
697
|
const T = () => ne();
|
|
698
698
|
return window.addEventListener("resize", T), window.addEventListener("scroll", T, !0), () => {
|
|
699
699
|
window.removeEventListener("resize", T), window.removeEventListener("scroll", T, !0);
|
|
700
700
|
};
|
|
701
|
-
}, [
|
|
701
|
+
}, [R, ne]);
|
|
702
702
|
const me = u({
|
|
703
703
|
...g && { [g]: !0 }
|
|
704
704
|
}), ue = u({
|
|
@@ -710,7 +710,7 @@ const it = (e) => {
|
|
|
710
710
|
return /* @__PURE__ */ O(
|
|
711
711
|
"div",
|
|
712
712
|
{
|
|
713
|
-
ref:
|
|
713
|
+
ref: j,
|
|
714
714
|
className: le,
|
|
715
715
|
onClick: m,
|
|
716
716
|
onMouseEnter: () => t && K(!0),
|
|
@@ -745,8 +745,8 @@ const it = (e) => {
|
|
|
745
745
|
trigger: /* @__PURE__ */ c(de, { name: D.Info })
|
|
746
746
|
}
|
|
747
747
|
);
|
|
748
|
-
},
|
|
749
|
-
spCheckbox:
|
|
748
|
+
}, Aa = "_spCheckbox_14zra_43", Ba = "_spCheckbox__control_14zra_49", Da = "_spCheckbox__label_14zra_52", Ma = "_spCheckbox__box_14zra_63", Pa = "_spCheckbox__box_disabled_14zra_74", Oa = "_spCheckbox__box_error_14zra_79", Wa = "_spCheckbox__box__checkmark_14zra_85", za = "_spCheckbox__box__innerSquare_14zra_105", Ua = "_spCheckbox__box__innerSquare_checked_14zra_121", qa = "_spCheckbox__tooltip_14zra_125", $a = "_spCheckbox__required_14zra_129", Ha = "_spCheckbox__error_14zra_135", xe = {
|
|
749
|
+
spCheckbox: Aa,
|
|
750
750
|
spCheckbox__control: Ba,
|
|
751
751
|
spCheckbox__label: Da,
|
|
752
752
|
spCheckbox__box: Ma,
|
|
@@ -785,14 +785,14 @@ const it = (e) => {
|
|
|
785
785
|
[xe.spCheckbox__box]: !0,
|
|
786
786
|
[xe.spCheckbox__box_disabled]: n,
|
|
787
787
|
[xe.spCheckbox__box_error]: s
|
|
788
|
-
}),
|
|
788
|
+
}), j = u({
|
|
789
789
|
[xe.spCheckbox__box__checkmark]: !0,
|
|
790
790
|
[xe[`spCheckbox__box__checkmark--size-${t}`]]: t
|
|
791
791
|
}), z = u({
|
|
792
792
|
[xe.spCheckbox__box__innerSquare]: !0,
|
|
793
793
|
[xe.spCheckbox__box__innerSquare_checked]: o,
|
|
794
794
|
[xe[`spCheckbox__box__innerSquare--size-${t}`]]: t
|
|
795
|
-
}),
|
|
795
|
+
}), R = u({
|
|
796
796
|
[xe.spCheckbox__control]: !0
|
|
797
797
|
}), w = u({
|
|
798
798
|
[xe.spCheckbox__label]: !0
|
|
@@ -810,14 +810,14 @@ const it = (e) => {
|
|
|
810
810
|
"input",
|
|
811
811
|
{
|
|
812
812
|
type: "checkbox",
|
|
813
|
-
className:
|
|
813
|
+
className: R,
|
|
814
814
|
checked: o,
|
|
815
815
|
onChange: (K) => {
|
|
816
816
|
!n && a && a(K, { name: i, checked: !o, value: p });
|
|
817
817
|
}
|
|
818
818
|
}
|
|
819
819
|
),
|
|
820
|
-
/* @__PURE__ */ c("span", { className:
|
|
820
|
+
/* @__PURE__ */ c("span", { className: j, children: /* @__PURE__ */ c("span", { className: z }) }),
|
|
821
821
|
r && /* @__PURE__ */ c("span", { className: w, children: r }),
|
|
822
822
|
l && /* @__PURE__ */ c("div", { className: m, children: "*" }),
|
|
823
823
|
_ && /* @__PURE__ */ c("div", { className: W, children: /* @__PURE__ */ c(rt, { hover: !0, position: d, text: _ }) })
|
|
@@ -948,7 +948,7 @@ const it = (e) => {
|
|
|
948
948
|
const L = u({
|
|
949
949
|
[$t.ellipsisTextWithTooltip]: !0,
|
|
950
950
|
...n && { [n]: !0 }
|
|
951
|
-
}),
|
|
951
|
+
}), j = u({
|
|
952
952
|
[$t.ellipsisTextWithTooltip__tooltip]: !0,
|
|
953
953
|
...a && { [a]: !0 }
|
|
954
954
|
});
|
|
@@ -958,7 +958,7 @@ const it = (e) => {
|
|
|
958
958
|
hover: !0,
|
|
959
959
|
position: s,
|
|
960
960
|
classNameBaseTooltipRoot: r,
|
|
961
|
-
classNameTooltip:
|
|
961
|
+
classNameTooltip: j,
|
|
962
962
|
classNameBaseTooltipContentRoot: i,
|
|
963
963
|
isVisibleTooltip: _,
|
|
964
964
|
text: t,
|
|
@@ -1086,9 +1086,9 @@ const it = (e) => {
|
|
|
1086
1086
|
infoTooltipText: x,
|
|
1087
1087
|
tooltipPosition: b,
|
|
1088
1088
|
isVisibleDefaultTitle: L = !0,
|
|
1089
|
-
placeholder:
|
|
1089
|
+
placeholder: j = "Введите...",
|
|
1090
1090
|
classNameRoot: z,
|
|
1091
|
-
classNameError:
|
|
1091
|
+
classNameError: R,
|
|
1092
1092
|
classNameLabel: w,
|
|
1093
1093
|
classNameBaseTooltipRoot: m,
|
|
1094
1094
|
...N
|
|
@@ -1109,7 +1109,7 @@ const it = (e) => {
|
|
|
1109
1109
|
}), me = u({
|
|
1110
1110
|
[ke.spInput__error]: !0,
|
|
1111
1111
|
[ke.spInput__error_absolutePosition]: s,
|
|
1112
|
-
...
|
|
1112
|
+
...R && { [R]: !0 }
|
|
1113
1113
|
}), ue = u({
|
|
1114
1114
|
...w && { [w]: !0 }
|
|
1115
1115
|
}), le = (M) => {
|
|
@@ -1135,7 +1135,7 @@ const it = (e) => {
|
|
|
1135
1135
|
"input",
|
|
1136
1136
|
{
|
|
1137
1137
|
...N,
|
|
1138
|
-
placeholder:
|
|
1138
|
+
placeholder: j,
|
|
1139
1139
|
disabled: r,
|
|
1140
1140
|
onChange: Z,
|
|
1141
1141
|
title: L ? o : void 0,
|
|
@@ -1162,10 +1162,10 @@ function To(e) {
|
|
|
1162
1162
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1163
1163
|
}
|
|
1164
1164
|
var Pt = {};
|
|
1165
|
-
Pt.match =
|
|
1165
|
+
Pt.match = Fi;
|
|
1166
1166
|
Pt.parse = No;
|
|
1167
|
-
var Si = /(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i, Ii = /\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/, Li = /^(?:(min|max)-)?(.+)/,
|
|
1168
|
-
function
|
|
1167
|
+
var Si = /(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i, Ii = /\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/, Li = /^(?:(min|max)-)?(.+)/, ji = /(em|rem|px|cm|mm|in|pt|pc)?$/, Ri = /(dpi|dpcm|dppx)?$/;
|
|
1168
|
+
function Fi(e, t) {
|
|
1169
1169
|
return No(e).some(function(o) {
|
|
1170
1170
|
var n = o.inverse, a = o.type === "all" || t.type === o.type;
|
|
1171
1171
|
if (a && n || !(a || n))
|
|
@@ -1231,7 +1231,7 @@ function Ht(e) {
|
|
|
1231
1231
|
return t || (o = e.match(/^(\d+)\s*\/\s*(\d+)$/), t = o[1] / o[2]), t;
|
|
1232
1232
|
}
|
|
1233
1233
|
function Vt(e) {
|
|
1234
|
-
var t = parseFloat(e), o = String(e).match(
|
|
1234
|
+
var t = parseFloat(e), o = String(e).match(Ri)[1];
|
|
1235
1235
|
switch (o) {
|
|
1236
1236
|
case "dpcm":
|
|
1237
1237
|
return t / 2.54;
|
|
@@ -1242,7 +1242,7 @@ function Vt(e) {
|
|
|
1242
1242
|
}
|
|
1243
1243
|
}
|
|
1244
1244
|
function Yt(e) {
|
|
1245
|
-
var t = parseFloat(e), o = String(e).match(
|
|
1245
|
+
var t = parseFloat(e), o = String(e).match(ji)[1];
|
|
1246
1246
|
switch (o) {
|
|
1247
1247
|
case "em":
|
|
1248
1248
|
return t * 16;
|
|
@@ -1262,10 +1262,10 @@ function Yt(e) {
|
|
|
1262
1262
|
return t;
|
|
1263
1263
|
}
|
|
1264
1264
|
}
|
|
1265
|
-
var
|
|
1265
|
+
var Ai = Pt.match, Gt = typeof window < "u" ? window.matchMedia : null;
|
|
1266
1266
|
function Bi(e, t, o) {
|
|
1267
1267
|
var n = this, a;
|
|
1268
|
-
Gt && !o && (a = Gt.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches =
|
|
1268
|
+
Gt && !o && (a = Gt.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches = Ai(e, t), this.media = e), this.addListener = i, this.removeListener = r, this.dispose = p;
|
|
1269
1269
|
function i(l) {
|
|
1270
1270
|
a && a.addListener(l);
|
|
1271
1271
|
}
|
|
@@ -1322,8 +1322,8 @@ var Kt;
|
|
|
1322
1322
|
function qi() {
|
|
1323
1323
|
if (Kt) return Q;
|
|
1324
1324
|
Kt = 1;
|
|
1325
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = 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, p = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, _ = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, L = e ? Symbol.for("react.fundamental") : 60117,
|
|
1326
|
-
function
|
|
1325
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = 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, p = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, _ = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, L = e ? Symbol.for("react.fundamental") : 60117, j = e ? Symbol.for("react.responder") : 60118, z = e ? Symbol.for("react.scope") : 60119;
|
|
1326
|
+
function R(m) {
|
|
1327
1327
|
if (typeof m == "object" && m !== null) {
|
|
1328
1328
|
var N = m.$$typeof;
|
|
1329
1329
|
switch (N) {
|
|
@@ -1354,35 +1354,35 @@ function qi() {
|
|
|
1354
1354
|
}
|
|
1355
1355
|
}
|
|
1356
1356
|
function w(m) {
|
|
1357
|
-
return
|
|
1357
|
+
return R(m) === l;
|
|
1358
1358
|
}
|
|
1359
1359
|
return Q.AsyncMode = p, Q.ConcurrentMode = l, Q.ContextConsumer = s, Q.ContextProvider = r, Q.Element = t, Q.ForwardRef = d, Q.Fragment = n, Q.Lazy = x, Q.Memo = h, Q.Portal = o, Q.Profiler = i, Q.StrictMode = a, Q.Suspense = _, Q.isAsyncMode = function(m) {
|
|
1360
|
-
return w(m) ||
|
|
1360
|
+
return w(m) || R(m) === p;
|
|
1361
1361
|
}, Q.isConcurrentMode = w, Q.isContextConsumer = function(m) {
|
|
1362
|
-
return
|
|
1362
|
+
return R(m) === s;
|
|
1363
1363
|
}, Q.isContextProvider = function(m) {
|
|
1364
|
-
return
|
|
1364
|
+
return R(m) === r;
|
|
1365
1365
|
}, Q.isElement = function(m) {
|
|
1366
1366
|
return typeof m == "object" && m !== null && m.$$typeof === t;
|
|
1367
1367
|
}, Q.isForwardRef = function(m) {
|
|
1368
|
-
return
|
|
1368
|
+
return R(m) === d;
|
|
1369
1369
|
}, Q.isFragment = function(m) {
|
|
1370
|
-
return
|
|
1370
|
+
return R(m) === n;
|
|
1371
1371
|
}, Q.isLazy = function(m) {
|
|
1372
|
-
return
|
|
1372
|
+
return R(m) === x;
|
|
1373
1373
|
}, Q.isMemo = function(m) {
|
|
1374
|
-
return
|
|
1374
|
+
return R(m) === h;
|
|
1375
1375
|
}, Q.isPortal = function(m) {
|
|
1376
|
-
return
|
|
1376
|
+
return R(m) === o;
|
|
1377
1377
|
}, Q.isProfiler = function(m) {
|
|
1378
|
-
return
|
|
1378
|
+
return R(m) === i;
|
|
1379
1379
|
}, Q.isStrictMode = function(m) {
|
|
1380
|
-
return
|
|
1380
|
+
return R(m) === a;
|
|
1381
1381
|
}, Q.isSuspense = function(m) {
|
|
1382
|
-
return
|
|
1382
|
+
return R(m) === _;
|
|
1383
1383
|
}, Q.isValidElementType = function(m) {
|
|
1384
|
-
return typeof m == "string" || typeof m == "function" || m === n || m === l || m === i || m === a || m === _ || m === g || typeof m == "object" && m !== null && (m.$$typeof === x || m.$$typeof === h || m.$$typeof === r || m.$$typeof === s || m.$$typeof === d || m.$$typeof === L || m.$$typeof ===
|
|
1385
|
-
}, Q.typeOf =
|
|
1384
|
+
return typeof m == "string" || typeof m == "function" || m === n || m === l || m === i || m === a || m === _ || m === g || typeof m == "object" && m !== null && (m.$$typeof === x || m.$$typeof === h || m.$$typeof === r || m.$$typeof === s || m.$$typeof === d || m.$$typeof === L || m.$$typeof === j || m.$$typeof === z || m.$$typeof === b);
|
|
1385
|
+
}, Q.typeOf = R, Q;
|
|
1386
1386
|
}
|
|
1387
1387
|
var J = {};
|
|
1388
1388
|
/** @license React v16.13.1
|
|
@@ -1396,10 +1396,10 @@ var J = {};
|
|
|
1396
1396
|
var Xt;
|
|
1397
1397
|
function $i() {
|
|
1398
1398
|
return Xt || (Xt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1399
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = 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, p = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, _ = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, L = e ? Symbol.for("react.fundamental") : 60117,
|
|
1400
|
-
function
|
|
1399
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = 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, p = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, _ = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, L = e ? Symbol.for("react.fundamental") : 60117, j = e ? Symbol.for("react.responder") : 60118, z = e ? Symbol.for("react.scope") : 60119;
|
|
1400
|
+
function R(y) {
|
|
1401
1401
|
return typeof y == "string" || typeof y == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1402
|
-
y === n || y === l || y === i || y === a || y === _ || y === g || typeof y == "object" && y !== null && (y.$$typeof === x || y.$$typeof === h || y.$$typeof === r || y.$$typeof === s || y.$$typeof === d || y.$$typeof === L || y.$$typeof ===
|
|
1402
|
+
y === n || y === l || y === i || y === a || y === _ || y === g || typeof y == "object" && y !== null && (y.$$typeof === x || y.$$typeof === h || y.$$typeof === r || y.$$typeof === s || y.$$typeof === d || y.$$typeof === L || y.$$typeof === j || y.$$typeof === z || y.$$typeof === b);
|
|
1403
1403
|
}
|
|
1404
1404
|
function w(y) {
|
|
1405
1405
|
if (typeof y == "object" && y !== null) {
|
|
@@ -1446,7 +1446,7 @@ function $i() {
|
|
|
1446
1446
|
function I(y) {
|
|
1447
1447
|
return w(y) === r;
|
|
1448
1448
|
}
|
|
1449
|
-
function
|
|
1449
|
+
function F(y) {
|
|
1450
1450
|
return typeof y == "object" && y !== null && y.$$typeof === t;
|
|
1451
1451
|
}
|
|
1452
1452
|
function S(y) {
|
|
@@ -1473,7 +1473,7 @@ function $i() {
|
|
|
1473
1473
|
function ie(y) {
|
|
1474
1474
|
return w(y) === _;
|
|
1475
1475
|
}
|
|
1476
|
-
J.AsyncMode = m, J.ConcurrentMode = N, J.ContextConsumer = W, J.ContextProvider = H, J.Element = K, J.ForwardRef = ne, J.Fragment = me, J.Lazy = ue, J.Memo = le, J.Portal = Z, J.Profiler = T, J.StrictMode = M, J.Suspense = q, J.isAsyncMode = ee, J.isConcurrentMode = f, J.isContextConsumer = v, J.isContextProvider = I, J.isElement =
|
|
1476
|
+
J.AsyncMode = m, J.ConcurrentMode = N, J.ContextConsumer = W, J.ContextProvider = H, J.Element = K, J.ForwardRef = ne, J.Fragment = me, J.Lazy = ue, J.Memo = le, J.Portal = Z, J.Profiler = T, J.StrictMode = M, J.Suspense = q, J.isAsyncMode = ee, J.isConcurrentMode = f, J.isContextConsumer = v, J.isContextProvider = I, J.isElement = F, J.isForwardRef = S, J.isFragment = P, J.isLazy = B, J.isMemo = U, J.isPortal = V, J.isProfiler = X, J.isStrictMode = $, J.isSuspense = ie, J.isValidElementType = R, J.typeOf = w;
|
|
1477
1477
|
}()), J;
|
|
1478
1478
|
}
|
|
1479
1479
|
var Zt;
|
|
@@ -1616,16 +1616,16 @@ function Yi() {
|
|
|
1616
1616
|
return v;
|
|
1617
1617
|
}
|
|
1618
1618
|
var g = "<<anonymous>>", h = {
|
|
1619
|
-
array:
|
|
1620
|
-
bigint:
|
|
1621
|
-
bool:
|
|
1622
|
-
func:
|
|
1623
|
-
number:
|
|
1624
|
-
object:
|
|
1625
|
-
string:
|
|
1626
|
-
symbol:
|
|
1619
|
+
array: j("array"),
|
|
1620
|
+
bigint: j("bigint"),
|
|
1621
|
+
bool: j("boolean"),
|
|
1622
|
+
func: j("function"),
|
|
1623
|
+
number: j("number"),
|
|
1624
|
+
object: j("object"),
|
|
1625
|
+
string: j("string"),
|
|
1626
|
+
symbol: j("symbol"),
|
|
1627
1627
|
any: z(),
|
|
1628
|
-
arrayOf:
|
|
1628
|
+
arrayOf: R,
|
|
1629
1629
|
element: w(),
|
|
1630
1630
|
elementType: m(),
|
|
1631
1631
|
instanceOf: N,
|
|
@@ -1646,7 +1646,7 @@ function Yi() {
|
|
|
1646
1646
|
function L(f) {
|
|
1647
1647
|
if (process.env.NODE_ENV !== "production")
|
|
1648
1648
|
var v = {}, I = 0;
|
|
1649
|
-
function
|
|
1649
|
+
function F(P, B, U, V, X, $, ie) {
|
|
1650
1650
|
if (V = V || g, $ = $ || U, ie !== o) {
|
|
1651
1651
|
if (p) {
|
|
1652
1652
|
var y = new Error(
|
|
@@ -1663,12 +1663,12 @@ function Yi() {
|
|
|
1663
1663
|
}
|
|
1664
1664
|
return B[U] == null ? P ? B[U] === null ? new b("The " + X + " `" + $ + "` is marked as required " + ("in `" + V + "`, but its value is `null`.")) : new b("The " + X + " `" + $ + "` is marked as required in " + ("`" + V + "`, but its value is `undefined`.")) : null : f(B, U, V, X, $);
|
|
1665
1665
|
}
|
|
1666
|
-
var S =
|
|
1667
|
-
return S.isRequired =
|
|
1666
|
+
var S = F.bind(null, !1);
|
|
1667
|
+
return S.isRequired = F.bind(null, !0), S;
|
|
1668
1668
|
}
|
|
1669
|
-
function
|
|
1670
|
-
function v(I,
|
|
1671
|
-
var V = I[
|
|
1669
|
+
function j(f) {
|
|
1670
|
+
function v(I, F, S, P, B, U) {
|
|
1671
|
+
var V = I[F], X = M(V);
|
|
1672
1672
|
if (X !== f) {
|
|
1673
1673
|
var $ = q(V);
|
|
1674
1674
|
return new b(
|
|
@@ -1683,11 +1683,11 @@ function Yi() {
|
|
|
1683
1683
|
function z() {
|
|
1684
1684
|
return L(r);
|
|
1685
1685
|
}
|
|
1686
|
-
function
|
|
1687
|
-
function v(I,
|
|
1686
|
+
function R(f) {
|
|
1687
|
+
function v(I, F, S, P, B) {
|
|
1688
1688
|
if (typeof f != "function")
|
|
1689
1689
|
return new b("Property `" + B + "` of component `" + S + "` has invalid PropType notation inside arrayOf.");
|
|
1690
|
-
var U = I[
|
|
1690
|
+
var U = I[F];
|
|
1691
1691
|
if (!Array.isArray(U)) {
|
|
1692
1692
|
var V = M(U);
|
|
1693
1693
|
return new b("Invalid " + P + " `" + B + "` of type " + ("`" + V + "` supplied to `" + S + "`, expected an array."));
|
|
@@ -1702,31 +1702,31 @@ function Yi() {
|
|
|
1702
1702
|
return L(v);
|
|
1703
1703
|
}
|
|
1704
1704
|
function w() {
|
|
1705
|
-
function f(v, I,
|
|
1705
|
+
function f(v, I, F, S, P) {
|
|
1706
1706
|
var B = v[I];
|
|
1707
1707
|
if (!s(B)) {
|
|
1708
1708
|
var U = M(B);
|
|
1709
|
-
return new b("Invalid " + S + " `" + P + "` of type " + ("`" + U + "` supplied to `" +
|
|
1709
|
+
return new b("Invalid " + S + " `" + P + "` of type " + ("`" + U + "` supplied to `" + F + "`, expected a single ReactElement."));
|
|
1710
1710
|
}
|
|
1711
1711
|
return null;
|
|
1712
1712
|
}
|
|
1713
1713
|
return L(f);
|
|
1714
1714
|
}
|
|
1715
1715
|
function m() {
|
|
1716
|
-
function f(v, I,
|
|
1716
|
+
function f(v, I, F, S, P) {
|
|
1717
1717
|
var B = v[I];
|
|
1718
1718
|
if (!e.isValidElementType(B)) {
|
|
1719
1719
|
var U = M(B);
|
|
1720
|
-
return new b("Invalid " + S + " `" + P + "` of type " + ("`" + U + "` supplied to `" +
|
|
1720
|
+
return new b("Invalid " + S + " `" + P + "` of type " + ("`" + U + "` supplied to `" + F + "`, expected a single ReactElement type."));
|
|
1721
1721
|
}
|
|
1722
1722
|
return null;
|
|
1723
1723
|
}
|
|
1724
1724
|
return L(f);
|
|
1725
1725
|
}
|
|
1726
1726
|
function N(f) {
|
|
1727
|
-
function v(I,
|
|
1728
|
-
if (!(I[
|
|
1729
|
-
var U = f.name || g, V = ee(I[
|
|
1727
|
+
function v(I, F, S, P, B) {
|
|
1728
|
+
if (!(I[F] instanceof f)) {
|
|
1729
|
+
var U = f.name || g, V = ee(I[F]);
|
|
1730
1730
|
return new b("Invalid " + P + " `" + B + "` of type " + ("`" + V + "` supplied to `" + S + "`, expected ") + ("instance of `" + U + "`."));
|
|
1731
1731
|
}
|
|
1732
1732
|
return null;
|
|
@@ -1738,8 +1738,8 @@ function Yi() {
|
|
|
1738
1738
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1739
1739
|
"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])."
|
|
1740
1740
|
) : i("Invalid argument supplied to oneOf, expected an array.")), r;
|
|
1741
|
-
function v(I,
|
|
1742
|
-
for (var U = I[
|
|
1741
|
+
function v(I, F, S, P, B) {
|
|
1742
|
+
for (var U = I[F], V = 0; V < f.length; V++)
|
|
1743
1743
|
if (x(U, f[V]))
|
|
1744
1744
|
return null;
|
|
1745
1745
|
var X = JSON.stringify(f, function(ie, y) {
|
|
@@ -1751,10 +1751,10 @@ function Yi() {
|
|
|
1751
1751
|
return L(v);
|
|
1752
1752
|
}
|
|
1753
1753
|
function H(f) {
|
|
1754
|
-
function v(I,
|
|
1754
|
+
function v(I, F, S, P, B) {
|
|
1755
1755
|
if (typeof f != "function")
|
|
1756
1756
|
return new b("Property `" + B + "` of component `" + S + "` has invalid PropType notation inside objectOf.");
|
|
1757
|
-
var U = I[
|
|
1757
|
+
var U = I[F], V = M(U);
|
|
1758
1758
|
if (V !== "object")
|
|
1759
1759
|
return new b("Invalid " + P + " `" + B + "` of type " + ("`" + V + "` supplied to `" + S + "`, expected an object."));
|
|
1760
1760
|
for (var X in U)
|
|
@@ -1777,7 +1777,7 @@ function Yi() {
|
|
|
1777
1777
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + G(I) + " at index " + v + "."
|
|
1778
1778
|
), r;
|
|
1779
1779
|
}
|
|
1780
|
-
function
|
|
1780
|
+
function F(S, P, B, U, V) {
|
|
1781
1781
|
for (var X = [], $ = 0; $ < f.length; $++) {
|
|
1782
1782
|
var ie = f[$], y = ie(S, P, B, U, V, o);
|
|
1783
1783
|
if (y == null)
|
|
@@ -1787,22 +1787,22 @@ function Yi() {
|
|
|
1787
1787
|
var be = X.length > 0 ? ", expected one of type [" + X.join(", ") + "]" : "";
|
|
1788
1788
|
return new b("Invalid " + U + " `" + V + "` supplied to " + ("`" + B + "`" + be + "."));
|
|
1789
1789
|
}
|
|
1790
|
-
return L(
|
|
1790
|
+
return L(F);
|
|
1791
1791
|
}
|
|
1792
1792
|
function ne() {
|
|
1793
|
-
function f(v, I,
|
|
1794
|
-
return Z(v[I]) ? null : new b("Invalid " + S + " `" + P + "` supplied to " + ("`" +
|
|
1793
|
+
function f(v, I, F, S, P) {
|
|
1794
|
+
return Z(v[I]) ? null : new b("Invalid " + S + " `" + P + "` supplied to " + ("`" + F + "`, expected a ReactNode."));
|
|
1795
1795
|
}
|
|
1796
1796
|
return L(f);
|
|
1797
1797
|
}
|
|
1798
|
-
function me(f, v, I,
|
|
1798
|
+
function me(f, v, I, F, S) {
|
|
1799
1799
|
return new b(
|
|
1800
|
-
(f || "React class") + ": " + v + " type `" + I + "." +
|
|
1800
|
+
(f || "React class") + ": " + v + " type `" + I + "." + F + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + S + "`."
|
|
1801
1801
|
);
|
|
1802
1802
|
}
|
|
1803
1803
|
function ue(f) {
|
|
1804
|
-
function v(I,
|
|
1805
|
-
var U = I[
|
|
1804
|
+
function v(I, F, S, P, B) {
|
|
1805
|
+
var U = I[F], V = M(U);
|
|
1806
1806
|
if (V !== "object")
|
|
1807
1807
|
return new b("Invalid " + P + " `" + B + "` of type `" + V + "` " + ("supplied to `" + S + "`, expected `object`."));
|
|
1808
1808
|
for (var X in f) {
|
|
@@ -1818,18 +1818,18 @@ function Yi() {
|
|
|
1818
1818
|
return L(v);
|
|
1819
1819
|
}
|
|
1820
1820
|
function le(f) {
|
|
1821
|
-
function v(I,
|
|
1822
|
-
var U = I[
|
|
1821
|
+
function v(I, F, S, P, B) {
|
|
1822
|
+
var U = I[F], V = M(U);
|
|
1823
1823
|
if (V !== "object")
|
|
1824
1824
|
return new b("Invalid " + P + " `" + B + "` of type `" + V + "` " + ("supplied to `" + S + "`, expected `object`."));
|
|
1825
|
-
var X = t({}, I[
|
|
1825
|
+
var X = t({}, I[F], f);
|
|
1826
1826
|
for (var $ in X) {
|
|
1827
1827
|
var ie = f[$];
|
|
1828
1828
|
if (n(f, $) && typeof ie != "function")
|
|
1829
1829
|
return me(S, P, B, $, q(ie));
|
|
1830
1830
|
if (!ie)
|
|
1831
1831
|
return new b(
|
|
1832
|
-
"Invalid " + P + " `" + B + "` key `" + $ + "` supplied to `" + S + "`.\nBad object: " + JSON.stringify(I[
|
|
1832
|
+
"Invalid " + P + " `" + B + "` key `" + $ + "` supplied to `" + S + "`.\nBad object: " + JSON.stringify(I[F], null, " ") + `
|
|
1833
1833
|
Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
1834
1834
|
);
|
|
1835
1835
|
var y = ie(U, $, S, P, B + "." + $, o);
|
|
@@ -1855,14 +1855,14 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
|
1855
1855
|
return !0;
|
|
1856
1856
|
var v = _(f);
|
|
1857
1857
|
if (v) {
|
|
1858
|
-
var I = v.call(f),
|
|
1858
|
+
var I = v.call(f), F;
|
|
1859
1859
|
if (v !== f.entries) {
|
|
1860
|
-
for (; !(
|
|
1861
|
-
if (!Z(
|
|
1860
|
+
for (; !(F = I.next()).done; )
|
|
1861
|
+
if (!Z(F.value))
|
|
1862
1862
|
return !1;
|
|
1863
1863
|
} else
|
|
1864
|
-
for (; !(
|
|
1865
|
-
var S =
|
|
1864
|
+
for (; !(F = I.next()).done; ) {
|
|
1865
|
+
var S = F.value;
|
|
1866
1866
|
if (S && !Z(S[1]))
|
|
1867
1867
|
return !1;
|
|
1868
1868
|
}
|
|
@@ -2027,7 +2027,7 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2027
2027
|
const n = e[o];
|
|
2028
2028
|
n != null && t.push(ar(o, n));
|
|
2029
2029
|
}), ir(t);
|
|
2030
|
-
}, sr = xo(void 0), pr = (e) => e.query || rr(e), ao = (e) => e ? Object.keys(e).reduce((o, n) => (o[Eo(n)] = e[n], o), {}) : void 0,
|
|
2030
|
+
}, sr = xo(void 0), pr = (e) => e.query || rr(e), ao = (e) => e ? Object.keys(e).reduce((o, n) => (o[Eo(n)] = e[n], o), {}) : void 0, jo = () => {
|
|
2031
2031
|
const e = ve(!1);
|
|
2032
2032
|
return re(() => {
|
|
2033
2033
|
e.current = !0;
|
|
@@ -2045,7 +2045,7 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2045
2045
|
o !== a && n(a);
|
|
2046
2046
|
}, [e]), o;
|
|
2047
2047
|
}, dr = (e, t) => {
|
|
2048
|
-
const o = () => Pi(e, t || {}, !!t), [n, a] = oe(o), i =
|
|
2048
|
+
const o = () => Pi(e, t || {}, !!t), [n, a] = oe(o), i = jo();
|
|
2049
2049
|
return re(() => {
|
|
2050
2050
|
if (i) {
|
|
2051
2051
|
const r = o();
|
|
@@ -2069,7 +2069,7 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2069
2069
|
if (!a)
|
|
2070
2070
|
throw new Error("Invalid or missing MediaQuery!");
|
|
2071
2071
|
const i = dr(a, n), r = mr(i);
|
|
2072
|
-
return
|
|
2072
|
+
return jo(), re(() => {
|
|
2073
2073
|
}, [r]), re(() => () => {
|
|
2074
2074
|
i && i.dispose();
|
|
2075
2075
|
}, []), r;
|
|
@@ -2111,8 +2111,8 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2111
2111
|
p.current = i, l.current = performance.now();
|
|
2112
2112
|
const x = (b) => {
|
|
2113
2113
|
if (!l.current) return;
|
|
2114
|
-
const L = b - l.current,
|
|
2115
|
-
r(w),
|
|
2114
|
+
const L = b - l.current, j = Math.min(L / o, 1), z = j < 0.5 ? 4 * j * j * j : 1 - Math.pow(-2 * j + 2, 3) / 2, R = p.current + (d.current - p.current) * z, w = Math.max(0, Math.floor(R));
|
|
2115
|
+
r(w), j < 1 && (s.current = requestAnimationFrame(x));
|
|
2116
2116
|
};
|
|
2117
2117
|
return s.current = requestAnimationFrame(x), () => {
|
|
2118
2118
|
s.current && cancelAnimationFrame(s.current);
|
|
@@ -2179,7 +2179,7 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2179
2179
|
"%"
|
|
2180
2180
|
] })
|
|
2181
2181
|
] });
|
|
2182
|
-
}, Cr = 180, kr = "_spSelect_1l6hu_43", Tr = "_spSelect_error_1l6hu_48", Nr = "_spSelect__control_1l6hu_48", Er = "_spSelect__value_empty_1l6hu_52", Sr = "_spSelect__icon_1l6hu_55", Ir = "_spSelect_absolutePositionError_1l6hu_58", Lr = "_spSelect__container_1l6hu_61",
|
|
2182
|
+
}, Cr = 180, kr = "_spSelect_1l6hu_43", Tr = "_spSelect_error_1l6hu_48", Nr = "_spSelect__control_1l6hu_48", Er = "_spSelect__value_empty_1l6hu_52", Sr = "_spSelect__icon_1l6hu_55", Ir = "_spSelect_absolutePositionError_1l6hu_58", Lr = "_spSelect__container_1l6hu_61", jr = "_spSelect__control_filled_1l6hu_81", Rr = "_spSelect__control_outlined_1l6hu_85", Fr = "_spSelect__control_disabled_1l6hu_110", Ar = "_spSelect__value_1l6hu_52", Br = "_spSelect__list_1l6hu_141", Dr = "_spSelect__list_scrollable_1l6hu_148", Mr = "_spSelect__option_1l6hu_164", Pr = "_spSelect__error_1l6hu_182", Or = "_spSelect__error_absolutePosition_1l6hu_189", _e = {
|
|
2183
2183
|
spSelect: kr,
|
|
2184
2184
|
spSelect_error: Tr,
|
|
2185
2185
|
spSelect__control: Nr,
|
|
@@ -2187,10 +2187,10 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2187
2187
|
spSelect__icon: Sr,
|
|
2188
2188
|
spSelect_absolutePositionError: Ir,
|
|
2189
2189
|
spSelect__container: Lr,
|
|
2190
|
-
spSelect__control_filled:
|
|
2191
|
-
spSelect__control_outlined:
|
|
2192
|
-
spSelect__control_disabled:
|
|
2193
|
-
spSelect__value:
|
|
2190
|
+
spSelect__control_filled: jr,
|
|
2191
|
+
spSelect__control_outlined: Rr,
|
|
2192
|
+
spSelect__control_disabled: Fr,
|
|
2193
|
+
spSelect__value: Ar,
|
|
2194
2194
|
spSelect__list: Br,
|
|
2195
2195
|
spSelect__list_scrollable: Dr,
|
|
2196
2196
|
spSelect__option: Mr,
|
|
@@ -2214,9 +2214,9 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2214
2214
|
maxHeightList: x = Cr,
|
|
2215
2215
|
isVisibleDefaultTitle: b = !0,
|
|
2216
2216
|
isScrollableList: L = !1,
|
|
2217
|
-
isAbsolutePositionError:
|
|
2217
|
+
isAbsolutePositionError: j = !1,
|
|
2218
2218
|
classNameRoot: z,
|
|
2219
|
-
classNameError:
|
|
2219
|
+
classNameError: R,
|
|
2220
2220
|
classNameLabel: w,
|
|
2221
2221
|
classNameBaseTooltipRoot: m
|
|
2222
2222
|
} = e, [N, W] = oe(!1), H = ve(null);
|
|
@@ -2234,7 +2234,7 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2234
2234
|
}, ue = u({
|
|
2235
2235
|
[_e.spSelect]: !0,
|
|
2236
2236
|
[_e.spSelect_error]: !!p,
|
|
2237
|
-
[_e.spSelect_absolutePositionError]:
|
|
2237
|
+
[_e.spSelect_absolutePositionError]: j,
|
|
2238
2238
|
...z && { [z]: !0 }
|
|
2239
2239
|
}), le = u({
|
|
2240
2240
|
[_e.spSelect__container]: !0
|
|
@@ -2254,8 +2254,8 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2254
2254
|
...w && { [w]: !0 }
|
|
2255
2255
|
}), ee = u({
|
|
2256
2256
|
[_e.spSelect__error]: !0,
|
|
2257
|
-
[_e.spSelect__error_absolutePosition]:
|
|
2258
|
-
...
|
|
2257
|
+
[_e.spSelect__error_absolutePosition]: j,
|
|
2258
|
+
...R && { [R]: !0 }
|
|
2259
2259
|
});
|
|
2260
2260
|
return /* @__PURE__ */ O("div", { className: ue, ref: H, children: [
|
|
2261
2261
|
l && /* @__PURE__ */ c(
|
|
@@ -2303,7 +2303,7 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2303
2303
|
className: u({
|
|
2304
2304
|
[_e.spSelect__option]: !0
|
|
2305
2305
|
}),
|
|
2306
|
-
onClick: (
|
|
2306
|
+
onClick: (F) => ne(F, v.value),
|
|
2307
2307
|
children: [
|
|
2308
2308
|
v.label,
|
|
2309
2309
|
I && /* @__PURE__ */ c(de, { name: D.Check, className: M })
|
|
@@ -2405,7 +2405,7 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2405
2405
|
W,
|
|
2406
2406
|
H && /* @__PURE__ */ c("span", { className: l, children: ` ${H}` })
|
|
2407
2407
|
] });
|
|
2408
|
-
},
|
|
2408
|
+
}, j = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ O("table", { className: s, children: [
|
|
2409
2409
|
/* @__PURE__ */ c("colgroup", { children: r.map((w, m, N) => /* @__PURE__ */ c(
|
|
2410
2410
|
"col",
|
|
2411
2411
|
{
|
|
@@ -2512,8 +2512,8 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2512
2512
|
}) }, m) : null)
|
|
2513
2513
|
}
|
|
2514
2514
|
) : b();
|
|
2515
|
-
return n ? a ?
|
|
2516
|
-
}, os = "_spTabs_p5nml_43", ns = "_spTabs_separated_p5nml_48", as = "_spTabs__tabElement_p5nml_48", is = "_spTabs__tabElement_active_p5nml_83", rs = "_spTabs__tooltip_p5nml_90",
|
|
2515
|
+
return n ? a ? j() : z() : j();
|
|
2516
|
+
}, os = "_spTabs_p5nml_43", ns = "_spTabs_separated_p5nml_48", as = "_spTabs__tabElement_p5nml_48", is = "_spTabs__tabElement_active_p5nml_83", rs = "_spTabs__tooltip_p5nml_90", je = {
|
|
2517
2517
|
spTabs: os,
|
|
2518
2518
|
spTabs_separated: ns,
|
|
2519
2519
|
"spTabs--size-md": "_spTabs--size-md_p5nml_48",
|
|
@@ -2532,13 +2532,13 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2532
2532
|
variant: i = "contained",
|
|
2533
2533
|
size: r = "md"
|
|
2534
2534
|
} = e, s = u({
|
|
2535
|
-
[
|
|
2536
|
-
[
|
|
2537
|
-
[
|
|
2538
|
-
[
|
|
2535
|
+
[je.spTabs]: !0,
|
|
2536
|
+
[je.spTabs_separated]: o,
|
|
2537
|
+
[je[`spTabs--variant-${i}`]]: i,
|
|
2538
|
+
[je[`spTabs--size-${r}`]]: r,
|
|
2539
2539
|
...n && { [n]: !0 }
|
|
2540
2540
|
}), p = u({
|
|
2541
|
-
[
|
|
2541
|
+
[je.spTabs__tooltip]: !0
|
|
2542
2542
|
}), l = () => {
|
|
2543
2543
|
switch (r) {
|
|
2544
2544
|
case "md":
|
|
@@ -2553,8 +2553,8 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2553
2553
|
"div",
|
|
2554
2554
|
{
|
|
2555
2555
|
className: u({
|
|
2556
|
-
[
|
|
2557
|
-
[
|
|
2556
|
+
[je.spTabs__tabElement]: !0,
|
|
2557
|
+
[je.spTabs__tabElement_active]: h
|
|
2558
2558
|
}),
|
|
2559
2559
|
onClick: x,
|
|
2560
2560
|
children: [
|
|
@@ -2607,7 +2607,7 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2607
2607
|
/* @__PURE__ */ c(Ne, { ...l, children: p })
|
|
2608
2608
|
] });
|
|
2609
2609
|
};
|
|
2610
|
-
function
|
|
2610
|
+
function Fe(e, t, o, n) {
|
|
2611
2611
|
function a(i) {
|
|
2612
2612
|
return i instanceof o ? i : new o(function(r) {
|
|
2613
2613
|
r(i);
|
|
@@ -3870,7 +3870,7 @@ const ds = [
|
|
|
3870
3870
|
// Windows
|
|
3871
3871
|
];
|
|
3872
3872
|
function ms(e) {
|
|
3873
|
-
return
|
|
3873
|
+
return Fe(this, void 0, void 0, function* () {
|
|
3874
3874
|
return ot(e) && us(e.dataTransfer) ? gs(e.dataTransfer, e.type) : _s(e) ? fs(e) : Array.isArray(e) && e.every((t) => "getFile" in t && typeof t.getFile == "function") ? vs(e) : [];
|
|
3875
3875
|
});
|
|
3876
3876
|
}
|
|
@@ -3884,29 +3884,29 @@ function ot(e) {
|
|
|
3884
3884
|
return typeof e == "object" && e !== null;
|
|
3885
3885
|
}
|
|
3886
3886
|
function fs(e) {
|
|
3887
|
-
return
|
|
3887
|
+
return jt(e.target.files).map((t) => Pe(t));
|
|
3888
3888
|
}
|
|
3889
3889
|
function vs(e) {
|
|
3890
|
-
return
|
|
3890
|
+
return Fe(this, void 0, void 0, function* () {
|
|
3891
3891
|
return (yield Promise.all(e.map((o) => o.getFile()))).map((o) => Pe(o));
|
|
3892
3892
|
});
|
|
3893
3893
|
}
|
|
3894
3894
|
function gs(e, t) {
|
|
3895
|
-
return
|
|
3895
|
+
return Fe(this, void 0, void 0, function* () {
|
|
3896
3896
|
if (e.items) {
|
|
3897
|
-
const o =
|
|
3897
|
+
const o = jt(e.items).filter((a) => a.kind === "file");
|
|
3898
3898
|
if (t !== "drop")
|
|
3899
3899
|
return o;
|
|
3900
3900
|
const n = yield Promise.all(o.map(xs));
|
|
3901
|
-
return so(
|
|
3901
|
+
return so(Ro(n));
|
|
3902
3902
|
}
|
|
3903
|
-
return so(
|
|
3903
|
+
return so(jt(e.files).map((o) => Pe(o)));
|
|
3904
3904
|
});
|
|
3905
3905
|
}
|
|
3906
3906
|
function so(e) {
|
|
3907
3907
|
return e.filter((t) => ds.indexOf(t.name) === -1);
|
|
3908
3908
|
}
|
|
3909
|
-
function
|
|
3909
|
+
function jt(e) {
|
|
3910
3910
|
if (e === null)
|
|
3911
3911
|
return [];
|
|
3912
3912
|
const t = [];
|
|
@@ -3920,16 +3920,16 @@ function xs(e) {
|
|
|
3920
3920
|
if (typeof e.webkitGetAsEntry != "function")
|
|
3921
3921
|
return po(e);
|
|
3922
3922
|
const t = e.webkitGetAsEntry();
|
|
3923
|
-
return t && t.isDirectory ?
|
|
3923
|
+
return t && t.isDirectory ? Fo(t) : po(e, t);
|
|
3924
3924
|
}
|
|
3925
|
-
function
|
|
3925
|
+
function Ro(e) {
|
|
3926
3926
|
return e.reduce((t, o) => [
|
|
3927
3927
|
...t,
|
|
3928
|
-
...Array.isArray(o) ?
|
|
3928
|
+
...Array.isArray(o) ? Ro(o) : [o]
|
|
3929
3929
|
], []);
|
|
3930
3930
|
}
|
|
3931
3931
|
function po(e, t) {
|
|
3932
|
-
return
|
|
3932
|
+
return Fe(this, void 0, void 0, function* () {
|
|
3933
3933
|
var o;
|
|
3934
3934
|
if (globalThis.isSecureContext && typeof e.getAsFileSystemHandle == "function") {
|
|
3935
3935
|
const i = yield e.getAsFileSystemHandle();
|
|
@@ -3947,16 +3947,16 @@ function po(e, t) {
|
|
|
3947
3947
|
});
|
|
3948
3948
|
}
|
|
3949
3949
|
function hs(e) {
|
|
3950
|
-
return
|
|
3951
|
-
return e.isDirectory ?
|
|
3950
|
+
return Fe(this, void 0, void 0, function* () {
|
|
3951
|
+
return e.isDirectory ? Fo(e) : bs(e);
|
|
3952
3952
|
});
|
|
3953
3953
|
}
|
|
3954
|
-
function
|
|
3954
|
+
function Fo(e) {
|
|
3955
3955
|
const t = e.createReader();
|
|
3956
3956
|
return new Promise((o, n) => {
|
|
3957
3957
|
const a = [];
|
|
3958
3958
|
function i() {
|
|
3959
|
-
t.readEntries((r) =>
|
|
3959
|
+
t.readEntries((r) => Fe(this, void 0, void 0, function* () {
|
|
3960
3960
|
if (r.length) {
|
|
3961
3961
|
const s = Promise.all(r.map(hs));
|
|
3962
3962
|
a.push(s), i();
|
|
@@ -3975,7 +3975,7 @@ function Ao(e) {
|
|
|
3975
3975
|
});
|
|
3976
3976
|
}
|
|
3977
3977
|
function bs(e) {
|
|
3978
|
-
return
|
|
3978
|
+
return Fe(this, void 0, void 0, function* () {
|
|
3979
3979
|
return new Promise((t, o) => {
|
|
3980
3980
|
e.file((n) => {
|
|
3981
3981
|
const a = Pe(n, e.fullPath);
|
|
@@ -4010,7 +4010,7 @@ function ws(e) {
|
|
|
4010
4010
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
4011
4011
|
}
|
|
4012
4012
|
function Cs(e) {
|
|
4013
|
-
if (Array.isArray(e)) return
|
|
4013
|
+
if (Array.isArray(e)) return Rt(e);
|
|
4014
4014
|
}
|
|
4015
4015
|
function co(e, t) {
|
|
4016
4016
|
var o = Object.keys(e);
|
|
@@ -4026,14 +4026,14 @@ function mo(e) {
|
|
|
4026
4026
|
for (var t = 1; t < arguments.length; t++) {
|
|
4027
4027
|
var o = arguments[t] != null ? arguments[t] : {};
|
|
4028
4028
|
t % 2 ? co(Object(o), !0).forEach(function(n) {
|
|
4029
|
-
|
|
4029
|
+
Ao(e, n, o[n]);
|
|
4030
4030
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : co(Object(o)).forEach(function(n) {
|
|
4031
4031
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(o, n));
|
|
4032
4032
|
});
|
|
4033
4033
|
}
|
|
4034
4034
|
return e;
|
|
4035
4035
|
}
|
|
4036
|
-
function
|
|
4036
|
+
function Ao(e, t, o) {
|
|
4037
4037
|
return t in e ? Object.defineProperty(e, t, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = o, e;
|
|
4038
4038
|
}
|
|
4039
4039
|
function He(e, t) {
|
|
@@ -4045,13 +4045,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4045
4045
|
}
|
|
4046
4046
|
function Bo(e, t) {
|
|
4047
4047
|
if (e) {
|
|
4048
|
-
if (typeof e == "string") return
|
|
4048
|
+
if (typeof e == "string") return Rt(e, t);
|
|
4049
4049
|
var o = Object.prototype.toString.call(e).slice(8, -1);
|
|
4050
4050
|
if (o === "Object" && e.constructor && (o = e.constructor.name), o === "Map" || o === "Set") return Array.from(e);
|
|
4051
|
-
if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)) return
|
|
4051
|
+
if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)) return Rt(e, t);
|
|
4052
4052
|
}
|
|
4053
4053
|
}
|
|
4054
|
-
function
|
|
4054
|
+
function Rt(e, t) {
|
|
4055
4055
|
(t == null || t > e.length) && (t = e.length);
|
|
4056
4056
|
for (var o = 0, n = new Array(t); o < t; o++)
|
|
4057
4057
|
n[o] = e[o];
|
|
@@ -4108,20 +4108,20 @@ function Oo(e, t) {
|
|
|
4108
4108
|
return [o, o ? null : Is(t)];
|
|
4109
4109
|
}
|
|
4110
4110
|
function Wo(e, t, o) {
|
|
4111
|
-
if (
|
|
4112
|
-
if (
|
|
4111
|
+
if (Re(e.size))
|
|
4112
|
+
if (Re(t) && Re(o)) {
|
|
4113
4113
|
if (e.size > o) return [!1, uo(o)];
|
|
4114
4114
|
if (e.size < t) return [!1, _o(t)];
|
|
4115
4115
|
} else {
|
|
4116
|
-
if (
|
|
4117
|
-
if (
|
|
4116
|
+
if (Re(t) && e.size < t) return [!1, _o(t)];
|
|
4117
|
+
if (Re(o) && e.size > o) return [!1, uo(o)];
|
|
4118
4118
|
}
|
|
4119
4119
|
return [!0, null];
|
|
4120
4120
|
}
|
|
4121
|
-
function
|
|
4121
|
+
function Re(e) {
|
|
4122
4122
|
return e != null;
|
|
4123
4123
|
}
|
|
4124
|
-
function
|
|
4124
|
+
function js(e) {
|
|
4125
4125
|
var t = e.files, o = e.accept, n = e.minSize, a = e.maxSize, i = e.multiple, r = e.maxFiles, s = e.validator;
|
|
4126
4126
|
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(p) {
|
|
4127
4127
|
var l = Oo(p, o), d = He(l, 1), _ = d[0], g = Wo(p, n, a), h = He(g, 1), x = h[0], b = s ? s(p) : null;
|
|
@@ -4139,15 +4139,15 @@ function et(e) {
|
|
|
4139
4139
|
function fo(e) {
|
|
4140
4140
|
e.preventDefault();
|
|
4141
4141
|
}
|
|
4142
|
-
function
|
|
4142
|
+
function Rs(e) {
|
|
4143
4143
|
return e.indexOf("MSIE") !== -1 || e.indexOf("Trident/") !== -1;
|
|
4144
4144
|
}
|
|
4145
|
-
function
|
|
4145
|
+
function Fs(e) {
|
|
4146
4146
|
return e.indexOf("Edge/") !== -1;
|
|
4147
4147
|
}
|
|
4148
|
-
function
|
|
4148
|
+
function As() {
|
|
4149
4149
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
|
|
4150
|
-
return
|
|
4150
|
+
return Rs(e) || Fs(e);
|
|
4151
4151
|
}
|
|
4152
4152
|
function Te() {
|
|
4153
4153
|
for (var e = arguments.length, t = new Array(e), o = 0; o < e; o++)
|
|
@@ -4164,13 +4164,13 @@ function Bs() {
|
|
|
4164
4164
|
return "showOpenFilePicker" in window;
|
|
4165
4165
|
}
|
|
4166
4166
|
function Ds(e) {
|
|
4167
|
-
if (
|
|
4167
|
+
if (Re(e)) {
|
|
4168
4168
|
var t = Object.entries(e).filter(function(o) {
|
|
4169
4169
|
var n = He(o, 2), a = n[0], i = n[1], r = !0;
|
|
4170
4170
|
return zo(a) || (console.warn('Skipped "'.concat(a, '" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')), r = !1), (!Array.isArray(i) || !i.every(Uo)) && (console.warn('Skipped "'.concat(a, '" because an invalid file extension was provided.')), r = !1), r;
|
|
4171
4171
|
}).reduce(function(o, n) {
|
|
4172
4172
|
var a = He(n, 2), i = a[0], r = a[1];
|
|
4173
|
-
return mo(mo({}, o), {},
|
|
4173
|
+
return mo(mo({}, o), {}, Ao({}, i, r));
|
|
4174
4174
|
}, {});
|
|
4175
4175
|
return [{
|
|
4176
4176
|
// description is required due to https://crbug.com/1264708
|
|
@@ -4181,7 +4181,7 @@ function Ds(e) {
|
|
|
4181
4181
|
return e;
|
|
4182
4182
|
}
|
|
4183
4183
|
function Ms(e) {
|
|
4184
|
-
if (
|
|
4184
|
+
if (Re(e))
|
|
4185
4185
|
return Object.entries(e).reduce(function(t, o) {
|
|
4186
4186
|
var n = He(o, 2), a = n[0], i = n[1];
|
|
4187
4187
|
return [].concat(lo(t), [a], lo(i));
|
|
@@ -4213,7 +4213,7 @@ function Vs(e) {
|
|
|
4213
4213
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
4214
4214
|
}
|
|
4215
4215
|
function Ys(e) {
|
|
4216
|
-
if (Array.isArray(e)) return
|
|
4216
|
+
if (Array.isArray(e)) return Ft(e);
|
|
4217
4217
|
}
|
|
4218
4218
|
function St(e, t) {
|
|
4219
4219
|
return Xs(e) || Ks(e, t) || qo(e, t) || Gs();
|
|
@@ -4224,13 +4224,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4224
4224
|
}
|
|
4225
4225
|
function qo(e, t) {
|
|
4226
4226
|
if (e) {
|
|
4227
|
-
if (typeof e == "string") return
|
|
4227
|
+
if (typeof e == "string") return Ft(e, t);
|
|
4228
4228
|
var o = Object.prototype.toString.call(e).slice(8, -1);
|
|
4229
4229
|
if (o === "Object" && e.constructor && (o = e.constructor.name), o === "Map" || o === "Set") return Array.from(e);
|
|
4230
|
-
if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)) return
|
|
4230
|
+
if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)) return Ft(e, t);
|
|
4231
4231
|
}
|
|
4232
4232
|
}
|
|
4233
|
-
function
|
|
4233
|
+
function Ft(e, t) {
|
|
4234
4234
|
(t == null || t > e.length) && (t = e.length);
|
|
4235
4235
|
for (var o = 0, n = new Array(t); o < t; o++)
|
|
4236
4236
|
n[o] = e[o];
|
|
@@ -4272,14 +4272,14 @@ function te(e) {
|
|
|
4272
4272
|
for (var t = 1; t < arguments.length; t++) {
|
|
4273
4273
|
var o = arguments[t] != null ? arguments[t] : {};
|
|
4274
4274
|
t % 2 ? vo(Object(o), !0).forEach(function(n) {
|
|
4275
|
-
|
|
4275
|
+
At(e, n, o[n]);
|
|
4276
4276
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : vo(Object(o)).forEach(function(n) {
|
|
4277
4277
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(o, n));
|
|
4278
4278
|
});
|
|
4279
4279
|
}
|
|
4280
4280
|
return e;
|
|
4281
4281
|
}
|
|
4282
|
-
function
|
|
4282
|
+
function At(e, t, o) {
|
|
4283
4283
|
return t in e ? Object.defineProperty(e, t, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = o, e;
|
|
4284
4284
|
}
|
|
4285
4285
|
function at(e, t) {
|
|
@@ -4505,7 +4505,7 @@ var Bt = {
|
|
|
4505
4505
|
fileRejections: []
|
|
4506
4506
|
};
|
|
4507
4507
|
function Ho() {
|
|
4508
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = te(te({}, $o), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, p = t.maxFiles, l = t.onDragEnter, d = t.onDragLeave, _ = t.onDragOver, g = t.onDrop, h = t.onDropAccepted, x = t.onDropRejected, b = t.onFileDialogCancel, L = t.onFileDialogOpen,
|
|
4508
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = te(te({}, $o), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, p = t.maxFiles, l = t.onDragEnter, d = t.onDragLeave, _ = t.onDragOver, g = t.onDrop, h = t.onDropAccepted, x = t.onDropRejected, b = t.onFileDialogCancel, L = t.onFileDialogOpen, j = t.useFsAccessApi, z = t.autoFocus, R = t.preventDropOnDocument, w = t.noClick, m = t.noKeyboard, N = t.noDrag, W = t.noDragEventsBubbling, H = t.onError, K = t.validator, ne = De(function() {
|
|
4509
4509
|
return Ms(o);
|
|
4510
4510
|
}, [o]), me = De(function() {
|
|
4511
4511
|
return Ds(o);
|
|
@@ -4513,39 +4513,39 @@ function Ho() {
|
|
|
4513
4513
|
return typeof L == "function" ? L : go;
|
|
4514
4514
|
}, [L]), le = De(function() {
|
|
4515
4515
|
return typeof b == "function" ? b : go;
|
|
4516
|
-
}, [b]), Z = ve(null), T = ve(null), M = Qo(Qs, Bt), q = St(M, 2), G = q[0], ee = q[1], f = G.isFocused, v = G.isFileDialogActive, I = ve(typeof window < "u" && window.isSecureContext &&
|
|
4516
|
+
}, [b]), Z = ve(null), T = ve(null), M = Qo(Qs, Bt), q = St(M, 2), G = q[0], ee = q[1], f = G.isFocused, v = G.isFileDialogActive, I = ve(typeof window < "u" && window.isSecureContext && j && Bs()), F = function() {
|
|
4517
4517
|
!I.current && v && setTimeout(function() {
|
|
4518
4518
|
if (T.current) {
|
|
4519
|
-
var
|
|
4520
|
-
|
|
4519
|
+
var A = T.current.files;
|
|
4520
|
+
A.length || (ee({
|
|
4521
4521
|
type: "closeDialog"
|
|
4522
4522
|
}), le());
|
|
4523
4523
|
}
|
|
4524
4524
|
}, 300);
|
|
4525
4525
|
};
|
|
4526
4526
|
re(function() {
|
|
4527
|
-
return window.addEventListener("focus",
|
|
4528
|
-
window.removeEventListener("focus",
|
|
4527
|
+
return window.addEventListener("focus", F, !1), function() {
|
|
4528
|
+
window.removeEventListener("focus", F, !1);
|
|
4529
4529
|
};
|
|
4530
4530
|
}, [T, v, le, I]);
|
|
4531
|
-
var S = ve([]), P = function(
|
|
4532
|
-
Z.current && Z.current.contains(
|
|
4531
|
+
var S = ve([]), P = function(A) {
|
|
4532
|
+
Z.current && Z.current.contains(A.target) || (A.preventDefault(), S.current = []);
|
|
4533
4533
|
};
|
|
4534
4534
|
re(function() {
|
|
4535
|
-
return
|
|
4536
|
-
|
|
4535
|
+
return R && (document.addEventListener("dragover", fo, !1), document.addEventListener("drop", P, !1)), function() {
|
|
4536
|
+
R && (document.removeEventListener("dragover", fo), document.removeEventListener("drop", P));
|
|
4537
4537
|
};
|
|
4538
|
-
}, [Z,
|
|
4538
|
+
}, [Z, R]), re(function() {
|
|
4539
4539
|
return !n && z && Z.current && Z.current.focus(), function() {
|
|
4540
4540
|
};
|
|
4541
4541
|
}, [Z, z, n]);
|
|
4542
4542
|
var B = he(function(k) {
|
|
4543
4543
|
H ? H(k) : console.error(k);
|
|
4544
4544
|
}, [H]), U = he(function(k) {
|
|
4545
|
-
k.preventDefault(), k.persist(), Ge(k), S.current = [].concat($s(S.current), [k.target]), et(k) && Promise.resolve(a(k)).then(function(
|
|
4545
|
+
k.preventDefault(), k.persist(), Ge(k), S.current = [].concat($s(S.current), [k.target]), et(k) && Promise.resolve(a(k)).then(function(A) {
|
|
4546
4546
|
if (!(nt(k) && !W)) {
|
|
4547
|
-
var ae =
|
|
4548
|
-
files:
|
|
4547
|
+
var ae = A.length, se = ae > 0 && js({
|
|
4548
|
+
files: A,
|
|
4549
4549
|
accept: ne,
|
|
4550
4550
|
minSize: r,
|
|
4551
4551
|
maxSize: i,
|
|
@@ -4560,30 +4560,30 @@ function Ho() {
|
|
|
4560
4560
|
type: "setDraggedFiles"
|
|
4561
4561
|
}), l && l(k);
|
|
4562
4562
|
}
|
|
4563
|
-
}).catch(function(
|
|
4564
|
-
return B(
|
|
4563
|
+
}).catch(function(A) {
|
|
4564
|
+
return B(A);
|
|
4565
4565
|
});
|
|
4566
4566
|
}, [a, l, B, W, ne, r, i, s, p, K]), V = he(function(k) {
|
|
4567
4567
|
k.preventDefault(), k.persist(), Ge(k);
|
|
4568
|
-
var
|
|
4569
|
-
if (
|
|
4568
|
+
var A = et(k);
|
|
4569
|
+
if (A && k.dataTransfer)
|
|
4570
4570
|
try {
|
|
4571
4571
|
k.dataTransfer.dropEffect = "copy";
|
|
4572
4572
|
} catch {
|
|
4573
4573
|
}
|
|
4574
|
-
return
|
|
4574
|
+
return A && _ && _(k), !1;
|
|
4575
4575
|
}, [_, W]), X = he(function(k) {
|
|
4576
4576
|
k.preventDefault(), k.persist(), Ge(k);
|
|
4577
|
-
var
|
|
4577
|
+
var A = S.current.filter(function(se) {
|
|
4578
4578
|
return Z.current && Z.current.contains(se);
|
|
4579
|
-
}), ae =
|
|
4580
|
-
ae !== -1 &&
|
|
4579
|
+
}), ae = A.indexOf(k.target);
|
|
4580
|
+
ae !== -1 && A.splice(ae, 1), S.current = A, !(A.length > 0) && (ee({
|
|
4581
4581
|
type: "setDraggedFiles",
|
|
4582
4582
|
isDragActive: !1,
|
|
4583
4583
|
isDragAccept: !1,
|
|
4584
4584
|
isDragReject: !1
|
|
4585
4585
|
}), et(k) && d && d(k));
|
|
4586
|
-
}, [Z, d, W]), $ = he(function(k,
|
|
4586
|
+
}, [Z, d, W]), $ = he(function(k, A) {
|
|
4587
4587
|
var ae = [], se = [];
|
|
4588
4588
|
k.forEach(function(ye) {
|
|
4589
4589
|
var We = Oo(ye, ne), Be = St(We, 2), pt = Be[0], lt = Be[1], ct = Wo(ye, r, i), Ke = St(ct, 2), dt = Ke[0], mt = Ke[1], ut = K ? K(ye) : null;
|
|
@@ -4608,12 +4608,12 @@ function Ho() {
|
|
|
4608
4608
|
fileRejections: se,
|
|
4609
4609
|
isDragReject: se.length > 0,
|
|
4610
4610
|
type: "setFiles"
|
|
4611
|
-
}), g && g(ae, se,
|
|
4611
|
+
}), g && g(ae, se, A), se.length > 0 && x && x(se, A), ae.length > 0 && h && h(ae, A);
|
|
4612
4612
|
}, [ee, s, ne, r, i, p, g, h, x, K]), ie = he(function(k) {
|
|
4613
|
-
k.preventDefault(), k.persist(), Ge(k), S.current = [], et(k) && Promise.resolve(a(k)).then(function(
|
|
4614
|
-
nt(k) && !W || $(
|
|
4615
|
-
}).catch(function(
|
|
4616
|
-
return B(
|
|
4613
|
+
k.preventDefault(), k.persist(), Ge(k), S.current = [], et(k) && Promise.resolve(a(k)).then(function(A) {
|
|
4614
|
+
nt(k) && !W || $(A, k);
|
|
4615
|
+
}).catch(function(A) {
|
|
4616
|
+
return B(A);
|
|
4617
4617
|
}), ee({
|
|
4618
4618
|
type: "reset"
|
|
4619
4619
|
});
|
|
@@ -4626,23 +4626,23 @@ function Ho() {
|
|
|
4626
4626
|
multiple: s,
|
|
4627
4627
|
types: me
|
|
4628
4628
|
};
|
|
4629
|
-
window.showOpenFilePicker(k).then(function(
|
|
4630
|
-
return a(
|
|
4631
|
-
}).then(function(
|
|
4632
|
-
$(
|
|
4629
|
+
window.showOpenFilePicker(k).then(function(A) {
|
|
4630
|
+
return a(A);
|
|
4631
|
+
}).then(function(A) {
|
|
4632
|
+
$(A, null), ee({
|
|
4633
4633
|
type: "closeDialog"
|
|
4634
4634
|
});
|
|
4635
|
-
}).catch(function(
|
|
4636
|
-
Ps(
|
|
4635
|
+
}).catch(function(A) {
|
|
4636
|
+
Ps(A) ? (le(A), ee({
|
|
4637
4637
|
type: "closeDialog"
|
|
4638
|
-
})) : Os(
|
|
4638
|
+
})) : Os(A) ? (I.current = !1, T.current ? (T.current.value = null, T.current.click()) : B(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."))) : B(A);
|
|
4639
4639
|
});
|
|
4640
4640
|
return;
|
|
4641
4641
|
}
|
|
4642
4642
|
T.current && (ee({
|
|
4643
4643
|
type: "openDialog"
|
|
4644
4644
|
}), ue(), T.current.value = null, T.current.click());
|
|
4645
|
-
}, [ee, ue, le,
|
|
4645
|
+
}, [ee, ue, le, j, $, B, me, s]), be = he(function(k) {
|
|
4646
4646
|
!Z.current || !Z.current.isEqualNode(k.target) || (k.key === " " || k.key === "Enter" || k.keyCode === 32 || k.keyCode === 13) && (k.preventDefault(), y());
|
|
4647
4647
|
}, [Z, y]), Ie = he(function() {
|
|
4648
4648
|
ee({
|
|
@@ -4653,23 +4653,23 @@ function Ho() {
|
|
|
4653
4653
|
type: "blur"
|
|
4654
4654
|
});
|
|
4655
4655
|
}, []), zt = he(function() {
|
|
4656
|
-
w || (
|
|
4657
|
-
}, [w, y]),
|
|
4658
|
-
return n ? null :
|
|
4659
|
-
}, st = function(
|
|
4660
|
-
return m ? null :
|
|
4661
|
-
}, Ye = function(
|
|
4662
|
-
return N ? null :
|
|
4663
|
-
}, Ge = function(
|
|
4664
|
-
W &&
|
|
4656
|
+
w || (As() ? setTimeout(y, 0) : y());
|
|
4657
|
+
}, [w, y]), Ae = function(A) {
|
|
4658
|
+
return n ? null : A;
|
|
4659
|
+
}, st = function(A) {
|
|
4660
|
+
return m ? null : Ae(A);
|
|
4661
|
+
}, Ye = function(A) {
|
|
4662
|
+
return N ? null : Ae(A);
|
|
4663
|
+
}, Ge = function(A) {
|
|
4664
|
+
W && A.stopPropagation();
|
|
4665
4665
|
}, Vo = De(function() {
|
|
4666
4666
|
return function() {
|
|
4667
|
-
var k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {},
|
|
4668
|
-
return te(te(
|
|
4667
|
+
var k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, A = k.refKey, ae = A === void 0 ? "ref" : A, se = k.role, ye = k.onKeyDown, We = k.onFocus, Be = k.onBlur, pt = k.onClick, lt = k.onDragEnter, ct = k.onDragOver, Ke = k.onDragLeave, dt = k.onDrop, mt = at(k, Us);
|
|
4668
|
+
return te(te(At({
|
|
4669
4669
|
onKeyDown: st(Te(ye, be)),
|
|
4670
4670
|
onFocus: st(Te(We, Ie)),
|
|
4671
4671
|
onBlur: st(Te(Be, Oe)),
|
|
4672
|
-
onClick:
|
|
4672
|
+
onClick: Ae(Te(pt, zt)),
|
|
4673
4673
|
onDragEnter: Ye(Te(lt, U)),
|
|
4674
4674
|
onDragOver: Ye(Te(ct, V)),
|
|
4675
4675
|
onDragLeave: Ye(Te(Ke, X)),
|
|
@@ -4683,7 +4683,7 @@ function Ho() {
|
|
|
4683
4683
|
k.stopPropagation();
|
|
4684
4684
|
}, []), Go = De(function() {
|
|
4685
4685
|
return function() {
|
|
4686
|
-
var k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {},
|
|
4686
|
+
var k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, A = k.refKey, ae = A === void 0 ? "ref" : A, se = k.onChange, ye = k.onClick, We = at(k, qs), Be = At({
|
|
4687
4687
|
accept: ne,
|
|
4688
4688
|
multiple: s,
|
|
4689
4689
|
type: "file",
|
|
@@ -4699,8 +4699,8 @@ function Ho() {
|
|
|
4699
4699
|
width: "1px",
|
|
4700
4700
|
whiteSpace: "nowrap"
|
|
4701
4701
|
},
|
|
4702
|
-
onChange:
|
|
4703
|
-
onClick:
|
|
4702
|
+
onChange: Ae(Te(se, ie)),
|
|
4703
|
+
onClick: Ae(Te(ye, Yo)),
|
|
4704
4704
|
tabIndex: -1
|
|
4705
4705
|
}, ae, T);
|
|
4706
4706
|
return te(te({}, Be), We);
|
|
@@ -4712,7 +4712,7 @@ function Ho() {
|
|
|
4712
4712
|
getInputProps: Go,
|
|
4713
4713
|
rootRef: Z,
|
|
4714
4714
|
inputRef: T,
|
|
4715
|
-
open:
|
|
4715
|
+
open: Ae(y)
|
|
4716
4716
|
});
|
|
4717
4717
|
}
|
|
4718
4718
|
function Qs(e, t) {
|
|
@@ -4753,17 +4753,17 @@ function Qs(e, t) {
|
|
|
4753
4753
|
}
|
|
4754
4754
|
function go() {
|
|
4755
4755
|
}
|
|
4756
|
-
const Js = (e) => Ho(e), ep = "
|
|
4756
|
+
const Js = (e) => Ho(e), ep = "_spUploadFiles_1jy0y_43", tp = "_spUploadFiles_error_1jy0y_51", op = "_spUploadFiles__control_1jy0y_51", np = "_spUploadFiles__fileNameContainer_1jy0y_55", ap = "_spUploadFiles__fileName_dragError_1jy0y_59", ip = "_spUploadFiles__placeholderContainer_1jy0y_62", rp = "_spUploadFiles__placeholderContainer_withUloadTooltip_1jy0y_72", sp = "_spUploadFiles__placeholder_1jy0y_62", pp = "_spUploadFiles__control_loading_1jy0y_104", lp = "_shimmer_1jy0y_1", cp = "_spUploadFiles__fileName_1jy0y_55", dp = "_spUploadFiles__tooltip_1jy0y_130", mp = "_spUploadFiles_fileUploaded_1jy0y_160", up = "_spUploadFiles_disabled_1jy0y_160", _p = "_spUploadFiles__fileNamesList_1jy0y_171", fp = "_spUploadFiles__fileNamesList_loading_1jy0y_182", vp = "_spUploadFiles__fileNamesListItem_1jy0y_187", gp = "_spUploadFiles__fileNamesListItem__iconContainer_1jy0y_225", xp = "_spUploadFiles__fileNamesListItem__iconContainer_error_1jy0y_234", hp = "_spUploadFiles__fileNamesListItem__mainContent_1jy0y_239", bp = "_spUploadFiles__fileNamesListItem__fileNameWrapper_1jy0y_246", yp = "_spUploadFiles__fileNamesListItem__fileName_1jy0y_246", wp = "_spUploadFiles__fileNamesListItem__fileNameTooltip_1jy0y_253", Cp = "_spUploadFiles__fileNamesListItem__description_1jy0y_256", kp = "_spUploadFiles__fileNamesListItem__description__tooltipContent_1jy0y_261", Tp = "_spUploadFiles__fileNamesListItem__description_error_1jy0y_264", Np = "_spUploadFiles__fileNamesListItemDelete_1jy0y_267", Ep = "_spUploadFiles__fileNamesListItemDelete_error_1jy0y_284", Sp = "_spUploadFiles__delete_1jy0y_297", Ip = "_spUploadFiles__delete_loading_1jy0y_301", Lp = "_spUploadFiles__error_1jy0y_310", Y = {
|
|
4757
4757
|
spUploadFiles: ep,
|
|
4758
4758
|
spUploadFiles_error: tp,
|
|
4759
4759
|
spUploadFiles__control: op,
|
|
4760
4760
|
spUploadFiles__fileNameContainer: np,
|
|
4761
4761
|
spUploadFiles__fileName_dragError: ap,
|
|
4762
4762
|
spUploadFiles__placeholderContainer: ip,
|
|
4763
|
-
"spUploadFiles--variant-input": "_spUploadFiles--variant-
|
|
4763
|
+
"spUploadFiles--variant-input": "_spUploadFiles--variant-input_1jy0y_65",
|
|
4764
4764
|
spUploadFiles__placeholderContainer_withUloadTooltip: rp,
|
|
4765
4765
|
spUploadFiles__placeholder: sp,
|
|
4766
|
-
"spUploadFiles--variant-dropzone": "_spUploadFiles--variant-
|
|
4766
|
+
"spUploadFiles--variant-dropzone": "_spUploadFiles--variant-dropzone_1jy0y_87",
|
|
4767
4767
|
spUploadFiles__control_loading: pp,
|
|
4768
4768
|
shimmer: lp,
|
|
4769
4769
|
spUploadFiles__fileName: cp,
|
|
@@ -4787,7 +4787,7 @@ const Js = (e) => Ho(e), ep = "_spUploadFiles_11994_43", tp = "_spUploadFiles_er
|
|
|
4787
4787
|
spUploadFiles__delete: Sp,
|
|
4788
4788
|
spUploadFiles__delete_loading: Ip,
|
|
4789
4789
|
spUploadFiles__error: Lp
|
|
4790
|
-
},
|
|
4790
|
+
}, jp = (e) => {
|
|
4791
4791
|
switch (e.code) {
|
|
4792
4792
|
case Et.FileInvalidType:
|
|
4793
4793
|
return "Неверный формат файла";
|
|
@@ -4797,7 +4797,7 @@ const Js = (e) => Ho(e), ep = "_spUploadFiles_11994_43", tp = "_spUploadFiles_er
|
|
|
4797
4797
|
default:
|
|
4798
4798
|
return "";
|
|
4799
4799
|
}
|
|
4800
|
-
},
|
|
4800
|
+
}, Rp = (e, t = {}) => {
|
|
4801
4801
|
const { decimals: o = 1, space: n = !0 } = t;
|
|
4802
4802
|
if (e === 0) return "0" + (n ? " " : "") + "B";
|
|
4803
4803
|
const a = 1024, i = ["B", "KB", "MB", "GB", "TB"], r = Math.floor(Math.log(e) / Math.log(a)), s = r === 0 ? 0 : o, p = n ? " " : "";
|
|
@@ -4827,19 +4827,19 @@ const Js = (e) => Ho(e), ep = "_spUploadFiles_11994_43", tp = "_spUploadFiles_er
|
|
|
4827
4827
|
b([...I]), a(f, n);
|
|
4828
4828
|
return;
|
|
4829
4829
|
}
|
|
4830
|
-
const
|
|
4831
|
-
b([...I, ...x]), a(
|
|
4830
|
+
const F = [...p, ...f];
|
|
4831
|
+
b([...I, ...x]), a(F, n);
|
|
4832
4832
|
},
|
|
4833
4833
|
[x, p, s, n, a]
|
|
4834
|
-
), { getRootProps:
|
|
4834
|
+
), { getRootProps: j, getInputProps: z } = Js({
|
|
4835
4835
|
accept: i,
|
|
4836
4836
|
onDrop: L,
|
|
4837
4837
|
multiple: s,
|
|
4838
4838
|
disabled: r
|
|
4839
|
-
}),
|
|
4839
|
+
}), R = x ? (x == null ? void 0 : x.length) > 0 : void 0, w = [...p.map((f) => ({ file: f, errors: null })), ...x], m = (w == null ? void 0 : w.length) > 0 || (x == null ? void 0 : x.length) > 0, N = o === "input", W = o === "dropzone", H = u({
|
|
4840
4840
|
[Y.spUploadFiles]: !0,
|
|
4841
4841
|
[Y[`spUploadFiles--variant-${o}`]]: o,
|
|
4842
|
-
[Y.spUploadFiles_error]:
|
|
4842
|
+
[Y.spUploadFiles_error]: R && !s && h && h.length > 0,
|
|
4843
4843
|
[Y.spUploadFiles_disabled]: r,
|
|
4844
4844
|
[Y.spUploadFiles_fileUploaded]: m,
|
|
4845
4845
|
..._ && { [_]: !0 }
|
|
@@ -4860,12 +4860,12 @@ const Js = (e) => Ho(e), ep = "_spUploadFiles_11994_43", tp = "_spUploadFiles_er
|
|
|
4860
4860
|
S.splice(P, 1), b(S);
|
|
4861
4861
|
return;
|
|
4862
4862
|
}
|
|
4863
|
-
const I = [...p],
|
|
4864
|
-
I.splice(
|
|
4863
|
+
const I = [...p], F = I.findIndex((S) => S.name === f);
|
|
4864
|
+
I.splice(F, 1), a(I, n);
|
|
4865
4865
|
}, le = (f) => {
|
|
4866
4866
|
f.stopPropagation(), a([], n), b([]);
|
|
4867
4867
|
}, Z = (f) => Object.values(f).flatMap((v) => v.map((I) => I.toUpperCase())).join(", "), T = () => {
|
|
4868
|
-
if (
|
|
4868
|
+
if (R) {
|
|
4869
4869
|
const f = Z(i);
|
|
4870
4870
|
return /* @__PURE__ */ c(
|
|
4871
4871
|
Ue,
|
|
@@ -4874,7 +4874,7 @@ const Js = (e) => Ho(e), ep = "_spUploadFiles_11994_43", tp = "_spUploadFiles_er
|
|
|
4874
4874
|
classNameTooltipRoot: u(Y.spUploadFiles__fileNameContainer),
|
|
4875
4875
|
classNameRoot: u(
|
|
4876
4876
|
Y.spUploadFiles__fileName,
|
|
4877
|
-
|
|
4877
|
+
R && Y.spUploadFiles__fileName_dragError
|
|
4878
4878
|
)
|
|
4879
4879
|
}
|
|
4880
4880
|
);
|
|
@@ -4888,13 +4888,13 @@ const Js = (e) => Ho(e), ep = "_spUploadFiles_11994_43", tp = "_spUploadFiles_er
|
|
|
4888
4888
|
}
|
|
4889
4889
|
);
|
|
4890
4890
|
}, M = () => /* @__PURE__ */ c("ul", { className: ne, children: w.map(({ file: f, errors: v }, I) => {
|
|
4891
|
-
const
|
|
4891
|
+
const F = v ? (v == null ? void 0 : v.length) > 0 : void 0, S = () => v ? v == null ? void 0 : v.map(jp).join(", ") : "";
|
|
4892
4892
|
return /* @__PURE__ */ O(
|
|
4893
4893
|
"li",
|
|
4894
4894
|
{
|
|
4895
4895
|
className: u(
|
|
4896
4896
|
Y.spUploadFiles__fileNamesListItem,
|
|
4897
|
-
|
|
4897
|
+
F && Y.spUploadFiles__fileNamesListItem_error
|
|
4898
4898
|
),
|
|
4899
4899
|
onClick: (P) => {
|
|
4900
4900
|
P.stopPropagation();
|
|
@@ -4905,9 +4905,9 @@ const Js = (e) => Ho(e), ep = "_spUploadFiles_11994_43", tp = "_spUploadFiles_er
|
|
|
4905
4905
|
{
|
|
4906
4906
|
className: u(
|
|
4907
4907
|
Y.spUploadFiles__fileNamesListItem__iconContainer,
|
|
4908
|
-
|
|
4908
|
+
F && Y.spUploadFiles__fileNamesListItem__iconContainer_error
|
|
4909
4909
|
),
|
|
4910
|
-
children: /* @__PURE__ */ c(de, { name:
|
|
4910
|
+
children: /* @__PURE__ */ c(de, { name: F ? D.InfoError : D.File })
|
|
4911
4911
|
}
|
|
4912
4912
|
),
|
|
4913
4913
|
/* @__PURE__ */ O("div", { className: Y.spUploadFiles__fileNamesListItem__mainContent, children: [
|
|
@@ -4925,11 +4925,11 @@ const Js = (e) => Ho(e), ep = "_spUploadFiles_11994_43", tp = "_spUploadFiles_er
|
|
|
4925
4925
|
/* @__PURE__ */ c(
|
|
4926
4926
|
Ue,
|
|
4927
4927
|
{
|
|
4928
|
-
text:
|
|
4928
|
+
text: F ? S() : Rp(f.size),
|
|
4929
4929
|
classNameBaseTooltipRoot: Y.spUploadFiles__fileNamesListItem__description__tooltipContent,
|
|
4930
4930
|
classNameRoot: u(
|
|
4931
4931
|
Y.spUploadFiles__fileNamesListItem__description,
|
|
4932
|
-
|
|
4932
|
+
F && Y.spUploadFiles__fileNamesListItem__description_error
|
|
4933
4933
|
)
|
|
4934
4934
|
}
|
|
4935
4935
|
)
|
|
@@ -4939,7 +4939,7 @@ const Js = (e) => Ho(e), ep = "_spUploadFiles_11994_43", tp = "_spUploadFiles_er
|
|
|
4939
4939
|
{
|
|
4940
4940
|
className: u(Y.spUploadFiles__fileNamesListItemDelete),
|
|
4941
4941
|
onClick: (P) => {
|
|
4942
|
-
P.stopPropagation(), ue(f.name,
|
|
4942
|
+
P.stopPropagation(), ue(f.name, F);
|
|
4943
4943
|
},
|
|
4944
4944
|
children: /* @__PURE__ */ c(de, { name: D.Close })
|
|
4945
4945
|
}
|
|
@@ -4973,7 +4973,7 @@ const Js = (e) => Ho(e), ep = "_spUploadFiles_11994_43", tp = "_spUploadFiles_er
|
|
|
4973
4973
|
return /* @__PURE__ */ c(
|
|
4974
4974
|
Ka,
|
|
4975
4975
|
{
|
|
4976
|
-
getRootProps:
|
|
4976
|
+
getRootProps: j,
|
|
4977
4977
|
getInputProps: z,
|
|
4978
4978
|
disabled: r,
|
|
4979
4979
|
name: n,
|
|
@@ -5002,9 +5002,9 @@ const Js = (e) => Ho(e), ep = "_spUploadFiles_11994_43", tp = "_spUploadFiles_er
|
|
|
5002
5002
|
] })
|
|
5003
5003
|
}
|
|
5004
5004
|
);
|
|
5005
|
-
},
|
|
5006
|
-
viewImageModal:
|
|
5007
|
-
viewImageModal__img:
|
|
5005
|
+
}, Fp = "_viewImageModal_1xwys_43", Ap = "_viewImageModal__img_1xwys_66", Bp = "_viewImageModal__img_loading_1xwys_79", Dp = "_viewImageModal__img_error_1xwys_82", Mp = "_viewImageModal__spinner_1xwys_85", Pp = "_viewImageModal__layer_1xwys_112", Op = "_viewImageModal__closeButton_1xwys_117", Ee = {
|
|
5006
|
+
viewImageModal: Fp,
|
|
5007
|
+
viewImageModal__img: Ap,
|
|
5008
5008
|
viewImageModal__img_loading: Bp,
|
|
5009
5009
|
viewImageModal__img_error: Dp,
|
|
5010
5010
|
viewImageModal__spinner: Mp,
|
|
@@ -5025,11 +5025,11 @@ const Js = (e) => Ho(e), ep = "_spUploadFiles_11994_43", tp = "_spUploadFiles_er
|
|
|
5025
5025
|
...t && { [t]: !0 }
|
|
5026
5026
|
}), L = u({
|
|
5027
5027
|
[Ee.viewImageModal__layer]: !0
|
|
5028
|
-
}),
|
|
5028
|
+
}), j = u({
|
|
5029
5029
|
[Ee.viewImageModal__closeButton]: !0
|
|
5030
5030
|
}), z = u({
|
|
5031
5031
|
[Ee.viewImageModal__spinner]: !0
|
|
5032
|
-
}),
|
|
5032
|
+
}), R = u(Ee.viewImageModal__img, {
|
|
5033
5033
|
[Ee.viewImageModal__img_loading]: l,
|
|
5034
5034
|
[Ee.viewImageModal__img_error]: _,
|
|
5035
5035
|
...o && { [o]: !0 }
|
|
@@ -5040,7 +5040,7 @@ const Js = (e) => Ho(e), ep = "_spUploadFiles_11994_43", tp = "_spUploadFiles_er
|
|
|
5040
5040
|
/* @__PURE__ */ c(
|
|
5041
5041
|
"img",
|
|
5042
5042
|
{
|
|
5043
|
-
className:
|
|
5043
|
+
className: R,
|
|
5044
5044
|
src: h,
|
|
5045
5045
|
alt: "someImage",
|
|
5046
5046
|
onLoad: (N) => {
|
|
@@ -5059,7 +5059,7 @@ const Js = (e) => Ho(e), ep = "_spUploadFiles_11994_43", tp = "_spUploadFiles_er
|
|
|
5059
5059
|
/* @__PURE__ */ c(
|
|
5060
5060
|
tt,
|
|
5061
5061
|
{
|
|
5062
|
-
classNameRoot:
|
|
5062
|
+
classNameRoot: j,
|
|
5063
5063
|
onClick: p,
|
|
5064
5064
|
variant: "link",
|
|
5065
5065
|
isOnlyIcon: !0,
|