test-stpr-ui-kit 0.4.21 → 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,6 +1,6 @@
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
- import We, { useState as ce, useEffect as ae, useRef as Te, useCallback as le, forwardRef as zn, useImperativeHandle as Mn, Fragment as Bn, useMemo as Oe, useReducer as Wn, createContext as ln, useContext as dn } from "react";
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";
5
5
  import './test-stpr-ui-kit.css';function un(e) {
6
6
  var t, n, o = "";
@@ -73,41 +73,41 @@ const ao = "_spAccordion_ui7ma_43", io = "_spAccordion_noBorder_ui7ma_57", ro =
73
73
  classNameTitle: u,
74
74
  classNameIcon: d,
75
75
  classNameChildrenWrapper: g
76
- } = e, [h, E] = ce(o), w = () => {
77
- a || (E(!h), i == null || i(!h));
76
+ } = e, [b, E] = ce(o), h = () => {
77
+ a || (E(!b), i == null || i(!b));
78
78
  }, A = _({
79
79
  [se.spAccordion]: !0,
80
- [se.spAccordion_open]: h,
81
- [se.spAccordion_noOpen]: !h,
80
+ [se.spAccordion_open]: b,
81
+ [se.spAccordion_noOpen]: !b,
82
82
  [se.spAccordion_noBorder]: r,
83
83
  [se.spAccordion_noPadding]: s,
84
84
  ...m && { [m]: !0 }
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
- }), R = _({
92
+ }), D = _({
93
93
  [se.spAccordion__icon]: !0,
94
- [se.spAccordion__icon_open]: h,
94
+ [se.spAccordion__icon_open]: b,
95
95
  [se.spAccordion__icon_hidden]: a,
96
96
  ...d && { [d]: !0 }
97
- }), y = _({
97
+ }), w = _({
98
98
  [se.spAccordion__childrenWrapper]: !0,
99
- [se.spAccordion__childrenWrapper_open]: h,
99
+ [se.spAccordion__childrenWrapper_open]: b,
100
100
  ...g && { [g]: !0 }
101
101
  }), p = _({
102
102
  [se.spAccordion__content]: !0,
103
- [se.spAccordion__content_open]: h
103
+ [se.spAccordion__content_open]: b
104
104
  });
105
- return /* @__PURE__ */ H("div", { className: A, children: [
106
- /* @__PURE__ */ H("div", { className: L, children: [
107
- /* @__PURE__ */ l("div", { className: Y, children: /* @__PURE__ */ l("span", { onClick: w, children: t }) }),
108
- /* @__PURE__ */ l(ge, { onClick: w, className: R, 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
- /* @__PURE__ */ l("div", { className: y, children: /* @__PURE__ */ l("div", { className: p, children: n }) })
110
+ /* @__PURE__ */ l("div", { className: w, children: /* @__PURE__ */ l("div", { className: p, children: n }) })
111
111
  ] });
112
112
  }, bo = "_spinner_f5rd2_43", yo = "_spinner__inner_f5rd2_53", pt = {
113
113
  spinner: bo,
@@ -129,7 +129,7 @@ const ao = "_spAccordion_ui7ma_43", io = "_spAccordion_noBorder_ui7ma_57", ro =
129
129
  children: /* @__PURE__ */ l("div", { className: pt.spinner__inner })
130
130
  }
131
131
  );
132
- }, ko = "_spButton_zixup_43", Co = "_spButton_noPadding_zixup_59", To = "_spButton_onlyIcon_zixup_62", Eo = "_spButton__iconContainer_zixup_70", So = "_spButton_link_zixup_73", Io = "_spButton__text_zixup_77", No = "_spButton_primary_zixup_89", jo = "_spButton_blue_zixup_89", Ao = "_spButton_white_zixup_99", Ro = "_spButton_secondary_zixup_109", Do = "_spButton_fullWidth_zixup_129", Oo = "_spButton_disabled_zixup_132", Lo = "_spButton__spinner_zixup_141", be = {
132
+ }, ko = "_spButton_zixup_43", Co = "_spButton_noPadding_zixup_59", To = "_spButton_onlyIcon_zixup_62", Eo = "_spButton__iconContainer_zixup_70", So = "_spButton_link_zixup_73", Io = "_spButton__text_zixup_77", No = "_spButton_primary_zixup_89", jo = "_spButton_blue_zixup_89", Ro = "_spButton_white_zixup_99", Ao = "_spButton_secondary_zixup_109", Do = "_spButton_fullWidth_zixup_129", Oo = "_spButton_disabled_zixup_132", Lo = "_spButton__spinner_zixup_141", be = {
133
133
  spButton: ko,
134
134
  spButton_noPadding: Co,
135
135
  spButton_onlyIcon: To,
@@ -138,8 +138,8 @@ const ao = "_spAccordion_ui7ma_43", io = "_spAccordion_noBorder_ui7ma_57", ro =
138
138
  spButton__text: Io,
139
139
  spButton_primary: No,
140
140
  spButton_blue: jo,
141
- spButton_white: Ao,
142
- spButton_secondary: Ro,
141
+ spButton_white: Ro,
142
+ spButton_secondary: Ao,
143
143
  spButton_fullWidth: Do,
144
144
  spButton_disabled: Oo,
145
145
  spButton__spinner: Lo
@@ -157,44 +157,44 @@ const ao = "_spAccordion_ui7ma_43", io = "_spAccordion_noBorder_ui7ma_57", ro =
157
157
  children: u,
158
158
  loading: d = !1,
159
159
  isFullWidth: g = !1,
160
- isOnlyIcon: h = !1,
160
+ isOnlyIcon: b = !1,
161
161
  noPadding: E = !1,
162
- classNameRoot: w,
162
+ classNameRoot: h,
163
163
  classNameIconContainerRoot: A
164
- } = e, L = (y) => {
165
- s || a == null || a(y);
166
- }, Y = () => {
167
- const y = _({
164
+ } = e, L = (w) => {
165
+ s || a == null || a(w);
166
+ }, V = () => {
167
+ const w = _({
168
168
  [be.spButton__text]: !0
169
169
  }), p = _({
170
170
  [be.spButton__iconContainer]: !0,
171
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
- !h && u && /* @__PURE__ */ l("div", { className: y, children: u })
175
+ !b && u && /* @__PURE__ */ l("div", { className: w, children: u })
176
176
  ] });
177
- }, R = _({
177
+ }, D = _({
178
178
  [be.spButton]: !0,
179
179
  [be.spButton_noPadding]: E,
180
- [be.spButton_onlyIcon]: h,
180
+ [be.spButton_onlyIcon]: b,
181
181
  [be[`spButton_${n}`]]: n,
182
182
  [be[`spButton_${t}`]]: t,
183
183
  [be.spButton_fullWidth]: g,
184
184
  [be.spButton_disabled]: s,
185
185
  [be.spButton_loading]: d,
186
- ...w && { [w]: !0 }
186
+ ...h && { [h]: !0 }
187
187
  });
188
188
  return /* @__PURE__ */ l(
189
189
  "button",
190
190
  {
191
191
  style: o,
192
- className: R,
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 = {
@@ -205,7 +205,7 @@ const ao = "_spAccordion_ui7ma_43", io = "_spAccordion_noBorder_ui7ma_57", ro =
205
205
  "spApplyButtons_mobile-column": "_spApplyButtons_mobile-column_e8c1h_57",
206
206
  spApplyButtons__cancel: Fo,
207
207
  spApplyButtons__submit: zo
208
- }, Mo = (e) => {
208
+ }, Bo = (e) => {
209
209
  const {
210
210
  mobile: t = "column",
211
211
  align: n = "center",
@@ -222,12 +222,12 @@ const ao = "_spAccordion_ui7ma_43", io = "_spAccordion_noBorder_ui7ma_57", ro =
222
222
  [ze.spApplyButtons]: !0,
223
223
  [ze[`spApplyButtons_mobile-${t}`]]: t,
224
224
  [ze[`spApplyButtons_align-${n}`]]: n
225
- }), h = _({
225
+ }), b = _({
226
226
  [ze.spApplyButtons__submit]: !0
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
  {
@@ -245,7 +245,7 @@ const ao = "_spAccordion_ui7ma_43", io = "_spAccordion_noBorder_ui7ma_57", ro =
245
245
  {
246
246
  type: "submit",
247
247
  variant: "primary",
248
- classNameRoot: h,
248
+ classNameRoot: b,
249
249
  form: s || void 0,
250
250
  disabled: m,
251
251
  onClick: u,
@@ -254,8 +254,8 @@ const ao = "_spAccordion_ui7ma_43", io = "_spAccordion_noBorder_ui7ma_57", ro =
254
254
  }
255
255
  )
256
256
  ] });
257
- }, Bo = "_spBaseTooltip_1ihh1_43", Wo = "_spBaseTooltip_noPadding_1ihh1_57", qo = "_spBaseTooltip__content_1ihh1_60", ct = {
258
- spBaseTooltip: Bo,
257
+ }, Mo = "_spBaseTooltip_1ihh1_43", Wo = "_spBaseTooltip_noPadding_1ihh1_57", qo = "_spBaseTooltip__content_1ihh1_60", ct = {
258
+ spBaseTooltip: Mo,
259
259
  spBaseTooltip_noPadding: Wo,
260
260
  spBaseTooltip__content: qo
261
261
  }, mn = We.forwardRef((e, t) => {
@@ -318,95 +318,95 @@ const It = (e) => {
318
318
  text: u,
319
319
  noPadding: d,
320
320
  classNameTooltip: g,
321
- classNameBaseTooltipRoot: h,
321
+ classNameBaseTooltipRoot: b,
322
322
  classNameBaseTooltipContentRoot: E
323
- } = e, [w, A] = ce(!1), L = Te(null), Y = Te(null), [R, y] = 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
327
  s && s(), A(!1);
328
328
  },
329
- w
329
+ h
330
330
  );
331
- const p = (T) => {
332
- o && T.stopPropagation(), !t && (w ? s && s() : r && r(), A((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`,
385
- visibility: w || U ? "visible" : "hidden",
386
- opacity: w || U ? 1 : 0
384
+ left: `${j}px`,
385
+ visibility: h || U ? "visible" : "hidden",
386
+ opacity: h || U ? 1 : 0
387
387
  }));
388
- }, [c, w, U]);
389
- ae(() => (y(!0), () => y(!1)), []), ae(() => {
390
- R && ne();
391
- }, [R, ne]), ae(() => {
392
- if (!R) 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);
388
+ }, [c, h, U]);
389
+ ae(() => (w(!0), () => w(!1)), []), ae(() => {
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
- }, [R, ne]);
397
+ }, [D, ne]);
398
398
  const de = _({
399
399
  [Dt.spTooltip]: !0,
400
400
  ...g && { [g]: !0 }
401
401
  }), ue = _({
402
- ...h && { [h]: !0 }
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,
@@ -456,11 +456,11 @@ const It = (e) => {
456
456
  tooltipPosition: u,
457
457
  infoTooltipText: d,
458
458
  onMouseEnter: g,
459
- classNameRoot: h,
459
+ classNameRoot: b,
460
460
  classNameError: E
461
- } = e, w = _({
461
+ } = e, h = _({
462
462
  [ye.spCheckbox]: !0,
463
- ...h && { [h]: !0 }
463
+ ...b && { [b]: !0 }
464
464
  }), A = _({
465
465
  [ye.spCheckbox__box]: !0,
466
466
  [ye.spCheckbox__box_checked]: n,
@@ -469,18 +469,18 @@ 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
- }), R = _({
474
+ }), D = _({
475
475
  [ye.spCheckbox__required]: !0
476
- }), y = _({
476
+ }), w = _({
477
477
  [ye.spCheckbox__error]: !0,
478
478
  ...E && { [E]: !0 }
479
479
  }), p = _({
480
480
  [ye.spCheckbox__tooltip]: !0
481
481
  });
482
- return /* @__PURE__ */ H("div", { className: w, onMouseEnter: g, children: [
483
- /* @__PURE__ */ H("label", { className: A, 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,11 +492,11 @@ const It = (e) => {
492
492
  }
493
493
  }
494
494
  ),
495
- r && /* @__PURE__ */ l("span", { className: Y, children: r }),
496
- c && /* @__PURE__ */ l("div", { className: R, 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
- s && /* @__PURE__ */ l("div", { className: y, children: s })
499
+ s && /* @__PURE__ */ l("div", { className: w, children: s })
500
500
  ] });
501
501
  }, Ns = (e = {}) => {
502
502
  const { initialValue: t = null } = e, [n, o] = ce(t);
@@ -547,7 +547,7 @@ const It = (e) => {
547
547
  isCursorPointer: c = !1,
548
548
  isCursorPointerByOnClick: u = !0,
549
549
  classNameRoot: d
550
- } = e, g = () => s && u ? !0 : c, h = _({
550
+ } = e, g = () => s && u ? !0 : c, b = _({
551
551
  [Ye.spText]: !0,
552
552
  [Ye.spText_ellipsis]: m,
553
553
  [Ye.spText_cursorPointer]: g(),
@@ -560,7 +560,7 @@ const It = (e) => {
560
560
  style: { ...r, color: a },
561
561
  title: i,
562
562
  onClick: s,
563
- className: h,
563
+ className: b,
564
564
  ref: t,
565
565
  children: o
566
566
  }
@@ -592,41 +592,41 @@ const sa = "_modalWrapper_ah6vq_43", pa = "_modalWrapper__modal_ah6vq_54", ca =
592
592
  header: u,
593
593
  subHeader: d,
594
594
  footer: g
595
- } = e, h = _({
595
+ } = e, b = _({
596
596
  [ke.modalWrapper]: !0,
597
597
  [ke[`modalWrapper_align-${m}`]]: m
598
598
  }), E = _({
599
599
  [ke.modalWrapper__modal]: !0,
600
600
  ...r && { [r]: !0 }
601
- }), w = _({
601
+ }), h = _({
602
602
  [ke.modalWrapper__closeButton]: !0
603
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
- }), R = _({
609
+ }), D = _({
610
610
  [ke.modalWrapper__subHeader]: !0
611
- }), y = _({
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: h, 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: R, 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
- g && /* @__PURE__ */ l("div", { className: y, children: g }),
625
+ g && /* @__PURE__ */ l("div", { className: w, children: g }),
626
626
  o && /* @__PURE__ */ l(
627
627
  yt,
628
628
  {
629
- classNameRoot: w,
629
+ classNameRoot: h,
630
630
  classNameIconContainerRoot: A,
631
631
  onClick: c,
632
632
  iconName: re.Close,
@@ -650,9 +650,9 @@ const sa = "_modalWrapper_ah6vq_43", pa = "_modalWrapper__modal_ah6vq_54", ca =
650
650
  formId: u,
651
651
  onClose: d,
652
652
  mobile: g = "column",
653
- align: h = "right",
653
+ align: b = "right",
654
654
  modalAlign: E = "top",
655
- loading: w
655
+ loading: h
656
656
  } = e;
657
657
  return /* @__PURE__ */ l(
658
658
  _a,
@@ -663,10 +663,10 @@ const sa = "_modalWrapper_ah6vq_43", pa = "_modalWrapper__modal_ah6vq_54", ca =
663
663
  align: E,
664
664
  subHeader: o,
665
665
  footer: a || s ? /* @__PURE__ */ l(
666
- Mo,
666
+ Bo,
667
667
  {
668
668
  mobile: g,
669
- align: h,
669
+ align: b,
670
670
  cancelBtnContent: a,
671
671
  cancelBtnIconName: r,
672
672
  cancelBtnDisabled: i,
@@ -675,7 +675,7 @@ const sa = "_modalWrapper_ah6vq_43", pa = "_modalWrapper__modal_ah6vq_54", ca =
675
675
  disabled: c,
676
676
  onClose: d,
677
677
  submit: m,
678
- loading: w
678
+ loading: h
679
679
  }
680
680
  ) : null
681
681
  }
@@ -684,14 +684,14 @@ const sa = "_modalWrapper_ah6vq_43", pa = "_modalWrapper__modal_ah6vq_54", ca =
684
684
  spContextMenu: va,
685
685
  spContextMenu__item: xa,
686
686
  spContextMenu__item_deleteItem: ga
687
- }, As = (e) => {
687
+ }, Rs = (e) => {
688
688
  const { onClickItem: t, options: n, classNameRoot: o } = e, a = _({
689
689
  [lt.spContextMenu]: !0,
690
690
  ...o && { [o]: !0 }
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, h = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, w = e ? Symbol.for("react.block") : 60121, A = e ? Symbol.for("react.fundamental") : 60117, L = e ? Symbol.for("react.responder") : 60118, Y = e ? Symbol.for("react.scope") : 60119;
730
- function R(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:
@@ -745,48 +745,48 @@ function ha() {
745
745
  case s:
746
746
  case u:
747
747
  case E:
748
- case h:
748
+ case b:
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
- function y(p) {
761
- return R(p) === c;
760
+ function w(p) {
761
+ return D(p) === c;
762
762
  }
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 = h, G.Portal = n, G.Profiler = i, G.StrictMode = a, G.Suspense = d, G.isAsyncMode = function(p) {
764
- return y(p) || R(p) === m;
765
- }, G.isConcurrentMode = y, G.isContextConsumer = function(p) {
766
- return R(p) === s;
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) || D(p) === m;
765
+ }, G.isConcurrentMode = w, G.isContextConsumer = function(p) {
766
+ return D(p) === s;
767
767
  }, G.isContextProvider = function(p) {
768
- return R(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 R(p) === u;
772
+ return D(p) === u;
773
773
  }, G.isFragment = function(p) {
774
- return R(p) === o;
774
+ return D(p) === o;
775
775
  }, G.isLazy = function(p) {
776
- return R(p) === E;
776
+ return D(p) === E;
777
777
  }, G.isMemo = function(p) {
778
- return R(p) === h;
778
+ return D(p) === b;
779
779
  }, G.isPortal = function(p) {
780
- return R(p) === n;
780
+ return D(p) === n;
781
781
  }, G.isProfiler = function(p) {
782
- return R(p) === i;
782
+ return D(p) === i;
783
783
  }, G.isStrictMode = function(p) {
784
- return R(p) === a;
784
+ return D(p) === a;
785
785
  }, G.isSuspense = function(p) {
786
- return R(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 === h || p.$$typeof === r || p.$$typeof === s || p.$$typeof === u || p.$$typeof === A || p.$$typeof === L || p.$$typeof === Y || p.$$typeof === w);
789
- }, G.typeOf = R, 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,12 +800,12 @@ 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, h = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, w = e ? Symbol.for("react.block") : 60121, A = e ? Symbol.for("react.fundamental") : 60117, L = e ? Symbol.for("react.responder") : 60118, Y = e ? Symbol.for("react.scope") : 60119;
804
- function R(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 === h || v.$$typeof === r || v.$$typeof === s || v.$$typeof === u || v.$$typeof === A || v.$$typeof === L || v.$$typeof === Y || v.$$typeof === w);
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
- function y(v) {
808
+ function w(v) {
809
809
  if (typeof v == "object" && v !== null) {
810
810
  var fe = v.$$typeof;
811
811
  switch (fe) {
@@ -825,7 +825,7 @@ function ba() {
825
825
  case s:
826
826
  case u:
827
827
  case E:
828
- case h:
828
+ case b:
829
829
  case r:
830
830
  return Pe;
831
831
  default:
@@ -837,47 +837,47 @@ 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 = h, q = n, Z = i, T = a, V = d, X = !1;
841
- function D(v) {
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) || y(v) === m;
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
+ 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) {
845
- return y(v) === c;
845
+ return w(v) === c;
846
846
  }
847
- function b(v) {
848
- return y(v) === s;
847
+ function y(v) {
848
+ return w(v) === s;
849
849
  }
850
850
  function O(v) {
851
- return y(v) === r;
851
+ return w(v) === r;
852
852
  }
853
853
  function F(v) {
854
854
  return typeof v == "object" && v !== null && v.$$typeof === t;
855
855
  }
856
856
  function I(v) {
857
- return y(v) === u;
857
+ return w(v) === u;
858
858
  }
859
- function B(v) {
860
- return y(v) === o;
859
+ function M(v) {
860
+ return w(v) === o;
861
861
  }
862
- function j(v) {
863
- return y(v) === E;
862
+ function R(v) {
863
+ return w(v) === E;
864
864
  }
865
865
  function z(v) {
866
- return y(v) === h;
866
+ return w(v) === b;
867
867
  }
868
868
  function W(v) {
869
- return y(v) === n;
869
+ return w(v) === n;
870
870
  }
871
- function $(v) {
872
- return y(v) === i;
871
+ function H(v) {
872
+ return w(v) === i;
873
873
  }
874
- function M(v) {
875
- return y(v) === a;
874
+ function B(v) {
875
+ return w(v) === a;
876
876
  }
877
877
  function te(v) {
878
- return y(v) === d;
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 = b, K.isContextProvider = O, K.isElement = F, K.isForwardRef = I, K.isFragment = B, K.isLazy = j, K.isMemo = z, K.isPortal = W, K.isProfiler = $, K.isStrictMode = M, K.isSuspense = te, K.isValidElementType = R, K.typeOf = y;
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;
@@ -935,16 +935,16 @@ function ya() {
935
935
  return m;
936
936
  }, dt;
937
937
  }
938
- var ut, Mt;
938
+ var ut, Bt;
939
939
  function Nt() {
940
- if (Mt) return ut;
941
- Mt = 1;
940
+ if (Bt) return ut;
941
+ Bt = 1;
942
942
  var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
943
943
  return ut = e, ut;
944
944
  }
945
- var mt, Bt;
945
+ var mt, Mt;
946
946
  function gn() {
947
- return Bt || (Bt = 1, mt = Function.call.bind(Object.prototype.hasOwnProperty)), mt;
947
+ return Mt || (Mt = 1, mt = Function.call.bind(Object.prototype.hasOwnProperty)), mt;
948
948
  }
949
949
  var ft, Wt;
950
950
  function wa() {
@@ -983,9 +983,9 @@ function wa() {
983
983
  (m || "React class") + ": type specification of " + s + " `" + u + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof d + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
984
984
  ), d instanceof Error && !(d.message in n)) {
985
985
  n[d.message] = !0;
986
- var h = c ? c() : "";
986
+ var b = c ? c() : "";
987
987
  e(
988
- "Failed " + s + " type: " + d.message + (h ?? "")
988
+ "Failed " + s + " type: " + d.message + (b ?? "")
989
989
  );
990
990
  }
991
991
  }
@@ -1015,11 +1015,11 @@ function ka() {
1015
1015
  return _t = function(s, m) {
1016
1016
  var c = typeof Symbol == "function" && Symbol.iterator, u = "@@iterator";
1017
1017
  function d(f) {
1018
- var b = f && (c && f[c] || f[u]);
1019
- if (typeof b == "function")
1020
- return b;
1018
+ var y = f && (c && f[c] || f[u]);
1019
+ if (typeof y == "function")
1020
+ return y;
1021
1021
  }
1022
- var g = "<<anonymous>>", h = {
1022
+ var g = "<<anonymous>>", b = {
1023
1023
  array: L("array"),
1024
1024
  bigint: L("bigint"),
1025
1025
  bool: L("boolean"),
@@ -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: R,
1033
- element: y(),
1031
+ any: V(),
1032
+ arrayOf: D,
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,
@@ -1040,18 +1040,18 @@ function ka() {
1040
1040
  shape: ue,
1041
1041
  exact: me
1042
1042
  };
1043
- function E(f, b) {
1044
- return f === b ? f !== 0 || 1 / f === 1 / b : f !== f && b !== b;
1043
+ function E(f, y) {
1044
+ return f === y ? f !== 0 || 1 / f === 1 / y : f !== f && y !== y;
1045
1045
  }
1046
- function w(f, b) {
1047
- this.message = f, this.data = b && typeof b == "object" ? b : {}, this.stack = "";
1046
+ function h(f, y) {
1047
+ this.message = f, this.data = y && typeof y == "object" ? y : {}, this.stack = "";
1048
1048
  }
1049
- w.prototype = Error.prototype;
1049
+ h.prototype = Error.prototype;
1050
1050
  function A(f) {
1051
1051
  if (process.env.NODE_ENV !== "production")
1052
- var b = {}, O = 0;
1053
- function F(B, j, z, W, $, M, te) {
1054
- if (W = W || g, M = M || z, te !== n) {
1052
+ var y = {}, O = 0;
1053
+ function F(M, R, z, W, H, B, te) {
1054
+ if (W = W || g, B = B || z, te !== n) {
1055
1055
  if (m) {
1056
1056
  var v = new Error(
1057
1057
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
@@ -1059,192 +1059,192 @@ function ka() {
1059
1059
  throw v.name = "Invariant Violation", v;
1060
1060
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
1061
1061
  var fe = W + ":" + z;
1062
- !b[fe] && // Avoid spamming the console because they are often not actionable except for lib authors
1062
+ !y[fe] && // Avoid spamming the console because they are often not actionable except for lib authors
1063
1063
  O < 3 && (i(
1064
- "You are manually calling a React.PropTypes validation function for the `" + M + "` prop on `" + W + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
1065
- ), b[fe] = !0, O++);
1064
+ "You are manually calling a React.PropTypes validation function for the `" + B + "` prop on `" + W + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
1065
+ ), y[fe] = !0, O++);
1066
1066
  }
1067
1067
  }
1068
- return j[z] == null ? B ? j[z] === null ? new w("The " + $ + " `" + M + "` is marked as required " + ("in `" + W + "`, but its value is `null`.")) : new w("The " + $ + " `" + M + "` is marked as required in " + ("`" + W + "`, but its value is `undefined`.")) : null : f(j, z, W, $, M);
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 b(O, F, I, B, j, z) {
1075
- var W = O[F], $ = T(W);
1076
- if ($ !== f) {
1077
- var M = V(W);
1078
- return new w(
1079
- "Invalid " + B + " `" + j + "` of type " + ("`" + M + "` supplied to `" + I + "`, expected ") + ("`" + f + "`."),
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
+ return new h(
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 A(b);
1085
+ return A(y);
1086
1086
  }
1087
- function Y() {
1087
+ function V() {
1088
1088
  return A(r);
1089
1089
  }
1090
- function R(f) {
1091
- function b(O, F, I, B, j) {
1090
+ function D(f) {
1091
+ function y(O, F, I, M, R) {
1092
1092
  if (typeof f != "function")
1093
- return new w("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 w("Invalid " + B + " `" + 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 M = f(z, $, I, B, j + "[" + $ + "]", n);
1101
- if (M instanceof Error)
1102
- return M;
1099
+ for (var H = 0; H < z.length; H++) {
1100
+ var B = f(z, H, I, M, R + "[" + H + "]", n);
1101
+ if (B instanceof Error)
1102
+ return B;
1103
1103
  }
1104
1104
  return null;
1105
1105
  }
1106
- return A(b);
1106
+ return A(y);
1107
1107
  }
1108
- function y() {
1109
- function f(b, O, F, I, B) {
1110
- var j = b[O];
1111
- if (!s(j)) {
1112
- var z = T(j);
1113
- return new w("Invalid " + I + " `" + B + "` of type " + ("`" + z + "` supplied to `" + F + "`, expected a single ReactElement."));
1108
+ function w() {
1109
+ function f(y, O, F, I, M) {
1110
+ var R = y[O];
1111
+ if (!s(R)) {
1112
+ var z = k(R);
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
1117
  return A(f);
1118
1118
  }
1119
1119
  function p() {
1120
- function f(b, O, F, I, B) {
1121
- var j = b[O];
1122
- if (!e.isValidElementType(j)) {
1123
- var z = T(j);
1124
- return new w("Invalid " + I + " `" + B + "` of type " + ("`" + z + "` supplied to `" + F + "`, expected a single ReactElement type."));
1120
+ function f(y, O, F, I, M) {
1121
+ var R = y[O];
1122
+ if (!e.isValidElementType(R)) {
1123
+ var z = k(R);
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
1128
  return A(f);
1129
1129
  }
1130
- function C(f) {
1131
- function b(O, F, I, B, 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 w("Invalid " + B + " `" + 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 A(b);
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 b(O, F, I, B, 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 w("Invalid " + B + " `" + 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 A(b);
1155
+ return A(y);
1156
1156
  }
1157
1157
  function U(f) {
1158
- function b(O, F, I, B, j) {
1158
+ function y(O, F, I, M, R) {
1159
1159
  if (typeof f != "function")
1160
- return new w("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 w("Invalid " + B + " `" + j + "` of type " + ("`" + W + "` supplied to `" + I + "`, expected an object."));
1164
- for (var $ in z)
1165
- if (o(z, $)) {
1166
- var M = f(z, $, I, B, j + "." + $, n);
1167
- if (M instanceof Error)
1168
- return M;
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
+ if (B instanceof Error)
1168
+ return B;
1169
1169
  }
1170
1170
  return null;
1171
1171
  }
1172
- return A(b);
1172
+ return A(y);
1173
1173
  }
1174
1174
  function J(f) {
1175
1175
  if (!Array.isArray(f))
1176
1176
  return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), r;
1177
- for (var b = 0; b < f.length; b++) {
1178
- var O = f[b];
1177
+ for (var y = 0; y < f.length; y++) {
1178
+ var O = f[y];
1179
1179
  if (typeof O != "function")
1180
1180
  return i(
1181
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + X(O) + " at index " + b + "."
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, B, j, z, W) {
1185
- for (var $ = [], M = 0; M < f.length; M++) {
1186
- var te = f[M], v = te(I, B, 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 w("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
1194
  return A(F);
1195
1195
  }
1196
1196
  function ne() {
1197
- function f(b, O, F, I, B) {
1198
- return q(b[O]) ? null : new w("Invalid " + I + " `" + B + "` supplied to " + ("`" + F + "`, expected a ReactNode."));
1197
+ function f(y, O, F, I, M) {
1198
+ return $(y[O]) ? null : new h("Invalid " + I + " `" + M + "` supplied to " + ("`" + F + "`, expected a ReactNode."));
1199
1199
  }
1200
1200
  return A(f);
1201
1201
  }
1202
- function de(f, b, O, F, I) {
1203
- return new w(
1204
- (f || "React class") + ": " + b + " type `" + O + "." + F + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + I + "`."
1202
+ function de(f, y, O, F, I) {
1203
+ return new h(
1204
+ (f || "React class") + ": " + y + " type `" + O + "." + F + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + I + "`."
1205
1205
  );
1206
1206
  }
1207
1207
  function ue(f) {
1208
- function b(O, F, I, B, 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 w("Invalid " + B + " `" + j + "` of type `" + W + "` " + ("supplied to `" + I + "`, expected `object`."));
1212
- for (var $ in f) {
1213
- var M = f[$];
1214
- if (typeof M != "function")
1215
- return de(I, B, j, $, V(M));
1216
- var te = M(z, $, I, B, j + "." + $, n);
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
+ if (typeof B != "function")
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 A(b);
1222
+ return A(y);
1223
1223
  }
1224
1224
  function me(f) {
1225
- function b(O, F, I, B, 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 w("Invalid " + B + " `" + j + "` of type `" + W + "` " + ("supplied to `" + I + "`, expected `object`."));
1229
- var $ = t({}, O[F], f);
1230
- for (var M in $) {
1231
- var te = f[M];
1232
- if (o(f, M) && typeof te != "function")
1233
- return de(I, B, j, M, V(te));
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
+ var te = f[B];
1232
+ if (o(f, B) && typeof te != "function")
1233
+ return de(I, M, R, B, q(te));
1234
1234
  if (!te)
1235
- return new w(
1236
- "Invalid " + B + " `" + j + "` key `" + M + "` supplied to `" + I + "`.\nBad object: " + JSON.stringify(O[F], null, " ") + `
1235
+ return new h(
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, M, I, B, j + "." + M, 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 A(b);
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,20 +1254,20 @@ 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
- var b = d(f);
1261
- if (b) {
1262
- var O = b.call(f), F;
1263
- if (b !== f.entries) {
1260
+ var y = d(f);
1261
+ if (y) {
1262
+ var O = y.call(f), F;
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
@@ -1277,43 +1277,43 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
1277
1277
  return !1;
1278
1278
  }
1279
1279
  }
1280
- function Z(f, b) {
1281
- return f === "symbol" ? !0 : b ? b["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && b instanceof Symbol : !1;
1280
+ function Z(f, y) {
1281
+ return f === "symbol" ? !0 : y ? y["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && y instanceof Symbol : !1;
1282
1282
  }
1283
- function T(f) {
1284
- var b = typeof f;
1285
- return Array.isArray(f) ? "array" : f instanceof RegExp ? "object" : Z(b, f) ? "symbol" : b;
1283
+ function k(f) {
1284
+ var y = typeof f;
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 b = T(f);
1291
- if (b === "object") {
1290
+ var y = k(f);
1291
+ if (y === "object") {
1292
1292
  if (f instanceof Date)
1293
1293
  return "date";
1294
1294
  if (f instanceof RegExp)
1295
1295
  return "regexp";
1296
1296
  }
1297
- return b;
1297
+ return y;
1298
1298
  }
1299
1299
  function X(f) {
1300
- var b = V(f);
1301
- switch (b) {
1300
+ var y = q(f);
1301
+ switch (y) {
1302
1302
  case "array":
1303
1303
  case "object":
1304
- return "an " + b;
1304
+ return "an " + y;
1305
1305
  case "boolean":
1306
1306
  case "date":
1307
1307
  case "regexp":
1308
- return "a " + b;
1308
+ return "a " + y;
1309
1309
  default:
1310
- return b;
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
- return h.checkPropTypes = a, h.resetWarningCache = a.resetWarningCache, h.PropTypes = h, h;
1316
+ return b.checkPropTypes = a, b.resetWarningCache = a.resetWarningCache, b.PropTypes = b, b;
1317
1317
  }, _t;
1318
1318
  }
1319
1319
  var vt, $t;
@@ -1370,8 +1370,8 @@ 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);
1374
- function Ae(e, t, n, o) {
1373
+ const C = /* @__PURE__ */ vn(Sa);
1374
+ function Re(e, t, n, o) {
1375
1375
  function a(i) {
1376
1376
  return i instanceof n ? i : new n(function(r) {
1377
1377
  r(i);
@@ -2633,12 +2633,12 @@ const ja = [
2633
2633
  "Thumbs.db"
2634
2634
  // Windows
2635
2635
  ];
2636
- function Aa(e) {
2637
- return Ae(this, void 0, void 0, function* () {
2638
- return Ke(e) && Ra(e.dataTransfer) ? Pa(e.dataTransfer, e.type) : Da(e) ? Oa(e) : Array.isArray(e) && e.every((t) => "getFile" in t && typeof t.getFile == "function") ? La(e) : [];
2636
+ function Ra(e) {
2637
+ return Re(this, void 0, void 0, function* () {
2638
+ return Ke(e) && Aa(e.dataTransfer) ? Pa(e.dataTransfer, e.type) : Da(e) ? Oa(e) : Array.isArray(e) && e.every((t) => "getFile" in t && typeof t.getFile == "function") ? La(e) : [];
2639
2639
  });
2640
2640
  }
2641
- function Ra(e) {
2641
+ function Aa(e) {
2642
2642
  return Ke(e);
2643
2643
  }
2644
2644
  function Da(e) {
@@ -2651,12 +2651,12 @@ function Oa(e) {
2651
2651
  return kt(e.target.files).map((t) => Le(t));
2652
2652
  }
2653
2653
  function La(e) {
2654
- return Ae(this, void 0, void 0, function* () {
2654
+ return Re(this, void 0, void 0, function* () {
2655
2655
  return (yield Promise.all(e.map((n) => n.getFile()))).map((n) => Le(n));
2656
2656
  });
2657
2657
  }
2658
2658
  function Pa(e, t) {
2659
- return Ae(this, void 0, void 0, function* () {
2659
+ return Re(this, void 0, void 0, function* () {
2660
2660
  if (e.items) {
2661
2661
  const n = kt(e.items).filter((a) => a.kind === "file");
2662
2662
  if (t !== "drop")
@@ -2693,7 +2693,7 @@ function hn(e) {
2693
2693
  ], []);
2694
2694
  }
2695
2695
  function Vt(e, t) {
2696
- return Ae(this, void 0, void 0, function* () {
2696
+ return Re(this, void 0, void 0, function* () {
2697
2697
  var n;
2698
2698
  if (globalThis.isSecureContext && typeof e.getAsFileSystemHandle == "function") {
2699
2699
  const i = yield e.getAsFileSystemHandle();
@@ -2711,8 +2711,8 @@ function Vt(e, t) {
2711
2711
  });
2712
2712
  }
2713
2713
  function za(e) {
2714
- return Ae(this, void 0, void 0, function* () {
2715
- return e.isDirectory ? bn(e) : Ma(e);
2714
+ return Re(this, void 0, void 0, function* () {
2715
+ return e.isDirectory ? bn(e) : Ba(e);
2716
2716
  });
2717
2717
  }
2718
2718
  function bn(e) {
@@ -2720,7 +2720,7 @@ function bn(e) {
2720
2720
  return new Promise((n, o) => {
2721
2721
  const a = [];
2722
2722
  function i() {
2723
- t.readEntries((r) => Ae(this, void 0, void 0, function* () {
2723
+ t.readEntries((r) => Re(this, void 0, void 0, function* () {
2724
2724
  if (r.length) {
2725
2725
  const s = Promise.all(r.map(za));
2726
2726
  a.push(s), i();
@@ -2738,8 +2738,8 @@ function bn(e) {
2738
2738
  i();
2739
2739
  });
2740
2740
  }
2741
- function Ma(e) {
2742
- return Ae(this, void 0, void 0, function* () {
2741
+ function Ba(e) {
2742
+ return Re(this, void 0, void 0, function* () {
2743
2743
  return new Promise((t, n) => {
2744
2744
  e.file((o) => {
2745
2745
  const a = Le(o, e.fullPath);
@@ -2764,9 +2764,9 @@ var xt = function(e, t) {
2764
2764
  return !0;
2765
2765
  };
2766
2766
  function Ut(e) {
2767
- return qa(e) || Wa(e) || wn(e) || Ba();
2767
+ return qa(e) || Wa(e) || wn(e) || Ma();
2768
2768
  }
2769
- function Ba() {
2769
+ function Ma() {
2770
2770
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
2771
2771
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2772
2772
  }
@@ -2800,7 +2800,7 @@ function Kt(e) {
2800
2800
  function yn(e, t, n) {
2801
2801
  return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
2802
2802
  }
2803
- function Be(e, t) {
2803
+ function Me(e, t) {
2804
2804
  return Ya(e) || Ha(e, t) || wn(e, t) || $a();
2805
2805
  }
2806
2806
  function $a() {
@@ -2884,8 +2884,8 @@ function je(e) {
2884
2884
  function Ja(e) {
2885
2885
  var t = e.files, n = e.accept, o = e.minSize, a = e.maxSize, i = e.multiple, r = e.maxFiles, s = e.validator;
2886
2886
  return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(m) {
2887
- var c = kn(m, n), u = Be(c, 1), d = u[0], g = Cn(m, o, a), h = Be(g, 1), E = h[0], w = s ? s(m) : null;
2888
- return d && E && !w;
2887
+ var c = kn(m, n), u = Me(c, 1), d = u[0], g = Cn(m, o, a), b = Me(g, 1), E = b[0], h = s ? s(m) : null;
2888
+ return d && E && !h;
2889
2889
  });
2890
2890
  }
2891
2891
  function Xe(e) {
@@ -2926,10 +2926,10 @@ function oi() {
2926
2926
  function ai(e) {
2927
2927
  if (je(e)) {
2928
2928
  var t = Object.entries(e).filter(function(n) {
2929
- var o = Be(n, 2), a = o[0], i = o[1], r = !0;
2929
+ var o = Me(n, 2), a = o[0], i = o[1], r = !0;
2930
2930
  return Tn(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(En)) && (console.warn('Skipped "'.concat(a, '" because an invalid file extension was provided.')), r = !1), r;
2931
2931
  }).reduce(function(n, o) {
2932
- var a = Be(o, 2), i = a[0], r = a[1];
2932
+ var a = Me(o, 2), i = a[0], r = a[1];
2933
2933
  return Kt(Kt({}, n), {}, yn({}, i, r));
2934
2934
  }, {});
2935
2935
  return [{
@@ -2943,7 +2943,7 @@ function ai(e) {
2943
2943
  function ii(e) {
2944
2944
  if (je(e))
2945
2945
  return Object.entries(e).reduce(function(t, n) {
2946
- var o = Be(n, 2), a = o[0], i = o[1];
2946
+ var o = Me(n, 2), a = o[0], i = o[1];
2947
2947
  return [].concat(Ut(t), [a], Ut(i));
2948
2948
  }, []).filter(function(t) {
2949
2949
  return Tn(t) || En(t);
@@ -3061,18 +3061,18 @@ function hi(e, t) {
3061
3061
  }
3062
3062
  var Je = /* @__PURE__ */ zn(function(e, t) {
3063
3063
  var n = e.children, o = Ze(e, pi), a = bi(o), i = a.open, r = Ze(a, ci);
3064
- return Mn(t, function() {
3064
+ return Bn(t, function() {
3065
3065
  return {
3066
3066
  open: i
3067
3067
  };
3068
- }, [i]), /* @__PURE__ */ We.createElement(Bn, null, n(Q(Q({}, r), {}, {
3068
+ }, [i]), /* @__PURE__ */ We.createElement(Mn, null, n(Q(Q({}, r), {}, {
3069
3069
  open: i
3070
3070
  })));
3071
3071
  });
3072
3072
  Je.displayName = "Dropzone";
3073
3073
  var In = {
3074
3074
  disabled: !1,
3075
- getFilesFromEvent: Aa,
3075
+ getFilesFromEvent: Ra,
3076
3076
  maxSize: 1 / 0,
3077
3077
  minSize: 0,
3078
3078
  multiple: !0,
@@ -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, h = t.onDropAccepted, E = t.onDropRejected, w = t.onFileDialogCancel, A = t.onFileDialogOpen, L = t.useFsAccessApi, Y = t.autoFocus, R = t.preventDropOnDocument, y = 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
3273
  return typeof A == "function" ? A : en;
3274
3274
  }, [A]), me = Oe(function() {
3275
- return typeof w == "function" ? w : en;
3276
- }, [w]), q = Te(null), Z = Te(null), T = Wn(yi, St), V = gt(T, 2), X = V[0], D = V[1], f = X.isFocused, b = X.isFileDialogActive, O = Te(typeof window < "u" && window.isSecureContext && L && oi()), F = function() {
3277
- !O.current && b && setTimeout(function() {
3275
+ return typeof h == "function" ? h : en;
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
+ !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
  }
@@ -3287,19 +3287,19 @@ function bi() {
3287
3287
  return window.addEventListener("focus", F, !1), function() {
3288
3288
  window.removeEventListener("focus", F, !1);
3289
3289
  };
3290
- }, [Z, b, me, O]);
3291
- var I = Te([]), B = function(S) {
3292
- q.current && q.current.contains(S.target) || (S.preventDefault(), I.current = []);
3290
+ }, [Z, y, me, O]);
3291
+ var I = Te([]), M = function(S) {
3292
+ $.current && $.current.contains(S.target) || (S.preventDefault(), I.current = []);
3293
3293
  };
3294
3294
  ae(function() {
3295
- return R && (document.addEventListener("dragover", Qt, !1), document.addEventListener("drop", B, !1)), function() {
3296
- R && (document.removeEventListener("dragover", Qt), document.removeEventListener("drop", B));
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, R]), 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]), M = 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
- }), g && g(ee, oe, S), oe.length > 0 && E && E(oe, S), ee.length > 0 && h && h(ee, S);
3372
- }, [D, s, ne, r, i, m, g, h, E, J]), te = le(function(x) {
3371
+ }), g && g(ee, oe, S), oe.length > 0 && E && E(oe, S), ee.length > 0 && b && b(ee, S);
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
- Xe(x) && !P || M(S, x);
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, M, 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,37 +3389,37 @@ function bi() {
3389
3389
  window.showOpenFilePicker(x).then(function(S) {
3390
3390
  return a(S);
3391
3391
  }).then(function(S) {
3392
- M(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, M, 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
- }, []), Rt = le(function() {
3416
- y || (ni() ? setTimeout(v, 0) : v());
3417
- }, [y, v]), Re = function(S) {
3415
+ }, []), At = le(function() {
3416
+ w || (ni() ? setTimeout(v, 0) : v());
3417
+ }, [w, v]), Ae = function(S) {
3418
3418
  return o ? null : S;
3419
3419
  }, et = function(S) {
3420
- return p ? null : Re(S);
3420
+ return p ? null : Ae(S);
3421
3421
  }, qe = function(S) {
3422
- return C ? null : Re(S);
3422
+ return T ? null : Ae(S);
3423
3423
  }, $e = function(S) {
3424
3424
  P && S.stopPropagation();
3425
3425
  }, On = Oe(function() {
@@ -3429,17 +3429,17 @@ function bi() {
3429
3429
  onKeyDown: et(we(_e, fe)),
3430
3430
  onFocus: et(we(Fe, Ie)),
3431
3431
  onBlur: et(we(De, Pe)),
3432
- onClick: Re(we(tt, Rt)),
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, Rt, 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() {
@@ -3459,8 +3459,8 @@ function bi() {
3459
3459
  width: "1px",
3460
3460
  whiteSpace: "nowrap"
3461
3461
  },
3462
- onChange: Re(we(oe, te)),
3463
- onClick: Re(we(_e, Ln)),
3462
+ onChange: Ae(we(oe, te)),
3463
+ onClick: Ae(we(_e, Ln)),
3464
3464
  tabIndex: -1
3465
3465
  }, ee, Z);
3466
3466
  return Q(Q({}, De), Fe);
@@ -3470,9 +3470,9 @@ 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
- open: Re(v)
3475
+ open: Ae(v)
3476
3476
  });
3477
3477
  }
3478
3478
  function yi(e, t) {
@@ -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
  ] }) });
@@ -3552,7 +3552,7 @@ const wi = (e) => {
3552
3552
  spDropdown__dopdownListItem: Ii,
3553
3553
  spDropdown__dopdownListItem_textCenter: Ni,
3554
3554
  spDropdown__downloadListItemDescription: ji
3555
- }, Rs = (e) => {
3555
+ }, As = (e) => {
3556
3556
  const {
3557
3557
  labelText: t = "Выпадающий список",
3558
3558
  listName: n,
@@ -3572,26 +3572,26 @@ const wi = (e) => {
3572
3572
  [Ee.spDropdown__dropdownListHeader]: !0
3573
3573
  }), d = _({
3574
3574
  [Ee.spDropdown__downloadListItemDescription]: !0
3575
- }), [g, h] = ce(!1);
3575
+ }), [g, b] = ce(!1);
3576
3576
  return /* @__PURE__ */ l(
3577
3577
  It,
3578
3578
  {
3579
3579
  hover: !1,
3580
- triggerAction: () => h(!0),
3581
- actionOnClose: () => h(!1),
3582
- text: /* @__PURE__ */ H("div", { className: c, children: [
3580
+ triggerAction: () => b(!0),
3581
+ actionOnClose: () => b(!1),
3582
+ text: /* @__PURE__ */ Y("div", { className: c, children: [
3583
3583
  n && /* @__PURE__ */ l("div", { className: u, children: n }),
3584
- o.map((w, A) => /* @__PURE__ */ H(
3584
+ o.map((h, A) => /* @__PURE__ */ Y(
3585
3585
  "div",
3586
3586
  {
3587
3587
  className: _({
3588
3588
  [Ee.spDropdown__dopdownListItem]: !0,
3589
- [Ee.spDropdown__dopdownListItem_textCenter]: w.textCenter
3589
+ [Ee.spDropdown__dopdownListItem_textCenter]: h.textCenter
3590
3590
  }),
3591
- onClick: w.onClick,
3591
+ onClick: h.onClick,
3592
3592
  children: [
3593
- w.name,
3594
- w.description && /* @__PURE__ */ l("span", { className: d, children: w.description })
3593
+ h.name,
3594
+ h.description && /* @__PURE__ */ l("span", { className: d, children: h.description })
3595
3595
  ]
3596
3596
  },
3597
3597
  A
@@ -3601,15 +3601,15 @@ const wi = (e) => {
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
  ] })
3608
3608
  }
3609
3609
  );
3610
- }, Ai = "_ellipsisTextWithTooltip_1nhiw_43", Ri = "_ellipsisTextWithTooltip__tooltip_1nhiw_46", tn = {
3611
- ellipsisTextWithTooltip: Ai,
3612
- ellipsisTextWithTooltip__tooltip: Ri
3610
+ }, Ri = "_ellipsisTextWithTooltip_1nhiw_43", Ai = "_ellipsisTextWithTooltip__tooltip_1nhiw_46", tn = {
3611
+ ellipsisTextWithTooltip: Ri,
3612
+ ellipsisTextWithTooltip__tooltip: Ai
3613
3613
  }, Di = (e) => {
3614
3614
  const {
3615
3615
  text: t,
@@ -3629,14 +3629,14 @@ const wi = (e) => {
3629
3629
  }), g = _({
3630
3630
  [tn.ellipsisTextWithTooltip__tooltip]: !0,
3631
3631
  ...o && { [o]: !0 }
3632
- }), h = _({
3632
+ }), b = _({
3633
3633
  ...a && { [a]: !0 }
3634
3634
  });
3635
3635
  return /* @__PURE__ */ l(
3636
3636
  It,
3637
3637
  {
3638
3638
  classNameTooltip: g,
3639
- classNameTriggerTooltip: h,
3639
+ classNameTriggerTooltip: b,
3640
3640
  classNameBaseTooltipContentRoot: i,
3641
3641
  classNameBaseTooltipRoot: r,
3642
3642
  isVisibleTooltip: c,
@@ -3644,7 +3644,7 @@ const wi = (e) => {
3644
3644
  trigger: /* @__PURE__ */ l(Se, { ...s, classNameRoot: d, isEllipsis: !0, ref: m, children: t })
3645
3645
  }
3646
3646
  );
3647
- }, Oi = "_spForm_zefbj_43", Li = "_spForm_fullWidth_zefbj_46", Pi = "_spForm_withSeparator_zefbj_49", Me = {
3647
+ }, Oi = "_spForm_zefbj_43", Li = "_spForm_fullWidth_zefbj_46", Pi = "_spForm_withSeparator_zefbj_49", Be = {
3648
3648
  spForm: Oi,
3649
3649
  spForm_fullWidth: Li,
3650
3650
  spForm_withSeparator: Pi,
@@ -3661,21 +3661,21 @@ const wi = (e) => {
3661
3661
  classNameRoot: s,
3662
3662
  ...m
3663
3663
  } = e, c = _({
3664
- [Me.spForm]: !0,
3665
- [Me.spForm_fullWidth]: r,
3666
- [Me.spForm_addMargin]: a,
3667
- [Me[`spForm_addMargin--size-${t}`]]: a && t,
3668
- [Me.spForm_withSeparator]: i,
3664
+ [Be.spForm]: !0,
3665
+ [Be.spForm_fullWidth]: r,
3666
+ [Be.spForm_addMargin]: a,
3667
+ [Be[`spForm_addMargin--size-${t}`]]: a && t,
3668
+ [Be.spForm_withSeparator]: i,
3669
3669
  ...s && { [s]: !0 }
3670
3670
  });
3671
3671
  return /* @__PURE__ */ l("form", { ...m, onSubmit: (d) => {
3672
3672
  d.preventDefault(), o && o();
3673
3673
  }, className: c, children: n });
3674
- }, Fi = "_spLabel_g0hfy_43", zi = "_spLabel__text_g0hfy_52", Mi = "_spLabel__tooltip_g0hfy_62", Bi = "_spLabel__required_g0hfy_67", Ge = {
3674
+ }, Fi = "_spLabel_g0hfy_43", zi = "_spLabel__text_g0hfy_52", Bi = "_spLabel__tooltip_g0hfy_62", Mi = "_spLabel__required_g0hfy_67", Ge = {
3675
3675
  spLabel: Fi,
3676
3676
  spLabel__text: zi,
3677
- spLabel__tooltip: Mi,
3678
- spLabel__required: Bi
3677
+ spLabel__tooltip: Bi,
3678
+ spLabel__required: Mi
3679
3679
  }, jt = (e) => {
3680
3680
  const {
3681
3681
  required: t,
@@ -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 }) })
@@ -3722,19 +3722,19 @@ const wi = (e) => {
3722
3722
  isClearable: u,
3723
3723
  pattern: d,
3724
3724
  onMouseEnter: g,
3725
- infoTooltipText: h,
3725
+ infoTooltipText: b,
3726
3726
  tooltipPosition: E,
3727
- isVisibleDefaultTitle: w = !0,
3727
+ isVisibleDefaultTitle: h = !0,
3728
3728
  placeholder: A = "Введите...",
3729
3729
  classNameRoot: L,
3730
- classNameError: Y,
3731
- classNameLabel: R,
3732
- ...y
3730
+ classNameError: V,
3731
+ classNameLabel: D,
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
- ...R && { [R]: !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
  {
@@ -3762,18 +3762,18 @@ const wi = (e) => {
3762
3762
  tooltipPosition: E,
3763
3763
  required: m,
3764
3764
  label: a,
3765
- infoTooltipText: h
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
- ...y,
3772
+ ...w,
3773
3773
  placeholder: A,
3774
3774
  disabled: r,
3775
3775
  onChange: ue,
3776
- title: w ? n : void 0,
3776
+ title: h ? n : void 0,
3777
3777
  value: n,
3778
3778
  name: c,
3779
3779
  className: P,
@@ -3814,19 +3814,19 @@ const Qi = "_spInputFiles_1ukpx_43", Ji = "_spInputFiles_error_1ukpx_48", er = "
3814
3814
  infoTooltipText: u,
3815
3815
  tooltipPosition: d = ie.TopRight,
3816
3816
  classNameRoot: g,
3817
- error: h
3818
- } = e, E = c.map((p) => p.name), w = (E == null ? void 0 : E.length) > 0, A = _({
3817
+ error: b
3818
+ } = e, E = c.map((p) => p.name), h = (E == null ? void 0 : E.length) > 0, A = _({
3819
3819
  [ve.spInputFiles]: !0,
3820
- [ve.spInputFiles_error]: !!h,
3820
+ [ve.spInputFiles_error]: !!b,
3821
3821
  [ve.spInputFiles_disabled]: r,
3822
- [ve.spInputFiles_fileUploaded]: w,
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
- }, R = () => 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] }), y = () => /* @__PURE__ */ H(cn, { children: [
3850
- w ? R() : /* @__PURE__ */ l(Se, { children: t }),
3851
- w ? /* @__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,
@@ -3868,13 +3868,13 @@ const Qi = "_spInputFiles_1ukpx_43", Ji = "_spInputFiles_error_1ukpx_48", er = "
3868
3868
  maxFiles: m,
3869
3869
  accept: i,
3870
3870
  onDropFiles: o,
3871
- disabled: r || w,
3872
- children: /* @__PURE__ */ H("div", { className: A, children: [
3873
- /* @__PURE__ */ H("div", { className: ve.spInputFiles__control, children: [
3874
- /* @__PURE__ */ l(ge, { name: w ? re.Check : re.Upload }),
3875
- y()
3871
+ disabled: r || h,
3872
+ children: /* @__PURE__ */ Y("div", { className: A, children: [
3873
+ /* @__PURE__ */ Y("div", { className: ve.spInputFiles__control, children: [
3874
+ /* @__PURE__ */ l(ge, { name: h ? re.Check : re.Upload }),
3875
+ w()
3876
3876
  ] }),
3877
- h && /* @__PURE__ */ l("div", { className: ve.spInputFiles__error, children: h })
3877
+ b && /* @__PURE__ */ l("div", { className: ve.spInputFiles__error, children: b })
3878
3878
  ] })
3879
3879
  }
3880
3880
  );
@@ -3885,9 +3885,9 @@ const Qi = "_spInputFiles_1ukpx_43", Ji = "_spInputFiles_error_1ukpx_48", er = "
3885
3885
  isTablet: !1
3886
3886
  }
3887
3887
  });
3888
- var At = {};
3889
- At.match = vr;
3890
- At.parse = jn;
3888
+ var Rt = {};
3889
+ Rt.match = vr;
3890
+ Rt.parse = jn;
3891
3891
  var dr = /(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i, ur = /\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/, mr = /^(?:(min|max)-)?(.+)/, fr = /(em|rem|px|cm|mm|in|pt|pc)?$/, _r = /(dpi|dpcm|dppx)?$/;
3892
3892
  function vr(e, t) {
3893
3893
  return jn(e).some(function(n) {
@@ -3986,7 +3986,7 @@ function an(e) {
3986
3986
  return t;
3987
3987
  }
3988
3988
  }
3989
- var xr = At.match, rn = typeof window < "u" ? window.matchMedia : null;
3989
+ var xr = Rt.match, rn = typeof window < "u" ? window.matchMedia : null;
3990
3990
  function gr(e, t, n) {
3991
3991
  var o = this, a;
3992
3992
  rn && !n && (a = rn.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches = xr(e, t), this.media = e), this.addListener = i, this.removeListener = r, this.dispose = m;
@@ -4012,7 +4012,7 @@ var wr = /[A-Z]/g, kr = /^ms-/, ht = {};
4012
4012
  function Cr(e) {
4013
4013
  return "-" + e.toLowerCase();
4014
4014
  }
4015
- function An(e) {
4015
+ function Rn(e) {
4016
4016
  if (ht.hasOwnProperty(e))
4017
4017
  return ht[e];
4018
4018
  var t = e.replace(wr, Cr);
@@ -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]), Rn = {
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
- type: Object.keys(Rn)
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,29 +4072,29 @@ const pe = k.oneOfType([k.string, k.number]), Rn = {
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
4084
- }, Nr = { ...Rn, ...Ir };
4084
+ }, Nr = { ...An, ...Ir };
4085
4085
  var jr = {
4086
4086
  all: Nr
4087
4087
  };
4088
- const Ar = (e) => `not ${e}`, Rr = (e, t) => {
4089
- const n = An(e);
4090
- return typeof t == "number" && (t = `${t}px`), t === !0 ? n : t === !1 ? Ar(n) : `(${n}: ${t})`;
4088
+ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
4089
+ const n = Rn(e);
4090
+ return typeof t == "number" && (t = `${t}px`), t === !0 ? n : t === !1 ? Rr(n) : `(${n}: ${t})`;
4091
4091
  }, Dr = (e) => e.join(" and "), Or = (e) => {
4092
4092
  const t = [];
4093
4093
  return Object.keys(jr.all).forEach((n) => {
4094
4094
  const o = e[n];
4095
- o != null && t.push(Rr(n, o));
4095
+ o != null && t.push(Ar(n, o));
4096
4096
  }), Dr(t);
4097
- }, Lr = ln(void 0), Pr = (e) => e.query || Or(e), sn = (e) => e ? Object.keys(e).reduce((n, o) => (n[An(o)] = e[o], n), {}) : void 0, Dn = () => {
4097
+ }, Lr = ln(void 0), Pr = (e) => e.query || Or(e), sn = (e) => e ? Object.keys(e).reduce((n, o) => (n[Rn(o)] = e[o], n), {}) : void 0, Dn = () => {
4098
4098
  const e = Te(!1);
4099
4099
  return ae(() => {
4100
4100
  e.current = !0;
@@ -4111,7 +4111,7 @@ const Ar = (e) => `not ${e}`, Rr = (e, t) => {
4111
4111
  const a = t();
4112
4112
  n !== a && o(a);
4113
4113
  }, [e]), n;
4114
- }, Mr = (e, t) => {
4114
+ }, Br = (e, t) => {
4115
4115
  const n = () => yr(e, t || {}, !!t), [o, a] = ce(n), i = Dn();
4116
4116
  return ae(() => {
4117
4117
  if (i) {
@@ -4121,7 +4121,7 @@ const Ar = (e) => `not ${e}`, Rr = (e, t) => {
4121
4121
  };
4122
4122
  }
4123
4123
  }, [e, t]), o;
4124
- }, Br = (e) => {
4124
+ }, Mr = (e) => {
4125
4125
  const [t, n] = ce(e.matches);
4126
4126
  return ae(() => {
4127
4127
  const o = (a) => {
@@ -4135,7 +4135,7 @@ const Ar = (e) => `not ${e}`, Rr = (e, t) => {
4135
4135
  const o = Fr(t), a = zr(e);
4136
4136
  if (!a)
4137
4137
  throw new Error("Invalid or missing MediaQuery!");
4138
- const i = Mr(a, o), r = Br(i);
4138
+ const i = Br(a, o), r = Mr(i);
4139
4139
  return Dn(), ae(() => {
4140
4140
  }, [r]), ae(() => () => {
4141
4141
  i && i.dispose();
@@ -4189,25 +4189,25 @@ const Ar = (e) => `not ${e}`, Rr = (e, t) => {
4189
4189
  infoTooltipText: u,
4190
4190
  tooltipPosition: d,
4191
4191
  disabled: g,
4192
- required: h,
4192
+ required: b,
4193
4193
  maxHeightList: E = qr,
4194
- isVisibleDefaultTitle: w = !0,
4194
+ isVisibleDefaultTitle: h = !0,
4195
4195
  isScrollableList: A = !1,
4196
4196
  classNameRoot: L,
4197
- classNameError: Y,
4198
- classNameLabel: R
4199
- } = e, [y, 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
- y
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
- g || p(!y);
4210
+ g || p(!w);
4211
4211
  }, ne = _({
4212
4212
  [xe.spSelect]: !0,
4213
4213
  [xe.spSelect_error]: !!m,
@@ -4221,34 +4221,34 @@ const Ar = (e) => `not ${e}`, Rr = (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
4228
  [xe.spSelect__list_scrollable]: A
4229
- }), T = _({
4230
- ...R && { [R]: !0 }
4231
- }), V = _({
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
- required: h,
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,
4251
- title: w ? o : void 0,
4251
+ title: h ? o : void 0,
4252
4252
  className: ue,
4253
4253
  onClick: J,
4254
4254
  children: [
@@ -4257,39 +4257,39 @@ const Ar = (e) => `not ${e}`, Rr = (e, t) => {
4257
4257
  ge,
4258
4258
  {
4259
4259
  name: re.SelectChevronDown,
4260
- rotate: y ? 180 : void 0,
4261
- className: q
4260
+ rotate: w ? 180 : void 0,
4261
+ className: $
4262
4262
  }
4263
4263
  )
4264
4264
  ]
4265
4265
  }
4266
4266
  ),
4267
- y && /* @__PURE__ */ l(
4267
+ w && /* @__PURE__ */ l(
4268
4268
  "div",
4269
4269
  {
4270
4270
  className: Z,
4271
4271
  style: A ? { maxHeight: `${E}px` } : {},
4272
- children: t.map((D) => {
4273
- const f = D.value === o;
4274
- return /* @__PURE__ */ H(
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: (b) => U(b, 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
@@ -4314,16 +4314,16 @@ const Ar = (e) => `not ${e}`, Rr = (e, t) => {
4314
4314
  spStringsGroup__groupItemContent: fs,
4315
4315
  spStringsGroup__groupItemContentCopyIcon: _s,
4316
4316
  spStringsGroup__groupItemContentCopyIcon_copied: vs
4317
- }, pn = (e) => e == null || e === "" ? !0 : typeof e != "string" && typeof e.toString != "function" ? !1 : e.toString().replace(/\s/g, "").length < 1, Ms = (e) => {
4317
+ }, pn = (e) => e == null || e === "" ? !0 : typeof e != "string" && typeof e.toString != "function" ? !1 : e.toString().replace(/\s/g, "").length < 1, Bs = (e) => {
4318
4318
  const {
4319
4319
  columns: t,
4320
4320
  data: n,
4321
4321
  isNotTableOnNotDesktop: o = !1,
4322
4322
  classNameRoot: a
4323
- } = e, i = t.map((y) => ({
4324
- ...y,
4325
- isVisible: n.some((p) => !!p[y.key])
4326
- })).filter((y) => y.isVisible), r = _({
4323
+ } = e, i = t.map((w) => ({
4324
+ ...w,
4325
+ isVisible: n.some((p) => !!p[w.key])
4326
+ })).filter((w) => w.isVisible), r = _({
4327
4327
  [he.spTable]: !0,
4328
4328
  ...a && { [a]: !0 }
4329
4329
  }), s = _({
@@ -4334,46 +4334,46 @@ const Ar = (e) => `not ${e}`, Rr = (e, t) => {
4334
4334
  [he.spTable__emptyPage]: !0
4335
4335
  }), {
4336
4336
  device: { isDesktop: u }
4337
- } = dn(Nn), [d, g] = ce(null), h = (y) => {
4338
- const { text: p, rowIndex: C, colIndex: P } = y;
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 });
4337
+ } = dn(Nn), [d, g] = ce(null), b = (w) => {
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
- }, w = () => /* @__PURE__ */ l("div", { className: c, children: "Данные отсутствуют" }), A = ({
4347
- row: y,
4346
+ }, h = () => /* @__PURE__ */ l("div", { className: c, children: "Данные отсутствуют" }), A = ({
4347
+ row: w,
4348
4348
  col: p
4349
4349
  }) => {
4350
- const C = y[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((y, 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
- /* @__PURE__ */ l("thead", { children: /* @__PURE__ */ l("tr", { children: i.map((y, p) => /* @__PURE__ */ l("th", { children: y.title }, p)) }) }),
4368
- /* @__PURE__ */ l("tbody", { children: n.map((y, p) => y ? /* @__PURE__ */ l("tr", { children: i.map((C, P) => {
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((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 ? A({ row: y, col: C }) : y[C.key] }),
4376
- !pn(y[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,9 +4382,9 @@ const Ar = (e) => `not ${e}`, Rr = (e, t) => {
4382
4382
  }),
4383
4383
  name: U ? re.Check : re.Copy,
4384
4384
  onClick: () => {
4385
- const J = y[C.key];
4385
+ const J = w[T.key];
4386
4386
  if (!J) return null;
4387
- h({
4387
+ b({
4388
4388
  text: J,
4389
4389
  rowIndex: p,
4390
4390
  colIndex: P
@@ -4397,17 +4397,17 @@ const Ar = (e) => `not ${e}`, Rr = (e, t) => {
4397
4397
  `${p}:${P}`
4398
4398
  );
4399
4399
  }) }, p) : null) })
4400
- ] }) : w(), 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((y, p) => y ? /* @__PURE__ */ l("div", { children: i.map((C, P) => {
4407
- if (pn(y[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 Ar = (e) => `not ${e}`, Rr = (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: y[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,9 +4441,9 @@ const Ar = (e) => `not ${e}`, Rr = (e, t) => {
4441
4441
  }),
4442
4442
  name: U ? re.Check : re.Copy,
4443
4443
  onClick: () => {
4444
- const J = y[C.key];
4444
+ const J = w[T.key];
4445
4445
  if (!J) return null;
4446
- h({
4446
+ b({
4447
4447
  text: J,
4448
4448
  rowIndex: p,
4449
4449
  colIndex: P
@@ -4460,8 +4460,8 @@ const Ar = (e) => `not ${e}`, Rr = (e, t) => {
4460
4460
  );
4461
4461
  }) }, p) : null)
4462
4462
  }
4463
- ) : w();
4464
- return o ? u ? L() : Y() : L();
4463
+ ) : h();
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,
@@ -4472,72 +4472,74 @@ const Ar = (e) => `not ${e}`, Rr = (e, t) => {
4472
4472
  spTabs__tabElement_active: bs,
4473
4473
  spTabs__triggerTooltip: ys,
4474
4474
  "spTabs--variant-filled": "_spTabs--variant-filled_1citb_93"
4475
- }, Bs = (e) => {
4475
+ }, Ms = (e) => {
4476
4476
  const {
4477
4477
  panes: t,
4478
4478
  isSeparated: n = !1,
4479
4479
  classNameRoot: o,
4480
- variant: a = "contained",
4481
- size: i = "md"
4482
- } = e, r = _({
4480
+ classNameBaseTooltipRoot: a,
4481
+ variant: i = "contained",
4482
+ size: r = "md"
4483
+ } = e, s = _({
4483
4484
  [Ne.spTabs]: !0,
4484
4485
  [Ne.spTabs_separated]: n,
4485
- [Ne[`spTabs--variant-${a}`]]: a,
4486
- [Ne[`spTabs--size-${i}`]]: i,
4486
+ [Ne[`spTabs--variant-${i}`]]: i,
4487
+ [Ne[`spTabs--size-${r}`]]: r,
4487
4488
  ...o && { [o]: !0 }
4488
- }), s = _({
4489
+ }), m = _({
4489
4490
  [Ne.spTabs__triggerTooltip]: !0
4490
- }), m = () => {
4491
- switch (i) {
4491
+ }), c = () => {
4492
+ switch (r) {
4492
4493
  case "md":
4493
4494
  return "p2";
4494
4495
  case "lg":
4495
4496
  return "p1";
4496
4497
  }
4497
4498
  };
4498
- return /* @__PURE__ */ l("div", { className: r, children: t.map((c, u) => {
4499
- const { name: d, active: g, onClick: h, infoTooltipText: E } = c;
4500
- return /* @__PURE__ */ H(
4499
+ return /* @__PURE__ */ l("div", { className: s, children: t.map((u, d) => {
4500
+ const { name: g, active: b, onClick: E, infoTooltipText: h } = u;
4501
+ return /* @__PURE__ */ Y(
4501
4502
  "div",
4502
4503
  {
4503
4504
  className: _({
4504
4505
  [Ne.spTabs__tabElement]: !0,
4505
- [Ne.spTabs__tabElement_active]: g
4506
+ [Ne.spTabs__tabElement_active]: b
4506
4507
  }),
4507
- onClick: h,
4508
+ onClick: E,
4508
4509
  children: [
4509
- /* @__PURE__ */ l(Se, { type: m(), children: d }),
4510
- !!E && /* @__PURE__ */ l(
4510
+ /* @__PURE__ */ l(Se, { type: c(), children: g }),
4511
+ !!h && /* @__PURE__ */ l(
4511
4512
  Qe,
4512
4513
  {
4513
- classNameTriggerTooltip: s,
4514
- text: E
4514
+ classNameTriggerTooltip: m,
4515
+ text: h,
4516
+ classNameBaseTooltipRoot: a
4515
4517
  }
4516
4518
  )
4517
4519
  ]
4518
4520
  },
4519
- c.key || u
4521
+ u.key || d
4520
4522
  );
4521
4523
  }) });
4522
4524
  }, ws = "_spTextWithLabel_1dr7p_1", ks = {
4523
4525
  spTextWithLabel: ws
4524
4526
  }, Ws = (e) => {
4525
4527
  const { children: t, label: n, style: o, ...a } = e;
4526
- return /* @__PURE__ */ H("div", { className: ks.spTextWithLabel, style: { ...o }, children: [
4528
+ return /* @__PURE__ */ Y("div", { className: ks.spTextWithLabel, style: { ...o }, children: [
4527
4529
  /* @__PURE__ */ l(jt, { label: n }),
4528
4530
  /* @__PURE__ */ l(Se, { ...a, children: t })
4529
4531
  ] });
4530
4532
  };
4531
4533
  export {
4532
4534
  Ss as Accordion,
4533
- Mo as ApplyButtons,
4535
+ Bo as ApplyButtons,
4534
4536
  mn as BaseTooltip,
4535
4537
  yt as Button,
4536
4538
  Is as Checkbox,
4537
4539
  js as Confirm,
4538
- As as ContextMenu,
4540
+ Rs as ContextMenu,
4539
4541
  wi as DefaultDropzone,
4540
- Rs as Dropdown,
4542
+ As as Dropdown,
4541
4543
  re as EIconName,
4542
4544
  ie as ETooltipPosition,
4543
4545
  Di as EllipsisTextWithTooltip,
@@ -4555,8 +4557,8 @@ export {
4555
4557
  Fs as Select,
4556
4558
  zs as Skeleton,
4557
4559
  wo as Spinner,
4558
- Ms as Table,
4559
- Bs as Tabs,
4560
+ Bs as Table,
4561
+ Ms as Tabs,
4560
4562
  Se as Text,
4561
4563
  Ws as TextWithLabel,
4562
4564
  It as Tooltip,